@verisoft/ui-govcz 19.0.0-rc001 → 20.0.1
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 +135 -3
- package/fesm2022/verisoft-ui-govcz.mjs +232 -287
- package/fesm2022/verisoft-ui-govcz.mjs.map +1 -1
- package/index.d.ts +955 -1
- package/package.json +16 -19
- package/styles/dist/main.css +9 -0
- package/styles/dist/main.css.map +1 -0
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -7
- package/lib/components/breadcrumb/index.d.ts +0 -1
- package/lib/components/button/button.component.d.ts +0 -26
- package/lib/components/button/index.d.ts +0 -1
- package/lib/components/calendar/calendar.component.d.ts +0 -23
- package/lib/components/calendar/index.d.ts +0 -1
- package/lib/components/checkbox/checkbox.component.d.ts +0 -15
- package/lib/components/checkbox/index.d.ts +0 -1
- package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +0 -15
- package/lib/components/confirm-dialog/index.d.ts +0 -1
- package/lib/components/dropdown/dropdown-item.component.d.ts +0 -7
- package/lib/components/dropdown/dropdown.component.d.ts +0 -65
- package/lib/components/dropdown/dropdown.model.d.ts +0 -6
- package/lib/components/dropdown/index.d.ts +0 -1
- package/lib/components/dropdown-button/dropdown-button.component.d.ts +0 -15
- package/lib/components/dropdown-button/index.d.ts +0 -1
- package/lib/components/errors/error.component.d.ts +0 -14
- package/lib/components/errors/index.d.ts +0 -1
- package/lib/components/form-field/form-field.component.d.ts +0 -25
- package/lib/components/form-field/index.d.ts +0 -1
- package/lib/components/header/header.component.d.ts +0 -25
- package/lib/components/header/index.d.ts +0 -1
- package/lib/components/index.d.ts +0 -33
- package/lib/components/input-group/index.d.ts +0 -1
- package/lib/components/input-group/input-group.component.d.ts +0 -24
- package/lib/components/loader/index.d.ts +0 -1
- package/lib/components/loader/loader.component.d.ts +0 -8
- package/lib/components/multiselect/index.d.ts +0 -1
- package/lib/components/multiselect/multiselect.component.d.ts +0 -35
- package/lib/components/number-input/index.d.ts +0 -1
- package/lib/components/number-input/number-input.component.d.ts +0 -29
- package/lib/components/page-header/index.d.ts +0 -1
- package/lib/components/page-header/page-header.component.d.ts +0 -9
- package/lib/components/password/index.d.ts +0 -1
- package/lib/components/password/password.component.d.ts +0 -23
- package/lib/components/radiobutton/index.d.ts +0 -1
- package/lib/components/radiobutton/radiobutton.component.d.ts +0 -12
- package/lib/components/search/index.d.ts +0 -1
- package/lib/components/search/search.component.d.ts +0 -14
- package/lib/components/section/index.d.ts +0 -1
- package/lib/components/section/section.component.d.ts +0 -18
- package/lib/components/shared-components/action-button-group/action-button-group.component.d.ts +0 -28
- package/lib/components/shared-components/action-button-group/components/action-button/action-button.component.d.ts +0 -24
- package/lib/components/shared-components/action-button-group/index.d.ts +0 -2
- package/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.d.ts +0 -17
- package/lib/components/shared-components/dynamic-component/dynamic-component.component.d.ts +0 -16
- package/lib/components/shared-components/dynamic-component/index.d.ts +0 -2
- package/lib/components/shared-components/feature-list/directives/feature-list-column.directive.d.ts +0 -10
- package/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.d.ts +0 -6
- package/lib/components/shared-components/feature-list/feature-list-filter.pipe.d.ts +0 -9
- package/lib/components/shared-components/feature-list/feature-list-page.component.d.ts +0 -9
- package/lib/components/shared-components/feature-list/feature-list-page.model.d.ts +0 -23
- package/lib/components/shared-components/feature-list/feature-list.component.d.ts +0 -62
- package/lib/components/shared-components/feature-list/index.d.ts +0 -5
- package/lib/components/shared-components/filter/directives/filter-field.directive.d.ts +0 -20
- package/lib/components/shared-components/filter/filter.component.d.ts +0 -53
- package/lib/components/shared-components/filter/filter.model.d.ts +0 -2
- package/lib/components/shared-components/filter/index.d.ts +0 -2
- package/lib/components/shared-components/generic-field/generic-field.component.d.ts +0 -28
- package/lib/components/shared-components/generic-field/index.d.ts +0 -1
- package/lib/components/shared-components/generic-form/generic-form.component.d.ts +0 -15
- package/lib/components/shared-components/generic-form/generic-form.model.d.ts +0 -4
- package/lib/components/shared-components/generic-form/index.d.ts +0 -2
- package/lib/components/shared-components/index.d.ts +0 -6
- package/lib/components/side-menu/index.d.ts +0 -2
- package/lib/components/side-menu/side-menu.component.d.ts +0 -15
- package/lib/components/side-menu/side-menu.module.d.ts +0 -12
- package/lib/components/snackbar/index.d.ts +0 -2
- package/lib/components/snackbar/services/snackbar.service.d.ts +0 -18
- package/lib/components/snackbar/snackbar.component.d.ts +0 -18
- package/lib/components/snackbar/snackbar.model.d.ts +0 -10
- package/lib/components/stepper/index.d.ts +0 -1
- package/lib/components/stepper/stepper.component.d.ts +0 -20
- package/lib/components/switch/index.d.ts +0 -1
- package/lib/components/switch/switch.component.d.ts +0 -12
- package/lib/components/tab-view/index.d.ts +0 -2
- package/lib/components/tab-view/tab-view-item.component.d.ts +0 -14
- package/lib/components/tab-view/tab-view.component.d.ts +0 -19
- package/lib/components/table/index.d.ts +0 -1
- package/lib/components/table/table-pagination-info.component.d.ts +0 -12
- package/lib/components/table/table.component.d.ts +0 -91
- package/lib/components/table/table.model.d.ts +0 -3
- package/lib/components/textarea/index.d.ts +0 -1
- package/lib/components/textarea/textarea.component.d.ts +0 -26
- package/lib/components/textfield/index.d.ts +0 -1
- package/lib/components/textfield/textfield.component.d.ts +0 -28
- package/lib/components/tooltip/index.d.ts +0 -1
- package/lib/components/tooltip/tooltip.component.d.ts +0 -18
- package/lib/icons.d.ts +0 -2
- package/lib/index.d.ts +0 -5
- package/lib/init.service.d.ts +0 -6
- package/lib/pages/index.d.ts +0 -3
- package/lib/pages/not-authenticated/index.d.ts +0 -1
- package/lib/pages/not-authenticated/not-authenticated.component.d.ts +0 -5
- package/lib/pages/not-authorized/index.d.ts +0 -1
- package/lib/pages/not-authorized/not-authorized.component.d.ts +0 -6
- package/lib/pages/not-found/index.d.ts +0 -1
- package/lib/pages/not-found/not-found.component.d.ts +0 -6
- package/lib/pipes/color/color.pipe.d.ts +0 -8
- package/lib/pipes/index.d.ts +0 -3
- package/lib/pipes/multiselect/multiselect-options.pipe.d.ts +0 -9
- package/lib/pipes/size/size.pipe.d.ts +0 -8
- /package/{assets → styles}/sass/header.css +0 -0
- /package/{assets → styles}/sass/header.scss +0 -0
- /package/{assets → styles}/sass/main.scss +0 -0
- /package/{assets → styles}/sass/scrollbar.scss +0 -0
- /package/{assets → styles}/sass/utils/_utils.scss +0 -0
- /package/{assets → styles}/sass/utils/_variables.scss +0 -0
- /package/{assets → styles}/sass/utils/index.scss +0 -0
- /package/{assets → styles}/sass/vendors/_bootstrap.scss +0 -0
package/README.md
CHANGED
|
@@ -1,7 +1,139 @@
|
|
|
1
|
-
# ui-govcz
|
|
1
|
+
# @verisoft/ui-govcz
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A comprehensive Angular UI component library that provides components specifically designed to comply with Czech Government Design System (gov.cz) standards. This library offers a complete set of form controls, navigation components, and layout elements that follow accessibility guidelines and government design standards.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The `@verisoft/ui-govcz` library is built on top of `@verisoft/ui-core` and provides specialized components for Czech government applications. It includes custom styling, icons, and behavior patterns that align with official gov.cz design specifications.
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
### Components
|
|
12
|
+
- **Form Controls**: Input fields, dropdowns, checkboxes, radio buttons, switches, calendars
|
|
13
|
+
- **Navigation**: Breadcrumbs, side menu, tabs, stepper components
|
|
14
|
+
- **Data Display**: Tables with filtering and sorting, tooltips
|
|
15
|
+
- **Feedback**: Snackbars, confirm dialogs, error handling, loaders
|
|
16
|
+
- **Layout**: Headers, page headers, sections, button groups
|
|
17
|
+
- **Specialized**: Search components, multiselect, password fields
|
|
18
|
+
|
|
19
|
+
### Key Features
|
|
20
|
+
- ✅ **Gov.cz Compliance**: All components follow Czech government design standards
|
|
21
|
+
- ✅ **Accessibility**: WCAG 2.1 compliant components
|
|
22
|
+
- ✅ **Form Integration**: Seamless integration with Angular Reactive Forms
|
|
23
|
+
- ✅ **Security**: Built-in security features via `@verisoft/security-core`
|
|
24
|
+
- ✅ **State Management**: Integration with `@verisoft/store`
|
|
25
|
+
- ✅ **Customizable**: Flexible theming and styling options
|
|
26
|
+
|
|
27
|
+
## Installation
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install @verisoft/ui-govcz
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Peer Dependencies
|
|
34
|
+
|
|
35
|
+
Make sure you have the following peer dependencies installed:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm install @verisoft/ui-core @verisoft/core @verisoft/security-core @angular/core @angular/common @angular/forms
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Quick Start
|
|
42
|
+
|
|
43
|
+
1. **Import individual components** in your Angular application:
|
|
44
|
+
|
|
45
|
+
```typescript
|
|
46
|
+
import {
|
|
47
|
+
ButtonComponent,
|
|
48
|
+
TextfieldComponent,
|
|
49
|
+
FormFieldComponent
|
|
50
|
+
} from '@verisoft/ui-govcz';
|
|
51
|
+
|
|
52
|
+
@Component({
|
|
53
|
+
imports: [ButtonComponent, TextfieldComponent, FormFieldComponent],
|
|
54
|
+
// ...
|
|
55
|
+
})
|
|
56
|
+
export class MyComponent { }
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
2. **Use components** in your templates:
|
|
60
|
+
|
|
61
|
+
```html
|
|
62
|
+
<v-button [primary]="true">Government Action</v-button>
|
|
63
|
+
<v-form-field label="Official Document">
|
|
64
|
+
<v-textfield formControlName="document"></v-textfield>
|
|
65
|
+
</v-form-field>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Usage Examples
|
|
69
|
+
|
|
70
|
+
### Basic Form
|
|
71
|
+
```typescript
|
|
72
|
+
// Component
|
|
73
|
+
import { FormBuilder, Validators } from '@angular/forms';
|
|
74
|
+
import { ButtonComponent, TextfieldComponent, FormFieldComponent } from '@verisoft/ui-govcz';
|
|
75
|
+
|
|
76
|
+
@Component({
|
|
77
|
+
imports: [ButtonComponent, TextfieldComponent, FormFieldComponent],
|
|
78
|
+
// ...
|
|
79
|
+
})
|
|
80
|
+
export class MyFormComponent {
|
|
81
|
+
form = this.fb.group({
|
|
82
|
+
name: ['', Validators.required],
|
|
83
|
+
email: ['', [Validators.required, Validators.email]]
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
constructor(private fb: FormBuilder) {}
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
```html
|
|
91
|
+
<!-- Template -->
|
|
92
|
+
<form [formGroup]="form">
|
|
93
|
+
<v-form-field label="Full Name" [required]="true">
|
|
94
|
+
<v-textfield formControlName="name"></v-textfield>
|
|
95
|
+
</v-form-field>
|
|
96
|
+
|
|
97
|
+
<v-form-field label="Email Address" [required]="true">
|
|
98
|
+
<v-textfield formControlName="email" type="email"></v-textfield>
|
|
99
|
+
</v-form-field>
|
|
100
|
+
|
|
101
|
+
<v-button [primary]="true" type="submit">Submit</v-button>
|
|
102
|
+
</form>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Data Table
|
|
106
|
+
```html
|
|
107
|
+
<v-table
|
|
108
|
+
[data]="tableData"
|
|
109
|
+
[columns]="columns"
|
|
110
|
+
[sortable]="true"
|
|
111
|
+
[filterable]="true">
|
|
112
|
+
</v-table>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## API Documentation
|
|
116
|
+
|
|
117
|
+
For detailed component APIs, properties, and methods, please refer to the component documentation or use your IDE's IntelliSense for inline documentation.
|
|
118
|
+
|
|
119
|
+
## Development
|
|
120
|
+
|
|
121
|
+
### Running unit tests
|
|
6
122
|
|
|
7
123
|
Run `nx test ui-govcz` to execute the unit tests.
|
|
124
|
+
|
|
125
|
+
### Building the library
|
|
126
|
+
|
|
127
|
+
Run `nx build ui-govcz` to build the library.
|
|
128
|
+
|
|
129
|
+
### Linting
|
|
130
|
+
|
|
131
|
+
Run `nx lint ui-govcz` to run ESLint on the library.
|
|
132
|
+
|
|
133
|
+
## Contributing
|
|
134
|
+
|
|
135
|
+
This library is part of the Verisoft framework. Please follow the established coding standards and ensure all components maintain gov.cz design compliance.
|
|
136
|
+
|
|
137
|
+
## License
|
|
138
|
+
|
|
139
|
+
Copyright © Verisoft. All rights reserved.
|