@registrucentras/rc-ses-angular-components 0.2.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/.editorconfig +17 -0
- package/.gitattributes +1 -0
- package/.github/workflows/build-and-publish.yml +50 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +31 -0
- package/RELEASE_NOTES.md +29 -0
- package/angular.json +173 -0
- package/karma.conf.js +53 -0
- package/package.json +48 -0
- package/projects/app/public/favicon.ico +0 -0
- package/projects/app/src/app/app.component.html +3 -0
- package/projects/app/src/app/app.component.scss +0 -0
- package/projects/app/src/app/app.component.ts +20 -0
- package/projects/app/src/app/app.config.ts +33 -0
- package/projects/app/src/app/app.routes.ts +16 -0
- package/projects/app/src/app/landing-page/landing-page.html +20 -0
- package/projects/app/src/app/landing-page/landing-page.scss +0 -0
- package/projects/app/src/app/landing-page/landing-page.ts +37 -0
- package/projects/app/src/app/sample-form-multiple-steps/sample-form-multiple-steps.html +283 -0
- 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 +223 -0
- package/projects/app/src/app/sample-form-single-step/sample-form-single-step.html +271 -0
- 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 +142 -0
- package/projects/app/src/index.html +18 -0
- package/projects/app/src/main.ts +6 -0
- package/projects/app/tsconfig.app.json +15 -0
- package/projects/app/tsconfig.spec.json +15 -0
- package/projects/rc-ses/angular-components/README.md +31 -0
- package/projects/rc-ses/angular-components/ng-package.json +13 -0
- package/projects/rc-ses/angular-components/package-lock.json +224 -0
- package/projects/rc-ses/angular-components/package.json +40 -0
- package/projects/rc-ses/angular-components/src/lib/components/accordion/accordion.scss +71 -0
- package/projects/rc-ses/angular-components/src/lib/components/accordion/accordion.ts +31 -0
- package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.html +7 -0
- package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.scss +54 -0
- package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.ts +40 -0
- package/projects/rc-ses/angular-components/src/lib/components/button/button.scss +248 -0
- package/projects/rc-ses/angular-components/src/lib/components/button/button.spec.ts +46 -0
- package/projects/rc-ses/angular-components/src/lib/components/button/button.ts +34 -0
- package/projects/rc-ses/angular-components/src/lib/components/divider/divider.scss +18 -0
- package/projects/rc-ses/angular-components/src/lib/components/divider/divider.ts +16 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.html +11 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.scss +149 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.ts +87 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.html +10 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.scss +36 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.ts +89 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/checkbox/checkbox.scss +132 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/datepicker/datepicker.scss +18 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/input/input.scss +66 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/input/input.ts +31 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.html +30 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.scss +88 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.ts +103 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/radio/radio.scss +85 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.html +7 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.scss +87 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.ts +101 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.html +40 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.scss +153 -0
- package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.ts +155 -0
- package/projects/rc-ses/angular-components/src/lib/components/icons/icons.module.ts +61 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.html +19 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.scss +64 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.ts +45 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.html +16 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.scss +32 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.ts +43 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.html +5 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.scss +35 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.ts +48 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.html +14 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.scss +38 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.ts +37 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.html +18 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.scss +93 -0
- package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.ts +41 -0
- package/projects/rc-ses/angular-components/src/lib/components/message/message.html +39 -0
- package/projects/rc-ses/angular-components/src/lib/components/message/message.scss +141 -0
- package/projects/rc-ses/angular-components/src/lib/components/message/message.ts +52 -0
- package/projects/rc-ses/angular-components/src/lib/theme/index.scss +65 -0
- package/projects/rc-ses/angular-components/src/lib/theme/palette.scss +183 -0
- package/projects/rc-ses/angular-components/src/lib/theme/theme.scss +24 -0
- package/projects/rc-ses/angular-components/src/lib/theme/typography.scss +63 -0
- package/projects/rc-ses/angular-components/src/public-api.ts +22 -0
- package/projects/rc-ses/angular-components/src/styles.scss +40 -0
- package/projects/rc-ses/angular-components/src/test.ts +14 -0
- package/projects/rc-ses/angular-components/tsconfig.lib.json +15 -0
- package/projects/rc-ses/angular-components/tsconfig.lib.prod.json +11 -0
- package/tsconfig.json +37 -0
- package/tsconfig.spec.json +18 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@registrucentras/rc-ses-angular-components",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "@registrucentras/rc-ses-angular-components",
|
|
9
|
+
"version": "0.1.0",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"tslib": "^2.3.0"
|
|
12
|
+
},
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"@angular/animations": "^18.1.0",
|
|
15
|
+
"@angular/cdk": "^18.1.2",
|
|
16
|
+
"@angular/common": "^18.1.0",
|
|
17
|
+
"@angular/core": "^18.1.0",
|
|
18
|
+
"@angular/forms": "^18.1.0",
|
|
19
|
+
"@angular/material": "^18.1.2",
|
|
20
|
+
"@angular/platform-browser": "^18.1.0",
|
|
21
|
+
"@angular/router": "^18.1.0"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"node_modules/@angular/animations": {
|
|
25
|
+
"version": "18.2.14",
|
|
26
|
+
"resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.14.tgz",
|
|
27
|
+
"integrity": "sha512-Kp/MWShoYYO+R3lrrZbZgszbbLGVXHB+39mdJZwnIuZMDkeL3JsIBlSOzyJRTnpS1vITc+9jgHvP/6uKbMrW1Q==",
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"peer": true,
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"tslib": "^2.3.0"
|
|
32
|
+
},
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"@angular/core": "18.2.14"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"node_modules/@angular/cdk": {
|
|
41
|
+
"version": "18.2.14",
|
|
42
|
+
"resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-18.2.14.tgz",
|
|
43
|
+
"integrity": "sha512-vDyOh1lwjfVk9OqoroZAP8pf3xxKUvyl+TVR8nJxL4c5fOfUFkD7l94HaanqKSRwJcI2xiztuu92IVoHn8T33Q==",
|
|
44
|
+
"license": "MIT",
|
|
45
|
+
"peer": true,
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"tslib": "^2.3.0"
|
|
48
|
+
},
|
|
49
|
+
"optionalDependencies": {
|
|
50
|
+
"parse5": "^7.1.2"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@angular/common": "^18.0.0 || ^19.0.0",
|
|
54
|
+
"@angular/core": "^18.0.0 || ^19.0.0",
|
|
55
|
+
"rxjs": "^6.5.3 || ^7.4.0"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"node_modules/@angular/common": {
|
|
59
|
+
"version": "18.2.14",
|
|
60
|
+
"resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.14.tgz",
|
|
61
|
+
"integrity": "sha512-ZPRswzaVRiqcfZoowuAM22Hr2/z10ajWOUoFDoQ9tWqz/fH/773kJv2F9VvePIekgNPCzaizqv9gF6tGNqaAwg==",
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"peer": true,
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"tslib": "^2.3.0"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"@angular/core": "18.2.14",
|
|
72
|
+
"rxjs": "^6.5.3 || ^7.4.0"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"node_modules/@angular/core": {
|
|
76
|
+
"version": "18.2.14",
|
|
77
|
+
"resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.14.tgz",
|
|
78
|
+
"integrity": "sha512-BIPrCs93ZZTY9ym7yfoTgAQ5rs706yoYeAdrgc8kh/bDbM9DawxKlgeKBx2FLt09Y0YQ1bFhKVp0cV4gDEaMxQ==",
|
|
79
|
+
"license": "MIT",
|
|
80
|
+
"peer": true,
|
|
81
|
+
"dependencies": {
|
|
82
|
+
"tslib": "^2.3.0"
|
|
83
|
+
},
|
|
84
|
+
"engines": {
|
|
85
|
+
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
|
|
86
|
+
},
|
|
87
|
+
"peerDependencies": {
|
|
88
|
+
"rxjs": "^6.5.3 || ^7.4.0",
|
|
89
|
+
"zone.js": "~0.14.10"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"node_modules/@angular/forms": {
|
|
93
|
+
"version": "18.2.14",
|
|
94
|
+
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.14.tgz",
|
|
95
|
+
"integrity": "sha512-fZVwXctmBJa5VdopJae/T9MYKPXNd04+6j4k/6X819y+9fiyWLJt2QicSc5Rc+YD9mmhXag3xaljlrnotf9VGA==",
|
|
96
|
+
"license": "MIT",
|
|
97
|
+
"peer": true,
|
|
98
|
+
"dependencies": {
|
|
99
|
+
"tslib": "^2.3.0"
|
|
100
|
+
},
|
|
101
|
+
"engines": {
|
|
102
|
+
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"@angular/common": "18.2.14",
|
|
106
|
+
"@angular/core": "18.2.14",
|
|
107
|
+
"@angular/platform-browser": "18.2.14",
|
|
108
|
+
"rxjs": "^6.5.3 || ^7.4.0"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"node_modules/@angular/material": {
|
|
112
|
+
"version": "18.2.14",
|
|
113
|
+
"resolved": "https://registry.npmjs.org/@angular/material/-/material-18.2.14.tgz",
|
|
114
|
+
"integrity": "sha512-28pxzJP49Mymt664WnCtPkKeg7kXUsQKTKGf/Kl95rNTEdTJLbnlcc8wV0rT0yQNR7kXgpfBnG7h0ETLv/iu5Q==",
|
|
115
|
+
"license": "MIT",
|
|
116
|
+
"peer": true,
|
|
117
|
+
"dependencies": {
|
|
118
|
+
"tslib": "^2.3.0"
|
|
119
|
+
},
|
|
120
|
+
"peerDependencies": {
|
|
121
|
+
"@angular/animations": "^18.0.0 || ^19.0.0",
|
|
122
|
+
"@angular/cdk": "18.2.14",
|
|
123
|
+
"@angular/common": "^18.0.0 || ^19.0.0",
|
|
124
|
+
"@angular/core": "^18.0.0 || ^19.0.0",
|
|
125
|
+
"@angular/forms": "^18.0.0 || ^19.0.0",
|
|
126
|
+
"@angular/platform-browser": "^18.0.0 || ^19.0.0",
|
|
127
|
+
"rxjs": "^6.5.3 || ^7.4.0"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"node_modules/@angular/platform-browser": {
|
|
131
|
+
"version": "18.2.14",
|
|
132
|
+
"resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.14.tgz",
|
|
133
|
+
"integrity": "sha512-W+JTxI25su3RiZVZT3Yrw6KNUCmOIy7OZIZ+612skPgYK2f2qil7VclnW1oCwG896h50cMJU/lnAfxZxefQgyQ==",
|
|
134
|
+
"license": "MIT",
|
|
135
|
+
"peer": true,
|
|
136
|
+
"dependencies": {
|
|
137
|
+
"tslib": "^2.3.0"
|
|
138
|
+
},
|
|
139
|
+
"engines": {
|
|
140
|
+
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
|
|
141
|
+
},
|
|
142
|
+
"peerDependencies": {
|
|
143
|
+
"@angular/animations": "18.2.14",
|
|
144
|
+
"@angular/common": "18.2.14",
|
|
145
|
+
"@angular/core": "18.2.14"
|
|
146
|
+
},
|
|
147
|
+
"peerDependenciesMeta": {
|
|
148
|
+
"@angular/animations": {
|
|
149
|
+
"optional": true
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"node_modules/@angular/router": {
|
|
154
|
+
"version": "18.2.14",
|
|
155
|
+
"resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.14.tgz",
|
|
156
|
+
"integrity": "sha512-v/gweh8MBjjDfh1QssuyjISa+6SVVIvIZox7MaMs81RkaoVHwS9grDtPud1pTKHzms2KxSVpvwwyvkRJQplueg==",
|
|
157
|
+
"license": "MIT",
|
|
158
|
+
"peer": true,
|
|
159
|
+
"dependencies": {
|
|
160
|
+
"tslib": "^2.3.0"
|
|
161
|
+
},
|
|
162
|
+
"engines": {
|
|
163
|
+
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
|
|
164
|
+
},
|
|
165
|
+
"peerDependencies": {
|
|
166
|
+
"@angular/common": "18.2.14",
|
|
167
|
+
"@angular/core": "18.2.14",
|
|
168
|
+
"@angular/platform-browser": "18.2.14",
|
|
169
|
+
"rxjs": "^6.5.3 || ^7.4.0"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"node_modules/entities": {
|
|
173
|
+
"version": "6.0.1",
|
|
174
|
+
"resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
|
|
175
|
+
"integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",
|
|
176
|
+
"license": "BSD-2-Clause",
|
|
177
|
+
"optional": true,
|
|
178
|
+
"peer": true,
|
|
179
|
+
"engines": {
|
|
180
|
+
"node": ">=0.12"
|
|
181
|
+
},
|
|
182
|
+
"funding": {
|
|
183
|
+
"url": "https://github.com/fb55/entities?sponsor=1"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"node_modules/parse5": {
|
|
187
|
+
"version": "7.3.0",
|
|
188
|
+
"resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
|
|
189
|
+
"integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",
|
|
190
|
+
"license": "MIT",
|
|
191
|
+
"optional": true,
|
|
192
|
+
"peer": true,
|
|
193
|
+
"dependencies": {
|
|
194
|
+
"entities": "^6.0.0"
|
|
195
|
+
},
|
|
196
|
+
"funding": {
|
|
197
|
+
"url": "https://github.com/inikulin/parse5?sponsor=1"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"node_modules/rxjs": {
|
|
201
|
+
"version": "7.8.2",
|
|
202
|
+
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz",
|
|
203
|
+
"integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==",
|
|
204
|
+
"license": "Apache-2.0",
|
|
205
|
+
"peer": true,
|
|
206
|
+
"dependencies": {
|
|
207
|
+
"tslib": "^2.1.0"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"node_modules/tslib": {
|
|
211
|
+
"version": "2.8.1",
|
|
212
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
|
213
|
+
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
|
|
214
|
+
"license": "0BSD"
|
|
215
|
+
},
|
|
216
|
+
"node_modules/zone.js": {
|
|
217
|
+
"version": "0.14.10",
|
|
218
|
+
"resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.14.10.tgz",
|
|
219
|
+
"integrity": "sha512-YGAhaO7J5ywOXW6InXNlLmfU194F8lVgu7bRntUF3TiG8Y3nBK0x1UJJuHUP/e8IyihkjCYqhCScpSwnlaSRkQ==",
|
|
220
|
+
"license": "MIT",
|
|
221
|
+
"peer": true
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@registrucentras/rc-ses-angular-components",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"author": "VĮ REGISTRŲ CENTRAS",
|
|
5
|
+
"description": "RC SES Angular komponentų biblioteka",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"angular",
|
|
8
|
+
"components",
|
|
9
|
+
"registrucentras",
|
|
10
|
+
"rc-ses",
|
|
11
|
+
"rc-ses-angular-components"
|
|
12
|
+
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/registrucentras/rc-ses-angular-components.git"
|
|
16
|
+
},
|
|
17
|
+
"private": false,
|
|
18
|
+
"exports": {
|
|
19
|
+
"./theme": {
|
|
20
|
+
"index": "./src/lib/theme/index.scss",
|
|
21
|
+
"palette": "./src/lib/theme/palette.scss",
|
|
22
|
+
"theme": "./src/lib/theme/theme.scss",
|
|
23
|
+
"typography": "./src/lib/theme/typography.scss"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@angular/animations": "^18.1.0",
|
|
28
|
+
"@angular/cdk": "^18.1.2",
|
|
29
|
+
"@angular/common": "^18.1.0",
|
|
30
|
+
"@angular/core": "^18.1.0",
|
|
31
|
+
"@angular/forms": "^18.1.0",
|
|
32
|
+
"@angular/material": "^18.1.2",
|
|
33
|
+
"@angular/platform-browser": "^18.1.0",
|
|
34
|
+
"@angular/router": "^18.1.0"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"tslib": "^2.3.0"
|
|
38
|
+
},
|
|
39
|
+
"sideEffects": false
|
|
40
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin bootstrap($theme, $typography) {
|
|
4
|
+
@layer rc-ses {
|
|
5
|
+
.rc-ses-accordion {
|
|
6
|
+
|
|
7
|
+
.mat-expansion-panel {
|
|
8
|
+
border: 1px solid #{mat.get-theme-color($theme, neutral, 60)};
|
|
9
|
+
border-radius: var(--mat-expansion-container-shape) !important;
|
|
10
|
+
box-shadow: unset !important;
|
|
11
|
+
margin-bottom: 1rem !important;
|
|
12
|
+
|
|
13
|
+
&-header {
|
|
14
|
+
background-color: mat.get-theme-color($theme, neutral, 99) !important;
|
|
15
|
+
border-bottom-left-radius: 0 !important;
|
|
16
|
+
border-bottom-right-radius: 0 !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-body {
|
|
20
|
+
padding: 3rem 2rem 4rem !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.mat-expansion-indicator {
|
|
24
|
+
border-radius: 1.25rem;
|
|
25
|
+
height: 2.5rem;
|
|
26
|
+
line-height: 2.5rem;
|
|
27
|
+
text-align: center;
|
|
28
|
+
width: 2.5rem;
|
|
29
|
+
|
|
30
|
+
&:before {
|
|
31
|
+
content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%236b747f" d="M20.031 15.53a.747.747 0 0 1-1.061 0L12 8.56l-6.969 6.97A.75.75 0 1 1 3.97 14.47l7.5-7.5a.75.75 0 0 1 1.061 0l7.5 7.5a.748.748 0 0 1 0 1.061Z"/></svg>');
|
|
32
|
+
display: inline-block;
|
|
33
|
+
height: 1.5rem;
|
|
34
|
+
vertical-align: sub;
|
|
35
|
+
width: 1.5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
svg {
|
|
39
|
+
display: none !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:hover {
|
|
44
|
+
|
|
45
|
+
.mat-expansion-panel-header {
|
|
46
|
+
background-color: mat.get-theme-color($theme, neutral, 98) !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.mat-expansion-indicator {
|
|
50
|
+
background-color: mat.get-theme-color($theme, neutral, 20);
|
|
51
|
+
|
|
52
|
+
&:before {
|
|
53
|
+
content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="white" d="M20.031 15.53a.747.747 0 0 1-1.061 0L12 8.56l-6.969 6.97A.75.75 0 1 1 3.97 14.47l7.5-7.5a.75.75 0 0 1 1.061 0l7.5 7.5a.748.748 0 0 1 0 1.061Z"/></svg>');
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@layer rc-ses-variables {
|
|
62
|
+
:root {
|
|
63
|
+
--mat-expansion-header-text-color: #{mat.get-theme-color($theme, neutral, 20)};
|
|
64
|
+
--mat-expansion-header-text-size: #{map-get($typography, 'headline-6', 'font-size')};
|
|
65
|
+
--mat-expansion-header-text-line-height: 1.5rem;
|
|
66
|
+
|
|
67
|
+
--mat-expansion-container-background-color: transparent;
|
|
68
|
+
--mat-expansion-container-shape: .375rem;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DOCUMENT } from "@angular/common";
|
|
2
|
+
import { Directive, AfterViewInit, OnDestroy, ElementRef, Inject, OnInit, Renderer2, Input } from "@angular/core";
|
|
3
|
+
|
|
4
|
+
@Directive({
|
|
5
|
+
selector: '[rc-ses-accordion]',
|
|
6
|
+
standalone: true,
|
|
7
|
+
host: {
|
|
8
|
+
class: 'rc-ses-element rc-ses-accordion'
|
|
9
|
+
},
|
|
10
|
+
})
|
|
11
|
+
export class RcSesAccordionDirective implements AfterViewInit, OnDestroy, OnInit {
|
|
12
|
+
@Input() path: { label: string, path: string }[] = [];
|
|
13
|
+
|
|
14
|
+
public initialized: boolean | undefined;
|
|
15
|
+
|
|
16
|
+
constructor(
|
|
17
|
+
@Inject(DOCUMENT) private _document: Document,
|
|
18
|
+
public _el: ElementRef,
|
|
19
|
+
private _renderer: Renderer2,
|
|
20
|
+
) {}
|
|
21
|
+
|
|
22
|
+
ngOnInit() {}
|
|
23
|
+
|
|
24
|
+
ngAfterViewInit() {
|
|
25
|
+
this.initialized = true;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
ngOnDestroy() {
|
|
29
|
+
this.initialized = false;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin bootstrap($theme, $typography) {
|
|
4
|
+
@layer rc-ses {
|
|
5
|
+
.rc-ses-breadcrumbs {
|
|
6
|
+
|
|
7
|
+
.mat-mdc-nav-list {
|
|
8
|
+
display: flex !important;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
padding: 0 0 .375rem !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.mat-mdc-list-item {
|
|
14
|
+
flex-basis: content;
|
|
15
|
+
min-height: 1.5rem;
|
|
16
|
+
padding: 0 !important;
|
|
17
|
+
|
|
18
|
+
& + .mat-mdc-list-item {
|
|
19
|
+
|
|
20
|
+
.mat-mdc-list-item-title:before {
|
|
21
|
+
color: mat.get-theme-color($theme, neutral, 40) !important;
|
|
22
|
+
content: "/";
|
|
23
|
+
display: inline;
|
|
24
|
+
margin: 0 .378rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.mdc-list-item--activated {
|
|
29
|
+
|
|
30
|
+
.mat-mdc-list-item-title {
|
|
31
|
+
color: mat.get-theme-color($theme, neutral, 20) !important;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@layer rc-ses-variables {
|
|
39
|
+
:root {
|
|
40
|
+
|
|
41
|
+
.rc-ses-breadcrumbs {
|
|
42
|
+
|
|
43
|
+
.mat-mdc-nav-list {
|
|
44
|
+
--mat-list-active-indicator-color: transparent;
|
|
45
|
+
--mdc-list-list-item-hover-state-layer-color: transparent;
|
|
46
|
+
--mdc-list-list-item-label-text-color: #{mat.get-theme-color($theme, neutral, 40)};
|
|
47
|
+
--mdc-list-list-item-label-text-size: .6875rem;
|
|
48
|
+
--mdc-list-list-item-label-text-weight: 400;
|
|
49
|
+
--mdc-list-list-item-one-line-container-height: .875rem;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DOCUMENT } from "@angular/common";
|
|
2
|
+
import { Component, AfterViewInit, OnDestroy, ElementRef, Inject, OnInit, Renderer2, Input } from "@angular/core";
|
|
3
|
+
import { MatListModule } from '@angular/material/list';
|
|
4
|
+
import { RouterLink } from "@angular/router";
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'rc-ses-breadcrumbs',
|
|
8
|
+
standalone: true,
|
|
9
|
+
templateUrl: 'breadcrumbs.html',
|
|
10
|
+
imports: [
|
|
11
|
+
RouterLink,
|
|
12
|
+
MatListModule,
|
|
13
|
+
],
|
|
14
|
+
host: {
|
|
15
|
+
class: 'rc-ses-element rc-ses-breadcrumbs'
|
|
16
|
+
},
|
|
17
|
+
})
|
|
18
|
+
export class Breadcrumbs implements AfterViewInit, OnDestroy, OnInit {
|
|
19
|
+
@Input() path: { label: string, path: string }[] = [];
|
|
20
|
+
|
|
21
|
+
public initialized: boolean | undefined;
|
|
22
|
+
|
|
23
|
+
constructor(
|
|
24
|
+
@Inject(DOCUMENT) private _document: Document,
|
|
25
|
+
public _el: ElementRef,
|
|
26
|
+
private _renderer: Renderer2,
|
|
27
|
+
) {}
|
|
28
|
+
|
|
29
|
+
ngOnInit() {
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
ngAfterViewInit() {
|
|
34
|
+
this.initialized = true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
ngOnDestroy() {
|
|
38
|
+
this.initialized = false;
|
|
39
|
+
}
|
|
40
|
+
}
|