cnhis-design-vue 3.3.2-beta.12 → 3.3.2-beta.6
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/README.md +87 -87
- package/es/components/audio-sdk/src/Index.vue2.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/src/index.vue2.js +15 -27
- package/es/components/big-table/src/BigTable.vue2.js +131 -189
- package/es/components/big-table/src/components/NoData.vue2.js +4 -16
- package/es/components/big-table/src/components/edit-form/edit-date.js +6 -12
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -8
- package/es/components/big-table/src/components/edit-form/edit-select.js +17 -21
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -11
- package/es/components/big-table/src/components/input-button.vue2.js +3 -7
- package/es/components/big-table/src/hooks/useNestTable.js +4 -18
- package/es/components/big-table/src/hooks/useTableParse.js +3 -16
- package/es/components/body-select/src/index.vue2.js +4 -24
- package/es/components/button-print/index.d.ts +0 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +0 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +11 -52
- package/es/components/button-print/src/components/EditFormat.vue2.js +6 -14
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +43 -94
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +94 -229
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +0 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +32 -92
- package/es/components/button-print/src/components/Preview.vue2.js +2 -8
- package/es/components/button-print/src/utils/dialog.js +6 -24
- package/es/components/button-print/src/utils/print.d.ts +5 -5
- package/es/components/button-print/src/utils/print.js +21 -108
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -8
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -16
- package/es/components/card-reader-sdk-cn/src/henan/index.js +11 -38
- package/es/components/classification/src/components/search-filter/index.vue2.js +10 -24
- package/es/components/classification/src/components/set-classification/index.vue2.js +6 -23
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/components/table-modal/index.vue2.js +165 -324
- package/es/components/classification/src/index.vue2.js +69 -261
- package/es/components/default-page/src/constants/index.js +19 -144
- package/es/components/default-page/src/index.vue2.js +2 -8
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +51 -75
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +38 -46
- package/es/components/expand-field/src/components/PersonModal.vue2.js +50 -62
- package/es/components/expand-field/src/components/form.vue2.js +412 -783
- package/es/components/expand-field/src/index.vue2.js +22 -88
- package/es/components/expand-field/src/utils/constant.js +12 -88
- package/es/components/fabric-chart/src/components/PopupMenu.js +15 -32
- package/es/components/fabric-chart/src/constants/index.js +10 -72
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -16
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -8
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -32
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -8
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +41 -63
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -5
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -24
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -2
- package/es/components/field-editor/src/fields.js +30 -232
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldColor.vue2.js +21 -88
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +12 -28
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue2.js +57 -210
- package/es/components/field-set/src/Index.vue2.js +6 -40
- package/es/components/field-set/src/TableStyle.vue2.js +13 -48
- package/es/components/field-set/src/components/condition.vue2.js +11 -27
- package/es/components/field-set/src/components/edit-dialog.vue2.js +69 -149
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -24
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue2.js +42 -123
- package/es/components/field-set/src/constants/filter.js +42 -328
- package/es/components/field-set/src/constants/index.js +64 -504
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +46 -91
- package/es/components/form-config/src/constants/index.js +11 -80
- package/es/components/form-config/src/hooks/useLocale.js +31 -240
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +3 -7
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +3 -7
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -8
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -7
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -8
- package/es/components/form-render/src/components/renderer/switch.js +4 -24
- package/es/components/form-render/src/utils/schema.js +6 -26
- package/es/components/iho-chat/src/Index.vue2.js +38 -42
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +33 -108
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +90 -132
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +48 -110
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +15 -35
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +22 -54
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +45 -77
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +208 -256
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +211 -309
- package/es/components/iho-chat/src/components/ContextMenu.js +9 -50
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -16
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -8
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +18 -104
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +12 -67
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +43 -47
- package/es/components/iho-chat/src/components/SiderList.vue2.js +40 -70
- package/es/components/iho-chat/src/components/Video.vue2.js +11 -38
- package/es/components/iho-chat/src/hooks/useVideo.js +4 -15
- package/es/components/iho-chat/src/utils/index.js +14 -79
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -8
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +15 -40
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +15 -40
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +20 -50
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +6 -14
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -10
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +18 -45
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +14 -20
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +23 -142
- package/es/components/keyboard/src/Keyboard.vue2.js +9 -21
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +35 -49
- package/es/components/map/src/Map.vue2.js +3 -7
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +6 -14
- package/es/components/quick-search/src/index.vue2.js +132 -177
- package/es/components/recommend-search/src/components/BaseSearch.js +8 -14
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +8 -28
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +5 -18
- package/es/components/scale-view/src/ScaleView.vue2.js +7 -15
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -16
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -24
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -24
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-sign.js +9 -30
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -16
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -24
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -16
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -16
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -40
- package/es/components/search-cascader/src/SearchCascader.vue2.js +14 -20
- package/es/components/select-label/src/LabelFormContent.vue2.js +21 -53
- package/es/components/select-label/src/SelectLabel.vue2.js +55 -85
- package/es/components/select-label/src/components/label-classify.vue2.js +11 -28
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +5 -18
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +8 -34
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +5 -18
- package/es/components/select-person/src/SelectPerson.vue2.js +141 -214
- package/es/components/select-person/src/SelectPersonType.vue2.js +105 -130
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -9
- package/es/components/select-person/src/index.vue2.js +7 -20
- package/es/components/slider-tree/src/index.vue2.js +3 -16
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +112 -186
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +88 -147
- package/es/components/table-export-field/src/index.vue2.js +12 -28
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -32
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -264
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +135 -214
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -9
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -39
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -18
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +18 -29
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -8
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +130 -195
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +7 -26
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +7 -13
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +8 -34
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +8 -21
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +3 -7
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +6 -19
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -16
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +10 -24
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -1648
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -8
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -16
- package/es/components/table-filter/src/tool/baseOptions.js +19 -144
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +12 -28
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -22
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +3 -7
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +6 -14
- package/es/env.d.ts +25 -25
- package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -2,259 +2,50 @@ import { deepMerge } from '../../../../shared/utils/index.js';
|
|
2
2
|
import { property } from 'lodash-es';
|
3
3
|
import { reactive } from 'vue';
|
4
4
|
|
5
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja;
|
5
6
|
const formConfigLocale = reactive({
|
6
7
|
materialArea: {
|
7
|
-
areaName:
|
8
|
-
|
9
|
-
try {
|
10
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.1")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.1")) || "\u7269\u6599\u533A";
|
11
|
-
} catch (e) {
|
12
|
-
return "\u7269\u6599\u533A";
|
13
|
-
}
|
14
|
-
}(),
|
15
|
-
createMaterialPlaceholder: function() {
|
16
|
-
var _a, _b, _c;
|
17
|
-
try {
|
18
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.2")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.2")) || "\u8BF7\u9009\u62E9\u989D\u5916\u7269\u6599";
|
19
|
-
} catch (e) {
|
20
|
-
return "\u8BF7\u9009\u62E9\u989D\u5916\u7269\u6599";
|
21
|
-
}
|
22
|
-
}(),
|
8
|
+
areaName: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.1")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.1")) || "\u7269\u6599\u533A",
|
9
|
+
createMaterialPlaceholder: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.2")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.2")) || "\u8BF7\u9009\u62E9\u989D\u5916\u7269\u6599",
|
23
10
|
toString() {
|
24
11
|
return this.areaName;
|
25
12
|
}
|
26
13
|
},
|
27
14
|
layoutArea: {
|
28
|
-
areaName:
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
return "\u5E03\u5C40\u533A";
|
34
|
-
}
|
35
|
-
}(),
|
36
|
-
linebreak: function() {
|
37
|
-
var _a, _b, _c;
|
38
|
-
try {
|
39
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.4")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.4")) || "\u5206\u884C\u7B26";
|
40
|
-
} catch (e) {
|
41
|
-
return "\u5206\u884C\u7B26";
|
42
|
-
}
|
43
|
-
}(),
|
44
|
-
linebar: function() {
|
45
|
-
var _a, _b, _c;
|
46
|
-
try {
|
47
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.5")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.5")) || "\u5206\u7EBF\u680F";
|
48
|
-
} catch (e) {
|
49
|
-
return "\u5206\u7EBF\u680F";
|
50
|
-
}
|
51
|
-
}(),
|
52
|
-
createLinebreak: function() {
|
53
|
-
var _a, _b, _c;
|
54
|
-
try {
|
55
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.6")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.6")) || "\u65B0\u5EFA\u5206\u884C\u7B26";
|
56
|
-
} catch (e) {
|
57
|
-
return "\u65B0\u5EFA\u5206\u884C\u7B26";
|
58
|
-
}
|
59
|
-
}(),
|
60
|
-
createLinebar: function() {
|
61
|
-
var _a, _b, _c;
|
62
|
-
try {
|
63
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.7")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.7")) || "\u65B0\u5EFA\u5206\u7EBF\u680F";
|
64
|
-
} catch (e) {
|
65
|
-
return "\u65B0\u5EFA\u5206\u7EBF\u680F";
|
66
|
-
}
|
67
|
-
}(),
|
15
|
+
areaName: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.3")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.3")) || "\u5E03\u5C40\u533A",
|
16
|
+
linebreak: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.4")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.4")) || "\u5206\u884C\u7B26",
|
17
|
+
linebar: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.5")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.5")) || "\u5206\u7EBF\u680F",
|
18
|
+
createLinebreak: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.6")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.6")) || "\u65B0\u5EFA\u5206\u884C\u7B26",
|
19
|
+
createLinebar: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.7")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.7")) || "\u65B0\u5EFA\u5206\u7EBF\u680F",
|
68
20
|
toString() {
|
69
21
|
return this.areaName;
|
70
22
|
}
|
71
23
|
},
|
72
24
|
configArea: {
|
73
|
-
areaName:
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.10")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.10")) || "\u540D\u79F0";
|
93
|
-
} catch (e) {
|
94
|
-
return "\u540D\u79F0";
|
95
|
-
}
|
96
|
-
}(),
|
97
|
-
alias: function() {
|
98
|
-
var _a, _b, _c;
|
99
|
-
try {
|
100
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.11")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.11")) || "\u522B\u540D";
|
101
|
-
} catch (e) {
|
102
|
-
return "\u522B\u540D";
|
103
|
-
}
|
104
|
-
}(),
|
105
|
-
defaultValue: function() {
|
106
|
-
var _a, _b, _c;
|
107
|
-
try {
|
108
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.12")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.12")) || "\u9ED8\u8BA4\u503C";
|
109
|
-
} catch (e) {
|
110
|
-
return "\u9ED8\u8BA4\u503C";
|
111
|
-
}
|
112
|
-
}(),
|
113
|
-
width: function() {
|
114
|
-
var _a, _b, _c;
|
115
|
-
try {
|
116
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.13")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.13")) || "\u5BBD\u5EA6";
|
117
|
-
} catch (e) {
|
118
|
-
return "\u5BBD\u5EA6";
|
119
|
-
}
|
120
|
-
}(),
|
121
|
-
describeText: function() {
|
122
|
-
var _a, _b, _c;
|
123
|
-
try {
|
124
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.14")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.14")) || "\u8BF4\u660E\u6587\u672C";
|
125
|
-
} catch (e) {
|
126
|
-
return "\u8BF4\u660E\u6587\u672C";
|
127
|
-
}
|
128
|
-
}(),
|
129
|
-
tips: function() {
|
130
|
-
var _a, _b, _c;
|
131
|
-
try {
|
132
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.15")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.15")) || "\u95EE\u53F7\u63D0\u793A";
|
133
|
-
} catch (e) {
|
134
|
-
return "\u95EE\u53F7\u63D0\u793A";
|
135
|
-
}
|
136
|
-
}(),
|
137
|
-
isRequired: function() {
|
138
|
-
var _a, _b, _c;
|
139
|
-
try {
|
140
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.16")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.16")) || "\u662F\u5426\u5FC5\u586B";
|
141
|
-
} catch (e) {
|
142
|
-
return "\u662F\u5426\u5FC5\u586B";
|
143
|
-
}
|
144
|
-
}(),
|
145
|
-
isEditable: function() {
|
146
|
-
var _a, _b, _c;
|
147
|
-
try {
|
148
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.17")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.17")) || "\u662F\u5426\u53EF\u7F16\u8F91";
|
149
|
-
} catch (e) {
|
150
|
-
return "\u662F\u5426\u53EF\u7F16\u8F91";
|
151
|
-
}
|
152
|
-
}(),
|
153
|
-
isExpand: function() {
|
154
|
-
var _a, _b, _c;
|
155
|
-
try {
|
156
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.18")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.18")) || "\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00";
|
157
|
-
} catch (e) {
|
158
|
-
return "\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00";
|
159
|
-
}
|
160
|
-
}(),
|
161
|
-
isFoldAble: function() {
|
162
|
-
var _a, _b, _c;
|
163
|
-
try {
|
164
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.19")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.19")) || "\u662F\u5426\u53EF\u6298\u53E0";
|
165
|
-
} catch (e) {
|
166
|
-
return "\u662F\u5426\u53EF\u6298\u53E0";
|
167
|
-
}
|
168
|
-
}(),
|
169
|
-
isShow: function() {
|
170
|
-
var _a, _b, _c;
|
171
|
-
try {
|
172
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.20")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.20")) || "\u662F\u5426\u663E\u793A";
|
173
|
-
} catch (e) {
|
174
|
-
return "\u662F\u5426\u663E\u793A";
|
175
|
-
}
|
176
|
-
}(),
|
177
|
-
modifyOptionTitle: function() {
|
178
|
-
var _a, _b, _c;
|
179
|
-
try {
|
180
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.21")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.21")) || "\u4FEE\u6539\u9009\u9879\u6587\u672C";
|
181
|
-
} catch (e) {
|
182
|
-
return "\u4FEE\u6539\u9009\u9879\u6587\u672C";
|
183
|
-
}
|
184
|
-
}(),
|
185
|
-
modifyOptionName: function() {
|
186
|
-
var _a, _b, _c;
|
187
|
-
try {
|
188
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.22")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.22")) || "\u503C";
|
189
|
-
} catch (e) {
|
190
|
-
return "\u503C";
|
191
|
-
}
|
192
|
-
}(),
|
193
|
-
modifyOptionOriginText: function() {
|
194
|
-
var _a, _b, _c;
|
195
|
-
try {
|
196
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.23")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.23")) || "\u539F\u6587\u672C";
|
197
|
-
} catch (e) {
|
198
|
-
return "\u539F\u6587\u672C";
|
199
|
-
}
|
200
|
-
}(),
|
201
|
-
modifyOptionNewText: function() {
|
202
|
-
var _a, _b, _c;
|
203
|
-
try {
|
204
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.24")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.24")) || "\u8C03\u6574\u540E\u6587\u672C";
|
205
|
-
} catch (e) {
|
206
|
-
return "\u8C03\u6574\u540E\u6587\u672C";
|
207
|
-
}
|
208
|
-
}(),
|
209
|
-
rowsHeight: function() {
|
210
|
-
var _a, _b, _c;
|
211
|
-
try {
|
212
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.25")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.25")) || "\u9AD8\u5EA6";
|
213
|
-
} catch (e) {
|
214
|
-
return "\u9AD8\u5EA6";
|
215
|
-
}
|
216
|
-
}(),
|
217
|
-
rowsTips: function() {
|
218
|
-
var _a, _b, _c;
|
219
|
-
try {
|
220
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.26")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.26")) || "\u9ED8\u8BA4\u4E3A3\u884C\u9AD8\u5EA6\uFF0C\u53EF\u8C03\u6574\u4E3A1-10\u884C\u9AD8\u5EA6";
|
221
|
-
} catch (e) {
|
222
|
-
return "\u9ED8\u8BA4\u4E3A3\u884C\u9AD8\u5EA6\uFF0C\u53EF\u8C03\u6574\u4E3A1-10\u884C\u9AD8\u5EA6";
|
223
|
-
}
|
224
|
-
}(),
|
25
|
+
areaName: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.8")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.8")) || "\u914D\u7F6E\u533A",
|
26
|
+
field: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.9")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.9")) || "\u5B57\u6BB5",
|
27
|
+
name: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.10")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.10")) || "\u540D\u79F0",
|
28
|
+
alias: ((_E = window.getLanguageByCode) == null ? void 0 : _E.call(window, "10010.1.11")) || ((_G = (_F = window.top) == null ? void 0 : _F.getLanguageByCode) == null ? void 0 : _G.call(_F, "10010.1.11")) || "\u522B\u540D",
|
29
|
+
defaultValue: ((_H = window.getLanguageByCode) == null ? void 0 : _H.call(window, "10010.1.12")) || ((_J = (_I = window.top) == null ? void 0 : _I.getLanguageByCode) == null ? void 0 : _J.call(_I, "10010.1.12")) || "\u9ED8\u8BA4\u503C",
|
30
|
+
width: ((_K = window.getLanguageByCode) == null ? void 0 : _K.call(window, "10010.1.13")) || ((_M = (_L = window.top) == null ? void 0 : _L.getLanguageByCode) == null ? void 0 : _M.call(_L, "10010.1.13")) || "\u5BBD\u5EA6",
|
31
|
+
describeText: ((_N = window.getLanguageByCode) == null ? void 0 : _N.call(window, "10010.1.14")) || ((_P = (_O = window.top) == null ? void 0 : _O.getLanguageByCode) == null ? void 0 : _P.call(_O, "10010.1.14")) || "\u8BF4\u660E\u6587\u672C",
|
32
|
+
tips: ((_Q = window.getLanguageByCode) == null ? void 0 : _Q.call(window, "10010.1.15")) || ((_S = (_R = window.top) == null ? void 0 : _R.getLanguageByCode) == null ? void 0 : _S.call(_R, "10010.1.15")) || "\u95EE\u53F7\u63D0\u793A",
|
33
|
+
isRequired: ((_T = window.getLanguageByCode) == null ? void 0 : _T.call(window, "10010.1.16")) || ((_V = (_U = window.top) == null ? void 0 : _U.getLanguageByCode) == null ? void 0 : _V.call(_U, "10010.1.16")) || "\u662F\u5426\u5FC5\u586B",
|
34
|
+
isEditable: ((_W = window.getLanguageByCode) == null ? void 0 : _W.call(window, "10010.1.17")) || ((_Y = (_X = window.top) == null ? void 0 : _X.getLanguageByCode) == null ? void 0 : _Y.call(_X, "10010.1.17")) || "\u662F\u5426\u53EF\u7F16\u8F91",
|
35
|
+
isExpand: ((_Z = window.getLanguageByCode) == null ? void 0 : _Z.call(window, "10010.1.18")) || ((_$ = (__ = window.top) == null ? void 0 : __.getLanguageByCode) == null ? void 0 : _$.call(__, "10010.1.18")) || "\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00",
|
36
|
+
isFoldAble: ((_aa = window.getLanguageByCode) == null ? void 0 : _aa.call(window, "10010.1.19")) || ((_ca = (_ba = window.top) == null ? void 0 : _ba.getLanguageByCode) == null ? void 0 : _ca.call(_ba, "10010.1.19")) || "\u662F\u5426\u53EF\u6298\u53E0",
|
37
|
+
isShow: ((_da = window.getLanguageByCode) == null ? void 0 : _da.call(window, "10010.1.20")) || ((_fa = (_ea = window.top) == null ? void 0 : _ea.getLanguageByCode) == null ? void 0 : _fa.call(_ea, "10010.1.20")) || "\u662F\u5426\u663E\u793A",
|
38
|
+
modifyOptionTitle: ((_ga = window.getLanguageByCode) == null ? void 0 : _ga.call(window, "10010.1.21")) || ((_ia = (_ha = window.top) == null ? void 0 : _ha.getLanguageByCode) == null ? void 0 : _ia.call(_ha, "10010.1.21")) || "\u4FEE\u6539\u9009\u9879\u6587\u672C",
|
39
|
+
modifyOptionName: ((_ja = window.getLanguageByCode) == null ? void 0 : _ja.call(window, "10010.1.22")) || ((_la = (_ka = window.top) == null ? void 0 : _ka.getLanguageByCode) == null ? void 0 : _la.call(_ka, "10010.1.22")) || "\u503C",
|
40
|
+
modifyOptionOriginText: ((_ma = window.getLanguageByCode) == null ? void 0 : _ma.call(window, "10010.1.23")) || ((_oa = (_na = window.top) == null ? void 0 : _na.getLanguageByCode) == null ? void 0 : _oa.call(_na, "10010.1.23")) || "\u539F\u6587\u672C",
|
41
|
+
modifyOptionNewText: ((_pa = window.getLanguageByCode) == null ? void 0 : _pa.call(window, "10010.1.24")) || ((_ra = (_qa = window.top) == null ? void 0 : _qa.getLanguageByCode) == null ? void 0 : _ra.call(_qa, "10010.1.24")) || "\u8C03\u6574\u540E\u6587\u672C",
|
42
|
+
rowsHeight: ((_sa = window.getLanguageByCode) == null ? void 0 : _sa.call(window, "10010.1.25")) || ((_ua = (_ta = window.top) == null ? void 0 : _ta.getLanguageByCode) == null ? void 0 : _ua.call(_ta, "10010.1.25")) || "\u9AD8\u5EA6",
|
43
|
+
rowsTips: ((_va = window.getLanguageByCode) == null ? void 0 : _va.call(window, "10010.1.26")) || ((_xa = (_wa = window.top) == null ? void 0 : _wa.getLanguageByCode) == null ? void 0 : _xa.call(_wa, "10010.1.26")) || "\u9ED8\u8BA4\u4E3A3\u884C\u9AD8\u5EA6\uFF0C\u53EF\u8C03\u6574\u4E3A1-10\u884C\u9AD8\u5EA6",
|
225
44
|
confirm: "\u662F\u5426\u5728\u4FEE\u6539\u503C\u540E\u5F39\u7A97\u63D0\u9192",
|
226
|
-
positiveBtn:
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
} catch (e) {
|
231
|
-
return "\u786E\u5B9A";
|
232
|
-
}
|
233
|
-
}(),
|
234
|
-
negativeBtn: function() {
|
235
|
-
var _a, _b, _c;
|
236
|
-
try {
|
237
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
|
238
|
-
} catch (e) {
|
239
|
-
return "\u53D6\u6D88";
|
240
|
-
}
|
241
|
-
}(),
|
242
|
-
fullLine: function() {
|
243
|
-
var _a, _b, _c;
|
244
|
-
try {
|
245
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.29")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.29")) || "\u6574\u884C";
|
246
|
-
} catch (e) {
|
247
|
-
return "\u6574\u884C";
|
248
|
-
}
|
249
|
-
}(),
|
250
|
-
halfLine: function() {
|
251
|
-
var _a, _b, _c;
|
252
|
-
try {
|
253
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.30")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.30")) || "\u534A\u884C";
|
254
|
-
} catch (e) {
|
255
|
-
return "\u534A\u884C";
|
256
|
-
}
|
257
|
-
}(),
|
45
|
+
positiveBtn: ((_ya = window.getLanguageByCode) == null ? void 0 : _ya.call(window, "10010.1.27")) || ((_Aa = (_za = window.top) == null ? void 0 : _za.getLanguageByCode) == null ? void 0 : _Aa.call(_za, "10010.1.27")) || "\u786E\u5B9A",
|
46
|
+
negativeBtn: ((_Ba = window.getLanguageByCode) == null ? void 0 : _Ba.call(window, "10010.1.28")) || ((_Da = (_Ca = window.top) == null ? void 0 : _Ca.getLanguageByCode) == null ? void 0 : _Da.call(_Ca, "10010.1.28")) || "\u53D6\u6D88",
|
47
|
+
fullLine: ((_Ea = window.getLanguageByCode) == null ? void 0 : _Ea.call(window, "10010.1.29")) || ((_Ga = (_Fa = window.top) == null ? void 0 : _Fa.getLanguageByCode) == null ? void 0 : _Ga.call(_Fa, "10010.1.29")) || "\u6574\u884C",
|
48
|
+
halfLine: ((_Ha = window.getLanguageByCode) == null ? void 0 : _Ha.call(window, "10010.1.30")) || ((_Ja = (_Ia = window.top) == null ? void 0 : _Ia.getLanguageByCode) == null ? void 0 : _Ja.call(_Ia, "10010.1.30")) || "\u534A\u884C",
|
258
49
|
toString() {
|
259
50
|
return this.areaName;
|
260
51
|
}
|
package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js
CHANGED
@@ -52,14 +52,10 @@ function useCombination(props) {
|
|
52
52
|
icon: () => createVNode(NIcon, {
|
53
53
|
"component": AddCircleOutline
|
54
54
|
}, null),
|
55
|
-
default: () =>
|
55
|
+
default: () => {
|
56
56
|
var _a2, _b, _c;
|
57
|
-
|
58
|
-
|
59
|
-
} catch (e) {
|
60
|
-
return "\u65B0\u589E";
|
61
|
-
}
|
62
|
-
}()
|
57
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
|
58
|
+
}
|
63
59
|
})]);
|
64
60
|
}
|
65
61
|
function renderRemoveBtn(attrs, idx) {
|
@@ -161,14 +161,10 @@ const script = /* @__PURE__ */ defineComponent({
|
|
161
161
|
icon: () => createVNode(NIcon, {
|
162
162
|
"component": AddCircleOutline
|
163
163
|
}, null),
|
164
|
-
default: () =>
|
164
|
+
default: () => {
|
165
165
|
var _a, _b, _c;
|
166
|
-
|
167
|
-
|
168
|
-
} catch (e) {
|
169
|
-
return "\u65B0\u589E";
|
170
|
-
}
|
171
|
-
}()
|
166
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
|
167
|
+
}
|
172
168
|
})]), range(currentGroupNum.value).map((_, idx) => createVNode("section", {
|
173
169
|
"class": "form-render__combinationContentJson"
|
174
170
|
}, [createVNode(FormRenderComponent, {
|
@@ -47,6 +47,7 @@ const tableScript = /* @__PURE__ */ defineComponent({
|
|
47
47
|
setup(props, {
|
48
48
|
emit
|
49
49
|
}) {
|
50
|
+
var _a, _b, _c;
|
50
51
|
const {
|
51
52
|
field
|
52
53
|
} = useFormField();
|
@@ -100,14 +101,7 @@ const tableScript = /* @__PURE__ */ defineComponent({
|
|
100
101
|
}
|
101
102
|
}
|
102
103
|
const fieldListWithOperation = fieldList.concat({
|
103
|
-
alias:
|
104
|
-
var _a, _b, _c;
|
105
|
-
try {
|
106
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.241")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.241")) || "\u64CD\u4F5C";
|
107
|
-
} catch (e) {
|
108
|
-
return "\u64CD\u4F5C";
|
109
|
-
}
|
110
|
-
}(),
|
104
|
+
alias: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.241")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.241")) || "\u64CD\u4F5C",
|
111
105
|
columnName: "operation",
|
112
106
|
width: 60,
|
113
107
|
isFixed: 2,
|
@@ -155,14 +155,10 @@ function createComponent(name, Wrapper, Item) {
|
|
155
155
|
"onUpdate:checked": ($event) => selectAllState.value = $event,
|
156
156
|
"indeterminate": indeterminate.value
|
157
157
|
}, {
|
158
|
-
default: () =>
|
158
|
+
default: () => {
|
159
159
|
var _a, _b, _c;
|
160
|
-
|
161
|
-
|
162
|
-
} catch (e) {
|
163
|
-
return "\u5168\u9009";
|
164
|
-
}
|
165
|
-
}()
|
160
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.37")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.37")) || "\u5168\u9009";
|
161
|
+
}
|
166
162
|
});
|
167
163
|
}
|
168
164
|
const {
|
@@ -212,15 +212,9 @@ const script = /* @__PURE__ */ defineComponent({
|
|
212
212
|
"renderTag": renderTag
|
213
213
|
}, {
|
214
214
|
empty() {
|
215
|
+
var _a, _b, _c;
|
215
216
|
return props.useLoading && loading.value ? createVNode(NSpin, null, null) : createVNode(NEmpty, {
|
216
|
-
"description":
|
217
|
-
var _a, _b, _c;
|
218
|
-
try {
|
219
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.380")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.380")) || "\u65E0\u6570\u636E";
|
220
|
-
} catch (e) {
|
221
|
-
return "\u65E0\u6570\u636E";
|
222
|
-
}
|
223
|
-
}()
|
217
|
+
"description": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.380")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.380")) || "\u65E0\u6570\u636E"
|
224
218
|
}, null);
|
225
219
|
},
|
226
220
|
...slots
|
@@ -76,6 +76,7 @@ const script = /* @__PURE__ */ defineComponent({
|
|
76
76
|
emit("update:value", uncheckedValue.value);
|
77
77
|
}
|
78
78
|
function renderSwitch() {
|
79
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
79
80
|
return [createVNode(NSwitch, mergeProps({
|
80
81
|
"value": valueRef.value,
|
81
82
|
"onUpdate:value": ($event) => valueRef.value = $event
|
@@ -87,30 +88,9 @@ const script = /* @__PURE__ */ defineComponent({
|
|
87
88
|
"onUpdate:show": ($event) => showModal.value = $event,
|
88
89
|
"display-directive": "show",
|
89
90
|
"preset": "dialog",
|
90
|
-
"title":
|
91
|
-
|
92
|
-
|
93
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4";
|
94
|
-
} catch (e) {
|
95
|
-
return "\u786E\u8BA4";
|
96
|
-
}
|
97
|
-
}(),
|
98
|
-
"positive-text": function() {
|
99
|
-
var _a, _b, _c;
|
100
|
-
try {
|
101
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4";
|
102
|
-
} catch (e) {
|
103
|
-
return "\u786E\u8BA4";
|
104
|
-
}
|
105
|
-
}(),
|
106
|
-
"negative-text": function() {
|
107
|
-
var _a, _b, _c;
|
108
|
-
try {
|
109
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
|
110
|
-
} catch (e) {
|
111
|
-
return "\u53D6\u6D88";
|
112
|
-
}
|
113
|
-
}(),
|
91
|
+
"title": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4",
|
92
|
+
"positive-text": ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.428")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.428")) || "\u786E\u8BA4",
|
93
|
+
"negative-text": ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.28")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.28")) || "\u53D6\u6D88",
|
114
94
|
"content": reminderContent.value,
|
115
95
|
"onPositiveClick": onComfirm
|
116
96
|
}, null) : null];
|
@@ -100,31 +100,11 @@ function assignUpdateValue(props, field) {
|
|
100
100
|
if (confirm && $dialog && !isEmptyValue(oldValue) && oldValue !== value) {
|
101
101
|
try {
|
102
102
|
await new Promise((resolve, reject) => {
|
103
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
103
104
|
const params = {
|
104
|
-
title:
|
105
|
-
|
106
|
-
|
107
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.228")) || "\u8B66\u544A";
|
108
|
-
} catch (e) {
|
109
|
-
return "\u8B66\u544A";
|
110
|
-
}
|
111
|
-
}(),
|
112
|
-
positiveText: function() {
|
113
|
-
var _a, _b, _c;
|
114
|
-
try {
|
115
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A";
|
116
|
-
} catch (e) {
|
117
|
-
return "\u786E\u5B9A";
|
118
|
-
}
|
119
|
-
}(),
|
120
|
-
negativeText: function() {
|
121
|
-
var _a, _b, _c;
|
122
|
-
try {
|
123
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
|
124
|
-
} catch (e) {
|
125
|
-
return "\u53D6\u6D88";
|
126
|
-
}
|
127
|
-
}(),
|
105
|
+
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.228")) || "\u8B66\u544A",
|
106
|
+
positiveText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.27")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.27")) || "\u786E\u5B9A",
|
107
|
+
negativeText: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.28")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.28")) || "\u53D6\u6D88",
|
128
108
|
onPositiveClick: resolve,
|
129
109
|
onNegativeClick: reject,
|
130
110
|
content: confirmText != null ? confirmText : DEFAULT_TEXT,
|
@@ -133,11 +113,11 @@ function assignUpdateValue(props, field) {
|
|
133
113
|
const _content = params.content;
|
134
114
|
isFunction(_content) && (params.content = () => _content(valueMap));
|
135
115
|
isString(_content) && (params.content = parseEnhanceText(_content).reduce((res, item) => {
|
136
|
-
var
|
116
|
+
var _a2;
|
137
117
|
if (item.type === "text")
|
138
118
|
res += item.content;
|
139
119
|
if (item.type === "widget")
|
140
|
-
res += (
|
120
|
+
res += (_a2 = valueMap[item.content]) != null ? _a2 : field.value;
|
141
121
|
return res;
|
142
122
|
}, ""));
|
143
123
|
$dialog.warning(params);
|
@@ -108,52 +108,48 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
108
108
|
abstract: "",
|
109
109
|
namespace: "iho-chat__popover"
|
110
110
|
}, {
|
111
|
-
default: withCtx(() =>
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
mode: "create",
|
126
|
-
"default-value": [unref(state).userInfo]
|
127
|
-
}, null, 8, ["default-value"]), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "toolbar")])])) : createCommentVNode("v-if", true), createVNode(unref(NLayout), {
|
128
|
-
class: "iho-chat__body",
|
129
|
-
"has-sider": ""
|
130
|
-
}, {
|
131
|
-
default: withCtx(() => [createVNode(SiderList), createVNode(unref(NLayoutContent), {
|
132
|
-
class: "chat-content",
|
133
|
-
style: normalizeStyle({
|
134
|
-
"--c-pointer-events": unref(isEnded) ? "none" : "unset",
|
135
|
-
"--c-cursor": unref(isEnded) ? "not-allowed" : "unset"
|
136
|
-
})
|
111
|
+
default: withCtx(() => {
|
112
|
+
var _a, _b, _c;
|
113
|
+
return [loading.value ? (openBlock(), createBlock(unref(NSpin), {
|
114
|
+
key: 0,
|
115
|
+
stroke: "#5585f5"
|
116
|
+
})) : (openBlock(), createElementBlock(Fragment, {
|
117
|
+
key: 1
|
118
|
+
}, [__props.showHeader ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(ChatSearch), createVNode(ChatAdd, {
|
119
|
+
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.31")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.31")) || "\u53D1\u8D77\u7FA4\u804A",
|
120
|
+
mode: "create",
|
121
|
+
"default-value": [unref(state).userInfo]
|
122
|
+
}, null, 8, ["default-value"]), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "toolbar")])])) : createCommentVNode("v-if", true), createVNode(unref(NLayout), {
|
123
|
+
class: "iho-chat__body",
|
124
|
+
"has-sider": ""
|
137
125
|
}, {
|
138
|
-
default: withCtx(() => [createVNode(
|
139
|
-
|
140
|
-
|
126
|
+
default: withCtx(() => [createVNode(SiderList), createVNode(unref(NLayoutContent), {
|
127
|
+
class: "chat-content",
|
128
|
+
style: normalizeStyle({
|
129
|
+
"--c-pointer-events": unref(isEnded) ? "none" : "unset",
|
130
|
+
"--c-cursor": unref(isEnded) ? "not-allowed" : "unset"
|
131
|
+
})
|
132
|
+
}, {
|
133
|
+
default: withCtx(() => [createVNode(ChatHeader, null, {
|
134
|
+
header: withCtx(() => [renderSlot(_ctx.$slots, "chatHeader", {
|
135
|
+
session: unref(state).currentSessionItem
|
136
|
+
})]),
|
137
|
+
_: 3
|
138
|
+
}), createVNode(ChatMain), createVNode(ChatFooter, null, {
|
139
|
+
footer: withCtx(() => [renderSlot(_ctx.$slots, "chatFooter", {
|
140
|
+
session: unref(state).currentSessionItem
|
141
|
+
})]),
|
142
|
+
_: 3
|
141
143
|
})]),
|
142
144
|
_: 3
|
143
|
-
}
|
144
|
-
footer: withCtx(() => [renderSlot(_ctx.$slots, "chatFooter", {
|
145
|
-
session: unref(state).currentSessionItem
|
146
|
-
})]),
|
147
|
-
_: 3
|
148
|
-
})]),
|
145
|
+
}, 8, ["style"]), renderSlot(_ctx.$slots, "external")]),
|
149
146
|
_: 3
|
150
|
-
},
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
})) : createCommentVNode("v-if", true), createVNode(PersonProfile)], 64))]),
|
147
|
+
}), unref(state).showVideo ? (openBlock(), createBlock(Video, {
|
148
|
+
key: 1
|
149
|
+
})) : createCommentVNode("v-if", true), unref(state).showMultipleVideo ? (openBlock(), createBlock(MultipleVideo, {
|
150
|
+
key: 2
|
151
|
+
})) : createCommentVNode("v-if", true), createVNode(PersonProfile)], 64))];
|
152
|
+
}),
|
157
153
|
_: 3
|
158
154
|
})], 4)) : createCommentVNode("v-if", true);
|
159
155
|
};
|