lew-ui 2.7.69 → 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 +506 -426
- 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
|
])
|
|
@@ -14850,9 +14813,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14850
14813
|
});
|
|
14851
14814
|
const showClearButton = computed(() => {
|
|
14852
14815
|
if (props.multiple) {
|
|
14853
|
-
return props.clearable && (modelValue.value
|
|
14816
|
+
return props.clearable && Array.isArray(modelValue.value) && modelValue.value.length > 0 && !props.readonly && !props.loading;
|
|
14854
14817
|
} else {
|
|
14855
|
-
|
|
14818
|
+
if (Array.isArray(modelValue.value) && modelValue.value.length === 0) {
|
|
14819
|
+
return false;
|
|
14820
|
+
}
|
|
14821
|
+
return props.clearable && !!modelValue.value && !props.readonly && !props.loading;
|
|
14856
14822
|
}
|
|
14857
14823
|
});
|
|
14858
14824
|
const hasSelectedItems = computed(() => {
|
|
@@ -15016,7 +14982,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15016
14982
|
};
|
|
15017
14983
|
}
|
|
15018
14984
|
});
|
|
15019
|
-
const CommonInput = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-
|
|
14985
|
+
const CommonInput = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-92080308"]]);
|
|
15020
14986
|
function vue3h(ele, props, children) {
|
|
15021
14987
|
const { attrs, on, ...rest } = props;
|
|
15022
14988
|
let event = {};
|
|
@@ -15573,9 +15539,6 @@ function useVirtList(userProps, emitFunction) {
|
|
|
15573
15539
|
slotSize.footerSize = 0;
|
|
15574
15540
|
}
|
|
15575
15541
|
});
|
|
15576
|
-
onActivated(() => {
|
|
15577
|
-
scrollToOffset(reactiveData.offset);
|
|
15578
|
-
});
|
|
15579
15542
|
function getVirtualSize2beginInView() {
|
|
15580
15543
|
return reactiveData.virtualSize + getRangeSize(reactiveData.renderBegin, reactiveData.inViewBegin);
|
|
15581
15544
|
}
|
|
@@ -17825,7 +17788,7 @@ function getMonthDate(year, month) {
|
|
|
17825
17788
|
const _hoisted_1$C = { class: "lew-date" };
|
|
17826
17789
|
const _hoisted_2$q = { class: "lew-date-control-left" };
|
|
17827
17790
|
const _hoisted_3$l = { class: "cur-date" };
|
|
17828
|
-
const _hoisted_4$
|
|
17791
|
+
const _hoisted_4$e = { class: "lew-date-control-right" };
|
|
17829
17792
|
const _hoisted_5$c = { class: "lew-date-box" };
|
|
17830
17793
|
const _hoisted_6$9 = { class: "lew-date-num" };
|
|
17831
17794
|
const _hoisted_7$7 = ["onClick"];
|
|
@@ -17983,7 +17946,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
17983
17946
|
})
|
|
17984
17947
|
]),
|
|
17985
17948
|
createElementVNode("div", _hoisted_3$l, toDisplayString$1(unref(dayjs)(`${unref(dateState).year}-${unref(dateState).month}`).format("YYYY-MM")), 1),
|
|
17986
|
-
createElementVNode("div", _hoisted_4$
|
|
17949
|
+
createElementVNode("div", _hoisted_4$e, [
|
|
17987
17950
|
createVNode(unref(LewButton), {
|
|
17988
17951
|
type: "light",
|
|
17989
17952
|
color: "gray",
|
|
@@ -18042,7 +18005,7 @@ const LewDate = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-
|
|
|
18042
18005
|
const _hoisted_1$B = { class: "lew-time-control" };
|
|
18043
18006
|
const _hoisted_2$p = { class: "cur-time" };
|
|
18044
18007
|
const _hoisted_3$k = { class: "lew-time-container" };
|
|
18045
|
-
const _hoisted_4$
|
|
18008
|
+
const _hoisted_4$d = { class: "lew-time-column" };
|
|
18046
18009
|
const _hoisted_5$b = ["data-value", "onClick"];
|
|
18047
18010
|
const _hoisted_6$8 = ["data-text"];
|
|
18048
18011
|
const _hoisted_7$6 = { class: "lew-time-column" };
|
|
@@ -18348,7 +18311,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
18348
18311
|
_cache[16] || (_cache[16] = createElementVNode("div", { class: "lew-time-center-mask" }, null, -1)),
|
|
18349
18312
|
_cache[17] || (_cache[17] = createElementVNode("div", { class: "lew-time-gradient-top" }, null, -1)),
|
|
18350
18313
|
_cache[18] || (_cache[18] = createElementVNode("div", { class: "lew-time-gradient-bottom" }, null, -1)),
|
|
18351
|
-
createElementVNode("div", _hoisted_4$
|
|
18314
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
18352
18315
|
createElementVNode("div", {
|
|
18353
18316
|
ref_key: "hourRef",
|
|
18354
18317
|
ref: hourRef,
|
|
@@ -18459,7 +18422,7 @@ const LewTime = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-
|
|
|
18459
18422
|
const _hoisted_1$A = { class: "lew-datetime" };
|
|
18460
18423
|
const _hoisted_2$o = { class: "lew-datetime-content" };
|
|
18461
18424
|
const _hoisted_3$j = { class: "lew-datetime-panel lew-datetime-date-panel" };
|
|
18462
|
-
const _hoisted_4$
|
|
18425
|
+
const _hoisted_4$c = { class: "lew-datetime-panel lew-datetime-time-panel" };
|
|
18463
18426
|
const _hoisted_5$a = { class: "lew-datetime-actions" };
|
|
18464
18427
|
const _hoisted_6$7 = { class: "lew-datetime-actions-left" };
|
|
18465
18428
|
const _hoisted_7$5 = { class: "lew-datetime-actions-right" };
|
|
@@ -18544,7 +18507,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
18544
18507
|
"value-format": unref(dateFormat)
|
|
18545
18508
|
}, null, 8, ["value-format"])
|
|
18546
18509
|
]),
|
|
18547
|
-
createElementVNode("div", _hoisted_4$
|
|
18510
|
+
createElementVNode("div", _hoisted_4$c, [
|
|
18548
18511
|
createVNode(LewTime, {
|
|
18549
18512
|
ref_key: "timeRef",
|
|
18550
18513
|
ref: timeRef,
|
|
@@ -18602,7 +18565,7 @@ const LewDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "dat
|
|
|
18602
18565
|
const _hoisted_1$z = { class: "lew-month" };
|
|
18603
18566
|
const _hoisted_2$n = { class: "lew-month-control-left" };
|
|
18604
18567
|
const _hoisted_3$i = { class: "cur-year" };
|
|
18605
|
-
const _hoisted_4$
|
|
18568
|
+
const _hoisted_4$b = { class: "lew-month-control-right" };
|
|
18606
18569
|
const _hoisted_5$9 = { class: "lew-month-list" };
|
|
18607
18570
|
const _hoisted_6$6 = ["onClick"];
|
|
18608
18571
|
const _hoisted_7$4 = { class: "lew-month-label" };
|
|
@@ -18708,7 +18671,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
18708
18671
|
})
|
|
18709
18672
|
]),
|
|
18710
18673
|
createElementVNode("div", _hoisted_3$i, toDisplayString$1(unref(monthState).year), 1),
|
|
18711
|
-
createElementVNode("div", _hoisted_4$
|
|
18674
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
18712
18675
|
createVNode(unref(LewButton), {
|
|
18713
18676
|
type: "light",
|
|
18714
18677
|
color: "gray",
|
|
@@ -18747,7 +18710,7 @@ const LewMonth = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v
|
|
|
18747
18710
|
const _hoisted_1$y = { class: "lew-quarter" };
|
|
18748
18711
|
const _hoisted_2$m = { class: "lew-quarter-control-left" };
|
|
18749
18712
|
const _hoisted_3$h = { class: "cur-year" };
|
|
18750
|
-
const _hoisted_4$
|
|
18713
|
+
const _hoisted_4$a = { class: "lew-quarter-control-right" };
|
|
18751
18714
|
const _hoisted_5$8 = { class: "lew-quarter-list" };
|
|
18752
18715
|
const _hoisted_6$5 = ["onClick"];
|
|
18753
18716
|
const _hoisted_7$3 = { class: "lew-quarter-label" };
|
|
@@ -18846,7 +18809,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
18846
18809
|
})
|
|
18847
18810
|
]),
|
|
18848
18811
|
createElementVNode("div", _hoisted_3$h, toDisplayString$1(unref(currentYear)), 1),
|
|
18849
|
-
createElementVNode("div", _hoisted_4$
|
|
18812
|
+
createElementVNode("div", _hoisted_4$a, [
|
|
18850
18813
|
createVNode(unref(LewButton), {
|
|
18851
18814
|
type: "light",
|
|
18852
18815
|
color: "gray",
|
|
@@ -18888,7 +18851,7 @@ const LewQuarter = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data
|
|
|
18888
18851
|
const _hoisted_1$x = { class: "lew-year" };
|
|
18889
18852
|
const _hoisted_2$l = { class: "lew-year-control-left" };
|
|
18890
18853
|
const _hoisted_3$g = { class: "cur-decade" };
|
|
18891
|
-
const _hoisted_4$
|
|
18854
|
+
const _hoisted_4$9 = { class: "lew-year-control-right" };
|
|
18892
18855
|
const _hoisted_5$7 = { class: "lew-year-list" };
|
|
18893
18856
|
const _hoisted_6$4 = ["onClick"];
|
|
18894
18857
|
const _hoisted_7$2 = { class: "lew-year-label" };
|
|
@@ -18989,7 +18952,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
18989
18952
|
})
|
|
18990
18953
|
]),
|
|
18991
18954
|
createElementVNode("div", _hoisted_3$g, toDisplayString$1(unref(yearState).startYear) + " - " + toDisplayString$1(unref(yearState).startYear + 11), 1),
|
|
18992
|
-
createElementVNode("div", _hoisted_4$
|
|
18955
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
18993
18956
|
createVNode(unref(LewButton), {
|
|
18994
18957
|
type: "light",
|
|
18995
18958
|
color: "gray",
|
|
@@ -19554,7 +19517,7 @@ const dateRangeProps = {
|
|
|
19554
19517
|
const _hoisted_1$u = { class: "lew-date-range" };
|
|
19555
19518
|
const _hoisted_2$j = { class: "lew-date" };
|
|
19556
19519
|
const _hoisted_3$e = { class: "lew-date-control-left" };
|
|
19557
|
-
const _hoisted_4$
|
|
19520
|
+
const _hoisted_4$8 = { class: "cur-date" };
|
|
19558
19521
|
const _hoisted_5$6 = { class: "lew-date-control-right" };
|
|
19559
19522
|
const _hoisted_6$3 = { class: "lew-date-box" };
|
|
19560
19523
|
const _hoisted_7$1 = { class: "lew-date-num" };
|
|
@@ -19871,7 +19834,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19871
19834
|
_: 1
|
|
19872
19835
|
})
|
|
19873
19836
|
]),
|
|
19874
|
-
createElementVNode("div", _hoisted_4$
|
|
19837
|
+
createElementVNode("div", _hoisted_4$8, toDisplayString$1(unref(dayjs)(`${unref(dateState).year1}-${unref(dateState).month1}`).format("YYYY-MM")), 1),
|
|
19875
19838
|
createElementVNode("div", _hoisted_5$6, [
|
|
19876
19839
|
createVNode(unref(LewButton), {
|
|
19877
19840
|
type: "light",
|
|
@@ -20034,7 +19997,7 @@ const _hoisted_3$d = {
|
|
|
20034
19997
|
key: 1,
|
|
20035
19998
|
class: "lew-date-range-picker-dateValue lew-date-range-picker-start"
|
|
20036
19999
|
};
|
|
20037
|
-
const _hoisted_4$
|
|
20000
|
+
const _hoisted_4$7 = { class: "lew-date-range-picker-mid" };
|
|
20038
20001
|
const _hoisted_5$5 = {
|
|
20039
20002
|
key: 2,
|
|
20040
20003
|
class: "lew-date-range-picker-placeholder"
|
|
@@ -20175,7 +20138,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20175
20138
|
}, {
|
|
20176
20139
|
default: withCtx(() => [
|
|
20177
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)),
|
|
20178
|
-
createElementVNode("div", _hoisted_4$
|
|
20141
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
20179
20142
|
createVNode(CommonIcon, {
|
|
20180
20143
|
size: 14,
|
|
20181
20144
|
type: "minus"
|
|
@@ -22408,7 +22371,7 @@ const _hoisted_3$c = {
|
|
|
22408
22371
|
key: 1,
|
|
22409
22372
|
class: "lew-input-prefixes-icon"
|
|
22410
22373
|
};
|
|
22411
|
-
const _hoisted_4$
|
|
22374
|
+
const _hoisted_4$6 = {
|
|
22412
22375
|
key: 2,
|
|
22413
22376
|
class: "lew-input-prefixes-select"
|
|
22414
22377
|
};
|
|
@@ -22608,7 +22571,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22608
22571
|
type: prefixValue.value
|
|
22609
22572
|
}, null, 8, ["size", "type"])
|
|
22610
22573
|
])) : createCommentVNode("", true),
|
|
22611
|
-
_ctx.prefixes === "select" ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
22574
|
+
_ctx.prefixes === "select" ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
22612
22575
|
createVNode(unref(_sfc_main$7), {
|
|
22613
22576
|
placement: "bottom",
|
|
22614
22577
|
trigger: "click",
|
|
@@ -28459,65 +28422,6 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
28459
28422
|
sharp: "0",
|
|
28460
28423
|
square: "var(--lew-border-radius-small)"
|
|
28461
28424
|
};
|
|
28462
|
-
const STATUS_PLACEMENT_CONFIG_CIRCLE = {
|
|
28463
|
-
"top-left": {
|
|
28464
|
-
top: "-0.05rem",
|
|
28465
|
-
left: "-0.05rem",
|
|
28466
|
-
bottom: "auto",
|
|
28467
|
-
right: "auto"
|
|
28468
|
-
},
|
|
28469
|
-
"top-right": {
|
|
28470
|
-
top: "-0.05rem",
|
|
28471
|
-
left: "auto",
|
|
28472
|
-
bottom: "auto",
|
|
28473
|
-
right: "-0.05rem"
|
|
28474
|
-
},
|
|
28475
|
-
"bottom-left": {
|
|
28476
|
-
top: "auto",
|
|
28477
|
-
left: "-0.05rem",
|
|
28478
|
-
bottom: "-0.05rem",
|
|
28479
|
-
right: "auto"
|
|
28480
|
-
},
|
|
28481
|
-
"bottom-right": {
|
|
28482
|
-
top: "auto",
|
|
28483
|
-
left: "auto",
|
|
28484
|
-
bottom: "-0.05rem",
|
|
28485
|
-
right: "-0.05rem"
|
|
28486
|
-
}
|
|
28487
|
-
};
|
|
28488
|
-
const STATUS_PLACEMENT_CONFIG_SQUARE = {
|
|
28489
|
-
"top-left": {
|
|
28490
|
-
top: "-0.25rem",
|
|
28491
|
-
left: "-0.25rem",
|
|
28492
|
-
bottom: "auto",
|
|
28493
|
-
right: "auto"
|
|
28494
|
-
},
|
|
28495
|
-
"top-right": {
|
|
28496
|
-
top: "-0.25rem",
|
|
28497
|
-
left: "auto",
|
|
28498
|
-
bottom: "auto",
|
|
28499
|
-
right: "-0.25rem"
|
|
28500
|
-
},
|
|
28501
|
-
"bottom-left": {
|
|
28502
|
-
top: "auto",
|
|
28503
|
-
left: "-0.25rem",
|
|
28504
|
-
bottom: "-0.25rem",
|
|
28505
|
-
right: "auto"
|
|
28506
|
-
},
|
|
28507
|
-
"bottom-right": {
|
|
28508
|
-
top: "auto",
|
|
28509
|
-
left: "auto",
|
|
28510
|
-
bottom: "-0.25rem",
|
|
28511
|
-
right: "-0.25rem"
|
|
28512
|
-
}
|
|
28513
|
-
};
|
|
28514
|
-
const STATUS_COLOR_CONFIG = {
|
|
28515
|
-
online: "var(--lew-color-success)",
|
|
28516
|
-
busy: "var(--lew-color-error)",
|
|
28517
|
-
offline: "var(--lew-color-normal-dark)",
|
|
28518
|
-
processing: "var(--lew-color-info)",
|
|
28519
|
-
away: "var(--lew-color-warning)"
|
|
28520
|
-
};
|
|
28521
28425
|
const imageOptions = ref({
|
|
28522
28426
|
src: props.src
|
|
28523
28427
|
});
|
|
@@ -28525,7 +28429,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
28525
28429
|
() => props.src,
|
|
28526
28430
|
(newVal) => {
|
|
28527
28431
|
imageOptions.value.src = newVal;
|
|
28528
|
-
}
|
|
28432
|
+
},
|
|
28433
|
+
{ immediate: true }
|
|
28529
28434
|
);
|
|
28530
28435
|
const { isLoading, error } = useImage(imageOptions);
|
|
28531
28436
|
const avatarStyleObject = computed(() => ({
|
|
@@ -28555,73 +28460,72 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
28555
28460
|
const result = props.alt.split(" ").map((word) => word.charAt(0)).join("").toUpperCase();
|
|
28556
28461
|
return result.length > 2 ? result.charAt(0) : result;
|
|
28557
28462
|
});
|
|
28558
|
-
const
|
|
28559
|
-
|
|
28560
|
-
|
|
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)
|
|
28561
28470
|
return {};
|
|
28562
|
-
const
|
|
28471
|
+
const sizeValue = typeof props.size === "number" ? props.size : Number.parseFloat(props.size);
|
|
28472
|
+
const dotSize = sizeValue * 0.2;
|
|
28563
28473
|
return {
|
|
28564
|
-
|
|
28565
|
-
|
|
28566
|
-
position: "absolute",
|
|
28567
|
-
content: "",
|
|
28568
|
-
width: any2px(parseDimension(size) * 0.2),
|
|
28569
|
-
height: any2px(parseDimension(size) * 0.2),
|
|
28570
|
-
borderRadius: "50%",
|
|
28571
|
-
zIndex: 19,
|
|
28572
|
-
border: "var(--lew-form-border-width) var(--lew-color-white) solid"
|
|
28474
|
+
width: any2px(dotSize),
|
|
28475
|
+
height: any2px(dotSize)
|
|
28573
28476
|
};
|
|
28574
28477
|
});
|
|
28575
|
-
const
|
|
28478
|
+
const iconSize = computed(() => {
|
|
28576
28479
|
const { size } = props;
|
|
28577
28480
|
return typeof size === "number" ? size * 0.5 : Number.parseInt(size) * 0.5;
|
|
28578
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);
|
|
28579
28493
|
return (_ctx, _cache) => {
|
|
28580
28494
|
return openBlock(), createElementBlock("div", {
|
|
28581
28495
|
class: "lew-avatar",
|
|
28582
|
-
style: normalizeStyle(avatarStyleObject
|
|
28496
|
+
style: normalizeStyle(unref(avatarStyleObject))
|
|
28583
28497
|
}, [
|
|
28584
28498
|
createElementVNode("div", {
|
|
28585
28499
|
class: "lew-avatar-box",
|
|
28586
|
-
style: normalizeStyle(avatarBoxStyleObject
|
|
28500
|
+
style: normalizeStyle(unref(avatarBoxStyleObject))
|
|
28587
28501
|
}, [
|
|
28588
|
-
unref(
|
|
28589
|
-
|
|
28590
|
-
|
|
28591
|
-
|
|
28592
|
-
|
|
28593
|
-
|
|
28594
|
-
|
|
28595
|
-
}, null, 12, _hoisted_2$a)) : _ctx.alt ? (openBlock(), createElementBlock("div", {
|
|
28596
|
-
key: 1,
|
|
28597
|
-
class: "lew-avatar-text",
|
|
28598
|
-
style: normalizeStyle(textStyleObject.value)
|
|
28599
|
-
}, toDisplayString$1(altText.value), 5)) : (openBlock(), createBlock(CommonIcon, {
|
|
28600
|
-
key: 2,
|
|
28601
|
-
class: "lew-avatar-user-icon",
|
|
28602
|
-
size: getIconSize.value,
|
|
28603
|
-
type: "user"
|
|
28604
|
-
}, null, 8, ["size"]))
|
|
28605
|
-
], 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", {
|
|
28606
28509
|
key: 2,
|
|
28607
28510
|
class: "lew-avatar-text",
|
|
28608
|
-
style: normalizeStyle(textStyleObject
|
|
28609
|
-
}, toDisplayString$1(altText
|
|
28511
|
+
style: normalizeStyle(unref(textStyleObject))
|
|
28512
|
+
}, toDisplayString$1(unref(altText)), 5)) : unref(showIcon) || unref(showFallback) ? (openBlock(), createBlock(CommonIcon, {
|
|
28610
28513
|
key: 3,
|
|
28611
28514
|
class: "lew-avatar-user-icon",
|
|
28612
|
-
size:
|
|
28515
|
+
size: unref(iconSize),
|
|
28613
28516
|
type: "user"
|
|
28614
|
-
}, null, 8, ["size"]))
|
|
28517
|
+
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
28615
28518
|
], 4),
|
|
28616
|
-
|
|
28519
|
+
props.status ? (openBlock(), createElementBlock("i", {
|
|
28617
28520
|
key: 0,
|
|
28618
|
-
|
|
28619
|
-
|
|
28521
|
+
class: normalizeClass(unref(statusDotClass)),
|
|
28522
|
+
style: normalizeStyle(unref(statusDotStyle))
|
|
28523
|
+
}, null, 6)) : createCommentVNode("", true)
|
|
28620
28524
|
], 4);
|
|
28621
28525
|
};
|
|
28622
28526
|
}
|
|
28623
28527
|
});
|
|
28624
|
-
const LewAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
28528
|
+
const LewAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-370f6d56"]]);
|
|
28625
28529
|
const badgeProps = {
|
|
28626
28530
|
text: {
|
|
28627
28531
|
type: String,
|
|
@@ -28682,30 +28586,26 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28682
28586
|
props: badgeProps,
|
|
28683
28587
|
setup(__props) {
|
|
28684
28588
|
const props = __props;
|
|
28685
|
-
const
|
|
28686
|
-
|
|
28687
|
-
const _color = getColorType(color);
|
|
28688
|
-
if (text) {
|
|
28689
|
-
return {
|
|
28690
|
-
backgroundColor: `var(--lew-color-${_color})`,
|
|
28691
|
-
position: "absolute",
|
|
28692
|
-
left: "0",
|
|
28693
|
-
top: "50%",
|
|
28694
|
-
transform: "translateY(-50%)"
|
|
28695
|
-
};
|
|
28696
|
-
}
|
|
28697
|
-
return {
|
|
28698
|
-
backgroundColor: `var(--lew-color-${_color})`,
|
|
28699
|
-
...offset2?.length === 2 && {
|
|
28700
|
-
transform: `translate(calc(-50% + ${offset2[0]}px), ${offset2[1]}px)`
|
|
28701
|
-
}
|
|
28702
|
-
};
|
|
28589
|
+
const badgeClass = computed(() => {
|
|
28590
|
+
return ["lew-badge", props.text && "lew-badge--has-text"].filter(Boolean).join(" ");
|
|
28703
28591
|
});
|
|
28704
|
-
const
|
|
28705
|
-
|
|
28706
|
-
|
|
28707
|
-
|
|
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})`
|
|
28708
28604
|
};
|
|
28605
|
+
if (!text && offset2?.length === 2) {
|
|
28606
|
+
style.transform = `translate(calc(-50% + ${offset2[0]}px), ${offset2[1]}px)`;
|
|
28607
|
+
}
|
|
28608
|
+
return style;
|
|
28709
28609
|
});
|
|
28710
28610
|
const displayValue = computed(() => {
|
|
28711
28611
|
const { value, max: max2 } = props;
|
|
@@ -28718,23 +28618,28 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28718
28618
|
});
|
|
28719
28619
|
return (_ctx, _cache) => {
|
|
28720
28620
|
return openBlock(), createElementBlock("div", {
|
|
28721
|
-
class:
|
|
28722
|
-
style: normalizeStyle(getBadgeStyle.value)
|
|
28621
|
+
class: normalizeClass(unref(badgeClass))
|
|
28723
28622
|
}, [
|
|
28724
28623
|
_ctx.value ? (openBlock(), createElementBlock("span", {
|
|
28725
28624
|
key: 0,
|
|
28726
|
-
class:
|
|
28727
|
-
style: normalizeStyle(
|
|
28728
|
-
}, toDisplayString$1(displayValue
|
|
28625
|
+
class: normalizeClass(unref(badgeValueClass)),
|
|
28626
|
+
style: normalizeStyle(unref(badgeStyle))
|
|
28627
|
+
}, toDisplayString$1(unref(displayValue)), 7)) : (openBlock(), createElementBlock("i", {
|
|
28729
28628
|
key: 1,
|
|
28730
|
-
class: normalizeClass(
|
|
28731
|
-
style: normalizeStyle(
|
|
28629
|
+
class: normalizeClass(unref(badgeValueClass)),
|
|
28630
|
+
style: normalizeStyle(unref(badgeStyle))
|
|
28732
28631
|
}, null, 6)),
|
|
28733
28632
|
_ctx.text ? (openBlock(), createElementBlock("span", _hoisted_1$b, toDisplayString$1(_ctx.text), 1)) : renderSlot(_ctx.$slots, "default", { key: 3 })
|
|
28734
|
-
],
|
|
28633
|
+
], 2);
|
|
28735
28634
|
};
|
|
28736
28635
|
}
|
|
28737
28636
|
});
|
|
28637
|
+
const buttonEmits = {
|
|
28638
|
+
/**
|
|
28639
|
+
* 点击按钮时触发(disabled 或 loading 时不触发)
|
|
28640
|
+
*/
|
|
28641
|
+
click: (e) => e instanceof MouseEvent
|
|
28642
|
+
};
|
|
28738
28643
|
const typeValues = ["fill", "light", "ghost", "text"];
|
|
28739
28644
|
const sizeValues = ["mini", "small", "medium", "large"];
|
|
28740
28645
|
const buttonProps = {
|
|
@@ -28833,36 +28738,24 @@ const buttonProps = {
|
|
|
28833
28738
|
const _hoisted_1$a = ["disabled"];
|
|
28834
28739
|
const _hoisted_2$9 = {
|
|
28835
28740
|
key: 0,
|
|
28741
|
+
class: "lew-button-loading-icon lew-button-loading-isShow"
|
|
28742
|
+
};
|
|
28743
|
+
const _hoisted_3$9 = {
|
|
28744
|
+
key: 1,
|
|
28836
28745
|
class: "lew-button-content"
|
|
28837
28746
|
};
|
|
28838
|
-
const
|
|
28747
|
+
const _hoisted_4$5 = { class: "lew-button-text" };
|
|
28839
28748
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
28840
28749
|
__name: "LewButton",
|
|
28841
28750
|
props: buttonProps,
|
|
28842
|
-
|
|
28751
|
+
emits: buttonEmits,
|
|
28752
|
+
setup(__props, { emit: __emit }) {
|
|
28843
28753
|
const props = __props;
|
|
28844
|
-
const
|
|
28754
|
+
const emit = __emit;
|
|
28755
|
+
const slots = useSlots();
|
|
28845
28756
|
const _loading = ref(false);
|
|
28846
|
-
|
|
28847
|
-
|
|
28848
|
-
return;
|
|
28849
|
-
}
|
|
28850
|
-
if (typeof props.request === "function") {
|
|
28851
|
-
if (_loading.value) {
|
|
28852
|
-
return;
|
|
28853
|
-
}
|
|
28854
|
-
_loading.value = true;
|
|
28855
|
-
await props.request();
|
|
28856
|
-
_loading.value = false;
|
|
28857
|
-
}
|
|
28858
|
-
}
|
|
28859
|
-
const instance = getCurrentInstance();
|
|
28860
|
-
const hasDefaultSlot = ref(false);
|
|
28861
|
-
if (instance?.slots.default) {
|
|
28862
|
-
hasDefaultSlot.value = true;
|
|
28863
|
-
}
|
|
28864
|
-
const getButtonClass = computed(() => {
|
|
28865
|
-
const { size, type, color, singleIcon, round: round2 } = props;
|
|
28757
|
+
const buttonClass = computed(() => {
|
|
28758
|
+
const { size, type, color, singleIcon, round: round2, dashed } = props;
|
|
28866
28759
|
const loading = _loading.value || props.loading;
|
|
28867
28760
|
return object2class("lew-button", {
|
|
28868
28761
|
size,
|
|
@@ -28870,55 +28763,60 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
28870
28763
|
loading,
|
|
28871
28764
|
singleIcon,
|
|
28872
28765
|
color,
|
|
28873
|
-
round: round2
|
|
28766
|
+
round: round2,
|
|
28767
|
+
dashed
|
|
28874
28768
|
});
|
|
28875
28769
|
});
|
|
28876
|
-
const
|
|
28877
|
-
const
|
|
28878
|
-
|
|
28879
|
-
|
|
28880
|
-
|
|
28881
|
-
|
|
28882
|
-
|
|
28883
|
-
|
|
28884
|
-
return 16;
|
|
28885
|
-
case "large":
|
|
28886
|
-
return 18;
|
|
28887
|
-
default:
|
|
28888
|
-
return 16;
|
|
28889
|
-
}
|
|
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;
|
|
28890
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
|
+
}
|
|
28891
28795
|
return (_ctx, _cache) => {
|
|
28892
28796
|
return openBlock(), createElementBlock("button", {
|
|
28893
|
-
|
|
28894
|
-
ref: buttonRef,
|
|
28895
|
-
class: normalizeClass(["lew-button", getButtonClass.value]),
|
|
28797
|
+
class: normalizeClass(["lew-button", buttonClass.value]),
|
|
28896
28798
|
disabled: _ctx.disabled,
|
|
28897
28799
|
onClick: handleClick
|
|
28898
28800
|
}, [
|
|
28899
|
-
|
|
28900
|
-
class: normalizeClass(["lew-button-loading-icon", {
|
|
28901
|
-
"lew-button-loading-isShow": (_loading.value || _ctx.loading) && !_ctx.disabled
|
|
28902
|
-
}])
|
|
28903
|
-
}, [
|
|
28801
|
+
isLoading.value && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
28904
28802
|
createVNode(CommonIcon, {
|
|
28905
|
-
size:
|
|
28803
|
+
size: iconSize.value,
|
|
28906
28804
|
loading: "",
|
|
28907
28805
|
type: "loader"
|
|
28908
28806
|
}, null, 8, ["size"])
|
|
28909
|
-
],
|
|
28910
|
-
|
|
28911
|
-
createElementVNode("span",
|
|
28912
|
-
|
|
28807
|
+
])) : createCommentVNode("", true),
|
|
28808
|
+
hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
|
|
28809
|
+
createElementVNode("span", _hoisted_4$5, [
|
|
28810
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
28913
28811
|
createTextVNode(toDisplayString$1(_ctx.text), 1)
|
|
28914
|
-
],
|
|
28812
|
+
], true)
|
|
28915
28813
|
])
|
|
28916
28814
|
])) : createCommentVNode("", true)
|
|
28917
28815
|
], 10, _hoisted_1$a);
|
|
28918
28816
|
};
|
|
28919
28817
|
}
|
|
28920
28818
|
});
|
|
28921
|
-
const LewButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
28819
|
+
const LewButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-75ec49b9"]]);
|
|
28922
28820
|
const flexProps = {
|
|
28923
28821
|
direction: {
|
|
28924
28822
|
type: String,
|
|
@@ -28962,53 +28860,51 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
28962
28860
|
props: flexProps,
|
|
28963
28861
|
setup(__props) {
|
|
28964
28862
|
const props = __props;
|
|
28965
|
-
const
|
|
28966
|
-
|
|
28967
|
-
|
|
28968
|
-
|
|
28969
|
-
|
|
28970
|
-
|
|
28971
|
-
top: "flex-start",
|
|
28972
|
-
bottom: "flex-end"
|
|
28973
|
-
};
|
|
28974
|
-
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
|
+
}
|
|
28975
28869
|
if (props.mode) {
|
|
28976
|
-
|
|
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
|
+
}
|
|
28977
28880
|
}
|
|
28978
|
-
|
|
28979
|
-
|
|
28980
|
-
|
|
28981
|
-
function getAlignItems() {
|
|
28982
|
-
const crossAxis = props.direction === "x" ? props.y : props.x;
|
|
28983
|
-
return alignmentMap[crossAxis] || "center";
|
|
28984
|
-
}
|
|
28985
|
-
const styleObject = computed(
|
|
28881
|
+
return classes.join(" ");
|
|
28882
|
+
});
|
|
28883
|
+
const flexStyle = computed(
|
|
28986
28884
|
() => {
|
|
28885
|
+
const style = {};
|
|
28987
28886
|
const gap = any2px(props.gap);
|
|
28887
|
+
if (gap) {
|
|
28888
|
+
style.gap = gap;
|
|
28889
|
+
}
|
|
28988
28890
|
const width = props.width ? any2px(props.width) : void 0;
|
|
28989
|
-
|
|
28990
|
-
|
|
28991
|
-
|
|
28992
|
-
|
|
28993
|
-
justifyContent: getJustifyContent(),
|
|
28994
|
-
alignItems: getAlignItems(),
|
|
28995
|
-
gap: `${gap}`,
|
|
28996
|
-
width,
|
|
28997
|
-
boxSizing: "border-box"
|
|
28998
|
-
};
|
|
28891
|
+
if (width) {
|
|
28892
|
+
style.width = width;
|
|
28893
|
+
}
|
|
28894
|
+
return style;
|
|
28999
28895
|
}
|
|
29000
28896
|
);
|
|
29001
28897
|
return (_ctx, _cache) => {
|
|
29002
28898
|
return openBlock(), createElementBlock("div", {
|
|
29003
|
-
class:
|
|
29004
|
-
style: normalizeStyle(
|
|
28899
|
+
class: normalizeClass(unref(flexClass)),
|
|
28900
|
+
style: normalizeStyle(unref(flexStyle))
|
|
29005
28901
|
}, [
|
|
29006
28902
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
29007
|
-
],
|
|
28903
|
+
], 6);
|
|
29008
28904
|
};
|
|
29009
28905
|
}
|
|
29010
28906
|
});
|
|
29011
|
-
const LewFlex = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
28907
|
+
const LewFlex = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-95cd0bc7"]]);
|
|
29012
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";
|
|
29013
28909
|
const imageProps = {
|
|
29014
28910
|
src: {
|
|
@@ -29122,6 +29018,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29122
29018
|
}
|
|
29123
29019
|
);
|
|
29124
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
|
+
);
|
|
29125
29028
|
return (_ctx, _cache) => {
|
|
29126
29029
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
29127
29030
|
return openBlock(), createBlock(unref(LewFlex), {
|
|
@@ -29129,10 +29032,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29129
29032
|
x: "center",
|
|
29130
29033
|
y: "center",
|
|
29131
29034
|
class: "lew-image-wrapper",
|
|
29132
|
-
style: normalizeStyle(
|
|
29035
|
+
style: normalizeStyle(imageStyleObject.value)
|
|
29133
29036
|
}, {
|
|
29134
29037
|
default: withCtx(() => [
|
|
29135
|
-
|
|
29038
|
+
showSkeleton.value ? (openBlock(), createElementBlock("div", _hoisted_1$9)) : showError.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
29136
29039
|
_ctx.$slots.error ? renderSlot(_ctx.$slots, "error", { key: 0 }, void 0, true) : withDirectives((openBlock(), createElementBlock("img", {
|
|
29137
29040
|
key: 1,
|
|
29138
29041
|
class: "lew-image-fail-icon",
|
|
@@ -29144,7 +29047,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29144
29047
|
trigger: "mouseenter"
|
|
29145
29048
|
}]
|
|
29146
29049
|
])
|
|
29147
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
29050
|
+
], 64)) : showImage.value ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
29148
29051
|
createElementVNode("img", {
|
|
29149
29052
|
class: "lew-image",
|
|
29150
29053
|
src: _ctx.src,
|
|
@@ -29155,14 +29058,14 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
29155
29058
|
}),
|
|
29156
29059
|
alt: _ctx.alt
|
|
29157
29060
|
}, null, 12, _hoisted_4$4)
|
|
29158
|
-
]))
|
|
29061
|
+
])) : createCommentVNode("", true)
|
|
29159
29062
|
]),
|
|
29160
29063
|
_: 3
|
|
29161
29064
|
}, 8, ["style"]);
|
|
29162
29065
|
};
|
|
29163
29066
|
}
|
|
29164
29067
|
});
|
|
29165
|
-
const LewImage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
29068
|
+
const LewImage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-9d6df753"]]);
|
|
29166
29069
|
const markProps = {
|
|
29167
29070
|
color: {
|
|
29168
29071
|
type: String,
|
|
@@ -29323,73 +29226,26 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
29323
29226
|
const props = __props;
|
|
29324
29227
|
const emit = __emit;
|
|
29325
29228
|
const isClosing = ref(false);
|
|
29326
|
-
const
|
|
29327
|
-
small:
|
|
29328
|
-
|
|
29329
|
-
|
|
29330
|
-
lineHeight: "16px",
|
|
29331
|
-
fontSize: "13px",
|
|
29332
|
-
borderRadius: "5px",
|
|
29333
|
-
padding: "0px 4px",
|
|
29334
|
-
oversizePadding: "4px 10px",
|
|
29335
|
-
gap: "2px",
|
|
29336
|
-
closeIconSize: 12
|
|
29337
|
-
},
|
|
29338
|
-
medium: {
|
|
29339
|
-
minHeight: "24px",
|
|
29340
|
-
minWidth: "24px",
|
|
29341
|
-
lineHeight: "18px",
|
|
29342
|
-
fontSize: "14px",
|
|
29343
|
-
borderRadius: "6px",
|
|
29344
|
-
padding: "0px 6px",
|
|
29345
|
-
oversizePadding: "5px 12px",
|
|
29346
|
-
closeIconSize: 14,
|
|
29347
|
-
gap: "3px"
|
|
29348
|
-
},
|
|
29349
|
-
large: {
|
|
29350
|
-
minHeight: "28px",
|
|
29351
|
-
minWidth: "28px",
|
|
29352
|
-
lineHeight: "20px",
|
|
29353
|
-
fontSize: "15px",
|
|
29354
|
-
borderRadius: "7px",
|
|
29355
|
-
padding: "0px 8px",
|
|
29356
|
-
oversizePadding: "6px 14px",
|
|
29357
|
-
closeIconSize: 16,
|
|
29358
|
-
gap: "4px"
|
|
29359
|
-
}
|
|
29360
|
-
};
|
|
29361
|
-
const TYPE_STYLES = {
|
|
29362
|
-
fill: (color) => ({
|
|
29363
|
-
backgroundColor: `var(--lew-color-${color})`,
|
|
29364
|
-
color: "var(--lew-color-white)"
|
|
29365
|
-
}),
|
|
29366
|
-
light: (color) => ({
|
|
29367
|
-
backgroundColor: `var(--lew-color-${color}-light)`,
|
|
29368
|
-
color: `var(--lew-color-${color}-dark)`
|
|
29369
|
-
}),
|
|
29370
|
-
ghost: (color) => ({
|
|
29371
|
-
backgroundColor: "transparent",
|
|
29372
|
-
border: `var(--lew-form-border-width) solid var(--lew-color-${color}-dark)`,
|
|
29373
|
-
color: `var(--lew-color-${color}-dark)`,
|
|
29374
|
-
boxShadow: "none"
|
|
29375
|
-
})
|
|
29229
|
+
const CLOSE_ICON_SIZE = {
|
|
29230
|
+
small: 12,
|
|
29231
|
+
medium: 14,
|
|
29232
|
+
large: 16
|
|
29376
29233
|
};
|
|
29377
|
-
const
|
|
29378
|
-
()
|
|
29379
|
-
|
|
29380
|
-
|
|
29381
|
-
|
|
29382
|
-
|
|
29383
|
-
|
|
29384
|
-
|
|
29385
|
-
|
|
29386
|
-
|
|
29387
|
-
|
|
29388
|
-
|
|
29389
|
-
|
|
29390
|
-
|
|
29391
|
-
|
|
29392
|
-
);
|
|
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
|
+
});
|
|
29393
29249
|
async function handleClose() {
|
|
29394
29250
|
if (props.disabled || isClosing.value)
|
|
29395
29251
|
return;
|
|
@@ -29412,8 +29268,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
29412
29268
|
}
|
|
29413
29269
|
return (_ctx, _cache) => {
|
|
29414
29270
|
return openBlock(), createElementBlock("div", {
|
|
29415
|
-
class:
|
|
29416
|
-
style: normalizeStyle(tagStyle.value)
|
|
29271
|
+
class: normalizeClass(unref(tagClass))
|
|
29417
29272
|
}, [
|
|
29418
29273
|
_ctx.$slots.left ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
29419
29274
|
renderSlot(_ctx.$slots, "left")
|
|
@@ -29431,18 +29286,18 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
29431
29286
|
class: "lew-tag-close",
|
|
29432
29287
|
onClick: withModifiers(handleClose, ["stop"])
|
|
29433
29288
|
}, [
|
|
29434
|
-
isClosing
|
|
29289
|
+
unref(isClosing) ? (openBlock(), createBlock(CommonIcon, {
|
|
29435
29290
|
key: 0,
|
|
29436
|
-
size:
|
|
29291
|
+
size: unref(closeIconSize),
|
|
29437
29292
|
type: "loading",
|
|
29438
29293
|
class: "lew-tag-loading"
|
|
29439
29294
|
}, null, 8, ["size"])) : (openBlock(), createBlock(CommonIcon, {
|
|
29440
29295
|
key: 1,
|
|
29441
|
-
size:
|
|
29296
|
+
size: unref(closeIconSize),
|
|
29442
29297
|
type: "close"
|
|
29443
29298
|
}, null, 8, ["size"]))
|
|
29444
29299
|
])) : createCommentVNode("", true)
|
|
29445
|
-
],
|
|
29300
|
+
], 2);
|
|
29446
29301
|
};
|
|
29447
29302
|
}
|
|
29448
29303
|
});
|
|
@@ -29625,15 +29480,29 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29625
29480
|
const lewTextTrimPopRef = ref();
|
|
29626
29481
|
const displayText = ref("");
|
|
29627
29482
|
const isEllipsisByTextTrim = ref(false);
|
|
29483
|
+
const isEllipsis = ref(false);
|
|
29628
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
|
+
});
|
|
29629
29500
|
const textTrimStyle = computed(() => {
|
|
29630
29501
|
if (props.lineClamp) {
|
|
29631
|
-
return
|
|
29502
|
+
return `-webkit-line-clamp: ${props.lineClamp};`;
|
|
29632
29503
|
}
|
|
29633
29504
|
return {
|
|
29634
|
-
textOverflow: (props.reserveEnd || 0) > 0 ? "" : "ellipsis"
|
|
29635
|
-
whiteSpace: "nowrap",
|
|
29636
|
-
textAlign: props.textAlign
|
|
29505
|
+
textOverflow: (props.reserveEnd || 0) > 0 ? "" : "ellipsis"
|
|
29637
29506
|
};
|
|
29638
29507
|
});
|
|
29639
29508
|
function initTippy() {
|
|
@@ -29641,14 +29510,12 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29641
29510
|
if (!element)
|
|
29642
29511
|
return;
|
|
29643
29512
|
const { placement, allowHTML, text, offset: offset2 } = props;
|
|
29644
|
-
let isEllipsis = false;
|
|
29645
29513
|
if (props.lineClamp) {
|
|
29646
|
-
isEllipsis = element.offsetHeight < element.scrollHeight;
|
|
29514
|
+
isEllipsis.value = element.offsetHeight < element.scrollHeight;
|
|
29647
29515
|
} else {
|
|
29648
|
-
isEllipsis = element.offsetWidth < element.scrollWidth;
|
|
29516
|
+
isEllipsis.value = element.offsetWidth < element.scrollWidth;
|
|
29649
29517
|
}
|
|
29650
|
-
if (isEllipsis || isEllipsisByTextTrim.value) {
|
|
29651
|
-
element.style.cursor = "pointer";
|
|
29518
|
+
if (isEllipsis.value || isEllipsisByTextTrim.value) {
|
|
29652
29519
|
if (!tippyInstance) {
|
|
29653
29520
|
tippyInstance = tippy(element, {
|
|
29654
29521
|
theme: "light",
|
|
@@ -29669,7 +29536,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29669
29536
|
showTippy();
|
|
29670
29537
|
}
|
|
29671
29538
|
} else {
|
|
29672
|
-
element.style.cursor = "";
|
|
29673
29539
|
destroyTippy();
|
|
29674
29540
|
}
|
|
29675
29541
|
}
|
|
@@ -29725,17 +29591,19 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29725
29591
|
destroyTippy();
|
|
29726
29592
|
clearMeasureCache();
|
|
29727
29593
|
});
|
|
29728
|
-
watch(() => [props.text, props.reserveEnd], calculateDisplayText, {
|
|
29594
|
+
watch(() => [props.text, props.reserveEnd], calculateDisplayText, {
|
|
29595
|
+
flush: "post"
|
|
29596
|
+
});
|
|
29729
29597
|
return (_ctx, _cache) => {
|
|
29730
29598
|
return openBlock(), createElementBlock("div", {
|
|
29731
29599
|
ref_key: "lewTextTrimRef",
|
|
29732
29600
|
ref: lewTextTrimRef,
|
|
29733
|
-
class:
|
|
29734
|
-
style: normalizeStyle(textTrimStyle
|
|
29601
|
+
class: normalizeClass(unref(textTrimClass)),
|
|
29602
|
+
style: normalizeStyle(unref(textTrimStyle)),
|
|
29735
29603
|
onMouseenter: handleMouseEnter
|
|
29736
29604
|
}, [
|
|
29737
29605
|
_ctx.text ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
29738
|
-
createTextVNode(toDisplayString$1(displayText
|
|
29606
|
+
createTextVNode(toDisplayString$1(unref(displayText)), 1)
|
|
29739
29607
|
], 64)) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true),
|
|
29740
29608
|
createElementVNode("div", {
|
|
29741
29609
|
ref_key: "lewTextTrimPopRef",
|
|
@@ -29744,11 +29612,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
29744
29612
|
}, [
|
|
29745
29613
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
29746
29614
|
], 512)
|
|
29747
|
-
],
|
|
29615
|
+
], 38);
|
|
29748
29616
|
};
|
|
29749
29617
|
}
|
|
29750
29618
|
});
|
|
29751
|
-
const LewTextTrim = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
29619
|
+
const LewTextTrim = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-f5d27d77"]]);
|
|
29752
29620
|
const titleEmits = {
|
|
29753
29621
|
click: (event) => event
|
|
29754
29622
|
};
|
|
@@ -29793,34 +29661,44 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
29793
29661
|
setup(__props, { emit: __emit }) {
|
|
29794
29662
|
const props = __props;
|
|
29795
29663
|
const emit = __emit;
|
|
29796
|
-
const
|
|
29797
|
-
const
|
|
29798
|
-
|
|
29799
|
-
|
|
29800
|
-
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}`);
|
|
29801
29668
|
}
|
|
29802
|
-
return
|
|
29803
|
-
fontWeight: bold,
|
|
29804
|
-
fontSize
|
|
29805
|
-
};
|
|
29669
|
+
return classes.join(" ");
|
|
29806
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
|
+
);
|
|
29807
29685
|
function handleClick(event) {
|
|
29808
29686
|
emit("click", event);
|
|
29809
29687
|
}
|
|
29810
29688
|
return (_ctx, _cache) => {
|
|
29811
29689
|
return openBlock(), createElementBlock("div", {
|
|
29812
|
-
class:
|
|
29813
|
-
style: normalizeStyle(titleStyle
|
|
29690
|
+
class: normalizeClass(unref(titleClass)),
|
|
29691
|
+
style: normalizeStyle(unref(titleStyle)),
|
|
29814
29692
|
onClick: handleClick
|
|
29815
29693
|
}, [
|
|
29816
29694
|
_ctx.text ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
29817
29695
|
createTextVNode(toDisplayString$1(_ctx.text), 1)
|
|
29818
29696
|
], 64)) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
|
|
29819
|
-
],
|
|
29697
|
+
], 6);
|
|
29820
29698
|
};
|
|
29821
29699
|
}
|
|
29822
29700
|
});
|
|
29823
|
-
const LewTitle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
29701
|
+
const LewTitle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-5abd9f82"]]);
|
|
29824
29702
|
const actionBoxEmits = {
|
|
29825
29703
|
click: (option, event) => ({ option, event })
|
|
29826
29704
|
};
|
|
@@ -31382,6 +31260,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
31382
31260
|
badgeProps,
|
|
31383
31261
|
breadcrumbEmits,
|
|
31384
31262
|
breadcrumbProps,
|
|
31263
|
+
buttonEmits,
|
|
31385
31264
|
buttonProps,
|
|
31386
31265
|
cascaderEmits,
|
|
31387
31266
|
cascaderModel,
|
|
@@ -37793,6 +37672,18 @@ const de = {
|
|
|
37793
37672
|
Fri: "Fr",
|
|
37794
37673
|
Sat: "Sa",
|
|
37795
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",
|
|
37796
37687
|
placeholder: "Datum auswählen"
|
|
37797
37688
|
},
|
|
37798
37689
|
dateRangePicker: {
|
|
@@ -37828,6 +37719,9 @@ const de = {
|
|
|
37828
37719
|
cancelText: "Abbrechen",
|
|
37829
37720
|
okText: "OK"
|
|
37830
37721
|
},
|
|
37722
|
+
colorPicker: {
|
|
37723
|
+
placeholder: "Bitte eingeben"
|
|
37724
|
+
},
|
|
37831
37725
|
upload: {
|
|
37832
37726
|
dropActive: "Loslassen, um mit dem Upload zu beginnen",
|
|
37833
37727
|
click: "Klicken zum Hochladen, ",
|
|
@@ -37835,11 +37729,21 @@ const de = {
|
|
|
37835
37729
|
drag: "oder Dateien hierher ziehen",
|
|
37836
37730
|
accept: "Unterstützt {accept}",
|
|
37837
37731
|
limit: "Maximal {limit} Dateien",
|
|
37838
|
-
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"
|
|
37839
37740
|
},
|
|
37840
37741
|
pagination: {
|
|
37841
37742
|
pageSize: "{pageSize} pro Seite",
|
|
37842
37743
|
jumpTo: "Springen zu"
|
|
37744
|
+
},
|
|
37745
|
+
empty: {
|
|
37746
|
+
title: "Keine Daten"
|
|
37843
37747
|
}
|
|
37844
37748
|
};
|
|
37845
37749
|
const en = {
|
|
@@ -37898,6 +37802,18 @@ const en = {
|
|
|
37898
37802
|
Fri: "Fri",
|
|
37899
37803
|
Sat: "Sat",
|
|
37900
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",
|
|
37901
37817
|
placeholder: "Select date"
|
|
37902
37818
|
},
|
|
37903
37819
|
dateRangePicker: {
|
|
@@ -37925,6 +37841,17 @@ const en = {
|
|
|
37925
37841
|
closeText: "Close",
|
|
37926
37842
|
okText: "OK"
|
|
37927
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
|
+
},
|
|
37928
37855
|
upload: {
|
|
37929
37856
|
dropActive: "Release to start uploading",
|
|
37930
37857
|
click: "Click to upload, ",
|
|
@@ -37932,19 +37859,21 @@ const en = {
|
|
|
37932
37859
|
drag: "or drag files here",
|
|
37933
37860
|
accept: "Support uploading {accept}",
|
|
37934
37861
|
limit: "Maximum {limit} files can be uploaded",
|
|
37935
|
-
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"
|
|
37936
37870
|
},
|
|
37937
37871
|
pagination: {
|
|
37938
37872
|
pageSize: "{pageSize} items/page",
|
|
37939
37873
|
jumpTo: "Jump to"
|
|
37940
37874
|
},
|
|
37941
|
-
|
|
37942
|
-
|
|
37943
|
-
okText: "OK"
|
|
37944
|
-
},
|
|
37945
|
-
popok: {
|
|
37946
|
-
cancelText: "Cancel",
|
|
37947
|
-
okText: "OK"
|
|
37875
|
+
empty: {
|
|
37876
|
+
title: "No data"
|
|
37948
37877
|
}
|
|
37949
37878
|
};
|
|
37950
37879
|
const es = {
|
|
@@ -38003,6 +37932,18 @@ const es = {
|
|
|
38003
37932
|
Fri: "Vie",
|
|
38004
37933
|
Sat: "Sáb",
|
|
38005
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",
|
|
38006
37947
|
placeholder: "Seleccionar fecha"
|
|
38007
37948
|
},
|
|
38008
37949
|
dateRangePicker: {
|
|
@@ -38038,6 +37979,9 @@ const es = {
|
|
|
38038
37979
|
cancelText: "Cancelar",
|
|
38039
37980
|
okText: "Aceptar"
|
|
38040
37981
|
},
|
|
37982
|
+
colorPicker: {
|
|
37983
|
+
placeholder: "Por favor, introduzca"
|
|
37984
|
+
},
|
|
38041
37985
|
upload: {
|
|
38042
37986
|
dropActive: "Suelte para comenzar la carga",
|
|
38043
37987
|
click: "Haga clic para cargar, ",
|
|
@@ -38045,11 +37989,21 @@ const es = {
|
|
|
38045
37989
|
drag: "o arrastre archivos aquí",
|
|
38046
37990
|
accept: "Admite la carga de {accept}",
|
|
38047
37991
|
limit: "Se pueden cargar un máximo de {limit} archivos",
|
|
38048
|
-
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"
|
|
38049
38000
|
},
|
|
38050
38001
|
pagination: {
|
|
38051
38002
|
pageSize: "{pageSize} por página",
|
|
38052
38003
|
jumpTo: "Ir a"
|
|
38004
|
+
},
|
|
38005
|
+
empty: {
|
|
38006
|
+
title: "Sin datos"
|
|
38053
38007
|
}
|
|
38054
38008
|
};
|
|
38055
38009
|
const fr = {
|
|
@@ -38108,6 +38062,18 @@ const fr = {
|
|
|
38108
38062
|
Fri: "Ven",
|
|
38109
38063
|
Sat: "Sam",
|
|
38110
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",
|
|
38111
38077
|
placeholder: "Sélectionner une date"
|
|
38112
38078
|
},
|
|
38113
38079
|
dateRangePicker: {
|
|
@@ -38143,6 +38109,9 @@ const fr = {
|
|
|
38143
38109
|
cancelText: "Annuler",
|
|
38144
38110
|
okText: "OK"
|
|
38145
38111
|
},
|
|
38112
|
+
colorPicker: {
|
|
38113
|
+
placeholder: "Veuillez saisir"
|
|
38114
|
+
},
|
|
38146
38115
|
upload: {
|
|
38147
38116
|
dropActive: "Relâchez pour commencer le téléchargement",
|
|
38148
38117
|
click: "Cliquez pour télécharger, ",
|
|
@@ -38150,11 +38119,21 @@ const fr = {
|
|
|
38150
38119
|
drag: "ou faites glisser les fichiers ici",
|
|
38151
38120
|
accept: "Prend en charge le téléchargement de {accept}",
|
|
38152
38121
|
limit: "Vous pouvez télécharger jusqu'à {limit} fichiers",
|
|
38153
|
-
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"
|
|
38154
38130
|
},
|
|
38155
38131
|
pagination: {
|
|
38156
38132
|
pageSize: "{pageSize} par page",
|
|
38157
38133
|
jumpTo: "Aller à"
|
|
38134
|
+
},
|
|
38135
|
+
empty: {
|
|
38136
|
+
title: "Aucune donnée"
|
|
38158
38137
|
}
|
|
38159
38138
|
};
|
|
38160
38139
|
const it = {
|
|
@@ -38213,6 +38192,18 @@ const it = {
|
|
|
38213
38192
|
Fri: "Ven",
|
|
38214
38193
|
Sat: "Sab",
|
|
38215
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",
|
|
38216
38207
|
placeholder: "Seleziona data"
|
|
38217
38208
|
},
|
|
38218
38209
|
dateRangePicker: {
|
|
@@ -38248,6 +38239,9 @@ const it = {
|
|
|
38248
38239
|
cancelText: "Annulla",
|
|
38249
38240
|
okText: "OK"
|
|
38250
38241
|
},
|
|
38242
|
+
colorPicker: {
|
|
38243
|
+
placeholder: "Inserisci"
|
|
38244
|
+
},
|
|
38251
38245
|
upload: {
|
|
38252
38246
|
dropActive: "Rilascia per iniziare il caricamento",
|
|
38253
38247
|
click: "Clicca per caricare, ",
|
|
@@ -38255,11 +38249,21 @@ const it = {
|
|
|
38255
38249
|
drag: "o trascina i file qui",
|
|
38256
38250
|
accept: "Supporta il caricamento di {accept}",
|
|
38257
38251
|
limit: "È possibile caricare un massimo di {limit} file",
|
|
38258
|
-
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"
|
|
38259
38260
|
},
|
|
38260
38261
|
pagination: {
|
|
38261
38262
|
pageSize: "{pageSize} per pagina",
|
|
38262
38263
|
jumpTo: "Vai a"
|
|
38264
|
+
},
|
|
38265
|
+
empty: {
|
|
38266
|
+
title: "Nessun dato"
|
|
38263
38267
|
}
|
|
38264
38268
|
};
|
|
38265
38269
|
const ja = {
|
|
@@ -38318,6 +38322,18 @@ const ja = {
|
|
|
38318
38322
|
Fri: "金",
|
|
38319
38323
|
Sat: "土",
|
|
38320
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月",
|
|
38321
38337
|
placeholder: "日付を選択"
|
|
38322
38338
|
},
|
|
38323
38339
|
dateRangePicker: {
|
|
@@ -38353,6 +38369,9 @@ const ja = {
|
|
|
38353
38369
|
cancelText: "キャンセル",
|
|
38354
38370
|
okText: "確定"
|
|
38355
38371
|
},
|
|
38372
|
+
colorPicker: {
|
|
38373
|
+
placeholder: "入力してください"
|
|
38374
|
+
},
|
|
38356
38375
|
upload: {
|
|
38357
38376
|
dropActive: "ドロップしてアップロードを開始",
|
|
38358
38377
|
click: "クリックして、",
|
|
@@ -38360,11 +38379,21 @@ const ja = {
|
|
|
38360
38379
|
drag: "またはファイルをここにドラッグ",
|
|
38361
38380
|
accept: "{accept}形式のファイルに対応",
|
|
38362
38381
|
limit: "最大{limit}個のファイルをアップロード可能",
|
|
38363
|
-
maxFileSize: "1ファイルあたり{maxFileSize}まで"
|
|
38382
|
+
maxFileSize: "1ファイルあたり{maxFileSize}まで",
|
|
38383
|
+
pending: "アップロード待ち",
|
|
38384
|
+
success: "アップロード成功",
|
|
38385
|
+
fail: "アップロード失敗",
|
|
38386
|
+
uploading: "アップロード中",
|
|
38387
|
+
complete: "アップロード完了",
|
|
38388
|
+
wrong_type: "無効な形式",
|
|
38389
|
+
wrong_size: "ファイルサイズが制限を超えています"
|
|
38364
38390
|
},
|
|
38365
38391
|
pagination: {
|
|
38366
38392
|
pageSize: "表示件数:{pageSize}件",
|
|
38367
38393
|
jumpTo: "移動"
|
|
38394
|
+
},
|
|
38395
|
+
empty: {
|
|
38396
|
+
title: "データがありません"
|
|
38368
38397
|
}
|
|
38369
38398
|
};
|
|
38370
38399
|
const ko = {
|
|
@@ -38423,6 +38452,18 @@ const ko = {
|
|
|
38423
38452
|
Fri: "금",
|
|
38424
38453
|
Sat: "토",
|
|
38425
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월",
|
|
38426
38467
|
placeholder: "날짜 선택"
|
|
38427
38468
|
},
|
|
38428
38469
|
dateRangePicker: {
|
|
@@ -38458,6 +38499,9 @@ const ko = {
|
|
|
38458
38499
|
cancelText: "취소",
|
|
38459
38500
|
okText: "확인"
|
|
38460
38501
|
},
|
|
38502
|
+
colorPicker: {
|
|
38503
|
+
placeholder: "입력해주세요"
|
|
38504
|
+
},
|
|
38461
38505
|
upload: {
|
|
38462
38506
|
dropActive: "파일을 놓으면 업로드가 시작됩니다",
|
|
38463
38507
|
click: "클릭하여 업로드",
|
|
@@ -38465,11 +38509,21 @@ const ko = {
|
|
|
38465
38509
|
drag: "또는 여기에 파일을 끌어다 놓으세요",
|
|
38466
38510
|
accept: "{accept} 파일 업로드 가능",
|
|
38467
38511
|
limit: "최대 {limit}개의 파일을 업로드할 수 있습니다",
|
|
38468
|
-
maxFileSize: "파일당 {maxFileSize} 이하여야 합니다"
|
|
38512
|
+
maxFileSize: "파일당 {maxFileSize} 이하여야 합니다",
|
|
38513
|
+
pending: "대기 중",
|
|
38514
|
+
success: "업로드 성공",
|
|
38515
|
+
fail: "업로드 실패",
|
|
38516
|
+
uploading: "업로드 중",
|
|
38517
|
+
complete: "완료",
|
|
38518
|
+
wrong_type: "잘못된 형식",
|
|
38519
|
+
wrong_size: "파일 크기 제한 초과"
|
|
38469
38520
|
},
|
|
38470
38521
|
pagination: {
|
|
38471
38522
|
pageSize: "페이지당 {pageSize}개",
|
|
38472
38523
|
jumpTo: "이동"
|
|
38524
|
+
},
|
|
38525
|
+
empty: {
|
|
38526
|
+
title: "데이터 없음"
|
|
38473
38527
|
}
|
|
38474
38528
|
};
|
|
38475
38529
|
const pt = {
|
|
@@ -38528,6 +38582,18 @@ const pt = {
|
|
|
38528
38582
|
Fri: "Sex",
|
|
38529
38583
|
Sat: "Sáb",
|
|
38530
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",
|
|
38531
38597
|
placeholder: "Selecionar data"
|
|
38532
38598
|
},
|
|
38533
38599
|
dateRangePicker: {
|
|
@@ -38563,6 +38629,9 @@ const pt = {
|
|
|
38563
38629
|
cancelText: "Cancelar",
|
|
38564
38630
|
okText: "OK"
|
|
38565
38631
|
},
|
|
38632
|
+
colorPicker: {
|
|
38633
|
+
placeholder: "Por favor, digite"
|
|
38634
|
+
},
|
|
38566
38635
|
upload: {
|
|
38567
38636
|
dropActive: "Solte para iniciar o upload",
|
|
38568
38637
|
click: "Clique para fazer upload, ",
|
|
@@ -38570,11 +38639,21 @@ const pt = {
|
|
|
38570
38639
|
drag: "ou arraste arquivos para aqui",
|
|
38571
38640
|
accept: "Suporta upload de {accept}",
|
|
38572
38641
|
limit: "Máximo de {limit} arquivos podem ser enviados",
|
|
38573
|
-
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"
|
|
38574
38650
|
},
|
|
38575
38651
|
pagination: {
|
|
38576
38652
|
pageSize: "{pageSize} por página",
|
|
38577
38653
|
jumpTo: "Ir para"
|
|
38654
|
+
},
|
|
38655
|
+
empty: {
|
|
38656
|
+
title: "Sem dados"
|
|
38578
38657
|
}
|
|
38579
38658
|
};
|
|
38580
38659
|
const zh = {
|
|
@@ -38839,6 +38918,7 @@ export {
|
|
|
38839
38918
|
badgeProps,
|
|
38840
38919
|
breadcrumbEmits,
|
|
38841
38920
|
breadcrumbProps,
|
|
38921
|
+
buttonEmits,
|
|
38842
38922
|
buttonProps,
|
|
38843
38923
|
cascaderEmits,
|
|
38844
38924
|
cascaderModel,
|