@aplus-frontend/ui 7.13.6 → 7.13.8
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/es/src/ag-grid/components/body-cell/index.vue2.mjs +7 -7
- package/es/src/ag-grid/components/empty/index.vue2.mjs +10 -10
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +37 -37
- package/es/src/ag-grid/components/row/index.vue2.mjs +5 -5
- package/es/src/ag-grid/components/tooltip/index.vue2.mjs +12 -12
- package/es/src/ag-grid/editable/form-item.vue.mjs +49 -49
- package/es/src/ag-grid/editable/index.vue.mjs +27 -27
- package/es/src/ag-grid/index.vue.mjs +249 -249
- package/es/src/ap-action/group/index.vue.mjs +15 -15
- package/es/src/ap-action/item/index.vue2.mjs +28 -28
- package/es/src/ap-action/item-dropdown/index.vue.mjs +39 -39
- package/es/src/ap-field/checkbox/index.vue.mjs +19 -19
- package/es/src/ap-field/checkbox/read.vue2.mjs +9 -9
- package/es/src/ap-field/date/index.vue.mjs +50 -50
- package/es/src/ap-field/date/read.vue2.mjs +7 -7
- package/es/src/ap-field/date-range/index.vue.mjs +30 -30
- package/es/src/ap-field/date-range/read.vue2.mjs +20 -20
- package/es/src/ap-field/number/index.vue.mjs +24 -24
- package/es/src/ap-field/radio/index.vue.mjs +24 -24
- package/es/src/ap-field/second/index.vue.mjs +15 -15
- package/es/src/ap-field/second/read.vue2.mjs +7 -7
- package/es/src/ap-field/segmented/index.vue.mjs +24 -24
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.mjs +246 -206
- package/es/src/ap-field/select/read.vue2.mjs +6 -6
- package/es/src/ap-field/slider/index.vue.mjs +11 -11
- package/es/src/ap-field/style/select.mjs +17 -4
- package/es/src/ap-field/switch/index.vue.mjs +45 -45
- package/es/src/ap-field/text/read-password.vue2.mjs +13 -13
- package/es/src/ap-field/text/read.vue2.mjs +3 -3
- package/es/src/ap-field/text-area/index.vue.mjs +29 -29
- package/es/src/ap-field/text-area/read.vue2.mjs +12 -12
- package/es/src/ap-field/tree-select/index.vue.mjs +31 -31
- package/es/src/ap-form/ap-form.vue2.mjs +46 -46
- package/es/src/ap-form/drawer-form/index.vue.mjs +30 -30
- package/es/src/ap-form/item/index.vue.mjs +75 -75
- package/es/src/ap-form/items/checkbox/index.vue.mjs +10 -10
- package/es/src/ap-form/items/number/index.vue.mjs +17 -17
- package/es/src/ap-form/items/radio/index.vue.mjs +13 -13
- package/es/src/ap-form/items/select/index.vue.d.ts +4 -4
- package/es/src/ap-form/items/switch/index.vue.mjs +14 -14
- package/es/src/ap-form/items/text/index.vue2.mjs +26 -26
- package/es/src/ap-form/items/text/password.vue.mjs +19 -19
- package/es/src/ap-form/items/text-area/index.vue.mjs +17 -17
- package/es/src/ap-form/modal-form/index.vue.mjs +34 -34
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +39 -39
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +7 -7
- package/es/src/ap-grid/editable/form-item.vue.mjs +46 -46
- package/es/src/ap-grid/editable/index.vue.mjs +19 -19
- package/es/src/ap-grid/index.vue.mjs +212 -212
- package/es/src/ap-list/index.vue.mjs +116 -116
- package/es/src/ap-table/ap-table.vue2.mjs +217 -217
- package/es/src/ap-table/components/index/index.vue2.mjs +9 -9
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -42
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +21 -21
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +69 -69
- package/es/src/ap-table/components/setting/template/edit-form.vue2.mjs +22 -22
- package/es/src/ap-table/components/setting/template/index.vue2.mjs +25 -25
- package/es/src/ap-table/components/setting/template/item.vue2.mjs +40 -40
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +13 -13
- package/es/src/ap-table/constants.d.ts +2 -2
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +54 -54
- package/es/src/business/ag-grid-modal/selected-items/default.vue2.mjs +13 -13
- package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +20 -20
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +33 -33
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +13 -13
- package/es/src/business/ap-download/ap-download.vue.mjs +24 -24
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +77 -77
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +168 -157
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +33 -33
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +12 -12
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +43 -43
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +57 -57
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +37 -37
- package/es/src/business/ap-tag/ap-tag.vue.mjs +24 -24
- package/es/src/business/ap-title/ApTitle.vue2.mjs +27 -27
- package/es/src/business/ap-value-select-card/index.vue2.mjs +98 -98
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/form-item.vue.mjs +25 -25
- package/es/src/business/batch-input-group/index.vue.mjs +60 -60
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +29 -29
- package/es/src/editable-table/form-item.vue.mjs +35 -35
- package/es/src/editable-table/index.vue.mjs +19 -19
- package/es/src/full-screen/index.vue.mjs +46 -46
- package/es/src/mask/index.vue.mjs +48 -48
- package/es/src/portal/index.vue.mjs +5 -5
- package/es/src/scroll-bar/internal.vue.mjs +62 -62
- package/es/src/scroll-view/index.vue.mjs +66 -66
- package/es/src/skeleton/components/desc/index.vue2.mjs +9 -9
- package/es/src/skeleton/components/desc/item-large.vue2.mjs +25 -25
- package/es/src/skeleton/components/desc/item.vue2.mjs +13 -13
- package/es/src/skeleton/components/list/index.vue2.mjs +14 -14
- package/es/src/skeleton/components/list/item.vue2.mjs +12 -12
- package/es/src/skeleton/components/page-header/index.vue2.mjs +8 -8
- package/es/src/skeleton/components/search-form/index.vue2.mjs +35 -35
- package/es/src/skeleton/components/table/index.vue2.mjs +17 -17
- package/es/src/skeleton/components/table/item.vue2.mjs +23 -23
- package/es/src/skeleton/descriptions.vue2.mjs +15 -15
- package/es/src/skeleton/list-page.vue2.mjs +12 -12
- package/es/src/splitter/Panel.vue2.mjs +11 -11
- package/es/src/splitter/SplitBar.vue2.mjs +79 -79
- package/es/src/splitter/Splitter.vue2.mjs +50 -50
- package/es/src/text/group.vue.mjs +8 -8
- package/es/src/text/index.vue.mjs +48 -48
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/components/body-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/components/empty/index.vue2.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/components/row/index.vue2.js +1 -1
- package/lib/src/ag-grid/components/tooltip/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue2.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/second/read.vue2.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/style/select.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue2.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +4 -4
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/index/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/template/edit-form.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/template/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/template/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/selected-items/default.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
- package/lib/src/business/ap-status/group/ApStatusGroup.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/portal/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/components/desc/item-large.vue2.js +1 -1
- package/lib/src/skeleton/components/desc/item.vue2.js +1 -1
- package/lib/src/skeleton/components/list/index.vue2.js +1 -1
- package/lib/src/skeleton/components/list/item.vue2.js +1 -1
- package/lib/src/skeleton/components/page-header/index.vue2.js +1 -1
- package/lib/src/skeleton/components/search-form/index.vue2.js +1 -1
- package/lib/src/skeleton/components/table/index.vue2.js +1 -1
- package/lib/src/skeleton/components/table/item.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/Panel.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Card as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as x, computed as n, unref as e, createBlock as y, openBlock as o, withCtx as i, createVNode as t, createElementBlock as u, Fragment as B, renderList as k, normalizeStyle as w, createElementVNode as _ } from "vue";
|
|
2
|
+
import { Card as C, Flex as c, Skeleton as l } from "@aplus-frontend/antdv";
|
|
3
|
+
import E from "@aplus-frontend/antdv/es/_util/hooks/useBreakpoint";
|
|
4
|
+
const S = { style: {
|
|
5
5
|
width: "20%"
|
|
6
|
-
} }, N = /* @__PURE__ */
|
|
6
|
+
} }, N = /* @__PURE__ */ x({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: {
|
|
9
9
|
active: { type: Boolean }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
11
|
+
setup(a) {
|
|
12
|
+
const d = {
|
|
13
13
|
lg: !0,
|
|
14
14
|
md: !0,
|
|
15
15
|
sm: !1,
|
|
16
16
|
xl: !1,
|
|
17
17
|
xs: !1,
|
|
18
18
|
xxl: !1
|
|
19
|
-
},
|
|
19
|
+
}, p = {
|
|
20
20
|
xs: 2,
|
|
21
21
|
sm: 2,
|
|
22
22
|
md: 4,
|
|
23
23
|
lg: 4,
|
|
24
24
|
xl: 5,
|
|
25
25
|
xxl: 5
|
|
26
|
-
},
|
|
27
|
-
const
|
|
28
|
-
return Object.keys(
|
|
29
|
-
}), s =
|
|
30
|
-
() =>
|
|
26
|
+
}, f = E(), g = n(() => f.value || d), h = n(() => {
|
|
27
|
+
const r = e(g);
|
|
28
|
+
return Object.keys(r).filter((m) => r[m] === !0).pop() || "md";
|
|
29
|
+
}), s = n(
|
|
30
|
+
() => p[h.value] || 4
|
|
31
31
|
);
|
|
32
|
-
return (
|
|
32
|
+
return (r, m) => (o(), y(e(C), {
|
|
33
33
|
variant: "borderless",
|
|
34
34
|
style: { marginBlockEnd: "16px" }
|
|
35
35
|
}, {
|
|
36
|
-
default:
|
|
37
|
-
|
|
36
|
+
default: i(() => [
|
|
37
|
+
t(e(c), {
|
|
38
38
|
gap: 8,
|
|
39
39
|
style: { marginBlockEnd: "16px" }
|
|
40
40
|
}, {
|
|
41
|
-
default:
|
|
42
|
-
(o(!0),
|
|
43
|
-
key:
|
|
44
|
-
style:
|
|
41
|
+
default: i(() => [
|
|
42
|
+
(o(!0), u(B, null, k(new Array(s.value).fill(null), (b, v) => (o(), u("div", {
|
|
43
|
+
key: v,
|
|
44
|
+
style: w({ width: `${100 / s.value}%` })
|
|
45
45
|
}, [
|
|
46
|
-
|
|
47
|
-
active:
|
|
46
|
+
t(e(l), {
|
|
47
|
+
active: a.active,
|
|
48
48
|
paragraph: !1,
|
|
49
49
|
title: { style: { height: "24px", marginBottom: 0 } }
|
|
50
50
|
}, null, 8, ["active"])
|
|
@@ -52,34 +52,34 @@ const E = { style: {
|
|
|
52
52
|
]),
|
|
53
53
|
_: 1
|
|
54
54
|
}),
|
|
55
|
-
|
|
55
|
+
t(e(c), {
|
|
56
56
|
gap: 8,
|
|
57
57
|
justify: "space-between"
|
|
58
58
|
}, {
|
|
59
|
-
default:
|
|
60
|
-
|
|
61
|
-
default:
|
|
62
|
-
|
|
63
|
-
active:
|
|
59
|
+
default: i(() => [
|
|
60
|
+
t(e(c), { gap: 8 }, {
|
|
61
|
+
default: i(() => [
|
|
62
|
+
t(e(l), {
|
|
63
|
+
active: a.active,
|
|
64
64
|
paragraph: !1,
|
|
65
65
|
title: { style: { height: "24px", marginBottom: 0 }, width: 48 }
|
|
66
66
|
}, null, 8, ["active"]),
|
|
67
|
-
|
|
68
|
-
active:
|
|
67
|
+
t(e(l), {
|
|
68
|
+
active: a.active,
|
|
69
69
|
paragraph: !1,
|
|
70
70
|
title: { style: { height: "24px", marginBottom: 0 }, width: 48 }
|
|
71
71
|
}, null, 8, ["active"]),
|
|
72
|
-
|
|
73
|
-
active:
|
|
72
|
+
t(e(l), {
|
|
73
|
+
active: a.active,
|
|
74
74
|
paragraph: !1,
|
|
75
75
|
title: { style: { height: "24px", marginBottom: 0 }, width: 48 }
|
|
76
76
|
}, null, 8, ["active"])
|
|
77
77
|
]),
|
|
78
78
|
_: 1
|
|
79
79
|
}),
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
active:
|
|
80
|
+
_("div", S, [
|
|
81
|
+
t(e(l), {
|
|
82
|
+
active: a.active,
|
|
83
83
|
paragraph: !1,
|
|
84
84
|
title: {
|
|
85
85
|
style: { height: "24px", marginBottom: 0 }
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Card as
|
|
1
|
+
import { defineComponent as m, createBlock as n, openBlock as l, unref as t, withCtx as c, createCommentVNode as u, createVNode as a, createElementBlock as s, createElementVNode as r, Fragment as v, renderList as f } from "vue";
|
|
2
|
+
import { Card as x, Flex as p, Skeleton as i } from "@aplus-frontend/antdv";
|
|
3
3
|
import "./item.vue.mjs";
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import o from "./item.vue2.mjs";
|
|
5
|
+
const y = { style: {
|
|
6
6
|
display: "flex",
|
|
7
7
|
justifyContent: "flex-end",
|
|
8
8
|
paddingBlockStart: "16px"
|
|
9
|
-
} },
|
|
9
|
+
} }, C = /* @__PURE__ */ m({
|
|
10
10
|
name: "ApSkeletonTable",
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
@@ -14,15 +14,15 @@ const h = { style: {
|
|
|
14
14
|
size: { default: 4 },
|
|
15
15
|
actions: { type: Boolean, default: void 0 }
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
return (
|
|
19
|
-
default:
|
|
20
|
-
e.actions !== !1 ? (l(), n(t(
|
|
17
|
+
setup(e) {
|
|
18
|
+
return (h, B) => (l(), n(t(x), { variant: "borderless" }, {
|
|
19
|
+
default: c(() => [
|
|
20
|
+
e.actions !== !1 ? (l(), n(t(p), {
|
|
21
21
|
key: 0,
|
|
22
22
|
justify: "space-between"
|
|
23
23
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
24
|
+
default: c(() => [
|
|
25
|
+
r("div", null, [
|
|
26
26
|
a(t(i).Button, {
|
|
27
27
|
active: e.active,
|
|
28
28
|
size: "small",
|
|
@@ -45,16 +45,16 @@ const h = { style: {
|
|
|
45
45
|
}, null, 8, ["active"])
|
|
46
46
|
]),
|
|
47
47
|
_: 1
|
|
48
|
-
})) :
|
|
49
|
-
a(
|
|
48
|
+
})) : u("", !0),
|
|
49
|
+
a(o, {
|
|
50
50
|
header: "",
|
|
51
51
|
active: e.active
|
|
52
52
|
}, null, 8, ["active"]),
|
|
53
|
-
(l(!0),
|
|
54
|
-
key:
|
|
53
|
+
(l(!0), s(v, null, f(new Array(e.size).fill(null), (k, d) => (l(), n(o, {
|
|
54
|
+
key: d,
|
|
55
55
|
active: e.active
|
|
56
56
|
}, null, 8, ["active"]))), 128)),
|
|
57
|
-
|
|
57
|
+
r("div", y, [
|
|
58
58
|
a(t(i), {
|
|
59
59
|
active: e.active,
|
|
60
60
|
paragraph: !1,
|
|
@@ -74,5 +74,5 @@ const h = { style: {
|
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
C as default
|
|
78
78
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as v, computed as a, unref as t, createElementBlock as n, openBlock as r, Fragment as c, createElementVNode as s, createVNode as i, normalizeStyle as p, renderList as k } from "vue";
|
|
2
2
|
import { Skeleton as m } from "@aplus-frontend/antdv";
|
|
3
|
-
import
|
|
4
|
-
import { ApSkeletonLine as
|
|
5
|
-
const
|
|
3
|
+
import S from "@aplus-frontend/antdv/es/_util/hooks/useBreakpoint";
|
|
4
|
+
import { ApSkeletonLine as B } from "../line/index.mjs";
|
|
5
|
+
const b = { style: {
|
|
6
6
|
flex: 3,
|
|
7
7
|
paddingInlineStart: "32px"
|
|
8
|
-
} },
|
|
8
|
+
} }, C = /* @__PURE__ */ v({
|
|
9
9
|
name: "ApSkeletonTableItem",
|
|
10
10
|
__name: "item",
|
|
11
11
|
props: {
|
|
12
12
|
active: { type: Boolean },
|
|
13
13
|
header: { type: Boolean, default: !1 }
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
15
|
+
setup(e) {
|
|
16
16
|
const u = {
|
|
17
17
|
lg: !0,
|
|
18
18
|
md: !0,
|
|
@@ -20,36 +20,36 @@ const _ = { style: {
|
|
|
20
20
|
xl: !1,
|
|
21
21
|
xs: !1,
|
|
22
22
|
xxl: !1
|
|
23
|
-
},
|
|
23
|
+
}, x = {
|
|
24
24
|
xs: 1,
|
|
25
25
|
sm: 2,
|
|
26
26
|
md: 3,
|
|
27
27
|
lg: 3,
|
|
28
28
|
xl: 3,
|
|
29
29
|
xxl: 4
|
|
30
|
-
}, f =
|
|
31
|
-
const
|
|
32
|
-
return Object.keys(
|
|
33
|
-
}),
|
|
34
|
-
() =>
|
|
30
|
+
}, f = S(), g = a(() => f.value || u), y = a(() => {
|
|
31
|
+
const l = t(g);
|
|
32
|
+
return Object.keys(l).filter((o) => l[o] === !0)[0] || "md";
|
|
33
|
+
}), h = a(
|
|
34
|
+
() => x[y.value] || 3
|
|
35
35
|
);
|
|
36
|
-
return (
|
|
36
|
+
return (l, o) => (r(), n(c, null, [
|
|
37
37
|
s("div", {
|
|
38
|
-
style:
|
|
38
|
+
style: p({
|
|
39
39
|
display: "flex",
|
|
40
40
|
background: e.header ? "rgba(0,0,0,0.02)" : "none",
|
|
41
41
|
padding: "20px 8px"
|
|
42
42
|
})
|
|
43
43
|
}, [
|
|
44
|
-
(
|
|
45
|
-
key:
|
|
46
|
-
style:
|
|
44
|
+
(r(!0), n(c, null, k(new Array(h.value).fill(null), (w, d) => (r(), n("div", {
|
|
45
|
+
key: d,
|
|
46
|
+
style: p({
|
|
47
47
|
flex: 1,
|
|
48
|
-
paddingInlineStart: e.header &&
|
|
48
|
+
paddingInlineStart: e.header && d === 0 ? "8px" : "20px",
|
|
49
49
|
paddingInlineEnd: "32px"
|
|
50
50
|
})
|
|
51
51
|
}, [
|
|
52
|
-
|
|
52
|
+
i(t(m), {
|
|
53
53
|
active: e.active,
|
|
54
54
|
paragraph: !1,
|
|
55
55
|
title: {
|
|
@@ -61,8 +61,8 @@ const _ = { style: {
|
|
|
61
61
|
}
|
|
62
62
|
}, null, 8, ["active", "title"])
|
|
63
63
|
], 4))), 128)),
|
|
64
|
-
s("div",
|
|
65
|
-
|
|
64
|
+
s("div", b, [
|
|
65
|
+
i(t(m), {
|
|
66
66
|
active: e.active,
|
|
67
67
|
paragraph: !1,
|
|
68
68
|
title: {
|
|
@@ -71,10 +71,10 @@ const _ = { style: {
|
|
|
71
71
|
}, null, 8, ["active", "title"])
|
|
72
72
|
])
|
|
73
73
|
], 4),
|
|
74
|
-
|
|
74
|
+
i(t(B), { style: { padding: "0px 0px" } })
|
|
75
75
|
], 64));
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
C as default
|
|
80
80
|
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as o, createElementBlock as c, openBlock as t, createBlock as i, createCommentVNode as a, createVNode as n, unref as l } from "vue";
|
|
2
2
|
import "./components/desc/index.vue.mjs";
|
|
3
|
-
import { ApSkeletonLine as
|
|
3
|
+
import { ApSkeletonLine as r } from "./components/line/index.mjs";
|
|
4
4
|
import "./components/list/index.vue.mjs";
|
|
5
5
|
import "./components/page-header/index.vue.mjs";
|
|
6
6
|
import m from "./components/page-header/index.vue2.mjs";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
7
|
+
import f from "./components/desc/index.vue2.mjs";
|
|
8
|
+
import u from "./components/list/index.vue2.mjs";
|
|
9
|
+
const s = { style: {
|
|
10
10
|
width: "100%"
|
|
11
|
-
} },
|
|
11
|
+
} }, g = /* @__PURE__ */ o({
|
|
12
12
|
__name: "descriptions",
|
|
13
13
|
props: {
|
|
14
14
|
active: { type: Boolean, default: !0 },
|
|
15
15
|
pageHeader: { type: Boolean, default: void 0 },
|
|
16
16
|
list: { type: [Boolean, Number], default: 3 }
|
|
17
17
|
},
|
|
18
|
-
setup(
|
|
19
|
-
return (
|
|
20
|
-
e.pageHeader !== !1 ? (t(),
|
|
18
|
+
setup(e) {
|
|
19
|
+
return (d, v) => (t(), c("div", s, [
|
|
20
|
+
e.pageHeader !== !1 ? (t(), i(m, {
|
|
21
21
|
key: 0,
|
|
22
22
|
active: e.active
|
|
23
|
-
}, null, 8, ["active"])) :
|
|
24
|
-
n(
|
|
25
|
-
e.list !== !1 ? (t(),
|
|
26
|
-
e.list !== !1 ? (t(),
|
|
23
|
+
}, null, 8, ["active"])) : a("", !0),
|
|
24
|
+
n(f, { active: e.active }, null, 8, ["active"]),
|
|
25
|
+
e.list !== !1 ? (t(), i(l(r), { key: 1 })) : a("", !0),
|
|
26
|
+
e.list !== !1 ? (t(), i(u, {
|
|
27
27
|
key: 2,
|
|
28
28
|
active: e.active,
|
|
29
29
|
size: e.list,
|
|
30
30
|
"action-button": !!e.list
|
|
31
|
-
}, null, 8, ["active", "size", "action-button"])) :
|
|
31
|
+
}, null, 8, ["active", "size", "action-button"])) : a("", !0)
|
|
32
32
|
]));
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
g as default
|
|
37
37
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as i, createElementBlock as
|
|
1
|
+
import { defineComponent as i, createElementBlock as n, openBlock as t, createBlock as a, createCommentVNode as o, createVNode as l, unref as c, withCtx as r } from "vue";
|
|
2
2
|
import { Card as m } from "@aplus-frontend/antdv";
|
|
3
3
|
import "./components/page-header/index.vue.mjs";
|
|
4
4
|
import "./components/search-form/index.vue.mjs";
|
|
5
5
|
import "./components/table/index.vue.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
6
|
+
import d from "./components/page-header/index.vue2.mjs";
|
|
7
|
+
import f from "./components/search-form/index.vue2.mjs";
|
|
8
|
+
import s from "./components/table/index.vue2.mjs";
|
|
9
|
+
const u = { style: {
|
|
10
10
|
width: "100%"
|
|
11
11
|
} }, N = /* @__PURE__ */ i({
|
|
12
12
|
name: "ApSkeletonListPage",
|
|
@@ -18,22 +18,22 @@ const f = { style: {
|
|
|
18
18
|
searchForm: { type: Boolean, default: void 0 },
|
|
19
19
|
list: { type: [Number, Boolean], default: 5 }
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
22
|
-
return (
|
|
23
|
-
e.pageHeader !== !1 ? (t(), a(
|
|
21
|
+
setup(e) {
|
|
22
|
+
return (v, y) => (t(), n("div", u, [
|
|
23
|
+
e.pageHeader !== !1 ? (t(), a(d, {
|
|
24
24
|
key: 0,
|
|
25
25
|
active: e.active
|
|
26
26
|
}, null, 8, ["active"])) : o("", !0),
|
|
27
|
-
e.searchForm !== !1 ? (t(), a(
|
|
27
|
+
e.searchForm !== !1 ? (t(), a(f, {
|
|
28
28
|
key: 1,
|
|
29
29
|
active: e.active
|
|
30
30
|
}, null, 8, ["active"])) : o("", !0),
|
|
31
|
-
|
|
31
|
+
l(c(m), {
|
|
32
32
|
variant: "borderless",
|
|
33
33
|
"body-style": { padding: 0 }
|
|
34
34
|
}, {
|
|
35
|
-
default:
|
|
36
|
-
e.list !== !1 ? (t(), a(
|
|
35
|
+
default: r(() => [
|
|
36
|
+
e.list !== !1 ? (t(), a(s, {
|
|
37
37
|
key: 0,
|
|
38
38
|
size: e.list,
|
|
39
39
|
active: e.active,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as o, computed as r, createElementBlock as i, openBlock as c, normalizeStyle as m, normalizeClass as p, unref as s, renderSlot as u } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as d } from "../config-provider/hooks/use-namespace.mjs";
|
|
4
|
-
const
|
|
4
|
+
const x = /* @__PURE__ */ o({
|
|
5
5
|
name: "InternalSplitterPanel",
|
|
6
6
|
__name: "Panel",
|
|
7
7
|
props: {
|
|
@@ -14,23 +14,23 @@ const B = /* @__PURE__ */ n({
|
|
|
14
14
|
resizable: { type: Boolean },
|
|
15
15
|
defaultSize: {}
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
const e =
|
|
17
|
+
setup(t) {
|
|
18
|
+
const l = t, { b: a } = d("splitter-panel"), n = r(() => {
|
|
19
|
+
const e = l.size !== void 0;
|
|
20
20
|
return {
|
|
21
|
-
...
|
|
22
|
-
flexBasis: e ? `${
|
|
21
|
+
...l.style,
|
|
22
|
+
flexBasis: e ? `${l.size}px` : "auto",
|
|
23
23
|
flexGrow: e ? 0 : 1
|
|
24
24
|
};
|
|
25
25
|
});
|
|
26
|
-
return (e, f) => (
|
|
27
|
-
class:
|
|
28
|
-
style: m(
|
|
26
|
+
return (e, f) => (c(), i("div", {
|
|
27
|
+
class: p([s(a)(), { [s(a)("hidden")]: t.size === 0 }, t.className]),
|
|
28
|
+
style: m(n.value)
|
|
29
29
|
}, [
|
|
30
30
|
u(e.$slots, "default")
|
|
31
31
|
], 6));
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
x as default
|
|
36
36
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, ref as S, computed as
|
|
1
|
+
import { defineComponent as P, ref as S, computed as z, unref as a, watchEffect as U, createElementBlock as h, openBlock as w, normalizeClass as d, createCommentVNode as y, createElementVNode as x, normalizeStyle as T, createBlock as D, resolveDynamicComponent as F, createVNode as B } from "vue";
|
|
2
2
|
import { UpOutlined as A, DownOutlined as R, LeftOutlined as $, RightOutlined as j } from "@ant-design/icons-vue";
|
|
3
3
|
import "../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as q } from "../config-provider/hooks/use-namespace.mjs";
|
|
@@ -48,121 +48,121 @@ const G = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], W = /* @__PURE__
|
|
|
48
48
|
type: [Boolean, String]
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
setup(
|
|
52
|
-
function
|
|
53
|
-
return typeof
|
|
51
|
+
setup(s) {
|
|
52
|
+
function C(t) {
|
|
53
|
+
return typeof t == "number" && !Number.isNaN(t) ? Math.round(t) : 0;
|
|
54
54
|
}
|
|
55
|
-
const
|
|
56
|
-
b:
|
|
57
|
-
cssVar:
|
|
58
|
-
} = q("splitter-bar"),
|
|
59
|
-
|
|
60
|
-
}, X = (
|
|
61
|
-
if (
|
|
62
|
-
const n =
|
|
63
|
-
|
|
55
|
+
const e = s, {
|
|
56
|
+
b: o,
|
|
57
|
+
cssVar: L
|
|
58
|
+
} = q("splitter-bar"), g = S(null), u = S(0), N = z(() => e.vertical ? 0 : a(u)), k = z(() => e.vertical ? a(u) : 0), V = (t) => {
|
|
59
|
+
e.resizable && t.currentTarget && (g.value = [t.pageX, t.pageY], e.onOffsetStart(e.index));
|
|
60
|
+
}, X = (t) => {
|
|
61
|
+
if (e.resizable && t.touches.length === 1) {
|
|
62
|
+
const n = t.touches[0];
|
|
63
|
+
g.value = [n.pageX, n.pageY], e.onOffsetStart(e.index);
|
|
64
64
|
}
|
|
65
|
-
}, Y = (
|
|
65
|
+
}, Y = (t) => {
|
|
66
66
|
const {
|
|
67
67
|
containerSize: n,
|
|
68
|
-
ariaMax:
|
|
68
|
+
ariaMax: l,
|
|
69
69
|
ariaMin: r,
|
|
70
|
-
ariaNow:
|
|
71
|
-
} =
|
|
72
|
-
return Math.max(p, Math.min(
|
|
73
|
-
}, O = (
|
|
74
|
-
const
|
|
75
|
-
|
|
70
|
+
ariaNow: c
|
|
71
|
+
} = e, i = n * c / 100, f = i + t, p = Math.max(0, n * r / 100), v = Math.max(n, n * l / 100);
|
|
72
|
+
return Math.max(p, Math.min(v, f)) - i;
|
|
73
|
+
}, O = (t, n) => {
|
|
74
|
+
const l = Y(e.vertical ? n : t);
|
|
75
|
+
u.value = l;
|
|
76
76
|
}, E = () => {
|
|
77
|
-
|
|
78
|
-
}, M = (
|
|
79
|
-
switch (
|
|
77
|
+
e.onOffsetUpdate(e.index, a(N), a(k)), u.value = 0;
|
|
78
|
+
}, M = (t) => {
|
|
79
|
+
switch (t) {
|
|
80
80
|
case !0:
|
|
81
|
-
return
|
|
81
|
+
return o("collapse-bar-always-visible");
|
|
82
82
|
case !1:
|
|
83
|
-
return
|
|
83
|
+
return o("collapse-bar-always-hidden");
|
|
84
84
|
case "auto":
|
|
85
|
-
return
|
|
85
|
+
return o("collapse-bar-hover-only");
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
U((
|
|
89
|
-
const n = a(
|
|
88
|
+
U((t) => {
|
|
89
|
+
const n = a(g);
|
|
90
90
|
if (n) {
|
|
91
|
-
const
|
|
91
|
+
const l = (f) => {
|
|
92
92
|
const {
|
|
93
93
|
pageX: p,
|
|
94
|
-
pageY:
|
|
95
|
-
} =
|
|
96
|
-
|
|
94
|
+
pageY: v
|
|
95
|
+
} = f, m = p - n[0], I = v - n[1];
|
|
96
|
+
e.lazy ? O(m, I) : e.onOffsetUpdate(e.index, m, I);
|
|
97
97
|
}, r = () => {
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
if (
|
|
101
|
-
const p =
|
|
102
|
-
|
|
98
|
+
e.lazy && E(), g.value = null, e.onOffsetEnd();
|
|
99
|
+
}, c = (f) => {
|
|
100
|
+
if (f.touches.length === 1) {
|
|
101
|
+
const p = f.touches[0], v = p.pageX - n[0], m = p.pageY - n[1];
|
|
102
|
+
e.lazy ? O(v, m) : e.onOffsetUpdate(e.index, v, m);
|
|
103
103
|
}
|
|
104
|
-
},
|
|
105
|
-
|
|
104
|
+
}, i = () => {
|
|
105
|
+
e.lazy && E(), g.value = null, e.onOffsetEnd();
|
|
106
106
|
};
|
|
107
|
-
window.addEventListener("touchmove",
|
|
108
|
-
window.removeEventListener("touchmove",
|
|
107
|
+
window.addEventListener("touchmove", c), window.addEventListener("touchend", i), window.addEventListener("mousemove", l), window.addEventListener("mouseup", r), t(() => {
|
|
108
|
+
window.removeEventListener("touchmove", c), window.removeEventListener("touchend", i), window.removeEventListener("mousemove", l), window.removeEventListener("mouseup", r);
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
}, {
|
|
112
112
|
flush: "post"
|
|
113
113
|
});
|
|
114
|
-
const
|
|
114
|
+
const b = z(() => {
|
|
115
115
|
const {
|
|
116
|
-
collapsibleIcon:
|
|
116
|
+
collapsibleIcon: t,
|
|
117
117
|
vertical: n
|
|
118
|
-
} =
|
|
119
|
-
let
|
|
120
|
-
const
|
|
121
|
-
return n ? (
|
|
122
|
-
startIcon:
|
|
118
|
+
} = e;
|
|
119
|
+
let l = null, r = null;
|
|
120
|
+
const c = t?.start !== void 0, i = t?.end !== void 0;
|
|
121
|
+
return n ? (l = c ? () => t.start : A, r = i ? () => t.end : R) : (l = c ? () => t.start : $, r = i ? () => t.end : j), {
|
|
122
|
+
startIcon: l,
|
|
123
123
|
endIcon: r,
|
|
124
|
-
startCustomize:
|
|
125
|
-
endCustomize:
|
|
124
|
+
startCustomize: c,
|
|
125
|
+
endCustomize: i
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
return (
|
|
129
|
-
class:
|
|
128
|
+
return (t, n) => (w(), h("div", {
|
|
129
|
+
class: d(a(o)()),
|
|
130
130
|
role: "separator",
|
|
131
|
-
"aria-valuenow":
|
|
132
|
-
"aria-valuemin":
|
|
133
|
-
"aria-valuemax":
|
|
134
|
-
}, [
|
|
131
|
+
"aria-valuenow": C(e.ariaNow),
|
|
132
|
+
"aria-valuemin": C(e.ariaMin),
|
|
133
|
+
"aria-valuemax": C(e.ariaMax)
|
|
134
|
+
}, [e.lazy ? (w(), h("div", {
|
|
135
135
|
key: 0,
|
|
136
|
-
class:
|
|
137
|
-
[a(
|
|
136
|
+
class: d([a(o)("preview"), {
|
|
137
|
+
[a(o)("preview-active")]: !!u.value
|
|
138
138
|
}]),
|
|
139
|
-
style: T(a(
|
|
140
|
-
"preview-offset": `${
|
|
139
|
+
style: T(a(L)({
|
|
140
|
+
"preview-offset": `${u.value}px`
|
|
141
141
|
}))
|
|
142
|
-
}, null, 6)) :
|
|
143
|
-
class:
|
|
144
|
-
[a(
|
|
145
|
-
[a(
|
|
146
|
-
[a(
|
|
142
|
+
}, null, 6)) : y("", !0), x("div", {
|
|
143
|
+
class: d([a(o)("dragger"), {
|
|
144
|
+
[a(o)("dragger-disabled")]: !s.resizable,
|
|
145
|
+
[a(o)("dragger-active")]: s.active,
|
|
146
|
+
[a(o)("dragger-customize")]: s.draggerIcon !== void 0
|
|
147
147
|
}]),
|
|
148
148
|
onMousedown: V,
|
|
149
149
|
onTouchstart: X
|
|
150
|
-
}, [
|
|
150
|
+
}, [s.draggerIcon !== void 0 ? (w(), h("div", {
|
|
151
151
|
key: 0,
|
|
152
|
-
class:
|
|
153
|
-
}, [(
|
|
152
|
+
class: d(a(o)("dragger-icon"))
|
|
153
|
+
}, [(w(), D(F(s.draggerIcon)))], 2)) : y("", !0)], 34), s.startCollapsible ? (w(), h("div", {
|
|
154
154
|
key: 1,
|
|
155
|
-
class:
|
|
156
|
-
onClick: n[0] || (n[0] = () =>
|
|
157
|
-
}, [
|
|
158
|
-
class:
|
|
159
|
-
}, [B(a(
|
|
155
|
+
class: d([a(o)("collapse-bar"), a(o)("collapse-bar-start"), b.value.startCustomize ? a(o)("collapse-bar-customize") : "", M(s.showStartCollapsibleIcon)]),
|
|
156
|
+
onClick: n[0] || (n[0] = () => s.onCollapse(s.index, "start"))
|
|
157
|
+
}, [x("span", {
|
|
158
|
+
class: d([a(o)("collapse-icon"), a(o)("collapse-start")])
|
|
159
|
+
}, [B(a(b).startIcon)], 2)], 2)) : y("", !0), s.endCollapsible ? (w(), h("div", {
|
|
160
160
|
key: 2,
|
|
161
|
-
class:
|
|
162
|
-
onClick: n[1] || (n[1] = () =>
|
|
163
|
-
}, [
|
|
164
|
-
class:
|
|
165
|
-
}, [B(a(
|
|
161
|
+
class: d([a(o)("collapse-bar"), a(o)("collapse-bar-end"), b.value.endCustomize ? a(o)("collapse-bar-customize") : "", M(s.showEndCollapsibleIcon)]),
|
|
162
|
+
onClick: n[1] || (n[1] = () => s.onCollapse(s.index, "end"))
|
|
163
|
+
}, [x("span", {
|
|
164
|
+
class: d([a(o)("collapse-icon"), a(o)("collapse-end")])
|
|
165
|
+
}, [B(a(b).endIcon)], 2)], 2)) : y("", !0)], 10, G));
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
168
|
export {
|