aril 1.0.20 → 1.0.21
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.
|
@@ -10,7 +10,6 @@ import * as i1 from "@angular/common/http";
|
|
|
10
10
|
import * as i2 from "aril/ui/lib";
|
|
11
11
|
import * as i3 from "@angular/forms";
|
|
12
12
|
import * as i4 from "primeng/autocomplete";
|
|
13
|
-
import * as i5 from "primeng/api";
|
|
14
13
|
export class RolePickerComponent extends BaseInputComponent {
|
|
15
14
|
constructor(http) {
|
|
16
15
|
super();
|
|
@@ -26,43 +25,47 @@ export class RolePickerComponent extends BaseInputComponent {
|
|
|
26
25
|
this.SelectionChanged = new EventEmitter();
|
|
27
26
|
effect(() => {
|
|
28
27
|
if (this.client())
|
|
29
|
-
this.getRoleItems()
|
|
28
|
+
this.getRoleItems().then((roleItems) => {
|
|
29
|
+
//const x: string[] = this.ngControl.value;
|
|
30
|
+
//
|
|
31
|
+
//const y: { key: string; text: string }[] = roleItems;
|
|
32
|
+
//
|
|
33
|
+
//const matched = y.filter((item) => x.includes(item.text));
|
|
34
|
+
//
|
|
35
|
+
//this.ngControl.control.setValue(matched);
|
|
36
|
+
});
|
|
30
37
|
});
|
|
31
38
|
}
|
|
32
39
|
async getRoleItems() {
|
|
33
40
|
this.roleItems = await firstValueFrom(this.http.get(this.baseUrl() + this.roleEndPointUrl() + this.client())).then((roleItems) => {
|
|
34
|
-
roleItems.
|
|
35
|
-
this.selectionItems.push(
|
|
36
|
-
key: item.id,
|
|
37
|
-
text: item.name
|
|
38
|
-
});
|
|
41
|
+
roleItems.forEach((item) => {
|
|
42
|
+
this.selectionItems.push(item.name);
|
|
39
43
|
});
|
|
40
44
|
});
|
|
45
|
+
return this.selectionItems;
|
|
41
46
|
}
|
|
42
47
|
completeMethod(event) {
|
|
43
48
|
const query = event.query;
|
|
44
49
|
this.filteredSelectionItems = this.filterSelection(query, this.selectionItems);
|
|
45
50
|
}
|
|
46
51
|
filterSelection(query, selectionItems) {
|
|
47
|
-
const filtered = this.multiple()
|
|
48
|
-
? selectionItems.filter((item) => item.text === query) ?? []
|
|
49
|
-
: [];
|
|
52
|
+
const filtered = this.multiple() ? (selectionItems.filter((item) => item === query) ?? []) : [];
|
|
50
53
|
return [
|
|
51
54
|
...new Set([
|
|
52
55
|
...filtered,
|
|
53
56
|
...selectionItems.filter((selectionItem) => {
|
|
54
|
-
return selectionItem.
|
|
57
|
+
return selectionItem.toLowerCase().indexOf(query.toLowerCase()) == 0;
|
|
55
58
|
})
|
|
56
59
|
])
|
|
57
60
|
];
|
|
58
61
|
}
|
|
59
62
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RolePickerComponent, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
60
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: RolePickerComponent, isStandalone: true, selector: "aril-role-picker[formControl], aril-role-picker[formControlName]", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, roleEndPointUrl: { classPropertyName: "roleEndPointUrl", publicName: "roleEndPointUrl", isSignal: true, isRequired: false, transformFunction: null }, client: { classPropertyName: "client", publicName: "client", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { SelectionChanged: "SelectionChanged" }, providers: [InputErrorMessagePipe], usesInheritance: true, hostDirectives: [{ directive: i2.ValueAccessorDirective }], ngImport: i0, template: "<p-autoComplete\r\n\
|
|
63
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: RolePickerComponent, isStandalone: true, selector: "aril-role-picker[formControl], aril-role-picker[formControlName]", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, roleEndPointUrl: { classPropertyName: "roleEndPointUrl", publicName: "roleEndPointUrl", isSignal: true, isRequired: false, transformFunction: null }, client: { classPropertyName: "client", publicName: "client", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { SelectionChanged: "SelectionChanged" }, providers: [InputErrorMessagePipe], usesInheritance: true, hostDirectives: [{ directive: i2.ValueAccessorDirective }], ngImport: i0, template: "<p-autoComplete\r\n\t[optionLabel]=\"undefined\"\r\n\t[optionValue]=\"undefined\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"400\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"completeMethod($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[autoHighlight]=\"true\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\r\n\tappendTo=\"body\">\r\n<!--\t<ng-template let-item pTemplate=\"item\">\r\n\t\t<div>\r\n\t\t\t<span>{{ item?.text }}</span>\r\n\t\t</div>\r\n\t</ng-template>\r\n\t-->\r\n</p-autoComplete>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i4.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "variant"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }] }); }
|
|
61
64
|
}
|
|
62
65
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RolePickerComponent, decorators: [{
|
|
63
66
|
type: Component,
|
|
64
|
-
args: [{ standalone: true, selector: 'aril-role-picker[formControl], aril-role-picker[formControlName]', imports: [ReactiveFormsModule, AutoCompleteModule], providers: [InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<p-autoComplete\r\n\
|
|
67
|
+
args: [{ standalone: true, selector: 'aril-role-picker[formControl], aril-role-picker[formControlName]', imports: [ReactiveFormsModule, AutoCompleteModule], providers: [InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<p-autoComplete\r\n\t[optionLabel]=\"undefined\"\r\n\t[optionValue]=\"undefined\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"400\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"completeMethod($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[autoHighlight]=\"true\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\r\n\tappendTo=\"body\">\r\n<!--\t<ng-template let-item pTemplate=\"item\">\r\n\t\t<div>\r\n\t\t\t<span>{{ item?.text }}</span>\r\n\t\t</div>\r\n\t</ng-template>\r\n\t-->\r\n</p-autoComplete>\r\n" }]
|
|
65
68
|
}], ctorParameters: () => [{ type: i1.HttpClient }], propDecorators: { SelectionChanged: [{
|
|
66
69
|
type: Output
|
|
67
70
|
}] } });
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZS1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXJpbC91aS1idXNpbmVzcy9yb2xlUGlja2VyL3NyYy9yb2xlLXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hcmlsL3VpLWJ1c2luZXNzL3JvbGVQaWNrZXIvc3JjL3JvbGUtcGlja2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFVLE1BQU0sRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQy9GLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXJELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBR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cImNvbXBsZXRlTWV0aG9kKCRldmVudClcIlxyXG5cdFtmb3JtQ29udHJvbF09XCJuZ0NvbnRyb2wuY29udHJvbFwiXHJcblx0W2F1dG9IaWdobGlnaHRdPVwidHJ1ZVwiXHJcblx0KG5nTW9kZWxDaGFuZ2UpPVwibmdDb250cm9sLnZpZXdUb01vZGVsVXBkYXRlKCRldmVudClcIlxyXG5cclxuXHRhcHBlbmRUbz1cImJvZHlcIj5cclxuPCEtLVx0PG5nLXRlbXBsYXRlIGxldC1pdGVtIHBUZW1wbGF0ZT1cIml0ZW1cIj5cclxuXHRcdDxkaXY+XHJcblx0XHRcdDxzcGFuPnt7IGl0ZW0/LnRleHQgfX08L3NwYW4+XHJcblx0XHQ8L2Rpdj5cclxuXHQ8L25nLXRlbXBsYXRlPlxyXG5cdC0tPlxyXG48L3AtYXV0b0NvbXBsZXRlPlxyXG4iXX0=
|
|
@@ -10,7 +10,6 @@ import * as i2 from 'aril/ui/lib';
|
|
|
10
10
|
import { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
|
|
11
11
|
import { Apps } from 'aril/boot/config/apps';
|
|
12
12
|
import * as i1 from '@angular/common/http';
|
|
13
|
-
import * as i5 from 'primeng/api';
|
|
14
13
|
|
|
15
14
|
class RolePickerComponent extends BaseInputComponent {
|
|
16
15
|
constructor(http) {
|
|
@@ -27,42 +26,46 @@ class RolePickerComponent extends BaseInputComponent {
|
|
|
27
26
|
this.SelectionChanged = new EventEmitter();
|
|
28
27
|
effect(() => {
|
|
29
28
|
if (this.client())
|
|
30
|
-
this.getRoleItems()
|
|
29
|
+
this.getRoleItems().then((roleItems) => {
|
|
30
|
+
//const x: string[] = this.ngControl.value;
|
|
31
|
+
//
|
|
32
|
+
//const y: { key: string; text: string }[] = roleItems;
|
|
33
|
+
//
|
|
34
|
+
//const matched = y.filter((item) => x.includes(item.text));
|
|
35
|
+
//
|
|
36
|
+
//this.ngControl.control.setValue(matched);
|
|
37
|
+
});
|
|
31
38
|
});
|
|
32
39
|
}
|
|
33
40
|
async getRoleItems() {
|
|
34
41
|
this.roleItems = await firstValueFrom(this.http.get(this.baseUrl() + this.roleEndPointUrl() + this.client())).then((roleItems) => {
|
|
35
|
-
roleItems.
|
|
36
|
-
this.selectionItems.push(
|
|
37
|
-
key: item.id,
|
|
38
|
-
text: item.name
|
|
39
|
-
});
|
|
42
|
+
roleItems.forEach((item) => {
|
|
43
|
+
this.selectionItems.push(item.name);
|
|
40
44
|
});
|
|
41
45
|
});
|
|
46
|
+
return this.selectionItems;
|
|
42
47
|
}
|
|
43
48
|
completeMethod(event) {
|
|
44
49
|
const query = event.query;
|
|
45
50
|
this.filteredSelectionItems = this.filterSelection(query, this.selectionItems);
|
|
46
51
|
}
|
|
47
52
|
filterSelection(query, selectionItems) {
|
|
48
|
-
const filtered = this.multiple()
|
|
49
|
-
? selectionItems.filter((item) => item.text === query) ?? []
|
|
50
|
-
: [];
|
|
53
|
+
const filtered = this.multiple() ? (selectionItems.filter((item) => item === query) ?? []) : [];
|
|
51
54
|
return [
|
|
52
55
|
...new Set([
|
|
53
56
|
...filtered,
|
|
54
57
|
...selectionItems.filter((selectionItem) => {
|
|
55
|
-
return selectionItem.
|
|
58
|
+
return selectionItem.toLowerCase().indexOf(query.toLowerCase()) == 0;
|
|
56
59
|
})
|
|
57
60
|
])
|
|
58
61
|
];
|
|
59
62
|
}
|
|
60
63
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RolePickerComponent, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
61
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: RolePickerComponent, isStandalone: true, selector: "aril-role-picker[formControl], aril-role-picker[formControlName]", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, roleEndPointUrl: { classPropertyName: "roleEndPointUrl", publicName: "roleEndPointUrl", isSignal: true, isRequired: false, transformFunction: null }, client: { classPropertyName: "client", publicName: "client", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { SelectionChanged: "SelectionChanged" }, providers: [InputErrorMessagePipe], usesInheritance: true, hostDirectives: [{ directive: i2.ValueAccessorDirective }], ngImport: i0, template: "<p-autoComplete\r\n\
|
|
64
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: RolePickerComponent, isStandalone: true, selector: "aril-role-picker[formControl], aril-role-picker[formControlName]", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, roleEndPointUrl: { classPropertyName: "roleEndPointUrl", publicName: "roleEndPointUrl", isSignal: true, isRequired: false, transformFunction: null }, client: { classPropertyName: "client", publicName: "client", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { SelectionChanged: "SelectionChanged" }, providers: [InputErrorMessagePipe], usesInheritance: true, hostDirectives: [{ directive: i2.ValueAccessorDirective }], ngImport: i0, template: "<p-autoComplete\r\n\t[optionLabel]=\"undefined\"\r\n\t[optionValue]=\"undefined\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"400\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"completeMethod($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[autoHighlight]=\"true\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\r\n\tappendTo=\"body\">\r\n<!--\t<ng-template let-item pTemplate=\"item\">\r\n\t\t<div>\r\n\t\t\t<span>{{ item?.text }}</span>\r\n\t\t</div>\r\n\t</ng-template>\r\n\t-->\r\n</p-autoComplete>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i4.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "variant"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }] }); }
|
|
62
65
|
}
|
|
63
66
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RolePickerComponent, decorators: [{
|
|
64
67
|
type: Component,
|
|
65
|
-
args: [{ standalone: true, selector: 'aril-role-picker[formControl], aril-role-picker[formControlName]', imports: [ReactiveFormsModule, AutoCompleteModule], providers: [InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<p-autoComplete\r\n\
|
|
68
|
+
args: [{ standalone: true, selector: 'aril-role-picker[formControl], aril-role-picker[formControlName]', imports: [ReactiveFormsModule, AutoCompleteModule], providers: [InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<p-autoComplete\r\n\t[optionLabel]=\"undefined\"\r\n\t[optionValue]=\"undefined\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"400\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"completeMethod($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[autoHighlight]=\"true\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\r\n\tappendTo=\"body\">\r\n<!--\t<ng-template let-item pTemplate=\"item\">\r\n\t\t<div>\r\n\t\t\t<span>{{ item?.text }}</span>\r\n\t\t</div>\r\n\t</ng-template>\r\n\t-->\r\n</p-autoComplete>\r\n" }]
|
|
66
69
|
}], ctorParameters: () => [{ type: i1.HttpClient }], propDecorators: { SelectionChanged: [{
|
|
67
70
|
type: Output
|
|
68
71
|
}] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-business-rolePicker.mjs","sources":["../../projects/aril/ui-business/rolePicker/src/role-picker.component.ts","../../projects/aril/ui-business/rolePicker/src/role-picker.component.html","../../projects/aril/ui-business/rolePicker/aril-ui-business-rolePicker.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Component, EventEmitter, Output, effect, input, signal } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { AutoCompleteModule } from 'primeng/autocomplete';\r\n\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\nimport { RoleResponseDTO, SelectBoxItem, SuggestionsDTO } from './interface';\r\nimport { Apps } from 'aril/boot/config/apps';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-role-picker[formControl], aril-role-picker[formControlName]',\r\n\ttemplateUrl: './role-picker.component.html',\r\n\timports: [ReactiveFormsModule, AutoCompleteModule],\r\n\tproviders: [InputErrorMessagePipe],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class RolePickerComponent extends BaseInputComponent {\r\n\tplaceholder = input<string>('Arama...');\r\n\tforceSelection = input<boolean>(false);\r\n\tmultiple = input<boolean>(false);\r\n\r\n\tfilteredSelectionItems!:
|
|
1
|
+
{"version":3,"file":"aril-ui-business-rolePicker.mjs","sources":["../../projects/aril/ui-business/rolePicker/src/role-picker.component.ts","../../projects/aril/ui-business/rolePicker/src/role-picker.component.html","../../projects/aril/ui-business/rolePicker/aril-ui-business-rolePicker.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Component, EventEmitter, OnInit, Output, effect, input, signal } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { AutoCompleteModule } from 'primeng/autocomplete';\r\n\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\nimport { RoleResponseDTO, SelectBoxItem, SuggestionsDTO } from './interface';\r\nimport { Apps } from 'aril/boot/config/apps';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-role-picker[formControl], aril-role-picker[formControlName]',\r\n\ttemplateUrl: './role-picker.component.html',\r\n\timports: [ReactiveFormsModule, AutoCompleteModule],\r\n\tproviders: [InputErrorMessagePipe],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class RolePickerComponent extends BaseInputComponent {\r\n\tplaceholder = input<string>('Arama...');\r\n\tforceSelection = input<boolean>(false);\r\n\tmultiple = input<boolean>(false);\r\n\r\n\tfilteredSelectionItems!: string[];\r\n\r\n\tbaseUrl = input<string | null>(API_CONFIGS.getExternalAppEndpoint(Apps.MW));\r\n\troleEndPointUrl = input<string>('/user-management/roles/by-client-reference-key?clientReferenceKey=');\r\n\tclient = input<string>('thor');\r\n\troleItems: any = [];\r\n\tselectionItems: string[] = [];\r\n\r\n\t@Output() SelectionChanged = new EventEmitter<SelectBoxItem>();\r\n\r\n\tconstructor(private http: HttpClient) {\r\n\t\tsuper();\r\n\t\teffect(() => {\r\n\t\t\tif (this.client())\r\n\t\t\t\tthis.getRoleItems().then((roleItems) => {\r\n\t\t\t\t\t//const x: string[] = this.ngControl.value;\r\n//\r\n\t\t\t\t\t//const y: { key: string; text: string }[] = roleItems;\r\n//\r\n\t\t\t\t\t//const matched = y.filter((item) => x.includes(item.text));\r\n//\r\n\t\t\t\t\t//this.ngControl.control.setValue(matched);\r\n\t\t\t\t\t\r\n\t\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tasync getRoleItems() {\r\n\t\tthis.roleItems = await firstValueFrom(\r\n\t\t\tthis.http.get<RoleResponseDTO[]>(this.baseUrl() + this.roleEndPointUrl() + this.client())\r\n\t\t).then((roleItems) => {\r\n\t\t\troleItems.forEach((item: RoleResponseDTO) => {\r\n\t\t\t\tthis.selectionItems.push(\r\n\t\t\t\t item.name\r\n\t\t\t);\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\treturn this.selectionItems;\r\n\t}\r\n\r\n\tcompleteMethod(event: any) {\r\n\t\tconst query = event.query;\r\n\r\n\t\tthis.filteredSelectionItems = this.filterSelection(query, this.selectionItems);\r\n\t}\r\n\r\n\tfilterSelection(query: string, selectionItems: string[]): string[] {\r\n\t\tconst filtered: string[] =\r\n\t\t\tthis.multiple() ? (selectionItems.filter((item) => item === query) ?? []) : [];\r\n\r\n\t\treturn [\r\n\t\t\t...new Set([\r\n\t\t\t\t...filtered,\r\n\t\t\t\t...selectionItems.filter((selectionItem) => {\r\n\t\t\t\t\treturn selectionItem.toLowerCase().indexOf(query.toLowerCase()) == 0;\r\n\t\t\t\t})\r\n\t\t\t])\r\n\t\t];\r\n\t}\r\n}\r\n","<p-autoComplete\r\n\t[optionLabel]=\"undefined\"\r\n\t[optionValue]=\"undefined\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"400\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"completeMethod($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[autoHighlight]=\"true\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\r\n\tappendTo=\"body\">\r\n<!--\t<ng-template let-item pTemplate=\"item\">\r\n\t\t<div>\r\n\t\t\t<span>{{ item?.text }}</span>\r\n\t\t</div>\r\n\t</ng-template>\r\n\t-->\r\n</p-autoComplete>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAsBM,MAAO,mBAAoB,SAAQ,kBAAkB,CAAA;AAe1D,IAAA,WAAA,CAAoB,IAAgB,EAAA;AACnC,QAAA,KAAK,EAAE,CAAC;QADW,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAY;AAdpC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,UAAU,CAAC,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACvC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAA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AAzB,MAAM;;;AEnCR;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aril",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "~17.1.0",
|
|
6
6
|
"@angular/common": "^17.1.0",
|
|
@@ -47,12 +47,6 @@
|
|
|
47
47
|
"esm": "./esm2022/boot/aril-boot.mjs",
|
|
48
48
|
"default": "./fesm2022/aril-boot.mjs"
|
|
49
49
|
},
|
|
50
|
-
"./i18n": {
|
|
51
|
-
"types": "./i18n/index.d.ts",
|
|
52
|
-
"esm2022": "./esm2022/i18n/aril-i18n.mjs",
|
|
53
|
-
"esm": "./esm2022/i18n/aril-i18n.mjs",
|
|
54
|
-
"default": "./fesm2022/aril-i18n.mjs"
|
|
55
|
-
},
|
|
56
50
|
"./http": {
|
|
57
51
|
"types": "./http/index.d.ts",
|
|
58
52
|
"esm2022": "./esm2022/http/aril-http.mjs",
|
|
@@ -65,6 +59,12 @@
|
|
|
65
59
|
"esm": "./esm2022/keycloak/aril-keycloak.mjs",
|
|
66
60
|
"default": "./fesm2022/aril-keycloak.mjs"
|
|
67
61
|
},
|
|
62
|
+
"./i18n": {
|
|
63
|
+
"types": "./i18n/index.d.ts",
|
|
64
|
+
"esm2022": "./esm2022/i18n/aril-i18n.mjs",
|
|
65
|
+
"esm": "./esm2022/i18n/aril-i18n.mjs",
|
|
66
|
+
"default": "./fesm2022/aril-i18n.mjs"
|
|
67
|
+
},
|
|
68
68
|
"./provider": {
|
|
69
69
|
"types": "./provider/index.d.ts",
|
|
70
70
|
"esm2022": "./esm2022/provider/aril-provider.mjs",
|
|
@@ -77,18 +77,18 @@
|
|
|
77
77
|
"esm": "./esm2022/theme/aril-theme.mjs",
|
|
78
78
|
"default": "./fesm2022/aril-theme.mjs"
|
|
79
79
|
},
|
|
80
|
-
"./ui": {
|
|
81
|
-
"types": "./ui/index.d.ts",
|
|
82
|
-
"esm2022": "./esm2022/ui/aril-ui.mjs",
|
|
83
|
-
"esm": "./esm2022/ui/aril-ui.mjs",
|
|
84
|
-
"default": "./fesm2022/aril-ui.mjs"
|
|
85
|
-
},
|
|
86
80
|
"./ui-business": {
|
|
87
81
|
"types": "./ui-business/index.d.ts",
|
|
88
82
|
"esm2022": "./esm2022/ui-business/aril-ui-business.mjs",
|
|
89
83
|
"esm": "./esm2022/ui-business/aril-ui-business.mjs",
|
|
90
84
|
"default": "./fesm2022/aril-ui-business.mjs"
|
|
91
85
|
},
|
|
86
|
+
"./ui": {
|
|
87
|
+
"types": "./ui/index.d.ts",
|
|
88
|
+
"esm2022": "./esm2022/ui/aril-ui.mjs",
|
|
89
|
+
"esm": "./esm2022/ui/aril-ui.mjs",
|
|
90
|
+
"default": "./fesm2022/aril-ui.mjs"
|
|
91
|
+
},
|
|
92
92
|
"./util": {
|
|
93
93
|
"types": "./util/index.d.ts",
|
|
94
94
|
"esm2022": "./esm2022/util/aril-util.mjs",
|
|
@@ -113,6 +113,54 @@
|
|
|
113
113
|
"esm": "./esm2022/theme/layout/aril-theme-layout.mjs",
|
|
114
114
|
"default": "./fesm2022/aril-theme-layout.mjs"
|
|
115
115
|
},
|
|
116
|
+
"./ui-business/assetPicker": {
|
|
117
|
+
"types": "./ui-business/assetPicker/index.d.ts",
|
|
118
|
+
"esm2022": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
119
|
+
"esm": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
120
|
+
"default": "./fesm2022/aril-ui-business-assetPicker.mjs"
|
|
121
|
+
},
|
|
122
|
+
"./ui-business/enumPicker": {
|
|
123
|
+
"types": "./ui-business/enumPicker/index.d.ts",
|
|
124
|
+
"esm2022": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
125
|
+
"esm": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
126
|
+
"default": "./fesm2022/aril-ui-business-enumPicker.mjs"
|
|
127
|
+
},
|
|
128
|
+
"./ui-business/detailed-overlay-panel": {
|
|
129
|
+
"types": "./ui-business/detailed-overlay-panel/index.d.ts",
|
|
130
|
+
"esm2022": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
131
|
+
"esm": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
132
|
+
"default": "./fesm2022/aril-ui-business-detailed-overlay-panel.mjs"
|
|
133
|
+
},
|
|
134
|
+
"./ui-business/multiple-ref-value": {
|
|
135
|
+
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
136
|
+
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
137
|
+
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
138
|
+
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
139
|
+
},
|
|
140
|
+
"./ui-business/operation-types-dialog": {
|
|
141
|
+
"types": "./ui-business/operation-types-dialog/index.d.ts",
|
|
142
|
+
"esm2022": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
143
|
+
"esm": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
144
|
+
"default": "./fesm2022/aril-ui-business-operation-types-dialog.mjs"
|
|
145
|
+
},
|
|
146
|
+
"./ui-business/ref-value": {
|
|
147
|
+
"types": "./ui-business/ref-value/index.d.ts",
|
|
148
|
+
"esm2022": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
149
|
+
"esm": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
150
|
+
"default": "./fesm2022/aril-ui-business-ref-value.mjs"
|
|
151
|
+
},
|
|
152
|
+
"./ui-business/rolePicker": {
|
|
153
|
+
"types": "./ui-business/rolePicker/index.d.ts",
|
|
154
|
+
"esm2022": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
155
|
+
"esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
156
|
+
"default": "./fesm2022/aril-ui-business-rolePicker.mjs"
|
|
157
|
+
},
|
|
158
|
+
"./ui-business/userPicker": {
|
|
159
|
+
"types": "./ui-business/userPicker/index.d.ts",
|
|
160
|
+
"esm2022": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
161
|
+
"esm": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
162
|
+
"default": "./fesm2022/aril-ui-business-userPicker.mjs"
|
|
163
|
+
},
|
|
116
164
|
"./ui/autoComplete": {
|
|
117
165
|
"types": "./ui/autoComplete/index.d.ts",
|
|
118
166
|
"esm2022": "./esm2022/ui/autoComplete/aril-ui-autoComplete.mjs",
|
|
@@ -143,18 +191,18 @@
|
|
|
143
191
|
"esm": "./esm2022/ui/charts/aril-ui-charts.mjs",
|
|
144
192
|
"default": "./fesm2022/aril-ui-charts.mjs"
|
|
145
193
|
},
|
|
146
|
-
"./ui/checkbox": {
|
|
147
|
-
"types": "./ui/checkbox/index.d.ts",
|
|
148
|
-
"esm2022": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
|
|
149
|
-
"esm": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
|
|
150
|
-
"default": "./fesm2022/aril-ui-checkbox.mjs"
|
|
151
|
-
},
|
|
152
194
|
"./ui/chip": {
|
|
153
195
|
"types": "./ui/chip/index.d.ts",
|
|
154
196
|
"esm2022": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
155
197
|
"esm": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
156
198
|
"default": "./fesm2022/aril-ui-chip.mjs"
|
|
157
199
|
},
|
|
200
|
+
"./ui/checkbox": {
|
|
201
|
+
"types": "./ui/checkbox/index.d.ts",
|
|
202
|
+
"esm2022": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
|
|
203
|
+
"esm": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
|
|
204
|
+
"default": "./fesm2022/aril-ui-checkbox.mjs"
|
|
205
|
+
},
|
|
158
206
|
"./ui/dxEditor": {
|
|
159
207
|
"types": "./ui/dxEditor/index.d.ts",
|
|
160
208
|
"esm2022": "./esm2022/ui/dxEditor/aril-ui-dxEditor.mjs",
|
|
@@ -167,18 +215,18 @@
|
|
|
167
215
|
"esm": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
|
|
168
216
|
"default": "./fesm2022/aril-ui-dxField.mjs"
|
|
169
217
|
},
|
|
170
|
-
"./ui/editor": {
|
|
171
|
-
"types": "./ui/editor/index.d.ts",
|
|
172
|
-
"esm2022": "./esm2022/ui/editor/aril-ui-editor.mjs",
|
|
173
|
-
"esm": "./esm2022/ui/editor/aril-ui-editor.mjs",
|
|
174
|
-
"default": "./fesm2022/aril-ui-editor.mjs"
|
|
175
|
-
},
|
|
176
218
|
"./ui/field": {
|
|
177
219
|
"types": "./ui/field/index.d.ts",
|
|
178
220
|
"esm2022": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
179
221
|
"esm": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
180
222
|
"default": "./fesm2022/aril-ui-field.mjs"
|
|
181
223
|
},
|
|
224
|
+
"./ui/editor": {
|
|
225
|
+
"types": "./ui/editor/index.d.ts",
|
|
226
|
+
"esm2022": "./esm2022/ui/editor/aril-ui-editor.mjs",
|
|
227
|
+
"esm": "./esm2022/ui/editor/aril-ui-editor.mjs",
|
|
228
|
+
"default": "./fesm2022/aril-ui-editor.mjs"
|
|
229
|
+
},
|
|
182
230
|
"./ui/fileUpload": {
|
|
183
231
|
"types": "./ui/fileUpload/index.d.ts",
|
|
184
232
|
"esm2022": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
@@ -191,18 +239,18 @@
|
|
|
191
239
|
"esm": "./esm2022/ui/form/aril-ui-form.mjs",
|
|
192
240
|
"default": "./fesm2022/aril-ui-form.mjs"
|
|
193
241
|
},
|
|
194
|
-
"./ui/img-viewer": {
|
|
195
|
-
"types": "./ui/img-viewer/index.d.ts",
|
|
196
|
-
"esm2022": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
197
|
-
"esm": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
198
|
-
"default": "./fesm2022/aril-ui-img-viewer.mjs"
|
|
199
|
-
},
|
|
200
242
|
"./ui/lib": {
|
|
201
243
|
"types": "./ui/lib/index.d.ts",
|
|
202
244
|
"esm2022": "./esm2022/ui/lib/aril-ui-lib.mjs",
|
|
203
245
|
"esm": "./esm2022/ui/lib/aril-ui-lib.mjs",
|
|
204
246
|
"default": "./fesm2022/aril-ui-lib.mjs"
|
|
205
247
|
},
|
|
248
|
+
"./ui/img-viewer": {
|
|
249
|
+
"types": "./ui/img-viewer/index.d.ts",
|
|
250
|
+
"esm2022": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
251
|
+
"esm": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
252
|
+
"default": "./fesm2022/aril-ui-img-viewer.mjs"
|
|
253
|
+
},
|
|
206
254
|
"./ui/loader": {
|
|
207
255
|
"types": "./ui/loader/index.d.ts",
|
|
208
256
|
"esm2022": "./esm2022/ui/loader/aril-ui-loader.mjs",
|
|
@@ -215,12 +263,6 @@
|
|
|
215
263
|
"esm": "./esm2022/ui/mask/aril-ui-mask.mjs",
|
|
216
264
|
"default": "./fesm2022/aril-ui-mask.mjs"
|
|
217
265
|
},
|
|
218
|
-
"./ui/number": {
|
|
219
|
-
"types": "./ui/number/index.d.ts",
|
|
220
|
-
"esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
221
|
-
"esm": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
222
|
-
"default": "./fesm2022/aril-ui-number.mjs"
|
|
223
|
-
},
|
|
224
266
|
"./ui/multiSelect": {
|
|
225
267
|
"types": "./ui/multiSelect/index.d.ts",
|
|
226
268
|
"esm2022": "./esm2022/ui/multiSelect/aril-ui-multiSelect.mjs",
|
|
@@ -251,6 +293,12 @@
|
|
|
251
293
|
"esm": "./esm2022/ui/password/aril-ui-password.mjs",
|
|
252
294
|
"default": "./fesm2022/aril-ui-password.mjs"
|
|
253
295
|
},
|
|
296
|
+
"./ui/number": {
|
|
297
|
+
"types": "./ui/number/index.d.ts",
|
|
298
|
+
"esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
299
|
+
"esm": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
300
|
+
"default": "./fesm2022/aril-ui-number.mjs"
|
|
301
|
+
},
|
|
254
302
|
"./ui/pdf-viewer": {
|
|
255
303
|
"types": "./ui/pdf-viewer/index.d.ts",
|
|
256
304
|
"esm2022": "./esm2022/ui/pdf-viewer/aril-ui-pdf-viewer.mjs",
|
|
@@ -287,36 +335,36 @@
|
|
|
287
335
|
"esm": "./esm2022/ui/switch/aril-ui-switch.mjs",
|
|
288
336
|
"default": "./fesm2022/aril-ui-switch.mjs"
|
|
289
337
|
},
|
|
290
|
-
"./ui/table-expand": {
|
|
291
|
-
"types": "./ui/table-expand/index.d.ts",
|
|
292
|
-
"esm2022": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
|
|
293
|
-
"esm": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
|
|
294
|
-
"default": "./fesm2022/aril-ui-table-expand.mjs"
|
|
295
|
-
},
|
|
296
338
|
"./ui/table": {
|
|
297
339
|
"types": "./ui/table/index.d.ts",
|
|
298
340
|
"esm2022": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
299
341
|
"esm": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
300
342
|
"default": "./fesm2022/aril-ui-table.mjs"
|
|
301
343
|
},
|
|
344
|
+
"./ui/table-expand": {
|
|
345
|
+
"types": "./ui/table-expand/index.d.ts",
|
|
346
|
+
"esm2022": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
|
|
347
|
+
"esm": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
|
|
348
|
+
"default": "./fesm2022/aril-ui-table-expand.mjs"
|
|
349
|
+
},
|
|
302
350
|
"./ui/tag": {
|
|
303
351
|
"types": "./ui/tag/index.d.ts",
|
|
304
352
|
"esm2022": "./esm2022/ui/tag/aril-ui-tag.mjs",
|
|
305
353
|
"esm": "./esm2022/ui/tag/aril-ui-tag.mjs",
|
|
306
354
|
"default": "./fesm2022/aril-ui-tag.mjs"
|
|
307
355
|
},
|
|
308
|
-
"./ui/tagBox": {
|
|
309
|
-
"types": "./ui/tagBox/index.d.ts",
|
|
310
|
-
"esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
311
|
-
"esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
312
|
-
"default": "./fesm2022/aril-ui-tagBox.mjs"
|
|
313
|
-
},
|
|
314
356
|
"./ui/text": {
|
|
315
357
|
"types": "./ui/text/index.d.ts",
|
|
316
358
|
"esm2022": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
317
359
|
"esm": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
318
360
|
"default": "./fesm2022/aril-ui-text.mjs"
|
|
319
361
|
},
|
|
362
|
+
"./ui/tagBox": {
|
|
363
|
+
"types": "./ui/tagBox/index.d.ts",
|
|
364
|
+
"esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
365
|
+
"esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
366
|
+
"default": "./fesm2022/aril-ui-tagBox.mjs"
|
|
367
|
+
},
|
|
320
368
|
"./ui/textArea": {
|
|
321
369
|
"types": "./ui/textArea/index.d.ts",
|
|
322
370
|
"esm2022": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
|
|
@@ -365,54 +413,6 @@
|
|
|
365
413
|
"esm": "./esm2022/ui/value/aril-ui-value.mjs",
|
|
366
414
|
"default": "./fesm2022/aril-ui-value.mjs"
|
|
367
415
|
},
|
|
368
|
-
"./ui-business/assetPicker": {
|
|
369
|
-
"types": "./ui-business/assetPicker/index.d.ts",
|
|
370
|
-
"esm2022": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
371
|
-
"esm": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
372
|
-
"default": "./fesm2022/aril-ui-business-assetPicker.mjs"
|
|
373
|
-
},
|
|
374
|
-
"./ui-business/detailed-overlay-panel": {
|
|
375
|
-
"types": "./ui-business/detailed-overlay-panel/index.d.ts",
|
|
376
|
-
"esm2022": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
377
|
-
"esm": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
378
|
-
"default": "./fesm2022/aril-ui-business-detailed-overlay-panel.mjs"
|
|
379
|
-
},
|
|
380
|
-
"./ui-business/enumPicker": {
|
|
381
|
-
"types": "./ui-business/enumPicker/index.d.ts",
|
|
382
|
-
"esm2022": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
383
|
-
"esm": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
384
|
-
"default": "./fesm2022/aril-ui-business-enumPicker.mjs"
|
|
385
|
-
},
|
|
386
|
-
"./ui-business/multiple-ref-value": {
|
|
387
|
-
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
388
|
-
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
389
|
-
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
390
|
-
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
391
|
-
},
|
|
392
|
-
"./ui-business/operation-types-dialog": {
|
|
393
|
-
"types": "./ui-business/operation-types-dialog/index.d.ts",
|
|
394
|
-
"esm2022": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
395
|
-
"esm": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
396
|
-
"default": "./fesm2022/aril-ui-business-operation-types-dialog.mjs"
|
|
397
|
-
},
|
|
398
|
-
"./ui-business/ref-value": {
|
|
399
|
-
"types": "./ui-business/ref-value/index.d.ts",
|
|
400
|
-
"esm2022": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
401
|
-
"esm": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
402
|
-
"default": "./fesm2022/aril-ui-business-ref-value.mjs"
|
|
403
|
-
},
|
|
404
|
-
"./ui-business/rolePicker": {
|
|
405
|
-
"types": "./ui-business/rolePicker/index.d.ts",
|
|
406
|
-
"esm2022": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
407
|
-
"esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
408
|
-
"default": "./fesm2022/aril-ui-business-rolePicker.mjs"
|
|
409
|
-
},
|
|
410
|
-
"./ui-business/userPicker": {
|
|
411
|
-
"types": "./ui-business/userPicker/index.d.ts",
|
|
412
|
-
"esm2022": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
413
|
-
"esm": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
414
|
-
"default": "./fesm2022/aril-ui-business-userPicker.mjs"
|
|
415
|
-
},
|
|
416
416
|
"./util/block": {
|
|
417
417
|
"types": "./util/block/index.d.ts",
|
|
418
418
|
"esm2022": "./esm2022/util/block/aril-util-block.mjs",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { EventEmitter } from '@angular/core';
|
|
3
3
|
import { BaseInputComponent } from 'aril/ui/lib';
|
|
4
|
-
import { SelectBoxItem
|
|
4
|
+
import { SelectBoxItem } from './interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "aril/ui/lib";
|
|
7
7
|
export declare class RolePickerComponent extends BaseInputComponent {
|
|
@@ -9,20 +9,17 @@ export declare class RolePickerComponent extends BaseInputComponent {
|
|
|
9
9
|
placeholder: import("@angular/core").InputSignal<string, string>;
|
|
10
10
|
forceSelection: import("@angular/core").InputSignal<boolean, boolean>;
|
|
11
11
|
multiple: import("@angular/core").InputSignal<boolean, boolean>;
|
|
12
|
-
filteredSelectionItems:
|
|
12
|
+
filteredSelectionItems: string[];
|
|
13
13
|
baseUrl: import("@angular/core").InputSignal<string | null, string | null>;
|
|
14
14
|
roleEndPointUrl: import("@angular/core").InputSignal<string, string>;
|
|
15
15
|
client: import("@angular/core").InputSignal<string, string>;
|
|
16
16
|
roleItems: any;
|
|
17
|
-
selectionItems:
|
|
18
|
-
key: string;
|
|
19
|
-
text: string;
|
|
20
|
-
}[];
|
|
17
|
+
selectionItems: string[];
|
|
21
18
|
SelectionChanged: EventEmitter<SelectBoxItem>;
|
|
22
19
|
constructor(http: HttpClient);
|
|
23
|
-
getRoleItems(): Promise<
|
|
20
|
+
getRoleItems(): Promise<string[]>;
|
|
24
21
|
completeMethod(event: any): void;
|
|
25
|
-
filterSelection(query: string, selectionItems:
|
|
22
|
+
filterSelection(query: string, selectionItems: string[]): string[];
|
|
26
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<RolePickerComponent, never>;
|
|
27
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<RolePickerComponent, "aril-role-picker[formControl], aril-role-picker[formControlName]", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "forceSelection": { "alias": "forceSelection"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "baseUrl": { "alias": "baseUrl"; "required": false; "isSignal": true; }; "roleEndPointUrl": { "alias": "roleEndPointUrl"; "required": false; "isSignal": true; }; "client": { "alias": "client"; "required": false; "isSignal": true; }; }, { "SelectionChanged": "SelectionChanged"; }, never, never, true, [{ directive: typeof i1.ValueAccessorDirective; inputs: {}; outputs: {}; }]>;
|
|
28
25
|
}
|