@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.
Files changed (133) hide show
  1. package/README.md +31 -31
  2. package/esm2022/lib/components/accordion/accordion.mjs +40 -0
  3. package/esm2022/lib/components/breadcrumbs/breadcrumbs.mjs +43 -0
  4. package/esm2022/lib/components/button/button.mjs +43 -0
  5. package/esm2022/lib/components/divider/divider.mjs +23 -0
  6. package/esm2022/lib/components/form/form-field/form-field.mjs +105 -0
  7. package/esm2022/lib/components/form/input/agreement-checkbox/agreement-checkbox.mjs +102 -0
  8. package/esm2022/lib/components/form/input/input/input.mjs +38 -0
  9. package/esm2022/lib/components/form/input/number-stepper/number-stepper.mjs +112 -0
  10. package/esm2022/lib/components/form/input/radio-button-group/radio-button-group.mjs +111 -0
  11. package/esm2022/lib/components/form/input/select/select.mjs +164 -0
  12. package/esm2022/lib/components/icons/icons.module.mjs +33 -0
  13. package/esm2022/lib/components/layout/service-form-actions/service-form-actions.mjs +48 -0
  14. package/esm2022/lib/components/layout/service-form-container/service-form-container.mjs +48 -0
  15. package/esm2022/lib/components/layout/service-header/service-header.mjs +50 -0
  16. package/esm2022/lib/components/layout/service-page/service-page.mjs +41 -0
  17. package/esm2022/lib/components/layout/service-wizard-steps/service-wizard-steps.mjs +43 -0
  18. package/esm2022/lib/components/message/message.mjs +62 -0
  19. package/esm2022/public-api.mjs +19 -0
  20. package/esm2022/registrucentras-rc-ses-angular-components.mjs +5 -0
  21. package/fesm2022/registrucentras-rc-ses-angular-components.mjs +1008 -0
  22. package/fesm2022/registrucentras-rc-ses-angular-components.mjs.map +1 -0
  23. package/index.d.ts +5 -0
  24. package/lib/components/accordion/accordion.d.ts +18 -0
  25. package/lib/components/breadcrumbs/breadcrumbs.d.ts +18 -0
  26. package/lib/components/button/button.d.ts +15 -0
  27. package/lib/components/divider/divider.d.ts +5 -0
  28. package/lib/components/form/form-field/form-field.d.ts +29 -0
  29. package/lib/components/form/input/agreement-checkbox/agreement-checkbox.d.ts +28 -0
  30. package/lib/components/form/input/input/input.d.ts +14 -0
  31. package/lib/components/form/input/number-stepper/number-stepper.d.ts +33 -0
  32. package/lib/components/form/input/radio-button-group/radio-button-group.d.ts +38 -0
  33. package/lib/components/form/input/select/select.d.ts +47 -0
  34. package/lib/components/icons/icons.module.d.ts +10 -0
  35. package/lib/components/layout/service-form-actions/service-form-actions.d.ts +16 -0
  36. package/lib/components/layout/service-form-container/service-form-container.d.ts +18 -0
  37. package/lib/components/layout/service-header/service-header.d.ts +23 -0
  38. package/lib/components/layout/service-page/service-page.d.ts +16 -0
  39. package/lib/components/layout/service-wizard-steps/service-wizard-steps.d.ts +18 -0
  40. package/lib/components/message/message.d.ts +23 -0
  41. package/package.json +39 -36
  42. package/{projects/rc-ses/angular-components/src/public-api.ts → public-api.d.ts} +15 -22
  43. package/{projects/rc-ses/angular-components/src → src}/lib/theme/index.scss +65 -65
  44. package/{projects/rc-ses/angular-components/src → src}/lib/theme/palette.scss +183 -183
  45. package/{projects/rc-ses/angular-components/src → src}/lib/theme/theme.scss +24 -24
  46. package/{projects/rc-ses/angular-components/src → src}/lib/theme/typography.scss +63 -63
  47. package/.editorconfig +0 -17
  48. package/.gitattributes +0 -1
  49. package/.github/workflows/build-and-publish.yml +0 -50
  50. package/.vscode/extensions.json +0 -4
  51. package/.vscode/launch.json +0 -20
  52. package/.vscode/tasks.json +0 -42
  53. package/RELEASE_NOTES.md +0 -29
  54. package/angular.json +0 -173
  55. package/karma.conf.js +0 -53
  56. package/projects/app/public/favicon.ico +0 -0
  57. package/projects/app/src/app/app.component.html +0 -3
  58. package/projects/app/src/app/app.component.scss +0 -0
  59. package/projects/app/src/app/app.component.ts +0 -20
  60. package/projects/app/src/app/app.config.ts +0 -33
  61. package/projects/app/src/app/app.routes.ts +0 -16
  62. package/projects/app/src/app/landing-page/landing-page.html +0 -20
  63. package/projects/app/src/app/landing-page/landing-page.scss +0 -0
  64. package/projects/app/src/app/landing-page/landing-page.ts +0 -37
  65. package/projects/app/src/app/sample-form-multiple-steps/sample-form-multiple-steps.html +0 -283
  66. package/projects/app/src/app/sample-form-multiple-steps/sample-form-multiple-steps.scss +0 -0
  67. package/projects/app/src/app/sample-form-multiple-steps/sample-form-multiple-steps.ts +0 -223
  68. package/projects/app/src/app/sample-form-single-step/sample-form-single-step.html +0 -271
  69. package/projects/app/src/app/sample-form-single-step/sample-form-single-step.scss +0 -0
  70. package/projects/app/src/app/sample-form-single-step/sample-form-single-step.ts +0 -142
  71. package/projects/app/src/index.html +0 -18
  72. package/projects/app/src/main.ts +0 -6
  73. package/projects/app/tsconfig.app.json +0 -15
  74. package/projects/app/tsconfig.spec.json +0 -15
  75. package/projects/rc-ses/angular-components/README.md +0 -31
  76. package/projects/rc-ses/angular-components/ng-package.json +0 -13
  77. package/projects/rc-ses/angular-components/package-lock.json +0 -224
  78. package/projects/rc-ses/angular-components/package.json +0 -40
  79. package/projects/rc-ses/angular-components/src/lib/components/accordion/accordion.scss +0 -71
  80. package/projects/rc-ses/angular-components/src/lib/components/accordion/accordion.ts +0 -31
  81. package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.html +0 -7
  82. package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.scss +0 -54
  83. package/projects/rc-ses/angular-components/src/lib/components/breadcrumbs/breadcrumbs.ts +0 -40
  84. package/projects/rc-ses/angular-components/src/lib/components/button/button.scss +0 -248
  85. package/projects/rc-ses/angular-components/src/lib/components/button/button.spec.ts +0 -46
  86. package/projects/rc-ses/angular-components/src/lib/components/button/button.ts +0 -34
  87. package/projects/rc-ses/angular-components/src/lib/components/divider/divider.scss +0 -18
  88. package/projects/rc-ses/angular-components/src/lib/components/divider/divider.ts +0 -16
  89. package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.html +0 -11
  90. package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.scss +0 -149
  91. package/projects/rc-ses/angular-components/src/lib/components/form/form-field/form-field.ts +0 -87
  92. package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.html +0 -10
  93. package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.scss +0 -36
  94. package/projects/rc-ses/angular-components/src/lib/components/form/input/agreement-checkbox/agreement-checkbox.ts +0 -89
  95. package/projects/rc-ses/angular-components/src/lib/components/form/input/checkbox/checkbox.scss +0 -132
  96. package/projects/rc-ses/angular-components/src/lib/components/form/input/datepicker/datepicker.scss +0 -18
  97. package/projects/rc-ses/angular-components/src/lib/components/form/input/input/input.scss +0 -66
  98. package/projects/rc-ses/angular-components/src/lib/components/form/input/input/input.ts +0 -31
  99. package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.html +0 -30
  100. package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.scss +0 -88
  101. package/projects/rc-ses/angular-components/src/lib/components/form/input/number-stepper/number-stepper.ts +0 -103
  102. package/projects/rc-ses/angular-components/src/lib/components/form/input/radio/radio.scss +0 -85
  103. package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.html +0 -7
  104. package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.scss +0 -87
  105. package/projects/rc-ses/angular-components/src/lib/components/form/input/radio-button-group/radio-button-group.ts +0 -101
  106. package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.html +0 -40
  107. package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.scss +0 -153
  108. package/projects/rc-ses/angular-components/src/lib/components/form/input/select/select.ts +0 -155
  109. package/projects/rc-ses/angular-components/src/lib/components/icons/icons.module.ts +0 -61
  110. package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.html +0 -19
  111. package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.scss +0 -64
  112. package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-actions/service-form-actions.ts +0 -45
  113. package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.html +0 -16
  114. package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.scss +0 -32
  115. package/projects/rc-ses/angular-components/src/lib/components/layout/service-form-container/service-form-container.ts +0 -43
  116. package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.html +0 -5
  117. package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.scss +0 -35
  118. package/projects/rc-ses/angular-components/src/lib/components/layout/service-header/service-header.ts +0 -48
  119. package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.html +0 -14
  120. package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.scss +0 -38
  121. package/projects/rc-ses/angular-components/src/lib/components/layout/service-page/service-page.ts +0 -37
  122. package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.html +0 -18
  123. package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.scss +0 -93
  124. package/projects/rc-ses/angular-components/src/lib/components/layout/service-wizard-steps/service-wizard-steps.ts +0 -41
  125. package/projects/rc-ses/angular-components/src/lib/components/message/message.html +0 -39
  126. package/projects/rc-ses/angular-components/src/lib/components/message/message.scss +0 -141
  127. package/projects/rc-ses/angular-components/src/lib/components/message/message.ts +0 -52
  128. package/projects/rc-ses/angular-components/src/styles.scss +0 -40
  129. package/projects/rc-ses/angular-components/src/test.ts +0 -14
  130. package/projects/rc-ses/angular-components/tsconfig.lib.json +0 -15
  131. package/projects/rc-ses/angular-components/tsconfig.lib.prod.json +0 -11
  132. package/tsconfig.json +0 -37
  133. package/tsconfig.spec.json +0 -18
@@ -1,24 +1,24 @@
1
- @use '@angular/material' as mat;
2
- @use './palette.scss' as palette;
3
-
4
- $theme: null;
5
-
6
- @layer material {
7
- $theme: mat.define-theme((
8
- color: (
9
- theme-type: light,
10
- primary: palette.$rc-ses-primary-palette,
11
- tertiary: palette.$rc-ses-tertiary-palette,
12
- ),
13
- density: (
14
- scale: 0,
15
- ),
16
- typography: (
17
- brand-family: 'Public Sans',
18
- plain-family: 'Public Sans',
19
- bold-weight: 700,
20
- medium-weight: 500,
21
- regular-weight: 400
22
- )
23
- )) !global;
24
- }
1
+ @use '@angular/material' as mat;
2
+ @use './palette.scss' as palette;
3
+
4
+ $theme: null;
5
+
6
+ @layer material {
7
+ $theme: mat.define-theme((
8
+ color: (
9
+ theme-type: light,
10
+ primary: palette.$rc-ses-primary-palette,
11
+ tertiary: palette.$rc-ses-tertiary-palette,
12
+ ),
13
+ density: (
14
+ scale: 0,
15
+ ),
16
+ typography: (
17
+ brand-family: 'Public Sans',
18
+ plain-family: 'Public Sans',
19
+ bold-weight: 700,
20
+ medium-weight: 500,
21
+ regular-weight: 400
22
+ )
23
+ )) !global;
24
+ }
@@ -1,63 +1,63 @@
1
- @use '@angular/material' as mat;
2
-
3
- $typography: null;
4
-
5
- @layer material {
6
- $typography: mat.m2-define-typography-config(
7
- $font-family: 'Public Sans',
8
- $headline-1: mat.m2-define-typography-level(
9
- $font-size: 2.25rem,
10
- $font-weight: 500,
11
- $letter-spacing: 0,
12
- $line-height: 3rem,
13
- ),
14
- $headline-2: mat.m2-define-typography-level(
15
- $font-size: 5rem,
16
- $font-weight: 500,
17
- $letter-spacing: 0,
18
- $line-height: 2.7,
19
- ),
20
- $headline-3: mat.m2-define-typography-level(
21
- $font-size: 1.75rem,
22
- $font-weight: 500,
23
- $letter-spacing: 0,
24
- $line-height: 2.3625,
25
- ),
26
- $headline-4: mat.m2-define-typography-level(
27
- $font-size: 1.5rem,
28
- $font-weight: 500,
29
- $letter-spacing: 0,
30
- $line-height: 2.025,
31
- ),
32
- $headline-5: mat.m2-define-typography-level(
33
- $font-size: 2.25rem,
34
- $font-weight: 500,
35
- $letter-spacing: 0,
36
- $line-height: 3rem,
37
- ),
38
- $headline-6: mat.m2-define-typography-level(
39
- $font-size: 1.25rem,
40
- $font-weight: 500,
41
- $letter-spacing: 0,
42
- $line-height: 1.51875,
43
- ),
44
- $body-1: mat.m2-define-typography-level(
45
- $font-size: 0.9375rem,
46
- $font-weight: 400,
47
- $letter-spacing: 0,
48
- $line-height: 1.125rem,
49
- ),
50
- $body-2: mat.m2-define-typography-level(
51
- $font-size: 0.9375rem,
52
- $font-weight: 400,
53
- $letter-spacing: 0,
54
- $line-height: 1.125rem,
55
- ),
56
- $button: mat.m2-define-typography-level(
57
- $font-weight: 400,
58
- $font-size: 0.9375rem,
59
- $line-height: 1.125rem,
60
- $letter-spacing: 0,
61
- ),
62
- ) !global;
63
- }
1
+ @use '@angular/material' as mat;
2
+
3
+ $typography: null;
4
+
5
+ @layer material {
6
+ $typography: mat.m2-define-typography-config(
7
+ $font-family: 'Public Sans',
8
+ $headline-1: mat.m2-define-typography-level(
9
+ $font-size: 2.25rem,
10
+ $font-weight: 500,
11
+ $letter-spacing: 0,
12
+ $line-height: 3rem,
13
+ ),
14
+ $headline-2: mat.m2-define-typography-level(
15
+ $font-size: 5rem,
16
+ $font-weight: 500,
17
+ $letter-spacing: 0,
18
+ $line-height: 2.7,
19
+ ),
20
+ $headline-3: mat.m2-define-typography-level(
21
+ $font-size: 1.75rem,
22
+ $font-weight: 500,
23
+ $letter-spacing: 0,
24
+ $line-height: 2.3625,
25
+ ),
26
+ $headline-4: mat.m2-define-typography-level(
27
+ $font-size: 1.5rem,
28
+ $font-weight: 500,
29
+ $letter-spacing: 0,
30
+ $line-height: 2.025,
31
+ ),
32
+ $headline-5: mat.m2-define-typography-level(
33
+ $font-size: 2.25rem,
34
+ $font-weight: 500,
35
+ $letter-spacing: 0,
36
+ $line-height: 3rem,
37
+ ),
38
+ $headline-6: mat.m2-define-typography-level(
39
+ $font-size: 1.25rem,
40
+ $font-weight: 500,
41
+ $letter-spacing: 0,
42
+ $line-height: 1.51875,
43
+ ),
44
+ $body-1: mat.m2-define-typography-level(
45
+ $font-size: 0.9375rem,
46
+ $font-weight: 400,
47
+ $letter-spacing: 0,
48
+ $line-height: 1.125rem,
49
+ ),
50
+ $body-2: mat.m2-define-typography-level(
51
+ $font-size: 0.9375rem,
52
+ $font-weight: 400,
53
+ $letter-spacing: 0,
54
+ $line-height: 1.125rem,
55
+ ),
56
+ $button: mat.m2-define-typography-level(
57
+ $font-weight: 400,
58
+ $font-size: 0.9375rem,
59
+ $line-height: 1.125rem,
60
+ $letter-spacing: 0,
61
+ ),
62
+ ) !global;
63
+ }
package/.editorconfig DELETED
@@ -1,17 +0,0 @@
1
- # Editor configuration, see https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- charset = utf-8
6
- indent_style = space
7
- indent_size = 2
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
10
- end_of_line = lf
11
-
12
- [*.ts]
13
- quote_type = single
14
-
15
- [*.md]
16
- max_line_length = off
17
- trim_trailing_whitespace = false
package/.gitattributes DELETED
@@ -1 +0,0 @@
1
- * text=auto eol=lf
@@ -1,50 +0,0 @@
1
- name: Build and Publish
2
-
3
- on:
4
- release:
5
- types: [published]
6
- pull_request:
7
-
8
- jobs:
9
- build:
10
- runs-on: ubuntu-latest
11
- permissions:
12
- contents: read
13
- checks: write
14
-
15
- steps:
16
- - name: Check out the repository
17
- uses: actions/checkout@v4
18
-
19
- - name: Set up Node.js
20
- uses: actions/setup-node@v4
21
- with:
22
- node-version: '22'
23
- registry-url: 'https://registry.npmjs.org/'
24
- scope: '@registrucentras'
25
-
26
- - name: Install dependencies
27
- run: npm ci
28
-
29
- - name: Test
30
- run: npm run test:run
31
-
32
- - name: Test Report
33
- uses: dorny/test-reporter@v1
34
- if: (success() || failure()) && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
35
- continue-on-error: true
36
- with:
37
- name: Test Results
38
- path: coverage/rc-ses-angular-components/junit.xml
39
- reporter: java-junit
40
- fail-on-error: 'false'
41
-
42
- - name: Build the library
43
- run: npm run build:lib
44
-
45
- - name: Publish to npm
46
- if: github.event_name == 'release'
47
- working-directory: dist/registrucentras/rc-ses-angular-components
48
- run: npm publish --access public --registry=https://registry.npmjs.org
49
- env:
50
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -1,4 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3
- "recommendations": ["angular.ng-template"]
4
- }
@@ -1,20 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
- "version": "0.2.0",
4
- "configurations": [
5
- {
6
- "name": "ng serve",
7
- "type": "chrome",
8
- "request": "launch",
9
- "preLaunchTask": "npm: start",
10
- "url": "http://localhost:4200/"
11
- },
12
- {
13
- "name": "ng test",
14
- "type": "chrome",
15
- "request": "launch",
16
- "preLaunchTask": "npm: test",
17
- "url": "http://localhost:9876/debug.html"
18
- }
19
- ]
20
- }
@@ -1,42 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
- "version": "2.0.0",
4
- "tasks": [
5
- {
6
- "type": "npm",
7
- "script": "start",
8
- "isBackground": true,
9
- "problemMatcher": {
10
- "owner": "typescript",
11
- "pattern": "$tsc",
12
- "background": {
13
- "activeOnStart": true,
14
- "beginsPattern": {
15
- "regexp": "(.*?)"
16
- },
17
- "endsPattern": {
18
- "regexp": "bundle generation complete"
19
- }
20
- }
21
- }
22
- },
23
- {
24
- "type": "npm",
25
- "script": "test",
26
- "isBackground": true,
27
- "problemMatcher": {
28
- "owner": "typescript",
29
- "pattern": "$tsc",
30
- "background": {
31
- "activeOnStart": true,
32
- "beginsPattern": {
33
- "regexp": "(.*?)"
34
- },
35
- "endsPattern": {
36
- "regexp": "bundle generation complete"
37
- }
38
- }
39
- }
40
- }
41
- ]
42
- }
package/RELEASE_NOTES.md DELETED
@@ -1,29 +0,0 @@
1
- # Release Notes
2
-
3
- ## [0.2.0] - 2026-03-02
4
-
5
- **The library is now published to the public npm registry!**
6
-
7
- This release marks a significant change in how the library is distributed and consumed. You no longer need to install it directly from GitHub or use private tokens.
8
-
9
- ### Migration Guide
10
-
11
- To update your project to use the published npm package:
12
-
13
- 1. **Update `package.json`**:
14
- Replace the dependency source:
15
- ```diff
16
- - "@registrucentras/rc-ses-angular-components": "github:registrucentras/rc-ses-angular-components#..."
17
- + "@registrucentras/rc-ses-angular-components": "^0.2.0"
18
- ```
19
-
20
- 2. **Reinstall dependencies**:
21
- ```bash
22
- npm install
23
- ```
24
-
25
- ### Changes
26
-
27
- - **Published to npm**: The package is now available on `https://registry.npmjs.org/` as `@registrucentras/rc-ses-angular-components`.
28
- - **Granular Access Token**: Publishing is handled via a secure Granular Access Token.
29
- - **Deprecated**: Publishing to GitHub Packages is no longer supported in favor of the public npm registry.
package/angular.json DELETED
@@ -1,173 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "@registrucentras/rc-ses-angular-components": {
7
- "projectType": "library",
8
- "schematics": {
9
- "@schematics/angular:component": {
10
- "style": "scss",
11
- "skipTests": false
12
- },
13
- "@schematics/angular:class": {
14
- "skipTests": false
15
- },
16
- "@schematics/angular:directive": {
17
- "skipTests": false
18
- },
19
- "@schematics/angular:guard": {
20
- "skipTests": false
21
- },
22
- "@schematics/angular:interceptor": {
23
- "skipTests": false
24
- },
25
- "@schematics/angular:pipe": {
26
- "skipTests": false
27
- },
28
- "@schematics/angular:resolver": {
29
- "skipTests": false
30
- },
31
- "@schematics/angular:service": {
32
- "skipTests": false
33
- }
34
- },
35
- "root": "projects/rc-ses/angular-components",
36
- "sourceRoot": "projects/rc-ses/angular-components/src",
37
- "prefix": "rc-ses",
38
- "architect": {
39
- "build": {
40
- "builder": "@angular-devkit/build-angular:ng-packagr",
41
- "options": {
42
- "project": "projects/rc-ses/angular-components/ng-package.json"
43
- },
44
- "configurations": {
45
- "production": {
46
- "tsConfig": "projects/rc-ses/angular-components/tsconfig.lib.prod.json"
47
- },
48
- "development": {
49
- "tsConfig": "projects/rc-ses/angular-components/tsconfig.lib.json"
50
- }
51
- },
52
- "defaultConfiguration": "production"
53
- },
54
- "test": {
55
- "builder": "@angular-devkit/build-angular:karma",
56
- "options": {
57
- "karmaConfig": "karma.conf.js",
58
- "main": "projects/rc-ses/angular-components/src/test.ts",
59
- "polyfills": [
60
- "zone.js"
61
- ],
62
- "tsConfig": "tsconfig.spec.json",
63
- "inlineStyleLanguage": "scss",
64
- "assets": [],
65
- "styles": [
66
- "projects/rc-ses/angular-components/src/lib/theme/index.scss"
67
- ],
68
- "scripts": []
69
- }
70
- }
71
- }
72
- },
73
- "app": {
74
- "projectType": "application",
75
- "schematics": {
76
- "@schematics/angular:component": {
77
- "style": "scss",
78
- "skipTests": true
79
- },
80
- "@schematics/angular:class": {
81
- "skipTests": true
82
- },
83
- "@schematics/angular:directive": {
84
- "skipTests": true
85
- },
86
- "@schematics/angular:guard": {
87
- "skipTests": true
88
- },
89
- "@schematics/angular:interceptor": {
90
- "skipTests": true
91
- },
92
- "@schematics/angular:pipe": {
93
- "skipTests": true
94
- },
95
- "@schematics/angular:resolver": {
96
- "skipTests": true
97
- },
98
- "@schematics/angular:service": {
99
- "skipTests": true
100
- }
101
- },
102
- "root": "projects/app",
103
- "sourceRoot": "projects/app/src",
104
- "prefix": "app",
105
- "architect": {
106
- "build": {
107
- "builder": "@angular-devkit/build-angular:application",
108
- "options": {
109
- "outputPath": "dist/app",
110
- "index": "projects/app/src/index.html",
111
- "browser": "projects/app/src/main.ts",
112
- "polyfills": [
113
- "zone.js"
114
- ],
115
- "tsConfig": "projects/app/tsconfig.app.json",
116
- "inlineStyleLanguage": "scss",
117
- "assets": [
118
- {
119
- "glob": "**/*",
120
- "input": "projects/app/public"
121
- }
122
- ],
123
- "styles": [
124
- "projects/rc-ses/angular-components/src/lib/theme/index.scss"
125
- ],
126
- "scripts": []
127
- },
128
- "configurations": {
129
- "production": {
130
- "budgets": [
131
- {
132
- "type": "initial",
133
- "maximumWarning": "500kB",
134
- "maximumError": "1MB"
135
- },
136
- {
137
- "type": "anyComponentStyle",
138
- "maximumWarning": "2kB",
139
- "maximumError": "4kB"
140
- }
141
- ],
142
- "outputHashing": "all"
143
- },
144
- "development": {
145
- "optimization": false,
146
- "extractLicenses": false,
147
- "sourceMap": true
148
- }
149
- },
150
- "defaultConfiguration": "production"
151
- },
152
- "serve": {
153
- "builder": "@angular-devkit/build-angular:dev-server",
154
- "configurations": {
155
- "production": {
156
- "buildTarget": "app:build:production"
157
- },
158
- "development": {
159
- "buildTarget": "app:build:development"
160
- }
161
- },
162
- "defaultConfiguration": "development"
163
- },
164
- "extract-i18n": {
165
- "builder": "@angular-devkit/build-angular:extract-i18n"
166
- }
167
- }
168
- }
169
- },
170
- "cli": {
171
- "analytics": false
172
- }
173
- }
package/karma.conf.js DELETED
@@ -1,53 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage'),
13
- require('karma-junit-reporter'),
14
- require('@angular-devkit/build-angular/plugins/karma')
15
- ],
16
- client: {
17
- jasmine: {
18
- // you can add configuration options for Jasmine here
19
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
20
- // for example, you can disable the random execution with `random: false`
21
- // or set a specific seed with `seed: 4321`
22
- },
23
- clearContext: false // leave Jasmine Spec Runner output visible in browser
24
- },
25
- jasmineHtmlReporter: {
26
- suppressAll: true // removes the duplicated traces
27
- },
28
- coverageReporter: {
29
- dir: require('path').join(__dirname, './coverage/rc-ses-angular-components'),
30
- subdir: '.',
31
- reporters: [
32
- { type: 'html' },
33
- { type: 'text-summary' },
34
- { type: 'lcov' },
35
- { type: 'cobertura' }
36
- ]
37
- },
38
- junitReporter: {
39
- outputDir: require('path').join(__dirname, './coverage/rc-ses-angular-components'),
40
- outputFile: 'junit.xml',
41
- useBrowserName: false
42
- },
43
- reporters: ['progress', 'kjhtml', 'coverage', 'junit'],
44
- browsers: ['Chrome'],
45
- customLaunchers: {
46
- ChromeHeadlessCI: {
47
- base: 'ChromeHeadless',
48
- flags: ['--no-sandbox', '--disable-gpu']
49
- }
50
- },
51
- restartOnFileChange: true
52
- });
53
- };
Binary file
@@ -1,3 +0,0 @@
1
- <main class="main">
2
- <router-outlet></router-outlet>
3
- </main>
File without changes
@@ -1,20 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { RouterOutlet } from '@angular/router';
3
- import { HttpClient } from '@angular/common/http';
4
-
5
-
6
- @Component({
7
- selector: 'app-root',
8
- standalone: true,
9
- imports: [
10
- RouterOutlet,
11
- ],
12
- templateUrl: './app.component.html',
13
- styleUrl: './app.component.scss',
14
- providers: [
15
- HttpClient,
16
- ],
17
- })
18
- export class AppComponent {
19
-
20
- }
@@ -1,33 +0,0 @@
1
- import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
2
- import { provideRouter } from '@angular/router';
3
-
4
- import { routes } from './app.routes';
5
- import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
6
- import { MAT_RIPPLE_GLOBAL_OPTIONS } from '@angular/material/core';
7
- import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
8
- import { MAT_EXPANSION_PANEL_DEFAULT_OPTIONS } from '@angular/material/expansion';
9
-
10
- export const appConfig: ApplicationConfig = {
11
- providers: [
12
- provideZoneChangeDetection({ eventCoalescing: true }),
13
- provideRouter(routes), provideAnimationsAsync(),
14
- {
15
- provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
16
- useValue: {
17
- appearance: 'outline',
18
- subscriptSizing: 'dynamic',
19
- },
20
- },
21
- {
22
- provide: MAT_RIPPLE_GLOBAL_OPTIONS,
23
- useValue: { disabled: true },
24
- },
25
- {
26
- provide: MAT_EXPANSION_PANEL_DEFAULT_OPTIONS,
27
- useValue: {
28
- collapsedHeight: '4.5rem',
29
- expandedHeight: '4.5rem'
30
- },
31
- },
32
- ],
33
- };
@@ -1,16 +0,0 @@
1
- import { Routes } from '@angular/router';
2
-
3
- export const routes: Routes = [
4
- {
5
- path: '',
6
- loadComponent : () => import('./landing-page/landing-page').then(m => m.LandingPageComponent),
7
- },
8
- {
9
- path: 'sample-form-multiple-steps',
10
- loadComponent : () => import('./sample-form-multiple-steps/sample-form-multiple-steps').then(m => m.SampleFormMultipleStepsComponent),
11
- },
12
- {
13
- path: 'sample-form-single-step',
14
- loadComponent : () => import('./sample-form-single-step/sample-form-single-step').then(m => m.SampleFormSingleStepComponent),
15
- },
16
- ];
@@ -1,20 +0,0 @@
1
- <rc-ses-service-page>
2
- <rc-ses-service-header
3
- serviceName="Paslaugų užsakymo formų pavyzdžiai"
4
- serviceDescription="At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga."
5
- />
6
- <div style="text-align: center;">
7
- <button routerLink="/sample-form-multiple-steps" rc-ses-button mat-stroked-button>
8
- Formos su vedliu pavyzdys
9
- <mat-icon matListItemIcon svgIcon="rc-ses-arrow-right" aria-hidden="false" />
10
- </button>
11
-
12
- <br />
13
- <br />
14
-
15
- <button routerLink="/sample-form-single-step" rc-ses-button mat-stroked-button>
16
- Vieno žingsnio formos pavyzdys
17
- <mat-icon matListItemIcon svgIcon="rc-ses-arrow-right" aria-hidden="false" />
18
- </button>
19
- </div>
20
- </rc-ses-service-page>