@planeasyinc/le-angular 0.0.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.
- package/README.md +6 -0
- package/dist/README.md +6 -0
- package/dist/fesm2022/planeasyinc-le-angular.mjs +1640 -0
- package/dist/fesm2022/planeasyinc-le-angular.mjs.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/lib/components/container/container.component.d.ts +16 -0
- package/dist/lib/components/node/node.component.d.ts +7 -0
- package/dist/lib/components/sidebar/sidebar.component.d.ts +27 -0
- package/dist/lib/components/toast-list/toast-list.component.d.ts +9 -0
- package/dist/lib/constants/default-config.d.ts +2 -0
- package/dist/lib/directives/le-drawer-container.directive.d.ts +5 -0
- package/dist/lib/directives/le-drawer-content.directive.d.ts +5 -0
- package/dist/lib/directives/le-drawer.directive.d.ts +9 -0
- package/dist/lib/icons/icons-map.d.ts +17 -0
- package/dist/lib/icons/le-icon.component.d.ts +23 -0
- package/dist/lib/icons/svg/arrow-down.d.ts +5 -0
- package/dist/lib/icons/svg/chevron.d.ts +5 -0
- package/dist/lib/icons/svg/sort.d.ts +5 -0
- package/dist/lib/interceptors/le-auth.interceptor.d.ts +2 -0
- package/dist/lib/providers/provideConfig.d.ts +11 -0
- package/dist/lib/services/le-api.service.d.ts +17 -0
- package/dist/lib/services/le-auth.service.d.ts +16 -0
- package/dist/lib/services/le-data.service.d.ts +24 -0
- package/dist/lib/services/le-toast.service.d.ts +39 -0
- package/dist/lib/templates/index.d.ts +9 -0
- package/dist/lib/templates/json.template.d.ts +6 -0
- package/dist/lib/templates/reference.template.d.ts +6 -0
- package/dist/lib/templates/string.template.d.ts +6 -0
- package/dist/lib/tokens/config.token.d.ts +2 -0
- package/dist/lib/tokens/http-context.token.d.ts +2 -0
- package/dist/lib/types/le-config.d.ts +7 -0
- package/dist/lib/views/chart-view/chart-view.component.d.ts +7 -0
- package/dist/lib/views/form-view/form-renderer.component.d.ts +15 -0
- package/dist/lib/views/form-view/form-view-attachment.service.d.ts +13 -0
- package/dist/lib/views/form-view/form-view-attachment.utils.d.ts +24 -0
- package/dist/lib/views/form-view/form-view.component.d.ts +33 -0
- package/dist/lib/views/form-view/form-view.utils.d.ts +21 -0
- package/dist/lib/views/form-view/form.adapter.d.ts +2 -0
- package/dist/lib/views/gird-col-view/grid-col-view.component.d.ts +7 -0
- package/dist/lib/views/gird-view/grid-view.component.d.ts +7 -0
- package/dist/lib/views/loading-view/loading-view.component.d.ts +9 -0
- package/dist/lib/views/section-view/section-view.component.d.ts +7 -0
- package/dist/lib/views/table-view/table-data-sourse.d.ts +9 -0
- package/dist/lib/views/table-view/table-view-actions.component.d.ts +8 -0
- package/dist/lib/views/table-view/table-view-cell.directive.d.ts +11 -0
- package/dist/lib/views/table-view/table-view-pagination.component.d.ts +30 -0
- package/dist/lib/views/table-view/table-view.component.d.ts +58 -0
- package/dist/lib/views/table-view/table-view.types.d.ts +24 -0
- package/dist/lib/views/table-view/table-view.utils.d.ts +12 -0
- package/dist/styles/ant-overrides.scss +168 -0
- package/dist/styles/styles.scss +760 -0
- package/package.json +45 -0
|
@@ -0,0 +1,760 @@
|
|
|
1
|
+
@import '@angular/cdk/overlay-prebuilt.css';
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
/* =========================
|
|
5
|
+
PRIMARY (GREEN SYSTEM)
|
|
6
|
+
========================== */
|
|
7
|
+
--le-color-primary-50: #f3fbf1;
|
|
8
|
+
--le-color-primary-100: #e3f6dd;
|
|
9
|
+
--le-color-primary-200: #c7edb8;
|
|
10
|
+
--le-color-primary-300: #a7e08c;
|
|
11
|
+
--le-color-primary-400: #8cc53f;
|
|
12
|
+
--le-color-primary-500: #159409;
|
|
13
|
+
--le-color-primary-600: #127a07;
|
|
14
|
+
--le-color-primary-700: #0f6506;
|
|
15
|
+
--le-color-primary-800: #0c5005;
|
|
16
|
+
--le-color-primary-900: #17770a;
|
|
17
|
+
|
|
18
|
+
/* semantic aliases */
|
|
19
|
+
--le-color-primary: var(--le-color-primary-500);
|
|
20
|
+
--le-color-primary-hover: var(--le-color-primary-600);
|
|
21
|
+
--le-color-primary-active: var(--le-color-primary-700);
|
|
22
|
+
--le-color-primary-soft: var(--le-color-primary-100);
|
|
23
|
+
|
|
24
|
+
/* =========================
|
|
25
|
+
NEUTRAL / SECONDARY (GRAY SYSTEM)
|
|
26
|
+
========================== */
|
|
27
|
+
--le-color-gray-50: #f7f7f7;
|
|
28
|
+
--le-color-gray-100: #f2f2f2;
|
|
29
|
+
--le-color-gray-200: #e5e5e5;
|
|
30
|
+
--le-color-gray-300: #cccccc;
|
|
31
|
+
--le-color-gray-400: #b6b6b6;
|
|
32
|
+
--le-color-gray-500: #808080;
|
|
33
|
+
--le-color-gray-600: #666666;
|
|
34
|
+
--le-color-gray-700: #4f4f4f;
|
|
35
|
+
--le-color-gray-800: #333333;
|
|
36
|
+
--le-color-gray-900: #1f1f1f;
|
|
37
|
+
|
|
38
|
+
--le-color-secondary: var(--le-color-gray-700);
|
|
39
|
+
--le-color-secondary-light: var(--le-color-gray-500);
|
|
40
|
+
--le-color-border: var(--le-color-gray-200);
|
|
41
|
+
--le-color-surface: var(--le-color-gray-100);
|
|
42
|
+
--le-color-surface-2: var(--le-color-gray-50);
|
|
43
|
+
|
|
44
|
+
/* =========================
|
|
45
|
+
BACKGROUND / SURFACES
|
|
46
|
+
========================== */
|
|
47
|
+
--le-color-background: #ffffff;
|
|
48
|
+
--le-color-surface-1: var(--le-color-gray-50);
|
|
49
|
+
--le-color-surface-2: var(--le-color-gray-100);
|
|
50
|
+
--le-color-hover: #e3f6dd;
|
|
51
|
+
--le-color-hover-light: #f0fbfa;
|
|
52
|
+
|
|
53
|
+
/* =========================
|
|
54
|
+
SEMANTIC COLORS
|
|
55
|
+
========================== */
|
|
56
|
+
|
|
57
|
+
/* Success */
|
|
58
|
+
--le-color-success: #159409;
|
|
59
|
+
--le-color-success-hover: #127a07;
|
|
60
|
+
--le-color-success-bg: #e3f6dd;
|
|
61
|
+
|
|
62
|
+
/* Warning */
|
|
63
|
+
--le-color-warning: #f59e0b;
|
|
64
|
+
--le-color-warning-hover: #d97706;
|
|
65
|
+
--le-color-warning-bg: #fef3c7;
|
|
66
|
+
|
|
67
|
+
/* Error */
|
|
68
|
+
--le-color-error: #dc2626;
|
|
69
|
+
--le-color-error-hover: #b91c1c;
|
|
70
|
+
--le-color-error-bg: #fee2e2;
|
|
71
|
+
|
|
72
|
+
/* Info */
|
|
73
|
+
--le-color-info: #2563eb;
|
|
74
|
+
--le-color-info-hover: #1d4ed8;
|
|
75
|
+
--le-color-info-bg: #dbeafe;
|
|
76
|
+
|
|
77
|
+
/* =========================
|
|
78
|
+
TEXT COLORS
|
|
79
|
+
========================== */
|
|
80
|
+
--le-color-text-primary: var(--le-color-gray-900);
|
|
81
|
+
--le-color-text-secondary: var(--le-color-gray-600);
|
|
82
|
+
--le-color-text-muted: var(--le-color-gray-500);
|
|
83
|
+
--le-color-text-inverse: #ffffff;
|
|
84
|
+
|
|
85
|
+
/* =========================
|
|
86
|
+
BORDER / DIVIDER
|
|
87
|
+
========================== */
|
|
88
|
+
--le-color-border: var(--le-color-gray-200);
|
|
89
|
+
--le-color-divider: var(--le-color-gray-100);
|
|
90
|
+
|
|
91
|
+
/* =========================
|
|
92
|
+
SHADOW
|
|
93
|
+
========================== */
|
|
94
|
+
--le-dropdown-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
|
|
95
|
+
|
|
96
|
+
/* =========================
|
|
97
|
+
VALIDATION
|
|
98
|
+
========================== */
|
|
99
|
+
--validation-icon-success-color: #52c41a;
|
|
100
|
+
--validation-icon-error-color: var(--le-alert-error);
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/* =========================
|
|
104
|
+
FONT
|
|
105
|
+
========================== */
|
|
106
|
+
--le-font-family: Arial, serif;
|
|
107
|
+
|
|
108
|
+
--le-font-size-xs: 0.75rem;
|
|
109
|
+
--le-font-size-sm: 0.875rem;
|
|
110
|
+
--le-font-size-base: 1rem;
|
|
111
|
+
--le-font-size-lg: 1.125rem;
|
|
112
|
+
--le-font-size-xl: 1.25rem;
|
|
113
|
+
--le-font-size-2xl: 1.5rem;
|
|
114
|
+
--le-font-size-3xl: 1.875rem;
|
|
115
|
+
--le-font-size-4xl: 2.25rem;
|
|
116
|
+
|
|
117
|
+
--le-font-weight-light: 300;
|
|
118
|
+
--le-font-weight-regular: 400;
|
|
119
|
+
--le-font-weight-medium: 500;
|
|
120
|
+
--le-font-weight-semibold: 600;
|
|
121
|
+
--le-font-weight-bold: 700;
|
|
122
|
+
|
|
123
|
+
--le-border-width-base: 1px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* =========================
|
|
127
|
+
GENERAL
|
|
128
|
+
========================== */
|
|
129
|
+
* {
|
|
130
|
+
box-sizing: border-box;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
html {
|
|
134
|
+
font-size: 14px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
body {
|
|
138
|
+
font-family: var(--le-font-family), Arial, serif;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
body,
|
|
142
|
+
menu,
|
|
143
|
+
ul {
|
|
144
|
+
margin: 0;
|
|
145
|
+
padding: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.cursor-pointer {
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.spacer {
|
|
153
|
+
flex: 1 1 auto;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@mixin flex-row {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: row;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@mixin flex-column {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@mixin align-center {
|
|
167
|
+
align-items: center;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@mixin justify-center {
|
|
171
|
+
justify-content: center;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@mixin justify-between {
|
|
175
|
+
justify-content: space-between;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@mixin text-ellipsis {
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
white-space: nowrap;
|
|
181
|
+
text-overflow: ellipsis;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* =========================
|
|
185
|
+
BUTTON
|
|
186
|
+
========================== */
|
|
187
|
+
|
|
188
|
+
.le-button {
|
|
189
|
+
@include text-ellipsis;
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
border-width: var(--le-border-width-base);
|
|
192
|
+
border-style: solid;
|
|
193
|
+
border-color: transparent;
|
|
194
|
+
padding: 4px 16px;
|
|
195
|
+
line-height: 2em;
|
|
196
|
+
border-radius: 54px;
|
|
197
|
+
font-weight: var(--le-font-weight-semibold);
|
|
198
|
+
transition: all 0.2s ease-in-out;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.le-button-basic {
|
|
202
|
+
&.le-button--success {
|
|
203
|
+
color: var(--le-color-primary);
|
|
204
|
+
background-color: var(--le-color-background);
|
|
205
|
+
|
|
206
|
+
&:hover {
|
|
207
|
+
color: var(--le-color-primary-hover);
|
|
208
|
+
background-color: var(--le-color-success-bg);
|
|
209
|
+
border-color: var(--le-color-success-bg);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&:active {
|
|
213
|
+
color: var(--le-color-primary-active);
|
|
214
|
+
background-color: var(--le-color-success-bg);
|
|
215
|
+
border-color: var(--le-color-success-bg);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&.le-button--error {
|
|
220
|
+
color: var(--le-color-error);
|
|
221
|
+
background-color: var(--le-color-background);
|
|
222
|
+
border-color: var(--le-color-background);
|
|
223
|
+
|
|
224
|
+
&:hover {
|
|
225
|
+
color: var(--le-color-error-hover);
|
|
226
|
+
background-color: var(--le-color-error-bg);
|
|
227
|
+
border-color: var(--le-color-error-bg);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&:active {
|
|
231
|
+
color: var(--le-color-error);
|
|
232
|
+
background-color: var(--le-color-error-bg);
|
|
233
|
+
border-color: var(--le-color-error-bg);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.le-button-flat {
|
|
239
|
+
&.le-button--success {
|
|
240
|
+
background-color: var(--le-color-primary);
|
|
241
|
+
border-color: var(--le-color-primary);
|
|
242
|
+
color: var(--le-color-background);
|
|
243
|
+
|
|
244
|
+
&:hover {
|
|
245
|
+
background-color: var(--le-color-primary-hover);
|
|
246
|
+
border-color: var(--le-color-primary-hover);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&:active {
|
|
250
|
+
background-color: var(--le-color-primary-active);
|
|
251
|
+
border-color: var(--le-color-primary-active);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&.le-button--error {
|
|
256
|
+
background-color: var(--le-color-error);
|
|
257
|
+
border-color: var(--le-color-error);
|
|
258
|
+
color: var(--le-color-background);
|
|
259
|
+
|
|
260
|
+
&:hover,
|
|
261
|
+
&:active {
|
|
262
|
+
background-color: var(--le-color-error-hover);
|
|
263
|
+
border-color: var(--le-color-error-hover);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.le-button-stroked {
|
|
269
|
+
&.le-button--success {
|
|
270
|
+
color: var(--le-color-primary);
|
|
271
|
+
border-color: var(--le-color-primary);
|
|
272
|
+
background-color: var(--le-color-background);
|
|
273
|
+
|
|
274
|
+
&:hover {
|
|
275
|
+
color: var(--le-color-primary-hover);
|
|
276
|
+
background-color: var(--le-color-success-bg);
|
|
277
|
+
border-color: var(--le-color-primary-hover);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&:active {
|
|
281
|
+
color: var(--le-color-primary-active);
|
|
282
|
+
background-color: var(--le-color-success-bg);
|
|
283
|
+
border-color: var(--le-color-primary-active);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
&.le-button--error {
|
|
288
|
+
color: var(--le-color-error);
|
|
289
|
+
border-color: var(--le-color-error);
|
|
290
|
+
background-color: var(--le-color-background);
|
|
291
|
+
|
|
292
|
+
&:hover {
|
|
293
|
+
color: var(--le-color-error-hover);
|
|
294
|
+
border-color: var(--le-color-error-hover);
|
|
295
|
+
background-color: var(--le-color-error-bg);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
&:active {
|
|
299
|
+
color: var(--le-color-error-hover);
|
|
300
|
+
border-color: var(--le-color-error-hover);
|
|
301
|
+
background-color: var(--le-color-error-bg);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* =========================
|
|
307
|
+
DRAWER
|
|
308
|
+
========================== */
|
|
309
|
+
|
|
310
|
+
.le-drawer-container {
|
|
311
|
+
display: flex;
|
|
312
|
+
width: 100%;
|
|
313
|
+
height: 100%;
|
|
314
|
+
overflow: hidden;
|
|
315
|
+
min-height: 100vh;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.le-sidebar-title {
|
|
319
|
+
margin: 0;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.le-sidebar-toggle {
|
|
323
|
+
@include text-ellipsis;
|
|
324
|
+
|
|
325
|
+
display: inline-flex;
|
|
326
|
+
justify-content: space-between;
|
|
327
|
+
|
|
328
|
+
border: none;
|
|
329
|
+
width: 100%;
|
|
330
|
+
background-color: var(--le-color-primary-50);
|
|
331
|
+
padding: 16px;
|
|
332
|
+
cursor: pointer;
|
|
333
|
+
color: var(--le-color-text-primary);
|
|
334
|
+
font-size: var(--le-font-size-xl);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.le-drawer {
|
|
338
|
+
flex-shrink: 0;
|
|
339
|
+
overflow: hidden;
|
|
340
|
+
background-color: var(--le-color-background);
|
|
341
|
+
border-right: 1px solid var(--le-color-border);
|
|
342
|
+
position: relative;
|
|
343
|
+
transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
344
|
+
will-change: width;
|
|
345
|
+
|
|
346
|
+
.le-sidebar-toggle {
|
|
347
|
+
le-icon {
|
|
348
|
+
transform: rotate(90deg);
|
|
349
|
+
transition: transform 0.2s ease-in-out;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
&.le-drawer--open {
|
|
354
|
+
padding-right: 12px;
|
|
355
|
+
|
|
356
|
+
.le-sidebar-toggle {
|
|
357
|
+
le-icon {
|
|
358
|
+
transform: rotate(90deg) scaleX(-1);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.le-drawer-content {
|
|
365
|
+
flex: 1;
|
|
366
|
+
min-width: 0;
|
|
367
|
+
overflow: auto;
|
|
368
|
+
padding-left: 8px;
|
|
369
|
+
padding-right: 8px;
|
|
370
|
+
|
|
371
|
+
transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
372
|
+
will-change: width;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.le-drawer-resizer,
|
|
376
|
+
.drawer-resizer {
|
|
377
|
+
position: absolute;
|
|
378
|
+
top: 0;
|
|
379
|
+
right: 0;
|
|
380
|
+
width: 12px;
|
|
381
|
+
height: 100%;
|
|
382
|
+
cursor: ew-resize;
|
|
383
|
+
display: flex;
|
|
384
|
+
align-items: center;
|
|
385
|
+
justify-content: center;
|
|
386
|
+
background-color: var(--le-color-surface);
|
|
387
|
+
transition: background-color 0.2s ease;
|
|
388
|
+
z-index: 10;
|
|
389
|
+
|
|
390
|
+
&:hover {
|
|
391
|
+
background-color: var(--le-color-border);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/* =========================
|
|
396
|
+
SIDEBAR
|
|
397
|
+
========================== */
|
|
398
|
+
|
|
399
|
+
.le-menu-item {
|
|
400
|
+
display: flex;
|
|
401
|
+
flex-direction: row;
|
|
402
|
+
justify-content: space-between;
|
|
403
|
+
align-items: center;
|
|
404
|
+
padding: 12px;
|
|
405
|
+
cursor: pointer;
|
|
406
|
+
color: var(--le-color-text-primary);
|
|
407
|
+
font-size: var(--le-font-size-lg);
|
|
408
|
+
|
|
409
|
+
&:hover {
|
|
410
|
+
background-color: var(--le-color-primary-100);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.le-menu-item--selected {
|
|
415
|
+
background-color: var(--le-color-primary-50);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.le-menu-title {
|
|
419
|
+
@include text-ellipsis;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.le-menu-chevron {
|
|
423
|
+
transform: rotate(90deg);
|
|
424
|
+
transition: transform 0.2s ease-in-out;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.le-menu-item--expanded {
|
|
428
|
+
.le-menu-chevron {
|
|
429
|
+
transform: rotate(90deg) scaleX(-1);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.le-menu-group {
|
|
434
|
+
opacity: 0;
|
|
435
|
+
max-height: 0;
|
|
436
|
+
overflow: hidden;
|
|
437
|
+
transition: all 0.2s ease-in-out;
|
|
438
|
+
|
|
439
|
+
.le-menu-item {
|
|
440
|
+
padding-left: 32px;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
&.le-menu-group--expanded {
|
|
444
|
+
opacity: 1;
|
|
445
|
+
max-height: 500px;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* =========================
|
|
450
|
+
TABLE
|
|
451
|
+
========================== */
|
|
452
|
+
|
|
453
|
+
.le-toolbar {
|
|
454
|
+
display: flex;
|
|
455
|
+
flex-direction: row;
|
|
456
|
+
align-items: center;
|
|
457
|
+
justify-content: space-between;
|
|
458
|
+
height: 60px;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.le-table-container {
|
|
462
|
+
width: 100%;
|
|
463
|
+
overflow-x: auto;
|
|
464
|
+
padding-bottom: 16px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.le-table {
|
|
468
|
+
width: max-content;
|
|
469
|
+
border-spacing: 0;
|
|
470
|
+
font-size: var(--le-font-size-base);
|
|
471
|
+
min-width: 100%;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.le-table--loading tbody {
|
|
475
|
+
animation: fade 0.5s ease-out forwards;
|
|
476
|
+
pointer-events: none;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
@keyframes fade {
|
|
480
|
+
0% {
|
|
481
|
+
opacity: 1;
|
|
482
|
+
}
|
|
483
|
+
100% {
|
|
484
|
+
opacity: 0.3;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.no-entities {
|
|
489
|
+
display: flex;
|
|
490
|
+
align-items: center;
|
|
491
|
+
justify-content: center;
|
|
492
|
+
width: 100%;
|
|
493
|
+
height: 200px;
|
|
494
|
+
background-color: var(--le-color-surface);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.le-header-row {
|
|
498
|
+
background-color: var(--le-color-surface);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.le-table-row--clickable {
|
|
502
|
+
cursor: pointer;
|
|
503
|
+
|
|
504
|
+
&:hover {
|
|
505
|
+
background-color: var(--le-color-primary-100);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.le-cell-content {
|
|
510
|
+
@include flex-row;
|
|
511
|
+
@include align-center;
|
|
512
|
+
@include justify-between;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.le-table-header-cell {
|
|
516
|
+
font-weight: var(--le-font-weight-regular);
|
|
517
|
+
color: var(--le-color-gray-500);
|
|
518
|
+
text-align: left;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.le-table-header-cell,
|
|
522
|
+
.le-table-cell {
|
|
523
|
+
padding: 24px;
|
|
524
|
+
min-width: 160px;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.le-table-cell {
|
|
528
|
+
border-bottom: 1px solid var(--le-color-gray-100);;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.le-pagination {
|
|
532
|
+
@include flex-row;
|
|
533
|
+
@include align-center;
|
|
534
|
+
font-size: var(--le-font-size-sm);
|
|
535
|
+
height: 60px;
|
|
536
|
+
gap: 1em;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.le-pagination-options,
|
|
540
|
+
.le-pagination-navigation {
|
|
541
|
+
@include flex-row;
|
|
542
|
+
@include align-center;
|
|
543
|
+
gap: 8px;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.le-navigation {
|
|
547
|
+
width: 40px;
|
|
548
|
+
height: 40px;
|
|
549
|
+
padding: 0;
|
|
550
|
+
margin: 0;
|
|
551
|
+
border: none;
|
|
552
|
+
background: var(--le-color-primary-50);
|
|
553
|
+
display: flex;
|
|
554
|
+
justify-content: center;
|
|
555
|
+
align-items: center;
|
|
556
|
+
border-radius: 50%;
|
|
557
|
+
|
|
558
|
+
&:not([disabled]) {
|
|
559
|
+
cursor: pointer;
|
|
560
|
+
color: var(--le-color-gray-600);
|
|
561
|
+
|
|
562
|
+
&:hover {
|
|
563
|
+
background: var(--le-color-primary-100);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
&:active {
|
|
567
|
+
background: var(--le-color-primary-200);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.le-chevron {}
|
|
573
|
+
.le-chevron--right {}
|
|
574
|
+
.le-chevron--left {
|
|
575
|
+
transform: rotate(180deg);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.le-pagination-options {
|
|
579
|
+
.le-button {
|
|
580
|
+
width: 84px;
|
|
581
|
+
font-weight: var(--le-font-weight-light);
|
|
582
|
+
border: 1px solid var(--le-color-border);
|
|
583
|
+
border-radius: 4px;
|
|
584
|
+
background: var(--le-color-background);
|
|
585
|
+
padding: 2px 6px 2px 10px;
|
|
586
|
+
display: inline-flex;
|
|
587
|
+
justify-content: space-between;
|
|
588
|
+
|
|
589
|
+
le-icon {
|
|
590
|
+
color: var(--le-color-gray-300);
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.le-pagination-option-list {
|
|
596
|
+
display: inline-flex;
|
|
597
|
+
flex-direction: column;
|
|
598
|
+
min-width: 84px;
|
|
599
|
+
max-width: 280px;
|
|
600
|
+
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.le-pagination-option-item {
|
|
604
|
+
border: none;
|
|
605
|
+
background: var(--le-color-gray-100);;
|
|
606
|
+
padding: 8px;
|
|
607
|
+
cursor: pointer;
|
|
608
|
+
|
|
609
|
+
&:hover,
|
|
610
|
+
&:focus,
|
|
611
|
+
&:active {
|
|
612
|
+
background: var(--le-color-primary-100);
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
$sort-icon-size: 6px;
|
|
618
|
+
|
|
619
|
+
.le-sort-container {
|
|
620
|
+
@include flex-row;
|
|
621
|
+
@include align-center;
|
|
622
|
+
@include justify-center;
|
|
623
|
+
margin: 0 2px;
|
|
624
|
+
width: calc($sort-icon-size * 3);
|
|
625
|
+
height: calc($sort-icon-size * 3);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.le-sort-icon--unfold {
|
|
629
|
+
opacity: 0;
|
|
630
|
+
transition: opacity 0.2s ease;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.le-table-header-cell--sortable {
|
|
634
|
+
cursor: pointer;
|
|
635
|
+
transition: background-color 0.2s ease;
|
|
636
|
+
|
|
637
|
+
&:hover {
|
|
638
|
+
background-color: var(--le-color-surface-2);
|
|
639
|
+
|
|
640
|
+
.le-sort-icon--unfold {
|
|
641
|
+
opacity: 1;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.le-sort-icon {
|
|
647
|
+
@include flex-row;
|
|
648
|
+
@include align-center;
|
|
649
|
+
@include justify-center;
|
|
650
|
+
margin: 0 2px;
|
|
651
|
+
width: calc($sort-icon-size * 3);
|
|
652
|
+
height: calc($sort-icon-size * 3);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.le-sort-arrow {
|
|
656
|
+
display: block;
|
|
657
|
+
width: $sort-icon-size;
|
|
658
|
+
height: $sort-icon-size;
|
|
659
|
+
border-left: $sort-icon-size solid transparent;
|
|
660
|
+
border-right: $sort-icon-size solid transparent;
|
|
661
|
+
border-bottom: calc($sort-icon-size * 1.5) solid var(--le-color-primary);
|
|
662
|
+
transition: transform 0.2s ease-in-out;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.le-sort-arrow--desc {
|
|
666
|
+
transform: rotateX(180deg);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.le-sort-order {
|
|
670
|
+
@include flex-row;
|
|
671
|
+
@include align-center;
|
|
672
|
+
@include justify-center;
|
|
673
|
+
margin: 0 2px;
|
|
674
|
+
width: calc($sort-icon-size * 3);
|
|
675
|
+
height: calc($sort-icon-size * 3);
|
|
676
|
+
|
|
677
|
+
span {
|
|
678
|
+
@include flex-row;
|
|
679
|
+
@include align-center;
|
|
680
|
+
@include justify-center;
|
|
681
|
+
|
|
682
|
+
width: calc($sort-icon-size * 3);
|
|
683
|
+
height: calc($sort-icon-size * 3);
|
|
684
|
+
font-size: calc($sort-icon-size * 2);
|
|
685
|
+
background-color: var(--le-color-primary-200);
|
|
686
|
+
border-radius: 50%;
|
|
687
|
+
color: var(--le-color-primary);
|
|
688
|
+
font-weight: var(--le-font-weight-semibold);;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.le-table-template {
|
|
693
|
+
max-width: 500px;
|
|
694
|
+
word-wrap: break-word;
|
|
695
|
+
white-space: pre-wrap;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/* =========================
|
|
699
|
+
TOAST LIS
|
|
700
|
+
========================== */
|
|
701
|
+
.le-toast-list {
|
|
702
|
+
display: flex;
|
|
703
|
+
flex-direction: column;
|
|
704
|
+
gap: 12px;
|
|
705
|
+
width: 100%;
|
|
706
|
+
max-width: 400px;
|
|
707
|
+
padding: 8px;
|
|
708
|
+
align-items: flex-end;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.le-toast {
|
|
712
|
+
display: flex;
|
|
713
|
+
width: fit-content;
|
|
714
|
+
padding: 8px;
|
|
715
|
+
gap: 8px;
|
|
716
|
+
border-radius: 4px;
|
|
717
|
+
border-width: var(--le-border-width-base);
|
|
718
|
+
border-style: solid;
|
|
719
|
+
box-shadow: var(--le-dropdown-shadow);
|
|
720
|
+
background-color: var(--le-color-background);
|
|
721
|
+
|
|
722
|
+
&--success {
|
|
723
|
+
border-color: var(--le-color-success);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
&--info {
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
&--warning {
|
|
730
|
+
border-color: var(--le-color-warning);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
&--error {
|
|
734
|
+
border-color: var(--le-color-error);
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.le-toast-text-list {
|
|
739
|
+
display: flex;
|
|
740
|
+
flex-direction: column;
|
|
741
|
+
justify-content: center;
|
|
742
|
+
gap: 8px;
|
|
743
|
+
width: 100%;
|
|
744
|
+
padding: 0 8px;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.le-toast-text {
|
|
748
|
+
margin: 0;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/* =========================
|
|
752
|
+
FORM
|
|
753
|
+
========================== */
|
|
754
|
+
.group-control {
|
|
755
|
+
padding: 0 16px;
|
|
756
|
+
border: 1px solid var(--le-color-border);
|
|
757
|
+
border-radius: 4px;
|
|
758
|
+
background-color: var(--le-color-background);
|
|
759
|
+
margin-bottom: 16px;
|
|
760
|
+
}
|