aril 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +1 -1
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +3 -3
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +1 -1
- package/esm2022/ui/chip/src/chip.component.mjs +11 -6
- package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +1 -1
- package/fesm2022/aril-theme-layout.mjs +2 -2
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/fesm2022/aril-ui-chip.mjs +10 -5
- package/fesm2022/aril-ui-chip.mjs.map +1 -1
- package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -1
- package/package.json +64 -64
- package/theme/layout/app/expandableMenu/expandable-menu.component.ts +373 -373
- package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +336 -336
|
@@ -66,7 +66,7 @@ class ChipComponent extends BaseInputComponent {
|
|
|
66
66
|
if (this.editingIndex() === -1)
|
|
67
67
|
return;
|
|
68
68
|
const currentValues = [...(this.ngControl.control.value || [])];
|
|
69
|
-
let newValue = this.editValue();
|
|
69
|
+
let newValue = this.editValue().trim();
|
|
70
70
|
if (this.dataType() === 'number') {
|
|
71
71
|
const numValue = Number(newValue);
|
|
72
72
|
if (isNaN(numValue)) {
|
|
@@ -95,19 +95,24 @@ class ChipComponent extends BaseInputComponent {
|
|
|
95
95
|
this.focusSet = false;
|
|
96
96
|
}
|
|
97
97
|
onAdd(event) {
|
|
98
|
+
const currentValues = [...(this.ngControl.value || [])];
|
|
99
|
+
const newValue = event.value;
|
|
98
100
|
if (this.dataType() === 'number') {
|
|
99
|
-
const
|
|
100
|
-
const
|
|
101
|
-
const numValue = Number(newValue);
|
|
101
|
+
const trimmed = typeof newValue === 'string' ? newValue.trim() : newValue;
|
|
102
|
+
const numValue = Number(trimmed);
|
|
102
103
|
if (isNaN(numValue)) {
|
|
103
104
|
const filteredValues = currentValues.filter((v) => v !== newValue);
|
|
104
105
|
this.ngControl.control.setValue(filteredValues);
|
|
105
106
|
}
|
|
106
107
|
else {
|
|
107
|
-
const numericValues = currentValues.map((v) => (typeof v === 'string' ? Number(v) : v));
|
|
108
|
+
const numericValues = currentValues.map((v) => (typeof v === 'string' ? Number(v.trim()) : v));
|
|
108
109
|
this.ngControl.control.setValue(numericValues);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
112
|
+
else {
|
|
113
|
+
const trimmedValues = currentValues.map((v) => (typeof v === 'string' ? v.trim() : v));
|
|
114
|
+
this.ngControl.control.setValue(trimmedValues);
|
|
115
|
+
}
|
|
111
116
|
}
|
|
112
117
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ChipComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
113
118
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: ChipComponent, isStandalone: true, selector: "aril-chip[ngModel], aril-chip[formControl], aril-chip[formControlName]", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, addOnBlur: { classPropertyName: "addOnBlur", publicName: "addOnBlur", isSignal: true, isRequired: false, transformFunction: null }, addOnTab: { classPropertyName: "addOnTab", publicName: "addOnTab", isSignal: true, isRequired: false, transformFunction: null }, dataType: { classPropertyName: "dataType", publicName: "dataType", isSignal: true, isRequired: false, transformFunction: null } }, providers: [InputErrorMessagePipe], viewQueries: [{ propertyName: "editInput", first: true, predicate: ["editInput"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.ValueAccessorDirective }], ngImport: i0, template: "<p-chips\r\n\t[class]=\"_sizeClass()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\t[addOnBlur]=\"addOnBlur()\"\r\n\t[addOnTab]=\"addOnTab()\"\r\n\t[separator]=\"separator\"\r\n\t[allowDuplicate]=\"false\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\ttooltipPosition=\"top\"\r\n\ttooltipStyleClass=\"tooltipErrorMessage\"\r\n\t(onAdd)=\"onAdd($event)\">\r\n\t<ng-template let-item pTemplate=\"item\">\r\n\t\t<ng-container *ngIf=\"editable() && editingIndex() === ngControl.control.value.indexOf(item); else displayChip\">\r\n\t\t\t<input\r\n\t\t\t\tpInputText\r\n\t\t\t\t[ngClass]=\"_sizeClass()\"\r\n\t\t\t\t[ngModel]=\"editValue()\"\r\n\t\t\t\t(ngModelChange)=\"editValue.set($event)\"\r\n\t\t\t\t(keydown)=\"onEditKeydown($event)\"\r\n\t\t\t\t(click)=\"$event.stopPropagation()\"\r\n\t\t\t\t(blur)=\"resetEditing()\"\r\n\t\t\t\t#editInput\r\n\t\t\t\tclass=\"m-0 p-1\" />\r\n\t\t</ng-container>\r\n\t\t<ng-template #displayChip>\r\n\t\t\t<div (dblclick)=\"startEditing(ngControl.control.value.indexOf(item), item)\">\r\n\t\t\t\t{{ item }}\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\t</ng-template>\r\n</p-chips>", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: ChipsModule }, { kind: "component", type: i3.Chips, selector: "p-chips", inputs: ["style", "styleClass", "disabled", "field", "placeholder", "max", "maxLength", "ariaLabel", "ariaLabelledBy", "tabindex", "inputId", "allowDuplicate", "caseSensitiveDuplication", "inputStyle", "inputStyleClass", "addOnTab", "addOnBlur", "separator", "showClear", "autofocus", "variant"], outputs: ["onAdd", "onRemove", "onFocus", "onBlur", "onChipClick", "onClear"] }, { kind: "directive", type: i4.InputText, selector: "[pInputText]", inputs: ["variant"] }, { kind: "directive", type: i5.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i6.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: InputErrorMessagePipe, name: "inputErrorMessage" }] }); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-chip.mjs","sources":["../../projects/aril/ui/chip/src/chip.component.ts","../../projects/aril/ui/chip/src/chip.component.html","../../projects/aril/ui/chip/aril-ui-chip.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport {\r\n\tAfterViewChecked,\r\n\tComponent,\r\n\tDestroyRef,\r\n\tElementRef,\r\n\tNgZone,\r\n\tViewChild,\r\n\tcomputed,\r\n\tinject,\r\n\tinput,\r\n\tsignal\r\n} from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { ChipsAddEvent, ChipsModule } from 'primeng/chips';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\ntype Size = 'sm' | 'md' | 'lg';\r\ntype DataType = 'string' | 'number';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-chip[ngModel], aril-chip[formControl], aril-chip[formControlName]',\r\n\ttemplateUrl: './chip.component.html',\r\n\timports: [\r\n\t\tReactiveFormsModule,\r\n\t\tChipsModule,\r\n\t\tTooltipModule,\r\n\t\tInputTextModule,\r\n\t\tCommonModule,\r\n\t\tFormsModule,\r\n\t\tInputErrorMessagePipe\r\n\t],\r\n\thostDirectives: [ValueAccessorDirective],\r\n\tproviders: [InputErrorMessagePipe]\r\n})\r\nexport class ChipComponent extends BaseInputComponent implements AfterViewChecked {\r\n\tplaceholder = input<string>('');\r\n\ttabindex = input<number>();\r\n\tsize = input<Size>('md');\r\n\teditable = input<boolean>(false);\r\n\taddOnBlur = input<boolean>(false);\r\n\taddOnTab = input<boolean>(false);\r\n\tdataType = input<DataType>('string');\r\n\r\n\t@ViewChild('editInput') editInput: ElementRef | null = null;\r\n\teditingIndex = signal<number>(-1);\r\n\teditValue = signal<string>('');\r\n\r\n\tseparator = /[,\\n\\r]/;\r\n\tprivate focusSet = false;\r\n\tdestroyRef = inject(DestroyRef);\r\n\r\n\tconstructor(private ngZone: NgZone) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tngAfterViewChecked(): void {\r\n\t\t// Focus the input element after view is checked and element is available\r\n\t\tif (this.editingIndex() !== -1 && this.editInput && !this.focusSet) {\r\n\t\t\tthis.focusSet = true;\r\n\t\t\t// Use NgZone.runOutsideAngular to avoid triggering change detection\r\n\t\t\tthis.ngZone.runOutsideAngular(() => {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tconst inputEl = this.editInput?.nativeElement;\r\n\t\t\t\t\tinputEl.focus();\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\t_sizeClass = computed(() => {\r\n\t\tswitch (this.size()) {\r\n\t\t\tcase 'sm':\r\n\t\t\t\treturn 'p-inputtext-sm';\r\n\t\t\tcase 'md':\r\n\t\t\t\treturn '';\r\n\t\t\tcase 'lg':\r\n\t\t\t\treturn 'p-inputtext-lg';\r\n\t\t}\r\n\t});\r\n\r\n\tstartEditing(index: number, value: string): void {\r\n\t\tif (!this.editable()) return;\r\n\t\tthis.editingIndex.set(index);\r\n\t\tthis.editValue.set(value);\r\n\t\tthis.focusSet = false;\r\n\t}\r\n\r\n\tsaveChanges(): void {\r\n\t\tif (this.editingIndex() === -1) return;\r\n\t\tconst currentValues = [...(this.ngControl.control.value || [])];\r\n\t\tlet newValue: string | number = this.editValue();\r\n\r\n\t\tif (this.dataType() === 'number') {\r\n\t\t\tconst numValue = Number(newValue);\r\n\t\t\tif (isNaN(numValue)) {\r\n\t\t\t\tthis.resetEditing();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tnewValue = numValue;\r\n\t\t}\r\n\r\n\t\tcurrentValues[this.editingIndex()] = newValue;\r\n\t\tthis.ngControl.control.setValue(currentValues);\r\n\t\tthis.resetEditing();\r\n\t}\r\n\r\n\tonEditKeydown(event: KeyboardEvent): void {\r\n\t\tif (event.key === 'Enter') {\r\n\t\t\tthis.saveChanges();\r\n\t\t} else if (event.key === 'Escape') {\r\n\t\t\tthis.resetEditing();\r\n\t\t}\r\n\t\t// Prevent event propagation for all keydown events to avoid interference\r\n\t\tevent.stopPropagation();\r\n\t}\r\n\r\n\tresetEditing(): void {\r\n\t\tthis.editingIndex.set(-1);\r\n\t\tthis.editValue.set('');\r\n\t\tthis.focusSet = false;\r\n\t}\r\n\r\n\tonAdd(event: ChipsAddEvent) {\r\n\t\tif (this.dataType() === 'number') {\r\n\t\t\tconst currentValues = [...(this.ngControl.value || [])];\r\n\t\t\tconst newValue = event.value;\r\n\t\t\tconst numValue = Number(newValue);\r\n\r\n\t\t\tif (isNaN(numValue)) {\r\n\t\t\t\tconst filteredValues = currentValues.filter((v) => v !== newValue);\r\n\t\t\t\tthis.ngControl.control.setValue(filteredValues);\r\n\t\t\t} else {\r\n\t\t\t\tconst numericValues = currentValues.map((v) => (typeof v === 'string' ? Number(v) : v));\r\n\t\t\t\tthis.ngControl.control.setValue(numericValues);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","<p-chips\r\n\t[class]=\"_sizeClass()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\t[addOnBlur]=\"addOnBlur()\"\r\n\t[addOnTab]=\"addOnTab()\"\r\n\t[separator]=\"separator\"\r\n\t[allowDuplicate]=\"false\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\ttooltipPosition=\"top\"\r\n\ttooltipStyleClass=\"tooltipErrorMessage\"\r\n\t(onAdd)=\"onAdd($event)\">\r\n\t<ng-template let-item pTemplate=\"item\">\r\n\t\t<ng-container *ngIf=\"editable() && editingIndex() === ngControl.control.value.indexOf(item); else displayChip\">\r\n\t\t\t<input\r\n\t\t\t\tpInputText\r\n\t\t\t\t[ngClass]=\"_sizeClass()\"\r\n\t\t\t\t[ngModel]=\"editValue()\"\r\n\t\t\t\t(ngModelChange)=\"editValue.set($event)\"\r\n\t\t\t\t(keydown)=\"onEditKeydown($event)\"\r\n\t\t\t\t(click)=\"$event.stopPropagation()\"\r\n\t\t\t\t(blur)=\"resetEditing()\"\r\n\t\t\t\t#editInput\r\n\t\t\t\tclass=\"m-0 p-1\" />\r\n\t\t</ng-container>\r\n\t\t<ng-template #displayChip>\r\n\t\t\t<div (dblclick)=\"startEditing(ngControl.control.value.indexOf(item), item)\">\r\n\t\t\t\t{{ item }}\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\t</ng-template>\r\n</p-chips>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAwCM,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AAiBpD,IAAA,WAAA,CAAoB,MAAc,EAAA;AACjC,QAAA,KAAK,EAAE,CAAC;QADW,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;AAhBlC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;QAChC,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAO,IAAI,CAAC,CAAC;AACzB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AAClC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAW,QAAQ,CAAC,CAAC;QAEb,IAAS,CAAA,SAAA,GAAsB,IAAI,CAAC;AAC5D,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAS,CAAC,CAAC,CAAC,CAAC;AAClC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAS,EAAE,CAAC,CAAC;QAE/B,IAAS,CAAA,SAAA,GA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AA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,aAAa,qXACb,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACf,YAAY,EACZ,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,WAAW,kPACX,qBAAqB,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKV,aAAa,EAAA,UAAA,EAAA,CAAA;kBAhBzB,SAAS;iCACG,IAAI,EAAA,QAAA,EACN,wEAAwE,EAEzE,OAAA,EAAA;wBACR,mBAAmB;wBACnB,WAAW;wBACX,aAAa;wBACb,eAAe;wBACf,YAAY;wBACZ,WAAW;wBACX,qBAAqB;AACrB,qBAAA,EAAA,cAAA,EACe,CAAC,sBAAsB,CAAC,EAC7B,SAAA,EAAA,CAAC,qBAAqB,CAAC,EAAA,QAAA,EAAA,6tCAAA,EAAA,CAAA;2EAWV,SAAS,EAAA,CAAA;sBAAhC,SAAS;uBAAC,WAAW,CAAA;;;AEjDvB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"aril-ui-chip.mjs","sources":["../../projects/aril/ui/chip/src/chip.component.ts","../../projects/aril/ui/chip/src/chip.component.html","../../projects/aril/ui/chip/aril-ui-chip.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport {\r\n\tAfterViewChecked,\r\n\tComponent,\r\n\tDestroyRef,\r\n\tElementRef,\r\n\tNgZone,\r\n\tViewChild,\r\n\tcomputed,\r\n\tinject,\r\n\tinput,\r\n\tsignal\r\n} from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { ChipsAddEvent, ChipsModule } from 'primeng/chips';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\ntype Size = 'sm' | 'md' | 'lg';\r\ntype DataType = 'string' | 'number';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-chip[ngModel], aril-chip[formControl], aril-chip[formControlName]',\r\n\ttemplateUrl: './chip.component.html',\r\n\timports: [\r\n\t\tReactiveFormsModule,\r\n\t\tChipsModule,\r\n\t\tTooltipModule,\r\n\t\tInputTextModule,\r\n\t\tCommonModule,\r\n\t\tFormsModule,\r\n\t\tInputErrorMessagePipe\r\n\t],\r\n\thostDirectives: [ValueAccessorDirective],\r\n\tproviders: [InputErrorMessagePipe]\r\n})\r\nexport class ChipComponent extends BaseInputComponent implements AfterViewChecked {\r\n\tplaceholder = input<string>('');\r\n\ttabindex = input<number>();\r\n\tsize = input<Size>('md');\r\n\teditable = input<boolean>(false);\r\n\taddOnBlur = input<boolean>(false);\r\n\taddOnTab = input<boolean>(false);\r\n\tdataType = input<DataType>('string');\r\n\r\n\t@ViewChild('editInput') editInput: ElementRef | null = null;\r\n\teditingIndex = signal<number>(-1);\r\n\teditValue = signal<string>('');\r\n\r\n\tseparator = /[,\\n\\r]/;\r\n\tprivate focusSet = false;\r\n\tdestroyRef = inject(DestroyRef);\r\n\r\n\tconstructor(private ngZone: NgZone) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tngAfterViewChecked(): void {\r\n\t\t// Focus the input element after view is checked and element is available\r\n\t\tif (this.editingIndex() !== -1 && this.editInput && !this.focusSet) {\r\n\t\t\tthis.focusSet = true;\r\n\t\t\t// Use NgZone.runOutsideAngular to avoid triggering change detection\r\n\t\t\tthis.ngZone.runOutsideAngular(() => {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tconst inputEl = this.editInput?.nativeElement;\r\n\t\t\t\t\tinputEl.focus();\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\t_sizeClass = computed(() => {\r\n\t\tswitch (this.size()) {\r\n\t\t\tcase 'sm':\r\n\t\t\t\treturn 'p-inputtext-sm';\r\n\t\t\tcase 'md':\r\n\t\t\t\treturn '';\r\n\t\t\tcase 'lg':\r\n\t\t\t\treturn 'p-inputtext-lg';\r\n\t\t}\r\n\t});\r\n\r\n\tstartEditing(index: number, value: string): void {\r\n\t\tif (!this.editable()) return;\r\n\t\tthis.editingIndex.set(index);\r\n\t\tthis.editValue.set(value);\r\n\t\tthis.focusSet = false;\r\n\t}\r\n\r\n\tsaveChanges(): void {\r\n\t\tif (this.editingIndex() === -1) return;\r\n\t\tconst currentValues = [...(this.ngControl.control.value || [])];\r\n\t\tlet newValue: string | number = this.editValue().trim();\r\n\r\n\t\tif (this.dataType() === 'number') {\r\n\t\t\tconst numValue = Number(newValue);\r\n\t\t\tif (isNaN(numValue)) {\r\n\t\t\t\tthis.resetEditing();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tnewValue = numValue;\r\n\t\t}\r\n\r\n\t\tcurrentValues[this.editingIndex()] = newValue;\r\n\t\tthis.ngControl.control.setValue(currentValues);\r\n\t\tthis.resetEditing();\r\n\t}\r\n\r\n\tonEditKeydown(event: KeyboardEvent): void {\r\n\t\tif (event.key === 'Enter') {\r\n\t\t\tthis.saveChanges();\r\n\t\t} else if (event.key === 'Escape') {\r\n\t\t\tthis.resetEditing();\r\n\t\t}\r\n\t\t// Prevent event propagation for all keydown events to avoid interference\r\n\t\tevent.stopPropagation();\r\n\t}\r\n\r\n\tresetEditing(): void {\r\n\t\tthis.editingIndex.set(-1);\r\n\t\tthis.editValue.set('');\r\n\t\tthis.focusSet = false;\r\n\t}\r\n\r\n\tonAdd(event: ChipsAddEvent) {\r\n\t\tconst currentValues = [...(this.ngControl.value || [])];\r\n\t\tconst newValue = event.value;\r\n\r\n\t\tif (this.dataType() === 'number') {\r\n\t\t\tconst trimmed = typeof newValue === 'string' ? newValue.trim() : newValue;\r\n\t\t\tconst numValue = Number(trimmed);\r\n\r\n\t\t\tif (isNaN(numValue)) {\r\n\t\t\t\tconst filteredValues = currentValues.filter((v) => v !== newValue);\r\n\t\t\t\tthis.ngControl.control.setValue(filteredValues);\r\n\t\t\t} else {\r\n\t\t\t\tconst numericValues = currentValues.map((v) => (typeof v === 'string' ? Number(v.trim()) : v));\r\n\t\t\t\tthis.ngControl.control.setValue(numericValues);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tconst trimmedValues = currentValues.map((v) => (typeof v === 'string' ? v.trim() : v));\r\n\t\t\tthis.ngControl.control.setValue(trimmedValues);\r\n\t\t}\r\n\t}\r\n}\r\n","<p-chips\r\n\t[class]=\"_sizeClass()\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\t[addOnBlur]=\"addOnBlur()\"\r\n\t[addOnTab]=\"addOnTab()\"\r\n\t[separator]=\"separator\"\r\n\t[allowDuplicate]=\"false\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\ttooltipPosition=\"top\"\r\n\ttooltipStyleClass=\"tooltipErrorMessage\"\r\n\t(onAdd)=\"onAdd($event)\">\r\n\t<ng-template let-item pTemplate=\"item\">\r\n\t\t<ng-container *ngIf=\"editable() && editingIndex() === ngControl.control.value.indexOf(item); else displayChip\">\r\n\t\t\t<input\r\n\t\t\t\tpInputText\r\n\t\t\t\t[ngClass]=\"_sizeClass()\"\r\n\t\t\t\t[ngModel]=\"editValue()\"\r\n\t\t\t\t(ngModelChange)=\"editValue.set($event)\"\r\n\t\t\t\t(keydown)=\"onEditKeydown($event)\"\r\n\t\t\t\t(click)=\"$event.stopPropagation()\"\r\n\t\t\t\t(blur)=\"resetEditing()\"\r\n\t\t\t\t#editInput\r\n\t\t\t\tclass=\"m-0 p-1\" />\r\n\t\t</ng-container>\r\n\t\t<ng-template #displayChip>\r\n\t\t\t<div (dblclick)=\"startEditing(ngControl.control.value.indexOf(item), item)\">\r\n\t\t\t\t{{ item }}\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\t</ng-template>\r\n</p-chips>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAwCM,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AAiBpD,IAAA,WAAA,CAAoB,MAAc,EAAA;AACjC,QAAA,KAAK,EAAE,CAAC;QADW,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;AAhBlC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;QAChC,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAO,IAAI,CAAC,CAAC;AACzB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AAClC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAW,QAAQ,CAAC,CAAC;QAEb,IAAS,CAAA,SAAA,GAAsB,IAAI,CAAC;AAC5D,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAS,CAAC,CAAC,CAAC,CAA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N,wEAAwE,EAEzE,OAAA,EAAA;wBACR,mBAAmB;wBACnB,WAAW;wBACX,aAAa;wBACb,eAAe;wBACf,YAAY;wBACZ,WAAW;wBACX,qBAAqB;AACrB,qBAAA,EAAA,cAAA,EACe,CAAC,sBAAsB,CAAC,EAC7B,SAAA,EAAA,CAAC,qBAAqB,CAAC,EAAA,QAAA,EAAA,6tCAAA,EAAA,CAAA;2EAWV,SAAS,EAAA,CAAA;sBAAhC,SAAS;uBAAC,WAAW,CAAA;;;AEjDvB;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-util-sync-active-tab-route.mjs","sources":["../../projects/aril/util/sync-active-tab-route/src/sync-active-tab-route.directive.ts","../../projects/aril/util/sync-active-tab-route/aril-util-sync-active-tab-route.ts"],"sourcesContent":["import { Location } from '@angular/common';\nimport { Directive, HostListener, OnDestroy, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { TabView } from 'primeng/tabview';\n\nimport { Subscription } from 'rxjs';\n\n@Directive({\n\tselector: '[syncActiveTabRoute]',\n\tstandalone: true\n})\nexport class SyncActiveTabRouteDirective implements OnInit, OnDestroy {\n\tprivate readonly subscription = new Subscription();\n\n\tconstructor(\n\t\tprivate readonly router: Router,\n\t\tprivate readonly tabView: TabView,\n\t\tprivate readonly location: Location\n\t) {}\n\n\tngOnInit() {\n\t\tthis.subscription.add(\n\t\t\tthis.router.routerState.root.queryParamMap.subscribe((params) => {\n\t\t\t\tif (params.has('activeTab')) {\n\t\t\t\t\tthis.tabView.activeIndex = Number(params.get('activeTab'));\n\t\t\t\t}\n\t\t\t})\n\t\t);\n\t}\n\n\t@HostListener('activeIndexChange', ['$event'])\n\tonTabChange(e: number) {\n\t\tthis.location.replaceState(\n\t\t\tthis.router\n\t\t\t\t.createUrlTree([], {\n\t\t\t\t\tqueryParams: { activeTab: e },\n\t\t\t\t\tqueryParamsHandling: 'merge'\n\t\t\t\t})\n\t\t\t\t.toString()\n\t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AAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,QAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;wHAqBA,WAAW,EAAA,CAAA;sBADV,YAAY;uBAAC,mBAAmB,EAAE,CAAC,QAAQ,CAAC,CAAA;;;AC/B9C;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"aril-util-sync-active-tab-route.mjs","sources":["../../projects/aril/util/sync-active-tab-route/src/sync-active-tab-route.directive.ts","../../projects/aril/util/sync-active-tab-route/aril-util-sync-active-tab-route.ts"],"sourcesContent":["import { Location } from '@angular/common';\r\nimport { Directive, HostListener, OnDestroy, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { TabView } from 'primeng/tabview';\r\n\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Directive({\r\n\tselector: '[syncActiveTabRoute]',\r\n\tstandalone: true\r\n})\r\nexport class SyncActiveTabRouteDirective implements OnInit, OnDestroy {\r\n\tprivate readonly subscription = new Subscription();\r\n\r\n\tconstructor(\r\n\t\tprivate readonly router: Router,\r\n\t\tprivate readonly tabView: TabView,\r\n\t\tprivate readonly location: Location\r\n\t) {}\r\n\r\n\tngOnInit() {\r\n\t\tthis.subscription.add(\r\n\t\t\tthis.router.routerState.root.queryParamMap.subscribe((params) => {\r\n\t\t\t\tif (params.has('activeTab')) {\r\n\t\t\t\t\tthis.tabView.activeIndex = Number(params.get('activeTab'));\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t);\r\n\t}\r\n\r\n\t@HostListener('activeIndexChange', ['$event'])\r\n\tonTabChange(e: number) {\r\n\t\tthis.location.replaceState(\r\n\t\t\tthis.router\r\n\t\t\t\t.createUrlTree([], {\r\n\t\t\t\t\tqueryParams: { activeTab: e },\r\n\t\t\t\t\tqueryParamsHandling: 'merge'\r\n\t\t\t\t})\r\n\t\t\t\t.toString()\r\n\t\t);\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.subscription.unsubscribe();\r\n\t}\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAYa,2BAA2B,CAAA;AAGvC,IAAA,WAAA,CACkB,MAAc,EACd,OAAgB,EAChB,QAAkB,EAAA;QAFlB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAO,CAAA,OAAA,GAAP,OAAO,CAAS;QAChB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;AALnB,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;KAM/C;IAEJ,QAAQ,GAAA;QACP,IAAI,CAAC,YAAY,CAAC,GAAG,CACpB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,MAAM,KAAI;AAC/D,YAAA,IAAI,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;AAC5B,gBAAA,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;aAC3D;SACD,CAAC,CACF,CAAC;KACF;AAGD,IAAA,WAAW,CAAC,CAAS,EAAA;AACpB,QAAA,IAAI,CAAC,QAAQ,CAAC,YAAY,CACzB,IAAI,CAAC,MA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esm2022/aril.mjs",
|
|
47
47
|
"default": "./fesm2022/aril.mjs"
|
|
48
48
|
},
|
|
49
|
-
"./http": {
|
|
50
|
-
"types": "./http/index.d.ts",
|
|
51
|
-
"esm2022": "./esm2022/http/aril-http.mjs",
|
|
52
|
-
"esm": "./esm2022/http/aril-http.mjs",
|
|
53
|
-
"default": "./fesm2022/aril-http.mjs"
|
|
54
|
-
},
|
|
55
49
|
"./boot": {
|
|
56
50
|
"types": "./boot/index.d.ts",
|
|
57
51
|
"esm2022": "./esm2022/boot/aril-boot.mjs",
|
|
58
52
|
"esm": "./esm2022/boot/aril-boot.mjs",
|
|
59
53
|
"default": "./fesm2022/aril-boot.mjs"
|
|
60
54
|
},
|
|
55
|
+
"./http": {
|
|
56
|
+
"types": "./http/index.d.ts",
|
|
57
|
+
"esm2022": "./esm2022/http/aril-http.mjs",
|
|
58
|
+
"esm": "./esm2022/http/aril-http.mjs",
|
|
59
|
+
"default": "./fesm2022/aril-http.mjs"
|
|
60
|
+
},
|
|
61
61
|
"./i18n": {
|
|
62
62
|
"types": "./i18n/index.d.ts",
|
|
63
63
|
"esm2022": "./esm2022/i18n/aril-i18n.mjs",
|
|
@@ -178,30 +178,24 @@
|
|
|
178
178
|
"esm": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
|
|
179
179
|
"default": "./fesm2022/aril-ui-checkbox.mjs"
|
|
180
180
|
},
|
|
181
|
-
"./ui/collapse-reorder-list": {
|
|
182
|
-
"types": "./ui/collapse-reorder-list/index.d.ts",
|
|
183
|
-
"esm2022": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
184
|
-
"esm": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
185
|
-
"default": "./fesm2022/aril-ui-collapse-reorder-list.mjs"
|
|
186
|
-
},
|
|
187
181
|
"./ui/chip": {
|
|
188
182
|
"types": "./ui/chip/index.d.ts",
|
|
189
183
|
"esm2022": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
190
184
|
"esm": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
191
185
|
"default": "./fesm2022/aril-ui-chip.mjs"
|
|
192
186
|
},
|
|
187
|
+
"./ui/collapse-reorder-list": {
|
|
188
|
+
"types": "./ui/collapse-reorder-list/index.d.ts",
|
|
189
|
+
"esm2022": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
190
|
+
"esm": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
191
|
+
"default": "./fesm2022/aril-ui-collapse-reorder-list.mjs"
|
|
192
|
+
},
|
|
193
193
|
"./ui/dxEditor": {
|
|
194
194
|
"types": "./ui/dxEditor/index.d.ts",
|
|
195
195
|
"esm2022": "./esm2022/ui/dxEditor/aril-ui-dxEditor.mjs",
|
|
196
196
|
"esm": "./esm2022/ui/dxEditor/aril-ui-dxEditor.mjs",
|
|
197
197
|
"default": "./fesm2022/aril-ui-dxEditor.mjs"
|
|
198
198
|
},
|
|
199
|
-
"./ui/field": {
|
|
200
|
-
"types": "./ui/field/index.d.ts",
|
|
201
|
-
"esm2022": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
202
|
-
"esm": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
203
|
-
"default": "./fesm2022/aril-ui-field.mjs"
|
|
204
|
-
},
|
|
205
199
|
"./ui/dxField": {
|
|
206
200
|
"types": "./ui/dxField/index.d.ts",
|
|
207
201
|
"esm2022": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
|
|
@@ -214,11 +208,11 @@
|
|
|
214
208
|
"esm": "./esm2022/ui/editor/aril-ui-editor.mjs",
|
|
215
209
|
"default": "./fesm2022/aril-ui-editor.mjs"
|
|
216
210
|
},
|
|
217
|
-
"./ui/
|
|
218
|
-
"types": "./ui/
|
|
219
|
-
"esm2022": "./esm2022/ui/
|
|
220
|
-
"esm": "./esm2022/ui/
|
|
221
|
-
"default": "./fesm2022/aril-ui-
|
|
211
|
+
"./ui/field": {
|
|
212
|
+
"types": "./ui/field/index.d.ts",
|
|
213
|
+
"esm2022": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
214
|
+
"esm": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
215
|
+
"default": "./fesm2022/aril-ui-field.mjs"
|
|
222
216
|
},
|
|
223
217
|
"./ui/form": {
|
|
224
218
|
"types": "./ui/form/index.d.ts",
|
|
@@ -226,6 +220,12 @@
|
|
|
226
220
|
"esm": "./esm2022/ui/form/aril-ui-form.mjs",
|
|
227
221
|
"default": "./fesm2022/aril-ui-form.mjs"
|
|
228
222
|
},
|
|
223
|
+
"./ui/fileUpload": {
|
|
224
|
+
"types": "./ui/fileUpload/index.d.ts",
|
|
225
|
+
"esm2022": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
226
|
+
"esm": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
227
|
+
"default": "./fesm2022/aril-ui-fileUpload.mjs"
|
|
228
|
+
},
|
|
229
229
|
"./ui/img-viewer": {
|
|
230
230
|
"types": "./ui/img-viewer/index.d.ts",
|
|
231
231
|
"esm2022": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
@@ -400,47 +400,35 @@
|
|
|
400
400
|
"esm": "./esm2022/ui/treeTable/aril-ui-treeTable.mjs",
|
|
401
401
|
"default": "./fesm2022/aril-ui-treeTable.mjs"
|
|
402
402
|
},
|
|
403
|
-
"./ui-business/assetPicker": {
|
|
404
|
-
"types": "./ui-business/assetPicker/index.d.ts",
|
|
405
|
-
"esm2022": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
406
|
-
"esm": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
407
|
-
"default": "./fesm2022/aril-ui-business-assetPicker.mjs"
|
|
408
|
-
},
|
|
409
403
|
"./ui/value": {
|
|
410
404
|
"types": "./ui/value/index.d.ts",
|
|
411
405
|
"esm2022": "./esm2022/ui/value/aril-ui-value.mjs",
|
|
412
406
|
"esm": "./esm2022/ui/value/aril-ui-value.mjs",
|
|
413
407
|
"default": "./fesm2022/aril-ui-value.mjs"
|
|
414
408
|
},
|
|
409
|
+
"./ui-business/assetPicker": {
|
|
410
|
+
"types": "./ui-business/assetPicker/index.d.ts",
|
|
411
|
+
"esm2022": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
412
|
+
"esm": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
413
|
+
"default": "./fesm2022/aril-ui-business-assetPicker.mjs"
|
|
414
|
+
},
|
|
415
415
|
"./ui-business/detailed-overlay-panel": {
|
|
416
416
|
"types": "./ui-business/detailed-overlay-panel/index.d.ts",
|
|
417
417
|
"esm2022": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
418
418
|
"esm": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
419
419
|
"default": "./fesm2022/aril-ui-business-detailed-overlay-panel.mjs"
|
|
420
420
|
},
|
|
421
|
-
"./ui-business/multiple-ref-value": {
|
|
422
|
-
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
423
|
-
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
424
|
-
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
425
|
-
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
426
|
-
},
|
|
427
|
-
"./ui-business/image-viewer": {
|
|
428
|
-
"types": "./ui-business/image-viewer/index.d.ts",
|
|
429
|
-
"esm2022": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
430
|
-
"esm": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
431
|
-
"default": "./fesm2022/aril-ui-business-image-viewer.mjs"
|
|
432
|
-
},
|
|
433
421
|
"./ui-business/enumPicker": {
|
|
434
422
|
"types": "./ui-business/enumPicker/index.d.ts",
|
|
435
423
|
"esm2022": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
436
424
|
"esm": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
437
425
|
"default": "./fesm2022/aril-ui-business-enumPicker.mjs"
|
|
438
426
|
},
|
|
439
|
-
"./ui-business/
|
|
440
|
-
"types": "./ui-business/
|
|
441
|
-
"esm2022": "./esm2022/ui-business/
|
|
442
|
-
"esm": "./esm2022/ui-business/
|
|
443
|
-
"default": "./fesm2022/aril-ui-business-
|
|
427
|
+
"./ui-business/image-viewer": {
|
|
428
|
+
"types": "./ui-business/image-viewer/index.d.ts",
|
|
429
|
+
"esm2022": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
430
|
+
"esm": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
431
|
+
"default": "./fesm2022/aril-ui-business-image-viewer.mjs"
|
|
444
432
|
},
|
|
445
433
|
"./ui-business/notification-templates-dialog": {
|
|
446
434
|
"types": "./ui-business/notification-templates-dialog/index.d.ts",
|
|
@@ -448,11 +436,17 @@
|
|
|
448
436
|
"esm": "./esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs",
|
|
449
437
|
"default": "./fesm2022/aril-ui-business-notification-templates-dialog.mjs"
|
|
450
438
|
},
|
|
451
|
-
"./ui-business/
|
|
452
|
-
"types": "./ui-business/
|
|
453
|
-
"esm2022": "./esm2022/ui-business/
|
|
454
|
-
"esm": "./esm2022/ui-business/
|
|
455
|
-
"default": "./fesm2022/aril-ui-business-
|
|
439
|
+
"./ui-business/multiple-ref-value": {
|
|
440
|
+
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
441
|
+
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
442
|
+
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
443
|
+
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
444
|
+
},
|
|
445
|
+
"./ui-business/operation-types-dialog": {
|
|
446
|
+
"types": "./ui-business/operation-types-dialog/index.d.ts",
|
|
447
|
+
"esm2022": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
448
|
+
"esm": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
449
|
+
"default": "./fesm2022/aril-ui-business-operation-types-dialog.mjs"
|
|
456
450
|
},
|
|
457
451
|
"./ui-business/ref-value": {
|
|
458
452
|
"types": "./ui-business/ref-value/index.d.ts",
|
|
@@ -466,6 +460,12 @@
|
|
|
466
460
|
"esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
467
461
|
"default": "./fesm2022/aril-ui-business-rolePicker.mjs"
|
|
468
462
|
},
|
|
463
|
+
"./ui-business/userPicker": {
|
|
464
|
+
"types": "./ui-business/userPicker/index.d.ts",
|
|
465
|
+
"esm2022": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
466
|
+
"esm": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
467
|
+
"default": "./fesm2022/aril-ui-business-userPicker.mjs"
|
|
468
|
+
},
|
|
469
469
|
"./util/block": {
|
|
470
470
|
"types": "./util/block/index.d.ts",
|
|
471
471
|
"esm2022": "./esm2022/util/block/aril-util-block.mjs",
|
|
@@ -484,12 +484,6 @@
|
|
|
484
484
|
"esm": "./esm2022/util/lib/aril-util-lib.mjs",
|
|
485
485
|
"default": "./fesm2022/aril-util-lib.mjs"
|
|
486
486
|
},
|
|
487
|
-
"./util/pub-sub": {
|
|
488
|
-
"types": "./util/pub-sub/index.d.ts",
|
|
489
|
-
"esm2022": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
490
|
-
"esm": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
491
|
-
"default": "./fesm2022/aril-util-pub-sub.mjs"
|
|
492
|
-
},
|
|
493
487
|
"./util/pipes": {
|
|
494
488
|
"types": "./util/pipes/index.d.ts",
|
|
495
489
|
"esm2022": "./esm2022/util/pipes/aril-util-pipes.mjs",
|
|
@@ -502,6 +496,12 @@
|
|
|
502
496
|
"esm": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
|
|
503
497
|
"default": "./fesm2022/aril-util-primitive-extensions.mjs"
|
|
504
498
|
},
|
|
499
|
+
"./util/pub-sub": {
|
|
500
|
+
"types": "./util/pub-sub/index.d.ts",
|
|
501
|
+
"esm2022": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
502
|
+
"esm": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
503
|
+
"default": "./fesm2022/aril-util-pub-sub.mjs"
|
|
504
|
+
},
|
|
505
505
|
"./util/sync-active-tab-route": {
|
|
506
506
|
"types": "./util/sync-active-tab-route/index.d.ts",
|
|
507
507
|
"esm2022": "./esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs",
|
|
@@ -514,6 +514,12 @@
|
|
|
514
514
|
"esm": "./esm2022/util/unwrap/aril-util-unwrap.mjs",
|
|
515
515
|
"default": "./fesm2022/aril-util-unwrap.mjs"
|
|
516
516
|
},
|
|
517
|
+
"./boot/config/api": {
|
|
518
|
+
"types": "./boot/config/api/index.d.ts",
|
|
519
|
+
"esm2022": "./esm2022/boot/config/api/aril-boot-config-api.mjs",
|
|
520
|
+
"esm": "./esm2022/boot/config/api/aril-boot-config-api.mjs",
|
|
521
|
+
"default": "./fesm2022/aril-boot-config-api.mjs"
|
|
522
|
+
},
|
|
517
523
|
"./boot/config/apps": {
|
|
518
524
|
"types": "./boot/config/apps/index.d.ts",
|
|
519
525
|
"esm2022": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
@@ -526,12 +532,6 @@
|
|
|
526
532
|
"esm": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
|
|
527
533
|
"default": "./fesm2022/aril-boot-config-plugins.mjs"
|
|
528
534
|
},
|
|
529
|
-
"./boot/config/api": {
|
|
530
|
-
"types": "./boot/config/api/index.d.ts",
|
|
531
|
-
"esm2022": "./esm2022/boot/config/api/aril-boot-config-api.mjs",
|
|
532
|
-
"esm": "./esm2022/boot/config/api/aril-boot-config-api.mjs",
|
|
533
|
-
"default": "./fesm2022/aril-boot-config-api.mjs"
|
|
534
|
-
},
|
|
535
535
|
"./boot/config/translate": {
|
|
536
536
|
"types": "./boot/config/translate/index.d.ts",
|
|
537
537
|
"esm2022": "./esm2022/boot/config/translate/aril-boot-config-translate.mjs",
|