lew-ui 2.2.7 → 2.2.9
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/LICENSE +21 -21
- package/README.md +33 -49
- package/README.zh-CN.md +35 -0
- package/dist/components/button/src/LewButton.vue.d.ts +2 -2
- package/dist/components/button/src/props.d.ts +2 -2
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +2 -2
- package/dist/components/radio/src/LewRadio.vue.d.ts +1 -1
- package/dist/components/select/src/LewSelect.vue.d.ts +0 -11
- package/dist/components/select/src/props.d.ts +0 -5
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +0 -11
- package/dist/components/select-multiple/src/props.d.ts +0 -5
- package/dist/components/switch/src/LewSwitch.vue.d.ts +11 -0
- package/dist/components/switch/src/props.d.ts +3 -3
- package/dist/components/tag/src/LewTag.vue.d.ts +3 -3
- package/dist/components/tag/src/props.d.ts +1 -2
- package/dist/index.mjs +151 -107
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5653,7 +5653,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
5653
5653
|
const emit = __emit;
|
|
5654
5654
|
const cascaderValue = useModel(__props, "modelValue");
|
|
5655
5655
|
const lewCascaderRef = ref();
|
|
5656
|
-
const
|
|
5656
|
+
const lewPopoverRef = ref();
|
|
5657
5657
|
const state = reactive({
|
|
5658
5658
|
visible: false,
|
|
5659
5659
|
loading: false,
|
|
@@ -5797,10 +5797,10 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
5797
5797
|
}
|
|
5798
5798
|
};
|
|
5799
5799
|
const show = async () => {
|
|
5800
|
-
|
|
5800
|
+
lewPopoverRef.value.show();
|
|
5801
5801
|
};
|
|
5802
5802
|
const hide2 = () => {
|
|
5803
|
-
|
|
5803
|
+
lewPopoverRef.value.hide();
|
|
5804
5804
|
};
|
|
5805
5805
|
const clearHandle = () => {
|
|
5806
5806
|
cascaderValue.value = void 0;
|
|
@@ -5872,8 +5872,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
5872
5872
|
return (_ctx, _cache) => {
|
|
5873
5873
|
const _component_lew_checkbox = resolveComponent("lew-checkbox");
|
|
5874
5874
|
return openBlock(), createBlock(unref(_sfc_main$g), {
|
|
5875
|
-
ref_key: "
|
|
5876
|
-
ref:
|
|
5875
|
+
ref_key: "lewPopoverRef",
|
|
5876
|
+
ref: lewPopoverRef,
|
|
5877
5877
|
class: normalizeClass(["lew-cascader-view", unref(getCascaderViewClassName)]),
|
|
5878
5878
|
trigger: _ctx.trigger,
|
|
5879
5879
|
disabled: _ctx.disabled,
|
|
@@ -6043,7 +6043,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
6043
6043
|
};
|
|
6044
6044
|
}
|
|
6045
6045
|
});
|
|
6046
|
-
const LewCascader = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-
|
|
6046
|
+
const LewCascader = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-de05cec2"]]);
|
|
6047
6047
|
const treeModel = {
|
|
6048
6048
|
modelValue: {
|
|
6049
6049
|
type: [Array, String],
|
|
@@ -7804,7 +7804,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
7804
7804
|
};
|
|
7805
7805
|
}
|
|
7806
7806
|
});
|
|
7807
|
-
const LewTabs = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-
|
|
7807
|
+
const LewTabs = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-f236da6e"]]);
|
|
7808
7808
|
const breadcrumbProps = {
|
|
7809
7809
|
options: {
|
|
7810
7810
|
type: Array,
|
|
@@ -8579,7 +8579,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
8579
8579
|
};
|
|
8580
8580
|
}
|
|
8581
8581
|
});
|
|
8582
|
-
const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-
|
|
8582
|
+
const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-87a5f17b"]]);
|
|
8583
8583
|
const inputNumberModel = {
|
|
8584
8584
|
modelValue: {
|
|
8585
8585
|
type: [Number, void 0],
|
|
@@ -9263,6 +9263,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9263
9263
|
return openBlock(), createBlock(unref(_sfc_main$l), {
|
|
9264
9264
|
key: index2,
|
|
9265
9265
|
type: "light",
|
|
9266
|
+
size: _ctx.size,
|
|
9266
9267
|
closable: !_ctx.readonly,
|
|
9267
9268
|
onClose: ($event) => delTag(index2)
|
|
9268
9269
|
}, {
|
|
@@ -9270,7 +9271,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9270
9271
|
createTextVNode(toDisplayString(item), 1)
|
|
9271
9272
|
]),
|
|
9272
9273
|
_: 2
|
|
9273
|
-
}, 1032, ["closable", "onClose"]);
|
|
9274
|
+
}, 1032, ["size", "closable", "onClose"]);
|
|
9274
9275
|
}), 128))
|
|
9275
9276
|
]),
|
|
9276
9277
|
_: 1
|
|
@@ -9308,7 +9309,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9308
9309
|
};
|
|
9309
9310
|
}
|
|
9310
9311
|
});
|
|
9311
|
-
const LewInputTag = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
9312
|
+
const LewInputTag = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-e1cc86e4"]]);
|
|
9312
9313
|
const _hoisted_1$x = ["width", "height"];
|
|
9313
9314
|
const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
|
|
9314
9315
|
d: "M515.824463 1024h-7.648926A79.35761 79.35761 0 0 1 429.774043 945.598506V78.401494A79.35761 79.35761 0 0 1 508.175537 0h7.648926a79.35761 79.35761 0 0 1 79.35761 78.401494v867.197012a79.35761 79.35761 0 0 1-79.35761 78.401494zM61.669468 771.585434L57.845005 764.892624a77.445378 77.445378 0 0 1 28.683473-106.128852l764.892624-434.076564a80.313725 80.313725 0 0 1 108.997199 28.683474v6.69281a77.445378 77.445378 0 0 1-28.683474 106.128852l-764.892623 434.076564a80.313725 80.313725 0 0 1-108.997199-28.683474z m0-511.521942v-6.69281a80.313725 80.313725 0 0 1 108.997199-28.683474l764.892623 434.076564A77.445378 77.445378 0 0 1 965.19888 764.892624v6.69281a80.313725 80.313725 0 0 1-108.997199 28.683474l-764.892624-434.076564a77.445378 77.445378 0 0 1-28.683473-106.128852z",
|
|
@@ -9531,7 +9532,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9531
9532
|
};
|
|
9532
9533
|
}
|
|
9533
9534
|
});
|
|
9534
|
-
const LewGetLabelWidth = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
9535
|
+
const LewGetLabelWidth = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-5ffe2b67"]]);
|
|
9535
9536
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
9536
9537
|
__name: "LewFormItem",
|
|
9537
9538
|
props: /* @__PURE__ */ mergeModels(formItemProps, {
|
|
@@ -11490,7 +11491,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11490
11491
|
};
|
|
11491
11492
|
}
|
|
11492
11493
|
});
|
|
11493
|
-
const LewForm = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-
|
|
11494
|
+
const LewForm = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-3885e092"]]);
|
|
11494
11495
|
const checkboxModel = {
|
|
11495
11496
|
modelValue: {
|
|
11496
11497
|
type: Boolean,
|
|
@@ -11680,7 +11681,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11680
11681
|
};
|
|
11681
11682
|
}
|
|
11682
11683
|
});
|
|
11683
|
-
const LewCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
11684
|
+
const LewCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-33b70048"]]);
|
|
11684
11685
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
11685
11686
|
__name: "LewCheckboxGroup",
|
|
11686
11687
|
props: /* @__PURE__ */ mergeModels(checkboxGroupProps, {
|
|
@@ -11931,7 +11932,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11931
11932
|
};
|
|
11932
11933
|
}
|
|
11933
11934
|
});
|
|
11934
|
-
const LewRadio = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-
|
|
11935
|
+
const LewRadio = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7af3f5bd"]]);
|
|
11935
11936
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
11936
11937
|
__name: "LewRadioGroup",
|
|
11937
11938
|
props: /* @__PURE__ */ mergeModels(radioGroupProps, {
|
|
@@ -11987,7 +11988,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
11987
11988
|
};
|
|
11988
11989
|
}
|
|
11989
11990
|
});
|
|
11990
|
-
const LewRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
11991
|
+
const LewRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-75a7fd2e"]]);
|
|
11991
11992
|
const selectModel = {
|
|
11992
11993
|
modelValue: {
|
|
11993
11994
|
type: [String, Number, void 0],
|
|
@@ -12036,10 +12037,10 @@ const selectProps = {
|
|
|
12036
12037
|
default: (params) => {
|
|
12037
12038
|
const { options, keyword } = params;
|
|
12038
12039
|
if (options && keyword) {
|
|
12039
|
-
const
|
|
12040
|
+
const result = options.filter((e) => {
|
|
12040
12041
|
return keyword && e.label.indexOf(keyword) >= 0;
|
|
12041
12042
|
});
|
|
12042
|
-
return
|
|
12043
|
+
return result;
|
|
12043
12044
|
}
|
|
12044
12045
|
return [];
|
|
12045
12046
|
},
|
|
@@ -12065,11 +12066,6 @@ const selectProps = {
|
|
|
12065
12066
|
default: () => false,
|
|
12066
12067
|
description: "是否禁用"
|
|
12067
12068
|
},
|
|
12068
|
-
align: {
|
|
12069
|
-
type: String,
|
|
12070
|
-
default: "left",
|
|
12071
|
-
description: "对齐方式,可选值为 left、center、right"
|
|
12072
|
-
},
|
|
12073
12069
|
showCheckIcon: {
|
|
12074
12070
|
type: Boolean,
|
|
12075
12071
|
default: () => true,
|
|
@@ -12080,7 +12076,7 @@ const _hoisted_1$u = ["readonly", "placeholder"];
|
|
|
12080
12076
|
const _hoisted_2$l = { class: "lew-select-options-box" };
|
|
12081
12077
|
const _hoisted_3$g = {
|
|
12082
12078
|
key: 1,
|
|
12083
|
-
class: "
|
|
12079
|
+
class: "result-count"
|
|
12084
12080
|
};
|
|
12085
12081
|
const _hoisted_4$9 = ["onClick"];
|
|
12086
12082
|
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
@@ -12101,7 +12097,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12101
12097
|
const selectValue = useModel(__props, "modelValue");
|
|
12102
12098
|
const lewSelectRef = ref();
|
|
12103
12099
|
const inputRef = ref();
|
|
12104
|
-
const
|
|
12100
|
+
const lewPopoverRef = ref();
|
|
12105
12101
|
const state = reactive({
|
|
12106
12102
|
selectWidth: 0,
|
|
12107
12103
|
visible: false,
|
|
@@ -12117,10 +12113,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12117
12113
|
state.selectWidth = ((_a3 = lewSelectRef.value) == null ? void 0 : _a3.clientWidth) - 12;
|
|
12118
12114
|
};
|
|
12119
12115
|
const show = () => {
|
|
12120
|
-
|
|
12116
|
+
lewPopoverRef.value.show();
|
|
12121
12117
|
};
|
|
12122
12118
|
const hide2 = () => {
|
|
12123
|
-
|
|
12119
|
+
lewPopoverRef.value.hide();
|
|
12124
12120
|
};
|
|
12125
12121
|
const searchDebounce = useDebounceFn(async (e) => {
|
|
12126
12122
|
search(e);
|
|
@@ -12180,9 +12176,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12180
12176
|
};
|
|
12181
12177
|
findKeyword();
|
|
12182
12178
|
const getSelectClassName = computed(() => {
|
|
12183
|
-
let { clearable, size
|
|
12179
|
+
let { clearable, size } = props;
|
|
12184
12180
|
clearable = clearable ? !!selectValue.value : false;
|
|
12185
|
-
return object2class("lew-select", { clearable, size
|
|
12181
|
+
return object2class("lew-select", { clearable, size });
|
|
12186
12182
|
});
|
|
12187
12183
|
const getBodyClassName = computed(() => {
|
|
12188
12184
|
const { size, disabled } = props;
|
|
@@ -12201,10 +12197,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12201
12197
|
const getSelectItemClassName = (e) => {
|
|
12202
12198
|
const { disabled } = e;
|
|
12203
12199
|
const active = getChecked.value(e.value);
|
|
12204
|
-
const { align } = props;
|
|
12205
12200
|
return object2class("lew-select-item", {
|
|
12206
12201
|
disabled,
|
|
12207
|
-
align,
|
|
12208
12202
|
active
|
|
12209
12203
|
});
|
|
12210
12204
|
};
|
|
@@ -12252,8 +12246,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12252
12246
|
const _component_lew_empty = resolveComponent("lew-empty");
|
|
12253
12247
|
const _component_lew_text_trim = resolveComponent("lew-text-trim");
|
|
12254
12248
|
return openBlock(), createBlock(unref(_sfc_main$g), {
|
|
12255
|
-
ref_key: "
|
|
12256
|
-
ref:
|
|
12249
|
+
ref_key: "lewPopoverRef",
|
|
12250
|
+
ref: lewPopoverRef,
|
|
12257
12251
|
popoverBodyClassName: "lew-select-popover-body",
|
|
12258
12252
|
class: normalizeClass(["lew-select-view", unref(getSelectViewClassName)]),
|
|
12259
12253
|
trigger: _ctx.trigger,
|
|
@@ -12374,7 +12368,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12374
12368
|
};
|
|
12375
12369
|
}
|
|
12376
12370
|
});
|
|
12377
|
-
const LewSelect = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
12371
|
+
const LewSelect = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-a6fc5769"]]);
|
|
12378
12372
|
const selectMultipleModel = {
|
|
12379
12373
|
modelValue: {
|
|
12380
12374
|
type: Array || void 0,
|
|
@@ -12433,10 +12427,10 @@ const selectMultipleProps = {
|
|
|
12433
12427
|
default: (params) => {
|
|
12434
12428
|
const { options, keyword } = params;
|
|
12435
12429
|
if (options && keyword) {
|
|
12436
|
-
const
|
|
12430
|
+
const result = options.filter((e) => {
|
|
12437
12431
|
return keyword && e.label.indexOf(keyword) >= 0;
|
|
12438
12432
|
});
|
|
12439
|
-
return
|
|
12433
|
+
return result;
|
|
12440
12434
|
}
|
|
12441
12435
|
return [];
|
|
12442
12436
|
},
|
|
@@ -12462,11 +12456,6 @@ const selectMultipleProps = {
|
|
|
12462
12456
|
default: false,
|
|
12463
12457
|
description: "是否禁用"
|
|
12464
12458
|
},
|
|
12465
|
-
align: {
|
|
12466
|
-
type: String,
|
|
12467
|
-
default: "left",
|
|
12468
|
-
description: "对齐方式,可选值为 left、center、right"
|
|
12469
|
-
},
|
|
12470
12459
|
showCheckIcon: {
|
|
12471
12460
|
type: Boolean,
|
|
12472
12461
|
default: true,
|
|
@@ -12486,7 +12475,7 @@ const _hoisted_2$k = {
|
|
|
12486
12475
|
const _hoisted_3$f = { class: "lew-select-options-box" };
|
|
12487
12476
|
const _hoisted_4$8 = {
|
|
12488
12477
|
key: 1,
|
|
12489
|
-
class: "
|
|
12478
|
+
class: "result-count"
|
|
12490
12479
|
};
|
|
12491
12480
|
const _hoisted_5$6 = ["onClick"];
|
|
12492
12481
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
@@ -12506,8 +12495,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12506
12495
|
const emit = __emit;
|
|
12507
12496
|
const selectValue = useModel(__props, "modelValue");
|
|
12508
12497
|
const lewSelectRef = ref();
|
|
12509
|
-
const
|
|
12510
|
-
const
|
|
12498
|
+
const lewPopoverRef = ref();
|
|
12499
|
+
const lewPopoverValueRef = ref();
|
|
12511
12500
|
const searchInputRef = ref();
|
|
12512
12501
|
const state = reactive({
|
|
12513
12502
|
selectWidth: 0,
|
|
@@ -12526,10 +12515,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12526
12515
|
}
|
|
12527
12516
|
};
|
|
12528
12517
|
const show = () => {
|
|
12529
|
-
|
|
12518
|
+
lewPopoverRef.value && lewPopoverRef.value.show();
|
|
12530
12519
|
};
|
|
12531
12520
|
const hide2 = () => {
|
|
12532
|
-
|
|
12521
|
+
lewPopoverRef.value && lewPopoverRef.value.hide();
|
|
12533
12522
|
};
|
|
12534
12523
|
const searchDebounce = useDebounceFn(async (e) => {
|
|
12535
12524
|
search(e);
|
|
@@ -12555,7 +12544,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12555
12544
|
selectValue.value = [];
|
|
12556
12545
|
emit("clear");
|
|
12557
12546
|
setTimeout(() => {
|
|
12558
|
-
|
|
12547
|
+
lewPopoverRef.value && lewPopoverRef.value.refresh();
|
|
12559
12548
|
}, 100);
|
|
12560
12549
|
emit("change", selectValue.value);
|
|
12561
12550
|
};
|
|
@@ -12564,10 +12553,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12564
12553
|
selectValue.value && selectValue.value.splice(index2, 1);
|
|
12565
12554
|
emit("delete", item);
|
|
12566
12555
|
if (selectValue.value.length === 0) {
|
|
12567
|
-
|
|
12556
|
+
lewPopoverValueRef.value && lewPopoverValueRef.value.hide();
|
|
12568
12557
|
}
|
|
12569
12558
|
setTimeout(() => {
|
|
12570
|
-
|
|
12559
|
+
lewPopoverRef.value && lewPopoverRef.value.refresh();
|
|
12571
12560
|
}, 100);
|
|
12572
12561
|
emit("change", selectValue.value);
|
|
12573
12562
|
};
|
|
@@ -12585,7 +12574,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12585
12574
|
selectValue.value = _value;
|
|
12586
12575
|
emit("select", item);
|
|
12587
12576
|
setTimeout(() => {
|
|
12588
|
-
|
|
12577
|
+
lewPopoverRef.value && lewPopoverRef.value.refresh();
|
|
12589
12578
|
}, 100);
|
|
12590
12579
|
emit("change", selectValue.value);
|
|
12591
12580
|
};
|
|
@@ -12606,9 +12595,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12606
12595
|
return (props == null ? void 0 : props.defaultValue) || selectValue.value || [];
|
|
12607
12596
|
});
|
|
12608
12597
|
const getSelectClassName = computed(() => {
|
|
12609
|
-
let { clearable, size
|
|
12598
|
+
let { clearable, size } = props;
|
|
12610
12599
|
clearable = clearable ? !!selectValue.value : false;
|
|
12611
|
-
return object2class("lew-select", { clearable, size
|
|
12600
|
+
return object2class("lew-select", { clearable, size });
|
|
12612
12601
|
});
|
|
12613
12602
|
const getBodyClassName = computed(() => {
|
|
12614
12603
|
const { size, disabled } = props;
|
|
@@ -12622,10 +12611,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12622
12611
|
const getSelectItemClassName = (e) => {
|
|
12623
12612
|
const { disabled } = e;
|
|
12624
12613
|
const active = getChecked.value(e.value);
|
|
12625
|
-
const { align } = props;
|
|
12626
12614
|
return object2class("lew-select-item", {
|
|
12627
12615
|
disabled,
|
|
12628
|
-
align,
|
|
12629
12616
|
active
|
|
12630
12617
|
});
|
|
12631
12618
|
};
|
|
@@ -12664,8 +12651,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12664
12651
|
const _component_lew_checkbox = resolveComponent("lew-checkbox");
|
|
12665
12652
|
const _component_lew_text_trim = resolveComponent("lew-text-trim");
|
|
12666
12653
|
return openBlock(), createBlock(unref(_sfc_main$g), {
|
|
12667
|
-
ref_key: "
|
|
12668
|
-
ref:
|
|
12654
|
+
ref_key: "lewPopoverRef",
|
|
12655
|
+
ref: lewPopoverRef,
|
|
12669
12656
|
popoverBodyClassName: "lew-select-multiple-popover-body",
|
|
12670
12657
|
class: normalizeClass(["lew-select-view", unref(getSelectViewClassName)]),
|
|
12671
12658
|
trigger: _ctx.trigger,
|
|
@@ -12738,8 +12725,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12738
12725
|
_: 1
|
|
12739
12726
|
})) : (openBlock(), createBlock(unref(_sfc_main$g), {
|
|
12740
12727
|
key: 1,
|
|
12741
|
-
ref_key: "
|
|
12742
|
-
ref:
|
|
12728
|
+
ref_key: "lewPopoverValueRef",
|
|
12729
|
+
ref: lewPopoverValueRef,
|
|
12743
12730
|
trigger: "hover",
|
|
12744
12731
|
popoverBodyClassName: "lew-select-multiple-popover-tag",
|
|
12745
12732
|
offset: [-1, 10],
|
|
@@ -12866,7 +12853,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12866
12853
|
};
|
|
12867
12854
|
}
|
|
12868
12855
|
});
|
|
12869
|
-
const LewSelectMultiple = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
12856
|
+
const LewSelectMultiple = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-15440b6b"]]);
|
|
12870
12857
|
const switchModel = {
|
|
12871
12858
|
modelValue: {
|
|
12872
12859
|
type: Boolean,
|
|
@@ -12875,10 +12862,10 @@ const switchModel = {
|
|
|
12875
12862
|
}
|
|
12876
12863
|
};
|
|
12877
12864
|
const switchProps = {
|
|
12878
|
-
|
|
12879
|
-
type:
|
|
12880
|
-
default:
|
|
12881
|
-
description: "
|
|
12865
|
+
size: {
|
|
12866
|
+
type: String,
|
|
12867
|
+
default: "medium",
|
|
12868
|
+
description: "尺寸,可选值为 small、medium、large"
|
|
12882
12869
|
},
|
|
12883
12870
|
round: {
|
|
12884
12871
|
type: [Boolean, Number],
|
|
@@ -12906,7 +12893,7 @@ const switchProps = {
|
|
|
12906
12893
|
description: "加载状态"
|
|
12907
12894
|
}
|
|
12908
12895
|
};
|
|
12909
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
12896
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-b57530d9"), n = n(), popScopeId(), n);
|
|
12910
12897
|
const _hoisted_1$s = ["disabled"];
|
|
12911
12898
|
const _hoisted_2$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "lew-switch-dot" }, null, -1));
|
|
12912
12899
|
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
@@ -12952,9 +12939,55 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
12952
12939
|
readonly: readonly2
|
|
12953
12940
|
});
|
|
12954
12941
|
});
|
|
12942
|
+
const getSwitchStyle = computed(() => {
|
|
12943
|
+
const { size } = props;
|
|
12944
|
+
switch (size) {
|
|
12945
|
+
case "small":
|
|
12946
|
+
return {
|
|
12947
|
+
"--lew-switch-view-width": "36px",
|
|
12948
|
+
"--lew-switch-view-height": "22px",
|
|
12949
|
+
"--lew-switch-dot-width": "14px",
|
|
12950
|
+
"--lew-switch-dot-height": "14px",
|
|
12951
|
+
"--lew-switch-dot-width-active": "16px",
|
|
12952
|
+
"--lew-switch-dot-transform": "translate(4px, 4px)",
|
|
12953
|
+
"--lew-switch-dot-transform-active": "translate(16px, 4px)"
|
|
12954
|
+
};
|
|
12955
|
+
case "medium":
|
|
12956
|
+
return {
|
|
12957
|
+
"--lew-switch-view-width": "38px",
|
|
12958
|
+
"--lew-switch-view-height": "24px",
|
|
12959
|
+
"--lew-switch-dot-width": "16px",
|
|
12960
|
+
"--lew-switch-dot-height": "16px",
|
|
12961
|
+
"--lew-switch-dot-width-active": "18px",
|
|
12962
|
+
"--lew-switch-dot-transform": "translate(4px, 4px)",
|
|
12963
|
+
"--lew-switch-dot-transform-active": "translate(16px, 4px)"
|
|
12964
|
+
};
|
|
12965
|
+
case "large":
|
|
12966
|
+
return {
|
|
12967
|
+
"--lew-switch-view-width": "40px",
|
|
12968
|
+
"--lew-switch-view-height": "26px",
|
|
12969
|
+
"--lew-switch-dot-width": "18px",
|
|
12970
|
+
"--lew-switch-dot-height": "18px",
|
|
12971
|
+
"--lew-switch-dot-width-active": "20px",
|
|
12972
|
+
"--lew-switch-dot-transform": "translate(4px, 4px)",
|
|
12973
|
+
"--lew-switch-dot-transform-active": "translate(16px, 4px)"
|
|
12974
|
+
};
|
|
12975
|
+
default:
|
|
12976
|
+
return {
|
|
12977
|
+
"--lew-switch-view-width": "38px",
|
|
12978
|
+
"--lew-switch-view-height": "24px",
|
|
12979
|
+
"--lew-switch-dot-width": "16px",
|
|
12980
|
+
"--lew-switch-dot-height": "16px",
|
|
12981
|
+
"--lew-switch-dot-width-active": "20px",
|
|
12982
|
+
"--lew-switch-dot-transform": "translate(4px, 4px)",
|
|
12983
|
+
"--lew-switch-dot-transform-active": "translate(14px, 4px)"
|
|
12984
|
+
};
|
|
12985
|
+
}
|
|
12986
|
+
});
|
|
12955
12987
|
return (_ctx, _cache) => {
|
|
12956
12988
|
return openBlock(), createElementBlock("div", {
|
|
12957
12989
|
class: normalizeClass(["lew-switch-view", unref(getSwitchClassName)]),
|
|
12990
|
+
style: normalizeStyle(unref(getSwitchStyle)),
|
|
12958
12991
|
onClick: handleClick
|
|
12959
12992
|
}, [
|
|
12960
12993
|
withDirectives(createElementVNode("input", {
|
|
@@ -12966,11 +12999,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
12966
12999
|
[vModelCheckbox, modelValue.value]
|
|
12967
13000
|
]),
|
|
12968
13001
|
_hoisted_2$j
|
|
12969
|
-
],
|
|
13002
|
+
], 6);
|
|
12970
13003
|
};
|
|
12971
13004
|
}
|
|
12972
13005
|
});
|
|
12973
|
-
const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
13006
|
+
const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-b57530d9"]]);
|
|
12974
13007
|
const getHeadDate = ["一", "二", "三", "四", "五", "六", "日"];
|
|
12975
13008
|
const getMonthDate = (year, month) => {
|
|
12976
13009
|
const ret = [];
|
|
@@ -13441,14 +13474,16 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13441
13474
|
createElementVNode("div", _hoisted_2$i, [
|
|
13442
13475
|
createVNode(unref(LewButton), {
|
|
13443
13476
|
type: "light",
|
|
13477
|
+
color: "gray",
|
|
13478
|
+
size: "small",
|
|
13444
13479
|
icon: "chevrons-left",
|
|
13445
|
-
round: "",
|
|
13446
13480
|
onClick: prveYear
|
|
13447
13481
|
}),
|
|
13448
13482
|
createVNode(unref(LewButton), {
|
|
13449
13483
|
type: "light",
|
|
13484
|
+
color: "gray",
|
|
13485
|
+
size: "small",
|
|
13450
13486
|
icon: "chevron-left",
|
|
13451
|
-
round: "",
|
|
13452
13487
|
onClick: prveMonth
|
|
13453
13488
|
})
|
|
13454
13489
|
]),
|
|
@@ -13456,14 +13491,16 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13456
13491
|
createElementVNode("div", _hoisted_4$7, [
|
|
13457
13492
|
createVNode(unref(LewButton), {
|
|
13458
13493
|
type: "light",
|
|
13494
|
+
color: "gray",
|
|
13495
|
+
size: "small",
|
|
13459
13496
|
icon: "chevron-right",
|
|
13460
|
-
round: "",
|
|
13461
13497
|
onClick: nextMonth
|
|
13462
13498
|
}),
|
|
13463
13499
|
createVNode(unref(LewButton), {
|
|
13464
13500
|
type: "light",
|
|
13501
|
+
color: "gray",
|
|
13502
|
+
size: "small",
|
|
13465
13503
|
icon: "chevrons-right",
|
|
13466
|
-
round: "",
|
|
13467
13504
|
onClick: nextYear
|
|
13468
13505
|
})
|
|
13469
13506
|
])
|
|
@@ -13496,7 +13533,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13496
13533
|
};
|
|
13497
13534
|
}
|
|
13498
13535
|
});
|
|
13499
|
-
const LewDate = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
13536
|
+
const LewDate = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-24ac35d8"]]);
|
|
13500
13537
|
const _hoisted_1$q = { class: "lew-date-picker-input" };
|
|
13501
13538
|
const _hoisted_2$h = ["onClick"];
|
|
13502
13539
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
@@ -14028,13 +14065,15 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
14028
14065
|
createElementVNode("div", _hoisted_3$d, [
|
|
14029
14066
|
createVNode(unref(LewButton), {
|
|
14030
14067
|
type: "light",
|
|
14031
|
-
|
|
14068
|
+
color: "gray",
|
|
14069
|
+
size: "small",
|
|
14032
14070
|
icon: "chevrons-left",
|
|
14033
14071
|
onClick: prveYear1
|
|
14034
14072
|
}),
|
|
14035
14073
|
createVNode(unref(LewButton), {
|
|
14036
14074
|
type: "light",
|
|
14037
|
-
|
|
14075
|
+
color: "gray",
|
|
14076
|
+
size: "small",
|
|
14038
14077
|
icon: "chevron-left",
|
|
14039
14078
|
onClick: prveMonth1
|
|
14040
14079
|
})
|
|
@@ -14043,13 +14082,15 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
14043
14082
|
createElementVNode("div", _hoisted_5$4, [
|
|
14044
14083
|
createVNode(unref(LewButton), {
|
|
14045
14084
|
type: "light",
|
|
14046
|
-
|
|
14085
|
+
color: "gray",
|
|
14086
|
+
size: "small",
|
|
14047
14087
|
icon: "chevron-right",
|
|
14048
14088
|
onClick: nextMonth1
|
|
14049
14089
|
}),
|
|
14050
14090
|
createVNode(unref(LewButton), {
|
|
14051
14091
|
type: "light",
|
|
14052
|
-
|
|
14092
|
+
color: "gray",
|
|
14093
|
+
size: "small",
|
|
14053
14094
|
icon: "chevrons-right",
|
|
14054
14095
|
onClick: nextYear1
|
|
14055
14096
|
})
|
|
@@ -14095,16 +14136,16 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
14095
14136
|
createElementVNode("div", _hoisted_11$1, [
|
|
14096
14137
|
createVNode(unref(LewButton), {
|
|
14097
14138
|
type: "light",
|
|
14098
|
-
|
|
14099
|
-
icon: "chevrons-left",
|
|
14139
|
+
color: "gray",
|
|
14100
14140
|
size: "small",
|
|
14141
|
+
icon: "chevrons-left",
|
|
14101
14142
|
onClick: prveYear2
|
|
14102
14143
|
}),
|
|
14103
14144
|
createVNode(unref(LewButton), {
|
|
14104
14145
|
type: "light",
|
|
14105
|
-
|
|
14106
|
-
icon: "chevron-left",
|
|
14146
|
+
color: "gray",
|
|
14107
14147
|
size: "small",
|
|
14148
|
+
icon: "chevron-left",
|
|
14108
14149
|
onClick: prveMonth2
|
|
14109
14150
|
})
|
|
14110
14151
|
]),
|
|
@@ -14112,16 +14153,16 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
14112
14153
|
createElementVNode("div", _hoisted_13, [
|
|
14113
14154
|
createVNode(unref(LewButton), {
|
|
14114
14155
|
type: "light",
|
|
14115
|
-
|
|
14116
|
-
icon: "chevron-right",
|
|
14156
|
+
color: "gray",
|
|
14117
14157
|
size: "small",
|
|
14158
|
+
icon: "chevron-right",
|
|
14118
14159
|
onClick: nextMonth2
|
|
14119
14160
|
}),
|
|
14120
14161
|
createVNode(unref(LewButton), {
|
|
14121
14162
|
type: "light",
|
|
14122
|
-
|
|
14123
|
-
icon: "chevrons-right",
|
|
14163
|
+
color: "gray",
|
|
14124
14164
|
size: "small",
|
|
14165
|
+
icon: "chevrons-right",
|
|
14125
14166
|
onClick: nextYear2
|
|
14126
14167
|
})
|
|
14127
14168
|
])
|
|
@@ -14160,7 +14201,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
14160
14201
|
};
|
|
14161
14202
|
}
|
|
14162
14203
|
});
|
|
14163
|
-
const LewDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
14204
|
+
const LewDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-a098a908"]]);
|
|
14164
14205
|
const _hoisted_1$o = { class: "lew-date-picker-input" };
|
|
14165
14206
|
const _hoisted_2$f = {
|
|
14166
14207
|
key: 0,
|
|
@@ -14867,7 +14908,7 @@ const paginationModel = {
|
|
|
14867
14908
|
const paginationProps = {
|
|
14868
14909
|
size: {
|
|
14869
14910
|
type: String,
|
|
14870
|
-
default: "
|
|
14911
|
+
default: "medium",
|
|
14871
14912
|
description: "尺寸,可选值为 small、medium、large"
|
|
14872
14913
|
},
|
|
14873
14914
|
visiblePagesCount: {
|
|
@@ -15075,7 +15116,6 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15075
15116
|
modelValue: unref(state).pageSize,
|
|
15076
15117
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(state).pageSize = $event),
|
|
15077
15118
|
style: { "width": "100px" },
|
|
15078
|
-
align: "center",
|
|
15079
15119
|
size: _ctx.size,
|
|
15080
15120
|
showCheckIcon: false,
|
|
15081
15121
|
options: pageSizeOptions.value,
|
|
@@ -15269,7 +15309,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15269
15309
|
};
|
|
15270
15310
|
}
|
|
15271
15311
|
});
|
|
15272
|
-
const LewAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
15312
|
+
const LewAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-c8c5eca1"]]);
|
|
15273
15313
|
const titleProps = {
|
|
15274
15314
|
bold: {
|
|
15275
15315
|
type: Number,
|
|
@@ -15346,7 +15386,7 @@ const buttonProps = {
|
|
|
15346
15386
|
},
|
|
15347
15387
|
iconSize: {
|
|
15348
15388
|
type: Number,
|
|
15349
|
-
default:
|
|
15389
|
+
default: 16,
|
|
15350
15390
|
description: "图标大小"
|
|
15351
15391
|
},
|
|
15352
15392
|
loading: {
|
|
@@ -15416,6 +15456,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
15416
15456
|
const getIconSize = computed(() => {
|
|
15417
15457
|
const { size, iconSize } = props;
|
|
15418
15458
|
switch (size) {
|
|
15459
|
+
case "mini":
|
|
15460
|
+
return iconSize ? iconSize : 12;
|
|
15419
15461
|
case "small":
|
|
15420
15462
|
return iconSize ? iconSize : 14;
|
|
15421
15463
|
case "medium":
|
|
@@ -15441,7 +15483,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
15441
15483
|
break;
|
|
15442
15484
|
case "ghost":
|
|
15443
15485
|
styleObj.backgroundColor = "transparent";
|
|
15444
|
-
styleObj.border = `
|
|
15486
|
+
styleObj.border = `var(--lew-form-border-width) solid var(--lew-color-${_color})`;
|
|
15445
15487
|
styleObj.color = `var(--lew-color-${_color}-dark)`;
|
|
15446
15488
|
styleObj.boxShadow = "none";
|
|
15447
15489
|
break;
|
|
@@ -15506,7 +15548,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
15506
15548
|
};
|
|
15507
15549
|
}
|
|
15508
15550
|
});
|
|
15509
|
-
const LewButton = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
15551
|
+
const LewButton = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-7ab31f7b"]]);
|
|
15510
15552
|
const badgeProps = {
|
|
15511
15553
|
value: {
|
|
15512
15554
|
type: String,
|
|
@@ -18717,9 +18759,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18717
18759
|
}, {
|
|
18718
18760
|
default: withCtx(() => [
|
|
18719
18761
|
!_ctx.hideCancelButton ? (openBlock(), createBlock(unref(LewButton), mergeProps({ key: 0 }, {
|
|
18720
|
-
type: "
|
|
18762
|
+
type: "light",
|
|
18763
|
+
color: "gray",
|
|
18721
18764
|
text: "取消",
|
|
18722
|
-
color: "normal",
|
|
18723
18765
|
..._ctx.cancelProps
|
|
18724
18766
|
}, { onClick: cancel }), null, 16)) : createCommentVNode("", true),
|
|
18725
18767
|
!_ctx.hideOkButton ? (openBlock(), createBlock(unref(LewButton), mergeProps({ key: 1 }, {
|
|
@@ -18740,7 +18782,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18740
18782
|
};
|
|
18741
18783
|
}
|
|
18742
18784
|
});
|
|
18743
|
-
const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
18785
|
+
const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-e032dd36"]]);
|
|
18744
18786
|
const popokProps = {
|
|
18745
18787
|
type: {
|
|
18746
18788
|
type: String,
|
|
@@ -18860,10 +18902,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18860
18902
|
_ctx.content ? (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString(_ctx.content), 1)) : createCommentVNode("", true),
|
|
18861
18903
|
createElementVNode("div", _hoisted_6$1, [
|
|
18862
18904
|
createVNode(unref(LewButton), mergeProps({
|
|
18863
|
-
type: "
|
|
18905
|
+
type: "light",
|
|
18864
18906
|
text: "取消",
|
|
18865
18907
|
round: true,
|
|
18866
|
-
color: "
|
|
18908
|
+
color: "gray",
|
|
18867
18909
|
size: "small",
|
|
18868
18910
|
..._ctx.cancelProps
|
|
18869
18911
|
}, { onClick: cancel }), null, 16),
|
|
@@ -18883,7 +18925,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18883
18925
|
};
|
|
18884
18926
|
}
|
|
18885
18927
|
});
|
|
18886
|
-
const LewPopok = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
18928
|
+
const LewPopok = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-ea0d3ad0"]]);
|
|
18887
18929
|
const popoverProps = {
|
|
18888
18930
|
trigger: {
|
|
18889
18931
|
type: String,
|
|
@@ -19804,7 +19846,7 @@ const uploadProps = {
|
|
|
19804
19846
|
description: "上传文件的处理方法"
|
|
19805
19847
|
}
|
|
19806
19848
|
};
|
|
19807
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
19849
|
+
const _withScopeId = (n) => (pushScopeId("data-v-6c36f80c"), n = n(), popScopeId(), n);
|
|
19808
19850
|
const _hoisted_1$6 = ["multiple", "accept"];
|
|
19809
19851
|
const _hoisted_2$4 = ["src"];
|
|
19810
19852
|
const _hoisted_3$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "lew-upload-progress-bar" }, null, -1));
|
|
@@ -19819,12 +19861,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
19819
19861
|
setup(__props, { emit: __emit }) {
|
|
19820
19862
|
const { isSupported } = useClipboardItems({ read: true });
|
|
19821
19863
|
const tipFontSizeMap = {
|
|
19822
|
-
small:
|
|
19864
|
+
small: 14,
|
|
19823
19865
|
medium: 14,
|
|
19824
19866
|
large: 16
|
|
19825
19867
|
};
|
|
19826
19868
|
const fileIconSizeMap = {
|
|
19827
|
-
small:
|
|
19869
|
+
small: 30,
|
|
19828
19870
|
medium: 36,
|
|
19829
19871
|
large: 44
|
|
19830
19872
|
};
|
|
@@ -19834,22 +19876,22 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
19834
19876
|
large: 12
|
|
19835
19877
|
};
|
|
19836
19878
|
const maxSizeFontSizeMap = {
|
|
19837
|
-
small:
|
|
19879
|
+
small: 12,
|
|
19838
19880
|
medium: 12,
|
|
19839
19881
|
large: 14
|
|
19840
19882
|
};
|
|
19841
19883
|
const footerFontSizeMap = {
|
|
19842
|
-
small:
|
|
19884
|
+
small: 11,
|
|
19843
19885
|
medium: 12,
|
|
19844
19886
|
large: 14
|
|
19845
19887
|
};
|
|
19846
19888
|
const fileNameFontSizeMap = {
|
|
19847
|
-
small:
|
|
19889
|
+
small: 13,
|
|
19848
19890
|
medium: 14,
|
|
19849
19891
|
large: 16
|
|
19850
19892
|
};
|
|
19851
19893
|
const uploadIconFontSizeMap = {
|
|
19852
|
-
small:
|
|
19894
|
+
small: 32,
|
|
19853
19895
|
medium: 35,
|
|
19854
19896
|
large: 45
|
|
19855
19897
|
};
|
|
@@ -20382,7 +20424,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
20382
20424
|
};
|
|
20383
20425
|
}
|
|
20384
20426
|
});
|
|
20385
|
-
const LewUpload = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
20427
|
+
const LewUpload = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-6c36f80c"]]);
|
|
20386
20428
|
const collapseModel = {
|
|
20387
20429
|
modelValue: {
|
|
20388
20430
|
type: [Array, String],
|
|
@@ -20451,7 +20493,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
20451
20493
|
};
|
|
20452
20494
|
}
|
|
20453
20495
|
});
|
|
20454
|
-
const LewCollapse = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
20496
|
+
const LewCollapse = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-0391d5bb"]]);
|
|
20455
20497
|
const _sfc_main$7 = {
|
|
20456
20498
|
props: {
|
|
20457
20499
|
name: {
|
|
@@ -20753,7 +20795,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
20753
20795
|
};
|
|
20754
20796
|
}
|
|
20755
20797
|
});
|
|
20756
|
-
const LewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
20798
|
+
const LewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-91cf0077"]]);
|
|
20757
20799
|
const sliderProps = {};
|
|
20758
20800
|
const _hoisted_1$4 = { class: "lew-flex" };
|
|
20759
20801
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
@@ -21361,6 +21403,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
21361
21403
|
_ctx.cancelText ? (openBlock(), createBlock(unref(LewButton), {
|
|
21362
21404
|
key: 0,
|
|
21363
21405
|
text: _ctx.cancelText,
|
|
21406
|
+
size: "small",
|
|
21364
21407
|
color: "gray",
|
|
21365
21408
|
type: "light",
|
|
21366
21409
|
loading: unref(cancelLoading),
|
|
@@ -21369,6 +21412,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
21369
21412
|
_ctx.okText ? (openBlock(), createBlock(unref(LewButton), {
|
|
21370
21413
|
key: 1,
|
|
21371
21414
|
text: _ctx.okText,
|
|
21415
|
+
size: "small",
|
|
21372
21416
|
type: "fill",
|
|
21373
21417
|
color: _ctx.type,
|
|
21374
21418
|
loading: unref(okLoading),
|
|
@@ -21436,7 +21480,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
21436
21480
|
};
|
|
21437
21481
|
}
|
|
21438
21482
|
});
|
|
21439
|
-
const _LewDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
21483
|
+
const _LewDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-2cbef663"]]);
|
|
21440
21484
|
const { x, y } = useMouse();
|
|
21441
21485
|
const warning$1 = (options) => {
|
|
21442
21486
|
dialog("warning", options);
|
|
@@ -21948,7 +21992,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21948
21992
|
};
|
|
21949
21993
|
}
|
|
21950
21994
|
});
|
|
21951
|
-
const LewContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
21995
|
+
const LewContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-50b93f72"]]);
|
|
21952
21996
|
const directives = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21953
21997
|
__proto__: null,
|
|
21954
21998
|
LewBacktop: index$1,
|