@kne/system-layout 0.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,153 @@
1
+
2
+ # system-layout
3
+
4
+
5
+ ### 描述
6
+
7
+ 用于一个系统初始化布局
8
+
9
+
10
+ ### 安装
11
+
12
+ ```shell
13
+ npm i --save @kne/system-layout
14
+ ```
15
+
16
+
17
+ ### 概述
18
+
19
+ 用于一个系统初始化布局,提供基础的页面结构和功能模块。
20
+
21
+ #### 功能模块
22
+
23
+ - **布局组件**:提供灵活的页面布局,支持菜单展开/折叠。
24
+ - **用户信息展示**:支持用户卡片展示。
25
+ - **菜单管理**:支持动态菜单配置和路由跳转。
26
+
27
+
28
+ #### 注意
29
+
30
+ * 请不要忘记引用包的样式
31
+
32
+ ```js
33
+ import SystemLayout from '@kne/system-layout';
34
+ import '@kne/system-layout/dist/index.css';
35
+ ```
36
+
37
+ #### TODO
38
+
39
+ - [x] 完成基础布局
40
+ - [ ] 适配到移动端
41
+
42
+ ### 示例
43
+
44
+
45
+ #### 示例样式
46
+
47
+ ```scss
48
+ .ant-card {
49
+ border-color: black;
50
+ text-align: center;
51
+ width: 200px;
52
+ }
53
+ ```
54
+
55
+ #### 示例代码
56
+
57
+ - 这里填写示例标题
58
+ - 这里填写示例说明
59
+ - _SystemLayout(@kne/current-lib_system-layout)[import * as _SystemLayout from "@kne/system-layout"],(@kne/current-lib_system-layout/dist/index.css)
60
+
61
+ ```jsx
62
+ const { default: SystemLayout } = _SystemLayout;
63
+
64
+ const BaseExample = () => {
65
+ return (
66
+ <div>
67
+ <SystemLayout
68
+ userInfo={{
69
+ name: 'Lucy L',
70
+ email: 'lucy@company.com'
71
+ }}
72
+ aiDialog={{}}
73
+ menu={{
74
+ base: 'SystemLayout',
75
+ items: [
76
+ {
77
+ path: '/',
78
+ label: 'Onboarding',
79
+ icon: ({ active }) => (active ? 'home' : 'home_line')
80
+ },
81
+ {
82
+ group: 'HIRING',
83
+ path: '/hiring',
84
+ label: 'Hiring Hub',
85
+ icon: 'icon-assignment_ind'
86
+ },
87
+ {
88
+ group: 'HIRING',
89
+ path: '/hiring/application',
90
+ label: 'Application List',
91
+ icon: 'icon-assignment'
92
+ },
93
+ {
94
+ group: 'PEOPLE',
95
+ path: '/people',
96
+ label: 'Management',
97
+ icon: 'icon-automation'
98
+ },
99
+ {
100
+ group: 'TALENT REVIEW',
101
+ path: '/talent-review',
102
+ label: 'Projects',
103
+ icon: 'icon-manage_accounts'
104
+ },
105
+ {
106
+ group: 'TALENT REVIEW',
107
+ path: '/talent-review/employee',
108
+ label: 'Employee',
109
+ icon: 'icon-groups_2'
110
+ },
111
+ {
112
+ group: 'TALENT REVIEW',
113
+ path: '/talent-review/ai-models',
114
+ label: 'AI Models',
115
+ icon: 'icon-network_intelligence'
116
+ }
117
+ ]
118
+ }}
119
+ />
120
+ </div>
121
+ );
122
+ };
123
+
124
+ render(<BaseExample />);
125
+
126
+ ```
127
+
128
+
129
+ ### API
130
+
131
+ | 属性 | 类型 | 默认值 | 说明 |
132
+ |------|------|--------|------|
133
+ | `className` | `string` | - | 自定义类名 |
134
+ | `menu` | `object` | - | 菜单配置 |
135
+ | `background` | `string` | `linear-gradient(0deg, #BBCFE7 0%, #BBCFE7 100%), #FFFFFF` | 背景样式 |
136
+ | `menuMaxWidth` | `string` | `254px` | 菜单最大宽度 |
137
+ | `menuMinWidth` | `string` | `84px` | 菜单最小宽度 |
138
+ | `logo` | `object` | - | Logo 配置 |
139
+ | `menuHeader` | `ReactNode` | - | 菜单头部内容 |
140
+ | `userInfo` | `object` | - | 用户信息 |
141
+ | `aiDialog` | `object` | `null` | AI 对话框配置 |
142
+ | `children` | `ReactNode` | - | 子组件 |
143
+
144
+ #### Menu 组件
145
+
146
+ | 属性 | 类型 | 默认值 | 说明 |
147
+ |------|------|--------|------|
148
+ | `className` | `string` | - | 自定义类名 |
149
+ | `menuOpen` | `boolean` | - | 菜单是否展开 |
150
+ | `items` | `array` | - | 菜单项配置 |
151
+ | `activeKey` | `string` 或 `function` | - | 当前激活的菜单项 |
152
+ | `base` | `string` | `''` | 基础路径 |
153
+ | `onChange` | `function` | - | 菜单项点击回调 |
Binary file
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1679367216639" class="icon" viewBox="0 0 1030 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1696" xmlns:xlink="http://www.w3.org/1999/xlink" width="201.171875" height="200"><path d="M252.479711 385.587015v293.958522l258.791705 146.528403 258.791704-146.528403V385.587015l-251.127142-145.62669L252.479711 385.587015z" fill="#036EB8" opacity=".1" p-id="1697"></path><path d="M778.629396 405.875564A20.739405 20.739405 0 0 1 766.456267 405.875564l-39.675383-21.641119a22.091975 22.091975 0 0 1 21.190261-39.224526l39.675383 21.190261a22.542831 22.542831 0 0 1-10.820559 42.380523z m-518.485122-6.76285a22.542831 22.542831 0 0 1-19.837691-12.173129 22.091975 22.091975 0 0 1 9.918845-30.207394l40.12624-20.739405a22.993688 22.993688 0 0 1 30.207394 9.918846 22.542831 22.542831 0 0 1-9.918846 30.207394L270.513977 396.858431a20.739405 20.739405 0 0 1-10.369703 2.254283z m399.909829-57.258792a22.542831 22.542831 0 0 1-10.820559-2.705139l-39.675383-21.190262a22.993688 22.993688 0 0 1-9.017133-30.65825 22.091975 22.091975 0 0 1 30.207394-9.017133l39.675383 21.190261a22.542831 22.542831 0 0 1-10.369702 42.380523z m-279.531109-4.057709a22.542831 22.542831 0 0 1-9.918846-45.085663l40.12624-20.288548a22.542831 22.542831 0 0 1 30.207394 9.467989 22.993688 22.993688 0 0 1-9.918846 33.814247l-40.12624 20.288548a20.739405 20.739405 0 0 1-10.369702 1.803427zM541.027953 277.381425a19.386835 19.386835 0 0 1-10.820559-2.70514L519.837692 270.618575l-8.566276 4.508567a22.542831 22.542831 0 0 1-20.288549-40.577097l18.935979-9.017132a23.895401 23.895401 0 0 1 20.739405 0l21.190261 11.722272a22.091975 22.091975 0 0 1 9.017133 30.207394 22.091975 22.091975 0 0 1-19.837692 9.918846z" fill="#036EB8" p-id="1698"></path><path d="M1002.70514 289.554554a24.346258 24.346258 0 0 1-9.918846 0L513.074842 47.895401 33.814247 287.300271a22.542831 22.542831 0 0 1-30.207394-10.369703 22.993688 22.993688 0 0 1 9.918846-30.207394L503.155996 2.358882a22.993688 22.993688 0 0 1 20.288549 0l489.179441 244.364292a22.542831 22.542831 0 0 1-9.918846 45.085663z" fill="#3E3A39" p-id="1699"></path><path d="M45.085663 762.052299a22.542831 22.542831 0 0 1-9.918846-40.577096l81.154193-39.675383A22.542831 22.542831 0 0 1 135.256988 721.475203l-81.154193 39.675383a24.346258 24.346258 0 0 1-9.017132 0.901713z m889.540126-14.427412a24.346258 24.346258 0 0 1-9.918846 0l-80.703336-40.577096a22.542831 22.542831 0 0 1-10.369703-30.207394 22.091975 22.091975 0 0 1 30.207394-9.918846l80.703337 40.12624a22.542831 22.542831 0 0 1-9.918846 42.831379zM206.943192 683.15239a23.444545 23.444545 0 0 1-20.288548-12.623986 22.993688 22.993688 0 0 1 10.369702-30.207394l81.154193-39.675383a22.993688 22.993688 0 0 1 30.207394 10.369702 22.542831 22.542831 0 0 1-10.369702 30.207394l-81.154193 39.675383a24.346258 24.346258 0 0 1-9.918846 2.254284z m566.275924-16.230839a26.600541 26.600541 0 0 1-9.918845 0l-80.703337-40.577097a22.091975 22.091975 0 0 1-9.918846-30.207394 22.542831 22.542831 0 0 1 30.207394-9.918845l80.703337 40.126239a22.993688 22.993688 0 0 1 9.918846 30.207395 22.542831 22.542831 0 0 1-20.288549 10.369702z m-405.770965-62.669071a22.091975 22.091975 0 0 1-20.288548-12.623986 22.542831 22.542831 0 0 1 13.525699-30.207394l81.154193-39.224527a22.542831 22.542831 0 0 1 30.207394 10.369703 22.091975 22.091975 0 0 1-10.369702 29.756537l-81.154193 39.675384a26.600541 26.600541 0 0 1-11.271416 2.254283z m242.560866-18.034265a19.837692 19.837692 0 0 1-9.918846-2.254284l-80.703336-40.577096a22.091975 22.091975 0 0 1-9.918846-30.207394 22.542831 22.542831 0 0 1 30.207394-9.918846l80.703337 40.12624a23.444545 23.444545 0 0 1 9.918845 30.658251 22.542831 22.542831 0 0 1-18.485121 12.173129z" fill="#036EB8" p-id="1700"></path><path d="M512.173129 1024a24.346258 24.346258 0 0 1-9.918846-2.254283L12.623986 783.242561a22.993688 22.993688 0 0 1-12.623986-20.288548V273.774572a23.444545 23.444545 0 0 1 10.820559-19.386835 21.641118 21.641118 0 0 1 21.641118 0l479.711452 238.954012L991.884581 253.486023a21.641118 21.641118 0 0 1 21.641118 0 23.444545 23.444545 0 0 1 10.820559 19.386835v490.081155a22.993688 22.993688 0 0 1-12.623986 20.288548l-490.081154 238.503156a22.542831 22.542831 0 0 1-9.467989 2.254283zM45.085663 748.526601l467.087466 225.428313 467.087466-225.428313V310.293959l-454.914337 225.428313a22.542831 22.542831 0 0 1-22.091975 0L45.085663 310.293959z" fill="#3E3A39" p-id="1701"></path><path d="M511.722272 1020.393147a22.542831 22.542831 0 0 1-22.542831-22.542831V526.254283a22.542831 22.542831 0 0 1 45.085663 0v471.596033a22.542831 22.542831 0 0 1-22.542832 22.542831z" fill="#3E3A39" p-id="1702"></path><path d="M512.623986 841.853922a18.935978 18.935978 0 0 1-9.918846-2.254283l-266.005411-128.043282a22.091975 22.091975 0 0 1-11.271415-20.288548V383.783589a22.542831 22.542831 0 0 1 22.542831-22.542832 22.542831 22.542831 0 0 1 22.542832 22.542832V676.38954l243.913435 117.222723 243.462579-117.222723V383.783589a22.542831 22.542831 0 0 1 22.542831-22.542832 22.542831 22.542831 0 0 1 22.542832 22.542832v307.48422a22.542831 22.542831 0 0 1-12.623986 20.288548l-266.00541 128.043282a19.837692 19.837692 0 0 1-11.722272 2.254283z" fill="#3E3A39" p-id="1703"></path></svg>
@@ -0,0 +1,8 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0_2_3763" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
3
+ <rect width="24" height="24" fill="#D9D9D9"/>
4
+ </mask>
5
+ <g mask="url(#mask0_2_3763)">
6
+ <path d="M10.1484 16.15L6.69844 12.7C6.49844 12.5 6.39844 12.2667 6.39844 12C6.39844 11.7333 6.49844 11.5 6.69844 11.3L10.1484 7.85C10.3151 7.68333 10.4984 7.64167 10.6984 7.725C10.8984 7.80833 10.9984 7.96667 10.9984 8.2V15.8C10.9984 16.0333 10.8984 16.1917 10.6984 16.275C10.4984 16.3583 10.3151 16.3167 10.1484 16.15ZM12.9984 20V4C12.9984 3.71667 13.0943 3.47917 13.2859 3.2875C13.4776 3.09583 13.7151 3 13.9984 3C14.2818 3 14.5193 3.09583 14.7109 3.2875C14.9026 3.47917 14.9984 3.71667 14.9984 4V20C14.9984 20.2833 14.9026 20.5208 14.7109 20.7125C14.5193 20.9042 14.2818 21 13.9984 21C13.7151 21 13.4776 20.9042 13.2859 20.7125C13.0943 20.5208 12.9984 20.2833 12.9984 20Z" fill="black" fill-opacity="0.6"/>
7
+ </g>
8
+ </svg>
Binary file
Binary file
package/dist/index.css ADDED
@@ -0,0 +1,475 @@
1
+ @font-face {
2
+ font-family: 'system'; /* Project id 5022759 */
3
+ /* Color fonts */
4
+ src:
5
+ url('f28f96f63c62249d.woff2?t=1758011291118') format('woff2'),
6
+ url('f60ff96926291dab.woff?t=1758011291118') format('woff'),
7
+ url('7a3823488a49971b.ttf?t=1758011291118') format('truetype');
8
+ }
9
+
10
+ .system {
11
+ font-family: 'system' !important;
12
+ font-size: 16px;
13
+ font-style: normal;
14
+ -webkit-font-smoothing: antialiased;
15
+ -moz-osx-font-smoothing: grayscale;
16
+ }
17
+
18
+ .icon-chart_data:before {
19
+ content: '\e63d';
20
+ }
21
+
22
+ .icon-contacts:before {
23
+ content: '\e63e';
24
+ }
25
+
26
+ .icon-assignment:before {
27
+ content: '\e63f';
28
+ }
29
+
30
+ .icon-manage_accounts:before {
31
+ content: '\e640';
32
+ }
33
+
34
+ .icon-assignment_ind:before {
35
+ content: '\e641';
36
+ }
37
+
38
+ .icon-network_intelligence:before {
39
+ content: '\e639';
40
+ }
41
+
42
+ .icon-automation:before {
43
+ content: '\e63a';
44
+ }
45
+
46
+ .icon-groups_2:before {
47
+ content: '\e63b';
48
+ }
49
+
50
+ .icon-snippet_folder:before {
51
+ content: '\e63c';
52
+ }
53
+
54
+ .icon-home:before {
55
+ content: '\e637';
56
+ }
57
+
58
+ .icon-home_line:before {
59
+ content: '\e638';
60
+ }
61
+
62
+ .icon-a-Typeedit:before {
63
+ content: '\e62b';
64
+ }
65
+
66
+ .icon-a-Typefilter_alt:before {
67
+ content: '\e62c';
68
+ }
69
+
70
+ .icon-a-Typearrow_upload_ready:before {
71
+ content: '\e62d';
72
+ }
73
+
74
+ .icon-a-Typeadd:before {
75
+ content: '\e62e';
76
+ }
77
+
78
+ .icon-a-Typecheck_indeterminate_small:before {
79
+ content: '\e62f';
80
+ }
81
+
82
+ .icon-a-Typeclose_small:before {
83
+ content: '\e630';
84
+ }
85
+
86
+ .icon-a-Typeadd_2:before {
87
+ content: '\e631';
88
+ }
89
+
90
+ .icon-a-Typearrow_forward_ios:before {
91
+ content: '\e632';
92
+ }
93
+
94
+ .icon-a-Typearrow_drop_down:before {
95
+ content: '\e633';
96
+ }
97
+
98
+ .icon-a-Typedescription:before {
99
+ content: '\e634';
100
+ }
101
+
102
+ .icon-a-Typebalance:before {
103
+ content: '\e635';
104
+ }
105
+
106
+ .icon-a-Typedelete:before {
107
+ content: '\e636';
108
+ }
109
+
110
+ .icon-a-Typelink:before {
111
+ content: '\e617';
112
+ }
113
+
114
+ .icon-a-Typeios_share:before {
115
+ content: '\e618';
116
+ }
117
+
118
+ .icon-a-Typemobile_2:before {
119
+ content: '\e619';
120
+ }
121
+
122
+ .icon-a-Typesend:before {
123
+ content: '\e61a';
124
+ }
125
+
126
+ .icon-a-Typecalendar_month:before {
127
+ content: '\e61b';
128
+ }
129
+
130
+ .icon-a-Typesettings:before {
131
+ content: '\e61c';
132
+ }
133
+
134
+ .icon-a-Typeqr_code:before {
135
+ content: '\e61d';
136
+ }
137
+
138
+ .icon-a-Typekeyboard_arrow_down:before {
139
+ content: '\e61e';
140
+ }
141
+
142
+ .icon-a-Typehide:before {
143
+ content: '\e61f';
144
+ }
145
+
146
+ .icon-a-Typeimagesmode:before {
147
+ content: '\e620';
148
+ }
149
+
150
+ .icon-a-Typedrag_handle:before {
151
+ content: '\e621';
152
+ }
153
+
154
+ .icon-a-Typeattach_file_add:before {
155
+ content: '\e622';
156
+ }
157
+
158
+ .icon-a-Typecontent_copy:before {
159
+ content: '\e623';
160
+ }
161
+
162
+ .icon-a-Typecheck_small:before {
163
+ content: '\e624';
164
+ }
165
+
166
+ .icon-a-Typechevron_right:before {
167
+ content: '\e625';
168
+ }
169
+
170
+ .icon-a-Typechevron_backward:before {
171
+ content: '\e626';
172
+ }
173
+
174
+ .icon-a-Typeinfo:before {
175
+ content: '\e627';
176
+ }
177
+
178
+ .icon-a-Typeequal:before {
179
+ content: '\e628';
180
+ }
181
+
182
+ .icon-a-Typeinstant_mix:before {
183
+ content: '\e629';
184
+ }
185
+
186
+ .icon-a-Typeclose:before {
187
+ content: '\e62a';
188
+ }
189
+
190
+ .icon-a-Typeupload:before {
191
+ content: '\e60b';
192
+ }
193
+
194
+ .icon-a-Typesave:before {
195
+ content: '\e60c';
196
+ }
197
+
198
+ .icon-a-Typemail:before {
199
+ content: '\e609';
200
+ }
201
+
202
+ .icon-a-Typeeast:before {
203
+ content: '\e60a';
204
+ }
205
+
206
+ .icon-a-Typepercent:before {
207
+ content: '\e60d';
208
+ }
209
+
210
+ .icon-a-Typecheck:before {
211
+ content: '\e608';
212
+ }
213
+
214
+ .icon-a-Typepicture_in_picture_small:before {
215
+ content: '\e60e';
216
+ }
217
+
218
+ .icon-a-Typemove_item:before {
219
+ content: '\e60f';
220
+ }
221
+
222
+ .icon-a-Typediversity_3:before {
223
+ content: '\e610';
224
+ }
225
+
226
+ .icon-a-Typeperson_add:before {
227
+ content: '\e611';
228
+ }
229
+
230
+ .icon-a-Typecheck_circle:before {
231
+ content: '\e612';
232
+ }
233
+
234
+ .icon-a-Typeedit_off:before {
235
+ content: '\e613';
236
+ }
237
+
238
+ .icon-a-Typeopen_in_full:before {
239
+ content: '\e614';
240
+ }
241
+
242
+ .icon-a-Typesearch:before {
243
+ content: '\e615';
244
+ }
245
+
246
+ .icon-a-Typedownload:before {
247
+ content: '\e616';
248
+ }
249
+
250
+ ._sK89O {
251
+ --window-width: calc(100vw);
252
+ --window-height: calc(100vh);
253
+ --page-height: calc(100vh - 48px);
254
+ --page-content-height: calc(var(--page-height) - 48px);
255
+ width: var(--window-width);
256
+ height: var(--window-height);
257
+ background: var(--background);
258
+ box-sizing: border-box;
259
+ padding: 24px 24px 24px 0;
260
+ position: relative;
261
+ }
262
+
263
+ ._-LpWn {
264
+ flex: none;
265
+ transition: width 0.3s;
266
+ position: relative;
267
+ }
268
+ ._-LpWn._G-zuN {
269
+ width: var(--menu-max-width);
270
+ }
271
+ ._-LpWn:not(._G-zuN) {
272
+ width: var(--menu-min-width);
273
+ }
274
+ ._-LpWn:not(._G-zuN) ._7wq3X {
275
+ padding: 0 16px;
276
+ }
277
+ ._-LpWn:not(._G-zuN) ._-T-Dc {
278
+ padding: 8px 16px;
279
+ justify-content: center;
280
+ }
281
+ ._-LpWn:not(._G-zuN) ._LOrmu {
282
+ padding: 12px 0;
283
+ border: none;
284
+ background: none;
285
+ }
286
+
287
+ ._-T-Dc {
288
+ padding: 8px 24px;
289
+ display: flex;
290
+ justify-content: flex-start;
291
+ }
292
+ ._-T-Dc img {
293
+ height: 24px;
294
+ object-fit: fill;
295
+ }
296
+
297
+ ._2cRWf {
298
+ display: flex;
299
+ align-items: center;
300
+ }
301
+
302
+ ._8dzE7 {
303
+ position: absolute;
304
+ right: 0;
305
+ z-index: 999;
306
+ transform: translate(0, -32px);
307
+ cursor: pointer;
308
+ }
309
+
310
+ ._7wq3X {
311
+ padding: 0 8px 0 16px;
312
+ margin-top: 12px;
313
+ }
314
+
315
+ ._LOrmu {
316
+ border-radius: 8px;
317
+ border: 1px solid rgba(255, 255, 255, 0.3);
318
+ background: rgba(255, 255, 255, 0.12);
319
+ backdrop-filter: blur(10px);
320
+ min-height: 40px;
321
+ padding: 12px 16px;
322
+ display: flex;
323
+ justify-content: center;
324
+ overflow: hidden;
325
+ }
326
+
327
+ ._b7XeQ {
328
+ font-weight: 500;
329
+ }
330
+
331
+ ._U0YTk {
332
+ font-size: 12px;
333
+ color: var(--font-color-grey);
334
+ }
335
+
336
+ ._HnwkM {
337
+ padding: 24px;
338
+ height: var(--page-height);
339
+ border-radius: 12px;
340
+ border: 1px solid rgba(255, 255, 255, 0.1);
341
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.5) 100%);
342
+ box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05), 0 15px 30px 0 rgba(0, 0, 0, 0.08), 0 20px 40px 0 rgba(0, 0, 0, 0.08);
343
+ backdrop-filter: blur(10px);
344
+ }
345
+
346
+ ._8gqbZ {
347
+ margin-top: 16px;
348
+ }
349
+
350
+ ._5qnw5 {
351
+ display: flex;
352
+ justify-content: center;
353
+ align-items: center;
354
+ box-sizing: border-box;
355
+ position: absolute;
356
+ bottom: 0;
357
+ left: 16px;
358
+ padding: 12px;
359
+ font-size: 24px;
360
+ border-radius: 8px;
361
+ background: rgba(255, 255, 255, 0.4);
362
+ backdrop-filter: blur(40px);
363
+ cursor: pointer;
364
+ transition: all 0.3s;
365
+ }
366
+ ._5qnw5:hover {
367
+ background: rgba(255, 255, 255, 0.6);
368
+ backdrop-filter: blur(40px) saturate(1.5);
369
+ transform: scale(1.1);
370
+ }
371
+
372
+ ._UAJc- {
373
+ --container-width: 400px;
374
+ --container-height: 400px;
375
+ background: rgba(255, 255, 255, 0.4);
376
+ backdrop-filter: blur(10px);
377
+ border-radius: 8px;
378
+ width: var(--container-width);
379
+ height: var(--container-height);
380
+ position: absolute;
381
+ bottom: 24px;
382
+ left: 16px;
383
+ box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05), 0 15px 30px 0 rgba(0, 0, 0, 0.08);
384
+ transition: all 0.3s;
385
+ }
386
+ ._UAJc-:hover {
387
+ background: rgba(255, 255, 255, 0.6);
388
+ backdrop-filter: blur(10px) saturate(1.5);
389
+ transform: scale(1.02);
390
+ }
391
+
392
+ ._UhsFd {
393
+ background: rgba(255, 255, 255, 0.4);
394
+ border-radius: 8px;
395
+ height: 100%;
396
+ transition: all 0.3s;
397
+ }
398
+ ._UhsFd:hover {
399
+ backdrop-filter: blur(40px) saturate(1.2);
400
+ transform: scale(1.01);
401
+ }
402
+
403
+ ._2mdNn {
404
+ height: calc(var(--page-content-height) - 48px);
405
+ }
406
+
407
+ ._nyAa2 {
408
+ width: 100%;
409
+ }
410
+
411
+ ._33Tja {
412
+ height: 58px;
413
+ align-items: center;
414
+ justify-content: space-between;
415
+ padding: 0 16px;
416
+ }
417
+ ._33Tja .btn {
418
+ font-size: 24px;
419
+ color: var(--font-color-grey);
420
+ cursor: pointer;
421
+ }
422
+
423
+ ._YmBhl {
424
+ height: calc(var(--container-height) - 58px);
425
+ }
426
+ ._Rfzv4 {
427
+ font-size: 12px;
428
+ color: var(--font-color-grey);
429
+ line-height: 24px;
430
+ padding: 12px;
431
+ }
432
+
433
+ ._qoDtD {
434
+ color: var(--font-color-grey);
435
+ }
436
+
437
+ ._socoO {
438
+ opacity: 0.6;
439
+ background: var(--font-color-grey-3);
440
+ height: 1px;
441
+ width: 28px;
442
+ margin: 8px auto;
443
+ }
444
+
445
+ ._Xa-2h {
446
+ line-height: 24px;
447
+ padding: 12px;
448
+ margin: 2px 0;
449
+ border-radius: 8px;
450
+ cursor: pointer;
451
+ transition: all 0.3s;
452
+ }
453
+ ._Xa-2h:hover {
454
+ backdrop-filter: brightness(1.1);
455
+ transform: scale(1.02);
456
+ }
457
+ ._Xa-2h.is-active {
458
+ background: linear-gradient(270deg, rgba(255, 255, 255, 0) -4%, rgba(255, 255, 255, 0.4) 70%, rgba(255, 255, 255, 0.3) 100%);
459
+ box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.05);
460
+ }
461
+ ._Xa-2h.is-active ._qoDtD {
462
+ color: var(--primary-color);
463
+ }
464
+ ._Xa-2h.is-closed {
465
+ display: flex;
466
+ justify-content: center;
467
+ }
468
+ ._Xa-2h.is-closed.is-active {
469
+ background: rgba(255, 255, 255, 0.6);
470
+ backdrop-filter: blur(40px) saturate(1.5);
471
+ }
472
+ ._Xa-2h.is-closed ._qoDtD {
473
+ font-size: 24px;
474
+ }
475
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["iconfont.css","style.module.scss"],"names":[],"mappings":"AAAA;EACE,qBAAqB,EAAE,uBAAuB;EAC9C,gBAAgB;EAChB;;;kEAGwD;AAC1D;;AAEA;EACE,gCAAgC;EAChC,eAAe;EACf,kBAAkB;EAClB,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EAC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;EAClB,YAAY;EACZ,UAAU;EACV,+EAA+E;EAC/E,oBAAoB;AACtB;AACA;EACE,oCAAoC;EACpC,yCAAyC;EACzC,sBAAsB;AACxB;;AAEA;EACE,oCAAoC;EACpC,kBAAkB;EAClB,YAAY;EACZ,oBAAoB;AACtB;AACA;EACE,yCAAyC;EACzC,sBAAsB;AACxB;;AAEA;EACE,+CAA+C;AACjD;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,YAAY;EACZ,mBAAmB;EACnB,8BAA8B;EAC9B,eAAe;AACjB;AACA;EACE,eAAe;EACf,6BAA6B;EAC7B,eAAe;AACjB;;AAEA;EACE,4CAA4C;AAC9C;AA/KA;EACE,eAAe;EACf,6BAA6B;EAC7B,iBAAiB;EACjB,aAAa;AACf;;AAEA;EACE,6BAA6B;AAC/B;;AAEA;EACE,YAAY;EACZ,oCAAoC;EACpC,WAAW;EACX,WAAW;EACX,gBAAgB;AAClB;;AAEA;EACE,iBAAiB;EACjB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,eAAe;EACf,oBAAoB;AACtB;AACA;EACE,gCAAgC;EAChC,sBAAsB;AACxB;AACA;EACE,4HAA4H;EAC5H,8CAA8C;AAChD;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,aAAa;EACb,uBAAuB;AACzB;AACA;EACE,oCAAoC;EACpC,yCAAyC;AAC3C;AACA;EACE,eAAe;AACjB","file":"index.css","sourcesContent":["@font-face {\n font-family: 'system'; /* Project id 5022759 */\n /* Color fonts */\n src:\n url('iconfont.woff2?t=1758011291118') format('woff2'),\n url('iconfont.woff?t=1758011291118') format('woff'),\n url('iconfont.ttf?t=1758011291118') format('truetype');\n}\n\n.system {\n font-family: 'system' !important;\n font-size: 16px;\n font-style: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icon-chart_data:before {\n content: '\\e63d';\n}\n\n.icon-contacts:before {\n content: '\\e63e';\n}\n\n.icon-assignment:before {\n content: '\\e63f';\n}\n\n.icon-manage_accounts:before {\n content: '\\e640';\n}\n\n.icon-assignment_ind:before {\n content: '\\e641';\n}\n\n.icon-network_intelligence:before {\n content: '\\e639';\n}\n\n.icon-automation:before {\n content: '\\e63a';\n}\n\n.icon-groups_2:before {\n content: '\\e63b';\n}\n\n.icon-snippet_folder:before {\n content: '\\e63c';\n}\n\n.icon-home:before {\n content: '\\e637';\n}\n\n.icon-home_line:before {\n content: '\\e638';\n}\n\n.icon-a-Typeedit:before {\n content: '\\e62b';\n}\n\n.icon-a-Typefilter_alt:before {\n content: '\\e62c';\n}\n\n.icon-a-Typearrow_upload_ready:before {\n content: '\\e62d';\n}\n\n.icon-a-Typeadd:before {\n content: '\\e62e';\n}\n\n.icon-a-Typecheck_indeterminate_small:before {\n content: '\\e62f';\n}\n\n.icon-a-Typeclose_small:before {\n content: '\\e630';\n}\n\n.icon-a-Typeadd_2:before {\n content: '\\e631';\n}\n\n.icon-a-Typearrow_forward_ios:before {\n content: '\\e632';\n}\n\n.icon-a-Typearrow_drop_down:before {\n content: '\\e633';\n}\n\n.icon-a-Typedescription:before {\n content: '\\e634';\n}\n\n.icon-a-Typebalance:before {\n content: '\\e635';\n}\n\n.icon-a-Typedelete:before {\n content: '\\e636';\n}\n\n.icon-a-Typelink:before {\n content: '\\e617';\n}\n\n.icon-a-Typeios_share:before {\n content: '\\e618';\n}\n\n.icon-a-Typemobile_2:before {\n content: '\\e619';\n}\n\n.icon-a-Typesend:before {\n content: '\\e61a';\n}\n\n.icon-a-Typecalendar_month:before {\n content: '\\e61b';\n}\n\n.icon-a-Typesettings:before {\n content: '\\e61c';\n}\n\n.icon-a-Typeqr_code:before {\n content: '\\e61d';\n}\n\n.icon-a-Typekeyboard_arrow_down:before {\n content: '\\e61e';\n}\n\n.icon-a-Typehide:before {\n content: '\\e61f';\n}\n\n.icon-a-Typeimagesmode:before {\n content: '\\e620';\n}\n\n.icon-a-Typedrag_handle:before {\n content: '\\e621';\n}\n\n.icon-a-Typeattach_file_add:before {\n content: '\\e622';\n}\n\n.icon-a-Typecontent_copy:before {\n content: '\\e623';\n}\n\n.icon-a-Typecheck_small:before {\n content: '\\e624';\n}\n\n.icon-a-Typechevron_right:before {\n content: '\\e625';\n}\n\n.icon-a-Typechevron_backward:before {\n content: '\\e626';\n}\n\n.icon-a-Typeinfo:before {\n content: '\\e627';\n}\n\n.icon-a-Typeequal:before {\n content: '\\e628';\n}\n\n.icon-a-Typeinstant_mix:before {\n content: '\\e629';\n}\n\n.icon-a-Typeclose:before {\n content: '\\e62a';\n}\n\n.icon-a-Typeupload:before {\n content: '\\e60b';\n}\n\n.icon-a-Typesave:before {\n content: '\\e60c';\n}\n\n.icon-a-Typemail:before {\n content: '\\e609';\n}\n\n.icon-a-Typeeast:before {\n content: '\\e60a';\n}\n\n.icon-a-Typepercent:before {\n content: '\\e60d';\n}\n\n.icon-a-Typecheck:before {\n content: '\\e608';\n}\n\n.icon-a-Typepicture_in_picture_small:before {\n content: '\\e60e';\n}\n\n.icon-a-Typemove_item:before {\n content: '\\e60f';\n}\n\n.icon-a-Typediversity_3:before {\n content: '\\e610';\n}\n\n.icon-a-Typeperson_add:before {\n content: '\\e611';\n}\n\n.icon-a-Typecheck_circle:before {\n content: '\\e612';\n}\n\n.icon-a-Typeedit_off:before {\n content: '\\e613';\n}\n\n.icon-a-Typeopen_in_full:before {\n content: '\\e614';\n}\n\n.icon-a-Typesearch:before {\n content: '\\e615';\n}\n\n.icon-a-Typedownload:before {\n content: '\\e616';\n}\n",".menu-group {\n font-size: 12px;\n color: var(--font-color-grey);\n line-height: 24px;\n padding: 12px;\n}\n\n.menu-item-icon {\n color: var(--font-color-grey);\n}\n\n.menu-group-split {\n opacity: 0.6;\n background: var(--font-color-grey-3);\n height: 1px;\n width: 28px;\n margin: 8px auto;\n}\n\n.menu-item {\n line-height: 24px;\n padding: 12px;\n margin: 2px 0;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.menu-item:hover {\n backdrop-filter: brightness(1.1);\n transform: scale(1.02);\n}\n.menu-item:global(.is-active) {\n background: linear-gradient(270deg, rgba(255, 255, 255, 0) -4%, rgba(255, 255, 255, 0.4) 70%, rgba(255, 255, 255, 0.3) 100%);\n box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.05);\n}\n.menu-item:global(.is-active) .menu-item-icon {\n color: var(--primary-color);\n}\n.menu-item:global(.is-closed) {\n display: flex;\n justify-content: center;\n}\n.menu-item:global(.is-closed):global(.is-active) {\n background: rgba(255, 255, 255, 0.6);\n backdrop-filter: blur(40px) saturate(1.5);\n}\n.menu-item:global(.is-closed) .menu-item-icon {\n font-size: 24px;\n}"]}