@aplus-frontend/ui 0.5.18 → 0.5.19
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/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +30 -30
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +2 -2
- package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +4 -4
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-list/index.vue.mjs +4 -4
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -13
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.mjs +40 -40
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +108 -107
- package/es/src/ap-table/interface.d.ts +8 -0
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +50 -50
- package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +13 -13
- package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +40 -37
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +19 -19
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +118 -122
- package/es/src/business/ap-ladder/index.d.ts +1 -3
- package/es/src/business/ap-ladder/interface.d.ts +16 -16
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +46 -41
- package/es/src/text/interface.d.ts +6 -0
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +8 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +13 -13
- package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +19 -19
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -3
- package/lib/src/business/ap-ladder/interface.d.ts +16 -16
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/text/interface.d.ts +6 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/package.json +1 -1
- package/theme/ap-ladder/ap-ladder.css +41 -1
- package/theme/ap-ladder/ap-ladder.less +41 -2
- package/theme/index.css +41 -1
|
@@ -1,140 +1,141 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as ne, reactive as J, unref as S, nextTick as ae, onMounted as se, watch as ie, computed as D, createVNode as b } from "vue";
|
|
2
2
|
import { useTableSortedAndFiltered as ce } from "./use-sorted-filtered.mjs";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
|
-
import { parseFieldValue as
|
|
5
|
-
import { isArray as N, isEqualWith as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
import { parseFieldValue as le, dataIndexToStr as ue, isEqualCustom as fe } from "../utils.mjs";
|
|
5
|
+
import { isArray as N, isEqualWith as ge } from "lodash-unified";
|
|
6
|
+
import { isDef as Q } from "../../utils/index.mjs";
|
|
7
|
+
import { useLocale as pe } from "../../config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { useNamespace as de } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
const z = 1, L = 10;
|
|
10
|
+
function me(g) {
|
|
10
11
|
const l = {};
|
|
11
|
-
return g && (g === !0 ? (l.current =
|
|
12
|
+
return g && (g === !0 ? (l.current = z, l.pageSize = L) : (l.current = g.defaultCurrent || z, l.pageSize = g.defaultPageSize || L)), l;
|
|
12
13
|
}
|
|
13
|
-
const
|
|
14
|
+
const xe = ({
|
|
14
15
|
manual: g = !1,
|
|
15
16
|
request: l,
|
|
16
17
|
defaultParams: v = {},
|
|
17
18
|
defaultData: y = [],
|
|
18
|
-
formatParams:
|
|
19
|
-
paramsValueTypeMap:
|
|
20
|
-
resetFieldsIgnores:
|
|
19
|
+
formatParams: R,
|
|
20
|
+
paramsValueTypeMap: I,
|
|
21
|
+
resetFieldsIgnores: V,
|
|
21
22
|
filterFields: U,
|
|
22
23
|
sortFields: B,
|
|
23
24
|
namespace: K = "ap-table",
|
|
24
25
|
pagination: p = {
|
|
25
|
-
defaultCurrent:
|
|
26
|
+
defaultCurrent: z,
|
|
26
27
|
defaultPageSize: L,
|
|
27
28
|
showLessItems: !1,
|
|
28
29
|
showTotal: !0
|
|
29
30
|
}
|
|
30
31
|
}) => {
|
|
31
|
-
let
|
|
32
|
-
const
|
|
33
|
-
getColumnSFConfig:
|
|
34
|
-
setSF:
|
|
35
|
-
clearAll:
|
|
36
|
-
sortedInfo:
|
|
37
|
-
filteredInfo:
|
|
32
|
+
let E = 0, s = {};
|
|
33
|
+
const d = p ?? {}, M = (e) => R ? R(e) : e, T = ne(), i = J(me(p)), {
|
|
34
|
+
getColumnSFConfig: $,
|
|
35
|
+
setSF: G,
|
|
36
|
+
clearAll: W,
|
|
37
|
+
sortedInfo: Z,
|
|
38
|
+
filteredInfo: H
|
|
38
39
|
} = ce(), {
|
|
39
|
-
t:
|
|
40
|
-
} =
|
|
40
|
+
t: w
|
|
41
|
+
} = pe(), {
|
|
41
42
|
b: P
|
|
42
|
-
} =
|
|
43
|
+
} = de(K), o = J({
|
|
43
44
|
total: y.length,
|
|
44
45
|
records: y,
|
|
45
46
|
loading: !1
|
|
46
|
-
}),
|
|
47
|
+
}), C = () => {
|
|
47
48
|
var e, t;
|
|
48
|
-
return ((t = (e =
|
|
49
|
-
},
|
|
49
|
+
return ((t = (e = T.value) == null ? void 0 : e.apForm) == null ? void 0 : t.getFieldsValueTransformed(!0)) || {};
|
|
50
|
+
}, O = async (e) => {
|
|
50
51
|
var n;
|
|
51
|
-
const t =
|
|
52
|
-
|
|
52
|
+
const t = M(e), r = Date.now();
|
|
53
|
+
E = r, o.loading = !0;
|
|
53
54
|
try {
|
|
54
55
|
const a = await l({
|
|
55
|
-
...
|
|
56
|
+
...S(v),
|
|
56
57
|
...t
|
|
57
58
|
});
|
|
58
|
-
|
|
59
|
+
E === r && (o.total = a.total || ((n = a.data) == null ? void 0 : n.length) || 0, o.records = [...a.data || []]);
|
|
59
60
|
} catch {
|
|
60
|
-
|
|
61
|
+
E === r && (o.records = [], o.total = 0);
|
|
61
62
|
} finally {
|
|
62
63
|
o.loading = !1;
|
|
63
64
|
}
|
|
64
|
-
},
|
|
65
|
+
}, _ = (e) => {
|
|
65
66
|
const t = {};
|
|
66
67
|
return Object.entries(e).forEach(([r, n]) => {
|
|
67
|
-
if (t[r] = n,
|
|
68
|
-
const a =
|
|
69
|
-
a && (t[r] =
|
|
68
|
+
if (t[r] = n, I && n) {
|
|
69
|
+
const a = I[r];
|
|
70
|
+
a && (t[r] = le(a, n));
|
|
70
71
|
}
|
|
71
72
|
}), t;
|
|
72
|
-
},
|
|
73
|
-
var n, a, u, f,
|
|
74
|
-
const t =
|
|
75
|
-
Object.entries(t).forEach(([
|
|
76
|
-
|
|
77
|
-
}), await ((a = (n =
|
|
73
|
+
}, X = async (e) => {
|
|
74
|
+
var n, a, u, f, m;
|
|
75
|
+
const t = C(), r = {};
|
|
76
|
+
Object.entries(t).forEach(([h, x]) => {
|
|
77
|
+
V && V.indexOf(h) > -1 && (r[h] = x);
|
|
78
|
+
}), await ((a = (n = T.value) == null ? void 0 : n.apForm) == null ? void 0 : a.resetFields()), (m = (f = (u = T.value) == null ? void 0 : u.apForm) == null ? void 0 : f.setFieldsValue) == null || m.call(f, r), ae(() => {
|
|
78
79
|
e == null || e();
|
|
79
80
|
});
|
|
80
|
-
},
|
|
81
|
+
}, F = (e) => {
|
|
81
82
|
s = e;
|
|
82
|
-
const t =
|
|
83
|
-
|
|
84
|
-
},
|
|
85
|
-
|
|
83
|
+
const t = _(e);
|
|
84
|
+
O(t);
|
|
85
|
+
}, Y = (e) => {
|
|
86
|
+
F({
|
|
86
87
|
...s,
|
|
87
88
|
...e
|
|
88
89
|
});
|
|
89
|
-
},
|
|
90
|
-
const e =
|
|
91
|
-
p && (
|
|
90
|
+
}, A = () => {
|
|
91
|
+
const e = C();
|
|
92
|
+
p && (i.current = z), F({
|
|
92
93
|
...e,
|
|
93
94
|
filter: s.filter,
|
|
94
95
|
sort: s.sort,
|
|
95
|
-
current: p ?
|
|
96
|
-
pageSize: p ? s.pageSize ||
|
|
96
|
+
current: p ? z : void 0,
|
|
97
|
+
pageSize: p ? s.pageSize || i.pageSize : void 0
|
|
97
98
|
});
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
},
|
|
99
|
+
}, k = () => {
|
|
100
|
+
W(), s.sort = {}, s.filter = {}, X(A);
|
|
101
|
+
}, j = () => {
|
|
102
|
+
F(s);
|
|
103
|
+
}, ee = (e) => {
|
|
103
104
|
if (!p)
|
|
104
|
-
|
|
105
|
+
j();
|
|
105
106
|
else {
|
|
106
107
|
const {
|
|
107
108
|
current: t,
|
|
108
109
|
pageSize: r
|
|
109
|
-
} =
|
|
110
|
-
|
|
110
|
+
} = i, n = o.total - e, a = Math.ceil(n / r), u = t > a ? a : t;
|
|
111
|
+
Y({
|
|
111
112
|
current: u > 0 ? u : 1
|
|
112
113
|
});
|
|
113
114
|
}
|
|
114
|
-
},
|
|
115
|
-
var
|
|
116
|
-
const n =
|
|
117
|
-
|
|
115
|
+
}, q = (e, t, r) => {
|
|
116
|
+
var h, x;
|
|
117
|
+
const n = C();
|
|
118
|
+
i.current = e.current, i.pageSize = e.pageSize, G(t, r);
|
|
118
119
|
const a = N(r) ? [...r] : [r], u = {};
|
|
119
|
-
for (const
|
|
120
|
-
(
|
|
120
|
+
for (const c of a)
|
|
121
|
+
(h = S(B)) != null && h.includes(c.columnKey || c.field) && c.order && (u[ue(c.columnKey || c.field)] = c.order);
|
|
121
122
|
const f = {};
|
|
122
|
-
for (const
|
|
123
|
-
(x =
|
|
124
|
-
const
|
|
123
|
+
for (const c of Object.keys(t))
|
|
124
|
+
(x = S(U)) != null && x.includes(c) && t[c] && (f[c] = t[c]);
|
|
125
|
+
const m = {
|
|
125
126
|
...n,
|
|
126
127
|
filter: f,
|
|
127
128
|
sort: u,
|
|
128
129
|
current: e.current,
|
|
129
130
|
pageSize: e.pageSize
|
|
130
131
|
};
|
|
131
|
-
|
|
132
|
+
ge(s, m, fe) || F(m);
|
|
132
133
|
};
|
|
133
|
-
|
|
134
|
-
const e =
|
|
134
|
+
se(() => {
|
|
135
|
+
const e = C(), {
|
|
135
136
|
current: t,
|
|
136
137
|
pageSize: r
|
|
137
|
-
} =
|
|
138
|
+
} = i;
|
|
138
139
|
if (s = {
|
|
139
140
|
current: t,
|
|
140
141
|
pageSize: r,
|
|
@@ -142,75 +143,75 @@ const we = ({
|
|
|
142
143
|
sort: {},
|
|
143
144
|
...e
|
|
144
145
|
}, !g) {
|
|
145
|
-
const n =
|
|
146
|
-
|
|
146
|
+
const n = _(s);
|
|
147
|
+
O(n);
|
|
147
148
|
}
|
|
148
|
-
}),
|
|
149
|
-
|
|
149
|
+
}), ie(() => S(v), () => {
|
|
150
|
+
A();
|
|
150
151
|
}, {
|
|
151
152
|
deep: !0
|
|
152
153
|
});
|
|
153
|
-
const
|
|
154
|
+
const te = D(() => {
|
|
154
155
|
if (o.total === 0)
|
|
155
156
|
return "-";
|
|
156
157
|
const {
|
|
157
158
|
current: e,
|
|
158
159
|
pageSize: t
|
|
159
|
-
} =
|
|
160
|
+
} = i;
|
|
160
161
|
return `${e}/${Math.ceil(o.total / t)}`;
|
|
161
162
|
});
|
|
162
|
-
function
|
|
163
|
+
function re(e) {
|
|
163
164
|
N(e) && (o.records = e, o.total = e.length);
|
|
164
165
|
}
|
|
165
|
-
const
|
|
166
|
+
const oe = D(() => {
|
|
166
167
|
const {
|
|
167
168
|
showLessItems: e,
|
|
168
169
|
showTotal: t
|
|
169
|
-
} =
|
|
170
|
+
} = d;
|
|
170
171
|
return {
|
|
171
172
|
loading: o.loading,
|
|
172
173
|
pagination: {
|
|
173
|
-
current:
|
|
174
|
-
pageSize:
|
|
174
|
+
current: i.current,
|
|
175
|
+
pageSize: i.pageSize,
|
|
175
176
|
total: o.total,
|
|
176
|
-
showSizeChanger: !e,
|
|
177
|
-
showQuickJumper: !e,
|
|
177
|
+
showSizeChanger: Q(d.showSizeChanger) ? d.showSizeChanger : !e,
|
|
178
|
+
showQuickJumper: Q(d.showQuickJumper) ? d.showQuickJumper : !e,
|
|
178
179
|
showLessItems: e,
|
|
179
180
|
size: "default",
|
|
180
|
-
showTotal: t ? (r) =>
|
|
181
|
+
showTotal: t ? (r) => b("span", {
|
|
181
182
|
class: P("pagination-total-wrapper")
|
|
182
|
-
}, [
|
|
183
|
+
}, [w("ap.apTable.pagination.totalLeftPrefix"), " ", b("span", {
|
|
183
184
|
class: P("pagination-count-text")
|
|
184
|
-
}, [r]), " ",
|
|
185
|
+
}, [r]), " ", w("ap.apTable.pagination.totalLeftSuffix"), b("span", {
|
|
185
186
|
class: P("pagination--total-right")
|
|
186
|
-
}, [
|
|
187
|
+
}, [w("ap.apTable.pagination.totalRightPrefix"), " ", b("span", {
|
|
187
188
|
class: P("pagination-count-text")
|
|
188
|
-
}, [
|
|
189
|
+
}, [S(te)]), " ", w("ap.apTable.pagination.totalRightSuffix")])]) : void 0
|
|
189
190
|
},
|
|
190
|
-
onChange:
|
|
191
|
+
onChange: q,
|
|
191
192
|
dataSource: o.records
|
|
192
193
|
};
|
|
193
194
|
});
|
|
194
195
|
return {
|
|
195
|
-
formRef:
|
|
196
|
-
submit:
|
|
197
|
-
reset:
|
|
198
|
-
refresh:
|
|
199
|
-
refreshByDelete:
|
|
196
|
+
formRef: T,
|
|
197
|
+
submit: A,
|
|
198
|
+
reset: k,
|
|
199
|
+
refresh: j,
|
|
200
|
+
refreshByDelete: ee,
|
|
200
201
|
data: o,
|
|
201
|
-
current:
|
|
202
|
-
pageSize:
|
|
203
|
-
handleTableChange:
|
|
204
|
-
tableProps:
|
|
205
|
-
dataSource:
|
|
206
|
-
setDataSource:
|
|
207
|
-
getColumnSFConfig:
|
|
208
|
-
sortedInfo:
|
|
209
|
-
filteredInfo:
|
|
202
|
+
current: i.current,
|
|
203
|
+
pageSize: i.pageSize,
|
|
204
|
+
handleTableChange: q,
|
|
205
|
+
tableProps: oe,
|
|
206
|
+
dataSource: D(() => o.records),
|
|
207
|
+
setDataSource: re,
|
|
208
|
+
getColumnSFConfig: $,
|
|
209
|
+
sortedInfo: Z,
|
|
210
|
+
filteredInfo: H
|
|
210
211
|
};
|
|
211
212
|
};
|
|
212
213
|
export {
|
|
213
|
-
|
|
214
|
+
z as DEFAULT_CURRENT,
|
|
214
215
|
L as DEFAULT_PAGE_SIZE,
|
|
215
|
-
|
|
216
|
+
xe as useTablePaging
|
|
216
217
|
};
|
|
@@ -226,6 +226,14 @@ export type ApTablePaginationConfig = {
|
|
|
226
226
|
* 用于显示数据总量和当前数据顺序
|
|
227
227
|
*/
|
|
228
228
|
showTotal?: boolean;
|
|
229
|
+
/**
|
|
230
|
+
* 是否显示尺寸切换器
|
|
231
|
+
*/
|
|
232
|
+
showSizeChanger?: boolean;
|
|
233
|
+
/**
|
|
234
|
+
* 是否显示快速跳转
|
|
235
|
+
*/
|
|
236
|
+
showQuickJumper?: boolean;
|
|
229
237
|
};
|
|
230
238
|
export type ApTableProps<RecordType = any, ParamsType = any> = Omit<TableProps<RecordType>, 'columns' | 'pagination' | 'dataSource' | 'size' | 'rowSelection'> & {
|
|
231
239
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as D, ref as C, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G,
|
|
1
|
+
import { defineComponent as D, ref as C, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, createBlock as d, openBlock as c, mergeProps as b, withCtx as g, createElementVNode as o, normalizeStyle as k, normalizeClass as W, createElementBlock as _, createCommentVNode as R, Fragment as A, renderList as F, toDisplayString as T, renderSlot as I, createTextVNode as U } from "vue";
|
|
2
2
|
import { Tooltip as q } from "@aplus-frontend/antdv";
|
|
3
3
|
import H from "@ant-design/icons-vue";
|
|
4
4
|
import "./ap-tag.vue2.mjs";
|
|
@@ -79,8 +79,8 @@ const ue = /* @__PURE__ */ D({
|
|
|
79
79
|
window.removeEventListener("resize", y);
|
|
80
80
|
}), (e, t) => (c(), d(f(q), b({ trigger: "hover" }, $.value), {
|
|
81
81
|
title: g(() => [
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
I(e.$slots, "tooltip", { tags: e.list }, () => [
|
|
83
|
+
U(T(L.value), 1)
|
|
84
84
|
])
|
|
85
85
|
]),
|
|
86
86
|
default: g(() => [
|
|
@@ -88,12 +88,12 @@ const ue = /* @__PURE__ */ D({
|
|
|
88
88
|
ref_key: "container",
|
|
89
89
|
ref: u,
|
|
90
90
|
class: W(M.value),
|
|
91
|
-
style:
|
|
91
|
+
style: k({
|
|
92
92
|
pointerEvents: p.value ? "auto" : "none"
|
|
93
93
|
// opacity: isUpdating ? '0' : '1'
|
|
94
94
|
})
|
|
95
95
|
}, [
|
|
96
|
-
(c(!0),
|
|
96
|
+
(c(!0), _(A, null, F(e.list, (s, l) => (c(), d(X, b({ ref_for: !0 }, s, {
|
|
97
97
|
key: l,
|
|
98
98
|
style: {
|
|
99
99
|
display: l >= m.value ? "none" : "inline-block",
|
|
@@ -102,7 +102,7 @@ const ue = /* @__PURE__ */ D({
|
|
|
102
102
|
}), null, 16, ["style"]))), 128)),
|
|
103
103
|
p.value && r.value.symbol === "icon" ? (c(), d(f(H), {
|
|
104
104
|
key: 0,
|
|
105
|
-
style:
|
|
105
|
+
style: k({ color: e.ellipsisColor || r.value.iconColor })
|
|
106
106
|
}, {
|
|
107
107
|
component: g(() => t[0] || (t[0] = [
|
|
108
108
|
o("svg", {
|
|
@@ -160,10 +160,10 @@ const ue = /* @__PURE__ */ D({
|
|
|
160
160
|
], -1)
|
|
161
161
|
])),
|
|
162
162
|
_: 1
|
|
163
|
-
}, 8, ["style"])) : p.value && r.value.symbol === "text" ? (c(),
|
|
163
|
+
}, 8, ["style"])) : p.value && r.value.symbol === "text" ? (c(), _("span", {
|
|
164
164
|
key: 1,
|
|
165
165
|
class: W(P.value)
|
|
166
|
-
},
|
|
166
|
+
}, T(r.value.text), 3)) : R("", !0)
|
|
167
167
|
], 6)
|
|
168
168
|
]),
|
|
169
169
|
_: 3
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, computed as n,
|
|
1
|
+
import { defineComponent as $, computed as n, createElementBlock as b, openBlock as y, normalizeClass as p, normalizeStyle as w, createVNode as z, unref as B } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import { TypographyText as v } from "@aplus-frontend/antdv";
|
|
4
4
|
import { useGlobalConfig as I } from "../config-provider/hooks/use-global-config.mjs";
|
|
@@ -26,7 +26,7 @@ const A = /* @__PURE__ */ $({
|
|
|
26
26
|
const t = [r("inner-wrapper"), a("inner-wrapper", e.size)];
|
|
27
27
|
return e.disabled && (o.value === "aplus" ? t.push(a("inner-wrapper", "disabled")) : t.push(a("inner-wrapper", "disabled-admin"))), t;
|
|
28
28
|
});
|
|
29
|
-
return (t, s) => (
|
|
29
|
+
return (t, s) => (y(), b("span", {
|
|
30
30
|
style: w(c.value),
|
|
31
31
|
class: p(u.value)
|
|
32
32
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, ref as g, computed as v, provide as t,
|
|
1
|
+
import { defineComponent as A, ref as g, computed as v, provide as t, createElementBlock as R, openBlock as y, normalizeClass as U, unref as $, createBlock as k, resolveDynamicComponent as T, mergeProps as B, createSlots as L, renderList as q, withCtx as P, renderSlot as V, normalizeProps as w, guardReactiveProps as D } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import "./components/SingleFile.vue.mjs";
|
|
4
4
|
import "./components/MultipleFile.vue.mjs";
|
|
@@ -8,9 +8,9 @@ import { injectLocaleToOss as I } from "./hooks/useOss.mjs";
|
|
|
8
8
|
import { Form as H } from "@aplus-frontend/antdv";
|
|
9
9
|
import { useLocale as J } from "../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import { useNamespace as K } from "../config-provider/hooks/use-namespace.mjs";
|
|
11
|
-
import Q from "./components/
|
|
11
|
+
import Q from "./components/Picture.vue2.mjs";
|
|
12
12
|
import W from "./components/MultipleFile.vue2.mjs";
|
|
13
|
-
import X from "./components/
|
|
13
|
+
import X from "./components/SingleFile.vue2.mjs";
|
|
14
14
|
import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.mjs";
|
|
15
15
|
const pe = /* @__PURE__ */ A({
|
|
16
16
|
name: "AplusFileUpload",
|
|
@@ -91,9 +91,9 @@ const pe = /* @__PURE__ */ A({
|
|
|
91
91
|
const { t: u, lang: F } = J();
|
|
92
92
|
G(u), I(u, F);
|
|
93
93
|
const { b: M } = K("ap-upload"), n = g(null), e = S, N = x, _ = {
|
|
94
|
-
singleFile:
|
|
94
|
+
singleFile: X,
|
|
95
95
|
multipleFile: W,
|
|
96
|
-
picture:
|
|
96
|
+
picture: Q
|
|
97
97
|
}, s = H.useInjectFormItemContext(), E = v({
|
|
98
98
|
get() {
|
|
99
99
|
return e.value;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UploadFile, UploadChangeParam } from '@aplus-frontend/antdv';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
|
-
import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface,
|
|
3
|
+
import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
|
|
4
4
|
import { UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
|
|
5
5
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
declare function setValue(val: (string | Record<string, any>)[]): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, inject as s, ref as H, watch as J, nextTick as K,
|
|
1
|
+
import { defineComponent as G, inject as s, ref as H, watch as J, nextTick as K, createElementBlock as C, openBlock as h, normalizeClass as Q, unref as n, createVNode as U, withCtx as b, createElementVNode as S, createTextVNode as X, toDisplayString as L, withModifiers as Y, createCommentVNode as Z, createBlock as ee, resolveDynamicComponent as te } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { getPath as oe, getName as se, getReturnData as M } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as ae, getOssInstance as ne } from "../hooks/useOss.mjs";
|
|
@@ -201,8 +201,8 @@ const de = { class: "multiple-file-context" }, fe = { key: 0 }, ge = { key: 1 },
|
|
|
201
201
|
}, ["stop"]))
|
|
202
202
|
}, [
|
|
203
203
|
typeof n(f) == "string" ? (h(), C("div", fe, L(n(f) || `${n(r)("ap.apUpload.supportExtension")}:${n(ce)(n(y))}`), 1)) : n(f) ? (h(), C("div", ge, [
|
|
204
|
-
(h(),
|
|
205
|
-
])) :
|
|
204
|
+
(h(), ee(te(n(f))))
|
|
205
|
+
])) : Z("", !0)
|
|
206
206
|
])
|
|
207
207
|
])
|
|
208
208
|
]),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Oss } from '../hooks/useOss';
|
|
2
|
+
import { actionResponse } from '@aplus-frontend/oss';
|
|
2
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
4
|
declare function setValue(val?: (string | Record<string, any>)[]): void;
|
|
4
5
|
interface UploadFile extends File {
|
|
@@ -17,13 +18,7 @@ declare function __VLS_template(): {
|
|
|
17
18
|
pictureContext?(_: {
|
|
18
19
|
fileList: {
|
|
19
20
|
oss: {
|
|
20
|
-
pauseUpload: (() => Promise<
|
|
21
|
-
status: number;
|
|
22
|
-
previewUrl?: string;
|
|
23
|
-
saveUrl?: string;
|
|
24
|
-
originalFileName?: string;
|
|
25
|
-
message: string;
|
|
26
|
-
}>) | undefined;
|
|
21
|
+
pauseUpload: (() => Promise< actionResponse>) | undefined;
|
|
27
22
|
};
|
|
28
23
|
}[];
|
|
29
24
|
remove: typeof handleRemove;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, inject as c, ref as $, watch as Z, nextTick as F,
|
|
1
|
+
import { defineComponent as Y, inject as c, ref as $, watch as Z, nextTick as F, createElementBlock as g, openBlock as h, normalizeClass as ee, unref as i, createElementVNode as d, renderSlot as te, createCommentVNode as I, Fragment as ne, renderList as ae, withDirectives as se, createVNode as k, vShow as oe, toDisplayString as C } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { getPath as ie, getName as re, getReturnData as M } from "../utils/returnData.mjs";
|
|
4
4
|
import { CloseOutlined as ce, PlusOutlined as ue } from "@ant-design/icons-vue";
|
|
@@ -191,7 +191,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
191
191
|
);
|
|
192
192
|
return o.value.splice(a, 1), Promise.resolve(!0);
|
|
193
193
|
}
|
|
194
|
-
return (e, a) => (
|
|
194
|
+
return (e, a) => (h(), g("div", {
|
|
195
195
|
class: ee({
|
|
196
196
|
[i(S)()]: !0,
|
|
197
197
|
[i(S)("admin")]: i(B) === "admin"
|
|
@@ -218,7 +218,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
218
218
|
}),
|
|
219
219
|
remove: R
|
|
220
220
|
}, () => [
|
|
221
|
-
(
|
|
221
|
+
(h(!0), g(ne, null, ae(i(o), (t) => (h(), g("div", {
|
|
222
222
|
key: t.uid,
|
|
223
223
|
class: "picture-item"
|
|
224
224
|
}, [
|
|
@@ -234,7 +234,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
234
234
|
}, [
|
|
235
235
|
k(i(ce))
|
|
236
236
|
], 8, Ue),
|
|
237
|
-
t.status === "uploading" ? (
|
|
237
|
+
t.status === "uploading" ? (h(), g("div", ke, [
|
|
238
238
|
k(i(me), {
|
|
239
239
|
percent: t.percent,
|
|
240
240
|
"stroke-color": "#ffffff",
|
|
@@ -249,7 +249,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
249
249
|
])
|
|
250
250
|
]))), 128))
|
|
251
251
|
]),
|
|
252
|
-
i(p) === void 0 || i(o).length < i(p) ? (
|
|
252
|
+
i(p) === void 0 || i(o).length < i(p) ? (h(), g("div", {
|
|
253
253
|
key: 0,
|
|
254
254
|
class: "picture-upload",
|
|
255
255
|
onClick: G
|
|
@@ -259,7 +259,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
|
|
|
259
259
|
])) : I("", !0)
|
|
260
260
|
]),
|
|
261
261
|
d("div", Ce, [
|
|
262
|
-
i(E) ? (
|
|
262
|
+
i(E) ? (h(), g("div", Se, C(i(E)), 1)) : (h(), g("div", Ee, C(`${i(l)("ap.apUpload.supportExtension")}:${i(de)(i(w))},${i(l)(
|
|
263
263
|
"ap.apUpload.maxUploadPictureSize",
|
|
264
264
|
{ maxSize: i(U) }
|
|
265
265
|
)}`), 1))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as oe, inject as o, ref as _, watch as le, computed as se,
|
|
1
|
+
import { defineComponent as oe, inject as o, ref as _, watch as le, computed as se, createElementBlock as z, openBlock as k, normalizeClass as re, unref as a, createElementVNode as i, createCommentVNode as A, toDisplayString as b, normalizeStyle as ie, createBlock as ce, withModifiers as ue, createVNode as pe } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { getName as ve, getReturnData as I } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as de, useOssInit as fe } from "../hooks/useOss.mjs";
|
|
@@ -184,13 +184,13 @@ const we = ["accept"], De = {
|
|
|
184
184
|
class: "state-un-icon",
|
|
185
185
|
src: a(j)
|
|
186
186
|
}, null, 8, Ue),
|
|
187
|
-
i("div", Fe,
|
|
188
|
-
i("div", Ce,
|
|
187
|
+
i("div", Fe, b(a(J)), 1),
|
|
188
|
+
i("div", Ce, b(typeof a(F) == "string" && a(F).length > 0 ? a(F) : `${a(r)("ap.apUpload.supportExtension")}:${a(ge)(
|
|
189
189
|
a(D)
|
|
190
190
|
)},${a(r)("ap.apUpload.maxWarnUploadFileSize", {
|
|
191
191
|
maxSize: a(U)
|
|
192
192
|
})}`), 1)
|
|
193
|
-
])) :
|
|
193
|
+
])) : A("", !0),
|
|
194
194
|
[2, 3].includes(s.value) ? (k(), z("div", Ee, [
|
|
195
195
|
i("div", Se, [
|
|
196
196
|
i("img", { src: a(j) }, null, 8, Ne)
|
|
@@ -201,9 +201,9 @@ const we = ["accept"], De = {
|
|
|
201
201
|
style: ie({
|
|
202
202
|
color: P.value ? "#0070FF" : "#182948"
|
|
203
203
|
})
|
|
204
|
-
},
|
|
204
|
+
}, b((c = n.value) == null ? void 0 : c.name), 5),
|
|
205
205
|
i("div", ze, [
|
|
206
|
-
P.value ?
|
|
206
|
+
P.value ? A("", !0) : (k(), ce(a(he), {
|
|
207
207
|
key: 0,
|
|
208
208
|
percent: m.value,
|
|
209
209
|
size: 4,
|
|
@@ -219,7 +219,7 @@ const we = ["accept"], De = {
|
|
|
219
219
|
}, [
|
|
220
220
|
pe(a(_e))
|
|
221
221
|
])
|
|
222
|
-
])) :
|
|
222
|
+
])) : A("", !0)
|
|
223
223
|
], 34);
|
|
224
224
|
};
|
|
225
225
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, computed as d, ref as V,
|
|
1
|
+
import { defineComponent as T, computed as d, ref as V, createElementBlock as u, openBlock as s, mergeProps as S, unref as t, renderSlot as p, createVNode as g, withCtx as v, createElementVNode as c, normalizeClass as n, createBlock as C, createCommentVNode as h, Fragment as j, renderList as D, createSlots as E, createTextVNode as U, toDisplayString as z } from "vue";
|
|
2
2
|
import G from "./icons/file-icon.vue.mjs";
|
|
3
3
|
import { Tooltip as P, TypographyText as q } from "@aplus-frontend/antdv";
|
|
4
4
|
import { IconVariantDownload as H } from "@aplus-frontend/icon";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as t, openBlock as e, createStaticVNode as r } from "vue";
|
|
2
2
|
import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
3
|
const i = {}, o = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8,7 +8,7 @@ const i = {}, o = {
|
|
|
8
8
|
viewBox: "0 0 16 16"
|
|
9
9
|
};
|
|
10
10
|
function c(n, Q) {
|
|
11
|
-
return
|
|
11
|
+
return e(), t("svg", o, Q[0] || (Q[0] = [
|
|
12
12
|
r('<defs><clipPath id="master_svg0_183_82058/183_76208"><rect x="0" y="0" width="16" height="16" rx="0"></rect></clipPath></defs><g clip-path="url(#master_svg0_183_82058/183_76208)"><g><rect x="0" y="0" width="16" height="16" rx="0" fill="#FFFFFF" fill-opacity="0.009999999776482582" style="mix-blend-mode:passthrough;"></rect></g><g><path d="M6.4678965625,11.32002357421875L11.4176265625,6.37025357421875Q11.4879565625,6.29993357421875,11.5260165625,6.20804357421875Q11.5640765625,6.11616357421875,11.5640765625,6.0167035742187505Q11.5640765625,5.967463574218749,11.5544665625,5.91916357421875Q11.5448565625,5.87086357421875,11.5260165625,5.82536357421875Q11.5071665625,5.77986357421875,11.4798065625,5.7389235742187505Q11.4524465625,5.69797357421875,11.4176265625,5.66315357421875Q11.3828065625,5.62833357421875,11.3418565625,5.6009735742187505Q11.3009165625,5.57361357421875,11.2554165625,5.55476357421875Q11.2099165625,5.535923574218749,11.1616165625,5.52631357421875Q11.1133165625,5.5167035742187505,11.0640765625,5.5167035742187505Q10.9646165625,5.5167035742187505,10.8727365625,5.55476357421875Q10.7808465625,5.59282357421875,10.7105265625,5.66315357421875L10.7102665625,5.66341357421875L5.7607865625,10.612923574218751Q5.4072265625,10.96648357421875,5.0536665625,10.612923574218751Q4.7001265624999995,10.25935357421875,5.0536765625,9.905773574218749L10.9462265625,4.01326057421875Q11.3855665625,3.57391357421875,12.0068765625,3.57391357421875Q12.6282265625,3.57391357421875,13.0675265625,4.01326157421875Q13.5069265625,4.45258357421875,13.5069265625,5.07391357421875Q13.5069265625,5.69523357421875,13.0675265625,6.13459357421875L7.1749865625,12.02712357421875Q6.4427665625,12.75934357421875,5.4072265625,12.75934357421875Q4.3716865625,12.75934357421875,3.6394565625,12.02712357421875Q2.9072265625,11.29489357421875,2.9072265625,10.25935357421875Q2.9072265625,9.22382357421875,3.6394565625,8.49159357421875L8.5891965625,3.5418455742187502Q8.6595265625,3.47151957421875,8.6975865625,3.37963357421875Q8.735646562500001,3.28774857421875,8.735646562500001,3.18829257421875Q8.735646562500001,3.13904677421875,8.7260365625,3.09074737421875Q8.7164265625,3.04244787421875,8.6975865625,2.99695077421875Q8.6787365625,2.95145357421875,8.651376562500001,2.91050757421875Q8.6240165625,2.86956157421875,8.5891965625,2.83473957421875Q8.5543765625,2.79991757421875,8.513426562500001,2.77255757421875Q8.472476562499999,2.74519857421875,8.4269865625,2.72635257421875Q8.381486562500001,2.70750757421875,8.3331865625,2.69789957421875Q8.284886562499999,2.68829257421875,8.235646562500001,2.68829257421875Q8.1361865625,2.68829257421875,8.0442965625,2.72635257421875Q7.9524165625,2.76441257421875,7.8820865625,2.83473957421875L7.8816965625,2.83512857421875L2.9323545625,7.78448357421875Q1.9072265625,8.80960357421875,1.9072265625,10.25935357421875Q1.9072265625,11.70910357421875,2.9323525625,12.73422357421875Q3.9574765625,13.75931357421875,5.4072265625,13.75931357421875Q6.8569765625,13.75931357421875,7.8820965625,12.73422357421875L13.7746265625,6.8416835742187505Q14.5069265625,6.10944357421875,14.5069265625,5.07391357421875Q14.5069265625,4.03837257421875,13.7746265625,3.30615057421875Q13.0424265625,2.57391357421875,12.0068765625,2.57391357421875Q10.9713365625,2.57391357421875,10.239126562500001,3.30615157421875L4.3465365625,9.19870357421875Q3.9072365625,9.638043574218749,3.9072365625,10.25935357421875Q3.9072365625,10.880663574218751,4.3465565625,11.32002357421875Q4.7859065625,11.75937357421875,5.4072265625,11.75937357421875Q6.0285465625,11.75937357421875,6.4678965625,11.32002357421875Z" fill-rule="evenodd" fill="currentColor" fill-opacity="1"></path></g></g>', 2)
|
|
13
13
|
]));
|
|
14
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, useSlots as x, computed as D, ref as N, watch as V,
|
|
1
|
+
import { defineComponent as b, useSlots as x, computed as D, ref as N, watch as V, createElementBlock as E, openBlock as K, normalizeClass as f, unref as t, withDirectives as T, createElementVNode as c, renderSlot as m, vShow as z, createTextVNode as v, toDisplayString as a, createVNode as F, withCtx as O } from "vue";
|
|
2
2
|
import { Button as j } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as q } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -29,7 +29,7 @@ const I = { class: "selected-desc" }, J = { class: "selected-desc-conut" }, M =
|
|
|
29
29
|
{
|
|
30
30
|
immediate: !0
|
|
31
31
|
}
|
|
32
|
-
), (e, l) => (
|
|
32
|
+
), (e, l) => (K(), E("div", {
|
|
33
33
|
class: f([t(n)()])
|
|
34
34
|
}, [
|
|
35
35
|
T(c("div", {
|