coer-elements 2.0.2 → 2.0.4
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/components/lib/coer-datebox/coer-datebox.component.d.ts +1 -1
- package/components/lib/coer-dropdown/coer-dropdown.component.d.ts +3 -3
- package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +1 -1
- package/components/lib/coer-secretbox/coer-secretbox.component.d.ts +1 -1
- package/components/lib/coer-selectbox/coer-selectbox.component.d.ts +3 -4
- package/components/lib/coer-sidenav/coer-toolbar/coer-toolbar.component.d.ts +5 -2
- package/components/lib/coer-textarea/coer-textarea.component.d.ts +1 -1
- package/components/lib/coer-textbox/coer-textbox.component.d.ts +1 -1
- package/fesm2022/coer-elements-components.mjs +62 -46
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +25 -13
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-signals.mjs +11 -1
- package/fesm2022/coer-elements-signals.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +97 -27
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +12 -12
- package/pages/lib/coer-system/coer-system.component.d.ts +4 -4
- package/signals/lib/colors.signal.d.ts +9 -0
- package/signals/public-api.d.ts +1 -0
- package/styles/coer-elements.css +280 -70
- package/styles/colors.scss +233 -9
- package/styles/containers.scss +1 -1
- package/tools/lib/breadcrumbs.class.d.ts +2 -0
- package/tools/lib/colors.class.d.ts +19 -9
- package/tools/lib/date-time.class.d.ts +2 -0
- package/tools/lib/elements-html.class.d.ts +4 -0
- package/tools/lib/page.class.d.ts +2 -0
package/styles/colors.scss
CHANGED
@@ -1,14 +1,26 @@
|
|
1
1
|
:root {
|
2
|
-
--blue:
|
3
|
-
--gray:
|
2
|
+
--blue: #0d6efd;
|
3
|
+
--gray: #6c757d;
|
4
4
|
--green: #198754;
|
5
|
-
--yellow
|
6
|
-
--red:
|
7
|
-
--
|
5
|
+
--yellow:#ffc107;
|
6
|
+
--red: #dc3545;
|
7
|
+
--smoke: #f5f5f5;
|
8
8
|
--black: #252525;
|
9
|
-
--orange
|
10
|
-
--
|
11
|
-
|
9
|
+
--orange:#fd6031;
|
10
|
+
--white: #ffffff;
|
11
|
+
--purple:#a615bc;
|
12
|
+
|
13
|
+
--primary-inner: var(--primary, var(--blue));
|
14
|
+
--secondary-inner: var(--secondary, var(--gray));
|
15
|
+
--success-inner: var(--success, var(--green));
|
16
|
+
--warning-inner: var(--warning, var(--yellow));
|
17
|
+
--danger-inner: var(--danger, var(--red));
|
18
|
+
--background-inner: var(--background, var(--smoke));
|
19
|
+
--sidenav-inner: var(--sidenav, var(--black));
|
20
|
+
--navigation-inner: var(--navigation, var(--orange));
|
21
|
+
--container-inner: var(--container, var(--white));
|
22
|
+
}
|
23
|
+
|
12
24
|
|
13
25
|
//Blue
|
14
26
|
.text-blue {
|
@@ -16,7 +28,6 @@
|
|
16
28
|
}
|
17
29
|
|
18
30
|
.text-blue-bold {
|
19
|
-
color: var(--blue) !important;
|
20
31
|
font-weight: bold !important;
|
21
32
|
}
|
22
33
|
|
@@ -192,6 +203,214 @@
|
|
192
203
|
|
193
204
|
.border-orange {
|
194
205
|
border-color: var(--orange) !important;
|
206
|
+
}
|
207
|
+
|
208
|
+
//Primary
|
209
|
+
.text-primary {
|
210
|
+
color: var(--primary-inner) !important;
|
211
|
+
}
|
212
|
+
|
213
|
+
.text-primary-bold {
|
214
|
+
color: var(--primary-inner) !important;
|
215
|
+
font-weight: bold !important;
|
216
|
+
}
|
217
|
+
|
218
|
+
.background-primary {
|
219
|
+
background-color: var(--primary-inner) !important;
|
220
|
+
}
|
221
|
+
|
222
|
+
.background-border-primary {
|
223
|
+
background-color: var(--primary-inner) !important;
|
224
|
+
border-color: var(--primary-inner) !important;
|
225
|
+
}
|
226
|
+
|
227
|
+
.border-primary {
|
228
|
+
border-color: var(--primary-inner) !important;
|
229
|
+
}
|
230
|
+
|
231
|
+
|
232
|
+
//Secondary
|
233
|
+
.text-secondary {
|
234
|
+
color: var(--secondary-inner) !important;
|
235
|
+
}
|
236
|
+
|
237
|
+
.text-secondary-bold {
|
238
|
+
color: var(--secondary-inner) !important;
|
239
|
+
font-weight: bold !important;
|
240
|
+
}
|
241
|
+
|
242
|
+
.background-secondary {
|
243
|
+
background-color: var(--secondary-inner) !important;
|
244
|
+
}
|
245
|
+
|
246
|
+
.background-border-secondary {
|
247
|
+
background-color: var(--secondary-inner) !important;
|
248
|
+
border-color: var(--secondary-inner) !important;
|
249
|
+
}
|
250
|
+
|
251
|
+
.border-secondary {
|
252
|
+
border-color: var(--secondary-inner) !important;
|
253
|
+
}
|
254
|
+
|
255
|
+
//Success
|
256
|
+
.text-success {
|
257
|
+
color: var(--success-inner) !important;
|
258
|
+
}
|
259
|
+
|
260
|
+
.text-success-bold {
|
261
|
+
color: var(--success-inner) !important;
|
262
|
+
font-weight: bold !important;
|
263
|
+
}
|
264
|
+
|
265
|
+
.background-success {
|
266
|
+
background-color: var(--success-inner) !important;
|
267
|
+
}
|
268
|
+
|
269
|
+
.background-border-success {
|
270
|
+
background-color: var(--success-inner) !important;
|
271
|
+
border-color: var(--success-inner) !important;
|
272
|
+
}
|
273
|
+
|
274
|
+
.border-success {
|
275
|
+
border-color: var(--success-inner) !important;
|
276
|
+
}
|
277
|
+
|
278
|
+
//Warning
|
279
|
+
.text-warning {
|
280
|
+
color: var(--warning-inner) !important;
|
281
|
+
}
|
282
|
+
|
283
|
+
.text-warning-bold {
|
284
|
+
color: var(--warning-inner) !important;
|
285
|
+
font-weight: bold !important;
|
286
|
+
}
|
287
|
+
|
288
|
+
.background-warning {
|
289
|
+
background-color: var(--warning-inner) !important;
|
290
|
+
}
|
291
|
+
|
292
|
+
.background-border-warning {
|
293
|
+
background-color: var(--warning-inner) !important;
|
294
|
+
border-color: var(--warning-inner) !important;
|
295
|
+
}
|
296
|
+
|
297
|
+
.border-warning {
|
298
|
+
border-color: var(--warning-inner) !important;
|
299
|
+
}
|
300
|
+
|
301
|
+
//Danger
|
302
|
+
.text-danger {
|
303
|
+
color: var(--danger-inner) !important;
|
304
|
+
}
|
305
|
+
|
306
|
+
.text-danger-bold {
|
307
|
+
color: var(--danger-inner) !important;
|
308
|
+
font-weight: bold !important;
|
309
|
+
}
|
310
|
+
|
311
|
+
.background-danger {
|
312
|
+
background-color: var(--danger-inner) !important;
|
313
|
+
}
|
314
|
+
|
315
|
+
.background-border-danger {
|
316
|
+
background-color: var(--danger-inner) !important;
|
317
|
+
border-color: var(--danger-inner) !important;
|
318
|
+
}
|
319
|
+
|
320
|
+
.border-danger {
|
321
|
+
border-color: var(--danger-inner) !important;
|
322
|
+
}
|
323
|
+
|
324
|
+
//Background
|
325
|
+
.text-background {
|
326
|
+
color: var(--background-inner) !important;
|
327
|
+
}
|
328
|
+
|
329
|
+
.text-background-bold {
|
330
|
+
color: var(--background-inner) !important;
|
331
|
+
font-weight: bold !important;
|
332
|
+
}
|
333
|
+
|
334
|
+
.background-background {
|
335
|
+
background-color: var(--background-inner) !important;
|
336
|
+
}
|
337
|
+
|
338
|
+
.background-border-background {
|
339
|
+
background-color: var(--background-inner) !important;
|
340
|
+
border-color: var(--background-inner) !important;
|
341
|
+
}
|
342
|
+
|
343
|
+
.border-background {
|
344
|
+
border-color: var(--background-inner) !important;
|
345
|
+
}
|
346
|
+
|
347
|
+
//Sidenav
|
348
|
+
.text-sidenav {
|
349
|
+
color: var(--sidenav-inner) !important;
|
350
|
+
}
|
351
|
+
|
352
|
+
.text-blue-sidenav {
|
353
|
+
color: var(--sidenav-inner) !important;
|
354
|
+
font-weight: bold !important;
|
355
|
+
}
|
356
|
+
|
357
|
+
.background-sidenav {
|
358
|
+
background-color: var(--sidenav-inner) !important;
|
359
|
+
}
|
360
|
+
|
361
|
+
.background-border-sidenav {
|
362
|
+
background-color: var(--sidenav-inner) !important;
|
363
|
+
border-color: var(--sidenav-inner) !important;
|
364
|
+
}
|
365
|
+
|
366
|
+
.border-sidenav {
|
367
|
+
border-color: var(--sidenav-inner) !important;
|
368
|
+
}
|
369
|
+
|
370
|
+
//Navigation
|
371
|
+
.text-navigation {
|
372
|
+
color: var(--navigation-inner) !important;
|
373
|
+
}
|
374
|
+
|
375
|
+
.text-navigation-bold {
|
376
|
+
color: var(--navigation-inner) !important;
|
377
|
+
font-weight: bold !important;
|
378
|
+
}
|
379
|
+
|
380
|
+
.background-navigation {
|
381
|
+
background-color: var(--navigation-inner) !important;
|
382
|
+
}
|
383
|
+
|
384
|
+
.background-border-navigation {
|
385
|
+
background-color: var(--navigation-inner) !important;
|
386
|
+
border-color: var(--navigation-inner) !important;
|
387
|
+
}
|
388
|
+
|
389
|
+
.border-navigation {
|
390
|
+
border-color: var(--navigation-inner) !important;
|
391
|
+
}
|
392
|
+
|
393
|
+
//Container
|
394
|
+
.text-container {
|
395
|
+
color: var(--container-inner) !important;
|
396
|
+
}
|
397
|
+
|
398
|
+
.text-container-bold {
|
399
|
+
color: var(--container-inner) !important;
|
400
|
+
font-weight: bold !important;
|
401
|
+
}
|
402
|
+
|
403
|
+
.background-container {
|
404
|
+
background-color: var(--container-inner) !important;
|
405
|
+
}
|
406
|
+
|
407
|
+
.background-border-container {
|
408
|
+
background-color: var(--container-inner) !important;
|
409
|
+
border-color: var(--container-inner) !important;
|
410
|
+
}
|
411
|
+
|
412
|
+
.border-container {
|
413
|
+
border-color: var(--container-inner) !important;
|
195
414
|
}
|
196
415
|
|
197
416
|
//transparent
|
@@ -203,6 +422,11 @@
|
|
203
422
|
background-color: transparent !important;
|
204
423
|
}
|
205
424
|
|
425
|
+
.background-border-transparent {
|
426
|
+
background-color: transparent !important;
|
427
|
+
border-color: transparent !important;
|
428
|
+
}
|
429
|
+
|
206
430
|
.border-transparent {
|
207
431
|
border-color: transparent !important;
|
208
432
|
}
|
package/styles/containers.scss
CHANGED
@@ -1,13 +1,23 @@
|
|
1
1
|
export declare class Colors {
|
2
|
-
static readonly
|
3
|
-
static readonly
|
4
|
-
static readonly
|
5
|
-
static readonly
|
6
|
-
static readonly
|
7
|
-
static readonly
|
8
|
-
static readonly
|
9
|
-
static readonly
|
10
|
-
static readonly
|
2
|
+
private static readonly _blue;
|
3
|
+
private static readonly _gray;
|
4
|
+
private static readonly _green;
|
5
|
+
private static readonly _yellow;
|
6
|
+
private static readonly _red;
|
7
|
+
private static readonly _smoke;
|
8
|
+
private static readonly _black;
|
9
|
+
private static readonly _orange;
|
10
|
+
private static readonly _white;
|
11
|
+
private static readonly _purple;
|
12
|
+
static get primary(): string;
|
13
|
+
static get secondary(): string;
|
14
|
+
static get success(): string;
|
15
|
+
static get warning(): string;
|
16
|
+
static get danger(): string;
|
17
|
+
static get background(): string;
|
18
|
+
static get sidenav(): string;
|
19
|
+
static get navigation(): string;
|
20
|
+
static get container(): string;
|
11
21
|
/** Returns the color palette in hexadecimal */
|
12
22
|
private static readonly colorsHex;
|
13
23
|
/** Returns the color palette in RGB */
|
@@ -3,6 +3,8 @@ export declare class DateTime {
|
|
3
3
|
/** Get UTC Offset */
|
4
4
|
static GetOffset(): number;
|
5
5
|
/** YYYY-MM-DD HH:mm:ss */
|
6
|
+
static GetCurrentDateTime(): string;
|
7
|
+
/** YYYY-MM-DD HH:mm:ss */
|
6
8
|
static GetFormatDB(date: string | Date | moment.Moment): string;
|
7
9
|
/** Convert UTC Date to Local Zone */
|
8
10
|
static ToLocalZone(date: string | Date | moment.Moment): string;
|
@@ -5,4 +5,8 @@ export declare const ElementsHTML: {
|
|
5
5
|
GetElementHeight: (element: HTMLElement | null | undefined, ...args: (number | HTMLElement | null | undefined)[]) => string;
|
6
6
|
/** */
|
7
7
|
IsInvalidElement: (element: any) => boolean;
|
8
|
+
/** */
|
9
|
+
GetCssValueBy: (selector: string, style: string) => string;
|
10
|
+
/** */
|
11
|
+
GetCssValue: (element: HTMLElement | null, style: string) => string;
|
8
12
|
};
|
@@ -59,6 +59,8 @@ export declare class Page implements AfterViewInit, OnDestroy {
|
|
59
59
|
/** */
|
60
60
|
protected SetPageResponse<T>(pageResponse?: T | null): void;
|
61
61
|
/** */
|
62
|
+
protected ClearPageResponse(): void;
|
63
|
+
/** */
|
62
64
|
protected ReloadPage(): void;
|
63
65
|
/** */
|
64
66
|
protected SetPageFilters<T>(filters: T): void;
|