@robot-admin/naive-ui-components 0.18.0 → 0.20.0
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/CHANGELOG.md +16 -0
- package/dist/C_Breadcrumb.css +308 -20
- package/dist/C_Breadcrumb.d.cts +2 -2
- package/dist/C_Breadcrumb.d.ts +2 -2
- package/dist/C_Breadcrumb2.cjs +1 -1
- package/dist/C_Breadcrumb2.js +1 -1
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Table.base.css +108 -108
- package/dist/C_Table.css +108 -108
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +6 -6
- package/dist/constants4.d.ts +6 -6
- package/dist/data.d.cts +10 -10
- package/dist/data.d.ts +10 -10
- package/dist/formValidation.cjs +1 -1
- package/dist/formValidation.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +4 -4
- package/dist/index10.vue.d.ts +6 -6
- package/dist/index11.vue.d.cts +6 -6
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.cts +2 -2
- package/dist/index12.vue.d.ts +1 -1
- package/dist/index13.vue.d.cts +1 -1
- package/dist/index13.vue.d.ts +8 -8
- package/dist/index14.vue.d.cts +8 -8
- package/dist/index15.vue.d.ts +1 -1
- package/dist/index16.vue.d.cts +1 -1
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +2 -2
- package/dist/index18.vue.d.cts +2 -2
- package/dist/index18.vue.d.ts +5 -5
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +3 -3
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +3 -3
- package/dist/index25.vue.d.ts +3 -3
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +5 -5
- package/dist/index3.vue.d.ts +5 -5
- package/dist/index4.vue.d.cts +5 -5
- package/dist/index4.vue.d.ts +26 -12
- package/dist/index5.vue.d.cts +26 -12
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +4 -4
- package/dist/presets.d.cts +5 -3
- package/dist/presets.d.ts +5 -3
- package/dist/public.d.ts +3 -1
- package/dist/style.css +416 -128
- package/dist/types.d.cts +3 -1
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +6 -6
- package/dist/useCollapsePanel.d.ts +6 -6
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +6 -6
- package/dist/useCropperCore.d.ts +6 -6
- package/dist/useDynamicFormState.d.cts +4 -9
- package/dist/useDynamicFormState.d.ts +4 -9
- package/dist/useEdgeInteraction.d.cts +3 -3
- package/dist/useEdgeInteraction.d.ts +3 -3
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useGlobalSearch.d.cts +1 -1
- package/dist/useGlobalSearch.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useTableQuery.cjs +2 -2
- package/dist/useTableQuery.d.cts +31 -70
- package/dist/useTableQuery.d.ts +31 -70
- package/dist/useTableQuery.js +1 -1
- package/dist/useWorkflowValidation.d.cts +4 -4
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/dist/verification.d.cts +3 -3
- package/dist/verification.d.ts +3 -3
- package/docs/guides/usage.en.md +9 -1
- package/docs/guides/usage.md +20 -1
- package/package.json +2 -2
package/dist/types.d.cts
CHANGED
|
@@ -100,8 +100,10 @@ interface BreadcrumbItem {
|
|
|
100
100
|
label: string;
|
|
101
101
|
/** 图标名称 */
|
|
102
102
|
icon?: string;
|
|
103
|
+
/** 禁用导航;目录禁用时同时禁用其子项。 */
|
|
104
|
+
disabled?: boolean;
|
|
103
105
|
/** 子级列表(用于下拉) */
|
|
104
|
-
children?: BreadcrumbItem[];
|
|
106
|
+
children?: readonly BreadcrumbItem[];
|
|
105
107
|
}
|
|
106
108
|
//#endregion
|
|
107
109
|
export { TagItem as i, RouteItem as n, RouteMeta as r, BreadcrumbItem as t };
|
|
@@ -72,9 +72,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
72
72
|
}) => any) | undefined;
|
|
73
73
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
+
events: CalendarEvent[];
|
|
75
76
|
initialView: CalendarViewType;
|
|
76
77
|
editable: boolean;
|
|
77
|
-
events: CalendarEvent[];
|
|
78
78
|
showAddDialog: boolean;
|
|
79
79
|
showEditDialog: boolean;
|
|
80
80
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -72,9 +72,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
72
72
|
}) => any) | undefined;
|
|
73
73
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
+
events: CalendarEvent[];
|
|
75
76
|
initialView: CalendarViewType;
|
|
76
77
|
editable: boolean;
|
|
77
|
-
events: CalendarEvent[];
|
|
78
78
|
showAddDialog: boolean;
|
|
79
79
|
showEditDialog: boolean;
|
|
80
80
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -70,22 +70,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
70
70
|
};
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
|
-
|
|
73
|
+
change: (activeKeys: string[]) => any;
|
|
74
74
|
expand: (key: string) => any;
|
|
75
75
|
collapse: (key: string) => any;
|
|
76
|
-
|
|
76
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
|
-
|
|
78
|
+
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
79
|
onExpand?: ((key: string) => any) | undefined;
|
|
80
80
|
onCollapse?: ((key: string) => any) | undefined;
|
|
81
|
-
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
+
bordered: boolean;
|
|
84
|
+
accordion: boolean;
|
|
83
85
|
activeKeys: string[];
|
|
84
86
|
defaultActiveKeys: string[];
|
|
85
|
-
accordion: boolean;
|
|
86
87
|
variant: CollapsePanelVariant;
|
|
87
88
|
expandIconPosition: ExpandIconPosition;
|
|
88
|
-
bordered: boolean;
|
|
89
89
|
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -70,22 +70,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
70
70
|
};
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
|
-
|
|
73
|
+
change: (activeKeys: string[]) => any;
|
|
74
74
|
expand: (key: string) => any;
|
|
75
75
|
collapse: (key: string) => any;
|
|
76
|
-
|
|
76
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
|
-
|
|
78
|
+
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
79
|
onExpand?: ((key: string) => any) | undefined;
|
|
80
80
|
onCollapse?: ((key: string) => any) | undefined;
|
|
81
|
-
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
+
bordered: boolean;
|
|
84
|
+
accordion: boolean;
|
|
83
85
|
activeKeys: string[];
|
|
84
86
|
defaultActiveKeys: string[];
|
|
85
|
-
accordion: boolean;
|
|
86
87
|
variant: CollapsePanelVariant;
|
|
87
88
|
expandIconPosition: ExpandIconPosition;
|
|
88
|
-
bordered: boolean;
|
|
89
89
|
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./context.cjs`);let t=require(`vue`);const n=Object.freeze({"common.confirm":`确定`,"common.cancel":`取消`,"common.save":`保存`,"common.submit":`提交`,"common.reset":`重置`,"common.retry":`重试`,"common.edit":`编辑`,"common.detail":`详情`,"common.delete":`删除`,"common.select":`选择`,"common.print":`打印`,"common.loading":`正在加载`,"table.loading":`正在加载数据`,"table.loadFailed":`数据加载失败`,"table.deleteTitle":`确认删除`,"table.deleteContent":`确定要删除这条记录吗?`,"table.deleteSuccess":`删除成功`,"table.deleteFailed":`删除失败`,"table.detailFailed":`获取详情失败`,"table.moreActions":`更多操作`,"table.actionFailed":`{action}失败`,"table.cancelSelection":`取消选择`,"table.columnSettings":`列设置`,"table.export":`导出`,"table.settings":`表格设置`,"table.selectedCount":`已选择 {count} 项`,"table.addRow":`增行`,"table.insertRow":`插行`,"table.deleteRow":`删除行`,"table.copyRow":`复制行`,"table.moveUp":`上移`,"table.moveDown":`下移`,"table.addRowSuccess":`添加行成功`,"table.insertRowSuccess":`插入行成功`,"table.deleteRowSuccess":`删除行成功`,"table.copyRowSuccess":`复制行成功`,"table.moveUpSuccess":`行已上移`,"table.moveDownSuccess":`行已下移`,"table.selectRowFirst":`请先选择一行数据`,"table.selectDeleteRowFirst":`请先选择要删除的行`,"table.selectCopyRowFirst":`请先选择要复制的行`,"table.firstRow":`已经是第一行`,"table.lastRow":`已经是最后一行`,"table.deleteRowContent":`确定要删除选中的行吗?此操作不可撤销。`,"table.confirmDeleteRow":`确认删除`,"table.printTargetMissing":`打印元素未找到`,"table.downloadTargetMissing":`下载元素未找到`,"table.invalidRowKeys":`表格存在 {count} 个缺失或重复的行键`,"form.required":`{label}不能为空`,"search.valueRequired":`请输入搜索内容,或选择筛选条件`,"search.failed":`搜索失败`,"captcha.trigger":`点击进行人机验证`,"captcha.verifying":`正在验证…`,"captcha.success":`验证成功`,"captcha.failed":`验证失败,请重试`,"captcha.reset":`重新验证`,"captcha.puzzleFailed":`拼图验证失败`,"captcha.verifyFailed":`服务端验证失败`,"captcha.loadFailed":`验证码加载失败`}),r=Object.freeze({"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.save":`Save`,"common.submit":`Submit`,"common.reset":`Reset`,"common.retry":`Retry`,"common.edit":`Edit`,"common.detail":`Details`,"common.delete":`Delete`,"common.select":`Select`,"common.print":`Print`,"common.loading":`Loading`,"table.loading":`Loading data`,"table.loadFailed":`Failed to load data`,"table.deleteTitle":`Confirm deletion`,"table.deleteContent":`Are you sure you want to delete this record?`,"table.deleteSuccess":`Deleted successfully`,"table.deleteFailed":`Delete failed`,"table.detailFailed":`Failed to load details`,"table.moreActions":`More actions`,"table.actionFailed":`{action} failed`,"table.cancelSelection":`Clear selection`,"table.columnSettings":`Column settings`,"table.export":`Export`,"table.settings":`Table settings`,"table.selectedCount":`{count} selected`,"table.addRow":`Add row`,"table.insertRow":`Insert row`,"table.deleteRow":`Delete row`,"table.copyRow":`Copy row`,"table.moveUp":`Move up`,"table.moveDown":`Move down`,"table.addRowSuccess":`Row added`,"table.insertRowSuccess":`Row inserted`,"table.deleteRowSuccess":`Row deleted`,"table.copyRowSuccess":`Row copied`,"table.moveUpSuccess":`Row moved up`,"table.moveDownSuccess":`Row moved down`,"table.selectRowFirst":`Select a row first`,"table.selectDeleteRowFirst":`Select a row to delete first`,"table.selectCopyRowFirst":`Select a row to copy first`,"table.firstRow":`This is already the first row`,"table.lastRow":`This is already the last row`,"table.deleteRowContent":`Are you sure you want to delete the selected row? This cannot be undone.`,"table.confirmDeleteRow":`Delete row`,"table.printTargetMissing":`Print target was not found`,"table.downloadTargetMissing":`Download target was not found`,"table.invalidRowKeys":`{count} table row keys are missing or duplicated`,"form.required":`{label} is required`,"search.valueRequired":`Enter a search term or choose a filter`,"search.failed":`Search failed`,"captcha.trigger":`Click to verify`,"captcha.verifying":`Verifying…`,"captcha.success":`Verified`,"captcha.failed":`Verification failed. Try again.`,"captcha.reset":`Verify again`,"captcha.puzzleFailed":`Puzzle verification failed`,"captcha.verifyFailed":`Server verification failed`,"captcha.loadFailed":`Failed to load captcha`}),i=(e,t)=>t?e.replace(/\{([^{}]+)\}/g,(e,n)=>Object.prototype.hasOwnProperty.call(t,n)?String(t[n]):e):e;function a(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function o(e){return e===`en-US`?r:n}function s(e,t={},n={},r){let s=t.t??n.t;if(s)return s(e,r);let c=o(t.locale??n.locale);return i(a(t.messages,e)??a(n.messages,e)??a(c,e)??e,r)}function c(n){let r=(0,t.getCurrentInstance)()?(0,t.inject)(e.n,{}):{};return{t:(e,i)=>s(e,(0,t.toValue)(n),r,i)}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./context.cjs`);let t=require(`vue`);const n=Object.freeze({"common.confirm":`确定`,"common.cancel":`取消`,"common.save":`保存`,"common.submit":`提交`,"common.reset":`重置`,"common.retry":`重试`,"common.edit":`编辑`,"common.detail":`详情`,"common.delete":`删除`,"common.select":`选择`,"common.print":`打印`,"common.loading":`正在加载`,"table.loading":`正在加载数据`,"table.loadFailed":`数据加载失败`,"table.deleteTitle":`确认删除`,"table.deleteContent":`确定要删除这条记录吗?`,"table.deleteSuccess":`删除成功`,"table.deleteFailed":`删除失败`,"table.detailFailed":`获取详情失败`,"table.moreActions":`更多操作`,"table.actionFailed":`{action}失败`,"table.cancelSelection":`取消选择`,"table.columnSettings":`列设置`,"table.export":`导出`,"table.settings":`表格设置`,"table.selectedCount":`已选择 {count} 项`,"table.addRow":`增行`,"table.insertRow":`插行`,"table.deleteRow":`删除行`,"table.copyRow":`复制行`,"table.moveUp":`上移`,"table.moveDown":`下移`,"table.addRowSuccess":`添加行成功`,"table.insertRowSuccess":`插入行成功`,"table.deleteRowSuccess":`删除行成功`,"table.copyRowSuccess":`复制行成功`,"table.moveUpSuccess":`行已上移`,"table.moveDownSuccess":`行已下移`,"table.selectRowFirst":`请先选择一行数据`,"table.selectDeleteRowFirst":`请先选择要删除的行`,"table.selectCopyRowFirst":`请先选择要复制的行`,"table.firstRow":`已经是第一行`,"table.lastRow":`已经是最后一行`,"table.deleteRowContent":`确定要删除选中的行吗?此操作不可撤销。`,"table.confirmDeleteRow":`确认删除`,"table.printTargetMissing":`打印元素未找到`,"table.downloadTargetMissing":`下载元素未找到`,"table.invalidRowKeys":`表格存在 {count} 个缺失或重复的行键`,"breadcrumb.label":`面包屑`,"breadcrumb.expandPath":`展开完整路径`,"breadcrumb.fullPath":`完整路径`,"breadcrumb.directoryPages":`目录页面`,"breadcrumb.pageCount":`{count} 个页面`,"breadcrumb.current":`当前`,"form.required":`{label}不能为空`,"search.valueRequired":`请输入搜索内容,或选择筛选条件`,"search.failed":`搜索失败`,"captcha.trigger":`点击进行人机验证`,"captcha.verifying":`正在验证…`,"captcha.success":`验证成功`,"captcha.failed":`验证失败,请重试`,"captcha.reset":`重新验证`,"captcha.puzzleFailed":`拼图验证失败`,"captcha.verifyFailed":`服务端验证失败`,"captcha.loadFailed":`验证码加载失败`}),r=Object.freeze({"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.save":`Save`,"common.submit":`Submit`,"common.reset":`Reset`,"common.retry":`Retry`,"common.edit":`Edit`,"common.detail":`Details`,"common.delete":`Delete`,"common.select":`Select`,"common.print":`Print`,"common.loading":`Loading`,"table.loading":`Loading data`,"table.loadFailed":`Failed to load data`,"table.deleteTitle":`Confirm deletion`,"table.deleteContent":`Are you sure you want to delete this record?`,"table.deleteSuccess":`Deleted successfully`,"table.deleteFailed":`Delete failed`,"table.detailFailed":`Failed to load details`,"table.moreActions":`More actions`,"table.actionFailed":`{action} failed`,"table.cancelSelection":`Clear selection`,"table.columnSettings":`Column settings`,"table.export":`Export`,"table.settings":`Table settings`,"table.selectedCount":`{count} selected`,"table.addRow":`Add row`,"table.insertRow":`Insert row`,"table.deleteRow":`Delete row`,"table.copyRow":`Copy row`,"table.moveUp":`Move up`,"table.moveDown":`Move down`,"table.addRowSuccess":`Row added`,"table.insertRowSuccess":`Row inserted`,"table.deleteRowSuccess":`Row deleted`,"table.copyRowSuccess":`Row copied`,"table.moveUpSuccess":`Row moved up`,"table.moveDownSuccess":`Row moved down`,"table.selectRowFirst":`Select a row first`,"table.selectDeleteRowFirst":`Select a row to delete first`,"table.selectCopyRowFirst":`Select a row to copy first`,"table.firstRow":`This is already the first row`,"table.lastRow":`This is already the last row`,"table.deleteRowContent":`Are you sure you want to delete the selected row? This cannot be undone.`,"table.confirmDeleteRow":`Delete row`,"table.printTargetMissing":`Print target was not found`,"table.downloadTargetMissing":`Download target was not found`,"table.invalidRowKeys":`{count} table row keys are missing or duplicated`,"breadcrumb.label":`Breadcrumb`,"breadcrumb.expandPath":`Show full path`,"breadcrumb.fullPath":`Full path`,"breadcrumb.directoryPages":`Directory pages`,"breadcrumb.pageCount":`{count} pages`,"breadcrumb.current":`Current`,"form.required":`{label} is required`,"search.valueRequired":`Enter a search term or choose a filter`,"search.failed":`Search failed`,"captcha.trigger":`Click to verify`,"captcha.verifying":`Verifying…`,"captcha.success":`Verified`,"captcha.failed":`Verification failed. Try again.`,"captcha.reset":`Verify again`,"captcha.puzzleFailed":`Puzzle verification failed`,"captcha.verifyFailed":`Server verification failed`,"captcha.loadFailed":`Failed to load captcha`}),i=(e,t)=>t?e.replace(/\{([^{}]+)\}/g,(e,n)=>Object.prototype.hasOwnProperty.call(t,n)?String(t[n]):e):e;function a(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function o(e){return e===`en-US`?r:n}function s(e,t={},n={},r){let s=t.t??n.t;if(s)return s(e,r);let c=o(t.locale??n.locale);return i(a(t.messages,e)??a(n.messages,e)??a(c,e)??e,r)}function c(n){let r=(0,t.getCurrentInstance)()?(0,t.inject)(e.n,{}):{};return{t:(e,i)=>s(e,(0,t.toValue)(n),r,i)}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./context.js";import{getCurrentInstance as t,inject as n,toValue as r}from"vue";const i=Object.freeze({"common.confirm":`确定`,"common.cancel":`取消`,"common.save":`保存`,"common.submit":`提交`,"common.reset":`重置`,"common.retry":`重试`,"common.edit":`编辑`,"common.detail":`详情`,"common.delete":`删除`,"common.select":`选择`,"common.print":`打印`,"common.loading":`正在加载`,"table.loading":`正在加载数据`,"table.loadFailed":`数据加载失败`,"table.deleteTitle":`确认删除`,"table.deleteContent":`确定要删除这条记录吗?`,"table.deleteSuccess":`删除成功`,"table.deleteFailed":`删除失败`,"table.detailFailed":`获取详情失败`,"table.moreActions":`更多操作`,"table.actionFailed":`{action}失败`,"table.cancelSelection":`取消选择`,"table.columnSettings":`列设置`,"table.export":`导出`,"table.settings":`表格设置`,"table.selectedCount":`已选择 {count} 项`,"table.addRow":`增行`,"table.insertRow":`插行`,"table.deleteRow":`删除行`,"table.copyRow":`复制行`,"table.moveUp":`上移`,"table.moveDown":`下移`,"table.addRowSuccess":`添加行成功`,"table.insertRowSuccess":`插入行成功`,"table.deleteRowSuccess":`删除行成功`,"table.copyRowSuccess":`复制行成功`,"table.moveUpSuccess":`行已上移`,"table.moveDownSuccess":`行已下移`,"table.selectRowFirst":`请先选择一行数据`,"table.selectDeleteRowFirst":`请先选择要删除的行`,"table.selectCopyRowFirst":`请先选择要复制的行`,"table.firstRow":`已经是第一行`,"table.lastRow":`已经是最后一行`,"table.deleteRowContent":`确定要删除选中的行吗?此操作不可撤销。`,"table.confirmDeleteRow":`确认删除`,"table.printTargetMissing":`打印元素未找到`,"table.downloadTargetMissing":`下载元素未找到`,"table.invalidRowKeys":`表格存在 {count} 个缺失或重复的行键`,"form.required":`{label}不能为空`,"search.valueRequired":`请输入搜索内容,或选择筛选条件`,"search.failed":`搜索失败`,"captcha.trigger":`点击进行人机验证`,"captcha.verifying":`正在验证…`,"captcha.success":`验证成功`,"captcha.failed":`验证失败,请重试`,"captcha.reset":`重新验证`,"captcha.puzzleFailed":`拼图验证失败`,"captcha.verifyFailed":`服务端验证失败`,"captcha.loadFailed":`验证码加载失败`}),a=Object.freeze({"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.save":`Save`,"common.submit":`Submit`,"common.reset":`Reset`,"common.retry":`Retry`,"common.edit":`Edit`,"common.detail":`Details`,"common.delete":`Delete`,"common.select":`Select`,"common.print":`Print`,"common.loading":`Loading`,"table.loading":`Loading data`,"table.loadFailed":`Failed to load data`,"table.deleteTitle":`Confirm deletion`,"table.deleteContent":`Are you sure you want to delete this record?`,"table.deleteSuccess":`Deleted successfully`,"table.deleteFailed":`Delete failed`,"table.detailFailed":`Failed to load details`,"table.moreActions":`More actions`,"table.actionFailed":`{action} failed`,"table.cancelSelection":`Clear selection`,"table.columnSettings":`Column settings`,"table.export":`Export`,"table.settings":`Table settings`,"table.selectedCount":`{count} selected`,"table.addRow":`Add row`,"table.insertRow":`Insert row`,"table.deleteRow":`Delete row`,"table.copyRow":`Copy row`,"table.moveUp":`Move up`,"table.moveDown":`Move down`,"table.addRowSuccess":`Row added`,"table.insertRowSuccess":`Row inserted`,"table.deleteRowSuccess":`Row deleted`,"table.copyRowSuccess":`Row copied`,"table.moveUpSuccess":`Row moved up`,"table.moveDownSuccess":`Row moved down`,"table.selectRowFirst":`Select a row first`,"table.selectDeleteRowFirst":`Select a row to delete first`,"table.selectCopyRowFirst":`Select a row to copy first`,"table.firstRow":`This is already the first row`,"table.lastRow":`This is already the last row`,"table.deleteRowContent":`Are you sure you want to delete the selected row? This cannot be undone.`,"table.confirmDeleteRow":`Delete row`,"table.printTargetMissing":`Print target was not found`,"table.downloadTargetMissing":`Download target was not found`,"table.invalidRowKeys":`{count} table row keys are missing or duplicated`,"form.required":`{label} is required`,"search.valueRequired":`Enter a search term or choose a filter`,"search.failed":`Search failed`,"captcha.trigger":`Click to verify`,"captcha.verifying":`Verifying…`,"captcha.success":`Verified`,"captcha.failed":`Verification failed. Try again.`,"captcha.reset":`Verify again`,"captcha.puzzleFailed":`Puzzle verification failed`,"captcha.verifyFailed":`Server verification failed`,"captcha.loadFailed":`Failed to load captcha`}),o=(e,t)=>t?e.replace(/\{([^{}]+)\}/g,(e,n)=>Object.prototype.hasOwnProperty.call(t,n)?String(t[n]):e):e;function s(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function c(e){return e===`en-US`?a:i}function l(e,t={},n={},r){let i=t.t??n.t;if(i)return i(e,r);let a=c(t.locale??n.locale);return o(s(t.messages,e)??s(n.messages,e)??s(a,e)??e,r)}function u(i){let a=t()?n(e,{}):{};return{t:(e,t)=>l(e,r(i),a,t)}}export{u as t};
|
|
1
|
+
import{n as e}from"./context.js";import{getCurrentInstance as t,inject as n,toValue as r}from"vue";const i=Object.freeze({"common.confirm":`确定`,"common.cancel":`取消`,"common.save":`保存`,"common.submit":`提交`,"common.reset":`重置`,"common.retry":`重试`,"common.edit":`编辑`,"common.detail":`详情`,"common.delete":`删除`,"common.select":`选择`,"common.print":`打印`,"common.loading":`正在加载`,"table.loading":`正在加载数据`,"table.loadFailed":`数据加载失败`,"table.deleteTitle":`确认删除`,"table.deleteContent":`确定要删除这条记录吗?`,"table.deleteSuccess":`删除成功`,"table.deleteFailed":`删除失败`,"table.detailFailed":`获取详情失败`,"table.moreActions":`更多操作`,"table.actionFailed":`{action}失败`,"table.cancelSelection":`取消选择`,"table.columnSettings":`列设置`,"table.export":`导出`,"table.settings":`表格设置`,"table.selectedCount":`已选择 {count} 项`,"table.addRow":`增行`,"table.insertRow":`插行`,"table.deleteRow":`删除行`,"table.copyRow":`复制行`,"table.moveUp":`上移`,"table.moveDown":`下移`,"table.addRowSuccess":`添加行成功`,"table.insertRowSuccess":`插入行成功`,"table.deleteRowSuccess":`删除行成功`,"table.copyRowSuccess":`复制行成功`,"table.moveUpSuccess":`行已上移`,"table.moveDownSuccess":`行已下移`,"table.selectRowFirst":`请先选择一行数据`,"table.selectDeleteRowFirst":`请先选择要删除的行`,"table.selectCopyRowFirst":`请先选择要复制的行`,"table.firstRow":`已经是第一行`,"table.lastRow":`已经是最后一行`,"table.deleteRowContent":`确定要删除选中的行吗?此操作不可撤销。`,"table.confirmDeleteRow":`确认删除`,"table.printTargetMissing":`打印元素未找到`,"table.downloadTargetMissing":`下载元素未找到`,"table.invalidRowKeys":`表格存在 {count} 个缺失或重复的行键`,"breadcrumb.label":`面包屑`,"breadcrumb.expandPath":`展开完整路径`,"breadcrumb.fullPath":`完整路径`,"breadcrumb.directoryPages":`目录页面`,"breadcrumb.pageCount":`{count} 个页面`,"breadcrumb.current":`当前`,"form.required":`{label}不能为空`,"search.valueRequired":`请输入搜索内容,或选择筛选条件`,"search.failed":`搜索失败`,"captcha.trigger":`点击进行人机验证`,"captcha.verifying":`正在验证…`,"captcha.success":`验证成功`,"captcha.failed":`验证失败,请重试`,"captcha.reset":`重新验证`,"captcha.puzzleFailed":`拼图验证失败`,"captcha.verifyFailed":`服务端验证失败`,"captcha.loadFailed":`验证码加载失败`}),a=Object.freeze({"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.save":`Save`,"common.submit":`Submit`,"common.reset":`Reset`,"common.retry":`Retry`,"common.edit":`Edit`,"common.detail":`Details`,"common.delete":`Delete`,"common.select":`Select`,"common.print":`Print`,"common.loading":`Loading`,"table.loading":`Loading data`,"table.loadFailed":`Failed to load data`,"table.deleteTitle":`Confirm deletion`,"table.deleteContent":`Are you sure you want to delete this record?`,"table.deleteSuccess":`Deleted successfully`,"table.deleteFailed":`Delete failed`,"table.detailFailed":`Failed to load details`,"table.moreActions":`More actions`,"table.actionFailed":`{action} failed`,"table.cancelSelection":`Clear selection`,"table.columnSettings":`Column settings`,"table.export":`Export`,"table.settings":`Table settings`,"table.selectedCount":`{count} selected`,"table.addRow":`Add row`,"table.insertRow":`Insert row`,"table.deleteRow":`Delete row`,"table.copyRow":`Copy row`,"table.moveUp":`Move up`,"table.moveDown":`Move down`,"table.addRowSuccess":`Row added`,"table.insertRowSuccess":`Row inserted`,"table.deleteRowSuccess":`Row deleted`,"table.copyRowSuccess":`Row copied`,"table.moveUpSuccess":`Row moved up`,"table.moveDownSuccess":`Row moved down`,"table.selectRowFirst":`Select a row first`,"table.selectDeleteRowFirst":`Select a row to delete first`,"table.selectCopyRowFirst":`Select a row to copy first`,"table.firstRow":`This is already the first row`,"table.lastRow":`This is already the last row`,"table.deleteRowContent":`Are you sure you want to delete the selected row? This cannot be undone.`,"table.confirmDeleteRow":`Delete row`,"table.printTargetMissing":`Print target was not found`,"table.downloadTargetMissing":`Download target was not found`,"table.invalidRowKeys":`{count} table row keys are missing or duplicated`,"breadcrumb.label":`Breadcrumb`,"breadcrumb.expandPath":`Show full path`,"breadcrumb.fullPath":`Full path`,"breadcrumb.directoryPages":`Directory pages`,"breadcrumb.pageCount":`{count} pages`,"breadcrumb.current":`Current`,"form.required":`{label} is required`,"search.valueRequired":`Enter a search term or choose a filter`,"search.failed":`Search failed`,"captcha.trigger":`Click to verify`,"captcha.verifying":`Verifying…`,"captcha.success":`Verified`,"captcha.failed":`Verification failed. Try again.`,"captcha.reset":`Verify again`,"captcha.puzzleFailed":`Puzzle verification failed`,"captcha.verifyFailed":`Server verification failed`,"captcha.loadFailed":`Failed to load captcha`}),o=(e,t)=>t?e.replace(/\{([^{}]+)\}/g,(e,n)=>Object.prototype.hasOwnProperty.call(t,n)?String(t[n]):e):e;function s(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function c(e){return e===`en-US`?a:i}function l(e,t={},n={},r){let i=t.t??n.t;if(i)return i(e,r);let a=c(t.locale??n.locale);return o(s(t.messages,e)??s(n.messages,e)??s(a,e)??e,r)}function u(i){let a=t()?n(e,{}):{};return{t:(e,t)=>l(e,r(i),a,t)}}export{u as t};
|
|
@@ -53,19 +53,20 @@ interface ImageCropperEmits {
|
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Error) => any;
|
|
55
55
|
ready: () => any;
|
|
56
|
-
crop: (result: CropResult) => any;
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
58
56
|
cancel: () => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
61
|
onReady?: (() => any) | undefined;
|
|
62
|
-
onCrop?: ((result: CropResult) => any) | undefined;
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
62
|
onCancel?: (() => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
66
|
height: string | number;
|
|
68
67
|
showToolbar: boolean;
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
modalTitle: string;
|
|
69
70
|
showPreview: boolean;
|
|
70
71
|
src: string;
|
|
71
72
|
aspectRatio: number;
|
|
@@ -75,7 +76,6 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
75
76
|
maxOutputHeight: number;
|
|
76
77
|
circular: boolean;
|
|
77
78
|
modal: boolean;
|
|
78
|
-
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -53,19 +53,20 @@ interface ImageCropperEmits {
|
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Error) => any;
|
|
55
55
|
ready: () => any;
|
|
56
|
-
crop: (result: CropResult) => any;
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
58
56
|
cancel: () => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
61
|
onReady?: (() => any) | undefined;
|
|
62
|
-
onCrop?: ((result: CropResult) => any) | undefined;
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
62
|
onCancel?: (() => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
66
|
height: string | number;
|
|
68
67
|
showToolbar: boolean;
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
modalTitle: string;
|
|
69
70
|
showPreview: boolean;
|
|
70
71
|
src: string;
|
|
71
72
|
aspectRatio: number;
|
|
@@ -75,7 +76,6 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
75
76
|
maxOutputHeight: number;
|
|
76
77
|
circular: boolean;
|
|
77
78
|
modal: boolean;
|
|
78
|
-
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
|
@@ -8,11 +8,6 @@ import { NAIVE_COMBOS, NaiveRule, PRESET_RULES, RuleSpec, RuleSpec as RuleSpec$1
|
|
|
8
8
|
//#region src/components/C_Form/utils/formValidation.d.ts
|
|
9
9
|
/** 原生规则、验证库规则和框架无关规则均可直接作为字段配置。 */
|
|
10
10
|
type FormValidationRule = FormItemRule | NaiveRule | RuleSpec;
|
|
11
|
-
type NativePresetRule = FormItemRule & Pick<NaiveRule, 'trigger' | 'validator' | 'required' | 'message'>;
|
|
12
|
-
type NativeRuleFactories<T> = { readonly [Key in keyof T]: T[Key] extends ((...args: infer Args) => infer Result) ? (...args: Args) => Result extends readonly NaiveRule[] ? NativePresetRule[] : Result extends NaiveRule ? NativePresetRule : Result : T[Key] };
|
|
13
|
-
/** 运行时保持验证库的工厂对象,只有公开类型在组件包内统一适配。 */
|
|
14
|
-
declare const PRESET_RULES$1: NativeRuleFactories<typeof PRESET_RULES>;
|
|
15
|
-
declare const NAIVE_COMBOS$1: NativeRuleFactories<typeof NAIVE_COMBOS>;
|
|
16
11
|
//#endregion
|
|
17
12
|
//#region src/components/C_Form/types.d.ts
|
|
18
13
|
type MaybePromise<T> = T | Promise<T>;
|
|
@@ -480,7 +475,7 @@ interface LayoutCallbacks<T extends object = FormRecord> {
|
|
|
480
475
|
onGroupToggle?: (groupKey: string, collapsed: boolean) => void;
|
|
481
476
|
onGroupReset?: (groupKey: string) => void;
|
|
482
477
|
onFieldsChange?: (fields: FormOption<T>[]) => void;
|
|
483
|
-
onSubmit?: (payload: SubmitEventPayload<T>, context?: FormSubmitContext) =>
|
|
478
|
+
onSubmit?: (payload: SubmitEventPayload<T>, context?: FormSubmitContext) => unknown;
|
|
484
479
|
onError?: (error: unknown, context: FormErrorContext) => void;
|
|
485
480
|
}
|
|
486
481
|
/**
|
|
@@ -652,8 +647,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
652
647
|
} & {
|
|
653
648
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
654
649
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
655
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
656
650
|
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
651
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
657
652
|
}> & (typeof globalThis extends {
|
|
658
653
|
__VLS_PROPS_FALLBACK: infer P;
|
|
659
654
|
} ? P : {});
|
|
@@ -688,7 +683,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
688
683
|
}>) => void;
|
|
689
684
|
attrs: any;
|
|
690
685
|
slots: FormSlots<T>;
|
|
691
|
-
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-
|
|
686
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
|
|
692
687
|
}>) => vue.VNode & {
|
|
693
688
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
694
689
|
};
|
|
@@ -822,4 +817,4 @@ type DynamicFormStateType = DynamicFormController;
|
|
|
822
817
|
*/
|
|
823
818
|
declare const DYNAMIC_FORM_STATE_KEY: unique symbol;
|
|
824
819
|
//#endregion
|
|
825
|
-
export { FormStepActionsSlotProps as $, ResolvedFormConfig as A, DynamicFormConfig as B, unregisterRenderer as C, FormConfig as D, FORM_GLOBAL_CONFIG_KEY as E, AsyncOptionsContext as F, FormActionSlotProps as G, DynamicFormState as H, CardLayoutConfig as I, FormMode as J, FormErrorContext as K, ComponentType as L, resolveFormConfig as M, shouldShowActions as N, LAYOUTS_WITH_OWN_CONTROLS as O, useFormGlobalConfig as P, FormSlots as Q, CustomLayoutConfig as R, registerRenderer as S, FORM_DEFAULTS as T, FieldPath as U, DynamicFormController as V, FieldPathValue as W, FormOption as X, FormModel as Y, FormRecord as Z, FormRendererContext as _, UseFormDirtyReturn as a, LayoutConfig as at, UseFormRendererOptions as b, UseCFormOptions as c, OptionItem as ct, defineFormOptions as d, TabsLayoutConfig as dt, FormSubmitContext as et, useCForm as f, FormValidationRule as ft, FormRenderer as g, SPEC_RULES as gt, FORM_RENDERER_REGISTRY_KEY as h, RuleSpec$1 as ht, useDynamicFormState as i, LabelPlacement as it, mergeFormConfig as j, LayoutCallbacks as k, UseCFormReturn as l, StepsLayoutConfig as lt, ComponentMap as m, PRESET_RULES
|
|
820
|
+
export { FormStepActionsSlotProps as $, ResolvedFormConfig as A, DynamicFormConfig as B, unregisterRenderer as C, FormConfig as D, FORM_GLOBAL_CONFIG_KEY as E, AsyncOptionsContext as F, FormActionSlotProps as G, DynamicFormState as H, CardLayoutConfig as I, FormMode as J, FormErrorContext as K, ComponentType as L, resolveFormConfig as M, shouldShowActions as N, LAYOUTS_WITH_OWN_CONTROLS as O, useFormGlobalConfig as P, FormSlots as Q, CustomLayoutConfig as R, registerRenderer as S, FORM_DEFAULTS as T, FieldPath as U, DynamicFormController as V, FieldPathValue as W, FormOption as X, FormModel as Y, FormRecord as Z, FormRendererContext as _, UseFormDirtyReturn as a, LayoutConfig as at, UseFormRendererOptions as b, UseCFormOptions as c, OptionItem as ct, defineFormOptions as d, TabsLayoutConfig as dt, FormSubmitContext as et, useCForm as f, FormValidationRule as ft, FormRenderer as g, SPEC_RULES as gt, FORM_RENDERER_REGISTRY_KEY as h, RuleSpec$1 as ht, useDynamicFormState as i, LabelPlacement as it, mergeFormConfig as j, LayoutCallbacks as k, UseCFormReturn as l, StepsLayoutConfig as lt, ComponentMap as m, PRESET_RULES as mt, DynamicFormStateType as n, GridLayoutConfig as nt, useFormDirty as o, LayoutType as ot, _default as p, NAIVE_COMBOS as pt, FormInstance as q, FIELD_TYPE_OPTIONS as r, InlineLayoutConfig as rt, useFormState as s, MaybePromise as st, DYNAMIC_FORM_STATE_KEY as t, FormTabActionsSlotProps as tt, defineFormConfig as u, SubmitEventPayload as ut, FormRendererRegistry as v, useFormRenderer as w, createFormRendererRegistry as x, RendererProps as y, DynamicFieldConfig as z };
|
|
@@ -8,11 +8,6 @@ import { NAIVE_COMBOS, NaiveRule, PRESET_RULES, RuleSpec, RuleSpec as RuleSpec$1
|
|
|
8
8
|
//#region src/components/C_Form/utils/formValidation.d.ts
|
|
9
9
|
/** 原生规则、验证库规则和框架无关规则均可直接作为字段配置。 */
|
|
10
10
|
type FormValidationRule = FormItemRule | NaiveRule | RuleSpec;
|
|
11
|
-
type NativePresetRule = FormItemRule & Pick<NaiveRule, 'trigger' | 'validator' | 'required' | 'message'>;
|
|
12
|
-
type NativeRuleFactories<T> = { readonly [Key in keyof T]: T[Key] extends ((...args: infer Args) => infer Result) ? (...args: Args) => Result extends readonly NaiveRule[] ? NativePresetRule[] : Result extends NaiveRule ? NativePresetRule : Result : T[Key] };
|
|
13
|
-
/** 运行时保持验证库的工厂对象,只有公开类型在组件包内统一适配。 */
|
|
14
|
-
declare const PRESET_RULES$1: NativeRuleFactories<typeof PRESET_RULES>;
|
|
15
|
-
declare const NAIVE_COMBOS$1: NativeRuleFactories<typeof NAIVE_COMBOS>;
|
|
16
11
|
//#endregion
|
|
17
12
|
//#region src/components/C_Form/types.d.ts
|
|
18
13
|
type MaybePromise<T> = T | Promise<T>;
|
|
@@ -480,7 +475,7 @@ interface LayoutCallbacks<T extends object = FormRecord> {
|
|
|
480
475
|
onGroupToggle?: (groupKey: string, collapsed: boolean) => void;
|
|
481
476
|
onGroupReset?: (groupKey: string) => void;
|
|
482
477
|
onFieldsChange?: (fields: FormOption<T>[]) => void;
|
|
483
|
-
onSubmit?: (payload: SubmitEventPayload<T>, context?: FormSubmitContext) =>
|
|
478
|
+
onSubmit?: (payload: SubmitEventPayload<T>, context?: FormSubmitContext) => unknown;
|
|
484
479
|
onError?: (error: unknown, context: FormErrorContext) => void;
|
|
485
480
|
}
|
|
486
481
|
/**
|
|
@@ -652,8 +647,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
652
647
|
} & {
|
|
653
648
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
654
649
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
655
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
656
650
|
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
651
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
657
652
|
}> & (typeof globalThis extends {
|
|
658
653
|
__VLS_PROPS_FALLBACK: infer P;
|
|
659
654
|
} ? P : {});
|
|
@@ -688,7 +683,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
688
683
|
}>) => void;
|
|
689
684
|
attrs: any;
|
|
690
685
|
slots: FormSlots<T>;
|
|
691
|
-
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-
|
|
686
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
|
|
692
687
|
}>) => vue.VNode & {
|
|
693
688
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
694
689
|
};
|
|
@@ -822,4 +817,4 @@ type DynamicFormStateType = DynamicFormController;
|
|
|
822
817
|
*/
|
|
823
818
|
declare const DYNAMIC_FORM_STATE_KEY: unique symbol;
|
|
824
819
|
//#endregion
|
|
825
|
-
export { FormStepActionsSlotProps as $, ResolvedFormConfig as A, DynamicFormConfig as B, unregisterRenderer as C, FormConfig as D, FORM_GLOBAL_CONFIG_KEY as E, AsyncOptionsContext as F, FormActionSlotProps as G, DynamicFormState as H, CardLayoutConfig as I, FormMode as J, FormErrorContext as K, ComponentType as L, resolveFormConfig as M, shouldShowActions as N, LAYOUTS_WITH_OWN_CONTROLS as O, useFormGlobalConfig as P, FormSlots as Q, CustomLayoutConfig as R, registerRenderer as S, FORM_DEFAULTS as T, FieldPath as U, DynamicFormController as V, FieldPathValue as W, FormOption as X, FormModel as Y, FormRecord as Z, FormRendererContext as _, UseFormDirtyReturn as a, LayoutConfig as at, UseFormRendererOptions as b, UseCFormOptions as c, OptionItem as ct, defineFormOptions as d, TabsLayoutConfig as dt, FormSubmitContext as et, useCForm as f, FormValidationRule as ft, FormRenderer as g, SPEC_RULES as gt, FORM_RENDERER_REGISTRY_KEY as h, RuleSpec$1 as ht, useDynamicFormState as i, LabelPlacement as it, mergeFormConfig as j, LayoutCallbacks as k, UseCFormReturn as l, StepsLayoutConfig as lt, ComponentMap as m, PRESET_RULES
|
|
820
|
+
export { FormStepActionsSlotProps as $, ResolvedFormConfig as A, DynamicFormConfig as B, unregisterRenderer as C, FormConfig as D, FORM_GLOBAL_CONFIG_KEY as E, AsyncOptionsContext as F, FormActionSlotProps as G, DynamicFormState as H, CardLayoutConfig as I, FormMode as J, FormErrorContext as K, ComponentType as L, resolveFormConfig as M, shouldShowActions as N, LAYOUTS_WITH_OWN_CONTROLS as O, useFormGlobalConfig as P, FormSlots as Q, CustomLayoutConfig as R, registerRenderer as S, FORM_DEFAULTS as T, FieldPath as U, DynamicFormController as V, FieldPathValue as W, FormOption as X, FormModel as Y, FormRecord as Z, FormRendererContext as _, UseFormDirtyReturn as a, LayoutConfig as at, UseFormRendererOptions as b, UseCFormOptions as c, OptionItem as ct, defineFormOptions as d, TabsLayoutConfig as dt, FormSubmitContext as et, useCForm as f, FormValidationRule as ft, FormRenderer as g, SPEC_RULES as gt, FORM_RENDERER_REGISTRY_KEY as h, RuleSpec$1 as ht, useDynamicFormState as i, LabelPlacement as it, mergeFormConfig as j, LayoutCallbacks as k, UseCFormReturn as l, StepsLayoutConfig as lt, ComponentMap as m, PRESET_RULES as mt, DynamicFormStateType as n, GridLayoutConfig as nt, useFormDirty as o, LayoutType as ot, _default as p, NAIVE_COMBOS as pt, FormInstance as q, FIELD_TYPE_OPTIONS as r, InlineLayoutConfig as rt, useFormState as s, MaybePromise as st, DYNAMIC_FORM_STATE_KEY as t, FormTabActionsSlotProps as tt, defineFormConfig as u, SubmitEventPayload as ut, FormRendererRegistry as v, useFormRenderer as w, createFormRendererRegistry as x, RendererProps as y, DynamicFieldConfig as z };
|
|
@@ -264,11 +264,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
-
readonly: boolean;
|
|
268
|
-
height: string | number;
|
|
269
|
-
theme: "light" | "dark";
|
|
270
267
|
width: string | number;
|
|
268
|
+
height: string | number;
|
|
269
|
+
readonly: boolean;
|
|
271
270
|
showToolbar: boolean;
|
|
271
|
+
theme: "light" | "dark";
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
274
274
|
//#endregion
|
|
@@ -264,11 +264,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
-
readonly: boolean;
|
|
268
|
-
height: string | number;
|
|
269
|
-
theme: "light" | "dark";
|
|
270
267
|
width: string | number;
|
|
268
|
+
height: string | number;
|
|
269
|
+
readonly: boolean;
|
|
271
270
|
showToolbar: boolean;
|
|
271
|
+
theme: "light" | "dark";
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
274
274
|
//#endregion
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -10,11 +10,11 @@ type __VLS_Props = {
|
|
|
10
10
|
inline?: boolean;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
13
|
-
download: (file: string | File) => any;
|
|
14
13
|
preview: (file: string | File) => any;
|
|
14
|
+
download: (file: string | File) => any;
|
|
15
15
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
17
16
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
17
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
fileName: string;
|
|
20
20
|
autoPreview: boolean;
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ type __VLS_Props = {
|
|
|
10
10
|
inline?: boolean;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
13
|
-
download: (file: string | File) => any;
|
|
14
13
|
preview: (file: string | File) => any;
|
|
14
|
+
download: (file: string | File) => any;
|
|
15
15
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
17
16
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
17
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
fileName: string;
|
|
20
20
|
autoPreview: boolean;
|
|
@@ -52,8 +52,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
52
52
|
openDialog: () => Promise<void>;
|
|
53
53
|
closeDialog: () => void;
|
|
54
54
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
55
|
-
placeholder: string;
|
|
56
55
|
emptyText: string;
|
|
56
|
+
placeholder: string;
|
|
57
57
|
resultGroupTitle: string;
|
|
58
58
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
59
59
|
declare const _default: typeof __VLS_export;
|
|
@@ -52,8 +52,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
52
52
|
openDialog: () => Promise<void>;
|
|
53
53
|
closeDialog: () => void;
|
|
54
54
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
55
|
-
placeholder: string;
|
|
56
55
|
emptyText: string;
|
|
56
|
+
placeholder: string;
|
|
57
57
|
resultGroupTitle: string;
|
|
58
58
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
59
59
|
declare const _default: typeof __VLS_export;
|
|
@@ -89,9 +89,9 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
89
89
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
loading: boolean;
|
|
93
|
-
columns: number;
|
|
94
92
|
gap: number;
|
|
93
|
+
columns: number;
|
|
94
|
+
loading: boolean;
|
|
95
95
|
lazy: boolean;
|
|
96
96
|
infinite: boolean;
|
|
97
97
|
skeleton: boolean;
|
|
@@ -89,9 +89,9 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
89
89
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
loading: boolean;
|
|
93
|
-
columns: number;
|
|
94
92
|
gap: number;
|
|
93
|
+
columns: number;
|
|
94
|
+
loading: boolean;
|
|
95
95
|
lazy: boolean;
|
|
96
96
|
infinite: boolean;
|
|
97
97
|
skeleton: boolean;
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -50,16 +50,16 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
size: number;
|
|
54
53
|
label: string;
|
|
55
|
-
|
|
54
|
+
showBorder: boolean;
|
|
55
|
+
showLabel: boolean;
|
|
56
|
+
size: number;
|
|
56
57
|
mode: RenderMode;
|
|
57
|
-
|
|
58
|
+
color: string;
|
|
58
59
|
bgColor: string;
|
|
59
60
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
61
|
+
margin: number;
|
|
60
62
|
logo: LogoOptions;
|
|
61
|
-
showBorder: boolean;
|
|
62
|
-
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,16 +50,16 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
size: number;
|
|
54
53
|
label: string;
|
|
55
|
-
|
|
54
|
+
showBorder: boolean;
|
|
55
|
+
showLabel: boolean;
|
|
56
|
+
size: number;
|
|
56
57
|
mode: RenderMode;
|
|
57
|
-
|
|
58
|
+
color: string;
|
|
58
59
|
bgColor: string;
|
|
59
60
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
61
|
+
margin: number;
|
|
60
62
|
logo: LogoOptions;
|
|
61
|
-
showBorder: boolean;
|
|
62
|
-
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
|
@@ -92,8 +92,8 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
|
-
clear: () => any;
|
|
96
95
|
error: (error: Error) => any;
|
|
96
|
+
clear: () => any;
|
|
97
97
|
change: (data: SignatureStroke[]) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
@@ -101,8 +101,8 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
-
onClear?: (() => any) | undefined;
|
|
105
104
|
onError?: ((error: Error) => any) | undefined;
|
|
105
|
+
onClear?: (() => any) | undefined;
|
|
106
106
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
@@ -110,11 +110,11 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
disabled: boolean;
|
|
114
|
-
readonly: boolean;
|
|
115
|
-
height: number | string;
|
|
116
113
|
width: number | string;
|
|
114
|
+
height: number | string;
|
|
115
|
+
readonly: boolean;
|
|
117
116
|
showToolbar: boolean;
|
|
117
|
+
disabled: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -92,8 +92,8 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
|
-
clear: () => any;
|
|
96
95
|
error: (error: Error) => any;
|
|
96
|
+
clear: () => any;
|
|
97
97
|
change: (data: SignatureStroke[]) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
@@ -101,8 +101,8 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
-
onClear?: (() => any) | undefined;
|
|
105
104
|
onError?: ((error: Error) => any) | undefined;
|
|
105
|
+
onClear?: (() => any) | undefined;
|
|
106
106
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
@@ -110,11 +110,11 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
disabled: boolean;
|
|
114
|
-
readonly: boolean;
|
|
115
|
-
height: number | string;
|
|
116
113
|
width: number | string;
|
|
114
|
+
height: number | string;
|
|
115
|
+
readonly: boolean;
|
|
117
116
|
showToolbar: boolean;
|
|
117
|
+
disabled: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -55,26 +55,26 @@ type __VLS_Slots = {
|
|
|
55
55
|
second(props: PanelInfo): unknown;
|
|
56
56
|
};
|
|
57
57
|
declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
+
"drag-start": (size: number) => any;
|
|
59
|
+
"drag-end": (size: number) => any;
|
|
58
60
|
expand: (target: CollapseTarget) => any;
|
|
59
61
|
collapse: (target: CollapseTarget) => any;
|
|
60
62
|
resize: (firstSize: number, secondSize: number) => any;
|
|
61
63
|
"update:size": (size: number) => any;
|
|
62
|
-
"drag-start": (size: number) => any;
|
|
63
|
-
"drag-end": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
+
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
66
|
+
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
65
67
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
66
68
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
67
69
|
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
68
70
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
69
|
-
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
70
|
-
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
+
direction: SplitDirection;
|
|
72
73
|
disabled: boolean;
|
|
73
|
-
maxSize: number;
|
|
74
74
|
ariaLabel: string;
|
|
75
|
-
direction: SplitDirection;
|
|
76
75
|
defaultSize: number;
|
|
77
76
|
minSize: number;
|
|
77
|
+
maxSize: number;
|
|
78
78
|
minFirstSize: number;
|
|
79
79
|
minSecondSize: number;
|
|
80
80
|
collapsible: boolean;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -55,26 +55,26 @@ type __VLS_Slots = {
|
|
|
55
55
|
second(props: PanelInfo): unknown;
|
|
56
56
|
};
|
|
57
57
|
declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
+
"drag-start": (size: number) => any;
|
|
59
|
+
"drag-end": (size: number) => any;
|
|
58
60
|
expand: (target: CollapseTarget) => any;
|
|
59
61
|
collapse: (target: CollapseTarget) => any;
|
|
60
62
|
resize: (firstSize: number, secondSize: number) => any;
|
|
61
63
|
"update:size": (size: number) => any;
|
|
62
|
-
"drag-start": (size: number) => any;
|
|
63
|
-
"drag-end": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
+
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
66
|
+
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
65
67
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
66
68
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
67
69
|
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
68
70
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
69
|
-
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
70
|
-
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
+
direction: SplitDirection;
|
|
72
73
|
disabled: boolean;
|
|
73
|
-
maxSize: number;
|
|
74
74
|
ariaLabel: string;
|
|
75
|
-
direction: SplitDirection;
|
|
76
75
|
defaultSize: number;
|
|
77
76
|
minSize: number;
|
|
77
|
+
maxSize: number;
|
|
78
78
|
minFirstSize: number;
|
|
79
79
|
minSecondSize: number;
|
|
80
80
|
collapsible: boolean;
|