coer-elements 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,6 +39,7 @@ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, p
39
39
  import { Component, inject } from '@angular/core';
40
40
  import { Breadcrumbs } from "./Breadcrumbs.class";
41
41
  import { Source } from './Source.class';
42
+ import { CoerAlert } from '../components';
42
43
  import { ActivatedRoute, Router } from '@angular/router';
43
44
  import { Tools } from './Tools';
44
45
  var Page = function () {
@@ -49,7 +50,7 @@ var Page = function () {
49
50
  var Page = _classThis = /** @class */ (function () {
50
51
  function Page_1(page) {
51
52
  //Injection
52
- //protected readonly alert = inject(CoerAlert);
53
+ this.alert = inject(CoerAlert);
53
54
  this.router = inject(Router);
54
55
  this.activatedRoute = inject(ActivatedRoute);
55
56
  /** */
@@ -42,6 +42,7 @@ exports.Page = void 0;
42
42
  var core_1 = require("@angular/core");
43
43
  var Breadcrumbs_class_1 = require("./Breadcrumbs.class");
44
44
  var Source_class_1 = require("./Source.class");
45
+ var components_1 = require("../components");
45
46
  var router_1 = require("@angular/router");
46
47
  var Tools_1 = require("./Tools");
47
48
  var Page = function () {
@@ -52,7 +53,7 @@ var Page = function () {
52
53
  var Page = _classThis = /** @class */ (function () {
53
54
  function Page_1(page) {
54
55
  //Injection
55
- //protected readonly alert = inject(CoerAlert);
56
+ this.alert = (0, core_1.inject)(components_1.CoerAlert);
56
57
  this.router = (0, core_1.inject)(router_1.Router);
57
58
  this.activatedRoute = (0, core_1.inject)(router_1.ActivatedRoute);
58
59
  /** */
@@ -0,0 +1,317 @@
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;
@@ -0,0 +1,168 @@
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coer-elements",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "author": "Christian Omar Escamilla Rodríguez",
5
5
  "keywords": [
6
6
  "coer",
@@ -22,9 +22,12 @@
22
22
  "push": "npm publish --access public"
23
23
  },
24
24
  "dependencies": {
25
+ "@angular/animations": "^17.3.0",
25
26
  "@angular/common": "^17.3.0",
26
27
  "@angular/core": "^17.3.0",
27
28
  "@angular/forms": "^17.3.0",
29
+ "@angular/platform-browser": "^17.3.0",
30
+ "@angular/platform-browser-dynamic": "^17.3.0",
28
31
  "@angular/router": "^17.3.0",
29
32
  "@fortawesome/fontawesome-free": "^6.6.0",
30
33
  "animate.css": "^4.1.1",