hy-dispatch-ui-v3 0.2.77 → 0.2.78

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 (131) hide show
  1. package/dist/tailwind.css +91 -8
  2. package/es/api/common.mjs +28 -0
  3. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +5 -8
  4. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +108 -125
  5. package/es/bussiness/hyDepartmentTypeOperation/locale/en_US.mjs +7 -7
  6. package/es/bussiness/hyDepartmentTypeOperation/locale/zh_CN.mjs +6 -6
  7. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.mjs +5 -0
  8. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.mjs +6 -0
  9. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +182 -0
  10. package/es/bussiness/hyDisplayQueryAddress/index.mjs +8 -0
  11. package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +7 -0
  12. package/es/bussiness/hyDisplayQueryAddress/locale/index.mjs +2 -0
  13. package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +7 -0
  14. package/es/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
  15. package/es/bussiness/hyFilePlayback/cpns/audioDetail.vue.mjs +5 -0
  16. package/es/bussiness/hyFilePlayback/cpns/audioDetail2.install.mjs +6 -0
  17. package/es/bussiness/hyFilePlayback/cpns/audioDetail2.vue.mjs +247 -0
  18. package/es/bussiness/hyFilePlayback/cpns/picDetail.vue.mjs +5 -0
  19. package/es/bussiness/hyFilePlayback/cpns/picDetail2.install.mjs +6 -0
  20. package/es/bussiness/hyFilePlayback/cpns/picDetail2.vue.mjs +206 -0
  21. package/es/bussiness/hyFilePlayback/cpns/videoDetail.vue.mjs +5 -0
  22. package/es/bussiness/hyFilePlayback/cpns/videoDetail2.install.mjs +6 -0
  23. package/es/bussiness/hyFilePlayback/cpns/videoDetail2.vue.mjs +238 -0
  24. package/es/bussiness/hyFilePlayback/filePlayback.vue.mjs +5 -0
  25. package/es/bussiness/hyFilePlayback/filePlayback2.install.mjs +6 -0
  26. package/es/bussiness/hyFilePlayback/filePlayback2.vue.mjs +166 -0
  27. package/es/bussiness/hyFilePlayback/index.mjs +8 -0
  28. package/es/bussiness/hyFilePlayback/locale/en_US.mjs +22 -0
  29. package/es/bussiness/hyFilePlayback/locale/index.mjs +2 -0
  30. package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +22 -0
  31. package/es/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
  32. package/es/bussiness/index.mjs +2 -0
  33. package/es/components/hyCutter/cutter.vue.mjs +2 -2
  34. package/es/components/hyForm/cpns/arrayItem.vue.mjs +2 -2
  35. package/es/components/hyForm/cpns/formItem.vue.mjs +3 -2
  36. package/es/components/hyForm/js/index.mjs +2 -8
  37. package/es/components/hySearch/cpns/searchItem.vue.mjs +57 -67
  38. package/es/components/hySearch/js/index.mjs +1 -35
  39. package/es/components/hySearch/js/useAppSearch.mjs +3 -3
  40. package/es/components/hySearch/style/search.scss +1 -0
  41. package/es/components/hyTable/cpns/virtualTable.vue.mjs +5 -5
  42. package/es/components/hyTable/js/index.mjs +44 -4
  43. package/es/components/hyTable/js/search.mjs +0 -6
  44. package/es/components/hyTable/table.vue.mjs +47 -30
  45. package/es/components/hyTooltip/tooltip.vue.mjs +14 -6
  46. package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -1
  47. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -3
  48. package/es/components-map.mjs +2 -0
  49. package/es/hooks/useBaseMainStore.mjs +16 -5
  50. package/es/hooks/useCurrentBus.mjs +5 -4
  51. package/es/hooks/useDialog.mjs +2 -2
  52. package/es/hooks/useGlobalConfig.mjs +19 -18
  53. package/es/index.mjs +5 -2
  54. package/es/locale/en_US.mjs +1 -0
  55. package/es/locale/zh_CN.mjs +1 -0
  56. package/es/style/index.scss +2 -2
  57. package/es/utils/file.mjs +1 -2
  58. package/es/utils/form.mjs +59 -5
  59. package/es/utils/index.mjs +3 -2
  60. package/es/utils/map/hook/leafletjs.mjs +4 -0
  61. package/es/utils/map/index.mjs +4 -0
  62. package/es/utils/timeUtils.mjs +95 -0
  63. package/es/version.mjs +1 -1
  64. package/lib/api/common.js +33 -0
  65. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +3 -6
  66. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +107 -124
  67. package/lib/bussiness/hyDepartmentTypeOperation/locale/en_US.js +7 -7
  68. package/lib/bussiness/hyDepartmentTypeOperation/locale/zh_CN.js +6 -6
  69. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.install.js +6 -0
  70. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.js +9 -0
  71. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.js +6 -0
  72. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +186 -0
  73. package/lib/bussiness/hyDisplayQueryAddress/index.js +13 -0
  74. package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +11 -0
  75. package/lib/bussiness/hyDisplayQueryAddress/locale/index.js +9 -0
  76. package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +11 -0
  77. package/lib/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
  78. package/lib/bussiness/hyFilePlayback/cpns/audioDetail.install.js +6 -0
  79. package/lib/bussiness/hyFilePlayback/cpns/audioDetail.vue.js +9 -0
  80. package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.install.js +6 -0
  81. package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.vue.js +251 -0
  82. package/lib/bussiness/hyFilePlayback/cpns/picDetail.install.js +6 -0
  83. package/lib/bussiness/hyFilePlayback/cpns/picDetail.vue.js +9 -0
  84. package/lib/bussiness/hyFilePlayback/cpns/picDetail2.install.js +6 -0
  85. package/lib/bussiness/hyFilePlayback/cpns/picDetail2.vue.js +210 -0
  86. package/lib/bussiness/hyFilePlayback/cpns/videoDetail.install.js +6 -0
  87. package/lib/bussiness/hyFilePlayback/cpns/videoDetail.vue.js +9 -0
  88. package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.install.js +6 -0
  89. package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.vue.js +242 -0
  90. package/lib/bussiness/hyFilePlayback/filePlayback.install.js +6 -0
  91. package/lib/bussiness/hyFilePlayback/filePlayback.vue.js +9 -0
  92. package/lib/bussiness/hyFilePlayback/filePlayback2.install.js +6 -0
  93. package/lib/bussiness/hyFilePlayback/filePlayback2.vue.js +170 -0
  94. package/lib/bussiness/hyFilePlayback/index.js +13 -0
  95. package/lib/bussiness/hyFilePlayback/locale/en_US.js +26 -0
  96. package/lib/bussiness/hyFilePlayback/locale/index.js +9 -0
  97. package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +26 -0
  98. package/lib/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
  99. package/lib/bussiness/index.js +18 -14
  100. package/lib/components/hyCutter/cutter.vue.js +2 -2
  101. package/lib/components/hyForm/cpns/arrayItem.vue.js +2 -2
  102. package/lib/components/hyForm/cpns/formItem.vue.js +3 -2
  103. package/lib/components/hyForm/js/index.js +0 -7
  104. package/lib/components/hySearch/cpns/searchItem.vue.js +64 -74
  105. package/lib/components/hySearch/js/index.js +0 -36
  106. package/lib/components/hySearch/js/useAppSearch.js +3 -3
  107. package/lib/components/hySearch/style/search.scss +1 -0
  108. package/lib/components/hyTable/cpns/virtualTable.vue.js +4 -4
  109. package/lib/components/hyTable/js/index.js +45 -3
  110. package/lib/components/hyTable/js/search.js +0 -6
  111. package/lib/components/hyTable/table.vue.js +46 -29
  112. package/lib/components/hyTooltip/tooltip.vue.js +13 -5
  113. package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -1
  114. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -3
  115. package/lib/components-map.js +2 -0
  116. package/lib/hooks/useBaseMainStore.js +15 -4
  117. package/lib/hooks/useCurrentBus.js +4 -3
  118. package/lib/hooks/useDialog.js +2 -2
  119. package/lib/hooks/useGlobalConfig.js +18 -17
  120. package/lib/index.js +70 -55
  121. package/lib/locale/en_US.js +1 -0
  122. package/lib/locale/zh_CN.js +1 -0
  123. package/lib/style/index.scss +2 -2
  124. package/lib/utils/file.js +1 -2
  125. package/lib/utils/form.js +61 -4
  126. package/lib/utils/index.js +12 -1
  127. package/lib/utils/map/hook/leafletjs.js +4 -0
  128. package/lib/utils/map/index.js +4 -0
  129. package/lib/utils/timeUtils.js +105 -0
  130. package/lib/version.js +1 -1
  131. package/package.json +14 -1
@@ -326,6 +326,10 @@ class InitMap extends EventEmitter {
326
326
  layerGroup(map, markers = []) {
327
327
  return this.map.layerGroup(map, markers);
328
328
  }
329
+ // 获取esri对象(仅leftlet地图类型)
330
+ esriFn() {
331
+ return this.map.esriFn ? this.map.esriFn() : null;
332
+ }
329
333
  }
330
334
 
331
335
  export { InitMap, setMapServer, setPoiServer };
@@ -0,0 +1,95 @@
1
+ function formatNumber(n) {
2
+ n = n.toString();
3
+ return n[1] ? n : "0" + n;
4
+ }
5
+ function getToday(cutOff = "-") {
6
+ const dateObj = /* @__PURE__ */ new Date();
7
+ return formatDay(dateObj).join(cutOff);
8
+ }
9
+ function getNextDays({ today, daysCount, cutOff = "-" }) {
10
+ if (!today) {
11
+ today = getToday("/");
12
+ }
13
+ const dateObj = new Date(today);
14
+ const arr = [formatDay(dateObj).join(cutOff)];
15
+ for (let i = 0; i < daysCount; i++) {
16
+ const days = dateObj.setDate(dateObj.getDate() + 1);
17
+ arr.push(formatDay(new Date(days)).join(cutOff));
18
+ }
19
+ return arr;
20
+ }
21
+ function getBeforeDays({ today, daysCount, cutOff = "-" }) {
22
+ if (!today) {
23
+ today = getToday("/");
24
+ }
25
+ const dateObj = new Date(today);
26
+ const arr = [formatDay(dateObj).join(cutOff)];
27
+ for (let i = 0; i < daysCount; i++) {
28
+ const days = dateObj.setDate(dateObj.getDate() - 1);
29
+ arr.push(formatDay(new Date(days)).join(cutOff));
30
+ }
31
+ return arr;
32
+ }
33
+ function formatDay(dateObj) {
34
+ const year = dateObj.getFullYear();
35
+ const month = formatNumber(dateObj.getMonth() + 1);
36
+ const date = formatNumber(dateObj.getDate());
37
+ return [year, month, date];
38
+ }
39
+ function formatTime(dateObj) {
40
+ const h = dateObj.getHours();
41
+ let m = dateObj.getMinutes();
42
+ let s = dateObj.getSeconds();
43
+ if (m < 10) {
44
+ m = "0" + m;
45
+ }
46
+ if (s < 10) {
47
+ s = "0" + s;
48
+ }
49
+ return [h, m, s];
50
+ }
51
+ function getCurDtm(cutOff = "-") {
52
+ return getToday(cutOff) + " " + formatTime(/* @__PURE__ */ new Date()).join(":");
53
+ }
54
+ function formatSeconds(value) {
55
+ let theTime = parseInt(value);
56
+ let middle = 0;
57
+ let hour = 0;
58
+ if (theTime > 60) {
59
+ middle = parseInt(theTime / 60);
60
+ theTime = parseInt(theTime % 60);
61
+ if (middle > 60) {
62
+ hour = parseInt(middle / 60);
63
+ middle = parseInt(middle % 60);
64
+ }
65
+ }
66
+ let result = "" + parseInt(theTime);
67
+ if (theTime < 10) {
68
+ result = `00:0${parseInt(theTime)}`;
69
+ } else {
70
+ result = `00:${parseInt(theTime)}`;
71
+ }
72
+ if (middle > 0) {
73
+ result = `${parseInt(theTime)}`;
74
+ if (middle < 10) {
75
+ result = "0" + parseInt(middle) + ":" + result;
76
+ } else {
77
+ result = "" + parseInt(middle) + ":" + result;
78
+ }
79
+ }
80
+ if (hour > 0) {
81
+ result = "" + parseInt(hour) + ":" + result;
82
+ }
83
+ return result;
84
+ }
85
+ function formatHoursToHM(hours) {
86
+ hours = parseFloat(hours);
87
+ if (hours == null || isNaN(hours)) {
88
+ return { hour: 0, minute: 0 };
89
+ }
90
+ const hour = Math.floor(hours);
91
+ const minute = Math.floor((hours - hour) * 60);
92
+ return { hour, minute };
93
+ }
94
+
95
+ export { formatDay, formatHoursToHM, formatNumber, formatSeconds, formatTime, getBeforeDays, getCurDtm, getNextDays, getToday };
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.76";
1
+ const version = "0.2.77";
2
2
 
3
3
  export { version };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ require('../hooks/index.js');
4
+ var vue = require('vue');
5
+ var useApi = require('../hooks/useApi.js');
6
+
7
+ function reverseGeocodingApi(params) {
8
+ const { api } = useApi.useApi();
9
+ const http = vue.unref(api);
10
+ return http.post("/common/reverseGeocoding", params, {
11
+ isJSON: true
12
+ });
13
+ }
14
+ function commonReverseGeocodingApi(params) {
15
+ const { api } = useApi.useApi();
16
+ const http = vue.unref(api);
17
+ return http.post("/common/reverseGeocoding", params, { isJSON: true });
18
+ }
19
+ function commonWarningTypeApi(params) {
20
+ const { api } = useApi.useApi();
21
+ const http = vue.unref(api);
22
+ return http.post("/common/warningType", params);
23
+ }
24
+ function commonDeviceFaultCodeApi(params) {
25
+ const { api } = useApi.useApi();
26
+ const http = vue.unref(api);
27
+ return http.post("/common/deviceFaultCode", params);
28
+ }
29
+
30
+ exports.commonDeviceFaultCodeApi = commonDeviceFaultCodeApi;
31
+ exports.commonReverseGeocodingApi = commonReverseGeocodingApi;
32
+ exports.commonWarningTypeApi = commonWarningTypeApi;
33
+ exports.reverseGeocodingApi = reverseGeocodingApi;
@@ -64,7 +64,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
64
64
  function beforeAvatarUpload2(file) {
65
65
  const width = 44;
66
66
  const height = 44;
67
- const _this = this;
68
67
  const isLt2M = file.size / 1024 / 1024 < 2;
69
68
  if (!isLt2M) {
70
69
  elementPlus.ElMessage.error($t("imageUploadFailedLogoSizeWithin2M"));
@@ -123,7 +122,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
123
122
  elementPlus.ElMessage.success($t("operationSuccessful"));
124
123
  vue.nextTick(() => {
125
124
  emit("on-submit", hy.formModel.value.id ? null : 1);
126
- currentBus.emit("departmentTypeOperation", {
125
+ currentBus.value.emit("departmentTypeOperation", {
127
126
  method: "onSubmit",
128
127
  param: hy.formModel.value.id ? null : 1
129
128
  });
@@ -224,8 +223,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
224
223
  minimizedShow
225
224
  });
226
225
  return (_ctx, _cache) => {
227
- const _component_el_image = vue.resolveComponent("el-image");
228
- const _component_el_upload = vue.resolveComponent("el-upload");
229
226
  return vue.openBlock(), vue.createBlock(vue.unref(index$2.HyDialog), vue.mergeProps({
230
227
  ref_key: "HyDialogRef",
231
228
  ref: HyDialogRef,
@@ -254,7 +251,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
254
251
  }, {
255
252
  companyNameSlot: vue.withCtx(() => [
256
253
  vue.createElementVNode("div", { class: "flex flex-row departmentTypeOperation" }, [
257
- vue.createVNode(_component_el_upload, {
254
+ vue.createVNode(vue.unref(elementPlus.ElUpload), {
258
255
  class: "w-[80px] flex items-center justify-center upload_box",
259
256
  accept: ".png,.jpg,.gif",
260
257
  "before-upload": vue.unref(beforeAvatarUpload),
@@ -275,7 +272,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
275
272
  [vue.vShow, vue.unref(formModel).icon]
276
273
  ]),
277
274
  vue.createElementVNode("div", { class: "click-box emptyHead" }, [
278
- vue.unref(formModel).icon ? (vue.openBlock(), vue.createBlock(_component_el_image, {
275
+ vue.unref(formModel).icon ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElImage), {
279
276
  key: 0,
280
277
  fit: "contain",
281
278
  class: "w-[60px] h-[60px]",
@@ -123,7 +123,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
123
123
  elementPlus.ElMessage.success($t("operationSuccessful"));
124
124
  vue.nextTick(() => {
125
125
  emit("on-submit", hy.formModel.value.id ? null : 1);
126
- currentBus.emit("departmentTypeOperation", {
126
+ currentBus.value.emit("departmentTypeOperation", {
127
127
  method: "onSubmit",
128
128
  param: hy.formModel.value.id ? null : 1
129
129
  });
@@ -224,139 +224,122 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
224
224
  minimizedShow
225
225
  });
226
226
  return (_ctx, _cache) => {
227
- const _component_Test = vue.resolveComponent("Test");
228
227
  const _component_el_image = vue.resolveComponent("el-image");
229
228
  const _component_el_upload = vue.resolveComponent("el-upload");
230
- return vue.openBlock(), vue.createElementBlock(
231
- vue.Fragment,
232
- null,
233
- [
234
- vue.createTextVNode(" 222222 "),
235
- vue.createVNode(
236
- _component_Test,
237
- { ref: "TestRef" },
238
- null,
239
- 512
240
- /* NEED_PATCH */
241
- ),
242
- vue.createVNode(vue.unref(index$2.HyDialog), vue.mergeProps({
243
- ref_key: "HyDialogRef",
244
- ref: HyDialogRef,
245
- modelValue: vue.unref(dialogVisible),
246
- "onUpdate:modelValue": ($event) => vue.isRef(dialogVisible) ? dialogVisible.value = $event : null,
247
- loading: vue.unref(loading),
248
- "onUpdate:loading": ($event) => vue.isRef(loading) ? loading.value = $event : null,
249
- "if-shrink": true,
250
- width: "310px"
251
- }, _ctx.$attrs, {
252
- title: vue.unref(formModel).id ? $t("editDepartmentType") : $t("addDepartmentType"),
253
- "on-submit": vue.unref(onSubmit),
254
- "on-cancel": vue.unref(onClose),
255
- "on-close": vue.unref(onClose),
256
- "operate-class": "w-full justify-center",
257
- onOnMinimized: vue.unref(onMinimized),
258
- onOnDialogMousedown: ($event) => vue.unref(setDragLevelIndex)("HyDialogRef")
259
- }), {
260
- default: vue.withCtx(() => [
261
- vue.createVNode(vue.unref(index$3.HyForm), {
262
- ref_key: "formRef",
263
- ref: formRef,
264
- "column-num": 1,
265
- model: vue.unref(formModel),
266
- columns: vue.unref(formColumns)
267
- }, {
268
- companyNameSlot: vue.withCtx(() => [
269
- vue.createElementVNode("div", { class: "flex flex-row departmentTypeOperation" }, [
270
- vue.createVNode(_component_el_upload, {
271
- class: "w-[80px] flex items-center justify-center upload_box",
272
- accept: ".png,.jpg,.gif",
273
- "before-upload": vue.unref(beforeAvatarUpload),
274
- "http-request": vue.unref(handleHttpRequestImg),
275
- action: "",
276
- "show-file-list": false
277
- }, {
278
- default: vue.withCtx(() => [
279
- vue.withDirectives(vue.createElementVNode("div", {
280
- class: "delete_box flex items-center justify-center",
281
- onClick: vue.withModifiers(($event) => vue.unref(setHeadImg)(null), ["stop"])
282
- }, [
283
- vue.createVNode(vue.unref(index$4.HyIcon), {
284
- "svg-name": "ops-button-delete",
285
- class: "svg_box"
286
- })
287
- ], 8, ["onClick"]), [
288
- [vue.vShow, vue.unref(formModel).icon]
289
- ]),
290
- vue.createElementVNode("div", { class: "click-box emptyHead" }, [
291
- vue.unref(formModel).icon ? (vue.openBlock(), vue.createBlock(_component_el_image, {
292
- key: 0,
293
- fit: "contain",
294
- class: "w-[60px] h-[60px]",
295
- src: vue.unref(formModel).icon
296
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyIcon), {
297
- key: 1,
298
- "svg-name": "ops-file-empty-head",
299
- class: "text-auxiliary !w-[60px] !h-[60px]"
300
- })),
301
- vue.createElementVNode(
302
- "span",
303
- { class: "uploadTips text-center" },
304
- vue.toDisplayString($t("upload")),
305
- 1
306
- /* TEXT */
307
- )
308
- ])
309
- ]),
310
- _: 1
311
- /* STABLE */
312
- }, 8, ["before-upload", "http-request"]),
313
- vue.createElementVNode("div", { class: "flex-grow leading-[20px] text-auxiliary text-xs text-center" }, [
314
- vue.createElementVNode(
315
- "div",
316
- null,
317
- vue.toDisplayString($t("pleaseUploadDepartmentTypeIcon")),
318
- 1
319
- /* TEXT */
320
- ),
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
+ })),
321
288
  vue.createElementVNode(
322
- "div",
323
- null,
324
- vue.toDisplayString($t("iconSize44px")) + "*44px",
325
- 1
326
- /* TEXT */
327
- ),
328
- vue.createElementVNode(
329
- "div",
330
- null,
331
- vue.toDisplayString($t("ifNoIconUseTheDefaultIcon")),
289
+ "span",
290
+ { class: "uploadTips text-center" },
291
+ vue.toDisplayString($t("upload")),
332
292
  1
333
293
  /* TEXT */
334
294
  )
335
295
  ])
336
- ])
337
- ]),
338
- _: 1
339
- /* STABLE */
340
- }, 8, ["model", "columns"]),
341
- vue.createVNode(
342
- vue.unref(index$5.HyCutter),
343
- {
344
- ref_key: "HyCutterRef",
345
- ref: HyCutterRef,
346
- "show-upload": false
347
- },
348
- null,
349
- 512
350
- /* NEED_PATCH */
351
- )
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
+ ])
352
324
  ]),
353
325
  _: 1
354
326
  /* STABLE */
355
- }, 16, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "on-submit", "on-cancel", "on-close", "onOnMinimized", "onOnDialogMousedown"])
356
- ],
357
- 64
358
- /* STABLE_FRAGMENT */
359
- );
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"]);
360
343
  };
361
344
  }
362
345
  });
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var en_US = {
6
6
  departmentIcon: "Department Icon",
7
- upload: "Upload",
8
- pleaseUploadDepartmentTypeIcon: "Please upload department type icon",
9
- iconSize44px: "Icon size 44px",
10
- ifNoIconUseTheDefaultIcon: "If no icon, use the default icon",
11
7
  departmentTypeName: "Department Type Name",
12
- pleaseEnterTheDepartmentTypeName: "Please enter the department type name",
13
- imageUploadFailedLogoSizeWithin2M: "Image upload failed, logo size within 2M.",
8
+ pleaseEnterTheDepartmentTypeName: "Please Enter The Department Type Name",
9
+ imageUploadFailedLogoSizeWithin2M: "Image Upload Failed, Logo Size Within 2M",
10
+ operationSuccessful: "Operation Successful",
14
11
  editDepartmentType: "Edit Department Type",
15
12
  addDepartmentType: "Add Department Type",
16
- operationSuccessful: "Operation Successful"
13
+ upload: "Upload",
14
+ pleaseUploadDepartmentTypeIcon: "Please Upload Department Type Icon",
15
+ iconSize44px: "Icon Size 44px",
16
+ ifNoIconUseTheDefaultIcon: "If No Icon, Use The Default Icon"
17
17
  };
18
18
 
19
19
  exports.default = en_US;
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var zh_CN = {
6
6
  departmentIcon: "\u90E8\u95E8\u56FE\u6807",
7
- upload: "\u4E0A \u4F20",
8
- pleaseUploadDepartmentTypeIcon: "\u8BF7\u4E0A\u4F20\u90E8\u95E8\u7C7B\u578B\u56FE\u6807",
9
- iconSize44px: "\u56FE\u6807\u5C3A\u5BF844px",
10
- ifNoIconUseTheDefaultIcon: "\u82E5\u65E0\u56FE\u6807\u5219\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807",
11
7
  departmentTypeName: "\u90E8\u95E8\u7C7B\u578B\u540D\u79F0",
12
8
  pleaseEnterTheDepartmentTypeName: "\u8BF7\u8F93\u5165\u90E8\u95E8\u7C7B\u578B\u540D\u79F0",
13
- imageUploadFailedLogoSizeWithin2M: "\u56FE\u7247\u4E0A\u4F20\u5931\u8D25\uFF0Clogo\u5927\u5C0F2M\u4EE5\u5185\u3002",
9
+ imageUploadFailedLogoSizeWithin2M: "\u56FE\u7247\u4E0A\u4F20\u5931\u8D25,logo\u5927\u5C0F2M\u4EE5\u5185\u3002",
10
+ operationSuccessful: "\u64CD\u4F5C\u6210\u529F",
14
11
  editDepartmentType: "\u7F16\u8F91\u90E8\u95E8\u7C7B\u578B",
15
12
  addDepartmentType: "\u6DFB\u52A0\u90E8\u95E8\u7C7B\u578B",
16
- operationSuccessful: "\u64CD\u4F5C\u6210\u529F"
13
+ upload: "\u4E0A \u4F20",
14
+ pleaseUploadDepartmentTypeIcon: "\u8BF7\u4E0A\u4F20\u90E8\u95E8\u7C7B\u578B\u56FE\u6807",
15
+ iconSize44px: "\u56FE\u6807\u5C3A\u5BF844px",
16
+ ifNoIconUseTheDefaultIcon: "\u82E5\u65E0\u56FE\u6807\u5219\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807"
17
17
  };
18
18
 
19
19
  exports.default = zh_CN;
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './displayQueryAddress.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var displayQueryAddress_vue_vue_type_script_setup_true_lang = require('./displayQueryAddress2.vue.js');
6
+
7
+
8
+
9
+ exports.default = displayQueryAddress_vue_vue_type_script_setup_true_lang.default;
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './displayQueryAddress2.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }