@3ddv/software-division-components 1.5.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.postcssrc.json +5 -0
- package/.storybook/main.ts +78 -0
- package/.storybook/manager-head.html +1 -0
- package/.storybook/preview.ts +30 -0
- package/.storybook/tsconfig.json +25 -0
- package/.storybook/typings.d.ts +4 -0
- package/CHANGELOG.md +8 -0
- package/LICENSE.md +21 -0
- package/backoffice/checkbox/checkbox.component.css +193 -0
- package/backoffice/checkbox/checkbox.component.html +23 -0
- package/backoffice/checkbox/checkbox.component.ts +252 -0
- package/backoffice/checkbox/index.ts +1 -0
- package/backoffice/checkbox/ng-package.json +1 -0
- package/backoffice/checkbox/public-api.ts +1 -0
- package/backoffice/checkbox/story/checkbox.stories.ts +304 -0
- package/backoffice/datepicker/datepicker.component.css +262 -0
- package/backoffice/datepicker/datepicker.component.html +40 -0
- package/backoffice/datepicker/datepicker.component.ts +366 -0
- package/backoffice/datepicker/index.ts +1 -0
- package/backoffice/datepicker/ng-package.json +1 -0
- package/backoffice/datepicker/{public-api.d.ts → public-api.ts} +1 -1
- package/backoffice/datepicker/story/datepicker.stories.ts +32 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/index.ts +14 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.ts +183 -0
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.ts +171 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.ts +16 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.ts +43 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.ts +177 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.ts +43 -0
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.ts +167 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/index.ts +11 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.ts +35 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/index.ts +15 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.ts +19 -0
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.ts +30 -0
- package/backoffice/index.ts +1 -0
- package/backoffice/input/index.ts +1 -0
- package/backoffice/input/input.component.css +319 -0
- package/backoffice/input/input.component.html +51 -0
- package/backoffice/input/input.component.ts +497 -0
- package/backoffice/input/ng-package.json +1 -0
- package/backoffice/input/public-api.ts +2 -0
- package/backoffice/input/story/input.stories.ts +243 -0
- package/backoffice/radio/index.ts +1 -0
- package/backoffice/radio/ng-package.json +1 -0
- package/backoffice/radio/public-api.ts +1 -0
- package/backoffice/radio/radio.component.css +143 -0
- package/backoffice/radio/radio.component.html +15 -0
- package/backoffice/radio/radio.component.ts +154 -0
- package/backoffice/radio/story/radio.stories.ts +287 -0
- package/backoffice/table/_components/pagination/pagination.component.css +117 -0
- package/backoffice/table/_components/pagination/pagination.component.html +55 -0
- package/backoffice/table/_components/pagination/pagination.component.ts +79 -0
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.css +0 -0
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.html +6 -0
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.ts +36 -0
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.css +0 -0
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.html +5 -0
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.ts +12 -0
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.css +14 -0
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.html +11 -0
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.ts +55 -0
- package/backoffice/table/index.ts +1 -0
- package/backoffice/table/ng-package.json +1 -0
- package/backoffice/table/public-api.ts +6 -0
- package/backoffice/table/story/table.stories.ts +364 -0
- package/backoffice/table/table.component.css +172 -0
- package/backoffice/table/table.component.html +53 -0
- package/backoffice/table/table.component.ts +347 -0
- package/backoffice/table/ui/ui-icon-helm/src/index.ts +11 -0
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.ts +35 -0
- package/backoffice/table/ui/ui-table-helm/src/index.ts +13 -0
- package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.ts +220 -0
- package/components.json +3 -0
- package/{README.md → dist/README.md} +11 -7
- package/dist/fesm2022/3ddv-software-division-components-backoffice-checkbox.mjs +208 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-checkbox.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-datepicker.mjs +1061 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-datepicker.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-input.mjs +411 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-input.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-radio.mjs +128 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-radio.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-table.mjs +658 -0
- package/dist/fesm2022/3ddv-software-division-components-backoffice-table.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-cart-item.mjs +34 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-cart-item.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-cart.mjs +101 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-cart.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-legend.mjs +77 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-legend.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-loader.mjs +34 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-loader.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-map-loader.mjs +161 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-map-loader.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-neighbors.mjs +204 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-neighbors.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-popover.mjs +1080 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-popover.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-stepper.mjs +94 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-stepper.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-ticket-info-item.mjs +34 -0
- package/dist/fesm2022/3ddv-software-division-components-dvm-ticket-info-item.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-add-digital-wallet.mjs +46 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-add-digital-wallet.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-braintree.mjs +127 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-braintree.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-button.mjs +373 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-button.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-dialog.mjs +309 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-dialog.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-drawer.mjs +34 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-drawer.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-icon.mjs +130 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-icon.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-select.mjs +295 -0
- package/dist/fesm2022/3ddv-software-division-components-generic-select.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-shared.mjs +171 -0
- package/dist/fesm2022/3ddv-software-division-components-shared.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components-utils.mjs +39 -0
- package/dist/fesm2022/3ddv-software-division-components-utils.mjs.map +1 -0
- package/dist/fesm2022/3ddv-software-division-components.mjs +18 -0
- package/dist/fesm2022/3ddv-software-division-components.mjs.map +1 -0
- package/dist/styles.css +2 -0
- package/dist/types/3ddv-software-division-components-backoffice-checkbox.d.ts +106 -0
- package/dist/types/3ddv-software-division-components-backoffice-datepicker.d.ts +153 -0
- package/dist/types/3ddv-software-division-components-backoffice-input.d.ts +203 -0
- package/dist/types/3ddv-software-division-components-backoffice-radio.d.ts +76 -0
- package/dist/types/3ddv-software-division-components-backoffice-table.d.ts +130 -0
- package/dist/types/3ddv-software-division-components-dvm-cart-item.d.ts +14 -0
- package/dist/types/3ddv-software-division-components-dvm-cart.d.ts +76 -0
- package/dist/types/3ddv-software-division-components-dvm-legend.d.ts +38 -0
- package/dist/types/3ddv-software-division-components-dvm-loader.d.ts +14 -0
- package/{dvm/map-loader/map-loader.component.d.ts → dist/types/3ddv-software-division-components-dvm-map-loader.d.ts} +16 -14
- package/dist/types/3ddv-software-division-components-dvm-neighbors.d.ts +57 -0
- package/dist/types/3ddv-software-division-components-dvm-popover.d.ts +456 -0
- package/dist/types/3ddv-software-division-components-dvm-stepper.d.ts +34 -0
- package/dist/types/3ddv-software-division-components-dvm-ticket-info-item.d.ts +14 -0
- package/dist/types/3ddv-software-division-components-generic-add-digital-wallet.d.ts +23 -0
- package/dist/types/3ddv-software-division-components-generic-braintree.d.ts +62 -0
- package/dist/types/3ddv-software-division-components-generic-button.d.ts +186 -0
- package/dist/types/3ddv-software-division-components-generic-dialog.d.ts +104 -0
- package/dist/types/3ddv-software-division-components-generic-drawer.d.ts +14 -0
- package/dist/types/3ddv-software-division-components-generic-icon.d.ts +38 -0
- package/dist/types/3ddv-software-division-components-generic-select.d.ts +110 -0
- package/dist/types/3ddv-software-division-components-shared.d.ts +69 -0
- package/dist/types/3ddv-software-division-components-utils.d.ts +3 -0
- package/dist/types/3ddv-software-division-components.d.ts +2 -0
- package/documentation.json +30473 -0
- package/dvm/cart/cart.component.css +103 -0
- package/dvm/cart/cart.component.html +31 -0
- package/dvm/cart/cart.component.ts +49 -0
- package/dvm/cart/cart.stories.ts +370 -0
- package/dvm/cart/cart.types.ts +8 -0
- package/dvm/cart/index.ts +2 -0
- package/dvm/cart/ng-package.json +1 -0
- package/dvm/cart/{public-api.d.ts → public-api.ts} +5 -1
- package/dvm/cart/seat-list.component.css +281 -0
- package/dvm/cart/seat-list.component.html +85 -0
- package/dvm/cart/seat-list.component.ts +76 -0
- package/dvm/cart/seat-list.stories.ts +337 -0
- package/dvm/cart-item/cart-item.component.html +1 -0
- package/dvm/cart-item/cart-item.component.ts +8 -0
- package/dvm/cart-item/cart-item.service.ts +8 -0
- package/dvm/cart-item/cart.stories.ts +31 -0
- package/dvm/cart-item/index.ts +1 -0
- package/dvm/cart-item/ng-package.json +1 -0
- package/dvm/cart-item/{public-api.d.ts → public-api.ts} +4 -1
- package/dvm/index.ts +1 -0
- package/dvm/legend/index.ts +1 -0
- package/dvm/legend/legend.component.css +49 -0
- package/dvm/legend/legend.component.html +8 -0
- package/dvm/legend/legend.component.ts +41 -0
- package/dvm/legend/legend.stories.ts +16 -0
- package/dvm/legend/ng-package.json +1 -0
- package/dvm/legend/{public-api.d.ts → public-api.ts} +4 -1
- package/dvm/legend/{types.d.ts → types.ts} +3 -3
- package/dvm/legend/ui/legend-elements/{index.d.ts → index.ts} +0 -1
- package/dvm/legend/ui/legend-elements/legend-elements.component.css +49 -0
- package/dvm/legend/ui/legend-elements/legend-elements.component.html +8 -0
- package/dvm/legend/ui/legend-elements/legend-elements.component.ts +41 -0
- package/dvm/loader/index.ts +1 -0
- package/dvm/loader/loader.component.html +1 -0
- package/dvm/loader/loader.component.ts +8 -0
- package/dvm/loader/loader.service.ts +8 -0
- package/dvm/loader/loader.stories.ts +31 -0
- package/dvm/loader/ng-package.json +1 -0
- package/dvm/loader/{public-api.d.ts → public-api.ts} +4 -1
- package/dvm/map-loader/index.ts +1 -0
- package/dvm/map-loader/map-loader.component.css +91 -0
- package/dvm/map-loader/map-loader.component.html +23 -0
- package/dvm/map-loader/map-loader.component.ts +187 -0
- package/dvm/map-loader/map-loader.stories.ts +16 -0
- package/dvm/map-loader/ng-package.json +1 -0
- package/dvm/map-loader/public-api.ts +5 -0
- package/dvm/neighbors/index.ts +1 -0
- package/dvm/neighbors/neighbors.component.css +158 -0
- package/dvm/neighbors/neighbors.component.html +45 -0
- package/dvm/neighbors/neighbors.component.ts +218 -0
- package/dvm/neighbors/ng-package.json +1 -0
- package/dvm/neighbors/public-api.ts +2 -0
- package/dvm/neighbors/story/arrow-left-black-icon.svg +3 -0
- package/dvm/neighbors/story/mock-data.ts +15 -0
- package/dvm/neighbors/story/neighbours.stories.css +12 -0
- package/dvm/neighbors/story/neighbours.stories.ts +117 -0
- package/dvm/neighbors/{types.d.ts → types.ts} +7 -7
- package/dvm/popover/base-popover.component.ts +70 -0
- package/dvm/popover/index.ts +1 -0
- package/dvm/popover/ng-package.json +1 -0
- package/dvm/popover/popover.component.css +227 -0
- package/dvm/popover/popover.component.html +27 -0
- package/dvm/popover/popover.component.ts +236 -0
- package/dvm/popover/popover.config.ts +30 -0
- package/dvm/popover/popover.service.ts +627 -0
- package/dvm/popover/popover.stories.ts +873 -0
- package/dvm/popover/{public-api.d.ts → public-api.ts} +4 -1
- package/dvm/popover/seat-popover/seat-popover.component.css +89 -0
- package/dvm/popover/seat-popover/seat-popover.component.html +40 -0
- package/dvm/popover/seat-popover/seat-popover.component.ts +74 -0
- package/dvm/popover/section-popover/section-popover.component.css +157 -0
- package/dvm/popover/section-popover/section-popover.component.html +58 -0
- package/dvm/popover/section-popover/section-popover.component.ts +106 -0
- package/dvm/popover/services/dvm-popover-positioner.service.ts +73 -0
- package/dvm/popover/services/popover-manager.service.ts +88 -0
- package/dvm/popover/transformers/base-popover-data-transformer.ts +36 -0
- package/dvm/popover/types.ts +104 -0
- package/dvm/stepper/index.ts +1 -0
- package/dvm/stepper/ng-package.json +1 -0
- package/dvm/stepper/public-api.ts +5 -0
- package/dvm/stepper/stepper.component.css +142 -0
- package/dvm/stepper/stepper.component.html +9 -0
- package/dvm/stepper/stepper.component.ts +101 -0
- package/dvm/stepper/{types.d.ts → types.ts} +3 -6
- package/dvm/ticket-info-item/index.ts +1 -0
- package/dvm/ticket-info-item/ng-package.json +1 -0
- package/dvm/ticket-info-item/{public-api.d.ts → public-api.ts} +4 -1
- package/dvm/ticket-info-item/ticket-info-item.component.html +1 -0
- package/dvm/ticket-info-item/ticket-info-item.component.ts +8 -0
- package/dvm/ticket-info-item/ticket-info-item.service.ts +8 -0
- package/dvm/ticket-info-item/ticket-info-item.stories.ts +31 -0
- package/generic/add-digital-wallet/add-digital-wallet.component.css +76 -0
- package/generic/add-digital-wallet/add-digital-wallet.component.html +46 -0
- package/generic/add-digital-wallet/add-digital-wallet.component.ts +44 -0
- package/generic/add-digital-wallet/index.ts +1 -0
- package/generic/add-digital-wallet/ng-package.json +1 -0
- package/generic/add-digital-wallet/{public-api.d.ts → public-api.ts} +0 -1
- package/generic/braintree/braintree.component.css +7 -0
- package/generic/braintree/braintree.component.ts +134 -0
- package/generic/braintree/index.ts +1 -0
- package/generic/braintree/ng-package.json +1 -0
- package/generic/braintree/{public-api.d.ts → public-api.ts} +4 -1
- package/generic/braintree/story/braintree.stories.css +3 -0
- package/generic/braintree/story/braintree.stories.ts +27 -0
- package/generic/braintree/types.ts +28 -0
- package/generic/button/button.component.css +305 -0
- package/generic/button/button.component.html +10 -0
- package/generic/button/button.component.ts +353 -0
- package/generic/button/index.ts +1 -0
- package/generic/button/ng-package.json +1 -0
- package/generic/button/public-api.ts +6 -0
- package/generic/button/story/button.stories.ts +384 -0
- package/generic/button/ui/ui-button-helm/src/index.ts +10 -0
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.ts +22 -0
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.ts +62 -0
- package/generic/carousel/carousel-item.component.ts +15 -0
- package/generic/carousel/carousel-item.directive.ts +14 -0
- package/generic/carousel/carousel.component.css +90 -0
- package/generic/carousel/carousel.component.html +13 -0
- package/generic/carousel/carousel.component.ts +44 -0
- package/generic/carousel/index.ts +1 -0
- package/generic/carousel/{public-api.d.ts → public-api.ts} +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/index.ts +29 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.ts +23 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.ts +25 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.ts +58 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.ts +61 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.ts +36 -0
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.ts +105 -0
- package/generic/dialog/dialog.component.css +5 -0
- package/generic/dialog/dialog.component.html +3 -0
- package/generic/dialog/dialog.component.ts +20 -0
- package/generic/dialog/dialog.stories.ts +14 -0
- package/generic/dialog/index.ts +1 -0
- package/generic/dialog/libs/ui-dialog-helm/src/{index.d.ts → index.ts} +20 -8
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.ts +20 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.ts +56 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.ts +17 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.ts +19 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.ts +19 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.ts +23 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.ts +19 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.ts +59 -0
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.ts +31 -0
- package/generic/dialog/ng-package.json +1 -0
- package/generic/dialog/{public-api.d.ts → public-api.ts} +5 -1
- package/generic/dialog/tsconfig.json +7 -0
- package/generic/dialog/ui/dialog-close-button/dialog-close-button.component.css +0 -0
- package/generic/dialog/ui/dialog-close-button/dialog-close-button.component.html +1 -0
- package/generic/dialog/ui/dialog-close-button/dialog-close-button.component.ts +17 -0
- package/generic/dialog/ui/dialog-footer/dialog-footer.component.css +0 -0
- package/generic/dialog/ui/dialog-footer/dialog-footer.component.html +3 -0
- package/generic/dialog/ui/dialog-footer/dialog-footer.component.ts +11 -0
- package/generic/dialog/ui/dialog-header/dialog-header.component.css +0 -0
- package/generic/dialog/ui/dialog-header/dialog-header.component.html +8 -0
- package/generic/dialog/ui/dialog-header/dialog-header.component.ts +18 -0
- package/generic/drawer/drawer.component.html +1 -0
- package/generic/drawer/drawer.component.ts +8 -0
- package/generic/drawer/drawer.service.ts +8 -0
- package/generic/drawer/drawer.stories.ts +31 -0
- package/generic/drawer/index.ts +1 -0
- package/generic/drawer/ng-package.json +1 -0
- package/generic/drawer/{public-api.d.ts → public-api.ts} +4 -1
- package/generic/icon/icon.component.css +7 -0
- package/generic/icon/icon.component.html +3 -0
- package/generic/icon/icon.component.ts +86 -0
- package/generic/icon/icon.stories.ts +16 -0
- package/generic/icon/index.ts +1 -0
- package/generic/icon/lib/ui-icon-helm/src/index.ts +11 -0
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.ts +36 -0
- package/generic/icon/ng-package.json +1 -0
- package/generic/icon/public-api.ts +6 -0
- package/generic/icon/tsconfig.json +7 -0
- package/generic/index.ts +1 -0
- package/generic/select/index.ts +1 -0
- package/generic/select/lib/hlm-select-content.ts +29 -0
- package/generic/select/lib/hlm-select-group.ts +17 -0
- package/generic/select/lib/hlm-select-label.ts +26 -0
- package/generic/select/lib/hlm-select-option.ts +37 -0
- package/generic/select/lib/hlm-select-scroll-down.ts +24 -0
- package/generic/select/lib/hlm-select-scroll-up.ts +23 -0
- package/generic/select/lib/hlm-select-trigger.ts +53 -0
- package/generic/select/lib/hlm-select-value.ts +17 -0
- package/generic/select/lib/hlm-select.ts +15 -0
- package/generic/select/lib/index.ts +38 -0
- package/generic/select/ng-package.json +1 -0
- package/generic/select/{public-api.d.ts → public-api.ts} +1 -1
- package/generic/select/select.component.css +65 -0
- package/generic/select/select.component.html +19 -0
- package/generic/select/select.component.ts +25 -0
- package/generic/select/types.ts +4 -0
- package/ng-package.json +10 -0
- package/package.json +114 -100
- package/public/3ddv-logo.jpg +0 -0
- package/public/neighbours-after.png +0 -0
- package/public/neighbours-before.png +0 -0
- package/shared/apply-theme-variables/apply-theme-variables.ts +35 -0
- package/shared/apply-theme-variables/{index.d.ts → index.ts} +0 -1
- package/shared/format-value.pipe.ts +23 -0
- package/shared/index.ts +1 -0
- package/shared/lib-provider/config-token.ts +4 -0
- package/shared/lib-provider/index.ts +1 -0
- package/shared/lib-provider/provide-sdc.ts +24 -0
- package/shared/lib-provider/{public-api.d.ts → public-api.ts} +0 -1
- package/shared/ng-package.json +1 -0
- package/shared/public-api.ts +6 -0
- package/shared/screen-observer/{index.d.ts → index.ts} +0 -1
- package/shared/screen-observer/provide-screen-observer.ts +17 -0
- package/shared/screen-observer/screen-observer.ts +56 -0
- package/shared/screen-observer/sizable-base.ts +70 -0
- package/shared/theme-provider/generic-theme.ts +1 -0
- package/shared/theme-provider/index.ts +1 -0
- package/shared/theme-provider/public-api.ts +1 -0
- package/shared/theme-provider/theme-provider.directive.ts +17 -0
- package/shared/themes/sdc.css +153 -0
- package/shared/types.ts +18 -0
- package/src/private-exports.ts +1 -0
- package/src/public-api.ts +20 -0
- package/styles.css +46 -2
- package/tsconfig.json +50 -0
- package/tsconfig.lib.prod.json +6 -0
- package/tsconfig.spec.json +15 -0
- package/tsconfig.temp.json +1 -0
- package/utils/index.ts +1 -0
- package/utils/ng-package.json +1 -0
- package/utils/public-api.ts +1 -0
- package/utils/validate-styles-for-component.ts +39 -0
- package/3ddv-software-division-components.d.ts.map +0 -1
- package/backoffice/checkbox/checkbox.component.d.ts +0 -103
- package/backoffice/checkbox/checkbox.component.d.ts.map +0 -1
- package/backoffice/checkbox/index.d.ts +0 -2
- package/backoffice/checkbox/index.d.ts.map +0 -1
- package/backoffice/checkbox/public-api.d.ts +0 -2
- package/backoffice/checkbox/public-api.d.ts.map +0 -1
- package/backoffice/datepicker/datepicker.component.d.ts +0 -150
- package/backoffice/datepicker/datepicker.component.d.ts.map +0 -1
- package/backoffice/datepicker/index.d.ts +0 -2
- package/backoffice/datepicker/index.d.ts.map +0 -1
- package/backoffice/datepicker/public-api.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-calendar-helm/src/index.d.ts +0 -14
- package/backoffice/datepicker/ui/ui-calendar-helm/src/index.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.d.ts +0 -38
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.d.ts +0 -34
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.d.ts +0 -15
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.d.ts +0 -53
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.d.ts +0 -24
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.d.ts +0 -53
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.d.ts +0 -24
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-icon-helm/src/index.d.ts +0 -10
- package/backoffice/datepicker/ui/ui-icon-helm/src/index.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-popover-helm/src/index.d.ts +0 -14
- package/backoffice/datepicker/ui/ui-popover-helm/src/index.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.d.ts +0 -9
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.d.ts +0 -14
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.d.ts.map +0 -1
- package/backoffice/index.d.ts +0 -2
- package/backoffice/index.d.ts.map +0 -1
- package/backoffice/input/index.d.ts +0 -2
- package/backoffice/input/index.d.ts.map +0 -1
- package/backoffice/input/input.component.d.ts +0 -200
- package/backoffice/input/input.component.d.ts.map +0 -1
- package/backoffice/input/public-api.d.ts +0 -2
- package/backoffice/input/public-api.d.ts.map +0 -1
- package/backoffice/public-api.d.ts +0 -6
- package/backoffice/public-api.d.ts.map +0 -1
- package/backoffice/radio/index.d.ts +0 -2
- package/backoffice/radio/index.d.ts.map +0 -1
- package/backoffice/radio/public-api.d.ts +0 -2
- package/backoffice/radio/public-api.d.ts.map +0 -1
- package/backoffice/radio/radio.component.d.ts +0 -73
- package/backoffice/radio/radio.component.d.ts.map +0 -1
- package/backoffice/table/_components/pagination/pagination.component.d.ts +0 -18
- package/backoffice/table/_components/pagination/pagination.component.d.ts.map +0 -1
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.d.ts +0 -11
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.d.ts.map +0 -1
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.d.ts +0 -8
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.d.ts.map +0 -1
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.d.ts +0 -16
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.d.ts.map +0 -1
- package/backoffice/table/index.d.ts +0 -2
- package/backoffice/table/index.d.ts.map +0 -1
- package/backoffice/table/public-api.d.ts +0 -3
- package/backoffice/table/public-api.d.ts.map +0 -1
- package/backoffice/table/table.component.d.ts +0 -111
- package/backoffice/table/table.component.d.ts.map +0 -1
- package/backoffice/table/ui/ui-icon-helm/src/index.d.ts +0 -10
- package/backoffice/table/ui/ui-icon-helm/src/index.d.ts.map +0 -1
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
- package/backoffice/table/ui/ui-table-helm/src/index.d.ts +0 -11
- package/backoffice/table/ui/ui-table-helm/src/index.d.ts.map +0 -1
- package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.d.ts +0 -112
- package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.d.ts.map +0 -1
- package/dvm/cart/cart.component.d.ts +0 -31
- package/dvm/cart/cart.component.d.ts.map +0 -1
- package/dvm/cart/cart.types.d.ts +0 -8
- package/dvm/cart/cart.types.d.ts.map +0 -1
- package/dvm/cart/index.d.ts +0 -2
- package/dvm/cart/index.d.ts.map +0 -1
- package/dvm/cart/public-api.d.ts.map +0 -1
- package/dvm/cart/seat-list.component.d.ts +0 -38
- package/dvm/cart/seat-list.component.d.ts.map +0 -1
- package/dvm/cart-item/cart-item.component.d.ts +0 -6
- package/dvm/cart-item/cart-item.component.d.ts.map +0 -1
- package/dvm/cart-item/cart-item.service.d.ts +0 -7
- package/dvm/cart-item/cart-item.service.d.ts.map +0 -1
- package/dvm/cart-item/index.d.ts +0 -2
- package/dvm/cart-item/index.d.ts.map +0 -1
- package/dvm/cart-item/public-api.d.ts.map +0 -1
- package/dvm/index.d.ts +0 -2
- package/dvm/index.d.ts.map +0 -1
- package/dvm/legend/index.d.ts +0 -2
- package/dvm/legend/index.d.ts.map +0 -1
- package/dvm/legend/legend.component.d.ts +0 -17
- package/dvm/legend/legend.component.d.ts.map +0 -1
- package/dvm/legend/public-api.d.ts.map +0 -1
- package/dvm/legend/types.d.ts.map +0 -1
- package/dvm/legend/ui/legend-elements/index.d.ts.map +0 -1
- package/dvm/legend/ui/legend-elements/legend-elements.component.d.ts +0 -16
- package/dvm/legend/ui/legend-elements/legend-elements.component.d.ts.map +0 -1
- package/dvm/loader/index.d.ts +0 -2
- package/dvm/loader/index.d.ts.map +0 -1
- package/dvm/loader/loader.component.d.ts +0 -6
- package/dvm/loader/loader.component.d.ts.map +0 -1
- package/dvm/loader/loader.service.d.ts +0 -7
- package/dvm/loader/loader.service.d.ts.map +0 -1
- package/dvm/loader/public-api.d.ts.map +0 -1
- package/dvm/map-loader/index.d.ts +0 -2
- package/dvm/map-loader/index.d.ts.map +0 -1
- package/dvm/map-loader/map-loader.component.d.ts.map +0 -1
- package/dvm/map-loader/public-api.d.ts +0 -2
- package/dvm/map-loader/public-api.d.ts.map +0 -1
- package/dvm/neighbors/index.d.ts +0 -2
- package/dvm/neighbors/index.d.ts.map +0 -1
- package/dvm/neighbors/neighbors.component.d.ts +0 -41
- package/dvm/neighbors/neighbors.component.d.ts.map +0 -1
- package/dvm/neighbors/public-api.d.ts +0 -3
- package/dvm/neighbors/public-api.d.ts.map +0 -1
- package/dvm/neighbors/types.d.ts.map +0 -1
- package/dvm/popover/base-popover.component.d.ts +0 -28
- package/dvm/popover/base-popover.component.d.ts.map +0 -1
- package/dvm/popover/index.d.ts +0 -2
- package/dvm/popover/index.d.ts.map +0 -1
- package/dvm/popover/popover.component.d.ts +0 -69
- package/dvm/popover/popover.component.d.ts.map +0 -1
- package/dvm/popover/popover.config.d.ts +0 -25
- package/dvm/popover/popover.config.d.ts.map +0 -1
- package/dvm/popover/popover.service.d.ts +0 -140
- package/dvm/popover/popover.service.d.ts.map +0 -1
- package/dvm/popover/public-api.d.ts.map +0 -1
- package/dvm/popover/seat-popover/seat-popover.component.d.ts +0 -21
- package/dvm/popover/seat-popover/seat-popover.component.d.ts.map +0 -1
- package/dvm/popover/section-popover/section-popover.component.d.ts +0 -32
- package/dvm/popover/section-popover/section-popover.component.d.ts.map +0 -1
- package/dvm/popover/services/dvm-popover-positioner.service.d.ts +0 -30
- package/dvm/popover/services/dvm-popover-positioner.service.d.ts.map +0 -1
- package/dvm/popover/services/popover-manager.service.d.ts +0 -29
- package/dvm/popover/services/popover-manager.service.d.ts.map +0 -1
- package/dvm/popover/transformers/base-popover-data-transformer.d.ts +0 -29
- package/dvm/popover/transformers/base-popover-data-transformer.d.ts.map +0 -1
- package/dvm/popover/types.d.ts +0 -79
- package/dvm/popover/types.d.ts.map +0 -1
- package/dvm/public-api.d.ts +0 -10
- package/dvm/public-api.d.ts.map +0 -1
- package/dvm/stepper/index.d.ts +0 -2
- package/dvm/stepper/index.d.ts.map +0 -1
- package/dvm/stepper/public-api.d.ts +0 -2
- package/dvm/stepper/public-api.d.ts.map +0 -1
- package/dvm/stepper/stepper.component.d.ts +0 -27
- package/dvm/stepper/stepper.component.d.ts.map +0 -1
- package/dvm/stepper/types.d.ts.map +0 -1
- package/dvm/ticket-info-item/index.d.ts +0 -2
- package/dvm/ticket-info-item/index.d.ts.map +0 -1
- package/dvm/ticket-info-item/public-api.d.ts.map +0 -1
- package/dvm/ticket-info-item/ticket-info-item.component.d.ts +0 -6
- package/dvm/ticket-info-item/ticket-info-item.component.d.ts.map +0 -1
- package/dvm/ticket-info-item/ticket-info-item.service.d.ts +0 -7
- package/dvm/ticket-info-item/ticket-info-item.service.d.ts.map +0 -1
- package/fesm2022/3ddv-software-division-components.mjs +0 -6568
- package/fesm2022/3ddv-software-division-components.mjs.map +0 -1
- package/generic/add-digital-wallet/add-digital-wallet.component.d.ts +0 -21
- package/generic/add-digital-wallet/add-digital-wallet.component.d.ts.map +0 -1
- package/generic/add-digital-wallet/index.d.ts +0 -2
- package/generic/add-digital-wallet/index.d.ts.map +0 -1
- package/generic/add-digital-wallet/public-api.d.ts.map +0 -1
- package/generic/braintree/braintree.component.d.ts +0 -33
- package/generic/braintree/braintree.component.d.ts.map +0 -1
- package/generic/braintree/index.d.ts +0 -2
- package/generic/braintree/index.d.ts.map +0 -1
- package/generic/braintree/public-api.d.ts.map +0 -1
- package/generic/braintree/types.d.ts +0 -27
- package/generic/braintree/types.d.ts.map +0 -1
- package/generic/button/button.component.d.ts +0 -152
- package/generic/button/button.component.d.ts.map +0 -1
- package/generic/button/index.d.ts +0 -2
- package/generic/button/index.d.ts.map +0 -1
- package/generic/button/public-api.d.ts +0 -2
- package/generic/button/public-api.d.ts.map +0 -1
- package/generic/button/ui/ui-button-helm/src/index.d.ts +0 -10
- package/generic/button/ui/ui-button-helm/src/index.d.ts.map +0 -1
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.d.ts +0 -20
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.d.ts.map +0 -1
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.d.ts +0 -9
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.d.ts.map +0 -1
- package/generic/carousel/carousel-item.component.d.ts +0 -8
- package/generic/carousel/carousel-item.component.d.ts.map +0 -1
- package/generic/carousel/carousel.component.d.ts +0 -20
- package/generic/carousel/carousel.component.d.ts.map +0 -1
- package/generic/carousel/index.d.ts +0 -2
- package/generic/carousel/index.d.ts.map +0 -1
- package/generic/carousel/public-api.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/index.d.ts +0 -26
- package/generic/carousel/ui/ui-carousel-helm/src/index.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.d.ts +0 -10
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.d.ts +0 -10
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.d.ts +0 -15
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.d.ts +0 -15
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.d.ts +0 -16
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.d.ts +0 -28
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.d.ts.map +0 -1
- package/generic/dialog/dialog.component.d.ts +0 -11
- package/generic/dialog/dialog.component.d.ts.map +0 -1
- package/generic/dialog/index.d.ts +0 -2
- package/generic/dialog/index.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/index.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.d.ts +0 -9
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.d.ts +0 -15
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.d.ts +0 -10
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.d.ts +0 -9
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.d.ts +0 -9
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.d.ts +0 -12
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.d.ts +0 -10
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.d.ts +0 -7
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.d.ts +0 -21
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.d.ts.map +0 -1
- package/generic/dialog/public-api.d.ts.map +0 -1
- package/generic/drawer/drawer.component.d.ts +0 -6
- package/generic/drawer/drawer.component.d.ts.map +0 -1
- package/generic/drawer/drawer.service.d.ts +0 -7
- package/generic/drawer/drawer.service.d.ts.map +0 -1
- package/generic/drawer/index.d.ts +0 -2
- package/generic/drawer/index.d.ts.map +0 -1
- package/generic/drawer/public-api.d.ts.map +0 -1
- package/generic/icon/icon.component.d.ts +0 -21
- package/generic/icon/icon.component.d.ts.map +0 -1
- package/generic/icon/index.d.ts +0 -2
- package/generic/icon/index.d.ts.map +0 -1
- package/generic/icon/lib/ui-icon-helm/src/index.d.ts +0 -10
- package/generic/icon/lib/ui-icon-helm/src/index.d.ts.map +0 -1
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
- package/generic/icon/public-api.d.ts +0 -2
- package/generic/icon/public-api.d.ts.map +0 -1
- package/generic/index.d.ts +0 -2
- package/generic/index.d.ts.map +0 -1
- package/generic/public-api.d.ts +0 -10
- package/generic/public-api.d.ts.map +0 -1
- package/generic/rich-text-editor/components/editor-toolbar/editor-toolbar.component.d.ts +0 -88
- package/generic/rich-text-editor/components/editor-toolbar/editor-toolbar.component.d.ts.map +0 -1
- package/generic/rich-text-editor/components/link-modal/link-modal.component.d.ts +0 -43
- package/generic/rich-text-editor/components/link-modal/link-modal.component.d.ts.map +0 -1
- package/generic/rich-text-editor/index.d.ts +0 -2
- package/generic/rich-text-editor/index.d.ts.map +0 -1
- package/generic/rich-text-editor/models/editor-config.model.d.ts +0 -46
- package/generic/rich-text-editor/models/editor-config.model.d.ts.map +0 -1
- package/generic/rich-text-editor/models/index.d.ts +0 -3
- package/generic/rich-text-editor/models/index.d.ts.map +0 -1
- package/generic/rich-text-editor/models/toolbar-config.model.d.ts +0 -63
- package/generic/rich-text-editor/models/toolbar-config.model.d.ts.map +0 -1
- package/generic/rich-text-editor/public-api.d.ts +0 -5
- package/generic/rich-text-editor/public-api.d.ts.map +0 -1
- package/generic/rich-text-editor/rich-text-editor.component.d.ts +0 -113
- package/generic/rich-text-editor/rich-text-editor.component.d.ts.map +0 -1
- package/generic/select/index.d.ts +0 -2
- package/generic/select/index.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-content.d.ts +0 -13
- package/generic/select/lib/hlm-select-content.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-group.d.ts +0 -10
- package/generic/select/lib/hlm-select-group.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-label.d.ts +0 -12
- package/generic/select/lib/hlm-select-label.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-option.d.ts +0 -12
- package/generic/select/lib/hlm-select-option.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-scroll-down.d.ts +0 -9
- package/generic/select/lib/hlm-select-scroll-down.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-scroll-up.d.ts +0 -9
- package/generic/select/lib/hlm-select-scroll-up.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-trigger.d.ts +0 -17
- package/generic/select/lib/hlm-select-trigger.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-value.d.ts +0 -9
- package/generic/select/lib/hlm-select-value.d.ts.map +0 -1
- package/generic/select/lib/hlm-select.d.ts +0 -9
- package/generic/select/lib/hlm-select.d.ts.map +0 -1
- package/generic/select/lib/index.d.ts +0 -35
- package/generic/select/lib/index.d.ts.map +0 -1
- package/generic/select/public-api.d.ts.map +0 -1
- package/generic/select/select.component.d.ts +0 -14
- package/generic/select/select.component.d.ts.map +0 -1
- package/generic/select/types.d.ts +0 -5
- package/generic/select/types.d.ts.map +0 -1
- package/index.d.ts +0 -6
- package/public-api.d.ts +0 -8
- package/public-api.d.ts.map +0 -1
- package/shared/apply-theme-variables/apply-theme-variables.d.ts +0 -4
- package/shared/apply-theme-variables/apply-theme-variables.d.ts.map +0 -1
- package/shared/apply-theme-variables/index.d.ts.map +0 -1
- package/shared/lib-provider/config-token.d.ts +0 -4
- package/shared/lib-provider/config-token.d.ts.map +0 -1
- package/shared/lib-provider/index.d.ts +0 -2
- package/shared/lib-provider/index.d.ts.map +0 -1
- package/shared/lib-provider/provide-sdc.d.ts +0 -10
- package/shared/lib-provider/provide-sdc.d.ts.map +0 -1
- package/shared/lib-provider/public-api.d.ts.map +0 -1
- package/shared/screen-observer/index.d.ts.map +0 -1
- package/shared/screen-observer/provide-screen-observer.d.ts +0 -5
- package/shared/screen-observer/provide-screen-observer.d.ts.map +0 -1
- package/shared/screen-observer/screen-observer.d.ts +0 -15
- package/shared/screen-observer/screen-observer.d.ts.map +0 -1
- package/shared/types.d.ts +0 -19
- package/shared/types.d.ts.map +0 -1
- package/tailwind.config.js +0 -19
- package/types/sizes.type.d.ts +0 -3
- package/types/sizes.type.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3ddv-software-division-components-generic-braintree.mjs","sources":["../../generic/braintree/braintree.component.ts","../../generic/braintree/public-api.ts","../../generic/braintree/3ddv-software-division-components-generic-braintree.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n input,\n OnDestroy,\n output,\n viewChild,\n} from '@angular/core';\nimport { BraintreePayload } from './types';\n\ndeclare let braintree: any;\n\n/**\n * Braintree Drop‑in component that auto‑wires clicks\n * on the first projected element and errors if more than one.\n * Recreates the drop‑in UI whenever isDigitalWalletPayment changes,\n * ensuring the container is empty before initialization.\n */\n@Component({\n standalone: true,\n selector: 'sdc-braintree',\n imports: [CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div #braintreeContainer id=\"braintree-container\"></div>\n <ng-content></ng-content>\n `,\n})\nexport class BraintreeComponent implements OnDestroy {\n /** Braintree element reference */\n public braintreeContainer = viewChild('braintreeContainer', { read: ElementRef<HTMLElement> });\n\n /** Braintree client token input */\n public readonly token = input.required<string>();\n\n /** Toggle to require cardholder name */\n public readonly isDigitalWalletPayment = input<boolean>(false);\n\n /** Emits when a payment payload is ready */\n public readonly onSubmit = output<BraintreePayload>();\n\n /** Holds the Drop‑in instance */\n private dropinInstance: any;\n\n constructor(private readonly elRef: ElementRef) {\n // Re-initialize drop‑in UI on config change\n effect(() => {\n const requireName = this.isDigitalWalletPayment();\n this.teardownDropin();\n this.initializeDropin(requireName);\n });\n\n // Attach click handler to the single projected element\n effect(onCleanup => {\n const projectedEls = Array.from((this.elRef.nativeElement as HTMLElement).children).filter(\n el => el.id !== 'braintree-container'\n );\n if (projectedEls.length > 1) {\n throw new Error(`sdc-braintree: only one projected element allowed, found ${projectedEls.length}`);\n }\n if (projectedEls.length === 1) {\n const btn = projectedEls[0] as HTMLElement;\n const handler = () => this.requestPayment();\n btn.addEventListener('click', handler);\n onCleanup(() => btn.removeEventListener('click', handler));\n }\n });\n }\n\n ngOnDestroy(): void {\n this.teardownDropin();\n }\n\n /** Clears previous drop-in UI and recreates it */\n private initializeDropin(requireName: boolean): void {\n if (this.dropinInstance) return;\n const container = this.braintreeContainer()?.nativeElement as HTMLElement;\n\n if (!container) {\n console.error('sdc-braintree: missing container element');\n return;\n }\n\n const cardOptions = requireName\n ? {\n card: { cardholderName: { required: requireName } },\n number: { supportedCardBrand: ['visa', 'mastercard', 'diners-club', 'discover', 'american-express'] },\n }\n : undefined;\n\n setTimeout(() => {\n braintree.dropin.create(\n {\n authorization: this.token(),\n container: container,\n ...cardOptions,\n },\n (err: any, instance: any) => {\n if (err) {\n console.error('Braintree init error:', err);\n return;\n }\n this.dropinInstance = instance;\n }\n );\n }, 0);\n }\n\n /** Requests payment method and emits payload */\n private requestPayment(): void {\n if (!this.dropinInstance) {\n console.warn('sdc-braintree: drop‑in not ready');\n return;\n }\n this.dropinInstance.requestPaymentMethod((err: any, payload: BraintreePayload) => {\n if (err) {\n console.error('sdc-braintree payment error:', err);\n return;\n }\n this.onSubmit.emit(payload);\n });\n }\n\n /** Tears down the drop-in instance if present */\n private teardownDropin(): void {\n if (this.dropinInstance?.teardown) {\n this.dropinInstance.teardown();\n }\n this.dropinInstance = null;\n }\n}\n","/*\n * Public API Surface of software-division-components\n */\n\nexport * from './braintree.component';\nexport * from './types';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAeA;;;;;AAKG;MAWU,kBAAkB,CAAA;AAgBA,IAAA,KAAA;;IAdtB,kBAAkB,GAAG,SAAS,CAAC,oBAAoB,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,oBAAA,EAAA,GAAA,EAAA,CAAA,EAAI,IAAI,GAAE,UAAuB,CAAA,EAAA,CAAG;;AAG9E,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,gDAAU;;AAGhC,IAAA,sBAAsB,GAAG,KAAK,CAAU,KAAK,kEAAC;;IAG9C,QAAQ,GAAG,MAAM,EAAoB;;AAG7C,IAAA,cAAc;AAEtB,IAAA,WAAA,CAA6B,KAAiB,EAAA;QAAjB,IAAA,CAAA,KAAK,GAAL,KAAK;;QAEhC,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,WAAW,GAAG,IAAI,CAAC,sBAAsB,EAAE;YACjD,IAAI,CAAC,cAAc,EAAE;AACrB,YAAA,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC;AACpC,QAAA,CAAC,CAAC;;QAGF,MAAM,CAAC,SAAS,IAAG;YACjB,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAE,IAAI,CAAC,KAAK,CAAC,aAA6B,CAAC,QAAQ,CAAC,CAAC,MAAM,CACxF,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,qBAAqB,CACtC;AACD,YAAA,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE;gBAC3B,MAAM,IAAI,KAAK,CAAC,CAAA,yDAAA,EAA4D,YAAY,CAAC,MAAM,CAAA,CAAE,CAAC;YACpG;AACA,Y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IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;ACjC/F;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
import { SIZES } from '@3ddv/software-division-components/shared';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, inject, signal, input, computed, Directive, NgModule, output, effect, Component } from '@angular/core';
|
|
4
|
+
import { Subject, takeUntil } from 'rxjs';
|
|
5
|
+
import { hlm } from '@spartan-ng/brain/core';
|
|
6
|
+
import { cva } from 'class-variance-authority';
|
|
7
|
+
|
|
8
|
+
const defaultConfig = {
|
|
9
|
+
variant: 'default',
|
|
10
|
+
size: 'default',
|
|
11
|
+
};
|
|
12
|
+
const BrnButtonConfigToken = new InjectionToken('BrnButtonConfig');
|
|
13
|
+
function provideBrnButtonConfig(config) {
|
|
14
|
+
return { provide: BrnButtonConfigToken, useValue: { ...defaultConfig, ...config } };
|
|
15
|
+
}
|
|
16
|
+
function injectBrnButtonConfig() {
|
|
17
|
+
return inject(BrnButtonConfigToken, { optional: true }) ?? defaultConfig;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const buttonVariants = cva('inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_ng-icon]:pointer-events-none shrink-0 [&_ng-icon]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-default', {
|
|
21
|
+
variants: {
|
|
22
|
+
variant: {
|
|
23
|
+
default: 'bg-primary text-primary-foreground shadow-xs hover:bg-primary/90',
|
|
24
|
+
destructive: 'bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',
|
|
25
|
+
outline: 'border bg-background shadow-xs dark:bg-input/30 dark:border-input dark:hover:bg-input/50',
|
|
26
|
+
secondary: 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',
|
|
27
|
+
ghost: 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50',
|
|
28
|
+
link: 'text-primary underline-offset-4 hover:underline',
|
|
29
|
+
},
|
|
30
|
+
size: {
|
|
31
|
+
default: 'h-9 px-4 py-2 has-[>ng-icon]:px-3',
|
|
32
|
+
sm: 'h-8 rounded-md gap-1.5 px-3 has-[>ng-icon]:px-2.5',
|
|
33
|
+
lg: 'h-10 rounded-md px-6 has-[>ng-icon]:px-4',
|
|
34
|
+
icon: 'size-9',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
defaultVariants: {
|
|
38
|
+
variant: 'default',
|
|
39
|
+
size: 'default',
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
class HlmButton {
|
|
43
|
+
_config = injectBrnButtonConfig();
|
|
44
|
+
_additionalClasses = signal('', ...(ngDevMode ? [{ debugName: "_additionalClasses" }] : []));
|
|
45
|
+
userClass = input('', { ...(ngDevMode ? { debugName: "userClass" } : {}), alias: 'class' });
|
|
46
|
+
_computedClass = computed(() => hlm(buttonVariants({ variant: this.variant(), size: this.size() }), this.userClass(), this._additionalClasses()), ...(ngDevMode ? [{ debugName: "_computedClass" }] : []));
|
|
47
|
+
variant = input(this._config.variant, ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
48
|
+
size = input(this._config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
49
|
+
setClass(classes) {
|
|
50
|
+
this._additionalClasses.set(classes);
|
|
51
|
+
}
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: HlmButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
53
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.4", type: HlmButton, isStandalone: true, selector: "[hlmBtn]", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_computedClass()" } }, exportAs: ["hlmBtn"], ngImport: i0 });
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: HlmButton, decorators: [{
|
|
56
|
+
type: Directive,
|
|
57
|
+
args: [{
|
|
58
|
+
selector: '[hlmBtn]',
|
|
59
|
+
standalone: true,
|
|
60
|
+
exportAs: 'hlmBtn',
|
|
61
|
+
host: {
|
|
62
|
+
'[class]': '_computedClass()',
|
|
63
|
+
},
|
|
64
|
+
}]
|
|
65
|
+
}], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
|
|
66
|
+
|
|
67
|
+
class HlmButtonModule {
|
|
68
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: HlmButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
69
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.4", ngImport: i0, type: HlmButtonModule, imports: [HlmButton], exports: [HlmButton] });
|
|
70
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: HlmButtonModule });
|
|
71
|
+
}
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: HlmButtonModule, decorators: [{
|
|
73
|
+
type: NgModule,
|
|
74
|
+
args: [{
|
|
75
|
+
imports: [HlmButton],
|
|
76
|
+
exports: [HlmButton],
|
|
77
|
+
}]
|
|
78
|
+
}] });
|
|
79
|
+
|
|
80
|
+
const BUTTON_VARIANTS = {
|
|
81
|
+
primary: 'primary',
|
|
82
|
+
secondary: 'secondary',
|
|
83
|
+
accent: 'accent',
|
|
84
|
+
alternative: 'alternative',
|
|
85
|
+
warning: 'warning',
|
|
86
|
+
success: 'success',
|
|
87
|
+
outline: 'outline',
|
|
88
|
+
destructive: 'destructive',
|
|
89
|
+
'primary-light': 'primary-light',
|
|
90
|
+
'alternative-light': 'alternative-light',
|
|
91
|
+
'success-muted': 'success-muted',
|
|
92
|
+
'accent-light': 'accent-light',
|
|
93
|
+
'warning-light': 'warning-light',
|
|
94
|
+
'destructive-light': 'destructive-light',
|
|
95
|
+
'outline-white': 'outline-white',
|
|
96
|
+
'outline-alternative': 'outline-alternative',
|
|
97
|
+
'outline-accent': 'outline-accent',
|
|
98
|
+
link: 'link',
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* A customizable button component built on Spartan UI Button.
|
|
102
|
+
*
|
|
103
|
+
* This component supports various configurations and exposes all Spartan UI button functionality.
|
|
104
|
+
* All HTML button attributes and events are automatically forwarded to the inner button element.
|
|
105
|
+
*
|
|
106
|
+
* @since 1.0.0-alpha.1
|
|
107
|
+
* @updated 1.0.0-alpha.3
|
|
108
|
+
*/
|
|
109
|
+
class ButtonComponent {
|
|
110
|
+
elementRef;
|
|
111
|
+
allowedVariants = Object.values(BUTTON_VARIANTS).map(v => `variant-${v}`);
|
|
112
|
+
allowedSizes = Object.values(SIZES).map(v => `size-${v}`);
|
|
113
|
+
allowedCircleSizes = [
|
|
114
|
+
'size-circle-sm',
|
|
115
|
+
'size-circle-md',
|
|
116
|
+
'size-circle-lg',
|
|
117
|
+
'size-circle-xl',
|
|
118
|
+
];
|
|
119
|
+
allowedRadius = [
|
|
120
|
+
'radius-default',
|
|
121
|
+
'radius-sm',
|
|
122
|
+
'radius-md',
|
|
123
|
+
'radius-lg',
|
|
124
|
+
'radius-xl',
|
|
125
|
+
'radius-2xl',
|
|
126
|
+
'radius-full',
|
|
127
|
+
];
|
|
128
|
+
allowedBorder = ['border-0', 'border-default', 'border-2', 'border-4', 'border-8'];
|
|
129
|
+
/**
|
|
130
|
+
* The current theme applied to the component.
|
|
131
|
+
*/
|
|
132
|
+
theme = input('theme-sdc', ...(ngDevMode ? [{ debugName: "theme" }] : []));
|
|
133
|
+
/**
|
|
134
|
+
* Predefined styles to apply to the component.
|
|
135
|
+
* Can be a single class or multiple classes from different categories.
|
|
136
|
+
*/
|
|
137
|
+
styleClass = input([], ...(ngDevMode ? [{ debugName: "styleClass" }] : []));
|
|
138
|
+
// Computed signal that validates and filters the styleClass input
|
|
139
|
+
_validatedStyleClass = computed(() => {
|
|
140
|
+
const value = this.styleClass();
|
|
141
|
+
if (!Array.isArray(value)) {
|
|
142
|
+
console.warn('ButtonComponent: styleClass must be an array, defaulting to empty array');
|
|
143
|
+
return [];
|
|
144
|
+
}
|
|
145
|
+
const validValues = value.filter(style => this.allowedVariants.includes(style) ||
|
|
146
|
+
this.allowedSizes.includes(style) ||
|
|
147
|
+
this.allowedCircleSizes.includes(style) ||
|
|
148
|
+
this.allowedRadius.includes(style) ||
|
|
149
|
+
this.allowedBorder.includes(style));
|
|
150
|
+
const invalidValues = value.filter(style => !this.allowedVariants.includes(style) &&
|
|
151
|
+
!this.allowedSizes.includes(style) &&
|
|
152
|
+
!this.allowedCircleSizes.includes(style) &&
|
|
153
|
+
!this.allowedRadius.includes(style) &&
|
|
154
|
+
!this.allowedBorder.includes(style));
|
|
155
|
+
if (invalidValues.length > 0) {
|
|
156
|
+
throw new Error(`ButtonComponent: Invalid styleClass values ignored: ${invalidValues.join(', ')}. Allowed values: ${[
|
|
157
|
+
...this.allowedVariants,
|
|
158
|
+
...this.allowedSizes,
|
|
159
|
+
...this.allowedCircleSizes,
|
|
160
|
+
...this.allowedRadius,
|
|
161
|
+
...this.allowedBorder,
|
|
162
|
+
].join(', ')}`);
|
|
163
|
+
}
|
|
164
|
+
return validValues;
|
|
165
|
+
}, ...(ngDevMode ? [{ debugName: "_validatedStyleClass" }] : []));
|
|
166
|
+
/**
|
|
167
|
+
* Additional classes
|
|
168
|
+
*/
|
|
169
|
+
className = input('', ...(ngDevMode ? [{ debugName: "className" }] : []));
|
|
170
|
+
/**
|
|
171
|
+
* Button component style variant
|
|
172
|
+
*/
|
|
173
|
+
variant = input('primary', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
174
|
+
/**
|
|
175
|
+
* Button component size variant
|
|
176
|
+
*/
|
|
177
|
+
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
178
|
+
/**
|
|
179
|
+
* Native button type attribute
|
|
180
|
+
*/
|
|
181
|
+
type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
182
|
+
/**
|
|
183
|
+
* Whether the component is disabled.
|
|
184
|
+
*/
|
|
185
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
186
|
+
/**
|
|
187
|
+
* Whether to enable the ripple effect on the component.
|
|
188
|
+
* Default value is false.
|
|
189
|
+
*/
|
|
190
|
+
ripple = input(false, ...(ngDevMode ? [{ debugName: "ripple" }] : []));
|
|
191
|
+
/**
|
|
192
|
+
* Event emitted when the component is clicked.
|
|
193
|
+
*/
|
|
194
|
+
onClick = output();
|
|
195
|
+
/**
|
|
196
|
+
* Event emitted when the component receives focus.
|
|
197
|
+
*/
|
|
198
|
+
onFocus = output();
|
|
199
|
+
/**
|
|
200
|
+
* Event emitted when the component loses focus.
|
|
201
|
+
*/
|
|
202
|
+
onBlur = output();
|
|
203
|
+
_sizeClass = computed(() => {
|
|
204
|
+
const size = SIZES[this.size()];
|
|
205
|
+
if (!size) {
|
|
206
|
+
throw new Error(`size must be one of these: ${Object.values(SIZES).join(', ')}}`);
|
|
207
|
+
}
|
|
208
|
+
return `size-${size}`;
|
|
209
|
+
}, ...(ngDevMode ? [{ debugName: "_sizeClass" }] : []));
|
|
210
|
+
_variantClass = computed(() => {
|
|
211
|
+
const variant = BUTTON_VARIANTS[this.variant()];
|
|
212
|
+
if (!variant) {
|
|
213
|
+
throw new Error(`variant must be one of these: ${Object.values(BUTTON_VARIANTS).join(', ')}}`);
|
|
214
|
+
}
|
|
215
|
+
return `variant-${variant}`;
|
|
216
|
+
}, ...(ngDevMode ? [{ debugName: "_variantClass" }] : []));
|
|
217
|
+
/**
|
|
218
|
+
* Computed class string that combines theme and user classes.
|
|
219
|
+
*/
|
|
220
|
+
computedClass = computed(() => {
|
|
221
|
+
const themeClass = this.theme();
|
|
222
|
+
const styleClass = this._validatedStyleClass();
|
|
223
|
+
const sizeClass = this._sizeClass();
|
|
224
|
+
const variantClass = this._variantClass();
|
|
225
|
+
const className = this.className();
|
|
226
|
+
return Array.from(new Set(['sdc-button', themeClass, sizeClass, variantClass, ...styleClass, className]))
|
|
227
|
+
.filter(Boolean)
|
|
228
|
+
.join(' ');
|
|
229
|
+
}, ...(ngDevMode ? [{ debugName: "computedClass" }] : []));
|
|
230
|
+
/**
|
|
231
|
+
* Debounce time in milliseconds. When null, no debounce is applied.
|
|
232
|
+
* Default value is null (no debounce).
|
|
233
|
+
*/
|
|
234
|
+
debounce = input(null, ...(ngDevMode ? [{ debugName: "debounce" }] : []));
|
|
235
|
+
/**
|
|
236
|
+
* Event emitted to notify the debounce state.
|
|
237
|
+
* Returns true while the component is debounced, false when not.
|
|
238
|
+
*/
|
|
239
|
+
isDebounced = output();
|
|
240
|
+
/**
|
|
241
|
+
* Signal to track the current debounce state of the component.
|
|
242
|
+
*/
|
|
243
|
+
debounceState = signal(false, ...(ngDevMode ? [{ debugName: "debounceState" }] : []));
|
|
244
|
+
/**
|
|
245
|
+
* Subject for handling click events with debounce.
|
|
246
|
+
*/
|
|
247
|
+
clickSubject = new Subject();
|
|
248
|
+
/**
|
|
249
|
+
* Subject for cleanup.
|
|
250
|
+
*/
|
|
251
|
+
destroy$ = new Subject();
|
|
252
|
+
/**
|
|
253
|
+
* Current subscription for debounce.
|
|
254
|
+
*/
|
|
255
|
+
debounceSubscription = null;
|
|
256
|
+
/**
|
|
257
|
+
* Current debounce timeout.
|
|
258
|
+
*/
|
|
259
|
+
debounceTimeout = null;
|
|
260
|
+
constructor(elementRef) {
|
|
261
|
+
this.elementRef = elementRef;
|
|
262
|
+
// Set up reactive debounce handling within injection context
|
|
263
|
+
effect(() => {
|
|
264
|
+
const debounceTime = this.debounce();
|
|
265
|
+
this.setupDebounce(debounceTime);
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
ngOnDestroy() {
|
|
269
|
+
this.destroy$.next();
|
|
270
|
+
this.destroy$.complete();
|
|
271
|
+
this.clickSubject.complete();
|
|
272
|
+
if (this.debounceSubscription) {
|
|
273
|
+
this.debounceSubscription.unsubscribe();
|
|
274
|
+
}
|
|
275
|
+
if (this.debounceTimeout) {
|
|
276
|
+
clearTimeout(this.debounceTimeout);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Sets up the debounce functionality for click events.
|
|
281
|
+
*/
|
|
282
|
+
setupDebounce(debounceTime) {
|
|
283
|
+
// Clear existing subscription
|
|
284
|
+
if (this.debounceSubscription) {
|
|
285
|
+
this.debounceSubscription.unsubscribe();
|
|
286
|
+
}
|
|
287
|
+
// Clear existing timeout
|
|
288
|
+
if (this.debounceTimeout) {
|
|
289
|
+
clearTimeout(this.debounceTimeout);
|
|
290
|
+
this.debounceTimeout = null;
|
|
291
|
+
}
|
|
292
|
+
// Set up new subscription
|
|
293
|
+
this.debounceSubscription = this.clickSubject.pipe(takeUntil(this.destroy$)).subscribe((event) => {
|
|
294
|
+
// Clear existing timeout
|
|
295
|
+
if (this.debounceTimeout) {
|
|
296
|
+
clearTimeout(this.debounceTimeout);
|
|
297
|
+
}
|
|
298
|
+
// Set new timeout
|
|
299
|
+
this.debounceTimeout = setTimeout(() => {
|
|
300
|
+
this.debounceState.set(false);
|
|
301
|
+
this.isDebounced.emit(false);
|
|
302
|
+
this.onClick.emit(event);
|
|
303
|
+
this.debounceTimeout = null;
|
|
304
|
+
}, debounceTime ?? 0);
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Handles click events with debounce functionality.
|
|
309
|
+
*/
|
|
310
|
+
handleClick(event) {
|
|
311
|
+
const debounceTime = this.debounce();
|
|
312
|
+
if (debounceTime !== null && debounceTime > 0) {
|
|
313
|
+
// Apply debounce
|
|
314
|
+
this.debounceState.set(true);
|
|
315
|
+
this.isDebounced.emit(true);
|
|
316
|
+
this.clickSubject.next(event);
|
|
317
|
+
}
|
|
318
|
+
else {
|
|
319
|
+
// No debounce, emit immediately
|
|
320
|
+
this.onClick.emit(event);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Handles focus events and emits the onFocus output.
|
|
325
|
+
*/
|
|
326
|
+
handleFocus(event) {
|
|
327
|
+
this.onFocus.emit(event);
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* Handles blur events and emits the onBlur output.
|
|
331
|
+
*/
|
|
332
|
+
handleBlur(event) {
|
|
333
|
+
this.onBlur.emit(event);
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Creates a ripple effect at the specified position.
|
|
337
|
+
*/
|
|
338
|
+
createRipple(event) {
|
|
339
|
+
if (!this.ripple())
|
|
340
|
+
return;
|
|
341
|
+
const button = event.currentTarget;
|
|
342
|
+
const rect = button.getBoundingClientRect();
|
|
343
|
+
const size = Math.max(rect.width, rect.height);
|
|
344
|
+
const x = event.clientX - rect.left - size / 2;
|
|
345
|
+
const y = event.clientY - rect.top - size / 2;
|
|
346
|
+
const ripple = document.createElement('span');
|
|
347
|
+
ripple.style.width = ripple.style.height = size + 'px';
|
|
348
|
+
ripple.style.left = x + 'px';
|
|
349
|
+
ripple.style.top = y + 'px';
|
|
350
|
+
ripple.classList.add('sdc-ripple');
|
|
351
|
+
button.appendChild(ripple);
|
|
352
|
+
setTimeout(() => {
|
|
353
|
+
ripple.remove();
|
|
354
|
+
}, 600);
|
|
355
|
+
}
|
|
356
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
357
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.4", type: ButtonComponent, isStandalone: true, selector: "sdc-button", inputs: { theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null }, debounce: { classPropertyName: "debounce", publicName: "debounce", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick", onFocus: "onFocus", onBlur: "onBlur", isDebounced: "isDebounced" }, ngImport: i0, template: "<button\n hlmBtn\n [class]=\"computedClass()\"\n [disabled]=\"disabled() || debounceState()\"\n (click)=\"handleClick($event); createRipple($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\"\n [type]=\"type()\">\n <ng-content></ng-content>\n</button>\n", styles: [".sdc-button{--sdc-button-ripple-color: var(--color-neutral-300);--sdc-button-text-color: var(--color-pure-white);--sdc-button-text-size: var(--text-base);--sdc-button-text-weight: var(--font-medium);--sdc-button-background: var(--color-primary);--sdc-button-padding: var(--space-2) var(--space-7);--sdc-button-border-color: var(--color-primary);--sdc-button-border-radius: var(--radius-full);--sdc-button-border-width: var(--border-0);--sdc-button-height: 100%;--sdc-button-width: 100%;position:relative;overflow:hidden;cursor:pointer;color:var(--sdc-button-text-color);font-size:var(--sdc-button-text-size);font-weight:var(--sdc-button-text-weight);background:var(--sdc-button-background);padding:var(--sdc-button-padding);border-color:var(--sdc-button-border-color);border-radius:var(--sdc-button-border-radius);border-width:var(--sdc-button-border-width);height:var(--sdc-button-height);width:var(--sdc-button-width)}.sdc-button[disabled]{cursor:not-allowed;opacity:.6;transition:opacity .2s ease-in-out}.sdc-button:not([disabled]){transition:all .2s ease-in-out}.sdc-button:not([disabled]):hover{transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.sdc-button:not([disabled]):focus{outline:none}.sdc-button:not([disabled]):active{transform:translateY(0);box-shadow:0 2px 4px #0000001a}.sdc-button.variant-primary{--sdc-button-background: var(--color-primary);--sdc-button-border-color: var(--color-primary)}.sdc-button.variant-primary-light{--sdc-button-background: color-mix(in srgb, var(--color-primary) 15%, white);--sdc-button-border-color: var(--color-outline);--sdc-button-text-color: var(--color-primary)}.sdc-button.variant-secondary{--sdc-button-background: var(--color-secondary);--sdc-button-border-color: var(--color-secondary);--sdc-button-text-color: var(--color-primary)}.sdc-button.variant-alternative{--sdc-button-background: var(--color-alternative);--sdc-button-border-color: var(--color-alternative)}.sdc-button.variant-alternative-light{--sdc-button-background: color-mix(in srgb, var(--color-alternative) 15%, white);--sdc-button-border-color: var(--color-alternative);--sdc-button-text-color: var(--color-primary)}.sdc-button.variant-accent{--sdc-button-background: var(--color-accent);--sdc-button-border-color: var(--color-accent)}.sdc-button.variant-accent-light{--sdc-button-background: color-mix(in srgb, var(--color-accent) 15%, white);--sdc-button-border-color: var(--color-accent);--sdc-button-text-color: var(--color-primary)}.sdc-button.variant-success{--sdc-button-background: var(--color-success);--sdc-button-border-color: var(--color-success)}.sdc-button.variant-warning{--sdc-button-background: var(--color-warning);--sdc-button-border-color: var(--color-warning)}.sdc-button.variant-danger{--sdc-button-background: var(--color-danger);--sdc-button-border-color: var(--color-danger)}.sdc-button.variant-outline{--sdc-button-background: transparent;--sdc-button-border-width: var(--border-default);--sdc-button-border-color: var(--color-primary);--sdc-button-text-color: var(--color-neutral-700)}.sdc-button.variant-outline:hover{box-shadow:none}.sdc-button.variant-outline-accent{--sdc-button-background: transparent;--sdc-button-border-width: var(--border-default);--sdc-button-border-color: var(--color-accent);--sdc-button-text-color: var(--color-accent)}.sdc-button.variant-outline-accent:hover{box-shadow:none}.sdc-button.variant-outline-alternative{--sdc-button-background: transparent;--sdc-button-border-width: var(--border-default);--sdc-button-border-color: var(--color-alternative);--sdc-button-text-color: var(--color-alternative)}.sdc-button.variant-outline-alternative:hover{box-shadow:none}.sdc-button.variant-outline-white{--sdc-button-background: transparent;--sdc-button-border-width: var(--border-default);--sdc-button-border-color: white;--sdc-button-text-color: white}.sdc-button.variant-outline-white:hover{box-shadow:none}.sdc-button.variant-link{--sdc-button-background: transparent;--sdc-button-border-color: transparent;--sdc-button-text-color: var(--color-neutral-700)}.sdc-button.variant-link:hover{box-shadow:none}.sdc-button.variant-success-light{--sdc-button-background: color-mix(in srgb, var(--color-success) 15%, white);--sdc-button-border-color: var(--color-success);--sdc-button-text-color: var(--color-success)}.sdc-button.variant-warning-light{--sdc-button-background: color-mix(in srgb, var(--color-warning) 15%, white);--sdc-button-border-color: var(--color-warning);--sdc-button-text-color: var(--color-warning)}.sdc-button.variant-destructive-light{--sdc-button-background: color-mix(in srgb, var(--color-danger) 20%, white);--sdc-button-border-color: var(--color-danger);--sdc-button-text-color: var(--color-danger)}.sdc-button.size-xxs,.sdc-button.size-xs{--sdc-button-padding: var(--space-1) var(--space-2_5);--sdc-button-text-size: var(--text-xs);--sdc-button-text-weight: var(--font-regular)}.sdc-button.size-sm{--sdc-button-padding: var(--space-1) var(--space-4);--sdc-button-text-size: var(--text-sm);--sdc-button-text-weight: var(--font-semibold)}.sdc-button.size-md{--sdc-button-padding: var(--space-1_5) var(--space-7);--sdc-button-text-size: var(--text-sm);--sdc-button-text-weight: var(--font-semibold)}.sdc-button.size-lg,.sdc-button.size-xl,.sdc-button.size-2xl{--sdc-button-padding: var(--space-2) var(--space-8);--sdc-button-text-size: var(--text-lg);--sdc-button-text-weight: var(--font-semibold)}.sdc-button.size-circle-sm{display:flex;justify-content:center;align-items:center;--sdc-button-padding: 0;--sdc-button-height: var(--space-6);--sdc-button-width: var(--space-6);--sdc-button-text-size: var(--text-sm);--sdc-button-text-weight: var(--font-medium)}.sdc-button.size-circle-md{display:flex;justify-content:center;align-items:center;--sdc-button-padding: 0;--sdc-button-height: var(--space-8);--sdc-button-width: var(--space-8);--sdc-button-text-size: var(--text-base);--sdc-button-text-weight: var(--font-medium)}.sdc-button.size-circle-lg{display:flex;justify-content:center;align-items:center;--sdc-button-padding: 0;--sdc-button-height: var(--space-10);--sdc-button-width: var(--space-10);--sdc-button-text-size: var(--text-xl);--sdc-button-text-weight: var(--font-medium)}.sdc-button.size-circle-xl{display:flex;justify-content:center;align-items:center;--sdc-button-padding: 0;--sdc-button-height: var(--space-12);--sdc-button-width: var(--space-12);--sdc-button-text-size: var(--text-2xl);--sdc-button-text-weight: var(--font-medium)}.sdc-button.radius-default{--sdc-button-border-radius: var(--radius-default)}.sdc-button.radius-sm{--sdc-button-border-radius: var(--radius-sm)}.sdc-button.radius-md{--sdc-button-border-radius: var(--radius-md)}.sdc-button.radius-lg{--sdc-button-border-radius: var(--radius-lg)}.sdc-button.radius-xl{--sdc-button-border-radius: var(--radius-xl)}.sdc-button.radius-2xl{--sdc-button-border-radius: var(--radius-2xl)}.sdc-button.radius-full{--sdc-button-border-radius: var(--radius-full)}.sdc-button.border-0{--sdc-button-border-width: var(--border-0)}.sdc-button.border-default{--sdc-button-border-width: var(--border-default)}.sdc-button.border-2{--sdc-button-border-width: var(--border-2)}.sdc-button.border-4{--sdc-button-border-width: var(--border-4)}.sdc-button.border-8{--sdc-button-border-width: var(--border-8)}\n"], dependencies: [{ kind: "ngmodule", type: HlmButtonModule }, { kind: "directive", type: HlmButton, selector: "[hlmBtn]", inputs: ["class", "variant", "size"], exportAs: ["hlmBtn"] }] });
|
|
358
|
+
}
|
|
359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.4", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
360
|
+
type: Component,
|
|
361
|
+
args: [{ selector: 'sdc-button', imports: [HlmButtonModule], template: "<button\n hlmBtn\n [class]=\"computedClass()\"\n [disabled]=\"disabled() || debounceState()\"\n (click)=\"handleClick($event); createRipple($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\"\n [type]=\"type()\">\n <ng-content></ng-content>\n</button>\n", styles: [".sdc-button{--sdc-button-ripple-color: var(--color-neutral-300);--sdc-button-text-color: var(--color-pure-white);--sdc-button-text-size: var(--text-base);--sdc-button-text-weight: var(--font-medium);--sdc-button-background: var(--color-primary);--sdc-button-padding: var(--space-2) var(--space-7);--sdc-button-border-color: var(--color-primary);--sdc-button-border-radius: var(--radius-full);--sdc-button-border-width: var(--border-0);--sdc-button-height: 100%;--sdc-button-width: 100%;position:relative;overflow:hidden;cursor:pointer;color:var(--sdc-button-text-color);font-size:var(--sdc-button-text-size);font-weight:var(--sdc-button-text-weight);background:var(--sdc-button-background);padding:var(--sdc-button-padding);border-color:var(--sdc-button-border-color);border-radius:var(--sdc-button-border-radius);border-width:var(--sdc-button-border-width);height:var(--sdc-button-height);width:var(--sdc-button-width)}.sdc-button[disabled]{cursor:not-allowed;opacity:.6;transition:opacity .2s ease-in-out}.sdc-button:not([disabled]){transition:all .2s ease-in-out}.sdc-button:not([disabled]):hover{transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.sdc-button:not([disabled]):focus{outline:none}.sdc-button:not([disabled]):active{transform:translateY(0);box-shadow:0 2px 4px #0000001a}.sdc-button.variant-primary{--sdc-button-background: var(--color-primary);--sdc-button-border-color: var(--color-primary)}.sdc-button.variant-primary-light{--sdc-button-background: color-mix(in srgb, var(--color-primary) 15%, white);--sdc-button-border-color: var(--color-outline);--sdc-button-text-color: var(--color-primary)}.sdc-button.variant-secondary{--sdc-button-background: var(--color-secondary);--sdc-button-border-color: var(--color-secondary);--sdc-button-text-color: var(--color-primary)}.sdc-button.variant-alternative{--sdc-button-background: var(--color-alternative);--sdc-button-border-color: var(--color-alternative)}.sdc-button.variant-alternative-light{--sdc-button-background: color-mix(in srgb, var(--color-alternative) 15%, white);--sdc-button-border-color: var(--color-alternative);--sdc-button-text-color: var(--color-primary)}.sdc-button.variant-accent{--sdc-button-background: var(--color-accent);--sdc-button-border-color: var(--color-accent)}.sdc-button.variant-accent-light{--sdc-button-background: color-mix(in srgb, var(--color-accent) 15%, white);--sdc-button-border-color: var(--color-accent);--sdc-button-text-color: var(--color-primary)}.sdc-button.variant-success{--sdc-button-background: var(--color-success);--sdc-button-border-color: var(--color-success)}.sdc-button.variant-warning{--sdc-button-background: var(--color-warning);--sdc-button-border-color: var(--color-warning)}.sdc-button.variant-danger{--sdc-button-background: var(--color-danger);--sdc-button-border-color: var(--color-danger)}.sdc-button.variant-outline{--sdc-button-background: transparent;--sdc-button-border-width: var(--border-default);--sdc-button-border-color: var(--color-primary);--sdc-button-text-color: var(--color-neutral-700)}.sdc-button.variant-outline:hover{box-shadow:none}.sdc-button.variant-outline-accent{--sdc-button-background: transparent;--sdc-button-border-width: var(--border-default);--sdc-button-border-color: var(--color-accent);--sdc-button-text-color: var(--color-accent)}.sdc-button.variant-outline-accent:hover{box-shadow:none}.sdc-button.variant-outline-alternative{--sdc-button-background: transparent;--sdc-button-border-width: var(--border-default);--sdc-button-border-color: var(--color-alternative);--sdc-button-text-color: var(--color-alternative)}.sdc-button.variant-outline-alternative:hover{box-shadow:none}.sdc-button.variant-outline-white{--sdc-button-background: transparent;--sdc-button-border-width: var(--border-default);--sdc-button-border-color: white;--sdc-button-text-color: white}.sdc-button.variant-outline-white:hover{box-shadow:none}.sdc-button.variant-link{--sdc-button-background: transparent;--sdc-button-border-color: transparent;--sdc-button-text-color: var(--color-neutral-700)}.sdc-button.variant-link:hover{box-shadow:none}.sdc-button.variant-success-light{--sdc-button-background: color-mix(in srgb, var(--color-success) 15%, white);--sdc-button-border-color: var(--color-success);--sdc-button-text-color: var(--color-success)}.sdc-button.variant-warning-light{--sdc-button-background: color-mix(in srgb, var(--color-warning) 15%, white);--sdc-button-border-color: var(--color-warning);--sdc-button-text-color: var(--color-warning)}.sdc-button.variant-destructive-light{--sdc-button-background: color-mix(in srgb, var(--color-danger) 20%, white);--sdc-button-border-color: var(--color-danger);--sdc-button-text-color: var(--color-danger)}.sdc-button.size-xxs,.sdc-button.size-xs{--sdc-button-padding: var(--space-1) var(--space-2_5);--sdc-button-text-size: var(--text-xs);--sdc-button-text-weight: var(--font-regular)}.sdc-button.size-sm{--sdc-button-padding: var(--space-1) var(--space-4);--sdc-button-text-size: var(--text-sm);--sdc-button-text-weight: var(--font-semibold)}.sdc-button.size-md{--sdc-button-padding: var(--space-1_5) var(--space-7);--sdc-button-text-size: var(--text-sm);--sdc-button-text-weight: var(--font-semibold)}.sdc-button.size-lg,.sdc-button.size-xl,.sdc-button.size-2xl{--sdc-button-padding: var(--space-2) var(--space-8);--sdc-button-text-size: var(--text-lg);--sdc-button-text-weight: var(--font-semibold)}.sdc-button.size-circle-sm{display:flex;justify-content:center;align-items:center;--sdc-button-padding: 0;--sdc-button-height: var(--space-6);--sdc-button-width: var(--space-6);--sdc-button-text-size: var(--text-sm);--sdc-button-text-weight: var(--font-medium)}.sdc-button.size-circle-md{display:flex;justify-content:center;align-items:center;--sdc-button-padding: 0;--sdc-button-height: var(--space-8);--sdc-button-width: var(--space-8);--sdc-button-text-size: var(--text-base);--sdc-button-text-weight: var(--font-medium)}.sdc-button.size-circle-lg{display:flex;justify-content:center;align-items:center;--sdc-button-padding: 0;--sdc-button-height: var(--space-10);--sdc-button-width: var(--space-10);--sdc-button-text-size: var(--text-xl);--sdc-button-text-weight: var(--font-medium)}.sdc-button.size-circle-xl{display:flex;justify-content:center;align-items:center;--sdc-button-padding: 0;--sdc-button-height: var(--space-12);--sdc-button-width: var(--space-12);--sdc-button-text-size: var(--text-2xl);--sdc-button-text-weight: var(--font-medium)}.sdc-button.radius-default{--sdc-button-border-radius: var(--radius-default)}.sdc-button.radius-sm{--sdc-button-border-radius: var(--radius-sm)}.sdc-button.radius-md{--sdc-button-border-radius: var(--radius-md)}.sdc-button.radius-lg{--sdc-button-border-radius: var(--radius-lg)}.sdc-button.radius-xl{--sdc-button-border-radius: var(--radius-xl)}.sdc-button.radius-2xl{--sdc-button-border-radius: var(--radius-2xl)}.sdc-button.radius-full{--sdc-button-border-radius: var(--radius-full)}.sdc-button.border-0{--sdc-button-border-width: var(--border-0)}.sdc-button.border-default{--sdc-button-border-width: var(--border-default)}.sdc-button.border-2{--sdc-button-border-width: var(--border-2)}.sdc-button.border-4{--sdc-button-border-width: var(--border-4)}.sdc-button.border-8{--sdc-button-border-width: var(--border-8)}\n"] }]
|
|
362
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { theme: [{ type: i0.Input, args: [{ isSignal: true, alias: "theme", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], ripple: [{ type: i0.Input, args: [{ isSignal: true, alias: "ripple", required: false }] }], onClick: [{ type: i0.Output, args: ["onClick"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], debounce: [{ type: i0.Input, args: [{ isSignal: true, alias: "debounce", required: false }] }], isDebounced: [{ type: i0.Output, args: ["isDebounced"] }] } });
|
|
363
|
+
|
|
364
|
+
/*
|
|
365
|
+
* Public API Surface of software-division-components
|
|
366
|
+
*/
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Generated bundle index. Do not edit.
|
|
370
|
+
*/
|
|
371
|
+
|
|
372
|
+
export { ButtonComponent, HlmButton, HlmButtonModule, buttonVariants, provideBrnButtonConfig };
|
|
373
|
+
//# sourceMappingURL=3ddv-software-division-components-generic-button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3ddv-software-division-components-generic-button.mjs","sources":["../../generic/button/ui/ui-button-helm/src/lib/hlm-button.token.ts","../../generic/button/ui/ui-button-helm/src/lib/hlm-button.ts","../../generic/button/ui/ui-button-helm/src/index.ts","../../generic/button/button.component.ts","../../generic/button/button.component.html","../../generic/button/public-api.ts","../../generic/button/3ddv-software-division-components-generic-button.ts"],"sourcesContent":["import { InjectionToken, ValueProvider, inject } from '@angular/core';\nimport type { ButtonVariants } from './hlm-button';\n\nexport interface BrnButtonConfig {\n\tvariant: ButtonVariants['variant'];\n\tsize: ButtonVariants['size'];\n}\n\nconst defaultConfig: BrnButtonConfig = {\n\tvariant: 'default',\n\tsize: 'default',\n};\n\nconst BrnButtonConfigToken = new InjectionToken<BrnButtonConfig>('BrnButtonConfig');\n\nexport function provideBrnButtonConfig(config: Partial<BrnButtonConfig>): ValueProvider {\n\treturn { provide: BrnButtonConfigToken, useValue: { ...defaultConfig, ...config } };\n}\n\nexport function injectBrnButtonConfig(): BrnButtonConfig {\n\treturn inject(BrnButtonConfigToken, { optional: true }) ?? defaultConfig;\n}\n","import { Directive, computed, input, signal } from '@angular/core';\nimport { hlm } from '@spartan-ng/brain/core';\nimport { type VariantProps, cva } from 'class-variance-authority';\nimport type { ClassValue } from 'clsx';\nimport { injectBrnButtonConfig } from './hlm-button.token';\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_ng-icon]:pointer-events-none shrink-0 [&_ng-icon]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-default',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground shadow-xs hover:bg-primary/90',\n destructive:\n 'bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',\n outline: 'border bg-background shadow-xs dark:bg-input/30 dark:border-input dark:hover:bg-input/50',\n secondary: 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-9 px-4 py-2 has-[>ng-icon]:px-3',\n sm: 'h-8 rounded-md gap-1.5 px-3 has-[>ng-icon]:px-2.5',\n lg: 'h-10 rounded-md px-6 has-[>ng-icon]:px-4',\n icon: 'size-9',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\nexport type ButtonVariants = VariantProps<typeof buttonVariants>;\n\n@Directive({\n selector: '[hlmBtn]',\n standalone: true,\n exportAs: 'hlmBtn',\n host: {\n '[class]': '_computedClass()',\n },\n})\nexport class HlmButton {\n private readonly _config = injectBrnButtonConfig();\n\n private readonly _additionalClasses = signal<ClassValue>('');\n\n public readonly userClass = input<ClassValue>('', { alias: 'class' });\n\n protected readonly _computedClass = computed(() =>\n hlm(buttonVariants({ variant: this.variant(), size: this.size() }), this.userClass(), this._additionalClasses())\n );\n\n public readonly variant = input<ButtonVariants['variant']>(this._config.variant);\n\n public readonly size = input<ButtonVariants['size']>(this._config.size);\n\n setClass(classes: string): void {\n this._additionalClasses.set(classes);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { HlmButton } from './lib/hlm-button';\nexport * from './lib/hlm-button';\nexport * from './lib/hlm-button.token';\n\n@NgModule({\n\timports: [HlmButton],\n\texports: [HlmButton],\n})\nexport class HlmButtonModule {}\n","import { Size, SIZES, ThemeClass } from '@3ddv/software-division-components/shared';\nimport { Component, computed, effect, ElementRef, input, output, signal } from '@angular/core';\nimport { Subject, Subscription, takeUntil } from 'rxjs';\nimport { HlmButtonModule } from './ui/ui-button-helm/src';\n\nconst BUTTON_VARIANTS = {\n primary: 'primary',\n secondary: 'secondary',\n accent: 'accent',\n alternative: 'alternative',\n warning: 'warning',\n success: 'success',\n outline: 'outline',\n destructive: 'destructive',\n 'primary-light': 'primary-light',\n 'alternative-light': 'alternative-light',\n 'success-muted': 'success-muted',\n 'accent-light': 'accent-light',\n 'warning-light': 'warning-light',\n 'destructive-light': 'destructive-light',\n 'outline-white': 'outline-white',\n 'outline-alternative': 'outline-alternative',\n 'outline-accent': 'outline-accent',\n link: 'link',\n} as const;\n\ntype ButtonVariant = (typeof BUTTON_VARIANTS)[keyof typeof BUTTON_VARIANTS];\n\ntype ButtonType = 'button' | 'submit' | 'reset';\n\nexport type ButtonStyleClasses = ReturnType<(typeof ButtonComponent.prototype)['styleClass']>;\n\n/**\n * A customizable button component built on Spartan UI Button.\n *\n * This component supports various configurations and exposes all Spartan UI button functionality.\n * All HTML button attributes and events are automatically forwarded to the inner button element.\n *\n * @since 1.0.0-alpha.1\n * @updated 1.0.0-alpha.3\n */\n@Component({\n selector: 'sdc-button',\n styleUrls: ['./button.component.css'],\n templateUrl: './button.component.html',\n imports: [HlmButtonModule],\n})\nexport class ButtonComponent {\n private readonly allowedVariants = Object.values(BUTTON_VARIANTS).map(v => `variant-${v}` as const);\n private readonly allowedSizes = Object.values(SIZES).map(v => `size-${v}` as const);\n private readonly allowedCircleSizes = [\n 'size-circle-sm',\n 'size-circle-md',\n 'size-circle-lg',\n 'size-circle-xl',\n ] as const;\n private readonly allowedRadius = [\n 'radius-default',\n 'radius-sm',\n 'radius-md',\n 'radius-lg',\n 'radius-xl',\n 'radius-2xl',\n 'radius-full',\n ] as const;\n private readonly allowedBorder = ['border-0', 'border-default', 'border-2', 'border-4', 'border-8'] as const;\n\n /**\n * The current theme applied to the component.\n */\n public readonly theme = input<ThemeClass>('theme-sdc');\n\n /**\n * Predefined styles to apply to the component.\n * Can be a single class or multiple classes from different categories.\n */\n public readonly styleClass = input<\n (\n | (typeof this.allowedVariants)[number]\n | (typeof this.allowedSizes)[number]\n | (typeof this.allowedCircleSizes)[number]\n | (typeof this.allowedRadius)[number]\n | (typeof this.allowedBorder)[number]\n )[]\n >([]);\n\n // Computed signal that validates and filters the styleClass input\n private readonly _validatedStyleClass = computed(() => {\n const value = this.styleClass();\n\n if (!Array.isArray(value)) {\n console.warn('ButtonComponent: styleClass must be an array, defaulting to empty array');\n return [];\n }\n\n const validValues = value.filter(\n style =>\n this.allowedVariants.includes(style as any) ||\n this.allowedSizes.includes(style as any) ||\n this.allowedCircleSizes.includes(style as any) ||\n this.allowedRadius.includes(style as any) ||\n this.allowedBorder.includes(style as any)\n );\n\n const invalidValues = value.filter(\n style =>\n !this.allowedVariants.includes(style as any) &&\n !this.allowedSizes.includes(style as any) &&\n !this.allowedCircleSizes.includes(style as any) &&\n !this.allowedRadius.includes(style as any) &&\n !this.allowedBorder.includes(style as any)\n );\n\n if (invalidValues.length > 0) {\n throw new Error(\n `ButtonComponent: Invalid styleClass values ignored: ${invalidValues.join(', ')}. Allowed values: ${[\n ...this.allowedVariants,\n ...this.allowedSizes,\n ...this.allowedCircleSizes,\n ...this.allowedRadius,\n ...this.allowedBorder,\n ].join(', ')}`\n );\n }\n\n return validValues;\n });\n\n /**\n * Additional classes\n */\n public readonly className = input<string>('');\n\n /**\n * Button component style variant\n */\n public readonly variant = input<ButtonVariant>('primary');\n\n /**\n * Button component size variant\n */\n public readonly size = input<Size>('md');\n\n /**\n * Native button type attribute\n */\n public readonly type = input<ButtonType>('button');\n\n /**\n * Whether the component is disabled.\n */\n public readonly disabled = input<boolean>(false);\n\n /**\n * Whether to enable the ripple effect on the component.\n * Default value is false.\n */\n public readonly ripple = input<boolean>(false);\n\n /**\n * Event emitted when the component is clicked.\n */\n public readonly onClick = output<MouseEvent>();\n\n /**\n * Event emitted when the component receives focus.\n */\n public readonly onFocus = output<FocusEvent>();\n\n /**\n * Event emitted when the component loses focus.\n */\n public readonly onBlur = output<FocusEvent>();\n\n protected readonly _sizeClass = computed(() => {\n const size = SIZES[this.size()];\n\n if (!size) {\n throw new Error(`size must be one of these: ${Object.values(SIZES).join(', ')}}`);\n }\n\n return `size-${size}`;\n });\n\n protected readonly _variantClass = computed(() => {\n const variant = BUTTON_VARIANTS[this.variant()];\n\n if (!variant) {\n throw new Error(`variant must be one of these: ${Object.values(BUTTON_VARIANTS).join(', ')}}`);\n }\n\n return `variant-${variant}`;\n });\n\n /**\n * Computed class string that combines theme and user classes.\n */\n protected readonly computedClass = computed(() => {\n const themeClass = this.theme();\n const styleClass = this._validatedStyleClass();\n const sizeClass = this._sizeClass();\n const variantClass = this._variantClass();\n const className = this.className();\n return Array.from(new Set(['sdc-button', themeClass, sizeClass, variantClass, ...styleClass, className]))\n .filter(Boolean)\n .join(' ');\n });\n\n /**\n * Debounce time in milliseconds. When null, no debounce is applied.\n * Default value is null (no debounce).\n */\n public readonly debounce = input<number | null>(null);\n\n /**\n * Event emitted to notify the debounce state.\n * Returns true while the component is debounced, false when not.\n */\n public readonly isDebounced = output<boolean>();\n\n /**\n * Signal to track the current debounce state of the component.\n */\n protected readonly debounceState = signal<boolean>(false);\n\n /**\n * Subject for handling click events with debounce.\n */\n private readonly clickSubject = new Subject<MouseEvent>();\n\n /**\n * Subject for cleanup.\n */\n private readonly destroy$ = new Subject<void>();\n\n /**\n * Current subscription for debounce.\n */\n private debounceSubscription: Subscription | null = null;\n\n /**\n * Current debounce timeout.\n */\n private debounceTimeout: ReturnType<typeof setTimeout> | null = null;\n\n constructor(private elementRef: ElementRef) {\n // Set up reactive debounce handling within injection context\n effect(() => {\n const debounceTime = this.debounce();\n this.setupDebounce(debounceTime);\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n this.clickSubject.complete();\n if (this.debounceSubscription) {\n this.debounceSubscription.unsubscribe();\n }\n if (this.debounceTimeout) {\n clearTimeout(this.debounceTimeout);\n }\n }\n\n /**\n * Sets up the debounce functionality for click events.\n */\n private setupDebounce(debounceTime: number | null): void {\n // Clear existing subscription\n if (this.debounceSubscription) {\n this.debounceSubscription.unsubscribe();\n }\n\n // Clear existing timeout\n if (this.debounceTimeout) {\n clearTimeout(this.debounceTimeout);\n this.debounceTimeout = null;\n }\n\n // Set up new subscription\n this.debounceSubscription = this.clickSubject.pipe(takeUntil(this.destroy$)).subscribe((event: MouseEvent) => {\n // Clear existing timeout\n if (this.debounceTimeout) {\n clearTimeout(this.debounceTimeout);\n }\n\n // Set new timeout\n this.debounceTimeout = setTimeout(() => {\n this.debounceState.set(false);\n this.isDebounced.emit(false);\n this.onClick.emit(event);\n this.debounceTimeout = null;\n }, debounceTime ?? 0);\n });\n }\n\n /**\n * Handles click events with debounce functionality.\n */\n protected handleClick(event: MouseEvent): void {\n const debounceTime = this.debounce();\n\n if (debounceTime !== null && debounceTime > 0) {\n // Apply debounce\n this.debounceState.set(true);\n this.isDebounced.emit(true);\n this.clickSubject.next(event);\n } else {\n // No debounce, emit immediately\n this.onClick.emit(event);\n }\n }\n\n /**\n * Handles focus events and emits the onFocus output.\n */\n protected handleFocus(event: FocusEvent): void {\n this.onFocus.emit(event);\n }\n\n /**\n * Handles blur events and emits the onBlur output.\n */\n protected handleBlur(event: FocusEvent): void {\n this.onBlur.emit(event);\n }\n\n /**\n * Creates a ripple effect at the specified position.\n */\n protected createRipple(event: MouseEvent): void {\n if (!this.ripple()) return;\n\n const button = event.currentTarget as HTMLElement;\n const rect = button.getBoundingClientRect();\n const size = Math.max(rect.width, rect.height);\n const x = event.clientX - rect.left - size / 2;\n const y = event.clientY - rect.top - size / 2;\n\n const ripple = document.createElement('span');\n ripple.style.width = ripple.style.height = size + 'px';\n ripple.style.left = x + 'px';\n ripple.style.top = y + 'px';\n ripple.classList.add('sdc-ripple');\n\n button.appendChild(ripple);\n\n setTimeout(() => {\n ripple.remove();\n }, 600);\n }\n}\n","<button\n hlmBtn\n [class]=\"computedClass()\"\n [disabled]=\"disabled() || debounceState()\"\n (click)=\"handleClick($event); createRipple($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\"\n [type]=\"type()\">\n <ng-content></ng-content>\n</button>\n","/*\n * Public API Surface of software-division-components\n */\n\nexport * from './button.component';\nexport { HlmButton, HlmButtonModule, buttonVariants, provideBrnButtonConfig } from './ui/ui-button-helm/src';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.HlmButton"],"mappings":";;;;;;;AAQA,MAAM,aAAa,GAAoB;AACtC,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,IAAI,EAAE,SAAS;CACf;AAED,MAAM,oBAAoB,GAAG,IAAI,cAAc,CAAkB,iBAAiB,CAAC;AAE7E,SAAU,sBAAsB,CAAC,MAAgC,EAAA;AACtE,IAAA,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,EAAE,GAAG,aAAa,EAAE,GAAG,MAAM,EAAE,EAAE;AACpF;SAEgB,qBAAqB,GAAA;AACpC,IAAA,OAAO,MAAM,CAAC,oBAAoB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,aAAa;AAC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