super-page-runtime 2.2.19 → 2.2.22

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 (26) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +1 -3
  2. package/dist/es/components/runtime/utils/common-util.js +22 -22
  3. package/dist/es/components/runtime/utils/events/event-util.d.ts +1 -0
  4. package/dist/es/components/runtime/utils/events/event-util.js +124 -116
  5. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -1
  6. package/dist/es/components/runtime/utils/events/standard-event.js +2 -3
  7. package/dist/es/components/runtime/utils/table-utils.js +26 -31
  8. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +6 -6
  9. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +38 -35
  11. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +13 -13
  12. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +4 -4
  13. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +8 -8
  14. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +4 -4
  15. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +8 -8
  16. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +10 -10
  17. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +186 -174
  18. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +42 -42
  19. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +46 -43
  20. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +22 -21
  21. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +56 -53
  22. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +80 -77
  23. package/dist/es/components/runtime/views/home-chart.vue.js +23 -21
  24. package/dist/es/components/runtime/views/super-page.vue.js +95 -94
  25. package/dist/es/style.css +3 -1
  26. package/package.json +2 -2
@@ -1,50 +1,50 @@
1
- import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as a, createElementBlock as i, openBlock as l, createBlock as u, createCommentVNode as s, unref as r } from "vue";
2
- import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as f, gridSelectionChange as d, cellClick as b, cellDblClick as v, rowClick as g, rowDblClick as m, headerClick as h } from "../../../../utils/events/event-util.js";
3
- import { caculateShowCondition as S, setVariableValue as w, getVariableValue as x, getSizeConfig as T } from "../../../../utils/page-helper-util.js";
4
- import { getModelFields as D, getDefaultValue as C } from "../../../../utils/page-init-util.js";
5
- import y from "../../../../utils/eventBus.js";
6
- import { popupToPage as P, getOperationButtons as R } from "../../../../utils/table-utils.js";
7
- import { getListCode as I, getBaseUrl as _ } from "../../../../utils/common-util.js";
8
- import { getAdditionalParamMap as O } from "../../../../utils/events/standard-event.js";
9
- import { getRowStyleUtil as k, getCellStyleUtil as M, getHeaderCellStyleUtil as F } from "../../chart/table/chart-table-util.js";
10
- const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: $2, emit: j }) {
11
- const N = e2, A = N.pageContext;
12
- let H = N.configure;
13
- const E = N.configure.runtime ? N.configure.runtime : {};
14
- A.isTest ? E.value = N.configure.runtime ? N.configure.runtime : {} : A.tableRuntimes && A.tableRuntimes[H.uuid] && (H = JSON.parse(A.tableRuntimes[H.uuid].configure), E.value = H.runtime ? H.runtime : {});
15
- const L = I(A.code, A.version, H.uuid), z = A.entity.data, B = H.code ? H.code : L, U = O(A), G = E && E.events ? E.events : [], V = t([]), J = A.superGridItems, q = J ? J[H.uuid] : null, Q = E.style, W = E.class, K = N.pageContext.entity ? N.pageContext.entity : {};
16
- let X = D(N.configure, B), Y = _(A.backendUrl, A.isTest);
17
- Y || (Y = window.$vueApp.config.globalProperties.baseURL);
18
- const Z = t(false);
19
- let ee = t(0);
20
- const te = t({ isSql: true, subTableData: null, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: A.code, pageVersion: A.version, pageContext: A, configureObj: H, showPageArea: false, showRowForm: false, showOverflowTooltip: !(!H.props || !H.props.otherSettings || void 0 !== H.props.otherSettings.isBreakLine && false !== H.props.otherSettings.isBreakLine), backendUrl: Y, cellStyleRender: function(e3) {
21
- return M(e3, e3.cellStyle, N);
1
+ import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as i, createElementBlock as a, openBlock as l, createBlock as u, createCommentVNode as r, unref as s } from "vue";
2
+ import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as f, gridSelectionChange as d, cellClick as b, cellDblClick as v, rowClick as g, rowDblClick as m, headerClick as h, getHandleEvent as S } from "../../../../utils/events/event-util.js";
3
+ import { caculateShowCondition as w, setVariableValue as T, getVariableValue as x, getSizeConfig as D } from "../../../../utils/page-helper-util.js";
4
+ import { getModelFields as C, getDefaultValue as y } from "../../../../utils/page-init-util.js";
5
+ import P from "../../../../utils/eventBus.js";
6
+ import { popupToPage as I, getOperationButtons as R } from "../../../../utils/table-utils.js";
7
+ import { getListCode as O, getBaseUrl as _ } from "../../../../utils/common-util.js";
8
+ import { getAdditionalParamMap as k } from "../../../../utils/events/standard-event.js";
9
+ import { getRowStyleUtil as M, getCellStyleUtil as F, getHeaderCellStyleUtil as $ } from "../../chart/table/chart-table-util.js";
10
+ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: j2, emit: N }) {
11
+ const A = e2, H = A.pageContext;
12
+ let L = A.configure;
13
+ const B = A.configure.runtime ? A.configure.runtime : {};
14
+ H.isTest ? B.value = A.configure.runtime ? A.configure.runtime : {} : H.tableRuntimes && H.tableRuntimes[L.uuid] && (L = JSON.parse(H.tableRuntimes[L.uuid].configure), B.value = L.runtime ? L.runtime : {});
15
+ const E = O(H.code, H.version, L.uuid), U = H.entity.data, z = L.code ? L.code : E, V = k(H), G = B && B.events ? B.events : [], J = t([]), q = H.superGridItems, K = q ? q[L.uuid] : null, Q = B.style, W = B.class, X = A.pageContext.entity ? A.pageContext.entity : {};
16
+ let Y = C(A.configure, z), Z = _(H.backendUrl, H.isTest);
17
+ Z || (Z = window.$vueApp.config.globalProperties.baseURL);
18
+ const ee = t(false);
19
+ let te = t(0);
20
+ const ne = L.props.dataOrigin.principalLinkage, oe = t({ isSql: true, subTableData: null, rowKeyProp: ne, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: H.code, pageVersion: H.version, pageContext: H, configureObj: L, showPageArea: false, showRowForm: false, showOverflowTooltip: !(!L.props || !L.props.otherSettings || void 0 !== L.props.otherSettings.isBreakLine && false !== L.props.otherSettings.isBreakLine), backendUrl: Z, cellStyleRender: function(e3) {
21
+ return F(e3, e3.cellStyle, A);
22
22
  }, rowStyleRender: function(e3) {
23
- return k(e3, null, N);
23
+ return M(e3, null, A);
24
24
  }, titleStyleRender: function(e3) {
25
- const t2 = e3.titleStyle, n2 = N.configure.style.titleStyle;
26
- return F(e3, { cellTitleStyle: t2, titleStyle: n2 }, N);
27
- } }), ne = j;
28
- Q && (te.value.tableStyle = Q), W && (te.value.tableClass = W), H.props && H.props.base && true === H.props.base.subPaging ? te.value.showPageArea = true : te.value.showPageArea = false, H.props.base.showRowForm && (te.value.showRowForm = H.props.base.showRowForm);
29
- const oe = t(null);
30
- function ae() {
31
- oe.value && (te.value.subTableData = null, oe.value.reloadSubTableData(L));
32
- }
33
- function ie(e3) {
34
- if (void 0 === e3 && (e3 = le()), te.value.isPageInfo = false, te.value.isFormSubTable = true, te.value.canRrefreshSubtableData = e3, te.value.getFormData = ue, te.value.getGridData = se, te.value.extraParam.subTableListViewCode = L, te.value.extraParam.beanName = A.beanName, te.value.extraParam.subtableSetting = H.props && H.props.otherSettings ? JSON.stringify(H.props.otherSettings) : null, te.value.extraParam.additionalParamMap = U, te.value.extraParam.entityMap = A.entity.data, te.value.extraParam.contextMap = A.entity.context, te.value.extraParam.taskMap = A.entity.task, !(H.props && H.props.base && H.props.base.showOperation)) {
35
- let e4 = te.value.hiddenColumns;
36
- e4 ? e4.push("operation") : e4 = ["operation"], te.value.hiddenColumns = e4;
25
+ const t2 = e3.titleStyle, n2 = A.configure.style.titleStyle;
26
+ return $(e3, { cellTitleStyle: t2, titleStyle: n2 }, A);
27
+ } }), ie = N;
28
+ Q && (oe.value.tableStyle = Q), W && (oe.value.tableClass = W), L.props && L.props.base && true === L.props.base.subPaging ? oe.value.showPageArea = true : oe.value.showPageArea = false, L.props.base.showRowForm && (oe.value.showRowForm = L.props.base.showRowForm);
29
+ const ae = t(null);
30
+ function le() {
31
+ ae.value && (oe.value.subTableData = null, ae.value.reloadSubTableData(E));
32
+ }
33
+ function ue(e3) {
34
+ if (void 0 === e3 && (e3 = re()), oe.value.isPageInfo = false, oe.value.isFormSubTable = true, oe.value.canRrefreshSubtableData = e3, oe.value.getFormData = se, oe.value.getGridData = ce, oe.value.extraParam.subTableListViewCode = E, oe.value.extraParam.beanName = H.beanName, oe.value.extraParam.subtableSetting = L.props && L.props.otherSettings ? JSON.stringify(L.props.otherSettings) : null, oe.value.extraParam.additionalParamMap = V, oe.value.extraParam.entityMap = H.entity.data, oe.value.extraParam.contextMap = H.entity.context, oe.value.extraParam.taskMap = H.entity.task, !(L.props && L.props.base && L.props.base.showOperation)) {
35
+ let e4 = oe.value.hiddenColumns;
36
+ e4 ? e4.push("operation") : e4 = ["operation"], oe.value.hiddenColumns = e4;
37
37
  }
38
- te.value.showOperationButton = !(!H.props || !H.props.base) && H.props.base.showOperation, te.value.isPdfEditor = false, te.value.tableRecordMaxNum = H.props && H.props.otherSettings ? H.props.otherSettings.tableRecordMaxNum : null;
39
- let t2 = T(A, H);
40
- t2 && t2.fixHeight && (te.value.formSetHeight = t2.fixHeight), t2 && t2.maxHeight && (te.value.formSetMaxHeight = t2.maxHeight);
38
+ oe.value.showOperationButton = !(!L.props || !L.props.base) && L.props.base.showOperation, oe.value.isPdfEditor = false, oe.value.tableRecordMaxNum = L.props && L.props.otherSettings ? L.props.otherSettings.tableRecordMaxNum : null;
39
+ let t2 = D(H, L);
40
+ t2 && t2.fixHeight && (oe.value.formSetHeight = t2.fixHeight), t2 && t2.maxHeight && (oe.value.formSetMaxHeight = t2.maxHeight);
41
41
  }
42
- function le() {
43
- if (H.props && H.props.otherSettings) {
44
- if (H.props.otherSettings.sourceQueryTableData && H.props.otherSettings.timeToInitializeSubTable && H.props.otherSettings.timeToInitializeSubTable.length > 0) {
42
+ function re() {
43
+ if (L.props && L.props.otherSettings) {
44
+ if (L.props.otherSettings.sourceQueryTableData && L.props.otherSettings.timeToInitializeSubTable && L.props.otherSettings.timeToInitializeSubTable.length > 0) {
45
45
  let e3 = false;
46
- if (-1 !== H.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !z.id && !z.ID), -1 !== H.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
47
- const t2 = z[B];
46
+ if (-1 !== L.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !U.id && !U.ID), -1 !== L.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
47
+ const t2 = U[z];
48
48
  (!t2 || t2.length <= 0) && (e3 = true);
49
49
  }
50
50
  return e3;
@@ -52,208 +52,220 @@ const $ = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
52
52
  return false;
53
53
  }
54
54
  }
55
- function ue() {
56
- return A.entity.data;
57
- }
58
55
  function se() {
59
- return x(K, X);
56
+ return H.entity.data;
60
57
  }
61
- function re(e3) {
62
- ie(e3), te.value.subTableData = null, ce(), Z.value = false, setTimeout(() => {
63
- Z.value = true, ee.value = ee.value + 1, pe();
58
+ function ce() {
59
+ return x(X, Y);
60
+ }
61
+ let pe, fe;
62
+ function de(e3) {
63
+ ue(e3), oe.value.subTableData = null, be(), ee.value = false, pe = setTimeout(() => {
64
+ ee.value = true, te.value = te.value + 1, ve();
64
65
  }, 10);
65
66
  }
66
- function ce() {
67
+ function be() {
67
68
  !function() {
68
- const e4 = A.fieldPermissionMap, t2 = A.actionPermissionMap;
69
+ const e4 = H.fieldPermissionMap, t2 = H.actionPermissionMap;
69
70
  if (e4 && null != e4) {
70
- let t3 = e4.get(B);
71
+ let t3 = e4.get(z);
71
72
  if (!t3) {
72
73
  const n3 = e4.get("all_fields");
73
74
  n3 && (t3 = [n3]);
74
75
  }
75
- te.value.validateRules = t3 || null;
76
+ oe.value.validateRules = t3 || null;
76
77
  }
77
78
  if (t2 && null != t2) {
78
- let e5 = t2.get(B);
79
- e5 || (e5 = t2.get("all_sub_tables")), te.value.actionPermission = e5;
79
+ let e5 = t2.get(z);
80
+ e5 || (e5 = t2.get("all_sub_tables")), oe.value.actionPermission = e5;
80
81
  }
81
- te.value.operations || (te.value.operations = {});
82
+ oe.value.operations || (oe.value.operations = {});
82
83
  const n2 = function() {
83
- let e5 = [], t3 = S(N.pageContext, H.props.base.showOperationCondition);
84
- if (t3 && fe()) {
85
- const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: ge, isShow: de };
84
+ let e5 = [], t3 = w(A.pageContext, L.props.base.showOperationCondition);
85
+ if (t3 && Se()) {
86
+ const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: De, isShow: we };
86
87
  e5.push(t4);
87
88
  }
88
- if (t3 && be(null, null, null, null, null, true)) {
89
- const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: me, isShow: ve };
89
+ if (t3 && Te(null, null, null, null, null, true)) {
90
+ const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: Ce, isShow: xe };
90
91
  e5.push(t4);
91
92
  }
92
- return R(A, H, e5), e5;
93
+ return R(H, L, e5, me), e5;
93
94
  }();
94
- te.value.operations.operation = n2, te.value.subTableCanAdd = fe();
95
- }(), c(te.value, G, A, H);
96
- const e3 = A.customEvents;
97
- e3 && (te.value.eventCallBack = e3), Z.value = true, pe();
98
- }
99
- function pe() {
100
- A.tableUuids || (A.tableUuids = []), A.tableUuids.indexOf(H.uuid) < 0 && A.tableUuids.push(H.uuid);
101
- }
102
- function fe(e3, t2, n2, o2, a2, i2) {
103
- if (!S(N.pageContext, H.props.base.showOperationCondition)) return false;
104
- const l2 = A.fieldPermissionMap, u2 = A.actionPermissionMap;
105
- let s2 = true;
95
+ oe.value.operations.operation = n2, oe.value.subTableCanAdd = Se();
96
+ }(), c(oe.value, G, H, L);
97
+ const e3 = H.customEvents;
98
+ e3 && (oe.value.eventCallBack = e3), ee.value = true, ve();
99
+ }
100
+ function ve() {
101
+ H.tableUuids || (H.tableUuids = []), H.tableUuids.indexOf(L.uuid) < 0 && H.tableUuids.push(L.uuid);
102
+ }
103
+ n(() => {
104
+ const e3 = L.uuid, t2 = H.subTableWatchProps;
105
+ P.$on("_refreshSubTable_" + e3, (n2) => {
106
+ const o2 = n2.propName;
107
+ if (t2 && t2[e3] && t2[e3].length > 0) {
108
+ t2[e3].indexOf(o2) >= 0 && le();
109
+ }
110
+ }), P.$on("_refreshSubTableHandle_" + e3, (e4) => {
111
+ le();
112
+ }), P.$on("_refreshChildData_" + e3, (e4) => {
113
+ !function(e5) {
114
+ Be(e5), fe = setTimeout(() => {
115
+ ae.value && (ae.value.refreshChildData(E, e5, L.props && L.props.base && true === L.props.base.subPaging), oe.value.extraParam.entityMap = H.entity.data);
116
+ }, 10);
117
+ }(e4);
118
+ }), P.$on(E + "-pickFileDone", (e4) => {
119
+ ae.value.pickFileDone(e4);
120
+ }), P.$on(E + "-scanDone", (e4) => {
121
+ ae.value.scanDone(e4);
122
+ }), oe.value && oe.value.configureObj.props.base && oe.value.configureObj.props.base.isSafeDelete && ie("setSafeDeleteTableCode", oe.value.extraParam.tableName);
123
+ }), o(() => {
124
+ pe && clearTimeout(pe), fe && clearTimeout(fe);
125
+ const e3 = L.uuid;
126
+ P.$off("_refreshSubTable_" + e3), P.$off("_refreshSubTableHandle_" + e3), P.$off("_refreshChildData_" + e3), P.$off(E + "-pickFileDone"), P.$off(E + "-scanDone");
127
+ });
128
+ const ge = t({});
129
+ function me(e3) {
130
+ if (!e3) return;
131
+ return ge.value[e3.uuid] = e3, he;
132
+ }
133
+ function he(e3, t2, n2, o2, i2, a2) {
134
+ const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2, id: n2.ID ? n2.ID : n2.id }, u2 = ge.value[a2.sourceButton.uuid], r2 = L;
135
+ u2.props.base.tableUuid = r2.uuid, S(null, H, u2, "click", l2);
136
+ }
137
+ function Se(e3, t2, n2, o2, i2, a2) {
138
+ if (!w(A.pageContext, L.props.base.showOperationCondition)) return false;
139
+ const l2 = H.fieldPermissionMap, u2 = H.actionPermissionMap;
140
+ let r2 = true;
106
141
  if (l2 && null !== l2) {
107
142
  const e4 = l2.get("all_fields");
108
- void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
143
+ void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (r2 = false);
109
144
  }
110
- if (true === s2 && B && u2 && null !== u2) {
111
- let e4 = u2.get(B);
112
- e4 || (e4 = u2.get("all_sub_tables")), e4 && void 0 !== e4.canAdd && false === e4.canAdd && (s2 = false);
145
+ if (true === r2 && z && u2 && null !== u2) {
146
+ let e4 = u2.get(z);
147
+ e4 || (e4 = u2.get("all_sub_tables")), e4 && void 0 !== e4.canAdd && false === e4.canAdd && (r2 = false);
113
148
  }
114
- return s2;
149
+ return r2;
115
150
  }
116
- function de(e3, t2, n2, o2, a2, i2) {
117
- let l2 = fe();
118
- return true === l2 && (l2 = S(N.pageContext, H.props.base.showAddBtnCondition, n2)), l2;
151
+ function we(e3, t2, n2, o2, i2, a2) {
152
+ let l2 = Se();
153
+ return true === l2 && (l2 = w(A.pageContext, L.props.base.showAddBtnCondition, n2)), l2;
119
154
  }
120
- function be(e3, t2, n2, o2, a2, i2) {
121
- const l2 = A.fieldPermissionMap, u2 = A.actionPermissionMap;
122
- let s2 = true;
155
+ function Te(e3, t2, n2, o2, i2, a2) {
156
+ const l2 = H.fieldPermissionMap, u2 = H.actionPermissionMap;
157
+ let r2 = true;
123
158
  if (l2 && null !== l2) {
124
159
  const e4 = l2.get("all_fields");
125
- void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
160
+ void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (r2 = false);
126
161
  }
127
- if (true === s2 && B && u2 && null !== u2) {
128
- let e4 = u2.get(B);
129
- if (e4 || (e4 = u2.get("all_sub_tables")), e4 && void 0 !== e4.canDelete && false === e4.canDelete && (s2 = false), e4 && void 0 !== e4.canDelete && true === e4.canDelete && e4.deleteRowIndexes) if (e4.deleteRowIndexes.length > 0) if (i2) s2 = true;
162
+ if (true === r2 && z && u2 && null !== u2) {
163
+ let e4 = u2.get(z);
164
+ if (e4 || (e4 = u2.get("all_sub_tables")), e4 && void 0 !== e4.canDelete && false === e4.canDelete && (r2 = false), e4 && void 0 !== e4.canDelete && true === e4.canDelete && e4.deleteRowIndexes) if (e4.deleteRowIndexes.length > 0) if (a2) r2 = true;
130
165
  else {
131
166
  const t3 = function(e5) {
132
167
  return e5 && e5.id ? e5.id : e5 && e5.ID ? e5.ID : void 0;
133
168
  }(n2);
134
- s2 = void 0 !== t3 && e4.deleteRowIndexes.indexOf(t3) >= 0;
169
+ r2 = void 0 !== t3 && e4.deleteRowIndexes.indexOf(t3) >= 0;
135
170
  }
136
- else s2 = false;
171
+ else r2 = false;
137
172
  }
138
- return s2;
173
+ return r2;
139
174
  }
140
- function ve(e3, t2, n2, o2, a2, i2) {
141
- let l2 = be(0, 0, n2, 0, 0, i2);
142
- return true === l2 && (l2 = S(N.pageContext, H.props.base.showDeleteBtnCondition, n2)), l2;
175
+ function xe(e3, t2, n2, o2, i2, a2) {
176
+ let l2 = Te(0, 0, n2, 0, 0, a2);
177
+ return true === l2 && (l2 = w(A.pageContext, L.props.base.showDeleteBtnCondition, n2)), l2;
143
178
  }
144
- function ge(e3, t2, n2, o2, a2) {
145
- oe.value.createRow(L, {}, { getDefaultValueFunc: C });
179
+ function De(e3, t2, n2, o2, i2) {
180
+ ae.value.createRow(E, {}, { getDefaultValueFunc: y });
146
181
  }
147
- function me(e3, t2, n2, o2, a2) {
148
- oe.value.deleteRow(a2, L, false);
182
+ function Ce(e3, t2, n2, o2, i2) {
183
+ ae.value.deleteRow(i2, E, false);
149
184
  }
150
- function he(e3) {
151
- w(K, X, e3);
185
+ function ye(e3) {
186
+ T(X, Y, e3);
152
187
  }
153
- function Se(e3) {
154
- A.subTablePageInfo || (A.subTablePageInfo = {}), A.subTablePageInfo[B] = { pageSize: e3 };
188
+ function Pe(e3) {
189
+ H.subTablePageInfo || (H.subTablePageInfo = {}), H.subTablePageInfo[z] = { pageSize: e3 };
155
190
  }
156
- function we(e3) {
191
+ function Ie(e3) {
157
192
  const t2 = e3.key, n2 = e3.value;
158
- A.selectOptions || (A.selectOptions = {}), A.selectOptions[t2] = n2;
193
+ H.selectOptions || (H.selectOptions = {}), H.selectOptions[t2] = n2;
159
194
  }
160
- function xe(e3) {
161
- const t2 = A.code + "_";
162
- y.$emit(t2 + "prohibit-edit", e3);
195
+ function Re(e3) {
196
+ const t2 = H.code + "_";
197
+ P.$emit(t2 + "prohibit-edit", e3);
163
198
  }
164
- function Te(e3) {
165
- const t2 = A.entity.data;
199
+ function Oe(e3) {
200
+ const t2 = H.entity.data;
166
201
  if (e3) for (const n2 in e3) t2[n2] = e3[n2];
167
202
  }
168
- function De(e3, t2) {
203
+ function _e(e3, t2) {
169
204
  if (void 0 !== t2) {
170
- V.value = e3;
171
- p(A, H, { selection: e3, row: t2 });
205
+ J.value = e3;
206
+ p(H, L, { selection: e3, row: t2 });
172
207
  }
173
208
  }
174
- function Ce(e3) {
175
- V.value = e3;
176
- f(A, H, { selection: e3 });
209
+ function ke(e3) {
210
+ J.value = e3;
211
+ f(H, L, { selection: e3 });
177
212
  }
178
- function ye(e3) {
179
- d(A, H, { newSelection: e3 });
213
+ function Me(e3) {
214
+ d(H, L, { newSelection: e3 });
180
215
  }
181
- function Pe(e3, t2, n2, o2) {
182
- b(A, H, { row: e3, column: t2, cell: n2, event: o2 });
216
+ function Fe(e3, t2, n2, o2) {
217
+ b(H, L, { row: e3, column: t2, cell: n2, event: o2 });
183
218
  }
184
- function Re(e3, t2, n2, o2) {
185
- v(A, H, { row: e3, column: t2, cell: n2, event: o2 });
219
+ function $e(e3, t2, n2, o2) {
220
+ v(H, L, { row: e3, column: t2, cell: n2, event: o2 });
186
221
  }
187
- function Ie(e3, t2, n2) {
188
- g(A, H, { row: e3, column: t2, event: n2 });
222
+ function je(e3, t2, n2) {
223
+ g(H, L, { row: e3, column: t2, event: n2 });
189
224
  }
190
- function _e(e3, t2, n2) {
191
- m(A, H, { row: e3, column: t2, event: n2 });
225
+ function Ne(e3, t2, n2) {
226
+ m(H, L, { row: e3, column: t2, event: n2 });
192
227
  }
193
- function Oe(e3, t2) {
194
- h(A, H, { column: e3, event: t2 });
228
+ function Ae(e3, t2) {
229
+ h(H, L, { column: e3, event: t2 });
195
230
  }
196
- function ke(e3) {
197
- A.entity.data = e3;
231
+ function He(e3) {
232
+ H.entity.data = e3;
198
233
  }
199
- function Me() {
200
- return x(K, X);
234
+ function Le() {
235
+ return x(X, Y);
201
236
  }
202
- function Fe(e3) {
203
- return w(K, X, e3);
237
+ function Be(e3) {
238
+ return T(X, Y, e3);
204
239
  }
205
- return n(() => {
206
- const e3 = H.uuid, t2 = A.subTableWatchProps;
207
- y.$on("_refreshSubTable_" + e3, (n2) => {
208
- const o2 = n2.propName;
209
- if (t2 && t2[e3] && t2[e3].length > 0) {
210
- t2[e3].indexOf(o2) >= 0 && ae();
211
- }
212
- }), y.$on("_refreshSubTableHandle_" + e3, (e4) => {
213
- ae();
214
- }), y.$on("_refreshChildData_" + e3, (e4) => {
215
- !function(e5) {
216
- Fe(e5), setTimeout(() => {
217
- oe.value && (oe.value.refreshChildData(L, e5, H.props && H.props.base && true === H.props.base.subPaging), te.value.extraParam.entityMap = A.entity.data);
218
- }, 10);
219
- }(e4);
220
- }), y.$on(L + "-pickFileDone", (e4) => {
221
- oe.value.pickFileDone(e4);
222
- }), y.$on(L + "-scanDone", (e4) => {
223
- oe.value.scanDone(e4);
224
- }), te.value && te.value.configureObj.props.base && te.value.configureObj.props.base.isSafeDelete && ne("setSafeDeleteTableCode", te.value.extraParam.tableName);
225
- }), o(() => {
226
- const e3 = H.uuid;
227
- y.$off("_refreshSubTable_" + e3), y.$off("_refreshSubTableHandle_" + e3), y.$off("_refreshChildData_" + e3), y.$off(L + "-pickFileDone"), y.$off(L + "-scanDone");
228
- }), function() {
229
- const e3 = le();
230
- e3 ? re(e3) : (ie(e3), te.value.isPageInfo = false, te.value.subTableData = Me(), ce());
231
- }(), $2({ createRow: function() {
232
- return oe.value.createRow(L);
240
+ return function() {
241
+ const e3 = re();
242
+ e3 ? de(e3) : (ue(e3), oe.value.isPageInfo = false, oe.value.subTableData = Le(), be());
243
+ }(), j2({ createRow: function() {
244
+ return ae.value.createRow(E);
233
245
  }, getSelections: function() {
234
- return V.value;
246
+ return J.value;
235
247
  }, getSelectionIds: function() {
236
248
  const e3 = [];
237
- return V.value && V.value.forEach((t2) => {
249
+ return J.value && J.value.forEach((t2) => {
238
250
  e3.push(t2.id ? t2.id : t2.ID ? t2.ID : null);
239
251
  }), e3;
240
252
  }, clearSelections: function() {
241
- V.value = [];
253
+ J.value = [];
242
254
  }, getTableConfigure: function() {
243
- return H;
255
+ return L;
244
256
  }, validatorSunTableListData: function() {
245
- return oe.value.validatorSunTableListData();
246
- }, getValue: Me, setValue: Fe, getTableSelectOptions: function() {
247
- if (oe.value) return oe.value.getTableSelectOptions(L);
257
+ return ae.value.validatorSunTableListData();
258
+ }, getValue: Le, setValue: Be, getTableSelectOptions: function() {
259
+ if (ae.value) return ae.value.getTableSelectOptions(E);
248
260
  }, dynamicControlTableEdit: function(e3, t2, n2) {
249
- oe.value && oe.value.dynamicControlTableEdit(e3, t2, n2);
261
+ ae.value && ae.value.dynamicControlTableEdit(e3, t2, n2);
250
262
  }, doLayout: function(e3) {
251
- oe.value && oe.value.doLayout(e3);
263
+ ae.value && ae.value.doLayout(e3);
252
264
  } }), (e3, t2) => {
253
- const n2 = a("super-grid");
254
- return l(), i("div", null, [Z.value ? (l(), u(n2, { key: 0, ref_key: "gridRef", ref: oe, url: r(Y) + "/dsc/commons/sub-table", options: te.value, code: r(L), settings: r(q), onSelect: De, onSelectAll: Ce, onSelectionChange: ye, onCellClick: Pe, onCellDblclick: Re, onRowClick: Ie, onRowDblclick: _e, onHeaderClick: Oe, onFnProhibitToEdit: xe, onChangeGridData: he, onReloadGrid: re, onRefresMainTableFields: Te, onSetSelectOptions: we, onChangeRowsPerPage: Se, onNewOpenGridDialog: r(P), onChangeFormData: ke }, null, 8, ["url", "options", "code", "settings", "onNewOpenGridDialog"])) : s("", true)]);
265
+ const n2 = i("super-grid");
266
+ return l(), a("div", null, [ee.value ? (l(), u(n2, { key: 0, ref_key: "gridRef", ref: ae, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(E), settings: s(K), onSelect: _e, onSelectAll: ke, onSelectionChange: Me, onCellClick: Fe, onCellDblclick: $e, onRowClick: je, onRowDblclick: Ne, onHeaderClick: Ae, onFnProhibitToEdit: Re, onChangeGridData: ye, onReloadGrid: de, onRefresMainTableFields: Oe, onSetSelectOptions: Ie, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(I), onChangeFormData: He }, null, 8, ["url", "options", "code", "settings", "onNewOpenGridDialog"])) : r("", true)]);
255
267
  };
256
268
  } });
257
269
  export {
258
- $ as default
270
+ j as default
259
271
  };
@@ -2,60 +2,60 @@ import { defineComponent as e, ref as l, computed as n, onMounted as o, nextTick
2
2
  import { SuperIcon as T } from "agilebuilder-ui";
3
3
  import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
4
4
  import { setVariableValue as V, getVariableValue as h } from "../../../../utils/page-helper-util.js";
5
- import { handleAfterInitEvent as b, handleFormEvent as w } from "../../../../utils/events/event-util.js";
6
- import { formatScanRuleSets as _, analysisScanValue as j, setScanAnalysisValue as R } from "../../../../utils/form/scan-util.js";
7
- import S from "../common/title-suffix-element.vue.js";
8
- import { isMobileBrowser as P } from "agilebuilder-ui/src/utils/common-util";
9
- import q from "../../../../utils/eventBus.js";
10
- import { $t as z } from "../../../../utils/i18n-util.js";
11
- const D = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: D2 }) {
5
+ import { handleAfterInitEvent as b, handleFormEvent as w, doSuffixOrPrefixClickEvent as _ } from "../../../../utils/events/event-util.js";
6
+ import { formatScanRuleSets as j, analysisScanValue as R, setScanAnalysisValue as S } from "../../../../utils/form/scan-util.js";
7
+ import P from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as q } from "agilebuilder-ui/src/utils/common-util";
9
+ import z from "../../../../utils/eventBus.js";
10
+ import { $t as D } from "../../../../utils/i18n-util.js";
11
+ const L = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: L2 }) {
12
12
  var _a, _b, _c;
13
- const L = e2, B = L.pageContext.entity ? L.pageContext.entity : {};
14
- let N = k(L.pageContext, L.configure);
15
- const O = l(P()), $ = L.pageContext.code, A = l(N && N.length > 0 ? $ + "__" + N.join("__") : null), E = n({ get: () => h(B, N), set(e3) {
16
- e3 = e3.trim(), V(B, N, e3);
17
- } }), F = l(null), J = l(null), M = l(null);
13
+ const B = e2, N = B.pageContext.entity ? B.pageContext.entity : {};
14
+ let O = k(B.pageContext, B.configure);
15
+ const $ = l(q()), A = B.pageContext.code, E = l(O && O.length > 0 ? A + "__" + O.join("__") : null), F = n({ get: () => h(N, O), set(e3) {
16
+ e3 = e3.trim(), V(N, O, e3);
17
+ } }), J = l(null), M = l(null), U = l(null);
18
18
  o(() => {
19
- q.$on(A.value + "-scanDone", (e3) => {
20
- ne(e3.result);
19
+ z.$on(E.value + "-scanDone", (e3) => {
20
+ oe(e3.result);
21
21
  }), u(() => {
22
- const e3 = E.value;
23
- b(e3, L.pageContext, L.configure, { formItemRef: F.value, componentRef: J.value, titleRef: M.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page });
22
+ const e3 = F.value;
23
+ b(e3, B.pageContext, B.configure, { formItemRef: J.value, componentRef: M.value, titleRef: U.value, value: e3, entity: B.pageContext.entity.data, pageData: B.pageContext.entity.page });
24
24
  });
25
25
  }), t(() => {
26
- q.$off(A.value + "-scanDone");
26
+ z.$off(E.value + "-scanDone");
27
27
  });
28
- const U = L.configure.runtime ? L.configure.runtime : {}, W = l(U.props ? U.props : {}), G = l(!!((_a = W.value.scan) == null ? void 0 : _a.enable));
29
- let H;
30
- H = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
31
- const K = !(!O.value || !H || "app" !== H), Q = l(!!(K && G.value || O.value && G.value && "https:" === window.location.protocol));
32
- let X = {};
33
- ((_b = W.value.scan) == null ? void 0 : _b.enable) && ((_c = W.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (_(W.value.scan.ruleList).then((e3) => {
34
- X = e3;
35
- }), a(() => E.value, (e3) => {
36
- const l2 = j(e3, X);
37
- l2 && R(L.pageContext, l2.scanSet, l2.params);
28
+ const W = B.configure.runtime ? B.configure.runtime : {}, G = l(W.props ? W.props : {}), H = l(!!((_a = G.value.scan) == null ? void 0 : _a.enable));
29
+ let K;
30
+ K = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
31
+ const Q = !(!$.value || !K || "app" !== K), X = l(!!(Q && H.value || $.value && H.value && "https:" === window.location.protocol));
32
+ let Y = {};
33
+ ((_b = G.value.scan) == null ? void 0 : _b.enable) && ((_c = G.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (j(G.value.scan.ruleList).then((e3) => {
34
+ Y = e3;
35
+ }), a(() => F.value, (e3) => {
36
+ const l2 = R(e3, Y);
37
+ l2 && S(B.pageContext, l2.scanSet, l2.params);
38
38
  }));
39
- const Y = U.style, Z = U.class, ee = U.headerStyle, le = U.titleExceedStyle;
40
- function ne(e3) {
41
- return V(B, N, e3);
39
+ const Z = W.style, ee = W.class, le = W.headerStyle, ne = W.titleExceedStyle;
40
+ function oe(e3) {
41
+ return V(N, O, e3);
42
42
  }
43
- const oe = l(false);
44
- function ue(e3) {
45
- oe.value = false, ne(e3);
43
+ const ue = l(false);
44
+ function te(e3) {
45
+ ue.value = false, oe(e3);
46
46
  }
47
- return D2({ getValue: function() {
48
- return h(B, N);
49
- }, setValue: ne }), (e3, l2) => {
47
+ return L2({ getValue: function() {
48
+ return h(N, O);
49
+ }, setValue: oe }), (e3, l2) => {
50
50
  const n2 = i("el-input"), o2 = i("scan-code-input-browser"), u2 = i("el-form-item");
51
- return c(), r(u2, { ref_key: "formItemRef", ref: F, required: !!W.value.required, class: s(v(Z)), "label-width": W.value.labelWidth, style: p(v(Y)) }, { label: f(() => [W.value.tittleShow ? (c(), C("div", { key: 0, ref_key: "titleRef", ref: M, style: p({ ...v(ee), ...v(le) }) }, [W.value.prefixType ? (c(), r(S, { key: 0, pageContext: e3.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (c(), C(I, { key: 1 }, [d(x(v(z)(W.value.title)), 1)], 64))], 4)) : m("", true)]), default: f(() => [y(n2, { ref_key: "componentRef", ref: J, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, size: W.value.size, clearable: W.value.clearable, placeholder: W.value.placeholder, maxlength: W.value.maxLength, "show-word-limit": W.value.showInputNum, modelValue: E.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => E.value = e4), onInput: l2[6] || (l2[6] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "input")), onChange: l2[7] || (l2[7] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "change")), onBlur: l2[8] || (l2[8] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "blur")), onFocus: l2[9] || (l2[9] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "focus")), onClick: l2[10] || (l2[10] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "click")) }, g({ _: 2 }, ["outer" != W.value.iconPosition && (W.value.preIconType && W.value.preIconValue || W.value.preText) ? { name: "prefix", fn: f(() => [W.value.preIconType && W.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue, onClick: l2[0] || (l2[0] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.preText)), 1)]), key: "0" } : void 0, "outer" == W.value.iconPosition && (W.value.preIconType && W.value.preIconValue || W.value.preText) ? { name: "prepend", fn: f(() => [W.value.preIconType && W.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue, onClick: l2[1] || (l2[1] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.preText)), 1)]), key: "1" } : void 0, "outer" != W.value.iconPosition && (W.value.sufIconType && W.value.sufIconValue || W.value.sufText) ? { name: "suffix", fn: f(() => [W.value.sufIconType && W.value.sufIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue, onClick: l2[2] || (l2[2] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.sufText)), 1)]), key: "2" } : void 0, Q.value || "outer" == W.value.iconPosition && (W.value.sufIconType && W.value.sufIconValue || W.value.sufText) ? { name: "append", fn: f(() => [Q.value ? (c(), r(v(T), { key: 0, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e4) => function() {
52
- if (K) {
53
- const e5 = { type: "scan", componentId: A.value, systemCode: L.pageContext.systemCode };
51
+ return c(), r(u2, { ref_key: "formItemRef", ref: J, required: !!G.value.required, class: s(v(ee)), "label-width": G.value.labelWidth, style: p(v(Z)) }, { label: f(() => [G.value.tittleShow ? (c(), C("div", { key: 0, ref_key: "titleRef", ref: U, style: p({ ...v(le), ...v(ne) }) }, [G.value.prefixType ? (c(), r(P, { key: 0, pageContext: e3.pageContext, property: G.value }, null, 8, ["pageContext", "property"])) : (c(), C(I, { key: 1 }, [d(x(v(D)(G.value.title)), 1)], 64))], 4)) : m("", true)]), default: f(() => [y(n2, { ref_key: "componentRef", ref: M, disabled: "disabled" === G.value.state, readonly: "readonly" === G.value.state, size: G.value.size, clearable: G.value.clearable, placeholder: G.value.placeholder, maxlength: G.value.maxLength, "show-word-limit": G.value.showInputNum, modelValue: F.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => F.value = e4), onInput: l2[6] || (l2[6] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "input")), onChange: l2[7] || (l2[7] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "change")), onBlur: l2[8] || (l2[8] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "blur")), onFocus: l2[9] || (l2[9] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "focus")), onClick: l2[10] || (l2[10] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "click")) }, g({ _: 2 }, ["outer" != G.value.iconPosition && (G.value.preIconType && G.value.preIconValue || G.value.preText) ? { name: "prefix", fn: f(() => [G.value.preIconType && G.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.preIconType, iconValue: G.value.preIconValue, onClick: l2[0] || (l2[0] = (l3) => v(_)(F.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(D)(G.value.preText)), 1)]), key: "0" } : void 0, "outer" == G.value.iconPosition && (G.value.preIconType && G.value.preIconValue || G.value.preText) ? { name: "prepend", fn: f(() => [G.value.preIconType && G.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.preIconType, iconValue: G.value.preIconValue, onClick: l2[1] || (l2[1] = (l3) => v(_)(F.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(D)(G.value.preText)), 1)]), key: "1" } : void 0, "outer" != G.value.iconPosition && (G.value.sufIconType && G.value.sufIconValue || G.value.sufText) ? { name: "suffix", fn: f(() => [G.value.sufIconType && G.value.sufIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.sufIconType, iconValue: G.value.sufIconValue, onClick: l2[2] || (l2[2] = (l3) => v(_)(F.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(D)(G.value.sufText)), 1)]), key: "2" } : void 0, X.value || "outer" == G.value.iconPosition && (G.value.sufIconType && G.value.sufIconValue || G.value.sufText) ? { name: "append", fn: f(() => [X.value ? (c(), r(v(T), { key: 0, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e4) => function() {
52
+ if (Q) {
53
+ const e5 = { type: "scan", componentId: E.value, systemCode: B.pageContext.systemCode };
54
54
  window.parent.postMessage(JSON.stringify(e5), "*");
55
- } else oe.value = true;
56
- }()) })) : m("", true), W.value.sufIconType && W.value.sufIconValue ? (c(), r(v(T), { key: 1, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue, onClick: l2[4] || (l2[4] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"]), oe.value ? (c(), r(o2, { key: 0, onClose: ue })) : m("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
55
+ } else ue.value = true;
56
+ }()) })) : m("", true), G.value.sufIconType && G.value.sufIconValue ? (c(), r(v(T), { key: 1, iconType: G.value.sufIconType, iconValue: G.value.sufIconValue, onClick: l2[4] || (l2[4] = (l3) => v(_)(F.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(D)(G.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"]), ue.value ? (c(), r(o2, { key: 0, onClose: te })) : m("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
57
57
  };
58
58
  } });
59
59
  export {
60
- D as default
60
+ L as default
61
61
  };