@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
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Te, useSlots as Fe, ref as P, computed as s, unref as
|
|
1
|
+
import { defineComponent as Te, useSlots as Fe, ref as P, computed as s, unref as l, createVNode as y, Fragment as U, watchEffect as xe, watch as G, openBlock as p, createElementBlock as T, normalizeClass as f, normalizeStyle as M, mergeProps as w, createSlots as _, withCtx as F, renderList as J, createBlock as Q, resolveDynamicComponent as Be, renderSlot as h, createCommentVNode as X, createElementVNode as I, normalizeProps as ke, guardReactiveProps as ze } from "vue";
|
|
2
2
|
import { Divider as Pe, Table as Ie } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useToken as Ne } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
4
|
import { ApForm as Ee } from "../ap-form/index.mjs";
|
|
@@ -6,7 +6,7 @@ import { noRenderAsFormItemValueList as Y } from "./constants.mjs";
|
|
|
6
6
|
import "../config-provider/index.mjs";
|
|
7
7
|
import { useTablePaging as Ke } from "./hooks/use-table-paging.mjs";
|
|
8
8
|
import { isUndefined as m, omit as Z, isBoolean as Le } from "lodash-unified";
|
|
9
|
-
import { getColumnOrder as ee, updateFormProps as Oe, getFieldProps as
|
|
9
|
+
import { getColumnOrder as ee, updateFormProps as Oe, getFieldProps as Ve, getSearchFormItemRenderNode as Ae, recursionApColumns as ae, apColumnToColumn as De, getTableTitle as je, getTableRenderType as $e, getTableRenderProps as We, getTableCellRenderNode as He } from "./utils.mjs";
|
|
10
10
|
import qe from "./hooks/use-table-content-height.mjs";
|
|
11
11
|
import Ue from "./hooks/use-table-row-selection.mjs";
|
|
12
12
|
import { isDef as Ge } from "../utils/index.mjs";
|
|
@@ -153,40 +153,40 @@ const wa = /* @__PURE__ */ Te({
|
|
|
153
153
|
} = _e("ap-table"), K = Je("valueTypeMap"), {
|
|
154
154
|
height: le,
|
|
155
155
|
contentRef: ne
|
|
156
|
-
} = qe(), B = P(a.size),
|
|
156
|
+
} = qe(), B = P(a.size), u = P([]), L = P([]);
|
|
157
157
|
Me({
|
|
158
|
-
columns: s(() =>
|
|
158
|
+
columns: s(() => u.value),
|
|
159
159
|
columnsBackup: s(() => L.value),
|
|
160
160
|
size: s(() => B.value),
|
|
161
161
|
updateColumns(e) {
|
|
162
|
-
|
|
162
|
+
u.value = e;
|
|
163
163
|
},
|
|
164
164
|
updateSize(e) {
|
|
165
165
|
B.value = e;
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
168
|
const O = s(() => {
|
|
169
|
-
var e,
|
|
170
|
-
return N++, ((
|
|
171
|
-
let n = ee(
|
|
172
|
-
return ee(
|
|
173
|
-
})) == null ? void 0 :
|
|
174
|
-
const
|
|
175
|
-
...
|
|
169
|
+
var e, t, o;
|
|
170
|
+
return N++, ((o = (t = (e = a.columns) == null ? void 0 : e.filter((r) => !r.hideInSearch && r.dataIndex && (r.valueType || r.customRenderFormItem) && !Y.includes(r.valueType))) == null ? void 0 : t.sort((r, d) => {
|
|
171
|
+
let n = ee(r.order);
|
|
172
|
+
return ee(d.order) - n;
|
|
173
|
+
})) == null ? void 0 : o.map((r) => {
|
|
174
|
+
const d = Oe(r, Ve(r.fieldProps, {})), n = {
|
|
175
|
+
...r,
|
|
176
176
|
fieldProps: {
|
|
177
|
-
label:
|
|
178
|
-
name:
|
|
179
|
-
...
|
|
177
|
+
label: r.title,
|
|
178
|
+
name: r.dataIndex,
|
|
179
|
+
...d || {},
|
|
180
180
|
_signal: N
|
|
181
181
|
},
|
|
182
182
|
renderNode: void 0
|
|
183
183
|
};
|
|
184
|
-
return n.renderNode =
|
|
184
|
+
return n.renderNode = Ae(n, l(K)), n;
|
|
185
185
|
})) || [];
|
|
186
|
-
}), se = s(() => ae(
|
|
186
|
+
}), se = s(() => ae(l(u), (e) => {
|
|
187
187
|
if (e.sorter === !0)
|
|
188
188
|
return e.key || e.dataIndex;
|
|
189
|
-
}).filter(Boolean)), de = s(() => ae(
|
|
189
|
+
}).filter(Boolean)), de = s(() => ae(l(u), (e) => {
|
|
190
190
|
if (e.filters && !e.onFilter)
|
|
191
191
|
return e.key || e.dataIndex;
|
|
192
192
|
}).filter(Boolean)), ue = s(() => m(a.dataSource) ? v.value.records : a.dataSource), {
|
|
@@ -200,25 +200,25 @@ const wa = /* @__PURE__ */ Te({
|
|
|
200
200
|
dataSource: ue
|
|
201
201
|
}), {
|
|
202
202
|
formRef: k,
|
|
203
|
-
submit:
|
|
204
|
-
reset:
|
|
205
|
-
tableProps:
|
|
203
|
+
submit: V,
|
|
204
|
+
reset: A,
|
|
205
|
+
tableProps: D,
|
|
206
206
|
refresh: ie,
|
|
207
207
|
data: v,
|
|
208
208
|
setDataSource: ce,
|
|
209
209
|
getColumnSFConfig: pe
|
|
210
210
|
} = Ke({
|
|
211
211
|
async request(e) {
|
|
212
|
-
var
|
|
212
|
+
var o, r;
|
|
213
213
|
if (!b.value.preserveSelectedRowKeys && m(a.dataSource) && R.clearAll(), !m(a.dataSource))
|
|
214
214
|
return {
|
|
215
215
|
data: a.dataSource || [],
|
|
216
216
|
total: a.dataSource.length || 0
|
|
217
217
|
};
|
|
218
|
-
const
|
|
219
|
-
return (
|
|
220
|
-
data: (
|
|
221
|
-
total: (
|
|
218
|
+
const t = await ((o = a.request) == null ? void 0 : o.call(a, e));
|
|
219
|
+
return (r = a.onLoad) == null || r.call(a, (t == null ? void 0 : t.data) || []), {
|
|
220
|
+
data: (t == null ? void 0 : t.data) || [],
|
|
221
|
+
total: (t == null ? void 0 : t.total) || 0
|
|
222
222
|
};
|
|
223
223
|
},
|
|
224
224
|
filterFields: de,
|
|
@@ -232,15 +232,15 @@ const wa = /* @__PURE__ */ Te({
|
|
|
232
232
|
showLessItems: a.pagination ? a.pagination.showLessItems : void 0,
|
|
233
233
|
showTotal: a.pagination ? a.pagination.showTotal : void 0
|
|
234
234
|
}), fe = () => {
|
|
235
|
-
var
|
|
236
|
-
let e = ((
|
|
237
|
-
function
|
|
238
|
-
return
|
|
235
|
+
var o;
|
|
236
|
+
let e = ((o = a.columns) == null ? void 0 : o.filter((r) => !r.hideInTable)) || [];
|
|
237
|
+
function t(r, d) {
|
|
238
|
+
return r.map((n) => ({
|
|
239
239
|
resizable: Ge(n.resizable) ? n.resizable : a.columnResizable,
|
|
240
|
-
...Z(
|
|
240
|
+
...Z(De(n), ["ellipsis"]),
|
|
241
241
|
...pe(n),
|
|
242
|
-
fixed:
|
|
243
|
-
title: je(n, E("table-header", "title"), S.headerCell,
|
|
242
|
+
fixed: d ? d.fixed : n.fixed,
|
|
243
|
+
title: je(n, E("table-header", "title"), S.headerCell, l(re).colorPrimary),
|
|
244
244
|
customRender({
|
|
245
245
|
value: c,
|
|
246
246
|
...g
|
|
@@ -252,7 +252,7 @@ const wa = /* @__PURE__ */ Te({
|
|
|
252
252
|
}, {
|
|
253
253
|
value: c,
|
|
254
254
|
...g
|
|
255
|
-
}), Re = He($, Ce, g.record,
|
|
255
|
+
}), Re = He($, Ce, g.record, l(K)), W = ((H = n.renderText) == null ? void 0 : H.call(n, {
|
|
256
256
|
value: c,
|
|
257
257
|
...g
|
|
258
258
|
})) || c, ve = n.renderText ? y(U, null, [(q = n.renderText) == null ? void 0 : q.call(n, {
|
|
@@ -268,21 +268,21 @@ const wa = /* @__PURE__ */ Te({
|
|
|
268
268
|
originalText: W
|
|
269
269
|
})), z;
|
|
270
270
|
},
|
|
271
|
-
children:
|
|
271
|
+
children: t(n.children || [], d || n)
|
|
272
272
|
}));
|
|
273
273
|
}
|
|
274
|
-
return
|
|
274
|
+
return t(e);
|
|
275
275
|
};
|
|
276
276
|
xe(() => {
|
|
277
277
|
const e = fe();
|
|
278
|
-
|
|
278
|
+
u.value = e, L.value = e;
|
|
279
279
|
});
|
|
280
280
|
const me = s(() => {
|
|
281
|
-
var
|
|
282
|
-
if (a.adaptive && (v.value.total > 0 || ((
|
|
281
|
+
var t, o;
|
|
282
|
+
if (a.adaptive && (v.value.total > 0 || ((t = a.dataSource) == null ? void 0 : t.length)))
|
|
283
283
|
return {
|
|
284
|
-
y:
|
|
285
|
-
x: ((
|
|
284
|
+
y: l(le),
|
|
285
|
+
x: ((o = a.scroll) == null ? void 0 : o.x) || "100%"
|
|
286
286
|
};
|
|
287
287
|
if (a.scroll)
|
|
288
288
|
return a.scroll;
|
|
@@ -290,87 +290,88 @@ const wa = /* @__PURE__ */ Te({
|
|
|
290
290
|
var e;
|
|
291
291
|
if (a.tableLayout)
|
|
292
292
|
return a.tableLayout;
|
|
293
|
-
if ((e = a.columns) != null && e.some((
|
|
293
|
+
if ((e = a.columns) != null && e.some((t) => t.ellipsis))
|
|
294
294
|
return "fixed";
|
|
295
295
|
}), j = s(() => {
|
|
296
|
-
var
|
|
297
|
-
const e =
|
|
296
|
+
var o;
|
|
297
|
+
const e = l(D), t = l(b);
|
|
298
298
|
return {
|
|
299
299
|
...a,
|
|
300
300
|
...e,
|
|
301
|
-
rowSelection: a.rowSelection === !0 || ((
|
|
302
|
-
...
|
|
301
|
+
rowSelection: a.rowSelection === !0 || ((o = a.rowSelection) == null ? void 0 : o.mode) === "internal" ? {
|
|
302
|
+
...t,
|
|
303
303
|
// tips 如果是前端分页,则默认会走缓存
|
|
304
|
-
preserveSelectedRowKeys: m(a.dataSource) ?
|
|
304
|
+
preserveSelectedRowKeys: m(a.dataSource) ? t.preserveSelectedRowKeys : !0
|
|
305
305
|
} : a.rowSelection,
|
|
306
306
|
loading: m(a.loading) ? e.loading : a.loading,
|
|
307
307
|
pagination: a.pagination === !1 ? !1 : e.pagination,
|
|
308
|
-
scroll:
|
|
308
|
+
scroll: l(me)
|
|
309
309
|
};
|
|
310
310
|
}), ye = s(() => [i(), a.card ? null : i("wrapper"), a.adaptive ? i("adaptive") : null].filter(Boolean));
|
|
311
|
-
function we(e,
|
|
312
|
-
return Y.includes(e.valueType) ?
|
|
311
|
+
function we(e, t, o) {
|
|
312
|
+
return Y.includes(e.valueType) ? o : e.copyable || e.ellipsis ? y(Qe, {
|
|
313
313
|
copyable: e.copyable,
|
|
314
314
|
ellipsis: e.ellipsis ? Le(e.ellipsis) ? {
|
|
315
|
-
tooltip:
|
|
315
|
+
tooltip: o,
|
|
316
316
|
rows: 1
|
|
317
317
|
} : {
|
|
318
318
|
...e.ellipsis,
|
|
319
|
-
tooltip:
|
|
319
|
+
tooltip: o
|
|
320
320
|
} : !1,
|
|
321
|
-
content:
|
|
322
|
-
}, null) :
|
|
321
|
+
content: o
|
|
322
|
+
}, null) : o;
|
|
323
323
|
}
|
|
324
|
-
G(() =>
|
|
325
|
-
var
|
|
326
|
-
(
|
|
324
|
+
G(() => l(v).loading, (e) => {
|
|
325
|
+
var t;
|
|
326
|
+
(t = a.onLoadingChange) == null || t.call(a, e);
|
|
327
327
|
}), G(() => a.dataSource, (e) => {
|
|
328
328
|
ce(e);
|
|
329
329
|
}, {
|
|
330
330
|
immediate: !0
|
|
331
331
|
});
|
|
332
332
|
function he(e) {
|
|
333
|
-
var
|
|
334
|
-
(
|
|
333
|
+
var t, o, r;
|
|
334
|
+
(r = (o = (t = k.value) == null ? void 0 : t.apForm) == null ? void 0 : o.setFieldsValue) == null || r.call(o, e);
|
|
335
335
|
}
|
|
336
|
-
function Se() {
|
|
337
|
-
var
|
|
338
|
-
|
|
336
|
+
function Se(e = !1) {
|
|
337
|
+
var o, r, d;
|
|
338
|
+
const t = e ? "getFieldsValueTransformed" : "getFieldsValue";
|
|
339
|
+
return (d = (r = (o = k.value) == null ? void 0 : o.apForm) == null ? void 0 : r[t]) == null ? void 0 : d.call(r, !0);
|
|
339
340
|
}
|
|
340
341
|
function be() {
|
|
341
|
-
return
|
|
342
|
+
return l(u);
|
|
342
343
|
}
|
|
343
344
|
return te({
|
|
344
|
-
submit: () =>
|
|
345
|
-
reset: () =>
|
|
345
|
+
submit: () => V(),
|
|
346
|
+
reset: () => A(),
|
|
346
347
|
refresh: () => ie(),
|
|
347
348
|
setSearchFormValues: he,
|
|
348
349
|
getSearchFormValues: Se,
|
|
349
350
|
getShownColumns: be,
|
|
350
|
-
dataSource: s(() =>
|
|
351
|
+
dataSource: s(() => l(v).records),
|
|
351
352
|
rowSelection: {
|
|
352
|
-
selectedRows: s(() =>
|
|
353
|
+
selectedRows: s(() => l(C)),
|
|
353
354
|
...R
|
|
354
355
|
}
|
|
355
|
-
}), (e,
|
|
356
|
+
}), (e, t) => (p(), T("div", {
|
|
356
357
|
class: f(ye.value)
|
|
357
|
-
}, [
|
|
358
|
+
}, [l(m)(e.dataSource) && e.searchForm !== !1 && O.value.length > 0 ? (p(), T("div", {
|
|
358
359
|
key: 0,
|
|
359
|
-
class: f(e.card ?
|
|
360
|
+
class: f(e.card ? l(x)("search-wrapper") : null),
|
|
360
361
|
style: M(e.searchFormWrapperStyle)
|
|
361
|
-
}, [y(
|
|
362
|
+
}, [y(l(Ee).SearchForm, w(e.searchForm || {}, {
|
|
362
363
|
ref_key: "formRef",
|
|
363
364
|
ref: k,
|
|
364
365
|
"custom-reset": "",
|
|
365
|
-
"submit-loading":
|
|
366
|
-
onSubmit:
|
|
367
|
-
onReset:
|
|
366
|
+
"submit-loading": l(D).loading,
|
|
367
|
+
onSubmit: l(V),
|
|
368
|
+
onReset: l(A)
|
|
368
369
|
}), _({
|
|
369
|
-
default: F(() => [(p(!0), T(U, null, J(O.value, (
|
|
370
|
-
key:
|
|
370
|
+
default: F(() => [(p(!0), T(U, null, J(O.value, (o) => (p(), Q(Be(o.renderNode), w({
|
|
371
|
+
key: o.dataIndex,
|
|
371
372
|
ref_for: !0
|
|
372
|
-
},
|
|
373
|
-
span:
|
|
373
|
+
}, o.fieldProps || {}, {
|
|
374
|
+
span: o.span
|
|
374
375
|
}), null, 16, ["span"]))), 128))]),
|
|
375
376
|
_: 2
|
|
376
377
|
}, [S.searchFormExtra ? {
|
|
@@ -380,46 +381,46 @@ const wa = /* @__PURE__ */ Te({
|
|
|
380
381
|
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : X("", !0), I("div", {
|
|
381
382
|
ref_key: "contentRef",
|
|
382
383
|
ref: ne,
|
|
383
|
-
class: f([
|
|
384
|
+
class: f([l(x)("table-wrapper"), e.card ? l(x)("table-wrapper-card") : null]),
|
|
384
385
|
style: M(e.tableWrapperStyle)
|
|
385
386
|
}, [I("div", {
|
|
386
|
-
class: f(
|
|
387
|
+
class: f(l(i)("header-wrapper"))
|
|
387
388
|
}, [e.settings ? (p(), T("div", {
|
|
388
389
|
key: 0,
|
|
389
|
-
class: f(
|
|
390
|
+
class: f(l(i)("header"))
|
|
390
391
|
}, [I("div", {
|
|
391
|
-
class: f(
|
|
392
|
+
class: f(l(E)("header", "title"))
|
|
392
393
|
}, [h(e.$slots, "title", w({
|
|
393
|
-
selectedRows:
|
|
394
|
-
selectedRowKeys:
|
|
395
|
-
shownColumns:
|
|
396
|
-
}, R))], 2), S.title ? (p(), Q(
|
|
394
|
+
selectedRows: l(C),
|
|
395
|
+
selectedRowKeys: l(b).selectedRowKeys,
|
|
396
|
+
shownColumns: u.value
|
|
397
|
+
}, R))], 2), S.title ? (p(), Q(l(Pe), {
|
|
397
398
|
key: 0,
|
|
398
399
|
type: "vertical"
|
|
399
400
|
})) : X("", !0), y(Xe, {
|
|
400
401
|
config: e.settings === !0 ? {} : e.settings
|
|
401
402
|
}, null, 8, ["config"])], 2)) : h(e.$slots, "title", w({
|
|
402
403
|
key: 1,
|
|
403
|
-
selectedRows:
|
|
404
|
-
selectedRowKeys:
|
|
405
|
-
shownColumns:
|
|
406
|
-
}, R))], 2), y(
|
|
407
|
-
class:
|
|
404
|
+
selectedRows: l(C),
|
|
405
|
+
selectedRowKeys: l(b).selectedRowKeys,
|
|
406
|
+
shownColumns: u.value
|
|
407
|
+
}, R))], 2), y(l(Ie), w({
|
|
408
|
+
class: l(i)("table")
|
|
408
409
|
}, j.value, {
|
|
409
410
|
size: B.value,
|
|
410
411
|
"table-layout": ge.value,
|
|
411
|
-
columns:
|
|
412
|
-
onResizeColumn:
|
|
412
|
+
columns: u.value,
|
|
413
|
+
onResizeColumn: t[0] || (t[0] = (o, r) => r.width = o)
|
|
413
414
|
}), _({
|
|
414
415
|
summary: F(() => [h(e.$slots, "summary", {
|
|
415
|
-
columns:
|
|
416
|
+
columns: u.value,
|
|
416
417
|
records: j.value.dataSource,
|
|
417
|
-
selectedRows:
|
|
418
|
+
selectedRows: l(C)
|
|
418
419
|
})]),
|
|
419
420
|
_: 2
|
|
420
|
-
}, [J(
|
|
421
|
-
name:
|
|
422
|
-
fn: F((
|
|
421
|
+
}, [J(l(Z)(S, ["title", "searchFormExtra", "headerCell", "summary"]), (o, r) => ({
|
|
422
|
+
name: r,
|
|
423
|
+
fn: F((d) => [h(e.$slots, r, ke(ze(d || {})))])
|
|
423
424
|
}))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 2));
|
|
424
425
|
}
|
|
425
426
|
});
|
|
@@ -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;
|