duck-vue-components 0.2.0 → 0.2.2
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/constants.cjs +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/{controls-B7qU1vjR.cjs → controls-DORSbC6g.cjs} +180 -107
- package/dist/{controls-BXlqLD72.js → controls-Dqd6AD6_.js} +114 -64
- package/dist/controls.cjs +7 -1
- package/dist/controls.d.cts +2 -2
- package/dist/controls.d.ts +2 -2
- package/dist/controls.js +2 -2
- package/dist/hooks.cjs +2 -2
- package/dist/{index-DZ1BE9W4.d.cts → index-CHT-pkrY.d.cts} +117 -99
- package/dist/index-CmiTP4nh.d.cts +804 -0
- package/dist/index-CpIVvKpt.d.ts +804 -0
- package/dist/{index-wNtoh5Kh.d.ts → index-DiJRuXzE.d.ts} +113 -97
- package/dist/index.cjs +4 -12
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -3
- package/dist/{locale-DTHxb_wp.cjs → locale-BTmar3YP.cjs} +44 -2
- package/dist/locale.cjs +1 -1
- package/dist/pages.cjs +1638 -0
- package/dist/pages.d.cts +36 -0
- package/dist/pages.d.ts +36 -0
- package/dist/pages.js +1627 -0
- package/dist/stores.cjs +6 -6
- package/dist/stores.d.cts +1 -803
- package/dist/stores.d.ts +1 -803
- package/dist/style.css +12 -0
- package/dist/{utils-D8ZjYN3B.cjs → utils-D_H_FuDE.cjs} +5 -6
- package/dist/utils.cjs +2 -2
- package/dist/utils.d.cts +1 -1
- package/package.json +6 -5
- package/dist/chunk-CZWwpsFl.cjs +0 -43
- package/dist/config.cjs +0 -10
- package/dist/config.d.cts +0 -2
- package/dist/config.d.ts +0 -2
- package/dist/config.js +0 -5
- /package/dist/{constants-CnfPtVsT.cjs → constants-Djb2MLAv.cjs} +0 -0
- /package/dist/{index-BCxPeUAH.d.cts → index-1Pf2-Oor.d.cts} +0 -0
- /package/dist/{index-DmYlGe4I.d.cts → index-DbRrwdMu.d.cts} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_utils = require("./utils-
|
|
3
|
-
const require_locale = require("./locale-DTHxb_wp.cjs");
|
|
1
|
+
const require_locale = require("./locale-BTmar3YP.cjs");
|
|
2
|
+
const require_utils = require("./utils-D_H_FuDE.cjs");
|
|
4
3
|
const require_stores = require("./stores.cjs");
|
|
5
4
|
const require_hooks = require("./hooks.cjs");
|
|
6
5
|
let element_plus = require("element-plus");
|
|
@@ -8,12 +7,12 @@ let pinia = require("pinia");
|
|
|
8
7
|
let vue = require("vue");
|
|
9
8
|
let lodash_es = require("lodash-es");
|
|
10
9
|
let axios = require("axios");
|
|
11
|
-
axios =
|
|
10
|
+
axios = require_locale.__toESM(axios);
|
|
12
11
|
let js_cookie = require("js-cookie");
|
|
13
|
-
js_cookie =
|
|
12
|
+
js_cookie = require_locale.__toESM(js_cookie);
|
|
14
13
|
let _element_plus_icons_vue = require("@element-plus/icons-vue");
|
|
15
14
|
let sortablejs = require("sortablejs");
|
|
16
|
-
sortablejs =
|
|
15
|
+
sortablejs = require_locale.__toESM(sortablejs);
|
|
17
16
|
//#region src/packages/controls/MyButton/MyButton.vue?vue&type=script&setup=true&lang.ts
|
|
18
17
|
var MyButton_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
19
18
|
__name: "MyButton",
|
|
@@ -49,8 +48,8 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
49
48
|
var MyButton_default = /* @__PURE__ */ _plugin_vue_export_helper_default(MyButton_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-8d6f1d45"]]);
|
|
50
49
|
//#endregion
|
|
51
50
|
//#region src/packages/controls/affix/affix.vue?vue&type=script&setup=true&lang.ts
|
|
52
|
-
const _hoisted_1$
|
|
53
|
-
const _hoisted_2$
|
|
51
|
+
const _hoisted_1$25 = ["innerHTML"];
|
|
52
|
+
const _hoisted_2$24 = { key: 2 };
|
|
54
53
|
//#endregion
|
|
55
54
|
//#region src/packages/controls/affix/affix.vue
|
|
56
55
|
var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -86,7 +85,7 @@ var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
86
85
|
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
87
86
|
key: 1,
|
|
88
87
|
innerHTML: __props.control.default
|
|
89
|
-
}, null, 8, _hoisted_1$
|
|
88
|
+
}, null, 8, _hoisted_1$25)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$24, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
90
89
|
key: "0"
|
|
91
90
|
} : void 0]), 1040);
|
|
92
91
|
};
|
|
@@ -94,12 +93,12 @@ var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
94
93
|
});
|
|
95
94
|
//#endregion
|
|
96
95
|
//#region src/packages/controls/affix/affix.ts
|
|
97
|
-
var affix_exports = /* @__PURE__ */
|
|
98
|
-
Template: () => Template$
|
|
99
|
-
init: () => init$
|
|
96
|
+
var affix_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
97
|
+
Template: () => Template$34,
|
|
98
|
+
init: () => init$37
|
|
100
99
|
});
|
|
101
|
-
const Template$
|
|
102
|
-
function init$
|
|
100
|
+
const Template$34 = require_utils.withInstall(affix_default);
|
|
101
|
+
function init$37(moduleName, name, options = {}) {
|
|
103
102
|
return {
|
|
104
103
|
moduleName,
|
|
105
104
|
name,
|
|
@@ -108,8 +107,8 @@ function init$36(moduleName, name, options = {}) {
|
|
|
108
107
|
}
|
|
109
108
|
//#endregion
|
|
110
109
|
//#region src/packages/controls/autocomplete/autocomplete.vue?vue&type=script&setup=true&lang.ts
|
|
111
|
-
const _hoisted_1$
|
|
112
|
-
const _hoisted_2$
|
|
110
|
+
const _hoisted_1$24 = ["innerHTML"];
|
|
111
|
+
const _hoisted_2$23 = { key: 2 };
|
|
113
112
|
const _hoisted_3$19 = ["innerHTML"];
|
|
114
113
|
const _hoisted_4$15 = { key: 2 };
|
|
115
114
|
const _hoisted_5$12 = ["innerHTML"];
|
|
@@ -156,7 +155,7 @@ var autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
156
155
|
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
157
156
|
key: 1,
|
|
158
157
|
innerHTML: __props.control.default
|
|
159
|
-
}, null, 8, _hoisted_1$
|
|
158
|
+
}, null, 8, _hoisted_1$24)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$23, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
160
159
|
key: "0"
|
|
161
160
|
} : void 0,
|
|
162
161
|
__props.control?.loadingSlot ? {
|
|
@@ -205,13 +204,13 @@ var autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
205
204
|
});
|
|
206
205
|
//#endregion
|
|
207
206
|
//#region src/packages/controls/autocomplete/autocomplete.ts
|
|
208
|
-
var autocomplete_exports = /* @__PURE__ */
|
|
209
|
-
Template: () => Template$
|
|
210
|
-
init: () => init$
|
|
207
|
+
var autocomplete_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
208
|
+
Template: () => Template$33,
|
|
209
|
+
init: () => init$36
|
|
211
210
|
});
|
|
212
211
|
const { t: t$2 } = require_locale.i18n.global;
|
|
213
|
-
const Template$
|
|
214
|
-
function init$
|
|
212
|
+
const Template$33 = require_utils.withInstall(autocomplete_default);
|
|
213
|
+
function init$36(moduleName, name, options = {}) {
|
|
215
214
|
return {
|
|
216
215
|
name,
|
|
217
216
|
placeholder: t$2("controls.pleaseInput") + t$2(moduleName ? `${moduleName}.${name}` : name),
|
|
@@ -220,8 +219,8 @@ function init$35(moduleName, name, options = {}) {
|
|
|
220
219
|
}
|
|
221
220
|
//#endregion
|
|
222
221
|
//#region src/packages/controls/button/button.vue?vue&type=script&setup=true&lang.ts
|
|
223
|
-
const _hoisted_1$
|
|
224
|
-
const _hoisted_2$
|
|
222
|
+
const _hoisted_1$23 = ["innerHTML"];
|
|
223
|
+
const _hoisted_2$22 = { key: 2 };
|
|
225
224
|
const _hoisted_3$18 = ["innerHTML"];
|
|
226
225
|
const _hoisted_4$14 = { key: 2 };
|
|
227
226
|
const _hoisted_5$11 = ["innerHTML"];
|
|
@@ -236,10 +235,15 @@ var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
236
235
|
} },
|
|
237
236
|
emits: ["click"],
|
|
238
237
|
setup(__props, { emit: __emit }) {
|
|
238
|
+
const { system } = (0, pinia.storeToRefs)(require_stores.useLocalSettingStore());
|
|
239
239
|
const props = __props;
|
|
240
240
|
const buttonProps = (0, vue.computed)(() => {
|
|
241
241
|
const { default: _default, iconSlot, loadingSlot, suffixIcon, ...rest } = props.control;
|
|
242
|
-
return {
|
|
242
|
+
return {
|
|
243
|
+
plain: system.value.button.plain,
|
|
244
|
+
round: system.value.button.round,
|
|
245
|
+
...rest
|
|
246
|
+
};
|
|
243
247
|
});
|
|
244
248
|
const label = (0, vue.computed)(() => {
|
|
245
249
|
const { moduleName, name, label } = props.control;
|
|
@@ -264,7 +268,7 @@ var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
264
268
|
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)((0, vue.markRaw)(__props.control.default)), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
265
269
|
key: 1,
|
|
266
270
|
innerHTML: __props.control.default
|
|
267
|
-
}, null, 8, _hoisted_1$
|
|
271
|
+
}, null, 8, _hoisted_1$23)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$22, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
268
272
|
key: "1"
|
|
269
273
|
} : __props.control.separator ? {
|
|
270
274
|
name: "default",
|
|
@@ -318,12 +322,12 @@ var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
318
322
|
}), [["__scopeId", "data-v-2741bf9a"]]);
|
|
319
323
|
//#endregion
|
|
320
324
|
//#region src/packages/controls/button/button.ts
|
|
321
|
-
var button_exports = /* @__PURE__ */
|
|
322
|
-
Template: () => Template$
|
|
323
|
-
init: () => init$
|
|
325
|
+
var button_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
326
|
+
Template: () => Template$32,
|
|
327
|
+
init: () => init$35
|
|
324
328
|
});
|
|
325
|
-
const Template$
|
|
326
|
-
function init$
|
|
329
|
+
const Template$32 = require_utils.withInstall(button_default);
|
|
330
|
+
function init$35(moduleName, name, options) {
|
|
327
331
|
return {
|
|
328
332
|
moduleName,
|
|
329
333
|
name,
|
|
@@ -398,8 +402,8 @@ var buttonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
398
402
|
});
|
|
399
403
|
//#endregion
|
|
400
404
|
//#region src/packages/controls/popconfirm/popconfirm.vue?vue&type=script&setup=true&lang.ts
|
|
401
|
-
const _hoisted_1$
|
|
402
|
-
const _hoisted_2$
|
|
405
|
+
const _hoisted_1$22 = ["innerHTML"];
|
|
406
|
+
const _hoisted_2$21 = ["innerHTML"];
|
|
403
407
|
const _hoisted_3$17 = { key: 2 };
|
|
404
408
|
//#endregion
|
|
405
409
|
//#region src/packages/controls/popconfirm/popconfirm.vue
|
|
@@ -444,14 +448,14 @@ var popconfirm_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
444
448
|
actions: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.actions) && !(0, vue.unref)(require_utils.isHTML)(__props.control.actions) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.actions), { key: 0 })) : typeof __props.control.actions === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.actions) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
445
449
|
key: 1,
|
|
446
450
|
innerHTML: __props.control.actions
|
|
447
|
-
}, null, 8, _hoisted_2$
|
|
451
|
+
}, null, 8, _hoisted_2$21)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$17, (0, vue.toDisplayString)(__props.control.actions), 1))]),
|
|
448
452
|
_: 2
|
|
449
453
|
}, [__props.control.reference ? {
|
|
450
454
|
name: "reference",
|
|
451
455
|
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.reference) && !(0, vue.unref)(require_utils.isHTML)(__props.control.reference) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.reference), { key: 0 })) : typeof __props.control.reference === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.reference) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
452
456
|
key: 1,
|
|
453
457
|
innerHTML: __props.control.reference
|
|
454
|
-
}, null, 8, _hoisted_1$
|
|
458
|
+
}, null, 8, _hoisted_1$22)) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(button_exports).Template, {
|
|
455
459
|
key: 2,
|
|
456
460
|
control: buttonProps.value
|
|
457
461
|
}, null, 8, ["control"]))]),
|
|
@@ -466,14 +470,14 @@ var popconfirm_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
466
470
|
});
|
|
467
471
|
//#endregion
|
|
468
472
|
//#region src/packages/controls/popconfirm/popconfirm.ts
|
|
469
|
-
var popconfirm_exports = /* @__PURE__ */
|
|
470
|
-
Template: () => Template$
|
|
471
|
-
init: () => init$
|
|
473
|
+
var popconfirm_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
474
|
+
Template: () => Template$31,
|
|
475
|
+
init: () => init$34
|
|
472
476
|
});
|
|
473
|
-
const Template$
|
|
474
|
-
function init$
|
|
477
|
+
const Template$31 = require_utils.withInstall(popconfirm_default);
|
|
478
|
+
function init$34(moduleName, name, options = {}) {
|
|
475
479
|
const label = options?.label ?? require_locale.t(`${moduleName}.${name}`);
|
|
476
|
-
const button = options?.button ?? init$
|
|
480
|
+
const button = options?.button ?? init$35(moduleName, name, {
|
|
477
481
|
text: options?.text ?? false,
|
|
478
482
|
label,
|
|
479
483
|
icon: options?.icon,
|
|
@@ -577,14 +581,14 @@ var dropdown_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
577
581
|
});
|
|
578
582
|
//#endregion
|
|
579
583
|
//#region src/packages/controls/dropdown/dropdown.ts
|
|
580
|
-
var dropdown_exports = /* @__PURE__ */
|
|
581
|
-
Template: () => Template$
|
|
582
|
-
init: () => init$
|
|
584
|
+
var dropdown_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
585
|
+
Template: () => Template$30,
|
|
586
|
+
init: () => init$33
|
|
583
587
|
});
|
|
584
|
-
const Template$
|
|
585
|
-
function init$
|
|
588
|
+
const Template$30 = require_utils.withInstall(dropdown_default);
|
|
589
|
+
function init$33(moduleName, name, options) {
|
|
586
590
|
const items = (0, vue.reactive)(options?.items ?? []);
|
|
587
|
-
const button = options?.button ?? init$
|
|
591
|
+
const button = options?.button ?? init$35(moduleName, name, {
|
|
588
592
|
suffixIcon: _element_plus_icons_vue.ArrowDown,
|
|
589
593
|
text: options?.text ?? false,
|
|
590
594
|
disabled: options?.disabled ?? false,
|
|
@@ -614,18 +618,18 @@ function init$32(moduleName, name, options) {
|
|
|
614
618
|
}
|
|
615
619
|
//#endregion
|
|
616
620
|
//#region src/packages/controls/buttonGroup/buttonGroup.ts
|
|
617
|
-
var buttonGroup_exports = /* @__PURE__ */
|
|
618
|
-
Template: () => Template$
|
|
621
|
+
var buttonGroup_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
622
|
+
Template: () => Template$29,
|
|
619
623
|
createComponent: () => createComponent$3,
|
|
620
|
-
init: () => init$
|
|
624
|
+
init: () => init$32
|
|
621
625
|
});
|
|
622
|
-
const Template$
|
|
626
|
+
const Template$29 = require_utils.withInstall(buttonGroup_default);
|
|
623
627
|
const componentMap = {
|
|
624
628
|
button: button_exports,
|
|
625
629
|
popconfirm: popconfirm_exports,
|
|
626
630
|
dropdown: dropdown_exports
|
|
627
631
|
};
|
|
628
|
-
function init$
|
|
632
|
+
function init$32(moduleName, options) {
|
|
629
633
|
const localSetting = require_stores.useLocalSettingStore();
|
|
630
634
|
const controls = (0, vue.reactive)(options?.controls ?? []);
|
|
631
635
|
const buttonsArea = options?.buttonsArea ?? "custom";
|
|
@@ -687,8 +691,8 @@ function createComponent$3(controlType, moduleName, name, options, items) {
|
|
|
687
691
|
}
|
|
688
692
|
//#endregion
|
|
689
693
|
//#region src/packages/controls/dialog/dialog.vue?vue&type=script&setup=true&lang.ts
|
|
690
|
-
const _hoisted_1$
|
|
691
|
-
const _hoisted_2$
|
|
694
|
+
const _hoisted_1$21 = ["innerHTML"];
|
|
695
|
+
const _hoisted_2$20 = { key: 2 };
|
|
692
696
|
const _hoisted_3$16 = ["innerHTML"];
|
|
693
697
|
const _hoisted_4$13 = { key: 2 };
|
|
694
698
|
//#endregion
|
|
@@ -852,7 +856,7 @@ var dialog_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
852
856
|
}, null, 512)) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
853
857
|
key: 1,
|
|
854
858
|
innerHTML: __props.control.default
|
|
855
|
-
}, null, 8, _hoisted_1$
|
|
859
|
+
}, null, 8, _hoisted_1$21)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$20, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
856
860
|
key: "1"
|
|
857
861
|
} : void 0, _ctx.$slots.footer ? {
|
|
858
862
|
name: "footer",
|
|
@@ -881,12 +885,12 @@ var dialog_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
881
885
|
});
|
|
882
886
|
//#endregion
|
|
883
887
|
//#region src/packages/controls/dialog/dialog.ts
|
|
884
|
-
var dialog_exports = /* @__PURE__ */
|
|
888
|
+
var dialog_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
885
889
|
DIALOG_FORM_INJECTION_KEY: () => DIALOG_FORM_INJECTION_KEY,
|
|
886
|
-
Template: () => Template$
|
|
887
|
-
init: () => init$
|
|
890
|
+
Template: () => Template$28,
|
|
891
|
+
init: () => init$31
|
|
888
892
|
});
|
|
889
|
-
const Template$
|
|
893
|
+
const Template$28 = require_utils.withInstall(dialog_default$1);
|
|
890
894
|
function createButtonClickHandler(formRef, dialogControl) {
|
|
891
895
|
return (buttonName, event) => {
|
|
892
896
|
switch (buttonName.name) {
|
|
@@ -938,7 +942,7 @@ const closeDialog = (dialogControl, done) => {
|
|
|
938
942
|
else handleClose();
|
|
939
943
|
};
|
|
940
944
|
const DIALOG_FORM_INJECTION_KEY = Symbol("dialog-form");
|
|
941
|
-
function init$
|
|
945
|
+
function init$31(name, templateName, buttons, options = {}) {
|
|
942
946
|
const dialogControl = (0, vue.reactive)({
|
|
943
947
|
name,
|
|
944
948
|
buttons,
|
|
@@ -990,6 +994,50 @@ function init$30(name, templateName, buttons, options = {}) {
|
|
|
990
994
|
return dialogControl;
|
|
991
995
|
}
|
|
992
996
|
//#endregion
|
|
997
|
+
//#region src/packages/controls/divider/divider.vue?vue&type=script&setup=true&lang.ts
|
|
998
|
+
const _hoisted_1$20 = ["innerHTML"];
|
|
999
|
+
const _hoisted_2$19 = { key: 2 };
|
|
1000
|
+
//#endregion
|
|
1001
|
+
//#region src/packages/controls/divider/divider.vue
|
|
1002
|
+
var divider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
1003
|
+
__name: "divider",
|
|
1004
|
+
props: { control: {
|
|
1005
|
+
type: Object,
|
|
1006
|
+
required: true
|
|
1007
|
+
} },
|
|
1008
|
+
setup(__props) {
|
|
1009
|
+
const props = __props;
|
|
1010
|
+
const dividerProps = (0, vue.computed)(() => {
|
|
1011
|
+
const { default: _default, ...rest } = props.control;
|
|
1012
|
+
return rest;
|
|
1013
|
+
});
|
|
1014
|
+
return (_ctx, _cache) => {
|
|
1015
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElDivider), (0, vue.normalizeProps)((0, vue.guardReactiveProps)(dividerProps.value)), {
|
|
1016
|
+
default: (0, vue.withCtx)(() => [__props.control?.default ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
1017
|
+
key: 1,
|
|
1018
|
+
innerHTML: __props.control.default
|
|
1019
|
+
}, null, 8, _hoisted_1$20)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$19, (0, vue.toDisplayString)(__props.control.default), 1))], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.control?.text ?? (0, vue.unref)(require_locale.t)(`${__props.control.moduleName}.${__props.control.name}`)), 1)], 64))]),
|
|
1020
|
+
_: 1
|
|
1021
|
+
}, 16);
|
|
1022
|
+
};
|
|
1023
|
+
}
|
|
1024
|
+
});
|
|
1025
|
+
//#endregion
|
|
1026
|
+
//#region src/packages/controls/divider/divider.ts
|
|
1027
|
+
var divider_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1028
|
+
Template: () => Template$27,
|
|
1029
|
+
init: () => init$30
|
|
1030
|
+
});
|
|
1031
|
+
const Template$27 = require_utils.withInstall(divider_default);
|
|
1032
|
+
function init$30(moduleName, name, options = {}) {
|
|
1033
|
+
return {
|
|
1034
|
+
moduleName,
|
|
1035
|
+
name,
|
|
1036
|
+
...options,
|
|
1037
|
+
controlType: "divider"
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
//#endregion
|
|
993
1041
|
//#region src/packages/controls/input/input.vue?vue&type=script&setup=true&lang.ts
|
|
994
1042
|
const _hoisted_1$19 = {
|
|
995
1043
|
class: "minput-box",
|
|
@@ -1360,7 +1408,7 @@ var input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1360
1408
|
});
|
|
1361
1409
|
//#endregion
|
|
1362
1410
|
//#region src/packages/controls/input/input.ts
|
|
1363
|
-
var input_exports = /* @__PURE__ */
|
|
1411
|
+
var input_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1364
1412
|
Template: () => Template$26,
|
|
1365
1413
|
init: () => init$29
|
|
1366
1414
|
});
|
|
@@ -1685,7 +1733,7 @@ var select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1685
1733
|
});
|
|
1686
1734
|
//#endregion
|
|
1687
1735
|
//#region src/packages/controls/select/select.ts
|
|
1688
|
-
var select_exports = /* @__PURE__ */
|
|
1736
|
+
var select_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1689
1737
|
Template: () => Template$25,
|
|
1690
1738
|
init: () => init$28
|
|
1691
1739
|
});
|
|
@@ -1812,7 +1860,7 @@ var inputTag_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1812
1860
|
});
|
|
1813
1861
|
//#endregion
|
|
1814
1862
|
//#region src/packages/controls/inputTag/inputTag.ts
|
|
1815
|
-
var inputTag_exports = /* @__PURE__ */
|
|
1863
|
+
var inputTag_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1816
1864
|
Template: () => Template$24,
|
|
1817
1865
|
init: () => init$27
|
|
1818
1866
|
});
|
|
@@ -1915,7 +1963,7 @@ var inputNumber_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1915
1963
|
});
|
|
1916
1964
|
//#endregion
|
|
1917
1965
|
//#region src/packages/controls/inputNumber/inputNumber.ts
|
|
1918
|
-
var inputNumber_exports = /* @__PURE__ */
|
|
1966
|
+
var inputNumber_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1919
1967
|
Template: () => Template$23,
|
|
1920
1968
|
init: () => init$26
|
|
1921
1969
|
});
|
|
@@ -2148,7 +2196,7 @@ var radio_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
2148
2196
|
}), [["__scopeId", "data-v-951be839"]]);
|
|
2149
2197
|
//#endregion
|
|
2150
2198
|
//#region src/packages/controls/radio/radio.ts
|
|
2151
|
-
var radio_exports = /* @__PURE__ */
|
|
2199
|
+
var radio_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2152
2200
|
Template: () => Template$22,
|
|
2153
2201
|
init: () => init$25
|
|
2154
2202
|
});
|
|
@@ -2191,7 +2239,7 @@ var mergeInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2191
2239
|
const componentMap = (0, vue.markRaw)({
|
|
2192
2240
|
"input": Template$26,
|
|
2193
2241
|
"inputNumber": Template$23,
|
|
2194
|
-
"autocomplete": Template$
|
|
2242
|
+
"autocomplete": Template$33,
|
|
2195
2243
|
"inputTag": Template$24
|
|
2196
2244
|
});
|
|
2197
2245
|
const props = __props;
|
|
@@ -2210,7 +2258,7 @@ var mergeInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2210
2258
|
});
|
|
2211
2259
|
//#endregion
|
|
2212
2260
|
//#region src/packages/controls/mergeInput/mergeInput.ts
|
|
2213
|
-
var mergeInput_exports = /* @__PURE__ */
|
|
2261
|
+
var mergeInput_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2214
2262
|
Template: () => Template$21,
|
|
2215
2263
|
init: () => init$24
|
|
2216
2264
|
});
|
|
@@ -2224,7 +2272,7 @@ function init$24(moduleName, name, options = {}) {
|
|
|
2224
2272
|
};
|
|
2225
2273
|
case "autocomplete": return {
|
|
2226
2274
|
inputType,
|
|
2227
|
-
...init$
|
|
2275
|
+
...init$36(moduleName, name, restOptions)
|
|
2228
2276
|
};
|
|
2229
2277
|
case "inputTag": return {
|
|
2230
2278
|
inputType,
|
|
@@ -2291,7 +2339,7 @@ var switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2291
2339
|
});
|
|
2292
2340
|
//#endregion
|
|
2293
2341
|
//#region src/packages/controls/switch/switch.ts
|
|
2294
|
-
var switch_exports = /* @__PURE__ */
|
|
2342
|
+
var switch_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2295
2343
|
Template: () => Template$20,
|
|
2296
2344
|
init: () => init$23
|
|
2297
2345
|
});
|
|
@@ -2403,7 +2451,7 @@ var image_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2403
2451
|
});
|
|
2404
2452
|
//#endregion
|
|
2405
2453
|
//#region src/packages/controls/image/image.ts
|
|
2406
|
-
var image_exports = /* @__PURE__ */
|
|
2454
|
+
var image_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2407
2455
|
Template: () => Template$19,
|
|
2408
2456
|
init: () => init$22
|
|
2409
2457
|
});
|
|
@@ -2837,7 +2885,7 @@ var mergeSelect_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
2837
2885
|
}), [["__scopeId", "data-v-2e1c19cc"]]);
|
|
2838
2886
|
//#endregion
|
|
2839
2887
|
//#region src/packages/controls/mergeSelect/mergeSelect.ts
|
|
2840
|
-
var mergeSelect_exports = /* @__PURE__ */
|
|
2888
|
+
var mergeSelect_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2841
2889
|
Template: () => Template$18,
|
|
2842
2890
|
init: () => init$21
|
|
2843
2891
|
});
|
|
@@ -2917,7 +2965,7 @@ var slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2917
2965
|
});
|
|
2918
2966
|
//#endregion
|
|
2919
2967
|
//#region src/packages/controls/slider/slider.ts
|
|
2920
|
-
var slider_exports = /* @__PURE__ */
|
|
2968
|
+
var slider_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2921
2969
|
Template: () => Template$17,
|
|
2922
2970
|
init: () => init$20
|
|
2923
2971
|
});
|
|
@@ -3184,7 +3232,7 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
|
|
|
3184
3232
|
}), [["__scopeId", "data-v-df47fe76"]]);
|
|
3185
3233
|
//#endregion
|
|
3186
3234
|
//#region src/packages/controls/map/map.ts
|
|
3187
|
-
var map_exports = /* @__PURE__ */
|
|
3235
|
+
var map_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
3188
3236
|
Template: () => Template$16,
|
|
3189
3237
|
init: () => init$19
|
|
3190
3238
|
});
|
|
@@ -3507,7 +3555,7 @@ var pagination_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3507
3555
|
});
|
|
3508
3556
|
//#endregion
|
|
3509
3557
|
//#region src/packages/controls/pagination/pagination.ts
|
|
3510
|
-
var pagination_exports = /* @__PURE__ */
|
|
3558
|
+
var pagination_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
3511
3559
|
Template: () => Template$15,
|
|
3512
3560
|
init: () => init$18
|
|
3513
3561
|
});
|
|
@@ -4498,7 +4546,7 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4498
4546
|
}), [["__scopeId", "data-v-faf3e6da"]]);
|
|
4499
4547
|
//#endregion
|
|
4500
4548
|
//#region src/packages/controls/uploadNew/upload.ts
|
|
4501
|
-
var upload_exports = /* @__PURE__ */
|
|
4549
|
+
var upload_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
4502
4550
|
Template: () => Template$14,
|
|
4503
4551
|
getFileList: () => getFileList,
|
|
4504
4552
|
getUploadAccept: () => getUploadAccept,
|
|
@@ -4856,7 +4904,7 @@ var tree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
4856
4904
|
}), [["__scopeId", "data-v-4190609e"]]);
|
|
4857
4905
|
//#endregion
|
|
4858
4906
|
//#region src/packages/controls/tree/tree.ts
|
|
4859
|
-
var tree_exports = /* @__PURE__ */
|
|
4907
|
+
var tree_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
4860
4908
|
Template: () => Template$13,
|
|
4861
4909
|
init: () => init$16
|
|
4862
4910
|
});
|
|
@@ -5001,7 +5049,7 @@ var text_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
5001
5049
|
}), [["__scopeId", "data-v-55c50d4c"]]);
|
|
5002
5050
|
//#endregion
|
|
5003
5051
|
//#region src/packages/controls/text/text.ts
|
|
5004
|
-
var text_exports = /* @__PURE__ */
|
|
5052
|
+
var text_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
5005
5053
|
Template: () => Template$12,
|
|
5006
5054
|
init: () => init$15
|
|
5007
5055
|
});
|
|
@@ -5351,8 +5399,8 @@ var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
5351
5399
|
moduleName: propertys.moduleName,
|
|
5352
5400
|
name: "more",
|
|
5353
5401
|
controlType: "dropdown",
|
|
5354
|
-
Template: (0, vue.markRaw)(Template$
|
|
5355
|
-
config: init$
|
|
5402
|
+
Template: (0, vue.markRaw)(Template$30),
|
|
5403
|
+
config: init$33(propertys.moduleName, "more", {
|
|
5356
5404
|
label: require_locale.t("buttons.more"),
|
|
5357
5405
|
text: controls[0].config.text
|
|
5358
5406
|
})
|
|
@@ -5534,7 +5582,7 @@ var tag_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5534
5582
|
});
|
|
5535
5583
|
//#endregion
|
|
5536
5584
|
//#region src/packages/controls/tag/tag.ts
|
|
5537
|
-
var tag_exports = /* @__PURE__ */
|
|
5585
|
+
var tag_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
5538
5586
|
Template: () => Template$11,
|
|
5539
5587
|
init: () => init$14
|
|
5540
5588
|
});
|
|
@@ -5603,7 +5651,7 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5603
5651
|
}
|
|
5604
5652
|
});
|
|
5605
5653
|
const addButton = (0, vue.computed)(() => {
|
|
5606
|
-
return init$
|
|
5654
|
+
return init$35(props.control.moduleName, "addButton", {
|
|
5607
5655
|
label: props.control.buttonLabel,
|
|
5608
5656
|
icon: props.control.buttonIcon
|
|
5609
5657
|
});
|
|
@@ -5747,7 +5795,7 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5747
5795
|
});
|
|
5748
5796
|
//#endregion
|
|
5749
5797
|
//#region src/packages/controls/tagComp/tagComp.ts
|
|
5750
|
-
var tagComp_exports = /* @__PURE__ */
|
|
5798
|
+
var tagComp_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
5751
5799
|
Template: () => Template$10,
|
|
5752
5800
|
init: () => init$13
|
|
5753
5801
|
});
|
|
@@ -5762,7 +5810,7 @@ function init$13(moduleName, name, options = {}) {
|
|
|
5762
5810
|
}
|
|
5763
5811
|
//#endregion
|
|
5764
5812
|
//#region src/packages/controls/table/table.ts
|
|
5765
|
-
var table_exports = /* @__PURE__ */
|
|
5813
|
+
var table_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
5766
5814
|
Template: () => Template$9,
|
|
5767
5815
|
getFormContent: () => getFormContent,
|
|
5768
5816
|
init: () => init$12
|
|
@@ -5773,15 +5821,15 @@ function init$12(struct, options = {}) {
|
|
|
5773
5821
|
const allForm = options?.allForm ?? false;
|
|
5774
5822
|
console.log("allForm", allForm);
|
|
5775
5823
|
const columns = [];
|
|
5776
|
-
const lineButtons = (0, vue.reactive)(init$
|
|
5824
|
+
const lineButtons = (0, vue.reactive)(init$32(struct.name, {
|
|
5777
5825
|
isGroup: true,
|
|
5778
5826
|
buttonsArea: "tableLine"
|
|
5779
5827
|
}));
|
|
5780
|
-
const headerLineButtons = (0, vue.reactive)(init$
|
|
5828
|
+
const headerLineButtons = (0, vue.reactive)(init$32(struct.name, {
|
|
5781
5829
|
isGroup: false,
|
|
5782
5830
|
buttonsArea: "tableLine"
|
|
5783
5831
|
}));
|
|
5784
|
-
const otherButtons = (0, vue.reactive)(init$
|
|
5832
|
+
const otherButtons = (0, vue.reactive)(init$32(struct.name, {
|
|
5785
5833
|
isGroup: false,
|
|
5786
5834
|
buttonsArea: "tableLine"
|
|
5787
5835
|
}));
|
|
@@ -6044,7 +6092,7 @@ var segmented_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6044
6092
|
});
|
|
6045
6093
|
//#endregion
|
|
6046
6094
|
//#region src/packages/controls/segmented/segmented.ts
|
|
6047
|
-
var segmented_exports = /* @__PURE__ */
|
|
6095
|
+
var segmented_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
6048
6096
|
Template: () => Template$8,
|
|
6049
6097
|
init: () => init$11
|
|
6050
6098
|
});
|
|
@@ -6059,7 +6107,7 @@ function init$11(moduleName, name, options = {}) {
|
|
|
6059
6107
|
}
|
|
6060
6108
|
//#endregion
|
|
6061
6109
|
//#region src/packages/controls/formItems/formItems.ts
|
|
6062
|
-
var formItems_exports = /* @__PURE__ */
|
|
6110
|
+
var formItems_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$10 });
|
|
6063
6111
|
function createFormItemProps(moduleName, name, options) {
|
|
6064
6112
|
return {
|
|
6065
6113
|
required: options?.required,
|
|
@@ -6524,7 +6572,7 @@ var tabPane_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6524
6572
|
});
|
|
6525
6573
|
//#endregion
|
|
6526
6574
|
//#region src/packages/controls/tabPane/tabPane.ts
|
|
6527
|
-
var tabPane_exports = /* @__PURE__ */
|
|
6575
|
+
var tabPane_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
6528
6576
|
Template: () => Template$6,
|
|
6529
6577
|
init: () => init$9
|
|
6530
6578
|
});
|
|
@@ -6596,7 +6644,7 @@ var tabs_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6596
6644
|
});
|
|
6597
6645
|
//#endregion
|
|
6598
6646
|
//#region src/packages/controls/tabs/tabs.ts
|
|
6599
|
-
var tabs_exports = /* @__PURE__ */
|
|
6647
|
+
var tabs_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
6600
6648
|
Template: () => Template$5,
|
|
6601
6649
|
init: () => init$8
|
|
6602
6650
|
});
|
|
@@ -6631,7 +6679,7 @@ function init$8(options = {}) {
|
|
|
6631
6679
|
}
|
|
6632
6680
|
//#endregion
|
|
6633
6681
|
//#region src/packages/controls/form/form.ts
|
|
6634
|
-
var form_exports = /* @__PURE__ */
|
|
6682
|
+
var form_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
6635
6683
|
FormTraverser: () => FormTraverser,
|
|
6636
6684
|
batchProcessForm: () => batchProcessForm,
|
|
6637
6685
|
init: () => init$7
|
|
@@ -6645,7 +6693,7 @@ const init$7 = (struct, options = {}) => {
|
|
|
6645
6693
|
})();
|
|
6646
6694
|
const contentsMap = (0, vue.reactive)(/* @__PURE__ */ new Map());
|
|
6647
6695
|
const customizedDisabled = options?.customizedDisabled ?? false;
|
|
6648
|
-
const buttons = (0, vue.reactive)(init$
|
|
6696
|
+
const buttons = (0, vue.reactive)(init$32(struct.name, { isGroup: true }));
|
|
6649
6697
|
buttons.addButton("submit", {
|
|
6650
6698
|
label: "buttons.save",
|
|
6651
6699
|
nativeType: "button",
|
|
@@ -7503,7 +7551,7 @@ var pageBase_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
7503
7551
|
});
|
|
7504
7552
|
//#endregion
|
|
7505
7553
|
//#region src/packages/controls/pageBase/pageBase.ts
|
|
7506
|
-
var pageBase_exports = /* @__PURE__ */
|
|
7554
|
+
var pageBase_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
7507
7555
|
Template: () => Template$3,
|
|
7508
7556
|
init: () => init$6
|
|
7509
7557
|
});
|
|
@@ -7516,7 +7564,7 @@ const init$6 = (name, pageType, options) => {
|
|
|
7516
7564
|
dialogs,
|
|
7517
7565
|
...options,
|
|
7518
7566
|
pushDialog: (name, templateName, buttons, options = {}) => {
|
|
7519
|
-
dialogs.push(init$
|
|
7567
|
+
dialogs.push(init$31(name, templateName, buttons, options));
|
|
7520
7568
|
},
|
|
7521
7569
|
showDialog: (name, id = 0, params) => {
|
|
7522
7570
|
const dialog = dialogs.find((dialog) => dialog.name === name);
|
|
@@ -7592,7 +7640,7 @@ var pageForm_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
7592
7640
|
});
|
|
7593
7641
|
//#endregion
|
|
7594
7642
|
//#region src/packages/controls/pageStruct/tableStruct.ts
|
|
7595
|
-
var tableStruct_exports = /* @__PURE__ */
|
|
7643
|
+
var tableStruct_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
7596
7644
|
getDefaultData: () => getDefaultData,
|
|
7597
7645
|
init: () => init$5,
|
|
7598
7646
|
textIsSystemKeyword: () => textIsSystemKeyword
|
|
@@ -8464,7 +8512,7 @@ const textIsSystemKeyword = (keyword) => {
|
|
|
8464
8512
|
//#endregion
|
|
8465
8513
|
//#region src/packages/controls/pageStruct/pageStruct.ts
|
|
8466
8514
|
/*** 原系统StructsC的类 */
|
|
8467
|
-
var pageStruct_exports = /* @__PURE__ */
|
|
8515
|
+
var pageStruct_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$4 });
|
|
8468
8516
|
const init$4 = (name, tableID, apiURLFront, options = {}) => {
|
|
8469
8517
|
const fields = [];
|
|
8470
8518
|
const fieldsMap = /* @__PURE__ */ new Map();
|
|
@@ -8591,7 +8639,7 @@ const init$4 = (name, tableID, apiURLFront, options = {}) => {
|
|
|
8591
8639
|
};
|
|
8592
8640
|
//#endregion
|
|
8593
8641
|
//#region src/packages/controls/pageForm/pageForm.ts
|
|
8594
|
-
var pageForm_exports = /* @__PURE__ */
|
|
8642
|
+
var pageForm_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
8595
8643
|
Template: () => Template$2,
|
|
8596
8644
|
init: () => init$3
|
|
8597
8645
|
});
|
|
@@ -8846,7 +8894,7 @@ var pageTable_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
8846
8894
|
}
|
|
8847
8895
|
}
|
|
8848
8896
|
function showColumns(arr = []) {
|
|
8849
|
-
let showColumnsDropdown = init$
|
|
8897
|
+
let showColumnsDropdown = init$33("table", "showColumns", {
|
|
8850
8898
|
hideOnClick: false,
|
|
8851
8899
|
type: "primary",
|
|
8852
8900
|
maxHeight: 500,
|
|
@@ -9049,7 +9097,7 @@ var pageTable_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
9049
9097
|
});
|
|
9050
9098
|
//#endregion
|
|
9051
9099
|
//#region src/packages/controls/pageTable/pageTable.ts
|
|
9052
|
-
var pageTable_exports = /* @__PURE__ */
|
|
9100
|
+
var pageTable_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
9053
9101
|
Template: () => Template$1,
|
|
9054
9102
|
init: () => init$2
|
|
9055
9103
|
});
|
|
@@ -9058,7 +9106,7 @@ function init$2(struct, options = {}) {
|
|
|
9058
9106
|
const showRefresh = options?.showRefresh ?? true;
|
|
9059
9107
|
const localSetting = require_stores.useLocalSettingStore();
|
|
9060
9108
|
const page = (0, vue.reactive)(init$6(struct?.name, "table"));
|
|
9061
|
-
const operateButtons = init$
|
|
9109
|
+
const operateButtons = init$32(struct.name, {
|
|
9062
9110
|
isGroup: false,
|
|
9063
9111
|
buttonsArea: "operate",
|
|
9064
9112
|
show: true
|
|
@@ -9109,15 +9157,15 @@ function init$2(struct, options = {}) {
|
|
|
9109
9157
|
type: "danger",
|
|
9110
9158
|
icon: (0, vue.markRaw)(_element_plus_icons_vue.Close)
|
|
9111
9159
|
});
|
|
9112
|
-
const tableButtons = init$
|
|
9160
|
+
const tableButtons = init$32(struct.name, {
|
|
9113
9161
|
isGroup: false,
|
|
9114
9162
|
buttonsArea: "table"
|
|
9115
9163
|
});
|
|
9116
|
-
const importDropDown = init$
|
|
9164
|
+
const importDropDown = init$33("buttons", "import", { icon: "Files" });
|
|
9117
9165
|
importDropDown.addItem("importing", { icon: "Files" });
|
|
9118
9166
|
importDropDown.addItem("downloadTemplate", { icon: "Download" });
|
|
9119
9167
|
tableButtons.addDropdown("import", importDropDown);
|
|
9120
|
-
const exportDropDown = init$
|
|
9168
|
+
const exportDropDown = init$33("buttons", "export", { icon: "Document" });
|
|
9121
9169
|
exportDropDown.addItem("exportSelectedToExcel", {
|
|
9122
9170
|
label: "buttons.exportSelected",
|
|
9123
9171
|
icon: "Select"
|
|
@@ -9142,7 +9190,7 @@ function init$2(struct, options = {}) {
|
|
|
9142
9190
|
}
|
|
9143
9191
|
//#endregion
|
|
9144
9192
|
//#region src/packages/controls/pageTable/mTreeSTable.ts
|
|
9145
|
-
var mTreeSTable_exports = /* @__PURE__ */
|
|
9193
|
+
var mTreeSTable_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$1 });
|
|
9146
9194
|
function init$1(options) {
|
|
9147
9195
|
return {
|
|
9148
9196
|
mTablePage: init$2(options.mTablePage.struct),
|
|
@@ -9289,7 +9337,7 @@ var searchKeys_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
9289
9337
|
});
|
|
9290
9338
|
//#endregion
|
|
9291
9339
|
//#region src/packages/controls/search/search.ts
|
|
9292
|
-
var search_exports = /* @__PURE__ */
|
|
9340
|
+
var search_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
9293
9341
|
SearchKeyTemplate: () => SearchKeyTemplate,
|
|
9294
9342
|
Template: () => Template,
|
|
9295
9343
|
init: () => init
|
|
@@ -9297,7 +9345,7 @@ var search_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
|
9297
9345
|
const SearchKeyTemplate = require_utils.withInstall(searchKeys_default);
|
|
9298
9346
|
const Template = require_utils.withInstall(search_default);
|
|
9299
9347
|
const init = (struct, options = {}) => {
|
|
9300
|
-
const buttons = init$
|
|
9348
|
+
const buttons = init$32(struct.name, {
|
|
9301
9349
|
isGroup: false,
|
|
9302
9350
|
buttonsArea: "search"
|
|
9303
9351
|
});
|
|
@@ -9390,13 +9438,14 @@ function createMergeSelectComponent(name, optionFrom, optionValues, options, for
|
|
|
9390
9438
|
}
|
|
9391
9439
|
//#endregion
|
|
9392
9440
|
//#region src/packages/controls/index.ts
|
|
9393
|
-
var controls_exports = /* @__PURE__ */
|
|
9441
|
+
var controls_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
9394
9442
|
MyButton: () => MyButton_default,
|
|
9395
9443
|
RwAffix: () => affix_exports,
|
|
9396
9444
|
RwAutocomplete: () => autocomplete_exports,
|
|
9397
9445
|
RwButton: () => button_exports,
|
|
9398
9446
|
RwButtonGroup: () => buttonGroup_exports,
|
|
9399
9447
|
RwDialog: () => dialog_exports,
|
|
9448
|
+
RwDivider: () => divider_exports,
|
|
9400
9449
|
RwDropdown: () => dropdown_exports,
|
|
9401
9450
|
RwForm: () => RwForm,
|
|
9402
9451
|
RwFormItems: () => RwFormItems,
|
|
@@ -9485,6 +9534,12 @@ Object.defineProperty(exports, "dialog_exports", {
|
|
|
9485
9534
|
return dialog_exports;
|
|
9486
9535
|
}
|
|
9487
9536
|
});
|
|
9537
|
+
Object.defineProperty(exports, "divider_exports", {
|
|
9538
|
+
enumerable: true,
|
|
9539
|
+
get: function() {
|
|
9540
|
+
return divider_exports;
|
|
9541
|
+
}
|
|
9542
|
+
});
|
|
9488
9543
|
Object.defineProperty(exports, "dropdown_exports", {
|
|
9489
9544
|
enumerable: true,
|
|
9490
9545
|
get: function() {
|
|
@@ -9497,6 +9552,24 @@ Object.defineProperty(exports, "image_exports", {
|
|
|
9497
9552
|
return image_exports;
|
|
9498
9553
|
}
|
|
9499
9554
|
});
|
|
9555
|
+
Object.defineProperty(exports, "init", {
|
|
9556
|
+
enumerable: true,
|
|
9557
|
+
get: function() {
|
|
9558
|
+
return init$3;
|
|
9559
|
+
}
|
|
9560
|
+
});
|
|
9561
|
+
Object.defineProperty(exports, "init$1", {
|
|
9562
|
+
enumerable: true,
|
|
9563
|
+
get: function() {
|
|
9564
|
+
return init$4;
|
|
9565
|
+
}
|
|
9566
|
+
});
|
|
9567
|
+
Object.defineProperty(exports, "init$2", {
|
|
9568
|
+
enumerable: true,
|
|
9569
|
+
get: function() {
|
|
9570
|
+
return init$8;
|
|
9571
|
+
}
|
|
9572
|
+
});
|
|
9500
9573
|
Object.defineProperty(exports, "inputNumber_exports", {
|
|
9501
9574
|
enumerable: true,
|
|
9502
9575
|
get: function() {
|