@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
|
@@ -7,6 +7,7 @@ import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniD
|
|
|
7
7
|
import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
8
8
|
import { OnCleanup } from '@vue/reactivity';
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
10
11
|
slots: Readonly<{
|
|
11
12
|
addonBefore?: any;
|
|
12
13
|
addonAfter?: any;
|
|
@@ -160,7 +161,7 @@ declare function __VLS_template(): {
|
|
|
160
161
|
};
|
|
161
162
|
}) | null;
|
|
162
163
|
};
|
|
163
|
-
|
|
164
|
+
rootEl: any;
|
|
164
165
|
};
|
|
165
166
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
166
167
|
declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
@@ -4,6 +4,7 @@ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicP
|
|
|
4
4
|
import { ApFieldRadioProps, FieldMode } from '../../..';
|
|
5
5
|
type ApFormItemRadioSlots = Omit<ApFormItemSlots, 'default'>;
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Readonly<ApFormItemRadioSlots> & ApFormItemRadioSlots;
|
|
8
9
|
refs: {
|
|
9
10
|
radioRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldRadioProps> & Readonly<{
|
|
@@ -37,7 +38,7 @@ declare function __VLS_template(): {
|
|
|
37
38
|
emptyText: string;
|
|
38
39
|
}> | null;
|
|
39
40
|
};
|
|
40
|
-
|
|
41
|
+
rootEl: any;
|
|
41
42
|
};
|
|
42
43
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
43
44
|
declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
|
|
@@ -3,6 +3,7 @@ import { ApFormItemSlots } from '../../interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ApFieldSelectProps } from '../../..';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<{
|
|
7
8
|
notFoundContent: any;
|
|
8
9
|
suffixIcon: any;
|
|
@@ -31,7 +32,7 @@ declare function __VLS_template(): {
|
|
|
31
32
|
default: any;
|
|
32
33
|
} & Omit<ApFormItemSlots, "default">;
|
|
33
34
|
refs: {};
|
|
34
|
-
|
|
35
|
+
rootEl: any;
|
|
35
36
|
};
|
|
36
37
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
38
|
declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
@@ -3,6 +3,7 @@ import { ApFormItemSlots } from '../../interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ApFieldSwitchProps } from '../../..';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<{
|
|
7
8
|
checkedChildren: any;
|
|
8
9
|
unCheckedChildren: any;
|
|
@@ -13,7 +14,7 @@ declare function __VLS_template(): {
|
|
|
13
14
|
default: any;
|
|
14
15
|
} & Omit<ApFormItemSlots, "default">;
|
|
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<ApFormItemSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemSwitchProps> & Readonly<{}>, {
|
|
@@ -4,9 +4,10 @@ type ApFormItemTextSlots = {
|
|
|
4
4
|
default: any;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Readonly<ApFormItemTextSlots> & ApFormItemTextSlots;
|
|
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<ApFormItemTextGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemTextGroupProps> & Readonly<{}>, {
|
|
@@ -8,6 +8,7 @@ import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, Keyboar
|
|
|
8
8
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
9
9
|
import { OnCleanup } from '@vue/reactivity';
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
11
12
|
slots: Readonly<{
|
|
12
13
|
addonAfter: any;
|
|
13
14
|
addonBefore: any;
|
|
@@ -159,7 +160,7 @@ declare function __VLS_template(): {
|
|
|
159
160
|
};
|
|
160
161
|
}) | null;
|
|
161
162
|
};
|
|
162
|
-
|
|
163
|
+
rootEl: any;
|
|
163
164
|
};
|
|
164
165
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
165
166
|
declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
@@ -7,6 +7,7 @@ import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, Keyboar
|
|
|
7
7
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
8
8
|
import { OnCleanup } from '@vue/reactivity';
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
10
11
|
slots: Readonly<{
|
|
11
12
|
addonAfter: any;
|
|
12
13
|
addonBefore: any;
|
|
@@ -170,7 +171,7 @@ declare function __VLS_template(): {
|
|
|
170
171
|
};
|
|
171
172
|
}) | null;
|
|
172
173
|
};
|
|
173
|
-
|
|
174
|
+
rootEl: any;
|
|
174
175
|
};
|
|
175
176
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
176
177
|
declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
@@ -5,6 +5,7 @@ import { CreateComponentPublicInstanceWithMixins, ComputedRef, ComponentOptionsM
|
|
|
5
5
|
import { ApFieldTextAreaProps, FieldMode } from '../../..';
|
|
6
6
|
type ApFormItemTextAreaSlots = Omit<ApFormItemSlots, 'default'>;
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: Readonly<ApFormItemTextAreaSlots> & ApFormItemTextAreaSlots;
|
|
9
10
|
refs: {
|
|
10
11
|
textAreaRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldTextAreaProps> & Readonly<{
|
|
@@ -46,7 +47,7 @@ declare function __VLS_template(): {
|
|
|
46
47
|
emptyText: string;
|
|
47
48
|
}> | null;
|
|
48
49
|
};
|
|
49
|
-
|
|
50
|
+
rootEl: any;
|
|
50
51
|
};
|
|
51
52
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
52
53
|
declare const __VLS_component: DefineComponent<ApFormItemTextAreaProps, {
|
|
@@ -17,9 +17,10 @@ type ApFormListSlots = {
|
|
|
17
17
|
}): any;
|
|
18
18
|
};
|
|
19
19
|
declare function __VLS_template(): {
|
|
20
|
+
attrs: Partial<{}>;
|
|
20
21
|
slots: Readonly<ApFormListSlots> & ApFormListSlots;
|
|
21
22
|
refs: {};
|
|
22
|
-
|
|
23
|
+
rootEl: any;
|
|
23
24
|
};
|
|
24
25
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
26
|
declare const __VLS_component: DefineComponent<ApFormListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -20,6 +20,7 @@ type ApModalFormSlots = {
|
|
|
20
20
|
submitter(defaultDoms: VNode[]): any;
|
|
21
21
|
};
|
|
22
22
|
declare function __VLS_template(): {
|
|
23
|
+
attrs: Partial<{}>;
|
|
23
24
|
slots: Readonly<ApModalFormSlots> & ApModalFormSlots;
|
|
24
25
|
refs: {
|
|
25
26
|
formRef: ({
|
|
@@ -116,7 +117,7 @@ declare function __VLS_template(): {
|
|
|
116
117
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
117
118
|
readonly initialValues?: Recordable | undefined;
|
|
118
119
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
119
|
-
readonly syncToUrl?:
|
|
120
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
120
121
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
121
122
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
122
123
|
$attrs: {
|
|
@@ -219,7 +220,7 @@ declare function __VLS_template(): {
|
|
|
219
220
|
};
|
|
220
221
|
}) | null;
|
|
221
222
|
};
|
|
222
|
-
|
|
223
|
+
rootEl: any;
|
|
223
224
|
};
|
|
224
225
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
225
226
|
declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { isVNode as q, defineComponent as D, useSlots as L, ref as g, watch as A, cloneVNode as G, computed as I, createVNode as u, mergeProps as p, unref as n, openBlock as F, createElementBlock as W, Fragment as H, withCtx as h, renderSlot as w, createTextVNode as J, toDisplayString as K, createElementVNode as Q, normalizeClass as X, createBlock as
|
|
1
|
+
import { isVNode as q, defineComponent as D, useSlots as L, ref as g, watch as A, cloneVNode as G, computed as I, createVNode as u, mergeProps as p, unref as n, openBlock as F, createElementBlock as W, Fragment as H, withCtx as h, renderSlot as w, createTextVNode as J, toDisplayString as K, createElementVNode as Q, normalizeClass as X, createBlock as P, resolveDynamicComponent as x, createCommentVNode as Y } from "vue";
|
|
2
2
|
import { Button as V, Flex as Z, Space as ee, Modal as te } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
5
5
|
import { getSingleVNode as le } from "../../utils/slot.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import { omit as
|
|
8
|
-
import { convertReactiveToRaw as
|
|
7
|
+
import { omit as oe } from "lodash-unified";
|
|
8
|
+
import { convertReactiveToRaw as ae } from "../../utils/index.mjs";
|
|
9
9
|
import { useControllableValue as ie } from "../../hooks/useControllableValue.mjs";
|
|
10
10
|
import { useLocale as ne } from "../../config-provider/hooks/use-locale.mjs";
|
|
11
11
|
import { useGlobalConfig as se } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -93,12 +93,12 @@ const Me = /* @__PURE__ */ D({
|
|
|
93
93
|
emits: ["update:open"],
|
|
94
94
|
setup(d, {
|
|
95
95
|
expose: S,
|
|
96
|
-
emit:
|
|
96
|
+
emit: R
|
|
97
97
|
}) {
|
|
98
|
-
const
|
|
98
|
+
const o = d, b = L(), _ = R, a = g(), c = g(), s = g(!1), {
|
|
99
99
|
value: M,
|
|
100
100
|
updateValue: m
|
|
101
|
-
} = ie(
|
|
101
|
+
} = ie(o, _, {
|
|
102
102
|
valuePropName: "open",
|
|
103
103
|
defaultValue: !1
|
|
104
104
|
}), {
|
|
@@ -107,7 +107,7 @@ const Me = /* @__PURE__ */ D({
|
|
|
107
107
|
b: j,
|
|
108
108
|
e: C
|
|
109
109
|
} = re("ap-form-modal-form");
|
|
110
|
-
A(() =>
|
|
110
|
+
A(() => a.value, (e) => {
|
|
111
111
|
var t;
|
|
112
112
|
e && c.value && ((t = e.setFieldsValue) == null || t.call(e, c.value), c.value = void 0);
|
|
113
113
|
});
|
|
@@ -118,9 +118,9 @@ const Me = /* @__PURE__ */ D({
|
|
|
118
118
|
}) : null, O = I(() => {
|
|
119
119
|
var t, l, r, f;
|
|
120
120
|
const e = [];
|
|
121
|
-
if (
|
|
121
|
+
if (o.submitter === !1)
|
|
122
122
|
return null;
|
|
123
|
-
if (
|
|
123
|
+
if (o.showCancel) {
|
|
124
124
|
let i;
|
|
125
125
|
e.push(u(V, {
|
|
126
126
|
onClick: k,
|
|
@@ -129,25 +129,25 @@ const Me = /* @__PURE__ */ D({
|
|
|
129
129
|
default: () => [i]
|
|
130
130
|
}));
|
|
131
131
|
}
|
|
132
|
-
return ((t =
|
|
132
|
+
return ((t = o.submitter) == null ? void 0 : t.resetButtonProps) !== !1 && e.push(u(V, p(((l = o.submitter) == null ? void 0 : l.resetButtonProps) || {}, {
|
|
133
133
|
key: "submit",
|
|
134
134
|
disabled: s.value,
|
|
135
135
|
onClick: U
|
|
136
136
|
}), {
|
|
137
137
|
default: () => {
|
|
138
138
|
var i;
|
|
139
|
-
return [((i =
|
|
139
|
+
return [((i = o.submitter) == null ? void 0 : i.resetText) || v("ap.common.resetText")];
|
|
140
140
|
}
|
|
141
|
-
})), ((r =
|
|
141
|
+
})), ((r = o.submitter) == null ? void 0 : r.submitButtonProps) !== !1 && e.push(u(V, p({
|
|
142
142
|
type: "primary",
|
|
143
143
|
key: "submit"
|
|
144
|
-
}, ((f =
|
|
144
|
+
}, ((f = o.submitter) == null ? void 0 : f.submitButtonProps) || {}, {
|
|
145
145
|
loading: s.value,
|
|
146
146
|
onClick: z
|
|
147
147
|
}), {
|
|
148
148
|
default: () => {
|
|
149
149
|
var i;
|
|
150
|
-
return [((i =
|
|
150
|
+
return [((i = o.submitter) == null ? void 0 : i.submitText) || v("ap.common.okText")];
|
|
151
151
|
}
|
|
152
152
|
})), u(Z, {
|
|
153
153
|
justify: "flex-end",
|
|
@@ -160,17 +160,17 @@ const Me = /* @__PURE__ */ D({
|
|
|
160
160
|
});
|
|
161
161
|
function U() {
|
|
162
162
|
var e, t, l;
|
|
163
|
-
|
|
163
|
+
o.submitter !== !1 && ((e = a.value) == null || e.resetFields(), (l = (t = o.submitter) == null ? void 0 : t.onReset) == null || l.call(t));
|
|
164
164
|
}
|
|
165
165
|
async function z() {
|
|
166
166
|
var e, t, l, r;
|
|
167
|
-
if (
|
|
167
|
+
if (o.submitter !== !1)
|
|
168
168
|
try {
|
|
169
|
-
const f = await ((e =
|
|
170
|
-
(l = (t =
|
|
171
|
-
const i = (r =
|
|
172
|
-
if (
|
|
173
|
-
const $ = setTimeout(() => s.value = !1,
|
|
169
|
+
const f = await ((e = a.value) == null ? void 0 : e.validateFields());
|
|
170
|
+
(l = (t = o.submitter) == null ? void 0 : t.onSubmit) == null || l.call(t), s.value = !0;
|
|
171
|
+
const i = (r = o.onFinish) == null ? void 0 : r.call(o, ae(f));
|
|
172
|
+
if (o.submitTimeout && i instanceof Promise) {
|
|
173
|
+
const $ = setTimeout(() => s.value = !1, o.submitTimeout);
|
|
174
174
|
i.finally(() => {
|
|
175
175
|
clearTimeout($), s.value = !1;
|
|
176
176
|
});
|
|
@@ -189,71 +189,75 @@ const Me = /* @__PURE__ */ D({
|
|
|
189
189
|
return S({
|
|
190
190
|
resetFields: () => {
|
|
191
191
|
var e;
|
|
192
|
-
(e =
|
|
192
|
+
(e = a.value) == null || e.resetFields();
|
|
193
193
|
},
|
|
194
194
|
clearValidate: (e) => {
|
|
195
195
|
var t;
|
|
196
|
-
(t =
|
|
196
|
+
(t = a.value) == null || t.clearValidate(e);
|
|
197
197
|
},
|
|
198
198
|
validateFields: (e, t) => {
|
|
199
199
|
var l;
|
|
200
|
-
return (l =
|
|
200
|
+
return (l = a.value) == null ? void 0 : l.validateFields(e, t);
|
|
201
201
|
},
|
|
202
202
|
getFieldsValue: (e) => {
|
|
203
203
|
var t;
|
|
204
|
-
return (t =
|
|
204
|
+
return (t = a.value) == null ? void 0 : t.getFieldsValue(e);
|
|
205
205
|
},
|
|
206
206
|
validate: (e, t) => {
|
|
207
207
|
var l;
|
|
208
|
-
return (l =
|
|
208
|
+
return (l = a.value) == null ? void 0 : l.validate(e, t);
|
|
209
209
|
},
|
|
210
210
|
scrollToField: (e, t = {}) => {
|
|
211
211
|
var l;
|
|
212
|
-
(l =
|
|
212
|
+
(l = a.value) == null || l.scrollToField(e, t);
|
|
213
213
|
},
|
|
214
214
|
setFieldValue: (e, t) => {
|
|
215
215
|
var l, r;
|
|
216
|
-
(r = (l =
|
|
216
|
+
(r = (l = a.value) == null ? void 0 : l.setFieldValue) == null || r.call(l, e, t);
|
|
217
217
|
},
|
|
218
218
|
setFieldsValue: (e) => {
|
|
219
219
|
var t, l;
|
|
220
|
-
if (!
|
|
220
|
+
if (!a.value) {
|
|
221
221
|
c.value = e;
|
|
222
222
|
return;
|
|
223
223
|
}
|
|
224
|
-
(l = (t =
|
|
224
|
+
(l = (t = a.value) == null ? void 0 : t.setFieldsValue) == null || l.call(t, e);
|
|
225
225
|
},
|
|
226
226
|
getInternalInstance: (e) => {
|
|
227
227
|
var t;
|
|
228
|
-
return (t =
|
|
228
|
+
return (t = a.value) == null ? void 0 : t.getInternalInstance(e);
|
|
229
229
|
}
|
|
230
|
-
}), (e, t) =>
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
230
|
+
}), (e, t) => {
|
|
231
|
+
var l;
|
|
232
|
+
return F(), W(H, null, [u(n(te), p(e.modalProps, {
|
|
233
|
+
open: n(M),
|
|
234
|
+
footer: null,
|
|
235
|
+
width: e.width,
|
|
236
|
+
class: n(j)(),
|
|
237
|
+
"body-style": {
|
|
238
|
+
...((l = e.modalProps) == null ? void 0 : l.bodyStyle) || {},
|
|
239
|
+
padding: n(y) === "admin" ? "0px !important" : "20px !important"
|
|
240
|
+
// 这里使用内联样式目的是为了使用最高优先级覆盖设置的全局样式
|
|
241
|
+
// 使用ModalForm你可能无法再自定义body的样式
|
|
242
|
+
},
|
|
243
|
+
"onUpdate:open": E,
|
|
244
|
+
onCancel: k
|
|
245
|
+
}), {
|
|
246
|
+
title: h(() => [w(e.$slots, "title", {}, () => [J(K(o.title), 1)])]),
|
|
247
|
+
default: h(() => [Q("div", {
|
|
248
|
+
class: X(n(C)(n(y) === "admin" ? "content-admin" : "content"))
|
|
249
|
+
}, [u(ue, p({
|
|
250
|
+
ref_key: "formRef",
|
|
251
|
+
ref: a
|
|
252
|
+
}, n(oe)(o, ["modalProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"])), {
|
|
253
|
+
default: h(() => [w(e.$slots, "default")]),
|
|
254
|
+
_: 3
|
|
255
|
+
}, 16)], 2), (F(), P(x(O.value)))]),
|
|
251
256
|
_: 3
|
|
252
|
-
}, 16
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
})) : Y("", !0)], 64));
|
|
257
|
+
}, 16, ["open", "width", "class", "body-style"]), n(T) ? (F(), P(x(n(T)), {
|
|
258
|
+
key: 0
|
|
259
|
+
})) : Y("", !0)], 64);
|
|
260
|
+
};
|
|
257
261
|
}
|
|
258
262
|
});
|
|
259
263
|
export {
|
|
@@ -5,9 +5,10 @@ type SlotsType = {
|
|
|
5
5
|
default: (props: FormItemStatusContextProps & NonNullable<ApFormControlRenderProps>) => any;
|
|
6
6
|
};
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: Readonly<SlotsType> & SlotsType;
|
|
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<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,13 +3,14 @@ import { ApFormControlRenderProps, ApFormItemSlots } from '../interface';
|
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ApFormItemProps } from '..';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<{
|
|
7
8
|
default: (props: FormItemStatusContextProps & NonNullable<ApFormControlRenderProps>) => any;
|
|
8
9
|
} & Omit<ApFormItemSlots, "default">> & {
|
|
9
10
|
default: (props: FormItemStatusContextProps & NonNullable<ApFormControlRenderProps>) => any;
|
|
10
11
|
} & Omit<ApFormItemSlots, "default">;
|
|
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<ApFormItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApFormItemProps> & Readonly<{}>, {
|
|
@@ -10,6 +10,7 @@ import { Recordable } from '../../type';
|
|
|
10
10
|
import { ApFormProps, WatchFunc, RegistedFieldType } from '..';
|
|
11
11
|
import { OnCleanup } from '@vue/reactivity';
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
13
14
|
slots: Readonly<{
|
|
14
15
|
default(): any[];
|
|
15
16
|
extra(): any;
|
|
@@ -112,7 +113,7 @@ declare function __VLS_template(): {
|
|
|
112
113
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
113
114
|
readonly initialValues?: Recordable | undefined;
|
|
114
115
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
115
|
-
readonly syncToUrl?:
|
|
116
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
116
117
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
117
118
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
118
119
|
$attrs: {
|
|
@@ -215,7 +216,7 @@ declare function __VLS_template(): {
|
|
|
215
216
|
};
|
|
216
217
|
}) | null;
|
|
217
218
|
};
|
|
218
|
-
|
|
219
|
+
rootEl: any;
|
|
219
220
|
};
|
|
220
221
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
221
222
|
declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { ApFormSetProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: Readonly<{
|
|
5
6
|
default: any;
|
|
6
7
|
}> & {
|
|
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<ApFormSetProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormSetProps> & Readonly<{}>, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApInfoLayoutPropsMixed } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: Readonly<{
|
|
5
6
|
[key: string]: any;
|
|
6
7
|
/**
|
|
@@ -59,10 +60,10 @@ declare function __VLS_template(): {
|
|
|
59
60
|
content(): any;
|
|
60
61
|
};
|
|
61
62
|
refs: {};
|
|
62
|
-
|
|
63
|
+
rootEl: HTMLDivElement;
|
|
63
64
|
};
|
|
64
65
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
65
|
-
declare const __VLS_component: DefineComponent<ApInfoLayoutPropsMixed, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApInfoLayoutPropsMixed> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
66
|
+
declare const __VLS_component: DefineComponent<ApInfoLayoutPropsMixed, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApInfoLayoutPropsMixed> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
66
67
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
67
68
|
export default _default;
|
|
68
69
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { ApInfoLayoutAdminProps } from '../interface';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
header?(_: {}): any;
|
|
6
7
|
default?(_: {}): any;
|
|
@@ -9,13 +10,13 @@ declare function __VLS_template(): {
|
|
|
9
10
|
containerRef: HTMLDivElement;
|
|
10
11
|
headerRef: HTMLDivElement;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: DefineComponent<ApInfoLayoutAdminProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApInfoLayoutAdminProps> & Readonly<{}>, {
|
|
16
17
|
bordered: boolean;
|
|
17
18
|
headerStyle: CSSProperties;
|
|
18
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApInfoLayoutAplusProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
header?(_: {}): any;
|
|
6
7
|
title?(_: {}): any;
|
|
@@ -9,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
9
10
|
content?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: DefineComponent<ApInfoLayoutAplusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -19,7 +20,7 @@ declare const __VLS_component: DefineComponent<ApInfoLayoutAplusProps, {}, {}, {
|
|
|
19
20
|
}>, {
|
|
20
21
|
toEl: string | HTMLElement;
|
|
21
22
|
telDisabled: boolean;
|
|
22
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
25
|
export default _default;
|
|
25
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApListProps } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
|
|
4
4
|
import { ApFormSearchFormExpose } from '..';
|
|
5
5
|
declare const _default: <RecordType extends Recordable>(__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<{
|
|
6
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType>> & PublicProps;
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & Partial<{}> & ApListProps<RecordType>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
8
8
|
submit: () => void;
|
|
9
9
|
reset: () => void;
|
|
@@ -41,9 +41,7 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
|
|
|
41
41
|
}): any;
|
|
42
42
|
};
|
|
43
43
|
emit: {};
|
|
44
|
-
}>) => VNode
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}> & {
|
|
44
|
+
}>) => VNode & {
|
|
47
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
48
46
|
};
|
|
49
47
|
export default _default;
|
|
@@ -2,5 +2,5 @@ import { ApScrollBarProps } from './interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<ApScrollBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApScrollBarProps> & Readonly<{}>, {
|
|
4
4
|
type: "horizontal" | "vertical";
|
|
5
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
5
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
6
|
export default _default;
|
|
@@ -4,7 +4,7 @@ export * from './interface';
|
|
|
4
4
|
declare const ApScrollBar: {
|
|
5
5
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApScrollBarProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
6
6
|
type: "horizontal" | "vertical";
|
|
7
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {},
|
|
7
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
8
8
|
P: {};
|
|
9
9
|
B: {};
|
|
10
10
|
D: {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApColumnType, ApTableProps } from './interface';
|
|
2
2
|
import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
3
3
|
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
4
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode
|
|
4
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } from 'vue';
|
|
5
5
|
declare const _default: <RecordType>(__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<{
|
|
6
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType>> & PublicProps;
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & Partial<{}> & ApTableProps<RecordType>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
8
8
|
submit: () => void;
|
|
9
9
|
reset: () => void;
|
|
@@ -76,9 +76,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
76
76
|
}) => void;
|
|
77
77
|
};
|
|
78
78
|
emit: {};
|
|
79
|
-
}>) => VNode
|
|
80
|
-
[key: string]: any;
|
|
81
|
-
}> & {
|
|
79
|
+
}>) => VNode & {
|
|
82
80
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
83
81
|
};
|
|
84
82
|
export default _default;
|