@robot-admin/naive-ui-components 0.40.2 → 0.40.4
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 +15 -0
- package/README.md +2 -2
- package/README_EN.md +17 -17
- package/dist/BPMN.cjs +1 -1
- package/dist/BPMN.js +1 -1
- package/dist/C_ActionBar.css +58 -52
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV.css +108 -108
- package/dist/C_AvatarGroup.css +29 -29
- package/dist/C_AvatarGroup2.cjs +1 -1
- package/dist/C_AvatarGroup2.js +1 -1
- package/dist/C_Barcode.css +6 -6
- package/dist/C_Barcode.d.cts +2 -2
- package/dist/C_Barcode.d.ts +2 -2
- package/dist/C_Barcode2.cjs +1 -1
- package/dist/C_Barcode2.js +1 -1
- package/dist/C_Captcha.css +42 -42
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Cascade.css +4 -4
- package/dist/C_Cascade.d.cts +2 -2
- package/dist/C_Cascade.d.ts +2 -2
- package/dist/C_Cascade2.cjs +1 -1
- package/dist/C_Cascade2.js +1 -1
- package/dist/C_City.css +35 -35
- package/dist/C_City2.cjs +1 -1
- package/dist/C_City2.js +1 -1
- package/dist/C_Code.css +27 -27
- package/dist/C_Code.d.cts +2 -2
- package/dist/C_Code.d.ts +2 -2
- package/dist/C_Code2.cjs +1 -1
- package/dist/C_Code2.js +1 -1
- package/dist/C_CollapsePanel2.cjs +1 -1
- package/dist/C_CollapsePanel2.js +1 -1
- package/dist/C_ContextMenu.css +10 -10
- package/dist/C_ContextMenu2.cjs +1 -1
- package/dist/C_ContextMenu2.js +1 -1
- package/dist/C_DataPicker.css +32 -32
- package/dist/C_DataPicker2.cjs +1 -1
- package/dist/C_DataPicker2.js +1 -1
- package/dist/C_Editor.css +13 -13
- package/dist/C_Editor.d.cts +2 -2
- package/dist/C_Editor.d.ts +2 -2
- package/dist/C_Editor2.cjs +1 -1
- package/dist/C_Editor2.js +1 -1
- package/dist/C_FilePreview.css +104 -104
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_FormModal.css +58 -52
- package/dist/C_FormSearch.css +72 -72
- package/dist/C_FullCalendar2.cjs +1 -1
- package/dist/C_FullCalendar2.js +1 -1
- package/dist/C_GlobalSearch.css +139 -136
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_Guide.css +3 -3
- package/dist/C_Guide2.cjs +1 -1
- package/dist/C_Guide2.js +1 -1
- package/dist/C_Language.css +2 -2
- package/dist/C_Language2.cjs +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Login.css +136 -121
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Markdown.css +37 -37
- package/dist/C_Markdown.d.cts +2 -2
- package/dist/C_Markdown.d.ts +2 -2
- package/dist/C_Markdown2.cjs +1 -1
- package/dist/C_Markdown2.js +1 -1
- package/dist/C_NotificationCenter.css +51 -36
- package/dist/C_NotificationCenter2.cjs +1 -1
- package/dist/C_NotificationCenter2.js +1 -1
- package/dist/C_Progress.d.cts +2 -2
- package/dist/C_Progress.d.ts +2 -2
- package/dist/C_Progress2.cjs +1 -1
- package/dist/C_Progress2.js +1 -1
- package/dist/C_Signature.css +15 -15
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_Steps.css +39 -39
- package/dist/C_Steps.d.cts +2 -2
- package/dist/C_Steps.d.ts +2 -2
- package/dist/C_Steps2.cjs +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Table.base.css +58 -52
- package/dist/C_Table.css +58 -52
- package/dist/C_Table.d.ts +1 -0
- package/dist/C_Table2.cjs +2 -2
- package/dist/C_Table2.js +2 -2
- package/dist/C_TagsView.css +60 -50
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_Timeline.css +53 -53
- package/dist/C_Timeline2.cjs +1 -1
- package/dist/C_Timeline2.js +1 -1
- package/dist/C_Tree.d.ts +1 -0
- package/dist/C_Upload.css +80 -80
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_WaterFall.css +41 -41
- package/dist/C_WaterFall.d.cts +2 -2
- package/dist/C_WaterFall.d.ts +2 -2
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.js +1 -1
- package/dist/C_WorkFlow.css +93 -92
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/ER.cjs +1 -1
- package/dist/ER.js +1 -1
- package/dist/UML.cjs +3 -3
- package/dist/UML.js +3 -3
- package/dist/component-config.d.ts +2 -0
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.cts +1 -1
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.cts +6 -6
- package/dist/constants4.d.ts +7 -6
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/context.d.cts +2 -0
- package/dist/data2.d.cts +10 -10
- package/dist/data2.d.ts +10 -10
- package/dist/editors.cjs +1 -1
- package/dist/editors.d.cts +3 -3
- package/dist/editors.d.ts +3 -3
- package/dist/editors.js +1 -1
- package/dist/graphEditSession.cjs +1 -0
- package/dist/graphEditSession.js +1 -0
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +2 -3
- package/dist/index10.vue.d.ts +10 -7
- package/dist/index11.vue.d.cts +10 -7
- package/dist/index11.vue.d.ts +4 -4
- package/dist/index12.vue.d.cts +4 -4
- package/dist/index13.vue.d.ts +16 -13
- package/dist/index14.vue.d.cts +16 -13
- package/dist/index16.vue.d.ts +6 -11
- package/dist/index17.vue.d.cts +6 -11
- package/dist/index17.vue.d.ts +6 -6
- package/dist/index18.vue.d.cts +6 -6
- package/dist/index18.vue.d.ts +4 -9
- package/dist/index19.vue.d.cts +4 -9
- package/dist/index20.vue.d.ts +1 -2
- package/dist/index21.vue.d.cts +1 -2
- package/dist/index21.vue.d.ts +19 -17
- package/dist/index22.vue.d.cts +19 -17
- package/dist/index24.vue.d.cts +9 -6
- package/dist/index24.vue.d.ts +9 -6
- package/dist/index27.vue.d.cts +3 -3
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index28.vue.d.cts +12 -19
- package/dist/index28.vue.d.ts +12 -19
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index30.vue.d.cts +3 -10
- package/dist/index30.vue.d.ts +3 -10
- package/dist/index31.vue.d.cts +5 -5
- package/dist/index31.vue.d.ts +5 -5
- package/dist/index32.vue.d.cts +4 -4
- package/dist/index32.vue.d.ts +4 -4
- package/dist/index4.vue.d.cts +12 -9
- package/dist/index4.vue.d.ts +12 -9
- package/dist/index7.vue.d.ts +14 -14
- package/dist/index8.vue.d.cts +14 -14
- package/dist/index8.vue.d.ts +1 -1
- package/dist/index9.vue.d.cts +1 -1
- package/dist/index9.vue.d.ts +2 -3
- package/dist/locale.cjs +1 -0
- package/dist/locale.js +1 -0
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +1250 -1200
- package/dist/types.d.cts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/useCollapsePanel.d.cts +7 -7
- package/dist/useCollapsePanel.d.ts +7 -7
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +10 -10
- package/dist/useCropperCore.d.ts +10 -10
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +1 -1
- package/dist/useFullscreen.d.ts +1 -1
- package/dist/useGlobalSearch.d.cts +1 -5
- package/dist/useGlobalSearch.d.ts +1 -5
- package/dist/useInfiniteScroll.d.cts +42 -70
- package/dist/useInfiniteScroll.d.ts +42 -70
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useScopedComponentLocale.cjs +1 -0
- package/dist/useScopedComponentLocale.js +1 -0
- package/dist/useSignatureHistory.d.cts +9 -4
- package/dist/useSignatureHistory.d.ts +9 -4
- package/dist/useSplitResize.d.cts +8 -8
- package/dist/useSplitResize.d.ts +8 -8
- package/dist/useWorkflowValidation.d.cts +39 -34
- package/dist/useWorkflowValidation.d.ts +39 -34
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/architecture.en.md +1 -1
- package/docs/architecture.md +1 -1
- package/docs/component-audit-closure-0.40.4.md +62 -0
- package/docs/engineering.en.md +3 -2
- package/docs/engineering.md +3 -2
- package/docs/guides/search-workflows.md +2 -0
- package/docs/guides/transfer.md +2 -0
- package/docs/guides/usage.en.md +15 -1
- package/docs/guides/usage.md +25 -2
- package/docs/guides/workflow.md +5 -1
- package/docs/stability-boundaries-0.40.3.md +38 -0
- package/package.json +1 -1
- package/dist/readonlyGraph.cjs +0 -1
- package/dist/readonlyGraph.js +0 -1
package/dist/types.d.cts
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -72,23 +72,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
72
72
|
};
|
|
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
76
|
expand: (key: string) => any;
|
|
77
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
81
|
onExpand?: ((key: string) => any) | undefined;
|
|
82
82
|
onCollapse?: ((key: string) => any) | undefined;
|
|
83
|
-
|
|
83
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
|
+
persistKey: string;
|
|
86
|
+
accordion: boolean;
|
|
87
|
+
bordered: boolean;
|
|
85
88
|
activeKeys: string[];
|
|
86
89
|
defaultActiveKeys: string[];
|
|
87
|
-
accordion: boolean;
|
|
88
90
|
variant: CollapsePanelVariant;
|
|
89
91
|
expandIconPosition: ExpandIconPosition;
|
|
90
|
-
bordered: boolean;
|
|
91
|
-
persistKey: string;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
|
@@ -72,23 +72,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
72
72
|
};
|
|
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
76
|
expand: (key: string) => any;
|
|
77
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
81
|
onExpand?: ((key: string) => any) | undefined;
|
|
82
82
|
onCollapse?: ((key: string) => any) | undefined;
|
|
83
|
-
|
|
83
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
|
+
persistKey: string;
|
|
86
|
+
accordion: boolean;
|
|
87
|
+
bordered: boolean;
|
|
85
88
|
activeKeys: string[];
|
|
86
89
|
defaultActiveKeys: string[];
|
|
87
|
-
accordion: boolean;
|
|
88
90
|
variant: CollapsePanelVariant;
|
|
89
91
|
expandIconPosition: ExpandIconPosition;
|
|
90
|
-
bordered: boolean;
|
|
91
|
-
persistKey: string;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./context.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":`全部分类`,"userPicker.title":`选择人员`,"userPicker.placeholder":`请选择人员`,"userPicker.name":`人员`,"userPicker.code":`工号`,"userPicker.department":`部门`,"userPicker.job":`岗位`,"userPicker.status":`状态`,"userPicker.selected":`已选人员`,"userPicker.organization":`组织架构`,"userPicker.emptySelection":`尚未选择人员`,"userPicker.remove":`移除 {name}`,"userPicker.selectedPages":`已选人员分页`,"userPicker.moveUp":`上移 {name}`,"userPicker.moveDown":`下移 {name}`,"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.action":`操作`,"common.add":`新增`,"common.create":`创建`,"action.confirm":`确认`,"common.close":`关闭`,"common.view":`查看`,"common.import":`导入`,"common.export":`导出`,"common.fullscreen":`全屏`,"common.settings":`功能配置`,"common.more":`更多`,"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":`新增下级`,"orgChart.zoomIn":`放大`,"orgChart.zoomOut":`缩小`,"orgChart.reset":`重置`,"orgChart.expand":`展开 {label}`,"orgChart.collapse":`折叠 {label}`,"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}不能为空`,"form.draftChanged":`表单已修改,请重新保存。`,"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`,"userPicker.title":`Select people`,"userPicker.placeholder":`Select people`,"userPicker.name":`Person`,"userPicker.code":`Employee number`,"userPicker.department":`Department`,"userPicker.job":`Position`,"userPicker.status":`Status`,"userPicker.selected":`Selected people`,"userPicker.organization":`Organization`,"userPicker.emptySelection":`No people selected`,"userPicker.remove":`Remove {name}`,"userPicker.selectedPages":`Selected people pagination`,"userPicker.moveUp":`Move {name} up`,"userPicker.moveDown":`Move {name} down`,"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.action":`Action`,"common.add":`Add`,"common.create":`Create`,"action.confirm":`Confirm`,"common.close":`Close`,"common.view":`View`,"common.import":`Import`,"common.export":`Export`,"common.fullscreen":`Fullscreen`,"common.settings":`Settings`,"common.more":`More`,"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`,"orgChart.zoomIn":`Zoom in`,"orgChart.zoomOut":`Zoom out`,"orgChart.reset":`Reset`,"orgChart.expand":`Expand {label}`,"orgChart.collapse":`Collapse {label}`,"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`,"form.draftChanged":`Form changed. Save again.`,"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.r,{}):{};return{t:(e,i)=>s(e,(0,t.toValue)(n),r,i)}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./context.cjs`),t=require(`./locale.cjs`);let n=require(`vue`);function r(r){let i=(0,n.getCurrentInstance)()?(0,n.inject)(e.r,{}):{};return{t:(e,a)=>t.t(e,(0,n.toValue)(r),i,a)}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./context.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":`全部分类`,"userPicker.title":`选择人员`,"userPicker.placeholder":`请选择人员`,"userPicker.name":`人员`,"userPicker.code":`工号`,"userPicker.department":`部门`,"userPicker.job":`岗位`,"userPicker.status":`状态`,"userPicker.selected":`已选人员`,"userPicker.organization":`组织架构`,"userPicker.emptySelection":`尚未选择人员`,"userPicker.remove":`移除 {name}`,"userPicker.selectedPages":`已选人员分页`,"userPicker.moveUp":`上移 {name}`,"userPicker.moveDown":`下移 {name}`,"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.action":`操作`,"common.add":`新增`,"common.create":`创建`,"action.confirm":`确认`,"common.close":`关闭`,"common.view":`查看`,"common.import":`导入`,"common.export":`导出`,"common.fullscreen":`全屏`,"common.settings":`功能配置`,"common.more":`更多`,"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":`新增下级`,"orgChart.zoomIn":`放大`,"orgChart.zoomOut":`缩小`,"orgChart.reset":`重置`,"orgChart.expand":`展开 {label}`,"orgChart.collapse":`折叠 {label}`,"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}不能为空`,"form.draftChanged":`表单已修改,请重新保存。`,"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`,"userPicker.title":`Select people`,"userPicker.placeholder":`Select people`,"userPicker.name":`Person`,"userPicker.code":`Employee number`,"userPicker.department":`Department`,"userPicker.job":`Position`,"userPicker.status":`Status`,"userPicker.selected":`Selected people`,"userPicker.organization":`Organization`,"userPicker.emptySelection":`No people selected`,"userPicker.remove":`Remove {name}`,"userPicker.selectedPages":`Selected people pagination`,"userPicker.moveUp":`Move {name} up`,"userPicker.moveDown":`Move {name} down`,"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.action":`Action`,"common.add":`Add`,"common.create":`Create`,"action.confirm":`Confirm`,"common.close":`Close`,"common.view":`View`,"common.import":`Import`,"common.export":`Export`,"common.fullscreen":`Fullscreen`,"common.settings":`Settings`,"common.more":`More`,"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`,"orgChart.zoomIn":`Zoom in`,"orgChart.zoomOut":`Zoom out`,"orgChart.reset":`Reset`,"orgChart.expand":`Expand {label}`,"orgChart.collapse":`Collapse {label}`,"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`,"form.draftChanged":`Form changed. Save again.`,"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{r as e}from"./context.js";import{t}from"./locale.js";import{getCurrentInstance as n,inject as r,toValue as i}from"vue";function a(a){let o=n()?r(e,{}):{};return{t:(e,n)=>t(e,i(a),o,n)}}export{a as t};
|
|
@@ -51,30 +51,30 @@ 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
|
-
error: (error: Error) => any;
|
|
55
54
|
ready: () => any;
|
|
56
|
-
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
55
|
+
error: (error: Error) => any;
|
|
58
56
|
crop: (result: CropResult) => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onError?: ((error: Error) => any) | undefined;
|
|
61
60
|
onReady?: (() => any) | undefined;
|
|
62
|
-
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
61
|
+
onError?: ((error: Error) => any) | undefined;
|
|
64
62
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
|
-
showPreview: boolean;
|
|
68
66
|
height: string | number;
|
|
67
|
+
disabled: boolean;
|
|
69
68
|
src: string;
|
|
70
|
-
modal: boolean;
|
|
71
|
-
showToolbar: boolean;
|
|
72
69
|
aspectRatio: number;
|
|
73
70
|
outputFormat: CropOutputFormat;
|
|
74
71
|
outputQuality: number;
|
|
75
72
|
maxOutputWidth: number;
|
|
76
73
|
maxOutputHeight: number;
|
|
74
|
+
showPreview: boolean;
|
|
75
|
+
showToolbar: boolean;
|
|
77
76
|
circular: boolean;
|
|
77
|
+
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,30 +51,30 @@ 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
|
-
error: (error: Error) => any;
|
|
55
54
|
ready: () => any;
|
|
56
|
-
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
55
|
+
error: (error: Error) => any;
|
|
58
56
|
crop: (result: CropResult) => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onError?: ((error: Error) => any) | undefined;
|
|
61
60
|
onReady?: (() => any) | undefined;
|
|
62
|
-
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
61
|
+
onError?: ((error: Error) => any) | undefined;
|
|
64
62
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
|
-
showPreview: boolean;
|
|
68
66
|
height: string | number;
|
|
67
|
+
disabled: boolean;
|
|
69
68
|
src: string;
|
|
70
|
-
modal: boolean;
|
|
71
|
-
showToolbar: boolean;
|
|
72
69
|
aspectRatio: number;
|
|
73
70
|
outputFormat: CropOutputFormat;
|
|
74
71
|
outputQuality: number;
|
|
75
72
|
maxOutputWidth: number;
|
|
76
73
|
maxOutputHeight: number;
|
|
74
|
+
showPreview: boolean;
|
|
75
|
+
showToolbar: boolean;
|
|
77
76
|
circular: boolean;
|
|
77
|
+
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
16
16
|
} & {
|
|
17
17
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
18
18
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
19
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
20
19
|
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
20
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
21
21
|
}> & (typeof globalThis extends {
|
|
22
22
|
__VLS_PROPS_FALLBACK: infer P;
|
|
23
23
|
} ? P : {});
|
|
@@ -54,7 +54,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
54
54
|
}>) => void;
|
|
55
55
|
attrs: any;
|
|
56
56
|
slots: FormSlots<T>;
|
|
57
|
-
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-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
|
|
58
58
|
}>) => vue.VNode & {
|
|
59
59
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
60
60
|
};
|
|
@@ -16,8 +16,8 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
16
16
|
} & {
|
|
17
17
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
18
18
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
19
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
20
19
|
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
20
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
21
21
|
}> & (typeof globalThis extends {
|
|
22
22
|
__VLS_PROPS_FALLBACK: infer P;
|
|
23
23
|
} ? P : {});
|
|
@@ -54,7 +54,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
54
54
|
}>) => void;
|
|
55
55
|
attrs: any;
|
|
56
56
|
slots: FormSlots<T>;
|
|
57
|
-
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-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
|
|
58
58
|
}>) => vue.VNode & {
|
|
59
59
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
60
60
|
};
|
|
@@ -266,8 +266,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
266
266
|
}>, {
|
|
267
267
|
height: string | number;
|
|
268
268
|
readonly: boolean;
|
|
269
|
-
width: string | number;
|
|
270
269
|
showToolbar: boolean;
|
|
270
|
+
width: string | number;
|
|
271
271
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
272
272
|
declare const _default: typeof __VLS_export;
|
|
273
273
|
//#endregion
|
|
@@ -266,8 +266,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
266
266
|
}>, {
|
|
267
267
|
height: string | number;
|
|
268
268
|
readonly: boolean;
|
|
269
|
-
width: string | number;
|
|
270
269
|
showToolbar: boolean;
|
|
270
|
+
width: string | number;
|
|
271
271
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
272
272
|
declare const _default: typeof __VLS_export;
|
|
273
273
|
//#endregion
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -104,8 +104,8 @@ declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}
|
|
|
104
104
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
105
105
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
-
inline: boolean;
|
|
108
107
|
show: boolean;
|
|
108
|
+
inline: boolean;
|
|
109
109
|
fileName: string;
|
|
110
110
|
autoPreview: boolean;
|
|
111
111
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -104,8 +104,8 @@ declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}
|
|
|
104
104
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
105
105
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
-
inline: boolean;
|
|
108
107
|
show: boolean;
|
|
108
|
+
inline: boolean;
|
|
109
109
|
fileName: string;
|
|
110
110
|
autoPreview: boolean;
|
|
111
111
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -59,11 +59,7 @@ interface Props {
|
|
|
59
59
|
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
60
60
|
openDialog: () => Promise<void>;
|
|
61
61
|
closeDialog: () => void;
|
|
62
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
63
|
-
placeholder: string;
|
|
64
|
-
emptyText: string;
|
|
65
|
-
resultGroupTitle: string;
|
|
66
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
62
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
67
63
|
declare const _default: typeof __VLS_export;
|
|
68
64
|
//#endregion
|
|
69
65
|
//#region src/components/C_GlobalSearch/composables/useGlobalSearch.d.ts
|
|
@@ -59,11 +59,7 @@ interface Props {
|
|
|
59
59
|
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
60
60
|
openDialog: () => Promise<void>;
|
|
61
61
|
closeDialog: () => void;
|
|
62
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
63
|
-
placeholder: string;
|
|
64
|
-
emptyText: string;
|
|
65
|
-
resultGroupTitle: string;
|
|
66
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
62
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
67
63
|
declare const _default: typeof __VLS_export;
|
|
68
64
|
//#endregion
|
|
69
65
|
//#region src/components/C_GlobalSearch/composables/useGlobalSearch.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
-
import { Ref } from "vue";
|
|
2
|
+
import { DeepReadonly, Ref, UnwrapRef, VNodeChild } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_WaterFall/types.d.ts
|
|
5
5
|
interface WaterFallItem {
|
|
@@ -11,8 +11,10 @@ interface WaterFallItem {
|
|
|
11
11
|
description?: string;
|
|
12
12
|
[key: string]: any;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
/** 深代理保留既有只读与 Ref 解包语义;由包内部推导,调用方无需转换。 */
|
|
15
|
+
type WaterFallRenderedItem<T extends WaterFallItem = WaterFallItem> = DeepReadonly<UnwrapRef<T>>;
|
|
16
|
+
interface WaterFallLayoutItem<T extends WaterFallItem = WaterFallItem> {
|
|
17
|
+
item: T;
|
|
16
18
|
columnIndex: number;
|
|
17
19
|
x: number;
|
|
18
20
|
y: number;
|
|
@@ -30,8 +32,8 @@ interface WaterFallBreakpoint {
|
|
|
30
32
|
columns: number;
|
|
31
33
|
}
|
|
32
34
|
type InfiniteScrollStatus = 'idle' | 'loading' | 'no-more' | 'error';
|
|
33
|
-
interface WaterFallProps {
|
|
34
|
-
items:
|
|
35
|
+
interface WaterFallProps<T extends WaterFallItem = WaterFallItem> {
|
|
36
|
+
items: readonly T[];
|
|
35
37
|
columns?: number;
|
|
36
38
|
gap?: number;
|
|
37
39
|
lazy?: boolean;
|
|
@@ -45,11 +47,11 @@ interface WaterFallProps {
|
|
|
45
47
|
loading?: boolean;
|
|
46
48
|
noMore?: boolean;
|
|
47
49
|
}
|
|
48
|
-
interface WaterFallEmits {
|
|
50
|
+
interface WaterFallEmits<T extends WaterFallItem = WaterFallItem> {
|
|
49
51
|
'load-more': [];
|
|
50
|
-
'item-click': [item:
|
|
51
|
-
'image-loaded': [item:
|
|
52
|
-
'image-error': [item:
|
|
52
|
+
'item-click': [item: WaterFallRenderedItem<T>, index: number];
|
|
53
|
+
'image-loaded': [item: WaterFallRenderedItem<T>];
|
|
54
|
+
'image-error': [item: WaterFallRenderedItem<T>];
|
|
53
55
|
}
|
|
54
56
|
interface WaterFallExpose {
|
|
55
57
|
relayout: () => void;
|
|
@@ -57,55 +59,41 @@ interface WaterFallExpose {
|
|
|
57
59
|
getColumns: () => number;
|
|
58
60
|
getContainerHeight: () => number;
|
|
59
61
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
item:
|
|
62
|
+
/** 业务字段由 items 推导;自定义卡片不需要转为库内部类型。 */
|
|
63
|
+
interface WaterFallSlots<T extends WaterFallItem = WaterFallItem> {
|
|
64
|
+
item?: (context: {
|
|
65
|
+
item: WaterFallRenderedItem<T>;
|
|
64
66
|
index: number;
|
|
65
67
|
width: number;
|
|
66
68
|
height: number;
|
|
67
|
-
}
|
|
69
|
+
}) => VNodeChild;
|
|
70
|
+
skeleton?: () => VNodeChild;
|
|
71
|
+
footer?: (context: {
|
|
68
72
|
status: InfiniteScrollStatus;
|
|
69
73
|
paused: boolean;
|
|
70
74
|
loadMore: () => void;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
}) => VNodeChild;
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/C_WaterFall/index.vue.d.ts
|
|
79
|
+
declare const __VLS_export: <T extends WaterFallItem = WaterFallItem>(__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<{
|
|
80
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<WaterFallProps<T> & {
|
|
81
|
+
"onItem-click"?: ((item: vue.DeepReadonly<vue.UnwrapRef<T>>, index: number) => any) | undefined;
|
|
82
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
83
|
+
"onImage-loaded"?: ((item: vue.DeepReadonly<vue.UnwrapRef<T>>) => any) | undefined;
|
|
84
|
+
"onImage-error"?: ((item: vue.DeepReadonly<vue.UnwrapRef<T>>) => any) | undefined;
|
|
85
|
+
}> & (typeof globalThis extends {
|
|
86
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
87
|
+
} ? P : {});
|
|
88
|
+
expose: (exposed: vue.ShallowUnwrapRef<WaterFallExpose>) => void;
|
|
89
|
+
attrs: any;
|
|
90
|
+
slots: WaterFallSlots<T>;
|
|
91
|
+
emit: ((evt: "item-click", item: vue.DeepReadonly<vue.UnwrapRef<T>>, index: number) => void) & ((evt: "load-more") => void) & ((evt: "image-loaded", item: vue.DeepReadonly<vue.UnwrapRef<T>>) => void) & ((evt: "image-error", item: vue.DeepReadonly<vue.UnwrapRef<T>>) => void);
|
|
92
|
+
}>) => vue.VNode & {
|
|
93
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
78
94
|
};
|
|
79
|
-
declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
80
|
-
"load-more": () => any;
|
|
81
|
-
"item-click": (item: WaterFallItem, index: number) => any;
|
|
82
|
-
"image-loaded": (item: WaterFallItem) => any;
|
|
83
|
-
"image-error": (item: WaterFallItem) => any;
|
|
84
|
-
}, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
|
|
85
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
86
|
-
"onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
|
|
87
|
-
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
|
-
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
|
-
}>, {
|
|
90
|
-
infinite: boolean;
|
|
91
|
-
loading: boolean;
|
|
92
|
-
virtualScroll: boolean;
|
|
93
|
-
columns: number;
|
|
94
|
-
gap: number;
|
|
95
|
-
lazy: boolean;
|
|
96
|
-
skeleton: boolean;
|
|
97
|
-
skeletonCount: number;
|
|
98
|
-
animationDuration: number;
|
|
99
|
-
breakpoints: WaterFallBreakpoint[];
|
|
100
|
-
noMore: boolean;
|
|
101
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
102
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
103
95
|
declare const _default: typeof __VLS_export;
|
|
104
|
-
type
|
|
105
|
-
new (): {
|
|
106
|
-
$slots: S;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
96
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
109
97
|
//#endregion
|
|
110
98
|
//#region src/components/C_WaterFall/constants.d.ts
|
|
111
99
|
declare const DEFAULT_GAP = 16;
|
|
@@ -128,19 +116,11 @@ declare function useResponsiveColumns(containerRef: Ref<HTMLElement | undefined>
|
|
|
128
116
|
/**
|
|
129
117
|
*
|
|
130
118
|
*/
|
|
131
|
-
declare function useWaterFallLayout(items: Ref<
|
|
119
|
+
declare function useWaterFallLayout<T extends WaterFallItem = WaterFallItem>(items: Readonly<Ref<readonly T[]>>, columns: Readonly<Ref<number>>, containerWidth: Readonly<Ref<number>>, gap: Ref<number>, options?: {
|
|
132
120
|
batchImageLoads?: boolean;
|
|
133
121
|
}): {
|
|
134
122
|
layoutItems: Readonly<Ref<readonly {
|
|
135
|
-
readonly item:
|
|
136
|
-
readonly [x: string]: any;
|
|
137
|
-
readonly id: string | number;
|
|
138
|
-
readonly src: string;
|
|
139
|
-
readonly width: number;
|
|
140
|
-
readonly height: number;
|
|
141
|
-
readonly title?: string | undefined;
|
|
142
|
-
readonly description?: string | undefined;
|
|
143
|
-
};
|
|
123
|
+
readonly item: vue.DeepReadonly<vue.UnwrapRef<T>>;
|
|
144
124
|
readonly columnIndex: number;
|
|
145
125
|
readonly x: number;
|
|
146
126
|
readonly y: number;
|
|
@@ -148,15 +128,7 @@ declare function useWaterFallLayout(items: Ref<WaterFallItem[]>, columns: Readon
|
|
|
148
128
|
readonly height: number;
|
|
149
129
|
readonly totalHeight?: number | undefined;
|
|
150
130
|
}[], readonly {
|
|
151
|
-
readonly item:
|
|
152
|
-
readonly [x: string]: any;
|
|
153
|
-
readonly id: string | number;
|
|
154
|
-
readonly src: string;
|
|
155
|
-
readonly width: number;
|
|
156
|
-
readonly height: number;
|
|
157
|
-
readonly title?: string | undefined;
|
|
158
|
-
readonly description?: string | undefined;
|
|
159
|
-
};
|
|
131
|
+
readonly item: vue.DeepReadonly<vue.UnwrapRef<T>>;
|
|
160
132
|
readonly columnIndex: number;
|
|
161
133
|
readonly x: number;
|
|
162
134
|
readonly y: number;
|
|
@@ -178,4 +150,4 @@ declare function useInfiniteScroll(sentinelRef: Ref<HTMLElement | undefined>, en
|
|
|
178
150
|
resume: () => void;
|
|
179
151
|
};
|
|
180
152
|
//#endregion
|
|
181
|
-
export { WaterFallLayoutItem as _, DEFAULT_BREAKPOINTS as a, INFINITE_SCROLL_THRESHOLD as c, InfiniteScrollStatus as d, WaterFallBreakpoint as f, WaterFallItem as g, WaterFallExpose as h, DEFAULT_ANIMATION_DURATION as i, SKELETON_HEIGHT_RANGE as l, WaterFallEmits as m, useWaterFallLayout as n, DEFAULT_GAP as o, WaterFallColumn as p, useResponsiveColumns as r, DEFAULT_SKELETON_COUNT as s, useInfiniteScroll as t, _default as u, WaterFallProps as v };
|
|
153
|
+
export { WaterFallLayoutItem as _, DEFAULT_BREAKPOINTS as a, WaterFallSlots as b, INFINITE_SCROLL_THRESHOLD as c, InfiniteScrollStatus as d, WaterFallBreakpoint as f, WaterFallItem as g, WaterFallExpose as h, DEFAULT_ANIMATION_DURATION as i, SKELETON_HEIGHT_RANGE as l, WaterFallEmits as m, useWaterFallLayout as n, DEFAULT_GAP as o, WaterFallColumn as p, useResponsiveColumns as r, DEFAULT_SKELETON_COUNT as s, useInfiniteScroll as t, _default as u, WaterFallProps as v, WaterFallRenderedItem as y };
|