intelica-library-ui 0.1.43 → 0.1.45
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.
- package/fesm2022/intelica-library-ui.mjs +2803 -15
- package/fesm2022/intelica-library-ui.mjs.map +1 -1
- package/lib/components/button-split/button-split.component.d.ts +23 -0
- package/lib/components/button-split/itemsplit.directive.d.ts +39 -0
- package/lib/components/modal-dialog/modal-dialog.component.d.ts +38 -0
- package/lib/components/record-per-page/model/properties.model.d.ts +6 -0
- package/lib/components/record-per-page/record-per-page.component.d.ts +50 -0
- package/lib/components/sorting/model/cascade-filter.d.ts +5 -0
- package/lib/components/sorting/model/order.constants.d.ts +6 -0
- package/lib/components/sorting/sorting.component.d.ts +110 -0
- package/lib/components/table/column.component.d.ts +20 -1
- package/lib/components/table/table.component.d.ts +9 -4
- package/lib/primeThemes/Intelica.theme.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +10 -0
|
@@ -2,33 +2,37 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { inject, Injectable, signal, Pipe, Component, TemplateRef, ContentChild, Input, Directive, EventEmitter, forwardRef, Output, HostListener, ContentChildren, ViewChild } from '@angular/core';
|
|
3
3
|
import { getCookie, Cookies, setCookie } from 'typescript-cookie';
|
|
4
4
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
5
|
-
import { BehaviorSubject, catchError, throwError, from, switchMap, Subject } from 'rxjs';
|
|
5
|
+
import { BehaviorSubject, catchError, throwError, from, switchMap, Subject, Subscription } from 'rxjs';
|
|
6
6
|
import Swal from 'sweetalert2';
|
|
7
7
|
import * as i1$1 from '@angular/common';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
|
-
import * as i2$
|
|
9
|
+
import * as i2$1 from 'primeng/table';
|
|
10
10
|
import { TableModule } from 'primeng/table';
|
|
11
11
|
import { BadgeModule } from 'primeng/badge';
|
|
12
12
|
import * as i4 from 'primeng/tooltip';
|
|
13
13
|
import { TooltipModule } from 'primeng/tooltip';
|
|
14
14
|
import * as i1 from '@angular/forms';
|
|
15
15
|
import { FormBuilder, FormsModule, ReactiveFormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i3 from 'primeng/radiobutton';
|
|
17
17
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
18
|
-
import
|
|
18
|
+
import * as i1$2 from 'primeng/popover';
|
|
19
|
+
import { Popover, PopoverModule } from 'primeng/popover';
|
|
19
20
|
import { InputText } from 'primeng/inputtext';
|
|
20
|
-
import * as i2
|
|
21
|
+
import * as i2 from 'primeng/button';
|
|
21
22
|
import { ButtonModule } from 'primeng/button';
|
|
22
23
|
import moment from 'moment';
|
|
23
24
|
import * as _ from 'lodash';
|
|
24
|
-
import * as i3 from 'primeng/api';
|
|
25
|
+
import * as i3$1 from 'primeng/api';
|
|
25
26
|
import { InputGroupAddonModule } from 'primeng/inputgroupaddon';
|
|
26
|
-
import * as i3$
|
|
27
|
+
import * as i3$2 from 'primeng/ripple';
|
|
27
28
|
import { RippleModule } from 'primeng/ripple';
|
|
29
|
+
import { Dialog } from 'primeng/dialog';
|
|
28
30
|
import * as XLSX from 'xlsx';
|
|
29
31
|
import { Workbook } from 'exceljs';
|
|
30
32
|
import { saveAs } from 'file-saver';
|
|
31
33
|
import JSEncrypt from 'jsencrypt';
|
|
34
|
+
import Aura from '@primeng/themes/aura';
|
|
35
|
+
import { definePreset } from '@primeng/themes';
|
|
32
36
|
|
|
33
37
|
class ConfigService {
|
|
34
38
|
Http = inject(HttpClient);
|
|
@@ -418,9 +422,12 @@ class ColumnComponent {
|
|
|
418
422
|
tooltip = "";
|
|
419
423
|
tooltipPosition = "top";
|
|
420
424
|
showIndex = false;
|
|
425
|
+
showHeader = true;
|
|
426
|
+
//@Input() isGrouped: boolean = false;
|
|
427
|
+
//@Input() isGroup: boolean = false;
|
|
421
428
|
templateRef;
|
|
422
429
|
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 });
|
|
430
|
+
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
431
|
}
|
|
425
432
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
426
433
|
type: Directive,
|
|
@@ -445,6 +452,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
445
452
|
type: Input
|
|
446
453
|
}], showIndex: [{
|
|
447
454
|
type: Input
|
|
455
|
+
}], showHeader: [{
|
|
456
|
+
type: Input
|
|
457
|
+
}], templateRef: [{
|
|
458
|
+
type: ContentChild,
|
|
459
|
+
args: [TemplateRef]
|
|
460
|
+
}] } });
|
|
461
|
+
class ColumnGroupComponent {
|
|
462
|
+
field;
|
|
463
|
+
header;
|
|
464
|
+
sortable = false;
|
|
465
|
+
// @Input() width?: string;
|
|
466
|
+
// @Input() className?: string;
|
|
467
|
+
// @Input() headerTooltip: string = "";
|
|
468
|
+
// @Input() headerTooltipPosition: "top" | "bottom" | "left" | "right" = "top";
|
|
469
|
+
// @Input() tooltip: string = "";
|
|
470
|
+
// @Input() tooltipPosition: "top" | "bottom" | "left" | "right" = "top";
|
|
471
|
+
// @Input() showIndex: boolean = false;
|
|
472
|
+
// @Input() isGrouped: boolean = false;
|
|
473
|
+
// @Input() isGroup: boolean = false;
|
|
474
|
+
colspan = 1;
|
|
475
|
+
rowspan = 1;
|
|
476
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ColumnGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
477
|
+
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 });
|
|
478
|
+
}
|
|
479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ColumnGroupComponent, decorators: [{
|
|
480
|
+
type: Directive,
|
|
481
|
+
args: [{ selector: "columnGroup" }]
|
|
482
|
+
}], propDecorators: { field: [{
|
|
483
|
+
type: Input
|
|
484
|
+
}], header: [{
|
|
485
|
+
type: Input
|
|
486
|
+
}], sortable: [{
|
|
487
|
+
type: Input
|
|
488
|
+
}], colspan: [{
|
|
489
|
+
type: Input
|
|
490
|
+
}], rowspan: [{
|
|
491
|
+
type: Input
|
|
492
|
+
}] } });
|
|
493
|
+
class RowResumenComponent {
|
|
494
|
+
field;
|
|
495
|
+
className;
|
|
496
|
+
// @Input() width?: string;
|
|
497
|
+
// @Input() className?: string;
|
|
498
|
+
// @Input() headerTooltip: string = "";
|
|
499
|
+
// @Input() headerTooltipPosition: "top" | "bottom" | "left" | "right" = "top";
|
|
500
|
+
// @Input() tooltip: string = "";
|
|
501
|
+
// @Input() tooltipPosition: "top" | "bottom" | "left" | "right" = "top";
|
|
502
|
+
// @Input() showIndex: boolean = false;
|
|
503
|
+
// @Input() isGrouped: boolean = false;
|
|
504
|
+
// @Input() isGroup: boolean = false;
|
|
505
|
+
colspan = 1;
|
|
506
|
+
rowspan = 1;
|
|
507
|
+
templateRef;
|
|
508
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RowResumenComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
509
|
+
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 });
|
|
510
|
+
}
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RowResumenComponent, decorators: [{
|
|
512
|
+
type: Directive,
|
|
513
|
+
args: [{ selector: "rowResumenComponent" }]
|
|
514
|
+
}], propDecorators: { field: [{
|
|
515
|
+
type: Input
|
|
516
|
+
}], className: [{
|
|
517
|
+
type: Input
|
|
518
|
+
}], colspan: [{
|
|
519
|
+
type: Input
|
|
520
|
+
}], rowspan: [{
|
|
521
|
+
type: Input
|
|
448
522
|
}], templateRef: [{
|
|
449
523
|
type: ContentChild,
|
|
450
524
|
args: [TemplateRef]
|
|
@@ -622,7 +696,7 @@ class SearchComponent {
|
|
|
622
696
|
provide: NG_VALUE_ACCESSOR,
|
|
623
697
|
useExisting: forwardRef(() => SearchComponent),
|
|
624
698
|
},
|
|
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)\" *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:
|
|
699
|
+
], 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: i3.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
700
|
}
|
|
627
701
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SearchComponent, decorators: [{
|
|
628
702
|
type: Component,
|
|
@@ -745,7 +819,7 @@ class PaginatorComponent {
|
|
|
745
819
|
this.EmitPageChange();
|
|
746
820
|
}
|
|
747
821
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
748
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: PaginatorComponent, isStandalone: true, selector: "intelica-paginator", inputs: { TotalItems: "TotalItems", CurrentPage: "CurrentPage", ItemsPerPage: "ItemsPerPage" }, outputs: { PageChange: "PageChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"prPaginator\">\r\n\t<span class=\"prPaginator__info\">{{ TotalItems }} {{ \"Records\" | term : GlobalTermService.languageCode }}</span>\r\n\t<div class=\"prPaginator__controls\">\r\n\t\t<button pButton type=\"button\" class=\"prPaginator__btn prPaginator__btn--first\" [disabled]=\"CurrentPage === 1\" (click)=\"GoToFirstPage()\"></button>\r\n\t\t<button pButton type=\"button\" class=\"prPaginator__btn prPaginator__btn--previous\" [disabled]=\"CurrentPage === 1\" (click)=\"GoToPreviousPage()\"></button>\r\n\t\t<input pInputText type=\"text\" (keydown.enter)=\"$event.preventDefault()\" [(ngModel)]=\"CurrentPage\" positiveNumber class=\"prPaginator__input\" (keyup.enter)=\"onKeyUp($event)\" />\r\n\t\t<span class=\"prPaginator__total\">{{ \"Of\" | term : GlobalTermService.languageCode }} {{ TotalPages }}</span>\r\n\t\t<button pButton type=\"button\" class=\"prPaginator__btn prPaginator__btn--next\" [disabled]=\"CurrentPage === TotalPages\" (click)=\"GoToNextPage()\"></button>\r\n\t\t<button pButton type=\"button\" class=\"prPaginator__btn prPaginator__btn--last\" [disabled]=\"CurrentPage === TotalPages\" (click)=\"GoToLastPage()\"></button>\r\n\t</div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i2
|
|
822
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: PaginatorComponent, isStandalone: true, selector: "intelica-paginator", inputs: { TotalItems: "TotalItems", CurrentPage: "CurrentPage", ItemsPerPage: "ItemsPerPage" }, outputs: { PageChange: "PageChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"prPaginator\">\r\n\t<span class=\"prPaginator__info\">{{ TotalItems }} {{ \"Records\" | term : GlobalTermService.languageCode }}</span>\r\n\t<div class=\"prPaginator__controls\">\r\n\t\t<button pButton type=\"button\" class=\"prPaginator__btn prPaginator__btn--first\" [disabled]=\"CurrentPage === 1\" (click)=\"GoToFirstPage()\"></button>\r\n\t\t<button pButton type=\"button\" class=\"prPaginator__btn prPaginator__btn--previous\" [disabled]=\"CurrentPage === 1\" (click)=\"GoToPreviousPage()\"></button>\r\n\t\t<input pInputText type=\"text\" (keydown.enter)=\"$event.preventDefault()\" [(ngModel)]=\"CurrentPage\" positiveNumber class=\"prPaginator__input\" (keyup.enter)=\"onKeyUp($event)\" />\r\n\t\t<span class=\"prPaginator__total\">{{ \"Of\" | term : GlobalTermService.languageCode }} {{ TotalPages }}</span>\r\n\t\t<button pButton type=\"button\" class=\"prPaginator__btn prPaginator__btn--next\" [disabled]=\"CurrentPage === TotalPages\" (click)=\"GoToNextPage()\"></button>\r\n\t\t<button pButton type=\"button\" class=\"prPaginator__btn prPaginator__btn--last\" [disabled]=\"CurrentPage === TotalPages\" (click)=\"GoToLastPage()\"></button>\r\n\t</div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i2.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "directive", type: PositiveNumberDirective, selector: "[positiveNumber]" }, { kind: "pipe", type: TermPipe, name: "term" }] });
|
|
749
823
|
}
|
|
750
824
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
751
825
|
type: Component,
|
|
@@ -1359,10 +1433,13 @@ class TableComponent {
|
|
|
1359
1433
|
ShowPagination = false;
|
|
1360
1434
|
RowsPerPage = 10;
|
|
1361
1435
|
ShowCheckbox = false;
|
|
1436
|
+
ShowIndex = false;
|
|
1362
1437
|
ListDataSelected = [];
|
|
1363
1438
|
SelectedIdentifier = null;
|
|
1364
1439
|
AdditionalTemplate;
|
|
1365
1440
|
ColumnList = [];
|
|
1441
|
+
ColumnGroupList = [];
|
|
1442
|
+
RowResumenList = [];
|
|
1366
1443
|
ListDataFilter = [];
|
|
1367
1444
|
ListDataTable = [];
|
|
1368
1445
|
ListDataSelectedFilter = [];
|
|
@@ -1376,14 +1453,20 @@ class TableComponent {
|
|
|
1376
1453
|
PaginatorTable;
|
|
1377
1454
|
SearchTable;
|
|
1378
1455
|
Columns;
|
|
1456
|
+
ColumnGroups;
|
|
1457
|
+
RowResumenGroups;
|
|
1379
1458
|
constructor() { }
|
|
1380
|
-
ngOnChanges(
|
|
1459
|
+
ngOnChanges() {
|
|
1381
1460
|
this.LoadSearchOptions();
|
|
1382
1461
|
this.ExecuteSearch({});
|
|
1383
1462
|
this.ValidateSelect();
|
|
1384
1463
|
}
|
|
1385
1464
|
ngAfterContentInit() {
|
|
1386
1465
|
this.ColumnList = this.Columns.toArray();
|
|
1466
|
+
this.ColumnGroupList = this.ColumnGroups.toArray();
|
|
1467
|
+
this.RowResumenList = this.RowResumenGroups.toArray();
|
|
1468
|
+
console.log(this.ColumnList);
|
|
1469
|
+
console.log(this.RowResumenList);
|
|
1387
1470
|
}
|
|
1388
1471
|
LoadSearchOptions() {
|
|
1389
1472
|
this.ListSearchOptionsSimple = this.ListSearchOptions.map(item => ({
|
|
@@ -1490,11 +1573,11 @@ class TableComponent {
|
|
|
1490
1573
|
}
|
|
1491
1574
|
}
|
|
1492
1575
|
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: "
|
|
1576
|
+
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$1.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$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2$1.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i2$1.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i2$1.TableCheckbox, selector: "p-tableCheckbox", inputs: ["disabled", "value", "index", "inputId", "name", "required", "ariaLabel"] }, { kind: "component", type: i2$1.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
1577
|
}
|
|
1495
1578
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TableComponent, decorators: [{
|
|
1496
1579
|
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
|
|
1580
|
+
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
1581
|
}], ctorParameters: () => [], propDecorators: { ComponentId: [{
|
|
1499
1582
|
type: Input
|
|
1500
1583
|
}], ListData: [{
|
|
@@ -1509,6 +1592,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
1509
1592
|
type: Input
|
|
1510
1593
|
}], ShowCheckbox: [{
|
|
1511
1594
|
type: Input
|
|
1595
|
+
}], ShowIndex: [{
|
|
1596
|
+
type: Input
|
|
1512
1597
|
}], ListDataSelected: [{
|
|
1513
1598
|
type: Input
|
|
1514
1599
|
}], SelectedIdentifier: [{
|
|
@@ -1527,6 +1612,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
1527
1612
|
}], Columns: [{
|
|
1528
1613
|
type: ContentChildren,
|
|
1529
1614
|
args: [ColumnComponent]
|
|
1615
|
+
}], ColumnGroups: [{
|
|
1616
|
+
type: ContentChildren,
|
|
1617
|
+
args: [ColumnGroupComponent]
|
|
1618
|
+
}], RowResumenGroups: [{
|
|
1619
|
+
type: ContentChildren,
|
|
1620
|
+
args: [RowResumenComponent]
|
|
1530
1621
|
}] } });
|
|
1531
1622
|
|
|
1532
1623
|
class ActionDirective {
|
|
@@ -1791,7 +1882,7 @@ class ActionsMenuComponent {
|
|
|
1791
1882
|
this.ShowSelectActions = true;
|
|
1792
1883
|
}
|
|
1793
1884
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ActionsMenuComponent, deps: [{ token: TermPipe }], target: i0.ɵɵFactoryTarget.Component });
|
|
1794
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: ActionsMenuComponent, isStandalone: true, selector: "intelica-actions-menu", host: { listeners: { "mousedown": "onMouseDown($event)", "window:mousedown": "onMouseDownOutsideBody($event)", "mouseup": "onMouseUp($event)", "document:click": "closeAll($event)" } }, queries: [{ propertyName: "actions", predicate: ActionDirective }], viewQueries: [{ propertyName: "Popover", first: true, predicate: ["popover"], descendants: true }, { propertyName: "MenuButton", first: true, predicate: ["menuButton"], descendants: true }, { propertyName: "PopoverContainer", first: true, predicate: ["popoverContainer"], descendants: true }], ngImport: i0, template: "<div #popoverContainer class=\"grPopoverContainer\">\r\n\t<button #menuButton class=\"grMenuAction\" (click)=\"togglePopover($event)\">\r\n\t\t<i class=\"icon icon-bars\"></i>\r\n\t</button>\r\n\t<div class=\"grPopover\" #popover>\r\n\t\t<!-- Men\u00FA -->\r\n\t\t<div class=\"grPopoverMenu\" *ngIf=\"ShowActionsMenu\" [ngClass]=\"{ hidden: !ShowSelectActions }\">\r\n\t\t\t<div class=\"grPopoverHeader\">\r\n\t\t\t\t<h3>\r\n\t\t\t\t\t<span>{{ \"SelectAction\" | term : GlobalTermService.languageCode }}</span>\r\n\t\t\t\t</h3>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"grPopoverBody\">\r\n\t\t\t\t<button pRipple class=\"grButtonActions\" *ngFor=\"let item of actions; let $index = index\" (click)=\"showTemplate(item)\">\r\n\t\t\t\t\t<span class=\"formRowInputNumber\">{{ $index + 1 }}</span>\r\n\t\t\t\t\t<span class=\"grButtonActionName\">{{ item.name | term : GlobalTermService.languageCode }}</span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<!-- Sub Men\u00FA -->\r\n\t\t<div class=\"grPopoverSubMenu\" [ngClass]=\"{ hidden: !item.active }\" *ngFor=\"let item of actions\">\r\n\t\t\t<div class=\"grPopoverHeader\">\r\n\t\t\t\t<h3>\r\n\t\t\t\t\t<button class=\"backButton\" (click)=\"returnSelectActions(item)\">\r\n\t\t\t\t\t\t<i class=\"icon icon-arrow-left\"></i>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<span>{{ item.name | term : GlobalTermService.languageCode }}</span>\r\n\t\t\t\t</h3>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"grPopoverBody\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"item.template\"></ng-container>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: InputGroupAddonModule }, { 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: "ngmodule", type: RippleModule }, { kind: "directive", type: i3$
|
|
1885
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: ActionsMenuComponent, isStandalone: true, selector: "intelica-actions-menu", host: { listeners: { "mousedown": "onMouseDown($event)", "window:mousedown": "onMouseDownOutsideBody($event)", "mouseup": "onMouseUp($event)", "document:click": "closeAll($event)" } }, queries: [{ propertyName: "actions", predicate: ActionDirective }], viewQueries: [{ propertyName: "Popover", first: true, predicate: ["popover"], descendants: true }, { propertyName: "MenuButton", first: true, predicate: ["menuButton"], descendants: true }, { propertyName: "PopoverContainer", first: true, predicate: ["popoverContainer"], descendants: true }], ngImport: i0, template: "<div #popoverContainer class=\"grPopoverContainer\">\r\n\t<button #menuButton class=\"grMenuAction\" (click)=\"togglePopover($event)\">\r\n\t\t<i class=\"icon icon-bars\"></i>\r\n\t</button>\r\n\t<div class=\"grPopover\" #popover>\r\n\t\t<!-- Men\u00FA -->\r\n\t\t<div class=\"grPopoverMenu\" *ngIf=\"ShowActionsMenu\" [ngClass]=\"{ hidden: !ShowSelectActions }\">\r\n\t\t\t<div class=\"grPopoverHeader\">\r\n\t\t\t\t<h3>\r\n\t\t\t\t\t<span>{{ \"SelectAction\" | term : GlobalTermService.languageCode }}</span>\r\n\t\t\t\t</h3>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"grPopoverBody\">\r\n\t\t\t\t<button pRipple class=\"grButtonActions\" *ngFor=\"let item of actions; let $index = index\" (click)=\"showTemplate(item)\">\r\n\t\t\t\t\t<span class=\"formRowInputNumber\">{{ $index + 1 }}</span>\r\n\t\t\t\t\t<span class=\"grButtonActionName\">{{ item.name | term : GlobalTermService.languageCode }}</span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<!-- Sub Men\u00FA -->\r\n\t\t<div class=\"grPopoverSubMenu\" [ngClass]=\"{ hidden: !item.active }\" *ngFor=\"let item of actions\">\r\n\t\t\t<div class=\"grPopoverHeader\">\r\n\t\t\t\t<h3>\r\n\t\t\t\t\t<button class=\"backButton\" (click)=\"returnSelectActions(item)\">\r\n\t\t\t\t\t\t<i class=\"icon icon-arrow-left\"></i>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<span>{{ item.name | term : GlobalTermService.languageCode }}</span>\r\n\t\t\t\t</h3>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"grPopoverBody\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"item.template\"></ng-container>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: InputGroupAddonModule }, { 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: "ngmodule", type: RippleModule }, { kind: "directive", type: i3$2.Ripple, selector: "[pRipple]" }, { kind: "pipe", type: TermPipe, name: "term" }] });
|
|
1795
1886
|
}
|
|
1796
1887
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ActionsMenuComponent, decorators: [{
|
|
1797
1888
|
type: Component,
|
|
@@ -1822,6 +1913,418 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
1822
1913
|
args: [ActionDirective]
|
|
1823
1914
|
}] } });
|
|
1824
1915
|
|
|
1916
|
+
class ModalDialogComponent {
|
|
1917
|
+
/**
|
|
1918
|
+
* Título del cuadro de diálogo.
|
|
1919
|
+
* @type {string}
|
|
1920
|
+
*/
|
|
1921
|
+
Title = "";
|
|
1922
|
+
/**
|
|
1923
|
+
* Tamaño del cuadro de diálogo.
|
|
1924
|
+
* @type {string}
|
|
1925
|
+
*/
|
|
1926
|
+
Size = "lg";
|
|
1927
|
+
/**
|
|
1928
|
+
* Controlar el arrastre del cuadro de diálogo.
|
|
1929
|
+
* @type {boolean}
|
|
1930
|
+
*/
|
|
1931
|
+
Draggable = false;
|
|
1932
|
+
/**
|
|
1933
|
+
* Controlar el cierre del cuadro de diálogo.
|
|
1934
|
+
* @type {boolean}
|
|
1935
|
+
*/
|
|
1936
|
+
DisableMaskClose = false;
|
|
1937
|
+
/**
|
|
1938
|
+
* Evento emitido al cerrar el cuadro de diálogo.
|
|
1939
|
+
* @type {EventEmitter<boolean>}
|
|
1940
|
+
*/
|
|
1941
|
+
EmmitCloseModal = new EventEmitter();
|
|
1942
|
+
/**
|
|
1943
|
+
* Visibilidad del cuadro de diálogo.
|
|
1944
|
+
* @type {string}
|
|
1945
|
+
*/
|
|
1946
|
+
Visible = false;
|
|
1947
|
+
showDialog() {
|
|
1948
|
+
this.Visible = true;
|
|
1949
|
+
}
|
|
1950
|
+
closeDialog() {
|
|
1951
|
+
this.Visible = false;
|
|
1952
|
+
this.EmmitCloseModal.emit(false);
|
|
1953
|
+
}
|
|
1954
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ModalDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1955
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: ModalDialogComponent, isStandalone: true, selector: "intelica-modal-dialog", inputs: { Title: "Title", Size: "Size", Draggable: "Draggable", DisableMaskClose: "DisableMaskClose" }, outputs: { EmmitCloseModal: "EmmitCloseModal" }, ngImport: i0, template: "<p-dialog class=\"prDialog prDialog--{{ Size }}\" [modal]=\"true\" [(visible)]=\"Visible\" [draggable]=\"Draggable\" [dismissableMask]=\"!DisableMaskClose\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"custom-header\">\r\n\t\t\t<h2>\r\n\t\t\t\t<ng-content select=\"[titleHeaderMenu]\"></ng-content>\r\n\t\t\t</h2>\r\n\t\t\t<button class=\"grButton--icon-close-modal\" (click)=\"closeDialog()\">\r\n\t\t\t\t<i class=\"icon-close1\"></i>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</ng-template>\r\n\t<div class=\"prDialog__content\">\r\n\t\t<ng-content select=\"[content]\"></ng-content>\r\n\t</div>\r\n</p-dialog>\r\n", styles: [""], dependencies: [{ kind: "component", type: Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i3$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }] });
|
|
1956
|
+
}
|
|
1957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ModalDialogComponent, decorators: [{
|
|
1958
|
+
type: Component,
|
|
1959
|
+
args: [{ selector: "intelica-modal-dialog", imports: [Dialog, ButtonModule], template: "<p-dialog class=\"prDialog prDialog--{{ Size }}\" [modal]=\"true\" [(visible)]=\"Visible\" [draggable]=\"Draggable\" [dismissableMask]=\"!DisableMaskClose\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"custom-header\">\r\n\t\t\t<h2>\r\n\t\t\t\t<ng-content select=\"[titleHeaderMenu]\"></ng-content>\r\n\t\t\t</h2>\r\n\t\t\t<button class=\"grButton--icon-close-modal\" (click)=\"closeDialog()\">\r\n\t\t\t\t<i class=\"icon-close1\"></i>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</ng-template>\r\n\t<div class=\"prDialog__content\">\r\n\t\t<ng-content select=\"[content]\"></ng-content>\r\n\t</div>\r\n</p-dialog>\r\n" }]
|
|
1960
|
+
}], propDecorators: { Title: [{
|
|
1961
|
+
type: Input
|
|
1962
|
+
}], Size: [{
|
|
1963
|
+
type: Input
|
|
1964
|
+
}], Draggable: [{
|
|
1965
|
+
type: Input
|
|
1966
|
+
}], DisableMaskClose: [{
|
|
1967
|
+
type: Input
|
|
1968
|
+
}], EmmitCloseModal: [{
|
|
1969
|
+
type: Output
|
|
1970
|
+
}] } });
|
|
1971
|
+
|
|
1972
|
+
class ItemSplitDirective {
|
|
1973
|
+
/**
|
|
1974
|
+
* Nombre de la acción.
|
|
1975
|
+
* @type {string}
|
|
1976
|
+
*/
|
|
1977
|
+
name = "";
|
|
1978
|
+
/**
|
|
1979
|
+
* Indica si los botones asociados a la acción deben ocultarse.
|
|
1980
|
+
* @type {boolean}
|
|
1981
|
+
* @default false
|
|
1982
|
+
*/
|
|
1983
|
+
hideButtons = false;
|
|
1984
|
+
/**
|
|
1985
|
+
* Indica si detener la propagación de eventos al hacer clic en la acción.
|
|
1986
|
+
* @type {boolean}
|
|
1987
|
+
* @default false
|
|
1988
|
+
*/
|
|
1989
|
+
stopPropagation = false;
|
|
1990
|
+
/**
|
|
1991
|
+
* Evento emitido cuando se hace clic en la acción.
|
|
1992
|
+
* @type {EventEmitter<any>}
|
|
1993
|
+
*/
|
|
1994
|
+
onClick = new EventEmitter();
|
|
1995
|
+
/**
|
|
1996
|
+
* Referencia al contenido proporcionado por la plantilla.
|
|
1997
|
+
* @type {any}
|
|
1998
|
+
*/
|
|
1999
|
+
template;
|
|
2000
|
+
/**
|
|
2001
|
+
* Indica si la acción está activa o no.
|
|
2002
|
+
* @type {boolean}
|
|
2003
|
+
* @default false
|
|
2004
|
+
*/
|
|
2005
|
+
active = false;
|
|
2006
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ItemSplitDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2007
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: ItemSplitDirective, isStandalone: true, selector: "itemsplit", inputs: { name: "name", hideButtons: "hideButtons", stopPropagation: "stopPropagation" }, outputs: { onClick: "onClick" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }], ngImport: i0 });
|
|
2008
|
+
}
|
|
2009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ItemSplitDirective, decorators: [{
|
|
2010
|
+
type: Directive,
|
|
2011
|
+
args: [{
|
|
2012
|
+
selector: "itemsplit",
|
|
2013
|
+
}]
|
|
2014
|
+
}], propDecorators: { name: [{
|
|
2015
|
+
type: Input
|
|
2016
|
+
}], hideButtons: [{
|
|
2017
|
+
type: Input
|
|
2018
|
+
}], stopPropagation: [{
|
|
2019
|
+
type: Input
|
|
2020
|
+
}], onClick: [{
|
|
2021
|
+
type: Output
|
|
2022
|
+
}], template: [{
|
|
2023
|
+
type: ContentChild,
|
|
2024
|
+
args: ["template"]
|
|
2025
|
+
}] } });
|
|
2026
|
+
|
|
2027
|
+
class ButtonSplitComponent {
|
|
2028
|
+
/**
|
|
2029
|
+
* Directiva que representa una colección de elementos hijos del tipo `ItemSplitDirective`.
|
|
2030
|
+
* Se utiliza para acceder a las instancias de la directiva `ItemSplitDirective` dentro de un componente.
|
|
2031
|
+
* @type {QueryList<ItemSplitDirective>}
|
|
2032
|
+
*/
|
|
2033
|
+
itemsSplit;
|
|
2034
|
+
/**
|
|
2035
|
+
* Muestra la plantilla asociada a una acción si se proporciona un manejador de eventos `onClick`.
|
|
2036
|
+
* - Emite el evento `onClick` de la acción si está definido.
|
|
2037
|
+
* - Detiene la propagación del evento si la propiedad `stopPropagation` de la acción está establecida.
|
|
2038
|
+
* - Activa la acción.
|
|
2039
|
+
* - Oculta el menú de selección de acciones si se cumplen ciertas condiciones.
|
|
2040
|
+
*
|
|
2041
|
+
* @param {ItemSplitDirective} item - La acción para la cual mostrar la plantilla.
|
|
2042
|
+
*/
|
|
2043
|
+
showTemplate(item) {
|
|
2044
|
+
// Emite el evento onClick de la acción si está definido.
|
|
2045
|
+
if (item.onClick) {
|
|
2046
|
+
item.onClick.emit();
|
|
2047
|
+
}
|
|
2048
|
+
// Detiene la propagación del evento si la propiedad stopPropagation del item está establecida.
|
|
2049
|
+
if (item.stopPropagation) {
|
|
2050
|
+
return;
|
|
2051
|
+
}
|
|
2052
|
+
// Activa el item.
|
|
2053
|
+
item.active = true;
|
|
2054
|
+
}
|
|
2055
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ButtonSplitComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2056
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: ButtonSplitComponent, isStandalone: true, selector: "intelica-button-split", queries: [{ propertyName: "itemsSplit", predicate: ItemSplitDirective }], ngImport: i0, template: "<button class=\"grButton grButton--icon grButton--select-popover\" (click)=\"op.toggle($event)\"><i class=\"icon icon-list-options\"></i></button>\r\n<p-popover #op>\r\n\t<div class=\"prPopoverV3 prPopoverV3--contentLeft\">\r\n\t\t<ul>\r\n\t\t\t<li [ngClass]=\"{ hidden: !item.active }\" *ngFor=\"let item of itemsSplit\" (click)=\"showTemplate(item)\">{{ item.name }}</li>\r\n\t\t</ul>\r\n\t</div>\r\n</p-popover>\r\n", dependencies: [{ kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i1$2.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { 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"] }] });
|
|
2057
|
+
}
|
|
2058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ButtonSplitComponent, decorators: [{
|
|
2059
|
+
type: Component,
|
|
2060
|
+
args: [{ selector: "intelica-button-split", imports: [PopoverModule, CommonModule], template: "<button class=\"grButton grButton--icon grButton--select-popover\" (click)=\"op.toggle($event)\"><i class=\"icon icon-list-options\"></i></button>\r\n<p-popover #op>\r\n\t<div class=\"prPopoverV3 prPopoverV3--contentLeft\">\r\n\t\t<ul>\r\n\t\t\t<li [ngClass]=\"{ hidden: !item.active }\" *ngFor=\"let item of itemsSplit\" (click)=\"showTemplate(item)\">{{ item.name }}</li>\r\n\t\t</ul>\r\n\t</div>\r\n</p-popover>\r\n" }]
|
|
2061
|
+
}], propDecorators: { itemsSplit: [{
|
|
2062
|
+
type: ContentChildren,
|
|
2063
|
+
args: [ItemSplitDirective]
|
|
2064
|
+
}] } });
|
|
2065
|
+
|
|
2066
|
+
class RecordPerPageComponent {
|
|
2067
|
+
/**
|
|
2068
|
+
* Lista de propiedades del modelo `PropertiesModel`.
|
|
2069
|
+
* @type {PropertiesModel[]}
|
|
2070
|
+
* @default []
|
|
2071
|
+
*/
|
|
2072
|
+
Properties = [];
|
|
2073
|
+
/**
|
|
2074
|
+
* Evento emitido al realizar un cambio de pagina, envia el pageSize a los componentes.
|
|
2075
|
+
* @type {EventEmitter<any>}
|
|
2076
|
+
*/
|
|
2077
|
+
ReturnPage = new EventEmitter();
|
|
2078
|
+
/**
|
|
2079
|
+
* Términos utilizados en el componente.
|
|
2080
|
+
* @type {any}
|
|
2081
|
+
*/
|
|
2082
|
+
Terms;
|
|
2083
|
+
/**
|
|
2084
|
+
* Lista de registros.
|
|
2085
|
+
* @type {number[]}
|
|
2086
|
+
* @default []
|
|
2087
|
+
*/
|
|
2088
|
+
Records = [];
|
|
2089
|
+
/**
|
|
2090
|
+
* Tamaño de página predeterminado.
|
|
2091
|
+
* @type {number}
|
|
2092
|
+
* @default 20
|
|
2093
|
+
* @private
|
|
2094
|
+
*/
|
|
2095
|
+
PageSize = 20;
|
|
2096
|
+
constructor() { }
|
|
2097
|
+
ngOnChanges(changes) {
|
|
2098
|
+
if (changes.Properties && changes.Properties.currentValue.length > 0)
|
|
2099
|
+
this.FillRecordperPage();
|
|
2100
|
+
}
|
|
2101
|
+
ngOnDestroy() { }
|
|
2102
|
+
ngOnInit() {
|
|
2103
|
+
this.FillRecordperPage();
|
|
2104
|
+
}
|
|
2105
|
+
ChangePageSize() {
|
|
2106
|
+
this.ReturnPage.emit(this.PageSize);
|
|
2107
|
+
}
|
|
2108
|
+
/**
|
|
2109
|
+
* Rellena la lista de registros por página basándose en las propiedades del modelo.
|
|
2110
|
+
* - Utiliza el término de idioma global para la configuración.
|
|
2111
|
+
* - Filtra las propiedades para obtener la propiedad 'RP' (Registros por Página).
|
|
2112
|
+
* - Si la propiedad no existe, la función sale.
|
|
2113
|
+
* - Divide el valor de la propiedad 'RP' en una lista de números.
|
|
2114
|
+
* - Establece el tamaño de página predeterminado como el primer elemento de la lista.
|
|
2115
|
+
*/
|
|
2116
|
+
FillRecordperPage() {
|
|
2117
|
+
// Utiliza el término de idioma global para la configuración.
|
|
2118
|
+
// this.terms = this.globals.languageTerms;
|
|
2119
|
+
// Filtra las propiedades para obtener la propiedad 'RP' (Registros por Página).
|
|
2120
|
+
var rpProperty = this.Properties.filter(x => x.code === "RP");
|
|
2121
|
+
// Si la propiedad no existe, la función sale temprano.
|
|
2122
|
+
if (rpProperty.length === 0)
|
|
2123
|
+
return;
|
|
2124
|
+
// Divide el valor de la propiedad 'RP' en una lista de números.
|
|
2125
|
+
this.Records = rpProperty[0].value.split(",").map(x => parseInt(x));
|
|
2126
|
+
// Establece el tamaño de página predeterminado como el primer elemento de la lista.
|
|
2127
|
+
this.PageSize = this.Records[0];
|
|
2128
|
+
}
|
|
2129
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RecordPerPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2130
|
+
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: i3.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"] }] });
|
|
2131
|
+
}
|
|
2132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: RecordPerPageComponent, decorators: [{
|
|
2133
|
+
type: Component,
|
|
2134
|
+
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" }]
|
|
2135
|
+
}], ctorParameters: () => [], propDecorators: { Properties: [{
|
|
2136
|
+
type: Input
|
|
2137
|
+
}], ReturnPage: [{
|
|
2138
|
+
type: Output
|
|
2139
|
+
}] } });
|
|
2140
|
+
|
|
2141
|
+
class OrderConstants {
|
|
2142
|
+
//DESCRIPTION
|
|
2143
|
+
static ORDER_BY_DESC = "desc";
|
|
2144
|
+
static ORDER_BY_ASC = "asc";
|
|
2145
|
+
//VALUES
|
|
2146
|
+
static ORDER_BY_DESC_VALUE = "1";
|
|
2147
|
+
static ORDER_BY_ASC_VALUE = "0";
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
class SortingComponent {
|
|
2151
|
+
/**
|
|
2152
|
+
* Suscripción a un observable.
|
|
2153
|
+
* @type {Subscription}
|
|
2154
|
+
*/
|
|
2155
|
+
subscription = new Subscription();
|
|
2156
|
+
/**
|
|
2157
|
+
* Términos utilizados en el componente.
|
|
2158
|
+
* @type {any}
|
|
2159
|
+
*/
|
|
2160
|
+
terms;
|
|
2161
|
+
/**
|
|
2162
|
+
* Lista de modelos de filtro en cascada.
|
|
2163
|
+
* @type {CascadeFilterModel[]}
|
|
2164
|
+
* @default []
|
|
2165
|
+
*/
|
|
2166
|
+
LCascadefilter = [];
|
|
2167
|
+
/**
|
|
2168
|
+
* Número máximo de ordenamiento.
|
|
2169
|
+
* @type {number}
|
|
2170
|
+
* @default 4
|
|
2171
|
+
*/
|
|
2172
|
+
NumMaxSorting = 4;
|
|
2173
|
+
/**
|
|
2174
|
+
* Lista de objetos de ordenamiento.
|
|
2175
|
+
* @type {any}
|
|
2176
|
+
* @default []
|
|
2177
|
+
*/
|
|
2178
|
+
Sorters = [];
|
|
2179
|
+
/**
|
|
2180
|
+
* Objeto que indica el ordenamiento actual.
|
|
2181
|
+
* @type {any}
|
|
2182
|
+
*/
|
|
2183
|
+
OrderBy;
|
|
2184
|
+
/**
|
|
2185
|
+
* Objeto que indica el ordenamiento predeterminado.
|
|
2186
|
+
* @type {any}
|
|
2187
|
+
* @default {}
|
|
2188
|
+
*/
|
|
2189
|
+
OrderByDefault = {};
|
|
2190
|
+
/**
|
|
2191
|
+
* Indica si se debe realizar un solo renderizado.
|
|
2192
|
+
* @type {boolean}
|
|
2193
|
+
* @default false
|
|
2194
|
+
*/
|
|
2195
|
+
OneRender = false;
|
|
2196
|
+
/**
|
|
2197
|
+
* Evento emitido al realizar un retorno de datos.
|
|
2198
|
+
* @type {EventEmitter<any>}
|
|
2199
|
+
*/
|
|
2200
|
+
ReturnSorting = new EventEmitter();
|
|
2201
|
+
/**
|
|
2202
|
+
* Evento emitido al alertar sobre una ordenación.
|
|
2203
|
+
* @type {EventEmitter<any>}
|
|
2204
|
+
*/
|
|
2205
|
+
AlertOrder = new EventEmitter();
|
|
2206
|
+
/**
|
|
2207
|
+
* Objeto que contiene constantes de ordenación.
|
|
2208
|
+
* @type {OrderConstants}
|
|
2209
|
+
*/
|
|
2210
|
+
Order = OrderConstants;
|
|
2211
|
+
constructor() { }
|
|
2212
|
+
ngOnDestroy() {
|
|
2213
|
+
this.subscription.unsubscribe();
|
|
2214
|
+
}
|
|
2215
|
+
ngOnInit() {
|
|
2216
|
+
// this.subscription = this.sharedService.isLoadingPageInfo.subscribe({
|
|
2217
|
+
// next: isLoadingPageInfo => {
|
|
2218
|
+
// if (!isLoadingPageInfo) this.terms = this.globals.languageTerms;
|
|
2219
|
+
// },
|
|
2220
|
+
// });
|
|
2221
|
+
}
|
|
2222
|
+
ngOnChanges(changes) {
|
|
2223
|
+
if (changes.OrderBy && this.Sorters.length > 0)
|
|
2224
|
+
this.GetInfoSorting();
|
|
2225
|
+
if (changes.Sorters && this.Sorters.length > 0)
|
|
2226
|
+
this.GetInfoSorting();
|
|
2227
|
+
// this.terms = this.globals.languageTerms;
|
|
2228
|
+
}
|
|
2229
|
+
/**
|
|
2230
|
+
* Obtiene información sobre la ordenación y la asigna a la lista de modelos de filtro en cascada.
|
|
2231
|
+
* - Si no hay información de ordenación (`orderBy`), la función sale.
|
|
2232
|
+
* - Crea una lista de modelos de filtro en cascada con una longitud determinada.
|
|
2233
|
+
* - Filtra las propiedades de ordenación que coinciden con los campos existentes.
|
|
2234
|
+
* - Asigna las propiedades de ordenación a los modelos de filtro en cascada.
|
|
2235
|
+
*/
|
|
2236
|
+
GetInfoSorting() {
|
|
2237
|
+
// Si no hay información de ordenación (orderBy), la función sale temprano.
|
|
2238
|
+
if (!this.OrderBy)
|
|
2239
|
+
return;
|
|
2240
|
+
// Crea una lista de modelos de filtro en cascada con una longitud determinada.
|
|
2241
|
+
this.LCascadefilter = this.PushCascade(this.Sorters.length);
|
|
2242
|
+
// Filtra las propiedades de ordenación que coinciden con los campos existentes.
|
|
2243
|
+
this.OrderBy = Object.fromEntries(Object.entries(this.OrderBy).filter(([key]) => this.Sorters.find((y) => y.field === key)));
|
|
2244
|
+
// Obtiene las columnas y el orden de la ordenación.
|
|
2245
|
+
const columns = Object.keys(this.OrderBy).map(x => x);
|
|
2246
|
+
const order = columns.map(x => this.OrderBy[x]);
|
|
2247
|
+
// Asigna las propiedades de ordenación a los modelos de filtro en cascada.
|
|
2248
|
+
columns.forEach((f, i) => {
|
|
2249
|
+
this.LCascadefilter[i].id = f;
|
|
2250
|
+
this.LCascadefilter[i].order = order[i];
|
|
2251
|
+
});
|
|
2252
|
+
}
|
|
2253
|
+
/**
|
|
2254
|
+
* Función que genera una lista de modelos de filtro en cascada con una cantidad determinada.
|
|
2255
|
+
*
|
|
2256
|
+
* @param {number} cant - Cantidad de modelos de filtro en cascada a generar.
|
|
2257
|
+
* @returns {Array} - Lista de modelos de filtro en cascada.
|
|
2258
|
+
*/
|
|
2259
|
+
PushCascade(cant) {
|
|
2260
|
+
let Lcascadefilter = [];
|
|
2261
|
+
for (let i = 0; i < cant; i++) {
|
|
2262
|
+
Lcascadefilter.push({ id: "0", index: i, order: OrderConstants.ORDER_BY_ASC });
|
|
2263
|
+
}
|
|
2264
|
+
return Lcascadefilter;
|
|
2265
|
+
}
|
|
2266
|
+
/**
|
|
2267
|
+
* Verifica y procesa la ordenación en cascada.
|
|
2268
|
+
* - Si algún modelo de filtro en cascada tiene un ID diferente de '0', se realiza la ordenación.
|
|
2269
|
+
* - De lo contrario, se emite una alerta indicando que no hay columna seleccionada para ordenar.
|
|
2270
|
+
*/
|
|
2271
|
+
CheckCascadeOrder() {
|
|
2272
|
+
this.OrderBy = {};
|
|
2273
|
+
if (this.LCascadefilter.some(s => s.id !== "0")) {
|
|
2274
|
+
this.CascadeOrder();
|
|
2275
|
+
}
|
|
2276
|
+
else {
|
|
2277
|
+
return this.AlertOrder.emit({ ValidMessage: "Select at least one column to sort" }); //this.sharedService.getTermTextByCode("MSG_NO_COLUMN_ORDER") });
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
/**
|
|
2281
|
+
* Procesa la ordenación en cascada y emite el resultado.
|
|
2282
|
+
*/
|
|
2283
|
+
CascadeOrder() {
|
|
2284
|
+
this.LCascadefilter.forEach(element => {
|
|
2285
|
+
if (element.id !== "0") {
|
|
2286
|
+
this.OrderBy[element.id] = element.order;
|
|
2287
|
+
}
|
|
2288
|
+
});
|
|
2289
|
+
this.ReturnSorting.emit(this.OrderBy);
|
|
2290
|
+
}
|
|
2291
|
+
/**
|
|
2292
|
+
* Restaura la ordenación en cascada a la configuración predeterminada y obtiene la información de ordenación.
|
|
2293
|
+
*/
|
|
2294
|
+
ClearCascadeOrder() {
|
|
2295
|
+
this.OrderBy = { ...this.OrderByDefault };
|
|
2296
|
+
this.GetInfoSorting();
|
|
2297
|
+
}
|
|
2298
|
+
/**
|
|
2299
|
+
* Verifica si un modelo de filtro en cascada está deshabilitado basándose en su ID.
|
|
2300
|
+
*
|
|
2301
|
+
* @param {string} id - ID del modelo de filtro en cascada.
|
|
2302
|
+
* @param {number} index - Índice del modelo de filtro en cascada.
|
|
2303
|
+
* @returns {boolean} - Indica si el modelo de filtro en cascada está deshabilitado.
|
|
2304
|
+
*/
|
|
2305
|
+
CheckCascadeDisabled(id, index) {
|
|
2306
|
+
return this.LCascadefilter.some(e => e.id == id);
|
|
2307
|
+
}
|
|
2308
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SortingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2309
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: SortingComponent, isStandalone: true, selector: "intelica-sorting", inputs: { Sorters: "Sorters", OrderBy: "OrderBy", OrderByDefault: "OrderByDefault", OneRender: "OneRender" }, outputs: { ReturnSorting: "ReturnSorting", AlertOrder: "AlertOrder" }, usesOnChanges: true, ngImport: i0, template: "<ng-container>\r\n\t<div class=\"sortingAnalytics\">\r\n\t\t<div class=\"sortingCtr\">\r\n\t\t\t<div></div>\r\n\t\t\t<div class=\"triangle-top\"></div>\r\n\t\t\t<div class=\"triangle-down\"></div>\r\n\t\t\t<ng-container *ngIf=\"OneRender; else multiple_render\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"one_render; context: { Sorters: Sorters }\"></ng-container>\r\n\t\t\t</ng-container>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"sortingBtnCtr\">\r\n\t\t\t<button class=\"grButton grButton--primary applySortAnalytics\" (click)=\"CheckCascadeOrder()\">\r\n\t\t\t\t<!-- <span>{{'BTN_APPLY_SORT' | term : terms}}</span> -->\r\n\t\t\t\t<span>Apply sort</span>\r\n\t\t\t</button>\r\n\t\t\t<button class=\"grButton grButton--secundary clearSortAnalytics\" (click)=\"ClearCascadeOrder()\">\r\n\t\t\t\t<!-- <span>{{'BTN_CLEAR_SORT' | term : terms}}</span> -->\r\n\t\t\t\t<span>Clear sort</span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</div>\r\n</ng-container>\r\n\r\n<ng-template #one_render let-Sorters=\"Sorters\">\r\n\t<ng-container *ngFor=\"let row of Sorters; let i = index\">\r\n\t\t<ng-container *ngIf=\"LCascadefilter.length > 0 && i <= NumMaxSorting\">\r\n\t\t\t<ng-container *ngIf=\"OneRender && i == 0\">\r\n\t\t\t\t<div class=\"idx-select\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t\t<span class=\"numOrder\">{{ i + 1 }}</span>\r\n\t\t\t\t\t<select class=\"form-select\" [(ngModel)]=\"LCascadefilter[i].id\">\r\n\t\t\t\t\t\t<option *ngIf=\"i === 0\" [value]=\"0\">\r\n\t\t\t\t\t\t\t--\r\n\t\t\t\t\t\t\t<!-- <span>{{ \"LBL_SORT_BY\" | term : terms }}</span> -->\r\n\t\t\t\t\t\t\t<span>Sort By</span>\r\n\t\t\t\t\t\t\t--\r\n\t\t\t\t\t\t</option>\r\n\t\t\t\t\t\t<option *ngFor=\"let sort of Sorters\" [ngValue]=\"sort.field\" [disabled]=\"CheckCascadeDisabled(sort.field, i)\">\r\n\t\t\t\t\t\t\t{{ sort.headerText }}\r\n\t\t\t\t\t\t</option>\r\n\t\t\t\t\t</select>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class=\"form-check\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t\t<p-radiobutton class=\"prRadioButton\" name=\"optSort{{ i }}\" [value]=\"Order.ORDER_BY_ASC\" [inputId]=\"'test{{ i + i + 1 }}'\" [(ngModel)]=\"LCascadefilter[i].order\" tabindex=\"0\" />\r\n\t\t\t\t\t<label for=\"test{{ i + i + 1 }}\"></label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class=\"form-check\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t\t<p-radiobutton class=\"prRadioButton\" name=\"optSort{{ i }}\" [value]=\"Order.ORDER_BY_DESC\" [inputId]=\"'test{{ i + i + 2 }}'\" [(ngModel)]=\"LCascadefilter[i].order\" tabindex=\"0\" />\r\n\t\t\t\t\t<label for=\"test{{ i + i + 2 }}\"></label>\r\n\t\t\t\t</div>\r\n\t\t\t</ng-container>\r\n\t\t</ng-container>\r\n\t</ng-container>\r\n</ng-template>\r\n\r\n<ng-template #multiple_render>\r\n\t<ng-container *ngFor=\"let row of Sorters; let i = index\">\r\n\t\t<ng-container *ngIf=\"LCascadefilter.length > 0 && i <= NumMaxSorting\">\r\n\t\t\t<div class=\"idx-select\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t<span class=\"numOrder\">{{ i + 1 }}</span>\r\n\t\t\t\t<select class=\"form-select\" [(ngModel)]=\"LCascadefilter[i].id\">\r\n\t\t\t\t\t<option *ngIf=\"i === 0\" [value]=\"0\">\r\n\t\t\t\t\t\t--\r\n\t\t\t\t\t\t<!-- <span>{{ \"LBL_SORT_BY\" | term : terms }}</span> -->\r\n\t\t\t\t\t\t<span>Sort By</span>\r\n\t\t\t\t\t\t--\r\n\t\t\t\t\t</option>\r\n\t\t\t\t\t<option *ngIf=\"i > 0\" [value]=\"0\">\r\n\t\t\t\t\t\t--\r\n\t\t\t\t\t\t<!-- <span>{{ \"LBL_SORT_THEN\" | term : terms }}</span> -->\r\n\t\t\t\t\t\t<span>Then by</span>\r\n\t\t\t\t\t\t--\r\n\t\t\t\t\t</option>\r\n\t\t\t\t\t<option *ngFor=\"let sort of Sorters\" [ngValue]=\"sort.field\" [disabled]=\"CheckCascadeDisabled(sort.field, i)\">\r\n\t\t\t\t\t\t{{ sort.headerText }}\r\n\t\t\t\t\t</option>\r\n\t\t\t\t</select>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"form-check\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t<p-radiobutton class=\"prRadioButton\" name=\"optSort{{ i }}\" [value]=\"Order.ORDER_BY_ASC\" [inputId]=\"'test{{ i + i + 1 }}'\" [(ngModel)]=\"LCascadefilter[i].order\" tabindex=\"0\" />\r\n\t\t\t\t<label for=\"test{{ i + i + 1 }}\"></label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"form-check\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t<p-radiobutton class=\"prRadioButton\" name=\"optSort{{ i }}\" [value]=\"Order.ORDER_BY_DESC\" [inputId]=\"'test{{ i + i + 2 }}'\" [(ngModel)]=\"LCascadefilter[i].order\" tabindex=\"0\" />\r\n\t\t\t\t<label for=\"test{{ i + i + 2 }}\"></label>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\t</ng-container>\r\n</ng-template>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { 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: i3.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"] }] });
|
|
2310
|
+
}
|
|
2311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SortingComponent, decorators: [{
|
|
2312
|
+
type: Component,
|
|
2313
|
+
args: [{ selector: "intelica-sorting", imports: [CommonModule, FormsModule, RadioButtonModule], template: "<ng-container>\r\n\t<div class=\"sortingAnalytics\">\r\n\t\t<div class=\"sortingCtr\">\r\n\t\t\t<div></div>\r\n\t\t\t<div class=\"triangle-top\"></div>\r\n\t\t\t<div class=\"triangle-down\"></div>\r\n\t\t\t<ng-container *ngIf=\"OneRender; else multiple_render\">\r\n\t\t\t\t<ng-container *ngTemplateOutlet=\"one_render; context: { Sorters: Sorters }\"></ng-container>\r\n\t\t\t</ng-container>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"sortingBtnCtr\">\r\n\t\t\t<button class=\"grButton grButton--primary applySortAnalytics\" (click)=\"CheckCascadeOrder()\">\r\n\t\t\t\t<!-- <span>{{'BTN_APPLY_SORT' | term : terms}}</span> -->\r\n\t\t\t\t<span>Apply sort</span>\r\n\t\t\t</button>\r\n\t\t\t<button class=\"grButton grButton--secundary clearSortAnalytics\" (click)=\"ClearCascadeOrder()\">\r\n\t\t\t\t<!-- <span>{{'BTN_CLEAR_SORT' | term : terms}}</span> -->\r\n\t\t\t\t<span>Clear sort</span>\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</div>\r\n</ng-container>\r\n\r\n<ng-template #one_render let-Sorters=\"Sorters\">\r\n\t<ng-container *ngFor=\"let row of Sorters; let i = index\">\r\n\t\t<ng-container *ngIf=\"LCascadefilter.length > 0 && i <= NumMaxSorting\">\r\n\t\t\t<ng-container *ngIf=\"OneRender && i == 0\">\r\n\t\t\t\t<div class=\"idx-select\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t\t<span class=\"numOrder\">{{ i + 1 }}</span>\r\n\t\t\t\t\t<select class=\"form-select\" [(ngModel)]=\"LCascadefilter[i].id\">\r\n\t\t\t\t\t\t<option *ngIf=\"i === 0\" [value]=\"0\">\r\n\t\t\t\t\t\t\t--\r\n\t\t\t\t\t\t\t<!-- <span>{{ \"LBL_SORT_BY\" | term : terms }}</span> -->\r\n\t\t\t\t\t\t\t<span>Sort By</span>\r\n\t\t\t\t\t\t\t--\r\n\t\t\t\t\t\t</option>\r\n\t\t\t\t\t\t<option *ngFor=\"let sort of Sorters\" [ngValue]=\"sort.field\" [disabled]=\"CheckCascadeDisabled(sort.field, i)\">\r\n\t\t\t\t\t\t\t{{ sort.headerText }}\r\n\t\t\t\t\t\t</option>\r\n\t\t\t\t\t</select>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class=\"form-check\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t\t<p-radiobutton class=\"prRadioButton\" name=\"optSort{{ i }}\" [value]=\"Order.ORDER_BY_ASC\" [inputId]=\"'test{{ i + i + 1 }}'\" [(ngModel)]=\"LCascadefilter[i].order\" tabindex=\"0\" />\r\n\t\t\t\t\t<label for=\"test{{ i + i + 1 }}\"></label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class=\"form-check\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t\t<p-radiobutton class=\"prRadioButton\" name=\"optSort{{ i }}\" [value]=\"Order.ORDER_BY_DESC\" [inputId]=\"'test{{ i + i + 2 }}'\" [(ngModel)]=\"LCascadefilter[i].order\" tabindex=\"0\" />\r\n\t\t\t\t\t<label for=\"test{{ i + i + 2 }}\"></label>\r\n\t\t\t\t</div>\r\n\t\t\t</ng-container>\r\n\t\t</ng-container>\r\n\t</ng-container>\r\n</ng-template>\r\n\r\n<ng-template #multiple_render>\r\n\t<ng-container *ngFor=\"let row of Sorters; let i = index\">\r\n\t\t<ng-container *ngIf=\"LCascadefilter.length > 0 && i <= NumMaxSorting\">\r\n\t\t\t<div class=\"idx-select\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t<span class=\"numOrder\">{{ i + 1 }}</span>\r\n\t\t\t\t<select class=\"form-select\" [(ngModel)]=\"LCascadefilter[i].id\">\r\n\t\t\t\t\t<option *ngIf=\"i === 0\" [value]=\"0\">\r\n\t\t\t\t\t\t--\r\n\t\t\t\t\t\t<!-- <span>{{ \"LBL_SORT_BY\" | term : terms }}</span> -->\r\n\t\t\t\t\t\t<span>Sort By</span>\r\n\t\t\t\t\t\t--\r\n\t\t\t\t\t</option>\r\n\t\t\t\t\t<option *ngIf=\"i > 0\" [value]=\"0\">\r\n\t\t\t\t\t\t--\r\n\t\t\t\t\t\t<!-- <span>{{ \"LBL_SORT_THEN\" | term : terms }}</span> -->\r\n\t\t\t\t\t\t<span>Then by</span>\r\n\t\t\t\t\t\t--\r\n\t\t\t\t\t</option>\r\n\t\t\t\t\t<option *ngFor=\"let sort of Sorters\" [ngValue]=\"sort.field\" [disabled]=\"CheckCascadeDisabled(sort.field, i)\">\r\n\t\t\t\t\t\t{{ sort.headerText }}\r\n\t\t\t\t\t</option>\r\n\t\t\t\t</select>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"form-check\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t<p-radiobutton class=\"prRadioButton\" name=\"optSort{{ i }}\" [value]=\"Order.ORDER_BY_ASC\" [inputId]=\"'test{{ i + i + 1 }}'\" [(ngModel)]=\"LCascadefilter[i].order\" tabindex=\"0\" />\r\n\t\t\t\t<label for=\"test{{ i + i + 1 }}\"></label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"form-check\" *ngIf=\"i < LCascadefilter.length\">\r\n\t\t\t\t<p-radiobutton class=\"prRadioButton\" name=\"optSort{{ i }}\" [value]=\"Order.ORDER_BY_DESC\" [inputId]=\"'test{{ i + i + 2 }}'\" [(ngModel)]=\"LCascadefilter[i].order\" tabindex=\"0\" />\r\n\t\t\t\t<label for=\"test{{ i + i + 2 }}\"></label>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\t</ng-container>\r\n</ng-template>\r\n" }]
|
|
2314
|
+
}], ctorParameters: () => [], propDecorators: { Sorters: [{
|
|
2315
|
+
type: Input
|
|
2316
|
+
}], OrderBy: [{
|
|
2317
|
+
type: Input
|
|
2318
|
+
}], OrderByDefault: [{
|
|
2319
|
+
type: Input
|
|
2320
|
+
}], OneRender: [{
|
|
2321
|
+
type: Input
|
|
2322
|
+
}], ReturnSorting: [{
|
|
2323
|
+
type: Output
|
|
2324
|
+
}], AlertOrder: [{
|
|
2325
|
+
type: Output
|
|
2326
|
+
}] } });
|
|
2327
|
+
|
|
1825
2328
|
class HtmlToExcelService {
|
|
1826
2329
|
ExportTOExcel(idTabla, html, filename, tabname, extension) {
|
|
1827
2330
|
let Table = document.getElementById(idTabla);
|
|
@@ -2113,9 +2616,2294 @@ function EmailInputValidation(event) {
|
|
|
2113
2616
|
}
|
|
2114
2617
|
}
|
|
2115
2618
|
|
|
2619
|
+
const IntelicaTheme = definePreset(Aura, {
|
|
2620
|
+
primitive: {
|
|
2621
|
+
blue: {
|
|
2622
|
+
0: "#FFFFFF",
|
|
2623
|
+
100: "#DFF0FF",
|
|
2624
|
+
200: "#AED9FF",
|
|
2625
|
+
300: "#71BDFF",
|
|
2626
|
+
400: "#348AD5",
|
|
2627
|
+
500: "#2567A1",
|
|
2628
|
+
600: "#1B5180",
|
|
2629
|
+
700: "#17375E", // Azul Intelica
|
|
2630
|
+
},
|
|
2631
|
+
orange: {
|
|
2632
|
+
0: "#FFFFFF",
|
|
2633
|
+
100: "#FCE8DD",
|
|
2634
|
+
200: "#FCD3BD",
|
|
2635
|
+
300: "#FFB48B",
|
|
2636
|
+
400: "#FF9053",
|
|
2637
|
+
500: "#FF7F00", // Orange Intelica
|
|
2638
|
+
600: "#FF7B31",
|
|
2639
|
+
700: "#CC4900",
|
|
2640
|
+
},
|
|
2641
|
+
brown: {
|
|
2642
|
+
100: "#F1E7E1",
|
|
2643
|
+
200: "#F1DDD1",
|
|
2644
|
+
300: "#E2C6B4",
|
|
2645
|
+
400: "#C4AC9D",
|
|
2646
|
+
500: "#A18D80",
|
|
2647
|
+
600: "#837267",
|
|
2648
|
+
},
|
|
2649
|
+
beige: {
|
|
2650
|
+
100: "#EEE7E1",
|
|
2651
|
+
200: "#F1E3D7",
|
|
2652
|
+
300: "#ECD2BB",
|
|
2653
|
+
400: "#ECC098",
|
|
2654
|
+
500: "#EBA869",
|
|
2655
|
+
600: "#C48B56",
|
|
2656
|
+
},
|
|
2657
|
+
gray: {
|
|
2658
|
+
0: "#FFFFFF",
|
|
2659
|
+
100: "#F3F3F3",
|
|
2660
|
+
200: "#E9E9E9",
|
|
2661
|
+
300: "#D9D9D9",
|
|
2662
|
+
400: "#BFBFBF",
|
|
2663
|
+
500: "#A6A5A1",
|
|
2664
|
+
},
|
|
2665
|
+
neutral: {
|
|
2666
|
+
950: "#081423",
|
|
2667
|
+
},
|
|
2668
|
+
red: {
|
|
2669
|
+
50: "#fef2f2",
|
|
2670
|
+
100: "#fee2e2",
|
|
2671
|
+
200: "#fecaca",
|
|
2672
|
+
300: "#fca5a5",
|
|
2673
|
+
400: "#f87171",
|
|
2674
|
+
500: "#ef4444",
|
|
2675
|
+
600: "#dc2626",
|
|
2676
|
+
700: "#b91c1c",
|
|
2677
|
+
800: "#991b1b",
|
|
2678
|
+
900: "#7f1d1d",
|
|
2679
|
+
950: "#450a0a",
|
|
2680
|
+
},
|
|
2681
|
+
green: {
|
|
2682
|
+
50: "#f0fdf4",
|
|
2683
|
+
100: "#dcfce7",
|
|
2684
|
+
200: "#bbf7d0",
|
|
2685
|
+
300: "#86efac",
|
|
2686
|
+
400: "#4ade80",
|
|
2687
|
+
500: "#22c55e",
|
|
2688
|
+
600: "#16a34a",
|
|
2689
|
+
700: "#15803d",
|
|
2690
|
+
800: "#166534",
|
|
2691
|
+
900: "#14532d",
|
|
2692
|
+
950: "#052e16",
|
|
2693
|
+
},
|
|
2694
|
+
transitionDuration: "0.2s",
|
|
2695
|
+
iconSize: "1rem",
|
|
2696
|
+
anchorGutter: "2px",
|
|
2697
|
+
list: {
|
|
2698
|
+
padding: "0rem",
|
|
2699
|
+
gap: "2px",
|
|
2700
|
+
header: {
|
|
2701
|
+
padding: "0.5rem 1rem 0.25rem 1rem",
|
|
2702
|
+
},
|
|
2703
|
+
option: {
|
|
2704
|
+
padding: "0.5rem 0.75rem",
|
|
2705
|
+
borderRadius: "{border.radius.sm}",
|
|
2706
|
+
},
|
|
2707
|
+
optionGroup: {
|
|
2708
|
+
padding: "0.5rem 0.75rem",
|
|
2709
|
+
fontWeight: "600",
|
|
2710
|
+
},
|
|
2711
|
+
},
|
|
2712
|
+
content: {
|
|
2713
|
+
borderRadius: "{border.radius.md}",
|
|
2714
|
+
},
|
|
2715
|
+
mask: {
|
|
2716
|
+
transitionDuration: "0.15s",
|
|
2717
|
+
},
|
|
2718
|
+
navigation: {
|
|
2719
|
+
list: {
|
|
2720
|
+
padding: "0.25rem 0.25rem",
|
|
2721
|
+
gap: "2px",
|
|
2722
|
+
},
|
|
2723
|
+
item: {
|
|
2724
|
+
padding: "0.5rem 0.75rem",
|
|
2725
|
+
borderRadius: "{border.radius.sm}",
|
|
2726
|
+
gap: "0.5rem",
|
|
2727
|
+
},
|
|
2728
|
+
submenuLabel: {
|
|
2729
|
+
padding: "0.5rem 0.75rem",
|
|
2730
|
+
fontWeight: "600",
|
|
2731
|
+
},
|
|
2732
|
+
submenuIcon: {
|
|
2733
|
+
size: "0.875rem",
|
|
2734
|
+
},
|
|
2735
|
+
},
|
|
2736
|
+
},
|
|
2737
|
+
semantic: {
|
|
2738
|
+
transparent: "transparent",
|
|
2739
|
+
primary: {
|
|
2740
|
+
0: "{blue.0}",
|
|
2741
|
+
100: "{blue.100}",
|
|
2742
|
+
200: "{blue.200}",
|
|
2743
|
+
300: "{blue.300}",
|
|
2744
|
+
400: "{blue.400}",
|
|
2745
|
+
500: "{blue.500}",
|
|
2746
|
+
600: "{blue.600}",
|
|
2747
|
+
700: "var(--main-blue)",
|
|
2748
|
+
},
|
|
2749
|
+
secondary: {
|
|
2750
|
+
0: "{orange.0}",
|
|
2751
|
+
100: "{orange.100}",
|
|
2752
|
+
200: "{orange.200}",
|
|
2753
|
+
300: "{orange.300}",
|
|
2754
|
+
400: "{orange.400}",
|
|
2755
|
+
500: "var(--main-orange)",
|
|
2756
|
+
600: "{orange.600}",
|
|
2757
|
+
700: "var(--main-orange-dark)",
|
|
2758
|
+
},
|
|
2759
|
+
colorScheme: {
|
|
2760
|
+
light: {
|
|
2761
|
+
surface: {
|
|
2762
|
+
0: "#ffffff",
|
|
2763
|
+
50: "#f8fafc",
|
|
2764
|
+
100: "#f1f5f9",
|
|
2765
|
+
200: "#e2e8f0",
|
|
2766
|
+
300: "#cbd5e1",
|
|
2767
|
+
400: "#94a3b8",
|
|
2768
|
+
500: "#64748b",
|
|
2769
|
+
600: "#475569",
|
|
2770
|
+
700: "#334155",
|
|
2771
|
+
800: "#1e293b",
|
|
2772
|
+
900: "#0f172a",
|
|
2773
|
+
950: "#020617",
|
|
2774
|
+
},
|
|
2775
|
+
primary: {
|
|
2776
|
+
color: "{primary.700}",
|
|
2777
|
+
contrastColor: "#ffffff",
|
|
2778
|
+
hoverColor: "{primary.600}",
|
|
2779
|
+
activeColor: "{primary.700}",
|
|
2780
|
+
},
|
|
2781
|
+
secondary: {
|
|
2782
|
+
color: "{secondary.500}",
|
|
2783
|
+
},
|
|
2784
|
+
highlight: {
|
|
2785
|
+
background: "var(--main-orange)",
|
|
2786
|
+
focusBackground: "var(--main-orange)",
|
|
2787
|
+
color: "{orange.0}",
|
|
2788
|
+
focusColor: "{orange.0}",
|
|
2789
|
+
},
|
|
2790
|
+
mask: {
|
|
2791
|
+
background: "rgba(23, 55, 94, 0.8)",
|
|
2792
|
+
color: "{surface.200}",
|
|
2793
|
+
},
|
|
2794
|
+
formField: {
|
|
2795
|
+
paddingX: "1.0rem", // added by CA
|
|
2796
|
+
paddingY: "0.6rem", // added by CA
|
|
2797
|
+
background: "var(--main-light)",
|
|
2798
|
+
disabledBackground: "{gray.100}",
|
|
2799
|
+
filledBackground: "{surface.50}",
|
|
2800
|
+
filledHoverBackground: "{surface.50}",
|
|
2801
|
+
filledFocusBackground: "{surface.50}",
|
|
2802
|
+
borderColor: "{gray.300}",
|
|
2803
|
+
hoverBorderColor: "{primary.color}", // modify by CA
|
|
2804
|
+
focusBorderColor: "{primary.color}",
|
|
2805
|
+
invalidBorderColor: "{red.400}",
|
|
2806
|
+
color: "{surface.700}",
|
|
2807
|
+
disabledColor: "{gray.500}",
|
|
2808
|
+
placeholderColor: "{gray.500}",
|
|
2809
|
+
invalidPlaceholderColor: "{red.600}",
|
|
2810
|
+
floatLabelColor: "{surface.500}",
|
|
2811
|
+
floatLabelFocusColor: "{primary.600}",
|
|
2812
|
+
floatLabelActiveColor: "{surface.500}",
|
|
2813
|
+
floatLabelInvalidColor: "{form.field.invalid.placeholder.color}",
|
|
2814
|
+
iconColor: "{primary.color}",
|
|
2815
|
+
shadow: "0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)",
|
|
2816
|
+
borderRadius: "{border.radius.sm}",
|
|
2817
|
+
},
|
|
2818
|
+
text: {
|
|
2819
|
+
color: "var(--main-blue)",
|
|
2820
|
+
hoverColor: "var(--main-orange)",
|
|
2821
|
+
mutedColor: "var(--main-orange)",
|
|
2822
|
+
hoverMutedColor: "orange.700}",
|
|
2823
|
+
},
|
|
2824
|
+
content: {
|
|
2825
|
+
background: "{gray.0}",
|
|
2826
|
+
hoverBackground: "{surface.100}",
|
|
2827
|
+
borderColor: "var(--main-blue)",
|
|
2828
|
+
color: "{text.color}",
|
|
2829
|
+
hoverColor: "{text.hover.color}",
|
|
2830
|
+
},
|
|
2831
|
+
overlay: {
|
|
2832
|
+
select: {
|
|
2833
|
+
borderRadius: "{border.radius.md}",
|
|
2834
|
+
shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
2835
|
+
background: "var(--main-light)",
|
|
2836
|
+
borderColor: "{surface.200}",
|
|
2837
|
+
color: "{text.color}",
|
|
2838
|
+
},
|
|
2839
|
+
popover: {
|
|
2840
|
+
background: "var(--main-light)",
|
|
2841
|
+
borderColor: "{surface.200}",
|
|
2842
|
+
color: "{text.color}",
|
|
2843
|
+
borderRadius: "{border.radius.md}",
|
|
2844
|
+
padding: "0",
|
|
2845
|
+
shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
2846
|
+
},
|
|
2847
|
+
modal: {
|
|
2848
|
+
borderColor: "#bfbfbf",
|
|
2849
|
+
color: "{text.color}",
|
|
2850
|
+
borderRadius: "{border.radius.xl}",
|
|
2851
|
+
padding: "1.5rem",
|
|
2852
|
+
shadow: "none",
|
|
2853
|
+
},
|
|
2854
|
+
navigation: {
|
|
2855
|
+
shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
2856
|
+
},
|
|
2857
|
+
},
|
|
2858
|
+
focusRing: {
|
|
2859
|
+
width: "1px",
|
|
2860
|
+
style: "solid",
|
|
2861
|
+
color: "{primary.color}",
|
|
2862
|
+
offset: "-.1rem",
|
|
2863
|
+
shadow: "none",
|
|
2864
|
+
},
|
|
2865
|
+
borderRadius: {
|
|
2866
|
+
none: "0",
|
|
2867
|
+
xs: "0.2rem",
|
|
2868
|
+
sm: "0.4rem",
|
|
2869
|
+
md: "0.6rem",
|
|
2870
|
+
lg: "0.8rem",
|
|
2871
|
+
xl: "1.2rem",
|
|
2872
|
+
},
|
|
2873
|
+
disabledOpacity: "1",
|
|
2874
|
+
list: {
|
|
2875
|
+
padding: "0rem",
|
|
2876
|
+
gap: "0rem",
|
|
2877
|
+
option: {
|
|
2878
|
+
borderRadius: "0rem",
|
|
2879
|
+
focusBackground: "var(--main-orange)",
|
|
2880
|
+
selectedBackground: "{highlight.background}",
|
|
2881
|
+
selectedFocusBackground: "{highlight.focus.background}",
|
|
2882
|
+
color: "var(--main-blue)",
|
|
2883
|
+
focusColor: "var(--main-light)",
|
|
2884
|
+
selectedColor: "{highlight.color}",
|
|
2885
|
+
selectedFocusColor: "{highlight.focus.color}",
|
|
2886
|
+
icon: {
|
|
2887
|
+
color: "{surface.400}",
|
|
2888
|
+
focusColor: "{surface.500}",
|
|
2889
|
+
},
|
|
2890
|
+
},
|
|
2891
|
+
optionGroup: {
|
|
2892
|
+
background: "transparent",
|
|
2893
|
+
color: "{text.muted.color}",
|
|
2894
|
+
},
|
|
2895
|
+
},
|
|
2896
|
+
navigation: {
|
|
2897
|
+
item: {
|
|
2898
|
+
focusBackground: "{surface.100}",
|
|
2899
|
+
activeBackground: "{surface.100}",
|
|
2900
|
+
color: "{text.color}",
|
|
2901
|
+
focusColor: "{text.hover.color}",
|
|
2902
|
+
activeColor: "{text.hover.color}",
|
|
2903
|
+
icon: {
|
|
2904
|
+
color: "{surface.400}",
|
|
2905
|
+
focusColor: "{surface.500}",
|
|
2906
|
+
activeColor: "{surface.500}",
|
|
2907
|
+
},
|
|
2908
|
+
},
|
|
2909
|
+
submenuLabel: {
|
|
2910
|
+
background: "transparent",
|
|
2911
|
+
color: "{text.muted.color}",
|
|
2912
|
+
},
|
|
2913
|
+
submenuIcon: {
|
|
2914
|
+
color: "{surface.400}",
|
|
2915
|
+
focusColor: "{surface.500}",
|
|
2916
|
+
activeColor: "{surface.500}",
|
|
2917
|
+
},
|
|
2918
|
+
},
|
|
2919
|
+
},
|
|
2920
|
+
dark: {
|
|
2921
|
+
surface: {
|
|
2922
|
+
0: "#ffffff",
|
|
2923
|
+
50: "#f8fafc",
|
|
2924
|
+
100: "#f1f5f9",
|
|
2925
|
+
200: "#e2e8f0",
|
|
2926
|
+
300: "#cbd5e1",
|
|
2927
|
+
400: "#94a3b8",
|
|
2928
|
+
500: "#64748b",
|
|
2929
|
+
600: "#475569",
|
|
2930
|
+
700: "#334155",
|
|
2931
|
+
800: "#1e293b",
|
|
2932
|
+
900: "#0f172a",
|
|
2933
|
+
950: "#020617",
|
|
2934
|
+
},
|
|
2935
|
+
primary: {
|
|
2936
|
+
color: "{primary.700}",
|
|
2937
|
+
contrastColor: "#ffffff",
|
|
2938
|
+
hoverColor: "{primary.600}",
|
|
2939
|
+
activeColor: "{primary.700}",
|
|
2940
|
+
},
|
|
2941
|
+
secondary: {
|
|
2942
|
+
color: "{secondary.500}",
|
|
2943
|
+
},
|
|
2944
|
+
highlight: {
|
|
2945
|
+
background: "var(--main-orange)",
|
|
2946
|
+
focusBackground: "var(--main-orange)",
|
|
2947
|
+
color: "{orange.0}",
|
|
2948
|
+
focusColor: "{orange.0}",
|
|
2949
|
+
},
|
|
2950
|
+
mask: {
|
|
2951
|
+
background: "rgba(23, 55, 94, 0.8)",
|
|
2952
|
+
color: "{surface.200}",
|
|
2953
|
+
},
|
|
2954
|
+
formField: {
|
|
2955
|
+
paddingX: "1.0rem", // added by CA
|
|
2956
|
+
paddingY: "0.6rem", // added by CA
|
|
2957
|
+
background: "var(--main-light)",
|
|
2958
|
+
disabledBackground: "{gray.100}",
|
|
2959
|
+
filledBackground: "{surface.50}",
|
|
2960
|
+
filledHoverBackground: "{surface.50}",
|
|
2961
|
+
filledFocusBackground: "{surface.50}",
|
|
2962
|
+
borderColor: "{gray.300}",
|
|
2963
|
+
hoverBorderColor: "{primary.color}", // modify by CA
|
|
2964
|
+
focusBorderColor: "{primary.color}",
|
|
2965
|
+
invalidBorderColor: "{red.400}",
|
|
2966
|
+
color: "{surface.700}",
|
|
2967
|
+
disabledColor: "{gray.500}",
|
|
2968
|
+
placeholderColor: "{gray.500}",
|
|
2969
|
+
invalidPlaceholderColor: "{red.600}",
|
|
2970
|
+
floatLabelColor: "{surface.500}",
|
|
2971
|
+
floatLabelFocusColor: "{primary.600}",
|
|
2972
|
+
floatLabelActiveColor: "{surface.500}",
|
|
2973
|
+
floatLabelInvalidColor: "{form.field.invalid.placeholder.color}",
|
|
2974
|
+
iconColor: "{primary.color}",
|
|
2975
|
+
shadow: "0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)",
|
|
2976
|
+
borderRadius: "{border.radius.sm}",
|
|
2977
|
+
},
|
|
2978
|
+
text: {
|
|
2979
|
+
color: "var(--main-blue)",
|
|
2980
|
+
hoverColor: "var(--main-orange)",
|
|
2981
|
+
mutedColor: "var(--main-orange)",
|
|
2982
|
+
hoverMutedColor: "orange.700}",
|
|
2983
|
+
},
|
|
2984
|
+
content: {
|
|
2985
|
+
background: "{gray.0}",
|
|
2986
|
+
hoverBackground: "{surface.100}",
|
|
2987
|
+
borderColor: "var(--main-blue)",
|
|
2988
|
+
color: "{text.color}",
|
|
2989
|
+
hoverColor: "{text.hover.color}",
|
|
2990
|
+
},
|
|
2991
|
+
overlay: {
|
|
2992
|
+
select: {
|
|
2993
|
+
borderRadius: "{border.radius.md}",
|
|
2994
|
+
shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
2995
|
+
background: "var(--main-light)",
|
|
2996
|
+
borderColor: "{surface.200}",
|
|
2997
|
+
color: "{text.color}",
|
|
2998
|
+
},
|
|
2999
|
+
popover: {
|
|
3000
|
+
background: "var(--main-light)",
|
|
3001
|
+
borderColor: "{surface.200}",
|
|
3002
|
+
color: "{text.color}",
|
|
3003
|
+
borderRadius: "{border.radius.md}",
|
|
3004
|
+
padding: "0",
|
|
3005
|
+
shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
3006
|
+
},
|
|
3007
|
+
modal: {
|
|
3008
|
+
borderColor: "#bfbfbf",
|
|
3009
|
+
color: "{text.color}",
|
|
3010
|
+
borderRadius: "{border.radius.xl}",
|
|
3011
|
+
padding: "1.5rem",
|
|
3012
|
+
shadow: "none",
|
|
3013
|
+
},
|
|
3014
|
+
navigation: {
|
|
3015
|
+
shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
3016
|
+
},
|
|
3017
|
+
},
|
|
3018
|
+
focusRing: {
|
|
3019
|
+
width: "1px",
|
|
3020
|
+
style: "solid",
|
|
3021
|
+
color: "{primary.color}",
|
|
3022
|
+
offset: "-.1rem",
|
|
3023
|
+
shadow: "none",
|
|
3024
|
+
},
|
|
3025
|
+
borderRadius: {
|
|
3026
|
+
none: "0",
|
|
3027
|
+
xs: "0.2rem",
|
|
3028
|
+
sm: "0.4rem",
|
|
3029
|
+
md: "0.6rem",
|
|
3030
|
+
lg: "0.8rem",
|
|
3031
|
+
xl: "1.2rem",
|
|
3032
|
+
},
|
|
3033
|
+
disabledOpacity: "1",
|
|
3034
|
+
list: {
|
|
3035
|
+
padding: "0rem",
|
|
3036
|
+
gap: "0rem",
|
|
3037
|
+
option: {
|
|
3038
|
+
borderRadius: "0rem",
|
|
3039
|
+
focusBackground: "var(--main-orange)",
|
|
3040
|
+
selectedBackground: "{highlight.background}",
|
|
3041
|
+
selectedFocusBackground: "{highlight.focus.background}",
|
|
3042
|
+
color: "var(--main-blue)",
|
|
3043
|
+
focusColor: "var(--main-light)",
|
|
3044
|
+
selectedColor: "{highlight.color}",
|
|
3045
|
+
selectedFocusColor: "{highlight.focus.color}",
|
|
3046
|
+
icon: {
|
|
3047
|
+
color: "{surface.400}",
|
|
3048
|
+
focusColor: "{surface.500}",
|
|
3049
|
+
},
|
|
3050
|
+
},
|
|
3051
|
+
optionGroup: {
|
|
3052
|
+
background: "transparent",
|
|
3053
|
+
color: "{text.muted.color}",
|
|
3054
|
+
},
|
|
3055
|
+
},
|
|
3056
|
+
navigation: {
|
|
3057
|
+
item: {
|
|
3058
|
+
focusBackground: "{surface.100}",
|
|
3059
|
+
activeBackground: "{surface.100}",
|
|
3060
|
+
color: "{text.color}",
|
|
3061
|
+
focusColor: "{text.hover.color}",
|
|
3062
|
+
activeColor: "{text.hover.color}",
|
|
3063
|
+
icon: {
|
|
3064
|
+
color: "{surface.400}",
|
|
3065
|
+
focusColor: "{surface.500}",
|
|
3066
|
+
activeColor: "{surface.500}",
|
|
3067
|
+
},
|
|
3068
|
+
},
|
|
3069
|
+
submenuLabel: {
|
|
3070
|
+
background: "transparent",
|
|
3071
|
+
color: "{text.muted.color}",
|
|
3072
|
+
},
|
|
3073
|
+
submenuIcon: {
|
|
3074
|
+
color: "{surface.400}",
|
|
3075
|
+
focusColor: "{surface.500}",
|
|
3076
|
+
activeColor: "{surface.500}",
|
|
3077
|
+
},
|
|
3078
|
+
},
|
|
3079
|
+
},
|
|
3080
|
+
},
|
|
3081
|
+
},
|
|
3082
|
+
components: {
|
|
3083
|
+
accordion: {
|
|
3084
|
+
root: {
|
|
3085
|
+
transitionDuration: "{transition.duration}",
|
|
3086
|
+
},
|
|
3087
|
+
panel: {
|
|
3088
|
+
borderWidth: "0 0 1px 0",
|
|
3089
|
+
borderColor: "{content.border.color}",
|
|
3090
|
+
},
|
|
3091
|
+
header: {
|
|
3092
|
+
color: "{text.muted.color}",
|
|
3093
|
+
hoverColor: "{text.color}",
|
|
3094
|
+
activeColor: "{text.color}",
|
|
3095
|
+
padding: "1.125rem",
|
|
3096
|
+
fontWeight: "600",
|
|
3097
|
+
borderRadius: "0",
|
|
3098
|
+
borderWidth: "0",
|
|
3099
|
+
borderColor: "{content.border.color}",
|
|
3100
|
+
background: "{content.background}",
|
|
3101
|
+
hoverBackground: "{content.background}",
|
|
3102
|
+
activeBackground: "{content.background}",
|
|
3103
|
+
activeHoverBackground: "{content.background}",
|
|
3104
|
+
focusRing: {
|
|
3105
|
+
width: "{focus.ring.width}",
|
|
3106
|
+
style: "{focus.ring.style}",
|
|
3107
|
+
color: "{focus.ring.color}",
|
|
3108
|
+
offset: "-1px",
|
|
3109
|
+
shadow: "{focus.ring.shadow}",
|
|
3110
|
+
},
|
|
3111
|
+
toggleIcon: {
|
|
3112
|
+
color: "{text.muted.color}",
|
|
3113
|
+
hoverColor: "{text.color}",
|
|
3114
|
+
activeColor: "{text.color}",
|
|
3115
|
+
activeHoverColor: "{text.color}",
|
|
3116
|
+
},
|
|
3117
|
+
first: {
|
|
3118
|
+
topBorderRadius: "{content.border.radius}",
|
|
3119
|
+
borderWidth: "0",
|
|
3120
|
+
},
|
|
3121
|
+
last: {
|
|
3122
|
+
bottomBorderRadius: "{content.border.radius}",
|
|
3123
|
+
activeBottomBorderRadius: "0",
|
|
3124
|
+
},
|
|
3125
|
+
},
|
|
3126
|
+
content: {
|
|
3127
|
+
borderWidth: "0",
|
|
3128
|
+
borderColor: "{content.border.color}",
|
|
3129
|
+
background: "{content.background}",
|
|
3130
|
+
color: "{text.color}",
|
|
3131
|
+
padding: "0 1.125rem 1.125rem 1.125rem",
|
|
3132
|
+
},
|
|
3133
|
+
colorScheme: {
|
|
3134
|
+
light: {
|
|
3135
|
+
text: {
|
|
3136
|
+
color: "red",
|
|
3137
|
+
},
|
|
3138
|
+
},
|
|
3139
|
+
dark: {
|
|
3140
|
+
text: {
|
|
3141
|
+
color: "red",
|
|
3142
|
+
},
|
|
3143
|
+
},
|
|
3144
|
+
},
|
|
3145
|
+
},
|
|
3146
|
+
autocomplete: {
|
|
3147
|
+
root: {
|
|
3148
|
+
background: "{form.field.background}",
|
|
3149
|
+
disabledBackground: "{form.field.disabled.background}",
|
|
3150
|
+
filledBackground: "{form.field.filled.background}",
|
|
3151
|
+
filledHoverBackground: "{form.field.filled.hover.background}",
|
|
3152
|
+
filledFocusBackground: "{form.field.filled.focus.background}",
|
|
3153
|
+
borderColor: "{form.field.border.color}",
|
|
3154
|
+
hoverBorderColor: "{form.field.hover.border.color}",
|
|
3155
|
+
focusBorderColor: "{form.field.focus.border.color}",
|
|
3156
|
+
invalidBorderColor: "{form.field.invalid.border.color}",
|
|
3157
|
+
color: "{form.field.color}",
|
|
3158
|
+
disabledColor: "{form.field.disabled.color}",
|
|
3159
|
+
placeholderColor: "{form.field.placeholder.color}",
|
|
3160
|
+
invalidPlaceholderColor: "{form.field.invalid.placeholder.color}",
|
|
3161
|
+
shadow: "{form.field.shadow}",
|
|
3162
|
+
paddingX: "{form.field.padding.x}",
|
|
3163
|
+
paddingY: "{form.field.padding.y}",
|
|
3164
|
+
borderRadius: "{form.field.border.radius}",
|
|
3165
|
+
focusRing: {
|
|
3166
|
+
width: "{form.field.focus.ring.width}",
|
|
3167
|
+
style: "{form.field.focus.ring.style}",
|
|
3168
|
+
color: "{form.field.focus.ring.color}",
|
|
3169
|
+
offset: "{form.field.focus.ring.offset}",
|
|
3170
|
+
shadow: "{form.field.focus.ring.shadow}",
|
|
3171
|
+
},
|
|
3172
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
3173
|
+
},
|
|
3174
|
+
overlay: {
|
|
3175
|
+
background: "{overlay.select.background}",
|
|
3176
|
+
borderColor: "{overlay.select.border.color}",
|
|
3177
|
+
borderRadius: "{overlay.select.border.radius}",
|
|
3178
|
+
color: "{overlay.select.color}",
|
|
3179
|
+
shadow: "{overlay.select.shadow}",
|
|
3180
|
+
},
|
|
3181
|
+
list: {
|
|
3182
|
+
padding: "{list.padding}", // var(--p-autocomplete-list-padding)
|
|
3183
|
+
gap: "{list.gap}", // var(--p-autocomplete-list-gap)
|
|
3184
|
+
},
|
|
3185
|
+
option: {
|
|
3186
|
+
focusBackground: "{list.option.focus.background}",
|
|
3187
|
+
selectedBackground: "{list.option.selected.background}",
|
|
3188
|
+
selectedFocusBackground: "{list.option.selected.focus.background}",
|
|
3189
|
+
color: "{list.option.color}",
|
|
3190
|
+
focusColor: "{list.option.focus.color}", // var(--p-autocomplete-option-focus-color)
|
|
3191
|
+
selectedColor: "{list.option.selected.color}",
|
|
3192
|
+
selectedFocusColor: "{list.option.selected.focus.color}",
|
|
3193
|
+
padding: "{list.option.padding}",
|
|
3194
|
+
borderRadius: "{list.option.border.radius}", // var(--p-autocomplete-option-border-radius)
|
|
3195
|
+
},
|
|
3196
|
+
optionGroup: {
|
|
3197
|
+
background: "{list.option.group.background}",
|
|
3198
|
+
color: "{list.option.group.color}",
|
|
3199
|
+
fontWeight: "{list.option.group.font.weight}",
|
|
3200
|
+
padding: "{list.option.group.padding}",
|
|
3201
|
+
},
|
|
3202
|
+
dropdown: {
|
|
3203
|
+
width: "2.5rem",
|
|
3204
|
+
sm: {
|
|
3205
|
+
width: "2rem",
|
|
3206
|
+
},
|
|
3207
|
+
lg: {
|
|
3208
|
+
width: "3rem",
|
|
3209
|
+
},
|
|
3210
|
+
background: "red",
|
|
3211
|
+
borderColor: "{form.field.border.color}",
|
|
3212
|
+
hoverBorderColor: "{form.field.border.color}",
|
|
3213
|
+
activeBorderColor: "{form.field.border.color}",
|
|
3214
|
+
borderRadius: "{form.field.border.radius}",
|
|
3215
|
+
focusRing: {
|
|
3216
|
+
width: "{focus.ring.width}",
|
|
3217
|
+
style: "{focus.ring.style}",
|
|
3218
|
+
color: "{focus.ring.color}",
|
|
3219
|
+
offset: "{focus.ring.offset}", //var(--p-autocomplete-dropdown-focus-ring-offset)
|
|
3220
|
+
shadow: "{focus.ring.shadow}",
|
|
3221
|
+
},
|
|
3222
|
+
},
|
|
3223
|
+
chip: {
|
|
3224
|
+
borderRadius: "{border.radius.sm}",
|
|
3225
|
+
},
|
|
3226
|
+
emptyMessage: {
|
|
3227
|
+
padding: "{list.option.padding}",
|
|
3228
|
+
},
|
|
3229
|
+
colorScheme: {
|
|
3230
|
+
light: {
|
|
3231
|
+
chip: {
|
|
3232
|
+
focusBackground: "{surface.200}",
|
|
3233
|
+
focusColor: "{surface.800}",
|
|
3234
|
+
},
|
|
3235
|
+
dropdown: {
|
|
3236
|
+
background: "{primary.0}",
|
|
3237
|
+
hoverBackground: "{primary.0}",
|
|
3238
|
+
activeBackground: "{primary.0}",
|
|
3239
|
+
color: "{surface.600}",
|
|
3240
|
+
hoverColor: "{surface.700}",
|
|
3241
|
+
activeColor: "{surface.800}",
|
|
3242
|
+
},
|
|
3243
|
+
},
|
|
3244
|
+
dark: {
|
|
3245
|
+
chip: {
|
|
3246
|
+
focusBackground: "{surface.200}",
|
|
3247
|
+
focusColor: "{surface.800}",
|
|
3248
|
+
},
|
|
3249
|
+
dropdown: {
|
|
3250
|
+
background: "{primary.0}",
|
|
3251
|
+
hoverBackground: "{primary.0}",
|
|
3252
|
+
activeBackground: "{primary.0}",
|
|
3253
|
+
color: "{surface.600}",
|
|
3254
|
+
hoverColor: "{surface.700}",
|
|
3255
|
+
activeColor: "{surface.800}",
|
|
3256
|
+
},
|
|
3257
|
+
},
|
|
3258
|
+
},
|
|
3259
|
+
},
|
|
3260
|
+
badge: {
|
|
3261
|
+
root: {
|
|
3262
|
+
borderRadius: "{border.radius.xl}",
|
|
3263
|
+
padding: "0 1rem",
|
|
3264
|
+
fontSize: "1rem",
|
|
3265
|
+
fontWeight: "400",
|
|
3266
|
+
minWidth: "6.8rem",
|
|
3267
|
+
height: "1.8rem",
|
|
3268
|
+
},
|
|
3269
|
+
dot: {
|
|
3270
|
+
size: "0.5rem",
|
|
3271
|
+
},
|
|
3272
|
+
sm: {
|
|
3273
|
+
fontSize: "0.625rem",
|
|
3274
|
+
minWidth: "1.25rem",
|
|
3275
|
+
height: "1.25rem",
|
|
3276
|
+
},
|
|
3277
|
+
lg: {
|
|
3278
|
+
fontSize: "0.875rem",
|
|
3279
|
+
minWidth: "1.75rem",
|
|
3280
|
+
height: "1.75rem",
|
|
3281
|
+
},
|
|
3282
|
+
xl: {
|
|
3283
|
+
fontSize: "1rem",
|
|
3284
|
+
minWidth: "2rem",
|
|
3285
|
+
height: "2rem",
|
|
3286
|
+
},
|
|
3287
|
+
colorScheme: {
|
|
3288
|
+
light: {
|
|
3289
|
+
primary: {
|
|
3290
|
+
background: "{green.500}",
|
|
3291
|
+
color: "var(--main-light)",
|
|
3292
|
+
},
|
|
3293
|
+
success: {
|
|
3294
|
+
background: "{green.500}",
|
|
3295
|
+
color: "var(--main-light)",
|
|
3296
|
+
},
|
|
3297
|
+
danger: {
|
|
3298
|
+
background: "{red.500}",
|
|
3299
|
+
color: "var(--main-light)",
|
|
3300
|
+
},
|
|
3301
|
+
},
|
|
3302
|
+
dark: {
|
|
3303
|
+
primary: {
|
|
3304
|
+
background: "{green.500}",
|
|
3305
|
+
color: "var(--main-light)",
|
|
3306
|
+
},
|
|
3307
|
+
success: {
|
|
3308
|
+
background: "{green.500}",
|
|
3309
|
+
color: "var(--main-light)",
|
|
3310
|
+
},
|
|
3311
|
+
danger: {
|
|
3312
|
+
background: "{red.500}",
|
|
3313
|
+
color: "var(--main-light)",
|
|
3314
|
+
},
|
|
3315
|
+
},
|
|
3316
|
+
},
|
|
3317
|
+
},
|
|
3318
|
+
button: {
|
|
3319
|
+
root: {
|
|
3320
|
+
borderRadius: "{border.radius.sm}",
|
|
3321
|
+
roundedBorderRadius: "2rem",
|
|
3322
|
+
gap: "0.25em",
|
|
3323
|
+
paddingX: "1rem",
|
|
3324
|
+
paddingY: "0.4rem",
|
|
3325
|
+
iconOnlyWidth: "2.5rem",
|
|
3326
|
+
sm: {
|
|
3327
|
+
fontSize: "{form.field.sm.font.size}",
|
|
3328
|
+
paddingX: "{form.field.sm.padding.x}",
|
|
3329
|
+
paddingY: "{form.field.sm.padding.y}",
|
|
3330
|
+
},
|
|
3331
|
+
lg: {
|
|
3332
|
+
fontSize: "{form.field.lg.font.size}",
|
|
3333
|
+
paddingX: "{form.field.lg.padding.x}",
|
|
3334
|
+
paddingY: "{form.field.lg.padding.y}",
|
|
3335
|
+
},
|
|
3336
|
+
label: {
|
|
3337
|
+
fontWeight: "500",
|
|
3338
|
+
},
|
|
3339
|
+
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)",
|
|
3340
|
+
focusRing: {
|
|
3341
|
+
width: "{focus.ring.width}",
|
|
3342
|
+
style: "{focus.ring.style}",
|
|
3343
|
+
offset: "{focus.ring.offset}",
|
|
3344
|
+
},
|
|
3345
|
+
badgeSize: "1rem",
|
|
3346
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
3347
|
+
},
|
|
3348
|
+
colorScheme: {
|
|
3349
|
+
light: {
|
|
3350
|
+
root: {
|
|
3351
|
+
primary: {
|
|
3352
|
+
background: "var(--main-orange)",
|
|
3353
|
+
hoverBackground: "var(--main-orange-dark)",
|
|
3354
|
+
activeBackground: "var(--main-orange-dark)",
|
|
3355
|
+
borderColor: "var(--main-orange)",
|
|
3356
|
+
hoverBorderColor: "var(--main-orange-dark)",
|
|
3357
|
+
activeBorderColor: "var(--main-orange-dark)",
|
|
3358
|
+
color: "var(--main-light)",
|
|
3359
|
+
hoverColor: "var(--main-light)",
|
|
3360
|
+
activeColor: "var(--main-light)",
|
|
3361
|
+
focusRing: {
|
|
3362
|
+
color: "{primary.color}",
|
|
3363
|
+
shadow: "none",
|
|
3364
|
+
},
|
|
3365
|
+
},
|
|
3366
|
+
secondary: {
|
|
3367
|
+
background: "var(--main-light)",
|
|
3368
|
+
hoverBackground: "var(--main-light)",
|
|
3369
|
+
activeBackground: "var(--main-orange-dark)",
|
|
3370
|
+
borderColor: "var(--main-orange)",
|
|
3371
|
+
hoverBorderColor: "var(--main-orange-dark)",
|
|
3372
|
+
activeBorderColor: "var(--main-orange-dark)",
|
|
3373
|
+
color: "var(--main-orange)",
|
|
3374
|
+
hoverColor: "var(--main-orange-dark)",
|
|
3375
|
+
activeColor: "var(--main-light)",
|
|
3376
|
+
focusRing: {
|
|
3377
|
+
color: "{surface.600}",
|
|
3378
|
+
shadow: "none",
|
|
3379
|
+
},
|
|
3380
|
+
},
|
|
3381
|
+
info: {
|
|
3382
|
+
background: "{sky.500}",
|
|
3383
|
+
hoverBackground: "{sky.600}",
|
|
3384
|
+
activeBackground: "{sky.700}",
|
|
3385
|
+
borderColor: "{sky.500}",
|
|
3386
|
+
hoverBorderColor: "{sky.600}",
|
|
3387
|
+
activeBorderColor: "{sky.700}",
|
|
3388
|
+
color: "#ffffff",
|
|
3389
|
+
hoverColor: "#ffffff",
|
|
3390
|
+
activeColor: "#ffffff",
|
|
3391
|
+
focusRing: {
|
|
3392
|
+
color: "{sky.500}",
|
|
3393
|
+
shadow: "none",
|
|
3394
|
+
},
|
|
3395
|
+
},
|
|
3396
|
+
success: {
|
|
3397
|
+
background: "var(--main-light)",
|
|
3398
|
+
hoverBackground: "{gray.400}",
|
|
3399
|
+
activeBackground: "{gray.400}",
|
|
3400
|
+
borderColor: "{gray.400}",
|
|
3401
|
+
hoverBorderColor: "{gray.400}",
|
|
3402
|
+
activeBorderColor: "{gray.400}",
|
|
3403
|
+
color: "var(--main-blue)",
|
|
3404
|
+
hoverColor: "#ffffff",
|
|
3405
|
+
activeColor: "#ffffff",
|
|
3406
|
+
focusRing: {
|
|
3407
|
+
color: "{green.500}",
|
|
3408
|
+
shadow: "none",
|
|
3409
|
+
},
|
|
3410
|
+
},
|
|
3411
|
+
warn: {
|
|
3412
|
+
background: "var(--main-orange)",
|
|
3413
|
+
hoverBackground: "{orange.600}",
|
|
3414
|
+
activeBackground: "var(--main-orange-dark)",
|
|
3415
|
+
borderColor: "var(--main-orange)",
|
|
3416
|
+
hoverBorderColor: "{orange.600}",
|
|
3417
|
+
activeBorderColor: "var(--main-orange-dark)",
|
|
3418
|
+
color: "#ffffff",
|
|
3419
|
+
hoverColor: "#ffffff",
|
|
3420
|
+
activeColor: "#ffffff",
|
|
3421
|
+
focusRing: {
|
|
3422
|
+
color: "var(--main-orange)",
|
|
3423
|
+
shadow: "none",
|
|
3424
|
+
},
|
|
3425
|
+
},
|
|
3426
|
+
help: {
|
|
3427
|
+
background: "{purple.500}",
|
|
3428
|
+
hoverBackground: "{purple.600}",
|
|
3429
|
+
activeBackground: "{purple.700}",
|
|
3430
|
+
borderColor: "{purple.500}",
|
|
3431
|
+
hoverBorderColor: "{purple.600}",
|
|
3432
|
+
activeBorderColor: "{purple.700}",
|
|
3433
|
+
color: "#ffffff",
|
|
3434
|
+
hoverColor: "#ffffff",
|
|
3435
|
+
activeColor: "#ffffff",
|
|
3436
|
+
focusRing: {
|
|
3437
|
+
color: "{purple.500}",
|
|
3438
|
+
shadow: "none",
|
|
3439
|
+
},
|
|
3440
|
+
},
|
|
3441
|
+
danger: {
|
|
3442
|
+
background: "{red.500}",
|
|
3443
|
+
hoverBackground: "{red.600}",
|
|
3444
|
+
activeBackground: "{red.700}",
|
|
3445
|
+
borderColor: "{red.500}",
|
|
3446
|
+
hoverBorderColor: "{red.600}",
|
|
3447
|
+
activeBorderColor: "{red.700}",
|
|
3448
|
+
color: "#ffffff",
|
|
3449
|
+
hoverColor: "#ffffff",
|
|
3450
|
+
activeColor: "#ffffff",
|
|
3451
|
+
focusRing: {
|
|
3452
|
+
color: "{red.500}",
|
|
3453
|
+
shadow: "none",
|
|
3454
|
+
},
|
|
3455
|
+
},
|
|
3456
|
+
contrast: {
|
|
3457
|
+
background: "{surface.950}",
|
|
3458
|
+
hoverBackground: "{surface.900}",
|
|
3459
|
+
activeBackground: "{surface.800}",
|
|
3460
|
+
borderColor: "{surface.950}",
|
|
3461
|
+
hoverBorderColor: "{surface.900}",
|
|
3462
|
+
activeBorderColor: "{surface.800}",
|
|
3463
|
+
color: "var(--main-light)",
|
|
3464
|
+
hoverColor: "var(--main-light)",
|
|
3465
|
+
activeColor: "var(--main-light)",
|
|
3466
|
+
focusRing: {
|
|
3467
|
+
color: "{surface.950}",
|
|
3468
|
+
shadow: "none",
|
|
3469
|
+
},
|
|
3470
|
+
},
|
|
3471
|
+
},
|
|
3472
|
+
outlined: {
|
|
3473
|
+
primary: {
|
|
3474
|
+
hoverBackground: "{transparent}",
|
|
3475
|
+
activeBackground: "{transparent}",
|
|
3476
|
+
borderColor: "{transparent}",
|
|
3477
|
+
color: "{primary.color}",
|
|
3478
|
+
},
|
|
3479
|
+
secondary: {
|
|
3480
|
+
hoverBackground: "{transparent}",
|
|
3481
|
+
activeBackground: "{transparent}",
|
|
3482
|
+
borderColor: "{transparent}",
|
|
3483
|
+
color: "var(--main-orange)",
|
|
3484
|
+
},
|
|
3485
|
+
success: {
|
|
3486
|
+
background: "{surface.0}",
|
|
3487
|
+
hoverBackground: "{gray.400}",
|
|
3488
|
+
activeBackground: "{gray.400}",
|
|
3489
|
+
borderColor: "{gray.400}",
|
|
3490
|
+
hoverBorderColor: "{gray.400}",
|
|
3491
|
+
activeBorderColor: "{gray.400}",
|
|
3492
|
+
color: "{blue.700}",
|
|
3493
|
+
hoverColor: "#ffffff",
|
|
3494
|
+
activeColor: "#ffffff",
|
|
3495
|
+
focusRing: {
|
|
3496
|
+
color: "{green.500}",
|
|
3497
|
+
shadow: "none",
|
|
3498
|
+
},
|
|
3499
|
+
},
|
|
3500
|
+
info: {
|
|
3501
|
+
hoverBackground: "{sky.50}",
|
|
3502
|
+
activeBackground: "{sky.100}",
|
|
3503
|
+
borderColor: "{sky.200}",
|
|
3504
|
+
color: "{sky.500}",
|
|
3505
|
+
},
|
|
3506
|
+
warn: {
|
|
3507
|
+
hoverBackground: "{orange.50}",
|
|
3508
|
+
activeBackground: "{orange.100}",
|
|
3509
|
+
borderColor: "{orange.200}",
|
|
3510
|
+
color: "var(--main-orange)",
|
|
3511
|
+
},
|
|
3512
|
+
help: {
|
|
3513
|
+
hoverBackground: "{purple.50}",
|
|
3514
|
+
activeBackground: "{purple.100}",
|
|
3515
|
+
borderColor: "{purple.200}",
|
|
3516
|
+
color: "{purple.500}",
|
|
3517
|
+
},
|
|
3518
|
+
danger: {
|
|
3519
|
+
hoverBackground: "{red.50}",
|
|
3520
|
+
activeBackground: "{red.100}",
|
|
3521
|
+
borderColor: "{red.200}",
|
|
3522
|
+
color: "{red.500}",
|
|
3523
|
+
},
|
|
3524
|
+
contrast: {
|
|
3525
|
+
hoverBackground: "{surface.50}",
|
|
3526
|
+
activeBackground: "{surface.100}",
|
|
3527
|
+
borderColor: "{surface.700}",
|
|
3528
|
+
color: "{surface.950}",
|
|
3529
|
+
},
|
|
3530
|
+
plain: {
|
|
3531
|
+
hoverBackground: "{surface.50}",
|
|
3532
|
+
activeBackground: "{surface.100}",
|
|
3533
|
+
borderColor: "{surface.200}",
|
|
3534
|
+
color: "{surface.700}",
|
|
3535
|
+
},
|
|
3536
|
+
},
|
|
3537
|
+
text: {
|
|
3538
|
+
primary: {
|
|
3539
|
+
hoverBackground: "{transparent}",
|
|
3540
|
+
activeBackground: "{transparent}",
|
|
3541
|
+
color: "var(--main-blue)",
|
|
3542
|
+
},
|
|
3543
|
+
secondary: {
|
|
3544
|
+
hoverBackground: "{transparent}",
|
|
3545
|
+
activeBackground: "{transparent}",
|
|
3546
|
+
color: "var(--main-orange)",
|
|
3547
|
+
},
|
|
3548
|
+
success: {
|
|
3549
|
+
hoverBackground: "{green.50}",
|
|
3550
|
+
activeBackground: "{green.100}",
|
|
3551
|
+
color: "{green.500}",
|
|
3552
|
+
},
|
|
3553
|
+
info: {
|
|
3554
|
+
hoverBackground: "{sky.50}",
|
|
3555
|
+
activeBackground: "{sky.100}",
|
|
3556
|
+
color: "{sky.500}",
|
|
3557
|
+
},
|
|
3558
|
+
warn: {
|
|
3559
|
+
hoverBackground: "{orange.50}",
|
|
3560
|
+
activeBackground: "{orange.100}",
|
|
3561
|
+
color: "var(--main-orange)",
|
|
3562
|
+
},
|
|
3563
|
+
help: {
|
|
3564
|
+
hoverBackground: "{purple.50}",
|
|
3565
|
+
activeBackground: "{purple.100}",
|
|
3566
|
+
color: "{purple.500}",
|
|
3567
|
+
},
|
|
3568
|
+
danger: {
|
|
3569
|
+
hoverBackground: "{red.50}",
|
|
3570
|
+
activeBackground: "{red.100}",
|
|
3571
|
+
color: "{red.500}",
|
|
3572
|
+
},
|
|
3573
|
+
contrast: {
|
|
3574
|
+
hoverBackground: "{surface.50}",
|
|
3575
|
+
activeBackground: "{surface.100}",
|
|
3576
|
+
color: "{surface.950}",
|
|
3577
|
+
},
|
|
3578
|
+
plain: {
|
|
3579
|
+
hoverBackground: "{surface.50}",
|
|
3580
|
+
activeBackground: "{surface.100}",
|
|
3581
|
+
color: "{surface.700}",
|
|
3582
|
+
},
|
|
3583
|
+
},
|
|
3584
|
+
link: {
|
|
3585
|
+
color: "{primary.color}",
|
|
3586
|
+
hoverColor: "{primary.color}",
|
|
3587
|
+
activeColor: "{primary.color}",
|
|
3588
|
+
},
|
|
3589
|
+
},
|
|
3590
|
+
dark: {
|
|
3591
|
+
root: {
|
|
3592
|
+
primary: {
|
|
3593
|
+
background: "var(--main-orange)",
|
|
3594
|
+
hoverBackground: "var(--main-orange-dark)",
|
|
3595
|
+
activeBackground: "var(--main-orange-dark)",
|
|
3596
|
+
borderColor: "var(--main-orange)",
|
|
3597
|
+
hoverBorderColor: "var(--main-orange-dark)",
|
|
3598
|
+
activeBorderColor: "var(--main-orange-dark)",
|
|
3599
|
+
color: "var(--main-light)",
|
|
3600
|
+
hoverColor: "var(--main-light)",
|
|
3601
|
+
activeColor: "var(--main-light)",
|
|
3602
|
+
focusRing: {
|
|
3603
|
+
color: "{primary.color}",
|
|
3604
|
+
shadow: "none",
|
|
3605
|
+
},
|
|
3606
|
+
},
|
|
3607
|
+
secondary: {
|
|
3608
|
+
background: "var(--main-light)",
|
|
3609
|
+
hoverBackground: "var(--main-light)",
|
|
3610
|
+
activeBackground: "var(--main-orange-dark)",
|
|
3611
|
+
borderColor: "var(--main-orange)",
|
|
3612
|
+
hoverBorderColor: "var(--main-orange-dark)",
|
|
3613
|
+
activeBorderColor: "var(--main-orange-dark)",
|
|
3614
|
+
color: "var(--main-orange)",
|
|
3615
|
+
hoverColor: "var(--main-orange-dark)",
|
|
3616
|
+
activeColor: "var(--main-light)",
|
|
3617
|
+
focusRing: {
|
|
3618
|
+
color: "{surface.600}",
|
|
3619
|
+
shadow: "none",
|
|
3620
|
+
},
|
|
3621
|
+
},
|
|
3622
|
+
info: {
|
|
3623
|
+
background: "{sky.500}",
|
|
3624
|
+
hoverBackground: "{sky.600}",
|
|
3625
|
+
activeBackground: "{sky.700}",
|
|
3626
|
+
borderColor: "{sky.500}",
|
|
3627
|
+
hoverBorderColor: "{sky.600}",
|
|
3628
|
+
activeBorderColor: "{sky.700}",
|
|
3629
|
+
color: "#ffffff",
|
|
3630
|
+
hoverColor: "#ffffff",
|
|
3631
|
+
activeColor: "#ffffff",
|
|
3632
|
+
focusRing: {
|
|
3633
|
+
color: "{sky.500}",
|
|
3634
|
+
shadow: "none",
|
|
3635
|
+
},
|
|
3636
|
+
},
|
|
3637
|
+
success: {
|
|
3638
|
+
background: "var(--main-light)",
|
|
3639
|
+
hoverBackground: "{gray.400}",
|
|
3640
|
+
activeBackground: "{gray.400}",
|
|
3641
|
+
borderColor: "{gray.400}",
|
|
3642
|
+
hoverBorderColor: "{gray.400}",
|
|
3643
|
+
activeBorderColor: "{gray.400}",
|
|
3644
|
+
color: "var(--main-blue)",
|
|
3645
|
+
hoverColor: "#ffffff",
|
|
3646
|
+
activeColor: "#ffffff",
|
|
3647
|
+
focusRing: {
|
|
3648
|
+
color: "{green.500}",
|
|
3649
|
+
shadow: "none",
|
|
3650
|
+
},
|
|
3651
|
+
},
|
|
3652
|
+
warn: {
|
|
3653
|
+
background: "var(--main-orange)",
|
|
3654
|
+
hoverBackground: "{orange.600}",
|
|
3655
|
+
activeBackground: "var(--main-orange-dark)",
|
|
3656
|
+
borderColor: "var(--main-orange)",
|
|
3657
|
+
hoverBorderColor: "{orange.600}",
|
|
3658
|
+
activeBorderColor: "var(--main-orange-dark)",
|
|
3659
|
+
color: "#ffffff",
|
|
3660
|
+
hoverColor: "#ffffff",
|
|
3661
|
+
activeColor: "#ffffff",
|
|
3662
|
+
focusRing: {
|
|
3663
|
+
color: "var(--main-orange)",
|
|
3664
|
+
shadow: "none",
|
|
3665
|
+
},
|
|
3666
|
+
},
|
|
3667
|
+
help: {
|
|
3668
|
+
background: "{purple.500}",
|
|
3669
|
+
hoverBackground: "{purple.600}",
|
|
3670
|
+
activeBackground: "{purple.700}",
|
|
3671
|
+
borderColor: "{purple.500}",
|
|
3672
|
+
hoverBorderColor: "{purple.600}",
|
|
3673
|
+
activeBorderColor: "{purple.700}",
|
|
3674
|
+
color: "#ffffff",
|
|
3675
|
+
hoverColor: "#ffffff",
|
|
3676
|
+
activeColor: "#ffffff",
|
|
3677
|
+
focusRing: {
|
|
3678
|
+
color: "{purple.500}",
|
|
3679
|
+
shadow: "none",
|
|
3680
|
+
},
|
|
3681
|
+
},
|
|
3682
|
+
danger: {
|
|
3683
|
+
background: "{red.500}",
|
|
3684
|
+
hoverBackground: "{red.600}",
|
|
3685
|
+
activeBackground: "{red.700}",
|
|
3686
|
+
borderColor: "{red.500}",
|
|
3687
|
+
hoverBorderColor: "{red.600}",
|
|
3688
|
+
activeBorderColor: "{red.700}",
|
|
3689
|
+
color: "#ffffff",
|
|
3690
|
+
hoverColor: "#ffffff",
|
|
3691
|
+
activeColor: "#ffffff",
|
|
3692
|
+
focusRing: {
|
|
3693
|
+
color: "{red.500}",
|
|
3694
|
+
shadow: "none",
|
|
3695
|
+
},
|
|
3696
|
+
},
|
|
3697
|
+
contrast: {
|
|
3698
|
+
background: "{surface.950}",
|
|
3699
|
+
hoverBackground: "{surface.900}",
|
|
3700
|
+
activeBackground: "{surface.800}",
|
|
3701
|
+
borderColor: "{surface.950}",
|
|
3702
|
+
hoverBorderColor: "{surface.900}",
|
|
3703
|
+
activeBorderColor: "{surface.800}",
|
|
3704
|
+
color: "var(--main-light)",
|
|
3705
|
+
hoverColor: "var(--main-light)",
|
|
3706
|
+
activeColor: "var(--main-light)",
|
|
3707
|
+
focusRing: {
|
|
3708
|
+
color: "{surface.950}",
|
|
3709
|
+
shadow: "none",
|
|
3710
|
+
},
|
|
3711
|
+
},
|
|
3712
|
+
},
|
|
3713
|
+
outlined: {
|
|
3714
|
+
primary: {
|
|
3715
|
+
hoverBackground: "{transparent}",
|
|
3716
|
+
activeBackground: "{transparent}",
|
|
3717
|
+
borderColor: "{transparent}",
|
|
3718
|
+
color: "{primary.color}",
|
|
3719
|
+
},
|
|
3720
|
+
secondary: {
|
|
3721
|
+
hoverBackground: "{transparent}",
|
|
3722
|
+
activeBackground: "{transparent}",
|
|
3723
|
+
borderColor: "{transparent}",
|
|
3724
|
+
color: "var(--main-orange)",
|
|
3725
|
+
},
|
|
3726
|
+
success: {
|
|
3727
|
+
hoverBackground: "{green.50}",
|
|
3728
|
+
activeBackground: "{green.100}",
|
|
3729
|
+
borderColor: "{green.200}",
|
|
3730
|
+
color: "{green.500}",
|
|
3731
|
+
},
|
|
3732
|
+
info: {
|
|
3733
|
+
hoverBackground: "{sky.50}",
|
|
3734
|
+
activeBackground: "{sky.100}",
|
|
3735
|
+
borderColor: "{sky.200}",
|
|
3736
|
+
color: "{sky.500}",
|
|
3737
|
+
},
|
|
3738
|
+
warn: {
|
|
3739
|
+
hoverBackground: "{orange.50}",
|
|
3740
|
+
activeBackground: "{orange.100}",
|
|
3741
|
+
borderColor: "{orange.200}",
|
|
3742
|
+
color: "var(--main-orange)",
|
|
3743
|
+
},
|
|
3744
|
+
help: {
|
|
3745
|
+
hoverBackground: "{purple.50}",
|
|
3746
|
+
activeBackground: "{purple.100}",
|
|
3747
|
+
borderColor: "{purple.200}",
|
|
3748
|
+
color: "{purple.500}",
|
|
3749
|
+
},
|
|
3750
|
+
danger: {
|
|
3751
|
+
hoverBackground: "{red.50}",
|
|
3752
|
+
activeBackground: "{red.100}",
|
|
3753
|
+
borderColor: "{red.200}",
|
|
3754
|
+
color: "{red.500}",
|
|
3755
|
+
},
|
|
3756
|
+
contrast: {
|
|
3757
|
+
hoverBackground: "{surface.50}",
|
|
3758
|
+
activeBackground: "{surface.100}",
|
|
3759
|
+
borderColor: "{surface.700}",
|
|
3760
|
+
color: "{surface.950}",
|
|
3761
|
+
},
|
|
3762
|
+
plain: {
|
|
3763
|
+
hoverBackground: "{surface.50}",
|
|
3764
|
+
activeBackground: "{surface.100}",
|
|
3765
|
+
borderColor: "{surface.200}",
|
|
3766
|
+
color: "{surface.700}",
|
|
3767
|
+
},
|
|
3768
|
+
},
|
|
3769
|
+
text: {
|
|
3770
|
+
primary: {
|
|
3771
|
+
hoverBackground: "{transparent}",
|
|
3772
|
+
activeBackground: "{transparent}",
|
|
3773
|
+
color: "var(--main-blue)",
|
|
3774
|
+
},
|
|
3775
|
+
secondary: {
|
|
3776
|
+
hoverBackground: "{transparent}",
|
|
3777
|
+
activeBackground: "{transparent}",
|
|
3778
|
+
color: "var(--main-orange)",
|
|
3779
|
+
},
|
|
3780
|
+
success: {
|
|
3781
|
+
hoverBackground: "{green.50}",
|
|
3782
|
+
activeBackground: "{green.100}",
|
|
3783
|
+
color: "{green.500}",
|
|
3784
|
+
},
|
|
3785
|
+
info: {
|
|
3786
|
+
hoverBackground: "{sky.50}",
|
|
3787
|
+
activeBackground: "{sky.100}",
|
|
3788
|
+
color: "{sky.500}",
|
|
3789
|
+
},
|
|
3790
|
+
warn: {
|
|
3791
|
+
hoverBackground: "{orange.50}",
|
|
3792
|
+
activeBackground: "{orange.100}",
|
|
3793
|
+
color: "var(--main-orange)",
|
|
3794
|
+
},
|
|
3795
|
+
help: {
|
|
3796
|
+
hoverBackground: "{purple.50}",
|
|
3797
|
+
activeBackground: "{purple.100}",
|
|
3798
|
+
color: "{purple.500}",
|
|
3799
|
+
},
|
|
3800
|
+
danger: {
|
|
3801
|
+
hoverBackground: "{red.50}",
|
|
3802
|
+
activeBackground: "{red.100}",
|
|
3803
|
+
color: "{red.500}",
|
|
3804
|
+
},
|
|
3805
|
+
contrast: {
|
|
3806
|
+
hoverBackground: "{surface.50}",
|
|
3807
|
+
activeBackground: "{surface.100}",
|
|
3808
|
+
color: "{surface.950}",
|
|
3809
|
+
},
|
|
3810
|
+
plain: {
|
|
3811
|
+
hoverBackground: "{surface.50}",
|
|
3812
|
+
activeBackground: "{surface.100}",
|
|
3813
|
+
color: "{surface.700}",
|
|
3814
|
+
},
|
|
3815
|
+
},
|
|
3816
|
+
link: {
|
|
3817
|
+
color: "{primary.color}",
|
|
3818
|
+
hoverColor: "{primary.color}",
|
|
3819
|
+
activeColor: "{primary.color}",
|
|
3820
|
+
},
|
|
3821
|
+
},
|
|
3822
|
+
},
|
|
3823
|
+
},
|
|
3824
|
+
carousel: {
|
|
3825
|
+
root: {
|
|
3826
|
+
transitionDuration: "{transition.duration}",
|
|
3827
|
+
},
|
|
3828
|
+
content: {
|
|
3829
|
+
gap: "0.25rem",
|
|
3830
|
+
},
|
|
3831
|
+
indicatorList: {
|
|
3832
|
+
padding: "1rem",
|
|
3833
|
+
gap: "0.5rem",
|
|
3834
|
+
},
|
|
3835
|
+
indicator: {
|
|
3836
|
+
width: "0.8rem",
|
|
3837
|
+
height: "0.8rem",
|
|
3838
|
+
borderRadius: "{content.border.radius}",
|
|
3839
|
+
focusRing: {
|
|
3840
|
+
width: "{focus.ring.width}",
|
|
3841
|
+
style: "{focus.ring.style}",
|
|
3842
|
+
color: "{focus.ring.color}",
|
|
3843
|
+
offset: "{focus.ring.offset}",
|
|
3844
|
+
shadow: "{focus.ring.shadow}",
|
|
3845
|
+
},
|
|
3846
|
+
},
|
|
3847
|
+
colorScheme: {
|
|
3848
|
+
light: {
|
|
3849
|
+
indicator: {
|
|
3850
|
+
background: "var(--main-blue)",
|
|
3851
|
+
hoverBackground: "var(--main-blue)",
|
|
3852
|
+
activeBackground: "{primary.color}",
|
|
3853
|
+
},
|
|
3854
|
+
},
|
|
3855
|
+
dark: {
|
|
3856
|
+
indicator: {
|
|
3857
|
+
background: "var(--main-blue)",
|
|
3858
|
+
hoverBackground: "var(--main-blue)",
|
|
3859
|
+
activeBackground: "{primary.color}",
|
|
3860
|
+
},
|
|
3861
|
+
},
|
|
3862
|
+
},
|
|
3863
|
+
},
|
|
3864
|
+
checkbox: {
|
|
3865
|
+
root: {
|
|
3866
|
+
borderRadius: "{border.radius.sm}",
|
|
3867
|
+
width: "1.2rem",
|
|
3868
|
+
height: "1.2rem",
|
|
3869
|
+
background: "{form.field.background}",
|
|
3870
|
+
checkedBackground: "var(--main-orange)",
|
|
3871
|
+
checkedHoverBackground: "var(--main-orange)",
|
|
3872
|
+
disabledBackground: "{form.field.disabled.background}",
|
|
3873
|
+
filledBackground: "{form.field.filled.background}",
|
|
3874
|
+
borderColor: "{gray.500}",
|
|
3875
|
+
hoverBorderColor: "var(--main-orange)",
|
|
3876
|
+
focusBorderColor: "var(--main-blue)",
|
|
3877
|
+
checkedBorderColor: "var(--main-orange)",
|
|
3878
|
+
checkedHoverBorderColor: "var(--main-orange)",
|
|
3879
|
+
checkedFocusBorderColor: "{primary.color}",
|
|
3880
|
+
checkedDisabledBorderColor: "{form.field.border.color}",
|
|
3881
|
+
invalidBorderColor: "{form.field.invalid.border.color}",
|
|
3882
|
+
shadow: "{form.field.shadow}",
|
|
3883
|
+
focusRing: {
|
|
3884
|
+
width: "{focus.ring.width}",
|
|
3885
|
+
style: "{focus.ring.style}",
|
|
3886
|
+
color: "{focus.ring.color}",
|
|
3887
|
+
offset: "{focus.ring.offset}",
|
|
3888
|
+
shadow: "{focus.ring.shadow}",
|
|
3889
|
+
},
|
|
3890
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
3891
|
+
sm: {
|
|
3892
|
+
width: "1rem",
|
|
3893
|
+
height: "1rem",
|
|
3894
|
+
},
|
|
3895
|
+
lg: {
|
|
3896
|
+
width: "1.5rem",
|
|
3897
|
+
height: "1.5rem",
|
|
3898
|
+
},
|
|
3899
|
+
},
|
|
3900
|
+
icon: {
|
|
3901
|
+
size: "0.875rem",
|
|
3902
|
+
color: "{form.field.color}",
|
|
3903
|
+
checkedColor: "{primary.contrast.color}",
|
|
3904
|
+
checkedHoverColor: "{primary.contrast.color}",
|
|
3905
|
+
disabledColor: "{form.field.disabled.color}",
|
|
3906
|
+
sm: {
|
|
3907
|
+
size: "0.75rem",
|
|
3908
|
+
},
|
|
3909
|
+
lg: {
|
|
3910
|
+
size: "1rem",
|
|
3911
|
+
},
|
|
3912
|
+
},
|
|
3913
|
+
},
|
|
3914
|
+
datatable: {
|
|
3915
|
+
root: {
|
|
3916
|
+
transitionDuration: "{transition.duration}",
|
|
3917
|
+
},
|
|
3918
|
+
header: {
|
|
3919
|
+
background: "{content.background}",
|
|
3920
|
+
borderColor: "{datatable.border.color}",
|
|
3921
|
+
color: "{content.color}",
|
|
3922
|
+
borderWidth: "0 0 1px 0",
|
|
3923
|
+
padding: "0.75rem 1rem",
|
|
3924
|
+
},
|
|
3925
|
+
headerCell: {
|
|
3926
|
+
background: "var(--main-blue)",
|
|
3927
|
+
hoverBackground: "var(--main-blue)",
|
|
3928
|
+
selectedBackground: "var(--main-blue)",
|
|
3929
|
+
color: "var(--main-light)",
|
|
3930
|
+
hoverColor: "var(--main-light)",
|
|
3931
|
+
selectedColor: "var(--main-light)",
|
|
3932
|
+
gap: "0.5rem",
|
|
3933
|
+
padding: "1.3rem 0.5rem",
|
|
3934
|
+
focusRing: {
|
|
3935
|
+
width: "{focus.ring.width}",
|
|
3936
|
+
style: "{focus.ring.style}",
|
|
3937
|
+
color: "{focus.ring.color}",
|
|
3938
|
+
offset: "-1px",
|
|
3939
|
+
shadow: "{focus.ring.shadow}",
|
|
3940
|
+
},
|
|
3941
|
+
},
|
|
3942
|
+
columnTitle: {
|
|
3943
|
+
fontWeight: "400",
|
|
3944
|
+
},
|
|
3945
|
+
row: {
|
|
3946
|
+
background: "{content.background}",
|
|
3947
|
+
hoverBackground: "#cbd9ea",
|
|
3948
|
+
selectedBackground: "{highlight.background}",
|
|
3949
|
+
color: "{content.color}",
|
|
3950
|
+
hoverColor: "var(--main-blue)",
|
|
3951
|
+
selectedColor: "{highlight.color}",
|
|
3952
|
+
borderWidth: "0px",
|
|
3953
|
+
focusRing: {
|
|
3954
|
+
width: "{focus.ring.width}",
|
|
3955
|
+
style: "{focus.ring.style}",
|
|
3956
|
+
color: "{focus.ring.color}",
|
|
3957
|
+
offset: "-1px",
|
|
3958
|
+
shadow: "{focus.ring.shadow}",
|
|
3959
|
+
},
|
|
3960
|
+
},
|
|
3961
|
+
bodyCell: {
|
|
3962
|
+
borderColor: "transparent",
|
|
3963
|
+
padding: "0.75rem 1rem",
|
|
3964
|
+
},
|
|
3965
|
+
footerCell: {
|
|
3966
|
+
background: "{content.background}",
|
|
3967
|
+
borderColor: "{datatable.border.color}",
|
|
3968
|
+
color: "{content.color}",
|
|
3969
|
+
padding: "0.75rem 1rem",
|
|
3970
|
+
},
|
|
3971
|
+
columnFooter: {
|
|
3972
|
+
fontWeight: "600",
|
|
3973
|
+
},
|
|
3974
|
+
footer: {
|
|
3975
|
+
background: "{content.background}",
|
|
3976
|
+
borderColor: "{datatable.border.color}",
|
|
3977
|
+
color: "{content.color}",
|
|
3978
|
+
borderWidth: "0 0 1px 0",
|
|
3979
|
+
padding: "0.75rem 1rem",
|
|
3980
|
+
},
|
|
3981
|
+
dropPoint: {
|
|
3982
|
+
color: "{primary.color}",
|
|
3983
|
+
},
|
|
3984
|
+
columnResizerWidth: "0.5rem",
|
|
3985
|
+
resizeIndicator: {
|
|
3986
|
+
width: "1px",
|
|
3987
|
+
color: "{primary.color}",
|
|
3988
|
+
},
|
|
3989
|
+
sortIcon: {
|
|
3990
|
+
color: "{text.muted.color}",
|
|
3991
|
+
hoverColor: "{text.hover.muted.color}",
|
|
3992
|
+
size: "0.875rem",
|
|
3993
|
+
},
|
|
3994
|
+
loadingIcon: {
|
|
3995
|
+
size: "2rem",
|
|
3996
|
+
},
|
|
3997
|
+
rowToggleButton: {
|
|
3998
|
+
hoverBackground: "{content.hover.background}",
|
|
3999
|
+
selectedHoverBackground: "{content.background}",
|
|
4000
|
+
color: "{text.muted.color}",
|
|
4001
|
+
hoverColor: "{text.color}",
|
|
4002
|
+
selectedHoverColor: "{primary.color}",
|
|
4003
|
+
size: "1.75rem",
|
|
4004
|
+
borderRadius: "50%",
|
|
4005
|
+
focusRing: {
|
|
4006
|
+
width: "{focus.ring.width}",
|
|
4007
|
+
style: "{focus.ring.style}",
|
|
4008
|
+
color: "{focus.ring.color}",
|
|
4009
|
+
offset: "{focus.ring.offset}",
|
|
4010
|
+
shadow: "{focus.ring.shadow}",
|
|
4011
|
+
},
|
|
4012
|
+
},
|
|
4013
|
+
filter: {
|
|
4014
|
+
inlineGap: "0.5rem",
|
|
4015
|
+
overlaySelect: {
|
|
4016
|
+
background: "{overlay.select.background}",
|
|
4017
|
+
borderColor: "{overlay.select.border.color}",
|
|
4018
|
+
borderRadius: "{overlay.select.border.radius}",
|
|
4019
|
+
color: "{overlay.select.color}",
|
|
4020
|
+
shadow: "{overlay.select.shadow}",
|
|
4021
|
+
},
|
|
4022
|
+
overlayPopover: {
|
|
4023
|
+
background: "{overlay.popover.background}",
|
|
4024
|
+
borderColor: "{overlay.popover.border.color}",
|
|
4025
|
+
borderRadius: "{overlay.popover.border.radius}",
|
|
4026
|
+
color: "{overlay.popover.color}",
|
|
4027
|
+
shadow: "{overlay.popover.shadow}",
|
|
4028
|
+
padding: "{overlay.popover.padding}",
|
|
4029
|
+
gap: "0.5rem",
|
|
4030
|
+
},
|
|
4031
|
+
rule: {
|
|
4032
|
+
borderColor: "{content.border.color}",
|
|
4033
|
+
},
|
|
4034
|
+
constraintList: {
|
|
4035
|
+
padding: "{list.padding}",
|
|
4036
|
+
gap: "{list.gap}",
|
|
4037
|
+
},
|
|
4038
|
+
constraint: {
|
|
4039
|
+
focusBackground: "{list.option.focus.background}",
|
|
4040
|
+
selectedBackground: "{list.option.selected.background}",
|
|
4041
|
+
selectedFocusBackground: "{list.option.selected.focus.background}",
|
|
4042
|
+
color: "{list.option.color}",
|
|
4043
|
+
focusColor: "{list.option.focus.color}",
|
|
4044
|
+
selectedColor: "{list.option.selected.color}",
|
|
4045
|
+
selectedFocusColor: "{list.option.selected.focus.color}",
|
|
4046
|
+
separator: {
|
|
4047
|
+
borderColor: "{content.border.color}",
|
|
4048
|
+
},
|
|
4049
|
+
padding: "{list.option.padding}",
|
|
4050
|
+
borderRadius: "{list.option.border.radius}",
|
|
4051
|
+
},
|
|
4052
|
+
},
|
|
4053
|
+
paginatorTop: {
|
|
4054
|
+
borderColor: "{datatable.border.color}",
|
|
4055
|
+
borderWidth: "0 0 1px 0",
|
|
4056
|
+
},
|
|
4057
|
+
paginatorBottom: {
|
|
4058
|
+
borderColor: "{datatable.border.color}",
|
|
4059
|
+
borderWidth: "0 0 1px 0",
|
|
4060
|
+
},
|
|
4061
|
+
colorScheme: {
|
|
4062
|
+
light: {
|
|
4063
|
+
root: {
|
|
4064
|
+
borderColor: "{content.border.color}",
|
|
4065
|
+
},
|
|
4066
|
+
row: {
|
|
4067
|
+
stripedBackground: "{surface.50}",
|
|
4068
|
+
},
|
|
4069
|
+
bodyCell: {
|
|
4070
|
+
selectedBorderColor: "{primary.100}",
|
|
4071
|
+
},
|
|
4072
|
+
},
|
|
4073
|
+
dark: {
|
|
4074
|
+
root: {
|
|
4075
|
+
borderColor: "{content.border.color}",
|
|
4076
|
+
},
|
|
4077
|
+
row: {
|
|
4078
|
+
stripedBackground: "{surface.50}",
|
|
4079
|
+
},
|
|
4080
|
+
bodyCell: {
|
|
4081
|
+
selectedBorderColor: "{primary.100}",
|
|
4082
|
+
},
|
|
4083
|
+
},
|
|
4084
|
+
},
|
|
4085
|
+
},
|
|
4086
|
+
dialog: {
|
|
4087
|
+
root: {
|
|
4088
|
+
background: "var(--main-light)",
|
|
4089
|
+
color: "{overlay.modal.color}",
|
|
4090
|
+
borderRadius: "{overlay.modal.border.radius}",
|
|
4091
|
+
shadow: "none",
|
|
4092
|
+
},
|
|
4093
|
+
header: {
|
|
4094
|
+
gap: "0.5rem",
|
|
4095
|
+
},
|
|
4096
|
+
title: {
|
|
4097
|
+
fontSize: "1.25rem",
|
|
4098
|
+
fontWeight: "600",
|
|
4099
|
+
},
|
|
4100
|
+
content: {
|
|
4101
|
+
padding: " {overlay.modal.padding}",
|
|
4102
|
+
},
|
|
4103
|
+
footer: {
|
|
4104
|
+
padding: "0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",
|
|
4105
|
+
},
|
|
4106
|
+
},
|
|
4107
|
+
fileupload: {
|
|
4108
|
+
root: {
|
|
4109
|
+
background: "{content.background}",
|
|
4110
|
+
borderColor: "{content.border.color}",
|
|
4111
|
+
color: "{content.color}",
|
|
4112
|
+
borderRadius: "{content.border.radius}",
|
|
4113
|
+
transitionDuration: "{transition.duration}",
|
|
4114
|
+
},
|
|
4115
|
+
header: {
|
|
4116
|
+
background: "transparent",
|
|
4117
|
+
color: "{text.color}",
|
|
4118
|
+
padding: "1.125rem",
|
|
4119
|
+
borderColor: "unset",
|
|
4120
|
+
borderWidth: "0",
|
|
4121
|
+
borderRadius: "0",
|
|
4122
|
+
gap: "0.5rem",
|
|
4123
|
+
},
|
|
4124
|
+
content: {
|
|
4125
|
+
highlightBorderColor: "{primary.color}",
|
|
4126
|
+
padding: "0 1.125rem 1.125rem 1.125rem",
|
|
4127
|
+
gap: "1rem",
|
|
4128
|
+
},
|
|
4129
|
+
file: {
|
|
4130
|
+
padding: "1rem",
|
|
4131
|
+
gap: "1rem",
|
|
4132
|
+
borderColor: "{content.border.color}",
|
|
4133
|
+
info: {
|
|
4134
|
+
gap: "0.5rem",
|
|
4135
|
+
},
|
|
4136
|
+
},
|
|
4137
|
+
fileList: {
|
|
4138
|
+
gap: "0.5rem",
|
|
4139
|
+
},
|
|
4140
|
+
progressbar: {
|
|
4141
|
+
height: "0.25rem",
|
|
4142
|
+
},
|
|
4143
|
+
basic: {
|
|
4144
|
+
gap: "0.5rem",
|
|
4145
|
+
},
|
|
4146
|
+
},
|
|
4147
|
+
inputtext: {
|
|
4148
|
+
root: {
|
|
4149
|
+
background: "{form.field.background}",
|
|
4150
|
+
disabledBackground: "{form.field.disabled.background}", // var(--p-inputtext-disabled-background)
|
|
4151
|
+
filledBackground: "{form.field.filled.background}",
|
|
4152
|
+
filledHoverBackground: "{form.field.filled.hover.background}",
|
|
4153
|
+
filledFocusBackground: "{form.field.filled.focus.background}",
|
|
4154
|
+
borderColor: "{form.field.border.color}",
|
|
4155
|
+
hoverBorderColor: "{form.field.hover.border.color}",
|
|
4156
|
+
focusBorderColor: "{form.field.focus.border.color}",
|
|
4157
|
+
invalidBorderColor: "{form.field.invalid.border.color}",
|
|
4158
|
+
color: "{form.field.color}",
|
|
4159
|
+
disabledColor: "{form.field.disabled.color}",
|
|
4160
|
+
placeholderColor: "{form.field.placeholder.color}",
|
|
4161
|
+
invalidPlaceholderColor: "{form.field.invalid.placeholder.color}",
|
|
4162
|
+
shadow: "{form.field.shadow}",
|
|
4163
|
+
paddingX: "{form.field.padding.x}",
|
|
4164
|
+
paddingY: "{form.field.padding.y}",
|
|
4165
|
+
borderRadius: "{form.field.border.radius}", // var(--p-inputtext-border-radius)
|
|
4166
|
+
focusRing: {
|
|
4167
|
+
width: "{form.field.focus.ring.width}",
|
|
4168
|
+
style: "{form.field.focus.ring.style}",
|
|
4169
|
+
color: "{form.field.focus.ring.color}",
|
|
4170
|
+
offset: "{form.field.focus.ring.offset}", // var(--p-inputtext-focus-ring-offset)
|
|
4171
|
+
shadow: "{form.field.focus.ring.shadow}",
|
|
4172
|
+
},
|
|
4173
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
4174
|
+
sm: {
|
|
4175
|
+
fontSize: "{form.field.sm.font.size}",
|
|
4176
|
+
paddingX: "{form.field.sm.padding.x}",
|
|
4177
|
+
paddingY: "{form.field.sm.padding.y}",
|
|
4178
|
+
},
|
|
4179
|
+
lg: {
|
|
4180
|
+
fontSize: "{form.field.lg.font.size}",
|
|
4181
|
+
paddingX: "{form.field.lg.padding.x}",
|
|
4182
|
+
paddingY: "{form.field.lg.padding.y}",
|
|
4183
|
+
},
|
|
4184
|
+
},
|
|
4185
|
+
},
|
|
4186
|
+
inputgroup: {
|
|
4187
|
+
addon: {
|
|
4188
|
+
background: "{form.field.background}",
|
|
4189
|
+
borderColor: "{form.field.border.color}",
|
|
4190
|
+
color: "{form.field.icon.color}",
|
|
4191
|
+
borderRadius: "{form.field.border.radius}",
|
|
4192
|
+
padding: "0.5rem",
|
|
4193
|
+
minWidth: "2.5rem",
|
|
4194
|
+
},
|
|
4195
|
+
},
|
|
4196
|
+
listbox: {
|
|
4197
|
+
root: {
|
|
4198
|
+
background: "{form.field.background}",
|
|
4199
|
+
disabledBackground: "{form.field.disabled.background}",
|
|
4200
|
+
borderColor: "{form.field.border.color}",
|
|
4201
|
+
invalidBorderColor: "{form.field.invalid.border.color}",
|
|
4202
|
+
color: "{form.field.color}",
|
|
4203
|
+
disabledColor: "{form.field.disabled.color}",
|
|
4204
|
+
shadow: "{form.field.shadow}",
|
|
4205
|
+
borderRadius: "{form.field.border.radius}",
|
|
4206
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
4207
|
+
},
|
|
4208
|
+
list: {
|
|
4209
|
+
padding: "{list.padding}",
|
|
4210
|
+
gap: "{list.gap}",
|
|
4211
|
+
header: {
|
|
4212
|
+
padding: "{list.header.padding}",
|
|
4213
|
+
},
|
|
4214
|
+
},
|
|
4215
|
+
option: {
|
|
4216
|
+
focusBackground: "{list.option.focus.background}",
|
|
4217
|
+
selectedBackground: "{list.option.selected.background}",
|
|
4218
|
+
selectedFocusBackground: "{list.option.selected.focus.background}",
|
|
4219
|
+
color: "{list.option.color}",
|
|
4220
|
+
focusColor: "{list.option.focus.color}",
|
|
4221
|
+
selectedColor: "{list.option.selected.color}",
|
|
4222
|
+
selectedFocusColor: "{list.option.selected.focus.color}",
|
|
4223
|
+
padding: "{list.option.padding}",
|
|
4224
|
+
borderRadius: "{list.option.border.radius}",
|
|
4225
|
+
},
|
|
4226
|
+
optionGroup: {
|
|
4227
|
+
background: "{list.option.group.background}",
|
|
4228
|
+
color: "{list.option.group.color}",
|
|
4229
|
+
fontWeight: "{list.option.group.font.weight}",
|
|
4230
|
+
padding: "{list.option.group.padding}",
|
|
4231
|
+
},
|
|
4232
|
+
checkmark: {
|
|
4233
|
+
color: "{list.option.color}",
|
|
4234
|
+
gutterStart: "-0.375rem",
|
|
4235
|
+
gutterEnd: "0.375rem",
|
|
4236
|
+
},
|
|
4237
|
+
emptyMessage: {
|
|
4238
|
+
padding: "{list.option.padding}",
|
|
4239
|
+
},
|
|
4240
|
+
colorScheme: {
|
|
4241
|
+
light: {
|
|
4242
|
+
option: {
|
|
4243
|
+
stripedBackground: "{surface.50}",
|
|
4244
|
+
},
|
|
4245
|
+
},
|
|
4246
|
+
dark: {
|
|
4247
|
+
option: {
|
|
4248
|
+
stripedBackground: "{surface.900}",
|
|
4249
|
+
},
|
|
4250
|
+
},
|
|
4251
|
+
},
|
|
4252
|
+
},
|
|
4253
|
+
multiselect: {
|
|
4254
|
+
root: {
|
|
4255
|
+
background: "{form.field.background}",
|
|
4256
|
+
disabledBackground: "{form.field.disabled.background}",
|
|
4257
|
+
filledBackground: "{form.field.filled.background}",
|
|
4258
|
+
filledHoverBackground: "{form.field.filled.hover.background}",
|
|
4259
|
+
filledFocusBackground: "{form.field.filled.focus.background}",
|
|
4260
|
+
borderColor: "{form.field.border.color}",
|
|
4261
|
+
hoverBorderColor: "{form.field.hover.border.color}",
|
|
4262
|
+
focusBorderColor: "{form.field.focus.border.color}",
|
|
4263
|
+
invalidBorderColor: "{form.field.invalid.border.color}",
|
|
4264
|
+
color: "{form.field.color}",
|
|
4265
|
+
disabledColor: "{form.field.disabled.color}",
|
|
4266
|
+
placeholderColor: "{form.field.placeholder.color}",
|
|
4267
|
+
invalidPlaceholderColor: "{form.field.invalid.placeholder.color}",
|
|
4268
|
+
shadow: "{form.field.shadow}",
|
|
4269
|
+
paddingX: "{form.field.padding.x}",
|
|
4270
|
+
paddingY: "{form.field.padding.y}",
|
|
4271
|
+
borderRadius: "{form.field.border.radius}",
|
|
4272
|
+
focusRing: {
|
|
4273
|
+
width: "{form.field.focus.ring.width}",
|
|
4274
|
+
style: "{form.field.focus.ring.style}",
|
|
4275
|
+
color: "{form.field.focus.ring.color}",
|
|
4276
|
+
offset: "{form.field.focus.ring.offset}",
|
|
4277
|
+
shadow: "{form.field.focus.ring.shadow}",
|
|
4278
|
+
},
|
|
4279
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
4280
|
+
sm: {
|
|
4281
|
+
fontSize: "{form.field.sm.font.size}",
|
|
4282
|
+
paddingX: "{form.field.sm.padding.x}",
|
|
4283
|
+
paddingY: "{form.field.sm.padding.y}",
|
|
4284
|
+
},
|
|
4285
|
+
lg: {
|
|
4286
|
+
fontSize: "{form.field.lg.font.size}",
|
|
4287
|
+
paddingX: "{form.field.lg.padding.x}",
|
|
4288
|
+
paddingY: "{form.field.lg.padding.y}",
|
|
4289
|
+
},
|
|
4290
|
+
},
|
|
4291
|
+
dropdown: {
|
|
4292
|
+
width: "2.5rem",
|
|
4293
|
+
color: "{form.field.icon.color}",
|
|
4294
|
+
},
|
|
4295
|
+
overlay: {
|
|
4296
|
+
background: "{overlay.select.background}",
|
|
4297
|
+
borderColor: "{overlay.select.border.color}",
|
|
4298
|
+
borderRadius: "{overlay.select.border.radius}",
|
|
4299
|
+
color: "{overlay.select.color}",
|
|
4300
|
+
shadow: "{overlay.select.shadow}",
|
|
4301
|
+
},
|
|
4302
|
+
list: {
|
|
4303
|
+
padding: "{list.padding}",
|
|
4304
|
+
gap: "{list.gap}",
|
|
4305
|
+
header: {
|
|
4306
|
+
padding: "{list.header.padding}",
|
|
4307
|
+
},
|
|
4308
|
+
},
|
|
4309
|
+
option: {
|
|
4310
|
+
focusBackground: "{list.option.focus.background}",
|
|
4311
|
+
selectedBackground: "{list.option.selected.background}",
|
|
4312
|
+
selectedFocusBackground: "{list.option.selected.focus.background}",
|
|
4313
|
+
color: "{list.option.color}",
|
|
4314
|
+
focusColor: "{list.option.focus.color}",
|
|
4315
|
+
selectedColor: "{list.option.selected.color}",
|
|
4316
|
+
selectedFocusColor: "{list.option.selected.focus.color}",
|
|
4317
|
+
padding: "{list.option.padding}",
|
|
4318
|
+
borderRadius: "{list.option.border.radius}",
|
|
4319
|
+
gap: "0.5rem",
|
|
4320
|
+
},
|
|
4321
|
+
optionGroup: {
|
|
4322
|
+
background: "{list.option.group.background}",
|
|
4323
|
+
color: "{list.option.group.color}",
|
|
4324
|
+
fontWeight: "{list.option.group.font.weight}",
|
|
4325
|
+
padding: "{list.option.group.padding}",
|
|
4326
|
+
},
|
|
4327
|
+
clearIcon: {
|
|
4328
|
+
color: "{form.field.icon.color}",
|
|
4329
|
+
},
|
|
4330
|
+
chip: {
|
|
4331
|
+
borderRadius: "{border.radius.sm}",
|
|
4332
|
+
},
|
|
4333
|
+
emptyMessage: {
|
|
4334
|
+
padding: "{list.option.padding}",
|
|
4335
|
+
},
|
|
4336
|
+
},
|
|
4337
|
+
picklist: {
|
|
4338
|
+
root: {
|
|
4339
|
+
gap: "1.125rem",
|
|
4340
|
+
},
|
|
4341
|
+
controls: {
|
|
4342
|
+
gap: "0.5rem",
|
|
4343
|
+
},
|
|
4344
|
+
},
|
|
4345
|
+
popover: {
|
|
4346
|
+
root: {
|
|
4347
|
+
background: "{overlay.popover.background}",
|
|
4348
|
+
borderColor: "{overlay.popover.border.color}",
|
|
4349
|
+
color: "{overlay.popover.color}",
|
|
4350
|
+
borderRadius: "{overlay.popover.border.radius}",
|
|
4351
|
+
shadow: "{overlay.popover.shadow}",
|
|
4352
|
+
gutter: "0",
|
|
4353
|
+
arrowOffset: "1.25rem",
|
|
4354
|
+
},
|
|
4355
|
+
content: {
|
|
4356
|
+
padding: "0",
|
|
4357
|
+
},
|
|
4358
|
+
},
|
|
4359
|
+
radiobutton: {
|
|
4360
|
+
root: {
|
|
4361
|
+
width: "1.2rem",
|
|
4362
|
+
height: "1.2rem",
|
|
4363
|
+
background: "{form.field.background}",
|
|
4364
|
+
checkedBackground: "var(--main-orange)",
|
|
4365
|
+
checkedHoverBackground: "var(--main-orange)",
|
|
4366
|
+
disabledBackground: "{form.field.disabled.background}",
|
|
4367
|
+
filledBackground: "{form.field.filled.background}",
|
|
4368
|
+
borderColor: "{gray.500}",
|
|
4369
|
+
hoverBorderColor: "var(--main-orange)",
|
|
4370
|
+
focusBorderColor: "var(--main-blue)",
|
|
4371
|
+
checkedBorderColor: "var(--main-orange)",
|
|
4372
|
+
checkedHoverBorderColor: "var(--main-orange)",
|
|
4373
|
+
checkedFocusBorderColor: "{primary.color}",
|
|
4374
|
+
checkedDisabledBorderColor: "{form.field.border.color}",
|
|
4375
|
+
invalidBorderColor: "{form.field.invalid.border.color}",
|
|
4376
|
+
shadow: "{form.field.shadow}",
|
|
4377
|
+
focusRing: {
|
|
4378
|
+
width: "{focus.ring.width}",
|
|
4379
|
+
style: "{focus.ring.style}",
|
|
4380
|
+
color: "{focus.ring.color}",
|
|
4381
|
+
offset: "{focus.ring.offset}",
|
|
4382
|
+
shadow: "{focus.ring.shadow}",
|
|
4383
|
+
},
|
|
4384
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
4385
|
+
sm: {
|
|
4386
|
+
width: "1rem",
|
|
4387
|
+
height: "1rem",
|
|
4388
|
+
},
|
|
4389
|
+
lg: {
|
|
4390
|
+
width: "1.5rem",
|
|
4391
|
+
height: "1.5rem",
|
|
4392
|
+
},
|
|
4393
|
+
},
|
|
4394
|
+
icon: {
|
|
4395
|
+
size: "0.75rem",
|
|
4396
|
+
checkedColor: "{primary.contrast.color}",
|
|
4397
|
+
checkedHoverColor: "{primary.contrast.color}",
|
|
4398
|
+
disabledColor: "{form.field.disabled.color}",
|
|
4399
|
+
sm: {
|
|
4400
|
+
size: "0.5rem",
|
|
4401
|
+
},
|
|
4402
|
+
lg: {
|
|
4403
|
+
size: "1rem",
|
|
4404
|
+
},
|
|
4405
|
+
},
|
|
4406
|
+
},
|
|
4407
|
+
select: {
|
|
4408
|
+
root: {
|
|
4409
|
+
background: "{form.field.background}",
|
|
4410
|
+
disabledBackground: "{form.field.disabled.background}",
|
|
4411
|
+
filledBackground: "{form.field.filled.background}",
|
|
4412
|
+
filledHoverBackground: "{form.field.filled.hover.background}",
|
|
4413
|
+
filledFocusBackground: "{form.field.filled.focus.background}",
|
|
4414
|
+
borderColor: "{form.field.border.color}",
|
|
4415
|
+
hoverBorderColor: "{form.field.hover.border.color}",
|
|
4416
|
+
focusBorderColor: "{form.field.focus.border.color}",
|
|
4417
|
+
invalidBorderColor: "{form.field.invalid.border.color}",
|
|
4418
|
+
color: "{form.field.color}",
|
|
4419
|
+
disabledColor: "{form.field.disabled.color}",
|
|
4420
|
+
placeholderColor: "{form.field.placeholder.color}",
|
|
4421
|
+
invalidPlaceholderColor: "{form.field.invalid.placeholder.color}",
|
|
4422
|
+
shadow: "{form.field.shadow}",
|
|
4423
|
+
paddingX: "{form.field.padding.x}",
|
|
4424
|
+
paddingY: "{form.field.padding.y}",
|
|
4425
|
+
borderRadius: "{form.field.border.radius}",
|
|
4426
|
+
focusRing: {
|
|
4427
|
+
width: "{form.field.focus.ring.width}",
|
|
4428
|
+
style: "{form.field.focus.ring.style}",
|
|
4429
|
+
color: "{form.field.focus.ring.color}",
|
|
4430
|
+
offset: "{form.field.focus.ring.offset}",
|
|
4431
|
+
shadow: "{form.field.focus.ring.shadow}",
|
|
4432
|
+
},
|
|
4433
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
4434
|
+
sm: {
|
|
4435
|
+
fontSize: "{form.field.sm.font.size}",
|
|
4436
|
+
paddingX: "{form.field.sm.padding.x}",
|
|
4437
|
+
paddingY: "{form.field.sm.padding.y}",
|
|
4438
|
+
},
|
|
4439
|
+
lg: {
|
|
4440
|
+
fontSize: "{form.field.lg.font.size}",
|
|
4441
|
+
paddingX: "{form.field.lg.padding.x}",
|
|
4442
|
+
paddingY: "{form.field.lg.padding.y}",
|
|
4443
|
+
},
|
|
4444
|
+
},
|
|
4445
|
+
dropdown: {
|
|
4446
|
+
width: "2.5rem",
|
|
4447
|
+
color: "{form.field.icon.color}",
|
|
4448
|
+
},
|
|
4449
|
+
overlay: {
|
|
4450
|
+
background: "{overlay.select.background}",
|
|
4451
|
+
borderColor: "{overlay.select.border.color}",
|
|
4452
|
+
borderRadius: "{overlay.select.border.radius}",
|
|
4453
|
+
color: "{overlay.select.color}",
|
|
4454
|
+
shadow: "{overlay.select.shadow}",
|
|
4455
|
+
},
|
|
4456
|
+
list: {
|
|
4457
|
+
padding: "{list.padding}",
|
|
4458
|
+
gap: "{list.gap}",
|
|
4459
|
+
header: {
|
|
4460
|
+
padding: "{list.header.padding}",
|
|
4461
|
+
},
|
|
4462
|
+
},
|
|
4463
|
+
option: {
|
|
4464
|
+
focusBackground: "{list.option.focus.background}",
|
|
4465
|
+
selectedBackground: "{list.option.selected.background}",
|
|
4466
|
+
selectedFocusBackground: "{list.option.selected.focus.background}",
|
|
4467
|
+
color: "{list.option.color}",
|
|
4468
|
+
focusColor: "{list.option.focus.color}",
|
|
4469
|
+
selectedColor: "{list.option.selected.color}",
|
|
4470
|
+
selectedFocusColor: "{list.option.selected.focus.color}",
|
|
4471
|
+
padding: "{list.option.padding}",
|
|
4472
|
+
borderRadius: "{list.option.border.radius}",
|
|
4473
|
+
},
|
|
4474
|
+
optionGroup: {
|
|
4475
|
+
background: "{list.option.group.background}",
|
|
4476
|
+
color: "{list.option.group.color}",
|
|
4477
|
+
fontWeight: "{list.option.group.font.weight}",
|
|
4478
|
+
padding: "{list.option.group.padding}",
|
|
4479
|
+
},
|
|
4480
|
+
clearIcon: {
|
|
4481
|
+
color: "{form.field.icon.color}",
|
|
4482
|
+
},
|
|
4483
|
+
checkmark: {
|
|
4484
|
+
color: "{list.option.color}",
|
|
4485
|
+
gutterStart: "-0.375rem",
|
|
4486
|
+
gutterEnd: "0.375rem",
|
|
4487
|
+
},
|
|
4488
|
+
emptyMessage: {
|
|
4489
|
+
padding: "{list.option.padding}",
|
|
4490
|
+
},
|
|
4491
|
+
},
|
|
4492
|
+
stepper: {
|
|
4493
|
+
root: {
|
|
4494
|
+
transitionDuration: "{transition.duration}",
|
|
4495
|
+
},
|
|
4496
|
+
separator: {
|
|
4497
|
+
background: "var(--main-gray)", // var(--p-stepper-separator-background)
|
|
4498
|
+
activeBackground: "var(--main-orange)",
|
|
4499
|
+
margin: "0 0 0 1.625rem",
|
|
4500
|
+
size: "2px",
|
|
4501
|
+
},
|
|
4502
|
+
step: {
|
|
4503
|
+
padding: "0.5rem",
|
|
4504
|
+
gap: "1rem",
|
|
4505
|
+
},
|
|
4506
|
+
stepHeader: {
|
|
4507
|
+
padding: "0",
|
|
4508
|
+
borderRadius: "{content.border.radius}",
|
|
4509
|
+
focusRing: {
|
|
4510
|
+
width: "{focus.ring.width}",
|
|
4511
|
+
style: "{focus.ring.style}",
|
|
4512
|
+
color: "{focus.ring.color}",
|
|
4513
|
+
offset: "{focus.ring.offset}",
|
|
4514
|
+
shadow: "{focus.ring.shadow}",
|
|
4515
|
+
},
|
|
4516
|
+
gap: "0.5rem",
|
|
4517
|
+
},
|
|
4518
|
+
stepTitle: {
|
|
4519
|
+
color: "{text.color}",
|
|
4520
|
+
activeColor: "{secondary.color}",
|
|
4521
|
+
fontWeight: "500",
|
|
4522
|
+
},
|
|
4523
|
+
stepNumber: {
|
|
4524
|
+
background: "{content.background}",
|
|
4525
|
+
activeBackground: "{content.background}",
|
|
4526
|
+
borderColor: "{primary.color}",
|
|
4527
|
+
activeBorderColor: "{secondary.color}",
|
|
4528
|
+
color: "{text.color}",
|
|
4529
|
+
activeColor: "{secondary.color}",
|
|
4530
|
+
size: "2rem",
|
|
4531
|
+
fontSize: "1.143rem",
|
|
4532
|
+
fontWeight: "500",
|
|
4533
|
+
borderRadius: "50%",
|
|
4534
|
+
shadow: "0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)",
|
|
4535
|
+
},
|
|
4536
|
+
stepIcon: {
|
|
4537
|
+
background: "{primary.color}",
|
|
4538
|
+
activeBackground: "{content.background}",
|
|
4539
|
+
borderColor: "{primary.color}",
|
|
4540
|
+
activeBorderColor: "{secondary.color}",
|
|
4541
|
+
color: "{text.color}",
|
|
4542
|
+
activeColor: "{secondary.color}",
|
|
4543
|
+
size: "2rem",
|
|
4544
|
+
fontSize: "1.143rem",
|
|
4545
|
+
fontWeight: "500",
|
|
4546
|
+
borderRadius: "50%",
|
|
4547
|
+
shadow: "0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)",
|
|
4548
|
+
},
|
|
4549
|
+
steppanels: {
|
|
4550
|
+
padding: "0.875rem 0.5rem 1.125rem 0.5rem",
|
|
4551
|
+
},
|
|
4552
|
+
steppanel: {
|
|
4553
|
+
background: "{content.background}",
|
|
4554
|
+
color: "{content.color}",
|
|
4555
|
+
padding: "0",
|
|
4556
|
+
indent: "1rem",
|
|
4557
|
+
},
|
|
4558
|
+
},
|
|
4559
|
+
slider: {
|
|
4560
|
+
root: {
|
|
4561
|
+
borderRadius: "1rem",
|
|
4562
|
+
transitionDuration: "{transition.duration}",
|
|
4563
|
+
},
|
|
4564
|
+
track: {
|
|
4565
|
+
background: "{gray.200}",
|
|
4566
|
+
size: "0.4rem",
|
|
4567
|
+
},
|
|
4568
|
+
range: {
|
|
4569
|
+
background: "{primary.color}",
|
|
4570
|
+
},
|
|
4571
|
+
handle: {
|
|
4572
|
+
width: "1.1rem",
|
|
4573
|
+
height: "1.1rem",
|
|
4574
|
+
borderRadius: "50%",
|
|
4575
|
+
background: "{content.border.color}",
|
|
4576
|
+
hoverBackground: "{content.border.color}",
|
|
4577
|
+
content: {
|
|
4578
|
+
borderRadius: "50%",
|
|
4579
|
+
hoverBackground: "{content.background}",
|
|
4580
|
+
width: "16px",
|
|
4581
|
+
height: "16px",
|
|
4582
|
+
shadow: "0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)",
|
|
4583
|
+
},
|
|
4584
|
+
focusRing: {
|
|
4585
|
+
width: "{focus.ring.width}",
|
|
4586
|
+
style: "{focus.ring.style}",
|
|
4587
|
+
color: "{focus.ring.color}",
|
|
4588
|
+
offset: "{focus.ring.offset}",
|
|
4589
|
+
shadow: "{focus.ring.shadow}",
|
|
4590
|
+
},
|
|
4591
|
+
},
|
|
4592
|
+
colorScheme: {
|
|
4593
|
+
light: {
|
|
4594
|
+
handle: {
|
|
4595
|
+
contentBackground: "{content.border.color}",
|
|
4596
|
+
range: {
|
|
4597
|
+
background: "{content.border.color}",
|
|
4598
|
+
},
|
|
4599
|
+
},
|
|
4600
|
+
},
|
|
4601
|
+
dark: {
|
|
4602
|
+
handle: {
|
|
4603
|
+
contentBackground: "{content.border.color} ",
|
|
4604
|
+
},
|
|
4605
|
+
range: {
|
|
4606
|
+
background: "{content.border.color}",
|
|
4607
|
+
},
|
|
4608
|
+
},
|
|
4609
|
+
},
|
|
4610
|
+
},
|
|
4611
|
+
tabs: {
|
|
4612
|
+
root: {
|
|
4613
|
+
transitionDuration: "{transition.duration}",
|
|
4614
|
+
},
|
|
4615
|
+
tablist: {
|
|
4616
|
+
borderWidth: "0 0 0 0",
|
|
4617
|
+
background: "var(--main-blue)",
|
|
4618
|
+
borderColor: "#fff",
|
|
4619
|
+
},
|
|
4620
|
+
tab: {
|
|
4621
|
+
background: "transparent",
|
|
4622
|
+
hoverBackground: "transparent",
|
|
4623
|
+
activeBackground: "#fff",
|
|
4624
|
+
borderWidth: "0 0 0 0",
|
|
4625
|
+
borderColor: "{content.border.color}",
|
|
4626
|
+
hoverBorderColor: "{content.border.color}",
|
|
4627
|
+
activeBorderColor: "#fff",
|
|
4628
|
+
color: "#fff",
|
|
4629
|
+
hoverColor: "#d9d9d9",
|
|
4630
|
+
activeColor: "var(--main-orange)",
|
|
4631
|
+
padding: "1rem 1.125rem",
|
|
4632
|
+
fontWeight: "400",
|
|
4633
|
+
margin: "0",
|
|
4634
|
+
gap: "0.5rem",
|
|
4635
|
+
focusRing: {
|
|
4636
|
+
width: "{focus.ring.width}",
|
|
4637
|
+
style: "{focus.ring.style}",
|
|
4638
|
+
color: "{focus.ring.color}",
|
|
4639
|
+
offset: "-1px",
|
|
4640
|
+
shadow: "{focus.ring.shadow}",
|
|
4641
|
+
},
|
|
4642
|
+
},
|
|
4643
|
+
tabpanel: {
|
|
4644
|
+
background: "{content.background}",
|
|
4645
|
+
color: "{content.color}",
|
|
4646
|
+
padding: "2rem",
|
|
4647
|
+
focusRing: {
|
|
4648
|
+
width: "{focus.ring.width}",
|
|
4649
|
+
style: "{focus.ring.style}",
|
|
4650
|
+
color: "{focus.ring.color}",
|
|
4651
|
+
offset: "{focus.ring.offset}",
|
|
4652
|
+
shadow: "inset {focus.ring.shadow}",
|
|
4653
|
+
},
|
|
4654
|
+
},
|
|
4655
|
+
navButton: {
|
|
4656
|
+
background: "{content.background}",
|
|
4657
|
+
color: "{text.muted.color}",
|
|
4658
|
+
hoverColor: "{text.color}",
|
|
4659
|
+
width: "2.5rem",
|
|
4660
|
+
focusRing: {
|
|
4661
|
+
width: "{focus.ring.width}",
|
|
4662
|
+
style: "{focus.ring.style}",
|
|
4663
|
+
color: "{focus.ring.color}",
|
|
4664
|
+
offset: "-1px",
|
|
4665
|
+
shadow: "{focus.ring.shadow}",
|
|
4666
|
+
},
|
|
4667
|
+
},
|
|
4668
|
+
activeBar: {
|
|
4669
|
+
height: "1px",
|
|
4670
|
+
bottom: "-1px",
|
|
4671
|
+
background: "{primary.color}",
|
|
4672
|
+
},
|
|
4673
|
+
colorScheme: {
|
|
4674
|
+
light: {
|
|
4675
|
+
navButton: {
|
|
4676
|
+
shadow: "0px 0px 10px 50px rgba(255, 255, 255, 0.6)",
|
|
4677
|
+
},
|
|
4678
|
+
},
|
|
4679
|
+
dark: {
|
|
4680
|
+
navButton: {
|
|
4681
|
+
shadow: "0px 0px 10px 50px rgba(255, 255, 255, 0.6)",
|
|
4682
|
+
},
|
|
4683
|
+
},
|
|
4684
|
+
},
|
|
4685
|
+
},
|
|
4686
|
+
tag: {
|
|
4687
|
+
// Pills
|
|
4688
|
+
root: {
|
|
4689
|
+
fontSize: "0.875rem",
|
|
4690
|
+
fontWeight: "700",
|
|
4691
|
+
padding: "0.25rem 0.5rem",
|
|
4692
|
+
gap: "0.25rem",
|
|
4693
|
+
borderRadius: "{content.border.radius}",
|
|
4694
|
+
roundedBorderRadius: "{border.radius.xl}",
|
|
4695
|
+
},
|
|
4696
|
+
icon: {
|
|
4697
|
+
size: "0.75rem",
|
|
4698
|
+
},
|
|
4699
|
+
colorScheme: {
|
|
4700
|
+
light: {
|
|
4701
|
+
primary: {
|
|
4702
|
+
background: "{primary.100}",
|
|
4703
|
+
color: "{primary.700}",
|
|
4704
|
+
},
|
|
4705
|
+
secondary: {
|
|
4706
|
+
background: "{surface.100}",
|
|
4707
|
+
color: "{surface.600}",
|
|
4708
|
+
},
|
|
4709
|
+
success: {
|
|
4710
|
+
background: "{green.100}",
|
|
4711
|
+
color: "{green.700}",
|
|
4712
|
+
},
|
|
4713
|
+
info: {
|
|
4714
|
+
background: "{sky.100}",
|
|
4715
|
+
color: "{sky.700}",
|
|
4716
|
+
},
|
|
4717
|
+
warn: {
|
|
4718
|
+
background: "{orange.100}",
|
|
4719
|
+
color: "var(--main-orange-dark)",
|
|
4720
|
+
},
|
|
4721
|
+
danger: {
|
|
4722
|
+
background: "{red.100}",
|
|
4723
|
+
color: "{red.700}",
|
|
4724
|
+
},
|
|
4725
|
+
contrast: {
|
|
4726
|
+
background: "{surface.950}",
|
|
4727
|
+
color: "var(--main-light)",
|
|
4728
|
+
},
|
|
4729
|
+
},
|
|
4730
|
+
dark: {
|
|
4731
|
+
primary: {
|
|
4732
|
+
background: "{primary.100}",
|
|
4733
|
+
color: "{primary.700}",
|
|
4734
|
+
},
|
|
4735
|
+
secondary: {
|
|
4736
|
+
background: "{surface.100}",
|
|
4737
|
+
color: "{surface.600}",
|
|
4738
|
+
},
|
|
4739
|
+
success: {
|
|
4740
|
+
background: "{green.100}",
|
|
4741
|
+
color: "{green.700}",
|
|
4742
|
+
},
|
|
4743
|
+
info: {
|
|
4744
|
+
background: "{sky.100}",
|
|
4745
|
+
color: "{sky.700}",
|
|
4746
|
+
},
|
|
4747
|
+
warn: {
|
|
4748
|
+
background: "{orange.100}",
|
|
4749
|
+
color: "var(--main-orange-dark)",
|
|
4750
|
+
},
|
|
4751
|
+
danger: {
|
|
4752
|
+
background: "{red.100}",
|
|
4753
|
+
color: "{red.700}",
|
|
4754
|
+
},
|
|
4755
|
+
contrast: {
|
|
4756
|
+
background: "{surface.950}",
|
|
4757
|
+
color: "var(--main-light)",
|
|
4758
|
+
},
|
|
4759
|
+
},
|
|
4760
|
+
},
|
|
4761
|
+
},
|
|
4762
|
+
toggleswitch: {
|
|
4763
|
+
root: {
|
|
4764
|
+
width: "2.9rem",
|
|
4765
|
+
height: "1.5rem",
|
|
4766
|
+
borderRadius: "3rem",
|
|
4767
|
+
gap: "0.25rem",
|
|
4768
|
+
shadow: "{form.field.shadow}",
|
|
4769
|
+
focusRing: {
|
|
4770
|
+
width: "{focus.ring.width}",
|
|
4771
|
+
style: "{focus.ring.style}",
|
|
4772
|
+
color: "{focus.ring.color}",
|
|
4773
|
+
offset: "{focus.ring.offset}",
|
|
4774
|
+
shadow: "{focus.ring.shadow}",
|
|
4775
|
+
},
|
|
4776
|
+
borderWidth: "1px",
|
|
4777
|
+
borderColor: "transparent",
|
|
4778
|
+
hoverBorderColor: "transparent",
|
|
4779
|
+
checkedBorderColor: "transparent",
|
|
4780
|
+
checkedHoverBorderColor: "transparent",
|
|
4781
|
+
invalidBorderColor: "{form.field.invalid.border.color}",
|
|
4782
|
+
transitionDuration: "{form.field.transition.duration}",
|
|
4783
|
+
slideDuration: "0.2s",
|
|
4784
|
+
},
|
|
4785
|
+
handle: {
|
|
4786
|
+
borderRadius: "50%",
|
|
4787
|
+
size: "1rem",
|
|
4788
|
+
},
|
|
4789
|
+
colorScheme: {
|
|
4790
|
+
light: {
|
|
4791
|
+
root: {
|
|
4792
|
+
background: "{gray.400}",
|
|
4793
|
+
disabledBackground: "{gray.300}",
|
|
4794
|
+
hoverBackground: "{gray.400}",
|
|
4795
|
+
checkedBackground: "var(--main-orange)",
|
|
4796
|
+
checkedHoverBackground: "var(--main-orange-dark)",
|
|
4797
|
+
},
|
|
4798
|
+
handle: {
|
|
4799
|
+
background: "var(--main-light)",
|
|
4800
|
+
disabledBackground: "{gray.400}",
|
|
4801
|
+
hoverBackground: "var(--main-light)",
|
|
4802
|
+
checkedBackground: "var(--main-light)",
|
|
4803
|
+
checkedHoverBackground: "var(--main-light)",
|
|
4804
|
+
},
|
|
4805
|
+
},
|
|
4806
|
+
dark: {
|
|
4807
|
+
root: {
|
|
4808
|
+
background: "{gray.400}",
|
|
4809
|
+
disabledBackground: "{gray.300}",
|
|
4810
|
+
hoverBackground: "{gray.400}",
|
|
4811
|
+
checkedBackground: "var(--main-orange)",
|
|
4812
|
+
checkedHoverBackground: "var(--main-orange-dark)",
|
|
4813
|
+
},
|
|
4814
|
+
handle: {
|
|
4815
|
+
background: "var(--main-light)",
|
|
4816
|
+
disabledBackground: "{gray.400}",
|
|
4817
|
+
hoverBackground: "var(--main-light)",
|
|
4818
|
+
checkedBackground: "var(--main-light)",
|
|
4819
|
+
checkedHoverBackground: "var(--main-light)",
|
|
4820
|
+
},
|
|
4821
|
+
},
|
|
4822
|
+
},
|
|
4823
|
+
},
|
|
4824
|
+
tooltip: {
|
|
4825
|
+
root: {
|
|
4826
|
+
maxWidth: "60rem",
|
|
4827
|
+
gutter: "0.25rem",
|
|
4828
|
+
shadow: "{overlay.popover.shadow}",
|
|
4829
|
+
padding: "0.5rem 0.75rem",
|
|
4830
|
+
borderRadius: "{overlay.popover.border.radius}",
|
|
4831
|
+
},
|
|
4832
|
+
colorScheme: {
|
|
4833
|
+
light: {
|
|
4834
|
+
root: {
|
|
4835
|
+
background: "var(--main-blue)",
|
|
4836
|
+
color: "var(--main-light)",
|
|
4837
|
+
},
|
|
4838
|
+
},
|
|
4839
|
+
dark: {
|
|
4840
|
+
root: {
|
|
4841
|
+
background: "var(--main-blue)",
|
|
4842
|
+
color: "var(--main-light)",
|
|
4843
|
+
},
|
|
4844
|
+
},
|
|
4845
|
+
},
|
|
4846
|
+
},
|
|
4847
|
+
tree: {
|
|
4848
|
+
root: {
|
|
4849
|
+
background: "transparent",
|
|
4850
|
+
color: "{content.color}",
|
|
4851
|
+
padding: "0",
|
|
4852
|
+
gap: "0.2rem",
|
|
4853
|
+
indent: "1rem",
|
|
4854
|
+
transitionDuration: "{transition.duration}",
|
|
4855
|
+
},
|
|
4856
|
+
node: {
|
|
4857
|
+
padding: "0.25rem 0.5rem",
|
|
4858
|
+
borderRadius: "{content.border.radius}",
|
|
4859
|
+
hoverBackground: "{content.hover.background}",
|
|
4860
|
+
selectedBackground: "{highlight.background}",
|
|
4861
|
+
color: "{text.color}",
|
|
4862
|
+
hoverColor: "{text.hover.color}",
|
|
4863
|
+
selectedColor: "{highlight.color}",
|
|
4864
|
+
focusRing: {
|
|
4865
|
+
width: "{focus.ring.width}",
|
|
4866
|
+
style: "{focus.ring.style}",
|
|
4867
|
+
color: "{focus.ring.color}",
|
|
4868
|
+
offset: "-1px",
|
|
4869
|
+
shadow: "{focus.ring.shadow}",
|
|
4870
|
+
},
|
|
4871
|
+
gap: "0.25rem",
|
|
4872
|
+
},
|
|
4873
|
+
nodeIcon: {
|
|
4874
|
+
color: "{text.muted.color}",
|
|
4875
|
+
hoverColor: "{text.hover.muted.color}",
|
|
4876
|
+
selectedColor: "{highlight.color}",
|
|
4877
|
+
},
|
|
4878
|
+
nodeToggleButton: {
|
|
4879
|
+
borderRadius: "0",
|
|
4880
|
+
size: "1em",
|
|
4881
|
+
hoverBackground: "{content.hover.background}",
|
|
4882
|
+
selectedHoverBackground: "{content.background}",
|
|
4883
|
+
color: "blue.700",
|
|
4884
|
+
hoverColor: "{text.hover.muted.color}",
|
|
4885
|
+
selectedHoverColor: "{primary.color}",
|
|
4886
|
+
focusRing: {
|
|
4887
|
+
width: "{focus.ring.width}",
|
|
4888
|
+
style: "{focus.ring.style}",
|
|
4889
|
+
color: "{focus.ring.color}",
|
|
4890
|
+
offset: "{focus.ring.offset}",
|
|
4891
|
+
shadow: "{focus.ring.shadow}",
|
|
4892
|
+
},
|
|
4893
|
+
},
|
|
4894
|
+
loadingIcon: {
|
|
4895
|
+
size: "2rem",
|
|
4896
|
+
},
|
|
4897
|
+
filter: {
|
|
4898
|
+
margin: "0 0 0.5rem 0",
|
|
4899
|
+
},
|
|
4900
|
+
},
|
|
4901
|
+
},
|
|
4902
|
+
});
|
|
4903
|
+
|
|
2116
4904
|
/**
|
|
2117
4905
|
* Generated bundle index. Do not edit.
|
|
2118
4906
|
*/
|
|
2119
4907
|
|
|
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 };
|
|
4908
|
+
export { ActionDirective, ActionsMenuComponent, ButtonSplitComponent, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DynamicInputValidation, EmailInputValidation, ErrorInterceptor, FeatureFlagService, GlobalFeatureFlagService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaTheme, ItemSplitDirective, LanguageService, ModalDialogComponent, OrderConstants, PaginatorComponent, Patterns, RecordPerPageComponent, RefreshTokenInterceptor, RowResumenComponent, SearchComponent, SharedService, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TermGuard, TermPipe, TermService, encryptData };
|
|
2121
4909
|
//# sourceMappingURL=intelica-library-ui.mjs.map
|