@aplus-frontend/ui 0.5.16 → 0.5.18
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 +2 -1
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- 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 +4 -2
- package/es/src/ap-grid/index.vue.mjs +110 -109
- package/es/src/ap-grid/interface.d.ts +10 -0
- package/es/src/ap-grid/utils/table.mjs +39 -32
- 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 +4 -2
- 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 +4 -2
- package/es/src/ap-table/ap-table.vue2.mjs +26 -26
- 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/utils.mjs +27 -26
- 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 +7 -2
- 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 +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- 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 -14
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +64 -266
- package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
- package/es/src/business/ap-ladder/components/SimpleMode.vue.mjs +4 -0
- package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +119 -0
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue.mjs +4 -0
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +213 -0
- package/es/src/business/ap-ladder/index.d.ts +4 -35
- package/es/src/business/ap-ladder/interface.d.ts +26 -0
- package/es/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
- package/es/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
- package/es/src/business/ap-ladder/utils.d.ts +2 -0
- package/es/src/business/ap-ladder/utils.mjs +5 -0
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- 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/hooks/use-create-table-modal.mjs +1 -1
- package/es/src/business/ap-table-modal/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +3 -3
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +20 -21
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +17 -17
- 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 +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +4 -2
- 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/mask/style/css.d.ts +0 -0
- package/es/src/mask/style/css.js +1 -0
- package/es/src/mask/style/index.d.ts +0 -0
- package/es/src/mask/style/index.js +1 -0
- package/es/src/path-map.mjs +3 -1
- 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 +4 -4
- package/es/src/text/style/css.d.ts +0 -0
- package/es/src/text/style/css.js +2 -0
- package/es/src/text/style/index.d.ts +0 -0
- package/es/src/text/style/index.js +2 -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 +3 -2
- 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 +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +10 -0
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- 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/utils.js +1 -1
- 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 +7 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
- package/lib/src/business/ap-ladder/components/SimpleMode.vue.js +1 -0
- package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -0
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.js +1 -0
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -0
- package/lib/src/business/ap-ladder/index.d.ts +4 -35
- package/lib/src/business/ap-ladder/interface.d.ts +26 -0
- package/lib/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
- package/lib/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
- package/lib/src/business/ap-ladder/utils.d.ts +2 -0
- package/lib/src/business/ap-ladder/utils.js +1 -0
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/modal-title.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/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/mask/style/css.cjs +1 -0
- package/lib/src/mask/style/css.d.ts +0 -0
- package/lib/src/mask/style/index.cjs +1 -0
- package/lib/src/mask/style/index.d.ts +0 -0
- package/lib/src/path-map.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/text/style/css.cjs +2 -0
- package/lib/src/text/style/css.d.ts +0 -0
- package/lib/src/text/style/index.cjs +2 -0
- package/lib/src/text/style/index.d.ts +0 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
- package/package.json +3 -3
- package/theme/ap-ladder/ap-ladder.css +28 -1
- package/theme/ap-ladder/ap-ladder.less +32 -1
- package/theme/index.css +28 -1
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +0 -4
- package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +0 -35
- package/es/src/business/ap-ladder/useWatchEllipsis.mjs +0 -35
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +0 -1
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +0 -1
- package/lib/src/business/ap-ladder/useWatchEllipsis.js +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { isVNode as E, createVNode as l, mergeProps as
|
|
2
|
-
import { isObject as
|
|
3
|
-
import { apTableRenderItemMap as
|
|
1
|
+
import { isVNode as E, createVNode as l, mergeProps as b, cloneVNode as j, Fragment as O } from "vue";
|
|
2
|
+
import { isObject as p, isArray as f, isUndefined as g, isFunction as T, omit as C, isBoolean as F, isString as N, isEqual as S, sortBy as d, isPlainObject as m, every as I, isEmpty as v } from "lodash-unified";
|
|
3
|
+
import { apTableRenderItemMap as P, apTableFormItemMap as V } from "./constants.mjs";
|
|
4
4
|
import { isType as _ } from "@fruits-chain/utils";
|
|
5
5
|
import "../ap-form/index.mjs";
|
|
6
6
|
import { Tooltip as w } from "@aplus-frontend/antdv";
|
|
7
7
|
import { QuestionCircleOutlined as x } from "@ant-design/icons-vue";
|
|
8
8
|
import "./components/dynamic-component/index.vue.mjs";
|
|
9
|
-
import
|
|
9
|
+
import y from "./components/dynamic-component/index.vue2.mjs";
|
|
10
10
|
import A from "../ap-form/item/index.vue.mjs";
|
|
11
11
|
function R(t) {
|
|
12
12
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !E(t);
|
|
13
13
|
}
|
|
14
14
|
const q = (t, e, n) => {
|
|
15
15
|
let o = {};
|
|
16
|
-
return
|
|
17
|
-
|
|
16
|
+
return p(t) ? Object.keys(t).forEach((i) => {
|
|
17
|
+
p(t[i]) ? o[i] = q(t[i], e[i], n) : o[i] = n(t[i], e);
|
|
18
18
|
}) : o = n(t, e), o;
|
|
19
19
|
}, k = (t, e) => {
|
|
20
20
|
switch (t) {
|
|
@@ -28,7 +28,7 @@ const q = (t, e, n) => {
|
|
|
28
28
|
}
|
|
29
29
|
case "multiple":
|
|
30
30
|
case "multipleNumber":
|
|
31
|
-
return
|
|
31
|
+
return f(e) ? e : [e];
|
|
32
32
|
case "boolean":
|
|
33
33
|
return e;
|
|
34
34
|
case "object":
|
|
@@ -38,13 +38,13 @@ const q = (t, e, n) => {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
function H(t) {
|
|
41
|
-
return
|
|
41
|
+
return f(t) ? t.join(".") : t;
|
|
42
42
|
}
|
|
43
43
|
function W(t) {
|
|
44
44
|
const e = Object.prototype.toString.call(t).match(/^\[object (.*)\]$/)[1].toLowerCase();
|
|
45
45
|
return e === "string" && typeof t == "object" ? "object" : t === null ? "null" : t === void 0 ? "undefined" : e;
|
|
46
46
|
}
|
|
47
|
-
const $ = (t) => W(t) === "map" ? t : new Map(Object.entries(t || {})),
|
|
47
|
+
const $ = (t) => W(t) === "map" ? t : new Map(Object.entries(t || {})), h = (t) => {
|
|
48
48
|
const e = [], n = $(t);
|
|
49
49
|
return n.forEach((o, i) => {
|
|
50
50
|
const r = n.get(i) || n.get(`${i}`);
|
|
@@ -75,9 +75,9 @@ function tt(t) {
|
|
|
75
75
|
}
|
|
76
76
|
function et(t, e, n, o) {
|
|
77
77
|
var s;
|
|
78
|
-
const i =
|
|
78
|
+
const i = P[t];
|
|
79
79
|
if (i)
|
|
80
|
-
return l(i,
|
|
80
|
+
return l(i, b(e, {
|
|
81
81
|
mode: "read"
|
|
82
82
|
}), null);
|
|
83
83
|
const r = o == null ? void 0 : o[t];
|
|
@@ -86,7 +86,7 @@ function et(t, e, n, o) {
|
|
|
86
86
|
function nt(t, e) {
|
|
87
87
|
if (t.customRenderFormItem)
|
|
88
88
|
return {
|
|
89
|
-
Comp:
|
|
89
|
+
Comp: y,
|
|
90
90
|
render: function(s) {
|
|
91
91
|
const u = s.item.customRenderFormItem(s.item);
|
|
92
92
|
return j(u, {
|
|
@@ -99,7 +99,7 @@ function nt(t, e) {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
|
-
const n =
|
|
102
|
+
const n = V[t.valueType];
|
|
103
103
|
if (n)
|
|
104
104
|
return {
|
|
105
105
|
Comp: n
|
|
@@ -108,7 +108,7 @@ function nt(t, e) {
|
|
|
108
108
|
function i(r) {
|
|
109
109
|
var u;
|
|
110
110
|
const s = (u = o == null ? void 0 : o.renderFormItem) == null ? void 0 : u.call(o, r.item.fieldProps.field);
|
|
111
|
-
return s ? l(A,
|
|
111
|
+
return s ? l(A, b(r.item.fieldProps, {
|
|
112
112
|
hidden: r.hidden,
|
|
113
113
|
class: r.class,
|
|
114
114
|
span: t.span
|
|
@@ -117,7 +117,7 @@ function nt(t, e) {
|
|
|
117
117
|
}) : null;
|
|
118
118
|
}
|
|
119
119
|
return {
|
|
120
|
-
Comp:
|
|
120
|
+
Comp: y,
|
|
121
121
|
render: i
|
|
122
122
|
};
|
|
123
123
|
}
|
|
@@ -136,14 +136,14 @@ function ot(t) {
|
|
|
136
136
|
const e = {
|
|
137
137
|
...t
|
|
138
138
|
};
|
|
139
|
-
return F(t.filters) && t.filters && t.valueEnum && (e.filters =
|
|
139
|
+
return F(t.filters) && t.filters && t.valueEnum && (e.filters = h(t.valueEnum)), e;
|
|
140
140
|
}
|
|
141
141
|
function it(t, e) {
|
|
142
142
|
var o;
|
|
143
143
|
const n = e || {};
|
|
144
144
|
return t.valueEnum && !((o = n.field) != null && o.options) && (n.field = {
|
|
145
145
|
...n.field,
|
|
146
|
-
options:
|
|
146
|
+
options: h(t.valueEnum)
|
|
147
147
|
}), n;
|
|
148
148
|
}
|
|
149
149
|
function st(t) {
|
|
@@ -159,22 +159,23 @@ function ut(t, e, n, o) {
|
|
|
159
159
|
const i = n == null ? void 0 : n({
|
|
160
160
|
title: t.title,
|
|
161
161
|
column: t
|
|
162
|
-
}), r = (i == null ? void 0 : i.filter((
|
|
162
|
+
}), r = (i == null ? void 0 : i.filter((c) => c.type !== Symbol.for("v-cmt"))) || [];
|
|
163
163
|
if (i && r.length > 0)
|
|
164
164
|
return i;
|
|
165
165
|
const u = N(t.title) ? l("span", {
|
|
166
166
|
class: e,
|
|
167
167
|
title: t.title
|
|
168
|
-
}, [t.title]) : t.title,
|
|
169
|
-
return
|
|
168
|
+
}, [t.title]) : t.title, a = t.tooltip ? T(t.tooltip) ? t.tooltip(t) : l(O, null, [t.tooltip]) : null;
|
|
169
|
+
return a ? l("span", {
|
|
170
170
|
style: {
|
|
171
171
|
display: "inline-flex",
|
|
172
172
|
alignItems: "center",
|
|
173
173
|
maxWidth: "100%"
|
|
174
174
|
}
|
|
175
175
|
}, [u, l(w, {
|
|
176
|
-
title:
|
|
177
|
-
placement: "bottom"
|
|
176
|
+
title: a,
|
|
177
|
+
placement: "bottom",
|
|
178
|
+
getPopupContainer: (c) => c.closest(".ant-table") || c.closest(".ant-modal") || document.body
|
|
178
179
|
}, {
|
|
179
180
|
default: () => [l(x, {
|
|
180
181
|
style: {
|
|
@@ -195,9 +196,9 @@ function lt(t, e) {
|
|
|
195
196
|
return o(t), n;
|
|
196
197
|
}
|
|
197
198
|
function ct(t, e) {
|
|
198
|
-
if (
|
|
199
|
-
return S(
|
|
200
|
-
if (
|
|
199
|
+
if (f(t) && f(e))
|
|
200
|
+
return S(d(t), d(e));
|
|
201
|
+
if (m(t) && m(e)) {
|
|
201
202
|
const n = (o) => I(o, (i) => i == null) || v(o);
|
|
202
203
|
if (n(t) && n(e))
|
|
203
204
|
return !0;
|
|
@@ -225,5 +226,5 @@ export {
|
|
|
225
226
|
k as parseFieldValue,
|
|
226
227
|
lt as recursionApColumns,
|
|
227
228
|
it as updateFormProps,
|
|
228
|
-
|
|
229
|
+
h as valueEnumToArray
|
|
229
230
|
};
|
|
@@ -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, openBlock as c, createBlock as d, mergeProps as b, withCtx as g, renderSlot as R, createTextVNode as A, toDisplayString as k, createElementVNode as o, normalizeClass as W, normalizeStyle as _, createElementBlock as T, Fragment as F, renderList as I, createCommentVNode 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
|
+
R(e.$slots, "tooltip", { tags: e.list }, () => [
|
|
83
|
+
A(k(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: _({
|
|
92
92
|
pointerEvents: p.value ? "auto" : "none"
|
|
93
93
|
// opacity: isUpdating ? '0' : '1'
|
|
94
94
|
})
|
|
95
95
|
}, [
|
|
96
|
-
(c(!0),
|
|
96
|
+
(c(!0), T(F, null, I(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: _({ 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(), T("span", {
|
|
164
164
|
key: 1,
|
|
165
165
|
class: W(P.value)
|
|
166
|
-
},
|
|
166
|
+
}, k(r.value.text), 3)) : U("", !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, openBlock as b, createElementBlock as y, normalizeStyle as w, normalizeClass as p, 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) => (b(), y("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, openBlock as y, createElementBlock as R, 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/SingleFile.vue2.mjs";
|
|
12
12
|
import W from "./components/MultipleFile.vue2.mjs";
|
|
13
|
-
import X from "./components/
|
|
13
|
+
import X from "./components/Picture.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: Q,
|
|
95
95
|
multipleFile: W,
|
|
96
|
-
picture:
|
|
96
|
+
picture: X
|
|
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, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
|
|
3
|
+
import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadChangeParam, 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, openBlock as h, createElementBlock as C, normalizeClass as Q, unref as n, createVNode as U, withCtx as b, createElementVNode as S, createTextVNode as X, toDisplayString as L, withModifiers as Y, createBlock as Z, resolveDynamicComponent as ee, createCommentVNode 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(), ee(
|
|
205
|
-
])) :
|
|
204
|
+
(h(), Z(ee(n(f))))
|
|
205
|
+
])) : te("", !0)
|
|
206
206
|
])
|
|
207
207
|
])
|
|
208
208
|
]),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Oss } from '../hooks/useOss';
|
|
2
|
-
import { actionResponse } from '@aplus-frontend/oss';
|
|
3
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
declare function setValue(val?: (string | Record<string, any>)[]): void;
|
|
5
4
|
interface UploadFile extends File {
|
|
@@ -18,7 +17,13 @@ declare function __VLS_template(): {
|
|
|
18
17
|
pictureContext?(_: {
|
|
19
18
|
fileList: {
|
|
20
19
|
oss: {
|
|
21
|
-
pauseUpload: (() => Promise<
|
|
20
|
+
pauseUpload: (() => Promise<{
|
|
21
|
+
status: number;
|
|
22
|
+
previewUrl?: string;
|
|
23
|
+
saveUrl?: string;
|
|
24
|
+
originalFileName?: string;
|
|
25
|
+
message: string;
|
|
26
|
+
}>) | undefined;
|
|
22
27
|
};
|
|
23
28
|
}[];
|
|
24
29
|
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, openBlock as g, createElementBlock as h, normalizeClass as ee, unref as i, createElementVNode as d, renderSlot as te, Fragment as ne, renderList as ae, withDirectives as se, createVNode as k, createCommentVNode as I, 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) => (g(), h("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
|
+
(g(!0), h(ne, null, ae(i(o), (t) => (g(), h("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" ? (g(), h("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) ? (g(), h("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) ? (g(), h("div", Se, C(i(E)), 1)) : (g(), h("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, openBlock as k, createElementBlock as z, normalizeClass as re, unref as a, createElementVNode as i, toDisplayString as A, createCommentVNode 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, A(a(J)), 1),
|
|
188
|
+
i("div", Ce, A(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
|
+
])) : b("", !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
|
+
}, A((c = n.value) == null ? void 0 : c.name), 5),
|
|
205
205
|
i("div", ze, [
|
|
206
|
-
P.value ?
|
|
206
|
+
P.value ? b("", !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
|
+
])) : b("", !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, openBlock as s, createElementBlock as u, 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 { openBlock as t, createElementBlock 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 t(), e("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, openBlock as E, createElementBlock 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) => (E(), K("div", {
|
|
33
33
|
class: f([t(n)()])
|
|
34
34
|
}, [
|
|
35
35
|
T(c("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, computed as n,
|
|
1
|
+
import { defineComponent as T, computed as n, openBlock as c, createBlock as m, unref as a, mergeProps as p, withCtx as r, createVNode as d, createElementVNode as N, normalizeStyle as $, resolveDynamicComponent as h, h as w, normalizeClass as x, normalizeProps as z, guardReactiveProps as G, createCommentVNode as M } from "vue";
|
|
2
2
|
import { DropdownButton as S, Dropdown as V } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/index.mjs";
|
|
4
4
|
import "./MenuItemGroup.vue.mjs";
|
|
@@ -61,7 +61,7 @@ const re = /* @__PURE__ */ T({
|
|
|
61
61
|
return g({
|
|
62
62
|
columns: A,
|
|
63
63
|
dataSource: B
|
|
64
|
-
}), (t, o) => l.value.length && b.value === "dropdown" ? (
|
|
64
|
+
}), (t, o) => l.value.length && b.value === "dropdown" ? (c(), m(a(S), p({
|
|
65
65
|
key: 0,
|
|
66
66
|
class: [a(f)()]
|
|
67
67
|
}, {
|
|
@@ -75,18 +75,18 @@ const re = /* @__PURE__ */ T({
|
|
|
75
75
|
}, { "menu-list": l.value }), null, 16, ["menu-list"])
|
|
76
76
|
]),
|
|
77
77
|
default: r(() => [
|
|
78
|
-
|
|
79
|
-
style:
|
|
78
|
+
N("span", {
|
|
79
|
+
style: $({
|
|
80
80
|
color: R.value
|
|
81
81
|
})
|
|
82
82
|
}, [
|
|
83
|
-
(
|
|
83
|
+
(c(), m(h(w("span", [v.value]))))
|
|
84
84
|
], 4)
|
|
85
85
|
]),
|
|
86
86
|
_: 1
|
|
87
|
-
}, 16, ["class"])) : l.value.length && b.value === "default" ? (
|
|
87
|
+
}, 16, ["class"])) : l.value.length && b.value === "default" ? (c(), m(a(V), {
|
|
88
88
|
key: 1,
|
|
89
|
-
class:
|
|
89
|
+
class: x([a(f)()]),
|
|
90
90
|
disabled: i.value
|
|
91
91
|
}, {
|
|
92
92
|
overlay: r(() => [
|
|
@@ -95,20 +95,20 @@ const re = /* @__PURE__ */ T({
|
|
|
95
95
|
}, { "menu-list": l.value }), null, 16, ["menu-list"])
|
|
96
96
|
]),
|
|
97
97
|
default: r(() => [
|
|
98
|
-
d(a(H), G(
|
|
98
|
+
d(a(H), z(G({
|
|
99
99
|
...t.$attrs,
|
|
100
100
|
...y(),
|
|
101
101
|
type: u.value
|
|
102
102
|
})), {
|
|
103
103
|
default: r(() => [
|
|
104
|
-
(
|
|
104
|
+
(c(), m(h(w("span", [v.value])))),
|
|
105
105
|
d(a(F))
|
|
106
106
|
]),
|
|
107
107
|
_: 1
|
|
108
108
|
}, 16)
|
|
109
109
|
]),
|
|
110
110
|
_: 1
|
|
111
|
-
}, 8, ["class", "disabled"])) :
|
|
111
|
+
}, 8, ["class", "disabled"])) : M("", !0);
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _, ref as v,
|
|
1
|
+
import { defineComponent as _, ref as v, openBlock as s, createBlock as a, unref as u, withCtx as d, createElementBlock as h, Fragment as t, renderList as y, mergeProps as k, createElementVNode as w, withDirectives as g, createVNode as C, vShow as b, resolveDynamicComponent as L, h as M } from "vue";
|
|
2
2
|
import { LoadingOutlined as B } from "@ant-design/icons-vue";
|
|
3
3
|
import { Menu as R, MenuItem as x } from "@aplus-frontend/antdv";
|
|
4
4
|
const D = { style: { display: "flex", "align-items": "center" } }, P = /* @__PURE__ */ _({
|
|
@@ -3,8 +3,8 @@ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/bu
|
|
|
3
3
|
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
+
import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
|
|
6
7
|
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
7
|
-
import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
|
|
8
8
|
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
10
|
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
@@ -63,7 +63,7 @@ declare const ApBatchActionGroup: {
|
|
|
63
63
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
64
64
|
};
|
|
65
65
|
}>>, "type" | "onClick"> & {
|
|
66
|
-
type?:
|
|
66
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
67
67
|
borderLinkColor?: string;
|
|
68
68
|
minWidth?: boolean | number | string;
|
|
69
69
|
lazy?: boolean | number;
|
|
@@ -364,7 +364,7 @@ declare const ApBatchActionGroup: {
|
|
|
364
364
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
365
365
|
};
|
|
366
366
|
}>>, "type" | "onClick"> & {
|
|
367
|
-
type?:
|
|
367
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
368
368
|
borderLinkColor?: string;
|
|
369
369
|
minWidth?: boolean | number | string;
|
|
370
370
|
lazy?: boolean | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, computed as T,
|
|
1
|
+
import { defineComponent as k, computed as T, openBlock as t, createBlock as u, unref as s, normalizeProps as P, guardReactiveProps as R, withCtx as c, createElementBlock as m, Fragment as p, renderList as i, mergeProps as l, resolveDynamicComponent as f, h as y, createCommentVNode as B } from "vue";
|
|
2
2
|
import { Space as x } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/ap-button.vue2.mjs";
|
|
4
4
|
import "../../ap-button/ap-action-button.vue2.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, computed as r,
|
|
1
|
+
import { defineComponent as g, computed as r, openBlock as t, createElementBlock as s, normalizeClass as C, unref as u, normalizeStyle as h, createBlock as a, mergeProps as S, createSlots as B, withCtx as x, isVNode as P, resolveDynamicComponent as y, toDisplayString as _, createCommentVNode as N, renderSlot as $ } from "vue";
|
|
2
2
|
import "../ap-title/ApTitle.vue.mjs";
|
|
3
3
|
import { omit as b } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -20,17 +20,17 @@ const V = { key: 1 }, j = { key: 1 }, G = /* @__PURE__ */ g({
|
|
|
20
20
|
return (n, w) => {
|
|
21
21
|
var m, d;
|
|
22
22
|
return t(), s("div", {
|
|
23
|
-
class:
|
|
24
|
-
style:
|
|
23
|
+
class: C([u(f)()]),
|
|
24
|
+
style: h({
|
|
25
25
|
padding: p.value
|
|
26
26
|
})
|
|
27
27
|
}, [
|
|
28
|
-
c.value ? (t(), a(D,
|
|
28
|
+
c.value ? (t(), a(D, S({
|
|
29
29
|
key: 0,
|
|
30
30
|
class: [`${u(f)()}-title`]
|
|
31
31
|
}, {
|
|
32
32
|
...v.value
|
|
33
|
-
}),
|
|
33
|
+
}), B({ _: 2 }, [
|
|
34
34
|
(m = e == null ? void 0 : e.titleProps) != null && m.suffix ? {
|
|
35
35
|
name: "suffix",
|
|
36
36
|
fn: x(() => {
|
|
@@ -51,8 +51,8 @@ const V = { key: 1 }, j = { key: 1 }, G = /* @__PURE__ */ g({
|
|
|
51
51
|
}),
|
|
52
52
|
key: "1"
|
|
53
53
|
} : void 0
|
|
54
|
-
]), 1040, ["class"])) :
|
|
55
|
-
|
|
54
|
+
]), 1040, ["class"])) : N("", !0),
|
|
55
|
+
$(n.$slots, "default")
|
|
56
56
|
], 6);
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApExpandAlertProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onExpand?: ((...args: any[]) => any) | undefined;
|
|
@@ -23,7 +23,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
23
23
|
}): any;
|
|
24
24
|
};
|
|
25
25
|
emit: (event: "expand" | "choose", ...args: any[]) => void;
|
|
26
|
-
}>) => VNode
|
|
26
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}> & {
|
|
27
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
30
|
};
|
|
29
31
|
export default _default;
|