@wlcm/angular 18.2.26 → 18.2.29
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/esm2022/lib/button.module.mjs +4 -4
- package/button/esm2022/lib/components/button/button.component.mjs +3 -3
- package/button/fesm2022/wlcm-angular-button.mjs +7 -7
- package/core/esm2022/lib/components/default-loader/default-loader.component.mjs +3 -3
- package/core/esm2022/lib/components/icons/calendar-icon/calendar-icon.component.mjs +3 -3
- package/core/esm2022/lib/components/icons/chevron-down-icon/chevron-down-icon.component.mjs +3 -3
- package/core/esm2022/lib/components/icons/close-icon/close-icon.component.mjs +3 -3
- package/core/esm2022/lib/components/icons/search-icon/search-icon.component.mjs +3 -3
- package/core/esm2022/lib/components/loader/loader.component.mjs +3 -3
- package/core/esm2022/lib/directives/icon.directive.mjs +3 -3
- package/core/esm2022/lib/services/scroll-detection.api.mjs +33 -21
- package/core/fesm2022/wlcm-angular-core.mjs +52 -40
- package/core/fesm2022/wlcm-angular-core.mjs.map +1 -1
- package/core/lib/services/scroll-detection.api.d.ts +4 -1
- package/datepicker/esm2022/index.mjs +5 -2
- package/datepicker/esm2022/lib/components/calendar-header/calendar-header.component.mjs +3 -3
- package/datepicker/esm2022/lib/components/range/date-range-calendar-header/date-range-calendar-header.component.mjs +3 -3
- package/datepicker/esm2022/lib/components/range/date-range-picker-bottom-panel/date-range-picker-bottom-panel.component.mjs +7 -7
- package/datepicker/esm2022/lib/components/range/date-range-picker-input/date-range-picker-input.component.mjs +12 -10
- package/datepicker/esm2022/lib/components/range/double-calendar-range-picker/double-calendar-range-picker.component.mjs +168 -0
- package/datepicker/esm2022/lib/components/range/single-calendar-range-picker/single-calendar-range-picker.component.mjs +95 -0
- package/datepicker/esm2022/lib/components/single/datepicker-input-container/datepicker-input-container.component.mjs +3 -3
- package/datepicker/esm2022/lib/components/single/datepicker-panel/datepicker-panel.component.mjs +3 -3
- package/datepicker/esm2022/lib/constants/range/date-range-picker.constants.mjs +3 -1
- package/datepicker/esm2022/lib/datepicker.module.mjs +4 -4
- package/datepicker/esm2022/lib/directives/calendar.directive.mjs +3 -3
- package/datepicker/esm2022/lib/directives/datepicker-input.base.mjs +3 -3
- package/datepicker/esm2022/lib/directives/datepicker-trigger.base.mjs +7 -11
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input-end.directive.mjs +3 -3
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input-start.directive.mjs +3 -3
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input.base.mjs +9 -7
- package/datepicker/esm2022/lib/directives/ragne/left-calendar.directive.mjs +3 -3
- package/datepicker/esm2022/lib/directives/ragne/right-calendar.directive.mjs +3 -3
- package/datepicker/esm2022/lib/directives/single/datepicker-input.directive.mjs +3 -3
- package/datepicker/esm2022/lib/models/date-picker.models.mjs +3 -3
- package/datepicker/esm2022/lib/models/range/data-range-calendar.models.mjs +4 -4
- package/datepicker/esm2022/lib/models/range/date-range-picker.models.mjs +27 -2
- package/datepicker/fesm2022/wlcm-angular-datepicker.mjs +701 -605
- package/datepicker/fesm2022/wlcm-angular-datepicker.mjs.map +1 -1
- package/datepicker/index.d.ts +4 -1
- package/datepicker/lib/components/range/date-range-picker-bottom-panel/date-range-picker-bottom-panel.component.d.ts +3 -3
- package/datepicker/lib/components/range/date-range-picker-input/date-range-picker-input.component.d.ts +5 -5
- package/datepicker/lib/components/range/{date-range-picker/date-range-picker.component.d.ts → double-calendar-range-picker/double-calendar-range-picker.component.d.ts} +12 -16
- package/datepicker/lib/components/range/single-calendar-range-picker/single-calendar-range-picker.component.d.ts +27 -0
- package/datepicker/lib/constants/range/date-range-picker.constants.d.ts +2 -1
- package/datepicker/lib/directives/datepicker-trigger.base.d.ts +1 -2
- package/datepicker/lib/models/range/date-range-picker.models.d.ts +15 -1
- package/filters/esm2022/lib/components/filters-group/filters-group.component.mjs +3 -3
- package/filters/esm2022/lib/directives/filter.directive.mjs +3 -3
- package/filters/esm2022/lib/filters.module.mjs +4 -4
- package/filters/esm2022/lib/models/filters-group.models.mjs +3 -3
- package/filters/fesm2022/wlcm-angular-filters.mjs +13 -13
- package/forms/esm2022/lib/forms/components/autocomplete/autocomplete.component.mjs +3 -3
- package/forms/esm2022/lib/forms/components/checkbox/checkbox.component.mjs +5 -5
- package/forms/esm2022/lib/forms/components/checkbox-group/checkbox-group.component.mjs +3 -3
- package/forms/esm2022/lib/forms/components/error/error.component.mjs +3 -3
- package/forms/esm2022/lib/forms/components/form-field/form-field.component.mjs +3 -3
- package/forms/esm2022/lib/forms/components/label/label.component.mjs +3 -3
- package/forms/esm2022/lib/forms/components/partials/autocomplete-suffix/autocomplete-suffix.component.mjs +3 -3
- package/forms/esm2022/lib/forms/components/select/select.component.mjs +14 -5
- package/forms/esm2022/lib/forms/directives/autocomplete.directive.mjs +3 -3
- package/forms/esm2022/lib/forms/directives/form-field-custom-container.directive.mjs +3 -3
- package/forms/esm2022/lib/forms/directives/form-field-hint.directive.mjs +3 -3
- package/forms/esm2022/lib/forms/directives/form-field-prefix.directive.mjs +3 -3
- package/forms/esm2022/lib/forms/directives/form-field-suffix.directive.mjs +3 -3
- package/forms/esm2022/lib/forms/directives/input.directive.mjs +3 -3
- package/forms/esm2022/lib/forms/directives/select-input-binder.directive.mjs +3 -3
- package/forms/esm2022/lib/forms/forms.module.mjs +4 -4
- package/forms/esm2022/lib/forms/models/autocomplete.models.mjs +3 -3
- package/forms/esm2022/lib/forms/pipes/errors-mapper.pipe.mjs +3 -3
- package/forms/esm2022/lib/forms/services/form-state-handler.service.mjs +3 -3
- package/forms/esm2022/lib/forms/services/places.api.mjs +6 -6
- package/forms/fesm2022/wlcm-angular-forms.mjs +75 -66
- package/forms/fesm2022/wlcm-angular-forms.mjs.map +1 -1
- package/forms/lib/forms/components/select/select.component.d.ts +1 -0
- package/forms/lib/forms/services/places.api.d.ts +1 -0
- package/package.json +1 -1
- package/phone-input/esm2022/lib/components/country-code-select/country-code-select.component.mjs +3 -3
- package/phone-input/esm2022/lib/components/phone-input-container/phone-input-container.component.mjs +3 -3
- package/phone-input/esm2022/lib/directives/phone-input.directive.mjs +3 -3
- package/phone-input/esm2022/lib/phone-input.module.mjs +4 -4
- package/phone-input/esm2022/lib/pipes/phone-code.pipe.mjs +3 -3
- package/phone-input/fesm2022/wlcm-angular-phone-input.mjs +16 -16
- package/search-field/esm2022/lib/components/search-field/search-field.component.mjs +3 -3
- package/search-field/esm2022/lib/search-field.module.mjs +4 -4
- package/search-field/fesm2022/wlcm-angular-search-field.mjs +7 -7
- package/stepper/esm2022/lib/components/step/step.component.mjs +3 -3
- package/stepper/esm2022/lib/components/step-header/step-header.component.mjs +3 -3
- package/stepper/esm2022/lib/components/stepper/stepper.component.mjs +3 -3
- package/stepper/esm2022/lib/components/stepper-header/stepper-header.component.mjs +3 -3
- package/stepper/esm2022/lib/directives/load-on-active-step.directive.mjs +3 -3
- package/stepper/esm2022/lib/models/step.models.mjs +3 -3
- package/stepper/esm2022/lib/models/stepper.models.mjs +3 -3
- package/stepper/esm2022/lib/stepper.module.mjs +4 -4
- package/stepper/fesm2022/wlcm-angular-stepper.mjs +25 -25
- package/styles/components/datepicker/date-range-picker/_date-range-picker-body.scss +1 -1
- package/styles/components/datepicker/date-range-picker/_date-range-picker-input.scss +1 -0
- package/table/esm2022/lib/components/table/table.component.mjs +3 -3
- package/table/esm2022/lib/components/table-head/table-head.component.mjs +3 -3
- package/table/esm2022/lib/components/table-head-actions/table-head-actions.component.mjs +3 -3
- package/table/esm2022/lib/components/table-head-data/table-head-data.component.mjs +3 -3
- package/table/esm2022/lib/components/table-row/table-row.component.mjs +3 -3
- package/table/esm2022/lib/components/table-row-actions/table-row-actions.component.mjs +3 -3
- package/table/esm2022/lib/components/table-row-data/table-row-data.component.mjs +3 -3
- package/table/esm2022/lib/components/table-row-spacer/table-row-spacer.component.mjs +3 -3
- package/table/esm2022/lib/directives/scrollable-table-container.directive.mjs +3 -3
- package/table/esm2022/lib/pipes/table-row-injector.pipe.mjs +3 -3
- package/table/esm2022/lib/table.module.mjs +4 -4
- package/table/fesm2022/wlcm-angular-table.mjs +34 -34
- package/datepicker/esm2022/lib/components/range/date-range-picker/date-range-picker.component.mjs +0 -174
package/datepicker/index.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
export { WlcmDateRangePickerInputComponent } from './lib/components/range/date-range-picker-input/date-range-picker-input.component';
|
|
2
|
+
export { DoubleCalendarRangePickerComponent } from './lib/components/range/double-calendar-range-picker/double-calendar-range-picker.component';
|
|
3
|
+
export { SingleCalendarRangePickerComponent } from './lib/components/range/single-calendar-range-picker/single-calendar-range-picker.component';
|
|
2
4
|
export { WlcmDatepickerInputContainerComponent } from './lib/components/single/datepicker-input-container/datepicker-input-container.component';
|
|
3
5
|
export { DateRangePickerInputEndDirective } from './lib/directives/ragne/date-range-picker-input-end.directive';
|
|
4
6
|
export { DateRangePickerInputStartDirective } from './lib/directives/ragne/date-range-picker-input-start.directive';
|
|
5
7
|
export { WlcmDatepickerInputDirective } from './lib/directives/single/datepicker-input.directive';
|
|
6
|
-
export { WlcmDateRangeValidation } from './lib/models/range/date-range-validation.models';
|
|
7
8
|
export { WlcmDateRangeInputValidator } from './lib/utils/range/date-range-input.validators';
|
|
9
|
+
export { WlcmDateRangeValidation } from './lib/models/range/date-range-validation.models';
|
|
10
|
+
export { WlcmDateRangePicker } from './lib/models/range/date-range-picker.models';
|
|
8
11
|
export { WlcmDateValidation } from './lib/models/date-picker.models';
|
|
9
12
|
export { WlcmDatepickerModule } from './lib/datepicker.module';
|
|
10
13
|
export { WLCM_DATEPICKER_CONFIG } from './lib/constants/datepicker.constants';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WlcmDateRangePicker } from '../../../models/range/date-range-picker.models';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class WlcmDateRangePickerBottomPanelComponent {
|
|
4
|
-
protected picker:
|
|
5
|
-
constructor(picker:
|
|
4
|
+
protected picker: WlcmDateRangePicker;
|
|
5
|
+
constructor(picker: WlcmDateRangePicker);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<WlcmDateRangePickerBottomPanelComponent, never>;
|
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<WlcmDateRangePickerBottomPanelComponent, "wlcm-date-range-picker-bottom-panel", never, {}, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -2,12 +2,12 @@ import { AfterContentInit, AfterViewInit, ElementRef, Type, ViewContainerRef } f
|
|
|
2
2
|
import { DateRange, MatDateSelectionModel } from '@angular/material/datepicker';
|
|
3
3
|
import { WlcmFormField, WlcmFormFieldInput } from '@wlcm/angular/forms';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
6
|
-
import { WlcmDateRangePickerComponent } from '../date-range-picker/date-range-picker.component';
|
|
7
5
|
import { ControlContainer } from '@angular/forms';
|
|
6
|
+
import { WlcmDateRangePicker } from '../../../models/range/date-range-picker.models';
|
|
8
7
|
import { WlcmDatepickerTrigger } from '../../../directives/datepicker-trigger.base';
|
|
8
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class WlcmDateRangePickerInputComponent extends WlcmDatepickerTrigger<
|
|
10
|
+
export declare class WlcmDateRangePickerInputComponent extends WlcmDatepickerTrigger<WlcmDateRangePicker, DateRange<Date>> implements WlcmFormFieldInput, AfterContentInit, AfterViewInit {
|
|
11
11
|
protected overlay: Overlay;
|
|
12
12
|
protected viewContainerRef: ViewContainerRef;
|
|
13
13
|
protected selectionModel: MatDateSelectionModel<DateRange<Date>>;
|
|
@@ -17,9 +17,9 @@ export declare class WlcmDateRangePickerInputComponent extends WlcmDatepickerTri
|
|
|
17
17
|
private readonly _blurStream$;
|
|
18
18
|
focus$: Observable<unknown>;
|
|
19
19
|
blur$: Observable<unknown>;
|
|
20
|
+
componentType: Type<WlcmDateRangePicker>;
|
|
20
21
|
private startInput;
|
|
21
22
|
private endInput;
|
|
22
|
-
componentType: Type<WlcmDateRangePickerComponent>;
|
|
23
23
|
protected connectedTo: ElementRef<HTMLElement>;
|
|
24
24
|
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, selectionModel: MatDateSelectionModel<DateRange<Date>>, formField: WlcmFormField, controlContainer: ControlContainer);
|
|
25
25
|
ngAfterContentInit(): void;
|
|
@@ -32,5 +32,5 @@ export declare class WlcmDateRangePickerInputComponent extends WlcmDatepickerTri
|
|
|
32
32
|
private checkInputs;
|
|
33
33
|
private attachFocusBlurListeners;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<WlcmDateRangePickerInputComponent, [null, null, null, { host: true; }, { host: true; }]>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WlcmDateRangePickerInputComponent, "wlcm-date-range-picker-input", ["wlcmDateRangePickerInput"], {}, {}, ["startInput", "endInput"], ["[wlcmDateRangePickerInputStart]", "[wlcmDateRangePickerInputEnd]"], true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WlcmDateRangePickerInputComponent, "wlcm-date-range-picker-input", ["wlcmDateRangePickerInput"], { "componentType": { "alias": "componentType"; "required": false; }; }, {}, ["startInput", "endInput"], ["[wlcmDateRangePickerInputStart]", "[wlcmDateRangePickerInputEnd]"], true, never>;
|
|
36
36
|
}
|
|
@@ -1,39 +1,35 @@
|
|
|
1
|
-
import { ElementRef,
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, Type, ViewContainerRef, WritableSignal } from '@angular/core';
|
|
2
|
+
import { WlcmDateRangePicker, WlcmDateRangePickerConfig } from '../../../models/range/date-range-picker.models';
|
|
3
3
|
import { DateAdapter } from '@angular/material/core';
|
|
4
|
-
import {
|
|
4
|
+
import { MatDateRangeSelectionStrategy, MatDateSelectionModel, DateRange, MatCalendar, MatMonthView } from '@angular/material/datepicker';
|
|
5
5
|
import { WlcmDatepickerTrigger } from '../../../directives/datepicker-trigger.base';
|
|
6
6
|
import { WlcmDatepickerConfig } from '../../../models/date-picker.models';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class DoubleCalendarRangePickerComponent extends WlcmDateRangePicker {
|
|
9
9
|
private rangeConfig;
|
|
10
|
-
|
|
10
|
+
protected rangeSelectionStrategy: MatDateRangeSelectionStrategy<Date>;
|
|
11
11
|
protected localSelectionModel: MatDateSelectionModel<DateRange<Date>>;
|
|
12
12
|
protected triggerSelectionModel: MatDateSelectionModel<DateRange<Date>>;
|
|
13
|
-
protected trigger: WlcmDatepickerTrigger<
|
|
13
|
+
protected trigger: WlcmDatepickerTrigger<DoubleCalendarRangePickerComponent>;
|
|
14
14
|
protected datepickerConfig: WlcmDatepickerConfig;
|
|
15
|
+
protected pickerBottomPanel: Type<unknown>;
|
|
15
16
|
protected dateAdapter: DateAdapter<Date>;
|
|
16
17
|
protected headerComponent: Type<unknown>;
|
|
17
18
|
private _isViewInitialized;
|
|
18
|
-
|
|
19
|
-
readonly isComplete: Signal<boolean>;
|
|
20
|
-
constructor(rangeConfig: WlcmDateRangePickerConfig, rangeSelectionStrategy: MatDateRangeSelectionStrategy<Date>, localSelectionModel: MatDateSelectionModel<DateRange<Date>>, triggerSelectionModel: MatDateSelectionModel<DateRange<Date>>, trigger: WlcmDatepickerTrigger<WlcmDateRangePickerComponent>, datepickerConfig: WlcmDatepickerConfig, dateAdapter: DateAdapter<Date>);
|
|
19
|
+
constructor(rangeConfig: WlcmDateRangePickerConfig, rangeSelectionStrategy: MatDateRangeSelectionStrategy<Date>, localSelectionModel: MatDateSelectionModel<DateRange<Date>>, triggerSelectionModel: MatDateSelectionModel<DateRange<Date>>, trigger: WlcmDatepickerTrigger<DoubleCalendarRangePickerComponent>, datepickerConfig: WlcmDatepickerConfig, pickerBottomPanel: Type<unknown>, dateAdapter: DateAdapter<Date>);
|
|
21
20
|
leftCalendar: MatCalendar<Date>;
|
|
22
21
|
rightCalendar: MatCalendar<Date>;
|
|
23
22
|
leftCalendarElement: ElementRef<HTMLElement>;
|
|
24
|
-
|
|
23
|
+
bottomPanelContainer: ViewContainerRef;
|
|
24
|
+
monthView: MatMonthView<Date>;
|
|
25
25
|
startDate: WritableSignal<Date>;
|
|
26
26
|
leftCalendarYearViewActivated: WritableSignal<boolean>;
|
|
27
27
|
rightCalendarYearViewActivated: WritableSignal<boolean>;
|
|
28
28
|
ngAfterViewInit(): void;
|
|
29
|
-
calendarSelection(event: MatCalendarUserEvent<Date | null>): void;
|
|
30
|
-
calendarDragDrop(event: MatCalendarUserEvent<DateRange<Date>>): void;
|
|
31
29
|
apply(): void;
|
|
32
30
|
reset(): void;
|
|
33
|
-
get selected(): DateRange<Date>;
|
|
34
31
|
private get leftCalendarActiveCell();
|
|
35
|
-
private handleSelectionChanged;
|
|
36
32
|
private handleRightCalendarPreviewChange;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DoubleCalendarRangePickerComponent, [{ optional: true; }, null, null, null, null, null, null, null]>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DoubleCalendarRangePickerComponent, "wlcm-double-calendar-range-picker", never, {}, {}, never, never, true, never>;
|
|
39
35
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterViewInit, Type, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { DateAdapter } from '@angular/material/core';
|
|
3
|
+
import { MatDateRangeSelectionStrategy, MatDateSelectionModel, DateRange } from '@angular/material/datepicker';
|
|
4
|
+
import { WlcmCalendarHeaderComponent } from '../../calendar-header/calendar-header.component';
|
|
5
|
+
import { WlcmDateRangePicker } from '../../../models/range/date-range-picker.models';
|
|
6
|
+
import { WlcmDatepickerTrigger } from '../../../directives/datepicker-trigger.base';
|
|
7
|
+
import { WlcmDatepickerConfig } from '../../../models/date-picker.models';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SingleCalendarRangePickerComponent extends WlcmDateRangePicker implements AfterViewInit {
|
|
10
|
+
protected rangeSelectionStrategy: MatDateRangeSelectionStrategy<Date>;
|
|
11
|
+
protected localSelectionModel: MatDateSelectionModel<DateRange<Date>>;
|
|
12
|
+
protected triggerSelectionModel: MatDateSelectionModel<DateRange<Date>>;
|
|
13
|
+
protected trigger: WlcmDatepickerTrigger<SingleCalendarRangePickerComponent>;
|
|
14
|
+
protected datepickerConfig: WlcmDatepickerConfig;
|
|
15
|
+
protected pickerBottomPanel: Type<unknown>;
|
|
16
|
+
protected dateAdapter: DateAdapter<Date>;
|
|
17
|
+
protected headerComponent: Type<WlcmCalendarHeaderComponent>;
|
|
18
|
+
bottomPanelContainer: ViewContainerRef;
|
|
19
|
+
constructor(rangeSelectionStrategy: MatDateRangeSelectionStrategy<Date>, localSelectionModel: MatDateSelectionModel<DateRange<Date>>, triggerSelectionModel: MatDateSelectionModel<DateRange<Date>>, trigger: WlcmDatepickerTrigger<SingleCalendarRangePickerComponent>, datepickerConfig: WlcmDatepickerConfig, pickerBottomPanel: Type<unknown>, dateAdapter: DateAdapter<Date>);
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
get minDate(): Date | undefined;
|
|
22
|
+
get maxDate(): Date | undefined;
|
|
23
|
+
apply(): void;
|
|
24
|
+
reset(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SingleCalendarRangePickerComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SingleCalendarRangePickerComponent, "wlcm-single-calendar-range-picker", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Type } from '@angular/core';
|
|
2
2
|
import { WlcmDateRangePickerConfig } from '../../models/range/date-range-picker.models';
|
|
3
3
|
export declare const WLCM_DATE_RANGE_PICKER_CONFIG: InjectionToken<WlcmDateRangePickerConfig>;
|
|
4
|
+
export declare const WLCM_DATE_RANGE_PICKER_BP: InjectionToken<Type<unknown>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OverlayRef, Overlay } from '@angular/cdk/overlay';
|
|
2
2
|
import { ElementRef, Type, ComponentRef, ViewContainerRef, Injector, InputSignal } from '@angular/core';
|
|
3
3
|
import { MatDateSelectionModel } from '@angular/material/datepicker';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
4
|
import { WlcmDatepickerConfig } from '../models/date-picker.models';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare abstract class WlcmDatepickerTrigger<T, D = Date> {
|
|
8
8
|
protected overlay: Overlay;
|
|
@@ -25,7 +25,6 @@ export declare abstract class WlcmDatepickerTrigger<T, D = Date> {
|
|
|
25
25
|
get datepickerInjector(): Injector;
|
|
26
26
|
get defaultDatepickerConfig(): WlcmDatepickerConfig;
|
|
27
27
|
get datepickerConfig(): WlcmDatepickerConfig;
|
|
28
|
-
private get overlayOrigin();
|
|
29
28
|
private handleBackdropClick;
|
|
30
29
|
private updatePositionStrategy;
|
|
31
30
|
private createOverlayConfig;
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
1
|
+
import { Signal, Type, WritableSignal } from '@angular/core';
|
|
2
|
+
import { MatDateSelectionModel, DateRange, MatCalendarUserEvent, MatDateRangeSelectionStrategy } from '@angular/material/datepicker';
|
|
3
|
+
export declare abstract class WlcmDateRangePicker {
|
|
4
|
+
protected localSelectionModel: MatDateSelectionModel<DateRange<Date>>;
|
|
5
|
+
protected rangeSelectionStrategy: MatDateRangeSelectionStrategy<Date>;
|
|
6
|
+
protected _isComplete: WritableSignal<boolean>;
|
|
7
|
+
readonly isComplete: Signal<boolean>;
|
|
8
|
+
constructor(localSelectionModel: MatDateSelectionModel<DateRange<Date>>, rangeSelectionStrategy: MatDateRangeSelectionStrategy<Date>);
|
|
9
|
+
abstract apply(): void;
|
|
10
|
+
abstract reset(): void;
|
|
11
|
+
calendarSelection(event: MatCalendarUserEvent<Date | null>): void;
|
|
12
|
+
calendarDragDrop(event: MatCalendarUserEvent<DateRange<Date>>): void;
|
|
13
|
+
get selected(): DateRange<Date>;
|
|
14
|
+
private handleSelectionChanged;
|
|
15
|
+
}
|
|
2
16
|
export interface WlcmDateRangePickerConfig {
|
|
3
17
|
headerComponent?: Type<unknown>;
|
|
4
18
|
}
|
|
@@ -3,10 +3,10 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { WlcmFiltersGroup } from '../../models/filters-group.models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class FiltersGroupComponent extends WlcmFiltersGroup {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FiltersGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: FiltersGroupComponent, isStandalone: true, selector: "wlcm-filters-group", host: { classAttribute: "wlcm-filters-group" }, providers: [{ provide: WlcmFiltersGroup, useExisting: forwardRef(() => FiltersGroupComponent) }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[wlcmFilter]\"></ng-content>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
8
8
|
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FiltersGroupComponent, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{ selector: 'wlcm-filters-group', standalone: true, imports: [CommonModule], host: { class: 'wlcm-filters-group' }, providers: [{ provide: WlcmFiltersGroup, useExisting: forwardRef(() => FiltersGroupComponent) }], template: "<ng-content select=\"[wlcmFilter]\"></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
12
12
|
}] });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Directive } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class FilterDirective {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FilterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.5", type: FilterDirective, isStandalone: true, selector: "[wlcmFilter]", ngImport: i0 }); }
|
|
6
6
|
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FilterDirective, decorators: [{
|
|
8
8
|
type: Directive,
|
|
9
9
|
args: [{ selector: '[wlcmFilter]', standalone: true }]
|
|
10
10
|
}] });
|
|
@@ -6,11 +6,11 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
const publicComponents = [FiltersGroupComponent];
|
|
7
7
|
const publicDirectives = [FilterDirective];
|
|
8
8
|
export class WlcmFiltersModule {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersModule, imports: [CommonModule, FiltersGroupComponent, FilterDirective], exports: [FiltersGroupComponent, FilterDirective] }); }
|
|
11
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersModule, imports: [CommonModule, publicComponents] }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
imports: [CommonModule, ...publicComponents, ...publicDirectives],
|
|
@@ -44,14 +44,14 @@ let WlcmFiltersGroup = class WlcmFiltersGroup {
|
|
|
44
44
|
return list;
|
|
45
45
|
}));
|
|
46
46
|
}
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.5", type: WlcmFiltersGroup, queries: [{ propertyName: "filters", predicate: WLCM_FILTER, descendants: true }], ngImport: i0 }); }
|
|
49
49
|
};
|
|
50
50
|
WlcmFiltersGroup = __decorate([
|
|
51
51
|
UntilDestroy()
|
|
52
52
|
], WlcmFiltersGroup);
|
|
53
53
|
export { WlcmFiltersGroup };
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersGroup, decorators: [{
|
|
55
55
|
type: Directive
|
|
56
56
|
}], propDecorators: { filters: [{
|
|
57
57
|
type: ContentChildren,
|
|
@@ -157,13 +157,13 @@ let WlcmFiltersGroup = class WlcmFiltersGroup {
|
|
|
157
157
|
return list;
|
|
158
158
|
}));
|
|
159
159
|
}
|
|
160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
161
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
161
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.5", type: WlcmFiltersGroup, queries: [{ propertyName: "filters", predicate: WLCM_FILTER, descendants: true }], ngImport: i0 }); }
|
|
162
162
|
};
|
|
163
163
|
WlcmFiltersGroup = __decorate([
|
|
164
164
|
UntilDestroy()
|
|
165
165
|
], WlcmFiltersGroup);
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersGroup, decorators: [{
|
|
167
167
|
type: Directive
|
|
168
168
|
}], propDecorators: { filters: [{
|
|
169
169
|
type: ContentChildren,
|
|
@@ -171,19 +171,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
171
171
|
}] } });
|
|
172
172
|
|
|
173
173
|
class FilterDirective {
|
|
174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
175
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FilterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
175
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.5", type: FilterDirective, isStandalone: true, selector: "[wlcmFilter]", ngImport: i0 }); }
|
|
176
176
|
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FilterDirective, decorators: [{
|
|
178
178
|
type: Directive,
|
|
179
179
|
args: [{ selector: '[wlcmFilter]', standalone: true }]
|
|
180
180
|
}] });
|
|
181
181
|
|
|
182
182
|
class FiltersGroupComponent extends WlcmFiltersGroup {
|
|
183
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
184
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FiltersGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
184
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: FiltersGroupComponent, isStandalone: true, selector: "wlcm-filters-group", host: { classAttribute: "wlcm-filters-group" }, providers: [{ provide: WlcmFiltersGroup, useExisting: forwardRef(() => FiltersGroupComponent) }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[wlcmFilter]\"></ng-content>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
185
185
|
}
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FiltersGroupComponent, decorators: [{
|
|
187
187
|
type: Component,
|
|
188
188
|
args: [{ selector: 'wlcm-filters-group', standalone: true, imports: [CommonModule], host: { class: 'wlcm-filters-group' }, providers: [{ provide: WlcmFiltersGroup, useExisting: forwardRef(() => FiltersGroupComponent) }], template: "<ng-content select=\"[wlcmFilter]\"></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
189
189
|
}] });
|
|
@@ -191,11 +191,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
191
191
|
const publicComponents = [FiltersGroupComponent];
|
|
192
192
|
const publicDirectives = [FilterDirective];
|
|
193
193
|
class WlcmFiltersModule {
|
|
194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
195
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
196
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
195
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersModule, imports: [CommonModule, FiltersGroupComponent, FilterDirective], exports: [FiltersGroupComponent, FilterDirective] }); }
|
|
196
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersModule, imports: [CommonModule, publicComponents] }); }
|
|
197
197
|
}
|
|
198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFiltersModule, decorators: [{
|
|
199
199
|
type: NgModule,
|
|
200
200
|
args: [{
|
|
201
201
|
imports: [CommonModule, ...publicComponents, ...publicDirectives],
|
|
@@ -171,8 +171,8 @@ let WlcmAutocompleteComponent = class WlcmAutocompleteComponent extends WlcmAuto
|
|
|
171
171
|
.pipe(switchMap(() => this.adjustedValue$.pipe(filter(Boolean))))
|
|
172
172
|
.subscribe((value) => this._changed?.(value));
|
|
173
173
|
}
|
|
174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
175
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmAutocompleteComponent, deps: [{ token: i0.Injector }, { token: WLCM_FORM_FIELD }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
175
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.5", 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: [
|
|
176
176
|
{ provide: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, useValue: { overlayPanelClass: PANEL_CLASS } },
|
|
177
177
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmAutocompleteComponent), multi: true },
|
|
178
178
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmAutocompleteComponent), multi: true },
|
|
@@ -190,7 +190,7 @@ WlcmAutocompleteComponent = __decorate([
|
|
|
190
190
|
__metadata("design:paramtypes", [Injector, Object])
|
|
191
191
|
], WlcmAutocompleteComponent);
|
|
192
192
|
export { WlcmAutocompleteComponent };
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmAutocompleteComponent, decorators: [{
|
|
194
194
|
type: Component,
|
|
195
195
|
args: [{ selector: 'wlcm-autocomplete', exportAs: 'wlcmAutocomplete', host: { class: 'wlcm-autocomplete' }, standalone: true, imports: [
|
|
196
196
|
CommonModule,
|
|
@@ -55,19 +55,19 @@ let WlcmCheckboxComponent = class WlcmCheckboxComponent {
|
|
|
55
55
|
this.changeDetectorRef.markForCheck();
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
59
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmCheckboxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: WLCM_FORM_CONTROL, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
59
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.5", 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: [
|
|
60
60
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
61
61
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmCheckboxComponent), multi: true },
|
|
62
62
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmCheckboxComponent), multi: true },
|
|
63
|
-
], 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.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "
|
|
63
|
+
], 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.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] }); }
|
|
64
64
|
};
|
|
65
65
|
WlcmCheckboxComponent = __decorate([
|
|
66
66
|
UntilDestroy(),
|
|
67
67
|
__metadata("design:paramtypes", [ChangeDetectorRef, Object])
|
|
68
68
|
], WlcmCheckboxComponent);
|
|
69
69
|
export { WlcmCheckboxComponent };
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmCheckboxComponent, decorators: [{
|
|
71
71
|
type: Component,
|
|
72
72
|
args: [{ selector: 'wlcm-checkbox', host: { class: 'wlcm-checkbox' }, standalone: true, imports: [CommonModule, MatCheckboxModule, ReactiveFormsModule], providers: [
|
|
73
73
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
@@ -82,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
|
|
|
82
82
|
}] }], propDecorators: { changed: [{
|
|
83
83
|
type: Output
|
|
84
84
|
}] } });
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9mb3Jtcy9zcmMvbGliL2Zvcm1zL2N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0aGlzLnBhcmVudEZvcm1NZW1iZXIuc3RhdGVDaGFuZ2VzJC5waXBlKHVudGlsRGVzdHJveWVkKHRoaXMpKS5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgdGhpcy5fdmFsaWRhdG9yQ2hhbmdlZD8uKCk7XG5cbiAgICAgIHRoaXMuY2hhbmdlRGV0ZWN0b3JSZWYubWFya0ZvckNoZWNrKCk7XG4gICAgfSk7XG4gIH1cbn1cbiIsIjxtYXQtY2hlY2tib3ggW2Zvcm1Db250cm9sXT1cImNvbnRyb2xcIiAoY2hhbmdlKT1cImhhbmRsZUNoYW5nZSgkZXZlbnQpXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvbWF0LWNoZWNrYm94PlxuIl19
|
|
@@ -66,8 +66,8 @@ let WlcmCheckboxGroupComponent = class WlcmCheckboxGroupComponent {
|
|
|
66
66
|
.pipe(takeUntil(this.checkboxesListUpdated))
|
|
67
67
|
.subscribe();
|
|
68
68
|
}
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmCheckboxGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
70
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "17.3.5", type: WlcmCheckboxGroupComponent, isStandalone: true, selector: "wlcm-checkbox-group", host: { classAttribute: "wlcm-checkbox-group" }, providers: [
|
|
71
71
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmCheckboxGroupComponent), multi: true },
|
|
72
72
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmCheckboxGroupComponent), multi: true },
|
|
73
73
|
], queries: [{ propertyName: "checkboxes", predicate: WlcmCheckboxComponent, isSignal: true }], ngImport: i0, template: "<ng-content select=\"wlcm-checkbox\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
@@ -77,7 +77,7 @@ WlcmCheckboxGroupComponent = __decorate([
|
|
|
77
77
|
__metadata("design:paramtypes", [])
|
|
78
78
|
], WlcmCheckboxGroupComponent);
|
|
79
79
|
export { WlcmCheckboxGroupComponent };
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmCheckboxGroupComponent, decorators: [{
|
|
81
81
|
type: Component,
|
|
82
82
|
args: [{ selector: 'wlcm-checkbox-group', host: { class: 'wlcm-checkbox-group' }, standalone: true, imports: [CommonModule], providers: [
|
|
83
83
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmCheckboxGroupComponent), multi: true },
|
|
@@ -2,10 +2,10 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class WlcmErrorComponent {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", 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 }); }
|
|
7
7
|
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmErrorComponent, decorators: [{
|
|
9
9
|
type: Component,
|
|
10
10
|
args: [{ selector: 'wlcm-error', standalone: true, imports: [CommonModule], host: { class: 'wlcm-error' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
11
11
|
}] });
|
|
@@ -73,8 +73,8 @@ let WlcmFormFieldComponent = class WlcmFormFieldComponent {
|
|
|
73
73
|
}
|
|
74
74
|
return events;
|
|
75
75
|
}
|
|
76
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFormFieldComponent, deps: [{ token: WLCM_FORM_CONTROL, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", 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: [
|
|
78
78
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
79
79
|
{ provide: WLCM_FORM_FIELD, useExisting: forwardRef(() => WlcmFormFieldComponent) },
|
|
80
80
|
], 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 }); }
|
|
@@ -84,7 +84,7 @@ WlcmFormFieldComponent = __decorate([
|
|
|
84
84
|
__metadata("design:paramtypes", [Object, ChangeDetectorRef])
|
|
85
85
|
], WlcmFormFieldComponent);
|
|
86
86
|
export { WlcmFormFieldComponent };
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmFormFieldComponent, decorators: [{
|
|
88
88
|
type: Component,
|
|
89
89
|
args: [{ selector: 'wlcm-form-field', standalone: true, imports: [CommonModule, WlcmErrorComponent, ErrorsMapperPipe], host: { class: 'wlcm-form-field' }, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
90
90
|
WLCM_FORM_CONTROL_PROVIDER,
|
|
@@ -8,10 +8,10 @@ export class WlcmLabelComponent {
|
|
|
8
8
|
get isRequired() {
|
|
9
9
|
return this.required;
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", 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 }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmLabelComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
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" }]
|
|
17
17
|
}], propDecorators: { required: [{
|
|
@@ -9,10 +9,10 @@ export class WlcmAutocompleteSuffixComponent {
|
|
|
9
9
|
this.autocomplete = input.required();
|
|
10
10
|
this.WlcmIconName = WlcmIconName;
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmAutocompleteSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.5", 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"] }] }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmAutocompleteSuffixComponent, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
17
|
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" }]
|
|
18
18
|
}] });
|