@3ddv/software-division-components 1.4.2 → 1.4.7
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/.nx/workspace-data/file-map.json +1351 -0
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/project-graph.json +8 -0
- package/.nx/workspace-data/source-maps.json +1 -0
- package/3ddv-software-division-components.d.ts.map +1 -0
- package/backoffice/checkbox/checkbox.component.d.ts +103 -0
- package/backoffice/checkbox/checkbox.component.d.ts.map +1 -0
- package/backoffice/checkbox/index.d.ts +2 -0
- package/backoffice/checkbox/index.d.ts.map +1 -0
- package/backoffice/checkbox/public-api.d.ts +2 -0
- package/backoffice/checkbox/public-api.d.ts.map +1 -0
- package/backoffice/datepicker/datepicker.component.d.ts +150 -0
- package/backoffice/datepicker/datepicker.component.d.ts.map +1 -0
- package/backoffice/datepicker/index.d.ts +2 -0
- package/backoffice/datepicker/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/backoffice/datepicker/public-api.ts → backoffice/datepicker/public-api.d.ts} +1 -1
- package/backoffice/datepicker/public-api.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/index.d.ts +14 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/index.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.d.ts +38 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.d.ts +34 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.d.ts +15 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.d.ts +53 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.d.ts +24 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.d.ts +53 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.d.ts +24 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/index.d.ts +10 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/index.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.d.ts +10 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts +8 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/index.d.ts +14 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/index.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.d.ts +9 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.d.ts.map +1 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.d.ts +14 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.d.ts.map +1 -0
- package/backoffice/index.d.ts +2 -0
- package/backoffice/index.d.ts.map +1 -0
- package/backoffice/input/index.d.ts +2 -0
- package/backoffice/input/index.d.ts.map +1 -0
- package/backoffice/input/input.component.d.ts +200 -0
- package/backoffice/input/input.component.d.ts.map +1 -0
- package/backoffice/input/public-api.d.ts +2 -0
- package/backoffice/input/public-api.d.ts.map +1 -0
- package/{projects/software-division-components/src/backoffice/public-api.ts → backoffice/public-api.d.ts} +1 -0
- package/backoffice/public-api.d.ts.map +1 -0
- package/backoffice/radio/index.d.ts +2 -0
- package/backoffice/radio/index.d.ts.map +1 -0
- package/backoffice/radio/public-api.d.ts +2 -0
- package/backoffice/radio/public-api.d.ts.map +1 -0
- package/backoffice/radio/radio.component.d.ts +73 -0
- package/backoffice/radio/radio.component.d.ts.map +1 -0
- package/backoffice/table/_components/pagination/pagination.component.d.ts +18 -0
- package/backoffice/table/_components/pagination/pagination.component.d.ts.map +1 -0
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.d.ts +11 -0
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.d.ts.map +1 -0
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.d.ts +8 -0
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.d.ts.map +1 -0
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.d.ts +16 -0
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.d.ts.map +1 -0
- package/backoffice/table/index.d.ts +2 -0
- package/backoffice/table/index.d.ts.map +1 -0
- package/backoffice/table/public-api.d.ts +3 -0
- package/backoffice/table/public-api.d.ts.map +1 -0
- package/backoffice/table/table.component.d.ts +111 -0
- package/backoffice/table/table.component.d.ts.map +1 -0
- package/backoffice/table/ui/ui-icon-helm/src/index.d.ts +10 -0
- package/backoffice/table/ui/ui-icon-helm/src/index.d.ts.map +1 -0
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.d.ts +10 -0
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.d.ts.map +1 -0
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts +8 -0
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +1 -0
- package/backoffice/table/ui/ui-table-helm/src/index.d.ts +11 -0
- package/backoffice/table/ui/ui-table-helm/src/index.d.ts.map +1 -0
- package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.d.ts +112 -0
- package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.d.ts.map +1 -0
- package/dvm/cart/cart.component.d.ts +31 -0
- package/dvm/cart/cart.component.d.ts.map +1 -0
- package/dvm/cart/cart.types.d.ts +8 -0
- package/dvm/cart/cart.types.d.ts.map +1 -0
- package/dvm/cart/index.d.ts +2 -0
- package/dvm/cart/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/cart/public-api.ts → dvm/cart/public-api.d.ts} +1 -5
- package/dvm/cart/public-api.d.ts.map +1 -0
- package/dvm/cart/seat-list.component.d.ts +38 -0
- package/dvm/cart/seat-list.component.d.ts.map +1 -0
- package/dvm/cart-item/cart-item.component.d.ts +6 -0
- package/dvm/cart-item/cart-item.component.d.ts.map +1 -0
- package/dvm/cart-item/cart-item.service.d.ts +7 -0
- package/dvm/cart-item/cart-item.service.d.ts.map +1 -0
- package/dvm/cart-item/index.d.ts +2 -0
- package/dvm/cart-item/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/cart-item/public-api.ts → dvm/cart-item/public-api.d.ts} +1 -4
- package/dvm/cart-item/public-api.d.ts.map +1 -0
- package/dvm/index.d.ts +2 -0
- package/dvm/index.d.ts.map +1 -0
- package/dvm/legend/index.d.ts +2 -0
- package/dvm/legend/index.d.ts.map +1 -0
- package/dvm/legend/legend.component.d.ts +17 -0
- package/dvm/legend/legend.component.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/legend/public-api.ts → dvm/legend/public-api.d.ts} +1 -4
- package/dvm/legend/public-api.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/legend/types.ts → dvm/legend/types.d.ts} +3 -3
- package/dvm/legend/types.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/legend/ui/legend-elements/index.ts → dvm/legend/ui/legend-elements/index.d.ts} +1 -0
- package/dvm/legend/ui/legend-elements/index.d.ts.map +1 -0
- package/dvm/legend/ui/legend-elements/legend-elements.component.d.ts +16 -0
- package/dvm/legend/ui/legend-elements/legend-elements.component.d.ts.map +1 -0
- package/dvm/loader/index.d.ts +2 -0
- package/dvm/loader/index.d.ts.map +1 -0
- package/dvm/loader/loader.component.d.ts +6 -0
- package/dvm/loader/loader.component.d.ts.map +1 -0
- package/dvm/loader/loader.service.d.ts +7 -0
- package/dvm/loader/loader.service.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/loader/public-api.ts → dvm/loader/public-api.d.ts} +1 -4
- package/dvm/loader/public-api.d.ts.map +1 -0
- package/dvm/map-loader/index.d.ts +2 -0
- package/dvm/map-loader/index.d.ts.map +1 -0
- package/dvm/map-loader/map-loader.component.d.ts +56 -0
- package/dvm/map-loader/map-loader.component.d.ts.map +1 -0
- package/dvm/map-loader/public-api.d.ts +2 -0
- package/dvm/map-loader/public-api.d.ts.map +1 -0
- package/dvm/neighbors/index.d.ts +2 -0
- package/dvm/neighbors/index.d.ts.map +1 -0
- package/dvm/neighbors/neighbors.component.d.ts +41 -0
- package/dvm/neighbors/neighbors.component.d.ts.map +1 -0
- package/dvm/neighbors/public-api.d.ts +3 -0
- package/dvm/neighbors/public-api.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/neighbors/types.ts → dvm/neighbors/types.d.ts} +7 -7
- package/dvm/neighbors/types.d.ts.map +1 -0
- package/dvm/popover/base-popover.component.d.ts +28 -0
- package/dvm/popover/base-popover.component.d.ts.map +1 -0
- package/dvm/popover/index.d.ts +2 -0
- package/dvm/popover/index.d.ts.map +1 -0
- package/dvm/popover/popover.component.d.ts +69 -0
- package/dvm/popover/popover.component.d.ts.map +1 -0
- package/dvm/popover/popover.config.d.ts +25 -0
- package/dvm/popover/popover.config.d.ts.map +1 -0
- package/dvm/popover/popover.service.d.ts +140 -0
- package/dvm/popover/popover.service.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/popover/public-api.ts → dvm/popover/public-api.d.ts} +1 -4
- package/dvm/popover/public-api.d.ts.map +1 -0
- package/dvm/popover/seat-popover/seat-popover.component.d.ts +21 -0
- package/dvm/popover/seat-popover/seat-popover.component.d.ts.map +1 -0
- package/dvm/popover/section-popover/section-popover.component.d.ts +32 -0
- package/dvm/popover/section-popover/section-popover.component.d.ts.map +1 -0
- package/dvm/popover/services/dvm-popover-positioner.service.d.ts +30 -0
- package/dvm/popover/services/dvm-popover-positioner.service.d.ts.map +1 -0
- package/dvm/popover/services/popover-manager.service.d.ts +29 -0
- package/dvm/popover/services/popover-manager.service.d.ts.map +1 -0
- package/dvm/popover/transformers/base-popover-data-transformer.d.ts +29 -0
- package/dvm/popover/transformers/base-popover-data-transformer.d.ts.map +1 -0
- package/dvm/popover/types.d.ts +79 -0
- package/dvm/popover/types.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/public-api.ts → dvm/public-api.d.ts} +1 -0
- package/dvm/public-api.d.ts.map +1 -0
- package/dvm/stepper/index.d.ts +2 -0
- package/dvm/stepper/index.d.ts.map +1 -0
- package/dvm/stepper/public-api.d.ts +2 -0
- package/dvm/stepper/public-api.d.ts.map +1 -0
- package/dvm/stepper/stepper.component.d.ts +27 -0
- package/dvm/stepper/stepper.component.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/stepper/types.ts → dvm/stepper/types.d.ts} +5 -2
- package/dvm/stepper/types.d.ts.map +1 -0
- package/dvm/ticket-info-item/index.d.ts +2 -0
- package/dvm/ticket-info-item/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/dvm/ticket-info-item/public-api.ts → dvm/ticket-info-item/public-api.d.ts} +1 -4
- package/dvm/ticket-info-item/public-api.d.ts.map +1 -0
- package/dvm/ticket-info-item/ticket-info-item.component.d.ts +6 -0
- package/dvm/ticket-info-item/ticket-info-item.component.d.ts.map +1 -0
- package/dvm/ticket-info-item/ticket-info-item.service.d.ts +7 -0
- package/dvm/ticket-info-item/ticket-info-item.service.d.ts.map +1 -0
- package/fesm2022/3ddv-software-division-components.mjs +5966 -0
- package/fesm2022/3ddv-software-division-components.mjs.map +1 -0
- package/generic/add-digital-wallet/add-digital-wallet.component.d.ts +21 -0
- package/generic/add-digital-wallet/add-digital-wallet.component.d.ts.map +1 -0
- package/generic/add-digital-wallet/index.d.ts +2 -0
- package/generic/add-digital-wallet/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/generic/add-digital-wallet/public-api.ts → generic/add-digital-wallet/public-api.d.ts} +1 -0
- package/generic/add-digital-wallet/public-api.d.ts.map +1 -0
- package/generic/braintree/braintree.component.d.ts +33 -0
- package/generic/braintree/braintree.component.d.ts.map +1 -0
- package/generic/braintree/index.d.ts +2 -0
- package/generic/braintree/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/generic/braintree/public-api.ts → generic/braintree/public-api.d.ts} +1 -4
- package/generic/braintree/public-api.d.ts.map +1 -0
- package/generic/braintree/types.d.ts +27 -0
- package/generic/braintree/types.d.ts.map +1 -0
- package/generic/button/button.component.d.ts +151 -0
- package/generic/button/button.component.d.ts.map +1 -0
- package/generic/button/index.d.ts +2 -0
- package/generic/button/index.d.ts.map +1 -0
- package/generic/button/public-api.d.ts +2 -0
- package/generic/button/public-api.d.ts.map +1 -0
- package/generic/button/ui/ui-button-helm/src/index.d.ts +10 -0
- package/generic/button/ui/ui-button-helm/src/index.d.ts.map +1 -0
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.d.ts +20 -0
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.d.ts.map +1 -0
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.d.ts +9 -0
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.d.ts.map +1 -0
- package/generic/carousel/carousel-item.component.d.ts +8 -0
- package/generic/carousel/carousel-item.component.d.ts.map +1 -0
- package/generic/carousel/carousel.component.d.ts +20 -0
- package/generic/carousel/carousel.component.d.ts.map +1 -0
- package/generic/carousel/index.d.ts +2 -0
- package/generic/carousel/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/generic/carousel/public-api.ts → generic/carousel/public-api.d.ts} +1 -0
- package/generic/carousel/public-api.d.ts.map +1 -0
- package/generic/carousel/ui/ui-carousel-helm/src/index.d.ts +26 -0
- package/generic/carousel/ui/ui-carousel-helm/src/index.d.ts.map +1 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.d.ts +10 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.d.ts.map +1 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.d.ts +10 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.d.ts.map +1 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.d.ts +15 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.d.ts.map +1 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.d.ts +15 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.d.ts.map +1 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.d.ts +16 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.d.ts.map +1 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.d.ts +28 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.d.ts.map +1 -0
- package/generic/dialog/dialog.component.d.ts +11 -0
- package/generic/dialog/dialog.component.d.ts.map +1 -0
- package/generic/dialog/index.d.ts +2 -0
- package/generic/dialog/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/index.ts → generic/dialog/libs/ui-dialog-helm/src/index.d.ts} +8 -20
- package/generic/dialog/libs/ui-dialog-helm/src/index.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.d.ts +9 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.d.ts +15 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.d.ts +10 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.d.ts +9 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.d.ts +9 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.d.ts +12 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.d.ts +10 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.d.ts +7 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.d.ts.map +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.d.ts +21 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.d.ts.map +1 -0
- package/{projects/software-division-components/src/generic/dialog/public-api.ts → generic/dialog/public-api.d.ts} +1 -4
- package/generic/dialog/public-api.d.ts.map +1 -0
- package/generic/drawer/drawer.component.d.ts +6 -0
- package/generic/drawer/drawer.component.d.ts.map +1 -0
- package/generic/drawer/drawer.service.d.ts +7 -0
- package/generic/drawer/drawer.service.d.ts.map +1 -0
- package/generic/drawer/index.d.ts +2 -0
- package/generic/drawer/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/generic/drawer/public-api.ts → generic/drawer/public-api.d.ts} +1 -4
- package/generic/drawer/public-api.d.ts.map +1 -0
- package/generic/icon/icon.component.d.ts +21 -0
- package/generic/icon/icon.component.d.ts.map +1 -0
- package/generic/icon/index.d.ts +2 -0
- package/generic/icon/index.d.ts.map +1 -0
- package/generic/icon/lib/ui-icon-helm/src/index.d.ts +10 -0
- package/generic/icon/lib/ui-icon-helm/src/index.d.ts.map +1 -0
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.d.ts +10 -0
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.d.ts.map +1 -0
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.d.ts +8 -0
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +1 -0
- package/generic/icon/public-api.d.ts +2 -0
- package/generic/icon/public-api.d.ts.map +1 -0
- package/generic/index.d.ts +2 -0
- package/generic/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/generic/public-api.ts → generic/public-api.d.ts} +1 -0
- package/generic/public-api.d.ts.map +1 -0
- package/generic/select/index.d.ts +2 -0
- package/generic/select/index.d.ts.map +1 -0
- package/generic/select/lib/hlm-select-content.d.ts +13 -0
- package/generic/select/lib/hlm-select-content.d.ts.map +1 -0
- package/generic/select/lib/hlm-select-group.d.ts +10 -0
- package/generic/select/lib/hlm-select-group.d.ts.map +1 -0
- package/generic/select/lib/hlm-select-label.d.ts +12 -0
- package/generic/select/lib/hlm-select-label.d.ts.map +1 -0
- package/generic/select/lib/hlm-select-option.d.ts +12 -0
- package/generic/select/lib/hlm-select-option.d.ts.map +1 -0
- package/generic/select/lib/hlm-select-scroll-down.d.ts +9 -0
- package/generic/select/lib/hlm-select-scroll-down.d.ts.map +1 -0
- package/generic/select/lib/hlm-select-scroll-up.d.ts +9 -0
- package/generic/select/lib/hlm-select-scroll-up.d.ts.map +1 -0
- package/generic/select/lib/hlm-select-trigger.d.ts +17 -0
- package/generic/select/lib/hlm-select-trigger.d.ts.map +1 -0
- package/generic/select/lib/hlm-select-value.d.ts +9 -0
- package/generic/select/lib/hlm-select-value.d.ts.map +1 -0
- package/generic/select/lib/hlm-select.d.ts +9 -0
- package/generic/select/lib/hlm-select.d.ts.map +1 -0
- package/generic/select/lib/index.d.ts +35 -0
- package/generic/select/lib/index.d.ts.map +1 -0
- package/{projects/software-division-components/src/generic/select/public-api.ts → generic/select/public-api.d.ts} +1 -0
- package/generic/select/public-api.d.ts.map +1 -0
- package/generic/select/select.component.d.ts +14 -0
- package/generic/select/select.component.d.ts.map +1 -0
- package/generic/select/types.d.ts +5 -0
- package/generic/select/types.d.ts.map +1 -0
- package/index.d.ts +6 -0
- package/package.json +172 -130
- package/{projects/software-division-components/src/public-api.ts → public-api.d.ts} +1 -3
- package/public-api.d.ts.map +1 -0
- package/shared/apply-theme-variables/apply-theme-variables.d.ts +4 -0
- package/shared/apply-theme-variables/apply-theme-variables.d.ts.map +1 -0
- package/{projects/software-division-components/src/shared/apply-theme-variables/index.ts → shared/apply-theme-variables/index.d.ts} +1 -0
- package/shared/apply-theme-variables/index.d.ts.map +1 -0
- package/shared/lib-provider/config-token.d.ts +4 -0
- package/shared/lib-provider/config-token.d.ts.map +1 -0
- package/shared/lib-provider/index.d.ts +2 -0
- package/shared/lib-provider/index.d.ts.map +1 -0
- package/shared/lib-provider/provide-sdc.d.ts +10 -0
- package/shared/lib-provider/provide-sdc.d.ts.map +1 -0
- package/{projects/software-division-components/src/shared/lib-provider/public-api.ts → shared/lib-provider/public-api.d.ts} +1 -0
- package/shared/lib-provider/public-api.d.ts.map +1 -0
- package/{projects/software-division-components/src/shared/screen-observer/index.ts → shared/screen-observer/index.d.ts} +1 -0
- package/shared/screen-observer/index.d.ts.map +1 -0
- package/shared/screen-observer/provide-screen-observer.d.ts +5 -0
- package/shared/screen-observer/provide-screen-observer.d.ts.map +1 -0
- package/shared/screen-observer/screen-observer.d.ts +15 -0
- package/shared/screen-observer/screen-observer.d.ts.map +1 -0
- package/{projects/software-division-components/src/shared/types.ts → shared/types.d.ts} +12 -8
- package/shared/types.d.ts.map +1 -0
- package/styles.css +2 -0
- package/types/sizes.type.d.ts +3 -0
- package/types/sizes.type.d.ts.map +1 -0
- package/.editorconfig +0 -17
- package/.husky/commit-msg +0 -1
- package/.prettierrc +0 -11
- package/README.backup.md +0 -579
- package/angular.json +0 -144
- package/commitlint-config.ts +0 -7
- package/components.json +0 -6
- package/docs/conventions.md +0 -151
- package/docs/installation.md +0 -131
- package/docs/releasing.md +0 -306
- package/eslint.config.ts +0 -209
- package/lerna-debug.log +0 -71
- package/lerna.json +0 -8
- package/pnpm-workspace.yaml +0 -2
- package/postcss.config.js +0 -6
- package/process-styles.js +0 -31
- package/projects/consumer-app/public/favicon.ico +0 -0
- package/projects/consumer-app/src/app/app.component.css +0 -45
- package/projects/consumer-app/src/app/app.component.html +0 -11
- package/projects/consumer-app/src/app/app.component.ts +0 -14
- package/projects/consumer-app/src/app/app.config.ts +0 -8
- package/projects/consumer-app/src/app/app.routes.ts +0 -9
- package/projects/consumer-app/src/app/form/form.component.css +0 -82
- package/projects/consumer-app/src/app/form/form.component.html +0 -196
- package/projects/consumer-app/src/app/form/form.component.ts +0 -101
- package/projects/consumer-app/src/app/table/action-column.component.ts +0 -46
- package/projects/consumer-app/src/app/table/table.component.css +0 -3
- package/projects/consumer-app/src/app/table/table.component.html +0 -17
- package/projects/consumer-app/src/app/table/table.component.ts +0 -277
- package/projects/consumer-app/src/index.html +0 -13
- package/projects/consumer-app/src/main.ts +0 -6
- package/projects/consumer-app/src/styles.css +0 -35
- package/projects/consumer-app/tsconfig.app.json +0 -11
- package/projects/consumer-app/tsconfig.spec.json +0 -15
- package/projects/software-division-components/.claude/settings.local.json +0 -9
- package/projects/software-division-components/.postcssrc.json +0 -5
- package/projects/software-division-components/.storybook/main.ts +0 -28
- package/projects/software-division-components/.storybook/manager-head.html +0 -1
- package/projects/software-division-components/.storybook/preview.ts +0 -30
- package/projects/software-division-components/.storybook/tsconfig.json +0 -13
- package/projects/software-division-components/.storybook/typings.d.ts +0 -4
- package/projects/software-division-components/LICENSE.md +0 -21
- package/projects/software-division-components/components.json +0 -3
- package/projects/software-division-components/documentation.json +0 -5052
- package/projects/software-division-components/ng-package.json +0 -10
- package/projects/software-division-components/node_modules/.bin/acorn +0 -21
- package/projects/software-division-components/node_modules/.bin/browserslist +0 -21
- package/projects/software-division-components/node_modules/.bin/chroma +0 -21
- package/projects/software-division-components/node_modules/.bin/chromatic +0 -21
- package/projects/software-division-components/node_modules/.bin/chromatic-cli +0 -21
- package/projects/software-division-components/node_modules/.bin/compodoc +0 -21
- package/projects/software-division-components/node_modules/.bin/eslint +0 -21
- package/projects/software-division-components/node_modules/.bin/getstorybook +0 -21
- package/projects/software-division-components/node_modules/.bin/jiti +0 -21
- package/projects/software-division-components/node_modules/.bin/js-yaml +0 -21
- package/projects/software-division-components/node_modules/.bin/karma +0 -21
- package/projects/software-division-components/node_modules/.bin/lessc +0 -21
- package/projects/software-division-components/node_modules/.bin/mf +0 -21
- package/projects/software-division-components/node_modules/.bin/ng +0 -21
- package/projects/software-division-components/node_modules/.bin/ng-packagr +0 -21
- package/projects/software-division-components/node_modules/.bin/ng-xi18n +0 -21
- package/projects/software-division-components/node_modules/.bin/ngc +0 -21
- package/projects/software-division-components/node_modules/.bin/ngcc +0 -21
- package/projects/software-division-components/node_modules/.bin/nx +0 -21
- package/projects/software-division-components/node_modules/.bin/nx-cloud +0 -21
- package/projects/software-division-components/node_modules/.bin/prettier +0 -21
- package/projects/software-division-components/node_modules/.bin/sass +0 -21
- package/projects/software-division-components/node_modules/.bin/sb +0 -21
- package/projects/software-division-components/node_modules/.bin/storybook +0 -21
- package/projects/software-division-components/node_modules/.bin/tailwind +0 -21
- package/projects/software-division-components/node_modules/.bin/tailwindcss +0 -21
- package/projects/software-division-components/node_modules/.bin/terser +0 -21
- package/projects/software-division-components/node_modules/.bin/tsc +0 -21
- package/projects/software-division-components/node_modules/.bin/tsserver +0 -21
- package/projects/software-division-components/node_modules/.bin/vite +0 -21
- package/projects/software-division-components/node_modules/.bin/webpack +0 -21
- package/projects/software-division-components/node_modules/.bin/yaml +0 -21
- package/projects/software-division-components/package.json +0 -216
- package/projects/software-division-components/public/3ddv-logo.jpg +0 -0
- package/projects/software-division-components/public/neighbours-after.png +0 -0
- package/projects/software-division-components/public/neighbours-before.png +0 -0
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.css +0 -193
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.html +0 -23
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.ts +0 -252
- package/projects/software-division-components/src/backoffice/checkbox/index.ts +0 -1
- package/projects/software-division-components/src/backoffice/checkbox/public-api.ts +0 -1
- package/projects/software-division-components/src/backoffice/checkbox/story/checkbox.stories.ts +0 -304
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.css +0 -262
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.html +0 -40
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.ts +0 -366
- package/projects/software-division-components/src/backoffice/datepicker/index.ts +0 -1
- package/projects/software-division-components/src/backoffice/datepicker/story/datepicker.stories.ts +0 -32
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/index.ts +0 -14
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.ts +0 -183
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.ts +0 -171
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/index.ts +0 -16
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.ts +0 -43
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.ts +0 -177
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.ts +0 -43
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.ts +0 -167
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/index.ts +0 -11
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +0 -20
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.ts +0 -35
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/index.ts +0 -15
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.ts +0 -19
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.ts +0 -30
- package/projects/software-division-components/src/backoffice/index.ts +0 -1
- package/projects/software-division-components/src/backoffice/input/index.ts +0 -1
- package/projects/software-division-components/src/backoffice/input/input.component.css +0 -319
- package/projects/software-division-components/src/backoffice/input/input.component.html +0 -51
- package/projects/software-division-components/src/backoffice/input/input.component.ts +0 -497
- package/projects/software-division-components/src/backoffice/input/public-api.ts +0 -2
- package/projects/software-division-components/src/backoffice/input/story/input.stories.ts +0 -243
- package/projects/software-division-components/src/backoffice/package.json +0 -8
- package/projects/software-division-components/src/backoffice/radio/index.ts +0 -1
- package/projects/software-division-components/src/backoffice/radio/public-api.ts +0 -1
- package/projects/software-division-components/src/backoffice/radio/radio.component.css +0 -143
- package/projects/software-division-components/src/backoffice/radio/radio.component.html +0 -15
- package/projects/software-division-components/src/backoffice/radio/radio.component.ts +0 -154
- package/projects/software-division-components/src/backoffice/radio/story/radio.stories.ts +0 -287
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.css +0 -117
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.html +0 -55
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.ts +0 -79
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.html +0 -6
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.ts +0 -36
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.css +0 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.html +0 -5
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.ts +0 -12
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.css +0 -14
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.html +0 -11
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.ts +0 -55
- package/projects/software-division-components/src/backoffice/table/index.ts +0 -1
- package/projects/software-division-components/src/backoffice/table/public-api.ts +0 -43
- package/projects/software-division-components/src/backoffice/table/story/table.stories.ts +0 -364
- package/projects/software-division-components/src/backoffice/table/table.component.css +0 -172
- package/projects/software-division-components/src/backoffice/table/table.component.html +0 -53
- package/projects/software-division-components/src/backoffice/table/table.component.ts +0 -347
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/index.ts +0 -11
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +0 -20
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.ts +0 -35
- package/projects/software-division-components/src/backoffice/table/ui/ui-table-helm/src/index.ts +0 -13
- package/projects/software-division-components/src/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.ts +0 -220
- package/projects/software-division-components/src/dvm/cart/cart.component.css +0 -103
- package/projects/software-division-components/src/dvm/cart/cart.component.html +0 -31
- package/projects/software-division-components/src/dvm/cart/cart.component.ts +0 -49
- package/projects/software-division-components/src/dvm/cart/cart.stories.ts +0 -370
- package/projects/software-division-components/src/dvm/cart/cart.types.ts +0 -8
- package/projects/software-division-components/src/dvm/cart/index.ts +0 -2
- package/projects/software-division-components/src/dvm/cart/seat-list.component.css +0 -281
- package/projects/software-division-components/src/dvm/cart/seat-list.component.html +0 -85
- package/projects/software-division-components/src/dvm/cart/seat-list.component.ts +0 -76
- package/projects/software-division-components/src/dvm/cart/seat-list.stories.ts +0 -337
- package/projects/software-division-components/src/dvm/cart-item/cart-item.component.html +0 -1
- package/projects/software-division-components/src/dvm/cart-item/cart-item.component.ts +0 -8
- package/projects/software-division-components/src/dvm/cart-item/cart-item.service.ts +0 -8
- package/projects/software-division-components/src/dvm/cart-item/cart.stories.ts +0 -31
- package/projects/software-division-components/src/dvm/cart-item/index.ts +0 -1
- package/projects/software-division-components/src/dvm/cart-item/package.json +0 -5
- package/projects/software-division-components/src/dvm/index.ts +0 -1
- package/projects/software-division-components/src/dvm/legend/index.ts +0 -1
- package/projects/software-division-components/src/dvm/legend/legend.component.css +0 -49
- package/projects/software-division-components/src/dvm/legend/legend.component.html +0 -8
- package/projects/software-division-components/src/dvm/legend/legend.component.ts +0 -41
- package/projects/software-division-components/src/dvm/legend/legend.stories.ts +0 -16
- package/projects/software-division-components/src/dvm/legend/package.json +0 -5
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.css +0 -49
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.html +0 -8
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.ts +0 -41
- package/projects/software-division-components/src/dvm/loader/index.ts +0 -1
- package/projects/software-division-components/src/dvm/loader/loader.component.html +0 -1
- package/projects/software-division-components/src/dvm/loader/loader.component.ts +0 -8
- package/projects/software-division-components/src/dvm/loader/loader.service.ts +0 -8
- package/projects/software-division-components/src/dvm/loader/loader.stories.ts +0 -31
- package/projects/software-division-components/src/dvm/loader/package.json +0 -5
- package/projects/software-division-components/src/dvm/map-loader/index.ts +0 -1
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.css +0 -91
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.html +0 -23
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.ts +0 -187
- package/projects/software-division-components/src/dvm/map-loader/map-loader.stories.ts +0 -16
- package/projects/software-division-components/src/dvm/map-loader/package.json +0 -5
- package/projects/software-division-components/src/dvm/map-loader/public-api.ts +0 -5
- package/projects/software-division-components/src/dvm/neighbors/index.ts +0 -1
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.css +0 -158
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.html +0 -45
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.ts +0 -218
- package/projects/software-division-components/src/dvm/neighbors/package.json +0 -5
- package/projects/software-division-components/src/dvm/neighbors/public-api.ts +0 -2
- package/projects/software-division-components/src/dvm/neighbors/story/arrow-left-black-icon.svg +0 -3
- package/projects/software-division-components/src/dvm/neighbors/story/mock-data.ts +0 -15
- package/projects/software-division-components/src/dvm/neighbors/story/neighbours.stories.css +0 -12
- package/projects/software-division-components/src/dvm/neighbors/story/neighbours.stories.ts +0 -117
- package/projects/software-division-components/src/dvm/package.json +0 -7
- package/projects/software-division-components/src/dvm/popover/base-popover.component.ts +0 -70
- package/projects/software-division-components/src/dvm/popover/index.ts +0 -1
- package/projects/software-division-components/src/dvm/popover/package.json +0 -5
- package/projects/software-division-components/src/dvm/popover/popover.component.css +0 -227
- package/projects/software-division-components/src/dvm/popover/popover.component.html +0 -27
- package/projects/software-division-components/src/dvm/popover/popover.component.ts +0 -236
- package/projects/software-division-components/src/dvm/popover/popover.config.ts +0 -30
- package/projects/software-division-components/src/dvm/popover/popover.service.ts +0 -627
- package/projects/software-division-components/src/dvm/popover/popover.stories.ts +0 -873
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.css +0 -89
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.html +0 -40
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.ts +0 -74
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.css +0 -157
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.html +0 -58
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.ts +0 -106
- package/projects/software-division-components/src/dvm/popover/services/dvm-popover-positioner.service.ts +0 -73
- package/projects/software-division-components/src/dvm/popover/services/popover-manager.service.ts +0 -88
- package/projects/software-division-components/src/dvm/popover/transformers/base-popover-data-transformer.ts +0 -36
- package/projects/software-division-components/src/dvm/popover/types.ts +0 -104
- package/projects/software-division-components/src/dvm/stepper/index.ts +0 -1
- package/projects/software-division-components/src/dvm/stepper/package.json +0 -5
- package/projects/software-division-components/src/dvm/stepper/public-api.ts +0 -5
- package/projects/software-division-components/src/dvm/stepper/stepper.component.css +0 -142
- package/projects/software-division-components/src/dvm/stepper/stepper.component.html +0 -9
- package/projects/software-division-components/src/dvm/stepper/stepper.component.ts +0 -102
- package/projects/software-division-components/src/dvm/ticket-info-item/index.ts +0 -1
- package/projects/software-division-components/src/dvm/ticket-info-item/package.json +0 -5
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.component.html +0 -1
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.component.ts +0 -8
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.service.ts +0 -8
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.stories.ts +0 -31
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.css +0 -76
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.html +0 -46
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.ts +0 -45
- package/projects/software-division-components/src/generic/add-digital-wallet/index.ts +0 -1
- package/projects/software-division-components/src/generic/braintree/braintree.component.css +0 -7
- package/projects/software-division-components/src/generic/braintree/braintree.component.ts +0 -134
- package/projects/software-division-components/src/generic/braintree/index.ts +0 -1
- package/projects/software-division-components/src/generic/braintree/package.json +0 -5
- package/projects/software-division-components/src/generic/braintree/story/braintree.stories.css +0 -3
- package/projects/software-division-components/src/generic/braintree/story/braintree.stories.ts +0 -27
- package/projects/software-division-components/src/generic/braintree/types.ts +0 -28
- package/projects/software-division-components/src/generic/button/button.component.css +0 -295
- package/projects/software-division-components/src/generic/button/button.component.html +0 -10
- package/projects/software-division-components/src/generic/button/button.component.ts +0 -352
- package/projects/software-division-components/src/generic/button/index.ts +0 -1
- package/projects/software-division-components/src/generic/button/package.json +0 -5
- package/projects/software-division-components/src/generic/button/public-api.ts +0 -5
- package/projects/software-division-components/src/generic/button/story/button.stories.ts +0 -384
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/index.ts +0 -10
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.ts +0 -22
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/lib/hlm-button.ts +0 -62
- package/projects/software-division-components/src/generic/carousel/carousel-item.component.ts +0 -15
- package/projects/software-division-components/src/generic/carousel/carousel-item.directive.ts +0 -14
- package/projects/software-division-components/src/generic/carousel/carousel.component.css +0 -90
- package/projects/software-division-components/src/generic/carousel/carousel.component.html +0 -13
- package/projects/software-division-components/src/generic/carousel/carousel.component.ts +0 -44
- package/projects/software-division-components/src/generic/carousel/index.ts +0 -1
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/index.ts +0 -29
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.ts +0 -23
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.ts +0 -25
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.ts +0 -58
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.ts +0 -61
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.ts +0 -36
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.ts +0 -105
- package/projects/software-division-components/src/generic/dialog/dialog.component.css +0 -5
- package/projects/software-division-components/src/generic/dialog/dialog.component.html +0 -3
- package/projects/software-division-components/src/generic/dialog/dialog.component.ts +0 -20
- package/projects/software-division-components/src/generic/dialog/dialog.stories.ts +0 -14
- package/projects/software-division-components/src/generic/dialog/index.ts +0 -1
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.ts +0 -20
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.ts +0 -56
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.ts +0 -17
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.ts +0 -19
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.ts +0 -19
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.ts +0 -23
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.ts +0 -19
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.ts +0 -59
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.ts +0 -31
- package/projects/software-division-components/src/generic/dialog/package.json +0 -9
- package/projects/software-division-components/src/generic/dialog/tsconfig.json +0 -7
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.html +0 -1
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.ts +0 -17
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.html +0 -3
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.ts +0 -11
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.html +0 -8
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.ts +0 -14
- package/projects/software-division-components/src/generic/drawer/drawer.component.html +0 -1
- package/projects/software-division-components/src/generic/drawer/drawer.component.ts +0 -8
- package/projects/software-division-components/src/generic/drawer/drawer.service.ts +0 -8
- package/projects/software-division-components/src/generic/drawer/drawer.stories.ts +0 -31
- package/projects/software-division-components/src/generic/drawer/index.ts +0 -1
- package/projects/software-division-components/src/generic/drawer/package.json +0 -5
- package/projects/software-division-components/src/generic/icon/icon.component.css +0 -7
- package/projects/software-division-components/src/generic/icon/icon.component.html +0 -3
- package/projects/software-division-components/src/generic/icon/icon.component.ts +0 -86
- package/projects/software-division-components/src/generic/icon/icon.stories.ts +0 -16
- package/projects/software-division-components/src/generic/icon/index.ts +0 -1
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/index.ts +0 -11
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.ts +0 -20
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.ts +0 -36
- package/projects/software-division-components/src/generic/icon/package.json +0 -9
- package/projects/software-division-components/src/generic/icon/public-api.ts +0 -5
- package/projects/software-division-components/src/generic/icon/tsconfig.json +0 -7
- package/projects/software-division-components/src/generic/index.ts +0 -1
- package/projects/software-division-components/src/generic/package.json +0 -7
- package/projects/software-division-components/src/generic/select/index.ts +0 -1
- package/projects/software-division-components/src/generic/select/lib/hlm-select-content.ts +0 -29
- package/projects/software-division-components/src/generic/select/lib/hlm-select-group.ts +0 -17
- package/projects/software-division-components/src/generic/select/lib/hlm-select-label.ts +0 -26
- package/projects/software-division-components/src/generic/select/lib/hlm-select-option.ts +0 -37
- package/projects/software-division-components/src/generic/select/lib/hlm-select-scroll-down.ts +0 -24
- package/projects/software-division-components/src/generic/select/lib/hlm-select-scroll-up.ts +0 -23
- package/projects/software-division-components/src/generic/select/lib/hlm-select-trigger.ts +0 -53
- package/projects/software-division-components/src/generic/select/lib/hlm-select-value.ts +0 -17
- package/projects/software-division-components/src/generic/select/lib/hlm-select.ts +0 -15
- package/projects/software-division-components/src/generic/select/lib/index.ts +0 -38
- package/projects/software-division-components/src/generic/select/select.component.css +0 -65
- package/projects/software-division-components/src/generic/select/select.component.html +0 -19
- package/projects/software-division-components/src/generic/select/select.component.ts +0 -25
- package/projects/software-division-components/src/generic/select/types.ts +0 -4
- package/projects/software-division-components/src/private-exports.ts +0 -1
- package/projects/software-division-components/src/shared/apply-theme-variables/apply-theme-variables.ts +0 -35
- package/projects/software-division-components/src/shared/format-value.pipe.ts +0 -23
- package/projects/software-division-components/src/shared/index.ts +0 -1
- package/projects/software-division-components/src/shared/lib-provider/config-token.ts +0 -4
- package/projects/software-division-components/src/shared/lib-provider/index.ts +0 -1
- package/projects/software-division-components/src/shared/lib-provider/provide-sdc.ts +0 -24
- package/projects/software-division-components/src/shared/public-api.ts +0 -6
- package/projects/software-division-components/src/shared/screen-observer/provide-screen-observer.ts +0 -17
- package/projects/software-division-components/src/shared/screen-observer/screen-observer.ts +0 -56
- package/projects/software-division-components/src/shared/screen-observer/sizable-base.ts +0 -70
- package/projects/software-division-components/src/shared/theme-provider/generic-theme.ts +0 -1
- package/projects/software-division-components/src/shared/theme-provider/index.ts +0 -1
- package/projects/software-division-components/src/shared/theme-provider/public-api.ts +0 -1
- package/projects/software-division-components/src/shared/theme-provider/theme-provider.directive.ts +0 -17
- package/projects/software-division-components/src/shared/themes/sdc.css +0 -153
- package/projects/software-division-components/src/types/sizes.type.ts +0 -3
- package/projects/software-division-components/src/utils/index.ts +0 -1
- package/projects/software-division-components/src/utils/public-api.ts +0 -1
- package/projects/software-division-components/src/utils/validate-styles-for-component.ts +0 -39
- package/projects/software-division-components/styles.css +0 -40
- package/projects/software-division-components/tsconfig.json +0 -30
- package/projects/software-division-components/tsconfig.spec.json +0 -15
- package/scripts/generate-versions.js +0 -60
- package/scripts/watch-dist.js +0 -222
- package/tsconfig.json +0 -46
- /package/{projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.css → .nx/workspace-data/project-graph.lock} +0 -0
- /package/{projects/software-division-components/tailwind.config.js → tailwind.config.js} +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { HlmCalendar } from './lib/hlm-calendar';
|
|
3
|
-
import { HlmCalendarMulti } from './lib/hlm-calendar-multi';
|
|
4
|
-
|
|
5
|
-
export * from './lib/hlm-calendar';
|
|
6
|
-
export * from './lib/hlm-calendar-multi';
|
|
7
|
-
|
|
8
|
-
export const HlmCalendarImports = [HlmCalendar, HlmCalendarMulti] as const;
|
|
9
|
-
|
|
10
|
-
@NgModule({
|
|
11
|
-
imports: [...HlmCalendarImports],
|
|
12
|
-
exports: [...HlmCalendarImports],
|
|
13
|
-
})
|
|
14
|
-
export class HlmCalendarModule {}
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
|
-
import {
|
|
3
|
-
ChangeDetectionStrategy,
|
|
4
|
-
Component,
|
|
5
|
-
booleanAttribute,
|
|
6
|
-
computed,
|
|
7
|
-
input,
|
|
8
|
-
model,
|
|
9
|
-
numberAttribute,
|
|
10
|
-
viewChild,
|
|
11
|
-
} from '@angular/core';
|
|
12
|
-
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
13
|
-
import { lucideChevronLeft, lucideChevronRight } from '@ng-icons/lucide';
|
|
14
|
-
import {
|
|
15
|
-
BrnCalendarCell,
|
|
16
|
-
BrnCalendarCellButton,
|
|
17
|
-
BrnCalendarGrid,
|
|
18
|
-
BrnCalendarHeader,
|
|
19
|
-
BrnCalendarMulti,
|
|
20
|
-
BrnCalendarNextButton,
|
|
21
|
-
BrnCalendarPreviousButton,
|
|
22
|
-
BrnCalendarWeek,
|
|
23
|
-
BrnCalendarWeekday,
|
|
24
|
-
Weekday,
|
|
25
|
-
injectBrnCalendarI18n,
|
|
26
|
-
} from '@spartan-ng/brain/calendar';
|
|
27
|
-
import { hlm } from '@spartan-ng/brain/core';
|
|
28
|
-
import { injectDateAdapter } from '@spartan-ng/brain/date-time';
|
|
29
|
-
import type { ClassValue } from 'clsx';
|
|
30
|
-
import { buttonVariants } from '../../../../../../generic/button/ui/ui-button-helm/src';
|
|
31
|
-
import { HlmIcon } from '../../../ui-icon-helm/src';
|
|
32
|
-
|
|
33
|
-
@Component({
|
|
34
|
-
selector: 'hlm-calendar-multi',
|
|
35
|
-
imports: [
|
|
36
|
-
BrnCalendarMulti,
|
|
37
|
-
BrnCalendarHeader,
|
|
38
|
-
BrnCalendarNextButton,
|
|
39
|
-
BrnCalendarPreviousButton,
|
|
40
|
-
BrnCalendarWeekday,
|
|
41
|
-
BrnCalendarWeek,
|
|
42
|
-
BrnCalendarCellButton,
|
|
43
|
-
BrnCalendarCell,
|
|
44
|
-
BrnCalendarGrid,
|
|
45
|
-
NgIcon,
|
|
46
|
-
HlmIcon,
|
|
47
|
-
],
|
|
48
|
-
viewProviders: [provideIcons({ lucideChevronLeft, lucideChevronRight })],
|
|
49
|
-
template: `
|
|
50
|
-
<div
|
|
51
|
-
brnCalendarMulti
|
|
52
|
-
[min]="min()"
|
|
53
|
-
[max]="max()"
|
|
54
|
-
[minSelection]="minSelection()"
|
|
55
|
-
[maxSelection]="maxSelection()"
|
|
56
|
-
[disabled]="disabled()"
|
|
57
|
-
[(date)]="date"
|
|
58
|
-
[dateDisabled]="dateDisabled()"
|
|
59
|
-
[weekStartsOn]="weekStartsOn()"
|
|
60
|
-
[defaultFocusedDate]="defaultFocusedDate()"
|
|
61
|
-
[class]="_computedCalenderClass()">
|
|
62
|
-
<div class="inline-flex flex-col space-y-4">
|
|
63
|
-
<!-- Header -->
|
|
64
|
-
<div class="space-y-4">
|
|
65
|
-
<div class="relative flex items-center justify-center pt-1">
|
|
66
|
-
<div brnCalendarHeader class="text-sm font-medium">
|
|
67
|
-
{{ _heading() }}
|
|
68
|
-
</div>
|
|
69
|
-
|
|
70
|
-
<div class="flex items-center space-x-1">
|
|
71
|
-
<button
|
|
72
|
-
brnCalendarPreviousButton
|
|
73
|
-
class="ring-offset-background focus-visible:ring-ring border-input hover:bg-accent hover:text-accent-foreground absolute left-1 inline-flex h-7 w-7 items-center justify-center whitespace-nowrap rounded-md border bg-transparent p-0 text-sm font-medium opacity-50 transition-colors hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50">
|
|
74
|
-
<ng-icon hlm name="lucideChevronLeft" size="sm" />
|
|
75
|
-
</button>
|
|
76
|
-
|
|
77
|
-
<button
|
|
78
|
-
brnCalendarNextButton
|
|
79
|
-
class="ring-offset-background focus-visible:ring-ring border-input hover:bg-accent hover:text-accent-foreground absolute right-1 inline-flex h-7 w-7 items-center justify-center whitespace-nowrap rounded-md border bg-transparent p-0 text-sm font-medium opacity-50 transition-colors hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50">
|
|
80
|
-
<ng-icon hlm name="lucideChevronRight" size="sm" />
|
|
81
|
-
</button>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
<table class="w-full border-collapse space-y-1" brnCalendarGrid>
|
|
87
|
-
<thead>
|
|
88
|
-
<tr class="flex">
|
|
89
|
-
<th
|
|
90
|
-
*brnCalendarWeekday="let weekday"
|
|
91
|
-
scope="col"
|
|
92
|
-
class="text-muted-foreground w-8 rounded-md text-[0.8rem] font-normal"
|
|
93
|
-
[attr.aria-label]="_i18n.labelWeekday(weekday)">
|
|
94
|
-
{{ _i18n.formatWeekdayName(weekday) }}
|
|
95
|
-
</th>
|
|
96
|
-
</tr>
|
|
97
|
-
</thead>
|
|
98
|
-
|
|
99
|
-
<tbody role="rowgroup">
|
|
100
|
-
<tr *brnCalendarWeek="let week" class="mt-2 flex w-full">
|
|
101
|
-
@for (date of week; track _dateAdapter.getTime(date)) {
|
|
102
|
-
<td
|
|
103
|
-
brnCalendarCell
|
|
104
|
-
class="data-[selected]:data-[outside]:bg-accent/50 data-[selected]:bg-accent relative h-8 w-8 p-0 text-center text-sm focus-within:relative focus-within:z-20 first:data-[selected]:rounded-l-md last:data-[selected]:rounded-r-md [&:has([aria-selected].day-range-end)]:rounded-r-md">
|
|
105
|
-
<button brnCalendarCellButton [date]="date" [class]="_btnClass">
|
|
106
|
-
{{ _dateAdapter.getDate(date) }}
|
|
107
|
-
</button>
|
|
108
|
-
</td>
|
|
109
|
-
}
|
|
110
|
-
</tr>
|
|
111
|
-
</tbody>
|
|
112
|
-
</table>
|
|
113
|
-
</div>
|
|
114
|
-
</div>
|
|
115
|
-
`,
|
|
116
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
117
|
-
})
|
|
118
|
-
export class HlmCalendarMulti<T> {
|
|
119
|
-
public readonly calendarClass = input<ClassValue>('');
|
|
120
|
-
|
|
121
|
-
protected readonly _computedCalenderClass = computed(() => hlm('rounded-md border p-3', this.calendarClass()));
|
|
122
|
-
|
|
123
|
-
/** Access the calendar i18n */
|
|
124
|
-
protected readonly _i18n = injectBrnCalendarI18n();
|
|
125
|
-
|
|
126
|
-
/** Access the date time adapter */
|
|
127
|
-
protected readonly _dateAdapter = injectDateAdapter<T>();
|
|
128
|
-
|
|
129
|
-
/** The minimum date that can be selected.*/
|
|
130
|
-
public readonly min = input<T>();
|
|
131
|
-
|
|
132
|
-
/** The maximum date that can be selected. */
|
|
133
|
-
public readonly max = input<T>();
|
|
134
|
-
|
|
135
|
-
/** The minimum selectable dates. */
|
|
136
|
-
public readonly minSelection = input<number, NumberInput>(undefined, {
|
|
137
|
-
transform: numberAttribute,
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
/** The maximum selectable dates. */
|
|
141
|
-
public readonly maxSelection = input<number, NumberInput>(undefined, {
|
|
142
|
-
transform: numberAttribute,
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
/** Determine if the date picker is disabled. */
|
|
146
|
-
public readonly disabled = input<boolean, BooleanInput>(false, {
|
|
147
|
-
transform: booleanAttribute,
|
|
148
|
-
});
|
|
149
|
-
|
|
150
|
-
/** The selected value. */
|
|
151
|
-
public readonly date = model<T[]>();
|
|
152
|
-
|
|
153
|
-
/** Whether a specific date is disabled. */
|
|
154
|
-
public readonly dateDisabled = input<(date: T) => boolean>(() => false);
|
|
155
|
-
|
|
156
|
-
/** The day the week starts on */
|
|
157
|
-
public readonly weekStartsOn = input<Weekday, NumberInput>(0, {
|
|
158
|
-
transform: (v: unknown) => numberAttribute(v) as Weekday,
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
/** The default focused date. */
|
|
162
|
-
public readonly defaultFocusedDate = input<T>();
|
|
163
|
-
|
|
164
|
-
/** Access the calendar directive */
|
|
165
|
-
private readonly _calendar = viewChild.required(BrnCalendarMulti);
|
|
166
|
-
|
|
167
|
-
/** Get the heading for the current month and year */
|
|
168
|
-
protected readonly _heading = computed(() =>
|
|
169
|
-
this._i18n.formatHeader(
|
|
170
|
-
this._dateAdapter.getMonth(this._calendar().focusedDate()),
|
|
171
|
-
this._dateAdapter.getYear(this._calendar().focusedDate())
|
|
172
|
-
)
|
|
173
|
-
);
|
|
174
|
-
|
|
175
|
-
protected readonly _btnClass = hlm(
|
|
176
|
-
buttonVariants({ variant: 'ghost' }),
|
|
177
|
-
'size-8 p-0 font-normal aria-selected:opacity-100',
|
|
178
|
-
'data-[outside]:text-muted-foreground data-[outside]:opacity-50 data-[outside]:aria-selected:bg-accent/50 data-[outside]:aria-selected:text-muted-foreground data-[outside]:aria-selected:opacity-30',
|
|
179
|
-
'data-[today]:bg-accent data-[today]:text-accent-foreground',
|
|
180
|
-
'data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:hover:bg-primary data-[selected]:hover:text-primary-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground',
|
|
181
|
-
'data-[disabled]:text-muted-foreground data-[disabled]:opacity-50'
|
|
182
|
-
);
|
|
183
|
-
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
|
-
import {
|
|
3
|
-
ChangeDetectionStrategy,
|
|
4
|
-
Component,
|
|
5
|
-
booleanAttribute,
|
|
6
|
-
computed,
|
|
7
|
-
input,
|
|
8
|
-
model,
|
|
9
|
-
numberAttribute,
|
|
10
|
-
viewChild,
|
|
11
|
-
} from '@angular/core';
|
|
12
|
-
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
13
|
-
import { lucideChevronLeft, lucideChevronRight } from '@ng-icons/lucide';
|
|
14
|
-
import {
|
|
15
|
-
BrnCalendar,
|
|
16
|
-
BrnCalendarCell,
|
|
17
|
-
BrnCalendarCellButton,
|
|
18
|
-
BrnCalendarGrid,
|
|
19
|
-
BrnCalendarHeader,
|
|
20
|
-
BrnCalendarNextButton,
|
|
21
|
-
BrnCalendarPreviousButton,
|
|
22
|
-
BrnCalendarWeek,
|
|
23
|
-
BrnCalendarWeekday,
|
|
24
|
-
Weekday,
|
|
25
|
-
injectBrnCalendarI18n,
|
|
26
|
-
} from '@spartan-ng/brain/calendar';
|
|
27
|
-
import { hlm } from '@spartan-ng/brain/core';
|
|
28
|
-
import { injectDateAdapter } from '@spartan-ng/brain/date-time';
|
|
29
|
-
import type { ClassValue } from 'clsx';
|
|
30
|
-
import { buttonVariants } from '../../../../../../generic/button/ui/ui-button-helm/src';
|
|
31
|
-
import { HlmIcon } from '../../../ui-icon-helm/src';
|
|
32
|
-
|
|
33
|
-
@Component({
|
|
34
|
-
selector: 'hlm-calendar',
|
|
35
|
-
imports: [
|
|
36
|
-
BrnCalendar,
|
|
37
|
-
BrnCalendarHeader,
|
|
38
|
-
BrnCalendarNextButton,
|
|
39
|
-
BrnCalendarPreviousButton,
|
|
40
|
-
BrnCalendarWeekday,
|
|
41
|
-
BrnCalendarWeek,
|
|
42
|
-
BrnCalendarCellButton,
|
|
43
|
-
BrnCalendarCell,
|
|
44
|
-
BrnCalendarGrid,
|
|
45
|
-
NgIcon,
|
|
46
|
-
HlmIcon,
|
|
47
|
-
],
|
|
48
|
-
viewProviders: [provideIcons({ lucideChevronLeft, lucideChevronRight })],
|
|
49
|
-
template: `
|
|
50
|
-
<div
|
|
51
|
-
brnCalendar
|
|
52
|
-
[min]="min()"
|
|
53
|
-
[max]="max()"
|
|
54
|
-
[disabled]="disabled()"
|
|
55
|
-
[(date)]="date"
|
|
56
|
-
[dateDisabled]="dateDisabled()"
|
|
57
|
-
[weekStartsOn]="weekStartsOn()"
|
|
58
|
-
[defaultFocusedDate]="defaultFocusedDate()"
|
|
59
|
-
[class]="_computedCalenderClass()">
|
|
60
|
-
<div class="inline-flex flex-col space-y-4">
|
|
61
|
-
<!-- Header -->
|
|
62
|
-
<div class="space-y-4">
|
|
63
|
-
<div class="relative flex items-center justify-center pt-1">
|
|
64
|
-
<div brnCalendarHeader class="text-sm font-medium">
|
|
65
|
-
{{ _heading() }}
|
|
66
|
-
</div>
|
|
67
|
-
|
|
68
|
-
<div class="flex items-center space-x-1">
|
|
69
|
-
<button
|
|
70
|
-
brnCalendarPreviousButton
|
|
71
|
-
class="focus-visible:ring-ring hover:bg-accent hover:text-accent-foreground text-popover-foreground absolute left-1 inline-flex size-8 items-center justify-center whitespace-nowrap rounded-md bg-transparent p-0 text-sm font-medium transition-colors hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50">
|
|
72
|
-
<ng-icon hlm name="lucideChevronLeft" size="sm" />
|
|
73
|
-
</button>
|
|
74
|
-
|
|
75
|
-
<button
|
|
76
|
-
brnCalendarNextButton
|
|
77
|
-
class="focus-visible:ring-ring hover:bg-accent hover:text-accent-foreground text-popover-foreground absolute right-1 inline-flex size-8 items-center justify-center whitespace-nowrap rounded-md bg-transparent p-0 text-sm font-medium transition-colors hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50">
|
|
78
|
-
<ng-icon hlm name="lucideChevronRight" size="sm" />
|
|
79
|
-
</button>
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
<table class="w-full border-collapse space-y-1" brnCalendarGrid>
|
|
85
|
-
<thead>
|
|
86
|
-
<tr class="flex">
|
|
87
|
-
<th
|
|
88
|
-
*brnCalendarWeekday="let weekday"
|
|
89
|
-
scope="col"
|
|
90
|
-
class="text-muted-foreground w-8 rounded-md text-[0.8rem] font-normal"
|
|
91
|
-
[attr.aria-label]="_i18n.labelWeekday(weekday)">
|
|
92
|
-
{{ _i18n.formatWeekdayName(weekday) }}
|
|
93
|
-
</th>
|
|
94
|
-
</tr>
|
|
95
|
-
</thead>
|
|
96
|
-
|
|
97
|
-
<tbody role="rowgroup">
|
|
98
|
-
<tr *brnCalendarWeek="let week" class="mt-2 flex w-full">
|
|
99
|
-
@for (date of week; track _dateAdapter.getTime(date)) {
|
|
100
|
-
<td
|
|
101
|
-
brnCalendarCell
|
|
102
|
-
class="data-[selected]:data-[outside]:bg-accent/50 data-[selected]:bg-accent relative size-8 p-0 text-center text-sm focus-within:relative focus-within:z-20 first:data-[selected]:rounded-l-md last:data-[selected]:rounded-r-md [&:has([aria-selected].day-range-end)]:rounded-r-md">
|
|
103
|
-
<button brnCalendarCellButton [date]="date" [class]="_btnClass">
|
|
104
|
-
{{ _dateAdapter.getDate(date) }}
|
|
105
|
-
</button>
|
|
106
|
-
</td>
|
|
107
|
-
}
|
|
108
|
-
</tr>
|
|
109
|
-
</tbody>
|
|
110
|
-
</table>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
`,
|
|
114
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
115
|
-
})
|
|
116
|
-
export class HlmCalendar<T> {
|
|
117
|
-
public readonly calendarClass = input<ClassValue>('');
|
|
118
|
-
|
|
119
|
-
protected readonly _computedCalenderClass = computed(() => hlm('rounded-md border p-3', this.calendarClass()));
|
|
120
|
-
|
|
121
|
-
/** Access the calendar i18n */
|
|
122
|
-
protected readonly _i18n = injectBrnCalendarI18n();
|
|
123
|
-
|
|
124
|
-
/** Access the date time adapter */
|
|
125
|
-
protected readonly _dateAdapter = injectDateAdapter<T>();
|
|
126
|
-
|
|
127
|
-
/** The minimum date that can be selected.*/
|
|
128
|
-
public readonly min = input<T>();
|
|
129
|
-
|
|
130
|
-
/** The maximum date that can be selected. */
|
|
131
|
-
public readonly max = input<T>();
|
|
132
|
-
|
|
133
|
-
/** Determine if the date picker is disabled. */
|
|
134
|
-
public readonly disabled = input<boolean, BooleanInput>(false, {
|
|
135
|
-
transform: booleanAttribute,
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
/** The selected value. */
|
|
139
|
-
public readonly date = model<T>();
|
|
140
|
-
|
|
141
|
-
/** Whether a specific date is disabled. */
|
|
142
|
-
public readonly dateDisabled = input<(date: T) => boolean>(() => false);
|
|
143
|
-
|
|
144
|
-
/** The day the week starts on */
|
|
145
|
-
public readonly weekStartsOn = input<Weekday, NumberInput>(0, {
|
|
146
|
-
transform: (v: unknown) => numberAttribute(v) as Weekday,
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
/** The default focused date. */
|
|
150
|
-
public readonly defaultFocusedDate = input<T>();
|
|
151
|
-
|
|
152
|
-
/** Access the calendar directive */
|
|
153
|
-
private readonly _calendar = viewChild.required(BrnCalendar);
|
|
154
|
-
|
|
155
|
-
/** Get the heading for the current month and year */
|
|
156
|
-
protected readonly _heading = computed(() =>
|
|
157
|
-
this._i18n.formatHeader(
|
|
158
|
-
this._dateAdapter.getMonth(this._calendar().focusedDate()),
|
|
159
|
-
this._dateAdapter.getYear(this._calendar().focusedDate())
|
|
160
|
-
)
|
|
161
|
-
);
|
|
162
|
-
|
|
163
|
-
protected readonly _btnClass = hlm(
|
|
164
|
-
buttonVariants({ variant: 'ghost' }),
|
|
165
|
-
'size-8 p-0 font-normal aria-selected:opacity-100',
|
|
166
|
-
'data-[outside]:text-muted-foreground data-[outside]:opacity-50 data-[outside]:aria-selected:bg-accent/50 data-[outside]:aria-selected:text-muted-foreground data-[outside]:aria-selected:opacity-30',
|
|
167
|
-
'data-[today]:bg-accent data-[today]:text-accent-foreground',
|
|
168
|
-
'data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:hover:bg-primary dark:hover:text-accent-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground',
|
|
169
|
-
'data-[disabled]:text-muted-foreground data-[disabled]:opacity-50'
|
|
170
|
-
);
|
|
171
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { HlmDatePicker } from './lib/hlm-date-picker';
|
|
3
|
-
import { HlmDatePickerMulti } from './lib/hlm-date-picker-multi';
|
|
4
|
-
|
|
5
|
-
export * from './lib/hlm-date-picker.token';
|
|
6
|
-
|
|
7
|
-
export * from './lib/hlm-date-picker';
|
|
8
|
-
export * from './lib/hlm-date-picker-multi';
|
|
9
|
-
|
|
10
|
-
export const HlmDatePickerImports = [HlmDatePicker, HlmDatePickerMulti] as const;
|
|
11
|
-
|
|
12
|
-
@NgModule({
|
|
13
|
-
imports: [...HlmDatePickerImports],
|
|
14
|
-
exports: [...HlmDatePickerImports],
|
|
15
|
-
})
|
|
16
|
-
export class HlmDatePickerModule {}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { inject, InjectionToken, ValueProvider } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
export interface HlmDatePickerMultiConfig<T> {
|
|
4
|
-
/**
|
|
5
|
-
* If true, the date picker will close when the max selection of dates is reached.
|
|
6
|
-
*/
|
|
7
|
-
autoCloseOnMaxSelection: boolean;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Defines how the date should be displayed in the UI.
|
|
11
|
-
*
|
|
12
|
-
* @param dates
|
|
13
|
-
* @returns formatted date
|
|
14
|
-
*/
|
|
15
|
-
formatDates: (dates: T[]) => string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Defines how the date should be transformed before saving to model/form.
|
|
19
|
-
*
|
|
20
|
-
* @param dates
|
|
21
|
-
* @returns transformed date
|
|
22
|
-
*/
|
|
23
|
-
transformDates: (dates: T[]) => T[];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function getDefaultConfig<T>(): HlmDatePickerMultiConfig<T> {
|
|
27
|
-
return {
|
|
28
|
-
formatDates: (dates) => dates.map((date) => (date instanceof Date ? date.toDateString() : `${date}`)).join(', '),
|
|
29
|
-
transformDates: (dates) => dates,
|
|
30
|
-
autoCloseOnMaxSelection: false,
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const HlmDatePickerMultiConfigToken = new InjectionToken<HlmDatePickerMultiConfig<unknown>>('HlmDatePickerMultiConfig');
|
|
35
|
-
|
|
36
|
-
export function provideHlmDatePickerConfig<T>(config: Partial<HlmDatePickerMultiConfig<T>>): ValueProvider {
|
|
37
|
-
return { provide: HlmDatePickerMultiConfigToken, useValue: { ...getDefaultConfig(), ...config } };
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function injectHlmDatePickerMultiConfig<T>(): HlmDatePickerMultiConfig<T> {
|
|
41
|
-
const injectedConfig = inject(HlmDatePickerMultiConfigToken, { optional: true });
|
|
42
|
-
return injectedConfig ? (injectedConfig as HlmDatePickerMultiConfig<T>) : getDefaultConfig();
|
|
43
|
-
}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
|
-
import {
|
|
3
|
-
booleanAttribute,
|
|
4
|
-
ChangeDetectionStrategy,
|
|
5
|
-
Component,
|
|
6
|
-
computed,
|
|
7
|
-
forwardRef,
|
|
8
|
-
input,
|
|
9
|
-
model,
|
|
10
|
-
numberAttribute,
|
|
11
|
-
output,
|
|
12
|
-
signal,
|
|
13
|
-
} from '@angular/core';
|
|
14
|
-
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
15
|
-
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
16
|
-
import { lucideCalendar } from '@ng-icons/lucide';
|
|
17
|
-
import { hlm } from '@spartan-ng/brain/core';
|
|
18
|
-
import { BrnDialogState } from '@spartan-ng/brain/dialog';
|
|
19
|
-
import { type ChangeFn, type TouchFn } from '@spartan-ng/brain/forms';
|
|
20
|
-
import { BrnPopover, BrnPopoverContent, BrnPopoverTrigger } from '@spartan-ng/brain/popover';
|
|
21
|
-
import type { ClassValue } from 'clsx';
|
|
22
|
-
import { HlmCalendarMulti } from '../../../ui-calendar-helm/src';
|
|
23
|
-
import { HlmIcon } from '../../../ui-icon-helm/src';
|
|
24
|
-
import { HlmPopoverContent } from '../../../ui-popover-helm/src';
|
|
25
|
-
import { injectHlmDatePickerMultiConfig } from './hlm-date-picker-multi.token';
|
|
26
|
-
|
|
27
|
-
export const HLM_DATE_PICKER_MUTLI_VALUE_ACCESSOR = {
|
|
28
|
-
provide: NG_VALUE_ACCESSOR,
|
|
29
|
-
useExisting: forwardRef(() => HlmDatePickerMulti),
|
|
30
|
-
multi: true,
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
@Component({
|
|
34
|
-
selector: 'hlm-date-picker-multi',
|
|
35
|
-
imports: [NgIcon, HlmIcon, BrnPopover, BrnPopoverTrigger, BrnPopoverContent, HlmPopoverContent, HlmCalendarMulti],
|
|
36
|
-
providers: [HLM_DATE_PICKER_MUTLI_VALUE_ACCESSOR, provideIcons({ lucideCalendar })],
|
|
37
|
-
template: `
|
|
38
|
-
<brn-popover sideOffset="5" [state]="_popoverState()" (stateChanged)="_popoverState.set($event)">
|
|
39
|
-
<button type="button" [class]="_computedClass()" [disabled]="_state().disabled()" brnPopoverTrigger>
|
|
40
|
-
<ng-icon hlm size="sm" name="lucideCalendar" />
|
|
41
|
-
|
|
42
|
-
<span class="truncate">
|
|
43
|
-
@if (_formattedDate(); as formattedDate) {
|
|
44
|
-
{{ formattedDate }}
|
|
45
|
-
} @else {
|
|
46
|
-
<ng-content />
|
|
47
|
-
}
|
|
48
|
-
</span>
|
|
49
|
-
</button>
|
|
50
|
-
|
|
51
|
-
<div hlmPopoverContent class="w-auto p-0" *brnPopoverContent="let ctx">
|
|
52
|
-
<hlm-calendar-multi
|
|
53
|
-
calendarClass="border-0 rounded-none"
|
|
54
|
-
[date]="date()"
|
|
55
|
-
[min]="min()"
|
|
56
|
-
[max]="max()"
|
|
57
|
-
[minSelection]="minSelection()"
|
|
58
|
-
[maxSelection]="maxSelection()"
|
|
59
|
-
[disabled]="_state().disabled()"
|
|
60
|
-
(dateChange)="_handleChange($event)" />
|
|
61
|
-
</div>
|
|
62
|
-
</brn-popover>
|
|
63
|
-
`,
|
|
64
|
-
host: {
|
|
65
|
-
class: 'block',
|
|
66
|
-
},
|
|
67
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
68
|
-
})
|
|
69
|
-
export class HlmDatePickerMulti<T> implements ControlValueAccessor {
|
|
70
|
-
private readonly _config = injectHlmDatePickerMultiConfig<T>();
|
|
71
|
-
|
|
72
|
-
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
73
|
-
protected readonly _computedClass = computed(() =>
|
|
74
|
-
hlm(
|
|
75
|
-
'inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2 w-[280px] justify-start text-left font-normal',
|
|
76
|
-
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
|
|
77
|
-
'disabled:pointer-events-none disabled:opacity-50',
|
|
78
|
-
'[&_ng-icon]:pointer-events-none [&_ng-icon]:shrink-0',
|
|
79
|
-
!this.date() ? 'text-muted-foreground' : '',
|
|
80
|
-
this.userClass()
|
|
81
|
-
)
|
|
82
|
-
);
|
|
83
|
-
|
|
84
|
-
/** The minimum date that can be selected.*/
|
|
85
|
-
public readonly min = input<T>();
|
|
86
|
-
|
|
87
|
-
/** The maximum date that can be selected. */
|
|
88
|
-
public readonly max = input<T>();
|
|
89
|
-
|
|
90
|
-
/** The minimum selectable dates. */
|
|
91
|
-
public readonly minSelection = input<number, NumberInput>(undefined, {
|
|
92
|
-
transform: numberAttribute,
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
/** The maximum selectable dates. */
|
|
96
|
-
public readonly maxSelection = input<number, NumberInput>(undefined, {
|
|
97
|
-
transform: numberAttribute,
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
/** Determine if the date picker is disabled. */
|
|
101
|
-
public readonly disabled = input<boolean, BooleanInput>(false, {
|
|
102
|
-
transform: booleanAttribute,
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
/** The selected value. */
|
|
106
|
-
public readonly date = model<T[]>();
|
|
107
|
-
|
|
108
|
-
/** If true, the date picker will close when the max selection of dates is reached.. */
|
|
109
|
-
public readonly autoCloseOnMaxSelection = input<boolean, BooleanInput>(this._config.autoCloseOnMaxSelection, {
|
|
110
|
-
transform: booleanAttribute,
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
/** Defines how the date should be displayed in the UI. */
|
|
114
|
-
public readonly formatDates = input<(date: T[]) => string>(this._config.formatDates);
|
|
115
|
-
|
|
116
|
-
/** Defines how the date should be transformed before saving to model/form. */
|
|
117
|
-
public readonly transformDates = input<(date: T[]) => T[]>(this._config.transformDates);
|
|
118
|
-
|
|
119
|
-
protected readonly _popoverState = signal<BrnDialogState | null>(null);
|
|
120
|
-
|
|
121
|
-
protected readonly _state = computed(() => ({
|
|
122
|
-
disabled: signal(this.disabled()),
|
|
123
|
-
}));
|
|
124
|
-
|
|
125
|
-
protected readonly _formattedDate = computed(() => {
|
|
126
|
-
const dates = this.date();
|
|
127
|
-
return dates ? this.formatDates()(dates) : undefined;
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
public readonly changed = output<T[]>();
|
|
131
|
-
|
|
132
|
-
protected _onChange?: ChangeFn<T[]>;
|
|
133
|
-
protected _onTouched?: TouchFn;
|
|
134
|
-
|
|
135
|
-
protected _handleChange(value: T[] | undefined) {
|
|
136
|
-
if (value === undefined) return;
|
|
137
|
-
|
|
138
|
-
if (this._state().disabled()) return;
|
|
139
|
-
const transformedDate = this.transformDates()(value);
|
|
140
|
-
|
|
141
|
-
this.date.set(transformedDate);
|
|
142
|
-
this._onChange?.(transformedDate);
|
|
143
|
-
this.changed.emit(transformedDate);
|
|
144
|
-
|
|
145
|
-
if (this.autoCloseOnMaxSelection() && this.date()?.length === this.maxSelection()) {
|
|
146
|
-
this._popoverState.set('closed');
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/** CONROL VALUE ACCESSOR */
|
|
151
|
-
writeValue(value: T[] | null): void {
|
|
152
|
-
// optional FormControl is initialized with null value
|
|
153
|
-
if (value === null) return;
|
|
154
|
-
|
|
155
|
-
this.date.set(this.transformDates()(value));
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
registerOnChange(fn: ChangeFn<T[]>): void {
|
|
159
|
-
this._onChange = fn;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
registerOnTouched(fn: TouchFn): void {
|
|
163
|
-
this._onTouched = fn;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
setDisabledState(isDisabled: boolean): void {
|
|
167
|
-
this._state().disabled.set(isDisabled);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
open() {
|
|
171
|
-
this._popoverState.set('open');
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
close() {
|
|
175
|
-
this._popoverState.set('closed');
|
|
176
|
-
}
|
|
177
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { inject, InjectionToken, ValueProvider } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
export interface HlmDatePickerConfig<T> {
|
|
4
|
-
/**
|
|
5
|
-
* If true, the date picker will close when a date is selected.
|
|
6
|
-
*/
|
|
7
|
-
autoCloseOnSelect: boolean;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Defines how the date should be displayed in the UI.
|
|
11
|
-
*
|
|
12
|
-
* @param date
|
|
13
|
-
* @returns formatted date
|
|
14
|
-
*/
|
|
15
|
-
formatDate: (date: T) => string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Defines how the date should be transformed before saving to model/form.
|
|
19
|
-
*
|
|
20
|
-
* @param date
|
|
21
|
-
* @returns transformed date
|
|
22
|
-
*/
|
|
23
|
-
transformDate: (date: T) => T;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function getDefaultConfig<T>(): HlmDatePickerConfig<T> {
|
|
27
|
-
return {
|
|
28
|
-
formatDate: (date) => (date instanceof Date ? date.toDateString() : `${date}`),
|
|
29
|
-
transformDate: (date) => date,
|
|
30
|
-
autoCloseOnSelect: false,
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const HlmDatePickerConfigToken = new InjectionToken<HlmDatePickerConfig<unknown>>('HlmDatePickerConfig');
|
|
35
|
-
|
|
36
|
-
export function provideHlmDatePickerConfig<T>(config: Partial<HlmDatePickerConfig<T>>): ValueProvider {
|
|
37
|
-
return { provide: HlmDatePickerConfigToken, useValue: { ...getDefaultConfig(), ...config } };
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function injectHlmDatePickerConfig<T>(): HlmDatePickerConfig<T> {
|
|
41
|
-
const injectedConfig = inject(HlmDatePickerConfigToken, { optional: true });
|
|
42
|
-
return injectedConfig ? (injectedConfig as HlmDatePickerConfig<T>) : getDefaultConfig();
|
|
43
|
-
}
|