@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
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { HttpClient } from '@angular/common/http';
|
|
4
|
-
|
|
5
|
-
import { RcSesButtonDirective } from '../../../../rc-ses/angular-components/src/lib/components/button/button';
|
|
6
|
-
import { ServiceHeader } from '../../../../rc-ses/angular-components/src/lib/components/layout/service-header/service-header';
|
|
7
|
-
import { ServicePage } from '../../../../rc-ses/angular-components/src/lib/components/layout/service-page/service-page';
|
|
8
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
9
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
10
|
-
import { RcSesIconsModule } from '../../../../rc-ses/angular-components/src/lib/components/icons/icons.module';
|
|
11
|
-
import { RouterLink } from '@angular/router';
|
|
12
|
-
|
|
13
|
-
@Component({
|
|
14
|
-
selector: 'landing-page',
|
|
15
|
-
standalone: true,
|
|
16
|
-
imports: [
|
|
17
|
-
CommonModule,
|
|
18
|
-
RouterLink,
|
|
19
|
-
|
|
20
|
-
MatButtonModule,
|
|
21
|
-
MatIconModule,
|
|
22
|
-
|
|
23
|
-
RcSesButtonDirective,
|
|
24
|
-
RcSesIconsModule,
|
|
25
|
-
|
|
26
|
-
ServiceHeader,
|
|
27
|
-
ServicePage,
|
|
28
|
-
],
|
|
29
|
-
templateUrl: './landing-page.html',
|
|
30
|
-
styleUrl: './landing-page.scss',
|
|
31
|
-
providers: [
|
|
32
|
-
HttpClient,
|
|
33
|
-
],
|
|
34
|
-
})
|
|
35
|
-
export class LandingPageComponent {
|
|
36
|
-
|
|
37
|
-
}
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
<rc-ses-service-page>
|
|
2
|
-
<rc-ses-service-header
|
|
3
|
-
serviceName="Nekilnojamojo turto registro išrašas pagal nurodytą turto adresą"
|
|
4
|
-
serviceDescription="Šiame puslapyje Jūs galite užsisakyti Nekilnojamojo turto registro išrašus, pažymas bei kitus dokumentus. Užsakytą NTR išrašą, pažymą ar kitą dokumentą galėsite gauti elektroniniu būdu arba atsiimti pasirinktame VĮ Registrų centro padalinyje."
|
|
5
|
-
[path]="[{ label: 'Formos su vedliu pavyzdys', path: '/sample-form-multiple-steps'}]"
|
|
6
|
-
/>
|
|
7
|
-
<rc-ses-service-wizard-steps
|
|
8
|
-
[steps]="[
|
|
9
|
-
{ state: 'completed', label: 'Bazinė informacija'},
|
|
10
|
-
{ state: 'active', label: 'Paslaugos užsakymas'},
|
|
11
|
-
{ state: 'pending', label: 'Išdavimas'},
|
|
12
|
-
{ state: 'pending', label: 'Reikalingos papildomos paslaugos'},
|
|
13
|
-
{ state: 'pending', label: 'Terminai ir sąlygos'},
|
|
14
|
-
]"
|
|
15
|
-
/>
|
|
16
|
-
<rc-ses-service-form-container>
|
|
17
|
-
<mat-accordion rc-ses-accordion multi>
|
|
18
|
-
<mat-expansion-panel>
|
|
19
|
-
<mat-expansion-panel-header>
|
|
20
|
-
<mat-panel-title>Bazinė informacija</mat-panel-title>
|
|
21
|
-
</mat-expansion-panel-header>
|
|
22
|
-
<div>
|
|
23
|
-
|
|
24
|
-
</div>
|
|
25
|
-
</mat-expansion-panel>
|
|
26
|
-
|
|
27
|
-
<mat-expansion-panel expanded>
|
|
28
|
-
<mat-expansion-panel-header>
|
|
29
|
-
<mat-panel-title>Paslaugos užsakymas</mat-panel-title>
|
|
30
|
-
</mat-expansion-panel-header>
|
|
31
|
-
<div>
|
|
32
|
-
<form [formGroup]="formStep1">
|
|
33
|
-
<rc-ses-form-field label="Tikslas">
|
|
34
|
-
<rc-ses-select
|
|
35
|
-
formControlName="purpose"
|
|
36
|
-
placeholder="Pasirinkite"
|
|
37
|
-
[options]="purposeOptions"
|
|
38
|
-
/>
|
|
39
|
-
</rc-ses-form-field>
|
|
40
|
-
|
|
41
|
-
<rc-ses-form-field label="Teisinis pagrindas">
|
|
42
|
-
<rc-ses-select
|
|
43
|
-
formControlName="legalBasis"
|
|
44
|
-
placeholder="Pasirinkite"
|
|
45
|
-
[options]="legalBasisOptions"
|
|
46
|
-
/>
|
|
47
|
-
</rc-ses-form-field>
|
|
48
|
-
|
|
49
|
-
<rc-ses-form-field label="Turto adresas">
|
|
50
|
-
<rc-ses-select
|
|
51
|
-
formControlName="propertyAddress"
|
|
52
|
-
placeholder="Pasirinkite"
|
|
53
|
-
[options]="propertyAddressOptions"
|
|
54
|
-
searchable
|
|
55
|
-
/>
|
|
56
|
-
</rc-ses-form-field>
|
|
57
|
-
|
|
58
|
-
<rc-ses-form-field label="Sutikimas">
|
|
59
|
-
<rc-ses-agreement-checkbox
|
|
60
|
-
formControlName="agreement"
|
|
61
|
-
description="Pagal užsakymą gautus duomenis naudosiu nurodytam duomenų tikslui ir šių duomenų neatskleisiu tretiesiems asmenims."
|
|
62
|
-
/>
|
|
63
|
-
</rc-ses-form-field>
|
|
64
|
-
|
|
65
|
-
<rc-ses-form-field label="Terminas">
|
|
66
|
-
<rc-ses-select
|
|
67
|
-
formControlName="deadline"
|
|
68
|
-
placeholder="Pasirinkite"
|
|
69
|
-
[options]="deadlineOptions"
|
|
70
|
-
/>
|
|
71
|
-
</rc-ses-form-field>
|
|
72
|
-
|
|
73
|
-
<rc-ses-form-field label="Egzempliorių skaičius">
|
|
74
|
-
<rc-ses-number-stepper
|
|
75
|
-
formControlName="numberOfCopies"
|
|
76
|
-
placeholder="0"
|
|
77
|
-
[min]="0"
|
|
78
|
-
[max]="9"
|
|
79
|
-
[step]="1"
|
|
80
|
-
/>
|
|
81
|
-
</rc-ses-form-field>
|
|
82
|
-
</form>
|
|
83
|
-
</div>
|
|
84
|
-
</mat-expansion-panel>
|
|
85
|
-
|
|
86
|
-
<mat-expansion-panel expanded>
|
|
87
|
-
<mat-expansion-panel-header>
|
|
88
|
-
<mat-panel-title>Išdavimas</mat-panel-title>
|
|
89
|
-
</mat-expansion-panel-header>
|
|
90
|
-
<div>
|
|
91
|
-
<form [formGroup]="formStep2">
|
|
92
|
-
<rc-ses-message severity="warning">
|
|
93
|
-
Primename, kad atsiimant rezultatus padalinyje su savimi privalote turėti asmens tapatybę patvirtinantį dokumentą.
|
|
94
|
-
</rc-ses-message>
|
|
95
|
-
|
|
96
|
-
<rc-ses-form-field label="Išdavimo būdas">
|
|
97
|
-
<rc-ses-radio-button-group
|
|
98
|
-
formControlName="issueMethod"
|
|
99
|
-
[options]="issueMethodOptions"
|
|
100
|
-
displayAsButtons
|
|
101
|
-
/>
|
|
102
|
-
</rc-ses-form-field>
|
|
103
|
-
|
|
104
|
-
<rc-ses-form-field label="RC padalinys">
|
|
105
|
-
<rc-ses-select
|
|
106
|
-
formControlName="rcBranch"
|
|
107
|
-
placeholder="Pasirinkite"
|
|
108
|
-
[options]="rcBranchOptions"
|
|
109
|
-
searchable
|
|
110
|
-
/>
|
|
111
|
-
<mat-hint align="start">Informacija apie <a href="https://www.registrucentras.lt/p/1218" target="_blank">RC padalinius</a></mat-hint>
|
|
112
|
-
</rc-ses-form-field>
|
|
113
|
-
</form>
|
|
114
|
-
</div>
|
|
115
|
-
</mat-expansion-panel>
|
|
116
|
-
|
|
117
|
-
<mat-expansion-panel expanded>
|
|
118
|
-
<mat-expansion-panel-header>
|
|
119
|
-
<mat-panel-title>Reikalingos papildomos paslaugos</mat-panel-title>
|
|
120
|
-
</mat-expansion-panel-header>
|
|
121
|
-
<div>
|
|
122
|
-
<form [formGroup]="formStep3">
|
|
123
|
-
<rc-ses-form-field label="Paslaugos pavadinimas">
|
|
124
|
-
<mat-form-field>
|
|
125
|
-
<input rc-ses-input matInput type="text" formControlName="additionalServices" />
|
|
126
|
-
</mat-form-field>
|
|
127
|
-
</rc-ses-form-field>
|
|
128
|
-
</form>
|
|
129
|
-
</div>
|
|
130
|
-
</mat-expansion-panel>
|
|
131
|
-
|
|
132
|
-
<mat-expansion-panel expanded>
|
|
133
|
-
<mat-expansion-panel-header>
|
|
134
|
-
<mat-panel-title>Terminai ir sąlygos</mat-panel-title>
|
|
135
|
-
</mat-expansion-panel-header>
|
|
136
|
-
<div>
|
|
137
|
-
<form [formGroup]="formStep4">
|
|
138
|
-
<rc-ses-form-field>
|
|
139
|
-
<rc-ses-agreement-checkbox
|
|
140
|
-
formControlName="termsAndConditionsAgreement"
|
|
141
|
-
flat
|
|
142
|
-
>
|
|
143
|
-
<b>Užsakydamas darbus esu susipažinęs su <a href="#" target="_blank">darbų atlikimo ir atlyginimo tvarka</a> ir įsipareigoju apmokėti už užsakytus darbus. Esu informuotas, kad per nurodytą terminą neapmokėjus apskaičiuoto mokesčio, darbų užsakymas per pasiriktą terminą nebus įvykdytas.</b>
|
|
144
|
-
</rc-ses-agreement-checkbox>
|
|
145
|
-
</rc-ses-form-field>
|
|
146
|
-
</form>
|
|
147
|
-
</div>
|
|
148
|
-
</mat-expansion-panel>
|
|
149
|
-
</mat-accordion>
|
|
150
|
-
</rc-ses-service-form-container>
|
|
151
|
-
</rc-ses-service-page>
|
|
152
|
-
|
|
153
|
-
<!--
|
|
154
|
-
<br />
|
|
155
|
-
<br />
|
|
156
|
-
<button rc-ses-button mat-button>RC SES basic button</button>
|
|
157
|
-
|
|
158
|
-
<button rc-ses-button mat-button disabled>RC SES basic button</button>
|
|
159
|
-
|
|
160
|
-
<br />
|
|
161
|
-
<br />
|
|
162
|
-
<button rc-ses-button mat-button color="neutral">RC SES basic neutral button</button>
|
|
163
|
-
|
|
164
|
-
<button rc-ses-button mat-button color="neutral" disabled>RC SES basic button</button>
|
|
165
|
-
|
|
166
|
-
<br />
|
|
167
|
-
<br />
|
|
168
|
-
<button rc-ses-button mat-flat-button>RC SES button</button>
|
|
169
|
-
|
|
170
|
-
<button rc-ses-button mat-flat-button disabled>RC SES button</button>
|
|
171
|
-
|
|
172
|
-
<button rc-ses-button mat-stroked-button>RC SES button</button>
|
|
173
|
-
|
|
174
|
-
<button rc-ses-button mat-stroked-button disabled>RC SES button</button>
|
|
175
|
-
|
|
176
|
-
<br />
|
|
177
|
-
<br />
|
|
178
|
-
<button rc-ses-button mat-flat-button color="secondary">RC SES secondary button</button>
|
|
179
|
-
|
|
180
|
-
<button rc-ses-button mat-flat-button color="secondary" disabled>RC SES secondary button</button>
|
|
181
|
-
|
|
182
|
-
<button rc-ses-button mat-stroked-button color="secondary">RC SES secondary button</button>
|
|
183
|
-
|
|
184
|
-
<button rc-ses-button mat-stroked-button color="secondary" disabled>RC SES secondary button</button>
|
|
185
|
-
|
|
186
|
-
<br />
|
|
187
|
-
<br />
|
|
188
|
-
<button rc-ses-button mat-flat-button color="neutral">RC SES neutral button</button>
|
|
189
|
-
|
|
190
|
-
<button rc-ses-button mat-flat-button color="neutral" disabled>RC SES neutral button</button>
|
|
191
|
-
|
|
192
|
-
<button rc-ses-button mat-stroked-button color="neutral">RC SES neutral button</button>
|
|
193
|
-
|
|
194
|
-
<button rc-ses-button mat-stroked-button color="neutral" disabled>RC SES neutral button</button>
|
|
195
|
-
|
|
196
|
-
<br />
|
|
197
|
-
<br />
|
|
198
|
-
<button rc-ses-button mat-flat-button color="dark">RC SES dark button</button>
|
|
199
|
-
|
|
200
|
-
<button rc-ses-button mat-flat-button color="dark" disabled>RC SES dark button</button>
|
|
201
|
-
|
|
202
|
-
<br />
|
|
203
|
-
<br />
|
|
204
|
-
<button rc-ses-button mat-flat-button color="danger">RC SES danger button</button>
|
|
205
|
-
|
|
206
|
-
<button rc-ses-button mat-flat-button color="danger" disabled>RC SES danger button</button>
|
|
207
|
-
|
|
208
|
-
<br />
|
|
209
|
-
<br />
|
|
210
|
-
|
|
211
|
-
<rc-ses-form-field
|
|
212
|
-
label="Noice label"
|
|
213
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
214
|
-
>
|
|
215
|
-
<mat-form-field>
|
|
216
|
-
<input rc-ses-input matInput type="text" placeholder="Placeholder">
|
|
217
|
-
</mat-form-field>
|
|
218
|
-
</rc-ses-form-field>
|
|
219
|
-
|
|
220
|
-
<br />
|
|
221
|
-
|
|
222
|
-
<rc-ses-form-field
|
|
223
|
-
label="Noice label"
|
|
224
|
-
>
|
|
225
|
-
<mat-form-field>
|
|
226
|
-
<input rc-ses-input matInput type="text" placeholder="Placeholder">
|
|
227
|
-
</mat-form-field>
|
|
228
|
-
</rc-ses-form-field>
|
|
229
|
-
|
|
230
|
-
<br />
|
|
231
|
-
|
|
232
|
-
<rc-ses-form-field
|
|
233
|
-
label="Noice label"
|
|
234
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
235
|
-
[formControl]="testInputFormControl"
|
|
236
|
-
>
|
|
237
|
-
<mat-form-field>
|
|
238
|
-
<input rc-ses-input matInput type="text" [formControl]="testInputFormControl">
|
|
239
|
-
@if (testInputFormControl.hasError('required')) {
|
|
240
|
-
<mat-error>Duuuude</mat-error>
|
|
241
|
-
}
|
|
242
|
-
</mat-form-field>
|
|
243
|
-
</rc-ses-form-field>
|
|
244
|
-
|
|
245
|
-
<br />
|
|
246
|
-
|
|
247
|
-
<rc-ses-form-field
|
|
248
|
-
label="Noice label"
|
|
249
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
250
|
-
>
|
|
251
|
-
<mat-form-field>
|
|
252
|
-
<input rc-ses-input matInput type="text" [(ngModel)]="value" required>
|
|
253
|
-
</mat-form-field>
|
|
254
|
-
</rc-ses-form-field>
|
|
255
|
-
|
|
256
|
-
<br />
|
|
257
|
-
|
|
258
|
-
<rc-ses-form-field
|
|
259
|
-
label="Disabled"
|
|
260
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
261
|
-
>
|
|
262
|
-
<mat-form-field>
|
|
263
|
-
<input rc-ses-input matInput type="text" [(ngModel)]="value" disabled>
|
|
264
|
-
</mat-form-field>
|
|
265
|
-
</rc-ses-form-field>
|
|
266
|
-
|
|
267
|
-
<br />
|
|
268
|
-
|
|
269
|
-
<rc-ses-form-field
|
|
270
|
-
label="Readonly"
|
|
271
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
272
|
-
>
|
|
273
|
-
<mat-form-field>
|
|
274
|
-
<input rc-ses-input matInput type="text" [(ngModel)]="value" readonly>
|
|
275
|
-
</mat-form-field>
|
|
276
|
-
</rc-ses-form-field>
|
|
277
|
-
|
|
278
|
-
<br />
|
|
279
|
-
<br />
|
|
280
|
-
<br />
|
|
281
|
-
<br />
|
|
282
|
-
<br />
|
|
283
|
-
<br /> -->
|
|
File without changes
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { Component, viewChild } from '@angular/core';
|
|
2
|
-
import { RouterLink, RouterOutlet } from '@angular/router';
|
|
3
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import { MatInputModule } from '@angular/material/input';
|
|
8
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
-
import { MatCommonModule } from '@angular/material/core';
|
|
10
|
-
import { MatAccordion, MatExpansionModule } from '@angular/material/expansion';
|
|
11
|
-
import { FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
12
|
-
|
|
13
|
-
import { RcSesAccordionDirective } from '../../../../rc-ses/angular-components/src/lib/components/accordion/accordion';
|
|
14
|
-
import { RcSesButtonDirective } from '../../../../rc-ses/angular-components/src/lib/components/button/button';
|
|
15
|
-
import { RcSesFormFieldComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/form-field/form-field';
|
|
16
|
-
import { RcSesInputDirective } from '../../../../rc-ses/angular-components/src/lib/components/form/input/input/input';
|
|
17
|
-
import { ServiceFormContainer } from '../../../../rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container';
|
|
18
|
-
import { ServiceHeader } from '../../../../rc-ses/angular-components/src/lib/components/layout/service-header/service-header';
|
|
19
|
-
import { ServicePage } from '../../../../rc-ses/angular-components/src/lib/components/layout/service-page/service-page';
|
|
20
|
-
import { ServiceWizardSteps } from '../../../../rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps';
|
|
21
|
-
import { MatSelectModule } from '@angular/material/select';
|
|
22
|
-
import { RcSesSelectComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/input/select/select';
|
|
23
|
-
import { RcSesNumberStepperComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper';
|
|
24
|
-
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
25
|
-
import { RcSesAgreementCheckboxComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox';
|
|
26
|
-
import { RcSesMessageComponent } from '../../../../rc-ses/angular-components/src/lib/components/message/message';
|
|
27
|
-
import { RcSesRadioButtonGroupComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group';
|
|
28
|
-
import { RcSesIconsModule } from '../../../../rc-ses/angular-components/src/lib/components/icons/icons.module';
|
|
29
|
-
|
|
30
|
-
@Component({
|
|
31
|
-
selector: 'sample-form-multiple-steps',
|
|
32
|
-
standalone: true,
|
|
33
|
-
imports: [
|
|
34
|
-
CommonModule,
|
|
35
|
-
FormsModule,
|
|
36
|
-
ReactiveFormsModule,
|
|
37
|
-
RouterOutlet,
|
|
38
|
-
|
|
39
|
-
MatButtonModule,
|
|
40
|
-
MatCommonModule,
|
|
41
|
-
MatExpansionModule,
|
|
42
|
-
MatFormFieldModule,
|
|
43
|
-
MatIconModule,
|
|
44
|
-
MatInputModule,
|
|
45
|
-
|
|
46
|
-
RcSesAccordionDirective,
|
|
47
|
-
RcSesAgreementCheckboxComponent,
|
|
48
|
-
RcSesButtonDirective,
|
|
49
|
-
RcSesFormFieldComponent,
|
|
50
|
-
RcSesIconsModule,
|
|
51
|
-
RcSesInputDirective,
|
|
52
|
-
RcSesMessageComponent,
|
|
53
|
-
RcSesNumberStepperComponent,
|
|
54
|
-
RcSesRadioButtonGroupComponent,
|
|
55
|
-
RcSesSelectComponent,
|
|
56
|
-
|
|
57
|
-
ServiceHeader,
|
|
58
|
-
ServicePage,
|
|
59
|
-
ServiceWizardSteps,
|
|
60
|
-
ServiceFormContainer,
|
|
61
|
-
],
|
|
62
|
-
templateUrl: './sample-form-multiple-steps.html',
|
|
63
|
-
styleUrl: './sample-form-multiple-steps.scss',
|
|
64
|
-
providers: [
|
|
65
|
-
HttpClient,
|
|
66
|
-
],
|
|
67
|
-
})
|
|
68
|
-
export class SampleFormMultipleStepsComponent {
|
|
69
|
-
accordion = viewChild.required(MatAccordion);
|
|
70
|
-
|
|
71
|
-
/*
|
|
72
|
-
* PASLAUGOS UŽSAKYMAS
|
|
73
|
-
*/
|
|
74
|
-
formStep1 = new FormGroup({
|
|
75
|
-
purpose: new FormControl(
|
|
76
|
-
{ value: '', disabled: false },
|
|
77
|
-
{ validators: Validators.required },
|
|
78
|
-
),
|
|
79
|
-
legalBasis: new FormControl(
|
|
80
|
-
{ value: '', disabled: false },
|
|
81
|
-
{ validators: Validators.required },
|
|
82
|
-
),
|
|
83
|
-
propertyAddress: new FormControl(
|
|
84
|
-
{ value: '', disabled: false },
|
|
85
|
-
{ validators: Validators.required },
|
|
86
|
-
),
|
|
87
|
-
agreement: new FormControl(
|
|
88
|
-
{ value: false, disabled: false },
|
|
89
|
-
{ validators: Validators.required },
|
|
90
|
-
),
|
|
91
|
-
deadline: new FormControl(
|
|
92
|
-
{ value: '', disabled: false },
|
|
93
|
-
{ validators: Validators.required },
|
|
94
|
-
),
|
|
95
|
-
numberOfCopies: new FormControl(
|
|
96
|
-
{ value: '', disabled: false },
|
|
97
|
-
{ validators: Validators.required },
|
|
98
|
-
),
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
purposeOptions: { value: string, label: string, description?: string }[] = [
|
|
102
|
-
{ value: 'tikslas1', label: 'Tikslas 1' },
|
|
103
|
-
{ value: 'tikslas2', label: 'Tikslas 2' },
|
|
104
|
-
{ value: 'tikslas3', label: 'Tikslas 3' },
|
|
105
|
-
];
|
|
106
|
-
|
|
107
|
-
legalBasisOptions: { value: string, label: string, description?: string }[] = [
|
|
108
|
-
{ value: 'teisinisPagrindas1', label: 'Teisinis pagrindas 1' },
|
|
109
|
-
{ value: 'teisinisPagrindas2', label: 'Teisinis pagrindas 2' },
|
|
110
|
-
{ value: 'teisinisPagrindas3', label: 'Teisinis pagrindas 3' },
|
|
111
|
-
];
|
|
112
|
-
|
|
113
|
-
deadlineOptions: { value: string, label: string, description?: string }[] = [
|
|
114
|
-
{ value: 'terminas-1', label: 'artimiausiu metu' },
|
|
115
|
-
{ value: 'terminas-2', label: 'iki mėnesio pabaigos' },
|
|
116
|
-
];
|
|
117
|
-
|
|
118
|
-
propertyAddressOptions: { value: string, label: string, description?: string }[] = [
|
|
119
|
-
{ value: 'lvivo-g-7', label: 'Lvivo g. 7', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
120
|
-
{ value: 'lvivo-g-9', label: 'Lvivo g. 9', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
121
|
-
{ value: 'lvivo-g-11', label: 'Lvivo g. 11', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
122
|
-
{ value: 'lvivo-g-11a', label: 'Lvivo g. 11A', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
123
|
-
{ value: 'lvivo-g-12', label: 'Lvivo g. 12', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
124
|
-
{ value: 'lvivo-g-13', label: 'Lvivo g. 13', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
125
|
-
{ value: 'lvivo-g-13a', label: 'Lvivo g. 13A', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
126
|
-
{ value: 'lvivo-g-13b', label: 'Lvivo g. 13B', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
127
|
-
{ value: 'lvivo-g-1c', label: 'Lvivo g. 13C', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
128
|
-
];
|
|
129
|
-
|
|
130
|
-
purposeOptionsWithDescription: { value: string, label: string, description?: string }[] = [
|
|
131
|
-
{ value: 'tikslas1', label: 'Tikslas 1', description: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.' },
|
|
132
|
-
{ value: 'tikslas2', label: 'Tikslas 2', description: 'Lorem Ipsum is simply dummy text.' },
|
|
133
|
-
{ value: 'tikslas3', label: 'Tikslas 3', description: 'Lorem Ipsum is simply dummy text of the printing industry.' },
|
|
134
|
-
];
|
|
135
|
-
|
|
136
|
-
purposeGroups: { name: string, disabled: boolean, items: { value: string, label: string, description?: string }[] }[] = [
|
|
137
|
-
{
|
|
138
|
-
name: 'Grupė 1',
|
|
139
|
-
disabled: false,
|
|
140
|
-
items: [
|
|
141
|
-
{ value: 'tikslas1', label: 'Tikslas 1' },
|
|
142
|
-
{ value: 'tikslas2', label: 'Tikslas 2' },
|
|
143
|
-
{ value: 'tikslas3', label: 'Tikslas 3' },
|
|
144
|
-
],
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
name: 'Grupė 2',
|
|
148
|
-
disabled: false,
|
|
149
|
-
items: [
|
|
150
|
-
{ value: 'tikslas4', label: 'Tikslas 4' },
|
|
151
|
-
{ value: 'tikslas5', label: 'Tikslas 5' },
|
|
152
|
-
{ value: 'tikslas6', label: 'Tikslas 6' },
|
|
153
|
-
],
|
|
154
|
-
},
|
|
155
|
-
];
|
|
156
|
-
|
|
157
|
-
/*
|
|
158
|
-
* IŠDAVIMAS
|
|
159
|
-
*/
|
|
160
|
-
formStep2 = new FormGroup({
|
|
161
|
-
issueMethod: new FormControl(
|
|
162
|
-
{ value: '', disabled: false },
|
|
163
|
-
{ validators: Validators.required },
|
|
164
|
-
),
|
|
165
|
-
rcBranch: new FormControl(
|
|
166
|
-
{ value: '', disabled: false },
|
|
167
|
-
{ validators: Validators.required },
|
|
168
|
-
),
|
|
169
|
-
});
|
|
170
|
-
|
|
171
|
-
rcBranchOptions: { value: string, label: string, description?: string }[] = [
|
|
172
|
-
{
|
|
173
|
-
label: 'Lvivo g. 25-101',
|
|
174
|
-
value: 'vilnius',
|
|
175
|
-
description: '09320 Vilnius',
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
label: 'E. Ožeškienės g. 12',
|
|
179
|
-
value: 'kaunas',
|
|
180
|
-
description: '44252 Kaunas, (įėjimas iš L. Sapiegos gatvės pusės)',
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
label: 'Baltijos pr. 123-1',
|
|
184
|
-
value: 'klaipeda',
|
|
185
|
-
description: '93224 Klaipėda',
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
label: 'Baltijos pr. 123-1',
|
|
189
|
-
value: 'siauliai',
|
|
190
|
-
description: '78167 Šiauliai',
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
label: 'Baltijos pr. 123-1',
|
|
194
|
-
value: 'panevezys',
|
|
195
|
-
description: '35173 Panevėžys',
|
|
196
|
-
},
|
|
197
|
-
];
|
|
198
|
-
|
|
199
|
-
issueMethodOptions: { value: string, label: string }[] = [
|
|
200
|
-
{ label: 'El. paštu', value: 'email' },
|
|
201
|
-
{ label: 'Padalinyje', value: 'branch' },
|
|
202
|
-
{ label: 'Paštu Lietuvoje', value: 'mail-local' },
|
|
203
|
-
{ label: 'Paštu užsienyje', value: 'mail-abroad' },
|
|
204
|
-
];
|
|
205
|
-
|
|
206
|
-
/*
|
|
207
|
-
* REIKALINGOS PAPILDOMOS PASLAUGOS
|
|
208
|
-
*/
|
|
209
|
-
formStep3 = new FormGroup({
|
|
210
|
-
additionalServices: new FormControl(
|
|
211
|
-
{ value: 'Papildoma paslauga #1', disabled: true },
|
|
212
|
-
),
|
|
213
|
-
});
|
|
214
|
-
|
|
215
|
-
/*
|
|
216
|
-
* TERMINAI IR SĄLYGOS
|
|
217
|
-
*/
|
|
218
|
-
formStep4 = new FormGroup({
|
|
219
|
-
termsAndConditionsAgreement: new FormControl(
|
|
220
|
-
{ value: false, disabled: false },
|
|
221
|
-
),
|
|
222
|
-
});
|
|
223
|
-
}
|