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.
- package/dist/tailwind.css +91 -8
- package/es/api/common.mjs +28 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +5 -8
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +108 -125
- package/es/bussiness/hyDepartmentTypeOperation/locale/en_US.mjs +7 -7
- package/es/bussiness/hyDepartmentTypeOperation/locale/zh_CN.mjs +6 -6
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.mjs +5 -0
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.mjs +6 -0
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +182 -0
- package/es/bussiness/hyDisplayQueryAddress/index.mjs +8 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +7 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/index.mjs +2 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +7 -0
- package/es/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
- package/es/bussiness/hyFilePlayback/cpns/audioDetail.vue.mjs +5 -0
- package/es/bussiness/hyFilePlayback/cpns/audioDetail2.install.mjs +6 -0
- package/es/bussiness/hyFilePlayback/cpns/audioDetail2.vue.mjs +247 -0
- package/es/bussiness/hyFilePlayback/cpns/picDetail.vue.mjs +5 -0
- package/es/bussiness/hyFilePlayback/cpns/picDetail2.install.mjs +6 -0
- package/es/bussiness/hyFilePlayback/cpns/picDetail2.vue.mjs +206 -0
- package/es/bussiness/hyFilePlayback/cpns/videoDetail.vue.mjs +5 -0
- package/es/bussiness/hyFilePlayback/cpns/videoDetail2.install.mjs +6 -0
- package/es/bussiness/hyFilePlayback/cpns/videoDetail2.vue.mjs +238 -0
- package/es/bussiness/hyFilePlayback/filePlayback.vue.mjs +5 -0
- package/es/bussiness/hyFilePlayback/filePlayback2.install.mjs +6 -0
- package/es/bussiness/hyFilePlayback/filePlayback2.vue.mjs +166 -0
- package/es/bussiness/hyFilePlayback/index.mjs +8 -0
- package/es/bussiness/hyFilePlayback/locale/en_US.mjs +22 -0
- package/es/bussiness/hyFilePlayback/locale/index.mjs +2 -0
- package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +22 -0
- package/es/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
- package/es/bussiness/index.mjs +2 -0
- package/es/components/hyCutter/cutter.vue.mjs +2 -2
- package/es/components/hyForm/cpns/arrayItem.vue.mjs +2 -2
- package/es/components/hyForm/cpns/formItem.vue.mjs +3 -2
- package/es/components/hyForm/js/index.mjs +2 -8
- package/es/components/hySearch/cpns/searchItem.vue.mjs +57 -67
- package/es/components/hySearch/js/index.mjs +1 -35
- package/es/components/hySearch/js/useAppSearch.mjs +3 -3
- package/es/components/hySearch/style/search.scss +1 -0
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +5 -5
- package/es/components/hyTable/js/index.mjs +44 -4
- package/es/components/hyTable/js/search.mjs +0 -6
- package/es/components/hyTable/table.vue.mjs +47 -30
- package/es/components/hyTooltip/tooltip.vue.mjs +14 -6
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -1
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -3
- package/es/components-map.mjs +2 -0
- package/es/hooks/useBaseMainStore.mjs +16 -5
- package/es/hooks/useCurrentBus.mjs +5 -4
- package/es/hooks/useDialog.mjs +2 -2
- package/es/hooks/useGlobalConfig.mjs +19 -18
- package/es/index.mjs +5 -2
- package/es/locale/en_US.mjs +1 -0
- package/es/locale/zh_CN.mjs +1 -0
- package/es/style/index.scss +2 -2
- package/es/utils/file.mjs +1 -2
- package/es/utils/form.mjs +59 -5
- package/es/utils/index.mjs +3 -2
- package/es/utils/map/hook/leafletjs.mjs +4 -0
- package/es/utils/map/index.mjs +4 -0
- package/es/utils/timeUtils.mjs +95 -0
- package/es/version.mjs +1 -1
- package/lib/api/common.js +33 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +3 -6
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +107 -124
- package/lib/bussiness/hyDepartmentTypeOperation/locale/en_US.js +7 -7
- package/lib/bussiness/hyDepartmentTypeOperation/locale/zh_CN.js +6 -6
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.install.js +6 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.js +9 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.js +6 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +186 -0
- package/lib/bussiness/hyDisplayQueryAddress/index.js +13 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +11 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/index.js +9 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +11 -0
- package/lib/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
- package/lib/bussiness/hyFilePlayback/cpns/audioDetail.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/audioDetail.vue.js +9 -0
- package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.vue.js +251 -0
- package/lib/bussiness/hyFilePlayback/cpns/picDetail.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/picDetail.vue.js +9 -0
- package/lib/bussiness/hyFilePlayback/cpns/picDetail2.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/picDetail2.vue.js +210 -0
- package/lib/bussiness/hyFilePlayback/cpns/videoDetail.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/videoDetail.vue.js +9 -0
- package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.vue.js +242 -0
- package/lib/bussiness/hyFilePlayback/filePlayback.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/filePlayback.vue.js +9 -0
- package/lib/bussiness/hyFilePlayback/filePlayback2.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/filePlayback2.vue.js +170 -0
- package/lib/bussiness/hyFilePlayback/index.js +13 -0
- package/lib/bussiness/hyFilePlayback/locale/en_US.js +26 -0
- package/lib/bussiness/hyFilePlayback/locale/index.js +9 -0
- package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +26 -0
- package/lib/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
- package/lib/bussiness/index.js +18 -14
- package/lib/components/hyCutter/cutter.vue.js +2 -2
- package/lib/components/hyForm/cpns/arrayItem.vue.js +2 -2
- package/lib/components/hyForm/cpns/formItem.vue.js +3 -2
- package/lib/components/hyForm/js/index.js +0 -7
- package/lib/components/hySearch/cpns/searchItem.vue.js +64 -74
- package/lib/components/hySearch/js/index.js +0 -36
- package/lib/components/hySearch/js/useAppSearch.js +3 -3
- package/lib/components/hySearch/style/search.scss +1 -0
- package/lib/components/hyTable/cpns/virtualTable.vue.js +4 -4
- package/lib/components/hyTable/js/index.js +45 -3
- package/lib/components/hyTable/js/search.js +0 -6
- package/lib/components/hyTable/table.vue.js +46 -29
- package/lib/components/hyTooltip/tooltip.vue.js +13 -5
- package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -1
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -3
- package/lib/components-map.js +2 -0
- package/lib/hooks/useBaseMainStore.js +15 -4
- package/lib/hooks/useCurrentBus.js +4 -3
- package/lib/hooks/useDialog.js +2 -2
- package/lib/hooks/useGlobalConfig.js +18 -17
- package/lib/index.js +70 -55
- package/lib/locale/en_US.js +1 -0
- package/lib/locale/zh_CN.js +1 -0
- package/lib/style/index.scss +2 -2
- package/lib/utils/file.js +1 -2
- package/lib/utils/form.js +61 -4
- package/lib/utils/index.js +12 -1
- package/lib/utils/map/hook/leafletjs.js +4 -0
- package/lib/utils/map/index.js +4 -0
- package/lib/utils/timeUtils.js +105 -0
- package/lib/version.js +1 -1
- package/package.json +14 -1
|
@@ -10,10 +10,6 @@ function useAppTableSearch(hy) {
|
|
|
10
10
|
const { props, emits, appSearchRef, tableDataSource, clearSelection } = hy;
|
|
11
11
|
const { api } = useApi.useApi();
|
|
12
12
|
const totalElements = vue.ref(0);
|
|
13
|
-
const showFilter = vue.ref(true);
|
|
14
|
-
function switchShowFilter() {
|
|
15
|
-
showFilter.value = !showFilter.value;
|
|
16
|
-
}
|
|
17
13
|
async function getData(page = null) {
|
|
18
14
|
await vue.nextTick();
|
|
19
15
|
hy.loading.value = true;
|
|
@@ -125,12 +121,10 @@ function useAppTableSearch(hy) {
|
|
|
125
121
|
}
|
|
126
122
|
return {
|
|
127
123
|
totalElements,
|
|
128
|
-
showFilter,
|
|
129
124
|
getData,
|
|
130
125
|
setData,
|
|
131
126
|
resetFields,
|
|
132
127
|
resetFn,
|
|
133
|
-
switchShowFilter,
|
|
134
128
|
getTotalElements,
|
|
135
129
|
getTableDataSource,
|
|
136
130
|
onSizeChangeHandler,
|
|
@@ -195,7 +195,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
195
195
|
}
|
|
196
196
|
}, {
|
|
197
197
|
"loading": { type: Boolean, default: false },
|
|
198
|
-
"loadingModifiers": {}
|
|
198
|
+
"loadingModifiers": {},
|
|
199
|
+
"showFilter": { type: Boolean, default: true },
|
|
200
|
+
"showFilterModifiers": {}
|
|
199
201
|
}),
|
|
200
202
|
emits: /* @__PURE__ */ vue.mergeModels([
|
|
201
203
|
"row-click",
|
|
@@ -204,17 +206,22 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
204
206
|
"on-select-checkbox",
|
|
205
207
|
"reqSuccess",
|
|
206
208
|
"search-data",
|
|
207
|
-
"scroll"
|
|
208
|
-
|
|
209
|
+
"scroll",
|
|
210
|
+
"scrollBottom"
|
|
211
|
+
], ["update:loading", "update:showFilter"]),
|
|
209
212
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
210
213
|
const props = __props;
|
|
211
214
|
const emits = __emit;
|
|
212
215
|
const loading = vue.useModel(__props, "loading");
|
|
216
|
+
const showFilterModel = vue.useModel(__props, "showFilter");
|
|
213
217
|
const containerRef = vue.useTemplateRef("containerRef");
|
|
214
218
|
const tableRef = vue.useTemplateRef("tableRef");
|
|
215
219
|
const appSearchRef = vue.useTemplateRef("appSearchRef");
|
|
216
220
|
const tableDropdownRef = vue.useTemplateRef("tableDropdownRef");
|
|
217
221
|
const operatorDropdownRef = vue.useTemplateRef("operatorDropdownRef");
|
|
222
|
+
function switchShowFilter() {
|
|
223
|
+
showFilterModel.value = !showFilterModel.value;
|
|
224
|
+
}
|
|
218
225
|
const {
|
|
219
226
|
// useAppTableWrapper
|
|
220
227
|
// 表格配置项
|
|
@@ -246,13 +253,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
246
253
|
// useAppTableSearch
|
|
247
254
|
// 表单查询
|
|
248
255
|
totalElements,
|
|
249
|
-
showFilter,
|
|
250
256
|
selectedList,
|
|
251
257
|
getData,
|
|
252
258
|
setData,
|
|
253
259
|
resetFields,
|
|
254
260
|
resetFn,
|
|
255
|
-
switchShowFilter,
|
|
256
261
|
getTotalElements,
|
|
257
262
|
getTableDataSource,
|
|
258
263
|
onSizeChangeHandler,
|
|
@@ -328,7 +333,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
328
333
|
__props.filterColumns.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
329
334
|
key: 1,
|
|
330
335
|
class: "h-[32px] flex items-center gap-[10px] clickBox px-3 select-none rounded hover:bg-background-2 box-border",
|
|
331
|
-
onClick:
|
|
336
|
+
onClick: switchShowFilter
|
|
332
337
|
}, [
|
|
333
338
|
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
334
339
|
"svg-name": "ops-button-screen",
|
|
@@ -337,11 +342,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
337
342
|
vue.createElementVNode(
|
|
338
343
|
"span",
|
|
339
344
|
null,
|
|
340
|
-
vue.toDisplayString(
|
|
345
|
+
vue.toDisplayString(showFilterModel.value ? vue.unref(useLocale.$t)("table.hideFilter") : vue.unref(useLocale.$t)("table.displayFilter")),
|
|
341
346
|
1
|
|
342
347
|
/* TEXT */
|
|
343
348
|
)
|
|
344
|
-
]
|
|
349
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
345
350
|
vue.unref(searchPlaceholder) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyTooltip), {
|
|
346
351
|
key: 2,
|
|
347
352
|
"is-always": "",
|
|
@@ -393,8 +398,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
393
398
|
ref: appSearchRef,
|
|
394
399
|
model: __props.filterModel,
|
|
395
400
|
columns: __props.filterColumns,
|
|
396
|
-
hidden: !
|
|
397
|
-
class: vue.normalizeClass({ "mb-4":
|
|
401
|
+
hidden: !showFilterModel.value,
|
|
402
|
+
class: vue.normalizeClass({ "mb-4": showFilterModel.value }),
|
|
398
403
|
onSearch: ($event) => vue.unref(getData)(1),
|
|
399
404
|
onOptionsStatus: _ctx.$attrs.onOptionsStatus
|
|
400
405
|
}, vue.createSlots({
|
|
@@ -438,13 +443,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
438
443
|
}), {
|
|
439
444
|
empty: vue.withCtx(() => [
|
|
440
445
|
vue.renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
441
|
-
vue.createElementVNode(
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
vue.createElementVNode("div", { class: "flex flex-col items-center gap-2" }, [
|
|
447
|
+
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
448
|
+
"svg-name": "ops-Empty-alarm-not-data",
|
|
449
|
+
class: "!w-[80px] !h-[80px]"
|
|
450
|
+
}),
|
|
451
|
+
vue.createElementVNode(
|
|
452
|
+
"span",
|
|
453
|
+
{ class: "text-sm text-auxiliary" },
|
|
454
|
+
vue.toDisplayString(__props.emptyText || vue.unref(useLocale.$t)("hy.noData")),
|
|
455
|
+
1
|
|
456
|
+
/* TEXT */
|
|
457
|
+
)
|
|
458
|
+
])
|
|
448
459
|
])
|
|
449
460
|
]),
|
|
450
461
|
default: vue.withCtx(() => [
|
|
@@ -499,7 +510,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
499
510
|
key: cindex,
|
|
500
511
|
"is-always": "",
|
|
501
512
|
overLine: 1,
|
|
502
|
-
content: citem
|
|
513
|
+
content: vue.unref(index.operatorDescHandler)(citem, scope)
|
|
503
514
|
}, {
|
|
504
515
|
default: vue.withCtx(() => [
|
|
505
516
|
vue.createElementVNode("div", {
|
|
@@ -515,13 +526,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
515
526
|
"svg-name": citem.svgName,
|
|
516
527
|
"class-name": "!w-4 !h-4"
|
|
517
528
|
}, null, 8, ["svg-name"]),
|
|
518
|
-
citem
|
|
529
|
+
vue.unref(index.operatorLabelHandler)(citem, scope) ? (vue.openBlock(), vue.createElementBlock(
|
|
519
530
|
"div",
|
|
520
531
|
{
|
|
521
532
|
key: 0,
|
|
522
533
|
class: "mt-1 whitespace-nowrap w-full text-center over_one_line"
|
|
523
534
|
},
|
|
524
|
-
vue.toDisplayString(
|
|
535
|
+
vue.toDisplayString(vue.unref(index.operatorLabelHandler)(citem, scope)),
|
|
525
536
|
1
|
|
526
537
|
/* TEXT */
|
|
527
538
|
)) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -571,7 +582,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
571
582
|
vue.createElementVNode(
|
|
572
583
|
"span",
|
|
573
584
|
{ class: "pr-1" },
|
|
574
|
-
vue.toDisplayString(
|
|
585
|
+
vue.toDisplayString(vue.unref(index.operatorLabelHandler)(citem, scope)),
|
|
575
586
|
1
|
|
576
587
|
/* TEXT */
|
|
577
588
|
),
|
|
@@ -732,13 +743,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
732
743
|
empty: vue.withCtx(() => [
|
|
733
744
|
vue.createElementVNode("div", { class: "w-full h-full flex items-center justify-center border-b border-border" }, [
|
|
734
745
|
vue.renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
735
|
-
vue.createElementVNode(
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
746
|
+
vue.createElementVNode("div", { class: "flex flex-col items-center gap-2" }, [
|
|
747
|
+
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
748
|
+
"svg-name": "ops-Empty-alarm-not-data",
|
|
749
|
+
class: "!w-[80px] !h-[80px]"
|
|
750
|
+
}),
|
|
751
|
+
vue.createElementVNode(
|
|
752
|
+
"span",
|
|
753
|
+
{ class: "text-sm text-auxiliary" },
|
|
754
|
+
vue.toDisplayString(__props.emptyText || vue.unref(useLocale.$t)("hy.noData")),
|
|
755
|
+
1
|
|
756
|
+
/* TEXT */
|
|
757
|
+
)
|
|
758
|
+
])
|
|
742
759
|
])
|
|
743
760
|
])
|
|
744
761
|
]),
|
|
@@ -850,7 +867,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
850
867
|
vue.createElementVNode(
|
|
851
868
|
"span",
|
|
852
869
|
{ class: "pr-1" },
|
|
853
|
-
vue.toDisplayString(citem.
|
|
870
|
+
vue.toDisplayString(vue.unref(index.operatorLabelHandler)(citem, vue.unref(tableTriggerRef).scope)),
|
|
854
871
|
1
|
|
855
872
|
/* TEXT */
|
|
856
873
|
),
|
|
@@ -15,7 +15,7 @@ const __default__ = vue.defineComponent({
|
|
|
15
15
|
name: "HyTooltip"
|
|
16
16
|
});
|
|
17
17
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
18
|
-
props: {
|
|
18
|
+
props: /* @__PURE__ */ vue.mergeModels({
|
|
19
19
|
isAlways: {
|
|
20
20
|
type: Boolean,
|
|
21
21
|
default: () => {
|
|
@@ -42,9 +42,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
42
42
|
content: {
|
|
43
43
|
type: [String, Number]
|
|
44
44
|
}
|
|
45
|
-
},
|
|
45
|
+
}, {
|
|
46
|
+
"modelValue": { type: Boolean, default: false },
|
|
47
|
+
"modelModifiers": {}
|
|
48
|
+
}),
|
|
49
|
+
emits: ["update:modelValue"],
|
|
46
50
|
setup(__props) {
|
|
47
51
|
const props = __props;
|
|
52
|
+
const visible = vue.useModel(__props, "modelValue");
|
|
48
53
|
const isShow = vue.ref(false);
|
|
49
54
|
const isDisabled = vue.computed(() => {
|
|
50
55
|
if (props.disabled || props.isAlways) {
|
|
@@ -65,6 +70,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
65
70
|
}
|
|
66
71
|
return (_ctx, _cache) => {
|
|
67
72
|
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTooltip), vue.mergeProps({
|
|
73
|
+
visible: visible.value,
|
|
74
|
+
"onUpdate:visible": ($event) => visible.value = $event,
|
|
68
75
|
"show-after": 500,
|
|
69
76
|
class: "item",
|
|
70
77
|
effect: "dark",
|
|
@@ -86,6 +93,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
86
93
|
{
|
|
87
94
|
key: 1,
|
|
88
95
|
class: vue.normalizeClass(appClass.value),
|
|
96
|
+
style: vue.normalizeStyle({ "--line-clamp": __props.overLine || 2 }),
|
|
89
97
|
onMouseenter: onMouseenterHandler
|
|
90
98
|
},
|
|
91
99
|
[
|
|
@@ -97,8 +105,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
97
105
|
)
|
|
98
106
|
])
|
|
99
107
|
],
|
|
100
|
-
|
|
101
|
-
/* CLASS, NEED_HYDRATION */
|
|
108
|
+
38
|
|
109
|
+
/* CLASS, STYLE, NEED_HYDRATION */
|
|
102
110
|
))
|
|
103
111
|
]),
|
|
104
112
|
_: 2
|
|
@@ -111,7 +119,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
111
119
|
]),
|
|
112
120
|
key: "0"
|
|
113
121
|
} : void 0
|
|
114
|
-
]), 1040, ["disabled", "content"]);
|
|
122
|
+
]), 1040, ["visible", "onUpdate:visible", "disabled", "content"]);
|
|
115
123
|
};
|
|
116
124
|
}
|
|
117
125
|
});
|
|
@@ -66,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
66
66
|
() => props.device?.gbDevice === 1 && (props.device?.deviceType || props.device?.type) !== 13
|
|
67
67
|
);
|
|
68
68
|
const headImg = vue.computed(() => {
|
|
69
|
-
return props.device && vue.unref(userAvatarMap)?.get(props.device.deviceId);
|
|
69
|
+
return props.device && (vue.unref(userAvatarMap)?.get(props.device.deviceId) || props.device.headImg);
|
|
70
70
|
});
|
|
71
71
|
function parseRem(res) {
|
|
72
72
|
let px = res;
|
|
@@ -261,15 +261,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
261
261
|
vue.createCommentVNode(" \u666E\u901A\u6587\u4EF6 "),
|
|
262
262
|
vue.createElementVNode("div", { class: "flex items-center justify-center text-auxiliary" }, [
|
|
263
263
|
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
264
|
-
"svg-name": "
|
|
264
|
+
"svg-name": "ops-audio-center-right-ripple",
|
|
265
265
|
className: "!w-[12px] !h-[12px]"
|
|
266
266
|
}),
|
|
267
267
|
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
268
|
-
"svg-name": "
|
|
268
|
+
"svg-name": "ops-audio-media-center-video3",
|
|
269
269
|
className: "!w-[40px] !h-[40px] mx-1"
|
|
270
270
|
}),
|
|
271
271
|
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
272
|
-
"svg-name": "
|
|
272
|
+
"svg-name": "ops-audio-media-center-left-rippleV2",
|
|
273
273
|
className: "!w-[12px] !h-[12px]"
|
|
274
274
|
})
|
|
275
275
|
]),
|
package/lib/components-map.js
CHANGED
|
@@ -3,10 +3,12 @@ module.exports = {
|
|
|
3
3
|
HyDepartmentTypeOperation: () => import('hy-dispatch-ui-v3/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation'),
|
|
4
4
|
HyDepartmentTypeOperationTiantong: () => import('hy-dispatch-ui-v3/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperationTiantong'),
|
|
5
5
|
HyDeviceTree: () => import('hy-dispatch-ui-v3/lib/bussiness/hyDeviceTree/deviceTree'),
|
|
6
|
+
HyDisplayQueryAddress: () => import('hy-dispatch-ui-v3/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress'),
|
|
6
7
|
HyElectronicFence: () => import('hy-dispatch-ui-v3/lib/bussiness/hyElectronicFence/electronicFence'),
|
|
7
8
|
HyAddElectronicFenceDialog: () => import('hy-dispatch-ui-v3/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog'),
|
|
8
9
|
HyElectronicFenceAssociatedUsersDialog: () => import('hy-dispatch-ui-v3/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog'),
|
|
9
10
|
HyBatchSetElectronicFenceUserDialog: () => import('hy-dispatch-ui-v3/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog'),
|
|
11
|
+
HyFilePlayback: () => import('hy-dispatch-ui-v3/lib/bussiness/hyFilePlayback/filePlayback'),
|
|
10
12
|
HyMapAearchPlace: () => import('hy-dispatch-ui-v3/lib/bussiness/hyMapAearchPlace/mapAearchPlace'),
|
|
11
13
|
HyOrgGroupTree: () => import('hy-dispatch-ui-v3/lib/bussiness/hyOrgGroupTree/orgGroupTree'),
|
|
12
14
|
HyPlanGroupDeviceTree: () => import('hy-dispatch-ui-v3/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree'),
|
|
@@ -16,14 +16,25 @@ const defaultBaseMainStore = () => ({
|
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
const useBaseMainStore = () => {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
const instance = vue.getCurrentInstance();
|
|
20
|
+
if (instance) {
|
|
21
|
+
const injectedStore = vue.inject(localBaseMainStoreKey, void 0);
|
|
21
22
|
return {
|
|
22
|
-
baseMainStore: vue.
|
|
23
|
+
baseMainStore: vue.computed(() => {
|
|
24
|
+
const storeOrFactory = vue.unref(injectedStore);
|
|
25
|
+
if (storeOrFactory) {
|
|
26
|
+
return typeof storeOrFactory === "function" ? storeOrFactory() : storeOrFactory;
|
|
27
|
+
}
|
|
28
|
+
const globalStore = vue.unref(useGlobalConfig.useGlobalConfig()).baseMainStore;
|
|
29
|
+
return globalStore ? typeof globalStore === "function" ? globalStore() : globalStore : defaultBaseMainStore();
|
|
30
|
+
})
|
|
23
31
|
};
|
|
24
32
|
} else {
|
|
25
33
|
return {
|
|
26
|
-
baseMainStore:
|
|
34
|
+
baseMainStore: vue.computed(() => {
|
|
35
|
+
const globalStore = vue.unref(useGlobalConfig.useGlobalConfig()).baseMainStore;
|
|
36
|
+
return globalStore ? typeof globalStore === "function" ? globalStore() : globalStore : defaultBaseMainStore();
|
|
37
|
+
})
|
|
27
38
|
};
|
|
28
39
|
}
|
|
29
40
|
};
|
|
@@ -7,10 +7,11 @@ var useSubscribe = require('./useSubscribe.js');
|
|
|
7
7
|
const localCurrentBusKey = /* @__PURE__ */ Symbol("currentBus");
|
|
8
8
|
const defaultCurrentBus = useSubscribe.bus;
|
|
9
9
|
const useCurrentBus = () => {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
const instance = vue.getCurrentInstance();
|
|
11
|
+
if (instance) {
|
|
12
|
+
const injectedBus = vue.inject(localCurrentBusKey, void 0);
|
|
12
13
|
return {
|
|
13
|
-
currentBus: vue.
|
|
14
|
+
currentBus: vue.computed(() => vue.unref(injectedBus) || defaultCurrentBus)
|
|
14
15
|
};
|
|
15
16
|
} else {
|
|
16
17
|
return {
|
package/lib/hooks/useDialog.js
CHANGED
|
@@ -15,9 +15,9 @@ function useDialog(hy) {
|
|
|
15
15
|
const minimizedTitle = vue.ref("");
|
|
16
16
|
function setDragLevelIndex(dialogComponents) {
|
|
17
17
|
const { baseMainStore } = useBaseMainStore.useBaseMainStore();
|
|
18
|
-
const dragLevel = baseMainStore.getters.dragLevel;
|
|
18
|
+
const dragLevel = baseMainStore.value.getters.dragLevel;
|
|
19
19
|
hy[`${dialogComponents}`].value.setDragLevelIndex(dragLevel);
|
|
20
|
-
baseMainStore.commit("setDragLevel");
|
|
20
|
+
baseMainStore.value.commit("setDragLevel");
|
|
21
21
|
}
|
|
22
22
|
function onMinimized(params) {
|
|
23
23
|
hy.minimized.value = params.type;
|
|
@@ -16,7 +16,7 @@ var useCurrentBus = require('./useCurrentBus.js');
|
|
|
16
16
|
var useVersionControl = require('./useVersionControl.js');
|
|
17
17
|
var zh_CN = require('../locale/zh_CN.js');
|
|
18
18
|
|
|
19
|
-
const globalConfig = vue.ref();
|
|
19
|
+
const globalConfig = vue.ref({});
|
|
20
20
|
const mergeConfig = (a, b) => {
|
|
21
21
|
const keys = [.../* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(b)])];
|
|
22
22
|
const obj = {};
|
|
@@ -29,9 +29,9 @@ const configProviderContextKey = /* @__PURE__ */ Symbol("configProviderContextKe
|
|
|
29
29
|
function useGlobalConfig(key, defaultValue = void 0) {
|
|
30
30
|
const config = vue.getCurrentInstance() ? vue.inject(configProviderContextKey, globalConfig) : globalConfig;
|
|
31
31
|
if (key) {
|
|
32
|
-
return vue.computed(() => config.value?.[key] ?? defaultValue);
|
|
32
|
+
return vue.computed(() => vue.unref(config.value?.[key]) ?? defaultValue);
|
|
33
33
|
} else {
|
|
34
|
-
return config;
|
|
34
|
+
return vue.unref(config);
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
config
|
|
@@ -53,55 +53,56 @@ const provideGlobalConfig = (props, app, global = false) => {
|
|
|
53
53
|
provideFn(configProviderContextKey, context);
|
|
54
54
|
provideFn(
|
|
55
55
|
useLocale.localeContextKey,
|
|
56
|
-
vue.computed(() => index[context.value.locale] || zh_CN.default)
|
|
56
|
+
vue.computed(() => vue.unref(index[context.value.locale]) || zh_CN.default)
|
|
57
57
|
);
|
|
58
58
|
provideFn(
|
|
59
59
|
useApi.localApiKey,
|
|
60
|
-
vue.computed(() => context.value.api)
|
|
60
|
+
vue.computed(() => vue.unref(context.value.api))
|
|
61
61
|
);
|
|
62
62
|
provideFn(
|
|
63
63
|
useUserAvatarMap.localUserAvatarMapKey,
|
|
64
|
-
vue.computed(() => context.value.userAvatarMap)
|
|
64
|
+
vue.computed(() => vue.unref(context.value.userAvatarMap))
|
|
65
65
|
);
|
|
66
66
|
provideFn(
|
|
67
67
|
usePermissionMap.localPermissionMapKey,
|
|
68
|
-
vue.computed(() => context.value.permissionMap)
|
|
68
|
+
vue.computed(() => vue.unref(context.value.permissionMap))
|
|
69
69
|
);
|
|
70
70
|
provideFn(
|
|
71
71
|
useAudioPlayerConfig.localAudioPlayerConfigKey,
|
|
72
|
-
vue.computed(() => context.value.audioPlayer)
|
|
72
|
+
vue.computed(() => vue.unref(context.value.audioPlayer))
|
|
73
73
|
);
|
|
74
74
|
provideFn(
|
|
75
75
|
useVideoPlayerConfig.localVideoPlayerConfigKey,
|
|
76
|
-
vue.computed(() => context.value.videoPlayer)
|
|
76
|
+
vue.computed(() => vue.unref(context.value.videoPlayer))
|
|
77
77
|
);
|
|
78
78
|
provideFn(
|
|
79
79
|
useEnsureHyIcon.localEnsureHyIconMapKey,
|
|
80
|
-
vue.computed(() => context.value.ensureHyIcon)
|
|
80
|
+
vue.computed(() => vue.unref(context.value.ensureHyIcon))
|
|
81
81
|
);
|
|
82
82
|
provideFn(
|
|
83
83
|
useTooltipConfig.localTooltipConfigKey,
|
|
84
|
-
vue.computed(() => context.value.tooltip)
|
|
84
|
+
vue.computed(() => vue.unref(context.value.tooltip))
|
|
85
85
|
);
|
|
86
86
|
provideFn(
|
|
87
87
|
useMapConfig.localMapConfigKey,
|
|
88
|
-
vue.computed(() => context.value.mapConfig)
|
|
88
|
+
vue.computed(() => vue.unref(context.value.mapConfig))
|
|
89
89
|
);
|
|
90
|
-
provideFn(useBaseMainStore.localBaseMainStoreKey, context.value.baseMainStore);
|
|
90
|
+
provideFn(useBaseMainStore.localBaseMainStoreKey, vue.unref(context.value.baseMainStore));
|
|
91
91
|
provideFn(
|
|
92
92
|
useCurrentBus.localCurrentBusKey,
|
|
93
|
-
vue.computed(() => context.value.currentBus)
|
|
93
|
+
vue.computed(() => vue.unref(context.value.currentBus))
|
|
94
94
|
);
|
|
95
95
|
provideFn(
|
|
96
96
|
useVersionControl.localVersionStoreKey,
|
|
97
|
-
vue.computed(() => context.value.versionStore)
|
|
97
|
+
vue.computed(() => vue.unref(context.value.versionStore))
|
|
98
98
|
);
|
|
99
99
|
provideFn(
|
|
100
100
|
useVersionControl.localComponentsMapKey,
|
|
101
|
-
vue.computed(() => context.value.componentsMap)
|
|
101
|
+
vue.computed(() => vue.unref(context.value.componentsMap))
|
|
102
102
|
);
|
|
103
|
-
if (global || !globalConfig.value) {
|
|
103
|
+
if (global || !globalConfig.value.initial) {
|
|
104
104
|
globalConfig.value = context.value;
|
|
105
|
+
globalConfig.value.initial = true;
|
|
105
106
|
}
|
|
106
107
|
return context;
|
|
107
108
|
};
|
package/lib/index.js
CHANGED
|
@@ -26,30 +26,32 @@ var index$e = require('./components/hyCutter/index.js');
|
|
|
26
26
|
var index$f = require('./bussiness/hyDepartmentTypeOperation/index.js');
|
|
27
27
|
var index$g = require('./bussiness/hyDeviceTree/index.js');
|
|
28
28
|
var index$h = require('./components/hyDialog/index.js');
|
|
29
|
-
var index$i = require('./
|
|
30
|
-
var index$j = require('./components/
|
|
31
|
-
var index$k = require('./
|
|
32
|
-
var index$l = require('./components/
|
|
33
|
-
var index$m = require('./components/
|
|
34
|
-
var index$n = require('./
|
|
35
|
-
var index$o = require('./components/
|
|
36
|
-
var index$p = require('./
|
|
37
|
-
var index$q = require('./components/
|
|
38
|
-
var index$r = require('./components/
|
|
39
|
-
var index$s = require('./
|
|
40
|
-
var index$t = require('./
|
|
41
|
-
var index$u = require('./
|
|
42
|
-
var index$v = require('./bussiness/
|
|
43
|
-
var index$w = require('./components/
|
|
44
|
-
var index$x = require('./
|
|
45
|
-
var index$y = require('./components/
|
|
46
|
-
var index$z = require('./components/
|
|
47
|
-
var index$A = require('./components/
|
|
48
|
-
var index$B = require('./components/
|
|
49
|
-
var index$C = require('./components/
|
|
50
|
-
var index$D = require('./
|
|
51
|
-
var index$E = require('./components/
|
|
52
|
-
var index$F = require('./
|
|
29
|
+
var index$i = require('./bussiness/hyDisplayQueryAddress/index.js');
|
|
30
|
+
var index$j = require('./components/hyDrawer/index.js');
|
|
31
|
+
var index$k = require('./bussiness/hyFilePlayback/index.js');
|
|
32
|
+
var index$l = require('./components/hyForm/index.js');
|
|
33
|
+
var index$m = require('./components/hyIcon/index.js');
|
|
34
|
+
var index$n = require('./components/hyIconBox/index.js');
|
|
35
|
+
var index$o = require('./components/hyMap/index.js');
|
|
36
|
+
var index$p = require('./bussiness/hyMapAearchPlace/index.js');
|
|
37
|
+
var index$q = require('./components/hyMenu/index.js');
|
|
38
|
+
var index$r = require('./components/hyNoPermissions/index.js');
|
|
39
|
+
var index$s = require('./components/hyNoPermissionsMap/index.js');
|
|
40
|
+
var index$t = require('./components/hyOrgCascader/index.js');
|
|
41
|
+
var index$u = require('./bussiness/hyOrgGroupTree/index.js');
|
|
42
|
+
var index$v = require('./bussiness/hyPlanGroupDeviceTree/index.js');
|
|
43
|
+
var index$w = require('./components/hyRadioGroup/index.js');
|
|
44
|
+
var index$x = require('./bussiness/hyRuleSetting/index.js');
|
|
45
|
+
var index$y = require('./components/hySearch/index.js');
|
|
46
|
+
var index$z = require('./components/hyStatus/index.js');
|
|
47
|
+
var index$A = require('./components/hyTable/index.js');
|
|
48
|
+
var index$B = require('./components/hyTableActionButton/index.js');
|
|
49
|
+
var index$C = require('./components/hyTour/index.js');
|
|
50
|
+
var index$D = require('./components/hyTree/index.js');
|
|
51
|
+
var index$E = require('./components/hyUserAvatar/index.js');
|
|
52
|
+
var index$F = require('./bussiness/hyUserTree/index.js');
|
|
53
|
+
var index$G = require('./components/hyVideoPlayer/index.js');
|
|
54
|
+
var index$H = require('./utils/map/index.js');
|
|
53
55
|
var permission = require('./utils/permission.js');
|
|
54
56
|
var crypto = require('./utils/crypto.js');
|
|
55
57
|
var file = require('./utils/file.js');
|
|
@@ -60,6 +62,7 @@ var handler = require('./utils/handler.js');
|
|
|
60
62
|
var useGlobalConfig = require('./hooks/useGlobalConfig.js');
|
|
61
63
|
var useApi = require('./hooks/useApi.js');
|
|
62
64
|
var input = require('./utils/input.js');
|
|
65
|
+
var timeUtils = require('./utils/timeUtils.js');
|
|
63
66
|
var date = require('./utils/date.js');
|
|
64
67
|
var is = require('./utils/is.js');
|
|
65
68
|
var sharedContent = require('./utils/sharedContent.js');
|
|
@@ -129,36 +132,38 @@ exports.HyDepartmentTypeOperation = index$f.HyDepartmentTypeOperation;
|
|
|
129
132
|
exports.HyDepartmentTypeOperationTiantong = index$f.HyDepartmentTypeOperationTiantong;
|
|
130
133
|
exports.HyDeviceTree = index$g.HyDeviceTree;
|
|
131
134
|
exports.HyDialog = index$h.HyDialog;
|
|
132
|
-
exports.
|
|
133
|
-
exports.
|
|
134
|
-
exports.
|
|
135
|
-
exports.
|
|
136
|
-
exports.
|
|
137
|
-
exports.
|
|
138
|
-
exports.
|
|
139
|
-
exports.
|
|
140
|
-
exports.
|
|
141
|
-
exports.
|
|
142
|
-
exports.
|
|
143
|
-
exports.
|
|
144
|
-
exports.
|
|
145
|
-
exports.
|
|
146
|
-
exports.
|
|
147
|
-
exports.
|
|
148
|
-
exports.
|
|
149
|
-
exports.
|
|
150
|
-
exports.
|
|
151
|
-
exports.
|
|
152
|
-
exports.
|
|
153
|
-
exports.
|
|
154
|
-
exports.
|
|
155
|
-
exports.
|
|
156
|
-
exports.
|
|
157
|
-
exports.
|
|
158
|
-
exports.
|
|
159
|
-
exports.
|
|
160
|
-
exports.
|
|
161
|
-
exports.
|
|
135
|
+
exports.HyDisplayQueryAddress = index$i.HyDisplayQueryAddress;
|
|
136
|
+
exports.HyDrawer = index$j.HyDrawer;
|
|
137
|
+
exports.HyFilePlayback = index$k.HyFilePlayback;
|
|
138
|
+
exports.HyForm = index$l.HyForm;
|
|
139
|
+
exports.HyIcon = index$m.HyIcon;
|
|
140
|
+
exports.HyIconBox = index$n.HyIconBox;
|
|
141
|
+
exports.HyMap = index$o.HyMap;
|
|
142
|
+
exports.HyMapAearchPlace = index$p.HyMapAearchPlace;
|
|
143
|
+
exports.HyMenu = index$q.HyMenu;
|
|
144
|
+
exports.HyNoPermissions = index$r.HyNoPermissions;
|
|
145
|
+
exports.HyNoPermissionsMap = index$s.HyNoPermissionsMap;
|
|
146
|
+
exports.HyOrgCascader = index$t.HyOrgCascader;
|
|
147
|
+
exports.HyOrgGroupTree = index$u.HyOrgGroupTree;
|
|
148
|
+
exports.HyPlanGroupDeviceTree = index$v.HyPlanGroupDeviceTree;
|
|
149
|
+
exports.HyRadioGroup = index$w.HyRadioGroup;
|
|
150
|
+
exports.HyRuleAssignDialog = index$x.HyRuleAssignDialog;
|
|
151
|
+
exports.HyRuleFenceDialog = index$x.HyRuleFenceDialog;
|
|
152
|
+
exports.HyRuleSetting = index$x.HyRuleSetting;
|
|
153
|
+
exports.HyRuleSettingDialog = index$x.HyRuleSettingDialog;
|
|
154
|
+
exports.HySetRuleAggregationAlarmDialog = index$x.HySetRuleAggregationAlarmDialog;
|
|
155
|
+
exports.HySearch = index$y.HySearch;
|
|
156
|
+
exports.HyStatus = index$z.HyStatus;
|
|
157
|
+
exports.HyTable = index$A.HyTable;
|
|
158
|
+
exports.HyTableActionButton = index$B.HyTableActionButton;
|
|
159
|
+
exports.HyTour = index$C.HyTour;
|
|
160
|
+
exports.HyTree = index$D.HyTree;
|
|
161
|
+
exports.HyUserAvatar = index$E.HyUserAvatar;
|
|
162
|
+
exports.HyUserTree = index$F.HyUserTree;
|
|
163
|
+
exports.HyVideoPlayer = index$G.HyVideoPlayer;
|
|
164
|
+
exports.InitMap = index$H.InitMap;
|
|
165
|
+
exports.setMapServer = index$H.setMapServer;
|
|
166
|
+
exports.setPoiServer = index$H.setPoiServer;
|
|
162
167
|
exports.PERMISSION = permission.PERMISSION;
|
|
163
168
|
exports.base64Decrypt = crypto.base64Decrypt;
|
|
164
169
|
exports.encryptToBase64 = crypto.encryptToBase64;
|
|
@@ -175,10 +180,13 @@ exports.useSubscribe = useSubscribe.useSubscribe;
|
|
|
175
180
|
exports.clearResizeObserver = useResizeObserver.clearResizeObserver;
|
|
176
181
|
exports.useResizeObserver = useResizeObserver.useResizeObserver;
|
|
177
182
|
exports.clearSpace = form.clearSpace;
|
|
183
|
+
exports.columnHelpHandler = form.columnHelpHandler;
|
|
178
184
|
exports.columnLabelHandler = form.columnLabelHandler;
|
|
179
185
|
exports.columnPlaceholderHandler = form.columnPlaceholderHandler;
|
|
180
186
|
exports.columnRuleHandler = form.columnRuleHandler;
|
|
187
|
+
exports.columnnoDataTextHandler = form.columnnoDataTextHandler;
|
|
181
188
|
exports.genColumnDefaultLabel = form.genColumnDefaultLabel;
|
|
189
|
+
exports.genColumnShortcuts = form.genColumnShortcuts;
|
|
182
190
|
exports.genRuleRequiredMsgHandler = form.genRuleRequiredMsgHandler;
|
|
183
191
|
exports.genValueByProp = form.genValueByProp;
|
|
184
192
|
exports.getValueByProp = form.getValueByProp;
|
|
@@ -198,12 +206,19 @@ exports.useApi = useApi.useApi;
|
|
|
198
206
|
exports.enterNumbersRrLetters = input.enterNumbersRrLetters;
|
|
199
207
|
exports.enterTheMumber = input.enterTheMumber;
|
|
200
208
|
exports.filterSpaces = input.filterSpaces;
|
|
201
|
-
exports.formatNumber = input.formatNumber;
|
|
202
209
|
exports.formatTimeFn = input.formatTimeFn;
|
|
203
210
|
exports.getPublicFileSize = input.getPublicFileSize;
|
|
204
211
|
exports.inputForbidden = input.inputForbidden;
|
|
205
212
|
exports.keepTwoDecimalPlaces = input.keepTwoDecimalPlaces;
|
|
206
213
|
exports.onlyNumber = input.onlyNumber;
|
|
214
|
+
exports.formatDay = timeUtils.formatDay;
|
|
215
|
+
exports.formatHoursToHM = timeUtils.formatHoursToHM;
|
|
216
|
+
exports.formatSeconds = timeUtils.formatSeconds;
|
|
217
|
+
exports.formatTime = timeUtils.formatTime;
|
|
218
|
+
exports.getBeforeDays = timeUtils.getBeforeDays;
|
|
219
|
+
exports.getCurDtm = timeUtils.getCurDtm;
|
|
220
|
+
exports.getNextDays = timeUtils.getNextDays;
|
|
221
|
+
exports.getToday = timeUtils.getToday;
|
|
207
222
|
exports.formatDuration = date.formatDuration;
|
|
208
223
|
exports.getDefaultValueFormatByType = date.getDefaultValueFormatByType;
|
|
209
224
|
exports.isArray = is.isArray;
|