@yuuvis/client-components 3.0.0-beta.21.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/README.md +3 -0
- package/autocomplete/README.md +3 -0
- package/common/README.md +3 -0
- package/datepicker/README.md +3 -0
- package/fesm2022/yuuvis-client-components-autocomplete.mjs +236 -0
- package/fesm2022/yuuvis-client-components-autocomplete.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-common.mjs +1724 -0
- package/fesm2022/yuuvis-client-components-common.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-datepicker.mjs +456 -0
- package/fesm2022/yuuvis-client-components-datepicker.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-list.mjs +666 -0
- package/fesm2022/yuuvis-client-components-list.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-master-details.mjs +136 -0
- package/fesm2022/yuuvis-client-components-master-details.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-overflow-hidden.mjs +109 -0
- package/fesm2022/yuuvis-client-components-overflow-hidden.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-overflow-menu.mjs +171 -0
- package/fesm2022/yuuvis-client-components-overflow-menu.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-popout.mjs +240 -0
- package/fesm2022/yuuvis-client-components-popout.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-split-view.mjs +317 -0
- package/fesm2022/yuuvis-client-components-split-view.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components-widget-grid.mjs +933 -0
- package/fesm2022/yuuvis-client-components-widget-grid.mjs.map +1 -0
- package/fesm2022/yuuvis-client-components.mjs +18 -0
- package/fesm2022/yuuvis-client-components.mjs.map +1 -0
- package/lib/assets/i18n/de.json +56 -0
- package/lib/assets/i18n/en.json +56 -0
- package/list/README.md +3 -0
- package/master-details/README.md +3 -0
- package/overflow-hidden/README.md +3 -0
- package/overflow-menu/README.md +3 -0
- package/package.json +67 -0
- package/popout/README.md +3 -0
- package/split-view/README.md +3 -0
- package/types/yuuvis-client-components-autocomplete.d.ts +89 -0
- package/types/yuuvis-client-components-common.d.ts +536 -0
- package/types/yuuvis-client-components-datepicker.d.ts +94 -0
- package/types/yuuvis-client-components-list.d.ts +380 -0
- package/types/yuuvis-client-components-master-details.d.ts +69 -0
- package/types/yuuvis-client-components-overflow-hidden.d.ts +72 -0
- package/types/yuuvis-client-components-overflow-menu.d.ts +89 -0
- package/types/yuuvis-client-components-popout.d.ts +106 -0
- package/types/yuuvis-client-components-split-view.d.ts +197 -0
- package/types/yuuvis-client-components-widget-grid.d.ts +299 -0
- package/types/yuuvis-client-components.d.ts +8 -0
- package/widget-grid/README.md +48 -0
package/README.md
ADDED
package/common/README.md
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, DestroyRef, input, viewChild, contentChild, TemplateRef, signal, effect, output, computed, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import { ENTER, COMMA } from '@angular/cdk/keycodes';
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
7
|
+
import * as i7 from '@angular/forms';
|
|
8
|
+
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
9
|
+
import * as i6 from '@angular/material/autocomplete';
|
|
10
|
+
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
11
|
+
import * as i2 from '@angular/material/chips';
|
|
12
|
+
import { MatChipsModule } from '@angular/material/chips';
|
|
13
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
14
|
+
import * as i3 from '@angular/material/icon';
|
|
15
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
16
|
+
import * as i4 from '@angular/material/input';
|
|
17
|
+
import { MatInputModule } from '@angular/material/input';
|
|
18
|
+
import * as i5 from '@angular/material/progress-spinner';
|
|
19
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
20
|
+
import { AbstractMatFormField, injectNgControl, ScrollButtonsDirective } from '@yuuvis/client-components/common';
|
|
21
|
+
import { filter, debounceTime } from 'rxjs/operators';
|
|
22
|
+
|
|
23
|
+
class AutocompleteComponent extends AbstractMatFormField {
|
|
24
|
+
#dRef = inject(DestroyRef);
|
|
25
|
+
ariaLabel = input('', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
26
|
+
matAutocomplete = viewChild.required('auto');
|
|
27
|
+
/**
|
|
28
|
+
* Template to be used for rendering selected items in multiselect (multiple="true") mode
|
|
29
|
+
*/
|
|
30
|
+
chipTemplate = contentChild('chipTemplate', { ...(ngDevMode ? { debugName: "chipTemplate" } : /* istanbul ignore next */ {}), read: TemplateRef });
|
|
31
|
+
optionTemplate = contentChild('optionTemplate', { ...(ngDevMode ? { debugName: "optionTemplate" } : /* istanbul ignore next */ {}), read: TemplateRef });
|
|
32
|
+
/**
|
|
33
|
+
* Show a loading spinner
|
|
34
|
+
*/
|
|
35
|
+
busy = input(false, ...(ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []));
|
|
36
|
+
/**
|
|
37
|
+
* Enable multiple values
|
|
38
|
+
*/
|
|
39
|
+
multiple = input(false, ...(ngDevMode ? [{ debugName: "multiple" }] : /* istanbul ignore next */ []));
|
|
40
|
+
/**
|
|
41
|
+
* Force distinct values (only applicable for multiselect)
|
|
42
|
+
*/
|
|
43
|
+
distinctValues = input(true, ...(ngDevMode ? [{ debugName: "distinctValues" }] : /* istanbul ignore next */ []));
|
|
44
|
+
/**
|
|
45
|
+
* Add user inputs to the list of values when the user leaves the
|
|
46
|
+
* control without entering (only applicable for multiselect)
|
|
47
|
+
*/
|
|
48
|
+
addOnBlur = input(false, ...(ngDevMode ? [{ debugName: "addOnBlur" }] : /* istanbul ignore next */ []));
|
|
49
|
+
/**
|
|
50
|
+
* Minimum number of characters entered to trigger suggestions
|
|
51
|
+
*/
|
|
52
|
+
minLength = input(2, ...(ngDevMode ? [{ debugName: "minLength" }] : /* istanbul ignore next */ []));
|
|
53
|
+
/**
|
|
54
|
+
* Maximum number of items when multiple is true. -1 means no limit.
|
|
55
|
+
*/
|
|
56
|
+
maxItems = input(-1, ...(ngDevMode ? [{ debugName: "maxItems" }] : /* istanbul ignore next */ []));
|
|
57
|
+
/**
|
|
58
|
+
* Setting this to `true` will not allow values that are not contained in the suggestions list. The input
|
|
59
|
+
* will be cleared on blur if no value from the list has been selected. Also values are only emitted when a
|
|
60
|
+
* list item has been selected (usually every key stroke is changing the form controls value)
|
|
61
|
+
*/
|
|
62
|
+
forceSelection = input(false, ...(ngDevMode ? [{ debugName: "forceSelection" }] : /* istanbul ignore next */ []));
|
|
63
|
+
_acValues = signal([], ...(ngDevMode ? [{ debugName: "_acValues" }] : /* istanbul ignore next */ []));
|
|
64
|
+
autocompleteValues = input([], ...(ngDevMode ? [{ debugName: "autocompleteValues" }] : /* istanbul ignore next */ []));
|
|
65
|
+
#acValueEffect = effect(() => {
|
|
66
|
+
const acv = this.multiple() && this.distinctValues()
|
|
67
|
+
? this.autocompleteValues().filter((v) => !(this.value || []).some((i) => i.label === v.label))
|
|
68
|
+
: this.autocompleteValues();
|
|
69
|
+
this._acValues.set(acv);
|
|
70
|
+
}, ...(ngDevMode ? [{ debugName: "#acValueEffect" }] : /* istanbul ignore next */ []));
|
|
71
|
+
autocompleteFnc = output();
|
|
72
|
+
acBlur = output();
|
|
73
|
+
// value = signal<AutocompleteItem[]>([]);
|
|
74
|
+
chipsInputDisabled = computed(() => this.multiple() && this.maxItems() !== -1 && this.value && this.value.length >= this.maxItems(), ...(ngDevMode ? [{ debugName: "chipsInputDisabled" }] : /* istanbul ignore next */ []));
|
|
75
|
+
chipsControl = new FormControl([]);
|
|
76
|
+
inputControl = new FormControl('', {
|
|
77
|
+
nonNullable: true
|
|
78
|
+
});
|
|
79
|
+
ngControl = injectNgControl(this);
|
|
80
|
+
displayFn(i) {
|
|
81
|
+
return i?.label;
|
|
82
|
+
}
|
|
83
|
+
#activeAutocompleteValue = signal(null, ...(ngDevMode ? [{ debugName: "#activeAutocompleteValue" }] : /* istanbul ignore next */ []));
|
|
84
|
+
acOptionSelected(event) {
|
|
85
|
+
if (this.multiple()) {
|
|
86
|
+
this.value = [...(this.value || []), event.option.value];
|
|
87
|
+
this.inputControl.setValue('');
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
this.value = event.option.value;
|
|
91
|
+
}
|
|
92
|
+
this._onChange(this.value);
|
|
93
|
+
event.option.deselect();
|
|
94
|
+
this._acValues.set([]);
|
|
95
|
+
}
|
|
96
|
+
acOptionActivated(event) {
|
|
97
|
+
if (event.option)
|
|
98
|
+
this.#activeAutocompleteValue.set(event.option.value);
|
|
99
|
+
}
|
|
100
|
+
acPanelClosed() {
|
|
101
|
+
this.#activeAutocompleteValue.set(null);
|
|
102
|
+
this._acValues.set([]);
|
|
103
|
+
}
|
|
104
|
+
// multiple selection
|
|
105
|
+
separatorKeysCodes = [ENTER, COMMA];
|
|
106
|
+
// triggered when the user presses enter or comma
|
|
107
|
+
add(event) {
|
|
108
|
+
if (this.#activeAutocompleteValue())
|
|
109
|
+
return;
|
|
110
|
+
let hasChanged = false;
|
|
111
|
+
const value = (event.value || '').trim();
|
|
112
|
+
const match = this.autocompleteValues().find((i) => i.label === value);
|
|
113
|
+
if (this.forceSelection() && match) {
|
|
114
|
+
this.value = this.multiple() ? [...(this.value || []), match] : [match];
|
|
115
|
+
hasChanged = true;
|
|
116
|
+
}
|
|
117
|
+
const isDistinct = !(this.value || []).some((i) => i.label === value);
|
|
118
|
+
if ((!this.distinctValues() || isDistinct) && value.length > 0) {
|
|
119
|
+
this.value = [...(this.value || []), { label: value, value }];
|
|
120
|
+
hasChanged = true;
|
|
121
|
+
}
|
|
122
|
+
if (this.forceSelection() && !match) {
|
|
123
|
+
this.value = (this.value || []).filter((v) => v.label !== value) || [];
|
|
124
|
+
}
|
|
125
|
+
hasChanged && this._onChange(this.value);
|
|
126
|
+
// Clear the input value
|
|
127
|
+
this.inputControl.setValue('');
|
|
128
|
+
this.matAutocomplete().showPanel = false;
|
|
129
|
+
}
|
|
130
|
+
onInputBlur() {
|
|
131
|
+
if (!this.multiple())
|
|
132
|
+
return;
|
|
133
|
+
// need to timeout because clicking on the option will trigger the blur event before the click event
|
|
134
|
+
// and the input value will be cleared before the option is selected
|
|
135
|
+
setTimeout(() => {
|
|
136
|
+
const iv = this.inputControl.value;
|
|
137
|
+
if (iv && iv.length > 0 && this.addOnBlur()) {
|
|
138
|
+
const match = this.autocompleteValues().find((i) => i.label === iv);
|
|
139
|
+
if (this.forceSelection() && match) {
|
|
140
|
+
this.value = this.multiple() ? [...(this.value || []), match] : [match];
|
|
141
|
+
this._onChange(this.value);
|
|
142
|
+
}
|
|
143
|
+
else if (!this.forceSelection()) {
|
|
144
|
+
const v = { label: iv, value: iv };
|
|
145
|
+
this.value = this.multiple() ? [...(this.value || []), v] : [v];
|
|
146
|
+
this._onChange(this.value);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
this.inputControl.setValue('');
|
|
150
|
+
this._acValues.set([]);
|
|
151
|
+
this.acBlur.emit();
|
|
152
|
+
}, 500);
|
|
153
|
+
}
|
|
154
|
+
removeItem(item) {
|
|
155
|
+
this.value = (this.value || []).filter((i) => i !== item);
|
|
156
|
+
this._onChange(this.value);
|
|
157
|
+
}
|
|
158
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
159
|
+
_onChange = () => { };
|
|
160
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
161
|
+
_onTouched = () => { };
|
|
162
|
+
writeValue(value) {
|
|
163
|
+
if (!this.multiple()) {
|
|
164
|
+
this.value = [value];
|
|
165
|
+
this.inputControl.patchValue(value, { emitEvent: false });
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
this.value = structuredClone(value);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
registerOnChange(fn) {
|
|
172
|
+
this._onChange = fn;
|
|
173
|
+
}
|
|
174
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
175
|
+
registerOnTouched(fn) {
|
|
176
|
+
this._onTouched = fn;
|
|
177
|
+
}
|
|
178
|
+
setDisabledState(isDisabled) {
|
|
179
|
+
if (isDisabled) {
|
|
180
|
+
this.inputControl.disable();
|
|
181
|
+
this.chipsControl.disable();
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
this.inputControl.enable();
|
|
185
|
+
this.chipsControl.enable();
|
|
186
|
+
}
|
|
187
|
+
this.disabled = isDisabled;
|
|
188
|
+
}
|
|
189
|
+
ngOnInit() {
|
|
190
|
+
this.inputControl.valueChanges
|
|
191
|
+
.pipe(filter((value) => !!value && value.length >= this.minLength()), debounceTime(300), takeUntilDestroyed(this.#dRef))
|
|
192
|
+
.subscribe((value) => {
|
|
193
|
+
this.autocompleteFnc.emit(value || '');
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
ngOnDestroy() {
|
|
197
|
+
super.onNgOnDestroy();
|
|
198
|
+
}
|
|
199
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AutocompleteComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
200
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AutocompleteComponent, isStandalone: true, selector: "yuv-autocomplete", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, distinctValues: { classPropertyName: "distinctValues", publicName: "distinctValues", isSignal: true, isRequired: false, transformFunction: null }, addOnBlur: { classPropertyName: "addOnBlur", publicName: "addOnBlur", isSignal: true, isRequired: false, transformFunction: null }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, maxItems: { classPropertyName: "maxItems", publicName: "maxItems", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, autocompleteValues: { classPropertyName: "autocompleteValues", publicName: "autocompleteValues", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { autocompleteFnc: "autocompleteFnc", acBlur: "acBlur" }, host: { attributes: { "attr.aria-disabled": "disabled" } }, providers: [{ provide: MatFormFieldControl, useExisting: AutocompleteComponent }], queries: [{ propertyName: "chipTemplate", first: true, predicate: ["chipTemplate"], descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "optionTemplate", first: true, predicate: ["optionTemplate"], descendants: true, read: TemplateRef, isSignal: true }], viewQueries: [{ propertyName: "matAutocomplete", first: true, predicate: ["auto"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (multiple()) {\n <mat-chip-grid yuvScrollButtons #chipGrid [attr.aria-label]=\"ariaLabel()\" [formControl]=\"chipsControl\">\n @for (v of value; track $index) {\n <mat-chip-row (removed)=\"removeItem(v)\">\n {{ v.label || v.value || v }}\n <button matChipRemove>\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n }\n <input\n [disabled]=\"!!chipsInputDisabled()\"\n type=\"text\"\n (blur)=\"onInputBlur()\"\n [placeholder]=\"placeholder || ''\"\n [formControl]=\"inputControl\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipGrid\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"\n />\n </mat-chip-grid>\n} @else {\n <input\n type=\"text\"\n matInput\n (blur)=\"onInputBlur()\"\n [placeholder]=\"placeholder || ''\"\n [attr.aria-label]=\"ariaLabel()\"\n [formControl]=\"inputControl\"\n [matAutocomplete]=\"auto\"\n />\n}\n@if (busy()) {\n <mat-spinner [diameter]=\"16\"></mat-spinner>\n}\n<mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"acOptionSelected($event)\"\n (optionActivated)=\"acOptionActivated($event)\"\n (closed)=\"acPanelClosed()\"\n [displayWith]=\"displayFn\"\n>\n @for (option of _acValues(); track option.label) {\n <mat-option [value]=\"option\">\n <ng-container *ngTemplateOutlet=\"optionTemplate() || null; context: { $implicit: option }\"></ng-container>\n @if (!optionTemplate()) {\n {{ option.label }}\n }\n </mat-option>\n }\n</mat-autocomplete>\n", styles: [":host{display:inline-flex;position:relative}:host:has(mat-chip-grid){min-width:0}:host input{background-color:transparent;border:0;width:100%;min-height:calc(var(--mdc-chip-container-height, 32px) + 4px);font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}:host mat-spinner{align-self:center;position:absolute;inset-inline-end:0}:host mat-chip-grid{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatChipsModule }, { kind: "component", type: i2.MatChipGrid, selector: "mat-chip-grid", inputs: ["disabled", "placeholder", "required", "value", "errorStateMatcher"], outputs: ["change", "valueChange"] }, { kind: "directive", type: i2.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled", "readonly", "matChipInputDisabledInteractive"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i2.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i2.MatChipRow, selector: "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", inputs: ["editable"], outputs: ["edited"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i6.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i6.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i7.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: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: ScrollButtonsDirective, selector: "[yuvScrollButtons]", inputs: ["yuvScrollButtonsAmount"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
201
|
+
}
|
|
202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AutocompleteComponent, decorators: [{
|
|
203
|
+
type: Component,
|
|
204
|
+
args: [{ selector: 'yuv-autocomplete', imports: [
|
|
205
|
+
CommonModule,
|
|
206
|
+
MatChipsModule,
|
|
207
|
+
MatIconModule,
|
|
208
|
+
MatInputModule,
|
|
209
|
+
MatProgressSpinnerModule,
|
|
210
|
+
MatAutocompleteModule,
|
|
211
|
+
ReactiveFormsModule,
|
|
212
|
+
ScrollButtonsDirective
|
|
213
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MatFormFieldControl, useExisting: AutocompleteComponent }], host: {
|
|
214
|
+
'attr.aria-disabled': 'disabled'
|
|
215
|
+
}, template: "@if (multiple()) {\n <mat-chip-grid yuvScrollButtons #chipGrid [attr.aria-label]=\"ariaLabel()\" [formControl]=\"chipsControl\">\n @for (v of value; track $index) {\n <mat-chip-row (removed)=\"removeItem(v)\">\n {{ v.label || v.value || v }}\n <button matChipRemove>\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n }\n <input\n [disabled]=\"!!chipsInputDisabled()\"\n type=\"text\"\n (blur)=\"onInputBlur()\"\n [placeholder]=\"placeholder || ''\"\n [formControl]=\"inputControl\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipGrid\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"\n />\n </mat-chip-grid>\n} @else {\n <input\n type=\"text\"\n matInput\n (blur)=\"onInputBlur()\"\n [placeholder]=\"placeholder || ''\"\n [attr.aria-label]=\"ariaLabel()\"\n [formControl]=\"inputControl\"\n [matAutocomplete]=\"auto\"\n />\n}\n@if (busy()) {\n <mat-spinner [diameter]=\"16\"></mat-spinner>\n}\n<mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"acOptionSelected($event)\"\n (optionActivated)=\"acOptionActivated($event)\"\n (closed)=\"acPanelClosed()\"\n [displayWith]=\"displayFn\"\n>\n @for (option of _acValues(); track option.label) {\n <mat-option [value]=\"option\">\n <ng-container *ngTemplateOutlet=\"optionTemplate() || null; context: { $implicit: option }\"></ng-container>\n @if (!optionTemplate()) {\n {{ option.label }}\n }\n </mat-option>\n }\n</mat-autocomplete>\n", styles: [":host{display:inline-flex;position:relative}:host:has(mat-chip-grid){min-width:0}:host input{background-color:transparent;border:0;width:100%;min-height:calc(var(--mdc-chip-container-height, 32px) + 4px);font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}:host mat-spinner{align-self:center;position:absolute;inset-inline-end:0}:host mat-chip-grid{width:100%}\n"] }]
|
|
216
|
+
}], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], matAutocomplete: [{ type: i0.ViewChild, args: ['auto', { isSignal: true }] }], chipTemplate: [{ type: i0.ContentChild, args: ['chipTemplate', { ...{ read: TemplateRef }, isSignal: true }] }], optionTemplate: [{ type: i0.ContentChild, args: ['optionTemplate', { ...{ read: TemplateRef }, isSignal: true }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], distinctValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "distinctValues", required: false }] }], addOnBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "addOnBlur", required: false }] }], minLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLength", required: false }] }], maxItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxItems", required: false }] }], forceSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceSelection", required: false }] }], autocompleteValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocompleteValues", required: false }] }], autocompleteFnc: [{ type: i0.Output, args: ["autocompleteFnc"] }], acBlur: [{ type: i0.Output, args: ["acBlur"] }] } });
|
|
217
|
+
|
|
218
|
+
class YuvAutocompleteModule {
|
|
219
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: YuvAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
220
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: YuvAutocompleteModule, imports: [AutocompleteComponent], exports: [AutocompleteComponent] });
|
|
221
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: YuvAutocompleteModule, imports: [AutocompleteComponent] });
|
|
222
|
+
}
|
|
223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: YuvAutocompleteModule, decorators: [{
|
|
224
|
+
type: NgModule,
|
|
225
|
+
args: [{
|
|
226
|
+
imports: [AutocompleteComponent],
|
|
227
|
+
exports: [AutocompleteComponent]
|
|
228
|
+
}]
|
|
229
|
+
}] });
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Generated bundle index. Do not edit.
|
|
233
|
+
*/
|
|
234
|
+
|
|
235
|
+
export { AutocompleteComponent, YuvAutocompleteModule };
|
|
236
|
+
//# sourceMappingURL=yuuvis-client-components-autocomplete.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yuuvis-client-components-autocomplete.mjs","sources":["../../../../../libs/yuuvis/client-components/autocomplete/src/lib/autocomplete.component.ts","../../../../../libs/yuuvis/client-components/autocomplete/src/lib/autocomplete.component.html","../../../../../libs/yuuvis/client-components/autocomplete/src/lib/autocomplete.module.ts","../../../../../libs/yuuvis/client-components/autocomplete/src/yuuvis-client-components-autocomplete.ts"],"sourcesContent":["import { COMMA, ENTER } from '@angular/cdk/keycodes';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n DestroyRef,\n effect,\n inject,\n input,\n OnDestroy,\n OnInit,\n output,\n signal,\n TemplateRef,\n viewChild\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { ControlValueAccessor, FormControl, ReactiveFormsModule } from '@angular/forms';\nimport {\n MatAutocomplete,\n MatAutocompleteActivatedEvent,\n MatAutocompleteModule,\n MatAutocompleteSelectedEvent\n} from '@angular/material/autocomplete';\nimport { MatChipInputEvent, MatChipsModule } from '@angular/material/chips';\nimport { MatFormFieldControl } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { AbstractMatFormField, injectNgControl, ScrollButtonsDirective } from '@yuuvis/client-components/common';\nimport { debounceTime, filter } from 'rxjs/operators';\nimport { AutocompleteItem } from './autocomplete.interface';\n\n@Component({\n selector: 'yuv-autocomplete',\n imports: [\n CommonModule,\n MatChipsModule,\n MatIconModule,\n MatInputModule,\n MatProgressSpinnerModule,\n MatAutocompleteModule,\n ReactiveFormsModule,\n ScrollButtonsDirective\n ],\n templateUrl: './autocomplete.component.html',\n styleUrl: './autocomplete.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: MatFormFieldControl, useExisting: AutocompleteComponent }],\n host: {\n 'attr.aria-disabled': 'disabled'\n }\n})\nexport class AutocompleteComponent\n extends AbstractMatFormField<AutocompleteItem[]>\n implements ControlValueAccessor, OnInit, OnDestroy\n{\n #dRef = inject(DestroyRef);\n\n ariaLabel = input<string>('');\n\n matAutocomplete = viewChild.required<MatAutocomplete>('auto');\n /**\n * Template to be used for rendering selected items in multiselect (multiple=\"true\") mode\n */\n chipTemplate = contentChild('chipTemplate', { read: TemplateRef });\n optionTemplate = contentChild('optionTemplate', { read: TemplateRef });\n\n /**\n * Show a loading spinner\n */\n busy = input<boolean>(false);\n /**\n * Enable multiple values\n */\n multiple = input<boolean>(false);\n /**\n * Force distinct values (only applicable for multiselect)\n */\n distinctValues = input<boolean>(true);\n /**\n * Add user inputs to the list of values when the user leaves the\n * control without entering (only applicable for multiselect)\n */\n addOnBlur = input<boolean>(false);\n /**\n * Minimum number of characters entered to trigger suggestions\n */\n minLength = input<number>(2);\n /**\n * Maximum number of items when multiple is true. -1 means no limit.\n */\n maxItems = input<number>(-1);\n /**\n * Setting this to `true` will not allow values that are not contained in the suggestions list. The input\n * will be cleared on blur if no value from the list has been selected. Also values are only emitted when a\n * list item has been selected (usually every key stroke is changing the form controls value)\n */\n forceSelection = input<boolean>(false);\n\n _acValues = signal<AutocompleteItem[]>([]);\n autocompleteValues = input<AutocompleteItem[]>([]);\n #acValueEffect = effect(() => {\n const acv =\n this.multiple() && this.distinctValues()\n ? this.autocompleteValues().filter((v) => !(this.value || []).some((i) => i.label === v.label))\n : this.autocompleteValues();\n this._acValues.set(acv);\n });\n autocompleteFnc = output<string>();\n acBlur = output<void>();\n\n // value = signal<AutocompleteItem[]>([]);\n chipsInputDisabled = computed(\n () => this.multiple() && this.maxItems() !== -1 && this.value && this.value.length >= this.maxItems()\n );\n chipsControl = new FormControl<AutocompleteItem[]>([]);\n inputControl = new FormControl<AutocompleteItem | string>('', {\n nonNullable: true\n });\n\n override ngControl = injectNgControl(this);\n\n displayFn(i: AutocompleteItem): string {\n return i?.label;\n }\n\n #activeAutocompleteValue = signal<AutocompleteItem | null>(null);\n\n acOptionSelected(event: MatAutocompleteSelectedEvent): void {\n if (this.multiple()) {\n this.value = [...(this.value || []), event.option.value];\n this.inputControl.setValue('');\n } else {\n this.value = event.option.value;\n }\n this._onChange(this.value);\n event.option.deselect();\n this._acValues.set([]);\n }\n\n acOptionActivated(event: MatAutocompleteActivatedEvent): void {\n if (event.option) this.#activeAutocompleteValue.set(event.option.value);\n }\n\n acPanelClosed() {\n this.#activeAutocompleteValue.set(null);\n this._acValues.set([]);\n }\n\n // multiple selection\n readonly separatorKeysCodes: number[] = [ENTER, COMMA];\n\n // triggered when the user presses enter or comma\n add(event: MatChipInputEvent): void {\n if (this.#activeAutocompleteValue()) return;\n let hasChanged = false;\n const value = (event.value || '').trim();\n const match = this.autocompleteValues().find((i) => i.label === value);\n if (this.forceSelection() && match) {\n this.value = this.multiple() ? [...(this.value || []), match] : [match];\n hasChanged = true;\n }\n\n const isDistinct = !(this.value || []).some((i) => i.label === value);\n if ((!this.distinctValues() || isDistinct) && value.length > 0) {\n this.value = [...(this.value || []), { label: value, value }];\n hasChanged = true;\n }\n\n if (this.forceSelection() && !match) {\n this.value = (this.value || []).filter((v) => v.label !== value) || [];\n }\n hasChanged && this._onChange(this.value);\n // Clear the input value\n this.inputControl.setValue('');\n this.matAutocomplete().showPanel = false;\n }\n\n onInputBlur() {\n if (!this.multiple()) return;\n // need to timeout because clicking on the option will trigger the blur event before the click event\n // and the input value will be cleared before the option is selected\n setTimeout(() => {\n const iv = this.inputControl.value as string;\n if (iv && iv.length > 0 && this.addOnBlur()) {\n const match = this.autocompleteValues().find((i) => i.label === iv);\n if (this.forceSelection() && match) {\n this.value = this.multiple() ? [...(this.value || []), match] : [match];\n this._onChange(this.value);\n } else if (!this.forceSelection()) {\n const v = { label: iv, value: iv };\n this.value = this.multiple() ? [...(this.value || []), v] : [v];\n this._onChange(this.value);\n }\n }\n this.inputControl.setValue('');\n this._acValues.set([]);\n this.acBlur.emit();\n }, 500);\n }\n\n removeItem(item: AutocompleteItem) {\n this.value = (this.value || []).filter((i) => i !== item);\n this._onChange(this.value);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n private _onChange: (value: readonly AutocompleteItem[] | null) => void = () => {};\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n private _onTouched = () => {};\n\n writeValue(value: readonly AutocompleteItem[] | AutocompleteItem): void {\n if (!this.multiple()) {\n this.value = [value as AutocompleteItem];\n this.inputControl.patchValue(value as AutocompleteItem, { emitEvent: false });\n } else {\n this.value = structuredClone(value) as AutocompleteItem[];\n }\n }\n registerOnChange(fn: (value: readonly AutocompleteItem[] | null) => void): void {\n this._onChange = fn;\n }\n // eslint-disable-next-line @typescript-eslint/ban-types\n registerOnTouched(fn: () => {}): void {\n this._onTouched = fn;\n }\n\n setDisabledState?(isDisabled: boolean) {\n if (isDisabled) {\n this.inputControl.disable();\n this.chipsControl.disable();\n } else {\n this.inputControl.enable();\n this.chipsControl.enable();\n }\n this.disabled = isDisabled;\n }\n\n ngOnInit(): void {\n this.inputControl.valueChanges\n .pipe(\n filter((value) => !!value && (value as string).length >= this.minLength()),\n debounceTime(300),\n takeUntilDestroyed(this.#dRef)\n )\n .subscribe((value) => {\n this.autocompleteFnc.emit((value as string) || '');\n });\n }\n\n ngOnDestroy(): void {\n super.onNgOnDestroy();\n }\n}\n","@if (multiple()) {\n <mat-chip-grid yuvScrollButtons #chipGrid [attr.aria-label]=\"ariaLabel()\" [formControl]=\"chipsControl\">\n @for (v of value; track $index) {\n <mat-chip-row (removed)=\"removeItem(v)\">\n {{ v.label || v.value || v }}\n <button matChipRemove>\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n }\n <input\n [disabled]=\"!!chipsInputDisabled()\"\n type=\"text\"\n (blur)=\"onInputBlur()\"\n [placeholder]=\"placeholder || ''\"\n [formControl]=\"inputControl\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipGrid\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"\n />\n </mat-chip-grid>\n} @else {\n <input\n type=\"text\"\n matInput\n (blur)=\"onInputBlur()\"\n [placeholder]=\"placeholder || ''\"\n [attr.aria-label]=\"ariaLabel()\"\n [formControl]=\"inputControl\"\n [matAutocomplete]=\"auto\"\n />\n}\n@if (busy()) {\n <mat-spinner [diameter]=\"16\"></mat-spinner>\n}\n<mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"acOptionSelected($event)\"\n (optionActivated)=\"acOptionActivated($event)\"\n (closed)=\"acPanelClosed()\"\n [displayWith]=\"displayFn\"\n>\n @for (option of _acValues(); track option.label) {\n <mat-option [value]=\"option\">\n <ng-container *ngTemplateOutlet=\"optionTemplate() || null; context: { $implicit: option }\"></ng-container>\n @if (!optionTemplate()) {\n {{ option.label }}\n }\n </mat-option>\n }\n</mat-autocomplete>\n","import { NgModule } from '@angular/core';\nimport { AutocompleteComponent } from './autocomplete.component';\n\n@NgModule({\n imports: [AutocompleteComponent],\n exports: [AutocompleteComponent]\n})\nexport class YuvAutocompleteModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAuDM,MAAO,qBACX,SAAQ,oBAAwC,CAAA;AAGhD,IAAA,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC;AAE1B,IAAA,SAAS,GAAG,KAAK,CAAS,EAAE,gFAAC;AAE7B,IAAA,eAAe,GAAG,SAAS,CAAC,QAAQ,CAAkB,MAAM,CAAC;AAC7D;;AAEG;IACH,YAAY,GAAG,YAAY,CAAC,cAAc,oFAAI,IAAI,EAAE,WAAW,EAAA,CAAG;IAClE,cAAc,GAAG,YAAY,CAAC,gBAAgB,sFAAI,IAAI,EAAE,WAAW,EAAA,CAAG;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