intelica-library-ui 0.1.42 → 0.1.44

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.
@@ -29,6 +29,8 @@ import * as XLSX from 'xlsx';
29
29
  import { Workbook } from 'exceljs';
30
30
  import { saveAs } from 'file-saver';
31
31
  import JSEncrypt from 'jsencrypt';
32
+ import Aura from '@primeng/themes/aura';
33
+ import { definePreset } from '@primeng/themes';
32
34
 
33
35
  class ConfigService {
34
36
  Http = inject(HttpClient);
@@ -418,9 +420,12 @@ class ColumnComponent {
418
420
  tooltip = "";
419
421
  tooltipPosition = "top";
420
422
  showIndex = false;
423
+ showHeader = true;
424
+ //@Input() isGrouped: boolean = false;
425
+ //@Input() isGroup: boolean = false;
421
426
  templateRef;
422
427
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
423
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: ColumnComponent, isStandalone: true, selector: "column", inputs: { field: "field", header: "header", sortable: "sortable", width: "width", className: "className", headerTooltip: "headerTooltip", headerTooltipPosition: "headerTooltipPosition", tooltip: "tooltip", tooltipPosition: "tooltipPosition", showIndex: "showIndex" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
428
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: ColumnComponent, isStandalone: true, selector: "column", inputs: { field: "field", header: "header", sortable: "sortable", width: "width", className: "className", headerTooltip: "headerTooltip", headerTooltipPosition: "headerTooltipPosition", tooltip: "tooltip", tooltipPosition: "tooltipPosition", showIndex: "showIndex", showHeader: "showHeader" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
424
429
  }
425
430
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ColumnComponent, decorators: [{
426
431
  type: Directive,
@@ -445,6 +450,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
445
450
  type: Input
446
451
  }], showIndex: [{
447
452
  type: Input
453
+ }], showHeader: [{
454
+ type: Input
455
+ }], templateRef: [{
456
+ type: ContentChild,
457
+ args: [TemplateRef]
458
+ }] } });
459
+ class ColumnGroupComponent {
460
+ field;
461
+ header;
462
+ sortable = false;
463
+ // @Input() width?: string;
464
+ // @Input() className?: string;
465
+ // @Input() headerTooltip: string = "";
466
+ // @Input() headerTooltipPosition: "top" | "bottom" | "left" | "right" = "top";
467
+ // @Input() tooltip: string = "";
468
+ // @Input() tooltipPosition: "top" | "bottom" | "left" | "right" = "top";
469
+ // @Input() showIndex: boolean = false;
470
+ // @Input() isGrouped: boolean = false;
471
+ // @Input() isGroup: boolean = false;
472
+ colspan = 1;
473
+ rowspan = 1;
474
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ColumnGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
475
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: ColumnGroupComponent, isStandalone: true, selector: "columnGroup", inputs: { field: "field", header: "header", sortable: "sortable", colspan: "colspan", rowspan: "rowspan" }, ngImport: i0 });
476
+ }
477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ColumnGroupComponent, decorators: [{
478
+ type: Directive,
479
+ args: [{ selector: "columnGroup" }]
480
+ }], propDecorators: { field: [{
481
+ type: Input
482
+ }], header: [{
483
+ type: Input
484
+ }], sortable: [{
485
+ type: Input
486
+ }], colspan: [{
487
+ type: Input
488
+ }], rowspan: [{
489
+ type: Input
490
+ }] } });
491
+ class RowResumenComponent {
492
+ field;
493
+ className;
494
+ // @Input() width?: string;
495
+ // @Input() className?: string;
496
+ // @Input() headerTooltip: string = "";
497
+ // @Input() headerTooltipPosition: "top" | "bottom" | "left" | "right" = "top";
498
+ // @Input() tooltip: string = "";
499
+ // @Input() tooltipPosition: "top" | "bottom" | "left" | "right" = "top";
500
+ // @Input() showIndex: boolean = false;
501
+ // @Input() isGrouped: boolean = false;
502
+ // @Input() isGroup: boolean = false;
503
+ colspan = 1;
504
+ rowspan = 1;
505
+ templateRef;
506
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RowResumenComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
507
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: RowResumenComponent, isStandalone: true, selector: "rowResumenComponent", inputs: { field: "field", className: "className", colspan: "colspan", rowspan: "rowspan" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
508
+ }
509
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RowResumenComponent, decorators: [{
510
+ type: Directive,
511
+ args: [{ selector: "rowResumenComponent" }]
512
+ }], propDecorators: { field: [{
513
+ type: Input
514
+ }], className: [{
515
+ type: Input
516
+ }], colspan: [{
517
+ type: Input
518
+ }], rowspan: [{
519
+ type: Input
448
520
  }], templateRef: [{
449
521
  type: ContentChild,
450
522
  args: [TemplateRef]
@@ -622,7 +694,7 @@ class SearchComponent {
622
694
  provide: NG_VALUE_ACCESSOR,
623
695
  useExisting: forwardRef(() => SearchComponent),
624
696
  },
625
- ], ngImport: i0, template: "<form [formGroup]=\"SearchForm\">\r\n\t<div class=\"prSearchBar\">\r\n\t\t<div class=\"prSearchBar__dropdown\" (click)=\"op.toggle($event)\">\r\n\t\t\t<div\r\n\t\t\t\tclass=\"prSearchBar__dropdown--label\"\r\n\t\t\t\t[pTooltip]=\"(GetSelectedOperatorValue() | term : GlobalTermService.languageCode) + ', ' + (GetSelectedFieldValue() | term : GlobalTermService.languageCode)\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t>\r\n\t\t\t\t{{ GetSelectedFieldValue() | term : GlobalTermService.languageCode }}\r\n\t\t\t</div>\r\n\t\t\t<div class=\"prSearchBar__dropdown--icon\">\r\n\t\t\t\t<i [ngClass]=\"IsDropdownOpen ? 'icon-arrow-up' : 'icon-arrow-down'\"></i>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<p-popover #op (onShow)=\"DropDownChange(true)\" (onHide)=\"DropDownChange(false)\" class=\"prSearchBar__popover\">\r\n\t\t\t<div class=\"searchDropDown\">\r\n\t\t\t\t<div class=\"searchDropDown__group\">\r\n\t\t\t\t\t<div class=\"searchDropDown__title\">{{ \"Selectoperator\" | term : GlobalTermService.languageCode }}</div>\r\n\t\t\t\t\t<div class=\"searchDropDown__listOption\">\r\n\t\t\t\t\t\t@for ( option of SearchOperatorOptions ; track option.id; let index = $index){\r\n\t\t\t\t\t\t<div class=\"searchDropDown__option\">\r\n\t\t\t\t\t\t\t<p-radiobutton [inputId]=\"ComponentId + option.id\" class=\"prRadioButton\" [value]=\"option.id\" formControlName=\"operatorId\" (change)=\"OnSearchKeyup()\" />\r\n\t\t\t\t\t\t\t<label [for]=\"ComponentId + option.id\" class=\"prRadioButton--label\">{{ option.value | term : GlobalTermService.languageCode }}</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<hr />\r\n\t\t\t\t<div class=\"searchDropDown__group\">\r\n\t\t\t\t\t<div class=\"searchDropDown__title\">{{ \"Selectfield\" | term : GlobalTermService.languageCode }}</div>\r\n\t\t\t\t\t@for ( option of SearchFieldOptions ; track option.id; let index = $index){\r\n\t\t\t\t\t<div class=\"searchDropDown__option\">\r\n\t\t\t\t\t\t<p-radiobutton [inputId]=\"ComponentId + 'fieldId_' + option.id\" class=\"prRadioButton\" [value]=\"option.id\" formControlName=\"fieldId\" (change)=\"OnSearchKeyup()\" />\r\n\t\t\t\t\t\t<label [for]=\"ComponentId + 'fieldId_' + option.id\" class=\"prRadioButton--label\">{{ option.value | term : GlobalTermService.languageCode }}</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</p-popover>\r\n\t\t<div class=\"prSearchBar__content\">\r\n\t\t\t<div class=\"prSearchBar__btn\">\r\n\t\t\t\t<button pButton type=\"button\" class=\"prSearchBar__btn-action\" (click)=\"ClearSearchText()\" *ngIf=\"HasSearchText\">\r\n\t\t\t\t\t<i class=\"icon-times\"></i>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button pButton type=\"button\" class=\"prSearchBar__btn-action\" (click)=\"OnSearch()\">\r\n\t\t\t\t\t<i class=\"icon-search\"></i>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<input\r\n\t\t\t\tpInputText\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"prSearchBar__input\"\r\n\t\t\t\tformControlName=\"searchText\"\r\n\t\t\t\t[placeholder]=\"Placeholder | term : GlobalTermService.languageCode\"\r\n\t\t\t\t(keyup.enter)=\"OnSearchEnter()\"\r\n\t\t\t\t(keyup)=\"OnSearchKeyup()\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n</form>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: RadioButtonModule }, { kind: "component", type: i2.RadioButton, selector: "p-radioButton, p-radiobutton, p-radio-button", inputs: ["value", "formControlName", "name", "disabled", "variant", "size", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "style", "styleClass", "autofocus", "binary"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "pipe", type: TermPipe, name: "term" }] });
697
+ ], ngImport: i0, template: "<form [formGroup]=\"SearchForm\">\r\n\t<div class=\"prSearchBar\">\r\n\t\t<div class=\"prSearchBar__dropdown\" (click)=\"op.toggle($event)\" *ngIf=\"!SimpleSearchInput\">\r\n\t\t\t<div\r\n\t\t\t\tclass=\"prSearchBar__dropdown--label\"\r\n\t\t\t\t[pTooltip]=\"(GetSelectedOperatorValue() | term : GlobalTermService.languageCode) + ', ' + (GetSelectedFieldValue() | term : GlobalTermService.languageCode)\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t>\r\n\t\t\t\t{{ GetSelectedFieldValue() | term : GlobalTermService.languageCode }}\r\n\t\t\t</div>\r\n\t\t\t<div class=\"prSearchBar__dropdown--icon\">\r\n\t\t\t\t<i [ngClass]=\"IsDropdownOpen ? 'icon-arrow-up' : 'icon-arrow-down'\"></i>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<p-popover #op (onShow)=\"DropDownChange(true)\" (onHide)=\"DropDownChange(false)\" class=\"prSearchBar__popover\">\r\n\t\t\t<div class=\"searchDropDown\">\r\n\t\t\t\t<div class=\"searchDropDown__group\">\r\n\t\t\t\t\t<div class=\"searchDropDown__title\">{{ \"Selectoperator\" | term : GlobalTermService.languageCode }}</div>\r\n\t\t\t\t\t<div class=\"searchDropDown__listOption\">\r\n\t\t\t\t\t\t@for ( option of SearchOperatorOptions ; track option.id; let index = $index){\r\n\t\t\t\t\t\t<div class=\"searchDropDown__option\">\r\n\t\t\t\t\t\t\t<p-radiobutton [inputId]=\"ComponentId + option.id\" class=\"prRadioButton\" [value]=\"option.id\" formControlName=\"operatorId\" (change)=\"OnSearchKeyup()\" />\r\n\t\t\t\t\t\t\t<label [for]=\"ComponentId + option.id\" class=\"prRadioButton--label\">{{ option.value | term : GlobalTermService.languageCode }}</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<hr />\r\n\t\t\t\t<div class=\"searchDropDown__group\">\r\n\t\t\t\t\t<div class=\"searchDropDown__title\">{{ \"Selectfield\" | term : GlobalTermService.languageCode }}</div>\r\n\t\t\t\t\t@for ( option of SearchFieldOptions ; track option.id; let index = $index){\r\n\t\t\t\t\t<div class=\"searchDropDown__option\">\r\n\t\t\t\t\t\t<p-radiobutton [inputId]=\"ComponentId + 'fieldId_' + option.id\" class=\"prRadioButton\" [value]=\"option.id\" formControlName=\"fieldId\" (change)=\"OnSearchKeyup()\" />\r\n\t\t\t\t\t\t<label [for]=\"ComponentId + 'fieldId_' + option.id\" class=\"prRadioButton--label\">{{ option.value | term : GlobalTermService.languageCode }}</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</p-popover>\r\n\t\t<div class=\"prSearchBar__content\">\r\n\t\t\t<div class=\"prSearchBar__btn\">\r\n\t\t\t\t<button pButton type=\"button\" class=\"prSearchBar__btn-action\" (click)=\"ClearSearchText()\" *ngIf=\"HasSearchText\">\r\n\t\t\t\t\t<i class=\"icon-times\"></i>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button pButton type=\"button\" class=\"prSearchBar__btn-action\" (click)=\"OnSearch()\">\r\n\t\t\t\t\t<i class=\"icon-search\"></i>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<input\r\n\t\t\t\tpInputText\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"prSearchBar__input\"\r\n\t\t\t\tformControlName=\"searchText\"\r\n\t\t\t\t[placeholder]=\"Placeholder | term : GlobalTermService.languageCode\"\r\n\t\t\t\t(keyup.enter)=\"OnSearchEnter()\"\r\n\t\t\t\t(keyup)=\"OnSearchKeyup()\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n</form>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: RadioButtonModule }, { kind: "component", type: i2.RadioButton, selector: "p-radioButton, p-radiobutton, p-radio-button", inputs: ["value", "formControlName", "name", "disabled", "variant", "size", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "style", "styleClass", "autofocus", "binary"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "pipe", type: TermPipe, name: "term" }] });
626
698
  }
627
699
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SearchComponent, decorators: [{
628
700
  type: Component,
@@ -631,7 +703,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
631
703
  provide: NG_VALUE_ACCESSOR,
632
704
  useExisting: forwardRef(() => SearchComponent),
633
705
  },
634
- ], template: "<form [formGroup]=\"SearchForm\">\r\n\t<div class=\"prSearchBar\">\r\n\t\t<div class=\"prSearchBar__dropdown\" (click)=\"op.toggle($event)\">\r\n\t\t\t<div\r\n\t\t\t\tclass=\"prSearchBar__dropdown--label\"\r\n\t\t\t\t[pTooltip]=\"(GetSelectedOperatorValue() | term : GlobalTermService.languageCode) + ', ' + (GetSelectedFieldValue() | term : GlobalTermService.languageCode)\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t>\r\n\t\t\t\t{{ GetSelectedFieldValue() | term : GlobalTermService.languageCode }}\r\n\t\t\t</div>\r\n\t\t\t<div class=\"prSearchBar__dropdown--icon\">\r\n\t\t\t\t<i [ngClass]=\"IsDropdownOpen ? 'icon-arrow-up' : 'icon-arrow-down'\"></i>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<p-popover #op (onShow)=\"DropDownChange(true)\" (onHide)=\"DropDownChange(false)\" class=\"prSearchBar__popover\">\r\n\t\t\t<div class=\"searchDropDown\">\r\n\t\t\t\t<div class=\"searchDropDown__group\">\r\n\t\t\t\t\t<div class=\"searchDropDown__title\">{{ \"Selectoperator\" | term : GlobalTermService.languageCode }}</div>\r\n\t\t\t\t\t<div class=\"searchDropDown__listOption\">\r\n\t\t\t\t\t\t@for ( option of SearchOperatorOptions ; track option.id; let index = $index){\r\n\t\t\t\t\t\t<div class=\"searchDropDown__option\">\r\n\t\t\t\t\t\t\t<p-radiobutton [inputId]=\"ComponentId + option.id\" class=\"prRadioButton\" [value]=\"option.id\" formControlName=\"operatorId\" (change)=\"OnSearchKeyup()\" />\r\n\t\t\t\t\t\t\t<label [for]=\"ComponentId + option.id\" class=\"prRadioButton--label\">{{ option.value | term : GlobalTermService.languageCode }}</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<hr />\r\n\t\t\t\t<div class=\"searchDropDown__group\">\r\n\t\t\t\t\t<div class=\"searchDropDown__title\">{{ \"Selectfield\" | term : GlobalTermService.languageCode }}</div>\r\n\t\t\t\t\t@for ( option of SearchFieldOptions ; track option.id; let index = $index){\r\n\t\t\t\t\t<div class=\"searchDropDown__option\">\r\n\t\t\t\t\t\t<p-radiobutton [inputId]=\"ComponentId + 'fieldId_' + option.id\" class=\"prRadioButton\" [value]=\"option.id\" formControlName=\"fieldId\" (change)=\"OnSearchKeyup()\" />\r\n\t\t\t\t\t\t<label [for]=\"ComponentId + 'fieldId_' + option.id\" class=\"prRadioButton--label\">{{ option.value | term : GlobalTermService.languageCode }}</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</p-popover>\r\n\t\t<div class=\"prSearchBar__content\">\r\n\t\t\t<div class=\"prSearchBar__btn\">\r\n\t\t\t\t<button pButton type=\"button\" class=\"prSearchBar__btn-action\" (click)=\"ClearSearchText()\" *ngIf=\"HasSearchText\">\r\n\t\t\t\t\t<i class=\"icon-times\"></i>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button pButton type=\"button\" class=\"prSearchBar__btn-action\" (click)=\"OnSearch()\">\r\n\t\t\t\t\t<i class=\"icon-search\"></i>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<input\r\n\t\t\t\tpInputText\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"prSearchBar__input\"\r\n\t\t\t\tformControlName=\"searchText\"\r\n\t\t\t\t[placeholder]=\"Placeholder | term : GlobalTermService.languageCode\"\r\n\t\t\t\t(keyup.enter)=\"OnSearchEnter()\"\r\n\t\t\t\t(keyup)=\"OnSearchKeyup()\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n</form>\r\n" }]
706
+ ], template: "<form [formGroup]=\"SearchForm\">\r\n\t<div class=\"prSearchBar\">\r\n\t\t<div class=\"prSearchBar__dropdown\" (click)=\"op.toggle($event)\" *ngIf=\"!SimpleSearchInput\">\r\n\t\t\t<div\r\n\t\t\t\tclass=\"prSearchBar__dropdown--label\"\r\n\t\t\t\t[pTooltip]=\"(GetSelectedOperatorValue() | term : GlobalTermService.languageCode) + ', ' + (GetSelectedFieldValue() | term : GlobalTermService.languageCode)\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t>\r\n\t\t\t\t{{ GetSelectedFieldValue() | term : GlobalTermService.languageCode }}\r\n\t\t\t</div>\r\n\t\t\t<div class=\"prSearchBar__dropdown--icon\">\r\n\t\t\t\t<i [ngClass]=\"IsDropdownOpen ? 'icon-arrow-up' : 'icon-arrow-down'\"></i>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<p-popover #op (onShow)=\"DropDownChange(true)\" (onHide)=\"DropDownChange(false)\" class=\"prSearchBar__popover\">\r\n\t\t\t<div class=\"searchDropDown\">\r\n\t\t\t\t<div class=\"searchDropDown__group\">\r\n\t\t\t\t\t<div class=\"searchDropDown__title\">{{ \"Selectoperator\" | term : GlobalTermService.languageCode }}</div>\r\n\t\t\t\t\t<div class=\"searchDropDown__listOption\">\r\n\t\t\t\t\t\t@for ( option of SearchOperatorOptions ; track option.id; let index = $index){\r\n\t\t\t\t\t\t<div class=\"searchDropDown__option\">\r\n\t\t\t\t\t\t\t<p-radiobutton [inputId]=\"ComponentId + option.id\" class=\"prRadioButton\" [value]=\"option.id\" formControlName=\"operatorId\" (change)=\"OnSearchKeyup()\" />\r\n\t\t\t\t\t\t\t<label [for]=\"ComponentId + option.id\" class=\"prRadioButton--label\">{{ option.value | term : GlobalTermService.languageCode }}</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<hr />\r\n\t\t\t\t<div class=\"searchDropDown__group\">\r\n\t\t\t\t\t<div class=\"searchDropDown__title\">{{ \"Selectfield\" | term : GlobalTermService.languageCode }}</div>\r\n\t\t\t\t\t@for ( option of SearchFieldOptions ; track option.id; let index = $index){\r\n\t\t\t\t\t<div class=\"searchDropDown__option\">\r\n\t\t\t\t\t\t<p-radiobutton [inputId]=\"ComponentId + 'fieldId_' + option.id\" class=\"prRadioButton\" [value]=\"option.id\" formControlName=\"fieldId\" (change)=\"OnSearchKeyup()\" />\r\n\t\t\t\t\t\t<label [for]=\"ComponentId + 'fieldId_' + option.id\" class=\"prRadioButton--label\">{{ option.value | term : GlobalTermService.languageCode }}</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</p-popover>\r\n\t\t<div class=\"prSearchBar__content\">\r\n\t\t\t<div class=\"prSearchBar__btn\">\r\n\t\t\t\t<button pButton type=\"button\" class=\"prSearchBar__btn-action\" (click)=\"ClearSearchText()\" *ngIf=\"HasSearchText\">\r\n\t\t\t\t\t<i class=\"icon-times\"></i>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button pButton type=\"button\" class=\"prSearchBar__btn-action\" (click)=\"OnSearch()\">\r\n\t\t\t\t\t<i class=\"icon-search\"></i>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t\t<input\r\n\t\t\t\tpInputText\r\n\t\t\t\ttype=\"text\"\r\n\t\t\t\tclass=\"prSearchBar__input\"\r\n\t\t\t\tformControlName=\"searchText\"\r\n\t\t\t\t[placeholder]=\"Placeholder | term : GlobalTermService.languageCode\"\r\n\t\t\t\t(keyup.enter)=\"OnSearchEnter()\"\r\n\t\t\t\t(keyup)=\"OnSearchKeyup()\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n</form>\r\n" }]
635
707
  }], ctorParameters: () => [], propDecorators: { ComponentId: [{
636
708
  type: Input
637
709
  }], SearchFieldOptions: [{
@@ -1359,10 +1431,13 @@ class TableComponent {
1359
1431
  ShowPagination = false;
1360
1432
  RowsPerPage = 10;
1361
1433
  ShowCheckbox = false;
1434
+ ShowIndex = false;
1362
1435
  ListDataSelected = [];
1363
1436
  SelectedIdentifier = null;
1364
1437
  AdditionalTemplate;
1365
1438
  ColumnList = [];
1439
+ ColumnGroupList = [];
1440
+ RowResumenList = [];
1366
1441
  ListDataFilter = [];
1367
1442
  ListDataTable = [];
1368
1443
  ListDataSelectedFilter = [];
@@ -1376,14 +1451,20 @@ class TableComponent {
1376
1451
  PaginatorTable;
1377
1452
  SearchTable;
1378
1453
  Columns;
1454
+ ColumnGroups;
1455
+ RowResumenGroups;
1379
1456
  constructor() { }
1380
- ngOnChanges(changes) {
1457
+ ngOnChanges() {
1381
1458
  this.LoadSearchOptions();
1382
1459
  this.ExecuteSearch({});
1383
1460
  this.ValidateSelect();
1384
1461
  }
1385
1462
  ngAfterContentInit() {
1386
1463
  this.ColumnList = this.Columns.toArray();
1464
+ this.ColumnGroupList = this.ColumnGroups.toArray();
1465
+ this.RowResumenList = this.RowResumenGroups.toArray();
1466
+ console.log(this.ColumnList);
1467
+ console.log(this.RowResumenList);
1387
1468
  }
1388
1469
  LoadSearchOptions() {
1389
1470
  this.ListSearchOptionsSimple = this.ListSearchOptions.map(item => ({
@@ -1490,11 +1571,11 @@ class TableComponent {
1490
1571
  }
1491
1572
  }
1492
1573
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1493
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: TableComponent, isStandalone: true, selector: "intelica-table", inputs: { ComponentId: "ComponentId", ListData: "ListData", ShowSearch: "ShowSearch", ListSearchOptions: "ListSearchOptions", ShowPagination: "ShowPagination", RowsPerPage: "RowsPerPage", ShowCheckbox: "ShowCheckbox", ListDataSelected: "ListDataSelected", SelectedIdentifier: "SelectedIdentifier" }, outputs: { EmmitSelectedItem: "EmmitSelectedItem" }, queries: [{ propertyName: "AdditionalTemplate", first: true, predicate: ["additionalTemplate"], descendants: true }, { propertyName: "Columns", predicate: ColumnComponent }], viewQueries: [{ propertyName: "PaginatorTable", first: true, predicate: ["paginatorTable"], descendants: true }, { propertyName: "SearchTable", first: true, predicate: ["searchTable"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"prTable\">\r\n\t<div class=\"prTableTools\">\r\n\t\t<div class=\"prTableTools__additional\">\r\n\t\t\t<div class=\"prTableTools__additional\" *ngIf=\"AdditionalTemplate\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"AdditionalTemplate\"></ng-container>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<intelica-search\r\n\t\t\t#searchTable\r\n\t\t\t*ngIf=\"ShowSearch\"\r\n\t\t\t[ComponentId]=\"ComponentId + 'Search'\"\r\n\t\t\t(OnSearch)=\"ExecuteSearch($event)\"\r\n\t\t\t[SearchFieldOptions]=\"ListSearchOptionsSimple\"\r\n\t\t\t[SearchOnKeyup]=\"false\"\r\n\t\t\t[SimpleSearchInput]=\"false\"\r\n\t\t></intelica-search>\r\n\t\t<intelica-paginator #paginatorTable *ngIf=\"ShowPagination\" [TotalItems]=\"ListDataFilter.length\" [ItemsPerPage]=\"RowsPerPage\" (PageChange)=\"OnPageChange($event)\"></intelica-paginator>\r\n\t</div>\r\n\t<p-table\r\n\t\tclass=\"prTableBasic\"\r\n\t\t[value]=\"ListDataTable\"\r\n\t\tresponsiveLayout=\"scroll\"\r\n\t\t[(selection)]=\"ListDataSelectedFilter\"\r\n\t\t(onHeaderCheckboxToggle)=\"SelectAll($event)\"\r\n\t\t(onRowSelect)=\"OnRowSelect($event)\"\r\n\t\t(onRowUnselect)=\"OnRowUnselect($event)\"\r\n\t>\r\n\t\t<!-- Encabezados -->\r\n\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t<tr>\r\n\t\t\t\t<th *ngFor=\"let col of ColumnList\" [class]=\"col.className\" [pSortableColumn]=\"col.sortable ? col.field : ''\" [style.width]=\"col.width\" (click)=\"OnSort(col.field)\">\r\n\t\t\t\t\t<span pTooltip=\"{{ col.headerTooltip }}\" tooltipPosition=\"{{ col.headerTooltipPosition }}\">{{ col.header }}</span>\r\n\t\t\t\t\t<p-sortIcon *ngIf=\"col.sortable\" [field]=\"col.field\"></p-sortIcon>\r\n\t\t\t\t</th>\r\n\t\t\t\t<th *ngIf=\"ShowCheckbox\" class=\"text-center\" style=\"width: 4%\">\r\n\t\t\t\t\t<p-tableHeaderCheckbox class=\"prCheckbox\" [ngClass]=\"{ 'prCheckbox--indeterminate': ListDataSelectedTemp.length > 0 && ListDataSelectedTemp.length < ListDataFilter.length }\" />\r\n\t\t\t\t</th>\r\n\t\t\t</tr>\r\n\t\t</ng-template>\r\n\r\n\t\t<!-- Cuerpo de la tabla -->\r\n\t\t<ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td *ngFor=\"let col of ColumnList; let i = index\" [ngClass]=\"col.className\">\r\n\t\t\t\t\t<ng-container *ngIf=\"col.showIndex; else columnContent\">\r\n\t\t\t\t\t\t{{ rowIndex + 1 + (CurrentPage - 1) * RowsPerPage }}\r\n\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t<ng-template #columnContent>\r\n\t\t\t\t\t\t<ng-container *ngIf=\"col.templateRef; else defaultContent\">\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"col.templateRef; context: { $implicit: rowData }\"></ng-container>\r\n\t\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t\t<ng-template #defaultContent>\r\n\t\t\t\t\t\t\t<span class=\"text-breakWord\" pTooltip=\"{{ rowData[col.tooltip] }}\" tooltipPosition=\"{{ col.tooltipPosition }}\">\r\n\t\t\t\t\t\t\t\t{{ rowData[col.field] }}\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t</ng-template>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td *ngIf=\"ShowCheckbox\" class=\"text-center\">\r\n\t\t\t\t\t<p-tableCheckbox [value]=\"rowData\" class=\"prCheckbox\" />\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</ng-template>\r\n\t</p-table>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SearchComponent, selector: "intelica-search", inputs: ["ComponentId", "SearchFieldOptions", "SearchOnKeyup", "SimpleSearchInput", "Placeholder"], outputs: ["OnSearch"] }, { kind: "component", type: PaginatorComponent, selector: "intelica-paginator", inputs: ["TotalItems", "CurrentPage", "ItemsPerPage"], outputs: ["PageChange"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i2$2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2$2.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i2$2.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i2$2.TableCheckbox, selector: "p-tableCheckbox", inputs: ["disabled", "value", "index", "inputId", "name", "required", "ariaLabel"] }, { kind: "component", type: i2$2.TableHeaderCheckbox, selector: "p-tableHeaderCheckbox", inputs: ["disabled", "inputId", "name", "ariaLabel"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] });
1574
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: TableComponent, isStandalone: true, selector: "intelica-table", inputs: { ComponentId: "ComponentId", ListData: "ListData", ShowSearch: "ShowSearch", ListSearchOptions: "ListSearchOptions", ShowPagination: "ShowPagination", RowsPerPage: "RowsPerPage", ShowCheckbox: "ShowCheckbox", ShowIndex: "ShowIndex", ListDataSelected: "ListDataSelected", SelectedIdentifier: "SelectedIdentifier" }, outputs: { EmmitSelectedItem: "EmmitSelectedItem" }, queries: [{ propertyName: "AdditionalTemplate", first: true, predicate: ["additionalTemplate"], descendants: true }, { propertyName: "Columns", predicate: ColumnComponent }, { propertyName: "ColumnGroups", predicate: ColumnGroupComponent }, { propertyName: "RowResumenGroups", predicate: RowResumenComponent }], viewQueries: [{ propertyName: "PaginatorTable", first: true, predicate: ["paginatorTable"], descendants: true }, { propertyName: "SearchTable", first: true, predicate: ["searchTable"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"prTable\">\r\n\t<div class=\"prTableTools\">\r\n\t\t<div class=\"prTableTools__additional\">\r\n\t\t\t<div class=\"prTableTools__additional\" *ngIf=\"AdditionalTemplate\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"AdditionalTemplate\"></ng-container>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<intelica-search\r\n\t\t\t#searchTable\r\n\t\t\t*ngIf=\"ShowSearch\"\r\n\t\t\t[ComponentId]=\"ComponentId + 'Search'\"\r\n\t\t\t(OnSearch)=\"ExecuteSearch($event)\"\r\n\t\t\t[SearchFieldOptions]=\"ListSearchOptionsSimple\"\r\n\t\t\t[SearchOnKeyup]=\"false\"\r\n\t\t\t[SimpleSearchInput]=\"false\"\r\n\t\t></intelica-search>\r\n\t\t<intelica-paginator #paginatorTable *ngIf=\"ShowPagination\" [TotalItems]=\"ListDataFilter.length\" [ItemsPerPage]=\"RowsPerPage\" (PageChange)=\"OnPageChange($event)\"></intelica-paginator>\r\n\t</div>\r\n\t<p-table\r\n\t\tclass=\"prTableBasic\"\r\n\t\t[value]=\"ListDataTable\"\r\n\t\tresponsiveLayout=\"scroll\"\r\n\t\t[(selection)]=\"ListDataSelectedFilter\"\r\n\t\t(onHeaderCheckboxToggle)=\"SelectAll($event)\"\r\n\t\t(onRowSelect)=\"OnRowSelect($event)\"\r\n\t\t(onRowUnselect)=\"OnRowUnselect($event)\"\r\n\t>\r\n\t\t<!-- Encabezados -->\r\n\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t<tr>\r\n\t\t\t\t<th *ngFor=\"let col of ColumnGroupList\" [attr.colspan]=\"col.colspan\" [attr.rowspan]=\"col.rowspan\" [pSortableColumn]=\"col.sortable ? col.field : ''\" (click)=\"OnSort(col.field)\">\r\n\t\t\t\t\t<span pTooltip=\"{{ col.header }}\">{{ col.header }}</span>\r\n\t\t\t\t\t<p-sortIcon *ngIf=\"col.sortable\" [field]=\"col.field\"></p-sortIcon>\r\n\t\t\t\t</th>\r\n\t\t\t\t<th *ngIf=\"ShowCheckbox && ColumnGroupList.length != 0\" class=\"text-center\" style=\"width: 4%\" rowspan=\"2\">\r\n\t\t\t\t\t<p-tableHeaderCheckbox class=\"prCheckbox\" [ngClass]=\"{ 'prCheckbox--indeterminate': ListDataSelectedTemp.length > 0 && ListDataSelectedTemp.length < ListDataFilter.length }\" />\r\n\t\t\t\t</th>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t@for (col of ColumnList; track $index) { @if(col.showHeader ){\r\n\t\t\t\t<th [class]=\"col.className\" [pSortableColumn]=\"col.sortable ? col.field : ''\" [style.width]=\"col.width\" (click)=\"OnSort(col.field)\">\r\n\t\t\t\t\t<span pTooltip=\"{{ col.headerTooltip }}\" tooltipPosition=\"{{ col.headerTooltipPosition }}\">{{ col.header }}</span>\r\n\t\t\t\t\t<p-sortIcon *ngIf=\"col.sortable\" [field]=\"col.field\"></p-sortIcon>\r\n\t\t\t\t</th>\r\n\t\t\t\t} } @if(ShowCheckbox && ColumnGroupList.length == 0 ){\r\n\t\t\t\t<th class=\"text-center\" style=\"width: 4%\">\r\n\t\t\t\t\t<p-tableHeaderCheckbox class=\"prCheckbox\" [ngClass]=\"{ 'prCheckbox--indeterminate': ListDataSelectedTemp.length > 0 && ListDataSelectedTemp.length < ListDataFilter.length }\" />\r\n\t\t\t\t</th>\r\n\t\t\t\t}\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td *ngFor=\"let col of RowResumenList\" [ngClass]=\"col.className\" [attr.colspan]=\"col.colspan\" [attr.rowspan]=\"col.rowspan\">\r\n\t\t\t\t\t<ng-container *ngIf=\"col.templateRef; else defaultContent\">\r\n\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"col.templateRef\"></ng-container>\r\n\t\t\t\t\t\t</span>\t\t\t\t\t\t\r\n\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t<ng-template #defaultContent></ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</ng-template>\r\n\t\t<!-- Cuerpo de la tabla -->\r\n\t\t<ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td *ngFor=\"let col of ColumnList; let i = index\" [ngClass]=\"col.className\">\r\n\t\t\t\t\t<ng-container *ngIf=\"col.showIndex; else columnContent\">\r\n\t\t\t\t\t\t{{ rowIndex + 1 + (CurrentPage - 1) * RowsPerPage }}\r\n\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t<ng-template #columnContent>\r\n\t\t\t\t\t\t<ng-container *ngIf=\"col.templateRef; else defaultContent\">\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"col.templateRef; context: { $implicit: rowData }\"></ng-container>\r\n\t\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t\t<ng-template #defaultContent>\r\n\t\t\t\t\t\t\t<span class=\"text-breakWord\" pTooltip=\"{{ rowData[col.tooltip] }}\" tooltipPosition=\"{{ col.tooltipPosition }}\">\r\n\t\t\t\t\t\t\t\t{{ rowData[col.field] }}\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t</ng-template>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td *ngIf=\"ShowCheckbox\" class=\"text-center\">\r\n\t\t\t\t\t<p-tableCheckbox [value]=\"rowData\" class=\"prCheckbox\" />\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</ng-template>\r\n\t</p-table>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SearchComponent, selector: "intelica-search", inputs: ["ComponentId", "SearchFieldOptions", "SearchOnKeyup", "SimpleSearchInput", "Placeholder"], outputs: ["OnSearch"] }, { kind: "component", type: PaginatorComponent, selector: "intelica-paginator", inputs: ["TotalItems", "CurrentPage", "ItemsPerPage"], outputs: ["PageChange"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i2$2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2$2.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i2$2.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i2$2.TableCheckbox, selector: "p-tableCheckbox", inputs: ["disabled", "value", "index", "inputId", "name", "required", "ariaLabel"] }, { kind: "component", type: i2$2.TableHeaderCheckbox, selector: "p-tableHeaderCheckbox", inputs: ["disabled", "inputId", "name", "ariaLabel"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] });
1494
1575
  }
1495
1576
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TableComponent, decorators: [{
1496
1577
  type: Component,
1497
- args: [{ selector: "intelica-table", standalone: true, imports: [CommonModule, SearchComponent, PaginatorComponent, TableModule, BadgeModule, TooltipModule], template: "<div class=\"prTable\">\r\n\t<div class=\"prTableTools\">\r\n\t\t<div class=\"prTableTools__additional\">\r\n\t\t\t<div class=\"prTableTools__additional\" *ngIf=\"AdditionalTemplate\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"AdditionalTemplate\"></ng-container>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<intelica-search\r\n\t\t\t#searchTable\r\n\t\t\t*ngIf=\"ShowSearch\"\r\n\t\t\t[ComponentId]=\"ComponentId + 'Search'\"\r\n\t\t\t(OnSearch)=\"ExecuteSearch($event)\"\r\n\t\t\t[SearchFieldOptions]=\"ListSearchOptionsSimple\"\r\n\t\t\t[SearchOnKeyup]=\"false\"\r\n\t\t\t[SimpleSearchInput]=\"false\"\r\n\t\t></intelica-search>\r\n\t\t<intelica-paginator #paginatorTable *ngIf=\"ShowPagination\" [TotalItems]=\"ListDataFilter.length\" [ItemsPerPage]=\"RowsPerPage\" (PageChange)=\"OnPageChange($event)\"></intelica-paginator>\r\n\t</div>\r\n\t<p-table\r\n\t\tclass=\"prTableBasic\"\r\n\t\t[value]=\"ListDataTable\"\r\n\t\tresponsiveLayout=\"scroll\"\r\n\t\t[(selection)]=\"ListDataSelectedFilter\"\r\n\t\t(onHeaderCheckboxToggle)=\"SelectAll($event)\"\r\n\t\t(onRowSelect)=\"OnRowSelect($event)\"\r\n\t\t(onRowUnselect)=\"OnRowUnselect($event)\"\r\n\t>\r\n\t\t<!-- Encabezados -->\r\n\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t<tr>\r\n\t\t\t\t<th *ngFor=\"let col of ColumnList\" [class]=\"col.className\" [pSortableColumn]=\"col.sortable ? col.field : ''\" [style.width]=\"col.width\" (click)=\"OnSort(col.field)\">\r\n\t\t\t\t\t<span pTooltip=\"{{ col.headerTooltip }}\" tooltipPosition=\"{{ col.headerTooltipPosition }}\">{{ col.header }}</span>\r\n\t\t\t\t\t<p-sortIcon *ngIf=\"col.sortable\" [field]=\"col.field\"></p-sortIcon>\r\n\t\t\t\t</th>\r\n\t\t\t\t<th *ngIf=\"ShowCheckbox\" class=\"text-center\" style=\"width: 4%\">\r\n\t\t\t\t\t<p-tableHeaderCheckbox class=\"prCheckbox\" [ngClass]=\"{ 'prCheckbox--indeterminate': ListDataSelectedTemp.length > 0 && ListDataSelectedTemp.length < ListDataFilter.length }\" />\r\n\t\t\t\t</th>\r\n\t\t\t</tr>\r\n\t\t</ng-template>\r\n\r\n\t\t<!-- Cuerpo de la tabla -->\r\n\t\t<ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td *ngFor=\"let col of ColumnList; let i = index\" [ngClass]=\"col.className\">\r\n\t\t\t\t\t<ng-container *ngIf=\"col.showIndex; else columnContent\">\r\n\t\t\t\t\t\t{{ rowIndex + 1 + (CurrentPage - 1) * RowsPerPage }}\r\n\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t<ng-template #columnContent>\r\n\t\t\t\t\t\t<ng-container *ngIf=\"col.templateRef; else defaultContent\">\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"col.templateRef; context: { $implicit: rowData }\"></ng-container>\r\n\t\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t\t<ng-template #defaultContent>\r\n\t\t\t\t\t\t\t<span class=\"text-breakWord\" pTooltip=\"{{ rowData[col.tooltip] }}\" tooltipPosition=\"{{ col.tooltipPosition }}\">\r\n\t\t\t\t\t\t\t\t{{ rowData[col.field] }}\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t</ng-template>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td *ngIf=\"ShowCheckbox\" class=\"text-center\">\r\n\t\t\t\t\t<p-tableCheckbox [value]=\"rowData\" class=\"prCheckbox\" />\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</ng-template>\r\n\t</p-table>\r\n</div>\r\n" }]
1578
+ args: [{ selector: "intelica-table", standalone: true, imports: [CommonModule, SearchComponent, PaginatorComponent, TableModule, BadgeModule, TooltipModule], template: "<div class=\"prTable\">\r\n\t<div class=\"prTableTools\">\r\n\t\t<div class=\"prTableTools__additional\">\r\n\t\t\t<div class=\"prTableTools__additional\" *ngIf=\"AdditionalTemplate\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"AdditionalTemplate\"></ng-container>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<intelica-search\r\n\t\t\t#searchTable\r\n\t\t\t*ngIf=\"ShowSearch\"\r\n\t\t\t[ComponentId]=\"ComponentId + 'Search'\"\r\n\t\t\t(OnSearch)=\"ExecuteSearch($event)\"\r\n\t\t\t[SearchFieldOptions]=\"ListSearchOptionsSimple\"\r\n\t\t\t[SearchOnKeyup]=\"false\"\r\n\t\t\t[SimpleSearchInput]=\"false\"\r\n\t\t></intelica-search>\r\n\t\t<intelica-paginator #paginatorTable *ngIf=\"ShowPagination\" [TotalItems]=\"ListDataFilter.length\" [ItemsPerPage]=\"RowsPerPage\" (PageChange)=\"OnPageChange($event)\"></intelica-paginator>\r\n\t</div>\r\n\t<p-table\r\n\t\tclass=\"prTableBasic\"\r\n\t\t[value]=\"ListDataTable\"\r\n\t\tresponsiveLayout=\"scroll\"\r\n\t\t[(selection)]=\"ListDataSelectedFilter\"\r\n\t\t(onHeaderCheckboxToggle)=\"SelectAll($event)\"\r\n\t\t(onRowSelect)=\"OnRowSelect($event)\"\r\n\t\t(onRowUnselect)=\"OnRowUnselect($event)\"\r\n\t>\r\n\t\t<!-- Encabezados -->\r\n\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t<tr>\r\n\t\t\t\t<th *ngFor=\"let col of ColumnGroupList\" [attr.colspan]=\"col.colspan\" [attr.rowspan]=\"col.rowspan\" [pSortableColumn]=\"col.sortable ? col.field : ''\" (click)=\"OnSort(col.field)\">\r\n\t\t\t\t\t<span pTooltip=\"{{ col.header }}\">{{ col.header }}</span>\r\n\t\t\t\t\t<p-sortIcon *ngIf=\"col.sortable\" [field]=\"col.field\"></p-sortIcon>\r\n\t\t\t\t</th>\r\n\t\t\t\t<th *ngIf=\"ShowCheckbox && ColumnGroupList.length != 0\" class=\"text-center\" style=\"width: 4%\" rowspan=\"2\">\r\n\t\t\t\t\t<p-tableHeaderCheckbox class=\"prCheckbox\" [ngClass]=\"{ 'prCheckbox--indeterminate': ListDataSelectedTemp.length > 0 && ListDataSelectedTemp.length < ListDataFilter.length }\" />\r\n\t\t\t\t</th>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t@for (col of ColumnList; track $index) { @if(col.showHeader ){\r\n\t\t\t\t<th [class]=\"col.className\" [pSortableColumn]=\"col.sortable ? col.field : ''\" [style.width]=\"col.width\" (click)=\"OnSort(col.field)\">\r\n\t\t\t\t\t<span pTooltip=\"{{ col.headerTooltip }}\" tooltipPosition=\"{{ col.headerTooltipPosition }}\">{{ col.header }}</span>\r\n\t\t\t\t\t<p-sortIcon *ngIf=\"col.sortable\" [field]=\"col.field\"></p-sortIcon>\r\n\t\t\t\t</th>\r\n\t\t\t\t} } @if(ShowCheckbox && ColumnGroupList.length == 0 ){\r\n\t\t\t\t<th class=\"text-center\" style=\"width: 4%\">\r\n\t\t\t\t\t<p-tableHeaderCheckbox class=\"prCheckbox\" [ngClass]=\"{ 'prCheckbox--indeterminate': ListDataSelectedTemp.length > 0 && ListDataSelectedTemp.length < ListDataFilter.length }\" />\r\n\t\t\t\t</th>\r\n\t\t\t\t}\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td *ngFor=\"let col of RowResumenList\" [ngClass]=\"col.className\" [attr.colspan]=\"col.colspan\" [attr.rowspan]=\"col.rowspan\">\r\n\t\t\t\t\t<ng-container *ngIf=\"col.templateRef; else defaultContent\">\r\n\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"col.templateRef\"></ng-container>\r\n\t\t\t\t\t\t</span>\t\t\t\t\t\t\r\n\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t<ng-template #defaultContent></ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</ng-template>\r\n\t\t<!-- Cuerpo de la tabla -->\r\n\t\t<ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td *ngFor=\"let col of ColumnList; let i = index\" [ngClass]=\"col.className\">\r\n\t\t\t\t\t<ng-container *ngIf=\"col.showIndex; else columnContent\">\r\n\t\t\t\t\t\t{{ rowIndex + 1 + (CurrentPage - 1) * RowsPerPage }}\r\n\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t<ng-template #columnContent>\r\n\t\t\t\t\t\t<ng-container *ngIf=\"col.templateRef; else defaultContent\">\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"col.templateRef; context: { $implicit: rowData }\"></ng-container>\r\n\t\t\t\t\t\t</ng-container>\r\n\t\t\t\t\t\t<ng-template #defaultContent>\r\n\t\t\t\t\t\t\t<span class=\"text-breakWord\" pTooltip=\"{{ rowData[col.tooltip] }}\" tooltipPosition=\"{{ col.tooltipPosition }}\">\r\n\t\t\t\t\t\t\t\t{{ rowData[col.field] }}\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t</ng-template>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td *ngIf=\"ShowCheckbox\" class=\"text-center\">\r\n\t\t\t\t\t<p-tableCheckbox [value]=\"rowData\" class=\"prCheckbox\" />\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</ng-template>\r\n\t</p-table>\r\n</div>\r\n" }]
1498
1579
  }], ctorParameters: () => [], propDecorators: { ComponentId: [{
1499
1580
  type: Input
1500
1581
  }], ListData: [{
@@ -1509,6 +1590,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
1509
1590
  type: Input
1510
1591
  }], ShowCheckbox: [{
1511
1592
  type: Input
1593
+ }], ShowIndex: [{
1594
+ type: Input
1512
1595
  }], ListDataSelected: [{
1513
1596
  type: Input
1514
1597
  }], SelectedIdentifier: [{
@@ -1527,6 +1610,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
1527
1610
  }], Columns: [{
1528
1611
  type: ContentChildren,
1529
1612
  args: [ColumnComponent]
1613
+ }], ColumnGroups: [{
1614
+ type: ContentChildren,
1615
+ args: [ColumnGroupComponent]
1616
+ }], RowResumenGroups: [{
1617
+ type: ContentChildren,
1618
+ args: [RowResumenComponent]
1530
1619
  }] } });
1531
1620
 
1532
1621
  class ActionDirective {
@@ -1822,6 +1911,81 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
1822
1911
  args: [ActionDirective]
1823
1912
  }] } });
1824
1913
 
1914
+ class RecordPerPageComponent {
1915
+ /**
1916
+ * Lista de propiedades del modelo `PropertiesModel`.
1917
+ * @type {PropertiesModel[]}
1918
+ * @default []
1919
+ */
1920
+ Properties = [];
1921
+ /**
1922
+ * Evento emitido al realizar un cambio de pagina, envia el pageSize a los componentes.
1923
+ * @type {EventEmitter<any>}
1924
+ */
1925
+ ReturnPage = new EventEmitter();
1926
+ /**
1927
+ * Términos utilizados en el componente.
1928
+ * @type {any}
1929
+ */
1930
+ Terms;
1931
+ /**
1932
+ * Lista de registros.
1933
+ * @type {number[]}
1934
+ * @default []
1935
+ */
1936
+ Records = [];
1937
+ /**
1938
+ * Tamaño de página predeterminado.
1939
+ * @type {number}
1940
+ * @default 20
1941
+ * @private
1942
+ */
1943
+ PageSize = 20;
1944
+ constructor() { }
1945
+ ngOnChanges(changes) {
1946
+ if (changes.Properties && changes.Properties.currentValue.length > 0)
1947
+ this.FillRecordperPage();
1948
+ }
1949
+ ngOnDestroy() { }
1950
+ ngOnInit() {
1951
+ this.FillRecordperPage();
1952
+ }
1953
+ ChangePageSize() {
1954
+ this.ReturnPage.emit(this.PageSize);
1955
+ }
1956
+ /**
1957
+ * Rellena la lista de registros por página basándose en las propiedades del modelo.
1958
+ * - Utiliza el término de idioma global para la configuración.
1959
+ * - Filtra las propiedades para obtener la propiedad 'RP' (Registros por Página).
1960
+ * - Si la propiedad no existe, la función sale.
1961
+ * - Divide el valor de la propiedad 'RP' en una lista de números.
1962
+ * - Establece el tamaño de página predeterminado como el primer elemento de la lista.
1963
+ */
1964
+ FillRecordperPage() {
1965
+ // Utiliza el término de idioma global para la configuración.
1966
+ // this.terms = this.globals.languageTerms;
1967
+ // Filtra las propiedades para obtener la propiedad 'RP' (Registros por Página).
1968
+ var rpProperty = this.Properties.filter(x => x.code === "RP");
1969
+ // Si la propiedad no existe, la función sale temprano.
1970
+ if (rpProperty.length === 0)
1971
+ return;
1972
+ // Divide el valor de la propiedad 'RP' en una lista de números.
1973
+ this.Records = rpProperty[0].value.split(",").map(x => parseInt(x));
1974
+ // Establece el tamaño de página predeterminado como el primer elemento de la lista.
1975
+ this.PageSize = this.Records[0];
1976
+ }
1977
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RecordPerPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1978
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: RecordPerPageComponent, isStandalone: true, selector: "intelica-record-per-page", inputs: { Properties: "Properties" }, outputs: { ReturnPage: "ReturnPage" }, usesOnChanges: true, ngImport: i0, template: "<div style=\"width: 400px\">\r\n\t<div class=\"recordsPerPageCtr\">\r\n\t\t<ng-container *ngFor=\"let record of Records; let i = index\">\r\n\t\t\t<div class=\"form-check form-check-inline\">\r\n\t\t\t\t<p-radiobutton class=\"prRadioButton\" [inputId]=\"'radio-' + i\" name=\"optSortRP1\" [(ngModel)]=\"PageSize\" [value]=\"record\" [tabindex]=\"i\" />\r\n\t\t\t\t<label [for]=\"'radio-' + i\">{{ record }}</label>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\t</div>\r\n\t<div class=\"recordsPerPageBtnCtr\">\r\n\t\t<button class=\"grButton grButton--primary applyAnalytics\" (click)=\"ChangePageSize()\">\r\n\t\t\t<span>Apply</span>\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: RadioButtonModule }, { kind: "component", type: i2.RadioButton, selector: "p-radioButton, p-radiobutton, p-radio-button", inputs: ["value", "formControlName", "name", "disabled", "variant", "size", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "style", "styleClass", "autofocus", "binary"], outputs: ["onClick", "onFocus", "onBlur"] }] });
1979
+ }
1980
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RecordPerPageComponent, decorators: [{
1981
+ type: Component,
1982
+ args: [{ selector: "intelica-record-per-page", imports: [CommonModule, FormsModule, RadioButtonModule], template: "<div style=\"width: 400px\">\r\n\t<div class=\"recordsPerPageCtr\">\r\n\t\t<ng-container *ngFor=\"let record of Records; let i = index\">\r\n\t\t\t<div class=\"form-check form-check-inline\">\r\n\t\t\t\t<p-radiobutton class=\"prRadioButton\" [inputId]=\"'radio-' + i\" name=\"optSortRP1\" [(ngModel)]=\"PageSize\" [value]=\"record\" [tabindex]=\"i\" />\r\n\t\t\t\t<label [for]=\"'radio-' + i\">{{ record }}</label>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\t</div>\r\n\t<div class=\"recordsPerPageBtnCtr\">\r\n\t\t<button class=\"grButton grButton--primary applyAnalytics\" (click)=\"ChangePageSize()\">\r\n\t\t\t<span>Apply</span>\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n" }]
1983
+ }], ctorParameters: () => [], propDecorators: { Properties: [{
1984
+ type: Input
1985
+ }], ReturnPage: [{
1986
+ type: Output
1987
+ }] } });
1988
+
1825
1989
  class HtmlToExcelService {
1826
1990
  ExportTOExcel(idTabla, html, filename, tabname, extension) {
1827
1991
  let Table = document.getElementById(idTabla);
@@ -2113,9 +2277,2294 @@ function EmailInputValidation(event) {
2113
2277
  }
2114
2278
  }
2115
2279
 
2280
+ const IntelicaTheme = definePreset(Aura, {
2281
+ primitive: {
2282
+ blue: {
2283
+ 0: "#FFFFFF",
2284
+ 100: "#DFF0FF",
2285
+ 200: "#AED9FF",
2286
+ 300: "#71BDFF",
2287
+ 400: "#348AD5",
2288
+ 500: "#2567A1",
2289
+ 600: "#1B5180",
2290
+ 700: "#17375E", // Azul Intelica
2291
+ },
2292
+ orange: {
2293
+ 0: "#FFFFFF",
2294
+ 100: "#FCE8DD",
2295
+ 200: "#FCD3BD",
2296
+ 300: "#FFB48B",
2297
+ 400: "#FF9053",
2298
+ 500: "#FF7F00", // Orange Intelica
2299
+ 600: "#FF7B31",
2300
+ 700: "#CC4900",
2301
+ },
2302
+ brown: {
2303
+ 100: "#F1E7E1",
2304
+ 200: "#F1DDD1",
2305
+ 300: "#E2C6B4",
2306
+ 400: "#C4AC9D",
2307
+ 500: "#A18D80",
2308
+ 600: "#837267",
2309
+ },
2310
+ beige: {
2311
+ 100: "#EEE7E1",
2312
+ 200: "#F1E3D7",
2313
+ 300: "#ECD2BB",
2314
+ 400: "#ECC098",
2315
+ 500: "#EBA869",
2316
+ 600: "#C48B56",
2317
+ },
2318
+ gray: {
2319
+ 0: "#FFFFFF",
2320
+ 100: "#F3F3F3",
2321
+ 200: "#E9E9E9",
2322
+ 300: "#D9D9D9",
2323
+ 400: "#BFBFBF",
2324
+ 500: "#A6A5A1",
2325
+ },
2326
+ neutral: {
2327
+ 950: "#081423",
2328
+ },
2329
+ red: {
2330
+ 50: "#fef2f2",
2331
+ 100: "#fee2e2",
2332
+ 200: "#fecaca",
2333
+ 300: "#fca5a5",
2334
+ 400: "#f87171",
2335
+ 500: "#ef4444",
2336
+ 600: "#dc2626",
2337
+ 700: "#b91c1c",
2338
+ 800: "#991b1b",
2339
+ 900: "#7f1d1d",
2340
+ 950: "#450a0a",
2341
+ },
2342
+ green: {
2343
+ 50: "#f0fdf4",
2344
+ 100: "#dcfce7",
2345
+ 200: "#bbf7d0",
2346
+ 300: "#86efac",
2347
+ 400: "#4ade80",
2348
+ 500: "#22c55e",
2349
+ 600: "#16a34a",
2350
+ 700: "#15803d",
2351
+ 800: "#166534",
2352
+ 900: "#14532d",
2353
+ 950: "#052e16",
2354
+ },
2355
+ transitionDuration: "0.2s",
2356
+ iconSize: "1rem",
2357
+ anchorGutter: "2px",
2358
+ list: {
2359
+ padding: "0rem",
2360
+ gap: "2px",
2361
+ header: {
2362
+ padding: "0.5rem 1rem 0.25rem 1rem",
2363
+ },
2364
+ option: {
2365
+ padding: "0.5rem 0.75rem",
2366
+ borderRadius: "{border.radius.sm}",
2367
+ },
2368
+ optionGroup: {
2369
+ padding: "0.5rem 0.75rem",
2370
+ fontWeight: "600",
2371
+ },
2372
+ },
2373
+ content: {
2374
+ borderRadius: "{border.radius.md}",
2375
+ },
2376
+ mask: {
2377
+ transitionDuration: "0.15s",
2378
+ },
2379
+ navigation: {
2380
+ list: {
2381
+ padding: "0.25rem 0.25rem",
2382
+ gap: "2px",
2383
+ },
2384
+ item: {
2385
+ padding: "0.5rem 0.75rem",
2386
+ borderRadius: "{border.radius.sm}",
2387
+ gap: "0.5rem",
2388
+ },
2389
+ submenuLabel: {
2390
+ padding: "0.5rem 0.75rem",
2391
+ fontWeight: "600",
2392
+ },
2393
+ submenuIcon: {
2394
+ size: "0.875rem",
2395
+ },
2396
+ },
2397
+ },
2398
+ semantic: {
2399
+ transparent: "transparent",
2400
+ primary: {
2401
+ 0: "{blue.0}",
2402
+ 100: "{blue.100}",
2403
+ 200: "{blue.200}",
2404
+ 300: "{blue.300}",
2405
+ 400: "{blue.400}",
2406
+ 500: "{blue.500}",
2407
+ 600: "{blue.600}",
2408
+ 700: "var(--main-blue)",
2409
+ },
2410
+ secondary: {
2411
+ 0: "{orange.0}",
2412
+ 100: "{orange.100}",
2413
+ 200: "{orange.200}",
2414
+ 300: "{orange.300}",
2415
+ 400: "{orange.400}",
2416
+ 500: "var(--main-orange)",
2417
+ 600: "{orange.600}",
2418
+ 700: "var(--main-orange-dark)",
2419
+ },
2420
+ colorScheme: {
2421
+ light: {
2422
+ surface: {
2423
+ 0: "#ffffff",
2424
+ 50: "#f8fafc",
2425
+ 100: "#f1f5f9",
2426
+ 200: "#e2e8f0",
2427
+ 300: "#cbd5e1",
2428
+ 400: "#94a3b8",
2429
+ 500: "#64748b",
2430
+ 600: "#475569",
2431
+ 700: "#334155",
2432
+ 800: "#1e293b",
2433
+ 900: "#0f172a",
2434
+ 950: "#020617",
2435
+ },
2436
+ primary: {
2437
+ color: "{primary.700}",
2438
+ contrastColor: "#ffffff",
2439
+ hoverColor: "{primary.600}",
2440
+ activeColor: "{primary.700}",
2441
+ },
2442
+ secondary: {
2443
+ color: "{secondary.500}",
2444
+ },
2445
+ highlight: {
2446
+ background: "var(--main-orange)",
2447
+ focusBackground: "var(--main-orange)",
2448
+ color: "{orange.0}",
2449
+ focusColor: "{orange.0}",
2450
+ },
2451
+ mask: {
2452
+ background: "rgba(23, 55, 94, 0.8)",
2453
+ color: "{surface.200}",
2454
+ },
2455
+ formField: {
2456
+ paddingX: "1.0rem", // added by CA
2457
+ paddingY: "0.6rem", // added by CA
2458
+ background: "var(--main-light)",
2459
+ disabledBackground: "{gray.100}",
2460
+ filledBackground: "{surface.50}",
2461
+ filledHoverBackground: "{surface.50}",
2462
+ filledFocusBackground: "{surface.50}",
2463
+ borderColor: "{gray.300}",
2464
+ hoverBorderColor: "{primary.color}", // modify by CA
2465
+ focusBorderColor: "{primary.color}",
2466
+ invalidBorderColor: "{red.400}",
2467
+ color: "{surface.700}",
2468
+ disabledColor: "{gray.500}",
2469
+ placeholderColor: "{gray.500}",
2470
+ invalidPlaceholderColor: "{red.600}",
2471
+ floatLabelColor: "{surface.500}",
2472
+ floatLabelFocusColor: "{primary.600}",
2473
+ floatLabelActiveColor: "{surface.500}",
2474
+ floatLabelInvalidColor: "{form.field.invalid.placeholder.color}",
2475
+ iconColor: "{primary.color}",
2476
+ shadow: "0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)",
2477
+ borderRadius: "{border.radius.sm}",
2478
+ },
2479
+ text: {
2480
+ color: "var(--main-blue)",
2481
+ hoverColor: "var(--main-orange)",
2482
+ mutedColor: "var(--main-orange)",
2483
+ hoverMutedColor: "orange.700}",
2484
+ },
2485
+ content: {
2486
+ background: "{gray.0}",
2487
+ hoverBackground: "{surface.100}",
2488
+ borderColor: "var(--main-blue)",
2489
+ color: "{text.color}",
2490
+ hoverColor: "{text.hover.color}",
2491
+ },
2492
+ overlay: {
2493
+ select: {
2494
+ borderRadius: "{border.radius.md}",
2495
+ shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
2496
+ background: "var(--main-light)",
2497
+ borderColor: "{surface.200}",
2498
+ color: "{text.color}",
2499
+ },
2500
+ popover: {
2501
+ background: "var(--main-light)",
2502
+ borderColor: "{surface.200}",
2503
+ color: "{text.color}",
2504
+ borderRadius: "{border.radius.md}",
2505
+ padding: "0",
2506
+ shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
2507
+ },
2508
+ modal: {
2509
+ borderColor: "#bfbfbf",
2510
+ color: "{text.color}",
2511
+ borderRadius: "{border.radius.xl}",
2512
+ padding: "1.5rem",
2513
+ shadow: "none",
2514
+ },
2515
+ navigation: {
2516
+ shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
2517
+ },
2518
+ },
2519
+ focusRing: {
2520
+ width: "1px",
2521
+ style: "solid",
2522
+ color: "{primary.color}",
2523
+ offset: "-.1rem",
2524
+ shadow: "none",
2525
+ },
2526
+ borderRadius: {
2527
+ none: "0",
2528
+ xs: "0.2rem",
2529
+ sm: "0.4rem",
2530
+ md: "0.6rem",
2531
+ lg: "0.8rem",
2532
+ xl: "1.2rem",
2533
+ },
2534
+ disabledOpacity: "1",
2535
+ list: {
2536
+ padding: "0rem",
2537
+ gap: "0rem",
2538
+ option: {
2539
+ borderRadius: "0rem",
2540
+ focusBackground: "var(--main-orange)",
2541
+ selectedBackground: "{highlight.background}",
2542
+ selectedFocusBackground: "{highlight.focus.background}",
2543
+ color: "var(--main-blue)",
2544
+ focusColor: "var(--main-light)",
2545
+ selectedColor: "{highlight.color}",
2546
+ selectedFocusColor: "{highlight.focus.color}",
2547
+ icon: {
2548
+ color: "{surface.400}",
2549
+ focusColor: "{surface.500}",
2550
+ },
2551
+ },
2552
+ optionGroup: {
2553
+ background: "transparent",
2554
+ color: "{text.muted.color}",
2555
+ },
2556
+ },
2557
+ navigation: {
2558
+ item: {
2559
+ focusBackground: "{surface.100}",
2560
+ activeBackground: "{surface.100}",
2561
+ color: "{text.color}",
2562
+ focusColor: "{text.hover.color}",
2563
+ activeColor: "{text.hover.color}",
2564
+ icon: {
2565
+ color: "{surface.400}",
2566
+ focusColor: "{surface.500}",
2567
+ activeColor: "{surface.500}",
2568
+ },
2569
+ },
2570
+ submenuLabel: {
2571
+ background: "transparent",
2572
+ color: "{text.muted.color}",
2573
+ },
2574
+ submenuIcon: {
2575
+ color: "{surface.400}",
2576
+ focusColor: "{surface.500}",
2577
+ activeColor: "{surface.500}",
2578
+ },
2579
+ },
2580
+ },
2581
+ dark: {
2582
+ surface: {
2583
+ 0: "#ffffff",
2584
+ 50: "#f8fafc",
2585
+ 100: "#f1f5f9",
2586
+ 200: "#e2e8f0",
2587
+ 300: "#cbd5e1",
2588
+ 400: "#94a3b8",
2589
+ 500: "#64748b",
2590
+ 600: "#475569",
2591
+ 700: "#334155",
2592
+ 800: "#1e293b",
2593
+ 900: "#0f172a",
2594
+ 950: "#020617",
2595
+ },
2596
+ primary: {
2597
+ color: "{primary.700}",
2598
+ contrastColor: "#ffffff",
2599
+ hoverColor: "{primary.600}",
2600
+ activeColor: "{primary.700}",
2601
+ },
2602
+ secondary: {
2603
+ color: "{secondary.500}",
2604
+ },
2605
+ highlight: {
2606
+ background: "var(--main-orange)",
2607
+ focusBackground: "var(--main-orange)",
2608
+ color: "{orange.0}",
2609
+ focusColor: "{orange.0}",
2610
+ },
2611
+ mask: {
2612
+ background: "rgba(23, 55, 94, 0.8)",
2613
+ color: "{surface.200}",
2614
+ },
2615
+ formField: {
2616
+ paddingX: "1.0rem", // added by CA
2617
+ paddingY: "0.6rem", // added by CA
2618
+ background: "var(--main-light)",
2619
+ disabledBackground: "{gray.100}",
2620
+ filledBackground: "{surface.50}",
2621
+ filledHoverBackground: "{surface.50}",
2622
+ filledFocusBackground: "{surface.50}",
2623
+ borderColor: "{gray.300}",
2624
+ hoverBorderColor: "{primary.color}", // modify by CA
2625
+ focusBorderColor: "{primary.color}",
2626
+ invalidBorderColor: "{red.400}",
2627
+ color: "{surface.700}",
2628
+ disabledColor: "{gray.500}",
2629
+ placeholderColor: "{gray.500}",
2630
+ invalidPlaceholderColor: "{red.600}",
2631
+ floatLabelColor: "{surface.500}",
2632
+ floatLabelFocusColor: "{primary.600}",
2633
+ floatLabelActiveColor: "{surface.500}",
2634
+ floatLabelInvalidColor: "{form.field.invalid.placeholder.color}",
2635
+ iconColor: "{primary.color}",
2636
+ shadow: "0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)",
2637
+ borderRadius: "{border.radius.sm}",
2638
+ },
2639
+ text: {
2640
+ color: "var(--main-blue)",
2641
+ hoverColor: "var(--main-orange)",
2642
+ mutedColor: "var(--main-orange)",
2643
+ hoverMutedColor: "orange.700}",
2644
+ },
2645
+ content: {
2646
+ background: "{gray.0}",
2647
+ hoverBackground: "{surface.100}",
2648
+ borderColor: "var(--main-blue)",
2649
+ color: "{text.color}",
2650
+ hoverColor: "{text.hover.color}",
2651
+ },
2652
+ overlay: {
2653
+ select: {
2654
+ borderRadius: "{border.radius.md}",
2655
+ shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
2656
+ background: "var(--main-light)",
2657
+ borderColor: "{surface.200}",
2658
+ color: "{text.color}",
2659
+ },
2660
+ popover: {
2661
+ background: "var(--main-light)",
2662
+ borderColor: "{surface.200}",
2663
+ color: "{text.color}",
2664
+ borderRadius: "{border.radius.md}",
2665
+ padding: "0",
2666
+ shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
2667
+ },
2668
+ modal: {
2669
+ borderColor: "#bfbfbf",
2670
+ color: "{text.color}",
2671
+ borderRadius: "{border.radius.xl}",
2672
+ padding: "1.5rem",
2673
+ shadow: "none",
2674
+ },
2675
+ navigation: {
2676
+ shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
2677
+ },
2678
+ },
2679
+ focusRing: {
2680
+ width: "1px",
2681
+ style: "solid",
2682
+ color: "{primary.color}",
2683
+ offset: "-.1rem",
2684
+ shadow: "none",
2685
+ },
2686
+ borderRadius: {
2687
+ none: "0",
2688
+ xs: "0.2rem",
2689
+ sm: "0.4rem",
2690
+ md: "0.6rem",
2691
+ lg: "0.8rem",
2692
+ xl: "1.2rem",
2693
+ },
2694
+ disabledOpacity: "1",
2695
+ list: {
2696
+ padding: "0rem",
2697
+ gap: "0rem",
2698
+ option: {
2699
+ borderRadius: "0rem",
2700
+ focusBackground: "var(--main-orange)",
2701
+ selectedBackground: "{highlight.background}",
2702
+ selectedFocusBackground: "{highlight.focus.background}",
2703
+ color: "var(--main-blue)",
2704
+ focusColor: "var(--main-light)",
2705
+ selectedColor: "{highlight.color}",
2706
+ selectedFocusColor: "{highlight.focus.color}",
2707
+ icon: {
2708
+ color: "{surface.400}",
2709
+ focusColor: "{surface.500}",
2710
+ },
2711
+ },
2712
+ optionGroup: {
2713
+ background: "transparent",
2714
+ color: "{text.muted.color}",
2715
+ },
2716
+ },
2717
+ navigation: {
2718
+ item: {
2719
+ focusBackground: "{surface.100}",
2720
+ activeBackground: "{surface.100}",
2721
+ color: "{text.color}",
2722
+ focusColor: "{text.hover.color}",
2723
+ activeColor: "{text.hover.color}",
2724
+ icon: {
2725
+ color: "{surface.400}",
2726
+ focusColor: "{surface.500}",
2727
+ activeColor: "{surface.500}",
2728
+ },
2729
+ },
2730
+ submenuLabel: {
2731
+ background: "transparent",
2732
+ color: "{text.muted.color}",
2733
+ },
2734
+ submenuIcon: {
2735
+ color: "{surface.400}",
2736
+ focusColor: "{surface.500}",
2737
+ activeColor: "{surface.500}",
2738
+ },
2739
+ },
2740
+ },
2741
+ },
2742
+ },
2743
+ components: {
2744
+ accordion: {
2745
+ root: {
2746
+ transitionDuration: "{transition.duration}",
2747
+ },
2748
+ panel: {
2749
+ borderWidth: "0 0 1px 0",
2750
+ borderColor: "{content.border.color}",
2751
+ },
2752
+ header: {
2753
+ color: "{text.muted.color}",
2754
+ hoverColor: "{text.color}",
2755
+ activeColor: "{text.color}",
2756
+ padding: "1.125rem",
2757
+ fontWeight: "600",
2758
+ borderRadius: "0",
2759
+ borderWidth: "0",
2760
+ borderColor: "{content.border.color}",
2761
+ background: "{content.background}",
2762
+ hoverBackground: "{content.background}",
2763
+ activeBackground: "{content.background}",
2764
+ activeHoverBackground: "{content.background}",
2765
+ focusRing: {
2766
+ width: "{focus.ring.width}",
2767
+ style: "{focus.ring.style}",
2768
+ color: "{focus.ring.color}",
2769
+ offset: "-1px",
2770
+ shadow: "{focus.ring.shadow}",
2771
+ },
2772
+ toggleIcon: {
2773
+ color: "{text.muted.color}",
2774
+ hoverColor: "{text.color}",
2775
+ activeColor: "{text.color}",
2776
+ activeHoverColor: "{text.color}",
2777
+ },
2778
+ first: {
2779
+ topBorderRadius: "{content.border.radius}",
2780
+ borderWidth: "0",
2781
+ },
2782
+ last: {
2783
+ bottomBorderRadius: "{content.border.radius}",
2784
+ activeBottomBorderRadius: "0",
2785
+ },
2786
+ },
2787
+ content: {
2788
+ borderWidth: "0",
2789
+ borderColor: "{content.border.color}",
2790
+ background: "{content.background}",
2791
+ color: "{text.color}",
2792
+ padding: "0 1.125rem 1.125rem 1.125rem",
2793
+ },
2794
+ colorScheme: {
2795
+ light: {
2796
+ text: {
2797
+ color: "red",
2798
+ },
2799
+ },
2800
+ dark: {
2801
+ text: {
2802
+ color: "red",
2803
+ },
2804
+ },
2805
+ },
2806
+ },
2807
+ autocomplete: {
2808
+ root: {
2809
+ background: "{form.field.background}",
2810
+ disabledBackground: "{form.field.disabled.background}",
2811
+ filledBackground: "{form.field.filled.background}",
2812
+ filledHoverBackground: "{form.field.filled.hover.background}",
2813
+ filledFocusBackground: "{form.field.filled.focus.background}",
2814
+ borderColor: "{form.field.border.color}",
2815
+ hoverBorderColor: "{form.field.hover.border.color}",
2816
+ focusBorderColor: "{form.field.focus.border.color}",
2817
+ invalidBorderColor: "{form.field.invalid.border.color}",
2818
+ color: "{form.field.color}",
2819
+ disabledColor: "{form.field.disabled.color}",
2820
+ placeholderColor: "{form.field.placeholder.color}",
2821
+ invalidPlaceholderColor: "{form.field.invalid.placeholder.color}",
2822
+ shadow: "{form.field.shadow}",
2823
+ paddingX: "{form.field.padding.x}",
2824
+ paddingY: "{form.field.padding.y}",
2825
+ borderRadius: "{form.field.border.radius}",
2826
+ focusRing: {
2827
+ width: "{form.field.focus.ring.width}",
2828
+ style: "{form.field.focus.ring.style}",
2829
+ color: "{form.field.focus.ring.color}",
2830
+ offset: "{form.field.focus.ring.offset}",
2831
+ shadow: "{form.field.focus.ring.shadow}",
2832
+ },
2833
+ transitionDuration: "{form.field.transition.duration}",
2834
+ },
2835
+ overlay: {
2836
+ background: "{overlay.select.background}",
2837
+ borderColor: "{overlay.select.border.color}",
2838
+ borderRadius: "{overlay.select.border.radius}",
2839
+ color: "{overlay.select.color}",
2840
+ shadow: "{overlay.select.shadow}",
2841
+ },
2842
+ list: {
2843
+ padding: "{list.padding}", // var(--p-autocomplete-list-padding)
2844
+ gap: "{list.gap}", // var(--p-autocomplete-list-gap)
2845
+ },
2846
+ option: {
2847
+ focusBackground: "{list.option.focus.background}",
2848
+ selectedBackground: "{list.option.selected.background}",
2849
+ selectedFocusBackground: "{list.option.selected.focus.background}",
2850
+ color: "{list.option.color}",
2851
+ focusColor: "{list.option.focus.color}", // var(--p-autocomplete-option-focus-color)
2852
+ selectedColor: "{list.option.selected.color}",
2853
+ selectedFocusColor: "{list.option.selected.focus.color}",
2854
+ padding: "{list.option.padding}",
2855
+ borderRadius: "{list.option.border.radius}", // var(--p-autocomplete-option-border-radius)
2856
+ },
2857
+ optionGroup: {
2858
+ background: "{list.option.group.background}",
2859
+ color: "{list.option.group.color}",
2860
+ fontWeight: "{list.option.group.font.weight}",
2861
+ padding: "{list.option.group.padding}",
2862
+ },
2863
+ dropdown: {
2864
+ width: "2.5rem",
2865
+ sm: {
2866
+ width: "2rem",
2867
+ },
2868
+ lg: {
2869
+ width: "3rem",
2870
+ },
2871
+ background: "red",
2872
+ borderColor: "{form.field.border.color}",
2873
+ hoverBorderColor: "{form.field.border.color}",
2874
+ activeBorderColor: "{form.field.border.color}",
2875
+ borderRadius: "{form.field.border.radius}",
2876
+ focusRing: {
2877
+ width: "{focus.ring.width}",
2878
+ style: "{focus.ring.style}",
2879
+ color: "{focus.ring.color}",
2880
+ offset: "{focus.ring.offset}", //var(--p-autocomplete-dropdown-focus-ring-offset)
2881
+ shadow: "{focus.ring.shadow}",
2882
+ },
2883
+ },
2884
+ chip: {
2885
+ borderRadius: "{border.radius.sm}",
2886
+ },
2887
+ emptyMessage: {
2888
+ padding: "{list.option.padding}",
2889
+ },
2890
+ colorScheme: {
2891
+ light: {
2892
+ chip: {
2893
+ focusBackground: "{surface.200}",
2894
+ focusColor: "{surface.800}",
2895
+ },
2896
+ dropdown: {
2897
+ background: "{primary.0}",
2898
+ hoverBackground: "{primary.0}",
2899
+ activeBackground: "{primary.0}",
2900
+ color: "{surface.600}",
2901
+ hoverColor: "{surface.700}",
2902
+ activeColor: "{surface.800}",
2903
+ },
2904
+ },
2905
+ dark: {
2906
+ chip: {
2907
+ focusBackground: "{surface.200}",
2908
+ focusColor: "{surface.800}",
2909
+ },
2910
+ dropdown: {
2911
+ background: "{primary.0}",
2912
+ hoverBackground: "{primary.0}",
2913
+ activeBackground: "{primary.0}",
2914
+ color: "{surface.600}",
2915
+ hoverColor: "{surface.700}",
2916
+ activeColor: "{surface.800}",
2917
+ },
2918
+ },
2919
+ },
2920
+ },
2921
+ badge: {
2922
+ root: {
2923
+ borderRadius: "{border.radius.xl}",
2924
+ padding: "0 1rem",
2925
+ fontSize: "1rem",
2926
+ fontWeight: "400",
2927
+ minWidth: "6.8rem",
2928
+ height: "1.8rem",
2929
+ },
2930
+ dot: {
2931
+ size: "0.5rem",
2932
+ },
2933
+ sm: {
2934
+ fontSize: "0.625rem",
2935
+ minWidth: "1.25rem",
2936
+ height: "1.25rem",
2937
+ },
2938
+ lg: {
2939
+ fontSize: "0.875rem",
2940
+ minWidth: "1.75rem",
2941
+ height: "1.75rem",
2942
+ },
2943
+ xl: {
2944
+ fontSize: "1rem",
2945
+ minWidth: "2rem",
2946
+ height: "2rem",
2947
+ },
2948
+ colorScheme: {
2949
+ light: {
2950
+ primary: {
2951
+ background: "{green.500}",
2952
+ color: "var(--main-light)",
2953
+ },
2954
+ success: {
2955
+ background: "{green.500}",
2956
+ color: "var(--main-light)",
2957
+ },
2958
+ danger: {
2959
+ background: "{red.500}",
2960
+ color: "var(--main-light)",
2961
+ },
2962
+ },
2963
+ dark: {
2964
+ primary: {
2965
+ background: "{green.500}",
2966
+ color: "var(--main-light)",
2967
+ },
2968
+ success: {
2969
+ background: "{green.500}",
2970
+ color: "var(--main-light)",
2971
+ },
2972
+ danger: {
2973
+ background: "{red.500}",
2974
+ color: "var(--main-light)",
2975
+ },
2976
+ },
2977
+ },
2978
+ },
2979
+ button: {
2980
+ root: {
2981
+ borderRadius: "{border.radius.sm}",
2982
+ roundedBorderRadius: "2rem",
2983
+ gap: "0.25em",
2984
+ paddingX: "1rem",
2985
+ paddingY: "0.4rem",
2986
+ iconOnlyWidth: "2.5rem",
2987
+ sm: {
2988
+ fontSize: "{form.field.sm.font.size}",
2989
+ paddingX: "{form.field.sm.padding.x}",
2990
+ paddingY: "{form.field.sm.padding.y}",
2991
+ },
2992
+ lg: {
2993
+ fontSize: "{form.field.lg.font.size}",
2994
+ paddingX: "{form.field.lg.padding.x}",
2995
+ paddingY: "{form.field.lg.padding.y}",
2996
+ },
2997
+ label: {
2998
+ fontWeight: "500",
2999
+ },
3000
+ raisedShadow: "0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",
3001
+ focusRing: {
3002
+ width: "{focus.ring.width}",
3003
+ style: "{focus.ring.style}",
3004
+ offset: "{focus.ring.offset}",
3005
+ },
3006
+ badgeSize: "1rem",
3007
+ transitionDuration: "{form.field.transition.duration}",
3008
+ },
3009
+ colorScheme: {
3010
+ light: {
3011
+ root: {
3012
+ primary: {
3013
+ background: "var(--main-orange)",
3014
+ hoverBackground: "var(--main-orange-dark)",
3015
+ activeBackground: "var(--main-orange-dark)",
3016
+ borderColor: "var(--main-orange)",
3017
+ hoverBorderColor: "var(--main-orange-dark)",
3018
+ activeBorderColor: "var(--main-orange-dark)",
3019
+ color: "var(--main-light)",
3020
+ hoverColor: "var(--main-light)",
3021
+ activeColor: "var(--main-light)",
3022
+ focusRing: {
3023
+ color: "{primary.color}",
3024
+ shadow: "none",
3025
+ },
3026
+ },
3027
+ secondary: {
3028
+ background: "var(--main-light)",
3029
+ hoverBackground: "var(--main-light)",
3030
+ activeBackground: "var(--main-orange-dark)",
3031
+ borderColor: "var(--main-orange)",
3032
+ hoverBorderColor: "var(--main-orange-dark)",
3033
+ activeBorderColor: "var(--main-orange-dark)",
3034
+ color: "var(--main-orange)",
3035
+ hoverColor: "var(--main-orange-dark)",
3036
+ activeColor: "var(--main-light)",
3037
+ focusRing: {
3038
+ color: "{surface.600}",
3039
+ shadow: "none",
3040
+ },
3041
+ },
3042
+ info: {
3043
+ background: "{sky.500}",
3044
+ hoverBackground: "{sky.600}",
3045
+ activeBackground: "{sky.700}",
3046
+ borderColor: "{sky.500}",
3047
+ hoverBorderColor: "{sky.600}",
3048
+ activeBorderColor: "{sky.700}",
3049
+ color: "#ffffff",
3050
+ hoverColor: "#ffffff",
3051
+ activeColor: "#ffffff",
3052
+ focusRing: {
3053
+ color: "{sky.500}",
3054
+ shadow: "none",
3055
+ },
3056
+ },
3057
+ success: {
3058
+ background: "var(--main-light)",
3059
+ hoverBackground: "{gray.400}",
3060
+ activeBackground: "{gray.400}",
3061
+ borderColor: "{gray.400}",
3062
+ hoverBorderColor: "{gray.400}",
3063
+ activeBorderColor: "{gray.400}",
3064
+ color: "var(--main-blue)",
3065
+ hoverColor: "#ffffff",
3066
+ activeColor: "#ffffff",
3067
+ focusRing: {
3068
+ color: "{green.500}",
3069
+ shadow: "none",
3070
+ },
3071
+ },
3072
+ warn: {
3073
+ background: "var(--main-orange)",
3074
+ hoverBackground: "{orange.600}",
3075
+ activeBackground: "var(--main-orange-dark)",
3076
+ borderColor: "var(--main-orange)",
3077
+ hoverBorderColor: "{orange.600}",
3078
+ activeBorderColor: "var(--main-orange-dark)",
3079
+ color: "#ffffff",
3080
+ hoverColor: "#ffffff",
3081
+ activeColor: "#ffffff",
3082
+ focusRing: {
3083
+ color: "var(--main-orange)",
3084
+ shadow: "none",
3085
+ },
3086
+ },
3087
+ help: {
3088
+ background: "{purple.500}",
3089
+ hoverBackground: "{purple.600}",
3090
+ activeBackground: "{purple.700}",
3091
+ borderColor: "{purple.500}",
3092
+ hoverBorderColor: "{purple.600}",
3093
+ activeBorderColor: "{purple.700}",
3094
+ color: "#ffffff",
3095
+ hoverColor: "#ffffff",
3096
+ activeColor: "#ffffff",
3097
+ focusRing: {
3098
+ color: "{purple.500}",
3099
+ shadow: "none",
3100
+ },
3101
+ },
3102
+ danger: {
3103
+ background: "{red.500}",
3104
+ hoverBackground: "{red.600}",
3105
+ activeBackground: "{red.700}",
3106
+ borderColor: "{red.500}",
3107
+ hoverBorderColor: "{red.600}",
3108
+ activeBorderColor: "{red.700}",
3109
+ color: "#ffffff",
3110
+ hoverColor: "#ffffff",
3111
+ activeColor: "#ffffff",
3112
+ focusRing: {
3113
+ color: "{red.500}",
3114
+ shadow: "none",
3115
+ },
3116
+ },
3117
+ contrast: {
3118
+ background: "{surface.950}",
3119
+ hoverBackground: "{surface.900}",
3120
+ activeBackground: "{surface.800}",
3121
+ borderColor: "{surface.950}",
3122
+ hoverBorderColor: "{surface.900}",
3123
+ activeBorderColor: "{surface.800}",
3124
+ color: "var(--main-light)",
3125
+ hoverColor: "var(--main-light)",
3126
+ activeColor: "var(--main-light)",
3127
+ focusRing: {
3128
+ color: "{surface.950}",
3129
+ shadow: "none",
3130
+ },
3131
+ },
3132
+ },
3133
+ outlined: {
3134
+ primary: {
3135
+ hoverBackground: "{transparent}",
3136
+ activeBackground: "{transparent}",
3137
+ borderColor: "{transparent}",
3138
+ color: "{primary.color}",
3139
+ },
3140
+ secondary: {
3141
+ hoverBackground: "{transparent}",
3142
+ activeBackground: "{transparent}",
3143
+ borderColor: "{transparent}",
3144
+ color: "var(--main-orange)",
3145
+ },
3146
+ success: {
3147
+ background: "{surface.0}",
3148
+ hoverBackground: "{gray.400}",
3149
+ activeBackground: "{gray.400}",
3150
+ borderColor: "{gray.400}",
3151
+ hoverBorderColor: "{gray.400}",
3152
+ activeBorderColor: "{gray.400}",
3153
+ color: "{blue.700}",
3154
+ hoverColor: "#ffffff",
3155
+ activeColor: "#ffffff",
3156
+ focusRing: {
3157
+ color: "{green.500}",
3158
+ shadow: "none",
3159
+ },
3160
+ },
3161
+ info: {
3162
+ hoverBackground: "{sky.50}",
3163
+ activeBackground: "{sky.100}",
3164
+ borderColor: "{sky.200}",
3165
+ color: "{sky.500}",
3166
+ },
3167
+ warn: {
3168
+ hoverBackground: "{orange.50}",
3169
+ activeBackground: "{orange.100}",
3170
+ borderColor: "{orange.200}",
3171
+ color: "var(--main-orange)",
3172
+ },
3173
+ help: {
3174
+ hoverBackground: "{purple.50}",
3175
+ activeBackground: "{purple.100}",
3176
+ borderColor: "{purple.200}",
3177
+ color: "{purple.500}",
3178
+ },
3179
+ danger: {
3180
+ hoverBackground: "{red.50}",
3181
+ activeBackground: "{red.100}",
3182
+ borderColor: "{red.200}",
3183
+ color: "{red.500}",
3184
+ },
3185
+ contrast: {
3186
+ hoverBackground: "{surface.50}",
3187
+ activeBackground: "{surface.100}",
3188
+ borderColor: "{surface.700}",
3189
+ color: "{surface.950}",
3190
+ },
3191
+ plain: {
3192
+ hoverBackground: "{surface.50}",
3193
+ activeBackground: "{surface.100}",
3194
+ borderColor: "{surface.200}",
3195
+ color: "{surface.700}",
3196
+ },
3197
+ },
3198
+ text: {
3199
+ primary: {
3200
+ hoverBackground: "{transparent}",
3201
+ activeBackground: "{transparent}",
3202
+ color: "var(--main-blue)",
3203
+ },
3204
+ secondary: {
3205
+ hoverBackground: "{transparent}",
3206
+ activeBackground: "{transparent}",
3207
+ color: "var(--main-orange)",
3208
+ },
3209
+ success: {
3210
+ hoverBackground: "{green.50}",
3211
+ activeBackground: "{green.100}",
3212
+ color: "{green.500}",
3213
+ },
3214
+ info: {
3215
+ hoverBackground: "{sky.50}",
3216
+ activeBackground: "{sky.100}",
3217
+ color: "{sky.500}",
3218
+ },
3219
+ warn: {
3220
+ hoverBackground: "{orange.50}",
3221
+ activeBackground: "{orange.100}",
3222
+ color: "var(--main-orange)",
3223
+ },
3224
+ help: {
3225
+ hoverBackground: "{purple.50}",
3226
+ activeBackground: "{purple.100}",
3227
+ color: "{purple.500}",
3228
+ },
3229
+ danger: {
3230
+ hoverBackground: "{red.50}",
3231
+ activeBackground: "{red.100}",
3232
+ color: "{red.500}",
3233
+ },
3234
+ contrast: {
3235
+ hoverBackground: "{surface.50}",
3236
+ activeBackground: "{surface.100}",
3237
+ color: "{surface.950}",
3238
+ },
3239
+ plain: {
3240
+ hoverBackground: "{surface.50}",
3241
+ activeBackground: "{surface.100}",
3242
+ color: "{surface.700}",
3243
+ },
3244
+ },
3245
+ link: {
3246
+ color: "{primary.color}",
3247
+ hoverColor: "{primary.color}",
3248
+ activeColor: "{primary.color}",
3249
+ },
3250
+ },
3251
+ dark: {
3252
+ root: {
3253
+ primary: {
3254
+ background: "var(--main-orange)",
3255
+ hoverBackground: "var(--main-orange-dark)",
3256
+ activeBackground: "var(--main-orange-dark)",
3257
+ borderColor: "var(--main-orange)",
3258
+ hoverBorderColor: "var(--main-orange-dark)",
3259
+ activeBorderColor: "var(--main-orange-dark)",
3260
+ color: "var(--main-light)",
3261
+ hoverColor: "var(--main-light)",
3262
+ activeColor: "var(--main-light)",
3263
+ focusRing: {
3264
+ color: "{primary.color}",
3265
+ shadow: "none",
3266
+ },
3267
+ },
3268
+ secondary: {
3269
+ background: "var(--main-light)",
3270
+ hoverBackground: "var(--main-light)",
3271
+ activeBackground: "var(--main-orange-dark)",
3272
+ borderColor: "var(--main-orange)",
3273
+ hoverBorderColor: "var(--main-orange-dark)",
3274
+ activeBorderColor: "var(--main-orange-dark)",
3275
+ color: "var(--main-orange)",
3276
+ hoverColor: "var(--main-orange-dark)",
3277
+ activeColor: "var(--main-light)",
3278
+ focusRing: {
3279
+ color: "{surface.600}",
3280
+ shadow: "none",
3281
+ },
3282
+ },
3283
+ info: {
3284
+ background: "{sky.500}",
3285
+ hoverBackground: "{sky.600}",
3286
+ activeBackground: "{sky.700}",
3287
+ borderColor: "{sky.500}",
3288
+ hoverBorderColor: "{sky.600}",
3289
+ activeBorderColor: "{sky.700}",
3290
+ color: "#ffffff",
3291
+ hoverColor: "#ffffff",
3292
+ activeColor: "#ffffff",
3293
+ focusRing: {
3294
+ color: "{sky.500}",
3295
+ shadow: "none",
3296
+ },
3297
+ },
3298
+ success: {
3299
+ background: "var(--main-light)",
3300
+ hoverBackground: "{gray.400}",
3301
+ activeBackground: "{gray.400}",
3302
+ borderColor: "{gray.400}",
3303
+ hoverBorderColor: "{gray.400}",
3304
+ activeBorderColor: "{gray.400}",
3305
+ color: "var(--main-blue)",
3306
+ hoverColor: "#ffffff",
3307
+ activeColor: "#ffffff",
3308
+ focusRing: {
3309
+ color: "{green.500}",
3310
+ shadow: "none",
3311
+ },
3312
+ },
3313
+ warn: {
3314
+ background: "var(--main-orange)",
3315
+ hoverBackground: "{orange.600}",
3316
+ activeBackground: "var(--main-orange-dark)",
3317
+ borderColor: "var(--main-orange)",
3318
+ hoverBorderColor: "{orange.600}",
3319
+ activeBorderColor: "var(--main-orange-dark)",
3320
+ color: "#ffffff",
3321
+ hoverColor: "#ffffff",
3322
+ activeColor: "#ffffff",
3323
+ focusRing: {
3324
+ color: "var(--main-orange)",
3325
+ shadow: "none",
3326
+ },
3327
+ },
3328
+ help: {
3329
+ background: "{purple.500}",
3330
+ hoverBackground: "{purple.600}",
3331
+ activeBackground: "{purple.700}",
3332
+ borderColor: "{purple.500}",
3333
+ hoverBorderColor: "{purple.600}",
3334
+ activeBorderColor: "{purple.700}",
3335
+ color: "#ffffff",
3336
+ hoverColor: "#ffffff",
3337
+ activeColor: "#ffffff",
3338
+ focusRing: {
3339
+ color: "{purple.500}",
3340
+ shadow: "none",
3341
+ },
3342
+ },
3343
+ danger: {
3344
+ background: "{red.500}",
3345
+ hoverBackground: "{red.600}",
3346
+ activeBackground: "{red.700}",
3347
+ borderColor: "{red.500}",
3348
+ hoverBorderColor: "{red.600}",
3349
+ activeBorderColor: "{red.700}",
3350
+ color: "#ffffff",
3351
+ hoverColor: "#ffffff",
3352
+ activeColor: "#ffffff",
3353
+ focusRing: {
3354
+ color: "{red.500}",
3355
+ shadow: "none",
3356
+ },
3357
+ },
3358
+ contrast: {
3359
+ background: "{surface.950}",
3360
+ hoverBackground: "{surface.900}",
3361
+ activeBackground: "{surface.800}",
3362
+ borderColor: "{surface.950}",
3363
+ hoverBorderColor: "{surface.900}",
3364
+ activeBorderColor: "{surface.800}",
3365
+ color: "var(--main-light)",
3366
+ hoverColor: "var(--main-light)",
3367
+ activeColor: "var(--main-light)",
3368
+ focusRing: {
3369
+ color: "{surface.950}",
3370
+ shadow: "none",
3371
+ },
3372
+ },
3373
+ },
3374
+ outlined: {
3375
+ primary: {
3376
+ hoverBackground: "{transparent}",
3377
+ activeBackground: "{transparent}",
3378
+ borderColor: "{transparent}",
3379
+ color: "{primary.color}",
3380
+ },
3381
+ secondary: {
3382
+ hoverBackground: "{transparent}",
3383
+ activeBackground: "{transparent}",
3384
+ borderColor: "{transparent}",
3385
+ color: "var(--main-orange)",
3386
+ },
3387
+ success: {
3388
+ hoverBackground: "{green.50}",
3389
+ activeBackground: "{green.100}",
3390
+ borderColor: "{green.200}",
3391
+ color: "{green.500}",
3392
+ },
3393
+ info: {
3394
+ hoverBackground: "{sky.50}",
3395
+ activeBackground: "{sky.100}",
3396
+ borderColor: "{sky.200}",
3397
+ color: "{sky.500}",
3398
+ },
3399
+ warn: {
3400
+ hoverBackground: "{orange.50}",
3401
+ activeBackground: "{orange.100}",
3402
+ borderColor: "{orange.200}",
3403
+ color: "var(--main-orange)",
3404
+ },
3405
+ help: {
3406
+ hoverBackground: "{purple.50}",
3407
+ activeBackground: "{purple.100}",
3408
+ borderColor: "{purple.200}",
3409
+ color: "{purple.500}",
3410
+ },
3411
+ danger: {
3412
+ hoverBackground: "{red.50}",
3413
+ activeBackground: "{red.100}",
3414
+ borderColor: "{red.200}",
3415
+ color: "{red.500}",
3416
+ },
3417
+ contrast: {
3418
+ hoverBackground: "{surface.50}",
3419
+ activeBackground: "{surface.100}",
3420
+ borderColor: "{surface.700}",
3421
+ color: "{surface.950}",
3422
+ },
3423
+ plain: {
3424
+ hoverBackground: "{surface.50}",
3425
+ activeBackground: "{surface.100}",
3426
+ borderColor: "{surface.200}",
3427
+ color: "{surface.700}",
3428
+ },
3429
+ },
3430
+ text: {
3431
+ primary: {
3432
+ hoverBackground: "{transparent}",
3433
+ activeBackground: "{transparent}",
3434
+ color: "var(--main-blue)",
3435
+ },
3436
+ secondary: {
3437
+ hoverBackground: "{transparent}",
3438
+ activeBackground: "{transparent}",
3439
+ color: "var(--main-orange)",
3440
+ },
3441
+ success: {
3442
+ hoverBackground: "{green.50}",
3443
+ activeBackground: "{green.100}",
3444
+ color: "{green.500}",
3445
+ },
3446
+ info: {
3447
+ hoverBackground: "{sky.50}",
3448
+ activeBackground: "{sky.100}",
3449
+ color: "{sky.500}",
3450
+ },
3451
+ warn: {
3452
+ hoverBackground: "{orange.50}",
3453
+ activeBackground: "{orange.100}",
3454
+ color: "var(--main-orange)",
3455
+ },
3456
+ help: {
3457
+ hoverBackground: "{purple.50}",
3458
+ activeBackground: "{purple.100}",
3459
+ color: "{purple.500}",
3460
+ },
3461
+ danger: {
3462
+ hoverBackground: "{red.50}",
3463
+ activeBackground: "{red.100}",
3464
+ color: "{red.500}",
3465
+ },
3466
+ contrast: {
3467
+ hoverBackground: "{surface.50}",
3468
+ activeBackground: "{surface.100}",
3469
+ color: "{surface.950}",
3470
+ },
3471
+ plain: {
3472
+ hoverBackground: "{surface.50}",
3473
+ activeBackground: "{surface.100}",
3474
+ color: "{surface.700}",
3475
+ },
3476
+ },
3477
+ link: {
3478
+ color: "{primary.color}",
3479
+ hoverColor: "{primary.color}",
3480
+ activeColor: "{primary.color}",
3481
+ },
3482
+ },
3483
+ },
3484
+ },
3485
+ carousel: {
3486
+ root: {
3487
+ transitionDuration: "{transition.duration}",
3488
+ },
3489
+ content: {
3490
+ gap: "0.25rem",
3491
+ },
3492
+ indicatorList: {
3493
+ padding: "1rem",
3494
+ gap: "0.5rem",
3495
+ },
3496
+ indicator: {
3497
+ width: "0.8rem",
3498
+ height: "0.8rem",
3499
+ borderRadius: "{content.border.radius}",
3500
+ focusRing: {
3501
+ width: "{focus.ring.width}",
3502
+ style: "{focus.ring.style}",
3503
+ color: "{focus.ring.color}",
3504
+ offset: "{focus.ring.offset}",
3505
+ shadow: "{focus.ring.shadow}",
3506
+ },
3507
+ },
3508
+ colorScheme: {
3509
+ light: {
3510
+ indicator: {
3511
+ background: "var(--main-blue)",
3512
+ hoverBackground: "var(--main-blue)",
3513
+ activeBackground: "{primary.color}",
3514
+ },
3515
+ },
3516
+ dark: {
3517
+ indicator: {
3518
+ background: "var(--main-blue)",
3519
+ hoverBackground: "var(--main-blue)",
3520
+ activeBackground: "{primary.color}",
3521
+ },
3522
+ },
3523
+ },
3524
+ },
3525
+ checkbox: {
3526
+ root: {
3527
+ borderRadius: "{border.radius.sm}",
3528
+ width: "1.2rem",
3529
+ height: "1.2rem",
3530
+ background: "{form.field.background}",
3531
+ checkedBackground: "var(--main-orange)",
3532
+ checkedHoverBackground: "var(--main-orange)",
3533
+ disabledBackground: "{form.field.disabled.background}",
3534
+ filledBackground: "{form.field.filled.background}",
3535
+ borderColor: "{gray.500}",
3536
+ hoverBorderColor: "var(--main-orange)",
3537
+ focusBorderColor: "var(--main-blue)",
3538
+ checkedBorderColor: "var(--main-orange)",
3539
+ checkedHoverBorderColor: "var(--main-orange)",
3540
+ checkedFocusBorderColor: "{primary.color}",
3541
+ checkedDisabledBorderColor: "{form.field.border.color}",
3542
+ invalidBorderColor: "{form.field.invalid.border.color}",
3543
+ shadow: "{form.field.shadow}",
3544
+ focusRing: {
3545
+ width: "{focus.ring.width}",
3546
+ style: "{focus.ring.style}",
3547
+ color: "{focus.ring.color}",
3548
+ offset: "{focus.ring.offset}",
3549
+ shadow: "{focus.ring.shadow}",
3550
+ },
3551
+ transitionDuration: "{form.field.transition.duration}",
3552
+ sm: {
3553
+ width: "1rem",
3554
+ height: "1rem",
3555
+ },
3556
+ lg: {
3557
+ width: "1.5rem",
3558
+ height: "1.5rem",
3559
+ },
3560
+ },
3561
+ icon: {
3562
+ size: "0.875rem",
3563
+ color: "{form.field.color}",
3564
+ checkedColor: "{primary.contrast.color}",
3565
+ checkedHoverColor: "{primary.contrast.color}",
3566
+ disabledColor: "{form.field.disabled.color}",
3567
+ sm: {
3568
+ size: "0.75rem",
3569
+ },
3570
+ lg: {
3571
+ size: "1rem",
3572
+ },
3573
+ },
3574
+ },
3575
+ datatable: {
3576
+ root: {
3577
+ transitionDuration: "{transition.duration}",
3578
+ },
3579
+ header: {
3580
+ background: "{content.background}",
3581
+ borderColor: "{datatable.border.color}",
3582
+ color: "{content.color}",
3583
+ borderWidth: "0 0 1px 0",
3584
+ padding: "0.75rem 1rem",
3585
+ },
3586
+ headerCell: {
3587
+ background: "var(--main-blue)",
3588
+ hoverBackground: "var(--main-blue)",
3589
+ selectedBackground: "var(--main-blue)",
3590
+ color: "var(--main-light)",
3591
+ hoverColor: "var(--main-light)",
3592
+ selectedColor: "var(--main-light)",
3593
+ gap: "0.5rem",
3594
+ padding: "1.3rem 0.5rem",
3595
+ focusRing: {
3596
+ width: "{focus.ring.width}",
3597
+ style: "{focus.ring.style}",
3598
+ color: "{focus.ring.color}",
3599
+ offset: "-1px",
3600
+ shadow: "{focus.ring.shadow}",
3601
+ },
3602
+ },
3603
+ columnTitle: {
3604
+ fontWeight: "400",
3605
+ },
3606
+ row: {
3607
+ background: "{content.background}",
3608
+ hoverBackground: "#cbd9ea",
3609
+ selectedBackground: "{highlight.background}",
3610
+ color: "{content.color}",
3611
+ hoverColor: "var(--main-blue)",
3612
+ selectedColor: "{highlight.color}",
3613
+ borderWidth: "0px",
3614
+ focusRing: {
3615
+ width: "{focus.ring.width}",
3616
+ style: "{focus.ring.style}",
3617
+ color: "{focus.ring.color}",
3618
+ offset: "-1px",
3619
+ shadow: "{focus.ring.shadow}",
3620
+ },
3621
+ },
3622
+ bodyCell: {
3623
+ borderColor: "transparent",
3624
+ padding: "0.75rem 1rem",
3625
+ },
3626
+ footerCell: {
3627
+ background: "{content.background}",
3628
+ borderColor: "{datatable.border.color}",
3629
+ color: "{content.color}",
3630
+ padding: "0.75rem 1rem",
3631
+ },
3632
+ columnFooter: {
3633
+ fontWeight: "600",
3634
+ },
3635
+ footer: {
3636
+ background: "{content.background}",
3637
+ borderColor: "{datatable.border.color}",
3638
+ color: "{content.color}",
3639
+ borderWidth: "0 0 1px 0",
3640
+ padding: "0.75rem 1rem",
3641
+ },
3642
+ dropPoint: {
3643
+ color: "{primary.color}",
3644
+ },
3645
+ columnResizerWidth: "0.5rem",
3646
+ resizeIndicator: {
3647
+ width: "1px",
3648
+ color: "{primary.color}",
3649
+ },
3650
+ sortIcon: {
3651
+ color: "{text.muted.color}",
3652
+ hoverColor: "{text.hover.muted.color}",
3653
+ size: "0.875rem",
3654
+ },
3655
+ loadingIcon: {
3656
+ size: "2rem",
3657
+ },
3658
+ rowToggleButton: {
3659
+ hoverBackground: "{content.hover.background}",
3660
+ selectedHoverBackground: "{content.background}",
3661
+ color: "{text.muted.color}",
3662
+ hoverColor: "{text.color}",
3663
+ selectedHoverColor: "{primary.color}",
3664
+ size: "1.75rem",
3665
+ borderRadius: "50%",
3666
+ focusRing: {
3667
+ width: "{focus.ring.width}",
3668
+ style: "{focus.ring.style}",
3669
+ color: "{focus.ring.color}",
3670
+ offset: "{focus.ring.offset}",
3671
+ shadow: "{focus.ring.shadow}",
3672
+ },
3673
+ },
3674
+ filter: {
3675
+ inlineGap: "0.5rem",
3676
+ overlaySelect: {
3677
+ background: "{overlay.select.background}",
3678
+ borderColor: "{overlay.select.border.color}",
3679
+ borderRadius: "{overlay.select.border.radius}",
3680
+ color: "{overlay.select.color}",
3681
+ shadow: "{overlay.select.shadow}",
3682
+ },
3683
+ overlayPopover: {
3684
+ background: "{overlay.popover.background}",
3685
+ borderColor: "{overlay.popover.border.color}",
3686
+ borderRadius: "{overlay.popover.border.radius}",
3687
+ color: "{overlay.popover.color}",
3688
+ shadow: "{overlay.popover.shadow}",
3689
+ padding: "{overlay.popover.padding}",
3690
+ gap: "0.5rem",
3691
+ },
3692
+ rule: {
3693
+ borderColor: "{content.border.color}",
3694
+ },
3695
+ constraintList: {
3696
+ padding: "{list.padding}",
3697
+ gap: "{list.gap}",
3698
+ },
3699
+ constraint: {
3700
+ focusBackground: "{list.option.focus.background}",
3701
+ selectedBackground: "{list.option.selected.background}",
3702
+ selectedFocusBackground: "{list.option.selected.focus.background}",
3703
+ color: "{list.option.color}",
3704
+ focusColor: "{list.option.focus.color}",
3705
+ selectedColor: "{list.option.selected.color}",
3706
+ selectedFocusColor: "{list.option.selected.focus.color}",
3707
+ separator: {
3708
+ borderColor: "{content.border.color}",
3709
+ },
3710
+ padding: "{list.option.padding}",
3711
+ borderRadius: "{list.option.border.radius}",
3712
+ },
3713
+ },
3714
+ paginatorTop: {
3715
+ borderColor: "{datatable.border.color}",
3716
+ borderWidth: "0 0 1px 0",
3717
+ },
3718
+ paginatorBottom: {
3719
+ borderColor: "{datatable.border.color}",
3720
+ borderWidth: "0 0 1px 0",
3721
+ },
3722
+ colorScheme: {
3723
+ light: {
3724
+ root: {
3725
+ borderColor: "{content.border.color}",
3726
+ },
3727
+ row: {
3728
+ stripedBackground: "{surface.50}",
3729
+ },
3730
+ bodyCell: {
3731
+ selectedBorderColor: "{primary.100}",
3732
+ },
3733
+ },
3734
+ dark: {
3735
+ root: {
3736
+ borderColor: "{content.border.color}",
3737
+ },
3738
+ row: {
3739
+ stripedBackground: "{surface.50}",
3740
+ },
3741
+ bodyCell: {
3742
+ selectedBorderColor: "{primary.100}",
3743
+ },
3744
+ },
3745
+ },
3746
+ },
3747
+ dialog: {
3748
+ root: {
3749
+ background: "var(--main-light)",
3750
+ color: "{overlay.modal.color}",
3751
+ borderRadius: "{overlay.modal.border.radius}",
3752
+ shadow: "none",
3753
+ },
3754
+ header: {
3755
+ gap: "0.5rem",
3756
+ },
3757
+ title: {
3758
+ fontSize: "1.25rem",
3759
+ fontWeight: "600",
3760
+ },
3761
+ content: {
3762
+ padding: " {overlay.modal.padding}",
3763
+ },
3764
+ footer: {
3765
+ padding: "0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",
3766
+ },
3767
+ },
3768
+ fileupload: {
3769
+ root: {
3770
+ background: "{content.background}",
3771
+ borderColor: "{content.border.color}",
3772
+ color: "{content.color}",
3773
+ borderRadius: "{content.border.radius}",
3774
+ transitionDuration: "{transition.duration}",
3775
+ },
3776
+ header: {
3777
+ background: "transparent",
3778
+ color: "{text.color}",
3779
+ padding: "1.125rem",
3780
+ borderColor: "unset",
3781
+ borderWidth: "0",
3782
+ borderRadius: "0",
3783
+ gap: "0.5rem",
3784
+ },
3785
+ content: {
3786
+ highlightBorderColor: "{primary.color}",
3787
+ padding: "0 1.125rem 1.125rem 1.125rem",
3788
+ gap: "1rem",
3789
+ },
3790
+ file: {
3791
+ padding: "1rem",
3792
+ gap: "1rem",
3793
+ borderColor: "{content.border.color}",
3794
+ info: {
3795
+ gap: "0.5rem",
3796
+ },
3797
+ },
3798
+ fileList: {
3799
+ gap: "0.5rem",
3800
+ },
3801
+ progressbar: {
3802
+ height: "0.25rem",
3803
+ },
3804
+ basic: {
3805
+ gap: "0.5rem",
3806
+ },
3807
+ },
3808
+ inputtext: {
3809
+ root: {
3810
+ background: "{form.field.background}",
3811
+ disabledBackground: "{form.field.disabled.background}", // var(--p-inputtext-disabled-background)
3812
+ filledBackground: "{form.field.filled.background}",
3813
+ filledHoverBackground: "{form.field.filled.hover.background}",
3814
+ filledFocusBackground: "{form.field.filled.focus.background}",
3815
+ borderColor: "{form.field.border.color}",
3816
+ hoverBorderColor: "{form.field.hover.border.color}",
3817
+ focusBorderColor: "{form.field.focus.border.color}",
3818
+ invalidBorderColor: "{form.field.invalid.border.color}",
3819
+ color: "{form.field.color}",
3820
+ disabledColor: "{form.field.disabled.color}",
3821
+ placeholderColor: "{form.field.placeholder.color}",
3822
+ invalidPlaceholderColor: "{form.field.invalid.placeholder.color}",
3823
+ shadow: "{form.field.shadow}",
3824
+ paddingX: "{form.field.padding.x}",
3825
+ paddingY: "{form.field.padding.y}",
3826
+ borderRadius: "{form.field.border.radius}", // var(--p-inputtext-border-radius)
3827
+ focusRing: {
3828
+ width: "{form.field.focus.ring.width}",
3829
+ style: "{form.field.focus.ring.style}",
3830
+ color: "{form.field.focus.ring.color}",
3831
+ offset: "{form.field.focus.ring.offset}", // var(--p-inputtext-focus-ring-offset)
3832
+ shadow: "{form.field.focus.ring.shadow}",
3833
+ },
3834
+ transitionDuration: "{form.field.transition.duration}",
3835
+ sm: {
3836
+ fontSize: "{form.field.sm.font.size}",
3837
+ paddingX: "{form.field.sm.padding.x}",
3838
+ paddingY: "{form.field.sm.padding.y}",
3839
+ },
3840
+ lg: {
3841
+ fontSize: "{form.field.lg.font.size}",
3842
+ paddingX: "{form.field.lg.padding.x}",
3843
+ paddingY: "{form.field.lg.padding.y}",
3844
+ },
3845
+ },
3846
+ },
3847
+ inputgroup: {
3848
+ addon: {
3849
+ background: "{form.field.background}",
3850
+ borderColor: "{form.field.border.color}",
3851
+ color: "{form.field.icon.color}",
3852
+ borderRadius: "{form.field.border.radius}",
3853
+ padding: "0.5rem",
3854
+ minWidth: "2.5rem",
3855
+ },
3856
+ },
3857
+ listbox: {
3858
+ root: {
3859
+ background: "{form.field.background}",
3860
+ disabledBackground: "{form.field.disabled.background}",
3861
+ borderColor: "{form.field.border.color}",
3862
+ invalidBorderColor: "{form.field.invalid.border.color}",
3863
+ color: "{form.field.color}",
3864
+ disabledColor: "{form.field.disabled.color}",
3865
+ shadow: "{form.field.shadow}",
3866
+ borderRadius: "{form.field.border.radius}",
3867
+ transitionDuration: "{form.field.transition.duration}",
3868
+ },
3869
+ list: {
3870
+ padding: "{list.padding}",
3871
+ gap: "{list.gap}",
3872
+ header: {
3873
+ padding: "{list.header.padding}",
3874
+ },
3875
+ },
3876
+ option: {
3877
+ focusBackground: "{list.option.focus.background}",
3878
+ selectedBackground: "{list.option.selected.background}",
3879
+ selectedFocusBackground: "{list.option.selected.focus.background}",
3880
+ color: "{list.option.color}",
3881
+ focusColor: "{list.option.focus.color}",
3882
+ selectedColor: "{list.option.selected.color}",
3883
+ selectedFocusColor: "{list.option.selected.focus.color}",
3884
+ padding: "{list.option.padding}",
3885
+ borderRadius: "{list.option.border.radius}",
3886
+ },
3887
+ optionGroup: {
3888
+ background: "{list.option.group.background}",
3889
+ color: "{list.option.group.color}",
3890
+ fontWeight: "{list.option.group.font.weight}",
3891
+ padding: "{list.option.group.padding}",
3892
+ },
3893
+ checkmark: {
3894
+ color: "{list.option.color}",
3895
+ gutterStart: "-0.375rem",
3896
+ gutterEnd: "0.375rem",
3897
+ },
3898
+ emptyMessage: {
3899
+ padding: "{list.option.padding}",
3900
+ },
3901
+ colorScheme: {
3902
+ light: {
3903
+ option: {
3904
+ stripedBackground: "{surface.50}",
3905
+ },
3906
+ },
3907
+ dark: {
3908
+ option: {
3909
+ stripedBackground: "{surface.900}",
3910
+ },
3911
+ },
3912
+ },
3913
+ },
3914
+ multiselect: {
3915
+ root: {
3916
+ background: "{form.field.background}",
3917
+ disabledBackground: "{form.field.disabled.background}",
3918
+ filledBackground: "{form.field.filled.background}",
3919
+ filledHoverBackground: "{form.field.filled.hover.background}",
3920
+ filledFocusBackground: "{form.field.filled.focus.background}",
3921
+ borderColor: "{form.field.border.color}",
3922
+ hoverBorderColor: "{form.field.hover.border.color}",
3923
+ focusBorderColor: "{form.field.focus.border.color}",
3924
+ invalidBorderColor: "{form.field.invalid.border.color}",
3925
+ color: "{form.field.color}",
3926
+ disabledColor: "{form.field.disabled.color}",
3927
+ placeholderColor: "{form.field.placeholder.color}",
3928
+ invalidPlaceholderColor: "{form.field.invalid.placeholder.color}",
3929
+ shadow: "{form.field.shadow}",
3930
+ paddingX: "{form.field.padding.x}",
3931
+ paddingY: "{form.field.padding.y}",
3932
+ borderRadius: "{form.field.border.radius}",
3933
+ focusRing: {
3934
+ width: "{form.field.focus.ring.width}",
3935
+ style: "{form.field.focus.ring.style}",
3936
+ color: "{form.field.focus.ring.color}",
3937
+ offset: "{form.field.focus.ring.offset}",
3938
+ shadow: "{form.field.focus.ring.shadow}",
3939
+ },
3940
+ transitionDuration: "{form.field.transition.duration}",
3941
+ sm: {
3942
+ fontSize: "{form.field.sm.font.size}",
3943
+ paddingX: "{form.field.sm.padding.x}",
3944
+ paddingY: "{form.field.sm.padding.y}",
3945
+ },
3946
+ lg: {
3947
+ fontSize: "{form.field.lg.font.size}",
3948
+ paddingX: "{form.field.lg.padding.x}",
3949
+ paddingY: "{form.field.lg.padding.y}",
3950
+ },
3951
+ },
3952
+ dropdown: {
3953
+ width: "2.5rem",
3954
+ color: "{form.field.icon.color}",
3955
+ },
3956
+ overlay: {
3957
+ background: "{overlay.select.background}",
3958
+ borderColor: "{overlay.select.border.color}",
3959
+ borderRadius: "{overlay.select.border.radius}",
3960
+ color: "{overlay.select.color}",
3961
+ shadow: "{overlay.select.shadow}",
3962
+ },
3963
+ list: {
3964
+ padding: "{list.padding}",
3965
+ gap: "{list.gap}",
3966
+ header: {
3967
+ padding: "{list.header.padding}",
3968
+ },
3969
+ },
3970
+ option: {
3971
+ focusBackground: "{list.option.focus.background}",
3972
+ selectedBackground: "{list.option.selected.background}",
3973
+ selectedFocusBackground: "{list.option.selected.focus.background}",
3974
+ color: "{list.option.color}",
3975
+ focusColor: "{list.option.focus.color}",
3976
+ selectedColor: "{list.option.selected.color}",
3977
+ selectedFocusColor: "{list.option.selected.focus.color}",
3978
+ padding: "{list.option.padding}",
3979
+ borderRadius: "{list.option.border.radius}",
3980
+ gap: "0.5rem",
3981
+ },
3982
+ optionGroup: {
3983
+ background: "{list.option.group.background}",
3984
+ color: "{list.option.group.color}",
3985
+ fontWeight: "{list.option.group.font.weight}",
3986
+ padding: "{list.option.group.padding}",
3987
+ },
3988
+ clearIcon: {
3989
+ color: "{form.field.icon.color}",
3990
+ },
3991
+ chip: {
3992
+ borderRadius: "{border.radius.sm}",
3993
+ },
3994
+ emptyMessage: {
3995
+ padding: "{list.option.padding}",
3996
+ },
3997
+ },
3998
+ picklist: {
3999
+ root: {
4000
+ gap: "1.125rem",
4001
+ },
4002
+ controls: {
4003
+ gap: "0.5rem",
4004
+ },
4005
+ },
4006
+ popover: {
4007
+ root: {
4008
+ background: "{overlay.popover.background}",
4009
+ borderColor: "{overlay.popover.border.color}",
4010
+ color: "{overlay.popover.color}",
4011
+ borderRadius: "{overlay.popover.border.radius}",
4012
+ shadow: "{overlay.popover.shadow}",
4013
+ gutter: "0",
4014
+ arrowOffset: "1.25rem",
4015
+ },
4016
+ content: {
4017
+ padding: "0",
4018
+ },
4019
+ },
4020
+ radiobutton: {
4021
+ root: {
4022
+ width: "1.2rem",
4023
+ height: "1.2rem",
4024
+ background: "{form.field.background}",
4025
+ checkedBackground: "var(--main-orange)",
4026
+ checkedHoverBackground: "var(--main-orange)",
4027
+ disabledBackground: "{form.field.disabled.background}",
4028
+ filledBackground: "{form.field.filled.background}",
4029
+ borderColor: "{gray.500}",
4030
+ hoverBorderColor: "var(--main-orange)",
4031
+ focusBorderColor: "var(--main-blue)",
4032
+ checkedBorderColor: "var(--main-orange)",
4033
+ checkedHoverBorderColor: "var(--main-orange)",
4034
+ checkedFocusBorderColor: "{primary.color}",
4035
+ checkedDisabledBorderColor: "{form.field.border.color}",
4036
+ invalidBorderColor: "{form.field.invalid.border.color}",
4037
+ shadow: "{form.field.shadow}",
4038
+ focusRing: {
4039
+ width: "{focus.ring.width}",
4040
+ style: "{focus.ring.style}",
4041
+ color: "{focus.ring.color}",
4042
+ offset: "{focus.ring.offset}",
4043
+ shadow: "{focus.ring.shadow}",
4044
+ },
4045
+ transitionDuration: "{form.field.transition.duration}",
4046
+ sm: {
4047
+ width: "1rem",
4048
+ height: "1rem",
4049
+ },
4050
+ lg: {
4051
+ width: "1.5rem",
4052
+ height: "1.5rem",
4053
+ },
4054
+ },
4055
+ icon: {
4056
+ size: "0.75rem",
4057
+ checkedColor: "{primary.contrast.color}",
4058
+ checkedHoverColor: "{primary.contrast.color}",
4059
+ disabledColor: "{form.field.disabled.color}",
4060
+ sm: {
4061
+ size: "0.5rem",
4062
+ },
4063
+ lg: {
4064
+ size: "1rem",
4065
+ },
4066
+ },
4067
+ },
4068
+ select: {
4069
+ root: {
4070
+ background: "{form.field.background}",
4071
+ disabledBackground: "{form.field.disabled.background}",
4072
+ filledBackground: "{form.field.filled.background}",
4073
+ filledHoverBackground: "{form.field.filled.hover.background}",
4074
+ filledFocusBackground: "{form.field.filled.focus.background}",
4075
+ borderColor: "{form.field.border.color}",
4076
+ hoverBorderColor: "{form.field.hover.border.color}",
4077
+ focusBorderColor: "{form.field.focus.border.color}",
4078
+ invalidBorderColor: "{form.field.invalid.border.color}",
4079
+ color: "{form.field.color}",
4080
+ disabledColor: "{form.field.disabled.color}",
4081
+ placeholderColor: "{form.field.placeholder.color}",
4082
+ invalidPlaceholderColor: "{form.field.invalid.placeholder.color}",
4083
+ shadow: "{form.field.shadow}",
4084
+ paddingX: "{form.field.padding.x}",
4085
+ paddingY: "{form.field.padding.y}",
4086
+ borderRadius: "{form.field.border.radius}",
4087
+ focusRing: {
4088
+ width: "{form.field.focus.ring.width}",
4089
+ style: "{form.field.focus.ring.style}",
4090
+ color: "{form.field.focus.ring.color}",
4091
+ offset: "{form.field.focus.ring.offset}",
4092
+ shadow: "{form.field.focus.ring.shadow}",
4093
+ },
4094
+ transitionDuration: "{form.field.transition.duration}",
4095
+ sm: {
4096
+ fontSize: "{form.field.sm.font.size}",
4097
+ paddingX: "{form.field.sm.padding.x}",
4098
+ paddingY: "{form.field.sm.padding.y}",
4099
+ },
4100
+ lg: {
4101
+ fontSize: "{form.field.lg.font.size}",
4102
+ paddingX: "{form.field.lg.padding.x}",
4103
+ paddingY: "{form.field.lg.padding.y}",
4104
+ },
4105
+ },
4106
+ dropdown: {
4107
+ width: "2.5rem",
4108
+ color: "{form.field.icon.color}",
4109
+ },
4110
+ overlay: {
4111
+ background: "{overlay.select.background}",
4112
+ borderColor: "{overlay.select.border.color}",
4113
+ borderRadius: "{overlay.select.border.radius}",
4114
+ color: "{overlay.select.color}",
4115
+ shadow: "{overlay.select.shadow}",
4116
+ },
4117
+ list: {
4118
+ padding: "{list.padding}",
4119
+ gap: "{list.gap}",
4120
+ header: {
4121
+ padding: "{list.header.padding}",
4122
+ },
4123
+ },
4124
+ option: {
4125
+ focusBackground: "{list.option.focus.background}",
4126
+ selectedBackground: "{list.option.selected.background}",
4127
+ selectedFocusBackground: "{list.option.selected.focus.background}",
4128
+ color: "{list.option.color}",
4129
+ focusColor: "{list.option.focus.color}",
4130
+ selectedColor: "{list.option.selected.color}",
4131
+ selectedFocusColor: "{list.option.selected.focus.color}",
4132
+ padding: "{list.option.padding}",
4133
+ borderRadius: "{list.option.border.radius}",
4134
+ },
4135
+ optionGroup: {
4136
+ background: "{list.option.group.background}",
4137
+ color: "{list.option.group.color}",
4138
+ fontWeight: "{list.option.group.font.weight}",
4139
+ padding: "{list.option.group.padding}",
4140
+ },
4141
+ clearIcon: {
4142
+ color: "{form.field.icon.color}",
4143
+ },
4144
+ checkmark: {
4145
+ color: "{list.option.color}",
4146
+ gutterStart: "-0.375rem",
4147
+ gutterEnd: "0.375rem",
4148
+ },
4149
+ emptyMessage: {
4150
+ padding: "{list.option.padding}",
4151
+ },
4152
+ },
4153
+ stepper: {
4154
+ root: {
4155
+ transitionDuration: "{transition.duration}",
4156
+ },
4157
+ separator: {
4158
+ background: "var(--main-gray)", // var(--p-stepper-separator-background)
4159
+ activeBackground: "var(--main-orange)",
4160
+ margin: "0 0 0 1.625rem",
4161
+ size: "2px",
4162
+ },
4163
+ step: {
4164
+ padding: "0.5rem",
4165
+ gap: "1rem",
4166
+ },
4167
+ stepHeader: {
4168
+ padding: "0",
4169
+ borderRadius: "{content.border.radius}",
4170
+ focusRing: {
4171
+ width: "{focus.ring.width}",
4172
+ style: "{focus.ring.style}",
4173
+ color: "{focus.ring.color}",
4174
+ offset: "{focus.ring.offset}",
4175
+ shadow: "{focus.ring.shadow}",
4176
+ },
4177
+ gap: "0.5rem",
4178
+ },
4179
+ stepTitle: {
4180
+ color: "{text.color}",
4181
+ activeColor: "{secondary.color}",
4182
+ fontWeight: "500",
4183
+ },
4184
+ stepNumber: {
4185
+ background: "{content.background}",
4186
+ activeBackground: "{content.background}",
4187
+ borderColor: "{primary.color}",
4188
+ activeBorderColor: "{secondary.color}",
4189
+ color: "{text.color}",
4190
+ activeColor: "{secondary.color}",
4191
+ size: "2rem",
4192
+ fontSize: "1.143rem",
4193
+ fontWeight: "500",
4194
+ borderRadius: "50%",
4195
+ shadow: "0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)",
4196
+ },
4197
+ stepIcon: {
4198
+ background: "{primary.color}",
4199
+ activeBackground: "{content.background}",
4200
+ borderColor: "{primary.color}",
4201
+ activeBorderColor: "{secondary.color}",
4202
+ color: "{text.color}",
4203
+ activeColor: "{secondary.color}",
4204
+ size: "2rem",
4205
+ fontSize: "1.143rem",
4206
+ fontWeight: "500",
4207
+ borderRadius: "50%",
4208
+ shadow: "0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)",
4209
+ },
4210
+ steppanels: {
4211
+ padding: "0.875rem 0.5rem 1.125rem 0.5rem",
4212
+ },
4213
+ steppanel: {
4214
+ background: "{content.background}",
4215
+ color: "{content.color}",
4216
+ padding: "0",
4217
+ indent: "1rem",
4218
+ },
4219
+ },
4220
+ slider: {
4221
+ root: {
4222
+ borderRadius: "1rem",
4223
+ transitionDuration: "{transition.duration}",
4224
+ },
4225
+ track: {
4226
+ background: "{gray.200}",
4227
+ size: "0.4rem",
4228
+ },
4229
+ range: {
4230
+ background: "{primary.color}",
4231
+ },
4232
+ handle: {
4233
+ width: "1.1rem",
4234
+ height: "1.1rem",
4235
+ borderRadius: "50%",
4236
+ background: "{content.border.color}",
4237
+ hoverBackground: "{content.border.color}",
4238
+ content: {
4239
+ borderRadius: "50%",
4240
+ hoverBackground: "{content.background}",
4241
+ width: "16px",
4242
+ height: "16px",
4243
+ shadow: "0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)",
4244
+ },
4245
+ focusRing: {
4246
+ width: "{focus.ring.width}",
4247
+ style: "{focus.ring.style}",
4248
+ color: "{focus.ring.color}",
4249
+ offset: "{focus.ring.offset}",
4250
+ shadow: "{focus.ring.shadow}",
4251
+ },
4252
+ },
4253
+ colorScheme: {
4254
+ light: {
4255
+ handle: {
4256
+ contentBackground: "{content.border.color}",
4257
+ range: {
4258
+ background: "{content.border.color}",
4259
+ },
4260
+ },
4261
+ },
4262
+ dark: {
4263
+ handle: {
4264
+ contentBackground: "{content.border.color} ",
4265
+ },
4266
+ range: {
4267
+ background: "{content.border.color}",
4268
+ },
4269
+ },
4270
+ },
4271
+ },
4272
+ tabs: {
4273
+ root: {
4274
+ transitionDuration: "{transition.duration}",
4275
+ },
4276
+ tablist: {
4277
+ borderWidth: "0 0 0 0",
4278
+ background: "var(--main-blue)",
4279
+ borderColor: "#fff",
4280
+ },
4281
+ tab: {
4282
+ background: "transparent",
4283
+ hoverBackground: "transparent",
4284
+ activeBackground: "#fff",
4285
+ borderWidth: "0 0 0 0",
4286
+ borderColor: "{content.border.color}",
4287
+ hoverBorderColor: "{content.border.color}",
4288
+ activeBorderColor: "#fff",
4289
+ color: "#fff",
4290
+ hoverColor: "#d9d9d9",
4291
+ activeColor: "var(--main-orange)",
4292
+ padding: "1rem 1.125rem",
4293
+ fontWeight: "400",
4294
+ margin: "0",
4295
+ gap: "0.5rem",
4296
+ focusRing: {
4297
+ width: "{focus.ring.width}",
4298
+ style: "{focus.ring.style}",
4299
+ color: "{focus.ring.color}",
4300
+ offset: "-1px",
4301
+ shadow: "{focus.ring.shadow}",
4302
+ },
4303
+ },
4304
+ tabpanel: {
4305
+ background: "{content.background}",
4306
+ color: "{content.color}",
4307
+ padding: "2rem",
4308
+ focusRing: {
4309
+ width: "{focus.ring.width}",
4310
+ style: "{focus.ring.style}",
4311
+ color: "{focus.ring.color}",
4312
+ offset: "{focus.ring.offset}",
4313
+ shadow: "inset {focus.ring.shadow}",
4314
+ },
4315
+ },
4316
+ navButton: {
4317
+ background: "{content.background}",
4318
+ color: "{text.muted.color}",
4319
+ hoverColor: "{text.color}",
4320
+ width: "2.5rem",
4321
+ focusRing: {
4322
+ width: "{focus.ring.width}",
4323
+ style: "{focus.ring.style}",
4324
+ color: "{focus.ring.color}",
4325
+ offset: "-1px",
4326
+ shadow: "{focus.ring.shadow}",
4327
+ },
4328
+ },
4329
+ activeBar: {
4330
+ height: "1px",
4331
+ bottom: "-1px",
4332
+ background: "{primary.color}",
4333
+ },
4334
+ colorScheme: {
4335
+ light: {
4336
+ navButton: {
4337
+ shadow: "0px 0px 10px 50px rgba(255, 255, 255, 0.6)",
4338
+ },
4339
+ },
4340
+ dark: {
4341
+ navButton: {
4342
+ shadow: "0px 0px 10px 50px rgba(255, 255, 255, 0.6)",
4343
+ },
4344
+ },
4345
+ },
4346
+ },
4347
+ tag: {
4348
+ // Pills
4349
+ root: {
4350
+ fontSize: "0.875rem",
4351
+ fontWeight: "700",
4352
+ padding: "0.25rem 0.5rem",
4353
+ gap: "0.25rem",
4354
+ borderRadius: "{content.border.radius}",
4355
+ roundedBorderRadius: "{border.radius.xl}",
4356
+ },
4357
+ icon: {
4358
+ size: "0.75rem",
4359
+ },
4360
+ colorScheme: {
4361
+ light: {
4362
+ primary: {
4363
+ background: "{primary.100}",
4364
+ color: "{primary.700}",
4365
+ },
4366
+ secondary: {
4367
+ background: "{surface.100}",
4368
+ color: "{surface.600}",
4369
+ },
4370
+ success: {
4371
+ background: "{green.100}",
4372
+ color: "{green.700}",
4373
+ },
4374
+ info: {
4375
+ background: "{sky.100}",
4376
+ color: "{sky.700}",
4377
+ },
4378
+ warn: {
4379
+ background: "{orange.100}",
4380
+ color: "var(--main-orange-dark)",
4381
+ },
4382
+ danger: {
4383
+ background: "{red.100}",
4384
+ color: "{red.700}",
4385
+ },
4386
+ contrast: {
4387
+ background: "{surface.950}",
4388
+ color: "var(--main-light)",
4389
+ },
4390
+ },
4391
+ dark: {
4392
+ primary: {
4393
+ background: "{primary.100}",
4394
+ color: "{primary.700}",
4395
+ },
4396
+ secondary: {
4397
+ background: "{surface.100}",
4398
+ color: "{surface.600}",
4399
+ },
4400
+ success: {
4401
+ background: "{green.100}",
4402
+ color: "{green.700}",
4403
+ },
4404
+ info: {
4405
+ background: "{sky.100}",
4406
+ color: "{sky.700}",
4407
+ },
4408
+ warn: {
4409
+ background: "{orange.100}",
4410
+ color: "var(--main-orange-dark)",
4411
+ },
4412
+ danger: {
4413
+ background: "{red.100}",
4414
+ color: "{red.700}",
4415
+ },
4416
+ contrast: {
4417
+ background: "{surface.950}",
4418
+ color: "var(--main-light)",
4419
+ },
4420
+ },
4421
+ },
4422
+ },
4423
+ toggleswitch: {
4424
+ root: {
4425
+ width: "2.9rem",
4426
+ height: "1.5rem",
4427
+ borderRadius: "3rem",
4428
+ gap: "0.25rem",
4429
+ shadow: "{form.field.shadow}",
4430
+ focusRing: {
4431
+ width: "{focus.ring.width}",
4432
+ style: "{focus.ring.style}",
4433
+ color: "{focus.ring.color}",
4434
+ offset: "{focus.ring.offset}",
4435
+ shadow: "{focus.ring.shadow}",
4436
+ },
4437
+ borderWidth: "1px",
4438
+ borderColor: "transparent",
4439
+ hoverBorderColor: "transparent",
4440
+ checkedBorderColor: "transparent",
4441
+ checkedHoverBorderColor: "transparent",
4442
+ invalidBorderColor: "{form.field.invalid.border.color}",
4443
+ transitionDuration: "{form.field.transition.duration}",
4444
+ slideDuration: "0.2s",
4445
+ },
4446
+ handle: {
4447
+ borderRadius: "50%",
4448
+ size: "1rem",
4449
+ },
4450
+ colorScheme: {
4451
+ light: {
4452
+ root: {
4453
+ background: "{gray.400}",
4454
+ disabledBackground: "{gray.300}",
4455
+ hoverBackground: "{gray.400}",
4456
+ checkedBackground: "var(--main-orange)",
4457
+ checkedHoverBackground: "var(--main-orange-dark)",
4458
+ },
4459
+ handle: {
4460
+ background: "var(--main-light)",
4461
+ disabledBackground: "{gray.400}",
4462
+ hoverBackground: "var(--main-light)",
4463
+ checkedBackground: "var(--main-light)",
4464
+ checkedHoverBackground: "var(--main-light)",
4465
+ },
4466
+ },
4467
+ dark: {
4468
+ root: {
4469
+ background: "{gray.400}",
4470
+ disabledBackground: "{gray.300}",
4471
+ hoverBackground: "{gray.400}",
4472
+ checkedBackground: "var(--main-orange)",
4473
+ checkedHoverBackground: "var(--main-orange-dark)",
4474
+ },
4475
+ handle: {
4476
+ background: "var(--main-light)",
4477
+ disabledBackground: "{gray.400}",
4478
+ hoverBackground: "var(--main-light)",
4479
+ checkedBackground: "var(--main-light)",
4480
+ checkedHoverBackground: "var(--main-light)",
4481
+ },
4482
+ },
4483
+ },
4484
+ },
4485
+ tooltip: {
4486
+ root: {
4487
+ maxWidth: "60rem",
4488
+ gutter: "0.25rem",
4489
+ shadow: "{overlay.popover.shadow}",
4490
+ padding: "0.5rem 0.75rem",
4491
+ borderRadius: "{overlay.popover.border.radius}",
4492
+ },
4493
+ colorScheme: {
4494
+ light: {
4495
+ root: {
4496
+ background: "var(--main-blue)",
4497
+ color: "var(--main-light)",
4498
+ },
4499
+ },
4500
+ dark: {
4501
+ root: {
4502
+ background: "var(--main-blue)",
4503
+ color: "var(--main-light)",
4504
+ },
4505
+ },
4506
+ },
4507
+ },
4508
+ tree: {
4509
+ root: {
4510
+ background: "transparent",
4511
+ color: "{content.color}",
4512
+ padding: "0",
4513
+ gap: "0.2rem",
4514
+ indent: "1rem",
4515
+ transitionDuration: "{transition.duration}",
4516
+ },
4517
+ node: {
4518
+ padding: "0.25rem 0.5rem",
4519
+ borderRadius: "{content.border.radius}",
4520
+ hoverBackground: "{content.hover.background}",
4521
+ selectedBackground: "{highlight.background}",
4522
+ color: "{text.color}",
4523
+ hoverColor: "{text.hover.color}",
4524
+ selectedColor: "{highlight.color}",
4525
+ focusRing: {
4526
+ width: "{focus.ring.width}",
4527
+ style: "{focus.ring.style}",
4528
+ color: "{focus.ring.color}",
4529
+ offset: "-1px",
4530
+ shadow: "{focus.ring.shadow}",
4531
+ },
4532
+ gap: "0.25rem",
4533
+ },
4534
+ nodeIcon: {
4535
+ color: "{text.muted.color}",
4536
+ hoverColor: "{text.hover.muted.color}",
4537
+ selectedColor: "{highlight.color}",
4538
+ },
4539
+ nodeToggleButton: {
4540
+ borderRadius: "0",
4541
+ size: "1em",
4542
+ hoverBackground: "{content.hover.background}",
4543
+ selectedHoverBackground: "{content.background}",
4544
+ color: "blue.700",
4545
+ hoverColor: "{text.hover.muted.color}",
4546
+ selectedHoverColor: "{primary.color}",
4547
+ focusRing: {
4548
+ width: "{focus.ring.width}",
4549
+ style: "{focus.ring.style}",
4550
+ color: "{focus.ring.color}",
4551
+ offset: "{focus.ring.offset}",
4552
+ shadow: "{focus.ring.shadow}",
4553
+ },
4554
+ },
4555
+ loadingIcon: {
4556
+ size: "2rem",
4557
+ },
4558
+ filter: {
4559
+ margin: "0 0 0.5rem 0",
4560
+ },
4561
+ },
4562
+ },
4563
+ });
4564
+
2116
4565
  /**
2117
4566
  * Generated bundle index. Do not edit.
2118
4567
  */
2119
4568
 
2120
- export { ActionDirective, ActionsMenuComponent, ColumnComponent, CompareByField, ConfigService, CookieAttributesGeneral, DynamicInputValidation, EmailInputValidation, ErrorInterceptor, FeatureFlagService, GlobalFeatureFlagService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, LanguageService, PaginatorComponent, Patterns, RefreshTokenInterceptor, SearchComponent, SharedService, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TermGuard, TermPipe, TermService, encryptData };
4569
+ export { ActionDirective, ActionsMenuComponent, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DynamicInputValidation, EmailInputValidation, ErrorInterceptor, FeatureFlagService, GlobalFeatureFlagService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaTheme, LanguageService, PaginatorComponent, Patterns, RecordPerPageComponent, RefreshTokenInterceptor, RowResumenComponent, SearchComponent, SharedService, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TermGuard, TermPipe, TermService, encryptData };
2121
4570
  //# sourceMappingURL=intelica-library-ui.mjs.map