@aplus-frontend/ui 0.6.0-beta.12 → 0.6.0-beta.14
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/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/interface.d.ts +3 -3
- package/es/src/ap-form/item/index.vue.mjs +38 -34
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +7 -7
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +9 -6
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +39 -36
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +15 -12
- package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +110 -95
- package/es/src/ap-grid/interface.d.ts +10 -0
- package/es/src/ap-grid/utils/table.mjs +15 -14
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -13
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +23 -23
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-table/utils.d.ts +23 -23
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-copy/ApCopy.mjs +43 -43
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-product-info/ApProductInfo.mjs +23 -24
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +23 -23
- package/es/src/business/ap-radio-group/index.d.ts +5 -0
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue.d.ts +4 -1
- package/es/src/business/ap-view/ap-view.vue2.mjs +96 -84
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/ap-view/index.d.ts +12 -3
- package/es/src/business/ap-view/interface.d.ts +7 -0
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/business/hooks/usePageListApGrid.mjs +17 -20
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +4 -4
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/es/test/setup.d.ts +5 -0
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/interface.d.ts +3 -3
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/index.vue.d.ts +9 -6
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +10 -0
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/constants.d.ts +23 -23
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/utils.d.ts +23 -23
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-copy/ApCopy.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
- package/lib/src/business/ap-radio-group/index.d.ts +5 -0
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-view/ap-view.vue.d.ts +4 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/lib/src/business/ap-view/index.d.ts +12 -3
- package/lib/src/business/ap-view/interface.d.ts +7 -0
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/lib/test/setup.d.ts +5 -0
- package/package.json +6 -5
- package/theme/ap-action/item.css +12 -1
- package/theme/ap-action/item.less +13 -1
- package/theme/ap-copy/ap-copy.css +2 -0
- package/theme/ap-copy/ap-copy.less +2 -0
- package/theme/ap-grid/index.css +12 -1
- package/theme/ap-radio-group/ap-radio-group.css +2 -1
- package/theme/ap-radio-group/ap-radio-group.less +3 -1
- package/theme/ap-table/ap-table.css +12 -1
- package/theme/ap-table-modal/index.css +12 -1
- package/theme/editable-table/index.css +12 -1
- package/theme/index.css +25 -3
- package/theme/ui-mode.css +9 -1
- package/theme/ui-mode.less +17 -1
|
@@ -11,7 +11,7 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
11
11
|
import { OnCleanup } from '@vue/reactivity';
|
|
12
12
|
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
13
13
|
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
14
|
-
import { RadioChangeEvent,
|
|
14
|
+
import { RadioChangeEvent, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
|
|
15
15
|
import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
|
|
16
16
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
17
17
|
import { RenderDOMFunc, DropdownRender, CustomTagProps, DisplayValueType } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
@@ -847,13 +847,13 @@ export declare const apTableFormItemMap: {
|
|
|
847
847
|
field: Omit< ApFieldRadioProps, "value" | "onUpdate:value">;
|
|
848
848
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
849
849
|
$slots: Readonly<{
|
|
850
|
-
label
|
|
851
|
-
help
|
|
852
|
-
extra
|
|
850
|
+
label?: any;
|
|
851
|
+
help?: any;
|
|
852
|
+
extra?: any;
|
|
853
853
|
}> & {
|
|
854
|
-
label
|
|
855
|
-
help
|
|
856
|
-
extra
|
|
854
|
+
label?: any;
|
|
855
|
+
help?: any;
|
|
856
|
+
extra?: any;
|
|
857
857
|
};
|
|
858
858
|
});
|
|
859
859
|
select: {
|
|
@@ -950,14 +950,14 @@ export declare const apTableFormItemMap: {
|
|
|
950
950
|
readonly onClickOption?: ((e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>) | undefined;
|
|
951
951
|
readonly labelInValue?: boolean | undefined;
|
|
952
952
|
readonly emptyText?: string | undefined;
|
|
953
|
-
readonly request?: ((value?: string, extraParams?: Recordable) => Promise<
|
|
953
|
+
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< DefaultOptionType[] | undefined>) | undefined;
|
|
954
954
|
readonly multiple?: boolean | undefined;
|
|
955
|
-
readonly value?:
|
|
955
|
+
readonly value?: SelectValue;
|
|
956
956
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
957
|
-
readonly searchMode?:
|
|
957
|
+
readonly searchMode?: "filter" | "request" | undefined;
|
|
958
958
|
readonly refetchOnFocus?: boolean | undefined;
|
|
959
959
|
readonly lazy?: boolean | undefined;
|
|
960
|
-
readonly addAll?:
|
|
960
|
+
readonly addAll?: boolean | number | undefined;
|
|
961
961
|
readonly params?: Recordable | undefined;
|
|
962
962
|
readonly searchDelay?: number | undefined;
|
|
963
963
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -2156,13 +2156,13 @@ export declare const apTableFormItemMap: {
|
|
|
2156
2156
|
field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
|
|
2157
2157
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2158
2158
|
$slots: Readonly<{
|
|
2159
|
-
label
|
|
2160
|
-
help
|
|
2161
|
-
extra
|
|
2159
|
+
label?: any;
|
|
2160
|
+
help?: any;
|
|
2161
|
+
extra?: any;
|
|
2162
2162
|
}> & {
|
|
2163
|
-
label
|
|
2164
|
-
help
|
|
2165
|
-
extra
|
|
2163
|
+
label?: any;
|
|
2164
|
+
help?: any;
|
|
2165
|
+
extra?: any;
|
|
2166
2166
|
};
|
|
2167
2167
|
});
|
|
2168
2168
|
checkbox: {
|
|
@@ -2203,13 +2203,13 @@ export declare const apTableFormItemMap: {
|
|
|
2203
2203
|
field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
|
|
2204
2204
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2205
2205
|
$slots: Readonly<{
|
|
2206
|
-
label
|
|
2207
|
-
help
|
|
2208
|
-
extra
|
|
2206
|
+
label?: any;
|
|
2207
|
+
help?: any;
|
|
2208
|
+
extra?: any;
|
|
2209
2209
|
}> & {
|
|
2210
|
-
label
|
|
2211
|
-
help
|
|
2212
|
-
extra
|
|
2210
|
+
label?: any;
|
|
2211
|
+
help?: any;
|
|
2212
|
+
extra?: any;
|
|
2213
2213
|
};
|
|
2214
2214
|
});
|
|
2215
2215
|
password: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../ap-action/index.js");require("../ap-field/index.js");require("../ap-form/index.js");require("./components/index/index.vue.js");require("./components/status/index.vue.js");const t=require("../ap-form/items/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../ap-action/index.js");require("../ap-field/index.js");require("../ap-form/index.js");require("./components/index/index.vue.js");require("./components/status/index.vue.js");const t=require("../ap-form/items/tree-select/index.vue.js"),e=require("../ap-form/items/text/index.js"),_=require("../ap-form/items/checkbox/index.vue.js"),u=require("../ap-form/items/text-area/index.vue.js"),r=require("../ap-form/items/switch/index.vue.js"),s=require("../ap-form/items/select/index.vue.js"),i=require("../ap-form/items/radio/index.vue.js"),n=require("../ap-form/items/number/index.vue.js"),p=require("../ap-form/items/date-range/index.vue.js"),a=require("../ap-form/items/date/index.vue.js"),d=require("../ap-field/tree-select/index.vue.js"),c=require("../ap-field/text/password.vue.js"),l=require("./components/status/index.vue2.js"),o=require("./components/index/index.vue2.js"),v=require("../ap-action/group/index.vue.js"),x=require("../ap-field/checkbox/index.vue.js"),q=require("../ap-field/text-area/index.vue.js"),g=require("../ap-field/text/index.js"),f=require("../ap-field/switch/index.vue.js"),y=require("../ap-field/select/index.vue.js"),$=require("../ap-field/radio/index.vue.js"),m=require("../ap-field/number/index.vue.js"),b=require("../ap-field/date-range/index.vue.js"),I=require("../ap-field/date/index.vue.js"),T={date:a.default,dateRange:p.default,number:n.default,radio:i.default,select:s.default,switch:r.default,text:e.ApFormItemText,textArea:u.default,checkbox:_.default,password:e.ApFormItemText.Password,treeSelect:t.default},A={date:I.default,dateRange:b.default,number:m.default,radio:$.default,select:y.default,switch:f.default,text:g.ApFieldText,textArea:q.default,checkbox:x.default,action:v.default,index:o.default,status:l.default,password:c.default,treeSelect:d.default},F=["action","index"];exports.apTableFormItemMap=T;exports.apTableRenderItemMap=A;exports.noRenderAsFormItemValueList=F;
|
|
@@ -4,18 +4,18 @@ export declare const useTableColumnState: (columnSetting: ApTableSettingType, pe
|
|
|
4
4
|
columnState: Ref<{
|
|
5
5
|
key: string | number;
|
|
6
6
|
show?: boolean | undefined;
|
|
7
|
-
fixed?:
|
|
7
|
+
fixed?: "left" | "right" | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
label?: any;
|
|
10
|
-
children?: any[] | undefined;
|
|
10
|
+
children?: /*elided*/ any[] | undefined;
|
|
11
11
|
order?: number | undefined;
|
|
12
12
|
}[], ApColumnState[] | {
|
|
13
13
|
key: string | number;
|
|
14
14
|
show?: boolean | undefined;
|
|
15
|
-
fixed?:
|
|
15
|
+
fixed?: "left" | "right" | undefined;
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
label?: any;
|
|
18
|
-
children?: any[] | undefined;
|
|
18
|
+
children?: /*elided*/ any[] | undefined;
|
|
19
19
|
order?: number | undefined;
|
|
20
20
|
}[]>;
|
|
21
21
|
selectAll: () => void;
|
|
@@ -19,7 +19,7 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
19
19
|
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
20
20
|
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
21
21
|
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
22
|
-
import { RadioChangeEvent,
|
|
22
|
+
import { RadioChangeEvent, TreeSelectProps } from '@aplus-frontend/antdv';
|
|
23
23
|
import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
|
|
24
24
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
25
25
|
import { RenderDOMFunc, DropdownRender, CustomTagProps, DisplayValueType } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
@@ -863,13 +863,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
863
863
|
field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
|
|
864
864
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
865
865
|
$slots: Readonly<{
|
|
866
|
-
label
|
|
867
|
-
help
|
|
868
|
-
extra
|
|
866
|
+
label?: any;
|
|
867
|
+
help?: any;
|
|
868
|
+
extra?: any;
|
|
869
869
|
}> & {
|
|
870
|
-
label
|
|
871
|
-
help
|
|
872
|
-
extra
|
|
870
|
+
label?: any;
|
|
871
|
+
help?: any;
|
|
872
|
+
extra?: any;
|
|
873
873
|
};
|
|
874
874
|
})) | ({
|
|
875
875
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemNumberProps> & Readonly<{}>, {
|
|
@@ -1681,13 +1681,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1681
1681
|
field: Omit< ApFieldRadioProps, "value" | "onUpdate:value">;
|
|
1682
1682
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1683
1683
|
$slots: Readonly<{
|
|
1684
|
-
label
|
|
1685
|
-
help
|
|
1686
|
-
extra
|
|
1684
|
+
label?: any;
|
|
1685
|
+
help?: any;
|
|
1686
|
+
extra?: any;
|
|
1687
1687
|
}> & {
|
|
1688
|
-
label
|
|
1689
|
-
help
|
|
1690
|
-
extra
|
|
1688
|
+
label?: any;
|
|
1689
|
+
help?: any;
|
|
1690
|
+
extra?: any;
|
|
1691
1691
|
};
|
|
1692
1692
|
})) | ({
|
|
1693
1693
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemSelectProps> & Readonly<{}>, {
|
|
@@ -1783,14 +1783,14 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1783
1783
|
readonly onClickOption?: ((e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>) | undefined;
|
|
1784
1784
|
readonly labelInValue?: boolean | undefined;
|
|
1785
1785
|
readonly emptyText?: string | undefined;
|
|
1786
|
-
readonly request?: ((value?: string, extraParams?: Recordable) => Promise<
|
|
1786
|
+
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< DefaultOptionType[] | undefined>) | undefined;
|
|
1787
1787
|
readonly multiple?: boolean | undefined;
|
|
1788
|
-
readonly value?:
|
|
1788
|
+
readonly value?: SelectValue;
|
|
1789
1789
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
1790
|
-
readonly searchMode?:
|
|
1790
|
+
readonly searchMode?: "filter" | "request" | undefined;
|
|
1791
1791
|
readonly refetchOnFocus?: boolean | undefined;
|
|
1792
1792
|
readonly lazy?: boolean | undefined;
|
|
1793
|
-
readonly addAll?:
|
|
1793
|
+
readonly addAll?: boolean | number | undefined;
|
|
1794
1794
|
readonly params?: Recordable | undefined;
|
|
1795
1795
|
readonly searchDelay?: number | undefined;
|
|
1796
1796
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -2467,13 +2467,13 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2467
2467
|
field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
|
|
2468
2468
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2469
2469
|
$slots: Readonly<{
|
|
2470
|
-
label
|
|
2471
|
-
help
|
|
2472
|
-
extra
|
|
2470
|
+
label?: any;
|
|
2471
|
+
help?: any;
|
|
2472
|
+
extra?: any;
|
|
2473
2473
|
}> & {
|
|
2474
|
-
label
|
|
2475
|
-
help
|
|
2476
|
-
extra
|
|
2474
|
+
label?: any;
|
|
2475
|
+
help?: any;
|
|
2476
|
+
extra?: any;
|
|
2477
2477
|
};
|
|
2478
2478
|
})) | ({
|
|
2479
2479
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFormItemTreeSelectProps> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../config-provider/index.js");require("./components/SingleFile.vue.js");require("./components/MultipleFile.vue.js");require("./components/Picture.vue.js");const E=require("./utils/accept.js"),j=require("./hooks/useOss.js"),z=require("@aplus-frontend/antdv"),h=require("../config-provider/hooks/use-locale.js"),A=require("../config-provider/hooks/use-namespace.js"),R=require("./components/
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../config-provider/index.js");require("./components/SingleFile.vue.js");require("./components/MultipleFile.vue.js");require("./components/Picture.vue.js");const E=require("./utils/accept.js"),j=require("./hooks/useOss.js"),z=require("@aplus-frontend/antdv"),h=require("../config-provider/hooks/use-locale.js"),A=require("../config-provider/hooks/use-namespace.js"),R=require("./components/Picture.vue2.js"),U=require("./components/MultipleFile.vue2.js"),k=require("./components/SingleFile.vue2.js"),g=require("../config-provider/hooks/use-global-config.js"),T=e.defineComponent({name:"AplusFileUpload",__name:"apUpload",props:{dirName:{type:String,default:void 0},type:{type:String,default:"singleFile"},value:{type:[String,Object,Array],default:void 0},needName:{type:[Boolean,Object],default:void 0},accept:{type:String,default:void 0},maxSize:{type:Number,default:void 0},title:{type:String,default:""},subTitle:{type:[String,Object],default:""},maxCount:{type:Number,default:void 0},beforeUpload:{type:Function,default:void 0},customRequest:{type:Function,default:void 0},getOssAccess:{type:Function,default:void 0},onChange:{type:Function,default:void 0},maxSizeErrorMsg:{type:String,default:void 0},maxCountErrorMsg:{type:String,default:void 0},acceptErrorMsg:{type:String,default:void 0},onRemove:{type:Function,default:void 0}},emits:["update:value"],setup(f,{expose:_,emit:y}){var p,d,v,m;const{t:s,lang:C}=h.useLocale();E.injectLocaleToAccept(s),j.injectLocaleToOss(s,C);const{b:S}=A.useNamespace("ap-upload"),a=e.ref(null),t=f,b=y,q={singleFile:k.default,multipleFile:U.default,picture:R.default},n=z.Form.useInjectFormItemContext(),M=e.computed({get(){return t.value},set(o){var r;b("update:value",o),n==null||n.onFieldChange(),(r=t.onChange)==null||r.call(t,o)}}),F=g.useGlobalConfig("uiMode"),i=g.useGlobalConfig("apUpload");e.provide("theme",F.value),e.provide("value",M),e.provide("dirName",t.dirName??((p=i.value)==null?void 0:p.dirName)),e.provide("needName",t.needName??((d=i.value)==null?void 0:d.needName)??!1),e.provide("accept",t.accept??((v=i.value)==null?void 0:v.accept)??""),e.provide("maxSize",t.maxSize),e.provide("title",t.title),e.provide("subTitle",t.subTitle),e.provide("maxCount",t.maxCount),e.provide("beforeUpload",t.beforeUpload),e.provide("customRequest",t.customRequest),e.provide("getOssAccess",t.getOssAccess??((m=i.value)==null?void 0:m.getOssAccess)),e.provide("maxSizeErrorMsg",t.maxSizeErrorMsg),e.provide("maxCountErrorMsg",t.maxCountErrorMsg),e.provide("acceptErrorMsg",t.acceptErrorMsg),e.provide("onRemove",t.onRemove);const x=e.computed(()=>l.value===0),l=e.ref(0);e.provide("uploadingCount",l);function N(){c(void 0)}function c(o){var r,u;(u=(r=a==null?void 0:a.value)==null?void 0:r.setValue)==null||u.call(r,o)}return _({done:x,clear:N,setValue:c}),(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(S)())},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(q[t.type]),e.mergeProps(o.$attrs,{ref_key:"uploadRef",ref:a}),e.createSlots({_:2},[e.renderList(Object.keys(o.$slots),u=>({name:u,fn:e.withCtx(O=>[e.renderSlot(o.$slots,u,e.normalizeProps(e.guardReactiveProps(O||{})))])}))]),1040))],2))}});exports.default=T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UploadFile, UploadChangeParam } from '@aplus-frontend/antdv';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
|
-
import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface,
|
|
3
|
+
import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
|
|
4
4
|
import { UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
|
|
5
5
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
declare function setValue(val: (string | Record<string, any>)[]): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Oss } from '../hooks/useOss';
|
|
2
|
+
import { actionResponse } from '@aplus-frontend/oss';
|
|
2
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
4
|
declare function setValue(val?: (string | Record<string, any>)[]): void;
|
|
4
5
|
interface UploadFile extends File {
|
|
@@ -17,13 +18,7 @@ declare function __VLS_template(): {
|
|
|
17
18
|
pictureContext?(_: {
|
|
18
19
|
fileList: {
|
|
19
20
|
oss: {
|
|
20
|
-
pauseUpload: (() => Promise<
|
|
21
|
-
status: number;
|
|
22
|
-
previewUrl?: string;
|
|
23
|
-
saveUrl?: string;
|
|
24
|
-
originalFileName?: string;
|
|
25
|
-
message: string;
|
|
26
|
-
}>) | undefined;
|
|
21
|
+
pauseUpload: (() => Promise< actionResponse>) | undefined;
|
|
27
22
|
};
|
|
28
23
|
}[];
|
|
29
24
|
remove: typeof handleRemove;
|
|
@@ -3,8 +3,8 @@ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/bu
|
|
|
3
3
|
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
-
import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
|
|
7
6
|
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
7
|
+
import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
|
|
8
8
|
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
10
|
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
@@ -63,7 +63,7 @@ declare const ApBatchActionGroup: {
|
|
|
63
63
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
64
64
|
};
|
|
65
65
|
}>>, "type" | "onClick"> & {
|
|
66
|
-
type?:
|
|
66
|
+
type?: ( ButtonType | undefined) | "borderLink";
|
|
67
67
|
borderLinkColor?: string;
|
|
68
68
|
minWidth?: boolean | number | string;
|
|
69
69
|
lazy?: boolean | number;
|
|
@@ -364,7 +364,7 @@ declare const ApBatchActionGroup: {
|
|
|
364
364
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
365
365
|
};
|
|
366
366
|
}>>, "type" | "onClick"> & {
|
|
367
|
-
type?:
|
|
367
|
+
type?: ( ButtonType | undefined) | "borderLink";
|
|
368
368
|
borderLinkColor?: string;
|
|
369
369
|
minWidth?: boolean | number | string;
|
|
370
370
|
lazy?: boolean | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),S=require("./constans.js"),T=require("@aplus-frontend/icon");require("../../config-provider/index.js");const y=require("@aplus-frontend/antdv"),f=require("lodash-unified"),b=require("../../config-provider/hooks/use-namespace.js"),h=require("../../config-provider/hooks/use-locale.js"),C=t.defineComponent({name:"CopyBtn",props:S.ApCopyProps(),setup(r,{slots:a}){const{b:p,e:u,m:x}=b.useNamespace("ap-copy"),{t:c}=h.useLocale(),g=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation(),navigator.clipboard.writeText(r.text||l()||"").then(()=>{y.message.success(c("ap.apCopy.copySuccess"))}).catch(()=>{y.message.error(c("ap.apCopy.copyError"))})},m=e=>{if(e.length===1){const n=e[0];if(n.type===t.Text||n.type.toString()==="Symbol(Text)"||t.isVNode(n)&&typeof n.children=="string")return!0}return!1},v=e=>{if(!e.length)return"";const n=e[0];return n.type===t.Text||n.type.toString()==="Symbol(Text)"?String(n.children):t.isVNode(n)&&typeof n.children=="string"?n.children:""},l=()=>{var d;const e=(d=a.default)==null?void 0:d.call(a);return e&&m(e)?v(e):null},s=e=>!(f.isNull(e)||f.isUndefined(e)||typeof e=="string"&&e===""),o=t.computed(()=>{if(typeof r.textStyle=="string")switch(r.textStyle){case"link":return"text-link";case"minor":return"text-minor";case"major":return"text-major";default:return"text-major"}else if(typeof r.textStyle=="object")return{...r.textStyle};return{}}),i=t.computed(()=>l()||r.text||"");return()=>t.createVNode(t.Fragment,null,[t.createVNode("div",{class:[p()]},[t.createVNode("div",{class:[u("text"),typeof o.value=="string"&&x(o.value)],style:typeof o.value!="string"&&o.value,title:typeof o.value=="string"?i.value:""},[s(i.value)?r.link?t.createVNode("a",{href:r.link,target:"_blank"},[i.value]):i.value:"--"]),s(i.value)&&!r.disableCopy&&t.createVNode("div",{class:[u("copy-btn"),"copy-btn"],onClick:r.disableCopy?void 0:g},[t.createVNode(T.IconApAdLineCopy,{size:r.size},null)])])])}});exports.default=C;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApExpandAlertProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <T extends Record<string, any>>(__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<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
@@ -23,9 +23,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
23
23
|
}): any;
|
|
24
24
|
};
|
|
25
25
|
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
26
|
-
}>) => VNode
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
}> & {
|
|
26
|
+
}>) => VNode & {
|
|
29
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
28
|
};
|
|
31
29
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef,
|
|
1
|
+
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
|
|
2
2
|
export * from './interface';
|
|
3
3
|
declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
@@ -20,7 +20,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
20
20
|
props: {
|
|
21
21
|
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
22
22
|
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
23
|
-
type?: "warning" | "error" | "success" | "info" | "card" | undefined;
|
|
23
|
+
type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
|
|
24
24
|
data?: string | T[] | undefined;
|
|
25
25
|
prefix?: string | undefined;
|
|
26
26
|
tipTitle?: string | undefined;
|
|
@@ -29,7 +29,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
29
29
|
separatorStyle?: CSSProperties | undefined;
|
|
30
30
|
contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
|
|
31
31
|
prefixStyle?: CSSProperties | undefined;
|
|
32
|
-
rows?:
|
|
32
|
+
rows?: string | number | undefined;
|
|
33
33
|
defaultExpand?: boolean | undefined;
|
|
34
34
|
showIcon?: boolean | undefined;
|
|
35
35
|
} & PublicProps;
|
|
@@ -51,9 +51,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
51
51
|
}): any;
|
|
52
52
|
};
|
|
53
53
|
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
54
|
-
}>) => VNode
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}> & {
|
|
54
|
+
}>) => VNode & {
|
|
57
55
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
58
56
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
59
57
|
$props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./constans.js");require("../../config-provider/index.js");const f=require("../ap-image/index.js"),c=require("../ap-copy/index.js"),p=require("../../config-provider/hooks/use-namespace.js"),N=require("../../config-provider/hooks/use-global-config.js"),V=e.defineComponent({name:"ApProductInfo",props:v.ApProductInfoProps(),setup(r){const{b:i,e:l,m:t}=p.useNamespace("ap-product-info"),n=o=>typeof o.value=="function"?o.value():e.h(c.ApCopy,{text:o.value,textStyle:o.link?"link":"minor",link:o.link,disableCopy:r.disableCopy},o.value),s=N.useGlobalConfig("uiMode");return()=>e.createVNode("div",{class:[i(),`${t(s.value)}`]},[e.createVNode("div",{class:l("img")},[e.createVNode(f.ApImage,{src:r.imgSrc,width:44,height:44,preview:r.preview},null)]),e.createVNode("div",{class:[l("content")]},[e.createVNode(c.ApCopy,{disableCopy:r.disableCopy},{default:()=>[r.title]}),e.createVNode("div",{class:l("row-container")},[r.values.map((o,d)=>{const a=o.col===2,u=o.col!==2&&d%2===0;return e.createVNode("div",{key:JSON.stringify(o),class:[l("row-item"),t(a?"full":"half")]},[e.createVNode("div",{class:[l("item")]},[o.label&&e.createVNode("div",{class:l("label")},[o.label,e.createVNode("span",null,[e.createTextVNode(":")])]),e.createVNode("div",{class:[l("value"),!a&&t("overflow")],title:typeof o.value!="function"?String(o.value||""):""},[n(o)])]),u&&e.createVNode("div",{class:l("divider"),style:{right:0}},[e.createVNode("div",{class:l("divider-vertical")},null)])])})])])])}});exports.default=V;
|
|
@@ -6,8 +6,10 @@ type __VLS_Props = {
|
|
|
6
6
|
optionStyle?: RadioOptionStyleType;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
9
|
+
change: (value: string | number) => any;
|
|
9
10
|
"update:value": (value: string | number) => any;
|
|
10
11
|
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
11
13
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
12
14
|
}>, {
|
|
13
15
|
value: string | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("@aplus-frontend/antdv");require("../../config-provider/index.js");require("../../hooks/index.js");const v=require("../../config-provider/hooks/use-namespace.js"),k=require("../../hooks/useControllableValue.js"),y=["onClick"],
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("@aplus-frontend/antdv");require("../../config-provider/index.js");require("../../hooks/index.js");const v=require("../../config-provider/hooks/use-namespace.js"),k=require("../../hooks/useControllableValue.js"),y=["onClick"],b=e.defineComponent({__name:"ap-radio-group",props:{value:{default:""},options:{default:()=>[]},optionStyle:{default:()=>({height:28,gap:8})}},emits:["update:value","change"],setup(s,{emit:c}){const{b:p,e:o}=v.useNamespace("ap-radio-group"),d=s,n=c,{value:f,updateValue:m}=k.useControllableValue(d,n,{beforeUpdateValue:t=>(n("change",t),!0)}),h=t=>e.isVNode(t)?e.h(t):typeof t=="function"?e.h("span",t()):e.h("span",t);return(t,C)=>{var l;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(p)()])},[e.createVNode(e.unref(g.Flex),{gap:(l=t.optionStyle)==null?void 0:l.gap,wrap:"wrap"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options.filter(r=>r.visible!==!1),r=>{var a,u,i;return e.openBlock(),e.createElementBlock("div",{key:r.value,class:e.normalizeClass([e.unref(o)("item"),e.unref(f)===r.value?e.unref(o)("item--active"):""]),style:e.normalizeStyle({height:((a=t.optionStyle)==null?void 0:a.height)+"px",lineHeight:((u=t.optionStyle)==null?void 0:u.height)+"px",color:(i=t.optionStyle)==null?void 0:i.color}),onClick:B=>e.unref(m)(r.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h(r.label))))],14,y)}),128))]),_:1},8,["gap"])],2)}}});exports.default=b;
|
|
@@ -7,8 +7,10 @@ declare const ApRadioGroup: {
|
|
|
7
7
|
options: RadioOptionType[];
|
|
8
8
|
optionStyle?: RadioOptionStyleType;
|
|
9
9
|
}> & Readonly<{
|
|
10
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
10
11
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
11
12
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
+
change: (value: string | number) => any;
|
|
12
14
|
"update:value": (value: string | number) => any;
|
|
13
15
|
}, PublicProps, {
|
|
14
16
|
value: string | number;
|
|
@@ -26,6 +28,7 @@ declare const ApRadioGroup: {
|
|
|
26
28
|
options: RadioOptionType[];
|
|
27
29
|
optionStyle?: RadioOptionStyleType;
|
|
28
30
|
}> & Readonly<{
|
|
31
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
29
32
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
30
33
|
}>, {}, {}, {}, {}, {
|
|
31
34
|
value: string | number;
|
|
@@ -40,8 +43,10 @@ declare const ApRadioGroup: {
|
|
|
40
43
|
options: RadioOptionType[];
|
|
41
44
|
optionStyle?: RadioOptionStyleType;
|
|
42
45
|
}> & Readonly<{
|
|
46
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
43
47
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
44
48
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
49
|
+
change: (value: string | number) => any;
|
|
45
50
|
"update:value": (value: string | number) => any;
|
|
46
51
|
}, string, {
|
|
47
52
|
value: string | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem } from './interface';
|
|
2
|
-
import { PublicProps, ShallowUnwrapRef, VNode,
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
@@ -38,9 +38,7 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
|
|
|
38
38
|
(event: "afterEnter", el: Element): void;
|
|
39
39
|
(event: "afterLeave", el: Element): void;
|
|
40
40
|
};
|
|
41
|
-
}>) => VNode
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
}> & {
|
|
41
|
+
}>) => VNode & {
|
|
44
42
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
45
43
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
46
44
|
$props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <T extends ApSelectItem>(__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<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onOnSelect?: ((value: T) => any) | undefined;
|
|
@@ -19,9 +19,7 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
|
|
|
19
19
|
(event: "afterEnter", el: Element): void;
|
|
20
20
|
(event: "afterLeave", el: Element): void;
|
|
21
21
|
};
|
|
22
|
-
}>) => VNode
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}> & {
|
|
22
|
+
}>) => VNode & {
|
|
25
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
24
|
};
|
|
27
25
|
export default _default;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ApViewProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<ApViewProps, {
|
|
3
|
+
declare const _default: DefineComponent<ApViewProps, {
|
|
4
|
+
setFirstDefaultSystemView: (value: boolean) => void;
|
|
5
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApViewProps> & Readonly<{}>, {
|
|
4
6
|
maxViewNum: number;
|
|
5
7
|
isDefaultSystemView: boolean;
|
|
8
|
+
isFirstDefaultSystemView: boolean;
|
|
6
9
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
7
10
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue");require("../../config-provider/index.js");const L=require("./icons/line-down.vue.js"),j=require("../ap-batch-action-group/index.js");require("./components/main-button-content.vue.js");require("./components/menu-list-content.vue.js");const k=require("./hooks/use-view-provide.js"),A=require("../../ap-table/context.js"),V=require("./utils/enum.js"),G=require("@aplus-frontend/utils"),z=require("../../config-provider/hooks/use-global-config.js"),$=require("../../config-provider/hooks/use-namespace.js"),h=require("../../config-provider/hooks/use-locale.js"),H=require("./components/main-button-content.vue2.js"),J=require("./components/menu-list-content.vue2.js"),Q=s.defineComponent({name:"ApView",__name:"ap-view",props:{tableKey:{},saveDataSource:{},viewCacheOption:{},maxViewNum:{default:20},isDefaultSystemView:{type:Boolean,default:!1},isFirstDefaultSystemView:{type:Boolean,default:!1}},setup(q,{expose:N}){const c=q,Y=z.useGlobalConfig("viewCacheOption"),{b:_}=$.useNamespace("ap-view"),{t:T}=h.useLocale(),K=s.computed(()=>({viewKey:V.SYSTEM_VIEW_KEY,viewName:T("ap.apView.systemView")})),{getSearchFormValues:F,setSearchFormValues:M,submit:S,reset:x}=A.useInjectApTable(),I=s.ref(!1),b=s.ref(!1),p=s.ref("");let v=!1,g=!1;const B={dropdownType:"dropdown",content:s.createVNode(H.default,{maxViewNum:c.maxViewNum},null)},u=s.ref([K.value]),P=s.computed(()=>u.value.map(t=>({id:t.viewKey,content:s.createVNode(J.default,{view:t},null)}))),e={getSearchFormValues:F,setSearchFormValues:M,submit:S,reset:x,...c.saveDataSource},i={...Y.value,...c.viewCacheOption},E=()=>{if(c.isDefaultSystemView||(c.isFirstDefaultSystemView||g)&&v)return V.SYSTEM_VIEW_KEY;const t=u.value.find(l=>l.isDefault);return(t==null?void 0:t.viewKey)??V.SYSTEM_VIEW_KEY},w=t=>{p.value=t;const l=u.value.find(n=>n.viewKey===p.value);l&&setTimeout(()=>{var n,r,a,f,o,m;l.viewKey===V.SYSTEM_VIEW_KEY?v?(n=e==null?void 0:e.submit)==null||n.call(e):(r=e==null?void 0:e.reset)==null||r.call(e):((o=e==null?void 0:e.setSearchFormValues)==null||o.call(e,{...Object.fromEntries(Object.keys(((a=e==null?void 0:e.getSearchFormValues)==null?void 0:a.call(e))??{}).map(d=>[d,void 0]))??{},...((f=l.viewConfig)==null?void 0:f.searchForm)??{}}),(m=e==null?void 0:e.submit)==null||m.call(e)),v=!1})},y={getViewList:async t=>{var l;try{const{tableKey:n}=t,r=await((l=i==null?void 0:i.getViewList)==null?void 0:l.call(i,{tableKey:n}));return u.value=[K.value,...r??[]],w(E()),u.value}catch{return u.value=[K.value],w(V.SYSTEM_VIEW_KEY),u.value}},addView:async t=>{var o;const{tableKey:l,viewKey:n,viewName:r,isDefault:a,viewConfig:f}=t;await((o=i==null?void 0:i.addView)==null?void 0:o.call(i,{tableKey:l,viewKey:n,viewName:r,isDefault:a,viewConfig:f})),a&&(u.value=u.value.map(m=>({...m,isDefault:!1}))),u.value=[...u.value,{viewKey:n,viewName:r,isDefault:a,viewConfig:f}],w(n)},changeView:async t=>{var m;const{tableKey:l,viewKey:n,viewName:r,isDefault:a,viewConfig:f}=t;await((m=i==null?void 0:i.changeView)==null?void 0:m.call(i,{tableKey:l,viewKey:n,viewName:r,isDefault:a,viewConfig:f})),a&&(u.value=u.value.map(d=>({...d,isDefault:!1})));const o=u.value.find(d=>d.viewKey===n);o&&(o.viewName=r,o.isDefault=a,o.viewConfig=f),w(n)},removeView:async t=>{var r;const{tableKey:l,viewKey:n}=t;await((r=i==null?void 0:i.removeView)==null?void 0:r.call(i,{tableKey:l,viewKey:n})),u.value=u.value.filter(a=>a.viewKey!==n),n===p.value&&w(E())}},W={tableKey:c.tableKey,currentViewKey:p,changeCurrentViewKey:w,popoverOpen:I,menuOpen:b,viewList:u,viewListCRUD:y,saveDataSource:e};return k.useViewProvide(W),s.watch(()=>c.tableKey,t=>{var l;G.isValid(t)&&(v=!0,(l=y==null?void 0:y.getViewList)==null||l.call(y,{tableKey:t}))},{immediate:!0}),N({setFirstDefaultSystemView:t=>{g=t}}),(t,l)=>(s.openBlock(),s.createBlock(s.unref(j.ApBatchActionGroup),s.mergeProps({...t.$attrs},{open:b.value,"onUpdate:open":l[0]||(l[0]=n=>b.value=n),class:[s.unref(_)()],"button-props":B,"menu-list":P.value,"overlay-class-name":[s.unref(_)("overlay")],trigger:"click",placement:"bottom"}),{icon:s.withCtx(()=>[s.createElementVNode("div",{class:s.normalizeClass([s.unref(_)("icon")])},[s.createVNode(L.default)],2)]),_:1},16,["open","class","menu-list","overlay-class-name"]))}});exports.default=Q;
|
|
@@ -2,13 +2,12 @@ import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc }
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath,
|
|
5
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
|
|
9
9
|
import { Recordable } from '../../../type';
|
|
10
10
|
import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
11
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
import { OnCleanup } from '@vue/reactivity';
|
|
14
13
|
type __VLS_Props = {
|
|
@@ -109,7 +108,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
109
108
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
110
109
|
readonly initialValues?: Recordable | undefined;
|
|
111
110
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
112
|
-
readonly syncToUrl?:
|
|
111
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
113
112
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
114
113
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
115
114
|
$attrs: {
|
|
@@ -2,13 +2,12 @@ import { ViewListModel } from '../interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath,
|
|
5
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
|
|
9
9
|
import { Recordable } from '../../../type';
|
|
10
10
|
import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
11
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
|
|
14
13
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -110,7 +109,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
|
|
|
110
109
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
111
110
|
readonly initialValues?: Recordable | undefined;
|
|
112
111
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
113
|
-
readonly syncToUrl?:
|
|
112
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
114
113
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
115
114
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
116
115
|
$attrs: {
|