primekit 1.0.10 → 1.0.12
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/esm2022/lib/lib/atomix-alert/atomix-alert.component.mjs +76 -0
- package/esm2022/lib/lib/atomix-autocomplete/atomix-autocomplete.component.mjs +108 -0
- package/esm2022/lib/lib/atomix-button/atomix-button.component.mjs +49 -0
- package/esm2022/lib/lib/atomix-button/atomix-button.models.mjs +2 -0
- package/esm2022/lib/lib/atomix-calendar/atomix-calendar.component.mjs +90 -0
- package/esm2022/lib/lib/atomix-card/atomix-card.component.mjs +24 -0
- package/esm2022/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.mjs +28 -0
- package/esm2022/lib/lib/atomix-daterange-calendar/atomix-daterange-calendar.component.mjs +674 -0
- package/esm2022/lib/lib/atomix-divider/atomix-divider.component.mjs +27 -0
- package/esm2022/lib/lib/atomix-dropdown/atomix-dropdown.component.mjs +105 -0
- package/esm2022/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.component.mjs +38 -0
- package/esm2022/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.models.mjs +2 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-autocomplete/atomix-form-autocomplete.component.mjs +67 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-calendar/atomix-form-calendar.component.mjs +59 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-checkbox/atomix-form-checkbox.component.mjs +48 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-chips/atomix-form-chips.component.mjs +54 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-chips/form.chips.models.mjs +2 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-dropdown/atomix-form-dropdown.component.mjs +70 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-input-component/atomix-form-input-component.component.mjs +80 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-inputmask-component/atomix-form-inputmask-component.component.mjs +48 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-password-component/atomix-form-password-component.component.mjs +48 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.mjs +46 -0
- package/esm2022/lib/lib/atomix-form/atomix-form-textarea/atomix-form-textarea.component.mjs +46 -0
- package/esm2022/lib/lib/atomix-input/atomix-input.component.mjs +94 -0
- package/esm2022/lib/lib/atomix-input-switch/atomix-input-switch.component.mjs +85 -0
- package/esm2022/lib/lib/atomix-loading-overlay/atomix-loading-overlay.component.mjs +44 -0
- package/esm2022/lib/lib/atomix-messages/messages.component.mjs +33 -0
- package/esm2022/lib/lib/atomix-pagination/atomix-pagination.component.mjs +48 -0
- package/esm2022/lib/lib/atomix-radio-button/atomix-radio-button.component.mjs +50 -0
- package/esm2022/lib/lib/atomix-search-dropdown/atomix-search-dropdown.component.mjs +149 -0
- package/esm2022/lib/lib/atomix-select-button/atomix-select-button-models.mjs +2 -0
- package/esm2022/lib/lib/atomix-select-button/atomix-select-button.component.mjs +25 -0
- package/esm2022/lib/lib/atomix-snackbar/atomix-snackbar.component.mjs +29 -0
- package/esm2022/lib/lib/atomix-spinner/atomix-spinner.component.mjs +24 -0
- package/esm2022/lib/lib/atomix-steps/atomix-steps.component.mjs +41 -0
- package/esm2022/lib/lib/atomix-tabMenu/atomix-tabMenu.component.mjs +51 -0
- package/esm2022/lib/lib/atomix-table/atomix-table.component.mjs +454 -0
- package/esm2022/lib/lib/atomix-table/atomix-table.models.mjs +2 -0
- package/esm2022/lib/lib/atomix-tag/atomix-tag.component.mjs +24 -0
- package/esm2022/lib/lib/utils/prime-icons.util.mjs +10 -0
- package/esm2022/lib/primekit.component.mjs +11 -0
- package/esm2022/lib/primekit.module.mjs +322 -0
- package/esm2022/lib/primekit.service.mjs +14 -0
- package/esm2022/primekit.mjs +5 -0
- package/esm2022/public-api.mjs +44 -0
- package/fesm2022/primekit.mjs +3115 -0
- package/fesm2022/primekit.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/lib/atomix-alert/atomix-alert.component.d.ts +22 -0
- package/lib/lib/atomix-autocomplete/atomix-autocomplete.component.d.ts +34 -0
- package/lib/lib/atomix-button/atomix-button.component.d.ts +19 -0
- package/{src/lib/lib/atomix-button/atomix-button.models.ts → lib/lib/atomix-button/atomix-button.models.d.ts} +2 -2
- package/lib/lib/atomix-calendar/atomix-calendar.component.d.ts +27 -0
- package/lib/lib/atomix-card/atomix-card.component.d.ts +9 -0
- package/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.d.ts +12 -0
- package/lib/lib/atomix-daterange-calendar/atomix-daterange-calendar.component.d.ts +72 -0
- package/lib/lib/atomix-divider/atomix-divider.component.d.ts +12 -0
- package/lib/lib/atomix-dropdown/atomix-dropdown.component.d.ts +50 -0
- package/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.component.d.ts +15 -0
- package/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.models.d.ts +11 -0
- package/lib/lib/atomix-form/atomix-form-autocomplete/atomix-form-autocomplete.component.d.ts +25 -0
- package/lib/lib/atomix-form/atomix-form-calendar/atomix-form-calendar.component.d.ts +23 -0
- package/lib/lib/atomix-form/atomix-form-checkbox/atomix-form-checkbox.component.d.ts +18 -0
- package/lib/lib/atomix-form/atomix-form-chips/atomix-form-chips.component.d.ts +19 -0
- package/lib/lib/atomix-form/atomix-form-chips/form.chips.models.d.ts +5 -0
- package/lib/lib/atomix-form/atomix-form-dropdown/atomix-form-dropdown.component.d.ts +25 -0
- package/lib/lib/atomix-form/atomix-form-input-component/atomix-form-input-component.component.d.ts +28 -0
- package/lib/lib/atomix-form/atomix-form-inputmask-component/atomix-form-inputmask-component.component.d.ts +17 -0
- package/lib/lib/atomix-form/atomix-form-password-component/atomix-form-password-component.component.d.ts +17 -0
- package/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.d.ts +19 -0
- package/lib/lib/atomix-form/atomix-form-textarea/atomix-form-textarea.component.d.ts +17 -0
- package/lib/lib/atomix-input/atomix-input.component.d.ts +29 -0
- package/lib/lib/atomix-input-switch/atomix-input-switch.component.d.ts +30 -0
- package/lib/lib/atomix-loading-overlay/atomix-loading-overlay.component.d.ts +16 -0
- package/lib/lib/atomix-messages/messages.component.d.ts +13 -0
- package/lib/lib/atomix-pagination/atomix-pagination.component.d.ts +19 -0
- package/lib/lib/atomix-radio-button/atomix-radio-button.component.d.ts +15 -0
- package/lib/lib/atomix-search-dropdown/atomix-search-dropdown.component.d.ts +60 -0
- package/{src/lib/lib/atomix-select-button/atomix-select-button-models.ts → lib/lib/atomix-select-button/atomix-select-button-models.d.ts} +4 -4
- package/lib/lib/atomix-select-button/atomix-select-button.component.d.ts +12 -0
- package/lib/lib/atomix-snackbar/atomix-snackbar.component.d.ts +12 -0
- package/lib/lib/atomix-spinner/atomix-spinner.component.d.ts +9 -0
- package/lib/lib/atomix-steps/atomix-steps.component.d.ts +19 -0
- package/lib/lib/atomix-tabMenu/atomix-tabMenu.component.d.ts +19 -0
- package/lib/lib/atomix-table/atomix-table.component.d.ts +119 -0
- package/lib/lib/atomix-table/atomix-table.models.d.ts +43 -0
- package/lib/lib/atomix-tag/atomix-tag.component.d.ts +9 -0
- package/lib/lib/utils/prime-icons.util.d.ts +3 -0
- package/lib/primekit.component.d.ts +5 -0
- package/lib/primekit.module.d.ts +72 -0
- package/lib/primekit.service.d.ts +6 -0
- package/package.json +28 -12
- package/{src/public-api.ts → public-api.d.ts} +38 -47
- package/ng-package.json +0 -8
- package/src/lib/lib/atomix-alert/atomix-alert.component.css +0 -67
- package/src/lib/lib/atomix-alert/atomix-alert.component.html +0 -7
- package/src/lib/lib/atomix-alert/atomix-alert.component.spec.ts +0 -154
- package/src/lib/lib/atomix-alert/atomix-alert.component.ts +0 -75
- package/src/lib/lib/atomix-autocomplete/atomix-autocomplete.component.html +0 -35
- package/src/lib/lib/atomix-autocomplete/atomix-autocomplete.component.scss +0 -72
- package/src/lib/lib/atomix-autocomplete/atomix-autocomplete.component.spec.ts +0 -210
- package/src/lib/lib/atomix-autocomplete/atomix-autocomplete.component.ts +0 -70
- package/src/lib/lib/atomix-button/atomix-button.component.css +0 -70
- package/src/lib/lib/atomix-button/atomix-button.component.html +0 -20
- package/src/lib/lib/atomix-button/atomix-button.component.spec.ts +0 -135
- package/src/lib/lib/atomix-button/atomix-button.component.ts +0 -28
- package/src/lib/lib/atomix-calendar/atomix-calendar.component.css +0 -5
- package/src/lib/lib/atomix-calendar/atomix-calendar.component.html +0 -20
- package/src/lib/lib/atomix-calendar/atomix-calendar.component.spec.ts +0 -145
- package/src/lib/lib/atomix-calendar/atomix-calendar.component.ts +0 -71
- package/src/lib/lib/atomix-card/atomix-card.component.css +0 -4
- package/src/lib/lib/atomix-card/atomix-card.component.html +0 -3
- package/src/lib/lib/atomix-card/atomix-card.component.spec.ts +0 -63
- package/src/lib/lib/atomix-card/atomix-card.component.ts +0 -13
- package/src/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.css +0 -12
- package/src/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.html +0 -9
- package/src/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.spec.ts +0 -63
- package/src/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.ts +0 -22
- package/src/lib/lib/atomix-daterange-calendar/atomix-daterange-calendar.component.html +0 -233
- package/src/lib/lib/atomix-daterange-calendar/atomix-daterange-calendar.component.scss +0 -266
- package/src/lib/lib/atomix-daterange-calendar/atomix-daterange-calendar.component.spec.ts +0 -1465
- package/src/lib/lib/atomix-daterange-calendar/atomix-daterange-calendar.component.ts +0 -717
- package/src/lib/lib/atomix-divider/atomix-divider.component.css +0 -0
- package/src/lib/lib/atomix-divider/atomix-divider.component.html +0 -7
- package/src/lib/lib/atomix-divider/atomix-divider.component.spec.ts +0 -91
- package/src/lib/lib/atomix-divider/atomix-divider.component.ts +0 -17
- package/src/lib/lib/atomix-dropdown/atomix-dropdown.component.css +0 -25
- package/src/lib/lib/atomix-dropdown/atomix-dropdown.component.html +0 -37
- package/src/lib/lib/atomix-dropdown/atomix-dropdown.component.spec.ts +0 -178
- package/src/lib/lib/atomix-dropdown/atomix-dropdown.component.ts +0 -89
- package/src/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.component.css +0 -0
- package/src/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.component.html +0 -0
- package/src/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.component.spec.ts +0 -128
- package/src/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.component.ts +0 -42
- package/src/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.models.ts +0 -12
- package/src/lib/lib/atomix-form/atomix-form-autocomplete/atomix-form-autocomplete.component.html +0 -20
- package/src/lib/lib/atomix-form/atomix-form-autocomplete/atomix-form-autocomplete.component.scss +0 -7
- package/src/lib/lib/atomix-form/atomix-form-autocomplete/atomix-form-autocomplete.component.spec.ts +0 -169
- package/src/lib/lib/atomix-form/atomix-form-autocomplete/atomix-form-autocomplete.component.ts +0 -41
- package/src/lib/lib/atomix-form/atomix-form-calendar/atomix-form-calendar.component.html +0 -21
- package/src/lib/lib/atomix-form/atomix-form-calendar/atomix-form-calendar.component.scss +0 -7
- package/src/lib/lib/atomix-form/atomix-form-calendar/atomix-form-calendar.component.spec.ts +0 -142
- package/src/lib/lib/atomix-form/atomix-form-calendar/atomix-form-calendar.component.ts +0 -32
- package/src/lib/lib/atomix-form/atomix-form-checkbox/atomix-form-checkbox.component.html +0 -13
- package/src/lib/lib/atomix-form/atomix-form-checkbox/atomix-form-checkbox.component.scss +0 -14
- package/src/lib/lib/atomix-form/atomix-form-checkbox/atomix-form-checkbox.component.spec.ts +0 -112
- package/src/lib/lib/atomix-form/atomix-form-checkbox/atomix-form-checkbox.component.ts +0 -28
- package/src/lib/lib/atomix-form/atomix-form-chips/atomix-form-chips.component.html +0 -20
- package/src/lib/lib/atomix-form/atomix-form-chips/atomix-form-chips.component.scss +0 -3
- package/src/lib/lib/atomix-form/atomix-form-chips/atomix-form-chips.component.spec.ts +0 -153
- package/src/lib/lib/atomix-form/atomix-form-chips/atomix-form-chips.component.ts +0 -28
- package/src/lib/lib/atomix-form/atomix-form-chips/form.chips.models.ts +0 -5
- package/src/lib/lib/atomix-form/atomix-form-dropdown/atomix-form-dropdown.component.html +0 -24
- package/src/lib/lib/atomix-form/atomix-form-dropdown/atomix-form-dropdown.component.scss +0 -15
- package/src/lib/lib/atomix-form/atomix-form-dropdown/atomix-form-dropdown.component.spec.ts +0 -156
- package/src/lib/lib/atomix-form/atomix-form-dropdown/atomix-form-dropdown.component.ts +0 -36
- package/src/lib/lib/atomix-form/atomix-form-input-component/atomix-form-input-component.component.html +0 -33
- package/src/lib/lib/atomix-form/atomix-form-input-component/atomix-form-input-component.component.scss +0 -32
- package/src/lib/lib/atomix-form/atomix-form-input-component/atomix-form-input-component.component.spec.ts +0 -156
- package/src/lib/lib/atomix-form/atomix-form-input-component/atomix-form-input-component.component.ts +0 -42
- package/src/lib/lib/atomix-form/atomix-form-inputmask-component/atomix-form-inputmask-component.component.html +0 -14
- package/src/lib/lib/atomix-form/atomix-form-inputmask-component/atomix-form-inputmask-component.component.scss +0 -0
- package/src/lib/lib/atomix-form/atomix-form-inputmask-component/atomix-form-inputmask-component.component.spec.ts +0 -104
- package/src/lib/lib/atomix-form/atomix-form-inputmask-component/atomix-form-inputmask-component.component.ts +0 -24
- package/src/lib/lib/atomix-form/atomix-form-password-component/atomix-form-password-component.component.html +0 -16
- package/src/lib/lib/atomix-form/atomix-form-password-component/atomix-form-password-component.component.scss +0 -0
- package/src/lib/lib/atomix-form/atomix-form-password-component/atomix-form-password-component.component.spec.ts +0 -92
- package/src/lib/lib/atomix-form/atomix-form-password-component/atomix-form-password-component.component.ts +0 -24
- package/src/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.html +0 -23
- package/src/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.scss +0 -3
- package/src/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.spec.ts +0 -126
- package/src/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.ts +0 -26
- package/src/lib/lib/atomix-form/atomix-form-textarea/atomix-form-textarea.component.html +0 -17
- package/src/lib/lib/atomix-form/atomix-form-textarea/atomix-form-textarea.component.scss +0 -6
- package/src/lib/lib/atomix-form/atomix-form-textarea/atomix-form-textarea.component.spec.ts +0 -120
- package/src/lib/lib/atomix-form/atomix-form-textarea/atomix-form-textarea.component.ts +0 -24
- package/src/lib/lib/atomix-input/atomix-input.component.css +0 -52
- package/src/lib/lib/atomix-input/atomix-input.component.html +0 -45
- package/src/lib/lib/atomix-input/atomix-input.component.spec.ts +0 -229
- package/src/lib/lib/atomix-input/atomix-input.component.ts +0 -64
- package/src/lib/lib/atomix-input-switch/atomix-input-switch.component.css +0 -12
- package/src/lib/lib/atomix-input-switch/atomix-input-switch.component.html +0 -17
- package/src/lib/lib/atomix-input-switch/atomix-input-switch.component.spec.ts +0 -173
- package/src/lib/lib/atomix-input-switch/atomix-input-switch.component.ts +0 -62
- package/src/lib/lib/atomix-loading-overlay/atomix-loading-overlay.component.html +0 -47
- package/src/lib/lib/atomix-loading-overlay/atomix-loading-overlay.component.scss +0 -14
- package/src/lib/lib/atomix-loading-overlay/atomix-loading-overlay.component.spec.ts +0 -21
- package/src/lib/lib/atomix-loading-overlay/atomix-loading-overlay.component.ts +0 -25
- package/src/lib/lib/atomix-messages/messages.component.css +0 -0
- package/src/lib/lib/atomix-messages/messages.component.html +0 -9
- package/src/lib/lib/atomix-messages/messages.component.spec.ts +0 -115
- package/src/lib/lib/atomix-messages/messages.component.ts +0 -17
- package/src/lib/lib/atomix-pagination/atomix-pagination.component.css +0 -19
- package/src/lib/lib/atomix-pagination/atomix-pagination.component.html +0 -24
- package/src/lib/lib/atomix-pagination/atomix-pagination.component.spec.ts +0 -98
- package/src/lib/lib/atomix-pagination/atomix-pagination.component.ts +0 -36
- package/src/lib/lib/atomix-radio-button/atomix-radio-button.component.css +0 -0
- package/src/lib/lib/atomix-radio-button/atomix-radio-button.component.html +0 -7
- package/src/lib/lib/atomix-radio-button/atomix-radio-button.component.spec.ts +0 -116
- package/src/lib/lib/atomix-radio-button/atomix-radio-button.component.ts +0 -37
- package/src/lib/lib/atomix-search-dropdown/atomix-search-dropdown.component.css +0 -49
- package/src/lib/lib/atomix-search-dropdown/atomix-search-dropdown.component.html +0 -68
- package/src/lib/lib/atomix-search-dropdown/atomix-search-dropdown.component.spec.ts +0 -282
- package/src/lib/lib/atomix-search-dropdown/atomix-search-dropdown.component.ts +0 -119
- package/src/lib/lib/atomix-select-button/atomix-select-button.component.css +0 -5
- package/src/lib/lib/atomix-select-button/atomix-select-button.component.html +0 -7
- package/src/lib/lib/atomix-select-button/atomix-select-button.component.spec.ts +0 -73
- package/src/lib/lib/atomix-select-button/atomix-select-button.component.ts +0 -19
- package/src/lib/lib/atomix-snackbar/atomix-snackbar.component.css +0 -30
- package/src/lib/lib/atomix-snackbar/atomix-snackbar.component.html +0 -4
- package/src/lib/lib/atomix-snackbar/atomix-snackbar.component.spec.ts +0 -60
- package/src/lib/lib/atomix-snackbar/atomix-snackbar.component.ts +0 -27
- package/src/lib/lib/atomix-spinner/atomix-spinner.component.css +0 -0
- package/src/lib/lib/atomix-spinner/atomix-spinner.component.html +0 -7
- package/src/lib/lib/atomix-spinner/atomix-spinner.component.spec.ts +0 -70
- package/src/lib/lib/atomix-spinner/atomix-spinner.component.ts +0 -13
- package/src/lib/lib/atomix-steps/atomix-steps.component.html +0 -9
- package/src/lib/lib/atomix-steps/atomix-steps.component.scss +0 -0
- package/src/lib/lib/atomix-steps/atomix-steps.component.spec.ts +0 -120
- package/src/lib/lib/atomix-steps/atomix-steps.component.ts +0 -32
- package/src/lib/lib/atomix-tabMenu/atomix-tabMenu.component.css +0 -0
- package/src/lib/lib/atomix-tabMenu/atomix-tabMenu.component.html +0 -26
- package/src/lib/lib/atomix-tabMenu/atomix-tabMenu.component.spec.ts +0 -106
- package/src/lib/lib/atomix-tabMenu/atomix-tabMenu.component.ts +0 -36
- package/src/lib/lib/atomix-table/atomix-table.component.css +0 -152
- package/src/lib/lib/atomix-table/atomix-table.component.html +0 -647
- package/src/lib/lib/atomix-table/atomix-table.component.spec.ts +0 -1648
- package/src/lib/lib/atomix-table/atomix-table.component.ts +0 -422
- package/src/lib/lib/atomix-table/atomix-table.models.ts +0 -39
- package/src/lib/lib/atomix-tag/atomix-tag.component.css +0 -0
- package/src/lib/lib/atomix-tag/atomix-tag.component.html +0 -6
- package/src/lib/lib/atomix-tag/atomix-tag.component.spec.ts +0 -47
- package/src/lib/lib/atomix-tag/atomix-tag.component.ts +0 -13
- package/src/lib/lib/utils/prime-icons.util.spec.ts +0 -21
- package/src/lib/lib/utils/prime-icons.util.ts +0 -11
- package/src/lib/primekit.component.spec.ts +0 -19
- package/src/lib/primekit.component.ts +0 -10
- package/src/lib/primekit.module.spec.ts +0 -155
- package/src/lib/primekit.module.ts +0 -183
- package/src/lib/primekit.service.spec.ts +0 -17
- package/src/lib/primekit.service.ts +0 -8
- package/tsconfig.lib.json +0 -13
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -10
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'atomix-snackbar',
|
|
5
|
-
templateUrl: './atomix-snackbar.component.html',
|
|
6
|
-
styleUrls: ['./atomix-snackbar.component.css'],
|
|
7
|
-
})
|
|
8
|
-
export class AtomixSnackbarComponent {
|
|
9
|
-
constructor(private cdr: ChangeDetectorRef) {}
|
|
10
|
-
|
|
11
|
-
isVisible = false;
|
|
12
|
-
message = '';
|
|
13
|
-
|
|
14
|
-
showSnackbar(message: string) {
|
|
15
|
-
this.message = message;
|
|
16
|
-
this.isVisible = true;
|
|
17
|
-
this.cdr.detectChanges();
|
|
18
|
-
|
|
19
|
-
setTimeout(() => {
|
|
20
|
-
this.isVisible = false;
|
|
21
|
-
}, 3000);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
hideSnackbar() {
|
|
25
|
-
this.isVisible = false;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
File without changes
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
3
|
-
import { AtomixSpinnerComponent } from './atomix-spinner.component';
|
|
4
|
-
|
|
5
|
-
describe('AtomixSpinnerComponent', () => {
|
|
6
|
-
let component: AtomixSpinnerComponent;
|
|
7
|
-
let fixture: ComponentFixture<AtomixSpinnerComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(() => {
|
|
10
|
-
TestBed.configureTestingModule({
|
|
11
|
-
declarations: [AtomixSpinnerComponent],
|
|
12
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
13
|
-
});
|
|
14
|
-
fixture = TestBed.createComponent(AtomixSpinnerComponent);
|
|
15
|
-
component = fixture.componentInstance;
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('should create', () => {
|
|
19
|
-
expect(component).toBeTruthy();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
describe('rendering', () => {
|
|
23
|
-
it('should render the p-progressSpinner element', () => {
|
|
24
|
-
fixture.detectChanges();
|
|
25
|
-
const compiled = fixture.nativeElement as HTMLElement;
|
|
26
|
-
const spinner = compiled.querySelector('p-progressSpinner');
|
|
27
|
-
expect(spinner).toBeTruthy();
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
it('should have default animationDuration of 2s', () => {
|
|
31
|
-
expect(component.animationDuration).toBe('2s');
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
it('should accept animationDuration input', () => {
|
|
35
|
-
component.animationDuration = '1s';
|
|
36
|
-
fixture.detectChanges();
|
|
37
|
-
expect(component.animationDuration).toBe('1s');
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
it('should have default styleClass as empty string', () => {
|
|
41
|
-
expect(component.styleClass).toBe('');
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
it('should accept styleClass input', () => {
|
|
45
|
-
component.styleClass = 'custom-spinner';
|
|
46
|
-
fixture.detectChanges();
|
|
47
|
-
expect(component.styleClass).toBe('custom-spinner');
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
it('should have default strokeWidth of 2', () => {
|
|
51
|
-
expect(component.strokeWidth).toBe('2');
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
it('should accept strokeWidth input', () => {
|
|
55
|
-
component.strokeWidth = '4';
|
|
56
|
-
fixture.detectChanges();
|
|
57
|
-
expect(component.strokeWidth).toBe('4');
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
it('should have default fill as none', () => {
|
|
61
|
-
expect(component.fill).toBe('none');
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
it('should accept fill input', () => {
|
|
65
|
-
component.fill = 'blue';
|
|
66
|
-
fixture.detectChanges();
|
|
67
|
-
expect(component.fill).toBe('blue');
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'atomix-spinner',
|
|
5
|
-
templateUrl: './atomix-spinner.component.html',
|
|
6
|
-
styleUrls: ['./atomix-spinner.component.css'],
|
|
7
|
-
})
|
|
8
|
-
export class AtomixSpinnerComponent {
|
|
9
|
-
@Input() animationDuration: string = '2s';
|
|
10
|
-
@Input() styleClass: string = '';
|
|
11
|
-
@Input() strokeWidth: string = '2';
|
|
12
|
-
@Input() fill: string = 'none';
|
|
13
|
-
}
|
|
File without changes
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
3
|
-
import { AtomixStepsComponent } from './atomix-steps.component';
|
|
4
|
-
|
|
5
|
-
describe('AtomixStepsComponent', () => {
|
|
6
|
-
let component: AtomixStepsComponent;
|
|
7
|
-
let fixture: ComponentFixture<AtomixStepsComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(() => {
|
|
10
|
-
TestBed.configureTestingModule({
|
|
11
|
-
declarations: [AtomixStepsComponent],
|
|
12
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
13
|
-
});
|
|
14
|
-
fixture = TestBed.createComponent(AtomixStepsComponent);
|
|
15
|
-
component = fixture.componentInstance;
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('should create', () => {
|
|
19
|
-
expect(component).toBeTruthy();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
describe('input bindings', () => {
|
|
23
|
-
it('should have default activeIndex as 0', () => {
|
|
24
|
-
expect(component.activeIndex).toBe(0);
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
it('should have default model as empty array', () => {
|
|
28
|
-
expect(component.model).toEqual([]);
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
it('should have default readonly as true', () => {
|
|
32
|
-
expect(component.readonly).toBe(true);
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
it('should have default exact as true', () => {
|
|
36
|
-
expect(component.exact).toBe(true);
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
it('should accept model input with step items', () => {
|
|
40
|
-
const steps = [
|
|
41
|
-
{ label: 'Step 1' },
|
|
42
|
-
{ label: 'Step 2' },
|
|
43
|
-
{ label: 'Step 3' },
|
|
44
|
-
];
|
|
45
|
-
component.model = steps;
|
|
46
|
-
fixture.detectChanges();
|
|
47
|
-
expect(component.model).toEqual(steps);
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
it('should accept activeIndex input', () => {
|
|
51
|
-
component.activeIndex = 2;
|
|
52
|
-
fixture.detectChanges();
|
|
53
|
-
expect(component.activeIndex).toBe(2);
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
it('should accept readonly input', () => {
|
|
57
|
-
component.readonly = false;
|
|
58
|
-
fixture.detectChanges();
|
|
59
|
-
expect(component.readonly).toBe(false);
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
it('should accept exact input', () => {
|
|
63
|
-
component.exact = false;
|
|
64
|
-
fixture.detectChanges();
|
|
65
|
-
expect(component.exact).toBe(false);
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
it('should accept style input', () => {
|
|
69
|
-
const style = { width: '100%' };
|
|
70
|
-
component.style = style;
|
|
71
|
-
fixture.detectChanges();
|
|
72
|
-
expect(component.style).toEqual(style);
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
it('should accept styleClass input', () => {
|
|
76
|
-
component.styleClass = 'custom-steps';
|
|
77
|
-
fixture.detectChanges();
|
|
78
|
-
expect(component.styleClass).toBe('custom-steps');
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
describe('active index tracking', () => {
|
|
83
|
-
it('should update activeIndex when onIndexChange is called', () => {
|
|
84
|
-
component.model = [{ label: 'Step 1' }, { label: 'Step 2' }];
|
|
85
|
-
component.onIndexChange(1);
|
|
86
|
-
expect(component.activeIndex).toBe(1);
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
it('should emit activeIndexChange when onIndexChange is called', () => {
|
|
90
|
-
const emitSpy = jest.fn();
|
|
91
|
-
component.activeIndexChange.subscribe(emitSpy);
|
|
92
|
-
component.model = [{ label: 'Step 1' }, { label: 'Step 2' }];
|
|
93
|
-
|
|
94
|
-
component.onIndexChange(1);
|
|
95
|
-
|
|
96
|
-
expect(emitSpy).toHaveBeenCalledWith(1);
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
it('should emit stepChange with index and item when onIndexChange is called', () => {
|
|
100
|
-
const emitSpy = jest.fn();
|
|
101
|
-
component.stepChange.subscribe(emitSpy);
|
|
102
|
-
const steps = [{ label: 'Step 1' }, { label: 'Step 2' }];
|
|
103
|
-
component.model = steps;
|
|
104
|
-
|
|
105
|
-
component.onIndexChange(1);
|
|
106
|
-
|
|
107
|
-
expect(emitSpy).toHaveBeenCalledWith({ index: 1, item: steps[1] });
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
it('should emit stepChange with undefined item when model is empty', () => {
|
|
111
|
-
const emitSpy = jest.fn();
|
|
112
|
-
component.stepChange.subscribe(emitSpy);
|
|
113
|
-
component.model = [];
|
|
114
|
-
|
|
115
|
-
component.onIndexChange(0);
|
|
116
|
-
|
|
117
|
-
expect(emitSpy).toHaveBeenCalledWith({ index: 0, item: undefined });
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
EventEmitter,
|
|
4
|
-
Input,
|
|
5
|
-
Output,
|
|
6
|
-
ChangeDetectionStrategy,
|
|
7
|
-
} from '@angular/core';
|
|
8
|
-
import { MenuItem } from 'primeng/api';
|
|
9
|
-
|
|
10
|
-
@Component({
|
|
11
|
-
selector: 'atomix-steps',
|
|
12
|
-
templateUrl: './atomix-steps.component.html',
|
|
13
|
-
styleUrls: ['./atomix-steps.component.scss'],
|
|
14
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
15
|
-
})
|
|
16
|
-
export class AtomixStepsComponent {
|
|
17
|
-
@Input() activeIndex = 0;
|
|
18
|
-
@Input() model: MenuItem[] = [];
|
|
19
|
-
@Input() readonly = true;
|
|
20
|
-
@Input() exact = true;
|
|
21
|
-
@Input() style: any;
|
|
22
|
-
@Input() styleClass?: string;
|
|
23
|
-
|
|
24
|
-
@Output() activeIndexChange = new EventEmitter<number>();
|
|
25
|
-
@Output() stepChange = new EventEmitter<{ index: number; item?: MenuItem }>();
|
|
26
|
-
|
|
27
|
-
onIndexChange(index: number) {
|
|
28
|
-
this.activeIndex = index;
|
|
29
|
-
this.activeIndexChange.emit(index);
|
|
30
|
-
this.stepChange.emit({ index, item: this.model?.[index] });
|
|
31
|
-
}
|
|
32
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<p-tabMenu
|
|
2
|
-
[model]="model"
|
|
3
|
-
[(activeItem)]="activeItem"
|
|
4
|
-
[scrollable]="scrollable"
|
|
5
|
-
[style]="style"
|
|
6
|
-
[styleClass]="styleClass"
|
|
7
|
-
[ariaLabel]="ariaLabel"
|
|
8
|
-
[ariaLabelledBy]="ariaLabelledBy"
|
|
9
|
-
(activeItemChange)="onTabChange($event)"
|
|
10
|
-
>
|
|
11
|
-
<ng-template pTemplate="item" let-item let-i="index">
|
|
12
|
-
<ng-container *ngIf="itemTemplate">
|
|
13
|
-
<ng-container
|
|
14
|
-
*ngTemplateOutlet="itemTemplate; context: { $implicit: item, index: i }"
|
|
15
|
-
></ng-container>
|
|
16
|
-
</ng-container>
|
|
17
|
-
</ng-template>
|
|
18
|
-
|
|
19
|
-
<ng-template pTemplate="nexticon" *ngIf="nextIconTemplate">
|
|
20
|
-
<ng-container *ngTemplateOutlet="nextIconTemplate"></ng-container>
|
|
21
|
-
</ng-template>
|
|
22
|
-
|
|
23
|
-
<ng-template pTemplate="previousicon" *ngIf="previousIconTemplate">
|
|
24
|
-
<ng-container *ngTemplateOutlet="previousIconTemplate"></ng-container>
|
|
25
|
-
</ng-template>
|
|
26
|
-
</p-tabMenu>
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
3
|
-
import { AtomixTabMenuComponent } from './atomix-tabMenu.component';
|
|
4
|
-
|
|
5
|
-
describe('AtomixTabMenuComponent', () => {
|
|
6
|
-
let component: AtomixTabMenuComponent;
|
|
7
|
-
let fixture: ComponentFixture<AtomixTabMenuComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(() => {
|
|
10
|
-
TestBed.configureTestingModule({
|
|
11
|
-
declarations: [AtomixTabMenuComponent],
|
|
12
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
13
|
-
});
|
|
14
|
-
fixture = TestBed.createComponent(AtomixTabMenuComponent);
|
|
15
|
-
component = fixture.componentInstance;
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('should create', () => {
|
|
19
|
-
expect(component).toBeTruthy();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
describe('input bindings', () => {
|
|
23
|
-
it('should have default model as empty array', () => {
|
|
24
|
-
expect(component.model).toEqual([]);
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
it('should have default scrollable as false', () => {
|
|
28
|
-
expect(component.scrollable).toBe(false);
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
it('should accept model input with menu items', () => {
|
|
32
|
-
const items = [
|
|
33
|
-
{ label: 'Tab 1', icon: 'pi pi-home' },
|
|
34
|
-
{ label: 'Tab 2', icon: 'pi pi-user' },
|
|
35
|
-
{ label: 'Tab 3', icon: 'pi pi-cog' },
|
|
36
|
-
];
|
|
37
|
-
component.model = items;
|
|
38
|
-
fixture.detectChanges();
|
|
39
|
-
expect(component.model).toEqual(items);
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
it('should accept activeItem input', () => {
|
|
43
|
-
const item = { label: 'Tab 1' };
|
|
44
|
-
component.activeItem = item;
|
|
45
|
-
fixture.detectChanges();
|
|
46
|
-
expect(component.activeItem).toEqual(item);
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
it('should accept scrollable input', () => {
|
|
50
|
-
component.scrollable = true;
|
|
51
|
-
fixture.detectChanges();
|
|
52
|
-
expect(component.scrollable).toBe(true);
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
it('should accept style input', () => {
|
|
56
|
-
const style = { width: '100%' };
|
|
57
|
-
component.style = style;
|
|
58
|
-
fixture.detectChanges();
|
|
59
|
-
expect(component.style).toEqual(style);
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
it('should accept styleClass input', () => {
|
|
63
|
-
component.styleClass = 'custom-tab-menu';
|
|
64
|
-
fixture.detectChanges();
|
|
65
|
-
expect(component.styleClass).toBe('custom-tab-menu');
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
it('should accept ariaLabel input', () => {
|
|
69
|
-
component.ariaLabel = 'Navigation tabs';
|
|
70
|
-
fixture.detectChanges();
|
|
71
|
-
expect(component.ariaLabel).toBe('Navigation tabs');
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
it('should accept ariaLabelledBy input', () => {
|
|
75
|
-
component.ariaLabelledBy = 'tab-heading';
|
|
76
|
-
fixture.detectChanges();
|
|
77
|
-
expect(component.ariaLabelledBy).toBe('tab-heading');
|
|
78
|
-
});
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
describe('selection event emission', () => {
|
|
82
|
-
it('should emit activeItemChange when onTabChange is called', () => {
|
|
83
|
-
const emitSpy = jest.fn();
|
|
84
|
-
component.activeItemChange.subscribe(emitSpy);
|
|
85
|
-
const selectedItem = { label: 'Tab 2' };
|
|
86
|
-
|
|
87
|
-
component.onTabChange(selectedItem);
|
|
88
|
-
|
|
89
|
-
expect(emitSpy).toHaveBeenCalledWith(selectedItem);
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
it('should emit activeItemChange with the correct menu item', () => {
|
|
93
|
-
const emitSpy = jest.fn();
|
|
94
|
-
component.activeItemChange.subscribe(emitSpy);
|
|
95
|
-
const items = [
|
|
96
|
-
{ label: 'Tab 1', icon: 'pi pi-home' },
|
|
97
|
-
{ label: 'Tab 2', icon: 'pi pi-user' },
|
|
98
|
-
];
|
|
99
|
-
component.model = items;
|
|
100
|
-
|
|
101
|
-
component.onTabChange(items[1]);
|
|
102
|
-
|
|
103
|
-
expect(emitSpy).toHaveBeenCalledWith(items[1]);
|
|
104
|
-
});
|
|
105
|
-
});
|
|
106
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
Input,
|
|
4
|
-
Output,
|
|
5
|
-
EventEmitter,
|
|
6
|
-
TemplateRef,
|
|
7
|
-
ContentChild,
|
|
8
|
-
} from '@angular/core';
|
|
9
|
-
import { MenuItem } from 'primeng/api';
|
|
10
|
-
|
|
11
|
-
@Component({
|
|
12
|
-
selector: 'atomix-tabMenu',
|
|
13
|
-
templateUrl: './atomix-tabMenu.component.html',
|
|
14
|
-
styleUrls: ['./atomix-tabMenu.component.css'],
|
|
15
|
-
})
|
|
16
|
-
export class AtomixTabMenuComponent {
|
|
17
|
-
@Input() model: MenuItem[] = [];
|
|
18
|
-
@Input() activeItem?: MenuItem;
|
|
19
|
-
@Input() scrollable: boolean = false;
|
|
20
|
-
@Input() style?: any;
|
|
21
|
-
@Input() styleClass?: string;
|
|
22
|
-
@Input() ariaLabel?: string;
|
|
23
|
-
@Input() ariaLabelledBy?: string;
|
|
24
|
-
|
|
25
|
-
@Input() nextIconTemplate?: TemplateRef<any>;
|
|
26
|
-
@Input() previousIconTemplate?: TemplateRef<any>;
|
|
27
|
-
|
|
28
|
-
@ContentChild(TemplateRef) itemTemplate?: TemplateRef<any>;
|
|
29
|
-
|
|
30
|
-
@Output() activeItemChange: EventEmitter<MenuItem> =
|
|
31
|
-
new EventEmitter<MenuItem>();
|
|
32
|
-
|
|
33
|
-
onTabChange(event: any) {
|
|
34
|
-
this.activeItemChange.emit(event);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
@import 'primeicons/primeicons.css';
|
|
2
|
-
|
|
3
|
-
.caption {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
margin-left: 1rem;
|
|
8
|
-
.left-caption-options {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: row;
|
|
11
|
-
align-items: center;
|
|
12
|
-
width: 150%;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
|
|
15
|
-
.select-all-checkbox {
|
|
16
|
-
display: flex;
|
|
17
|
-
.checkbox-typography {
|
|
18
|
-
margin-left: 0.75em;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.table-sort-icon {
|
|
25
|
-
opacity: 0;
|
|
26
|
-
transition: opacity 0.2s;
|
|
27
|
-
margin-left: 0.8rem;
|
|
28
|
-
cursor: pointer !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.icon-container:hover .inactive-sort-column.sort-icon {
|
|
32
|
-
opacity: 1;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.active-sort-column.sort-icon {
|
|
36
|
-
opacity: 1;
|
|
37
|
-
font-weight: 600;
|
|
38
|
-
font-size: 12px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.inactive-sort-column {
|
|
42
|
-
color: #c7cbd3;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.pagination-container {
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: flex-end;
|
|
49
|
-
padding-right: 1rem;
|
|
50
|
-
|
|
51
|
-
.p-inputwrapper {
|
|
52
|
-
width: auto;
|
|
53
|
-
max-width: 7rem;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
::ng-deep .pagination-dropdown {
|
|
58
|
-
border-radius: 30px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.header-content {
|
|
62
|
-
color: #374151;
|
|
63
|
-
font-weight: 600;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.empty-table-container {
|
|
67
|
-
padding: 2rem;
|
|
68
|
-
text-align: center;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.empty-table-content {
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
align-items: center;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
padding: 2rem;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.empty-table-image {
|
|
80
|
-
max-width: 200px;
|
|
81
|
-
margin-bottom: 1rem;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.empty-table-message {
|
|
85
|
-
font-size: 1rem;
|
|
86
|
-
color: #6b7280;
|
|
87
|
-
font-weight: 500;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
::ng-deep .lib-table-header-checkbox {
|
|
91
|
-
margin-left: 0.5rem;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
:host ::ng-deep .p-column-filter-menu-button.p-column-filter-menu-button-active,
|
|
95
|
-
.p-column-filter-menu-button.p-column-filter-menu-button-active:hover {
|
|
96
|
-
background-color: #e5f4ec !important;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
:host ::ng-deep .p-column-filter-menu-button.p-column-filter-menu-button-active,
|
|
100
|
-
.p-column-filter-menu-button.p-column-filter-menu-button-active:hover {
|
|
101
|
-
color: #63b77e !important;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.child-row-header {
|
|
105
|
-
background: var(--child-row-header-bg);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.child-row-header > td {
|
|
109
|
-
height: 40px;
|
|
110
|
-
padding: 0.5rem 1rem;
|
|
111
|
-
font-weight: 500;
|
|
112
|
-
color: var(--primary-text-color);
|
|
113
|
-
font-size: 12px;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
::ng-deep .p-progressbar {
|
|
117
|
-
height: 13px;
|
|
118
|
-
border-radius: 13px;
|
|
119
|
-
}
|
|
120
|
-
.progress-container {
|
|
121
|
-
display: flex;
|
|
122
|
-
align-items: center;
|
|
123
|
-
justify-content: flex-start;
|
|
124
|
-
width: 100%;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.progress-bar-wrapper {
|
|
128
|
-
position: relative;
|
|
129
|
-
width: 150px;
|
|
130
|
-
display: flex;
|
|
131
|
-
align-items: center;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.progress-bar-wrapper p-progressbar {
|
|
135
|
-
width: 100%;
|
|
136
|
-
flex: 1;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.progress-text-overlay {
|
|
140
|
-
position: absolute;
|
|
141
|
-
left: 50%;
|
|
142
|
-
top: 50%;
|
|
143
|
-
transform: translate(-50%, -50%);
|
|
144
|
-
font-size: 0.875rem;
|
|
145
|
-
font-weight: 600;
|
|
146
|
-
color: #374151;
|
|
147
|
-
white-space: nowrap;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
::ng-deep .p-column-filter-buttonbar {
|
|
151
|
-
gap: 20px !important;
|
|
152
|
-
}
|