lib-portal-angular 0.0.11 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,363 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
- import { forwardRef, Component, ChangeDetectionStrategy, Input, EventEmitter, Output, HostListener, ViewChild, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/forms';
4
- import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
5
- import Brazilian from 'flatpickr/dist/l10n/pt.js';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, HostListener, forwardRef, ViewChild, NgModule } from '@angular/core';
6
3
  import * as i1 from '@angular/common';
7
4
  import { CommonModule } from '@angular/common';
8
- import * as i3 from 'angularx-flatpickr';
9
- import { FlatpickrModule } from 'angularx-flatpickr';
5
+ import * as i2 from '@angular/forms';
6
+ import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
10
7
  import hljs from 'highlight.js';
11
8
  import { of } from 'rxjs';
12
- import * as i3$1 from '@ng-select/ng-select';
9
+ import * as i3 from '@ng-select/ng-select';
13
10
  import { NgSelectModule } from '@ng-select/ng-select';
14
- import * as i3$2 from 'ngx-pagination';
11
+ import * as i3$1 from 'ngx-pagination';
15
12
  import { NgxPaginationModule } from 'ngx-pagination';
16
13
 
17
- class CalendarComponent {
18
- constructor() {
19
- this.inputId = 'startDate';
20
- this.label = 'Event Start Date';
21
- this.placeholder = 'Not set';
22
- this.marginTop = 0;
23
- this.marginBottom = 0;
24
- this.marginLeft = 0;
25
- this.marginRight = 0;
26
- this.altInput = true;
27
- this.convertModelValue = true;
28
- this.enableTime = true;
29
- this.dateFormat = 'd/m/Y H:i';
30
- this.altFormat = 'd/m/Y';
31
- this.locale = Brazilian.pt; // Define o idioma como brasileiro por padrão
32
- this.onChange = (_) => { };
33
- this.onTouched = () => { };
34
- }
35
- ngOnInit() {
36
- // Any necessary initialization
37
- }
38
- writeValue(value) {
39
- this.value = value;
40
- }
41
- registerOnChange(fn) {
42
- this.onChange = fn;
43
- }
44
- registerOnTouched(fn) {
45
- this.onTouched = fn;
46
- }
47
- onNgModelChange(event) {
48
- this.onChange(event);
49
- this.onTouched();
50
- }
51
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
52
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CalendarComponent, selector: "sim-advanced-calendar", inputs: { inputId: "inputId", label: "label", placeholder: "placeholder", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight", altInput: "altInput", convertModelValue: "convertModelValue", enableTime: "enableTime", dateFormat: "dateFormat", altFormat: "altFormat", locale: "locale" }, providers: [
53
- {
54
- provide: NG_VALUE_ACCESSOR,
55
- useExisting: forwardRef(() => CalendarComponent),
56
- multi: true
57
- }
58
- ], ngImport: i0, template: `
59
- <div class="form-group" [ngStyle]="{
60
- 'margin-top': marginTop + 'rem',
61
- 'margin-bottom': marginBottom + 'rem',
62
- 'margin-left': marginLeft + 'rem',
63
- 'margin-right': marginRight + 'rem'
64
- }">
65
- <label [for]="inputId" class="form-label">{{ label }}</label>
66
- <input
67
- [id]="inputId"
68
- class="form-control"
69
- type="text"
70
- mwlFlatpickr
71
- [(ngModel)]="value"
72
- (ngModelChange)="onNgModelChange($event)"
73
- [altInput]="altInput"
74
- [convertModelValue]="convertModelValue"
75
- [enableTime]="enableTime"
76
- [dateFormat]="dateFormat"
77
- [altFormat]="altFormat"
78
- [placeholder]="placeholder"
79
- [locale]="locale"
80
- />
81
- </div>
82
- `, isInline: true, styles: [".form-group{font-family:Arial,sans-serif;font-size:1rem}.form-label{font-weight:700}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.FlatpickrDirective, selector: "[mwlFlatpickr]", inputs: ["options", "altFormat", "altInput", "altInputClass", "allowInput", "allowInvalidPreload", "appendTo", "ariaDateFormat", "clickOpens", "dateFormat", "defaultHour", "defaultMinute", "defaultSeconds", "disable", "disableMobile", "enable", "enableTime", "enableSeconds", "formatDate", "hourIncrement", "inline", "maxDate", "minDate", "maxTime", "minTime", "minuteIncrement", "mode", "nextArrow", "noCalendar", "now", "parseDate", "prevArrow", "shorthandCurrentMonth", "showMonths", "static", "time24hr", "weekNumbers", "getWeek", "wrap", "plugins", "locale", "convertModelValue", "monthSelectorType", "ignoredFocusElements"], outputs: ["flatpickrReady", "flatpickrChange", "flatpickrValueUpdate", "flatpickrOpen", "flatpickrClose", "flatpickrMonthChange", "flatpickrYearChange", "flatpickrDayCreate"], exportAs: ["mwlFlatpickr"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
83
- }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarComponent, decorators: [{
85
- type: Component,
86
- args: [{ selector: 'sim-advanced-calendar', template: `
87
- <div class="form-group" [ngStyle]="{
88
- 'margin-top': marginTop + 'rem',
89
- 'margin-bottom': marginBottom + 'rem',
90
- 'margin-left': marginLeft + 'rem',
91
- 'margin-right': marginRight + 'rem'
92
- }">
93
- <label [for]="inputId" class="form-label">{{ label }}</label>
94
- <input
95
- [id]="inputId"
96
- class="form-control"
97
- type="text"
98
- mwlFlatpickr
99
- [(ngModel)]="value"
100
- (ngModelChange)="onNgModelChange($event)"
101
- [altInput]="altInput"
102
- [convertModelValue]="convertModelValue"
103
- [enableTime]="enableTime"
104
- [dateFormat]="dateFormat"
105
- [altFormat]="altFormat"
106
- [placeholder]="placeholder"
107
- [locale]="locale"
108
- />
109
- </div>
110
- `, providers: [
111
- {
112
- provide: NG_VALUE_ACCESSOR,
113
- useExisting: forwardRef(() => CalendarComponent),
114
- multi: true
115
- }
116
- ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".form-group{font-family:Arial,sans-serif;font-size:1rem}.form-label{font-weight:700}\n"] }]
117
- }], propDecorators: { inputId: [{
118
- type: Input
119
- }], label: [{
120
- type: Input
121
- }], placeholder: [{
122
- type: Input
123
- }], marginTop: [{
124
- type: Input
125
- }], marginBottom: [{
126
- type: Input
127
- }], marginLeft: [{
128
- type: Input
129
- }], marginRight: [{
130
- type: Input
131
- }], altInput: [{
132
- type: Input
133
- }], convertModelValue: [{
134
- type: Input
135
- }], enableTime: [{
136
- type: Input
137
- }], dateFormat: [{
138
- type: Input
139
- }], altFormat: [{
140
- type: Input
141
- }], locale: [{
142
- type: Input
143
- }] } });
144
-
145
- class DatePickerComponent {
146
- constructor() {
147
- this.inputId = '';
148
- this.label = '';
149
- this.placeholder = '';
150
- this.marginTop = 0;
151
- this.marginBottom = 0;
152
- this.marginLeft = 0;
153
- this.marginRight = 0;
154
- this.ngModelChange = new EventEmitter();
155
- // ControlValueAccessor interface methods
156
- this.onChange = () => { };
157
- this.onTouched = () => { };
158
- }
159
- get value() {
160
- return this.innerValue;
161
- }
162
- set value(val) {
163
- this.innerValue = val;
164
- this.onChange(val);
165
- this.onTouched();
166
- }
167
- onNgModelChange(event) {
168
- this.value = event;
169
- this.ngModelChange.emit(event);
170
- }
171
- writeValue(value) {
172
- this.value = value;
173
- }
174
- registerOnChange(fn) {
175
- this.onChange = fn;
176
- }
177
- registerOnTouched(fn) {
178
- this.onTouched = fn;
179
- }
180
- setDisabledState(isDisabled) {
181
- // Logic for disabling the component
182
- }
183
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
184
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DatePickerComponent, selector: "sim-date-picker", inputs: { inputId: "inputId", label: "label", placeholder: "placeholder", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight" }, outputs: { ngModelChange: "ngModelChange" }, providers: [
185
- {
186
- provide: NG_VALUE_ACCESSOR,
187
- useExisting: forwardRef(() => DatePickerComponent),
188
- multi: true
189
- }
190
- ], ngImport: i0, template: `
191
- <div class="form-group" [ngStyle]="{
192
- 'margin-top': marginTop + 'rem',
193
- 'margin-bottom': marginBottom + 'rem',
194
- 'margin-left': marginLeft + 'rem',
195
- 'margin-right': marginRight + 'rem'
196
- }">
197
- <label [for]="inputId" class="form-label">{{ label }}</label>
198
- <input
199
- [id]="inputId"
200
- class="form-control"
201
- type="date"
202
- [(ngModel)]="value"
203
- (ngModelChange)="onNgModelChange($event)"
204
- [placeholder]="placeholder"
205
- />
206
- </div>
207
- `, isInline: true, styles: [".form-label{font-weight:700}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
208
- }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerComponent, decorators: [{
210
- type: Component,
211
- args: [{ selector: 'sim-date-picker', template: `
212
- <div class="form-group" [ngStyle]="{
213
- 'margin-top': marginTop + 'rem',
214
- 'margin-bottom': marginBottom + 'rem',
215
- 'margin-left': marginLeft + 'rem',
216
- 'margin-right': marginRight + 'rem'
217
- }">
218
- <label [for]="inputId" class="form-label">{{ label }}</label>
219
- <input
220
- [id]="inputId"
221
- class="form-control"
222
- type="date"
223
- [(ngModel)]="value"
224
- (ngModelChange)="onNgModelChange($event)"
225
- [placeholder]="placeholder"
226
- />
227
- </div>
228
- `, providers: [
229
- {
230
- provide: NG_VALUE_ACCESSOR,
231
- useExisting: forwardRef(() => DatePickerComponent),
232
- multi: true
233
- }
234
- ], styles: [".form-label{font-weight:700}\n"] }]
235
- }], propDecorators: { inputId: [{
236
- type: Input
237
- }], label: [{
238
- type: Input
239
- }], placeholder: [{
240
- type: Input
241
- }], marginTop: [{
242
- type: Input
243
- }], marginBottom: [{
244
- type: Input
245
- }], marginLeft: [{
246
- type: Input
247
- }], marginRight: [{
248
- type: Input
249
- }], ngModelChange: [{
250
- type: Output
251
- }] } });
252
-
253
- class DateTimePickerComponent {
254
- constructor() {
255
- this.inputId = '';
256
- this.label = '';
257
- this.placeholder = '';
258
- this.marginTop = 0;
259
- this.marginBottom = 0;
260
- this.marginLeft = 0;
261
- this.marginRight = 0;
262
- this.ngModelChange = new EventEmitter();
263
- // ControlValueAccessor interface methods
264
- this.onChange = () => { };
265
- this.onTouched = () => { };
266
- }
267
- get value() {
268
- return this._value;
269
- }
270
- set value(val) {
271
- this._value = val;
272
- this.onChange(val);
273
- this.onTouched();
274
- }
275
- onNgModelChange(event) {
276
- this.value = event;
277
- this.ngModelChange.emit(event);
278
- }
279
- writeValue(value) {
280
- this._value = value;
281
- }
282
- registerOnChange(fn) {
283
- this.onChange = fn;
284
- }
285
- registerOnTouched(fn) {
286
- this.onTouched = fn;
287
- }
288
- setDisabledState(isDisabled) {
289
- // Logic for disabling the component
290
- }
291
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
292
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateTimePickerComponent, selector: "sim-date-time-picker", inputs: { inputId: "inputId", label: "label", placeholder: "placeholder", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight" }, outputs: { ngModelChange: "ngModelChange" }, providers: [
293
- {
294
- provide: NG_VALUE_ACCESSOR,
295
- useExisting: forwardRef(() => DateTimePickerComponent),
296
- multi: true
297
- }
298
- ], ngImport: i0, template: `
299
- <div class="form-group" [ngStyle]="{
300
- 'margin-top': marginTop + 'rem',
301
- 'margin-bottom': marginBottom + 'rem',
302
- 'margin-left': marginLeft + 'rem',
303
- 'margin-right': marginRight + 'rem'
304
- }">
305
- <label [for]="inputId" class="form-label">{{ label }}</label>
306
- <input
307
- [id]="inputId"
308
- class="form-control"
309
- type="datetime-local"
310
- [(ngModel)]="value"
311
- (ngModelChange)="onNgModelChange($event)"
312
- [placeholder]="placeholder"
313
- />
314
- </div>
315
- `, isInline: true, styles: [".form-label{font-weight:700}.custom-input{border:1px solid #9aa4b2;transition:border-color .3s,box-shadow .3s}.custom-input:hover{border-color:#2196f3;border-width:2px}.custom-input:focus{border-color:#2196f3;border-width:2px;box-shadow:0 0 5px #007bff80}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
316
- }
317
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerComponent, decorators: [{
318
- type: Component,
319
- args: [{ selector: 'sim-date-time-picker', template: `
320
- <div class="form-group" [ngStyle]="{
321
- 'margin-top': marginTop + 'rem',
322
- 'margin-bottom': marginBottom + 'rem',
323
- 'margin-left': marginLeft + 'rem',
324
- 'margin-right': marginRight + 'rem'
325
- }">
326
- <label [for]="inputId" class="form-label">{{ label }}</label>
327
- <input
328
- [id]="inputId"
329
- class="form-control"
330
- type="datetime-local"
331
- [(ngModel)]="value"
332
- (ngModelChange)="onNgModelChange($event)"
333
- [placeholder]="placeholder"
334
- />
335
- </div>
336
- `, providers: [
337
- {
338
- provide: NG_VALUE_ACCESSOR,
339
- useExisting: forwardRef(() => DateTimePickerComponent),
340
- multi: true
341
- }
342
- ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".form-label{font-weight:700}.custom-input{border:1px solid #9aa4b2;transition:border-color .3s,box-shadow .3s}.custom-input:hover{border-color:#2196f3;border-width:2px}.custom-input:focus{border-color:#2196f3;border-width:2px;box-shadow:0 0 5px #007bff80}\n"] }]
343
- }], propDecorators: { inputId: [{
344
- type: Input
345
- }], label: [{
346
- type: Input
347
- }], placeholder: [{
348
- type: Input
349
- }], marginTop: [{
350
- type: Input
351
- }], marginBottom: [{
352
- type: Input
353
- }], marginLeft: [{
354
- type: Input
355
- }], marginRight: [{
356
- type: Input
357
- }], ngModelChange: [{
358
- type: Output
359
- }] } });
360
-
361
14
  var ButtonClasses;
362
15
  (function (ButtonClasses) {
363
16
  ButtonClasses["Primary"] = "btn-primary";
@@ -538,6 +191,8 @@ class ButtonComponent {
538
191
  this.marginBottom = 0;
539
192
  this.marginLeft = 0;
540
193
  this.marginRight = 0;
194
+ this.permissions = [];
195
+ this.permissionChecker = null;
541
196
  this.clickEvent = new EventEmitter();
542
197
  this.isHovered = false;
543
198
  this.isActive = false;
@@ -612,47 +267,57 @@ class ButtonComponent {
612
267
  'filter': activeFilter
613
268
  };
614
269
  }
270
+ hasPermission() {
271
+ if (!this.permissionChecker || this.permissions.length === 0) {
272
+ return true;
273
+ }
274
+ return this.permissionChecker(this.permissions);
275
+ }
615
276
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
616
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonComponent, selector: "sim-app-button", inputs: { type: "type", label: "label", btnClass: "btnClass", fontSize: "fontSize", disabled: "disabled", autofocus: "autofocus", form: "form", formaction: "formaction", formenctype: "formenctype", formmethod: "formmethod", formnovalidate: "formnovalidate", formtarget: "formtarget", name: "name", value: "value", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight" }, outputs: { clickEvent: "clickEvent" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "mousedown": "onMouseDown()", "mouseup": "onMouseUp()" } }, ngImport: i0, template: `
617
- <button [type]="type"
618
- class="btn"
619
- [ngClass]="btnClass"
620
- [ngStyle]="getDynamicStyles()"
621
- (click)="onClick($event)"
622
- [disabled]="disabled"
623
- [attr.autofocus]="autofocus ? true : null"
624
- [attr.form]="form"
625
- [attr.formaction]="formaction"
626
- [attr.formenctype]="formenctype"
627
- [attr.formmethod]="formmethod"
628
- [attr.formnovalidate]="formnovalidate"
629
- [attr.formtarget]="formtarget"
630
- [attr.name]="name"
631
- [attr.value]="value">
632
- {{ label }}
633
- </button>
634
- `, isInline: true, styles: [".btn{padding:.5rem 1rem;border-radius:.25rem;transition:background-color .3s,border-color .3s,filter .3s;font-family:Inter,sans-serif;font-size:16px;font-weight:600;line-height:24px;letter-spacing:.005em;text-align:left}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
277
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonComponent, selector: "sim-app-button", inputs: { type: "type", label: "label", btnClass: "btnClass", fontSize: "fontSize", disabled: "disabled", autofocus: "autofocus", form: "form", formaction: "formaction", formenctype: "formenctype", formmethod: "formmethod", formnovalidate: "formnovalidate", formtarget: "formtarget", name: "name", value: "value", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight", permissions: "permissions", permissionChecker: "permissionChecker" }, outputs: { clickEvent: "clickEvent" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "mousedown": "onMouseDown()", "mouseup": "onMouseUp()" } }, ngImport: i0, template: `
278
+ <ng-container *ngIf="hasPermission()">
279
+ <button [type]="type"
280
+ class="btn"
281
+ [ngClass]="btnClass"
282
+ [ngStyle]="getDynamicStyles()"
283
+ (click)="onClick($event)"
284
+ [disabled]="disabled"
285
+ [attr.autofocus]="autofocus ? true : null"
286
+ [attr.form]="form"
287
+ [attr.formaction]="formaction"
288
+ [attr.formenctype]="formenctype"
289
+ [attr.formmethod]="formmethod"
290
+ [attr.formnovalidate]="formnovalidate"
291
+ [attr.formtarget]="formtarget"
292
+ [attr.name]="name"
293
+ [attr.value]="value">
294
+ {{ label }}
295
+ </button>
296
+ </ng-container>
297
+ `, isInline: true, styles: [".btn{padding:.5rem 1rem;border-radius:.25rem;transition:background-color .3s,border-color .3s,filter .3s;font-family:Inter,sans-serif;font-size:16px;font-weight:600;line-height:24px;letter-spacing:.005em;text-align:left}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
635
298
  }
636
299
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, decorators: [{
637
300
  type: Component,
638
301
  args: [{ selector: 'sim-app-button', template: `
639
- <button [type]="type"
640
- class="btn"
641
- [ngClass]="btnClass"
642
- [ngStyle]="getDynamicStyles()"
643
- (click)="onClick($event)"
644
- [disabled]="disabled"
645
- [attr.autofocus]="autofocus ? true : null"
646
- [attr.form]="form"
647
- [attr.formaction]="formaction"
648
- [attr.formenctype]="formenctype"
649
- [attr.formmethod]="formmethod"
650
- [attr.formnovalidate]="formnovalidate"
651
- [attr.formtarget]="formtarget"
652
- [attr.name]="name"
653
- [attr.value]="value">
654
- {{ label }}
655
- </button>
302
+ <ng-container *ngIf="hasPermission()">
303
+ <button [type]="type"
304
+ class="btn"
305
+ [ngClass]="btnClass"
306
+ [ngStyle]="getDynamicStyles()"
307
+ (click)="onClick($event)"
308
+ [disabled]="disabled"
309
+ [attr.autofocus]="autofocus ? true : null"
310
+ [attr.form]="form"
311
+ [attr.formaction]="formaction"
312
+ [attr.formenctype]="formenctype"
313
+ [attr.formmethod]="formmethod"
314
+ [attr.formnovalidate]="formnovalidate"
315
+ [attr.formtarget]="formtarget"
316
+ [attr.name]="name"
317
+ [attr.value]="value">
318
+ {{ label }}
319
+ </button>
320
+ </ng-container>
656
321
  `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".btn{padding:.5rem 1rem;border-radius:.25rem;transition:background-color .3s,border-color .3s,filter .3s;font-family:Inter,sans-serif;font-size:16px;font-weight:600;line-height:24px;letter-spacing:.005em;text-align:left}\n"] }]
657
322
  }], propDecorators: { type: [{
658
323
  type: Input
@@ -690,6 +355,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
690
355
  type: Input
691
356
  }], marginRight: [{
692
357
  type: Input
358
+ }], permissions: [{
359
+ type: Input
360
+ }], permissionChecker: [{
361
+ type: Input
693
362
  }], clickEvent: [{
694
363
  type: Output
695
364
  }], onMouseEnter: [{
@@ -947,6 +616,9 @@ class InputComponent {
947
616
  this.marginBottom = 0;
948
617
  this.marginLeft = 0;
949
618
  this.marginRight = 0;
619
+ this.labelFontWeight = 400;
620
+ this.permissions = [];
621
+ this.permissionChecker = null;
950
622
  this.inputEvent = new EventEmitter();
951
623
  this.changeEvent = new EventEmitter();
952
624
  this.focusEvent = new EventEmitter();
@@ -995,21 +667,42 @@ class InputComponent {
995
667
  setDisabledState(isDisabled) {
996
668
  this.disabled = isDisabled;
997
669
  }
670
+ hasPermission() {
671
+ if (!this.permissionChecker || this.permissions.length === 0) {
672
+ return true;
673
+ }
674
+ return this.permissionChecker(this.permissions);
675
+ }
676
+ getLabelStyles() {
677
+ return {
678
+ 'font-weight': this.labelFontWeight,
679
+ 'width': '623px',
680
+ 'height': '19px',
681
+ 'top': '1608px',
682
+ 'left': '133px',
683
+ 'gap': '0px',
684
+ 'opacity': '0px',
685
+ 'font-family': 'Inter',
686
+ 'font-size': '16px',
687
+ 'line-height': '19.36px',
688
+ 'text-align': 'left'
689
+ };
690
+ }
998
691
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
999
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InputComponent, selector: "sim-app-input", inputs: { label: "label", placeholder: "placeholder", id: "id", type: "type", disabled: "disabled", readonly: "readonly", maxlength: "maxlength", minlength: "minlength", required: "required", pattern: "pattern", autofocus: "autofocus", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight" }, outputs: { inputEvent: "inputEvent", changeEvent: "changeEvent", focusEvent: "focusEvent", blurEvent: "blurEvent", keyupEvent: "keyupEvent", keydownEvent: "keydownEvent", keypressEvent: "keypressEvent" }, providers: [
692
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InputComponent, selector: "sim-app-input", inputs: { label: "label", placeholder: "placeholder", id: "id", type: "type", disabled: "disabled", readonly: "readonly", maxlength: "maxlength", minlength: "minlength", required: "required", pattern: "pattern", autofocus: "autofocus", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight", labelFontWeight: "labelFontWeight", permissions: "permissions", permissionChecker: "permissionChecker" }, outputs: { inputEvent: "inputEvent", changeEvent: "changeEvent", focusEvent: "focusEvent", blurEvent: "blurEvent", keyupEvent: "keyupEvent", keydownEvent: "keydownEvent", keypressEvent: "keypressEvent" }, providers: [
1000
693
  {
1001
694
  provide: NG_VALUE_ACCESSOR,
1002
695
  useExisting: forwardRef(() => InputComponent),
1003
696
  multi: true
1004
697
  }
1005
698
  ], ngImport: i0, template: `
1006
- <div class="form-group" [ngStyle]="{
699
+ <div *ngIf="hasPermission()" class="form-group" [ngStyle]="{
1007
700
  'margin-top': marginTop + 'rem',
1008
701
  'margin-bottom': marginBottom + 'rem',
1009
702
  'margin-left': marginLeft + 'rem',
1010
703
  'margin-right': marginRight + 'rem'
1011
704
  }">
1012
- <label [for]="id">{{ label }}</label>
705
+ <label [for]="id" [ngStyle]="getLabelStyles()">{{ label }}</label>
1013
706
  <input [type]="type"
1014
707
  class="form-control custom-input"
1015
708
  [id]="id"
@@ -1030,18 +723,18 @@ class InputComponent {
1030
723
  [attr.pattern]="pattern"
1031
724
  [autofocus]="autofocus">
1032
725
  </div>
1033
- `, isInline: true, styles: [".form-group{font-family:Arial,sans-serif;font-size:1rem;font-weight:700}.form-check-input{font-family:Arial,sans-serif;color:#333;font-size:.9rem}.form-check-label{font-family:Arial,sans-serif;color:#333;font-size:1rem}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
726
+ `, isInline: true, styles: [".form-group{font-family:Inter;font-size:1rem;font-weight:700}.form-check-input{font-family:Inter;color:#333;font-size:.9rem}.form-check-label{width:623px;height:19px;top:1608px;left:133px;gap:0px;opacity:0px;font-family:Inter;font-size:16px;line-height:19.36px;text-align:left}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1034
727
  }
1035
728
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputComponent, decorators: [{
1036
729
  type: Component,
1037
730
  args: [{ selector: 'sim-app-input', template: `
1038
- <div class="form-group" [ngStyle]="{
731
+ <div *ngIf="hasPermission()" class="form-group" [ngStyle]="{
1039
732
  'margin-top': marginTop + 'rem',
1040
733
  'margin-bottom': marginBottom + 'rem',
1041
734
  'margin-left': marginLeft + 'rem',
1042
735
  'margin-right': marginRight + 'rem'
1043
736
  }">
1044
- <label [for]="id">{{ label }}</label>
737
+ <label [for]="id" [ngStyle]="getLabelStyles()">{{ label }}</label>
1045
738
  <input [type]="type"
1046
739
  class="form-control custom-input"
1047
740
  [id]="id"
@@ -1068,7 +761,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1068
761
  useExisting: forwardRef(() => InputComponent),
1069
762
  multi: true
1070
763
  }
1071
- ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".form-group{font-family:Arial,sans-serif;font-size:1rem;font-weight:700}.form-check-input{font-family:Arial,sans-serif;color:#333;font-size:.9rem}.form-check-label{font-family:Arial,sans-serif;color:#333;font-size:1rem}\n"] }]
764
+ ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".form-group{font-family:Inter;font-size:1rem;font-weight:700}.form-check-input{font-family:Inter;color:#333;font-size:.9rem}.form-check-label{width:623px;height:19px;top:1608px;left:133px;gap:0px;opacity:0px;font-family:Inter;font-size:16px;line-height:19.36px;text-align:left}\n"] }]
1072
765
  }], propDecorators: { label: [{
1073
766
  type: Input
1074
767
  }], placeholder: [{
@@ -1099,6 +792,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1099
792
  type: Input
1100
793
  }], marginRight: [{
1101
794
  type: Input
795
+ }], labelFontWeight: [{
796
+ type: Input
797
+ }], permissions: [{
798
+ type: Input
799
+ }], permissionChecker: [{
800
+ type: Input
1102
801
  }], inputEvent: [{
1103
802
  type: Output
1104
803
  }], changeEvent: [{
@@ -1192,7 +891,7 @@ class MultiSelectComponent {
1192
891
  </ng-template>
1193
892
  </ng-select>
1194
893
  </div>
1195
- `, isInline: true, styles: [".form-group{font-family:Arial,sans-serif;font-size:1rem}.form-label{font-weight:700}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$1.NgSelectComponent, selector: "ng-select", inputs: ["bindLabel", "bindValue", "markFirst", "placeholder", "notFoundText", "typeToSearchText", "addTagText", "loadingText", "clearAllText", "appearance", "dropdownPosition", "appendTo", "loading", "closeOnSelect", "hideSelected", "selectOnTab", "openOnEnter", "maxSelectedItems", "groupBy", "groupValue", "bufferAmount", "virtualScroll", "selectableGroup", "selectableGroupAsModel", "searchFn", "trackByFn", "clearOnBackspace", "labelForId", "inputAttrs", "tabIndex", "readonly", "searchWhileComposing", "minTermLength", "editableSearchTerm", "keyDownFn", "typeahead", "multiple", "addTag", "searchable", "clearable", "isOpen", "items", "compareWith", "clearSearchOnAdd", "deselectOnClick"], outputs: ["blur", "focus", "change", "open", "close", "search", "clear", "add", "remove", "scroll", "scrollToEnd"] }, { kind: "directive", type: i3$1.NgOptionTemplateDirective, selector: "[ng-option-tmp]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
894
+ `, isInline: true, styles: [".form-group{font-family:Arial,sans-serif;font-size:1rem}.form-label{font-weight:700}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.NgSelectComponent, selector: "ng-select", inputs: ["bindLabel", "bindValue", "markFirst", "placeholder", "notFoundText", "typeToSearchText", "addTagText", "loadingText", "clearAllText", "appearance", "dropdownPosition", "appendTo", "loading", "closeOnSelect", "hideSelected", "selectOnTab", "openOnEnter", "maxSelectedItems", "groupBy", "groupValue", "bufferAmount", "virtualScroll", "selectableGroup", "selectableGroupAsModel", "searchFn", "trackByFn", "clearOnBackspace", "labelForId", "inputAttrs", "tabIndex", "readonly", "searchWhileComposing", "minTermLength", "editableSearchTerm", "keyDownFn", "typeahead", "multiple", "addTag", "searchable", "clearable", "isOpen", "items", "compareWith", "clearSearchOnAdd", "deselectOnClick"], outputs: ["blur", "focus", "change", "open", "close", "search", "clear", "add", "remove", "scroll", "scrollToEnd"] }, { kind: "directive", type: i3.NgOptionTemplateDirective, selector: "[ng-option-tmp]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1196
895
  }
1197
896
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiSelectComponent, decorators: [{
1198
897
  type: Component,
@@ -1538,7 +1237,7 @@ class BootstrapTableComponent {
1538
1237
  }
1539
1238
  }
1540
1239
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BootstrapTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1541
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BootstrapTableComponent, selector: "sim-bootstrap-table", inputs: { columns: "columns", data: "data", itemsPerPageOptions: "itemsPerPageOptions", defaultItemsPerPage: "defaultItemsPerPage", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight", showActionColumn: "showActionColumn", actionColumnLabel: "actionColumnLabel" }, outputs: { sortChange: "sortChange", pageChange: "pageChange", itemsPerPageChange: "itemsPerPageChange", onEditTable: "onEditTable", onDeleteTable: "onDeleteTable", onViewTable: "onViewTable" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\" [ngStyle]=\"{\n 'margin-top': marginTop + 'rem',\n 'margin-bottom': marginBottom + 'rem',\n 'margin-left': marginLeft + 'rem',\n 'margin-right': marginRight + 'rem'\n}\" style=\"text-align: right;\">\n <label for=\"itemsPerPageSelect\" style=\"margin-right: 0.5rem; margin-bottom: 0.7rem;\">Itens por P\u00E1gina:</label>\n <select\n id=\"itemsPerPageSelect\"\n class=\"form-control form-control-sm d-inline-block w-auto\"\n [(ngModel)]=\"defaultItemsPerPage\"\n (ngModelChange)=\"onItemsPerPageChange($event)\">\n <option *ngFor=\"let option of itemsPerPageOptions\" [value]=\"option\">{{ option }}</option>\n </select>\n</div>\n\n<div class=\"table-responsive\">\n <table class=\"table table-hover\">\n <thead>\n <tr>\n <th *ngFor=\"let column of columns\" (click)=\"onSort(column.prop)\">\n {{ column.label }}\n </th>\n <th *ngIf=\"showActionColumn\">{{ actionColumnLabel }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data | paginate: config; let i = index\">\n <td *ngFor=\"let column of columns\">\n {{ item[column.prop] }}\n </td>\n <td *ngIf=\"showActionColumn\">\n <div class=\"d-flex justify-content-center\">\n <button *ngIf=\"onEditTable.observers.length > 0\" (click)=\"handleAction('edit', item, i)\" class=\"btn btn-sm btn-primary mx-1\">Edit</button>\n <button *ngIf=\"onDeleteTable.observers.length > 0\" (click)=\"handleAction('delete', item, i)\" class=\"btn btn-sm btn-danger mx-1\">Delete</button>\n <button *ngIf=\"onViewTable.observers.length > 0\" (click)=\"handleAction('view', item, i)\" class=\"btn btn-sm btn-info mx-1\">View</button>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n\n<div class=\"text-center\">\n <pagination-controls id=\"bootstrap-table\" (pageChange)=\"onPageChange($event)\" previousLabel=\"Anterior\" nextLabel=\"Pr\u00F3ximo\" [responsive]=\"true\"></pagination-controls>\n</div>\n\n\n<!-- Estilos CSS diretamente no HTML -->\n<style>\n .table thead th {\n background-color: #343a40; /* Tom de cinza escuro */\n color: #fff;\n }\n</style>\n", styles: ["", "\n .table thead th {\n background-color: #343a40; /* Tom de cinza escuro */\n color: #fff;\n }\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$2.PaginationControlsComponent, selector: "pagination-controls", inputs: ["id", "maxSize", "directionLinks", "autoHide", "responsive", "previousLabel", "nextLabel", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], outputs: ["pageChange", "pageBoundsCorrection"] }, { kind: "pipe", type: i3$2.PaginatePipe, name: "paginate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1240
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BootstrapTableComponent, selector: "sim-bootstrap-table", inputs: { columns: "columns", data: "data", itemsPerPageOptions: "itemsPerPageOptions", defaultItemsPerPage: "defaultItemsPerPage", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight", showActionColumn: "showActionColumn", actionColumnLabel: "actionColumnLabel" }, outputs: { sortChange: "sortChange", pageChange: "pageChange", itemsPerPageChange: "itemsPerPageChange", onEditTable: "onEditTable", onDeleteTable: "onDeleteTable", onViewTable: "onViewTable" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\" [ngStyle]=\"{\n 'margin-top': marginTop + 'rem',\n 'margin-bottom': marginBottom + 'rem',\n 'margin-left': marginLeft + 'rem',\n 'margin-right': marginRight + 'rem'\n}\" style=\"text-align: right;\">\n <label for=\"itemsPerPageSelect\" style=\"margin-right: 0.5rem; margin-bottom: 0.7rem;\">Itens por P\u00E1gina:</label>\n <select\n id=\"itemsPerPageSelect\"\n class=\"form-control form-control-sm d-inline-block w-auto\"\n [(ngModel)]=\"defaultItemsPerPage\"\n (ngModelChange)=\"onItemsPerPageChange($event)\">\n <option *ngFor=\"let option of itemsPerPageOptions\" [value]=\"option\">{{ option }}</option>\n </select>\n</div>\n\n<div class=\"table-responsive\">\n <table class=\"table table-hover\">\n <thead>\n <tr>\n <th *ngFor=\"let column of columns\" (click)=\"onSort(column.prop)\">\n {{ column.label }}\n </th>\n <th *ngIf=\"showActionColumn\">{{ actionColumnLabel }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data | paginate: config; let i = index\">\n <td *ngFor=\"let column of columns\">\n {{ item[column.prop] }}\n </td>\n <td *ngIf=\"showActionColumn\">\n <div class=\"d-flex justify-content-center\">\n <button *ngIf=\"onEditTable.observers.length > 0\" (click)=\"handleAction('edit', item, i)\" class=\"btn btn-sm btn-primary mx-1\">Edit</button>\n <button *ngIf=\"onDeleteTable.observers.length > 0\" (click)=\"handleAction('delete', item, i)\" class=\"btn btn-sm btn-danger mx-1\">Delete</button>\n <button *ngIf=\"onViewTable.observers.length > 0\" (click)=\"handleAction('view', item, i)\" class=\"btn btn-sm btn-info mx-1\">View</button>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n\n<div class=\"text-center\">\n <pagination-controls id=\"bootstrap-table\" (pageChange)=\"onPageChange($event)\" previousLabel=\"Anterior\" nextLabel=\"Pr\u00F3ximo\" [responsive]=\"true\"></pagination-controls>\n</div>\n\n\n<!-- Estilos CSS diretamente no HTML -->\n<style>\n .table thead th {\n background-color: #343a40; /* Tom de cinza escuro */\n color: #fff;\n }\n</style>\n", styles: ["", "\n .table thead th {\n background-color: #343a40; /* Tom de cinza escuro */\n color: #fff;\n }\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$1.PaginationControlsComponent, selector: "pagination-controls", inputs: ["id", "maxSize", "directionLinks", "autoHide", "responsive", "previousLabel", "nextLabel", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], outputs: ["pageChange", "pageBoundsCorrection"] }, { kind: "pipe", type: i3$1.PaginatePipe, name: "paginate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1542
1241
  }
1543
1242
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BootstrapTableComponent, decorators: [{
1544
1243
  type: Component,
@@ -1768,15 +1467,13 @@ class ComponentsModule {
1768
1467
  SelectComponent,
1769
1468
  RadioComponent,
1770
1469
  MultiSelectComponent,
1771
- CalendarComponent,
1772
- DatePickerComponent,
1773
- DateTimePickerComponent,
1774
1470
  BootstrapTableComponent,
1775
1471
  CodeHighlightComponent,
1776
1472
  BadgeComponent], imports: [CommonModule,
1777
1473
  FormsModule,
1778
1474
  ReactiveFormsModule,
1779
- NgSelectModule, i3.FlatpickrModule, NgxPaginationModule], exports: [ButtonComponent,
1475
+ NgSelectModule,
1476
+ NgxPaginationModule], exports: [ButtonComponent,
1780
1477
  CardComponent,
1781
1478
  FormComponent,
1782
1479
  InputComponent,
@@ -1788,9 +1485,6 @@ class ComponentsModule {
1788
1485
  FormsModule,
1789
1486
  ReactiveFormsModule,
1790
1487
  NgSelectModule,
1791
- CalendarComponent,
1792
- DatePickerComponent,
1793
- DateTimePickerComponent,
1794
1488
  BootstrapTableComponent,
1795
1489
  CodeHighlightComponent,
1796
1490
  BadgeComponent] }); }
@@ -1798,7 +1492,6 @@ class ComponentsModule {
1798
1492
  FormsModule,
1799
1493
  ReactiveFormsModule,
1800
1494
  NgSelectModule,
1801
- FlatpickrModule.forRoot(),
1802
1495
  NgxPaginationModule, FormsModule,
1803
1496
  ReactiveFormsModule,
1804
1497
  NgSelectModule] }); }
@@ -1816,9 +1509,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1816
1509
  SelectComponent,
1817
1510
  RadioComponent,
1818
1511
  MultiSelectComponent,
1819
- CalendarComponent,
1820
- DatePickerComponent,
1821
- DateTimePickerComponent,
1822
1512
  BootstrapTableComponent,
1823
1513
  CodeHighlightComponent,
1824
1514
  BadgeComponent
@@ -1828,7 +1518,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1828
1518
  FormsModule,
1829
1519
  ReactiveFormsModule,
1830
1520
  NgSelectModule,
1831
- FlatpickrModule.forRoot(),
1832
1521
  NgxPaginationModule
1833
1522
  ],
1834
1523
  exports: [
@@ -1844,9 +1533,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1844
1533
  FormsModule,
1845
1534
  ReactiveFormsModule,
1846
1535
  NgSelectModule,
1847
- CalendarComponent,
1848
- DatePickerComponent,
1849
- DateTimePickerComponent,
1850
1536
  BootstrapTableComponent,
1851
1537
  CodeHighlightComponent,
1852
1538
  BadgeComponent
@@ -1883,5 +1569,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1883
1569
  * Generated bundle index. Do not edit.
1884
1570
  */
1885
1571
 
1886
- export { BadgeComponent, BootstrapTableComponent, ButtonClasses, ButtonComponent, CalendarComponent, CardComponent, CheckboxComponent, CodeHighlightComponent, ComponentsModule, DatePickerComponent, DateTimePickerComponent, FormComponent, InputComponent, LibPortalAngularModule, MultiSelectComponent, RadioComponent, SelectComponent, TextareaComponent };
1572
+ export { BadgeComponent, BootstrapTableComponent, ButtonClasses, ButtonComponent, CardComponent, CheckboxComponent, CodeHighlightComponent, ComponentsModule, FormComponent, InputComponent, LibPortalAngularModule, MultiSelectComponent, RadioComponent, SelectComponent, TextareaComponent };
1887
1573
  //# sourceMappingURL=lib-portal-angular.mjs.map