coer-elements 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/components/index.d.ts +2 -2
  2. package/esm2022/coer-elements.mjs +2 -2
  3. package/esm2022/components/index.mjs +3 -3
  4. package/esm2022/components/lib/coer-alert/coer-alert.component.mjs +227 -0
  5. package/esm2022/components/lib/components.module.mjs +92 -0
  6. package/esm2022/public_api.mjs +2 -0
  7. package/fesm2022/coer-elements.mjs +6 -697
  8. package/fesm2022/coer-elements.mjs.map +1 -1
  9. package/index.d.ts +5 -1
  10. package/package.json +1 -1
  11. package/public_api.d.ts +1 -0
  12. package/src/styles/bootstrap.scss +15 -0
  13. package/src/styles/coer-elements.scss +29 -0
  14. package/{styles → src/styles}/colors.scss +27 -1
  15. package/src/styles/containers.scss +34 -0
  16. package/src/styles/cursores.scss +11 -0
  17. package/src/styles/layout.scss +21 -0
  18. package/src/styles/scroll-bar.scss +20 -0
  19. package/styles/{index.css → coer-elements.css} +268 -26
  20. package/components/index.ts +0 -2
  21. package/components/src/coer-alert/coer-alert.component.html +0 -56
  22. package/components/src/coer-alert/coer-alert.component.scss +0 -100
  23. package/components/src/coer-alert/coer-alert.component.ts +0 -249
  24. package/components/src/components.module.ts +0 -97
  25. package/esm2022/components/src/coer-alert/coer-alert.component.mjs +0 -227
  26. package/esm2022/components/src/components.module.mjs +0 -92
  27. package/esm2022/index.mjs +0 -2
  28. package/esm2022/interfaces/index.mjs +0 -7
  29. package/esm2022/interfaces/src/IAppSource.interface.mjs +0 -2
  30. package/esm2022/interfaces/src/IBreadcrumb.interface.mjs +0 -2
  31. package/esm2022/interfaces/src/ICoerRef.interface.mjs +0 -2
  32. package/esm2022/interfaces/src/IGoBack.interface.mjs +0 -2
  33. package/esm2022/interfaces/src/IPatch.interface.mjs +0 -2
  34. package/esm2022/interfaces/src/IScreenSize.interface.mjs +0 -2
  35. package/esm2022/tools/index.mjs +0 -9
  36. package/esm2022/tools/src/Breadcrumbs.class.mjs +0 -63
  37. package/esm2022/tools/src/ControlValue.mjs +0 -44
  38. package/esm2022/tools/src/DateTime.class.mjs +0 -22
  39. package/esm2022/tools/src/Files.class.mjs +0 -93
  40. package/esm2022/tools/src/Page.class.mjs +0 -162
  41. package/esm2022/tools/src/Screen.class.mjs +0 -43
  42. package/esm2022/tools/src/Source.class.mjs +0 -80
  43. package/esm2022/tools/src/Tools.mjs +0 -200
  44. package/interfaces/index.d.ts +0 -6
  45. package/interfaces/index.ts +0 -6
  46. package/interfaces/src/IAppSource.interface.d.ts +0 -4
  47. package/interfaces/src/IAppSource.interface.ts +0 -4
  48. package/interfaces/src/IBreadcrumb.interface.d.ts +0 -6
  49. package/interfaces/src/IBreadcrumb.interface.ts +0 -6
  50. package/interfaces/src/ICoerRef.interface.d.ts +0 -10
  51. package/interfaces/src/ICoerRef.interface.ts +0 -11
  52. package/interfaces/src/IGoBack.interface.d.ts +0 -6
  53. package/interfaces/src/IGoBack.interface.ts +0 -6
  54. package/interfaces/src/IPatch.interface.d.ts +0 -5
  55. package/interfaces/src/IPatch.interface.ts +0 -5
  56. package/interfaces/src/IScreenSize.interface.d.ts +0 -5
  57. package/interfaces/src/IScreenSize.interface.ts +0 -5
  58. package/styles/index.scss +0 -98
  59. package/tools/index.d.ts +0 -8
  60. package/tools/index.ts +0 -8
  61. package/tools/src/Breadcrumbs.class.d.ts +0 -18
  62. package/tools/src/Breadcrumbs.class.ts +0 -84
  63. package/tools/src/ControlValue.d.ts +0 -23
  64. package/tools/src/ControlValue.ts +0 -63
  65. package/tools/src/DateTime.class.d.ts +0 -11
  66. package/tools/src/DateTime.class.ts +0 -27
  67. package/tools/src/Files.class.d.ts +0 -16
  68. package/tools/src/Files.class.ts +0 -119
  69. package/tools/src/Page.class.d.ts +0 -66
  70. package/tools/src/Page.class.ts +0 -197
  71. package/tools/src/Screen.class.d.ts +0 -11
  72. package/tools/src/Screen.class.ts +0 -50
  73. package/tools/src/Source.class.d.ts +0 -20
  74. package/tools/src/Source.class.ts +0 -107
  75. package/tools/src/Tools.d.ts +0 -33
  76. package/tools/src/Tools.ts +0 -217
  77. /package/components/{src → lib}/coer-alert/coer-alert.component.d.ts +0 -0
  78. /package/components/{src → lib}/components.module.d.ts +0 -0
@@ -1,43 +0,0 @@
1
- import { Observable } from "rxjs";
2
- export class Screen {
3
- static get WINDOW_WIDTH() {
4
- return window.innerWidth;
5
- }
6
- static get WINDOW_HEIGHT() {
7
- return window.innerHeight;
8
- }
9
- static get DEVICE_WIDTH() {
10
- return window.screen.width;
11
- }
12
- static get DEVICE_HEIGHT() {
13
- return window.screen.height;
14
- }
15
- static get BREAKPOINT() {
16
- if (window.innerWidth < 576)
17
- return 'xs';
18
- else if (window.innerWidth >= 576 && window.innerWidth < 768)
19
- return 'sm';
20
- else if (window.innerWidth >= 768 && window.innerWidth < 992)
21
- return 'md';
22
- else if (window.innerWidth >= 992 && window.innerWidth < 1200)
23
- return 'lg';
24
- else if (window.innerWidth >= 1200 && window.innerWidth < 1400)
25
- return 'xl';
26
- else
27
- return 'xxl';
28
- }
29
- /** */
30
- static { this.Resize = new Observable(subscriber => {
31
- window.addEventListener("load", () => {
32
- window.dispatchEvent(new Event('resize'));
33
- });
34
- window.onresize = () => {
35
- subscriber.next({
36
- width: window.innerWidth,
37
- height: window.innerHeight,
38
- breakpoin: this.BREAKPOINT
39
- });
40
- };
41
- }); }
42
- }
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2NyZWVuLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29lci1lbGVtZW50cy90b29scy9zcmMvU2NyZWVuLmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFFbEMsTUFBTSxPQUFPLE1BQU07SUFFUixNQUFNLEtBQUssWUFBWTt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pemUgPSAoKSA9PiB7XHJcbiAgICAgICAgICAgIHN1YnNjcmliZXIubmV4dCh7XHJcbiAgICAgICAgICAgICAgICB3aWR0aDogd2luZG93LmlubmVyV2lkdGgsXHJcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IHdpbmRvdy5pbm5lckhlaWdodCxcclxuICAgICAgICAgICAgICAgIGJyZWFrcG9pbjogdGhpcy5CUkVBS1BPSU5UXHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgIH1cclxuICAgIH0pO1xyXG59Il19
@@ -1,80 +0,0 @@
1
- import { Router } from '@angular/router';
2
- import { inject } from "@angular/core";
3
- import { Breadcrumbs } from './Breadcrumbs.class';
4
- import { Tools } from './Tools';
5
- export class Source {
6
- static { this.storage = 'COER-System'; }
7
- /** */
8
- static Set(page) {
9
- const ROUTER = inject(Router);
10
- let path = ROUTER.url;
11
- if (path.includes('?'))
12
- path = path.split('?')[0];
13
- Breadcrumbs.Add(page, path);
14
- const breadcrumbs = Breadcrumbs.Get();
15
- if (breadcrumbs.length >= 2) {
16
- breadcrumbs.pop();
17
- const breadcrumb = breadcrumbs.pop();
18
- this.Save({ page: breadcrumb.page, path: breadcrumb.path });
19
- }
20
- else
21
- this.Save(null);
22
- }
23
- /** */
24
- static Save(source) {
25
- let storage = sessionStorage.getItem(this.storage);
26
- if (storage)
27
- storage = JSON.parse(storage);
28
- storage = Object.assign({}, storage, { source });
29
- sessionStorage.setItem(this.storage, JSON.stringify(storage));
30
- }
31
- /** */
32
- static Get() {
33
- let storage = sessionStorage.getItem(this.storage);
34
- if (storage) {
35
- storage = JSON.parse(storage);
36
- if (storage.hasOwnProperty('source')) {
37
- return storage.source;
38
- }
39
- }
40
- return null;
41
- }
42
- /** */
43
- static GetRoot() {
44
- const breadcrumbs = Breadcrumbs.Get();
45
- return (breadcrumbs.length > 0) ? breadcrumbs.shift() : null;
46
- }
47
- /** */
48
- static SetPageResponse(pageResponse) {
49
- let storage = sessionStorage.getItem(this.storage);
50
- storage = JSON.parse(storage);
51
- storage = Object.assign({}, storage, { pageResponse });
52
- sessionStorage.setItem(this.storage, JSON.stringify(storage));
53
- }
54
- /** */
55
- static GetPageResponse() {
56
- let storage = sessionStorage.getItem(this.storage);
57
- if (storage) {
58
- storage = JSON.parse(storage);
59
- if (storage.hasOwnProperty('pageResponse')) {
60
- return Tools.BreakReference(storage.pageResponse);
61
- }
62
- }
63
- return null;
64
- }
65
- /** */
66
- static ClearPageResponse() {
67
- let storage = sessionStorage.getItem(this.storage);
68
- storage = JSON.parse(storage);
69
- if (storage.hasOwnProperty('pageResponse')) {
70
- delete storage.pageResponse;
71
- }
72
- storage = Object.assign({}, storage);
73
- sessionStorage.setItem(this.storage, JSON.stringify(storage));
74
- }
75
- /** Clear Source */
76
- static Reset() {
77
- sessionStorage.removeItem(this.storage);
78
- }
79
- }
80
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU291cmNlLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29lci1lbGVtZW50cy90b29scy9zcmMvU291cmNlLmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNsRCxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBRWhDLE1BQU0sT0FBTyxNQUFNO2FBRVMsWUFBTyxHQUFHLGFBQWEsQ0FBQztJQUVoRCxNQUFNO0lBQ0MsTUFBTSxDQUFDLEdBQUcsQ0FBQyxJQUFZO1FBQzFCLE1BQU0sTUFBTSxHQUFHLE1BQU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Ki9cclxuICAgIHB1YmxpYyBzdGF0aWMgUmVzZXQoKTogdm9pZCB7XHJcbiAgICAgICAgc2Vzc2lvblN0b3JhZ2UucmVtb3ZlSXRlbSh0aGlzLnN0b3JhZ2UpO1xyXG4gICAgfVxyXG59Il19
@@ -1,200 +0,0 @@
1
- import { signal } from "@angular/core";
2
- const reference_signal = signal({});
3
- export const Tools = {
4
- /** Generate a Guid */
5
- GetGuid: (seed = 'coer-system') => {
6
- let time = new Date().getTime();
7
- seed = seed.toString().trim();
8
- return seed + `-xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g, (c) => {
9
- const random = (time + Math.random() * 16) % 16 | 0;
10
- time = Math.floor(time / 16);
11
- return (c == 'x' ? random : (random & 0x3 | 0x8)).toString(16);
12
- });
13
- },
14
- /** Returns true if the value is null or undefined, false otherwise */
15
- IsNull: (value) => {
16
- if (value === undefined)
17
- return true;
18
- if (value === null)
19
- return true;
20
- return false;
21
- },
22
- /** Returns true if the value is not null or undefined, false otherwise */
23
- IsNotNull: (value) => {
24
- if (value === undefined)
25
- return false;
26
- if (value === null)
27
- return false;
28
- return true;
29
- },
30
- /** Returns true if the value is null or undefined or contains only whitespace, false otherwise */
31
- IsOnlyWhiteSpace: (value) => {
32
- if (value === undefined)
33
- return true;
34
- if (value === null)
35
- return true;
36
- if (value.toString().trim() === '')
37
- return true;
38
- return false;
39
- },
40
- /** Break reference of a object or array */
41
- BreakReference: (object) => {
42
- if (object === undefined)
43
- return undefined;
44
- if (object === null)
45
- return null;
46
- const OBJECT = JSON.parse(JSON.stringify(object));
47
- return (Array.isArray(OBJECT)) ? [...OBJECT] : { ...OBJECT };
48
- },
49
- /** Clean extra whitespaces */
50
- CleanUpBlanks: (text) => {
51
- if (Tools.IsNull(text))
52
- return '';
53
- let worlds = String(text).split(' ');
54
- worlds = worlds.filter(x => x.length > 0);
55
- return worlds.join(' ');
56
- },
57
- /** Get properties of an object */
58
- GetObjectProperties: (obj) => {
59
- const properties = [];
60
- if (Tools.IsNull(obj))
61
- return properties;
62
- for (const property in obj)
63
- properties.push(String(property));
64
- return properties;
65
- },
66
- /**
67
- * Set an index and merge more arrays of the same type
68
- * @returns A new array
69
- * */
70
- SetIndex: (array, ...args) => {
71
- let index = 0;
72
- for (const arg of args) {
73
- array = Tools.BreakReference(array).concat(Tools.BreakReference(arg));
74
- }
75
- return Tools.BreakReference(array).map(item => Object.assign({ index: index++ }, item));
76
- },
77
- /** Set First Char To Lower */
78
- FirstCharToLower: (text) => {
79
- if (Tools.IsNull(text))
80
- return '';
81
- const textArray = [];
82
- for (let i = 0; i < text.length; i++) {
83
- if (i === 0)
84
- textArray.push(text[i].toLowerCase());
85
- else
86
- textArray.push(text[i]);
87
- }
88
- return textArray.join('');
89
- },
90
- /** Set First Char To Upper */
91
- FirstCharToUpper: (text) => {
92
- if (Tools.IsNull(text))
93
- return '';
94
- const textArray = [];
95
- for (let i = 0; i < text.length; i++) {
96
- if (i === 0)
97
- textArray.push(text[i].toUpperCase());
98
- else
99
- textArray.push(text[i]);
100
- }
101
- return textArray.join('');
102
- },
103
- /** Sort an array in ascending order by property */
104
- SortBy: (array, property, propertyType = 'string') => {
105
- switch (propertyType) {
106
- case 'string': {
107
- return array.sort((x, y) => {
108
- if (String(x[property]).toUpperCase().trim() < String(y[property]).toUpperCase().trim())
109
- return -1;
110
- else if (String(x[property]).toUpperCase().trim() > String(y[property]).toUpperCase().trim())
111
- return 1;
112
- else
113
- return 0;
114
- });
115
- }
116
- case 'number': {
117
- return array.sort((x, y) => Number(x[property] - Number(y[property])));
118
- }
119
- }
120
- },
121
- /** Sort an array in descending order by property */
122
- SortByDesc: (array, property, propertyType = 'string') => {
123
- switch (propertyType) {
124
- case 'string': {
125
- return array.sort((x, y) => {
126
- if (String(x[property]).toUpperCase().trim() < String(y[property]).toUpperCase().trim())
127
- return 1;
128
- else if (String(x[property]).toUpperCase().trim() > String(y[property]).toUpperCase().trim())
129
- return -1;
130
- else
131
- return 0;
132
- });
133
- }
134
- case 'number': {
135
- return array.sort((x, y) => Number(Number(y[property])) - x[property]);
136
- }
137
- }
138
- },
139
- /** Return a string with forman numeric */
140
- GetNumericFormat: (value, decimals = 0) => {
141
- if (value == undefined
142
- || value == null
143
- || value.toString().trim() == ''
144
- || isNaN(Number(value))) {
145
- return '0';
146
- }
147
- let valueInteger = '';
148
- let valueDecimal = '';
149
- value = value.toString().replaceAll(' ', '');
150
- if (value.includes('.') || (decimals > 0)) {
151
- valueInteger = value.includes('.') ? value.split('.')[0] : value;
152
- if (decimals > 0) {
153
- const PADDING = decimals - valueDecimal.length;
154
- valueDecimal = value.includes('.') ? value.split('.')[1] : '';
155
- for (let i = 0; i < PADDING; i++)
156
- valueDecimal += '0';
157
- valueDecimal = valueDecimal.substring(0, decimals);
158
- valueDecimal = `.${valueDecimal}`;
159
- }
160
- }
161
- else {
162
- valueInteger = value;
163
- }
164
- let counter = 0;
165
- const VALUE_INTEGER_ARRAY = [];
166
- for (const char of valueInteger.split('').reverse()) {
167
- if (counter == 3) {
168
- VALUE_INTEGER_ARRAY.push(',');
169
- counter = 0;
170
- }
171
- VALUE_INTEGER_ARRAY.push(char);
172
- ++counter;
173
- }
174
- valueInteger = VALUE_INTEGER_ARRAY.reverse().join('');
175
- return `${valueInteger}${valueDecimal}`;
176
- },
177
- /** Wait the time indicated */
178
- Sleep: (milliseconds = 0, reference = null) => {
179
- if (Tools.IsNull(reference)) {
180
- return new Promise(Resolve => setTimeout(Resolve, milliseconds));
181
- }
182
- else
183
- return new Promise(Resolve => {
184
- reference = reference.replaceAll(' ', '_').toLowerCase();
185
- if (reference_signal().hasOwnProperty(reference)) {
186
- clearInterval(reference_signal()[reference]);
187
- }
188
- reference_signal.set(Object.assign(reference_signal(), {
189
- [reference]: setTimeout(() => {
190
- Resolve();
191
- clearInterval(reference_signal()[reference]);
192
- const _reference = { ...reference_signal() };
193
- delete _reference[reference];
194
- reference_signal.set({ ..._reference });
195
- }, milliseconds)
196
- }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aW5nKHlbcHJvcGVydHldKS50b1VwcGVyQ2FzZSgpLnRyaW0oKSkgcmV0dXJuIC0xO1xyXG4gICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKFN0cmluZyh4W3Byb3BlcnR5XSkudG9VcHBlckNhc2UoKS50cmltKCkgPiBTdHJpbmcoeVtwcm9wZXJ0eV0pLnRvVXBwZXJDYXNlKCkudHJpbSgpKSByZXR1cm4gMTtcclxuICAgICAgICAgICAgICAgICAgICBlbHNlIHJldHVybiAwO1xyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGNhc2UgJ251bWJlcic6IHtcclxuICAgICAgICAgICAgICAgIHJldHVybiBhcnJheS5zb3J0KCh4OiBhbnksIHk6IGFueSkgPT4gTnVtYmVyKHhbcHJvcGVydHldIC0gTnVtYmVyKHlbcHJvcGVydHldKSkpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfSxcclxuXHJcblxyXG4gICAgLyoqIFNvcnQgYW4gYXJyYXkgaW4gZGVzY2VuZGluZyBvcmRlciBieSBwcm9wZXJ0eSAqL1xyXG4gICAgU29ydEJ5RGVzYzogPFQ+KGFycmF5OiBUW10sIHByb3BlcnR5OiBzdHJpbmcsIHByb3BlcnR5VHlwZTogJ3N0cmluZycgfCAnbnVtYmVyJyA9ICdzdHJpbmcnKTogVFtdID0+IHtcclxuICAgICAgICBzd2l0Y2ggKHByb3BlcnR5VHlwZSkge1xyXG4gICAgICAgICAgICBjYXNlICdzdHJpbmcnOiB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gYXJyYXkuc29ydCgoeDogYW55LCB5OiBhbnkpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoU3RyaW5nKHhbcHJvcGVydHldKS50b1VwcGVyQ2FzZSgpLnRyaW0oKSA8IFN0cmluZyh5W3Byb3BlcnR5XSkudG9VcHBlckNhc2UoKS50cmltKCkpIHJldHVybiAxO1xyXG4gICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKFN0cmluZyh4W3Byb3BlcnR5XSkudG9VcHBlckNhc2UoKS50cmltKCkgPiBTdHJpbmcoeVtwcm9wZXJ0eV0pLnRvVXBwZXJDYXNlKCkudHJpbSgpKSByZXR1cm4gLTE7XHJcbiAgICAgICAgICAgICAgICAgICAgZWxzZSByZXR1cm4gMDtcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICBjYXNlICdudW1iZXInOiB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gYXJyYXkuc29ydCgoeDogYW55LCB5OiBhbnkpID0+IE51bWJlcihOdW1iZXIoeVtwcm9wZXJ0eV0pKSAtIHhbcHJvcGVydHldKTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH0sXHJcblxyXG5cclxuICAgIC8qKiBSZXR1cm4gYSBzdHJpbmcgd2l0aCBmb3JtYW4gbnVtZXJpYyAqL1xyXG4gICAgR2V0TnVtZXJpY0Zvcm1hdDogKHZhbHVlOiBzdHJpbmcgfCBudW1iZXIgfCBudWxsIHwgdW5kZWZpbmVkLCBkZWNpbWFsczogbnVtYmVyID0gMCk6IHN0cmluZyA9PiB7XHJcbiAgICAgICAgaWYgKHZhbHVlID09IHVuZGVmaW5lZFxyXG4gICAgICAgICAgICB8fCB2YWx1ZSA9PSBudWxsXHJcbiAgICAgICAgICAgIHx8IHZhbHVlLnRvU3RyaW5nKCkudHJpbSgpID09ICcnXHJcbiAgICAgICAgICAgIHx8IGlzTmFOKE51bWJlcih2YWx1ZSkpKSB7XHJcbiAgICAgICAgICAgIHJldHVybiAnMCc7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBsZXQgdmFsdWVJbnRlZ2VyID0gJyc7XHJcbiAgICAgICAgbGV0IHZhbHVlRGVjaW1hbCA9ICcnO1xyXG4gICAgICAgIHZhbHVlID0gdmFsdWUudG9TdHJpbmcoKS5yZXBsYWNlQWxsKCcgJywgJycpO1xyXG5cclxuICAgICAgICBpZiAodmFsdWUuaW5jbHVkZXMoJy4nKSB8fCAoZGVjaW1hbHMgPiAwKSkge1xyXG4gICAgICAgICAgICB2YWx1ZUludGVnZXIgPSB2YWx1ZS5pbmNsdWRlcygnLicpID8gdmFsdWUuc3BsaXQoJy4nKVswXSA6IHZhbHVlO1xyXG5cclxuICAgICAgICAgICAgaWYgKGRlY2ltYWxzID4gMCkge1xyXG4gICAgICAgICAgICAgICAgY29uc3QgUEFERElORyA9IGRlY2ltYWxzIC0gdmFsdWVEZWNpbWFsLmxlbmd0aDtcclxuICAgICAgICAgICAgICAgIHZhbHVlRGVjaW1hbCA9IHZhbHVlLmluY2x1ZGVzKCcuJykgPyB2YWx1ZS5zcGxpdCgnLicpWzFdIDogJyc7XHJcbiAgICAgICAgICAgICAgICBmb3IobGV0IGkgPSAwOyBpIDwgUEFERElORzsgaSsrKSB2YWx1ZURlY2ltYWwgKz0gJzAnO1xyXG4gICAgICAgICAgICAgICAgdmFsdWVEZWNpbWFsID0gdmFsdWVEZWNpbWFsLnN1YnN0cmluZygwLCBkZWNpbWFscyk7XHJcbiAgICAgICAgICAgICAgICB2YWx1ZURlY2ltYWwgPSBgLiR7dmFsdWVEZWNpbWFsfWA7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGVsc2Uge1xyXG4gICAgICAgICAgICB2YWx1ZUludGVnZXIgPSB2YWx1ZTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGxldCBjb3VudGVyID0gMDtcclxuICAgICAgICBjb25zdCBWQUxVRV9JTlRFR0VSX0FSUkFZOiBzdHJpbmdbXSA9IFtdO1xyXG4gICAgICAgIGZvcihjb25zdCBjaGFyIG9mIHZhbHVlSW50ZWdlci5zcGxpdCgnJykucmV2ZXJzZSgpKSB7XHJcbiAgICAgICAgICAgIGlmIChjb3VudGVyID09IDMpIHtcclxuIC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lIV0pO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICByZWZlcmVuY2Vfc2lnbmFsLnNldChPYmplY3QuYXNzaWduKHJlZmVyZW5jZV9zaWduYWwoKSwge1xyXG4gICAgICAgICAgICAgICAgW3JlZmVyZW5jZSFdOiBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICBSZXNvbHZlKCk7XHJcbiAgICAgICAgICAgICAgICAgICAgY2xlYXJJbnRlcnZhbChyZWZlcmVuY2Vfc2lnbmFsKClbcmVmZXJlbmNlIV0pO1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IF9yZWZlcmVuY2UgPSB7IC4uLnJlZmVyZW5jZV9zaWduYWwoKSB9O1xyXG4gICAgICAgICAgICAgICAgICAgIGRlbGV0ZSBfcmVmZXJlbmNlW3JlZmVyZW5jZSFdO1xyXG4gICAgICAgICAgICAgICAgICAgIHJlZmVyZW5jZV9zaWduYWwuc2V0KHsgLi4uX3JlZmVyZW5jZSB9KTtcclxuICAgICAgICAgICAgICAgIH0sIG1pbGxpc2Vjb25kcylcclxuICAgICAgICAgICAgfSkpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfVxyXG59OyJdfQ==
@@ -1,6 +0,0 @@
1
- export * from './src/IAppSource.interface';
2
- export * from './src/IBreadcrumb.interface';
3
- export * from './src/ICoerRef.interface';
4
- export * from './src/IGoBack.interface';
5
- export * from './src/IPatch.interface';
6
- export * from './src/IScreenSize.interface';
@@ -1,6 +0,0 @@
1
- export * from './src/IAppSource.interface';
2
- export * from './src/IBreadcrumb.interface';
3
- export * from './src/ICoerRef.interface';
4
- export * from './src/IGoBack.interface';
5
- export * from './src/IPatch.interface';
6
- export * from './src/IScreenSize.interface';
@@ -1,4 +0,0 @@
1
- export interface IAppSource {
2
- page: string;
3
- path: string;
4
- }
@@ -1,4 +0,0 @@
1
- export interface IAppSource {
2
- page: string;
3
- path: string;
4
- }
@@ -1,6 +0,0 @@
1
- export interface IBreadcrumb {
2
- page: string;
3
- path?: string | null;
4
- queryParams?: any;
5
- click?: (() => any);
6
- }
@@ -1,6 +0,0 @@
1
- export interface IBreadcrumb {
2
- page: string;
3
- path?: string | null;
4
- queryParams?: any;
5
- click?: (() => any);
6
- }
@@ -1,10 +0,0 @@
1
- import { TemplateRef, WritableSignal } from '@angular/core';
2
- export interface ICoerRef {
3
- coerRef: WritableSignal<string>;
4
- title: WritableSignal<string>;
5
- icon: WritableSignal<string>;
6
- isDisabled: WritableSignal<boolean>;
7
- show: WritableSignal<boolean>;
8
- tooltip: WritableSignal<string>;
9
- template: TemplateRef<any>;
10
- }
@@ -1,11 +0,0 @@
1
- import { TemplateRef, WritableSignal } from '@angular/core';
2
-
3
- export interface ICoerRef {
4
- coerRef: WritableSignal<string>;
5
- title: WritableSignal<string>;
6
- icon: WritableSignal<string>;
7
- isDisabled: WritableSignal<boolean>;
8
- show: WritableSignal<boolean>;
9
- tooltip: WritableSignal<string>;
10
- template: TemplateRef<any>;
11
- }
@@ -1,6 +0,0 @@
1
- export interface IGoBack {
2
- show: boolean;
3
- path?: string | null;
4
- queryParams?: any;
5
- click?: (() => any);
6
- }
@@ -1,6 +0,0 @@
1
- export interface IGoBack {
2
- show: boolean;
3
- path?: string | null;
4
- queryParams?: any;
5
- click?: (() => any);
6
- }
@@ -1,5 +0,0 @@
1
- export interface IPatch {
2
- op: 'remove' | 'add' | 'replace';
3
- path: string;
4
- value: any;
5
- }
@@ -1,5 +0,0 @@
1
- export interface IPatch {
2
- op: 'remove' | 'add' | 'replace';
3
- path: string;
4
- value: any;
5
- }
@@ -1,5 +0,0 @@
1
- export interface IScreenSize {
2
- width: number;
3
- height: number;
4
- breakpoin: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
5
- }
@@ -1,5 +0,0 @@
1
- export interface IScreenSize {
2
- width: number;
3
- height: number;
4
- breakpoin: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
5
- }
package/styles/index.scss DELETED
@@ -1,98 +0,0 @@
1
- @import "./colors.scss";
2
-
3
- * {
4
- font-family: sans-serif;
5
- letter-spacing: normal;
6
- }
7
-
8
- .fill-space {
9
- flex: 1 1 auto;
10
- }
11
-
12
- h1, h2, h3, h4, h5, h6, p, pre, hr, figure, fieldset {
13
- margin: 0px;
14
- padding: 0px;
15
- }
16
-
17
- //Containers
18
- @mixin Container() {
19
- margin: 15px 30px 0px 30px;
20
- padding: 10px;
21
- box-shadow: 0px 0px 10px -10px black;
22
- border-radius: 8px;
23
- background-color: white;
24
- animation-name: fadeId;
25
- animation-duration: 1.5s;
26
- animation-iteration-count: 1;
27
- animation-fill-mode: both;
28
- }
29
-
30
- .coer-container {
31
- @include Container();
32
- }
33
-
34
- .coer-container-tab {
35
- @include Container();
36
- padding: 0px;
37
-
38
- .row {
39
- margin: 12px 0px;
40
- }
41
- }
42
-
43
- .coer-container-grid {
44
- @include Container();
45
- padding-bottom: 5px;
46
- }
47
-
48
- @keyframes fadeId {
49
- from { opacity: 0; }
50
- to { opacity: 1; }
51
- }
52
-
53
- //Cursor
54
- .cursor-default {
55
- cursor: default !important;
56
- }
57
-
58
- .cursor-pointer {
59
- cursor: pointer !important;
60
- }
61
-
62
- .cursor-wait {
63
- cursor: wait !important;
64
- }
65
-
66
- //Input
67
- input[type="file"] {
68
- display: none !important;
69
- }
70
-
71
- .readonly {
72
- color: black !important;
73
- background-color: #bbbbbb83 !important;
74
- }
75
-
76
- //Scrollbar
77
- .no-selection::selection {
78
- background-color: transparent !important;
79
- }
80
-
81
- *::-webkit-scrollbar {
82
- background-color: lighten($gray, 48%);
83
- width: 5px;
84
- height: 5px;
85
- }
86
-
87
- *::-webkit-scrollbar-thumb{
88
- background-color: lighten($gray, 35%);
89
- border-radius: 4px;
90
- }
91
-
92
- *::-webkit-scrollbar-thumb:hover {
93
- background-color: $gray;
94
- }
95
-
96
- *::-webkit-scrollbar-thumb:active {
97
- background-color: $gray;
98
- }
package/tools/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export * from './src/Breadcrumbs.class';
2
- export * from './src/ControlValue';
3
- export * from './src/DateTime.class';
4
- export * from './src/Files.class';
5
- export * from './src/Page.class';
6
- export * from './src/Screen.class';
7
- export * from './src/Source.class';
8
- export * from './src/Tools';
package/tools/index.ts DELETED
@@ -1,8 +0,0 @@
1
- export * from './src/Breadcrumbs.class';
2
- export * from './src/ControlValue';
3
- export * from './src/DateTime.class';
4
- export * from './src/Files.class';
5
- export * from './src/Page.class';
6
- export * from './src/Screen.class';
7
- export * from './src/Source.class';
8
- export * from './src/Tools';
@@ -1,18 +0,0 @@
1
- import { IAppSource } from "../../interfaces";
2
- export declare class Breadcrumbs {
3
- private static readonly storage;
4
- /** */
5
- static Add(page: string, path: string): void;
6
- /** */
7
- static Get(): IAppSource[];
8
- /** Source */
9
- static GetFirst(): IAppSource | null;
10
- /** */
11
- static Save(breadcrumbs: IAppSource[]): void;
12
- /** */
13
- static Remove(path: string): void;
14
- /** */
15
- static SetLast(page: string, path: string): void;
16
- /** */
17
- static RemoveLast(): void;
18
- }