@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,271 +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: 'Vieno žingsnio formos pavyzdys', path: '/sample-form-single-step'}]"
|
|
6
|
-
/>
|
|
7
|
-
<rc-ses-service-form-container canCollapse="false">
|
|
8
|
-
<mat-accordion rc-ses-accordion multi hideToggle>
|
|
9
|
-
<mat-expansion-panel expanded>
|
|
10
|
-
<mat-expansion-panel-header>
|
|
11
|
-
<mat-panel-title>Paslaugos užsakymo forma</mat-panel-title>
|
|
12
|
-
</mat-expansion-panel-header>
|
|
13
|
-
<div>
|
|
14
|
-
<form [formGroup]="form">
|
|
15
|
-
<rc-ses-form-field label="Laisvas tekstas">
|
|
16
|
-
<mat-form-field>
|
|
17
|
-
<input
|
|
18
|
-
rc-ses-input
|
|
19
|
-
matInput
|
|
20
|
-
placeholder="Tekstas"
|
|
21
|
-
type="text"
|
|
22
|
-
formControlName="text"
|
|
23
|
-
/>
|
|
24
|
-
</mat-form-field>
|
|
25
|
-
</rc-ses-form-field>
|
|
26
|
-
|
|
27
|
-
<rc-ses-form-field
|
|
28
|
-
label="Lasivas tekstas"
|
|
29
|
-
labelSubtitle="(su papildoma informacija)">
|
|
30
|
-
<mat-form-field>
|
|
31
|
-
<input
|
|
32
|
-
rc-ses-input
|
|
33
|
-
matInput
|
|
34
|
-
placeholder="Tekstas"
|
|
35
|
-
type="text"
|
|
36
|
-
formControlName="text"
|
|
37
|
-
/>
|
|
38
|
-
</mat-form-field>
|
|
39
|
-
</rc-ses-form-field>
|
|
40
|
-
|
|
41
|
-
<rc-ses-form-field label="Lasivas tekstas">
|
|
42
|
-
<mat-form-field>
|
|
43
|
-
<input
|
|
44
|
-
rc-ses-input
|
|
45
|
-
matInput
|
|
46
|
-
placeholder="Tekstas"
|
|
47
|
-
type="text"
|
|
48
|
-
formControlName="text"
|
|
49
|
-
/>
|
|
50
|
-
<mat-hint align="start">Ir dar daugiau papildomos informacijos, lyg ir taip maža būtų.</mat-hint>
|
|
51
|
-
</mat-form-field>
|
|
52
|
-
</rc-ses-form-field>
|
|
53
|
-
|
|
54
|
-
<rc-ses-form-field label="Pasirinkimas">
|
|
55
|
-
<rc-ses-select
|
|
56
|
-
formControlName="selection"
|
|
57
|
-
placeholder="Pasirinkite"
|
|
58
|
-
[options]="selectionOptions"
|
|
59
|
-
multiple
|
|
60
|
-
searchable
|
|
61
|
-
/>
|
|
62
|
-
</rc-ses-form-field>
|
|
63
|
-
|
|
64
|
-
<rc-ses-form-field label="Data">
|
|
65
|
-
<mat-form-field>
|
|
66
|
-
<input
|
|
67
|
-
matInput
|
|
68
|
-
[matDatepicker]="datepicker"
|
|
69
|
-
formControlName="date"
|
|
70
|
-
/>
|
|
71
|
-
<mat-datepicker-toggle matIconSuffix [for]="datepicker"></mat-datepicker-toggle>
|
|
72
|
-
<mat-datepicker #datepicker>
|
|
73
|
-
<mat-datepicker-actions>
|
|
74
|
-
<button mat-button matDatepickerCancel>Cancel</button>
|
|
75
|
-
<button mat-raised-button matDatepickerApply>Apply</button>
|
|
76
|
-
</mat-datepicker-actions>
|
|
77
|
-
</mat-datepicker>
|
|
78
|
-
</mat-form-field>
|
|
79
|
-
</rc-ses-form-field>
|
|
80
|
-
|
|
81
|
-
<rc-ses-form-field label="Skaičius">
|
|
82
|
-
<rc-ses-number-stepper
|
|
83
|
-
formControlName="integer"
|
|
84
|
-
placeholder="0"
|
|
85
|
-
[min]="0"
|
|
86
|
-
[max]="9"
|
|
87
|
-
[step]="1"
|
|
88
|
-
/>
|
|
89
|
-
</rc-ses-form-field>
|
|
90
|
-
|
|
91
|
-
<rc-ses-form-field label="Sutikimas">
|
|
92
|
-
<rc-ses-agreement-checkbox
|
|
93
|
-
formControlName="agreement"
|
|
94
|
-
description="Pagal užsakymą gautus duomenis naudosiu nurodytam duomenų tikslui ir šių duomenų neatskleisiu tretiesiems asmenims."
|
|
95
|
-
/>
|
|
96
|
-
</rc-ses-form-field>
|
|
97
|
-
|
|
98
|
-
<rc-ses-divider />
|
|
99
|
-
|
|
100
|
-
<rc-ses-form-field label="Trumpas tekstas">
|
|
101
|
-
<mat-form-field>
|
|
102
|
-
<input
|
|
103
|
-
rc-ses-input
|
|
104
|
-
matInput
|
|
105
|
-
placeholder="Tekstas"
|
|
106
|
-
type="text"
|
|
107
|
-
formControlName="text"
|
|
108
|
-
/>
|
|
109
|
-
</mat-form-field>
|
|
110
|
-
</rc-ses-form-field>
|
|
111
|
-
|
|
112
|
-
<rc-ses-form-field label="Radio pasirinkimas I">
|
|
113
|
-
<rc-ses-radio-button-group
|
|
114
|
-
formControlName="radioSelect1"
|
|
115
|
-
[options]="radioOptions"
|
|
116
|
-
displayAsButtons
|
|
117
|
-
/>
|
|
118
|
-
</rc-ses-form-field>
|
|
119
|
-
|
|
120
|
-
<rc-ses-form-field label="Radio pasirinkimas II">
|
|
121
|
-
<rc-ses-radio-button-group
|
|
122
|
-
formControlName="radioSelect2"
|
|
123
|
-
[options]="radioOptions"
|
|
124
|
-
hasBackground
|
|
125
|
-
/>
|
|
126
|
-
</rc-ses-form-field>
|
|
127
|
-
|
|
128
|
-
<rc-ses-form-field label="Radio pasirinkimas III">
|
|
129
|
-
<rc-ses-radio-button-group
|
|
130
|
-
formControlName="radioSelect3"
|
|
131
|
-
[options]="radioOptions"
|
|
132
|
-
/>
|
|
133
|
-
</rc-ses-form-field>
|
|
134
|
-
</form>
|
|
135
|
-
</div>
|
|
136
|
-
</mat-expansion-panel>
|
|
137
|
-
</mat-accordion>
|
|
138
|
-
</rc-ses-service-form-container>
|
|
139
|
-
</rc-ses-service-page>
|
|
140
|
-
|
|
141
|
-
<!--
|
|
142
|
-
<br />
|
|
143
|
-
<br />
|
|
144
|
-
<button rc-ses-button mat-button>RC SES basic button</button>
|
|
145
|
-
|
|
146
|
-
<button rc-ses-button mat-button disabled>RC SES basic button</button>
|
|
147
|
-
|
|
148
|
-
<br />
|
|
149
|
-
<br />
|
|
150
|
-
<button rc-ses-button mat-button color="neutral">RC SES basic neutral button</button>
|
|
151
|
-
|
|
152
|
-
<button rc-ses-button mat-button color="neutral" disabled>RC SES basic button</button>
|
|
153
|
-
|
|
154
|
-
<br />
|
|
155
|
-
<br />
|
|
156
|
-
<button rc-ses-button mat-flat-button>RC SES button</button>
|
|
157
|
-
|
|
158
|
-
<button rc-ses-button mat-flat-button disabled>RC SES button</button>
|
|
159
|
-
|
|
160
|
-
<button rc-ses-button mat-stroked-button>RC SES button</button>
|
|
161
|
-
|
|
162
|
-
<button rc-ses-button mat-stroked-button disabled>RC SES button</button>
|
|
163
|
-
|
|
164
|
-
<br />
|
|
165
|
-
<br />
|
|
166
|
-
<button rc-ses-button mat-flat-button color="secondary">RC SES secondary button</button>
|
|
167
|
-
|
|
168
|
-
<button rc-ses-button mat-flat-button color="secondary" disabled>RC SES secondary button</button>
|
|
169
|
-
|
|
170
|
-
<button rc-ses-button mat-stroked-button color="secondary">RC SES secondary button</button>
|
|
171
|
-
|
|
172
|
-
<button rc-ses-button mat-stroked-button color="secondary" disabled>RC SES secondary button</button>
|
|
173
|
-
|
|
174
|
-
<br />
|
|
175
|
-
<br />
|
|
176
|
-
<button rc-ses-button mat-flat-button color="neutral">RC SES neutral button</button>
|
|
177
|
-
|
|
178
|
-
<button rc-ses-button mat-flat-button color="neutral" disabled>RC SES neutral button</button>
|
|
179
|
-
|
|
180
|
-
<button rc-ses-button mat-stroked-button color="neutral">RC SES neutral button</button>
|
|
181
|
-
|
|
182
|
-
<button rc-ses-button mat-stroked-button color="neutral" disabled>RC SES neutral button</button>
|
|
183
|
-
|
|
184
|
-
<br />
|
|
185
|
-
<br />
|
|
186
|
-
<button rc-ses-button mat-flat-button color="dark">RC SES dark button</button>
|
|
187
|
-
|
|
188
|
-
<button rc-ses-button mat-flat-button color="dark" disabled>RC SES dark button</button>
|
|
189
|
-
|
|
190
|
-
<br />
|
|
191
|
-
<br />
|
|
192
|
-
<button rc-ses-button mat-flat-button color="danger">RC SES danger button</button>
|
|
193
|
-
|
|
194
|
-
<button rc-ses-button mat-flat-button color="danger" disabled>RC SES danger button</button>
|
|
195
|
-
|
|
196
|
-
<br />
|
|
197
|
-
<br />
|
|
198
|
-
|
|
199
|
-
<rc-ses-form-field
|
|
200
|
-
label="Noice label"
|
|
201
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
202
|
-
>
|
|
203
|
-
<mat-form-field>
|
|
204
|
-
<input rc-ses-input matInput type="text" placeholder="Placeholder">
|
|
205
|
-
</mat-form-field>
|
|
206
|
-
</rc-ses-form-field>
|
|
207
|
-
|
|
208
|
-
<br />
|
|
209
|
-
|
|
210
|
-
<rc-ses-form-field
|
|
211
|
-
label="Noice label"
|
|
212
|
-
>
|
|
213
|
-
<mat-form-field>
|
|
214
|
-
<input rc-ses-input matInput type="text" placeholder="Placeholder">
|
|
215
|
-
</mat-form-field>
|
|
216
|
-
</rc-ses-form-field>
|
|
217
|
-
|
|
218
|
-
<br />
|
|
219
|
-
|
|
220
|
-
<rc-ses-form-field
|
|
221
|
-
label="Noice label"
|
|
222
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
223
|
-
[formControl]="testInputFormControl"
|
|
224
|
-
>
|
|
225
|
-
<mat-form-field>
|
|
226
|
-
<input rc-ses-input matInput type="text" [formControl]="testInputFormControl">
|
|
227
|
-
@if (testInputFormControl.hasError('required')) {
|
|
228
|
-
<mat-error>Duuuude</mat-error>
|
|
229
|
-
}
|
|
230
|
-
</mat-form-field>
|
|
231
|
-
</rc-ses-form-field>
|
|
232
|
-
|
|
233
|
-
<br />
|
|
234
|
-
|
|
235
|
-
<rc-ses-form-field
|
|
236
|
-
label="Noice label"
|
|
237
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
238
|
-
>
|
|
239
|
-
<mat-form-field>
|
|
240
|
-
<input rc-ses-input matInput type="text" [(ngModel)]="value" required>
|
|
241
|
-
</mat-form-field>
|
|
242
|
-
</rc-ses-form-field>
|
|
243
|
-
|
|
244
|
-
<br />
|
|
245
|
-
|
|
246
|
-
<rc-ses-form-field
|
|
247
|
-
label="Disabled"
|
|
248
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
249
|
-
>
|
|
250
|
-
<mat-form-field>
|
|
251
|
-
<input rc-ses-input matInput type="text" [(ngModel)]="value" disabled>
|
|
252
|
-
</mat-form-field>
|
|
253
|
-
</rc-ses-form-field>
|
|
254
|
-
|
|
255
|
-
<br />
|
|
256
|
-
|
|
257
|
-
<rc-ses-form-field
|
|
258
|
-
label="Readonly"
|
|
259
|
-
labelSubtitle="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard."
|
|
260
|
-
>
|
|
261
|
-
<mat-form-field>
|
|
262
|
-
<input rc-ses-input matInput type="text" [(ngModel)]="value" readonly>
|
|
263
|
-
</mat-form-field>
|
|
264
|
-
</rc-ses-form-field>
|
|
265
|
-
|
|
266
|
-
<br />
|
|
267
|
-
<br />
|
|
268
|
-
<br />
|
|
269
|
-
<br />
|
|
270
|
-
<br />
|
|
271
|
-
<br /> -->
|
|
File without changes
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { Component, viewChild } from '@angular/core';
|
|
2
|
-
import { 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, provideNativeDateAdapter } 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 { RcSesSelectComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/input/select/select';
|
|
22
|
-
import { RcSesNumberStepperComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper';
|
|
23
|
-
import { RcSesAgreementCheckboxComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox';
|
|
24
|
-
import { RcSesMessageComponent } from '../../../../rc-ses/angular-components/src/lib/components/message/message';
|
|
25
|
-
import { RcSesRadioButtonGroupComponent } from '../../../../rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group';
|
|
26
|
-
import { RcSesIconsModule } from '../../../../rc-ses/angular-components/src/lib/components/icons/icons.module';
|
|
27
|
-
import { MatDividerModule } from '@angular/material/divider';
|
|
28
|
-
import { RcSesDividerComponent } from '../../../../rc-ses/angular-components/src/lib/components/divider/divider';
|
|
29
|
-
import { MatRadioModule } from '@angular/material/radio';
|
|
30
|
-
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
31
|
-
|
|
32
|
-
@Component({
|
|
33
|
-
selector: 'sample-form-single-step',
|
|
34
|
-
standalone: true,
|
|
35
|
-
imports: [
|
|
36
|
-
CommonModule,
|
|
37
|
-
FormsModule,
|
|
38
|
-
ReactiveFormsModule,
|
|
39
|
-
RouterOutlet,
|
|
40
|
-
|
|
41
|
-
MatButtonModule,
|
|
42
|
-
MatCommonModule,
|
|
43
|
-
MatDatepickerModule,
|
|
44
|
-
MatDividerModule,
|
|
45
|
-
MatExpansionModule,
|
|
46
|
-
MatFormFieldModule,
|
|
47
|
-
MatIconModule,
|
|
48
|
-
MatInputModule,
|
|
49
|
-
MatRadioModule,
|
|
50
|
-
|
|
51
|
-
RcSesAccordionDirective,
|
|
52
|
-
RcSesAgreementCheckboxComponent,
|
|
53
|
-
RcSesButtonDirective,
|
|
54
|
-
RcSesDividerComponent,
|
|
55
|
-
RcSesFormFieldComponent,
|
|
56
|
-
RcSesIconsModule,
|
|
57
|
-
RcSesInputDirective,
|
|
58
|
-
RcSesMessageComponent,
|
|
59
|
-
RcSesNumberStepperComponent,
|
|
60
|
-
RcSesRadioButtonGroupComponent,
|
|
61
|
-
RcSesSelectComponent,
|
|
62
|
-
|
|
63
|
-
ServiceHeader,
|
|
64
|
-
ServicePage,
|
|
65
|
-
ServiceWizardSteps,
|
|
66
|
-
ServiceFormContainer,
|
|
67
|
-
],
|
|
68
|
-
templateUrl: './sample-form-single-step.html',
|
|
69
|
-
styleUrl: './sample-form-single-step.scss',
|
|
70
|
-
providers: [
|
|
71
|
-
HttpClient,
|
|
72
|
-
provideNativeDateAdapter(),
|
|
73
|
-
],
|
|
74
|
-
})
|
|
75
|
-
export class SampleFormSingleStepComponent {
|
|
76
|
-
accordion = viewChild.required(MatAccordion);
|
|
77
|
-
|
|
78
|
-
form = new FormGroup({
|
|
79
|
-
text: new FormControl(
|
|
80
|
-
{ value: '', disabled: false },
|
|
81
|
-
{ validators: Validators.required },
|
|
82
|
-
),
|
|
83
|
-
selection: new FormControl(
|
|
84
|
-
{ value: '', disabled: false },
|
|
85
|
-
{ validators: Validators.required },
|
|
86
|
-
),
|
|
87
|
-
// phoneNo: new FormControl(
|
|
88
|
-
// { value: '', disabled: false },
|
|
89
|
-
// { validators: Validators.required },
|
|
90
|
-
// ),
|
|
91
|
-
// searchable: new FormControl(
|
|
92
|
-
// { value: false, disabled: false },
|
|
93
|
-
// { validators: Validators.required },
|
|
94
|
-
// ),
|
|
95
|
-
date: new FormControl(
|
|
96
|
-
{ value: '', disabled: false },
|
|
97
|
-
{ validators: Validators.required },
|
|
98
|
-
),
|
|
99
|
-
// dateRange: new FormControl(
|
|
100
|
-
// { value: '', disabled: false },
|
|
101
|
-
// { validators: Validators.required },
|
|
102
|
-
// ),
|
|
103
|
-
integer: new FormControl(
|
|
104
|
-
{ value: '', disabled: false },
|
|
105
|
-
{ validators: Validators.required },
|
|
106
|
-
),
|
|
107
|
-
agreement: new FormControl(
|
|
108
|
-
{ value: '', disabled: false },
|
|
109
|
-
{ validators: Validators.required },
|
|
110
|
-
),
|
|
111
|
-
radioSelect1: new FormControl(
|
|
112
|
-
{ value: '', disabled: false },
|
|
113
|
-
{ validators: Validators.required },
|
|
114
|
-
),
|
|
115
|
-
radioSelect2: new FormControl(
|
|
116
|
-
{ value: '', disabled: false },
|
|
117
|
-
{ validators: Validators.required },
|
|
118
|
-
),
|
|
119
|
-
radioSelect3: new FormControl(
|
|
120
|
-
{ value: '', disabled: false },
|
|
121
|
-
{ validators: Validators.required },
|
|
122
|
-
),
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
selectionOptions: { value: string, label: string, description?: string }[] = [
|
|
126
|
-
{ value: 'lvivo-g-7', label: 'Lvivo g. 7', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
127
|
-
{ value: 'lvivo-g-9', label: 'Lvivo g. 9', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
128
|
-
{ value: 'lvivo-g-11', label: 'Lvivo g. 11', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
129
|
-
{ value: 'lvivo-g-11a', label: 'Lvivo g. 11A', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
130
|
-
{ value: 'lvivo-g-12', label: 'Lvivo g. 12', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
131
|
-
{ value: 'lvivo-g-13', label: 'Lvivo g. 13', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
132
|
-
{ value: 'lvivo-g-13a', label: 'Lvivo g. 13A', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
133
|
-
{ value: 'lvivo-g-13b', label: 'Lvivo g. 13B', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
134
|
-
{ value: 'lvivo-g-1c', label: 'Lvivo g. 13C', description: 'Vilnius, Vilniaus m. sav. 09313' },
|
|
135
|
-
];
|
|
136
|
-
|
|
137
|
-
radioOptions: { value: string, label: string }[] = [
|
|
138
|
-
{ label: 'Pasirinkimas #1', value: 'value1' },
|
|
139
|
-
{ label: 'Pasirinkimas #2', value: 'value2' },
|
|
140
|
-
{ label: 'Pasirinkimas #3', value: 'value3' },
|
|
141
|
-
];
|
|
142
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<title>App</title>
|
|
6
|
-
<base href="/">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
-
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
9
|
-
|
|
10
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
11
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
12
|
-
<link href="https://fonts.googleapis.com/css2?family=Public+Sans:wght@300..900&display=swap" rel="stylesheet">
|
|
13
|
-
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
14
|
-
</head>
|
|
15
|
-
<body class="mat-typography">
|
|
16
|
-
<app-root></app-root>
|
|
17
|
-
</body>
|
|
18
|
-
</html>
|
package/projects/app/src/main.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/app",
|
|
7
|
-
"types": []
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"src/main.ts"
|
|
11
|
-
],
|
|
12
|
-
"include": [
|
|
13
|
-
"src/**/*.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/spec",
|
|
7
|
-
"types": [
|
|
8
|
-
"jasmine"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"src/**/*.spec.ts",
|
|
13
|
-
"src/**/*.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# RC-SES Angular komponentų biblioteka
|
|
2
|
-
|
|
3
|
-
Šioje repozitorijoje rasite RC-SESAngular komponentų bibliotekos išeities kodą. Biblioteką sudaro:
|
|
4
|
-
- pagal bendrą RC-SES gidą stilizuoti funkcionalūs paslaugų užsakymo formų komponentai;
|
|
5
|
-
- struktūriniai sąsajos išdėstymo komponentai formų ir paslaugos užsakymo puslapio atvaizdavimui;
|
|
6
|
-
- pavyzdinės (demo) formos komponentas su visais šioje bibliotekos versijoje prieinamais komponentais;
|
|
7
|
-
|
|
8
|
-
## Prerekvizitai
|
|
9
|
-
|
|
10
|
-
1. Įsitikinkite, kad turite įdiegtą bent **18.3** arba naujesnę [Node.js](https://nodejs.org/en) versiją;
|
|
11
|
-
2. Jei to dar nepadarėte, lokaliai klonuokite `rc-ses-angular-components` projektą:
|
|
12
|
-
```bash
|
|
13
|
-
git clone git@github.com:registrucentras/rc-ses-angular-components.git
|
|
14
|
-
```
|
|
15
|
-
3. Terminale atidarykite klonuoto projekto šakinį aplanką ir sudiekite projektui reikiamas bibliotekas:
|
|
16
|
-
```bash
|
|
17
|
-
npm i
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Pavyzdinės formos
|
|
21
|
-
|
|
22
|
-
Repozitorijoje galite rasti pavyzdinių formų ir komponentų implementaciją (`src\projects\app\src\app\sample-form-multiple-steps` ir `src\projects\app\src\app\sample-form-multiple-steps`).
|
|
23
|
-
|
|
24
|
-
Norėdami peržiūrėti pavyzdinę formą naršyklėje:
|
|
25
|
-
|
|
26
|
-
- startuokite aplikaciją dev rėžime: `npm run build`;
|
|
27
|
-
- naršyklėje atidarykite [http://http://localhost:4200/](http://http://localhost:4200/);
|
|
28
|
-
|
|
29
|
-
## *npm* biblioteka
|
|
30
|
-
|
|
31
|
-
Versijuojama sukompiliuota *npm* biblioteka bus prieinama artimiausiu metu.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
-
"dest": "../../../dist/registrucentras/rc-ses-angular-components",
|
|
4
|
-
"assets": [
|
|
5
|
-
"./src/lib/theme/index.scss",
|
|
6
|
-
"./src/lib/theme/palette.scss",
|
|
7
|
-
"./src/lib/theme/theme.scss",
|
|
8
|
-
"./src/lib/theme/typography.scss"
|
|
9
|
-
],
|
|
10
|
-
"lib": {
|
|
11
|
-
"entryFile": "src/public-api.ts"
|
|
12
|
-
}
|
|
13
|
-
}
|