@wlcm/angular 17.7.53 → 17.7.54
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/button/fesm2022/wlcm-angular-button.mjs +8 -8
- package/button/fesm2022/wlcm-angular-button.mjs.map +1 -1
- package/core/fesm2022/wlcm-angular-core.mjs +25 -25
- package/core/fesm2022/wlcm-angular-core.mjs.map +1 -1
- package/datepicker/fesm2022/wlcm-angular-datepicker.mjs +66 -66
- package/datepicker/fesm2022/wlcm-angular-datepicker.mjs.map +1 -1
- package/datepicker/lib/directives/datepicker-input.base.d.ts +1 -1
- package/datepicker/lib/directives/datepicker-trigger.base.d.ts +1 -1
- package/datepicker/lib/directives/ragne/date-range-picker-input.base.d.ts +1 -1
- package/datepicker/lib/models/range/data-range-calendar.models.d.ts +1 -1
- package/filters/fesm2022/wlcm-angular-filters.mjs +14 -14
- package/filters/fesm2022/wlcm-angular-filters.mjs.map +1 -1
- package/filters/lib/models/filters-group.models.d.ts +1 -1
- package/forms/fesm2022/wlcm-angular-forms.mjs +78 -79
- package/forms/fesm2022/wlcm-angular-forms.mjs.map +1 -1
- package/forms/lib/forms/models/autocomplete.models.d.ts +1 -1
- package/forms/lib/forms/services/places.api.d.ts +0 -1
- package/package.json +1 -1
- package/phone-input/fesm2022/wlcm-angular-phone-input.mjs +18 -18
- package/phone-input/fesm2022/wlcm-angular-phone-input.mjs.map +1 -1
- package/search-field/fesm2022/wlcm-angular-search-field.mjs +8 -8
- package/search-field/fesm2022/wlcm-angular-search-field.mjs.map +1 -1
- package/stepper/fesm2022/wlcm-angular-stepper.mjs +26 -26
- package/stepper/fesm2022/wlcm-angular-stepper.mjs.map +1 -1
- package/stepper/lib/models/step.models.d.ts +1 -1
- package/stepper/lib/models/stepper.models.d.ts +1 -1
- package/table/fesm2022/wlcm-angular-table.mjs +34 -34
- package/table/fesm2022/wlcm-angular-table.mjs.map +1 -1
- package/button/esm2022/index.mjs +0 -3
- package/button/esm2022/lib/button.module.mjs +0 -16
- package/button/esm2022/lib/components/button/button.component.mjs +0 -44
- package/button/esm2022/lib/models/button.models.mjs +0 -2
- package/button/esm2022/wlcm-angular-button.mjs +0 -5
- package/core/esm2022/index.mjs +0 -17
- package/core/esm2022/lib/components/default-loader/default-loader.component.mjs +0 -12
- package/core/esm2022/lib/components/icons/calendar-icon/calendar-icon.component.mjs +0 -12
- package/core/esm2022/lib/components/icons/chevron-down-icon/chevron-down-icon.component.mjs +0 -12
- package/core/esm2022/lib/components/icons/close-icon/close-icon.component.mjs +0 -12
- package/core/esm2022/lib/components/icons/search-icon/search-icon.component.mjs +0 -12
- package/core/esm2022/lib/components/loader/loader.component.mjs +0 -32
- package/core/esm2022/lib/constants/_index.mjs +0 -3
- package/core/esm2022/lib/constants/http.constants.mjs +0 -6
- package/core/esm2022/lib/constants/icon.contants.mjs +0 -15
- package/core/esm2022/lib/constants/loader.constants.mjs +0 -7
- package/core/esm2022/lib/directives/_index.mjs +0 -2
- package/core/esm2022/lib/directives/icon.directive.mjs +0 -49
- package/core/esm2022/lib/models/_index.mjs +0 -3
- package/core/esm2022/lib/models/icon.models.mjs +0 -7
- package/core/esm2022/lib/models/option.models.mjs +0 -17
- package/core/esm2022/lib/services/scroll-detection.api.mjs +0 -39
- package/core/esm2022/lib/utils/paginated-data-emulator.utils.mjs +0 -20
- package/core/esm2022/lib/utils/stream.utils.mjs +0 -16
- package/core/esm2022/wlcm-angular-core.mjs +0 -5
- package/datepicker/esm2022/index.mjs +0 -19
- package/datepicker/esm2022/lib/components/calendar-header/calendar-header.component.mjs +0 -63
- package/datepicker/esm2022/lib/components/range/date-range-calendar-header/date-range-calendar-header.component.mjs +0 -87
- package/datepicker/esm2022/lib/components/range/date-range-picker-bottom-panel/date-range-picker-bottom-panel.component.mjs +0 -19
- package/datepicker/esm2022/lib/components/range/date-range-picker-input/date-range-picker-input.component.mjs +0 -126
- package/datepicker/esm2022/lib/components/range/double-calendar-range-picker/double-calendar-range-picker.component.mjs +0 -179
- package/datepicker/esm2022/lib/components/range/single-calendar-range-picker/single-calendar-range-picker.component.mjs +0 -95
- package/datepicker/esm2022/lib/components/single/datepicker-input-container/datepicker-input-container.component.mjs +0 -92
- package/datepicker/esm2022/lib/components/single/datepicker-panel/datepicker-panel.component.mjs +0 -33
- package/datepicker/esm2022/lib/constants/datepicker.constants.mjs +0 -23
- package/datepicker/esm2022/lib/constants/range/date-range-picker.constants.mjs +0 -6
- package/datepicker/esm2022/lib/constants/range/date-range-selection-model.constants.mjs +0 -10
- package/datepicker/esm2022/lib/constants/range/date-range-trigger-selection-model.constants.mjs +0 -10
- package/datepicker/esm2022/lib/datepicker.module.mjs +0 -33
- package/datepicker/esm2022/lib/directives/calendar.directive.mjs +0 -15
- package/datepicker/esm2022/lib/directives/datepicker-input.base.mjs +0 -103
- package/datepicker/esm2022/lib/directives/datepicker-trigger.base.mjs +0 -105
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input-end.directive.mjs +0 -81
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input-start.directive.mjs +0 -81
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input.base.mjs +0 -58
- package/datepicker/esm2022/lib/directives/ragne/left-calendar.directive.mjs +0 -51
- package/datepicker/esm2022/lib/directives/ragne/right-calendar.directive.mjs +0 -64
- package/datepicker/esm2022/lib/directives/single/datepicker-input.directive.mjs +0 -67
- package/datepicker/esm2022/lib/models/date-picker.models.mjs +0 -29
- package/datepicker/esm2022/lib/models/range/data-range-calendar.models.mjs +0 -61
- package/datepicker/esm2022/lib/models/range/date-range-picker.models.mjs +0 -30
- package/datepicker/esm2022/lib/models/range/date-range-validation.models.mjs +0 -5
- package/datepicker/esm2022/lib/utils/range/date-range-input.validators.mjs +0 -16
- package/datepicker/esm2022/lib/utils/range/date-range-picker-errors.mjs +0 -9
- package/datepicker/esm2022/wlcm-angular-datepicker.mjs +0 -5
- package/filters/esm2022/index.mjs +0 -6
- package/filters/esm2022/lib/components/filters-group/filters-group.component.mjs +0 -13
- package/filters/esm2022/lib/constants/filter.constants.mjs +0 -3
- package/filters/esm2022/lib/constants/index.mjs +0 -2
- package/filters/esm2022/lib/directives/filter.directive.mjs +0 -11
- package/filters/esm2022/lib/directives/index.mjs +0 -2
- package/filters/esm2022/lib/filters.module.mjs +0 -20
- package/filters/esm2022/lib/models/array-filter.models.mjs +0 -73
- package/filters/esm2022/lib/models/filter.models.mjs +0 -39
- package/filters/esm2022/lib/models/filters-group.models.mjs +0 -60
- package/filters/esm2022/lib/models/index.mjs +0 -4
- package/filters/esm2022/wlcm-angular-filters.mjs +0 -5
- package/forms/esm2022/index.mjs +0 -13
- package/forms/esm2022/lib/forms/components/autocomplete/autocomplete.component.mjs +0 -235
- package/forms/esm2022/lib/forms/components/checkbox/checkbox.component.mjs +0 -85
- package/forms/esm2022/lib/forms/components/checkbox-group/checkbox-group.component.mjs +0 -87
- package/forms/esm2022/lib/forms/components/error/error.component.mjs +0 -12
- package/forms/esm2022/lib/forms/components/form-field/form-field.component.mjs +0 -137
- package/forms/esm2022/lib/forms/components/index.mjs +0 -9
- package/forms/esm2022/lib/forms/components/label/label.component.mjs +0 -23
- package/forms/esm2022/lib/forms/components/partials/autocomplete-suffix/autocomplete-suffix.component.mjs +0 -19
- package/forms/esm2022/lib/forms/components/partials/index.mjs +0 -2
- package/forms/esm2022/lib/forms/components/select/select.component.mjs +0 -333
- package/forms/esm2022/lib/forms/constants/form-elements.constants.mjs +0 -5
- package/forms/esm2022/lib/forms/constants/form-errors.constants.mjs +0 -7
- package/forms/esm2022/lib/forms/constants/form-field.constants.mjs +0 -2
- package/forms/esm2022/lib/forms/constants/form-state-handlers.constants.mjs +0 -13
- package/forms/esm2022/lib/forms/constants/index.mjs +0 -6
- package/forms/esm2022/lib/forms/constants/select.constants.mjs +0 -3
- package/forms/esm2022/lib/forms/directives/autocomplete.directive.mjs +0 -64
- package/forms/esm2022/lib/forms/directives/form-field-custom-container.directive.mjs +0 -17
- package/forms/esm2022/lib/forms/directives/form-field-hint.directive.mjs +0 -15
- package/forms/esm2022/lib/forms/directives/form-field-prefix.directive.mjs +0 -22
- package/forms/esm2022/lib/forms/directives/form-field-suffix.directive.mjs +0 -14
- package/forms/esm2022/lib/forms/directives/input.directive.mjs +0 -47
- package/forms/esm2022/lib/forms/directives/select-input-binder.directive.mjs +0 -33
- package/forms/esm2022/lib/forms/forms.module.mjs +0 -64
- package/forms/esm2022/lib/forms/models/_index.mjs +0 -6
- package/forms/esm2022/lib/forms/models/autocomplete.models.mjs +0 -10
- package/forms/esm2022/lib/forms/models/form-errors.models.mjs +0 -2
- package/forms/esm2022/lib/forms/models/form.models.mjs +0 -2
- package/forms/esm2022/lib/forms/models/input.models.mjs +0 -2
- package/forms/esm2022/lib/forms/models/select.models.mjs +0 -2
- package/forms/esm2022/lib/forms/pipes/errors-mapper.pipe.mjs +0 -53
- package/forms/esm2022/lib/forms/services/form-state-handler.service.mjs +0 -19
- package/forms/esm2022/lib/forms/services/index.mjs +0 -3
- package/forms/esm2022/lib/forms/services/places.api.mjs +0 -62
- package/forms/esm2022/wlcm-angular-forms.mjs +0 -5
- package/phone-input/esm2022/index.mjs +0 -5
- package/phone-input/esm2022/lib/components/country-code-select/country-code-select.component.mjs +0 -32
- package/phone-input/esm2022/lib/components/phone-input-container/phone-input-container.component.mjs +0 -107
- package/phone-input/esm2022/lib/constants/country-code-options.constants.mjs +0 -20
- package/phone-input/esm2022/lib/constants/phone-adapter.constants.mjs +0 -3
- package/phone-input/esm2022/lib/directives/phone-input.directive.mjs +0 -155
- package/phone-input/esm2022/lib/models/country-code.models.mjs +0 -10
- package/phone-input/esm2022/lib/models/phone-adapter.models.mjs +0 -3
- package/phone-input/esm2022/lib/models/phone.models.mjs +0 -5
- package/phone-input/esm2022/lib/phone-input.module.mjs +0 -20
- package/phone-input/esm2022/lib/pipes/phone-code.pipe.mjs +0 -18
- package/phone-input/esm2022/wlcm-angular-phone-input.mjs +0 -5
- package/search-field/esm2022/index.mjs +0 -3
- package/search-field/esm2022/lib/components/search-field/search-field.component.mjs +0 -41
- package/search-field/esm2022/lib/search-field.module.mjs +0 -18
- package/search-field/esm2022/wlcm-angular-search-field.mjs +0 -5
- package/stepper/esm2022/index.mjs +0 -11
- package/stepper/esm2022/lib/components/step/step.component.mjs +0 -53
- package/stepper/esm2022/lib/components/step-header/step-header.component.mjs +0 -81
- package/stepper/esm2022/lib/components/stepper/stepper.component.mjs +0 -15
- package/stepper/esm2022/lib/components/stepper-header/stepper-header.component.mjs +0 -16
- package/stepper/esm2022/lib/constants/step.constants.mjs +0 -9
- package/stepper/esm2022/lib/constants/stepper.stepper.mjs +0 -3
- package/stepper/esm2022/lib/directives/load-on-active-step.directive.mjs +0 -51
- package/stepper/esm2022/lib/models/step.models.mjs +0 -60
- package/stepper/esm2022/lib/models/stepper.models.mjs +0 -114
- package/stepper/esm2022/lib/stepper.module.mjs +0 -34
- package/stepper/esm2022/wlcm-angular-stepper.mjs +0 -5
- package/table/esm2022/index.mjs +0 -9
- package/table/esm2022/lib/components/table/table.component.mjs +0 -79
- package/table/esm2022/lib/components/table-head/table-head.component.mjs +0 -18
- package/table/esm2022/lib/components/table-head-actions/table-head-actions.component.mjs +0 -41
- package/table/esm2022/lib/components/table-head-data/table-head-data.component.mjs +0 -12
- package/table/esm2022/lib/components/table-row/table-row.component.mjs +0 -87
- package/table/esm2022/lib/components/table-row-actions/table-row-actions.component.mjs +0 -12
- package/table/esm2022/lib/components/table-row-data/table-row-data.component.mjs +0 -12
- package/table/esm2022/lib/components/table-row-spacer/table-row-spacer.component.mjs +0 -12
- package/table/esm2022/lib/constants/table-row.constants.mjs +0 -3
- package/table/esm2022/lib/constants/table.constants.mjs +0 -5
- package/table/esm2022/lib/directives/scrollable-table-container.directive.mjs +0 -46
- package/table/esm2022/lib/models/table-config-manager.models.mjs +0 -18
- package/table/esm2022/lib/models/table-row.models.mjs +0 -2
- package/table/esm2022/lib/models/table-selection-model.mjs +0 -48
- package/table/esm2022/lib/models/table.models.mjs +0 -2
- package/table/esm2022/lib/pipes/table-row-injector.pipe.mjs +0 -24
- package/table/esm2022/lib/table.module.mjs +0 -38
- package/table/esm2022/lib/utils/table-errors.utils.mjs +0 -6
- package/table/esm2022/wlcm-angular-table.mjs +0 -5
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Injectable, InjectionToken, inject, Directive, Inject, Pipe, HostListener, forwardRef, ChangeDetectorRef, HostBinding, ViewChild, ContentChild, Input, Optional, EventEmitter, NgZone, Output, Host, input, output, runInInjectionContext, ElementRef, Injector, contentChildren, computed, signal, effect, viewChildren, NgModule } from '@angular/core';
|
|
3
3
|
import { __decorate, __metadata } from 'tslib';
|
|
4
|
-
import * as
|
|
5
|
-
import { Validators, NgControl, ControlContainer, FormControl, NG_VALUE_ACCESSOR, NG_VALIDATORS
|
|
4
|
+
import * as i3 from '@angular/forms';
|
|
5
|
+
import { Validators, NgControl, ControlContainer, FormControl, ReactiveFormsModule, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
|
|
6
6
|
import * as i1 from '@angular/common';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
import { Subject, Observable, takeUntil, merge, fromEvent, observeOn, asyncScheduler, BehaviorSubject, EMPTY, switchMap, first, take, tap, concatMap, map, filter, timer, of } from 'rxjs';
|
|
9
|
-
import * as i1$
|
|
9
|
+
import * as i1$2 from '@wlcm/angular/core';
|
|
10
10
|
import { WlcmAutocompleteOption, DEFAULT_QUERY_PARAMS, WlcmIconName, WlcmIconDirective, WlcmLoaderComponent, ScrollDetectionApi } from '@wlcm/angular/core';
|
|
11
11
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
12
|
-
import * as i4
|
|
13
|
-
import { MatOption,
|
|
14
|
-
import * as
|
|
15
|
-
import { MatAutocomplete,
|
|
12
|
+
import * as i4 from '@angular/material/select';
|
|
13
|
+
import { MatOption, MatSelectModule, MatSelect, MAT_SELECT_CONFIG } from '@angular/material/select';
|
|
14
|
+
import * as i2 from '@angular/material/autocomplete';
|
|
15
|
+
import { MatAutocomplete, MatAutocompleteModule, MatAutocompleteTrigger, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS } from '@angular/material/autocomplete';
|
|
16
16
|
import { RxLet } from '@rx-angular/template/let';
|
|
17
17
|
import { cloneDeep, mergeWith } from 'lodash-es';
|
|
18
18
|
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
19
|
-
import * as
|
|
20
|
-
import * as i1$2 from '@angular/material/checkbox';
|
|
19
|
+
import * as i1$1 from '@angular/material/checkbox';
|
|
21
20
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
22
21
|
import { toObservable } from '@angular/core/rxjs-interop';
|
|
23
22
|
import { MatRadioModule, MAT_RADIO_DEFAULT_OPTIONS } from '@angular/material/radio';
|
|
24
23
|
|
|
25
24
|
class WlcmErrorComponent {
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: WlcmErrorComponent, isStandalone: true, selector: "wlcm-error", host: { classAttribute: "wlcm-error" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28
27
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmErrorComponent, decorators: [{
|
|
30
29
|
type: Component,
|
|
31
30
|
args: [{ selector: 'wlcm-error', standalone: true, imports: [CommonModule], host: { class: 'wlcm-error' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
32
31
|
}] });
|
|
@@ -39,10 +38,10 @@ class FormStateHandlerService {
|
|
|
39
38
|
updateFormState() {
|
|
40
39
|
this._stateChanges$.next();
|
|
41
40
|
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
43
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FormStateHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
42
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FormStateHandlerService, providedIn: 'root' }); }
|
|
44
43
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FormStateHandlerService, decorators: [{
|
|
46
45
|
type: Injectable,
|
|
47
46
|
args: [{ providedIn: 'root' }]
|
|
48
47
|
}] });
|
|
@@ -100,17 +99,17 @@ class WlcmDefaultPlacesApi {
|
|
|
100
99
|
get autocompleteService() {
|
|
101
100
|
return this._autocompleteService;
|
|
102
101
|
}
|
|
103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
104
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmDefaultPlacesApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
103
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmDefaultPlacesApi }); }
|
|
105
104
|
}
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmDefaultPlacesApi, decorators: [{
|
|
107
106
|
type: Injectable
|
|
108
107
|
}], ctorParameters: () => [] });
|
|
109
108
|
class WlcmPlacesApi {
|
|
110
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
111
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
109
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmPlacesApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
110
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmPlacesApi, providedIn: 'root', useClass: WlcmDefaultPlacesApi }); }
|
|
112
111
|
}
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmPlacesApi, decorators: [{
|
|
114
113
|
type: Injectable,
|
|
115
114
|
args: [{
|
|
116
115
|
providedIn: 'root',
|
|
@@ -133,10 +132,10 @@ class WlcmFormFieldCustomContainerDirective {
|
|
|
133
132
|
constructor(elementRef) {
|
|
134
133
|
this.elementRef = elementRef;
|
|
135
134
|
}
|
|
136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
137
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
135
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldCustomContainerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
136
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: WlcmFormFieldCustomContainerDirective, isStandalone: true, selector: "[wlcmFormFieldCustomContainer]", ngImport: i0 }); }
|
|
138
137
|
}
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldCustomContainerDirective, decorators: [{
|
|
140
139
|
type: Directive,
|
|
141
140
|
args: [{
|
|
142
141
|
selector: '[wlcmFormFieldCustomContainer]',
|
|
@@ -175,10 +174,10 @@ class ErrorsMapperPipe {
|
|
|
175
174
|
this.changeDetectorRef.markForCheck();
|
|
176
175
|
});
|
|
177
176
|
}
|
|
178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
179
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ErrorsMapperPipe, deps: [{ token: i0.ChangeDetectorRef }, { token: WLCM_ERRORS }, { token: WLCM_PRIORITY_ERRORS }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
178
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: ErrorsMapperPipe, isStandalone: true, name: "errorsMapper", pure: false }); }
|
|
180
179
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ErrorsMapperPipe, decorators: [{
|
|
182
181
|
type: Pipe,
|
|
183
182
|
args: [{
|
|
184
183
|
name: 'errorsMapper',
|
|
@@ -199,10 +198,10 @@ class WlcmFormFieldPrefixDirective {
|
|
|
199
198
|
event.stopPropagation();
|
|
200
199
|
};
|
|
201
200
|
}
|
|
202
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
203
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
202
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: WlcmFormFieldPrefixDirective, isStandalone: true, selector: "[wlcmFormFieldPrefix]", host: { listeners: { "click": "handlerClick($event)" } }, ngImport: i0 }); }
|
|
204
203
|
}
|
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldPrefixDirective, decorators: [{
|
|
206
205
|
type: Directive,
|
|
207
206
|
args: [{
|
|
208
207
|
selector: '[wlcmFormFieldPrefix]',
|
|
@@ -214,10 +213,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
214
213
|
}] } });
|
|
215
214
|
|
|
216
215
|
class WlcmFormFieldSuffixDirective {
|
|
217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
218
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
217
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: WlcmFormFieldSuffixDirective, isStandalone: true, selector: "[wlcmFormFieldSuffix]", ngImport: i0 }); }
|
|
219
218
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldSuffixDirective, decorators: [{
|
|
221
220
|
type: Directive,
|
|
222
221
|
args: [{
|
|
223
222
|
selector: '[wlcmFormFieldSuffix]',
|
|
@@ -285,8 +284,8 @@ let WlcmFormFieldComponent = class WlcmFormFieldComponent {
|
|
|
285
284
|
}
|
|
286
285
|
return events;
|
|
287
286
|
}
|
|
288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
289
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
287
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldComponent, deps: [{ token: WLCM_FORM_CONTROL, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
288
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: WlcmFormFieldComponent, isStandalone: true, selector: "wlcm-form-field", inputs: { displayErrorMessages: "displayErrorMessages" }, host: { properties: { "class.wlcm-field-focused": "this.isFocused", "class.wlcm-field-required": "this.isRequired", "class.wlcm-field-invalid": "this.isInvalid", "class.wlcm-field-touched": "this.isTouched", "class.wlcm-field-disabled": "this.isDisabled" }, classAttribute: "wlcm-form-field" }, providers: [
|
|
290
289
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
291
290
|
{ provide: WLCM_FORM_FIELD, useExisting: forwardRef(() => WlcmFormFieldComponent) },
|
|
292
291
|
], queries: [{ propertyName: "ngControl", first: true, predicate: NgControl, descendants: true }, { propertyName: "controlContainer", first: true, predicate: ControlContainer, descendants: true }, { propertyName: "_inputRef", first: true, predicate: WLCM_INPUT, descendants: true }, { propertyName: "prefix", first: true, predicate: WlcmFormFieldPrefixDirective, descendants: true }, { propertyName: "suffix", first: true, predicate: WlcmFormFieldSuffixDirective, descendants: true }, { propertyName: "customContainer", first: true, predicate: WlcmFormFieldCustomContainerDirective, descendants: true }], viewQueries: [{ propertyName: "defaultContainer", first: true, predicate: ["defaultContainer"], descendants: true }], ngImport: i0, template: "<ng-content select=\"wlcm-label\"></ng-content>\n\n<ng-content select=\"[wlcmFormFieldCustomContainer]\"></ng-content>\n\n<div\n class=\"wlcm-field-container\"\n (click)=\"focus()\"\n #defaultContainer\n *ngIf=\"!customContainer\"\n>\n <div class=\"wlcm-field-prefix\" [class.contains-children]=\"prefix\">\n <ng-content select=\"[wlcmFormFieldPrefix]\"></ng-content>\n </div>\n\n <ng-content select=\"[wlcmInput]\"></ng-content>\n\n <div class=\"wlcm-field-suffix\" [class.contains-children]=\"suffix\">\n <ng-content select=\"[wlcmFormFieldSuffix]\"></ng-content>\n </div>\n</div>\n\n<ng-content select=\"[wlcmFormFieldHint]\"></ng-content>\n\n<div class=\"wlcm-field-error-container\" *ngIf=\"control && displayErrorMessages\">\n <wlcm-error>{{ $any(control) | errorsMapper }}</wlcm-error>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WlcmErrorComponent, selector: "wlcm-error" }, { kind: "pipe", type: ErrorsMapperPipe, name: "errorsMapper" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -295,7 +294,7 @@ WlcmFormFieldComponent = __decorate([
|
|
|
295
294
|
UntilDestroy(),
|
|
296
295
|
__metadata("design:paramtypes", [Object, ChangeDetectorRef])
|
|
297
296
|
], WlcmFormFieldComponent);
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldComponent, decorators: [{
|
|
299
298
|
type: Component,
|
|
300
299
|
args: [{ selector: 'wlcm-form-field', standalone: true, imports: [CommonModule, WlcmErrorComponent, ErrorsMapperPipe], host: { class: 'wlcm-form-field' }, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
301
300
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
@@ -360,8 +359,8 @@ class WlcmInputDirective {
|
|
|
360
359
|
element.classList.add(WLCM_FORM_FIELD_INPUT_CLASS);
|
|
361
360
|
}
|
|
362
361
|
}
|
|
363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
364
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
362
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmInputDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
363
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: WlcmInputDirective, isStandalone: true, selector: "[wlcmInput]", providers: [
|
|
365
364
|
{
|
|
366
365
|
provide: WLCM_INPUT,
|
|
367
366
|
useFactory: () => {
|
|
@@ -372,7 +371,7 @@ class WlcmInputDirective {
|
|
|
372
371
|
},
|
|
373
372
|
], ngImport: i0 }); }
|
|
374
373
|
}
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmInputDirective, decorators: [{
|
|
376
375
|
type: Directive,
|
|
377
376
|
args: [{
|
|
378
377
|
selector: '[wlcmInput]',
|
|
@@ -397,10 +396,10 @@ class WlcmLabelComponent {
|
|
|
397
396
|
get isRequired() {
|
|
398
397
|
return this.required;
|
|
399
398
|
}
|
|
400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
401
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
400
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: WlcmLabelComponent, isStandalone: true, selector: "wlcm-label", inputs: { required: "required" }, host: { properties: { "class.required": "this.isRequired" }, classAttribute: "wlcm-label" }, ngImport: i0, template: "<span class=\"wlcm-label-asterisk\">*</span>\n\n<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
402
401
|
}
|
|
403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmLabelComponent, decorators: [{
|
|
404
403
|
type: Component,
|
|
405
404
|
args: [{ selector: 'wlcm-label', standalone: true, imports: [CommonModule], host: { class: 'wlcm-label' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"wlcm-label-asterisk\">*</span>\n\n<ng-content></ng-content>\n" }]
|
|
406
405
|
}], propDecorators: { required: [{
|
|
@@ -444,21 +443,21 @@ let AutocompleteDirective = class AutocompleteDirective {
|
|
|
444
443
|
this._scrollHeight = height;
|
|
445
444
|
this._scrollHeightChanged = true;
|
|
446
445
|
}
|
|
447
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
448
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
446
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: AutocompleteDirective, deps: [{ token: i0.NgZone }, { token: i2.MatAutocomplete, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
447
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: AutocompleteDirective, isStandalone: true, selector: "[wlcmAutocomplete]", outputs: { panelScrolled: "panelScrolled" }, ngImport: i0 }); }
|
|
449
448
|
};
|
|
450
449
|
AutocompleteDirective = __decorate([
|
|
451
450
|
UntilDestroy(),
|
|
452
451
|
__metadata("design:paramtypes", [NgZone,
|
|
453
452
|
MatAutocomplete])
|
|
454
453
|
], AutocompleteDirective);
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: AutocompleteDirective, decorators: [{
|
|
456
455
|
type: Directive,
|
|
457
456
|
args: [{
|
|
458
457
|
selector: '[wlcmAutocomplete]',
|
|
459
458
|
standalone: true,
|
|
460
459
|
}]
|
|
461
|
-
}], ctorParameters: () => [{ type: i0.NgZone }, { type:
|
|
460
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i2.MatAutocomplete, decorators: [{
|
|
462
461
|
type: Host
|
|
463
462
|
}, {
|
|
464
463
|
type: Optional
|
|
@@ -467,10 +466,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
467
466
|
}] } });
|
|
468
467
|
|
|
469
468
|
class WlcmAutocomplete {
|
|
470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
471
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
469
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
470
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: WlcmAutocomplete, isStandalone: true, ngImport: i0 }); }
|
|
472
471
|
}
|
|
473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmAutocomplete, decorators: [{
|
|
474
473
|
type: Directive
|
|
475
474
|
}] });
|
|
476
475
|
|
|
@@ -629,8 +628,8 @@ let WlcmAutocompleteComponent = class WlcmAutocompleteComponent extends WlcmAuto
|
|
|
629
628
|
.pipe(switchMap(() => this.adjustedValue$.pipe(filter(Boolean))))
|
|
630
629
|
.subscribe((value) => this._changed?.(value));
|
|
631
630
|
}
|
|
632
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
633
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
631
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmAutocompleteComponent, deps: [{ token: i0.Injector }, { token: WLCM_FORM_FIELD }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
632
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: WlcmAutocompleteComponent, isStandalone: true, selector: "wlcm-autocomplete", inputs: { fetchPaginatedOptions: { classPropertyName: "fetchPaginatedOptions", publicName: "fetchPaginatedOptions", isSignal: false, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: false, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, optionTemplate: { classPropertyName: "optionTemplate", publicName: "optionTemplate", isSignal: false, isRequired: false, transformFunction: null }, queryParams: { classPropertyName: "queryParams", publicName: "queryParams", isSignal: false, isRequired: false, transformFunction: (params) => cloneDeep(params) }, selectOptionFormat: { classPropertyName: "selectOptionFormat", publicName: "selectOptionFormat", isSignal: true, isRequired: false, transformFunction: null }, noResultsTemplate: { classPropertyName: "noResultsTemplate", publicName: "noResultsTemplate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selected" }, host: { classAttribute: "wlcm-autocomplete" }, providers: [
|
|
634
633
|
{ provide: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, useValue: { overlayPanelClass: PANEL_CLASS$1 } },
|
|
635
634
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmAutocompleteComponent), multi: true },
|
|
636
635
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmAutocompleteComponent), multi: true },
|
|
@@ -641,13 +640,13 @@ let WlcmAutocompleteComponent = class WlcmAutocompleteComponent extends WlcmAuto
|
|
|
641
640
|
return { bind: () => autocomplete };
|
|
642
641
|
},
|
|
643
642
|
},
|
|
644
|
-
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: WLCM_INPUT, descendants: true, read: ElementRef }, { propertyName: "autocompleteTrigger", first: true, predicate: MatAutocompleteTrigger, descendants: true }, { propertyName: "autocomplete", first: true, predicate: MatAutocomplete, descendants: true }], exportAs: ["wlcmAutocomplete"], usesInheritance: true, ngImport: i0, template: "<input\n wlcmInput\n type=\"text\"\n [matAutocomplete]=\"autocomplete\"\n [placeholder]=\"placeholder\"\n [formControl]=\"control\"\n (blur)=\"blured()\"\n/>\n\n<mat-autocomplete\n #autocomplete=\"matAutocomplete\"\n wlcmAutocomplete\n [disableRipple]=\"true\"\n [displayWith]=\"displayWith\"\n [hideSingleSelectionIndicator]=\"true\"\n (panelScrolled)=\"loadMore()\"\n>\n <ng-container *rxLet=\"$any(options$ | async); let options\">\n <mat-option\n *ngFor=\"let option of options\"\n [ngClass]=\"{ 'wlcm-custom-option-content': optionTemplate }\"\n [value]=\"option\"\n >\n @if (optionTemplate) {\n <ng-container\n *ngTemplateOutlet=\"optionTemplate; context: { $implicit: option }\"\n ></ng-container>\n } @else {\n {{ option.viewValue }}\n }\n </mat-option>\n\n <mat-option [disabled]=\"true\" *ngIf=\"options.length === 0\">\n @if (noResultsTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"\n noResultsTemplate()!;\n context: { $implicit: control.value, loading: loading$ | async }\n \"\n ></ng-container>\n } @else {\n <ng-container\n *ngTemplateOutlet=\"\n defaultNoResultsTemplate;\n context: { $implicit: control.value, loading: loading$ | async }\n \"\n ></ng-container>\n }\n </mat-option>\n </ng-container>\n</mat-autocomplete>\n\n<ng-template #defaultNoResultsTemplate let-loading=\"loading\">\n @if (loading) {\n Please wait...\n } @else {\n No results found\n }\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type:
|
|
643
|
+
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: WLCM_INPUT, descendants: true, read: ElementRef }, { propertyName: "autocompleteTrigger", first: true, predicate: MatAutocompleteTrigger, descendants: true }, { propertyName: "autocomplete", first: true, predicate: MatAutocomplete, descendants: true }], exportAs: ["wlcmAutocomplete"], usesInheritance: true, ngImport: i0, template: "<input\n wlcmInput\n type=\"text\"\n [matAutocomplete]=\"autocomplete\"\n [placeholder]=\"placeholder\"\n [formControl]=\"control\"\n (blur)=\"blured()\"\n/>\n\n<mat-autocomplete\n #autocomplete=\"matAutocomplete\"\n wlcmAutocomplete\n [disableRipple]=\"true\"\n [displayWith]=\"displayWith\"\n [hideSingleSelectionIndicator]=\"true\"\n (panelScrolled)=\"loadMore()\"\n>\n <ng-container *rxLet=\"$any(options$ | async); let options\">\n <mat-option\n *ngFor=\"let option of options\"\n [ngClass]=\"{ 'wlcm-custom-option-content': optionTemplate }\"\n [value]=\"option\"\n >\n @if (optionTemplate) {\n <ng-container\n *ngTemplateOutlet=\"optionTemplate; context: { $implicit: option }\"\n ></ng-container>\n } @else {\n {{ option.viewValue }}\n }\n </mat-option>\n\n <mat-option [disabled]=\"true\" *ngIf=\"options.length === 0\">\n @if (noResultsTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"\n noResultsTemplate()!;\n context: { $implicit: control.value, loading: loading$ | async }\n \"\n ></ng-container>\n } @else {\n <ng-container\n *ngTemplateOutlet=\"\n defaultNoResultsTemplate;\n context: { $implicit: control.value, loading: loading$ | async }\n \"\n ></ng-container>\n }\n </mat-option>\n </ng-container>\n</mat-autocomplete>\n\n<ng-template #defaultNoResultsTemplate let-loading=\"loading\">\n @if (loading) {\n Please wait...\n } @else {\n No results found\n }\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i2.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: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i2.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "directive", type: AutocompleteDirective, selector: "[wlcmAutocomplete]", outputs: ["panelScrolled"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: WlcmInputDirective, selector: "[wlcmInput]" }, { kind: "directive", type: RxLet, selector: "[rxLet]", inputs: ["rxLet", "rxLetStrategy", "rxLetComplete", "rxLetError", "rxLetSuspense", "rxLetContextTrigger", "rxLetCompleteTrigger", "rxLetErrorTrigger", "rxLetSuspenseTrigger", "rxLetNextTrigger", "rxLetRenderCallback", "rxLetParent", "rxLetPatchZone"], outputs: ["rendered"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
645
644
|
};
|
|
646
645
|
WlcmAutocompleteComponent = __decorate([
|
|
647
646
|
UntilDestroy(),
|
|
648
647
|
__metadata("design:paramtypes", [Injector, Object])
|
|
649
648
|
], WlcmAutocompleteComponent);
|
|
650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmAutocompleteComponent, decorators: [{
|
|
651
650
|
type: Component,
|
|
652
651
|
args: [{ selector: 'wlcm-autocomplete', exportAs: 'wlcmAutocomplete', host: { class: 'wlcm-autocomplete' }, standalone: true, imports: [CommonModule, MatAutocompleteModule, AutocompleteDirective, ReactiveFormsModule, WlcmInputDirective, RxLet], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
653
652
|
{ provide: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, useValue: { overlayPanelClass: PANEL_CLASS$1 } },
|
|
@@ -735,18 +734,18 @@ let WlcmCheckboxComponent = class WlcmCheckboxComponent {
|
|
|
735
734
|
this.changeDetectorRef.markForCheck();
|
|
736
735
|
});
|
|
737
736
|
}
|
|
738
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
739
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmCheckboxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: WLCM_FORM_CONTROL, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
738
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.9", type: WlcmCheckboxComponent, isStandalone: true, selector: "wlcm-checkbox", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { changed: "changed" }, host: { classAttribute: "wlcm-checkbox" }, providers: [
|
|
740
739
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
741
740
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmCheckboxComponent), multi: true },
|
|
742
741
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmCheckboxComponent), multi: true },
|
|
743
|
-
], ngImport: i0, template: "<mat-checkbox [formControl]=\"control\" (change)=\"handleChange($event)\">\n <ng-content></ng-content>\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$
|
|
742
|
+
], ngImport: i0, template: "<mat-checkbox [formControl]=\"control\" (change)=\"handleChange($event)\">\n <ng-content></ng-content>\n</mat-checkbox>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { 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"] }] }); }
|
|
744
743
|
};
|
|
745
744
|
WlcmCheckboxComponent = __decorate([
|
|
746
745
|
UntilDestroy(),
|
|
747
746
|
__metadata("design:paramtypes", [ChangeDetectorRef, Object])
|
|
748
747
|
], WlcmCheckboxComponent);
|
|
749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmCheckboxComponent, decorators: [{
|
|
750
749
|
type: Component,
|
|
751
750
|
args: [{ selector: 'wlcm-checkbox', host: { class: 'wlcm-checkbox' }, standalone: true, imports: [CommonModule, MatCheckboxModule, ReactiveFormsModule], providers: [
|
|
752
751
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
@@ -822,8 +821,8 @@ let WlcmCheckboxGroupComponent = class WlcmCheckboxGroupComponent {
|
|
|
822
821
|
.pipe(takeUntil(this.checkboxesListUpdated))
|
|
823
822
|
.subscribe();
|
|
824
823
|
}
|
|
825
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
826
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
824
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmCheckboxGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
825
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.9", type: WlcmCheckboxGroupComponent, isStandalone: true, selector: "wlcm-checkbox-group", host: { classAttribute: "wlcm-checkbox-group" }, providers: [
|
|
827
826
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmCheckboxGroupComponent), multi: true },
|
|
828
827
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmCheckboxGroupComponent), multi: true },
|
|
829
828
|
], queries: [{ propertyName: "checkboxes", predicate: WlcmCheckboxComponent, isSignal: true }], ngImport: i0, template: "<ng-content select=\"wlcm-checkbox\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
@@ -832,7 +831,7 @@ WlcmCheckboxGroupComponent = __decorate([
|
|
|
832
831
|
UntilDestroy(),
|
|
833
832
|
__metadata("design:paramtypes", [])
|
|
834
833
|
], WlcmCheckboxGroupComponent);
|
|
835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmCheckboxGroupComponent, decorators: [{
|
|
836
835
|
type: Component,
|
|
837
836
|
args: [{ selector: 'wlcm-checkbox-group', host: { class: 'wlcm-checkbox-group' }, standalone: true, imports: [CommonModule], providers: [
|
|
838
837
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmCheckboxGroupComponent), multi: true },
|
|
@@ -845,17 +844,17 @@ class WlcmAutocompleteSuffixComponent {
|
|
|
845
844
|
this.autocomplete = input.required();
|
|
846
845
|
this.WlcmIconName = WlcmIconName;
|
|
847
846
|
}
|
|
848
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
849
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmAutocompleteSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: WlcmAutocompleteSuffixComponent, isStandalone: true, selector: "wlcm-autocomplete-suffix", inputs: { autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "wlcm-autocomplete-suffix" }, ngImport: i0, template: "<ng-container *rxLet=\"autocomplete().loading$ | async; let loading\">\n @if (!loading) {\n <ng-container [wlcmIcon]=\"WlcmIconName.CHEVRON_DOWN\"></ng-container>\n }\n\n <wlcm-loader [hidden]=\"!loading\"></wlcm-loader>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: WlcmIconDirective, selector: "[wlcmIcon]", inputs: ["wlcmIcon", "wlcmIconStopPropagation"], outputs: ["wlcmIconClicked"] }, { kind: "component", type: WlcmLoaderComponent, selector: "wlcm-loader", inputs: ["hidden"] }, { kind: "directive", type: RxLet, selector: "[rxLet]", inputs: ["rxLet", "rxLetStrategy", "rxLetComplete", "rxLetError", "rxLetSuspense", "rxLetContextTrigger", "rxLetCompleteTrigger", "rxLetErrorTrigger", "rxLetSuspenseTrigger", "rxLetNextTrigger", "rxLetRenderCallback", "rxLetParent", "rxLetPatchZone"], outputs: ["rendered"] }] }); }
|
|
850
849
|
}
|
|
851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmAutocompleteSuffixComponent, decorators: [{
|
|
852
851
|
type: Component,
|
|
853
852
|
args: [{ selector: 'wlcm-autocomplete-suffix', host: { class: 'wlcm-autocomplete-suffix' }, standalone: true, imports: [CommonModule, WlcmIconDirective, WlcmLoaderComponent, RxLet], template: "<ng-container *rxLet=\"autocomplete().loading$ | async; let loading\">\n @if (!loading) {\n <ng-container [wlcmIcon]=\"WlcmIconName.CHEVRON_DOWN\"></ng-container>\n }\n\n <wlcm-loader [hidden]=\"!loading\"></wlcm-loader>\n</ng-container>\n" }]
|
|
854
853
|
}] });
|
|
855
854
|
|
|
856
855
|
class WlcmSelectInputBinderDirective {
|
|
857
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
858
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
856
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmSelectInputBinderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
857
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: WlcmSelectInputBinderDirective, isStandalone: true, selector: "[wlcmSelectInputBinder]", providers: [
|
|
859
858
|
{
|
|
860
859
|
provide: WLCM_INPUT_BINDER,
|
|
861
860
|
useFactory: () => {
|
|
@@ -865,7 +864,7 @@ class WlcmSelectInputBinderDirective {
|
|
|
865
864
|
},
|
|
866
865
|
], ngImport: i0 }); }
|
|
867
866
|
}
|
|
868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmSelectInputBinderDirective, decorators: [{
|
|
869
868
|
type: Directive,
|
|
870
869
|
args: [{
|
|
871
870
|
standalone: true,
|
|
@@ -1132,8 +1131,8 @@ let WlcmSelectComponent = class WlcmSelectComponent {
|
|
|
1132
1131
|
.pipe(switchMap(() => this.adjustedValue$.pipe(filter(Boolean))))
|
|
1133
1132
|
.subscribe((value) => this._changed?.(value));
|
|
1134
1133
|
}
|
|
1135
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1136
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmSelectComponent, deps: [{ token: i0.NgZone }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i1$2.ScrollDetectionApi }, { token: WLCM_FORM_FIELD }, { token: WLCM_FORM_CONTROL, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1135
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: WlcmSelectComponent, isStandalone: true, selector: "wlcm-select", inputs: { multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, fetchPaginatedOptions: { classPropertyName: "fetchPaginatedOptions", publicName: "fetchPaginatedOptions", isSignal: false, isRequired: false, transformFunction: null }, canSelect: { classPropertyName: "canSelect", publicName: "canSelect", isSignal: false, isRequired: false, transformFunction: null }, queryParams: { classPropertyName: "queryParams", publicName: "queryParams", isSignal: false, isRequired: false, transformFunction: (params) => cloneDeep(params) }, paginated: { classPropertyName: "paginated", publicName: "paginated", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, selectOptionFormat: { classPropertyName: "selectOptionFormat", publicName: "selectOptionFormat", isSignal: true, isRequired: false, transformFunction: null }, optionTemplate: { classPropertyName: "optionTemplate", publicName: "optionTemplate", isSignal: true, isRequired: false, transformFunction: null }, triggerTemplate: { classPropertyName: "triggerTemplate", publicName: "triggerTemplate", isSignal: true, isRequired: false, transformFunction: null }, isOptionDisabled: { classPropertyName: "isOptionDisabled", publicName: "isOptionDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectionChange: "selectionChange", opened: "opened", closed: "closed" }, host: { listeners: { "click": "openPanel()" } }, providers: [
|
|
1137
1136
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
1138
1137
|
{
|
|
1139
1138
|
provide: MAT_SELECT_CONFIG,
|
|
@@ -1144,7 +1143,7 @@ let WlcmSelectComponent = class WlcmSelectComponent {
|
|
|
1144
1143
|
},
|
|
1145
1144
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmSelectComponent), multi: true },
|
|
1146
1145
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmSelectComponent), multi: true },
|
|
1147
|
-
], viewQueries: [{ propertyName: "matOptions", predicate: MatOption, descendants: true, isSignal: true }, { propertyName: "matSelect", first: true, predicate: MatSelect, descendants: true }], hostDirectives: [{ directive: WlcmSelectInputBinderDirective }], ngImport: i0, template: "<mat-select\n #selectComponent\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n [multiple]=\"multiple\"\n [disableRipple]=\"true\"\n [placeholder]=\"placeholder\"\n [hideSingleSelectionIndicator]=\"true\"\n [ngClass]=\"{ focused: selectComponent.focused }\"\n (selectionChange)=\"select($event)\"\n [compareWith]=\"compareWith\"\n (opened)=\"panelOpened()\"\n (closed)=\"panelClosed()\"\n>\n @if (triggerTemplate()) {\n <mat-select-trigger>\n <ng-container\n *ngTemplateOutlet=\"\n triggerTemplate()!;\n context: $any({ $implicit: selectComponent.selected })\n \"\n ></ng-container>\n </mat-select-trigger>\n }\n\n <mat-option\n *ngFor=\"let option of prefilledOptions()\"\n [value]=\"selectOptionFormat() === 'CompleteOption' ? option : option.value\"\n >\n <ng-container\n [ngTemplateOutlet]=\"wlcmSelectOptionContent\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n ></ng-container>\n </mat-option>\n\n <mat-option\n *ngFor=\"let option of computedOptions()\"\n [value]=\"selectOptionFormat() === 'CompleteOption' ? option : option.value\"\n >\n <ng-container\n [ngTemplateOutlet]=\"wlcmSelectOptionContent\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n ></ng-container>\n </mat-option>\n</mat-select>\n\n<div class=\"wlcm-select-arrow\">\n <ng-container\n [wlcmIcon]=\"WlcmIconName.CHEVRON_DOWN\"\n [wlcmIconStopPropagation]=\"false\"\n ></ng-container>\n</div>\n\n<ng-template #wlcmSelectOptionContent let-option>\n @if (optionTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"optionTemplate(); context: $any({ $implicit: option })\"\n ></ng-container>\n } @else {\n {{ option.viewValue }}\n }\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4
|
|
1146
|
+
], viewQueries: [{ propertyName: "matOptions", predicate: MatOption, descendants: true, isSignal: true }, { propertyName: "matSelect", first: true, predicate: MatSelect, descendants: true }], hostDirectives: [{ directive: WlcmSelectInputBinderDirective }], ngImport: i0, template: "<mat-select\n #selectComponent\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n [multiple]=\"multiple\"\n [disableRipple]=\"true\"\n [placeholder]=\"placeholder\"\n [hideSingleSelectionIndicator]=\"true\"\n [ngClass]=\"{ focused: selectComponent.focused }\"\n (selectionChange)=\"select($event)\"\n [compareWith]=\"compareWith\"\n (opened)=\"panelOpened()\"\n (closed)=\"panelClosed()\"\n>\n @if (triggerTemplate()) {\n <mat-select-trigger>\n <ng-container\n *ngTemplateOutlet=\"\n triggerTemplate()!;\n context: $any({ $implicit: selectComponent.selected })\n \"\n ></ng-container>\n </mat-select-trigger>\n }\n\n <mat-option\n *ngFor=\"let option of prefilledOptions()\"\n [value]=\"selectOptionFormat() === 'CompleteOption' ? option : option.value\"\n >\n <ng-container\n [ngTemplateOutlet]=\"wlcmSelectOptionContent\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n ></ng-container>\n </mat-option>\n\n <mat-option\n *ngFor=\"let option of computedOptions()\"\n [value]=\"selectOptionFormat() === 'CompleteOption' ? option : option.value\"\n >\n <ng-container\n [ngTemplateOutlet]=\"wlcmSelectOptionContent\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n ></ng-container>\n </mat-option>\n</mat-select>\n\n<div class=\"wlcm-select-arrow\">\n <ng-container\n [wlcmIcon]=\"WlcmIconName.CHEVRON_DOWN\"\n [wlcmIconStopPropagation]=\"false\"\n ></ng-container>\n</div>\n\n<ng-template #wlcmSelectOptionContent let-option>\n @if (optionTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"optionTemplate(); context: $any({ $implicit: option })\"\n ></ng-container>\n } @else {\n {{ option.viewValue }}\n }\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i4.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: WlcmIconDirective, selector: "[wlcmIcon]", inputs: ["wlcmIcon", "wlcmIconStopPropagation"], outputs: ["wlcmIconClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1148
1147
|
};
|
|
1149
1148
|
WlcmSelectComponent = __decorate([
|
|
1150
1149
|
UntilDestroy(),
|
|
@@ -1153,7 +1152,7 @@ WlcmSelectComponent = __decorate([
|
|
|
1153
1152
|
ChangeDetectorRef,
|
|
1154
1153
|
ScrollDetectionApi, Object, Object])
|
|
1155
1154
|
], WlcmSelectComponent);
|
|
1156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmSelectComponent, decorators: [{
|
|
1157
1156
|
type: Component,
|
|
1158
1157
|
args: [{ selector: 'wlcm-select', standalone: true, imports: [CommonModule, MatSelectModule, ReactiveFormsModule, WlcmIconDirective, WlcmSelectInputBinderDirective], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [WlcmSelectInputBinderDirective], providers: [
|
|
1159
1158
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
@@ -1167,7 +1166,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
1167
1166
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmSelectComponent), multi: true },
|
|
1168
1167
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmSelectComponent), multi: true },
|
|
1169
1168
|
], template: "<mat-select\n #selectComponent\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n [multiple]=\"multiple\"\n [disableRipple]=\"true\"\n [placeholder]=\"placeholder\"\n [hideSingleSelectionIndicator]=\"true\"\n [ngClass]=\"{ focused: selectComponent.focused }\"\n (selectionChange)=\"select($event)\"\n [compareWith]=\"compareWith\"\n (opened)=\"panelOpened()\"\n (closed)=\"panelClosed()\"\n>\n @if (triggerTemplate()) {\n <mat-select-trigger>\n <ng-container\n *ngTemplateOutlet=\"\n triggerTemplate()!;\n context: $any({ $implicit: selectComponent.selected })\n \"\n ></ng-container>\n </mat-select-trigger>\n }\n\n <mat-option\n *ngFor=\"let option of prefilledOptions()\"\n [value]=\"selectOptionFormat() === 'CompleteOption' ? option : option.value\"\n >\n <ng-container\n [ngTemplateOutlet]=\"wlcmSelectOptionContent\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n ></ng-container>\n </mat-option>\n\n <mat-option\n *ngFor=\"let option of computedOptions()\"\n [value]=\"selectOptionFormat() === 'CompleteOption' ? option : option.value\"\n >\n <ng-container\n [ngTemplateOutlet]=\"wlcmSelectOptionContent\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n ></ng-container>\n </mat-option>\n</mat-select>\n\n<div class=\"wlcm-select-arrow\">\n <ng-container\n [wlcmIcon]=\"WlcmIconName.CHEVRON_DOWN\"\n [wlcmIconStopPropagation]=\"false\"\n ></ng-container>\n</div>\n\n<ng-template #wlcmSelectOptionContent let-option>\n @if (optionTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"optionTemplate(); context: $any({ $implicit: option })\"\n ></ng-container>\n } @else {\n {{ option.viewValue }}\n }\n</ng-template>\n" }]
|
|
1170
|
-
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
1169
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1$2.ScrollDetectionApi }, { type: undefined, decorators: [{
|
|
1171
1170
|
type: Inject,
|
|
1172
1171
|
args: [WLCM_FORM_FIELD]
|
|
1173
1172
|
}] }, { type: undefined, decorators: [{
|
|
@@ -1195,10 +1194,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
1195
1194
|
}] } });
|
|
1196
1195
|
|
|
1197
1196
|
class WlcmFormFieldHintDirective {
|
|
1198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1199
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1197
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1198
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: WlcmFormFieldHintDirective, isStandalone: true, selector: "[wlcmFormFieldHint]", host: { classAttribute: "wlcm-hint" }, ngImport: i0 }); }
|
|
1200
1199
|
}
|
|
1201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormFieldHintDirective, decorators: [{
|
|
1202
1201
|
type: Directive,
|
|
1203
1202
|
args: [{
|
|
1204
1203
|
selector: '[wlcmFormFieldHint]',
|
|
@@ -1224,8 +1223,8 @@ const components = [
|
|
|
1224
1223
|
WlcmLabelComponent,
|
|
1225
1224
|
];
|
|
1226
1225
|
class WlcmFormsModule {
|
|
1227
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1228
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1227
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormsModule, imports: [WlcmFormFieldComponent,
|
|
1229
1228
|
WlcmAutocompleteComponent,
|
|
1230
1229
|
WlcmAutocompleteSuffixComponent,
|
|
1231
1230
|
WlcmCheckboxGroupComponent,
|
|
@@ -1246,9 +1245,9 @@ class WlcmFormsModule {
|
|
|
1246
1245
|
WlcmFormFieldSuffixDirective,
|
|
1247
1246
|
WlcmFormFieldPrefixDirective,
|
|
1248
1247
|
WlcmFormFieldHintDirective, MatRadioModule] }); }
|
|
1249
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1248
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormsModule, providers: [{ provide: MAT_RADIO_DEFAULT_OPTIONS, useValue: { color: 'primary' } }], imports: [components, MatRadioModule, MatRadioModule] }); }
|
|
1250
1249
|
}
|
|
1251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: WlcmFormsModule, decorators: [{
|
|
1252
1251
|
type: NgModule,
|
|
1253
1252
|
args: [{
|
|
1254
1253
|
imports: [...components, ...directives, MatRadioModule],
|