@registrucentras/rc-ses-angular-components 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -31
- package/esm2022/lib/components/accordion/accordion.mjs +40 -0
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.mjs +43 -0
- package/esm2022/lib/components/button/button.mjs +43 -0
- package/esm2022/lib/components/divider/divider.mjs +23 -0
- package/esm2022/lib/components/form/form-field/form-field.mjs +105 -0
- package/esm2022/lib/components/form/input/agreement-checkbox/agreement-checkbox.mjs +102 -0
- package/esm2022/lib/components/form/input/input/input.mjs +38 -0
- package/esm2022/lib/components/form/input/number-stepper/number-stepper.mjs +112 -0
- package/esm2022/lib/components/form/input/radio-button-group/radio-button-group.mjs +111 -0
- package/esm2022/lib/components/form/input/select/select.mjs +164 -0
- package/esm2022/lib/components/icons/icons.module.mjs +33 -0
- package/esm2022/lib/components/layout/service-form-actions/service-form-actions.mjs +48 -0
- package/esm2022/lib/components/layout/service-form-container/service-form-container.mjs +48 -0
- package/esm2022/lib/components/layout/service-header/service-header.mjs +50 -0
- package/esm2022/lib/components/layout/service-page/service-page.mjs +41 -0
- package/esm2022/lib/components/layout/service-wizard-steps/service-wizard-steps.mjs +43 -0
- package/esm2022/lib/components/message/message.mjs +62 -0
- package/esm2022/public-api.mjs +19 -0
- package/esm2022/registrucentras-rc-ses-angular-components.mjs +5 -0
- package/fesm2022/registrucentras-rc-ses-angular-components.mjs +1008 -0
- package/fesm2022/registrucentras-rc-ses-angular-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/accordion/accordion.d.ts +18 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts +18 -0
- package/lib/components/button/button.d.ts +15 -0
- package/lib/components/divider/divider.d.ts +5 -0
- package/lib/components/form/form-field/form-field.d.ts +29 -0
- package/lib/components/form/input/agreement-checkbox/agreement-checkbox.d.ts +28 -0
- package/lib/components/form/input/input/input.d.ts +14 -0
- package/lib/components/form/input/number-stepper/number-stepper.d.ts +33 -0
- package/lib/components/form/input/radio-button-group/radio-button-group.d.ts +38 -0
- package/lib/components/form/input/select/select.d.ts +47 -0
- package/lib/components/icons/icons.module.d.ts +10 -0
- package/lib/components/layout/service-form-actions/service-form-actions.d.ts +16 -0
- package/lib/components/layout/service-form-container/service-form-container.d.ts +18 -0
- package/lib/components/layout/service-header/service-header.d.ts +23 -0
- package/lib/components/layout/service-page/service-page.d.ts +16 -0
- package/lib/components/layout/service-wizard-steps/service-wizard-steps.d.ts +18 -0
- package/lib/components/message/message.d.ts +23 -0
- package/package.json +39 -36
- package/{projects/rc-ses/angular-components/src/public-api.ts → public-api.d.ts} +15 -22
- package/{projects/rc-ses/angular-components/src → src}/lib/theme/index.scss +65 -65
- package/{projects/rc-ses/angular-components/src → src}/lib/theme/palette.scss +183 -183
- package/{projects/rc-ses/angular-components/src → src}/lib/theme/theme.scss +24 -24
- package/{projects/rc-ses/angular-components/src → src}/lib/theme/typography.scss +63 -63
- package/.editorconfig +0 -17
- package/.gitattributes +0 -1
- package/.github/workflows/build-and-publish.yml +0 -50
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/RELEASE_NOTES.md +0 -29
- package/angular.json +0 -173
- package/karma.conf.js +0 -53
- package/projects/app/public/favicon.ico +0 -0
- package/projects/app/src/app/app.component.html +0 -3
- package/projects/app/src/app/app.component.scss +0 -0
- package/projects/app/src/app/app.component.ts +0 -20
- package/projects/app/src/app/app.config.ts +0 -33
- package/projects/app/src/app/app.routes.ts +0 -16
- package/projects/app/src/app/landing-page/landing-page.html +0 -20
- package/projects/app/src/app/landing-page/landing-page.scss +0 -0
- package/projects/app/src/app/landing-page/landing-page.ts +0 -37
- package/projects/app/src/app/sample-form-multiple-steps/sample-form-multiple-steps.html +0 -283
- package/projects/app/src/app/sample-form-multiple-steps/sample-form-multiple-steps.scss +0 -0
- package/projects/app/src/app/sample-form-multiple-steps/sample-form-multiple-steps.ts +0 -223
- package/projects/app/src/app/sample-form-single-step/sample-form-single-step.html +0 -271
- package/projects/app/src/app/sample-form-single-step/sample-form-single-step.scss +0 -0
- package/projects/app/src/app/sample-form-single-step/sample-form-single-step.ts +0 -142
- package/projects/app/src/index.html +0 -18
- package/projects/app/src/main.ts +0 -6
- package/projects/app/tsconfig.app.json +0 -15
- package/projects/app/tsconfig.spec.json +0 -15
- package/projects/rc-ses/angular-components/README.md +0 -31
- package/projects/rc-ses/angular-components/ng-package.json +0 -13
- package/projects/rc-ses/angular-components/package-lock.json +0 -224
- package/projects/rc-ses/angular-components/package.json +0 -40
- package/projects/rc-ses/angular-components/src/lib/components/accordion/accordion.scss +0 -71
- package/projects/rc-ses/angular-components/src/lib/components/accordion/accordion.ts +0 -31
- package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.html +0 -7
- package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.scss +0 -54
- package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.ts +0 -40
- package/projects/rc-ses/angular-components/src/lib/components/button/button.scss +0 -248
- package/projects/rc-ses/angular-components/src/lib/components/button/button.spec.ts +0 -46
- package/projects/rc-ses/angular-components/src/lib/components/button/button.ts +0 -34
- package/projects/rc-ses/angular-components/src/lib/components/divider/divider.scss +0 -18
- package/projects/rc-ses/angular-components/src/lib/components/divider/divider.ts +0 -16
- package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.html +0 -11
- package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.scss +0 -149
- package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.ts +0 -87
- package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.html +0 -10
- package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.scss +0 -36
- package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.ts +0 -89
- package/projects/rc-ses/angular-components/src/lib/components/form/input/checkbox/checkbox.scss +0 -132
- package/projects/rc-ses/angular-components/src/lib/components/form/input/datepicker/datepicker.scss +0 -18
- package/projects/rc-ses/angular-components/src/lib/components/form/input/input/input.scss +0 -66
- package/projects/rc-ses/angular-components/src/lib/components/form/input/input/input.ts +0 -31
- package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.html +0 -30
- package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.scss +0 -88
- package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.ts +0 -103
- package/projects/rc-ses/angular-components/src/lib/components/form/input/radio/radio.scss +0 -85
- package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.html +0 -7
- package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.scss +0 -87
- package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.ts +0 -101
- package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.html +0 -40
- package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.scss +0 -153
- package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.ts +0 -155
- package/projects/rc-ses/angular-components/src/lib/components/icons/icons.module.ts +0 -61
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.html +0 -19
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.scss +0 -64
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.ts +0 -45
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.html +0 -16
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.scss +0 -32
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.ts +0 -43
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.html +0 -5
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.scss +0 -35
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.ts +0 -48
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.html +0 -14
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.scss +0 -38
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.ts +0 -37
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.html +0 -18
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.scss +0 -93
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.ts +0 -41
- package/projects/rc-ses/angular-components/src/lib/components/message/message.html +0 -39
- package/projects/rc-ses/angular-components/src/lib/components/message/message.scss +0 -141
- package/projects/rc-ses/angular-components/src/lib/components/message/message.ts +0 -52
- package/projects/rc-ses/angular-components/src/styles.scss +0 -40
- package/projects/rc-ses/angular-components/src/test.ts +0 -14
- package/projects/rc-ses/angular-components/tsconfig.lib.json +0 -15
- package/projects/rc-ses/angular-components/tsconfig.lib.prod.json +0 -11
- package/tsconfig.json +0 -37
- package/tsconfig.spec.json +0 -18
|
@@ -0,0 +1,1008 @@
|
|
|
1
|
+
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Directive, Inject, Input, Component, booleanAttribute, forwardRef, ViewChild, ContentChildren, ElementRef, ContentChild, model, contentChild, NgModule, ChangeDetectionStrategy } from '@angular/core';
|
|
4
|
+
import * as i2 from '@angular/material/list';
|
|
5
|
+
import { MatListModule } from '@angular/material/list';
|
|
6
|
+
import { RouterLink } from '@angular/router';
|
|
7
|
+
import * as i1 from '@angular/material/divider';
|
|
8
|
+
import { MatDividerModule } from '@angular/material/divider';
|
|
9
|
+
import * as i1$1 from '@angular/forms';
|
|
10
|
+
import { ControlContainer, NG_VALUE_ACCESSOR, FormControlDirective, FormsModule, ReactiveFormsModule, FormGroupDirective } from '@angular/forms';
|
|
11
|
+
import * as i3 from '@angular/material/form-field';
|
|
12
|
+
import { MatFormFieldModule, MatFormFieldControl, MatFormField, MatLabel, MatError } from '@angular/material/form-field';
|
|
13
|
+
import * as i5 from '@angular/material/input';
|
|
14
|
+
import { MatInputModule, MatInput } from '@angular/material/input';
|
|
15
|
+
import * as i1$3 from '@angular/material/icon';
|
|
16
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
17
|
+
import * as i1$2 from '@angular/material/button';
|
|
18
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
19
|
+
import * as i2$1 from '@angular/material/checkbox';
|
|
20
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
21
|
+
import * as i6 from '@angular/material/core';
|
|
22
|
+
import { MatCommonModule, MatOption, MatOptionModule } from '@angular/material/core';
|
|
23
|
+
import { MatExpansionModule, MatAccordion } from '@angular/material/expansion';
|
|
24
|
+
import * as i2$2 from '@angular/material/radio';
|
|
25
|
+
import { MatRadioButton, MatRadioModule } from '@angular/material/radio';
|
|
26
|
+
import * as i7 from '@angular/material/select';
|
|
27
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
28
|
+
import * as i2$3 from '@angular/material/card';
|
|
29
|
+
import { MatCardModule } from '@angular/material/card';
|
|
30
|
+
import * as i2$4 from '@angular/platform-browser';
|
|
31
|
+
|
|
32
|
+
class RcSesAccordionDirective {
|
|
33
|
+
_document;
|
|
34
|
+
_el;
|
|
35
|
+
_renderer;
|
|
36
|
+
path = [];
|
|
37
|
+
initialized;
|
|
38
|
+
constructor(_document, _el, _renderer) {
|
|
39
|
+
this._document = _document;
|
|
40
|
+
this._el = _el;
|
|
41
|
+
this._renderer = _renderer;
|
|
42
|
+
}
|
|
43
|
+
ngOnInit() { }
|
|
44
|
+
ngAfterViewInit() {
|
|
45
|
+
this.initialized = true;
|
|
46
|
+
}
|
|
47
|
+
ngOnDestroy() {
|
|
48
|
+
this.initialized = false;
|
|
49
|
+
}
|
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesAccordionDirective, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
51
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: RcSesAccordionDirective, isStandalone: true, selector: "[rc-ses-accordion]", inputs: { path: "path" }, host: { classAttribute: "rc-ses-element rc-ses-accordion" }, ngImport: i0 });
|
|
52
|
+
}
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesAccordionDirective, decorators: [{
|
|
54
|
+
type: Directive,
|
|
55
|
+
args: [{
|
|
56
|
+
selector: '[rc-ses-accordion]',
|
|
57
|
+
standalone: true,
|
|
58
|
+
host: {
|
|
59
|
+
class: 'rc-ses-element rc-ses-accordion'
|
|
60
|
+
},
|
|
61
|
+
}]
|
|
62
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
63
|
+
type: Inject,
|
|
64
|
+
args: [DOCUMENT]
|
|
65
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { path: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}] } });
|
|
68
|
+
|
|
69
|
+
class Breadcrumbs {
|
|
70
|
+
_document;
|
|
71
|
+
_el;
|
|
72
|
+
_renderer;
|
|
73
|
+
path = [];
|
|
74
|
+
initialized;
|
|
75
|
+
constructor(_document, _el, _renderer) {
|
|
76
|
+
this._document = _document;
|
|
77
|
+
this._el = _el;
|
|
78
|
+
this._renderer = _renderer;
|
|
79
|
+
}
|
|
80
|
+
ngOnInit() {
|
|
81
|
+
}
|
|
82
|
+
ngAfterViewInit() {
|
|
83
|
+
this.initialized = true;
|
|
84
|
+
}
|
|
85
|
+
ngOnDestroy() {
|
|
86
|
+
this.initialized = false;
|
|
87
|
+
}
|
|
88
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Breadcrumbs, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
89
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: Breadcrumbs, isStandalone: true, selector: "rc-ses-breadcrumbs", inputs: { path: "path" }, host: { classAttribute: "rc-ses-element rc-ses-breadcrumbs" }, ngImport: i0, template: "<mat-nav-list role=\"navigation\">\n @for (item of path; track $index) {\n <mat-list-item [activated]=\"$last\">\n <div matListItemTitle [routerLink]=\"item.path\">{{item.label}}</div>\n </mat-list-item>\n }\n</mat-nav-list>\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i2.MatListItemTitle, selector: "[matListItemTitle]" }] });
|
|
90
|
+
}
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Breadcrumbs, decorators: [{
|
|
92
|
+
type: Component,
|
|
93
|
+
args: [{ selector: 'rc-ses-breadcrumbs', standalone: true, imports: [
|
|
94
|
+
RouterLink,
|
|
95
|
+
MatListModule,
|
|
96
|
+
], host: {
|
|
97
|
+
class: 'rc-ses-element rc-ses-breadcrumbs'
|
|
98
|
+
}, template: "<mat-nav-list role=\"navigation\">\n @for (item of path; track $index) {\n <mat-list-item [activated]=\"$last\">\n <div matListItemTitle [routerLink]=\"item.path\">{{item.label}}</div>\n </mat-list-item>\n }\n</mat-nav-list>\n" }]
|
|
99
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
100
|
+
type: Inject,
|
|
101
|
+
args: [DOCUMENT]
|
|
102
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { path: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}] } });
|
|
105
|
+
|
|
106
|
+
class RcSesDividerComponent {
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RcSesDividerComponent, isStandalone: true, selector: "rc-ses-divider", host: { classAttribute: "rc-ses-element rc-ses-divider" }, ngImport: i0, template: `<mat-divider />`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }] });
|
|
109
|
+
}
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesDividerComponent, decorators: [{
|
|
111
|
+
type: Component,
|
|
112
|
+
args: [{
|
|
113
|
+
selector: 'rc-ses-divider',
|
|
114
|
+
standalone: true,
|
|
115
|
+
imports: [
|
|
116
|
+
MatDividerModule,
|
|
117
|
+
],
|
|
118
|
+
host: {
|
|
119
|
+
class: 'rc-ses-element rc-ses-divider',
|
|
120
|
+
},
|
|
121
|
+
template: `<mat-divider />`,
|
|
122
|
+
}]
|
|
123
|
+
}] });
|
|
124
|
+
|
|
125
|
+
class RcSesInputDirective {
|
|
126
|
+
_document;
|
|
127
|
+
_el;
|
|
128
|
+
_renderer;
|
|
129
|
+
initialized;
|
|
130
|
+
constructor(_document, _el, _renderer) {
|
|
131
|
+
this._document = _document;
|
|
132
|
+
this._el = _el;
|
|
133
|
+
this._renderer = _renderer;
|
|
134
|
+
}
|
|
135
|
+
ngOnInit() {
|
|
136
|
+
}
|
|
137
|
+
ngAfterViewInit() {
|
|
138
|
+
this.initialized = true;
|
|
139
|
+
}
|
|
140
|
+
ngOnDestroy() {
|
|
141
|
+
this.initialized = false;
|
|
142
|
+
}
|
|
143
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesInputDirective, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
144
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: RcSesInputDirective, isStandalone: true, selector: "[rc-ses-input]", host: { classAttribute: "rc-ses-element rc-ses-input" }, ngImport: i0 });
|
|
145
|
+
}
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesInputDirective, decorators: [{
|
|
147
|
+
type: Directive,
|
|
148
|
+
args: [{
|
|
149
|
+
selector: '[rc-ses-input]',
|
|
150
|
+
standalone: true,
|
|
151
|
+
host: {
|
|
152
|
+
class: 'rc-ses-element rc-ses-input'
|
|
153
|
+
},
|
|
154
|
+
}]
|
|
155
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
156
|
+
type: Inject,
|
|
157
|
+
args: [DOCUMENT]
|
|
158
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
159
|
+
|
|
160
|
+
class RcSesAgreementCheckboxComponent {
|
|
161
|
+
_document;
|
|
162
|
+
_element;
|
|
163
|
+
_renderer;
|
|
164
|
+
injector;
|
|
165
|
+
formControlDirective;
|
|
166
|
+
formControl;
|
|
167
|
+
formControlName;
|
|
168
|
+
description = '';
|
|
169
|
+
flat = false;
|
|
170
|
+
initialized = false;
|
|
171
|
+
constructor(_document, _element, _renderer, injector) {
|
|
172
|
+
this._document = _document;
|
|
173
|
+
this._element = _element;
|
|
174
|
+
this._renderer = _renderer;
|
|
175
|
+
this.injector = injector;
|
|
176
|
+
}
|
|
177
|
+
get controlContainer() {
|
|
178
|
+
return this.injector.get(ControlContainer);
|
|
179
|
+
}
|
|
180
|
+
get control() {
|
|
181
|
+
return this.formControl ||
|
|
182
|
+
(this.formControlName && this.controlContainer.control?.get(this.formControlName));
|
|
183
|
+
}
|
|
184
|
+
writeValue(obj) {
|
|
185
|
+
this.formControlDirective?.valueAccessor?.writeValue(obj);
|
|
186
|
+
}
|
|
187
|
+
registerOnChange(fn) {
|
|
188
|
+
this.formControlDirective?.valueAccessor?.registerOnChange(fn);
|
|
189
|
+
}
|
|
190
|
+
registerOnTouched(fn) {
|
|
191
|
+
this.formControlDirective?.valueAccessor?.registerOnTouched(fn);
|
|
192
|
+
}
|
|
193
|
+
ngOnChanges(_changes) { }
|
|
194
|
+
ngOnInit() { }
|
|
195
|
+
ngAfterViewInit() {
|
|
196
|
+
this.initialized = true;
|
|
197
|
+
}
|
|
198
|
+
ngOnDestroy() {
|
|
199
|
+
this.initialized = false;
|
|
200
|
+
}
|
|
201
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesAgreementCheckboxComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
202
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: RcSesAgreementCheckboxComponent, isStandalone: true, selector: "rc-ses-agreement-checkbox", inputs: { formControl: "formControl", formControlName: "formControlName", description: "description", flat: ["flat", "flat", booleanAttribute] }, host: { classAttribute: "rc-ses-element rc-ses-agreement-checkbox" }, providers: [
|
|
203
|
+
{
|
|
204
|
+
provide: NG_VALUE_ACCESSOR,
|
|
205
|
+
useExisting: forwardRef(() => RcSesAgreementCheckboxComponent),
|
|
206
|
+
multi: true
|
|
207
|
+
}
|
|
208
|
+
], viewQueries: [{ propertyName: "formControlDirective", first: true, predicate: FormControlDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<mat-form-field [appearance]=\"flat ? 'fill' : 'outline'\">\n <input hidden=\"true\" matInput style=\"display: none;\" />\n <mat-checkbox\n type=\"checkbox\"\n [formControl]=\"control\"\n >\n {{ description }}\n <ng-content />\n </mat-checkbox>\n</mat-form-field>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatCommonModule }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }] });
|
|
209
|
+
}
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesAgreementCheckboxComponent, decorators: [{
|
|
211
|
+
type: Component,
|
|
212
|
+
args: [{ selector: 'rc-ses-agreement-checkbox', standalone: true, imports: [
|
|
213
|
+
CommonModule,
|
|
214
|
+
FormsModule,
|
|
215
|
+
ReactiveFormsModule,
|
|
216
|
+
MatCheckboxModule,
|
|
217
|
+
MatCommonModule,
|
|
218
|
+
MatExpansionModule,
|
|
219
|
+
MatFormFieldModule,
|
|
220
|
+
MatIconModule,
|
|
221
|
+
MatInputModule,
|
|
222
|
+
], host: {
|
|
223
|
+
class: 'rc-ses-element rc-ses-agreement-checkbox'
|
|
224
|
+
}, providers: [
|
|
225
|
+
{
|
|
226
|
+
provide: NG_VALUE_ACCESSOR,
|
|
227
|
+
useExisting: forwardRef(() => RcSesAgreementCheckboxComponent),
|
|
228
|
+
multi: true
|
|
229
|
+
}
|
|
230
|
+
], template: "<mat-form-field [appearance]=\"flat ? 'fill' : 'outline'\">\n <input hidden=\"true\" matInput style=\"display: none;\" />\n <mat-checkbox\n type=\"checkbox\"\n [formControl]=\"control\"\n >\n {{ description }}\n <ng-content />\n </mat-checkbox>\n</mat-form-field>\n" }]
|
|
231
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
232
|
+
type: Inject,
|
|
233
|
+
args: [DOCUMENT]
|
|
234
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }], propDecorators: { formControlDirective: [{
|
|
235
|
+
type: ViewChild,
|
|
236
|
+
args: [FormControlDirective, { static: true }]
|
|
237
|
+
}], formControl: [{
|
|
238
|
+
type: Input
|
|
239
|
+
}], formControlName: [{
|
|
240
|
+
type: Input
|
|
241
|
+
}], description: [{
|
|
242
|
+
type: Input
|
|
243
|
+
}], flat: [{
|
|
244
|
+
type: Input,
|
|
245
|
+
args: [{ transform: booleanAttribute }]
|
|
246
|
+
}] } });
|
|
247
|
+
|
|
248
|
+
class RcSesButtonDirective {
|
|
249
|
+
_document;
|
|
250
|
+
_el;
|
|
251
|
+
_renderer;
|
|
252
|
+
color = "primary";
|
|
253
|
+
initialized;
|
|
254
|
+
constructor(_document, _el, _renderer) {
|
|
255
|
+
this._document = _document;
|
|
256
|
+
this._el = _el;
|
|
257
|
+
this._renderer = _renderer;
|
|
258
|
+
}
|
|
259
|
+
ngOnInit() {
|
|
260
|
+
this._renderer.removeAttribute(this._el.nativeElement, 'mat-ripple-loader-class-name');
|
|
261
|
+
this._renderer.removeAttribute(this._el.nativeElement, 'mat-ripple-loader-uninitialized');
|
|
262
|
+
}
|
|
263
|
+
ngAfterViewInit() {
|
|
264
|
+
this.initialized = true;
|
|
265
|
+
}
|
|
266
|
+
ngOnDestroy() {
|
|
267
|
+
this.initialized = false;
|
|
268
|
+
}
|
|
269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesButtonDirective, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
270
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: RcSesButtonDirective, isStandalone: true, selector: "[rc-ses-button]", inputs: { color: "color" }, host: { classAttribute: "rc-ses-element rc-ses-button" }, ngImport: i0 });
|
|
271
|
+
}
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesButtonDirective, decorators: [{
|
|
273
|
+
type: Directive,
|
|
274
|
+
args: [{
|
|
275
|
+
selector: '[rc-ses-button]',
|
|
276
|
+
standalone: true,
|
|
277
|
+
host: {
|
|
278
|
+
class: 'rc-ses-element rc-ses-button'
|
|
279
|
+
},
|
|
280
|
+
}]
|
|
281
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
282
|
+
type: Inject,
|
|
283
|
+
args: [DOCUMENT]
|
|
284
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { color: [{
|
|
285
|
+
type: Input
|
|
286
|
+
}] } });
|
|
287
|
+
|
|
288
|
+
class RcSesRadioButtonGroupComponent {
|
|
289
|
+
_document;
|
|
290
|
+
_element;
|
|
291
|
+
_renderer;
|
|
292
|
+
injector;
|
|
293
|
+
queryOptions;
|
|
294
|
+
formControlDirective;
|
|
295
|
+
formControl;
|
|
296
|
+
formControlName;
|
|
297
|
+
options;
|
|
298
|
+
displayAsButtons = false;
|
|
299
|
+
hasBackground = false;
|
|
300
|
+
initialized = false;
|
|
301
|
+
constructor(_document, _element, _renderer, injector) {
|
|
302
|
+
this._document = _document;
|
|
303
|
+
this._element = _element;
|
|
304
|
+
this._renderer = _renderer;
|
|
305
|
+
this.injector = injector;
|
|
306
|
+
}
|
|
307
|
+
get controlContainer() {
|
|
308
|
+
return this.injector.get(ControlContainer);
|
|
309
|
+
}
|
|
310
|
+
get control() {
|
|
311
|
+
return this.formControl ||
|
|
312
|
+
(this.formControlName && this.controlContainer.control?.get(this.formControlName));
|
|
313
|
+
}
|
|
314
|
+
writeValue(obj) {
|
|
315
|
+
this.formControlDirective?.valueAccessor?.writeValue(obj);
|
|
316
|
+
}
|
|
317
|
+
registerOnChange(fn) {
|
|
318
|
+
this.formControlDirective?.valueAccessor?.registerOnChange(fn);
|
|
319
|
+
}
|
|
320
|
+
registerOnTouched(fn) {
|
|
321
|
+
this.formControlDirective?.valueAccessor?.registerOnTouched(fn);
|
|
322
|
+
}
|
|
323
|
+
ngOnChanges(_changes) { }
|
|
324
|
+
ngOnInit() {
|
|
325
|
+
if (this.displayAsButtons)
|
|
326
|
+
this._renderer.addClass(this._element.nativeElement, 'rc-ses-radio-button-group--radio-as-buttons');
|
|
327
|
+
if (this.hasBackground)
|
|
328
|
+
this._renderer.addClass(this._element.nativeElement, 'rc-ses-radio-button-group--has-background');
|
|
329
|
+
}
|
|
330
|
+
ngAfterViewInit() {
|
|
331
|
+
this.initialized = true;
|
|
332
|
+
}
|
|
333
|
+
ngOnDestroy() {
|
|
334
|
+
this.initialized = false;
|
|
335
|
+
}
|
|
336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesRadioButtonGroupComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
337
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RcSesRadioButtonGroupComponent, isStandalone: true, selector: "rc-ses-radio-button-group", inputs: { formControl: "formControl", formControlName: "formControlName", options: "options", displayAsButtons: ["displayAsButtons", "displayAsButtons", booleanAttribute], hasBackground: ["hasBackground", "hasBackground", booleanAttribute] }, host: { classAttribute: "rc-ses-element rc-ses-radio-button-group" }, providers: [
|
|
338
|
+
{
|
|
339
|
+
provide: NG_VALUE_ACCESSOR,
|
|
340
|
+
useExisting: forwardRef(() => RcSesRadioButtonGroupComponent),
|
|
341
|
+
multi: true
|
|
342
|
+
}
|
|
343
|
+
], queries: [{ propertyName: "queryOptions", predicate: MatRadioButton }], viewQueries: [{ propertyName: "formControlDirective", first: true, predicate: FormControlDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<mat-radio-group [formControl]=\"control\">\n @for (option of options; track option.value) {\n <mat-radio-button [value]=\"option.value\">\n {{ option.label }}\n </mat-radio-button>\n }\n</mat-radio-group>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatCommonModule }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i2$2.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i2$2.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }] });
|
|
344
|
+
}
|
|
345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesRadioButtonGroupComponent, decorators: [{
|
|
346
|
+
type: Component,
|
|
347
|
+
args: [{ selector: 'rc-ses-radio-button-group', standalone: true, imports: [
|
|
348
|
+
CommonModule,
|
|
349
|
+
FormsModule,
|
|
350
|
+
ReactiveFormsModule,
|
|
351
|
+
MatButtonModule,
|
|
352
|
+
MatCommonModule,
|
|
353
|
+
MatFormFieldModule,
|
|
354
|
+
MatRadioModule,
|
|
355
|
+
RcSesButtonDirective,
|
|
356
|
+
], host: {
|
|
357
|
+
class: 'rc-ses-element rc-ses-radio-button-group'
|
|
358
|
+
}, providers: [
|
|
359
|
+
{
|
|
360
|
+
provide: NG_VALUE_ACCESSOR,
|
|
361
|
+
useExisting: forwardRef(() => RcSesRadioButtonGroupComponent),
|
|
362
|
+
multi: true
|
|
363
|
+
}
|
|
364
|
+
], template: "<mat-radio-group [formControl]=\"control\">\n @for (option of options; track option.value) {\n <mat-radio-button [value]=\"option.value\">\n {{ option.label }}\n </mat-radio-button>\n }\n</mat-radio-group>\n" }]
|
|
365
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
366
|
+
type: Inject,
|
|
367
|
+
args: [DOCUMENT]
|
|
368
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }], propDecorators: { queryOptions: [{
|
|
369
|
+
type: ContentChildren,
|
|
370
|
+
args: [MatRadioButton]
|
|
371
|
+
}], formControlDirective: [{
|
|
372
|
+
type: ViewChild,
|
|
373
|
+
args: [FormControlDirective, { static: true }]
|
|
374
|
+
}], formControl: [{
|
|
375
|
+
type: Input
|
|
376
|
+
}], formControlName: [{
|
|
377
|
+
type: Input
|
|
378
|
+
}], options: [{
|
|
379
|
+
type: Input
|
|
380
|
+
}], displayAsButtons: [{
|
|
381
|
+
type: Input,
|
|
382
|
+
args: [{ transform: booleanAttribute }]
|
|
383
|
+
}], hasBackground: [{
|
|
384
|
+
type: Input,
|
|
385
|
+
args: [{ transform: booleanAttribute }]
|
|
386
|
+
}] } });
|
|
387
|
+
|
|
388
|
+
class RcSesFormFieldComponent {
|
|
389
|
+
_document;
|
|
390
|
+
_element;
|
|
391
|
+
_renderer;
|
|
392
|
+
control;
|
|
393
|
+
formFieldRef;
|
|
394
|
+
formField;
|
|
395
|
+
inputRef;
|
|
396
|
+
input;
|
|
397
|
+
rcSesAgreementCheckboxComponent = undefined;
|
|
398
|
+
rcSesRadioButtonGroupComponent = undefined;
|
|
399
|
+
labelComponent;
|
|
400
|
+
label = undefined;
|
|
401
|
+
labelSubtitle = undefined;
|
|
402
|
+
initialized = false;
|
|
403
|
+
constructor(_document, _element, _renderer) {
|
|
404
|
+
this._document = _document;
|
|
405
|
+
this._element = _element;
|
|
406
|
+
this._renderer = _renderer;
|
|
407
|
+
}
|
|
408
|
+
ngOnInit() {
|
|
409
|
+
if (this.labelSubtitle)
|
|
410
|
+
this._renderer.addClass(this._element.nativeElement, 'rc-ses-has-label-subtitle');
|
|
411
|
+
}
|
|
412
|
+
ngAfterViewInit() { }
|
|
413
|
+
ngAfterContentInit() {
|
|
414
|
+
if (this.input?.readonly) {
|
|
415
|
+
this._renderer.addClass(this.formField._elementRef.nativeElement, 'mat-form-field-readonly');
|
|
416
|
+
this._renderer.addClass(this.formFieldRef.nativeElement, 'mat-form-field--readonly');
|
|
417
|
+
}
|
|
418
|
+
if (this.rcSesAgreementCheckboxComponent)
|
|
419
|
+
this._renderer.addClass(this._element.nativeElement, 'rc-ses-form-field--contains--agreement-checkbox-component');
|
|
420
|
+
if (this.rcSesRadioButtonGroupComponent)
|
|
421
|
+
this._renderer.addClass(this._element.nativeElement, 'rc-ses-form-field--contains--radio-button-group-component');
|
|
422
|
+
this.initialized = true;
|
|
423
|
+
}
|
|
424
|
+
ngOnDestroy() {
|
|
425
|
+
this.initialized = false;
|
|
426
|
+
}
|
|
427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesFormFieldComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
428
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RcSesFormFieldComponent, isStandalone: true, selector: "rc-ses-form-field", inputs: { label: "label", labelSubtitle: "labelSubtitle" }, host: { classAttribute: "rc-ses-element rc-ses-form-field" }, queries: [{ propertyName: "control", first: true, predicate: MatFormFieldControl, descendants: true }, { propertyName: "formFieldRef", first: true, predicate: MatFormField, descendants: true, read: ElementRef }, { propertyName: "formField", first: true, predicate: MatFormField, descendants: true }, { propertyName: "inputRef", first: true, predicate: MatInput, descendants: true, read: ElementRef }, { propertyName: "input", first: true, predicate: MatInput, descendants: true }, { propertyName: "rcSesAgreementCheckboxComponent", first: true, predicate: RcSesAgreementCheckboxComponent, descendants: true, read: ElementRef }, { propertyName: "rcSesRadioButtonGroupComponent", first: true, predicate: RcSesRadioButtonGroupComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "labelComponent", first: true, predicate: MatLabel, descendants: true, read: ElementRef }], ngImport: i0, template: "@if(label) {\n <mat-label #matLabel class=\"rc-ses-label\">\n {{ label }}:\n @if(labelSubtitle) {\n <div class=\"rc-ses-label-subtitle\">{{ labelSubtitle }}</div>\n }\n </mat-label>\n}\n<div class=\"rc-ses-form-field__input-wrapper\">\n <ng-content />\n</div>\n", styles: ["@layer rc-ses{:host{align-items:flex-start;display:flex}:host.rc-ses-has-label-subtitle{align-items:center}:host.rc-ses-has-label-subtitle .rc-ses-label{margin-top:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatFormFieldModule }], viewProviders: [
|
|
429
|
+
{ provide: ControlContainer, useExisting: FormGroupDirective }
|
|
430
|
+
] });
|
|
431
|
+
}
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesFormFieldComponent, decorators: [{
|
|
433
|
+
type: Component,
|
|
434
|
+
args: [{ selector: 'rc-ses-form-field', standalone: true, imports: [
|
|
435
|
+
CommonModule,
|
|
436
|
+
FormsModule,
|
|
437
|
+
MatButtonModule,
|
|
438
|
+
MatIconModule,
|
|
439
|
+
MatInputModule,
|
|
440
|
+
MatFormFieldModule,
|
|
441
|
+
MatError,
|
|
442
|
+
RcSesInputDirective,
|
|
443
|
+
], host: {
|
|
444
|
+
class: 'rc-ses-element rc-ses-form-field'
|
|
445
|
+
}, viewProviders: [
|
|
446
|
+
{ provide: ControlContainer, useExisting: FormGroupDirective }
|
|
447
|
+
], template: "@if(label) {\n <mat-label #matLabel class=\"rc-ses-label\">\n {{ label }}:\n @if(labelSubtitle) {\n <div class=\"rc-ses-label-subtitle\">{{ labelSubtitle }}</div>\n }\n </mat-label>\n}\n<div class=\"rc-ses-form-field__input-wrapper\">\n <ng-content />\n</div>\n", styles: ["@layer rc-ses{:host{align-items:flex-start;display:flex}:host.rc-ses-has-label-subtitle{align-items:center}:host.rc-ses-has-label-subtitle .rc-ses-label{margin-top:0!important}}\n"] }]
|
|
448
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
449
|
+
type: Inject,
|
|
450
|
+
args: [DOCUMENT]
|
|
451
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { control: [{
|
|
452
|
+
type: ContentChild,
|
|
453
|
+
args: [MatFormFieldControl]
|
|
454
|
+
}], formFieldRef: [{
|
|
455
|
+
type: ContentChild,
|
|
456
|
+
args: [MatFormField, { read: ElementRef }]
|
|
457
|
+
}], formField: [{
|
|
458
|
+
type: ContentChild,
|
|
459
|
+
args: [MatFormField]
|
|
460
|
+
}], inputRef: [{
|
|
461
|
+
type: ContentChild,
|
|
462
|
+
args: [MatInput, { read: ElementRef }]
|
|
463
|
+
}], input: [{
|
|
464
|
+
type: ContentChild,
|
|
465
|
+
args: [MatInput]
|
|
466
|
+
}], rcSesAgreementCheckboxComponent: [{
|
|
467
|
+
type: ContentChild,
|
|
468
|
+
args: [RcSesAgreementCheckboxComponent, { read: ElementRef }]
|
|
469
|
+
}], rcSesRadioButtonGroupComponent: [{
|
|
470
|
+
type: ContentChild,
|
|
471
|
+
args: [RcSesRadioButtonGroupComponent, { read: ElementRef }]
|
|
472
|
+
}], labelComponent: [{
|
|
473
|
+
type: ViewChild,
|
|
474
|
+
args: [MatLabel, { read: ElementRef }]
|
|
475
|
+
}], label: [{
|
|
476
|
+
type: Input
|
|
477
|
+
}], labelSubtitle: [{
|
|
478
|
+
type: Input
|
|
479
|
+
}] } });
|
|
480
|
+
|
|
481
|
+
class RcSesNumberStepperComponent {
|
|
482
|
+
_document;
|
|
483
|
+
_element;
|
|
484
|
+
_renderer;
|
|
485
|
+
injector;
|
|
486
|
+
formControlDirective;
|
|
487
|
+
formControl;
|
|
488
|
+
formControlName;
|
|
489
|
+
max = Number.MAX_SAFE_INTEGER;
|
|
490
|
+
min = 0;
|
|
491
|
+
placeholder = '';
|
|
492
|
+
step = 1;
|
|
493
|
+
initialized = false;
|
|
494
|
+
constructor(_document, _element, _renderer, injector) {
|
|
495
|
+
this._document = _document;
|
|
496
|
+
this._element = _element;
|
|
497
|
+
this._renderer = _renderer;
|
|
498
|
+
this.injector = injector;
|
|
499
|
+
}
|
|
500
|
+
get controlContainer() {
|
|
501
|
+
return this.injector.get(ControlContainer);
|
|
502
|
+
}
|
|
503
|
+
get control() {
|
|
504
|
+
return this.formControl ||
|
|
505
|
+
(this.formControlName && this.controlContainer.control?.get(this.formControlName));
|
|
506
|
+
}
|
|
507
|
+
writeValue(obj) {
|
|
508
|
+
this.formControlDirective?.valueAccessor?.writeValue(obj);
|
|
509
|
+
}
|
|
510
|
+
registerOnChange(fn) {
|
|
511
|
+
this.formControlDirective?.valueAccessor?.registerOnChange(fn);
|
|
512
|
+
}
|
|
513
|
+
registerOnTouched(fn) {
|
|
514
|
+
this.formControlDirective?.valueAccessor?.registerOnTouched(fn);
|
|
515
|
+
}
|
|
516
|
+
ngOnChanges(_changes) { }
|
|
517
|
+
ngOnInit() { }
|
|
518
|
+
ngAfterViewInit() {
|
|
519
|
+
this.initialized = true;
|
|
520
|
+
}
|
|
521
|
+
ngOnDestroy() {
|
|
522
|
+
this.initialized = false;
|
|
523
|
+
}
|
|
524
|
+
add = () => this.control.setValue(Math.min(this.max, (Math.max(this.min, Math.min(this.max, this.control.value)) ?? 0) + this.step));
|
|
525
|
+
subtract = () => this.control.setValue(Math.max(this.min, (Math.min(this.max, Math.max(this.min, this.control.value)) ?? 0) - this.step));
|
|
526
|
+
canAdd = () => !this.control.value || (this.max > this.control.value);
|
|
527
|
+
canSubtract = () => !this.control.value || (this.control.value > this.min);
|
|
528
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesNumberStepperComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
529
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RcSesNumberStepperComponent, isStandalone: true, selector: "rc-ses-number-stepper", inputs: { formControl: "formControl", formControlName: "formControlName", max: "max", min: "min", placeholder: "placeholder", step: "step" }, host: { classAttribute: "rc-ses-element rc-ses-number-stepper" }, providers: [
|
|
530
|
+
{
|
|
531
|
+
provide: NG_VALUE_ACCESSOR,
|
|
532
|
+
useExisting: forwardRef(() => RcSesNumberStepperComponent),
|
|
533
|
+
multi: true
|
|
534
|
+
}
|
|
535
|
+
], viewQueries: [{ propertyName: "formControlDirective", first: true, predicate: FormControlDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<mat-form-field>\n <button\n mat-icon-button\n matSuffix\n (click)=\"add()\"\n [disabled]=\"control.disabled || !canAdd()\"\n >\n <mat-icon>add</mat-icon>\n </button>\n\n <button\n mat-icon-button\n matSuffix\n (click)=\"subtract()\"\n [disabled]=\"control.disabled || !canSubtract()\"\n >\n <mat-icon>remove</mat-icon>\n </button>\n\n <input\n rc-ses-input\n matInput\n type=\"number\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n />\n</mat-form-field>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1$1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatCommonModule }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }] });
|
|
536
|
+
}
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesNumberStepperComponent, decorators: [{
|
|
538
|
+
type: Component,
|
|
539
|
+
args: [{ selector: 'rc-ses-number-stepper', standalone: true, imports: [
|
|
540
|
+
CommonModule,
|
|
541
|
+
FormsModule,
|
|
542
|
+
ReactiveFormsModule,
|
|
543
|
+
MatButtonModule,
|
|
544
|
+
MatCommonModule,
|
|
545
|
+
MatExpansionModule,
|
|
546
|
+
MatFormFieldModule,
|
|
547
|
+
MatIconModule,
|
|
548
|
+
MatInputModule,
|
|
549
|
+
], host: {
|
|
550
|
+
class: 'rc-ses-element rc-ses-number-stepper'
|
|
551
|
+
}, providers: [
|
|
552
|
+
{
|
|
553
|
+
provide: NG_VALUE_ACCESSOR,
|
|
554
|
+
useExisting: forwardRef(() => RcSesNumberStepperComponent),
|
|
555
|
+
multi: true
|
|
556
|
+
}
|
|
557
|
+
], template: "<mat-form-field>\n <button\n mat-icon-button\n matSuffix\n (click)=\"add()\"\n [disabled]=\"control.disabled || !canAdd()\"\n >\n <mat-icon>add</mat-icon>\n </button>\n\n <button\n mat-icon-button\n matSuffix\n (click)=\"subtract()\"\n [disabled]=\"control.disabled || !canSubtract()\"\n >\n <mat-icon>remove</mat-icon>\n </button>\n\n <input\n rc-ses-input\n matInput\n type=\"number\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n />\n</mat-form-field>\n" }]
|
|
558
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
559
|
+
type: Inject,
|
|
560
|
+
args: [DOCUMENT]
|
|
561
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }], propDecorators: { formControlDirective: [{
|
|
562
|
+
type: ViewChild,
|
|
563
|
+
args: [FormControlDirective, { static: true }]
|
|
564
|
+
}], formControl: [{
|
|
565
|
+
type: Input
|
|
566
|
+
}], formControlName: [{
|
|
567
|
+
type: Input
|
|
568
|
+
}], max: [{
|
|
569
|
+
type: Input
|
|
570
|
+
}], min: [{
|
|
571
|
+
type: Input
|
|
572
|
+
}], placeholder: [{
|
|
573
|
+
type: Input
|
|
574
|
+
}], step: [{
|
|
575
|
+
type: Input
|
|
576
|
+
}] } });
|
|
577
|
+
|
|
578
|
+
class RcSesSelectComponent {
|
|
579
|
+
_document;
|
|
580
|
+
_element;
|
|
581
|
+
_renderer;
|
|
582
|
+
injector;
|
|
583
|
+
queryOptions;
|
|
584
|
+
formControlDirective;
|
|
585
|
+
formControl;
|
|
586
|
+
formControlName;
|
|
587
|
+
options;
|
|
588
|
+
multiple = false;
|
|
589
|
+
searchable = false;
|
|
590
|
+
panelWidth = 'auto';
|
|
591
|
+
placeholder = '';
|
|
592
|
+
filteredOptions = [];
|
|
593
|
+
initialized = false;
|
|
594
|
+
selectAll = model(false);
|
|
595
|
+
constructor(_document, _element, _renderer, injector) {
|
|
596
|
+
this._document = _document;
|
|
597
|
+
this._element = _element;
|
|
598
|
+
this._renderer = _renderer;
|
|
599
|
+
this.injector = injector;
|
|
600
|
+
}
|
|
601
|
+
get controlContainer() {
|
|
602
|
+
return this.injector.get(ControlContainer);
|
|
603
|
+
}
|
|
604
|
+
get control() {
|
|
605
|
+
return this.formControl ||
|
|
606
|
+
(this.formControlName && this.controlContainer.control?.get(this.formControlName));
|
|
607
|
+
}
|
|
608
|
+
writeValue(obj) {
|
|
609
|
+
this.formControlDirective?.valueAccessor?.writeValue(obj);
|
|
610
|
+
}
|
|
611
|
+
registerOnChange(fn) {
|
|
612
|
+
this.formControlDirective?.valueAccessor?.registerOnChange(fn);
|
|
613
|
+
}
|
|
614
|
+
registerOnTouched(fn) {
|
|
615
|
+
this.formControlDirective?.valueAccessor?.registerOnTouched(fn);
|
|
616
|
+
}
|
|
617
|
+
ngOnChanges(changes) {
|
|
618
|
+
this.filteredOptions = changes['options'].currentValue
|
|
619
|
+
? changes['options'].currentValue
|
|
620
|
+
: [];
|
|
621
|
+
}
|
|
622
|
+
ngOnInit() {
|
|
623
|
+
if (this.searchable)
|
|
624
|
+
this._renderer.addClass(this._element.nativeElement, 'rc-ses-select-searchable');
|
|
625
|
+
if (this.multiple)
|
|
626
|
+
this._renderer.addClass(this._element.nativeElement, 'rc-ses-select-multiple');
|
|
627
|
+
}
|
|
628
|
+
ngAfterViewInit() {
|
|
629
|
+
this.initialized = true;
|
|
630
|
+
}
|
|
631
|
+
ngOnDestroy() {
|
|
632
|
+
this.initialized = false;
|
|
633
|
+
}
|
|
634
|
+
filterOptions = ($event) => {
|
|
635
|
+
$event.stopPropagation();
|
|
636
|
+
const query = $event.target.value;
|
|
637
|
+
this.filteredOptions = !query?.length
|
|
638
|
+
? this.options
|
|
639
|
+
: this.options.filter((o) => o.label.indexOf(query) !== -1);
|
|
640
|
+
};
|
|
641
|
+
handleSelectAllChange = (checked) => {
|
|
642
|
+
const filteredOptionValues = this.filteredOptions.map((o) => o.value) || [];
|
|
643
|
+
if (checked) {
|
|
644
|
+
this.control.setValue(filteredOptionValues);
|
|
645
|
+
}
|
|
646
|
+
else {
|
|
647
|
+
const currentSelection = this.control.value || [];
|
|
648
|
+
this.control.setValue(currentSelection.filter((c) => !filteredOptionValues.includes(c)));
|
|
649
|
+
}
|
|
650
|
+
};
|
|
651
|
+
isFullSelection = () => {
|
|
652
|
+
const currentSelection = this.control.value || [];
|
|
653
|
+
if (this.filteredOptions.length === 0 || currentSelection.length === 0)
|
|
654
|
+
return false;
|
|
655
|
+
return this.filteredOptions.every((o) => currentSelection.includes(o.value));
|
|
656
|
+
};
|
|
657
|
+
isPartialSelection = () => {
|
|
658
|
+
if (!this.filteredOptions.length || !this.control.value.length)
|
|
659
|
+
return false;
|
|
660
|
+
const currentSelection = this.control.value || [];
|
|
661
|
+
return !this.isFullSelection() && this.filteredOptions.some((o) => currentSelection.includes(o.value));
|
|
662
|
+
};
|
|
663
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesSelectComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
664
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RcSesSelectComponent, isStandalone: true, selector: "rc-ses-select", inputs: { formControl: { classPropertyName: "formControl", publicName: "formControl", isSignal: false, isRequired: false, transformFunction: null }, formControlName: { classPropertyName: "formControlName", publicName: "formControlName", isSignal: false, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, searchable: { classPropertyName: "searchable", publicName: "searchable", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, panelWidth: { classPropertyName: "panelWidth", publicName: "panelWidth", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectAll: "selectAllChange" }, host: { classAttribute: "rc-ses-element rc-ses-select" }, providers: [
|
|
665
|
+
{
|
|
666
|
+
provide: NG_VALUE_ACCESSOR,
|
|
667
|
+
useExisting: forwardRef(() => RcSesSelectComponent),
|
|
668
|
+
multi: true
|
|
669
|
+
}
|
|
670
|
+
], queries: [{ propertyName: "queryOptions", predicate: MatOption }], viewQueries: [{ propertyName: "formControlDirective", first: true, predicate: FormControlDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<mat-form-field>\n <mat-select\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n [multiple]=\"multiple\"\n [panelWidth]=\"panelWidth\"\n hideSingleSelectionIndicator\n disableRipple\n >\n @if (searchable) {\n <div class=\"rc-ses-select-search-wrapper\">\n @if (multiple) {\n <mat-checkbox\n [checked]=\"isFullSelection()\"\n [indeterminate]=\"isPartialSelection()\"\n (change)=\"handleSelectAllChange($event.checked)\"\n />\n }\n <mat-form-field>\n <mat-icon matPrefix>search</mat-icon>\n <input\n rc-ses-input\n matInput\n type=\"text\"\n placeholder=\"Ie\u0161koti\"\n (keyup)=\"filterOptions($event)\"\n />\n </mat-form-field>\n </div>\n }\n @for (option of filteredOptions; track option.value) {\n <mat-option [value]=\"option.value\">\n {{ option.label }}\n @if (option.description) {\n <div class=\"description\">{{ option.description }}</div>\n }\n </mat-option>\n }\n </mat-select>\n</mat-form-field>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatCommonModule }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i7.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }] });
|
|
671
|
+
}
|
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesSelectComponent, decorators: [{
|
|
673
|
+
type: Component,
|
|
674
|
+
args: [{ selector: 'rc-ses-select', standalone: true, imports: [
|
|
675
|
+
CommonModule,
|
|
676
|
+
FormsModule,
|
|
677
|
+
ReactiveFormsModule,
|
|
678
|
+
MatButtonModule,
|
|
679
|
+
MatCheckboxModule,
|
|
680
|
+
MatCommonModule,
|
|
681
|
+
MatExpansionModule,
|
|
682
|
+
MatFormFieldModule,
|
|
683
|
+
MatIconModule,
|
|
684
|
+
MatInputModule,
|
|
685
|
+
MatOptionModule,
|
|
686
|
+
MatSelectModule,
|
|
687
|
+
], host: {
|
|
688
|
+
class: 'rc-ses-element rc-ses-select'
|
|
689
|
+
}, providers: [
|
|
690
|
+
{
|
|
691
|
+
provide: NG_VALUE_ACCESSOR,
|
|
692
|
+
useExisting: forwardRef(() => RcSesSelectComponent),
|
|
693
|
+
multi: true
|
|
694
|
+
}
|
|
695
|
+
], template: "<mat-form-field>\n <mat-select\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n [multiple]=\"multiple\"\n [panelWidth]=\"panelWidth\"\n hideSingleSelectionIndicator\n disableRipple\n >\n @if (searchable) {\n <div class=\"rc-ses-select-search-wrapper\">\n @if (multiple) {\n <mat-checkbox\n [checked]=\"isFullSelection()\"\n [indeterminate]=\"isPartialSelection()\"\n (change)=\"handleSelectAllChange($event.checked)\"\n />\n }\n <mat-form-field>\n <mat-icon matPrefix>search</mat-icon>\n <input\n rc-ses-input\n matInput\n type=\"text\"\n placeholder=\"Ie\u0161koti\"\n (keyup)=\"filterOptions($event)\"\n />\n </mat-form-field>\n </div>\n }\n @for (option of filteredOptions; track option.value) {\n <mat-option [value]=\"option.value\">\n {{ option.label }}\n @if (option.description) {\n <div class=\"description\">{{ option.description }}</div>\n }\n </mat-option>\n }\n </mat-select>\n</mat-form-field>\n" }]
|
|
696
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
697
|
+
type: Inject,
|
|
698
|
+
args: [DOCUMENT]
|
|
699
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }], propDecorators: { queryOptions: [{
|
|
700
|
+
type: ContentChildren,
|
|
701
|
+
args: [MatOption]
|
|
702
|
+
}], formControlDirective: [{
|
|
703
|
+
type: ViewChild,
|
|
704
|
+
args: [FormControlDirective, { static: true }]
|
|
705
|
+
}], formControl: [{
|
|
706
|
+
type: Input
|
|
707
|
+
}], formControlName: [{
|
|
708
|
+
type: Input
|
|
709
|
+
}], options: [{
|
|
710
|
+
type: Input
|
|
711
|
+
}], multiple: [{
|
|
712
|
+
type: Input,
|
|
713
|
+
args: [{ transform: booleanAttribute }]
|
|
714
|
+
}], searchable: [{
|
|
715
|
+
type: Input,
|
|
716
|
+
args: [{ transform: booleanAttribute }]
|
|
717
|
+
}], panelWidth: [{
|
|
718
|
+
type: Input
|
|
719
|
+
}], placeholder: [{
|
|
720
|
+
type: Input
|
|
721
|
+
}] } });
|
|
722
|
+
|
|
723
|
+
class ServiceFormActions {
|
|
724
|
+
_document;
|
|
725
|
+
_el;
|
|
726
|
+
_renderer;
|
|
727
|
+
accordion = contentChild.required(MatAccordion);
|
|
728
|
+
initialized;
|
|
729
|
+
constructor(_document, _el, _renderer) {
|
|
730
|
+
this._document = _document;
|
|
731
|
+
this._el = _el;
|
|
732
|
+
this._renderer = _renderer;
|
|
733
|
+
}
|
|
734
|
+
ngOnInit() {
|
|
735
|
+
}
|
|
736
|
+
ngAfterViewInit() {
|
|
737
|
+
this.initialized = true;
|
|
738
|
+
}
|
|
739
|
+
ngOnDestroy() {
|
|
740
|
+
this.initialized = false;
|
|
741
|
+
}
|
|
742
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServiceFormActions, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
743
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.14", type: ServiceFormActions, isStandalone: true, selector: "rc-ses-service-form-actions", host: { classAttribute: "rc-ses-element rc-ses-service-form-actions" }, queries: [{ propertyName: "accordion", first: true, predicate: MatAccordion, descendants: true, isSignal: true }], ngImport: i0, template: "<mat-card appearance=\"outlined\">\n <mat-card-content>\n <button rc-ses-button mat-button type=\"button\">\n <mat-icon matListItemIcon svgIcon=\"rc-ses-caret-left\" aria-hidden=\"false\" />\n Baigti pildyti v\u0117liau\n </button>\n\n <button rc-ses-button mat-flat-button type=\"submit\">\n Baigti pildyti ir prid\u0117ti \u012F krep\u0161el\u012F\n <mat-icon matListItemIcon svgIcon=\"rc-ses-arrow-right\" aria-hidden=\"false\" />\n </button>\n </mat-card-content>\n</mat-card>\n\n<div class=\"rc-ses-footer-actions\">\n <button rc-ses-button mat-button color=\"neutral\" type=\"button\">\n At\u0161aukti pildym\u0105 ir i\u0161trinti formos duomenis\n </button>\n</div>\n", dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i2$3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2$3.MatCardContent, selector: "mat-card-content" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: RcSesButtonDirective, selector: "[rc-ses-button]", inputs: ["color"] }] });
|
|
744
|
+
}
|
|
745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServiceFormActions, decorators: [{
|
|
746
|
+
type: Component,
|
|
747
|
+
args: [{ selector: 'rc-ses-service-form-actions', standalone: true, imports: [
|
|
748
|
+
MatButtonModule,
|
|
749
|
+
MatCardModule,
|
|
750
|
+
MatIconModule,
|
|
751
|
+
RcSesButtonDirective,
|
|
752
|
+
], host: {
|
|
753
|
+
class: 'rc-ses-element rc-ses-service-form-actions'
|
|
754
|
+
}, template: "<mat-card appearance=\"outlined\">\n <mat-card-content>\n <button rc-ses-button mat-button type=\"button\">\n <mat-icon matListItemIcon svgIcon=\"rc-ses-caret-left\" aria-hidden=\"false\" />\n Baigti pildyti v\u0117liau\n </button>\n\n <button rc-ses-button mat-flat-button type=\"submit\">\n Baigti pildyti ir prid\u0117ti \u012F krep\u0161el\u012F\n <mat-icon matListItemIcon svgIcon=\"rc-ses-arrow-right\" aria-hidden=\"false\" />\n </button>\n </mat-card-content>\n</mat-card>\n\n<div class=\"rc-ses-footer-actions\">\n <button rc-ses-button mat-button color=\"neutral\" type=\"button\">\n At\u0161aukti pildym\u0105 ir i\u0161trinti formos duomenis\n </button>\n</div>\n" }]
|
|
755
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
756
|
+
type: Inject,
|
|
757
|
+
args: [DOCUMENT]
|
|
758
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
759
|
+
|
|
760
|
+
class ServiceFormContainer {
|
|
761
|
+
_document;
|
|
762
|
+
_el;
|
|
763
|
+
_renderer;
|
|
764
|
+
canCollapse = true;
|
|
765
|
+
accordion = contentChild.required(MatAccordion);
|
|
766
|
+
initialized;
|
|
767
|
+
constructor(_document, _el, _renderer) {
|
|
768
|
+
this._document = _document;
|
|
769
|
+
this._el = _el;
|
|
770
|
+
this._renderer = _renderer;
|
|
771
|
+
}
|
|
772
|
+
ngOnInit() { }
|
|
773
|
+
ngAfterViewInit() {
|
|
774
|
+
this.initialized = true;
|
|
775
|
+
}
|
|
776
|
+
ngOnDestroy() {
|
|
777
|
+
this.initialized = false;
|
|
778
|
+
}
|
|
779
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServiceFormContainer, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
780
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ServiceFormContainer, isStandalone: true, selector: "rc-ses-service-form-container", inputs: { canCollapse: ["canCollapse", "canCollapse", booleanAttribute] }, host: { classAttribute: "rc-ses-element rc-ses-service-form-container" }, queries: [{ propertyName: "accordion", first: true, predicate: MatAccordion, descendants: true, isSignal: true }], ngImport: i0, template: "@if (canCollapse) {\n <div class=\"rc-ses-accordion-toggle-controls\">\n <button mat-button (click)=\"accordion().openAll()\">\n <mat-icon>unfold_more</mat-icon>\n Praskleisti visus\n </button>\n <button mat-button (click)=\"accordion().closeAll()\">\n <mat-icon>unfold_less</mat-icon>\n Suskleisti visus\n </button>\n </div>\n}\n\n<ng-content />\n\n<rc-ses-service-form-actions />\n", dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: ServiceFormActions, selector: "rc-ses-service-form-actions" }] });
|
|
781
|
+
}
|
|
782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServiceFormContainer, decorators: [{
|
|
783
|
+
type: Component,
|
|
784
|
+
args: [{ selector: 'rc-ses-service-form-container', standalone: true, imports: [
|
|
785
|
+
MatButtonModule,
|
|
786
|
+
MatIconModule,
|
|
787
|
+
ServiceFormActions,
|
|
788
|
+
], host: {
|
|
789
|
+
class: 'rc-ses-element rc-ses-service-form-container'
|
|
790
|
+
}, template: "@if (canCollapse) {\n <div class=\"rc-ses-accordion-toggle-controls\">\n <button mat-button (click)=\"accordion().openAll()\">\n <mat-icon>unfold_more</mat-icon>\n Praskleisti visus\n </button>\n <button mat-button (click)=\"accordion().closeAll()\">\n <mat-icon>unfold_less</mat-icon>\n Suskleisti visus\n </button>\n </div>\n}\n\n<ng-content />\n\n<rc-ses-service-form-actions />\n" }]
|
|
791
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
792
|
+
type: Inject,
|
|
793
|
+
args: [DOCUMENT]
|
|
794
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { canCollapse: [{
|
|
795
|
+
type: Input,
|
|
796
|
+
args: [{ transform: booleanAttribute }]
|
|
797
|
+
}] } });
|
|
798
|
+
|
|
799
|
+
class ServiceHeader {
|
|
800
|
+
_document;
|
|
801
|
+
_el;
|
|
802
|
+
_renderer;
|
|
803
|
+
serviceName = undefined;
|
|
804
|
+
serviceDescription = undefined;
|
|
805
|
+
path = [];
|
|
806
|
+
get fullPath() {
|
|
807
|
+
return [
|
|
808
|
+
{ label: 'Savitarna', path: '/' },
|
|
809
|
+
...(this.path ?? []),
|
|
810
|
+
];
|
|
811
|
+
}
|
|
812
|
+
initialized;
|
|
813
|
+
constructor(_document, _el, _renderer) {
|
|
814
|
+
this._document = _document;
|
|
815
|
+
this._el = _el;
|
|
816
|
+
this._renderer = _renderer;
|
|
817
|
+
}
|
|
818
|
+
ngOnInit() {
|
|
819
|
+
}
|
|
820
|
+
ngAfterViewInit() {
|
|
821
|
+
this.initialized = true;
|
|
822
|
+
}
|
|
823
|
+
ngOnDestroy() {
|
|
824
|
+
this.initialized = false;
|
|
825
|
+
}
|
|
826
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServiceHeader, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
827
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ServiceHeader, isStandalone: true, selector: "rc-ses-service-header", inputs: { serviceName: "serviceName", serviceDescription: "serviceDescription", path: "path" }, host: { classAttribute: "rc-ses-element rc-ses-service-header" }, ngImport: i0, template: "<div class=\"container\">\n <rc-ses-breadcrumbs [path]=\"fullPath\" />\n <h1>{{ serviceName }}</h1>\n <p>{{ serviceDescription }}</p>\n</div>\n", dependencies: [{ kind: "component", type: Breadcrumbs, selector: "rc-ses-breadcrumbs", inputs: ["path"] }] });
|
|
828
|
+
}
|
|
829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServiceHeader, decorators: [{
|
|
830
|
+
type: Component,
|
|
831
|
+
args: [{ selector: 'rc-ses-service-header', standalone: true, imports: [Breadcrumbs], host: {
|
|
832
|
+
class: 'rc-ses-element rc-ses-service-header'
|
|
833
|
+
}, template: "<div class=\"container\">\n <rc-ses-breadcrumbs [path]=\"fullPath\" />\n <h1>{{ serviceName }}</h1>\n <p>{{ serviceDescription }}</p>\n</div>\n" }]
|
|
834
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
835
|
+
type: Inject,
|
|
836
|
+
args: [DOCUMENT]
|
|
837
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { serviceName: [{
|
|
838
|
+
type: Input
|
|
839
|
+
}], serviceDescription: [{
|
|
840
|
+
type: Input
|
|
841
|
+
}], path: [{
|
|
842
|
+
type: Input
|
|
843
|
+
}] } });
|
|
844
|
+
|
|
845
|
+
class ServicePage {
|
|
846
|
+
_document;
|
|
847
|
+
_el;
|
|
848
|
+
_renderer;
|
|
849
|
+
serviceName = undefined;
|
|
850
|
+
serviceDescription = undefined;
|
|
851
|
+
initialized;
|
|
852
|
+
constructor(_document, _el, _renderer) {
|
|
853
|
+
this._document = _document;
|
|
854
|
+
this._el = _el;
|
|
855
|
+
this._renderer = _renderer;
|
|
856
|
+
}
|
|
857
|
+
ngOnInit() {
|
|
858
|
+
}
|
|
859
|
+
ngAfterViewInit() {
|
|
860
|
+
this.initialized = true;
|
|
861
|
+
}
|
|
862
|
+
ngOnDestroy() {
|
|
863
|
+
this.initialized = false;
|
|
864
|
+
}
|
|
865
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServicePage, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
866
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ServicePage, isStandalone: true, selector: "rc-ses-service-page", inputs: { serviceName: "serviceName", serviceDescription: "serviceDescription" }, host: { classAttribute: "rc-ses-element rc-ses-service-page" }, ngImport: i0, template: "<div>\n <ng-content select=\"rc-ses-service-header\"></ng-content>\n</div>\n\n<div class=\"container container-main\">\n <div class=\"sidebar-wrapper\">\n <ng-content select=\"rc-ses-service-wizard-steps\"></ng-content>\n </div>\n\n <div class=\"content-wrapper\">\n <ng-content></ng-content>\n <ng-content select=\"rc-ses-service-form-container\"></ng-content>\n </div>\n</div>\n" });
|
|
867
|
+
}
|
|
868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServicePage, decorators: [{
|
|
869
|
+
type: Component,
|
|
870
|
+
args: [{ selector: 'rc-ses-service-page', standalone: true, imports: [Breadcrumbs], host: {
|
|
871
|
+
class: 'rc-ses-element rc-ses-service-page'
|
|
872
|
+
}, template: "<div>\n <ng-content select=\"rc-ses-service-header\"></ng-content>\n</div>\n\n<div class=\"container container-main\">\n <div class=\"sidebar-wrapper\">\n <ng-content select=\"rc-ses-service-wizard-steps\"></ng-content>\n </div>\n\n <div class=\"content-wrapper\">\n <ng-content></ng-content>\n <ng-content select=\"rc-ses-service-form-container\"></ng-content>\n </div>\n</div>\n" }]
|
|
873
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
874
|
+
type: Inject,
|
|
875
|
+
args: [DOCUMENT]
|
|
876
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { serviceName: [{
|
|
877
|
+
type: Input
|
|
878
|
+
}], serviceDescription: [{
|
|
879
|
+
type: Input
|
|
880
|
+
}] } });
|
|
881
|
+
|
|
882
|
+
class RcSesIconsModule {
|
|
883
|
+
constructor(iconRegistry, sanitizer) {
|
|
884
|
+
iconRegistry.addSvgIconLiteral('rc-ses-arrow-right', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#1F2733" d="m20.78 12.531-6.75 6.75a.75.75 0 1 1-1.06-1.061l5.47-5.47H3.75a.75.75 0 1 1 0-1.5h14.69l-5.47-5.469a.75.75 0 1 1 1.06-1.061l6.75 6.75a.748.748 0 0 1 0 1.061Z"/></svg>`));
|
|
885
|
+
iconRegistry.addSvgIconLiteral('rc-ses-caret-left', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#0E6790" d="M10.354 12.646a.501.501 0 0 1-.707.708l-5-5a.5.5 0 0 1 0-.707l5-5a.5.5 0 1 1 .707.707L5.707 8l4.647 4.646Z"/></svg>`));
|
|
886
|
+
iconRegistry.addSvgIconLiteral('rc-ses-circle', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="12" fill="#1f2733"/></svg>`));
|
|
887
|
+
iconRegistry.addSvgIconLiteral('rc-ses-check-circle', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="12" fill="#00a879"/><path fill="#fff" d="m18.533 9.03-8 8a.751.751 0 0 1-1.063 0l-3.5-3.5a.751.751 0 1 1 1.063-1.062l2.969 2.97 7.47-7.469a.751.751 0 0 1 1.062 1.063l-.001-.002Z"/></svg>`));
|
|
888
|
+
iconRegistry.addSvgIconLiteral('rc-ses-check-circle-fill', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M12 2.25A9.75 9.75 0 1 0 21.75 12 9.76 9.76 0 0 0 12 2.25Zm4.28 8.03-5.25 5.25a.747.747 0 0 1-1.06 0l-2.25-2.25a.75.75 0 1 1 1.06-1.06l1.72 1.72 4.72-4.72a.751.751 0 0 1 1.06 1.06Z"/></svg>`));
|
|
889
|
+
iconRegistry.addSvgIconLiteral('rc-ses-info-fill', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M12 2.25A9.75 9.75 0 1 0 21.75 12 9.76 9.76 0 0 0 12 2.25Zm-.375 4.5a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25Zm1.125 10.5a1.5 1.5 0 0 1-1.5-1.5V12a.75.75 0 1 1 0-1.5 1.5 1.5 0 0 1 1.5 1.5v3.75a.75.75 0 1 1 0 1.5Z"/></svg>`));
|
|
890
|
+
iconRegistry.addSvgIconLiteral('rc-ses-scroll', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M9 9.75A.75.75 0 0 1 9.75 9h6a.75.75 0 1 1 0 1.5h-6A.75.75 0 0 1 9 9.75Zm.75 3.75h6a.75.75 0 1 0 0-1.5h-6a.75.75 0 1 0 0 1.5Zm12 4.5a3 3 0 0 1-3 3H8.25a3 3 0 0 1-3-3V6a1.5 1.5 0 0 0-3 0c0 .538.453.902.458.906A.75.75 0 0 1 1.8 8.099C1.692 8.02.75 7.276.75 6a3 3 0 0 1 3-3H16.5a3 3 0 0 1 3 3v9.75h.75a.75.75 0 0 1 .45.15c.113.08 1.05.824 1.05 2.1ZM9.024 16.264a.757.757 0 0 1 .726-.514H18V6a1.5 1.5 0 0 0-1.5-1.5H6.346c.265.455.405.973.404 1.5v12a1.5 1.5 0 0 0 3 0c0-.538-.453-.902-.457-.906a.733.733 0 0 1-.269-.83ZM20.25 18a1.18 1.18 0 0 0-.303-.75h-8.812c.075.243.113.496.113.75 0 .527-.138 1.044-.402 1.5h7.904a1.5 1.5 0 0 0 1.5-1.5Z"/></svg>`));
|
|
891
|
+
iconRegistry.addSvgIconLiteral('rc-ses-warning-diamond-fill', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="m22.064 10.942-9.005-9.006a1.5 1.5 0 0 0-2.115 0l-9 9.006a1.5 1.5 0 0 0 0 2.115l9.005 9.005a1.5 1.5 0 0 0 2.115 0l9.004-9.005a1.5 1.5 0 0 0 0-2.115h-.004ZM11.25 7.499a.75.75 0 1 1 1.5 0v5.25a.75.75 0 1 1-1.5 0V7.5Zm.75 9.75a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25Z"/></svg>`));
|
|
892
|
+
iconRegistry.addSvgIconLiteral('rc-ses-warning-fill', sanitizer.bypassSecurityTrustHtml(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M22.201 17.634 14.003 3.396a2.322 2.322 0 0 0-4.004 0L1.801 17.634a2.204 2.204 0 0 0 0 2.223A2.282 2.282 0 0 0 3.803 21h16.396a2.284 2.284 0 0 0 2-1.143 2.205 2.205 0 0 0 .002-2.223ZM11.251 9.75a.75.75 0 1 1 1.5 0v3.75a.75.75 0 0 1-1.5 0V9.75Zm.75 8.25a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25Z"/></svg>`));
|
|
893
|
+
}
|
|
894
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesIconsModule, deps: [{ token: i1$3.MatIconRegistry }, { token: i2$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
895
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RcSesIconsModule, imports: [MatIconModule,
|
|
896
|
+
MatIconModule] });
|
|
897
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesIconsModule, imports: [MatIconModule,
|
|
898
|
+
MatIconModule] });
|
|
899
|
+
}
|
|
900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesIconsModule, decorators: [{
|
|
901
|
+
type: NgModule,
|
|
902
|
+
args: [{
|
|
903
|
+
imports: [
|
|
904
|
+
MatIconModule,
|
|
905
|
+
MatIconModule,
|
|
906
|
+
],
|
|
907
|
+
}]
|
|
908
|
+
}], ctorParameters: () => [{ type: i1$3.MatIconRegistry }, { type: i2$4.DomSanitizer }] });
|
|
909
|
+
|
|
910
|
+
// import { MatCommonModule } from "@angular/material/core";
|
|
911
|
+
class ServiceWizardSteps {
|
|
912
|
+
_document;
|
|
913
|
+
_el;
|
|
914
|
+
_renderer;
|
|
915
|
+
steps = [];
|
|
916
|
+
initialized;
|
|
917
|
+
constructor(_document, _el, _renderer) {
|
|
918
|
+
this._document = _document;
|
|
919
|
+
this._el = _el;
|
|
920
|
+
this._renderer = _renderer;
|
|
921
|
+
}
|
|
922
|
+
ngOnInit() {
|
|
923
|
+
}
|
|
924
|
+
ngAfterViewInit() {
|
|
925
|
+
this.initialized = true;
|
|
926
|
+
}
|
|
927
|
+
ngOnDestroy() {
|
|
928
|
+
this.initialized = false;
|
|
929
|
+
}
|
|
930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServiceWizardSteps, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
931
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ServiceWizardSteps, isStandalone: true, selector: "rc-ses-service-wizard-steps", inputs: { steps: "steps" }, host: { classAttribute: "rc-ses-element rc-ses-service-wizard-steps" }, ngImport: i0, template: "<mat-nav-list role=\"navigation\">\n @for (item of steps; track $index) {\n <mat-list-item\n [activated]=\"item.state === 'active'\"\n [class]=\"'wizard-step-status--' + item.state\"\n >\n @switch (item.state) {\n @case ('completed') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-check-circle\" aria-hidden=\"false\"></mat-icon>\n }\n @default {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-circle\" aria-hidden=\"false\"></mat-icon>\n }\n }\n <div matListItemTitle>{{ item.label }}</div>\n </mat-list-item>\n }\n</mat-nav-list>\n", dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i2.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: RcSesIconsModule }] });
|
|
932
|
+
}
|
|
933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ServiceWizardSteps, decorators: [{
|
|
934
|
+
type: Component,
|
|
935
|
+
args: [{ selector: 'rc-ses-service-wizard-steps', standalone: true, imports: [MatIconModule, MatListModule, RcSesIconsModule], host: {
|
|
936
|
+
class: 'rc-ses-element rc-ses-service-wizard-steps'
|
|
937
|
+
}, template: "<mat-nav-list role=\"navigation\">\n @for (item of steps; track $index) {\n <mat-list-item\n [activated]=\"item.state === 'active'\"\n [class]=\"'wizard-step-status--' + item.state\"\n >\n @switch (item.state) {\n @case ('completed') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-check-circle\" aria-hidden=\"false\"></mat-icon>\n }\n @default {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-circle\" aria-hidden=\"false\"></mat-icon>\n }\n }\n <div matListItemTitle>{{ item.label }}</div>\n </mat-list-item>\n }\n</mat-nav-list>\n" }]
|
|
938
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
939
|
+
type: Inject,
|
|
940
|
+
args: [DOCUMENT]
|
|
941
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { steps: [{
|
|
942
|
+
type: Input
|
|
943
|
+
}] } });
|
|
944
|
+
|
|
945
|
+
class RcSesMessageComponent {
|
|
946
|
+
_document;
|
|
947
|
+
_el;
|
|
948
|
+
_renderer;
|
|
949
|
+
severity = 'default';
|
|
950
|
+
theme = 'light';
|
|
951
|
+
hideIcon = false;
|
|
952
|
+
dismissible = false;
|
|
953
|
+
initialized;
|
|
954
|
+
constructor(_document, _el, _renderer) {
|
|
955
|
+
this._document = _document;
|
|
956
|
+
this._el = _el;
|
|
957
|
+
this._renderer = _renderer;
|
|
958
|
+
}
|
|
959
|
+
ngOnInit() { }
|
|
960
|
+
ngAfterViewInit() {
|
|
961
|
+
this.initialized = true;
|
|
962
|
+
}
|
|
963
|
+
ngOnDestroy() {
|
|
964
|
+
this.initialized = false;
|
|
965
|
+
}
|
|
966
|
+
get containerClass() {
|
|
967
|
+
return {
|
|
968
|
+
[`rc-ses-message--severity-${this.severity}`]: this.severity,
|
|
969
|
+
[`rc-ses-message--theme-${this.theme}`]: this.theme,
|
|
970
|
+
};
|
|
971
|
+
}
|
|
972
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesMessageComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
973
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RcSesMessageComponent, isStandalone: true, selector: "rc-ses-message", inputs: { severity: "severity", theme: "theme", hideIcon: ["hideIcon", "hideIcon", booleanAttribute], dismissible: ["dismissible", "dismissible", booleanAttribute] }, host: { classAttribute: "rc-ses-element rc-ses-message" }, ngImport: i0, template: "<div\n aria-live=\"polite\"\n class=\"rc-ses-message--wrapper mat-accent\"\n [class]=\"containerClass\"\n>\n\n @if (!hideIcon) {\n <div class=\"rc-ses-message--icon\">\n @switch (severity) {\n @case ('info') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-info-fill\" aria-hidden=\"false\" />\n }\n @case ('warning') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-warning-fill\" aria-hidden=\"false\" />\n }\n @case ('error') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-warning-diamond-fill\" aria-hidden=\"false\" />\n }\n @case ('success') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-check-circle-fill\" aria-hidden=\"false\" />\n }\n @default {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-info-fill\" aria-hidden=\"false\" />\n }\n }\n </div>\n }\n\n <div class=\"rc-ses-message--content\">\n <ng-content />\n </div>\n\n <div class=\"rc-ses-message--actions\">\n @if (dismissible) {\n <button rc-ses-button mat-stroked-button>U\u017Edaryti</button>\n }\n <ng-content select=\"[actions]\" />\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: RcSesButtonDirective, selector: "[rc-ses-button]", inputs: ["color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
974
|
+
}
|
|
975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RcSesMessageComponent, decorators: [{
|
|
976
|
+
type: Component,
|
|
977
|
+
args: [{ selector: 'rc-ses-message', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
978
|
+
MatButtonModule,
|
|
979
|
+
MatIconModule,
|
|
980
|
+
RcSesButtonDirective,
|
|
981
|
+
], host: {
|
|
982
|
+
class: 'rc-ses-element rc-ses-message'
|
|
983
|
+
}, template: "<div\n aria-live=\"polite\"\n class=\"rc-ses-message--wrapper mat-accent\"\n [class]=\"containerClass\"\n>\n\n @if (!hideIcon) {\n <div class=\"rc-ses-message--icon\">\n @switch (severity) {\n @case ('info') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-info-fill\" aria-hidden=\"false\" />\n }\n @case ('warning') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-warning-fill\" aria-hidden=\"false\" />\n }\n @case ('error') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-warning-diamond-fill\" aria-hidden=\"false\" />\n }\n @case ('success') {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-check-circle-fill\" aria-hidden=\"false\" />\n }\n @default {\n <mat-icon matListItemIcon svgIcon=\"rc-ses-info-fill\" aria-hidden=\"false\" />\n }\n }\n </div>\n }\n\n <div class=\"rc-ses-message--content\">\n <ng-content />\n </div>\n\n <div class=\"rc-ses-message--actions\">\n @if (dismissible) {\n <button rc-ses-button mat-stroked-button>U\u017Edaryti</button>\n }\n <ng-content select=\"[actions]\" />\n </div>\n</div>\n" }]
|
|
984
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
985
|
+
type: Inject,
|
|
986
|
+
args: [DOCUMENT]
|
|
987
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { severity: [{
|
|
988
|
+
type: Input
|
|
989
|
+
}], theme: [{
|
|
990
|
+
type: Input
|
|
991
|
+
}], hideIcon: [{
|
|
992
|
+
type: Input,
|
|
993
|
+
args: [{ transform: booleanAttribute }]
|
|
994
|
+
}], dismissible: [{
|
|
995
|
+
type: Input,
|
|
996
|
+
args: [{ transform: booleanAttribute }]
|
|
997
|
+
}] } });
|
|
998
|
+
|
|
999
|
+
/*
|
|
1000
|
+
* Public API Surface of @rc-ses/angular-components
|
|
1001
|
+
*/
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Generated bundle index. Do not edit.
|
|
1005
|
+
*/
|
|
1006
|
+
|
|
1007
|
+
export { Breadcrumbs, RcSesAccordionDirective, RcSesAgreementCheckboxComponent, RcSesDividerComponent, RcSesFormFieldComponent, RcSesInputDirective, RcSesMessageComponent, RcSesNumberStepperComponent, RcSesRadioButtonGroupComponent, RcSesSelectComponent, ServiceFormActions, ServiceFormContainer, ServiceHeader, ServicePage, ServiceWizardSteps };
|
|
1008
|
+
//# sourceMappingURL=registrucentras-rc-ses-angular-components.mjs.map
|