smart-admin-web 10.14.0 → 10.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (538) hide show
  1. package/README.md +6 -6
  2. package/dist/api/index.d.ts +41 -2
  3. package/dist/api/index.js +36 -15
  4. package/dist/api/index.js.map +1 -1
  5. package/dist/api/schema.d.ts +418 -6
  6. package/dist/assets/icons/ph-subset.json.js +7 -7
  7. package/dist/assets/smart-logo.svg.js +5 -0
  8. package/dist/assets/smart-logo.svg.js.map +1 -0
  9. package/dist/components/AppIcon.vue.js +9 -9
  10. package/dist/components/AppIcon.vue.js.map +1 -1
  11. package/dist/components/AppWatermark.vue.d.ts +14 -0
  12. package/dist/components/AppWatermark.vue.js +38 -0
  13. package/dist/components/AppWatermark.vue.js.map +1 -0
  14. package/dist/components/AppWatermark2.vue.js +5 -0
  15. package/dist/components/AppWatermark2.vue.js.map +1 -0
  16. package/dist/components/Chart/PieChart.vue.d.ts +1 -1
  17. package/dist/components/Chart/echarts.js +15 -20
  18. package/dist/components/Chart/echarts.js.map +1 -1
  19. package/dist/components/CronEditor/index.vue.js +1 -1
  20. package/dist/components/CronEditor/index2.vue.js +2 -1
  21. package/dist/components/CronEditor/index2.vue.js.map +1 -1
  22. package/dist/components/DetailPage/index.vue.js +2 -2
  23. package/dist/components/DetailPage/index2.vue.js.map +1 -1
  24. package/dist/components/DictTag/index.vue.js.map +1 -1
  25. package/dist/components/ErrorBoundary/index.vue.js +2 -2
  26. package/dist/components/ErrorBoundary/index2.vue.js +1 -1
  27. package/dist/components/ErrorBoundary/index2.vue.js.map +1 -1
  28. package/dist/components/FormContainer/index.vue.js +91 -56
  29. package/dist/components/FormContainer/index.vue.js.map +1 -1
  30. package/dist/components/ImportWizard/index.vue.js +1 -1
  31. package/dist/components/ImportWizard/index2.vue.js +44 -41
  32. package/dist/components/ImportWizard/index2.vue.js.map +1 -1
  33. package/dist/components/MenuSearch.vue.js +2 -2
  34. package/dist/components/MenuSearch2.vue.js +19 -18
  35. package/dist/components/MenuSearch2.vue.js.map +1 -1
  36. package/dist/components/PasswordStrength/index.vue.js +2 -2
  37. package/dist/components/PasswordStrength/index2.vue.js +20 -18
  38. package/dist/components/PasswordStrength/index2.vue.js.map +1 -1
  39. package/dist/components/SmartLogo.vue.d.ts +3 -0
  40. package/dist/components/SmartLogo.vue.js +1 -1
  41. package/dist/components/SmartLogo2.vue.js +22 -64
  42. package/dist/components/SmartLogo2.vue.js.map +1 -1
  43. package/dist/{views/system/config/components/GroupExtraConfig.vue.d.ts → components/TableTotal/index.vue.d.ts} +1 -4
  44. package/dist/components/{SelectTable → TableTotal}/index.vue.js +1 -1
  45. package/dist/components/TableTotal/index2.vue.js +16 -0
  46. package/dist/components/TableTotal/index2.vue.js.map +1 -0
  47. package/dist/components/TableZoomButton/index.vue.js.map +1 -1
  48. package/dist/components/UserPicker/index.vue.js +2 -2
  49. package/dist/components/UserPicker/index2.vue.js +176 -117
  50. package/dist/components/UserPicker/index2.vue.js.map +1 -1
  51. package/dist/composables/useBatchDelete.js.map +1 -1
  52. package/dist/composables/useLayoutMenu.js +17 -16
  53. package/dist/composables/useLayoutMenu.js.map +1 -1
  54. package/dist/composables/useLoginHero.d.ts +2 -0
  55. package/dist/composables/useLoginHero.js +22 -0
  56. package/dist/composables/useLoginHero.js.map +1 -0
  57. package/dist/composables/useModule.js +39 -29
  58. package/dist/composables/useModule.js.map +1 -1
  59. package/dist/composables/usePageTitle.js +16 -14
  60. package/dist/composables/usePageTitle.js.map +1 -1
  61. package/dist/composables/useShellBreakpoint.d.ts +19 -0
  62. package/dist/composables/useShellBreakpoint.js +37 -0
  63. package/dist/composables/useShellBreakpoint.js.map +1 -0
  64. package/dist/composables/useSite.d.ts +20 -0
  65. package/dist/composables/useSite.js +18 -13
  66. package/dist/composables/useSite.js.map +1 -1
  67. package/dist/composables/useTabTitle.js.map +1 -1
  68. package/dist/composables/useTableTitle.d.ts +6 -0
  69. package/dist/composables/useTableTitle.js +11 -0
  70. package/dist/composables/useTableTitle.js.map +1 -0
  71. package/dist/composables/useTableZoom.d.ts +5 -0
  72. package/dist/composables/useTableZoom.js.map +1 -1
  73. package/dist/composables/useTheme.d.ts +2 -2
  74. package/dist/composables/useTheme.js +23 -20
  75. package/dist/composables/useTheme.js.map +1 -1
  76. package/dist/createSmartAdmin.d.ts +12 -2
  77. package/dist/createSmartAdmin.js +72 -60
  78. package/dist/createSmartAdmin.js.map +1 -1
  79. package/dist/index.d.ts +5 -2
  80. package/dist/index.js +223 -208
  81. package/dist/index.js.map +1 -1
  82. package/dist/layouts/AccentPicker.vue.js +8 -0
  83. package/dist/layouts/AccentPicker.vue.js.map +1 -0
  84. package/dist/layouts/AccentPicker2.vue.js +131 -0
  85. package/dist/layouts/AccentPicker2.vue.js.map +1 -0
  86. package/dist/layouts/AppHeader.vue.d.ts +8 -1
  87. package/dist/layouts/AppHeader.vue.js +2 -2
  88. package/dist/layouts/AppHeader2.vue.js +317 -235
  89. package/dist/layouts/AppHeader2.vue.js.map +1 -1
  90. package/dist/layouts/NoticeBell.vue.js +2 -2
  91. package/dist/layouts/NoticeBell2.vue.js +1 -1
  92. package/dist/layouts/NoticeBell2.vue.js.map +1 -1
  93. package/dist/layouts/PersonalLayout.vue.js +2 -2
  94. package/dist/layouts/PersonalLayout2.vue.js +69 -47
  95. package/dist/layouts/PersonalLayout2.vue.js.map +1 -1
  96. package/dist/layouts/SettingsDrawer.vue.js +3 -3
  97. package/dist/layouts/SettingsDrawer2.vue.js +261 -325
  98. package/dist/layouts/SettingsDrawer2.vue.js.map +1 -1
  99. package/dist/layouts/TabsBar.vue.js +2 -2
  100. package/dist/layouts/TabsBar2.vue.js +97 -69
  101. package/dist/layouts/TabsBar2.vue.js.map +1 -1
  102. package/dist/layouts/components/SideNav.vue.d.ts +3 -0
  103. package/dist/layouts/components/SideNav.vue.js +1 -1
  104. package/dist/layouts/components/SideNav2.vue.js +54 -26
  105. package/dist/layouts/components/SideNav2.vue.js.map +1 -1
  106. package/dist/layouts/default.vue.js +1 -1
  107. package/dist/layouts/default2.vue.js +170 -140
  108. package/dist/layouts/default2.vue.js.map +1 -1
  109. package/dist/lib/favicon.d.ts +1 -0
  110. package/dist/lib/favicon.js +12 -0
  111. package/dist/lib/favicon.js.map +1 -0
  112. package/dist/lib/loginHero.d.ts +16 -0
  113. package/dist/lib/loginHero.js +33 -0
  114. package/dist/lib/loginHero.js.map +1 -0
  115. package/dist/lib/logoCrop.d.ts +25 -0
  116. package/dist/lib/logoCrop.js +22 -0
  117. package/dist/lib/logoCrop.js.map +1 -0
  118. package/dist/lib/runtime.d.ts +2 -0
  119. package/dist/lib/runtime.js +1 -1
  120. package/dist/lib/runtime.js.map +1 -1
  121. package/dist/lib/securityRules.d.ts +26 -0
  122. package/dist/lib/securityRules.js +86 -0
  123. package/dist/lib/securityRules.js.map +1 -0
  124. package/dist/lib/watermark.d.ts +110 -0
  125. package/dist/lib/watermark.js +151 -0
  126. package/dist/lib/watermark.js.map +1 -0
  127. package/dist/locales/en-US.d.ts +462 -42
  128. package/dist/locales/en-US.js +491 -78
  129. package/dist/locales/en-US.js.map +1 -1
  130. package/dist/locales/kernelMenuTitles.d.ts +1 -0
  131. package/dist/locales/kernelMenuTitles.js +128 -0
  132. package/dist/locales/kernelMenuTitles.js.map +1 -0
  133. package/dist/locales/menuTitle.d.ts +3 -0
  134. package/dist/locales/menuTitle.js +14 -12
  135. package/dist/locales/menuTitle.js.map +1 -1
  136. package/dist/locales/zh-CN.d.ts +462 -42
  137. package/dist/locales/zh-CN.js +490 -81
  138. package/dist/locales/zh-CN.js.map +1 -1
  139. package/dist/router/index.js +41 -32
  140. package/dist/router/index.js.map +1 -1
  141. package/dist/router/namedPage.d.ts +4 -0
  142. package/dist/router/namedPage.js +7 -7
  143. package/dist/router/namedPage.js.map +1 -1
  144. package/dist/router/viewRegistry.js +12 -12
  145. package/dist/router/viewRegistry.js.map +1 -1
  146. package/dist/stores/app.d.ts +0 -12
  147. package/dist/stores/app.js +11 -12
  148. package/dist/stores/app.js.map +1 -1
  149. package/dist/stores/tabs.js.map +1 -1
  150. package/dist/stores/user.d.ts +10 -0
  151. package/dist/stores/user.js.map +1 -1
  152. package/dist/style.css +1 -1
  153. package/dist/theme/accentTokens.d.ts +27 -0
  154. package/dist/theme/accentTokens.js +54 -0
  155. package/dist/theme/accentTokens.js.map +1 -0
  156. package/dist/theme/accents.d.ts +21 -1
  157. package/dist/theme/accents.js +11 -2
  158. package/dist/theme/accents.js.map +1 -1
  159. package/dist/theme/mix.d.ts +58 -7
  160. package/dist/theme/mix.js +115 -30
  161. package/dist/theme/mix.js.map +1 -1
  162. package/dist/theme/naive-theme.d.ts +5 -2
  163. package/dist/theme/naive-theme.js +405 -75
  164. package/dist/theme/naive-theme.js.map +1 -1
  165. package/dist/utils/jwt.d.ts +8 -0
  166. package/dist/utils/jwt.js +14 -0
  167. package/dist/utils/jwt.js.map +1 -0
  168. package/dist/utils/menuIcon.d.ts +2 -0
  169. package/dist/utils/menuIcon.js +8 -0
  170. package/dist/utils/menuIcon.js.map +1 -0
  171. package/dist/utils/oauthBrand.d.ts +34 -9
  172. package/dist/utils/oauthBrand.js +70 -74
  173. package/dist/utils/oauthBrand.js.map +1 -1
  174. package/dist/utils/tableFilter.d.ts +88 -0
  175. package/dist/utils/tableFilter.js +116 -0
  176. package/dist/utils/tableFilter.js.map +1 -0
  177. package/dist/utils/tableToolbar.d.ts +18 -0
  178. package/dist/utils/tableToolbar.js +11 -0
  179. package/dist/utils/tableToolbar.js.map +1 -0
  180. package/dist/utils/treeFilter.d.ts +20 -0
  181. package/dist/utils/treeFilter.js +24 -0
  182. package/dist/utils/treeFilter.js.map +1 -0
  183. package/dist/views/dashboard/ShortcutPicker.vue.js +1 -1
  184. package/dist/views/dashboard/ShortcutPicker2.vue.js +73 -48
  185. package/dist/views/dashboard/ShortcutPicker2.vue.js.map +1 -1
  186. package/dist/views/dashboard/biz.vue.js +1 -1
  187. package/dist/views/dashboard/biz2.vue.js +310 -257
  188. package/dist/views/dashboard/biz2.vue.js.map +1 -1
  189. package/dist/views/dashboard/workbench.vue.js +2 -2
  190. package/dist/views/dashboard/workbench2.vue.js +141 -155
  191. package/dist/views/dashboard/workbench2.vue.js.map +1 -1
  192. package/dist/views/embed/iframe.vue.js +2 -2
  193. package/dist/views/embed/iframe2.vue.js +22 -15
  194. package/dist/views/embed/iframe2.vue.js.map +1 -1
  195. package/dist/views/error/404.vue.js +2 -2
  196. package/dist/views/error/4042.vue.js +33 -24
  197. package/dist/views/error/4042.vue.js.map +1 -1
  198. package/dist/views/error/BootError.vue.js +1 -1
  199. package/dist/views/error/BootError2.vue.js +59 -48
  200. package/dist/views/error/BootError2.vue.js.map +1 -1
  201. package/dist/views/error/MissingRoute.vue.js +2 -2
  202. package/dist/views/error/MissingRoute2.vue.js +34 -15
  203. package/dist/views/error/MissingRoute2.vue.js.map +1 -1
  204. package/dist/views/login/LoginForm.vue.d.ts +7 -1
  205. package/dist/views/login/LoginForm.vue.js +2 -2
  206. package/dist/views/login/LoginForm2.vue.js +580 -488
  207. package/dist/views/login/LoginForm2.vue.js.map +1 -1
  208. package/dist/views/login/components/LoginDesk.vue.d.ts +36 -0
  209. package/dist/views/login/components/LoginDesk.vue.js +9 -0
  210. package/dist/views/login/components/LoginDesk.vue.js.map +1 -0
  211. package/dist/views/login/components/LoginDesk2.vue.js +100 -0
  212. package/dist/views/login/components/LoginDesk2.vue.js.map +1 -0
  213. package/dist/views/login/components/LoginHeroPanel.vue.d.ts +18 -0
  214. package/dist/views/login/components/LoginHeroPanel.vue.js +8 -0
  215. package/dist/views/login/components/LoginHeroPanel.vue.js.map +1 -0
  216. package/dist/views/login/components/LoginHeroPanel2.vue.js +61 -0
  217. package/dist/views/login/components/LoginHeroPanel2.vue.js.map +1 -0
  218. package/dist/views/login/index.vue.js +1 -1
  219. package/dist/views/login/index2.vue.js +141 -71
  220. package/dist/views/login/index2.vue.js.map +1 -1
  221. package/dist/views/login/layout.d.ts +11 -0
  222. package/dist/views/login/layout.js +27 -0
  223. package/dist/views/login/layout.js.map +1 -0
  224. package/dist/views/mfa/index.vue.js +2 -2
  225. package/dist/views/mfa/index2.vue.js +367 -321
  226. package/dist/views/mfa/index2.vue.js.map +1 -1
  227. package/dist/views/module/index.vue.js +2 -2
  228. package/dist/views/module/index2.vue.js +132 -99
  229. package/dist/views/module/index2.vue.js.map +1 -1
  230. package/dist/views/oauth/callback.vue.js +2 -2
  231. package/dist/views/oauth/callback2.vue.js +65 -51
  232. package/dist/views/oauth/callback2.vue.js.map +1 -1
  233. package/dist/views/personal/bindings.vue.js +2 -2
  234. package/dist/views/personal/bindings2.vue.js +98 -94
  235. package/dist/views/personal/bindings2.vue.js.map +1 -1
  236. package/dist/views/personal/notice2.vue.js +103 -76
  237. package/dist/views/personal/notice2.vue.js.map +1 -1
  238. package/dist/views/personal/password2.vue.js +47 -40
  239. package/dist/views/personal/password2.vue.js.map +1 -1
  240. package/dist/views/personal/profile.vue.js +3 -3
  241. package/dist/views/personal/profile2.vue.js +24 -18
  242. package/dist/views/personal/profile2.vue.js.map +1 -1
  243. package/dist/views/personal/security.vue.js +2 -2
  244. package/dist/views/personal/security2.vue.js +65 -53
  245. package/dist/views/personal/security2.vue.js.map +1 -1
  246. package/dist/views/personal/sessions.vue.js +2 -2
  247. package/dist/views/personal/sessions2.vue.js +67 -62
  248. package/dist/views/personal/sessions2.vue.js.map +1 -1
  249. package/dist/views/system/ai-model/components/ProviderCard.vue.js +2 -2
  250. package/dist/views/system/ai-model/components/ProviderCard2.vue.js +142 -130
  251. package/dist/views/system/ai-model/components/ProviderCard2.vue.js.map +1 -1
  252. package/dist/views/system/ai-model/components/ProviderForm.vue.js +2 -2
  253. package/dist/views/system/ai-model/components/ProviderForm2.vue.js +71 -70
  254. package/dist/views/system/ai-model/components/ProviderForm2.vue.js.map +1 -1
  255. package/dist/views/system/ai-model/index.vue.js +2 -2
  256. package/dist/views/system/ai-model/index2.vue.js +99 -99
  257. package/dist/views/system/ai-model/index2.vue.js.map +1 -1
  258. package/dist/views/system/ai-model/presets.d.ts +1 -1
  259. package/dist/views/system/ai-model/presets.js +18 -18
  260. package/dist/views/system/ai-model/presets.js.map +1 -1
  261. package/dist/views/system/ai-usage/index.vue.js +2 -2
  262. package/dist/views/system/ai-usage/index2.vue.js +356 -258
  263. package/dist/views/system/ai-usage/index2.vue.js.map +1 -1
  264. package/dist/views/system/api-docs/index.vue.js +5 -2
  265. package/dist/views/system/api-docs/index.vue.js.map +1 -1
  266. package/dist/views/system/api-docs/index2.vue.js +92 -42
  267. package/dist/views/system/api-docs/index2.vue.js.map +1 -1
  268. package/dist/views/system/cache/index.vue.js +2 -2
  269. package/dist/views/system/cache/index2.vue.js +74 -80
  270. package/dist/views/system/cache/index2.vue.js.map +1 -1
  271. package/dist/views/system/config/components/AdminMock.vue.js +8 -0
  272. package/dist/views/system/config/components/AdminMock.vue.js.map +1 -0
  273. package/dist/views/system/config/components/AdminMock2.vue.js +93 -0
  274. package/dist/views/system/config/components/AdminMock2.vue.js.map +1 -0
  275. package/dist/views/system/config/components/AdvancedSection.vue.js +8 -0
  276. package/dist/views/system/config/components/AdvancedSection.vue.js.map +1 -0
  277. package/dist/views/system/config/components/AdvancedSection2.vue.js +163 -0
  278. package/dist/views/system/config/components/AdvancedSection2.vue.js.map +1 -0
  279. package/dist/views/system/config/components/BrandSection.vue.d.ts +7 -0
  280. package/dist/views/system/config/components/BrandSection.vue.js +8 -0
  281. package/dist/views/system/config/components/BrandSection.vue.js.map +1 -0
  282. package/dist/views/system/config/components/BrandSection2.vue.js +266 -0
  283. package/dist/views/system/config/components/BrandSection2.vue.js.map +1 -0
  284. package/dist/views/system/config/components/CfgGroup.vue.d.ts +18 -0
  285. package/dist/views/system/config/components/CfgGroup.vue.js +8 -0
  286. package/dist/views/system/config/components/CfgGroup.vue.js.map +1 -0
  287. package/dist/views/system/config/components/CfgGroup2.vue.js +22 -0
  288. package/dist/views/system/config/components/CfgGroup2.vue.js.map +1 -0
  289. package/dist/views/system/config/components/CfgRow.vue.d.ts +26 -0
  290. package/dist/views/system/config/components/CfgRow.vue.js +9 -0
  291. package/dist/views/system/config/components/CfgRow.vue.js.map +1 -0
  292. package/dist/views/system/config/components/CfgRow2.vue.js +54 -0
  293. package/dist/views/system/config/components/CfgRow2.vue.js.map +1 -0
  294. package/dist/views/system/config/components/CfgSegment.vue.d.ts +28 -0
  295. package/dist/views/system/config/components/CfgSegment.vue.js +8 -0
  296. package/dist/views/system/config/components/CfgSegment.vue.js.map +1 -0
  297. package/dist/views/system/config/components/CfgSegment2.vue.js +45 -0
  298. package/dist/views/system/config/components/CfgSegment2.vue.js.map +1 -0
  299. package/dist/views/system/config/components/ConfigFormModal.vue.js +4 -1
  300. package/dist/views/system/config/components/ConfigFormModal.vue.js.map +1 -1
  301. package/dist/views/system/config/components/ConfigFormModal2.vue.js +72 -60
  302. package/dist/views/system/config/components/ConfigFormModal2.vue.js.map +1 -1
  303. package/dist/views/system/config/components/JobSection.vue.js +8 -0
  304. package/dist/views/system/config/components/JobSection.vue.js.map +1 -0
  305. package/dist/views/system/config/components/JobSection2.vue.js +140 -0
  306. package/dist/views/system/config/components/JobSection2.vue.js.map +1 -0
  307. package/dist/views/system/config/components/LoginMock.vue.d.ts +8 -0
  308. package/dist/views/system/config/components/LoginMock.vue.js +8 -0
  309. package/dist/views/system/config/components/LoginMock.vue.js.map +1 -0
  310. package/dist/views/system/config/components/LoginMock2.vue.js +132 -0
  311. package/dist/views/system/config/components/LoginMock2.vue.js.map +1 -0
  312. package/dist/views/system/config/components/LogoCropper.vue.d.ts +10 -0
  313. package/dist/views/system/config/components/LogoCropper.vue.js +8 -0
  314. package/dist/views/system/config/components/LogoCropper.vue.js.map +1 -0
  315. package/dist/views/system/config/components/LogoCropper2.vue.js +122 -0
  316. package/dist/views/system/config/components/LogoCropper2.vue.js.map +1 -0
  317. package/dist/views/system/config/components/LogoEditor.vue.js +8 -0
  318. package/dist/views/system/config/components/LogoEditor.vue.js.map +1 -0
  319. package/dist/views/system/config/components/LogoEditor2.vue.js +161 -0
  320. package/dist/views/system/config/components/LogoEditor2.vue.js.map +1 -0
  321. package/dist/views/system/config/components/ProviderSheet.vue.d.ts +17 -0
  322. package/dist/views/system/config/components/ProviderSheet.vue.js +8 -0
  323. package/dist/views/system/config/components/ProviderSheet.vue.js.map +1 -0
  324. package/dist/views/system/config/components/ProviderSheet2.vue.js +343 -0
  325. package/dist/views/system/config/components/ProviderSheet2.vue.js.map +1 -0
  326. package/dist/{layouts/SettingRow.vue.d.ts → views/system/config/components/ScaleToFit.vue.d.ts} +2 -1
  327. package/dist/views/system/config/components/ScaleToFit.vue.js +8 -0
  328. package/dist/views/system/config/components/ScaleToFit.vue.js.map +1 -0
  329. package/dist/views/system/config/components/ScaleToFit2.vue.js +41 -0
  330. package/dist/views/system/config/components/ScaleToFit2.vue.js.map +1 -0
  331. package/dist/views/system/config/components/SectionLayout.vue.d.ts +30 -0
  332. package/dist/views/system/config/components/SectionLayout.vue.js +8 -0
  333. package/dist/views/system/config/components/SectionLayout.vue.js.map +1 -0
  334. package/dist/views/system/config/components/SectionLayout2.vue.js +69 -0
  335. package/dist/views/system/config/components/SectionLayout2.vue.js.map +1 -0
  336. package/dist/views/system/config/components/SecuritySection.vue.js +8 -0
  337. package/dist/views/system/config/components/SecuritySection.vue.js.map +1 -0
  338. package/dist/views/system/config/components/SecuritySection2.vue.js +417 -0
  339. package/dist/views/system/config/components/SecuritySection2.vue.js.map +1 -0
  340. package/dist/views/system/config/components/SensitiveSection.vue.js +8 -0
  341. package/dist/views/system/config/components/SensitiveSection.vue.js.map +1 -0
  342. package/dist/views/system/config/components/SensitiveSection2.vue.js +214 -0
  343. package/dist/views/system/config/components/SensitiveSection2.vue.js.map +1 -0
  344. package/dist/views/system/config/components/SigninSection.vue.js +8 -0
  345. package/dist/views/system/config/components/SigninSection.vue.js.map +1 -0
  346. package/dist/views/system/config/components/SigninSection2.vue.js +201 -0
  347. package/dist/views/system/config/components/SigninSection2.vue.js.map +1 -0
  348. package/dist/views/system/config/components/UploadSection.vue.js +8 -0
  349. package/dist/views/system/config/components/UploadSection.vue.js.map +1 -0
  350. package/dist/views/system/config/components/UploadSection2.vue.js +176 -0
  351. package/dist/views/system/config/components/UploadSection2.vue.js.map +1 -0
  352. package/dist/views/system/config/components/WatermarkSection.vue.js +8 -0
  353. package/dist/views/system/config/components/WatermarkSection.vue.js.map +1 -0
  354. package/dist/views/system/config/components/WatermarkSection2.vue.js +284 -0
  355. package/dist/views/system/config/components/WatermarkSection2.vue.js.map +1 -0
  356. package/dist/views/system/config/draft.d.ts +148 -0
  357. package/dist/views/system/config/draft.js +170 -0
  358. package/dist/views/system/config/draft.js.map +1 -0
  359. package/dist/views/system/config/flash.d.ts +2 -0
  360. package/dist/views/system/config/flash.js +9 -0
  361. package/dist/views/system/config/flash.js.map +1 -0
  362. package/dist/views/system/config/groups.d.ts +38 -7
  363. package/dist/views/system/config/groups.js +104 -14
  364. package/dist/views/system/config/groups.js.map +1 -1
  365. package/dist/views/system/config/index.vue.js +6 -2
  366. package/dist/views/system/config/index.vue.js.map +1 -1
  367. package/dist/views/system/config/index2.vue.js +201 -111
  368. package/dist/views/system/config/index2.vue.js.map +1 -1
  369. package/dist/views/system/config/layoutMode.d.ts +23 -0
  370. package/dist/views/system/config/layoutMode.js +28 -0
  371. package/dist/views/system/config/layoutMode.js.map +1 -0
  372. package/dist/views/system/config/providerForm.d.ts +33 -0
  373. package/dist/views/system/config/providerForm.js +63 -0
  374. package/dist/views/system/config/providerForm.js.map +1 -0
  375. package/dist/views/system/dict/index.vue.js +2 -2
  376. package/dist/views/system/dict/index2.vue.js +471 -366
  377. package/dist/views/system/dict/index2.vue.js.map +1 -1
  378. package/dist/views/system/file/index2.vue.js +91 -76
  379. package/dist/views/system/file/index2.vue.js.map +1 -1
  380. package/dist/views/system/job/index.vue.js +3 -3
  381. package/dist/views/system/job/index2.vue.js +897 -828
  382. package/dist/views/system/job/index2.vue.js.map +1 -1
  383. package/dist/views/system/job-log/components/AttemptTable.vue.d.ts +8 -0
  384. package/dist/views/system/job-log/components/AttemptTable.vue.js +5 -0
  385. package/dist/views/system/job-log/components/AttemptTable.vue.js.map +1 -0
  386. package/dist/views/system/job-log/components/AttemptTable2.vue.js +54 -0
  387. package/dist/views/system/job-log/components/AttemptTable2.vue.js.map +1 -0
  388. package/dist/views/system/job-log/index.vue.js +2 -2
  389. package/dist/views/system/job-log/index2.vue.js +193 -207
  390. package/dist/views/system/job-log/index2.vue.js.map +1 -1
  391. package/dist/views/system/job-log/runStatus.d.ts +13 -0
  392. package/dist/views/system/job-log/runStatus.js +26 -0
  393. package/dist/views/system/job-log/runStatus.js.map +1 -0
  394. package/dist/views/system/job-monitor/index.vue.js +2 -2
  395. package/dist/views/system/job-monitor/index2.vue.js +172 -180
  396. package/dist/views/system/job-monitor/index2.vue.js.map +1 -1
  397. package/dist/views/system/log/exception/index.vue.js +2 -2
  398. package/dist/views/system/log/exception/index2.vue.js +135 -96
  399. package/dist/views/system/log/exception/index2.vue.js.map +1 -1
  400. package/dist/views/system/log/login/index2.vue.js +62 -41
  401. package/dist/views/system/log/login/index2.vue.js.map +1 -1
  402. package/dist/views/system/log/op/index.vue.js +2 -2
  403. package/dist/views/system/log/op/index2.vue.js +200 -162
  404. package/dist/views/system/log/op/index2.vue.js.map +1 -1
  405. package/dist/views/system/menu/components/ButtonManager.vue.js +2 -2
  406. package/dist/views/system/menu/components/ButtonManager2.vue.js +206 -190
  407. package/dist/views/system/menu/components/ButtonManager2.vue.js.map +1 -1
  408. package/dist/views/system/menu/components/MenuFormModal.vue.js +2 -2
  409. package/dist/views/system/menu/components/MenuFormModal2.vue.js +127 -118
  410. package/dist/views/system/menu/components/MenuFormModal2.vue.js.map +1 -1
  411. package/dist/views/system/menu/index.vue.js +1 -1
  412. package/dist/views/system/menu/index2.vue.js +216 -183
  413. package/dist/views/system/menu/index2.vue.js.map +1 -1
  414. package/dist/views/system/module/index.vue.js +1 -1
  415. package/dist/views/system/module/index2.vue.js +177 -144
  416. package/dist/views/system/module/index2.vue.js.map +1 -1
  417. package/dist/views/system/monitor/index.vue.js +2 -2
  418. package/dist/views/system/monitor/index2.vue.js +134 -149
  419. package/dist/views/system/monitor/index2.vue.js.map +1 -1
  420. package/dist/views/system/notice/index.vue.js +1 -1
  421. package/dist/views/system/notice/index2.vue.js +209 -181
  422. package/dist/views/system/notice/index2.vue.js.map +1 -1
  423. package/dist/views/system/org/index.vue.js +1 -1
  424. package/dist/views/system/org/index2.vue.js +278 -248
  425. package/dist/views/system/org/index2.vue.js.map +1 -1
  426. package/dist/views/system/position/index.vue.js +5 -2
  427. package/dist/views/system/position/index.vue.js.map +1 -1
  428. package/dist/views/system/position/index2.vue.js +128 -92
  429. package/dist/views/system/position/index2.vue.js.map +1 -1
  430. package/dist/views/system/recycle/index.vue.js +2 -2
  431. package/dist/views/system/recycle/index2.vue.js +90 -67
  432. package/dist/views/system/recycle/index2.vue.js.map +1 -1
  433. package/dist/views/system/role/components/GrantMenuSheet.vue.d.ts +20 -0
  434. package/dist/views/system/role/components/GrantMenuSheet.vue.js +8 -0
  435. package/dist/views/system/role/components/GrantMenuSheet.vue.js.map +1 -0
  436. package/dist/views/system/role/components/GrantMenuSheet2.vue.js +117 -0
  437. package/dist/views/system/role/components/GrantMenuSheet2.vue.js.map +1 -0
  438. package/dist/views/system/role/components/GrantMenuTable.vue.d.ts +6 -4
  439. package/dist/views/system/role/components/GrantMenuTable.vue.js +2 -2
  440. package/dist/views/system/role/components/GrantMenuTable2.vue.js +279 -177
  441. package/dist/views/system/role/components/GrantMenuTable2.vue.js.map +1 -1
  442. package/dist/views/system/role/components/MatchText.vue.d.ts +7 -0
  443. package/dist/views/system/role/components/MatchText.vue.js +8 -0
  444. package/dist/views/system/role/components/MatchText.vue.js.map +1 -0
  445. package/dist/views/system/role/components/MatchText2.vue.js +29 -0
  446. package/dist/views/system/role/components/MatchText2.vue.js.map +1 -0
  447. package/dist/views/system/role/components/grantMenuGroups.d.ts +36 -0
  448. package/dist/views/system/role/components/grantMenuGroups.js +110 -48
  449. package/dist/views/system/role/components/grantMenuGroups.js.map +1 -1
  450. package/dist/views/system/role/index.vue.js +5 -2
  451. package/dist/views/system/role/index.vue.js.map +1 -1
  452. package/dist/views/system/role/index2.vue.js +181 -165
  453. package/dist/views/system/role/index2.vue.js.map +1 -1
  454. package/dist/views/system/session/index2.vue.js +75 -49
  455. package/dist/views/system/session/index2.vue.js.map +1 -1
  456. package/dist/views/system/user/components/ResetPasswordModal.vue.js +2 -2
  457. package/dist/views/system/user/components/ResetPasswordModal2.vue.js +2 -0
  458. package/dist/views/system/user/components/ResetPasswordModal2.vue.js.map +1 -1
  459. package/dist/views/system/user/components/UserFormModal.vue.js +2 -2
  460. package/dist/views/system/user/components/UserFormModal2.vue.js +77 -76
  461. package/dist/views/system/user/components/UserFormModal2.vue.js.map +1 -1
  462. package/dist/views/system/user/index.vue.js +2 -2
  463. package/dist/views/system/user/index2.vue.js +362 -275
  464. package/dist/views/system/user/index2.vue.js.map +1 -1
  465. package/package.json +6 -8
  466. package/dist/components/SelectTable/index.vue.d.ts +0 -76
  467. package/dist/components/SelectTable/index2.vue.js +0 -256
  468. package/dist/components/SelectTable/index2.vue.js.map +0 -1
  469. package/dist/composables/useTableRowSort.d.ts +0 -20
  470. package/dist/composables/useTableRowSort.js +0 -59
  471. package/dist/composables/useTableRowSort.js.map +0 -1
  472. package/dist/layouts/LayoutModeCards.vue.js +0 -8
  473. package/dist/layouts/LayoutModeCards.vue.js.map +0 -1
  474. package/dist/layouts/LayoutModeCards2.vue.js +0 -67
  475. package/dist/layouts/LayoutModeCards2.vue.js.map +0 -1
  476. package/dist/layouts/SettingRow.vue.js +0 -8
  477. package/dist/layouts/SettingRow.vue.js.map +0 -1
  478. package/dist/layouts/SettingRow2.vue.js +0 -23
  479. package/dist/layouts/SettingRow2.vue.js.map +0 -1
  480. package/dist/views/login/skins/AuroraGlass.vue.js +0 -8
  481. package/dist/views/login/skins/AuroraGlass.vue.js.map +0 -1
  482. package/dist/views/login/skins/AuroraGlass2.vue.js +0 -80
  483. package/dist/views/login/skins/AuroraGlass2.vue.js.map +0 -1
  484. package/dist/views/login/skins/SplitPanel.vue.js +0 -8
  485. package/dist/views/login/skins/SplitPanel.vue.js.map +0 -1
  486. package/dist/views/login/skins/SplitPanel2.vue.js +0 -85
  487. package/dist/views/login/skins/SplitPanel2.vue.js.map +0 -1
  488. package/dist/views/login/skins/Spotlight.vue.js +0 -8
  489. package/dist/views/login/skins/Spotlight.vue.js.map +0 -1
  490. package/dist/views/login/skins/Spotlight2.vue.js +0 -36
  491. package/dist/views/login/skins/Spotlight2.vue.js.map +0 -1
  492. package/dist/views/login/skins.d.ts +0 -8
  493. package/dist/views/login/skins.js +0 -13
  494. package/dist/views/login/skins.js.map +0 -1
  495. package/dist/views/system/config/components/ExternalAuthConfig.vue.js +0 -8
  496. package/dist/views/system/config/components/ExternalAuthConfig.vue.js.map +0 -1
  497. package/dist/views/system/config/components/ExternalAuthConfig2.vue.js +0 -218
  498. package/dist/views/system/config/components/ExternalAuthConfig2.vue.js.map +0 -1
  499. package/dist/views/system/config/components/GroupExtraConfig.vue.js +0 -8
  500. package/dist/views/system/config/components/GroupExtraConfig.vue.js.map +0 -1
  501. package/dist/views/system/config/components/GroupExtraConfig2.vue.js +0 -108
  502. package/dist/views/system/config/components/GroupExtraConfig2.vue.js.map +0 -1
  503. package/dist/views/system/config/components/HighSensConfig.vue.js +0 -5
  504. package/dist/views/system/config/components/HighSensConfig.vue.js.map +0 -1
  505. package/dist/views/system/config/components/HighSensConfig2.vue.js +0 -134
  506. package/dist/views/system/config/components/HighSensConfig2.vue.js.map +0 -1
  507. package/dist/views/system/config/components/JobConfig.vue.js +0 -5
  508. package/dist/views/system/config/components/JobConfig.vue.js.map +0 -1
  509. package/dist/views/system/config/components/JobConfig2.vue.js +0 -116
  510. package/dist/views/system/config/components/JobConfig2.vue.js.map +0 -1
  511. package/dist/views/system/config/components/OtherConfig.vue.js +0 -5
  512. package/dist/views/system/config/components/OtherConfig.vue.js.map +0 -1
  513. package/dist/views/system/config/components/OtherConfig2.vue.js +0 -121
  514. package/dist/views/system/config/components/OtherConfig2.vue.js.map +0 -1
  515. package/dist/views/system/config/components/SecurityConfig.vue.js +0 -8
  516. package/dist/views/system/config/components/SecurityConfig.vue.js.map +0 -1
  517. package/dist/views/system/config/components/SecurityConfig2.vue.js +0 -456
  518. package/dist/views/system/config/components/SecurityConfig2.vue.js.map +0 -1
  519. package/dist/views/system/config/components/SysBaseConfig.vue.js +0 -5
  520. package/dist/views/system/config/components/SysBaseConfig.vue.js.map +0 -1
  521. package/dist/views/system/config/components/SysBaseConfig2.vue.js +0 -107
  522. package/dist/views/system/config/components/SysBaseConfig2.vue.js.map +0 -1
  523. package/dist/views/system/config/components/UploadConfig.vue.d.ts +0 -3
  524. package/dist/views/system/config/components/UploadConfig.vue.js +0 -5
  525. package/dist/views/system/config/components/UploadConfig.vue.js.map +0 -1
  526. package/dist/views/system/config/components/UploadConfig2.vue.js +0 -135
  527. package/dist/views/system/config/components/UploadConfig2.vue.js.map +0 -1
  528. /package/dist/components/{SelectTable → TableTotal}/index.vue.js.map +0 -0
  529. /package/dist/layouts/{LayoutModeCards.vue.d.ts → AccentPicker.vue.d.ts} +0 -0
  530. /package/dist/views/{login/skins/AuroraGlass.vue.d.ts → system/config/components/AdminMock.vue.d.ts} +0 -0
  531. /package/dist/views/{login/skins/SplitPanel.vue.d.ts → system/config/components/AdvancedSection.vue.d.ts} +0 -0
  532. /package/dist/views/{login/skins/Spotlight.vue.d.ts → system/config/components/JobSection.vue.d.ts} +0 -0
  533. /package/dist/views/system/config/components/{ExternalAuthConfig.vue.d.ts → LogoEditor.vue.d.ts} +0 -0
  534. /package/dist/views/system/config/components/{HighSensConfig.vue.d.ts → SecuritySection.vue.d.ts} +0 -0
  535. /package/dist/views/system/config/components/{JobConfig.vue.d.ts → SensitiveSection.vue.d.ts} +0 -0
  536. /package/dist/views/system/config/components/{OtherConfig.vue.d.ts → SigninSection.vue.d.ts} +0 -0
  537. /package/dist/views/system/config/components/{SecurityConfig.vue.d.ts → UploadSection.vue.d.ts} +0 -0
  538. /package/dist/views/system/config/components/{SysBaseConfig.vue.d.ts → WatermarkSection.vue.d.ts} +0 -0
@@ -1,368 +1,304 @@
1
- import { defineComponent as P, useModel as V, computed as h, openBlock as m, createBlock as v, unref as e, withCtx as a, createVNode as t, createTextVNode as i, toDisplayString as r, createElementVNode as k, createElementBlock as C, Fragment as $, renderList as E, normalizeStyle as F, normalizeClass as H, createCommentVNode as g } from "vue";
2
- import { useMessage as I, NDrawer as L, NDrawerContent as R, NTabs as G, NTabPane as b, NDivider as d, NRadioGroup as w, NRadioButton as p, NColorPicker as O, NSwitch as f, NSelect as W, NInput as J, NButton as S, NPopconfirm as j } from "naive-ui";
3
- import { Icon as c } from "@iconify/vue";
4
- import { useI18n as q } from "vue-i18n";
5
- import { useClipboard as K, useWindowSize as Q } from "@vueuse/core";
6
- import { useAppStore as X } from "../stores/app.js";
7
- import { ACCENTS as N } from "../theme/accents.js";
8
- import { runtime as Y } from "../lib/runtime.js";
9
- import u from "./SettingRow.vue.js";
10
- import Z from "./LayoutModeCards.vue.js";
11
- const ee = { class: "accents" }, te = ["aria-label", "aria-pressed", "onClick"], ae = { class: "footer-actions" }, ve = /* @__PURE__ */ P({
1
+ import { defineComponent as M, useModel as D, computed as h, openBlock as _, createBlock as w, unref as e, withCtx as t, createVNode as s, createElementVNode as l, toDisplayString as i, createTextVNode as u, createCommentVNode as z } from "vue";
2
+ import { useMessage as O, NDrawer as H, NDrawerContent as L, NTabs as v, NTab as r, NSelect as b, NList as P, NListItem as c, NSwitch as f, NButton as y, NPopconfirm as V } from "naive-ui";
3
+ import { Icon as p } from "@iconify/vue";
4
+ import { useI18n as A } from "vue-i18n";
5
+ import { useClipboard as F } from "@vueuse/core";
6
+ import { useAppStore as I, LAYOUT_MODES as E } from "../stores/app.js";
7
+ import { runtime as j } from "../lib/runtime.js";
8
+ import J from "./AccentPicker.vue.js";
9
+ const Y = { class: "section-title first" }, $ = { class: "section-title" }, q = { class: "section-title" }, G = { class: "section-title" }, K = { class: "section-title" }, Q = { class: "section-title" }, R = { class: "sym" }, W = { class: "txt" }, X = { class: "sym" }, Z = { class: "txt" }, ee = { class: "sym" }, te = { class: "txt" }, se = { class: "sym" }, oe = { class: "txt" }, le = { class: "sym" }, ie = { class: "txt" }, ae = { class: "footer-actions" }, ve = /* @__PURE__ */ M({
12
10
  __name: "SettingsDrawer",
13
11
  props: {
14
12
  show: { type: Boolean, default: !1 },
15
13
  showModifiers: {}
16
14
  },
17
15
  emits: ["update:show"],
18
- setup(_) {
19
- const y = V(_, "show"), o = X(), { t: l } = q(), x = I(), { copy: z, isSupported: U } = K(), T = U && Y.dev;
20
- async function B() {
21
- await z(JSON.stringify(o.exportSettings(), null, 2)), x.success(l("settings.configCopied"));
16
+ setup(x) {
17
+ const g = D(x, "show"), n = I(), { t: o } = A(), S = O(), { copy: C, isSupported: N } = F(), k = N && j.dev;
18
+ async function T() {
19
+ await C(JSON.stringify(n.exportSettings(), null, 2)), S.success(o("settings.configCopied"));
22
20
  }
23
- const { width: M } = Q(), D = h(() => Math.min(400, Math.round(M.value * 0.9))), A = h(() => [
24
- { label: l("settings.transitionNone"), value: "none" },
25
- { label: l("settings.transitionFade"), value: "fade" },
26
- { label: l("settings.transitionFadeSlide"), value: "fade-slide" }
21
+ const U = h(
22
+ () => E.map((m) => ({
23
+ label: o(
24
+ "settings.layout" + m.split("-").map((a) => a[0].toUpperCase() + a.slice(1)).join("")
25
+ ),
26
+ value: m
27
+ }))
28
+ ), B = h(() => [
29
+ { label: o("settings.transitionNone"), value: "none" },
30
+ { label: o("settings.transitionFade"), value: "fade" },
31
+ { label: o("settings.transitionFadeSlide"), value: "fade-slide" }
27
32
  ]);
28
- return (le, n) => (m(), v(e(L), {
29
- show: y.value,
30
- "onUpdate:show": n[12] || (n[12] = (s) => y.value = s),
31
- width: D.value,
33
+ return (m, a) => (_(), w(e(H), {
34
+ show: g.value,
35
+ "onUpdate:show": a[10] || (a[10] = (d) => g.value = d),
36
+ width: "min(360px, 100vw)",
32
37
  placement: "right"
33
38
  }, {
34
- default: a(() => [
35
- t(e(R), {
36
- title: e(l)("settings.title"),
39
+ default: t(() => [
40
+ s(e(L), {
41
+ title: e(o)("app.appearance"),
37
42
  closable: "",
38
43
  "native-scrollbar": !1
39
44
  }, {
40
- footer: a(() => [
41
- k("div", ae, [
42
- e(T) ? (m(), v(e(S), {
45
+ footer: t(() => [
46
+ l("div", ae, [
47
+ e(k) ? (_(), w(e(y), {
43
48
  key: 0,
44
49
  block: "",
45
- tertiary: "",
46
- onClick: B
50
+ secondary: "",
51
+ onClick: T
47
52
  }, {
48
- default: a(() => [
49
- t(e(c), {
53
+ icon: t(() => [
54
+ s(e(p), {
50
55
  icon: "ph:clipboard-text",
51
- class: "ri"
52
- }),
53
- i(" " + r(e(l)("settings.copyConfig")), 1)
56
+ width: 16
57
+ })
58
+ ]),
59
+ default: t(() => [
60
+ u(" " + i(e(o)("settings.copyConfig")), 1)
54
61
  ]),
55
62
  _: 1
56
- })) : g("", !0),
57
- t(e(j), {
58
- onPositiveClick: n[11] || (n[11] = (s) => e(o).resetSettings())
63
+ })) : z("", !0),
64
+ s(e(V), {
65
+ onPositiveClick: a[9] || (a[9] = (d) => e(n).resetSettings())
59
66
  }, {
60
- trigger: a(() => [
61
- t(e(S), {
67
+ trigger: t(() => [
68
+ s(e(y), {
62
69
  block: "",
63
70
  secondary: ""
64
71
  }, {
65
- default: a(() => [
66
- t(e(c), {
72
+ icon: t(() => [
73
+ s(e(p), {
67
74
  icon: "ph:arrow-counter-clockwise",
68
- class: "ri"
69
- }),
70
- i(" " + r(e(l)("common.reset")), 1)
75
+ width: 16
76
+ })
77
+ ]),
78
+ default: t(() => [
79
+ u(" " + i(e(o)("common.reset")), 1)
71
80
  ]),
72
81
  _: 1
73
82
  })
74
83
  ]),
75
- default: a(() => [
76
- i(" " + r(e(l)("settings.resetConfirm")), 1)
84
+ default: t(() => [
85
+ u(" " + i(e(o)("settings.resetConfirm")), 1)
77
86
  ]),
78
87
  _: 1
79
88
  })
80
89
  ])
81
90
  ]),
82
- default: a(() => [
83
- t(e(G), {
84
- type: "segment",
85
- size: "small",
86
- animated: "",
87
- class: "tabs"
91
+ default: t(() => [
92
+ l("div", Y, i(e(o)("settings.themeMode")), 1),
93
+ s(e(v), {
94
+ value: e(n).themeScheme,
95
+ "onUpdate:value": a[0] || (a[0] = (d) => e(n).themeScheme = d),
96
+ type: "segment"
88
97
  }, {
89
- default: a(() => [
90
- t(e(b), {
91
- name: "appearance",
92
- tab: e(l)("settings.tabAppearance")
93
- }, {
94
- default: a(() => [
95
- t(e(d), { "title-placement": "left" }, {
96
- default: a(() => [
97
- i(r(e(l)("settings.themeMode")), 1)
98
- ]),
99
- _: 1
100
- }),
101
- t(e(w), {
102
- value: e(o).themeScheme,
103
- "onUpdate:value": n[0] || (n[0] = (s) => e(o).themeScheme = s),
104
- size: "small",
105
- class: "seg"
106
- }, {
107
- default: a(() => [
108
- t(e(p), { value: "light" }, {
109
- default: a(() => [
110
- t(e(c), {
111
- icon: "ph:sun",
112
- class: "ri"
113
- }),
114
- i(" " + r(e(l)("app.light")), 1)
115
- ]),
116
- _: 1
117
- }),
118
- t(e(p), { value: "dark" }, {
119
- default: a(() => [
120
- t(e(c), {
121
- icon: "ph:moon-stars",
122
- class: "ri"
123
- }),
124
- i(" " + r(e(l)("app.dark")), 1)
125
- ]),
126
- _: 1
127
- }),
128
- t(e(p), { value: "auto" }, {
129
- default: a(() => [
130
- t(e(c), {
131
- icon: "ph:circle-half",
132
- class: "ri"
133
- }),
134
- i(" " + r(e(l)("settings.auto")), 1)
135
- ]),
136
- _: 1
137
- })
138
- ]),
139
- _: 1
140
- }, 8, ["value"]),
141
- t(e(d), { "title-placement": "left" }, {
142
- default: a(() => [
143
- i(r(e(l)("settings.themeColor")), 1)
144
- ]),
145
- _: 1
146
- }),
147
- k("div", ee, [
148
- (m(!0), C($, null, E(e(N), (s) => (m(), C("button", {
149
- key: s,
150
- type: "button",
151
- class: H(["dot", { on: e(o).accent === s }]),
152
- style: F({ background: s }),
153
- "aria-label": `${e(l)("settings.themeColor")} ${s}`,
154
- "aria-pressed": e(o).accent === s,
155
- onClick: (se) => e(o).setAccent(s)
156
- }, [
157
- e(o).accent === s ? (m(), v(e(c), {
158
- key: 0,
159
- icon: "ph:check-bold",
160
- class: "tick"
161
- })) : g("", !0)
162
- ], 14, te))), 128))
163
- ]),
164
- t(e(O), {
165
- value: e(o).accent,
166
- modes: ["hex"],
167
- "show-alpha": !1,
168
- swatches: [...e(N)],
169
- "onUpdate:value": e(o).setAccent
170
- }, null, 8, ["value", "swatches", "onUpdate:value"]),
171
- t(e(d), { "title-placement": "left" }, {
172
- default: a(() => [
173
- i(r(e(l)("app.density")), 1)
174
- ]),
175
- _: 1
176
- }),
177
- t(e(w), {
178
- value: e(o).density,
179
- "onUpdate:value": n[1] || (n[1] = (s) => e(o).density = s),
180
- size: "small",
181
- class: "seg"
182
- }, {
183
- default: a(() => [
184
- t(e(p), { value: "comfortable" }, {
185
- default: a(() => [
186
- i(r(e(l)("app.comfortable")), 1)
187
- ]),
188
- _: 1
189
- }),
190
- t(e(p), { value: "compact" }, {
191
- default: a(() => [
192
- i(r(e(l)("app.compact")), 1)
193
- ]),
194
- _: 1
195
- })
196
- ]),
197
- _: 1
198
- }, 8, ["value"])
98
+ default: t(() => [
99
+ s(e(r), { name: "light" }, {
100
+ default: t(() => [
101
+ u(i(e(o)("app.light")), 1)
102
+ ]),
103
+ _: 1
104
+ }),
105
+ s(e(r), { name: "dark" }, {
106
+ default: t(() => [
107
+ u(i(e(o)("app.dark")), 1)
108
+ ]),
109
+ _: 1
110
+ }),
111
+ s(e(r), { name: "auto" }, {
112
+ default: t(() => [
113
+ u(i(e(o)("settings.auto")), 1)
114
+ ]),
115
+ _: 1
116
+ })
117
+ ]),
118
+ _: 1
119
+ }, 8, ["value"]),
120
+ l("div", $, i(e(o)("settings.themeColor")), 1),
121
+ s(J),
122
+ l("div", q, i(e(o)("app.density")), 1),
123
+ s(e(v), {
124
+ value: e(n).density,
125
+ "onUpdate:value": a[1] || (a[1] = (d) => e(n).density = d),
126
+ type: "segment"
127
+ }, {
128
+ default: t(() => [
129
+ s(e(r), { name: "comfortable" }, {
130
+ default: t(() => [
131
+ u(i(e(o)("app.comfortable")), 1)
132
+ ]),
133
+ _: 1
134
+ }),
135
+ s(e(r), { name: "compact" }, {
136
+ default: t(() => [
137
+ u(i(e(o)("app.compact")), 1)
138
+ ]),
139
+ _: 1
140
+ })
141
+ ]),
142
+ _: 1
143
+ }, 8, ["value"]),
144
+ l("div", G, i(e(o)("settings.layout")), 1),
145
+ s(e(b), {
146
+ value: e(n).layoutMode,
147
+ options: U.value,
148
+ "onUpdate:value": a[2] || (a[2] = (d) => e(n).setLayoutMode(d))
149
+ }, null, 8, ["value", "options"]),
150
+ l("div", K, i(e(o)("settings.formStyle")), 1),
151
+ s(e(v), {
152
+ value: e(n).formStyle,
153
+ "onUpdate:value": a[3] || (a[3] = (d) => e(n).formStyle = d),
154
+ type: "segment"
155
+ }, {
156
+ default: t(() => [
157
+ s(e(r), { name: "modal" }, {
158
+ default: t(() => [
159
+ u(i(e(o)("settings.formStyleModal")), 1)
199
160
  ]),
200
161
  _: 1
201
- }, 8, ["tab"]),
202
- t(e(b), {
203
- name: "layout",
204
- tab: e(l)("settings.tabLayout")
205
- }, {
206
- default: a(() => [
207
- t(e(d), { "title-placement": "left" }, {
208
- default: a(() => [
209
- i(r(e(l)("settings.layout")), 1)
210
- ]),
211
- _: 1
212
- }),
213
- t(Z),
214
- t(e(d), { "title-placement": "left" }, {
215
- default: a(() => [
216
- i(r(e(l)("settings.interface")), 1)
217
- ]),
218
- _: 1
219
- }),
220
- t(u, {
221
- label: e(l)("settings.showBreadcrumb")
222
- }, {
223
- default: a(() => [
224
- t(e(f), {
225
- value: e(o).showBreadcrumb,
226
- "onUpdate:value": n[2] || (n[2] = (s) => e(o).showBreadcrumb = s),
227
- size: "small"
228
- }, null, 8, ["value"])
229
- ]),
230
- _: 1
231
- }, 8, ["label"]),
232
- t(u, {
233
- label: e(l)("settings.showTabs")
234
- }, {
235
- default: a(() => [
236
- t(e(f), {
237
- value: e(o).showTabs,
238
- "onUpdate:value": n[3] || (n[3] = (s) => e(o).showTabs = s),
239
- size: "small"
240
- }, null, 8, ["value"])
241
- ]),
242
- _: 1
243
- }, 8, ["label"]),
244
- t(u, {
245
- label: e(l)("settings.fixedHeader")
246
- }, {
247
- default: a(() => [
248
- t(e(f), {
249
- value: e(o).fixedHeader,
250
- "onUpdate:value": n[4] || (n[4] = (s) => e(o).fixedHeader = s),
251
- size: "small"
252
- }, null, 8, ["value"])
253
- ]),
254
- _: 1
255
- }, 8, ["label"]),
256
- t(u, {
257
- label: e(l)("settings.pageTransition")
258
- }, {
259
- default: a(() => [
260
- t(e(W), {
261
- value: e(o).pageTransition,
262
- "onUpdate:value": n[5] || (n[5] = (s) => e(o).pageTransition = s),
263
- options: A.value,
264
- size: "small",
265
- style: { width: "120px" }
266
- }, null, 8, ["value", "options"])
267
- ]),
268
- _: 1
269
- }, 8, ["label"]),
270
- t(u, {
271
- label: e(l)("settings.grayscale")
272
- }, {
273
- default: a(() => [
274
- t(e(f), {
275
- value: e(o).grayscale,
276
- "onUpdate:value": n[6] || (n[6] = (s) => e(o).grayscale = s),
277
- size: "small"
278
- }, null, 8, ["value"])
279
- ]),
280
- _: 1
281
- }, 8, ["label"]),
282
- t(u, {
283
- label: e(l)("app.collapse")
284
- }, {
285
- default: a(() => [
286
- t(e(f), {
287
- value: e(o).collapsed,
288
- "onUpdate:value": n[7] || (n[7] = (s) => e(o).collapsed = s),
289
- size: "small"
290
- }, null, 8, ["value"])
291
- ]),
292
- _: 1
293
- }, 8, ["label"])
162
+ }),
163
+ s(e(r), { name: "drawer" }, {
164
+ default: t(() => [
165
+ u(i(e(o)("settings.formStyleDrawer")), 1)
294
166
  ]),
295
167
  _: 1
296
- }, 8, ["tab"]),
297
- t(e(b), {
298
- name: "general",
299
- tab: e(l)("settings.tabGeneral")
300
- }, {
301
- default: a(() => [
302
- t(e(d), { "title-placement": "left" }, {
303
- default: a(() => [
304
- i(r(e(l)("settings.watermark")), 1)
305
- ]),
306
- _: 1
307
- }),
308
- t(u, {
309
- label: e(l)("settings.watermark")
310
- }, {
311
- default: a(() => [
312
- t(e(f), {
313
- value: e(o).watermark,
314
- "onUpdate:value": n[8] || (n[8] = (s) => e(o).watermark = s),
315
- size: "small"
316
- }, null, 8, ["value"])
317
- ]),
318
- _: 1
319
- }, 8, ["label"]),
320
- e(o).watermark ? (m(), v(u, {
321
- key: 0,
322
- label: e(l)("settings.watermarkText")
323
- }, {
324
- default: a(() => [
325
- t(e(J), {
326
- value: e(o).watermarkText,
327
- "onUpdate:value": n[9] || (n[9] = (s) => e(o).watermarkText = s),
328
- size: "small",
329
- placeholder: e(l)("settings.watermarkPlaceholder"),
330
- style: { width: "140px" }
331
- }, null, 8, ["value", "placeholder"])
332
- ]),
333
- _: 1
334
- }, 8, ["label"])) : g("", !0),
335
- t(e(d), { "title-placement": "left" }, {
336
- default: a(() => [
337
- i(r(e(l)("settings.formStyle")), 1)
338
- ]),
339
- _: 1
340
- }),
341
- t(e(w), {
342
- value: e(o).formStyle,
343
- "onUpdate:value": n[10] || (n[10] = (s) => e(o).formStyle = s),
168
+ })
169
+ ]),
170
+ _: 1
171
+ }, 8, ["value"]),
172
+ l("div", Q, i(e(o)("settings.interface")), 1),
173
+ s(e(P), {
174
+ class: "set-group",
175
+ hoverable: "",
176
+ bordered: !1,
177
+ "show-divider": !1
178
+ }, {
179
+ default: t(() => [
180
+ s(e(c), null, {
181
+ prefix: t(() => [
182
+ l("div", R, [
183
+ s(e(p), {
184
+ icon: "ph:caret-double-right",
185
+ width: 15
186
+ })
187
+ ])
188
+ ]),
189
+ suffix: t(() => [
190
+ s(e(f), {
191
+ value: e(n).showBreadcrumb,
192
+ "onUpdate:value": a[4] || (a[4] = (d) => e(n).showBreadcrumb = d),
193
+ size: "small"
194
+ }, null, 8, ["value"])
195
+ ]),
196
+ default: t(() => [
197
+ l("div", W, [
198
+ l("b", null, i(e(o)("settings.showBreadcrumb")), 1),
199
+ l("span", null, i(e(o)("settings.descBreadcrumb")), 1)
200
+ ])
201
+ ]),
202
+ _: 1
203
+ }),
204
+ s(e(c), null, {
205
+ prefix: t(() => [
206
+ l("div", X, [
207
+ s(e(p), {
208
+ icon: "ph:browsers",
209
+ width: 15
210
+ })
211
+ ])
212
+ ]),
213
+ suffix: t(() => [
214
+ s(e(f), {
215
+ value: e(n).showTabs,
216
+ "onUpdate:value": a[5] || (a[5] = (d) => e(n).showTabs = d),
217
+ size: "small"
218
+ }, null, 8, ["value"])
219
+ ]),
220
+ default: t(() => [
221
+ l("div", Z, [
222
+ l("b", null, i(e(o)("settings.showTabs")), 1),
223
+ l("span", null, i(e(o)("settings.descTabs")), 1)
224
+ ])
225
+ ]),
226
+ _: 1
227
+ }),
228
+ s(e(c), null, {
229
+ prefix: t(() => [
230
+ l("div", ee, [
231
+ s(e(p), {
232
+ icon: "ph:push-pin",
233
+ width: 15
234
+ })
235
+ ])
236
+ ]),
237
+ suffix: t(() => [
238
+ s(e(f), {
239
+ value: e(n).fixedHeader,
240
+ "onUpdate:value": a[6] || (a[6] = (d) => e(n).fixedHeader = d),
241
+ size: "small"
242
+ }, null, 8, ["value"])
243
+ ]),
244
+ default: t(() => [
245
+ l("div", te, [
246
+ l("b", null, i(e(o)("settings.fixedHeader")), 1),
247
+ l("span", null, i(e(o)("settings.descFixedHeader")), 1)
248
+ ])
249
+ ]),
250
+ _: 1
251
+ }),
252
+ s(e(c), null, {
253
+ prefix: t(() => [
254
+ l("div", se, [
255
+ s(e(p), {
256
+ icon: "ph:sidebar-simple",
257
+ width: 15
258
+ })
259
+ ])
260
+ ]),
261
+ suffix: t(() => [
262
+ s(e(f), {
263
+ value: e(n).collapsed,
264
+ "onUpdate:value": a[7] || (a[7] = (d) => e(n).collapsed = d),
265
+ size: "small"
266
+ }, null, 8, ["value"])
267
+ ]),
268
+ default: t(() => [
269
+ l("div", oe, [
270
+ l("b", null, i(e(o)("app.collapse")), 1),
271
+ l("span", null, i(e(o)("settings.descCollapse")), 1)
272
+ ])
273
+ ]),
274
+ _: 1
275
+ }),
276
+ s(e(c), null, {
277
+ prefix: t(() => [
278
+ l("div", le, [
279
+ s(e(p), {
280
+ icon: "ph:sparkle",
281
+ width: 15
282
+ })
283
+ ])
284
+ ]),
285
+ suffix: t(() => [
286
+ s(e(b), {
287
+ value: e(n).pageTransition,
288
+ "onUpdate:value": a[8] || (a[8] = (d) => e(n).pageTransition = d),
289
+ options: B.value,
344
290
  size: "small",
345
- class: "seg"
346
- }, {
347
- default: a(() => [
348
- t(e(p), { value: "modal" }, {
349
- default: a(() => [
350
- i(r(e(l)("settings.formStyleModal")), 1)
351
- ]),
352
- _: 1
353
- }),
354
- t(e(p), { value: "drawer" }, {
355
- default: a(() => [
356
- i(r(e(l)("settings.formStyleDrawer")), 1)
357
- ]),
358
- _: 1
359
- })
360
- ]),
361
- _: 1
362
- }, 8, ["value"])
291
+ class: "sel"
292
+ }, null, 8, ["value", "options"])
293
+ ]),
294
+ default: t(() => [
295
+ l("div", ie, [
296
+ l("b", null, i(e(o)("settings.pageTransition")), 1),
297
+ l("span", null, i(e(o)("settings.descPageTransition")), 1)
298
+ ])
363
299
  ]),
364
300
  _: 1
365
- }, 8, ["tab"])
301
+ })
366
302
  ]),
367
303
  _: 1
368
304
  })
@@ -371,7 +307,7 @@ const ee = { class: "accents" }, te = ["aria-label", "aria-pressed", "onClick"],
371
307
  }, 8, ["title"])
372
308
  ]),
373
309
  _: 1
374
- }, 8, ["show", "width"]));
310
+ }, 8, ["show"]));
375
311
  }
376
312
  });
377
313
  export {