@robot-admin/naive-ui-components 0.31.5 → 0.33.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 +18 -0
- package/README.md +11 -5
- package/README_EN.md +11 -5
- package/dist/C_AutoComplete.cjs +1 -0
- package/dist/C_AutoComplete.css +36 -0
- package/dist/C_AutoComplete.d.cts +4 -0
- package/dist/C_AutoComplete.d.ts +4 -0
- package/dist/C_AutoComplete.js +1 -0
- package/dist/C_AutoComplete2.cjs +1 -0
- package/dist/C_AutoComplete2.js +1 -0
- package/dist/C_AvatarGroup.d.cts +1 -1
- package/dist/C_AvatarGroup.d.ts +1 -1
- package/dist/C_Barcode.d.cts +1 -1
- package/dist/C_Barcode.d.ts +1 -1
- package/dist/C_BatchResult.d.cts +1 -1
- package/dist/C_BatchResult.d.ts +1 -1
- package/dist/C_Breadcrumb.d.cts +2 -2
- package/dist/C_Breadcrumb.d.ts +1 -1
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.d.ts +1 -1
- package/dist/C_Chat.d.cts +1 -1
- package/dist/C_Chat.d.ts +1 -1
- package/dist/C_City.d.cts +1 -1
- package/dist/C_City.d.ts +1 -1
- package/dist/C_Code.d.cts +1 -1
- package/dist/C_Code.d.ts +1 -1
- package/dist/C_ContextMenu.d.cts +1 -1
- package/dist/C_ContextMenu.d.ts +1 -1
- package/dist/C_DataPicker.css +235 -31
- package/dist/C_DataPicker.d.cts +2 -2
- package/dist/C_DataPicker.d.ts +2 -2
- package/dist/C_Date.d.cts +1 -1
- package/dist/C_Date.d.ts +1 -1
- package/dist/C_Density.d.cts +1 -1
- package/dist/C_Density.d.ts +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_ErrorSummary.d.cts +1 -1
- package/dist/C_ErrorSummary.d.ts +1 -1
- package/dist/C_Form.base.css +68 -1
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Form.css +68 -1
- package/dist/C_Form.d.cts +3 -3
- package/dist/C_Form.d.ts +5 -3
- package/dist/C_Form.js +1 -1
- package/dist/C_FormModal.cjs +1 -1
- package/dist/C_FormModal.d.cts +1 -1
- package/dist/C_FormModal.d.ts +3 -1
- package/dist/C_FormModal.js +1 -1
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +160 -72
- package/dist/C_FormSearch.d.cts +3 -3
- package/dist/C_FormSearch.d.ts +3 -3
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_Guide.d.cts +1 -1
- package/dist/C_Guide.d.ts +1 -1
- package/dist/C_Icon.d.cts +1 -1
- package/dist/C_Icon.d.ts +1 -1
- package/dist/C_Language.d.cts +1 -1
- package/dist/C_Language.d.ts +1 -1
- package/dist/C_Loading.d.cts +1 -1
- package/dist/C_Loading.d.ts +1 -1
- package/dist/C_Login.d.cts +1 -1
- package/dist/C_Login.d.ts +1 -1
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Menu.d.cts +2 -2
- package/dist/C_Menu.d.ts +1 -1
- package/dist/C_OrgChart.d.cts +1 -1
- package/dist/C_OrgChart.d.ts +1 -1
- package/dist/C_Progress.d.cts +1 -1
- package/dist/C_Progress.d.ts +1 -1
- package/dist/C_SectionNav.d.cts +1 -1
- package/dist/C_SectionNav.d.ts +1 -1
- package/dist/C_Select.css +32 -1
- package/dist/C_Select.d.cts +4 -2
- package/dist/C_Select.d.ts +4 -2
- package/dist/C_Select2.cjs +1 -1
- package/dist/C_Select2.js +1 -1
- package/dist/C_Skeleton.d.cts +1 -1
- package/dist/C_Skeleton.d.ts +1 -1
- package/dist/C_Steps.d.cts +1 -1
- package/dist/C_Steps.d.ts +1 -1
- package/dist/C_Table.base.css +214 -147
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +146 -146
- package/dist/C_Table.d.cts +3 -3
- package/dist/C_Table.d.ts +13 -10
- package/dist/C_Table.js +1 -1
- package/dist/C_Table2.cjs +4 -3
- package/dist/C_Table2.js +4 -3
- package/dist/C_TagsView.css +51 -51
- package/dist/C_TagsView.d.cts +2 -2
- package/dist/C_TagsView.d.ts +1 -1
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_Theme.d.cts +1 -1
- package/dist/C_Theme.d.ts +1 -1
- package/dist/C_Timeline.d.cts +1 -1
- package/dist/C_Timeline.d.ts +1 -1
- package/dist/C_Transfer.d.cts +1 -1
- package/dist/C_Transfer.d.ts +1 -1
- package/dist/C_Tree.cjs +1 -1
- package/dist/C_Tree.css +60 -23
- package/dist/C_Tree.d.cts +2 -2
- package/dist/C_Tree.d.ts +12 -9
- package/dist/C_Tree.js +1 -1
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/OptionStatus.cjs +1 -0
- package/dist/OptionStatus.js +1 -0
- package/dist/SearchFieldSettings.cjs +1 -0
- package/dist/SearchFieldSettings.js +1 -0
- package/dist/constants4.d.cts +9 -9
- package/dist/constants4.d.ts +9 -9
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +2 -1
- package/dist/data.d.ts +2 -1
- package/dist/data2.d.cts +7 -7
- package/dist/data2.d.ts +7 -7
- package/dist/dateRange.d.cts +52 -7
- package/dist/dateRange.d.ts +52 -7
- package/dist/editors.cjs +1 -0
- package/dist/{useTableQuery.d.cts → editors.d.cts} +120 -13
- package/dist/{useTableQuery.d.ts → editors.d.ts} +120 -13
- package/dist/editors.js +1 -0
- package/dist/fieldRenderers.cjs +1 -0
- package/dist/fieldRenderers.js +1 -0
- package/dist/formField.cjs +1 -1
- package/dist/formField.d.cts +79 -29
- package/dist/formField.d.ts +79 -29
- package/dist/formField.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +63 -59
- package/dist/index.d.ts +63 -58
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +5 -5
- package/dist/index.vue.d.ts +5 -5
- package/dist/index10.vue.d.cts +27 -35
- package/dist/index10.vue.d.ts +37 -80
- package/dist/index11.vue.d.cts +37 -80
- package/dist/index11.vue.d.ts +83 -16
- package/dist/index12.vue.d.cts +83 -16
- package/dist/index12.vue.d.ts +16 -59
- package/dist/index13.vue.d.cts +16 -59
- package/dist/index13.vue.d.ts +57 -17
- package/dist/index14.vue.d.cts +57 -17
- package/dist/index14.vue.d.ts +18 -55
- package/dist/index15.vue.d.cts +18 -55
- package/dist/index15.vue.d.ts +53 -124
- package/dist/index16.vue.d.cts +53 -124
- package/dist/index16.vue.d.ts +123 -51
- package/dist/index17.vue.d.cts +123 -51
- package/dist/index17.vue.d.ts +52 -25
- package/dist/index18.vue.d.cts +52 -25
- package/dist/index18.vue.d.ts +25 -12
- package/dist/index19.vue.d.cts +25 -12
- package/dist/index19.vue.d.ts +13 -129
- package/dist/index2.vue.d.cts +26 -82
- package/dist/index2.vue.d.ts +26 -82
- package/dist/index20.vue.d.cts +13 -129
- package/dist/index20.vue.d.ts +129 -76
- package/dist/index21.vue.d.cts +129 -76
- package/dist/index21.vue.d.ts +78 -72
- package/dist/index22.vue.d.cts +75 -97
- package/dist/index22.vue.d.ts +68 -96
- package/dist/index23.vue.d.cts +91 -40
- package/dist/index23.vue.d.ts +91 -40
- package/dist/index24.vue.d.cts +49 -23
- package/dist/index24.vue.d.ts +49 -23
- package/dist/index25.vue.d.cts +19 -46
- package/dist/index25.vue.d.ts +19 -46
- package/dist/index26.vue.d.cts +25 -98
- package/dist/index26.vue.d.ts +25 -98
- package/dist/index27.vue.d.cts +95 -37
- package/dist/index27.vue.d.ts +95 -37
- package/dist/index28.vue.d.cts +34 -8
- package/dist/index28.vue.d.ts +34 -8
- package/dist/index29.vue.d.cts +9 -86
- package/dist/index29.vue.d.ts +9 -86
- package/dist/index3.vue.d.cts +80 -30
- package/dist/index3.vue.d.ts +80 -30
- package/dist/index30.vue.d.cts +85 -99
- package/dist/index30.vue.d.ts +85 -99
- package/dist/index31.vue.d.cts +94 -63
- package/dist/index31.vue.d.ts +94 -63
- package/dist/index32.vue.d.cts +79 -0
- package/dist/index32.vue.d.ts +79 -0
- package/dist/index4.vue.d.cts +30 -19
- package/dist/index4.vue.d.ts +30 -19
- package/dist/index5.vue.d.cts +19 -128
- package/dist/index5.vue.d.ts +17 -34
- package/dist/index6.vue.d.cts +127 -35
- package/dist/index6.vue.d.ts +30 -22
- package/dist/index7.vue.d.cts +30 -22
- package/dist/index7.vue.d.ts +25 -118
- package/dist/index8.vue.d.cts +25 -118
- package/dist/index8.vue.d.ts +112 -21
- package/dist/index9.vue.d.cts +112 -21
- package/dist/index9.vue.d.ts +27 -35
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/optionSource.d.cts +30 -0
- package/dist/optionSource.d.ts +30 -0
- package/dist/public.d.ts +2 -0
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/selectPresentation.cjs +1 -1
- package/dist/selectPresentation.js +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/sourceControls.cjs +1 -0
- package/dist/sourceControls.js +1 -0
- package/dist/style.css +513 -324
- package/dist/types2.d.cts +29 -103
- package/dist/types2.d.ts +30 -55
- package/dist/types3.d.cts +106 -55
- package/dist/types3.d.ts +60 -0
- package/dist/types4.d.cts +60 -0
- package/dist/types4.d.ts +50 -0
- package/dist/types5.d.cts +50 -0
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +9 -9
- package/dist/useCropperCore.d.ts +9 -9
- package/dist/useDataResource.cjs +1 -1
- package/dist/useDataResource.js +1 -1
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useDynamicFormState.d.cts +17 -3
- package/dist/useDynamicFormState.d.ts +17 -3
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFormConfig.d.cts +5 -2
- package/dist/useFormConfig.d.ts +5 -2
- package/dist/useFormRenderer.d.cts +1 -1
- package/dist/useFormRenderer.d.ts +1 -1
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useGlobalSearch.d.cts +8 -0
- package/dist/useGlobalSearch.d.ts +8 -0
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +7 -7
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useWorkflowValidation.d.cts +4 -4
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/dist/verification.d.cts +6 -6
- package/dist/verification.d.ts +6 -6
- package/docs/architecture.md +3 -1
- package/docs/components.en.md +2 -1
- package/docs/components.md +2 -1
- package/docs/engineering.en.md +11 -1
- package/docs/engineering.md +11 -1
- package/docs/guides/component-contracts.md +72 -0
- package/docs/guides/data-picker.md +37 -1
- package/docs/guides/remote-options.md +117 -0
- package/docs/guides/search-workflows.md +162 -2
- package/docs/guides/table-editing.md +79 -0
- package/docs/guides/tree.en.md +41 -0
- package/docs/guides/tree.md +80 -1
- package/docs/search-selection-coverage.md +59 -0
- package/docs/wl-ui-produce-coverage.md +2 -0
- package/package.json +6 -3
- package/dist/helpers2.cjs +0 -1
- package/dist/helpers2.js +0 -1
- package/dist/temporalField.cjs +0 -1
- package/dist/temporalField.js +0 -1
- package/dist/useTableQuery.cjs +0 -1
- package/dist/useTableQuery.js +0 -1
|
@@ -73,20 +73,20 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
73
73
|
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 };
|
|
74
74
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
75
75
|
change: (activeKeys: string[]) => any;
|
|
76
|
-
collapse: (key: string) => any;
|
|
77
76
|
expand: (key: string) => any;
|
|
77
|
+
collapse: (key: string) => any;
|
|
78
78
|
"update:activeKeys": (keys: string[]) => any;
|
|
79
79
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
80
80
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
81
|
-
onCollapse?: ((key: string) => any) | undefined;
|
|
82
81
|
onExpand?: ((key: string) => any) | undefined;
|
|
82
|
+
onCollapse?: ((key: string) => any) | undefined;
|
|
83
83
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
85
|
bordered: boolean;
|
|
86
86
|
persistKey: string;
|
|
87
|
+
accordion: boolean;
|
|
87
88
|
activeKeys: string[];
|
|
88
89
|
defaultActiveKeys: string[];
|
|
89
|
-
accordion: boolean;
|
|
90
90
|
variant: CollapsePanelVariant;
|
|
91
91
|
expandIconPosition: ExpandIconPosition;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -73,20 +73,20 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
73
73
|
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 };
|
|
74
74
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
75
75
|
change: (activeKeys: string[]) => any;
|
|
76
|
-
collapse: (key: string) => any;
|
|
77
76
|
expand: (key: string) => any;
|
|
77
|
+
collapse: (key: string) => any;
|
|
78
78
|
"update:activeKeys": (keys: string[]) => any;
|
|
79
79
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
80
80
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
81
|
-
onCollapse?: ((key: string) => any) | undefined;
|
|
82
81
|
onExpand?: ((key: string) => any) | undefined;
|
|
82
|
+
onCollapse?: ((key: string) => any) | undefined;
|
|
83
83
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
85
|
bordered: boolean;
|
|
86
86
|
persistKey: string;
|
|
87
|
+
accordion: boolean;
|
|
87
88
|
activeKeys: string[];
|
|
88
89
|
defaultActiveKeys: string[];
|
|
89
|
-
accordion: boolean;
|
|
90
90
|
variant: CollapsePanelVariant;
|
|
91
91
|
expandIconPosition: ExpandIconPosition;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./config.cjs`);let t=require(`vue`);const n=Object.freeze({"validation.summary":`请检查以下内容`,"validation.previous":`上一组`,"validation.next":`下一组`,"options.failed":`选项加载失败`,"picker.title":`选择数据`,"picker.placeholder":`请选择`,"picker.searchPlaceholder":`输入关键字`,"picker.clear":`清空选择`,"picker.searchLabel":`搜索候选数据`,"picker.search":`搜索`,"picker.loadFailed":`候选数据加载失败`,"picker.labelFailed":`名称加载失败,保留原编码`,"picker.selected":`已选 {count} 项`,"picker.total":`共 {count} 条`,"picker.pagination":`候选数据分页`,"picker.moreSelected":`另 {count} 项`,"batch.title":`批量操作结果`,"batch.summary":`共 {total} 项,成功 {success},失败 {failure},冲突 {conflict},跳过 {skipped}`,"batch.filterLabel":`筛选操作结果`,"batch.all":`全部`,"batch.retry":`重试可重试项({count})`,"batch.id":`业务标识`,"batch.status":`结果`,"batch.message":`说明`,"batch.retryColumn":`重试`,"batch.retryable":`可重试`,"batch.success":`成功`,"batch.failure":`失败`,"batch.conflict":`冲突`,"batch.skipped":`跳过`,"section.navigation":`单据分区导航`,"section.errors":`{count} 项错误`,"notification.invalidResponse":`消息接口返回的数据或统计无效`,"notification.operationFailed":`消息操作失败,请重试`,"notification.missingFetch":`远程消息模式未配置 fetchNotifications`,"notification.missingAction":`远程消息模式未配置 {name} 接口`,"notification.expiredScope":`消息作用域已失效`,"chat.self":`Me`,"common.search":`搜索...`,"common.add":`新增`,"common.refresh":`刷新`,"common.expand":`展开详情`,"common.collapse":`收起`,"common.unknown":`未知`,"tree.search":`搜索树节点`,"tree.expandAll":`展开全部`,"tree.collapseAll":`收起全部`,"tree.menu.add":`新增子菜单`,"tree.menu.deleteConfirm":`确认删除该菜单吗?`,"tree.file.open":`打开`,"tree.file.rename":`重命名`,"tree.file.deleteConfirm":`确认删除该文件吗?`,"tree.org.add":`新增下级`,"transfer.source":`可选列表`,"transfer.target":`已选列表`,"transfer.empty":`暂无数据`,"transfer.emptyTarget":`未选择任何项`,"transfer.searchSource":`搜索可选列表`,"transfer.searchTarget":`搜索已选列表`,"transfer.toTarget":`移至已选列表`,"transfer.toSource":`移回可选列表`,"split.resize":`调整面板大小`,"split.expandFirst":`展开首面板`,"split.collapseFirst":`折叠首面板`,"split.expandSecond":`展开第二面板`,"split.collapseSecond":`折叠第二面板`,"chat.sessions":`会话`,"chat.search":`搜索联系人`,"chat.online":`在线`,"chat.empty":`暂无消息,发送第一条吧`,"chat.choose":`选择一个会话开始聊天`,"chat.placeholder":`输入消息...`,"chat.title":`聊天`,"chat.emoji":`表情`,"chat.attach":`添加附件`,"chat.send":`发送`,"chat.imagePreview":`预览{name}的图片`,"chat.image":`聊天图片`,"chat.file":`文件`,"chat.failed":`发送失败,点击重试`,"chat.sending":`发送中...`,"time.now":`刚刚`,"time.minutes":`{count}分钟前`,"time.hours":`{count}小时前`,"time.days":`{count}天前`,"time.weeks":`{count}周前`,"time.months":`{count}个月前`,"time.yesterday":`昨天 {time}`,"theme.light":`当前: 浅色模式 (点击切换)`,"theme.dark":`当前: 深色模式 (点击切换)`,"theme.system":`当前: 跟随系统 (点击切换)`,"language.switch":`语言切换`,"skeleton.loading":`加载中`,"timeline.loading":`加载中...`,"notification.title":`消息中心`,"notification.viewAll":`查看全部消息`,"notification.badge":`消息通知`,"notification.unreadBadge":`消息通知({count} 条未读)`,"notification.all":`全部`,"notification.system":`系统通知`,"notification.business":`业务消息`,"notification.alarm":`告警预警`,"notification.low":`低`,"notification.normal":`普通`,"notification.high":`重要`,"notification.urgent":`紧急`,"notification.markRead":`标记已读`,"notification.delete":`删除消息`,"notification.allRead":`全部已读`,"notification.clear":`清空`,"notification.loadMore":`加载更多`,"notification.loading":`加载中...`,"notification.empty":`暂无消息`,"notification.back":`返回列表`,"notification.details":`查看详情`,"notification.connected":`已连接`,"notification.connecting":`连接中...`,"notification.disconnected":`未连接`,"notification.reconnecting":`重连中...`,"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.rowNumber":`序号`,"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({"validation.summary":`Please check the following`,"validation.previous":`Previous group`,"validation.next":`Next group`,"picker.title":`Select data`,"picker.placeholder":`Please select`,"picker.searchPlaceholder":`Enter keywords`,"picker.clear":`Clear selection`,"picker.searchLabel":`Search candidates`,"picker.search":`Search`,"picker.loadFailed":`Could not load candidates`,"picker.labelFailed":`Could not load labels; original values are retained`,"picker.selected":`{count} selected`,"picker.total":`{count} results`,"picker.pagination":`Candidate pagination`,"picker.moreSelected":`{count} more`,"batch.title":`Batch operation results`,"batch.summary":`{total} items: {success} succeeded, {failure} failed, {conflict} conflicted, {skipped} skipped`,"batch.filterLabel":`Filter results`,"batch.all":`All`,"batch.retry":`Retry eligible items ({count})`,"options.failed":`Failed to load options`,"batch.id":`Business key`,"batch.status":`Result`,"batch.message":`Details`,"batch.retryColumn":`Retry`,"batch.retryable":`Retryable`,"batch.success":`Success`,"batch.failure":`Failure`,"batch.conflict":`Conflict`,"batch.skipped":`Skipped`,"section.navigation":`Document sections`,"section.errors":`{count} errors`,"notification.invalidResponse":`Invalid notification response or counts`,"notification.operationFailed":`Notification action failed. Try again.`,"notification.missingFetch":`Remote notifications require fetchNotifications`,"notification.missingAction":`Remote notifications require the {name} adapter`,"notification.expiredScope":`Notification scope has expired`,"chat.self":`Me`,"common.search":`Search...`,"common.add":`Add`,"common.refresh":`Refresh`,"common.expand":`Show details`,"common.collapse":`Collapse`,"common.unknown":`Unknown`,"tree.search":`Search tree nodes`,"tree.expandAll":`Expand all`,"tree.collapseAll":`Collapse all`,"tree.menu.add":`Add submenu`,"tree.menu.deleteConfirm":`Delete this menu?`,"tree.file.open":`Open`,"tree.file.rename":`Rename`,"tree.file.deleteConfirm":`Delete this file?`,"tree.org.add":`Add child`,"transfer.source":`Available`,"transfer.target":`Selected`,"transfer.empty":`No data`,"transfer.emptyTarget":`Nothing selected`,"transfer.searchSource":`Search available items`,"transfer.searchTarget":`Search selected items`,"transfer.toTarget":`Move to selected`,"transfer.toSource":`Move to available`,"split.resize":`Resize panels`,"split.expandFirst":`Expand first panel`,"split.collapseFirst":`Collapse first panel`,"split.expandSecond":`Expand second panel`,"split.collapseSecond":`Collapse second panel`,"chat.sessions":`Conversations`,"chat.search":`Search contacts`,"chat.online":`Online`,"chat.empty":`No messages yet. Send the first one.`,"chat.choose":`Select a conversation to start chatting`,"chat.placeholder":`Type a message...`,"chat.title":`Chat`,"chat.emoji":`Emoji`,"chat.attach":`Add attachment`,"chat.send":`Send`,"chat.imagePreview":`Preview image from {name}`,"chat.image":`Chat image`,"chat.file":`File`,"chat.failed":`Send failed. Click to retry.`,"chat.sending":`Sending...`,"time.now":`Just now`,"time.minutes":`{count} minutes ago`,"time.hours":`{count} hours ago`,"time.days":`{count} days ago`,"time.weeks":`{count} weeks ago`,"time.months":`{count} months ago`,"time.yesterday":`Yesterday {time}`,"theme.light":`Current: Light mode (click to switch)`,"theme.dark":`Current: Dark mode (click to switch)`,"theme.system":`Current: System mode (click to switch)`,"language.switch":`Switch language`,"skeleton.loading":`Loading`,"timeline.loading":`Loading...`,"notification.title":`Notification center`,"notification.viewAll":`View all notifications`,"notification.badge":`Notifications`,"notification.unreadBadge":`Notifications ({count} unread)`,"notification.all":`All`,"notification.system":`System`,"notification.business":`Business`,"notification.alarm":`Alerts`,"notification.low":`Low`,"notification.normal":`Normal`,"notification.high":`Important`,"notification.urgent":`Urgent`,"notification.markRead":`Mark as read`,"notification.delete":`Delete notification`,"notification.allRead":`Mark all as read`,"notification.clear":`Clear`,"notification.loadMore":`Load more`,"notification.loading":`Loading...`,"notification.empty":`No notifications`,"notification.back":`Back to list`,"notification.details":`View details`,"notification.connected":`Connected`,"notification.connecting":`Connecting...`,"notification.disconnected":`Disconnected`,"notification.reconnecting":`Reconnecting...`,"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.rowNumber":`No.`,"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.COMPONENT_LOCALE_KEY,{}):{};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(`./config.cjs`);let t=require(`vue`);const n=Object.freeze({"validation.summary":`请检查以下内容`,"validation.previous":`上一组`,"validation.next":`下一组`,"options.failed":`选项加载失败`,"options.loadMore":`加载更多`,"options.empty":`暂无选项`,"options.minChars":`输入至少 {count} 个字符`,"picker.title":`选择数据`,"picker.placeholder":`请选择`,"picker.searchPlaceholder":`输入关键字`,"picker.clear":`清空选择`,"picker.searchLabel":`搜索候选数据`,"picker.search":`搜索`,"picker.loadFailed":`候选数据加载失败`,"picker.labelFailed":`名称加载失败,保留原编码`,"picker.selected":`已选 {count} 项`,"picker.total":`共 {count} 条`,"picker.pagination":`候选数据分页`,"picker.moreSelected":`另 {count} 项`,"picker.quickSearch":`输入关键词快速选择`,"picker.more":`完整选择`,"picker.recent":`最近使用`,"picker.favorites":`收藏`,"picker.favorite":`收藏当前选择`,"picker.removeFavorite":`取消收藏`,"picker.selectionInvalid":`所选数据已失效或不可选择,请重新选择`,"picker.selectionFailed":`选择校验失败,请重试`,"picker.allCategories":`全部分类`,"batch.title":`批量操作结果`,"batch.summary":`共 {total} 项,成功 {success},失败 {failure},冲突 {conflict},跳过 {skipped}`,"batch.filterLabel":`筛选操作结果`,"batch.all":`全部`,"batch.retry":`重试可重试项({count})`,"batch.id":`业务标识`,"batch.status":`结果`,"batch.message":`说明`,"batch.retryColumn":`重试`,"batch.retryable":`可重试`,"batch.success":`成功`,"batch.failure":`失败`,"batch.conflict":`冲突`,"batch.skipped":`跳过`,"section.navigation":`单据分区导航`,"section.errors":`{count} 项错误`,"notification.invalidResponse":`消息接口返回的数据或统计无效`,"notification.operationFailed":`消息操作失败,请重试`,"notification.missingFetch":`远程消息模式未配置 fetchNotifications`,"notification.missingAction":`远程消息模式未配置 {name} 接口`,"notification.expiredScope":`消息作用域已失效`,"chat.self":`Me`,"common.search":`搜索...`,"common.add":`新增`,"common.refresh":`刷新`,"common.expand":`展开详情`,"common.collapse":`收起`,"common.unknown":`未知`,"tree.search":`搜索树节点`,"tree.searchLoading":`正在查找节点`,"tree.searchFailed":`查找失败,请重试`,"tree.searchCount":`找到 {total} 个结果`,"tree.loadingChildren":`加载子节点`,"tree.searchResults":`第 {current} / {total} 个结果`,"tree.searchPrevious":`上一个结果`,"tree.searchNext":`下一个结果`,"tree.searchRetry":`重试查找`,"tree.searchEmpty":`未找到匹配节点`,"tree.searchMinChars":`输入至少 {count} 个字符开始查找`,"search.fields":`查询字段`,"search.fieldSettings":`设置查询字段`,"search.restoreFields":`恢复默认字段`,"tree.expandAll":`展开全部`,"tree.collapseAll":`收起全部`,"tree.menu.add":`新增子菜单`,"tree.menu.deleteConfirm":`确认删除该菜单吗?`,"tree.file.open":`打开`,"tree.file.rename":`重命名`,"tree.file.deleteConfirm":`确认删除该文件吗?`,"tree.org.add":`新增下级`,"transfer.source":`可选列表`,"transfer.target":`已选列表`,"transfer.empty":`暂无数据`,"transfer.emptyTarget":`未选择任何项`,"transfer.searchSource":`搜索可选列表`,"transfer.searchTarget":`搜索已选列表`,"transfer.toTarget":`移至已选列表`,"transfer.toSource":`移回可选列表`,"split.resize":`调整面板大小`,"split.expandFirst":`展开首面板`,"split.collapseFirst":`折叠首面板`,"split.expandSecond":`展开第二面板`,"split.collapseSecond":`折叠第二面板`,"chat.sessions":`会话`,"chat.search":`搜索联系人`,"chat.online":`在线`,"chat.empty":`暂无消息,发送第一条吧`,"chat.choose":`选择一个会话开始聊天`,"chat.placeholder":`输入消息...`,"chat.title":`聊天`,"chat.emoji":`表情`,"chat.attach":`添加附件`,"chat.send":`发送`,"chat.imagePreview":`预览{name}的图片`,"chat.image":`聊天图片`,"chat.file":`文件`,"chat.failed":`发送失败,点击重试`,"chat.sending":`发送中...`,"time.now":`刚刚`,"time.minutes":`{count}分钟前`,"time.hours":`{count}小时前`,"time.days":`{count}天前`,"time.weeks":`{count}周前`,"time.months":`{count}个月前`,"time.yesterday":`昨天 {time}`,"theme.light":`当前: 浅色模式 (点击切换)`,"theme.dark":`当前: 深色模式 (点击切换)`,"theme.system":`当前: 跟随系统 (点击切换)`,"language.switch":`语言切换`,"skeleton.loading":`加载中`,"timeline.loading":`加载中...`,"notification.title":`消息中心`,"notification.viewAll":`查看全部消息`,"notification.badge":`消息通知`,"notification.unreadBadge":`消息通知({count} 条未读)`,"notification.all":`全部`,"notification.system":`系统通知`,"notification.business":`业务消息`,"notification.alarm":`告警预警`,"notification.low":`低`,"notification.normal":`普通`,"notification.high":`重要`,"notification.urgent":`紧急`,"notification.markRead":`标记已读`,"notification.delete":`删除消息`,"notification.allRead":`全部已读`,"notification.clear":`清空`,"notification.loadMore":`加载更多`,"notification.loading":`加载中...`,"notification.empty":`暂无消息`,"notification.back":`返回列表`,"notification.details":`查看详情`,"notification.connected":`已连接`,"notification.connecting":`连接中...`,"notification.disconnected":`未连接`,"notification.reconnecting":`重连中...`,"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.rowNumber":`序号`,"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({"validation.summary":`Please check the following`,"validation.previous":`Previous group`,"validation.next":`Next group`,"picker.title":`Select data`,"picker.quickSearch":`Type to find records`,"picker.more":`Full selection`,"picker.recent":`Recent`,"picker.favorites":`Favorites`,"picker.favorite":`Favorite current selection`,"picker.removeFavorite":`Remove favorite`,"picker.selectionInvalid":`Some records are unavailable. Please select again.`,"picker.selectionFailed":`Selection validation failed. Please retry.`,"picker.allCategories":`All categories`,"picker.placeholder":`Please select`,"picker.searchPlaceholder":`Enter keywords`,"picker.clear":`Clear selection`,"picker.searchLabel":`Search candidates`,"picker.search":`Search`,"picker.loadFailed":`Could not load candidates`,"picker.labelFailed":`Could not load labels; original values are retained`,"picker.selected":`{count} selected`,"picker.total":`{count} results`,"picker.pagination":`Candidate pagination`,"picker.moreSelected":`{count} more`,"batch.title":`Batch operation results`,"batch.summary":`{total} items: {success} succeeded, {failure} failed, {conflict} conflicted, {skipped} skipped`,"batch.filterLabel":`Filter results`,"batch.all":`All`,"batch.retry":`Retry eligible items ({count})`,"options.failed":`Failed to load options`,"options.loadMore":`Load more`,"options.empty":`No options`,"options.minChars":`Enter at least {count} characters`,"batch.id":`Business key`,"batch.status":`Result`,"batch.message":`Details`,"batch.retryColumn":`Retry`,"batch.retryable":`Retryable`,"batch.success":`Success`,"batch.failure":`Failure`,"batch.conflict":`Conflict`,"batch.skipped":`Skipped`,"section.navigation":`Document sections`,"section.errors":`{count} errors`,"notification.invalidResponse":`Invalid notification response or counts`,"notification.operationFailed":`Notification action failed. Try again.`,"notification.missingFetch":`Remote notifications require fetchNotifications`,"notification.missingAction":`Remote notifications require the {name} adapter`,"notification.expiredScope":`Notification scope has expired`,"chat.self":`Me`,"common.search":`Search...`,"common.add":`Add`,"common.refresh":`Refresh`,"common.expand":`Show details`,"common.collapse":`Collapse`,"common.unknown":`Unknown`,"tree.search":`Search tree nodes`,"tree.searchLoading":`Finding nodes`,"tree.searchFailed":`Search failed. Try again.`,"tree.searchCount":`{total} results found`,"tree.loadingChildren":`Loading child nodes`,"tree.searchResults":`Result {current} of {total}`,"tree.searchPrevious":`Previous result`,"tree.searchNext":`Next result`,"tree.searchRetry":`Retry search`,"tree.searchEmpty":`No matching nodes`,"tree.searchMinChars":`Enter at least {count} characters to search`,"search.fields":`Query fields`,"search.fieldSettings":`Configure query fields`,"search.restoreFields":`Restore default fields`,"tree.expandAll":`Expand all`,"tree.collapseAll":`Collapse all`,"tree.menu.add":`Add submenu`,"tree.menu.deleteConfirm":`Delete this menu?`,"tree.file.open":`Open`,"tree.file.rename":`Rename`,"tree.file.deleteConfirm":`Delete this file?`,"tree.org.add":`Add child`,"transfer.source":`Available`,"transfer.target":`Selected`,"transfer.empty":`No data`,"transfer.emptyTarget":`Nothing selected`,"transfer.searchSource":`Search available items`,"transfer.searchTarget":`Search selected items`,"transfer.toTarget":`Move to selected`,"transfer.toSource":`Move to available`,"split.resize":`Resize panels`,"split.expandFirst":`Expand first panel`,"split.collapseFirst":`Collapse first panel`,"split.expandSecond":`Expand second panel`,"split.collapseSecond":`Collapse second panel`,"chat.sessions":`Conversations`,"chat.search":`Search contacts`,"chat.online":`Online`,"chat.empty":`No messages yet. Send the first one.`,"chat.choose":`Select a conversation to start chatting`,"chat.placeholder":`Type a message...`,"chat.title":`Chat`,"chat.emoji":`Emoji`,"chat.attach":`Add attachment`,"chat.send":`Send`,"chat.imagePreview":`Preview image from {name}`,"chat.image":`Chat image`,"chat.file":`File`,"chat.failed":`Send failed. Click to retry.`,"chat.sending":`Sending...`,"time.now":`Just now`,"time.minutes":`{count} minutes ago`,"time.hours":`{count} hours ago`,"time.days":`{count} days ago`,"time.weeks":`{count} weeks ago`,"time.months":`{count} months ago`,"time.yesterday":`Yesterday {time}`,"theme.light":`Current: Light mode (click to switch)`,"theme.dark":`Current: Dark mode (click to switch)`,"theme.system":`Current: System mode (click to switch)`,"language.switch":`Switch language`,"skeleton.loading":`Loading`,"timeline.loading":`Loading...`,"notification.title":`Notification center`,"notification.viewAll":`View all notifications`,"notification.badge":`Notifications`,"notification.unreadBadge":`Notifications ({count} unread)`,"notification.all":`All`,"notification.system":`System`,"notification.business":`Business`,"notification.alarm":`Alerts`,"notification.low":`Low`,"notification.normal":`Normal`,"notification.high":`Important`,"notification.urgent":`Urgent`,"notification.markRead":`Mark as read`,"notification.delete":`Delete notification`,"notification.allRead":`Mark all as read`,"notification.clear":`Clear`,"notification.loadMore":`Load more`,"notification.loading":`Loading...`,"notification.empty":`No notifications`,"notification.back":`Back to list`,"notification.details":`View details`,"notification.connected":`Connected`,"notification.connecting":`Connecting...`,"notification.disconnected":`Disconnected`,"notification.reconnecting":`Reconnecting...`,"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.rowNumber":`No.`,"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.COMPONENT_LOCALE_KEY,{}):{};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{COMPONENT_LOCALE_KEY as e}from"./config.js";import{getCurrentInstance as t,inject as n,toValue as r}from"vue";const i=Object.freeze({"validation.summary":`请检查以下内容`,"validation.previous":`上一组`,"validation.next":`下一组`,"options.failed":`选项加载失败`,"picker.title":`选择数据`,"picker.placeholder":`请选择`,"picker.searchPlaceholder":`输入关键字`,"picker.clear":`清空选择`,"picker.searchLabel":`搜索候选数据`,"picker.search":`搜索`,"picker.loadFailed":`候选数据加载失败`,"picker.labelFailed":`名称加载失败,保留原编码`,"picker.selected":`已选 {count} 项`,"picker.total":`共 {count} 条`,"picker.pagination":`候选数据分页`,"picker.moreSelected":`另 {count} 项`,"batch.title":`批量操作结果`,"batch.summary":`共 {total} 项,成功 {success},失败 {failure},冲突 {conflict},跳过 {skipped}`,"batch.filterLabel":`筛选操作结果`,"batch.all":`全部`,"batch.retry":`重试可重试项({count})`,"batch.id":`业务标识`,"batch.status":`结果`,"batch.message":`说明`,"batch.retryColumn":`重试`,"batch.retryable":`可重试`,"batch.success":`成功`,"batch.failure":`失败`,"batch.conflict":`冲突`,"batch.skipped":`跳过`,"section.navigation":`单据分区导航`,"section.errors":`{count} 项错误`,"notification.invalidResponse":`消息接口返回的数据或统计无效`,"notification.operationFailed":`消息操作失败,请重试`,"notification.missingFetch":`远程消息模式未配置 fetchNotifications`,"notification.missingAction":`远程消息模式未配置 {name} 接口`,"notification.expiredScope":`消息作用域已失效`,"chat.self":`Me`,"common.search":`搜索...`,"common.add":`新增`,"common.refresh":`刷新`,"common.expand":`展开详情`,"common.collapse":`收起`,"common.unknown":`未知`,"tree.search":`搜索树节点`,"tree.expandAll":`展开全部`,"tree.collapseAll":`收起全部`,"tree.menu.add":`新增子菜单`,"tree.menu.deleteConfirm":`确认删除该菜单吗?`,"tree.file.open":`打开`,"tree.file.rename":`重命名`,"tree.file.deleteConfirm":`确认删除该文件吗?`,"tree.org.add":`新增下级`,"transfer.source":`可选列表`,"transfer.target":`已选列表`,"transfer.empty":`暂无数据`,"transfer.emptyTarget":`未选择任何项`,"transfer.searchSource":`搜索可选列表`,"transfer.searchTarget":`搜索已选列表`,"transfer.toTarget":`移至已选列表`,"transfer.toSource":`移回可选列表`,"split.resize":`调整面板大小`,"split.expandFirst":`展开首面板`,"split.collapseFirst":`折叠首面板`,"split.expandSecond":`展开第二面板`,"split.collapseSecond":`折叠第二面板`,"chat.sessions":`会话`,"chat.search":`搜索联系人`,"chat.online":`在线`,"chat.empty":`暂无消息,发送第一条吧`,"chat.choose":`选择一个会话开始聊天`,"chat.placeholder":`输入消息...`,"chat.title":`聊天`,"chat.emoji":`表情`,"chat.attach":`添加附件`,"chat.send":`发送`,"chat.imagePreview":`预览{name}的图片`,"chat.image":`聊天图片`,"chat.file":`文件`,"chat.failed":`发送失败,点击重试`,"chat.sending":`发送中...`,"time.now":`刚刚`,"time.minutes":`{count}分钟前`,"time.hours":`{count}小时前`,"time.days":`{count}天前`,"time.weeks":`{count}周前`,"time.months":`{count}个月前`,"time.yesterday":`昨天 {time}`,"theme.light":`当前: 浅色模式 (点击切换)`,"theme.dark":`当前: 深色模式 (点击切换)`,"theme.system":`当前: 跟随系统 (点击切换)`,"language.switch":`语言切换`,"skeleton.loading":`加载中`,"timeline.loading":`加载中...`,"notification.title":`消息中心`,"notification.viewAll":`查看全部消息`,"notification.badge":`消息通知`,"notification.unreadBadge":`消息通知({count} 条未读)`,"notification.all":`全部`,"notification.system":`系统通知`,"notification.business":`业务消息`,"notification.alarm":`告警预警`,"notification.low":`低`,"notification.normal":`普通`,"notification.high":`重要`,"notification.urgent":`紧急`,"notification.markRead":`标记已读`,"notification.delete":`删除消息`,"notification.allRead":`全部已读`,"notification.clear":`清空`,"notification.loadMore":`加载更多`,"notification.loading":`加载中...`,"notification.empty":`暂无消息`,"notification.back":`返回列表`,"notification.details":`查看详情`,"notification.connected":`已连接`,"notification.connecting":`连接中...`,"notification.disconnected":`未连接`,"notification.reconnecting":`重连中...`,"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.rowNumber":`序号`,"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({"validation.summary":`Please check the following`,"validation.previous":`Previous group`,"validation.next":`Next group`,"picker.title":`Select data`,"picker.placeholder":`Please select`,"picker.searchPlaceholder":`Enter keywords`,"picker.clear":`Clear selection`,"picker.searchLabel":`Search candidates`,"picker.search":`Search`,"picker.loadFailed":`Could not load candidates`,"picker.labelFailed":`Could not load labels; original values are retained`,"picker.selected":`{count} selected`,"picker.total":`{count} results`,"picker.pagination":`Candidate pagination`,"picker.moreSelected":`{count} more`,"batch.title":`Batch operation results`,"batch.summary":`{total} items: {success} succeeded, {failure} failed, {conflict} conflicted, {skipped} skipped`,"batch.filterLabel":`Filter results`,"batch.all":`All`,"batch.retry":`Retry eligible items ({count})`,"options.failed":`Failed to load options`,"batch.id":`Business key`,"batch.status":`Result`,"batch.message":`Details`,"batch.retryColumn":`Retry`,"batch.retryable":`Retryable`,"batch.success":`Success`,"batch.failure":`Failure`,"batch.conflict":`Conflict`,"batch.skipped":`Skipped`,"section.navigation":`Document sections`,"section.errors":`{count} errors`,"notification.invalidResponse":`Invalid notification response or counts`,"notification.operationFailed":`Notification action failed. Try again.`,"notification.missingFetch":`Remote notifications require fetchNotifications`,"notification.missingAction":`Remote notifications require the {name} adapter`,"notification.expiredScope":`Notification scope has expired`,"chat.self":`Me`,"common.search":`Search...`,"common.add":`Add`,"common.refresh":`Refresh`,"common.expand":`Show details`,"common.collapse":`Collapse`,"common.unknown":`Unknown`,"tree.search":`Search tree nodes`,"tree.expandAll":`Expand all`,"tree.collapseAll":`Collapse all`,"tree.menu.add":`Add submenu`,"tree.menu.deleteConfirm":`Delete this menu?`,"tree.file.open":`Open`,"tree.file.rename":`Rename`,"tree.file.deleteConfirm":`Delete this file?`,"tree.org.add":`Add child`,"transfer.source":`Available`,"transfer.target":`Selected`,"transfer.empty":`No data`,"transfer.emptyTarget":`Nothing selected`,"transfer.searchSource":`Search available items`,"transfer.searchTarget":`Search selected items`,"transfer.toTarget":`Move to selected`,"transfer.toSource":`Move to available`,"split.resize":`Resize panels`,"split.expandFirst":`Expand first panel`,"split.collapseFirst":`Collapse first panel`,"split.expandSecond":`Expand second panel`,"split.collapseSecond":`Collapse second panel`,"chat.sessions":`Conversations`,"chat.search":`Search contacts`,"chat.online":`Online`,"chat.empty":`No messages yet. Send the first one.`,"chat.choose":`Select a conversation to start chatting`,"chat.placeholder":`Type a message...`,"chat.title":`Chat`,"chat.emoji":`Emoji`,"chat.attach":`Add attachment`,"chat.send":`Send`,"chat.imagePreview":`Preview image from {name}`,"chat.image":`Chat image`,"chat.file":`File`,"chat.failed":`Send failed. Click to retry.`,"chat.sending":`Sending...`,"time.now":`Just now`,"time.minutes":`{count} minutes ago`,"time.hours":`{count} hours ago`,"time.days":`{count} days ago`,"time.weeks":`{count} weeks ago`,"time.months":`{count} months ago`,"time.yesterday":`Yesterday {time}`,"theme.light":`Current: Light mode (click to switch)`,"theme.dark":`Current: Dark mode (click to switch)`,"theme.system":`Current: System mode (click to switch)`,"language.switch":`Switch language`,"skeleton.loading":`Loading`,"timeline.loading":`Loading...`,"notification.title":`Notification center`,"notification.viewAll":`View all notifications`,"notification.badge":`Notifications`,"notification.unreadBadge":`Notifications ({count} unread)`,"notification.all":`All`,"notification.system":`System`,"notification.business":`Business`,"notification.alarm":`Alerts`,"notification.low":`Low`,"notification.normal":`Normal`,"notification.high":`Important`,"notification.urgent":`Urgent`,"notification.markRead":`Mark as read`,"notification.delete":`Delete notification`,"notification.allRead":`Mark all as read`,"notification.clear":`Clear`,"notification.loadMore":`Load more`,"notification.loading":`Loading...`,"notification.empty":`No notifications`,"notification.back":`Back to list`,"notification.details":`View details`,"notification.connected":`Connected`,"notification.connecting":`Connecting...`,"notification.disconnected":`Disconnected`,"notification.reconnecting":`Reconnecting...`,"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.rowNumber":`No.`,"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};
|
|
1
|
+
import{COMPONENT_LOCALE_KEY as e}from"./config.js";import{getCurrentInstance as t,inject as n,toValue as r}from"vue";const i=Object.freeze({"validation.summary":`请检查以下内容`,"validation.previous":`上一组`,"validation.next":`下一组`,"options.failed":`选项加载失败`,"options.loadMore":`加载更多`,"options.empty":`暂无选项`,"options.minChars":`输入至少 {count} 个字符`,"picker.title":`选择数据`,"picker.placeholder":`请选择`,"picker.searchPlaceholder":`输入关键字`,"picker.clear":`清空选择`,"picker.searchLabel":`搜索候选数据`,"picker.search":`搜索`,"picker.loadFailed":`候选数据加载失败`,"picker.labelFailed":`名称加载失败,保留原编码`,"picker.selected":`已选 {count} 项`,"picker.total":`共 {count} 条`,"picker.pagination":`候选数据分页`,"picker.moreSelected":`另 {count} 项`,"picker.quickSearch":`输入关键词快速选择`,"picker.more":`完整选择`,"picker.recent":`最近使用`,"picker.favorites":`收藏`,"picker.favorite":`收藏当前选择`,"picker.removeFavorite":`取消收藏`,"picker.selectionInvalid":`所选数据已失效或不可选择,请重新选择`,"picker.selectionFailed":`选择校验失败,请重试`,"picker.allCategories":`全部分类`,"batch.title":`批量操作结果`,"batch.summary":`共 {total} 项,成功 {success},失败 {failure},冲突 {conflict},跳过 {skipped}`,"batch.filterLabel":`筛选操作结果`,"batch.all":`全部`,"batch.retry":`重试可重试项({count})`,"batch.id":`业务标识`,"batch.status":`结果`,"batch.message":`说明`,"batch.retryColumn":`重试`,"batch.retryable":`可重试`,"batch.success":`成功`,"batch.failure":`失败`,"batch.conflict":`冲突`,"batch.skipped":`跳过`,"section.navigation":`单据分区导航`,"section.errors":`{count} 项错误`,"notification.invalidResponse":`消息接口返回的数据或统计无效`,"notification.operationFailed":`消息操作失败,请重试`,"notification.missingFetch":`远程消息模式未配置 fetchNotifications`,"notification.missingAction":`远程消息模式未配置 {name} 接口`,"notification.expiredScope":`消息作用域已失效`,"chat.self":`Me`,"common.search":`搜索...`,"common.add":`新增`,"common.refresh":`刷新`,"common.expand":`展开详情`,"common.collapse":`收起`,"common.unknown":`未知`,"tree.search":`搜索树节点`,"tree.searchLoading":`正在查找节点`,"tree.searchFailed":`查找失败,请重试`,"tree.searchCount":`找到 {total} 个结果`,"tree.loadingChildren":`加载子节点`,"tree.searchResults":`第 {current} / {total} 个结果`,"tree.searchPrevious":`上一个结果`,"tree.searchNext":`下一个结果`,"tree.searchRetry":`重试查找`,"tree.searchEmpty":`未找到匹配节点`,"tree.searchMinChars":`输入至少 {count} 个字符开始查找`,"search.fields":`查询字段`,"search.fieldSettings":`设置查询字段`,"search.restoreFields":`恢复默认字段`,"tree.expandAll":`展开全部`,"tree.collapseAll":`收起全部`,"tree.menu.add":`新增子菜单`,"tree.menu.deleteConfirm":`确认删除该菜单吗?`,"tree.file.open":`打开`,"tree.file.rename":`重命名`,"tree.file.deleteConfirm":`确认删除该文件吗?`,"tree.org.add":`新增下级`,"transfer.source":`可选列表`,"transfer.target":`已选列表`,"transfer.empty":`暂无数据`,"transfer.emptyTarget":`未选择任何项`,"transfer.searchSource":`搜索可选列表`,"transfer.searchTarget":`搜索已选列表`,"transfer.toTarget":`移至已选列表`,"transfer.toSource":`移回可选列表`,"split.resize":`调整面板大小`,"split.expandFirst":`展开首面板`,"split.collapseFirst":`折叠首面板`,"split.expandSecond":`展开第二面板`,"split.collapseSecond":`折叠第二面板`,"chat.sessions":`会话`,"chat.search":`搜索联系人`,"chat.online":`在线`,"chat.empty":`暂无消息,发送第一条吧`,"chat.choose":`选择一个会话开始聊天`,"chat.placeholder":`输入消息...`,"chat.title":`聊天`,"chat.emoji":`表情`,"chat.attach":`添加附件`,"chat.send":`发送`,"chat.imagePreview":`预览{name}的图片`,"chat.image":`聊天图片`,"chat.file":`文件`,"chat.failed":`发送失败,点击重试`,"chat.sending":`发送中...`,"time.now":`刚刚`,"time.minutes":`{count}分钟前`,"time.hours":`{count}小时前`,"time.days":`{count}天前`,"time.weeks":`{count}周前`,"time.months":`{count}个月前`,"time.yesterday":`昨天 {time}`,"theme.light":`当前: 浅色模式 (点击切换)`,"theme.dark":`当前: 深色模式 (点击切换)`,"theme.system":`当前: 跟随系统 (点击切换)`,"language.switch":`语言切换`,"skeleton.loading":`加载中`,"timeline.loading":`加载中...`,"notification.title":`消息中心`,"notification.viewAll":`查看全部消息`,"notification.badge":`消息通知`,"notification.unreadBadge":`消息通知({count} 条未读)`,"notification.all":`全部`,"notification.system":`系统通知`,"notification.business":`业务消息`,"notification.alarm":`告警预警`,"notification.low":`低`,"notification.normal":`普通`,"notification.high":`重要`,"notification.urgent":`紧急`,"notification.markRead":`标记已读`,"notification.delete":`删除消息`,"notification.allRead":`全部已读`,"notification.clear":`清空`,"notification.loadMore":`加载更多`,"notification.loading":`加载中...`,"notification.empty":`暂无消息`,"notification.back":`返回列表`,"notification.details":`查看详情`,"notification.connected":`已连接`,"notification.connecting":`连接中...`,"notification.disconnected":`未连接`,"notification.reconnecting":`重连中...`,"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.rowNumber":`序号`,"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({"validation.summary":`Please check the following`,"validation.previous":`Previous group`,"validation.next":`Next group`,"picker.title":`Select data`,"picker.quickSearch":`Type to find records`,"picker.more":`Full selection`,"picker.recent":`Recent`,"picker.favorites":`Favorites`,"picker.favorite":`Favorite current selection`,"picker.removeFavorite":`Remove favorite`,"picker.selectionInvalid":`Some records are unavailable. Please select again.`,"picker.selectionFailed":`Selection validation failed. Please retry.`,"picker.allCategories":`All categories`,"picker.placeholder":`Please select`,"picker.searchPlaceholder":`Enter keywords`,"picker.clear":`Clear selection`,"picker.searchLabel":`Search candidates`,"picker.search":`Search`,"picker.loadFailed":`Could not load candidates`,"picker.labelFailed":`Could not load labels; original values are retained`,"picker.selected":`{count} selected`,"picker.total":`{count} results`,"picker.pagination":`Candidate pagination`,"picker.moreSelected":`{count} more`,"batch.title":`Batch operation results`,"batch.summary":`{total} items: {success} succeeded, {failure} failed, {conflict} conflicted, {skipped} skipped`,"batch.filterLabel":`Filter results`,"batch.all":`All`,"batch.retry":`Retry eligible items ({count})`,"options.failed":`Failed to load options`,"options.loadMore":`Load more`,"options.empty":`No options`,"options.minChars":`Enter at least {count} characters`,"batch.id":`Business key`,"batch.status":`Result`,"batch.message":`Details`,"batch.retryColumn":`Retry`,"batch.retryable":`Retryable`,"batch.success":`Success`,"batch.failure":`Failure`,"batch.conflict":`Conflict`,"batch.skipped":`Skipped`,"section.navigation":`Document sections`,"section.errors":`{count} errors`,"notification.invalidResponse":`Invalid notification response or counts`,"notification.operationFailed":`Notification action failed. Try again.`,"notification.missingFetch":`Remote notifications require fetchNotifications`,"notification.missingAction":`Remote notifications require the {name} adapter`,"notification.expiredScope":`Notification scope has expired`,"chat.self":`Me`,"common.search":`Search...`,"common.add":`Add`,"common.refresh":`Refresh`,"common.expand":`Show details`,"common.collapse":`Collapse`,"common.unknown":`Unknown`,"tree.search":`Search tree nodes`,"tree.searchLoading":`Finding nodes`,"tree.searchFailed":`Search failed. Try again.`,"tree.searchCount":`{total} results found`,"tree.loadingChildren":`Loading child nodes`,"tree.searchResults":`Result {current} of {total}`,"tree.searchPrevious":`Previous result`,"tree.searchNext":`Next result`,"tree.searchRetry":`Retry search`,"tree.searchEmpty":`No matching nodes`,"tree.searchMinChars":`Enter at least {count} characters to search`,"search.fields":`Query fields`,"search.fieldSettings":`Configure query fields`,"search.restoreFields":`Restore default fields`,"tree.expandAll":`Expand all`,"tree.collapseAll":`Collapse all`,"tree.menu.add":`Add submenu`,"tree.menu.deleteConfirm":`Delete this menu?`,"tree.file.open":`Open`,"tree.file.rename":`Rename`,"tree.file.deleteConfirm":`Delete this file?`,"tree.org.add":`Add child`,"transfer.source":`Available`,"transfer.target":`Selected`,"transfer.empty":`No data`,"transfer.emptyTarget":`Nothing selected`,"transfer.searchSource":`Search available items`,"transfer.searchTarget":`Search selected items`,"transfer.toTarget":`Move to selected`,"transfer.toSource":`Move to available`,"split.resize":`Resize panels`,"split.expandFirst":`Expand first panel`,"split.collapseFirst":`Collapse first panel`,"split.expandSecond":`Expand second panel`,"split.collapseSecond":`Collapse second panel`,"chat.sessions":`Conversations`,"chat.search":`Search contacts`,"chat.online":`Online`,"chat.empty":`No messages yet. Send the first one.`,"chat.choose":`Select a conversation to start chatting`,"chat.placeholder":`Type a message...`,"chat.title":`Chat`,"chat.emoji":`Emoji`,"chat.attach":`Add attachment`,"chat.send":`Send`,"chat.imagePreview":`Preview image from {name}`,"chat.image":`Chat image`,"chat.file":`File`,"chat.failed":`Send failed. Click to retry.`,"chat.sending":`Sending...`,"time.now":`Just now`,"time.minutes":`{count} minutes ago`,"time.hours":`{count} hours ago`,"time.days":`{count} days ago`,"time.weeks":`{count} weeks ago`,"time.months":`{count} months ago`,"time.yesterday":`Yesterday {time}`,"theme.light":`Current: Light mode (click to switch)`,"theme.dark":`Current: Dark mode (click to switch)`,"theme.system":`Current: System mode (click to switch)`,"language.switch":`Switch language`,"skeleton.loading":`Loading`,"timeline.loading":`Loading...`,"notification.title":`Notification center`,"notification.viewAll":`View all notifications`,"notification.badge":`Notifications`,"notification.unreadBadge":`Notifications ({count} unread)`,"notification.all":`All`,"notification.system":`System`,"notification.business":`Business`,"notification.alarm":`Alerts`,"notification.low":`Low`,"notification.normal":`Normal`,"notification.high":`Important`,"notification.urgent":`Urgent`,"notification.markRead":`Mark as read`,"notification.delete":`Delete notification`,"notification.allRead":`Mark all as read`,"notification.clear":`Clear`,"notification.loadMore":`Load more`,"notification.loading":`Loading...`,"notification.empty":`No notifications`,"notification.back":`Back to list`,"notification.details":`View details`,"notification.connected":`Connected`,"notification.connecting":`Connecting...`,"notification.disconnected":`Disconnected`,"notification.reconnecting":`Reconnecting...`,"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.rowNumber":`No.`,"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};
|
|
@@ -51,31 +51,31 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
ready: () => any;
|
|
55
54
|
error: (error: Error) => any;
|
|
55
|
+
ready: () => any;
|
|
56
|
+
crop: (result: CropResult) => any;
|
|
56
57
|
confirm: (result: CropResult) => any;
|
|
57
58
|
cancel: () => any;
|
|
58
|
-
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
62
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
62
63
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
63
64
|
onCancel?: (() => any) | undefined;
|
|
64
|
-
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
66
|
disabled: boolean;
|
|
68
|
-
|
|
67
|
+
height: string | number;
|
|
69
68
|
modal: boolean;
|
|
70
|
-
|
|
71
|
-
showPreview: boolean;
|
|
72
|
-
aspectRatio: number;
|
|
69
|
+
src: string;
|
|
73
70
|
showToolbar: boolean;
|
|
71
|
+
aspectRatio: number;
|
|
74
72
|
outputFormat: CropOutputFormat;
|
|
75
73
|
outputQuality: number;
|
|
76
74
|
maxOutputWidth: number;
|
|
77
75
|
maxOutputHeight: number;
|
|
76
|
+
showPreview: boolean;
|
|
78
77
|
circular: 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
|
@@ -51,31 +51,31 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
ready: () => any;
|
|
55
54
|
error: (error: Error) => any;
|
|
55
|
+
ready: () => any;
|
|
56
|
+
crop: (result: CropResult) => any;
|
|
56
57
|
confirm: (result: CropResult) => any;
|
|
57
58
|
cancel: () => any;
|
|
58
|
-
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
62
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
62
63
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
63
64
|
onCancel?: (() => any) | undefined;
|
|
64
|
-
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
66
|
disabled: boolean;
|
|
68
|
-
|
|
67
|
+
height: string | number;
|
|
69
68
|
modal: boolean;
|
|
70
|
-
|
|
71
|
-
showPreview: boolean;
|
|
72
|
-
aspectRatio: number;
|
|
69
|
+
src: string;
|
|
73
70
|
showToolbar: boolean;
|
|
71
|
+
aspectRatio: number;
|
|
74
72
|
outputFormat: CropOutputFormat;
|
|
75
73
|
outputQuality: number;
|
|
76
74
|
maxOutputWidth: number;
|
|
77
75
|
maxOutputHeight: number;
|
|
76
|
+
showPreview: boolean;
|
|
78
77
|
circular: boolean;
|
|
78
|
+
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/useDataResource.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./observer.cjs`);let t=require(`vue`);function n(n){let r=(0,t.shallowRef)(),i=(0,t.shallowRef)(null),a=(0,t.shallowRef)(`idle`),o=0,s,c=!1,l=!1,u=!1,d=`idle`,f=e=>n.isEmpty?.(e)??(e==null||Array.isArray(e)&&e.length===0),p=(e,t)=>!c&&e===o&&(!t||!t.signal.aborted),m=(e,t,n)=>{let o=f(e)?`empty`:`ready`;return!p(t,n)||(d=o,r.value=e,!p(t,n))||(i.value=null,!p(t,n))?!1:(a.value=o,p(t,n))},h=()=>{let e=++o,t=s;return s=void 0,t?.abort(),e===o&&a.value===`loading`&&(a.value=d),e},g=()=>{h()},_=(t,r,o)=>{p(r,o)&&(i.value=t,p(r,o)&&(a.value=`error`,p(r,o)&&e.t(()=>n.onError?.(t))))},v=e=>!p(e)||(d=`idle`,r.value=void 0,!p(e))||(i.value=null,!p(e))?!1:(a.value=`idle`,p(e)),y=async(e,t)=>{if(!p(t))return!1;let r=new AbortController;if(s=r,a.value=`loading`,!p(t,r)||(i.value=null,!p(t,r)))return!1;try{return m(await n.load({key:e,signal:r.signal}),t,r)}catch(e){return _(e,t,r),!1}finally{s===r&&(s=void 0)}},b=async()=>{if(c)return!1;let e=h();if(!p(e))return!1;let r=n.source===void 0?void 0:(0,t.toValue)(n.source);if(r!==void 0)try{return m(r,e)}catch(t){return _(t,e),!1}let i=(0,t.toValue)(n.key);return p(e)?i==null?(v(e),!1):l?(u=!0,!1):y(i,e):!1},x=()=>{},S=()=>{c||(c=!0,x(),g())};return(0,t.getCurrentScope)()&&(0,t.onScopeDispose)(S),x=(0,t.watch)(()=>
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./observer.cjs`);let t=require(`vue`);function n(n){let r=(0,t.shallowRef)(),i=(0,t.shallowRef)(null),a=(0,t.shallowRef)(`idle`),o=0,s,c=!1,l=!1,u=!1,d=`idle`,f=e=>n.isEmpty?.(e)??(e==null||Array.isArray(e)&&e.length===0),p=(e,t)=>!c&&e===o&&(!t||!t.signal.aborted),m=(e,t,n)=>{let o=f(e)?`empty`:`ready`;return!p(t,n)||(d=o,r.value=e,!p(t,n))||(i.value=null,!p(t,n))?!1:(a.value=o,p(t,n))},h=()=>{let e=++o,t=s;return s=void 0,t?.abort(),e===o&&a.value===`loading`&&(a.value=d),e},g=()=>{h()},_=(t,r,o)=>{p(r,o)&&(i.value=t,p(r,o)&&(a.value=`error`,p(r,o)&&e.t(()=>n.onError?.(t))))},v=e=>!p(e)||(d=`idle`,r.value=void 0,!p(e))||(i.value=null,!p(e))?!1:(a.value=`idle`,p(e)),y=async(e,t)=>{if(!p(t))return!1;let r=new AbortController;if(s=r,a.value=`loading`,!p(t,r)||(i.value=null,!p(t,r)))return!1;try{return m(await n.load({key:e,signal:r.signal}),t,r)}catch(e){return _(e,t,r),!1}finally{s===r&&(s=void 0)}},b=async()=>{if(c)return!1;let e=h();if(!p(e))return!1;let r=n.source===void 0?void 0:(0,t.toValue)(n.source);if(r!==void 0)try{return m(r,e)}catch(t){return _(t,e),!1}let i=(0,t.toValue)(n.key);return p(e)?i==null?(v(e),!1):l?(u=!0,!1):y(i,e):!1},x=()=>{},S=()=>{c||(c=!0,x(),g())};return(0,t.getCurrentScope)()&&(0,t.onScopeDispose)(S),x=(0,t.watch)([(0,t.computed)(()=>(0,t.toValue)(n.key)),(0,t.computed)(()=>n.source===void 0?void 0:(0,t.toValue)(n.source))],()=>{v(h())&&b()},{immediate:n.immediate!==!1,flush:`sync`}),c&&x(),(0,t.getCurrentInstance)()&&((0,t.onDeactivated)(()=>{l=!0,u=a.value===`loading`,g()}),(0,t.onActivated)(()=>{l&&(l=!1,u&&(u=!1,b()))})),{data:r,error:i,status:a,loading:(0,t.computed)(()=>a.value===`loading`),stale:(0,t.computed)(()=>a.value===`error`&&r.value!==void 0),reload:b,abort:g,dispose:S}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
package/dist/useDataResource.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./observer.js";import{computed as t,getCurrentInstance as n,getCurrentScope as r,onActivated as i,onDeactivated as a,onScopeDispose as o,shallowRef as s,toValue as c,watch as l}from"vue";function u(u){let d=s(),f=s(null),p=s(`idle`),m=0,h,g=!1,_=!1,v=!1,y=`idle`,b=e=>u.isEmpty?.(e)??(e==null||Array.isArray(e)&&e.length===0),x=(e,t)=>!g&&e===m&&(!t||!t.signal.aborted),S=(e,t,n)=>{let r=b(e)?`empty`:`ready`;return!x(t,n)||(y=r,d.value=e,!x(t,n))||(f.value=null,!x(t,n))?!1:(p.value=r,x(t,n))},C=()=>{let e=++m,t=h;return h=void 0,t?.abort(),e===m&&p.value===`loading`&&(p.value=y),e},w=()=>{C()},T=(t,n,r)=>{x(n,r)&&(f.value=t,x(n,r)&&(p.value=`error`,x(n,r)&&e(()=>u.onError?.(t))))},E=e=>!x(e)||(y=`idle`,d.value=void 0,!x(e))||(f.value=null,!x(e))?!1:(p.value=`idle`,x(e)),D=async(e,t)=>{if(!x(t))return!1;let n=new AbortController;if(h=n,p.value=`loading`,!x(t,n)||(f.value=null,!x(t,n)))return!1;try{return S(await u.load({key:e,signal:n.signal}),t,n)}catch(e){return T(e,t,n),!1}finally{h===n&&(h=void 0)}},O=async()=>{if(g)return!1;let e=C();if(!x(e))return!1;let t=u.source===void 0?void 0:c(u.source);if(t!==void 0)try{return S(t,e)}catch(t){return T(t,e),!1}let n=c(u.key);return x(e)?n==null?(E(e),!1):_?(v=!0,!1):D(n,e):!1},k=()=>{},A=()=>{g||(g=!0,k(),w())};return r()&&o(A),k=l(()=>
|
|
1
|
+
import{t as e}from"./observer.js";import{computed as t,getCurrentInstance as n,getCurrentScope as r,onActivated as i,onDeactivated as a,onScopeDispose as o,shallowRef as s,toValue as c,watch as l}from"vue";function u(u){let d=s(),f=s(null),p=s(`idle`),m=0,h,g=!1,_=!1,v=!1,y=`idle`,b=e=>u.isEmpty?.(e)??(e==null||Array.isArray(e)&&e.length===0),x=(e,t)=>!g&&e===m&&(!t||!t.signal.aborted),S=(e,t,n)=>{let r=b(e)?`empty`:`ready`;return!x(t,n)||(y=r,d.value=e,!x(t,n))||(f.value=null,!x(t,n))?!1:(p.value=r,x(t,n))},C=()=>{let e=++m,t=h;return h=void 0,t?.abort(),e===m&&p.value===`loading`&&(p.value=y),e},w=()=>{C()},T=(t,n,r)=>{x(n,r)&&(f.value=t,x(n,r)&&(p.value=`error`,x(n,r)&&e(()=>u.onError?.(t))))},E=e=>!x(e)||(y=`idle`,d.value=void 0,!x(e))||(f.value=null,!x(e))?!1:(p.value=`idle`,x(e)),D=async(e,t)=>{if(!x(t))return!1;let n=new AbortController;if(h=n,p.value=`loading`,!x(t,n)||(f.value=null,!x(t,n)))return!1;try{return S(await u.load({key:e,signal:n.signal}),t,n)}catch(e){return T(e,t,n),!1}finally{h===n&&(h=void 0)}},O=async()=>{if(g)return!1;let e=C();if(!x(e))return!1;let t=u.source===void 0?void 0:c(u.source);if(t!==void 0)try{return S(t,e)}catch(t){return T(t,e),!1}let n=c(u.key);return x(e)?n==null?(E(e),!1):_?(v=!0,!1):D(n,e):!1},k=()=>{},A=()=>{g||(g=!0,k(),w())};return r()&&o(A),k=l([t(()=>c(u.key)),t(()=>u.source===void 0?void 0:c(u.source))],()=>{E(C())&&O()},{immediate:u.immediate!==!1,flush:`sync`}),g&&k(),n()&&(a(()=>{_=!0,v=p.value===`loading`,w()}),i(()=>{_&&(_=!1,v&&(v=!1,O()))})),{data:d,error:f,status:p,loading:t(()=>p.value===`loading`),stale:t(()=>p.value===`error`&&d.value!==void 0),reload:O,abort:w,dispose:A}}export{u as t};
|
|
@@ -93,9 +93,9 @@ interface DraggableExpose<T extends object = DraggableItem> {
|
|
|
93
93
|
//#region src/components/C_Draggable/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
95
95
|
props: vue.PublicProps & __VLS_PrettifyLocal<DraggableProps<T> & {
|
|
96
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
96
97
|
"onDrag-start"?: ((event: DragEvent<T>) => any) | undefined;
|
|
97
98
|
"onDrag-end"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
99
99
|
"onItem-add"?: ((item: T, index: number) => any) | undefined;
|
|
100
100
|
"onItem-remove"?: ((item: T, index: number) => any) | undefined;
|
|
101
101
|
"onList-change"?: ((list: T[]) => any) | undefined;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonN
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: DraggableSlots<T>;
|
|
119
|
-
emit: ((evt: "
|
|
119
|
+
emit: ((evt: "update:modelValue", value: T[]) => void) & ((evt: "drag-start", event: DragEvent<T>) => void) & ((evt: "drag-end", event: DragEvent<T>) => void) & ((evt: "item-add", item: T, index: number) => void) & ((evt: "item-remove", item: T, index: number) => void) & ((evt: "list-change", list: T[]) => void);
|
|
120
120
|
}>) => vue.VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -93,9 +93,9 @@ interface DraggableExpose<T extends object = DraggableItem> {
|
|
|
93
93
|
//#region src/components/C_Draggable/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
95
95
|
props: vue.PublicProps & __VLS_PrettifyLocal<DraggableProps<T> & {
|
|
96
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
96
97
|
"onDrag-start"?: ((event: DragEvent<T>) => any) | undefined;
|
|
97
98
|
"onDrag-end"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
99
99
|
"onItem-add"?: ((item: T, index: number) => any) | undefined;
|
|
100
100
|
"onItem-remove"?: ((item: T, index: number) => any) | undefined;
|
|
101
101
|
"onList-change"?: ((list: T[]) => any) | undefined;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonN
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: DraggableSlots<T>;
|
|
119
|
-
emit: ((evt: "
|
|
119
|
+
emit: ((evt: "update:modelValue", value: T[]) => void) & ((evt: "drag-start", event: DragEvent<T>) => void) & ((evt: "drag-end", event: DragEvent<T>) => void) & ((evt: "item-add", item: T, index: number) => void) & ((evt: "item-remove", item: T, index: number) => void) & ((evt: "list-change", list: T[]) => void);
|
|
120
120
|
}>) => vue.VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { n as AutoCompleteProps$1, t as AutoCompleteOptionItem } from "./types2.cjs";
|
|
1
2
|
import { D as FormSlots, E as FormRecord, F as LayoutType, L as OptionItem, S as FormInstance, T as FormOption, a as ResolvedFormConfig, f as ComponentType, g as DynamicFormController, n as FormConfig, w as FormModel, z as SubmitEventPayload } from "./useFormConfig.cjs";
|
|
2
3
|
import { r as FormRenderer } from "./useFormRenderer.cjs";
|
|
4
|
+
import { a as SelectProps$1, o as SelectSelection, r as SelectOptionItem, s as SelectValue, t as SelectModelValue } from "./types5.cjs";
|
|
3
5
|
import * as vue from "vue";
|
|
4
6
|
import { ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
|
|
5
7
|
import { FormInst, FormItemInst, FormRules } from "naive-ui";
|
|
@@ -14,8 +16,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
14
16
|
} & {
|
|
15
17
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
16
18
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
17
|
-
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
18
19
|
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
20
|
+
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
19
21
|
}> & (typeof globalThis extends {
|
|
20
22
|
__VLS_PROPS_FALLBACK: infer P;
|
|
21
23
|
} ? P : {});
|
|
@@ -52,7 +54,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
52
54
|
}>) => void;
|
|
53
55
|
attrs: any;
|
|
54
56
|
slots: FormSlots<T>;
|
|
55
|
-
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-
|
|
57
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "validate-success", model: T) => void);
|
|
56
58
|
}>) => vue.VNode & {
|
|
57
59
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
58
60
|
};
|
|
@@ -88,6 +90,18 @@ interface UseCFormReturn<T extends object> {
|
|
|
88
90
|
/** Small binding helper for the common controlled C_Form setup. */
|
|
89
91
|
declare function useCForm<T extends object>(setup: UseCFormOptions<T>): UseCFormReturn<T>;
|
|
90
92
|
//#endregion
|
|
93
|
+
//#region src/components/C_Form/fieldRenderers.d.ts
|
|
94
|
+
/** 来源由业务对象推导,选择回调可直接使用整行记录回填关联字段。 */
|
|
95
|
+
declare function createSelectField<V extends SelectValue = SelectValue, M extends boolean = false, T extends boolean = false, R extends object = SelectOptionItem<V>, F extends object = Record<string, unknown>>(options: Omit<SelectProps$1<V, M, T, R, F>, 'modelValue' | 'disabled' | 'readonly'> & {
|
|
96
|
+
onSelect?: (selection: SelectSelection<NoInfer<R>, NoInfer<M>>) => void;
|
|
97
|
+
'onUpdate:modelValue'?: (value: SelectModelValue<NoInfer<V>, NoInfer<M>, NoInfer<T>>) => void;
|
|
98
|
+
}): FormRenderer;
|
|
99
|
+
/** 自动补全保留自由文本,选中建议时交付来源的完整业务记录。 */
|
|
100
|
+
declare function createAutoCompleteField<R extends object = AutoCompleteOptionItem, F extends object = Record<string, unknown>>(options: Omit<AutoCompleteProps$1<R, F>, 'modelValue' | 'disabled' | 'readonly'> & {
|
|
101
|
+
onSelect?: (row: NoInfer<R>) => void;
|
|
102
|
+
'onUpdate:modelValue'?: (value: string) => void;
|
|
103
|
+
}): FormRenderer;
|
|
104
|
+
//#endregion
|
|
91
105
|
//#region src/components/C_Form/composables/useFormState.d.ts
|
|
92
106
|
type FormEmit = {
|
|
93
107
|
(event: 'update:modelValue', model: FormModel): void;
|
|
@@ -188,4 +202,4 @@ type DynamicFormStateType = DynamicFormController;
|
|
|
188
202
|
*/
|
|
189
203
|
declare const DYNAMIC_FORM_STATE_KEY: unique symbol;
|
|
190
204
|
//#endregion
|
|
191
|
-
export { UseFormDirtyReturn as a,
|
|
205
|
+
export { UseFormDirtyReturn as a, createAutoCompleteField as c, UseCFormReturn as d, defineFormConfig as f, _default as h, useDynamicFormState as i, createSelectField as l, useCForm as m, DynamicFormStateType as n, useFormDirty as o, defineFormOptions as p, FIELD_TYPE_OPTIONS as r, useFormState as s, DYNAMIC_FORM_STATE_KEY as t, UseCFormOptions as u };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { n as AutoCompleteProps$1, t as AutoCompleteOptionItem } from "./types2.js";
|
|
1
2
|
import { D as FormSlots, E as FormRecord, F as LayoutType, L as OptionItem, S as FormInstance, T as FormOption, a as ResolvedFormConfig, f as ComponentType, g as DynamicFormController, n as FormConfig, w as FormModel, z as SubmitEventPayload } from "./useFormConfig.js";
|
|
2
3
|
import { r as FormRenderer } from "./useFormRenderer.js";
|
|
4
|
+
import { a as SelectProps$1, o as SelectSelection, r as SelectOptionItem, s as SelectValue, t as SelectModelValue } from "./types4.js";
|
|
3
5
|
import * as vue from "vue";
|
|
4
6
|
import { ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
|
|
5
7
|
import { FormInst, FormItemInst, FormRules } from "naive-ui";
|
|
@@ -14,8 +16,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
14
16
|
} & {
|
|
15
17
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
16
18
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
17
|
-
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
18
19
|
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
20
|
+
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
19
21
|
}> & (typeof globalThis extends {
|
|
20
22
|
__VLS_PROPS_FALLBACK: infer P;
|
|
21
23
|
} ? P : {});
|
|
@@ -52,7 +54,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
52
54
|
}>) => void;
|
|
53
55
|
attrs: any;
|
|
54
56
|
slots: FormSlots<T>;
|
|
55
|
-
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-
|
|
57
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "validate-success", model: T) => void);
|
|
56
58
|
}>) => vue.VNode & {
|
|
57
59
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
58
60
|
};
|
|
@@ -88,6 +90,18 @@ interface UseCFormReturn<T extends object> {
|
|
|
88
90
|
/** Small binding helper for the common controlled C_Form setup. */
|
|
89
91
|
declare function useCForm<T extends object>(setup: UseCFormOptions<T>): UseCFormReturn<T>;
|
|
90
92
|
//#endregion
|
|
93
|
+
//#region src/components/C_Form/fieldRenderers.d.ts
|
|
94
|
+
/** 来源由业务对象推导,选择回调可直接使用整行记录回填关联字段。 */
|
|
95
|
+
declare function createSelectField<V extends SelectValue = SelectValue, M extends boolean = false, T extends boolean = false, R extends object = SelectOptionItem<V>, F extends object = Record<string, unknown>>(options: Omit<SelectProps$1<V, M, T, R, F>, 'modelValue' | 'disabled' | 'readonly'> & {
|
|
96
|
+
onSelect?: (selection: SelectSelection<NoInfer<R>, NoInfer<M>>) => void;
|
|
97
|
+
'onUpdate:modelValue'?: (value: SelectModelValue<NoInfer<V>, NoInfer<M>, NoInfer<T>>) => void;
|
|
98
|
+
}): FormRenderer;
|
|
99
|
+
/** 自动补全保留自由文本,选中建议时交付来源的完整业务记录。 */
|
|
100
|
+
declare function createAutoCompleteField<R extends object = AutoCompleteOptionItem, F extends object = Record<string, unknown>>(options: Omit<AutoCompleteProps$1<R, F>, 'modelValue' | 'disabled' | 'readonly'> & {
|
|
101
|
+
onSelect?: (row: NoInfer<R>) => void;
|
|
102
|
+
'onUpdate:modelValue'?: (value: string) => void;
|
|
103
|
+
}): FormRenderer;
|
|
104
|
+
//#endregion
|
|
91
105
|
//#region src/components/C_Form/composables/useFormState.d.ts
|
|
92
106
|
type FormEmit = {
|
|
93
107
|
(event: 'update:modelValue', model: FormModel): void;
|
|
@@ -188,4 +202,4 @@ type DynamicFormStateType = DynamicFormController;
|
|
|
188
202
|
*/
|
|
189
203
|
declare const DYNAMIC_FORM_STATE_KEY: unique symbol;
|
|
190
204
|
//#endregion
|
|
191
|
-
export { UseFormDirtyReturn as a,
|
|
205
|
+
export { UseFormDirtyReturn as a, createAutoCompleteField as c, UseCFormReturn as d, defineFormConfig as f, _default as h, useDynamicFormState as i, createSelectField as l, useCForm as m, DynamicFormStateType as n, useFormDirty as o, defineFormOptions as p, FIELD_TYPE_OPTIONS as r, useFormState as s, DYNAMIC_FORM_STATE_KEY as t, UseCFormOptions as u };
|
|
@@ -264,10 +264,10 @@ 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
|
-
width: string | number;
|
|
268
|
-
height: string | number;
|
|
269
267
|
theme: "light" | "dark";
|
|
268
|
+
width: string | number;
|
|
270
269
|
readonly: boolean;
|
|
270
|
+
height: string | number;
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
@@ -264,10 +264,10 @@ 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
|
-
width: string | number;
|
|
268
|
-
height: string | number;
|
|
269
267
|
theme: "light" | "dark";
|
|
268
|
+
width: string | number;
|
|
270
269
|
readonly: boolean;
|
|
270
|
+
height: string | number;
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
package/dist/useFormConfig.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { i as OptionValue, r as OptionSource } from "./optionSource.cjs";
|
|
2
|
+
import { t as ComponentDensity } from "./density.cjs";
|
|
1
3
|
import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.cjs";
|
|
2
4
|
import { t as OptionsState } from "./options.cjs";
|
|
3
|
-
import { t as ComponentDensity } from "./density.cjs";
|
|
4
5
|
import { CSSProperties, ComputedRef, DeepReadonly, VNode } from "vue";
|
|
5
6
|
import { FormInst, FormItemRule } from "naive-ui";
|
|
6
7
|
import { NAIVE_COMBOS, NaiveRule, PRESET_RULES, RuleSpec, RuleSpec as RuleSpec$1, SPEC_RULES } from "@robot-admin/form-validate";
|
|
@@ -47,7 +48,7 @@ type LabelPlacement = 'left' | 'top';
|
|
|
47
48
|
* 支持的表单控件类型
|
|
48
49
|
* @description 所有支持的表单输入控件类型
|
|
49
50
|
*/
|
|
50
|
-
type ComponentType = 'input' | 'textarea' | 'inputNumber' | 'select' | 'checkbox' | 'radio' | 'switch' | 'slider' | 'rate' | 'datePicker' | 'daterange' | 'timePicker' | 'cascader' | 'treeSelect' | 'colorPicker' | 'upload' | 'editor';
|
|
51
|
+
type ComponentType = 'input' | 'textarea' | 'inputNumber' | 'select' | 'autocomplete' | 'checkbox' | 'radio' | 'switch' | 'slider' | 'rate' | 'datePicker' | 'daterange' | 'timePicker' | 'cascader' | 'treeSelect' | 'colorPicker' | 'upload' | 'editor';
|
|
51
52
|
/**
|
|
52
53
|
* 选项项接口
|
|
53
54
|
* @description 用于 select、checkbox、radio 等组件的选项配置
|
|
@@ -292,6 +293,8 @@ interface FormOptionBase<T extends object> {
|
|
|
292
293
|
valueMode?: 'timestamp' | 'formatted';
|
|
293
294
|
/** 外部受控选项状态;仅呈现,不触发或订阅外部数据源。 */
|
|
294
295
|
optionsState?: OptionsState;
|
|
296
|
+
/** select/autocomplete 共用远程来源,可按当前模型派生依赖条件。 */
|
|
297
|
+
source?: OptionSource<object, OptionValue, object> | ((model: Readonly<T>) => OptionSource<object, OptionValue, object>);
|
|
295
298
|
children?: OptionItem[];
|
|
296
299
|
show?: boolean;
|
|
297
300
|
layout?: ItemLayoutConfig;
|
package/dist/useFormConfig.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as OptionValue, r as OptionSource } from "./optionSource.js";
|
|
2
2
|
import { t as ComponentDensity } from "./density.js";
|
|
3
|
+
import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.js";
|
|
3
4
|
import { CSSProperties, ComputedRef, DeepReadonly, VNode } from "vue";
|
|
4
5
|
import { FormInst, FormItemRule } from "naive-ui";
|
|
5
6
|
import { NAIVE_COMBOS, NaiveRule, PRESET_RULES, RuleSpec, RuleSpec as RuleSpec$1, SPEC_RULES } from "@robot-admin/form-validate";
|
|
@@ -54,7 +55,7 @@ type LabelPlacement = 'left' | 'top';
|
|
|
54
55
|
* 支持的表单控件类型
|
|
55
56
|
* @description 所有支持的表单输入控件类型
|
|
56
57
|
*/
|
|
57
|
-
type ComponentType = 'input' | 'textarea' | 'inputNumber' | 'select' | 'checkbox' | 'radio' | 'switch' | 'slider' | 'rate' | 'datePicker' | 'daterange' | 'timePicker' | 'cascader' | 'treeSelect' | 'colorPicker' | 'upload' | 'editor';
|
|
58
|
+
type ComponentType = 'input' | 'textarea' | 'inputNumber' | 'select' | 'autocomplete' | 'checkbox' | 'radio' | 'switch' | 'slider' | 'rate' | 'datePicker' | 'daterange' | 'timePicker' | 'cascader' | 'treeSelect' | 'colorPicker' | 'upload' | 'editor';
|
|
58
59
|
/**
|
|
59
60
|
* 选项项接口
|
|
60
61
|
* @description 用于 select、checkbox、radio 等组件的选项配置
|
|
@@ -299,6 +300,8 @@ interface FormOptionBase<T extends object> {
|
|
|
299
300
|
valueMode?: 'timestamp' | 'formatted';
|
|
300
301
|
/** 外部受控选项状态;仅呈现,不触发或订阅外部数据源。 */
|
|
301
302
|
optionsState?: OptionsState;
|
|
303
|
+
/** select/autocomplete 共用远程来源,可按当前模型派生依赖条件。 */
|
|
304
|
+
source?: OptionSource<object, OptionValue, object> | ((model: Readonly<T>) => OptionSource<object, OptionValue, object>);
|
|
302
305
|
children?: OptionItem[];
|
|
303
306
|
show?: boolean;
|
|
304
307
|
layout?: ItemLayoutConfig;
|
|
@@ -6,7 +6,7 @@ import { FormItemInst } from "naive-ui";
|
|
|
6
6
|
//#region src/components/C_Form/composables/useFormRenderer.d.ts
|
|
7
7
|
type ComponentMap = Record<string, Component>;
|
|
8
8
|
type RendererProps = Record<string, unknown> & {
|
|
9
|
-
'onUpdate:value'?: (value: unknown) => void;
|
|
9
|
+
'onUpdate:value'?: (value: unknown, selected?: unknown) => void;
|
|
10
10
|
};
|
|
11
11
|
interface FormRendererContext {
|
|
12
12
|
slots?: Readonly<Slots>;
|
|
@@ -6,7 +6,7 @@ import { FormItemInst } from "naive-ui";
|
|
|
6
6
|
//#region src/components/C_Form/composables/useFormRenderer.d.ts
|
|
7
7
|
type ComponentMap = Record<string, Component>;
|
|
8
8
|
type RendererProps = Record<string, unknown> & {
|
|
9
|
-
'onUpdate:value'?: (value: unknown) => void;
|
|
9
|
+
'onUpdate:value'?: (value: unknown, selected?: unknown) => void;
|
|
10
10
|
};
|
|
11
11
|
interface FormRendererContext {
|
|
12
12
|
slots?: Readonly<Slots>;
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -96,12 +96,12 @@ interface ExcelLoadResult {
|
|
|
96
96
|
//#endregion
|
|
97
97
|
//#region src/components/C_FilePreview/index.vue.d.ts
|
|
98
98
|
declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
99
|
-
preview: (file: string | File) => any;
|
|
100
99
|
download: (file: string | File) => any;
|
|
100
|
+
preview: (file: string | File) => any;
|
|
101
101
|
"update:show": (show: boolean) => any;
|
|
102
102
|
}, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
|
|
103
|
-
onPreview?: ((file: string | File) => any) | undefined;
|
|
104
103
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
104
|
+
onPreview?: ((file: string | File) => any) | undefined;
|
|
105
105
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
107
|
show: boolean;
|