@verisoft/ui-govcz 18.6.3 → 18.6.5
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 +2 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +34 -0
- package/esm2022/lib/components/breadcrumb/index.mjs +2 -0
- package/esm2022/lib/components/button/button.component.mjs +87 -0
- package/esm2022/lib/components/button/index.mjs +2 -0
- package/esm2022/lib/components/calendar/calendar.component.mjs +87 -0
- package/esm2022/lib/components/calendar/index.mjs +2 -0
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +62 -0
- package/esm2022/lib/components/checkbox/index.mjs +2 -0
- package/esm2022/lib/components/confirm-dialog/confirm-dialog.component.mjs +72 -0
- package/esm2022/lib/components/confirm-dialog/index.mjs +2 -0
- package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +14 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +280 -0
- package/esm2022/lib/components/dropdown/dropdown.model.mjs +2 -0
- package/esm2022/lib/components/dropdown/index.mjs +2 -0
- package/esm2022/lib/components/errors/error.component.mjs +34 -0
- package/esm2022/lib/components/errors/index.mjs +2 -0
- package/esm2022/lib/components/form-field/form-field.component.mjs +92 -0
- package/esm2022/lib/components/form-field/index.mjs +2 -0
- package/esm2022/lib/components/header/header.component.mjs +85 -0
- package/esm2022/lib/components/header/index.mjs +2 -0
- package/esm2022/lib/components/index.mjs +34 -0
- package/esm2022/lib/components/input-group/index.mjs +2 -0
- package/esm2022/lib/components/input-group/input-group.component.mjs +89 -0
- package/esm2022/lib/components/loader/index.mjs +2 -0
- package/esm2022/lib/components/loader/loader.component.mjs +34 -0
- package/esm2022/lib/components/multiselect/index.mjs +2 -0
- package/esm2022/lib/components/multiselect/multiselect.component.mjs +121 -0
- package/esm2022/lib/components/number-input/index.mjs +2 -0
- package/esm2022/lib/components/number-input/number-input.component.mjs +104 -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 +94 -0
- package/esm2022/lib/components/radiobutton/index.mjs +2 -0
- package/esm2022/lib/components/radiobutton/radiobutton.component.mjs +50 -0
- package/esm2022/lib/components/search/index.mjs +2 -0
- package/esm2022/lib/components/search/search.component.mjs +40 -0
- package/esm2022/lib/components/section/index.mjs +2 -0
- package/esm2022/lib/components/section/section.component.mjs +70 -0
- package/esm2022/lib/components/shared-components/action-button-group/action-button-group.component.mjs +97 -0
- package/esm2022/lib/components/shared-components/action-button-group/components/action-button/action-button.component.mjs +64 -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 +91 -0
- package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component.component.mjs +42 -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 +43 -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 +43 -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 +285 -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 +53 -0
- package/esm2022/lib/components/shared-components/filter/filter.component.mjs +195 -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 +98 -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 +46 -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 +48 -0
- package/esm2022/lib/components/side-menu/side-menu.module.mjs +73 -0
- package/esm2022/lib/components/snackbar/index.mjs +3 -0
- package/esm2022/lib/components/snackbar/services/snackbar.service.mjs +75 -0
- package/esm2022/lib/components/snackbar/snackbar.component.mjs +61 -0
- package/esm2022/lib/components/snackbar/snackbar.model.mjs +2 -0
- package/esm2022/lib/components/stepper/index.mjs +2 -0
- package/esm2022/lib/components/stepper/stepper.component.mjs +66 -0
- package/esm2022/lib/components/switch/index.mjs +2 -0
- package/esm2022/lib/components/switch/switch.component.mjs +45 -0
- package/esm2022/lib/components/tab-view/index.mjs +4 -0
- package/esm2022/lib/components/tab-view/tab-view-item.component.mjs +41 -0
- package/esm2022/lib/components/tab-view/tab-view.component.mjs +56 -0
- package/esm2022/lib/components/tab-view/tab-view.module.mjs +41 -0
- package/esm2022/lib/components/table/index.mjs +2 -0
- package/esm2022/lib/components/table/table-pagination-info.component.mjs +32 -0
- package/esm2022/lib/components/table/table.component.mjs +359 -0
- package/esm2022/lib/components/table/table.model.mjs +14 -0
- package/esm2022/lib/components/textarea/index.mjs +2 -0
- package/esm2022/lib/components/textarea/textarea.component.mjs +95 -0
- package/esm2022/lib/components/textfield/index.mjs +2 -0
- package/esm2022/lib/components/textfield/textfield.component.mjs +124 -0
- package/esm2022/lib/components/tooltip/index.mjs +2 -0
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +66 -0
- package/esm2022/lib/components/tristatecheckbox/index.mjs +2 -0
- package/esm2022/lib/components/tristatecheckbox/tristatecheckbox.component.mjs +89 -0
- package/esm2022/lib/icons.mjs +35 -0
- package/esm2022/lib/index.mjs +6 -0
- package/esm2022/lib/init.service.mjs +17 -0
- package/esm2022/lib/pages/index.mjs +4 -0
- package/esm2022/lib/pages/not-authenticated/index.mjs +2 -0
- package/esm2022/lib/pages/not-authenticated/not-authenticated.component.mjs +17 -0
- package/esm2022/lib/pages/not-authorized/index.mjs +2 -0
- package/esm2022/lib/pages/not-authorized/not-authorized.component.mjs +20 -0
- package/esm2022/lib/pages/not-found/index.mjs +2 -0
- package/esm2022/lib/pages/not-found/not-found.component.mjs +20 -0
- package/esm2022/lib/pipes/color/color.pipe.mjs +27 -0
- package/esm2022/lib/pipes/index.mjs +4 -0
- package/esm2022/lib/pipes/multiselect/multiselect-options.pipe.mjs +52 -0
- package/esm2022/lib/pipes/size/size.pipe.mjs +23 -0
- package/esm2022/verisoft-ui-govcz.mjs +5 -0
- package/fesm2022/verisoft-ui-govcz.mjs +3742 -0
- package/fesm2022/verisoft-ui-govcz.mjs.map +1 -0
- package/index.d.ts +1 -0
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +7 -0
- package/{src/lib/components/breadcrumb/index.ts → lib/components/breadcrumb/index.d.ts} +1 -1
- package/lib/components/button/button.component.d.ts +26 -0
- package/lib/components/button/index.d.ts +1 -0
- package/lib/components/calendar/calendar.component.d.ts +23 -0
- package/lib/components/calendar/index.d.ts +1 -0
- package/lib/components/checkbox/checkbox.component.d.ts +15 -0
- package/lib/components/checkbox/index.d.ts +1 -0
- 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-item.component.d.ts +7 -0
- package/lib/components/dropdown/dropdown.component.d.ts +65 -0
- package/{src/lib/components/dropdown/dropdown.model.ts → lib/components/dropdown/dropdown.model.d.ts} +6 -6
- package/{src/lib/components/dropdown/index.ts → lib/components/dropdown/index.d.ts} +1 -1
- package/lib/components/errors/error.component.d.ts +14 -0
- package/lib/components/errors/index.d.ts +1 -0
- package/lib/components/form-field/form-field.component.d.ts +25 -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 +25 -0
- package/lib/components/header/index.d.ts +1 -0
- package/{src/lib/components/index.ts → lib/components/index.d.ts} +33 -33
- package/lib/components/input-group/index.d.ts +1 -0
- package/lib/components/input-group/input-group.component.d.ts +24 -0
- package/lib/components/loader/index.d.ts +1 -0
- package/lib/components/loader/loader.component.d.ts +8 -0
- package/lib/components/multiselect/index.d.ts +1 -0
- package/lib/components/multiselect/multiselect.component.d.ts +35 -0
- package/lib/components/number-input/index.d.ts +1 -0
- package/lib/components/number-input/number-input.component.d.ts +29 -0
- package/lib/components/page-header/index.d.ts +1 -0
- package/lib/components/page-header/page-header.component.d.ts +9 -0
- package/{src/lib/components/password/index.ts → lib/components/password/index.d.ts} +1 -1
- package/lib/components/password/password.component.d.ts +23 -0
- package/lib/components/radiobutton/index.d.ts +1 -0
- package/lib/components/radiobutton/radiobutton.component.d.ts +12 -0
- package/lib/components/search/index.d.ts +1 -0
- package/lib/components/search/search.component.d.ts +14 -0
- package/lib/components/section/index.d.ts +1 -0
- package/lib/components/section/section.component.d.ts +18 -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 +15 -0
- package/lib/components/side-menu/side-menu.module.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 +18 -0
- package/lib/components/snackbar/snackbar.component.d.ts +18 -0
- package/{src/lib/components/snackbar/snackbar.model.ts → lib/components/snackbar/snackbar.model.d.ts} +10 -10
- package/lib/components/stepper/index.d.ts +1 -0
- package/lib/components/stepper/stepper.component.d.ts +20 -0
- package/lib/components/switch/index.d.ts +1 -0
- package/lib/components/switch/switch.component.d.ts +12 -0
- package/{src/lib/components/tab-view/index.ts → lib/components/tab-view/index.d.ts} +3 -3
- package/lib/components/tab-view/tab-view-item.component.d.ts +14 -0
- package/lib/components/tab-view/tab-view.component.d.ts +19 -0
- package/lib/components/tab-view/tab-view.module.d.ts +12 -0
- package/{src/lib/components/table/index.ts → lib/components/table/index.d.ts} +1 -1
- package/lib/components/table/table-pagination-info.component.d.ts +12 -0
- package/lib/components/table/table.component.d.ts +91 -0
- package/lib/components/table/table.model.d.ts +3 -0
- package/lib/components/textarea/index.d.ts +1 -0
- package/lib/components/textarea/textarea.component.d.ts +25 -0
- package/lib/components/textfield/index.d.ts +1 -0
- package/lib/components/textfield/textfield.component.d.ts +28 -0
- package/lib/components/tooltip/index.d.ts +1 -0
- package/lib/components/tooltip/tooltip.component.d.ts +18 -0
- package/{src/lib/components/tristatecheckbox/index.ts → lib/components/tristatecheckbox/index.d.ts} +1 -1
- package/lib/components/tristatecheckbox/tristatecheckbox.component.d.ts +27 -0
- package/lib/icons.d.ts +2 -0
- package/{src/lib/index.ts → lib/index.d.ts} +5 -5
- package/lib/init.service.d.ts +6 -0
- package/{src/lib/pages/index.ts → lib/pages/index.d.ts} +3 -3
- package/{src/lib/pages/not-authenticated/index.ts → lib/pages/not-authenticated/index.d.ts} +1 -1
- package/lib/pages/not-authenticated/not-authenticated.component.d.ts +5 -0
- package/{src/lib/pages/not-authorized/index.ts → lib/pages/not-authorized/index.d.ts} +1 -1
- package/lib/pages/not-authorized/not-authorized.component.d.ts +6 -0
- package/{src/lib/pages/not-found/index.ts → lib/pages/not-found/index.d.ts} +1 -1
- package/lib/pages/not-found/not-found.component.d.ts +6 -0
- package/lib/pipes/color/color.pipe.d.ts +8 -0
- package/{src/lib/pipes/index.ts → lib/pipes/index.d.ts} +3 -3
- package/lib/pipes/multiselect/multiselect-options.pipe.d.ts +9 -0
- package/lib/pipes/size/size.pipe.d.ts +8 -0
- package/package.json +38 -23
- package/.eslintrc.json +0 -48
- package/jest.config.ts +0 -21
- package/ng-package.json +0 -15
- package/project.json +0 -49
- package/src/assets/main.css +0 -18
- package/src/config.d.ts +0 -10
- package/src/index.ts +0 -1
- package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -23
- package/src/lib/components/breadcrumb/breadcrumb.component.scss +0 -0
- package/src/lib/components/breadcrumb/breadcrumb.component.spec.ts +0 -21
- package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -30
- package/src/lib/components/button/button.component.html +0 -26
- package/src/lib/components/button/button.component.scss +0 -0
- package/src/lib/components/button/button.component.ts +0 -72
- package/src/lib/components/button/index.ts +0 -1
- package/src/lib/components/calendar/calendar.component.html +0 -28
- package/src/lib/components/calendar/calendar.component.scss +0 -0
- package/src/lib/components/calendar/calendar.component.ts +0 -79
- package/src/lib/components/calendar/index.ts +0 -1
- package/src/lib/components/checkbox/checkbox.component.html +0 -23
- package/src/lib/components/checkbox/checkbox.component.scss +0 -0
- package/src/lib/components/checkbox/checkbox.component.ts +0 -62
- package/src/lib/components/checkbox/index.ts +0 -1
- package/src/lib/components/confirm-dialog/confirm-dialog.component.html +0 -50
- package/src/lib/components/confirm-dialog/confirm-dialog.component.scss +0 -4
- package/src/lib/components/confirm-dialog/confirm-dialog.component.ts +0 -80
- package/src/lib/components/dropdown/dropdown-item.component.html +0 -8
- package/src/lib/components/dropdown/dropdown-item.component.ts +0 -18
- package/src/lib/components/dropdown/dropdown.component.html +0 -90
- package/src/lib/components/dropdown/dropdown.component.scss +0 -108
- package/src/lib/components/dropdown/dropdown.component.spec.ts +0 -21
- package/src/lib/components/dropdown/dropdown.component.ts +0 -297
- package/src/lib/components/errors/error.component.html +0 -11
- package/src/lib/components/errors/error.component.scss +0 -0
- package/src/lib/components/errors/error.component.spec.ts +0 -19
- package/src/lib/components/errors/error.component.ts +0 -30
- package/src/lib/components/errors/index.ts +0 -1
- package/src/lib/components/form-field/form-field.component.html +0 -14
- package/src/lib/components/form-field/form-field.component.scss +0 -0
- package/src/lib/components/form-field/form-field.component.spec.ts +0 -21
- package/src/lib/components/form-field/form-field.component.ts +0 -78
- package/src/lib/components/header/header.component.html +0 -122
- package/src/lib/components/header/header.component.scss +0 -0
- package/src/lib/components/header/header.component.ts +0 -91
- package/src/lib/components/header/index.ts +0 -1
- package/src/lib/components/input-group/index.ts +0 -1
- package/src/lib/components/input-group/input-group.component.html +0 -41
- package/src/lib/components/input-group/input-group.component.scss +0 -0
- package/src/lib/components/input-group/input-group.component.ts +0 -77
- package/src/lib/components/loader/index.ts +0 -1
- package/src/lib/components/loader/loader.component.html +0 -7
- package/src/lib/components/loader/loader.component.scss +0 -0
- package/src/lib/components/loader/loader.component.spec.ts +0 -21
- package/src/lib/components/loader/loader.component.ts +0 -33
- package/src/lib/components/multiselect/index.ts +0 -1
- package/src/lib/components/multiselect/multiselect.component.html +0 -21
- package/src/lib/components/multiselect/multiselect.component.scss +0 -0
- package/src/lib/components/multiselect/multiselect.component.spec.ts +0 -21
- package/src/lib/components/multiselect/multiselect.component.ts +0 -119
- package/src/lib/components/number-input/index.ts +0 -1
- package/src/lib/components/number-input/number-input.component.html +0 -48
- package/src/lib/components/number-input/number-input.component.scss +0 -0
- package/src/lib/components/number-input/number-input.component.ts +0 -82
- package/src/lib/components/page-header/index.ts +0 -1
- package/src/lib/components/page-header/page-header.component.html +0 -3
- package/src/lib/components/page-header/page-header.component.scss +0 -11
- package/src/lib/components/page-header/page-header.component.spec.ts +0 -21
- package/src/lib/components/page-header/page-header.component.ts +0 -29
- package/src/lib/components/password/password.component.html +0 -31
- package/src/lib/components/password/password.component.scss +0 -0
- package/src/lib/components/password/password.component.spec.ts +0 -21
- package/src/lib/components/password/password.component.ts +0 -85
- package/src/lib/components/radiobutton/index.ts +0 -1
- package/src/lib/components/radiobutton/radiobutton.component.html +0 -23
- package/src/lib/components/radiobutton/radiobutton.component.scss +0 -0
- package/src/lib/components/radiobutton/radiobutton.component.ts +0 -58
- package/src/lib/components/search/index.ts +0 -1
- package/src/lib/components/search/search.component.html +0 -23
- package/src/lib/components/search/search.component.scss +0 -0
- package/src/lib/components/search/search.component.ts +0 -47
- package/src/lib/components/section/index.ts +0 -1
- package/src/lib/components/section/section.component.html +0 -26
- package/src/lib/components/section/section.component.scss +0 -0
- package/src/lib/components/section/section.component.ts +0 -57
- 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 -25
- package/src/lib/components/side-menu/side-menu.component.scss +0 -23
- package/src/lib/components/side-menu/side-menu.component.ts +0 -42
- package/src/lib/components/side-menu/side-menu.module.ts +0 -64
- package/src/lib/components/sidemenu/index.ts +0 -2
- package/src/lib/components/snackbar/services/snackbar.service.ts +0 -73
- package/src/lib/components/snackbar/snackbar.component.html +0 -14
- package/src/lib/components/snackbar/snackbar.component.scss +0 -0
- package/src/lib/components/snackbar/snackbar.component.spec.ts +0 -21
- package/src/lib/components/snackbar/snackbar.component.ts +0 -45
- package/src/lib/components/stepper/index.ts +0 -1
- package/src/lib/components/stepper/stepper.component.html +0 -35
- package/src/lib/components/stepper/stepper.component.scss +0 -9
- package/src/lib/components/stepper/stepper.component.ts +0 -61
- package/src/lib/components/switch/index.ts +0 -1
- package/src/lib/components/switch/switch.component.html +0 -16
- package/src/lib/components/switch/switch.component.scss +0 -0
- package/src/lib/components/switch/switch.component.ts +0 -37
- package/src/lib/components/tab-view/tab-view-item.component.ts +0 -23
- package/src/lib/components/tab-view/tab-view.component.html +0 -51
- package/src/lib/components/tab-view/tab-view.component.scss +0 -43
- package/src/lib/components/tab-view/tab-view.component.ts +0 -61
- package/src/lib/components/tab-view/tab-view.module.ts +0 -25
- package/src/lib/components/table/table-pagination-info.component.html +0 -9
- package/src/lib/components/table/table-pagination-info.component.ts +0 -22
- package/src/lib/components/table/table.component.html +0 -198
- package/src/lib/components/table/table.component.scss +0 -193
- package/src/lib/components/table/table.component.ts +0 -387
- package/src/lib/components/table/table.model.ts +0 -17
- package/src/lib/components/table/table.models.ts +0 -12
- package/src/lib/components/textarea/index.ts +0 -1
- package/src/lib/components/textarea/textarea.component.html +0 -50
- package/src/lib/components/textarea/textarea.component.scss +0 -0
- package/src/lib/components/textarea/textarea.component.ts +0 -78
- package/src/lib/components/textfield/index.ts +0 -1
- package/src/lib/components/textfield/textfield.component.html +0 -56
- package/src/lib/components/textfield/textfield.component.scss +0 -0
- package/src/lib/components/textfield/textfield.component.ts +0 -114
- package/src/lib/components/tooltip/index.ts +0 -1
- package/src/lib/components/tooltip/tooltip.component.html +0 -10
- package/src/lib/components/tooltip/tooltip.component.scss +0 -0
- package/src/lib/components/tooltip/tooltip.component.ts +0 -57
- 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.ts +0 -103
- package/src/lib/icons.ts +0 -36
- package/src/lib/init.service.ts +0 -11
- package/src/lib/interceptors/http-error-message.interceptor.ts +0 -45
- package/src/lib/pages/bad-request-page/bad-request-page.component.html +0 -5
- package/src/lib/pages/bad-request-page/bad-request-page.component.scss +0 -0
- package/src/lib/pages/bad-request-page/bad-request-page.component.ts +0 -15
- package/src/lib/pages/error-page/error-page.component.html +0 -5
- package/src/lib/pages/error-page/error-page.component.scss +0 -0
- package/src/lib/pages/error-page/error-page.component.ts +0 -32
- package/src/lib/pages/error-page/error-page.constants.ts +0 -19
- package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.html +0 -5
- package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.scss +0 -0
- package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.ts +0 -16
- package/src/lib/pages/not-authenticated/not-authenticated.component.html +0 -5
- package/src/lib/pages/not-authenticated/not-authenticated.component.ts +0 -14
- package/src/lib/pages/not-authorized/not-authorized.component.html +0 -5
- package/src/lib/pages/not-authorized/not-authorized.component.ts +0 -18
- package/src/lib/pages/not-found/not-found.component.html +0 -5
- package/src/lib/pages/not-found/not-found.component.ts +0 -18
- package/src/lib/pages/not-found-page/not-found-page.component.html +0 -6
- package/src/lib/pages/not-found-page/not-found-page.component.scss +0 -0
- package/src/lib/pages/not-found-page/not-found-page.component.ts +0 -16
- package/src/lib/pipes/color/color.pipe.ts +0 -24
- package/src/lib/pipes/multiselect/multiselect-options.pipe.ts +0 -61
- package/src/lib/pipes/size/size.pipe.ts +0 -20
- package/src/test-setup.ts +0 -8
- package/tsconfig.json +0 -30
- package/tsconfig.lib.json +0 -17
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -16
- /package/{src/sass → sass}/header.css +0 -0
- /package/{src/sass → sass}/header.scss +0 -0
- /package/{src/sass → sass}/main.scss +0 -0
- /package/{src/sass → sass}/scrollbar.scss +0 -0
- /package/{src/sass → sass}/sidemenu.css +0 -0
- /package/{src/sass → sass}/vendors/_bootstrap.scss +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component } from "@angular/core";
|
|
2
|
+
import { GovDesignSystemModule } from "@gov-design-system-ce/angular";
|
|
3
|
+
import { ButtonComponent } from "../../components";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@gov-design-system-ce/angular";
|
|
6
|
+
export class NotAuthorizedComponent {
|
|
7
|
+
goBack() {
|
|
8
|
+
history.back();
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: NotAuthorizedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: NotAuthorizedComponent, isStandalone: true, selector: "v-not-authorized", ngImport: i0, template: "<gov-error-code>\r\n <gov-icon type=\"complex\" name=\"card-403\" slot=\"icon\"></gov-icon>\r\n <p>You are not authorized to view this content.</p>\r\n <v-button color=\"primary\" size=\"medium\" type=\"solid\" label=\"Go back\" (click)=\"goBack()\" />\r\n</gov-error-code>\r\n", dependencies: [{ kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i1.GovErrorCode, selector: "gov-error-code" }, { kind: "component", type: i1.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "component", type: ButtonComponent, selector: "v-button", inputs: ["label", "icon", "badge", "iconPos", "disabled", "rounded", "outlined", "raised", "routerLink", "size", "queryParams", "severity", "type", "expanded", "name"], outputs: ["click"] }] });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: NotAuthorizedComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ standalone: true, selector: 'v-not-authorized', imports: [
|
|
16
|
+
GovDesignSystemModule,
|
|
17
|
+
ButtonComponent,
|
|
18
|
+
], template: "<gov-error-code>\r\n <gov-icon type=\"complex\" name=\"card-403\" slot=\"icon\"></gov-icon>\r\n <p>You are not authorized to view this content.</p>\r\n <v-button color=\"primary\" size=\"medium\" type=\"solid\" label=\"Go back\" (click)=\"goBack()\" />\r\n</gov-error-code>\r\n" }]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90LWF1dGhvcml6ZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYnMvdWktZ292Y3ovc3JjL2xpYi9wYWdlcy9ub3QtYXV0aG9yaXplZC9ub3QtYXV0aG9yaXplZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL3BhZ2VzL25vdC1hdXRob3JpemVkL25vdC1hdXRob3JpemVkLmNvbXBvbmVudC5odG1sIl0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ufSlcclxuZXhwb3J0IGNsYXNzIE5vdEF1dGhvcml6ZWRDb21wb25lbnQge1xyXG4gICAgZ29CYWNrKCk6IHZvaWQge1xyXG4gICAgICAgIGhpc3RvcnkuYmFjaygpO1xyXG4gICAgfVxyXG59XHJcbiIsIjxnb3YtZXJyb3ItY29kZT5cclxuICAgIDxnb3YtaWNvbiB0eXBlPVwiY29tcGxleFwiIG5hbWU9XCJjYXJkLTQwM1wiIHNsb3Q9XCJpY29uXCI+PC9nb3YtaWNvbj5cclxuICAgIDxwPllvdSBhcmUgbm90IGF1dGhvcml6ZWQgdG8gdmlldyB0aGlzIGNvbnRlbnQuPC9wPlxyXG4gICAgPHYtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIHNpemU9XCJtZWRpdW1cIiB0eXBlPVwic29saWRcIiBsYWJlbD1cIkdvIGJhY2tcIiAoY2xpY2spPVwiZ29CYWNrKClcIiAvPlxyXG48L2dvdi1lcnJvci1jb2RlPlxyXG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './not-found.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL3BhZ2VzL25vdC1mb3VuZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ub3QtZm91bmQuY29tcG9uZW50JztcclxuIl19
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component } from "@angular/core";
|
|
2
|
+
import { GovDesignSystemModule } from "@gov-design-system-ce/angular";
|
|
3
|
+
import { ButtonComponent } from "../../components";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@gov-design-system-ce/angular";
|
|
6
|
+
export class NotFoundComponent {
|
|
7
|
+
goBack() {
|
|
8
|
+
history.back();
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: NotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: NotFoundComponent, isStandalone: true, selector: "v-not-found", ngImport: i0, template: "<gov-error-code>\r\n <gov-icon type=\"complex\" name=\"card-404\" slot=\"icon\"></gov-icon>\r\n <p>The item you are looking for does not exist.</p>\r\n <v-button color=\"primary\" size=\"medium\" type=\"solid\" label=\"Go back\" (click)=\"goBack()\" />\r\n</gov-error-code>\r\n", dependencies: [{ kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i1.GovErrorCode, selector: "gov-error-code" }, { kind: "component", type: i1.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "component", type: ButtonComponent, selector: "v-button", inputs: ["label", "icon", "badge", "iconPos", "disabled", "rounded", "outlined", "raised", "routerLink", "size", "queryParams", "severity", "type", "expanded", "name"], outputs: ["click"] }] });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: NotFoundComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ standalone: true, selector: 'v-not-found', imports: [
|
|
16
|
+
GovDesignSystemModule,
|
|
17
|
+
ButtonComponent
|
|
18
|
+
], template: "<gov-error-code>\r\n <gov-icon type=\"complex\" name=\"card-404\" slot=\"icon\"></gov-icon>\r\n <p>The item you are looking for does not exist.</p>\r\n <v-button color=\"primary\" size=\"medium\" type=\"solid\" label=\"Go back\" (click)=\"goBack()\" />\r\n</gov-error-code>\r\n" }]
|
|
19
|
+
}] });
|
|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9ydCB7IEJ1dHRvbkNvbXBvbmVudCB9IGZyb20gXCIuLi8uLi9jb21wb25lbnRzXCI7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICAgIHN0YW5kYWxvbmU6IHRydWUsXHJcbiAgICBzZWxlY3RvcjogJ3Ytbm90LWZvdW5kJyxcclxuICAgIHRlbXBsYXRlVXJsOiBcIi4vbm90LWZvdW5kLmNvbXBvbmVudC5odG1sXCIsXHJcbiAgICBpbXBvcnRzOiBbXHJcbiAgICAgICAgR292RGVzaWduU3lzdGVtTW9kdWxlLFxyXG4gICAgICAgIEJ1dHRvbkNvbXBvbmVudFxyXG4gICAgXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIE5vdEZvdW5kQ29tcG9uZW50IHtcclxuICAgIGdvQmFjaygpOiB2b2lkIHtcclxuICAgICAgICBoaXN0b3J5LmJhY2soKTtcclxuICAgIH1cclxufVxyXG4iLCI8Z292LWVycm9yLWNvZGU+XHJcbiAgICA8Z292LWljb24gdHlwZT1cImNvbXBsZXhcIiBuYW1lPVwiY2FyZC00MDRcIiBzbG90PVwiaWNvblwiPjwvZ292LWljb24+XHJcbiAgICA8cD5UaGUgaXRlbSB5b3UgYXJlIGxvb2tpbmcgZm9yIGRvZXMgbm90IGV4aXN0LjwvcD5cclxuICAgIDx2LWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBzaXplPVwibWVkaXVtXCIgdHlwZT1cInNvbGlkXCIgbGFiZWw9XCJHbyBiYWNrXCIgKGNsaWNrKT1cImdvQmFjaygpXCIgLz5cclxuPC9nb3YtZXJyb3ItY29kZT5cclxuIl19
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Pipe } from "@angular/core";
|
|
2
|
+
import { ControlSeverity, GovControlSeverity } from "@verisoft/ui-core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class GovColorPipe {
|
|
5
|
+
transform(color) {
|
|
6
|
+
switch (color) {
|
|
7
|
+
case ControlSeverity.danger:
|
|
8
|
+
return GovControlSeverity.error;
|
|
9
|
+
case ControlSeverity.info:
|
|
10
|
+
return GovControlSeverity.neutral;
|
|
11
|
+
case ControlSeverity.help:
|
|
12
|
+
case ControlSeverity.contrast:
|
|
13
|
+
return GovControlSeverity.primary;
|
|
14
|
+
}
|
|
15
|
+
return color;
|
|
16
|
+
}
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: GovColorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
18
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: GovColorPipe, isStandalone: true, name: "govColor" });
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: GovColorPipe, decorators: [{
|
|
21
|
+
type: Pipe,
|
|
22
|
+
args: [{
|
|
23
|
+
name: 'govColor',
|
|
24
|
+
standalone: true,
|
|
25
|
+
}]
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3IucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvcGlwZXMvY29sb3IvY29sb3IucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsZUFBZSxFQUF1QixrQkFBa0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDOztBQU03RixNQUFNLE9BQU8sWUFBWTtJQUNyQixTQUFTLENBQUMsS0FBc0M7UUFDNUMsUUFBUSxLQUFLLEVBQUUsQ0FBQztZQUNaLEtBQUssZUF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ICAgICAgICAgICAgICByZXR1cm4gR292Q29udHJvbFNldmVyaXR5LmVycm9yO1xyXG4gICAgICAgICAgICBcclxuICAgICAgICAgICAgY2FzZSBDb250cm9sU2V2ZXJpdHkuaW5mbzpcclxuICAgICAgICAgICAgICAgIHJldHVybiBHb3ZDb250cm9sU2V2ZXJpdHkubmV1dHJhbDtcclxuXHJcbiAgICAgICAgICAgIGNhc2UgQ29udHJvbFNldmVyaXR5LmhlbHA6XHJcbiAgICAgICAgICAgIGNhc2UgQ29udHJvbFNldmVyaXR5LmNvbnRyYXN0OlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIEdvdkNvbnRyb2xTZXZlcml0eS5wcmltYXJ5O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIGNvbG9yO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './color/color.pipe';
|
|
2
|
+
export * from './multiselect/multiselect-options.pipe';
|
|
3
|
+
export * from './size/size.pipe';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL3BpcGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb2xvci9jb2xvci5waXBlJztcclxuZXhwb3J0ICogZnJvbSAnLi9tdWx0aXNlbGVjdC9tdWx0aXNlbGVjdC1vcHRpb25zLnBpcGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NpemUvc2l6ZS5waXBlJztcclxuIl19
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class GovMultiselectOptionsPipe {
|
|
4
|
+
transform(options, optionLabel, optionValue, addEmptyOption = false) {
|
|
5
|
+
if (!options?.length)
|
|
6
|
+
return [];
|
|
7
|
+
return this.convertToGovOption(options, addEmptyOption, optionLabel, optionValue);
|
|
8
|
+
}
|
|
9
|
+
convertToGovOption(options, addEmptyOption, optionLabel, optionValue) {
|
|
10
|
+
const convertedOptions = [];
|
|
11
|
+
options.forEach((obj) => {
|
|
12
|
+
let stringKey = '';
|
|
13
|
+
let numberKey = '';
|
|
14
|
+
if (optionLabel && optionValue) {
|
|
15
|
+
stringKey = optionLabel;
|
|
16
|
+
numberKey = optionValue;
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
const keys = Object.keys(obj);
|
|
20
|
+
keys.forEach((key) => {
|
|
21
|
+
if (typeof obj[key] === 'string') {
|
|
22
|
+
stringKey = key;
|
|
23
|
+
}
|
|
24
|
+
else if (typeof obj[key] === 'number') {
|
|
25
|
+
numberKey = key;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
convertedOptions.push({
|
|
30
|
+
label: obj[stringKey],
|
|
31
|
+
value: obj[numberKey]?.toString() ?? 'VALUE NOT SET',
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
if (addEmptyOption) {
|
|
35
|
+
convertedOptions.unshift({
|
|
36
|
+
label: '',
|
|
37
|
+
value: 'null',
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return convertedOptions;
|
|
41
|
+
}
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: GovMultiselectOptionsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
43
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: GovMultiselectOptionsPipe, isStandalone: true, name: "govMultiselectOptions" });
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: GovMultiselectOptionsPipe, decorators: [{
|
|
46
|
+
type: Pipe,
|
|
47
|
+
args: [{
|
|
48
|
+
name: 'govMultiselectOptions',
|
|
49
|
+
standalone: true,
|
|
50
|
+
}]
|
|
51
|
+
}] });
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGlzZWxlY3Qtb3B0aW9ucy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYnMvdWktZ292Y3ovc3JjL2xpYi9waXBlcy9tdWx0aXNlbGVjdC9tdWx0aXNlbGVjdC1vcHRpb25zLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBT3BELE1BQU0sT0FBTyx5QkFBeUI7SUFDcEMsU0FBUyxDQUNQLE9BQTBCLEVBQzFCLFdBQW9CLEVBQ3BCLFdBQW9CLEVBQ3BCLGNBQWMsR0FBRyxLQUFLO1FBRXRCLElBQUksQ0FBQyxPQUFPLEVBQUUsTUFBTTtZQUFFLE9BQU8sRUFBRSxDQUFDO1FBRWhDLE9BQU8sSUFBSSxDQUFDLGtCQUFrQixDQUFDLE9BQU8sRUFBRSxjQUFjLEVBQUUsV0FBVyxFQUFFLFdBQVcsQ0FBQyxDQUFDO0lBQ3BGLENBQUM7SUFFTyxrQkFBa0IsQ0FDeEIsT0FBYyxFQUNkLGNBQXVCLEVBQ3ZCLFdBQW9CLEVBQ3BCLFdBQW9CO1FBRXBCLE1BQU0sZ0JBQWdCLEdBQTZCLEVBQUUsQ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6IG9ialtzdHJpbmdLZXldIGFzIHN0cmluZyxcclxuICAgICAgICB2YWx1ZTogKG9ialtudW1iZXJLZXldIGFzIHN0cmluZyk/LnRvU3RyaW5nKCkgPz8gJ1ZBTFVFIE5PVCBTRVQnLFxyXG4gICAgICB9KTtcclxuICAgIH0pO1xyXG5cclxuICAgIGlmIChhZGRFbXB0eU9wdGlvbikge1xyXG4gICAgICBjb252ZXJ0ZWRPcHRpb25zLnVuc2hpZnQoe1xyXG4gICAgICAgIGxhYmVsOiAnJyxcclxuICAgICAgICB2YWx1ZTogJ251bGwnLFxyXG4gICAgICB9KTtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gY29udmVydGVkT3B0aW9ucztcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Pipe } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class GovSizePipe {
|
|
4
|
+
transform(size) {
|
|
5
|
+
if (size) {
|
|
6
|
+
return size.substring(0, 1);
|
|
7
|
+
}
|
|
8
|
+
if (typeof (size) === 'undefined') {
|
|
9
|
+
return 'm';
|
|
10
|
+
}
|
|
11
|
+
return size;
|
|
12
|
+
}
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: GovSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: GovSizePipe, isStandalone: true, name: "govSize" });
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: GovSizePipe, decorators: [{
|
|
17
|
+
type: Pipe,
|
|
18
|
+
args: [{
|
|
19
|
+
name: 'govSize',
|
|
20
|
+
standalone: true,
|
|
21
|
+
}]
|
|
22
|
+
}] });
|
|
23
|
+
//# sour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UGlwZVRyYW5zZm9ybSB7XHJcbiAgICB0cmFuc2Zvcm0oc2l6ZTogRmllbGRTaXplVHlwZSB8IHVuZGVmaW5lZCk6IHN0cmluZyB8IHVuZGVmaW5lZCB7XHJcbiAgICAgICAgaWYgKHNpemUpIHtcclxuICAgICAgICAgICAgcmV0dXJuIHNpemUuc3Vic3RyaW5nKDAsIDEpO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgaWYgKHR5cGVvZihzaXplKSA9PT0gJ3VuZGVmaW5lZCcpIHtcclxuICAgICAgICAgICAgcmV0dXJuICdtJztcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIHJldHVybiBzaXplO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyaXNvZnQtdWktZ292Y3ouanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvdmVyaXNvZnQtdWktZ292Y3oudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|