@verisoft/ui-primeng 18.5.0 → 18.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/index.mjs +30 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +31 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.pipe.mjs +17 -0
- package/esm2022/lib/components/breadcrumb/index.mjs +2 -0
- package/esm2022/lib/components/button/button.component.mjs +61 -0
- package/esm2022/lib/components/button/index.mjs +2 -0
- package/esm2022/lib/components/calendar/calendar.component.mjs +73 -0
- package/esm2022/lib/components/calendar/index.mjs +2 -0
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +47 -0
- package/esm2022/lib/components/checkbox/index.mjs +2 -0
- package/esm2022/lib/components/confirm-dialog/confirm-dialog.component.mjs +65 -0
- package/esm2022/lib/components/confirm-dialog/index.mjs +2 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +139 -0
- package/esm2022/lib/components/dropdown/index.mjs +2 -0
- package/esm2022/lib/components/errors/error.component.mjs +41 -0
- package/esm2022/lib/components/errors/index.mjs +2 -0
- package/esm2022/lib/components/form-field/form-field.component.mjs +41 -0
- package/esm2022/lib/components/form-field/index.mjs +2 -0
- package/esm2022/lib/components/header/header.component.mjs +58 -0
- package/esm2022/lib/components/header/index.mjs +3 -0
- package/esm2022/lib/components/header/services/header-provider.service.mjs +24 -0
- package/esm2022/lib/components/input-group/index.mjs +2 -0
- package/esm2022/lib/components/input-group/input-group.component.mjs +57 -0
- package/esm2022/lib/components/loader/index.mjs +2 -0
- package/esm2022/lib/components/loader/loader.component.mjs +19 -0
- package/esm2022/lib/components/multiselect/index.mjs +2 -0
- package/esm2022/lib/components/multiselect/multiselect.component.mjs +124 -0
- package/esm2022/lib/components/number-input/index.mjs +2 -0
- package/esm2022/lib/components/number-input/number-input.component.mjs +64 -0
- package/esm2022/lib/components/page-header/index.mjs +2 -0
- package/esm2022/lib/components/page-header/page-header.component.mjs +28 -0
- package/esm2022/lib/components/password/index.mjs +2 -0
- package/esm2022/lib/components/password/password.component.mjs +59 -0
- package/esm2022/lib/components/radiobutton/index.mjs +2 -0
- package/esm2022/lib/components/radiobutton/radiobutton.component.mjs +57 -0
- package/esm2022/lib/components/section/index.mjs +2 -0
- package/esm2022/lib/components/section/section.component.mjs +35 -0
- package/esm2022/lib/components/shared-components/action-button-group/action-button-group.component.mjs +92 -0
- package/esm2022/lib/components/shared-components/action-button-group/components/action-button/action-button.component.mjs +60 -0
- package/esm2022/lib/components/shared-components/action-button-group/index.mjs +3 -0
- package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.mjs +90 -0
- package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component.component.mjs +41 -0
- package/esm2022/lib/components/shared-components/dynamic-component/index.mjs +3 -0
- package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-column.directive.mjs +46 -0
- package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.mjs +16 -0
- package/esm2022/lib/components/shared-components/feature-list/feature-list-filter.pipe.mjs +24 -0
- package/esm2022/lib/components/shared-components/feature-list/feature-list-page.component.mjs +42 -0
- package/esm2022/lib/components/shared-components/feature-list/feature-list-page.model.mjs +16 -0
- package/esm2022/lib/components/shared-components/feature-list/feature-list.component.mjs +275 -0
- package/esm2022/lib/components/shared-components/feature-list/index.mjs +6 -0
- package/esm2022/lib/components/shared-components/filter/directives/filter-field.directive.mjs +44 -0
- package/esm2022/lib/components/shared-components/filter/filter.component.mjs +190 -0
- package/esm2022/lib/components/shared-components/filter/filter.model.mjs +16 -0
- package/esm2022/lib/components/shared-components/filter/index.mjs +3 -0
- package/esm2022/lib/components/shared-components/generic-field/generic-field.component.mjs +93 -0
- package/esm2022/lib/components/shared-components/generic-field/index.mjs +2 -0
- package/esm2022/lib/components/shared-components/generic-form/generic-form.component.mjs +40 -0
- package/esm2022/lib/components/shared-components/generic-form/generic-form.model.mjs +50 -0
- package/esm2022/lib/components/shared-components/generic-form/index.mjs +3 -0
- package/esm2022/lib/components/shared-components/index.mjs +7 -0
- package/esm2022/lib/components/side-menu/index.mjs +3 -0
- package/esm2022/lib/components/side-menu/side-menu.component.mjs +92 -0
- package/esm2022/lib/components/side-menu/side-menu.module.mjs +74 -0
- package/esm2022/lib/components/slider/index.mjs +2 -0
- package/esm2022/lib/components/slider/slider.component.mjs +62 -0
- package/esm2022/lib/components/snackbar/index.mjs +3 -0
- package/esm2022/lib/components/snackbar/services/snackbar.service.mjs +50 -0
- package/esm2022/lib/components/snackbar/snackbar.component.mjs +33 -0
- package/esm2022/lib/components/stepper/index.mjs +2 -0
- package/esm2022/lib/components/stepper/stepper.component.mjs +48 -0
- package/esm2022/lib/components/switch/index.mjs +2 -0
- package/esm2022/lib/components/switch/switch.component.mjs +54 -0
- package/esm2022/lib/components/tab-view/index.mjs +4 -0
- package/esm2022/lib/components/tab-view/tab-menu.pipe.mjs +25 -0
- package/esm2022/lib/components/tab-view/tab-view-item.component.mjs +31 -0
- package/esm2022/lib/components/tab-view/tab-view.component.mjs +50 -0
- package/esm2022/lib/components/tab-view/tab-view.module.mjs +29 -0
- package/esm2022/lib/components/table/index.mjs +2 -0
- package/esm2022/lib/components/table/table-filter.pipe.mjs +49 -0
- package/esm2022/lib/components/table/table.component.mjs +220 -0
- package/esm2022/lib/components/table/table.models.mjs +17 -0
- package/esm2022/lib/components/textarea/index.mjs +2 -0
- package/esm2022/lib/components/textarea/textarea.component.mjs +65 -0
- package/esm2022/lib/components/textfield/index.mjs +2 -0
- package/esm2022/lib/components/textfield/textfield.component.mjs +65 -0
- package/esm2022/lib/components/tristatecheckbox/index.mjs +2 -0
- package/esm2022/lib/components/tristatecheckbox/tristatecheckbox.component.mjs +53 -0
- package/esm2022/lib/icons.mjs +35 -0
- package/esm2022/lib/interceptors/http-error-message.interceptor.mjs +31 -0
- package/esm2022/verisoft-ui-primeng.mjs +5 -0
- package/fesm2022/verisoft-ui-primeng.mjs +2909 -0
- package/fesm2022/verisoft-ui-primeng.mjs.map +1 -0
- package/{src/index.ts → index.d.ts} +29 -29
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +6 -0
- package/lib/components/breadcrumb/breadcrumb.pipe.d.ts +9 -0
- package/{src/lib/components/breadcrumb/index.ts → lib/components/breadcrumb/index.d.ts} +1 -1
- package/lib/components/button/button.component.d.ts +20 -0
- package/{src/lib/components/button/index.ts → lib/components/button/index.d.ts} +1 -1
- package/lib/components/calendar/calendar.component.d.ts +17 -0
- package/{src/lib/components/calendar/index.ts → lib/components/calendar/index.d.ts} +1 -1
- package/lib/components/checkbox/checkbox.component.d.ts +9 -0
- package/{src/lib/components/checkbox/index.ts → lib/components/checkbox/index.d.ts} +1 -1
- package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +15 -0
- package/{src/lib/components/confirm-dialog/index.ts → lib/components/confirm-dialog/index.d.ts} +1 -1
- package/lib/components/dropdown/dropdown.component.d.ts +38 -0
- package/{src/lib/components/dropdown/index.ts → lib/components/dropdown/index.d.ts} +1 -1
- package/lib/components/errors/error.component.d.ts +16 -0
- package/lib/components/errors/index.d.ts +1 -0
- package/lib/components/form-field/form-field.component.d.ts +12 -0
- package/{src/lib/components/form-field/index.ts → lib/components/form-field/index.d.ts} +1 -1
- package/lib/components/header/header.component.d.ts +23 -0
- package/{src/lib/components/header/index.ts → lib/components/header/index.d.ts} +2 -2
- package/lib/components/header/services/header-provider.service.d.ts +10 -0
- package/{src/lib/components/input-group/index.ts → lib/components/input-group/index.d.ts} +1 -1
- package/lib/components/input-group/input-group.component.d.ts +9 -0
- package/{src/lib/components/loader/index.ts → lib/components/loader/index.d.ts} +1 -1
- package/lib/components/loader/loader.component.d.ts +6 -0
- package/{src/lib/components/multiselect/index.ts → lib/components/multiselect/index.d.ts} +1 -1
- package/lib/components/multiselect/multiselect.component.d.ts +34 -0
- package/{src/lib/components/number-input/index.ts → lib/components/number-input/index.d.ts} +1 -1
- package/lib/components/number-input/number-input.component.d.ts +14 -0
- package/{src/lib/components/page-header/index.ts → lib/components/page-header/index.d.ts} +1 -1
- package/lib/components/page-header/page-header.component.d.ts +10 -0
- package/{src/lib/components/password/index.ts → lib/components/password/index.d.ts} +1 -1
- package/lib/components/password/password.component.d.ts +11 -0
- package/{src/lib/components/radiobutton/index.ts → lib/components/radiobutton/index.d.ts} +1 -1
- package/lib/components/radiobutton/radiobutton.component.d.ts +10 -0
- package/{src/lib/components/section/index.ts → lib/components/section/index.d.ts} +1 -1
- package/lib/components/section/section.component.d.ts +12 -0
- package/lib/components/shared-components/action-button-group/action-button-group.component.d.ts +29 -0
- package/lib/components/shared-components/action-button-group/components/action-button/action-button.component.d.ts +24 -0
- package/{src/lib/components/shared-components/action-button-group/index.ts → lib/components/shared-components/action-button-group/index.d.ts} +2 -2
- package/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.d.ts +17 -0
- package/lib/components/shared-components/dynamic-component/dynamic-component.component.d.ts +16 -0
- package/{src/lib/components/shared-components/dynamic-component/index.ts → lib/components/shared-components/dynamic-component/index.d.ts} +2 -2
- package/lib/components/shared-components/feature-list/directives/feature-list-column.directive.d.ts +10 -0
- package/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.d.ts +6 -0
- package/lib/components/shared-components/feature-list/feature-list-filter.pipe.d.ts +9 -0
- package/lib/components/shared-components/feature-list/feature-list-page.component.d.ts +9 -0
- package/lib/components/shared-components/feature-list/feature-list-page.model.d.ts +23 -0
- package/lib/components/shared-components/feature-list/feature-list.component.d.ts +62 -0
- package/{src/lib/components/shared-components/feature-list/index.ts → lib/components/shared-components/feature-list/index.d.ts} +5 -5
- package/lib/components/shared-components/filter/directives/filter-field.directive.d.ts +20 -0
- package/lib/components/shared-components/filter/filter.component.d.ts +53 -0
- package/lib/components/shared-components/filter/filter.model.d.ts +2 -0
- package/{src/lib/components/shared-components/filter/index.ts → lib/components/shared-components/filter/index.d.ts} +2 -2
- package/lib/components/shared-components/generic-field/generic-field.component.d.ts +28 -0
- package/{src/lib/components/shared-components/generic-field/index.ts → lib/components/shared-components/generic-field/index.d.ts} +1 -1
- package/lib/components/shared-components/generic-form/generic-form.component.d.ts +15 -0
- package/lib/components/shared-components/generic-form/generic-form.model.d.ts +4 -0
- package/{src/lib/components/shared-components/generic-form/index.ts → lib/components/shared-components/generic-form/index.d.ts} +2 -2
- package/{src/lib/components/shared-components/index.ts → lib/components/shared-components/index.d.ts} +6 -6
- package/{src/lib/components/side-menu/index.ts → lib/components/side-menu/index.d.ts} +2 -2
- package/lib/components/side-menu/side-menu.component.d.ts +27 -0
- package/lib/components/side-menu/side-menu.module.d.ts +13 -0
- package/{src/lib/components/slider/index.ts → lib/components/slider/index.d.ts} +1 -1
- package/lib/components/slider/slider.component.d.ts +12 -0
- package/{src/lib/components/snackbar/index.ts → lib/components/snackbar/index.d.ts} +2 -2
- package/lib/components/snackbar/services/snackbar.service.d.ts +12 -0
- package/lib/components/snackbar/snackbar.component.d.ts +9 -0
- package/{src/lib/components/stepper/index.ts → lib/components/stepper/index.d.ts} +1 -1
- package/lib/components/stepper/stepper.component.d.ts +17 -0
- package/{src/lib/components/switch/index.ts → lib/components/switch/index.d.ts} +1 -1
- package/lib/components/switch/switch.component.d.ts +9 -0
- package/{src/lib/components/tab-view/index.ts → lib/components/tab-view/index.d.ts} +3 -3
- package/lib/components/tab-view/tab-menu.pipe.d.ts +9 -0
- package/lib/components/tab-view/tab-view-item.component.d.ts +12 -0
- package/lib/components/tab-view/tab-view.component.d.ts +17 -0
- package/lib/components/tab-view/tab-view.module.d.ts +13 -0
- package/{src/lib/components/table/index.ts → lib/components/table/index.d.ts} +1 -1
- package/lib/components/table/table-filter.pipe.d.ts +13 -0
- package/lib/components/table/table.component.d.ts +67 -0
- package/lib/components/table/table.models.d.ts +4 -0
- package/{src/lib/components/textarea/index.ts → lib/components/textarea/index.d.ts} +1 -1
- package/lib/components/textarea/textarea.component.d.ts +12 -0
- package/{src/lib/components/textfield/index.ts → lib/components/textfield/index.d.ts} +1 -1
- package/lib/components/textfield/textfield.component.d.ts +12 -0
- package/{src/lib/components/tristatecheckbox/index.ts → lib/components/tristatecheckbox/index.d.ts} +1 -1
- package/lib/components/tristatecheckbox/tristatecheckbox.component.d.ts +9 -0
- package/lib/icons.d.ts +2 -0
- package/lib/interceptors/http-error-message.interceptor.d.ts +11 -0
- package/package.json +37 -22
- package/.eslintrc.json +0 -43
- package/assets/.gitkeep +0 -0
- package/assets/fonts/orbitron-black.ttf +0 -0
- package/assets/fonts/orbitron-bold.otf +0 -0
- package/assets/icons/complex/v-logo.svg +0 -4
- package/assets/images/_global/elon.jpg +0 -0
- package/assets/images/_global/jara.png +0 -0
- package/assets/images/_global/logos/v-logo.webp +0 -0
- package/assets/sass/base/_scrollbar.scss +0 -18
- package/assets/sass/base/_typography.scss +0 -25
- package/assets/sass/layout/_app.scss +0 -27
- package/assets/sass/layout/_button.scss +0 -57
- package/assets/sass/layout/_checkbox.scss +0 -33
- package/assets/sass/layout/_dialog.scss +0 -13
- package/assets/sass/layout/_dropdown.scss +0 -9
- package/assets/sass/layout/_formField.scss +0 -5
- package/assets/sass/layout/_header.scss +0 -63
- package/assets/sass/layout/_icons.scss +0 -13
- package/assets/sass/layout/_inputSwitch.scss +0 -13
- package/assets/sass/layout/_layout.scss +0 -6
- package/assets/sass/layout/_loader.scss +0 -9
- package/assets/sass/layout/_radiobutton.scss +0 -21
- package/assets/sass/layout/_sidemenu.scss +0 -173
- package/assets/sass/layout/_snackbar.scss +0 -8
- package/assets/sass/layout/_tables.scss +0 -5
- package/assets/sass/layout/_tree.scss +0 -12
- package/assets/sass/layout/_tristatecheckbox.scss +0 -15
- package/assets/sass/main.scss +0 -28
- package/assets/sass/themes/_verisoft_theme.scss +0 -46
- package/assets/sass/utils/_mixins.scss +0 -0
- package/assets/sass/utils/_utils.scss +0 -39
- package/assets/sass/utils/_variables.scss +0 -12
- package/assets/sass/vendors/_bootstrap.scss +0 -2
- package/assets/sass/vendors/_primeng.scss +0 -2
- package/jest.config.ts +0 -22
- package/ng-package.json +0 -7
- package/project.json +0 -43
- package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -12
- package/src/lib/components/breadcrumb/breadcrumb.component.scss +0 -18
- package/src/lib/components/breadcrumb/breadcrumb.component.spec.ts +0 -21
- package/src/lib/components/breadcrumb/breadcrumb.component.stories.ts +0 -36
- package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -29
- package/src/lib/components/breadcrumb/breadcrumb.pipe.ts +0 -13
- package/src/lib/components/button/button.component.html +0 -20
- package/src/lib/components/button/button.component.scss +0 -0
- package/src/lib/components/button/button.component.spec.ts +0 -21
- package/src/lib/components/button/button.component.ts +0 -49
- package/src/lib/components/calendar/calendar.component.html +0 -53
- package/src/lib/components/calendar/calendar.component.scss +0 -0
- package/src/lib/components/calendar/calendar.component.spec.ts +0 -21
- package/src/lib/components/calendar/calendar.component.ts +0 -72
- package/src/lib/components/checkbox/checkbox.component.html +0 -19
- package/src/lib/components/checkbox/checkbox.component.scss +0 -15
- package/src/lib/components/checkbox/checkbox.component.spec.ts +0 -21
- package/src/lib/components/checkbox/checkbox.component.stories.ts +0 -72
- package/src/lib/components/checkbox/checkbox.component.ts +0 -45
- package/src/lib/components/confirm-dialog/confirm-dialog.component.html +0 -48
- package/src/lib/components/confirm-dialog/confirm-dialog.component.scss +0 -3
- package/src/lib/components/confirm-dialog/confirm-dialog.component.spec.ts +0 -21
- package/src/lib/components/confirm-dialog/confirm-dialog.component.stories.ts +0 -74
- package/src/lib/components/confirm-dialog/confirm-dialog.component.ts +0 -74
- package/src/lib/components/dropdown/dropdown.component.html +0 -96
- package/src/lib/components/dropdown/dropdown.component.scss +0 -16
- package/src/lib/components/dropdown/dropdown.component.spec.ts +0 -21
- package/src/lib/components/dropdown/dropdown.component.stories.ts +0 -90
- package/src/lib/components/dropdown/dropdown.component.ts +0 -144
- package/src/lib/components/errors/error.component.html +0 -6
- package/src/lib/components/errors/error.component.scss +0 -3
- package/src/lib/components/errors/error.component.ts +0 -35
- package/src/lib/components/errors/index.ts +0 -1
- package/src/lib/components/form-field/form-field.component.html +0 -36
- 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.stories.ts +0 -69
- package/src/lib/components/form-field/form-field.component.ts +0 -38
- package/src/lib/components/header/header.component.html +0 -84
- package/src/lib/components/header/header.component.scss +0 -0
- package/src/lib/components/header/header.component.spec.ts +0 -21
- package/src/lib/components/header/header.component.stories.ts +0 -24
- package/src/lib/components/header/header.component.ts +0 -66
- package/src/lib/components/header/services/header-provider.service.ts +0 -15
- package/src/lib/components/input-group/input-group.component.html +0 -30
- package/src/lib/components/input-group/input-group.component.spec.ts +0 -21
- package/src/lib/components/input-group/input-group.component.ts +0 -60
- package/src/lib/components/loader/loader.component.html +0 -5
- 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 -17
- package/src/lib/components/multiselect/multiselect.component.html +0 -70
- 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 -122
- package/src/lib/components/number-input/number-input.component.html +0 -22
- package/src/lib/components/number-input/number-input.component.spec.ts +0 -21
- package/src/lib/components/number-input/number-input.component.ts +0 -57
- package/src/lib/components/page-header/page-header.component.html +0 -31
- package/src/lib/components/page-header/page-header.component.scss +0 -0
- package/src/lib/components/page-header/page-header.component.spec.ts +0 -21
- package/src/lib/components/page-header/page-header.component.ts +0 -32
- package/src/lib/components/password/password.component.html +0 -24
- 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 -58
- package/src/lib/components/radiobutton/radiobutton.component.html +0 -32
- package/src/lib/components/radiobutton/radiobutton.component.scss +0 -6
- package/src/lib/components/radiobutton/radiobutton.component.spec.ts +0 -21
- package/src/lib/components/radiobutton/radiobutton.component.stories.ts +0 -71
- package/src/lib/components/radiobutton/radiobutton.component.ts +0 -62
- package/src/lib/components/section/section.component.html +0 -23
- package/src/lib/components/section/section.component.scss +0 -0
- package/src/lib/components/section/section.component.spec.ts +0 -21
- package/src/lib/components/section/section.component.ts +0 -32
- package/src/lib/components/shared-components/action-button-group/action-button-group.component.html +0 -27
- package/src/lib/components/shared-components/action-button-group/action-button-group.component.scss +0 -0
- package/src/lib/components/shared-components/action-button-group/action-button-group.component.spec.ts +0 -21
- package/src/lib/components/shared-components/action-button-group/action-button-group.component.ts +0 -114
- package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.html +0 -11
- package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.scss +0 -0
- package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.spec.ts +0 -21
- package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.ts +0 -71
- package/src/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.ts +0 -142
- package/src/lib/components/shared-components/dynamic-component/dynamic-component.component.ts +0 -56
- package/src/lib/components/shared-components/feature-list/directives/feature-list-column.directive.ts +0 -32
- package/src/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.ts +0 -8
- package/src/lib/components/shared-components/feature-list/feature-list-filter.pipe.ts +0 -21
- package/src/lib/components/shared-components/feature-list/feature-list-page.component.ts +0 -31
- package/src/lib/components/shared-components/feature-list/feature-list-page.model.ts +0 -42
- package/src/lib/components/shared-components/feature-list/feature-list.component.html +0 -59
- package/src/lib/components/shared-components/feature-list/feature-list.component.scss +0 -10
- package/src/lib/components/shared-components/feature-list/feature-list.component.ts +0 -342
- package/src/lib/components/shared-components/filter/directives/filter-field.directive.ts +0 -35
- package/src/lib/components/shared-components/filter/filter.component.html +0 -68
- package/src/lib/components/shared-components/filter/filter.component.scss +0 -0
- package/src/lib/components/shared-components/filter/filter.component.spec.ts +0 -21
- package/src/lib/components/shared-components/filter/filter.component.stories.ts +0 -23
- package/src/lib/components/shared-components/filter/filter.component.ts +0 -284
- package/src/lib/components/shared-components/filter/filter.model.ts +0 -18
- package/src/lib/components/shared-components/generic-field/generic-field.component.html +0 -97
- package/src/lib/components/shared-components/generic-field/generic-field.component.spec.ts +0 -21
- package/src/lib/components/shared-components/generic-field/generic-field.component.ts +0 -94
- package/src/lib/components/shared-components/generic-form/generic-form.component.html +0 -46
- package/src/lib/components/shared-components/generic-form/generic-form.component.spec.ts +0 -21
- package/src/lib/components/shared-components/generic-form/generic-form.component.ts +0 -57
- package/src/lib/components/shared-components/generic-form/generic-form.model.spec.ts +0 -82
- package/src/lib/components/shared-components/generic-form/generic-form.model.ts +0 -68
- package/src/lib/components/side-menu/side-menu.component.html +0 -52
- package/src/lib/components/side-menu/side-menu.component.scss +0 -0
- package/src/lib/components/side-menu/side-menu.component.spec.ts +0 -21
- package/src/lib/components/side-menu/side-menu.component.ts +0 -98
- package/src/lib/components/side-menu/side-menu.module.ts +0 -66
- package/src/lib/components/slider/slider.component.html +0 -19
- package/src/lib/components/slider/slider.component.spec.ts +0 -21
- package/src/lib/components/slider/slider.component.ts +0 -58
- package/src/lib/components/snackbar/services/snackbar.service.ts +0 -45
- package/src/lib/components/snackbar/snackbar.component.html +0 -3
- 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.stories.ts +0 -70
- package/src/lib/components/snackbar/snackbar.component.ts +0 -26
- package/src/lib/components/stepper/stepper.component.html +0 -43
- package/src/lib/components/stepper/stepper.component.spec.ts +0 -21
- package/src/lib/components/stepper/stepper.component.ts +0 -40
- package/src/lib/components/switch/switch.component.html +0 -18
- package/src/lib/components/switch/switch.component.scss +0 -0
- package/src/lib/components/switch/switch.component.spec.ts +0 -21
- package/src/lib/components/switch/switch.component.stories.ts +0 -65
- package/src/lib/components/switch/switch.component.ts +0 -54
- package/src/lib/components/tab-view/tab-menu.pipe.ts +0 -22
- package/src/lib/components/tab-view/tab-view-item.component.ts +0 -22
- package/src/lib/components/tab-view/tab-view.component.html +0 -23
- package/src/lib/components/tab-view/tab-view.component.ts +0 -50
- package/src/lib/components/tab-view/tab-view.module.ts +0 -19
- package/src/lib/components/table/table-filter.pipe.ts +0 -59
- package/src/lib/components/table/table.component.html +0 -123
- package/src/lib/components/table/table.component.scss +0 -11
- package/src/lib/components/table/table.component.spec.ts +0 -21
- package/src/lib/components/table/table.component.stories.ts +0 -55
- package/src/lib/components/table/table.component.ts +0 -289
- package/src/lib/components/table/table.models.ts +0 -26
- package/src/lib/components/textarea/textarea.component.html +0 -40
- package/src/lib/components/textarea/textarea.component.scss +0 -5
- package/src/lib/components/textarea/textarea.component.spec.ts +0 -21
- package/src/lib/components/textarea/textarea.component.stories.ts +0 -98
- package/src/lib/components/textarea/textarea.component.ts +0 -64
- package/src/lib/components/textfield/textfield.component.html +0 -83
- package/src/lib/components/textfield/textfield.component.scss +0 -23
- package/src/lib/components/textfield/textfield.component.spec.ts +0 -21
- package/src/lib/components/textfield/textfield.component.stories.ts +0 -85
- package/src/lib/components/textfield/textfield.component.ts +0 -69
- package/src/lib/components/tristatecheckbox/tristatecheckbox.component.html +0 -23
- package/src/lib/components/tristatecheckbox/tristatecheckbox.component.scss +0 -0
- package/src/lib/components/tristatecheckbox/tristatecheckbox.component.spec.ts +0 -21
- package/src/lib/components/tristatecheckbox/tristatecheckbox.component.stories.ts +0 -22
- package/src/lib/components/tristatecheckbox/tristatecheckbox.component.ts +0 -50
- package/src/lib/icons.ts +0 -36
- package/src/lib/interceptors/http-error-message.interceptor.ts +0 -35
- package/src/lib/pages/not-found-page/not-found-page.component.html +0 -26
- 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.spec.ts +0 -21
- package/src/lib/pages/not-found-page/not-found-page.component.ts +0 -17
- package/src/tab-view.ts +0 -1
- package/src/test-setup.ts +0 -8
- package/tsconfig.json +0 -31
- package/tsconfig.lib.json +0 -18
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -16
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, Input, Optional, Self, } from '@angular/core';
|
|
3
|
+
import { NgControl, ReactiveFormsModule, } from '@angular/forms';
|
|
4
|
+
import { BaseFormInputComponent, BaseInputControls, FieldSize, FieldType, TEXTFIELD_COMPONENT_TOKEN, } from '@verisoft/ui-core';
|
|
5
|
+
import { FloatLabelModule } from 'primeng/floatlabel';
|
|
6
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
7
|
+
import { Icons } from '../../icons';
|
|
8
|
+
import { ErrorComponent } from '../errors';
|
|
9
|
+
import { FormFieldComponent } from '../form-field/form-field.component';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/forms";
|
|
12
|
+
import * as i2 from "@angular/common";
|
|
13
|
+
import * as i3 from "primeng/inputtext";
|
|
14
|
+
import * as i4 from "primeng/floatlabel";
|
|
15
|
+
export class TextfieldComponent extends BaseFormInputComponent {
|
|
16
|
+
constructor(ngControl) {
|
|
17
|
+
super(ngControl);
|
|
18
|
+
this.icons = Icons;
|
|
19
|
+
this.size = FieldSize.medium;
|
|
20
|
+
this.type = FieldType.text;
|
|
21
|
+
this.floatLabel = false;
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TextfieldComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: TextfieldComponent, isStandalone: true, selector: "v-textfield", inputs: { size: "size", type: "type", floatLabel: "floatLabel" }, providers: [
|
|
25
|
+
{
|
|
26
|
+
provide: BaseInputControls,
|
|
27
|
+
useExisting: forwardRef(() => TextfieldComponent),
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
provide: TEXTFIELD_COMPONENT_TOKEN,
|
|
31
|
+
useExisting: TextfieldComponent,
|
|
32
|
+
},
|
|
33
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"v-text-field\">\r\n <ng-container *ngIf=\"!floatLabel && label; else floatLabelInput\">\r\n <v-form-field\r\n class=\"w-100\"\r\n [label]=\"label\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"isRequired()\"\r\n [testId]=\"testId\"\r\n [display]=\"formDisplay\"\r\n >\r\n <span\r\n class=\"w-100 flex-grow-1\"\r\n [ngClass]=\"{ 'p-input-icon-right': type === 'search' }\"\r\n >\r\n <input\r\n pInputText\r\n [id]=\"inputId\"\r\n [formControl]=\"formControl\"\r\n [type]=\"type === 'search' ? 'text' : type\"\r\n class=\"w-100 flex-grow-1 v-text-field\"\r\n [required]=\"isRequired()\"\r\n [readOnly]=\"readonly\"\r\n [title]=\"label\"\r\n [placeholder]=\"placeholder ? placeholder : ''\"\r\n [ngClass]=\"{\r\n 'p-inputtext-sm': size === 'small',\r\n 'p-inputtext-lg': size === 'large'\r\n }\"\r\n />\r\n <ng-container *ngIf=\"type === 'search'\">\r\n <i\r\n class=\"pi ms-2 v-text-field__icon\"\r\n [ngStyle]=\"{\r\n cursor: ngControl && ngControl.value ? 'pointer' : 'default'\r\n }\"\r\n [ngClass]=\"{\r\n 'pi-search': ngControl && !ngControl.value,\r\n 'pi-times': ngControl && ngControl.value,\r\n }\"\r\n (click)=\"ngControl && ngControl.value ? ngControl.reset() : null\"\r\n ></i>\r\n </ng-container>\r\n </span>\r\n </v-form-field>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n </ng-container>\r\n <ng-template #floatLabelInput>\r\n <span\r\n class=\"w-100 flex-grow-1\"\r\n [ngClass]=\"{ 'p-input-icon-right': type === 'search' }\"\r\n >\r\n <p-floatLabel>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n [id]=\"inputId\"\r\n class=\"w-100 flex-grow-1\"\r\n [required]=\"isRequired()\"\r\n [formControl]=\"formControl\"\r\n [placeholder]=\"placeholder ? placeholder : ''\"\r\n [ngClass]=\"{\r\n 'p-inputtext-sm': size === 'small',\r\n 'p-inputtext-lg': size === 'large'\r\n }\"\r\n />\r\n <label [for]=\"inputId\" class=\"v-text-field__label\">{{ label }}</label>\r\n </p-floatLabel>\r\n <ng-container *ngIf=\"type === 'search'\">\r\n <i\r\n class=\"pi ms-2 v-text-field__icon\"\r\n [ngStyle]=\"{\r\n cursor: ngControl && ngControl.value ? 'pointer' : 'default'\r\n }\"\r\n [ngClass]=\"{\r\n 'pi-search': ngControl && !ngControl.value,\r\n 'pi-times': ngControl && ngControl.value,\r\n }\"\r\n (click)=\"ngControl && ngControl.value ? ngControl.reset() : null\"\r\n ></i>\r\n </ng-container>\r\n </span>\r\n </ng-template>\r\n</div>\r\n", styles: [".p-inputtext:focus .ng-invalid.ng-dirty{border-color:var(--error-color)}.p-inputtext.ng-dirty.ng-invalid{border-color:var(--error-color)}.verisoft-text-field{justify-content:center;width:100%}.p-input-icon-right i.pi-times:hover{cursor:pointer}.p-inputtext.p-inputtext-lg{font-size:1rem;padding:.75rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i3.InputText, selector: "[pInputText]", inputs: ["variant"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: FormFieldComponent, selector: "v-form-field", inputs: ["display", "variant"] }, { kind: "ngmodule", type: FloatLabelModule }, { kind: "component", type: i4.FloatLabel, selector: "p-floatLabel" }, { kind: "component", type: ErrorComponent, selector: "v-validation-message", inputs: ["ngControl", "errorSlot", "messageSlot", "variant", "severity"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34
|
+
}
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TextfieldComponent, decorators: [{
|
|
36
|
+
type: Component,
|
|
37
|
+
args: [{ selector: 'v-textfield', standalone: true, imports: [
|
|
38
|
+
CommonModule,
|
|
39
|
+
InputTextModule,
|
|
40
|
+
ReactiveFormsModule,
|
|
41
|
+
FormFieldComponent,
|
|
42
|
+
FloatLabelModule,
|
|
43
|
+
ErrorComponent
|
|
44
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
45
|
+
{
|
|
46
|
+
provide: BaseInputControls,
|
|
47
|
+
useExisting: forwardRef(() => TextfieldComponent),
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
provide: TEXTFIELD_COMPONENT_TOKEN,
|
|
51
|
+
useExisting: TextfieldComponent,
|
|
52
|
+
},
|
|
53
|
+
], template: "<div class=\"v-text-field\">\r\n <ng-container *ngIf=\"!floatLabel && label; else floatLabelInput\">\r\n <v-form-field\r\n class=\"w-100\"\r\n [label]=\"label\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"isRequired()\"\r\n [testId]=\"testId\"\r\n [display]=\"formDisplay\"\r\n >\r\n <span\r\n class=\"w-100 flex-grow-1\"\r\n [ngClass]=\"{ 'p-input-icon-right': type === 'search' }\"\r\n >\r\n <input\r\n pInputText\r\n [id]=\"inputId\"\r\n [formControl]=\"formControl\"\r\n [type]=\"type === 'search' ? 'text' : type\"\r\n class=\"w-100 flex-grow-1 v-text-field\"\r\n [required]=\"isRequired()\"\r\n [readOnly]=\"readonly\"\r\n [title]=\"label\"\r\n [placeholder]=\"placeholder ? placeholder : ''\"\r\n [ngClass]=\"{\r\n 'p-inputtext-sm': size === 'small',\r\n 'p-inputtext-lg': size === 'large'\r\n }\"\r\n />\r\n <ng-container *ngIf=\"type === 'search'\">\r\n <i\r\n class=\"pi ms-2 v-text-field__icon\"\r\n [ngStyle]=\"{\r\n cursor: ngControl && ngControl.value ? 'pointer' : 'default'\r\n }\"\r\n [ngClass]=\"{\r\n 'pi-search': ngControl && !ngControl.value,\r\n 'pi-times': ngControl && ngControl.value,\r\n }\"\r\n (click)=\"ngControl && ngControl.value ? ngControl.reset() : null\"\r\n ></i>\r\n </ng-container>\r\n </span>\r\n </v-form-field>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n </ng-container>\r\n <ng-template #floatLabelInput>\r\n <span\r\n class=\"w-100 flex-grow-1\"\r\n [ngClass]=\"{ 'p-input-icon-right': type === 'search' }\"\r\n >\r\n <p-floatLabel>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n [id]=\"inputId\"\r\n class=\"w-100 flex-grow-1\"\r\n [required]=\"isRequired()\"\r\n [formControl]=\"formControl\"\r\n [placeholder]=\"placeholder ? placeholder : ''\"\r\n [ngClass]=\"{\r\n 'p-inputtext-sm': size === 'small',\r\n 'p-inputtext-lg': size === 'large'\r\n }\"\r\n />\r\n <label [for]=\"inputId\" class=\"v-text-field__label\">{{ label }}</label>\r\n </p-floatLabel>\r\n <ng-container *ngIf=\"type === 'search'\">\r\n <i\r\n class=\"pi ms-2 v-text-field__icon\"\r\n [ngStyle]=\"{\r\n cursor: ngControl && ngControl.value ? 'pointer' : 'default'\r\n }\"\r\n [ngClass]=\"{\r\n 'pi-search': ngControl && !ngControl.value,\r\n 'pi-times': ngControl && ngControl.value,\r\n }\"\r\n (click)=\"ngControl && ngControl.value ? ngControl.reset() : null\"\r\n ></i>\r\n </ng-container>\r\n </span>\r\n </ng-template>\r\n</div>\r\n", styles: [".p-inputtext:focus .ng-invalid.ng-dirty{border-color:var(--error-color)}.p-inputtext.ng-dirty.ng-invalid{border-color:var(--error-color)}.verisoft-text-field{justify-content:center;width:100%}.p-input-icon-right i.pi-times:hover{cursor:pointer}.p-inputtext.p-inputtext-lg{font-size:1rem;padding:.75rem}\n"] }]
|
|
54
|
+
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
55
|
+
type: Optional
|
|
56
|
+
}, {
|
|
57
|
+
type: Self
|
|
58
|
+
}] }], propDecorators: { size: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], type: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], floatLabel: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}] } });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLXByaW1lbmcvc3JjL2xpYi9jb21wb25lbnRzL3RleHRmaWVsZC90ZXh0ZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYnMvdWktcHJpbWVuZy9zcmMvbGliL2NvbXBvbmVudHMvdGV4dGZpZWxkL3RleHRmaWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdz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IDwvcC1mbG9hdExhYmVsPlxyXG4gICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwidHlwZSA9PT0gJ3NlYXJjaCdcIj5cclxuICAgICAgICA8aVxyXG4gICAgICAgICAgY2xhc3M9XCJwaSBtcy0yIHYtdGV4dC1maWVsZF9faWNvblwiXHJcbiAgICAgICAgICBbbmdTdHlsZV09XCJ7XHJcbiAgICAgICAgICAgIGN1cnNvcjogbmdDb250cm9sICYmIG5nQ29udHJvbC52YWx1ZSA/ICdwb2ludGVyJyA6ICdkZWZhdWx0J1xyXG4gICAgICAgICAgfVwiXHJcbiAgICAgICAgICBbbmdDbGFzc109XCJ7XHJcbiAgICAgICAgICAgICdwaS1zZWFyY2gnOiBuZ0NvbnRyb2wgJiYgIW5nQ29udHJvbC52YWx1ZSxcclxuICAgICAgICAgICAgJ3BpLXRpbWVzJzogbmdDb250cm9sICYmIG5nQ29udHJvbC52YWx1ZSxcclxuICAgICAgICAgIH1cIlxyXG4gICAgICAgICAgKGNsaWNrKT1cIm5nQ29udHJvbCAmJiBuZ0NvbnRyb2wudmFsdWUgPyBuZ0NvbnRyb2wucmVzZXQoKSA6IG51bGxcIlxyXG4gICAgICAgID48L2k+XHJcbiAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgPC9zcGFuPlxyXG4gIDwvbmctdGVtcGxhdGU+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './tristatecheckbox.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1wcmltZW5nL3NyYy9saWIvY29tcG9uZW50cy90cmlzdGF0ZWNoZWNrYm94L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RyaXN0YXRlY2hlY2tib3guY29tcG9uZW50JztcclxuIl19
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, Optional, Self } from '@angular/core';
|
|
3
|
+
import { NgControl, ReactiveFormsModule, } from '@angular/forms';
|
|
4
|
+
import { BaseFormInputComponent, BaseInputControls, TRISTATE_CHECKBOX_COMPONENT_TOKEN, } from '@verisoft/ui-core';
|
|
5
|
+
import { TriStateCheckboxModule } from 'primeng/tristatecheckbox';
|
|
6
|
+
import { Icons } from '../../icons';
|
|
7
|
+
import { ErrorComponent } from '../errors';
|
|
8
|
+
import { FormFieldComponent } from '../form-field';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@angular/forms";
|
|
11
|
+
import * as i2 from "@angular/common";
|
|
12
|
+
import * as i3 from "primeng/tristatecheckbox";
|
|
13
|
+
export class TristatecheckboxComponent extends BaseFormInputComponent {
|
|
14
|
+
constructor(ngControl) {
|
|
15
|
+
super(ngControl);
|
|
16
|
+
this.icons = Icons;
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TristatecheckboxComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: TristatecheckboxComponent, isStandalone: true, selector: "v-tristatecheckbox", providers: [
|
|
20
|
+
{
|
|
21
|
+
provide: BaseInputControls,
|
|
22
|
+
useExisting: TristatecheckboxComponent,
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
provide: TRISTATE_CHECKBOX_COMPONENT_TOKEN,
|
|
26
|
+
useExisting: TristatecheckboxComponent,
|
|
27
|
+
},
|
|
28
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"v-tristatecheckbox d-flex align-items-center mt-2\">\r\n <v-form-field\r\n class=\"w-100\"\r\n [label]=\"label\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"isRequired()\"\r\n [testId]=\"testId\"\r\n [display]=\"formDisplay\"\r\n >\r\n <p-triStateCheckbox\r\n [ngClass]=\"{\r\n 'tristate-error':\r\n ngControl?.invalid && ngControl?.dirty && ngControl?.value === false\r\n }\"\r\n [formControl]=\"formControl\"\r\n [required]=\"required\"\r\n [readonly]=\"readonly\"\r\n [inputId]=\"testId\"\r\n [checkboxFalseIcon]=\"icons.minus\"\r\n />\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n </v-form-field>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TriStateCheckboxModule }, { kind: "component", type: i3.TriStateCheckbox, selector: "p-triStateCheckbox", inputs: ["disabled", "name", "ariaLabel", "ariaLabelledBy", "variant", "tabindex", "inputId", "style", "styleClass", "label", "readonly", "checkboxTrueIcon", "checkboxFalseIcon", "autofocus"], outputs: ["onChange"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: FormFieldComponent, selector: "v-form-field", inputs: ["display", "variant"] }, { kind: "component", type: ErrorComponent, selector: "v-validation-message", inputs: ["ngControl", "errorSlot", "messageSlot", "variant", "severity"] }] }); }
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TristatecheckboxComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{ selector: 'v-tristatecheckbox', standalone: true, imports: [
|
|
33
|
+
CommonModule,
|
|
34
|
+
TriStateCheckboxModule,
|
|
35
|
+
ReactiveFormsModule,
|
|
36
|
+
FormFieldComponent,
|
|
37
|
+
ErrorComponent
|
|
38
|
+
], providers: [
|
|
39
|
+
{
|
|
40
|
+
provide: BaseInputControls,
|
|
41
|
+
useExisting: TristatecheckboxComponent,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
provide: TRISTATE_CHECKBOX_COMPONENT_TOKEN,
|
|
45
|
+
useExisting: TristatecheckboxComponent,
|
|
46
|
+
},
|
|
47
|
+
], template: "<div class=\"v-tristatecheckbox d-flex align-items-center mt-2\">\r\n <v-form-field\r\n class=\"w-100\"\r\n [label]=\"label\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"isRequired()\"\r\n [testId]=\"testId\"\r\n [display]=\"formDisplay\"\r\n >\r\n <p-triStateCheckbox\r\n [ngClass]=\"{\r\n 'tristate-error':\r\n ngControl?.invalid && ngControl?.dirty && ngControl?.value === false\r\n }\"\r\n [formControl]=\"formControl\"\r\n [required]=\"required\"\r\n [readonly]=\"readonly\"\r\n [inputId]=\"testId\"\r\n [checkboxFalseIcon]=\"icons.minus\"\r\n />\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n </v-form-field>\r\n</div>\r\n" }]
|
|
48
|
+
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
49
|
+
type: Optional
|
|
50
|
+
}, {
|
|
51
|
+
type: Self
|
|
52
|
+
}] }] });
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJpc3RhdGVjaGVja2JveC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290I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uICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcclxuICAgICAgW3JlcXVpcmVkXT1cInJlcXVpcmVkXCJcclxuICAgICAgW3JlYWRvbmx5XT1cInJlYWRvbmx5XCJcclxuICAgICAgW2lucHV0SWRdPVwidGVzdElkXCJcclxuICAgICAgW2NoZWNrYm94RmFsc2VJY29uXT1cImljb25zLm1pbnVzXCJcclxuICAgIC8+XHJcbiAgICA8di12YWxpZGF0aW9uLW1lc3NhZ2UgW25nQ29udHJvbF09XCJuZ0NvbnRyb2xcIj48L3YtdmFsaWRhdGlvbi1tZXNzYWdlPlxyXG4gIDwvdi1mb3JtLWZpZWxkPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const Icons = {
|
|
2
|
+
add: 'pi pi-plus',
|
|
3
|
+
minus: 'pi pi-minus',
|
|
4
|
+
delete: 'pi pi-trash',
|
|
5
|
+
filter: 'pi pi-filter',
|
|
6
|
+
download: 'pi pi-download',
|
|
7
|
+
save: 'pi pi-save',
|
|
8
|
+
print: 'pi pi-print',
|
|
9
|
+
calendar: 'pi pi-calendar',
|
|
10
|
+
edit: 'pi pi-pencil',
|
|
11
|
+
settings: 'pi pi-cog',
|
|
12
|
+
house: 'pi pi-home',
|
|
13
|
+
chevronRight: 'pi pi-chevron-right',
|
|
14
|
+
chevronLeft: 'pi pi-chevron-left',
|
|
15
|
+
chevronDown: 'pi pi-chevron-down',
|
|
16
|
+
chevronUp: 'pi pi-chevron-up',
|
|
17
|
+
checkbox: 'pi pi-check',
|
|
18
|
+
warning: 'pi pi-exclamation-triangle',
|
|
19
|
+
search: 'pi pi-search',
|
|
20
|
+
action: 'pi pi-bars',
|
|
21
|
+
user: 'pi pi-user',
|
|
22
|
+
logout: 'pi pi-user',
|
|
23
|
+
crossCircle: 'pi pi-times-circle',
|
|
24
|
+
infoCircle: 'pi pi-info-circle',
|
|
25
|
+
cross: 'pi pi-times',
|
|
26
|
+
arrowLeft: 'pi pi-arrow-left',
|
|
27
|
+
arrowRight: 'pi pi-arrow-right',
|
|
28
|
+
questionCircle: 'pi pi-question-circle',
|
|
29
|
+
checkCircle: 'pi pi-check-circle',
|
|
30
|
+
sitemap: 'pi pi-sitemap',
|
|
31
|
+
check: 'pi pi-check',
|
|
32
|
+
envelope: 'pi pi-envelope',
|
|
33
|
+
loader: 'pi pi-loader',
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1wcmltZW5nL3NyYy9saWIvaWNvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFDLE1BQU0sS0FBSyxHQUFnQjtJQUNoQyxHQUFHLEVBQUUsWUFBWTtJQUNqQixLQUFLLEVBQUUsYUFBYTtJQUNwQixNQUFNLEVBQUUsYUFBYTtJQUNyQixNQUFNLEVBQUUsY0FBYztJQUN0QixRQUFRLEVBQUUsZ0JBQWdCO0lBQzFCLElBQUksRUFBRSxZQUFZO0lBQ2xCLEtBQUssRUFBRSxhQUFhO0lBQ3BCLFFBQVEsRUFBRSxnQkFBZ0I7SUFDMUIsSUFBSSxFQUFFLGNBQWM7SUFDcEIsUUFBUSxFQUFFLFdBQVc7SUFDckIsS0FBSyxFQUFFLFlBQVk7SUFDbkIsWUFBWSxFQUFFLHFCQUFxQjtJQUNuQyxXQUFXLEVBQUUsb0JBQW9CO0lBQ2pDLFdBQVcsRUFBRSxvQkFBb0I7SUFDakMsU0FBUyxFQUFFLGtCQUFrQjtJQUM3QixRQUFRLEVBQUUsYUFBYTtJQUN2QixPQUFPLEVBQUUsNEJBQTRCO0lBQ3JDLE1BQU0sRUFBRSxjQUFjO0lBQ3RCLE1BQU0sRUFBRSxZQUFZO0lBQ3BCLElBQU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XZyb25Eb3duOiAncGkgcGktY2hldnJvbi1kb3duJyxcclxuICBjaGV2cm9uVXA6ICdwaSBwaS1jaGV2cm9uLXVwJyxcclxuICBjaGVja2JveDogJ3BpIHBpLWNoZWNrJyxcclxuICB3YXJuaW5nOiAncGkgcGktZXhjbGFtYXRpb24tdHJpYW5nbGUnLFxyXG4gIHNlYXJjaDogJ3BpIHBpLXNlYXJjaCcsXHJcbiAgYWN0aW9uOiAncGkgcGktYmFycycsXHJcbiAgdXNlcjogJ3BpIHBpLXVzZXInLFxyXG4gIGxvZ291dDogJ3BpIHBpLXVzZXInLFxyXG4gIGNyb3NzQ2lyY2xlOiAncGkgcGktdGltZXMtY2lyY2xlJyxcclxuICBpbmZvQ2lyY2xlOiAncGkgcGktaW5mby1jaXJjbGUnLFxyXG4gIGNyb3NzOiAncGkgcGktdGltZXMnLFxyXG4gIGFycm93TGVmdDogJ3BpIHBpLWFycm93LWxlZnQnLFxyXG4gIGFycm93UmlnaHQ6ICdwaSBwaS1hcnJvdy1yaWdodCcsXHJcbiAgcXVlc3Rpb25DaXJjbGU6ICdwaSBwaS1xdWVzdGlvbi1jaXJjbGUnLFxyXG4gIGNoZWNrQ2lyY2xlOiAncGkgcGktY2hlY2stY2lyY2xlJyxcclxuICBzaXRlbWFwOiAncGkgcGktc2l0ZW1hcCcsXHJcbiAgY2hlY2s6ICdwaSBwaS1jaGVjaycsXHJcbiAgZW52ZWxvcGU6ICdwaSBwaS1lbnZlbG9wZScsXHJcbiAgbG9hZGVyOiAncGkgcGktbG9hZGVyJyxcclxufTtcclxuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { catchError, throwError } from 'rxjs';
|
|
3
|
+
import { SnackbarService } from '../components/snackbar';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../components/snackbar";
|
|
6
|
+
export class HttpErrorMessageInterceptor {
|
|
7
|
+
constructor(snackbarService) {
|
|
8
|
+
this.snackbarService = snackbarService;
|
|
9
|
+
}
|
|
10
|
+
intercept(req, next) {
|
|
11
|
+
return next.handle(req).pipe(catchError((errorResponse) => {
|
|
12
|
+
if (!errorResponse.ok) {
|
|
13
|
+
if (errorResponse.status === 403) {
|
|
14
|
+
this.snackbarService.showError('Unauthorized request');
|
|
15
|
+
console.error('Unauthorized request');
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
this.snackbarService.showError(errorResponse.message);
|
|
19
|
+
console.error(errorResponse);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return throwError(() => errorResponse);
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: HttpErrorMessageInterceptor, deps: [{ token: i1.SnackbarService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
26
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: HttpErrorMessageInterceptor }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: HttpErrorMessageInterceptor, decorators: [{
|
|
29
|
+
type: Injectable
|
|
30
|
+
}], ctorParameters: () => [{ type: i1.SnackbarService }] });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC1lcnJvci1tZXNzYWdlLmludGVyY2VwdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYnMvdWktcHJpbWVuZy9zcmMvbGliL2ludGVyY2VwdG9ycy9odHRwLWVycm9yLW1lc3NhZ2UuaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT0EsT0FBTyxFQUFFLFVBQ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ICAgICAgdGhpcy5zbmFja2JhclNlcnZpY2Uuc2hvd0Vycm9yKCdVbmF1dGhvcml6ZWQgcmVxdWVzdCcpO1xyXG4gICAgICAgICAgICBjb25zb2xlLmVycm9yKCdVbmF1dGhvcml6ZWQgcmVxdWVzdCcpO1xyXG4gICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5zbmFja2JhclNlcnZpY2Uuc2hvd0Vycm9yKGVycm9yUmVzcG9uc2UubWVzc2FnZSk7XHJcbiAgICAgICAgICAgIGNvbnNvbGUuZXJyb3IoZXJyb3JSZXNwb25zZSk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gdGhyb3dFcnJvcigoKSA9PiBlcnJvclJlc3BvbnNlKTtcclxuICAgICAgfSlcclxuICAgICk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyaXNvZnQtdWktcHJpbWVuZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLXByaW1lbmcvc3JjL3Zlcmlzb2Z0LXVpLXByaW1lbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|