@seniorsistemas/angular-components 17.1.8 → 17.2.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 (65) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +874 -115
  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/file-upload/file-upload.component.d.ts +7 -2
  6. package/components/file-upload/models/file-upload-permissions.d.ts +6 -0
  7. package/components/file-upload/models/index.d.ts +1 -0
  8. package/components/tiered-menu/components/tiered-menu/tiered-menu.component.d.ts +28 -0
  9. package/components/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.d.ts +2 -0
  10. package/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.d.ts +14 -0
  11. package/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.d.ts +21 -0
  12. package/components/tiered-menu/index.d.ts +3 -0
  13. package/components/tiered-menu/models/index.d.ts +2 -0
  14. package/components/tiered-menu/models/tiered-menu-item-data.d.ts +7 -0
  15. package/components/tiered-menu/models/tiered-menu-item-internal-data.d.ts +10 -0
  16. package/components/tiered-menu/tiered-menu.directive.d.ts +37 -0
  17. package/components/tiered-menu/tiered-menu.event.service.d.ts +18 -0
  18. package/components/tiered-menu/tiered-menu.module.d.ts +2 -0
  19. package/components/tiered-menu/tiered-menu.service.d.ts +10 -0
  20. package/esm2015/components/file-upload/file-upload.component.js +13 -5
  21. package/esm2015/components/file-upload/file-upload.module.js +2 -2
  22. package/esm2015/components/file-upload/models/file-upload-permissions.js +12 -0
  23. package/esm2015/components/file-upload/models/index.js +2 -1
  24. package/esm2015/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +218 -0
  25. package/esm2015/components/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.js +13 -0
  26. package/esm2015/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.js +68 -0
  27. package/esm2015/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.js +131 -0
  28. package/esm2015/components/tiered-menu/index.js +3 -0
  29. package/esm2015/components/tiered-menu/models/index.js +1 -0
  30. package/esm2015/components/tiered-menu/models/tiered-menu-item-data.js +1 -0
  31. package/esm2015/components/tiered-menu/models/tiered-menu-item-internal-data.js +1 -0
  32. package/esm2015/components/tiered-menu/tiered-menu.directive.js +212 -0
  33. package/esm2015/components/tiered-menu/tiered-menu.event.service.js +39 -0
  34. package/esm2015/components/tiered-menu/tiered-menu.module.js +35 -0
  35. package/esm2015/components/tiered-menu/tiered-menu.service.js +39 -0
  36. package/esm2015/components/tooltip/tooltip.directive.js +2 -2
  37. package/esm2015/public-api.js +2 -1
  38. package/esm2015/seniorsistemas-angular-components.js +7 -1
  39. package/esm5/components/file-upload/file-upload.component.js +13 -5
  40. package/esm5/components/file-upload/file-upload.module.js +2 -2
  41. package/esm5/components/file-upload/models/file-upload-permissions.js +12 -0
  42. package/esm5/components/file-upload/models/index.js +2 -1
  43. package/esm5/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +223 -0
  44. package/esm5/components/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.js +16 -0
  45. package/esm5/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.js +70 -0
  46. package/esm5/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.js +133 -0
  47. package/esm5/components/tiered-menu/index.js +3 -0
  48. package/esm5/components/tiered-menu/models/index.js +1 -0
  49. package/esm5/components/tiered-menu/models/tiered-menu-item-data.js +1 -0
  50. package/esm5/components/tiered-menu/models/tiered-menu-item-internal-data.js +1 -0
  51. package/esm5/components/tiered-menu/tiered-menu.directive.js +216 -0
  52. package/esm5/components/tiered-menu/tiered-menu.event.service.js +40 -0
  53. package/esm5/components/tiered-menu/tiered-menu.module.js +38 -0
  54. package/esm5/components/tiered-menu/tiered-menu.service.js +44 -0
  55. package/esm5/components/tooltip/tooltip.directive.js +2 -2
  56. package/esm5/public-api.js +2 -1
  57. package/esm5/seniorsistemas-angular-components.js +7 -1
  58. package/fesm2015/seniorsistemas-angular-components.js +839 -113
  59. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  60. package/fesm5/seniorsistemas-angular-components.js +870 -119
  61. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  62. package/package.json +1 -1
  63. package/public-api.d.ts +1 -0
  64. package/seniorsistemas-angular-components.d.ts +6 -0
  65. package/seniorsistemas-angular-components.metadata.json +1 -1
@@ -8,7 +8,7 @@ import { RouterModule, NavigationEnd, PRIMARY_OUTLET, ActivatedRoute, Router } f
8
8
  import { BreadcrumbModule as BreadcrumbModule$1 } from 'primeng/breadcrumb';
9
9
  import { Subject, of, from, forkJoin, throwError, ReplaySubject } from 'rxjs';
10
10
  import { takeUntil, filter, tap, map, switchMap, catchError, delay, debounceTime, repeat, finalize, take } from 'rxjs/operators';
11
- import { TieredMenu, TieredMenuModule } from 'primeng/tieredmenu';
11
+ import { TieredMenu, TieredMenuModule as TieredMenuModule$1 } from 'primeng/tieredmenu';
12
12
  import { TooltipModule as TooltipModule$1 } from 'primeng/tooltip';
13
13
  import { DomHandler } from 'primeng/dom';
14
14
  import { Calendar, CalendarModule } from 'primeng/calendar';
@@ -39,7 +39,7 @@ import { PanelModule as PanelModule$1 } from 'primeng/panel';
39
39
  import { RadioButtonModule } from 'primeng/radiobutton';
40
40
  import { SliderModule } from 'primeng/slider';
41
41
  import { ProgressBarModule as ProgressBarModule$1 } from 'primeng/progressbar';
42
- import { DomSanitizer } from '@angular/platform-browser';
42
+ import { DomSanitizer, BrowserModule } from '@angular/platform-browser';
43
43
  import Cropper from 'cropperjs';
44
44
  import * as elementResizeDetectorMaker_ from 'element-resize-detector';
45
45
  import { FocusTrapFactory, A11yModule } from '@angular/cdk/a11y';
@@ -540,7 +540,7 @@ var TooltipDirective = /** @class */ (function () {
540
540
  };
541
541
  TooltipDirective.prototype.showTooltip = function () {
542
542
  if (this.componentRef !== null) {
543
- this.componentRef.instance.visible = true;
543
+ this.componentRef.instance.visible = this.visible;
544
544
  window.addEventListener('mousemove', this.boundOnWindowMouseMoveFunction);
545
545
  }
546
546
  };
@@ -1083,7 +1083,7 @@ var ButtonModule = /** @class */ (function () {
1083
1083
  }
1084
1084
  ButtonModule = __decorate([
1085
1085
  NgModule({
1086
- imports: [CommonModule, RouterModule, TieredMenuModule, TooltipModule$1],
1086
+ imports: [CommonModule, RouterModule, TieredMenuModule$1, TooltipModule$1],
1087
1087
  declarations: [ButtonComponent],
1088
1088
  exports: [ButtonComponent],
1089
1089
  })
@@ -4182,119 +4182,6 @@ var EmptyStateModule = /** @class */ (function () {
4182
4182
  return EmptyStateModule;
4183
4183
  }());
4184
4184
 
4185
- var ValidateErrors;
4186
- (function (ValidateErrors) {
4187
- ValidateErrors["MAX_FILE_SIZE"] = "MAX_FILE_SIZE";
4188
- ValidateErrors["MAX_FILE_LIMIT"] = "MAX_FILE_LIMIT";
4189
- ValidateErrors["UNSUPPORTED_EXTENSION"] = "UNSUPPORTED_EXTENSION";
4190
- })(ValidateErrors || (ValidateErrors = {}));
4191
-
4192
- var Breakpoints = {
4193
- SM_MIN: 0,
4194
- SM_MAX: 767,
4195
- MD_MIN: 768,
4196
- MD_MAX: 991,
4197
- LG_MIN: 992,
4198
- LG_MAX: 1199,
4199
- XL_MIN: 1200,
4200
- XL_MAX: Infinity,
4201
- };
4202
-
4203
- var ExportUtils = /** @class */ (function () {
4204
- function ExportUtils() {
4205
- throw new Error("Classe não deve ser instanciada.");
4206
- }
4207
- ExportUtils.addClass = function (element, className) {
4208
- element.nativeElement.className = element.nativeElement.className + " " + className;
4209
- };
4210
- ExportUtils.removeClass = function (element, className) {
4211
- if (element.nativeElement.className.includes(className)) {
4212
- element.nativeElement.className = element.nativeElement.className.replace(className, "");
4213
- }
4214
- };
4215
- ExportUtils.exportCSV = function (columns, data, csvSeparator, documentName) {
4216
- var _this = this;
4217
- if (columns === void 0) { columns = []; }
4218
- if (data === void 0) { data = []; }
4219
- if (csvSeparator === void 0) { csvSeparator = ";"; }
4220
- if (documentName === void 0) { documentName = "download"; }
4221
- var csv = "\ufeff";
4222
- columns.filter(function (column) { return column.exportable && column.field; }).forEach(function (column, i) {
4223
- csv += "\"" + (column.header || column.field) + "\"";
4224
- if (i < columns.length - 1)
4225
- csv += csvSeparator;
4226
- });
4227
- data.forEach(function (record) {
4228
- csv += "\n";
4229
- columns.filter(function (column) { return column.exportable && column.field; }).forEach(function (column, i) {
4230
- var cellData;
4231
- if (Array.isArray(column.field)) {
4232
- var fieldValues = column.field.map(function (col) { return _this.resolveFieldData(record, col); });
4233
- cellData = fieldValues
4234
- .flat()
4235
- .filter(function (value) { return value !== null && value !== undefined; })
4236
- .join(column.separator);
4237
- }
4238
- else {
4239
- cellData = _this.resolveFieldData(record, column.field);
4240
- }
4241
- if (cellData != null)
4242
- cellData = String(cellData).replace(/"/g, "\"\"");
4243
- else
4244
- cellData = "";
4245
- csv += "\"" + cellData + "\"";
4246
- if (i < columns.length - 1)
4247
- csv += csvSeparator;
4248
- });
4249
- });
4250
- var blob = new Blob([csv], {
4251
- type: "text/csv;charset=utf-8;",
4252
- });
4253
- if (window.navigator.msSaveOrOpenBlob)
4254
- navigator.msSaveOrOpenBlob(blob, documentName + ".csv");
4255
- else {
4256
- var link = document.createElement("a");
4257
- link.style.display = "none";
4258
- document.body.appendChild(link);
4259
- if (link.download !== undefined) {
4260
- link.setAttribute("href", URL.createObjectURL(blob));
4261
- link.setAttribute("download", documentName + ".csv");
4262
- link.click();
4263
- }
4264
- else {
4265
- csv = "data:text/csv;charset=utf-8," + csv;
4266
- window.open(encodeURI(csv));
4267
- }
4268
- document.body.removeChild(link);
4269
- }
4270
- };
4271
- ExportUtils.resolveFieldData = function (data, field) {
4272
- if (data && field) {
4273
- if (this.isFunction(field))
4274
- return field(data);
4275
- else if (field.indexOf(".") == -1)
4276
- return data[field];
4277
- else {
4278
- var fields = field.split(".");
4279
- var value = data;
4280
- for (var i = 0, len = fields.length; i < len; ++i) {
4281
- if (value == null) {
4282
- return null;
4283
- }
4284
- value = value[fields[i]];
4285
- }
4286
- return value;
4287
- }
4288
- }
4289
- else
4290
- return null;
4291
- };
4292
- ExportUtils.isFunction = function (obj) {
4293
- return !!(obj && obj.constructor && obj.call && obj.apply);
4294
- };
4295
- return ExportUtils;
4296
- }());
4297
-
4298
4185
  /**
4299
4186
  * Formats a JSON response to a JS object
4300
4187
  * @param response The response to format
@@ -4556,12 +4443,140 @@ var FileUploadService = /** @class */ (function () {
4556
4443
  return FileUploadService;
4557
4444
  }());
4558
4445
 
4446
+ var Breakpoints = {
4447
+ SM_MIN: 0,
4448
+ SM_MAX: 767,
4449
+ MD_MIN: 768,
4450
+ MD_MAX: 991,
4451
+ LG_MIN: 992,
4452
+ LG_MAX: 1199,
4453
+ XL_MIN: 1200,
4454
+ XL_MAX: Infinity,
4455
+ };
4456
+
4457
+ var ExportUtils = /** @class */ (function () {
4458
+ function ExportUtils() {
4459
+ throw new Error("Classe não deve ser instanciada.");
4460
+ }
4461
+ ExportUtils.addClass = function (element, className) {
4462
+ element.nativeElement.className = element.nativeElement.className + " " + className;
4463
+ };
4464
+ ExportUtils.removeClass = function (element, className) {
4465
+ if (element.nativeElement.className.includes(className)) {
4466
+ element.nativeElement.className = element.nativeElement.className.replace(className, "");
4467
+ }
4468
+ };
4469
+ ExportUtils.exportCSV = function (columns, data, csvSeparator, documentName) {
4470
+ var _this = this;
4471
+ if (columns === void 0) { columns = []; }
4472
+ if (data === void 0) { data = []; }
4473
+ if (csvSeparator === void 0) { csvSeparator = ";"; }
4474
+ if (documentName === void 0) { documentName = "download"; }
4475
+ var csv = "\ufeff";
4476
+ columns.filter(function (column) { return column.exportable && column.field; }).forEach(function (column, i) {
4477
+ csv += "\"" + (column.header || column.field) + "\"";
4478
+ if (i < columns.length - 1)
4479
+ csv += csvSeparator;
4480
+ });
4481
+ data.forEach(function (record) {
4482
+ csv += "\n";
4483
+ columns.filter(function (column) { return column.exportable && column.field; }).forEach(function (column, i) {
4484
+ var cellData;
4485
+ if (Array.isArray(column.field)) {
4486
+ var fieldValues = column.field.map(function (col) { return _this.resolveFieldData(record, col); });
4487
+ cellData = fieldValues
4488
+ .flat()
4489
+ .filter(function (value) { return value !== null && value !== undefined; })
4490
+ .join(column.separator);
4491
+ }
4492
+ else {
4493
+ cellData = _this.resolveFieldData(record, column.field);
4494
+ }
4495
+ if (cellData != null)
4496
+ cellData = String(cellData).replace(/"/g, "\"\"");
4497
+ else
4498
+ cellData = "";
4499
+ csv += "\"" + cellData + "\"";
4500
+ if (i < columns.length - 1)
4501
+ csv += csvSeparator;
4502
+ });
4503
+ });
4504
+ var blob = new Blob([csv], {
4505
+ type: "text/csv;charset=utf-8;",
4506
+ });
4507
+ if (window.navigator.msSaveOrOpenBlob)
4508
+ navigator.msSaveOrOpenBlob(blob, documentName + ".csv");
4509
+ else {
4510
+ var link = document.createElement("a");
4511
+ link.style.display = "none";
4512
+ document.body.appendChild(link);
4513
+ if (link.download !== undefined) {
4514
+ link.setAttribute("href", URL.createObjectURL(blob));
4515
+ link.setAttribute("download", documentName + ".csv");
4516
+ link.click();
4517
+ }
4518
+ else {
4519
+ csv = "data:text/csv;charset=utf-8," + csv;
4520
+ window.open(encodeURI(csv));
4521
+ }
4522
+ document.body.removeChild(link);
4523
+ }
4524
+ };
4525
+ ExportUtils.resolveFieldData = function (data, field) {
4526
+ if (data && field) {
4527
+ if (this.isFunction(field))
4528
+ return field(data);
4529
+ else if (field.indexOf(".") == -1)
4530
+ return data[field];
4531
+ else {
4532
+ var fields = field.split(".");
4533
+ var value = data;
4534
+ for (var i = 0, len = fields.length; i < len; ++i) {
4535
+ if (value == null) {
4536
+ return null;
4537
+ }
4538
+ value = value[fields[i]];
4539
+ }
4540
+ return value;
4541
+ }
4542
+ }
4543
+ else
4544
+ return null;
4545
+ };
4546
+ ExportUtils.isFunction = function (obj) {
4547
+ return !!(obj && obj.constructor && obj.call && obj.apply);
4548
+ };
4549
+ return ExportUtils;
4550
+ }());
4551
+
4552
+ var ValidateErrors;
4553
+ (function (ValidateErrors) {
4554
+ ValidateErrors["MAX_FILE_SIZE"] = "MAX_FILE_SIZE";
4555
+ ValidateErrors["MAX_FILE_LIMIT"] = "MAX_FILE_LIMIT";
4556
+ ValidateErrors["UNSUPPORTED_EXTENSION"] = "UNSUPPORTED_EXTENSION";
4557
+ })(ValidateErrors || (ValidateErrors = {}));
4558
+
4559
+ var FileUploadPermissions;
4560
+ (function (FileUploadPermissions) {
4561
+ FileUploadPermissions["Add"] = "add";
4562
+ FileUploadPermissions["Read"] = "read";
4563
+ FileUploadPermissions["Remove"] = "remove";
4564
+ })(FileUploadPermissions || (FileUploadPermissions = {}));
4565
+ var ALL_PERMISSIONS = [
4566
+ FileUploadPermissions.Add,
4567
+ FileUploadPermissions.Read,
4568
+ FileUploadPermissions.Remove,
4569
+ ];
4570
+
4559
4571
  var moment$3 = moment_;
4560
4572
  var FileUploadComponent = /** @class */ (function () {
4561
4573
  function FileUploadComponent(sanitizer, fileUploadService, translate) {
4562
4574
  this.sanitizer = sanitizer;
4563
4575
  this.fileUploadService = fileUploadService;
4564
4576
  this.translate = translate;
4577
+ this.ADD_PERMISSION = FileUploadPermissions.Add;
4578
+ this.READ_PERMISSION = FileUploadPermissions.Read;
4579
+ this.REMOVE_PERMISSION = FileUploadPermissions.Remove;
4565
4580
  this.id = "s-file-upload-" + FileUploadComponent_1.nextId++;
4566
4581
  this.chooseLabel = "Anexar arquivos";
4567
4582
  this.removeLabel = "Remover";
@@ -4571,6 +4586,7 @@ var FileUploadComponent = /** @class */ (function () {
4571
4586
  this.ariaLabelProgress = "Carregando arquivo";
4572
4587
  this.disabled = false;
4573
4588
  this.showFileUploadDate = false;
4589
+ this.permissions = ALL_PERMISSIONS;
4574
4590
  this.uploadHandler = new EventEmitter();
4575
4591
  this.removeFile = new EventEmitter();
4576
4592
  this.cancelUpload = new EventEmitter();
@@ -4797,6 +4813,9 @@ var FileUploadComponent = /** @class */ (function () {
4797
4813
  __decorate([
4798
4814
  Input()
4799
4815
  ], FileUploadComponent.prototype, "showFileUploadDate", void 0);
4816
+ __decorate([
4817
+ Input()
4818
+ ], FileUploadComponent.prototype, "permissions", void 0);
4800
4819
  __decorate([
4801
4820
  Input()
4802
4821
  ], FileUploadComponent.prototype, "files", null);
@@ -4821,7 +4840,7 @@ var FileUploadComponent = /** @class */ (function () {
4821
4840
  FileUploadComponent = FileUploadComponent_1 = __decorate([
4822
4841
  Component({
4823
4842
  selector: "s-file-upload",
4824
- template: "<div\n [id]=\"id\"\n class=\"s-fileupload\">\n <div class=\"s-fileupload-choose\">\n <input\n #inputUpload\n [id]=\"id+'input-upload'\"\n type=\"file\"\n name=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n (change)=\"onFileSelect($event.dataTransfer\n ? $event.dataTransfer.files\n : $event.target.files)\"> \n <s-button\n [id]=\"id + 'upload-button'\"\n [label]=\"chooseLabel\"\n (onClick)=\"inputUpload.click()\"\n priority=\"primary\"\n [disabled]=\"disabled || !!formGroup?.disabled\"\n [auxiliary]=\"false\">\n </s-button>\n </div>\n\n <section\n *ngIf=\"files.length\" \n [id]=\"id + 'fileupload-list'\"\n class=\"s-fileupload-list\"\n role=\"grid\">\n <ng-container *ngFor=\"let file of files; let i = index\">\n <div\n class=\"s-fileupload-list-file\"\n role=\"row\">\n <div\n [id]=\"id + '-file-' + i + '-name'\"\n class=\"s-fileupload-list-file-name\"\n role=\"gridcell\">\n <ng-container *ngTemplateOutlet=\"file.savedFile || file.progress === 100\n ? descriptionUrl\n : description; context: {\n $implicit: file,\n index: i\n }\">\n </ng-container>\n <span *ngIf=\"modifiedDate\" class=\"s-fileupload-list-file-name-date\">{{ modifiedDate }}</span>\n </div>\n <div\n class=\"s-fileupload-list-file-status\"\n role=\"gridcell\">\n <p-progressBar\n *ngIf=\"file.isUploading && !isSmallDevice\"\n [style]=\"{ 'width': '250px', 'background-color': '#d8d8d8', 'border-radius': '0px', 'height': '14px'}\"\n [value]=\"file.progress\"\n [showValue]=\"false\"\n role=\"alert\"\n [attr.aria-label]=\"ariaLabelProgress\">\n </p-progressBar>\n <span\n *ngIf=\"file.isUploading && isSmallDevice\" \n [id]=\"id + '-file-' + i + '-spin'\"\n class=\"fas fa-circle-notch fa-spin\"\n [attr.aria-label]=\"ariaLabelProgress\">\n </span>\n <span\n *ngIf=\"!file.isUploading && !file.error && file.progress === 100\"\n [id]=\"id + '-file-' + i + '-check'\"\n class=\"fas fa-check\"\n role=\"alert\"\n [attr.aria-label]=\"ariaLabelSuccess || successTooltip\"\n [pTooltip]=\"successTooltip\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n [appendTo]=\"'body'\">\n </span>\n <span\n *ngIf=\"file.error?.message\" \n [id]=\"id + '-file-' + i + '-error'\"\n class=\"fas fa-times\"\n role=\"alert\"\n [pTooltip]=\"file.error?.message\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n [appendTo]=\"'body'\">\n </span>\n </div>\n <div\n class=\"s-fileupload-list-file-actions\"\n role=\"gridcell\">\n <a\n *ngIf=\"file.isUploading\"\n [id]=\"id + '-file-' + i + '-cancel'\"\n class=\"s-fileupload-list-file-actions-action\"\n (click)=\"onCancelUpload(i)\">\n {{cancelLabel}}\n </a>\n <a\n *ngIf=\"!file.isUploading && !(disabled || !!formGroup?.disabled)\"\n role=\"button\"\n tabindex=\"0\"\n [id]=\"id + '-file-' + i + '-remove'\"\n class=\"s-fileupload-list-file-actions-action\"\n (click)=\"onRemoveFile(file)\"\n [attr.aria-label]=\"ariaLabelRemove || removeLabel\">\n {{removeLabel}}\n </a>\n </div>\n </div>\n </ng-container>\n </section>\n</div>\n\n<ng-template\n #descriptionUrl\n let-file\n let-i = index>\n <a\n [id]=\"id + '-file-' + i + '-name-link'\"\n tabindex=\"0\"\n (click)=\"onDowloadFile(i)\"\n [attr.aria-label]=\"ariaLabelFileName || file.name\">{{file.name}}\n </a>\n <a\n style=\"display: none;\"\n [href]=\"file.objectURL\"\n target=\"_blank\"\n download\n #anchor>\n </a>\n</ng-template>\n\n<ng-template\n #description\n let-file>\n <span\n tabindex=\"0\"\n [attr.aria-label]=\"ariaLabelFileName || file.name\">\n {{file.name}}\n </span>\n</ng-template>\n",
4843
+ template: "<div\n [id]=\"id\"\n class=\"s-fileupload\">\n <div class=\"s-fileupload-choose\">\n <input\n #inputUpload\n [id]=\"id+'input-upload'\"\n type=\"file\"\n name=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n (change)=\"onFileSelect($event.dataTransfer\n ? $event.dataTransfer.files\n : $event.target.files)\"> \n <s-button\n *ngIf=\"permissions.includes(ADD_PERMISSION)\"\n [id]=\"id + 'upload-button'\"\n [label]=\"chooseLabel\"\n (onClick)=\"inputUpload.click()\"\n priority=\"primary\"\n [disabled]=\"disabled || !!formGroup?.disabled\"\n [auxiliary]=\"false\">\n </s-button>\n </div>\n\n <section\n *ngIf=\"files.length\" \n [id]=\"id + 'fileupload-list'\"\n class=\"s-fileupload-list\"\n role=\"grid\">\n <ng-container *ngFor=\"let file of files; let i = index\">\n <div\n class=\"s-fileupload-list-file\"\n role=\"row\">\n <div\n [id]=\"id + '-file-' + i + '-name'\"\n class=\"s-fileupload-list-file-name\"\n role=\"gridcell\">\n <ng-container *ngTemplateOutlet=\"permissions.includes(READ_PERMISSION) && file.savedFile || file.progress === 100\n ? descriptionUrl\n : description; context: {\n $implicit: file,\n index: i\n }\">\n </ng-container>\n <span *ngIf=\"modifiedDate\" class=\"s-fileupload-list-file-name-date\">{{ modifiedDate }}</span>\n </div>\n <div\n class=\"s-fileupload-list-file-status\"\n role=\"gridcell\">\n <p-progressBar\n *ngIf=\"file.isUploading && !isSmallDevice\"\n [style]=\"{ 'width': '250px', 'background-color': '#d8d8d8', 'border-radius': '0px', 'height': '14px'}\"\n [value]=\"file.progress\"\n [showValue]=\"false\"\n role=\"alert\"\n [attr.aria-label]=\"ariaLabelProgress\">\n </p-progressBar>\n <span\n *ngIf=\"file.isUploading && isSmallDevice\" \n [id]=\"id + '-file-' + i + '-spin'\"\n class=\"fas fa-circle-notch fa-spin\"\n [attr.aria-label]=\"ariaLabelProgress\">\n </span>\n <span\n *ngIf=\"!file.isUploading && !file.error && file.progress === 100\"\n [id]=\"id + '-file-' + i + '-check'\"\n class=\"fas fa-check\"\n role=\"alert\"\n [attr.aria-label]=\"ariaLabelSuccess || successTooltip\"\n [pTooltip]=\"successTooltip\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n [appendTo]=\"'body'\">\n </span>\n <span\n *ngIf=\"file.error?.message\" \n [id]=\"id + '-file-' + i + '-error'\"\n class=\"fas fa-times\"\n role=\"alert\"\n [pTooltip]=\"file.error?.message\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n [appendTo]=\"'body'\">\n </span>\n </div>\n <div\n class=\"s-fileupload-list-file-actions\"\n role=\"gridcell\">\n <a\n *ngIf=\"file.isUploading\"\n [id]=\"id + '-file-' + i + '-cancel'\"\n class=\"s-fileupload-list-file-actions-action\"\n (click)=\"onCancelUpload(i)\">\n {{cancelLabel}}\n </a>\n <a\n *ngIf=\"permissions.includes(REMOVE_PERMISSION) && !file.isUploading && !(disabled || !!formGroup?.disabled)\"\n role=\"button\"\n tabindex=\"0\"\n [id]=\"id + '-file-' + i + '-remove'\"\n class=\"s-fileupload-list-file-actions-action\"\n (click)=\"onRemoveFile(file)\"\n [attr.aria-label]=\"ariaLabelRemove || removeLabel\">\n {{removeLabel}}\n </a>\n </div>\n </div>\n </ng-container>\n </section>\n</div>\n\n<ng-template\n #descriptionUrl\n let-file\n let-i = index>\n <a\n [id]=\"id + '-file-' + i + '-name-link'\"\n tabindex=\"0\"\n (click)=\"onDowloadFile(i)\"\n [attr.aria-label]=\"ariaLabelFileName || file.name\">{{file.name}}\n </a>\n <a\n style=\"display: none;\"\n [href]=\"file.objectURL\"\n target=\"_blank\"\n download\n #anchor>\n </a>\n</ng-template>\n\n<ng-template\n #description\n let-file>\n <span\n tabindex=\"0\"\n [attr.aria-label]=\"ariaLabelFileName || file.name\">\n {{file.name}}\n </span>\n</ng-template>\n",
4825
4844
  styles: [".s-fileupload .s-fileupload-choose{position:relative;margin:15px 0;width:-webkit-max-content;width:max-content}.s-fileupload input[type=file]{display:none}.s-fileupload-list{border:1px solid #ccc}.s-fileupload-list-file:not(:first-child){border-top:1px solid #ccc}.s-fileupload-list .s-fileupload-list-file{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;padding:15px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:center;align-self:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name .s-fileupload-list-file-name-date{font-size:.75rem;color:#999}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name>a{cursor:pointer;text-decoration:none}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-status{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.s-fileupload-list .s-fileupload-list-file .fas.fa-circle-notch{color:#d8d8d8;font-size:12px}.s-fileupload-list .s-fileupload-list-file .fas.fa-check{color:#0c9348;font-size:12px}.s-fileupload-list .s-fileupload-list-file .fas.fa-times{color:#c13018;font-size:12px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions{margin-top:15px;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;width:100%}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action{text-decoration:none;color:#428bca}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action :focus,.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action :visited,.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action:hover{text-decoration:none}@media (min-width:768px){.s-fileupload-list .s-fileupload-list-file{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name{width:auto;-ms-flex-positive:2;flex-grow:2}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-status{margin:0 15px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions{margin:0;width:auto}}"]
4826
4845
  })
4827
4846
  ], FileUploadComponent);
@@ -14163,6 +14182,738 @@ var CodeEditorModule = /** @class */ (function () {
14163
14182
  return CodeEditorModule;
14164
14183
  }());
14165
14184
 
14185
+ var TieredMenuEventService = /** @class */ (function () {
14186
+ function TieredMenuEventService() {
14187
+ this.incrementCurrentItemEvent = new EventEmitter();
14188
+ this.decrementCurrentItemEvent = new EventEmitter();
14189
+ this.closeAllMenusEvent = new EventEmitter();
14190
+ this.selectItemEvent = new EventEmitter();
14191
+ this.openItemMenuEvent = new EventEmitter();
14192
+ this.closeItemMenuEvent = new EventEmitter();
14193
+ this.createMenuEvent = new EventEmitter();
14194
+ }
14195
+ TieredMenuEventService.prototype.emitIncrementCurrentItemEvent = function () {
14196
+ this.incrementCurrentItemEvent.emit();
14197
+ };
14198
+ TieredMenuEventService.prototype.emitDecrementCurrentItemEvent = function () {
14199
+ this.decrementCurrentItemEvent.emit();
14200
+ };
14201
+ TieredMenuEventService.prototype.emitCloseAllMenusEvent = function () {
14202
+ this.closeAllMenusEvent.emit();
14203
+ };
14204
+ TieredMenuEventService.prototype.emitSelectItemEvent = function (item) {
14205
+ this.selectItemEvent.emit(item);
14206
+ };
14207
+ TieredMenuEventService.prototype.emitOpenItemMenuEvent = function (item) {
14208
+ this.openItemMenuEvent.emit(item);
14209
+ };
14210
+ TieredMenuEventService.prototype.emitCloseItemMenuEvent = function (item) {
14211
+ this.closeItemMenuEvent.emit(item);
14212
+ };
14213
+ TieredMenuEventService.prototype.emitCreateMenuEvent = function (item) {
14214
+ this.createMenuEvent.emit(item);
14215
+ };
14216
+ TieredMenuEventService = __decorate([
14217
+ Injectable()
14218
+ ], TieredMenuEventService);
14219
+ return TieredMenuEventService;
14220
+ }());
14221
+
14222
+ var TieredMenuService = /** @class */ (function () {
14223
+ function TieredMenuService() {
14224
+ }
14225
+ TieredMenuService.prototype.normalizeData = function (items, parent) {
14226
+ var _this = this;
14227
+ return items.map(function (i) {
14228
+ if (i.submenu) {
14229
+ i.submenu = _this.normalizeData(i.submenu, i);
14230
+ }
14231
+ i.id = "id-" + Math.random().toString(36).substring(2, 9) + "-" + Date.now().toString(36);
14232
+ i.parent = parent;
14233
+ i.isOpen = false;
14234
+ return i;
14235
+ });
14236
+ };
14237
+ TieredMenuService.prototype.markAllItemsAsClosed = function (items) {
14238
+ var _this = this;
14239
+ return items.map(function (item) {
14240
+ if (item.submenu) {
14241
+ item.submenu = _this.markAllItemsAsClosed(item.submenu);
14242
+ }
14243
+ item.isOpen = false;
14244
+ return item;
14245
+ });
14246
+ };
14247
+ TieredMenuService.prototype.searchTheHierarchy = function (item1, item2) {
14248
+ var itemAux = item2;
14249
+ while (itemAux) {
14250
+ if (itemAux === item1) {
14251
+ return true;
14252
+ }
14253
+ itemAux = itemAux.parent;
14254
+ }
14255
+ return false;
14256
+ };
14257
+ TieredMenuService = __decorate([
14258
+ Injectable()
14259
+ ], TieredMenuService);
14260
+ return TieredMenuService;
14261
+ }());
14262
+
14263
+ var TieredMenuNestedComponent = /** @class */ (function () {
14264
+ function TieredMenuNestedComponent(tieredMenuService, _tieredMenuEventService) {
14265
+ this.tieredMenuService = tieredMenuService;
14266
+ this._tieredMenuEventService = _tieredMenuEventService;
14267
+ this.top = 0;
14268
+ this.maxHeight = 0;
14269
+ this._unsubscribe$ = new Subject();
14270
+ }
14271
+ TieredMenuNestedComponent.prototype.ngOnInit = function () {
14272
+ this.tieredMenuService.currentItems = this.items;
14273
+ this._subscribeEvents();
14274
+ };
14275
+ TieredMenuNestedComponent.prototype.ngOnDestroy = function () {
14276
+ this._unsubscribe$.next();
14277
+ this._unsubscribe$.complete();
14278
+ };
14279
+ TieredMenuNestedComponent.prototype._incrementCurItem = function () {
14280
+ if (!this.tieredMenuService.currentItem) {
14281
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];
14282
+ return;
14283
+ }
14284
+ var curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) + 1;
14285
+ if (curIndex < this.tieredMenuService.currentItems.length) {
14286
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];
14287
+ }
14288
+ else {
14289
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];
14290
+ }
14291
+ if (this.tieredMenuService.currentItem.divider) {
14292
+ this._incrementCurItem();
14293
+ }
14294
+ };
14295
+ TieredMenuNestedComponent.prototype._decrementCurItem = function () {
14296
+ if (!this.tieredMenuService.currentItem) {
14297
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];
14298
+ return;
14299
+ }
14300
+ var curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) - 1;
14301
+ if (curIndex >= 0) {
14302
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];
14303
+ }
14304
+ else {
14305
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[this.tieredMenuService.currentItems.length - 1];
14306
+ }
14307
+ if (this.tieredMenuService.currentItem.divider) {
14308
+ this._decrementCurItem();
14309
+ }
14310
+ };
14311
+ TieredMenuNestedComponent.prototype._closeItem = function (item) {
14312
+ var _a;
14313
+ var itemAux = this._lastOpenItem;
14314
+ while (itemAux && itemAux != item) {
14315
+ itemAux.isOpen = false;
14316
+ itemAux = itemAux.parent;
14317
+ }
14318
+ item.isOpen = false;
14319
+ this.tieredMenuService.currentItem = itemAux !== null && itemAux !== void 0 ? itemAux : this.tieredMenuService.items[0];
14320
+ this.tieredMenuService.currentItems = ((_a = itemAux === null || itemAux === void 0 ? void 0 : itemAux.parent) === null || _a === void 0 ? void 0 : _a.submenu) || this.tieredMenuService.items;
14321
+ };
14322
+ TieredMenuNestedComponent.prototype._openItem = function (item) {
14323
+ if (item === null || item === void 0 ? void 0 : item.submenu) {
14324
+ item.isOpen = true;
14325
+ this.tieredMenuService.currentItems = item.submenu;
14326
+ // Only has focus if there has already been interaction.
14327
+ if (this.tieredMenuService.currentItem) {
14328
+ this.tieredMenuService.currentItem = item.submenu[0];
14329
+ }
14330
+ this._lastOpenItem = item;
14331
+ }
14332
+ };
14333
+ TieredMenuNestedComponent.prototype._subscribeEvents = function () {
14334
+ var _this = this;
14335
+ this._tieredMenuEventService.incrementCurrentItemEvent
14336
+ .pipe(takeUntil(this._unsubscribe$))
14337
+ .subscribe(function () {
14338
+ _this._incrementCurItem();
14339
+ });
14340
+ this._tieredMenuEventService.decrementCurrentItemEvent
14341
+ .pipe(takeUntil(this._unsubscribe$))
14342
+ .subscribe(function () {
14343
+ _this._decrementCurItem();
14344
+ });
14345
+ this._tieredMenuEventService.selectItemEvent
14346
+ .pipe(takeUntil(this._unsubscribe$))
14347
+ .subscribe(function (item) {
14348
+ if (item.command) {
14349
+ item.command();
14350
+ // Close all menus after the item was selected.
14351
+ _this._tieredMenuEventService.emitCloseAllMenusEvent();
14352
+ }
14353
+ });
14354
+ this._tieredMenuEventService.openItemMenuEvent
14355
+ .pipe(takeUntil(this._unsubscribe$))
14356
+ .subscribe(function (item) {
14357
+ var _a, _b;
14358
+ if (!_this.tieredMenuService.currentItems.includes(item)) {
14359
+ var itemAux = _this._lastOpenItem;
14360
+ while ((_a = itemAux === null || itemAux === void 0 ? void 0 : itemAux.parent) === null || _a === void 0 ? void 0 : _a.parent) {
14361
+ itemAux = itemAux.parent;
14362
+ }
14363
+ _this._tieredMenuEventService.emitCloseItemMenuEvent((_b = itemAux.parent) !== null && _b !== void 0 ? _b : itemAux);
14364
+ }
14365
+ _this._lastOpenItem = item;
14366
+ _this._openItem(item);
14367
+ });
14368
+ this._tieredMenuEventService.closeItemMenuEvent
14369
+ .pipe(takeUntil(this._unsubscribe$))
14370
+ .subscribe(function (item) {
14371
+ if (item) {
14372
+ _this._closeItem(item);
14373
+ }
14374
+ });
14375
+ };
14376
+ TieredMenuNestedComponent.ctorParameters = function () { return [
14377
+ { type: TieredMenuService },
14378
+ { type: TieredMenuEventService }
14379
+ ]; };
14380
+ TieredMenuNestedComponent = __decorate([
14381
+ Component({
14382
+ template: "<div\n class=\"menu menu--nested\"\n [ngStyle]=\"{\n 'top': top + 'px',\n 'max-height': maxHeight + 'px'\n }\">\n <ng-container *ngTemplateOutlet=\"itemsTemplate; context: { $implicit: items }\"></ng-container>\n</div>\n\n<ng-template #itemsTemplate let-items>\n <div *ngFor=\"let item of items\">\n <s-tiered-menu-item\n *ngIf=\"!item.divider\"\n [item]=\"item\"\n [focused]=\"item === tieredMenuService.currentItem\"\n [closeOnClick]=\"true\">\n </s-tiered-menu-item>\n\n <s-tiered-menu-divider *ngIf=\"item.divider\"></s-tiered-menu-divider>\n\n <div *ngIf=\"item.submenu && item.isOpen\">\n <div class=\"submenu\">\n <ng-container *ngTemplateOutlet=\"itemsTemplate; context: { $implicit: item.submenu }\"></ng-container>\n </div>\n </div>\n </div>\n</ng-template>\n",
14383
+ styles: [".menu{background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;min-width:176px;padding:4px 0;position:fixed;z-index:9999;overflow:auto}.menu--nested{width:90vw;margin:0 5vw}.menu .submenu{margin-left:24px}"]
14384
+ })
14385
+ ], TieredMenuNestedComponent);
14386
+ return TieredMenuNestedComponent;
14387
+ }());
14388
+
14389
+ var TieredMenuComponent = /** @class */ (function () {
14390
+ function TieredMenuComponent(_appRef, _componentFactoryResolver, _injector, tieredMenuService, _tieredMenuEventService) {
14391
+ this._appRef = _appRef;
14392
+ this._componentFactoryResolver = _componentFactoryResolver;
14393
+ this._injector = _injector;
14394
+ this.tieredMenuService = tieredMenuService;
14395
+ this._tieredMenuEventService = _tieredMenuEventService;
14396
+ this.top = 0;
14397
+ this.left = 0;
14398
+ this.menuTriggerEvent = "hover";
14399
+ this._componentRef = null;
14400
+ this._unsubscribe$ = new Subject();
14401
+ this.destroyRequest = new EventEmitter();
14402
+ }
14403
+ TieredMenuComponent_1 = TieredMenuComponent;
14404
+ TieredMenuComponent.prototype.ngOnInit = function () {
14405
+ this.tieredMenuService.currentItems = this.items;
14406
+ this._subscribeEvents();
14407
+ };
14408
+ TieredMenuComponent.prototype.ngOnDestroy = function () {
14409
+ this._unsubscribe$.next();
14410
+ this._unsubscribe$.complete();
14411
+ };
14412
+ TieredMenuComponent.prototype._incrementCurItem = function () {
14413
+ if (!this.tieredMenuService.currentItem) {
14414
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];
14415
+ return;
14416
+ }
14417
+ else if (!this.items.includes(this.tieredMenuService.currentItem)) {
14418
+ // Checking if it is the current menu.
14419
+ return;
14420
+ }
14421
+ var currentIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) + 1;
14422
+ if (currentIndex < this.tieredMenuService.currentItems.length) {
14423
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[currentIndex];
14424
+ }
14425
+ else {
14426
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];
14427
+ }
14428
+ if (this.tieredMenuService.currentItem.divider) {
14429
+ this._incrementCurItem();
14430
+ }
14431
+ };
14432
+ TieredMenuComponent.prototype._decrementCurItem = function () {
14433
+ if (!this.tieredMenuService.currentItem) {
14434
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];
14435
+ return;
14436
+ // Checking if it is the current menu.
14437
+ }
14438
+ else if (!this.items.includes(this.tieredMenuService.currentItem)) {
14439
+ return;
14440
+ }
14441
+ var curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) - 1;
14442
+ if (curIndex >= 0) {
14443
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];
14444
+ }
14445
+ else {
14446
+ this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[this.tieredMenuService.currentItems.length - 1];
14447
+ }
14448
+ if (this.tieredMenuService.currentItem.divider) {
14449
+ this._decrementCurItem();
14450
+ }
14451
+ };
14452
+ TieredMenuComponent.prototype._createMenu = function (items, position) {
14453
+ var _this = this;
14454
+ if (!this._componentRef && items) {
14455
+ var componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuComponent_1);
14456
+ this._componentRef = componentFactory.create(this._injector);
14457
+ this._appRef.attachView(this._componentRef.hostView);
14458
+ var domElem = this._componentRef.hostView.rootNodes[0];
14459
+ document.body.appendChild(domElem);
14460
+ // Setting the menu items.
14461
+ this._componentRef.instance.items = items;
14462
+ // Subscribe menu events.
14463
+ this._componentRef.instance.destroyRequest
14464
+ .subscribe(function (propagate) {
14465
+ _this._destroy(propagate);
14466
+ });
14467
+ this._menuDivElement = domElem.querySelector(".menu");
14468
+ this._setMenuPosition(position);
14469
+ }
14470
+ };
14471
+ TieredMenuComponent.prototype._destroy = function (propagate) {
14472
+ if (propagate === void 0) { propagate = true; }
14473
+ if (this._componentRef !== null) {
14474
+ this._appRef.detachView(this._componentRef.hostView);
14475
+ this._componentRef.destroy();
14476
+ this._componentRef = null;
14477
+ this._menuDivElement = null;
14478
+ }
14479
+ if (propagate) {
14480
+ this.destroyRequest.emit();
14481
+ }
14482
+ };
14483
+ TieredMenuComponent.prototype._setMenuPosition = function (position) {
14484
+ var _a;
14485
+ if (this._componentRef !== null) {
14486
+ var top_1 = position.top, right = position.right, bottom = position.bottom, left = position.left;
14487
+ // I need to calculate the height of the component because the internal elements have not been created yet.
14488
+ var menuHeight = ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) * 40;
14489
+ var menuWidth = this._menuDivElement.getBoundingClientRect().width;
14490
+ var rightFreeSpace = document.body.clientWidth - right;
14491
+ var bottomFreeSpace = document.body.clientHeight - bottom;
14492
+ if (rightFreeSpace > menuWidth) {
14493
+ this._componentRef.instance.left = right;
14494
+ }
14495
+ else {
14496
+ this._componentRef.instance.left = left - menuWidth;
14497
+ }
14498
+ if (bottomFreeSpace <= menuHeight) {
14499
+ this._componentRef.instance.top = top_1 - menuHeight;
14500
+ }
14501
+ else {
14502
+ this._componentRef.instance.top = top_1;
14503
+ }
14504
+ }
14505
+ };
14506
+ TieredMenuComponent.prototype._subscribeEvents = function () {
14507
+ var _this = this;
14508
+ // Increment current item event.
14509
+ this._tieredMenuEventService.incrementCurrentItemEvent
14510
+ .pipe(takeUntil(this._unsubscribe$))
14511
+ .subscribe(function () {
14512
+ _this._incrementCurItem();
14513
+ });
14514
+ // Decrement current item event.
14515
+ this._tieredMenuEventService.decrementCurrentItemEvent
14516
+ .pipe(takeUntil(this._unsubscribe$))
14517
+ .subscribe(function () {
14518
+ _this._decrementCurItem();
14519
+ });
14520
+ // Select item event.
14521
+ this._tieredMenuEventService.selectItemEvent
14522
+ .pipe(takeUntil(this._unsubscribe$))
14523
+ .subscribe(function (item) {
14524
+ if (item.submenu) {
14525
+ _this._tieredMenuEventService.emitOpenItemMenuEvent(item);
14526
+ }
14527
+ else if (item.command) {
14528
+ _this._tieredMenuEventService.emitCloseAllMenusEvent();
14529
+ item.command();
14530
+ }
14531
+ });
14532
+ // Close all menus event.
14533
+ this._tieredMenuEventService.closeAllMenusEvent
14534
+ .pipe(takeUntil(this._unsubscribe$))
14535
+ .subscribe(function () {
14536
+ _this._destroy();
14537
+ _this.tieredMenuService.currentItem = null;
14538
+ _this.tieredMenuService.currentItems = _this.tieredMenuService.items;
14539
+ });
14540
+ // Open item menu event.
14541
+ this._tieredMenuEventService.openItemMenuEvent
14542
+ .pipe(takeUntil(this._unsubscribe$))
14543
+ .subscribe(function (item) {
14544
+ item.isOpen = false;
14545
+ if (_this.tieredMenuService.currentItem) {
14546
+ if (_this.tieredMenuService.currentItem.parent === item) {
14547
+ return;
14548
+ }
14549
+ if (!_this.tieredMenuService.searchTheHierarchy(_this.tieredMenuService.currentItem.parent, item)) {
14550
+ var itemAux = _this.tieredMenuService.currentItem;
14551
+ while (itemAux.parent !== item.parent) {
14552
+ _this._tieredMenuEventService.emitCloseItemMenuEvent(itemAux);
14553
+ itemAux = itemAux.parent;
14554
+ }
14555
+ }
14556
+ }
14557
+ if (item.submenu) {
14558
+ if (!item.isOpen) {
14559
+ var _a = document
14560
+ .querySelector("#" + item.id)
14561
+ .getBoundingClientRect(), top_2 = _a.top, right = _a.right, left = _a.left, bottom = _a.bottom;
14562
+ var position = { top: top_2, right: right, left: left, bottom: bottom };
14563
+ if (_this.items.includes(item)) {
14564
+ _this._createMenu(item.submenu, position);
14565
+ _this.tieredMenuService.currentItems = item.submenu;
14566
+ _this.tieredMenuService.currentItem = item.submenu[0];
14567
+ }
14568
+ }
14569
+ }
14570
+ });
14571
+ // Close item menu event.
14572
+ this._tieredMenuEventService.closeItemMenuEvent
14573
+ .pipe(takeUntil(this._unsubscribe$))
14574
+ .subscribe(function (item) {
14575
+ var _a, _b;
14576
+ if (_this.items.includes(item)) {
14577
+ item.isOpen = false;
14578
+ _this.tieredMenuService.currentItems = ((_b = (_a = item === null || item === void 0 ? void 0 : item.parent) === null || _a === void 0 ? void 0 : _a.parent) === null || _b === void 0 ? void 0 : _b.submenu) || _this.tieredMenuService.items;
14579
+ _this.tieredMenuService.currentItem = item.parent;
14580
+ _this.destroyRequest.emit(false);
14581
+ }
14582
+ });
14583
+ };
14584
+ var TieredMenuComponent_1;
14585
+ TieredMenuComponent.ctorParameters = function () { return [
14586
+ { type: ApplicationRef },
14587
+ { type: ComponentFactoryResolver },
14588
+ { type: Injector },
14589
+ { type: TieredMenuService },
14590
+ { type: TieredMenuEventService }
14591
+ ]; };
14592
+ __decorate([
14593
+ Output()
14594
+ ], TieredMenuComponent.prototype, "destroyRequest", void 0);
14595
+ TieredMenuComponent = TieredMenuComponent_1 = __decorate([
14596
+ Component({
14597
+ selector: "s-tiered-menu",
14598
+ template: "<div class=\"menu\" [ngStyle]=\"{\n 'left': left + 'px',\n 'top': top + 'px'\n }\">\n\n <div *ngFor=\"let item of items\">\n <s-tiered-menu-item\n *ngIf=\"!item.divider\"\n [item]=\"item\"\n [focused]=\"item === tieredMenuService.currentItem\"\n triggerEvent=\"hover\"\n [closeOnClick]=\"false\">\n </s-tiered-menu-item>\n <s-tiered-menu-divider *ngIf=\"item.divider\"></s-tiered-menu-divider>\n </div>\n</div>",
14599
+ styles: [".menu{background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;min-width:176px;padding:4px 0;position:fixed;z-index:9999}"]
14600
+ })
14601
+ ], TieredMenuComponent);
14602
+ return TieredMenuComponent;
14603
+ }());
14604
+
14605
+ var TieredMenuDirective = /** @class */ (function () {
14606
+ function TieredMenuDirective(_elementRef, _appRef, _componentFactoryResolver, _injector, _tieredMenuEventService, _tieredMenuService) {
14607
+ this._elementRef = _elementRef;
14608
+ this._appRef = _appRef;
14609
+ this._componentFactoryResolver = _componentFactoryResolver;
14610
+ this._injector = _injector;
14611
+ this._tieredMenuEventService = _tieredMenuEventService;
14612
+ this._tieredMenuService = _tieredMenuService;
14613
+ this._componentRef = null;
14614
+ this._isNested = false;
14615
+ this._isOpen = false;
14616
+ this._unsubscribe$ = new Subject();
14617
+ this.alwaysOpen = false;
14618
+ this.triggerEvent = "click";
14619
+ }
14620
+ TieredMenuDirective.prototype.ngOnInit = function () {
14621
+ this._tieredMenuService.items = this._tieredMenuService.normalizeData(this.items);
14622
+ this._tieredMenuService.currentItems = this._tieredMenuService.items;
14623
+ this._tieredMenuService.currentItem = this._tieredMenuService.items[0];
14624
+ this._subscribeEvents();
14625
+ };
14626
+ TieredMenuDirective.prototype.ngAfterViewInit = function () {
14627
+ var _this = this;
14628
+ // setTimeout to create the menu after creating the elements.
14629
+ if (this.alwaysOpen) {
14630
+ setTimeout(function () {
14631
+ _this._createMenu();
14632
+ }, 0);
14633
+ }
14634
+ };
14635
+ TieredMenuDirective.prototype.ngOnDestroy = function () {
14636
+ this._unsubscribe$.next();
14637
+ this._unsubscribe$.complete();
14638
+ this._destroy();
14639
+ };
14640
+ TieredMenuDirective.prototype.onResize = function () {
14641
+ if (!this.alwaysOpen) {
14642
+ this._tieredMenuEventService.emitCloseAllMenusEvent();
14643
+ }
14644
+ };
14645
+ TieredMenuDirective.prototype.onKeydownHandler = function (event) {
14646
+ if (!this._isOpen)
14647
+ return;
14648
+ switch (event.key) {
14649
+ case "Escape":
14650
+ this._tieredMenuEventService.emitCloseAllMenusEvent();
14651
+ break;
14652
+ case " ":
14653
+ case "Enter":
14654
+ this._tieredMenuEventService.emitSelectItemEvent(this._tieredMenuService.currentItem);
14655
+ break;
14656
+ case "ArrowLeft":
14657
+ // When nested I need a reference to the current item's parent item, otherwise just the current item.
14658
+ this._tieredMenuEventService.emitCloseItemMenuEvent(this._isNested ? this._tieredMenuService.currentItem.parent : this._tieredMenuService.currentItem);
14659
+ break;
14660
+ case "ArrowRight":
14661
+ this._tieredMenuEventService.emitOpenItemMenuEvent(this._tieredMenuService.currentItem);
14662
+ break;
14663
+ case "ArrowUp":
14664
+ this._tieredMenuEventService.emitDecrementCurrentItemEvent();
14665
+ break;
14666
+ case "ArrowDown":
14667
+ this._tieredMenuEventService.emitIncrementCurrentItemEvent();
14668
+ break;
14669
+ }
14670
+ };
14671
+ TieredMenuDirective.prototype.onClick = function (event) {
14672
+ if (this.triggerEvent === "click" && this.items && this.items && !this._isOpen) {
14673
+ this._lastActiveElement = document.activeElement;
14674
+ this._createMenu();
14675
+ event.preventDefault();
14676
+ event.stopPropagation();
14677
+ }
14678
+ };
14679
+ TieredMenuDirective.prototype.onDocumentClick = function (event) {
14680
+ // Closing menu when clicked outside.
14681
+ var target = event.target;
14682
+ var clickedInside = target.closest("s-tiered-menu-item") || target.closest("s-tiered-menu-divider");
14683
+ if (!clickedInside) {
14684
+ this._tieredMenuEventService.emitCloseAllMenusEvent();
14685
+ }
14686
+ };
14687
+ TieredMenuDirective.prototype._createMenu = function () {
14688
+ var _a;
14689
+ if (!this._componentRef && this.items) {
14690
+ (_a = this._lastActiveElement) === null || _a === void 0 ? void 0 : _a.blur();
14691
+ this._isOpen = true;
14692
+ this._isNested = document.body.clientWidth < 600;
14693
+ this._isNested ? this._createNestedMenu() : this._createTieredMenu();
14694
+ }
14695
+ };
14696
+ TieredMenuDirective.prototype._createTieredMenu = function () {
14697
+ var _this = this;
14698
+ if (!this._componentRef && this.items) {
14699
+ var componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuComponent);
14700
+ this._componentRef = componentFactory.create(this._injector);
14701
+ this._appRef.attachView(this._componentRef.hostView);
14702
+ var domElem = this._componentRef.hostView.rootNodes[0];
14703
+ document.body.appendChild(domElem);
14704
+ this._setMenuComponentProperties();
14705
+ this._componentRef.instance.destroyRequest
14706
+ .pipe(takeUntil(this._unsubscribe$))
14707
+ .subscribe(function () {
14708
+ _this._destroy();
14709
+ });
14710
+ this._menuDivElement = domElem.querySelector(".menu");
14711
+ this._setMenuPosition();
14712
+ }
14713
+ };
14714
+ TieredMenuDirective.prototype._createNestedMenu = function () {
14715
+ if (!this._componentRef && this.items) {
14716
+ var componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuNestedComponent);
14717
+ this._componentRef = componentFactory.create(this._injector);
14718
+ this._appRef.attachView(this._componentRef.hostView);
14719
+ var domElem = this._componentRef.hostView.rootNodes[0];
14720
+ document.body.appendChild(domElem);
14721
+ this._setMenuComponentProperties();
14722
+ this._menuDivElement = domElem.querySelector(".menu");
14723
+ this._setMenuPosition();
14724
+ }
14725
+ };
14726
+ TieredMenuDirective.prototype._destroy = function () {
14727
+ var _a;
14728
+ if (this._componentRef !== null && !this.alwaysOpen) {
14729
+ this._isOpen = false;
14730
+ window.clearTimeout(this._showTimeout);
14731
+ this._appRef.detachView(this._componentRef.hostView);
14732
+ this._componentRef.destroy();
14733
+ this._componentRef = null;
14734
+ this._menuDivElement = null;
14735
+ (_a = this._lastActiveElement) === null || _a === void 0 ? void 0 : _a.focus();
14736
+ this._tieredMenuService.currentItems = this._tieredMenuService.items;
14737
+ this._tieredMenuService.currentItem = this._tieredMenuService.items[0];
14738
+ }
14739
+ };
14740
+ TieredMenuDirective.prototype._setMenuPosition = function () {
14741
+ if (this._componentRef !== null) {
14742
+ var _a = this._elementRef.nativeElement.getBoundingClientRect(), right = _a.right, bottom = _a.bottom, left = _a.left;
14743
+ var menuWidth = this._menuDivElement.getBoundingClientRect().width;
14744
+ var rightFreeSpace = document.body.clientWidth - right;
14745
+ var topPosition = bottom + 2;
14746
+ this._componentRef.instance.top = topPosition;
14747
+ if (!this._isNested) {
14748
+ if (rightFreeSpace > menuWidth) {
14749
+ this._componentRef.instance.left = left;
14750
+ }
14751
+ else {
14752
+ this._componentRef.instance.left = left - menuWidth;
14753
+ }
14754
+ }
14755
+ else {
14756
+ // setting the maximum menu size to ensure its content is always visible. 10px margin.
14757
+ this._componentRef.instance.maxHeight = window.innerHeight - topPosition - 10;
14758
+ }
14759
+ }
14760
+ };
14761
+ TieredMenuDirective.prototype._setMenuComponentProperties = function () {
14762
+ if (this._componentRef != null) {
14763
+ this._componentRef.instance.items = this.items;
14764
+ }
14765
+ };
14766
+ TieredMenuDirective.prototype._subscribeEvents = function () {
14767
+ var _this = this;
14768
+ this._tieredMenuEventService.closeAllMenusEvent
14769
+ .pipe(takeUntil(this._unsubscribe$))
14770
+ .subscribe(function () {
14771
+ _this.items = _this._tieredMenuService.markAllItemsAsClosed(_this.items);
14772
+ _this._destroy();
14773
+ });
14774
+ };
14775
+ TieredMenuDirective.ctorParameters = function () { return [
14776
+ { type: ElementRef },
14777
+ { type: ApplicationRef },
14778
+ { type: ComponentFactoryResolver },
14779
+ { type: Injector },
14780
+ { type: TieredMenuEventService },
14781
+ { type: TieredMenuService }
14782
+ ]; };
14783
+ __decorate([
14784
+ Input()
14785
+ ], TieredMenuDirective.prototype, "items", void 0);
14786
+ __decorate([
14787
+ Input()
14788
+ ], TieredMenuDirective.prototype, "alwaysOpen", void 0);
14789
+ __decorate([
14790
+ Input()
14791
+ ], TieredMenuDirective.prototype, "triggerEvent", void 0);
14792
+ __decorate([
14793
+ HostListener("window:resize")
14794
+ ], TieredMenuDirective.prototype, "onResize", null);
14795
+ __decorate([
14796
+ HostListener("document:keydown", ["$event"])
14797
+ ], TieredMenuDirective.prototype, "onKeydownHandler", null);
14798
+ __decorate([
14799
+ HostListener("click", ["$event"])
14800
+ ], TieredMenuDirective.prototype, "onClick", null);
14801
+ __decorate([
14802
+ HostListener("document:click", ["$event"])
14803
+ ], TieredMenuDirective.prototype, "onDocumentClick", null);
14804
+ TieredMenuDirective = __decorate([
14805
+ Directive({
14806
+ selector: "[sTieredMenu]",
14807
+ })
14808
+ ], TieredMenuDirective);
14809
+ return TieredMenuDirective;
14810
+ }());
14811
+
14812
+ var TieredMenuItemComponent = /** @class */ (function () {
14813
+ function TieredMenuItemComponent(_tieredMenuEventService) {
14814
+ this._tieredMenuEventService = _tieredMenuEventService;
14815
+ this.focused = false;
14816
+ this.triggerEvent = "click";
14817
+ this.closeOnClick = false;
14818
+ }
14819
+ TieredMenuItemComponent.prototype.onClick = function () {
14820
+ if (this.item.submenu) {
14821
+ if (!this.item.isOpen) {
14822
+ this._tieredMenuEventService.emitOpenItemMenuEvent(this.item);
14823
+ }
14824
+ else if (this.closeOnClick) {
14825
+ this._tieredMenuEventService.emitCloseItemMenuEvent(this.item);
14826
+ }
14827
+ }
14828
+ else {
14829
+ this._tieredMenuEventService.emitSelectItemEvent(this.item);
14830
+ }
14831
+ };
14832
+ TieredMenuItemComponent.prototype.onMouseEnter = function () {
14833
+ var _this = this;
14834
+ if (this.triggerEvent === "hover" && !this.item.isOpen) {
14835
+ this._showTimeout = window.setTimeout(function () {
14836
+ _this._tieredMenuEventService.emitOpenItemMenuEvent(_this.item);
14837
+ }, 300);
14838
+ }
14839
+ };
14840
+ TieredMenuItemComponent.prototype.onMouseLeave = function () {
14841
+ window.clearTimeout(this._showTimeout);
14842
+ };
14843
+ TieredMenuItemComponent.ctorParameters = function () { return [
14844
+ { type: TieredMenuEventService }
14845
+ ]; };
14846
+ __decorate([
14847
+ Input()
14848
+ ], TieredMenuItemComponent.prototype, "item", void 0);
14849
+ __decorate([
14850
+ Input()
14851
+ ], TieredMenuItemComponent.prototype, "focused", void 0);
14852
+ __decorate([
14853
+ Input()
14854
+ ], TieredMenuItemComponent.prototype, "triggerEvent", void 0);
14855
+ __decorate([
14856
+ Input()
14857
+ ], TieredMenuItemComponent.prototype, "closeOnClick", void 0);
14858
+ __decorate([
14859
+ HostListener("click"),
14860
+ HostListener("touchend")
14861
+ ], TieredMenuItemComponent.prototype, "onClick", null);
14862
+ __decorate([
14863
+ HostListener("mouseenter")
14864
+ ], TieredMenuItemComponent.prototype, "onMouseEnter", null);
14865
+ __decorate([
14866
+ HostListener("mouseleave")
14867
+ ], TieredMenuItemComponent.prototype, "onMouseLeave", null);
14868
+ TieredMenuItemComponent = __decorate([
14869
+ Component({
14870
+ selector: "s-tiered-menu-item",
14871
+ template: "<div\n [id]=\"item.id\"\n class=\"tiered-menu-item\"\n [ngClass]=\"{\n 'tiered-menu-item--open': item.isOpen,\n 'tiered-menu-item--focused': focused\n }\">\n <div class=\"tiered-menu-item-content\">\n <span class=\"icon\" [ngClass]=\"item.iconClass\"></span>\n <span class=\"label\">{{ item.label }}</span>\n </div>\n <span\n *ngIf=\"item.submenu\"\n class=\"submenu-icon\"\n [ngClass]=\"{\n 'fas': true,\n 'fa-chevron-left': item.isOpen,\n 'fa-chevron-right': !item.isOpen\n }\">\n </span>\n</div>",
14872
+ styles: [".tiered-menu-item{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:8px 16px;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.tiered-menu-item .tiered-menu-item-content .label{margin:0 12px}.tiered-menu-item:hover{background-color:#e9e6e6}.tiered-menu-item--focused{background-color:#ccc!important}.tiered-menu-item--open{background-color:#e4e2e2}"]
14873
+ })
14874
+ ], TieredMenuItemComponent);
14875
+ return TieredMenuItemComponent;
14876
+ }());
14877
+
14878
+ var TieredMenuDividerComponent = /** @class */ (function () {
14879
+ function TieredMenuDividerComponent() {
14880
+ }
14881
+ TieredMenuDividerComponent = __decorate([
14882
+ Component({
14883
+ selector: "s-tiered-menu-divider",
14884
+ template: "<div class=\"divider\"></div>",
14885
+ styles: [".divider{margin:2px 0;height:1px;background-color:#ccc}"]
14886
+ })
14887
+ ], TieredMenuDividerComponent);
14888
+ return TieredMenuDividerComponent;
14889
+ }());
14890
+
14891
+ var TieredMenuModule = /** @class */ (function () {
14892
+ function TieredMenuModule() {
14893
+ }
14894
+ TieredMenuModule = __decorate([
14895
+ NgModule({
14896
+ imports: [
14897
+ CommonModule,
14898
+ BrowserModule,
14899
+ ],
14900
+ declarations: [
14901
+ TieredMenuDirective,
14902
+ TieredMenuComponent,
14903
+ TieredMenuNestedComponent,
14904
+ TieredMenuItemComponent,
14905
+ TieredMenuDividerComponent,
14906
+ ],
14907
+ exports: [TieredMenuDirective],
14908
+ providers: [
14909
+ TieredMenuEventService,
14910
+ TieredMenuService,
14911
+ ],
14912
+ })
14913
+ ], TieredMenuModule);
14914
+ return TieredMenuModule;
14915
+ }());
14916
+
14166
14917
  var WorkspaceSwitchComponent = /** @class */ (function () {
14167
14918
  function WorkspaceSwitchComponent(eRef) {
14168
14919
  this.eRef = eRef;
@@ -14806,5 +15557,5 @@ var fallback = {
14806
15557
  * Generated bundle index. Do not edit.
14807
15558
  */
14808
15559
 
14809
- export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, 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, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, 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, Section, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, SelectFieldComponent as ɵba, TextAreaFieldComponent as ɵbb, TextFieldComponent as ɵbc, BooleanSwitchFieldComponent as ɵbd, PasswordFieldComponent as ɵbe, SliderFieldComponent as ɵbf, DecimalField as ɵbh, SideTableComponent as ɵbi, StructureModule as ɵbj, HeaderComponent as ɵbk, FooterComponent as ɵbl, NumberLocaleOptions as ɵbm, ThumbnailService as ɵbn, BorderButtonModule as ɵbo, BorderButtonComponent as ɵbp, TimelineItemModule as ɵbq, TimelineIconItemComponent as ɵbr, HorizontalTimelineModule as ɵbs, HorizontalTimelineComponent as ɵbt, VerticalTimelineModule as ɵbu, VerticalTimelineComponent as ɵbv, RangeLineComponent as ɵbw, CollapseOptionComponent as ɵbx, CollapsedItemsComponent as ɵby, VerticalItemsComponent as ɵbz, CountryPhonePickerService as ɵc, InfiniteScrollModule as ɵca, InfiniteScrollDirective as ɵcb, CustomTranslationsModule as ɵcc, CodeEditorComponent as ɵcd, CoreFacade as ɵce, CodeMirror6Core as ɵcf, LocalizedCurrencyImpurePipe as ɵd, LocalizedBignumberPipe as ɵe, LocalizedBignumberImpurePipe as ɵf, EmptyStateGoBackComponent as ɵg, FileUploadService as ɵh, InfoSignComponent as ɵi, TableColumnsComponent as ɵj, TablePagingComponent as ɵk, AutocompleteFieldComponent as ɵl, BooleanFieldComponent as ɵm, CalendarFieldComponent as ɵn, ChipsFieldComponent as ɵo, CurrencyFieldComponent as ɵp, DynamicFieldComponent as ɵq, DynamicFormDirective as ɵr, FieldsetComponent as ɵs, FileUploadComponent$1 as ɵt, LookupFieldComponent as ɵu, NumberFieldComponent as ɵv, BignumberFieldComponent as ɵw, RadioButtonComponent as ɵx, RowComponent as ɵy, SectionComponent as ɵz };
15560
+ export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, 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, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, 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, Section, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, SelectFieldComponent as ɵba, TextAreaFieldComponent as ɵbb, TextFieldComponent as ɵbc, BooleanSwitchFieldComponent as ɵbd, PasswordFieldComponent as ɵbe, SliderFieldComponent as ɵbf, DecimalField as ɵbh, SideTableComponent as ɵbi, StructureModule as ɵbj, HeaderComponent as ɵbk, FooterComponent as ɵbl, NumberLocaleOptions as ɵbm, ThumbnailService as ɵbn, BorderButtonModule as ɵbo, BorderButtonComponent as ɵbp, TimelineItemModule as ɵbq, TimelineIconItemComponent as ɵbr, HorizontalTimelineModule as ɵbs, HorizontalTimelineComponent as ɵbt, VerticalTimelineModule as ɵbu, VerticalTimelineComponent as ɵbv, RangeLineComponent as ɵbw, CollapseOptionComponent as ɵbx, CollapsedItemsComponent as ɵby, VerticalItemsComponent as ɵbz, CountryPhonePickerService as ɵc, InfiniteScrollModule as ɵca, InfiniteScrollDirective as ɵcb, CustomTranslationsModule as ɵcc, CodeEditorComponent as ɵcd, CoreFacade as ɵce, CodeMirror6Core as ɵcf, TieredMenuEventService as ɵcg, TieredMenuService as ɵch, TieredMenuComponent as ɵci, TieredMenuNestedComponent as ɵcj, TieredMenuItemComponent as ɵck, TieredMenuDividerComponent as ɵcl, LocalizedCurrencyImpurePipe as ɵd, LocalizedBignumberPipe as ɵe, LocalizedBignumberImpurePipe as ɵf, EmptyStateGoBackComponent as ɵg, FileUploadService as ɵh, InfoSignComponent as ɵi, TableColumnsComponent as ɵj, TablePagingComponent as ɵk, AutocompleteFieldComponent as ɵl, BooleanFieldComponent as ɵm, CalendarFieldComponent as ɵn, ChipsFieldComponent as ɵo, CurrencyFieldComponent as ɵp, DynamicFieldComponent as ɵq, DynamicFormDirective as ɵr, FieldsetComponent as ɵs, FileUploadComponent$1 as ɵt, LookupFieldComponent as ɵu, NumberFieldComponent as ɵv, BignumberFieldComponent as ɵw, RadioButtonComponent as ɵx, RowComponent as ɵy, SectionComponent as ɵz };
14810
15561
  //# sourceMappingURL=seniorsistemas-angular-components.js.map