1 |
- {"version":3,"sources":["webpack:///./node_modules/vant/es/action-bar/ActionBar.js","webpack:///./node_modules/vant/es/action-bar/index.js","webpack:///./node_modules/vant/es/action-bar-button/ActionBarButton.js","webpack:///./node_modules/vant/es/action-bar-button/index.js","webpack:///./node_modules/vant/es/dialog/Dialog.js","webpack:///./node_modules/vant/es/dialog/function-call.js","webpack:///./node_modules/vant/es/dialog/index.js","webpack:///./src/views/choiceSpace/setMainSpace.vue?050d","webpack:///./node_modules/vant/es/swipe-cell/SwipeCell.js","webpack:///./node_modules/vant/es/swipe-cell/index.js","webpack:///./src/views/choiceSpace/setMainSpace.vue?ba58","webpack:///./src/views/choiceSpace/setMainSpace.vue","webpack:///./src/config/index.ts","webpack:///./src/apis/envmonitor.ts","webpack:///./node_modules/vant/es/button/style/index.js","webpack:///./node_modules/vant/es/cell/Cell.js","webpack:///./node_modules/vant/es/cell/index.js","webpack:///./src/views/choiceSpace/setMainSpace.vue?513f","webpack:///./src/views/choiceSpace/setMainSpace.vue?7d4d","webpack:///./node_modules/vant/es/button/Button.js","webpack:///./node_modules/vant/es/button/index.js","webpack:///./node_modules/vant/es/dialog/style/index.js","webpack:///./src/views/choiceSpace/setMainSpace.vue?bb17"],"names":["bem","create","ACTION_BAR_KEY","Symbol","actionBarProps","safeAreaInsetBottom","stdin_default","name","props","slots","linkChildren","_a","default","call","ActionBar","actionBarButtonProps","type","String","text","icon","color","loading","Boolean","disabled","route","parent","index","isFirst","prev","children","value","isLast","next","isButton","last","first","ActionBarButton","t","dialogProps","title","theme","width","message","Function","callback","allowHtml","className","transition","messageAlign","closeOnPopstate","showCancelButton","cancelButtonText","cancelButtonColor","confirmButtonText","confirmButtonColor","showConfirmButton","closeOnClickOverlay","popupInheritKeys","emits","emit","root","confirm","cancel","updateShow","close","action","getActionHandler","show","beforeClose","args","onCancel","onConfirm","onKeydown","event","_b","target","popupRef","onEventType","Enter","Escape","key","renderTitle","isolated","renderMessage","hasTitle","classNames","content","renderContent","renderButtons","renderRoundButtons","renderFooter","footer","instance","initInstance","Wrapper","state","toggle","Dialog","options","Promise","resolve","reject","open","currentOptions","defaultOptions","overlay","teleport","lockScroll","overlayClass","overlayStyle","alert","setDefaultOptions","resetDefaultOptions","Component","install","app","use","config","globalProperties","$dialog","n","_hoisted_1","class","_hoisted_2","_hoisted_3","render","_ctx","_cache","$props","$setup","$data","$options","_component_van_cell","_component_van_button","_component_van_swipe_cell","_component_van_popup","spaceData","item","onClick","$event","checkMainSpace","right","square","delWorkSpace","border","spaceName","_","swipeCellProps","leftWidth","rightWidth","stopPropagation","opened","lockClick","startOffset","leftRef","rightRef","offset","dragging","touch","getWidthByRef","ref2","side","position","Math","abs","THRESHOLD","threshold","onTouchStart","start","onTouchMove","deltaX","move","isHorizontal","isEdge","onTouchEnd","setTimeout","done","getClickHandler","stop","renderSideContent","contentSlot","eventName","wrapperStyle","transform","transitionDuration","SwipeCell","components","VanSwipeCell","VanCell","VanButton","VanDialog","setup","proxyGlobal","userInfo","router","proxyData","loaging","parseImgUrl","formateData","params","workSpaceList","majorSpaceId","macAddress","mac","map","space","spaceId","push","saveWorkSpace","then","queryWorkSpace","proxy","$toast","forbidClick","duration","res","closeLoading","query","catch","clear","criteria","projectId","resData","result","isMajorSpace","__exports__","setupService","objectService","duoduoenvService","weachatService","customService","getCompanyInfo","companyInfo","request","companyId","GET","undefined","json","getWeather","getSpaceInfo","data","POST","getMeetingSceneHttp","getEquipmentListHttp","getFeedbackDocumentsHttp","changeTempHttp","getLampHttp","timeout","setallLampHttp","setEquipeHttp","getStatusHttp","getObjectDataEqpGroupHttp","switchoverSceneHttp","changeSetTimeHttp","getChartListHTTP","getBuildingList","getFloorList","getMapInfo","getSpaceEquipType","getSpaceLike","permanentSpace","getPermanentSpace","delPermanentSpace","getUserControlAuth","getSpaceMode","getSpaceTemp","querySpaceSceneConfig","queryCustomAndScence","saveBatchCustomScene","getDefaultLocation","getPadSpaceList","insertWorkSpace","deleteWorkSpace","checkWorkSpace","queryCustomerservice","getPadQrCodeStatus","getPadImg","querySpaceConditioners","setSpaceCondtioners","saveMapPointInfo","getSpaceEquipList","cellSharedProps","size","label","center","isLink","required","iconPrefix","valueClass","labelClass","titleClass","titleStyle","arrowDirection","clickable","cellProps","renderLabel","showLabel","renderValue","slot","hasValue","alone","renderLeftIcon","renderRightIcon","name2","classes","borderless","extra","Cell","module","exports","buttonProps","tag","block","plain","round","hairline","nativeType","loadingSize","loadingText","loadingType","iconPosition","renderLoadingIcon","renderIcon","renderText","getStyle","style","background","includes","borderColor","Button"],"mappings":"qYAIA,MAAO,EAAMA,GAAO,OAAAC,EAAA,MAAgB,cAC9BC,EAAiBC,OAAO,GACxBC,EAAiB,CACrBC,oBAAqB,QAEvB,IAAIC,EAAgB,6BAAgB,CAClCC,KAAI,EACJC,MAAOJ,EACP,MAAMI,GAAO,MACXC,IAEA,MAAM,aACJC,GACE,eAAYR,GAEhB,OADAQ,IACO,KACL,IAAIC,EACJ,OAAO,yBAAa,MAAO,CACzB,MAAS,CAACX,IAAO,CACf,uBAAwBQ,EAAMH,uBAE/B,CAAyB,OAAvBM,EAAKF,EAAMG,cAAmB,EAASD,EAAGE,KAAKJ,SCvB1D,MAAMK,EAAY,eAAY,GAC9B,I,wBCKA,MAAO,EAAM,GAAO,OAAAb,EAAA,MAAgB,qBAC9Bc,EAAuB,eAAO,GAAI,OAAY,CAClDC,KAAMC,OACNC,KAAMD,OACNE,KAAMF,OACNG,MAAOH,OACPI,QAASC,QACTC,SAAUD,UAEZ,IAAI,EAAgB,6BAAgB,CAClCf,KAAI,EACJC,MAAOO,EACP,MAAMP,GAAO,MACXC,IAEA,MAAMe,EAAQ,kBACR,OACJC,EAAM,MACNC,GACE,eAAUxB,GACRyB,EAAU,sBAAS,KACvB,GAAIF,EAAQ,CACV,MAAMG,EAAOH,EAAOI,SAASH,EAAMI,MAAQ,GAC3C,QAASF,GAAQ,aAAcA,MAG7BG,EAAS,sBAAS,KACtB,GAAIN,EAAQ,CACV,MAAMO,E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AAQrS,EAAQ,SAUzB,OARKqS,IACHY,EAAMC,WAAalT,GAEjBA,EAAMmT,SAAS,YACjBF,EAAMrL,OAAS,EAEfqL,EAAMG,YAAcpT,EAEfiT,IAGL3L,EAAWjE,IACXjE,EAAMa,QACR,eAAeoD,GACLjE,EAAMe,WAChBoC,EAAK,QAASc,GACdjD,MAGJ,MAAO,KACL,MAAM,IACJ+R,EAAG,KACHvS,EAAI,KACJ0Q,EAAI,MACJ8B,EAAK,MACLE,EAAK,MACLD,EAAK,OACL3K,EAAM,QACNzH,EAAO,SACPE,EAAQ,SACRoS,EAAQ,WACRC,EAAU,aACVI,GACExT,EACEwS,EAAU,CAAChT,EAAI,CAACgB,EAAM0Q,EAAM,CAChC+B,QACAD,QACAE,QACA5K,SACAzH,UACAE,WACAoS,cACG,CACH,CAAC,QAAkBA,IAErB,OAAO,yBAAaJ,EAAK,CACvB,KAAQK,EACR,MAASZ,EACT,MAASoB,IACT,SAAY7S,EACZ,QAAWmH,GACV,CACD9H,QAAS,IAAM,CAAC,yBAAa,MAAO,CAClC,MAASZ,EAAI,YACZ,CAAkB,SAAjBgU,GAA2BE,IAAcC,IAA+B,UAAjBH,GAA4BE,aC1I/F,MAAMO,EAAS,eAAY,GAC3B,IAAI,EAAgBA,G,gFCHpB,qG,kCCAA","file":"static/js/chunk-3f722bdb.f1080f07.js","sourcesContent":["import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { truthProp, createNamespace } from \"../utils\";\nimport { useChildren } from \"@vant/use\";\nconst [name, bem] = createNamespace(\"action-bar\");\nconst ACTION_BAR_KEY = Symbol(name);\nconst actionBarProps = {\n safeAreaInsetBottom: truthProp\n};\nvar stdin_default = defineComponent({\n name,\n props: actionBarProps,\n setup(props, {\n slots\n }) {\n const {\n linkChildren\n } = useChildren(ACTION_BAR_KEY);\n linkChildren();\n return () => {\n var _a;\n return _createVNode(\"div\", {\n \"class\": [bem(), {\n \"van-safe-area-bottom\": props.safeAreaInsetBottom\n }]\n }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);\n };\n }\n});\nexport {\n ACTION_BAR_KEY,\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _ActionBar from \"./ActionBar\";\nconst ActionBar = withInstall(_ActionBar);\nvar stdin_default = ActionBar;\nexport {\n ActionBar,\n stdin_default as default\n};\n","import { createVNode as _createVNode } from \"vue\";\nimport { computed, defineComponent } from \"vue\";\nimport { extend, createNamespace } from \"../utils\";\nimport { ACTION_BAR_KEY } from \"../action-bar/ActionBar\";\nimport { useParent } from \"@vant/use\";\nimport { useExpose } from \"../composables/use-expose\";\nimport { useRoute, routeProps } from \"../composables/use-route\";\nimport { Button } from \"../button\";\nconst [name, bem] = createNamespace(\"action-bar-button\");\nconst actionBarButtonProps = extend({}, routeProps, {\n type: String,\n text: String,\n icon: String,\n color: String,\n loading: Boolean,\n disabled: Boolean\n});\nvar stdin_default = defineComponent({\n name,\n props: actionBarButtonProps,\n setup(props, {\n slots\n }) {\n const route = useRoute();\n const {\n parent,\n index\n } = useParent(ACTION_BAR_KEY);\n const isFirst = computed(() => {\n if (parent) {\n const prev = parent.children[index.value - 1];\n return !(prev && \"isButton\" in prev);\n }\n });\n const isLast = computed(() => {\n if (parent) {\n const next = parent.children[index.value + 1];\n return !(next && \"isButton\" in next);\n }\n });\n useExpose({\n isButton: true\n });\n return () => {\n const {\n type,\n icon,\n text,\n color,\n loading,\n disabled\n } = props;\n return _createVNode(Button, {\n \"class\": bem([type, {\n last: isLast.value,\n first: isFirst.value\n }]),\n \"size\": \"large\",\n \"type\": type,\n \"icon\": icon,\n \"color\": color,\n \"loading\": loading,\n \"disabled\": disabled,\n \"onClick\": route\n }, {\n default: () => [slots.default ? slots.default() : text]\n });\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _ActionBarButton from \"./ActionBarButton\";\nconst ActionBarButton = withInstall(_ActionBarButton);\nvar stdin_default = ActionBarButton;\nexport {\n ActionBarButton,\n stdin_default as default\n};\n","import { mergeProps as _mergeProps, createVNode as _createVNode } from \"vue\";\nimport { ref, reactive, withKeys, defineComponent } from \"vue\";\nimport { noop, pick, extend, addUnit, truthProp, isFunction, BORDER_TOP, BORDER_LEFT, unknownProp, numericProp, makeStringProp, callInterceptor, createNamespace } from \"../utils\";\nimport { popupSharedProps, popupSharedPropKeys } from \"../popup/shared\";\nimport { Popup } from \"../popup\";\nimport { Button } from \"../button\";\nimport { ActionBar } from \"../action-bar\";\nimport { ActionBarButton } from \"../action-bar-button\";\nconst [name, bem, t] = createNamespace(\"dialog\");\nconst dialogProps = extend({}, popupSharedProps, {\n title: String,\n theme: String,\n width: numericProp,\n message: [String, Function],\n callback: Function,\n allowHtml: Boolean,\n className: unknownProp,\n transition: makeStringProp(\"van-dialog-bounce\"),\n messageAlign: String,\n closeOnPopstate: truthProp,\n showCancelButton: Boolean,\n cancelButtonText: String,\n cancelButtonColor: String,\n confirmButtonText: String,\n confirmButtonColor: String,\n showConfirmButton: truthProp,\n closeOnClickOverlay: Boolean\n});\nconst popupInheritKeys = [...popupSharedPropKeys, \"transition\", \"closeOnPopstate\"];\nvar stdin_default = defineComponent({\n name,\n props: dialogProps,\n emits: [\"confirm\", \"cancel\", \"keydown\", \"update:show\"],\n setup(props, {\n emit,\n slots\n }) {\n const root = ref();\n const loading = reactive({\n confirm: false,\n cancel: false\n });\n const updateShow = (value) => emit(\"update:show\", value);\n const close = (action) => {\n var _a;\n updateShow(false);\n (_a = props.callback) == null ? void 0 : _a.call(props, action);\n };\n const getActionHandler = (action) => () => {\n if (!props.show) {\n return;\n }\n emit(action);\n if (props.beforeClose) {\n loading[action] = true;\n callInterceptor(props.beforeClose, {\n args: [action],\n done() {\n close(action);\n loading[action] = false;\n },\n canceled() {\n loading[action] = false;\n }\n });\n } else {\n close(action);\n }\n };\n const onCancel = getActionHandler(\"cancel\");\n const onConfirm = getActionHandler(\"confirm\");\n const onKeydown = withKeys((event) => {\n var _a, _b;\n if (event.target !== ((_b = (_a = root.value) == null ? void 0 : _a.popupRef) == null ? void 0 : _b.value)) {\n return;\n }\n const onEventType = {\n Enter: props.showConfirmButton ? onConfirm : noop,\n Escape: props.showCancelButton ? onCancel : noop\n };\n onEventType[event.key]();\n emit(\"keydown\", event);\n }, [\"enter\", \"esc\"]);\n const renderTitle = () => {\n const title = slots.title ? slots.title() : props.title;\n if (title) {\n return _createVNode(\"div\", {\n \"class\": bem(\"header\", {\n isolated: !props.message && !slots.default\n })\n }, [title]);\n }\n };\n const renderMessage = (hasTitle) => {\n const {\n message,\n allowHtml,\n messageAlign\n } = props;\n const classNames = bem(\"message\", {\n \"has-title\": hasTitle,\n [messageAlign]: messageAlign\n });\n const content = isFunction(message) ? message() : message;\n if (allowHtml && typeof content === \"string\") {\n return _createVNode(\"div\", {\n \"class\": classNames,\n \"innerHTML\": content\n }, null);\n }\n return _createVNode(\"div\", {\n \"class\": classNames\n }, [content]);\n };\n const renderContent = () => {\n if (slots.default) {\n return _createVNode(\"div\", {\n \"class\": bem(\"content\")\n }, [slots.default()]);\n }\n const {\n title,\n message,\n allowHtml\n } = props;\n if (message) {\n const hasTitle = !!(title || slots.title);\n return _createVNode(\"div\", {\n \"key\": allowHtml ? 1 : 0,\n \"class\": bem(\"content\", {\n isolated: !hasTitle\n })\n }, [renderMessage(hasTitle)]);\n }\n };\n const renderButtons = () => _createVNode(\"div\", {\n \"class\": [BORDER_TOP, bem(\"footer\")]\n }, [props.showCancelButton && _createVNode(Button, {\n \"size\": \"large\",\n \"text\": props.cancelButtonText || t(\"cancel\"),\n \"class\": bem(\"cancel\"),\n \"style\": {\n color: props.cancelButtonColor\n },\n \"loading\": loading.cancel,\n \"onClick\": onCancel\n }, null), props.showConfirmButton && _createVNode(Button, {\n \"size\": \"large\",\n \"text\": props.confirmButtonText || t(\"confirm\"),\n \"class\": [bem(\"confirm\"), {\n [BORDER_LEFT]: props.showCancelButton\n }],\n \"style\": {\n color: props.confirmButtonColor\n },\n \"loading\": loading.confirm,\n \"onClick\": onConfirm\n }, null)]);\n const renderRoundButtons = () => _createVNode(ActionBar, {\n \"class\": bem(\"footer\")\n }, {\n default: () => [props.showCancelButton && _createVNode(ActionBarButton, {\n \"type\": \"warning\",\n \"text\": props.cancelButtonText || t(\"cancel\"),\n \"class\": bem(\"cancel\"),\n \"color\": props.cancelButtonColor,\n \"loading\": loading.cancel,\n \"onClick\": onCancel\n }, null), props.showConfirmButton && _createVNode(ActionBarButton, {\n \"type\": \"danger\",\n \"text\": props.confirmButtonText || t(\"confirm\"),\n \"class\": bem(\"confirm\"),\n \"color\": props.confirmButtonColor,\n \"loading\": loading.confirm,\n \"onClick\": onConfirm\n }, null)]\n });\n const renderFooter = () => {\n if (slots.footer) {\n return slots.footer();\n }\n return props.theme === \"round-button\" ? renderRoundButtons() : renderButtons();\n };\n return () => {\n const {\n width,\n title,\n theme,\n message,\n className\n } = props;\n return _createVNode(Popup, _mergeProps({\n \"ref\": root,\n \"role\": \"dialog\",\n \"class\": [bem([theme]), className],\n \"style\": {\n width: addUnit(width)\n },\n \"tabindex\": 0,\n \"aria-labelledby\": title || message,\n \"onKeydown\": onKeydown,\n \"onUpdate:show\": updateShow\n }, pick(props, popupInheritKeys)), {\n default: () => [renderTitle(), renderContent(), renderFooter()]\n });\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { createVNode as _createVNode, mergeProps as _mergeProps } from \"vue\";\nimport { extend, inBrowser, withInstall } from \"../utils\";\nimport { mountComponent, usePopupState } from \"../utils/mount-component\";\nimport VanDialog from \"./Dialog\";\nlet instance;\nfunction initInstance() {\n const Wrapper = {\n setup() {\n const {\n state,\n toggle\n } = usePopupState();\n return () => _createVNode(VanDialog, _mergeProps(state, {\n \"onUpdate:show\": toggle\n }), null);\n }\n };\n ({\n instance\n } = mountComponent(Wrapper));\n}\nfunction Dialog(options) {\n if (!inBrowser) {\n return Promise.resolve();\n }\n return new Promise((resolve, reject) => {\n if (!instance) {\n initInstance();\n }\n instance.open(extend({}, Dialog.currentOptions, options, {\n callback: (action) => {\n (action === \"confirm\" ? resolve : reject)(action);\n }\n }));\n });\n}\nDialog.defaultOptions = {\n title: \"\",\n width: \"\",\n theme: null,\n message: \"\",\n overlay: true,\n callback: null,\n teleport: \"body\",\n className: \"\",\n allowHtml: false,\n lockScroll: true,\n transition: void 0,\n beforeClose: null,\n overlayClass: \"\",\n overlayStyle: void 0,\n messageAlign: \"\",\n cancelButtonText: \"\",\n cancelButtonColor: null,\n confirmButtonText: \"\",\n confirmButtonColor: null,\n showConfirmButton: true,\n showCancelButton: false,\n closeOnPopstate: true,\n closeOnClickOverlay: false\n};\nDialog.currentOptions = extend({}, Dialog.defaultOptions);\nDialog.alert = Dialog;\nDialog.confirm = (options) => Dialog(extend({\n showCancelButton: true\n}, options));\nDialog.close = () => {\n if (instance) {\n instance.toggle(false);\n }\n};\nDialog.setDefaultOptions = (options) => {\n extend(Dialog.currentOptions, options);\n};\nDialog.resetDefaultOptions = () => {\n Dialog.currentOptions = extend({}, Dialog.defaultOptions);\n};\nDialog.Component = withInstall(VanDialog);\nDialog.install = (app) => {\n app.use(Dialog.Component);\n app.config.globalProperties.$dialog = Dialog;\n};\nexport {\n Dialog\n};\n","import { Dialog } from \"./function-call\";\nvar stdin_default = Dialog;\nexport {\n Dialog,\n stdin_default as default\n};\n","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-42e376a5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"set-main-space content-box\" }\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"tip\" }, \" 正在设置主空间,设置成功后,将关闭弹窗,并且进入空间页面 \", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_cell = _resolveComponent(\"van-cell\")!\n const _component_van_button = _resolveComponent(\"van-button\")!\n const _component_van_swipe_cell = _resolveComponent(\"van-swipe-cell\")!\n const _component_van_popup = _resolveComponent(\"van-popup\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.spaceData, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"space-item\",\n onClick: ($event: any) => (_ctx.checkMainSpace(item)),\n key: 'space' + index\n }, [\n _createVNode(_component_van_swipe_cell, null, {\n right: _withCtx(() => [\n _createVNode(_component_van_button, {\n square: \"\",\n type: \"danger\",\n onClick: ($event: any) => (_ctx.delWorkSpace(item)),\n text: \"删除\"\n }, null, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_van_cell, {\n border: false,\n title: item.spaceName\n }, null, 8, [\"title\"])\n ]),\n _: 2\n }, 1024)\n ], 8, _hoisted_2))\n }), 128)),\n _createVNode(_component_van_popup, {\n show: _ctx.show,\n \"onUpdate:show\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.show) = $event))\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}","import { createVNode as _createVNode } from \"vue\";\nimport { ref, reactive, computed, defineComponent } from \"vue\";\nimport { clamp, isDef, numericProp, preventDefault, callInterceptor, createNamespace, makeNumericProp } from \"../utils\";\nimport { useRect, useClickAway } from \"@vant/use\";\nimport { useTouch } from \"../composables/use-touch\";\nimport { useExpose } from \"../composables/use-expose\";\nconst [name, bem] = createNamespace(\"swipe-cell\");\nconst swipeCellProps = {\n name: makeNumericProp(\"\"),\n disabled: Boolean,\n leftWidth: numericProp,\n rightWidth: numericProp,\n beforeClose: Function,\n stopPropagation: Boolean\n};\nvar stdin_default = defineComponent({\n name,\n props: swipeCellProps,\n emits: [\"open\", \"close\", \"click\"],\n setup(props, {\n emit,\n slots\n }) {\n let opened;\n let lockClick;\n let startOffset;\n const root = ref();\n const leftRef = ref();\n const rightRef = ref();\n const state = reactive({\n offset: 0,\n dragging: false\n });\n const touch = useTouch();\n const getWidthByRef = (ref2) => ref2.value ? useRect(ref2).width : 0;\n const leftWidth = computed(() => isDef(props.leftWidth) ? +props.leftWidth : getWidthByRef(leftRef));\n const rightWidth = computed(() => isDef(props.rightWidth) ? +props.rightWidth : getWidthByRef(rightRef));\n const open = (side) => {\n state.offset = side === \"left\" ? leftWidth.value : -rightWidth.value;\n if (!opened) {\n opened = true;\n emit(\"open\", {\n name: props.name,\n position: side\n });\n }\n };\n const close = (position) => {\n state.offset = 0;\n if (opened) {\n opened = false;\n emit(\"close\", {\n name: props.name,\n position\n });\n }\n };\n const toggle = (side) => {\n const offset = Math.abs(state.offset);\n const THRESHOLD = 0.15;\n const threshold = opened ? 1 - THRESHOLD : THRESHOLD;\n const width = side === \"left\" ? leftWidth.value : rightWidth.value;\n if (width && offset > width * threshold) {\n open(side);\n } else {\n close(side);\n }\n };\n const onTouchStart = (event) => {\n if (!props.disabled) {\n startOffset = state.offset;\n touch.start(event);\n }\n };\n const onTouchMove = (event) => {\n if (props.disabled) {\n return;\n }\n const {\n deltaX\n } = touch;\n touch.move(event);\n if (touch.isHorizontal()) {\n lockClick = true;\n state.dragging = true;\n const isEdge = !opened || deltaX.value * startOffset < 0;\n if (isEdge) {\n preventDefault(event, props.stopPropagation);\n }\n state.offset = clamp(deltaX.value + startOffset, -rightWidth.value, leftWidth.value);\n }\n };\n const onTouchEnd = () => {\n if (state.dragging) {\n state.dragging = false;\n toggle(state.offset > 0 ? \"left\" : \"right\");\n setTimeout(() => {\n lockClick = false;\n }, 0);\n }\n };\n const onClick = (position = \"outside\") => {\n emit(\"click\", position);\n if (opened && !lockClick) {\n callInterceptor(props.beforeClose, {\n args: [{\n name: props.name,\n position\n }],\n done: () => close(position)\n });\n }\n };\n const getClickHandler = (position, stop) => (event) => {\n if (stop) {\n event.stopPropagation();\n }\n onClick(position);\n };\n const renderSideContent = (side, ref2) => {\n const contentSlot = slots[side];\n if (contentSlot) {\n return _createVNode(\"div\", {\n \"ref\": ref2,\n \"class\": bem(side),\n \"onClick\": getClickHandler(side, true)\n }, [contentSlot()]);\n }\n };\n useExpose({\n open,\n close\n });\n useClickAway(root, () => onClick(\"outside\"), {\n eventName: \"touchstart\"\n });\n return () => {\n var _a;\n const wrapperStyle = {\n transform: `translate3d(${state.offset}px, 0, 0)`,\n transitionDuration: state.dragging ? \"0s\" : \".6s\"\n };\n return _createVNode(\"div\", {\n \"ref\": root,\n \"class\": bem(),\n \"onClick\": getClickHandler(\"cell\"),\n \"onTouchstart\": onTouchStart,\n \"onTouchmove\": onTouchMove,\n \"onTouchend\": onTouchEnd,\n \"onTouchcancel\": onTouchEnd\n }, [_createVNode(\"div\", {\n \"class\": bem(\"wrapper\"),\n \"style\": wrapperStyle\n }, [renderSideContent(\"left\", leftRef), (_a = slots.default) == null ? void 0 : _a.call(slots), renderSideContent(\"right\", rightRef)])]);\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _SwipeCell from \"./SwipeCell\";\nconst SwipeCell = withInstall(_SwipeCell);\nvar stdin_default = SwipeCell;\nexport {\n SwipeCell,\n stdin_default as default\n};\n","\nimport {\n defineComponent,\n nextTick,\n onMounted,\n reactive,\n toRefs,\n getCurrentInstance,\n} from \"vue\";\nimport { useRoute, useRouter, onBeforeRouteUpdate } from \"vue-router\";\nimport { SwipeCell, Cell, Popup, Button, Dialog, Loading } from \"vant\";\nimport { getUserInfo, parseImgUrl } from \"@/utils\";\nimport {\n deleteWorkSpace,\n queryWorkSpace,\n saveWorkSpace,\n} from \"@/apis/envmonitor\";\n\nexport default defineComponent({\n components: {\n VanSwipeCell: SwipeCell,\n VanCell: Cell,\n // VanPopup: Popup,\n VanButton: Button,\n VanDialog: Dialog,\n },\n setup() {\n const proxyGlobal: any = getCurrentInstance();\n const userInfo: any = getUserInfo();\n const spaceData: any = [];\n const router: any = useRouter();\n const proxyData = reactive({\n show: false,\n userInfo: userInfo,\n loaging: false,\n parseImgUrl: parseImgUrl,\n // 格式化提交的数据\n formateData(item: any) {\n let params: any = {\n workSpaceList: [],\n majorSpaceId: \"\", //类型:String 必有字段 备注:主空间\n macAddress: proxyData.userInfo.mac, //类型:String 必有字段 备注:平板地址\n };\n proxyData.spaceData.map((space: any) => {\n if (item.spaceId === space.spaceId) {\n params.majorSpaceId = space.spaceId;\n }\n params.workSpaceList.push(space.spaceId);\n });\n return params;\n },\n // 选择主空间\n checkMainSpace(item: any) {\n if (!proxyData.loaging) {\n let params: any = proxyData.formateData(item);\n proxyData.saveWorkSpace(params);\n }\n },\n // 删除工作空间\n delWorkSpace(item: any) {\n let params: any = {\n spaceId: item.spaceId,\n macAddress: proxyData.userInfo.mac,\n };\n deleteWorkSpace(params).then(() => {\n proxyData.queryWorkSpace()\n });\n },\n // 保存空间\n saveWorkSpace(params: any) {\n proxyData.loaging = true;\n proxyGlobal.proxy.$toast.loading({\n forbidClick: true,\n duration: 0, // 如果大于0则不必使用destory方法\n message: \"正在设置主空间...\",\n });\n saveWorkSpace(params)\n .then((res) => {\n proxyData.closeLoading();\n router.push({\n name: \"envmonitor\",\n query: { spaceId: params.majorSpaceId },\n });\n })\n .catch(() => {\n proxyData.closeLoading();\n });\n },\n closeLoading() {\n proxyGlobal.proxy.$toast.clear();\n proxyData.loaging = false;\n },\n spaceData: spaceData,\n queryWorkSpace() {\n let params: any = {\n criteria: {\n projectId: proxyData.userInfo.projectId,\n //类型:Object 必有字段 备注:无\n macAddress: proxyData.userInfo.mac, //类型:String 必有字段 备注:mac地址\n },\n };\n // debugger\n queryWorkSpace(params).then((res) => {\n let resData: any = res ? res : {};\n // debugger;\n if (resData.result === \"success\") {\n proxyData.spaceData = resData?.content ?? [];\n } else {\n proxyData.spaceData = [];\n }\n // 默认都不是主空间\n proxyData.spaceData.map((item: any) => {\n item.isMajorSpace = 0;\n });\n });\n },\n });\n onMounted(() => {\n proxyData.queryWorkSpace();\n });\n return {\n ...toRefs(proxyData),\n };\n },\n});\n","import { render } from \"./setMainSpace.vue?vue&type=template&id=42e376a5&scoped=true&ts=true\"\nimport script from \"./setMainSpace.vue?vue&type=script&lang=ts\"\nexport * from \"./setMainSpace.vue?vue&type=script&lang=ts\"\n\nimport \"./setMainSpace.vue?vue&type=style&index=0&id=42e376a5&lang=scss&scoped=true\"\nimport \"./setMainSpace.vue?vue&type=style&index=1&id=42e376a5&lang=scss\"\n\nimport exportComponent from \"/Users/wangyong/shanggeyun/code/sagacloud-sagacare-ipad/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-42e376a5\"]])\n\nexport default __exports__","// // 默认配置\n// import { netConfig, settingConfig, themeConfig } from './default'\n// // 自定义配置\n// import customConfig from './customConfig'\n//\n// // 导出配置(自定义配置优先级高)\n// export default Object.assign({}, netConfig, settingConfig, themeConfig, customConfig)\n\nexport const setupService = '/duoduo-service/setup-service/'\nexport const objectService = '/duoduo-service/object-service/'\nexport const duoduoenvService = '/duoduo-service/duoduoenv-service/'\nexport const weachatService = '/duoduo-service/'\nexport const customService = '/duoduo-service/custom-service/'\nexport const ssoService = '/sso/'\nexport const testApi = '/test/'\n","import { RootObject, RootWeatherObject } from '@/model/rootObject'\nimport { CompanyModel, OutherWeather, SpaceModel } from '@/model/userModel'\nimport { https, post } from '@/utils/https'\nimport { ContentType, Method, RequestParams } from 'axios-mapper'\nimport { setQueryConfig } from '@/utils'\nimport { customService, duoduoenvService, objectService, setupService, testApi, weachatService } from '@/config'\n\n// const comInfo = getUserInfo()\n// const comParams: string = \"\"\n\n// https://sagacare-h5.tenants.link/api/company/config/245e7060643811eb934c0237aedb39a6\nexport const getCompanyInfo = (companyInfo: RequestParams) => {\n return https().request<RootObject<CompanyModel>>(`/api/company/config/${companyInfo.companyId}`, Method.GET, undefined, ContentType.json)\n}\nexport const getWeather = (params: string) => {\n return https().request<RootWeatherObject<OutherWeather>>(`${objectService}weather/getCurrent?${params}`, Method.GET, undefined, ContentType.json)\n}\nexport const getSpaceInfo = (data: any) => {\n return https().request<RootWeatherObject<SpaceModel>>(`${duoduoenvService}space/property`, Method.POST, data, ContentType.json)\n}\n\n// 获取会议室场景\nexport const getMeetingSceneHttp = (params: any) => {\n return https().request<any>(`${duoduoenvService}meeting/room/scene/getMeetingScene/V2?spaceId=${params.spaceId}`, Method.GET, undefined, ContentType.json)\n}\n// 获取设备信息\nexport const getEquipmentListHttp = (params: any) => {\n return https().request<any>(`${duoduoenvService}object/equipment/findForServe?spaceId=${params.spaceId}`, Method.POST, undefined, ContentType.json)\n}\n// 查询定制时间\nexport const getSetTimeHttp = (params: any) => {\n return https().request<any>(`${duoduoenvService}customScene/queryCustom?spaceId=${params.spaceId}`, Method.GET, undefined, ContentType.json)\n}\n// 空调 - 调节文案/空调信息\nexport const getFeedbackDocumentsHttp = (data: any) => {\n return https().request<any>(`${duoduoenvService}custom/feedback/documents`, Method.POST, data, ContentType.json)\n}\n\n// 空调调节\nexport const changeTempHttp = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}custom/feedbackCreate/v2`, Method.POST, params, ContentType.json)\n}\n// 查询灯的状态(优先查采集的状态)\nexport const getLampHttp = (params: any) => {\n return https({ timeout: 1000 }).request<RootObject<any>>(`${duoduoenvService}light/status/query?spaceId=${params.spaceId}`, Method.GET, undefined, ContentType.json)\n}\n\n// 批量操作 灯\nexport const setallLampHttp = (data: any) => {\n return post(`${duoduoenvService}light/onoff/set`, data)\n}\n// 设置窗帘 \nexport const setEquipeHttp = (data: any) => {\n return post(`${duoduoenvService}object/eqp/infocode/set`, data)\n}\n\n// 指令失败的时候轮询查询灯的状态\nexport const getStatusHttp = (data: any) => {\n return post(`${duoduoenvService}light/onoff/setSatus`, data)\n}\n\n// 获取窗帘数据列表\nexport const getObjectDataEqpGroupHttp = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}object/objectDataEqpGroup/query`, Method.POST, params, ContentType.json)\n}\n\n// 切换场景\nexport const switchoverSceneHttp = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}meeting/room/scene/switchover`, Method.POST, params, ContentType.json)\n}\n\nexport const changeSetTimeHttp = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}customScene/create`, Method.POST, params, ContentType.json)\n}\n// 详情页面的图表数据\nexport const getChartListHTTP = (params: any) => {\n return https().request<RootObject<any>>(`${duoduoenvService}/spaceAdjust/queryPropertyData?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n// 查询建筑的信息\nexport const getBuildingList = (params: any) => {\n return https().request<any>(`${objectService}object/building/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 查询楼层信息\n * @param params\n */\nexport const getFloorList = (params: any) => {\n return https().request<any>(`${objectService}object/floor/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取地图数据\n * @param params\n */\nexport const getMapInfo = (params: any) => {\n return https().request<any>(`${setupService}map/queryMapInfo`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取空间设备\n * @param params\n */\nexport const getSpaceEquipType = (params: any) => {\n return https().request<any>(`${objectService}object/equipment/querySpaceEquipType?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 模糊查询空间列表数据\n * @param params\n */\nexport const getSpaceLike = (params: any) => {\n return https().request<any>(`${objectService}object/space/query`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 增加常驻空间\n */\nexport const permanentSpace = (params: any) => {\n // return https().request<any>(`${setupService}permanentSpace/save`, Method.POST, params, ContentType.json)\n // return https().request<any>(`${testApi}permanentSpace/save`, Method.POST, params, ContentType.json)\n return https().request<any>(`${setupService}permanentSpace/save`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 获取常驻空间\n */\nexport const getPermanentSpace = () => {\n return https().request<any>(`${setupService}permanentSpace/query`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 删除常驻空间\n */\nexport const delPermanentSpace = (params: any) => {\n return https().request<any>(`${setupService}permanentSpace/delete?${params}`)\n}\n\n/**\n * 获取用户使用权限\n */\nexport const getUserControlAuth = () => {\n return https().request<any>(`${setupService}permanentSpace/queryZJ`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 获取空间运行模式\n */\nexport const getSpaceMode = () => {\n return https().request<any>(`${objectService}object/equipment/querySpaceModeSet`, Method.GET, undefined, ContentType.json)\n}\n/**\n * 获取空调设备温度\n */\nexport const getSpaceTemp = () => {\n return https().request<any>(`${objectService}object/equipment/querySpaceTempSet`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * \n * @param params 查询场景配置\n * @returns \n */\nexport const querySpaceSceneConfig = (params: any) => {\n return https().request<any>(`${setupService}scene/querySpaceSceneConfig?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 查询加班记录\n */\nexport const queryCustomAndScence = (params: any) => {\n // return https().request<any>(`${testApi}customScene/queryCustomAndScence?${params}`, Method.GET, undefined, ContentType.json)\n return https().request<any>(`${duoduoenvService}customScene/queryCustomAndScence?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 添加(取消)加班记录\n * @param params\n */\nexport const saveBatchCustomScene = (data: any) => {\n // return post(`${testApi}customScene/saveBatchCustomScene`, data)\n return post(`${duoduoenvService}customScene/saveBatchCustomScene`, data)\n}\n\n\n/**\n * 查询默认位置\n */\nexport const getDefaultLocation = (params: any) => {\n return https().request<any>(`${setupService}padSpace/getDefaultLocation?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 查询空间列表\n */\nexport const getPadSpaceList = (params: any) => {\n return https().request<any>(`${setupService}padSpace/getPadSpaceList?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 设置成办公空间-(\"批量保存\")\n */\nexport const saveWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/saveWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 设置工作空间\n * @param params \n */\nexport const insertWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/insertWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 删除工作空间\n * @param params \n */\nexport const deleteWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/deleteWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n\n\n/**\n * 查询平板下面的办公空间\n */\nexport let queryWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/queryWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n\n/**\n * 查询平板下面的办公空间\n */\nexport let checkWorkSpace = (params: any) => {\n return https().request<any>(`${setupService}padSpace/queryWorkSpace`, Method.POST, params, ContentType.json)\n}\n\n/**\n * 查询客户列表\n */\nexport const queryCustomerservice = (params: any) => {\n return https().request<RootObject<any>>(`${weachatService}wechat-service-duoduoenv/duoduoenv/customerservice/query`, Method.POST, params, ContentType.json)\n}\n\n\n/**\n * 获取二维码状态\n */\nexport const getPadQrCodeStatus = (params: any) => {\n return https().request<any>(`${setupService}padLogin/getPadQrCodeStatus?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n\n/**\n * 获取背景图\n * @param params \n * @returns \n */\nexport const getPadImg = (params: any) => {\n // return https().request<any>(`${setupService}/padImage/queryImageByFuncType`,Method.GET, undefined, ContentType.json)\n return https().request<any>(`${setupService}padImage/queryImageByFuncType?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 设备手动控制\n */\nexport const querySpaceConditioners = (params: any) => {\n return https().request<any>(`${duoduoenvService}ctrl/querySpaceConditioners?${params}`, Method.GET, undefined, ContentType.json)\n // return https().request<any>(`${testApi}ctrl/querySpaceConditioners?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n/**\n * 设备手动控制\n */\nexport const setSpaceCondtioners = (data: any) => {\n return post(`${duoduoenvService}ctrl/set`, data)\n // return post(`${testApi}ctrl/set`, data)\n}\n\n// 地图数据保存\nexport const saveMapPointInfo = (data: any) => {\n // return post(`${duoduoenvService}map/saveMapPointInfo`, data)\n return https().request<any>(`${setupService}/map/saveMapPointInfo`, Method.POST, data, ContentType.json)\n}\n\n\n// 获取空间下的可控制的设备\nexport const getSpaceEquipList = (params: any) => {\n return https().request<any>(`${customService}equipmentRun/queryEquipmentRunConfig?${params}`, Method.GET, undefined, ContentType.json)\n}\n\n\n","import \"../../style/base.css\";\nimport \"../../badge/index.css\";\nimport \"../../icon/index.css\";\nimport \"../../loading/index.css\";\nimport \"../index.css\";\n","import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { isDef, extend, truthProp, unknownProp, numericProp, createNamespace } from \"../utils\";\nimport { useRoute, routeProps } from \"../composables/use-route\";\nimport { Icon } from \"../icon\";\nconst [name, bem] = createNamespace(\"cell\");\nconst cellSharedProps = {\n icon: String,\n size: String,\n title: numericProp,\n value: numericProp,\n label: numericProp,\n center: Boolean,\n isLink: Boolean,\n border: truthProp,\n required: Boolean,\n iconPrefix: String,\n valueClass: unknownProp,\n labelClass: unknownProp,\n titleClass: unknownProp,\n titleStyle: null,\n arrowDirection: String,\n clickable: {\n type: Boolean,\n default: null\n }\n};\nconst cellProps = extend({}, cellSharedProps, routeProps);\nvar stdin_default = defineComponent({\n name,\n props: cellProps,\n setup(props, {\n slots\n }) {\n const route = useRoute();\n const renderLabel = () => {\n const showLabel = slots.label || isDef(props.label);\n if (showLabel) {\n return _createVNode(\"div\", {\n \"class\": [bem(\"label\"), props.labelClass]\n }, [slots.label ? slots.label() : props.label]);\n }\n };\n const renderTitle = () => {\n if (slots.title || isDef(props.title)) {\n return _createVNode(\"div\", {\n \"class\": [bem(\"title\"), props.titleClass],\n \"style\": props.titleStyle\n }, [slots.title ? slots.title() : _createVNode(\"span\", null, [props.title]), renderLabel()]);\n }\n };\n const renderValue = () => {\n const slot = slots.value || slots.default;\n const hasValue = slot || isDef(props.value);\n if (hasValue) {\n const hasTitle = slots.title || isDef(props.title);\n return _createVNode(\"div\", {\n \"class\": [bem(\"value\", {\n alone: !hasTitle\n }), props.valueClass]\n }, [slot ? slot() : _createVNode(\"span\", null, [props.value])]);\n }\n };\n const renderLeftIcon = () => {\n if (slots.icon) {\n return slots.icon();\n }\n if (props.icon) {\n return _createVNode(Icon, {\n \"name\": props.icon,\n \"class\": bem(\"left-icon\"),\n \"classPrefix\": props.iconPrefix\n }, null);\n }\n };\n const renderRightIcon = () => {\n if (slots[\"right-icon\"]) {\n return slots[\"right-icon\"]();\n }\n if (props.isLink) {\n const name2 = props.arrowDirection ? `arrow-${props.arrowDirection}` : \"arrow\";\n return _createVNode(Icon, {\n \"name\": name2,\n \"class\": bem(\"right-icon\")\n }, null);\n }\n };\n return () => {\n var _a, _b;\n const {\n size,\n center,\n border,\n isLink,\n required\n } = props;\n const clickable = (_a = props.clickable) != null ? _a : isLink;\n const classes = {\n center,\n required,\n clickable,\n borderless: !border\n };\n if (size) {\n classes[size] = !!size;\n }\n return _createVNode(\"div\", {\n \"class\": bem(classes),\n \"role\": clickable ? \"button\" : void 0,\n \"tabindex\": clickable ? 0 : void 0,\n \"onClick\": route\n }, [renderLeftIcon(), renderTitle(), renderValue(), renderRightIcon(), (_b = slots.extra) == null ? void 0 : _b.call(slots)]);\n };\n }\n});\nexport {\n cellSharedProps,\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _Cell from \"./Cell\";\nconst Cell = withInstall(_Cell);\nvar stdin_default = Cell;\nexport {\n Cell,\n stdin_default as default\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./setMainSpace.vue?vue&type=style&index=1&id=42e376a5&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBg\":\"#fff\",\"menuText\":\"#162b64\",\"menuActiveText\":\"#435ebe\"};","import { createVNode as _createVNode } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { extend, numericProp, preventDefault, makeStringProp, createNamespace, BORDER_SURROUND } from \"../utils\";\nimport { useRoute, routeProps } from \"../composables/use-route\";\nimport { Icon } from \"../icon\";\nimport { Loading } from \"../loading\";\nconst [name, bem] = createNamespace(\"button\");\nconst buttonProps = extend({}, routeProps, {\n tag: makeStringProp(\"button\"),\n text: String,\n icon: String,\n type: makeStringProp(\"default\"),\n size: makeStringProp(\"normal\"),\n color: String,\n block: Boolean,\n plain: Boolean,\n round: Boolean,\n square: Boolean,\n loading: Boolean,\n hairline: Boolean,\n disabled: Boolean,\n iconPrefix: String,\n nativeType: makeStringProp(\"button\"),\n loadingSize: numericProp,\n loadingText: String,\n loadingType: String,\n iconPosition: makeStringProp(\"left\")\n});\nvar stdin_default = defineComponent({\n name,\n props: buttonProps,\n emits: [\"click\"],\n setup(props, {\n emit,\n slots\n }) {\n const route = useRoute();\n const renderLoadingIcon = () => {\n if (slots.loading) {\n return slots.loading();\n }\n return _createVNode(Loading, {\n \"size\": props.loadingSize,\n \"type\": props.loadingType,\n \"class\": bem(\"loading\")\n }, null);\n };\n const renderIcon = () => {\n if (props.loading) {\n return renderLoadingIcon();\n }\n if (slots.icon) {\n return _createVNode(\"div\", {\n \"class\": bem(\"icon\")\n }, [slots.icon()]);\n }\n if (props.icon) {\n return _createVNode(Icon, {\n \"name\": props.icon,\n \"class\": bem(\"icon\"),\n \"classPrefix\": props.iconPrefix\n }, null);\n }\n };\n const renderText = () => {\n let text;\n if (props.loading) {\n text = props.loadingText;\n } else {\n text = slots.default ? slots.default() : props.text;\n }\n if (text) {\n return _createVNode(\"span\", {\n \"class\": bem(\"text\")\n }, [text]);\n }\n };\n const getStyle = () => {\n const {\n color,\n plain\n } = props;\n if (color) {\n const style = {\n color: plain ? color : \"white\"\n };\n if (!plain) {\n style.background = color;\n }\n if (color.includes(\"gradient\")) {\n style.border = 0;\n } else {\n style.borderColor = color;\n }\n return style;\n }\n };\n const onClick = (event) => {\n if (props.loading) {\n preventDefault(event);\n } else if (!props.disabled) {\n emit(\"click\", event);\n route();\n }\n };\n return () => {\n const {\n tag,\n type,\n size,\n block,\n round,\n plain,\n square,\n loading,\n disabled,\n hairline,\n nativeType,\n iconPosition\n } = props;\n const classes = [bem([type, size, {\n plain,\n block,\n round,\n square,\n loading,\n disabled,\n hairline\n }]), {\n [BORDER_SURROUND]: hairline\n }];\n return _createVNode(tag, {\n \"type\": nativeType,\n \"class\": classes,\n \"style\": getStyle(),\n \"disabled\": disabled,\n \"onClick\": onClick\n }, {\n default: () => [_createVNode(\"div\", {\n \"class\": bem(\"content\")\n }, [iconPosition === \"left\" && renderIcon(), renderText(), iconPosition === \"right\" && renderIcon()])]\n });\n };\n }\n});\nexport {\n stdin_default as default\n};\n","import { withInstall } from \"../utils\";\nimport _Button from \"./Button\";\nconst Button = withInstall(_Button);\nvar stdin_default = Button;\nexport {\n Button,\n stdin_default as default\n};\n","import \"../../style/base.css\";\nimport \"../../action-bar/index.css\";\nimport \"../../badge/index.css\";\nimport \"../../icon/index.css\";\nimport \"../../loading/index.css\";\nimport \"../../button/index.css\";\nimport \"../../action-bar-button/index.css\";\nimport \"../../overlay/index.css\";\nimport \"../../popup/index.css\";\nimport \"../index.css\";\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./setMainSpace.vue?vue&type=style&index=0&id=42e376a5&lang=scss&scoped=true\""],"sourceRoot":""}
|