smart-admin-web 10.5.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/LICENSE +201 -0
- package/README.md +78 -0
- package/dist/App.vue.d.ts +3 -0
- package/dist/App.vue.js +54 -0
- package/dist/App.vue.js.map +1 -0
- package/dist/App2.vue.js +5 -0
- package/dist/App2.vue.js.map +1 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
- package/dist/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/dist/api/client.d.ts +29 -0
- package/dist/api/client.js +139 -0
- package/dist/api/client.js.map +1 -0
- package/dist/api/index.d.ts +672 -0
- package/dist/api/index.js +638 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/reauthGate.d.ts +16 -0
- package/dist/api/reauthGate.js +21 -0
- package/dist/api/reauthGate.js.map +1 -0
- package/dist/api/schema.d.ts +10230 -0
- package/dist/assets/icons/ph-subset.json.js +16 -0
- package/dist/assets/icons/ph-subset.json.js.map +1 -0
- package/dist/assets/oauth/dingtalk.svg.js +5 -0
- package/dist/assets/oauth/dingtalk.svg.js.map +1 -0
- package/dist/assets/oauth/gitee.svg.js +5 -0
- package/dist/assets/oauth/gitee.svg.js.map +1 -0
- package/dist/assets/oauth/github.svg.js +5 -0
- package/dist/assets/oauth/github.svg.js.map +1 -0
- package/dist/assets/oauth/qq.svg.js +5 -0
- package/dist/assets/oauth/qq.svg.js.map +1 -0
- package/dist/assets/oauth/wechat.svg.js +5 -0
- package/dist/assets/oauth/wechat.svg.js.map +1 -0
- package/dist/assets/oauth/wecom.svg.js +5 -0
- package/dist/assets/oauth/wecom.svg.js.map +1 -0
- package/dist/assets/svg/star.svg.js +6 -0
- package/dist/assets/svg/star.svg.js.map +1 -0
- package/dist/components/ApiSelect/index.vue.d.ts +22 -0
- package/dist/components/ApiSelect/index.vue.js +50 -0
- package/dist/components/ApiSelect/index.vue.js.map +1 -0
- package/dist/components/ApiSelect/index2.vue.js +5 -0
- package/dist/components/ApiSelect/index2.vue.js.map +1 -0
- package/dist/components/AppIcon.vue.d.ts +7 -0
- package/dist/components/AppIcon.vue.js +33 -0
- package/dist/components/AppIcon.vue.js.map +1 -0
- package/dist/components/AppIcon2.vue.js +5 -0
- package/dist/components/AppIcon2.vue.js.map +1 -0
- package/dist/components/Chart/BarChart.vue.d.ts +13 -0
- package/dist/components/Chart/BarChart.vue.js +27 -0
- package/dist/components/Chart/BarChart.vue.js.map +1 -0
- package/dist/components/Chart/BarChart2.vue.js +5 -0
- package/dist/components/Chart/BarChart2.vue.js.map +1 -0
- package/dist/components/Chart/LineChart.vue.d.ts +15 -0
- package/dist/components/Chart/LineChart.vue.js +33 -0
- package/dist/components/Chart/LineChart.vue.js.map +1 -0
- package/dist/components/Chart/LineChart2.vue.js +5 -0
- package/dist/components/Chart/LineChart2.vue.js.map +1 -0
- package/dist/components/Chart/PieChart.vue.d.ts +14 -0
- package/dist/components/Chart/PieChart.vue.js +31 -0
- package/dist/components/Chart/PieChart.vue.js.map +1 -0
- package/dist/components/Chart/PieChart2.vue.js +5 -0
- package/dist/components/Chart/PieChart2.vue.js.map +1 -0
- package/dist/components/Chart/echarts.d.ts +57 -0
- package/dist/components/Chart/echarts.js +47 -0
- package/dist/components/Chart/echarts.js.map +1 -0
- package/dist/components/Chart/index.vue.d.ts +12 -0
- package/dist/components/Chart/index.vue.js +8 -0
- package/dist/components/Chart/index.vue.js.map +1 -0
- package/dist/components/Chart/index2.vue.js +27 -0
- package/dist/components/Chart/index2.vue.js.map +1 -0
- package/dist/components/CodeBlock/index.vue.d.ts +17 -0
- package/dist/components/CodeBlock/index.vue.js +8 -0
- package/dist/components/CodeBlock/index.vue.js.map +1 -0
- package/dist/components/CodeBlock/index2.vue.js +48 -0
- package/dist/components/CodeBlock/index2.vue.js.map +1 -0
- package/dist/components/CronEditor/index.vue.d.ts +15 -0
- package/dist/components/CronEditor/index.vue.js +8 -0
- package/dist/components/CronEditor/index.vue.js.map +1 -0
- package/dist/components/CronEditor/index2.vue.js +528 -0
- package/dist/components/CronEditor/index2.vue.js.map +1 -0
- package/dist/components/DetailPage/index.vue.d.ts +26 -0
- package/dist/components/DetailPage/index.vue.js +8 -0
- package/dist/components/DetailPage/index.vue.js.map +1 -0
- package/dist/components/DetailPage/index2.vue.js +51 -0
- package/dist/components/DetailPage/index2.vue.js.map +1 -0
- package/dist/components/DictCheckbox/index.vue.d.ts +6 -0
- package/dist/components/DictCheckbox/index.vue.js +43 -0
- package/dist/components/DictCheckbox/index.vue.js.map +1 -0
- package/dist/components/DictCheckbox/index2.vue.js +5 -0
- package/dist/components/DictCheckbox/index2.vue.js.map +1 -0
- package/dist/components/DictRadio/index.vue.d.ts +6 -0
- package/dist/components/DictRadio/index.vue.js +38 -0
- package/dist/components/DictRadio/index.vue.js.map +1 -0
- package/dist/components/DictRadio/index2.vue.js +5 -0
- package/dist/components/DictRadio/index2.vue.js.map +1 -0
- package/dist/components/DictSelect/index.vue.d.ts +6 -0
- package/dist/components/DictSelect/index.vue.js +37 -0
- package/dist/components/DictSelect/index.vue.js.map +1 -0
- package/dist/components/DictSelect/index2.vue.js +5 -0
- package/dist/components/DictSelect/index2.vue.js.map +1 -0
- package/dist/components/DictTag/index.vue.d.ts +10 -0
- package/dist/components/DictTag/index.vue.js +48 -0
- package/dist/components/DictTag/index.vue.js.map +1 -0
- package/dist/components/DictTag/index2.vue.js +5 -0
- package/dist/components/DictTag/index2.vue.js.map +1 -0
- package/dist/components/ErrorBoundary/index.vue.d.ts +13 -0
- package/dist/components/ErrorBoundary/index.vue.js +8 -0
- package/dist/components/ErrorBoundary/index.vue.js.map +1 -0
- package/dist/components/ErrorBoundary/index2.vue.js +61 -0
- package/dist/components/ErrorBoundary/index2.vue.js.map +1 -0
- package/dist/components/ExportColumnsModal/index.vue.d.ts +19 -0
- package/dist/components/ExportColumnsModal/index.vue.js +8 -0
- package/dist/components/ExportColumnsModal/index.vue.js.map +1 -0
- package/dist/components/ExportColumnsModal/index2.vue.js +121 -0
- package/dist/components/ExportColumnsModal/index2.vue.js.map +1 -0
- package/dist/components/FileUpload/index.vue.d.ts +24 -0
- package/dist/components/FileUpload/index.vue.js +42 -0
- package/dist/components/FileUpload/index.vue.js.map +1 -0
- package/dist/components/FileUpload/index2.vue.js +5 -0
- package/dist/components/FileUpload/index2.vue.js.map +1 -0
- package/dist/components/FormContainer/index.vue.d.ts +51 -0
- package/dist/components/FormContainer/index.vue.js +160 -0
- package/dist/components/FormContainer/index.vue.js.map +1 -0
- package/dist/components/FormContainer/index3.vue.js +6 -0
- package/dist/components/FormContainer/index3.vue.js.map +1 -0
- package/dist/components/IconPicker/index.vue.d.ts +18 -0
- package/dist/components/IconPicker/index.vue.js +43 -0
- package/dist/components/IconPicker/index.vue.js.map +1 -0
- package/dist/components/IconPicker/index2.vue.js +5 -0
- package/dist/components/IconPicker/index2.vue.js.map +1 -0
- package/dist/components/ImportWizard/index.vue.d.ts +39 -0
- package/dist/components/ImportWizard/index.vue.js +8 -0
- package/dist/components/ImportWizard/index.vue.js.map +1 -0
- package/dist/components/ImportWizard/index2.vue.js +634 -0
- package/dist/components/ImportWizard/index2.vue.js.map +1 -0
- package/dist/components/JsonEditor/index.vue.d.ts +12 -0
- package/dist/components/JsonEditor/index.vue.js +87 -0
- package/dist/components/JsonEditor/index.vue.js.map +1 -0
- package/dist/components/JsonEditor/index2.vue.js +5 -0
- package/dist/components/JsonEditor/index2.vue.js.map +1 -0
- package/dist/components/MarkdownEditor/MarkdownView.vue.d.ts +6 -0
- package/dist/components/MarkdownEditor/MarkdownView.vue.js +33 -0
- package/dist/components/MarkdownEditor/MarkdownView.vue.js.map +1 -0
- package/dist/components/MarkdownEditor/MarkdownView2.vue.js +5 -0
- package/dist/components/MarkdownEditor/MarkdownView2.vue.js.map +1 -0
- package/dist/components/MarkdownEditor/index.vue.d.ts +10 -0
- package/dist/components/MarkdownEditor/index.vue.js +35 -0
- package/dist/components/MarkdownEditor/index.vue.js.map +1 -0
- package/dist/components/MarkdownEditor/index2.vue.js +5 -0
- package/dist/components/MarkdownEditor/index2.vue.js.map +1 -0
- package/dist/components/MenuSearch.vue.d.ts +10 -0
- package/dist/components/MenuSearch.vue.js +8 -0
- package/dist/components/MenuSearch.vue.js.map +1 -0
- package/dist/components/MenuSearch2.vue.js +121 -0
- package/dist/components/MenuSearch2.vue.js.map +1 -0
- package/dist/components/OrgTreeSelect/index.vue.d.ts +6 -0
- package/dist/components/OrgTreeSelect/index.vue.js +42 -0
- package/dist/components/OrgTreeSelect/index.vue.js.map +1 -0
- package/dist/components/OrgTreeSelect/index2.vue.js +5 -0
- package/dist/components/OrgTreeSelect/index2.vue.js.map +1 -0
- package/dist/components/PasswordStrength/index.vue.d.ts +6 -0
- package/dist/components/PasswordStrength/index.vue.js +8 -0
- package/dist/components/PasswordStrength/index.vue.js.map +1 -0
- package/dist/components/PasswordStrength/index2.vue.js +91 -0
- package/dist/components/PasswordStrength/index2.vue.js.map +1 -0
- package/dist/components/ReauthModal.vue.d.ts +3 -0
- package/dist/components/ReauthModal.vue.js +8 -0
- package/dist/components/ReauthModal.vue.js.map +1 -0
- package/dist/components/ReauthModal2.vue.js +139 -0
- package/dist/components/ReauthModal2.vue.js.map +1 -0
- package/dist/components/RoleSelect/index.vue.d.ts +8 -0
- package/dist/components/RoleSelect/index.vue.js +26 -0
- package/dist/components/RoleSelect/index.vue.js.map +1 -0
- package/dist/components/RoleSelect/index2.vue.js +5 -0
- package/dist/components/RoleSelect/index2.vue.js.map +1 -0
- package/dist/components/SelectTable/index.vue.d.ts +76 -0
- package/dist/components/SelectTable/index.vue.js +8 -0
- package/dist/components/SelectTable/index.vue.js.map +1 -0
- package/dist/components/SelectTable/index2.vue.js +256 -0
- package/dist/components/SelectTable/index2.vue.js.map +1 -0
- package/dist/components/SmartLogo.vue.d.ts +8 -0
- package/dist/components/SmartLogo.vue.js +8 -0
- package/dist/components/SmartLogo.vue.js.map +1 -0
- package/dist/components/SmartLogo2.vue.js +74 -0
- package/dist/components/SmartLogo2.vue.js.map +1 -0
- package/dist/components/StatusSwitch/index.vue.d.ts +21 -0
- package/dist/components/StatusSwitch/index.vue.js +45 -0
- package/dist/components/StatusSwitch/index.vue.js.map +1 -0
- package/dist/components/StatusSwitch/index2.vue.js +5 -0
- package/dist/components/StatusSwitch/index2.vue.js.map +1 -0
- package/dist/components/TableZoomButton/index.vue.d.ts +13 -0
- package/dist/components/TableZoomButton/index.vue.js +42 -0
- package/dist/components/TableZoomButton/index.vue.js.map +1 -0
- package/dist/components/TableZoomButton/index2.vue.js +5 -0
- package/dist/components/TableZoomButton/index2.vue.js.map +1 -0
- package/dist/components/UserPicker/index.vue.d.ts +13 -0
- package/dist/components/UserPicker/index.vue.js +8 -0
- package/dist/components/UserPicker/index.vue.js.map +1 -0
- package/dist/components/UserPicker/index2.vue.js +214 -0
- package/dist/components/UserPicker/index2.vue.js.map +1 -0
- package/dist/components/UserSelect/index.vue.d.ts +9 -0
- package/dist/components/UserSelect/index.vue.js +32 -0
- package/dist/components/UserSelect/index.vue.js.map +1 -0
- package/dist/components/UserSelect/index2.vue.js +5 -0
- package/dist/components/UserSelect/index2.vue.js.map +1 -0
- package/dist/components/oauth/BrandIcon.vue.d.ts +12 -0
- package/dist/components/oauth/BrandIcon.vue.js +8 -0
- package/dist/components/oauth/BrandIcon.vue.js.map +1 -0
- package/dist/components/oauth/BrandIcon2.vue.js +95 -0
- package/dist/components/oauth/BrandIcon2.vue.js.map +1 -0
- package/dist/composables/authMenuRoute.d.ts +32 -0
- package/dist/composables/authMenuRoute.js +37 -0
- package/dist/composables/authMenuRoute.js.map +1 -0
- package/dist/composables/clearClientCache.d.ts +10 -0
- package/dist/composables/clearClientCache.js +17 -0
- package/dist/composables/clearClientCache.js.map +1 -0
- package/dist/composables/useAuthMenu.d.ts +3 -0
- package/dist/composables/useAuthMenu.js +61 -0
- package/dist/composables/useAuthMenu.js.map +1 -0
- package/dist/composables/useBatchDelete.d.ts +18 -0
- package/dist/composables/useBatchDelete.js +21 -0
- package/dist/composables/useBatchDelete.js.map +1 -0
- package/dist/composables/useCompactScreen.d.ts +12 -0
- package/dist/composables/useCompactScreen.js +17 -0
- package/dist/composables/useCompactScreen.js.map +1 -0
- package/dist/composables/useConfirm.d.ts +18 -0
- package/dist/composables/useConfirm.js +61 -0
- package/dist/composables/useConfirm.js.map +1 -0
- package/dist/composables/useFullscreenToggle.d.ts +11 -0
- package/dist/composables/useFullscreenToggle.js +64 -0
- package/dist/composables/useFullscreenToggle.js.map +1 -0
- package/dist/composables/useHeaderTools.d.ts +31 -0
- package/dist/composables/useHeaderTools.js +15 -0
- package/dist/composables/useHeaderTools.js.map +1 -0
- package/dist/composables/useLayoutMenu.d.ts +17 -0
- package/dist/composables/useLayoutMenu.js +93 -0
- package/dist/composables/useLayoutMenu.js.map +1 -0
- package/dist/composables/useMenuBadge.d.ts +11 -0
- package/dist/composables/useMenuBadge.js +17 -0
- package/dist/composables/useMenuBadge.js.map +1 -0
- package/dist/composables/useMenuFlat.d.ts +8 -0
- package/dist/composables/useMenuFlat.js +29 -0
- package/dist/composables/useMenuFlat.js.map +1 -0
- package/dist/composables/useModule.d.ts +16 -0
- package/dist/composables/useModule.js +44 -0
- package/dist/composables/useModule.js.map +1 -0
- package/dist/composables/useNoticeAction.d.ts +8 -0
- package/dist/composables/useNoticeAction.js +79 -0
- package/dist/composables/useNoticeAction.js.map +1 -0
- package/dist/composables/usePageTitle.d.ts +1 -0
- package/dist/composables/usePageTitle.js +20 -0
- package/dist/composables/usePageTitle.js.map +1 -0
- package/dist/composables/useRealtime.d.ts +31 -0
- package/dist/composables/useRealtime.js +59 -0
- package/dist/composables/useRealtime.js.map +1 -0
- package/dist/composables/useSite.d.ts +24 -0
- package/dist/composables/useSite.js +27 -0
- package/dist/composables/useSite.js.map +1 -0
- package/dist/composables/useTabTitle.d.ts +1 -0
- package/dist/composables/useTabTitle.js +10 -0
- package/dist/composables/useTabTitle.js.map +1 -0
- package/dist/composables/useTableRowSort.d.ts +20 -0
- package/dist/composables/useTableRowSort.js +59 -0
- package/dist/composables/useTableRowSort.js.map +1 -0
- package/dist/composables/useTableZoom.d.ts +5 -0
- package/dist/composables/useTableZoom.js +30 -0
- package/dist/composables/useTableZoom.js.map +1 -0
- package/dist/composables/useTheme.d.ts +13 -0
- package/dist/composables/useTheme.js +30 -0
- package/dist/composables/useTheme.js.map +1 -0
- package/dist/composables/useVisualViewportHeight.d.ts +3 -0
- package/dist/composables/useVisualViewportHeight.js +16 -0
- package/dist/composables/useVisualViewportHeight.js.map +1 -0
- package/dist/createSmartAdmin.d.ts +56 -0
- package/dist/createSmartAdmin.js +76 -0
- package/dist/createSmartAdmin.js.map +1 -0
- package/dist/directives/auth.d.ts +16 -0
- package/dist/directives/auth.js +19 -0
- package/dist/directives/auth.js.map +1 -0
- package/dist/env.d.ts +10 -0
- package/dist/index.d.ts +90 -0
- package/dist/index.js +273 -0
- package/dist/index.js.map +1 -0
- package/dist/layouts/AppHeader.vue.d.ts +12 -0
- package/dist/layouts/AppHeader.vue.js +8 -0
- package/dist/layouts/AppHeader.vue.js.map +1 -0
- package/dist/layouts/AppHeader2.vue.js +352 -0
- package/dist/layouts/AppHeader2.vue.js.map +1 -0
- package/dist/layouts/LayoutModeCards.vue.d.ts +3 -0
- package/dist/layouts/LayoutModeCards.vue.js +8 -0
- package/dist/layouts/LayoutModeCards.vue.js.map +1 -0
- package/dist/layouts/LayoutModeCards2.vue.js +67 -0
- package/dist/layouts/LayoutModeCards2.vue.js.map +1 -0
- package/dist/layouts/NoticeBell.vue.d.ts +3 -0
- package/dist/layouts/NoticeBell.vue.js +8 -0
- package/dist/layouts/NoticeBell.vue.js.map +1 -0
- package/dist/layouts/NoticeBell2.vue.js +292 -0
- package/dist/layouts/NoticeBell2.vue.js.map +1 -0
- package/dist/layouts/PersonalLayout.vue.d.ts +3 -0
- package/dist/layouts/PersonalLayout.vue.js +8 -0
- package/dist/layouts/PersonalLayout.vue.js.map +1 -0
- package/dist/layouts/PersonalLayout2.vue.js +65 -0
- package/dist/layouts/PersonalLayout2.vue.js.map +1 -0
- package/dist/layouts/SettingRow.vue.d.ts +16 -0
- package/dist/layouts/SettingRow.vue.js +8 -0
- package/dist/layouts/SettingRow.vue.js.map +1 -0
- package/dist/layouts/SettingRow2.vue.js +23 -0
- package/dist/layouts/SettingRow2.vue.js.map +1 -0
- package/dist/layouts/SettingsDrawer.vue.d.ts +10 -0
- package/dist/layouts/SettingsDrawer.vue.js +8 -0
- package/dist/layouts/SettingsDrawer.vue.js.map +1 -0
- package/dist/layouts/SettingsDrawer2.vue.js +380 -0
- package/dist/layouts/SettingsDrawer2.vue.js.map +1 -0
- package/dist/layouts/TabsBar.vue.d.ts +3 -0
- package/dist/layouts/TabsBar.vue.js +8 -0
- package/dist/layouts/TabsBar.vue.js.map +1 -0
- package/dist/layouts/TabsBar2.vue.js +132 -0
- package/dist/layouts/TabsBar2.vue.js.map +1 -0
- package/dist/layouts/components/SideNav.vue.d.ts +15 -0
- package/dist/layouts/components/SideNav.vue.js +8 -0
- package/dist/layouts/components/SideNav.vue.js.map +1 -0
- package/dist/layouts/components/SideNav2.vue.js +49 -0
- package/dist/layouts/components/SideNav2.vue.js.map +1 -0
- package/dist/layouts/default.vue.d.ts +3 -0
- package/dist/layouts/default.vue.js +8 -0
- package/dist/layouts/default.vue.js.map +1 -0
- package/dist/layouts/default2.vue.js +213 -0
- package/dist/layouts/default2.vue.js.map +1 -0
- package/dist/lib/chunkReload.d.ts +9 -0
- package/dist/lib/chunkReload.js +24 -0
- package/dist/lib/chunkReload.js.map +1 -0
- package/dist/lib/icons.d.ts +2 -0
- package/dist/lib/icons.js +39 -0
- package/dist/lib/icons.js.map +1 -0
- package/dist/lib/loadingBar.d.ts +7 -0
- package/dist/lib/loadingBar.js +18 -0
- package/dist/lib/loadingBar.js.map +1 -0
- package/dist/lib/markdown.d.ts +8 -0
- package/dist/lib/markdown.js +16 -0
- package/dist/lib/markdown.js.map +1 -0
- package/dist/lib/markdownLinks.d.ts +26 -0
- package/dist/lib/markdownLinks.js +21 -0
- package/dist/lib/markdownLinks.js.map +1 -0
- package/dist/lib/noticeActions.d.ts +13 -0
- package/dist/lib/noticeActions.js +16 -0
- package/dist/lib/noticeActions.js.map +1 -0
- package/dist/lib/runtime.d.ts +21 -0
- package/dist/lib/runtime.js +13 -0
- package/dist/lib/runtime.js.map +1 -0
- package/dist/locales/en-US.d.ts +1358 -0
- package/dist/locales/en-US.js +1362 -0
- package/dist/locales/en-US.js.map +1 -0
- package/dist/locales/index.d.ts +30 -0
- package/dist/locales/index.js +46 -0
- package/dist/locales/index.js.map +1 -0
- package/dist/locales/menuTitle.d.ts +8 -0
- package/dist/locales/menuTitle.js +19 -0
- package/dist/locales/menuTitle.js.map +1 -0
- package/dist/locales/zh-CN.d.ts +1358 -0
- package/dist/locales/zh-CN.js +1368 -0
- package/dist/locales/zh-CN.js.map +1 -0
- package/dist/router/bootFailure.d.ts +8 -0
- package/dist/router/bootFailure.js +11 -0
- package/dist/router/bootFailure.js.map +1 -0
- package/dist/router/detailRoutes.d.ts +2 -0
- package/dist/router/detailRoutes.js +19 -0
- package/dist/router/detailRoutes.js.map +1 -0
- package/dist/router/index.d.ts +3 -0
- package/dist/router/index.js +58 -0
- package/dist/router/index.js.map +1 -0
- package/dist/router/namedPage.d.ts +13 -0
- package/dist/router/namedPage.js +12 -0
- package/dist/router/namedPage.js.map +1 -0
- package/dist/router/routes.d.ts +2 -0
- package/dist/router/routes.js +121 -0
- package/dist/router/routes.js.map +1 -0
- package/dist/router/viewRegistry.d.ts +18 -0
- package/dist/router/viewRegistry.js +26 -0
- package/dist/router/viewRegistry.js.map +1 -0
- package/dist/stores/app.d.ts +83 -0
- package/dist/stores/app.js +82 -0
- package/dist/stores/app.js.map +1 -0
- package/dist/stores/auth.d.ts +106 -0
- package/dist/stores/auth.js +59 -0
- package/dist/stores/auth.js.map +1 -0
- package/dist/stores/dict.d.ts +11 -0
- package/dist/stores/dict.js +36 -0
- package/dist/stores/dict.js.map +1 -0
- package/dist/stores/tabs.d.ts +53 -0
- package/dist/stores/tabs.js +88 -0
- package/dist/stores/tabs.js.map +1 -0
- package/dist/stores/user.d.ts +64 -0
- package/dist/stores/user.js +64 -0
- package/dist/stores/user.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/theme/accents.d.ts +2 -0
- package/dist/theme/accents.js +5 -0
- package/dist/theme/accents.js.map +1 -0
- package/dist/theme/mix.d.ts +26 -0
- package/dist/theme/mix.js +43 -0
- package/dist/theme/mix.js.map +1 -0
- package/dist/theme/naive-theme.d.ts +9 -0
- package/dist/theme/naive-theme.js +89 -0
- package/dist/theme/naive-theme.js.map +1 -0
- package/dist/types/api.d.ts +714 -0
- package/dist/types/api.js +15 -0
- package/dist/types/api.js.map +1 -0
- package/dist/types/menu.d.ts +67 -0
- package/dist/types/menu.js +26 -0
- package/dist/types/menu.js.map +1 -0
- package/dist/utils/chunkUpload.d.ts +6 -0
- package/dist/utils/chunkUpload.js +35 -0
- package/dist/utils/chunkUpload.js.map +1 -0
- package/dist/utils/download.d.ts +8 -0
- package/dist/utils/download.js +8 -0
- package/dist/utils/download.js.map +1 -0
- package/dist/utils/error.d.ts +14 -0
- package/dist/utils/error.js +50 -0
- package/dist/utils/error.js.map +1 -0
- package/dist/utils/format.d.ts +20 -0
- package/dist/utils/format.js +19 -0
- package/dist/utils/format.js.map +1 -0
- package/dist/utils/importDup.d.ts +17 -0
- package/dist/utils/importDup.js +18 -0
- package/dist/utils/importDup.js.map +1 -0
- package/dist/utils/oauthBrand.d.ts +100 -0
- package/dist/utils/oauthBrand.js +97 -0
- package/dist/utils/oauthBrand.js.map +1 -0
- package/dist/utils/tree.d.ts +33 -0
- package/dist/utils/tree.js +47 -0
- package/dist/utils/tree.js.map +1 -0
- package/dist/utils/ua.d.ts +7 -0
- package/dist/utils/ua.js +33 -0
- package/dist/utils/ua.js.map +1 -0
- package/dist/utils/url.d.ts +16 -0
- package/dist/utils/url.js +13 -0
- package/dist/utils/url.js.map +1 -0
- package/dist/views/dashboard/biz.vue.d.ts +3 -0
- package/dist/views/dashboard/biz.vue.js +8 -0
- package/dist/views/dashboard/biz.vue.js.map +1 -0
- package/dist/views/dashboard/biz2.vue.js +136 -0
- package/dist/views/dashboard/biz2.vue.js.map +1 -0
- package/dist/views/dashboard/workbench.vue.d.ts +3 -0
- package/dist/views/dashboard/workbench.vue.js +8 -0
- package/dist/views/dashboard/workbench.vue.js.map +1 -0
- package/dist/views/dashboard/workbench2.vue.js +195 -0
- package/dist/views/dashboard/workbench2.vue.js.map +1 -0
- package/dist/views/embed/iframe.vue.d.ts +3 -0
- package/dist/views/embed/iframe.vue.js +8 -0
- package/dist/views/embed/iframe.vue.js.map +1 -0
- package/dist/views/embed/iframe2.vue.js +21 -0
- package/dist/views/embed/iframe2.vue.js.map +1 -0
- package/dist/views/error/404.vue.d.ts +3 -0
- package/dist/views/error/404.vue.js +8 -0
- package/dist/views/error/404.vue.js.map +1 -0
- package/dist/views/error/4042.vue.js +31 -0
- package/dist/views/error/4042.vue.js.map +1 -0
- package/dist/views/error/BootError.vue.d.ts +3 -0
- package/dist/views/error/BootError.vue.js +8 -0
- package/dist/views/error/BootError.vue.js.map +1 -0
- package/dist/views/error/BootError2.vue.js +57 -0
- package/dist/views/error/BootError2.vue.js.map +1 -0
- package/dist/views/error/MissingRoute.vue.d.ts +3 -0
- package/dist/views/error/MissingRoute.vue.js +8 -0
- package/dist/views/error/MissingRoute.vue.js.map +1 -0
- package/dist/views/error/MissingRoute2.vue.js +23 -0
- package/dist/views/error/MissingRoute2.vue.js.map +1 -0
- package/dist/views/login/LoginForm.vue.d.ts +12 -0
- package/dist/views/login/LoginForm.vue.js +8 -0
- package/dist/views/login/LoginForm.vue.js.map +1 -0
- package/dist/views/login/LoginForm2.vue.js +642 -0
- package/dist/views/login/LoginForm2.vue.js.map +1 -0
- package/dist/views/login/index.vue.d.ts +3 -0
- package/dist/views/login/index.vue.js +8 -0
- package/dist/views/login/index.vue.js.map +1 -0
- package/dist/views/login/index2.vue.js +79 -0
- package/dist/views/login/index2.vue.js.map +1 -0
- package/dist/views/login/skins/AuroraGlass.vue.d.ts +3 -0
- package/dist/views/login/skins/AuroraGlass.vue.js +8 -0
- package/dist/views/login/skins/AuroraGlass.vue.js.map +1 -0
- package/dist/views/login/skins/AuroraGlass2.vue.js +80 -0
- package/dist/views/login/skins/AuroraGlass2.vue.js.map +1 -0
- package/dist/views/login/skins/SplitPanel.vue.d.ts +3 -0
- package/dist/views/login/skins/SplitPanel.vue.js +8 -0
- package/dist/views/login/skins/SplitPanel.vue.js.map +1 -0
- package/dist/views/login/skins/SplitPanel2.vue.js +85 -0
- package/dist/views/login/skins/SplitPanel2.vue.js.map +1 -0
- package/dist/views/login/skins/Spotlight.vue.d.ts +3 -0
- package/dist/views/login/skins/Spotlight.vue.js +8 -0
- package/dist/views/login/skins/Spotlight.vue.js.map +1 -0
- package/dist/views/login/skins/Spotlight2.vue.js +36 -0
- package/dist/views/login/skins/Spotlight2.vue.js.map +1 -0
- package/dist/views/login/skins.d.ts +8 -0
- package/dist/views/login/skins.js +13 -0
- package/dist/views/login/skins.js.map +1 -0
- package/dist/views/mfa/bindComplete.d.ts +7 -0
- package/dist/views/mfa/bindComplete.js +8 -0
- package/dist/views/mfa/bindComplete.js.map +1 -0
- package/dist/views/mfa/index.vue.d.ts +3 -0
- package/dist/views/mfa/index.vue.js +8 -0
- package/dist/views/mfa/index.vue.js.map +1 -0
- package/dist/views/mfa/index2.vue.js +425 -0
- package/dist/views/mfa/index2.vue.js.map +1 -0
- package/dist/views/module/index.vue.d.ts +3 -0
- package/dist/views/module/index.vue.js +8 -0
- package/dist/views/module/index.vue.js.map +1 -0
- package/dist/views/module/index2.vue.js +142 -0
- package/dist/views/module/index2.vue.js.map +1 -0
- package/dist/views/oauth/callback.vue.d.ts +3 -0
- package/dist/views/oauth/callback.vue.js +8 -0
- package/dist/views/oauth/callback.vue.js.map +1 -0
- package/dist/views/oauth/callback2.vue.js +86 -0
- package/dist/views/oauth/callback2.vue.js.map +1 -0
- package/dist/views/personal/bindings.vue.d.ts +3 -0
- package/dist/views/personal/bindings.vue.js +8 -0
- package/dist/views/personal/bindings.vue.js.map +1 -0
- package/dist/views/personal/bindings2.vue.js +220 -0
- package/dist/views/personal/bindings2.vue.js.map +1 -0
- package/dist/views/personal/notice.vue.d.ts +3 -0
- package/dist/views/personal/notice.vue.js +5 -0
- package/dist/views/personal/notice.vue.js.map +1 -0
- package/dist/views/personal/notice2.vue.js +163 -0
- package/dist/views/personal/notice2.vue.js.map +1 -0
- package/dist/views/personal/password.vue.d.ts +3 -0
- package/dist/views/personal/password.vue.js +5 -0
- package/dist/views/personal/password.vue.js.map +1 -0
- package/dist/views/personal/password2.vue.js +147 -0
- package/dist/views/personal/password2.vue.js.map +1 -0
- package/dist/views/personal/profile.vue.d.ts +3 -0
- package/dist/views/personal/profile.vue.js +8 -0
- package/dist/views/personal/profile.vue.js.map +1 -0
- package/dist/views/personal/profile2.vue.js +264 -0
- package/dist/views/personal/profile2.vue.js.map +1 -0
- package/dist/views/personal/security.vue.d.ts +3 -0
- package/dist/views/personal/security.vue.js +8 -0
- package/dist/views/personal/security.vue.js.map +1 -0
- package/dist/views/personal/security2.vue.js +82 -0
- package/dist/views/personal/security2.vue.js.map +1 -0
- package/dist/views/personal/sessions.vue.d.ts +3 -0
- package/dist/views/personal/sessions.vue.js +8 -0
- package/dist/views/personal/sessions.vue.js.map +1 -0
- package/dist/views/personal/sessions2.vue.js +101 -0
- package/dist/views/personal/sessions2.vue.js.map +1 -0
- package/dist/views/system/cache/index.vue.d.ts +3 -0
- package/dist/views/system/cache/index.vue.js +8 -0
- package/dist/views/system/cache/index.vue.js.map +1 -0
- package/dist/views/system/cache/index2.vue.js +113 -0
- package/dist/views/system/cache/index2.vue.js.map +1 -0
- package/dist/views/system/config/components/ConfigFormModal.vue.d.ts +16 -0
- package/dist/views/system/config/components/ConfigFormModal.vue.js +5 -0
- package/dist/views/system/config/components/ConfigFormModal.vue.js.map +1 -0
- package/dist/views/system/config/components/ConfigFormModal2.vue.js +177 -0
- package/dist/views/system/config/components/ConfigFormModal2.vue.js.map +1 -0
- package/dist/views/system/config/components/ExternalAuthConfig.vue.d.ts +3 -0
- package/dist/views/system/config/components/ExternalAuthConfig.vue.js +8 -0
- package/dist/views/system/config/components/ExternalAuthConfig.vue.js.map +1 -0
- package/dist/views/system/config/components/ExternalAuthConfig2.vue.js +218 -0
- package/dist/views/system/config/components/ExternalAuthConfig2.vue.js.map +1 -0
- package/dist/views/system/config/components/GroupExtraConfig.vue.d.ts +9 -0
- package/dist/views/system/config/components/GroupExtraConfig.vue.js +8 -0
- package/dist/views/system/config/components/GroupExtraConfig.vue.js.map +1 -0
- package/dist/views/system/config/components/GroupExtraConfig2.vue.js +108 -0
- package/dist/views/system/config/components/GroupExtraConfig2.vue.js.map +1 -0
- package/dist/views/system/config/components/HighSensConfig.vue.d.ts +3 -0
- package/dist/views/system/config/components/HighSensConfig.vue.js +5 -0
- package/dist/views/system/config/components/HighSensConfig.vue.js.map +1 -0
- package/dist/views/system/config/components/HighSensConfig2.vue.js +134 -0
- package/dist/views/system/config/components/HighSensConfig2.vue.js.map +1 -0
- package/dist/views/system/config/components/JobConfig.vue.d.ts +3 -0
- package/dist/views/system/config/components/JobConfig.vue.js +5 -0
- package/dist/views/system/config/components/JobConfig.vue.js.map +1 -0
- package/dist/views/system/config/components/JobConfig2.vue.js +116 -0
- package/dist/views/system/config/components/JobConfig2.vue.js.map +1 -0
- package/dist/views/system/config/components/OtherConfig.vue.d.ts +3 -0
- package/dist/views/system/config/components/OtherConfig.vue.js +5 -0
- package/dist/views/system/config/components/OtherConfig.vue.js.map +1 -0
- package/dist/views/system/config/components/OtherConfig2.vue.js +121 -0
- package/dist/views/system/config/components/OtherConfig2.vue.js.map +1 -0
- package/dist/views/system/config/components/SecurityConfig.vue.d.ts +3 -0
- package/dist/views/system/config/components/SecurityConfig.vue.js +8 -0
- package/dist/views/system/config/components/SecurityConfig.vue.js.map +1 -0
- package/dist/views/system/config/components/SecurityConfig2.vue.js +456 -0
- package/dist/views/system/config/components/SecurityConfig2.vue.js.map +1 -0
- package/dist/views/system/config/components/SysBaseConfig.vue.d.ts +3 -0
- package/dist/views/system/config/components/SysBaseConfig.vue.js +5 -0
- package/dist/views/system/config/components/SysBaseConfig.vue.js.map +1 -0
- package/dist/views/system/config/components/SysBaseConfig2.vue.js +107 -0
- package/dist/views/system/config/components/SysBaseConfig2.vue.js.map +1 -0
- package/dist/views/system/config/components/UploadConfig.vue.d.ts +3 -0
- package/dist/views/system/config/components/UploadConfig.vue.js +5 -0
- package/dist/views/system/config/components/UploadConfig.vue.js.map +1 -0
- package/dist/views/system/config/components/UploadConfig2.vue.js +135 -0
- package/dist/views/system/config/components/UploadConfig2.vue.js.map +1 -0
- package/dist/views/system/config/groups.d.ts +9 -0
- package/dist/views/system/config/groups.js +18 -0
- package/dist/views/system/config/groups.js.map +1 -0
- package/dist/views/system/config/index.vue.d.ts +3 -0
- package/dist/views/system/config/index.vue.js +5 -0
- package/dist/views/system/config/index.vue.js.map +1 -0
- package/dist/views/system/config/index2.vue.js +127 -0
- package/dist/views/system/config/index2.vue.js.map +1 -0
- package/dist/views/system/dict/index.vue.d.ts +3 -0
- package/dist/views/system/dict/index.vue.js +8 -0
- package/dist/views/system/dict/index.vue.js.map +1 -0
- package/dist/views/system/dict/index2.vue.js +560 -0
- package/dist/views/system/dict/index2.vue.js.map +1 -0
- package/dist/views/system/file/index.vue.d.ts +3 -0
- package/dist/views/system/file/index.vue.js +5 -0
- package/dist/views/system/file/index.vue.js.map +1 -0
- package/dist/views/system/file/index2.vue.js +186 -0
- package/dist/views/system/file/index2.vue.js.map +1 -0
- package/dist/views/system/job/index.vue.d.ts +3 -0
- package/dist/views/system/job/index.vue.js +8 -0
- package/dist/views/system/job/index.vue.js.map +1 -0
- package/dist/views/system/job/index2.vue.js +1167 -0
- package/dist/views/system/job/index2.vue.js.map +1 -0
- package/dist/views/system/job-log/index.vue.d.ts +3 -0
- package/dist/views/system/job-log/index.vue.js +8 -0
- package/dist/views/system/job-log/index.vue.js.map +1 -0
- package/dist/views/system/job-log/index2.vue.js +411 -0
- package/dist/views/system/job-log/index2.vue.js.map +1 -0
- package/dist/views/system/job-monitor/index.vue.d.ts +3 -0
- package/dist/views/system/job-monitor/index.vue.js +8 -0
- package/dist/views/system/job-monitor/index.vue.js.map +1 -0
- package/dist/views/system/job-monitor/index2.vue.js +253 -0
- package/dist/views/system/job-monitor/index2.vue.js.map +1 -0
- package/dist/views/system/log/exception/index.vue.d.ts +3 -0
- package/dist/views/system/log/exception/index.vue.js +8 -0
- package/dist/views/system/log/exception/index.vue.js.map +1 -0
- package/dist/views/system/log/exception/index2.vue.js +216 -0
- package/dist/views/system/log/exception/index2.vue.js.map +1 -0
- package/dist/views/system/log/login/index.vue.d.ts +3 -0
- package/dist/views/system/log/login/index.vue.js +5 -0
- package/dist/views/system/log/login/index.vue.js.map +1 -0
- package/dist/views/system/log/login/index2.vue.js +113 -0
- package/dist/views/system/log/login/index2.vue.js.map +1 -0
- package/dist/views/system/log/op/index.vue.d.ts +3 -0
- package/dist/views/system/log/op/index.vue.js +8 -0
- package/dist/views/system/log/op/index.vue.js.map +1 -0
- package/dist/views/system/log/op/index2.vue.js +332 -0
- package/dist/views/system/log/op/index2.vue.js.map +1 -0
- package/dist/views/system/menu/components/ButtonManager.vue.d.ts +21 -0
- package/dist/views/system/menu/components/ButtonManager.vue.js +8 -0
- package/dist/views/system/menu/components/ButtonManager.vue.js.map +1 -0
- package/dist/views/system/menu/components/ButtonManager2.vue.js +498 -0
- package/dist/views/system/menu/components/ButtonManager2.vue.js.map +1 -0
- package/dist/views/system/menu/components/MenuFormModal.vue.d.ts +22 -0
- package/dist/views/system/menu/components/MenuFormModal.vue.js +8 -0
- package/dist/views/system/menu/components/MenuFormModal.vue.js.map +1 -0
- package/dist/views/system/menu/components/MenuFormModal2.vue.js +259 -0
- package/dist/views/system/menu/components/MenuFormModal2.vue.js.map +1 -0
- package/dist/views/system/menu/index.vue.d.ts +3 -0
- package/dist/views/system/menu/index.vue.js +8 -0
- package/dist/views/system/menu/index.vue.js.map +1 -0
- package/dist/views/system/menu/index2.vue.js +391 -0
- package/dist/views/system/menu/index2.vue.js.map +1 -0
- package/dist/views/system/module/index.vue.d.ts +3 -0
- package/dist/views/system/module/index.vue.js +8 -0
- package/dist/views/system/module/index.vue.js.map +1 -0
- package/dist/views/system/module/index2.vue.js +344 -0
- package/dist/views/system/module/index2.vue.js.map +1 -0
- package/dist/views/system/monitor/index.vue.d.ts +3 -0
- package/dist/views/system/monitor/index.vue.js +8 -0
- package/dist/views/system/monitor/index.vue.js.map +1 -0
- package/dist/views/system/monitor/index2.vue.js +184 -0
- package/dist/views/system/monitor/index2.vue.js.map +1 -0
- package/dist/views/system/notice/index.vue.d.ts +3 -0
- package/dist/views/system/notice/index.vue.js +8 -0
- package/dist/views/system/notice/index.vue.js.map +1 -0
- package/dist/views/system/notice/index2.vue.js +401 -0
- package/dist/views/system/notice/index2.vue.js.map +1 -0
- package/dist/views/system/org/index.vue.d.ts +3 -0
- package/dist/views/system/org/index.vue.js +8 -0
- package/dist/views/system/org/index.vue.js.map +1 -0
- package/dist/views/system/org/index2.vue.js +397 -0
- package/dist/views/system/org/index2.vue.js.map +1 -0
- package/dist/views/system/position/index.vue.d.ts +3 -0
- package/dist/views/system/position/index.vue.js +5 -0
- package/dist/views/system/position/index.vue.js.map +1 -0
- package/dist/views/system/position/index2.vue.js +211 -0
- package/dist/views/system/position/index2.vue.js.map +1 -0
- package/dist/views/system/recycle/index.vue.d.ts +3 -0
- package/dist/views/system/recycle/index.vue.js +8 -0
- package/dist/views/system/recycle/index.vue.js.map +1 -0
- package/dist/views/system/recycle/index2.vue.js +121 -0
- package/dist/views/system/recycle/index2.vue.js.map +1 -0
- package/dist/views/system/role/components/GrantMenuTable.vue.d.ts +18 -0
- package/dist/views/system/role/components/GrantMenuTable.vue.js +8 -0
- package/dist/views/system/role/components/GrantMenuTable.vue.js.map +1 -0
- package/dist/views/system/role/components/GrantMenuTable2.vue.js +212 -0
- package/dist/views/system/role/components/GrantMenuTable2.vue.js.map +1 -0
- package/dist/views/system/role/components/grantMenuGroups.d.ts +31 -0
- package/dist/views/system/role/components/grantMenuGroups.js +76 -0
- package/dist/views/system/role/components/grantMenuGroups.js.map +1 -0
- package/dist/views/system/role/index.vue.d.ts +3 -0
- package/dist/views/system/role/index.vue.js +5 -0
- package/dist/views/system/role/index.vue.js.map +1 -0
- package/dist/views/system/role/index2.vue.js +476 -0
- package/dist/views/system/role/index2.vue.js.map +1 -0
- package/dist/views/system/session/index.vue.d.ts +3 -0
- package/dist/views/system/session/index.vue.js +5 -0
- package/dist/views/system/session/index.vue.js.map +1 -0
- package/dist/views/system/session/index2.vue.js +80 -0
- package/dist/views/system/session/index2.vue.js.map +1 -0
- package/dist/views/system/user/components/ResetPasswordModal.vue.d.ts +10 -0
- package/dist/views/system/user/components/ResetPasswordModal.vue.js +8 -0
- package/dist/views/system/user/components/ResetPasswordModal.vue.js.map +1 -0
- package/dist/views/system/user/components/ResetPasswordModal2.vue.js +111 -0
- package/dist/views/system/user/components/ResetPasswordModal2.vue.js.map +1 -0
- package/dist/views/system/user/components/UserFormModal.vue.d.ts +30 -0
- package/dist/views/system/user/components/UserFormModal.vue.js +8 -0
- package/dist/views/system/user/components/UserFormModal.vue.js.map +1 -0
- package/dist/views/system/user/components/UserFormModal2.vue.js +415 -0
- package/dist/views/system/user/components/UserFormModal2.vue.js.map +1 -0
- package/dist/views/system/user/index.vue.d.ts +3 -0
- package/dist/views/system/user/index.vue.js +8 -0
- package/dist/views/system/user/index.vue.js.map +1 -0
- package/dist/views/system/user/index2.vue.js +427 -0
- package/dist/views/system/user/index2.vue.js.map +1 -0
- package/package.json +99 -0
|
@@ -0,0 +1,1167 @@
|
|
|
1
|
+
import { defineComponent as Ce, ref as N, reactive as Ue, resolveDirective as Ne, openBlock as p, createElementBlock as k, Fragment as R, createVNode as o, unref as e, withCtx as n, withDirectives as ae, createBlock as q, createTextVNode as c, toDisplayString as u, createElementVNode as y, createCommentVNode as w, renderList as re, h as m } from "vue";
|
|
2
|
+
import { useMessage as _e, NButton as g, NForm as Ee, NCollapse as qe, NCollapseItem as B, NGrid as H, NFormItemGi as d, NInput as h, NRadioGroup as A, NSpace as _, NRadio as j, NInputNumber as P, NDatePicker as G, NSelect as oe, NSwitch as Ke, NTag as W, NTooltip as ne, NPopconfirm as Re } from "naive-ui";
|
|
3
|
+
import { useRouter as Pe } from "vue-router";
|
|
4
|
+
import { useI18n as ze } from "vue-i18n";
|
|
5
|
+
import { SmartTable as Oe } from "smart-naive-table";
|
|
6
|
+
import K from "../../../components/AppIcon.vue.js";
|
|
7
|
+
import Me from "../../../components/FormContainer/index.vue.js";
|
|
8
|
+
/* empty css */
|
|
9
|
+
import Ie from "../../../components/StatusSwitch/index.vue.js";
|
|
10
|
+
import Be from "../../../components/CronEditor/index.vue.js";
|
|
11
|
+
import { useConfirm as He } from "../../../composables/useConfirm.js";
|
|
12
|
+
import { useBatchDelete as Ae } from "../../../composables/useBatchDelete.js";
|
|
13
|
+
import { useAuthStore as De } from "../../../stores/auth.js";
|
|
14
|
+
import { jobApi as x } from "../../../api/index.js";
|
|
15
|
+
import { translateError as se } from "../../../utils/error.js";
|
|
16
|
+
import { fmtDateTime as Ve } from "../../../utils/format.js";
|
|
17
|
+
import { JobHandlerKind as f, JobStatus as b, JobTriggerKind as v, JobMisfireStrategy as D, JobConcurrencyMode as V } from "../../../types/api.js";
|
|
18
|
+
const Je = { class: "job-sec-text" }, Le = { class: "job-sec-text" }, $e = { class: "job-sec-text" }, Fe = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "job-hint"
|
|
21
|
+
}, Ge = { class: "kv-editor" }, We = { class: "kv-editor" }, Qe = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "kv-hint"
|
|
24
|
+
}, Xe = { class: "job-sec-text" }, Ye = { class: "job-hint" }, Ze = { class: "job-inline" }, et = { class: "job-hint" }, tt = { class: "job-inline" }, lt = { class: "job-hint" }, St = /* @__PURE__ */ Ce({
|
|
25
|
+
__name: "index",
|
|
26
|
+
setup(at) {
|
|
27
|
+
const { t: l } = ze(), J = _e(), ie = Pe(), { run: de, confirm: ue } = He(), z = De(), E = N(), {
|
|
28
|
+
checkedKeys: Q,
|
|
29
|
+
hasSelection: me,
|
|
30
|
+
run: pe
|
|
31
|
+
} = Ae({
|
|
32
|
+
remove: x.batchRemove,
|
|
33
|
+
refresh: () => {
|
|
34
|
+
var a;
|
|
35
|
+
return (a = E.value) == null ? void 0 : a.refresh();
|
|
36
|
+
},
|
|
37
|
+
successMsg: l("job.deleted")
|
|
38
|
+
}), ce = [
|
|
39
|
+
{
|
|
40
|
+
label: () => l("job.handler.compiled"),
|
|
41
|
+
value: f.Compiled,
|
|
42
|
+
tagType: "info"
|
|
43
|
+
},
|
|
44
|
+
{ label: () => l("job.handler.http"), value: f.Http, tagType: "success" },
|
|
45
|
+
{ label: () => l("job.handler.sql"), value: f.Sql, tagType: "warning" }
|
|
46
|
+
], fe = [
|
|
47
|
+
{ label: () => l("job.status.ready"), value: b.Ready, tagType: "success" },
|
|
48
|
+
{ label: () => l("job.status.paused"), value: b.Paused, tagType: "default" },
|
|
49
|
+
{
|
|
50
|
+
label: () => l("job.status.completed"),
|
|
51
|
+
value: b.Completed,
|
|
52
|
+
tagType: "default"
|
|
53
|
+
},
|
|
54
|
+
{ label: () => l("job.status.panic"), value: b.Panic, tagType: "error" }
|
|
55
|
+
];
|
|
56
|
+
function be(a) {
|
|
57
|
+
switch (a.triggerKind) {
|
|
58
|
+
case v.Interval:
|
|
59
|
+
return l("job.trigger.everySeconds", { n: a.intervalSeconds ?? 0 });
|
|
60
|
+
case v.OneShot:
|
|
61
|
+
return Ve(a.oneShotTime, { empty: "—" });
|
|
62
|
+
default:
|
|
63
|
+
return a.cronExpression || "—";
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
const he = {
|
|
67
|
+
[b.Ready]: "success",
|
|
68
|
+
[b.Paused]: "default",
|
|
69
|
+
[b.Completed]: "default",
|
|
70
|
+
[b.Panic]: "error"
|
|
71
|
+
}, X = (a) => l(
|
|
72
|
+
a === b.Ready ? "job.status.ready" : a === b.Paused ? "job.status.paused" : a === b.Completed ? "job.status.completed" : "job.status.panic"
|
|
73
|
+
);
|
|
74
|
+
function ve(a) {
|
|
75
|
+
if (a.status === b.Completed)
|
|
76
|
+
return m(W, { size: "small", bordered: !1 }, () => X(a.status));
|
|
77
|
+
if (!z.hasPerm("PUT:/api/v1/sys/job/{id}/enabled"))
|
|
78
|
+
return m(
|
|
79
|
+
W,
|
|
80
|
+
{ size: "small", bordered: !1, type: he[a.status] },
|
|
81
|
+
() => X(a.status)
|
|
82
|
+
);
|
|
83
|
+
const r = m(Ie, {
|
|
84
|
+
value: a.status === b.Ready,
|
|
85
|
+
confirm: (i) => i ? null : l("job.pauseConfirm", { name: a.name }),
|
|
86
|
+
request: (i) => x.setEnabled(a.id, i),
|
|
87
|
+
// 启停会重算 nextRunTime / 清连败计数,本地写回拼不出来 → 直接重拉
|
|
88
|
+
"onUpdate:value": () => {
|
|
89
|
+
var i;
|
|
90
|
+
return (i = E.value) == null ? void 0 : i.refresh();
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
return a.status !== b.Panic ? r : m(_, { size: 6, wrapItem: !1, align: "center" }, () => [
|
|
94
|
+
r,
|
|
95
|
+
m(ne, null, {
|
|
96
|
+
trigger: () => m(W, { size: "small", bordered: !1, type: "error" }, () => l("job.status.panic")),
|
|
97
|
+
default: () => l("job.panicTooltip", { n: a.consecutiveErrors })
|
|
98
|
+
})
|
|
99
|
+
]);
|
|
100
|
+
}
|
|
101
|
+
const ye = [
|
|
102
|
+
{ type: "index", title: () => l("common.rowNo"), width: 64, align: "center" },
|
|
103
|
+
// 内置任务禁删,批量删除同样不可含内置(后端整批拒绝 47014)
|
|
104
|
+
{ type: "selection", disabled: (a) => a.isSystem },
|
|
105
|
+
{
|
|
106
|
+
key: "name",
|
|
107
|
+
title: () => l("job.name"),
|
|
108
|
+
search: !0,
|
|
109
|
+
minWidth: 160,
|
|
110
|
+
render: (a) => m("div", null, [
|
|
111
|
+
m("div", null, a.name),
|
|
112
|
+
m("div", { style: "font-size:12px;color:var(--color-text-tertiary);" }, a.code)
|
|
113
|
+
])
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
key: "handlerKind",
|
|
117
|
+
title: () => l("job.handler.kind"),
|
|
118
|
+
width: 100,
|
|
119
|
+
tag: !0,
|
|
120
|
+
search: !0,
|
|
121
|
+
options: ce
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
key: "trigger",
|
|
125
|
+
title: () => l("job.trigger.kind"),
|
|
126
|
+
minWidth: 130,
|
|
127
|
+
ellipsis: { tooltip: !0 },
|
|
128
|
+
render: (a) => be(a)
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
key: "status",
|
|
132
|
+
title: () => l("common.status"),
|
|
133
|
+
width: 130,
|
|
134
|
+
search: !0,
|
|
135
|
+
options: fe,
|
|
136
|
+
render: ve
|
|
137
|
+
},
|
|
138
|
+
{ key: "nextRunTime", title: () => l("job.nextRunTime"), width: 160, format: "datetime" },
|
|
139
|
+
{ key: "lastRunTime", title: () => l("job.lastRunTime"), width: 160, format: "datetime" },
|
|
140
|
+
{
|
|
141
|
+
key: "numberOfRuns",
|
|
142
|
+
title: () => l("job.runCount"),
|
|
143
|
+
width: 110,
|
|
144
|
+
align: "center",
|
|
145
|
+
render: (a) => m("span", { class: "tabular" }, [
|
|
146
|
+
m("span", null, String(a.numberOfRuns)),
|
|
147
|
+
m("span", { style: "color:var(--color-text-tertiary);" }, " / "),
|
|
148
|
+
m(
|
|
149
|
+
"span",
|
|
150
|
+
{ style: a.numberOfErrors > 0 ? "color:var(--color-danger);" : "" },
|
|
151
|
+
String(a.numberOfErrors)
|
|
152
|
+
)
|
|
153
|
+
])
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
key: "op",
|
|
157
|
+
title: () => l("common.operation"),
|
|
158
|
+
width: 240,
|
|
159
|
+
fixed: "right",
|
|
160
|
+
hideInSetting: !0,
|
|
161
|
+
render: (a) => m(_, { size: 4, wrapItem: !1 }, () => [
|
|
162
|
+
z.hasPerm("PUT:/api/v1/sys/job/{id}") ? m(
|
|
163
|
+
g,
|
|
164
|
+
{ size: "small", quaternary: !0, type: "primary", onClick: () => we(a) },
|
|
165
|
+
() => l("common.edit")
|
|
166
|
+
) : null,
|
|
167
|
+
z.hasPerm("POST:/api/v1/sys/job/{id}/run") ? m(
|
|
168
|
+
g,
|
|
169
|
+
{ size: "small", quaternary: !0, onClick: () => ge(a) },
|
|
170
|
+
() => l("job.runOnce")
|
|
171
|
+
) : null,
|
|
172
|
+
// 记录:携 jobId 跳执行记录页(那边 watch query 自动带上筛选)
|
|
173
|
+
m(
|
|
174
|
+
g,
|
|
175
|
+
{
|
|
176
|
+
size: "small",
|
|
177
|
+
quaternary: !0,
|
|
178
|
+
onClick: () => ie.push({ path: "/system/job-log", query: { jobId: String(a.id) } })
|
|
179
|
+
},
|
|
180
|
+
() => l("job.viewLogs")
|
|
181
|
+
),
|
|
182
|
+
z.hasPerm("DELETE:/api/v1/sys/job/{id}") ? a.isSystem ? m(ne, null, {
|
|
183
|
+
trigger: () => m(
|
|
184
|
+
g,
|
|
185
|
+
{ size: "small", quaternary: !0, type: "error", disabled: !0 },
|
|
186
|
+
() => l("common.delete")
|
|
187
|
+
),
|
|
188
|
+
default: () => l("job.protectedTip")
|
|
189
|
+
}) : m(
|
|
190
|
+
Re,
|
|
191
|
+
{
|
|
192
|
+
onPositiveClick: () => de(() => x.remove(a.id), l("job.deleted")).then((r) => {
|
|
193
|
+
var i;
|
|
194
|
+
r && ((i = E.value) == null || i.refresh());
|
|
195
|
+
})
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
trigger: () => m(
|
|
199
|
+
g,
|
|
200
|
+
{ size: "small", quaternary: !0, type: "error" },
|
|
201
|
+
() => l("common.delete")
|
|
202
|
+
),
|
|
203
|
+
default: () => l("job.deleteConfirm", { name: a.name })
|
|
204
|
+
}
|
|
205
|
+
) : null
|
|
206
|
+
])
|
|
207
|
+
}
|
|
208
|
+
];
|
|
209
|
+
function ge(a) {
|
|
210
|
+
ue({
|
|
211
|
+
content: l("job.runConfirm", { name: a.name }),
|
|
212
|
+
action: () => x.run(a.id),
|
|
213
|
+
successMsg: l("job.runStarted")
|
|
214
|
+
}).then((r) => {
|
|
215
|
+
var i;
|
|
216
|
+
r && ((i = E.value) == null || i.refresh());
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
const O = N(!1), Y = N(null), C = N(null), L = () => ({
|
|
220
|
+
code: "",
|
|
221
|
+
name: "",
|
|
222
|
+
remark: "",
|
|
223
|
+
// 给个能跑的默认值(每天零点),不留空:CronEditor 的各段控件本来就带默认选中,
|
|
224
|
+
// 留空会让新增表单"看着填好了"却因必填校验存不下,而且预览区在用户动手之前一直不出现。
|
|
225
|
+
triggerKind: v.Cron,
|
|
226
|
+
cronExpression: "0 0 0 * * ?",
|
|
227
|
+
intervalSeconds: 60,
|
|
228
|
+
oneShotTime: null,
|
|
229
|
+
startTime: null,
|
|
230
|
+
endTime: null,
|
|
231
|
+
misfireStrategy: D.Skip,
|
|
232
|
+
concurrencyMode: V.SerialSkip,
|
|
233
|
+
handlerKind: f.Compiled,
|
|
234
|
+
handlerName: "",
|
|
235
|
+
props: [],
|
|
236
|
+
httpUrl: "",
|
|
237
|
+
httpMethod: "GET",
|
|
238
|
+
headers: [],
|
|
239
|
+
httpBody: "",
|
|
240
|
+
successStatuses: "",
|
|
241
|
+
sqlText: "",
|
|
242
|
+
timeoutSeconds: 0,
|
|
243
|
+
retryCount: 0,
|
|
244
|
+
retryIntervalSeconds: 30,
|
|
245
|
+
failAlertThreshold: 0,
|
|
246
|
+
alertByNotice: !0,
|
|
247
|
+
alertEmails: ""
|
|
248
|
+
}), t = Ue(L()), je = {
|
|
249
|
+
code: {
|
|
250
|
+
required: !0,
|
|
251
|
+
whitespace: !0,
|
|
252
|
+
message: () => l("job.codeRequired"),
|
|
253
|
+
trigger: ["input", "blur"]
|
|
254
|
+
},
|
|
255
|
+
name: {
|
|
256
|
+
required: !0,
|
|
257
|
+
whitespace: !0,
|
|
258
|
+
message: () => l("job.nameRequired"),
|
|
259
|
+
trigger: ["input", "blur"]
|
|
260
|
+
},
|
|
261
|
+
// 条件字段的 form-item 随 triggerKind/handlerKind v-if 切换,只有挂着的才参与校验
|
|
262
|
+
cronExpression: {
|
|
263
|
+
required: !0,
|
|
264
|
+
validator: () => !!t.cronExpression.trim(),
|
|
265
|
+
message: () => l("job.trigger.cronRequired"),
|
|
266
|
+
trigger: ["change", "blur"]
|
|
267
|
+
},
|
|
268
|
+
intervalSeconds: {
|
|
269
|
+
required: !0,
|
|
270
|
+
validator: () => t.intervalSeconds != null && t.intervalSeconds >= 5,
|
|
271
|
+
message: () => l("job.trigger.intervalRequired"),
|
|
272
|
+
trigger: ["change", "blur"]
|
|
273
|
+
},
|
|
274
|
+
oneShotTime: {
|
|
275
|
+
required: !0,
|
|
276
|
+
validator: () => !!t.oneShotTime,
|
|
277
|
+
message: () => l("job.trigger.oneShotRequired"),
|
|
278
|
+
trigger: ["change", "blur"]
|
|
279
|
+
},
|
|
280
|
+
handlerName: {
|
|
281
|
+
required: !0,
|
|
282
|
+
validator: () => !!t.handlerName,
|
|
283
|
+
message: () => l("job.handler.nameRequired"),
|
|
284
|
+
trigger: ["change", "blur"]
|
|
285
|
+
},
|
|
286
|
+
httpUrl: {
|
|
287
|
+
required: !0,
|
|
288
|
+
whitespace: !0,
|
|
289
|
+
message: () => l("job.handler.httpUrlRequired"),
|
|
290
|
+
trigger: ["input", "blur"]
|
|
291
|
+
},
|
|
292
|
+
sqlText: {
|
|
293
|
+
required: !0,
|
|
294
|
+
whitespace: !0,
|
|
295
|
+
message: () => l("job.handler.sqlRequired"),
|
|
296
|
+
trigger: ["input", "blur"]
|
|
297
|
+
}
|
|
298
|
+
}, Z = N([]), $ = N(!0);
|
|
299
|
+
let ee = !1;
|
|
300
|
+
async function te() {
|
|
301
|
+
if (!ee)
|
|
302
|
+
try {
|
|
303
|
+
const a = await x.handlers();
|
|
304
|
+
Z.value = a.handlers.map((r) => ({ label: r, value: r })), $.value = a.sqlEnabled, ee = !0;
|
|
305
|
+
} catch {
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
const Se = ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD"].map((a) => ({
|
|
309
|
+
label: a,
|
|
310
|
+
value: a
|
|
311
|
+
})), T = {
|
|
312
|
+
basic: "basic",
|
|
313
|
+
trigger: "trigger",
|
|
314
|
+
handler: "handler",
|
|
315
|
+
advanced: "advanced"
|
|
316
|
+
}, M = [T.basic, T.trigger, T.handler], I = N([...M]);
|
|
317
|
+
function ke(a) {
|
|
318
|
+
return !!a.startTime || !!a.endTime || a.misfireStrategy !== D.Skip || a.concurrencyMode !== V.SerialSkip || a.timeoutSeconds > 0 || a.retryCount > 0 || a.retryIntervalSeconds !== 30 || a.failAlertThreshold > 0 || !a.alertByNotice || !!a.alertEmails;
|
|
319
|
+
}
|
|
320
|
+
const F = (a) => a ? a.slice(0, 19) : null;
|
|
321
|
+
function Te() {
|
|
322
|
+
C.value = null, Object.assign(t, L()), I.value = [...M], O.value = !0, te();
|
|
323
|
+
}
|
|
324
|
+
function we(a) {
|
|
325
|
+
C.value = a.id, Object.assign(t, L()), I.value = ke(a) ? [...M, T.advanced] : [...M];
|
|
326
|
+
let r = {};
|
|
327
|
+
try {
|
|
328
|
+
r = JSON.parse(a.propsJson || "{}");
|
|
329
|
+
} catch {
|
|
330
|
+
}
|
|
331
|
+
if (t.code = a.code, t.name = a.name, t.remark = a.remark ?? "", t.triggerKind = a.triggerKind, t.cronExpression = a.cronExpression ?? "", t.intervalSeconds = a.intervalSeconds ?? 60, t.oneShotTime = F(a.oneShotTime), t.startTime = F(a.startTime), t.endTime = F(a.endTime), t.misfireStrategy = a.misfireStrategy, t.concurrencyMode = a.concurrencyMode, t.handlerKind = a.handlerKind, t.timeoutSeconds = a.timeoutSeconds, t.retryCount = a.retryCount, t.retryIntervalSeconds = a.retryIntervalSeconds, t.failAlertThreshold = a.failAlertThreshold, t.alertByNotice = a.alertByNotice, t.alertEmails = a.alertEmails ?? "", a.handlerKind === f.Http) {
|
|
332
|
+
t.httpUrl = r.url ?? "", t.httpMethod = (r.method ?? "GET").toUpperCase(), t.httpBody = r.body ?? "", t.successStatuses = r.successStatuses ?? "";
|
|
333
|
+
let i = {};
|
|
334
|
+
try {
|
|
335
|
+
i = JSON.parse(r.headers || "{}");
|
|
336
|
+
} catch {
|
|
337
|
+
}
|
|
338
|
+
t.headers = Object.entries(i).map(([s, U]) => ({ key: s, value: U ?? "" }));
|
|
339
|
+
} else a.handlerKind === f.Sql ? t.sqlText = r.sql ?? "" : (t.handlerName = a.handlerName, t.props = Object.entries(r).map(([i, s]) => ({ key: i, value: s ?? "" })));
|
|
340
|
+
O.value = !0, te();
|
|
341
|
+
}
|
|
342
|
+
function le() {
|
|
343
|
+
const a = {};
|
|
344
|
+
if (t.handlerKind === f.Http) {
|
|
345
|
+
a.url = t.httpUrl.trim(), a.method = t.httpMethod;
|
|
346
|
+
const r = {};
|
|
347
|
+
for (const i of t.headers) i.key.trim() && (r[i.key.trim()] = i.value);
|
|
348
|
+
Object.keys(r).length && (a.headers = JSON.stringify(r)), t.httpBody.trim() && (a.body = t.httpBody), t.successStatuses.trim() && (a.successStatuses = t.successStatuses.trim());
|
|
349
|
+
} else if (t.handlerKind === f.Sql)
|
|
350
|
+
a.sql = t.sqlText;
|
|
351
|
+
else
|
|
352
|
+
for (const r of t.props) r.key.trim() && (a[r.key.trim()] = r.value);
|
|
353
|
+
return {
|
|
354
|
+
code: t.code.trim(),
|
|
355
|
+
name: t.name.trim(),
|
|
356
|
+
handlerKind: t.handlerKind,
|
|
357
|
+
// HTTP/SQL 的处理器名由服务端固定填内置处理器,这里传空即可
|
|
358
|
+
handlerName: t.handlerKind === f.Compiled ? t.handlerName : "",
|
|
359
|
+
properties: a,
|
|
360
|
+
triggerKind: t.triggerKind,
|
|
361
|
+
cronExpression: t.triggerKind === v.Cron ? t.cronExpression.trim() : null,
|
|
362
|
+
intervalSeconds: t.triggerKind === v.Interval ? t.intervalSeconds : null,
|
|
363
|
+
oneShotTime: t.triggerKind === v.OneShot ? t.oneShotTime : null,
|
|
364
|
+
startTime: t.startTime || null,
|
|
365
|
+
endTime: t.endTime || null,
|
|
366
|
+
misfireStrategy: t.misfireStrategy,
|
|
367
|
+
concurrencyMode: t.concurrencyMode,
|
|
368
|
+
timeoutSeconds: t.timeoutSeconds,
|
|
369
|
+
retryCount: t.retryCount,
|
|
370
|
+
retryIntervalSeconds: t.retryIntervalSeconds,
|
|
371
|
+
failAlertThreshold: t.failAlertThreshold,
|
|
372
|
+
alertByNotice: t.alertByNotice,
|
|
373
|
+
alertEmails: t.alertEmails.trim() || null,
|
|
374
|
+
remark: t.remark.trim() || null
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
async function xe() {
|
|
378
|
+
var a, r;
|
|
379
|
+
await ((a = Y.value) == null ? void 0 : a.validate());
|
|
380
|
+
try {
|
|
381
|
+
C.value === null ? await x.add(le()) : await x.update(C.value, le()), J.success(l("job.saved")), await ((r = E.value) == null ? void 0 : r.refresh());
|
|
382
|
+
} catch (i) {
|
|
383
|
+
return J.error(se(i)), !1;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
return (a, r) => {
|
|
387
|
+
const i = Ne("auth");
|
|
388
|
+
return p(), k(R, null, [
|
|
389
|
+
o(e(Oe), {
|
|
390
|
+
"default-page-size": 100,
|
|
391
|
+
ref_key: "tableRef",
|
|
392
|
+
ref: E,
|
|
393
|
+
columns: ye,
|
|
394
|
+
fetcher: e(x).page,
|
|
395
|
+
"flex-height": "",
|
|
396
|
+
"virtual-scroll": "",
|
|
397
|
+
"storage-key": "sys-job",
|
|
398
|
+
"checked-row-keys": e(Q),
|
|
399
|
+
"onUpdate:checkedRowKeys": r[0] || (r[0] = (s) => Q.value = s),
|
|
400
|
+
onError: r[1] || (r[1] = (s) => e(J).error(e(se)(s)))
|
|
401
|
+
}, {
|
|
402
|
+
toolbar: n(() => [
|
|
403
|
+
ae((p(), q(e(g), {
|
|
404
|
+
type: "primary",
|
|
405
|
+
onClick: Te
|
|
406
|
+
}, {
|
|
407
|
+
icon: n(() => [
|
|
408
|
+
o(K, {
|
|
409
|
+
icon: "ph:plus",
|
|
410
|
+
size: 16
|
|
411
|
+
})
|
|
412
|
+
]),
|
|
413
|
+
default: n(() => [
|
|
414
|
+
c(" " + u(e(l)("common.add")), 1)
|
|
415
|
+
]),
|
|
416
|
+
_: 1
|
|
417
|
+
})), [
|
|
418
|
+
[i, "POST:/api/v1/sys/job"]
|
|
419
|
+
]),
|
|
420
|
+
ae((p(), q(e(g), {
|
|
421
|
+
type: "error",
|
|
422
|
+
disabled: !e(me),
|
|
423
|
+
onClick: e(pe)
|
|
424
|
+
}, {
|
|
425
|
+
icon: n(() => [
|
|
426
|
+
o(K, {
|
|
427
|
+
icon: "ph:trash",
|
|
428
|
+
size: 16
|
|
429
|
+
})
|
|
430
|
+
]),
|
|
431
|
+
default: n(() => [
|
|
432
|
+
c(" " + u(e(l)("common.batchDelete")), 1)
|
|
433
|
+
]),
|
|
434
|
+
_: 1
|
|
435
|
+
}, 8, ["disabled", "onClick"])), [
|
|
436
|
+
[i, "POST:/api/v1/sys/job/batch-delete"]
|
|
437
|
+
])
|
|
438
|
+
]),
|
|
439
|
+
_: 1
|
|
440
|
+
}, 8, ["fetcher", "checked-row-keys"]),
|
|
441
|
+
o(Me, {
|
|
442
|
+
show: O.value,
|
|
443
|
+
"onUpdate:show": r[29] || (r[29] = (s) => O.value = s),
|
|
444
|
+
title: C.value === null ? e(l)("job.addTitle") : e(l)("job.editTitle"),
|
|
445
|
+
width: 880,
|
|
446
|
+
"on-confirm": xe,
|
|
447
|
+
"confirm-text": e(l)("common.save")
|
|
448
|
+
}, {
|
|
449
|
+
default: n(() => [
|
|
450
|
+
o(e(Ee), {
|
|
451
|
+
ref_key: "formRef",
|
|
452
|
+
ref: Y,
|
|
453
|
+
model: t,
|
|
454
|
+
rules: je,
|
|
455
|
+
"label-placement": "left",
|
|
456
|
+
"label-width": 112,
|
|
457
|
+
class: "job-form"
|
|
458
|
+
}, {
|
|
459
|
+
default: n(() => [
|
|
460
|
+
o(e(qe), {
|
|
461
|
+
"expanded-names": I.value,
|
|
462
|
+
"onUpdate:expandedNames": r[28] || (r[28] = (s) => I.value = s),
|
|
463
|
+
"display-directive": "show",
|
|
464
|
+
class: "job-sections"
|
|
465
|
+
}, {
|
|
466
|
+
default: n(() => [
|
|
467
|
+
o(e(B), {
|
|
468
|
+
name: T.basic
|
|
469
|
+
}, {
|
|
470
|
+
header: n(() => [
|
|
471
|
+
y("span", Je, u(e(l)("job.form.sectionBasic")), 1)
|
|
472
|
+
]),
|
|
473
|
+
default: n(() => [
|
|
474
|
+
o(e(H), {
|
|
475
|
+
cols: "1 s:2",
|
|
476
|
+
responsive: "screen",
|
|
477
|
+
"x-gap": 16,
|
|
478
|
+
"y-gap": 0
|
|
479
|
+
}, {
|
|
480
|
+
default: n(() => [
|
|
481
|
+
o(e(d), {
|
|
482
|
+
label: e(l)("job.code"),
|
|
483
|
+
path: "code"
|
|
484
|
+
}, {
|
|
485
|
+
default: n(() => [
|
|
486
|
+
o(e(h), {
|
|
487
|
+
value: t.code,
|
|
488
|
+
"onUpdate:value": r[2] || (r[2] = (s) => t.code = s),
|
|
489
|
+
placeholder: e(l)("job.codePlaceholder"),
|
|
490
|
+
disabled: C.value !== null
|
|
491
|
+
}, null, 8, ["value", "placeholder", "disabled"])
|
|
492
|
+
]),
|
|
493
|
+
_: 1
|
|
494
|
+
}, 8, ["label"]),
|
|
495
|
+
o(e(d), {
|
|
496
|
+
label: e(l)("job.name"),
|
|
497
|
+
path: "name"
|
|
498
|
+
}, {
|
|
499
|
+
default: n(() => [
|
|
500
|
+
o(e(h), {
|
|
501
|
+
value: t.name,
|
|
502
|
+
"onUpdate:value": r[3] || (r[3] = (s) => t.name = s),
|
|
503
|
+
placeholder: e(l)("job.name")
|
|
504
|
+
}, null, 8, ["value", "placeholder"])
|
|
505
|
+
]),
|
|
506
|
+
_: 1
|
|
507
|
+
}, 8, ["label"]),
|
|
508
|
+
o(e(d), {
|
|
509
|
+
span: 2,
|
|
510
|
+
label: e(l)("job.remark"),
|
|
511
|
+
"show-feedback": !1
|
|
512
|
+
}, {
|
|
513
|
+
default: n(() => [
|
|
514
|
+
o(e(h), {
|
|
515
|
+
value: t.remark,
|
|
516
|
+
"onUpdate:value": r[4] || (r[4] = (s) => t.remark = s),
|
|
517
|
+
type: "textarea",
|
|
518
|
+
autosize: { minRows: 1, maxRows: 2 }
|
|
519
|
+
}, null, 8, ["value"])
|
|
520
|
+
]),
|
|
521
|
+
_: 1
|
|
522
|
+
}, 8, ["label"])
|
|
523
|
+
]),
|
|
524
|
+
_: 1
|
|
525
|
+
})
|
|
526
|
+
]),
|
|
527
|
+
_: 1
|
|
528
|
+
}, 8, ["name"]),
|
|
529
|
+
o(e(B), {
|
|
530
|
+
name: T.trigger
|
|
531
|
+
}, {
|
|
532
|
+
header: n(() => [
|
|
533
|
+
y("span", Le, u(e(l)("job.form.sectionTrigger")), 1)
|
|
534
|
+
]),
|
|
535
|
+
default: n(() => [
|
|
536
|
+
o(e(H), {
|
|
537
|
+
cols: "1 s:2",
|
|
538
|
+
responsive: "screen",
|
|
539
|
+
"x-gap": 16,
|
|
540
|
+
"y-gap": 0
|
|
541
|
+
}, {
|
|
542
|
+
default: n(() => [
|
|
543
|
+
o(e(d), {
|
|
544
|
+
label: e(l)("job.trigger.kind"),
|
|
545
|
+
"show-feedback": !1
|
|
546
|
+
}, {
|
|
547
|
+
default: n(() => [
|
|
548
|
+
o(e(A), {
|
|
549
|
+
value: t.triggerKind,
|
|
550
|
+
"onUpdate:value": r[5] || (r[5] = (s) => t.triggerKind = s)
|
|
551
|
+
}, {
|
|
552
|
+
default: n(() => [
|
|
553
|
+
o(e(_), null, {
|
|
554
|
+
default: n(() => [
|
|
555
|
+
o(e(j), {
|
|
556
|
+
value: e(v).Cron
|
|
557
|
+
}, {
|
|
558
|
+
default: n(() => [
|
|
559
|
+
c(u(e(l)("job.trigger.cron")), 1)
|
|
560
|
+
]),
|
|
561
|
+
_: 1
|
|
562
|
+
}, 8, ["value"]),
|
|
563
|
+
o(e(j), {
|
|
564
|
+
value: e(v).Interval
|
|
565
|
+
}, {
|
|
566
|
+
default: n(() => [
|
|
567
|
+
c(u(e(l)("job.trigger.interval")), 1)
|
|
568
|
+
]),
|
|
569
|
+
_: 1
|
|
570
|
+
}, 8, ["value"]),
|
|
571
|
+
o(e(j), {
|
|
572
|
+
value: e(v).OneShot
|
|
573
|
+
}, {
|
|
574
|
+
default: n(() => [
|
|
575
|
+
c(u(e(l)("job.trigger.oneShot")), 1)
|
|
576
|
+
]),
|
|
577
|
+
_: 1
|
|
578
|
+
}, 8, ["value"])
|
|
579
|
+
]),
|
|
580
|
+
_: 1
|
|
581
|
+
})
|
|
582
|
+
]),
|
|
583
|
+
_: 1
|
|
584
|
+
}, 8, ["value"])
|
|
585
|
+
]),
|
|
586
|
+
_: 1
|
|
587
|
+
}, 8, ["label"]),
|
|
588
|
+
t.triggerKind === e(v).Interval ? (p(), q(e(d), {
|
|
589
|
+
key: 0,
|
|
590
|
+
label: e(l)("job.trigger.intervalSeconds"),
|
|
591
|
+
path: "intervalSeconds"
|
|
592
|
+
}, {
|
|
593
|
+
default: n(() => [
|
|
594
|
+
o(e(P), {
|
|
595
|
+
value: t.intervalSeconds,
|
|
596
|
+
"onUpdate:value": r[6] || (r[6] = (s) => t.intervalSeconds = s),
|
|
597
|
+
min: 5,
|
|
598
|
+
style: { width: "200px" }
|
|
599
|
+
}, {
|
|
600
|
+
suffix: n(() => [
|
|
601
|
+
c(u(e(l)("job.trigger.seconds")), 1)
|
|
602
|
+
]),
|
|
603
|
+
_: 1
|
|
604
|
+
}, 8, ["value"])
|
|
605
|
+
]),
|
|
606
|
+
_: 1
|
|
607
|
+
}, 8, ["label"])) : w("", !0),
|
|
608
|
+
t.triggerKind === e(v).OneShot ? (p(), q(e(d), {
|
|
609
|
+
key: 1,
|
|
610
|
+
label: e(l)("job.trigger.oneShotTime"),
|
|
611
|
+
path: "oneShotTime"
|
|
612
|
+
}, {
|
|
613
|
+
default: n(() => [
|
|
614
|
+
o(e(G), {
|
|
615
|
+
"formatted-value": t.oneShotTime,
|
|
616
|
+
"onUpdate:formattedValue": r[7] || (r[7] = (s) => t.oneShotTime = s),
|
|
617
|
+
type: "datetime",
|
|
618
|
+
"value-format": "yyyy-MM-dd'T'HH:mm:ss",
|
|
619
|
+
clearable: "",
|
|
620
|
+
style: { width: "240px" }
|
|
621
|
+
}, null, 8, ["formatted-value"])
|
|
622
|
+
]),
|
|
623
|
+
_: 1
|
|
624
|
+
}, 8, ["label"])) : w("", !0),
|
|
625
|
+
t.triggerKind === e(v).Cron ? (p(), q(e(d), {
|
|
626
|
+
key: 2,
|
|
627
|
+
span: 2,
|
|
628
|
+
label: e(l)("job.trigger.cronExpression"),
|
|
629
|
+
path: "cronExpression"
|
|
630
|
+
}, {
|
|
631
|
+
default: n(() => [
|
|
632
|
+
o(Be, {
|
|
633
|
+
"model-value": t.cronExpression,
|
|
634
|
+
"onUpdate:modelValue": r[8] || (r[8] = (s) => t.cronExpression = s)
|
|
635
|
+
}, null, 8, ["model-value"])
|
|
636
|
+
]),
|
|
637
|
+
_: 1
|
|
638
|
+
}, 8, ["label"])) : w("", !0)
|
|
639
|
+
]),
|
|
640
|
+
_: 1
|
|
641
|
+
})
|
|
642
|
+
]),
|
|
643
|
+
_: 1
|
|
644
|
+
}, 8, ["name"]),
|
|
645
|
+
o(e(B), {
|
|
646
|
+
name: T.handler
|
|
647
|
+
}, {
|
|
648
|
+
header: n(() => [
|
|
649
|
+
y("span", $e, u(e(l)("job.form.sectionHandler")), 1)
|
|
650
|
+
]),
|
|
651
|
+
default: n(() => [
|
|
652
|
+
o(e(H), {
|
|
653
|
+
cols: "1 s:2",
|
|
654
|
+
responsive: "screen",
|
|
655
|
+
"x-gap": 16,
|
|
656
|
+
"y-gap": 0
|
|
657
|
+
}, {
|
|
658
|
+
default: n(() => [
|
|
659
|
+
o(e(d), {
|
|
660
|
+
span: 2,
|
|
661
|
+
label: e(l)("job.handler.kind"),
|
|
662
|
+
"show-feedback": !1
|
|
663
|
+
}, {
|
|
664
|
+
default: n(() => [
|
|
665
|
+
o(e(_), { align: "center" }, {
|
|
666
|
+
default: n(() => [
|
|
667
|
+
o(e(A), {
|
|
668
|
+
value: t.handlerKind,
|
|
669
|
+
"onUpdate:value": r[9] || (r[9] = (s) => t.handlerKind = s)
|
|
670
|
+
}, {
|
|
671
|
+
default: n(() => [
|
|
672
|
+
o(e(_), null, {
|
|
673
|
+
default: n(() => [
|
|
674
|
+
o(e(j), {
|
|
675
|
+
value: e(f).Compiled
|
|
676
|
+
}, {
|
|
677
|
+
default: n(() => [
|
|
678
|
+
c(u(e(l)("job.handler.compiled")), 1)
|
|
679
|
+
]),
|
|
680
|
+
_: 1
|
|
681
|
+
}, 8, ["value"]),
|
|
682
|
+
o(e(j), {
|
|
683
|
+
value: e(f).Http
|
|
684
|
+
}, {
|
|
685
|
+
default: n(() => [
|
|
686
|
+
c(u(e(l)("job.handler.http")), 1)
|
|
687
|
+
]),
|
|
688
|
+
_: 1
|
|
689
|
+
}, 8, ["value"]),
|
|
690
|
+
o(e(j), {
|
|
691
|
+
value: e(f).Sql,
|
|
692
|
+
disabled: !$.value
|
|
693
|
+
}, {
|
|
694
|
+
default: n(() => [
|
|
695
|
+
c(u(e(l)("job.handler.sql")), 1)
|
|
696
|
+
]),
|
|
697
|
+
_: 1
|
|
698
|
+
}, 8, ["value", "disabled"])
|
|
699
|
+
]),
|
|
700
|
+
_: 1
|
|
701
|
+
})
|
|
702
|
+
]),
|
|
703
|
+
_: 1
|
|
704
|
+
}, 8, ["value"]),
|
|
705
|
+
$.value ? w("", !0) : (p(), k("span", Fe, u(e(l)("job.handler.sqlDisabledHint")), 1))
|
|
706
|
+
]),
|
|
707
|
+
_: 1
|
|
708
|
+
})
|
|
709
|
+
]),
|
|
710
|
+
_: 1
|
|
711
|
+
}, 8, ["label"]),
|
|
712
|
+
t.handlerKind === e(f).Compiled ? (p(), k(R, { key: 0 }, [
|
|
713
|
+
o(e(d), {
|
|
714
|
+
span: 2,
|
|
715
|
+
label: e(l)("job.handler.name"),
|
|
716
|
+
path: "handlerName"
|
|
717
|
+
}, {
|
|
718
|
+
default: n(() => [
|
|
719
|
+
o(e(oe), {
|
|
720
|
+
value: t.handlerName,
|
|
721
|
+
"onUpdate:value": r[10] || (r[10] = (s) => t.handlerName = s),
|
|
722
|
+
filterable: "",
|
|
723
|
+
options: Z.value,
|
|
724
|
+
placeholder: e(l)("job.handler.namePlaceholder")
|
|
725
|
+
}, null, 8, ["value", "options", "placeholder"])
|
|
726
|
+
]),
|
|
727
|
+
_: 1
|
|
728
|
+
}, 8, ["label"]),
|
|
729
|
+
o(e(d), {
|
|
730
|
+
span: 2,
|
|
731
|
+
label: e(l)("job.handler.props"),
|
|
732
|
+
"show-feedback": !1
|
|
733
|
+
}, {
|
|
734
|
+
default: n(() => [
|
|
735
|
+
y("div", Ge, [
|
|
736
|
+
(p(!0), k(R, null, re(t.props, (s, U) => (p(), k("div", {
|
|
737
|
+
key: U,
|
|
738
|
+
class: "kv-row"
|
|
739
|
+
}, [
|
|
740
|
+
o(e(h), {
|
|
741
|
+
value: s.key,
|
|
742
|
+
"onUpdate:value": (S) => s.key = S,
|
|
743
|
+
size: "small",
|
|
744
|
+
placeholder: e(l)("job.handler.propKey")
|
|
745
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder"]),
|
|
746
|
+
o(e(h), {
|
|
747
|
+
value: s.value,
|
|
748
|
+
"onUpdate:value": (S) => s.value = S,
|
|
749
|
+
size: "small",
|
|
750
|
+
placeholder: e(l)("job.handler.propValue")
|
|
751
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder"]),
|
|
752
|
+
o(e(g), {
|
|
753
|
+
quaternary: "",
|
|
754
|
+
circle: "",
|
|
755
|
+
size: "small",
|
|
756
|
+
"aria-label": e(l)("common.delete"),
|
|
757
|
+
onClick: (S) => t.props.splice(U, 1)
|
|
758
|
+
}, {
|
|
759
|
+
icon: n(() => [
|
|
760
|
+
o(K, {
|
|
761
|
+
icon: "ph:x",
|
|
762
|
+
size: 14
|
|
763
|
+
})
|
|
764
|
+
]),
|
|
765
|
+
_: 1
|
|
766
|
+
}, 8, ["aria-label", "onClick"])
|
|
767
|
+
]))), 128)),
|
|
768
|
+
o(e(g), {
|
|
769
|
+
dashed: "",
|
|
770
|
+
size: "small",
|
|
771
|
+
onClick: r[11] || (r[11] = (s) => t.props.push({ key: "", value: "" }))
|
|
772
|
+
}, {
|
|
773
|
+
icon: n(() => [
|
|
774
|
+
o(K, {
|
|
775
|
+
icon: "ph:plus",
|
|
776
|
+
size: 14
|
|
777
|
+
})
|
|
778
|
+
]),
|
|
779
|
+
default: n(() => [
|
|
780
|
+
c(" " + u(e(l)("job.handler.addProp")), 1)
|
|
781
|
+
]),
|
|
782
|
+
_: 1
|
|
783
|
+
})
|
|
784
|
+
])
|
|
785
|
+
]),
|
|
786
|
+
_: 1
|
|
787
|
+
}, 8, ["label"])
|
|
788
|
+
], 64)) : w("", !0),
|
|
789
|
+
t.handlerKind === e(f).Http ? (p(), k(R, { key: 1 }, [
|
|
790
|
+
o(e(d), {
|
|
791
|
+
span: 2,
|
|
792
|
+
label: e(l)("job.handler.httpUrl"),
|
|
793
|
+
path: "httpUrl"
|
|
794
|
+
}, {
|
|
795
|
+
default: n(() => [
|
|
796
|
+
o(e(h), {
|
|
797
|
+
value: t.httpUrl,
|
|
798
|
+
"onUpdate:value": r[12] || (r[12] = (s) => t.httpUrl = s),
|
|
799
|
+
placeholder: "https://example.com/api/task"
|
|
800
|
+
}, null, 8, ["value"])
|
|
801
|
+
]),
|
|
802
|
+
_: 1
|
|
803
|
+
}, 8, ["label"]),
|
|
804
|
+
o(e(d), {
|
|
805
|
+
label: e(l)("job.handler.httpMethod"),
|
|
806
|
+
"show-feedback": !1
|
|
807
|
+
}, {
|
|
808
|
+
default: n(() => [
|
|
809
|
+
o(e(oe), {
|
|
810
|
+
value: t.httpMethod,
|
|
811
|
+
"onUpdate:value": r[13] || (r[13] = (s) => t.httpMethod = s),
|
|
812
|
+
options: e(Se),
|
|
813
|
+
style: { width: "160px" }
|
|
814
|
+
}, null, 8, ["value", "options"])
|
|
815
|
+
]),
|
|
816
|
+
_: 1
|
|
817
|
+
}, 8, ["label"]),
|
|
818
|
+
o(e(d), {
|
|
819
|
+
label: e(l)("job.handler.successStatuses"),
|
|
820
|
+
"show-feedback": !1
|
|
821
|
+
}, {
|
|
822
|
+
default: n(() => [
|
|
823
|
+
o(e(h), {
|
|
824
|
+
value: t.successStatuses,
|
|
825
|
+
"onUpdate:value": r[14] || (r[14] = (s) => t.successStatuses = s),
|
|
826
|
+
placeholder: e(l)("job.handler.successStatusesPlaceholder"),
|
|
827
|
+
style: { width: "240px" }
|
|
828
|
+
}, null, 8, ["value", "placeholder"])
|
|
829
|
+
]),
|
|
830
|
+
_: 1
|
|
831
|
+
}, 8, ["label"]),
|
|
832
|
+
o(e(d), {
|
|
833
|
+
span: 2,
|
|
834
|
+
label: e(l)("job.handler.httpHeaders"),
|
|
835
|
+
"show-feedback": !1
|
|
836
|
+
}, {
|
|
837
|
+
default: n(() => [
|
|
838
|
+
y("div", We, [
|
|
839
|
+
(p(!0), k(R, null, re(t.headers, (s, U) => (p(), k("div", {
|
|
840
|
+
key: U,
|
|
841
|
+
class: "kv-row"
|
|
842
|
+
}, [
|
|
843
|
+
o(e(h), {
|
|
844
|
+
value: s.key,
|
|
845
|
+
"onUpdate:value": (S) => s.key = S,
|
|
846
|
+
size: "small",
|
|
847
|
+
placeholder: e(l)("job.handler.propKey")
|
|
848
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder"]),
|
|
849
|
+
o(e(h), {
|
|
850
|
+
value: s.value,
|
|
851
|
+
"onUpdate:value": (S) => s.value = S,
|
|
852
|
+
size: "small",
|
|
853
|
+
placeholder: e(l)("job.handler.propValue")
|
|
854
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder"]),
|
|
855
|
+
o(e(g), {
|
|
856
|
+
quaternary: "",
|
|
857
|
+
circle: "",
|
|
858
|
+
size: "small",
|
|
859
|
+
"aria-label": e(l)("common.delete"),
|
|
860
|
+
onClick: (S) => t.headers.splice(U, 1)
|
|
861
|
+
}, {
|
|
862
|
+
icon: n(() => [
|
|
863
|
+
o(K, {
|
|
864
|
+
icon: "ph:x",
|
|
865
|
+
size: 14
|
|
866
|
+
})
|
|
867
|
+
]),
|
|
868
|
+
_: 1
|
|
869
|
+
}, 8, ["aria-label", "onClick"])
|
|
870
|
+
]))), 128)),
|
|
871
|
+
o(e(g), {
|
|
872
|
+
dashed: "",
|
|
873
|
+
size: "small",
|
|
874
|
+
onClick: r[15] || (r[15] = (s) => t.headers.push({ key: "", value: "" }))
|
|
875
|
+
}, {
|
|
876
|
+
icon: n(() => [
|
|
877
|
+
o(K, {
|
|
878
|
+
icon: "ph:plus",
|
|
879
|
+
size: 14
|
|
880
|
+
})
|
|
881
|
+
]),
|
|
882
|
+
default: n(() => [
|
|
883
|
+
c(" " + u(e(l)("job.handler.addProp")), 1)
|
|
884
|
+
]),
|
|
885
|
+
_: 1
|
|
886
|
+
}),
|
|
887
|
+
C.value !== null ? (p(), k("span", Qe, u(e(l)("job.handler.headersMaskHint")), 1)) : w("", !0)
|
|
888
|
+
])
|
|
889
|
+
]),
|
|
890
|
+
_: 1
|
|
891
|
+
}, 8, ["label"]),
|
|
892
|
+
o(e(d), {
|
|
893
|
+
span: 2,
|
|
894
|
+
label: e(l)("job.handler.httpBody"),
|
|
895
|
+
"show-feedback": !1
|
|
896
|
+
}, {
|
|
897
|
+
default: n(() => [
|
|
898
|
+
o(e(h), {
|
|
899
|
+
value: t.httpBody,
|
|
900
|
+
"onUpdate:value": r[16] || (r[16] = (s) => t.httpBody = s),
|
|
901
|
+
type: "textarea",
|
|
902
|
+
autosize: { minRows: 2, maxRows: 5 }
|
|
903
|
+
}, null, 8, ["value"])
|
|
904
|
+
]),
|
|
905
|
+
_: 1
|
|
906
|
+
}, 8, ["label"])
|
|
907
|
+
], 64)) : w("", !0),
|
|
908
|
+
t.handlerKind === e(f).Sql ? (p(), q(e(d), {
|
|
909
|
+
key: 2,
|
|
910
|
+
span: 2,
|
|
911
|
+
label: e(l)("job.handler.sqlText"),
|
|
912
|
+
path: "sqlText"
|
|
913
|
+
}, {
|
|
914
|
+
default: n(() => [
|
|
915
|
+
o(e(h), {
|
|
916
|
+
value: t.sqlText,
|
|
917
|
+
"onUpdate:value": r[17] || (r[17] = (s) => t.sqlText = s),
|
|
918
|
+
type: "textarea",
|
|
919
|
+
autosize: { minRows: 3, maxRows: 8 },
|
|
920
|
+
placeholder: "UPDATE ..."
|
|
921
|
+
}, null, 8, ["value"])
|
|
922
|
+
]),
|
|
923
|
+
_: 1
|
|
924
|
+
}, 8, ["label"])) : w("", !0)
|
|
925
|
+
]),
|
|
926
|
+
_: 1
|
|
927
|
+
})
|
|
928
|
+
]),
|
|
929
|
+
_: 1
|
|
930
|
+
}, 8, ["name"]),
|
|
931
|
+
o(e(B), {
|
|
932
|
+
name: T.advanced,
|
|
933
|
+
class: "job-advanced"
|
|
934
|
+
}, {
|
|
935
|
+
header: n(() => [
|
|
936
|
+
y("span", Xe, u(e(l)("job.form.sectionAdvanced")), 1),
|
|
937
|
+
y("span", Ye, u(e(l)("job.form.sectionAdvancedHint")), 1)
|
|
938
|
+
]),
|
|
939
|
+
default: n(() => [
|
|
940
|
+
o(e(H), {
|
|
941
|
+
cols: "1 s:2",
|
|
942
|
+
responsive: "screen",
|
|
943
|
+
"x-gap": 24,
|
|
944
|
+
"y-gap": 4
|
|
945
|
+
}, {
|
|
946
|
+
default: n(() => [
|
|
947
|
+
o(e(d), {
|
|
948
|
+
label: e(l)("job.form.startTime"),
|
|
949
|
+
"show-feedback": !1
|
|
950
|
+
}, {
|
|
951
|
+
default: n(() => [
|
|
952
|
+
o(e(G), {
|
|
953
|
+
"formatted-value": t.startTime,
|
|
954
|
+
"onUpdate:formattedValue": r[18] || (r[18] = (s) => t.startTime = s),
|
|
955
|
+
type: "datetime",
|
|
956
|
+
"value-format": "yyyy-MM-dd'T'HH:mm:ss",
|
|
957
|
+
clearable: "",
|
|
958
|
+
placeholder: e(l)("job.form.windowPlaceholder"),
|
|
959
|
+
style: { width: "100%" }
|
|
960
|
+
}, null, 8, ["formatted-value", "placeholder"])
|
|
961
|
+
]),
|
|
962
|
+
_: 1
|
|
963
|
+
}, 8, ["label"]),
|
|
964
|
+
o(e(d), {
|
|
965
|
+
label: e(l)("job.form.endTime"),
|
|
966
|
+
"show-feedback": !1
|
|
967
|
+
}, {
|
|
968
|
+
default: n(() => [
|
|
969
|
+
o(e(G), {
|
|
970
|
+
"formatted-value": t.endTime,
|
|
971
|
+
"onUpdate:formattedValue": r[19] || (r[19] = (s) => t.endTime = s),
|
|
972
|
+
type: "datetime",
|
|
973
|
+
"value-format": "yyyy-MM-dd'T'HH:mm:ss",
|
|
974
|
+
clearable: "",
|
|
975
|
+
placeholder: e(l)("job.form.windowPlaceholder"),
|
|
976
|
+
style: { width: "100%" }
|
|
977
|
+
}, null, 8, ["formatted-value", "placeholder"])
|
|
978
|
+
]),
|
|
979
|
+
_: 1
|
|
980
|
+
}, 8, ["label"]),
|
|
981
|
+
o(e(d), {
|
|
982
|
+
span: 2,
|
|
983
|
+
label: e(l)("job.form.misfireStrategy"),
|
|
984
|
+
"show-feedback": !1
|
|
985
|
+
}, {
|
|
986
|
+
default: n(() => [
|
|
987
|
+
o(e(A), {
|
|
988
|
+
value: t.misfireStrategy,
|
|
989
|
+
"onUpdate:value": r[20] || (r[20] = (s) => t.misfireStrategy = s)
|
|
990
|
+
}, {
|
|
991
|
+
default: n(() => [
|
|
992
|
+
o(e(_), { size: 16 }, {
|
|
993
|
+
default: n(() => [
|
|
994
|
+
o(e(j), {
|
|
995
|
+
value: e(D).Skip
|
|
996
|
+
}, {
|
|
997
|
+
default: n(() => [
|
|
998
|
+
c(u(e(l)("job.form.misfireSkip")), 1)
|
|
999
|
+
]),
|
|
1000
|
+
_: 1
|
|
1001
|
+
}, 8, ["value"]),
|
|
1002
|
+
o(e(j), {
|
|
1003
|
+
value: e(D).FireOnceNow
|
|
1004
|
+
}, {
|
|
1005
|
+
default: n(() => [
|
|
1006
|
+
c(u(e(l)("job.form.misfireFireOnceNow")), 1)
|
|
1007
|
+
]),
|
|
1008
|
+
_: 1
|
|
1009
|
+
}, 8, ["value"])
|
|
1010
|
+
]),
|
|
1011
|
+
_: 1
|
|
1012
|
+
})
|
|
1013
|
+
]),
|
|
1014
|
+
_: 1
|
|
1015
|
+
}, 8, ["value"])
|
|
1016
|
+
]),
|
|
1017
|
+
_: 1
|
|
1018
|
+
}, 8, ["label"]),
|
|
1019
|
+
o(e(d), {
|
|
1020
|
+
span: 2,
|
|
1021
|
+
label: e(l)("job.form.concurrencyMode"),
|
|
1022
|
+
"show-feedback": !1
|
|
1023
|
+
}, {
|
|
1024
|
+
default: n(() => [
|
|
1025
|
+
o(e(A), {
|
|
1026
|
+
value: t.concurrencyMode,
|
|
1027
|
+
"onUpdate:value": r[21] || (r[21] = (s) => t.concurrencyMode = s)
|
|
1028
|
+
}, {
|
|
1029
|
+
default: n(() => [
|
|
1030
|
+
o(e(_), { size: 16 }, {
|
|
1031
|
+
default: n(() => [
|
|
1032
|
+
o(e(j), {
|
|
1033
|
+
value: e(V).SerialSkip
|
|
1034
|
+
}, {
|
|
1035
|
+
default: n(() => [
|
|
1036
|
+
c(u(e(l)("job.form.concurrencySerial")), 1)
|
|
1037
|
+
]),
|
|
1038
|
+
_: 1
|
|
1039
|
+
}, 8, ["value"]),
|
|
1040
|
+
o(e(j), {
|
|
1041
|
+
value: e(V).Parallel
|
|
1042
|
+
}, {
|
|
1043
|
+
default: n(() => [
|
|
1044
|
+
c(u(e(l)("job.form.concurrencyParallel")), 1)
|
|
1045
|
+
]),
|
|
1046
|
+
_: 1
|
|
1047
|
+
}, 8, ["value"])
|
|
1048
|
+
]),
|
|
1049
|
+
_: 1
|
|
1050
|
+
})
|
|
1051
|
+
]),
|
|
1052
|
+
_: 1
|
|
1053
|
+
}, 8, ["value"])
|
|
1054
|
+
]),
|
|
1055
|
+
_: 1
|
|
1056
|
+
}, 8, ["label"]),
|
|
1057
|
+
o(e(d), {
|
|
1058
|
+
label: e(l)("job.form.timeoutSeconds"),
|
|
1059
|
+
"show-feedback": !1
|
|
1060
|
+
}, {
|
|
1061
|
+
default: n(() => [
|
|
1062
|
+
y("div", Ze, [
|
|
1063
|
+
o(e(P), {
|
|
1064
|
+
value: t.timeoutSeconds,
|
|
1065
|
+
"onUpdate:value": r[22] || (r[22] = (s) => t.timeoutSeconds = s),
|
|
1066
|
+
min: 0,
|
|
1067
|
+
style: { width: "140px" }
|
|
1068
|
+
}, null, 8, ["value"]),
|
|
1069
|
+
y("span", et, u(e(l)("job.form.timeoutHint")), 1)
|
|
1070
|
+
])
|
|
1071
|
+
]),
|
|
1072
|
+
_: 1
|
|
1073
|
+
}, 8, ["label"]),
|
|
1074
|
+
o(e(d), {
|
|
1075
|
+
label: e(l)("job.form.retryCount"),
|
|
1076
|
+
"show-feedback": !1
|
|
1077
|
+
}, {
|
|
1078
|
+
default: n(() => [
|
|
1079
|
+
o(e(P), {
|
|
1080
|
+
value: t.retryCount,
|
|
1081
|
+
"onUpdate:value": r[23] || (r[23] = (s) => t.retryCount = s),
|
|
1082
|
+
min: 0,
|
|
1083
|
+
max: 10,
|
|
1084
|
+
style: { width: "140px" }
|
|
1085
|
+
}, null, 8, ["value"])
|
|
1086
|
+
]),
|
|
1087
|
+
_: 1
|
|
1088
|
+
}, 8, ["label"]),
|
|
1089
|
+
o(e(d), {
|
|
1090
|
+
label: e(l)("job.form.retryIntervalSeconds"),
|
|
1091
|
+
"show-feedback": !1
|
|
1092
|
+
}, {
|
|
1093
|
+
default: n(() => [
|
|
1094
|
+
o(e(P), {
|
|
1095
|
+
value: t.retryIntervalSeconds,
|
|
1096
|
+
"onUpdate:value": r[24] || (r[24] = (s) => t.retryIntervalSeconds = s),
|
|
1097
|
+
min: 0,
|
|
1098
|
+
style: { width: "140px" }
|
|
1099
|
+
}, null, 8, ["value"])
|
|
1100
|
+
]),
|
|
1101
|
+
_: 1
|
|
1102
|
+
}, 8, ["label"]),
|
|
1103
|
+
o(e(d), {
|
|
1104
|
+
label: e(l)("job.form.failAlertThreshold"),
|
|
1105
|
+
"show-feedback": !1
|
|
1106
|
+
}, {
|
|
1107
|
+
default: n(() => [
|
|
1108
|
+
y("div", tt, [
|
|
1109
|
+
o(e(P), {
|
|
1110
|
+
value: t.failAlertThreshold,
|
|
1111
|
+
"onUpdate:value": r[25] || (r[25] = (s) => t.failAlertThreshold = s),
|
|
1112
|
+
min: 0,
|
|
1113
|
+
style: { width: "140px" }
|
|
1114
|
+
}, null, 8, ["value"]),
|
|
1115
|
+
y("span", lt, u(e(l)("job.form.failAlertHint")), 1)
|
|
1116
|
+
])
|
|
1117
|
+
]),
|
|
1118
|
+
_: 1
|
|
1119
|
+
}, 8, ["label"]),
|
|
1120
|
+
o(e(d), {
|
|
1121
|
+
label: e(l)("job.form.alertByNotice"),
|
|
1122
|
+
"show-feedback": !1
|
|
1123
|
+
}, {
|
|
1124
|
+
default: n(() => [
|
|
1125
|
+
o(e(Ke), {
|
|
1126
|
+
value: t.alertByNotice,
|
|
1127
|
+
"onUpdate:value": r[26] || (r[26] = (s) => t.alertByNotice = s)
|
|
1128
|
+
}, null, 8, ["value"])
|
|
1129
|
+
]),
|
|
1130
|
+
_: 1
|
|
1131
|
+
}, 8, ["label"]),
|
|
1132
|
+
o(e(d), {
|
|
1133
|
+
label: e(l)("job.form.alertEmails"),
|
|
1134
|
+
"show-feedback": !1
|
|
1135
|
+
}, {
|
|
1136
|
+
default: n(() => [
|
|
1137
|
+
o(e(h), {
|
|
1138
|
+
value: t.alertEmails,
|
|
1139
|
+
"onUpdate:value": r[27] || (r[27] = (s) => t.alertEmails = s),
|
|
1140
|
+
placeholder: e(l)("job.form.alertEmailsPlaceholder")
|
|
1141
|
+
}, null, 8, ["value", "placeholder"])
|
|
1142
|
+
]),
|
|
1143
|
+
_: 1
|
|
1144
|
+
}, 8, ["label"])
|
|
1145
|
+
]),
|
|
1146
|
+
_: 1
|
|
1147
|
+
})
|
|
1148
|
+
]),
|
|
1149
|
+
_: 1
|
|
1150
|
+
}, 8, ["name"])
|
|
1151
|
+
]),
|
|
1152
|
+
_: 1
|
|
1153
|
+
}, 8, ["expanded-names"])
|
|
1154
|
+
]),
|
|
1155
|
+
_: 1
|
|
1156
|
+
}, 8, ["model"])
|
|
1157
|
+
]),
|
|
1158
|
+
_: 1
|
|
1159
|
+
}, 8, ["show", "title", "confirm-text"])
|
|
1160
|
+
], 64);
|
|
1161
|
+
};
|
|
1162
|
+
}
|
|
1163
|
+
});
|
|
1164
|
+
export {
|
|
1165
|
+
St as default
|
|
1166
|
+
};
|
|
1167
|
+
//# sourceMappingURL=index2.vue.js.map
|