hy-dispatch-ui-v3 0.2.76 → 0.2.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.install.mjs +6 -0
  2. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.install.mjs +6 -0
  3. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +107 -116
  4. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.mjs +6 -0
  5. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +8 -0
  6. package/es/bussiness/hyDepartmentTypeOperation/index.mjs +4 -1
  7. package/es/bussiness/hyDeviceTree/deviceTree.install.mjs +6 -0
  8. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.install.mjs +6 -0
  9. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +2 -2
  10. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.install.mjs +6 -0
  11. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.install.mjs +6 -0
  12. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.install.mjs +6 -0
  13. package/es/bussiness/hyElectronicFence/electronicFence.install.mjs +6 -0
  14. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.install.mjs +6 -0
  15. package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.install.mjs +6 -0
  16. package/es/bussiness/hyOrgGroupTree/orgGroupTree.install.mjs +6 -0
  17. package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.install.mjs +6 -0
  18. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.install.mjs +6 -0
  19. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.install.mjs +6 -0
  20. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.install.mjs +6 -0
  21. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.install.mjs +6 -0
  22. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.install.mjs +6 -0
  23. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.install.mjs +6 -0
  24. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.install.mjs +6 -0
  25. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.install.mjs +6 -0
  26. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.install.mjs +6 -0
  27. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.install.mjs +6 -0
  28. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.install.mjs +6 -0
  29. package/es/bussiness/hyRuleSetting/ruleSetting.install.mjs +6 -0
  30. package/es/bussiness/hyUserTree/userTree.install.mjs +6 -0
  31. package/es/bussiness/index.mjs +1 -2
  32. package/es/components-map.mjs +17 -10
  33. package/es/hooks/index.mjs +1 -0
  34. package/es/hooks/useGlobalConfig.mjs +9 -0
  35. package/es/hooks/useVersionControl.mjs +34 -0
  36. package/es/index.mjs +2 -2
  37. package/es/utils/form.mjs +11 -2
  38. package/es/utils/useUiComponent.mjs +34 -0
  39. package/es/version.mjs +1 -1
  40. package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.install.js +6 -0
  41. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.install.js +6 -0
  42. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +106 -115
  43. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.js +6 -0
  44. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +8 -0
  45. package/lib/bussiness/hyDepartmentTypeOperation/index.js +4 -0
  46. package/lib/bussiness/hyDeviceTree/deviceTree.install.js +6 -0
  47. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.install.js +6 -0
  48. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +11 -11
  49. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.install.js +6 -0
  50. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.install.js +6 -0
  51. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.install.js +6 -0
  52. package/lib/bussiness/hyElectronicFence/electronicFence.install.js +6 -0
  53. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.install.js +6 -0
  54. package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.install.js +6 -0
  55. package/lib/bussiness/hyOrgGroupTree/orgGroupTree.install.js +6 -0
  56. package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.install.js +6 -0
  57. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.install.js +6 -0
  58. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.install.js +6 -0
  59. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.install.js +6 -0
  60. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.install.js +6 -0
  61. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.install.js +6 -0
  62. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.install.js +6 -0
  63. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.install.js +6 -0
  64. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.install.js +6 -0
  65. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.install.js +6 -0
  66. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.install.js +6 -0
  67. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.install.js +6 -0
  68. package/lib/bussiness/hyRuleSetting/ruleSetting.install.js +6 -0
  69. package/lib/bussiness/hyUserTree/userTree.install.js +6 -0
  70. package/lib/bussiness/index.js +1 -2
  71. package/lib/components-map.js +17 -10
  72. package/lib/hooks/index.js +4 -0
  73. package/lib/hooks/useGlobalConfig.js +9 -0
  74. package/lib/hooks/useVersionControl.js +38 -0
  75. package/lib/index.js +5 -2
  76. package/lib/utils/form.js +11 -2
  77. package/lib/utils/useUiComponent.js +37 -0
  78. package/lib/version.js +1 -1
  79. package/package.json +100 -58
  80. package/es/bussiness/hyDepartmentTypeOperation/tiantong.mjs +0 -8
  81. package/lib/bussiness/hyDepartmentTypeOperation/tiantong.js +0 -13
@@ -0,0 +1,34 @@
1
+ import { getCurrentInstance, inject, ref, unref, computed } from 'vue';
2
+ import { useGlobalConfig } from './useGlobalConfig.mjs';
3
+
4
+ const localVersionStoreKey = /* @__PURE__ */ Symbol("versionStore");
5
+ const localComponentsMapKey = /* @__PURE__ */ Symbol("componentsMap");
6
+ const useVersionControl = () => {
7
+ if (getCurrentInstance()) {
8
+ const versionStore = inject(localVersionStoreKey, ref());
9
+ const componentsMap = inject(localComponentsMapKey, ref());
10
+ return {
11
+ versionStore: unref(versionStore) ? versionStore : computed(() => {
12
+ const config = unref(useGlobalConfig());
13
+ return config?.versionStore || null;
14
+ }),
15
+ componentsMap: unref(componentsMap) ? componentsMap : computed(() => {
16
+ const config = unref(useGlobalConfig());
17
+ return config?.componentsMap || null;
18
+ })
19
+ };
20
+ } else {
21
+ return {
22
+ versionStore: computed(() => {
23
+ const config = unref(useGlobalConfig());
24
+ return config?.versionStore || null;
25
+ }),
26
+ componentsMap: computed(() => {
27
+ const config = unref(useGlobalConfig());
28
+ return config?.componentsMap || null;
29
+ })
30
+ };
31
+ }
32
+ };
33
+
34
+ export { localComponentsMapKey, localVersionStoreKey, useVersionControl };
package/es/index.mjs CHANGED
@@ -19,8 +19,7 @@ export { HyCheckboxGroup } from './components/hyCheckboxGroup/index.mjs';
19
19
  export { HyConfigProvider } from './components/hyConfigProvider/index.mjs';
20
20
  export { HyConfirmDialog } from './components/hyConfirmDialog/index.mjs';
21
21
  export { HyCutter } from './components/hyCutter/index.mjs';
22
- export { HyDepartmentTypeOperation } from './bussiness/hyDepartmentTypeOperation/index.mjs';
23
- export { HyDepartmentTypeOperationTiantonmg } from './bussiness/hyDepartmentTypeOperation/tiantong.mjs';
22
+ export { HyDepartmentTypeOperation, HyDepartmentTypeOperationTiantong } from './bussiness/hyDepartmentTypeOperation/index.mjs';
24
23
  export { HyDeviceTree } from './bussiness/hyDeviceTree/index.mjs';
25
24
  export { HyDialog } from './components/hyDialog/index.mjs';
26
25
  export { HyDrawer } from './components/hyDrawer/index.mjs';
@@ -62,6 +61,7 @@ export { isArray, isBoolean, isEmpty, isFile, isFunction, isNull, isNumber, isOb
62
61
  export { loadingSvg } from './utils/sharedContent.mjs';
63
62
  export { localAudioPlayerConfigKey, useAudioPlayerConfig } from './hooks/useAudioPlayerConfig.mjs';
64
63
  export { localBaseMainStoreKey, useBaseMainStore } from './hooks/useBaseMainStore.mjs';
64
+ export { localComponentsMapKey, localVersionStoreKey, useVersionControl } from './hooks/useVersionControl.mjs';
65
65
  export { localCurrentBusKey, useCurrentBus } from './hooks/useCurrentBus.mjs';
66
66
  export { localEnsureHyIconMapKey, useEnsureHyIcon } from './hooks/useEnsureHyIcon.mjs';
67
67
  export { localMapConfigKey, useMapConfig } from './hooks/useMapConfig.mjs';
package/es/utils/form.mjs CHANGED
@@ -95,8 +95,17 @@ const columnRuleHandler = (column, model, config) => {
95
95
  if (column.type === "input" && column.attrs.type === "text") {
96
96
  if (!rules.some((item) => isNumber(item.max))) {
97
97
  rules.push({
98
- max: 255,
99
- message: $t("form.characterLimit", [columnLabelHandler(column, model), 255])
98
+ validator: (rule, value, callback) => {
99
+ if (isNumber(value)) {
100
+ value = `${value}`;
101
+ }
102
+ if (isString(value) && value.length > 255) {
103
+ callback(new Error($t("form.characterLimit", [columnLabelHandler(column, model), 255])));
104
+ return;
105
+ }
106
+ callback();
107
+ },
108
+ trigger: ["blur", "change"]
100
109
  });
101
110
  }
102
111
  }
@@ -0,0 +1,34 @@
1
+ import { defineAsyncComponent } from 'vue';
2
+ import '../hooks/index.mjs';
3
+ import { useVersionControl } from '../hooks/useVersionControl.mjs';
4
+
5
+ function useUiComponent(componentName) {
6
+ const { componentsMap, versionStore } = useVersionControl();
7
+ const currentComponentsMap = componentsMap?.value;
8
+ const currentVersionStore = versionStore?.value;
9
+ if (currentComponentsMap && currentVersionStore) {
10
+ return defineAsyncComponent(() => {
11
+ const versionedName = currentVersionStore.getUiComponentName(componentName);
12
+ if (currentComponentsMap[versionedName]) {
13
+ return currentComponentsMap[versionedName]();
14
+ } else {
15
+ console.warn(`[useUiComponent] \u672A\u627E\u5230\u7248\u672C\u5316\u7EC4\u4EF6: ${versionedName}\uFF0C\u5C1D\u8BD5\u4F7F\u7528\u9ED8\u8BA4\u7EC4\u4EF6`);
16
+ if (currentComponentsMap[componentName]) {
17
+ return currentComponentsMap[componentName]();
18
+ }
19
+ }
20
+ throw new Error(`[useUiComponent] \u7EC4\u4EF6 ${componentName} \u5728 componentsMap \u4E2D\u4E0D\u5B58\u5728`);
21
+ });
22
+ }
23
+ throw new Error(`[useUiComponent] useUiComponent('${componentName}') \u9700\u8981\u901A\u8FC7 HyConfigProvider \u63D0\u4F9B componentsMap \u548C versionStore`);
24
+ return {
25
+ currentComponentsMap,
26
+ currentVersionStore
27
+ };
28
+ }
29
+ function isMultiVersionMode() {
30
+ const { componentsMap, versionStore } = useVersionControl();
31
+ return !!(componentsMap?.value && versionStore?.value);
32
+ }
33
+
34
+ export { isMultiVersionMode, useUiComponent };
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.75";
1
+ const version = "0.2.76";
2
2
 
3
3
  export { version };
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './acquisitionStationTree.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './departmentTypeOperation2.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -226,129 +226,120 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
226
226
  return (_ctx, _cache) => {
227
227
  const _component_el_image = vue.resolveComponent("el-image");
228
228
  const _component_el_upload = vue.resolveComponent("el-upload");
229
- return vue.openBlock(), vue.createElementBlock(
230
- vue.Fragment,
231
- null,
232
- [
233
- vue.createTextVNode(" 111111111 "),
234
- vue.createVNode(vue.unref(index$2.HyDialog), vue.mergeProps({
235
- ref_key: "HyDialogRef",
236
- ref: HyDialogRef,
237
- modelValue: vue.unref(dialogVisible),
238
- "onUpdate:modelValue": ($event) => vue.isRef(dialogVisible) ? dialogVisible.value = $event : null,
239
- loading: vue.unref(loading),
240
- "onUpdate:loading": ($event) => vue.isRef(loading) ? loading.value = $event : null,
241
- "if-shrink": true,
242
- width: "310px"
243
- }, _ctx.$attrs, {
244
- title: vue.unref(formModel).id ? $t("editDepartmentType") : $t("addDepartmentType"),
245
- "on-submit": vue.unref(onSubmit),
246
- "on-cancel": vue.unref(onClose),
247
- "on-close": vue.unref(onClose),
248
- "operate-class": "w-full justify-center",
249
- onOnMinimized: vue.unref(onMinimized),
250
- onOnDialogMousedown: ($event) => vue.unref(setDragLevelIndex)("HyDialogRef")
251
- }), {
252
- default: vue.withCtx(() => [
253
- vue.createVNode(vue.unref(index$3.HyForm), {
254
- ref_key: "formRef",
255
- ref: formRef,
256
- "column-num": 1,
257
- model: vue.unref(formModel),
258
- columns: vue.unref(formColumns)
259
- }, {
260
- companyNameSlot: vue.withCtx(() => [
261
- vue.createElementVNode("div", { class: "flex flex-row departmentTypeOperation" }, [
262
- vue.createVNode(_component_el_upload, {
263
- class: "w-[80px] flex items-center justify-center upload_box",
264
- accept: ".png,.jpg,.gif",
265
- "before-upload": vue.unref(beforeAvatarUpload),
266
- "http-request": vue.unref(handleHttpRequestImg),
267
- action: "",
268
- "show-file-list": false
269
- }, {
270
- default: vue.withCtx(() => [
271
- vue.withDirectives(vue.createElementVNode("div", {
272
- class: "delete_box flex items-center justify-center",
273
- onClick: vue.withModifiers(($event) => vue.unref(setHeadImg)(null), ["stop"])
274
- }, [
275
- vue.createVNode(vue.unref(index$4.HyIcon), {
276
- "svg-name": "ops-button-delete",
277
- class: "svg_box"
278
- })
279
- ], 8, ["onClick"]), [
280
- [vue.vShow, vue.unref(formModel).icon]
281
- ]),
282
- vue.createElementVNode("div", { class: "click-box emptyHead" }, [
283
- vue.unref(formModel).icon ? (vue.openBlock(), vue.createBlock(_component_el_image, {
284
- key: 0,
285
- fit: "contain",
286
- class: "w-[60px] h-[60px]",
287
- src: vue.unref(formModel).icon
288
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyIcon), {
289
- key: 1,
290
- "svg-name": "ops-file-empty-head",
291
- class: "text-auxiliary !w-[60px] !h-[60px]"
292
- })),
293
- vue.createElementVNode(
294
- "span",
295
- { class: "uploadTips text-center" },
296
- vue.toDisplayString($t("upload")),
297
- 1
298
- /* TEXT */
299
- )
300
- ])
301
- ]),
302
- _: 1
303
- /* STABLE */
304
- }, 8, ["before-upload", "http-request"]),
305
- vue.createElementVNode("div", { class: "flex-grow leading-[20px] text-auxiliary text-xs text-center" }, [
229
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.HyDialog), vue.mergeProps({
230
+ ref_key: "HyDialogRef",
231
+ ref: HyDialogRef,
232
+ modelValue: vue.unref(dialogVisible),
233
+ "onUpdate:modelValue": ($event) => vue.isRef(dialogVisible) ? dialogVisible.value = $event : null,
234
+ loading: vue.unref(loading),
235
+ "onUpdate:loading": ($event) => vue.isRef(loading) ? loading.value = $event : null,
236
+ "if-shrink": true,
237
+ width: "310px"
238
+ }, _ctx.$attrs, {
239
+ title: vue.unref(formModel).id ? $t("editDepartmentType") : $t("addDepartmentType"),
240
+ "on-submit": vue.unref(onSubmit),
241
+ "on-cancel": vue.unref(onClose),
242
+ "on-close": vue.unref(onClose),
243
+ "operate-class": "w-full justify-center",
244
+ onOnMinimized: vue.unref(onMinimized),
245
+ onOnDialogMousedown: ($event) => vue.unref(setDragLevelIndex)("HyDialogRef")
246
+ }), {
247
+ default: vue.withCtx(() => [
248
+ vue.createVNode(vue.unref(index$3.HyForm), {
249
+ ref_key: "formRef",
250
+ ref: formRef,
251
+ "column-num": 1,
252
+ model: vue.unref(formModel),
253
+ columns: vue.unref(formColumns)
254
+ }, {
255
+ companyNameSlot: vue.withCtx(() => [
256
+ vue.createElementVNode("div", { class: "flex flex-row departmentTypeOperation" }, [
257
+ vue.createVNode(_component_el_upload, {
258
+ class: "w-[80px] flex items-center justify-center upload_box",
259
+ accept: ".png,.jpg,.gif",
260
+ "before-upload": vue.unref(beforeAvatarUpload),
261
+ "http-request": vue.unref(handleHttpRequestImg),
262
+ action: "",
263
+ "show-file-list": false
264
+ }, {
265
+ default: vue.withCtx(() => [
266
+ vue.withDirectives(vue.createElementVNode("div", {
267
+ class: "delete_box flex items-center justify-center",
268
+ onClick: vue.withModifiers(($event) => vue.unref(setHeadImg)(null), ["stop"])
269
+ }, [
270
+ vue.createVNode(vue.unref(index$4.HyIcon), {
271
+ "svg-name": "ops-button-delete",
272
+ class: "svg_box"
273
+ })
274
+ ], 8, ["onClick"]), [
275
+ [vue.vShow, vue.unref(formModel).icon]
276
+ ]),
277
+ vue.createElementVNode("div", { class: "click-box emptyHead" }, [
278
+ vue.unref(formModel).icon ? (vue.openBlock(), vue.createBlock(_component_el_image, {
279
+ key: 0,
280
+ fit: "contain",
281
+ class: "w-[60px] h-[60px]",
282
+ src: vue.unref(formModel).icon
283
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyIcon), {
284
+ key: 1,
285
+ "svg-name": "ops-file-empty-head",
286
+ class: "text-auxiliary !w-[60px] !h-[60px]"
287
+ })),
306
288
  vue.createElementVNode(
307
- "div",
308
- null,
309
- vue.toDisplayString($t("pleaseUploadDepartmentTypeIcon")),
310
- 1
311
- /* TEXT */
312
- ),
313
- vue.createElementVNode(
314
- "div",
315
- null,
316
- vue.toDisplayString($t("iconSize44px")) + "*44px",
317
- 1
318
- /* TEXT */
319
- ),
320
- vue.createElementVNode(
321
- "div",
322
- null,
323
- vue.toDisplayString($t("ifNoIconUseTheDefaultIcon")),
289
+ "span",
290
+ { class: "uploadTips text-center" },
291
+ vue.toDisplayString($t("upload")),
324
292
  1
325
293
  /* TEXT */
326
294
  )
327
295
  ])
328
- ])
329
- ]),
330
- _: 1
331
- /* STABLE */
332
- }, 8, ["model", "columns"]),
333
- vue.createVNode(
334
- vue.unref(index$5.HyCutter),
335
- {
336
- ref_key: "HyCutterRef",
337
- ref: HyCutterRef,
338
- "show-upload": false
339
- },
340
- null,
341
- 512
342
- /* NEED_PATCH */
343
- )
296
+ ]),
297
+ _: 1
298
+ /* STABLE */
299
+ }, 8, ["before-upload", "http-request"]),
300
+ vue.createElementVNode("div", { class: "flex-grow leading-[20px] text-auxiliary text-xs text-center" }, [
301
+ vue.createElementVNode(
302
+ "div",
303
+ null,
304
+ vue.toDisplayString($t("pleaseUploadDepartmentTypeIcon")),
305
+ 1
306
+ /* TEXT */
307
+ ),
308
+ vue.createElementVNode(
309
+ "div",
310
+ null,
311
+ vue.toDisplayString($t("iconSize44px")) + "*44px",
312
+ 1
313
+ /* TEXT */
314
+ ),
315
+ vue.createElementVNode(
316
+ "div",
317
+ null,
318
+ vue.toDisplayString($t("ifNoIconUseTheDefaultIcon")),
319
+ 1
320
+ /* TEXT */
321
+ )
322
+ ])
323
+ ])
344
324
  ]),
345
325
  _: 1
346
326
  /* STABLE */
347
- }, 16, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "on-submit", "on-cancel", "on-close", "onOnMinimized", "onOnDialogMousedown"])
348
- ],
349
- 64
350
- /* STABLE_FRAGMENT */
351
- );
327
+ }, 8, ["model", "columns"]),
328
+ vue.createVNode(
329
+ vue.unref(index$5.HyCutter),
330
+ {
331
+ ref_key: "HyCutterRef",
332
+ ref: HyCutterRef,
333
+ "show-upload": false
334
+ },
335
+ null,
336
+ 512
337
+ /* NEED_PATCH */
338
+ )
339
+ ]),
340
+ _: 1
341
+ /* STABLE */
342
+ }, 16, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "on-submit", "on-cancel", "on-close", "onOnMinimized", "onOnDialogMousedown"]);
352
343
  };
353
344
  }
354
345
  });
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './departmentTypeOperation_tiantong2.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -224,6 +224,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
224
224
  minimizedShow
225
225
  });
226
226
  return (_ctx, _cache) => {
227
+ const _component_Test = vue.resolveComponent("Test");
227
228
  const _component_el_image = vue.resolveComponent("el-image");
228
229
  const _component_el_upload = vue.resolveComponent("el-upload");
229
230
  return vue.openBlock(), vue.createElementBlock(
@@ -231,6 +232,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
231
232
  null,
232
233
  [
233
234
  vue.createTextVNode(" 222222 "),
235
+ vue.createVNode(
236
+ _component_Test,
237
+ { ref: "TestRef" },
238
+ null,
239
+ 512
240
+ /* NEED_PATCH */
241
+ ),
234
242
  vue.createVNode(vue.unref(index$2.HyDialog), vue.mergeProps({
235
243
  ref_key: "HyDialogRef",
236
244
  ref: HyDialogRef,
@@ -3,11 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('./departmentTypeOperation.vue.js');
6
+ require('./departmentTypeOperation_tiantong.vue.js');
6
7
  require('../../utils/index.js');
7
8
  var handler = require('../../utils/handler.js');
8
9
  var departmentTypeOperation_vue_vue_type_script_setup_true_lang = require('./departmentTypeOperation2.vue.js');
10
+ var departmentTypeOperation_tiantong_vue_vue_type_script_setup_true_lang = require('./departmentTypeOperation_tiantong2.vue.js');
9
11
 
10
12
  const HyDepartmentTypeOperation = handler.withInstall(departmentTypeOperation_vue_vue_type_script_setup_true_lang.default);
13
+ const HyDepartmentTypeOperationTiantong = handler.withInstall(departmentTypeOperation_tiantong_vue_vue_type_script_setup_true_lang.default);
11
14
 
12
15
  exports.HyDepartmentTypeOperation = HyDepartmentTypeOperation;
16
+ exports.HyDepartmentTypeOperationTiantong = HyDepartmentTypeOperationTiantong;
13
17
  exports.default = HyDepartmentTypeOperation;
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './deviceTree.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './addElectronicFenceDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
+ var useUiComponent = require('../../../../utils/useUiComponent.js');
6
7
  var elementPlus = require('element-plus');
7
8
  var index = require('../../../../api/index.js');
8
9
  var mapRail = require('../../../../api/mapRail.js');
9
10
  require('../../../../hooks/index.js');
10
11
  require('../../../../utils/index.js');
11
12
  require('../../../../components/index.js');
12
- require('../../../index.js');
13
13
  var useCurrentBus = require('../../../../hooks/useCurrentBus.js');
14
14
  var useLocale = require('../../../../hooks/useLocale.js');
15
15
  var useAppForm = require('../../../../components/hyForm/js/useAppForm.js');
@@ -19,10 +19,9 @@ var useDialog = require('../../../../hooks/useDialog.js');
19
19
  var index$1 = require('../../../../components/hyDialog/index.js');
20
20
  var index$2 = require('../../../../components/hyForm/index.js');
21
21
  var index$3 = require('../../../../components/hyInput/index.js');
22
- var index$4 = require('../../../hyMapAearchPlace/index.js');
23
- var index$5 = require('../../../../components/hyMap/index.js');
24
- var index$6 = require('../../../../components/hyIcon/index.js');
25
- var index$7 = require('../../../../components/hyButton/index.js');
22
+ var index$4 = require('../../../../components/hyMap/index.js');
23
+ var index$5 = require('../../../../components/hyIcon/index.js');
24
+ var index$6 = require('../../../../components/hyButton/index.js');
26
25
 
27
26
  const __default__ = vue.defineComponent({
28
27
  name: "HyAddElectronicFenceDialog"
@@ -39,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
39
38
  }
40
39
  },
41
40
  setup(__props, { expose: __expose }) {
41
+ const HyMapAearchPlace = useUiComponent.useUiComponent("HyMapAearchPlace");
42
42
  const props = __props;
43
43
  const { currentBus } = useCurrentBus.useCurrentBus();
44
44
  const useAddElectronicFenceDialog = (hy) => {
@@ -407,7 +407,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
407
407
  }, {
408
408
  "operate-left-box": vue.withCtx(() => [
409
409
  vue.createElementVNode("div", { class: "flex items-center mt-2 text-xs" }, [
410
- vue.createVNode(vue.unref(index$6.HyIcon), {
410
+ vue.createVNode(vue.unref(index$5.HyIcon), {
411
411
  "svg-name": "dispatch-share1-prompt",
412
412
  "class-name": "!w-3 !h-3 text-auxiliary mr-1"
413
413
  }),
@@ -436,7 +436,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
436
436
  class: "relative z-[600]"
437
437
  }, {
438
438
  search: vue.withCtx(() => [
439
- vue.createVNode(vue.unref(index$4.HyMapAearchPlace), {
439
+ vue.createVNode(vue.unref(HyMapAearchPlace), {
440
440
  map: vue.unref(map),
441
441
  "hy-map": vue.unref(hyMap)
442
442
  }, null, 8, ["map", "hy-map"])
@@ -455,14 +455,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
455
455
  }, 8, ["model", "columns", "rules"]),
456
456
  vue.createElementVNode("div", { class: "w-full h-0 flex-1 relative border border-border rounded" }, [
457
457
  vue.createElementVNode("div", { class: "w-full h-full" }, [
458
- vue.createVNode(vue.unref(index$5.HyMap), {
458
+ vue.createVNode(vue.unref(index$4.HyMap), {
459
459
  class: "!rounded-none",
460
460
  onComplete: vue.unref(onMapComplete)
461
461
  }, null, 8, ["onComplete"])
462
462
  ]),
463
463
  vue.createElementVNode("div", { class: "w-full h-[60px] flex items-center justify-between border-b border-border pl-5 pr-4 box-border absolute left-0 top-0 z-[500] bg-[rgba(var(--hy-background-2),0.9)]" }, [
464
464
  vue.createElementVNode("div", { class: "flex items-center gap-2 text-auxiliary" }, [
465
- vue.createVNode(vue.unref(index$6.HyIcon), {
465
+ vue.createVNode(vue.unref(index$5.HyIcon), {
466
466
  "svg-name": "dispatch-share1-prompt",
467
467
  "class-name": "!w-3 !h-3 text-auxiliary"
468
468
  }),
@@ -482,7 +482,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
482
482
  /* STABLE */
483
483
  }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
484
484
  ]),
485
- vue.createVNode(vue.unref(index$7.HyButton), {
485
+ vue.createVNode(vue.unref(index$6.HyButton), {
486
486
  type: "primary",
487
487
  onClick: vue.unref(startDraw)
488
488
  }, {
@@ -492,7 +492,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
492
492
  _: 1
493
493
  /* STABLE */
494
494
  }, 8, ["onClick"]),
495
- vue.createVNode(vue.unref(index$7.HyButton), {
495
+ vue.createVNode(vue.unref(index$6.HyButton), {
496
496
  type: "danger",
497
497
  onClick: vue.unref(clearDraw)
498
498
  }, {
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './batchSetElectronicFenceUserDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './electronicFenceAssociatedUsersDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './electronicFenceAssociatedUsersItem.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './electronicFence.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './mapAearchPlace.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './mapAearchPlaceItem.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './orgGroupTree.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './planGroupDeviceTree.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './gatheringPeople.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './missionInRule.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './missionOutRule.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './ruleAssignDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './ruleFenceDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }