@wlcm/angular 19.2.2 → 19.2.4
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/core/fesm2022/wlcm-angular-core.mjs +25 -25
- package/datepicker/fesm2022/wlcm-angular-datepicker.mjs +65 -65
- package/datepicker/fesm2022/wlcm-angular-datepicker.mjs.map +1 -1
- package/datepicker/index.d.ts +2 -0
- package/filters/fesm2022/wlcm-angular-filters.mjs +14 -14
- package/forms/fesm2022/wlcm-angular-forms.mjs +80 -79
- package/forms/fesm2022/wlcm-angular-forms.mjs.map +1 -1
- package/package.json +1 -1
- package/phone-input/fesm2022/wlcm-angular-phone-input.mjs +18 -18
- package/search-field/fesm2022/wlcm-angular-search-field.mjs +8 -8
- package/stepper/fesm2022/wlcm-angular-stepper.mjs +26 -26
- package/styles/components/forms/_autocomplete.scss +6 -2
- package/styles/components/forms/_checkbox.scss +53 -60
- package/styles/components/forms/_form-field.scss +1 -4
- package/styles/components/forms/_radio.scss +56 -43
- package/styles/components/forms/_select.scss +37 -58
- package/styles/components/forms/partials/_dropdown-panel.scss +40 -0
- package/table/fesm2022/wlcm-angular-table.mjs +34 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, input, effect, forwardRef, ElementRef,
|
|
2
|
+
import { InjectionToken, input, effect, forwardRef, ElementRef, Directive, Inject, HostListener, Pipe, output, Component, ViewChild, inject, NgZone, ContentChild, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { __decorate, __metadata } from 'tslib';
|
|
5
5
|
import * as i2 from '@angular/forms';
|
|
@@ -10,7 +10,7 @@ import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
|
10
10
|
import examples from 'libphonenumber-js/mobile/examples';
|
|
11
11
|
import { Subject, fromEvent, takeUntil, merge, tap } from 'rxjs';
|
|
12
12
|
import * as i1 from '@wlcm/angular/forms';
|
|
13
|
-
import {
|
|
13
|
+
import { WlcmSelectComponent, WlcmFormsModule, WLCM_INPUT_BINDER } from '@wlcm/angular/forms';
|
|
14
14
|
import { WlcmOption } from '@wlcm/angular/core';
|
|
15
15
|
import { countries, getEmojiFlag, getCountryCode } from 'countries-list';
|
|
16
16
|
|
|
@@ -135,8 +135,8 @@ let WlcmPhoneInputDirective = class WlcmPhoneInputDirective {
|
|
|
135
135
|
.pipe(untilDestroyed(this))
|
|
136
136
|
.subscribe((event) => this.handlePaste(event));
|
|
137
137
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
139
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmPhoneInputDirective, deps: [{ token: i0.ElementRef }, { token: WLCM_PHONE_ADAPTER }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
139
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: WlcmPhoneInputDirective, isStandalone: true, selector: "[wlcmPhoneInput]", inputs: { applyMask: { classPropertyName: "applyMask", publicName: "applyMask", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "blur": "handleBlur($event)" }, classAttribute: "wlcm-form-field-input" }, providers: [
|
|
140
140
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => WlcmPhoneInputDirective), multi: true },
|
|
141
141
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WlcmPhoneInputDirective), multi: true },
|
|
142
142
|
], ngImport: i0 }); }
|
|
@@ -146,7 +146,7 @@ WlcmPhoneInputDirective = __decorate([
|
|
|
146
146
|
__metadata("design:paramtypes", [ElementRef,
|
|
147
147
|
WlcmPhoneAdapter])
|
|
148
148
|
], WlcmPhoneInputDirective);
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmPhoneInputDirective, decorators: [{
|
|
150
150
|
type: Directive,
|
|
151
151
|
args: [{
|
|
152
152
|
selector: '[wlcmPhoneInput]',
|
|
@@ -194,10 +194,10 @@ class PhoneCodePipe {
|
|
|
194
194
|
transform(value) {
|
|
195
195
|
return value ? getPhoneCode(value) : '1';
|
|
196
196
|
}
|
|
197
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
198
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
197
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PhoneCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
198
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: PhoneCodePipe, isStandalone: true, name: "phoneCode" }); }
|
|
199
199
|
}
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: PhoneCodePipe, decorators: [{
|
|
201
201
|
type: Pipe,
|
|
202
202
|
args: [{
|
|
203
203
|
name: 'phoneCode',
|
|
@@ -214,10 +214,10 @@ class WlcmCountryCodeSelectComponent {
|
|
|
214
214
|
get selectComponent() {
|
|
215
215
|
return this.wlcmSelect.matSelect;
|
|
216
216
|
}
|
|
217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
218
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.
|
|
217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmCountryCodeSelectComponent, deps: [{ token: WLCM_COUNTRY_CODE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
218
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.1.4", type: WlcmCountryCodeSelectComponent, isStandalone: true, selector: "wlcm-country-code-select", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { changed: "changed" }, host: { classAttribute: "wlcm-country-code-select" }, viewQueries: [{ propertyName: "wlcmSelect", first: true, predicate: WlcmSelectComponent, descendants: true }], ngImport: i0, template: "<wlcm-select\n [options]=\"options\"\n [formControl]=\"control()\"\n [optionTemplate]=\"optionTemplate\"\n [triggerTemplate]=\"triggerTemplate\"\n (selectionChange)=\"changed.emit($event)\"\n></wlcm-select>\n\n<ng-template #optionTemplate let-option>\n <span class=\"emoji-flag\">{{ option.emojiFlag }}</span>\n\n {{ option.viewValue }}\n</ng-template>\n\n<ng-template #triggerTemplate let-selected>\n <div class=\"wlcm-country-code-select-trigger\">\n +{{ selected?.value | phoneCode }}\n </div>\n</ng-template>\n", styles: [".emoji-flag{font-size:20px;vertical-align:bottom;margin-right:8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: WlcmFormsModule }, { kind: "component", type: i1.WlcmSelectComponent, selector: "wlcm-select", inputs: ["multiple", "placeholder", "fetchPaginatedOptions", "canSelect", "queryParams", "paginated", "options", "selectOptionFormat", "optionTemplate", "triggerTemplate", "isOptionDisabled"], outputs: ["selectionChange", "opened", "closed"] }, { 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"] }, { kind: "pipe", type: PhoneCodePipe, name: "phoneCode" }] }); }
|
|
219
219
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmCountryCodeSelectComponent, decorators: [{
|
|
221
221
|
type: Component,
|
|
222
222
|
args: [{ selector: 'wlcm-country-code-select', host: { class: 'wlcm-country-code-select' }, standalone: true, imports: [CommonModule, WlcmFormsModule, ReactiveFormsModule, PhoneCodePipe], template: "<wlcm-select\n [options]=\"options\"\n [formControl]=\"control()\"\n [optionTemplate]=\"optionTemplate\"\n [triggerTemplate]=\"triggerTemplate\"\n (selectionChange)=\"changed.emit($event)\"\n></wlcm-select>\n\n<ng-template #optionTemplate let-option>\n <span class=\"emoji-flag\">{{ option.emojiFlag }}</span>\n\n {{ option.viewValue }}\n</ng-template>\n\n<ng-template #triggerTemplate let-selected>\n <div class=\"wlcm-country-code-select-trigger\">\n +{{ selected?.value | phoneCode }}\n </div>\n</ng-template>\n", styles: [".emoji-flag{font-size:20px;vertical-align:bottom;margin-right:8px}\n"] }]
|
|
223
223
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -286,8 +286,8 @@ let WlcmPhoneInputContainerComponent = class WlcmPhoneInputContainerComponent {
|
|
|
286
286
|
.subscribe();
|
|
287
287
|
});
|
|
288
288
|
}
|
|
289
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
290
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.
|
|
289
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmPhoneInputContainerComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
290
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmPhoneInputContainerComponent, isStandalone: true, selector: "wlcm-phone-input-container", host: { classAttribute: "wlcm-phone-input-container" }, providers: [
|
|
291
291
|
{
|
|
292
292
|
provide: WLCM_INPUT_BINDER,
|
|
293
293
|
useFactory: () => {
|
|
@@ -302,7 +302,7 @@ WlcmPhoneInputContainerComponent = __decorate([
|
|
|
302
302
|
UntilDestroy(),
|
|
303
303
|
__metadata("design:paramtypes", [NgZone])
|
|
304
304
|
], WlcmPhoneInputContainerComponent);
|
|
305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmPhoneInputContainerComponent, decorators: [{
|
|
306
306
|
type: Component,
|
|
307
307
|
args: [{ selector: 'wlcm-phone-input-container', host: { class: 'wlcm-phone-input-container' }, standalone: true, imports: [CommonModule, WlcmCountryCodeSelectComponent], providers: [
|
|
308
308
|
{
|
|
@@ -325,11 +325,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
325
325
|
const publicComponents = [WlcmPhoneInputContainerComponent];
|
|
326
326
|
const publicDirectives = [WlcmPhoneInputDirective];
|
|
327
327
|
class WlcmPhoneInputModule {
|
|
328
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
329
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
330
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
328
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmPhoneInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
329
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: WlcmPhoneInputModule, imports: [CommonModule, WlcmPhoneInputContainerComponent, WlcmPhoneInputDirective], exports: [WlcmPhoneInputContainerComponent, WlcmPhoneInputDirective] }); }
|
|
330
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmPhoneInputModule, imports: [CommonModule, publicComponents] }); }
|
|
331
331
|
}
|
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmPhoneInputModule, decorators: [{
|
|
333
333
|
type: NgModule,
|
|
334
334
|
args: [{
|
|
335
335
|
imports: [CommonModule, ...publicComponents, ...publicDirectives],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter,
|
|
2
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
3
3
|
import { DEFAULT_QUERY_PARAMS, WlcmIconName, WlcmIconDirective } from '@wlcm/angular/core';
|
|
4
4
|
import { BehaviorSubject, skip, debounceTime } from 'rxjs';
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
@@ -24,10 +24,10 @@ class WlcmSearchFieldComponent {
|
|
|
24
24
|
this.queryParamsChange.emit(this.queryParams);
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmSearchFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmSearchFieldComponent, isStandalone: true, selector: "wlcm-search-field", inputs: { placeholder: "placeholder", queryParams: "queryParams" }, outputs: { queryParamsChange: "queryParamsChange" }, host: { classAttribute: "wlcm-search-field" }, ngImport: i0, template: "<wlcm-form-field>\n <ng-container\n [wlcmIcon]=\"WlcmIconName.SEARCH\"\n wlcmFormFieldPrefix\n ></ng-container>\n\n <input\n #field\n wlcmInput\n type=\"text\"\n class=\"wlcm-search-field__input\"\n [placeholder]=\"placeholder\"\n [value]=\"queryParams.query\"\n (input)=\"_inputValue$.next(field.value)\"\n />\n</wlcm-form-field>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: WlcmFormsModule }, { kind: "component", type: i1.WlcmFormFieldComponent, selector: "wlcm-form-field", inputs: ["displayErrorMessages"] }, { kind: "directive", type: i1.WlcmInputDirective, selector: "[wlcmInput]" }, { kind: "directive", type: i1.WlcmFormFieldPrefixDirective, selector: "[wlcmFormFieldPrefix]" }, { kind: "directive", type: WlcmIconDirective, selector: "[wlcmIcon]", inputs: ["wlcmIcon", "wlcmIconStopPropagation"], outputs: ["wlcmIconClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmSearchFieldComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{ selector: 'wlcm-search-field', standalone: true, host: { class: 'wlcm-search-field' }, imports: [CommonModule, WlcmFormsModule, WlcmIconDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<wlcm-form-field>\n <ng-container\n [wlcmIcon]=\"WlcmIconName.SEARCH\"\n wlcmFormFieldPrefix\n ></ng-container>\n\n <input\n #field\n wlcmInput\n type=\"text\"\n class=\"wlcm-search-field__input\"\n [placeholder]=\"placeholder\"\n [value]=\"queryParams.query\"\n (input)=\"_inputValue$.next(field.value)\"\n />\n</wlcm-form-field>\n" }]
|
|
33
33
|
}], propDecorators: { placeholder: [{
|
|
@@ -39,11 +39,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
39
39
|
}] } });
|
|
40
40
|
|
|
41
41
|
class WlcmSearchFieldModule {
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
43
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
44
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmSearchFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
43
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: WlcmSearchFieldModule, imports: [CommonModule, WlcmSearchFieldComponent], exports: [WlcmSearchFieldComponent] }); }
|
|
44
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmSearchFieldModule, imports: [CommonModule, WlcmSearchFieldComponent] }); }
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmSearchFieldModule, decorators: [{
|
|
47
47
|
type: NgModule,
|
|
48
48
|
args: [{
|
|
49
49
|
declarations: [],
|
|
@@ -2,7 +2,7 @@ import { __decorate, __metadata } from 'tslib';
|
|
|
2
2
|
import * as i1 from '@angular/common';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { InjectionToken, contentChildren, effect, ChangeDetectorRef, Directive, input, ElementRef,
|
|
5
|
+
import { InjectionToken, contentChildren, effect, ChangeDetectorRef, Directive, input, ElementRef, Component, Inject, HostBinding, Input, forwardRef, NgZone, TemplateRef, ViewContainerRef, NgModule } from '@angular/core';
|
|
6
6
|
import { Subject, BehaviorSubject, filter, skip, takeUntil, combineLatest, distinctUntilChanged, map, switchMap, of } from 'rxjs';
|
|
7
7
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
8
8
|
|
|
@@ -112,14 +112,14 @@ let WlcmStepperBase = class WlcmStepperBase extends WlcmStepsNavigator {
|
|
|
112
112
|
this._minIncompleteStepIndex$.next(minIndex !== Infinity ? minIndex : -1);
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
116
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.
|
|
115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperBase, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
116
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.1.4", type: WlcmStepperBase, isStandalone: true, queries: [{ propertyName: "_steps", predicate: WLCM_STEP, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 }); }
|
|
117
117
|
};
|
|
118
118
|
WlcmStepperBase = __decorate([
|
|
119
119
|
UntilDestroy(),
|
|
120
120
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
|
121
121
|
], WlcmStepperBase);
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperBase, decorators: [{
|
|
123
123
|
type: Directive
|
|
124
124
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });
|
|
125
125
|
|
|
@@ -172,14 +172,14 @@ let WlcmStepHeaderComponent = class WlcmStepHeaderComponent {
|
|
|
172
172
|
this.element.classList.remove('wlcm-step-header-disabled');
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
176
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.
|
|
175
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepHeaderComponent, deps: [{ token: i0.ElementRef }, { token: WLCM_STEPS_NAVIGATOR }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
176
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.1.4", type: WlcmStepHeaderComponent, isStandalone: true, selector: "wlcm-step-header", inputs: { step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class.wlcm-step-header-passed": "this.isPassed", "class.wlcm-step-header-completed": "this.isCompleted" }, classAttribute: "wlcm-step-header" }, ngImport: i0, template: "<button class=\"wlcm-step-header-button\" (click)=\"activate()\">\n <span class=\"wlcm-step-header-label\">{{ step().label$ | async }}</span>\n\n <div class=\"wlcm-step-header-progress-bar\">\n <div class=\"wlcm-step-header-complete-indicator\"></div>\n\n <div class=\"wlcm-step-header-pass-indicator\"></div>\n </div>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
177
177
|
};
|
|
178
178
|
WlcmStepHeaderComponent = __decorate([
|
|
179
179
|
UntilDestroy(),
|
|
180
180
|
__metadata("design:paramtypes", [ElementRef, WlcmStepsNavigator])
|
|
181
181
|
], WlcmStepHeaderComponent);
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepHeaderComponent, decorators: [{
|
|
183
183
|
type: Component,
|
|
184
184
|
args: [{ selector: 'wlcm-step-header', host: { class: 'wlcm-step-header' }, standalone: true, imports: [CommonModule], template: "<button class=\"wlcm-step-header-button\" (click)=\"activate()\">\n <span class=\"wlcm-step-header-label\">{{ step().label$ | async }}</span>\n\n <div class=\"wlcm-step-header-progress-bar\">\n <div class=\"wlcm-step-header-complete-indicator\"></div>\n\n <div class=\"wlcm-step-header-pass-indicator\"></div>\n </div>\n</button>\n" }]
|
|
185
185
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: WlcmStepsNavigator, decorators: [{
|
|
@@ -234,10 +234,10 @@ class WlcmStepBase extends WlcmStep {
|
|
|
234
234
|
this.disabled = this.options.hasOwnProperty('completed') ? this.options.completed : false;
|
|
235
235
|
this.disabled = this.options.hasOwnProperty('disabled') ? this.options.disabled : 'on_any_previous_incomplete';
|
|
236
236
|
}
|
|
237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
238
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
238
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: WlcmStepBase, isStandalone: true, inputs: { key: "key", label: "label", completed: "completed", disabled: "disabled" }, usesInheritance: true, ngImport: i0 }); }
|
|
239
239
|
}
|
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepBase, decorators: [{
|
|
241
241
|
type: Directive
|
|
242
242
|
}], ctorParameters: () => [{ type: undefined }], propDecorators: { key: [{
|
|
243
243
|
type: Input
|
|
@@ -272,8 +272,8 @@ let WlcmStepComponent = class WlcmStepComponent extends WlcmStepBase {
|
|
|
272
272
|
this.element.classList.remove('wlcm-step-active');
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
276
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.
|
|
275
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: WLCM_STEP_OPTIONS }, { token: WLCM_STEPS_NAVIGATOR }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
276
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmStepComponent, isStandalone: true, selector: "wlcm-step", host: { classAttribute: "wlcm-step" }, providers: [{ provide: WLCM_STEP, useExisting: forwardRef(() => WlcmStepComponent) }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
277
277
|
};
|
|
278
278
|
WlcmStepComponent = __decorate([
|
|
279
279
|
UntilDestroy(),
|
|
@@ -281,7 +281,7 @@ WlcmStepComponent = __decorate([
|
|
|
281
281
|
ElementRef,
|
|
282
282
|
ChangeDetectorRef, Object, WlcmStepsNavigator])
|
|
283
283
|
], WlcmStepComponent);
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepComponent, decorators: [{
|
|
285
285
|
type: Component,
|
|
286
286
|
args: [{ selector: 'wlcm-step', host: { class: 'wlcm-step' }, standalone: true, imports: [CommonModule], providers: [{ provide: WLCM_STEP, useExisting: forwardRef(() => WlcmStepComponent) }], template: "<ng-content></ng-content>\n" }]
|
|
287
287
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
@@ -296,19 +296,19 @@ class WlcmStepperHeaderComponent {
|
|
|
296
296
|
constructor() {
|
|
297
297
|
this.steps = input.required();
|
|
298
298
|
}
|
|
299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
300
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.
|
|
299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
300
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.4", type: WlcmStepperHeaderComponent, isStandalone: true, selector: "wlcm-stepper-header", inputs: { steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "wlcm-stepper-header" }, ngImport: i0, template: "@for (step of steps(); track step) {\n<wlcm-step-header [step]=\"step\"></wlcm-step-header>\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: WlcmStepHeaderComponent, selector: "wlcm-step-header", inputs: ["step"] }] }); }
|
|
301
301
|
}
|
|
302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperHeaderComponent, decorators: [{
|
|
303
303
|
type: Component,
|
|
304
304
|
args: [{ selector: 'wlcm-stepper-header', host: { class: 'wlcm-stepper-header' }, standalone: true, imports: [CommonModule, WlcmStepHeaderComponent], template: "@for (step of steps(); track step) {\n<wlcm-step-header [step]=\"step\"></wlcm-step-header>\n}\n" }]
|
|
305
305
|
}] });
|
|
306
306
|
|
|
307
307
|
class WlcmStepperComponent extends WlcmStepperBase {
|
|
308
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
309
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.
|
|
308
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
309
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmStepperComponent, isStandalone: true, selector: "wlcm-stepper", host: { classAttribute: "wlcm-stepper" }, providers: [{ provide: WLCM_STEPS_NAVIGATOR, useExisting: forwardRef(() => WlcmStepperComponent) }], usesInheritance: true, ngImport: i0, template: "<wlcm-stepper-header [steps]=\"_steps()\"></wlcm-stepper-header>\n\n<ng-content select=\"wlcm-step\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: WlcmStepperHeaderComponent, selector: "wlcm-stepper-header", inputs: ["steps"] }] }); }
|
|
310
310
|
}
|
|
311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperComponent, decorators: [{
|
|
312
312
|
type: Component,
|
|
313
313
|
args: [{ selector: 'wlcm-stepper', host: { class: 'wlcm-stepper' }, standalone: true, imports: [CommonModule, WlcmStepperHeaderComponent], providers: [{ provide: WLCM_STEPS_NAVIGATOR, useExisting: forwardRef(() => WlcmStepperComponent) }], template: "<wlcm-stepper-header [steps]=\"_steps()\"></wlcm-stepper-header>\n\n<ng-content select=\"wlcm-step\"></ng-content>\n" }]
|
|
314
314
|
}] });
|
|
@@ -329,8 +329,8 @@ let WlcmLoadOnActiveStepDirective = class WlcmLoadOnActiveStepDirective {
|
|
|
329
329
|
}
|
|
330
330
|
});
|
|
331
331
|
}
|
|
332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
333
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
332
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmLoadOnActiveStepDirective, deps: [{ token: WLCM_STEP }, { token: WLCM_STEPS_NAVIGATOR }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
333
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: WlcmLoadOnActiveStepDirective, isStandalone: true, selector: "[wlcmLoadOnActiveStep]", ngImport: i0 }); }
|
|
334
334
|
};
|
|
335
335
|
WlcmLoadOnActiveStepDirective = __decorate([
|
|
336
336
|
UntilDestroy(),
|
|
@@ -339,7 +339,7 @@ WlcmLoadOnActiveStepDirective = __decorate([
|
|
|
339
339
|
TemplateRef,
|
|
340
340
|
ViewContainerRef])
|
|
341
341
|
], WlcmLoadOnActiveStepDirective);
|
|
342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmLoadOnActiveStepDirective, decorators: [{
|
|
343
343
|
type: Directive,
|
|
344
344
|
args: [{
|
|
345
345
|
selector: '[wlcmLoadOnActiveStep]',
|
|
@@ -361,17 +361,17 @@ const publicComponents = [
|
|
|
361
361
|
];
|
|
362
362
|
const publicDirectives = [WlcmLoadOnActiveStepDirective];
|
|
363
363
|
class WlcmStepperModule {
|
|
364
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
365
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
364
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
365
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperModule, imports: [CommonModule, WlcmStepComponent,
|
|
366
366
|
WlcmStepperComponent,
|
|
367
367
|
WlcmStepHeaderComponent,
|
|
368
368
|
WlcmStepperHeaderComponent, WlcmLoadOnActiveStepDirective], exports: [WlcmStepComponent,
|
|
369
369
|
WlcmStepperComponent,
|
|
370
370
|
WlcmStepHeaderComponent,
|
|
371
371
|
WlcmStepperHeaderComponent, WlcmLoadOnActiveStepDirective] }); }
|
|
372
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
372
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperModule, imports: [CommonModule, publicComponents] }); }
|
|
373
373
|
}
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmStepperModule, decorators: [{
|
|
375
375
|
type: NgModule,
|
|
376
376
|
args: [{
|
|
377
377
|
imports: [CommonModule, ...publicComponents, ...publicDirectives],
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use '../../core/utils'
|
|
2
|
+
@use '../../core/utils';
|
|
3
|
+
@use 'partials/dropdown-panel';
|
|
3
4
|
|
|
4
5
|
@mixin theme($theme-config) {
|
|
5
6
|
$theme: utils.using-theme($theme_config);
|
|
@@ -22,8 +23,11 @@
|
|
|
22
23
|
|
|
23
24
|
.spinner {
|
|
24
25
|
font-size: 18px;
|
|
25
|
-
font-size: 18px;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
+
|
|
30
|
+
.wlcm-autocomplete-panel {
|
|
31
|
+
@include dropdown-panel.theme($theme-config);
|
|
32
|
+
}
|
|
29
33
|
}
|
|
@@ -4,76 +4,69 @@
|
|
|
4
4
|
@mixin theme($theme-config) {
|
|
5
5
|
$theme: utils.using-theme($theme_config);
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.mat-ripple,
|
|
13
|
-
.mdc-checkbox__ripple {
|
|
14
|
-
display: none !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mdc-checkbox__background {
|
|
18
|
-
width: 16px;
|
|
19
|
-
height: 16px;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
top: 0 !important;
|
|
22
|
-
left: 0 !important;
|
|
23
|
-
background: #ffffff !important;
|
|
24
|
-
border: 1px solid map-get($theme, field-outline-color) !important;
|
|
25
|
-
border-radius: 4px;
|
|
7
|
+
.wlcm-checkbox {
|
|
8
|
+
mat-checkbox {
|
|
9
|
+
.mdc-checkbox {
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
26
12
|
|
|
27
|
-
.
|
|
28
|
-
|
|
13
|
+
.mat-ripple,
|
|
14
|
+
.mdc-checkbox__ripple {
|
|
15
|
+
display: none;
|
|
29
16
|
}
|
|
30
|
-
}
|
|
31
17
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
18
|
+
.mdc-checkbox__background {
|
|
19
|
+
$border-color: map-get($theme, field-outline-color);
|
|
20
|
+
--mdc-checkbox-unselected-focus-icon-color: #{$border-color};
|
|
21
|
+
width: 16px;
|
|
22
|
+
height: 16px;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
top: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
border: 1px solid $border-color;
|
|
27
|
+
border-radius: 4px;
|
|
37
28
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
line-height: 24px;
|
|
43
|
-
user-select: none;
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
}
|
|
29
|
+
.mdc-checkbox__checkmark {
|
|
30
|
+
transition: 0s;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
46
33
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
34
|
+
.mdc-checkbox__checkmark-path {
|
|
35
|
+
stroke-width: 3px;
|
|
36
|
+
stroke: map-get($theme, primary-color);
|
|
37
|
+
d: path('M 5 11.7 L 11 16.6 L 19 7');
|
|
51
38
|
}
|
|
52
|
-
}
|
|
53
39
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
40
|
+
label {
|
|
41
|
+
padding-left: 8px;
|
|
42
|
+
padding-bottom: 2px;
|
|
43
|
+
letter-spacing: 0.41px;
|
|
44
|
+
line-height: 24px;
|
|
45
|
+
user-select: none;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
}
|
|
61
48
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
49
|
+
.mdc-checkbox__native-control {
|
|
50
|
+
top: 0;
|
|
51
|
+
left: 0;
|
|
52
|
+
height: auto;
|
|
53
|
+
width: auto;
|
|
54
|
+
}
|
|
68
55
|
|
|
69
|
-
|
|
70
|
-
|
|
56
|
+
// States
|
|
57
|
+
&:hover {
|
|
58
|
+
.mdc-checkbox__background {
|
|
59
|
+
$border-hover-color: map-get($theme, text-black-color);
|
|
60
|
+
--mdc-checkbox-unselected-focus-icon-color: #{$border-hover-color};
|
|
61
|
+
border-color: $border-hover-color;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
71
64
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
65
|
+
&.mat-mdc-checkbox-checked {
|
|
66
|
+
.mdc-checkbox__background {
|
|
67
|
+
border-color: map-get($theme, primary-color) !important;
|
|
68
|
+
background-color: #ffffff !important;
|
|
69
|
+
}
|
|
77
70
|
}
|
|
78
71
|
}
|
|
79
72
|
}
|
|
@@ -4,10 +4,6 @@
|
|
|
4
4
|
@mixin theme($theme-config) {
|
|
5
5
|
$theme: utils.using-theme($theme_config);
|
|
6
6
|
|
|
7
|
-
input {
|
|
8
|
-
color: map-get($theme, field-text-color);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
7
|
.wlcm-form-field {
|
|
12
8
|
display: block;
|
|
13
9
|
|
|
@@ -86,6 +82,7 @@
|
|
|
86
82
|
font-size: 14px;
|
|
87
83
|
letter-spacing: 0.41px;
|
|
88
84
|
font-family: map-get($theme, regular-font-family);
|
|
85
|
+
color: map-get($theme, field-text-color);
|
|
89
86
|
|
|
90
87
|
&:disabled {
|
|
91
88
|
background-color: inherit;
|
|
@@ -4,62 +4,75 @@
|
|
|
4
4
|
@mixin theme($theme-config) {
|
|
5
5
|
$theme: utils.using-theme($theme_config);
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.mat-mdc-radio-button {
|
|
12
|
-
label {
|
|
13
|
-
font-size: 14px;
|
|
14
|
-
font-family: map-get($theme, regular-font-family);
|
|
15
|
-
color: map-get($theme, text-black-color);
|
|
16
|
-
-webkit-font-smoothing: initial !important;
|
|
17
|
-
font-weight: normal;
|
|
7
|
+
// TODO replace with `wlcm-radio-group`
|
|
8
|
+
.wlcm-form-field {
|
|
9
|
+
.mat-mdc-radio-group {
|
|
10
|
+
display: grid;
|
|
18
11
|
}
|
|
19
12
|
|
|
20
|
-
.mat-mdc-radio-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
.mat-mdc-radio-button {
|
|
14
|
+
label {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
font-size: 14px;
|
|
17
|
+
font-family: map-get($theme, regular-font-family);
|
|
18
|
+
color: map-get($theme, text-black-color);
|
|
19
|
+
-webkit-font-smoothing: initial;
|
|
20
|
+
font-weight: normal;
|
|
21
|
+
}
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
.mat-mdc-radio-touch-target {
|
|
24
|
+
width: 22px;
|
|
25
|
+
height: 22px;
|
|
26
|
+
}
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
width: 16px
|
|
32
|
-
height: 16px
|
|
28
|
+
.mdc-radio {
|
|
29
|
+
width: 16px;
|
|
30
|
+
height: 16px;
|
|
31
|
+
padding: 6px 6px 6px 0;
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
display: none
|
|
33
|
+
.mat-ripple {
|
|
34
|
+
display: none;
|
|
36
35
|
}
|
|
37
|
-
}
|
|
38
36
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
}
|
|
37
|
+
&__background {
|
|
38
|
+
width: 16px;
|
|
39
|
+
height: 16px;
|
|
44
40
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
&::before {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__inner-circle {
|
|
47
|
+
top: -2px;
|
|
48
|
+
left: -2px;
|
|
49
|
+
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
&__outer-circle {
|
|
52
|
+
$border-color: map-get($theme, field-outline-color);
|
|
53
|
+
--mdc-radio-unselected-icon-color: #{$border-color};
|
|
54
|
+
border: 1px solid $border-color;
|
|
55
|
+
}
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
// States
|
|
59
|
+
.mdc-form-field:hover {
|
|
60
|
+
.mdc-radio__outer-circle {
|
|
61
|
+
$border-hover-color: map-get($theme, text-black-color);
|
|
62
|
+
--mdc-radio-unselected-icon-color: #{$border-hover-color};
|
|
63
|
+
border: 1px solid $border-hover-color;
|
|
64
|
+
}
|
|
58
65
|
}
|
|
59
|
-
}
|
|
60
66
|
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
&.mat-mdc-radio-checked {
|
|
68
|
+
.mdc-radio__outer-circle {
|
|
69
|
+
border-width: 1px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.mdc-radio__inner-circle {
|
|
73
|
+
transform: scale(0.4) !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
63
76
|
}
|
|
64
77
|
}
|
|
65
78
|
}
|