@das-fed/upf-ui 6.4.0-dev.165 → 6.4.0-dev.166
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/package.json +5 -5
- package/packages/business-components/ai-panel/i18n/index.d.ts +60 -0
- package/packages/business-components/ai-panel/{index-CViVnNHG.js → index-Bg_src1J.js} +440 -432
- package/packages/business-components/ai-panel/index-Bg_src1J.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-14NcMHNj.js → index-CoN6WqdZ.js} +1 -1
- package/packages/business-components/ai-panel/index-CoN6WqdZ.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/area-phone-select/i18n/index.d.ts +1 -0
- package/packages/business-components/area-phone-select/index.js +17 -17
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +18 -18
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
- package/packages/business-components/currency-page/index.js +9 -7
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +244 -0
- package/packages/business-components/device-panel/index.js +3506 -3482
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +83 -81
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +29 -0
- package/packages/business-components/import-button/index.js +237 -233
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
- package/packages/business-components/model-table-dialog/index.js +166 -166
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/i18n/index.d.ts +13 -0
- package/packages/business-components/payment/index.js +55 -55
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +30 -0
- package/packages/business-components/process-configuration/index.js +148 -146
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +84 -0
- package/packages/business-components/process-form/index.js +472 -463
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +9 -0
- package/packages/business-components/process-log/index.js +69 -69
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
- package/packages/business-components/process-search-form/index.js +125 -125
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -0
- package/packages/business-components/process-table/index.js +99 -99
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
- package/packages/business-components/upload-file/index.js +9 -8
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +104 -0
- package/packages/business-components/urgent-panel/index.js +951 -943
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +18 -0
- package/packages/business-components/user-org-dialog/index.js +180 -179
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
- package/packages/business-components/video-dialog/index.js +175 -175
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -0
- package/packages/components/calendar/index.js +163 -163
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -0
- package/packages/components/cascader/index.js +15 -15
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -0
- package/packages/components/color-picker/index.js +10 -10
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
- package/packages/components/custom-search-item/index.js +10 -10
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +6 -0
- package/packages/components/date-picker/index.js +127 -127
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.js +46 -46
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
- package/packages/components/dimple-layout/index.js +10 -9
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -0
- package/packages/components/dropdown/index.js +12 -12
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +1 -1
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +7 -0
- package/packages/components/image-upload/index.js +47 -43
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -0
- package/packages/components/input/index.js +27 -27
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +2 -0
- package/packages/components/input-dialog-select/index.js +23 -23
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +2 -1
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +1 -0
- package/packages/components/loading/index.js +20 -20
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +6 -0
- package/packages/components/map/index.js +159 -155
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -0
- package/packages/components/menu-aside/index.js +34 -34
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -0
- package/packages/components/message/index.js +7 -7
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -0
- package/packages/components/notification/index.js +1 -1
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +4 -0
- package/packages/components/pagination/index.js +42 -42
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.js +20 -20
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +4 -4
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -0
- package/packages/components/rich-editor/index.js +1596 -1592
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +7 -0
- package/packages/components/search-form/index.js +117 -117
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +4 -0
- package/packages/components/select/index.js +93 -92
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.js +110 -110
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +60 -60
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +41 -41
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -0
- package/packages/components/spin/index.js +14 -14
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +20 -0
- package/packages/components/table/index.js +546 -544
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +42 -42
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +15 -15
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +9 -0
- package/packages/components/tree/index.js +310 -309
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-v2/i18n/index.d.ts +8 -0
- package/packages/components/tree-v2/index.js +9 -8
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +6 -0
- package/packages/components/upload/index.js +57 -56
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
- package/packages/components/virtual-tree/index.js +12 -12
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/web-front-end/i18n/dasui_en-US.js +482 -478
- package/web-front-end/i18n/dasui_zh-CN.js +2 -2
- package/web-front-end/i18n/dasui_zh-MO.js +757 -0
- package/packages/business-components/ai-panel/index-14NcMHNj.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CViVnNHG.js.gz +0 -0
|
Binary file
|
|
@@ -2,16 +2,19 @@ declare const _default: {
|
|
|
2
2
|
关闭全部页签: {
|
|
3
3
|
'zh-CN': string;
|
|
4
4
|
en: string;
|
|
5
|
+
'zh-MO': string;
|
|
5
6
|
_appCode: string;
|
|
6
7
|
};
|
|
7
8
|
关闭其他页签: {
|
|
8
9
|
'zh-CN': string;
|
|
9
10
|
en: string;
|
|
11
|
+
'zh-MO': string;
|
|
10
12
|
_appCode: string;
|
|
11
13
|
};
|
|
12
14
|
关闭右侧页签: {
|
|
13
15
|
'zh-CN': string;
|
|
14
16
|
en: string;
|
|
17
|
+
'zh-MO': string;
|
|
15
18
|
_appCode: string;
|
|
16
19
|
};
|
|
17
20
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/tabs/style.css';
|
|
2
2
|
import { withInstall as J } from "@das-fed/upf-utils/with-install/index";
|
|
3
3
|
import { setThemeRule as Q } from "@das-fed/upf-web/packages/theme/index";
|
|
4
|
-
import { ref as P, computed as u, onMounted as X, defineComponent as Y, createBlock as x, createCommentVNode as A, openBlock as d, unref as l, mergeProps as N, createSlots as j, withCtx as c, createElementBlock as f, Fragment as
|
|
4
|
+
import { ref as P, computed as u, onMounted as X, defineComponent as Y, createBlock as x, createCommentVNode as A, openBlock as d, unref as l, mergeProps as N, createSlots as j, withCtx as c, createElementBlock as f, Fragment as O, renderList as K, normalizeStyle as Z, renderSlot as v, withDirectives as $, createTextVNode as B, toDisplayString as L, createElementVNode as ee, normalizeClass as te } from "vue";
|
|
5
5
|
import { DasIcon as ae } from "@das-fed/upf-ui/packages/components/icon/index";
|
|
6
6
|
import { vDasTooltip as R } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
7
7
|
import { Tabs as oe, TabPane as re } from "ant-design-vue";
|
|
@@ -13,7 +13,7 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
13
13
|
if (a)
|
|
14
14
|
return typeof a == "string" && ne(a) ? a : a + "px";
|
|
15
15
|
}, ie = (a, y) => {
|
|
16
|
-
const e = P({}),
|
|
16
|
+
const e = P({}), h = P([
|
|
17
17
|
{
|
|
18
18
|
key: "all",
|
|
19
19
|
name: I("关闭全部页签"),
|
|
@@ -30,31 +30,31 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
30
30
|
key: "right",
|
|
31
31
|
name: I("关闭右侧页签"),
|
|
32
32
|
disabled: !1,
|
|
33
|
-
hidden: (r, s) => r.findIndex((
|
|
33
|
+
hidden: (r, s) => r.findIndex((m) => {
|
|
34
34
|
var w, E;
|
|
35
|
-
return
|
|
35
|
+
return m[(w = a.defualtProps) == null ? void 0 : w.key] === s[(E = a.defualtProps) == null ? void 0 : E.key];
|
|
36
36
|
}) === r.length - 1
|
|
37
37
|
}
|
|
38
|
-
]), k = u(() => a.constomMenuList && a.constomMenuList.length ? a.constomMenuList :
|
|
38
|
+
]), k = u(() => a.constomMenuList && a.constomMenuList.length ? a.constomMenuList : h.value), C = u(() => {
|
|
39
39
|
let r;
|
|
40
40
|
return a.width && (r = D(a.width)), r;
|
|
41
41
|
}), g = u(() => {
|
|
42
42
|
let r = a.type === "lattice" ? "65px" : void 0;
|
|
43
43
|
return a.tabWidth && (r = D(a.tabWidth)), r;
|
|
44
|
-
}),
|
|
44
|
+
}), S = u(() => {
|
|
45
45
|
let r;
|
|
46
46
|
return a.tabMaxWidth && (r = D(a.tabMaxWidth)), r;
|
|
47
47
|
}), F = P(!1), b = P(), M = (r) => {
|
|
48
48
|
Object.keys(e.value).forEach((s) => {
|
|
49
49
|
(F.value || s != r) && (e.value[s] = !1);
|
|
50
50
|
});
|
|
51
|
-
},
|
|
51
|
+
}, p = (r) => {
|
|
52
52
|
const s = r.target.parentElement;
|
|
53
53
|
F.value = !s.classList.contains("ant-tabs-tab-btn");
|
|
54
|
-
},
|
|
54
|
+
}, z = (r, s) => {
|
|
55
55
|
var T;
|
|
56
|
-
y("menuClick", r, s), (T = b.value) != null && T.length && b.value.forEach((
|
|
57
|
-
|
|
56
|
+
y("menuClick", r, s), (T = b.value) != null && T.length && b.value.forEach((m) => {
|
|
57
|
+
m.hide();
|
|
58
58
|
});
|
|
59
59
|
};
|
|
60
60
|
return X(() => {
|
|
@@ -66,12 +66,12 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
66
66
|
realWidth: C,
|
|
67
67
|
realMenuList: k,
|
|
68
68
|
realTabWidth: g,
|
|
69
|
-
realTabMaxWidth:
|
|
69
|
+
realTabMaxWidth: S,
|
|
70
70
|
tabsMenuPoppver: b,
|
|
71
71
|
poppverVisible: e,
|
|
72
|
-
menuClick:
|
|
72
|
+
menuClick: z,
|
|
73
73
|
beforeEnter: M,
|
|
74
|
-
onContextmenu:
|
|
74
|
+
onContextmenu: p
|
|
75
75
|
};
|
|
76
76
|
}, V = {
|
|
77
77
|
"--das-ui-tabs-color": {
|
|
@@ -121,26 +121,26 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
121
121
|
},
|
|
122
122
|
emits: ["update:activeKey", "tabClick", "menuClick"],
|
|
123
123
|
setup(a, { emit: y }) {
|
|
124
|
-
const e = a,
|
|
124
|
+
const e = a, h = P(), k = (t) => {
|
|
125
125
|
var i;
|
|
126
|
-
b("tabClick", t), (i =
|
|
126
|
+
b("tabClick", t), (i = h.value) == null || i.$el.click();
|
|
127
127
|
}, C = u({
|
|
128
128
|
get: () => e.activeKey ?? "",
|
|
129
129
|
set: (t) => b("update:activeKey", t)
|
|
130
|
-
}), g = u(() => e.options.filter((i) => !i.hidden)),
|
|
130
|
+
}), g = u(() => e.options.filter((i) => !i.hidden)), S = (t) => e.isStrict ? !!(t.contentSlot && t[e.defualtProps.key] === C.value) : !!t.contentSlot, F = u(() => e.moreIconType ? e.moreIconType : e.type === "lattice" ? "default" : "arrow"), b = y, M = u(() => e.type === "lattice" ? "line" : e.type), p = u(() => {
|
|
131
131
|
if (e.type === "card")
|
|
132
132
|
return e.size ? e.size : "large";
|
|
133
133
|
if (e.type === "line")
|
|
134
134
|
return e.size ? e.size : "medium";
|
|
135
135
|
if (e.type === "editable-card")
|
|
136
136
|
return e.size ? e.size : "small";
|
|
137
|
-
}),
|
|
137
|
+
}), z = e.type === "editable-card" ? "#FAFAFA" : "#FFFFFF", r = u(() => {
|
|
138
138
|
if (e.tabPadding) return e.tabPadding;
|
|
139
|
-
if (
|
|
139
|
+
if (m.value || w.value) return "0";
|
|
140
140
|
if (e.type === "line") return "0 20px";
|
|
141
141
|
if (e.type === "card") {
|
|
142
|
-
if (
|
|
143
|
-
if (
|
|
142
|
+
if (p.value === "large") return "0 40px";
|
|
143
|
+
if (p.value === "medium" || p.value === "small") return "0 24px";
|
|
144
144
|
}
|
|
145
145
|
if (e.type === "lattice") return "0 20px";
|
|
146
146
|
}), s = u(() => {
|
|
@@ -153,9 +153,9 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
153
153
|
t[i] = ((o = V[i]) == null ? void 0 : o[e.theme]) ?? void 0;
|
|
154
154
|
}), {
|
|
155
155
|
"--das-ui-tabs-color": be,
|
|
156
|
-
"--das-ui-tabs-bg-color":
|
|
156
|
+
"--das-ui-tabs-bg-color": z,
|
|
157
157
|
"--das-ui-tabs-border-color": ve,
|
|
158
|
-
"---das-ui-tabs-tab-width":
|
|
158
|
+
"---das-ui-tabs-tab-width": m.value,
|
|
159
159
|
"---das-ui-tabs-tab-max-width": w.value,
|
|
160
160
|
"---das-ui-tabs-tab-padding": r.value,
|
|
161
161
|
...e.tabsStyle,
|
|
@@ -163,7 +163,7 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
163
163
|
...s.value
|
|
164
164
|
};
|
|
165
165
|
}), {
|
|
166
|
-
realTabWidth:
|
|
166
|
+
realTabWidth: m,
|
|
167
167
|
realTabMaxWidth: w,
|
|
168
168
|
realWidth: E,
|
|
169
169
|
menuClick: _,
|
|
@@ -176,8 +176,8 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
176
176
|
return (t, i) => g.value && g.value.length ? (d(), x(l(oe), N({
|
|
177
177
|
key: 0,
|
|
178
178
|
ref_key: "tabsContainerRef",
|
|
179
|
-
ref:
|
|
180
|
-
class: ["das-tabs", t.type,
|
|
179
|
+
ref: h,
|
|
180
|
+
class: ["das-tabs", t.type, p.value, t.hideOverflow ? "hide-overflow" : "", `theme-${t.theme}`],
|
|
181
181
|
style: T.value,
|
|
182
182
|
type: M.value,
|
|
183
183
|
hideAdd: t.hideAdd,
|
|
@@ -196,7 +196,7 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
196
196
|
], !0)
|
|
197
197
|
]),
|
|
198
198
|
default: c(() => [
|
|
199
|
-
(d(!0), f(
|
|
199
|
+
(d(!0), f(O, null, K(g.value, (o) => (d(), x(l(re), {
|
|
200
200
|
style: Z({ width: l(E) }),
|
|
201
201
|
key: o[t.defualtProps.key],
|
|
202
202
|
tab: void 0,
|
|
@@ -220,7 +220,7 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
220
220
|
onBeforeEnter: (n) => l(H)(o[t.defualtProps.key])
|
|
221
221
|
}), {
|
|
222
222
|
reference: c(() => [
|
|
223
|
-
o.tabSlot ? v(t.$slots, o.tabSlot, { key: 0 }, void 0, !0) :
|
|
223
|
+
o.tabSlot ? v(t.$slots, o.tabSlot, { key: 0 }, void 0, !0) : $((d(), f("div", {
|
|
224
224
|
key: 1,
|
|
225
225
|
class: "das-tab-label",
|
|
226
226
|
onContextmenu: i[0] || (i[0] = //@ts-ignore
|
|
@@ -233,8 +233,8 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
233
233
|
]),
|
|
234
234
|
default: c(() => [
|
|
235
235
|
ee("ul", ue, [
|
|
236
|
-
(d(!0), f(
|
|
237
|
-
(typeof n.hidden == "function" ? !n.hidden(t.options, o) : !n.hidden) ?
|
|
236
|
+
(d(!0), f(O, null, K(l(q), (n) => (d(), f(O, null, [
|
|
237
|
+
(typeof n.hidden == "function" ? !n.hidden(t.options, o) : !n.hidden) ? $((d(), f("li", {
|
|
238
238
|
key: n.key,
|
|
239
239
|
class: te([
|
|
240
240
|
"das-tabs-contextmenu-item",
|
|
@@ -250,8 +250,8 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
250
250
|
])
|
|
251
251
|
]),
|
|
252
252
|
_: 2
|
|
253
|
-
}, 1040, ["visible", "onUpdate:visible", "onBeforeEnter"])) : (d(), f(
|
|
254
|
-
o.tabSlot ? v(t.$slots, o.tabSlot, { key: 0 }, void 0, !0) :
|
|
253
|
+
}, 1040, ["visible", "onUpdate:visible", "onBeforeEnter"])) : (d(), f(O, { key: 0 }, [
|
|
254
|
+
o.tabSlot ? v(t.$slots, o.tabSlot, { key: 0 }, void 0, !0) : $((d(), f("div", de, [
|
|
255
255
|
B(L(o[t.defualtProps.tab]), 1)
|
|
256
256
|
])), [
|
|
257
257
|
[l(R)]
|
|
@@ -259,7 +259,7 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
259
259
|
], 64))
|
|
260
260
|
]),
|
|
261
261
|
default: c(() => [
|
|
262
|
-
|
|
262
|
+
S(o) ? v(t.$slots, o.contentSlot, { key: 0 }, void 0, !0) : A("", !0)
|
|
263
263
|
]),
|
|
264
264
|
_: 2
|
|
265
265
|
}, [
|
|
@@ -290,12 +290,12 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
290
290
|
} : void 0
|
|
291
291
|
]), 1040, ["class", "style", "type", "hideAdd", "activeKey"])) : A("", !0);
|
|
292
292
|
}
|
|
293
|
-
}),
|
|
293
|
+
}), he = (a, y) => {
|
|
294
294
|
const e = a.__vccOpts || a;
|
|
295
|
-
for (const [
|
|
296
|
-
e[
|
|
295
|
+
for (const [h, k] of y)
|
|
296
|
+
e[h] = k;
|
|
297
297
|
return e;
|
|
298
|
-
},
|
|
298
|
+
}, pe = /* @__PURE__ */ he(ye, [["__scopeId", "data-v-05e38772"]]), me = {
|
|
299
299
|
"--das-ui-tabs-active-color": "#5582F3",
|
|
300
300
|
"--das-ui-tabs-menu-color": "#212121",
|
|
301
301
|
"--das-ui-tabs-menu-hover-bg-color": "#F5F5F5",
|
|
@@ -307,14 +307,14 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
307
307
|
"--das-ui-card-tabs-bg-color": "#F5F5F5",
|
|
308
308
|
"--das-ui-card-tabs-active-color": "#5582F3"
|
|
309
309
|
}, ke = {
|
|
310
|
-
关闭全部页签: { "zh-CN": "关闭全部页签", en: "Close All Tabs", _appCode: "framework" },
|
|
311
|
-
关闭其他页签: { "zh-CN": "关闭其他页签", en: "Close Other Tabs", _appCode: "framework" },
|
|
312
|
-
关闭右侧页签: { "zh-CN": "关闭右侧页签", en: "Close Right Tabs", _appCode: "framework" }
|
|
310
|
+
关闭全部页签: { "zh-CN": "关闭全部页签", en: "Close All Tabs", "zh-MO": "關閉全部頁籤", _appCode: "framework" },
|
|
311
|
+
关闭其他页签: { "zh-CN": "关闭其他页签", en: "Close Other Tabs", "zh-MO": "關閉其他頁籤", _appCode: "framework" },
|
|
312
|
+
关闭右侧页签: { "zh-CN": "关闭右侧页签", en: "Close Right Tabs", "zh-MO": "關閉右側頁籤", _appCode: "framework" }
|
|
313
313
|
};
|
|
314
314
|
le(ke);
|
|
315
|
-
Q(
|
|
316
|
-
const Me = J(
|
|
315
|
+
Q(me);
|
|
316
|
+
const Me = J(pe), ze = { name: "Tabs 页签" };
|
|
317
317
|
export {
|
|
318
318
|
Me as DasTabs,
|
|
319
|
-
|
|
319
|
+
ze as default
|
|
320
320
|
};
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/tooltip/style.css';
|
|
2
|
-
import { defineComponent as S, useCssVars as E, computed as c, ref as m, onMounted as N, onBeforeMount as L, createBlock as V, openBlock as s, unref as x, mergeProps as _, withCtx as u, renderSlot as k, createElementBlock as p, createCommentVNode as b, normalizeStyle as
|
|
2
|
+
import { defineComponent as S, useCssVars as E, computed as c, ref as m, onMounted as N, onBeforeMount as L, createBlock as V, openBlock as s, unref as x, mergeProps as _, withCtx as u, renderSlot as k, createElementBlock as p, createCommentVNode as b, normalizeStyle as z, normalizeClass as M, toDisplayString as T, createVNode as D, createElementVNode as P, Fragment as I, createTextVNode as W, nextTick as q } from "vue";
|
|
3
3
|
import { setThemeRule as F } from "@das-fed/upf-web/packages/theme/index";
|
|
4
|
-
import { setI18nRule as
|
|
5
|
-
import { withInstall as
|
|
4
|
+
import { setI18nRule as O, t as X } from "@das-fed/upf-web/packages/i18n/index";
|
|
5
|
+
import { withInstall as Y } from "@das-fed/upf-utils/with-install/index";
|
|
6
6
|
import { DasScrollbar as j } from "@das-fed/upf-ui/packages/components/scrollbar/index";
|
|
7
7
|
import { ElTooltip as A } from "element-plus";
|
|
8
8
|
import "element-plus/es/components/tooltip/style/css";
|
|
@@ -25,9 +25,9 @@ const G = ["innerHTML"], J = { key: 1 }, K = /* @__PURE__ */ S({
|
|
|
25
25
|
emits: ["show", "hide"],
|
|
26
26
|
setup(n, { expose: d, emit: i }) {
|
|
27
27
|
E((e) => ({
|
|
28
|
-
f8f34e84:
|
|
28
|
+
f8f34e84: $.value
|
|
29
29
|
}));
|
|
30
|
-
const o = n, a = i, h = m(), w = m(!1),
|
|
30
|
+
const o = n, a = i, h = m(), w = m(!1), $ = c(() => Number(o.row)), B = c(() => o.disabled ?? (o.text ? !w.value : !1)), g = c(() => o.content || o.text), H = (e) => {
|
|
31
31
|
w.value = e.target.scrollHeight > e.target.clientHeight;
|
|
32
32
|
}, R = (e) => {
|
|
33
33
|
a("show", e), window.addEventListener("wheel", f);
|
|
@@ -63,14 +63,14 @@ const G = ["innerHTML"], J = { key: 1 }, K = /* @__PURE__ */ S({
|
|
|
63
63
|
onHide: v
|
|
64
64
|
}), {
|
|
65
65
|
content: u(() => [
|
|
66
|
-
|
|
66
|
+
D(x(j), null, {
|
|
67
67
|
default: u(() => [
|
|
68
|
-
|
|
69
|
-
class:
|
|
68
|
+
P("div", {
|
|
69
|
+
class: M({ "max-height": e.isMaxheight, "das-popper-content": !0 })
|
|
70
70
|
}, [
|
|
71
71
|
k(e.$slots, "content", {}, void 0, !0),
|
|
72
72
|
g.value && !e.$slots.content ? (s(), p(I, { key: 0 }, [
|
|
73
|
-
W(
|
|
73
|
+
W(T(g.value), 1)
|
|
74
74
|
], 64)) : b("", !0)
|
|
75
75
|
], 2)
|
|
76
76
|
]),
|
|
@@ -82,13 +82,13 @@ const G = ["innerHTML"], J = { key: 1 }, K = /* @__PURE__ */ S({
|
|
|
82
82
|
e.text ? (s(), p("div", {
|
|
83
83
|
key: 0,
|
|
84
84
|
onMouseenter: l[0] || (l[0] = (t) => H(t)),
|
|
85
|
-
class:
|
|
86
|
-
style:
|
|
85
|
+
class: M(`das-tooltip-text-wrap ${e.customClass}`),
|
|
86
|
+
style: z({ width: o.textWidth })
|
|
87
87
|
}, [
|
|
88
88
|
e.textHtml ? (s(), p("div", {
|
|
89
89
|
key: 0,
|
|
90
90
|
innerHTML: e.text
|
|
91
|
-
}, null, 8, G)) : (s(), p("div", J,
|
|
91
|
+
}, null, 8, G)) : (s(), p("div", J, T(e.text), 1))
|
|
92
92
|
], 38)) : b("", !0)
|
|
93
93
|
], !0)
|
|
94
94
|
]),
|
|
@@ -104,10 +104,10 @@ const G = ["innerHTML"], J = { key: 1 }, K = /* @__PURE__ */ S({
|
|
|
104
104
|
"--das-ui-tooltip-font-normal": "#212121",
|
|
105
105
|
"--das-ui-tooltip-font-light": "#fff",
|
|
106
106
|
"--das-ui-tooltip-bgff-color": "#fff"
|
|
107
|
-
}, ee = { 文字提示: { "zh-CN": "文字提示", en: "Text Prompt", _appCode: "framework" } };
|
|
108
|
-
|
|
107
|
+
}, ee = { 文字提示: { "zh-CN": "文字提示", en: "Text Prompt", "zh-MO": "文字提示", _appCode: "framework" } };
|
|
108
|
+
O(ee);
|
|
109
109
|
F(Z);
|
|
110
|
-
const pe = () => m(null), de =
|
|
110
|
+
const pe = () => m(null), de = Y(U), fe = { name: `Tooltip ${X("文字提示")}` };
|
|
111
111
|
export {
|
|
112
112
|
de as DasTooltip,
|
|
113
113
|
pe as DasTooltipRef,
|
|
Binary file
|
|
@@ -2,46 +2,55 @@ declare const _default: {
|
|
|
2
2
|
请搜索: {
|
|
3
3
|
'zh-CN': string;
|
|
4
4
|
en: string;
|
|
5
|
+
'zh-MO': string;
|
|
5
6
|
_appCode: string;
|
|
6
7
|
};
|
|
7
8
|
'\u641C\u7D22\u4E2D...': {
|
|
8
9
|
'zh-CN': string;
|
|
9
10
|
en: string;
|
|
11
|
+
'zh-MO': string;
|
|
10
12
|
_appCode: string;
|
|
11
13
|
};
|
|
12
14
|
新增同级: {
|
|
13
15
|
'zh-CN': string;
|
|
14
16
|
en: string;
|
|
17
|
+
'zh-MO': string;
|
|
15
18
|
_appCode: string;
|
|
16
19
|
};
|
|
17
20
|
新增子级: {
|
|
18
21
|
'zh-CN': string;
|
|
19
22
|
en: string;
|
|
23
|
+
'zh-MO': string;
|
|
20
24
|
_appCode: string;
|
|
21
25
|
};
|
|
22
26
|
编辑: {
|
|
23
27
|
'zh-CN': string;
|
|
24
28
|
en: string;
|
|
29
|
+
'zh-MO': string;
|
|
25
30
|
_appCode: string;
|
|
26
31
|
};
|
|
27
32
|
删除: {
|
|
28
33
|
'zh-CN': string;
|
|
29
34
|
en: string;
|
|
35
|
+
'zh-MO': string;
|
|
30
36
|
_appCode: string;
|
|
31
37
|
};
|
|
32
38
|
请选择: {
|
|
33
39
|
'zh-CN': string;
|
|
34
40
|
en: string;
|
|
41
|
+
'zh-MO': string;
|
|
35
42
|
_appCode: string;
|
|
36
43
|
};
|
|
37
44
|
暂无数据: {
|
|
38
45
|
'zh-CN': string;
|
|
39
46
|
en: string;
|
|
47
|
+
'zh-MO': string;
|
|
40
48
|
_appCode: string;
|
|
41
49
|
};
|
|
42
50
|
noDataTryAnotherKeyword: {
|
|
43
51
|
'zh-CN': string;
|
|
44
52
|
en: string;
|
|
53
|
+
'zh-MO': string;
|
|
45
54
|
_appCode: string;
|
|
46
55
|
};
|
|
47
56
|
};
|