@das-fed/upf-ui 6.4.0-dev.309 → 6.4.0-dev.310
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/front-end/i18n/front-end-page/dasui_en-US.js +2 -2
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +2 -2
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +2 -2
- package/package.json +7 -7
- package/packages/business-components/ai-panel/{index-BdLFU3HT.js → index-C1XseEkL.js} +1 -1
- package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-Cc1_Wpca.js → index-_XzaXcle.js} +1136 -1154
- package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +1 -1
- package/packages/business-components/app-container/index.js +56 -56
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/index.d.ts +30 -30
- package/packages/business-components/area-phone-select/index.js +87 -87
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +4 -4
- package/packages/business-components/change-enterprises/index.js +20 -20
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +15 -15
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
- package/packages/business-components/currency-page/index.js +39 -39
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +46 -46
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +92 -92
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +171 -171
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +42 -42
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.d.ts +4 -4
- package/packages/business-components/model-table-dialog/index.js +233 -233
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/index.js +44 -44
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +939 -939
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
- package/packages/business-components/process-log/index.js +331 -331
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +2 -2
- package/packages/business-components/process-table/index.d.ts +14 -14
- package/packages/business-components/upload-file/index.js +43 -43
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +340 -340
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +17 -17
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/alert/index.d.ts +4 -4
- package/packages/components/alert/index.js +5 -5
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/audio-video/index.js +141 -141
- package/packages/components/audio-video/index.js.gz +0 -0
- package/packages/components/autocomplete/index.d.ts +6 -6
- package/packages/components/autocomplete/index.js +162 -162
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/index.js +37 -37
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.js +223 -223
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +164 -164
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.d.ts +8 -8
- package/packages/components/cascader/index.js +89 -89
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +12 -12
- package/packages/components/checkbox/index.js +180 -180
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +12 -12
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collaspe/index.d.ts +4 -4
- package/packages/components/collaspe/index.js +22 -22
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/custom-search-item/index.d.ts +4 -4
- package/packages/components/custom-search-item/index.js +36 -36
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +658 -658
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.js +1 -1
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
- package/packages/components/dimple-layout/index.js +31 -73
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +33 -33
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.d.ts +4 -4
- package/packages/components/edit-table/index.js +190 -190
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/empty/index.js +29 -29
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +31 -31
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form/index.d.ts +14 -14
- package/packages/components/form/index.js +23 -23
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form-item/index.js +771 -771
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/image-upload/index.js +90 -90
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +418 -418
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/infinite-scroll/index.d.ts +1 -3
- package/packages/components/infinite-scroll/index.js +509 -509
- package/packages/components/infinite-scroll/index.js.gz +0 -0
- package/packages/components/infinite-scroll/src/index.vue.d.ts +1 -3
- package/packages/components/infinite-scroll/src/type.d.ts +78 -78
- package/packages/components/infinite-scroll/style.css +1 -1
- package/packages/components/infinite-scroll/style.css.gz +0 -0
- package/packages/components/input/index.js +544 -544
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -2
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +82 -82
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.js +103 -103
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/live-player/index.d.ts +4 -4
- package/packages/components/loading/index.js +1 -1
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +600 -600
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +17 -17
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.js +91 -91
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.d.ts +4 -4
- package/packages/components/popover/index.js +33 -33
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popup-mask/index.js +13 -13
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/progress/index.js +93 -93
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +10 -10
- package/packages/components/radio/index.js +175 -175
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +234 -234
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +2 -2
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +68 -68
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/index.js +736 -736
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +212 -212
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.js +77 -77
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-list/index.js +430 -430
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +140 -140
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/style.css +1 -1
- package/packages/components/special-range-picker-month/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +169 -169
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/style.css +1 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/index.js +37 -37
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.d.ts +8 -8
- package/packages/components/split-panel/index.js +27 -27
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/switch/style.css +1 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/table/index.d.ts +103 -103
- package/packages/components/table/index.js +1869 -1869
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +9 -9
- package/packages/components/tabs/index.js +101 -101
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/text-tooltip/src/type.d.ts +5 -5
- package/packages/components/time-line/index.js +35 -35
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.d.ts +6 -6
- package/packages/components/tooltip/index.js +62 -62
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/index.js +426 -426
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +233 -233
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +14 -14
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
- package/packages/components/tree-table/index.d.ts +2 -2
- package/packages/components/tree-table/index.js +181 -181
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1308 -1308
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +145 -155
- package/packages/components/tree-v2/style.css +1 -1
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/upload/index.js +98 -98
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +62 -62
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
- package/release-meta.json +4 -4
- package/packages/business-components/ai-panel/index-BdLFU3HT.js.gz +0 -0
- package/packages/business-components/ai-panel/index-Cc1_Wpca.js.gz +0 -0
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall as h } from "@das-fed/upf-utils/with-install/index";
|
|
2
|
-
import { computed as m, defineComponent as f, openBlock as
|
|
2
|
+
import { computed as m, defineComponent as f, openBlock as s, createElementBlock as i, createVNode as p, unref as a, mergeProps as _, withCtx as n, createElementVNode as l, renderSlot as c, Fragment as g, renderList as y, createBlock as H, withDirectives as b, createTextVNode as v, toDisplayString as x } from "vue";
|
|
3
3
|
import { Tabs as D, TabPane as k } from "ant-design-vue";
|
|
4
4
|
import "ant-design-vue/es/tabs/style/css";
|
|
5
5
|
import { vDasTooltip as E } from "@das-fed/upf-ui/packages/components/text-tooltip/index"
|
|
@@ -25,42 +25,42 @@ const w = (e, u) => ({
|
|
|
25
25
|
emits: ["update:currentKey"],
|
|
26
26
|
setup(e, { emit: u }) {
|
|
27
27
|
const o = e, { realHeight: t } = w(o);
|
|
28
|
-
return (
|
|
29
|
-
p(
|
|
30
|
-
style: { height:
|
|
28
|
+
return (r, C) => (s(), i("div", B, [
|
|
29
|
+
p(a(D), _(r.$attrs, {
|
|
30
|
+
style: { height: a(t) },
|
|
31
31
|
type: "editable-card",
|
|
32
32
|
contextmenu: !1,
|
|
33
33
|
hideAdd: !0
|
|
34
34
|
}), {
|
|
35
|
-
leftExtra:
|
|
35
|
+
leftExtra: n(() => [
|
|
36
36
|
l("div", N, [
|
|
37
|
-
c(
|
|
37
|
+
c(r.$slots, "header-left")
|
|
38
38
|
])
|
|
39
39
|
]),
|
|
40
|
-
rightExtra:
|
|
40
|
+
rightExtra: n(() => [
|
|
41
41
|
l("div", V, [
|
|
42
|
-
c(
|
|
42
|
+
c(r.$slots, "header-right")
|
|
43
43
|
])
|
|
44
44
|
]),
|
|
45
|
-
default:
|
|
46
|
-
(
|
|
45
|
+
default: n(() => [
|
|
46
|
+
(s(!0), i(
|
|
47
47
|
g,
|
|
48
48
|
null,
|
|
49
|
-
y(
|
|
50
|
-
|
|
49
|
+
y(r.menus, (d) => (s(), H(
|
|
50
|
+
a(k),
|
|
51
51
|
{
|
|
52
52
|
key: d.code
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
tab:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
tab: n(() => [
|
|
56
|
+
b((s(), i("div", M, [
|
|
57
|
+
v(
|
|
58
|
+
x(d.name),
|
|
59
59
|
1
|
|
60
60
|
/* TEXT */
|
|
61
61
|
)
|
|
62
62
|
])), [
|
|
63
|
-
[
|
|
63
|
+
[a(E)]
|
|
64
64
|
])
|
|
65
65
|
]),
|
|
66
66
|
_: 2
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as D, openBlock as
|
|
1
|
+
import { defineComponent as D, openBlock as u, createElementBlock as _, createElementVNode as N, ref as T, computed as d, createBlock as B, withCtx as C, createVNode as v, Fragment as U, renderList as H, normalizeClass as y, createTextVNode as O, toDisplayString as x, unref as l, withDirectives as J, reactive as K, watch as Q, onMounted as W, nextTick as X, createCommentVNode as P, mergeProps as Y, isRef as V, renderSlot as Z } from "vue";
|
|
2
2
|
import { withInstall as ee } from "@das-fed/upf-utils/with-install/index";
|
|
3
3
|
import { t as S, currentLang as ae, setI18nRule as te } from "@das-fed/upf-web/packages/i18n/index";
|
|
4
4
|
import { DasAutoRegisterIcon as le, DasIcon as b } from "@das-fed/upf-ui/packages/components/icon/index";
|
|
@@ -7,7 +7,7 @@ import "element-plus/es/components/pagination/style/css";
|
|
|
7
7
|
import { useModelValue as A } from "@das-fed/upf-utils/vue";
|
|
8
8
|
import se from "element-plus/dist/locale/zh-cn.mjs";
|
|
9
9
|
import ie from "element-plus/dist/locale/en.mjs";
|
|
10
|
-
import { ElIcon as re, ElDropdownItem as
|
|
10
|
+
import { ElIcon as re, ElDropdownItem as pe, ElDropdownMenu as ue, ElDropdown as ce } from "element-plus/es";
|
|
11
11
|
import "element-plus/es/components/base/style/css";
|
|
12
12
|
import "element-plus/es/components/dropdown/style/css";
|
|
13
13
|
import "element-plus/es/components/dropdown-menu/style/css";
|
|
@@ -16,23 +16,23 @@ import "element-plus/es/components/icon/style/css";
|
|
|
16
16
|
import { vDasTooltip as de } from "@das-fed/upf-ui/packages/components/text-tooltip/index"
|
|
17
17
|
import '@das-fed/upf-ui/packages/components/pagination/style.css';
|
|
18
18
|
;
|
|
19
|
-
/*! Element Plus Icons Vue v2.3.
|
|
19
|
+
/*! Element Plus Icons Vue v2.3.1 */
|
|
20
20
|
var ge = /* @__PURE__ */ D({
|
|
21
21
|
name: "ArrowDown",
|
|
22
22
|
__name: "arrow-down",
|
|
23
|
-
setup(
|
|
24
|
-
return (
|
|
23
|
+
setup(m) {
|
|
24
|
+
return (f, n) => (u(), _("svg", {
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
26
26
|
viewBox: "0 0 1024 1024"
|
|
27
27
|
}, [
|
|
28
28
|
N("path", {
|
|
29
29
|
fill: "currentColor",
|
|
30
|
-
d: "M831.872 340.864 512 652.672 192.128 340.864a30.
|
|
30
|
+
d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
|
|
31
31
|
})
|
|
32
32
|
]));
|
|
33
33
|
}
|
|
34
|
-
}),
|
|
35
|
-
const
|
|
34
|
+
}), ve = ge;
|
|
35
|
+
const me = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }, _e = {
|
|
36
36
|
name: "DasPaginationSizes"
|
|
37
37
|
}, ze = /* @__PURE__ */ D({
|
|
38
38
|
..._e,
|
|
@@ -41,39 +41,39 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
|
|
|
41
41
|
pageSize: { default: 20 }
|
|
42
42
|
},
|
|
43
43
|
emits: ["update:pageSize", "size-change"],
|
|
44
|
-
setup(
|
|
45
|
-
const
|
|
46
|
-
get: () =>
|
|
47
|
-
set: (
|
|
48
|
-
o("update:pageSize",
|
|
44
|
+
setup(m, { emit: f }) {
|
|
45
|
+
const n = m, o = f, k = T(!1), g = d({
|
|
46
|
+
get: () => n.pageSize,
|
|
47
|
+
set: (p) => {
|
|
48
|
+
o("update:pageSize", p);
|
|
49
49
|
}
|
|
50
|
-
}),
|
|
51
|
-
k.value =
|
|
52
|
-
}, E = (
|
|
53
|
-
|
|
50
|
+
}), s = (p) => {
|
|
51
|
+
k.value = p;
|
|
52
|
+
}, E = (p) => {
|
|
53
|
+
g.value = p, o("size-change", p);
|
|
54
54
|
};
|
|
55
|
-
return (
|
|
56
|
-
const z = re, h =
|
|
57
|
-
return
|
|
55
|
+
return (p, M) => {
|
|
56
|
+
const z = re, h = pe, e = ue, c = ce;
|
|
57
|
+
return u(), B(c, {
|
|
58
58
|
"popper-class": "pagination-sizes-popper",
|
|
59
59
|
trigger: "click",
|
|
60
|
-
onVisibleChange:
|
|
60
|
+
onVisibleChange: s,
|
|
61
61
|
onCommand: E
|
|
62
62
|
}, {
|
|
63
63
|
dropdown: C(() => [
|
|
64
64
|
v(e, null, {
|
|
65
65
|
default: C(() => [
|
|
66
|
-
(
|
|
66
|
+
(u(!0), _(
|
|
67
67
|
U,
|
|
68
68
|
null,
|
|
69
|
-
H(
|
|
70
|
-
class: y(["sizes-item",
|
|
71
|
-
key:
|
|
72
|
-
command:
|
|
69
|
+
H(p.pageSizes, (i) => (u(), B(h, {
|
|
70
|
+
class: y(["sizes-item", i === p.pageSize ? "selected" : ""]),
|
|
71
|
+
key: i,
|
|
72
|
+
command: i
|
|
73
73
|
}, {
|
|
74
74
|
default: C(() => [
|
|
75
75
|
O(
|
|
76
|
-
x(
|
|
76
|
+
x(l(S)("pagination-items_per_page", i)),
|
|
77
77
|
1
|
|
78
78
|
/* TEXT */
|
|
79
79
|
)
|
|
@@ -90,21 +90,21 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
|
|
|
90
90
|
})
|
|
91
91
|
]),
|
|
92
92
|
default: C(() => [
|
|
93
|
-
N("span",
|
|
94
|
-
J((
|
|
93
|
+
N("span", me, [
|
|
94
|
+
J((u(), _("span", fe, [
|
|
95
95
|
O(
|
|
96
|
-
x(
|
|
96
|
+
x(l(S)("pagination-items_per_page", g.value)),
|
|
97
97
|
1
|
|
98
98
|
/* TEXT */
|
|
99
99
|
)
|
|
100
100
|
])), [
|
|
101
|
-
[
|
|
101
|
+
[l(de)]
|
|
102
102
|
]),
|
|
103
103
|
v(z, {
|
|
104
104
|
class: y(["arrow-icon", k.value ? "rotate180" : ""])
|
|
105
105
|
}, {
|
|
106
106
|
default: C(() => [
|
|
107
|
-
v(
|
|
107
|
+
v(l(ve))
|
|
108
108
|
]),
|
|
109
109
|
_: 1
|
|
110
110
|
/* STABLE */
|
|
@@ -116,11 +116,11 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
|
|
|
116
116
|
});
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}), R = (
|
|
120
|
-
const
|
|
121
|
-
for (const [o, k] of
|
|
122
|
-
|
|
123
|
-
return
|
|
119
|
+
}), R = (m, f) => {
|
|
120
|
+
const n = m.__vccOpts || m;
|
|
121
|
+
for (const [o, k] of f)
|
|
122
|
+
n[o] = k;
|
|
123
|
+
return n;
|
|
124
124
|
}, Ce = /* @__PURE__ */ R(ze, [["__scopeId", "data-v-4363ca14"]]), ke = { class: "total-page" }, ye = {
|
|
125
125
|
name: "TotalPage"
|
|
126
126
|
}, he = /* @__PURE__ */ D({
|
|
@@ -128,11 +128,11 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
|
|
|
128
128
|
props: {
|
|
129
129
|
totalPage: {}
|
|
130
130
|
},
|
|
131
|
-
setup(
|
|
132
|
-
return (
|
|
131
|
+
setup(m) {
|
|
132
|
+
return (f, n) => (u(), _(
|
|
133
133
|
"div",
|
|
134
134
|
ke,
|
|
135
|
-
x(
|
|
135
|
+
x(l(S)("pagination-total_page", f.totalPage)),
|
|
136
136
|
1
|
|
137
137
|
/* TEXT */
|
|
138
138
|
));
|
|
@@ -159,28 +159,28 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
|
|
|
159
159
|
popperClass: {}
|
|
160
160
|
},
|
|
161
161
|
emits: ["update:modelValue", "update:pageSize", "size-change", "current-change", "prev-click", "next-click", "first-click", "last-click"],
|
|
162
|
-
setup(
|
|
163
|
-
const
|
|
162
|
+
setup(m, { emit: f }) {
|
|
163
|
+
const n = m, o = f;
|
|
164
164
|
le({
|
|
165
165
|
"arrow-first": import("@das-fed/upf-ui/packages/icons/arrow-first"),
|
|
166
166
|
left: import("@das-fed/upf-ui/packages/icons/left"),
|
|
167
167
|
right: import("@das-fed/upf-ui/packages/icons/right"),
|
|
168
168
|
"arrow-last": import("@das-fed/upf-ui/packages/icons/arrow-last")
|
|
169
169
|
});
|
|
170
|
-
const k =
|
|
170
|
+
const k = d(() => ae.value === "zh-CN" ? se : ie), g = T(), s = K({
|
|
171
171
|
first: !1,
|
|
172
172
|
pre: !1,
|
|
173
173
|
next: !1,
|
|
174
174
|
last: !1
|
|
175
|
-
}), E =
|
|
176
|
-
o("update:pageSize",
|
|
177
|
-
}, w = (
|
|
178
|
-
o("update:modelValue",
|
|
175
|
+
}), E = d(() => n.layout), p = d(() => n.background), M = d(() => n.pageSizes), z = d(() => n.total), h = d(() => n.simple), e = A(n, "modelValue"), c = A(n, "pageSize"), i = d(() => Math.ceil(z.value / c.value)), I = d(() => h.value ? "prev, slot, next" : E.value || "total,jumper,slot,sizes"), L = d(() => I.value.replace(/\s*/g, "").split(",").filter((a) => a !== "total" && a !== "sizes").join(",")), j = (t) => {
|
|
176
|
+
o("update:pageSize", t), o("size-change", t);
|
|
177
|
+
}, w = (t) => {
|
|
178
|
+
o("update:modelValue", t), o("current-change", t);
|
|
179
179
|
}, F = () => o("prev-click", e.value), q = () => o("next-click", e.value), G = () => {
|
|
180
|
-
|
|
180
|
+
s.first = i.value === 0 || e.value <= 1, s.pre = i.value === 0 || e.value <= 1, s.next = i.value === 0 || e.value === i.value, s.last = i.value === 0 || e.value === i.value;
|
|
181
181
|
};
|
|
182
182
|
Q(
|
|
183
|
-
() => [e.value,
|
|
183
|
+
() => [e.value, i.value],
|
|
184
184
|
() => {
|
|
185
185
|
G();
|
|
186
186
|
},
|
|
@@ -188,8 +188,8 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
|
|
|
188
188
|
immediate: !0
|
|
189
189
|
}
|
|
190
190
|
);
|
|
191
|
-
const $ = (
|
|
192
|
-
const
|
|
191
|
+
const $ = (t, a) => {
|
|
192
|
+
const r = /* @__PURE__ */ new Map([
|
|
193
193
|
[
|
|
194
194
|
"first",
|
|
195
195
|
() => {
|
|
@@ -211,89 +211,89 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
|
|
|
211
211
|
[
|
|
212
212
|
"last",
|
|
213
213
|
() => {
|
|
214
|
-
e.value !== z.value && (e.value =
|
|
214
|
+
e.value !== z.value && (e.value = i.value, w(e.value), o("last-click", e.value));
|
|
215
215
|
}
|
|
216
216
|
]
|
|
217
217
|
]);
|
|
218
218
|
if (a) return;
|
|
219
|
-
|
|
219
|
+
r.get(t)();
|
|
220
220
|
};
|
|
221
221
|
return W(() => {
|
|
222
222
|
X(() => {
|
|
223
|
-
var
|
|
224
|
-
(
|
|
223
|
+
var t, a, r;
|
|
224
|
+
(t = g.value) != null && t.$el && ((a = g.value.$el) != null && a.getElementsByClassName("el-pagination__goto")[0] && (g.value.$el.getElementsByClassName("el-pagination__goto")[0].innerText = S("第")), (r = g.value.$el) != null && r.getElementsByClassName("el-pagination__classifier")[0] && (g.value.$el.getElementsByClassName("el-pagination__classifier")[0].innerText = S("页")));
|
|
225
225
|
});
|
|
226
|
-
}), (
|
|
227
|
-
I.value.includes("total") ? (
|
|
226
|
+
}), (t, a) => (u(), _("div", xe, [
|
|
227
|
+
I.value.includes("total") ? (u(), B(l(we), {
|
|
228
228
|
key: 0,
|
|
229
|
-
"total-page":
|
|
229
|
+
"total-page": i.value,
|
|
230
230
|
style: { "margin-right": "12px" }
|
|
231
231
|
}, null, 8, ["total-page"])) : P("v-if", !0),
|
|
232
|
-
v(
|
|
232
|
+
v(l(oe), { locale: k.value }, {
|
|
233
233
|
default: C(() => [
|
|
234
|
-
v(
|
|
234
|
+
v(l(ne), Y({
|
|
235
235
|
ref_key: "dasPagination",
|
|
236
|
-
ref:
|
|
237
|
-
class: { background:
|
|
238
|
-
currentPage:
|
|
239
|
-
"onUpdate:currentPage": a[4] || (a[4] = (
|
|
240
|
-
"page-size":
|
|
241
|
-
"onUpdate:pageSize": a[5] || (a[5] = (
|
|
236
|
+
ref: g,
|
|
237
|
+
class: { background: p.value, simple: h.value },
|
|
238
|
+
currentPage: l(e),
|
|
239
|
+
"onUpdate:currentPage": a[4] || (a[4] = (r) => V(e) ? e.value = r : null),
|
|
240
|
+
"page-size": l(c),
|
|
241
|
+
"onUpdate:pageSize": a[5] || (a[5] = (r) => V(c) ? c.value = r : null),
|
|
242
242
|
"page-sizes": M.value,
|
|
243
243
|
layout: L.value,
|
|
244
244
|
total: z.value,
|
|
245
|
-
small:
|
|
246
|
-
background:
|
|
247
|
-
disabled:
|
|
248
|
-
"popper-class":
|
|
245
|
+
small: t.small,
|
|
246
|
+
background: p.value,
|
|
247
|
+
disabled: t.disabled,
|
|
248
|
+
"popper-class": t.popperClass ? `das-pagination-popper ${t.popperClass}` : "das-pagination-popper",
|
|
249
249
|
teleported: !1,
|
|
250
250
|
onCurrentChange: w,
|
|
251
251
|
onPrevClick: F,
|
|
252
252
|
onNextClick: q
|
|
253
|
-
},
|
|
253
|
+
}, t.$attrs), {
|
|
254
254
|
default: C(() => [
|
|
255
|
-
L.value.includes("slot") ? Z(
|
|
256
|
-
|
|
255
|
+
L.value.includes("slot") ? Z(t.$slots, "default", { key: 0 }, () => [
|
|
256
|
+
t.$slots.default ? P("v-if", !0) : (u(), _(
|
|
257
257
|
U,
|
|
258
258
|
{ key: 0 },
|
|
259
259
|
[
|
|
260
|
-
h.value ? (
|
|
260
|
+
h.value ? (u(), _(
|
|
261
261
|
"div",
|
|
262
262
|
Se,
|
|
263
|
-
x(
|
|
263
|
+
x(l(e)) + "/" + x(Math.ceil(z.value / l(c))),
|
|
264
264
|
1
|
|
265
265
|
/* TEXT */
|
|
266
|
-
)) : (
|
|
266
|
+
)) : (u(), _("div", $e, [
|
|
267
267
|
N("div", Pe, [
|
|
268
|
-
v(
|
|
269
|
-
class: y(["page-icon",
|
|
268
|
+
v(l(b), {
|
|
269
|
+
class: y(["page-icon", s.first ? "disabled" : ""]),
|
|
270
270
|
icon: "arrow-first",
|
|
271
271
|
iconColor: "var(--upf-text-secondary)",
|
|
272
272
|
size: "medium",
|
|
273
|
-
onClick: a[0] || (a[0] = (
|
|
273
|
+
onClick: a[0] || (a[0] = (r) => $("first", s.first))
|
|
274
274
|
}, null, 8, ["class"]),
|
|
275
|
-
v(
|
|
276
|
-
class: y(["page-icon",
|
|
275
|
+
v(l(b), {
|
|
276
|
+
class: y(["page-icon", s.pre ? "disabled" : ""]),
|
|
277
277
|
icon: "left",
|
|
278
278
|
iconColor: "var(--upf-text-secondary)",
|
|
279
279
|
size: "medium",
|
|
280
|
-
onClick: a[1] || (a[1] = (
|
|
280
|
+
onClick: a[1] || (a[1] = (r) => $("pre", s.pre))
|
|
281
281
|
}, null, 8, ["class"])
|
|
282
282
|
]),
|
|
283
283
|
N("div", be, [
|
|
284
|
-
v(
|
|
285
|
-
class: y(["page-icon",
|
|
284
|
+
v(l(b), {
|
|
285
|
+
class: y(["page-icon", s.next ? "disabled" : ""]),
|
|
286
286
|
icon: "right",
|
|
287
287
|
iconColor: "var(--upf-text-secondary)",
|
|
288
288
|
size: "medium",
|
|
289
|
-
onClick: a[2] || (a[2] = (
|
|
289
|
+
onClick: a[2] || (a[2] = (r) => $("next", s.next))
|
|
290
290
|
}, null, 8, ["class"]),
|
|
291
|
-
v(
|
|
292
|
-
class: y(["page-icon",
|
|
291
|
+
v(l(b), {
|
|
292
|
+
class: y(["page-icon", s.last ? "disabled" : ""]),
|
|
293
293
|
icon: "arrow-last",
|
|
294
294
|
iconColor: "var(--upf-text-secondary)",
|
|
295
295
|
size: "medium",
|
|
296
|
-
onClick: a[3] || (a[3] = (
|
|
296
|
+
onClick: a[3] || (a[3] = (r) => $("last", s.last))
|
|
297
297
|
}, null, 8, ["class"])
|
|
298
298
|
])
|
|
299
299
|
]))
|
|
@@ -310,11 +310,11 @@ const ve = { class: "sizes-dropdown-link" }, fe = { class: "current-page-size" }
|
|
|
310
310
|
_: 3
|
|
311
311
|
/* FORWARDED */
|
|
312
312
|
}, 8, ["locale"]),
|
|
313
|
-
I.value.includes("sizes") ? (
|
|
313
|
+
I.value.includes("sizes") ? (u(), B(l(Ce), {
|
|
314
314
|
key: 1,
|
|
315
315
|
"page-sizes": M.value,
|
|
316
|
-
pageSize:
|
|
317
|
-
"onUpdate:pageSize": a[6] || (a[6] = (
|
|
316
|
+
pageSize: l(c),
|
|
317
|
+
"onUpdate:pageSize": a[6] || (a[6] = (r) => V(c) ? c.value = r : null),
|
|
318
318
|
onSizeChange: j
|
|
319
319
|
}, null, 8, ["page-sizes", "pageSize"])) : P("v-if", !0)
|
|
320
320
|
]));
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.sizes-dropdown-link[data-v-4363ca14]{display:flex;align-items:center;margin-left:12px}.sizes-dropdown-link .arrow-icon[data-v-4363ca14]{font-size:14px;transition:transform .3s}.sizes-dropdown-link .rotate180[data-v-4363ca14]{transform:rotate(180deg)}.sizes-dropdown-link .current-page-size[data-v-4363ca14]{font-size:12px;color:var(--upf-text-primary);margin-right:9px}.sizes-dropdown-link:hover .arrow-icon[data-v-4363ca14]{color:var(--upf-color-primary)}.pagination-sizes-popper{min-width:108px}.pagination-sizes-popper .el-popper__arrow{display:none}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item{display:flex;justify-content:flex-end;padding-right:24px;font-size:12px;color:var(--upf-text-primary);background-color:transparent}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:not(.is-disabled):focus{color:var(--upf-text-primary);background-color:transparent}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:not(.is-disabled):hover{color:var(--upf-text-primary);background-color:var(--upf-bg-secondary)}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected{color:var(--upf-color-primary);background-color:var(--upf-color-primary-bg);font-weight:400}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected:not(.is-disabled):focus,.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected:not(.is-disabled):hover{color:var(--upf-color-primary);background-color:var(--upf-color-primary-bg)}.total-page[data-v-c314d3d0]{font-size:12px;color:var(--upf-text-secondary)}.das-ui-pagination
|
|
1
|
+
.sizes-dropdown-link[data-v-4363ca14]{display:flex;align-items:center;margin-left:12px}.sizes-dropdown-link .arrow-icon[data-v-4363ca14]{font-size:14px;transition:transform .3s}.sizes-dropdown-link .rotate180[data-v-4363ca14]{transform:rotate(180deg)}.sizes-dropdown-link .current-page-size[data-v-4363ca14]{font-size:12px;color:var(--upf-text-primary);margin-right:9px}.sizes-dropdown-link:hover .arrow-icon[data-v-4363ca14]{color:var(--upf-color-primary)}.pagination-sizes-popper{min-width:108px}.pagination-sizes-popper .el-popper__arrow{display:none}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item{display:flex;justify-content:flex-end;padding-right:24px;font-size:12px;color:var(--upf-text-primary);background-color:transparent}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:not(.is-disabled):focus{color:var(--upf-text-primary);background-color:transparent}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item:not(.is-disabled):hover{color:var(--upf-text-primary);background-color:var(--upf-bg-secondary)}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected{color:var(--upf-color-primary);background-color:var(--upf-color-primary-bg);font-weight:400}.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected:not(.is-disabled):focus,.pagination-sizes-popper .sizes-item.el-dropdown-menu__item.selected:not(.is-disabled):hover{color:var(--upf-color-primary);background-color:var(--upf-color-primary-bg)}.total-page[data-v-c314d3d0]{font-size:12px;color:var(--upf-text-secondary)}.das-ui-pagination[data-v-ffe7d6be]{display:flex;align-items:center;--el-color-primary: var(--upf-color-primary);--upf-pagination-active-border-color: var(--upf-form-active-border-color, var(--upf-color-primary));padding:0}.das-ui-pagination .flex-center__y[data-v-ffe7d6be]{display:flex;align-items:center}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__goto,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__classifier{color:#666!important}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__classifier,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__editor{margin-left:4px}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump{margin-left:12px}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump .el-input__wrapper.is-focus,.das-ui-pagination[data-v-ffe7d6be] .el-pagination__jump .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--upf-pagination-active-border-color) inset}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input__wrapper{box-shadow:none!important}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input{width:85px}.das-ui-pagination[data-v-ffe7d6be] .el-select .el-input .el-select__caret{color:var(--upf-text-secondary);margin-left:0}.das-ui-pagination[data-v-ffe7d6be] .el-pagination__sizes{display:flex;flex-direction:column;justify-content:center;margin-left:0;margin-right:0}.das-ui-pagination.simple[data-v-ffe7d6be]{border:1px solid var(--upf-border-color);background:var(--upf-bg-primary)}.das-ui-pagination.simple[data-v-ffe7d6be]:hover{border-color:var(--upf-color-primary)}.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]{cursor:pointer;margin-right:8px}.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]:hover,.das-ui-pagination .page-container .page-icon[data-v-ffe7d6be]:active{fill:var(--upf-color-primary)}.das-ui-pagination .page-container .page-icon.disabled[data-v-ffe7d6be]{cursor:not-allowed;fill:var(--upf-text-disabled)}
|
|
Binary file
|
|
@@ -4,11 +4,11 @@ declare const DasPopoverRef: () => import("vue").Ref<({
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: {
|
|
6
6
|
readonly title?: string | undefined;
|
|
7
|
-
readonly width?:
|
|
7
|
+
readonly width?: string | number | undefined;
|
|
8
8
|
readonly content?: string | undefined;
|
|
9
9
|
readonly popperClass?: string | undefined;
|
|
10
10
|
readonly showBtns?: boolean | undefined;
|
|
11
|
-
readonly placement?:
|
|
11
|
+
readonly placement?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
|
|
12
12
|
readonly onCancel?: (() => any) | undefined;
|
|
13
13
|
readonly onConfirm?: (() => any) | undefined;
|
|
14
14
|
readonly onClickOutside?: (() => any) | undefined;
|
|
@@ -82,11 +82,11 @@ declare const DasPopoverRef: () => import("vue").Ref<({
|
|
|
82
82
|
$data: {};
|
|
83
83
|
$props: {
|
|
84
84
|
readonly title?: string | undefined;
|
|
85
|
-
readonly width?:
|
|
85
|
+
readonly width?: string | number | undefined;
|
|
86
86
|
readonly content?: string | undefined;
|
|
87
87
|
readonly popperClass?: string | undefined;
|
|
88
88
|
readonly showBtns?: boolean | undefined;
|
|
89
|
-
readonly placement?:
|
|
89
|
+
readonly placement?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
|
|
90
90
|
readonly onCancel?: (() => any) | undefined;
|
|
91
91
|
readonly onConfirm?: (() => any) | undefined;
|
|
92
92
|
readonly onClickOutside?: (() => any) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as O, useAttrs as
|
|
1
|
+
import { defineComponent as O, useAttrs as _, ref as C, computed as D, openBlock as s, createBlock as P, unref as t, mergeProps as b, withCtx as r, renderSlot as d, withDirectives as g, createElementBlock as p, toDisplayString as n, createCommentVNode as m, createElementVNode as z, createTextVNode as a, createVNode as u } from "vue";
|
|
2
2
|
import { withInstall as R } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
-
import { i18n as
|
|
3
|
+
import { i18n as f, setI18nRule as V } from "@das-fed/upf-web/packages/i18n/index";
|
|
4
4
|
import { ElPopover as E, ClickOutside as I } from "element-plus";
|
|
5
|
-
import { DasButton as
|
|
5
|
+
import { DasButton as v } from "@das-fed/upf-ui/packages/components/button/index";
|
|
6
6
|
import "element-plus/es/components/popover/style/css";
|
|
7
7
|
import "@das-fed/upf-ui/packages/global/theme"
|
|
8
8
|
import '@das-fed/upf-ui/packages/components/popover/style.css';
|
|
@@ -24,47 +24,47 @@ const M = { class: "das-ui-popover-container" }, S = {
|
|
|
24
24
|
placement: { default: "bottom-start" }
|
|
25
25
|
},
|
|
26
26
|
emits: ["cancel", "confirm", "clickOutside"],
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
29
|
-
let
|
|
30
|
-
return
|
|
27
|
+
setup(h, { expose: k, emit: w }) {
|
|
28
|
+
const l = h, i = w, $ = _(), c = C(null), y = D(() => {
|
|
29
|
+
let e = "das-ui-popover-over-container";
|
|
30
|
+
return l.popperClass && (e = `${e} ${l.popperClass}`), e;
|
|
31
31
|
}), N = () => {
|
|
32
|
-
$.visible !== void 0 &&
|
|
32
|
+
$.visible !== void 0 && i("clickOutside");
|
|
33
33
|
};
|
|
34
|
-
return k({ $popoverRef:
|
|
34
|
+
return k({ $popoverRef: c }), (e, o) => (s(), P(t(E), b({
|
|
35
35
|
ref_key: "$popoverRef",
|
|
36
|
-
ref:
|
|
36
|
+
ref: c,
|
|
37
37
|
class: "das-ui-popover",
|
|
38
38
|
placement: e.placement,
|
|
39
39
|
width: e.width,
|
|
40
40
|
"popper-class": y.value
|
|
41
|
-
},
|
|
41
|
+
}, e.$attrs), {
|
|
42
42
|
reference: r(() => [
|
|
43
|
-
|
|
43
|
+
d(e.$slots, "reference")
|
|
44
44
|
]),
|
|
45
45
|
default: r(() => [
|
|
46
|
-
g((
|
|
47
|
-
e.title ? (
|
|
46
|
+
g((s(), p("div", M, [
|
|
47
|
+
e.title ? (s(), p(
|
|
48
48
|
"div",
|
|
49
49
|
S,
|
|
50
|
-
|
|
50
|
+
n(e.title),
|
|
51
51
|
1
|
|
52
52
|
/* TEXT */
|
|
53
|
-
)) :
|
|
54
|
-
|
|
53
|
+
)) : m("v-if", !0),
|
|
54
|
+
d(e.$slots, "default", {}, () => [
|
|
55
55
|
z("div", T, [
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
a(
|
|
57
|
+
n(e.content) + " ",
|
|
58
58
|
1
|
|
59
59
|
/* TEXT */
|
|
60
60
|
),
|
|
61
|
-
e.showBtns ? (
|
|
62
|
-
|
|
63
|
-
onClick:
|
|
61
|
+
e.showBtns ? (s(), p("div", A, [
|
|
62
|
+
u(t(v), {
|
|
63
|
+
onClick: o[0] || (o[0] = (B) => i("cancel"))
|
|
64
64
|
}, {
|
|
65
65
|
default: r(() => [
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
a(
|
|
67
|
+
n(t(f)("das-ui-popover-cancel").value),
|
|
68
68
|
1
|
|
69
69
|
/* TEXT */
|
|
70
70
|
)
|
|
@@ -72,14 +72,14 @@ const M = { class: "das-ui-popover-container" }, S = {
|
|
|
72
72
|
_: 1
|
|
73
73
|
/* STABLE */
|
|
74
74
|
}),
|
|
75
|
-
|
|
75
|
+
u(t(v), {
|
|
76
76
|
btnType: "primary",
|
|
77
|
-
onClick:
|
|
77
|
+
onClick: o[1] || (o[1] = (B) => i("confirm")),
|
|
78
78
|
style: { "margin-left": "12px" }
|
|
79
79
|
}, {
|
|
80
80
|
default: r(() => [
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
a(
|
|
82
|
+
n(t(f)("das-ui-popover-confirm").value),
|
|
83
83
|
1
|
|
84
84
|
/* TEXT */
|
|
85
85
|
)
|
|
@@ -87,23 +87,23 @@ const M = { class: "das-ui-popover-container" }, S = {
|
|
|
87
87
|
_: 1
|
|
88
88
|
/* STABLE */
|
|
89
89
|
})
|
|
90
|
-
])) :
|
|
90
|
+
])) : m("v-if", !0)
|
|
91
91
|
])
|
|
92
92
|
])
|
|
93
93
|
])), [
|
|
94
|
-
[
|
|
94
|
+
[t(I), N]
|
|
95
95
|
])
|
|
96
96
|
]),
|
|
97
97
|
_: 3
|
|
98
98
|
/* FORWARDED */
|
|
99
99
|
}, 16, ["placement", "width", "popper-class"]));
|
|
100
100
|
}
|
|
101
|
-
}),
|
|
101
|
+
}), j = {
|
|
102
102
|
"das-ui-popover-confirm": { "zh-CN": "确定", en: "OK", "zh-MO": "確定", _appCode: "framework" },
|
|
103
103
|
"das-ui-popover-cancel": { "zh-CN": "取消", en: "Cancel", "zh-MO": "取消", _appCode: "framework" }
|
|
104
104
|
};
|
|
105
|
-
V(
|
|
106
|
-
const Q = () =>
|
|
105
|
+
V(j);
|
|
106
|
+
const Q = () => C(null), U = R(K), W = { title: "Popover 气泡卡片" };
|
|
107
107
|
export {
|
|
108
108
|
U as DasPopover,
|
|
109
109
|
Q as DasPopoverRef,
|
|
Binary file
|