wlwy-package 3.1.62 → 3.1.64
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/style.css +1 -1
- package/dist/types/packages/components/common/index.d.ts +2 -0
- package/dist/types/packages/components/common/src/page.vue.d.ts +33 -0
- package/dist/types/packages/components/common/type.d.ts +47 -1
- package/dist/types/packages/components/form/default/src/inputTags.vue.d.ts +3 -1
- package/dist/types/packages/components/form/default/type.d.ts +5 -0
- package/dist/types/packages/components/list/input.d.ts +12 -2
- package/dist/types/packages/directive/auth.d.ts +1 -1
- package/dist/wlwy-package.es.js +497 -289
- package/package.json +2 -1
package/dist/wlwy-package.es.js
CHANGED
|
@@ -1753,13 +1753,13 @@ function mergeConfig$1(config1, config2) {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
const resolveConfig = (config2) => {
|
|
1755
1755
|
const newConfig = mergeConfig$1({}, config2);
|
|
1756
|
-
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth
|
|
1756
|
+
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
1757
1757
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
1758
1758
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config2.params, config2.paramsSerializer);
|
|
1759
|
-
if (
|
|
1759
|
+
if (auth) {
|
|
1760
1760
|
headers.set(
|
|
1761
1761
|
"Authorization",
|
|
1762
|
-
"Basic " + btoa((
|
|
1762
|
+
"Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
|
|
1763
1763
|
);
|
|
1764
1764
|
}
|
|
1765
1765
|
if (utils$1.isFormData(data)) {
|
|
@@ -9564,7 +9564,7 @@ function useBusinessDict(name) {
|
|
|
9564
9564
|
}
|
|
9565
9565
|
return DICTS[fnName]();
|
|
9566
9566
|
}
|
|
9567
|
-
const _sfc_main$
|
|
9567
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
9568
9568
|
...{
|
|
9569
9569
|
name: "WIcon",
|
|
9570
9570
|
inheritAttrs: true
|
|
@@ -9583,8 +9583,8 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
9583
9583
|
emits: ["click"],
|
|
9584
9584
|
setup(__props, { emit: __emit }) {
|
|
9585
9585
|
useCssVars((_ctx) => ({
|
|
9586
|
-
"
|
|
9587
|
-
"
|
|
9586
|
+
"v6f1ae822": unref(token).colorTextDisabled,
|
|
9587
|
+
"v34145909": unref(token).colorPrimary
|
|
9588
9588
|
}));
|
|
9589
9589
|
const { t: t2 } = useI18n();
|
|
9590
9590
|
const { token } = theme.useToken();
|
|
@@ -9627,13 +9627,16 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
9627
9627
|
createTextVNode(toDisplayString$1(title.value), 1)
|
|
9628
9628
|
]),
|
|
9629
9629
|
default: withCtx(() => [
|
|
9630
|
-
|
|
9630
|
+
type.value ? (openBlock(), createBlock(unref(_sfc_main$17), {
|
|
9631
|
+
key: 0,
|
|
9632
|
+
type: type.value
|
|
9633
|
+
}, null, 8, ["type"])) : createCommentVNode("", true)
|
|
9631
9634
|
]),
|
|
9632
9635
|
_: 1
|
|
9633
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
9636
|
+
})) : type.value ? (openBlock(), createBlock(unref(_sfc_main$17), {
|
|
9634
9637
|
key: 1,
|
|
9635
9638
|
type: type.value
|
|
9636
|
-
}, null, 8, ["type"]))
|
|
9639
|
+
}, null, 8, ["type"])) : createCommentVNode("", true)
|
|
9637
9640
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
9638
9641
|
createTextVNode(toDisplayString$1(title.value), 1)
|
|
9639
9642
|
], 64))
|
|
@@ -9649,8 +9652,8 @@ const _export_sfc = (sfc, props) => {
|
|
|
9649
9652
|
}
|
|
9650
9653
|
return target;
|
|
9651
9654
|
};
|
|
9652
|
-
const WIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9653
|
-
const _sfc_main$
|
|
9655
|
+
const WIcon = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-0ef826b6"]]);
|
|
9656
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
9654
9657
|
...{
|
|
9655
9658
|
name: "Icon"
|
|
9656
9659
|
},
|
|
@@ -9677,7 +9680,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
9677
9680
|
};
|
|
9678
9681
|
}
|
|
9679
9682
|
});
|
|
9680
|
-
const _sfc_main$
|
|
9683
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
9681
9684
|
...{
|
|
9682
9685
|
name: "WSwitchIcon",
|
|
9683
9686
|
inheritAttrs: false
|
|
@@ -9749,7 +9752,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
9749
9752
|
};
|
|
9750
9753
|
}
|
|
9751
9754
|
});
|
|
9752
|
-
const _sfc_main$
|
|
9755
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
9753
9756
|
__name: "Redirect",
|
|
9754
9757
|
setup(__props) {
|
|
9755
9758
|
const { currentRoute, replace } = useRouter();
|
|
@@ -9844,7 +9847,7 @@ const useUserPermissionStore = defineStore("userPermission", {
|
|
|
9844
9847
|
{
|
|
9845
9848
|
path: "/redirect/:path(.*)",
|
|
9846
9849
|
name: "Redirect",
|
|
9847
|
-
component: _sfc_main$
|
|
9850
|
+
component: _sfc_main$15,
|
|
9848
9851
|
meta: {
|
|
9849
9852
|
noTagsTab: true
|
|
9850
9853
|
}
|
|
@@ -9922,7 +9925,7 @@ function toMenuItems(list, level = 0) {
|
|
|
9922
9925
|
title: item.languageCode,
|
|
9923
9926
|
label: item.languageCode,
|
|
9924
9927
|
url: item.url,
|
|
9925
|
-
icon: level ? void 0 : h(_sfc_main$
|
|
9928
|
+
icon: level ? void 0 : h(_sfc_main$17, { type: item.icon }),
|
|
9926
9929
|
children: item.children && toMenuItems(item.children, level + 1),
|
|
9927
9930
|
type: item.type,
|
|
9928
9931
|
disabled: !!item.hidden
|
|
@@ -10022,7 +10025,7 @@ const store = createPinia();
|
|
|
10022
10025
|
const setupStore = (app) => {
|
|
10023
10026
|
app.use(store);
|
|
10024
10027
|
};
|
|
10025
|
-
const _sfc_main$
|
|
10028
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
10026
10029
|
...{
|
|
10027
10030
|
name: "WConfigProvider",
|
|
10028
10031
|
inheritAttrs: false
|
|
@@ -10088,9 +10091,9 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
10088
10091
|
};
|
|
10089
10092
|
}
|
|
10090
10093
|
});
|
|
10091
|
-
const configProvider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10092
|
-
const _hoisted_1$
|
|
10093
|
-
const _sfc_main$
|
|
10094
|
+
const configProvider = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-f1ca2106"]]);
|
|
10095
|
+
const _hoisted_1$u = { class: "no-data" };
|
|
10096
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
10094
10097
|
__name: "noData",
|
|
10095
10098
|
props: {
|
|
10096
10099
|
msg: { default: "com_msg_4217" }
|
|
@@ -10106,11 +10109,11 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
10106
10109
|
return props.msg ? t2(props.msg) : props.msg;
|
|
10107
10110
|
});
|
|
10108
10111
|
return (_ctx, _cache) => {
|
|
10109
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10112
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, toDisplayString$1(msg.value), 1);
|
|
10110
10113
|
};
|
|
10111
10114
|
}
|
|
10112
10115
|
});
|
|
10113
|
-
const noData = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10116
|
+
const noData = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-f31516bd"]]);
|
|
10114
10117
|
const Y = {};
|
|
10115
10118
|
Y.getData = (t2) => new Promise((e, i) => {
|
|
10116
10119
|
let s = {};
|
|
@@ -11198,7 +11201,7 @@ function U(t2, e, i, s, r, o) {
|
|
|
11198
11201
|
], 544);
|
|
11199
11202
|
}
|
|
11200
11203
|
const M = /* @__PURE__ */ $(z, [["render", U], ["__scopeId", "data-v-a742df44"]]);
|
|
11201
|
-
const _sfc_main$
|
|
11204
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
11202
11205
|
...{
|
|
11203
11206
|
name: "WModal",
|
|
11204
11207
|
inheritAttrs: false
|
|
@@ -11317,12 +11320,12 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
11317
11320
|
};
|
|
11318
11321
|
}
|
|
11319
11322
|
});
|
|
11320
|
-
const _hoisted_1$
|
|
11321
|
-
const _hoisted_2$
|
|
11322
|
-
const _hoisted_3$
|
|
11323
|
-
const _hoisted_4$
|
|
11323
|
+
const _hoisted_1$t = { class: "cropper-content" };
|
|
11324
|
+
const _hoisted_2$g = { class: "cropper" };
|
|
11325
|
+
const _hoisted_3$b = ["src"];
|
|
11326
|
+
const _hoisted_4$a = { class: "footer-btn" };
|
|
11324
11327
|
const _hoisted_5$3 = ["accept"];
|
|
11325
|
-
const _sfc_main$
|
|
11328
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
11326
11329
|
...{
|
|
11327
11330
|
name: "WCropper",
|
|
11328
11331
|
inheritAttrs: false
|
|
@@ -11434,7 +11437,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
11434
11437
|
});
|
|
11435
11438
|
}
|
|
11436
11439
|
return (_ctx, _cache) => {
|
|
11437
|
-
return openBlock(), createBlock(_sfc_main$
|
|
11440
|
+
return openBlock(), createBlock(_sfc_main$12, {
|
|
11438
11441
|
open: open.value,
|
|
11439
11442
|
"onUpdate:open": _cache[2] || (_cache[2] = ($event) => open.value = $event),
|
|
11440
11443
|
title: props.title,
|
|
@@ -11444,8 +11447,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
11444
11447
|
onOk: getCrop
|
|
11445
11448
|
}, {
|
|
11446
11449
|
default: withCtx(() => [
|
|
11447
|
-
createElementVNode("div", _hoisted_1$
|
|
11448
|
-
createElementVNode("div", _hoisted_2$
|
|
11450
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
11451
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
11449
11452
|
createVNode(unref(M), mergeProps({
|
|
11450
11453
|
ref_key: "cropper",
|
|
11451
11454
|
ref: cropper2
|
|
@@ -11472,11 +11475,11 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
11472
11475
|
createElementVNode("img", {
|
|
11473
11476
|
src: previews.value.url,
|
|
11474
11477
|
style: normalizeStyle(previews.value.img)
|
|
11475
|
-
}, null, 12, _hoisted_3$
|
|
11478
|
+
}, null, 12, _hoisted_3$b)
|
|
11476
11479
|
], 4)
|
|
11477
11480
|
], 4)
|
|
11478
11481
|
]),
|
|
11479
|
-
createElementVNode("div", _hoisted_4$
|
|
11482
|
+
createElementVNode("div", _hoisted_4$a, [
|
|
11480
11483
|
createVNode(unref(Space), null, {
|
|
11481
11484
|
default: withCtx(() => [
|
|
11482
11485
|
createVNode(unref(Button), {
|
|
@@ -11547,9 +11550,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
11547
11550
|
};
|
|
11548
11551
|
}
|
|
11549
11552
|
});
|
|
11550
|
-
const cropper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11551
|
-
const _hoisted_1$
|
|
11552
|
-
const _sfc_main
|
|
11553
|
+
const cropper = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-674b02b7"]]);
|
|
11554
|
+
const _hoisted_1$s = { class: "w-table-container" };
|
|
11555
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
11553
11556
|
...{
|
|
11554
11557
|
name: "WTable",
|
|
11555
11558
|
inheritAttrs: false
|
|
@@ -11925,7 +11928,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
11925
11928
|
}
|
|
11926
11929
|
return (_ctx, _cache) => {
|
|
11927
11930
|
var _a;
|
|
11928
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11931
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
11929
11932
|
!attrMap.value.toolbar.hideToolbar && (!unref(isEmpty)(unref(omit)(attrMap.value.toolbar, ["loading"])) || !unref(isEmpty)(slotMap.value.toolbar)) ? (openBlock(), createBlock(unref(VxeToolbar), mergeProps({
|
|
11930
11933
|
key: 0,
|
|
11931
11934
|
className: "table-toolbar",
|
|
@@ -11980,7 +11983,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
11980
11983
|
};
|
|
11981
11984
|
})
|
|
11982
11985
|
]), 1040, ["seqConfig", "data"]),
|
|
11983
|
-
props.showPager ? (openBlock(), createBlock(unref(_sfc_main
|
|
11986
|
+
props.showPager ? (openBlock(), createBlock(unref(_sfc_main$$), mergeProps({
|
|
11984
11987
|
key: 1,
|
|
11985
11988
|
ref_key: "xPagerRef",
|
|
11986
11989
|
ref: xPagerRef
|
|
@@ -12004,8 +12007,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
12004
12007
|
};
|
|
12005
12008
|
}
|
|
12006
12009
|
});
|
|
12007
|
-
const WTable = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
12008
|
-
const _sfc_main
|
|
12010
|
+
const WTable = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-f747256e"]]);
|
|
12011
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
12009
12012
|
...{
|
|
12010
12013
|
inheritAttrs: false,
|
|
12011
12014
|
name: "WPager"
|
|
@@ -12163,7 +12166,7 @@ function useKey(defaultValue) {
|
|
|
12163
12166
|
return attrs.key ?? defaultValue ?? useId();
|
|
12164
12167
|
}
|
|
12165
12168
|
const defaultHeaderClassName = "v-table-header-column";
|
|
12166
|
-
const _sfc_main$
|
|
12169
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
12167
12170
|
...{
|
|
12168
12171
|
name: "WColumn",
|
|
12169
12172
|
inheritAttrs: false
|
|
@@ -12376,8 +12379,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
12376
12379
|
};
|
|
12377
12380
|
}
|
|
12378
12381
|
});
|
|
12379
|
-
const WColumn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12380
|
-
const _sfc_main$
|
|
12382
|
+
const WColumn = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-42be9ad9"]]);
|
|
12383
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
12381
12384
|
...{
|
|
12382
12385
|
name: "WForm"
|
|
12383
12386
|
},
|
|
@@ -12462,8 +12465,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
12462
12465
|
};
|
|
12463
12466
|
}
|
|
12464
12467
|
});
|
|
12465
|
-
const WForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12466
|
-
const _sfc_main$
|
|
12468
|
+
const WForm = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-c85525bb"]]);
|
|
12469
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
12467
12470
|
...{
|
|
12468
12471
|
name: "WFormCol",
|
|
12469
12472
|
inheritAttrs: false
|
|
@@ -12491,7 +12494,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
12491
12494
|
};
|
|
12492
12495
|
}
|
|
12493
12496
|
});
|
|
12494
|
-
const _sfc_main$
|
|
12497
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
12495
12498
|
...{
|
|
12496
12499
|
name: "WFormItem",
|
|
12497
12500
|
inheritAttrs: true
|
|
@@ -12554,7 +12557,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
12554
12557
|
}
|
|
12555
12558
|
});
|
|
12556
12559
|
return (_ctx, _cache) => {
|
|
12557
|
-
return openBlock(), createBlock(_sfc_main$
|
|
12560
|
+
return openBlock(), createBlock(_sfc_main$Y, {
|
|
12558
12561
|
span: props.span,
|
|
12559
12562
|
offset: props.offset
|
|
12560
12563
|
}, {
|
|
@@ -12587,7 +12590,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
12587
12590
|
};
|
|
12588
12591
|
}
|
|
12589
12592
|
});
|
|
12590
|
-
const WFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12593
|
+
const WFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-df803442"]]);
|
|
12591
12594
|
const inputNames = ["AInput", "AInputNumber", "ATextarea", "ASelect", "ARadio", "ACheckbox", "ADatePicker", "ATimePicker", "ARangePicker", "ASwitch", "AWeekPicker", "AWeekPicker"];
|
|
12592
12595
|
function processChildren(formItemContext, children) {
|
|
12593
12596
|
var _a;
|
|
@@ -12636,7 +12639,7 @@ function processChild(child, formItemContext) {
|
|
|
12636
12639
|
}
|
|
12637
12640
|
return child;
|
|
12638
12641
|
}
|
|
12639
|
-
const _sfc_main$
|
|
12642
|
+
const _sfc_main$W = defineComponent({
|
|
12640
12643
|
name: "WFormItemRest",
|
|
12641
12644
|
setup(_2, { slots }) {
|
|
12642
12645
|
const formItemContext = Form.useInjectFormItemContext();
|
|
@@ -12646,7 +12649,7 @@ const _sfc_main$V = defineComponent({
|
|
|
12646
12649
|
};
|
|
12647
12650
|
}
|
|
12648
12651
|
});
|
|
12649
|
-
const _sfc_main$
|
|
12652
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
12650
12653
|
...{
|
|
12651
12654
|
name: "WFormInput",
|
|
12652
12655
|
inheritAttrs: false
|
|
@@ -12745,7 +12748,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
12745
12748
|
};
|
|
12746
12749
|
}
|
|
12747
12750
|
});
|
|
12748
|
-
const _sfc_main$
|
|
12751
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
12749
12752
|
...{
|
|
12750
12753
|
name: "WFormPassword",
|
|
12751
12754
|
inheritAttrs: false
|
|
@@ -12801,7 +12804,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
12801
12804
|
};
|
|
12802
12805
|
}
|
|
12803
12806
|
});
|
|
12804
|
-
const _sfc_main$
|
|
12807
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
12805
12808
|
...{
|
|
12806
12809
|
name: "WFormNumber",
|
|
12807
12810
|
inheritAttrs: false
|
|
@@ -12857,8 +12860,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
12857
12860
|
};
|
|
12858
12861
|
}
|
|
12859
12862
|
});
|
|
12860
|
-
const inputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12861
|
-
const _sfc_main$
|
|
12863
|
+
const inputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-a91ca35f"]]);
|
|
12864
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
12862
12865
|
...{
|
|
12863
12866
|
name: "WSelect"
|
|
12864
12867
|
},
|
|
@@ -12906,7 +12909,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
12906
12909
|
};
|
|
12907
12910
|
}
|
|
12908
12911
|
});
|
|
12909
|
-
const _sfc_main$
|
|
12912
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
12910
12913
|
...{
|
|
12911
12914
|
name: "WFormTags",
|
|
12912
12915
|
inheritAttrs: false
|
|
@@ -12925,12 +12928,29 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12925
12928
|
placeholder: {},
|
|
12926
12929
|
tokenSeparators: { default: () => [",", ",", " ", "\n"] }
|
|
12927
12930
|
},
|
|
12928
|
-
emits: ["change"],
|
|
12931
|
+
emits: ["change", "search"],
|
|
12929
12932
|
setup(__props, { emit: __emit }) {
|
|
12930
12933
|
const { t: t2 } = useI18n();
|
|
12934
|
+
const selectRef = ref(null);
|
|
12931
12935
|
const props = __props;
|
|
12932
12936
|
const { attrMap, slotMap, form, label, disabled, placeholder } = useFormItemProps(props);
|
|
12937
|
+
const searchValue = ref("");
|
|
12933
12938
|
const emit = __emit;
|
|
12939
|
+
onMounted(() => {
|
|
12940
|
+
if (selectRef.value) {
|
|
12941
|
+
console.log("selectRef", selectRef.value);
|
|
12942
|
+
const input = selectRef.value.$el.querySelector(".ant-select-selection-search-input");
|
|
12943
|
+
input.onblur = function() {
|
|
12944
|
+
const value = searchValue.value.trim();
|
|
12945
|
+
if (!value) return;
|
|
12946
|
+
form.value[props.model] = [.../* @__PURE__ */ new Set([...form.value[props.model], value])];
|
|
12947
|
+
input.style.display = "none";
|
|
12948
|
+
setTimeout(() => {
|
|
12949
|
+
input.removeAttribute("style");
|
|
12950
|
+
}, 150);
|
|
12951
|
+
};
|
|
12952
|
+
}
|
|
12953
|
+
});
|
|
12934
12954
|
const handleChange = (value, option) => {
|
|
12935
12955
|
let _value = value;
|
|
12936
12956
|
if (props.maxTagLength && Array.isArray(_value)) {
|
|
@@ -12946,13 +12966,21 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12946
12966
|
form.value[props.model] = _value;
|
|
12947
12967
|
emit("change", _value, option);
|
|
12948
12968
|
};
|
|
12969
|
+
const handleSearch = (value) => {
|
|
12970
|
+
searchValue.value = value;
|
|
12971
|
+
emit("search", value);
|
|
12972
|
+
};
|
|
12949
12973
|
return (_ctx, _cache) => {
|
|
12950
12974
|
return openBlock(), createBlock(unref(WFormItem), mergeProps({ ...unref(attrMap).formItem }, {
|
|
12951
12975
|
label: unref(label),
|
|
12952
12976
|
name: props.name ?? props.model
|
|
12953
12977
|
}), createSlots({
|
|
12954
12978
|
default: withCtx(() => [
|
|
12955
|
-
createVNode(_sfc_main$
|
|
12979
|
+
createVNode(_sfc_main$S, mergeProps({
|
|
12980
|
+
ref_key: "selectRef",
|
|
12981
|
+
ref: selectRef,
|
|
12982
|
+
maxTagTextLength: 30
|
|
12983
|
+
}, { ...unref(attrMap).default }, {
|
|
12956
12984
|
value: unref(form)[props.model],
|
|
12957
12985
|
disabled: unref(disabled),
|
|
12958
12986
|
placeholder: unref(placeholder),
|
|
@@ -12961,7 +12989,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12961
12989
|
tokenSeparators: props.tokenSeparators,
|
|
12962
12990
|
open: false,
|
|
12963
12991
|
onChange: handleChange,
|
|
12964
|
-
maxTagCount: "responsive"
|
|
12992
|
+
maxTagCount: "responsive",
|
|
12993
|
+
onSearch: handleSearch
|
|
12965
12994
|
}), null, 16, ["value", "disabled", "placeholder", "allowClear", "tokenSeparators"])
|
|
12966
12995
|
]),
|
|
12967
12996
|
_: 2
|
|
@@ -12978,7 +13007,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12978
13007
|
};
|
|
12979
13008
|
}
|
|
12980
13009
|
});
|
|
12981
|
-
const _sfc_main$
|
|
13010
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
12982
13011
|
...{
|
|
12983
13012
|
name: "WFormTextarea",
|
|
12984
13013
|
inheritAttrs: false
|
|
@@ -13028,7 +13057,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
13028
13057
|
};
|
|
13029
13058
|
}
|
|
13030
13059
|
});
|
|
13031
|
-
const _sfc_main$
|
|
13060
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
13032
13061
|
...{
|
|
13033
13062
|
name: "WFormCheckbox",
|
|
13034
13063
|
inheritAttrs: false
|
|
@@ -13151,7 +13180,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
13151
13180
|
};
|
|
13152
13181
|
}
|
|
13153
13182
|
});
|
|
13154
|
-
const _sfc_main$
|
|
13183
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
13155
13184
|
...{
|
|
13156
13185
|
name: "WFormRadio",
|
|
13157
13186
|
inheritAttrs: false
|
|
@@ -13266,7 +13295,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
13266
13295
|
};
|
|
13267
13296
|
}
|
|
13268
13297
|
});
|
|
13269
|
-
const _sfc_main$
|
|
13298
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
13270
13299
|
...{
|
|
13271
13300
|
name: "WFormSelect",
|
|
13272
13301
|
inheritAttrs: false
|
|
@@ -13369,7 +13398,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
13369
13398
|
default: withCtx(() => {
|
|
13370
13399
|
var _a, _b;
|
|
13371
13400
|
return [
|
|
13372
|
-
createVNode(_sfc_main$
|
|
13401
|
+
createVNode(_sfc_main$S, mergeProps({
|
|
13373
13402
|
...unref(attrMap).default,
|
|
13374
13403
|
onSearch: ((_a = props.option) == null ? void 0 : _a.length) ? void 0 : unref(handleSearch),
|
|
13375
13404
|
onDropdownVisibleChange
|
|
@@ -13411,8 +13440,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
13411
13440
|
};
|
|
13412
13441
|
}
|
|
13413
13442
|
});
|
|
13414
|
-
const _hoisted_1$
|
|
13415
|
-
const _sfc_main$
|
|
13443
|
+
const _hoisted_1$r = { key: 0 };
|
|
13444
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
13416
13445
|
...{
|
|
13417
13446
|
name: "WFormSelectInput",
|
|
13418
13447
|
inheritAttrs: false
|
|
@@ -13502,7 +13531,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
13502
13531
|
name: props.name || props.model
|
|
13503
13532
|
}), {
|
|
13504
13533
|
label: withCtx(() => [
|
|
13505
|
-
unref(label) ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
13534
|
+
unref(label) ? (openBlock(), createElementBlock("span", _hoisted_1$r, toDisplayString$1(unref(label)), 1)) : createCommentVNode("", true),
|
|
13506
13535
|
createVNode(unref(dropdown), {
|
|
13507
13536
|
value: dropdownValue.value,
|
|
13508
13537
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => dropdownValue.value = $event),
|
|
@@ -13527,7 +13556,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
13527
13556
|
placeholder: placeholder.value,
|
|
13528
13557
|
allowClear: props.allowClear
|
|
13529
13558
|
}), null, 16, ["value", "disabled", "placeholder", "allowClear"]))
|
|
13530
|
-
], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
13559
|
+
], 64)) : (openBlock(), createBlock(_sfc_main$S, mergeProps({
|
|
13531
13560
|
key: 1,
|
|
13532
13561
|
ref: "selectRef",
|
|
13533
13562
|
maxTagCount: "responsive"
|
|
@@ -13548,9 +13577,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
13548
13577
|
};
|
|
13549
13578
|
}
|
|
13550
13579
|
});
|
|
13551
|
-
const selectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13552
|
-
const _hoisted_1$
|
|
13553
|
-
const _sfc_main$
|
|
13580
|
+
const selectInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-74633020"]]);
|
|
13581
|
+
const _hoisted_1$q = { key: 1 };
|
|
13582
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
13554
13583
|
...{
|
|
13555
13584
|
name: "WFormDateRange",
|
|
13556
13585
|
inheritAttrs: false
|
|
@@ -13768,7 +13797,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
13768
13797
|
value: unref(form)[props.selectType],
|
|
13769
13798
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => unref(form)[props.selectType] = $event),
|
|
13770
13799
|
items: props.option
|
|
13771
|
-
}, null, 8, ["value", "items"])) : unref(label) ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
13800
|
+
}, null, 8, ["value", "items"])) : unref(label) ? (openBlock(), createElementBlock("span", _hoisted_1$q, toDisplayString$1(unref(label)), 1)) : createCommentVNode("", true)
|
|
13772
13801
|
]),
|
|
13773
13802
|
default: withCtx(() => [
|
|
13774
13803
|
createVNode(unref(RangePicker), mergeProps({ disabledDate, presets: presets.value, ...unref(attrMap).default, onCalendarChange, onOpenChange, onChange }, {
|
|
@@ -13784,8 +13813,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
13784
13813
|
};
|
|
13785
13814
|
}
|
|
13786
13815
|
});
|
|
13787
|
-
const dateRange = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13788
|
-
const _sfc_main$
|
|
13816
|
+
const dateRange = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-76bba552"]]);
|
|
13817
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
13789
13818
|
...{
|
|
13790
13819
|
name: "WFormTimePicker",
|
|
13791
13820
|
inheritAttrs: false
|
|
@@ -13841,7 +13870,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
13841
13870
|
};
|
|
13842
13871
|
}
|
|
13843
13872
|
});
|
|
13844
|
-
const _sfc_main$
|
|
13873
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
13845
13874
|
...{
|
|
13846
13875
|
name: "WFormDatePicker",
|
|
13847
13876
|
inheritAttrs: false
|
|
@@ -13897,8 +13926,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
13897
13926
|
};
|
|
13898
13927
|
}
|
|
13899
13928
|
});
|
|
13900
|
-
const _hoisted_1$
|
|
13901
|
-
const _sfc_main$
|
|
13929
|
+
const _hoisted_1$p = { key: 0 };
|
|
13930
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
13902
13931
|
...{
|
|
13903
13932
|
name: "WFormNumberRange",
|
|
13904
13933
|
inheritAttrs: false
|
|
@@ -13998,7 +14027,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
13998
14027
|
name: props.name || props.model
|
|
13999
14028
|
}), {
|
|
14000
14029
|
label: withCtx(() => [
|
|
14001
|
-
unref(label) ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
14030
|
+
unref(label) ? (openBlock(), createElementBlock("span", _hoisted_1$p, toDisplayString$1(unref(label)), 1)) : props.selectType ? (openBlock(), createBlock(unref(dropdown), {
|
|
14002
14031
|
key: 1,
|
|
14003
14032
|
value: unref(form)[props.selectType],
|
|
14004
14033
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => unref(form)[props.selectType] = $event),
|
|
@@ -14008,7 +14037,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
14008
14037
|
}, null, 8, ["value", "item", "items"])) : createCommentVNode("", true)
|
|
14009
14038
|
]),
|
|
14010
14039
|
default: withCtx(() => [
|
|
14011
|
-
createVNode(_sfc_main$
|
|
14040
|
+
createVNode(_sfc_main$W, null, {
|
|
14012
14041
|
default: withCtx(() => [
|
|
14013
14042
|
createVNode(unref(InputGroup), { compact: "" }, {
|
|
14014
14043
|
default: withCtx(() => [
|
|
@@ -14046,8 +14075,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
14046
14075
|
};
|
|
14047
14076
|
}
|
|
14048
14077
|
});
|
|
14049
|
-
const numberRange = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14050
|
-
const _sfc_main$
|
|
14078
|
+
const numberRange = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-0eaadffb"]]);
|
|
14079
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
14051
14080
|
...{
|
|
14052
14081
|
name: "WFormCustom",
|
|
14053
14082
|
inheritAttrs: false
|
|
@@ -14095,8 +14124,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
14095
14124
|
};
|
|
14096
14125
|
}
|
|
14097
14126
|
});
|
|
14098
|
-
const _hoisted_1$
|
|
14099
|
-
const _sfc_main$
|
|
14127
|
+
const _hoisted_1$o = { key: 0 };
|
|
14128
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
14100
14129
|
...{
|
|
14101
14130
|
name: "WFormMatch",
|
|
14102
14131
|
inheritAttrs: false
|
|
@@ -14199,7 +14228,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
14199
14228
|
name: props.name
|
|
14200
14229
|
}), {
|
|
14201
14230
|
label: withCtx(() => [
|
|
14202
|
-
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
14231
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$o, toDisplayString$1(__props.label), 1)) : props.labelModel ? (openBlock(), createBlock(unref(dropdown), {
|
|
14203
14232
|
key: 1,
|
|
14204
14233
|
value: data.value[props.labelModel],
|
|
14205
14234
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => data.value[props.labelModel] = $event),
|
|
@@ -14229,7 +14258,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
14229
14258
|
placeholder: placeholder.value,
|
|
14230
14259
|
allowClear: props.allowClear,
|
|
14231
14260
|
onChange: _cache[6] || (_cache[6] = ($event) => handleChange())
|
|
14232
|
-
}), null, 16, ["value", "disabled", "placeholder", "allowClear"])) : (openBlock(), createBlock(_sfc_main$
|
|
14261
|
+
}), null, 16, ["value", "disabled", "placeholder", "allowClear"])) : (openBlock(), createBlock(_sfc_main$S, mergeProps({
|
|
14233
14262
|
key: 2,
|
|
14234
14263
|
ref: "selectRef",
|
|
14235
14264
|
maxTagCount: "responsive"
|
|
@@ -14245,7 +14274,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
14245
14274
|
open: false,
|
|
14246
14275
|
onChange: handleChange
|
|
14247
14276
|
}), null, 16, ["value", "disabled", "placeholder", "allowClear"])),
|
|
14248
|
-
props.afterOption.length > 0 ? (openBlock(), createBlock(_sfc_main$
|
|
14277
|
+
props.afterOption.length > 0 ? (openBlock(), createBlock(_sfc_main$S, {
|
|
14249
14278
|
key: 3,
|
|
14250
14279
|
value: data.value[props.afterModel],
|
|
14251
14280
|
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => data.value[props.afterModel] = $event),
|
|
@@ -14263,8 +14292,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
14263
14292
|
};
|
|
14264
14293
|
}
|
|
14265
14294
|
});
|
|
14266
|
-
const inputMatch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14267
|
-
const _sfc_main$
|
|
14295
|
+
const inputMatch = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-9b3603b7"]]);
|
|
14296
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
14268
14297
|
...{
|
|
14269
14298
|
name: "WFormI18n",
|
|
14270
14299
|
inheritAttrs: false
|
|
@@ -14338,7 +14367,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
14338
14367
|
};
|
|
14339
14368
|
}
|
|
14340
14369
|
});
|
|
14341
|
-
const _sfc_main$
|
|
14370
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
14342
14371
|
...{
|
|
14343
14372
|
name: "WFormUpload",
|
|
14344
14373
|
inheritAttrs: false
|
|
@@ -14385,8 +14414,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
14385
14414
|
};
|
|
14386
14415
|
}
|
|
14387
14416
|
});
|
|
14388
|
-
const _hoisted_1$
|
|
14389
|
-
const _sfc_main$
|
|
14417
|
+
const _hoisted_1$n = { class: "ant-upload-text" };
|
|
14418
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
14390
14419
|
...{
|
|
14391
14420
|
name: "WFormUpload",
|
|
14392
14421
|
inheritAttrs: false
|
|
@@ -14549,7 +14578,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
14549
14578
|
}, null, 8, ["type"])
|
|
14550
14579
|
], true),
|
|
14551
14580
|
renderSlot(_ctx.$slots, "uploadText", {}, () => [
|
|
14552
|
-
createElementVNode("div", _hoisted_1$
|
|
14581
|
+
createElementVNode("div", _hoisted_1$n, toDisplayString$1(props.uploadText), 1)
|
|
14553
14582
|
], true)
|
|
14554
14583
|
])
|
|
14555
14584
|
]),
|
|
@@ -14578,8 +14607,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
14578
14607
|
};
|
|
14579
14608
|
}
|
|
14580
14609
|
});
|
|
14581
|
-
const uploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14582
|
-
const _sfc_main$
|
|
14610
|
+
const uploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-b2e77fef"]]);
|
|
14611
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
14583
14612
|
...{
|
|
14584
14613
|
name: "WFormModal",
|
|
14585
14614
|
inheritAttrs: false
|
|
@@ -14720,7 +14749,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
14720
14749
|
OneFormInitializedCallbacks.splice(0, OneFormInitializedCallbacks.length);
|
|
14721
14750
|
}
|
|
14722
14751
|
return (_ctx, _cache) => {
|
|
14723
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14752
|
+
return openBlock(), createBlock(unref(_sfc_main$12), mergeProps({ ...props }, {
|
|
14724
14753
|
open: open.value,
|
|
14725
14754
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
14726
14755
|
title: title.value,
|
|
@@ -14764,14 +14793,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
14764
14793
|
};
|
|
14765
14794
|
}
|
|
14766
14795
|
});
|
|
14767
|
-
const _hoisted_1$
|
|
14768
|
-
const _hoisted_2$
|
|
14769
|
-
const _hoisted_3$
|
|
14796
|
+
const _hoisted_1$m = { class: "form-title" };
|
|
14797
|
+
const _hoisted_2$f = { class: "form-title-text" };
|
|
14798
|
+
const _hoisted_3$a = {
|
|
14770
14799
|
key: 0,
|
|
14771
14800
|
class: "form-buttons"
|
|
14772
14801
|
};
|
|
14773
|
-
const _hoisted_4$
|
|
14774
|
-
const _sfc_main$
|
|
14802
|
+
const _hoisted_4$9 = { class: "form-body" };
|
|
14803
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
14775
14804
|
...{
|
|
14776
14805
|
name: "WFormPage",
|
|
14777
14806
|
inheritAttrs: false
|
|
@@ -14926,8 +14955,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
14926
14955
|
return openBlock(), createElementBlock("div", {
|
|
14927
14956
|
class: normalizeClass(["content-container", props.className])
|
|
14928
14957
|
}, [
|
|
14929
|
-
createElementVNode("div", _hoisted_1$
|
|
14930
|
-
createElementVNode("div", _hoisted_2$
|
|
14958
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
14959
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
14931
14960
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
14932
14961
|
createElementVNode("span", null, toDisplayString$1(title.value), 1),
|
|
14933
14962
|
props.question ? (openBlock(), createBlock(unref(Tooltip), {
|
|
@@ -14947,7 +14976,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
14947
14976
|
})) : createCommentVNode("", true)
|
|
14948
14977
|
], true)
|
|
14949
14978
|
]),
|
|
14950
|
-
!(hideFooter.value === true) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14979
|
+
!(hideFooter.value === true) ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
14951
14980
|
createVNode(unref(Space), { size: "middle" }, {
|
|
14952
14981
|
default: withCtx(() => [
|
|
14953
14982
|
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
@@ -15005,7 +15034,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15005
15034
|
})
|
|
15006
15035
|
])) : createCommentVNode("", true)
|
|
15007
15036
|
]),
|
|
15008
|
-
createElementVNode("div", _hoisted_4$
|
|
15037
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
15009
15038
|
createVNode(unref(Spin), {
|
|
15010
15039
|
spinning: props.loading || unref(detailsLoading)
|
|
15011
15040
|
}, {
|
|
@@ -15027,15 +15056,15 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15027
15056
|
};
|
|
15028
15057
|
}
|
|
15029
15058
|
});
|
|
15030
|
-
const page = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15031
|
-
const _hoisted_1$
|
|
15032
|
-
const _hoisted_2$
|
|
15033
|
-
const _hoisted_3$
|
|
15034
|
-
const _hoisted_4$
|
|
15059
|
+
const page$1 = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-dc5f4376"]]);
|
|
15060
|
+
const _hoisted_1$l = { class: "form-wrap" };
|
|
15061
|
+
const _hoisted_2$e = { class: "form-title" };
|
|
15062
|
+
const _hoisted_3$9 = { class: "form-title-text" };
|
|
15063
|
+
const _hoisted_4$8 = {
|
|
15035
15064
|
key: 0,
|
|
15036
15065
|
class: "form-buttons"
|
|
15037
15066
|
};
|
|
15038
|
-
const _sfc_main$
|
|
15067
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
15039
15068
|
...{
|
|
15040
15069
|
name: "WFormWrap",
|
|
15041
15070
|
inheritAttrs: false
|
|
@@ -15197,10 +15226,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15197
15226
|
emits("refresh", event);
|
|
15198
15227
|
}
|
|
15199
15228
|
return (_ctx, _cache) => {
|
|
15200
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15229
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
15201
15230
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "form-title-bg" }, null, -1)),
|
|
15202
|
-
createElementVNode("div", _hoisted_2$
|
|
15203
|
-
createElementVNode("div", _hoisted_3$
|
|
15231
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
15232
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
15204
15233
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
15205
15234
|
createElementVNode("span", null, toDisplayString$1(title.value), 1)
|
|
15206
15235
|
], true),
|
|
@@ -15220,7 +15249,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15220
15249
|
_: 1
|
|
15221
15250
|
})) : createCommentVNode("", true)
|
|
15222
15251
|
]),
|
|
15223
|
-
!(hideFooter.value === true) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
15252
|
+
!(hideFooter.value === true) ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
15224
15253
|
createVNode(unref(Space), { size: "middle" }, {
|
|
15225
15254
|
default: withCtx(() => [
|
|
15226
15255
|
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
@@ -15309,8 +15338,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15309
15338
|
};
|
|
15310
15339
|
}
|
|
15311
15340
|
});
|
|
15312
|
-
const wrap = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15313
|
-
const _sfc_main$
|
|
15341
|
+
const wrap = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-e2c13c29"]]);
|
|
15342
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
15314
15343
|
...{
|
|
15315
15344
|
name: "Channel",
|
|
15316
15345
|
inheritAttrs: false
|
|
@@ -15345,13 +15374,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
15345
15374
|
return res;
|
|
15346
15375
|
}
|
|
15347
15376
|
return (_ctx, _cache) => {
|
|
15348
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
15377
|
+
return openBlock(), createBlock(unref(_sfc_main$N), mergeProps({ ..._ctx.$attrs, ...props }, {
|
|
15349
15378
|
request: props.request ?? request
|
|
15350
15379
|
}), null, 16, ["request"]);
|
|
15351
15380
|
};
|
|
15352
15381
|
}
|
|
15353
15382
|
});
|
|
15354
|
-
const _sfc_main$
|
|
15383
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
15355
15384
|
...{
|
|
15356
15385
|
name: "customer",
|
|
15357
15386
|
inheritAttrs: false
|
|
@@ -15392,13 +15421,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15392
15421
|
return res;
|
|
15393
15422
|
}
|
|
15394
15423
|
return (_ctx, _cache) => {
|
|
15395
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
15424
|
+
return openBlock(), createBlock(unref(_sfc_main$N), mergeProps({ ..._ctx.$attrs, ...props }, {
|
|
15396
15425
|
request: props.request ?? request
|
|
15397
15426
|
}), null, 16, ["request"]);
|
|
15398
15427
|
};
|
|
15399
15428
|
}
|
|
15400
15429
|
});
|
|
15401
|
-
const _sfc_main$
|
|
15430
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
15402
15431
|
...{
|
|
15403
15432
|
name: "WFormCustomer",
|
|
15404
15433
|
inheritAttrs: false
|
|
@@ -15418,7 +15447,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15418
15447
|
option.value = await getDict();
|
|
15419
15448
|
});
|
|
15420
15449
|
return (_ctx, _cache) => {
|
|
15421
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
15450
|
+
return openBlock(), createBlock(unref(_sfc_main$N), mergeProps({ ..._ctx.$attrs, ...props }, {
|
|
15422
15451
|
form: props.form,
|
|
15423
15452
|
model: props.model,
|
|
15424
15453
|
option: props.option ?? option.value
|
|
@@ -15426,7 +15455,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15426
15455
|
};
|
|
15427
15456
|
}
|
|
15428
15457
|
});
|
|
15429
|
-
const _sfc_main$
|
|
15458
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
15430
15459
|
...{
|
|
15431
15460
|
name: "Sku",
|
|
15432
15461
|
inheritAttrs: false
|
|
@@ -15459,16 +15488,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
15459
15488
|
return res;
|
|
15460
15489
|
}
|
|
15461
15490
|
return (_ctx, _cache) => {
|
|
15462
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
15491
|
+
return openBlock(), createBlock(unref(_sfc_main$N), mergeProps({ ..._ctx.$attrs, ...props }, {
|
|
15463
15492
|
filterOption: false,
|
|
15464
15493
|
request: props.request ?? request
|
|
15465
15494
|
}), null, 16, ["request"]);
|
|
15466
15495
|
};
|
|
15467
15496
|
}
|
|
15468
15497
|
});
|
|
15469
|
-
const _hoisted_1$
|
|
15470
|
-
const _hoisted_2$
|
|
15471
|
-
const _sfc_main$
|
|
15498
|
+
const _hoisted_1$k = { class: "w-edit-title" };
|
|
15499
|
+
const _hoisted_2$d = { class: "right" };
|
|
15500
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
15472
15501
|
...{
|
|
15473
15502
|
name: "WEditTitle",
|
|
15474
15503
|
inheritAttrs: false
|
|
@@ -15488,9 +15517,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15488
15517
|
const { token } = theme.useToken();
|
|
15489
15518
|
const props = __props;
|
|
15490
15519
|
return (_ctx, _cache) => {
|
|
15491
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
15520
|
+
return openBlock(), createBlock(unref(_sfc_main$Y), { span: "full" }, {
|
|
15492
15521
|
default: withCtx(() => [
|
|
15493
|
-
createElementVNode("div", _hoisted_1$
|
|
15522
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
15494
15523
|
createElementVNode("div", {
|
|
15495
15524
|
class: normalizeClass(["title", { required: props.required }])
|
|
15496
15525
|
}, [
|
|
@@ -15498,7 +15527,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15498
15527
|
createElementVNode("span", null, toDisplayString$1(unref(t2)(props.title)), 1)
|
|
15499
15528
|
], true)
|
|
15500
15529
|
], 2),
|
|
15501
|
-
createElementVNode("div", _hoisted_2$
|
|
15530
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
15502
15531
|
renderSlot(_ctx.$slots, "right", {}, void 0, true)
|
|
15503
15532
|
])
|
|
15504
15533
|
])
|
|
@@ -15508,9 +15537,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15508
15537
|
};
|
|
15509
15538
|
}
|
|
15510
15539
|
});
|
|
15511
|
-
const editTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15512
|
-
const _hoisted_1$
|
|
15513
|
-
const _sfc_main$
|
|
15540
|
+
const editTitle = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-24f7f284"]]);
|
|
15541
|
+
const _hoisted_1$j = { class: "dropdown-target-span" };
|
|
15542
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
15514
15543
|
...{
|
|
15515
15544
|
name: "WDropdown",
|
|
15516
15545
|
inheritAttrs: false
|
|
@@ -15602,7 +15631,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
15602
15631
|
default: withCtx(() => {
|
|
15603
15632
|
var _a;
|
|
15604
15633
|
return [
|
|
15605
|
-
createElementVNode("span", _hoisted_1$
|
|
15634
|
+
createElementVNode("span", _hoisted_1$j, [
|
|
15606
15635
|
createTextVNode(toDisplayString$1((_a = itemValue.value) == null ? void 0 : _a.label) + " ", 1),
|
|
15607
15636
|
createElementVNode("i", {
|
|
15608
15637
|
class: normalizeClass(["arrow", { open: open.value }])
|
|
@@ -15615,8 +15644,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
15615
15644
|
};
|
|
15616
15645
|
}
|
|
15617
15646
|
});
|
|
15618
|
-
const dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15619
|
-
const _sfc_main$
|
|
15647
|
+
const dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-ae229aba"]]);
|
|
15648
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
15620
15649
|
...{
|
|
15621
15650
|
name: "WDescriptionsItem",
|
|
15622
15651
|
inheritAttrs: false
|
|
@@ -15651,7 +15680,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
15651
15680
|
};
|
|
15652
15681
|
}
|
|
15653
15682
|
});
|
|
15654
|
-
const _sfc_main$
|
|
15683
|
+
const _sfc_main$s = defineComponent({
|
|
15655
15684
|
name: "WDescriptions",
|
|
15656
15685
|
inheritAttrs: false,
|
|
15657
15686
|
props: {
|
|
@@ -15680,7 +15709,7 @@ const _sfc_main$r = defineComponent({
|
|
|
15680
15709
|
}
|
|
15681
15710
|
if (((_b = vnode.props) == null ? void 0 : _b.field) && !vnode.children) {
|
|
15682
15711
|
vnode.children = {
|
|
15683
|
-
default: () => h(_sfc_main$
|
|
15712
|
+
default: () => h(_sfc_main$t, { ...vnode.props, data: data == null ? void 0 : data.value })
|
|
15684
15713
|
};
|
|
15685
15714
|
}
|
|
15686
15715
|
}
|
|
@@ -15698,19 +15727,19 @@ const _sfc_main$r = defineComponent({
|
|
|
15698
15727
|
};
|
|
15699
15728
|
}
|
|
15700
15729
|
});
|
|
15701
|
-
const _hoisted_1$
|
|
15730
|
+
const _hoisted_1$i = {
|
|
15702
15731
|
key: 0,
|
|
15703
15732
|
class: "ant-upload-drag-icon"
|
|
15704
15733
|
};
|
|
15705
|
-
const _hoisted_2$
|
|
15734
|
+
const _hoisted_2$c = {
|
|
15706
15735
|
key: 1,
|
|
15707
15736
|
class: "ant-upload-text"
|
|
15708
15737
|
};
|
|
15709
|
-
const _hoisted_3$
|
|
15738
|
+
const _hoisted_3$8 = {
|
|
15710
15739
|
key: 2,
|
|
15711
15740
|
class: "ant-upload-hint"
|
|
15712
15741
|
};
|
|
15713
|
-
const _sfc_main$
|
|
15742
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
15714
15743
|
...{
|
|
15715
15744
|
name: "WUpload",
|
|
15716
15745
|
inheritAttrs: false
|
|
@@ -15842,17 +15871,17 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
15842
15871
|
onChange: handleChange
|
|
15843
15872
|
}), {
|
|
15844
15873
|
default: withCtx(() => [
|
|
15845
|
-
uploadIcon.value || _ctx.$slots.uploadIcon ? (openBlock(), createElementBlock("p", _hoisted_1$
|
|
15874
|
+
uploadIcon.value || _ctx.$slots.uploadIcon ? (openBlock(), createElementBlock("p", _hoisted_1$i, [
|
|
15846
15875
|
renderSlot(_ctx.$slots, "uploadIcon", {}, () => [
|
|
15847
15876
|
createVNode(unref(WIcon), { type: uploadIcon.value }, null, 8, ["type"])
|
|
15848
15877
|
], true)
|
|
15849
15878
|
])) : createCommentVNode("", true),
|
|
15850
|
-
uploadText.value || _ctx.$slots.uploadText ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
15879
|
+
uploadText.value || _ctx.$slots.uploadText ? (openBlock(), createElementBlock("p", _hoisted_2$c, [
|
|
15851
15880
|
renderSlot(_ctx.$slots, "uploadText", {}, () => [
|
|
15852
15881
|
createTextVNode(toDisplayString$1(unref(t2)(uploadText.value)), 1)
|
|
15853
15882
|
], true)
|
|
15854
15883
|
])) : createCommentVNode("", true),
|
|
15855
|
-
props.uploadHint || _ctx.$slots.uploadHint ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
15884
|
+
props.uploadHint || _ctx.$slots.uploadHint ? (openBlock(), createElementBlock("p", _hoisted_3$8, [
|
|
15856
15885
|
renderSlot(_ctx.$slots, "uploadHint", {}, () => [
|
|
15857
15886
|
createTextVNode(toDisplayString$1(props.uploadHint && unref(t2)(props.uploadHint)), 1)
|
|
15858
15887
|
], true)
|
|
@@ -15892,18 +15921,18 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
15892
15921
|
};
|
|
15893
15922
|
}
|
|
15894
15923
|
});
|
|
15895
|
-
const upload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15896
|
-
const _hoisted_1$
|
|
15897
|
-
const _hoisted_2$
|
|
15898
|
-
const _hoisted_3$
|
|
15899
|
-
const _hoisted_4$
|
|
15924
|
+
const upload = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-f1922977"]]);
|
|
15925
|
+
const _hoisted_1$h = { class: "ant-upload-drag-icon" };
|
|
15926
|
+
const _hoisted_2$b = { class: "ant-upload-text" };
|
|
15927
|
+
const _hoisted_3$7 = { class: "ant-upload-hint" };
|
|
15928
|
+
const _hoisted_4$7 = { class: "upload-progress" };
|
|
15900
15929
|
const _hoisted_5$2 = {
|
|
15901
15930
|
key: 0,
|
|
15902
15931
|
class: "upload-notes"
|
|
15903
15932
|
};
|
|
15904
15933
|
const _hoisted_6$1 = { class: "upload-notes-title" };
|
|
15905
15934
|
const _hoisted_7$1 = { class: "upload-notes-content" };
|
|
15906
|
-
const _sfc_main$
|
|
15935
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
15907
15936
|
...{
|
|
15908
15937
|
name: "WUploadModal",
|
|
15909
15938
|
inheritAttrs: false
|
|
@@ -15993,7 +16022,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15993
16022
|
progress.value = Math.min(Math.round(progressEvent.loaded * 100 / total), 100);
|
|
15994
16023
|
}
|
|
15995
16024
|
return (_ctx, _cache) => {
|
|
15996
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
16025
|
+
return openBlock(), createBlock(unref(_sfc_main$12), mergeProps({
|
|
15997
16026
|
open: open.value,
|
|
15998
16027
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
15999
16028
|
title: props.title,
|
|
@@ -16006,7 +16035,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16006
16035
|
delay: 50
|
|
16007
16036
|
}, {
|
|
16008
16037
|
indicator: withCtx(() => [
|
|
16009
|
-
createElementVNode("div", _hoisted_4$
|
|
16038
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
16010
16039
|
createVNode(unref(Progress), {
|
|
16011
16040
|
percent: progress.value,
|
|
16012
16041
|
status: "active"
|
|
@@ -16023,11 +16052,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16023
16052
|
customRequest
|
|
16024
16053
|
}, {
|
|
16025
16054
|
default: withCtx(() => [
|
|
16026
|
-
createElementVNode("p", _hoisted_1$
|
|
16055
|
+
createElementVNode("p", _hoisted_1$h, [
|
|
16027
16056
|
createVNode(unref(WIcon), { type: "InboxOutlined" })
|
|
16028
16057
|
]),
|
|
16029
|
-
createElementVNode("p", _hoisted_2$
|
|
16030
|
-
createElementVNode("p", _hoisted_3$
|
|
16058
|
+
createElementVNode("p", _hoisted_2$b, toDisplayString$1(unref(t2)("com_msg_3884")), 1),
|
|
16059
|
+
createElementVNode("p", _hoisted_3$7, [
|
|
16031
16060
|
renderSlot(_ctx.$slots, "uploadTip", {}, () => [
|
|
16032
16061
|
createTextVNode(toDisplayString$1(props.uploadTip && unref(t2)(props.uploadTip)), 1)
|
|
16033
16062
|
], true)
|
|
@@ -16055,10 +16084,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16055
16084
|
};
|
|
16056
16085
|
}
|
|
16057
16086
|
});
|
|
16058
|
-
const uploadModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16059
|
-
const _hoisted_1$
|
|
16060
|
-
const _hoisted_2$
|
|
16061
|
-
const _sfc_main$
|
|
16087
|
+
const uploadModal = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-b0456d4c"]]);
|
|
16088
|
+
const _hoisted_1$g = { class: "w-card-title" };
|
|
16089
|
+
const _hoisted_2$a = { class: "right" };
|
|
16090
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
16062
16091
|
...{
|
|
16063
16092
|
name: "WCard"
|
|
16064
16093
|
},
|
|
@@ -16152,7 +16181,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16152
16181
|
title.value || _ctx.$slots.title ? {
|
|
16153
16182
|
name: "title",
|
|
16154
16183
|
fn: withCtx(() => [
|
|
16155
|
-
createElementVNode("div", _hoisted_1$
|
|
16184
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
16156
16185
|
createElementVNode("div", {
|
|
16157
16186
|
class: normalizeClass(["title", { required: props.required }])
|
|
16158
16187
|
}, [
|
|
@@ -16160,7 +16189,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16160
16189
|
createTextVNode(toDisplayString$1(title.value), 1)
|
|
16161
16190
|
])
|
|
16162
16191
|
], 2),
|
|
16163
|
-
createElementVNode("div", _hoisted_2$
|
|
16192
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
16164
16193
|
renderSlot(_ctx.$slots, "right")
|
|
16165
16194
|
])
|
|
16166
16195
|
])
|
|
@@ -16187,7 +16216,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16187
16216
|
};
|
|
16188
16217
|
}
|
|
16189
16218
|
});
|
|
16190
|
-
const _sfc_main$
|
|
16219
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
16191
16220
|
...{
|
|
16192
16221
|
name: "WButton",
|
|
16193
16222
|
inheritAttrs: false
|
|
@@ -16214,7 +16243,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16214
16243
|
key: 0,
|
|
16215
16244
|
class: "w-button"
|
|
16216
16245
|
}, _ctx.$attrs, {
|
|
16217
|
-
icon: iconType.value && h(unref(_sfc_main$
|
|
16246
|
+
icon: iconType.value && h(unref(_sfc_main$17), { type: iconType.value })
|
|
16218
16247
|
}), {
|
|
16219
16248
|
default: withCtx(() => [
|
|
16220
16249
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -16718,8 +16747,8 @@ var index$2 = function() {
|
|
|
16718
16747
|
}
|
|
16719
16748
|
return ResizeObserver;
|
|
16720
16749
|
}();
|
|
16721
|
-
const _hoisted_1$
|
|
16722
|
-
const _sfc_main$
|
|
16750
|
+
const _hoisted_1$f = ["data-length"];
|
|
16751
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
16723
16752
|
__name: "slashHeader",
|
|
16724
16753
|
props: {
|
|
16725
16754
|
titles: { default: () => [] }
|
|
@@ -16797,19 +16826,19 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
16797
16826
|
(openBlock(true), createElementBlock(Fragment, null, renderList(newTitles.value, (title) => {
|
|
16798
16827
|
return openBlock(), createElementBlock("span", { key: title }, toDisplayString$1(title), 1);
|
|
16799
16828
|
}), 128))
|
|
16800
|
-
], 8, _hoisted_1$
|
|
16829
|
+
], 8, _hoisted_1$f);
|
|
16801
16830
|
};
|
|
16802
16831
|
}
|
|
16803
16832
|
});
|
|
16804
|
-
const slashHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16805
|
-
const _hoisted_1$
|
|
16806
|
-
const _hoisted_2$
|
|
16807
|
-
const _hoisted_3$
|
|
16808
|
-
const _hoisted_4$
|
|
16833
|
+
const slashHeader = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-fb146cd2"]]);
|
|
16834
|
+
const _hoisted_1$e = { class: "page-head-wrap" };
|
|
16835
|
+
const _hoisted_2$9 = { class: "page-head" };
|
|
16836
|
+
const _hoisted_3$6 = { class: "page-head-text" };
|
|
16837
|
+
const _hoisted_4$6 = {
|
|
16809
16838
|
key: 0,
|
|
16810
16839
|
class: "form-buttons"
|
|
16811
16840
|
};
|
|
16812
|
-
const _sfc_main$
|
|
16841
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
16813
16842
|
...{
|
|
16814
16843
|
name: "WPageHead",
|
|
16815
16844
|
inheritAttrs: false
|
|
@@ -16875,10 +16904,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
16875
16904
|
emits("refresh", event);
|
|
16876
16905
|
}
|
|
16877
16906
|
return (_ctx, _cache) => {
|
|
16878
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16907
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
16879
16908
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "page-head-bg" }, null, -1)),
|
|
16880
|
-
createElementVNode("div", _hoisted_2$
|
|
16881
|
-
createElementVNode("div", _hoisted_3$
|
|
16909
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
16910
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
16882
16911
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
16883
16912
|
createElementVNode("span", null, toDisplayString$1(title.value), 1)
|
|
16884
16913
|
], true),
|
|
@@ -16898,7 +16927,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
16898
16927
|
_: 1
|
|
16899
16928
|
})) : createCommentVNode("", true)
|
|
16900
16929
|
]),
|
|
16901
|
-
!(props.hideButton === true) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
16930
|
+
!(props.hideButton === true) ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
16902
16931
|
createVNode(unref(Space), { size: "middle" }, {
|
|
16903
16932
|
default: withCtx(() => [
|
|
16904
16933
|
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
@@ -16960,8 +16989,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
16960
16989
|
};
|
|
16961
16990
|
}
|
|
16962
16991
|
});
|
|
16963
|
-
const pageHead = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16964
|
-
const _sfc_main$
|
|
16992
|
+
const pageHead = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-585e322a"]]);
|
|
16993
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
16965
16994
|
...{
|
|
16966
16995
|
name: "WStatistic"
|
|
16967
16996
|
},
|
|
@@ -16983,7 +17012,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
16983
17012
|
};
|
|
16984
17013
|
}
|
|
16985
17014
|
});
|
|
16986
|
-
const _sfc_main$
|
|
17015
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
16987
17016
|
...{
|
|
16988
17017
|
name: "WDatePicker"
|
|
16989
17018
|
},
|
|
@@ -17061,7 +17090,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
17061
17090
|
};
|
|
17062
17091
|
}
|
|
17063
17092
|
});
|
|
17064
|
-
const _sfc_main$
|
|
17093
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
17065
17094
|
...{
|
|
17066
17095
|
name: "WRangePicker"
|
|
17067
17096
|
},
|
|
@@ -17387,26 +17416,204 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
17387
17416
|
};
|
|
17388
17417
|
}
|
|
17389
17418
|
});
|
|
17419
|
+
const _hoisted_1$d = { class: "form-title" };
|
|
17420
|
+
const _hoisted_2$8 = { class: "form-title-text" };
|
|
17421
|
+
const _hoisted_3$5 = {
|
|
17422
|
+
key: 0,
|
|
17423
|
+
class: "form-buttons"
|
|
17424
|
+
};
|
|
17425
|
+
const _hoisted_4$5 = { class: "form-body" };
|
|
17426
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
17427
|
+
...{
|
|
17428
|
+
name: "WFormPage",
|
|
17429
|
+
inheritAttrs: false
|
|
17430
|
+
},
|
|
17431
|
+
__name: "page",
|
|
17432
|
+
props: {
|
|
17433
|
+
mode: {},
|
|
17434
|
+
title: { default: "" },
|
|
17435
|
+
question: {},
|
|
17436
|
+
questionIcon: { default: "QuestionCircleFilled" },
|
|
17437
|
+
loading: { type: Boolean, default: false },
|
|
17438
|
+
detailsLoading: { type: Boolean },
|
|
17439
|
+
hideFooter: { type: [Boolean, Array], default: false },
|
|
17440
|
+
okText: { default: "com_btn_019" },
|
|
17441
|
+
cancelText: { default: "com_btn_021" },
|
|
17442
|
+
refreshText: { default: "com_btn_2919" },
|
|
17443
|
+
className: {}
|
|
17444
|
+
},
|
|
17445
|
+
emits: ["ok", "refresh", "cancel"],
|
|
17446
|
+
setup(__props, { emit: __emit }) {
|
|
17447
|
+
useCssVars((_ctx) => ({
|
|
17448
|
+
"v6ecd4b87": unref(token).colorBgLayout,
|
|
17449
|
+
"bd4cda62": `${unref(token).borderRadius}px`,
|
|
17450
|
+
"v3d9d84c7": unref(token).colorBgElevated,
|
|
17451
|
+
"v7700f329": `${unref(token).controlHeight}px`
|
|
17452
|
+
}));
|
|
17453
|
+
const { token } = theme.useToken();
|
|
17454
|
+
const { t: t2 } = useI18n();
|
|
17455
|
+
const { getTitle } = usePrefixTitle();
|
|
17456
|
+
const props = __props;
|
|
17457
|
+
const emits = __emit;
|
|
17458
|
+
const hideOkButton = ["ok"];
|
|
17459
|
+
const title = computed(() => props.mode ? getTitle(props.title, props.mode) : props.title);
|
|
17460
|
+
const hideFooter = computed(() => props.hideFooter || (props.mode === "details" ? hideOkButton : props.hideFooter));
|
|
17461
|
+
const showOk = computed(() => {
|
|
17462
|
+
let show = !hideFooter.value;
|
|
17463
|
+
if (Array.isArray(hideFooter.value)) {
|
|
17464
|
+
show = !hideFooter.value.some((item) => item === "ok");
|
|
17465
|
+
}
|
|
17466
|
+
if (props.mode && ["details"].includes(props.mode)) {
|
|
17467
|
+
show = false;
|
|
17468
|
+
}
|
|
17469
|
+
return show;
|
|
17470
|
+
});
|
|
17471
|
+
const showRefresh = computed(() => {
|
|
17472
|
+
let show = !hideFooter.value;
|
|
17473
|
+
if (Array.isArray(hideFooter.value)) {
|
|
17474
|
+
show = !hideFooter.value.some((item) => item === "refresh");
|
|
17475
|
+
}
|
|
17476
|
+
if (showOk.value) {
|
|
17477
|
+
show = false;
|
|
17478
|
+
}
|
|
17479
|
+
return show;
|
|
17480
|
+
});
|
|
17481
|
+
const showCancel = computed(() => {
|
|
17482
|
+
let show = !hideFooter.value;
|
|
17483
|
+
if (Array.isArray(hideFooter.value)) {
|
|
17484
|
+
show = !hideFooter.value.some((item) => item === "cancel");
|
|
17485
|
+
} else {
|
|
17486
|
+
show = true;
|
|
17487
|
+
}
|
|
17488
|
+
return show;
|
|
17489
|
+
});
|
|
17490
|
+
function okEvent(event) {
|
|
17491
|
+
emits("ok", event);
|
|
17492
|
+
}
|
|
17493
|
+
function refreshEvent(event) {
|
|
17494
|
+
emits("refresh", event);
|
|
17495
|
+
}
|
|
17496
|
+
function cancelEvent(event) {
|
|
17497
|
+
emits("cancel", event);
|
|
17498
|
+
}
|
|
17499
|
+
return (_ctx, _cache) => {
|
|
17500
|
+
return openBlock(), createElementBlock("div", {
|
|
17501
|
+
class: normalizeClass(["content-container", props.className])
|
|
17502
|
+
}, [
|
|
17503
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
17504
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
17505
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
17506
|
+
createElementVNode("span", null, toDisplayString$1(title.value), 1),
|
|
17507
|
+
props.question ? (openBlock(), createBlock(unref(Tooltip), {
|
|
17508
|
+
key: 0,
|
|
17509
|
+
placement: "right"
|
|
17510
|
+
}, {
|
|
17511
|
+
title: withCtx(() => [
|
|
17512
|
+
createElementVNode("span", null, toDisplayString$1(unref(t2)(props.question)), 1)
|
|
17513
|
+
]),
|
|
17514
|
+
default: withCtx(() => [
|
|
17515
|
+
createVNode(unref(WIcon), {
|
|
17516
|
+
type: props.questionIcon,
|
|
17517
|
+
clearColor: ""
|
|
17518
|
+
}, null, 8, ["type"])
|
|
17519
|
+
]),
|
|
17520
|
+
_: 1
|
|
17521
|
+
})) : createCommentVNode("", true)
|
|
17522
|
+
], true)
|
|
17523
|
+
]),
|
|
17524
|
+
!(hideFooter.value === true) ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
|
|
17525
|
+
createVNode(unref(Space), { size: "middle" }, {
|
|
17526
|
+
default: withCtx(() => [
|
|
17527
|
+
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
17528
|
+
showCancel.value ? (openBlock(), createBlock(unref(Button), {
|
|
17529
|
+
key: 0,
|
|
17530
|
+
onClick: _cache[0] || (_cache[0] = ($event) => cancelEvent(_ctx.$))
|
|
17531
|
+
}, {
|
|
17532
|
+
icon: withCtx(() => [
|
|
17533
|
+
createVNode(unref(WIcon), {
|
|
17534
|
+
type: "ArrowLeftOutlined",
|
|
17535
|
+
clearColor: ""
|
|
17536
|
+
})
|
|
17537
|
+
]),
|
|
17538
|
+
default: withCtx(() => [
|
|
17539
|
+
createTextVNode(" " + toDisplayString$1(unref(t2)(props.cancelText)), 1)
|
|
17540
|
+
]),
|
|
17541
|
+
_: 1
|
|
17542
|
+
})) : createCommentVNode("", true),
|
|
17543
|
+
showRefresh.value ? (openBlock(), createBlock(unref(Button), {
|
|
17544
|
+
key: 1,
|
|
17545
|
+
onClick: _cache[1] || (_cache[1] = ($event) => refreshEvent(_ctx.$)),
|
|
17546
|
+
loading: props.loading || props.detailsLoading
|
|
17547
|
+
}, {
|
|
17548
|
+
icon: withCtx(() => [
|
|
17549
|
+
createVNode(unref(WIcon), {
|
|
17550
|
+
type: "ReloadOutlined",
|
|
17551
|
+
clearColor: ""
|
|
17552
|
+
})
|
|
17553
|
+
]),
|
|
17554
|
+
default: withCtx(() => [
|
|
17555
|
+
createTextVNode(" " + toDisplayString$1(unref(t2)(props.refreshText)), 1)
|
|
17556
|
+
]),
|
|
17557
|
+
_: 1
|
|
17558
|
+
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
17559
|
+
showOk.value ? (openBlock(), createBlock(unref(Button), {
|
|
17560
|
+
key: 2,
|
|
17561
|
+
onClick: okEvent,
|
|
17562
|
+
type: "primary",
|
|
17563
|
+
loading: props.loading || props.detailsLoading
|
|
17564
|
+
}, {
|
|
17565
|
+
icon: withCtx(() => [
|
|
17566
|
+
createVNode(unref(WIcon), {
|
|
17567
|
+
type: "SaveOutlined",
|
|
17568
|
+
clearColor: ""
|
|
17569
|
+
})
|
|
17570
|
+
]),
|
|
17571
|
+
default: withCtx(() => [
|
|
17572
|
+
createTextVNode(" " + toDisplayString$1(unref(t2)(props.okText)), 1)
|
|
17573
|
+
]),
|
|
17574
|
+
_: 1
|
|
17575
|
+
}, 8, ["loading"])) : createCommentVNode("", true)
|
|
17576
|
+
], true)
|
|
17577
|
+
]),
|
|
17578
|
+
_: 3
|
|
17579
|
+
})
|
|
17580
|
+
])) : createCommentVNode("", true)
|
|
17581
|
+
]),
|
|
17582
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
17583
|
+
createVNode(unref(Spin), {
|
|
17584
|
+
spinning: props.loading || props.detailsLoading
|
|
17585
|
+
}, {
|
|
17586
|
+
default: withCtx(() => [
|
|
17587
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
17588
|
+
]),
|
|
17589
|
+
_: 3
|
|
17590
|
+
}, 8, ["spinning"])
|
|
17591
|
+
])
|
|
17592
|
+
], 2);
|
|
17593
|
+
};
|
|
17594
|
+
}
|
|
17595
|
+
});
|
|
17596
|
+
const page = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-f3bb453e"]]);
|
|
17390
17597
|
const Inputs = {
|
|
17391
17598
|
// 通用类
|
|
17392
|
-
input: _sfc_main$
|
|
17393
|
-
inputPassword: _sfc_main$
|
|
17599
|
+
input: _sfc_main$V,
|
|
17600
|
+
inputPassword: _sfc_main$U,
|
|
17394
17601
|
inputNumber,
|
|
17395
|
-
inputTags: _sfc_main$
|
|
17396
|
-
radio: _sfc_main$
|
|
17397
|
-
checkbox: _sfc_main$
|
|
17398
|
-
select: _sfc_main$
|
|
17602
|
+
inputTags: _sfc_main$R,
|
|
17603
|
+
radio: _sfc_main$O,
|
|
17604
|
+
checkbox: _sfc_main$P,
|
|
17605
|
+
select: _sfc_main$N,
|
|
17399
17606
|
selectInput,
|
|
17400
17607
|
dateRange,
|
|
17401
17608
|
numberRange,
|
|
17402
|
-
custom: _sfc_main$
|
|
17609
|
+
custom: _sfc_main$H,
|
|
17403
17610
|
inputMatch,
|
|
17404
|
-
inputI18n: _sfc_main$
|
|
17611
|
+
inputI18n: _sfc_main$F,
|
|
17405
17612
|
// 业务类
|
|
17406
|
-
channel: _sfc_main$
|
|
17407
|
-
customer: _sfc_main$
|
|
17408
|
-
country: _sfc_main$
|
|
17409
|
-
sku: _sfc_main$
|
|
17613
|
+
channel: _sfc_main$z,
|
|
17614
|
+
customer: _sfc_main$y,
|
|
17615
|
+
country: _sfc_main$x,
|
|
17616
|
+
sku: _sfc_main$w
|
|
17410
17617
|
};
|
|
17411
17618
|
const WHeaderForm = Symbol("WHeaderForm");
|
|
17412
17619
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
@@ -17510,7 +17717,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
17510
17717
|
emits("reset", merge$1(initForm, omit(clone(defaultForm, true), props.resetWhitelist ?? [])));
|
|
17511
17718
|
}
|
|
17512
17719
|
return (_ctx, _cache) => {
|
|
17513
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
17720
|
+
return openBlock(), createBlock(unref(_sfc_main$p), { class: "search-form" }, {
|
|
17514
17721
|
default: withCtx(() => [
|
|
17515
17722
|
createVNode(unref(WForm), mergeProps({
|
|
17516
17723
|
ref_key: "searchformRef",
|
|
@@ -17553,19 +17760,19 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
17553
17760
|
renderSlot(_ctx.$slots, "buttons", { loading: __props.loading }, () => {
|
|
17554
17761
|
var _a;
|
|
17555
17762
|
return [
|
|
17556
|
-
createVNode(unref(_sfc_main$
|
|
17763
|
+
createVNode(unref(_sfc_main$o), {
|
|
17557
17764
|
type: "primary",
|
|
17558
17765
|
icon: "SearchOutlined",
|
|
17559
17766
|
onClick: handleSearch,
|
|
17560
17767
|
loading: __props.loading,
|
|
17561
17768
|
text: "com_btn_011"
|
|
17562
17769
|
}, null, 8, ["loading"]),
|
|
17563
|
-
createVNode(unref(_sfc_main$
|
|
17770
|
+
createVNode(unref(_sfc_main$o), {
|
|
17564
17771
|
icon: "RedoOutlined",
|
|
17565
17772
|
onClick: handleReset,
|
|
17566
17773
|
text: "com_btn_012"
|
|
17567
17774
|
}),
|
|
17568
|
-
props.expand && props.option && ((_a = props.option) == null ? void 0 : _a.length) > props.column * props.minRows - 1 ? (openBlock(), createBlock(unref(_sfc_main$
|
|
17775
|
+
props.expand && props.option && ((_a = props.option) == null ? void 0 : _a.length) > props.column * props.minRows - 1 ? (openBlock(), createBlock(unref(_sfc_main$o), {
|
|
17569
17776
|
key: 0,
|
|
17570
17777
|
type: "link",
|
|
17571
17778
|
icon: flod.value ? "UpOutlined" : "DownOutlined",
|
|
@@ -17852,7 +18059,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
17852
18059
|
createVNode(unref(Button), null, {
|
|
17853
18060
|
default: withCtx(() => [
|
|
17854
18061
|
createTextVNode(toDisplayString$1(unref(t2)("com_lab_2941")) + " ", 1),
|
|
17855
|
-
createVNode(unref(_sfc_main$
|
|
18062
|
+
createVNode(unref(_sfc_main$17), { type: "DownOutlined" })
|
|
17856
18063
|
]),
|
|
17857
18064
|
_: 1
|
|
17858
18065
|
})
|
|
@@ -18274,7 +18481,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18274
18481
|
onSearch: getList,
|
|
18275
18482
|
onReset: handleReset
|
|
18276
18483
|
}, { ...unref(headerProps), ...attrMap.value.header }), null, 16, ["form", "loading", "resetWhitelist"])) : createCommentVNode("", true),
|
|
18277
|
-
createVNode(unref(_sfc_main$
|
|
18484
|
+
createVNode(unref(_sfc_main$p), {
|
|
18278
18485
|
title: props.tableTitle,
|
|
18279
18486
|
activeTabKey: activeKey.value,
|
|
18280
18487
|
"onUpdate:activeTabKey": _cache[1] || (_cache[1] = ($event) => activeKey.value = $event),
|
|
@@ -18526,11 +18733,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
18526
18733
|
_: 2
|
|
18527
18734
|
}, 1024),
|
|
18528
18735
|
item.path === activeKey.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18529
|
-
loading.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
18736
|
+
loading.value ? (openBlock(), createBlock(unref(_sfc_main$17), {
|
|
18530
18737
|
key: 0,
|
|
18531
18738
|
type: "LoadingOutlined"
|
|
18532
18739
|
})) : createCommentVNode("", true)
|
|
18533
|
-
], 64)) : !((_a = item.meta) == null ? void 0 : _a.affix) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
18740
|
+
], 64)) : !((_a = item.meta) == null ? void 0 : _a.affix) ? (openBlock(), createBlock(unref(_sfc_main$17), {
|
|
18534
18741
|
key: 1,
|
|
18535
18742
|
type: "CloseOutlined",
|
|
18536
18743
|
onClick: withModifiers(($event) => unref(closeCurrent)(item), ["stop"])
|
|
@@ -18842,7 +19049,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18842
19049
|
dot: unref(store2).downloadFlag
|
|
18843
19050
|
}, {
|
|
18844
19051
|
default: withCtx(() => [
|
|
18845
|
-
createVNode(unref(_sfc_main$
|
|
19052
|
+
createVNode(unref(_sfc_main$17), { type: "FileDoneOutlined" })
|
|
18846
19053
|
]),
|
|
18847
19054
|
_: 1
|
|
18848
19055
|
}, 8, ["dot"])
|
|
@@ -18872,7 +19079,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18872
19079
|
createVNode(unref(ListItem), { class: "download-item" }, {
|
|
18873
19080
|
default: withCtx(() => [
|
|
18874
19081
|
createElementVNode("div", _hoisted_1$6, [
|
|
18875
|
-
createVNode(unref(_sfc_main$
|
|
19082
|
+
createVNode(unref(_sfc_main$17), { type: "ClockCircleOutlined" }),
|
|
18876
19083
|
createElementVNode("span", null, toDisplayString$1(unref(dayjs)(item.createTime).format("YYYY-MM-DD HH:mm:ss")), 1)
|
|
18877
19084
|
]),
|
|
18878
19085
|
createElementVNode("div", _hoisted_2$5, toDisplayString$1(unref(t2)(item.interfaceLanguageCode)) + " - " + toDisplayString$1(unref(t2)(item.buttonLanguageCode.trim())) + " - " + toDisplayString$1(item.recordNo), 1),
|
|
@@ -19112,7 +19319,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19112
19319
|
}).catch((err) => console.error(err));
|
|
19113
19320
|
}
|
|
19114
19321
|
return (_ctx, _cache) => {
|
|
19115
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
19322
|
+
return openBlock(), createBlock(unref(_sfc_main$C), {
|
|
19116
19323
|
ref_key: "passwordFormRef",
|
|
19117
19324
|
ref: passwordFormRef,
|
|
19118
19325
|
title: "com_lab_090",
|
|
@@ -19123,17 +19330,17 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19123
19330
|
width: [0.3, 500]
|
|
19124
19331
|
}, {
|
|
19125
19332
|
default: withCtx(({ form }) => [
|
|
19126
|
-
createVNode(unref(_sfc_main$
|
|
19333
|
+
createVNode(unref(_sfc_main$U), {
|
|
19127
19334
|
model: "oldPassword",
|
|
19128
19335
|
form,
|
|
19129
19336
|
label: "com_lab_088"
|
|
19130
19337
|
}, null, 8, ["form"]),
|
|
19131
|
-
createVNode(unref(_sfc_main$
|
|
19338
|
+
createVNode(unref(_sfc_main$U), {
|
|
19132
19339
|
model: "newPassword",
|
|
19133
19340
|
form,
|
|
19134
19341
|
label: "com_lab_087"
|
|
19135
19342
|
}, null, 8, ["form"]),
|
|
19136
|
-
createVNode(unref(_sfc_main$
|
|
19343
|
+
createVNode(unref(_sfc_main$U), {
|
|
19137
19344
|
model: "confirmPassword",
|
|
19138
19345
|
form,
|
|
19139
19346
|
label: "com_lab_089"
|
|
@@ -19267,10 +19474,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
19267
19474
|
class: "collapse-trigger",
|
|
19268
19475
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(commonStore).toggleCollapsed())
|
|
19269
19476
|
}, [
|
|
19270
|
-
unref(commonStore).collapsed ? (openBlock(), createBlock(unref(_sfc_main$
|
|
19477
|
+
unref(commonStore).collapsed ? (openBlock(), createBlock(unref(_sfc_main$17), {
|
|
19271
19478
|
key: 0,
|
|
19272
19479
|
type: "MenuUnfoldOutlined"
|
|
19273
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
19480
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$17), {
|
|
19274
19481
|
key: 1,
|
|
19275
19482
|
type: "MenuFoldOutlined"
|
|
19276
19483
|
}))
|
|
@@ -19287,7 +19494,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
19287
19494
|
]),
|
|
19288
19495
|
default: withCtx(() => [
|
|
19289
19496
|
createElementVNode("span", _hoisted_4$1, [
|
|
19290
|
-
createVNode(unref(_sfc_main$
|
|
19497
|
+
createVNode(unref(_sfc_main$17), { type: "AppstoreOutlined" }),
|
|
19291
19498
|
createTextVNode(" " + toDisplayString$1(unref(t2)("com_lab_010")), 1)
|
|
19292
19499
|
])
|
|
19293
19500
|
]),
|
|
@@ -19315,7 +19522,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
19315
19522
|
href: item.href,
|
|
19316
19523
|
target: "_blank"
|
|
19317
19524
|
}, [
|
|
19318
|
-
createVNode(unref(_sfc_main$
|
|
19525
|
+
createVNode(unref(_sfc_main$17), {
|
|
19319
19526
|
type: item.icon
|
|
19320
19527
|
}, null, 8, ["type"]),
|
|
19321
19528
|
_cache[2] || (_cache[2] = createTextVNode(" ", -1)),
|
|
@@ -19325,7 +19532,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
19325
19532
|
onClick: item.click,
|
|
19326
19533
|
class: "text-center"
|
|
19327
19534
|
}, [
|
|
19328
|
-
createVNode(unref(_sfc_main$
|
|
19535
|
+
createVNode(unref(_sfc_main$17), {
|
|
19329
19536
|
type: item.icon
|
|
19330
19537
|
}, null, 8, ["type"]),
|
|
19331
19538
|
_cache[3] || (_cache[3] = createTextVNode(" ", -1)),
|
|
@@ -19342,7 +19549,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
19342
19549
|
class: "text-center",
|
|
19343
19550
|
onClick: handleLogout
|
|
19344
19551
|
}, [
|
|
19345
|
-
createVNode(unref(_sfc_main$
|
|
19552
|
+
createVNode(unref(_sfc_main$17), { type: "LogoutOutlined" }),
|
|
19346
19553
|
_cache[4] || (_cache[4] = createTextVNode(" ", -1)),
|
|
19347
19554
|
createElementVNode("span", null, toDisplayString$1(unref(t2)("com_lab_092")), 1)
|
|
19348
19555
|
])
|
|
@@ -19623,45 +19830,45 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19623
19830
|
});
|
|
19624
19831
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19625
19832
|
__proto__: null,
|
|
19626
|
-
Icon: _sfc_main$
|
|
19833
|
+
Icon: _sfc_main$17,
|
|
19627
19834
|
WBlankLayout: _sfc_main,
|
|
19628
|
-
WButton: _sfc_main$
|
|
19629
|
-
WCard: _sfc_main$
|
|
19835
|
+
WButton: _sfc_main$o,
|
|
19836
|
+
WCard: _sfc_main$p,
|
|
19630
19837
|
WColumn,
|
|
19631
19838
|
WConfigProvider: configProvider,
|
|
19632
19839
|
WCropper: cropper,
|
|
19633
|
-
WDatePicker: _sfc_main$
|
|
19634
|
-
WDescriptions: _sfc_main$
|
|
19635
|
-
WDescriptionsItem: _sfc_main$
|
|
19840
|
+
WDatePicker: _sfc_main$k,
|
|
19841
|
+
WDescriptions: _sfc_main$s,
|
|
19842
|
+
WDescriptionsItem: _sfc_main$t,
|
|
19636
19843
|
WDropdown: dropdown,
|
|
19637
19844
|
WEditTitle: editTitle,
|
|
19638
19845
|
WForm,
|
|
19639
|
-
WFormChannel: _sfc_main$
|
|
19640
|
-
WFormCheckbox: _sfc_main$
|
|
19641
|
-
WFormCol: _sfc_main$
|
|
19642
|
-
WFormCountry: _sfc_main$
|
|
19643
|
-
WFormCustom: _sfc_main$
|
|
19644
|
-
WFormCustomer: _sfc_main$
|
|
19645
|
-
WFormDatePicker: _sfc_main$
|
|
19846
|
+
WFormChannel: _sfc_main$z,
|
|
19847
|
+
WFormCheckbox: _sfc_main$P,
|
|
19848
|
+
WFormCol: _sfc_main$Y,
|
|
19849
|
+
WFormCountry: _sfc_main$x,
|
|
19850
|
+
WFormCustom: _sfc_main$H,
|
|
19851
|
+
WFormCustomer: _sfc_main$y,
|
|
19852
|
+
WFormDatePicker: _sfc_main$J,
|
|
19646
19853
|
WFormDateRange: dateRange,
|
|
19647
|
-
WFormInput: _sfc_main$
|
|
19648
|
-
WFormInputI18n: _sfc_main$
|
|
19854
|
+
WFormInput: _sfc_main$V,
|
|
19855
|
+
WFormInputI18n: _sfc_main$F,
|
|
19649
19856
|
WFormInputMatch: inputMatch,
|
|
19650
19857
|
WFormItem,
|
|
19651
|
-
WFormItemRest: _sfc_main$
|
|
19652
|
-
WFormModal: _sfc_main$
|
|
19858
|
+
WFormItemRest: _sfc_main$W,
|
|
19859
|
+
WFormModal: _sfc_main$C,
|
|
19653
19860
|
WFormNumber: inputNumber,
|
|
19654
19861
|
WFormNumberRange: numberRange,
|
|
19655
|
-
WFormPage: page,
|
|
19656
|
-
WFormPassword: _sfc_main$
|
|
19657
|
-
WFormRadio: _sfc_main$
|
|
19658
|
-
WFormSelect: _sfc_main$
|
|
19862
|
+
WFormPage: page$1,
|
|
19863
|
+
WFormPassword: _sfc_main$U,
|
|
19864
|
+
WFormRadio: _sfc_main$O,
|
|
19865
|
+
WFormSelect: _sfc_main$N,
|
|
19659
19866
|
WFormSelectInput: selectInput,
|
|
19660
|
-
WFormSku: _sfc_main$
|
|
19661
|
-
WFormTags: _sfc_main$
|
|
19662
|
-
WFormTextarea: _sfc_main$
|
|
19663
|
-
WFormTimePicker: _sfc_main$
|
|
19664
|
-
WFormUpload: _sfc_main$
|
|
19867
|
+
WFormSku: _sfc_main$w,
|
|
19868
|
+
WFormTags: _sfc_main$R,
|
|
19869
|
+
WFormTextarea: _sfc_main$Q,
|
|
19870
|
+
WFormTimePicker: _sfc_main$K,
|
|
19871
|
+
WFormUpload: _sfc_main$E,
|
|
19665
19872
|
WFormUploadImage: uploadImage,
|
|
19666
19873
|
WFormWrap: wrap,
|
|
19667
19874
|
WIcon,
|
|
@@ -19674,15 +19881,16 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
19674
19881
|
WListHeader: ListHeader,
|
|
19675
19882
|
WListPager: ListPager,
|
|
19676
19883
|
WListTable: ListTable,
|
|
19677
|
-
WModal: _sfc_main$
|
|
19884
|
+
WModal: _sfc_main$12,
|
|
19678
19885
|
WNoData: noData,
|
|
19886
|
+
WPage: page,
|
|
19679
19887
|
WPageHead: pageHead,
|
|
19680
|
-
WPager: _sfc_main
|
|
19681
|
-
WRangePicker: _sfc_main$
|
|
19682
|
-
WRedirect: _sfc_main$
|
|
19888
|
+
WPager: _sfc_main$$,
|
|
19889
|
+
WRangePicker: _sfc_main$j,
|
|
19890
|
+
WRedirect: _sfc_main$15,
|
|
19683
19891
|
WSlashHeader: slashHeader,
|
|
19684
|
-
WStatistic: _sfc_main$
|
|
19685
|
-
WSwitchIcon: _sfc_main$
|
|
19892
|
+
WStatistic: _sfc_main$l,
|
|
19893
|
+
WSwitchIcon: _sfc_main$16,
|
|
19686
19894
|
WTable,
|
|
19687
19895
|
WUpload: upload,
|
|
19688
19896
|
WUploadModal: uploadModal
|
|
@@ -19698,26 +19906,25 @@ const hasAuth$1 = (value) => {
|
|
|
19698
19906
|
}
|
|
19699
19907
|
return false;
|
|
19700
19908
|
};
|
|
19701
|
-
function
|
|
19702
|
-
var _a;
|
|
19909
|
+
function updateElement(el, binding) {
|
|
19703
19910
|
const {
|
|
19704
|
-
|
|
19705
|
-
|
|
19911
|
+
value,
|
|
19912
|
+
oldValue,
|
|
19913
|
+
modifiers: { page: page2 }
|
|
19706
19914
|
} = binding;
|
|
19707
|
-
|
|
19708
|
-
|
|
19709
|
-
|
|
19710
|
-
|
|
19711
|
-
|
|
19712
|
-
|
|
19713
|
-
|
|
19915
|
+
if (!value || value !== oldValue) {
|
|
19916
|
+
nextTick(() => {
|
|
19917
|
+
if (page2) {
|
|
19918
|
+
!hasAuth$1(value) && (el.innerHTML = `<div class="page-no-auth">${t("com_msg_4527")}</div>`);
|
|
19919
|
+
} else if (el.style) {
|
|
19920
|
+
el.style.display = hasAuth$1(value) ? "" : "none";
|
|
19921
|
+
}
|
|
19922
|
+
});
|
|
19714
19923
|
}
|
|
19715
19924
|
}
|
|
19716
|
-
const mounted$1 = (el, binding) => {
|
|
19717
|
-
auth(el, binding);
|
|
19718
|
-
};
|
|
19719
19925
|
const authDirective = {
|
|
19720
|
-
mounted:
|
|
19926
|
+
mounted: updateElement,
|
|
19927
|
+
updated: updateElement
|
|
19721
19928
|
};
|
|
19722
19929
|
const setupAuthDirective = (app) => {
|
|
19723
19930
|
app.directive("auth", authDirective);
|
|
@@ -19803,46 +20010,46 @@ const index = {
|
|
|
19803
20010
|
setConfig
|
|
19804
20011
|
};
|
|
19805
20012
|
export {
|
|
19806
|
-
_sfc_main$
|
|
20013
|
+
_sfc_main$17 as Icon,
|
|
19807
20014
|
_sfc_main as WBlankLayout,
|
|
19808
|
-
_sfc_main$
|
|
19809
|
-
_sfc_main$
|
|
20015
|
+
_sfc_main$o as WButton,
|
|
20016
|
+
_sfc_main$p as WCard,
|
|
19810
20017
|
_ as WCharts,
|
|
19811
20018
|
WColumn,
|
|
19812
20019
|
configProvider as WConfigProvider,
|
|
19813
20020
|
cropper as WCropper,
|
|
19814
|
-
_sfc_main$
|
|
19815
|
-
_sfc_main$
|
|
19816
|
-
_sfc_main$
|
|
20021
|
+
_sfc_main$k as WDatePicker,
|
|
20022
|
+
_sfc_main$s as WDescriptions,
|
|
20023
|
+
_sfc_main$t as WDescriptionsItem,
|
|
19817
20024
|
dropdown as WDropdown,
|
|
19818
20025
|
editTitle as WEditTitle,
|
|
19819
20026
|
WForm,
|
|
19820
|
-
_sfc_main$
|
|
19821
|
-
_sfc_main$
|
|
19822
|
-
_sfc_main$
|
|
19823
|
-
_sfc_main$
|
|
19824
|
-
_sfc_main$
|
|
19825
|
-
_sfc_main$
|
|
19826
|
-
_sfc_main$
|
|
20027
|
+
_sfc_main$z as WFormChannel,
|
|
20028
|
+
_sfc_main$P as WFormCheckbox,
|
|
20029
|
+
_sfc_main$Y as WFormCol,
|
|
20030
|
+
_sfc_main$x as WFormCountry,
|
|
20031
|
+
_sfc_main$H as WFormCustom,
|
|
20032
|
+
_sfc_main$y as WFormCustomer,
|
|
20033
|
+
_sfc_main$J as WFormDatePicker,
|
|
19827
20034
|
dateRange as WFormDateRange,
|
|
19828
|
-
_sfc_main$
|
|
19829
|
-
_sfc_main$
|
|
20035
|
+
_sfc_main$V as WFormInput,
|
|
20036
|
+
_sfc_main$F as WFormInputI18n,
|
|
19830
20037
|
inputMatch as WFormInputMatch,
|
|
19831
20038
|
WFormItem,
|
|
19832
|
-
_sfc_main$
|
|
19833
|
-
_sfc_main$
|
|
20039
|
+
_sfc_main$W as WFormItemRest,
|
|
20040
|
+
_sfc_main$C as WFormModal,
|
|
19834
20041
|
inputNumber as WFormNumber,
|
|
19835
20042
|
numberRange as WFormNumberRange,
|
|
19836
|
-
page as WFormPage,
|
|
19837
|
-
_sfc_main$
|
|
19838
|
-
_sfc_main$
|
|
19839
|
-
_sfc_main$
|
|
20043
|
+
page$1 as WFormPage,
|
|
20044
|
+
_sfc_main$U as WFormPassword,
|
|
20045
|
+
_sfc_main$O as WFormRadio,
|
|
20046
|
+
_sfc_main$N as WFormSelect,
|
|
19840
20047
|
selectInput as WFormSelectInput,
|
|
19841
|
-
_sfc_main$
|
|
19842
|
-
_sfc_main$
|
|
19843
|
-
_sfc_main$
|
|
19844
|
-
_sfc_main$
|
|
19845
|
-
_sfc_main$
|
|
20048
|
+
_sfc_main$w as WFormSku,
|
|
20049
|
+
_sfc_main$R as WFormTags,
|
|
20050
|
+
_sfc_main$Q as WFormTextarea,
|
|
20051
|
+
_sfc_main$K as WFormTimePicker,
|
|
20052
|
+
_sfc_main$E as WFormUpload,
|
|
19846
20053
|
uploadImage as WFormUploadImage,
|
|
19847
20054
|
wrap as WFormWrap,
|
|
19848
20055
|
WHeaderForm,
|
|
@@ -19856,15 +20063,16 @@ export {
|
|
|
19856
20063
|
ListHeader as WListHeader,
|
|
19857
20064
|
ListPager as WListPager,
|
|
19858
20065
|
ListTable as WListTable,
|
|
19859
|
-
_sfc_main$
|
|
20066
|
+
_sfc_main$12 as WModal,
|
|
19860
20067
|
noData as WNoData,
|
|
20068
|
+
page as WPage,
|
|
19861
20069
|
pageHead as WPageHead,
|
|
19862
|
-
_sfc_main
|
|
19863
|
-
_sfc_main$
|
|
19864
|
-
_sfc_main$
|
|
20070
|
+
_sfc_main$$ as WPager,
|
|
20071
|
+
_sfc_main$j as WRangePicker,
|
|
20072
|
+
_sfc_main$15 as WRedirect,
|
|
19865
20073
|
slashHeader as WSlashHeader,
|
|
19866
|
-
_sfc_main$
|
|
19867
|
-
_sfc_main$
|
|
20074
|
+
_sfc_main$l as WStatistic,
|
|
20075
|
+
_sfc_main$16 as WSwitchIcon,
|
|
19868
20076
|
WTable,
|
|
19869
20077
|
upload as WUpload,
|
|
19870
20078
|
uploadModal as WUploadModal,
|