@verisoft/ui-govcz 18.6.2 → 18.6.3
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/.eslintrc.json +48 -0
- package/assets/i18n/cs.json +9 -0
- package/assets/i18n/en.json +9 -0
- package/assets/icons/components/24-7.svg +12 -0
- package/assets/icons/components/NO-ICON.svg +2 -0
- package/assets/icons/components/add.svg +6 -0
- package/assets/icons/components/all.svg +3 -0
- package/assets/icons/components/arrival.svg +12 -0
- package/assets/icons/components/arrow-left.svg +3 -0
- package/assets/icons/components/arrow-right.svg +3 -0
- package/assets/icons/components/bars.svg +3 -0
- package/assets/icons/components/bell.svg +4 -0
- package/assets/icons/components/big-help.svg +12 -0
- package/assets/icons/components/book.svg +10 -0
- package/assets/icons/components/bookmarks.svg +11 -0
- package/assets/icons/components/box-arrow-up-right.svg +11 -0
- package/assets/icons/components/business-file.svg +14 -0
- package/assets/icons/components/businessman.svg +3 -0
- package/assets/icons/components/cactus.svg +14 -0
- package/assets/icons/components/calendar.svg +3 -0
- package/assets/icons/components/camera.svg +5 -0
- package/assets/icons/components/car.svg +5 -0
- package/assets/icons/components/card-400.svg +11 -0
- package/assets/icons/components/card-401.svg +11 -0
- package/assets/icons/components/card-403.svg +11 -0
- package/assets/icons/components/card-404.svg +11 -0
- package/assets/icons/components/card-500.svg +11 -0
- package/assets/icons/components/card-502.svg +11 -0
- package/assets/icons/components/card-503.svg +12 -0
- package/assets/icons/components/card-504.svg +15 -0
- package/assets/icons/components/caret-right-fill.svg +3 -0
- package/assets/icons/components/certification.svg +14 -0
- package/assets/icons/components/chamber-deputies-cr.svg +11 -0
- package/assets/icons/components/chamber-deputies.svg +13 -0
- package/assets/icons/components/chat.svg +11 -0
- package/assets/icons/components/check-circle.svg +4 -0
- package/assets/icons/components/check-lg.svg +3 -0
- package/assets/icons/components/chevron-double-left.svg +4 -0
- package/assets/icons/components/chevron-double-right.svg +4 -0
- package/assets/icons/components/chevron-down.svg +3 -0
- package/assets/icons/components/chevron-left.svg +3 -0
- package/assets/icons/components/chevron-right.svg +3 -0
- package/assets/icons/components/chevron-up.svg +3 -0
- package/assets/icons/components/cities.svg +17 -0
- package/assets/icons/components/city-office.svg +17 -0
- package/assets/icons/components/coins.svg +14 -0
- package/assets/icons/components/communication.svg +4 -0
- package/assets/icons/components/confusion.svg +8 -0
- package/assets/icons/components/contact.svg +6 -0
- package/assets/icons/components/copy.svg +10 -0
- package/assets/icons/components/court.svg +5 -0
- package/assets/icons/components/covid.svg +5 -0
- package/assets/icons/components/czech-lion.svg +134 -0
- package/assets/icons/components/dash-lg.svg +3 -0
- package/assets/icons/components/diagram.svg +3 -0
- package/assets/icons/components/digital.svg +10 -0
- package/assets/icons/components/disability.svg +5 -0
- package/assets/icons/components/doc-agreement.svg +7 -0
- package/assets/icons/components/doc-basic-info.svg +18 -0
- package/assets/icons/components/doc-business.svg +8 -0
- package/assets/icons/components/doc-car-point-list.svg +16 -0
- package/assets/icons/components/doc-diploma.svg +17 -0
- package/assets/icons/components/doc-driver-info.svg +8 -0
- package/assets/icons/components/doc-election.svg +13 -0
- package/assets/icons/components/doc-filled.svg +16 -0
- package/assets/icons/components/doc-health.svg +3 -0
- package/assets/icons/components/doc-judgment.svg +8 -0
- package/assets/icons/components/doc-patient.svg +8 -0
- package/assets/icons/components/doc-personal-info.svg +11 -0
- package/assets/icons/components/doc-petition.svg +8 -0
- package/assets/icons/components/doc-registers.svg +7 -0
- package/assets/icons/components/doc-review.svg +20 -0
- package/assets/icons/components/doc-search.svg +8 -0
- package/assets/icons/components/doc-stamp.svg +15 -0
- package/assets/icons/components/doc-state.svg +13 -0
- package/assets/icons/components/doc-taxes.svg +16 -0
- package/assets/icons/components/doc-universal.svg +13 -0
- package/assets/icons/components/doc-visa.svg +14 -0
- package/assets/icons/components/documents.svg +11 -0
- package/assets/icons/components/download.svg +4 -0
- package/assets/icons/components/driver-file.svg +14 -0
- package/assets/icons/components/driver.svg +7 -0
- package/assets/icons/components/driving-licence.svg +7 -0
- package/assets/icons/components/email-notification.svg +12 -0
- package/assets/icons/components/empty-file.svg +13 -0
- package/assets/icons/components/energy.svg +11 -0
- package/assets/icons/components/envelope-fill.svg +3 -0
- package/assets/icons/components/envelope.svg +3 -0
- package/assets/icons/components/error.svg +12 -0
- package/assets/icons/components/european-parliament.svg +11 -0
- package/assets/icons/components/exclamation-lg.svg +3 -0
- package/assets/icons/components/exclamation-triangle-fill.svg +10 -0
- package/assets/icons/components/export.svg +13 -0
- package/assets/icons/components/eye.svg +4 -0
- package/assets/icons/components/family.svg +12 -0
- package/assets/icons/components/fast-forward.svg +1 -0
- package/assets/icons/components/filter.svg +3 -0
- package/assets/icons/components/gear.svg +11 -0
- package/assets/icons/components/geo-alt-fill.svg +10 -0
- package/assets/icons/components/globe.svg +12 -0
- package/assets/icons/components/graduate.svg +4 -0
- package/assets/icons/components/group.svg +3 -0
- package/assets/icons/components/hand-503.svg +10 -0
- package/assets/icons/components/hand-504.svg +7 -0
- package/assets/icons/components/hand.svg +14 -0
- package/assets/icons/components/health.svg +5 -0
- package/assets/icons/components/help.svg +4 -0
- package/assets/icons/components/history.svg +4 -0
- package/assets/icons/components/holiday.svg +13 -0
- package/assets/icons/components/hourglass.svg +4 -0
- package/assets/icons/components/house-door-fill.svg +3 -0
- package/assets/icons/components/house.svg +13 -0
- package/assets/icons/components/id-card.svg +6 -0
- package/assets/icons/components/id-info.svg +9 -0
- package/assets/icons/components/id.svg +6 -0
- package/assets/icons/components/illness.svg +9 -0
- package/assets/icons/components/info-circle-fill.svg +10 -0
- package/assets/icons/components/info-circle.svg +11 -0
- package/assets/icons/components/info-list.svg +14 -0
- package/assets/icons/components/info.svg +3 -0
- package/assets/icons/components/institute-file.svg +23 -0
- package/assets/icons/components/institution.svg +10 -0
- package/assets/icons/components/job-loss.svg +4 -0
- package/assets/icons/components/job.svg +3 -0
- package/assets/icons/components/lightbulb-fill.svg +10 -0
- package/assets/icons/components/list.svg +3 -0
- package/assets/icons/components/loader.svg +3 -0
- package/assets/icons/components/login.svg +11 -0
- package/assets/icons/components/logout.svg +13 -0
- package/assets/icons/components/map.svg +11 -0
- package/assets/icons/components/mobile-phone.svg +13 -0
- package/assets/icons/components/moon.svg +10 -0
- package/assets/icons/components/mouse.svg +3 -0
- package/assets/icons/components/my-filing.svg +15 -0
- package/assets/icons/components/my-state-data.svg +19 -0
- package/assets/icons/components/new-comments.svg +6 -0
- package/assets/icons/components/newborn.svg +16 -0
- package/assets/icons/components/news.svg +20 -0
- package/assets/icons/components/packet.svg +11 -0
- package/assets/icons/components/passport.svg +7 -0
- package/assets/icons/components/pencil.svg +3 -0
- package/assets/icons/components/personal-file.svg +14 -0
- package/assets/icons/components/pet.svg +10 -0
- package/assets/icons/components/petrol-station.svg +14 -0
- package/assets/icons/components/pills.svg +4 -0
- package/assets/icons/components/plus-lg.svg +3 -0
- package/assets/icons/components/population-register.svg +12 -0
- package/assets/icons/components/port-card.svg +8 -0
- package/assets/icons/components/portal.svg +8 -0
- package/assets/icons/components/pregnant.svg +11 -0
- package/assets/icons/components/president.svg +13 -0
- package/assets/icons/components/presidential-election.svg +12 -0
- package/assets/icons/components/print-fill.svg +4 -0
- package/assets/icons/components/profile-settings.svg +13 -0
- package/assets/icons/components/property.svg +4 -0
- package/assets/icons/components/question-circle.svg +4 -0
- package/assets/icons/components/queue.svg +13 -0
- package/assets/icons/components/quotes.svg +6 -0
- package/assets/icons/components/region.svg +11 -0
- package/assets/icons/components/regional-elections-clear.svg +11 -0
- package/assets/icons/components/regional-elections.svg +12 -0
- package/assets/icons/components/register-of-persons.svg +7 -0
- package/assets/icons/components/retiree.svg +8 -0
- package/assets/icons/components/rings.svg +5 -0
- package/assets/icons/components/search.svg +10 -0
- package/assets/icons/components/senate.svg +11 -0
- package/assets/icons/components/senior.svg +4 -0
- package/assets/icons/components/settings.svg +13 -0
- package/assets/icons/components/simple-envelope.svg +3 -0
- package/assets/icons/components/sms-notification.svg +7 -0
- package/assets/icons/components/sos.svg +6 -0
- package/assets/icons/components/star-fill.svg +10 -0
- package/assets/icons/components/state-file.svg +8 -0
- package/assets/icons/components/sun.svg +10 -0
- package/assets/icons/components/telephone.svg +10 -0
- package/assets/icons/components/three-dots-vertical.svg +3 -0
- package/assets/icons/components/time.svg +4 -0
- package/assets/icons/components/tombstone.svg +7 -0
- package/assets/icons/components/trash.svg +6 -0
- package/assets/icons/components/twitter-x.svg +10 -0
- package/assets/icons/components/upload.svg +4 -0
- package/assets/icons/components/user-login.svg +13 -0
- package/assets/icons/components/user.svg +3 -0
- package/assets/icons/components/vaccine.svg +11 -0
- package/assets/icons/components/x-circle.svg +4 -0
- package/assets/icons/components/x-lg.svg +3 -0
- package/assets/icons/components/x.svg +3 -0
- package/assets/logos/v-logo.svg +4 -0
- package/jest.config.ts +21 -0
- package/ng-package.json +15 -0
- package/package.json +23 -38
- package/project.json +49 -0
- package/src/assets/main.css +18 -0
- package/src/config.d.ts +10 -0
- package/src/index.ts +1 -0
- package/src/lib/components/breadcrumb/breadcrumb.component.html +23 -0
- package/src/lib/components/breadcrumb/breadcrumb.component.scss +0 -0
- package/src/lib/components/breadcrumb/breadcrumb.component.spec.ts +21 -0
- package/src/lib/components/breadcrumb/breadcrumb.component.ts +30 -0
- package/{lib/components/breadcrumb/index.d.ts → src/lib/components/breadcrumb/index.ts} +1 -1
- package/src/lib/components/button/button.component.html +26 -0
- package/src/lib/components/button/button.component.scss +0 -0
- package/src/lib/components/button/button.component.ts +72 -0
- package/src/lib/components/button/index.ts +1 -0
- package/src/lib/components/calendar/calendar.component.html +28 -0
- package/src/lib/components/calendar/calendar.component.scss +0 -0
- package/src/lib/components/calendar/calendar.component.ts +79 -0
- package/src/lib/components/calendar/index.ts +1 -0
- package/src/lib/components/checkbox/checkbox.component.html +23 -0
- package/src/lib/components/checkbox/checkbox.component.scss +0 -0
- package/src/lib/components/checkbox/checkbox.component.ts +62 -0
- package/src/lib/components/checkbox/index.ts +1 -0
- package/src/lib/components/confirm-dialog/confirm-dialog.component.html +50 -0
- package/src/lib/components/confirm-dialog/confirm-dialog.component.scss +4 -0
- package/src/lib/components/confirm-dialog/confirm-dialog.component.ts +80 -0
- package/{lib/components/confirm-dialog/index.d.ts → src/lib/components/confirm-dialog/index.ts} +1 -1
- package/src/lib/components/dropdown/dropdown-item.component.html +8 -0
- package/src/lib/components/dropdown/dropdown-item.component.ts +18 -0
- package/src/lib/components/dropdown/dropdown.component.html +90 -0
- package/src/lib/components/dropdown/dropdown.component.scss +108 -0
- package/src/lib/components/dropdown/dropdown.component.spec.ts +21 -0
- package/src/lib/components/dropdown/dropdown.component.ts +297 -0
- package/{lib/components/dropdown/dropdown.model.d.ts → src/lib/components/dropdown/dropdown.model.ts} +6 -6
- package/{lib/components/dropdown/index.d.ts → src/lib/components/dropdown/index.ts} +1 -1
- package/src/lib/components/errors/error.component.html +11 -0
- package/src/lib/components/errors/error.component.scss +0 -0
- package/src/lib/components/errors/error.component.spec.ts +19 -0
- package/src/lib/components/errors/error.component.ts +30 -0
- package/src/lib/components/errors/index.ts +1 -0
- package/src/lib/components/form-field/form-field.component.html +14 -0
- package/src/lib/components/form-field/form-field.component.scss +0 -0
- package/src/lib/components/form-field/form-field.component.spec.ts +21 -0
- package/src/lib/components/form-field/form-field.component.ts +78 -0
- package/{lib/components/form-field/index.d.ts → src/lib/components/form-field/index.ts} +1 -1
- package/src/lib/components/header/header.component.html +122 -0
- package/src/lib/components/header/header.component.scss +0 -0
- package/src/lib/components/header/header.component.ts +91 -0
- package/src/lib/components/header/index.ts +1 -0
- package/{lib/components/index.d.ts → src/lib/components/index.ts} +33 -33
- package/src/lib/components/input-group/index.ts +1 -0
- package/src/lib/components/input-group/input-group.component.html +41 -0
- package/src/lib/components/input-group/input-group.component.scss +0 -0
- package/src/lib/components/input-group/input-group.component.ts +77 -0
- package/src/lib/components/loader/index.ts +1 -0
- package/src/lib/components/loader/loader.component.html +7 -0
- package/src/lib/components/loader/loader.component.scss +0 -0
- package/src/lib/components/loader/loader.component.spec.ts +21 -0
- package/src/lib/components/loader/loader.component.ts +33 -0
- package/src/lib/components/multiselect/index.ts +1 -0
- package/src/lib/components/multiselect/multiselect.component.html +21 -0
- package/src/lib/components/multiselect/multiselect.component.scss +0 -0
- package/src/lib/components/multiselect/multiselect.component.spec.ts +21 -0
- package/src/lib/components/multiselect/multiselect.component.ts +119 -0
- package/src/lib/components/number-input/index.ts +1 -0
- package/src/lib/components/number-input/number-input.component.html +48 -0
- package/src/lib/components/number-input/number-input.component.scss +0 -0
- package/src/lib/components/number-input/number-input.component.ts +82 -0
- package/src/lib/components/page-header/index.ts +1 -0
- package/src/lib/components/page-header/page-header.component.html +3 -0
- package/src/lib/components/page-header/page-header.component.scss +11 -0
- package/src/lib/components/page-header/page-header.component.spec.ts +21 -0
- package/src/lib/components/page-header/page-header.component.ts +29 -0
- package/{lib/components/password/index.d.ts → src/lib/components/password/index.ts} +1 -1
- package/src/lib/components/password/password.component.html +31 -0
- package/src/lib/components/password/password.component.scss +0 -0
- package/src/lib/components/password/password.component.spec.ts +21 -0
- package/src/lib/components/password/password.component.ts +85 -0
- package/src/lib/components/radiobutton/index.ts +1 -0
- package/src/lib/components/radiobutton/radiobutton.component.html +23 -0
- package/src/lib/components/radiobutton/radiobutton.component.scss +0 -0
- package/src/lib/components/radiobutton/radiobutton.component.ts +58 -0
- package/src/lib/components/search/index.ts +1 -0
- package/src/lib/components/search/search.component.html +23 -0
- package/src/lib/components/search/search.component.scss +0 -0
- package/src/lib/components/search/search.component.ts +47 -0
- package/src/lib/components/section/index.ts +1 -0
- package/src/lib/components/section/section.component.html +26 -0
- package/src/lib/components/section/section.component.scss +0 -0
- package/src/lib/components/section/section.component.ts +57 -0
- package/src/lib/components/shared-components/action-button-group/action-button-group.component.html +27 -0
- 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 +21 -0
- package/src/lib/components/shared-components/action-button-group/action-button-group.component.ts +114 -0
- package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.html +11 -0
- 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 +21 -0
- package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.ts +71 -0
- package/{lib/components/shared-components/action-button-group/index.d.ts → src/lib/components/shared-components/action-button-group/index.ts} +2 -2
- package/src/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.ts +142 -0
- package/src/lib/components/shared-components/dynamic-component/dynamic-component.component.ts +56 -0
- package/{lib/components/shared-components/dynamic-component/index.d.ts → src/lib/components/shared-components/dynamic-component/index.ts} +2 -2
- package/src/lib/components/shared-components/feature-list/directives/feature-list-column.directive.ts +32 -0
- package/src/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.ts +8 -0
- package/src/lib/components/shared-components/feature-list/feature-list-filter.pipe.ts +21 -0
- package/src/lib/components/shared-components/feature-list/feature-list-page.component.ts +31 -0
- package/src/lib/components/shared-components/feature-list/feature-list-page.model.ts +42 -0
- package/src/lib/components/shared-components/feature-list/feature-list.component.html +59 -0
- package/src/lib/components/shared-components/feature-list/feature-list.component.scss +10 -0
- package/src/lib/components/shared-components/feature-list/feature-list.component.ts +342 -0
- package/{lib/components/shared-components/feature-list/index.d.ts → src/lib/components/shared-components/feature-list/index.ts} +5 -5
- package/src/lib/components/shared-components/filter/directives/filter-field.directive.ts +35 -0
- package/src/lib/components/shared-components/filter/filter.component.html +68 -0
- package/src/lib/components/shared-components/filter/filter.component.scss +0 -0
- package/src/lib/components/shared-components/filter/filter.component.spec.ts +21 -0
- package/src/lib/components/shared-components/filter/filter.component.stories.ts +23 -0
- package/src/lib/components/shared-components/filter/filter.component.ts +284 -0
- package/src/lib/components/shared-components/filter/filter.model.ts +18 -0
- package/{lib/components/shared-components/filter/index.d.ts → src/lib/components/shared-components/filter/index.ts} +2 -2
- package/src/lib/components/shared-components/generic-field/generic-field.component.html +97 -0
- package/src/lib/components/shared-components/generic-field/generic-field.component.spec.ts +21 -0
- package/src/lib/components/shared-components/generic-field/generic-field.component.ts +94 -0
- package/{lib/components/shared-components/generic-field/index.d.ts → src/lib/components/shared-components/generic-field/index.ts} +1 -1
- package/src/lib/components/shared-components/generic-form/generic-form.component.html +46 -0
- package/src/lib/components/shared-components/generic-form/generic-form.component.spec.ts +21 -0
- package/src/lib/components/shared-components/generic-form/generic-form.component.ts +57 -0
- package/src/lib/components/shared-components/generic-form/generic-form.model.spec.ts +82 -0
- package/src/lib/components/shared-components/generic-form/generic-form.model.ts +68 -0
- package/{lib/components/shared-components/generic-form/index.d.ts → src/lib/components/shared-components/generic-form/index.ts} +2 -2
- package/{lib/components/shared-components/index.d.ts → src/lib/components/shared-components/index.ts} +6 -6
- package/{lib/components/side-menu/index.d.ts → src/lib/components/side-menu/index.ts} +2 -2
- package/src/lib/components/side-menu/side-menu.component.html +25 -0
- package/src/lib/components/side-menu/side-menu.component.scss +23 -0
- package/src/lib/components/side-menu/side-menu.component.ts +42 -0
- package/src/lib/components/side-menu/side-menu.module.ts +64 -0
- package/src/lib/components/sidemenu/index.ts +2 -0
- package/{lib/components/snackbar/index.d.ts → src/lib/components/snackbar/index.ts} +2 -2
- package/src/lib/components/snackbar/services/snackbar.service.ts +73 -0
- package/src/lib/components/snackbar/snackbar.component.html +14 -0
- package/src/lib/components/snackbar/snackbar.component.scss +0 -0
- package/src/lib/components/snackbar/snackbar.component.spec.ts +21 -0
- package/src/lib/components/snackbar/snackbar.component.ts +45 -0
- package/{lib/components/snackbar/snackbar.model.d.ts → src/lib/components/snackbar/snackbar.model.ts} +10 -10
- package/src/lib/components/stepper/index.ts +1 -0
- package/src/lib/components/stepper/stepper.component.html +35 -0
- package/src/lib/components/stepper/stepper.component.scss +9 -0
- package/src/lib/components/stepper/stepper.component.ts +61 -0
- package/src/lib/components/switch/index.ts +1 -0
- package/src/lib/components/switch/switch.component.html +16 -0
- package/src/lib/components/switch/switch.component.scss +0 -0
- package/src/lib/components/switch/switch.component.ts +37 -0
- package/{lib/components/tab-view/index.d.ts → src/lib/components/tab-view/index.ts} +3 -3
- package/src/lib/components/tab-view/tab-view-item.component.ts +23 -0
- package/src/lib/components/tab-view/tab-view.component.html +51 -0
- package/src/lib/components/tab-view/tab-view.component.scss +43 -0
- package/src/lib/components/tab-view/tab-view.component.ts +61 -0
- package/src/lib/components/tab-view/tab-view.module.ts +25 -0
- package/{lib/components/table/index.d.ts → src/lib/components/table/index.ts} +1 -1
- package/src/lib/components/table/table-pagination-info.component.html +9 -0
- package/src/lib/components/table/table-pagination-info.component.ts +22 -0
- package/src/lib/components/table/table.component.html +198 -0
- package/src/lib/components/table/table.component.scss +193 -0
- package/src/lib/components/table/table.component.ts +387 -0
- package/src/lib/components/table/table.model.ts +17 -0
- package/src/lib/components/table/table.models.ts +12 -0
- package/src/lib/components/textarea/index.ts +1 -0
- package/src/lib/components/textarea/textarea.component.html +50 -0
- package/src/lib/components/textarea/textarea.component.scss +0 -0
- package/src/lib/components/textarea/textarea.component.ts +78 -0
- package/src/lib/components/textfield/index.ts +1 -0
- package/src/lib/components/textfield/textfield.component.html +56 -0
- package/src/lib/components/textfield/textfield.component.scss +0 -0
- package/src/lib/components/textfield/textfield.component.ts +114 -0
- package/src/lib/components/tooltip/index.ts +1 -0
- package/src/lib/components/tooltip/tooltip.component.html +10 -0
- package/src/lib/components/tooltip/tooltip.component.scss +0 -0
- package/src/lib/components/tooltip/tooltip.component.ts +57 -0
- package/{lib/components/tristatecheckbox/index.d.ts → src/lib/components/tristatecheckbox/index.ts} +1 -1
- package/src/lib/components/tristatecheckbox/tristatecheckbox.component.html +23 -0
- package/src/lib/components/tristatecheckbox/tristatecheckbox.component.scss +0 -0
- package/src/lib/components/tristatecheckbox/tristatecheckbox.component.ts +103 -0
- package/src/lib/icons.ts +36 -0
- package/{lib/index.d.ts → src/lib/index.ts} +5 -5
- package/src/lib/init.service.ts +11 -0
- package/src/lib/interceptors/http-error-message.interceptor.ts +45 -0
- package/src/lib/pages/bad-request-page/bad-request-page.component.html +5 -0
- 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 +15 -0
- package/src/lib/pages/error-page/error-page.component.html +5 -0
- package/src/lib/pages/error-page/error-page.component.scss +0 -0
- package/src/lib/pages/error-page/error-page.component.ts +32 -0
- package/src/lib/pages/error-page/error-page.constants.ts +19 -0
- package/{lib/pages/index.d.ts → src/lib/pages/index.ts} +3 -3
- package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.html +5 -0
- 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 +16 -0
- package/{lib/pages/not-authenticated/index.d.ts → src/lib/pages/not-authenticated/index.ts} +1 -1
- package/src/lib/pages/not-authenticated/not-authenticated.component.html +5 -0
- package/src/lib/pages/not-authenticated/not-authenticated.component.ts +14 -0
- package/{lib/pages/not-authorized/index.d.ts → src/lib/pages/not-authorized/index.ts} +1 -1
- package/src/lib/pages/not-authorized/not-authorized.component.html +5 -0
- package/src/lib/pages/not-authorized/not-authorized.component.ts +18 -0
- package/{lib/pages/not-found/index.d.ts → src/lib/pages/not-found/index.ts} +1 -1
- package/src/lib/pages/not-found/not-found.component.html +5 -0
- package/src/lib/pages/not-found/not-found.component.ts +18 -0
- package/src/lib/pages/not-found-page/not-found-page.component.html +6 -0
- 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 +16 -0
- package/src/lib/pipes/color/color.pipe.ts +24 -0
- package/{lib/pipes/index.d.ts → src/lib/pipes/index.ts} +3 -3
- package/src/lib/pipes/multiselect/multiselect-options.pipe.ts +61 -0
- package/src/lib/pipes/size/size.pipe.ts +20 -0
- package/src/sass/header.css +526 -0
- package/src/sass/header.scss +480 -0
- package/src/sass/main.scss +246 -0
- package/src/sass/scrollbar.scss +22 -0
- package/src/sass/sidemenu.css +205 -0
- package/src/sass/vendors/_bootstrap.scss +2 -0
- package/src/test-setup.ts +8 -0
- package/tsconfig.json +30 -0
- package/tsconfig.lib.json +17 -0
- package/tsconfig.lib.prod.json +9 -0
- package/tsconfig.spec.json +16 -0
- package/esm2022/index.mjs +0 -2
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -34
- package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
- package/esm2022/lib/components/button/button.component.mjs +0 -87
- package/esm2022/lib/components/button/index.mjs +0 -2
- package/esm2022/lib/components/calendar/calendar.component.mjs +0 -87
- package/esm2022/lib/components/calendar/index.mjs +0 -2
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -62
- package/esm2022/lib/components/checkbox/index.mjs +0 -2
- package/esm2022/lib/components/confirm-dialog/confirm-dialog.component.mjs +0 -72
- package/esm2022/lib/components/confirm-dialog/index.mjs +0 -2
- package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +0 -14
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -280
- package/esm2022/lib/components/dropdown/dropdown.model.mjs +0 -2
- package/esm2022/lib/components/dropdown/index.mjs +0 -2
- package/esm2022/lib/components/errors/error.component.mjs +0 -34
- package/esm2022/lib/components/errors/index.mjs +0 -2
- package/esm2022/lib/components/form-field/form-field.component.mjs +0 -92
- package/esm2022/lib/components/form-field/index.mjs +0 -2
- package/esm2022/lib/components/header/header.component.mjs +0 -85
- package/esm2022/lib/components/header/index.mjs +0 -2
- package/esm2022/lib/components/index.mjs +0 -34
- package/esm2022/lib/components/input-group/index.mjs +0 -2
- package/esm2022/lib/components/input-group/input-group.component.mjs +0 -89
- package/esm2022/lib/components/loader/index.mjs +0 -2
- package/esm2022/lib/components/loader/loader.component.mjs +0 -34
- package/esm2022/lib/components/multiselect/index.mjs +0 -2
- package/esm2022/lib/components/multiselect/multiselect.component.mjs +0 -121
- package/esm2022/lib/components/number-input/index.mjs +0 -2
- package/esm2022/lib/components/number-input/number-input.component.mjs +0 -104
- package/esm2022/lib/components/page-header/index.mjs +0 -2
- package/esm2022/lib/components/page-header/page-header.component.mjs +0 -28
- package/esm2022/lib/components/password/index.mjs +0 -2
- package/esm2022/lib/components/password/password.component.mjs +0 -94
- package/esm2022/lib/components/radiobutton/index.mjs +0 -2
- package/esm2022/lib/components/radiobutton/radiobutton.component.mjs +0 -50
- package/esm2022/lib/components/search/index.mjs +0 -2
- package/esm2022/lib/components/search/search.component.mjs +0 -40
- package/esm2022/lib/components/section/index.mjs +0 -2
- package/esm2022/lib/components/section/section.component.mjs +0 -70
- package/esm2022/lib/components/shared-components/action-button-group/action-button-group.component.mjs +0 -97
- package/esm2022/lib/components/shared-components/action-button-group/components/action-button/action-button.component.mjs +0 -64
- package/esm2022/lib/components/shared-components/action-button-group/index.mjs +0 -3
- package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.mjs +0 -91
- package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component.component.mjs +0 -42
- package/esm2022/lib/components/shared-components/dynamic-component/index.mjs +0 -3
- package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-column.directive.mjs +0 -43
- package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.mjs +0 -16
- package/esm2022/lib/components/shared-components/feature-list/feature-list-filter.pipe.mjs +0 -24
- package/esm2022/lib/components/shared-components/feature-list/feature-list-page.component.mjs +0 -43
- package/esm2022/lib/components/shared-components/feature-list/feature-list-page.model.mjs +0 -16
- package/esm2022/lib/components/shared-components/feature-list/feature-list.component.mjs +0 -285
- package/esm2022/lib/components/shared-components/feature-list/index.mjs +0 -6
- package/esm2022/lib/components/shared-components/filter/directives/filter-field.directive.mjs +0 -53
- package/esm2022/lib/components/shared-components/filter/filter.component.mjs +0 -195
- package/esm2022/lib/components/shared-components/filter/filter.model.mjs +0 -16
- package/esm2022/lib/components/shared-components/filter/index.mjs +0 -3
- package/esm2022/lib/components/shared-components/generic-field/generic-field.component.mjs +0 -98
- package/esm2022/lib/components/shared-components/generic-field/index.mjs +0 -2
- package/esm2022/lib/components/shared-components/generic-form/generic-form.component.mjs +0 -46
- package/esm2022/lib/components/shared-components/generic-form/generic-form.model.mjs +0 -50
- package/esm2022/lib/components/shared-components/generic-form/index.mjs +0 -3
- package/esm2022/lib/components/shared-components/index.mjs +0 -7
- package/esm2022/lib/components/side-menu/index.mjs +0 -3
- package/esm2022/lib/components/side-menu/side-menu.component.mjs +0 -48
- package/esm2022/lib/components/side-menu/side-menu.module.mjs +0 -73
- package/esm2022/lib/components/snackbar/index.mjs +0 -3
- package/esm2022/lib/components/snackbar/services/snackbar.service.mjs +0 -75
- package/esm2022/lib/components/snackbar/snackbar.component.mjs +0 -61
- package/esm2022/lib/components/snackbar/snackbar.model.mjs +0 -2
- package/esm2022/lib/components/stepper/index.mjs +0 -2
- package/esm2022/lib/components/stepper/stepper.component.mjs +0 -66
- package/esm2022/lib/components/switch/index.mjs +0 -2
- package/esm2022/lib/components/switch/switch.component.mjs +0 -45
- package/esm2022/lib/components/tab-view/index.mjs +0 -4
- package/esm2022/lib/components/tab-view/tab-view-item.component.mjs +0 -41
- package/esm2022/lib/components/tab-view/tab-view.component.mjs +0 -56
- package/esm2022/lib/components/tab-view/tab-view.module.mjs +0 -41
- package/esm2022/lib/components/table/index.mjs +0 -2
- package/esm2022/lib/components/table/table-pagination-info.component.mjs +0 -32
- package/esm2022/lib/components/table/table.component.mjs +0 -359
- package/esm2022/lib/components/table/table.model.mjs +0 -14
- package/esm2022/lib/components/textarea/index.mjs +0 -2
- package/esm2022/lib/components/textarea/textarea.component.mjs +0 -95
- package/esm2022/lib/components/textfield/index.mjs +0 -2
- package/esm2022/lib/components/textfield/textfield.component.mjs +0 -124
- package/esm2022/lib/components/tooltip/index.mjs +0 -2
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -66
- package/esm2022/lib/components/tristatecheckbox/index.mjs +0 -2
- package/esm2022/lib/components/tristatecheckbox/tristatecheckbox.component.mjs +0 -89
- package/esm2022/lib/icons.mjs +0 -35
- package/esm2022/lib/index.mjs +0 -6
- package/esm2022/lib/init.service.mjs +0 -17
- package/esm2022/lib/pages/index.mjs +0 -4
- package/esm2022/lib/pages/not-authenticated/index.mjs +0 -2
- package/esm2022/lib/pages/not-authenticated/not-authenticated.component.mjs +0 -17
- package/esm2022/lib/pages/not-authorized/index.mjs +0 -2
- package/esm2022/lib/pages/not-authorized/not-authorized.component.mjs +0 -20
- package/esm2022/lib/pages/not-found/index.mjs +0 -2
- package/esm2022/lib/pages/not-found/not-found.component.mjs +0 -20
- package/esm2022/lib/pipes/color/color.pipe.mjs +0 -27
- package/esm2022/lib/pipes/index.mjs +0 -4
- package/esm2022/lib/pipes/multiselect/multiselect-options.pipe.mjs +0 -52
- package/esm2022/lib/pipes/size/size.pipe.mjs +0 -23
- package/esm2022/verisoft-ui-govcz.mjs +0 -5
- package/fesm2022/verisoft-ui-govcz.mjs +0 -3742
- package/fesm2022/verisoft-ui-govcz.mjs.map +0 -1
- package/index.d.ts +0 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -7
- package/lib/components/button/button.component.d.ts +0 -26
- package/lib/components/button/index.d.ts +0 -1
- package/lib/components/calendar/calendar.component.d.ts +0 -23
- package/lib/components/calendar/index.d.ts +0 -1
- package/lib/components/checkbox/checkbox.component.d.ts +0 -15
- package/lib/components/checkbox/index.d.ts +0 -1
- package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +0 -15
- package/lib/components/dropdown/dropdown-item.component.d.ts +0 -7
- package/lib/components/dropdown/dropdown.component.d.ts +0 -65
- package/lib/components/errors/error.component.d.ts +0 -14
- package/lib/components/errors/index.d.ts +0 -1
- package/lib/components/form-field/form-field.component.d.ts +0 -25
- package/lib/components/header/header.component.d.ts +0 -25
- package/lib/components/header/index.d.ts +0 -1
- package/lib/components/input-group/index.d.ts +0 -1
- package/lib/components/input-group/input-group.component.d.ts +0 -24
- package/lib/components/loader/index.d.ts +0 -1
- package/lib/components/loader/loader.component.d.ts +0 -8
- package/lib/components/multiselect/index.d.ts +0 -1
- package/lib/components/multiselect/multiselect.component.d.ts +0 -35
- package/lib/components/number-input/index.d.ts +0 -1
- package/lib/components/number-input/number-input.component.d.ts +0 -29
- package/lib/components/page-header/index.d.ts +0 -1
- package/lib/components/page-header/page-header.component.d.ts +0 -9
- package/lib/components/password/password.component.d.ts +0 -23
- package/lib/components/radiobutton/index.d.ts +0 -1
- package/lib/components/radiobutton/radiobutton.component.d.ts +0 -12
- package/lib/components/search/index.d.ts +0 -1
- package/lib/components/search/search.component.d.ts +0 -14
- package/lib/components/section/index.d.ts +0 -1
- package/lib/components/section/section.component.d.ts +0 -18
- package/lib/components/shared-components/action-button-group/action-button-group.component.d.ts +0 -29
- package/lib/components/shared-components/action-button-group/components/action-button/action-button.component.d.ts +0 -24
- package/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.d.ts +0 -17
- package/lib/components/shared-components/dynamic-component/dynamic-component.component.d.ts +0 -16
- package/lib/components/shared-components/feature-list/directives/feature-list-column.directive.d.ts +0 -10
- package/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.d.ts +0 -6
- package/lib/components/shared-components/feature-list/feature-list-filter.pipe.d.ts +0 -9
- package/lib/components/shared-components/feature-list/feature-list-page.component.d.ts +0 -9
- package/lib/components/shared-components/feature-list/feature-list-page.model.d.ts +0 -23
- package/lib/components/shared-components/feature-list/feature-list.component.d.ts +0 -62
- package/lib/components/shared-components/filter/directives/filter-field.directive.d.ts +0 -20
- package/lib/components/shared-components/filter/filter.component.d.ts +0 -53
- package/lib/components/shared-components/filter/filter.model.d.ts +0 -2
- package/lib/components/shared-components/generic-field/generic-field.component.d.ts +0 -28
- package/lib/components/shared-components/generic-form/generic-form.component.d.ts +0 -15
- package/lib/components/shared-components/generic-form/generic-form.model.d.ts +0 -4
- package/lib/components/side-menu/side-menu.component.d.ts +0 -15
- package/lib/components/side-menu/side-menu.module.d.ts +0 -12
- package/lib/components/snackbar/services/snackbar.service.d.ts +0 -18
- package/lib/components/snackbar/snackbar.component.d.ts +0 -18
- package/lib/components/stepper/index.d.ts +0 -1
- package/lib/components/stepper/stepper.component.d.ts +0 -20
- package/lib/components/switch/index.d.ts +0 -1
- package/lib/components/switch/switch.component.d.ts +0 -12
- package/lib/components/tab-view/tab-view-item.component.d.ts +0 -14
- package/lib/components/tab-view/tab-view.component.d.ts +0 -19
- package/lib/components/tab-view/tab-view.module.d.ts +0 -12
- package/lib/components/table/table-pagination-info.component.d.ts +0 -12
- package/lib/components/table/table.component.d.ts +0 -91
- package/lib/components/table/table.model.d.ts +0 -3
- package/lib/components/textarea/index.d.ts +0 -1
- package/lib/components/textarea/textarea.component.d.ts +0 -25
- package/lib/components/textfield/index.d.ts +0 -1
- package/lib/components/textfield/textfield.component.d.ts +0 -28
- package/lib/components/tooltip/index.d.ts +0 -1
- package/lib/components/tooltip/tooltip.component.d.ts +0 -18
- package/lib/components/tristatecheckbox/tristatecheckbox.component.d.ts +0 -27
- package/lib/icons.d.ts +0 -2
- package/lib/init.service.d.ts +0 -6
- package/lib/pages/not-authenticated/not-authenticated.component.d.ts +0 -5
- package/lib/pages/not-authorized/not-authorized.component.d.ts +0 -6
- package/lib/pages/not-found/not-found.component.d.ts +0 -6
- package/lib/pipes/color/color.pipe.d.ts +0 -8
- package/lib/pipes/multiselect/multiselect-options.pipe.d.ts +0 -9
- package/lib/pipes/size/size.pipe.d.ts +0 -8
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
::-webkit-scrollbar-thumb {
|
|
2
|
+
background-color: var(--color-neutral-700);
|
|
3
|
+
border-radius: 1.25rem;
|
|
4
|
+
border: 0.375rem solid transparent;
|
|
5
|
+
background-clip: content-box;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
::-webkit-scrollbar {
|
|
9
|
+
width: 1.125rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
::-webkit-scrollbar-track {
|
|
13
|
+
background-color: transparent;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
::-webkit-scrollbar-thumb:hover {
|
|
17
|
+
background-color: var(--color-primary-600);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.cdk-virtual-scroll-viewport {
|
|
21
|
+
scrollbar-color: var(--color-primary-600) var(--color-primary-100);
|
|
22
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
.gov-category-list {
|
|
2
|
+
display: block;
|
|
3
|
+
padding: 1.25rem 0;
|
|
4
|
+
width: 100%
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.gov-category-list__inner {
|
|
8
|
+
display: flex;
|
|
9
|
+
width: 100%
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.gov-category-list__col {
|
|
13
|
+
flex: 1
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.gov-category-list__col-inner {
|
|
17
|
+
position: relative;
|
|
18
|
+
min-height: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.gov-category-list__back-btn {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
margin-left: -0.625rem;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
vertical-align: middle
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.gov-category-list__back-btn:after {
|
|
30
|
+
content: "c";
|
|
31
|
+
display: block;
|
|
32
|
+
position: relative;
|
|
33
|
+
color: var(--color-primary-600);
|
|
34
|
+
font-family: "gov-basic-icons";
|
|
35
|
+
font-size: 24px
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.gov-category-list__nav {
|
|
39
|
+
position: relative;
|
|
40
|
+
z-index: 2
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.gov-category-list__nav .gov-category-list__nav-item {
|
|
44
|
+
margin-bottom: 0
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.gov-category-list__nav-item:before {
|
|
48
|
+
display: none
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.gov-category-list__nav-link {
|
|
52
|
+
display: block;
|
|
53
|
+
padding: .9375rem 1.25rem;
|
|
54
|
+
padding-right: 1.875rem;
|
|
55
|
+
width: 100%;
|
|
56
|
+
color: var(--color-primary-600);
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
text-decoration: none;
|
|
59
|
+
transition: background-color 256ms ease-out;
|
|
60
|
+
will-change: background-color;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.gov-category-list__nav-link .gov-note {
|
|
64
|
+
max-width: 90%
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.gov-category-list__nav-link.is-active {
|
|
68
|
+
background-color: var(--color-primary-600);
|
|
69
|
+
color: var(--color-neutral-0)
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.gov-category-list__nav-link.is-active .gov-link,
|
|
73
|
+
.gov-category-list__nav-link.is-active .gov-sortable-table__trigger,
|
|
74
|
+
.gov-category-list__nav-link.is-active .gov-portal-nav__link,
|
|
75
|
+
.gov-category-list__nav-link.is-active .gov-fileinput__attachments>li>span {
|
|
76
|
+
color: var(--color-neutral-0);
|
|
77
|
+
text-decoration: none
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.gov-category-list__nav-link.is-active .gov-note {
|
|
81
|
+
color: var(--color-neutral-0)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media not all and (pointer: coarse) {
|
|
85
|
+
.gov-category-list__nav-link:hover {
|
|
86
|
+
background-color: var(--color-primary-600);
|
|
87
|
+
color: var(--color-neutral-0) !important;
|
|
88
|
+
text-decoration: none
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.gov-category-list__nav-link:hover .gov-link,
|
|
92
|
+
.gov-category-list__nav-link:hover .gov-sortable-table__trigger,
|
|
93
|
+
.gov-category-list__nav-link:hover .gov-portal-nav__link,
|
|
94
|
+
.gov-category-list__nav-link:hover .gov-fileinput__attachments>li>span {
|
|
95
|
+
color: var(--color-neutral-0);
|
|
96
|
+
text-decoration: none
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.gov-category-list__nav-link:hover .gov-note {
|
|
100
|
+
color: var(--color-neutral-0)
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.gov-category-list__subcategories .gov-category-list__col-inner,
|
|
105
|
+
.gov-category-list__tasks .gov-category-list__col-inner {
|
|
106
|
+
display: none
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.gov-category-list__subcategories .gov-category-list__col-inner.is-active,
|
|
110
|
+
.gov-category-list__tasks .gov-category-list__col-inner.is-active {
|
|
111
|
+
display: block
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.gov-category-list__subcategories .gov-category-list__content,
|
|
115
|
+
.gov-category-list__tasks .gov-category-list__content {
|
|
116
|
+
padding: 0 1.25rem
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.gov-category-list__subcategories .gov-note,
|
|
120
|
+
.gov-category-list__tasks .gov-note {
|
|
121
|
+
margin-top: .625rem
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@media(min-width: 52em) {
|
|
125
|
+
|
|
126
|
+
.gov-category-list__subcategories .gov-category-list__content,
|
|
127
|
+
.gov-category-list__subcategories .gov-category-list__nav-link,
|
|
128
|
+
.gov-category-list__tasks .gov-category-list__content,
|
|
129
|
+
.gov-category-list__tasks .gov-category-list__nav-link {
|
|
130
|
+
padding-left: 2.5rem
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.gov-category-list__tasks .gov-category-list__back-btn {
|
|
134
|
+
display: none
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@media(max-width: 51.99em) {
|
|
139
|
+
.gov-category-list {
|
|
140
|
+
overflow: hidden
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.gov-category-list__inner {
|
|
144
|
+
width: 200%
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.gov-category-list__subcategories .gov-category-list__col-inner:after {
|
|
148
|
+
display: none
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.gov-category-list.tasks-visible .gov-category-list__inner {
|
|
152
|
+
transform: translateX(-50%)
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@media(min-width: 26em) {
|
|
157
|
+
.gov-category-list__col {
|
|
158
|
+
flex: 1
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.gov-category-list__col--wide {
|
|
162
|
+
flex: 2
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.gov-category-list__col--wide .gov-category-list__col-inner:after {
|
|
166
|
+
display: none
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.gov-category-list__subcategories .gov-category-list__back-btn {
|
|
170
|
+
display: none
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@media(max-width: 25.99em) {
|
|
175
|
+
.gov-category-list {
|
|
176
|
+
position: relative;
|
|
177
|
+
left: -1.25rem;
|
|
178
|
+
width: 100vw
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.gov-category-list__inner {
|
|
182
|
+
width: 300%
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.gov-category-list__col-inner:after {
|
|
186
|
+
display: none
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.gov-category-list.subcategories-visible .gov-category-list__inner {
|
|
190
|
+
transform: translateX(-33.3333334%)
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.gov-category-list.tasks-visible .gov-category-list__inner {
|
|
194
|
+
transform: translateX(-66.6666667%)
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.gov-category-list.tasks-visible .gov-category-list__subcategories .gov-category-list__col-inner {
|
|
198
|
+
display: none
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.gov-category-list.subcategories-visible .gov-category-list__categories .gov-category-list__col-inner,
|
|
202
|
+
.gov-category-list.tasks-visible .gov-category-list__categories .gov-category-list__col-inner {
|
|
203
|
+
display: none
|
|
204
|
+
}
|
|
205
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @ts-expect-error https://thymikee.github.io/jest-preset-angular/docs/getting-started/test-environment
|
|
2
|
+
globalThis.ngJest = {
|
|
3
|
+
testEnvironmentOptions: {
|
|
4
|
+
errorOnUnknownElements: true,
|
|
5
|
+
errorOnUnknownProperties: true,
|
|
6
|
+
},
|
|
7
|
+
};
|
|
8
|
+
import 'jest-preset-angular/setup-jest';
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es2022",
|
|
4
|
+
"forceConsistentCasingInFileNames": true,
|
|
5
|
+
"strict": true,
|
|
6
|
+
"noImplicitOverride": true,
|
|
7
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
8
|
+
"noImplicitReturns": true,
|
|
9
|
+
"noFallthroughCasesInSwitch": true,
|
|
10
|
+
"allowSyntheticDefaultImports": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
},
|
|
13
|
+
"files": [],
|
|
14
|
+
"include": [],
|
|
15
|
+
"references": [
|
|
16
|
+
{
|
|
17
|
+
"path": "./tsconfig.lib.json"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"path": "./tsconfig.spec.json"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"extends": "../../../tsconfig.base.json",
|
|
24
|
+
"angularCompilerOptions": {
|
|
25
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
26
|
+
"strictInjectionParameters": true,
|
|
27
|
+
"strictInputAccessModifiers": true,
|
|
28
|
+
"strictTemplates": true
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "../../../dist/out-tsc",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"declarationMap": true,
|
|
7
|
+
"inlineSources": true,
|
|
8
|
+
"types": []
|
|
9
|
+
},
|
|
10
|
+
"exclude": [
|
|
11
|
+
"src/**/*.spec.ts",
|
|
12
|
+
"src/test-setup.ts",
|
|
13
|
+
"jest.config.ts",
|
|
14
|
+
"src/**/*.test.ts"
|
|
15
|
+
],
|
|
16
|
+
"include": ["src/**/*.ts"]
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "../../../dist/out-tsc",
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"target": "es2016",
|
|
7
|
+
"types": ["jest", "node"]
|
|
8
|
+
},
|
|
9
|
+
"files": ["src/test-setup.ts"],
|
|
10
|
+
"include": [
|
|
11
|
+
"jest.config.ts",
|
|
12
|
+
"src/**/*.test.ts",
|
|
13
|
+
"src/**/*.spec.ts",
|
|
14
|
+
"src/**/*.d.ts"
|
|
15
|
+
]
|
|
16
|
+
}
|
package/esm2022/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './lib';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYic7Il19
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
import { RouterModule } from '@angular/router';
|
|
4
|
-
import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
|
|
5
|
-
import { BREADCRUMB_COMPONENT_TOKEN, BreadcrumbCoreComponent } from '@verisoft/ui-core';
|
|
6
|
-
import { Icons } from '../../icons';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common";
|
|
9
|
-
import * as i2 from "@gov-design-system-ce/angular";
|
|
10
|
-
import * as i3 from "@angular/router";
|
|
11
|
-
export class BreadcrumbComponent extends BreadcrumbCoreComponent {
|
|
12
|
-
icons = Icons;
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: BreadcrumbComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: BreadcrumbComponent, isStandalone: true, selector: "v-breadcrumb", providers: [
|
|
15
|
-
{
|
|
16
|
-
provide: BREADCRUMB_COMPONENT_TOKEN,
|
|
17
|
-
useExisting: BreadcrumbComponent
|
|
18
|
-
},
|
|
19
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"gov-breadcrums mt-3 mb-3\">\r\n <gov-breadcrumbs accessible-label=\"gov-breadcrums\">\r\n <ul>\r\n <li *ngIf=\"useHomeRoute\">\r\n <gov-icon [name]=\"icons.house\" />\r\n <a [routerLink]=\"'/'\">Home</a>\r\n </li>\r\n @if (items) { @for (item of items; track item; let index = $index) {\r\n <li>\r\n @if (index > 0 || useHomeRoute) {\r\n <gov-icon [name]=\"icons.chevronRight\" />\r\n }\r\n @if (item.icon) {\r\n <gov-icon [name]=\"item.icon\" />\r\n }\r\n <a [routerLink]=\"item.routerLink\">\r\n {{ item.label }}\r\n </a>\r\n </li>\r\n } }\r\n </ul>\r\n </gov-breadcrumbs>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i2.GovBreadcrumbs, selector: "gov-breadcrumbs", inputs: ["accessibleLabel", "accessibleLabelledBy", "accessibleToggleLabel", "collapsible", "isExpanded"] }, { kind: "component", type: i2.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
|
|
20
|
-
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: BreadcrumbComponent, decorators: [{
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{ selector: 'v-breadcrumb', standalone: true, imports: [
|
|
24
|
-
CommonModule,
|
|
25
|
-
GovDesignSystemModule,
|
|
26
|
-
RouterModule
|
|
27
|
-
], providers: [
|
|
28
|
-
{
|
|
29
|
-
provide: BREADCRUMB_COMPONENT_TOKEN,
|
|
30
|
-
useExisting: BreadcrumbComponent
|
|
31
|
-
},
|
|
32
|
-
], template: "<div class=\"gov-breadcrums mt-3 mb-3\">\r\n <gov-breadcrumbs accessible-label=\"gov-breadcrums\">\r\n <ul>\r\n <li *ngIf=\"useHomeRoute\">\r\n <gov-icon [name]=\"icons.house\" />\r\n <a [routerLink]=\"'/'\">Home</a>\r\n </li>\r\n @if (items) { @for (item of items; track item; let index = $index) {\r\n <li>\r\n @if (index > 0 || useHomeRoute) {\r\n <gov-icon [name]=\"icons.chevronRight\" />\r\n }\r\n @if (item.icon) {\r\n <gov-icon [name]=\"item.icon\" />\r\n }\r\n <a [routerLink]=\"item.routerLink\">\r\n {{ item.label }}\r\n </a>\r\n </li>\r\n } }\r\n </ul>\r\n </gov-breadcrumbs>\r\n</div>\r\n" }]
|
|
33
|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ua109XCJpdGVtLnJvdXRlckxpbmtcIj5cclxuICAgICAgICAgIHt7IGl0ZW0ubGFiZWwgfX1cclxuICAgICAgICA8L2E+XHJcbiAgICAgIDwvbGk+XHJcbiAgICAgIH0gfVxyXG4gICAgPC91bD5cclxuICA8L2dvdi1icmVhZGNydW1icz5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './breadcrumb.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvYnJlYWRjcnVtYi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9icmVhZGNydW1iLmNvbXBvbmVudCc7XHJcbiJdfQ==
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from "@angular/core";
|
|
2
|
-
import { RouterModule } from "@angular/router";
|
|
3
|
-
import { GovDesignSystemModule } from "@gov-design-system-ce/angular";
|
|
4
|
-
import { TranslateModule } from "@ngx-translate/core";
|
|
5
|
-
import { BUTTON_COMPONENT_TOKEN, IconPosition, FieldSize, ControlSeverity, GovButtonType, } from "@verisoft/ui-core";
|
|
6
|
-
import { GovColorPipe, GovSizePipe } from "../../pipes";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@gov-design-system-ce/angular";
|
|
9
|
-
import * as i2 from "@angular/router";
|
|
10
|
-
import * as i3 from "@ngx-translate/core";
|
|
11
|
-
export class ButtonComponent {
|
|
12
|
-
label;
|
|
13
|
-
icon;
|
|
14
|
-
badge;
|
|
15
|
-
iconPos = IconPosition.left;
|
|
16
|
-
disabled = false;
|
|
17
|
-
rounded;
|
|
18
|
-
outlined;
|
|
19
|
-
raised;
|
|
20
|
-
routerLink;
|
|
21
|
-
size = FieldSize.medium;
|
|
22
|
-
queryParams;
|
|
23
|
-
severity = ControlSeverity.primary;
|
|
24
|
-
type = GovButtonType.solid;
|
|
25
|
-
expanded = false;
|
|
26
|
-
name;
|
|
27
|
-
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
28
|
-
click = new EventEmitter();
|
|
29
|
-
handleClick(event) {
|
|
30
|
-
if (this.disabled) {
|
|
31
|
-
event.stopPropagation();
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
this.click.emit(event);
|
|
35
|
-
}
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: ButtonComponent, isStandalone: true, selector: "v-button", inputs: { label: "label", icon: "icon", badge: "badge", iconPos: "iconPos", disabled: "disabled", rounded: "rounded", outlined: "outlined", raised: "raised", routerLink: "routerLink", size: "size", queryParams: "queryParams", severity: "severity", type: "type", expanded: "expanded", name: "name" }, outputs: { click: "click" }, providers: [
|
|
38
|
-
{
|
|
39
|
-
provide: BUTTON_COMPONENT_TOKEN,
|
|
40
|
-
useExisting: ButtonComponent,
|
|
41
|
-
}
|
|
42
|
-
], ngImport: i0, template: "<div class=\"g-button\">\r\n <a\r\n [routerLink]=\"routerLink ? routerLink : undefined\"\r\n [queryParams]=\"queryParams ? queryParams : undefined\"\r\n >\r\n <gov-button\r\n [type]=\"outlined === true ? 'outlined' : type\"\r\n [color]=\"severity | govColor\"\r\n [disabled]=\"disabled\"\r\n [size]=\"size | govSize\"\r\n [name]=\"name\"\r\n [expanded]=\"expanded\"\r\n (gov-click)=\"handleClick($event)\"\r\n (click)=\"handleClick($event)\"\r\n >\r\n @if (icon) {\r\n <gov-icon \r\n [name]=\"icon\"\r\n [slot]=\"iconPos === 'left' ? 'icon-start' : 'icon-end'\"\r\n />\r\n } @if (label) {\r\n {{ label | translate }}\r\n }\r\n </gov-button>\r\n </a>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i1.GovButton, selector: "gov-button", inputs: ["color", "disabled", "download", "expanded", "focusable", "href", "hreflang", "identifier", "loading", "name", "nativeType", "referrerpolicy", "rel", "size", "target", "type"] }, { kind: "component", type: i1.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: GovSizePipe, name: "govSize" }, { kind: "pipe", type: GovColorPipe, name: "govColor" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
43
|
-
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
45
|
-
type: Component,
|
|
46
|
-
args: [{ selector: "v-button", standalone: true, imports: [
|
|
47
|
-
GovDesignSystemModule, RouterModule, GovSizePipe, GovColorPipe, TranslateModule
|
|
48
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
49
|
-
{
|
|
50
|
-
provide: BUTTON_COMPONENT_TOKEN,
|
|
51
|
-
useExisting: ButtonComponent,
|
|
52
|
-
}
|
|
53
|
-
], template: "<div class=\"g-button\">\r\n <a\r\n [routerLink]=\"routerLink ? routerLink : undefined\"\r\n [queryParams]=\"queryParams ? queryParams : undefined\"\r\n >\r\n <gov-button\r\n [type]=\"outlined === true ? 'outlined' : type\"\r\n [color]=\"severity | govColor\"\r\n [disabled]=\"disabled\"\r\n [size]=\"size | govSize\"\r\n [name]=\"name\"\r\n [expanded]=\"expanded\"\r\n (gov-click)=\"handleClick($event)\"\r\n (click)=\"handleClick($event)\"\r\n >\r\n @if (icon) {\r\n <gov-icon \r\n [name]=\"icon\"\r\n [slot]=\"iconPos === 'left' ? 'icon-start' : 'icon-end'\"\r\n />\r\n } @if (label) {\r\n {{ label | translate }}\r\n }\r\n </gov-button>\r\n </a>\r\n</div>\r\n" }]
|
|
54
|
-
}], propDecorators: { label: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], icon: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], badge: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], iconPos: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], disabled: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}], rounded: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], outlined: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], raised: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], routerLink: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], size: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], queryParams: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], severity: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], type: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], expanded: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], name: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], click: [{
|
|
85
|
-
type: Output
|
|
86
|
-
}] } });
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy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2xpY2soZXZlbnQ6IEdvdkJ1dHRvbkN1c3RvbUV2ZW50PEJ1dHRvbkV2ZW50PiB8IE1vdXNlRXZlbnQpIHtcclxuICAgICAgICBpZiAodGhpcy5kaXNhYmxlZCkge1xyXG4gICAgICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcclxuICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgdGhpcy5jbGljay5lbWl0KGV2ZW50KTtcclxuICAgIH1cclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiZy1idXR0b25cIj5cclxuICAgIDxhXHJcbiAgICAgICAgW3JvdXRlckxpbmtdPVwicm91dGVyTGluayA/IHJvdXRlckxpbmsgOiB1bmRlZmluZWRcIlxyXG4gICAgICAgIFtxdWVyeVBhcmFtc109XCJxdWVyeVBhcmFtcyA/IHF1ZXJ5UGFyYW1zIDogdW5kZWZpbmVkXCJcclxuICAgID5cclxuICAgICAgICA8Z292LWJ1dHRvblxyXG4gICAgICAgICAgICBbdHlwZV09XCJvdXRsaW5lZCA9PT0gdHJ1ZSA/ICdvdXRsaW5lZCcgOiB0eXBlXCJcclxuICAgICAgICAgICAgW2NvbG9yXT1cInNldmVyaXR5IHwgZ292Q29sb3JcIlxyXG4gICAgICAgICAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxyXG4gICAgICAgICAgICBbc2l6ZV09XCJzaXplIHwgZ292U2l6ZVwiXHJcbiAgICAgICAgICAgIFtuYW1lXT1cIm5hbWVcIlxyXG4gICAgICAgICAgICBbZXhwYW5kZWRdPVwiZXhwYW5kZWRcIlxyXG4gICAgICAgICAgICAoZ292LWNsaWNrKT1cImhhbmRsZUNsaWNrKCRldmVudClcIlxyXG4gICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlQ2xpY2soJGV2ZW50KVwiXHJcbiAgICAgICAgPlxyXG4gICAgICAgICAgICBAaWYgKGljb24pIHtcclxuICAgICAgICAgICAgICAgIDxnb3YtaWNvbiBcclxuICAgICAgICAgICAgICAgICAgICBbbmFtZV09XCJpY29uXCJcclxuICAgICAgICAgICAgICAgICAgICBbc2xvdF09XCJpY29uUG9zID09PSAnbGVmdCcgPyAnaWNvbi1zdGFydCcgOiAnaWNvbi1lbmQnXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIH0gQGlmIChsYWJlbCkge1xyXG4gICAgICAgICAgICAgICAge3sgbGFiZWwgfCB0cmFuc2xhdGUgfX1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIDwvZ292LWJ1dHRvbj5cclxuICAgIDwvYT5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './button.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvYnV0dG9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2J1dHRvbi5jb21wb25lbnQnOyJdfQ==
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, Input, Optional, Self } from '@angular/core';
|
|
3
|
-
import { NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
|
|
5
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
6
|
-
import { BaseFormInputComponent, CALENDAR_COMPONENT_TOKEN, FieldType, FieldSize, SlotPosition, } from '@verisoft/ui-core';
|
|
7
|
-
import { Icons } from '../../icons';
|
|
8
|
-
import { GovSizePipe } from '../../pipes';
|
|
9
|
-
import { ErrorComponent } from '../errors';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@angular/forms";
|
|
12
|
-
import * as i2 from "@gov-design-system-ce/angular";
|
|
13
|
-
import * as i3 from "@ngx-translate/core";
|
|
14
|
-
export class CalendarComponent extends BaseFormInputComponent {
|
|
15
|
-
icon;
|
|
16
|
-
floatLabel;
|
|
17
|
-
maxDate;
|
|
18
|
-
minDate;
|
|
19
|
-
header;
|
|
20
|
-
footer;
|
|
21
|
-
selectionMode;
|
|
22
|
-
size = FieldSize.medium;
|
|
23
|
-
errorSlot = SlotPosition.bottom;
|
|
24
|
-
labelSlot = SlotPosition.top;
|
|
25
|
-
messageSlot = SlotPosition.bottom;
|
|
26
|
-
message;
|
|
27
|
-
name;
|
|
28
|
-
type = FieldType.date;
|
|
29
|
-
icons = Icons;
|
|
30
|
-
constructor(ngControl) {
|
|
31
|
-
super(ngControl);
|
|
32
|
-
}
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: CalendarComponent, isStandalone: true, selector: "v-calendar", inputs: { icon: "icon", floatLabel: "floatLabel", maxDate: "maxDate", minDate: "minDate", header: "header", footer: "footer", selectionMode: "selectionMode", size: "size", errorSlot: "errorSlot", labelSlot: "labelSlot", messageSlot: "messageSlot", message: "message", name: "name" }, providers: [
|
|
35
|
-
{
|
|
36
|
-
provide: CALENDAR_COMPONENT_TOKEN,
|
|
37
|
-
useExisting: CalendarComponent
|
|
38
|
-
}
|
|
39
|
-
], usesInheritance: true, ngImport: i0, template: "<gov-form-control class=\"mb-3\">\r\n @if (label) {\r\n <gov-form-label [slot]=\"labelSlot\" [size]=\"size | govSize\">\r\n {{ label | translate}}\r\n </gov-form-label>\r\n }\r\n <gov-form-group>\r\n <gov-form-input\r\n [formControl]=\"formControl\"\r\n [attr.input-type]=\"type\"\r\n [invalid]=\"ngControl?.errors ? true : false\"\r\n [size]=\"size | govSize\"\r\n [required]=\"required\"\r\n [readonly]=\"readonly\"\r\n [attr.disabled]=\"readonly ? 'true' : 'false'\"\r\n [name]=\"name\"\r\n />\r\n </gov-form-group>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n @if (message) {\r\n <gov-form-message \r\n [slot]=\"messageSlot\" \r\n color=\"neutral\"\r\n >\r\n {{ message }}\r\n </gov-form-message>\r\n }\r\n</gov-form-control>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i2.GovFormControl, selector: "gov-form-control", inputs: ["disabled", "fieldset", "identifier", "invalid", "size", "success"] }, { kind: "component", type: i2.GovFormGroup, selector: "gov-form-group", inputs: ["gap", "orientation"] }, { kind: "component", type: i2.GovFormInput, selector: "gov-form-input", inputs: ["accessibleHidePasswordLabel", "accessibleShowPasswordLabel", "autocomplete", "autocorrect", "cols", "disabled", "identifier", "inputLang", "inputType", "invalid", "max", "maxlength", "min", "minlength", "multiline", "name", "placeholder", "readonly", "required", "role", "rows", "size", "spellcheck", "success", "type", "value"] }, { kind: "component", type: i2.GovFormLabel, selector: "gov-form-label", inputs: ["identifier", "legend", "required", "size"] }, { kind: "component", type: i2.GovFormMessage, selector: "gov-form-message", inputs: ["color", "size"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "gov-form-input:not([input-type=number]),gov-form-autocomplete" }, { kind: "pipe", type: GovSizePipe, name: "govSize" }, { kind: "component", type: ErrorComponent, selector: "v-validation-message", inputs: ["ngControl", "errorSlot", "messageSlot"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
40
|
-
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
42
|
-
type: Component,
|
|
43
|
-
args: [{ selector: 'v-calendar', standalone: true, imports: [
|
|
44
|
-
CommonModule,
|
|
45
|
-
ReactiveFormsModule,
|
|
46
|
-
GovDesignSystemModule,
|
|
47
|
-
GovSizePipe,
|
|
48
|
-
ErrorComponent,
|
|
49
|
-
TranslateModule
|
|
50
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
51
|
-
{
|
|
52
|
-
provide: CALENDAR_COMPONENT_TOKEN,
|
|
53
|
-
useExisting: CalendarComponent
|
|
54
|
-
}
|
|
55
|
-
], template: "<gov-form-control class=\"mb-3\">\r\n @if (label) {\r\n <gov-form-label [slot]=\"labelSlot\" [size]=\"size | govSize\">\r\n {{ label | translate}}\r\n </gov-form-label>\r\n }\r\n <gov-form-group>\r\n <gov-form-input\r\n [formControl]=\"formControl\"\r\n [attr.input-type]=\"type\"\r\n [invalid]=\"ngControl?.errors ? true : false\"\r\n [size]=\"size | govSize\"\r\n [required]=\"required\"\r\n [readonly]=\"readonly\"\r\n [attr.disabled]=\"readonly ? 'true' : 'false'\"\r\n [name]=\"name\"\r\n />\r\n </gov-form-group>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n @if (message) {\r\n <gov-form-message \r\n [slot]=\"messageSlot\" \r\n color=\"neutral\"\r\n >\r\n {{ message }}\r\n </gov-form-message>\r\n }\r\n</gov-form-control>" }]
|
|
56
|
-
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
57
|
-
type: Optional
|
|
58
|
-
}, {
|
|
59
|
-
type: Self
|
|
60
|
-
}] }], propDecorators: { icon: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], floatLabel: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}], maxDate: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], minDate: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], header: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], footer: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], selectionMode: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], size: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], errorSlot: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], labelSlot: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], messageSlot: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], message: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], name: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}] } });
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYnMvdWktZ292Y3ovc3JjL2xpYi9jb21wb25lbnRzL2NhbGVuZGFyL2NhbGVuZGFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9jYWxlbmRhci9jYWxlbmRhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWS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Ww+XHJcbiAgICB9XHJcbiAgICA8Z292LWZvcm0tZ3JvdXA+XHJcbiAgICAgICAgPGdvdi1mb3JtLWlucHV0XHJcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXHJcbiAgICAgICAgICAgIFthdHRyLmlucHV0LXR5cGVdPVwidHlwZVwiXHJcbiAgICAgICAgICAgIFtpbnZhbGlkXT1cIm5nQ29udHJvbD8uZXJyb3JzID8gdHJ1ZSA6IGZhbHNlXCJcclxuICAgICAgICAgICAgW3NpemVdPVwic2l6ZSB8IGdvdlNpemVcIlxyXG4gICAgICAgICAgICBbcmVxdWlyZWRdPVwicmVxdWlyZWRcIlxyXG4gICAgICAgICAgICBbcmVhZG9ubHldPVwicmVhZG9ubHlcIlxyXG4gICAgICAgICAgICBbYXR0ci5kaXNhYmxlZF09XCJyZWFkb25seSA/ICd0cnVlJyA6ICdmYWxzZSdcIlxyXG4gICAgICAgICAgICBbbmFtZV09XCJuYW1lXCJcclxuICAgICAgICAvPlxyXG4gICAgPC9nb3YtZm9ybS1ncm91cD5cclxuICAgIDx2LXZhbGlkYXRpb24tbWVzc2FnZSBbbmdDb250cm9sXT1cIm5nQ29udHJvbFwiPjwvdi12YWxpZGF0aW9uLW1lc3NhZ2U+XHJcbiAgICBAaWYgKG1lc3NhZ2UpIHtcclxuICAgIDxnb3YtZm9ybS1tZXNzYWdlIFxyXG4gICAgICAgIFtzbG90XT1cIm1lc3NhZ2VTbG90XCIgXHJcbiAgICAgICAgY29sb3I9XCJuZXV0cmFsXCJcclxuICAgICAgICA+XHJcbiAgICAgICAge3sgbWVzc2FnZSB9fVxyXG4gICAgPC9nb3YtZm9ybS1tZXNzYWdlPlxyXG4gICAgfVxyXG48L2dvdi1mb3JtLWNvbnRyb2w+Il19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './calendar.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvY2FsZW5kYXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FsZW5kYXIuY29tcG9uZW50JzsiXX0=
|