@pubinfo-pr/core 0.221.3 → 0.222.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 (73) hide show
  1. package/dist/{AppSetting-B7mE7iHt.js → AppSetting-2X1fMYsM.js} +17 -17
  2. package/dist/{HCheckList-DAkb0SBD.js → HCheckList-IpOaPgDS.js} +1 -1
  3. package/dist/HSlideover-DVQDc9q6.js +3151 -0
  4. package/dist/{HToggle-DEwBoDsw.js → HToggle-53efctOx.js} +1 -1
  5. package/dist/{PreferencesContent-CWHTBvHQ.js → PreferencesContent-DR7Bfby2.js} +6 -6
  6. package/dist/{SettingBreadcrumb-p3hD9w-9.js → SettingBreadcrumb-BdZkTm8U.js} +4 -4
  7. package/dist/{SettingCopyright-BgWvocrJ.js → SettingCopyright-CUTR3xEl.js} +3 -3
  8. package/dist/{SettingEnableTransition-Cf57pLUk.js → SettingEnableTransition-X3MmJab_.js} +3 -3
  9. package/dist/{SettingHome-tNMtRHoT.js → SettingHome-lZQWdmKO.js} +4 -4
  10. package/dist/{SettingMenu-Du4Xhle1.js → SettingMenu-CpmiIDE3.js} +5 -5
  11. package/dist/{SettingMode-DGWqKJHt.js → SettingMode-bW2Ola6n.js} +2 -2
  12. package/dist/{SettingNavSearch-C_8VmQmD.js → SettingNavSearch-zNci1-io.js} +3 -3
  13. package/dist/{SettingOther-B9iOz69R.js → SettingOther-B_fS7F1Q.js} +4 -4
  14. package/dist/{SettingPage-C0TfmEKp.js → SettingPage-D3Le0166.js} +2 -2
  15. package/dist/{SettingTabbar-C7ZQrcN4.js → SettingTabbar-DlAGfaVi.js} +5 -5
  16. package/dist/{SettingThemes-022eXO9f.js → SettingThemes-Doo4eAO8.js} +5 -5
  17. package/dist/{SettingToolbar-Bh9aXNpl.js → SettingToolbar-CULbO3xO.js} +3 -3
  18. package/dist/{SettingTopbar-DjB1Izhm.js → SettingTopbar-C6sVE2Ho.js} +5 -5
  19. package/dist/{SettingWidthMode-D7sRlBUK.js → SettingWidthMode-CilRvSU4.js} +3 -3
  20. package/dist/{auth-B65CJEOe.js → auth-BLGKOyc5.js} +193 -3
  21. package/dist/{change-organization-sU8aNfhI.js → change-organization-BGeqwF7P.js} +3 -3
  22. package/dist/{change-password-Dxzhg43p.js → change-password-DihoH7ST.js} +3 -3
  23. package/dist/{components-emseuaQx.js → components-zl6Vcs20.js} +6 -6
  24. package/dist/index.js +896 -424
  25. package/dist/{not-found-DbHOY5cU.js → not-found-BCjngLzt.js} +1 -1
  26. package/dist/{not-permission-DwERxb_u.js → not-permission-C26vTMvf.js} +1 -1
  27. package/dist/{profile-Dq66-Gsl.js → profile-BVXIFuBG.js} +1 -1
  28. package/dist/style.css +1 -1
  29. package/package.json +7 -7
  30. package/src/built-in/authentication/pages/change-organization/index.vue +22 -5
  31. package/src/built-in/authentication/pages/change-password/index.vue +30 -3
  32. package/src/built-in/layout-component/Layout.vue +81 -30
  33. package/src/built-in/layout-component/components/Copyright/index.vue +29 -3
  34. package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +17 -6
  35. package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +18 -7
  36. package/src/built-in/layout-component/components/Header/HeaderMenu.vue +2 -3
  37. package/src/built-in/layout-component/components/Header/index.vue +119 -22
  38. package/src/built-in/layout-component/components/Logo/index.vue +4 -1
  39. package/src/built-in/layout-component/components/Menu/item.vue +29 -6
  40. package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +33 -13
  41. package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +113 -25
  42. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +57 -4
  43. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +123 -20
  44. package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +102 -25
  45. package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +100 -16
  46. package/src/built-in/layout-component/components/SettingBar/index.vue +64 -10
  47. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +76 -22
  48. package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +16 -10
  49. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
  50. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +26 -4
  51. package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +404 -51
  52. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +68 -13
  53. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +177 -49
  54. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
  55. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +45 -12
  56. package/src/built-in/layout-component/components/ui/HToggle.vue +55 -9
  57. package/src/features/components/PassStrengthValidator/index.vue +36 -10
  58. package/src/features/components/PassStrengthValidator/rule.vue +17 -4
  59. package/dist/HSlideover-CXBJxuQo.js +0 -1695
  60. package/dist/HeaderFullMenu-l2890Bzo.js +0 -250
  61. package/dist/HeaderThinMenu-5K6HXiQk.js +0 -438
  62. package/dist/overlayscrollbars-vue-mGyICRMi.js +0 -1460
  63. /package/dist/{HDivider-Ds5MMqtm.js → HDivider-BwvBr5OE.js} +0 -0
  64. /package/dist/{HInput-BrsX9848.js → HInput-KJ5nFBpF.js} +0 -0
  65. /package/dist/{core-4H5JBsa5.js → core-DJIGzMMM.js} +0 -0
  66. /package/dist/{engine-oniguruma-uxNZ2DGJ.js → engine-oniguruma-CaNXwGSv.js} +0 -0
  67. /package/dist/{json-CC4oV-bd.js → json-Bu_Zprin.js} +0 -0
  68. /package/dist/{question-line-D7ecIumZ.js → question-line-BG__Ycfv.js} +0 -0
  69. /package/dist/{reload-CbuQgTlC.js → reload-DHx5Vwus.js} +0 -0
  70. /package/dist/{right-DYiPS7dU.js → right-BxBlFUwj.js} +0 -0
  71. /package/dist/{vitesse-dark-CxkWMfh6.js → vitesse-dark-CTe40QT_.js} +0 -0
  72. /package/dist/{vitesse-light-DY25e6F3.js → vitesse-light-BWXC_WeB.js} +0 -0
  73. /package/dist/{wasm-DAU6f5s5.js → wasm-2zDVqo-C.js} +0 -0
@@ -34,42 +34,88 @@ const enabled = computed({
34
34
 
35
35
  <style scoped lang="css">
36
36
  .switch {
37
- --at-apply: cursor-pointer scale-75;
37
+ cursor: pointer;
38
+ transform: scaleX(0.75) scaleY(0.75);
38
39
  }
39
40
 
40
41
  .switch input {
41
- --at-apply: hidden;
42
+ display: none;
42
43
  }
43
44
 
44
45
  .switch input + span {
45
- --at-apply: relative block w-12 h-7 rounded-14px transition-all duration-300 ease;
46
+ position: relative;
47
+ display: block;
48
+ width: 3rem; /* 48px */
49
+ height: 1.75rem; /* 28px */
50
+ border-radius: 14px;
51
+ transition-property: all;
52
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
53
+ transition-duration: 150ms;
54
+ transition-duration: 300ms;
55
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
46
56
  }
47
57
 
48
58
  .switch input + span::before,
49
59
  .switch input + span::after {
50
- --at-apply: absolute block content-empty transition-all duration-300 ease;
60
+ position: absolute;
61
+ display: block;
62
+ content: "";
63
+ transition-property: all;
64
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
65
+ transition-duration: 150ms;
66
+ transition-duration: 300ms;
67
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
51
68
  }
52
69
 
53
70
  .switch input + span::before {
54
- --at-apply: top-5px left-5px size-18px border-5px border-solid border-white dark:border-dark rounded-9px;
71
+ top: 5px;
72
+ left: 5px;
73
+ width: 18px;
74
+ height: 18px;
75
+ border-width: 5px;
76
+ border-style: solid;
77
+ border-color: rgb(255 255 255);
78
+ border-radius: 9px;
79
+ }
80
+
81
+ .dark .switch input + span::before {
82
+ border-color: rgb(34 34 34);
55
83
  }
56
84
 
57
85
  .switch input + span::after {
58
- --at-apply: top-5px left-32px w-6px h-18px bg-white rounded-4/10 op-0 dark:bg-stone-7;
86
+ top: 5px;
87
+ left: 32px;
88
+ width: 6px;
89
+ height: 18px;
90
+ background-color: #FFFFFF;
91
+ border-radius: 40%;
92
+ opacity: 0;
59
93
  transform-origin: 50% 50%;
60
94
  }
61
95
 
96
+ .dark .switch input + span::after {
97
+ background-color: #44403c;
98
+ }
99
+
62
100
  .switch input + span:active {
63
- --at-apply: scale-92;
101
+ transform: scaleX(0.92) scaleY(0.92);
64
102
  }
65
103
 
66
104
  .switch input:checked + span {
67
- --at-apply: bg-ui-primary;
105
+ background-color: rgb(var(--ui-primary));
68
106
  box-shadow: 0 8px 16px -1px rgba(var(--ui-primary), 0.2);
69
107
  }
70
108
 
71
109
  .switch input:checked + span::before {
72
- --at-apply: w-0 ml-27px bg-white dark:bg-stone-7 border-3px rounded-3px;
110
+ width: 0;
111
+ margin-left: 27px;
112
+ background-color: #FFFFFF;
113
+ border-width: 3px;
114
+ border-radius: 3px;
115
+ }
116
+
117
+ .dark .switch input:checked + span::before {
118
+ background-color: #44403c;
73
119
  }
74
120
 
75
121
  .switch input:checked + span::after {
@@ -154,41 +154,67 @@ watchEffect(() => {
154
154
 
155
155
  <style scoped>
156
156
  .pass-strength-validator {
157
- --at-apply: p-15px;
157
+ padding: 15px;
158
158
  }
159
159
 
160
160
  .pass-strength-validator .title-wrap {
161
- --at-apply: text-2xl font-semibold text-[#1677ff] mb-10;
161
+ font-size: 1.5rem; /* 24px */
162
+ line-height: 2rem; /* 32px */
163
+ font-weight: 600;
164
+ color: #1677ff;
165
+ margin-bottom: 2.5rem; /* 40px */
162
166
  }
163
167
 
164
168
  .pass-strength-validator .rules-title {
165
- --at-apply: text-base font-medium mb-[15px];
169
+ font-size: 1rem; /* 16px */
170
+ line-height: 1.5rem; /* 24px */
171
+ font-weight: 500;
172
+ margin-bottom: 15px;
166
173
  }
167
174
 
168
175
  .pass-strength-validator.vertical {
169
- --at-apply: w-[1130px] pt-[18px] pb-6 px-8;
176
+ width: 1130px;
177
+ padding-top: 18px;
178
+ padding-bottom: 1.5rem; /* 24px */
179
+ padding-left: 2rem; /* 32px */
180
+ padding-right: 2rem; /* 32px */
170
181
  }
171
182
  .pass-strength-validator.vertical .title-wrap {
172
- --at-apply: text-base mb-4;
183
+ font-size: 1rem; /* 16px */
184
+ line-height: 1.5rem; /* 24px */
185
+ margin-bottom: 1rem; /* 16px */
173
186
  }
174
187
  .pass-strength-validator.vertical .rules-wrap {
175
- --at-apply: flex;
188
+ display: flex;
176
189
  }
177
190
  .pass-strength-validator.vertical .basic-rules,
178
191
  .pass-strength-validator.vertical .advanced-rules {
179
- --at-apply: relative flex-1;
192
+ position: relative;
193
+ flex: 1 1 0%;
180
194
  }
181
195
  .pass-strength-validator.vertical .basic-rules::after {
182
- --at-apply: absolute w-px h-auto content-[""] right-[35px] inset-y-[11px];
196
+ position: absolute;
197
+ width: 1px;
198
+ height: auto;
199
+ content: "";
200
+ right: 35px;
201
+ top: 11px;
202
+ bottom: 11px;
183
203
  background: #e5e6eb;
184
204
  }
185
205
  .pass-strength-validator.vertical .rules-title {
186
- --at-apply: text-sm font-[bold] mb-3.5;
206
+ font-size: 0.875rem; /* 14px */
207
+ line-height: 1.25rem; /* 20px */
208
+ font-family: bold;
209
+ margin-bottom: 0.875rem; /* 14px */
187
210
  }
188
211
 
189
212
  /* 样式穿透,用于覆盖 ant-design-vue 组件样式 */
190
213
  .pass-strength-validator :deep(.ant-divider) {
191
- --at-apply: mx-0 my-4;
214
+ margin-left: 0;
215
+ margin-right: 0;
216
+ margin-top: 1rem; /* 16px */
217
+ margin-bottom: 1rem; /* 16px */
192
218
  }
193
219
 
194
220
  /* 暗色主题支持 */
@@ -25,15 +25,28 @@ const props = defineProps<{
25
25
 
26
26
  <style scoped>
27
27
  .rule-item {
28
- --at-apply: flex flex-row text-sm leading-[19px] px-0 py-2.5;
28
+ display: flex;
29
+ flex-direction: row;
30
+ font-size: 0.875rem; /* 14px */
31
+ line-height: 1.25rem; /* 20px */
32
+ line-height: 19px;
33
+ padding-left: 0;
34
+ padding-right: 0;
35
+ padding-top: 0.625rem; /* 10px */
36
+ padding-bottom: 0.625rem; /* 10px */
29
37
  }
30
38
  .rule-item .icon {
31
- --at-apply: leading-[23px] mr-2.5;
39
+ line-height: 23px;
40
+ margin-right: 0.625rem; /* 10px */
32
41
  }
33
42
  .rule-item.vertical {
34
- --at-apply: leading-[18px] text-[#86909c] mb-1.5 p-0;
43
+ line-height: 18px;
44
+ color: #86909c;
45
+ margin-bottom: 0.375rem; /* 6px */
46
+ padding: 0;
35
47
  }
36
48
  .rule-item.vertical .icon {
37
- --at-apply: leading-[18px] mr-1.5;
49
+ line-height: 18px;
50
+ margin-right: 0.375rem; /* 6px */
38
51
  }
39
52
  </style>