smart-admin-web 10.15.0 → 10.20.1

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 (432) hide show
  1. package/README.md +1 -1
  2. package/dist/api/index.d.ts +4 -2
  3. package/dist/api/index.js +1 -1
  4. package/dist/api/index.js.map +1 -1
  5. package/dist/api/schema.d.ts +39 -5
  6. package/dist/assets/icons/ph-subset.json.js +5 -5
  7. package/dist/components/AppIcon.vue.js +9 -9
  8. package/dist/components/AppIcon.vue.js.map +1 -1
  9. package/dist/components/AppWatermark.vue.d.ts +14 -0
  10. package/dist/components/AppWatermark.vue.js +38 -0
  11. package/dist/components/AppWatermark.vue.js.map +1 -0
  12. package/dist/components/AppWatermark2.vue.js +5 -0
  13. package/dist/components/AppWatermark2.vue.js.map +1 -0
  14. package/dist/components/Chart/PieChart.vue.d.ts +1 -1
  15. package/dist/components/Chart/echarts.js +15 -20
  16. package/dist/components/Chart/echarts.js.map +1 -1
  17. package/dist/components/CronEditor/index.vue.js +1 -1
  18. package/dist/components/CronEditor/index2.vue.js +2 -1
  19. package/dist/components/CronEditor/index2.vue.js.map +1 -1
  20. package/dist/components/DetailPage/index.vue.js +2 -2
  21. package/dist/components/DetailPage/index2.vue.js.map +1 -1
  22. package/dist/components/DictTag/index.vue.js.map +1 -1
  23. package/dist/components/ErrorBoundary/index.vue.js +2 -2
  24. package/dist/components/ErrorBoundary/index2.vue.js +1 -1
  25. package/dist/components/ErrorBoundary/index2.vue.js.map +1 -1
  26. package/dist/components/FormContainer/index.vue.js +91 -56
  27. package/dist/components/FormContainer/index.vue.js.map +1 -1
  28. package/dist/components/ImportWizard/index.vue.js +1 -1
  29. package/dist/components/ImportWizard/index2.vue.js +44 -41
  30. package/dist/components/ImportWizard/index2.vue.js.map +1 -1
  31. package/dist/components/MenuSearch.vue.js +2 -2
  32. package/dist/components/MenuSearch2.vue.js +19 -18
  33. package/dist/components/MenuSearch2.vue.js.map +1 -1
  34. package/dist/components/PasswordStrength/index.vue.js +2 -2
  35. package/dist/components/PasswordStrength/index2.vue.js +20 -18
  36. package/dist/components/PasswordStrength/index2.vue.js.map +1 -1
  37. package/dist/components/TableTotal/index.vue.d.ts +6 -0
  38. package/dist/components/{SelectTable → TableTotal}/index.vue.js +1 -1
  39. package/dist/components/TableTotal/index2.vue.js +16 -0
  40. package/dist/components/TableTotal/index2.vue.js.map +1 -0
  41. package/dist/components/TableZoomButton/index.vue.js.map +1 -1
  42. package/dist/components/UserPicker/index.vue.js +2 -2
  43. package/dist/components/UserPicker/index2.vue.js +176 -117
  44. package/dist/components/UserPicker/index2.vue.js.map +1 -1
  45. package/dist/composables/useBatchDelete.js.map +1 -1
  46. package/dist/composables/useLayoutMenu.js +17 -16
  47. package/dist/composables/useLayoutMenu.js.map +1 -1
  48. package/dist/composables/useModule.js +39 -29
  49. package/dist/composables/useModule.js.map +1 -1
  50. package/dist/composables/useShellBreakpoint.d.ts +19 -0
  51. package/dist/composables/useShellBreakpoint.js +37 -0
  52. package/dist/composables/useShellBreakpoint.js.map +1 -0
  53. package/dist/composables/useSite.d.ts +15 -0
  54. package/dist/composables/useSite.js +16 -14
  55. package/dist/composables/useSite.js.map +1 -1
  56. package/dist/composables/useTabTitle.js.map +1 -1
  57. package/dist/composables/useTableTitle.d.ts +6 -0
  58. package/dist/composables/useTableTitle.js +11 -0
  59. package/dist/composables/useTableTitle.js.map +1 -0
  60. package/dist/composables/useTableZoom.d.ts +5 -0
  61. package/dist/composables/useTableZoom.js.map +1 -1
  62. package/dist/composables/useTheme.d.ts +2 -2
  63. package/dist/composables/useTheme.js +23 -20
  64. package/dist/composables/useTheme.js.map +1 -1
  65. package/dist/createSmartAdmin.d.ts +12 -2
  66. package/dist/createSmartAdmin.js +72 -60
  67. package/dist/createSmartAdmin.js.map +1 -1
  68. package/dist/index.d.ts +5 -2
  69. package/dist/index.js +219 -205
  70. package/dist/index.js.map +1 -1
  71. package/dist/layouts/AccentPicker.vue.js +8 -0
  72. package/dist/layouts/AccentPicker.vue.js.map +1 -0
  73. package/dist/layouts/AccentPicker2.vue.js +131 -0
  74. package/dist/layouts/AccentPicker2.vue.js.map +1 -0
  75. package/dist/layouts/AppHeader.vue.d.ts +8 -1
  76. package/dist/layouts/AppHeader.vue.js +2 -2
  77. package/dist/layouts/AppHeader2.vue.js +317 -235
  78. package/dist/layouts/AppHeader2.vue.js.map +1 -1
  79. package/dist/layouts/NoticeBell.vue.js +2 -2
  80. package/dist/layouts/NoticeBell2.vue.js +19 -18
  81. package/dist/layouts/NoticeBell2.vue.js.map +1 -1
  82. package/dist/layouts/PersonalLayout.vue.js +2 -2
  83. package/dist/layouts/PersonalLayout2.vue.js +69 -47
  84. package/dist/layouts/PersonalLayout2.vue.js.map +1 -1
  85. package/dist/layouts/SettingsDrawer.vue.js +3 -3
  86. package/dist/layouts/SettingsDrawer2.vue.js +261 -325
  87. package/dist/layouts/SettingsDrawer2.vue.js.map +1 -1
  88. package/dist/layouts/TabsBar.vue.js +2 -2
  89. package/dist/layouts/TabsBar2.vue.js +97 -69
  90. package/dist/layouts/TabsBar2.vue.js.map +1 -1
  91. package/dist/layouts/components/SideNav.vue.d.ts +3 -0
  92. package/dist/layouts/components/SideNav.vue.js +1 -1
  93. package/dist/layouts/components/SideNav2.vue.js +54 -26
  94. package/dist/layouts/components/SideNav2.vue.js.map +1 -1
  95. package/dist/layouts/default.vue.js +1 -1
  96. package/dist/layouts/default2.vue.js +170 -140
  97. package/dist/layouts/default2.vue.js.map +1 -1
  98. package/dist/lib/loginHero.d.ts +2 -2
  99. package/dist/lib/loginHero.js.map +1 -1
  100. package/dist/lib/runtime.js +1 -1
  101. package/dist/lib/watermark.d.ts +110 -0
  102. package/dist/lib/watermark.js +151 -0
  103. package/dist/lib/watermark.js.map +1 -0
  104. package/dist/locales/en-US.d.ts +221 -15
  105. package/dist/locales/en-US.js +230 -21
  106. package/dist/locales/en-US.js.map +1 -1
  107. package/dist/locales/kernelMenuTitles.d.ts +1 -0
  108. package/dist/locales/kernelMenuTitles.js +128 -0
  109. package/dist/locales/kernelMenuTitles.js.map +1 -0
  110. package/dist/locales/menuTitle.d.ts +3 -0
  111. package/dist/locales/menuTitle.js +14 -12
  112. package/dist/locales/menuTitle.js.map +1 -1
  113. package/dist/locales/zh-CN.d.ts +221 -15
  114. package/dist/locales/zh-CN.js +238 -28
  115. package/dist/locales/zh-CN.js.map +1 -1
  116. package/dist/router/index.js +41 -32
  117. package/dist/router/index.js.map +1 -1
  118. package/dist/router/namedPage.d.ts +4 -0
  119. package/dist/router/namedPage.js +7 -7
  120. package/dist/router/namedPage.js.map +1 -1
  121. package/dist/router/viewRegistry.js +8 -8
  122. package/dist/router/viewRegistry.js.map +1 -1
  123. package/dist/stores/app.d.ts +0 -12
  124. package/dist/stores/app.js +11 -12
  125. package/dist/stores/app.js.map +1 -1
  126. package/dist/stores/tabs.js.map +1 -1
  127. package/dist/stores/user.d.ts +10 -0
  128. package/dist/stores/user.js.map +1 -1
  129. package/dist/style.css +1 -1
  130. package/dist/theme/accentTokens.d.ts +27 -0
  131. package/dist/theme/accentTokens.js +54 -0
  132. package/dist/theme/accentTokens.js.map +1 -0
  133. package/dist/theme/accents.d.ts +21 -1
  134. package/dist/theme/accents.js +11 -2
  135. package/dist/theme/accents.js.map +1 -1
  136. package/dist/theme/mix.d.ts +58 -7
  137. package/dist/theme/mix.js +115 -30
  138. package/dist/theme/mix.js.map +1 -1
  139. package/dist/theme/naive-theme.d.ts +5 -2
  140. package/dist/theme/naive-theme.js +407 -75
  141. package/dist/theme/naive-theme.js.map +1 -1
  142. package/dist/utils/jwt.d.ts +8 -0
  143. package/dist/utils/jwt.js +14 -0
  144. package/dist/utils/jwt.js.map +1 -0
  145. package/dist/utils/menuIcon.d.ts +2 -0
  146. package/dist/utils/menuIcon.js +8 -0
  147. package/dist/utils/menuIcon.js.map +1 -0
  148. package/dist/utils/oauthBrand.js.map +1 -1
  149. package/dist/utils/tableFilter.d.ts +88 -0
  150. package/dist/utils/tableFilter.js +116 -0
  151. package/dist/utils/tableFilter.js.map +1 -0
  152. package/dist/utils/tableToolbar.d.ts +18 -0
  153. package/dist/utils/tableToolbar.js +11 -0
  154. package/dist/utils/tableToolbar.js.map +1 -0
  155. package/dist/utils/treeFilter.d.ts +20 -0
  156. package/dist/utils/treeFilter.js +24 -0
  157. package/dist/utils/treeFilter.js.map +1 -0
  158. package/dist/views/dashboard/ShortcutPicker.vue.js +1 -1
  159. package/dist/views/dashboard/ShortcutPicker2.vue.js +73 -48
  160. package/dist/views/dashboard/ShortcutPicker2.vue.js.map +1 -1
  161. package/dist/views/dashboard/biz.vue.js +1 -1
  162. package/dist/views/dashboard/biz2.vue.js +310 -257
  163. package/dist/views/dashboard/biz2.vue.js.map +1 -1
  164. package/dist/views/dashboard/workbench.vue.js +2 -2
  165. package/dist/views/dashboard/workbench2.vue.js +141 -155
  166. package/dist/views/dashboard/workbench2.vue.js.map +1 -1
  167. package/dist/views/embed/iframe.vue.js +2 -2
  168. package/dist/views/embed/iframe2.vue.js +22 -15
  169. package/dist/views/embed/iframe2.vue.js.map +1 -1
  170. package/dist/views/error/404.vue.js +2 -2
  171. package/dist/views/error/4042.vue.js +33 -24
  172. package/dist/views/error/4042.vue.js.map +1 -1
  173. package/dist/views/error/BootError.vue.js +1 -1
  174. package/dist/views/error/BootError2.vue.js +59 -48
  175. package/dist/views/error/BootError2.vue.js.map +1 -1
  176. package/dist/views/error/MissingRoute.vue.js +2 -2
  177. package/dist/views/error/MissingRoute2.vue.js +34 -15
  178. package/dist/views/error/MissingRoute2.vue.js.map +1 -1
  179. package/dist/views/login/LoginForm.vue.d.ts +7 -1
  180. package/dist/views/login/LoginForm.vue.js +2 -2
  181. package/dist/views/login/LoginForm2.vue.js +580 -488
  182. package/dist/views/login/LoginForm2.vue.js.map +1 -1
  183. package/dist/views/login/components/LoginDesk.vue.d.ts +36 -0
  184. package/dist/views/login/components/LoginDesk.vue.js +9 -0
  185. package/dist/views/login/components/LoginDesk.vue.js.map +1 -0
  186. package/dist/views/login/components/LoginDesk2.vue.js +100 -0
  187. package/dist/views/login/components/LoginDesk2.vue.js.map +1 -0
  188. package/dist/views/login/components/LoginHeroPanel.vue.js +3 -3
  189. package/dist/views/login/components/LoginHeroPanel2.vue.js +34 -39
  190. package/dist/views/login/components/LoginHeroPanel2.vue.js.map +1 -1
  191. package/dist/views/login/index.vue.js +1 -1
  192. package/dist/views/login/index2.vue.js +141 -71
  193. package/dist/views/login/index2.vue.js.map +1 -1
  194. package/dist/views/login/layout.d.ts +11 -0
  195. package/dist/views/login/layout.js +27 -0
  196. package/dist/views/login/layout.js.map +1 -0
  197. package/dist/views/mfa/index.vue.js +2 -2
  198. package/dist/views/mfa/index2.vue.js +367 -321
  199. package/dist/views/mfa/index2.vue.js.map +1 -1
  200. package/dist/views/module/index.vue.js +2 -2
  201. package/dist/views/module/index2.vue.js +132 -99
  202. package/dist/views/module/index2.vue.js.map +1 -1
  203. package/dist/views/oauth/callback.vue.js +2 -2
  204. package/dist/views/oauth/callback2.vue.js +65 -51
  205. package/dist/views/oauth/callback2.vue.js.map +1 -1
  206. package/dist/views/personal/bindings.vue.js +2 -2
  207. package/dist/views/personal/bindings2.vue.js +98 -94
  208. package/dist/views/personal/bindings2.vue.js.map +1 -1
  209. package/dist/views/personal/notice2.vue.js +103 -76
  210. package/dist/views/personal/notice2.vue.js.map +1 -1
  211. package/dist/views/personal/password2.vue.js +47 -40
  212. package/dist/views/personal/password2.vue.js.map +1 -1
  213. package/dist/views/personal/profile.vue.js +3 -3
  214. package/dist/views/personal/profile2.vue.js +24 -18
  215. package/dist/views/personal/profile2.vue.js.map +1 -1
  216. package/dist/views/personal/security.vue.js +2 -2
  217. package/dist/views/personal/security2.vue.js +65 -53
  218. package/dist/views/personal/security2.vue.js.map +1 -1
  219. package/dist/views/personal/sessions.vue.js +2 -2
  220. package/dist/views/personal/sessions2.vue.js +67 -62
  221. package/dist/views/personal/sessions2.vue.js.map +1 -1
  222. package/dist/views/system/ai-model/components/ProviderCard.vue.js +2 -2
  223. package/dist/views/system/ai-model/components/ProviderCard2.vue.js +142 -130
  224. package/dist/views/system/ai-model/components/ProviderCard2.vue.js.map +1 -1
  225. package/dist/views/system/ai-model/components/ProviderForm.vue.js +2 -2
  226. package/dist/views/system/ai-model/components/ProviderForm2.vue.js +71 -70
  227. package/dist/views/system/ai-model/components/ProviderForm2.vue.js.map +1 -1
  228. package/dist/views/system/ai-model/index.vue.js +2 -2
  229. package/dist/views/system/ai-model/index2.vue.js +99 -99
  230. package/dist/views/system/ai-model/index2.vue.js.map +1 -1
  231. package/dist/views/system/ai-model/presets.d.ts +1 -1
  232. package/dist/views/system/ai-model/presets.js +18 -18
  233. package/dist/views/system/ai-model/presets.js.map +1 -1
  234. package/dist/views/system/ai-usage/index.vue.js +2 -2
  235. package/dist/views/system/ai-usage/index2.vue.js +356 -258
  236. package/dist/views/system/ai-usage/index2.vue.js.map +1 -1
  237. package/dist/views/system/api-docs/index.vue.js +5 -2
  238. package/dist/views/system/api-docs/index.vue.js.map +1 -1
  239. package/dist/views/system/api-docs/index2.vue.js +92 -42
  240. package/dist/views/system/api-docs/index2.vue.js.map +1 -1
  241. package/dist/views/system/cache/index.vue.js +2 -2
  242. package/dist/views/system/cache/index2.vue.js +74 -80
  243. package/dist/views/system/cache/index2.vue.js.map +1 -1
  244. package/dist/views/system/config/components/AdminMock.vue.js +2 -2
  245. package/dist/views/system/config/components/AdminMock2.vue.js +60 -43
  246. package/dist/views/system/config/components/AdminMock2.vue.js.map +1 -1
  247. package/dist/views/system/config/components/AdvancedSection.vue.js +5 -2
  248. package/dist/views/system/config/components/AdvancedSection.vue.js.map +1 -1
  249. package/dist/views/system/config/components/AdvancedSection2.vue.js +98 -70
  250. package/dist/views/system/config/components/AdvancedSection2.vue.js.map +1 -1
  251. package/dist/views/system/config/components/BrandSection.vue.js +2 -2
  252. package/dist/views/system/config/components/BrandSection2.vue.js +121 -119
  253. package/dist/views/system/config/components/BrandSection2.vue.js.map +1 -1
  254. package/dist/views/system/config/components/CfgGroup.vue.js +3 -3
  255. package/dist/views/system/config/components/CfgGroup2.vue.js.map +1 -1
  256. package/dist/views/system/config/components/CfgRow.vue.js +1 -1
  257. package/dist/views/system/config/components/CfgRow2.vue.js +24 -23
  258. package/dist/views/system/config/components/CfgRow2.vue.js.map +1 -1
  259. package/dist/views/system/config/components/CfgSegment.vue.js +1 -1
  260. package/dist/views/system/config/components/CfgSegment2.vue.js +16 -15
  261. package/dist/views/system/config/components/CfgSegment2.vue.js.map +1 -1
  262. package/dist/views/system/config/components/ConfigFormModal.vue.js +2 -2
  263. package/dist/views/system/config/components/ConfigFormModal2.vue.js +35 -33
  264. package/dist/views/system/config/components/ConfigFormModal2.vue.js.map +1 -1
  265. package/dist/views/system/config/components/JobSection.vue.js +2 -2
  266. package/dist/views/system/config/components/JobSection2.vue.js +46 -44
  267. package/dist/views/system/config/components/JobSection2.vue.js.map +1 -1
  268. package/dist/views/system/config/components/LoginMock.vue.js +3 -3
  269. package/dist/views/system/config/components/LoginMock2.vue.js +83 -72
  270. package/dist/views/system/config/components/LoginMock2.vue.js.map +1 -1
  271. package/dist/views/system/config/components/LogoCropper.vue.js +1 -1
  272. package/dist/views/system/config/components/LogoCropper2.vue.js.map +1 -1
  273. package/dist/views/system/config/components/LogoEditor.vue.js +2 -2
  274. package/dist/views/system/config/components/LogoEditor2.vue.js +11 -13
  275. package/dist/views/system/config/components/LogoEditor2.vue.js.map +1 -1
  276. package/dist/views/system/config/components/ProviderSheet.vue.js +3 -3
  277. package/dist/views/system/config/components/ProviderSheet2.vue.js.map +1 -1
  278. package/dist/views/system/config/components/SectionLayout.vue.d.ts +4 -2
  279. package/dist/views/system/config/components/SectionLayout.vue.js +2 -2
  280. package/dist/views/system/config/components/SectionLayout2.vue.js +51 -27
  281. package/dist/views/system/config/components/SectionLayout2.vue.js.map +1 -1
  282. package/dist/views/system/config/components/SecuritySection.vue.js +2 -2
  283. package/dist/views/system/config/components/SecuritySection2.vue.js +207 -206
  284. package/dist/views/system/config/components/SecuritySection2.vue.js.map +1 -1
  285. package/dist/views/system/config/components/SensitiveSection.vue.js +2 -2
  286. package/dist/views/system/config/components/SensitiveSection2.vue.js +107 -102
  287. package/dist/views/system/config/components/SensitiveSection2.vue.js.map +1 -1
  288. package/dist/views/system/config/components/UploadSection.vue.js +2 -2
  289. package/dist/views/system/config/components/UploadSection2.vue.js +86 -77
  290. package/dist/views/system/config/components/UploadSection2.vue.js.map +1 -1
  291. package/dist/views/system/config/components/WatermarkSection.vue.js +8 -0
  292. package/dist/views/system/config/components/WatermarkSection.vue.js.map +1 -0
  293. package/dist/views/system/config/components/WatermarkSection2.vue.js +284 -0
  294. package/dist/views/system/config/components/WatermarkSection2.vue.js.map +1 -0
  295. package/dist/views/system/config/draft.d.ts +2 -2
  296. package/dist/views/system/config/draft.js.map +1 -1
  297. package/dist/views/system/config/groups.d.ts +4 -1
  298. package/dist/views/system/config/groups.js +54 -49
  299. package/dist/views/system/config/groups.js.map +1 -1
  300. package/dist/views/system/config/index.vue.js +3 -2
  301. package/dist/views/system/config/index.vue.js.map +1 -1
  302. package/dist/views/system/config/index2.vue.js +173 -148
  303. package/dist/views/system/config/index2.vue.js.map +1 -1
  304. package/dist/views/system/config/layoutMode.d.ts +23 -0
  305. package/dist/views/system/config/layoutMode.js +28 -0
  306. package/dist/views/system/config/layoutMode.js.map +1 -0
  307. package/dist/views/system/dict/index.vue.js +2 -2
  308. package/dist/views/system/dict/index2.vue.js +471 -366
  309. package/dist/views/system/dict/index2.vue.js.map +1 -1
  310. package/dist/views/system/file/index2.vue.js +91 -76
  311. package/dist/views/system/file/index2.vue.js.map +1 -1
  312. package/dist/views/system/job/index.vue.js +3 -3
  313. package/dist/views/system/job/index2.vue.js +897 -828
  314. package/dist/views/system/job/index2.vue.js.map +1 -1
  315. package/dist/views/system/job-log/components/AttemptTable.vue.d.ts +8 -0
  316. package/dist/views/system/job-log/components/AttemptTable.vue.js +5 -0
  317. package/dist/views/system/job-log/components/AttemptTable.vue.js.map +1 -0
  318. package/dist/views/system/job-log/components/AttemptTable2.vue.js +54 -0
  319. package/dist/views/system/job-log/components/AttemptTable2.vue.js.map +1 -0
  320. package/dist/views/system/job-log/index.vue.js +2 -2
  321. package/dist/views/system/job-log/index2.vue.js +193 -207
  322. package/dist/views/system/job-log/index2.vue.js.map +1 -1
  323. package/dist/views/system/job-log/runStatus.d.ts +13 -0
  324. package/dist/views/system/job-log/runStatus.js +26 -0
  325. package/dist/views/system/job-log/runStatus.js.map +1 -0
  326. package/dist/views/system/job-monitor/index.vue.js +2 -2
  327. package/dist/views/system/job-monitor/index2.vue.js +172 -180
  328. package/dist/views/system/job-monitor/index2.vue.js.map +1 -1
  329. package/dist/views/system/log/exception/index.vue.js +2 -2
  330. package/dist/views/system/log/exception/index2.vue.js +135 -96
  331. package/dist/views/system/log/exception/index2.vue.js.map +1 -1
  332. package/dist/views/system/log/login/index2.vue.js +62 -41
  333. package/dist/views/system/log/login/index2.vue.js.map +1 -1
  334. package/dist/views/system/log/op/index.vue.js +2 -2
  335. package/dist/views/system/log/op/index2.vue.js +200 -162
  336. package/dist/views/system/log/op/index2.vue.js.map +1 -1
  337. package/dist/views/system/menu/components/ButtonManager.vue.js +2 -2
  338. package/dist/views/system/menu/components/ButtonManager2.vue.js +206 -190
  339. package/dist/views/system/menu/components/ButtonManager2.vue.js.map +1 -1
  340. package/dist/views/system/menu/components/MenuFormModal.vue.js +2 -2
  341. package/dist/views/system/menu/components/MenuFormModal2.vue.js +127 -118
  342. package/dist/views/system/menu/components/MenuFormModal2.vue.js.map +1 -1
  343. package/dist/views/system/menu/index.vue.js +1 -1
  344. package/dist/views/system/menu/index2.vue.js +216 -183
  345. package/dist/views/system/menu/index2.vue.js.map +1 -1
  346. package/dist/views/system/module/index.vue.js +1 -1
  347. package/dist/views/system/module/index2.vue.js +177 -144
  348. package/dist/views/system/module/index2.vue.js.map +1 -1
  349. package/dist/views/system/monitor/index.vue.js +2 -2
  350. package/dist/views/system/monitor/index2.vue.js +134 -149
  351. package/dist/views/system/monitor/index2.vue.js.map +1 -1
  352. package/dist/views/system/notice/index.vue.js +1 -1
  353. package/dist/views/system/notice/index2.vue.js +209 -181
  354. package/dist/views/system/notice/index2.vue.js.map +1 -1
  355. package/dist/views/system/org/index.vue.js +1 -1
  356. package/dist/views/system/org/index2.vue.js +278 -248
  357. package/dist/views/system/org/index2.vue.js.map +1 -1
  358. package/dist/views/system/position/index.vue.js +5 -2
  359. package/dist/views/system/position/index.vue.js.map +1 -1
  360. package/dist/views/system/position/index2.vue.js +128 -92
  361. package/dist/views/system/position/index2.vue.js.map +1 -1
  362. package/dist/views/system/recycle/index.vue.js +2 -2
  363. package/dist/views/system/recycle/index2.vue.js +90 -67
  364. package/dist/views/system/recycle/index2.vue.js.map +1 -1
  365. package/dist/views/system/role/components/GrantMenuSheet.vue.d.ts +20 -0
  366. package/dist/views/system/role/components/GrantMenuSheet.vue.js +8 -0
  367. package/dist/views/system/role/components/GrantMenuSheet.vue.js.map +1 -0
  368. package/dist/views/system/role/components/GrantMenuSheet2.vue.js +117 -0
  369. package/dist/views/system/role/components/GrantMenuSheet2.vue.js.map +1 -0
  370. package/dist/views/system/role/components/GrantMenuTable.vue.d.ts +6 -4
  371. package/dist/views/system/role/components/GrantMenuTable.vue.js +2 -2
  372. package/dist/views/system/role/components/GrantMenuTable2.vue.js +279 -177
  373. package/dist/views/system/role/components/GrantMenuTable2.vue.js.map +1 -1
  374. package/dist/views/system/role/components/MatchText.vue.d.ts +7 -0
  375. package/dist/views/system/role/components/MatchText.vue.js +8 -0
  376. package/dist/views/system/role/components/MatchText.vue.js.map +1 -0
  377. package/dist/views/system/role/components/MatchText2.vue.js +29 -0
  378. package/dist/views/system/role/components/MatchText2.vue.js.map +1 -0
  379. package/dist/views/system/role/components/grantMenuGroups.d.ts +36 -0
  380. package/dist/views/system/role/components/grantMenuGroups.js +110 -48
  381. package/dist/views/system/role/components/grantMenuGroups.js.map +1 -1
  382. package/dist/views/system/role/index.vue.js +5 -2
  383. package/dist/views/system/role/index.vue.js.map +1 -1
  384. package/dist/views/system/role/index2.vue.js +181 -165
  385. package/dist/views/system/role/index2.vue.js.map +1 -1
  386. package/dist/views/system/session/index2.vue.js +75 -49
  387. package/dist/views/system/session/index2.vue.js.map +1 -1
  388. package/dist/views/system/user/components/ResetPasswordModal.vue.js +2 -2
  389. package/dist/views/system/user/components/ResetPasswordModal2.vue.js +2 -0
  390. package/dist/views/system/user/components/ResetPasswordModal2.vue.js.map +1 -1
  391. package/dist/views/system/user/components/UserFormModal.vue.js +2 -2
  392. package/dist/views/system/user/components/UserFormModal2.vue.js +77 -76
  393. package/dist/views/system/user/components/UserFormModal2.vue.js.map +1 -1
  394. package/dist/views/system/user/index.vue.js +2 -2
  395. package/dist/views/system/user/index2.vue.js +362 -275
  396. package/dist/views/system/user/index2.vue.js.map +1 -1
  397. package/package.json +3 -5
  398. package/dist/components/SelectTable/index.vue.d.ts +0 -76
  399. package/dist/components/SelectTable/index2.vue.js +0 -256
  400. package/dist/components/SelectTable/index2.vue.js.map +0 -1
  401. package/dist/composables/useTableRowSort.d.ts +0 -20
  402. package/dist/composables/useTableRowSort.js +0 -59
  403. package/dist/composables/useTableRowSort.js.map +0 -1
  404. package/dist/layouts/LayoutModeCards.vue.js +0 -8
  405. package/dist/layouts/LayoutModeCards.vue.js.map +0 -1
  406. package/dist/layouts/LayoutModeCards2.vue.js +0 -67
  407. package/dist/layouts/LayoutModeCards2.vue.js.map +0 -1
  408. package/dist/layouts/SettingRow.vue.d.ts +0 -16
  409. package/dist/layouts/SettingRow.vue.js +0 -8
  410. package/dist/layouts/SettingRow.vue.js.map +0 -1
  411. package/dist/layouts/SettingRow2.vue.js +0 -23
  412. package/dist/layouts/SettingRow2.vue.js.map +0 -1
  413. package/dist/views/login/skins/AuroraGlass.vue.js +0 -8
  414. package/dist/views/login/skins/AuroraGlass.vue.js.map +0 -1
  415. package/dist/views/login/skins/AuroraGlass2.vue.js +0 -80
  416. package/dist/views/login/skins/AuroraGlass2.vue.js.map +0 -1
  417. package/dist/views/login/skins/SplitPanel.vue.d.ts +0 -3
  418. package/dist/views/login/skins/SplitPanel.vue.js +0 -8
  419. package/dist/views/login/skins/SplitPanel.vue.js.map +0 -1
  420. package/dist/views/login/skins/SplitPanel2.vue.js +0 -65
  421. package/dist/views/login/skins/SplitPanel2.vue.js.map +0 -1
  422. package/dist/views/login/skins/Spotlight.vue.d.ts +0 -3
  423. package/dist/views/login/skins/Spotlight.vue.js +0 -8
  424. package/dist/views/login/skins/Spotlight.vue.js.map +0 -1
  425. package/dist/views/login/skins/Spotlight2.vue.js +0 -36
  426. package/dist/views/login/skins/Spotlight2.vue.js.map +0 -1
  427. package/dist/views/login/skins.d.ts +0 -8
  428. package/dist/views/login/skins.js +0 -13
  429. package/dist/views/login/skins.js.map +0 -1
  430. /package/dist/components/{SelectTable → TableTotal}/index.vue.js.map +0 -0
  431. /package/dist/layouts/{LayoutModeCards.vue.d.ts → AccentPicker.vue.d.ts} +0 -0
  432. /package/dist/views/{login/skins/AuroraGlass.vue.d.ts → system/config/components/WatermarkSection.vue.d.ts} +0 -0
@@ -1,172 +1,173 @@
1
- import { defineComponent as ne, computed as _, ref as oe, openBlock as r, createBlock as S, unref as l, withCtx as n, createElementVNode as o, createVNode as s, createElementBlock as m, Fragment as f, renderList as g, toDisplayString as c, isRef as k, createTextVNode as $, withDirectives as W, normalizeClass as E, createCommentVNode as ue, vModelText as re } from "vue";
2
- import { NInputNumber as w, NSwitch as h, NTooltip as Y } from "naive-ui";
3
- import { useI18n as ce } from "vue-i18n";
4
- import T from "../../../../components/AppIcon.vue.js";
5
- import { securityRules as pe, humanizeMinutes as de } from "../../../../lib/securityRules.js";
6
- import { CAPTCHA_TYPE_KEY as H, SECURITY_NUMBERS as j } from "../groups.js";
7
- import { useConfigDraft as me, useDraftFields as ye } from "../draft.js";
8
- import { vFlash as be } from "../flash.js";
9
- import ve from "./SectionLayout.vue.js";
10
- import z from "./CfgGroup.vue.js";
1
+ import { defineComponent as ue, computed as w, ref as re, openBlock as r, createBlock as S, unref as e, withCtx as n, createElementVNode as o, createVNode as s, createElementBlock as m, Fragment as f, renderList as g, toDisplayString as c, isRef as k, createTextVNode as $, normalizeClass as F, withDirectives as Y, createCommentVNode as ce, vModelText as pe } from "vue";
2
+ import { NInputNumber as C, NSwitch as h, NTooltip as H } from "naive-ui";
3
+ import { useI18n as de } from "vue-i18n";
4
+ import M from "../../../../components/AppIcon.vue.js";
5
+ import { securityRules as me, humanizeMinutes as ye } from "../../../../lib/securityRules.js";
6
+ import { CAPTCHA_TYPE_KEY as j, SECURITY_NUMBERS as G } from "../groups.js";
7
+ import { useConfigDraft as be, useDraftFields as ve } from "../draft.js";
8
+ import { useConfigLayout as fe } from "../layoutMode.js";
9
+ import { vFlash as ge } from "../flash.js";
10
+ import ke from "./SectionLayout.vue.js";
11
+ import q from "./CfgGroup.vue.js";
11
12
  import p from "./CfgRow.vue.js";
12
- import fe from "./CfgSegment.vue.js";
13
- const ge = { class: "cols" }, ke = { class: "col" }, he = { class: "unit" }, _e = ["aria-label"], we = ["aria-label"], Ce = { class: "unit" }, Le = { class: "col" }, Ue = { class: "unit" }, Se = { class: "chips" }, $e = ["aria-pressed", "aria-label", "title", "onClick"], ze = { class: "unit" }, Fe = { class: "unit" }, qe = {
13
+ import he from "./CfgSegment.vue.js";
14
+ const _e = { class: "cols" }, we = { class: "col" }, Ce = { class: "unit" }, Le = ["aria-label"], Ue = ["aria-label"], ze = { class: "unit" }, Se = { class: "col" }, $e = { class: "unit" }, Fe = { class: "chips" }, qe = ["aria-pressed", "aria-label", "title", "onClick"], xe = { class: "unit" }, Ne = { class: "unit" }, Ae = {
14
15
  class: "rules",
15
16
  "data-testid": "security-rules"
16
- }, xe = { class: "ic" }, Ne = { class: "txt" }, Ae = {
17
+ }, Ee = { class: "ic" }, Te = { class: "txt" }, Me = {
17
18
  key: 0,
18
19
  class: "sr-only"
19
- }, Ee = { class: "try" }, Ge = /* @__PURE__ */ ne({
20
+ }, De = { class: "try" }, Je = /* @__PURE__ */ ue({
20
21
  __name: "SecuritySection",
21
- setup(Te) {
22
- const { t } = ce(), { values: G } = me(), { num: K, bool: v, str: Z } = ye(), u = (a) => `sys.security.${a}`, y = (a, i) => ({
22
+ setup(Oe) {
23
+ const { t: l } = de(), { values: K } = be(), { num: Z, bool: v, str: Q } = ve(), { ctl: _, nar: J } = fe(), u = (a) => `sys.security.${a}`, y = (a, i) => ({
23
24
  key: u(a),
24
- label: t(`config.security.${a}`),
25
- unit: t(`config.security.unit.${i}`),
26
- min: j[u(a)],
27
- model: K(u(a), j[u(a)])
28
- }), M = y("loginLock.maxFailCount", "times"), Q = y("loginLock.lockMinutes", "minutes"), C = v(u("captcha.enabled")), D = Z(H), J = _(
25
+ label: l(`config.security.${a}`),
26
+ unit: l(`config.security.unit.${i}`),
27
+ min: G[u(a)],
28
+ model: Z(u(a), G[u(a)])
29
+ }), D = y("loginLock.maxFailCount", "times"), X = y("loginLock.lockMinutes", "minutes"), L = v(u("captcha.enabled")), O = Q(j), ee = w(
29
30
  () => ["char", "path", "math"].map((a) => ({
30
31
  value: a,
31
- label: t(`config.security.captcha.types.${a}`)
32
+ label: l(`config.security.captcha.types.${a}`)
32
33
  }))
33
- ), O = _({
34
- get: () => D.value || "char",
35
- set: (a) => D.value = a
36
- }), L = v(u("totp.enabled")), F = v(u("totp.requireForSuperAdmin")), q = v(u("mfa.enabled")), X = y("session.accessMinutes", "minutes"), ee = y("session.refreshMinutes", "minutes"), b = y("password.minLength", "chars"), R = ["Upper", "Lower", "Digit", "Special"], x = R.map((a) => ({
34
+ ), R = w({
35
+ get: () => O.value || "char",
36
+ set: (a) => O.value = a
37
+ }), U = v(u("totp.enabled")), x = v(u("totp.requireForSuperAdmin")), N = v(u("mfa.enabled")), te = y("session.accessMinutes", "minutes"), le = y("session.refreshMinutes", "minutes"), b = y("password.minLength", "chars"), V = ["Upper", "Lower", "Digit", "Special"], A = V.map((a) => ({
37
38
  key: u(`password.require${a}`),
38
- label: t(`config.security.password.chip${a}`),
39
- name: t(`config.security.password.require${a}`),
39
+ label: l(`config.security.password.chip${a}`),
40
+ name: l(`config.security.password.require${a}`),
40
41
  model: v(u(`password.require${a}`))
41
- })), V = y("password.expireDays", "days"), le = y("password.historyCount", "times"), P = u("password.forceChangeOnFirstLogin"), N = v(P), U = v(u("rateLimit.enabled")), te = [
42
+ })), P = y("password.expireDays", "days"), ae = y("password.historyCount", "times"), B = u("password.forceChangeOnFirstLogin"), E = v(B), z = v(u("rateLimit.enabled")), se = [
42
43
  y("rateLimit.windowSeconds", "seconds"),
43
44
  y("rateLimit.permitPerWindow", "times"),
44
45
  y("rateLimit.authPermitPerWindow", "times")
45
- ], ae = (a) => {
46
- const i = de(a);
47
- return t(i.key, { n: i.n });
48
- }, se = _(
49
- () => pe(G, {
50
- duration: (a) => t(a.key, { n: a.n }),
51
- requirement: (a) => t(`config.preview.req.${a}`),
52
- captchaType: (a) => t(`config.security.captcha.types.${a}`),
53
- join: (a) => a.join(t("config.preview.sep"))
46
+ ], ie = (a) => {
47
+ const i = ye(a);
48
+ return l(i.key, { n: i.n });
49
+ }, ne = w(
50
+ () => me(K, {
51
+ duration: (a) => l(a.key, { n: a.n }),
52
+ requirement: (a) => l(`config.preview.req.${a}`),
53
+ captchaType: (a) => l(`config.security.captcha.types.${a}`),
54
+ join: (a) => a.join(l("config.preview.sep"))
54
55
  })
55
- ), A = oe("Admin123"), B = _(() => {
56
- const a = A.value, i = [
56
+ ), T = re("Admin123"), I = w(() => {
57
+ const a = T.value, i = [
57
58
  {
58
- label: t("config.security.tryMin", { n: b.model.value }),
59
+ label: l("config.security.tryMin", { n: b.model.value }),
59
60
  ok: a.length >= b.model.value
60
61
  }
61
- ], e = {
62
+ ], t = {
62
63
  Upper: /[A-Z]/,
63
64
  Lower: /[a-z]/,
64
65
  Digit: /\d/,
65
66
  Special: /[^A-Za-z0-9]/
66
67
  };
67
- return R.forEach((d, ie) => {
68
- x[ie].model.value && i.push({ label: t(`config.preview.req.${d.toLowerCase()}`), ok: e[d].test(a) });
68
+ return V.forEach((d, oe) => {
69
+ A[oe].model.value && i.push({ label: l(`config.preview.req.${d.toLowerCase()}`), ok: t[d].test(a) });
69
70
  }), i;
70
- }), I = _(() => B.value.every((a) => a.ok));
71
- return (a, i) => (r(), S(ve, {
72
- title: l(t)("config.tab.security"),
73
- desc: l(t)("config.security.desc"),
74
- "preview-title": l(t)("config.security.preview"),
71
+ }), W = w(() => I.value.every((a) => a.ok));
72
+ return (a, i) => (r(), S(ke, {
73
+ title: e(l)("config.tab.security"),
74
+ desc: e(l)("config.security.desc"),
75
+ "preview-title": e(l)("config.security.preview"),
75
76
  layout: "wide",
76
77
  "preview-align": "start"
77
78
  }, {
78
79
  preview: n(() => [
79
- o("ul", qe, [
80
- (r(!0), m(f, null, g(se.value, (e) => W((r(), m("li", {
81
- key: e.icon,
82
- class: E({ off: !e.on })
80
+ o("ul", Ae, [
81
+ (r(!0), m(f, null, g(ne.value, (t) => Y((r(), m("li", {
82
+ key: t.icon,
83
+ class: F({ off: !t.on })
83
84
  }, [
84
- o("span", xe, [
85
- s(T, {
86
- icon: e.icon,
85
+ o("span", Ee, [
86
+ s(M, {
87
+ icon: t.icon,
87
88
  size: 14
88
89
  }, null, 8, ["icon"])
89
90
  ]),
90
- o("span", Ne, c(l(t)(e.key, e.params ?? {})), 1),
91
- e.on ? ue("", !0) : (r(), m("span", Ae, c(l(t)("config.preview.off")), 1))
91
+ o("span", Te, c(e(l)(t.key, t.params ?? {})), 1),
92
+ t.on ? ce("", !0) : (r(), m("span", Me, c(e(l)("config.preview.off")), 1))
92
93
  ], 2)), [
93
- [l(be), `${e.on}|${l(t)(e.key, e.params ?? {})}`]
94
+ [e(ge), `${t.on}|${e(l)(t.key, t.params ?? {})}`]
94
95
  ])), 128))
95
96
  ]),
96
- o("div", Ee, [
97
+ o("div", De, [
97
98
  o("label", null, [
98
- o("span", null, c(l(t)("config.security.tryLabel")), 1),
99
- W(o("input", {
100
- "onUpdate:modelValue": i[8] || (i[8] = (e) => A.value = e),
99
+ o("span", null, c(e(l)("config.security.tryLabel")), 1),
100
+ Y(o("input", {
101
+ "onUpdate:modelValue": i[8] || (i[8] = (t) => T.value = t),
101
102
  autocomplete: "off",
102
103
  spellcheck: "false"
103
104
  }, null, 512), [
104
- [re, A.value]
105
+ [pe, T.value]
105
106
  ])
106
107
  ]),
107
108
  o("ul", null, [
108
- (r(!0), m(f, null, g(B.value, (e) => (r(), m("li", {
109
- key: e.label,
110
- class: E({ ok: e.ok })
111
- }, c(e.label), 3))), 128)),
109
+ (r(!0), m(f, null, g(I.value, (t) => (r(), m("li", {
110
+ key: t.label,
111
+ class: F({ ok: t.ok })
112
+ }, c(t.label), 3))), 128)),
112
113
  o("li", {
113
- class: E(["verdict", { ok: I.value }])
114
- }, c(I.value ? l(t)("config.security.tryPass") : l(t)("config.security.tryFail")), 3)
114
+ class: F(["verdict", { ok: W.value }])
115
+ }, c(W.value ? e(l)("config.security.tryPass") : e(l)("config.security.tryFail")), 3)
115
116
  ])
116
117
  ])
117
118
  ]),
118
119
  default: n(() => [
119
- o("div", ge, [
120
- o("div", ke, [
121
- s(z, {
122
- title: l(t)("config.security.groupLogin")
120
+ o("div", _e, [
121
+ o("div", we, [
122
+ s(q, {
123
+ title: e(l)("config.security.groupLogin")
123
124
  }, {
124
125
  default: n(() => [
125
- (r(!0), m(f, null, g([l(M), l(Q)], (e) => (r(), S(p, {
126
- key: e.key,
127
- label: e.label,
128
- hint: e === l(M) ? l(t)("config.security.zeroNoLock") : void 0,
129
- keys: [e.key]
126
+ (r(!0), m(f, null, g([e(D), e(X)], (t) => (r(), S(p, {
127
+ key: t.key,
128
+ label: t.label,
129
+ hint: t === e(D) ? e(l)("config.security.zeroNoLock") : void 0,
130
+ keys: [t.key]
130
131
  }, {
131
132
  default: n(() => [
132
- s(l(w), {
133
- value: e.model.value,
134
- "onUpdate:value": (d) => e.model.value = d,
133
+ s(e(C), {
134
+ value: t.model.value,
135
+ "onUpdate:value": (d) => t.model.value = d,
135
136
  class: "num",
136
- size: "small",
137
- min: e.min,
137
+ size: e(_),
138
+ min: t.min,
138
139
  "show-button": !1,
139
- "input-props": { "aria-label": e.label }
140
- }, null, 8, ["value", "onUpdate:value", "min", "input-props"]),
141
- o("span", he, c(e.unit), 1)
140
+ "input-props": { "aria-label": t.label }
141
+ }, null, 8, ["value", "onUpdate:value", "size", "min", "input-props"]),
142
+ o("span", Ce, c(t.unit), 1)
142
143
  ]),
143
144
  _: 2
144
145
  }, 1032, ["label", "hint", "keys"]))), 128)),
145
146
  s(p, {
146
- label: l(t)("config.security.captcha.enabled"),
147
+ label: e(l)("config.security.captcha.enabled"),
147
148
  keys: [u("captcha.enabled")]
148
149
  }, {
149
150
  default: n(() => [
150
- s(l(h), {
151
- value: l(C),
152
- "onUpdate:value": i[0] || (i[0] = (e) => k(C) ? C.value = e : null),
153
- "aria-label": l(t)("config.security.captcha.enabled")
151
+ s(e(h), {
152
+ value: e(L),
153
+ "onUpdate:value": i[0] || (i[0] = (t) => k(L) ? L.value = t : null),
154
+ "aria-label": e(l)("config.security.captcha.enabled")
154
155
  }, null, 8, ["value", "aria-label"])
155
156
  ]),
156
157
  _: 1
157
158
  }, 8, ["label", "keys"]),
158
159
  s(p, {
159
- label: l(t)("config.security.captcha.type"),
160
- keys: [l(H)],
161
- disabled: !l(C),
160
+ label: e(l)("config.security.captcha.type"),
161
+ keys: [e(j)],
162
+ disabled: !e(L),
162
163
  sub: ""
163
164
  }, {
164
165
  default: n(() => [
165
- s(fe, {
166
- modelValue: O.value,
167
- "onUpdate:modelValue": i[1] || (i[1] = (e) => O.value = e),
168
- options: J.value,
169
- label: l(t)("config.security.captcha.type")
166
+ s(he, {
167
+ modelValue: R.value,
168
+ "onUpdate:modelValue": i[1] || (i[1] = (t) => R.value = t),
169
+ options: ee.value,
170
+ label: e(l)("config.security.captcha.type")
170
171
  }, null, 8, ["modelValue", "options", "label"])
171
172
  ]),
172
173
  _: 1
@@ -175,46 +176,46 @@ const ge = { class: "cols" }, ke = { class: "col" }, he = { class: "unit" }, _e
175
176
  keys: [u("totp.enabled")]
176
177
  }, {
177
178
  label: n(() => [
178
- $(c(l(t)("config.security.totp.enabled")) + " ", 1),
179
- s(l(Y), { style: { maxWidth: "320px" } }, {
179
+ $(c(e(l)("config.security.totp.enabled")) + " ", 1),
180
+ s(e(H), { style: { maxWidth: "320px" } }, {
180
181
  trigger: n(() => [
181
182
  o("button", {
182
183
  type: "button",
183
184
  class: "tip",
184
- "aria-label": l(t)("config.security.totp.hint")
185
+ "aria-label": e(l)("config.security.totp.hint")
185
186
  }, [
186
- s(T, {
187
+ s(M, {
187
188
  icon: "ph:question",
188
189
  size: 12
189
190
  })
190
- ], 8, _e)
191
+ ], 8, Le)
191
192
  ]),
192
193
  default: n(() => [
193
- $(" " + c(l(t)("config.security.totp.hint")), 1)
194
+ $(" " + c(e(l)("config.security.totp.hint")), 1)
194
195
  ]),
195
196
  _: 1
196
197
  })
197
198
  ]),
198
199
  default: n(() => [
199
- s(l(h), {
200
- value: l(L),
201
- "onUpdate:value": i[2] || (i[2] = (e) => k(L) ? L.value = e : null),
202
- "aria-label": l(t)("config.security.totp.enabled")
200
+ s(e(h), {
201
+ value: e(U),
202
+ "onUpdate:value": i[2] || (i[2] = (t) => k(U) ? U.value = t : null),
203
+ "aria-label": e(l)("config.security.totp.enabled")
203
204
  }, null, 8, ["value", "aria-label"])
204
205
  ]),
205
206
  _: 1
206
207
  }, 8, ["keys"]),
207
208
  s(p, {
208
- label: l(t)("config.security.totp.requireForSuperAdmin"),
209
+ label: e(l)("config.security.totp.requireForSuperAdmin"),
209
210
  keys: [u("totp.requireForSuperAdmin")],
210
- disabled: !l(L),
211
+ disabled: !e(U),
211
212
  sub: ""
212
213
  }, {
213
214
  default: n(() => [
214
- s(l(h), {
215
- value: l(F),
216
- "onUpdate:value": i[3] || (i[3] = (e) => k(F) ? F.value = e : null),
217
- "aria-label": l(t)("config.security.totp.requireForSuperAdmin")
215
+ s(e(h), {
216
+ value: e(x),
217
+ "onUpdate:value": i[3] || (i[3] = (t) => k(x) ? x.value = t : null),
218
+ "aria-label": e(l)("config.security.totp.requireForSuperAdmin")
218
219
  }, null, 8, ["value", "aria-label"])
219
220
  ]),
220
221
  _: 1
@@ -223,31 +224,31 @@ const ge = { class: "cols" }, ke = { class: "col" }, he = { class: "unit" }, _e
223
224
  keys: [u("mfa.enabled")]
224
225
  }, {
225
226
  label: n(() => [
226
- $(c(l(t)("config.security.mfa.enabled")) + " ", 1),
227
- s(l(Y), { style: { maxWidth: "320px" } }, {
227
+ $(c(e(l)("config.security.mfa.enabled")) + " ", 1),
228
+ s(e(H), { style: { maxWidth: "320px" } }, {
228
229
  trigger: n(() => [
229
230
  o("button", {
230
231
  type: "button",
231
232
  class: "tip",
232
- "aria-label": l(t)("config.security.sms.hint")
233
+ "aria-label": e(l)("config.security.sms.hint")
233
234
  }, [
234
- s(T, {
235
+ s(M, {
235
236
  icon: "ph:question",
236
237
  size: 12
237
238
  })
238
- ], 8, we)
239
+ ], 8, Ue)
239
240
  ]),
240
241
  default: n(() => [
241
- $(" " + c(l(t)("config.security.sms.hint")), 1)
242
+ $(" " + c(e(l)("config.security.sms.hint")), 1)
242
243
  ]),
243
244
  _: 1
244
245
  })
245
246
  ]),
246
247
  default: n(() => [
247
- s(l(h), {
248
- value: l(q),
249
- "onUpdate:value": i[4] || (i[4] = (e) => k(q) ? q.value = e : null),
250
- "aria-label": l(t)("config.security.mfa.enabled")
248
+ s(e(h), {
249
+ value: e(N),
250
+ "onUpdate:value": i[4] || (i[4] = (t) => k(N) ? N.value = t : null),
251
+ "aria-label": e(l)("config.security.mfa.enabled")
251
252
  }, null, 8, ["value", "aria-label"])
252
253
  ]),
253
254
  _: 1
@@ -255,27 +256,27 @@ const ge = { class: "cols" }, ke = { class: "col" }, he = { class: "unit" }, _e
255
256
  ]),
256
257
  _: 1
257
258
  }, 8, ["title"]),
258
- s(z, {
259
- title: l(t)("config.security.groupSession")
259
+ s(q, {
260
+ title: e(l)("config.security.groupSession")
260
261
  }, {
261
262
  default: n(() => [
262
- (r(!0), m(f, null, g([l(X), l(ee)], (e) => (r(), S(p, {
263
- key: e.key,
264
- label: e.label,
265
- hint: `= ${ae(e.model.value)}`,
266
- keys: [e.key]
263
+ (r(!0), m(f, null, g([e(te), e(le)], (t) => (r(), S(p, {
264
+ key: t.key,
265
+ label: t.label,
266
+ hint: `= ${ie(t.model.value)}`,
267
+ keys: [t.key]
267
268
  }, {
268
269
  default: n(() => [
269
- s(l(w), {
270
- value: e.model.value,
271
- "onUpdate:value": (d) => e.model.value = d,
270
+ s(e(C), {
271
+ value: t.model.value,
272
+ "onUpdate:value": (d) => t.model.value = d,
272
273
  class: "num",
273
- size: "small",
274
- min: e.min,
274
+ size: e(_),
275
+ min: t.min,
275
276
  "show-button": !1,
276
- "input-props": { "aria-label": e.label }
277
- }, null, 8, ["value", "onUpdate:value", "min", "input-props"]),
278
- o("span", Ce, c(e.unit), 1)
277
+ "input-props": { "aria-label": t.label }
278
+ }, null, 8, ["value", "onUpdate:value", "size", "min", "input-props"]),
279
+ o("span", ze, c(t.unit), 1)
279
280
  ]),
280
281
  _: 2
281
282
  }, 1032, ["label", "hint", "keys"]))), 128))
@@ -283,78 +284,78 @@ const ge = { class: "cols" }, ke = { class: "col" }, he = { class: "unit" }, _e
283
284
  _: 1
284
285
  }, 8, ["title"])
285
286
  ]),
286
- o("div", Le, [
287
- s(z, {
288
- title: l(t)("config.security.password.title")
287
+ o("div", Se, [
288
+ s(q, {
289
+ title: e(l)("config.security.password.title")
289
290
  }, {
290
291
  default: n(() => [
291
292
  s(p, {
292
- label: l(b).label,
293
- keys: [l(b).key]
293
+ label: e(b).label,
294
+ keys: [e(b).key]
294
295
  }, {
295
296
  default: n(() => [
296
- s(l(w), {
297
- value: l(b).model.value,
298
- "onUpdate:value": i[5] || (i[5] = (e) => l(b).model.value = e),
297
+ s(e(C), {
298
+ value: e(b).model.value,
299
+ "onUpdate:value": i[5] || (i[5] = (t) => e(b).model.value = t),
299
300
  class: "num",
300
- size: "small",
301
- min: l(b).min,
301
+ size: e(_),
302
+ min: e(b).min,
302
303
  "show-button": !1,
303
- "input-props": { "aria-label": l(b).label }
304
- }, null, 8, ["value", "min", "input-props"]),
305
- o("span", Ue, c(l(b).unit), 1)
304
+ "input-props": { "aria-label": e(b).label }
305
+ }, null, 8, ["value", "size", "min", "input-props"]),
306
+ o("span", $e, c(e(b).unit), 1)
306
307
  ]),
307
308
  _: 1
308
309
  }, 8, ["label", "keys"]),
309
310
  s(p, {
310
- label: l(t)("config.security.password.mustContain"),
311
- keys: l(x).map((e) => e.key)
311
+ label: e(l)("config.security.password.mustContain"),
312
+ keys: e(A).map((t) => t.key)
312
313
  }, {
313
314
  default: n(() => [
314
- o("span", Se, [
315
- (r(!0), m(f, null, g(l(x), (e) => (r(), m("button", {
316
- key: e.key,
315
+ o("span", Fe, [
316
+ (r(!0), m(f, null, g(e(A), (t) => (r(), m("button", {
317
+ key: t.key,
317
318
  type: "button",
318
- class: "chip",
319
- "aria-pressed": e.model.value,
320
- "aria-label": e.name,
321
- title: e.name,
322
- onClick: (d) => e.model.value = !e.model.value
323
- }, c(e.label), 9, $e))), 128))
319
+ class: F(["chip", { lg: e(J) }]),
320
+ "aria-pressed": t.model.value,
321
+ "aria-label": t.name,
322
+ title: t.name,
323
+ onClick: (d) => t.model.value = !t.model.value
324
+ }, c(t.label), 11, qe))), 128))
324
325
  ])
325
326
  ]),
326
327
  _: 1
327
328
  }, 8, ["label", "keys"]),
328
- (r(!0), m(f, null, g([l(V), l(le)], (e) => (r(), S(p, {
329
- key: e.key,
330
- label: e.label,
331
- hint: l(t)(e === l(V) ? "config.security.zeroNever" : "config.security.zeroOff"),
332
- keys: [e.key]
329
+ (r(!0), m(f, null, g([e(P), e(ae)], (t) => (r(), S(p, {
330
+ key: t.key,
331
+ label: t.label,
332
+ hint: e(l)(t === e(P) ? "config.security.zeroNever" : "config.security.zeroOff"),
333
+ keys: [t.key]
333
334
  }, {
334
335
  default: n(() => [
335
- s(l(w), {
336
- value: e.model.value,
337
- "onUpdate:value": (d) => e.model.value = d,
336
+ s(e(C), {
337
+ value: t.model.value,
338
+ "onUpdate:value": (d) => t.model.value = d,
338
339
  class: "num",
339
- size: "small",
340
- min: e.min,
340
+ size: e(_),
341
+ min: t.min,
341
342
  "show-button": !1,
342
- "input-props": { "aria-label": e.label }
343
- }, null, 8, ["value", "onUpdate:value", "min", "input-props"]),
344
- o("span", ze, c(e.unit), 1)
343
+ "input-props": { "aria-label": t.label }
344
+ }, null, 8, ["value", "onUpdate:value", "size", "min", "input-props"]),
345
+ o("span", xe, c(t.unit), 1)
345
346
  ]),
346
347
  _: 2
347
348
  }, 1032, ["label", "hint", "keys"]))), 128)),
348
349
  s(p, {
349
- label: l(t)("config.security.password.forceChangeOnFirstLogin"),
350
- hint: l(t)("config.security.password.forceChangeOnFirstLoginHint"),
351
- keys: [l(P)]
350
+ label: e(l)("config.security.password.forceChangeOnFirstLogin"),
351
+ hint: e(l)("config.security.password.forceChangeOnFirstLoginHint"),
352
+ keys: [e(B)]
352
353
  }, {
353
354
  default: n(() => [
354
- s(l(h), {
355
- value: l(N),
356
- "onUpdate:value": i[6] || (i[6] = (e) => k(N) ? N.value = e : null),
357
- "aria-label": l(t)("config.security.password.forceChangeOnFirstLogin")
355
+ s(e(h), {
356
+ value: e(E),
357
+ "onUpdate:value": i[6] || (i[6] = (t) => k(E) ? E.value = t : null),
358
+ "aria-label": e(l)("config.security.password.forceChangeOnFirstLogin")
358
359
  }, null, 8, ["value", "aria-label"])
359
360
  ]),
360
361
  _: 1
@@ -362,41 +363,41 @@ const ge = { class: "cols" }, ke = { class: "col" }, he = { class: "unit" }, _e
362
363
  ]),
363
364
  _: 1
364
365
  }, 8, ["title"]),
365
- s(z, {
366
- title: l(t)("config.security.groupRate")
366
+ s(q, {
367
+ title: e(l)("config.security.groupRate")
367
368
  }, {
368
369
  default: n(() => [
369
370
  s(p, {
370
- label: l(t)("config.security.rateLimit.enabled"),
371
+ label: e(l)("config.security.rateLimit.enabled"),
371
372
  keys: [u("rateLimit.enabled")]
372
373
  }, {
373
374
  default: n(() => [
374
- s(l(h), {
375
- value: l(U),
376
- "onUpdate:value": i[7] || (i[7] = (e) => k(U) ? U.value = e : null),
377
- "aria-label": l(t)("config.security.rateLimit.enabled")
375
+ s(e(h), {
376
+ value: e(z),
377
+ "onUpdate:value": i[7] || (i[7] = (t) => k(z) ? z.value = t : null),
378
+ "aria-label": e(l)("config.security.rateLimit.enabled")
378
379
  }, null, 8, ["value", "aria-label"])
379
380
  ]),
380
381
  _: 1
381
382
  }, 8, ["label", "keys"]),
382
- (r(), m(f, null, g(te, (e) => s(p, {
383
- key: e.key,
384
- label: e.label,
385
- keys: [e.key],
386
- disabled: !l(U),
383
+ (r(), m(f, null, g(se, (t) => s(p, {
384
+ key: t.key,
385
+ label: t.label,
386
+ keys: [t.key],
387
+ disabled: !e(z),
387
388
  sub: ""
388
389
  }, {
389
390
  default: n(() => [
390
- s(l(w), {
391
- value: e.model.value,
392
- "onUpdate:value": (d) => e.model.value = d,
391
+ s(e(C), {
392
+ value: t.model.value,
393
+ "onUpdate:value": (d) => t.model.value = d,
393
394
  class: "num",
394
- size: "small",
395
- min: e.min,
395
+ size: e(_),
396
+ min: t.min,
396
397
  "show-button": !1,
397
- "input-props": { "aria-label": e.label }
398
- }, null, 8, ["value", "onUpdate:value", "min", "input-props"]),
399
- o("span", Fe, c(e.unit), 1)
398
+ "input-props": { "aria-label": t.label }
399
+ }, null, 8, ["value", "onUpdate:value", "size", "min", "input-props"]),
400
+ o("span", Ne, c(t.unit), 1)
400
401
  ]),
401
402
  _: 2
402
403
  }, 1032, ["label", "keys", "disabled"])), 64))
@@ -411,6 +412,6 @@ const ge = { class: "cols" }, ke = { class: "col" }, he = { class: "unit" }, _e
411
412
  }
412
413
  });
413
414
  export {
414
- Ge as default
415
+ Je as default
415
416
  };
416
417
  //# sourceMappingURL=SecuritySection2.vue.js.map