coer-elements 0.0.7 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/components/index.d.ts +2 -0
  2. package/components/lib/coer-alert/coer-alert.component.d.ts +23 -0
  3. package/components/lib/components.module.d.ts +10 -0
  4. package/esm2022/coer-elements.mjs +2 -2
  5. package/esm2022/components/index.mjs +3 -0
  6. package/esm2022/components/lib/coer-alert/coer-alert.component.mjs +227 -0
  7. package/esm2022/components/lib/components.module.mjs +92 -0
  8. package/esm2022/public_api.mjs +2 -0
  9. package/fesm2022/coer-elements.mjs +309 -0
  10. package/fesm2022/coer-elements.mjs.map +1 -1
  11. package/index.d.ts +5 -1
  12. package/package.json +1 -1
  13. package/public_api.d.ts +1 -0
  14. package/src/styles/bootstrap.scss +15 -0
  15. package/src/styles/coer-elements.scss +29 -0
  16. package/{styles → src/styles}/colors.scss +27 -1
  17. package/src/styles/containers.scss +34 -0
  18. package/src/styles/cursores.scss +11 -0
  19. package/src/styles/layout.scss +21 -0
  20. package/src/styles/scroll-bar.scss +20 -0
  21. package/styles/{index.css → coer-elements.css} +268 -26
  22. package/components/index.ts +0 -2
  23. package/components/src/coer-alert/coer-alert.component.html +0 -56
  24. package/components/src/coer-alert/coer-alert.component.scss +0 -100
  25. package/components/src/coer-alert/coer-alert.component.ts +0 -249
  26. package/components/src/components.module.ts +0 -97
  27. package/esm2022/index.mjs +0 -2
  28. package/interfaces/index.ts +0 -6
  29. package/interfaces/src/IAppSource.interface.ts +0 -4
  30. package/interfaces/src/IBreadcrumb.interface.ts +0 -6
  31. package/interfaces/src/ICoerRef.interface.ts +0 -11
  32. package/interfaces/src/IGoBack.interface.ts +0 -6
  33. package/interfaces/src/IPatch.interface.ts +0 -5
  34. package/interfaces/src/IScreenSize.interface.ts +0 -5
  35. package/styles/index.scss +0 -98
  36. package/tools/index.ts +0 -8
  37. package/tools/src/Breadcrumbs.class.ts +0 -84
  38. package/tools/src/ControlValue.ts +0 -63
  39. package/tools/src/DateTime.class.ts +0 -27
  40. package/tools/src/Files.class.ts +0 -119
  41. package/tools/src/Page.class.ts +0 -197
  42. package/tools/src/Screen.class.ts +0 -50
  43. package/tools/src/Source.class.ts +0 -107
  44. package/tools/src/Tools.ts +0 -217
@@ -1,3 +1,26 @@
1
+ * {
2
+ font-family: sans-serif;
3
+ letter-spacing: normal;
4
+ }
5
+
6
+ h1, h2, h3, h4, h5, h6, p, pre, hr, figure, fieldset {
7
+ margin: 0px;
8
+ padding: 0px;
9
+ }
10
+
11
+ input[type=file] {
12
+ display: none !important;
13
+ }
14
+
15
+ .readonly {
16
+ color: black !important;
17
+ background-color: rgba(187, 187, 187, 0.5137254902) !important;
18
+ }
19
+
20
+ .no-selection::selection {
21
+ background-color: transparent !important;
22
+ }
23
+
1
24
  .text-blue {
2
25
  color: #0d6efd !important;
3
26
  }
@@ -16,6 +39,10 @@
16
39
  border-color: #0d6efd !important;
17
40
  }
18
41
 
42
+ .border-blue {
43
+ border-color: #0d6efd !important;
44
+ }
45
+
19
46
  .text-gray {
20
47
  color: #6c757d !important;
21
48
  }
@@ -34,6 +61,10 @@
34
61
  border-color: #6c757d !important;
35
62
  }
36
63
 
64
+ .border-gray {
65
+ border-color: #6c757d !important;
66
+ }
67
+
37
68
  .text-green {
38
69
  color: #198754 !important;
39
70
  }
@@ -52,6 +83,10 @@
52
83
  border-color: #198754 !important;
53
84
  }
54
85
 
86
+ .border-green {
87
+ border-color: #198754 !important;
88
+ }
89
+
55
90
  .text-yellow {
56
91
  color: #ffc107 !important;
57
92
  }
@@ -70,6 +105,10 @@
70
105
  border-color: #ffc107 !important;
71
106
  }
72
107
 
108
+ .border-yellow {
109
+ border-color: #ffc107 !important;
110
+ }
111
+
73
112
  .text-red {
74
113
  color: #dc3545 !important;
75
114
  }
@@ -88,6 +127,10 @@
88
127
  border-color: #dc3545 !important;
89
128
  }
90
129
 
130
+ .border-red {
131
+ border-color: #dc3545 !important;
132
+ }
133
+
91
134
  .text-white {
92
135
  color: #f5f5f5 !important;
93
136
  }
@@ -106,6 +149,10 @@
106
149
  border-color: #f5f5f5 !important;
107
150
  }
108
151
 
152
+ .border-white {
153
+ border-color: #f5f5f5 !important;
154
+ }
155
+
109
156
  .text-black {
110
157
  color: #252525 !important;
111
158
  }
@@ -124,6 +171,10 @@
124
171
  border-color: #252525 !important;
125
172
  }
126
173
 
174
+ .border-black {
175
+ border-color: #252525 !important;
176
+ }
177
+
127
178
  .text-orange {
128
179
  color: #fd6031 !important;
129
180
  }
@@ -142,20 +193,18 @@
142
193
  border-color: #fd6031 !important;
143
194
  }
144
195
 
145
- * {
146
- font-family: sans-serif;
147
- letter-spacing: normal;
148
- }
149
-
150
- .fill-space {
151
- flex: 1 1 auto;
196
+ .border-orange {
197
+ border-color: #fd6031 !important;
152
198
  }
153
199
 
154
- h1, h2, h3, h4, h5, h6, p, pre, hr, figure, fieldset {
155
- margin: 0px;
156
- padding: 0px;
200
+ @keyframes fadeId {
201
+ from {
202
+ opacity: 0;
203
+ }
204
+ to {
205
+ opacity: 1;
206
+ }
157
207
  }
158
-
159
208
  .coer-container {
160
209
  margin: 15px 30px 0px 30px;
161
210
  padding: 10px;
@@ -197,14 +246,6 @@ h1, h2, h3, h4, h5, h6, p, pre, hr, figure, fieldset {
197
246
  padding-bottom: 5px;
198
247
  }
199
248
 
200
- @keyframes fadeId {
201
- from {
202
- opacity: 0;
203
- }
204
- to {
205
- opacity: 1;
206
- }
207
- }
208
249
  .cursor-default {
209
250
  cursor: default !important;
210
251
  }
@@ -217,17 +258,180 @@ h1, h2, h3, h4, h5, h6, p, pre, hr, figure, fieldset {
217
258
  cursor: wait !important;
218
259
  }
219
260
 
220
- input[type=file] {
221
- display: none !important;
261
+ .text-blue {
262
+ color: #0d6efd !important;
222
263
  }
223
264
 
224
- .readonly {
225
- color: black !important;
226
- background-color: rgba(187, 187, 187, 0.5137254902) !important;
265
+ .text-blue-bold {
266
+ color: #0d6efd !important;
267
+ font-weight: bold !important;
227
268
  }
228
269
 
229
- .no-selection::selection {
230
- background-color: transparent !important;
270
+ .background-blue {
271
+ background-color: #0d6efd !important;
272
+ }
273
+
274
+ .background-border-blue {
275
+ background-color: #0d6efd !important;
276
+ border-color: #0d6efd !important;
277
+ }
278
+
279
+ .border-blue {
280
+ border-color: #0d6efd !important;
281
+ }
282
+
283
+ .text-gray {
284
+ color: #6c757d !important;
285
+ }
286
+
287
+ .text-gray-bold {
288
+ color: #6c757d !important;
289
+ font-weight: bold !important;
290
+ }
291
+
292
+ .background-gray {
293
+ background-color: #6c757d !important;
294
+ }
295
+
296
+ .background-border-gray {
297
+ background-color: #6c757d !important;
298
+ border-color: #6c757d !important;
299
+ }
300
+
301
+ .border-gray {
302
+ border-color: #6c757d !important;
303
+ }
304
+
305
+ .text-green {
306
+ color: #198754 !important;
307
+ }
308
+
309
+ .text-green-bold {
310
+ color: #198754 !important;
311
+ font-weight: bold !important;
312
+ }
313
+
314
+ .background-green {
315
+ background-color: #198754 !important;
316
+ }
317
+
318
+ .background-border-green {
319
+ background-color: #198754 !important;
320
+ border-color: #198754 !important;
321
+ }
322
+
323
+ .border-green {
324
+ border-color: #198754 !important;
325
+ }
326
+
327
+ .text-yellow {
328
+ color: #ffc107 !important;
329
+ }
330
+
331
+ .text-yellow-bold {
332
+ color: #ffc107 !important;
333
+ font-weight: bold !important;
334
+ }
335
+
336
+ .background-yellow {
337
+ background-color: #ffc107 !important;
338
+ }
339
+
340
+ .background-border-yellow {
341
+ background-color: #ffc107 !important;
342
+ border-color: #ffc107 !important;
343
+ }
344
+
345
+ .border-yellow {
346
+ border-color: #ffc107 !important;
347
+ }
348
+
349
+ .text-red {
350
+ color: #dc3545 !important;
351
+ }
352
+
353
+ .text-red-bold {
354
+ color: #dc3545 !important;
355
+ font-weight: bold !important;
356
+ }
357
+
358
+ .background-red {
359
+ background-color: #dc3545 !important;
360
+ }
361
+
362
+ .background-border-red {
363
+ background-color: #dc3545 !important;
364
+ border-color: #dc3545 !important;
365
+ }
366
+
367
+ .border-red {
368
+ border-color: #dc3545 !important;
369
+ }
370
+
371
+ .text-white {
372
+ color: #f5f5f5 !important;
373
+ }
374
+
375
+ .text-white-bold {
376
+ color: #f5f5f5 !important;
377
+ font-weight: bold !important;
378
+ }
379
+
380
+ .background-white {
381
+ background-color: #f5f5f5 !important;
382
+ }
383
+
384
+ .background-border-white {
385
+ background-color: #f5f5f5 !important;
386
+ border-color: #f5f5f5 !important;
387
+ }
388
+
389
+ .border-white {
390
+ border-color: #f5f5f5 !important;
391
+ }
392
+
393
+ .text-black {
394
+ color: #252525 !important;
395
+ }
396
+
397
+ .text-black-bold {
398
+ color: #252525 !important;
399
+ font-weight: bold !important;
400
+ }
401
+
402
+ .background-black {
403
+ background-color: #252525 !important;
404
+ }
405
+
406
+ .background-border-black {
407
+ background-color: #252525 !important;
408
+ border-color: #252525 !important;
409
+ }
410
+
411
+ .border-black {
412
+ border-color: #252525 !important;
413
+ }
414
+
415
+ .text-orange {
416
+ color: #fd6031 !important;
417
+ }
418
+
419
+ .text-orange-bold {
420
+ color: #fd6031 !important;
421
+ font-weight: bold !important;
422
+ }
423
+
424
+ .background-orange {
425
+ background-color: #fd6031 !important;
426
+ }
427
+
428
+ .background-border-orange {
429
+ background-color: #fd6031 !important;
430
+ border-color: #fd6031 !important;
431
+ }
432
+
433
+ .border-orange {
434
+ border-color: #fd6031 !important;
231
435
  }
232
436
 
233
437
  *::-webkit-scrollbar {
@@ -248,3 +452,41 @@ input[type=file] {
248
452
  *::-webkit-scrollbar-thumb:active {
249
453
  background-color: #6c757d;
250
454
  }
455
+
456
+ .flex-center {
457
+ display: flex !important;
458
+ align-items: center !important;
459
+ justify-content: center !important;
460
+ }
461
+
462
+ .flex-center-left {
463
+ display: flex !important;
464
+ align-items: center !important;
465
+ justify-content: flex-start !important;
466
+ }
467
+
468
+ .flex-center-right {
469
+ display: flex !important;
470
+ align-items: center !important;
471
+ justify-content: flex-end !important;
472
+ }
473
+
474
+ .fill-space {
475
+ flex: 1 1 auto;
476
+ }
477
+
478
+ .tooltip-inner {
479
+ min-width: 125px;
480
+ max-width: 250px;
481
+ min-height: 35px;
482
+ display: flex;
483
+ align-items: center;
484
+ justify-content: center;
485
+ word-break: break-word;
486
+ }
487
+
488
+ .invisible {
489
+ visibility: hidden !important;
490
+ width: 0px !important;
491
+ height: 0px !important;
492
+ }
@@ -1,2 +0,0 @@
1
- export * from './src/components.module';
2
- export * from './src/coer-alert/coer-alert.component';
@@ -1,56 +0,0 @@
1
- <aside class="toast-container coer-alert">
2
- <!-- Success -->
3
- <div id="alert-success" role="alert" aria-live="assertive" aria-atomic="true" class="toast">
4
- <div class="toast-header">
5
- <i id="alert-success-icon"></i>
6
- <strong id="alert-success-title"></strong>
7
- <button type="button" (click)="Close('alert-success')" class="btn-close btn-close-white"></button>
8
- </div>
9
-
10
- <div class="toast-body">
11
- <pre id="alert-success-message"></pre>
12
- </div>
13
- </div>
14
-
15
-
16
- <!-- Error -->
17
- <div id="alert-error" role="alert" aria-live="assertive" aria-atomic="true" class="toast">
18
- <div class="toast-header">
19
- <i id="alert-error-icon"></i>
20
- <strong id="alert-error-title"></strong>
21
- <button type="button" (click)="Close('alert-error')" class="btn-close btn-close-white"></button>
22
- </div>
23
-
24
- <div class="toast-body">
25
- <pre id="alert-error-message"></pre>
26
- </div>
27
- </div>
28
-
29
-
30
- <!-- Info -->
31
- <div id="alert-info" role="alert" aria-live="assertive" aria-atomic="true" class="toast">
32
- <div class="toast-header">
33
- <i id="alert-info-icon"></i>
34
- <strong id="alert-info-title"></strong>
35
- <button type="button" (click)="Close('alert-info')" class="btn-close btn-close-white"></button>
36
- </div>
37
-
38
- <div class="toast-body">
39
- <pre id="alert-info-message"></pre>
40
- </div>
41
- </div>
42
-
43
-
44
- <!-- Warning -->
45
- <div id="alert-warning" role="alert" aria-live="assertive" aria-atomic="true" class="toast">
46
- <div class="toast-header">
47
- <i id="alert-warning-icon"></i>
48
- <strong id="alert-warning-title"></strong>
49
- <button type="button" (click)="Close('alert-warning')" class="btn-close"></button>
50
- </div>
51
-
52
- <div class="toast-body">
53
- <pre id="alert-warning-message"></pre>
54
- </div>
55
- </div>
56
- </aside>
@@ -1,100 +0,0 @@
1
- @import "../../../styles/colors.scss";
2
-
3
- aside.toast-container {
4
- position: fixed;
5
- bottom: 0px;
6
- right: 0px;
7
- padding: 15px !important;
8
- z-index: 2000 !important;
9
-
10
- i, svg {
11
- display: flex;
12
- align-items: center;
13
- }
14
-
15
- strong {
16
- margin: 0px auto 0px 5px;
17
- }
18
-
19
- div.toast,
20
- div.toast-header {
21
- border-top-left-radius: 10px;
22
- border-top-right-radius: 10px;
23
- color: $white;
24
- }
25
-
26
- div.toast,
27
- div.toast-body {
28
- border-bottom-left-radius: 10px;
29
- border-bottom-right-radius: 10px;
30
- color: $white;
31
- }
32
-
33
- div.toast-body {
34
- min-height: 36px;
35
- }
36
-
37
- pre {
38
- font-family: Roboto, RobotoFallback, "Noto Kufi Arabic", Helvetica, Arial, sans-serif;
39
- white-space: pre-wrap;
40
- font-size: medium;
41
- }
42
-
43
- button {
44
- margin: 0px 2px !important;
45
- width: 10px !important;
46
- height: 10px !important;
47
- box-shadow: none !important;
48
- outline: none !important;
49
- border: none !important;
50
- }
51
-
52
- div#alert-success div.toast-header,
53
- div#alert-success div.toast-body {
54
- background-color: $green;
55
- }
56
-
57
- div#alert-info div.toast-header,
58
- div#alert-info div.toast-body {
59
- background-color: $blue;
60
- }
61
-
62
- div#alert-error div.toast-header,
63
- div#alert-error div.toast-body {
64
- background-color: $red;
65
- }
66
-
67
- div#alert-warning div.toast-header,
68
- div#alert-warning div.toast-body {
69
- background-color: $yellow;
70
- border-color: $black;
71
- color: $black;
72
- }
73
-
74
- div#alert-success:hover,
75
- div#alert-info:hover,
76
- div#alert-error:hover,
77
- div#alert-warning:hover {
78
- transform: scale(1.01);
79
- box-shadow: 2px 2px 10px lightslategray;
80
- cursor: default;
81
- }
82
- }
83
-
84
- button.sweet-alert-button {
85
- width: 100px !important;
86
- height: 40px !important;
87
- display: flex !important;
88
- align-items: center !important;
89
- justify-content: center !important;
90
- margin: 0px 5px !important;
91
- outline: none !important;
92
- border: none !important;
93
- box-shadow: none !important;
94
- }
95
-
96
- aside.toast-container > * {
97
- border: none !important;
98
- z-index: 2000 !important;
99
- margin: 15px 0px 0px 0px !important;
100
- }