@robot-admin/naive-ui-components 0.10.3 → 0.11.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 +111 -100
- package/LICENSE +21 -21
- package/README.md +463 -318
- package/README_EN.md +404 -0
- package/SECURITY.md +23 -0
- package/dist/C_ActionBar.cjs +1 -1
- package/dist/C_ActionBar.css +46 -48
- package/dist/C_ActionBar.d.cts +1 -1
- package/dist/C_ActionBar.js +1 -1
- package/dist/C_ActionBar2.cjs +1 -0
- package/dist/C_ActionBar2.js +1 -2
- package/dist/C_AntV.cjs +1 -1
- package/dist/C_AntV.css +3 -3
- package/dist/C_AntV.d.cts +1 -1
- package/dist/C_AntV.js +1 -1
- package/dist/C_AntV2.cjs +4 -0
- package/dist/C_AntV2.js +3 -4
- package/dist/C_AudioPlayer.cjs +1 -1
- package/dist/C_AudioPlayer.css +15 -7
- package/dist/C_AudioPlayer.d.cts +1 -1
- package/dist/C_AudioPlayer.js +1 -1
- package/dist/C_AudioPlayer2.cjs +1 -0
- package/dist/C_AudioPlayer2.js +1 -2
- package/dist/C_AvatarGroup.cjs +1 -1
- package/dist/C_AvatarGroup.css +15 -7
- package/dist/C_AvatarGroup.d.cts +1 -1
- package/dist/C_AvatarGroup2.cjs +1 -0
- package/dist/C_AvatarGroup2.js +1 -2
- package/dist/C_Barcode.cjs +1 -1
- package/dist/C_Barcode.css +0 -2
- package/dist/C_Barcode.d.cts +1 -1
- package/dist/C_Barcode2.cjs +1 -0
- package/dist/C_Barcode2.js +1 -2
- package/dist/C_Breadcrumb.cjs +1 -1
- package/dist/C_Breadcrumb.css +0 -2
- package/dist/C_Breadcrumb.d.cts +2 -2
- package/dist/C_Breadcrumb.d.ts +1 -2
- package/dist/C_Breadcrumb.js +1 -1
- package/dist/C_Breadcrumb2.cjs +1 -0
- package/dist/C_Breadcrumb2.js +1 -2
- package/dist/C_Captcha.cjs +1 -1
- package/dist/C_Captcha.css +46 -21
- package/dist/C_Captcha.d.cts +3 -2
- package/dist/C_Captcha.d.ts +3 -2
- package/dist/C_Captcha.js +1 -1
- package/dist/C_Captcha2.cjs +1 -0
- package/dist/C_Captcha2.js +1 -2
- package/dist/C_Cascade.cjs +1 -1
- package/dist/C_Cascade.css +0 -2
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.d.ts +1 -1
- package/dist/C_Cascade2.cjs +1 -0
- package/dist/C_Cascade2.js +1 -2
- package/dist/C_Chat.cjs +1 -1
- package/dist/C_Chat.css +0 -2
- package/dist/C_Chat.d.cts +1 -1
- package/dist/C_Chat.d.ts +1 -1
- package/dist/C_Chat.js +1 -1
- package/dist/C_Chat2.cjs +1 -0
- package/dist/C_Chat2.js +1 -2
- package/dist/C_City.cjs +1 -1
- package/dist/C_City.css +28 -30
- package/dist/C_City.d.cts +1 -1
- package/dist/C_City.d.ts +1 -1
- package/dist/C_City2.cjs +1 -0
- package/dist/C_City2.js +1 -2
- package/dist/C_Code.cjs +1 -1
- package/dist/C_Code.css +241 -4
- package/dist/C_Code.d.cts +1 -1
- package/dist/C_Code.d.ts +1 -1
- package/dist/C_Code.js +1 -1
- package/dist/C_Code2.cjs +1 -0
- package/dist/C_Code2.js +1 -2
- package/dist/C_CollapsePanel.cjs +1 -1
- package/dist/C_CollapsePanel.css +12 -6
- package/dist/C_CollapsePanel.d.cts +1 -1
- package/dist/C_CollapsePanel.js +1 -1
- package/dist/C_CollapsePanel2.cjs +1 -0
- package/dist/C_CollapsePanel2.js +1 -2
- package/dist/C_ContextMenu.cjs +1 -1
- package/dist/C_ContextMenu.css +16 -18
- package/dist/C_ContextMenu.d.cts +1 -1
- package/dist/C_ContextMenu.d.ts +1 -1
- package/dist/C_ContextMenu.js +1 -1
- package/dist/C_ContextMenu2.cjs +1 -0
- package/dist/C_ContextMenu2.js +1 -2
- package/dist/C_Cron.cjs +1 -1
- package/dist/C_Cron.css +18 -8
- package/dist/C_Cron.d.cts +1 -1
- package/dist/C_Cron.js +1 -1
- package/dist/C_Cron2.cjs +1 -0
- package/dist/C_Cron2.js +1 -2
- package/dist/C_Date.cjs +1 -1
- package/dist/C_Date.css +1 -0
- package/dist/C_Date.d.cts +2 -2
- package/dist/C_Date.d.ts +2 -2
- package/dist/C_Date2.cjs +1 -0
- package/dist/C_Date2.js +1 -2
- package/dist/C_Draggable.cjs +1 -1
- package/dist/C_Draggable.css +9 -5
- package/dist/C_Draggable.d.cts +1 -1
- package/dist/C_Draggable2.cjs +1 -0
- package/dist/C_Draggable2.js +1 -2
- package/dist/C_Editor.cjs +1 -1
- package/dist/C_Editor.css +80 -67
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_Editor2.cjs +1 -0
- package/dist/C_Editor2.js +1 -2
- package/dist/C_FilePreview.cjs +1 -1
- package/dist/C_FilePreview.css +0 -2
- package/dist/C_FilePreview.d.cts +1 -1
- package/dist/C_FilePreview.js +1 -1
- package/dist/C_FilePreview2.cjs +1 -0
- package/dist/C_FilePreview2.js +1 -2
- package/dist/C_Form.base.css +980 -0
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Form.css +256 -155
- package/dist/C_Form.d.cts +2 -2
- package/dist/C_Form.d.ts +2 -2
- package/dist/C_Form.js +1 -1
- package/dist/C_Form2.cjs +1 -0
- package/dist/C_Form2.js +1 -2
- package/dist/C_FormSearch.cjs +1 -1
- package/dist/C_FormSearch.css +47 -47
- package/dist/C_FormSearch.d.cts +2 -2
- package/dist/C_FormSearch.d.ts +2 -2
- package/dist/C_FormSearch2.cjs +1 -0
- package/dist/C_FormSearch2.js +1 -2
- package/dist/C_FormulaEditor.cjs +1 -1
- package/dist/C_FormulaEditor.css +64 -38
- package/dist/C_FormulaEditor.d.cts +1 -1
- package/dist/C_FormulaEditor.js +1 -1
- package/dist/C_FormulaEditor2.cjs +2 -0
- package/dist/C_FormulaEditor2.js +2 -2
- package/dist/C_FullCalendar.cjs +1 -1
- package/dist/C_FullCalendar.css +0 -2
- package/dist/C_FullCalendar.d.cts +1 -1
- package/dist/C_FullCalendar2.cjs +1 -0
- package/dist/C_FullCalendar2.js +1 -2
- package/dist/C_GlobalSearch.cjs +1 -1
- package/dist/C_GlobalSearch.css +111 -113
- package/dist/C_GlobalSearch.d.cts +1 -1
- package/dist/C_GlobalSearch2.cjs +1 -0
- package/dist/C_GlobalSearch2.js +1 -2
- package/dist/C_Guide.cjs +1 -1
- package/dist/C_Guide.css +1 -0
- package/dist/C_Guide.d.cts +1 -1
- package/dist/C_Guide.d.ts +1 -1
- package/dist/C_Guide.js +1 -1
- package/dist/C_Guide2.cjs +1 -0
- package/dist/C_Guide2.js +1 -2
- package/dist/C_Icon.cjs +1 -1
- package/dist/C_Icon.css +58 -0
- package/dist/C_Icon.d.cts +1 -1
- package/dist/C_Icon.d.ts +1 -1
- package/dist/C_Icon2.cjs +1 -0
- package/dist/C_Icon2.js +1 -2
- package/dist/C_ImageCropper.cjs +1 -1
- package/dist/C_ImageCropper.css +0 -2
- package/dist/C_ImageCropper.d.cts +1 -1
- package/dist/C_ImageCropper.js +1 -1
- package/dist/C_ImageCropper2.cjs +1 -0
- package/dist/C_ImageCropper2.js +1 -2
- package/dist/C_Language.cjs +1 -1
- package/dist/C_Language.css +1 -0
- package/dist/C_Language.d.cts +1 -1
- package/dist/C_Language.d.ts +1 -1
- package/dist/C_Language.js +1 -1
- package/dist/C_Language2.cjs +1 -0
- package/dist/C_Language2.js +1 -2
- package/dist/C_Login.cjs +1 -1
- package/dist/C_Login.css +92 -76
- package/dist/C_Login.d.cts +1 -1
- package/dist/C_Login.d.ts +1 -1
- package/dist/C_Login.js +1 -1
- package/dist/C_Login2.cjs +1 -0
- package/dist/C_Login2.js +1 -2
- package/dist/C_Map.cjs +1 -1
- package/dist/C_Map.css +665 -5
- package/dist/C_Map.d.cts +1 -1
- package/dist/C_Map2.cjs +1 -0
- package/dist/C_Map2.js +1 -2
- package/dist/C_Markdown.cjs +1 -1
- package/dist/C_Markdown.css +940 -35
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Markdown2.cjs +1 -0
- package/dist/C_Markdown2.js +1 -2
- package/dist/C_Menu.cjs +1 -1
- package/dist/C_Menu.css +1 -0
- package/dist/C_Menu.d.cts +3 -3
- package/dist/C_Menu.d.ts +3 -4
- package/dist/C_Menu.js +1 -1
- package/dist/C_Menu2.cjs +1 -0
- package/dist/C_Menu2.js +1 -2
- package/dist/C_NotificationCenter.cjs +1 -1
- package/dist/C_NotificationCenter.css +95 -47
- package/dist/C_NotificationCenter.d.cts +1 -1
- package/dist/C_NotificationCenter.js +1 -1
- package/dist/C_NotificationCenter2.cjs +1 -0
- package/dist/C_NotificationCenter2.js +1 -2
- package/dist/C_OrgChart.cjs +1 -1
- package/dist/C_OrgChart.css +6 -4
- package/dist/C_OrgChart.d.cts +1 -1
- package/dist/C_OrgChart.d.ts +1 -1
- package/dist/C_OrgChart2.cjs +1 -0
- package/dist/C_OrgChart2.js +1 -2
- package/dist/C_Progress.cjs +1 -1
- package/dist/C_Progress.css +1 -0
- package/dist/C_Progress.d.cts +1 -1
- package/dist/C_Progress.d.ts +1 -1
- package/dist/C_Progress2.cjs +1 -0
- package/dist/C_Progress2.js +1 -2
- package/dist/C_QRCode.cjs +1 -1
- package/dist/C_QRCode.css +8 -10
- package/dist/C_QRCode.d.cts +1 -1
- package/dist/C_QRCode2.cjs +1 -0
- package/dist/C_QRCode2.js +1 -2
- package/dist/C_Signature.cjs +1 -1
- package/dist/C_Signature.css +0 -2
- package/dist/C_Signature.d.cts +1 -1
- package/dist/C_Signature.js +1 -1
- package/dist/C_Signature2.cjs +1 -0
- package/dist/C_Signature2.js +1 -2
- package/dist/C_Skeleton.cjs +1 -1
- package/dist/C_Skeleton.css +0 -2
- package/dist/C_Skeleton.d.cts +1 -1
- package/dist/C_Skeleton.d.ts +1 -1
- package/dist/C_Skeleton2.cjs +1 -0
- package/dist/C_Skeleton2.js +1 -2
- package/dist/C_SplitPane.cjs +1 -1
- package/dist/C_SplitPane.css +27 -11
- package/dist/C_SplitPane.d.cts +1 -1
- package/dist/C_SplitPane.js +1 -1
- package/dist/C_SplitPane2.cjs +1 -0
- package/dist/C_SplitPane2.js +1 -2
- package/dist/C_Steps.cjs +1 -1
- package/dist/C_Steps.css +37 -39
- package/dist/C_Steps.d.cts +1 -1
- package/dist/C_Steps.d.ts +1 -1
- package/dist/C_Steps2.cjs +1 -0
- package/dist/C_Steps2.js +1 -2
- package/dist/C_Table.base.css +1588 -0
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +1202 -112
- package/dist/C_Table.d.cts +2 -2
- package/dist/C_Table.d.ts +11 -2
- package/dist/C_Table.js +1 -1
- package/dist/C_TagsView.cjs +1 -1
- package/dist/C_TagsView.css +44 -40
- package/dist/C_TagsView.d.cts +2 -2
- package/dist/C_TagsView.d.ts +2 -3
- package/dist/C_TagsView.js +1 -1
- package/dist/C_TagsView2.cjs +1 -0
- package/dist/C_TagsView2.js +1 -2
- package/dist/C_Theme.cjs +1 -1
- package/dist/C_Theme.css +1 -0
- package/dist/C_Theme.d.cts +1 -1
- package/dist/C_Theme.d.ts +1 -1
- package/dist/C_Theme.js +1 -1
- package/dist/C_Theme2.cjs +1 -0
- package/dist/C_Theme2.js +1 -2
- package/dist/C_Time.cjs +1 -1
- package/dist/C_Time.css +0 -2
- package/dist/C_Time.d.cts +2 -2
- package/dist/C_Time.d.ts +2 -2
- package/dist/C_Time2.cjs +1 -0
- package/dist/C_Time2.js +1 -2
- package/dist/C_Timeline.cjs +1 -1
- package/dist/C_Timeline.css +44 -46
- package/dist/C_Timeline.d.cts +1 -1
- package/dist/C_Timeline.js +1 -1
- package/dist/C_Timeline2.cjs +1 -0
- package/dist/C_Timeline2.js +1 -2
- package/dist/C_Transfer.cjs +1 -1
- package/dist/C_Transfer.css +21 -9
- package/dist/C_Transfer.d.cts +1 -1
- package/dist/C_Transfer.js +1 -1
- package/dist/C_Transfer2.cjs +1 -0
- package/dist/C_Transfer2.js +1 -2
- package/dist/C_Tree.cjs +1 -1
- package/dist/C_Tree.css +0 -2
- package/dist/C_Tree.d.cts +1 -1
- package/dist/C_Tree.js +1 -1
- package/dist/C_Tree2.cjs +1 -0
- package/dist/C_Tree2.js +1 -2
- package/dist/C_Upload.cjs +1 -1
- package/dist/C_Upload.css +17 -17
- package/dist/C_Upload.d.cts +1 -1
- package/dist/C_Upload.js +1 -1
- package/dist/C_Upload2.cjs +1 -0
- package/dist/C_Upload2.js +1 -25
- package/dist/C_VideoPlayer.cjs +1 -1
- package/dist/C_VideoPlayer.css +35 -24
- package/dist/C_VideoPlayer.d.cts +2 -2
- package/dist/C_VideoPlayer.d.ts +2 -2
- package/dist/C_VideoPlayer.js +1 -1
- package/dist/C_VideoPlayer2.cjs +3 -0
- package/dist/C_VideoPlayer2.js +3 -4
- package/dist/C_VtableGantt.cjs +1 -1
- package/dist/C_VtableGantt.css +15 -7
- package/dist/C_VtableGantt.d.cts +1 -1
- package/dist/C_VtableGantt.d.ts +1 -1
- package/dist/C_VtableGantt.js +1 -1
- package/dist/C_VtableGantt2.cjs +1 -0
- package/dist/C_VtableGantt2.js +1 -2
- package/dist/C_WaterFall.cjs +1 -1
- package/dist/C_WaterFall.css +15 -17
- package/dist/C_WaterFall.d.cts +1 -1
- package/dist/C_WaterFall2.cjs +1 -0
- package/dist/C_WaterFall2.js +1 -2
- package/dist/C_WorkFlow.cjs +1 -1
- package/dist/C_WorkFlow.css +257 -197
- package/dist/C_WorkFlow.d.cts +1 -1
- package/dist/C_WorkFlow.js +1 -1
- package/dist/C_WorkFlow2.cjs +1 -0
- package/dist/C_WorkFlow2.js +1 -2
- package/dist/city.cjs +1 -0
- package/dist/city.js +1 -2
- package/dist/config.cjs +1 -0
- package/dist/config.d.cts +33 -0
- package/dist/config.d.ts +33 -0
- package/dist/config.js +1 -0
- package/dist/constants.d.cts +272 -0
- package/dist/constants.d.ts +6 -7
- package/dist/constants2.d.cts +177 -0
- package/dist/constants2.d.ts +5 -6
- package/dist/constants3.d.cts +479 -0
- package/dist/constants3.d.ts +17 -13
- package/dist/constants4.d.cts +420 -0
- package/dist/constants4.d.ts +30 -40
- package/dist/constants5.d.cts +491 -0
- package/dist/constants5.d.ts +22 -6
- package/dist/data.cjs +1 -0
- package/dist/data.d.cts +67 -0
- package/dist/data.d.ts +13 -13
- package/dist/data.js +1 -0
- package/dist/export-helper.cjs +1 -0
- package/dist/helpers.cjs +1 -0
- package/dist/helpers.js +1 -0
- package/dist/html.cjs +1 -0
- package/dist/html.js +1 -0
- package/dist/images/marker-icon-2x.png +0 -0
- package/dist/images/marker-icon.png +0 -0
- package/dist/images/marker-shadow.png +0 -0
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +60 -99
- package/dist/index.d.ts +41 -83
- package/dist/index.js +1 -2
- package/dist/index.vue.d.cts +79 -0
- package/dist/index.vue.d.ts +3 -4
- package/dist/index10.vue.d.cts +47 -0
- package/dist/index10.vue.d.ts +80 -40
- package/dist/index11.vue.d.cts +88 -0
- package/dist/index11.vue.d.ts +68 -78
- package/dist/index12.vue.d.cts +79 -0
- package/dist/index12.vue.d.ts +49 -45
- package/dist/index13.vue.d.cts +64 -0
- package/dist/index13.vue.d.ts +99 -34
- package/dist/index14.vue.d.cts +106 -0
- package/dist/index14.vue.d.ts +82 -99
- package/dist/index15.vue.d.cts +91 -0
- package/dist/index15.vue.d.ts +25 -83
- package/dist/index16.vue.d.cts +34 -0
- package/dist/index16.vue.d.ts +113 -24
- package/dist/index17.vue.d.cts +124 -0
- package/dist/index17.vue.d.ts +76 -110
- package/dist/index18.vue.d.cts +83 -0
- package/dist/index18.vue.d.ts +67 -73
- package/dist/index19.vue.d.cts +101 -0
- package/dist/index19.vue.d.ts +93 -59
- package/dist/index2.vue.d.cts +82 -0
- package/dist/index2.vue.d.ts +1 -2
- package/dist/index20.vue.d.cts +54 -0
- package/dist/index20.vue.d.ts +40 -88
- package/dist/index21.vue.d.cts +103 -0
- package/dist/index21.vue.d.ts +89 -41
- package/dist/index22.vue.d.cts +45 -0
- package/dist/index22.vue.d.ts +37 -96
- package/dist/index23.vue.d.cts +19 -0
- package/dist/index23.vue.d.ts +8 -35
- package/dist/{index28.vue.d.ts → index24.vue.d.cts} +5 -6
- package/dist/index24.vue.d.ts +650 -86
- package/dist/index25.vue.d.cts +96 -0
- package/dist/index25.vue.d.ts +86 -10
- package/dist/index26.vue.d.cts +111 -0
- package/dist/index26.vue.d.ts +3 -4
- package/dist/index27.vue.d.cts +80 -0
- package/dist/index27.vue.d.ts +3 -4
- package/dist/index3.vue.d.cts +87 -0
- package/dist/index3.vue.d.ts +2 -3
- package/dist/index4.vue.d.cts +37 -0
- package/dist/index4.vue.d.ts +5 -6
- package/dist/index5.vue.d.cts +133 -0
- package/dist/index5.vue.d.ts +2 -3
- package/dist/index6.vue.d.cts +29 -0
- package/dist/index6.vue.d.ts +25 -38
- package/dist/index7.vue.d.cts +32 -0
- package/dist/index7.vue.d.ts +117 -23
- package/dist/index8.vue.d.cts +127 -0
- package/dist/index8.vue.d.ts +17 -111
- package/dist/index9.vue.d.cts +34 -0
- package/dist/index9.vue.d.ts +38 -26
- package/dist/{menuAdapter.d.ts → public.d.ts} +2 -3
- package/dist/resolver.cjs +1 -2
- package/dist/resolver.d.cts +6 -4
- package/dist/resolver.d.ts +6 -4
- package/dist/resolver.js +1 -2
- package/dist/storage.cjs +1 -0
- package/dist/storage.js +1 -2
- package/dist/style.css +9864 -7702
- package/dist/types.d.cts +107 -0
- package/dist/types.d.ts +58 -0
- package/dist/types2.d.cts +58 -0
- package/dist/useCalendarEvents.d.cts +150 -0
- package/dist/useCalendarEvents.d.ts +3 -4
- package/dist/useCollapsePanel.d.cts +133 -0
- package/dist/useCollapsePanel.d.ts +1 -2
- package/dist/useCropperCore.d.cts +104 -0
- package/dist/useCropperCore.d.ts +12 -10
- package/dist/useDraggableLayout.d.cts +196 -0
- package/dist/useDraggableLayout.d.ts +18 -16
- package/dist/useDynamicFormState.d.cts +749 -0
- package/dist/useDynamicFormState.d.ts +234 -112
- package/dist/useEdgeInteraction.d.cts +324 -0
- package/dist/useEdgeInteraction.d.ts +6 -7
- package/dist/useFullscreen.d.cts +165 -0
- package/dist/useFullscreen.d.ts +1 -2
- package/dist/useGlobalSearch.d.cts +110 -0
- package/dist/useGlobalSearch.d.ts +17 -9
- package/dist/useInfiniteScroll.d.cts +177 -0
- package/dist/useInfiniteScroll.d.ts +11 -3
- package/dist/useQRCode.d.cts +89 -0
- package/dist/useQRCode.d.ts +7 -5
- package/dist/useSearchState.d.cts +871 -0
- package/dist/useSearchState.d.ts +828 -28
- package/dist/useSignatureHistory.d.cts +197 -0
- package/dist/useSignatureHistory.d.ts +9 -4
- package/dist/useSplitResize.d.cts +157 -0
- package/dist/useSplitResize.d.ts +3 -4
- package/dist/useTableQuery.cjs +3 -0
- package/dist/{useModalEdit.d.ts → useTableQuery.d.cts} +624 -211
- package/dist/useTableQuery.d.ts +1721 -0
- package/dist/useTableQuery.js +3 -0
- package/dist/useTimeSelection.d.cts +116 -0
- package/dist/useTimeSelection.d.ts +19 -8
- package/dist/useTreeOperations.d.cts +185 -0
- package/dist/useTreeOperations.d.ts +14 -12
- package/dist/useWorkflowValidation.d.cts +1051 -0
- package/dist/useWorkflowValidation.d.ts +66 -67
- package/dist/verification.d.cts +58 -0
- package/dist/verification.d.ts +58 -0
- package/package.json +101 -69
- package/dist/C_ActionBar-BAcfOfRw.css.map +0 -1
- package/dist/C_ActionBar-DG2HW7t5.css.map +0 -1
- package/dist/C_ActionBar.js.map +0 -1
- package/dist/C_ActionBar2.js.map +0 -1
- package/dist/C_AntV-D_jTK8oZ.css.map +0 -1
- package/dist/C_AntV-DanTAq22.css.map +0 -1
- package/dist/C_AntV.js.map +0 -1
- package/dist/C_AntV2.js.map +0 -1
- package/dist/C_AudioPlayer-BnYIJXPD.css.map +0 -1
- package/dist/C_AudioPlayer-ldTy9Y34.css.map +0 -1
- package/dist/C_AudioPlayer.js.map +0 -1
- package/dist/C_AudioPlayer2.js.map +0 -1
- package/dist/C_AvatarGroup-B9d-GJ9c.css.map +0 -1
- package/dist/C_AvatarGroup-SIzxuuZr.css.map +0 -1
- package/dist/C_AvatarGroup.js.map +0 -1
- package/dist/C_AvatarGroup2.js.map +0 -1
- package/dist/C_Barcode-CAU2mFcx.css.map +0 -1
- package/dist/C_Barcode-D2oJaEg3.css.map +0 -1
- package/dist/C_Barcode.js.map +0 -1
- package/dist/C_Barcode2.js.map +0 -1
- package/dist/C_Breadcrumb-BiH0d9AI.css.map +0 -1
- package/dist/C_Breadcrumb-Bqqrl8nX.css.map +0 -1
- package/dist/C_Breadcrumb.js.map +0 -1
- package/dist/C_Breadcrumb2.js.map +0 -1
- package/dist/C_Captcha-B3yrtG7t.css.map +0 -1
- package/dist/C_Captcha-D4hDdWDu.css.map +0 -1
- package/dist/C_Captcha.js.map +0 -1
- package/dist/C_Captcha2.js.map +0 -1
- package/dist/C_Cascade-CmCrLVft.css.map +0 -1
- package/dist/C_Cascade-U6A5AJJb.css.map +0 -1
- package/dist/C_Cascade.js.map +0 -1
- package/dist/C_Cascade2.js.map +0 -1
- package/dist/C_Chat-CF1SU7mc.css.map +0 -1
- package/dist/C_Chat-DeUv6uuI.css.map +0 -1
- package/dist/C_Chat.js.map +0 -1
- package/dist/C_Chat2.js.map +0 -1
- package/dist/C_City-DdkX6u64.css.map +0 -1
- package/dist/C_City-iP-dIvui.css.map +0 -1
- package/dist/C_City.js.map +0 -1
- package/dist/C_City2.js.map +0 -1
- package/dist/C_Code-BWmJMNS7.css.map +0 -1
- package/dist/C_Code-k14vjgVl.css.map +0 -1
- package/dist/C_Code.js.map +0 -1
- package/dist/C_Code2.js.map +0 -1
- package/dist/C_CollapsePanel-BSKcWSmY.css.map +0 -1
- package/dist/C_CollapsePanel-DRvRq8tB.css.map +0 -1
- package/dist/C_CollapsePanel.js.map +0 -1
- package/dist/C_CollapsePanel2.js.map +0 -1
- package/dist/C_ContextMenu-Bn_uhJSo.css.map +0 -1
- package/dist/C_ContextMenu-C9iuxG2n.css.map +0 -1
- package/dist/C_ContextMenu.js.map +0 -1
- package/dist/C_ContextMenu2.js.map +0 -1
- package/dist/C_Cron-BIQ2By9v.css.map +0 -1
- package/dist/C_Cron-BNSAGD6A.css.map +0 -1
- package/dist/C_Cron.js.map +0 -1
- package/dist/C_Cron2.js.map +0 -1
- package/dist/C_Date.js.map +0 -1
- package/dist/C_Date2.js.map +0 -1
- package/dist/C_Draggable-BDAbk4s5.css.map +0 -1
- package/dist/C_Draggable-UhfDLXop.css.map +0 -1
- package/dist/C_Draggable.js.map +0 -1
- package/dist/C_Draggable2.js.map +0 -1
- package/dist/C_Editor-CZOaChru.css.map +0 -1
- package/dist/C_Editor-kJAQq5z6.css.map +0 -1
- package/dist/C_Editor.js.map +0 -1
- package/dist/C_Editor2.js.map +0 -1
- package/dist/C_FilePreview-Bs_omgJS.css.map +0 -1
- package/dist/C_FilePreview-DbwoyF2j.css.map +0 -1
- package/dist/C_FilePreview.js.map +0 -1
- package/dist/C_FilePreview2.js.map +0 -1
- package/dist/C_Form-B_2ql62V.css.map +0 -1
- package/dist/C_Form-CX-7xsz3.css.map +0 -1
- package/dist/C_Form.js.map +0 -1
- package/dist/C_Form2.js.map +0 -1
- package/dist/C_FormSearch-C3F8peAY.css.map +0 -1
- package/dist/C_FormSearch-qW56bJPo.css.map +0 -1
- package/dist/C_FormSearch.js.map +0 -1
- package/dist/C_FormSearch2.js.map +0 -1
- package/dist/C_FormulaEditor-ChOvDbsZ.css.map +0 -1
- package/dist/C_FormulaEditor-mfiIUDY4.css.map +0 -1
- package/dist/C_FormulaEditor.js.map +0 -1
- package/dist/C_FormulaEditor2.js.map +0 -1
- package/dist/C_FullCalendar-C2nsqrgS.css.map +0 -1
- package/dist/C_FullCalendar-DdFtXVhy.css.map +0 -1
- package/dist/C_FullCalendar.js.map +0 -1
- package/dist/C_FullCalendar2.js.map +0 -1
- package/dist/C_GlobalSearch-Dq4Wo01K.css.map +0 -1
- package/dist/C_GlobalSearch-RB7J43gu.css.map +0 -1
- package/dist/C_GlobalSearch.js.map +0 -1
- package/dist/C_GlobalSearch2.js.map +0 -1
- package/dist/C_Guide.js.map +0 -1
- package/dist/C_Guide2.js.map +0 -1
- package/dist/C_Icon.js.map +0 -1
- package/dist/C_Icon2.js.map +0 -1
- package/dist/C_ImageCropper-CdTX2nxU.css.map +0 -1
- package/dist/C_ImageCropper-ilOqPklJ.css.map +0 -1
- package/dist/C_ImageCropper.js.map +0 -1
- package/dist/C_ImageCropper2.js.map +0 -1
- package/dist/C_Language.js.map +0 -1
- package/dist/C_Language2.js.map +0 -1
- package/dist/C_Login-B3qYkLrN.css.map +0 -1
- package/dist/C_Login-xMI1_ojE.css.map +0 -1
- package/dist/C_Login.js.map +0 -1
- package/dist/C_Login2.js.map +0 -1
- package/dist/C_Map-CWMMN58_.css.map +0 -1
- package/dist/C_Map-xSR2H-9o.css.map +0 -1
- package/dist/C_Map.js.map +0 -1
- package/dist/C_Map2.js.map +0 -1
- package/dist/C_Markdown-C7lTVJ1S.css.map +0 -1
- package/dist/C_Markdown-CZDm_baQ.css.map +0 -1
- package/dist/C_Markdown.js.map +0 -1
- package/dist/C_Markdown2.js.map +0 -1
- package/dist/C_Menu.js.map +0 -1
- package/dist/C_Menu2.js.map +0 -1
- package/dist/C_NotificationCenter-D7GGGWg7.css.map +0 -1
- package/dist/C_NotificationCenter-SSmeHA45.css.map +0 -1
- package/dist/C_NotificationCenter.js.map +0 -1
- package/dist/C_NotificationCenter2.js.map +0 -1
- package/dist/C_OrgChart-ChZu346B.css.map +0 -1
- package/dist/C_OrgChart-DqBufOv5.css.map +0 -1
- package/dist/C_OrgChart.js.map +0 -1
- package/dist/C_OrgChart2.js.map +0 -1
- package/dist/C_Progress.js.map +0 -1
- package/dist/C_Progress2.js.map +0 -1
- package/dist/C_QRCode-B_1lHUdx.css.map +0 -1
- package/dist/C_QRCode-CuQRYu0s.css.map +0 -1
- package/dist/C_QRCode.js.map +0 -1
- package/dist/C_QRCode2.js.map +0 -1
- package/dist/C_Signature-Bp-RBpAl.css.map +0 -1
- package/dist/C_Signature-Cb2VW1ok.css.map +0 -1
- package/dist/C_Signature.js.map +0 -1
- package/dist/C_Signature2.js.map +0 -1
- package/dist/C_Skeleton-BNPbaut7.css.map +0 -1
- package/dist/C_Skeleton-Djsjw8XY.css.map +0 -1
- package/dist/C_Skeleton.js.map +0 -1
- package/dist/C_Skeleton2.js.map +0 -1
- package/dist/C_SplitPane-CgGWYsRE.css.map +0 -1
- package/dist/C_SplitPane-DGf6WEeR.css.map +0 -1
- package/dist/C_SplitPane.js.map +0 -1
- package/dist/C_SplitPane2.js.map +0 -1
- package/dist/C_Steps-27Exh7PM.css.map +0 -1
- package/dist/C_Steps-DU9ZsFrs.css.map +0 -1
- package/dist/C_Steps.js.map +0 -1
- package/dist/C_Steps2.js.map +0 -1
- package/dist/C_Table--kbQaaBv.css.map +0 -1
- package/dist/C_Table-D631kdXC.css.map +0 -1
- package/dist/C_Table.js.map +0 -1
- package/dist/C_Table2.js +0 -4
- package/dist/C_Table2.js.map +0 -1
- package/dist/C_TagsView-BN8vMRsY.css.map +0 -1
- package/dist/C_TagsView-s1dnSJAV.css.map +0 -1
- package/dist/C_TagsView.js.map +0 -1
- package/dist/C_TagsView2.js.map +0 -1
- package/dist/C_Theme.js.map +0 -1
- package/dist/C_Theme2.js.map +0 -1
- package/dist/C_Time-BQ9PGy8B.css.map +0 -1
- package/dist/C_Time-CO73krC6.css.map +0 -1
- package/dist/C_Time.js.map +0 -1
- package/dist/C_Time2.js.map +0 -1
- package/dist/C_Timeline-4rk0Dzgn.css.map +0 -1
- package/dist/C_Timeline-DdESmqwL.css.map +0 -1
- package/dist/C_Timeline.js.map +0 -1
- package/dist/C_Timeline2.js.map +0 -1
- package/dist/C_Transfer-B-vjvhjI.css.map +0 -1
- package/dist/C_Transfer-EzdHzZNv.css.map +0 -1
- package/dist/C_Transfer.js.map +0 -1
- package/dist/C_Transfer2.js.map +0 -1
- package/dist/C_Tree-CsXgGfhn.css.map +0 -1
- package/dist/C_Tree-P7eRpnOa.css.map +0 -1
- package/dist/C_Tree.js.map +0 -1
- package/dist/C_Tree2.js.map +0 -1
- package/dist/C_Upload-CHjiVVh7.css.map +0 -1
- package/dist/C_Upload-DE3OLsZD.css.map +0 -1
- package/dist/C_Upload.js.map +0 -1
- package/dist/C_Upload2.js.map +0 -1
- package/dist/C_VideoPlayer-CnaNOFtW.css.map +0 -1
- package/dist/C_VideoPlayer-cnP88zNV.css.map +0 -1
- package/dist/C_VideoPlayer.js.map +0 -1
- package/dist/C_VideoPlayer2.js.map +0 -1
- package/dist/C_VtableGantt-CZlJgvpC.css.map +0 -1
- package/dist/C_VtableGantt-DKfQkql0.css.map +0 -1
- package/dist/C_VtableGantt.js.map +0 -1
- package/dist/C_VtableGantt2.js.map +0 -1
- package/dist/C_WaterFall-BJ_39ext.css.map +0 -1
- package/dist/C_WaterFall-cYc1vntE.css.map +0 -1
- package/dist/C_WaterFall.js.map +0 -1
- package/dist/C_WaterFall2.js.map +0 -1
- package/dist/C_WorkFlow-BFzRGGhJ.css.map +0 -1
- package/dist/C_WorkFlow-DSyCOvRp.css.map +0 -1
- package/dist/C_WorkFlow.js.map +0 -1
- package/dist/C_WorkFlow2.js.map +0 -1
- package/dist/_shared.cjs +0 -1
- package/dist/_shared.d.cts +0 -2
- package/dist/_shared.d.ts +0 -2
- package/dist/_shared.js +0 -1
- package/dist/city.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/menuAdapter.js +0 -2
- package/dist/menuAdapter.js.map +0 -1
- package/dist/resolver.cjs.map +0 -1
- package/dist/resolver.js.map +0 -1
- package/dist/storage.js.map +0 -1
- /package/dist/{chunk.js → chunk.cjs} +0 -0
|
@@ -30,22 +30,22 @@ interface Condition {
|
|
|
30
30
|
id: string;
|
|
31
31
|
name: string;
|
|
32
32
|
field: string;
|
|
33
|
-
operator:
|
|
33
|
+
operator: 'equals' | 'not_equals' | 'greater_than' | 'less_than' | 'contains';
|
|
34
34
|
value: string;
|
|
35
35
|
}
|
|
36
|
-
type NodeStatus =
|
|
37
|
-
type NodeType =
|
|
38
|
-
type ApprovalMode =
|
|
39
|
-
type ValidationErrorType =
|
|
36
|
+
type NodeStatus = 'pending' | 'approved' | 'rejected' | 'active' | 'completed';
|
|
37
|
+
type NodeType = 'start' | 'approval' | 'copy' | 'condition';
|
|
38
|
+
type ApprovalMode = 'any' | 'all' | 'sequence';
|
|
39
|
+
type ValidationErrorType = 'required' | 'invalid' | 'incomplete' | 'warning' | 'error' | 'custom';
|
|
40
40
|
interface BaseNodeData {
|
|
41
41
|
title: string;
|
|
42
42
|
status?: NodeStatus;
|
|
43
|
-
config?: Record<string,
|
|
43
|
+
config?: Record<string, unknown>;
|
|
44
44
|
initiators?: User[];
|
|
45
45
|
}
|
|
46
46
|
interface StartNodeData extends BaseNodeData {
|
|
47
47
|
title: string;
|
|
48
|
-
status:
|
|
48
|
+
status: 'active';
|
|
49
49
|
}
|
|
50
50
|
interface ApprovalNodeData extends BaseNodeData {
|
|
51
51
|
approvers?: User[];
|
|
@@ -76,7 +76,7 @@ interface WorkflowNode {
|
|
|
76
76
|
height?: number;
|
|
77
77
|
parentNode?: string;
|
|
78
78
|
zIndex?: number;
|
|
79
|
-
extent?:
|
|
79
|
+
extent?: 'parent' | [[number, number], [number, number]];
|
|
80
80
|
expandParent?: boolean;
|
|
81
81
|
}
|
|
82
82
|
interface WorkflowEdge {
|
|
@@ -90,12 +90,12 @@ interface WorkflowEdge {
|
|
|
90
90
|
hidden?: boolean;
|
|
91
91
|
deletable?: boolean;
|
|
92
92
|
selectable?: boolean;
|
|
93
|
-
data?:
|
|
94
|
-
style?:
|
|
93
|
+
data?: unknown;
|
|
94
|
+
style?: Record<string, string | number>;
|
|
95
95
|
label?: string;
|
|
96
|
-
labelStyle?:
|
|
96
|
+
labelStyle?: Record<string, string | number>;
|
|
97
97
|
labelShowBg?: boolean;
|
|
98
|
-
labelBgStyle?:
|
|
98
|
+
labelBgStyle?: Record<string, string | number>;
|
|
99
99
|
labelBgPadding?: [number, number];
|
|
100
100
|
labelBgBorderRadius?: number;
|
|
101
101
|
markerStart?: string;
|
|
@@ -118,15 +118,15 @@ interface WorkflowProps {
|
|
|
118
118
|
departments?: Department[];
|
|
119
119
|
modelValue?: WorkflowData;
|
|
120
120
|
readonly?: boolean;
|
|
121
|
-
theme?:
|
|
121
|
+
theme?: 'light' | 'dark';
|
|
122
122
|
}
|
|
123
123
|
interface WorkflowEmits {
|
|
124
|
-
|
|
124
|
+
'update:modelValue': [value: WorkflowData];
|
|
125
125
|
change: [value: WorkflowData];
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
'node-click': [node: WorkflowNode];
|
|
127
|
+
'edge-click': [edge: WorkflowEdge];
|
|
128
128
|
save: [data: WorkflowData];
|
|
129
|
-
|
|
129
|
+
'validate-error': [errors: ValidationError[]];
|
|
130
130
|
}
|
|
131
131
|
interface ValidationError {
|
|
132
132
|
nodeId: string;
|
|
@@ -135,7 +135,7 @@ interface ValidationError {
|
|
|
135
135
|
message: string;
|
|
136
136
|
type: ValidationErrorType;
|
|
137
137
|
details?: string;
|
|
138
|
-
severity?:
|
|
138
|
+
severity?: 'low' | 'medium' | 'high';
|
|
139
139
|
fixSuggestion?: string;
|
|
140
140
|
}
|
|
141
141
|
interface MenuPosition {
|
|
@@ -156,9 +156,9 @@ interface NodeConfigFormData {
|
|
|
156
156
|
}
|
|
157
157
|
interface ValidationRule {
|
|
158
158
|
field: string;
|
|
159
|
-
type:
|
|
159
|
+
type: 'required' | 'min' | 'max' | 'pattern' | 'custom';
|
|
160
160
|
message: string;
|
|
161
|
-
validator?: (value:
|
|
161
|
+
validator?: (value: unknown, data: unknown) => boolean;
|
|
162
162
|
}
|
|
163
163
|
interface WorkflowConfig {
|
|
164
164
|
title?: string;
|
|
@@ -194,14 +194,14 @@ interface NodeTemplate {
|
|
|
194
194
|
}
|
|
195
195
|
interface WorkflowUtils {
|
|
196
196
|
validateWorkflow: (data: WorkflowData) => ValidationError[];
|
|
197
|
-
exportWorkflow: (data: WorkflowData, format?:
|
|
198
|
-
importWorkflow: (content: string, format?:
|
|
197
|
+
exportWorkflow: (data: WorkflowData, format?: 'json' | 'yaml') => string;
|
|
198
|
+
importWorkflow: (content: string, format?: 'json' | 'yaml') => WorkflowData;
|
|
199
199
|
generateNodeId: (type: NodeType) => string;
|
|
200
200
|
generateEdgeId: (sourceId: string, targetId: string) => string;
|
|
201
201
|
cloneWorkflow: (data: WorkflowData) => WorkflowData;
|
|
202
202
|
mergeWorkflows: (workflows: WorkflowData[]) => WorkflowData;
|
|
203
203
|
}
|
|
204
|
-
interface WorkflowApiResponse<T =
|
|
204
|
+
interface WorkflowApiResponse<T = unknown> {
|
|
205
205
|
success: boolean;
|
|
206
206
|
data?: T;
|
|
207
207
|
message?: string;
|
|
@@ -214,7 +214,7 @@ interface WorkflowHistory {
|
|
|
214
214
|
version: number;
|
|
215
215
|
data: WorkflowData;
|
|
216
216
|
changes: {
|
|
217
|
-
type:
|
|
217
|
+
type: 'create' | 'update' | 'delete';
|
|
218
218
|
nodeId?: string;
|
|
219
219
|
edgeId?: string;
|
|
220
220
|
description: string;
|
|
@@ -237,30 +237,30 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
237
237
|
conditionNodes: number;
|
|
238
238
|
}>;
|
|
239
239
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
240
|
-
change: (value: WorkflowData) => any;
|
|
241
240
|
"update:modelValue": (value: WorkflowData) => any;
|
|
242
|
-
|
|
243
|
-
"edge-click": (edge: WorkflowEdge) => any;
|
|
241
|
+
change: (value: WorkflowData) => any;
|
|
244
242
|
save: (data: WorkflowData) => any;
|
|
243
|
+
"node-click": (node: WorkflowNode) => any;
|
|
245
244
|
"validate-error": (errors: ValidationError[]) => any;
|
|
245
|
+
"edge-click": (edge: WorkflowEdge) => any;
|
|
246
246
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
247
|
-
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
248
247
|
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
249
|
-
|
|
250
|
-
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
248
|
+
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
251
249
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
250
|
+
"onNode-click"?: ((node: WorkflowNode) => any) | undefined;
|
|
252
251
|
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
252
|
+
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
253
253
|
}>, {
|
|
254
254
|
theme: "light" | "dark";
|
|
255
|
+
readonly: boolean;
|
|
255
256
|
users: User[];
|
|
256
257
|
roles: Role[];
|
|
257
258
|
departments: Department[];
|
|
258
|
-
readonly: boolean;
|
|
259
259
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
260
260
|
declare const _default: typeof __VLS_export;
|
|
261
261
|
//#endregion
|
|
262
262
|
//#region src/components/C_WorkFlow/composables/useWorkflowNodes.d.ts
|
|
263
|
-
type EmitFn = (event:
|
|
263
|
+
type EmitFn = <Event extends keyof WorkflowEmits>(event: Event, ...args: WorkflowEmits[Event]) => void;
|
|
264
264
|
/** 工作流节点管理 —— 封装节点 CRUD、provide/inject、边重连、画布操作等逻辑 */
|
|
265
265
|
declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef: Ref): {
|
|
266
266
|
nodes: Ref<{
|
|
@@ -273,7 +273,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
273
273
|
data: {
|
|
274
274
|
title: string;
|
|
275
275
|
status: "active";
|
|
276
|
-
config?: Record<string,
|
|
276
|
+
config?: Record<string, unknown> | undefined;
|
|
277
277
|
initiators?: {
|
|
278
278
|
id: string;
|
|
279
279
|
name: string;
|
|
@@ -296,7 +296,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
296
296
|
approvalMode?: ApprovalMode | undefined;
|
|
297
297
|
title: string;
|
|
298
298
|
status?: NodeStatus | undefined;
|
|
299
|
-
config?: Record<string,
|
|
299
|
+
config?: Record<string, unknown> | undefined;
|
|
300
300
|
initiators?: {
|
|
301
301
|
id: string;
|
|
302
302
|
name: string;
|
|
@@ -318,7 +318,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
318
318
|
}[] | undefined;
|
|
319
319
|
title: string;
|
|
320
320
|
status?: NodeStatus | undefined;
|
|
321
|
-
config?: Record<string,
|
|
321
|
+
config?: Record<string, unknown> | undefined;
|
|
322
322
|
initiators?: {
|
|
323
323
|
id: string;
|
|
324
324
|
name: string;
|
|
@@ -338,7 +338,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
338
338
|
}[] | undefined;
|
|
339
339
|
title: string;
|
|
340
340
|
status?: NodeStatus | undefined;
|
|
341
|
-
config?: Record<string,
|
|
341
|
+
config?: Record<string, unknown> | undefined;
|
|
342
342
|
initiators?: {
|
|
343
343
|
id: string;
|
|
344
344
|
name: string;
|
|
@@ -371,7 +371,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
371
371
|
data: {
|
|
372
372
|
title: string;
|
|
373
373
|
status: "active";
|
|
374
|
-
config?: Record<string,
|
|
374
|
+
config?: Record<string, unknown> | undefined;
|
|
375
375
|
initiators?: {
|
|
376
376
|
id: string;
|
|
377
377
|
name: string;
|
|
@@ -394,7 +394,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
394
394
|
approvalMode?: ApprovalMode | undefined;
|
|
395
395
|
title: string;
|
|
396
396
|
status?: NodeStatus | undefined;
|
|
397
|
-
config?: Record<string,
|
|
397
|
+
config?: Record<string, unknown> | undefined;
|
|
398
398
|
initiators?: {
|
|
399
399
|
id: string;
|
|
400
400
|
name: string;
|
|
@@ -416,7 +416,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
416
416
|
}[] | undefined;
|
|
417
417
|
title: string;
|
|
418
418
|
status?: NodeStatus | undefined;
|
|
419
|
-
config?: Record<string,
|
|
419
|
+
config?: Record<string, unknown> | undefined;
|
|
420
420
|
initiators?: {
|
|
421
421
|
id: string;
|
|
422
422
|
name: string;
|
|
@@ -436,7 +436,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
436
436
|
}[] | undefined;
|
|
437
437
|
title: string;
|
|
438
438
|
status?: NodeStatus | undefined;
|
|
439
|
-
config?: Record<string,
|
|
439
|
+
config?: Record<string, unknown> | undefined;
|
|
440
440
|
initiators?: {
|
|
441
441
|
id: string;
|
|
442
442
|
name: string;
|
|
@@ -471,12 +471,12 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
471
471
|
hidden?: boolean | undefined;
|
|
472
472
|
deletable?: boolean | undefined;
|
|
473
473
|
selectable?: boolean | undefined;
|
|
474
|
-
data?:
|
|
475
|
-
style?:
|
|
474
|
+
data?: unknown;
|
|
475
|
+
style?: Record<string, string | number> | undefined;
|
|
476
476
|
label?: string | undefined;
|
|
477
|
-
labelStyle?:
|
|
477
|
+
labelStyle?: Record<string, string | number> | undefined;
|
|
478
478
|
labelShowBg?: boolean | undefined;
|
|
479
|
-
labelBgStyle?:
|
|
479
|
+
labelBgStyle?: Record<string, string | number> | undefined;
|
|
480
480
|
labelBgPadding?: [number, number] | undefined;
|
|
481
481
|
labelBgBorderRadius?: number | undefined;
|
|
482
482
|
markerStart?: string | undefined;
|
|
@@ -492,12 +492,12 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
492
492
|
hidden?: boolean | undefined;
|
|
493
493
|
deletable?: boolean | undefined;
|
|
494
494
|
selectable?: boolean | undefined;
|
|
495
|
-
data?:
|
|
496
|
-
style?:
|
|
495
|
+
data?: unknown;
|
|
496
|
+
style?: Record<string, string | number> | undefined;
|
|
497
497
|
label?: string | undefined;
|
|
498
|
-
labelStyle?:
|
|
498
|
+
labelStyle?: Record<string, string | number> | undefined;
|
|
499
499
|
labelShowBg?: boolean | undefined;
|
|
500
|
-
labelBgStyle?:
|
|
500
|
+
labelBgStyle?: Record<string, string | number> | undefined;
|
|
501
501
|
labelBgPadding?: [number, number] | undefined;
|
|
502
502
|
labelBgBorderRadius?: number | undefined;
|
|
503
503
|
markerStart?: string | undefined;
|
|
@@ -522,7 +522,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
522
522
|
data: {
|
|
523
523
|
title: string;
|
|
524
524
|
status: "active";
|
|
525
|
-
config?: Record<string,
|
|
525
|
+
config?: Record<string, unknown> | undefined;
|
|
526
526
|
initiators?: {
|
|
527
527
|
id: string;
|
|
528
528
|
name: string;
|
|
@@ -545,7 +545,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
545
545
|
approvalMode?: ApprovalMode | undefined;
|
|
546
546
|
title: string;
|
|
547
547
|
status?: NodeStatus | undefined;
|
|
548
|
-
config?: Record<string,
|
|
548
|
+
config?: Record<string, unknown> | undefined;
|
|
549
549
|
initiators?: {
|
|
550
550
|
id: string;
|
|
551
551
|
name: string;
|
|
@@ -567,7 +567,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
567
567
|
}[] | undefined;
|
|
568
568
|
title: string;
|
|
569
569
|
status?: NodeStatus | undefined;
|
|
570
|
-
config?: Record<string,
|
|
570
|
+
config?: Record<string, unknown> | undefined;
|
|
571
571
|
initiators?: {
|
|
572
572
|
id: string;
|
|
573
573
|
name: string;
|
|
@@ -587,7 +587,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
587
587
|
}[] | undefined;
|
|
588
588
|
title: string;
|
|
589
589
|
status?: NodeStatus | undefined;
|
|
590
|
-
config?: Record<string,
|
|
590
|
+
config?: Record<string, unknown> | undefined;
|
|
591
591
|
initiators?: {
|
|
592
592
|
id: string;
|
|
593
593
|
name: string;
|
|
@@ -620,7 +620,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
620
620
|
data: {
|
|
621
621
|
title: string;
|
|
622
622
|
status: "active";
|
|
623
|
-
config?: Record<string,
|
|
623
|
+
config?: Record<string, unknown> | undefined;
|
|
624
624
|
initiators?: {
|
|
625
625
|
id: string;
|
|
626
626
|
name: string;
|
|
@@ -643,7 +643,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
643
643
|
approvalMode?: ApprovalMode | undefined;
|
|
644
644
|
title: string;
|
|
645
645
|
status?: NodeStatus | undefined;
|
|
646
|
-
config?: Record<string,
|
|
646
|
+
config?: Record<string, unknown> | undefined;
|
|
647
647
|
initiators?: {
|
|
648
648
|
id: string;
|
|
649
649
|
name: string;
|
|
@@ -665,7 +665,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
665
665
|
}[] | undefined;
|
|
666
666
|
title: string;
|
|
667
667
|
status?: NodeStatus | undefined;
|
|
668
|
-
config?: Record<string,
|
|
668
|
+
config?: Record<string, unknown> | undefined;
|
|
669
669
|
initiators?: {
|
|
670
670
|
id: string;
|
|
671
671
|
name: string;
|
|
@@ -685,7 +685,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
685
685
|
}[] | undefined;
|
|
686
686
|
title: string;
|
|
687
687
|
status?: NodeStatus | undefined;
|
|
688
|
-
config?: Record<string,
|
|
688
|
+
config?: Record<string, unknown> | undefined;
|
|
689
689
|
initiators?: {
|
|
690
690
|
id: string;
|
|
691
691
|
name: string;
|
|
@@ -730,7 +730,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
|
|
|
730
730
|
//#endregion
|
|
731
731
|
//#region src/components/C_WorkFlow/composables/useWorkflowPreview.d.ts
|
|
732
732
|
/** 详情项类型 */
|
|
733
|
-
type DetailItemType =
|
|
733
|
+
type DetailItemType = 'text' | 'mode' | 'users' | 'warning';
|
|
734
734
|
/** 结构化详情项 */
|
|
735
735
|
interface DetailItem {
|
|
736
736
|
type: DetailItemType;
|
|
@@ -775,7 +775,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
|
|
|
775
775
|
data: {
|
|
776
776
|
title: string;
|
|
777
777
|
status: "active";
|
|
778
|
-
config?: Record<string,
|
|
778
|
+
config?: Record<string, unknown> | undefined;
|
|
779
779
|
initiators?: {
|
|
780
780
|
id: string;
|
|
781
781
|
name: string;
|
|
@@ -798,7 +798,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
|
|
|
798
798
|
approvalMode?: ApprovalMode | undefined;
|
|
799
799
|
title: string;
|
|
800
800
|
status?: NodeStatus | undefined;
|
|
801
|
-
config?: Record<string,
|
|
801
|
+
config?: Record<string, unknown> | undefined;
|
|
802
802
|
initiators?: {
|
|
803
803
|
id: string;
|
|
804
804
|
name: string;
|
|
@@ -820,7 +820,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
|
|
|
820
820
|
}[] | undefined;
|
|
821
821
|
title: string;
|
|
822
822
|
status?: NodeStatus | undefined;
|
|
823
|
-
config?: Record<string,
|
|
823
|
+
config?: Record<string, unknown> | undefined;
|
|
824
824
|
initiators?: {
|
|
825
825
|
id: string;
|
|
826
826
|
name: string;
|
|
@@ -840,7 +840,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
|
|
|
840
840
|
}[] | undefined;
|
|
841
841
|
title: string;
|
|
842
842
|
status?: NodeStatus | undefined;
|
|
843
|
-
config?: Record<string,
|
|
843
|
+
config?: Record<string, unknown> | undefined;
|
|
844
844
|
initiators?: {
|
|
845
845
|
id: string;
|
|
846
846
|
name: string;
|
|
@@ -890,7 +890,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
|
|
|
890
890
|
data: {
|
|
891
891
|
title: string;
|
|
892
892
|
status: "active";
|
|
893
|
-
config?: Record<string,
|
|
893
|
+
config?: Record<string, unknown> | undefined;
|
|
894
894
|
initiators?: {
|
|
895
895
|
id: string;
|
|
896
896
|
name: string;
|
|
@@ -913,7 +913,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
|
|
|
913
913
|
approvalMode?: ApprovalMode | undefined;
|
|
914
914
|
title: string;
|
|
915
915
|
status?: NodeStatus | undefined;
|
|
916
|
-
config?: Record<string,
|
|
916
|
+
config?: Record<string, unknown> | undefined;
|
|
917
917
|
initiators?: {
|
|
918
918
|
id: string;
|
|
919
919
|
name: string;
|
|
@@ -935,7 +935,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
|
|
|
935
935
|
}[] | undefined;
|
|
936
936
|
title: string;
|
|
937
937
|
status?: NodeStatus | undefined;
|
|
938
|
-
config?: Record<string,
|
|
938
|
+
config?: Record<string, unknown> | undefined;
|
|
939
939
|
initiators?: {
|
|
940
940
|
id: string;
|
|
941
941
|
name: string;
|
|
@@ -955,7 +955,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
|
|
|
955
955
|
}[] | undefined;
|
|
956
956
|
title: string;
|
|
957
957
|
status?: NodeStatus | undefined;
|
|
958
|
-
config?: Record<string,
|
|
958
|
+
config?: Record<string, unknown> | undefined;
|
|
959
959
|
initiators?: {
|
|
960
960
|
id: string;
|
|
961
961
|
name: string;
|
|
@@ -1048,5 +1048,4 @@ declare function useWorkflowValidation(nodes: Ref<WorkflowNode[]>, edges: Ref<Wo
|
|
|
1048
1048
|
resetValidation: () => void;
|
|
1049
1049
|
};
|
|
1050
1050
|
//#endregion
|
|
1051
|
-
export { WorkflowProps as A, WorkflowApiResponse as C, WorkflowEmits as D, WorkflowEdge as E, WorkflowUtils as M, WorkflowHistory as O, ValidationErrorType as S, WorkflowData as T, NodeType as _, ApprovalMode as a, User as b, Condition as c, Department as d, MenuPosition as f, NodeTemplate as g, NodeStatus as h, _default as i, WorkflowStats as j, WorkflowNode as k, ConditionNodeData as l, NodeData as m, useWorkflowPreview as n, ApprovalNodeData as o, NodeConfigFormData as p, useWorkflowNodes as r, BaseNodeData as s, useWorkflowValidation as t, CopyNodeData as u, Role as v, WorkflowConfig as w, ValidationError as x, StartNodeData as y };
|
|
1052
|
-
//# sourceMappingURL=useWorkflowValidation.d.ts.map
|
|
1051
|
+
export { WorkflowProps as A, WorkflowApiResponse as C, WorkflowEmits as D, WorkflowEdge as E, WorkflowUtils as M, WorkflowHistory as O, ValidationErrorType as S, WorkflowData as T, NodeType as _, ApprovalMode as a, User as b, Condition as c, Department as d, MenuPosition as f, NodeTemplate as g, NodeStatus as h, _default as i, WorkflowStats as j, WorkflowNode as k, ConditionNodeData as l, NodeData as m, useWorkflowPreview as n, ApprovalNodeData as o, NodeConfigFormData as p, useWorkflowNodes as r, BaseNodeData as s, useWorkflowValidation as t, CopyNodeData as u, Role as v, WorkflowConfig as w, ValidationError as x, StartNodeData as y };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { a as CaptchaSuccessPayload, c as CaptchaVerifier, i as CaptchaProps, r as CaptchaProof } from "./types2.cjs";
|
|
2
|
+
import * as vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/C_Captcha/index.vue.d.ts
|
|
5
|
+
declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
6
|
+
validate: () => boolean;
|
|
7
|
+
getToken: () => string;
|
|
8
|
+
getVerificationData: () => {
|
|
9
|
+
verifiedBy: "local" | "server";
|
|
10
|
+
token: string;
|
|
11
|
+
timestamp: number;
|
|
12
|
+
type: "puzzle-captcha";
|
|
13
|
+
} | null;
|
|
14
|
+
reset: () => void;
|
|
15
|
+
show: () => void;
|
|
16
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
+
change: (valid: boolean) => any;
|
|
18
|
+
success: (data: CaptchaSuccessPayload) => any;
|
|
19
|
+
reset: () => any;
|
|
20
|
+
fail: (error: string) => any;
|
|
21
|
+
"verify-error": (error: unknown) => any;
|
|
22
|
+
"load-error": (error: unknown) => any;
|
|
23
|
+
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
24
|
+
onChange?: ((valid: boolean) => any) | undefined;
|
|
25
|
+
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
26
|
+
onReset?: (() => any) | undefined;
|
|
27
|
+
onFail?: ((error: string) => any) | undefined;
|
|
28
|
+
"onVerify-error"?: ((error: unknown) => any) | undefined;
|
|
29
|
+
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
theme: "light" | "dark";
|
|
33
|
+
images: string[];
|
|
34
|
+
verificationTimeout: number;
|
|
35
|
+
requireServerVerification: boolean;
|
|
36
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/C_Captcha/verification.d.ts
|
|
40
|
+
type CaptchaVerificationErrorCode = 'aborted' | 'missing-verifier' | 'missing-token' | 'rejected' | 'timeout';
|
|
41
|
+
/** Error with a stable machine-readable reason for captcha verification. */
|
|
42
|
+
declare class CaptchaVerificationError extends Error {
|
|
43
|
+
readonly code: CaptchaVerificationErrorCode;
|
|
44
|
+
readonly cause?: unknown | undefined;
|
|
45
|
+
constructor(code: CaptchaVerificationErrorCode, message: string, cause?: unknown | undefined);
|
|
46
|
+
}
|
|
47
|
+
/** Create a correlation token. It is not an authentication credential. */
|
|
48
|
+
declare function createCaptchaProof(): CaptchaProof;
|
|
49
|
+
interface VerifyCaptchaProofOptions {
|
|
50
|
+
verifier?: CaptchaVerifier;
|
|
51
|
+
timeout?: number;
|
|
52
|
+
requireServerVerification?: boolean;
|
|
53
|
+
signal?: AbortSignal;
|
|
54
|
+
}
|
|
55
|
+
/** Normalize local/server verification with cancellation and a hard timeout. */
|
|
56
|
+
declare function verifyCaptchaProof(proof: CaptchaProof, options?: VerifyCaptchaProofOptions): Promise<CaptchaSuccessPayload>;
|
|
57
|
+
//#endregion
|
|
58
|
+
export { _default as i, createCaptchaProof as n, verifyCaptchaProof as r, CaptchaVerificationError as t };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { a as CaptchaSuccessPayload, c as CaptchaVerifier, i as CaptchaProps, r as CaptchaProof } from "./types.js";
|
|
2
|
+
import * as vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/C_Captcha/index.vue.d.ts
|
|
5
|
+
declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
6
|
+
validate: () => boolean;
|
|
7
|
+
getToken: () => string;
|
|
8
|
+
getVerificationData: () => {
|
|
9
|
+
verifiedBy: "local" | "server";
|
|
10
|
+
token: string;
|
|
11
|
+
timestamp: number;
|
|
12
|
+
type: "puzzle-captcha";
|
|
13
|
+
} | null;
|
|
14
|
+
reset: () => void;
|
|
15
|
+
show: () => void;
|
|
16
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
+
change: (valid: boolean) => any;
|
|
18
|
+
success: (data: CaptchaSuccessPayload) => any;
|
|
19
|
+
reset: () => any;
|
|
20
|
+
fail: (error: string) => any;
|
|
21
|
+
"verify-error": (error: unknown) => any;
|
|
22
|
+
"load-error": (error: unknown) => any;
|
|
23
|
+
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
24
|
+
onChange?: ((valid: boolean) => any) | undefined;
|
|
25
|
+
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
26
|
+
onReset?: (() => any) | undefined;
|
|
27
|
+
onFail?: ((error: string) => any) | undefined;
|
|
28
|
+
"onVerify-error"?: ((error: unknown) => any) | undefined;
|
|
29
|
+
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
theme: "light" | "dark";
|
|
33
|
+
images: string[];
|
|
34
|
+
verificationTimeout: number;
|
|
35
|
+
requireServerVerification: boolean;
|
|
36
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/C_Captcha/verification.d.ts
|
|
40
|
+
type CaptchaVerificationErrorCode = 'aborted' | 'missing-verifier' | 'missing-token' | 'rejected' | 'timeout';
|
|
41
|
+
/** Error with a stable machine-readable reason for captcha verification. */
|
|
42
|
+
declare class CaptchaVerificationError extends Error {
|
|
43
|
+
readonly code: CaptchaVerificationErrorCode;
|
|
44
|
+
readonly cause?: unknown | undefined;
|
|
45
|
+
constructor(code: CaptchaVerificationErrorCode, message: string, cause?: unknown | undefined);
|
|
46
|
+
}
|
|
47
|
+
/** Create a correlation token. It is not an authentication credential. */
|
|
48
|
+
declare function createCaptchaProof(): CaptchaProof;
|
|
49
|
+
interface VerifyCaptchaProofOptions {
|
|
50
|
+
verifier?: CaptchaVerifier;
|
|
51
|
+
timeout?: number;
|
|
52
|
+
requireServerVerification?: boolean;
|
|
53
|
+
signal?: AbortSignal;
|
|
54
|
+
}
|
|
55
|
+
/** Normalize local/server verification with cancellation and a hard timeout. */
|
|
56
|
+
declare function verifyCaptchaProof(proof: CaptchaProof, options?: VerifyCaptchaProofOptions): Promise<CaptchaSuccessPayload>;
|
|
57
|
+
//#endregion
|
|
58
|
+
export { _default as i, createCaptchaProof as n, verifyCaptchaProof as r, CaptchaVerificationError as t };
|