coer-elements 0.0.8 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/components/index.d.ts +2 -2
- package/esm2022/coer-elements.mjs +2 -2
- package/esm2022/components/index.mjs +3 -3
- package/esm2022/components/lib/coer-alert/coer-alert.component.mjs +227 -0
- package/esm2022/components/lib/components.module.mjs +92 -0
- package/esm2022/public_api.mjs +3 -0
- package/esm2022/tools/index.mjs +2 -9
- package/esm2022/tools/{src/ControlValue.mjs → lib/controlValue.mjs} +3 -1
- package/fesm2022/coer-elements.mjs +33 -680
- package/fesm2022/coer-elements.mjs.map +1 -1
- package/index.d.ts +5 -1
- package/package.json +1 -1
- package/public_api.d.ts +2 -0
- package/src/styles/bootstrap.scss +15 -0
- package/src/styles/coer-elements.scss +29 -0
- package/{styles → src/styles}/colors.scss +27 -1
- package/src/styles/containers.scss +34 -0
- package/src/styles/cursores.scss +11 -0
- package/src/styles/layout.scss +21 -0
- package/src/styles/scroll-bar.scss +20 -0
- package/styles/{index.css → coer-elements.css} +268 -26
- package/tools/index.d.ts +1 -8
- package/tools/{src/ControlValue.d.ts → lib/controlValue.d.ts} +2 -0
- package/components/index.ts +0 -2
- package/components/src/coer-alert/coer-alert.component.html +0 -56
- package/components/src/coer-alert/coer-alert.component.scss +0 -100
- package/components/src/coer-alert/coer-alert.component.ts +0 -249
- package/components/src/components.module.ts +0 -97
- package/esm2022/components/src/coer-alert/coer-alert.component.mjs +0 -227
- package/esm2022/components/src/components.module.mjs +0 -92
- package/esm2022/index.mjs +0 -2
- package/esm2022/interfaces/index.mjs +0 -7
- package/esm2022/interfaces/src/IAppSource.interface.mjs +0 -2
- package/esm2022/interfaces/src/IBreadcrumb.interface.mjs +0 -2
- package/esm2022/interfaces/src/ICoerRef.interface.mjs +0 -2
- package/esm2022/interfaces/src/IGoBack.interface.mjs +0 -2
- package/esm2022/interfaces/src/IPatch.interface.mjs +0 -2
- package/esm2022/interfaces/src/IScreenSize.interface.mjs +0 -2
- package/esm2022/tools/src/Breadcrumbs.class.mjs +0 -63
- package/esm2022/tools/src/DateTime.class.mjs +0 -22
- package/esm2022/tools/src/Files.class.mjs +0 -93
- package/esm2022/tools/src/Page.class.mjs +0 -162
- package/esm2022/tools/src/Screen.class.mjs +0 -43
- package/esm2022/tools/src/Source.class.mjs +0 -80
- package/esm2022/tools/src/Tools.mjs +0 -200
- package/interfaces/index.d.ts +0 -6
- package/interfaces/index.ts +0 -6
- package/interfaces/src/IAppSource.interface.d.ts +0 -4
- package/interfaces/src/IAppSource.interface.ts +0 -4
- package/interfaces/src/IBreadcrumb.interface.d.ts +0 -6
- package/interfaces/src/IBreadcrumb.interface.ts +0 -6
- package/interfaces/src/ICoerRef.interface.d.ts +0 -10
- package/interfaces/src/ICoerRef.interface.ts +0 -11
- package/interfaces/src/IGoBack.interface.d.ts +0 -6
- package/interfaces/src/IGoBack.interface.ts +0 -6
- package/interfaces/src/IPatch.interface.d.ts +0 -5
- package/interfaces/src/IPatch.interface.ts +0 -5
- package/interfaces/src/IScreenSize.interface.d.ts +0 -5
- package/interfaces/src/IScreenSize.interface.ts +0 -5
- package/styles/index.scss +0 -98
- package/tools/index.ts +0 -8
- package/tools/src/Breadcrumbs.class.d.ts +0 -18
- package/tools/src/Breadcrumbs.class.ts +0 -84
- package/tools/src/ControlValue.ts +0 -63
- package/tools/src/DateTime.class.d.ts +0 -11
- package/tools/src/DateTime.class.ts +0 -27
- package/tools/src/Files.class.d.ts +0 -16
- package/tools/src/Files.class.ts +0 -119
- package/tools/src/Page.class.d.ts +0 -66
- package/tools/src/Page.class.ts +0 -197
- package/tools/src/Screen.class.d.ts +0 -11
- package/tools/src/Screen.class.ts +0 -50
- package/tools/src/Source.class.d.ts +0 -20
- package/tools/src/Source.class.ts +0 -107
- package/tools/src/Tools.d.ts +0 -33
- package/tools/src/Tools.ts +0 -217
- /package/components/{src → lib}/coer-alert/coer-alert.component.d.ts +0 -0
- /package/components/{src → lib}/components.module.d.ts +0 -0
package/components/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
1
|
+
export * from './lib/components.module';
|
2
|
+
export * from './lib/coer-alert/coer-alert.component';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
2
|
* Generated bundle index. Do not edit.
|
3
3
|
*/
|
4
|
-
export * from './
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29lci1lbGVtZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NvZXItZWxlbWVudHMvc3JjL2NvZXItZWxlbWVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export * from './lib/components.module';
|
2
|
+
export * from './lib/coer-alert/coer-alert.component';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL3NyYy9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMubW9kdWxlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29lci1hbGVydC9jb2VyLWFsZXJ0LmNvbXBvbmVudCc7Il19
|
@@ -0,0 +1,227 @@
|
|
1
|
+
import { Component } from '@angular/core';
|
2
|
+
import * as bootstrap from 'bootstrap';
|
3
|
+
import Swal from 'sweetalert2';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export class CoerAlert {
|
6
|
+
/** */
|
7
|
+
Success(message = null, title = null, icon = null, autohide = 3000) {
|
8
|
+
//Title
|
9
|
+
if (!title || title == '')
|
10
|
+
title = 'Success';
|
11
|
+
const alertSuccessTitle = document.getElementById('alert-success-title');
|
12
|
+
alertSuccessTitle.textContent = title;
|
13
|
+
//Icon
|
14
|
+
icon = this.GetIcon(title, icon, 'bi-check-circle fa-beat');
|
15
|
+
const alertSuccessIcon = document.getElementById('alert-success-icon');
|
16
|
+
this.SetIcon(alertSuccessIcon, icon);
|
17
|
+
//Message
|
18
|
+
if (!message)
|
19
|
+
message = '';
|
20
|
+
const alertSuccessMessage = document.getElementById('alert-success-message');
|
21
|
+
alertSuccessMessage.innerHTML = message;
|
22
|
+
//Toast
|
23
|
+
const alertSuccess = document.getElementById('alert-success');
|
24
|
+
this.SetAutoHide(alertSuccess, autohide);
|
25
|
+
const toast = bootstrap.Toast.getOrCreateInstance(alertSuccess);
|
26
|
+
toast.show();
|
27
|
+
}
|
28
|
+
/** */
|
29
|
+
Error(message = null, title = null, icon = null, autohide = 3000) {
|
30
|
+
//Title
|
31
|
+
if (!title || title == '')
|
32
|
+
title = 'Error';
|
33
|
+
const alertErrorTitle = document.getElementById('alert-error-title');
|
34
|
+
alertErrorTitle.textContent = title;
|
35
|
+
//Icon
|
36
|
+
icon = this.GetIcon(title, icon, 'bi-exclamation-octagon fa-beat');
|
37
|
+
const alertErrorIcon = document.getElementById('alert-error-icon');
|
38
|
+
this.SetIcon(alertErrorIcon, icon);
|
39
|
+
//Message
|
40
|
+
if (!message)
|
41
|
+
message = '';
|
42
|
+
const alertErrorBody = document.getElementById('alert-error-message');
|
43
|
+
alertErrorBody.innerHTML = message;
|
44
|
+
//Toast
|
45
|
+
const alertError = document.getElementById('alert-error');
|
46
|
+
this.SetAutoHide(alertError, autohide);
|
47
|
+
const toast = bootstrap.Toast.getOrCreateInstance(alertError);
|
48
|
+
toast.show();
|
49
|
+
}
|
50
|
+
/** */
|
51
|
+
Info(message = null, title = null, icon = null, autohide = 3000) {
|
52
|
+
//Title
|
53
|
+
if (!title || title == '')
|
54
|
+
title = 'Info';
|
55
|
+
const alertInfoTitle = document.getElementById('alert-info-title');
|
56
|
+
alertInfoTitle.textContent = title;
|
57
|
+
//Icon
|
58
|
+
icon = this.GetIcon(title, icon, 'bi-info-circle fa-beat');
|
59
|
+
const alertInfoIcon = document.getElementById('alert-info-icon');
|
60
|
+
this.SetIcon(alertInfoIcon, icon);
|
61
|
+
//Message
|
62
|
+
if (!message)
|
63
|
+
message = '';
|
64
|
+
const alertInfoBody = document.getElementById('alert-info-message');
|
65
|
+
alertInfoBody.innerHTML = message;
|
66
|
+
//Toast
|
67
|
+
const alertInfo = document.getElementById('alert-info');
|
68
|
+
this.SetAutoHide(alertInfo, autohide);
|
69
|
+
const toast = bootstrap.Toast.getOrCreateInstance(alertInfo);
|
70
|
+
toast.show();
|
71
|
+
}
|
72
|
+
/** */
|
73
|
+
Warning(message = null, title = null, icon = null, autohide = 3000) {
|
74
|
+
//Title
|
75
|
+
if (!title || title == '')
|
76
|
+
title = 'Warning';
|
77
|
+
const alertWarningTitle = document.getElementById('alert-warning-title');
|
78
|
+
alertWarningTitle.textContent = title;
|
79
|
+
//Icon
|
80
|
+
icon = this.GetIcon(title, icon, 'bi-exclamation-triangle-fill fa-beat');
|
81
|
+
const alertWarningIcon = document.getElementById('alert-warning-icon');
|
82
|
+
this.SetIcon(alertWarningIcon, icon);
|
83
|
+
//Message
|
84
|
+
if (!message)
|
85
|
+
message = '';
|
86
|
+
const alertWarningBody = document.getElementById('alert-warning-message');
|
87
|
+
alertWarningBody.innerHTML = message;
|
88
|
+
//Toast
|
89
|
+
const alertWarning = document.getElementById('alert-warning');
|
90
|
+
this.SetAutoHide(alertWarning, autohide);
|
91
|
+
const toast = bootstrap.Toast.getOrCreateInstance(alertWarning);
|
92
|
+
toast.show();
|
93
|
+
}
|
94
|
+
/** */
|
95
|
+
Close(alert) {
|
96
|
+
return new Promise(Resolve => {
|
97
|
+
const element = document.getElementById(alert);
|
98
|
+
const toast = bootstrap.Toast.getOrCreateInstance(element);
|
99
|
+
toast.hide();
|
100
|
+
setTimeout(() => { Resolve(); }, 200);
|
101
|
+
});
|
102
|
+
}
|
103
|
+
/** */
|
104
|
+
Confirm(message = 'Proceed?', alertType = 'warning', icon = null) {
|
105
|
+
return new Promise(Resolve => {
|
106
|
+
let color;
|
107
|
+
let iconType;
|
108
|
+
switch (alertType) {
|
109
|
+
case 'danger':
|
110
|
+
{
|
111
|
+
if (icon == null)
|
112
|
+
icon = 'bi-exclamation-octagon';
|
113
|
+
iconType = 'error';
|
114
|
+
color = '#dc3545'; //red
|
115
|
+
break;
|
116
|
+
}
|
117
|
+
;
|
118
|
+
case 'success':
|
119
|
+
{
|
120
|
+
if (icon == null)
|
121
|
+
icon = 'bi-check-circle';
|
122
|
+
iconType = 'info';
|
123
|
+
color = '#198754'; //green
|
124
|
+
break;
|
125
|
+
}
|
126
|
+
;
|
127
|
+
case 'info':
|
128
|
+
{
|
129
|
+
if (icon == null)
|
130
|
+
icon = 'bi-info-circle';
|
131
|
+
iconType = 'error';
|
132
|
+
color = '#0d6efd'; //blue
|
133
|
+
break;
|
134
|
+
}
|
135
|
+
;
|
136
|
+
default: {
|
137
|
+
if (icon == null)
|
138
|
+
icon = 'bi-exclamation-triangle-fill';
|
139
|
+
iconType = 'warning';
|
140
|
+
color = '#ffc107'; //yellow
|
141
|
+
break;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
switch (icon) {
|
145
|
+
case 'delete':
|
146
|
+
icon = 'fa-regular fa-trash-can';
|
147
|
+
break;
|
148
|
+
}
|
149
|
+
Swal.fire({
|
150
|
+
icon: iconType,
|
151
|
+
iconColor: 'transparent',
|
152
|
+
iconHtml: `<i class="${icon}" style="color: ${color};"></i>`,
|
153
|
+
html: message,
|
154
|
+
showConfirmButton: true,
|
155
|
+
confirmButtonText: 'Yes',
|
156
|
+
confirmButtonColor: color,
|
157
|
+
focusConfirm: true,
|
158
|
+
showDenyButton: true,
|
159
|
+
denyButtonColor: color,
|
160
|
+
focusDeny: false,
|
161
|
+
reverseButtons: true,
|
162
|
+
allowOutsideClick: false,
|
163
|
+
allowEscapeKey: false,
|
164
|
+
allowEnterKey: true,
|
165
|
+
customClass: {
|
166
|
+
denyButton: 'sweet-alert-button',
|
167
|
+
confirmButton: 'sweet-alert-button'
|
168
|
+
}
|
169
|
+
}).then(({ value }) => setTimeout(() => Resolve(value)));
|
170
|
+
});
|
171
|
+
}
|
172
|
+
/** */
|
173
|
+
SetIcon(element, icon) {
|
174
|
+
for (const item of [...element.classList.value.split(' ')]) {
|
175
|
+
if (item.length > 0) {
|
176
|
+
element.classList.remove(item);
|
177
|
+
element.classList.remove('q');
|
178
|
+
}
|
179
|
+
}
|
180
|
+
icon = icon.trim();
|
181
|
+
const hasWhiteSpaces = / /;
|
182
|
+
if (hasWhiteSpaces.test(icon)) {
|
183
|
+
const classes = icon.split(' ');
|
184
|
+
for (const icon of classes)
|
185
|
+
element.classList.add(icon);
|
186
|
+
}
|
187
|
+
else
|
188
|
+
element.classList.add(icon);
|
189
|
+
}
|
190
|
+
/** */
|
191
|
+
SetAutoHide(element, autohide) {
|
192
|
+
element.removeAttribute('data-bs-autohide');
|
193
|
+
element.removeAttribute('data-bs-delay');
|
194
|
+
if (autohide && autohide > 0) {
|
195
|
+
if (autohide < 1000)
|
196
|
+
autohide = 1000;
|
197
|
+
element.setAttribute('data-bs-autohide', 'true');
|
198
|
+
element.setAttribute('data-bs-delay', String(autohide));
|
199
|
+
}
|
200
|
+
else
|
201
|
+
element.setAttribute('data-bs-autohide', 'false');
|
202
|
+
}
|
203
|
+
/** */
|
204
|
+
GetIcon(title, icon, iconDefault) {
|
205
|
+
if (icon == null || icon == '') {
|
206
|
+
title = title.replaceAll(' ', '').toUpperCase();
|
207
|
+
switch (title) {
|
208
|
+
case 'ENABLED': return 'fa-solid fa-thumbs-up fa-flip-horizontal';
|
209
|
+
case 'ACTIVE': return 'fa-solid fa-thumbs-up fa-flip-horizontal';
|
210
|
+
case 'ACTIVED': return 'fa-solid fa-thumbs-up fa-flip-horizontal';
|
211
|
+
case 'DISABLE': return 'fa-solid fa-thumbs-down fa-flip-horizontal';
|
212
|
+
case 'DISABLED': return 'fa-solid fa-thumbs-down fa-flip-horizontal';
|
213
|
+
case 'DELETE': return 'fa-regular fa-trash-can';
|
214
|
+
case 'DELETED': return 'fa-regular fa-trash-can';
|
215
|
+
default: return iconDefault;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
return icon;
|
219
|
+
}
|
220
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoerAlert, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
221
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CoerAlert, selector: "coer-alert", ngImport: i0, template: "<aside class=\"toast-container coer-alert\">\r\n <!-- Success -->\r\n <div id=\"alert-success\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" class=\"toast\">\r\n <div class=\"toast-header\">\r\n <i id=\"alert-success-icon\"></i>\r\n <strong id=\"alert-success-title\"></strong>\r\n <button type=\"button\" (click)=\"Close('alert-success')\" class=\"btn-close btn-close-white\"></button>\r\n </div>\r\n\r\n <div class=\"toast-body\">\r\n <pre id=\"alert-success-message\"></pre>\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Error -->\r\n <div id=\"alert-error\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" class=\"toast\">\r\n <div class=\"toast-header\">\r\n <i id=\"alert-error-icon\"></i>\r\n <strong id=\"alert-error-title\"></strong>\r\n <button type=\"button\" (click)=\"Close('alert-error')\" class=\"btn-close btn-close-white\"></button>\r\n </div>\r\n\r\n <div class=\"toast-body\">\r\n <pre id=\"alert-error-message\"></pre>\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Info -->\r\n <div id=\"alert-info\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" class=\"toast\">\r\n <div class=\"toast-header\">\r\n <i id=\"alert-info-icon\"></i>\r\n <strong id=\"alert-info-title\"></strong>\r\n <button type=\"button\" (click)=\"Close('alert-info')\" class=\"btn-close btn-close-white\"></button>\r\n </div>\r\n\r\n <div class=\"toast-body\">\r\n <pre id=\"alert-info-message\"></pre>\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Warning -->\r\n <div id=\"alert-warning\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" class=\"toast\">\r\n <div class=\"toast-header\">\r\n <i id=\"alert-warning-icon\"></i>\r\n <strong id=\"alert-warning-title\"></strong>\r\n <button type=\"button\" (click)=\"Close('alert-warning')\" class=\"btn-close\"></button>\r\n </div>\r\n\r\n <div class=\"toast-body\">\r\n <pre id=\"alert-warning-message\"></pre>\r\n </div>\r\n </div>\r\n</aside>", styles: [".text-blue{color:#0d6efd!important}.text-blue-bold{color:#0d6efd!important;font-weight:700!important}.background-blue{background-color:#0d6efd!important}.background-border-blue{background-color:#0d6efd!important;border-color:#0d6efd!important}.border-blue{border-color:#0d6efd!important}.text-gray{color:#6c757d!important}.text-gray-bold{color:#6c757d!important;font-weight:700!important}.background-gray{background-color:#6c757d!important}.background-border-gray{background-color:#6c757d!important;border-color:#6c757d!important}.border-gray{border-color:#6c757d!important}.text-green{color:#198754!important}.text-green-bold{color:#198754!important;font-weight:700!important}.background-green{background-color:#198754!important}.background-border-green{background-color:#198754!important;border-color:#198754!important}.border-green{border-color:#198754!important}.text-yellow{color:#ffc107!important}.text-yellow-bold{color:#ffc107!important;font-weight:700!important}.background-yellow{background-color:#ffc107!important}.background-border-yellow{background-color:#ffc107!important;border-color:#ffc107!important}.border-yellow{border-color:#ffc107!important}.text-red{color:#dc3545!important}.text-red-bold{color:#dc3545!important;font-weight:700!important}.background-red{background-color:#dc3545!important}.background-border-red{background-color:#dc3545!important;border-color:#dc3545!important}.border-red{border-color:#dc3545!important}.text-white{color:#f5f5f5!important}.text-white-bold{color:#f5f5f5!important;font-weight:700!important}.background-white{background-color:#f5f5f5!important}.background-border-white{background-color:#f5f5f5!important;border-color:#f5f5f5!important}.border-white{border-color:#f5f5f5!important}.text-black{color:#252525!important}.text-black-bold{color:#252525!important;font-weight:700!important}.background-black{background-color:#252525!important}.background-border-black{background-color:#252525!important;border-color:#252525!important}.border-black{border-color:#252525!important}.text-orange{color:#fd6031!important}.text-orange-bold{color:#fd6031!important;font-weight:700!important}.background-orange{background-color:#fd6031!important}.background-border-orange{background-color:#fd6031!important;border-color:#fd6031!important}.border-orange{border-color:#fd6031!important}aside.toast-container{position:fixed;bottom:0;right:0;padding:15px!important;z-index:2000!important}aside.toast-container i,aside.toast-container svg{display:flex;align-items:center}aside.toast-container strong{margin:0 auto 0 5px}aside.toast-container div.toast,aside.toast-container div.toast-header{border-top-left-radius:10px;border-top-right-radius:10px;color:#f5f5f5}aside.toast-container div.toast,aside.toast-container div.toast-body{border-bottom-left-radius:10px;border-bottom-right-radius:10px;color:#f5f5f5}aside.toast-container div.toast-body{min-height:36px}aside.toast-container pre{font-family:Roboto,RobotoFallback,Noto Kufi Arabic,Helvetica,Arial,sans-serif;white-space:pre-wrap;font-size:medium}aside.toast-container button{margin:0 2px!important;width:10px!important;height:10px!important;box-shadow:none!important;outline:none!important;border:none!important}aside.toast-container div#alert-success div.toast-header,aside.toast-container div#alert-success div.toast-body{background-color:#198754}aside.toast-container div#alert-info div.toast-header,aside.toast-container div#alert-info div.toast-body{background-color:#0d6efd}aside.toast-container div#alert-error div.toast-header,aside.toast-container div#alert-error div.toast-body{background-color:#dc3545}aside.toast-container div#alert-warning div.toast-header,aside.toast-container div#alert-warning div.toast-body{background-color:#ffc107;border-color:#252525;color:#252525}aside.toast-container div#alert-success:hover,aside.toast-container div#alert-info:hover,aside.toast-container div#alert-error:hover,aside.toast-container div#alert-warning:hover{transform:scale(1.01);box-shadow:2px 2px 10px #789;cursor:default}button.sweet-alert-button{width:100px!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 5px!important;outline:none!important;border:none!important;box-shadow:none!important}aside.toast-container>*{border:none!important;z-index:2000!important;margin:15px 0 0!important}\n"] }); }
|
222
|
+
}
|
223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoerAlert, decorators: [{
|
224
|
+
type: Component,
|
225
|
+
args: [{ selector: 'coer-alert', template: "<aside class=\"toast-container coer-alert\">\r\n <!-- Success -->\r\n <div id=\"alert-success\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" class=\"toast\">\r\n <div class=\"toast-header\">\r\n <i id=\"alert-success-icon\"></i>\r\n <strong id=\"alert-success-title\"></strong>\r\n <button type=\"button\" (click)=\"Close('alert-success')\" class=\"btn-close btn-close-white\"></button>\r\n </div>\r\n\r\n <div class=\"toast-body\">\r\n <pre id=\"alert-success-message\"></pre>\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Error -->\r\n <div id=\"alert-error\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" class=\"toast\">\r\n <div class=\"toast-header\">\r\n <i id=\"alert-error-icon\"></i>\r\n <strong id=\"alert-error-title\"></strong>\r\n <button type=\"button\" (click)=\"Close('alert-error')\" class=\"btn-close btn-close-white\"></button>\r\n </div>\r\n\r\n <div class=\"toast-body\">\r\n <pre id=\"alert-error-message\"></pre>\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Info -->\r\n <div id=\"alert-info\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" class=\"toast\">\r\n <div class=\"toast-header\">\r\n <i id=\"alert-info-icon\"></i>\r\n <strong id=\"alert-info-title\"></strong>\r\n <button type=\"button\" (click)=\"Close('alert-info')\" class=\"btn-close btn-close-white\"></button>\r\n </div>\r\n\r\n <div class=\"toast-body\">\r\n <pre id=\"alert-info-message\"></pre>\r\n </div>\r\n </div>\r\n\r\n\r\n <!-- Warning -->\r\n <div id=\"alert-warning\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" class=\"toast\">\r\n <div class=\"toast-header\">\r\n <i id=\"alert-warning-icon\"></i>\r\n <strong id=\"alert-warning-title\"></strong>\r\n <button type=\"button\" (click)=\"Close('alert-warning')\" class=\"btn-close\"></button>\r\n </div>\r\n\r\n <div class=\"toast-body\">\r\n <pre id=\"alert-warning-message\"></pre>\r\n </div>\r\n </div>\r\n</aside>", styles: [".text-blue{color:#0d6efd!important}.text-blue-bold{color:#0d6efd!important;font-weight:700!important}.background-blue{background-color:#0d6efd!important}.background-border-blue{background-color:#0d6efd!important;border-color:#0d6efd!important}.border-blue{border-color:#0d6efd!important}.text-gray{color:#6c757d!important}.text-gray-bold{color:#6c757d!important;font-weight:700!important}.background-gray{background-color:#6c757d!important}.background-border-gray{background-color:#6c757d!important;border-color:#6c757d!important}.border-gray{border-color:#6c757d!important}.text-green{color:#198754!important}.text-green-bold{color:#198754!important;font-weight:700!important}.background-green{background-color:#198754!important}.background-border-green{background-color:#198754!important;border-color:#198754!important}.border-green{border-color:#198754!important}.text-yellow{color:#ffc107!important}.text-yellow-bold{color:#ffc107!important;font-weight:700!important}.background-yellow{background-color:#ffc107!important}.background-border-yellow{background-color:#ffc107!important;border-color:#ffc107!important}.border-yellow{border-color:#ffc107!important}.text-red{color:#dc3545!important}.text-red-bold{color:#dc3545!important;font-weight:700!important}.background-red{background-color:#dc3545!important}.background-border-red{background-color:#dc3545!important;border-color:#dc3545!important}.border-red{border-color:#dc3545!important}.text-white{color:#f5f5f5!important}.text-white-bold{color:#f5f5f5!important;font-weight:700!important}.background-white{background-color:#f5f5f5!important}.background-border-white{background-color:#f5f5f5!important;border-color:#f5f5f5!important}.border-white{border-color:#f5f5f5!important}.text-black{color:#252525!important}.text-black-bold{color:#252525!important;font-weight:700!important}.background-black{background-color:#252525!important}.background-border-black{background-color:#252525!important;border-color:#252525!important}.border-black{border-color:#252525!important}.text-orange{color:#fd6031!important}.text-orange-bold{color:#fd6031!important;font-weight:700!important}.background-orange{background-color:#fd6031!important}.background-border-orange{background-color:#fd6031!important;border-color:#fd6031!important}.border-orange{border-color:#fd6031!important}aside.toast-container{position:fixed;bottom:0;right:0;padding:15px!important;z-index:2000!important}aside.toast-container i,aside.toast-container svg{display:flex;align-items:center}aside.toast-container strong{margin:0 auto 0 5px}aside.toast-container div.toast,aside.toast-container div.toast-header{border-top-left-radius:10px;border-top-right-radius:10px;color:#f5f5f5}aside.toast-container div.toast,aside.toast-container div.toast-body{border-bottom-left-radius:10px;border-bottom-right-radius:10px;color:#f5f5f5}aside.toast-container div.toast-body{min-height:36px}aside.toast-container pre{font-family:Roboto,RobotoFallback,Noto Kufi Arabic,Helvetica,Arial,sans-serif;white-space:pre-wrap;font-size:medium}aside.toast-container button{margin:0 2px!important;width:10px!important;height:10px!important;box-shadow:none!important;outline:none!important;border:none!important}aside.toast-container div#alert-success div.toast-header,aside.toast-container div#alert-success div.toast-body{background-color:#198754}aside.toast-container div#alert-info div.toast-header,aside.toast-container div#alert-info div.toast-body{background-color:#0d6efd}aside.toast-container div#alert-error div.toast-header,aside.toast-container div#alert-error div.toast-body{background-color:#dc3545}aside.toast-container div#alert-warning div.toast-header,aside.toast-container div#alert-warning div.toast-body{background-color:#ffc107;border-color:#252525;color:#252525}aside.toast-container div#alert-success:hover,aside.toast-container div#alert-info:hover,aside.toast-container div#alert-error:hover,aside.toast-container div#alert-warning:hover{transform:scale(1.01);box-shadow:2px 2px 10px #789;cursor:default}button.sweet-alert-button{width:100px!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 5px!important;outline:none!important;border:none!important;box-shadow:none!important}aside.toast-container>*{border:none!important;z-index:2000!important;margin:15px 0 0!important}\n"] }]
|
226
|
+
}] });
|
227
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29lci1hbGVydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL3NyYy9jb21wb25lbnRzL2xpYi9jb2VyLWFsZXJ0L2NvZXItYWxlcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29lci1lbGVtZW50cy9zcmMvY29tcG9uZW50cy9saWIvY29lci1hbGVydC9jb2VyLWFsZXJ0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxLQUFLLFNBQVMsTUFBTSxXQUFXLENBQUM7QUFDdkMsT0FBTyxJQUFJLE1BQU0sYUFBYSxDQUFBOztBQU85QixNQUFNLE9BQU8sU0FBUztJQUVsQixNQUFNO0lBQ0MsT0FBTyxDQUFDLFVBQXlCLElBQUksRUFBRSxRQUF1QixJQUFJLEVBQUUsT0FBc0IsSUFBSSxFQUFFLFdBQTBCLElBQUk7UUFDakksT0FBTztRQUNQLElBQUksQ0FBQyxLQUFLLElBQUksS0FBSyxJQUFJLEVBQUU7WUFBRSxLQUFLLEdBQUcsU0FBUyxDQUFDO1FBQzdDLE1BQU0saUJBQWlCLEdBQUcsUUFBUSxDQUFDLGNBQWMsQ0FBQyxxQkFBcUIsQ0FBRSxDQUFDO1FBQzFFLGlCQUFpQixDQUFDLFdBQVcsR0FBRyxLQUFLLENB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JztcclxuICAgICAgICAgICAgc3dpdGNoKGFsZXJ0VHlwZSkge1xyXG4gICAgICAgICAgICAgICAgY2FzZSAnZGFuZ2VyJzoge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmIChpY29uID09IG51bGwpIGljb24gPSAnYmktZXhjbGFtYXRpb24tb2N0YWdvbic7XHJcbiAgICAgICAgICAgICAgICAgICAgaWNvblR5cGUgPSAnZXJyb3InO1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yID0gJyNkYzM1NDUnOyAvL3JlZFxyXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICAgICAgfTtcclxuXHJcbiAgICAgICAgICAgICAgICBjYXNlICdzdWNjZXNzJzoge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmIChpY29uID09IG51bGwpIGljb24gPSAnYmktY2hlY2stY2lyY2xlJztcclxuICAgICAgICAgICAgICAgICAgICBpY29uVHlwZSA9ICdpbmZvJztcclxuICAgICAgICAgICAgICAgICAgICBjb2xvciA9ICcjMTk4NzU0JzsgLy9ncmVlblxyXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICAgICAgfTtcclxuXHJcbiAgICAgICAgICAgICAgICBjYXNlICdpbmZvJzoge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmIChpY29uID09IG51bGwpIGljb24gPSAnYmktaW5mby1jaXJjbGUnO1xyXG4gICAgICAgICAgICAgICAgICAgIGljb25UeXBlID0gJ2Vycm9yJztcclxuICAgICAgICAgICAgICAgICAgICBjb2xvciA9ICcjMGQ2ZWZkJzsgLy9ibHVlXHJcbiAgICAgICAgICAgICAgICAgICAgYnJlYWtcclxuICAgICAgICAgICAgICAgIH07XHJcblxyXG4gICAgICAgICAgICAgICAgZGVmYXVsdDoge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmIChpY29uID09IG51bGwpIGljb24gPSAnYmktZXhjbGFtYXRpb24tdHJpYW5nbGUtZmlsbCc7XHJcbiAgICAgICAgICAgICAgICAgICAgaWNvblR5cGUgPSAnd2FybmluZyc7XHJcbiAgICAgICAgICAgICAgICAgICAgY29sb3IgPSAnI2ZmYzEwNyc7IC8veWVsbG93XHJcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIHN3aXRjaChpY29uKSB7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdkZWxldGUnOiBpY29uID0gJ2ZhLXJlZ3VsYXIgZmEtdHJhc2gtY2FuJzsgYnJlYWs7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIFN3YWwuZmlyZSh7XHJcbiAgICAgICAgICAgICAgICBpY29uOiBpY29uVHlwZSxcclxuICAgICAgICAgICAgICAgIGljb25Db2xvcjogJ3RyYW5zcGFyZW50JyxcclxuICAgICAgICAgICAgICAgIGljb25IdG1sOiBgPGkgY2xhc3M9XCIke2ljb259XCIgc3R5bGU9XCJjb2xvcjogJHtjb2xvcn07XCI+PC9pPmAsXHJcbiAgICAgICAgICAgICAgICBodG1sOiBtZXNzYWdlLFxyXG4gICAgICAgICAgICAgICAgc2hvd0NvbmZpcm1CdXR0b246IHRydWUsXHJcbiAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uVGV4dDogJ1llcycsXHJcbiAgICAgICAgICAgICAgICBjb25maXJtQnV0dG9uQ29sb3I6IGNvbG9yLFxyXG4gICAgICAgICAgICAgICAgZm9jdXNDb25maXJtOiB0cnVlLFxyXG4gICAgICAgICAgICAgICAgc2hvd0RlbnlCdXR0b246IHRydWUsXHJcbiAgICAgICAgICAgICAgICBkZW55QnV0dG9uQ29sb3I6IGNvbG9yLFxyXG4gICAgICAgICAgICAgICAgZm9jdXNEZW55OiBmYWxzZSxcclxuICAgICAgICAgICAgICAgIHJldmVyc2VCdXR0b25zOiB0cnVlLFxyXG4gICAgICAgICAgICAgICAgYWxsb3d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ge1xyXG4gICAgICAgIGlmIChpY29uID09IG51bGwgfHwgaWNvbiA9PSAnJykge1xyXG4gICAgICAgICAgICB0aXRsZSA9IHRpdGxlLnJlcGxhY2VBbGwoJyAnLCAnJykudG9VcHBlckNhc2UoKTtcclxuXHJcbiAgICAgICAgICAgIHN3aXRjaCh0aXRsZSkge1xyXG4gICAgICAgICAgICAgICAgY2FzZSAnRU5BQkxFRCc6IHJldHVybiAnZmEtc29saWQgZmEtdGh1bWJzLXVwIGZhLWZsaXAtaG9yaXpvbnRhbCc7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdBQ1RJVkUnOiByZXR1cm4gJ2ZhLXNvbGlkIGZhLXRodW1icy11cCBmYS1mbGlwLWhvcml6b250YWwnO1xyXG4gICAgICAgICAgICAgICAgY2FzZSAnQUNUSVZFRCc6IHJldHVybiAnZmEtc29saWQgZmEtdGh1bWJzLXVwIGZhLWZsaXAtaG9yaXpvbnRhbCc7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdESVNBQkxFJzogcmV0dXJuICdmYS1zb2xpZCBmYS10aHVtYnMtZG93biBmYS1mbGlwLWhvcml6b250YWwnO1xyXG4gICAgICAgICAgICAgICAgY2FzZSAnRElTQUJMRUQnOiByZXR1cm4gJ2ZhLXNvbGlkIGZhLXRodW1icy1kb3duIGZhLWZsaXAtaG9yaXpvbnRhbCc7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdERUxFVEUnOiByZXR1cm4gJ2ZhLXJlZ3VsYXIgZmEtdHJhc2gtY2FuJztcclxuICAgICAgICAgICAgICAgIGNhc2UgJ0RFTEVURUQnOiByZXR1cm4gJ2ZhLXJlZ3VsYXIgZmEtdHJhc2gtY2FuJztcclxuICAgICAgICAgICAgICAgIGRlZmF1bHQ6IHJldHVybiBpY29uRGVmYXVsdDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIGljb247XHJcbiAgICB9XHJcbn0iLCI8YXNpZGUgY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j48L3ByZT5cclxuICAgICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG5cclxuXHJcbiAgICA8IS0tIFdhcm5pbmcgLS0+XHJcbiAgICA8ZGl2IGlkPVwiYWxlcnQtd2FybmluZ1wiIHJvbGU9XCJhbGVydFwiIGFyaWEtbGl2ZT1cImFzc2VydGl2ZVwiIGFyaWEtYXRvbWljPVwidHJ1ZVwiIGNsYXNzPVwidG9hc3RcIj5cclxuICAgICAgICA8ZGl2IGNsYXNzPVwidG9hc3QtaGVhZGVyXCI+XHJcbiAgICAgICAgICAgIDxpIGlkPVwiYWxlcnQtd2FybmluZy1pY29uXCI+PC9pPlxyXG4gICAgICAgICAgICA8c3Ryb25nIGlkPVwiYWxlcnQtd2FybmluZy10aXRsZVwiPjwvc3Ryb25nPlxyXG4gICAgICAgICAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiAoY2xpY2spPVwiQ2xvc2UoJ2FsZXJ0LXdhcm5pbmcnKVwiIGNsYXNzPVwiYnRuLWNsb3NlXCI+PC9idXR0b24+XHJcbiAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJ0b2FzdC1ib2R5XCI+XHJcbiAgICAgICAgICAgIDxwcmUgaWQ9XCJhbGVydC13YXJuaW5nLW1lc3NhZ2VcIj48L3ByZT5cclxuICAgICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG48L2FzaWRlPiJdfQ==
|
@@ -0,0 +1,92 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { RouterModule } from '@angular/router';
|
4
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
5
|
+
//import { DirectivesModule } from 'src/app/shared/directives/directives.module';
|
6
|
+
//import { PipesModule } from 'src/app/shared/pipes/pipes.module';
|
7
|
+
//Angular Material
|
8
|
+
//import { MatButtonModule } from '@angular/material/button';
|
9
|
+
//import { MatCheckboxModule } from '@angular/material/checkbox';
|
10
|
+
//import { MatInputModule } from '@angular/material/input';
|
11
|
+
//import { MatFormFieldModule } from '@angular/material/form-field';
|
12
|
+
//import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
13
|
+
//import { MatTabsModule } from '@angular/material/tabs';
|
14
|
+
//Components
|
15
|
+
import { CoerAlert } from './coer-alert/coer-alert.component';
|
16
|
+
import * as i0 from "@angular/core";
|
17
|
+
//import { CoerButton } from './coer-button/coer-button.component';
|
18
|
+
//import { CoerCheckbox } from './coer-checkbox/coer-checkbox.component';
|
19
|
+
//import { CoerFilebox } from './coer-filebox/coer-filebox.component';
|
20
|
+
//import { CoerForm } from './coer-form/coer-form.component';
|
21
|
+
//import { CoerGrid } from './coer-grid/coer-grid.component';
|
22
|
+
//import { CoerModal } from './coer-modal/coer-modal.component';
|
23
|
+
//import { CoerNumberBox } from './coer-numberbox/coer-numberbox.component';
|
24
|
+
//import { CoerPageTitle } from './coer-page-title/coer-page-title.component';
|
25
|
+
//import { CoerSelectbox } from './coer-selectbox/coer-selectbox.component';
|
26
|
+
//import { CoerSwitch } from './coer-switch/coer-switch.component';
|
27
|
+
//import { CoerTab } from './coer-tab/coer-tab.component';
|
28
|
+
//import { CoerTextarea } from './coer-textarea/coer-textarea.component';
|
29
|
+
//import { CoerTextBox } from './coer-textbox/coer-textbox.component';
|
30
|
+
export class ComponentsModule {
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
32
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ComponentsModule, declarations: [CoerAlert], imports: [CommonModule,
|
33
|
+
RouterModule,
|
34
|
+
FormsModule,
|
35
|
+
ReactiveFormsModule], exports: [CoerAlert] }); }
|
36
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ComponentsModule, imports: [CommonModule,
|
37
|
+
RouterModule,
|
38
|
+
FormsModule,
|
39
|
+
ReactiveFormsModule] }); }
|
40
|
+
}
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ComponentsModule, decorators: [{
|
42
|
+
type: NgModule,
|
43
|
+
args: [{
|
44
|
+
imports: [
|
45
|
+
CommonModule,
|
46
|
+
RouterModule,
|
47
|
+
FormsModule,
|
48
|
+
ReactiveFormsModule,
|
49
|
+
//PipesModule,
|
50
|
+
//MatButtonModule,
|
51
|
+
//MatCheckboxModule,
|
52
|
+
//MatInputModule,
|
53
|
+
//MatFormFieldModule,
|
54
|
+
//MatSlideToggleModule,
|
55
|
+
//MatTabsModule,
|
56
|
+
//DirectivesModule
|
57
|
+
],
|
58
|
+
declarations: [
|
59
|
+
CoerAlert,
|
60
|
+
//CoerButton,
|
61
|
+
//CoerCheckbox,
|
62
|
+
//CoerFilebox,
|
63
|
+
//CoerForm,
|
64
|
+
//CoerGrid,
|
65
|
+
//CoerModal,
|
66
|
+
//CoerNumberBox,
|
67
|
+
//CoerPageTitle,
|
68
|
+
//CoerSelectbox,
|
69
|
+
//CoerSwitch,
|
70
|
+
//CoerTextarea,
|
71
|
+
//CoerTab,
|
72
|
+
//CoerTextBox,
|
73
|
+
],
|
74
|
+
exports: [
|
75
|
+
CoerAlert,
|
76
|
+
//CoerButton,
|
77
|
+
//CoerCheckbox,
|
78
|
+
//CoerFilebox,
|
79
|
+
//CoerForm,
|
80
|
+
//CoerGrid,
|
81
|
+
//CoerModal,
|
82
|
+
//CoerNumberBox,
|
83
|
+
//CoerPageTitle,
|
84
|
+
//CoerSelectbox,
|
85
|
+
//CoerSwitch,
|
86
|
+
//CoerTextarea,
|
87
|
+
//CoerTab,
|
88
|
+
//CoerTextBox,
|
89
|
+
]
|
90
|
+
}]
|
91
|
+
}] });
|
92
|
+
//# sourceMapping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gLy9Db2VyU3dpdGNoLFxyXG4gICAgICAgIC8vQ29lclRleHRhcmVhLFxyXG4gICAgICAgIC8vQ29lclRhYixcclxuICAgICAgICAvL0NvZXJUZXh0Qm94LFxyXG4gICAgXSxcclxuICAgIGV4cG9ydHM6IFtcclxuICAgICAgICBDb2VyQWxlcnQsXHJcbiAgICAgICAgLy9Db2VyQnV0dG9uLFxyXG4gICAgICAgIC8vQ29lckNoZWNrYm94LFxyXG4gICAgICAgIC8vQ29lckZpbGVib3gsXHJcbiAgICAgICAgLy9Db2VyRm9ybSxcclxuICAgICAgICAvL0NvZXJHcmlkLFxyXG4gICAgICAgIC8vQ29lck1vZGFsLFxyXG4gICAgICAgIC8vQ29lck51bWJlckJveCxcclxuICAgICAgICAvL0NvZXJQYWdlVGl0bGUsXHJcbiAgICAgICAgLy9Db2VyU2VsZWN0Ym94LFxyXG4gICAgICAgIC8vQ29lclN3aXRjaCxcclxuICAgICAgICAvL0NvZXJUZXh0YXJlYSxcclxuICAgICAgICAvL0NvZXJUYWIsXHJcbiAgICAgICAgLy9Db2VyVGV4dEJveCxcclxuICAgIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIENvbXBvbmVudHNNb2R1bGUgeyB9XHJcbi8vZXhwb3J0ICogZnJvbSAnLi9jb2VyLWFsZXJ0L2NvZXItYWxlcnQuY29tcG9uZW50JztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItYnV0dG9uL2NvZXItYnV0dG9uLmNvbXBvbmVudCc7XHJcbi8vZXhwb3J0ICogZnJvbSAnLi9jb2VyLWNoZWNrYm94L2NvZXItY2hlY2tib3guY29tcG9uZW50JztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItZmlsZWJveC9jb2VyLWZpbGVib3guY29tcG9uZW50JztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItZmlsZWJveC9jb2VyLWZpbGVib3guaW50ZXJmYWNlJztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItZm9ybS9jb2VyLWZvcm0uY29tcG9uZW50JztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItZ3JpZC9jb2VyLWdyaWQuY29tcG9uZW50JztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItZ3JpZC9jb2VyLWdyaWQuaW50ZXJmYWNlJztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItZ3JpZC9jb2VyLWdyaWQudGVtcGxhdGVzJztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItbW9kYWwvY29lci1tb2RhbC5jb21wb25lbnQnO1xyXG4vL2V4cG9ydCAqIGZyb20gJy4vY29lci1udW1iZXJib3gvY29lci1udW1iZXJib3guY29tcG9uZW50JztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItcGFnZS10aXRsZS9jb2VyLXBhZ2UtdGl0bGUuY29tcG9uZW50JztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItcGFnZS10aXRsZS9wYWdlVGl0bGUuaW50ZXJmYWNlJztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItc2VsZWN0Ym94L2NvZXItc2VsZWN0Ym94LmNvbXBvbmVudCc7XHJcbi8vZXhwb3J0ICogZnJvbSAnLi9jb2VyLXN3aXRjaC9jb2VyLXN3aXRjaC5jb21wb25lbnQnO1xyXG4vL2V4cG9ydCAqIGZyb20gJy4vY29lci10YWIvY29lci10YWIuY29tcG9uZW50JztcclxuLy9leHBvcnQgKiBmcm9tICcuL2NvZXItdGV4dGJveC9jb2VyLXRleHRib3guY29tcG9uZW50JzsiXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './components';
|
2
|
+
export * from './tools';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NvZXItZWxlbWVudHMvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3Rvb2xzJzsiXX0=
|
package/esm2022/tools/index.mjs
CHANGED
@@ -1,9 +1,2 @@
|
|
1
|
-
export * from './
|
2
|
-
|
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';
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL3Rvb2xzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9CcmVhZGNydW1icy5jbGFzcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL0NvbnRyb2xWYWx1ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL0RhdGVUaW1lLmNsYXNzJztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvRmlsZXMuY2xhc3MnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NyYy9QYWdlLmNsYXNzJztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvU2NyZWVuLmNsYXNzJztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvU291cmNlLmNsYXNzJztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvVG9vbHMnOyJdfQ==
|
1
|
+
export * from './lib/controlValue';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL3NyYy90b29scy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9CQUFvQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvY29udHJvbFZhbHVlJyJdfQ==
|
@@ -40,5 +40,7 @@ export class ControlValue {
|
|
40
40
|
registerOnTouched(callback) {
|
41
41
|
this._IsTouched = callback;
|
42
42
|
}
|
43
|
+
/** */
|
44
|
+
setDisabledState(isDisabled) { }
|
43
45
|
}
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbFZhbHVlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29lci1lbGVtZW50cy9zcmMvdG9vbHMvbGliL2NvbnRyb2xWYWx1ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXdCLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDekUsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ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