@seniorsistemas/angular-components 17.13.1 → 17.14.1

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.
Files changed (87) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +998 -779
  2. package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
  4. package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
  5. package/components/checkbox/checkbox.component.d.ts +16 -0
  6. package/components/checkbox/checkbox.module.d.ts +2 -0
  7. package/components/checkbox/index.d.ts +3 -0
  8. package/components/checkbox/models/checkbox-data.d.ts +4 -0
  9. package/components/checkbox/models/checkbox-state.d.ts +6 -0
  10. package/components/checkbox/models/index.d.ts +2 -0
  11. package/components/code-editor/{presentation/code-editor-component.d.ts → code-editor.component.d.ts} +11 -6
  12. package/components/code-editor/index.d.ts +1 -1
  13. package/components/dynamic-form/components/fields/base-field-component.d.ts +6 -5
  14. package/components/dynamic-form/components/fields/checkbox/checkbox-field.component.d.ts +7 -0
  15. package/components/dynamic-form/components/fields/checkbox/checkbox-field.module.d.ts +2 -0
  16. package/components/dynamic-form/components/fields/code-editor/code-editor-field.component.d.ts +6 -0
  17. package/components/dynamic-form/components/fields/code-editor/code-editor-field.module.d.ts +2 -0
  18. package/components/dynamic-form/components/fields/index.d.ts +1 -0
  19. package/components/dynamic-form/configurations/field-type.d.ts +2 -0
  20. package/components/dynamic-form/configurations/fields/checkbox-field.d.ts +9 -0
  21. package/components/dynamic-form/configurations/fields/code-editor-field.d.ts +17 -0
  22. package/components/dynamic-form/configurations/fields/index.d.ts +1 -0
  23. package/components/dynamic-form/configurations/form-field.d.ts +2 -2
  24. package/components/dynamic-form/index.d.ts +5 -4
  25. package/components/index.d.ts +1 -0
  26. package/esm2015/components/checkbox/checkbox.component.js +104 -0
  27. package/esm2015/components/checkbox/checkbox.module.js +16 -0
  28. package/esm2015/components/checkbox/index.js +3 -0
  29. package/esm2015/components/checkbox/models/checkbox-data.js +1 -0
  30. package/esm2015/components/checkbox/models/checkbox-state.js +1 -0
  31. package/esm2015/components/checkbox/models/index.js +1 -0
  32. package/esm2015/components/code-editor/code-editor.component.js +110 -0
  33. package/esm2015/components/code-editor/code-editor.module.js +24 -0
  34. package/esm2015/components/code-editor/index.js +2 -2
  35. package/esm2015/components/dynamic-form/components/fields/base-field-component.js +1 -1
  36. package/esm2015/components/dynamic-form/components/fields/checkbox/checkbox-field.component.js +17 -0
  37. package/esm2015/components/dynamic-form/components/fields/checkbox/checkbox-field.module.js +17 -0
  38. package/esm2015/components/dynamic-form/components/fields/code-editor/code-editor-field.component.js +17 -0
  39. package/esm2015/components/dynamic-form/components/fields/code-editor/code-editor-field.module.js +18 -0
  40. package/esm2015/components/dynamic-form/components/fields/index.js +2 -1
  41. package/esm2015/components/dynamic-form/configurations/field-type.js +3 -1
  42. package/esm2015/components/dynamic-form/configurations/fields/checkbox-field.js +8 -0
  43. package/esm2015/components/dynamic-form/configurations/fields/code-editor-field.js +12 -0
  44. package/esm2015/components/dynamic-form/configurations/fields/index.js +2 -1
  45. package/esm2015/components/dynamic-form/configurations/form-field.js +11 -6
  46. package/esm2015/components/dynamic-form/dynamic-form.js +8 -2
  47. package/esm2015/components/dynamic-form/dynamic-form.module.js +19 -33
  48. package/esm2015/components/dynamic-form/index.js +5 -4
  49. package/esm2015/components/index.js +2 -1
  50. package/esm2015/seniorsistemas-angular-components.js +82 -78
  51. package/esm5/components/checkbox/checkbox.component.js +109 -0
  52. package/esm5/components/checkbox/checkbox.module.js +19 -0
  53. package/esm5/components/checkbox/index.js +3 -0
  54. package/esm5/components/checkbox/models/checkbox-data.js +1 -0
  55. package/esm5/components/checkbox/models/checkbox-state.js +1 -0
  56. package/esm5/components/checkbox/models/index.js +1 -0
  57. package/esm5/components/code-editor/code-editor.component.js +121 -0
  58. package/esm5/components/code-editor/code-editor.module.js +27 -0
  59. package/esm5/components/code-editor/index.js +2 -2
  60. package/esm5/components/dynamic-form/components/fields/base-field-component.js +1 -1
  61. package/esm5/components/dynamic-form/components/fields/checkbox/checkbox-field.component.js +20 -0
  62. package/esm5/components/dynamic-form/components/fields/checkbox/checkbox-field.module.js +20 -0
  63. package/esm5/components/dynamic-form/components/fields/code-editor/code-editor-field.component.js +20 -0
  64. package/esm5/components/dynamic-form/components/fields/code-editor/code-editor-field.module.js +21 -0
  65. package/esm5/components/dynamic-form/components/fields/index.js +2 -1
  66. package/esm5/components/dynamic-form/configurations/field-type.js +3 -1
  67. package/esm5/components/dynamic-form/configurations/fields/checkbox-field.js +13 -0
  68. package/esm5/components/dynamic-form/configurations/fields/code-editor-field.js +17 -0
  69. package/esm5/components/dynamic-form/configurations/fields/index.js +2 -1
  70. package/esm5/components/dynamic-form/configurations/form-field.js +11 -6
  71. package/esm5/components/dynamic-form/dynamic-form.js +8 -2
  72. package/esm5/components/dynamic-form/dynamic-form.module.js +19 -33
  73. package/esm5/components/dynamic-form/index.js +5 -4
  74. package/esm5/components/index.js +2 -1
  75. package/esm5/seniorsistemas-angular-components.js +82 -78
  76. package/fesm2015/seniorsistemas-angular-components.js +751 -566
  77. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  78. package/fesm5/seniorsistemas-angular-components.js +914 -702
  79. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  80. package/package.json +1 -1
  81. package/seniorsistemas-angular-components.d.ts +81 -77
  82. package/seniorsistemas-angular-components.metadata.json +1 -1
  83. package/esm2015/components/code-editor/presentation/code-editor-component.js +0 -91
  84. package/esm2015/components/code-editor/presentation/code-editor-module.js +0 -27
  85. package/esm5/components/code-editor/presentation/code-editor-component.js +0 -101
  86. package/esm5/components/code-editor/presentation/code-editor-module.js +0 -30
  87. /package/components/code-editor/{presentation/code-editor-module.d.ts → code-editor.module.d.ts} +0 -0
@@ -31,10 +31,10 @@ import { Hotkey, HotkeysService, HotkeyModule } from 'angular2-hotkeys';
31
31
  import BigNumber, { BigNumber as BigNumber$1 } from 'bignumber.js';
32
32
  import { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';
33
33
  import { Dialog, DialogModule } from 'primeng/dialog';
34
- import { Table, RowToggler, TableService, TableModule as TableModule$1 } from 'primeng/table';
34
+ import { Table, TableService, RowToggler, TableModule as TableModule$1 } from 'primeng/table';
35
35
  import { CurrencyMaskDirective as CurrencyMaskDirective$1 } from 'ng2-currency-mask';
36
36
  import { ButtonModule as ButtonModule$1 } from 'primeng/button';
37
- import { CheckboxModule } from 'primeng/checkbox';
37
+ import { CheckboxModule as CheckboxModule$1 } from 'primeng/checkbox';
38
38
  import { ChipsModule } from 'primeng/chips';
39
39
  import { DropdownModule } from 'primeng/dropdown';
40
40
  import { FieldsetModule } from 'primeng/fieldset';
@@ -50,9 +50,9 @@ import { MessageService, ConfirmationService } from 'primeng/api';
50
50
  import { ProgressBarModule as ProgressBarModule$1 } from 'primeng/progressbar';
51
51
  import { DomSanitizer } from '@angular/platform-browser';
52
52
  import { Clipboard } from '@angular/cdk/clipboard';
53
+ import { EditorModule } from 'primeng/editor';
53
54
  import { ConfirmDialogModule } from 'primeng/confirmdialog';
54
55
  import Cropper from 'cropperjs';
55
- import { EditorModule } from 'primeng/editor';
56
56
  import marked from 'marked';
57
57
  import { moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
58
58
  import * as elementResizeDetectorMaker_ from 'element-resize-detector';
@@ -3064,6 +3064,124 @@ var CardModule = /** @class */ (function () {
3064
3064
  return CardModule;
3065
3065
  }());
3066
3066
 
3067
+ var CheckboxComponent = /** @class */ (function () {
3068
+ function CheckboxComponent() {
3069
+ this.state = {
3070
+ checked: false,
3071
+ indeterminate: false,
3072
+ children: {},
3073
+ };
3074
+ this._onChange = function () { };
3075
+ this._onTouched = function () { };
3076
+ }
3077
+ CheckboxComponent_1 = CheckboxComponent;
3078
+ CheckboxComponent.prototype.writeValue = function (value) {
3079
+ if (value) {
3080
+ this.state = value;
3081
+ }
3082
+ else {
3083
+ this.state = {
3084
+ checked: false,
3085
+ indeterminate: false,
3086
+ disabled: false,
3087
+ children: this._initializeChildren(this.data),
3088
+ };
3089
+ }
3090
+ };
3091
+ CheckboxComponent.prototype.registerOnChange = function (onChange) {
3092
+ this._onChange = onChange;
3093
+ };
3094
+ CheckboxComponent.prototype.registerOnTouched = function (onTouched) {
3095
+ this._onTouched = onTouched;
3096
+ };
3097
+ CheckboxComponent.prototype._initializeChildren = function (item) {
3098
+ var _this = this;
3099
+ var childrenState = {};
3100
+ if (item.children) {
3101
+ item.children.forEach(function (child) {
3102
+ childrenState[child.label] = {
3103
+ checked: false,
3104
+ indeterminate: false,
3105
+ children: _this._initializeChildren(child),
3106
+ };
3107
+ });
3108
+ }
3109
+ return childrenState;
3110
+ };
3111
+ CheckboxComponent.prototype.updateParent = function () {
3112
+ var _this = this;
3113
+ if (this.data.children && this.data.children.length > 0) {
3114
+ var allChecked = this.data.children.every(function (child) { var _a; return (_a = _this.state.children[child.label]) === null || _a === void 0 ? void 0 : _a.checked; });
3115
+ var someChecked = this.data.children.some(function (child) { var _a, _b; return ((_a = _this.state.children[child.label]) === null || _a === void 0 ? void 0 : _a.checked) || ((_b = _this.state.children[child.label]) === null || _b === void 0 ? void 0 : _b.indeterminate); });
3116
+ this.state.checked = allChecked;
3117
+ this.state.indeterminate = !allChecked && someChecked;
3118
+ }
3119
+ this._onChange(this.state);
3120
+ this._onTouched();
3121
+ };
3122
+ CheckboxComponent.prototype.onCheckboxChange = function () {
3123
+ if (this.state.disabled)
3124
+ return;
3125
+ this.state.checked = !this.state.checked;
3126
+ this.state.indeterminate = false;
3127
+ this._toggleChildrenCheck(this.data, this.state, this.state.checked);
3128
+ this._onChange(this.state);
3129
+ this._onTouched();
3130
+ };
3131
+ CheckboxComponent.prototype._toggleChildrenCheck = function (item, state, checked) {
3132
+ var _this = this;
3133
+ var _a;
3134
+ if ((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) {
3135
+ item.children.forEach(function (child) {
3136
+ if (!state.children[child.label]) {
3137
+ state.children[child.label] = {
3138
+ checked: false,
3139
+ indeterminate: false,
3140
+ children: _this._initializeChildren(child),
3141
+ };
3142
+ }
3143
+ state.children[child.label].checked = checked;
3144
+ state.children[child.label].indeterminate = false;
3145
+ if (child.children) {
3146
+ _this._toggleChildrenCheck(child, state.children[child.label], checked);
3147
+ }
3148
+ });
3149
+ }
3150
+ };
3151
+ var CheckboxComponent_1;
3152
+ __decorate([
3153
+ Input()
3154
+ ], CheckboxComponent.prototype, "data", void 0);
3155
+ CheckboxComponent = CheckboxComponent_1 = __decorate([
3156
+ Component({
3157
+ selector: "s-checkbox",
3158
+ template: "<div class=\"checkbox\">\n <label>\n <div\n class=\"checkbox-wrapper\"\n [ngClass]=\"{ 'checkbox-wrapper--disabled': state.disabled }\">\n <input\n type=\"checkbox\"\n class=\"checkbox-input\"\n [disabled]=\"state.disabled\"\n [ngClass]=\"{\n 'checkbox-input--checked': state.checked,\n 'checkbox-input--indeterminate': state.indeterminate\n }\"\n (change)=\"onCheckboxChange()\"\n [attr.aria-checked]=\"state.indeterminate ? 'mixed' : state.checked\"\n [attr.aria-disabled]=\"state.disabled\"\n role=\"checkbox\" />\n {{ data.label }}\n </div>\n </label>\n <div *ngIf=\"data.children && data.children.length\" class=\"checkbox-children\">\n <s-checkbox\n *ngFor=\"let child of data.children\"\n [data]=\"child\"\n [ngModel]=\"state.children[child.label]\"\n (ngModelChange)=\"updateParent()\">\n </s-checkbox>\n </div>\n</div>\n",
3159
+ providers: [
3160
+ {
3161
+ provide: NG_VALUE_ACCESSOR,
3162
+ useExisting: forwardRef(function () { return CheckboxComponent_1; }),
3163
+ multi: true,
3164
+ },
3165
+ ],
3166
+ styles: [".checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:10px;margin-bottom:10px}.checkbox .checkbox-wrapper{-ms-flex-align:center;align-items:center;color:#212533;display:-ms-flexbox;display:flex;font-family:\"Open Sans\" sans-serif;font-size:14px;gap:12px}.checkbox .checkbox-wrapper .checkbox-input{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c1c1cc;border-radius:4px;cursor:pointer;-ms-flex-negative:0;flex-shrink:0;height:20px;width:20px;position:relative}.checkbox .checkbox-wrapper .checkbox-input--checked{background-color:#428bca;border-color:#428bca}.checkbox .checkbox-wrapper .checkbox-input--checked::after{border:solid #fff;border-width:0 2px 2px 0;content:\"\";height:12px;left:6px;position:absolute;top:2px;transform:rotate(45deg);width:6px}.checkbox .checkbox-wrapper .checkbox-input--indeterminate{background-color:#428bca;border-color:#428bca}.checkbox .checkbox-wrapper .checkbox-input--indeterminate::after{background-color:#fff;content:\"\";height:2px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:10px}.checkbox .checkbox-wrapper:not(.checkbox-wrapper--disabled) .checkbox-input:not(.checkbox-input--checked):hover{background-color:#e5eaea;border-color:#ccc}.checkbox .checkbox-wrapper--disabled{opacity:.5;cursor:auto}.checkbox .checkbox-children{margin-left:20px}"]
3167
+ })
3168
+ ], CheckboxComponent);
3169
+ return CheckboxComponent;
3170
+ }());
3171
+
3172
+ var CheckboxModule = /** @class */ (function () {
3173
+ function CheckboxModule() {
3174
+ }
3175
+ CheckboxModule = __decorate([
3176
+ NgModule({
3177
+ imports: [CommonModule, FormsModule],
3178
+ declarations: [CheckboxComponent],
3179
+ exports: [CheckboxComponent],
3180
+ })
3181
+ ], CheckboxModule);
3182
+ return CheckboxModule;
3183
+ }());
3184
+
3067
3185
  var Languages;
3068
3186
  (function (Languages) {
3069
3187
  Languages["TaxCalculation"] = "TaxCalculation";
@@ -3182,12 +3300,15 @@ var CoreFacade = /** @class */ (function () {
3182
3300
  var CodeEditorComponent = /** @class */ (function () {
3183
3301
  function CodeEditorComponent(coreFacade) {
3184
3302
  this.coreFacade = coreFacade;
3185
- this._ngUnsubscribe = new Subject();
3186
3303
  this.codeChange = new EventEmitter();
3187
3304
  this.isCodeValidChange = new EventEmitter();
3188
3305
  this.onCodeChange = new EventEmitter();
3189
3306
  this.onComponentFinishLoad = new EventEmitter();
3307
+ this._ngUnsubscribe = new Subject();
3308
+ this._onChange = function () { };
3309
+ this._onTouched = function () { };
3190
3310
  }
3311
+ CodeEditorComponent_1 = CodeEditorComponent;
3191
3312
  Object.defineProperty(CodeEditorComponent.prototype, "editorOptions", {
3192
3313
  set: function (options) {
3193
3314
  this.coreFacade.changeEditorOptions(options);
@@ -3202,6 +3323,15 @@ var CodeEditorComponent = /** @class */ (function () {
3202
3323
  enumerable: true,
3203
3324
  configurable: true
3204
3325
  });
3326
+ CodeEditorComponent.prototype.writeValue = function (value) {
3327
+ this.code = value;
3328
+ };
3329
+ CodeEditorComponent.prototype.registerOnChange = function (onChange) {
3330
+ this._onChange = onChange;
3331
+ };
3332
+ CodeEditorComponent.prototype.registerOnTouched = function (onTouched) {
3333
+ this._onTouched = onTouched;
3334
+ };
3205
3335
  CodeEditorComponent.prototype.ngOnInit = function () {
3206
3336
  this.coreFacade.initCore();
3207
3337
  this.setupCoreListeners();
@@ -3229,6 +3359,8 @@ var CodeEditorComponent = /** @class */ (function () {
3229
3359
  .subscribe(function (code) {
3230
3360
  _this.codeChange.emit(code);
3231
3361
  _this.onCodeChange.emit(code);
3362
+ _this._onTouched();
3363
+ _this._onChange(code);
3232
3364
  });
3233
3365
  this.coreFacade
3234
3366
  .getOnCodeValidityChangeObservable()
@@ -3237,12 +3369,10 @@ var CodeEditorComponent = /** @class */ (function () {
3237
3369
  _this.isCodeValidChange.emit(validity);
3238
3370
  });
3239
3371
  };
3372
+ var CodeEditorComponent_1;
3240
3373
  CodeEditorComponent.ctorParameters = function () { return [
3241
3374
  { type: CoreFacade }
3242
3375
  ]; };
3243
- __decorate([
3244
- ViewChild("coreWrapper")
3245
- ], CodeEditorComponent.prototype, "coreWrapperElement", void 0);
3246
3376
  __decorate([
3247
3377
  Input()
3248
3378
  ], CodeEditorComponent.prototype, "editorOptions", null);
@@ -3252,9 +3382,6 @@ var CodeEditorComponent = /** @class */ (function () {
3252
3382
  __decorate([
3253
3383
  Output()
3254
3384
  ], CodeEditorComponent.prototype, "codeChange", void 0);
3255
- __decorate([
3256
- Input()
3257
- ], CodeEditorComponent.prototype, "isCodeValid", void 0);
3258
3385
  __decorate([
3259
3386
  Output()
3260
3387
  ], CodeEditorComponent.prototype, "isCodeValidChange", void 0);
@@ -3264,10 +3391,20 @@ var CodeEditorComponent = /** @class */ (function () {
3264
3391
  __decorate([
3265
3392
  Output()
3266
3393
  ], CodeEditorComponent.prototype, "onComponentFinishLoad", void 0);
3267
- CodeEditorComponent = __decorate([
3394
+ __decorate([
3395
+ ViewChild("coreWrapper")
3396
+ ], CodeEditorComponent.prototype, "coreWrapperElement", void 0);
3397
+ CodeEditorComponent = CodeEditorComponent_1 = __decorate([
3268
3398
  Component({
3269
3399
  selector: "s-code-editor",
3270
3400
  template: "<div #coreWrapper class=\"core-wrapper\"></div>",
3401
+ providers: [
3402
+ {
3403
+ provide: NG_VALUE_ACCESSOR,
3404
+ useExisting: forwardRef(function () { return CodeEditorComponent_1; }),
3405
+ multi: true,
3406
+ },
3407
+ ],
3271
3408
  styles: [".core-wrapper{height:100%}"]
3272
3409
  })
3273
3410
  ], CodeEditorComponent);
@@ -4558,18 +4695,15 @@ var CodeEditorModule = /** @class */ (function () {
4558
4695
  }
4559
4696
  CodeEditorModule = __decorate([
4560
4697
  NgModule({
4561
- imports: [
4562
- CommonModule,
4563
- CustomTranslationsModule,
4564
- ],
4698
+ imports: [CommonModule, CustomTranslationsModule],
4565
4699
  declarations: [CodeEditorComponent],
4566
4700
  exports: [CodeEditorComponent],
4567
4701
  providers: [
4568
4702
  {
4569
4703
  provide: CoreFacade,
4570
- useClass: CodeMirror6Core
4571
- }
4572
- ]
4704
+ useClass: CodeMirror6Core,
4705
+ },
4706
+ ],
4573
4707
  })
4574
4708
  ], CodeEditorModule);
4575
4709
  return CodeEditorModule;
@@ -5285,13 +5419,27 @@ var CountryPhonePickerModule = /** @class */ (function () {
5285
5419
  return CountryPhonePickerModule;
5286
5420
  }());
5287
5421
 
5422
+ var BaseFieldComponent = /** @class */ (function () {
5423
+ function BaseFieldComponent() {
5424
+ }
5425
+ BaseFieldComponent.prototype.isFunction = function (value) {
5426
+ return value instanceof Function;
5427
+ };
5428
+ BaseFieldComponent.prototype.trigger = function (callback) {
5429
+ return callback();
5430
+ };
5431
+ return BaseFieldComponent;
5432
+ }());
5433
+
5288
5434
  var FieldType;
5289
5435
  (function (FieldType) {
5290
5436
  FieldType["Autocomplete"] = "Autocomplete";
5291
5437
  FieldType["Binary"] = "Binary";
5292
5438
  FieldType["Blob"] = "Blob";
5293
5439
  FieldType["Boolean"] = "Boolean";
5440
+ FieldType["Checkbox"] = "Checkbox";
5294
5441
  FieldType["Chips"] = "Chips";
5442
+ FieldType["CodeEditor"] = "CodeEditor";
5295
5443
  FieldType["CountryPhonePicker"] = "CountryPhonePicker";
5296
5444
  FieldType["Custom"] = "Custom";
5297
5445
  FieldType["Date"] = "Date";
@@ -5492,6 +5640,16 @@ var CalendarField = /** @class */ (function (_super) {
5492
5640
  return CalendarField;
5493
5641
  }(Field));
5494
5642
 
5643
+ var CheckboxField = /** @class */ (function (_super) {
5644
+ __extends(CheckboxField, _super);
5645
+ function CheckboxField(config) {
5646
+ var _this = _super.call(this, config) || this;
5647
+ _this.data = config.data;
5648
+ return _this;
5649
+ }
5650
+ return CheckboxField;
5651
+ }(Field));
5652
+
5495
5653
  var ChipsField = /** @class */ (function (_super) {
5496
5654
  __extends(ChipsField, _super);
5497
5655
  function ChipsField(config) {
@@ -5511,6 +5669,19 @@ var ChipsField = /** @class */ (function (_super) {
5511
5669
  return ChipsField;
5512
5670
  }(Field));
5513
5671
 
5672
+ var CountryPhonePickerField = /** @class */ (function (_super) {
5673
+ __extends(CountryPhonePickerField, _super);
5674
+ function CountryPhonePickerField(config) {
5675
+ var _this = _super.call(this, config) || this;
5676
+ _this.countries = config.countries;
5677
+ _this.ordination = config.ordination;
5678
+ _this.onSelected = config.onSelected;
5679
+ _this.onFocusLost = config.onFocusLost;
5680
+ return _this;
5681
+ }
5682
+ return CountryPhonePickerField;
5683
+ }(Field));
5684
+
5514
5685
  /**
5515
5686
  * @deprecated Should use 'AlignmentOptions' from @seniorsistemas/ng2-currency-mask instead
5516
5687
  */
@@ -5766,6 +5937,28 @@ var LookupField = /** @class */ (function (_super) {
5766
5937
  return LookupField;
5767
5938
  }(Field));
5768
5939
 
5940
+ var PasswordField = /** @class */ (function (_super) {
5941
+ __extends(PasswordField, _super);
5942
+ function PasswordField(config) {
5943
+ var _this = _super.call(this, config) || this;
5944
+ _this.inputType = config.inputType;
5945
+ _this.keyFilter = config.keyFilter;
5946
+ _this.leftAddon = config.leftAddon;
5947
+ _this.rightAddon = config.rightAddon;
5948
+ _this.maxLength = config.maxLength || 9999999;
5949
+ _this.passwordStrength = config.passwordStrength;
5950
+ _this.passwordStrengthOptions = config.passwordStrengthOptions;
5951
+ _this.showToggle = config.showToggle;
5952
+ _this.style = config.style;
5953
+ _this.onBlur = config.onBlur;
5954
+ _this.onFocus = config.onFocus;
5955
+ _this.onComplete = config.onComplete;
5956
+ _this.onInput = config.onInput;
5957
+ return _this;
5958
+ }
5959
+ return PasswordField;
5960
+ }(Field));
5961
+
5769
5962
  var RationButtonOption = /** @class */ (function () {
5770
5963
  function RationButtonOption(config) {
5771
5964
  this.label = config.label;
@@ -5815,6 +6008,29 @@ var SelectOption = /** @class */ (function () {
5815
6008
  return SelectOption;
5816
6009
  }());
5817
6010
 
6011
+ var SliderField = /** @class */ (function (_super) {
6012
+ __extends(SliderField, _super);
6013
+ function SliderField(config) {
6014
+ var _a, _b, _c, _d, _e, _f, _g, _h;
6015
+ var _this = _super.call(this, config) || this;
6016
+ _this.maxDefault = 100;
6017
+ _this.onChange = config.onChange;
6018
+ _this.onSlideEnd = config.onSlideEnd;
6019
+ _this.range = (_a = config.range) !== null && _a !== void 0 ? _a : false;
6020
+ _this.min = (_b = config.min) !== null && _b !== void 0 ? _b : 0;
6021
+ _this.max = (_c = config.max) !== null && _c !== void 0 ? _c : _this.maxDefault;
6022
+ _this.orientation = (_d = config.orientation) !== null && _d !== void 0 ? _d : "horizontal";
6023
+ _this.step = (_e = config.step) !== null && _e !== void 0 ? _e : 1;
6024
+ _this.animate = (_f = config.animate) !== null && _f !== void 0 ? _f : false;
6025
+ _this.disabled = (_g = config.disabled) !== null && _g !== void 0 ? _g : false;
6026
+ _this.prefix = config.prefix;
6027
+ _this.suffix = config.suffix;
6028
+ _this.rangeSeparator = (_h = config.rangeSeparator) !== null && _h !== void 0 ? _h : ' - ';
6029
+ return _this;
6030
+ }
6031
+ return SliderField;
6032
+ }(Field));
6033
+
5818
6034
  var TextAreaField = /** @class */ (function (_super) {
5819
6035
  __extends(TextAreaField, _super);
5820
6036
  function TextAreaField(config) {
@@ -5866,62 +6082,31 @@ var TextField = /** @class */ (function (_super) {
5866
6082
  return TextField;
5867
6083
  }(Field));
5868
6084
 
5869
- var PasswordField = /** @class */ (function (_super) {
5870
- __extends(PasswordField, _super);
5871
- function PasswordField(config) {
5872
- var _this = _super.call(this, config) || this;
5873
- _this.inputType = config.inputType;
5874
- _this.keyFilter = config.keyFilter;
5875
- _this.leftAddon = config.leftAddon;
5876
- _this.rightAddon = config.rightAddon;
5877
- _this.maxLength = config.maxLength || 9999999;
5878
- _this.passwordStrength = config.passwordStrength;
5879
- _this.passwordStrengthOptions = config.passwordStrengthOptions;
5880
- _this.showToggle = config.showToggle;
5881
- _this.style = config.style;
5882
- _this.onBlur = config.onBlur;
5883
- _this.onFocus = config.onFocus;
5884
- _this.onComplete = config.onComplete;
5885
- _this.onInput = config.onInput;
5886
- return _this;
5887
- }
5888
- return PasswordField;
5889
- }(Field));
5890
-
5891
- var SliderField = /** @class */ (function (_super) {
5892
- __extends(SliderField, _super);
5893
- function SliderField(config) {
5894
- var _a, _b, _c, _d, _e, _f, _g, _h;
6085
+ var CodeEditorField = /** @class */ (function (_super) {
6086
+ __extends(CodeEditorField, _super);
6087
+ function CodeEditorField(config) {
5895
6088
  var _this = _super.call(this, config) || this;
5896
- _this.maxDefault = 100;
5897
- _this.onChange = config.onChange;
5898
- _this.onSlideEnd = config.onSlideEnd;
5899
- _this.range = (_a = config.range) !== null && _a !== void 0 ? _a : false;
5900
- _this.min = (_b = config.min) !== null && _b !== void 0 ? _b : 0;
5901
- _this.max = (_c = config.max) !== null && _c !== void 0 ? _c : _this.maxDefault;
5902
- _this.orientation = (_d = config.orientation) !== null && _d !== void 0 ? _d : "horizontal";
5903
- _this.step = (_e = config.step) !== null && _e !== void 0 ? _e : 1;
5904
- _this.animate = (_f = config.animate) !== null && _f !== void 0 ? _f : false;
5905
- _this.disabled = (_g = config.disabled) !== null && _g !== void 0 ? _g : false;
5906
- _this.prefix = config.prefix;
5907
- _this.suffix = config.suffix;
5908
- _this.rangeSeparator = (_h = config.rangeSeparator) !== null && _h !== void 0 ? _h : ' - ';
6089
+ _this.editorOptions = config.editorOptions;
6090
+ _this.code = config.code;
6091
+ _this.isCodeValid = config.isCodeValid;
6092
+ _this.onComponentFinishLoad = config.onComponentFinishLoad;
6093
+ _this.onCodeChange = config.onCodeChange;
5909
6094
  return _this;
5910
6095
  }
5911
- return SliderField;
6096
+ return CodeEditorField;
5912
6097
  }(Field));
5913
6098
 
5914
- var CountryPhonePickerField = /** @class */ (function (_super) {
5915
- __extends(CountryPhonePickerField, _super);
5916
- function CountryPhonePickerField(config) {
6099
+ var EditorField = /** @class */ (function (_super) {
6100
+ __extends(EditorField, _super);
6101
+ function EditorField(config) {
5917
6102
  var _this = _super.call(this, config) || this;
5918
- _this.countries = config.countries;
5919
- _this.ordination = config.ordination;
5920
- _this.onSelected = config.onSelected;
5921
- _this.onFocusLost = config.onFocusLost;
6103
+ _this.formats = config.formats;
6104
+ _this.readonly = config.readonly;
6105
+ _this.modules = config.modules;
6106
+ _this.style = config.style;
5922
6107
  return _this;
5923
6108
  }
5924
- return CountryPhonePickerField;
6109
+ return EditorField;
5925
6110
  }(Field));
5926
6111
 
5927
6112
  var ProfilePictureField = /** @class */ (function (_super) {
@@ -5947,19 +6132,6 @@ var ProfilePictureField = /** @class */ (function (_super) {
5947
6132
  return ProfilePictureField;
5948
6133
  }(Field));
5949
6134
 
5950
- var EditorField = /** @class */ (function (_super) {
5951
- __extends(EditorField, _super);
5952
- function EditorField(config) {
5953
- var _this = _super.call(this, config) || this;
5954
- _this.formats = config.formats;
5955
- _this.readonly = config.readonly;
5956
- _this.modules = config.modules;
5957
- _this.style = config.style;
5958
- return _this;
5959
- }
5960
- return EditorField;
5961
- }(Field));
5962
-
5963
6135
  var FormField = /** @class */ (function () {
5964
6136
  function FormField(config) {
5965
6137
  switch (config.type) {
@@ -5995,8 +6167,12 @@ var FormField = /** @class */ (function () {
5995
6167
  return new LookupField(config);
5996
6168
  case FieldType.Radio:
5997
6169
  return new RadioButtonField(config);
6170
+ case FieldType.Checkbox:
6171
+ return new CheckboxField(config);
5998
6172
  case FieldType.Chips:
5999
6173
  return new ChipsField(config);
6174
+ case FieldType.CodeEditor:
6175
+ return new CodeEditorField(config);
6000
6176
  case FieldType.CountryPhonePicker:
6001
6177
  return new CountryPhonePickerField(config);
6002
6178
  case FieldType.Blob:
@@ -6595,18 +6771,6 @@ var LookupComponent = /** @class */ (function () {
6595
6771
  return LookupComponent;
6596
6772
  }());
6597
6773
 
6598
- var BaseFieldComponent = /** @class */ (function () {
6599
- function BaseFieldComponent() {
6600
- }
6601
- BaseFieldComponent.prototype.isFunction = function (value) {
6602
- return value instanceof Function;
6603
- };
6604
- BaseFieldComponent.prototype.trigger = function (callback) {
6605
- return callback();
6606
- };
6607
- return BaseFieldComponent;
6608
- }());
6609
-
6610
6774
  var DynamicType;
6611
6775
  (function (DynamicType) {
6612
6776
  DynamicType["Autocomplete"] = "Autocomplete";
@@ -6755,72 +6919,21 @@ var DynamicFormComponent = /** @class */ (function () {
6755
6919
  return DynamicFormComponent;
6756
6920
  }());
6757
6921
 
6758
- var IAssistService = /** @class */ (function () {
6759
- function IAssistService(http, _messageService) {
6760
- this.http = http;
6761
- this._messageService = _messageService;
6922
+ var LongPressDirective = /** @class */ (function () {
6923
+ function LongPressDirective() {
6924
+ this.sLongPressDelay = 500;
6925
+ this.sLongPress = new EventEmitter();
6926
+ this.mouseUp = new Subject();
6927
+ this.mouseDown = new Subject();
6928
+ this.ngUnsubscribe = new Subject();
6762
6929
  }
6763
- IAssistService.prototype.askIA = function (context, data) {
6764
- var _this = this;
6765
- var prompt = data.prompt ? this._replacePlaceholder(context, data) : this._createPrompt(context, data);
6766
- return this.http
6767
- .post("platform/iassist/api/latest/completions", {
6768
- prompt: prompt,
6769
- provider: "OPEN_AI",
6770
- parameters: {
6771
- model: "gpt-3.5-turbo",
6772
- max_tokens: 700,
6773
- temperature: 1,
6774
- },
6775
- })
6776
- .pipe(catchError(function (err) {
6777
- _this._messageService.add({
6778
- severity: "error",
6779
- summary: err.status ? String(err.status) : "Error",
6780
- detail: (err.error && err.error.message) || err.statusText || err.message || "Error",
6781
- });
6782
- return throwError(err);
6783
- }));
6784
- };
6785
- IAssistService.prototype._replacePlaceholder = function (context, data) {
6786
- var values = __assign(__assign({}, data), { context: context });
6787
- delete values.prompt;
6788
- var result = data.prompt;
6789
- for (var key in __assign(__assign({}, values), { context: context })) {
6790
- var placeholder = new RegExp("{{\\s*" + key + "\\s*}}", "g");
6791
- result = result.replace(placeholder, values[key]);
6792
- }
6793
- console.log("prompt", result);
6794
- return result;
6795
- };
6796
- IAssistService.prototype._createPrompt = function (context, data) {
6797
- return "Crie um texto gen\u00E9rico para preencher o campo de textarea.\n " + (data.label ? "O campo tem o label " + data.label + "." : "") + "\n " + (data.id ? "O campo tem o id " + data.id + "." : "") + "\n " + (data.placeholder ? "Considere as instru\u00E7\u00F5es/sugest\u00F5es do placeholder: " + data.placeholder + "." : "") + "\n Baseie-se no contexto informado pelo usu\u00E1rio: '" + context + "'.\n O texto deve ser formal e conter informa\u00E7\u00F5es pertinentes a um campo como este, como se um usu\u00E1rio real tivesse preenchido com as informa\u00E7\u00F5es necess\u00E1rias. \n O texto deve ser neutro com rela\u00E7\u00E3o a generos, ra\u00E7as, religi\u00F5es, etc.\n O texto deve ser impessoal e n\u00E3o deve conter informa\u00E7\u00F5es pessoais do usu\u00E1rio.\n N\u00E3o direcione o texto a ningu\u00E9m, n\u00E3o use express\u00F5es como: caro, atenciosamente. gostaria, agrade\u00E7o. O texto deve ser gen\u00E9rico.\n \n Exemplos de texto:\n Um campo de descri\u00E7\u00E3o de usu\u00E1rio: \"Usu\u00E1rio com 20 anos, estudante de engenharia, gosta de jogar futebol e assistir filmes.\"\n Outro exemplo de descri\u00E7\u00E3o de usu\u00E1rio: \"Usu\u00E1rio administrador, com acesso total ao sistema, respons\u00E1vel por gerenciar os usu\u00E1rios e os produtos.\"\n Um campo de descri\u00E7\u00E3o de um produto: \"O produto \u00E9 um celular, com tela de 6 polegadas, 128GB de armazenamento, 4GB de mem\u00F3ria RAM, c\u00E2mera de 12MP e bateria de 4000mAh.\"\n Outro exemplo de descri\u00E7\u00E3o de produto: \"O produto \u00E9 uma geladeira, com capacidade de 500 litros, 2 portas, cor branca, com freezer e gaveta de legumes.\"\n Outro exemplo de descri\u00E7\u00E3o de produto: \"O produto \u00E9 uma camiseta, tamanho M, cor azul, 100% algod\u00E3o, com estampa de um gato.\"\n \n Em caso de contexto incompleto crie um texto gen\u00E9rico, como se fosse um exemplo de preenchimento do campo.\n O texto \u00E9 para um campo de textarea, ent\u00E3o escreva um texto sucinto.\n Exiba apenas o texto do output";
6798
- };
6799
- IAssistService.ctorParameters = function () { return [
6800
- { type: HttpClient },
6801
- { type: MessageService }
6802
- ]; };
6803
- IAssistService = __decorate([
6804
- Injectable()
6805
- ], IAssistService);
6806
- return IAssistService;
6807
- }());
6808
-
6809
- var LongPressDirective = /** @class */ (function () {
6810
- function LongPressDirective() {
6811
- this.sLongPressDelay = 500;
6812
- this.sLongPress = new EventEmitter();
6813
- this.mouseUp = new Subject();
6814
- this.mouseDown = new Subject();
6815
- this.ngUnsubscribe = new Subject();
6816
- }
6817
- LongPressDirective.prototype.onMouseUp = function (event) {
6818
- this.mouseUp.next(event);
6819
- };
6820
- LongPressDirective.prototype.onMouseDown = function (event) {
6821
- this.mouseDown.next(event);
6822
- };
6823
- LongPressDirective.prototype.ngOnInit = function () {
6930
+ LongPressDirective.prototype.onMouseUp = function (event) {
6931
+ this.mouseUp.next(event);
6932
+ };
6933
+ LongPressDirective.prototype.onMouseDown = function (event) {
6934
+ this.mouseDown.next(event);
6935
+ };
6936
+ LongPressDirective.prototype.ngOnInit = function () {
6824
6937
  var _this = this;
6825
6938
  this.mouseDown
6826
6939
  .pipe(debounceTime(this.sLongPressDelay), takeUntil(this.mouseUp), repeat(), takeUntil(this.ngUnsubscribe))
@@ -6908,6 +7021,57 @@ var MouseEventsModule = /** @class */ (function () {
6908
7021
  return MouseEventsModule;
6909
7022
  }());
6910
7023
 
7024
+ var IAssistService = /** @class */ (function () {
7025
+ function IAssistService(http, _messageService) {
7026
+ this.http = http;
7027
+ this._messageService = _messageService;
7028
+ }
7029
+ IAssistService.prototype.askIA = function (context, data) {
7030
+ var _this = this;
7031
+ var prompt = data.prompt ? this._replacePlaceholder(context, data) : this._createPrompt(context, data);
7032
+ return this.http
7033
+ .post("platform/iassist/api/latest/completions", {
7034
+ prompt: prompt,
7035
+ provider: "OPEN_AI",
7036
+ parameters: {
7037
+ model: "gpt-3.5-turbo",
7038
+ max_tokens: 700,
7039
+ temperature: 1,
7040
+ },
7041
+ })
7042
+ .pipe(catchError(function (err) {
7043
+ _this._messageService.add({
7044
+ severity: "error",
7045
+ summary: err.status ? String(err.status) : "Error",
7046
+ detail: (err.error && err.error.message) || err.statusText || err.message || "Error",
7047
+ });
7048
+ return throwError(err);
7049
+ }));
7050
+ };
7051
+ IAssistService.prototype._replacePlaceholder = function (context, data) {
7052
+ var values = __assign(__assign({}, data), { context: context });
7053
+ delete values.prompt;
7054
+ var result = data.prompt;
7055
+ for (var key in __assign(__assign({}, values), { context: context })) {
7056
+ var placeholder = new RegExp("{{\\s*" + key + "\\s*}}", "g");
7057
+ result = result.replace(placeholder, values[key]);
7058
+ }
7059
+ console.log("prompt", result);
7060
+ return result;
7061
+ };
7062
+ IAssistService.prototype._createPrompt = function (context, data) {
7063
+ return "Crie um texto gen\u00E9rico para preencher o campo de textarea.\n " + (data.label ? "O campo tem o label " + data.label + "." : "") + "\n " + (data.id ? "O campo tem o id " + data.id + "." : "") + "\n " + (data.placeholder ? "Considere as instru\u00E7\u00F5es/sugest\u00F5es do placeholder: " + data.placeholder + "." : "") + "\n Baseie-se no contexto informado pelo usu\u00E1rio: '" + context + "'.\n O texto deve ser formal e conter informa\u00E7\u00F5es pertinentes a um campo como este, como se um usu\u00E1rio real tivesse preenchido com as informa\u00E7\u00F5es necess\u00E1rias. \n O texto deve ser neutro com rela\u00E7\u00E3o a generos, ra\u00E7as, religi\u00F5es, etc.\n O texto deve ser impessoal e n\u00E3o deve conter informa\u00E7\u00F5es pessoais do usu\u00E1rio.\n N\u00E3o direcione o texto a ningu\u00E9m, n\u00E3o use express\u00F5es como: caro, atenciosamente. gostaria, agrade\u00E7o. O texto deve ser gen\u00E9rico.\n \n Exemplos de texto:\n Um campo de descri\u00E7\u00E3o de usu\u00E1rio: \"Usu\u00E1rio com 20 anos, estudante de engenharia, gosta de jogar futebol e assistir filmes.\"\n Outro exemplo de descri\u00E7\u00E3o de usu\u00E1rio: \"Usu\u00E1rio administrador, com acesso total ao sistema, respons\u00E1vel por gerenciar os usu\u00E1rios e os produtos.\"\n Um campo de descri\u00E7\u00E3o de um produto: \"O produto \u00E9 um celular, com tela de 6 polegadas, 128GB de armazenamento, 4GB de mem\u00F3ria RAM, c\u00E2mera de 12MP e bateria de 4000mAh.\"\n Outro exemplo de descri\u00E7\u00E3o de produto: \"O produto \u00E9 uma geladeira, com capacidade de 500 litros, 2 portas, cor branca, com freezer e gaveta de legumes.\"\n Outro exemplo de descri\u00E7\u00E3o de produto: \"O produto \u00E9 uma camiseta, tamanho M, cor azul, 100% algod\u00E3o, com estampa de um gato.\"\n \n Em caso de contexto incompleto crie um texto gen\u00E9rico, como se fosse um exemplo de preenchimento do campo.\n O texto \u00E9 para um campo de textarea, ent\u00E3o escreva um texto sucinto.\n Exiba apenas o texto do output";
7064
+ };
7065
+ IAssistService.ctorParameters = function () { return [
7066
+ { type: HttpClient },
7067
+ { type: MessageService }
7068
+ ]; };
7069
+ IAssistService = __decorate([
7070
+ Injectable()
7071
+ ], IAssistService);
7072
+ return IAssistService;
7073
+ }());
7074
+
6911
7075
  var EmptyStateComponent = /** @class */ (function () {
6912
7076
  function EmptyStateComponent() {
6913
7077
  this.id = "s-empty-state-" + EmptyStateComponent_1.nextId++;
@@ -8886,104 +9050,268 @@ var PasswordStrengthModule = /** @class */ (function () {
8886
9050
  return PasswordStrengthModule;
8887
9051
  }());
8888
9052
 
8889
- var NavigationDirective = /** @class */ (function () {
8890
- function NavigationDirective() {
9053
+ var TableHeaderCheckboxComponent = /** @class */ (function () {
9054
+ function TableHeaderCheckboxComponent(table, tableService) {
9055
+ var _this = this;
9056
+ this.table = table;
9057
+ this.tableService = tableService;
9058
+ this.id = "s-table-header-checkbox-" + TableHeaderCheckboxComponent_1.nextId++;
9059
+ this.ngUnsubscribe = new Subject();
9060
+ this.table.tableService.valueSource$.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () {
9061
+ _this.checked = _this.updateCheckedState();
9062
+ });
9063
+ this.table.tableService.selectionSource$.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () {
9064
+ _this.checked = _this.updateCheckedState();
9065
+ });
8891
9066
  }
8892
- NavigationDirective.prototype.onKeyDown = function (event) {
8893
- switch (event.key) {
8894
- case "Right": // IE 11
8895
- case "ArrowRight":
8896
- if (this.isRow(event.target)) {
8897
- this.focusFirstColFromCurrentRow(event.target);
8898
- }
8899
- else if (this.isCol(event.target)) {
8900
- this.focusNextSelectableCol(event.target);
8901
- }
8902
- event.preventDefault();
8903
- break;
8904
- case "Left": // IE 11
8905
- case "ArrowLeft":
8906
- if (this.isRow(event.target)) {
8907
- this.focusLastColFromPrevRow(event.target);
8908
- }
8909
- else if (this.isCol(event.target)) {
8910
- this.focusPrevSelectableCol(event.target);
8911
- }
8912
- event.preventDefault();
8913
- break;
8914
- case "Up": // IE 11
8915
- case "ArrowUp":
8916
- if (this.isRow(event.target)) {
8917
- this.setPrevRowFocus(event.target);
8918
- }
8919
- else if (this.isCol(event.target)) {
8920
- this.setAboveColFocus(event.target);
8921
- }
8922
- event.preventDefault();
8923
- break;
8924
- case "Down": // IE 11
8925
- case "ArrowDown":
8926
- if (this.isRow(event.target)) {
8927
- this.setNextRowFocus(event.target);
8928
- }
8929
- else if (this.isCol(event.target)) {
8930
- this.setUnderColFocus(event.target);
8931
- }
8932
- event.preventDefault();
8933
- break;
8934
- }
9067
+ TableHeaderCheckboxComponent_1 = TableHeaderCheckboxComponent;
9068
+ TableHeaderCheckboxComponent.prototype.ngOnInit = function () {
9069
+ this.checked = this.updateCheckedState();
8935
9070
  };
8936
- NavigationDirective.prototype.focusLastColFromPrevRow = function (event) {
8937
- var prevRow = this.findPrevSelectableRow(event);
8938
- if (prevRow) {
8939
- prevRow.lastElementChild.focus();
8940
- }
9071
+ TableHeaderCheckboxComponent.prototype.ngOnDestroy = function () {
9072
+ this.ngUnsubscribe.next();
8941
9073
  };
8942
- NavigationDirective.prototype.focusFirstColFromCurrentRow = function (row) {
8943
- var firstCol = row.firstElementChild;
8944
- if (firstCol) {
8945
- firstCol.focus();
9074
+ TableHeaderCheckboxComponent.prototype.onFocus = function () {
9075
+ this.hasFocus = true;
9076
+ };
9077
+ TableHeaderCheckboxComponent.prototype.onBlur = function () {
9078
+ this.hasFocus = false;
9079
+ };
9080
+ TableHeaderCheckboxComponent.prototype.isDisabled = function () {
9081
+ return this.disabled || !this.table.value || !this.table.value.length;
9082
+ };
9083
+ TableHeaderCheckboxComponent.prototype.onClick = function () {
9084
+ if (!this.disabled) {
9085
+ if (this.table.value && this.table.value.length > 0)
9086
+ this.onToggleCheckbox(!this.checked);
8946
9087
  }
8947
9088
  };
8948
- NavigationDirective.prototype.focusNextSelectableCol = function (col) {
8949
- var nextCol = col.nextElementSibling;
8950
- if (nextCol) {
8951
- nextCol.focus();
9089
+ TableHeaderCheckboxComponent.prototype.updateCheckedState = function () {
9090
+ if (this.table.filteredValue) {
9091
+ var val = this.table.filteredValue;
9092
+ return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllFilteredValuesChecked();
8952
9093
  }
8953
9094
  else {
8954
- var currentRow = col.parentElement;
8955
- return this.setNextRowFocus(currentRow);
9095
+ var val = this.table.value;
9096
+ return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllValuesChecked();
8956
9097
  }
8957
9098
  };
8958
- NavigationDirective.prototype.focusPrevSelectableCol = function (col) {
8959
- var prevCol = col.previousElementSibling;
8960
- if (prevCol) {
8961
- prevCol.focus();
9099
+ TableHeaderCheckboxComponent.prototype.onToggleCheckbox = function (checked) {
9100
+ var _this = this;
9101
+ var _a = this.table, filteredValue = _a.filteredValue, value = _a.value, dataKey = _a.dataKey;
9102
+ var gridData = checked ? (filteredValue ? filteredValue.slice() : value.slice()) : [];
9103
+ if (checked) {
9104
+ var unselecteds = gridData
9105
+ .filter(function (record) { return !_this.table._selection.find(function (selected) { return record[dataKey] === selected[dataKey]; }); })
9106
+ .map(function (record) {
9107
+ if (_this.useAllObject)
9108
+ return record;
9109
+ var newRecord = {};
9110
+ if (_this.rowProps)
9111
+ _this.rowProps.forEach(function (prop) { return (newRecord[prop] = record[prop]); });
9112
+ else
9113
+ newRecord[dataKey] = record[dataKey];
9114
+ return newRecord;
9115
+ });
9116
+ this.table._selection = __spread(this.table._selection, unselecteds);
8962
9117
  }
8963
9118
  else {
8964
- var currentRow = col.parentElement;
8965
- return currentRow.focus();
9119
+ value.forEach(function (data) {
9120
+ _this.table._selection = _this.table._selection.filter(function (record) { return record[dataKey] !== data[dataKey]; });
9121
+ });
8966
9122
  }
9123
+ this.table.updateSelectionKeys();
9124
+ this.table.selectionChange.emit(this.table._selection);
9125
+ this.tableService.onSelectionChange();
9126
+ if (this.table.isStateful())
9127
+ this.table.saveState();
8967
9128
  };
8968
- NavigationDirective.prototype.setAboveColFocus = function (currentCol) {
8969
- var cellIndex = currentCol["cellIndex"];
8970
- var currentRow = currentCol.parentElement;
8971
- var prevRow = this.findPrevSelectableRow(currentRow);
8972
- if (prevRow)
8973
- prevRow.cells[cellIndex].focus();
8974
- };
8975
- NavigationDirective.prototype.setUnderColFocus = function (currentCol) {
8976
- var cellIndex = currentCol["cellIndex"];
8977
- var currentRow = currentCol.parentElement;
8978
- var nextRow = this.findNextSelectableRow(currentRow);
8979
- if (nextRow)
8980
- nextRow.cells[cellIndex].focus();
8981
- };
8982
- NavigationDirective.prototype.setNextRowFocus = function (row) {
8983
- var nextRow = this.findNextSelectableRow(row);
8984
- if (nextRow) {
8985
- nextRow.focus();
8986
- }
9129
+ TableHeaderCheckboxComponent.prototype.isAllFilteredValuesChecked = function () {
9130
+ var e_1, _a;
9131
+ if (!this.table.filteredValue) {
9132
+ return false;
9133
+ }
9134
+ else {
9135
+ try {
9136
+ for (var _b = __values(this.table.filteredValue), _c = _b.next(); !_c.done; _c = _b.next()) {
9137
+ var rowData = _c.value;
9138
+ if (!this.table.isSelected(rowData)) {
9139
+ return false;
9140
+ }
9141
+ }
9142
+ }
9143
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
9144
+ finally {
9145
+ try {
9146
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9147
+ }
9148
+ finally { if (e_1) throw e_1.error; }
9149
+ }
9150
+ return true;
9151
+ }
9152
+ };
9153
+ TableHeaderCheckboxComponent.prototype.isAllValuesChecked = function () {
9154
+ var e_2, _a;
9155
+ if (!this.table.value) {
9156
+ return false;
9157
+ }
9158
+ else {
9159
+ try {
9160
+ for (var _b = __values(this.table.value), _c = _b.next(); !_c.done; _c = _b.next()) {
9161
+ var rowData = _c.value;
9162
+ if (!this.table.isSelected(rowData)) {
9163
+ return false;
9164
+ }
9165
+ }
9166
+ }
9167
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
9168
+ finally {
9169
+ try {
9170
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9171
+ }
9172
+ finally { if (e_2) throw e_2.error; }
9173
+ }
9174
+ return true;
9175
+ }
9176
+ };
9177
+ var TableHeaderCheckboxComponent_1;
9178
+ TableHeaderCheckboxComponent.nextId = 0;
9179
+ TableHeaderCheckboxComponent.ctorParameters = function () { return [
9180
+ { type: Table },
9181
+ { type: TableService }
9182
+ ]; };
9183
+ __decorate([
9184
+ Input()
9185
+ ], TableHeaderCheckboxComponent.prototype, "id", void 0);
9186
+ __decorate([
9187
+ Input()
9188
+ ], TableHeaderCheckboxComponent.prototype, "disabled", void 0);
9189
+ __decorate([
9190
+ Input()
9191
+ ], TableHeaderCheckboxComponent.prototype, "rowProps", void 0);
9192
+ __decorate([
9193
+ Input()
9194
+ ], TableHeaderCheckboxComponent.prototype, "useAllObject", void 0);
9195
+ TableHeaderCheckboxComponent = TableHeaderCheckboxComponent_1 = __decorate([
9196
+ Component({
9197
+ selector: "s-table-header-checkbox",
9198
+ template: "\n <div class=\"ui-chkbox ui-widget\" (click)=\"onClick()\">\n <div class=\"ui-helper-hidden-accessible\">\n <input type=\"checkbox\" [checked]=\"checked\" (focus)=\"onFocus()\" (blur)=\"onBlur()\" [disabled]=\"isDisabled()\">\n </div>\n <div [ngClass]=\"{'ui-chkbox-box ui-widget ui-state-default':true,\n 'ui-state-active':checked, 'ui-state-disabled': isDisabled(), 'ui-state-focus': hasFocus}\">\n <span [id]=\"id\" class=\"ui-chkbox-icon ui-clickable\" [ngClass]=\"{'pi pi-check':checked}\"></span>\n </div>\n </div>\n "
9199
+ })
9200
+ ], TableHeaderCheckboxComponent);
9201
+ return TableHeaderCheckboxComponent;
9202
+ }());
9203
+
9204
+ var TableHeaderCheckboxModule = /** @class */ (function () {
9205
+ function TableHeaderCheckboxModule() {
9206
+ }
9207
+ TableHeaderCheckboxModule = __decorate([
9208
+ NgModule({
9209
+ imports: [CommonModule],
9210
+ exports: [TableHeaderCheckboxComponent],
9211
+ declarations: [TableHeaderCheckboxComponent],
9212
+ })
9213
+ ], TableHeaderCheckboxModule);
9214
+ return TableHeaderCheckboxModule;
9215
+ }());
9216
+
9217
+ var NavigationDirective = /** @class */ (function () {
9218
+ function NavigationDirective() {
9219
+ }
9220
+ NavigationDirective.prototype.onKeyDown = function (event) {
9221
+ switch (event.key) {
9222
+ case "Right": // IE 11
9223
+ case "ArrowRight":
9224
+ if (this.isRow(event.target)) {
9225
+ this.focusFirstColFromCurrentRow(event.target);
9226
+ }
9227
+ else if (this.isCol(event.target)) {
9228
+ this.focusNextSelectableCol(event.target);
9229
+ }
9230
+ event.preventDefault();
9231
+ break;
9232
+ case "Left": // IE 11
9233
+ case "ArrowLeft":
9234
+ if (this.isRow(event.target)) {
9235
+ this.focusLastColFromPrevRow(event.target);
9236
+ }
9237
+ else if (this.isCol(event.target)) {
9238
+ this.focusPrevSelectableCol(event.target);
9239
+ }
9240
+ event.preventDefault();
9241
+ break;
9242
+ case "Up": // IE 11
9243
+ case "ArrowUp":
9244
+ if (this.isRow(event.target)) {
9245
+ this.setPrevRowFocus(event.target);
9246
+ }
9247
+ else if (this.isCol(event.target)) {
9248
+ this.setAboveColFocus(event.target);
9249
+ }
9250
+ event.preventDefault();
9251
+ break;
9252
+ case "Down": // IE 11
9253
+ case "ArrowDown":
9254
+ if (this.isRow(event.target)) {
9255
+ this.setNextRowFocus(event.target);
9256
+ }
9257
+ else if (this.isCol(event.target)) {
9258
+ this.setUnderColFocus(event.target);
9259
+ }
9260
+ event.preventDefault();
9261
+ break;
9262
+ }
9263
+ };
9264
+ NavigationDirective.prototype.focusLastColFromPrevRow = function (event) {
9265
+ var prevRow = this.findPrevSelectableRow(event);
9266
+ if (prevRow) {
9267
+ prevRow.lastElementChild.focus();
9268
+ }
9269
+ };
9270
+ NavigationDirective.prototype.focusFirstColFromCurrentRow = function (row) {
9271
+ var firstCol = row.firstElementChild;
9272
+ if (firstCol) {
9273
+ firstCol.focus();
9274
+ }
9275
+ };
9276
+ NavigationDirective.prototype.focusNextSelectableCol = function (col) {
9277
+ var nextCol = col.nextElementSibling;
9278
+ if (nextCol) {
9279
+ nextCol.focus();
9280
+ }
9281
+ else {
9282
+ var currentRow = col.parentElement;
9283
+ return this.setNextRowFocus(currentRow);
9284
+ }
9285
+ };
9286
+ NavigationDirective.prototype.focusPrevSelectableCol = function (col) {
9287
+ var prevCol = col.previousElementSibling;
9288
+ if (prevCol) {
9289
+ prevCol.focus();
9290
+ }
9291
+ else {
9292
+ var currentRow = col.parentElement;
9293
+ return currentRow.focus();
9294
+ }
9295
+ };
9296
+ NavigationDirective.prototype.setAboveColFocus = function (currentCol) {
9297
+ var cellIndex = currentCol["cellIndex"];
9298
+ var currentRow = currentCol.parentElement;
9299
+ var prevRow = this.findPrevSelectableRow(currentRow);
9300
+ if (prevRow)
9301
+ prevRow.cells[cellIndex].focus();
9302
+ };
9303
+ NavigationDirective.prototype.setUnderColFocus = function (currentCol) {
9304
+ var cellIndex = currentCol["cellIndex"];
9305
+ var currentRow = currentCol.parentElement;
9306
+ var nextRow = this.findNextSelectableRow(currentRow);
9307
+ if (nextRow)
9308
+ nextRow.cells[cellIndex].focus();
9309
+ };
9310
+ NavigationDirective.prototype.setNextRowFocus = function (row) {
9311
+ var nextRow = this.findNextSelectableRow(row);
9312
+ if (nextRow) {
9313
+ nextRow.focus();
9314
+ }
8987
9315
  };
8988
9316
  NavigationDirective.prototype.setPrevRowFocus = function (row) {
8989
9317
  var prevRow = this.findPrevSelectableRow(row);
@@ -9934,205 +10262,41 @@ var TableModule = /** @class */ (function () {
9934
10262
  return TableModule;
9935
10263
  }());
9936
10264
 
9937
- var TableHeaderCheckboxComponent = /** @class */ (function () {
9938
- function TableHeaderCheckboxComponent(table, tableService) {
9939
- var _this = this;
9940
- this.table = table;
9941
- this.tableService = tableService;
9942
- this.id = "s-table-header-checkbox-" + TableHeaderCheckboxComponent_1.nextId++;
9943
- this.ngUnsubscribe = new Subject();
9944
- this.table.tableService.valueSource$.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () {
9945
- _this.checked = _this.updateCheckedState();
9946
- });
9947
- this.table.tableService.selectionSource$.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () {
9948
- _this.checked = _this.updateCheckedState();
9949
- });
10265
+ var AutocompleteFieldComponent = /** @class */ (function () {
10266
+ function AutocompleteFieldComponent(changeDetectorRef, elementRef) {
10267
+ this.changeDetectorRef = changeDetectorRef;
10268
+ this.elementRef = elementRef;
9950
10269
  }
9951
- TableHeaderCheckboxComponent_1 = TableHeaderCheckboxComponent;
9952
- TableHeaderCheckboxComponent.prototype.ngOnInit = function () {
9953
- this.checked = this.updateCheckedState();
9954
- };
9955
- TableHeaderCheckboxComponent.prototype.ngOnDestroy = function () {
9956
- this.ngUnsubscribe.next();
9957
- };
9958
- TableHeaderCheckboxComponent.prototype.onFocus = function () {
9959
- this.hasFocus = true;
9960
- };
9961
- TableHeaderCheckboxComponent.prototype.onBlur = function () {
9962
- this.hasFocus = false;
10270
+ AutocompleteFieldComponent.prototype.ngAfterViewInit = function () {
10271
+ this.setInputRef();
10272
+ this.changeDetectorRef.detectChanges();
9963
10273
  };
9964
- TableHeaderCheckboxComponent.prototype.isDisabled = function () {
9965
- return this.disabled || !this.table.value || !this.table.value.length;
10274
+ AutocompleteFieldComponent.prototype.setInputRef = function () {
10275
+ this.inputRef = this.elementRef.nativeElement.querySelector('input');
9966
10276
  };
9967
- TableHeaderCheckboxComponent.prototype.onClick = function () {
9968
- if (!this.disabled) {
9969
- if (this.table.value && this.table.value.length > 0)
9970
- this.onToggleCheckbox(!this.checked);
9971
- }
9972
- };
9973
- TableHeaderCheckboxComponent.prototype.updateCheckedState = function () {
9974
- if (this.table.filteredValue) {
9975
- var val = this.table.filteredValue;
9976
- return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllFilteredValuesChecked();
9977
- }
9978
- else {
9979
- var val = this.table.value;
9980
- return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllValuesChecked();
9981
- }
9982
- };
9983
- TableHeaderCheckboxComponent.prototype.onToggleCheckbox = function (checked) {
9984
- var _this = this;
9985
- var _a = this.table, filteredValue = _a.filteredValue, value = _a.value, dataKey = _a.dataKey;
9986
- var gridData = checked ? (filteredValue ? filteredValue.slice() : value.slice()) : [];
9987
- if (checked) {
9988
- var unselecteds = gridData
9989
- .filter(function (record) { return !_this.table._selection.find(function (selected) { return record[dataKey] === selected[dataKey]; }); })
9990
- .map(function (record) {
9991
- if (_this.useAllObject)
9992
- return record;
9993
- var newRecord = {};
9994
- if (_this.rowProps)
9995
- _this.rowProps.forEach(function (prop) { return (newRecord[prop] = record[prop]); });
9996
- else
9997
- newRecord[dataKey] = record[dataKey];
9998
- return newRecord;
9999
- });
10000
- this.table._selection = __spread(this.table._selection, unselecteds);
10001
- }
10002
- else {
10003
- value.forEach(function (data) {
10004
- _this.table._selection = _this.table._selection.filter(function (record) { return record[dataKey] !== data[dataKey]; });
10005
- });
10006
- }
10007
- this.table.updateSelectionKeys();
10008
- this.table.selectionChange.emit(this.table._selection);
10009
- this.tableService.onSelectionChange();
10010
- if (this.table.isStateful())
10011
- this.table.saveState();
10012
- };
10013
- TableHeaderCheckboxComponent.prototype.isAllFilteredValuesChecked = function () {
10014
- var e_1, _a;
10015
- if (!this.table.filteredValue) {
10016
- return false;
10017
- }
10018
- else {
10019
- try {
10020
- for (var _b = __values(this.table.filteredValue), _c = _b.next(); !_c.done; _c = _b.next()) {
10021
- var rowData = _c.value;
10022
- if (!this.table.isSelected(rowData)) {
10023
- return false;
10024
- }
10025
- }
10026
- }
10027
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
10028
- finally {
10029
- try {
10030
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10031
- }
10032
- finally { if (e_1) throw e_1.error; }
10033
- }
10034
- return true;
10035
- }
10036
- };
10037
- TableHeaderCheckboxComponent.prototype.isAllValuesChecked = function () {
10038
- var e_2, _a;
10039
- if (!this.table.value) {
10040
- return false;
10041
- }
10042
- else {
10043
- try {
10044
- for (var _b = __values(this.table.value), _c = _b.next(); !_c.done; _c = _b.next()) {
10045
- var rowData = _c.value;
10046
- if (!this.table.isSelected(rowData)) {
10047
- return false;
10048
- }
10049
- }
10050
- }
10051
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
10052
- finally {
10053
- try {
10054
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10055
- }
10056
- finally { if (e_2) throw e_2.error; }
10057
- }
10058
- return true;
10059
- }
10060
- };
10061
- var TableHeaderCheckboxComponent_1;
10062
- TableHeaderCheckboxComponent.nextId = 0;
10063
- TableHeaderCheckboxComponent.ctorParameters = function () { return [
10064
- { type: Table },
10065
- { type: TableService }
10066
- ]; };
10067
- __decorate([
10068
- Input()
10069
- ], TableHeaderCheckboxComponent.prototype, "id", void 0);
10070
- __decorate([
10071
- Input()
10072
- ], TableHeaderCheckboxComponent.prototype, "disabled", void 0);
10073
- __decorate([
10074
- Input()
10075
- ], TableHeaderCheckboxComponent.prototype, "rowProps", void 0);
10076
- __decorate([
10077
- Input()
10078
- ], TableHeaderCheckboxComponent.prototype, "useAllObject", void 0);
10079
- TableHeaderCheckboxComponent = TableHeaderCheckboxComponent_1 = __decorate([
10080
- Component({
10081
- selector: "s-table-header-checkbox",
10082
- template: "\n <div class=\"ui-chkbox ui-widget\" (click)=\"onClick()\">\n <div class=\"ui-helper-hidden-accessible\">\n <input type=\"checkbox\" [checked]=\"checked\" (focus)=\"onFocus()\" (blur)=\"onBlur()\" [disabled]=\"isDisabled()\">\n </div>\n <div [ngClass]=\"{'ui-chkbox-box ui-widget ui-state-default':true,\n 'ui-state-active':checked, 'ui-state-disabled': isDisabled(), 'ui-state-focus': hasFocus}\">\n <span [id]=\"id\" class=\"ui-chkbox-icon ui-clickable\" [ngClass]=\"{'pi pi-check':checked}\"></span>\n </div>\n </div>\n "
10083
- })
10084
- ], TableHeaderCheckboxComponent);
10085
- return TableHeaderCheckboxComponent;
10086
- }());
10087
-
10088
- var TableHeaderCheckboxModule = /** @class */ (function () {
10089
- function TableHeaderCheckboxModule() {
10090
- }
10091
- TableHeaderCheckboxModule = __decorate([
10092
- NgModule({
10093
- imports: [CommonModule],
10094
- exports: [TableHeaderCheckboxComponent],
10095
- declarations: [TableHeaderCheckboxComponent],
10096
- })
10097
- ], TableHeaderCheckboxModule);
10098
- return TableHeaderCheckboxModule;
10099
- }());
10100
-
10101
- var AutocompleteFieldComponent = /** @class */ (function () {
10102
- function AutocompleteFieldComponent(changeDetectorRef, elementRef) {
10103
- this.changeDetectorRef = changeDetectorRef;
10104
- this.elementRef = elementRef;
10105
- }
10106
- AutocompleteFieldComponent.prototype.ngAfterViewInit = function () {
10107
- this.setInputRef();
10108
- this.changeDetectorRef.detectChanges();
10109
- };
10110
- AutocompleteFieldComponent.prototype.setInputRef = function () {
10111
- this.inputRef = this.elementRef.nativeElement.querySelector('input');
10112
- };
10113
- AutocompleteFieldComponent.ctorParameters = function () { return [
10114
- { type: ChangeDetectorRef },
10115
- { type: ElementRef }
10116
- ]; };
10117
- __decorate([
10118
- Input()
10119
- ], AutocompleteFieldComponent.prototype, "field", void 0);
10120
- __decorate([
10121
- Input()
10122
- ], AutocompleteFieldComponent.prototype, "formControl", void 0);
10123
- AutocompleteFieldComponent = __decorate([
10124
- Component({
10125
- template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey\"\n (onLookupRequest)=\"field.onSearch($event)\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\">\n </s-lookup>\n</div>\n"
10126
- })
10127
- ], AutocompleteFieldComponent);
10128
- return AutocompleteFieldComponent;
10129
- }());
10130
-
10131
- var BooleanFieldComponent = /** @class */ (function () {
10132
- function BooleanFieldComponent() {
10133
- }
10134
- BooleanFieldComponent.prototype.onClear = function () {
10135
- this.formControl.reset();
10277
+ AutocompleteFieldComponent.ctorParameters = function () { return [
10278
+ { type: ChangeDetectorRef },
10279
+ { type: ElementRef }
10280
+ ]; };
10281
+ __decorate([
10282
+ Input()
10283
+ ], AutocompleteFieldComponent.prototype, "field", void 0);
10284
+ __decorate([
10285
+ Input()
10286
+ ], AutocompleteFieldComponent.prototype, "formControl", void 0);
10287
+ AutocompleteFieldComponent = __decorate([
10288
+ Component({
10289
+ template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey\"\n (onLookupRequest)=\"field.onSearch($event)\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\">\n </s-lookup>\n</div>\n"
10290
+ })
10291
+ ], AutocompleteFieldComponent);
10292
+ return AutocompleteFieldComponent;
10293
+ }());
10294
+
10295
+ var BooleanFieldComponent = /** @class */ (function () {
10296
+ function BooleanFieldComponent() {
10297
+ }
10298
+ BooleanFieldComponent.prototype.onClear = function () {
10299
+ this.formControl.reset();
10136
10300
  };
10137
10301
  __decorate([
10138
10302
  Input()
@@ -10349,30 +10513,6 @@ var CountryPhonePickerFieldComponent = /** @class */ (function () {
10349
10513
  return CountryPhonePickerFieldComponent;
10350
10514
  }());
10351
10515
 
10352
- var FieldsetComponent = /** @class */ (function () {
10353
- function FieldsetComponent() {
10354
- }
10355
- __decorate([
10356
- Input()
10357
- ], FieldsetComponent.prototype, "id", void 0);
10358
- __decorate([
10359
- Input()
10360
- ], FieldsetComponent.prototype, "config", void 0);
10361
- __decorate([
10362
- Input()
10363
- ], FieldsetComponent.prototype, "group", void 0);
10364
- __decorate([
10365
- Input()
10366
- ], FieldsetComponent.prototype, "errorMessages", void 0);
10367
- FieldsetComponent = __decorate([
10368
- Component({
10369
- selector: "s-fieldset",
10370
- template: "\n <p-fieldset [toggleable]=\"true\" (onBeforeToggle)=\"config.beforeToggle ? config.beforeToggle($event) : 'null'\"\n (onAfterToggle)=\"config.afterToggle ? config.afterToggle($event) : 'null'\">\n <p-header>{{config.header}}</p-header>\n <ng-container *ngFor=\"let conf of config.configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n </p-fieldset>\n "
10371
- })
10372
- ], FieldsetComponent);
10373
- return FieldsetComponent;
10374
- }());
10375
-
10376
10516
  var FileUploadComponent$1 = /** @class */ (function (_super) {
10377
10517
  __extends(FileUploadComponent, _super);
10378
10518
  function FileUploadComponent(changeDetectorRef, elementRef) {
@@ -10485,29 +10625,6 @@ var RadioButtonComponent = /** @class */ (function () {
10485
10625
  return RadioButtonComponent;
10486
10626
  }());
10487
10627
 
10488
- var SectionComponent = /** @class */ (function () {
10489
- function SectionComponent() {
10490
- }
10491
- __decorate([
10492
- Input()
10493
- ], SectionComponent.prototype, "id", void 0);
10494
- __decorate([
10495
- Input()
10496
- ], SectionComponent.prototype, "config", void 0);
10497
- __decorate([
10498
- Input()
10499
- ], SectionComponent.prototype, "group", void 0);
10500
- __decorate([
10501
- Input()
10502
- ], SectionComponent.prototype, "errorMessages", void 0);
10503
- SectionComponent = __decorate([
10504
- Component({
10505
- template: "\n <h3 *ngIf=\"config?.header\" class=\"sds-section-title\">{{config.header}}</h3>\n <ng-container *ngFor=\"let conf of config.configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n "
10506
- })
10507
- ], SectionComponent);
10508
- return SectionComponent;
10509
- }());
10510
-
10511
10628
  var SelectFieldComponent = /** @class */ (function (_super) {
10512
10629
  __extends(SelectFieldComponent, _super);
10513
10630
  function SelectFieldComponent() {
@@ -10643,33 +10760,6 @@ var SliderFieldComponent = /** @class */ (function (_super) {
10643
10760
  return SliderFieldComponent;
10644
10761
  }(BaseFieldComponent));
10645
10762
 
10646
- var TextAreaFieldComponent = /** @class */ (function () {
10647
- function TextAreaFieldComponent(changeDetectorRef) {
10648
- this.changeDetectorRef = changeDetectorRef;
10649
- }
10650
- TextAreaFieldComponent.prototype.ngAfterViewInit = function () {
10651
- this.changeDetectorRef.detectChanges();
10652
- };
10653
- TextAreaFieldComponent.ctorParameters = function () { return [
10654
- { type: ChangeDetectorRef }
10655
- ]; };
10656
- __decorate([
10657
- Input()
10658
- ], TextAreaFieldComponent.prototype, "field", void 0);
10659
- __decorate([
10660
- Input()
10661
- ], TextAreaFieldComponent.prototype, "formControl", void 0);
10662
- __decorate([
10663
- ViewChild('inputRef')
10664
- ], TextAreaFieldComponent.prototype, "inputRef", void 0);
10665
- TextAreaFieldComponent = __decorate([
10666
- Component({
10667
- template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n"
10668
- })
10669
- ], TextAreaFieldComponent);
10670
- return TextAreaFieldComponent;
10671
- }());
10672
-
10673
10763
  var TextAreaIAFieldComponent = /** @class */ (function () {
10674
10764
  function TextAreaIAFieldComponent(_iassistService, _formBuilder, _translateService) {
10675
10765
  this._iassistService = _iassistService;
@@ -10750,6 +10840,80 @@ var TextAreaIAFieldComponent = /** @class */ (function () {
10750
10840
  return TextAreaIAFieldComponent;
10751
10841
  }());
10752
10842
 
10843
+ var TextAreaFieldComponent = /** @class */ (function () {
10844
+ function TextAreaFieldComponent(changeDetectorRef) {
10845
+ this.changeDetectorRef = changeDetectorRef;
10846
+ }
10847
+ TextAreaFieldComponent.prototype.ngAfterViewInit = function () {
10848
+ this.changeDetectorRef.detectChanges();
10849
+ };
10850
+ TextAreaFieldComponent.ctorParameters = function () { return [
10851
+ { type: ChangeDetectorRef }
10852
+ ]; };
10853
+ __decorate([
10854
+ Input()
10855
+ ], TextAreaFieldComponent.prototype, "field", void 0);
10856
+ __decorate([
10857
+ Input()
10858
+ ], TextAreaFieldComponent.prototype, "formControl", void 0);
10859
+ __decorate([
10860
+ ViewChild('inputRef')
10861
+ ], TextAreaFieldComponent.prototype, "inputRef", void 0);
10862
+ TextAreaFieldComponent = __decorate([
10863
+ Component({
10864
+ template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n"
10865
+ })
10866
+ ], TextAreaFieldComponent);
10867
+ return TextAreaFieldComponent;
10868
+ }());
10869
+
10870
+ var FieldsetComponent = /** @class */ (function () {
10871
+ function FieldsetComponent() {
10872
+ }
10873
+ __decorate([
10874
+ Input()
10875
+ ], FieldsetComponent.prototype, "id", void 0);
10876
+ __decorate([
10877
+ Input()
10878
+ ], FieldsetComponent.prototype, "config", void 0);
10879
+ __decorate([
10880
+ Input()
10881
+ ], FieldsetComponent.prototype, "group", void 0);
10882
+ __decorate([
10883
+ Input()
10884
+ ], FieldsetComponent.prototype, "errorMessages", void 0);
10885
+ FieldsetComponent = __decorate([
10886
+ Component({
10887
+ selector: "s-fieldset",
10888
+ template: "\n <p-fieldset [toggleable]=\"true\" (onBeforeToggle)=\"config.beforeToggle ? config.beforeToggle($event) : 'null'\"\n (onAfterToggle)=\"config.afterToggle ? config.afterToggle($event) : 'null'\">\n <p-header>{{config.header}}</p-header>\n <ng-container *ngFor=\"let conf of config.configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n </p-fieldset>\n "
10889
+ })
10890
+ ], FieldsetComponent);
10891
+ return FieldsetComponent;
10892
+ }());
10893
+
10894
+ var SectionComponent = /** @class */ (function () {
10895
+ function SectionComponent() {
10896
+ }
10897
+ __decorate([
10898
+ Input()
10899
+ ], SectionComponent.prototype, "id", void 0);
10900
+ __decorate([
10901
+ Input()
10902
+ ], SectionComponent.prototype, "config", void 0);
10903
+ __decorate([
10904
+ Input()
10905
+ ], SectionComponent.prototype, "group", void 0);
10906
+ __decorate([
10907
+ Input()
10908
+ ], SectionComponent.prototype, "errorMessages", void 0);
10909
+ SectionComponent = __decorate([
10910
+ Component({
10911
+ template: "\n <h3 *ngIf=\"config?.header\" class=\"sds-section-title\">{{config.header}}</h3>\n <ng-container *ngFor=\"let conf of config.configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n "
10912
+ })
10913
+ ], SectionComponent);
10914
+ return SectionComponent;
10915
+ }());
10916
+
10753
10917
  var RowComponent = /** @class */ (function () {
10754
10918
  function RowComponent() {
10755
10919
  }
@@ -11129,12 +11293,159 @@ var TextFieldComponent = /** @class */ (function (_super) {
11129
11293
  ], TextFieldComponent.prototype, "inputRef", void 0);
11130
11294
  TextFieldComponent = __decorate([
11131
11295
  Component({
11132
- template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n",
11296
+ template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n",
11297
+ encapsulation: ViewEncapsulation.None,
11298
+ styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
11299
+ })
11300
+ ], TextFieldComponent);
11301
+ return TextFieldComponent;
11302
+ }(BaseFieldComponent));
11303
+
11304
+ var CodeEditorFieldComponent = /** @class */ (function () {
11305
+ function CodeEditorFieldComponent() {
11306
+ }
11307
+ __decorate([
11308
+ Input()
11309
+ ], CodeEditorFieldComponent.prototype, "field", void 0);
11310
+ __decorate([
11311
+ Input()
11312
+ ], CodeEditorFieldComponent.prototype, "formControl", void 0);
11313
+ CodeEditorFieldComponent = __decorate([
11314
+ Component({
11315
+ template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<s-code-editor\n [editorOptions]=\"field.editorOptions\"\n [(code)]=\"field.code\"\n [formControl]=\"formControl\"\n (onComponentFinishLoad)=\"field.onComponentFinishLoad ? field.onComponentFinishLoad($event) : null\"\n (onCodeChange)=\"field.onCodeChange ? field.onCodeChange($event) : null\">\n</s-code-editor>"
11316
+ })
11317
+ ], CodeEditorFieldComponent);
11318
+ return CodeEditorFieldComponent;
11319
+ }());
11320
+
11321
+ var CheckboxFieldComponent = /** @class */ (function () {
11322
+ function CheckboxFieldComponent() {
11323
+ }
11324
+ __decorate([
11325
+ Input()
11326
+ ], CheckboxFieldComponent.prototype, "field", void 0);
11327
+ __decorate([
11328
+ Input()
11329
+ ], CheckboxFieldComponent.prototype, "formControl", void 0);
11330
+ CheckboxFieldComponent = __decorate([
11331
+ Component({
11332
+ template: "<s-checkbox\n [data]=\"field.data\"\n [formControl]=\"formControl\">\n</s-checkbox>"
11333
+ })
11334
+ ], CheckboxFieldComponent);
11335
+ return CheckboxFieldComponent;
11336
+ }());
11337
+
11338
+ var NumberFieldComponent = /** @class */ (function (_super) {
11339
+ __extends(NumberFieldComponent, _super);
11340
+ function NumberFieldComponent(localeService, elementRef, changeDetectorRef) {
11341
+ var _this = _super.call(this) || this;
11342
+ _this.localeService = localeService;
11343
+ _this.elementRef = elementRef;
11344
+ _this.changeDetectorRef = changeDetectorRef;
11345
+ _this.onInput = new EventEmitter();
11346
+ _this.onFocus = new EventEmitter();
11347
+ _this.onComplete = new EventEmitter();
11348
+ _this.ngUnsubscribe = new Subject();
11349
+ return _this;
11350
+ }
11351
+ NumberFieldComponent.prototype.ngOnInit = function () {
11352
+ var _this = this;
11353
+ this.onLocaleService();
11354
+ this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
11355
+ if (_this.field.onFocus)
11356
+ _this.field.onFocus(event);
11357
+ });
11358
+ this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
11359
+ if (_this.field.onInput)
11360
+ _this.field.onInput(event);
11361
+ });
11362
+ this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
11363
+ if (_this.field.onComplete)
11364
+ _this.field.onComplete(event);
11365
+ });
11366
+ };
11367
+ NumberFieldComponent.prototype.ngAfterViewInit = function () {
11368
+ this.setInputRef();
11369
+ this.changeDetectorRef.detectChanges();
11370
+ };
11371
+ NumberFieldComponent.prototype.ngOnDestroy = function () {
11372
+ this.ngUnsubscribe.next();
11373
+ this.ngUnsubscribe.complete();
11374
+ };
11375
+ Object.defineProperty(NumberFieldComponent.prototype, "numberAlignmentOption", {
11376
+ get: function () {
11377
+ return NumberAlignmentOption;
11378
+ },
11379
+ enumerable: true,
11380
+ configurable: true
11381
+ });
11382
+ Object.defineProperty(NumberFieldComponent.prototype, "fieldType", {
11383
+ get: function () {
11384
+ return FieldType;
11385
+ },
11386
+ enumerable: true,
11387
+ configurable: true
11388
+ });
11389
+ NumberFieldComponent.prototype.onLocaleService = function () {
11390
+ var _this = this;
11391
+ this.localeService
11392
+ .getLocale()
11393
+ .pipe(first())
11394
+ .subscribe({
11395
+ next: function () {
11396
+ var _a, _b, _c;
11397
+ if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
11398
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
11399
+ }
11400
+ if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
11401
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
11402
+ }
11403
+ if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
11404
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
11405
+ }
11406
+ },
11407
+ error: function () {
11408
+ var _a;
11409
+ return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
11410
+ thousandsSeparator: ".",
11411
+ decimalSeparator: ",",
11412
+ currencySymbol: "R$",
11413
+ });
11414
+ },
11415
+ });
11416
+ };
11417
+ NumberFieldComponent.prototype.setInputRef = function () {
11418
+ var input = this.elementRef.nativeElement.querySelector("input");
11419
+ this.inputRef = input;
11420
+ };
11421
+ NumberFieldComponent.ctorParameters = function () { return [
11422
+ { type: LocaleService },
11423
+ { type: ElementRef },
11424
+ { type: ChangeDetectorRef }
11425
+ ]; };
11426
+ __decorate([
11427
+ Input()
11428
+ ], NumberFieldComponent.prototype, "field", void 0);
11429
+ __decorate([
11430
+ Input()
11431
+ ], NumberFieldComponent.prototype, "formControl", void 0);
11432
+ __decorate([
11433
+ Output()
11434
+ ], NumberFieldComponent.prototype, "onInput", void 0);
11435
+ __decorate([
11436
+ Output()
11437
+ ], NumberFieldComponent.prototype, "onFocus", void 0);
11438
+ __decorate([
11439
+ Output()
11440
+ ], NumberFieldComponent.prototype, "onComplete", void 0);
11441
+ NumberFieldComponent = __decorate([
11442
+ Component({
11443
+ template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
11133
11444
  encapsulation: ViewEncapsulation.None,
11134
- styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
11445
+ styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
11135
11446
  })
11136
- ], TextFieldComponent);
11137
- return TextFieldComponent;
11447
+ ], NumberFieldComponent);
11448
+ return NumberFieldComponent;
11138
11449
  }(BaseFieldComponent));
11139
11450
 
11140
11451
  var ProfilePictureFieldComponent = /** @class */ (function () {
@@ -11243,8 +11554,12 @@ var DynamicField = /** @class */ (function (_super) {
11243
11554
  return TextFieldComponent;
11244
11555
  case FieldType.Boolean:
11245
11556
  return this.field.representedBy === "switch" ? BooleanSwitchFieldComponent : BooleanFieldComponent;
11557
+ case FieldType.Checkbox:
11558
+ return CheckboxFieldComponent;
11246
11559
  case FieldType.Chips:
11247
11560
  return ChipsFieldComponent;
11561
+ case FieldType.CodeEditor:
11562
+ return CodeEditorFieldComponent;
11248
11563
  case FieldType.CountryPhonePicker:
11249
11564
  return CountryPhonePickerFieldComponent;
11250
11565
  case FieldType.Date:
@@ -11467,163 +11782,76 @@ var FieldLabelModule = /** @class */ (function () {
11467
11782
  return FieldLabelModule;
11468
11783
  }());
11469
11784
 
11470
- var PasswordFieldModule = /** @class */ (function () {
11471
- function PasswordFieldModule() {
11785
+ var BignumberFieldModule = /** @class */ (function () {
11786
+ function BignumberFieldModule() {
11472
11787
  }
11473
- PasswordFieldModule = __decorate([
11788
+ BignumberFieldModule = __decorate([
11474
11789
  NgModule({
11475
11790
  imports: [
11476
11791
  CommonModule,
11477
11792
  FormsModule,
11478
11793
  ReactiveFormsModule,
11479
11794
  ButtonModule,
11795
+ BignumberInputModule,
11480
11796
  TooltipModule,
11481
- PasswordStrengthModule,
11797
+ InputMaskModule,
11482
11798
  InputTextModule,
11483
11799
  FieldLabelModule
11484
11800
  ],
11485
- declarations: [PasswordFieldComponent],
11486
- exports: [PasswordFieldComponent],
11801
+ declarations: [BignumberFieldComponent],
11802
+ exports: [BignumberFieldComponent],
11487
11803
  })
11488
- ], PasswordFieldModule);
11489
- return PasswordFieldModule;
11804
+ ], BignumberFieldModule);
11805
+ return BignumberFieldModule;
11490
11806
  }());
11491
11807
 
11492
- var TextFieldModule = /** @class */ (function () {
11493
- function TextFieldModule() {
11808
+ var CheckboxFieldModule = /** @class */ (function () {
11809
+ function CheckboxFieldModule() {
11494
11810
  }
11495
- TextFieldModule = __decorate([
11811
+ CheckboxFieldModule = __decorate([
11812
+ NgModule({
11813
+ imports: [CommonModule, FormsModule, ReactiveFormsModule, CheckboxModule],
11814
+ declarations: [CheckboxFieldComponent],
11815
+ exports: [CheckboxFieldComponent],
11816
+ })
11817
+ ], CheckboxFieldModule);
11818
+ return CheckboxFieldModule;
11819
+ }());
11820
+
11821
+ var CurrencyFieldModule = /** @class */ (function () {
11822
+ function CurrencyFieldModule() {
11823
+ }
11824
+ CurrencyFieldModule = __decorate([
11496
11825
  NgModule({
11497
11826
  imports: [
11498
11827
  CommonModule,
11499
11828
  FormsModule,
11500
11829
  ReactiveFormsModule,
11501
- ButtonModule,
11830
+ NumberInputModule,
11502
11831
  TooltipModule,
11503
11832
  InputMaskModule,
11504
11833
  InputTextModule,
11505
- KeyFilterModule,
11506
11834
  FieldLabelModule
11507
11835
  ],
11508
- declarations: [TextFieldComponent],
11509
- exports: [TextFieldComponent],
11836
+ declarations: [CurrencyFieldComponent],
11837
+ exports: [CurrencyFieldComponent],
11510
11838
  })
11511
- ], TextFieldModule);
11512
- return TextFieldModule;
11839
+ ], CurrencyFieldModule);
11840
+ return CurrencyFieldModule;
11513
11841
  }());
11514
11842
 
11515
- var NumberFieldComponent = /** @class */ (function (_super) {
11516
- __extends(NumberFieldComponent, _super);
11517
- function NumberFieldComponent(localeService, elementRef, changeDetectorRef) {
11518
- var _this = _super.call(this) || this;
11519
- _this.localeService = localeService;
11520
- _this.elementRef = elementRef;
11521
- _this.changeDetectorRef = changeDetectorRef;
11522
- _this.onInput = new EventEmitter();
11523
- _this.onFocus = new EventEmitter();
11524
- _this.onComplete = new EventEmitter();
11525
- _this.ngUnsubscribe = new Subject();
11526
- return _this;
11843
+ var EditorFieldModule = /** @class */ (function () {
11844
+ function EditorFieldModule() {
11527
11845
  }
11528
- NumberFieldComponent.prototype.ngOnInit = function () {
11529
- var _this = this;
11530
- this.onLocaleService();
11531
- this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
11532
- if (_this.field.onFocus)
11533
- _this.field.onFocus(event);
11534
- });
11535
- this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
11536
- if (_this.field.onInput)
11537
- _this.field.onInput(event);
11538
- });
11539
- this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
11540
- if (_this.field.onComplete)
11541
- _this.field.onComplete(event);
11542
- });
11543
- };
11544
- NumberFieldComponent.prototype.ngAfterViewInit = function () {
11545
- this.setInputRef();
11546
- this.changeDetectorRef.detectChanges();
11547
- };
11548
- NumberFieldComponent.prototype.ngOnDestroy = function () {
11549
- this.ngUnsubscribe.next();
11550
- this.ngUnsubscribe.complete();
11551
- };
11552
- Object.defineProperty(NumberFieldComponent.prototype, "numberAlignmentOption", {
11553
- get: function () {
11554
- return NumberAlignmentOption;
11555
- },
11556
- enumerable: true,
11557
- configurable: true
11558
- });
11559
- Object.defineProperty(NumberFieldComponent.prototype, "fieldType", {
11560
- get: function () {
11561
- return FieldType;
11562
- },
11563
- enumerable: true,
11564
- configurable: true
11565
- });
11566
- NumberFieldComponent.prototype.onLocaleService = function () {
11567
- var _this = this;
11568
- this.localeService
11569
- .getLocale()
11570
- .pipe(first())
11571
- .subscribe({
11572
- next: function () {
11573
- var _a, _b, _c;
11574
- if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
11575
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
11576
- }
11577
- if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
11578
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
11579
- }
11580
- if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
11581
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
11582
- }
11583
- },
11584
- error: function () {
11585
- var _a;
11586
- return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
11587
- thousandsSeparator: ".",
11588
- decimalSeparator: ",",
11589
- currencySymbol: "R$",
11590
- });
11591
- },
11592
- });
11593
- };
11594
- NumberFieldComponent.prototype.setInputRef = function () {
11595
- var input = this.elementRef.nativeElement.querySelector("input");
11596
- this.inputRef = input;
11597
- };
11598
- NumberFieldComponent.ctorParameters = function () { return [
11599
- { type: LocaleService },
11600
- { type: ElementRef },
11601
- { type: ChangeDetectorRef }
11602
- ]; };
11603
- __decorate([
11604
- Input()
11605
- ], NumberFieldComponent.prototype, "field", void 0);
11606
- __decorate([
11607
- Input()
11608
- ], NumberFieldComponent.prototype, "formControl", void 0);
11609
- __decorate([
11610
- Output()
11611
- ], NumberFieldComponent.prototype, "onInput", void 0);
11612
- __decorate([
11613
- Output()
11614
- ], NumberFieldComponent.prototype, "onFocus", void 0);
11615
- __decorate([
11616
- Output()
11617
- ], NumberFieldComponent.prototype, "onComplete", void 0);
11618
- NumberFieldComponent = __decorate([
11619
- Component({
11620
- template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
11621
- encapsulation: ViewEncapsulation.None,
11622
- styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
11846
+ EditorFieldModule = __decorate([
11847
+ NgModule({
11848
+ imports: [CommonModule, FormsModule, ReactiveFormsModule, EditorModule, FieldLabelModule],
11849
+ declarations: [EditorFieldComponent],
11850
+ exports: [EditorFieldComponent],
11623
11851
  })
11624
- ], NumberFieldComponent);
11625
- return NumberFieldComponent;
11626
- }(BaseFieldComponent));
11852
+ ], EditorFieldModule);
11853
+ return EditorFieldModule;
11854
+ }());
11627
11855
 
11628
11856
  var NumberFieldModule = /** @class */ (function () {
11629
11857
  function NumberFieldModule() {
@@ -11649,49 +11877,26 @@ var NumberFieldModule = /** @class */ (function () {
11649
11877
  return NumberFieldModule;
11650
11878
  }());
11651
11879
 
11652
- var CurrencyFieldModule = /** @class */ (function () {
11653
- function CurrencyFieldModule() {
11654
- }
11655
- CurrencyFieldModule = __decorate([
11656
- NgModule({
11657
- imports: [
11658
- CommonModule,
11659
- FormsModule,
11660
- ReactiveFormsModule,
11661
- NumberInputModule,
11662
- TooltipModule,
11663
- InputMaskModule,
11664
- InputTextModule,
11665
- FieldLabelModule
11666
- ],
11667
- declarations: [CurrencyFieldComponent],
11668
- exports: [CurrencyFieldComponent],
11669
- })
11670
- ], CurrencyFieldModule);
11671
- return CurrencyFieldModule;
11672
- }());
11673
-
11674
- var BignumberFieldModule = /** @class */ (function () {
11675
- function BignumberFieldModule() {
11880
+ var PasswordFieldModule = /** @class */ (function () {
11881
+ function PasswordFieldModule() {
11676
11882
  }
11677
- BignumberFieldModule = __decorate([
11883
+ PasswordFieldModule = __decorate([
11678
11884
  NgModule({
11679
11885
  imports: [
11680
11886
  CommonModule,
11681
11887
  FormsModule,
11682
11888
  ReactiveFormsModule,
11683
11889
  ButtonModule,
11684
- BignumberInputModule,
11685
11890
  TooltipModule,
11686
- InputMaskModule,
11891
+ PasswordStrengthModule,
11687
11892
  InputTextModule,
11688
11893
  FieldLabelModule
11689
11894
  ],
11690
- declarations: [BignumberFieldComponent],
11691
- exports: [BignumberFieldComponent],
11895
+ declarations: [PasswordFieldComponent],
11896
+ exports: [PasswordFieldComponent],
11692
11897
  })
11693
- ], BignumberFieldModule);
11694
- return BignumberFieldModule;
11898
+ ], PasswordFieldModule);
11899
+ return PasswordFieldModule;
11695
11900
  }());
11696
11901
 
11697
11902
  var HeaderComponent = /** @class */ (function () {
@@ -12460,17 +12665,40 @@ var ProfilePictureModule = /** @class */ (function () {
12460
12665
  return ProfilePictureModule;
12461
12666
  }());
12462
12667
 
12463
- var EditorFieldModule = /** @class */ (function () {
12464
- function EditorFieldModule() {
12668
+ var TextFieldModule = /** @class */ (function () {
12669
+ function TextFieldModule() {
12465
12670
  }
12466
- EditorFieldModule = __decorate([
12671
+ TextFieldModule = __decorate([
12467
12672
  NgModule({
12468
- imports: [CommonModule, FormsModule, ReactiveFormsModule, EditorModule, FieldLabelModule],
12469
- declarations: [EditorFieldComponent],
12470
- exports: [EditorFieldComponent],
12673
+ imports: [
12674
+ CommonModule,
12675
+ FormsModule,
12676
+ ReactiveFormsModule,
12677
+ ButtonModule,
12678
+ TooltipModule,
12679
+ InputMaskModule,
12680
+ InputTextModule,
12681
+ KeyFilterModule,
12682
+ FieldLabelModule
12683
+ ],
12684
+ declarations: [TextFieldComponent],
12685
+ exports: [TextFieldComponent],
12471
12686
  })
12472
- ], EditorFieldModule);
12473
- return EditorFieldModule;
12687
+ ], TextFieldModule);
12688
+ return TextFieldModule;
12689
+ }());
12690
+
12691
+ var CodeEditorFieldModule = /** @class */ (function () {
12692
+ function CodeEditorFieldModule() {
12693
+ }
12694
+ CodeEditorFieldModule = __decorate([
12695
+ NgModule({
12696
+ imports: [CommonModule, FieldLabelModule, CodeEditorModule, FormsModule, ReactiveFormsModule],
12697
+ declarations: [CodeEditorFieldComponent],
12698
+ exports: [CodeEditorFieldComponent],
12699
+ })
12700
+ ], CodeEditorFieldModule);
12701
+ return CodeEditorFieldModule;
12474
12702
  }());
12475
12703
 
12476
12704
  var DynamicFormModule = /** @class */ (function () {
@@ -12485,7 +12713,7 @@ var DynamicFormModule = /** @class */ (function () {
12485
12713
  ButtonModule,
12486
12714
  CalendarMaskModule,
12487
12715
  CalendarModule,
12488
- CheckboxModule,
12716
+ CheckboxModule$1,
12489
12717
  ChipsModule,
12490
12718
  CommonModule,
12491
12719
  ControlErrorsModule,
@@ -12522,14 +12750,16 @@ var DynamicFormModule = /** @class */ (function () {
12522
12750
  PasswordStrengthModule,
12523
12751
  SliderModule,
12524
12752
  TranslateModule.forChild(),
12753
+ CodeEditorFieldModule,
12525
12754
  PasswordFieldModule,
12526
12755
  TextFieldModule,
12527
12756
  NumberFieldModule,
12528
12757
  CurrencyFieldModule,
12529
12758
  BignumberFieldModule,
12759
+ CheckboxFieldModule,
12530
12760
  ProfilePictureModule,
12531
12761
  EditorFieldModule,
12532
- FieldLabelModule
12762
+ FieldLabelModule,
12533
12763
  ],
12534
12764
  declarations: [
12535
12765
  AutocompleteFieldComponent,
@@ -12554,24 +12784,6 @@ var DynamicFormModule = /** @class */ (function () {
12554
12784
  TextAreaIAFieldComponent,
12555
12785
  ],
12556
12786
  exports: [DynamicFormComponent, LookupComponent],
12557
- entryComponents: [
12558
- AutocompleteFieldComponent,
12559
- BooleanFieldComponent,
12560
- BooleanSwitchFieldComponent,
12561
- CalendarFieldComponent,
12562
- ChipsFieldComponent,
12563
- CountryPhonePickerFieldComponent,
12564
- FieldsetComponent,
12565
- FileUploadComponent$1,
12566
- LookupFieldComponent,
12567
- RadioButtonComponent,
12568
- RowComponent,
12569
- SectionComponent,
12570
- SelectFieldComponent,
12571
- SliderFieldComponent,
12572
- TextAreaFieldComponent,
12573
- TextAreaIAFieldComponent,
12574
- ],
12575
12787
  providers: [
12576
12788
  HotkeysService,
12577
12789
  IAssistService,
@@ -19601,5 +19813,5 @@ var fallback = {
19601
19813
  * Generated bundle index. Do not edit.
19602
19814
  */
19603
19815
 
19604
- export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CurrencyService, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileUploadPermissions, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, NumericService, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, TablePagingComponent as ɵba, PasswordFieldModule as ɵbb, FieldLabelModule as ɵbc, InfoSignModule as ɵbd, FieldLabelComponent as ɵbe, PasswordFieldComponent as ɵbf, TextFieldModule as ɵbg, TextFieldComponent as ɵbh, NumberFieldModule as ɵbi, LocalizedNumberInputModule as ɵbj, NumberInputModule as ɵbk, NumberFieldComponent as ɵbl, CurrencyFieldModule as ɵbm, CurrencyFieldComponent as ɵbn, BignumberFieldModule as ɵbo, BignumberInputModule as ɵbp, BignumberFieldComponent as ɵbq, ProfilePictureModule as ɵbr, ThumbnailService as ɵbs, StructureModule as ɵbt, HeaderComponent as ɵbu, FooterComponent as ɵbv, ProfilePictureFieldComponent as ɵbw, EditorFieldModule as ɵbx, EditorFieldComponent as ɵby, AutocompleteFieldComponent as ɵbz, TieredMenuEventService as ɵc, BooleanFieldComponent as ɵca, BooleanSwitchFieldComponent as ɵcb, CalendarFieldComponent as ɵcc, ChipsFieldComponent as ɵcd, CountryPhonePickerFieldComponent as ɵce, DynamicFieldComponent as ɵcf, DynamicFormDirective as ɵcg, FieldsetComponent as ɵch, FileUploadComponent$1 as ɵci, LookupFieldComponent as ɵcj, RadioButtonComponent as ɵck, RowComponent as ɵcl, SectionComponent as ɵcm, SelectFieldComponent as ɵcn, SliderFieldComponent as ɵco, TextAreaFieldComponent as ɵcp, TextAreaIAFieldComponent as ɵcq, IAssistService as ɵcr, DecimalField as ɵct, SideTableComponent as ɵcu, InfiniteScrollModule as ɵcv, InfiniteScrollDirective as ɵcw, IAInsightSidebarComponent as ɵcx, IAInsightCardComponent as ɵcy, IAInsightCardLoaderComponent as ɵcz, TieredMenuService as ɵd, InlineEditItemComponent as ɵda, LocaleService as ɵdb, InlineEditCalendarComponent as ɵdc, InlineEditLookupComponent as ɵdd, InlineEditNumberComponent as ɵde, InlineEditTextComponent as ɵdf, InlineEditTextAreaComponent as ɵdg, InlineEditTextAreaIAComponent as ɵdh, KanbanEventService as ɵdi, KanbanItemComponent as ɵdj, KanbanColumnComponent as ɵdk, KanbanItemDraggingComponent as ɵdl, NumberLocaleOptions as ɵdm, BorderButtonModule as ɵdn, BorderButtonComponent as ɵdo, ProgressBarDeterminateComponent as ɵdp, ProgressBarIndeterminateComponent as ɵdq, SelectButtonItemComponent as ɵdr, SlidePanelService as ɵds, TimelineItemModule as ɵdt, TimelineIconItemComponent as ɵdu, HorizontalTimelineModule as ɵdv, HorizontalTimelineComponent as ɵdw, VerticalTimelineModule as ɵdx, VerticalTimelineComponent as ɵdy, RangeLineComponent as ɵdz, TieredMenuGlobalService as ɵe, CollapseOptionComponent as ɵea, CollapsedItemsComponent as ɵeb, VerticalItemsComponent as ɵec, TieredMenuComponent as ɵf, TieredMenuNestedComponent as ɵg, TieredMenuItemComponent as ɵh, TieredMenuDividerComponent as ɵi, CustomTranslationsModule as ɵj, CodeEditorComponent as ɵk, CoreFacade as ɵl, CodeMirror6Core as ɵm, CountryPhonePickerService as ɵn, LocalizedCurrencyImpurePipe as ɵo, LocalizedBignumberPipe as ɵp, LocalizedBignumberImpurePipe as ɵq, NumericPipe as ɵr, EmptyStateGoBackComponent as ɵs, IAssistIconComponent as ɵt, SeniorIconComponent as ɵu, DotsIndicatorComponent as ɵv, LoadingIndicatorComponent as ɵw, FileUploadService as ɵx, InfoSignComponent as ɵy, TableColumnsComponent as ɵz };
19816
+ export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, CheckboxComponent, CheckboxModule, ChipsField, CodeEditorField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CurrencyService, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileUploadPermissions, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, NumericService, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, TablePagingComponent as ɵba, CodeEditorFieldModule as ɵbb, FieldLabelModule as ɵbc, InfoSignModule as ɵbd, FieldLabelComponent as ɵbe, CodeEditorFieldComponent as ɵbf, PasswordFieldModule as ɵbg, PasswordFieldComponent as ɵbh, TextFieldModule as ɵbi, TextFieldComponent as ɵbj, NumberFieldModule as ɵbk, LocalizedNumberInputModule as ɵbl, NumberInputModule as ɵbm, NumberFieldComponent as ɵbn, CurrencyFieldModule as ɵbo, CurrencyFieldComponent as ɵbp, BignumberFieldModule as ɵbq, BignumberInputModule as ɵbr, BignumberFieldComponent as ɵbs, CheckboxFieldModule as ɵbt, CheckboxFieldComponent as ɵbu, ProfilePictureModule as ɵbv, ThumbnailService as ɵbw, StructureModule as ɵbx, HeaderComponent as ɵby, FooterComponent as ɵbz, TieredMenuEventService as ɵc, ProfilePictureFieldComponent as ɵca, EditorFieldModule as ɵcb, EditorFieldComponent as ɵcc, AutocompleteFieldComponent as ɵcd, BooleanFieldComponent as ɵce, BooleanSwitchFieldComponent as ɵcf, CalendarFieldComponent as ɵcg, ChipsFieldComponent as ɵch, CountryPhonePickerFieldComponent as ɵci, DynamicFieldComponent as ɵcj, DynamicFormDirective as ɵck, FieldsetComponent as ɵcl, FileUploadComponent$1 as ɵcm, LookupFieldComponent as ɵcn, RadioButtonComponent as ɵco, RowComponent as ɵcp, SectionComponent as ɵcq, SelectFieldComponent as ɵcr, SliderFieldComponent as ɵcs, TextAreaFieldComponent as ɵct, TextAreaIAFieldComponent as ɵcu, IAssistService as ɵcv, DecimalField as ɵcx, SideTableComponent as ɵcy, InfiniteScrollModule as ɵcz, TieredMenuService as ɵd, InfiniteScrollDirective as ɵda, IAInsightSidebarComponent as ɵdb, IAInsightCardComponent as ɵdc, IAInsightCardLoaderComponent as ɵdd, InlineEditItemComponent as ɵde, LocaleService as ɵdf, InlineEditCalendarComponent as ɵdg, InlineEditLookupComponent as ɵdh, InlineEditNumberComponent as ɵdi, InlineEditTextComponent as ɵdj, InlineEditTextAreaComponent as ɵdk, InlineEditTextAreaIAComponent as ɵdl, KanbanEventService as ɵdm, KanbanItemComponent as ɵdn, KanbanColumnComponent as ɵdo, KanbanItemDraggingComponent as ɵdp, NumberLocaleOptions as ɵdq, BorderButtonModule as ɵdr, BorderButtonComponent as ɵds, ProgressBarDeterminateComponent as ɵdt, ProgressBarIndeterminateComponent as ɵdu, SelectButtonItemComponent as ɵdv, SlidePanelService as ɵdw, TimelineItemModule as ɵdx, TimelineIconItemComponent as ɵdy, HorizontalTimelineModule as ɵdz, TieredMenuGlobalService as ɵe, HorizontalTimelineComponent as ɵea, VerticalTimelineModule as ɵeb, VerticalTimelineComponent as ɵec, RangeLineComponent as ɵed, CollapseOptionComponent as ɵee, CollapsedItemsComponent as ɵef, VerticalItemsComponent as ɵeg, TieredMenuComponent as ɵf, TieredMenuNestedComponent as ɵg, TieredMenuItemComponent as ɵh, TieredMenuDividerComponent as ɵi, CustomTranslationsModule as ɵj, CodeEditorComponent as ɵk, CoreFacade as ɵl, CodeMirror6Core as ɵm, CountryPhonePickerService as ɵn, LocalizedCurrencyImpurePipe as ɵo, LocalizedBignumberPipe as ɵp, LocalizedBignumberImpurePipe as ɵq, NumericPipe as ɵr, EmptyStateGoBackComponent as ɵs, IAssistIconComponent as ɵt, SeniorIconComponent as ɵu, DotsIndicatorComponent as ɵv, LoadingIndicatorComponent as ɵw, FileUploadService as ɵx, InfoSignComponent as ɵy, TableColumnsComponent as ɵz };
19605
19817
  //# sourceMappingURL=seniorsistemas-angular-components.js.map