@verisoft/ui-govcz 20.1.0 → 20.1.2
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/fesm2022/verisoft-ui-govcz.mjs +3770 -0
- package/fesm2022/verisoft-ui-govcz.mjs.map +1 -0
- package/index.d.ts +1013 -0
- package/package.json +19 -7
- package/styles/dist/main.css +13 -0
- package/styles/dist/main.css.map +1 -0
- package/.eslintrc.json +0 -60
- package/jest.config.ts +0 -21
- package/ng-package.json +0 -28
- package/project.json +0 -49
- package/src/config.d.ts +0 -10
- package/src/index.ts +0 -1
- package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -25
- package/src/lib/components/breadcrumb/breadcrumb.component.scss +0 -0
- package/src/lib/components/breadcrumb/breadcrumb.component.spec.ts +0 -21
- package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -28
- package/src/lib/components/breadcrumb/index.ts +0 -1
- package/src/lib/components/button/button.component.html +0 -28
- package/src/lib/components/button/button.component.scss +0 -21
- package/src/lib/components/button/button.component.ts +0 -77
- package/src/lib/components/button/index.ts +0 -1
- package/src/lib/components/calendar/calendar.component.html +0 -28
- package/src/lib/components/calendar/calendar.component.scss +0 -0
- package/src/lib/components/calendar/calendar.component.ts +0 -77
- package/src/lib/components/calendar/index.ts +0 -1
- package/src/lib/components/checkbox/checkbox.component.html +0 -23
- package/src/lib/components/checkbox/checkbox.component.scss +0 -0
- package/src/lib/components/checkbox/checkbox.component.ts +0 -61
- package/src/lib/components/checkbox/index.ts +0 -1
- package/src/lib/components/confirm-dialog/confirm-dialog.component.html +0 -50
- package/src/lib/components/confirm-dialog/confirm-dialog.component.scss +0 -4
- package/src/lib/components/confirm-dialog/confirm-dialog.component.ts +0 -79
- package/src/lib/components/confirm-dialog/index.ts +0 -1
- package/src/lib/components/dropdown/dropdown-item.component.html +0 -8
- package/src/lib/components/dropdown/dropdown-item.component.ts +0 -18
- package/src/lib/components/dropdown/dropdown.component.html +0 -91
- package/src/lib/components/dropdown/dropdown.component.scss +0 -108
- package/src/lib/components/dropdown/dropdown.component.spec.ts +0 -21
- package/src/lib/components/dropdown/dropdown.component.ts +0 -296
- package/src/lib/components/dropdown/dropdown.model.ts +0 -6
- package/src/lib/components/dropdown/index.ts +0 -1
- package/src/lib/components/dropdown-button/dropdown-button.component.html +0 -31
- package/src/lib/components/dropdown-button/dropdown-button.component.ts +0 -34
- package/src/lib/components/dropdown-button/index.ts +0 -1
- package/src/lib/components/errors/error.component.html +0 -11
- package/src/lib/components/errors/error.component.scss +0 -0
- package/src/lib/components/errors/error.component.spec.ts +0 -19
- package/src/lib/components/errors/error.component.ts +0 -29
- package/src/lib/components/errors/index.ts +0 -1
- package/src/lib/components/feature-list/directives/feature-list-column.directive.ts +0 -32
- package/src/lib/components/feature-list/directives/feature-list-filter-field.directive.ts +0 -8
- package/src/lib/components/feature-list/feature-list-filter.pipe.ts +0 -20
- package/src/lib/components/feature-list/feature-list-page.component.ts +0 -30
- package/src/lib/components/feature-list/feature-list-page.model.ts +0 -42
- package/src/lib/components/feature-list/feature-list.component.html +0 -67
- package/src/lib/components/feature-list/feature-list.component.scss +0 -10
- package/src/lib/components/feature-list/feature-list.component.ts +0 -360
- package/src/lib/components/feature-list/index.ts +0 -5
- package/src/lib/components/filter/directives/filter-field.directive.ts +0 -35
- package/src/lib/components/filter/filter.component.html +0 -78
- package/src/lib/components/filter/filter.component.scss +0 -32
- package/src/lib/components/filter/filter.component.spec.ts +0 -21
- package/src/lib/components/filter/filter.component.stories.ts +0 -23
- package/src/lib/components/filter/filter.component.ts +0 -286
- package/src/lib/components/filter/filter.model.ts +0 -18
- package/src/lib/components/filter/index.ts +0 -2
- package/src/lib/components/form-field/form-field.component.html +0 -14
- package/src/lib/components/form-field/form-field.component.scss +0 -0
- package/src/lib/components/form-field/form-field.component.spec.ts +0 -21
- package/src/lib/components/form-field/form-field.component.ts +0 -76
- package/src/lib/components/form-field/index.ts +0 -1
- package/src/lib/components/header/header.component.html +0 -122
- package/src/lib/components/header/header.component.scss +0 -0
- package/src/lib/components/header/header.component.ts +0 -90
- package/src/lib/components/header/index.ts +0 -1
- package/src/lib/components/icon/icon.component.html +0 -11
- package/src/lib/components/icon/icon.component.scss +0 -20
- package/src/lib/components/icon/icon.component.ts +0 -110
- package/src/lib/components/icon/index.ts +0 -2
- package/src/lib/components/index.ts +0 -37
- package/src/lib/components/input-group/index.ts +0 -1
- package/src/lib/components/input-group/input-group.component.html +0 -41
- package/src/lib/components/input-group/input-group.component.scss +0 -0
- package/src/lib/components/input-group/input-group.component.ts +0 -75
- package/src/lib/components/loader/index.ts +0 -1
- package/src/lib/components/loader/loader.component.html +0 -7
- package/src/lib/components/loader/loader.component.scss +0 -0
- package/src/lib/components/loader/loader.component.spec.ts +0 -21
- package/src/lib/components/loader/loader.component.ts +0 -33
- package/src/lib/components/multiselect/index.ts +0 -1
- package/src/lib/components/multiselect/multiselect.component.html +0 -21
- package/src/lib/components/multiselect/multiselect.component.scss +0 -0
- package/src/lib/components/multiselect/multiselect.component.spec.ts +0 -21
- package/src/lib/components/multiselect/multiselect.component.ts +0 -117
- package/src/lib/components/number-input/index.ts +0 -1
- package/src/lib/components/number-input/number-input.component.html +0 -48
- package/src/lib/components/number-input/number-input.component.scss +0 -0
- package/src/lib/components/number-input/number-input.component.ts +0 -80
- package/src/lib/components/page-header/index.ts +0 -1
- package/src/lib/components/page-header/page-header.component.html +0 -3
- package/src/lib/components/page-header/page-header.component.scss +0 -11
- package/src/lib/components/page-header/page-header.component.spec.ts +0 -21
- package/src/lib/components/page-header/page-header.component.ts +0 -27
- package/src/lib/components/password/index.ts +0 -1
- package/src/lib/components/password/password.component.html +0 -31
- package/src/lib/components/password/password.component.scss +0 -0
- package/src/lib/components/password/password.component.spec.ts +0 -21
- package/src/lib/components/password/password.component.ts +0 -83
- package/src/lib/components/radiobutton/index.ts +0 -1
- package/src/lib/components/radiobutton/radiobutton.component.html +0 -23
- package/src/lib/components/radiobutton/radiobutton.component.scss +0 -0
- package/src/lib/components/radiobutton/radiobutton.component.ts +0 -61
- package/src/lib/components/search/index.ts +0 -1
- package/src/lib/components/search/search.component.html +0 -23
- package/src/lib/components/search/search.component.scss +0 -0
- package/src/lib/components/search/search.component.ts +0 -45
- package/src/lib/components/section/index.ts +0 -1
- package/src/lib/components/section/section.component.html +0 -26
- package/src/lib/components/section/section.component.scss +0 -0
- package/src/lib/components/section/section.component.ts +0 -55
- package/src/lib/components/side-menu/index.ts +0 -2
- package/src/lib/components/side-menu/side-menu.component.html +0 -22
- package/src/lib/components/side-menu/side-menu.component.scss +0 -17
- package/src/lib/components/side-menu/side-menu.component.ts +0 -42
- package/src/lib/components/side-menu/side-menu.module.ts +0 -56
- package/src/lib/components/snackbar/index.ts +0 -2
- package/src/lib/components/snackbar/services/snackbar.service.ts +0 -73
- package/src/lib/components/snackbar/snackbar.component.html +0 -14
- package/src/lib/components/snackbar/snackbar.component.scss +0 -0
- package/src/lib/components/snackbar/snackbar.component.spec.ts +0 -21
- package/src/lib/components/snackbar/snackbar.component.ts +0 -44
- package/src/lib/components/snackbar/snackbar.model.ts +0 -10
- package/src/lib/components/stepper/index.ts +0 -1
- package/src/lib/components/stepper/stepper.component.html +0 -35
- package/src/lib/components/stepper/stepper.component.scss +0 -9
- package/src/lib/components/stepper/stepper.component.ts +0 -60
- package/src/lib/components/switch/index.ts +0 -1
- package/src/lib/components/switch/switch.component.html +0 -16
- package/src/lib/components/switch/switch.component.scss +0 -0
- package/src/lib/components/switch/switch.component.ts +0 -39
- package/src/lib/components/tab-view/index.ts +0 -2
- package/src/lib/components/tab-view/tab-view-item.component.ts +0 -23
- package/src/lib/components/tab-view/tab-view.component.html +0 -51
- package/src/lib/components/tab-view/tab-view.component.scss +0 -43
- package/src/lib/components/tab-view/tab-view.component.ts +0 -64
- package/src/lib/components/tab-view/tab-view.module.ts +0 -25
- package/src/lib/components/table/index.ts +0 -1
- package/src/lib/components/table/table-pagination-info.component.html +0 -9
- package/src/lib/components/table/table-pagination-info.component.ts +0 -22
- package/src/lib/components/table/table.component.html +0 -199
- package/src/lib/components/table/table.component.scss +0 -192
- package/src/lib/components/table/table.component.ts +0 -390
- package/src/lib/components/table/table.model.ts +0 -17
- package/src/lib/components/table/table.models.ts +0 -12
- package/src/lib/components/tag/index.ts +0 -3
- package/src/lib/components/tag/tag.component.html +0 -12
- package/src/lib/components/tag/tag.component.scss +0 -4
- package/src/lib/components/tag/tag.component.ts +0 -44
- package/src/lib/components/tag/tag.model.ts +0 -7
- package/src/lib/components/textarea/index.ts +0 -1
- package/src/lib/components/textarea/textarea.component.html +0 -50
- package/src/lib/components/textarea/textarea.component.scss +0 -0
- package/src/lib/components/textarea/textarea.component.ts +0 -77
- package/src/lib/components/textfield/index.ts +0 -1
- package/src/lib/components/textfield/textfield.component.html +0 -34
- package/src/lib/components/textfield/textfield.component.scss +0 -0
- package/src/lib/components/textfield/textfield.component.ts +0 -112
- package/src/lib/components/tooltip/index.ts +0 -1
- package/src/lib/components/tooltip/tooltip.component.html +0 -9
- package/src/lib/components/tooltip/tooltip.component.ts +0 -19
- package/src/lib/icons.ts +0 -36
- package/src/lib/index.ts +0 -5
- package/src/lib/init.service.ts +0 -11
- package/src/lib/interceptors/http-error-message.interceptor.ts +0 -45
- package/src/lib/pages/bad-request-page/bad-request-page.component.html +0 -5
- package/src/lib/pages/bad-request-page/bad-request-page.component.scss +0 -0
- package/src/lib/pages/bad-request-page/bad-request-page.component.ts +0 -14
- package/src/lib/pages/error-page/error-page.component.html +0 -5
- package/src/lib/pages/error-page/error-page.component.scss +0 -0
- package/src/lib/pages/error-page/error-page.component.ts +0 -31
- package/src/lib/pages/error-page/error-page.constants.ts +0 -19
- package/src/lib/pages/index.ts +0 -3
- package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.html +0 -5
- package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.scss +0 -0
- package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.ts +0 -15
- package/src/lib/pages/not-authenticated/index.ts +0 -1
- package/src/lib/pages/not-authenticated/not-authenticated.component.html +0 -5
- package/src/lib/pages/not-authenticated/not-authenticated.component.ts +0 -13
- package/src/lib/pages/not-authorized/index.ts +0 -1
- package/src/lib/pages/not-authorized/not-authorized.component.html +0 -5
- package/src/lib/pages/not-authorized/not-authorized.component.ts +0 -17
- package/src/lib/pages/not-found/index.ts +0 -1
- package/src/lib/pages/not-found/not-found.component.html +0 -5
- package/src/lib/pages/not-found/not-found.component.ts +0 -17
- package/src/lib/pages/not-found-page/not-found-page.component.html +0 -6
- package/src/lib/pages/not-found-page/not-found-page.component.scss +0 -0
- package/src/lib/pages/not-found-page/not-found-page.component.ts +0 -15
- package/src/lib/pipes/color/color.pipe.ts +0 -24
- package/src/lib/pipes/index.ts +0 -3
- package/src/lib/pipes/multiselect/multiselect-options.pipe.ts +0 -61
- package/src/lib/pipes/size/size.pipe.ts +0 -24
- package/src/test-setup.ts +0 -8
- package/tsconfig.json +0 -30
- package/tsconfig.lib.json +0 -17
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -16
- /package/{src → styles}/sass/foundations/_colors.scss +0 -0
- /package/{src → styles}/sass/foundations/index.scss +0 -0
- /package/{src → styles}/sass/header.css +0 -0
- /package/{src → styles}/sass/header.scss +0 -0
- /package/{src → styles}/sass/integrations/_bootstrap.scss +0 -0
- /package/{src → styles}/sass/integrations/index.scss +0 -0
- /package/{src → styles}/sass/main.scss +0 -0
- /package/{src → styles}/sass/overrides/_gov.scss +0 -0
- /package/{src → styles}/sass/overrides/index.scss +0 -0
- /package/{src → styles}/sass/scrollbar.scss +0 -0
- /package/{src → styles}/sass/tokens/_theme-dark.scss +0 -0
- /package/{src → styles}/sass/tokens/_theme-light.scss +0 -0
- /package/{src → styles}/sass/tokens/index.scss +0 -0
- /package/{src → styles}/sass/utils/_table_filter.scss +0 -0
- /package/{src → styles}/sass/utils/_utils.scss +0 -0
- /package/{src → styles}/sass/utils/index.scss +0 -0
- /package/{src → styles}/sass/vendors/_bootstrap.scss +0 -0
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
@if (selectionMode === 'multiple' && showActionButtons) {
|
|
2
|
-
<gov-flex
|
|
3
|
-
class="gov-table-complex__actions mt-2"
|
|
4
|
-
justify-content="space-between"
|
|
5
|
-
align-items="center"
|
|
6
|
-
>
|
|
7
|
-
<div class="gov-table-complex__records-selected">
|
|
8
|
-
{{ selectedCount }} {{ ('TABLES.CHOSEN_RECORDS' | translate) ?? 'chosen records'}}
|
|
9
|
-
</div>
|
|
10
|
-
<div>
|
|
11
|
-
<gov-button color="primary" size="s" type="solid" (gov-click)="delete.emit(selected)">
|
|
12
|
-
{{ ('BUTTONS.DELETE' | translate) ?? 'Delete'}}
|
|
13
|
-
</gov-button>
|
|
14
|
-
<gov-button color="primary" size="s" type="solid" (gov-click)="save.emit(selected)">
|
|
15
|
-
{{ ('BUTTONS.SAVE' | translate) ?? 'Save'}}
|
|
16
|
-
</gov-button>
|
|
17
|
-
<gov-button color="primary" size="s" type="solid" (gov-click)="download.emit(selected)">
|
|
18
|
-
{{ ('BUTTONS.DOWNLOAD' | translate) ?? 'Download'}}
|
|
19
|
-
</gov-button>
|
|
20
|
-
<gov-button color="primary" size="s" type="solid" (gov-click)="deselectAll()">
|
|
21
|
-
{{ ('BUTTONS.CANCEL' | translate) ?? 'Cancel'}}
|
|
22
|
-
</gov-button>
|
|
23
|
-
</div>
|
|
24
|
-
</gov-flex>
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
<div
|
|
28
|
-
class=" v-table gov-table"
|
|
29
|
-
[attr.size]="size | govSize"
|
|
30
|
-
>
|
|
31
|
-
<table class="v-table__table">
|
|
32
|
-
<thead class="v-table__head">
|
|
33
|
-
<tr class="v-table__header">
|
|
34
|
-
@if (this.rowDetailTemplate) {
|
|
35
|
-
<th></th>
|
|
36
|
-
} @if (selectionMode === 'multiple') {
|
|
37
|
-
<th scope="col">
|
|
38
|
-
<gov-form-checkbox
|
|
39
|
-
[checked]="allSelected"
|
|
40
|
-
(gov-change)="toggleAll($event)"
|
|
41
|
-
/>
|
|
42
|
-
</th>
|
|
43
|
-
}
|
|
44
|
-
@for (column of tableColumns; track column; let index = $index) {
|
|
45
|
-
@if (column.visible && column.forceVisibility !== 'hidden') {
|
|
46
|
-
<th
|
|
47
|
-
scope="col"
|
|
48
|
-
[style]="{'text-align': column.textAlign}"
|
|
49
|
-
[class]="column.columnClass"
|
|
50
|
-
>
|
|
51
|
-
<span
|
|
52
|
-
class="gov-table--fit-width"
|
|
53
|
-
[class.v-table__sortable]="column.sortable"
|
|
54
|
-
[class.v-table__sortable--desc]="column.sortable && column.sortDirection === 'desc'"
|
|
55
|
-
[class.v-table__sortable--asc]="column.sortable && column.sortDirection === 'asc'"
|
|
56
|
-
(click)="sortColumn(column)"
|
|
57
|
-
>
|
|
58
|
-
{{ column.headerGetter(column.id, index) | translate }}
|
|
59
|
-
</span>
|
|
60
|
-
</th>
|
|
61
|
-
} @if (this.rowDetailButtonTemplate) {
|
|
62
|
-
<th></th>
|
|
63
|
-
}}
|
|
64
|
-
</tr>
|
|
65
|
-
</thead>
|
|
66
|
-
@if (loading) {
|
|
67
|
-
<v-loader />
|
|
68
|
-
} @else {
|
|
69
|
-
<tbody class="v-table__body">
|
|
70
|
-
@for (data of tableRowView; track data.id; let rowIndex = $index) {
|
|
71
|
-
<tr
|
|
72
|
-
class="v-table__row"
|
|
73
|
-
[class.gov-table--highlight]="data.selected && selectionMode"
|
|
74
|
-
(click)="selectRow(data, $event)"
|
|
75
|
-
(dblclick)="navigate(data, $event)"
|
|
76
|
-
(mousedown)="navigateNewWindow(data, $event)"
|
|
77
|
-
>
|
|
78
|
-
@if (this.rowDetailTemplate) {
|
|
79
|
-
<td>
|
|
80
|
-
<gov-button
|
|
81
|
-
[size]="size | govSize"
|
|
82
|
-
color="primary"
|
|
83
|
-
type="solid"
|
|
84
|
-
(gov-click)="toggleDetail(data)"
|
|
85
|
-
>
|
|
86
|
-
<gov-icon
|
|
87
|
-
[name]="data.expanded ? 'chevron-up' : 'chevron-down'"
|
|
88
|
-
[size]="size | govSize"
|
|
89
|
-
slot="icon-start"
|
|
90
|
-
></gov-icon>
|
|
91
|
-
</gov-button>
|
|
92
|
-
</td>
|
|
93
|
-
} @if (selectionMode === 'multiple') {
|
|
94
|
-
<td class="gov-table--fit-content gov-table--border-right">
|
|
95
|
-
<gov-form-checkbox
|
|
96
|
-
no-label
|
|
97
|
-
[checked]="data.selected"
|
|
98
|
-
[size]="size | govSize"
|
|
99
|
-
(gov-change)="selectRowCheckbox(data, $event)"
|
|
100
|
-
/>
|
|
101
|
-
</td>
|
|
102
|
-
}
|
|
103
|
-
@for (column of tableColumns; track column; let columnIndex = $index) {
|
|
104
|
-
@if (column.visible && column.forceVisibility !== 'hidden') {
|
|
105
|
-
<td
|
|
106
|
-
[style]="{'text-align': column.textAlign}"
|
|
107
|
-
[class]="column.columnClass!"
|
|
108
|
-
[class.v-auto-cell]="column.template"
|
|
109
|
-
>
|
|
110
|
-
@if (column.template) {
|
|
111
|
-
<ng-container
|
|
112
|
-
*ngTemplateOutlet="
|
|
113
|
-
column.template;
|
|
114
|
-
context: { $implicit: data.row }
|
|
115
|
-
"
|
|
116
|
-
></ng-container>
|
|
117
|
-
} @else {
|
|
118
|
-
<span
|
|
119
|
-
[queryParams]="column.queryParams ? column.queryParams : undefined"
|
|
120
|
-
[routerLink]="column.routerLink ? column.routerLink(data.row) : undefined"
|
|
121
|
-
[innerHTML]="truncate(column.valueGetter(data.row, rowIndex))"
|
|
122
|
-
[attr.title]="
|
|
123
|
-
column.valueGetter(data.row, rowIndex).length > maximumColumnLength
|
|
124
|
-
? column.valueGetter(data.row, rowIndex)
|
|
125
|
-
: null
|
|
126
|
-
"
|
|
127
|
-
></span>
|
|
128
|
-
}
|
|
129
|
-
</td>
|
|
130
|
-
@if (this.rowDetailButtonTemplate) {
|
|
131
|
-
<td scope="">
|
|
132
|
-
<ng-container
|
|
133
|
-
*ngTemplateOutlet="
|
|
134
|
-
this.rowDetailButtonTemplate;
|
|
135
|
-
context: { $implicit: data.row }
|
|
136
|
-
"
|
|
137
|
-
></ng-container>
|
|
138
|
-
</td>
|
|
139
|
-
}}}
|
|
140
|
-
</tr>
|
|
141
|
-
@if (this.rowDetailTemplate && data.expanded) {
|
|
142
|
-
<tr>
|
|
143
|
-
<td [attr.colspan]="tableColumns.length + 1">
|
|
144
|
-
<ng-container
|
|
145
|
-
class="w-100"
|
|
146
|
-
*ngTemplateOutlet="
|
|
147
|
-
this.rowDetailTemplate;
|
|
148
|
-
context: { $implicit: data.row }
|
|
149
|
-
"
|
|
150
|
-
></ng-container>
|
|
151
|
-
</td>
|
|
152
|
-
</tr>
|
|
153
|
-
} } @if (!tableRows.length && !loading){
|
|
154
|
-
<td [attr.colspan]="tableColumns.length">
|
|
155
|
-
<gov-empty align="center" [size]="size | govSize">
|
|
156
|
-
<gov-icon slot="icon" name="empty-file" type="colored"/>
|
|
157
|
-
<p slot="headline">
|
|
158
|
-
{{ ('TABLES.EMPTY' | translate) ?? 'No records were found!' }}
|
|
159
|
-
</p>
|
|
160
|
-
</gov-empty>
|
|
161
|
-
</td>
|
|
162
|
-
}
|
|
163
|
-
</tbody>
|
|
164
|
-
}
|
|
165
|
-
</table>
|
|
166
|
-
@if(showPaginator) {
|
|
167
|
-
<div class="v-table__paginator d-flex pt-3 pb-3">
|
|
168
|
-
@if (tableRows.length) {
|
|
169
|
-
<div class="mt-2">
|
|
170
|
-
<v-table-pagination-info
|
|
171
|
-
[showingText]="'TABLES.PAGINATION.SHOWING' | translate"
|
|
172
|
-
[toText]="'TABLES.PAGINATION.TO' | translate"
|
|
173
|
-
[ofText]="'TABLES.PAGINATION.OF' | translate"
|
|
174
|
-
[entriesText]="'TABLES.PAGINATION.ENTRIES' | translate"
|
|
175
|
-
[currentPage]="currentPage"
|
|
176
|
-
[pageSize]="pageSize"
|
|
177
|
-
[total]="total"
|
|
178
|
-
/>
|
|
179
|
-
</div>
|
|
180
|
-
<div class="ms-4">
|
|
181
|
-
<gov-form-select
|
|
182
|
-
[options]="pageSizeOptions"
|
|
183
|
-
[value]="govPageSize"
|
|
184
|
-
(gov-change)="changePageSize($event)"
|
|
185
|
-
/>
|
|
186
|
-
</div>
|
|
187
|
-
}
|
|
188
|
-
<div class="ms-4">
|
|
189
|
-
<gov-pagination
|
|
190
|
-
[current]="currentPage"
|
|
191
|
-
[pageSize]="pageSize"
|
|
192
|
-
[total]="total"
|
|
193
|
-
[type]="'button'"
|
|
194
|
-
(gov-page)="changePage($event)"
|
|
195
|
-
/>
|
|
196
|
-
</div>
|
|
197
|
-
</div>
|
|
198
|
-
}
|
|
199
|
-
</div>
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
.v-table {
|
|
2
|
-
position: relative;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.v-table__sortable {
|
|
9
|
-
transition: color 0.15s ease-in-out;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
|
|
12
|
-
&::after {
|
|
13
|
-
content: '\2191 \2193';
|
|
14
|
-
margin-left: 0.5rem;
|
|
15
|
-
text-decoration: none;
|
|
16
|
-
display: inline-block;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.v-table__sortable--asc {
|
|
21
|
-
&::after {
|
|
22
|
-
content: '\2191';
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.v-table__sortable--desc {
|
|
27
|
-
&::after {
|
|
28
|
-
content: '\2193';
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.v-table__header {
|
|
33
|
-
background-color: var(--background-block-primary);
|
|
34
|
-
position: sticky;
|
|
35
|
-
top: 0;
|
|
36
|
-
z-index: 2;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.v-table__table {
|
|
40
|
-
width: 100%;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.v-table__paginator {
|
|
44
|
-
background-color: var(--background-neutral-white);
|
|
45
|
-
justify-content: end;
|
|
46
|
-
position: sticky;
|
|
47
|
-
bottom: 0;
|
|
48
|
-
z-index: 3;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.gov-table {
|
|
52
|
-
width: 100%;
|
|
53
|
-
overflow-x: auto;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.gov-table table {
|
|
57
|
-
table-layout: auto;
|
|
58
|
-
min-width: 100%;
|
|
59
|
-
border-collapse: collapse
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.gov-table table tr.gov-table--highlight td {
|
|
63
|
-
background-color: var(--background-primary-subtle)
|
|
64
|
-
}
|
|
65
|
-
.gov-table table th,
|
|
66
|
-
|
|
67
|
-
.gov-table table td {
|
|
68
|
-
border-bottom: 1px solid var(--border-subtlest);
|
|
69
|
-
text-align: left
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.gov-table table th.gov-table--align-right,
|
|
73
|
-
.gov-table table td.gov-table--align-right {
|
|
74
|
-
text-align: right
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.gov-table table th.gov-table--vertical-align-top,
|
|
78
|
-
.gov-table table td.gov-table--vertical-align-top {
|
|
79
|
-
vertical-align: top
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.gov-table table th.gov-table--border-right,
|
|
83
|
-
.gov-table table td.gov-table--border-right {
|
|
84
|
-
border-right: 1px solid var(--border-subtlest)
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.gov-table table th.gov-table--border-left,
|
|
88
|
-
.gov-table table td.gov-table--border-left {
|
|
89
|
-
border-left: 1px solid var(--border-subtlest)
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.gov-table table th.gov-table--border-bottom-none,
|
|
93
|
-
.gov-table table td.gov-table--border-bottom-none {
|
|
94
|
-
border-bottom: none
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.gov-table table th.gov-table--nowrap,
|
|
98
|
-
.gov-table table td.gov-table--nowrap {
|
|
99
|
-
white-space: nowrap
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.gov-table table th.gov-table--fit-width,
|
|
103
|
-
.gov-table table td.gov-table--fit-width {
|
|
104
|
-
width: 1px
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.gov-table table th {
|
|
108
|
-
color: var(--text-primary);
|
|
109
|
-
background-color: var(--background-neutral-subtlest);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.gov-table table td {
|
|
113
|
-
background-color: var(--background-neutral-white)
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.gov-table table tr.open td {
|
|
117
|
-
padding: var(--spacing-s) var(--spacing-m)
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.gov-table summary::-webkit-details-marker {
|
|
121
|
-
display: none
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.gov-table[size=s] table {
|
|
125
|
-
border-bottom-left-radius: var(--corner-radius-s);
|
|
126
|
-
border-bottom-right-radius: var(--corner-radius-s)
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.gov-table[size=s] table th,
|
|
130
|
-
.gov-table[size=s] table td {
|
|
131
|
-
height: var(--height-2xl);
|
|
132
|
-
padding: 0 var(--spacing-s);
|
|
133
|
-
font-size: var(--font-size-body-s);
|
|
134
|
-
line-height: 150%;
|
|
135
|
-
font-weight: 400
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.gov-table[size=s] table th {
|
|
139
|
-
font-weight: 700
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.gov-table[size=m] table {
|
|
143
|
-
border-bottom-left-radius: var(--corner-radius-m);
|
|
144
|
-
border-bottom-right-radius: var(--corner-radius-m)
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.gov-table[size=m] table th,
|
|
148
|
-
.gov-table[size=m] table td {
|
|
149
|
-
height: var(--height-3xl);
|
|
150
|
-
padding: 0 var(--spacing-m);
|
|
151
|
-
font-size: var(--font-size-body-m);
|
|
152
|
-
line-height: 150%;
|
|
153
|
-
font-weight: 400
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.gov-table[size=m] table th {
|
|
157
|
-
font-weight: 700
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.gov-table[size=l] table {
|
|
161
|
-
border-bottom-left-radius: var(--corner-radius-l);
|
|
162
|
-
border-bottom-right-radius: var(--corner-radius-l)
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.gov-table[size=l] table th,
|
|
166
|
-
.gov-table[size=l] table td {
|
|
167
|
-
height: var(--height-4xl);
|
|
168
|
-
padding: 0 var(--spacing-l);
|
|
169
|
-
font-size: var(--font-size-body-l);
|
|
170
|
-
line-height: 150%;
|
|
171
|
-
font-weight: 400
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.gov-table[size=l] table th {
|
|
175
|
-
font-weight: 700
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.gov-table-complex__name,
|
|
179
|
-
.gov-table-complex__description {
|
|
180
|
-
margin:0;
|
|
181
|
-
color:var(--text-primary)
|
|
182
|
-
}
|
|
183
|
-
.gov-table-complex__actions {
|
|
184
|
-
color:var(--text-white-fixed);
|
|
185
|
-
background-color:var(--background-primary);
|
|
186
|
-
padding:var(--spacing-xs) var(--spacing-s)
|
|
187
|
-
}
|
|
188
|
-
.gov-table-complex__per-page {
|
|
189
|
-
width:185px;
|
|
190
|
-
white-space:nowrap
|
|
191
|
-
}
|
|
192
|
-
|