@aplus-frontend/ui 0.3.6 → 0.3.8
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 +1 -2
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-modal/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -2
- package/es/src/ap-button/ap-button.vue.d.ts +1 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
- package/es/src/ap-download/ap-download.vue.d.ts +3 -5
- package/es/src/ap-field/date/index.vue.d.ts +1 -2
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -2
- package/es/src/ap-field/number/index.vue.d.ts +1 -2
- package/es/src/ap-field/rate/index.vue.d.ts +1 -2
- package/es/src/ap-field/segmented/index.vue.d.ts +1 -2
- package/es/src/ap-field/select/index.vue.d.ts +1 -2
- package/es/src/ap-field/slider/index.vue.d.ts +1 -2
- package/es/src/ap-field/switch/index.vue.d.ts +1 -2
- package/es/src/ap-field/text/index.vue.d.ts +1 -2
- package/es/src/ap-field/text/password.vue.d.ts +1 -2
- package/es/src/ap-form/ap-form.vue.d.ts +4 -6
- package/es/src/ap-form/dependency/index.vue.d.ts +1 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +2 -3
- package/es/src/ap-form/item/index.vue.d.ts +1 -2
- package/es/src/ap-form/item-group/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/group.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +1 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +1 -2
- package/es/src/ap-form/list/index.vue.d.ts +1 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +2 -3
- package/es/src/ap-form/render/control.vue.d.ts +1 -2
- package/es/src/ap-form/render/item.vue.d.ts +1 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +2 -3
- package/es/src/ap-form/set/index.vue.d.ts +1 -2
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -3
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
- package/es/src/ap-list/index.vue.d.ts +5 -3
- 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 +6 -4
- package/es/src/ap-table/ap-table.vue2.mjs +99 -98
- 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 +1 -2
- 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/interface.d.ts +2 -1
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +1 -2
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/Picture.vue.d.ts +9 -5
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
- 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 +2 -3
- package/es/src/business/ap-batch-action/index.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
- package/es/src/business/ap-batch-action-group/index.d.ts +5 -887
- package/es/src/business/ap-card/ApCard.vue.d.ts +2 -3
- package/es/src/business/ap-card/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -3
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -8
- 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 +346 -8
- package/es/src/business/ap-image/ApImage.vue.d.ts +1 -2
- 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 +2 -3
- package/es/src/business/ap-ladder/index.d.ts +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
- 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 -4
- package/es/src/business/ap-title/ApTitle.vue.d.ts +2 -3
- 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 +3 -5
- 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/business/hooks/usePageListApTable.d.ts +1 -1
- package/es/src/check-card/group.vue.d.ts +1 -2
- package/es/src/check-card/index.vue.d.ts +2 -3
- package/es/src/editable-table/form-item.vue.d.ts +5 -3
- package/es/src/editable-table/index.vue.d.ts +5 -3
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/index.ts +19 -0
- package/lib/src/ap-action/item/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -2
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -2
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
- package/lib/src/ap-download/ap-download.vue.d.ts +3 -5
- package/lib/src/ap-field/date/index.vue.d.ts +1 -2
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -2
- package/lib/src/ap-field/number/index.vue.d.ts +1 -2
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -2
- package/lib/src/ap-field/segmented/index.vue.d.ts +1 -2
- package/lib/src/ap-field/select/index.vue.d.ts +1 -2
- package/lib/src/ap-field/slider/index.vue.d.ts +1 -2
- package/lib/src/ap-field/switch/index.vue.d.ts +1 -2
- package/lib/src/ap-field/text/index.vue.d.ts +1 -2
- package/lib/src/ap-field/text/password.vue.d.ts +1 -2
- package/lib/src/ap-form/ap-form.vue.d.ts +4 -6
- package/lib/src/ap-form/dependency/index.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +2 -3
- package/lib/src/ap-form/item/index.vue.d.ts +1 -2
- package/lib/src/ap-form/item-group/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/date/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/number/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/radio/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/switch/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/group.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +1 -2
- package/lib/src/ap-form/list/index.vue.d.ts +1 -2
- package/lib/src/ap-form/modal-form/index.vue.d.ts +2 -3
- package/lib/src/ap-form/render/control.vue.d.ts +1 -2
- package/lib/src/ap-form/render/item.vue.d.ts +1 -2
- package/lib/src/ap-form/search-form/index.vue.d.ts +2 -3
- package/lib/src/ap-form/set/index.vue.d.ts +1 -2
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -3
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
- package/lib/src/ap-list/index.vue.d.ts +5 -3
- 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 +6 -4
- 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 +1 -2
- 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/interface.d.ts +2 -1
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +1 -2
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +9 -5
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
- 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 +2 -3
- package/lib/src/business/ap-batch-action/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
- package/lib/src/business/ap-batch-action-group/index.d.ts +5 -887
- package/lib/src/business/ap-card/ApCard.vue.d.ts +2 -3
- package/lib/src/business/ap-card/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -3
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -8
- 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 +346 -8
- package/lib/src/business/ap-image/ApImage.vue.d.ts +1 -2
- 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 +2 -3
- package/lib/src/business/ap-ladder/index.d.ts +1 -1
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
- 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 -4
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +2 -3
- 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 +3 -5
- 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/business/hooks/usePageListApTable.d.ts +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -2
- package/lib/src/check-card/index.vue.d.ts +2 -3
- package/lib/src/editable-table/form-item.vue.d.ts +5 -3
- package/lib/src/editable-table/index.vue.d.ts +5 -3
- 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
|
@@ -3,7 +3,6 @@ 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<{}>;
|
|
7
6
|
slots: Readonly<{
|
|
8
7
|
dateRender: any;
|
|
9
8
|
suffixIcon?: any;
|
|
@@ -30,7 +29,7 @@ declare function __VLS_template(): {
|
|
|
30
29
|
default?: any;
|
|
31
30
|
} & Omit<ApFormItemSlots, "default">;
|
|
32
31
|
refs: {};
|
|
33
|
-
|
|
32
|
+
attrs: Partial<{}>;
|
|
34
33
|
};
|
|
35
34
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
35
|
declare const __VLS_component: DefineComponent<ApFormItemDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemDateProps> & Readonly<{}>, {
|
|
@@ -3,7 +3,6 @@ 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<{}>;
|
|
7
6
|
slots: Readonly<{
|
|
8
7
|
suffixIcon?: any;
|
|
9
8
|
prevIcon?: any;
|
|
@@ -28,7 +27,7 @@ declare function __VLS_template(): {
|
|
|
28
27
|
clearIcon?: any;
|
|
29
28
|
} & Omit<ApFormItemSlots, "default">;
|
|
30
29
|
refs: {};
|
|
31
|
-
|
|
30
|
+
attrs: Partial<{}>;
|
|
32
31
|
};
|
|
33
32
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
33
|
declare const __VLS_component: DefineComponent<ApFormItemDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemDateRangeProps> & Readonly<{}>, {
|
|
@@ -7,7 +7,6 @@ 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<{}>;
|
|
11
10
|
slots: Readonly<{
|
|
12
11
|
addonBefore?: any;
|
|
13
12
|
addonAfter?: any;
|
|
@@ -161,7 +160,7 @@ declare function __VLS_template(): {
|
|
|
161
160
|
};
|
|
162
161
|
}) | null;
|
|
163
162
|
};
|
|
164
|
-
|
|
163
|
+
attrs: Partial<{}>;
|
|
165
164
|
};
|
|
166
165
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
167
166
|
declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
@@ -4,7 +4,6 @@ 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<{}>;
|
|
8
7
|
slots: Readonly<ApFormItemRadioSlots> & ApFormItemRadioSlots;
|
|
9
8
|
refs: {
|
|
10
9
|
radioRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldRadioProps> & Readonly<{
|
|
@@ -38,7 +37,7 @@ declare function __VLS_template(): {
|
|
|
38
37
|
emptyText: string;
|
|
39
38
|
}> | null;
|
|
40
39
|
};
|
|
41
|
-
|
|
40
|
+
attrs: Partial<{}>;
|
|
42
41
|
};
|
|
43
42
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
44
43
|
declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
|
|
@@ -3,7 +3,6 @@ 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<{}>;
|
|
7
6
|
slots: Readonly<{
|
|
8
7
|
notFoundContent: any;
|
|
9
8
|
suffixIcon: any;
|
|
@@ -32,7 +31,7 @@ declare function __VLS_template(): {
|
|
|
32
31
|
default: any;
|
|
33
32
|
} & Omit<ApFormItemSlots, "default">;
|
|
34
33
|
refs: {};
|
|
35
|
-
|
|
34
|
+
attrs: Partial<{}>;
|
|
36
35
|
};
|
|
37
36
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
37
|
declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
@@ -3,7 +3,6 @@ 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<{}>;
|
|
7
6
|
slots: Readonly<{
|
|
8
7
|
checkedChildren: any;
|
|
9
8
|
unCheckedChildren: any;
|
|
@@ -14,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
14
13
|
default: any;
|
|
15
14
|
} & Omit<ApFormItemSlots, "default">;
|
|
16
15
|
refs: {};
|
|
17
|
-
|
|
16
|
+
attrs: Partial<{}>;
|
|
18
17
|
};
|
|
19
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
19
|
declare const __VLS_component: DefineComponent<ApFormItemSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemSwitchProps> & Readonly<{}>, {
|
|
@@ -4,10 +4,9 @@ type ApFormItemTextSlots = {
|
|
|
4
4
|
default: any;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
7
|
slots: Readonly<ApFormItemTextSlots> & ApFormItemTextSlots;
|
|
9
8
|
refs: {};
|
|
10
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
12
|
declare const __VLS_component: DefineComponent<ApFormItemTextGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemTextGroupProps> & Readonly<{}>, {
|
|
@@ -8,7 +8,6 @@ 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<{}>;
|
|
12
11
|
slots: Readonly<{
|
|
13
12
|
addonAfter: any;
|
|
14
13
|
addonBefore: any;
|
|
@@ -160,7 +159,7 @@ declare function __VLS_template(): {
|
|
|
160
159
|
};
|
|
161
160
|
}) | null;
|
|
162
161
|
};
|
|
163
|
-
|
|
162
|
+
attrs: Partial<{}>;
|
|
164
163
|
};
|
|
165
164
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
166
165
|
declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
@@ -7,7 +7,6 @@ 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<{}>;
|
|
11
10
|
slots: Readonly<{
|
|
12
11
|
addonAfter: any;
|
|
13
12
|
addonBefore: any;
|
|
@@ -171,7 +170,7 @@ declare function __VLS_template(): {
|
|
|
171
170
|
};
|
|
172
171
|
}) | null;
|
|
173
172
|
};
|
|
174
|
-
|
|
173
|
+
attrs: Partial<{}>;
|
|
175
174
|
};
|
|
176
175
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
177
176
|
declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
@@ -5,7 +5,6 @@ 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<{}>;
|
|
9
8
|
slots: Readonly<ApFormItemTextAreaSlots> & ApFormItemTextAreaSlots;
|
|
10
9
|
refs: {
|
|
11
10
|
textAreaRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldTextAreaProps> & Readonly<{
|
|
@@ -47,7 +46,7 @@ declare function __VLS_template(): {
|
|
|
47
46
|
emptyText: string;
|
|
48
47
|
}> | null;
|
|
49
48
|
};
|
|
50
|
-
|
|
49
|
+
attrs: Partial<{}>;
|
|
51
50
|
};
|
|
52
51
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
53
52
|
declare const __VLS_component: DefineComponent<ApFormItemTextAreaProps, {
|
|
@@ -17,10 +17,9 @@ type ApFormListSlots = {
|
|
|
17
17
|
}): any;
|
|
18
18
|
};
|
|
19
19
|
declare function __VLS_template(): {
|
|
20
|
-
attrs: Partial<{}>;
|
|
21
20
|
slots: Readonly<ApFormListSlots> & ApFormListSlots;
|
|
22
21
|
refs: {};
|
|
23
|
-
|
|
22
|
+
attrs: Partial<{}>;
|
|
24
23
|
};
|
|
25
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
25
|
declare const __VLS_component: DefineComponent<ApFormListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -20,7 +20,6 @@ type ApModalFormSlots = {
|
|
|
20
20
|
submitter(defaultDoms: VNode[]): any;
|
|
21
21
|
};
|
|
22
22
|
declare function __VLS_template(): {
|
|
23
|
-
attrs: Partial<{}>;
|
|
24
23
|
slots: Readonly<ApModalFormSlots> & ApModalFormSlots;
|
|
25
24
|
refs: {
|
|
26
25
|
formRef: ({
|
|
@@ -117,7 +116,7 @@ declare function __VLS_template(): {
|
|
|
117
116
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
118
117
|
readonly initialValues?: Recordable | undefined;
|
|
119
118
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
120
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
119
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
121
120
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
122
121
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
123
122
|
$attrs: {
|
|
@@ -220,7 +219,7 @@ declare function __VLS_template(): {
|
|
|
220
219
|
};
|
|
221
220
|
}) | null;
|
|
222
221
|
};
|
|
223
|
-
|
|
222
|
+
attrs: Partial<{}>;
|
|
224
223
|
};
|
|
225
224
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
226
225
|
declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
@@ -5,10 +5,9 @@ type SlotsType = {
|
|
|
5
5
|
default: (props: FormItemStatusContextProps & NonNullable<ApFormControlRenderProps>) => any;
|
|
6
6
|
};
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
8
|
slots: Readonly<SlotsType> & SlotsType;
|
|
10
9
|
refs: {};
|
|
11
|
-
|
|
10
|
+
attrs: Partial<{}>;
|
|
12
11
|
};
|
|
13
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
13
|
declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,14 +3,13 @@ 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<{}>;
|
|
7
6
|
slots: Readonly<{
|
|
8
7
|
default: (props: FormItemStatusContextProps & NonNullable<ApFormControlRenderProps>) => any;
|
|
9
8
|
} & Omit<ApFormItemSlots, "default">> & {
|
|
10
9
|
default: (props: FormItemStatusContextProps & NonNullable<ApFormControlRenderProps>) => any;
|
|
11
10
|
} & Omit<ApFormItemSlots, "default">;
|
|
12
11
|
refs: {};
|
|
13
|
-
|
|
12
|
+
attrs: Partial<{}>;
|
|
14
13
|
};
|
|
15
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
15
|
declare const __VLS_component: DefineComponent<ApFormItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApFormItemProps> & Readonly<{}>, {
|
|
@@ -10,7 +10,6 @@ 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<{}>;
|
|
14
13
|
slots: Readonly<{
|
|
15
14
|
default(): any[];
|
|
16
15
|
extra(): any;
|
|
@@ -113,7 +112,7 @@ declare function __VLS_template(): {
|
|
|
113
112
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
114
113
|
readonly initialValues?: Recordable | undefined;
|
|
115
114
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
116
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
115
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
117
116
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
118
117
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
119
118
|
$attrs: {
|
|
@@ -216,7 +215,7 @@ declare function __VLS_template(): {
|
|
|
216
215
|
};
|
|
217
216
|
}) | null;
|
|
218
217
|
};
|
|
219
|
-
|
|
218
|
+
attrs: Partial<{}>;
|
|
220
219
|
};
|
|
221
220
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
222
221
|
declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { ApFormSetProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
4
|
slots: Readonly<{
|
|
6
5
|
default: any;
|
|
7
6
|
}> & {
|
|
8
7
|
default: any;
|
|
9
8
|
};
|
|
10
9
|
refs: {};
|
|
11
|
-
|
|
10
|
+
attrs: Partial<{}>;
|
|
12
11
|
};
|
|
13
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
13
|
declare const __VLS_component: DefineComponent<ApFormSetProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormSetProps> & Readonly<{}>, {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ApInfoLayoutPropsMixed } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
4
|
slots: Readonly<{
|
|
6
5
|
[key: string]: any;
|
|
7
6
|
/**
|
|
@@ -60,10 +59,10 @@ declare function __VLS_template(): {
|
|
|
60
59
|
content(): any;
|
|
61
60
|
};
|
|
62
61
|
refs: {};
|
|
63
|
-
|
|
62
|
+
attrs: Partial<{}>;
|
|
64
63
|
};
|
|
65
64
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
66
|
-
declare const __VLS_component: DefineComponent<ApInfoLayoutPropsMixed, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApInfoLayoutPropsMixed> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
65
|
+
declare const __VLS_component: DefineComponent<ApInfoLayoutPropsMixed, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApInfoLayoutPropsMixed> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
67
66
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
68
67
|
export default _default;
|
|
69
68
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,7 +1,6 @@
|
|
|
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<{}>;
|
|
5
4
|
slots: {
|
|
6
5
|
header?(_: {}): any;
|
|
7
6
|
default?(_: {}): any;
|
|
@@ -10,13 +9,13 @@ declare function __VLS_template(): {
|
|
|
10
9
|
containerRef: HTMLDivElement;
|
|
11
10
|
headerRef: HTMLDivElement;
|
|
12
11
|
};
|
|
13
|
-
|
|
12
|
+
attrs: Partial<{}>;
|
|
14
13
|
};
|
|
15
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
15
|
declare const __VLS_component: DefineComponent<ApInfoLayoutAdminProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApInfoLayoutAdminProps> & Readonly<{}>, {
|
|
17
16
|
bordered: boolean;
|
|
18
17
|
headerStyle: CSSProperties;
|
|
19
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
20
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
20
|
export default _default;
|
|
22
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ApInfoLayoutAplusProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
4
|
slots: {
|
|
6
5
|
header?(_: {}): any;
|
|
7
6
|
title?(_: {}): any;
|
|
@@ -10,7 +9,7 @@ declare function __VLS_template(): {
|
|
|
10
9
|
content?(_: {}): any;
|
|
11
10
|
};
|
|
12
11
|
refs: {};
|
|
13
|
-
|
|
12
|
+
attrs: Partial<{}>;
|
|
14
13
|
};
|
|
15
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
15
|
declare const __VLS_component: DefineComponent<ApInfoLayoutAplusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -20,7 +19,7 @@ declare const __VLS_component: DefineComponent<ApInfoLayoutAplusProps, {}, {}, {
|
|
|
20
19
|
}>, {
|
|
21
20
|
toEl: string | HTMLElement;
|
|
22
21
|
telDisabled: boolean;
|
|
23
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
24
|
export default _default;
|
|
26
25
|
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 } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } 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> &
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
8
8
|
submit: () => void;
|
|
9
9
|
reset: () => void;
|
|
@@ -41,7 +41,9 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
|
|
|
41
41
|
}): any;
|
|
42
42
|
};
|
|
43
43
|
emit: {};
|
|
44
|
-
}>) => VNode
|
|
44
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}> & {
|
|
45
47
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
48
|
};
|
|
47
49
|
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, {}, any>;
|
|
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, {}, any, ComponentProvideOptions, {
|
|
8
8
|
P: {};
|
|
9
9
|
B: {};
|
|
10
10
|
D: {};
|
|
@@ -1,15 +1,15 @@
|
|
|
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 } from 'vue';
|
|
4
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode, RendererNode, RendererElement } 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> &
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
8
8
|
submit: () => void;
|
|
9
9
|
reset: () => void;
|
|
10
10
|
refresh: () => void;
|
|
11
11
|
setSearchFormValues: (fields: any) => void;
|
|
12
|
-
getSearchFormValues: () => Partial<any> | undefined;
|
|
12
|
+
getSearchFormValues: (transform?: boolean) => Partial<any> | undefined;
|
|
13
13
|
getShownColumns: () => ColumnsType<RecordType>;
|
|
14
14
|
dataSource: ComputedRef<RecordType[]>;
|
|
15
15
|
rowSelection: {
|
|
@@ -76,7 +76,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
76
76
|
}) => void;
|
|
77
77
|
};
|
|
78
78
|
emit: {};
|
|
79
|
-
}>) => VNode
|
|
79
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}> & {
|
|
80
82
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
81
83
|
};
|
|
82
84
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),L=require("@aplus-frontend/antdv"),le=require("@aplus-frontend/antdv/es/theme/internal"),se=require("../ap-form/index.js"),O=require("./constants.js");require("../config-provider/index.js");const ue=require("./hooks/use-table-paging.js"),i=require("lodash-unified"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),L=require("@aplus-frontend/antdv"),le=require("@aplus-frontend/antdv/es/theme/internal"),se=require("../ap-form/index.js"),O=require("./constants.js");require("../config-provider/index.js");const ue=require("./hooks/use-table-paging.js"),i=require("lodash-unified"),u=require("./utils.js"),de=require("./hooks/use-table-content-height.js"),ie=require("./hooks/use-table-row-selection.js"),ce=require("../utils/index.js");require("./components/setting/modal/index.vue.js");require("./components/paragraph-ellipsis/index.vue.js");const fe=require("./context.js"),pe=require("../config-provider/hooks/use-namespace.js"),me=require("../config-provider/hooks/use-global-config.js"),ge=require("./components/paragraph-ellipsis/index.vue2.js"),ye=require("./components/setting/modal/index.vue2.js"),Se=e.defineComponent({name:"ApTable",__name:"ap-table",props:{dropdownPrefixCls:{},loading:{type:[Boolean,Object],default:void 0},bordered:{type:Boolean,default:!1},locale:{},onChange:{},onResizeColumn:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!1},prefixCls:{},rowKey:{default:"key"},tableLayout:{},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},rowSelection:{type:[Boolean,Object]},card:{type:Boolean,default:!1},params:{},searchFormRender:{},request:{},onLoad:{},defaultData:{},dataSource:{},onLoadingChange:{},searchForm:{type:[Boolean,Object],default:void 0},beforeSearchSubmit:{},pagination:{type:[Boolean,Object],default:void 0},searchFormWrapperStyle:{},tableWrapperStyle:{},manual:{type:Boolean,default:!1},size:{default:"middle"},adaptive:{type:Boolean,default:!1},columnResizable:{type:Boolean,default:!1},settings:{type:[Boolean,Object],default:void 0}},setup(_,{expose:K}){const t=_;let R=0;const m=e.useSlots(),[,A]=le.useToken(),{e:w,b:c,be:B}=pe.useNamespace("ap-table"),x=me.useGlobalConfig("valueTypeMap"),{height:D,contentRef:U}=de.default(),b=e.ref(t.size),d=e.ref([]),T=e.ref([]);fe.useProvideApTable({columns:e.computed(()=>d.value),columnsBackup:e.computed(()=>T.value),size:e.computed(()=>b.value),updateColumns(r){d.value=r},updateSize(r){b.value=r}});const F=e.computed(()=>{var r,a,n;return R++,((n=(a=(r=t.columns)==null?void 0:r.filter(o=>!o.hideInSearch&&o.dataIndex&&(o.valueType||o.customRenderFormItem)&&!O.noRenderAsFormItemValueList.includes(o.valueType)))==null?void 0:a.sort((o,s)=>{let l=u.getColumnOrder(o.order);return u.getColumnOrder(s.order)-l}))==null?void 0:n.map(o=>{const s=u.updateFormProps(o,u.getFieldProps(o.fieldProps,{})),l={...o,fieldProps:{label:o.title,name:o.dataIndex,...s||{},_signal:R},renderNode:void 0};return l.renderNode=u.getSearchFormItemRenderNode(l,e.unref(x)),l}))||[]}),j=e.computed(()=>u.recursionApColumns(e.unref(d),r=>{if(r.sorter===!0)return r.key||r.dataIndex}).filter(Boolean)),$=e.computed(()=>u.recursionApColumns(e.unref(d),r=>{if(r.filters&&!r.onFilter)return r.key||r.dataIndex}).filter(Boolean)),W=e.computed(()=>i.isUndefined(t.dataSource)?h.value.records:t.dataSource),{rowSelection:g,selectedRows:y,...S}=ie.default({fixed:!0,...t.rowSelection===!0?{}:t.rowSelection,rowKey:t.rowKey,dataSource:W}),{formRef:C,submit:k,reset:z,tableProps:P,refresh:H,data:h,setDataSource:M,getColumnSFConfig:G}=ue.useTablePaging({async request(r){var n,o;if(!g.value.preserveSelectedRowKeys&&i.isUndefined(t.dataSource)&&S.clearAll(),!i.isUndefined(t.dataSource))return{data:t.dataSource||[],total:t.dataSource.length||0};const a=await((n=t.request)==null?void 0:n.call(t,r));return(o=t.onLoad)==null||o.call(t,(a==null?void 0:a.data)||[]),{data:(a==null?void 0:a.data)||[],total:(a==null?void 0:a.total)||0}},filterFields:$,sortFields:j,defaultParams:t.params,defaultData:t.defaultData,manual:t.manual,defaultCurrent:t.pagination?t.pagination.defaultCurrent:void 0,defaultPageSize:t.pagination?t.pagination.defaultPageSize:void 0,formatParams:t.beforeSearchSubmit,showLessItems:t.pagination?t.pagination.showLessItems:void 0,showTotal:t.pagination?t.pagination.showTotal:void 0}),J=()=>{var n;let r=((n=t.columns)==null?void 0:n.filter(o=>!o.hideInTable))||[];function a(o,s){return o.map(l=>({resizable:ce.isDef(l.resizable)?l.resizable:t.columnResizable,...i.omit(u.apColumnToColumn(l),["ellipsis"]),...G(l),fixed:s?s.fixed:l.fixed,title:u.getTableTitle(l,B("table-header","title"),m.headerCell,e.unref(A).colorPrimary),customRender({value:f,...p}){var V,E;const q=u.getTableRenderType(l),ne=u.getTableRenderProps({...l,valueType:q},{value:f,...p}),ae=u.getTableCellRenderNode(q,ne,p.record,e.unref(x)),I=((V=l.renderText)==null?void 0:V.call(l,{value:f,...p}))||f,oe=l.renderText?e.createVNode(e.Fragment,null,[(E=l.renderText)==null?void 0:E.call(l,{value:f,...p})]):ae;let v=Z(l,I,oe);return l.customRender&&(v=l.customRender({value:f,...p,column:l,originalNode:v,originalText:I})),v},children:a(l.children||[],s||l)}))}return a(r)};e.watchEffect(()=>{const r=J();d.value=r,T.value=r});const Q=e.computed(()=>{var a,n;if(t.adaptive&&(h.value.total>0||((a=t.dataSource)==null?void 0:a.length)))return{y:e.unref(D),x:((n=t.scroll)==null?void 0:n.x)||"100%"};if(t.scroll)return t.scroll}),X=e.computed(()=>{var r;if(t.tableLayout)return t.tableLayout;if((r=t.columns)!=null&&r.some(a=>a.ellipsis))return"fixed"}),N=e.computed(()=>{var n;const r=e.unref(P),a=e.unref(g);return{...t,...r,rowSelection:t.rowSelection===!0||((n=t.rowSelection)==null?void 0:n.mode)==="internal"?{...a,preserveSelectedRowKeys:i.isUndefined(t.dataSource)?a.preserveSelectedRowKeys:!0}:t.rowSelection,loading:i.isUndefined(t.loading)?r.loading:t.loading,pagination:t.pagination===!1?!1:r.pagination,scroll:e.unref(Q)}}),Y=e.computed(()=>[c(),t.card?null:c("wrapper"),t.adaptive?c("adaptive"):null].filter(Boolean));function Z(r,a,n){return O.noRenderAsFormItemValueList.includes(r.valueType)?n:r.copyable||r.ellipsis?e.createVNode(ge.default,{copyable:r.copyable,ellipsis:r.ellipsis?i.isBoolean(r.ellipsis)?{tooltip:n,rows:1}:{...r.ellipsis,tooltip:n}:!1,content:n},null):n}e.watch(()=>e.unref(h).loading,r=>{var a;(a=t.onLoadingChange)==null||a.call(t,r)}),e.watch(()=>t.dataSource,r=>{M(r)},{immediate:!0});function ee(r){var a,n,o;(o=(n=(a=C.value)==null?void 0:a.apForm)==null?void 0:n.setFieldsValue)==null||o.call(n,r)}function re(r=!1){var n,o,s;const a=r?"getFieldsValueTransformed":"getFieldsValue";return(s=(o=(n=C.value)==null?void 0:n.apForm)==null?void 0:o[a])==null?void 0:s.call(o,!0)}function te(){return e.unref(d)}return K({submit:()=>k(),reset:()=>z(),refresh:()=>H(),setSearchFormValues:ee,getSearchFormValues:re,getShownColumns:te,dataSource:e.computed(()=>e.unref(h).records),rowSelection:{selectedRows:e.computed(()=>e.unref(y)),...S}}),(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(Y.value)},[e.unref(i.isUndefined)(r.dataSource)&&r.searchForm!==!1&&F.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(r.card?e.unref(w)("search-wrapper"):null),style:e.normalizeStyle(r.searchFormWrapperStyle)},[e.createVNode(e.unref(se.ApForm).SearchForm,e.mergeProps(r.searchForm||{},{ref_key:"formRef",ref:C,"custom-reset":"","submit-loading":e.unref(P).loading,onSubmit:e.unref(k),onReset:e.unref(z)}),e.createSlots({default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.value,n=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.renderNode),e.mergeProps({key:n.dataIndex,ref_for:!0},n.fieldProps||{},{span:n.span}),null,16,["span"]))),128))]),_:2},[m.searchFormExtra?{name:"extra",fn:e.withCtx(()=>[e.renderSlot(r.$slots,"searchFormExtra")]),key:"0"}:void 0]),1040,["submit-loading","onSubmit","onReset"])],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"contentRef",ref:U,class:e.normalizeClass([e.unref(w)("table-wrapper"),r.card?e.unref(w)("table-wrapper-card"):null]),style:e.normalizeStyle(r.tableWrapperStyle)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("header-wrapper"))},[r.settings?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(c)("header"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(B)("header","title"))},[e.renderSlot(r.$slots,"title",e.mergeProps({selectedRows:e.unref(y),selectedRowKeys:e.unref(g).selectedRowKeys,shownColumns:d.value},S))],2),m.title?(e.openBlock(),e.createBlock(e.unref(L.Divider),{key:0,type:"vertical"})):e.createCommentVNode("",!0),e.createVNode(ye.default,{config:r.settings===!0?{}:r.settings},null,8,["config"])],2)):e.renderSlot(r.$slots,"title",e.mergeProps({key:1,selectedRows:e.unref(y),selectedRowKeys:e.unref(g).selectedRowKeys,shownColumns:d.value},S))],2),e.createVNode(e.unref(L.Table),e.mergeProps({class:e.unref(c)("table")},N.value,{size:b.value,"table-layout":X.value,columns:d.value,onResizeColumn:a[0]||(a[0]=(n,o)=>o.width=n)}),e.createSlots({summary:e.withCtx(()=>[e.renderSlot(r.$slots,"summary",{columns:d.value,records:N.value.dataSource,selectedRows:e.unref(y)})]),_:2},[e.renderList(e.unref(i.omit)(m,["title","searchFormExtra","headerCell","summary"]),(n,o)=>({name:o,fn:e.withCtx(s=>[e.renderSlot(r.$slots,o,e.normalizeProps(e.guardReactiveProps(s||{})))])}))]),1040,["class","size","table-layout","columns"])],6)],2))}});exports.default=Se;
|
|
@@ -2,5 +2,5 @@ import { ApTableIndexProps } from '../interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<ApTableIndexProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableIndexProps> & Readonly<{}>, {
|
|
4
4
|
bordered: boolean;
|
|
5
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
5
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -7,5 +7,5 @@ interface Props {
|
|
|
7
7
|
tooltip?: VNodeChild;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
10
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -5,10 +5,9 @@ type TableSettingModalSlots = {
|
|
|
5
5
|
trigger?: any;
|
|
6
6
|
};
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
8
|
slots: Readonly<TableSettingModalSlots> & TableSettingModalSlots;
|
|
10
9
|
refs: {};
|
|
11
|
-
|
|
10
|
+
attrs: Partial<{}>;
|
|
12
11
|
};
|
|
13
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
13
|
declare const __VLS_component: DefineComponent<ApTableSettingModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingModalProps> & Readonly<{}>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ApTableSettingSelectGroupProps } from '../../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<ApTableSettingSelectGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
3
|
+
declare const _default: DefineComponent<ApTableSettingSelectGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SortableItemProps } from '../../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<SortableItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SortableItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
3
|
+
declare const _default: DefineComponent<SortableItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SortableItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4
4
|
export default _default;
|
|
@@ -7,5 +7,5 @@ declare const _default: DefineComponent<SortableItemMetaProps, {}, {}, {}, {}, C
|
|
|
7
7
|
}, string, PublicProps, Readonly<SortableItemMetaProps> & Readonly<{
|
|
8
8
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
9
9
|
"onUpdate:value"?: ((open: ApColumnState) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
10
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -5,5 +5,5 @@ declare const _default: DefineComponent<ApTableSettingSorterProps, {}, {}, {}, {
|
|
|
5
5
|
"update:value": (value: ApColumnState[]) => any;
|
|
6
6
|
}, string, PublicProps, Readonly<ApTableSettingSorterProps> & Readonly<{
|
|
7
7
|
"onUpdate:value"?: ((value: ApColumnState[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
8
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ApTableSettingTreeSelectProps } from '../../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<ApTableSettingTreeSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingTreeSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
3
|
+
declare const _default: DefineComponent<ApTableSettingTreeSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingTreeSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4
4
|
export default _default;
|
|
@@ -1290,7 +1290,7 @@ export declare const apTableRenderItemMap: {
|
|
|
1290
1290
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1291
1291
|
index: DefineComponent<ApTableIndexProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApTableIndexProps> & Readonly<{}>, {
|
|
1292
1292
|
bordered: boolean;
|
|
1293
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
1293
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1294
1294
|
status: DefineComponent<ApTableStatusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApTableStatusProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1295
1295
|
password: {
|
|
1296
1296
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFieldTextPasswordProps> & Readonly<{
|
|
@@ -4,18 +4,18 @@ export declare const useTableColumnState: (columnSetting: ApTableSettingType, in
|
|
|
4
4
|
columnState: Ref<{
|
|
5
5
|
key: string | number;
|
|
6
6
|
show?: boolean | undefined;
|
|
7
|
-
fixed?: "left" | "right" | undefined;
|
|
7
|
+
fixed?: ("left" | "right") | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
label?: any;
|
|
10
|
-
children?:
|
|
10
|
+
children?: any[] | undefined;
|
|
11
11
|
order?: number | undefined;
|
|
12
12
|
}[], ApColumnState[] | {
|
|
13
13
|
key: string | number;
|
|
14
14
|
show?: boolean | undefined;
|
|
15
|
-
fixed?: "left" | "right" | undefined;
|
|
15
|
+
fixed?: ("left" | "right") | undefined;
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
label?: any;
|
|
18
|
-
children?:
|
|
18
|
+
children?: any[] | undefined;
|
|
19
19
|
order?: number | undefined;
|
|
20
20
|
}[]>;
|
|
21
21
|
selectAll: () => void;
|
|
@@ -348,9 +348,10 @@ export type ApTableExpose<SearchParamsType = Recordable, RecordType = any> = {
|
|
|
348
348
|
setSearchFormValues: (fields: Partial<SearchParamsType>) => void;
|
|
349
349
|
/**
|
|
350
350
|
* 获取查询表单值
|
|
351
|
+
* @param `transform`是否转换表单值 默认为`false`
|
|
351
352
|
* @returns
|
|
352
353
|
*/
|
|
353
|
-
getSearchFormValues: () => Partial<SearchParamsType>;
|
|
354
|
+
getSearchFormValues: (transform?: boolean) => Partial<SearchParamsType>;
|
|
354
355
|
/**
|
|
355
356
|
* 表格数据源
|
|
356
357
|
*/
|