coer-elements 1.0.14 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/Tools/Page.class.ts +1 -1
- package/components/index.ts +0 -1
- package/package.json +5 -2
- package/dist_browser/Tools/Breadcrumbs.class.js +0 -66
- package/dist_browser/Tools/ControlValue.js +0 -49
- package/dist_browser/Tools/DateTime.class.js +0 -25
- package/dist_browser/Tools/Files.class.js +0 -99
- package/dist_browser/Tools/Page.class.js +0 -213
- package/dist_browser/Tools/Screen.class.js +0 -68
- package/dist_browser/Tools/Source.class.js +0 -83
- package/dist_browser/Tools/Tools.js +0 -227
- package/dist_browser/index.js +0 -8
- package/dist_node/Tools/Breadcrumbs.class.js +0 -69
- package/dist_node/Tools/ControlValue.js +0 -53
- package/dist_node/Tools/DateTime.class.js +0 -28
- package/dist_node/Tools/Files.class.js +0 -102
- package/dist_node/Tools/Page.class.js +0 -216
- package/dist_node/Tools/Screen.class.js +0 -71
- package/dist_node/Tools/Source.class.js +0 -86
- package/dist_node/Tools/Tools.js +0 -230
- package/dist_node/components/coer-alert/coer-alert.component.js +0 -317
- package/dist_node/components/index.js +0 -168
- package/dist_node/index.js +0 -24
- package/dist_node/interfaces/index.js +0 -2
@@ -1,317 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
3
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
4
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
5
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
6
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
7
|
-
var _, done = false;
|
8
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
9
|
-
var context = {};
|
10
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
11
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
12
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
13
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
14
|
-
if (kind === "accessor") {
|
15
|
-
if (result === void 0) continue;
|
16
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
17
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
18
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
19
|
-
if (_ = accept(result.init)) initializers.unshift(_);
|
20
|
-
}
|
21
|
-
else if (_ = accept(result)) {
|
22
|
-
if (kind === "field") initializers.unshift(_);
|
23
|
-
else descriptor[key] = _;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
27
|
-
done = true;
|
28
|
-
};
|
29
|
-
var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
|
30
|
-
var useValue = arguments.length > 2;
|
31
|
-
for (var i = 0; i < initializers.length; i++) {
|
32
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
33
|
-
}
|
34
|
-
return useValue ? value : void 0;
|
35
|
-
};
|
36
|
-
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
37
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
38
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
39
|
-
};
|
40
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
41
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
42
|
-
if (ar || !(i in from)) {
|
43
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
44
|
-
ar[i] = from[i];
|
45
|
-
}
|
46
|
-
}
|
47
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
48
|
-
};
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
50
|
-
exports.CoerAlert = void 0;
|
51
|
-
var core_1 = require("@angular/core");
|
52
|
-
var bootstrap = require("bootstrap");
|
53
|
-
var sweetalert2_1 = require("sweetalert2");
|
54
|
-
var CoerAlert = function () {
|
55
|
-
var _classDecorators = [(0, core_1.Component)({
|
56
|
-
selector: 'coer-alert',
|
57
|
-
templateUrl: './coer-alert.component.html',
|
58
|
-
styleUrls: ['./coer-alert.component.scss']
|
59
|
-
})];
|
60
|
-
var _classDescriptor;
|
61
|
-
var _classExtraInitializers = [];
|
62
|
-
var _classThis;
|
63
|
-
var CoerAlert = _classThis = /** @class */ (function () {
|
64
|
-
function CoerAlert_1() {
|
65
|
-
}
|
66
|
-
/** */
|
67
|
-
CoerAlert_1.prototype.Success = function (message, title, icon, autohide) {
|
68
|
-
if (message === void 0) { message = null; }
|
69
|
-
if (title === void 0) { title = null; }
|
70
|
-
if (icon === void 0) { icon = null; }
|
71
|
-
if (autohide === void 0) { autohide = 3000; }
|
72
|
-
//Title
|
73
|
-
if (!title || title == '')
|
74
|
-
title = 'Success';
|
75
|
-
var alertSuccessTitle = document.getElementById('alert-success-title');
|
76
|
-
alertSuccessTitle.textContent = title;
|
77
|
-
//Icon
|
78
|
-
icon = this.GetIcon(title, icon, 'bi-check-circle fa-beat');
|
79
|
-
var alertSuccessIcon = document.getElementById('alert-success-icon');
|
80
|
-
this.SetIcon(alertSuccessIcon, icon);
|
81
|
-
//Message
|
82
|
-
if (!message)
|
83
|
-
message = '';
|
84
|
-
var alertSuccessMessage = document.getElementById('alert-success-message');
|
85
|
-
alertSuccessMessage.innerHTML = message;
|
86
|
-
//Toast
|
87
|
-
var alertSuccess = document.getElementById('alert-success');
|
88
|
-
this.SetAutoHide(alertSuccess, autohide);
|
89
|
-
var toast = bootstrap.Toast.getOrCreateInstance(alertSuccess);
|
90
|
-
toast.show();
|
91
|
-
};
|
92
|
-
/** */
|
93
|
-
CoerAlert_1.prototype.Error = function (message, title, icon, autohide) {
|
94
|
-
if (message === void 0) { message = null; }
|
95
|
-
if (title === void 0) { title = null; }
|
96
|
-
if (icon === void 0) { icon = null; }
|
97
|
-
if (autohide === void 0) { autohide = 3000; }
|
98
|
-
//Title
|
99
|
-
if (!title || title == '')
|
100
|
-
title = 'Error';
|
101
|
-
var alertErrorTitle = document.getElementById('alert-error-title');
|
102
|
-
alertErrorTitle.textContent = title;
|
103
|
-
//Icon
|
104
|
-
icon = this.GetIcon(title, icon, 'bi-exclamation-octagon fa-beat');
|
105
|
-
var alertErrorIcon = document.getElementById('alert-error-icon');
|
106
|
-
this.SetIcon(alertErrorIcon, icon);
|
107
|
-
//Message
|
108
|
-
if (!message)
|
109
|
-
message = '';
|
110
|
-
var alertErrorBody = document.getElementById('alert-error-message');
|
111
|
-
alertErrorBody.innerHTML = message;
|
112
|
-
//Toast
|
113
|
-
var alertError = document.getElementById('alert-error');
|
114
|
-
this.SetAutoHide(alertError, autohide);
|
115
|
-
var toast = bootstrap.Toast.getOrCreateInstance(alertError);
|
116
|
-
toast.show();
|
117
|
-
};
|
118
|
-
/** */
|
119
|
-
CoerAlert_1.prototype.Info = function (message, title, icon, autohide) {
|
120
|
-
if (message === void 0) { message = null; }
|
121
|
-
if (title === void 0) { title = null; }
|
122
|
-
if (icon === void 0) { icon = null; }
|
123
|
-
if (autohide === void 0) { autohide = 3000; }
|
124
|
-
//Title
|
125
|
-
if (!title || title == '')
|
126
|
-
title = 'Info';
|
127
|
-
var alertInfoTitle = document.getElementById('alert-info-title');
|
128
|
-
alertInfoTitle.textContent = title;
|
129
|
-
//Icon
|
130
|
-
icon = this.GetIcon(title, icon, 'bi-info-circle fa-beat');
|
131
|
-
var alertInfoIcon = document.getElementById('alert-info-icon');
|
132
|
-
this.SetIcon(alertInfoIcon, icon);
|
133
|
-
//Message
|
134
|
-
if (!message)
|
135
|
-
message = '';
|
136
|
-
var alertInfoBody = document.getElementById('alert-info-message');
|
137
|
-
alertInfoBody.innerHTML = message;
|
138
|
-
//Toast
|
139
|
-
var alertInfo = document.getElementById('alert-info');
|
140
|
-
this.SetAutoHide(alertInfo, autohide);
|
141
|
-
var toast = bootstrap.Toast.getOrCreateInstance(alertInfo);
|
142
|
-
toast.show();
|
143
|
-
};
|
144
|
-
/** */
|
145
|
-
CoerAlert_1.prototype.Warning = function (message, title, icon, autohide) {
|
146
|
-
if (message === void 0) { message = null; }
|
147
|
-
if (title === void 0) { title = null; }
|
148
|
-
if (icon === void 0) { icon = null; }
|
149
|
-
if (autohide === void 0) { autohide = 3000; }
|
150
|
-
//Title
|
151
|
-
if (!title || title == '')
|
152
|
-
title = 'Warning';
|
153
|
-
var alertWarningTitle = document.getElementById('alert-warning-title');
|
154
|
-
alertWarningTitle.textContent = title;
|
155
|
-
//Icon
|
156
|
-
icon = this.GetIcon(title, icon, 'bi-exclamation-triangle-fill fa-beat');
|
157
|
-
var alertWarningIcon = document.getElementById('alert-warning-icon');
|
158
|
-
this.SetIcon(alertWarningIcon, icon);
|
159
|
-
//Message
|
160
|
-
if (!message)
|
161
|
-
message = '';
|
162
|
-
var alertWarningBody = document.getElementById('alert-warning-message');
|
163
|
-
alertWarningBody.innerHTML = message;
|
164
|
-
//Toast
|
165
|
-
var alertWarning = document.getElementById('alert-warning');
|
166
|
-
this.SetAutoHide(alertWarning, autohide);
|
167
|
-
var toast = bootstrap.Toast.getOrCreateInstance(alertWarning);
|
168
|
-
toast.show();
|
169
|
-
};
|
170
|
-
/** */
|
171
|
-
CoerAlert_1.prototype.Close = function (alert) {
|
172
|
-
return new Promise(function (Resolve) {
|
173
|
-
var element = document.getElementById(alert);
|
174
|
-
var toast = bootstrap.Toast.getOrCreateInstance(element);
|
175
|
-
toast.hide();
|
176
|
-
setTimeout(function () { Resolve(); }, 200);
|
177
|
-
});
|
178
|
-
};
|
179
|
-
/** */
|
180
|
-
CoerAlert_1.prototype.Confirm = function (message, alertType, icon) {
|
181
|
-
if (message === void 0) { message = 'Proceed?'; }
|
182
|
-
if (alertType === void 0) { alertType = 'warning'; }
|
183
|
-
if (icon === void 0) { icon = null; }
|
184
|
-
return new Promise(function (Resolve) {
|
185
|
-
var color;
|
186
|
-
var iconType;
|
187
|
-
switch (alertType) {
|
188
|
-
case 'danger':
|
189
|
-
{
|
190
|
-
if (icon == null)
|
191
|
-
icon = 'bi-exclamation-octagon';
|
192
|
-
iconType = 'error';
|
193
|
-
color = '#dc3545';
|
194
|
-
break;
|
195
|
-
}
|
196
|
-
;
|
197
|
-
case 'success':
|
198
|
-
{
|
199
|
-
if (icon == null)
|
200
|
-
icon = 'bi-check-circle';
|
201
|
-
iconType = 'info';
|
202
|
-
color = '#198754';
|
203
|
-
break;
|
204
|
-
}
|
205
|
-
;
|
206
|
-
case 'info':
|
207
|
-
{
|
208
|
-
if (icon == null)
|
209
|
-
icon = 'bi-info-circle';
|
210
|
-
iconType = 'error';
|
211
|
-
color = '#0d6efd';
|
212
|
-
break;
|
213
|
-
}
|
214
|
-
;
|
215
|
-
default: {
|
216
|
-
if (icon == null)
|
217
|
-
icon = 'bi-exclamation-triangle-fill';
|
218
|
-
iconType = 'warning';
|
219
|
-
color = '#ffc107';
|
220
|
-
break;
|
221
|
-
}
|
222
|
-
}
|
223
|
-
switch (icon) {
|
224
|
-
case 'delete':
|
225
|
-
icon = 'fa-regular fa-trash-can';
|
226
|
-
break;
|
227
|
-
}
|
228
|
-
sweetalert2_1.default.fire({
|
229
|
-
icon: iconType,
|
230
|
-
iconColor: 'transparent',
|
231
|
-
iconHtml: "<i class=\"".concat(icon, "\" style=\"color: ").concat(color, ";\"></i>"),
|
232
|
-
html: message,
|
233
|
-
showConfirmButton: true,
|
234
|
-
confirmButtonText: 'Yes',
|
235
|
-
confirmButtonColor: color,
|
236
|
-
focusConfirm: true,
|
237
|
-
showDenyButton: true,
|
238
|
-
denyButtonColor: color,
|
239
|
-
focusDeny: false,
|
240
|
-
reverseButtons: true,
|
241
|
-
allowOutsideClick: false,
|
242
|
-
allowEscapeKey: false,
|
243
|
-
allowEnterKey: true,
|
244
|
-
customClass: {
|
245
|
-
denyButton: 'sweet-alert-button',
|
246
|
-
confirmButton: 'sweet-alert-button'
|
247
|
-
}
|
248
|
-
}).then(function (_a) {
|
249
|
-
var value = _a.value;
|
250
|
-
return setTimeout(function () { return Resolve(value); });
|
251
|
-
});
|
252
|
-
});
|
253
|
-
};
|
254
|
-
/** */
|
255
|
-
CoerAlert_1.prototype.SetIcon = function (element, icon) {
|
256
|
-
for (var _i = 0, _a = __spreadArray([], element.classList.value.split(' '), true); _i < _a.length; _i++) {
|
257
|
-
var item = _a[_i];
|
258
|
-
if (item.length > 0) {
|
259
|
-
element.classList.remove(item);
|
260
|
-
element.classList.remove('q');
|
261
|
-
}
|
262
|
-
}
|
263
|
-
icon = icon.trim();
|
264
|
-
var hasWhiteSpaces = / /;
|
265
|
-
if (hasWhiteSpaces.test(icon)) {
|
266
|
-
var classes = icon.split(' ');
|
267
|
-
for (var _b = 0, classes_1 = classes; _b < classes_1.length; _b++) {
|
268
|
-
var icon_1 = classes_1[_b];
|
269
|
-
element.classList.add(icon_1);
|
270
|
-
}
|
271
|
-
}
|
272
|
-
else
|
273
|
-
element.classList.add(icon);
|
274
|
-
};
|
275
|
-
/** */
|
276
|
-
CoerAlert_1.prototype.SetAutoHide = function (element, autohide) {
|
277
|
-
element.removeAttribute('data-bs-autohide');
|
278
|
-
element.removeAttribute('data-bs-delay');
|
279
|
-
if (autohide && autohide > 0) {
|
280
|
-
if (autohide < 1000)
|
281
|
-
autohide = 1000;
|
282
|
-
element.setAttribute('data-bs-autohide', 'true');
|
283
|
-
element.setAttribute('data-bs-delay', String(autohide));
|
284
|
-
}
|
285
|
-
else
|
286
|
-
element.setAttribute('data-bs-autohide', 'false');
|
287
|
-
};
|
288
|
-
/** */
|
289
|
-
CoerAlert_1.prototype.GetIcon = function (title, icon, iconDefault) {
|
290
|
-
if (icon == null || icon == '') {
|
291
|
-
title = title.replaceAll(' ', '').toUpperCase();
|
292
|
-
switch (title) {
|
293
|
-
case 'ENABLED': return 'fa-solid fa-thumbs-up fa-flip-horizontal';
|
294
|
-
case 'ACTIVE': return 'fa-solid fa-thumbs-up fa-flip-horizontal';
|
295
|
-
case 'ACTIVED': return 'fa-solid fa-thumbs-up fa-flip-horizontal';
|
296
|
-
case 'DISABLE': return 'fa-solid fa-thumbs-down fa-flip-horizontal';
|
297
|
-
case 'DISABLED': return 'fa-solid fa-thumbs-down fa-flip-horizontal';
|
298
|
-
case 'DELETE': return 'fa-regular fa-trash-can';
|
299
|
-
case 'DELETED': return 'fa-regular fa-trash-can';
|
300
|
-
default: return iconDefault;
|
301
|
-
}
|
302
|
-
}
|
303
|
-
return icon;
|
304
|
-
};
|
305
|
-
return CoerAlert_1;
|
306
|
-
}());
|
307
|
-
__setFunctionName(_classThis, "CoerAlert");
|
308
|
-
(function () {
|
309
|
-
var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
|
310
|
-
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
311
|
-
CoerAlert = _classThis = _classDescriptor.value;
|
312
|
-
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
313
|
-
__runInitializers(_classThis, _classExtraInitializers);
|
314
|
-
})();
|
315
|
-
return CoerAlert = _classThis;
|
316
|
-
}();
|
317
|
-
exports.CoerAlert = CoerAlert;
|
@@ -1,168 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
14
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
15
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
16
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
17
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
18
|
-
var _, done = false;
|
19
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
20
|
-
var context = {};
|
21
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
22
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
23
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
24
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
25
|
-
if (kind === "accessor") {
|
26
|
-
if (result === void 0) continue;
|
27
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
28
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
29
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
30
|
-
if (_ = accept(result.init)) initializers.unshift(_);
|
31
|
-
}
|
32
|
-
else if (_ = accept(result)) {
|
33
|
-
if (kind === "field") initializers.unshift(_);
|
34
|
-
else descriptor[key] = _;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
38
|
-
done = true;
|
39
|
-
};
|
40
|
-
var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
|
41
|
-
var useValue = arguments.length > 2;
|
42
|
-
for (var i = 0; i < initializers.length; i++) {
|
43
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
44
|
-
}
|
45
|
-
return useValue ? value : void 0;
|
46
|
-
};
|
47
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
48
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
49
|
-
};
|
50
|
-
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
51
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
52
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
53
|
-
};
|
54
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
55
|
-
exports.ComponentsModule = void 0;
|
56
|
-
var core_1 = require("@angular/core");
|
57
|
-
var common_1 = require("@angular/common");
|
58
|
-
var router_1 = require("@angular/router");
|
59
|
-
var forms_1 = require("@angular/forms");
|
60
|
-
//import { DirectivesModule } from 'src/app/shared/directives/directives.module';
|
61
|
-
//import { PipesModule } from 'src/app/shared/pipes/pipes.module';
|
62
|
-
//Angular Material
|
63
|
-
//import { MatButtonModule } from '@angular/material/button';
|
64
|
-
//import { MatCheckboxModule } from '@angular/material/checkbox';
|
65
|
-
//import { MatInputModule } from '@angular/material/input';
|
66
|
-
//import { MatFormFieldModule } from '@angular/material/form-field';
|
67
|
-
//import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
68
|
-
//import { MatTabsModule } from '@angular/material/tabs';
|
69
|
-
//Components
|
70
|
-
var coer_alert_component_1 = require("./coer-alert/coer-alert.component");
|
71
|
-
//import { CoerButton } from './coer-button/coer-button.component';
|
72
|
-
//import { CoerCheckbox } from './coer-checkbox/coer-checkbox.component';
|
73
|
-
//import { CoerFilebox } from './coer-filebox/coer-filebox.component';
|
74
|
-
//import { CoerForm } from './coer-form/coer-form.component';
|
75
|
-
//import { CoerGrid } from './coer-grid/coer-grid.component';
|
76
|
-
//import { CoerModal } from './coer-modal/coer-modal.component';
|
77
|
-
//import { CoerNumberBox } from './coer-numberbox/coer-numberbox.component';
|
78
|
-
//import { CoerPageTitle } from './coer-page-title/coer-page-title.component';
|
79
|
-
//import { CoerSelectbox } from './coer-selectbox/coer-selectbox.component';
|
80
|
-
//import { CoerSwitch } from './coer-switch/coer-switch.component';
|
81
|
-
//import { CoerTab } from './coer-tab/coer-tab.component';
|
82
|
-
//import { CoerTextarea } from './coer-textarea/coer-textarea.component';
|
83
|
-
//import { CoerTextBox } from './coer-textbox/coer-textbox.component';
|
84
|
-
var ComponentsModule = function () {
|
85
|
-
var _classDecorators = [(0, core_1.NgModule)({
|
86
|
-
imports: [
|
87
|
-
common_1.CommonModule,
|
88
|
-
router_1.RouterModule,
|
89
|
-
forms_1.FormsModule,
|
90
|
-
forms_1.ReactiveFormsModule,
|
91
|
-
//PipesModule,
|
92
|
-
//MatButtonModule,
|
93
|
-
//MatCheckboxModule,
|
94
|
-
//MatInputModule,
|
95
|
-
//MatFormFieldModule,
|
96
|
-
//MatSlideToggleModule,
|
97
|
-
//MatTabsModule,
|
98
|
-
//DirectivesModule
|
99
|
-
],
|
100
|
-
declarations: [
|
101
|
-
coer_alert_component_1.CoerAlert,
|
102
|
-
//CoerButton,
|
103
|
-
//CoerCheckbox,
|
104
|
-
//CoerFilebox,
|
105
|
-
//CoerForm,
|
106
|
-
//CoerGrid,
|
107
|
-
//CoerModal,
|
108
|
-
//CoerNumberBox,
|
109
|
-
//CoerPageTitle,
|
110
|
-
//CoerSelectbox,
|
111
|
-
//CoerSwitch,
|
112
|
-
//CoerTextarea,
|
113
|
-
//CoerTab,
|
114
|
-
//CoerTextBox,
|
115
|
-
],
|
116
|
-
exports: [
|
117
|
-
coer_alert_component_1.CoerAlert,
|
118
|
-
//CoerButton,
|
119
|
-
//CoerCheckbox,
|
120
|
-
//CoerFilebox,
|
121
|
-
//CoerForm,
|
122
|
-
//CoerGrid,
|
123
|
-
//CoerModal,
|
124
|
-
//CoerNumberBox,
|
125
|
-
//CoerPageTitle,
|
126
|
-
//CoerSelectbox,
|
127
|
-
//CoerSwitch,
|
128
|
-
//CoerTextarea,
|
129
|
-
//CoerTab,
|
130
|
-
//CoerTextBox,
|
131
|
-
]
|
132
|
-
})];
|
133
|
-
var _classDescriptor;
|
134
|
-
var _classExtraInitializers = [];
|
135
|
-
var _classThis;
|
136
|
-
var ComponentsModule = _classThis = /** @class */ (function () {
|
137
|
-
function ComponentsModule_1() {
|
138
|
-
}
|
139
|
-
return ComponentsModule_1;
|
140
|
-
}());
|
141
|
-
__setFunctionName(_classThis, "ComponentsModule");
|
142
|
-
(function () {
|
143
|
-
var _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
|
144
|
-
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
145
|
-
ComponentsModule = _classThis = _classDescriptor.value;
|
146
|
-
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
147
|
-
__runInitializers(_classThis, _classExtraInitializers);
|
148
|
-
})();
|
149
|
-
return ComponentsModule = _classThis;
|
150
|
-
}();
|
151
|
-
exports.ComponentsModule = ComponentsModule;
|
152
|
-
__exportStar(require("./coer-alert/coer-alert.component"), exports);
|
153
|
-
//export * from './coer-button/coer-button.component';
|
154
|
-
//export * from './coer-checkbox/coer-checkbox.component';
|
155
|
-
//export * from './coer-filebox/coer-filebox.component';
|
156
|
-
//export * from './coer-filebox/coer-filebox.interface';
|
157
|
-
//export * from './coer-form/coer-form.component';
|
158
|
-
//export * from './coer-grid/coer-grid.component';
|
159
|
-
//export * from './coer-grid/coer-grid.interface';
|
160
|
-
//export * from './coer-grid/coer-grid.templates';
|
161
|
-
//export * from './coer-modal/coer-modal.component';
|
162
|
-
//export * from './coer-numberbox/coer-numberbox.component';
|
163
|
-
//export * from './coer-page-title/coer-page-title.component';
|
164
|
-
//export * from './coer-page-title/pageTitle.interface';
|
165
|
-
//export * from './coer-selectbox/coer-selectbox.component';
|
166
|
-
//export * from './coer-switch/coer-switch.component';
|
167
|
-
//export * from './coer-tab/coer-tab.component';
|
168
|
-
//export * from './coer-textbox/coer-textbox.component';
|
package/dist_node/index.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./Tools/Breadcrumbs.class"), exports);
|
18
|
-
__exportStar(require("./Tools/ControlValue"), exports);
|
19
|
-
__exportStar(require("./Tools/DateTime.class"), exports);
|
20
|
-
__exportStar(require("./Tools/Files.class"), exports);
|
21
|
-
__exportStar(require("./Tools/Page.class"), exports);
|
22
|
-
__exportStar(require("./Tools/Screen.class"), exports);
|
23
|
-
__exportStar(require("./Tools/Source.class"), exports);
|
24
|
-
__exportStar(require("./Tools/Tools"), exports);
|