@pubinfo-pr/core 0.221.3 → 0.222.2

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 (57) hide show
  1. package/dist/{AppSetting-B7mE7iHt.js → AppSetting-Adv5Y3SE.js} +16 -16
  2. package/dist/{HCheckList-DAkb0SBD.js → HCheckList-WAAl9RiK.js} +1 -1
  3. package/dist/{HToggle-DEwBoDsw.js → HToggle-YLmL7R0b.js} +1 -1
  4. package/dist/{HeaderFullMenu-l2890Bzo.js → HeaderFullMenu-ByedDsvz.js} +16 -15
  5. package/dist/{HeaderThinMenu-5K6HXiQk.js → HeaderThinMenu-2q2iBtTH.js} +2 -2
  6. package/dist/{PreferencesContent-CWHTBvHQ.js → PreferencesContent-CiPweszy.js} +4 -4
  7. package/dist/{SettingBreadcrumb-p3hD9w-9.js → SettingBreadcrumb-C1VwfnxX.js} +3 -3
  8. package/dist/{SettingCopyright-BgWvocrJ.js → SettingCopyright-C--oGV21.js} +1 -1
  9. package/dist/{SettingEnableTransition-Cf57pLUk.js → SettingEnableTransition-DW2gfisN.js} +2 -2
  10. package/dist/{SettingHome-tNMtRHoT.js → SettingHome-VUAS3uEg.js} +1 -1
  11. package/dist/{SettingMenu-Du4Xhle1.js → SettingMenu-BH7XU7eF.js} +3 -3
  12. package/dist/{SettingMode-DGWqKJHt.js → SettingMode-BIyHzTKH.js} +1 -1
  13. package/dist/{SettingNavSearch-C_8VmQmD.js → SettingNavSearch-PfSA-_ro.js} +1 -1
  14. package/dist/{SettingOther-B9iOz69R.js → SettingOther-DdqNapQX.js} +1 -1
  15. package/dist/{SettingPage-C0TfmEKp.js → SettingPage-DS-G9-X5.js} +1 -1
  16. package/dist/{SettingTabbar-C7ZQrcN4.js → SettingTabbar-2yfw2vsm.js} +3 -3
  17. package/dist/{SettingThemes-022eXO9f.js → SettingThemes-Bkcywy7v.js} +3 -3
  18. package/dist/{SettingToolbar-Bh9aXNpl.js → SettingToolbar-DP7-_nPK.js} +1 -1
  19. package/dist/{SettingTopbar-DjB1Izhm.js → SettingTopbar-C0Ia4-If.js} +3 -3
  20. package/dist/{SettingWidthMode-D7sRlBUK.js → SettingWidthMode-DgSWsHFq.js} +1 -1
  21. package/dist/built-in/layout-component/index.d.ts +6 -2
  22. package/dist/{change-organization-sU8aNfhI.js → change-organization-BfnI2yEl.js} +2 -2
  23. package/dist/{change-password-Dxzhg43p.js → change-password-Bj_GWzmn.js} +2 -2
  24. package/dist/{components-emseuaQx.js → components-BfkDsfck.js} +2 -2
  25. package/dist/index.js +109 -109
  26. package/dist/style.css +1 -1
  27. package/package.json +7 -7
  28. package/src/built-in/authentication/pages/change-organization/index.vue +22 -5
  29. package/src/built-in/authentication/pages/change-password/index.vue +30 -3
  30. package/src/built-in/layout-component/Layout.vue +81 -30
  31. package/src/built-in/layout-component/components/Copyright/index.vue +29 -3
  32. package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +17 -6
  33. package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +18 -7
  34. package/src/built-in/layout-component/components/Header/HeaderMenu.vue +2 -3
  35. package/src/built-in/layout-component/components/Header/index.vue +119 -22
  36. package/src/built-in/layout-component/components/Logo/index.vue +4 -1
  37. package/src/built-in/layout-component/components/Menu/item.vue +29 -6
  38. package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +33 -13
  39. package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +113 -25
  40. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +57 -4
  41. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +123 -20
  42. package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +102 -25
  43. package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +100 -16
  44. package/src/built-in/layout-component/components/SettingBar/index.vue +64 -10
  45. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +76 -22
  46. package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +16 -10
  47. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
  48. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +26 -4
  49. package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +404 -51
  50. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +68 -13
  51. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +177 -49
  52. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
  53. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +45 -12
  54. package/src/built-in/layout-component/components/ui/HToggle.vue +55 -9
  55. package/src/built-in/layout-component/index.ts +4 -2
  56. package/src/features/components/PassStrengthValidator/index.vue +36 -10
  57. package/src/features/components/PassStrengthValidator/rule.vue +17 -4
@@ -90,7 +90,10 @@ function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
90
90
 
91
91
  <style scoped>
92
92
  .main-sidebar-container {
93
- --at-apply: relative z-1 flex flex-col;
93
+ position: relative;
94
+ z-index: 1;
95
+ display: flex;
96
+ flex-direction: column;
94
97
  width: var(--g-main-sidebar-width);
95
98
  color: var(--g-main-sidebar-menu-color);
96
99
  background-color: var(--g-main-sidebar-bg);
@@ -99,75 +102,126 @@ function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
99
102
  }
100
103
 
101
104
  .sidebar-logo {
102
- --at-apply: bg-[--g-main-sidebar-bg];
105
+ background-color: var(--g-main-sidebar-bg) /* var(--g-main-sidebar-bg) */;
103
106
  transition: background-color 0.3s;
104
107
  }
105
108
 
106
109
  :deep(.menu-item-container-layout) {
107
- --at-apply: flex flex-col w-auto;
110
+ display: flex;
111
+ flex-direction: column;
112
+ width: auto;
108
113
  }
109
114
 
110
115
  :deep(.menu-item-container-layout) .title {
111
- --at-apply: hidden;
116
+ display: none;
112
117
  }
113
118
 
114
119
  /* 菜单激活样式 */
115
120
  .menu-active-arrow .item-container::before,
116
121
  .menu-active-arrow :deep(.menu-item::before) {
117
- --at-apply: content-empty absolute top-1/2 right-[-5px] w-0 h-0 op-0
118
- border-t-5px border-t-solid border-t-transparent
119
- border-r-5px border-r-solid border-r-[--g-main-sidebar-bg]
120
- border-b-5px border-b-solid border-b-transparent
121
- -translate-y-2/4 transition-all duration-[0.3s];
122
+ content: "";
123
+ position: absolute;
124
+ top: 50%;
125
+ width: 0;
126
+ height: 0;
127
+ transition-property: all;
128
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
129
+ transition-duration: 150ms;
130
+ transition-duration: 0.3s;
131
+ right: -5px;
132
+ opacity: 0;
133
+ border-top-style: solid;
134
+ border-right-style: solid;
135
+ border-bottom-style: solid;
136
+ border-top-color: transparent;
137
+ border-right-color: var(--g-main-sidebar-bg);
138
+ border-bottom-color: transparent;
139
+ border-top-width: 5px;
140
+ border-right-width: 5px;
141
+ border-bottom-width: 5px;
142
+ transform: translateY(-50%);
122
143
  }
123
144
 
124
145
  .menu-active-arrow .item-container.active::before,
125
146
  .menu-active-arrow :deep(.menu-item.active::before) {
126
- --at-apply: right-2 op-100;
147
+ right: 0.5rem; /* 8px */
148
+ opacity: 1;
127
149
  }
128
150
 
129
151
  .menu-active-line .item-container::before,
130
152
  .menu-active-line :deep(.menu-item::before) {
131
- --at-apply: content-empty absolute top-1/2 left-6px -translate-y-2/4 w-1 h-0
132
- bg-[--g-main-sidebar-menu-active-bg] opacity-0 transition-all duration-[0.3s]
133
- rounded-sm;
153
+ content: "";
154
+ position: absolute;
155
+ top: 50%;
156
+ transform: translateY(-50%);
157
+ width: 0.25rem; /* 4px */
158
+ height: 0;
159
+ opacity: 0;
160
+ transition-property: all;
161
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
162
+ transition-duration: 150ms;
163
+ transition-duration: 0.3s;
164
+ border-radius: 0.125rem; /* 2px */
165
+ left: 6px;
166
+ background-color: var(--g-main-sidebar-menu-active-bg);
134
167
  box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
135
168
  }
136
169
 
137
170
  .menu-active-line .item-container.active::before,
138
171
  .menu-active-line :deep(.menu-item.active::before) {
139
- --at-apply: h-5 op-100;
172
+ height: 1.25rem; /* 20px */
173
+ opacity: 1;
140
174
  }
141
175
 
142
176
  .menu-active-dot .item-container::before,
143
177
  .menu-active-dot :deep(.menu-item::before) {
144
- --at-apply: bg-[--g-main-sidebar-menu-active-bg] content-empty
145
- absolute -translate-y-2/4 w-2.5 h-2.5 opacity-0 transition-all
146
- duration-[0.3s] rounded-[50%] left-0 top-2/4;
178
+ background-color: var(--g-main-sidebar-menu-active-bg);
179
+ content: "";
180
+ position: absolute;
181
+ transform: translateY(-50%);
182
+ width: 0.625rem; /* 10px */
183
+ height: 0.625rem; /* 10px */
184
+ opacity: 0;
185
+ transition-property: all;
186
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
187
+ transition-duration: 150ms;
188
+ transition-duration: 0.3s;
189
+ border-radius: 50%;
190
+ left: 0;
191
+ top: 50%;
147
192
  box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
148
193
  }
149
194
 
150
195
  .menu-active-dot .item-container.active::before,
151
196
  .menu-active-dot :deep(.menu-item.active::before) {
152
- --at-apply: left-1 op-100;
197
+ left: 0.25rem; /* 4px */
198
+ opacity: 1;
153
199
  }
154
200
 
155
201
  .menu {
156
- --at-apply: flex-1 w-[initial] overscroll-contain;
202
+ flex: 1 1 0%;
203
+ width: initial;
204
+ overscroll-behavior: contain;
157
205
  overflow: hidden auto;
158
206
  scrollbar-width: none;
159
207
  }
160
208
 
161
209
  .menu::-webkit-scrollbar {
162
- --at-apply: hidden;
210
+ display: none;
163
211
  }
164
212
 
165
213
  .menu :deep(.menu-item) .menu-item-container {
166
- --at-apply: h-[50px] px-5px py-0 text-[--g-main-sidebar-menu-color] bg-[--g-main-sidebar-menu-bg];
214
+ height: 50px;
215
+ padding-left: 5px;
216
+ padding-right: 5px;
217
+ padding-top: 0;
218
+ padding-bottom: 0;
219
+ color: var(--g-main-sidebar-menu-color);
220
+ background-color: var(--g-main-sidebar-menu-bg);
167
221
  }
168
222
 
169
223
  .menu :deep(.menu-item) .menu-item-container .menu-item-container-icon {
170
- --at-apply: scale-100;
224
+ transform: scaleX(1) scaleY(1);
171
225
  font-size: 24px !important;
172
226
  }
173
227
 
@@ -85,8 +85,14 @@ function onSidebarScroll(e: Event) {
85
85
 
86
86
  <style lang="css" scoped>
87
87
  .sub-sidebar-container {
88
- --at-apply: absolute flex flex-col left-0 inset-y-0
89
- w-[--g-sub-sidebar-width] bg-[--g-sub-sidebar-bg];
88
+ position: absolute;
89
+ display: flex;
90
+ flex-direction: column;
91
+ left: 0;
92
+ top: 0;
93
+ bottom: 0;
94
+ width: var(--g-sub-sidebar-width);
95
+ background-color: var(--g-sub-sidebar-bg);
90
96
  transition: background-color 0.3s, left 0.3s, width 0.3s;
91
97
  }
92
98
 
@@ -95,15 +101,15 @@ function onSidebarScroll(e: Event) {
95
101
  }
96
102
 
97
103
  .sub-sidebar-container.is-collapse .sidebar-logo:not(.sidebar-logo-bg) {
98
- --at-apply: hidden;
104
+ display: none;
99
105
  }
100
106
 
101
107
  .sub-sidebar-container.is-collapse .sidebar-logo :deep(span) {
102
- --at-apply: hidden;
108
+ display: none;
103
109
  }
104
110
 
105
111
  .sidebar-logo {
106
- --at-apply: bg-[--g-sub-sidebar-bg];
112
+ background-color: var(--g-sub-sidebar-bg);
107
113
  transition: background-color 0.3s;
108
114
  }
109
115
 
@@ -116,7 +122,7 @@ function onSidebarScroll(e: Event) {
116
122
  }
117
123
 
118
124
  .sub-sidebar {
119
- --at-apply: flex-1;
125
+ flex: 1 1 0%;
120
126
  overflow: hidden auto;
121
127
  overscroll-behavior: contain;
122
128
  scrollbar-width: none;
@@ -124,7 +130,7 @@ function onSidebarScroll(e: Event) {
124
130
  }
125
131
 
126
132
  .sub-sidebar::-webkit-scrollbar {
127
- --at-apply: hidden;
133
+ display: none;
128
134
  }
129
135
 
130
136
  .sub-sidebar.shadow {
@@ -132,7 +138,7 @@ function onSidebarScroll(e: Event) {
132
138
  }
133
139
 
134
140
  .menu {
135
- --at-apply: w-full;
141
+ width: 100%;
136
142
  }
137
143
 
138
144
  /* 次侧边栏动画 */
@@ -142,11 +148,11 @@ function onSidebarScroll(e: Event) {
142
148
 
143
149
  .sub-sidebar-enter-from,
144
150
  .sub-sidebar-leave-active {
145
- --at-apply: op-0;
151
+ opacity: 0;
146
152
  transform: translateY(30px) skewY(10deg);
147
153
  }
148
154
 
149
155
  .sub-sidebar-leave-active {
150
- --at-apply: absolute;
156
+ position: absolute;
151
157
  }
152
158
  </style>
@@ -6,10 +6,10 @@
6
6
 
7
7
  <style scoped>
8
8
  :deep(.breadcrumb-item):first-child .separator {
9
- --at-apply: hidden;
9
+ display: none;
10
10
  }
11
11
 
12
12
  :deep(.breadcrumb-item):last-child .text {
13
- --at-apply: op-100;
13
+ opacity: 1;
14
14
  }
15
15
  </style>
@@ -81,19 +81,40 @@ function toggleColorScheme(event: MouseEvent) {
81
81
 
82
82
  <style scoped>
83
83
  .animate-icon {
84
- --at-apply: relative size-[20px] rounded-1/2 inline-block align-middle;
84
+ position: relative;
85
+ width: 20px;
86
+ height: 20px;
87
+ border-radius: 50%;
88
+ display: inline-block;
89
+ vertical-align: middle;
85
90
  box-shadow: inset 6px -6px 0 0 #fff; /* 比例缩小 */
86
91
  transition: box-shadow 0.5s ease 0s, transform 0.4s ease 0.1s;
87
92
  transform: scale(1) rotate(-2deg);
88
93
  }
89
94
 
90
95
  .animate-icon::before {
91
- --at-apply: absolute size-[20px] content-empty rounded-[inherit] left-0 top-0 block;
96
+ position: absolute;
97
+ width: 20px;
98
+ height: 20px;
99
+ content: "";
100
+ border-radius: inherit;
101
+ left: 0;
102
+ top: 0;
103
+ display: block;
92
104
  transition: background 0.3s ease;
93
105
  }
94
106
 
95
107
  .animate-icon::after {
96
- --at-apply: absolute top-1/2 left-1/2 size-1 -ml-0.5 -mt-0.5 rounded-[50%] content-empty block;
108
+ position: absolute;
109
+ top: 50%;
110
+ left: 50%;
111
+ width: 0.25rem; /* 4px */
112
+ height: 0.25rem; /* 4px */
113
+ margin-left: -0.125rem; /* -2px */
114
+ margin-top: -0.125rem; /* -2px */
115
+ border-radius: 50%;
116
+ content: "";
117
+ display: block;
97
118
  box-shadow:
98
119
  0 -12px 0 #ffce6e,
99
120
  0 12px 0 #ffce6e,
@@ -108,7 +129,8 @@ function toggleColorScheme(event: MouseEvent) {
108
129
  }
109
130
 
110
131
  .animate-icon-day {
111
- --at-apply: size-5;
132
+ width: 1.25rem; /* 20px */
133
+ height: 1.25rem; /* 20px */
112
134
  box-shadow: inset 10px -10px 0 0 #fff; /* 缩小后的太阳核心 */
113
135
  transition: transform 0.3s ease 0.1s, box-shadow 0.2s ease 0s;
114
136
  transform: scale(0.5) rotate(0deg);