lew-ui 2.7.70 → 2.7.71
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/dist/components/feedback/popok/src/LewPopok.vue.d.ts +20 -10
- package/dist/components/general/avatar/index.d.ts +6 -2
- package/dist/components/general/button/index.d.ts +7 -2
- package/dist/components/general/button/src/LewButton.vue.d.ts +8 -8
- package/dist/components/general/button/src/emits.d.ts +10 -0
- package/dist/components/general/flex/src/LewFlex.vue.d.ts +15 -16
- package/dist/components/general/image/index.d.ts +6 -2
- package/dist/components/general/tag/src/LewTag.vue.d.ts +5 -6
- package/dist/index.css +1 -1
- package/dist/index.js +500 -423
- package/dist/index.umd.cjs +1 -47
- package/dist/locals/de.d.ts +25 -0
- package/dist/locals/en.d.ts +32 -7
- package/dist/locals/es.d.ts +25 -0
- package/dist/locals/fr.d.ts +25 -0
- package/dist/locals/it.d.ts +25 -0
- package/dist/locals/ja.d.ts +25 -0
- package/dist/locals/ko.d.ts +25 -0
- package/dist/locals/pt.d.ts +25 -0
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +10 -5
- package/package.json +6 -4
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, defineComponent, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, unref, createApp, mergeModels, useModel, provide, watch, toRaw, createElementBlock, renderSlot, ref, Transition, withCtx, inject, createVNode, Fragment, createCommentVNode, createElementVNode, renderList, createTextVNode, toDisplayString as toDisplayString$1, isVNode as isVNode$1, mergeProps, getCurrentInstance, resolveDirective, withDirectives, onMounted, nextTick, createSlots, reactive, getCurrentScope, onScopeDispose, shallowRef, shallowReadonly, toValue, isRef, readonly, resolveComponent, onUnmounted, withModifiers, normalizeProps, guardReactiveProps, vShow, markRaw, Teleport, onActivated, onDeactivated, TransitionGroup, onBeforeUnmount, shallowReactive, onBeforeMount, vModelText, useCssVars, vModelDynamic, vModelCheckbox, watchEffect, render as render$1, effectScope, Text } from "vue";
|
|
1
|
+
import { h, defineComponent, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, unref, createApp, mergeModels, useModel, provide, watch, toRaw, createElementBlock, renderSlot, ref, Transition, withCtx, inject, createVNode, Fragment, createCommentVNode, createElementVNode, renderList, createTextVNode, toDisplayString as toDisplayString$1, isVNode as isVNode$1, mergeProps, getCurrentInstance, resolveDirective, withDirectives, onMounted, nextTick, createSlots, reactive, getCurrentScope, onScopeDispose, shallowRef, shallowReadonly, toValue, isRef, readonly, resolveComponent, onUnmounted, withModifiers, normalizeProps, guardReactiveProps, vShow, markRaw, Teleport, onActivated, onDeactivated, TransitionGroup, onBeforeUnmount, shallowReactive, onBeforeMount, vModelText, useCssVars, vModelDynamic, vModelCheckbox, watchEffect, useSlots, render as render$1, effectScope, Text } from "vue";
|
|
2
2
|
const collapseItemEmits = {
|
|
3
3
|
change: (expanded, key) => ({ expanded, key })
|
|
4
4
|
};
|
|
@@ -5138,6 +5138,7 @@ function any2px(value) {
|
|
|
5138
5138
|
const autoRegex = /^auto$/i;
|
|
5139
5139
|
const calcRegex = /^calc\((.+)\)$/;
|
|
5140
5140
|
const percentRegex = /^-?\d+(\.\d+)?%$/;
|
|
5141
|
+
const cssUnitRegex = /^-?\d+(\.\d+)?(px|em|rem|vh|vw|vmin|vmax|ch|ex|cm|mm|in|pt|pc)$/i;
|
|
5141
5142
|
const pixelRegex = /^-?\d+(\.\d+)?(px)?$/;
|
|
5142
5143
|
const numericRegex = /^-?\d+(\.\d+)?$/;
|
|
5143
5144
|
const _value = String(value);
|
|
@@ -5156,6 +5157,9 @@ function any2px(value) {
|
|
|
5156
5157
|
if (calcRegex.test(_value)) {
|
|
5157
5158
|
return _value;
|
|
5158
5159
|
}
|
|
5160
|
+
if (cssUnitRegex.test(_value)) {
|
|
5161
|
+
return _value;
|
|
5162
|
+
}
|
|
5159
5163
|
if (pixelRegex.test(_value)) {
|
|
5160
5164
|
return `${_value}`;
|
|
5161
5165
|
}
|
|
@@ -8459,7 +8463,7 @@ const SortIcon = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-
|
|
|
8459
8463
|
const _hoisted_1$P = { class: "lew-table-header" };
|
|
8460
8464
|
const _hoisted_2$y = { class: "lew-table-tr" };
|
|
8461
8465
|
const _hoisted_3$r = { class: "lew-table-main" };
|
|
8462
|
-
const _hoisted_4$
|
|
8466
|
+
const _hoisted_4$i = { class: "lew-table-tr" };
|
|
8463
8467
|
const _hoisted_5$f = { class: "lew-table-tr" };
|
|
8464
8468
|
const _hoisted_6$b = {
|
|
8465
8469
|
key: 0,
|
|
@@ -9437,7 +9441,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
9437
9441
|
])
|
|
9438
9442
|
], 512)) : createCommentVNode("", true),
|
|
9439
9443
|
createElementVNode("div", _hoisted_3$r, [
|
|
9440
|
-
createElementVNode("div", _hoisted_4$
|
|
9444
|
+
createElementVNode("div", _hoisted_4$i, [
|
|
9441
9445
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(nonFixedHeaderColumns), (column) => {
|
|
9442
9446
|
return openBlock(), createBlock(readerHeaderTd, {
|
|
9443
9447
|
key: column.field,
|
|
@@ -10797,7 +10801,7 @@ const _hoisted_3$q = {
|
|
|
10797
10801
|
key: 1,
|
|
10798
10802
|
class: "lew-alert-title"
|
|
10799
10803
|
};
|
|
10800
|
-
const _hoisted_4$
|
|
10804
|
+
const _hoisted_4$h = {
|
|
10801
10805
|
key: 2,
|
|
10802
10806
|
class: "lew-alert-content"
|
|
10803
10807
|
};
|
|
@@ -10836,7 +10840,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
10836
10840
|
_ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
|
|
10837
10841
|
renderSlot(_ctx.$slots, "title", {}, void 0, true)
|
|
10838
10842
|
])) : props.title ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString$1(props.title), 1)) : createCommentVNode("", true),
|
|
10839
|
-
_ctx.$slots.content ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
10843
|
+
_ctx.$slots.content ? (openBlock(), createElementBlock("div", _hoisted_4$h, [
|
|
10840
10844
|
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
10841
10845
|
])) : props.content ? (openBlock(), createElementBlock("div", _hoisted_5$e, toDisplayString$1(props.content), 1)) : createCommentVNode("", true),
|
|
10842
10846
|
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
@@ -10970,7 +10974,7 @@ const _hoisted_1$L = {
|
|
|
10970
10974
|
};
|
|
10971
10975
|
const _hoisted_2$w = { class: "lew-drawer-title" };
|
|
10972
10976
|
const _hoisted_3$p = { class: "lew-drawer-body-slot" };
|
|
10973
|
-
const _hoisted_4$
|
|
10977
|
+
const _hoisted_4$g = {
|
|
10974
10978
|
key: 2,
|
|
10975
10979
|
class: "lew-drawer-footer-slot"
|
|
10976
10980
|
};
|
|
@@ -10989,9 +10993,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
10989
10993
|
const visible = useModel(__props, "visible");
|
|
10990
10994
|
const drawerBodyRef = ref(null);
|
|
10991
10995
|
const drawerId = `lew-drawer-${getUniqueId()}`;
|
|
10992
|
-
const recomputeTrigger = ref(0);
|
|
10993
10996
|
const isTopDrawer = computed(() => {
|
|
10994
|
-
void recomputeTrigger.value;
|
|
10995
10997
|
if (!visible.value) {
|
|
10996
10998
|
return false;
|
|
10997
10999
|
}
|
|
@@ -11014,56 +11016,13 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11014
11016
|
});
|
|
11015
11017
|
return openDrawers.length > 0 && openDrawers[openDrawers.length - 1]?.id === drawerId;
|
|
11016
11018
|
});
|
|
11017
|
-
|
|
11018
|
-
recomputeTrigger.value++;
|
|
11019
|
-
}
|
|
11020
|
-
watch(
|
|
11021
|
-
drawerBodyRef,
|
|
11022
|
-
async (newVal) => {
|
|
11023
|
-
if (newVal && visible.value) {
|
|
11024
|
-
await nextTick();
|
|
11025
|
-
forceRecomputeTopDrawer();
|
|
11026
|
-
}
|
|
11027
|
-
},
|
|
11028
|
-
{ immediate: true }
|
|
11029
|
-
);
|
|
11030
|
-
watch(visible, async (newVal) => {
|
|
11019
|
+
watch(visible, async () => {
|
|
11031
11020
|
await nextTick();
|
|
11032
|
-
forceRecomputeTopDrawer();
|
|
11033
|
-
if (newVal) {
|
|
11034
|
-
startGlobalCheck();
|
|
11035
|
-
} else {
|
|
11036
|
-
stopGlobalCheck();
|
|
11037
|
-
}
|
|
11038
|
-
});
|
|
11039
|
-
let globalCheckTimer = null;
|
|
11040
|
-
function startGlobalCheck() {
|
|
11041
|
-
if (globalCheckTimer) {
|
|
11042
|
-
clearInterval(globalCheckTimer);
|
|
11043
|
-
}
|
|
11044
|
-
globalCheckTimer = setInterval(() => {
|
|
11045
|
-
if (visible.value) {
|
|
11046
|
-
forceRecomputeTopDrawer();
|
|
11047
|
-
}
|
|
11048
|
-
}, 100);
|
|
11049
|
-
}
|
|
11050
|
-
function stopGlobalCheck() {
|
|
11051
|
-
if (globalCheckTimer) {
|
|
11052
|
-
clearInterval(globalCheckTimer);
|
|
11053
|
-
globalCheckTimer = null;
|
|
11054
|
-
}
|
|
11055
|
-
}
|
|
11056
|
-
onMounted(() => {
|
|
11057
|
-
if (visible.value) {
|
|
11058
|
-
startGlobalCheck();
|
|
11059
|
-
}
|
|
11060
|
-
});
|
|
11061
|
-
onUnmounted(() => {
|
|
11062
|
-
stopGlobalCheck();
|
|
11063
11021
|
});
|
|
11064
11022
|
onClickOutside(drawerBodyRef, (e) => {
|
|
11065
11023
|
if (visible.value && props.closeOnClickOverlay) {
|
|
11066
|
-
const
|
|
11024
|
+
const target = e?.target;
|
|
11025
|
+
const parentElement = target?.parentElement;
|
|
11067
11026
|
if (parentElement?.id === drawerId) {
|
|
11068
11027
|
visible.value = false;
|
|
11069
11028
|
}
|
|
@@ -11080,13 +11039,11 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11080
11039
|
function getStyle(position, width, height) {
|
|
11081
11040
|
switch (position) {
|
|
11082
11041
|
case "left":
|
|
11083
|
-
return `width:${any2px(width)};height:100vh`;
|
|
11084
11042
|
case "right":
|
|
11085
|
-
return `width:${any2px(width)};height:100vh
|
|
11043
|
+
return `width:${any2px(width)};height:100vh;`;
|
|
11086
11044
|
case "top":
|
|
11087
|
-
return `width:100vw;height:${any2px(height)}`;
|
|
11088
11045
|
case "bottom":
|
|
11089
|
-
return `width:100vw;height:${any2px(height)}
|
|
11046
|
+
return `width:100vw;height:${any2px(height)};`;
|
|
11090
11047
|
default:
|
|
11091
11048
|
return "width:30%;height:100%";
|
|
11092
11049
|
}
|
|
@@ -11114,8 +11071,14 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11114
11071
|
createElementVNode("div", {
|
|
11115
11072
|
ref_key: "drawerBodyRef",
|
|
11116
11073
|
ref: drawerBodyRef,
|
|
11117
|
-
style: normalizeStyle(`${getStyle(
|
|
11118
|
-
|
|
11074
|
+
style: normalizeStyle(`${getStyle(
|
|
11075
|
+
props.position,
|
|
11076
|
+
props.width,
|
|
11077
|
+
props.height
|
|
11078
|
+
)}; z-index:${props.zIndex}`),
|
|
11079
|
+
class: normalizeClass(["lew-drawer-body", `${unref(object2class)("lew-drawer-body", {
|
|
11080
|
+
position: props.position
|
|
11081
|
+
})} ${visible.value ? "lew-drawer-body-show" : ""}`])
|
|
11119
11082
|
}, [
|
|
11120
11083
|
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
11121
11084
|
renderSlot(_ctx.$slots, "header")
|
|
@@ -11150,7 +11113,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
11150
11113
|
createElementVNode("div", _hoisted_3$p, [
|
|
11151
11114
|
renderSlot(_ctx.$slots, "default")
|
|
11152
11115
|
]),
|
|
11153
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11116
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
|
|
11154
11117
|
renderSlot(_ctx.$slots, "footer")
|
|
11155
11118
|
])) : !props.hideFooter ? (openBlock(), createBlock(unref(LewFlex), {
|
|
11156
11119
|
key: 3,
|
|
@@ -11716,7 +11679,7 @@ const _hoisted_1$I = {
|
|
|
11716
11679
|
};
|
|
11717
11680
|
const _hoisted_2$u = { class: "lew-popok-box-right" };
|
|
11718
11681
|
const _hoisted_3$o = { class: "lew-popok-box-right-header" };
|
|
11719
|
-
const _hoisted_4$
|
|
11682
|
+
const _hoisted_4$f = { class: "lew-popok-box-right-main" };
|
|
11720
11683
|
const _hoisted_5$d = { class: "lew-popok-box-footer" };
|
|
11721
11684
|
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
11722
11685
|
__name: "LewPopok",
|
|
@@ -11793,7 +11756,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
11793
11756
|
createElementVNode("div", _hoisted_3$o, [
|
|
11794
11757
|
createVNode(_sfc_main$16, { "render-fn": _ctx.title }, null, 8, ["render-fn"])
|
|
11795
11758
|
]),
|
|
11796
|
-
createElementVNode("div", _hoisted_4$
|
|
11759
|
+
createElementVNode("div", _hoisted_4$f, [
|
|
11797
11760
|
createVNode(_sfc_main$16, { "render-fn": _ctx.content }, null, 8, ["render-fn"])
|
|
11798
11761
|
])
|
|
11799
11762
|
])
|
|
@@ -15576,9 +15539,6 @@ function useVirtList(userProps, emitFunction) {
|
|
|
15576
15539
|
slotSize.footerSize = 0;
|
|
15577
15540
|
}
|
|
15578
15541
|
});
|
|
15579
|
-
onActivated(() => {
|
|
15580
|
-
scrollToOffset(reactiveData.offset);
|
|
15581
|
-
});
|
|
15582
15542
|
function getVirtualSize2beginInView() {
|
|
15583
15543
|
return reactiveData.virtualSize + getRangeSize(reactiveData.renderBegin, reactiveData.inViewBegin);
|
|
15584
15544
|
}
|
|
@@ -17828,7 +17788,7 @@ function getMonthDate(year, month) {
|
|
|
17828
17788
|
const _hoisted_1$C = { class: "lew-date" };
|
|
17829
17789
|
const _hoisted_2$q = { class: "lew-date-control-left" };
|
|
17830
17790
|
const _hoisted_3$l = { class: "cur-date" };
|
|
17831
|
-
const _hoisted_4$
|
|
17791
|
+
const _hoisted_4$e = { class: "lew-date-control-right" };
|
|
17832
17792
|
const _hoisted_5$c = { class: "lew-date-box" };
|
|
17833
17793
|
const _hoisted_6$9 = { class: "lew-date-num" };
|
|
17834
17794
|
const _hoisted_7$7 = ["onClick"];
|
|
@@ -17986,7 +17946,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
17986
17946
|
})
|
|
17987
17947
|
]),
|
|
17988
17948
|
createElementVNode("div", _hoisted_3$l, toDisplayString$1(unref(dayjs)(`${unref(dateState).year}-${unref(dateState).month}`).format("YYYY-MM")), 1),
|
|
17989
|
-
createElementVNode("div", _hoisted_4$
|
|
17949
|
+
createElementVNode("div", _hoisted_4$e, [
|
|
17990
17950
|
createVNode(unref(LewButton), {
|
|
17991
17951
|
type: "light",
|
|
17992
17952
|
color: "gray",
|
|
@@ -18045,7 +18005,7 @@ const LewDate = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-
|
|
|
18045
18005
|
const _hoisted_1$B = { class: "lew-time-control" };
|
|
18046
18006
|
const _hoisted_2$p = { class: "cur-time" };
|
|
18047
18007
|
const _hoisted_3$k = { class: "lew-time-container" };
|
|
18048
|
-
const _hoisted_4$
|
|
18008
|
+
const _hoisted_4$d = { class: "lew-time-column" };
|
|
18049
18009
|
const _hoisted_5$b = ["data-value", "onClick"];
|
|
18050
18010
|
const _hoisted_6$8 = ["data-text"];
|
|
18051
18011
|
const _hoisted_7$6 = { class: "lew-time-column" };
|
|
@@ -18351,7 +18311,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
18351
18311
|
_cache[16] || (_cache[16] = createElementVNode("div", { class: "lew-time-center-mask" }, null, -1)),
|
|
18352
18312
|
_cache[17] || (_cache[17] = createElementVNode("div", { class: "lew-time-gradient-top" }, null, -1)),
|
|
18353
18313
|
_cache[18] || (_cache[18] = createElementVNode("div", { class: "lew-time-gradient-bottom" }, null, -1)),
|
|
18354
|
-
createElementVNode("div", _hoisted_4$
|
|
18314
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
18355
18315
|
createElementVNode("div", {
|
|
18356
18316
|
ref_key: "hourRef",
|
|
18357
18317
|
ref: hourRef,
|
|
@@ -18462,7 +18422,7 @@ const LewTime = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-
|
|
|
18462
18422
|
const _hoisted_1$A = { class: "lew-datetime" };
|
|
18463
18423
|
const _hoisted_2$o = { class: "lew-datetime-content" };
|
|
18464
18424
|
const _hoisted_3$j = { class: "lew-datetime-panel lew-datetime-date-panel" };
|
|
18465
|
-
const _hoisted_4$
|
|
18425
|
+
const _hoisted_4$c = { class: "lew-datetime-panel lew-datetime-time-panel" };
|
|
18466
18426
|
const _hoisted_5$a = { class: "lew-datetime-actions" };
|
|
18467
18427
|
const _hoisted_6$7 = { class: "lew-datetime-actions-left" };
|
|
18468
18428
|
const _hoisted_7$5 = { class: "lew-datetime-actions-right" };
|
|
@@ -18547,7 +18507,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
18547
18507
|
"value-format": unref(dateFormat)
|
|
18548
18508
|
}, null, 8, ["value-format"])
|
|
18549
18509
|
]),
|
|
18550
|
-
createElementVNode("div", _hoisted_4$
|
|
18510
|
+
createElementVNode("div", _hoisted_4$c, [
|
|
18551
18511
|
createVNode(LewTime, {
|
|
18552
18512
|
ref_key: "timeRef",
|
|
18553
18513
|
ref: timeRef,
|
|
@@ -18605,7 +18565,7 @@ const LewDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "dat
|
|
|
18605
18565
|
const _hoisted_1$z = { class: "lew-month" };
|
|
18606
18566
|
const _hoisted_2$n = { class: "lew-month-control-left" };
|
|
18607
18567
|
const _hoisted_3$i = { class: "cur-year" };
|
|
18608
|
-
const _hoisted_4$
|
|
18568
|
+
const _hoisted_4$b = { class: "lew-month-control-right" };
|
|
18609
18569
|
const _hoisted_5$9 = { class: "lew-month-list" };
|
|
18610
18570
|
const _hoisted_6$6 = ["onClick"];
|
|
18611
18571
|
const _hoisted_7$4 = { class: "lew-month-label" };
|
|
@@ -18711,7 +18671,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
18711
18671
|
})
|
|
18712
18672
|
]),
|
|
18713
18673
|
createElementVNode("div", _hoisted_3$i, toDisplayString$1(unref(monthState).year), 1),
|
|
18714
|
-
createElementVNode("div", _hoisted_4$
|
|
18674
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
18715
18675
|
createVNode(unref(LewButton), {
|
|
18716
18676
|
type: "light",
|
|
18717
18677
|
color: "gray",
|
|
@@ -18750,7 +18710,7 @@ const LewMonth = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v
|
|
|
18750
18710
|
const _hoisted_1$y = { class: "lew-quarter" };
|
|
18751
18711
|
const _hoisted_2$m = { class: "lew-quarter-control-left" };
|
|
18752
18712
|
const _hoisted_3$h = { class: "cur-year" };
|
|
18753
|
-
const _hoisted_4$
|
|
18713
|
+
const _hoisted_4$a = { class: "lew-quarter-control-right" };
|
|
18754
18714
|
const _hoisted_5$8 = { class: "lew-quarter-list" };
|
|
18755
18715
|
const _hoisted_6$5 = ["onClick"];
|
|
18756
18716
|
const _hoisted_7$3 = { class: "lew-quarter-label" };
|
|
@@ -18849,7 +18809,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
18849
18809
|
})
|
|
18850
18810
|
]),
|
|
18851
18811
|
createElementVNode("div", _hoisted_3$h, toDisplayString$1(unref(currentYear)), 1),
|
|
18852
|
-
createElementVNode("div", _hoisted_4$
|
|
18812
|
+
createElementVNode("div", _hoisted_4$a, [
|
|
18853
18813
|
createVNode(unref(LewButton), {
|
|
18854
18814
|
type: "light",
|
|
18855
18815
|
color: "gray",
|
|
@@ -18891,7 +18851,7 @@ const LewQuarter = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data
|
|
|
18891
18851
|
const _hoisted_1$x = { class: "lew-year" };
|
|
18892
18852
|
const _hoisted_2$l = { class: "lew-year-control-left" };
|
|
18893
18853
|
const _hoisted_3$g = { class: "cur-decade" };
|
|
18894
|
-
const _hoisted_4$
|
|
18854
|
+
const _hoisted_4$9 = { class: "lew-year-control-right" };
|
|
18895
18855
|
const _hoisted_5$7 = { class: "lew-year-list" };
|
|
18896
18856
|
const _hoisted_6$4 = ["onClick"];
|
|
18897
18857
|
const _hoisted_7$2 = { class: "lew-year-label" };
|
|
@@ -18992,7 +18952,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
18992
18952
|
})
|
|
18993
18953
|
]),
|
|
18994
18954
|
createElementVNode("div", _hoisted_3$g, toDisplayString$1(unref(yearState).startYear) + " - " + toDisplayString$1(unref(yearState).startYear + 11), 1),
|
|
18995
|
-
createElementVNode("div", _hoisted_4$
|
|
18955
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
18996
18956
|
createVNode(unref(LewButton), {
|
|
18997
18957
|
type: "light",
|
|
18998
18958
|
color: "gray",
|
|
@@ -19557,7 +19517,7 @@ const dateRangeProps = {
|
|
|
19557
19517
|
const _hoisted_1$u = { class: "lew-date-range" };
|
|
19558
19518
|
const _hoisted_2$j = { class: "lew-date" };
|
|
19559
19519
|
const _hoisted_3$e = { class: "lew-date-control-left" };
|
|
19560
|
-
const _hoisted_4$
|
|
19520
|
+
const _hoisted_4$8 = { class: "cur-date" };
|
|
19561
19521
|
const _hoisted_5$6 = { class: "lew-date-control-right" };
|
|
19562
19522
|
const _hoisted_6$3 = { class: "lew-date-box" };
|
|
19563
19523
|
const _hoisted_7$1 = { class: "lew-date-num" };
|
|
@@ -19874,7 +19834,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19874
19834
|
_: 1
|
|
19875
19835
|
})
|
|
19876
19836
|
]),
|
|
19877
|
-
createElementVNode("div", _hoisted_4$
|
|
19837
|
+
createElementVNode("div", _hoisted_4$8, toDisplayString$1(unref(dayjs)(`${unref(dateState).year1}-${unref(dateState).month1}`).format("YYYY-MM")), 1),
|
|
19878
19838
|
createElementVNode("div", _hoisted_5$6, [
|
|
19879
19839
|
createVNode(unref(LewButton), {
|
|
19880
19840
|
type: "light",
|
|
@@ -20037,7 +19997,7 @@ const _hoisted_3$d = {
|
|
|
20037
19997
|
key: 1,
|
|
20038
19998
|
class: "lew-date-range-picker-dateValue lew-date-range-picker-start"
|
|
20039
19999
|
};
|
|
20040
|
-
const _hoisted_4$
|
|
20000
|
+
const _hoisted_4$7 = { class: "lew-date-range-picker-mid" };
|
|
20041
20001
|
const _hoisted_5$5 = {
|
|
20042
20002
|
key: 2,
|
|
20043
20003
|
class: "lew-date-range-picker-placeholder"
|
|
@@ -20178,7 +20138,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20178
20138
|
}, {
|
|
20179
20139
|
default: withCtx(() => [
|
|
20180
20140
|
!modelValue.value?.start ? (openBlock(), createElementBlock("div", _hoisted_2$i, toDisplayString$1(_ctx.placeholderStart ? _ctx.placeholderStart : unref(locale).t("dateRangePicker.placeholderStart")), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString$1(modelValue.value.start), 1)),
|
|
20181
|
-
createElementVNode("div", _hoisted_4$
|
|
20141
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
20182
20142
|
createVNode(CommonIcon, {
|
|
20183
20143
|
size: 14,
|
|
20184
20144
|
type: "minus"
|
|
@@ -22411,7 +22371,7 @@ const _hoisted_3$c = {
|
|
|
22411
22371
|
key: 1,
|
|
22412
22372
|
class: "lew-input-prefixes-icon"
|
|
22413
22373
|
};
|
|
22414
|
-
const _hoisted_4$
|
|
22374
|
+
const _hoisted_4$6 = {
|
|
22415
22375
|
key: 2,
|
|
22416
22376
|
class: "lew-input-prefixes-select"
|
|
22417
22377
|
};
|
|
@@ -22611,7 +22571,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22611
22571
|
type: prefixValue.value
|
|
22612
22572
|
}, null, 8, ["size", "type"])
|
|
22613
22573
|
])) : createCommentVNode("", true),
|
|
22614
|
-
_ctx.prefixes === "select" ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
22574
|
+
_ctx.prefixes === "select" ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
22615
22575
|
createVNode(unref(_sfc_main$7), {
|
|
22616
22576
|
placement: "bottom",
|
|
22617
22577
|
trigger: "click",
|
|
@@ -28462,65 +28422,6 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
28462
28422
|
sharp: "0",
|
|
28463
28423
|
square: "var(--lew-border-radius-small)"
|
|
28464
28424
|
};
|
|
28465
|
-
const STATUS_PLACEMENT_CONFIG_CIRCLE = {
|
|
28466
|
-
"top-left": {
|
|
28467
|
-
top: "-0.05rem",
|
|
28468
|
-
left: "-0.05rem",
|
|
28469
|
-
bottom: "auto",
|
|
28470
|
-
right: "auto"
|
|
28471
|
-
},
|
|
28472
|
-
"top-right": {
|
|
28473
|
-
top: "-0.05rem",
|
|
28474
|
-
left: "auto",
|
|
28475
|
-
bottom: "auto",
|
|
28476
|
-
right: "-0.05rem"
|
|
28477
|
-
},
|
|
28478
|
-
"bottom-left": {
|
|
28479
|
-
top: "auto",
|
|
28480
|
-
left: "-0.05rem",
|
|
28481
|
-
bottom: "-0.05rem",
|
|
28482
|
-
right: "auto"
|
|
28483
|
-
},
|
|
28484
|
-
"bottom-right": {
|
|
28485
|
-
top: "auto",
|
|
28486
|
-
left: "auto",
|
|
28487
|
-
bottom: "-0.05rem",
|
|
28488
|
-
right: "-0.05rem"
|
|
28489
|
-
}
|
|
28490
|
-
};
|
|
28491
|
-
const STATUS_PLACEMENT_CONFIG_SQUARE = {
|
|
28492
|
-
"top-left": {
|
|
28493
|
-
top: "-0.25rem",
|
|
28494
|
-
left: "-0.25rem",
|
|
28495
|
-
bottom: "auto",
|
|
28496
|
-
right: "auto"
|
|
28497
|
-
},
|
|
28498
|
-
"top-right": {
|
|
28499
|
-
top: "-0.25rem",
|
|
28500
|
-
left: "auto",
|
|
28501
|
-
bottom: "auto",
|
|
28502
|
-
right: "-0.25rem"
|
|
28503
|
-
},
|
|
28504
|
-
"bottom-left": {
|
|
28505
|
-
top: "auto",
|
|
28506
|
-
left: "-0.25rem",
|
|
28507
|
-
bottom: "-0.25rem",
|
|
28508
|
-
right: "auto"
|
|
28509
|
-
},
|
|
28510
|
-
"bottom-right": {
|
|
28511
|
-
top: "auto",
|
|
28512
|
-
left: "auto",
|
|
28513
|
-
bottom: "-0.25rem",
|
|
28514
|
-
right: "-0.25rem"
|
|
28515
|
-
}
|
|
28516
|
-
};
|
|
28517
|
-
const STATUS_COLOR_CONFIG = {
|
|
28518
|
-
online: "var(--lew-color-success)",
|
|
28519
|
-
busy: "var(--lew-color-error)",
|
|
28520
|
-
offline: "var(--lew-color-normal-dark)",
|
|
28521
|
-
processing: "var(--lew-color-info)",
|
|
28522
|
-
away: "var(--lew-color-warning)"
|
|
28523
|
-
};
|
|
28524
28425
|
const imageOptions = ref({
|
|
28525
28426
|
src: props.src
|
|
28526
28427
|
});
|
|
@@ -28528,7 +28429,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
28528
28429
|
() => props.src,
|
|
28529
28430
|
(newVal) => {
|
|
28530
28431
|
imageOptions.value.src = newVal;
|
|
28531
|
-
}
|
|
28432
|
+
},
|
|
28433
|
+
{ immediate: true }
|
|
28532
28434
|
);
|
|
28533
28435
|
const { isLoading, error } = useImage(imageOptions);
|
|
28534
28436
|
const avatarStyleObject = computed(() => ({
|
|
@@ -28558,73 +28460,72 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
28558
28460
|
const result = props.alt.split(" ").map((word) => word.charAt(0)).join("").toUpperCase();
|
|
28559
28461
|
return result.length > 2 ? result.charAt(0) : result;
|
|
28560
28462
|
});
|
|
28561
|
-
const
|
|
28562
|
-
|
|
28563
|
-
|
|
28463
|
+
const statusDotClass = computed(() => {
|
|
28464
|
+
if (!props.status)
|
|
28465
|
+
return "";
|
|
28466
|
+
return `lew-avatar-status-dot lew-avatar-status-dot--${props.shape}-${props.statusPlacement} lew-avatar-status-dot--${props.status}`;
|
|
28467
|
+
});
|
|
28468
|
+
const statusDotStyle = computed(() => {
|
|
28469
|
+
if (!props.status)
|
|
28564
28470
|
return {};
|
|
28565
|
-
const
|
|
28471
|
+
const sizeValue = typeof props.size === "number" ? props.size : Number.parseFloat(props.size);
|
|
28472
|
+
const dotSize = sizeValue * 0.2;
|
|
28566
28473
|
return {
|
|
28567
|
-
|
|
28568
|
-
|
|
28569
|
-
position: "absolute",
|
|
28570
|
-
content: "",
|
|
28571
|
-
width: any2px(parseDimension(size) * 0.2),
|
|
28572
|
-
height: any2px(parseDimension(size) * 0.2),
|
|
28573
|
-
borderRadius: "50%",
|
|
28574
|
-
zIndex: 19,
|
|
28575
|
-
border: "var(--lew-form-border-width) var(--lew-color-white) solid"
|
|
28474
|
+
width: any2px(dotSize),
|
|
28475
|
+
height: any2px(dotSize)
|
|
28576
28476
|
};
|
|
28577
28477
|
});
|
|
28578
|
-
const
|
|
28478
|
+
const iconSize = computed(() => {
|
|
28579
28479
|
const { size } = props;
|
|
28580
28480
|
return typeof size === "number" ? size * 0.5 : Number.parseInt(size) * 0.5;
|
|
28581
28481
|
});
|
|
28482
|
+
const showSkeleton = computed(() => isLoading.value || props.loading);
|
|
28483
|
+
const showImage = computed(
|
|
28484
|
+
() => props.src && !error.value && !showSkeleton.value
|
|
28485
|
+
);
|
|
28486
|
+
const showAltText = computed(
|
|
28487
|
+
() => !props.src && props.alt && !showSkeleton.value
|
|
28488
|
+
);
|
|
28489
|
+
const showIcon = computed(
|
|
28490
|
+
() => !props.src && !props.alt && !showSkeleton.value
|
|
28491
|
+
);
|
|
28492
|
+
const showFallback = computed(() => error.value && !showSkeleton.value);
|
|
28582
28493
|
return (_ctx, _cache) => {
|
|
28583
28494
|
return openBlock(), createElementBlock("div", {
|
|
28584
28495
|
class: "lew-avatar",
|
|
28585
|
-
style: normalizeStyle(avatarStyleObject
|
|
28496
|
+
style: normalizeStyle(unref(avatarStyleObject))
|
|
28586
28497
|
}, [
|
|
28587
28498
|
createElementVNode("div", {
|
|
28588
28499
|
class: "lew-avatar-box",
|
|
28589
|
-
style: normalizeStyle(avatarBoxStyleObject
|
|
28500
|
+
style: normalizeStyle(unref(avatarBoxStyleObject))
|
|
28590
28501
|
}, [
|
|
28591
|
-
unref(
|
|
28592
|
-
|
|
28593
|
-
|
|
28594
|
-
|
|
28595
|
-
|
|
28596
|
-
|
|
28597
|
-
|
|
28598
|
-
}, null, 12, _hoisted_2$a)) : _ctx.alt ? (openBlock(), createElementBlock("div", {
|
|
28599
|
-
key: 1,
|
|
28600
|
-
class: "lew-avatar-text",
|
|
28601
|
-
style: normalizeStyle(textStyleObject.value)
|
|
28602
|
-
}, toDisplayString$1(altText.value), 5)) : (openBlock(), createBlock(CommonIcon, {
|
|
28603
|
-
key: 2,
|
|
28604
|
-
class: "lew-avatar-user-icon",
|
|
28605
|
-
size: getIconSize.value,
|
|
28606
|
-
type: "user"
|
|
28607
|
-
}, null, 8, ["size"]))
|
|
28608
|
-
], 64)) : _ctx.alt ? (openBlock(), createElementBlock("div", {
|
|
28502
|
+
unref(showSkeleton) ? (openBlock(), createElementBlock("div", _hoisted_1$c)) : unref(showImage) ? (openBlock(), createElementBlock("img", {
|
|
28503
|
+
key: 1,
|
|
28504
|
+
alt: props.alt,
|
|
28505
|
+
src: props.src,
|
|
28506
|
+
loading: "lazy",
|
|
28507
|
+
style: normalizeStyle(unref(imageStyleObject))
|
|
28508
|
+
}, null, 12, _hoisted_2$a)) : unref(showAltText) || unref(showFallback) && props.alt ? (openBlock(), createElementBlock("div", {
|
|
28609
28509
|
key: 2,
|
|
28610
28510
|
class: "lew-avatar-text",
|
|
28611
|
-
style: normalizeStyle(textStyleObject
|
|
28612
|
-
}, toDisplayString$1(altText
|
|
28511
|
+
style: normalizeStyle(unref(textStyleObject))
|
|
28512
|
+
}, toDisplayString$1(unref(altText)), 5)) : unref(showIcon) || unref(showFallback) ? (openBlock(), createBlock(CommonIcon, {
|
|
28613
28513
|
key: 3,
|
|
28614
28514
|
class: "lew-avatar-user-icon",
|
|
28615
|
-
size:
|
|
28515
|
+
size: unref(iconSize),
|
|
28616
28516
|
type: "user"
|
|
28617
|
-
}, null, 8, ["size"]))
|
|
28517
|
+
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
28618
28518
|
], 4),
|
|
28619
|
-
|
|
28519
|
+
props.status ? (openBlock(), createElementBlock("i", {
|
|
28620
28520
|
key: 0,
|
|
28621
|
-
|
|
28622
|
-
|
|
28521
|
+
class: normalizeClass(unref(statusDotClass)),
|
|
28522
|
+
style: normalizeStyle(unref(statusDotStyle))
|
|
28523
|
+
}, null, 6)) : createCommentVNode("", true)
|
|
28623
28524
|
], 4);
|
|
28624
28525
|
};
|
|
28625
28526
|
}
|
|
28626
28527
|
});
|
|
28627
|
-
const LewAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
28528
|
+
const LewAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-370f6d56"]]);
|
|
28628
28529
|
const badgeProps = {
|
|
28629
28530
|
text: {
|
|
28630
28531
|
type: String,
|
|
@@ -28685,30 +28586,26 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28685
28586
|
props: badgeProps,
|
|
28686
28587
|
setup(__props) {
|
|
28687
28588
|
const props = __props;
|
|
28688
|
-
const
|
|
28689
|
-
|
|
28690
|
-
const _color = getColorType(color);
|
|
28691
|
-
if (text) {
|
|
28692
|
-
return {
|
|
28693
|
-
backgroundColor: `var(--lew-color-${_color})`,
|
|
28694
|
-
position: "absolute",
|
|
28695
|
-
left: "0",
|
|
28696
|
-
top: "50%",
|
|
28697
|
-
transform: "translateY(-50%)"
|
|
28698
|
-
};
|
|
28699
|
-
}
|
|
28700
|
-
return {
|
|
28701
|
-
backgroundColor: `var(--lew-color-${_color})`,
|
|
28702
|
-
...offset2?.length === 2 && {
|
|
28703
|
-
transform: `translate(calc(-50% + ${offset2[0]}px), ${offset2[1]}px)`
|
|
28704
|
-
}
|
|
28705
|
-
};
|
|
28589
|
+
const badgeClass = computed(() => {
|
|
28590
|
+
return ["lew-badge", props.text && "lew-badge--has-text"].filter(Boolean).join(" ");
|
|
28706
28591
|
});
|
|
28707
|
-
const
|
|
28708
|
-
|
|
28709
|
-
|
|
28710
|
-
|
|
28592
|
+
const badgeValueClass = computed(() => {
|
|
28593
|
+
return [
|
|
28594
|
+
props.value ? "lew-badge-value" : "lew-badge-dot",
|
|
28595
|
+
props.text && "lew-badge-value--with-text",
|
|
28596
|
+
props.processing && "is-processing"
|
|
28597
|
+
].filter(Boolean).join(" ");
|
|
28598
|
+
});
|
|
28599
|
+
const badgeStyle = computed(() => {
|
|
28600
|
+
const { color, offset: offset2, text } = props;
|
|
28601
|
+
const _color = getColorType(color) || "red";
|
|
28602
|
+
const style = {
|
|
28603
|
+
backgroundColor: `var(--lew-color-${_color})`
|
|
28711
28604
|
};
|
|
28605
|
+
if (!text && offset2?.length === 2) {
|
|
28606
|
+
style.transform = `translate(calc(-50% + ${offset2[0]}px), ${offset2[1]}px)`;
|
|
28607
|
+
}
|
|
28608
|
+
return style;
|
|
28712
28609
|
});
|
|
28713
28610
|
const displayValue = computed(() => {
|
|
28714
28611
|
const { value, max: max2 } = props;
|
|
@@ -28721,23 +28618,28 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28721
28618
|
});
|
|
28722
28619
|
return (_ctx, _cache) => {
|
|
28723
28620
|
return openBlock(), createElementBlock("div", {
|
|
28724
|
-
class:
|
|
28725
|
-
style: normalizeStyle(getBadgeStyle.value)
|
|
28621
|
+
class: normalizeClass(unref(badgeClass))
|
|
28726
28622
|
}, [
|
|
28727
28623
|
_ctx.value ? (openBlock(), createElementBlock("span", {
|
|
28728
28624
|
key: 0,
|
|
28729
|
-
class:
|
|
28730
|
-
style: normalizeStyle(
|
|
28731
|
-
}, toDisplayString$1(displayValue
|
|
28625
|
+
class: normalizeClass(unref(badgeValueClass)),
|
|
28626
|
+
style: normalizeStyle(unref(badgeStyle))
|
|
28627
|
+
}, toDisplayString$1(unref(displayValue)), 7)) : (openBlock(), createElementBlock("i", {
|
|
28732
28628
|
key: 1,
|
|
28733
|
-
class: normalizeClass(
|
|
28734
|
-
style: normalizeStyle(
|
|
28629
|
+
class: normalizeClass(unref(badgeValueClass)),
|
|
28630
|
+
style: normalizeStyle(unref(badgeStyle))
|
|
28735
28631
|
}, null, 6)),
|
|
28736
28632
|
_ctx.text ? (openBlock(), createElementBlock("span", _hoisted_1$b, toDisplayString$1(_ctx.text), 1)) : renderSlot(_ctx.$slots, "default", { key: 3 })
|
|
28737
|
-
],
|
|
28633
|
+
], 2);
|
|
28738
28634
|
};
|
|
28739
28635
|
}
|
|
28740
28636
|
});
|
|
28637
|
+
const buttonEmits = {
|
|
28638
|
+
/**
|
|
28639
|
+
* 点击按钮时触发(disabled 或 loading 时不触发)
|
|
28640
|
+
*/
|
|
28641
|
+
click: (e) => e instanceof MouseEvent
|
|
28642
|
+
};
|
|
28741
28643
|
const typeValues = ["fill", "light", "ghost", "text"];
|
|
28742
28644
|
const sizeValues = ["mini", "small", "medium", "large"];
|
|
28743
28645
|
const buttonProps = {
|
|
@@ -28836,36 +28738,24 @@ const buttonProps = {
|
|
|
28836
28738
|
const _hoisted_1$a = ["disabled"];
|
|
28837
28739
|
const _hoisted_2$9 = {
|
|
28838
28740
|
key: 0,
|
|
28741
|
+
class: "lew-button-loading-icon lew-button-loading-isShow"
|
|
28742
|
+
};
|
|
28743
|
+
const _hoisted_3$9 = {
|
|
28744
|
+
key: 1,
|
|
28839
28745
|
class: "lew-button-content"
|
|
28840
28746
|
};
|
|
28841
|
-
const
|
|
28747
|
+
const _hoisted_4$5 = { class: "lew-button-text" };
|
|
28842
28748
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
28843
28749
|
__name: "LewButton",
|
|
28844
28750
|
props: buttonProps,
|
|
28845
|
-
|
|
28751
|
+
emits: buttonEmits,
|
|
28752
|
+
setup(__props, { emit: __emit }) {
|
|
28846
28753
|
const props = __props;
|
|
28847
|
-
const
|
|
28754
|
+
const emit = __emit;
|
|
28755
|
+
const slots = useSlots();
|
|
28848
28756
|
const _loading = ref(false);
|
|
28849
|
-
|
|
28850
|
-
|
|
28851
|
-
return;
|
|
28852
|
-
}
|
|
28853
|
-
if (typeof props.request === "function") {
|
|
28854
|
-
if (_loading.value) {
|
|
28855
|
-
return;
|
|
28856
|
-
}
|
|
28857
|
-
_loading.value = true;
|
|
28858
|
-
await props.request();
|
|
28859
|
-
_loading.value = false;
|
|
28860
|
-
}
|
|
28861
|
-
}
|
|
28862
|
-
const instance = getCurrentInstance();
|
|
28863
|
-
const hasDefaultSlot = ref(false);
|
|
28864
|
-
if (instance?.slots.default) {
|
|
28865
|
-
hasDefaultSlot.value = true;
|
|
28866
|
-
}
|
|
28867
|
-
const getButtonClass = computed(() => {
|
|
28868
|
-
const { size, type, color, singleIcon, round: round2 } = props;
|
|
28757
|
+
const buttonClass = computed(() => {
|
|
28758
|
+
const { size, type, color, singleIcon, round: round2, dashed } = props;
|
|
28869
28759
|
const loading = _loading.value || props.loading;
|
|
28870
28760
|
return object2class("lew-button", {
|
|
28871
28761
|
size,
|
|
@@ -28873,55 +28763,60 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
28873
28763
|
loading,
|
|
28874
28764
|
singleIcon,
|
|
28875
28765
|
color,
|
|
28876
|
-
round: round2
|
|
28766
|
+
round: round2,
|
|
28767
|
+
dashed
|
|
28877
28768
|
});
|
|
28878
28769
|
});
|
|
28879
|
-
const
|
|
28880
|
-
const
|
|
28881
|
-
|
|
28882
|
-
|
|
28883
|
-
|
|
28884
|
-
|
|
28885
|
-
|
|
28886
|
-
|
|
28887
|
-
return 16;
|
|
28888
|
-
case "large":
|
|
28889
|
-
return 18;
|
|
28890
|
-
default:
|
|
28891
|
-
return 16;
|
|
28892
|
-
}
|
|
28770
|
+
const iconSize = computed(() => {
|
|
28771
|
+
const sizeMap = {
|
|
28772
|
+
mini: 12,
|
|
28773
|
+
small: 14,
|
|
28774
|
+
medium: 16,
|
|
28775
|
+
large: 18
|
|
28776
|
+
};
|
|
28777
|
+
return sizeMap[props.size] || 16;
|
|
28893
28778
|
});
|
|
28779
|
+
const isLoading = computed(() => _loading.value || props.loading);
|
|
28780
|
+
const hasContent = computed(() => !!slots.default || !!props.text);
|
|
28781
|
+
async function handleClick(e) {
|
|
28782
|
+
if (props.disabled || isLoading.value) {
|
|
28783
|
+
return;
|
|
28784
|
+
}
|
|
28785
|
+
emit("click", e);
|
|
28786
|
+
if (typeof props.request === "function") {
|
|
28787
|
+
try {
|
|
28788
|
+
_loading.value = true;
|
|
28789
|
+
await props.request();
|
|
28790
|
+
} finally {
|
|
28791
|
+
_loading.value = false;
|
|
28792
|
+
}
|
|
28793
|
+
}
|
|
28794
|
+
}
|
|
28894
28795
|
return (_ctx, _cache) => {
|
|
28895
28796
|
return openBlock(), createElementBlock("button", {
|
|
28896
|
-
|
|
28897
|
-
ref: buttonRef,
|
|
28898
|
-
class: normalizeClass(["lew-button", getButtonClass.value]),
|
|
28797
|
+
class: normalizeClass(["lew-button", buttonClass.value]),
|
|
28899
28798
|
disabled: _ctx.disabled,
|
|
28900
28799
|
onClick: handleClick
|
|
28901
28800
|
}, [
|
|
28902
|
-
|
|
28903
|
-
class: normalizeClass(["lew-button-loading-icon", {
|
|
28904
|
-
"lew-button-loading-isShow": (_loading.value || _ctx.loading) && !_ctx.disabled
|
|
28905
|
-
}])
|
|
28906
|
-
}, [
|
|
28801
|
+
isLoading.value && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
28907
28802
|
createVNode(CommonIcon, {
|
|
28908
|
-
size:
|
|
28803
|
+
size: iconSize.value,
|
|
28909
28804
|
loading: "",
|
|
28910
28805
|
type: "loader"
|
|
28911
28806
|
}, null, 8, ["size"])
|
|
28912
|
-
],
|
|
28913
|
-
|
|
28914
|
-
createElementVNode("span",
|
|
28915
|
-
|
|
28807
|
+
])) : createCommentVNode("", true),
|
|
28808
|
+
hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
|
|
28809
|
+
createElementVNode("span", _hoisted_4$5, [
|
|
28810
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
28916
28811
|
createTextVNode(toDisplayString$1(_ctx.text), 1)
|
|
28917
|
-
],
|
|
28812
|
+
], true)
|
|
28918
28813
|
])
|
|
28919
28814
|
])) : createCommentVNode("", true)
|
|
28920
28815
|
], 10, _hoisted_1$a);
|
|
28921
28816
|
};
|
|
28922
28817
|
}
|
|
28923
28818
|
});
|
|
28924
|
-
const LewButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
28819
|
+
const LewButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-75ec49b9"]]);
|
|
28925
28820
|
const flexProps = {
|
|
28926
28821
|
direction: {
|
|
28927
28822
|
type: String,
|
|
@@ -28965,53 +28860,51 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
28965
28860
|
props: flexProps,
|
|
28966
28861
|
setup(__props) {
|
|
28967
28862
|
const props = __props;
|
|
28968
|
-
const
|
|
28969
|
-
|
|
28970
|
-
|
|
28971
|
-
|
|
28972
|
-
|
|
28973
|
-
|
|
28974
|
-
top: "flex-start",
|
|
28975
|
-
bottom: "flex-end"
|
|
28976
|
-
};
|
|
28977
|
-
function getJustifyContent() {
|
|
28863
|
+
const flexClass = computed(() => {
|
|
28864
|
+
const classes = ["lew-flex"];
|
|
28865
|
+
classes.push(`lew-flex--${props.direction || "x"}`);
|
|
28866
|
+
if (props.wrap) {
|
|
28867
|
+
classes.push("lew-flex--wrap");
|
|
28868
|
+
}
|
|
28978
28869
|
if (props.mode) {
|
|
28979
|
-
|
|
28870
|
+
classes.push(`lew-flex--${props.mode}`);
|
|
28871
|
+
} else {
|
|
28872
|
+
const mainAxis = props.direction === "x" ? props.x : props.y;
|
|
28873
|
+
const crossAxis = props.direction === "x" ? props.y : props.x;
|
|
28874
|
+
if (mainAxis) {
|
|
28875
|
+
classes.push(`lew-flex--justify-${mainAxis}`);
|
|
28876
|
+
}
|
|
28877
|
+
if (crossAxis) {
|
|
28878
|
+
classes.push(`lew-flex--align-${crossAxis}`);
|
|
28879
|
+
}
|
|
28980
28880
|
}
|
|
28981
|
-
|
|
28982
|
-
|
|
28983
|
-
|
|
28984
|
-
function getAlignItems() {
|
|
28985
|
-
const crossAxis = props.direction === "x" ? props.y : props.x;
|
|
28986
|
-
return alignmentMap[crossAxis] || "center";
|
|
28987
|
-
}
|
|
28988
|
-
const styleObject = computed(
|
|
28881
|
+
return classes.join(" ");
|
|
28882
|
+
});
|
|
28883
|
+
const flexStyle = computed(
|
|
28989
28884
|
() => {
|
|
28885
|
+
const style = {};
|
|
28990
28886
|
const gap = any2px(props.gap);
|
|
28887
|
+
if (gap) {
|
|
28888
|
+
style.gap = gap;
|
|
28889
|
+
}
|
|
28991
28890
|
const width = props.width ? any2px(props.width) : void 0;
|
|
28992
|
-
|
|
28993
|
-
|
|
28994
|
-
|
|
28995
|
-
|
|
28996
|
-
justifyContent: getJustifyContent(),
|
|
28997
|
-
alignItems: getAlignItems(),
|
|
28998
|
-
gap: `${gap}`,
|
|
28999
|
-
width,
|
|
29000
|
-
boxSizing: "border-box"
|
|
29001
|
-
};
|
|
28891
|
+
if (width) {
|
|
28892
|
+
style.width = width;
|
|
28893
|
+
}
|
|
28894
|
+
return style;
|
|
29002
28895
|
}
|
|
29003
28896
|
);
|
|
29004
28897
|
return (_ctx, _cache) => {
|
|
29005
28898
|
return openBlock(), createElementBlock("div", {
|
|
29006
|
-
class:
|
|
29007
|
-
style: normalizeStyle(
|
|
28899
|
+
class: normalizeClass(unref(flexClass)),
|
|
28900
|
+
style: normalizeStyle(unref(flexStyle))
|
|
29008
28901
|
}, [
|
|
29009
28902
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
29010
|
-
],
|
|
28903
|
+
], 6);
|
|
29011
28904
|
};
|
|
29012
28905
|
}
|
|
29013
28906
|
});
|
|
29014
|
-
const LewFlex = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
28907
|
+
const LewFlex = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-95cd0bc7"]]);
|
|
29015
28908
|
const _imports_0 = "data:image/svg+xml,%3csvg%20t='1726823972943'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='6153'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M692.712%20172.458h-43.443l-21.561%2037.727-120.367%20210.648%20170.073%20170.092-118.896%20222.89-20.127%2037.727H926.996V172.458H692.712z%20m-21.561%2037.727h218.118v312.869L758.998%20392.783l-129.346%2097.015-75.265-75.265%20116.764-204.348z%20m218.118%20603.63h-287.97l122.575-229.832-67.267-67.267%2098.863-74.133L889.269%20576.4v237.415z'%20fill='%23DBDBDB'%20p-id='6154'%3e%3c/path%3e%3cpath%20d='M441.206%20414.533L557.97%20210.185l21.561-37.727H97.004v679.083H467.991l20.127-37.727%20122.575-229.832-169.487-169.449zM134.731%20210.185h379.796L394.16%20420.833l170.073%20170.092-12.488%2023.409L282.47%20528.92%20134.731%20632.33V210.185z%20m310.624%20603.63H134.731V678.394l154.077-107.861%20244.866%2077.661-88.319%20165.621z'%20fill='%23DBDBDB'%20p-id='6155'%3e%3c/path%3e%3cpath%20d='M361.093%20370.524c0-36.463-29.559-66.022-66.022-66.022s-66.022%2029.559-66.022%2066.022%2029.559%2066.022%2066.022%2066.022%2066.022-29.559%2066.022-66.022z%20m-94.318%200c0-15.6%2012.695-28.295%2028.295-28.295%2015.6%200%2028.295%2012.695%2028.295%2028.295%200%2015.6-12.695%2028.295-28.295%2028.295-15.6%200-28.295-12.695-28.295-28.295z'%20fill='%23DBDBDB'%20p-id='6156'%3e%3c/path%3e%3c/svg%3e";
|
|
29016
28909
|
const imageProps = {
|
|
29017
28910
|
src: {
|
|
@@ -29125,6 +29018,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29125
29018
|
}
|
|
29126
29019
|
);
|
|
29127
29020
|
const { isLoading, error } = useImage(imageOptions);
|
|
29021
|
+
const showSkeleton = computed(
|
|
29022
|
+
() => isLoading.value || props.loading || !props.src
|
|
29023
|
+
);
|
|
29024
|
+
const showError = computed(() => error.value && !showSkeleton.value);
|
|
29025
|
+
const showImage = computed(
|
|
29026
|
+
() => !error.value && !showSkeleton.value && props.src
|
|
29027
|
+
);
|
|
29128
29028
|
return (_ctx, _cache) => {
|
|
29129
29029
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
29130
29030
|
return openBlock(), createBlock(unref(LewFlex), {
|
|
@@ -29132,10 +29032,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29132
29032
|
x: "center",
|
|
29133
29033
|
y: "center",
|
|
29134
29034
|
class: "lew-image-wrapper",
|
|
29135
|
-
style: normalizeStyle(
|
|
29035
|
+
style: normalizeStyle(imageStyleObject.value)
|
|
29136
29036
|
}, {
|
|
29137
29037
|
default: withCtx(() => [
|
|
29138
|
-
|
|
29038
|
+
showSkeleton.value ? (openBlock(), createElementBlock("div", _hoisted_1$9)) : showError.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
29139
29039
|
_ctx.$slots.error ? renderSlot(_ctx.$slots, "error", { key: 0 }, void 0, true) : withDirectives((openBlock(), createElementBlock("img", {
|
|
29140
29040
|
key: 1,
|
|
29141
29041
|
class: "lew-image-fail-icon",
|
|
@@ -29147,7 +29047,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29147
29047
|
trigger: "mouseenter"
|
|
29148
29048
|
}]
|
|
29149
29049
|
])
|
|
29150
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
29050
|
+
], 64)) : showImage.value ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
29151
29051
|
createElementVNode("img", {
|
|
29152
29052
|
class: "lew-image",
|
|
29153
29053
|
src: _ctx.src,
|
|
@@ -29158,14 +29058,14 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29158
29058
|
}),
|
|
29159
29059
|
alt: _ctx.alt
|
|
29160
29060
|
}, null, 12, _hoisted_4$4)
|
|
29161
|
-
]))
|
|
29061
|
+
])) : createCommentVNode("", true)
|
|
29162
29062
|
]),
|
|
29163
29063
|
_: 3
|
|
29164
29064
|
}, 8, ["style"]);
|
|
29165
29065
|
};
|
|
29166
29066
|
}
|
|
29167
29067
|
});
|
|
29168
|
-
const LewImage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
29068
|
+
const LewImage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-9d6df753"]]);
|
|
29169
29069
|
const markProps = {
|
|
29170
29070
|
color: {
|
|
29171
29071
|
type: String,
|
|
@@ -29326,73 +29226,26 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
29326
29226
|
const props = __props;
|
|
29327
29227
|
const emit = __emit;
|
|
29328
29228
|
const isClosing = ref(false);
|
|
29329
|
-
const
|
|
29330
|
-
small:
|
|
29331
|
-
|
|
29332
|
-
|
|
29333
|
-
lineHeight: "16px",
|
|
29334
|
-
fontSize: "13px",
|
|
29335
|
-
borderRadius: "5px",
|
|
29336
|
-
padding: "0px 4px",
|
|
29337
|
-
oversizePadding: "4px 10px",
|
|
29338
|
-
gap: "2px",
|
|
29339
|
-
closeIconSize: 12
|
|
29340
|
-
},
|
|
29341
|
-
medium: {
|
|
29342
|
-
minHeight: "24px",
|
|
29343
|
-
minWidth: "24px",
|
|
29344
|
-
lineHeight: "18px",
|
|
29345
|
-
fontSize: "14px",
|
|
29346
|
-
borderRadius: "6px",
|
|
29347
|
-
padding: "0px 6px",
|
|
29348
|
-
oversizePadding: "5px 12px",
|
|
29349
|
-
closeIconSize: 14,
|
|
29350
|
-
gap: "3px"
|
|
29351
|
-
},
|
|
29352
|
-
large: {
|
|
29353
|
-
minHeight: "28px",
|
|
29354
|
-
minWidth: "28px",
|
|
29355
|
-
lineHeight: "20px",
|
|
29356
|
-
fontSize: "15px",
|
|
29357
|
-
borderRadius: "7px",
|
|
29358
|
-
padding: "0px 8px",
|
|
29359
|
-
oversizePadding: "6px 14px",
|
|
29360
|
-
closeIconSize: 16,
|
|
29361
|
-
gap: "4px"
|
|
29362
|
-
}
|
|
29363
|
-
};
|
|
29364
|
-
const TYPE_STYLES = {
|
|
29365
|
-
fill: (color) => ({
|
|
29366
|
-
backgroundColor: `var(--lew-color-${color})`,
|
|
29367
|
-
color: "var(--lew-color-white)"
|
|
29368
|
-
}),
|
|
29369
|
-
light: (color) => ({
|
|
29370
|
-
backgroundColor: `var(--lew-color-${color}-light)`,
|
|
29371
|
-
color: `var(--lew-color-${color}-dark)`
|
|
29372
|
-
}),
|
|
29373
|
-
ghost: (color) => ({
|
|
29374
|
-
backgroundColor: "transparent",
|
|
29375
|
-
border: `var(--lew-form-border-width) solid var(--lew-color-${color}-dark)`,
|
|
29376
|
-
color: `var(--lew-color-${color}-dark)`,
|
|
29377
|
-
boxShadow: "none"
|
|
29378
|
-
})
|
|
29229
|
+
const CLOSE_ICON_SIZE = {
|
|
29230
|
+
small: 12,
|
|
29231
|
+
medium: 14,
|
|
29232
|
+
large: 16
|
|
29379
29233
|
};
|
|
29380
|
-
const
|
|
29381
|
-
()
|
|
29382
|
-
|
|
29383
|
-
|
|
29384
|
-
|
|
29385
|
-
|
|
29386
|
-
|
|
29387
|
-
|
|
29388
|
-
|
|
29389
|
-
|
|
29390
|
-
|
|
29391
|
-
|
|
29392
|
-
|
|
29393
|
-
|
|
29394
|
-
|
|
29395
|
-
);
|
|
29234
|
+
const tagClass = computed(() => {
|
|
29235
|
+
const resolvedColor = getColorType(props.color) || "primary";
|
|
29236
|
+
return [
|
|
29237
|
+
"lew-tag",
|
|
29238
|
+
`lew-tag--${props.size || "medium"}`,
|
|
29239
|
+
`lew-tag--${props.type || "light"}`,
|
|
29240
|
+
`lew-tag--${resolvedColor}`,
|
|
29241
|
+
props.round && "lew-tag--round",
|
|
29242
|
+
props.oversize && "lew-tag--oversize",
|
|
29243
|
+
props.disabled && "lew-tag--disabled"
|
|
29244
|
+
].filter(Boolean).join(" ");
|
|
29245
|
+
});
|
|
29246
|
+
const closeIconSize = computed(() => {
|
|
29247
|
+
return CLOSE_ICON_SIZE[props.size] || CLOSE_ICON_SIZE.medium;
|
|
29248
|
+
});
|
|
29396
29249
|
async function handleClose() {
|
|
29397
29250
|
if (props.disabled || isClosing.value)
|
|
29398
29251
|
return;
|
|
@@ -29415,8 +29268,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
29415
29268
|
}
|
|
29416
29269
|
return (_ctx, _cache) => {
|
|
29417
29270
|
return openBlock(), createElementBlock("div", {
|
|
29418
|
-
class:
|
|
29419
|
-
style: normalizeStyle(tagStyle.value)
|
|
29271
|
+
class: normalizeClass(unref(tagClass))
|
|
29420
29272
|
}, [
|
|
29421
29273
|
_ctx.$slots.left ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
29422
29274
|
renderSlot(_ctx.$slots, "left")
|
|
@@ -29434,18 +29286,18 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
29434
29286
|
class: "lew-tag-close",
|
|
29435
29287
|
onClick: withModifiers(handleClose, ["stop"])
|
|
29436
29288
|
}, [
|
|
29437
|
-
isClosing
|
|
29289
|
+
unref(isClosing) ? (openBlock(), createBlock(CommonIcon, {
|
|
29438
29290
|
key: 0,
|
|
29439
|
-
size:
|
|
29291
|
+
size: unref(closeIconSize),
|
|
29440
29292
|
type: "loading",
|
|
29441
29293
|
class: "lew-tag-loading"
|
|
29442
29294
|
}, null, 8, ["size"])) : (openBlock(), createBlock(CommonIcon, {
|
|
29443
29295
|
key: 1,
|
|
29444
|
-
size:
|
|
29296
|
+
size: unref(closeIconSize),
|
|
29445
29297
|
type: "close"
|
|
29446
29298
|
}, null, 8, ["size"]))
|
|
29447
29299
|
])) : createCommentVNode("", true)
|
|
29448
|
-
],
|
|
29300
|
+
], 2);
|
|
29449
29301
|
};
|
|
29450
29302
|
}
|
|
29451
29303
|
});
|
|
@@ -29628,15 +29480,29 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29628
29480
|
const lewTextTrimPopRef = ref();
|
|
29629
29481
|
const displayText = ref("");
|
|
29630
29482
|
const isEllipsisByTextTrim = ref(false);
|
|
29483
|
+
const isEllipsis = ref(false);
|
|
29631
29484
|
let tippyInstance = null;
|
|
29485
|
+
const textTrimClass = computed(() => {
|
|
29486
|
+
const classes = ["lew-text-trim-wrapper"];
|
|
29487
|
+
if (props.textAlign && props.textAlign !== "left") {
|
|
29488
|
+
classes.push(`lew-text-trim-wrapper--align-${props.textAlign}`);
|
|
29489
|
+
}
|
|
29490
|
+
if (props.lineClamp) {
|
|
29491
|
+
classes.push("lew-text-trim-wrapper--line-clamp");
|
|
29492
|
+
} else {
|
|
29493
|
+
classes.push("lew-text-trim-wrapper--single-line");
|
|
29494
|
+
}
|
|
29495
|
+
if (isEllipsis.value || isEllipsisByTextTrim.value) {
|
|
29496
|
+
classes.push("lew-text-trim-wrapper--ellipsis");
|
|
29497
|
+
}
|
|
29498
|
+
return classes.join(" ");
|
|
29499
|
+
});
|
|
29632
29500
|
const textTrimStyle = computed(() => {
|
|
29633
29501
|
if (props.lineClamp) {
|
|
29634
|
-
return
|
|
29502
|
+
return `-webkit-line-clamp: ${props.lineClamp};`;
|
|
29635
29503
|
}
|
|
29636
29504
|
return {
|
|
29637
|
-
textOverflow: (props.reserveEnd || 0) > 0 ? "" : "ellipsis"
|
|
29638
|
-
whiteSpace: "nowrap",
|
|
29639
|
-
textAlign: props.textAlign
|
|
29505
|
+
textOverflow: (props.reserveEnd || 0) > 0 ? "" : "ellipsis"
|
|
29640
29506
|
};
|
|
29641
29507
|
});
|
|
29642
29508
|
function initTippy() {
|
|
@@ -29644,14 +29510,12 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29644
29510
|
if (!element)
|
|
29645
29511
|
return;
|
|
29646
29512
|
const { placement, allowHTML, text, offset: offset2 } = props;
|
|
29647
|
-
let isEllipsis = false;
|
|
29648
29513
|
if (props.lineClamp) {
|
|
29649
|
-
isEllipsis = element.offsetHeight < element.scrollHeight;
|
|
29514
|
+
isEllipsis.value = element.offsetHeight < element.scrollHeight;
|
|
29650
29515
|
} else {
|
|
29651
|
-
isEllipsis = element.offsetWidth < element.scrollWidth;
|
|
29516
|
+
isEllipsis.value = element.offsetWidth < element.scrollWidth;
|
|
29652
29517
|
}
|
|
29653
|
-
if (isEllipsis || isEllipsisByTextTrim.value) {
|
|
29654
|
-
element.style.cursor = "pointer";
|
|
29518
|
+
if (isEllipsis.value || isEllipsisByTextTrim.value) {
|
|
29655
29519
|
if (!tippyInstance) {
|
|
29656
29520
|
tippyInstance = tippy(element, {
|
|
29657
29521
|
theme: "light",
|
|
@@ -29672,7 +29536,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29672
29536
|
showTippy();
|
|
29673
29537
|
}
|
|
29674
29538
|
} else {
|
|
29675
|
-
element.style.cursor = "";
|
|
29676
29539
|
destroyTippy();
|
|
29677
29540
|
}
|
|
29678
29541
|
}
|
|
@@ -29728,17 +29591,19 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29728
29591
|
destroyTippy();
|
|
29729
29592
|
clearMeasureCache();
|
|
29730
29593
|
});
|
|
29731
|
-
watch(() => [props.text, props.reserveEnd], calculateDisplayText, {
|
|
29594
|
+
watch(() => [props.text, props.reserveEnd], calculateDisplayText, {
|
|
29595
|
+
flush: "post"
|
|
29596
|
+
});
|
|
29732
29597
|
return (_ctx, _cache) => {
|
|
29733
29598
|
return openBlock(), createElementBlock("div", {
|
|
29734
29599
|
ref_key: "lewTextTrimRef",
|
|
29735
29600
|
ref: lewTextTrimRef,
|
|
29736
|
-
class:
|
|
29737
|
-
style: normalizeStyle(textTrimStyle
|
|
29601
|
+
class: normalizeClass(unref(textTrimClass)),
|
|
29602
|
+
style: normalizeStyle(unref(textTrimStyle)),
|
|
29738
29603
|
onMouseenter: handleMouseEnter
|
|
29739
29604
|
}, [
|
|
29740
29605
|
_ctx.text ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
29741
|
-
createTextVNode(toDisplayString$1(displayText
|
|
29606
|
+
createTextVNode(toDisplayString$1(unref(displayText)), 1)
|
|
29742
29607
|
], 64)) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true),
|
|
29743
29608
|
createElementVNode("div", {
|
|
29744
29609
|
ref_key: "lewTextTrimPopRef",
|
|
@@ -29747,11 +29612,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29747
29612
|
}, [
|
|
29748
29613
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
29749
29614
|
], 512)
|
|
29750
|
-
],
|
|
29615
|
+
], 38);
|
|
29751
29616
|
};
|
|
29752
29617
|
}
|
|
29753
29618
|
});
|
|
29754
|
-
const LewTextTrim = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
29619
|
+
const LewTextTrim = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-f5d27d77"]]);
|
|
29755
29620
|
const titleEmits = {
|
|
29756
29621
|
click: (event) => event
|
|
29757
29622
|
};
|
|
@@ -29796,34 +29661,44 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
29796
29661
|
setup(__props, { emit: __emit }) {
|
|
29797
29662
|
const props = __props;
|
|
29798
29663
|
const emit = __emit;
|
|
29799
|
-
const
|
|
29800
|
-
const
|
|
29801
|
-
|
|
29802
|
-
|
|
29803
|
-
return `font-weight: ${bold}; font-size: ${fontSize}; -webkit-background-clip: text; -moz-background-clip: text; background-clip: text; color: transparent; background-image: linear-gradient(-252deg, var(--lew-color-${color}-dark), var(--lew-color-${color}));`;
|
|
29664
|
+
const titleClass = computed(() => {
|
|
29665
|
+
const classes = ["lew-title"];
|
|
29666
|
+
if (props.color) {
|
|
29667
|
+
classes.push(`lew-title--color-${props.color}`);
|
|
29804
29668
|
}
|
|
29805
|
-
return
|
|
29806
|
-
fontWeight: bold,
|
|
29807
|
-
fontSize
|
|
29808
|
-
};
|
|
29669
|
+
return classes.join(" ");
|
|
29809
29670
|
});
|
|
29671
|
+
const titleStyle = computed(
|
|
29672
|
+
() => {
|
|
29673
|
+
const { bold, color, size } = props;
|
|
29674
|
+
const fontSize = any2px(size);
|
|
29675
|
+
const style = {
|
|
29676
|
+
fontWeight: bold,
|
|
29677
|
+
fontSize
|
|
29678
|
+
};
|
|
29679
|
+
if (color) {
|
|
29680
|
+
style.backgroundImage = `linear-gradient(-252deg, var(--lew-color-${color}-dark), var(--lew-color-${color}))`;
|
|
29681
|
+
}
|
|
29682
|
+
return style;
|
|
29683
|
+
}
|
|
29684
|
+
);
|
|
29810
29685
|
function handleClick(event) {
|
|
29811
29686
|
emit("click", event);
|
|
29812
29687
|
}
|
|
29813
29688
|
return (_ctx, _cache) => {
|
|
29814
29689
|
return openBlock(), createElementBlock("div", {
|
|
29815
|
-
class:
|
|
29816
|
-
style: normalizeStyle(titleStyle
|
|
29690
|
+
class: normalizeClass(unref(titleClass)),
|
|
29691
|
+
style: normalizeStyle(unref(titleStyle)),
|
|
29817
29692
|
onClick: handleClick
|
|
29818
29693
|
}, [
|
|
29819
29694
|
_ctx.text ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
29820
29695
|
createTextVNode(toDisplayString$1(_ctx.text), 1)
|
|
29821
29696
|
], 64)) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
|
|
29822
|
-
],
|
|
29697
|
+
], 6);
|
|
29823
29698
|
};
|
|
29824
29699
|
}
|
|
29825
29700
|
});
|
|
29826
|
-
const LewTitle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
29701
|
+
const LewTitle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-5abd9f82"]]);
|
|
29827
29702
|
const actionBoxEmits = {
|
|
29828
29703
|
click: (option, event) => ({ option, event })
|
|
29829
29704
|
};
|
|
@@ -31385,6 +31260,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
31385
31260
|
badgeProps,
|
|
31386
31261
|
breadcrumbEmits,
|
|
31387
31262
|
breadcrumbProps,
|
|
31263
|
+
buttonEmits,
|
|
31388
31264
|
buttonProps,
|
|
31389
31265
|
cascaderEmits,
|
|
31390
31266
|
cascaderModel,
|
|
@@ -37796,6 +37672,18 @@ const de = {
|
|
|
37796
37672
|
Fri: "Fr",
|
|
37797
37673
|
Sat: "Sa",
|
|
37798
37674
|
Sun: "So",
|
|
37675
|
+
Jan: "Januar",
|
|
37676
|
+
Feb: "Februar",
|
|
37677
|
+
Mar: "März",
|
|
37678
|
+
Apr: "April",
|
|
37679
|
+
May: "Mai",
|
|
37680
|
+
Jun: "Juni",
|
|
37681
|
+
Jul: "Juli",
|
|
37682
|
+
Aug: "August",
|
|
37683
|
+
Sep: "September",
|
|
37684
|
+
Oct: "Oktober",
|
|
37685
|
+
Nov: "November",
|
|
37686
|
+
Dec: "Dezember",
|
|
37799
37687
|
placeholder: "Datum auswählen"
|
|
37800
37688
|
},
|
|
37801
37689
|
dateRangePicker: {
|
|
@@ -37831,6 +37719,9 @@ const de = {
|
|
|
37831
37719
|
cancelText: "Abbrechen",
|
|
37832
37720
|
okText: "OK"
|
|
37833
37721
|
},
|
|
37722
|
+
colorPicker: {
|
|
37723
|
+
placeholder: "Bitte eingeben"
|
|
37724
|
+
},
|
|
37834
37725
|
upload: {
|
|
37835
37726
|
dropActive: "Loslassen, um mit dem Upload zu beginnen",
|
|
37836
37727
|
click: "Klicken zum Hochladen, ",
|
|
@@ -37838,11 +37729,21 @@ const de = {
|
|
|
37838
37729
|
drag: "oder Dateien hierher ziehen",
|
|
37839
37730
|
accept: "Unterstützt {accept}",
|
|
37840
37731
|
limit: "Maximal {limit} Dateien",
|
|
37841
|
-
maxFileSize: "Einzelne Datei nicht größer als {maxFileSize}"
|
|
37732
|
+
maxFileSize: "Einzelne Datei nicht größer als {maxFileSize}",
|
|
37733
|
+
pending: "Ausstehend",
|
|
37734
|
+
success: "Erfolgreich hochgeladen",
|
|
37735
|
+
fail: "Upload fehlgeschlagen",
|
|
37736
|
+
uploading: "Wird hochgeladen",
|
|
37737
|
+
complete: "Hochgeladen",
|
|
37738
|
+
wrong_type: "Ungültiges Format",
|
|
37739
|
+
wrong_size: "Dateigröße überschreitet das Limit"
|
|
37842
37740
|
},
|
|
37843
37741
|
pagination: {
|
|
37844
37742
|
pageSize: "{pageSize} pro Seite",
|
|
37845
37743
|
jumpTo: "Springen zu"
|
|
37744
|
+
},
|
|
37745
|
+
empty: {
|
|
37746
|
+
title: "Keine Daten"
|
|
37846
37747
|
}
|
|
37847
37748
|
};
|
|
37848
37749
|
const en = {
|
|
@@ -37901,6 +37802,18 @@ const en = {
|
|
|
37901
37802
|
Fri: "Fri",
|
|
37902
37803
|
Sat: "Sat",
|
|
37903
37804
|
Sun: "Sun",
|
|
37805
|
+
Jan: "January",
|
|
37806
|
+
Feb: "February",
|
|
37807
|
+
Mar: "March",
|
|
37808
|
+
Apr: "April",
|
|
37809
|
+
May: "May",
|
|
37810
|
+
Jun: "June",
|
|
37811
|
+
Jul: "July",
|
|
37812
|
+
Aug: "August",
|
|
37813
|
+
Sep: "September",
|
|
37814
|
+
Oct: "October",
|
|
37815
|
+
Nov: "November",
|
|
37816
|
+
Dec: "December",
|
|
37904
37817
|
placeholder: "Select date"
|
|
37905
37818
|
},
|
|
37906
37819
|
dateRangePicker: {
|
|
@@ -37928,6 +37841,17 @@ const en = {
|
|
|
37928
37841
|
closeText: "Close",
|
|
37929
37842
|
okText: "OK"
|
|
37930
37843
|
},
|
|
37844
|
+
dialog: {
|
|
37845
|
+
cancelText: "Cancel",
|
|
37846
|
+
okText: "OK"
|
|
37847
|
+
},
|
|
37848
|
+
popok: {
|
|
37849
|
+
cancelText: "Cancel",
|
|
37850
|
+
okText: "OK"
|
|
37851
|
+
},
|
|
37852
|
+
colorPicker: {
|
|
37853
|
+
placeholder: "Please input"
|
|
37854
|
+
},
|
|
37931
37855
|
upload: {
|
|
37932
37856
|
dropActive: "Release to start uploading",
|
|
37933
37857
|
click: "Click to upload, ",
|
|
@@ -37935,19 +37859,21 @@ const en = {
|
|
|
37935
37859
|
drag: "or drag files here",
|
|
37936
37860
|
accept: "Support uploading {accept}",
|
|
37937
37861
|
limit: "Maximum {limit} files can be uploaded",
|
|
37938
|
-
maxFileSize: "Single file should not exceed {maxFileSize}"
|
|
37862
|
+
maxFileSize: "Single file should not exceed {maxFileSize}",
|
|
37863
|
+
pending: "Pending",
|
|
37864
|
+
success: "Upload successful",
|
|
37865
|
+
fail: "Upload failed",
|
|
37866
|
+
uploading: "Uploading",
|
|
37867
|
+
complete: "Uploaded",
|
|
37868
|
+
wrong_type: "Invalid format",
|
|
37869
|
+
wrong_size: "File size exceeds limit"
|
|
37939
37870
|
},
|
|
37940
37871
|
pagination: {
|
|
37941
37872
|
pageSize: "{pageSize} items/page",
|
|
37942
37873
|
jumpTo: "Jump to"
|
|
37943
37874
|
},
|
|
37944
|
-
|
|
37945
|
-
|
|
37946
|
-
okText: "OK"
|
|
37947
|
-
},
|
|
37948
|
-
popok: {
|
|
37949
|
-
cancelText: "Cancel",
|
|
37950
|
-
okText: "OK"
|
|
37875
|
+
empty: {
|
|
37876
|
+
title: "No data"
|
|
37951
37877
|
}
|
|
37952
37878
|
};
|
|
37953
37879
|
const es = {
|
|
@@ -38006,6 +37932,18 @@ const es = {
|
|
|
38006
37932
|
Fri: "Vie",
|
|
38007
37933
|
Sat: "Sáb",
|
|
38008
37934
|
Sun: "Dom",
|
|
37935
|
+
Jan: "Enero",
|
|
37936
|
+
Feb: "Febrero",
|
|
37937
|
+
Mar: "Marzo",
|
|
37938
|
+
Apr: "Abril",
|
|
37939
|
+
May: "Mayo",
|
|
37940
|
+
Jun: "Junio",
|
|
37941
|
+
Jul: "Julio",
|
|
37942
|
+
Aug: "Agosto",
|
|
37943
|
+
Sep: "Septiembre",
|
|
37944
|
+
Oct: "Octubre",
|
|
37945
|
+
Nov: "Noviembre",
|
|
37946
|
+
Dec: "Diciembre",
|
|
38009
37947
|
placeholder: "Seleccionar fecha"
|
|
38010
37948
|
},
|
|
38011
37949
|
dateRangePicker: {
|
|
@@ -38041,6 +37979,9 @@ const es = {
|
|
|
38041
37979
|
cancelText: "Cancelar",
|
|
38042
37980
|
okText: "Aceptar"
|
|
38043
37981
|
},
|
|
37982
|
+
colorPicker: {
|
|
37983
|
+
placeholder: "Por favor, introduzca"
|
|
37984
|
+
},
|
|
38044
37985
|
upload: {
|
|
38045
37986
|
dropActive: "Suelte para comenzar la carga",
|
|
38046
37987
|
click: "Haga clic para cargar, ",
|
|
@@ -38048,11 +37989,21 @@ const es = {
|
|
|
38048
37989
|
drag: "o arrastre archivos aquí",
|
|
38049
37990
|
accept: "Admite la carga de {accept}",
|
|
38050
37991
|
limit: "Se pueden cargar un máximo de {limit} archivos",
|
|
38051
|
-
maxFileSize: "Cada archivo no debe exceder {maxFileSize}"
|
|
37992
|
+
maxFileSize: "Cada archivo no debe exceder {maxFileSize}",
|
|
37993
|
+
pending: "Pendiente",
|
|
37994
|
+
success: "Carga exitosa",
|
|
37995
|
+
fail: "Error en la carga",
|
|
37996
|
+
uploading: "Cargando",
|
|
37997
|
+
complete: "Cargado",
|
|
37998
|
+
wrong_type: "Formato inválido",
|
|
37999
|
+
wrong_size: "El tamaño del archivo excede el límite"
|
|
38052
38000
|
},
|
|
38053
38001
|
pagination: {
|
|
38054
38002
|
pageSize: "{pageSize} por página",
|
|
38055
38003
|
jumpTo: "Ir a"
|
|
38004
|
+
},
|
|
38005
|
+
empty: {
|
|
38006
|
+
title: "Sin datos"
|
|
38056
38007
|
}
|
|
38057
38008
|
};
|
|
38058
38009
|
const fr = {
|
|
@@ -38111,6 +38062,18 @@ const fr = {
|
|
|
38111
38062
|
Fri: "Ven",
|
|
38112
38063
|
Sat: "Sam",
|
|
38113
38064
|
Sun: "Dim",
|
|
38065
|
+
Jan: "Janvier",
|
|
38066
|
+
Feb: "Février",
|
|
38067
|
+
Mar: "Mars",
|
|
38068
|
+
Apr: "Avril",
|
|
38069
|
+
May: "Mai",
|
|
38070
|
+
Jun: "Juin",
|
|
38071
|
+
Jul: "Juillet",
|
|
38072
|
+
Aug: "Août",
|
|
38073
|
+
Sep: "Septembre",
|
|
38074
|
+
Oct: "Octobre",
|
|
38075
|
+
Nov: "Novembre",
|
|
38076
|
+
Dec: "Décembre",
|
|
38114
38077
|
placeholder: "Sélectionner une date"
|
|
38115
38078
|
},
|
|
38116
38079
|
dateRangePicker: {
|
|
@@ -38146,6 +38109,9 @@ const fr = {
|
|
|
38146
38109
|
cancelText: "Annuler",
|
|
38147
38110
|
okText: "OK"
|
|
38148
38111
|
},
|
|
38112
|
+
colorPicker: {
|
|
38113
|
+
placeholder: "Veuillez saisir"
|
|
38114
|
+
},
|
|
38149
38115
|
upload: {
|
|
38150
38116
|
dropActive: "Relâchez pour commencer le téléchargement",
|
|
38151
38117
|
click: "Cliquez pour télécharger, ",
|
|
@@ -38153,11 +38119,21 @@ const fr = {
|
|
|
38153
38119
|
drag: "ou faites glisser les fichiers ici",
|
|
38154
38120
|
accept: "Prend en charge le téléchargement de {accept}",
|
|
38155
38121
|
limit: "Vous pouvez télécharger jusqu'à {limit} fichiers",
|
|
38156
|
-
maxFileSize: "Chaque fichier ne doit pas dépasser {maxFileSize}"
|
|
38122
|
+
maxFileSize: "Chaque fichier ne doit pas dépasser {maxFileSize}",
|
|
38123
|
+
pending: "En attente",
|
|
38124
|
+
success: "Téléchargement réussi",
|
|
38125
|
+
fail: "Échec du téléchargement",
|
|
38126
|
+
uploading: "Téléchargement en cours",
|
|
38127
|
+
complete: "Téléchargé",
|
|
38128
|
+
wrong_type: "Format invalide",
|
|
38129
|
+
wrong_size: "La taille du fichier dépasse la limite"
|
|
38157
38130
|
},
|
|
38158
38131
|
pagination: {
|
|
38159
38132
|
pageSize: "{pageSize} par page",
|
|
38160
38133
|
jumpTo: "Aller à"
|
|
38134
|
+
},
|
|
38135
|
+
empty: {
|
|
38136
|
+
title: "Aucune donnée"
|
|
38161
38137
|
}
|
|
38162
38138
|
};
|
|
38163
38139
|
const it = {
|
|
@@ -38216,6 +38192,18 @@ const it = {
|
|
|
38216
38192
|
Fri: "Ven",
|
|
38217
38193
|
Sat: "Sab",
|
|
38218
38194
|
Sun: "Dom",
|
|
38195
|
+
Jan: "Gennaio",
|
|
38196
|
+
Feb: "Febbraio",
|
|
38197
|
+
Mar: "Marzo",
|
|
38198
|
+
Apr: "Aprile",
|
|
38199
|
+
May: "Maggio",
|
|
38200
|
+
Jun: "Giugno",
|
|
38201
|
+
Jul: "Luglio",
|
|
38202
|
+
Aug: "Agosto",
|
|
38203
|
+
Sep: "Settembre",
|
|
38204
|
+
Oct: "Ottobre",
|
|
38205
|
+
Nov: "Novembre",
|
|
38206
|
+
Dec: "Dicembre",
|
|
38219
38207
|
placeholder: "Seleziona data"
|
|
38220
38208
|
},
|
|
38221
38209
|
dateRangePicker: {
|
|
@@ -38251,6 +38239,9 @@ const it = {
|
|
|
38251
38239
|
cancelText: "Annulla",
|
|
38252
38240
|
okText: "OK"
|
|
38253
38241
|
},
|
|
38242
|
+
colorPicker: {
|
|
38243
|
+
placeholder: "Inserisci"
|
|
38244
|
+
},
|
|
38254
38245
|
upload: {
|
|
38255
38246
|
dropActive: "Rilascia per iniziare il caricamento",
|
|
38256
38247
|
click: "Clicca per caricare, ",
|
|
@@ -38258,11 +38249,21 @@ const it = {
|
|
|
38258
38249
|
drag: "o trascina i file qui",
|
|
38259
38250
|
accept: "Supporta il caricamento di {accept}",
|
|
38260
38251
|
limit: "È possibile caricare un massimo di {limit} file",
|
|
38261
|
-
maxFileSize: "Ogni file non deve superare {maxFileSize}"
|
|
38252
|
+
maxFileSize: "Ogni file non deve superare {maxFileSize}",
|
|
38253
|
+
pending: "In attesa",
|
|
38254
|
+
success: "Caricamento riuscito",
|
|
38255
|
+
fail: "Caricamento fallito",
|
|
38256
|
+
uploading: "Caricamento in corso",
|
|
38257
|
+
complete: "Caricato",
|
|
38258
|
+
wrong_type: "Formato non valido",
|
|
38259
|
+
wrong_size: "Dimensione del file supera il limite"
|
|
38262
38260
|
},
|
|
38263
38261
|
pagination: {
|
|
38264
38262
|
pageSize: "{pageSize} per pagina",
|
|
38265
38263
|
jumpTo: "Vai a"
|
|
38264
|
+
},
|
|
38265
|
+
empty: {
|
|
38266
|
+
title: "Nessun dato"
|
|
38266
38267
|
}
|
|
38267
38268
|
};
|
|
38268
38269
|
const ja = {
|
|
@@ -38321,6 +38322,18 @@ const ja = {
|
|
|
38321
38322
|
Fri: "金",
|
|
38322
38323
|
Sat: "土",
|
|
38323
38324
|
Sun: "日",
|
|
38325
|
+
Jan: "1月",
|
|
38326
|
+
Feb: "2月",
|
|
38327
|
+
Mar: "3月",
|
|
38328
|
+
Apr: "4月",
|
|
38329
|
+
May: "5月",
|
|
38330
|
+
Jun: "6月",
|
|
38331
|
+
Jul: "7月",
|
|
38332
|
+
Aug: "8月",
|
|
38333
|
+
Sep: "9月",
|
|
38334
|
+
Oct: "10月",
|
|
38335
|
+
Nov: "11月",
|
|
38336
|
+
Dec: "12月",
|
|
38324
38337
|
placeholder: "日付を選択"
|
|
38325
38338
|
},
|
|
38326
38339
|
dateRangePicker: {
|
|
@@ -38356,6 +38369,9 @@ const ja = {
|
|
|
38356
38369
|
cancelText: "キャンセル",
|
|
38357
38370
|
okText: "確定"
|
|
38358
38371
|
},
|
|
38372
|
+
colorPicker: {
|
|
38373
|
+
placeholder: "入力してください"
|
|
38374
|
+
},
|
|
38359
38375
|
upload: {
|
|
38360
38376
|
dropActive: "ドロップしてアップロードを開始",
|
|
38361
38377
|
click: "クリックして、",
|
|
@@ -38363,11 +38379,21 @@ const ja = {
|
|
|
38363
38379
|
drag: "またはファイルをここにドラッグ",
|
|
38364
38380
|
accept: "{accept}形式のファイルに対応",
|
|
38365
38381
|
limit: "最大{limit}個のファイルをアップロード可能",
|
|
38366
|
-
maxFileSize: "1ファイルあたり{maxFileSize}まで"
|
|
38382
|
+
maxFileSize: "1ファイルあたり{maxFileSize}まで",
|
|
38383
|
+
pending: "アップロード待ち",
|
|
38384
|
+
success: "アップロード成功",
|
|
38385
|
+
fail: "アップロード失敗",
|
|
38386
|
+
uploading: "アップロード中",
|
|
38387
|
+
complete: "アップロード完了",
|
|
38388
|
+
wrong_type: "無効な形式",
|
|
38389
|
+
wrong_size: "ファイルサイズが制限を超えています"
|
|
38367
38390
|
},
|
|
38368
38391
|
pagination: {
|
|
38369
38392
|
pageSize: "表示件数:{pageSize}件",
|
|
38370
38393
|
jumpTo: "移動"
|
|
38394
|
+
},
|
|
38395
|
+
empty: {
|
|
38396
|
+
title: "データがありません"
|
|
38371
38397
|
}
|
|
38372
38398
|
};
|
|
38373
38399
|
const ko = {
|
|
@@ -38426,6 +38452,18 @@ const ko = {
|
|
|
38426
38452
|
Fri: "금",
|
|
38427
38453
|
Sat: "토",
|
|
38428
38454
|
Sun: "일",
|
|
38455
|
+
Jan: "1월",
|
|
38456
|
+
Feb: "2월",
|
|
38457
|
+
Mar: "3월",
|
|
38458
|
+
Apr: "4월",
|
|
38459
|
+
May: "5월",
|
|
38460
|
+
Jun: "6월",
|
|
38461
|
+
Jul: "7월",
|
|
38462
|
+
Aug: "8월",
|
|
38463
|
+
Sep: "9월",
|
|
38464
|
+
Oct: "10월",
|
|
38465
|
+
Nov: "11월",
|
|
38466
|
+
Dec: "12월",
|
|
38429
38467
|
placeholder: "날짜 선택"
|
|
38430
38468
|
},
|
|
38431
38469
|
dateRangePicker: {
|
|
@@ -38461,6 +38499,9 @@ const ko = {
|
|
|
38461
38499
|
cancelText: "취소",
|
|
38462
38500
|
okText: "확인"
|
|
38463
38501
|
},
|
|
38502
|
+
colorPicker: {
|
|
38503
|
+
placeholder: "입력해주세요"
|
|
38504
|
+
},
|
|
38464
38505
|
upload: {
|
|
38465
38506
|
dropActive: "파일을 놓으면 업로드가 시작됩니다",
|
|
38466
38507
|
click: "클릭하여 업로드",
|
|
@@ -38468,11 +38509,21 @@ const ko = {
|
|
|
38468
38509
|
drag: "또는 여기에 파일을 끌어다 놓으세요",
|
|
38469
38510
|
accept: "{accept} 파일 업로드 가능",
|
|
38470
38511
|
limit: "최대 {limit}개의 파일을 업로드할 수 있습니다",
|
|
38471
|
-
maxFileSize: "파일당 {maxFileSize} 이하여야 합니다"
|
|
38512
|
+
maxFileSize: "파일당 {maxFileSize} 이하여야 합니다",
|
|
38513
|
+
pending: "대기 중",
|
|
38514
|
+
success: "업로드 성공",
|
|
38515
|
+
fail: "업로드 실패",
|
|
38516
|
+
uploading: "업로드 중",
|
|
38517
|
+
complete: "완료",
|
|
38518
|
+
wrong_type: "잘못된 형식",
|
|
38519
|
+
wrong_size: "파일 크기 제한 초과"
|
|
38472
38520
|
},
|
|
38473
38521
|
pagination: {
|
|
38474
38522
|
pageSize: "페이지당 {pageSize}개",
|
|
38475
38523
|
jumpTo: "이동"
|
|
38524
|
+
},
|
|
38525
|
+
empty: {
|
|
38526
|
+
title: "데이터 없음"
|
|
38476
38527
|
}
|
|
38477
38528
|
};
|
|
38478
38529
|
const pt = {
|
|
@@ -38531,6 +38582,18 @@ const pt = {
|
|
|
38531
38582
|
Fri: "Sex",
|
|
38532
38583
|
Sat: "Sáb",
|
|
38533
38584
|
Sun: "Dom",
|
|
38585
|
+
Jan: "Janeiro",
|
|
38586
|
+
Feb: "Fevereiro",
|
|
38587
|
+
Mar: "Março",
|
|
38588
|
+
Apr: "Abril",
|
|
38589
|
+
May: "Maio",
|
|
38590
|
+
Jun: "Junho",
|
|
38591
|
+
Jul: "Julho",
|
|
38592
|
+
Aug: "Agosto",
|
|
38593
|
+
Sep: "Setembro",
|
|
38594
|
+
Oct: "Outubro",
|
|
38595
|
+
Nov: "Novembro",
|
|
38596
|
+
Dec: "Dezembro",
|
|
38534
38597
|
placeholder: "Selecionar data"
|
|
38535
38598
|
},
|
|
38536
38599
|
dateRangePicker: {
|
|
@@ -38566,6 +38629,9 @@ const pt = {
|
|
|
38566
38629
|
cancelText: "Cancelar",
|
|
38567
38630
|
okText: "OK"
|
|
38568
38631
|
},
|
|
38632
|
+
colorPicker: {
|
|
38633
|
+
placeholder: "Por favor, digite"
|
|
38634
|
+
},
|
|
38569
38635
|
upload: {
|
|
38570
38636
|
dropActive: "Solte para iniciar o upload",
|
|
38571
38637
|
click: "Clique para fazer upload, ",
|
|
@@ -38573,11 +38639,21 @@ const pt = {
|
|
|
38573
38639
|
drag: "ou arraste arquivos para aqui",
|
|
38574
38640
|
accept: "Suporta upload de {accept}",
|
|
38575
38641
|
limit: "Máximo de {limit} arquivos podem ser enviados",
|
|
38576
|
-
maxFileSize: "Cada arquivo não deve exceder {maxFileSize}"
|
|
38642
|
+
maxFileSize: "Cada arquivo não deve exceder {maxFileSize}",
|
|
38643
|
+
pending: "Pendente",
|
|
38644
|
+
success: "Upload bem-sucedido",
|
|
38645
|
+
fail: "Falha no upload",
|
|
38646
|
+
uploading: "Enviando",
|
|
38647
|
+
complete: "Enviado",
|
|
38648
|
+
wrong_type: "Formato inválido",
|
|
38649
|
+
wrong_size: "Tamanho do arquivo excede o limite"
|
|
38577
38650
|
},
|
|
38578
38651
|
pagination: {
|
|
38579
38652
|
pageSize: "{pageSize} por página",
|
|
38580
38653
|
jumpTo: "Ir para"
|
|
38654
|
+
},
|
|
38655
|
+
empty: {
|
|
38656
|
+
title: "Sem dados"
|
|
38581
38657
|
}
|
|
38582
38658
|
};
|
|
38583
38659
|
const zh = {
|
|
@@ -38842,6 +38918,7 @@ export {
|
|
|
38842
38918
|
badgeProps,
|
|
38843
38919
|
breadcrumbEmits,
|
|
38844
38920
|
breadcrumbProps,
|
|
38921
|
+
buttonEmits,
|
|
38845
38922
|
buttonProps,
|
|
38846
38923
|
cascaderEmits,
|
|
38847
38924
|
cascaderModel,
|