@aplus-frontend/ui 7.12.5 → 7.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ag-grid/components/loading/index.vue.d.ts +3 -0
- package/es/src/ag-grid/components/loading/index.vue.mjs +4 -0
- package/es/src/ag-grid/components/loading/index.vue2.mjs +18 -0
- package/es/src/ag-grid/context.mjs +1 -1
- package/es/src/ag-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ag-grid/editable/form-item.vue.mjs +30 -27
- package/es/src/ag-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ag-grid/editable/index.vue.mjs +10 -8
- package/es/src/ag-grid/editable/interface.d.ts +2 -1
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +2 -2
- package/es/src/ag-grid/index.vue.d.ts +2 -4
- package/es/src/ag-grid/index.vue.mjs +209 -202
- package/es/src/ag-grid/interface.d.ts +4 -0
- package/es/src/ag-grid/style/index.mjs +8 -5
- package/es/src/ap-drawer/interface.d.ts +13 -2
- package/es/src/ap-drawer/utils/createDrawer.mjs +37 -32
- package/es/src/ap-field/select/index.vue.d.ts +1 -2
- package/es/src/ap-field/select/index.vue.mjs +126 -88
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/style/index.mjs +8 -6
- package/es/src/ap-field/style/select.d.ts +2 -0
- package/es/src/ap-field/style/select.mjs +43 -0
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/context.mjs +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/item-group/helper.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +4 -5
- package/es/src/ap-form/items/select/index.vue.d.ts +12 -16
- 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 +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/provider/context.mjs +1 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/utils/table.mjs +2 -2
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +2 -2
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +15 -16
- package/es/src/ap-table/components/setting/context.d.ts +17 -0
- package/es/src/ap-table/components/setting/context.mjs +18 -0
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +217 -88
- package/es/src/ap-table/components/setting/sorter/context.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +49 -51
- package/es/src/ap-table/components/setting/template/edit-form.vue.d.ts +844 -0
- package/es/src/ap-table/components/setting/template/edit-form.vue.mjs +4 -0
- package/es/src/ap-table/components/setting/template/edit-form.vue2.mjs +74 -0
- package/es/src/ap-table/components/setting/template/index.vue.d.ts +11 -0
- package/es/src/ap-table/components/setting/template/index.vue.mjs +4 -0
- package/es/src/ap-table/components/setting/template/index.vue2.mjs +51 -0
- package/es/src/ap-table/components/setting/template/item.vue.d.ts +13 -0
- package/es/src/ap-table/components/setting/template/item.vue.mjs +4 -0
- package/es/src/ap-table/components/setting/template/item.vue2.mjs +77 -0
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +26 -29
- package/es/src/ap-table/components/setting/utils.d.ts +1 -0
- package/es/src/ap-table/components/setting/utils.mjs +22 -15
- package/es/src/ap-table/constants.d.ts +13 -15
- package/es/src/ap-table/context.mjs +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -23
- package/es/src/ap-table/hooks/use-table-column-state.mjs +32 -120
- package/es/src/ap-table/hooks/use-table-template-storage.d.ts +49 -0
- package/es/src/ap-table/hooks/use-table-template-storage.mjs +150 -0
- package/es/src/ap-table/interface.d.ts +26 -3
- package/es/src/ap-table/style/index.d.ts +1 -0
- package/es/src/ap-table/style/index.mjs +2 -1
- package/es/src/ap-table/style/setting.d.ts +2 -0
- package/es/src/ap-table/style/setting.mjs +114 -19
- package/es/src/ap-table/utils.mjs +1 -1
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +1 -1
- package/es/src/business/ag-grid-modal/style/index.mjs +7 -7
- package/es/src/business/ap-attachment/ApAttachment.mjs +96 -89
- package/es/src/business/ap-attachment/style/index.mjs +33 -16
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +24 -22
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +35 -31
- package/es/src/business/ap-batch-action-group/index.d.ts +6 -6
- package/es/src/business/ap-batch-action-group/interface.d.ts +1 -1
- package/es/src/business/ap-download/hooks/index.mjs +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +1 -3
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-keep-alive/hook.mjs +1 -1
- package/es/src/business/ap-keep-alive/utils.mjs +1 -1
- 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-table-modal/index.d.ts +17 -5
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +19 -19
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +34 -34
- package/es/src/business/ap-upload/style/single-file.mjs +2 -2
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.mjs +2 -2
- package/es/src/business/ap-value-select-card/index.vue.d.ts +2 -4
- package/es/src/business/ap-value-select-card/style/index.mjs +3 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -4
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +21 -21
- package/es/src/business/ap-view/hooks/use-view-provide.mjs +1 -1
- package/es/src/business/ap-view/style/index.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/check-card/context.mjs +1 -1
- package/es/src/config-provider/constants.mjs +1 -1
- package/es/src/config-provider/hooks/use-locale.mjs +1 -1
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/config-provider/hooks/use-namespace.mjs +1 -1
- package/es/src/config-provider/hooks/use-token.mjs +1 -1
- package/es/src/design-token/index.mjs +5 -5
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/utils.mjs +1 -1
- package/es/src/locale/lang/en.mjs +15 -4
- package/es/src/locale/lang/zh-cn.mjs +18 -7
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/context.mjs +1 -1
- package/es/src/time-ago/useTimeAgo.mjs +26 -27
- package/es/src/utils/data-range-persets.d.ts +13 -1
- package/es/src/utils/data-range-persets.mjs +80 -60
- package/es/src/utils/index.d.ts +1 -0
- package/es/src/utils/index.mjs +56 -48
- package/es/src/utils/retry.d.ts +12 -0
- package/es/src/utils/retry.mjs +27 -0
- package/es/src/utils/slot.mjs +1 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/components/loading/index.vue.d.ts +3 -0
- package/lib/src/ag-grid/components/loading/index.vue.js +1 -0
- package/lib/src/ag-grid/components/loading/index.vue2.js +1 -0
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +2 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +2 -4
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -0
- package/lib/src/ag-grid/style/index.js +1 -1
- package/lib/src/ap-drawer/interface.d.ts +13 -2
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -2
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/style/index.js +1 -1
- package/lib/src/ap-field/style/select.d.ts +2 -0
- package/lib/src/ap-field/style/select.js +1 -0
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- 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/items/number/index.vue.d.ts +4 -5
- package/lib/src/ap-form/items/select/index.vue.d.ts +12 -16
- 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 +2 -2
- 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-grid/utils/table.js +1 -1
- 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/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/context.d.ts +17 -0
- package/lib/src/ap-table/components/setting/context.js +1 -0
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/template/edit-form.vue.d.ts +844 -0
- package/lib/src/ap-table/components/setting/template/edit-form.vue.js +1 -0
- package/lib/src/ap-table/components/setting/template/edit-form.vue2.js +1 -0
- package/lib/src/ap-table/components/setting/template/index.vue.d.ts +11 -0
- package/lib/src/ap-table/components/setting/template/index.vue.js +1 -0
- package/lib/src/ap-table/components/setting/template/index.vue2.js +1 -0
- package/lib/src/ap-table/components/setting/template/item.vue.d.ts +13 -0
- package/lib/src/ap-table/components/setting/template/item.vue.js +1 -0
- package/lib/src/ap-table/components/setting/template/item.vue2.js +1 -0
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/utils.d.ts +1 -0
- package/lib/src/ap-table/components/setting/utils.js +1 -1
- package/lib/src/ap-table/constants.d.ts +13 -15
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -23
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/hooks/use-table-template-storage.d.ts +49 -0
- package/lib/src/ap-table/hooks/use-table-template-storage.js +1 -0
- package/lib/src/ap-table/interface.d.ts +26 -3
- package/lib/src/ap-table/style/index.d.ts +1 -0
- package/lib/src/ap-table/style/index.js +1 -1
- package/lib/src/ap-table/style/setting.d.ts +2 -0
- package/lib/src/ap-table/style/setting.js +1 -1
- package/lib/src/business/ag-grid-modal/style/index.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/style/index.js +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +6 -6
- package/lib/src/business/ap-batch-action-group/interface.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- 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/business/ap-table-modal/index.d.ts +17 -5
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/style/single-file.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +2 -4
- package/lib/src/business/ap-value-select-card/style/index.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -4
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/style/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/design-token/index.js +1 -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/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.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/time-ago/useTimeAgo.js +1 -1
- package/lib/src/utils/data-range-persets.d.ts +13 -1
- package/lib/src/utils/data-range-persets.js +1 -1
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/index.js +1 -1
- package/lib/src/utils/retry.d.ts +12 -0
- package/lib/src/utils/retry.js +1 -0
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +2 -2
|
@@ -335,6 +335,10 @@ export type AgGridProps<RecordType = any, ParamsType = any> = Omit<TableProps<Re
|
|
|
335
335
|
* @since 6.41.0
|
|
336
336
|
*/
|
|
337
337
|
theme?: Partial<ThemeDefaultParams>;
|
|
338
|
+
/**
|
|
339
|
+
* 自定义数据为空时展示的组件
|
|
340
|
+
*/
|
|
341
|
+
emptyComponent?: any;
|
|
338
342
|
};
|
|
339
343
|
export type AgGridExpose<SearchParamsType = Recordable, RecordType = any> = {
|
|
340
344
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { genSettingTriggerBtnStyle as a } from "../../ap-table/style/index.mjs";
|
|
2
2
|
import { multiRows as l, resetScrollbar as r } from "../../style/index.mjs";
|
|
3
|
-
import { genComponentStyleHook as
|
|
4
|
-
const
|
|
3
|
+
import { genComponentStyleHook as t } from "../../utils/cssinjs/index.mjs";
|
|
4
|
+
const d = {
|
|
5
5
|
agGridSearchFormWrapperMarginBlockEnd: 10,
|
|
6
6
|
agGridCellPaddingBlockMedium: 9,
|
|
7
7
|
agGridCellPaddingBlockMini: 6,
|
|
@@ -152,19 +152,22 @@ const t = {
|
|
|
152
152
|
},
|
|
153
153
|
".ag-checkbox.ag-labeled[disabled] .ag-input-field-input[disabled]": {
|
|
154
154
|
cursor: "not-allowed"
|
|
155
|
+
},
|
|
156
|
+
".ag-overlay": {
|
|
157
|
+
pointerEvents: "auto"
|
|
155
158
|
}
|
|
156
159
|
}
|
|
157
160
|
};
|
|
158
|
-
}, s =
|
|
161
|
+
}, s = t(
|
|
159
162
|
"AgGrid",
|
|
160
163
|
(i) => [n(i)],
|
|
161
|
-
|
|
164
|
+
d,
|
|
162
165
|
{
|
|
163
166
|
skipUnit: ["agGridLineClamp"]
|
|
164
167
|
}
|
|
165
168
|
);
|
|
166
169
|
export {
|
|
167
170
|
s as default,
|
|
168
|
-
|
|
171
|
+
d as defaultToken,
|
|
169
172
|
n as genAgGridStyle
|
|
170
173
|
};
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import { DrawerProps } from '@aplus-frontend/antdv';
|
|
2
|
-
import { AppContext } from 'vue';
|
|
2
|
+
import { AppContext, VNodeChild } from 'vue';
|
|
3
3
|
export type CreateDrawerFuncProps<ContentRecord = any> = Omit<DrawerProps, 'visible' | 'onUpdate:visible' | 'afterVisibleChange' | 'onAfterVisibleOChange' | 'open' | 'onUpdate:open' | 'destroyOnClose' | 'onClose' | 'getContainer' | 'extra' | 'footer'> & Partial<{
|
|
4
4
|
onClose: (params: ContentRecord) => any | Promise<any>;
|
|
5
5
|
getContainer: HTMLElement;
|
|
6
6
|
content: any;
|
|
7
7
|
destroyOnClose: boolean;
|
|
8
|
-
extra: (params: ContentRecord, close: () => void
|
|
8
|
+
extra: (params: ContentRecord, close: () => void, node: {
|
|
9
|
+
/**
|
|
10
|
+
* 原始的操作区域内容
|
|
11
|
+
*/
|
|
12
|
+
originNode: VNodeChild;
|
|
13
|
+
/**
|
|
14
|
+
* 操作区域按钮
|
|
15
|
+
*/
|
|
16
|
+
extra: {
|
|
17
|
+
cancelBtn: VNodeChild;
|
|
18
|
+
};
|
|
19
|
+
}) => any;
|
|
9
20
|
footer: (params: ContentRecord, close: () => void) => any;
|
|
10
21
|
/**
|
|
11
22
|
* 抽屉的上下文,一般用于获取全局注册组件、vuex 等内容
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { render as
|
|
2
|
-
import { Drawer as
|
|
3
|
-
import { omit as
|
|
4
|
-
import { getModalGlobalAppContext as
|
|
5
|
-
import { ConfigProvider as
|
|
1
|
+
import { render as f, defineComponent as v, createVNode as r, Fragment as w, mergeProps as P, h as y } from "vue";
|
|
2
|
+
import { Drawer as A } from "@aplus-frontend/antdv";
|
|
3
|
+
import { omit as D } from "lodash-unified";
|
|
4
|
+
import { getModalGlobalAppContext as E } from "../../ap-modal/utils/util.mjs";
|
|
5
|
+
import { ConfigProvider as N, globalConfigCached as O } from "../../config-provider/config-provider.mjs";
|
|
6
6
|
import "../components/ApDrawerClose.vue.mjs";
|
|
7
|
-
import
|
|
8
|
-
const
|
|
7
|
+
import V from "../components/ApDrawerClose.vue2.mjs";
|
|
8
|
+
const T = (n) => {
|
|
9
9
|
let o, s;
|
|
10
10
|
const {
|
|
11
|
-
destroyOnClose:
|
|
11
|
+
destroyOnClose: p = !0
|
|
12
12
|
} = n;
|
|
13
|
-
function
|
|
13
|
+
function i() {
|
|
14
14
|
o && o(!1), setTimeout(() => {
|
|
15
|
-
|
|
15
|
+
f(null, t), t.parentElement?.removeChild(t);
|
|
16
16
|
}, 500);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function h() {
|
|
19
19
|
o && o(!0);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function a() {
|
|
22
22
|
o && o(!1);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function C(e) {
|
|
25
25
|
s && s(e);
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const u = /* @__PURE__ */ v({
|
|
28
28
|
data() {
|
|
29
29
|
return {
|
|
30
|
-
open:
|
|
30
|
+
open: p,
|
|
31
31
|
props: n
|
|
32
32
|
};
|
|
33
33
|
},
|
|
@@ -47,35 +47,40 @@ const N = (n) => {
|
|
|
47
47
|
const e = this.props?.content?.component?.exposed ?? void 0;
|
|
48
48
|
await this.props?.onClose(e);
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
p ? i() : a();
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
render() {
|
|
54
|
-
const e =
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
const e = D(this.props, ["onClose", "extra", "footer", "visible", "onUpdate:visible", "afterVisibleChange", "onAfterVisibleOChange", "open", "onUpdate:open", "getContainer"]), c = this.props?.content?.component?.exposed ?? void 0, m = () => p ? i() : a(), d = r(V, {
|
|
55
|
+
onClose: this.handleClose
|
|
56
|
+
}, null), b = r(w, null, [d]);
|
|
57
|
+
return r(N, O.value, {
|
|
58
|
+
default: () => [r(A, P({
|
|
57
59
|
open: this.open,
|
|
58
60
|
onClose: this.handleClose,
|
|
59
61
|
closeIcon: this.props?.closeIcon ?? null,
|
|
60
|
-
extra: this.props?.extra ? this.props?.extra?.(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
extra: this.props?.extra ? this.props?.extra?.(c, m, {
|
|
63
|
+
originNode: b,
|
|
64
|
+
extra: {
|
|
65
|
+
cancelBtn: d
|
|
66
|
+
}
|
|
67
|
+
}) : d,
|
|
68
|
+
footer: this.props?.footer?.(c, m)
|
|
64
69
|
}, e), {
|
|
65
70
|
default: () => [this.props?.content]
|
|
66
71
|
})]
|
|
67
72
|
});
|
|
68
73
|
}
|
|
69
|
-
}),
|
|
70
|
-
|
|
71
|
-
const
|
|
72
|
-
return
|
|
73
|
-
destroy:
|
|
74
|
-
update:
|
|
75
|
-
open:
|
|
76
|
-
close:
|
|
74
|
+
}), x = n.getContainer || document.body, t = document.createElement("div");
|
|
75
|
+
x.appendChild(t);
|
|
76
|
+
const l = y(u), g = E();
|
|
77
|
+
return l.appContext = n.appContext || g || l.appContext, f(l, t), {
|
|
78
|
+
destroy: i,
|
|
79
|
+
update: C,
|
|
80
|
+
open: h,
|
|
81
|
+
close: a
|
|
77
82
|
};
|
|
78
83
|
};
|
|
79
84
|
export {
|
|
80
|
-
|
|
85
|
+
T as createDrawer
|
|
81
86
|
};
|
|
@@ -14,13 +14,12 @@ type ApFieldSelectSlots = {
|
|
|
14
14
|
itemIcon: any;
|
|
15
15
|
removeIcon: any;
|
|
16
16
|
clearIcon: any;
|
|
17
|
-
dropdownRender: any;
|
|
18
|
-
option: any;
|
|
19
17
|
placeholder: any;
|
|
20
18
|
tagRender: any;
|
|
21
19
|
maxTagPlaceholder: any;
|
|
22
20
|
optionLabel: any;
|
|
23
21
|
default: any;
|
|
22
|
+
dropdownRender: any;
|
|
24
23
|
};
|
|
25
24
|
declare function __VLS_template(): {
|
|
26
25
|
attrs: Partial<{}>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Select as
|
|
3
|
-
import { debounce as
|
|
1
|
+
import { defineComponent as Y, ref as N, shallowRef as G, computed as u, onMounted as J, watch as Q, unref as a, createElementBlock as O, createBlock as X, openBlock as C, toDisplayString as S, mergeProps as Z, h as ee, createSlots as oe, withCtx as v, createVNode as x, normalizeClass as w, createElementVNode as te, createCommentVNode as le, withModifiers as ae, renderList as ne, renderSlot as re, normalizeProps as se, guardReactiveProps as ie } from "vue";
|
|
2
|
+
import { Select as ue, Flex as pe, Spin as de } from "@aplus-frontend/antdv";
|
|
3
|
+
import { debounce as ce, isFunction as V, isArray as fe, isNil as me, omit as ve } from "lodash-unified";
|
|
4
|
+
import "../../config-provider/index.mjs";
|
|
4
5
|
import "../../hooks/index.mjs";
|
|
5
|
-
import { useDefaultPlaceholder as
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
6
|
+
import { useDefaultPlaceholder as he } from "../hooks/use-default-placeholder.mjs";
|
|
7
|
+
import ye from "../style/index.mjs";
|
|
8
|
+
import { useSelectOptions as ge, SELECT_ALL_VALUE_KEY as h } from "./use-select-options.mjs";
|
|
9
|
+
import { useNamespace as Ce } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
import { useLocale as Se } from "../../config-provider/hooks/use-locale.mjs";
|
|
11
|
+
import { useControllableValue as we } from "../../hooks/useControllableValue.mjs";
|
|
12
|
+
const be = { key: 0 }, Be = ["onClick"], Pe = /* @__PURE__ */ Y({
|
|
9
13
|
name: "ApFieldSelect",
|
|
10
14
|
__name: "index",
|
|
11
15
|
props: {
|
|
@@ -101,45 +105,45 @@ const ue = { key: 0 }, ve = /* @__PURE__ */ q({
|
|
|
101
105
|
searchDelay: { default: 300 }
|
|
102
106
|
},
|
|
103
107
|
emits: ["update:value"],
|
|
104
|
-
setup(
|
|
108
|
+
setup(I, { expose: k, emit: A }) {
|
|
105
109
|
let r = 0;
|
|
106
|
-
const
|
|
107
|
-
if (!
|
|
110
|
+
const o = I, { b: p } = Ce("field-select"), _ = ye("field"), b = N(!1), { t: L } = Se(), M = ce((e) => {
|
|
111
|
+
if (!V(o.request))
|
|
108
112
|
return;
|
|
109
113
|
r += 1;
|
|
110
|
-
const
|
|
111
|
-
d([]), n.value = !0,
|
|
112
|
-
r ===
|
|
114
|
+
const t = r;
|
|
115
|
+
d([]), n.value = !0, o.request(e).then((l) => {
|
|
116
|
+
r === t && (d(l), n.value = !1);
|
|
113
117
|
});
|
|
114
|
-
},
|
|
115
|
-
const
|
|
116
|
-
return typeof
|
|
117
|
-
}, { options:
|
|
118
|
-
if (
|
|
119
|
-
return
|
|
118
|
+
}, o.searchDelay), P = (e, t) => {
|
|
119
|
+
const l = o.fieldNames?.label || "label";
|
|
120
|
+
return typeof t?.[l] == "string" && t[l].toLowerCase().indexOf(e.toLowerCase()) > -1;
|
|
121
|
+
}, { options: s, updateOptions: d } = ge(o), y = G(), n = N(o?.loading || !1), T = A, q = u(() => {
|
|
122
|
+
if (o.multiple)
|
|
123
|
+
return o.tokenSeparators ? "tags" : "multiple";
|
|
120
124
|
});
|
|
121
|
-
async function c(
|
|
122
|
-
if (!
|
|
125
|
+
async function c(e = !0) {
|
|
126
|
+
if (!V(o.request))
|
|
123
127
|
return;
|
|
124
128
|
n.value = !0, r += 1;
|
|
125
|
-
const
|
|
129
|
+
const t = r;
|
|
126
130
|
try {
|
|
127
|
-
|
|
128
|
-
const
|
|
129
|
-
if (
|
|
131
|
+
e && d([]);
|
|
132
|
+
const l = await o.request(void 0, o.params);
|
|
133
|
+
if (t !== r)
|
|
130
134
|
return;
|
|
131
|
-
d(
|
|
135
|
+
d(l);
|
|
132
136
|
} finally {
|
|
133
137
|
n.value = !1;
|
|
134
138
|
}
|
|
135
139
|
}
|
|
136
|
-
function
|
|
137
|
-
|
|
140
|
+
function D(e) {
|
|
141
|
+
o.onFocus?.(e), o.refetchOnFocus && r > 0 && !n.value && c(!0);
|
|
138
142
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}),
|
|
142
|
-
() =>
|
|
143
|
+
J(() => {
|
|
144
|
+
o.lazy || c();
|
|
145
|
+
}), Q(
|
|
146
|
+
() => o.params,
|
|
143
147
|
() => {
|
|
144
148
|
c();
|
|
145
149
|
},
|
|
@@ -147,29 +151,29 @@ const ue = { key: 0 }, ve = /* @__PURE__ */ q({
|
|
|
147
151
|
deep: !0
|
|
148
152
|
}
|
|
149
153
|
);
|
|
150
|
-
const { value:
|
|
151
|
-
const
|
|
152
|
-
if (!
|
|
153
|
-
return
|
|
154
|
-
const
|
|
155
|
-
return
|
|
156
|
-
(i) => a(
|
|
157
|
-
).filter(Boolean).join("、") ||
|
|
158
|
-
(i) => i[
|
|
159
|
-
)?.[
|
|
160
|
-
}),
|
|
161
|
-
const
|
|
162
|
-
let
|
|
163
|
-
return
|
|
154
|
+
const { value: f, updateValue: m } = we(o, T), R = he("Select", o), z = u(() => {
|
|
155
|
+
const e = a(f);
|
|
156
|
+
if (!e)
|
|
157
|
+
return o.emptyText;
|
|
158
|
+
const t = o.fieldNames?.label || "label", l = o.fieldNames?.value || "value";
|
|
159
|
+
return fe(e) ? e.map(
|
|
160
|
+
(i) => a(s).find((W) => W[l] === i)?.[t]
|
|
161
|
+
).filter(Boolean).join("、") || o.emptyText : a(s).find(
|
|
162
|
+
(i) => i[l] === e
|
|
163
|
+
)?.[t] || o.emptyText;
|
|
164
|
+
}), E = u(() => {
|
|
165
|
+
const e = !!o?.showSearch, t = o.searchMode;
|
|
166
|
+
let l = {};
|
|
167
|
+
return e && (l = t === "request" ? {
|
|
164
168
|
defaultActiveFirstOption: !1,
|
|
165
|
-
onSearch:
|
|
169
|
+
onSearch: M,
|
|
166
170
|
notFoundContent: n.value ? void 0 : null,
|
|
167
171
|
filterOption: !1,
|
|
168
172
|
suffixIcon: null
|
|
169
173
|
} : {
|
|
170
|
-
filterOption:
|
|
174
|
+
filterOption: me(o?.filterOption) ? P : o?.filterOption
|
|
171
175
|
}), {
|
|
172
|
-
...
|
|
176
|
+
...ve(o, [
|
|
173
177
|
"mode",
|
|
174
178
|
"value",
|
|
175
179
|
"onUpdate:value",
|
|
@@ -179,65 +183,99 @@ const ue = { key: 0 }, ve = /* @__PURE__ */ q({
|
|
|
179
183
|
"onFocus",
|
|
180
184
|
"onBeforeSelect"
|
|
181
185
|
]),
|
|
182
|
-
placeholder: a(
|
|
183
|
-
...
|
|
186
|
+
placeholder: a(R),
|
|
187
|
+
...l
|
|
184
188
|
};
|
|
185
|
-
}),
|
|
186
|
-
() =>
|
|
187
|
-
),
|
|
188
|
-
if (!
|
|
189
|
-
return a(
|
|
190
|
-
if (
|
|
191
|
-
(
|
|
189
|
+
}), B = u(
|
|
190
|
+
() => s.value.map((e) => e[o.fieldNames?.value || "value"]).filter((e) => e !== h)
|
|
191
|
+
), U = u(() => {
|
|
192
|
+
if (!o.multiple || !o.addAll)
|
|
193
|
+
return a(f);
|
|
194
|
+
if (s.value.some(
|
|
195
|
+
(e) => e[o.fieldNames?.value || "value"] === h
|
|
192
196
|
)) {
|
|
193
|
-
const
|
|
194
|
-
if (
|
|
195
|
-
return [
|
|
197
|
+
const e = a(B), t = a(f) || [];
|
|
198
|
+
if (e.length && e.every((l) => t?.includes(l)))
|
|
199
|
+
return [h];
|
|
196
200
|
}
|
|
197
|
-
return a(
|
|
201
|
+
return a(f);
|
|
198
202
|
});
|
|
199
|
-
function
|
|
200
|
-
return
|
|
203
|
+
function K(e) {
|
|
204
|
+
return o.multiple && e.includes(h) ? m(a(B)) : m(e);
|
|
201
205
|
}
|
|
202
|
-
function
|
|
203
|
-
|
|
206
|
+
function $() {
|
|
207
|
+
y.value?.focus();
|
|
204
208
|
}
|
|
205
|
-
function
|
|
206
|
-
|
|
209
|
+
function j() {
|
|
210
|
+
y.value?.blur();
|
|
207
211
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
212
|
+
function F(e, t) {
|
|
213
|
+
const l = o.fieldNames?.[t] ?? t;
|
|
214
|
+
return e[l];
|
|
215
|
+
}
|
|
216
|
+
function H(e) {
|
|
217
|
+
const t = F(e, "value");
|
|
218
|
+
m(o.multiple ? [t] : t);
|
|
219
|
+
}
|
|
220
|
+
return k({
|
|
221
|
+
focus: $,
|
|
222
|
+
blur: j,
|
|
211
223
|
request: c
|
|
212
|
-
}), (
|
|
224
|
+
}), (e, t) => e.mode === "read" ? (C(), O("span", be, S(z.value), 1)) : (C(), X(a(ue), Z({
|
|
213
225
|
key: 1,
|
|
214
226
|
ref_key: "selectRef",
|
|
215
|
-
ref:
|
|
227
|
+
ref: y,
|
|
216
228
|
"allow-clear": ""
|
|
217
|
-
},
|
|
218
|
-
mode:
|
|
219
|
-
value:
|
|
220
|
-
options: a(
|
|
229
|
+
}, E.value, {
|
|
230
|
+
mode: q.value,
|
|
231
|
+
value: U.value,
|
|
232
|
+
options: a(s),
|
|
221
233
|
loading: n.value,
|
|
222
|
-
"
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
234
|
+
"menu-item-selected-icon": ee("span"),
|
|
235
|
+
"popup-class-name": `${a(p)("popup")} ${a(_)}`,
|
|
236
|
+
open: b.value,
|
|
237
|
+
"onUpdate:value": K,
|
|
238
|
+
onFocus: D,
|
|
239
|
+
onDropdownVisibleChange: t[0] || (t[0] = (l) => b.value = l)
|
|
240
|
+
}), oe({
|
|
241
|
+
option: v((l) => [
|
|
242
|
+
x(a(pe), {
|
|
243
|
+
justify: "space-between",
|
|
244
|
+
align: "center",
|
|
245
|
+
class: w(a(p)("popup-option-wrapper")),
|
|
246
|
+
gap: 8
|
|
247
|
+
}, {
|
|
248
|
+
default: v(() => [
|
|
249
|
+
te("span", {
|
|
250
|
+
class: w(a(p)("popup-option-label"))
|
|
251
|
+
}, S(F(l, "label")), 3),
|
|
252
|
+
e.multiple ? (C(), O("span", {
|
|
253
|
+
key: 0,
|
|
254
|
+
class: w(a(p)("popup-option-action")),
|
|
255
|
+
onClick: ae(() => H(l), ["stop"])
|
|
256
|
+
}, S(a(L)("ap.field.chooseOnly")), 11, Be)) : le("", !0)
|
|
257
|
+
]),
|
|
258
|
+
_: 2
|
|
259
|
+
}, 1032, ["class"])
|
|
260
|
+
]),
|
|
261
|
+
_: 2
|
|
262
|
+
}, [
|
|
263
|
+
ne(e.$slots, (l, g) => ({
|
|
264
|
+
name: g,
|
|
265
|
+
fn: v((i) => [
|
|
266
|
+
re(e.$slots, g, se(ie(i || {})))
|
|
229
267
|
])
|
|
230
268
|
})),
|
|
231
269
|
n.value ? {
|
|
232
270
|
name: "notFoundContent",
|
|
233
|
-
fn:
|
|
234
|
-
|
|
271
|
+
fn: v(() => [
|
|
272
|
+
x(a(de), { size: "small" })
|
|
235
273
|
]),
|
|
236
274
|
key: "0"
|
|
237
275
|
} : void 0
|
|
238
|
-
]), 1040, ["mode", "value", "options", "loading"]));
|
|
276
|
+
]), 1040, ["mode", "value", "options", "loading", "menu-item-selected-icon", "popup-class-name", "open"]));
|
|
239
277
|
}
|
|
240
278
|
});
|
|
241
279
|
export {
|
|
242
|
-
|
|
280
|
+
Pe as default
|
|
243
281
|
};
|
|
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
|
|
|
6
6
|
options: Ref<{
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
label?: any;
|
|
9
|
-
value?:
|
|
9
|
+
value?: string | number | null | undefined;
|
|
10
10
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}[], DefaultOptionType[] | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
label?: any;
|
|
15
|
-
value?:
|
|
15
|
+
value?: string | number | null | undefined;
|
|
16
16
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
}[]>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { genComponentStyleHook as
|
|
2
|
-
import { genCheckboxStyle as
|
|
1
|
+
import { genComponentStyleHook as r } from "../../utils/cssinjs/index.mjs";
|
|
2
|
+
import { genCheckboxStyle as o } from "./checkbox.mjs";
|
|
3
3
|
import { genNumberStyle as t } from "./number.mjs";
|
|
4
4
|
import { genRadioStyle as m } from "./radio.mjs";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import { genSelectStyle as l } from "./select.mjs";
|
|
6
|
+
import { genTextareaStyle as p } from "./textarea.mjs";
|
|
7
|
+
const a = r("ApField", (e) => [
|
|
8
|
+
o(e),
|
|
8
9
|
t(e),
|
|
9
10
|
m(e),
|
|
11
|
+
p(e),
|
|
10
12
|
l(e)
|
|
11
13
|
]);
|
|
12
14
|
export {
|
|
13
|
-
|
|
15
|
+
a as default
|
|
14
16
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { singleRow as p } from "../../style/index.mjs";
|
|
2
|
+
const r = (o) => {
|
|
3
|
+
const { componentCls: e } = o, i = `${e}-select-popup`;
|
|
4
|
+
return {
|
|
5
|
+
[`${i}`]: {
|
|
6
|
+
[`${i}-option-wrapper`]: {
|
|
7
|
+
height: "22px"
|
|
8
|
+
},
|
|
9
|
+
[`${i}-option-label`]: {
|
|
10
|
+
...p(o),
|
|
11
|
+
color: "inherit"
|
|
12
|
+
},
|
|
13
|
+
[`${i}-option-action`]: {
|
|
14
|
+
display: "none",
|
|
15
|
+
color: o.colorPrimary,
|
|
16
|
+
paddingInline: o.spaceSM,
|
|
17
|
+
paddingBlock: o.spaceXXS,
|
|
18
|
+
"&:hover": {
|
|
19
|
+
background: o.colorPrimary,
|
|
20
|
+
color: "#fff",
|
|
21
|
+
borderRadius: "2px"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"div.ant-select-item": {
|
|
25
|
+
paddingInline: o.space,
|
|
26
|
+
paddingBlock: o.spaceXS,
|
|
27
|
+
fontWeight: "normal !important",
|
|
28
|
+
marginBottom: o.spaceXS,
|
|
29
|
+
"&:hover": {
|
|
30
|
+
[`${i}-option-action`]: {
|
|
31
|
+
display: "inline"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"&.ant-select-item-option-selected:not(.ant-select-item-option-disabled)": {
|
|
35
|
+
color: o.colorPrimary
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
r as genSelectStyle
|
|
43
|
+
};
|
|
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
checkable?: boolean | undefined;
|
|
10
10
|
disableCheckbox?: boolean | undefined;
|
|
11
|
-
children?: any[] | undefined;
|
|
11
|
+
children?: /*elided*/ any[] | undefined;
|
|
12
12
|
} | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
value?: RawValueType | undefined;
|
|
15
15
|
title?: any;
|
|
16
16
|
label?: any;
|
|
17
17
|
key?: Key | undefined;
|
|
18
|
-
children?: any[] | undefined;
|
|
18
|
+
children?: /*elided*/ any[] | undefined;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
20
20
|
checkable?: boolean | undefined;
|
|
21
21
|
disableCheckbox?: boolean | undefined;
|
|
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
24
24
|
disabled?: boolean | undefined;
|
|
25
25
|
checkable?: boolean | undefined;
|
|
26
26
|
disableCheckbox?: boolean | undefined;
|
|
27
|
-
children?: any[] | undefined;
|
|
27
|
+
children?: /*elided*/ any[] | undefined;
|
|
28
28
|
} | {
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
value?: RawValueType | undefined;
|
|
31
31
|
title?: any;
|
|
32
32
|
label?: any;
|
|
33
33
|
key?: Key | undefined;
|
|
34
|
-
children?: any[] | undefined;
|
|
34
|
+
children?: /*elided*/ any[] | undefined;
|
|
35
35
|
disabled?: boolean | undefined;
|
|
36
36
|
checkable?: boolean | undefined;
|
|
37
37
|
disableCheckbox?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign,
|
|
1
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
3
|
import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
|
|
4
4
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
@@ -7,7 +7,6 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
9
9
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
10
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
10
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
declare function __VLS_template(): {
|