@aplus-frontend/ui 0.3.8 → 0.3.9
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/item/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-modal/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +4 -3
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -11
- package/es/src/ap-button/ap-button.vue.d.ts +4 -3
- package/es/src/ap-button/ap-button.vue.mjs +36 -36
- package/es/src/ap-button/interface.d.ts +4 -0
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
- package/es/src/ap-download/ap-download.vue.d.ts +5 -3
- package/es/src/ap-field/date/index.vue.d.ts +2 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -1
- package/es/src/ap-field/number/index.vue.d.ts +2 -1
- package/es/src/ap-field/rate/index.vue.d.ts +2 -1
- package/es/src/ap-field/segmented/index.vue.d.ts +2 -1
- package/es/src/ap-field/select/index.vue.d.ts +2 -1
- package/es/src/ap-field/slider/index.vue.d.ts +2 -1
- package/es/src/ap-field/switch/index.vue.d.ts +2 -1
- package/es/src/ap-field/text/index.vue.d.ts +2 -1
- package/es/src/ap-field/text/password.vue.d.ts +2 -1
- package/es/src/ap-form/ap-form.vue.d.ts +6 -4
- package/es/src/ap-form/dependency/index.vue.d.ts +2 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -2
- package/es/src/ap-form/item/index.vue.d.ts +2 -1
- package/es/src/ap-form/item-group/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/switch/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/group.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -1
- package/es/src/ap-form/items/text-area/index.vue.d.ts +2 -1
- package/es/src/ap-form/list/index.vue.d.ts +2 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -2
- package/es/src/ap-form/modal-form/index.vue.mjs +61 -57
- package/es/src/ap-form/render/control.vue.d.ts +2 -1
- package/es/src/ap-form/render/item.vue.d.ts +2 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +3 -2
- package/es/src/ap-form/set/index.vue.d.ts +2 -1
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
- package/es/src/ap-list/index.vue.d.ts +3 -5
- package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
- package/es/src/ap-scroll-bar/index.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +3 -5
- package/es/src/ap-table/ap-table.vue2.mjs +23 -22
- package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
- package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-table/constants.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/es/src/ap-table/hooks/use-table-paging.mjs +131 -126
- package/es/src/ap-table/utils.d.ts +1 -0
- package/es/src/ap-table/utils.mjs +10 -5
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +3 -2
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/Picture.vue.d.ts +5 -9
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/index.d.ts +1 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
- package/es/src/business/ap-batch-action/index.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +887 -5
- package/es/src/business/ap-card/ApCard.vue.d.ts +3 -2
- package/es/src/business/ap-card/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
- package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/index.d.ts +3 -3
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
- package/es/src/business/ap-image/ApImage.vue.d.ts +2 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/es/src/business/ap-input-radio/index.d.ts +1 -1
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
- package/es/src/business/ap-ladder/index.d.ts +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 +3 -5
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/es/src/business/ap-title/ApTitle.vue.d.ts +3 -2
- package/es/src/business/ap-title/index.d.ts +1 -1
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
- package/es/src/check-card/group.vue.d.ts +2 -1
- package/es/src/check-card/index.vue.d.ts +3 -2
- package/es/src/editable-table/form-item.vue.d.ts +3 -5
- package/es/src/editable-table/index.vue.d.ts +3 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/ap-action/item/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-modal/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +4 -3
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +4 -3
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/interface.d.ts +4 -0
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
- package/lib/src/ap-download/ap-download.vue.d.ts +5 -3
- package/lib/src/ap-field/date/index.vue.d.ts +2 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -1
- package/lib/src/ap-field/number/index.vue.d.ts +2 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +2 -1
- package/lib/src/ap-field/segmented/index.vue.d.ts +2 -1
- package/lib/src/ap-field/select/index.vue.d.ts +2 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +2 -1
- package/lib/src/ap-field/switch/index.vue.d.ts +2 -1
- package/lib/src/ap-field/text/index.vue.d.ts +2 -1
- package/lib/src/ap-field/text/password.vue.d.ts +2 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +6 -4
- package/lib/src/ap-form/dependency/index.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -2
- package/lib/src/ap-form/item/index.vue.d.ts +2 -1
- package/lib/src/ap-form/item-group/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/group.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +2 -1
- package/lib/src/ap-form/list/index.vue.d.ts +2 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -2
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/control.vue.d.ts +2 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -2
- package/lib/src/ap-form/set/index.vue.d.ts +2 -1
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
- package/lib/src/ap-list/index.vue.d.ts +3 -5
- package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
- package/lib/src/ap-scroll-bar/index.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-table/constants.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/utils.d.ts +1 -0
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +3 -2
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +5 -9
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
- package/lib/src/business/ap-batch-action/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
- package/lib/src/business/ap-batch-action-group/index.d.ts +887 -5
- package/lib/src/business/ap-card/ApCard.vue.d.ts +3 -2
- package/lib/src/business/ap-card/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
- package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +3 -3
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
- package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/lib/src/business/ap-input-radio/index.d.ts +1 -1
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
- package/lib/src/business/ap-ladder/index.d.ts +1 -1
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +3 -2
- package/lib/src/business/ap-title/index.d.ts +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
- package/lib/src/check-card/group.vue.d.ts +2 -1
- package/lib/src/check-card/index.vue.d.ts +3 -2
- package/lib/src/editable-table/form-item.vue.d.ts +3 -5
- package/lib/src/editable-table/index.vue.d.ts +3 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/package.json +1 -1
- package/index.ts +0 -19
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ApActionItemProps, ApActionItemSlots } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: any;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
10
|
declare const __VLS_component: DefineComponent<ApActionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,11 +3,12 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { ActionColor, MixedActionTypes } from '..';
|
|
4
4
|
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: any;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
14
|
declare const __VLS_component: DefineComponent<ApActionItemDropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemDropdownProps> & Readonly<{}>, {
|
|
@@ -3,9 +3,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { ActionColor } from '..';
|
|
4
4
|
import { ModalFuncProps } from '@aplus-frontend/antdv';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: any;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
12
|
declare const __VLS_component: DefineComponent<ApActionItemModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemModalProps> & Readonly<{}>, {
|
|
@@ -11,9 +11,10 @@ import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
11
11
|
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
12
12
|
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
14
15
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
15
16
|
refs: {};
|
|
16
|
-
|
|
17
|
+
rootEl: any;
|
|
17
18
|
};
|
|
18
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
20
|
declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemPopconfirmProps> & Readonly<{}>, {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ApButtonSlots, ApButtonProps } from './interface';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { ApButtonProps } from './interface';
|
|
3
3
|
import { ButtonType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
slots: Partial<Record<string, (_: any) => any>>;
|
|
6
|
-
refs: {};
|
|
7
5
|
attrs: Partial<{}>;
|
|
6
|
+
slots: Readonly<ApButtonSlots> & ApButtonSlots;
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
8
9
|
};
|
|
9
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
11
|
declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApButtonProps> & Readonly<{}>, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as p, openBlock as
|
|
1
|
+
import { defineComponent as p, useSlots as i, openBlock as d, createBlock as u, normalizeProps as t, guardReactiveProps as r, createSlots as c, renderList as m, withCtx as f, renderSlot as y } from "vue";
|
|
2
2
|
import "./ap-button.vue2.mjs";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import B from "./ap-button.vue.mjs";
|
|
4
|
+
const C = /* @__PURE__ */ p({
|
|
5
5
|
__name: "ap-action-button",
|
|
6
6
|
props: {
|
|
7
7
|
prefixCls: {},
|
|
@@ -25,20 +25,20 @@ const k = /* @__PURE__ */ p({
|
|
|
25
25
|
onClick: {}
|
|
26
26
|
},
|
|
27
27
|
setup(n) {
|
|
28
|
-
const a = n;
|
|
29
|
-
return (e,
|
|
28
|
+
const a = i(), l = n;
|
|
29
|
+
return (e, b) => (d(), u(B, t(r({
|
|
30
30
|
...e.$attrs,
|
|
31
|
-
...
|
|
32
|
-
})),
|
|
33
|
-
|
|
31
|
+
...l
|
|
32
|
+
})), c({ _: 2 }, [
|
|
33
|
+
m(a, (_, o) => ({
|
|
34
34
|
name: o,
|
|
35
|
-
fn:
|
|
36
|
-
|
|
35
|
+
fn: f((s) => [
|
|
36
|
+
y(e.$slots, o, t(r(s || {})))
|
|
37
37
|
])
|
|
38
38
|
}))
|
|
39
39
|
]), 1040));
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
C as default
|
|
44
44
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ApButtonProps } from './interface';
|
|
1
|
+
import { ApButtonSlots, ApButtonProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { ButtonType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
slots: Partial<Record<string, (_: any) => any>>;
|
|
6
|
-
refs: {};
|
|
7
5
|
attrs: Partial<{}>;
|
|
6
|
+
slots: Readonly<ApButtonSlots> & ApButtonSlots;
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
8
9
|
};
|
|
9
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
11
|
declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApButtonProps> & Readonly<{}>, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Button as
|
|
3
|
-
import { wait as
|
|
1
|
+
import { defineComponent as W, useSlots as z, ref as L, computed as t, openBlock as w, createBlock as M, unref as l, mergeProps as T, createSlots as _, renderList as P, withCtx as $, renderSlot as x, normalizeProps as S, guardReactiveProps as N } from "vue";
|
|
2
|
+
import { Button as A } from "@aplus-frontend/antdv";
|
|
3
|
+
import { wait as D } from "@aplus-frontend/utils";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
5
|
-
import { omit as
|
|
6
|
-
import { transferOpacityColor as
|
|
7
|
-
import { useNamespace as
|
|
8
|
-
import { useGlobalConfig as
|
|
9
|
-
const
|
|
5
|
+
import { omit as F } from "lodash-unified";
|
|
6
|
+
import { transferOpacityColor as O, isAsynchronous as j } from "./utils/index.mjs";
|
|
7
|
+
import { useNamespace as G } from "../config-provider/hooks/use-namespace.mjs";
|
|
8
|
+
import { useGlobalConfig as R } from "../config-provider/hooks/use-global-config.mjs";
|
|
9
|
+
const q = 88, E = 300, Y = /* @__PURE__ */ W({
|
|
10
10
|
__name: "ap-button",
|
|
11
11
|
props: {
|
|
12
12
|
prefixCls: {},
|
|
@@ -29,21 +29,21 @@ const S = 88, G = 300, U = /* @__PURE__ */ C({
|
|
|
29
29
|
lazy: { type: [Boolean, Number], default: !0 },
|
|
30
30
|
onClick: {}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const e =
|
|
32
|
+
setup(m) {
|
|
33
|
+
const y = z(), e = m, a = {
|
|
34
34
|
aplus: "#0070FF",
|
|
35
35
|
admin: "#34b77c"
|
|
36
|
-
}, { b: i } =
|
|
37
|
-
() => e.borderLinkColor ||
|
|
36
|
+
}, { b: i } = G("ap-action-button"), b = R("uiMode"), n = L(!1), v = t(
|
|
37
|
+
() => e.borderLinkColor || a[b.value] || a.aplus
|
|
38
38
|
), s = t(
|
|
39
|
-
() => e.type === "borderLink" ?
|
|
39
|
+
() => e.type === "borderLink" ? v.value : void 0
|
|
40
40
|
), u = t(
|
|
41
|
-
() =>
|
|
42
|
-
),
|
|
41
|
+
() => O(s.value)
|
|
42
|
+
), h = t(() => e.minWidth === !0 ? `${q}px` : typeof e.minWidth == "number" ? `${e.minWidth}px` : typeof e.minWidth == "string" ? e.minWidth : void 0), g = t(
|
|
43
43
|
() => (e.type === "borderLink" ? "default" : e.type) || "default"
|
|
44
|
-
), d = t(() => e.loading ??
|
|
45
|
-
function
|
|
46
|
-
const o =
|
|
44
|
+
), d = t(() => e.loading ?? n.value ?? !1), p = t(() => e.lazy === !0 ? E : typeof e.lazy == "number" && e.lazy >= 0 ? e.lazy : 0);
|
|
45
|
+
function k() {
|
|
46
|
+
const o = F(e, [
|
|
47
47
|
"type",
|
|
48
48
|
"borderLinkColor",
|
|
49
49
|
"minWidth",
|
|
@@ -52,47 +52,47 @@ const S = 88, G = 300, U = /* @__PURE__ */ C({
|
|
|
52
52
|
]);
|
|
53
53
|
return o ? {
|
|
54
54
|
...o,
|
|
55
|
-
type:
|
|
56
|
-
onclick:
|
|
55
|
+
type: g.value,
|
|
56
|
+
onclick: C
|
|
57
57
|
} : {};
|
|
58
58
|
}
|
|
59
|
-
async function
|
|
59
|
+
async function C() {
|
|
60
60
|
if (d.value) return;
|
|
61
|
-
const o =
|
|
61
|
+
const o = j(e.onClick), c = Date.now();
|
|
62
62
|
try {
|
|
63
|
-
o && (
|
|
63
|
+
o && (n.value = !0, await o);
|
|
64
64
|
} finally {
|
|
65
65
|
if (o) {
|
|
66
|
-
const
|
|
67
|
-
|
|
66
|
+
const r = Date.now() - c;
|
|
67
|
+
r < p.value && await D(p.value - r), n.value = !1;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
return (o, c) => (
|
|
71
|
+
return (o, c) => (w(), M(l(A), T({
|
|
72
72
|
class: {
|
|
73
|
-
[
|
|
74
|
-
[`${
|
|
73
|
+
[l(i)()]: !0,
|
|
74
|
+
[`${l(i)()}-border-link`]: u.value
|
|
75
75
|
}
|
|
76
76
|
}, {
|
|
77
77
|
...o.$attrs,
|
|
78
|
-
...
|
|
78
|
+
...k()
|
|
79
79
|
}, {
|
|
80
80
|
style: {
|
|
81
81
|
color: s.value,
|
|
82
|
-
minWidth:
|
|
82
|
+
minWidth: h.value,
|
|
83
83
|
"--button-border-color": u.value
|
|
84
84
|
},
|
|
85
85
|
loading: d.value
|
|
86
|
-
}),
|
|
87
|
-
|
|
88
|
-
name:
|
|
89
|
-
fn:
|
|
90
|
-
|
|
86
|
+
}), _({ _: 2 }, [
|
|
87
|
+
P(y, (r, f) => ({
|
|
88
|
+
name: f,
|
|
89
|
+
fn: $((B) => [
|
|
90
|
+
x(o.$slots, f, S(N(B || {})))
|
|
91
91
|
])
|
|
92
92
|
}))
|
|
93
93
|
]), 1040, ["class", "style", "loading"]));
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
96
|
export {
|
|
97
|
-
|
|
97
|
+
Y as default
|
|
98
98
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DisplayInfoProps } from './interface';
|
|
2
2
|
import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: Partial<Record<string, (_: {
|
|
5
6
|
index: number;
|
|
6
7
|
item: VNode<RendererNode, RendererElement, {
|
|
@@ -11,10 +12,10 @@ declare function __VLS_template(): {
|
|
|
11
12
|
} | undefined;
|
|
12
13
|
}) => any>>;
|
|
13
14
|
refs: {};
|
|
14
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: DefineComponent<DisplayInfoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DisplayInfoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
18
|
+
declare const __VLS_component: DefineComponent<DisplayInfoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DisplayInfoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
20
|
export default _default;
|
|
20
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
helpMessage?: any;
|
|
4
4
|
label?: any;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
label?: any;
|
|
8
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
9
7
|
export default _default;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { ApDownLoadProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { ButtonType } from '@aplus-frontend/antdv/es/button';
|
|
4
|
+
type __VLS_Props = ApDownLoadProps;
|
|
4
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
5
7
|
slots: {
|
|
6
8
|
icon?(_: {}): any;
|
|
7
9
|
};
|
|
8
10
|
refs: {};
|
|
9
|
-
|
|
11
|
+
rootEl: any;
|
|
10
12
|
};
|
|
11
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: DefineComponent<
|
|
14
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
15
|
downloadCallback: (...args: any[]) => void;
|
|
14
|
-
}, string, PublicProps, Readonly<
|
|
16
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
17
|
onDownloadCallback?: ((...args: any[]) => any) | undefined;
|
|
16
18
|
}>, {
|
|
17
19
|
size: "small" | "large" | "middle";
|
|
@@ -19,9 +19,10 @@ type ApFieldDataSlots = {
|
|
|
19
19
|
default?: any;
|
|
20
20
|
};
|
|
21
21
|
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
22
23
|
slots: Readonly<ApFieldDataSlots> & ApFieldDataSlots;
|
|
23
24
|
refs: {};
|
|
24
|
-
|
|
25
|
+
rootEl: any;
|
|
25
26
|
};
|
|
26
27
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
28
|
declare const __VLS_component: DefineComponent<ApFieldDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -20,9 +20,10 @@ type ApFieldDateRangeSlots = {
|
|
|
20
20
|
clearIcon?: any;
|
|
21
21
|
};
|
|
22
22
|
declare function __VLS_template(): {
|
|
23
|
+
attrs: Partial<{}>;
|
|
23
24
|
slots: Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots;
|
|
24
25
|
refs: {};
|
|
25
|
-
|
|
26
|
+
rootEl: any;
|
|
26
27
|
};
|
|
27
28
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
29
|
declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -16,6 +16,7 @@ type ApFieldNumberSlots = {
|
|
|
16
16
|
declare function focus(): void;
|
|
17
17
|
declare function blur(): void;
|
|
18
18
|
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
19
20
|
slots: Readonly<ApFieldNumberSlots> & ApFieldNumberSlots;
|
|
20
21
|
refs: {
|
|
21
22
|
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
@@ -339,7 +340,7 @@ declare function __VLS_template(): {
|
|
|
339
340
|
parser: (displayValue: string) => ValueType;
|
|
340
341
|
}> | null;
|
|
341
342
|
};
|
|
342
|
-
|
|
343
|
+
rootEl: any;
|
|
343
344
|
};
|
|
344
345
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
345
346
|
declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
@@ -8,6 +8,7 @@ import { FieldMode } from '..';
|
|
|
8
8
|
declare function focus(): void;
|
|
9
9
|
declare function blur(): void;
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
11
12
|
slots: Readonly<{
|
|
12
13
|
character: any;
|
|
13
14
|
}> & {
|
|
@@ -95,7 +96,7 @@ declare function __VLS_template(): {
|
|
|
95
96
|
allowHalf: boolean;
|
|
96
97
|
}> | null;
|
|
97
98
|
};
|
|
98
|
-
|
|
99
|
+
rootEl: any;
|
|
99
100
|
};
|
|
100
101
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
101
102
|
declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
@@ -2,6 +2,7 @@ import { ApFieldSegmentedProps } from '../interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { FieldMode } from '..';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
label?(_: {
|
|
7
8
|
value: string | number;
|
|
@@ -12,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
12
13
|
}): any;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: any;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: DefineComponent<ApFieldSegmentedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -26,6 +26,7 @@ declare function requestIfNeeded(clear?: boolean): Promise<void>;
|
|
|
26
26
|
declare function focus(): void;
|
|
27
27
|
declare function blur(): void;
|
|
28
28
|
declare function __VLS_template(): {
|
|
29
|
+
attrs: Partial<{}>;
|
|
29
30
|
slots: Readonly<ApFieldSelectSlots> & ApFieldSelectSlots;
|
|
30
31
|
refs: {
|
|
31
32
|
selectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
@@ -430,7 +431,7 @@ declare function __VLS_template(): {
|
|
|
430
431
|
labelInValue: boolean;
|
|
431
432
|
}> | null;
|
|
432
433
|
};
|
|
433
|
-
|
|
434
|
+
rootEl: any;
|
|
434
435
|
};
|
|
435
436
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
436
437
|
declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
@@ -14,6 +14,7 @@ type ApFieldSliderSlots = {
|
|
|
14
14
|
declare function focus(): void;
|
|
15
15
|
declare function blur(): void;
|
|
16
16
|
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
17
18
|
slots: Readonly<ApFieldSliderSlots> & ApFieldSliderSlots;
|
|
18
19
|
refs: {
|
|
19
20
|
sliderRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
@@ -272,7 +273,7 @@ declare function __VLS_template(): {
|
|
|
272
273
|
getTooltipPopupContainer: (triggerNode: HTMLElement) => HTMLElement;
|
|
273
274
|
}> | null;
|
|
274
275
|
};
|
|
275
|
-
|
|
276
|
+
rootEl: any;
|
|
276
277
|
};
|
|
277
278
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
278
279
|
declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
|
|
@@ -6,9 +6,10 @@ type ApFieldSwitchSlots = {
|
|
|
6
6
|
default: any;
|
|
7
7
|
};
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: Readonly<ApFieldSwitchSlots> & ApFieldSwitchSlots;
|
|
10
11
|
refs: {};
|
|
11
|
-
|
|
12
|
+
rootEl: any;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
15
|
declare const __VLS_component: DefineComponent<ApFieldSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -10,9 +10,10 @@ type ApFieldTextSlots = {
|
|
|
10
10
|
clearIcon?: any;
|
|
11
11
|
};
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
13
14
|
slots: Readonly<ApFieldTextSlots> & ApFieldTextSlots;
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: any;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: DefineComponent<ApFieldTextProps, {
|
|
@@ -10,9 +10,10 @@ type ApFieldTextPasswordSlots = {
|
|
|
10
10
|
iconRender: any;
|
|
11
11
|
};
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
13
14
|
slots: Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots;
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: any;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFormProps, RegistedFieldType, WatchFunc } from './interface';
|
|
2
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign,
|
|
2
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
5
5
|
import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
@@ -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
|
/**
|
|
@@ -24,6 +23,7 @@ declare function getInternalInstance(mark: string): {
|
|
|
24
23
|
registerWatch: typeof registerWatch;
|
|
25
24
|
} | undefined;
|
|
26
25
|
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
27
|
slots: {
|
|
28
28
|
default?(_: {}): any;
|
|
29
29
|
};
|
|
@@ -288,7 +288,9 @@ declare function __VLS_template(): {
|
|
|
288
288
|
};
|
|
289
289
|
xxl: {
|
|
290
290
|
type: PropType<string | number | ColSize>;
|
|
291
|
-
default: string | number |
|
|
291
|
+
default: string | number | **
|
|
292
|
+
* 订阅事件
|
|
293
|
+
*/).ColSize;
|
|
292
294
|
};
|
|
293
295
|
prefixCls: StringConstructor;
|
|
294
296
|
flex: (StringConstructor | NumberConstructor)[];
|
|
@@ -663,7 +665,7 @@ declare function __VLS_template(): {
|
|
|
663
665
|
scrollToFirstError: boolean | Options<any>;
|
|
664
666
|
}> | null;
|
|
665
667
|
};
|
|
666
|
-
|
|
668
|
+
rootEl: any;
|
|
667
669
|
};
|
|
668
670
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
669
671
|
declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
@@ -4,9 +4,10 @@ type ApFormDependencySlots = {
|
|
|
4
4
|
default(values: Record<string, any>): any;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Readonly<ApFormDependencySlots> & ApFormDependencySlots;
|
|
8
9
|
refs: {};
|
|
9
|
-
|
|
10
|
+
rootEl: any;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
13
|
declare const __VLS_component: DefineComponent<ApFormDependencyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormDependencyProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -19,6 +19,7 @@ type ApDrawerFormSlots = {
|
|
|
19
19
|
submitter(defaultDoms: VNode[]): any;
|
|
20
20
|
};
|
|
21
21
|
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
22
23
|
slots: Readonly<ApDrawerFormSlots> & ApDrawerFormSlots;
|
|
23
24
|
refs: {
|
|
24
25
|
formRef: ({
|
|
@@ -115,7 +116,7 @@ declare function __VLS_template(): {
|
|
|
115
116
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
116
117
|
readonly initialValues?: Recordable | undefined;
|
|
117
118
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
118
|
-
readonly syncToUrl?:
|
|
119
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
119
120
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
120
121
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
121
122
|
$attrs: {
|
|
@@ -218,7 +219,7 @@ declare function __VLS_template(): {
|
|
|
218
219
|
};
|
|
219
220
|
}) | null;
|
|
220
221
|
};
|
|
221
|
-
|
|
222
|
+
rootEl: any;
|
|
222
223
|
};
|
|
223
224
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
224
225
|
declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
@@ -12,6 +12,7 @@ declare function clearValidate(): void;
|
|
|
12
12
|
declare function resetField(): void;
|
|
13
13
|
declare function getFieldValue(shouldFormat?: boolean): any;
|
|
14
14
|
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
15
16
|
slots: Readonly<ApFormItemSlots> & ApFormItemSlots;
|
|
16
17
|
refs: {
|
|
17
18
|
formItemRef: ({
|
|
@@ -790,7 +791,7 @@ declare function __VLS_template(): {
|
|
|
790
791
|
tooltip: StringConstructor;
|
|
791
792
|
}>> & Readonly<{}>, "hidden" | "colon" | "required" | "hasFeedback" | "autoLink" | "validateFirst" | "noStyle"> & ShallowUnwrapRef<() => any>) | null;
|
|
792
793
|
};
|
|
793
|
-
|
|
794
|
+
rootEl: any;
|
|
794
795
|
};
|
|
795
796
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
796
797
|
declare const __VLS_component: DefineComponent<ApFormItemProps, {
|
|
@@ -3,13 +3,14 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { Breakpoint } from '@aplus-frontend/antdv/es/_util/responsiveObserve';
|
|
4
4
|
import { Gutter } from '@aplus-frontend/antdv/es/grid/Row';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<{
|
|
7
8
|
default(): any[];
|
|
8
9
|
}> & {
|
|
9
10
|
default(): any[];
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: any;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: DefineComponent<ApFormItemGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemGroupProps> & Readonly<{}>, {
|
|
@@ -4,9 +4,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
4
4
|
import { ApFieldCheckboxProps } from '../../..';
|
|
5
5
|
type ApFormItemCheckboxSlots = Omit<ApFormItemSlots, 'default'>;
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Readonly<ApFormItemCheckboxSlots> & ApFormItemCheckboxSlots;
|
|
8
9
|
refs: {};
|
|
9
|
-
|
|
10
|
+
rootEl: any;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
13
|
declare const __VLS_component: DefineComponent<ApFormItemCheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemCheckboxProps> & Readonly<{}>, {
|
|
@@ -3,6 +3,7 @@ import { ApFormItemSlots } from '../../interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ApFieldDateProps } from '../../..';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<{
|
|
7
8
|
dateRender: any;
|
|
8
9
|
suffixIcon?: any;
|
|
@@ -29,7 +30,7 @@ declare function __VLS_template(): {
|
|
|
29
30
|
default?: any;
|
|
30
31
|
} & Omit<ApFormItemSlots, "default">;
|
|
31
32
|
refs: {};
|
|
32
|
-
|
|
33
|
+
rootEl: any;
|
|
33
34
|
};
|
|
34
35
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
36
|
declare const __VLS_component: DefineComponent<ApFormItemDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemDateProps> & Readonly<{}>, {
|
|
@@ -3,6 +3,7 @@ import { ApFormItemSlots } from '../../interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ApFieldDateRangeProps } from '../../..';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<{
|
|
7
8
|
suffixIcon?: any;
|
|
8
9
|
prevIcon?: any;
|
|
@@ -27,7 +28,7 @@ declare function __VLS_template(): {
|
|
|
27
28
|
clearIcon?: any;
|
|
28
29
|
} & Omit<ApFormItemSlots, "default">;
|
|
29
30
|
refs: {};
|
|
30
|
-
|
|
31
|
+
rootEl: any;
|
|
31
32
|
};
|
|
32
33
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
33
34
|
declare const __VLS_component: DefineComponent<ApFormItemDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemDateRangeProps> & Readonly<{}>, {
|