@aplus-frontend/ui 0.6.0-beta.1 → 0.6.0-beta.10
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.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +1 -1
- package/es/src/ap-field/date/helper.mjs +12 -12
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-form/interface.d.ts +4 -0
- package/es/src/ap-form/item/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/es/src/ap-form/render/item.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +40 -36
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
- package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
- package/es/src/ap-form/search-form/index.vue.mjs +77 -76
- package/es/src/ap-grid/constants.d.ts +3 -3
- package/es/src/ap-grid/constants.mjs +9 -9
- package/es/src/ap-grid/editable/form-item.vue.mjs +94 -83
- package/es/src/ap-grid/editable/index.vue.mjs +89 -78
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
- package/es/src/ap-grid/index.vue.mjs +161 -139
- package/es/src/ap-grid/interface.d.ts +2 -2
- package/es/src/ap-grid/utils/table.mjs +32 -32
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue2.mjs +209 -198
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +30 -30
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +147 -130
- package/es/src/ap-table/utils.d.ts +14 -14
- package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
- package/es/src/ap-tag/interface.d.ts +4 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +93 -73
- package/es/src/business/ap-expand-alert/index.d.ts +4 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +109 -99
- package/es/src/business/ap-export-group/index.d.ts +3 -0
- package/es/src/business/ap-export-group/interface.d.ts +7 -2
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +3 -3
- package/es/src/business/ap-status/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
- package/es/src/business/ap-view/ap-view.vue2.mjs +128 -112
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +64 -54
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +79 -73
- package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/es/src/business/ap-view/index.d.ts +3 -0
- package/es/src/business/ap-view/interface.d.ts +8 -0
- package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/hooks/usePageListApGrid.mjs +3 -5
- package/es/src/check-card/group.vue.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +0 -5
- package/es/src/config-provider/config-provider-props.mjs +0 -4
- package/es/src/config-provider/config-provider.d.ts +0 -138
- package/es/src/config-provider/config-provider.mjs +21 -26
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/es/src/config-provider/index.d.ts +0 -652
- package/es/src/editable-table/form-item.vue.d.ts +2 -14
- package/es/src/editable-table/form-item.vue.mjs +84 -76
- package/es/src/editable-table/index.vue.d.ts +2 -16
- package/es/src/editable-table/index.vue.mjs +91 -83
- package/es/src/editable-table/interface.d.ts +7 -0
- package/es/src/locale/lang/en.mjs +1 -1
- package/es/src/locale/lang/zh-cn.mjs +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-field/date/helper.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/interface.d.ts +4 -0
- package/lib/src/ap-form/item/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/render/item.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/constants.d.ts +3 -3
- package/lib/src/ap-grid/constants.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/hooks/use-inner-params.d.ts +2 -1
- package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +2 -2
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.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 +30 -30
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/utils.d.ts +14 -14
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +4 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +3 -0
- package/lib/src/business/ap-export-group/interface.d.ts +7 -2
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +3 -3
- package/lib/src/business/ap-status/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/lib/src/business/ap-view/index.d.ts +3 -0
- package/lib/src/business/ap-view/interface.d.ts +8 -0
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +0 -5
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +0 -138
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/lib/src/config-provider/index.d.ts +0 -652
- package/lib/src/editable-table/form-item.vue.d.ts +2 -14
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -16
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -0
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +4 -4
- package/theme/antd-global-overwrite/admin/index.css +14 -27
- package/theme/antd-global-overwrite/admin/index.less +1 -0
- package/theme/antd-global-overwrite/admin/modal.css +8 -24
- package/theme/antd-global-overwrite/admin/modal.less +9 -24
- package/theme/antd-global-overwrite/admin/table.css +3 -3
- package/theme/antd-global-overwrite/admin/table.less +3 -3
- package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/index.css +13 -20
- package/theme/antd-global-overwrite/aplus/index.less +1 -0
- package/theme/antd-global-overwrite/aplus/modal.css +7 -17
- package/theme/antd-global-overwrite/aplus/modal.less +8 -18
- package/theme/antd-global-overwrite/aplus/table.css +3 -3
- package/theme/antd-global-overwrite/aplus/table.less +3 -3
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-action/item-dropdown.css +19 -1
- package/theme/ap-action/item.css +20 -2
- package/theme/ap-appendix/ap-appendix.css +25 -5
- package/theme/ap-appendix/ap-appendix.less +6 -4
- package/theme/ap-attachment/ap-attachment.css +25 -6
- package/theme/ap-attachment/ap-attachment.less +6 -6
- package/theme/ap-batch-action/ap-batch-action.css +25 -4
- package/theme/ap-batch-action/ap-batch-action.less +6 -3
- package/theme/ap-button/ap-button.css +19 -1
- package/theme/ap-card/ap-card.css +19 -1
- package/theme/ap-descriptions/ap-descriptions.css +24 -6
- package/theme/ap-descriptions/ap-descriptions.less +5 -5
- package/theme/ap-download/ap-download.css +26 -11
- package/theme/ap-download/ap-download.less +8 -11
- package/theme/ap-expand-alert/ap-expand-alert.css +21 -3
- package/theme/ap-expand-alert/ap-expand-alert.less +5 -5
- package/theme/ap-field/checkbox.css +19 -1
- package/theme/ap-field/index.css +19 -1
- package/theme/ap-field/number.css +19 -1
- package/theme/ap-field/radio.css +19 -1
- package/theme/ap-field/text-area.css +19 -1
- package/theme/ap-form/ap-form-item-group.css +19 -1
- package/theme/ap-form/ap-form-item.css +26 -5
- package/theme/ap-form/ap-form-item.less +11 -5
- package/theme/ap-form/drawer-form.css +19 -1
- package/theme/ap-form/index.css +43 -10
- package/theme/ap-form/item-text-group.css +19 -1
- package/theme/ap-form/item-text.css +19 -1
- package/theme/ap-form/modal-form.css +19 -1
- package/theme/ap-form/search-form-sorter.css +24 -5
- package/theme/ap-form/search-form-sorter.less +1 -0
- package/theme/ap-form/search-form.css +43 -10
- package/theme/ap-form/search-form.less +12 -1
- package/theme/ap-grid/editable.css +19 -1
- package/theme/ap-grid/editable.less +3 -2
- package/theme/ap-grid/index.css +78 -15
- package/theme/ap-grid/index.less +21 -6
- package/theme/ap-group-search/ap-extension-select.css +19 -1
- package/theme/ap-group-search/ap-group-search.css +19 -1
- package/theme/ap-group-search/ap-popover-select.css +19 -1
- package/theme/ap-image/ap-image.css +19 -1
- package/theme/ap-input-radio/ap-input-radio.css +19 -1
- package/theme/ap-label/ap-label.css +19 -1
- package/theme/ap-ladder/ap-ladder.css +23 -4
- package/theme/ap-ladder/ap-ladder.less +4 -3
- package/theme/ap-layout/ap-info-layout.css +19 -1
- package/theme/ap-list/index.css +19 -1
- package/theme/ap-product-info/ap-product-info.css +19 -1
- package/theme/ap-select-layout/ap-select-layout.css +27 -9
- package/theme/ap-select-layout/ap-select-layout.less +8 -8
- package/theme/ap-size-input/ap-size-input.css +19 -1
- package/theme/ap-status/ap-status.css +21 -4
- package/theme/ap-status/ap-status.less +2 -4
- package/theme/ap-summary/index.css +22 -4
- package/theme/ap-summary/index.less +3 -3
- package/theme/ap-table/ap-table-index.css +24 -6
- package/theme/ap-table/ap-table-index.less +5 -5
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +19 -1
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +77 -29
- package/theme/ap-table/ap-table.less +7 -9
- package/theme/ap-table/setting/index.css +23 -6
- package/theme/ap-table/setting/modal.css +21 -4
- package/theme/ap-table/setting/modal.less +1 -2
- package/theme/ap-table/setting/select-group.css +21 -2
- package/theme/ap-table/setting/select-group.less +2 -1
- package/theme/ap-table/setting/sortable-item-meta.css +19 -1
- package/theme/ap-table/setting/sortable-item.css +19 -1
- package/theme/ap-table/setting/sorter.css +19 -2
- package/theme/ap-table-modal/index.css +77 -29
- package/theme/ap-tag/ap-tag-group.css +21 -3
- package/theme/ap-tag/ap-tag-group.less +4 -5
- package/theme/ap-tag/ap-tag.css +42 -15
- package/theme/ap-tag/ap-tag.less +37 -24
- package/theme/ap-title/ap-title.css +26 -6
- package/theme/ap-title/ap-title.less +7 -5
- package/theme/ap-upload/index.css +27 -9
- package/theme/ap-upload/multiple-file.css +21 -3
- package/theme/ap-upload/multiple-file.less +2 -2
- package/theme/ap-upload/picture.css +23 -5
- package/theme/ap-upload/picture.less +4 -4
- package/theme/ap-upload/single-file.css +21 -3
- package/theme/ap-upload/single-file.less +2 -2
- package/theme/ap-upload/upload.css +19 -1
- package/theme/ap-upload-single/index.css +19 -1
- package/theme/ap-view/ap-view.css +23 -1
- package/theme/ap-view/ap-view.less +4 -0
- package/theme/batch-input-group/index.css +20 -1
- package/theme/batch-input-group/popover-input.css +20 -1
- package/theme/batch-input-group/popover-input.less +1 -0
- package/theme/check-card/index.css +22 -4
- package/theme/editable-table/index.css +44 -11
- package/theme/full-screen/index.css +19 -1
- package/theme/index.css +305 -114
- package/theme/index.less +1 -0
- package/theme/mask/index.css +19 -1
- package/theme/mixins/config.less +1 -1
- package/theme/mixins/mixins.css +19 -1
- package/theme/mixins/mixins.less +25 -0
- package/theme/scroll-bar/index.css +19 -1
- package/theme/scroll-view/index.css +19 -1
- package/theme/splitter/index.css +21 -3
- package/theme/text/group.css +19 -1
- package/theme/text/index.css +20 -2
- package/theme/ui-mode.css +94 -0
- package/theme/ui-mode.less +95 -0
- package/theme/work-order-modal/index.css +19 -1
- package/es/src/config-provider/css-var.d.ts +0 -139
- package/es/src/config-provider/css-var.mjs +0 -278
- package/lib/src/config-provider/css-var.d.ts +0 -139
- package/lib/src/config-provider/css-var.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as D, ref as
|
|
1
|
+
import { defineComponent as D, ref as b, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, createBlock as d, openBlock as u, mergeProps as k, withCtx as g, createElementVNode as o, normalizeStyle as W, normalizeClass as _, createElementBlock as T, createCommentVNode as R, Fragment as A, renderList as F, toDisplayString as E, 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";
|
|
@@ -8,7 +8,7 @@ import { useLocale as K } from "../config-provider/hooks/use-locale.mjs";
|
|
|
8
8
|
import { useGlobalConfig as O } from "../config-provider/hooks/use-global-config.mjs";
|
|
9
9
|
import { useNamespace as Q } from "../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
import X from "./ap-tag.vue.mjs";
|
|
11
|
-
const
|
|
11
|
+
const ce = /* @__PURE__ */ D({
|
|
12
12
|
__name: "ap-tag-group",
|
|
13
13
|
props: {
|
|
14
14
|
list: { default: () => [] },
|
|
@@ -16,15 +16,15 @@ const ue = /* @__PURE__ */ D({
|
|
|
16
16
|
ellipsisColor: {},
|
|
17
17
|
ellipsis: { default: () => ({}) }
|
|
18
18
|
},
|
|
19
|
-
setup(
|
|
20
|
-
const { t:
|
|
19
|
+
setup(z) {
|
|
20
|
+
const { t: V } = K(), i = z, v = O("uiMode"), { b: $, bm: h } = Q("tag-group"), c = b(), r = n(() => ({
|
|
21
21
|
...{
|
|
22
|
-
iconColor: "#
|
|
22
|
+
iconColor: v.value === "aplus" ? "#182948" : "#333",
|
|
23
23
|
symbol: "icon",
|
|
24
|
-
text:
|
|
24
|
+
text: V("ap.common.more")
|
|
25
25
|
},
|
|
26
26
|
...i.ellipsis
|
|
27
|
-
})),
|
|
27
|
+
})), B = n(() => r.value.tooltip && typeof r.value.tooltip == "object" ? J(r.value.tooltip, ["trigger", "title"]) : {}), p = n(() => f(m) < i.list.length), m = b(0), L = n(() => i.list.map((e) => e.text).join("、")), M = n(() => [$()].filter(Boolean)), P = n(() => v.value === "aplus" ? [h("ellipsis-text", "aplus")] : [h("ellipsis-text", "admin")]), y = (e, t) => {
|
|
28
28
|
let s = document.createElement("canvas");
|
|
29
29
|
const l = s.getContext("2d");
|
|
30
30
|
l.font = `${e}px system-ui`;
|
|
@@ -34,21 +34,21 @@ const ue = /* @__PURE__ */ D({
|
|
|
34
34
|
}, 0), a.width;
|
|
35
35
|
}, x = () => {
|
|
36
36
|
let e = 0, t = 0;
|
|
37
|
-
if (!
|
|
38
|
-
const s =
|
|
37
|
+
if (!c.value) return;
|
|
38
|
+
const s = c.value.offsetWidth;
|
|
39
39
|
for (let l of i.list) {
|
|
40
|
-
const a = l.size === "large" ? 16 : 12,
|
|
40
|
+
const a = l.size === "large" ? 16 : 12, C = y(
|
|
41
41
|
l.size === "large" ? 14 : 12,
|
|
42
42
|
l.text
|
|
43
43
|
) + a + 2 + i.space;
|
|
44
|
-
if (e +=
|
|
45
|
-
e -=
|
|
44
|
+
if (e += C, e > s) {
|
|
45
|
+
e -= C;
|
|
46
46
|
break;
|
|
47
47
|
}
|
|
48
48
|
t++;
|
|
49
49
|
}
|
|
50
50
|
if (t < i.list.length) {
|
|
51
|
-
const a =
|
|
51
|
+
const a = y(12, r.value.text);
|
|
52
52
|
i.ellipsis.symbol === "icon" ? e += 16 : e += a, e > s && t--;
|
|
53
53
|
}
|
|
54
54
|
m.value = t;
|
|
@@ -64,7 +64,7 @@ const ue = /* @__PURE__ */ D({
|
|
|
64
64
|
immediate: !0
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
|
-
const
|
|
67
|
+
const w = () => {
|
|
68
68
|
x();
|
|
69
69
|
};
|
|
70
70
|
return j(() => {
|
|
@@ -74,35 +74,38 @@ const ue = /* @__PURE__ */ D({
|
|
|
74
74
|
`[ApTagGroup]: \`${e}\` is deprecated, please use \`${t}\` instead.`
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
|
-
), window.addEventListener("resize",
|
|
77
|
+
), window.addEventListener("resize", w);
|
|
78
78
|
}), G(() => {
|
|
79
|
-
window.removeEventListener("resize",
|
|
80
|
-
}), (e, t) => (
|
|
79
|
+
window.removeEventListener("resize", w);
|
|
80
|
+
}), (e, t) => (u(), d(f(q), k({ trigger: "hover" }, B.value), {
|
|
81
81
|
title: g(() => [
|
|
82
82
|
I(e.$slots, "tooltip", { tags: e.list }, () => [
|
|
83
|
-
U(
|
|
83
|
+
U(E(L.value), 1)
|
|
84
84
|
])
|
|
85
85
|
]),
|
|
86
86
|
default: g(() => [
|
|
87
87
|
o("div", {
|
|
88
88
|
ref_key: "container",
|
|
89
|
-
ref:
|
|
90
|
-
class:
|
|
91
|
-
style:
|
|
89
|
+
ref: c,
|
|
90
|
+
class: _(M.value),
|
|
91
|
+
style: W({
|
|
92
92
|
pointerEvents: p.value ? "auto" : "none"
|
|
93
93
|
// opacity: isUpdating ? '0' : '1'
|
|
94
94
|
})
|
|
95
95
|
}, [
|
|
96
|
-
(
|
|
96
|
+
(u(!0), T(A, null, F(e.list, (s, l) => (u(), d(X, k({ ref_for: !0 }, s, {
|
|
97
97
|
key: l,
|
|
98
98
|
style: {
|
|
99
99
|
display: l >= m.value ? "none" : "inline-block",
|
|
100
100
|
marginRight: `${e.space}px`
|
|
101
101
|
}
|
|
102
102
|
}), null, 16, ["style"]))), 128)),
|
|
103
|
-
p.value && r.value.symbol === "icon" ? (
|
|
103
|
+
p.value && r.value.symbol === "icon" ? (u(), d(f(H), {
|
|
104
104
|
key: 0,
|
|
105
|
-
style:
|
|
105
|
+
style: W({
|
|
106
|
+
color: e.ellipsisColor || r.value.iconColor,
|
|
107
|
+
cursor: "pointer"
|
|
108
|
+
})
|
|
106
109
|
}, {
|
|
107
110
|
component: g(() => t[0] || (t[0] = [
|
|
108
111
|
o("svg", {
|
|
@@ -160,10 +163,11 @@ const ue = /* @__PURE__ */ D({
|
|
|
160
163
|
], -1)
|
|
161
164
|
])),
|
|
162
165
|
_: 1
|
|
163
|
-
}, 8, ["style"])) : p.value && r.value.symbol === "text" ? (
|
|
166
|
+
}, 8, ["style"])) : p.value && r.value.symbol === "text" ? (u(), T("span", {
|
|
164
167
|
key: 1,
|
|
165
|
-
class:
|
|
166
|
-
|
|
168
|
+
class: _(P.value),
|
|
169
|
+
style: { cursor: "pointer" }
|
|
170
|
+
}, E(r.value.text), 3)) : R("", !0)
|
|
167
171
|
], 6)
|
|
168
172
|
]),
|
|
169
173
|
_: 3
|
|
@@ -171,5 +175,5 @@ const ue = /* @__PURE__ */ D({
|
|
|
171
175
|
}
|
|
172
176
|
});
|
|
173
177
|
export {
|
|
174
|
-
|
|
178
|
+
ce as default
|
|
175
179
|
};
|
|
@@ -2,6 +2,7 @@ import { ApTagProps } from './interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<ApTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagProps> & Readonly<{}>, {
|
|
4
4
|
size: "small" | "middle" | "large";
|
|
5
|
+
type: "purely" | "border";
|
|
5
6
|
color: string;
|
|
6
7
|
disabled: boolean;
|
|
7
8
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, computed as n, createElementBlock as
|
|
1
|
+
import { defineComponent as $, computed as n, createElementBlock as S, openBlock as b, normalizeClass as i, 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";
|
|
@@ -7,31 +7,37 @@ const A = /* @__PURE__ */ $({
|
|
|
7
7
|
name: "ApTag",
|
|
8
8
|
__name: "ap-tag",
|
|
9
9
|
props: {
|
|
10
|
+
type: { default: "purely" },
|
|
10
11
|
text: {},
|
|
11
12
|
color: { default: "#34B77C" },
|
|
12
13
|
size: { default: "middle" },
|
|
13
14
|
disabled: { type: Boolean, default: !1 }
|
|
14
15
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const e =
|
|
17
|
-
function
|
|
16
|
+
setup(o) {
|
|
17
|
+
const e = o, l = I("uiMode"), { b: r, bm: a } = _("tag");
|
|
18
|
+
function p(t, s) {
|
|
18
19
|
t.length === 4 && (t = `#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`);
|
|
19
|
-
const m = parseInt(t.slice(1, 3), 16), f = parseInt(t.slice(3, 5), 16), g = parseInt(t.slice(5, 7), 16),
|
|
20
|
-
return `#${m.toString(16).padStart(2, "0")}${f.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${
|
|
20
|
+
const m = parseInt(t.slice(1, 3), 16), f = parseInt(t.slice(3, 5), 16), g = parseInt(t.slice(5, 7), 16), y = Math.round(s * 255).toString(16).padStart(2, "0");
|
|
21
|
+
return `#${m.toString(16).padStart(2, "0")}${f.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${y}`;
|
|
21
22
|
}
|
|
22
23
|
const c = n(() => ({
|
|
23
24
|
"--tag-main-color": e.color,
|
|
24
|
-
"--tag-main-color-opacity":
|
|
25
|
-
|
|
25
|
+
"--tag-main-color-opacity": p(e.color, 0.06),
|
|
26
|
+
"--tag-main-color-background": p(e.color, 0.15)
|
|
27
|
+
})), u = n(() => [
|
|
28
|
+
r("wrapper"),
|
|
29
|
+
r(`wrapper-${e.type}`),
|
|
30
|
+
a("wrapper", e.size)
|
|
31
|
+
].filter(Boolean)), d = n(() => {
|
|
26
32
|
const t = [r("inner-wrapper"), a("inner-wrapper", e.size)];
|
|
27
|
-
return e.disabled && (
|
|
33
|
+
return e.disabled && (l.value === "aplus" ? t.push(a("inner-wrapper", "disabled")) : t.push(a("inner-wrapper", "disabled-admin"))), t;
|
|
28
34
|
});
|
|
29
|
-
return (t, s) => (
|
|
35
|
+
return (t, s) => (b(), S("span", {
|
|
30
36
|
style: w(c.value),
|
|
31
|
-
class:
|
|
37
|
+
class: i(u.value)
|
|
32
38
|
}, [
|
|
33
39
|
z(B(v), {
|
|
34
|
-
class:
|
|
40
|
+
class: i(d.value),
|
|
35
41
|
ellipsis: { tooltip: t.text },
|
|
36
42
|
content: t.text
|
|
37
43
|
}, null, 8, ["class", "ellipsis", "content"])
|
|
@@ -2,8 +2,8 @@ import { ApExpandAlertProps } from './interface';
|
|
|
2
2
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } 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
|
-
readonly onExpand?: ((
|
|
6
|
-
readonly onChoose?: ((
|
|
5
|
+
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
6
|
+
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
7
7
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onExpand" | "onChoose"> & ApExpandAlertProps<T> & Partial<{}>> & PublicProps;
|
|
8
8
|
expose(exposed: ShallowUnwrapRef<{
|
|
9
9
|
setExpand: (state?: boolean) => void;
|
|
@@ -22,7 +22,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
22
22
|
index: number;
|
|
23
23
|
}): any;
|
|
24
24
|
};
|
|
25
|
-
emit: (
|
|
25
|
+
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
26
26
|
}>) => VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DownOutlined as
|
|
3
|
-
import { Alert as
|
|
4
|
-
import { ApActionItem as
|
|
1
|
+
import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W, createElementBlock as i, openBlock as a, normalizeClass as n, unref as t, createVNode as b, withCtx as m, createElementVNode as S, normalizeStyle as y, renderSlot as H, createBlock as $, toDisplayString as u, resolveDynamicComponent as I, Fragment as C, renderList as j, createCommentVNode as L, createTextVNode as J } from "vue";
|
|
2
|
+
import { DownOutlined as P } from "@ant-design/icons-vue";
|
|
3
|
+
import { Alert as Q, Tooltip as U } from "@aplus-frontend/antdv";
|
|
4
|
+
import { ApActionItem as X } from "../../ap-action/index.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import { isString as E } from "lodash-unified";
|
|
7
|
-
import { useLocale as
|
|
8
|
-
import { useNamespace as
|
|
9
|
-
import { useGlobalConfig as
|
|
10
|
-
const
|
|
6
|
+
import { isNil as Y, isString as E } from "lodash-unified";
|
|
7
|
+
import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { useNamespace as _ } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { useGlobalConfig as ee } from "../../config-provider/hooks/use-global-config.mjs";
|
|
10
|
+
const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
11
11
|
__name: "ApExpandAlert",
|
|
12
12
|
props: {
|
|
13
13
|
type: { default: "warning" },
|
|
@@ -24,126 +24,146 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
24
24
|
showIcon: { type: Boolean, default: !0 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["choose", "expand"],
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
29
|
-
if (
|
|
30
|
-
return
|
|
31
|
-
}), l =
|
|
27
|
+
setup(z, { expose: D, emit: M }) {
|
|
28
|
+
const A = M, p = z, { t: B } = Z(), V = c(() => {
|
|
29
|
+
if (p.type != "card")
|
|
30
|
+
return p.type;
|
|
31
|
+
}), l = g(""), d = g(null), R = c(() => ({
|
|
32
32
|
fontWeight: "400",
|
|
33
33
|
wordBreak: "break-all",
|
|
34
34
|
overflow: "hidden",
|
|
35
35
|
display: "-webkit-box",
|
|
36
36
|
webkitLineClamp: l.value,
|
|
37
37
|
webkitBoxOrient: "vertical",
|
|
38
|
-
lineHeight: "
|
|
38
|
+
lineHeight: "18px"
|
|
39
39
|
}));
|
|
40
|
-
function
|
|
41
|
-
l.value === "1" ? l.value = "" : l.value = "1",
|
|
40
|
+
function q() {
|
|
41
|
+
l.value === "1" ? (l.value = "", A("expand", "expand")) : (l.value = "1", A("expand", "collapse"));
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const F = c(() => l.value === "1" ? B("ap.apExpandAlert.expand") : B("ap.apExpandAlert.collapse")), h = g(!0), N = c(() => l.value !== "1");
|
|
44
44
|
function v(e) {
|
|
45
45
|
e ? l.value = "" : l.value = "1";
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
() =>
|
|
47
|
+
x(
|
|
48
|
+
() => p.data,
|
|
49
49
|
() => {
|
|
50
|
-
l.value = "",
|
|
51
|
-
if (
|
|
52
|
-
const e = Number(
|
|
53
|
-
parseInt(
|
|
50
|
+
l.value = "", f(() => {
|
|
51
|
+
if (d.value) {
|
|
52
|
+
const e = Number(d.value.clientHeight), r = Number(
|
|
53
|
+
parseInt(d.value.style.lineHeight)
|
|
54
54
|
);
|
|
55
|
-
e <
|
|
55
|
+
e < r * Number(p.rows) && N.value ? h.value = !1 : h.value = !0;
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
immediate: !0
|
|
61
61
|
}
|
|
62
|
-
),
|
|
63
|
-
() =>
|
|
62
|
+
), x(
|
|
63
|
+
() => p.defaultExpand,
|
|
64
64
|
(e) => {
|
|
65
|
-
e ?
|
|
65
|
+
e ? f(() => {
|
|
66
66
|
v(e);
|
|
67
|
-
}) :
|
|
67
|
+
}) : f(() => {
|
|
68
68
|
v(e);
|
|
69
69
|
});
|
|
70
70
|
},
|
|
71
71
|
{ immediate: !0 }
|
|
72
|
-
)
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
), W(() => {
|
|
73
|
+
x(
|
|
74
|
+
() => p.contentStyle,
|
|
75
|
+
(e) => {
|
|
76
|
+
Y(e.lineHeight) || f(() => {
|
|
77
|
+
const r = document.querySelector(
|
|
78
|
+
`#${k} .ant-alert-action`
|
|
79
|
+
), s = document.querySelector(
|
|
80
|
+
`#${k} .ant-alert-icon`
|
|
81
|
+
);
|
|
82
|
+
r && r.setAttribute("style", `line-height: ${e.lineHeight}`), s && s.setAttribute("style", `line-height: ${e.lineHeight}`);
|
|
83
|
+
});
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
deep: !0,
|
|
87
|
+
immediate: !0,
|
|
88
|
+
flush: "post"
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
});
|
|
92
|
+
const { b: T, e: o, m: O } = _("ap-expand-alert"), k = `${T()}-key-${Date.now()}-${(Math.random() * 1e6).toFixed(0)}`, G = ee("uiMode", "aplus");
|
|
93
|
+
return D({
|
|
75
94
|
setExpand: v
|
|
76
|
-
}), (e,
|
|
77
|
-
|
|
95
|
+
}), (e, r) => (a(), i("div", {
|
|
96
|
+
id: k,
|
|
97
|
+
class: n([t(T)(), `${t(O)(t(G))}`])
|
|
78
98
|
}, [
|
|
79
|
-
|
|
99
|
+
b(t(Q), {
|
|
80
100
|
type: V.value,
|
|
81
101
|
"show-icon": e.showIcon,
|
|
82
|
-
class:
|
|
102
|
+
class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
|
|
83
103
|
}, {
|
|
84
104
|
action: m(() => [
|
|
85
|
-
|
|
105
|
+
h.value ? (a(), $(t(X), {
|
|
86
106
|
key: 0,
|
|
87
107
|
size: "small",
|
|
88
108
|
style: { "font-size": "12px", "padding-left": "16px" },
|
|
89
|
-
onClick:
|
|
109
|
+
onClick: r[0] || (r[0] = (s) => q())
|
|
90
110
|
}, {
|
|
91
111
|
default: m(() => [
|
|
92
|
-
|
|
93
|
-
class:
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
class:
|
|
112
|
+
S("span", {
|
|
113
|
+
class: n(t(o)("expandText"))
|
|
114
|
+
}, u(F.value), 3),
|
|
115
|
+
b(t(P), {
|
|
116
|
+
class: n(N.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
|
|
97
117
|
}, null, 8, ["class"])
|
|
98
118
|
]),
|
|
99
119
|
_: 1
|
|
100
|
-
})) :
|
|
120
|
+
})) : L("", !0)
|
|
101
121
|
]),
|
|
102
122
|
message: m(() => [
|
|
103
|
-
|
|
123
|
+
S("div", {
|
|
104
124
|
ref_key: "ellipsisBoxRef",
|
|
105
|
-
ref:
|
|
106
|
-
style:
|
|
107
|
-
class:
|
|
125
|
+
ref: d,
|
|
126
|
+
style: y({ ...R.value, ...e.contentStyle }),
|
|
127
|
+
class: n(t(o)("alertContent"))
|
|
108
128
|
}, [
|
|
109
|
-
|
|
110
|
-
t(E)(e.prefix) ? (a(),
|
|
129
|
+
H(e.$slots, "default", {}, () => [
|
|
130
|
+
t(E)(e.prefix) ? (a(), i("span", {
|
|
111
131
|
key: 0,
|
|
112
|
-
class:
|
|
113
|
-
style:
|
|
114
|
-
},
|
|
132
|
+
class: n(t(o)("prefix")),
|
|
133
|
+
style: y(e.prefixStyle)
|
|
134
|
+
}, u(e.prefix), 7)) : (a(), $(I(e.prefix), {
|
|
115
135
|
key: 1,
|
|
116
|
-
style:
|
|
136
|
+
style: y(e.prefixStyle)
|
|
117
137
|
}, null, 8, ["style"])),
|
|
118
|
-
t(E)(e.data) ? (a(),
|
|
138
|
+
t(E)(e.data) ? (a(), i("span", {
|
|
119
139
|
key: 2,
|
|
120
|
-
class:
|
|
121
|
-
},
|
|
122
|
-
|
|
140
|
+
class: n(t(o)("text"))
|
|
141
|
+
}, u(e.data), 3)) : (a(!0), i(C, { key: 3 }, j(e.data, (s, w) => (a(), i(C, { key: w }, [
|
|
142
|
+
b(t(U), {
|
|
123
143
|
title: e.tipTitle ? e.tipTitle : null
|
|
124
144
|
}, {
|
|
125
145
|
default: m(() => [
|
|
126
|
-
|
|
127
|
-
record:
|
|
128
|
-
index:
|
|
146
|
+
H(e.$slots, "item", {
|
|
147
|
+
record: s,
|
|
148
|
+
index: w
|
|
129
149
|
}, () => [
|
|
130
|
-
|
|
131
|
-
class:
|
|
132
|
-
onClick: (
|
|
133
|
-
},
|
|
150
|
+
S("span", {
|
|
151
|
+
class: n(t(o)("showItem")),
|
|
152
|
+
onClick: (ae) => e.$emit("choose", s)
|
|
153
|
+
}, u(e.mapLabel ? s[e.mapLabel] : s), 11, te)
|
|
134
154
|
])
|
|
135
155
|
]),
|
|
136
156
|
_: 2
|
|
137
157
|
}, 1032, ["title"]),
|
|
138
|
-
|
|
158
|
+
w !== e.data.length - 1 ? (a(), i("span", {
|
|
139
159
|
key: 0,
|
|
140
|
-
class:
|
|
141
|
-
style:
|
|
160
|
+
class: n(t(o)("spliter")),
|
|
161
|
+
style: y(e.separatorStyle)
|
|
142
162
|
}, [
|
|
143
|
-
t(E)(e.separator) ? (a(),
|
|
144
|
-
|
|
145
|
-
], 64)) : (a(),
|
|
146
|
-
], 6)) :
|
|
163
|
+
t(E)(e.separator) ? (a(), i(C, { key: 0 }, [
|
|
164
|
+
J(u(e.separator), 1)
|
|
165
|
+
], 64)) : (a(), $(I(e.separator), { key: 1 }))
|
|
166
|
+
], 6)) : L("", !0)
|
|
147
167
|
], 64))), 128))
|
|
148
168
|
])
|
|
149
169
|
], 6)
|
|
@@ -154,5 +174,5 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
154
174
|
}
|
|
155
175
|
});
|
|
156
176
|
export {
|
|
157
|
-
|
|
177
|
+
ce as default
|
|
158
178
|
};
|
|
@@ -15,11 +15,11 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
15
15
|
index: number;
|
|
16
16
|
}): any;
|
|
17
17
|
};
|
|
18
|
-
emit: (
|
|
18
|
+
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
19
19
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
20
20
|
props: {
|
|
21
|
-
readonly onExpand?: ((
|
|
22
|
-
readonly onChoose?: ((
|
|
21
|
+
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
22
|
+
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
23
23
|
type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
|
|
24
24
|
data?: string | T[] | undefined;
|
|
25
25
|
prefix?: string | undefined;
|
|
@@ -50,7 +50,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
50
50
|
index: number;
|
|
51
51
|
}): any;
|
|
52
52
|
};
|
|
53
|
-
emit: (
|
|
53
|
+
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
54
54
|
}>) => VNode & {
|
|
55
55
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
56
56
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApExportGroupProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<ApExportGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApExportGroupProps> & Readonly<{}>, {
|
|
4
|
+
type: "button" | "dropdown";
|
|
4
5
|
exportField: boolean | {
|
|
5
6
|
key?: string;
|
|
6
7
|
convertField?: {
|