duck-vue-components 0.2.4 → 0.2.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/dist/{controls-CAMRPXvF.cjs → controls-DpkadZFc.cjs} +326 -275
- package/dist/{controls-C2eYKsnS.js → controls-DrfqUxIp.js} +319 -274
- 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/{index-rc7sss8F.d.cts → index-CEIaHTGG.d.cts} +409 -391
- package/dist/{index-BoVyuEeV.d.ts → index-pAifGnVL.d.ts} +409 -391
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/pages.cjs +1 -1
- package/dist/pages.d.cts +1 -1
- package/dist/pages.d.ts +1 -1
- package/dist/pages.js +1 -1
- package/dist/style.css +3 -3
- package/package.json +1 -1
|
@@ -48,8 +48,8 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
48
48
|
var MyButton_default = /* @__PURE__ */ _plugin_vue_export_helper_default(MyButton_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-8d6f1d45"]]);
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region src/packages/controls/affix/affix.vue?vue&type=script&setup=true&lang.ts
|
|
51
|
-
const _hoisted_1$
|
|
52
|
-
const _hoisted_2$
|
|
51
|
+
const _hoisted_1$26 = ["innerHTML"];
|
|
52
|
+
const _hoisted_2$25 = { key: 2 };
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/packages/controls/affix/affix.vue
|
|
55
55
|
var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -85,7 +85,7 @@ var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
85
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", {
|
|
86
86
|
key: 1,
|
|
87
87
|
innerHTML: __props.control.default
|
|
88
|
-
}, null, 8, _hoisted_1$
|
|
88
|
+
}, null, 8, _hoisted_1$26)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$25, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
89
89
|
key: "0"
|
|
90
90
|
} : void 0]), 1040);
|
|
91
91
|
};
|
|
@@ -94,11 +94,11 @@ var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/packages/controls/affix/affix.ts
|
|
96
96
|
var affix_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
97
|
-
Template: () => Template$
|
|
98
|
-
init: () => init$
|
|
97
|
+
Template: () => Template$35,
|
|
98
|
+
init: () => init$38
|
|
99
99
|
});
|
|
100
|
-
const Template$
|
|
101
|
-
function init$
|
|
100
|
+
const Template$35 = require_utils.withInstall(affix_default);
|
|
101
|
+
function init$38(moduleName, name, options = {}) {
|
|
102
102
|
return {
|
|
103
103
|
moduleName,
|
|
104
104
|
name,
|
|
@@ -107,8 +107,8 @@ function init$37(moduleName, name, options = {}) {
|
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/packages/controls/autocomplete/autocomplete.vue?vue&type=script&setup=true&lang.ts
|
|
110
|
-
const _hoisted_1$
|
|
111
|
-
const _hoisted_2$
|
|
110
|
+
const _hoisted_1$25 = ["innerHTML"];
|
|
111
|
+
const _hoisted_2$24 = { key: 2 };
|
|
112
112
|
const _hoisted_3$19 = ["innerHTML"];
|
|
113
113
|
const _hoisted_4$15 = { key: 2 };
|
|
114
114
|
const _hoisted_5$12 = ["innerHTML"];
|
|
@@ -155,7 +155,7 @@ var autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
155
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", {
|
|
156
156
|
key: 1,
|
|
157
157
|
innerHTML: __props.control.default
|
|
158
|
-
}, null, 8, _hoisted_1$
|
|
158
|
+
}, null, 8, _hoisted_1$25)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$24, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
159
159
|
key: "0"
|
|
160
160
|
} : void 0,
|
|
161
161
|
__props.control?.loadingSlot ? {
|
|
@@ -205,12 +205,12 @@ var autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
205
205
|
//#endregion
|
|
206
206
|
//#region src/packages/controls/autocomplete/autocomplete.ts
|
|
207
207
|
var autocomplete_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
208
|
-
Template: () => Template$
|
|
209
|
-
init: () => init$
|
|
208
|
+
Template: () => Template$34,
|
|
209
|
+
init: () => init$37
|
|
210
210
|
});
|
|
211
211
|
const { t: t$2 } = require_locale.i18n.global;
|
|
212
|
-
const Template$
|
|
213
|
-
function init$
|
|
212
|
+
const Template$34 = require_utils.withInstall(autocomplete_default);
|
|
213
|
+
function init$37(moduleName, name, options = {}) {
|
|
214
214
|
return {
|
|
215
215
|
name,
|
|
216
216
|
placeholder: t$2("controls.pleaseInput") + t$2(moduleName ? `${moduleName}.${name}` : name),
|
|
@@ -219,8 +219,8 @@ function init$36(moduleName, name, options = {}) {
|
|
|
219
219
|
}
|
|
220
220
|
//#endregion
|
|
221
221
|
//#region src/packages/controls/button/button.vue?vue&type=script&setup=true&lang.ts
|
|
222
|
-
const _hoisted_1$
|
|
223
|
-
const _hoisted_2$
|
|
222
|
+
const _hoisted_1$24 = ["innerHTML"];
|
|
223
|
+
const _hoisted_2$23 = { key: 2 };
|
|
224
224
|
const _hoisted_3$18 = ["innerHTML"];
|
|
225
225
|
const _hoisted_4$14 = { key: 2 };
|
|
226
226
|
const _hoisted_5$11 = ["innerHTML"];
|
|
@@ -268,7 +268,7 @@ var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
268
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", {
|
|
269
269
|
key: 1,
|
|
270
270
|
innerHTML: __props.control.default
|
|
271
|
-
}, null, 8, _hoisted_1$
|
|
271
|
+
}, null, 8, _hoisted_1$24)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$23, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
272
272
|
key: "1"
|
|
273
273
|
} : __props.control.separator ? {
|
|
274
274
|
name: "default",
|
|
@@ -323,11 +323,11 @@ var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region src/packages/controls/button/button.ts
|
|
325
325
|
var button_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
326
|
-
Template: () => Template$
|
|
327
|
-
init: () => init$
|
|
326
|
+
Template: () => Template$33,
|
|
327
|
+
init: () => init$36
|
|
328
328
|
});
|
|
329
|
-
const Template$
|
|
330
|
-
function init$
|
|
329
|
+
const Template$33 = require_utils.withInstall(button_default);
|
|
330
|
+
function init$36(moduleName, name, options) {
|
|
331
331
|
return {
|
|
332
332
|
moduleName,
|
|
333
333
|
name,
|
|
@@ -402,8 +402,8 @@ var buttonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
402
402
|
});
|
|
403
403
|
//#endregion
|
|
404
404
|
//#region src/packages/controls/popconfirm/popconfirm.vue?vue&type=script&setup=true&lang.ts
|
|
405
|
-
const _hoisted_1$
|
|
406
|
-
const _hoisted_2$
|
|
405
|
+
const _hoisted_1$23 = ["innerHTML"];
|
|
406
|
+
const _hoisted_2$22 = ["innerHTML"];
|
|
407
407
|
const _hoisted_3$17 = { key: 2 };
|
|
408
408
|
//#endregion
|
|
409
409
|
//#region src/packages/controls/popconfirm/popconfirm.vue
|
|
@@ -448,14 +448,14 @@ var popconfirm_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
448
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", {
|
|
449
449
|
key: 1,
|
|
450
450
|
innerHTML: __props.control.actions
|
|
451
|
-
}, null, 8, _hoisted_2$
|
|
451
|
+
}, null, 8, _hoisted_2$22)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$17, (0, vue.toDisplayString)(__props.control.actions), 1))]),
|
|
452
452
|
_: 2
|
|
453
453
|
}, [__props.control.reference ? {
|
|
454
454
|
name: "reference",
|
|
455
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", {
|
|
456
456
|
key: 1,
|
|
457
457
|
innerHTML: __props.control.reference
|
|
458
|
-
}, null, 8, _hoisted_1$
|
|
458
|
+
}, null, 8, _hoisted_1$23)) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(button_exports).Template, {
|
|
459
459
|
key: 2,
|
|
460
460
|
control: buttonProps.value
|
|
461
461
|
}, null, 8, ["control"]))]),
|
|
@@ -471,13 +471,13 @@ var popconfirm_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
471
471
|
//#endregion
|
|
472
472
|
//#region src/packages/controls/popconfirm/popconfirm.ts
|
|
473
473
|
var popconfirm_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
474
|
-
Template: () => Template$
|
|
475
|
-
init: () => init$
|
|
474
|
+
Template: () => Template$32,
|
|
475
|
+
init: () => init$35
|
|
476
476
|
});
|
|
477
|
-
const Template$
|
|
478
|
-
function init$
|
|
477
|
+
const Template$32 = require_utils.withInstall(popconfirm_default);
|
|
478
|
+
function init$35(moduleName, name, options = {}) {
|
|
479
479
|
const label = options?.label ?? require_locale.t(`${moduleName}.${name}`);
|
|
480
|
-
const button = options?.button ?? init$
|
|
480
|
+
const button = options?.button ?? init$36(moduleName, name, {
|
|
481
481
|
text: options?.text ?? false,
|
|
482
482
|
label,
|
|
483
483
|
icon: options?.icon,
|
|
@@ -582,13 +582,13 @@ var dropdown_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
582
582
|
//#endregion
|
|
583
583
|
//#region src/packages/controls/dropdown/dropdown.ts
|
|
584
584
|
var dropdown_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
585
|
-
Template: () => Template$
|
|
586
|
-
init: () => init$
|
|
585
|
+
Template: () => Template$31,
|
|
586
|
+
init: () => init$34
|
|
587
587
|
});
|
|
588
|
-
const Template$
|
|
589
|
-
function init$
|
|
588
|
+
const Template$31 = require_utils.withInstall(dropdown_default);
|
|
589
|
+
function init$34(moduleName, name, options) {
|
|
590
590
|
const items = (0, vue.reactive)(options?.items ?? []);
|
|
591
|
-
const button = options?.button ?? init$
|
|
591
|
+
const button = options?.button ?? init$36(moduleName, name, {
|
|
592
592
|
suffixIcon: _element_plus_icons_vue.ArrowDown,
|
|
593
593
|
text: options?.text ?? false,
|
|
594
594
|
disabled: options?.disabled ?? false,
|
|
@@ -619,17 +619,17 @@ function init$33(moduleName, name, options) {
|
|
|
619
619
|
//#endregion
|
|
620
620
|
//#region src/packages/controls/buttonGroup/buttonGroup.ts
|
|
621
621
|
var buttonGroup_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
622
|
-
Template: () => Template$
|
|
622
|
+
Template: () => Template$30,
|
|
623
623
|
createComponent: () => createComponent$3,
|
|
624
|
-
init: () => init$
|
|
624
|
+
init: () => init$33
|
|
625
625
|
});
|
|
626
|
-
const Template$
|
|
626
|
+
const Template$30 = require_utils.withInstall(buttonGroup_default);
|
|
627
627
|
const componentMap = {
|
|
628
628
|
button: button_exports,
|
|
629
629
|
popconfirm: popconfirm_exports,
|
|
630
630
|
dropdown: dropdown_exports
|
|
631
631
|
};
|
|
632
|
-
function init$
|
|
632
|
+
function init$33(moduleName, options) {
|
|
633
633
|
const localSetting = require_stores.useLocalSettingStore();
|
|
634
634
|
const controls = (0, vue.reactive)(options?.controls ?? []);
|
|
635
635
|
const buttonsArea = options?.buttonsArea ?? "custom";
|
|
@@ -691,8 +691,8 @@ function createComponent$3(controlType, moduleName, name, options, items) {
|
|
|
691
691
|
}
|
|
692
692
|
//#endregion
|
|
693
693
|
//#region src/packages/controls/dialog/dialog.vue?vue&type=script&setup=true&lang.ts
|
|
694
|
-
const _hoisted_1$
|
|
695
|
-
const _hoisted_2$
|
|
694
|
+
const _hoisted_1$22 = ["innerHTML"];
|
|
695
|
+
const _hoisted_2$21 = { key: 2 };
|
|
696
696
|
const _hoisted_3$16 = ["innerHTML"];
|
|
697
697
|
const _hoisted_4$13 = { key: 2 };
|
|
698
698
|
//#endregion
|
|
@@ -856,7 +856,7 @@ var dialog_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
856
856
|
}, null, 512)) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
857
857
|
key: 1,
|
|
858
858
|
innerHTML: __props.control.default
|
|
859
|
-
}, null, 8, _hoisted_1$
|
|
859
|
+
}, null, 8, _hoisted_1$22)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$21, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
860
860
|
key: "1"
|
|
861
861
|
} : void 0, _ctx.$slots.footer ? {
|
|
862
862
|
name: "footer",
|
|
@@ -887,10 +887,10 @@ var dialog_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
887
887
|
//#region src/packages/controls/dialog/dialog.ts
|
|
888
888
|
var dialog_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
889
889
|
DIALOG_FORM_INJECTION_KEY: () => DIALOG_FORM_INJECTION_KEY,
|
|
890
|
-
Template: () => Template$
|
|
891
|
-
init: () => init$
|
|
890
|
+
Template: () => Template$29,
|
|
891
|
+
init: () => init$32
|
|
892
892
|
});
|
|
893
|
-
const Template$
|
|
893
|
+
const Template$29 = require_utils.withInstall(dialog_default$1);
|
|
894
894
|
function createButtonClickHandler(formRef, dialogControl) {
|
|
895
895
|
return (buttonName, event) => {
|
|
896
896
|
switch (buttonName.name) {
|
|
@@ -942,7 +942,7 @@ const closeDialog = (dialogControl, done) => {
|
|
|
942
942
|
else handleClose();
|
|
943
943
|
};
|
|
944
944
|
const DIALOG_FORM_INJECTION_KEY = Symbol("dialog-form");
|
|
945
|
-
function init$
|
|
945
|
+
function init$32(name, templateName, buttons, options = {}) {
|
|
946
946
|
const dialogControl = (0, vue.reactive)({
|
|
947
947
|
name,
|
|
948
948
|
buttons,
|
|
@@ -995,8 +995,8 @@ function init$31(name, templateName, buttons, options = {}) {
|
|
|
995
995
|
}
|
|
996
996
|
//#endregion
|
|
997
997
|
//#region src/packages/controls/divider/divider.vue?vue&type=script&setup=true&lang.ts
|
|
998
|
-
const _hoisted_1$
|
|
999
|
-
const _hoisted_2$
|
|
998
|
+
const _hoisted_1$21 = ["innerHTML"];
|
|
999
|
+
const _hoisted_2$20 = { key: 2 };
|
|
1000
1000
|
//#endregion
|
|
1001
1001
|
//#region src/packages/controls/divider/divider.vue
|
|
1002
1002
|
var divider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1016,7 +1016,7 @@ var divider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1016
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
1017
|
key: 1,
|
|
1018
1018
|
innerHTML: __props.control.default
|
|
1019
|
-
}, null, 8, _hoisted_1$
|
|
1019
|
+
}, null, 8, _hoisted_1$21)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$20, (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
1020
|
_: 1
|
|
1021
1021
|
}, 16);
|
|
1022
1022
|
};
|
|
@@ -1025,11 +1025,11 @@ var divider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1025
1025
|
//#endregion
|
|
1026
1026
|
//#region src/packages/controls/divider/divider.ts
|
|
1027
1027
|
var divider_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1028
|
-
Template: () => Template$
|
|
1029
|
-
init: () => init$
|
|
1028
|
+
Template: () => Template$28,
|
|
1029
|
+
init: () => init$31
|
|
1030
1030
|
});
|
|
1031
|
-
const Template$
|
|
1032
|
-
function init$
|
|
1031
|
+
const Template$28 = require_utils.withInstall(divider_default);
|
|
1032
|
+
function init$31(moduleName, name, options = {}) {
|
|
1033
1033
|
return {
|
|
1034
1034
|
moduleName,
|
|
1035
1035
|
name,
|
|
@@ -1039,11 +1039,11 @@ function init$30(moduleName, name, options = {}) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
//#endregion
|
|
1041
1041
|
//#region src/packages/controls/input/input.vue?vue&type=script&setup=true&lang.ts
|
|
1042
|
-
const _hoisted_1$
|
|
1042
|
+
const _hoisted_1$20 = {
|
|
1043
1043
|
class: "minput-box",
|
|
1044
1044
|
style: { "width": "100%" }
|
|
1045
1045
|
};
|
|
1046
|
-
const _hoisted_2$
|
|
1046
|
+
const _hoisted_2$19 = ["innerHTML"];
|
|
1047
1047
|
const _hoisted_3$15 = { key: 2 };
|
|
1048
1048
|
const _hoisted_4$12 = ["innerHTML"];
|
|
1049
1049
|
const _hoisted_5$10 = { key: 2 };
|
|
@@ -1204,7 +1204,7 @@ var input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1204
1204
|
});
|
|
1205
1205
|
__expose(instance);
|
|
1206
1206
|
return (_ctx, _cache) => {
|
|
1207
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [(0, vue.createElementVNode)("div", _hoisted_1$
|
|
1207
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [(0, vue.createElementVNode)("div", _hoisted_1$20, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElInput), (0, vue.mergeProps)(inputProps.value, {
|
|
1208
1208
|
placeholder: placeholder.value,
|
|
1209
1209
|
modelValue: inputValue.value,
|
|
1210
1210
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => inputValue.value = $event),
|
|
@@ -1228,7 +1228,7 @@ var input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1228
1228
|
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.prefix) && !(0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.prefix), { key: 0 })) : typeof __props.control.prefix === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
1229
1229
|
key: 1,
|
|
1230
1230
|
innerHTML: __props.control.prefix
|
|
1231
|
-
}, null, 8, _hoisted_2$
|
|
1231
|
+
}, null, 8, _hoisted_2$19)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$15, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
|
|
1232
1232
|
key: "1"
|
|
1233
1233
|
} : void 0,
|
|
1234
1234
|
_ctx.$slots.suffix ? {
|
|
@@ -1409,11 +1409,11 @@ var input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1409
1409
|
//#endregion
|
|
1410
1410
|
//#region src/packages/controls/input/input.ts
|
|
1411
1411
|
var input_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1412
|
-
Template: () => Template$
|
|
1413
|
-
init: () => init$
|
|
1412
|
+
Template: () => Template$27,
|
|
1413
|
+
init: () => init$30
|
|
1414
1414
|
});
|
|
1415
|
-
const Template$
|
|
1416
|
-
function init$
|
|
1415
|
+
const Template$27 = require_utils.withInstall(input_default);
|
|
1416
|
+
function init$30(moduleName, name, options) {
|
|
1417
1417
|
let instance = null;
|
|
1418
1418
|
return {
|
|
1419
1419
|
moduleName,
|
|
@@ -1436,8 +1436,8 @@ function init$29(moduleName, name, options) {
|
|
|
1436
1436
|
}
|
|
1437
1437
|
//#endregion
|
|
1438
1438
|
//#region src/packages/controls/select/select.vue?vue&type=script&setup=true&lang.ts
|
|
1439
|
-
const _hoisted_1$
|
|
1440
|
-
const _hoisted_2$
|
|
1439
|
+
const _hoisted_1$19 = ["innerHTML"];
|
|
1440
|
+
const _hoisted_2$18 = { key: 2 };
|
|
1441
1441
|
const _hoisted_3$14 = ["innerHTML"];
|
|
1442
1442
|
const _hoisted_4$11 = { key: 2 };
|
|
1443
1443
|
const _hoisted_5$9 = ["innerHTML"];
|
|
@@ -1622,7 +1622,7 @@ var select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1622
1622
|
item,
|
|
1623
1623
|
scope
|
|
1624
1624
|
})
|
|
1625
|
-
}, null, 8, _hoisted_1$
|
|
1625
|
+
}, null, 8, _hoisted_1$19)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$18, (0, vue.toDisplayString)(__props.control.optionTemplate), 1))]),
|
|
1626
1626
|
key: "1"
|
|
1627
1627
|
} : void 0]), 1032, [
|
|
1628
1628
|
"label",
|
|
@@ -1734,11 +1734,11 @@ var select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1734
1734
|
//#endregion
|
|
1735
1735
|
//#region src/packages/controls/select/select.ts
|
|
1736
1736
|
var select_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1737
|
-
Template: () => Template$
|
|
1738
|
-
init: () => init$
|
|
1737
|
+
Template: () => Template$26,
|
|
1738
|
+
init: () => init$29
|
|
1739
1739
|
});
|
|
1740
|
-
const Template$
|
|
1741
|
-
function init$
|
|
1740
|
+
const Template$26 = require_utils.withInstall(select_default);
|
|
1741
|
+
function init$29(moduleName, name, options = {}) {
|
|
1742
1742
|
return {
|
|
1743
1743
|
moduleName,
|
|
1744
1744
|
name,
|
|
@@ -1758,8 +1758,8 @@ function init$28(moduleName, name, options = {}) {
|
|
|
1758
1758
|
* */
|
|
1759
1759
|
//#endregion
|
|
1760
1760
|
//#region src/packages/controls/inputTag/inputTag.vue?vue&type=script&setup=true&lang.ts
|
|
1761
|
-
const _hoisted_1$
|
|
1762
|
-
const _hoisted_2$
|
|
1761
|
+
const _hoisted_1$18 = ["innerHTML"];
|
|
1762
|
+
const _hoisted_2$17 = { key: 2 };
|
|
1763
1763
|
const _hoisted_3$13 = ["innerHTML"];
|
|
1764
1764
|
const _hoisted_4$10 = { key: 2 };
|
|
1765
1765
|
const _hoisted_5$8 = ["innerHTML"];
|
|
@@ -1831,7 +1831,7 @@ var inputTag_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1831
1831
|
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.prefix) && !(0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.prefix), { key: 0 })) : typeof __props.control.prefix === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
1832
1832
|
key: 1,
|
|
1833
1833
|
innerHTML: __props.control.prefix
|
|
1834
|
-
}, null, 8, _hoisted_1$
|
|
1834
|
+
}, null, 8, _hoisted_1$18)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$17, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
|
|
1835
1835
|
key: "0"
|
|
1836
1836
|
} : void 0,
|
|
1837
1837
|
__props.control?.suffix ? {
|
|
@@ -1861,12 +1861,12 @@ var inputTag_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1861
1861
|
//#endregion
|
|
1862
1862
|
//#region src/packages/controls/inputTag/inputTag.ts
|
|
1863
1863
|
var inputTag_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1864
|
-
Template: () => Template$
|
|
1865
|
-
init: () => init$
|
|
1864
|
+
Template: () => Template$25,
|
|
1865
|
+
init: () => init$28
|
|
1866
1866
|
});
|
|
1867
1867
|
const { t: t$1 } = require_locale.i18n.global;
|
|
1868
|
-
const Template$
|
|
1869
|
-
function init$
|
|
1868
|
+
const Template$25 = require_utils.withInstall(inputTag_default);
|
|
1869
|
+
function init$28(moduleName, name, options = {}) {
|
|
1870
1870
|
return {
|
|
1871
1871
|
moduleName,
|
|
1872
1872
|
name,
|
|
@@ -1878,8 +1878,8 @@ function init$27(moduleName, name, options = {}) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
//#endregion
|
|
1880
1880
|
//#region src/packages/controls/inputNumber/inputNumber.vue?vue&type=script&setup=true&lang.ts
|
|
1881
|
-
const _hoisted_1$
|
|
1882
|
-
const _hoisted_2$
|
|
1881
|
+
const _hoisted_1$17 = ["innerHTML"];
|
|
1882
|
+
const _hoisted_2$16 = { key: 2 };
|
|
1883
1883
|
const _hoisted_3$12 = ["innerHTML"];
|
|
1884
1884
|
const _hoisted_4$9 = { key: 2 };
|
|
1885
1885
|
const _hoisted_5$7 = ["innerHTML"];
|
|
@@ -1930,7 +1930,7 @@ var inputNumber_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1930
1930
|
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.prefix) && !(0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.prefix), { key: 0 })) : typeof __props.control.prefix === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
1931
1931
|
key: 1,
|
|
1932
1932
|
innerHTML: __props.control.prefix
|
|
1933
|
-
}, null, 8, _hoisted_1$
|
|
1933
|
+
}, null, 8, _hoisted_1$17)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$16, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
|
|
1934
1934
|
key: "0"
|
|
1935
1935
|
} : void 0,
|
|
1936
1936
|
__props.control?.suffix ? {
|
|
@@ -1964,12 +1964,12 @@ var inputNumber_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1964
1964
|
//#endregion
|
|
1965
1965
|
//#region src/packages/controls/inputNumber/inputNumber.ts
|
|
1966
1966
|
var inputNumber_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
1967
|
-
Template: () => Template$
|
|
1968
|
-
init: () => init$
|
|
1967
|
+
Template: () => Template$24,
|
|
1968
|
+
init: () => init$27
|
|
1969
1969
|
});
|
|
1970
1970
|
const { t } = require_locale.i18n.global;
|
|
1971
|
-
const Template$
|
|
1972
|
-
function init$
|
|
1971
|
+
const Template$24 = require_utils.withInstall(inputNumber_default);
|
|
1972
|
+
function init$27(moduleName, name, options = {}) {
|
|
1973
1973
|
return {
|
|
1974
1974
|
moduleName,
|
|
1975
1975
|
name,
|
|
@@ -1979,8 +1979,8 @@ function init$26(moduleName, name, options = {}) {
|
|
|
1979
1979
|
}
|
|
1980
1980
|
//#endregion
|
|
1981
1981
|
//#region src/packages/controls/radio/radio.vue?vue&type=script&setup=true&lang.ts
|
|
1982
|
-
const _hoisted_1$
|
|
1983
|
-
const _hoisted_2$
|
|
1982
|
+
const _hoisted_1$16 = { class: "rw-radio-container" };
|
|
1983
|
+
const _hoisted_2$15 = { class: "rw-radio-multiple" };
|
|
1984
1984
|
const _hoisted_3$11 = {
|
|
1985
1985
|
key: 0,
|
|
1986
1986
|
class: "rw-radio-loading"
|
|
@@ -2096,7 +2096,7 @@ var radio_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
2096
2096
|
processedOptions
|
|
2097
2097
|
});
|
|
2098
2098
|
return (_ctx, _cache) => {
|
|
2099
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
2099
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$16, [(0, vue.createCommentVNode)(" 单个单选框模式 "), isSingleMode.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElRadio), (0, vue.mergeProps)({
|
|
2100
2100
|
key: 0,
|
|
2101
2101
|
modelValue: (0, vue.unref)(fieldValue),
|
|
2102
2102
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => (0, vue.isRef)(fieldValue) ? fieldValue.value = $event : null)
|
|
@@ -2106,7 +2106,7 @@ var radio_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
2106
2106
|
}), {
|
|
2107
2107
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.control.label || __props.control.default), 1)], true)]),
|
|
2108
2108
|
_: 3
|
|
2109
|
-
}, 16, ["modelValue"])) : isMultipleMode.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createCommentVNode)(" 多选模式 "), (0, vue.createElementVNode)("div", _hoisted_2$
|
|
2109
|
+
}, 16, ["modelValue"])) : isMultipleMode.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createCommentVNode)(" 多选模式 "), (0, vue.createElementVNode)("div", _hoisted_2$15, [(0, vue.createCommentVNode)(" 加载状态 "), isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3$11, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "is-loading" }, {
|
|
2110
2110
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.Loading))]),
|
|
2111
2111
|
_: 1
|
|
2112
2112
|
}), _cache[3] || (_cache[3] = (0, vue.createElementVNode)("span", null, "加载中...", -1))])) : error.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createCommentVNode)(" 错误状态 "), (0, vue.createElementVNode)("div", _hoisted_4$8, [
|
|
@@ -2197,11 +2197,11 @@ var radio_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
2197
2197
|
//#endregion
|
|
2198
2198
|
//#region src/packages/controls/radio/radio.ts
|
|
2199
2199
|
var radio_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2200
|
-
Template: () => Template$
|
|
2201
|
-
init: () => init$
|
|
2200
|
+
Template: () => Template$23,
|
|
2201
|
+
init: () => init$26
|
|
2202
2202
|
});
|
|
2203
|
-
const Template$
|
|
2204
|
-
function init$
|
|
2203
|
+
const Template$23 = require_utils.withInstall(radio_default);
|
|
2204
|
+
function init$26(moduleName, name, options = {}) {
|
|
2205
2205
|
return {
|
|
2206
2206
|
moduleName,
|
|
2207
2207
|
name,
|
|
@@ -2237,10 +2237,10 @@ var mergeInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2237
2237
|
emits: ["update:modelValue"],
|
|
2238
2238
|
setup(__props, { emit: __emit }) {
|
|
2239
2239
|
const componentMap = (0, vue.markRaw)({
|
|
2240
|
-
"input": Template$
|
|
2241
|
-
"inputNumber": Template$
|
|
2242
|
-
"autocomplete": Template$
|
|
2243
|
-
"inputTag": Template$
|
|
2240
|
+
"input": Template$27,
|
|
2241
|
+
"inputNumber": Template$24,
|
|
2242
|
+
"autocomplete": Template$34,
|
|
2243
|
+
"inputTag": Template$25
|
|
2244
2244
|
});
|
|
2245
2245
|
const props = __props;
|
|
2246
2246
|
const currentComponent = (0, vue.computed)(() => {
|
|
@@ -2259,35 +2259,35 @@ var mergeInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2259
2259
|
//#endregion
|
|
2260
2260
|
//#region src/packages/controls/mergeInput/mergeInput.ts
|
|
2261
2261
|
var mergeInput_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2262
|
-
Template: () => Template$
|
|
2263
|
-
init: () => init$
|
|
2262
|
+
Template: () => Template$22,
|
|
2263
|
+
init: () => init$25
|
|
2264
2264
|
});
|
|
2265
|
-
const Template$
|
|
2266
|
-
function init$
|
|
2265
|
+
const Template$22 = require_utils.withInstall(mergeInput_default);
|
|
2266
|
+
function init$25(moduleName, name, options = {}) {
|
|
2267
2267
|
const { inputType, ...restOptions } = options;
|
|
2268
2268
|
switch (inputType) {
|
|
2269
2269
|
case "inputNumber": return {
|
|
2270
2270
|
inputType,
|
|
2271
|
-
...init$
|
|
2271
|
+
...init$27(moduleName, name, restOptions)
|
|
2272
2272
|
};
|
|
2273
2273
|
case "autocomplete": return {
|
|
2274
2274
|
inputType,
|
|
2275
|
-
...init$
|
|
2275
|
+
...init$37(moduleName, name, restOptions)
|
|
2276
2276
|
};
|
|
2277
2277
|
case "inputTag": return {
|
|
2278
2278
|
inputType,
|
|
2279
|
-
...init$
|
|
2279
|
+
...init$28(moduleName, name, restOptions)
|
|
2280
2280
|
};
|
|
2281
2281
|
default: return {
|
|
2282
2282
|
inputType,
|
|
2283
|
-
...init$
|
|
2283
|
+
...init$30(moduleName, name, restOptions)
|
|
2284
2284
|
};
|
|
2285
2285
|
}
|
|
2286
2286
|
}
|
|
2287
2287
|
//#endregion
|
|
2288
2288
|
//#region src/packages/controls/switch/switch.vue?vue&type=script&setup=true&lang.ts
|
|
2289
|
-
const _hoisted_1$
|
|
2290
|
-
const _hoisted_2$
|
|
2289
|
+
const _hoisted_1$15 = { key: 1 };
|
|
2290
|
+
const _hoisted_2$14 = { key: 1 };
|
|
2291
2291
|
//#endregion
|
|
2292
2292
|
//#region src/packages/controls/switch/switch.vue
|
|
2293
2293
|
var switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -2323,11 +2323,11 @@ var switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2323
2323
|
onClick: _cache[2] || (_cache[2] = (0, vue.withModifiers)(() => {}, ["stop"]))
|
|
2324
2324
|
}), (0, vue.createSlots)({ _: 2 }, [__props.control.activeAction ? {
|
|
2325
2325
|
name: "activeAction",
|
|
2326
|
-
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.activeAction) && !(0, vue.unref)(require_utils.isHTML)(__props.control.activeAction) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.activeAction), { key: 0 })) : (0, vue.createCommentVNode)("v-if", true), (0, vue.unref)(fieldValue) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$
|
|
2326
|
+
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.activeAction) && !(0, vue.unref)(require_utils.isHTML)(__props.control.activeAction) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.activeAction), { key: 0 })) : (0, vue.createCommentVNode)("v-if", true), (0, vue.unref)(fieldValue) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$15, (0, vue.toDisplayString)(__props.control.activeAction), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
|
|
2327
2327
|
key: "0"
|
|
2328
2328
|
} : void 0, __props.control.inactiveAction ? {
|
|
2329
2329
|
name: "inactiveAction",
|
|
2330
|
-
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.inactiveAction) && !(0, vue.unref)(require_utils.isHTML)(__props.control.inactiveAction) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.inactiveAction), { key: 0 })) : (0, vue.createCommentVNode)("v-if", true), !(0, vue.unref)(fieldValue) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$
|
|
2330
|
+
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.inactiveAction) && !(0, vue.unref)(require_utils.isHTML)(__props.control.inactiveAction) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.inactiveAction), { key: 0 })) : (0, vue.createCommentVNode)("v-if", true), !(0, vue.unref)(fieldValue) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$14, (0, vue.toDisplayString)(__props.control.inactiveAction), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
|
|
2331
2331
|
key: "1"
|
|
2332
2332
|
} : void 0]), 1040, [
|
|
2333
2333
|
"modelValue",
|
|
@@ -2340,11 +2340,11 @@ var switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2340
2340
|
//#endregion
|
|
2341
2341
|
//#region src/packages/controls/switch/switch.ts
|
|
2342
2342
|
var switch_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2343
|
-
Template: () => Template$
|
|
2344
|
-
init: () => init$
|
|
2343
|
+
Template: () => Template$21,
|
|
2344
|
+
init: () => init$24
|
|
2345
2345
|
});
|
|
2346
|
-
const Template$
|
|
2347
|
-
function init$
|
|
2346
|
+
const Template$21 = require_utils.withInstall(switch_default);
|
|
2347
|
+
function init$24(moduleName, name, options = {}) {
|
|
2348
2348
|
return (0, vue.reactive)({
|
|
2349
2349
|
moduleName,
|
|
2350
2350
|
name,
|
|
@@ -2354,8 +2354,8 @@ function init$23(moduleName, name, options = {}) {
|
|
|
2354
2354
|
}
|
|
2355
2355
|
//#endregion
|
|
2356
2356
|
//#region src/packages/controls/image/image.vue?vue&type=script&setup=true&lang.ts
|
|
2357
|
-
const _hoisted_1$
|
|
2358
|
-
const _hoisted_2$
|
|
2357
|
+
const _hoisted_1$14 = ["innerHTML"];
|
|
2358
|
+
const _hoisted_2$13 = { key: 2 };
|
|
2359
2359
|
const _hoisted_3$10 = ["innerHTML"];
|
|
2360
2360
|
const _hoisted_4$7 = { key: 2 };
|
|
2361
2361
|
const _hoisted_5$6 = ["innerHTML"];
|
|
@@ -2394,7 +2394,7 @@ var image_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2394
2394
|
fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.placeholder) && !(0, vue.unref)(require_utils.isHTML)(__props.control.placeholder) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.placeholder), { key: 0 })) : typeof __props.control.placeholder === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.placeholder) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
2395
2395
|
key: 1,
|
|
2396
2396
|
innerHTML: __props.control.placeholder
|
|
2397
|
-
}, null, 8, _hoisted_1$
|
|
2397
|
+
}, null, 8, _hoisted_1$14)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$13, (0, vue.toDisplayString)(__props.control.placeholder), 1))]),
|
|
2398
2398
|
key: "1"
|
|
2399
2399
|
} : void 0,
|
|
2400
2400
|
_ctx.$slots.error ? {
|
|
@@ -2452,11 +2452,11 @@ var image_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2452
2452
|
//#endregion
|
|
2453
2453
|
//#region src/packages/controls/image/image.ts
|
|
2454
2454
|
var image_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2455
|
-
Template: () => Template$
|
|
2456
|
-
init: () => init$
|
|
2455
|
+
Template: () => Template$20,
|
|
2456
|
+
init: () => init$23
|
|
2457
2457
|
});
|
|
2458
|
-
const Template$
|
|
2459
|
-
function init$
|
|
2458
|
+
const Template$20 = require_utils.withInstall(image_default);
|
|
2459
|
+
function init$23(modularName, name, options = {}) {
|
|
2460
2460
|
return {
|
|
2461
2461
|
modularName,
|
|
2462
2462
|
name,
|
|
@@ -2468,8 +2468,8 @@ function init$22(modularName, name, options = {}) {
|
|
|
2468
2468
|
}
|
|
2469
2469
|
//#endregion
|
|
2470
2470
|
//#region src/packages/controls/mergeSelect/mergeSelect.vue?vue&type=script&setup=true&lang.ts
|
|
2471
|
-
const _hoisted_1$
|
|
2472
|
-
const _hoisted_2$
|
|
2471
|
+
const _hoisted_1$13 = ["innerHTML"];
|
|
2472
|
+
const _hoisted_2$12 = { key: 2 };
|
|
2473
2473
|
const _hoisted_3$9 = {
|
|
2474
2474
|
key: 1,
|
|
2475
2475
|
class: "label-item"
|
|
@@ -2770,7 +2770,7 @@ var mergeSelect_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
2770
2770
|
}), null, 16)) : typeof __props.control.optionTemplate === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.optionTemplate) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
2771
2771
|
key: 1,
|
|
2772
2772
|
innerHTML: __props.control.optionTemplate
|
|
2773
|
-
}, null, 8, _hoisted_1$
|
|
2773
|
+
}, null, 8, _hoisted_1$13)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$12, (0, vue.toDisplayString)(__props.control.optionTemplate), 1))], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3$9, [
|
|
2774
2774
|
__props.control?.showImage && item?.image ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(image_exports).Template, {
|
|
2775
2775
|
key: 0,
|
|
2776
2776
|
control: { src: item?.image }
|
|
@@ -2886,11 +2886,11 @@ var mergeSelect_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
2886
2886
|
//#endregion
|
|
2887
2887
|
//#region src/packages/controls/mergeSelect/mergeSelect.ts
|
|
2888
2888
|
var mergeSelect_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2889
|
-
Template: () => Template$
|
|
2890
|
-
init: () => init$
|
|
2889
|
+
Template: () => Template$19,
|
|
2890
|
+
init: () => init$22
|
|
2891
2891
|
});
|
|
2892
|
-
const Template$
|
|
2893
|
-
function init$
|
|
2892
|
+
const Template$19 = require_utils.withInstall(mergeSelect_default);
|
|
2893
|
+
function init$22(moduleName, name, optionFrom, optionValues, options = {}) {
|
|
2894
2894
|
let type = options.type, url = "";
|
|
2895
2895
|
if (!options.type && typeof optionValues !== "string" && optionValues?.length > 0) {
|
|
2896
2896
|
const optionsLength = optionValues.length;
|
|
@@ -2966,11 +2966,11 @@ var slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2966
2966
|
//#endregion
|
|
2967
2967
|
//#region src/packages/controls/slider/slider.ts
|
|
2968
2968
|
var slider_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
2969
|
-
Template: () => Template$
|
|
2970
|
-
init: () => init$
|
|
2969
|
+
Template: () => Template$18,
|
|
2970
|
+
init: () => init$21
|
|
2971
2971
|
});
|
|
2972
|
-
const Template$
|
|
2973
|
-
function init$
|
|
2972
|
+
const Template$18 = require_utils.withInstall(slider_default);
|
|
2973
|
+
function init$21(moduleName, name, options = {}) {
|
|
2974
2974
|
return (0, vue.reactive)({
|
|
2975
2975
|
moduleName,
|
|
2976
2976
|
name,
|
|
@@ -2979,11 +2979,11 @@ function init$20(moduleName, name, options = {}) {
|
|
|
2979
2979
|
}
|
|
2980
2980
|
//#endregion
|
|
2981
2981
|
//#region src/packages/controls/map/map.vue?vue&type=script&setup=true&lang.ts
|
|
2982
|
-
const _hoisted_1$
|
|
2982
|
+
const _hoisted_1$12 = {
|
|
2983
2983
|
class: "search-box",
|
|
2984
2984
|
id: "searchBox"
|
|
2985
2985
|
};
|
|
2986
|
-
const _hoisted_2$
|
|
2986
|
+
const _hoisted_2$11 = { id: "searchResultPanel" };
|
|
2987
2987
|
const _hoisted_3$8 = ["onClick"];
|
|
2988
2988
|
const _hoisted_4$5 = { class: "dialog-footer" };
|
|
2989
2989
|
//#endregion
|
|
@@ -3000,7 +3000,7 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
|
|
|
3000
3000
|
const props = __props;
|
|
3001
3001
|
const { fieldValue } = require_hooks.useFormValue("RwMap", props.control);
|
|
3002
3002
|
const currVal = (0, vue.ref)(fieldValue.value);
|
|
3003
|
-
const inputControl = (0, vue.reactive)(init$
|
|
3003
|
+
const inputControl = (0, vue.reactive)(init$30(props.control.moduleName ?? "", props.control.name, {
|
|
3004
3004
|
readonly: true,
|
|
3005
3005
|
label: props.control.label
|
|
3006
3006
|
}));
|
|
@@ -3191,7 +3191,7 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
|
|
|
3191
3191
|
default: (0, vue.withCtx)(() => [..._cache[5] || (_cache[5] = [(0, vue.createTextVNode)("确认", -1)])]),
|
|
3192
3192
|
_: 1
|
|
3193
3193
|
})])]),
|
|
3194
|
-
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$
|
|
3194
|
+
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$12, [(0, vue.createVNode)(_component_el_col, { span: 24 }, {
|
|
3195
3195
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)(_component_el_input, {
|
|
3196
3196
|
style: {
|
|
3197
3197
|
"width": "100%",
|
|
@@ -3208,7 +3208,7 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
|
|
|
3208
3208
|
onClear: _cache[2] || (_cache[2] = ($event) => searchRes.value = [])
|
|
3209
3209
|
}, null, 8, ["modelValue", "prefix-icon"])]),
|
|
3210
3210
|
_: 1
|
|
3211
|
-
}), (0, vue.createElementVNode)("div", _hoisted_2$
|
|
3211
|
+
}), (0, vue.createElementVNode)("div", _hoisted_2$11, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(searchRes.value, (item) => {
|
|
3212
3212
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
3213
3213
|
class: "list",
|
|
3214
3214
|
onClick: (0, vue.withModifiers)(($event) => setPlaceBmap(item), ["stop"]),
|
|
@@ -3233,17 +3233,17 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
|
|
|
3233
3233
|
//#endregion
|
|
3234
3234
|
//#region src/packages/controls/map/map.ts
|
|
3235
3235
|
var map_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
3236
|
-
Template: () => Template$
|
|
3237
|
-
init: () => init$
|
|
3236
|
+
Template: () => Template$17,
|
|
3237
|
+
init: () => init$20
|
|
3238
3238
|
});
|
|
3239
|
-
const Template$
|
|
3239
|
+
const Template$17 = require_utils.withInstall(map_default);
|
|
3240
3240
|
var MapSource = /* @__PURE__ */ function(MapSource) {
|
|
3241
3241
|
MapSource["bmap"] = "https://api.map.baidu.com/getscript?v=2.0";
|
|
3242
3242
|
MapSource["amap"] = "https://webapi.amap.com/maps?v=1.4.15";
|
|
3243
3243
|
MapSource["google-map"] = "//api.map.baidu.com/getscript?v=2.0";
|
|
3244
3244
|
return MapSource;
|
|
3245
3245
|
}(MapSource || {});
|
|
3246
|
-
function init$
|
|
3246
|
+
function init$20(moduleName, name, options = {}) {
|
|
3247
3247
|
options.mapType = options.mapType ?? "bmap";
|
|
3248
3248
|
options.src = MapSource[options.mapType];
|
|
3249
3249
|
return {
|
|
@@ -3261,11 +3261,11 @@ function init$19(moduleName, name, options = {}) {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
//#endregion
|
|
3263
3263
|
//#region src/packages/controls/uploadNew/components/fileItem.vue?vue&type=script&setup=true&lang.ts
|
|
3264
|
-
const _hoisted_1$
|
|
3264
|
+
const _hoisted_1$11 = {
|
|
3265
3265
|
key: 0,
|
|
3266
3266
|
class: "file-item-container"
|
|
3267
3267
|
};
|
|
3268
|
-
const _hoisted_2$
|
|
3268
|
+
const _hoisted_2$10 = {
|
|
3269
3269
|
key: 0,
|
|
3270
3270
|
class: "image-grid"
|
|
3271
3271
|
};
|
|
@@ -3402,9 +3402,9 @@ var fileItem_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__P
|
|
|
3402
3402
|
const _component_el_row = (0, vue.resolveComponent)("el-row");
|
|
3403
3403
|
const _component_el_dialog = (0, vue.resolveComponent)("el-dialog");
|
|
3404
3404
|
const _directive_loading = (0, vue.resolveDirective)("loading");
|
|
3405
|
-
return __props.fileList.length > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
3405
|
+
return __props.fileList.length > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$11, [
|
|
3406
3406
|
(0, vue.createCommentVNode)(" 图片类型文件展示 "),
|
|
3407
|
-
isImageType.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$
|
|
3407
|
+
isImageType.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$10, [(0, vue.createVNode)(_component_el_row, {
|
|
3408
3408
|
gutter: 20,
|
|
3409
3409
|
style: { "width": "100%" }
|
|
3410
3410
|
}, {
|
|
@@ -3556,11 +3556,11 @@ var pagination_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
3556
3556
|
//#endregion
|
|
3557
3557
|
//#region src/packages/controls/pagination/pagination.ts
|
|
3558
3558
|
var pagination_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
3559
|
-
Template: () => Template$
|
|
3560
|
-
init: () => init$
|
|
3559
|
+
Template: () => Template$16,
|
|
3560
|
+
init: () => init$19
|
|
3561
3561
|
});
|
|
3562
|
-
const Template$
|
|
3563
|
-
const init$
|
|
3562
|
+
const Template$16 = require_utils.withInstall(pagination_default);
|
|
3563
|
+
const init$19 = (name, options = {}) => {
|
|
3564
3564
|
options.currentPage = options.currentPage ?? 1;
|
|
3565
3565
|
options.page = options.page ?? 1;
|
|
3566
3566
|
options.pageSize = options.pageSize ?? 10;
|
|
@@ -3572,8 +3572,8 @@ const init$18 = (name, options = {}) => {
|
|
|
3572
3572
|
};
|
|
3573
3573
|
//#endregion
|
|
3574
3574
|
//#region src/packages/controls/uploadNew/components/dialog.vue?vue&type=script&setup=true&lang.ts
|
|
3575
|
-
const _hoisted_1$
|
|
3576
|
-
const _hoisted_2$
|
|
3575
|
+
const _hoisted_1$10 = { key: 0 };
|
|
3576
|
+
const _hoisted_2$9 = { class: "el-upload__text" };
|
|
3577
3577
|
const _hoisted_3$6 = {
|
|
3578
3578
|
key: 0,
|
|
3579
3579
|
class: "uploading-files-section"
|
|
@@ -3627,7 +3627,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
3627
3627
|
const fileLoading = (0, vue.ref)(false);
|
|
3628
3628
|
const successUploadList = (0, vue.ref)([]);
|
|
3629
3629
|
const uploadInfo = (0, vue.ref)({});
|
|
3630
|
-
const pagination = (0, vue.reactive)(init$
|
|
3630
|
+
const pagination = (0, vue.reactive)(init$19(""));
|
|
3631
3631
|
const fileMapping = (0, vue.ref)(/* @__PURE__ */ new Map());
|
|
3632
3632
|
const uploadingFiles = (0, vue.ref)(/* @__PURE__ */ new Map());
|
|
3633
3633
|
const uploadAccept = (0, vue.computed)(() => getUploadAccept(props.control.type));
|
|
@@ -4017,7 +4017,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4017
4017
|
"show-file-list": false
|
|
4018
4018
|
}, {
|
|
4019
4019
|
tip: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" 最多上传" + (0, vue.toDisplayString)(__props.control.limit) + "个文件,已上传" + (0, vue.toDisplayString)(successUploadList.value.length) + "个 ", 1)]),
|
|
4020
|
-
default: (0, vue.withCtx)(() => [__props.control.type === "file" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
4020
|
+
default: (0, vue.withCtx)(() => [__props.control.type === "file" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$10, [
|
|
4021
4021
|
(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "el-icon--upload" }, {
|
|
4022
4022
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.UploadFilled))]),
|
|
4023
4023
|
_: 1
|
|
@@ -4037,7 +4037,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4037
4037
|
}, null, 8, ["src"])])], 2112)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 2 }, [(0, vue.createCommentVNode)(" 默认上传区域 "), (0, vue.createElementVNode)("div", null, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "el-icon--upload" }, {
|
|
4038
4038
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.UploadFilled))]),
|
|
4039
4039
|
_: 1
|
|
4040
|
-
}), (0, vue.createElementVNode)("div", _hoisted_2$
|
|
4040
|
+
}), (0, vue.createElementVNode)("div", _hoisted_2$9, [(0, vue.createTextVNode)(" 将" + (0, vue.toDisplayString)(__props.control.type === "image" ? "图片" : __props.control.type === "video" ? "视频" : __props.control.type === "music" ? "音频" : "文件") + "拖到此处,或 ", 1), _cache[10] || (_cache[10] = (0, vue.createElementVNode)("em", null, "点击上传", -1))])])], 2112))]),
|
|
4041
4041
|
_: 1
|
|
4042
4042
|
}, 8, [
|
|
4043
4043
|
"file-list",
|
|
@@ -4203,8 +4203,8 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4203
4203
|
}), [["__scopeId", "data-v-eeee0fda"]]);
|
|
4204
4204
|
//#endregion
|
|
4205
4205
|
//#region src/packages/controls/uploadNew/components/showPicture.vue?vue&type=script&setup=true&lang.ts
|
|
4206
|
-
const _hoisted_1$
|
|
4207
|
-
const _hoisted_2$
|
|
4206
|
+
const _hoisted_1$9 = { class: "show-picture-container" };
|
|
4207
|
+
const _hoisted_2$8 = {
|
|
4208
4208
|
key: 0,
|
|
4209
4209
|
class: "card upload_list"
|
|
4210
4210
|
};
|
|
@@ -4315,8 +4315,8 @@ var showPicture_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
4315
4315
|
const _component_el_icon = (0, vue.resolveComponent)("el-icon");
|
|
4316
4316
|
const _component_el_image = (0, vue.resolveComponent)("el-image");
|
|
4317
4317
|
const _component_el_dialog = (0, vue.resolveComponent)("el-dialog");
|
|
4318
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
4319
|
-
fileList.value.length > 0 && isMounted.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("ul", _hoisted_2$
|
|
4318
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$9, [
|
|
4319
|
+
fileList.value.length > 0 && isMounted.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("ul", _hoisted_2$8, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(fileList.value, (item, index) => {
|
|
4320
4320
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("li", {
|
|
4321
4321
|
key: item.FileID || item.url,
|
|
4322
4322
|
class: "list_item upload_list_item",
|
|
@@ -4391,8 +4391,8 @@ var showPicture_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
4391
4391
|
}), [["__scopeId", "data-v-dd6f9719"]]);
|
|
4392
4392
|
//#endregion
|
|
4393
4393
|
//#region src/packages/controls/uploadNew/upload.vue?vue&type=script&setup=true&lang.ts
|
|
4394
|
-
const _hoisted_1$
|
|
4395
|
-
const _hoisted_2$
|
|
4394
|
+
const _hoisted_1$8 = { class: "rw-upload-container" };
|
|
4395
|
+
const _hoisted_2$7 = { class: "upload_wrapper" };
|
|
4396
4396
|
const _hoisted_3$4 = ["title"];
|
|
4397
4397
|
//#endregion
|
|
4398
4398
|
//#region src/packages/controls/uploadNew/upload.vue
|
|
@@ -4497,7 +4497,7 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4497
4497
|
return (_ctx, _cache) => {
|
|
4498
4498
|
const _component_el_icon = (0, vue.resolveComponent)("el-icon");
|
|
4499
4499
|
const _directive_loading = (0, vue.resolveDirective)("loading");
|
|
4500
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
4500
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$8, [
|
|
4501
4501
|
(0, vue.createCommentVNode)(" 文件列表显示 "),
|
|
4502
4502
|
(0, vue.withDirectives)((0, vue.createVNode)(showPicture_default, {
|
|
4503
4503
|
list: fileList.value,
|
|
@@ -4516,7 +4516,7 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4516
4516
|
key: 0,
|
|
4517
4517
|
class: "upload-trigger",
|
|
4518
4518
|
onClick: handleOpenDialog
|
|
4519
|
-
}, [(0, vue.createElementVNode)("div", _hoisted_2$
|
|
4519
|
+
}, [(0, vue.createElementVNode)("div", _hoisted_2$7, [props.control.type === "file" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
4520
4520
|
key: 0,
|
|
4521
4521
|
title: (0, vue.unref)(require_locale.t)("buttons.uploadFile"),
|
|
4522
4522
|
class: "upload-icon"
|
|
@@ -4547,19 +4547,19 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4547
4547
|
//#endregion
|
|
4548
4548
|
//#region src/packages/controls/uploadNew/upload.ts
|
|
4549
4549
|
var upload_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
4550
|
-
Template: () => Template$
|
|
4550
|
+
Template: () => Template$15,
|
|
4551
4551
|
getFileList: () => getFileList,
|
|
4552
4552
|
getUploadAccept: () => getUploadAccept,
|
|
4553
4553
|
handleUploadError: () => handleUploadError,
|
|
4554
|
-
init: () => init$
|
|
4554
|
+
init: () => init$18,
|
|
4555
4555
|
initFile: () => initFile,
|
|
4556
4556
|
isEmpty: () => isEmpty,
|
|
4557
4557
|
removeUploadedFile: () => removeUploadedFile,
|
|
4558
4558
|
showUploadExceedMessage: () => showUploadExceedMessage,
|
|
4559
4559
|
validateUploadLimit: () => validateUploadLimit
|
|
4560
4560
|
});
|
|
4561
|
-
const Template$
|
|
4562
|
-
function init$
|
|
4561
|
+
const Template$15 = require_utils.withInstall(upload_default);
|
|
4562
|
+
function init$18(moduleName, name, options = {}) {
|
|
4563
4563
|
return {
|
|
4564
4564
|
moduleName,
|
|
4565
4565
|
name,
|
|
@@ -4624,8 +4624,8 @@ const isEmpty = (value) => {
|
|
|
4624
4624
|
};
|
|
4625
4625
|
//#endregion
|
|
4626
4626
|
//#region src/packages/controls/tree/tree.vue?vue&type=script&setup=true&lang.ts
|
|
4627
|
-
const _hoisted_1$
|
|
4628
|
-
const _hoisted_2$
|
|
4627
|
+
const _hoisted_1$7 = { class: "rw-tree-container" };
|
|
4628
|
+
const _hoisted_2$6 = {
|
|
4629
4629
|
key: 0,
|
|
4630
4630
|
class: "rw-tree-loading"
|
|
4631
4631
|
};
|
|
@@ -4834,7 +4834,7 @@ var tree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
4834
4834
|
});
|
|
4835
4835
|
return (_ctx, _cache) => {
|
|
4836
4836
|
const _directive_loading = (0, vue.resolveDirective)("loading");
|
|
4837
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
4837
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$7, [(0, vue.createCommentVNode)(" 加载状态 "), isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$6, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "is-loading" }, {
|
|
4838
4838
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.Loading))]),
|
|
4839
4839
|
_: 1
|
|
4840
4840
|
}), _cache[0] || (_cache[0] = (0, vue.createElementVNode)("span", null, "加载中...", -1))])) : error.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createCommentVNode)(" 错误状态 "), (0, vue.createElementVNode)("div", _hoisted_3$3, [
|
|
@@ -4905,11 +4905,11 @@ var tree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
4905
4905
|
//#endregion
|
|
4906
4906
|
//#region src/packages/controls/tree/tree.ts
|
|
4907
4907
|
var tree_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
4908
|
-
Template: () => Template$
|
|
4909
|
-
init: () => init$
|
|
4908
|
+
Template: () => Template$14,
|
|
4909
|
+
init: () => init$17
|
|
4910
4910
|
});
|
|
4911
|
-
const Template$
|
|
4912
|
-
function init$
|
|
4911
|
+
const Template$14 = require_utils.withInstall(tree_default);
|
|
4912
|
+
function init$17(moduleName, name, options = {}) {
|
|
4913
4913
|
return {
|
|
4914
4914
|
moduleName,
|
|
4915
4915
|
name,
|
|
@@ -4935,8 +4935,8 @@ function init$16(moduleName, name, options = {}) {
|
|
|
4935
4935
|
}
|
|
4936
4936
|
//#endregion
|
|
4937
4937
|
//#region src/packages/controls/text/text.vue?vue&type=script&setup=true&lang.ts
|
|
4938
|
-
const _hoisted_1$
|
|
4939
|
-
const _hoisted_2$
|
|
4938
|
+
const _hoisted_1$6 = { key: 0 };
|
|
4939
|
+
const _hoisted_2$5 = ["innerHTML"];
|
|
4940
4940
|
const _hoisted_3$2 = { key: 2 };
|
|
4941
4941
|
const _hoisted_4 = {
|
|
4942
4942
|
key: 0,
|
|
@@ -5006,10 +5006,10 @@ var text_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
5006
5006
|
key: "0"
|
|
5007
5007
|
} : __props.control.default ? {
|
|
5008
5008
|
name: "default",
|
|
5009
|
-
fn: (0, vue.withCtx)(() => [(0, vue.createCommentVNode)(" <component\r\n :is=\"control.default\"\r\n v-if=\"isComponent(control.default) && !isHTML(control.default)\"\r\n />\r\n "), __props.control.default === "null" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
5009
|
+
fn: (0, vue.withCtx)(() => [(0, vue.createCommentVNode)(" <component\r\n :is=\"control.default\"\r\n v-if=\"isComponent(control.default) && !isHTML(control.default)\"\r\n />\r\n "), __props.control.default === "null" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$6, "\xA0")) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
5010
5010
|
key: 1,
|
|
5011
5011
|
innerHTML: __props.control.default
|
|
5012
|
-
}, null, 8, _hoisted_2$
|
|
5012
|
+
}, null, 8, _hoisted_2$5)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$2, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
5013
5013
|
key: "1"
|
|
5014
5014
|
} : __props.control.multiLang && showTextValue.value instanceof Object ? {
|
|
5015
5015
|
name: "default",
|
|
@@ -5050,11 +5050,11 @@ var text_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
5050
5050
|
//#endregion
|
|
5051
5051
|
//#region src/packages/controls/text/text.ts
|
|
5052
5052
|
var text_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
5053
|
-
Template: () => Template$
|
|
5054
|
-
init: () => init$
|
|
5053
|
+
Template: () => Template$13,
|
|
5054
|
+
init: () => init$16
|
|
5055
5055
|
});
|
|
5056
|
-
const Template$
|
|
5057
|
-
function init$
|
|
5056
|
+
const Template$13 = require_utils.withInstall(text_default);
|
|
5057
|
+
function init$16(moduleName, name, options = {}) {
|
|
5058
5058
|
return {
|
|
5059
5059
|
moduleName,
|
|
5060
5060
|
name,
|
|
@@ -5065,7 +5065,7 @@ function init$15(moduleName, name, options = {}) {
|
|
|
5065
5065
|
}
|
|
5066
5066
|
//#endregion
|
|
5067
5067
|
//#region src/packages/controls/table/table.vue?vue&type=script&setup=true&lang.ts
|
|
5068
|
-
const _hoisted_1$
|
|
5068
|
+
const _hoisted_1$5 = { key: 0 };
|
|
5069
5069
|
//#endregion
|
|
5070
5070
|
//#region src/packages/controls/table/table.vue
|
|
5071
5071
|
var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -5399,8 +5399,8 @@ var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
5399
5399
|
moduleName: propertys.moduleName,
|
|
5400
5400
|
name: "more",
|
|
5401
5401
|
controlType: "dropdown",
|
|
5402
|
-
Template: (0, vue.markRaw)(Template$
|
|
5403
|
-
config: init$
|
|
5402
|
+
Template: (0, vue.markRaw)(Template$31),
|
|
5403
|
+
config: init$34(propertys.moduleName, "more", {
|
|
5404
5404
|
label: require_locale.t("buttons.more"),
|
|
5405
5405
|
text: controls[0].config.text
|
|
5406
5406
|
})
|
|
@@ -5470,7 +5470,7 @@ var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
5470
5470
|
label: (0, vue.unref)(require_locale.t)(item.label),
|
|
5471
5471
|
width: getColumnWidth(item.width)
|
|
5472
5472
|
}), {
|
|
5473
|
-
default: (0, vue.withCtx)((scope) => [(0, vue.createCommentVNode)(" <div v-if=\"item.init.controlType === 'Html'\">\r\n <div v-html=\"item.init?.formatter(scope.row[scope.column.property]) ?? scope.row[scope.column.property]\"></div>\r\n </div> "), item.init.controlType === "text" && item.init.multiLang ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
5473
|
+
default: (0, vue.withCtx)((scope) => [(0, vue.createCommentVNode)(" <div v-if=\"item.init.controlType === 'Html'\">\r\n <div v-html=\"item.init?.formatter(scope.row[scope.column.property]) ?? scope.row[scope.column.property]\"></div>\r\n </div> "), item.init.controlType === "text" && item.init.multiLang ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$5, [(0, vue.createVNode)((0, vue.unref)(text_exports).Template, {
|
|
5474
5474
|
control: getTextControlOption(item.init),
|
|
5475
5475
|
modelValue: scope.row[scope.column.property]
|
|
5476
5476
|
}, null, 8, ["control", "modelValue"])])) : item.init.controlType !== "text" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(item.Template), (0, vue.mergeProps)({
|
|
@@ -5545,8 +5545,8 @@ var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
5545
5545
|
}), [["__scopeId", "data-v-33e56526"]]);
|
|
5546
5546
|
//#endregion
|
|
5547
5547
|
//#region src/packages/controls/tag/tag.vue?vue&type=script&setup=true&lang.ts
|
|
5548
|
-
const _hoisted_1$
|
|
5549
|
-
const _hoisted_2$
|
|
5548
|
+
const _hoisted_1$4 = ["innerHTML"];
|
|
5549
|
+
const _hoisted_2$4 = { key: 2 };
|
|
5550
5550
|
//#endregion
|
|
5551
5551
|
//#region src/packages/controls/tag/tag.vue
|
|
5552
5552
|
var tag_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -5574,7 +5574,7 @@ var tag_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5574
5574
|
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", {
|
|
5575
5575
|
key: 1,
|
|
5576
5576
|
innerHTML: __props.control.default
|
|
5577
|
-
}, null, 8, _hoisted_1$
|
|
5577
|
+
}, null, 8, _hoisted_1$4)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$4, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
5578
5578
|
key: "1"
|
|
5579
5579
|
} : void 0]), 1040);
|
|
5580
5580
|
};
|
|
@@ -5583,11 +5583,11 @@ var tag_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5583
5583
|
//#endregion
|
|
5584
5584
|
//#region src/packages/controls/tag/tag.ts
|
|
5585
5585
|
var tag_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
5586
|
-
Template: () => Template$
|
|
5587
|
-
init: () => init$
|
|
5586
|
+
Template: () => Template$12,
|
|
5587
|
+
init: () => init$15
|
|
5588
5588
|
});
|
|
5589
|
-
const Template$
|
|
5590
|
-
function init$
|
|
5589
|
+
const Template$12 = require_utils.withInstall(tag_default);
|
|
5590
|
+
function init$15(moduleName, name, options = {}) {
|
|
5591
5591
|
return {
|
|
5592
5592
|
moduleName,
|
|
5593
5593
|
name,
|
|
@@ -5597,11 +5597,11 @@ function init$14(moduleName, name, options = {}) {
|
|
|
5597
5597
|
}
|
|
5598
5598
|
//#endregion
|
|
5599
5599
|
//#region src/packages/controls/tagComp/tagComp.vue?vue&type=script&setup=true&lang.ts
|
|
5600
|
-
const _hoisted_1$
|
|
5600
|
+
const _hoisted_1$3 = {
|
|
5601
5601
|
class: "flex gap-1 flex-wrap",
|
|
5602
5602
|
style: { "align-items": "center" }
|
|
5603
5603
|
};
|
|
5604
|
-
const _hoisted_2$
|
|
5604
|
+
const _hoisted_2$3 = { class: "gap-1 flex flex-wrap" };
|
|
5605
5605
|
const _hoisted_3$1 = { key: 1 };
|
|
5606
5606
|
//#endregion
|
|
5607
5607
|
//#region src/packages/controls/tagComp/tagComp.vue
|
|
@@ -5651,7 +5651,7 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5651
5651
|
}
|
|
5652
5652
|
});
|
|
5653
5653
|
const addButton = (0, vue.computed)(() => {
|
|
5654
|
-
return init$
|
|
5654
|
+
return init$36(props.control.moduleName, "addButton", {
|
|
5655
5655
|
label: props.control.buttonLabel,
|
|
5656
5656
|
icon: props.control.buttonIcon
|
|
5657
5657
|
});
|
|
@@ -5737,7 +5737,7 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5737
5737
|
};
|
|
5738
5738
|
return (_ctx, _cache) => {
|
|
5739
5739
|
const _component_ElPopover = (0, vue.resolveComponent)("ElPopover");
|
|
5740
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$
|
|
5740
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$3, [
|
|
5741
5741
|
((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(values.value, (tabInfo, index) => {
|
|
5742
5742
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: index }, [index < showNumber.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(tag_exports).Template, {
|
|
5743
5743
|
key: 0,
|
|
@@ -5760,7 +5760,7 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5760
5760
|
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(require_locale.t)("buttons.more")) + "(" + (0, vue.toDisplayString)(otherNumber.value) + ")... ", 1)]),
|
|
5761
5761
|
_: 1
|
|
5762
5762
|
}, 8, ["control"])]),
|
|
5763
|
-
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_2$
|
|
5763
|
+
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_2$3, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(values.value, (tabInfo, index) => {
|
|
5764
5764
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: index }, [index >= showNumber.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(tag_exports).Template, {
|
|
5765
5765
|
key: 0,
|
|
5766
5766
|
control: tagProps.value,
|
|
@@ -5796,11 +5796,11 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
5796
5796
|
//#endregion
|
|
5797
5797
|
//#region src/packages/controls/tagComp/tagComp.ts
|
|
5798
5798
|
var tagComp_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
5799
|
-
Template: () => Template$
|
|
5800
|
-
init: () => init$
|
|
5799
|
+
Template: () => Template$11,
|
|
5800
|
+
init: () => init$14
|
|
5801
5801
|
});
|
|
5802
|
-
const Template$
|
|
5803
|
-
function init$
|
|
5802
|
+
const Template$11 = require_utils.withInstall(tagComp_default);
|
|
5803
|
+
function init$14(moduleName, name, options = {}) {
|
|
5804
5804
|
return {
|
|
5805
5805
|
moduleName,
|
|
5806
5806
|
name,
|
|
@@ -5811,25 +5811,25 @@ function init$13(moduleName, name, options = {}) {
|
|
|
5811
5811
|
//#endregion
|
|
5812
5812
|
//#region src/packages/controls/table/table.ts
|
|
5813
5813
|
var table_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
5814
|
-
Template: () => Template$
|
|
5814
|
+
Template: () => Template$10,
|
|
5815
5815
|
getFormContent: () => getFormContent,
|
|
5816
|
-
init: () => init$
|
|
5816
|
+
init: () => init$13
|
|
5817
5817
|
});
|
|
5818
|
-
const Template$
|
|
5819
|
-
function init$
|
|
5818
|
+
const Template$10 = require_utils.withInstall(table_default);
|
|
5819
|
+
function init$13(struct, options = {}) {
|
|
5820
5820
|
const showEdit = options?.showEdit ?? true;
|
|
5821
5821
|
const allForm = options?.allForm ?? false;
|
|
5822
5822
|
console.log("allForm", allForm);
|
|
5823
5823
|
const columns = [];
|
|
5824
|
-
const lineButtons = (0, vue.reactive)(init$
|
|
5824
|
+
const lineButtons = (0, vue.reactive)(init$33(struct.name, {
|
|
5825
5825
|
isGroup: true,
|
|
5826
5826
|
buttonsArea: "tableLine"
|
|
5827
5827
|
}));
|
|
5828
|
-
const headerLineButtons = (0, vue.reactive)(init$
|
|
5828
|
+
const headerLineButtons = (0, vue.reactive)(init$33(struct.name, {
|
|
5829
5829
|
isGroup: false,
|
|
5830
5830
|
buttonsArea: "tableLine"
|
|
5831
5831
|
}));
|
|
5832
|
-
const otherButtons = (0, vue.reactive)(init$
|
|
5832
|
+
const otherButtons = (0, vue.reactive)(init$33(struct.name, {
|
|
5833
5833
|
isGroup: false,
|
|
5834
5834
|
buttonsArea: "tableLine"
|
|
5835
5835
|
}));
|
|
@@ -6047,8 +6047,8 @@ function getFormContent(columns) {
|
|
|
6047
6047
|
}
|
|
6048
6048
|
//#endregion
|
|
6049
6049
|
//#region src/packages/controls/segmented/segmented.vue?vue&type=script&setup=true&lang.ts
|
|
6050
|
-
const _hoisted_1$
|
|
6051
|
-
const _hoisted_2$
|
|
6050
|
+
const _hoisted_1$2 = ["innerHTML"];
|
|
6051
|
+
const _hoisted_2$2 = { key: 2 };
|
|
6052
6052
|
//#endregion
|
|
6053
6053
|
//#region src/packages/controls/segmented/segmented.vue
|
|
6054
6054
|
var segmented_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -6084,7 +6084,7 @@ var segmented_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6084
6084
|
fn: (0, vue.withCtx)((scope) => [(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", {
|
|
6085
6085
|
key: 1,
|
|
6086
6086
|
innerHTML: __props.control.default
|
|
6087
|
-
}, null, 8, _hoisted_1$
|
|
6087
|
+
}, null, 8, _hoisted_1$2)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$2, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
6088
6088
|
key: "1"
|
|
6089
6089
|
} : void 0]), 1040, ["modelValue"]);
|
|
6090
6090
|
};
|
|
@@ -6093,11 +6093,11 @@ var segmented_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6093
6093
|
//#endregion
|
|
6094
6094
|
//#region src/packages/controls/segmented/segmented.ts
|
|
6095
6095
|
var segmented_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
6096
|
-
Template: () => Template$
|
|
6097
|
-
init: () => init$
|
|
6096
|
+
Template: () => Template$9,
|
|
6097
|
+
init: () => init$12
|
|
6098
6098
|
});
|
|
6099
|
-
const Template$
|
|
6100
|
-
function init$
|
|
6099
|
+
const Template$9 = require_utils.withInstall(segmented_default);
|
|
6100
|
+
function init$12(moduleName, name, options = {}) {
|
|
6101
6101
|
return {
|
|
6102
6102
|
moduleName,
|
|
6103
6103
|
name,
|
|
@@ -6107,7 +6107,7 @@ function init$11(moduleName, name, options = {}) {
|
|
|
6107
6107
|
}
|
|
6108
6108
|
//#endregion
|
|
6109
6109
|
//#region src/packages/controls/formItems/formItems.ts
|
|
6110
|
-
var formItems_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$
|
|
6110
|
+
var formItems_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$11 });
|
|
6111
6111
|
function createFormItemProps(moduleName, name, options) {
|
|
6112
6112
|
return {
|
|
6113
6113
|
required: options?.required,
|
|
@@ -6116,7 +6116,7 @@ function createFormItemProps(moduleName, name, options) {
|
|
|
6116
6116
|
...options?.formItemProps
|
|
6117
6117
|
};
|
|
6118
6118
|
}
|
|
6119
|
-
const init$
|
|
6119
|
+
const init$11 = (struct, options = {}) => {
|
|
6120
6120
|
const formItems = [];
|
|
6121
6121
|
const rowProps = { ...options?.rowProps };
|
|
6122
6122
|
const labelWidth = options.labelWidth;
|
|
@@ -6227,8 +6227,8 @@ function createMergeSelectComponent$1(struct, name, optionFrom, optionValues, op
|
|
|
6227
6227
|
moduleName: struct.name,
|
|
6228
6228
|
name,
|
|
6229
6229
|
...mergeSelectOptions,
|
|
6230
|
-
Template: (0, vue.markRaw)(Template$
|
|
6231
|
-
init: init$
|
|
6230
|
+
Template: (0, vue.markRaw)(Template$19),
|
|
6231
|
+
init: init$22(struct.name, name, optionFrom, optionValues, mergeSelectOptions),
|
|
6232
6232
|
formItemProps: newFormItemProps,
|
|
6233
6233
|
colProps: {
|
|
6234
6234
|
span: options.span,
|
|
@@ -6254,8 +6254,8 @@ function createTagComponent(struct, name, optionFrom, optionValues, options = {}
|
|
|
6254
6254
|
moduleName: struct.name,
|
|
6255
6255
|
name,
|
|
6256
6256
|
...tagOptions,
|
|
6257
|
-
Template: (0, vue.markRaw)(Template$
|
|
6258
|
-
init: init$
|
|
6257
|
+
Template: (0, vue.markRaw)(Template$11),
|
|
6258
|
+
init: init$14(struct.name, name, {
|
|
6259
6259
|
optionFrom,
|
|
6260
6260
|
optionValues,
|
|
6261
6261
|
...tagOptions
|
|
@@ -6305,14 +6305,14 @@ function addCustomComponent(component, struct, name, options = {}, items) {
|
|
|
6305
6305
|
}
|
|
6306
6306
|
//#endregion
|
|
6307
6307
|
//#region src/packages/controls/formItems/formItems.vue?vue&type=script&setup=true&lang.ts
|
|
6308
|
-
const _hoisted_1 = {
|
|
6308
|
+
const _hoisted_1$1 = {
|
|
6309
6309
|
key: 0,
|
|
6310
6310
|
style: {
|
|
6311
6311
|
"padding-right": "32px",
|
|
6312
6312
|
"box-sizing": "border-box"
|
|
6313
6313
|
}
|
|
6314
6314
|
};
|
|
6315
|
-
const _hoisted_2 = ["index"];
|
|
6315
|
+
const _hoisted_2$1 = ["index"];
|
|
6316
6316
|
const _hoisted_3 = {
|
|
6317
6317
|
key: 1,
|
|
6318
6318
|
style: {
|
|
@@ -6428,7 +6428,7 @@ var formItems_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6428
6428
|
default: (0, vue.withCtx)(() => [
|
|
6429
6429
|
(0, vue.createCommentVNode)(" 如果是search 并且 有input "),
|
|
6430
6430
|
__props.control?.type == "search" && (0, vue.unref)(localSettingStore).pageTable.search.mergeStringControl && haveInput.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [
|
|
6431
|
-
(0, vue.unref)(localSettingStore).pageTable.search.stringControlLocation == "front" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElSelect), {
|
|
6431
|
+
(0, vue.unref)(localSettingStore).pageTable.search.stringControlLocation == "front" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$1, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElSelect), {
|
|
6432
6432
|
modelValue: searchKeys.value,
|
|
6433
6433
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKeys.value = $event),
|
|
6434
6434
|
"collapse-tags": true,
|
|
@@ -6471,7 +6471,7 @@ var formItems_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6471
6471
|
}
|
|
6472
6472
|
} : {}), null, 16, ["control"]))]),
|
|
6473
6473
|
_: 2
|
|
6474
|
-
}, 1040, ["label-width"]))], 8, _hoisted_2)) : (0, vue.createCommentVNode)("v-if", true)], 64);
|
|
6474
|
+
}, 1040, ["label-width"]))], 8, _hoisted_2$1)) : (0, vue.createCommentVNode)("v-if", true)], 64);
|
|
6475
6475
|
}), 128)),
|
|
6476
6476
|
(0, vue.unref)(localSettingStore).pageTable.search.stringControlLocation == "end" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElSelect), {
|
|
6477
6477
|
modelValue: searchKeys.value,
|
|
@@ -6535,8 +6535,8 @@ var formItems_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6535
6535
|
});
|
|
6536
6536
|
//#endregion
|
|
6537
6537
|
//#region src/packages/controls/formItems/index.ts
|
|
6538
|
-
const Template$
|
|
6539
|
-
const RwFormItems = Object.assign({}, formItems_exports, { Template: Template$
|
|
6538
|
+
const Template$8 = require_utils.withInstall(formItems_default);
|
|
6539
|
+
const RwFormItems = Object.assign({}, formItems_exports, { Template: Template$8 });
|
|
6540
6540
|
//#endregion
|
|
6541
6541
|
//#region src/packages/controls/tabPane/tabPane.vue
|
|
6542
6542
|
var tabPane_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -6573,11 +6573,11 @@ var tabPane_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6573
6573
|
//#endregion
|
|
6574
6574
|
//#region src/packages/controls/tabPane/tabPane.ts
|
|
6575
6575
|
var tabPane_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
6576
|
-
Template: () => Template$
|
|
6577
|
-
init: () => init$
|
|
6576
|
+
Template: () => Template$7,
|
|
6577
|
+
init: () => init$10
|
|
6578
6578
|
});
|
|
6579
|
-
const Template$
|
|
6580
|
-
const init$
|
|
6579
|
+
const Template$7 = require_utils.withInstall(tabPane_default);
|
|
6580
|
+
const init$10 = (moduleName, name, options) => {
|
|
6581
6581
|
const contents = (0, vue.reactive)([]);
|
|
6582
6582
|
const tabPaneProps = (0, vue.reactive)({
|
|
6583
6583
|
name,
|
|
@@ -6598,7 +6598,7 @@ const init$9 = (moduleName, name, options) => {
|
|
|
6598
6598
|
}));
|
|
6599
6599
|
},
|
|
6600
6600
|
addTabs: (options = {}) => {
|
|
6601
|
-
contents.push(init$
|
|
6601
|
+
contents.push(init$9(options));
|
|
6602
6602
|
},
|
|
6603
6603
|
...options,
|
|
6604
6604
|
controlType: "tabPane"
|
|
@@ -6645,11 +6645,11 @@ var tabs_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
6645
6645
|
//#endregion
|
|
6646
6646
|
//#region src/packages/controls/tabs/tabs.ts
|
|
6647
6647
|
var tabs_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
6648
|
-
Template: () => Template$
|
|
6649
|
-
init: () => init$
|
|
6648
|
+
Template: () => Template$6,
|
|
6649
|
+
init: () => init$9
|
|
6650
6650
|
});
|
|
6651
|
-
const Template$
|
|
6652
|
-
function init$
|
|
6651
|
+
const Template$6 = require_utils.withInstall(tabs_default);
|
|
6652
|
+
function init$9(options = {}) {
|
|
6653
6653
|
const id = `tabs--${Date.now()}_${Math.random().toString(36).slice(2, 9)}`;
|
|
6654
6654
|
const tabPanes = [];
|
|
6655
6655
|
const inDialog = options?.inDialog ?? false;
|
|
@@ -6658,14 +6658,14 @@ function init$8(options = {}) {
|
|
|
6658
6658
|
tabPanes,
|
|
6659
6659
|
inDialog,
|
|
6660
6660
|
addTabPaneSimple: (moduleName, name, options) => {
|
|
6661
|
-
tabPanes.push(init$
|
|
6661
|
+
tabPanes.push(init$10(moduleName, name, {
|
|
6662
6662
|
...options,
|
|
6663
6663
|
inDialog
|
|
6664
6664
|
}));
|
|
6665
6665
|
return self;
|
|
6666
6666
|
},
|
|
6667
6667
|
addTabPane: (moduleName, name, contents, options) => {
|
|
6668
|
-
tabPanes.push(init$
|
|
6668
|
+
tabPanes.push(init$10(moduleName, name, {
|
|
6669
6669
|
...options,
|
|
6670
6670
|
inDialog,
|
|
6671
6671
|
contents: Array.isArray(contents) ? contents : [contents]
|
|
@@ -6682,9 +6682,9 @@ function init$8(options = {}) {
|
|
|
6682
6682
|
var form_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
6683
6683
|
FormTraverser: () => FormTraverser,
|
|
6684
6684
|
batchProcessForm: () => batchProcessForm,
|
|
6685
|
-
init: () => init$
|
|
6685
|
+
init: () => init$8
|
|
6686
6686
|
});
|
|
6687
|
-
const init$
|
|
6687
|
+
const init$8 = (struct, options = {}) => {
|
|
6688
6688
|
const formId = options.id || `form-${struct.name}-${Date.now()}_${Math.random().toString(36).slice(2, 9)}`;
|
|
6689
6689
|
const contents = (0, vue.reactive)([]);
|
|
6690
6690
|
const data = (() => {
|
|
@@ -6693,7 +6693,7 @@ const init$7 = (struct, options = {}) => {
|
|
|
6693
6693
|
})();
|
|
6694
6694
|
const contentsMap = (0, vue.reactive)(/* @__PURE__ */ new Map());
|
|
6695
6695
|
const customizedDisabled = options?.customizedDisabled ?? false;
|
|
6696
|
-
const buttons = (0, vue.reactive)(init$
|
|
6696
|
+
const buttons = (0, vue.reactive)(init$33(struct.name, { isGroup: true }));
|
|
6697
6697
|
buttons.addButton("submit", {
|
|
6698
6698
|
label: "buttons.save",
|
|
6699
6699
|
nativeType: "button",
|
|
@@ -6792,7 +6792,7 @@ const init$7 = (struct, options = {}) => {
|
|
|
6792
6792
|
return formItems;
|
|
6793
6793
|
},
|
|
6794
6794
|
addTabs: (options = {}) => {
|
|
6795
|
-
contents.push(init$
|
|
6795
|
+
contents.push(init$9(options));
|
|
6796
6796
|
},
|
|
6797
6797
|
changeButton: (name, options) => {
|
|
6798
6798
|
const item = buttons.controls.find((item) => item.name === name);
|
|
@@ -7456,8 +7456,8 @@ var form_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
7456
7456
|
}), [["__scopeId", "data-v-599c4886"]]);
|
|
7457
7457
|
//#endregion
|
|
7458
7458
|
//#region src/packages/controls/form/index.ts
|
|
7459
|
-
const Template$
|
|
7460
|
-
const RwForm = Object.assign({}, form_exports, { Template: Template$
|
|
7459
|
+
const Template$5 = require_utils.withInstall(form_default);
|
|
7460
|
+
const RwForm = Object.assign({}, form_exports, { Template: Template$5 });
|
|
7461
7461
|
//#endregion
|
|
7462
7462
|
//#region src/packages/controls/pageBase/pageBase.vue
|
|
7463
7463
|
var pageBase_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -7552,11 +7552,11 @@ var pageBase_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
7552
7552
|
//#endregion
|
|
7553
7553
|
//#region src/packages/controls/pageBase/pageBase.ts
|
|
7554
7554
|
var pageBase_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
7555
|
-
Template: () => Template$
|
|
7556
|
-
init: () => init$
|
|
7555
|
+
Template: () => Template$4,
|
|
7556
|
+
init: () => init$7
|
|
7557
7557
|
});
|
|
7558
|
-
const Template$
|
|
7559
|
-
const init$
|
|
7558
|
+
const Template$4 = require_utils.withInstall(pageBase_default);
|
|
7559
|
+
const init$7 = (name, pageType, options) => {
|
|
7560
7560
|
const dialogs = (0, vue.reactive)([]);
|
|
7561
7561
|
return {
|
|
7562
7562
|
name,
|
|
@@ -7564,7 +7564,7 @@ const init$6 = (name, pageType, options) => {
|
|
|
7564
7564
|
dialogs,
|
|
7565
7565
|
...options,
|
|
7566
7566
|
pushDialog: (name, templateName, buttons, options = {}) => {
|
|
7567
|
-
dialogs.push(init$
|
|
7567
|
+
dialogs.push(init$32(name, templateName, buttons, options));
|
|
7568
7568
|
},
|
|
7569
7569
|
showDialog: (name, id = 0, params) => {
|
|
7570
7570
|
const dialog = dialogs.find((dialog) => dialog.name === name);
|
|
@@ -7642,10 +7642,10 @@ var pageForm_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
7642
7642
|
//#region src/packages/controls/pageStruct/tableStruct.ts
|
|
7643
7643
|
var tableStruct_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
7644
7644
|
getDefaultData: () => getDefaultData,
|
|
7645
|
-
init: () => init$
|
|
7645
|
+
init: () => init$6,
|
|
7646
7646
|
textIsSystemKeyword: () => textIsSystemKeyword
|
|
7647
7647
|
});
|
|
7648
|
-
const init$
|
|
7648
|
+
const init$6 = (name, type, options = {}) => {
|
|
7649
7649
|
if (textIsSystemKeyword(name)) console.error(name, "数据库字段名不能为系统关键字");
|
|
7650
7650
|
return {
|
|
7651
7651
|
name,
|
|
@@ -8512,8 +8512,8 @@ const textIsSystemKeyword = (keyword) => {
|
|
|
8512
8512
|
//#endregion
|
|
8513
8513
|
//#region src/packages/controls/pageStruct/pageStruct.ts
|
|
8514
8514
|
/*** 原系统StructsC的类 */
|
|
8515
|
-
var pageStruct_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$
|
|
8516
|
-
const init$
|
|
8515
|
+
var pageStruct_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$5 });
|
|
8516
|
+
const init$5 = (name, tableID, apiURLFront, options = {}) => {
|
|
8517
8517
|
const fields = [];
|
|
8518
8518
|
const fieldsMap = /* @__PURE__ */ new Map();
|
|
8519
8519
|
const defaultSubModules = [
|
|
@@ -8606,7 +8606,7 @@ const init$4 = (name, tableID, apiURLFront, options = {}) => {
|
|
|
8606
8606
|
...newOptions,
|
|
8607
8607
|
title: `${name}.${fieldName}`
|
|
8608
8608
|
};
|
|
8609
|
-
const field = init$
|
|
8609
|
+
const field = init$6(fieldName, type, newOptions);
|
|
8610
8610
|
fields.push(field);
|
|
8611
8611
|
fieldsMap.set(fieldName, field);
|
|
8612
8612
|
}
|
|
@@ -8640,13 +8640,13 @@ const init$4 = (name, tableID, apiURLFront, options = {}) => {
|
|
|
8640
8640
|
//#endregion
|
|
8641
8641
|
//#region src/packages/controls/pageForm/pageForm.ts
|
|
8642
8642
|
var pageForm_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
8643
|
-
Template: () => Template$
|
|
8644
|
-
init: () => init$
|
|
8643
|
+
Template: () => Template$3,
|
|
8644
|
+
init: () => init$4
|
|
8645
8645
|
});
|
|
8646
|
-
const Template$
|
|
8647
|
-
const init$
|
|
8646
|
+
const Template$3 = require_utils.withInstall(pageForm_default);
|
|
8647
|
+
const init$4 = (struct, options) => {
|
|
8648
8648
|
return {
|
|
8649
|
-
page: (0, vue.reactive)(init$
|
|
8649
|
+
page: (0, vue.reactive)(init$7(struct.name, "form")),
|
|
8650
8650
|
form: (0, vue.reactive)(RwForm.init(struct, { ...options?.form })),
|
|
8651
8651
|
controlType: "pageForm"
|
|
8652
8652
|
};
|
|
@@ -8894,7 +8894,7 @@ var pageTable_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
8894
8894
|
}
|
|
8895
8895
|
}
|
|
8896
8896
|
function showColumns(arr = []) {
|
|
8897
|
-
let showColumnsDropdown = init$
|
|
8897
|
+
let showColumnsDropdown = init$34("table", "showColumns", {
|
|
8898
8898
|
hideOnClick: false,
|
|
8899
8899
|
type: "primary",
|
|
8900
8900
|
maxHeight: 500,
|
|
@@ -9098,15 +9098,15 @@ var pageTable_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
9098
9098
|
//#endregion
|
|
9099
9099
|
//#region src/packages/controls/pageTable/pageTable.ts
|
|
9100
9100
|
var pageTable_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
9101
|
-
Template: () => Template$
|
|
9102
|
-
init: () => init$
|
|
9101
|
+
Template: () => Template$2,
|
|
9102
|
+
init: () => init$3
|
|
9103
9103
|
});
|
|
9104
|
-
const Template$
|
|
9105
|
-
function init$
|
|
9104
|
+
const Template$2 = require_utils.withInstall(pageTable_default);
|
|
9105
|
+
function init$3(struct, options = {}) {
|
|
9106
9106
|
const showRefresh = options?.showRefresh ?? true;
|
|
9107
9107
|
const localSetting = require_stores.useLocalSettingStore();
|
|
9108
|
-
const page = (0, vue.reactive)(init$
|
|
9109
|
-
const operateButtons = init$
|
|
9108
|
+
const page = (0, vue.reactive)(init$7(struct?.name, "table"));
|
|
9109
|
+
const operateButtons = init$33(struct.name, {
|
|
9110
9110
|
isGroup: false,
|
|
9111
9111
|
buttonsArea: "operate",
|
|
9112
9112
|
show: true
|
|
@@ -9157,15 +9157,15 @@ function init$2(struct, options = {}) {
|
|
|
9157
9157
|
type: "danger",
|
|
9158
9158
|
icon: (0, vue.markRaw)(_element_plus_icons_vue.Close)
|
|
9159
9159
|
});
|
|
9160
|
-
const tableButtons = init$
|
|
9160
|
+
const tableButtons = init$33(struct.name, {
|
|
9161
9161
|
isGroup: false,
|
|
9162
9162
|
buttonsArea: "table"
|
|
9163
9163
|
});
|
|
9164
|
-
const importDropDown = init$
|
|
9164
|
+
const importDropDown = init$34("buttons", "import", { icon: "Files" });
|
|
9165
9165
|
importDropDown.addItem("importing", { icon: "Files" });
|
|
9166
9166
|
importDropDown.addItem("downloadTemplate", { icon: "Download" });
|
|
9167
9167
|
tableButtons.addDropdown("import", importDropDown);
|
|
9168
|
-
const exportDropDown = init$
|
|
9168
|
+
const exportDropDown = init$34("buttons", "export", { icon: "Document" });
|
|
9169
9169
|
exportDropDown.addItem("exportSelectedToExcel", {
|
|
9170
9170
|
label: "buttons.exportSelected",
|
|
9171
9171
|
icon: "Select"
|
|
@@ -9180,8 +9180,8 @@ function init$2(struct, options = {}) {
|
|
|
9180
9180
|
search,
|
|
9181
9181
|
operateButtons,
|
|
9182
9182
|
tableButtons,
|
|
9183
|
-
table: init$
|
|
9184
|
-
pagination: init$
|
|
9183
|
+
table: init$13(struct, { showEdit: !!options.editName }),
|
|
9184
|
+
pagination: init$19(struct?.name, {}),
|
|
9185
9185
|
struct,
|
|
9186
9186
|
showRefresh,
|
|
9187
9187
|
...options
|
|
@@ -9190,11 +9190,55 @@ function init$2(struct, options = {}) {
|
|
|
9190
9190
|
}
|
|
9191
9191
|
//#endregion
|
|
9192
9192
|
//#region src/packages/controls/pageTable/mTreeSTable.ts
|
|
9193
|
-
var mTreeSTable_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$
|
|
9194
|
-
function init$
|
|
9193
|
+
var mTreeSTable_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$2 });
|
|
9194
|
+
function init$2(options) {
|
|
9195
9195
|
return {
|
|
9196
|
-
mTablePage: init$
|
|
9197
|
-
tablePage: init$
|
|
9196
|
+
mTablePage: init$3(options.mTablePage.struct),
|
|
9197
|
+
tablePage: init$3(options.tablePage.struct)
|
|
9198
|
+
};
|
|
9199
|
+
}
|
|
9200
|
+
//#endregion
|
|
9201
|
+
//#region src/packages/controls/progress/progress.vue?vue&type=script&setup=true&lang.ts
|
|
9202
|
+
const _hoisted_1 = ["innerHTML"];
|
|
9203
|
+
const _hoisted_2 = { key: 2 };
|
|
9204
|
+
//#endregion
|
|
9205
|
+
//#region src/packages/controls/progress/progress.vue
|
|
9206
|
+
var progress_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
9207
|
+
__name: "progress",
|
|
9208
|
+
props: { control: {
|
|
9209
|
+
type: Object,
|
|
9210
|
+
required: true
|
|
9211
|
+
} },
|
|
9212
|
+
setup(__props) {
|
|
9213
|
+
const props = __props;
|
|
9214
|
+
const progressProps = (0, vue.computed)(() => {
|
|
9215
|
+
const { default: _default, ...rest } = props.control;
|
|
9216
|
+
return rest;
|
|
9217
|
+
});
|
|
9218
|
+
return (_ctx, _cache) => {
|
|
9219
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElProgress), (0, vue.normalizeProps)((0, vue.guardReactiveProps)(progressProps.value)), (0, vue.createSlots)({ _: 2 }, [__props.control.default ? {
|
|
9220
|
+
name: "default",
|
|
9221
|
+
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", {
|
|
9222
|
+
key: 1,
|
|
9223
|
+
innerHTML: __props.control.default
|
|
9224
|
+
}, null, 8, _hoisted_1)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2, (0, vue.toDisplayString)(__props.control.default), 1))]),
|
|
9225
|
+
key: "0"
|
|
9226
|
+
} : void 0]), 1040);
|
|
9227
|
+
};
|
|
9228
|
+
}
|
|
9229
|
+
});
|
|
9230
|
+
//#endregion
|
|
9231
|
+
//#region src/packages/controls/progress/progress.ts
|
|
9232
|
+
var progress_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
9233
|
+
Template: () => Template$1,
|
|
9234
|
+
init: () => init$1
|
|
9235
|
+
});
|
|
9236
|
+
const Template$1 = require_utils.withInstall(progress_default);
|
|
9237
|
+
function init$1(moduleName, name, options = {}) {
|
|
9238
|
+
return {
|
|
9239
|
+
moduleName,
|
|
9240
|
+
name,
|
|
9241
|
+
...options
|
|
9198
9242
|
};
|
|
9199
9243
|
}
|
|
9200
9244
|
//#endregion
|
|
@@ -9345,7 +9389,7 @@ var search_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
|
9345
9389
|
const SearchKeyTemplate = require_utils.withInstall(searchKeys_default);
|
|
9346
9390
|
const Template = require_utils.withInstall(search_default);
|
|
9347
9391
|
const init = (struct, options = {}) => {
|
|
9348
|
-
const buttons = init$
|
|
9392
|
+
const buttons = init$33(struct.name, {
|
|
9349
9393
|
isGroup: false,
|
|
9350
9394
|
buttonsArea: "search"
|
|
9351
9395
|
});
|
|
@@ -9462,6 +9506,7 @@ var controls_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
|
9462
9506
|
RwPageTable: () => pageTable_exports,
|
|
9463
9507
|
RwPagination: () => pagination_exports,
|
|
9464
9508
|
RwPopconfirm: () => popconfirm_exports,
|
|
9509
|
+
RwProgress: () => progress_exports,
|
|
9465
9510
|
RwRadio: () => radio_exports,
|
|
9466
9511
|
RwSearch: () => search_exports,
|
|
9467
9512
|
RwSegmented: () => segmented_exports,
|
|
@@ -9561,19 +9606,19 @@ Object.defineProperty(exports, "image_exports", {
|
|
|
9561
9606
|
Object.defineProperty(exports, "init", {
|
|
9562
9607
|
enumerable: true,
|
|
9563
9608
|
get: function() {
|
|
9564
|
-
return init$
|
|
9609
|
+
return init$4;
|
|
9565
9610
|
}
|
|
9566
9611
|
});
|
|
9567
9612
|
Object.defineProperty(exports, "init$1", {
|
|
9568
9613
|
enumerable: true,
|
|
9569
9614
|
get: function() {
|
|
9570
|
-
return init$
|
|
9615
|
+
return init$5;
|
|
9571
9616
|
}
|
|
9572
9617
|
});
|
|
9573
9618
|
Object.defineProperty(exports, "init$2", {
|
|
9574
9619
|
enumerable: true,
|
|
9575
9620
|
get: function() {
|
|
9576
|
-
return init$
|
|
9621
|
+
return init$9;
|
|
9577
9622
|
}
|
|
9578
9623
|
});
|
|
9579
9624
|
Object.defineProperty(exports, "inputNumber_exports", {
|
|
@@ -9654,6 +9699,12 @@ Object.defineProperty(exports, "popconfirm_exports", {
|
|
|
9654
9699
|
return popconfirm_exports;
|
|
9655
9700
|
}
|
|
9656
9701
|
});
|
|
9702
|
+
Object.defineProperty(exports, "progress_exports", {
|
|
9703
|
+
enumerable: true,
|
|
9704
|
+
get: function() {
|
|
9705
|
+
return progress_exports;
|
|
9706
|
+
}
|
|
9707
|
+
});
|
|
9657
9708
|
Object.defineProperty(exports, "radio_exports", {
|
|
9658
9709
|
enumerable: true,
|
|
9659
9710
|
get: function() {
|