@3ddv/software-division-components 1.4.1 → 1.4.2
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/.editorconfig +17 -0
- package/.husky/commit-msg +1 -0
- package/.prettierrc +11 -0
- package/README.backup.md +579 -0
- package/angular.json +144 -0
- package/commitlint-config.ts +7 -0
- package/components.json +6 -0
- package/docs/conventions.md +151 -0
- package/docs/installation.md +131 -0
- package/docs/releasing.md +306 -0
- package/eslint.config.ts +209 -0
- package/lerna-debug.log +71 -0
- package/lerna.json +8 -0
- package/package.json +130 -172
- package/pnpm-workspace.yaml +2 -0
- package/postcss.config.js +6 -0
- package/process-styles.js +31 -0
- package/projects/consumer-app/public/favicon.ico +0 -0
- package/projects/consumer-app/src/app/app.component.css +45 -0
- package/projects/consumer-app/src/app/app.component.html +11 -0
- package/projects/consumer-app/src/app/app.component.ts +14 -0
- package/projects/consumer-app/src/app/app.config.ts +8 -0
- package/projects/consumer-app/src/app/app.routes.ts +9 -0
- package/projects/consumer-app/src/app/form/form.component.css +82 -0
- package/projects/consumer-app/src/app/form/form.component.html +196 -0
- package/projects/consumer-app/src/app/form/form.component.ts +101 -0
- package/projects/consumer-app/src/app/table/action-column.component.ts +46 -0
- package/projects/consumer-app/src/app/table/table.component.css +3 -0
- package/projects/consumer-app/src/app/table/table.component.html +17 -0
- package/projects/consumer-app/src/app/table/table.component.ts +277 -0
- package/projects/consumer-app/src/index.html +13 -0
- package/projects/consumer-app/src/main.ts +6 -0
- package/projects/consumer-app/src/styles.css +35 -0
- package/projects/consumer-app/tsconfig.app.json +11 -0
- package/projects/consumer-app/tsconfig.spec.json +15 -0
- package/projects/software-division-components/.claude/settings.local.json +9 -0
- package/projects/software-division-components/.postcssrc.json +5 -0
- package/projects/software-division-components/.storybook/main.ts +28 -0
- package/projects/software-division-components/.storybook/manager-head.html +1 -0
- package/projects/software-division-components/.storybook/preview.ts +30 -0
- package/projects/software-division-components/.storybook/tsconfig.json +13 -0
- package/projects/software-division-components/.storybook/typings.d.ts +4 -0
- package/projects/software-division-components/LICENSE.md +21 -0
- package/projects/software-division-components/components.json +3 -0
- package/projects/software-division-components/documentation.json +5052 -0
- package/projects/software-division-components/ng-package.json +10 -0
- package/projects/software-division-components/node_modules/.bin/acorn +21 -0
- package/projects/software-division-components/node_modules/.bin/browserslist +21 -0
- package/projects/software-division-components/node_modules/.bin/chroma +21 -0
- package/projects/software-division-components/node_modules/.bin/chromatic +21 -0
- package/projects/software-division-components/node_modules/.bin/chromatic-cli +21 -0
- package/projects/software-division-components/node_modules/.bin/compodoc +21 -0
- package/projects/software-division-components/node_modules/.bin/eslint +21 -0
- package/projects/software-division-components/node_modules/.bin/getstorybook +21 -0
- package/projects/software-division-components/node_modules/.bin/jiti +21 -0
- package/projects/software-division-components/node_modules/.bin/js-yaml +21 -0
- package/projects/software-division-components/node_modules/.bin/karma +21 -0
- package/projects/software-division-components/node_modules/.bin/lessc +21 -0
- package/projects/software-division-components/node_modules/.bin/mf +21 -0
- package/projects/software-division-components/node_modules/.bin/ng +21 -0
- package/projects/software-division-components/node_modules/.bin/ng-packagr +21 -0
- package/projects/software-division-components/node_modules/.bin/ng-xi18n +21 -0
- package/projects/software-division-components/node_modules/.bin/ngc +21 -0
- package/projects/software-division-components/node_modules/.bin/ngcc +21 -0
- package/projects/software-division-components/node_modules/.bin/nx +21 -0
- package/projects/software-division-components/node_modules/.bin/nx-cloud +21 -0
- package/projects/software-division-components/node_modules/.bin/prettier +21 -0
- package/projects/software-division-components/node_modules/.bin/sass +21 -0
- package/projects/software-division-components/node_modules/.bin/sb +21 -0
- package/projects/software-division-components/node_modules/.bin/storybook +21 -0
- package/projects/software-division-components/node_modules/.bin/tailwind +21 -0
- package/projects/software-division-components/node_modules/.bin/tailwindcss +21 -0
- package/projects/software-division-components/node_modules/.bin/terser +21 -0
- package/projects/software-division-components/node_modules/.bin/tsc +21 -0
- package/projects/software-division-components/node_modules/.bin/tsserver +21 -0
- package/projects/software-division-components/node_modules/.bin/vite +21 -0
- package/projects/software-division-components/node_modules/.bin/webpack +21 -0
- package/projects/software-division-components/node_modules/.bin/yaml +21 -0
- package/projects/software-division-components/package.json +216 -0
- package/projects/software-division-components/public/3ddv-logo.jpg +0 -0
- package/projects/software-division-components/public/neighbours-after.png +0 -0
- package/projects/software-division-components/public/neighbours-before.png +0 -0
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.css +193 -0
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.html +23 -0
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.ts +252 -0
- package/projects/software-division-components/src/backoffice/checkbox/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/checkbox/public-api.ts +1 -0
- package/projects/software-division-components/src/backoffice/checkbox/story/checkbox.stories.ts +304 -0
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.css +262 -0
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.html +40 -0
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.ts +366 -0
- package/projects/software-division-components/src/backoffice/datepicker/index.ts +1 -0
- package/{backoffice/datepicker/public-api.d.ts → projects/software-division-components/src/backoffice/datepicker/public-api.ts} +1 -1
- package/projects/software-division-components/src/backoffice/datepicker/story/datepicker.stories.ts +32 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/index.ts +14 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.ts +183 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.ts +171 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/index.ts +16 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.ts +43 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.ts +177 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.ts +43 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.ts +167 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/index.ts +11 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.ts +35 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/index.ts +15 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.ts +19 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.ts +30 -0
- package/projects/software-division-components/src/backoffice/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/input/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/input/input.component.css +319 -0
- package/projects/software-division-components/src/backoffice/input/input.component.html +51 -0
- package/projects/software-division-components/src/backoffice/input/input.component.ts +497 -0
- package/projects/software-division-components/src/backoffice/input/public-api.ts +2 -0
- package/projects/software-division-components/src/backoffice/input/story/input.stories.ts +243 -0
- package/projects/software-division-components/src/backoffice/package.json +8 -0
- package/{backoffice/public-api.d.ts → projects/software-division-components/src/backoffice/public-api.ts} +0 -1
- package/projects/software-division-components/src/backoffice/radio/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/radio/public-api.ts +1 -0
- package/projects/software-division-components/src/backoffice/radio/radio.component.css +143 -0
- package/projects/software-division-components/src/backoffice/radio/radio.component.html +15 -0
- package/projects/software-division-components/src/backoffice/radio/radio.component.ts +154 -0
- package/projects/software-division-components/src/backoffice/radio/story/radio.stories.ts +287 -0
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.css +117 -0
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.html +55 -0
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.ts +79 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.css +0 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.html +6 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.ts +36 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.css +0 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.html +5 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.ts +12 -0
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.css +14 -0
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.html +11 -0
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.ts +55 -0
- package/projects/software-division-components/src/backoffice/table/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/table/public-api.ts +43 -0
- package/projects/software-division-components/src/backoffice/table/story/table.stories.ts +364 -0
- package/projects/software-division-components/src/backoffice/table/table.component.css +172 -0
- package/projects/software-division-components/src/backoffice/table/table.component.html +53 -0
- package/projects/software-division-components/src/backoffice/table/table.component.ts +347 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/index.ts +11 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.ts +35 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-table-helm/src/index.ts +13 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.ts +220 -0
- package/projects/software-division-components/src/dvm/cart/cart.component.css +103 -0
- package/projects/software-division-components/src/dvm/cart/cart.component.html +31 -0
- package/projects/software-division-components/src/dvm/cart/cart.component.ts +49 -0
- package/projects/software-division-components/src/dvm/cart/cart.stories.ts +370 -0
- package/projects/software-division-components/src/dvm/cart/cart.types.ts +8 -0
- package/projects/software-division-components/src/dvm/cart/index.ts +2 -0
- package/{dvm/cart/public-api.d.ts → projects/software-division-components/src/dvm/cart/public-api.ts} +5 -1
- package/projects/software-division-components/src/dvm/cart/seat-list.component.css +281 -0
- package/projects/software-division-components/src/dvm/cart/seat-list.component.html +85 -0
- package/projects/software-division-components/src/dvm/cart/seat-list.component.ts +76 -0
- package/projects/software-division-components/src/dvm/cart/seat-list.stories.ts +337 -0
- package/projects/software-division-components/src/dvm/cart-item/cart-item.component.html +1 -0
- package/projects/software-division-components/src/dvm/cart-item/cart-item.component.ts +8 -0
- package/projects/software-division-components/src/dvm/cart-item/cart-item.service.ts +8 -0
- package/projects/software-division-components/src/dvm/cart-item/cart.stories.ts +31 -0
- package/projects/software-division-components/src/dvm/cart-item/index.ts +1 -0
- package/projects/software-division-components/src/dvm/cart-item/package.json +5 -0
- package/{dvm/cart-item/public-api.d.ts → projects/software-division-components/src/dvm/cart-item/public-api.ts} +4 -1
- package/projects/software-division-components/src/dvm/index.ts +1 -0
- package/projects/software-division-components/src/dvm/legend/index.ts +1 -0
- package/projects/software-division-components/src/dvm/legend/legend.component.css +49 -0
- package/projects/software-division-components/src/dvm/legend/legend.component.html +8 -0
- package/projects/software-division-components/src/dvm/legend/legend.component.ts +41 -0
- package/projects/software-division-components/src/dvm/legend/legend.stories.ts +16 -0
- package/projects/software-division-components/src/dvm/legend/package.json +5 -0
- package/{dvm/legend/public-api.d.ts → projects/software-division-components/src/dvm/legend/public-api.ts} +4 -1
- package/{dvm/legend/types.d.ts → projects/software-division-components/src/dvm/legend/types.ts} +3 -3
- package/{dvm/legend/ui/legend-elements/index.d.ts → projects/software-division-components/src/dvm/legend/ui/legend-elements/index.ts} +0 -1
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.css +49 -0
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.html +8 -0
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.ts +41 -0
- package/projects/software-division-components/src/dvm/loader/index.ts +1 -0
- package/projects/software-division-components/src/dvm/loader/loader.component.html +1 -0
- package/projects/software-division-components/src/dvm/loader/loader.component.ts +8 -0
- package/projects/software-division-components/src/dvm/loader/loader.service.ts +8 -0
- package/projects/software-division-components/src/dvm/loader/loader.stories.ts +31 -0
- package/projects/software-division-components/src/dvm/loader/package.json +5 -0
- package/{dvm/loader/public-api.d.ts → projects/software-division-components/src/dvm/loader/public-api.ts} +4 -1
- package/projects/software-division-components/src/dvm/map-loader/index.ts +1 -0
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.css +91 -0
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.html +23 -0
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.ts +187 -0
- package/projects/software-division-components/src/dvm/map-loader/map-loader.stories.ts +16 -0
- package/projects/software-division-components/src/dvm/map-loader/package.json +5 -0
- package/projects/software-division-components/src/dvm/map-loader/public-api.ts +5 -0
- package/projects/software-division-components/src/dvm/neighbors/index.ts +1 -0
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.css +158 -0
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.html +45 -0
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.ts +218 -0
- package/projects/software-division-components/src/dvm/neighbors/package.json +5 -0
- package/projects/software-division-components/src/dvm/neighbors/public-api.ts +2 -0
- package/projects/software-division-components/src/dvm/neighbors/story/arrow-left-black-icon.svg +3 -0
- package/projects/software-division-components/src/dvm/neighbors/story/mock-data.ts +15 -0
- package/projects/software-division-components/src/dvm/neighbors/story/neighbours.stories.css +12 -0
- package/projects/software-division-components/src/dvm/neighbors/story/neighbours.stories.ts +117 -0
- package/{dvm/neighbors/types.d.ts → projects/software-division-components/src/dvm/neighbors/types.ts} +7 -7
- package/projects/software-division-components/src/dvm/package.json +7 -0
- package/projects/software-division-components/src/dvm/popover/base-popover.component.ts +70 -0
- package/projects/software-division-components/src/dvm/popover/index.ts +1 -0
- package/projects/software-division-components/src/dvm/popover/package.json +5 -0
- package/projects/software-division-components/src/dvm/popover/popover.component.css +227 -0
- package/projects/software-division-components/src/dvm/popover/popover.component.html +27 -0
- package/projects/software-division-components/src/dvm/popover/popover.component.ts +236 -0
- package/projects/software-division-components/src/dvm/popover/popover.config.ts +30 -0
- package/projects/software-division-components/src/dvm/popover/popover.service.ts +627 -0
- package/projects/software-division-components/src/dvm/popover/popover.stories.ts +873 -0
- package/{dvm/popover/public-api.d.ts → projects/software-division-components/src/dvm/popover/public-api.ts} +4 -1
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.css +89 -0
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.html +40 -0
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.ts +74 -0
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.css +157 -0
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.html +58 -0
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.ts +106 -0
- package/projects/software-division-components/src/dvm/popover/services/dvm-popover-positioner.service.ts +73 -0
- package/projects/software-division-components/src/dvm/popover/services/popover-manager.service.ts +88 -0
- package/projects/software-division-components/src/dvm/popover/transformers/base-popover-data-transformer.ts +36 -0
- package/projects/software-division-components/src/dvm/popover/types.ts +104 -0
- package/{dvm/public-api.d.ts → projects/software-division-components/src/dvm/public-api.ts} +0 -1
- package/projects/software-division-components/src/dvm/stepper/index.ts +1 -0
- package/projects/software-division-components/src/dvm/stepper/package.json +5 -0
- package/projects/software-division-components/src/dvm/stepper/public-api.ts +5 -0
- package/projects/software-division-components/src/dvm/stepper/stepper.component.css +142 -0
- package/projects/software-division-components/src/dvm/stepper/stepper.component.html +9 -0
- package/projects/software-division-components/src/dvm/stepper/stepper.component.ts +102 -0
- package/{dvm/stepper/types.d.ts → projects/software-division-components/src/dvm/stepper/types.ts} +2 -5
- package/projects/software-division-components/src/dvm/ticket-info-item/index.ts +1 -0
- package/projects/software-division-components/src/dvm/ticket-info-item/package.json +5 -0
- package/{dvm/ticket-info-item/public-api.d.ts → projects/software-division-components/src/dvm/ticket-info-item/public-api.ts} +4 -1
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.component.html +1 -0
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.component.ts +8 -0
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.service.ts +8 -0
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.stories.ts +31 -0
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.css +76 -0
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.html +46 -0
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.ts +45 -0
- package/projects/software-division-components/src/generic/add-digital-wallet/index.ts +1 -0
- package/{generic/add-digital-wallet/public-api.d.ts → projects/software-division-components/src/generic/add-digital-wallet/public-api.ts} +0 -1
- package/projects/software-division-components/src/generic/braintree/braintree.component.css +7 -0
- package/projects/software-division-components/src/generic/braintree/braintree.component.ts +134 -0
- package/projects/software-division-components/src/generic/braintree/index.ts +1 -0
- package/projects/software-division-components/src/generic/braintree/package.json +5 -0
- package/{generic/braintree/public-api.d.ts → projects/software-division-components/src/generic/braintree/public-api.ts} +4 -1
- package/projects/software-division-components/src/generic/braintree/story/braintree.stories.css +3 -0
- package/projects/software-division-components/src/generic/braintree/story/braintree.stories.ts +27 -0
- package/projects/software-division-components/src/generic/braintree/types.ts +28 -0
- package/projects/software-division-components/src/generic/button/button.component.css +295 -0
- package/projects/software-division-components/src/generic/button/button.component.html +10 -0
- package/projects/software-division-components/src/generic/button/button.component.ts +352 -0
- package/projects/software-division-components/src/generic/button/index.ts +1 -0
- package/projects/software-division-components/src/generic/button/package.json +5 -0
- package/projects/software-division-components/src/generic/button/public-api.ts +5 -0
- package/projects/software-division-components/src/generic/button/story/button.stories.ts +384 -0
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/index.ts +10 -0
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.ts +22 -0
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/lib/hlm-button.ts +62 -0
- package/projects/software-division-components/src/generic/carousel/carousel-item.component.ts +15 -0
- package/projects/software-division-components/src/generic/carousel/carousel-item.directive.ts +14 -0
- package/projects/software-division-components/src/generic/carousel/carousel.component.css +90 -0
- package/projects/software-division-components/src/generic/carousel/carousel.component.html +13 -0
- package/projects/software-division-components/src/generic/carousel/carousel.component.ts +44 -0
- package/projects/software-division-components/src/generic/carousel/index.ts +1 -0
- package/{generic/carousel/public-api.d.ts → projects/software-division-components/src/generic/carousel/public-api.ts} +0 -1
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/index.ts +29 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.ts +23 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.ts +25 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.ts +58 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.ts +61 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.ts +36 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.ts +105 -0
- package/projects/software-division-components/src/generic/dialog/dialog.component.css +5 -0
- package/projects/software-division-components/src/generic/dialog/dialog.component.html +3 -0
- package/projects/software-division-components/src/generic/dialog/dialog.component.ts +20 -0
- package/projects/software-division-components/src/generic/dialog/dialog.stories.ts +14 -0
- package/projects/software-division-components/src/generic/dialog/index.ts +1 -0
- package/{generic/dialog/libs/ui-dialog-helm/src/index.d.ts → projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/index.ts} +20 -8
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.ts +20 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.ts +56 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.ts +17 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.ts +19 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.ts +19 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.ts +23 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.ts +19 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.ts +59 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.ts +31 -0
- package/projects/software-division-components/src/generic/dialog/package.json +9 -0
- package/{generic/dialog/public-api.d.ts → projects/software-division-components/src/generic/dialog/public-api.ts} +4 -1
- package/projects/software-division-components/src/generic/dialog/tsconfig.json +7 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.html +1 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.ts +17 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.html +3 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.ts +11 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.html +8 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.ts +14 -0
- package/projects/software-division-components/src/generic/drawer/drawer.component.html +1 -0
- package/projects/software-division-components/src/generic/drawer/drawer.component.ts +8 -0
- package/projects/software-division-components/src/generic/drawer/drawer.service.ts +8 -0
- package/projects/software-division-components/src/generic/drawer/drawer.stories.ts +31 -0
- package/projects/software-division-components/src/generic/drawer/index.ts +1 -0
- package/projects/software-division-components/src/generic/drawer/package.json +5 -0
- package/{generic/drawer/public-api.d.ts → projects/software-division-components/src/generic/drawer/public-api.ts} +4 -1
- package/projects/software-division-components/src/generic/icon/icon.component.css +7 -0
- package/projects/software-division-components/src/generic/icon/icon.component.html +3 -0
- package/projects/software-division-components/src/generic/icon/icon.component.ts +86 -0
- package/projects/software-division-components/src/generic/icon/icon.stories.ts +16 -0
- package/projects/software-division-components/src/generic/icon/index.ts +1 -0
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/index.ts +11 -0
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.ts +36 -0
- package/projects/software-division-components/src/generic/icon/package.json +9 -0
- package/projects/software-division-components/src/generic/icon/public-api.ts +5 -0
- package/projects/software-division-components/src/generic/icon/tsconfig.json +7 -0
- package/projects/software-division-components/src/generic/index.ts +1 -0
- package/projects/software-division-components/src/generic/package.json +7 -0
- package/{generic/public-api.d.ts → projects/software-division-components/src/generic/public-api.ts} +0 -1
- package/projects/software-division-components/src/generic/select/index.ts +1 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-content.ts +29 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-group.ts +17 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-label.ts +26 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-option.ts +37 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-scroll-down.ts +24 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-scroll-up.ts +23 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-trigger.ts +53 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-value.ts +17 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select.ts +15 -0
- package/projects/software-division-components/src/generic/select/lib/index.ts +38 -0
- package/{generic/select/public-api.d.ts → projects/software-division-components/src/generic/select/public-api.ts} +0 -1
- package/projects/software-division-components/src/generic/select/select.component.css +65 -0
- package/projects/software-division-components/src/generic/select/select.component.html +19 -0
- package/projects/software-division-components/src/generic/select/select.component.ts +25 -0
- package/projects/software-division-components/src/generic/select/types.ts +4 -0
- package/projects/software-division-components/src/private-exports.ts +1 -0
- package/{public-api.d.ts → projects/software-division-components/src/public-api.ts} +3 -1
- package/projects/software-division-components/src/shared/apply-theme-variables/apply-theme-variables.ts +35 -0
- package/{shared/apply-theme-variables/index.d.ts → projects/software-division-components/src/shared/apply-theme-variables/index.ts} +0 -1
- package/projects/software-division-components/src/shared/format-value.pipe.ts +23 -0
- package/projects/software-division-components/src/shared/index.ts +1 -0
- package/projects/software-division-components/src/shared/lib-provider/config-token.ts +4 -0
- package/projects/software-division-components/src/shared/lib-provider/index.ts +1 -0
- package/projects/software-division-components/src/shared/lib-provider/provide-sdc.ts +24 -0
- package/{shared/lib-provider/public-api.d.ts → projects/software-division-components/src/shared/lib-provider/public-api.ts} +0 -1
- package/projects/software-division-components/src/shared/public-api.ts +6 -0
- package/{shared/screen-observer/index.d.ts → projects/software-division-components/src/shared/screen-observer/index.ts} +0 -1
- package/projects/software-division-components/src/shared/screen-observer/provide-screen-observer.ts +17 -0
- package/projects/software-division-components/src/shared/screen-observer/screen-observer.ts +56 -0
- package/projects/software-division-components/src/shared/screen-observer/sizable-base.ts +70 -0
- package/projects/software-division-components/src/shared/theme-provider/generic-theme.ts +1 -0
- package/projects/software-division-components/src/shared/theme-provider/index.ts +1 -0
- package/projects/software-division-components/src/shared/theme-provider/public-api.ts +1 -0
- package/projects/software-division-components/src/shared/theme-provider/theme-provider.directive.ts +17 -0
- package/projects/software-division-components/src/shared/themes/sdc.css +153 -0
- package/{shared/types.d.ts → projects/software-division-components/src/shared/types.ts} +8 -12
- package/projects/software-division-components/src/types/sizes.type.ts +3 -0
- package/projects/software-division-components/src/utils/index.ts +1 -0
- package/projects/software-division-components/src/utils/public-api.ts +1 -0
- package/projects/software-division-components/src/utils/validate-styles-for-component.ts +39 -0
- package/projects/software-division-components/styles.css +40 -0
- package/projects/software-division-components/tsconfig.json +30 -0
- package/projects/software-division-components/tsconfig.spec.json +15 -0
- package/scripts/generate-versions.js +60 -0
- package/scripts/watch-dist.js +222 -0
- package/tsconfig.json +46 -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.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 +0 -56
- 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.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 -5964
- 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 -149
- 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.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.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.map +0 -1
- package/styles.css +0 -2
- package/types/sizes.type.d.ts +0 -3
- package/types/sizes.type.d.ts.map +0 -1
- /package/{tailwind.config.js → projects/software-division-components/tailwind.config.js} +0 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
.sdc-seat-list {
|
|
2
|
+
/* Color Variables - Customizable by consumers */
|
|
3
|
+
--sdc-seat-list-primary-bg: #2a2d3a;
|
|
4
|
+
--sdc-seat-list-card-bg: #ffffff;
|
|
5
|
+
--sdc-seat-list-text-primary: #ffffff;
|
|
6
|
+
--sdc-seat-list-text-secondary: #6b7280;
|
|
7
|
+
--sdc-seat-list-text-dark: #1f2937;
|
|
8
|
+
--sdc-seat-list-accent-orange: #f97316;
|
|
9
|
+
--sdc-seat-list-accent-green: #10b981;
|
|
10
|
+
--sdc-seat-list-accent-blue: #2563eb;
|
|
11
|
+
--sdc-seat-list-accent-blue-hover: #1d4ed8;
|
|
12
|
+
--sdc-seat-list-border-color: #e5e7eb;
|
|
13
|
+
--sdc-seat-list-icon-bg: #f5f5f5;
|
|
14
|
+
--sdc-seat-list-ticket-bg: #f9fafb;
|
|
15
|
+
--sdc-seat-list-ticket-bg-hover: #f3f4f6;
|
|
16
|
+
--sdc-seat-list-group-header-bg: #e4eaef;
|
|
17
|
+
--sdc-seat-list-group-header-hover: #f9fafb;
|
|
18
|
+
|
|
19
|
+
/* Spacing Variables - Customizable by consumers */
|
|
20
|
+
--sdc-seat-list-spacing-xs: 0.25rem;
|
|
21
|
+
--sdc-seat-list-spacing-sm: 0.5rem;
|
|
22
|
+
--sdc-seat-list-spacing-md: 1rem;
|
|
23
|
+
--sdc-seat-list-spacing-lg: 1.5rem;
|
|
24
|
+
--sdc-seat-list-spacing-xl: 2rem;
|
|
25
|
+
|
|
26
|
+
/* Border Radius - Customizable by consumers */
|
|
27
|
+
--sdc-seat-list-border-radius-sm: 0.375rem;
|
|
28
|
+
--sdc-seat-list-border-radius-md: 0.5rem;
|
|
29
|
+
--sdc-seat-list-border-radius-lg: 0.75rem;
|
|
30
|
+
--sdc-seat-list-border-radius-xl: 1.5rem;
|
|
31
|
+
|
|
32
|
+
/* Font Sizes - Customizable by consumers */
|
|
33
|
+
--sdc-seat-list-font-size-sm: 0.875rem;
|
|
34
|
+
--sdc-seat-list-font-size-base: 1rem;
|
|
35
|
+
--sdc-seat-list-font-size-lg: 1.125rem;
|
|
36
|
+
--sdc-seat-list-font-size-xl: 1.25rem;
|
|
37
|
+
|
|
38
|
+
/* Internal aliases for cleaner code */
|
|
39
|
+
--card-bg: var(--sdc-seat-list-card-bg);
|
|
40
|
+
--text-primary: var(--sdc-seat-list-text-primary);
|
|
41
|
+
--text-secondary: var(--sdc-seat-list-text-secondary);
|
|
42
|
+
--text-dark: var(--sdc-seat-list-text-dark);
|
|
43
|
+
--accent-orange: var(--sdc-seat-list-accent-orange);
|
|
44
|
+
--accent-green: var(--sdc-seat-list-accent-green);
|
|
45
|
+
--accent-blue: var(--sdc-seat-list-accent-blue);
|
|
46
|
+
--accent-blue-hover: var(--sdc-seat-list-accent-blue-hover);
|
|
47
|
+
--icon-bg: var(--sdc-seat-list-icon-bg);
|
|
48
|
+
--spacing-xs: var(--sdc-seat-list-spacing-xs);
|
|
49
|
+
--spacing-sm: var(--sdc-seat-list-spacing-sm);
|
|
50
|
+
--spacing-md: var(--sdc-seat-list-spacing-md);
|
|
51
|
+
--spacing-lg: var(--sdc-seat-list-spacing-lg);
|
|
52
|
+
--spacing-xl: var(--sdc-seat-list-spacing-xl);
|
|
53
|
+
--border-radius-sm: var(--sdc-seat-list-border-radius-sm);
|
|
54
|
+
--border-radius-md: var(--sdc-seat-list-border-radius-md);
|
|
55
|
+
--border-radius-lg: var(--sdc-seat-list-border-radius-lg);
|
|
56
|
+
--border-radius-xl: var(--sdc-seat-list-border-radius-xl);
|
|
57
|
+
--font-size-sm: var(--sdc-seat-list-font-size-sm);
|
|
58
|
+
--font-size-base: var(--sdc-seat-list-font-size-base);
|
|
59
|
+
--font-size-lg: var(--sdc-seat-list-font-size-lg);
|
|
60
|
+
--font-size-xl: var(--sdc-seat-list-font-size-xl);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.seat-list {
|
|
64
|
+
width: 100%;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.seat-list--simple {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
gap: var(--spacing-sm);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.seat-list--simple .ticket {
|
|
74
|
+
margin-bottom: var(--spacing-sm);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.seat-list--simple .ticket:last-child {
|
|
78
|
+
margin-bottom: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.seat-list--grouped {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
gap: var(--spacing-sm);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.seat-group {
|
|
88
|
+
border-radius: var(--border-radius-md);
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
background-color: var(--card-bg);
|
|
91
|
+
margin-bottom: var(--spacing-sm);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.seat-group:last-child {
|
|
95
|
+
margin-bottom: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.seat-group__header {
|
|
99
|
+
width: 100%;
|
|
100
|
+
background-color: var(--sdc-seat-list-group-header-bg, transparent);
|
|
101
|
+
border: none;
|
|
102
|
+
padding: var(--spacing-md) var(--spacing-lg);
|
|
103
|
+
display: flex;
|
|
104
|
+
justify-content: space-between;
|
|
105
|
+
align-items: center;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
transition: background-color 0.2s ease;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.seat-group__header-content {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
gap: var(--spacing-sm);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.seat-group__title {
|
|
117
|
+
font-size: var(--font-size-base);
|
|
118
|
+
font-weight: 600;
|
|
119
|
+
color: var(--text-dark);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.seat-group__count {
|
|
123
|
+
font-size: var(--font-size-sm);
|
|
124
|
+
color: var(--text-secondary);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.seat-group__chevron {
|
|
128
|
+
width: 16px;
|
|
129
|
+
height: 16px;
|
|
130
|
+
color: var(--text-secondary);
|
|
131
|
+
transition: transform 0.3s ease;
|
|
132
|
+
flex-shrink: 0;
|
|
133
|
+
display: inline-block;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.seat-group__content {
|
|
137
|
+
max-height: 0;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
padding: 0 var(--spacing-md);
|
|
140
|
+
display: flex;
|
|
141
|
+
flex-direction: column;
|
|
142
|
+
gap: var(--spacing-sm);
|
|
143
|
+
transition:
|
|
144
|
+
max-height 0.2s ease-out,
|
|
145
|
+
padding 0.2s ease-out;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.seat-group__content.expanded {
|
|
149
|
+
max-height: 5000px;
|
|
150
|
+
padding: var(--spacing-md);
|
|
151
|
+
opacity: 1;
|
|
152
|
+
transition:
|
|
153
|
+
max-height 0.2s ease-in,
|
|
154
|
+
padding 0.2s ease-in;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.seat-group__content .ticket {
|
|
158
|
+
margin-bottom: 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.ticket {
|
|
162
|
+
display: flex;
|
|
163
|
+
align-items: center;
|
|
164
|
+
padding: var(--spacing-md);
|
|
165
|
+
background-color: var(--sdc-seat-list-ticket-bg, #f9fafb);
|
|
166
|
+
border-radius: var(--border-radius-md);
|
|
167
|
+
transition: all 0.2s ease;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.ticket:hover {
|
|
171
|
+
background-color: var(--sdc-seat-list-ticket-bg-hover, #f3f4f6);
|
|
172
|
+
transform: translateY(-1px);
|
|
173
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ticket__indicator {
|
|
177
|
+
width: 8px;
|
|
178
|
+
height: 8px;
|
|
179
|
+
border-radius: 50%;
|
|
180
|
+
margin-right: var(--spacing-md);
|
|
181
|
+
flex-shrink: 0;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.ticket__info {
|
|
185
|
+
flex: 1;
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
flex-wrap: wrap;
|
|
189
|
+
gap: var(--spacing-sm);
|
|
190
|
+
color: var(--text-secondary);
|
|
191
|
+
font-size: var(--font-size-sm);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.ticket__section {
|
|
195
|
+
font-weight: 600;
|
|
196
|
+
color: var(--text-dark);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.ticket__price {
|
|
200
|
+
color: var(--accent-blue);
|
|
201
|
+
font-weight: 600;
|
|
202
|
+
font-size: var(--font-size-base);
|
|
203
|
+
margin: 0 var(--spacing-md);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.ticket__actions {
|
|
207
|
+
display: flex;
|
|
208
|
+
align-items: center;
|
|
209
|
+
justify-content: center;
|
|
210
|
+
flex-wrap: wrap;
|
|
211
|
+
gap: var(--spacing-sm);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.ticket__actions-left {
|
|
215
|
+
display: flex;
|
|
216
|
+
align-items: center;
|
|
217
|
+
gap: var(--spacing-sm);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.ticket__icon-box {
|
|
221
|
+
display: flex;
|
|
222
|
+
align-items: center;
|
|
223
|
+
justify-content: center;
|
|
224
|
+
background-color: var(--icon-bg);
|
|
225
|
+
border-radius: var(--border-radius-lg);
|
|
226
|
+
padding: var(--spacing-xs);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.ticket__icon-box .ticket__icon {
|
|
230
|
+
width: 16px;
|
|
231
|
+
height: 16px;
|
|
232
|
+
color: var(--accent-blue);
|
|
233
|
+
cursor: pointer;
|
|
234
|
+
transition: color 0.2s ease;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ticket__icon-box .ticket__icon:hover {
|
|
238
|
+
color: var(--accent-blue-hover);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.ticket__action-btn {
|
|
242
|
+
background-color: var(--accent-blue);
|
|
243
|
+
color: var(--text-primary);
|
|
244
|
+
border: none;
|
|
245
|
+
padding: var(--spacing-sm) var(--spacing-md);
|
|
246
|
+
border-radius: var(--border-radius-lg);
|
|
247
|
+
font-size: var(--font-size-sm);
|
|
248
|
+
font-weight: 600;
|
|
249
|
+
cursor: pointer;
|
|
250
|
+
transition: all 0.2s ease;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ticket__action-btn:hover {
|
|
254
|
+
background-color: var(--accent-blue-hover);
|
|
255
|
+
transform: translateY(-1px);
|
|
256
|
+
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@media (max-width: 640px) {
|
|
260
|
+
.ticket {
|
|
261
|
+
padding: var(--spacing-sm);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.ticket__info {
|
|
265
|
+
font-size: 0.75rem;
|
|
266
|
+
gap: var(--spacing-xs);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.ticket__price {
|
|
270
|
+
font-size: var(--font-size-sm);
|
|
271
|
+
margin: 0 var(--spacing-sm);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.seat-group__header {
|
|
275
|
+
padding: var(--spacing-sm) var(--spacing-md);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.seat-group__content {
|
|
279
|
+
padding: var(--spacing-sm);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<div class="sdc-seat-list">
|
|
2
|
+
@if (isGroupedMode()) {
|
|
3
|
+
<div class="seat-list seat-list--grouped">
|
|
4
|
+
@for (group of groups(); track group.id) {
|
|
5
|
+
<div class="seat-group">
|
|
6
|
+
<button class="seat-group__header" (click)="toggleGroup(group)">
|
|
7
|
+
<div class="seat-group__header-content">
|
|
8
|
+
<span class="seat-group__title">{{ group.title }}</span>
|
|
9
|
+
<span class="seat-group__count">{{ getGroupSeatCount(group) }}</span>
|
|
10
|
+
</div>
|
|
11
|
+
<ng-icon
|
|
12
|
+
[name]="isGroupExpanded(group) ? 'lucideChevronUp' : 'lucideChevronDown'"
|
|
13
|
+
size="16"
|
|
14
|
+
class="seat-group__chevron" />
|
|
15
|
+
</button>
|
|
16
|
+
<div class="seat-group__content" [class.expanded]="isGroupExpanded(group)">
|
|
17
|
+
@for (item of group.seats; track item.id) {
|
|
18
|
+
<div class="ticket">
|
|
19
|
+
<div class="ticket__indicator" [style.background-color]="getGroupIndicatorColor(group)"></div>
|
|
20
|
+
<div class="ticket__info">
|
|
21
|
+
<span
|
|
22
|
+
>Section <span class="ticket__section">{{ item.section }}</span></span
|
|
23
|
+
>
|
|
24
|
+
<span
|
|
25
|
+
>Row <span class="ticket__section">{{ item.row }}</span></span
|
|
26
|
+
>
|
|
27
|
+
<span
|
|
28
|
+
>Seat <span class="ticket__section">{{ item.seat }}</span></span
|
|
29
|
+
>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="ticket__actions">
|
|
32
|
+
<div class="ticket__actions-left">
|
|
33
|
+
<div class="ticket__price">${{ item.price }}</div>
|
|
34
|
+
<div class="ticket__icon-box">
|
|
35
|
+
<ng-icon hlm name="lucideMapPin" size="base" class="ticket__icon" (click)="onMapPinClick(item)" />
|
|
36
|
+
</div>
|
|
37
|
+
<div class="ticket__icon-box">
|
|
38
|
+
<ng-icon hlm name="lucideEye" size="base" class="ticket__icon" (click)="onEyeClick(item)" />
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<button class="ticket__action-btn" (click)="onRemoveClick(item)">
|
|
42
|
+
{{ getGroupActionButtonText(group) }}
|
|
43
|
+
</button>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
}
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
}
|
|
50
|
+
</div>
|
|
51
|
+
} @else {
|
|
52
|
+
<div class="seat-list seat-list--simple">
|
|
53
|
+
@for (item of seats(); track item.id) {
|
|
54
|
+
<div class="ticket">
|
|
55
|
+
<div class="ticket__indicator" [style.background-color]="indicatorColor()"></div>
|
|
56
|
+
<div class="ticket__info">
|
|
57
|
+
<span
|
|
58
|
+
>Section <span class="ticket__section">{{ item.section }}</span></span
|
|
59
|
+
>
|
|
60
|
+
<span
|
|
61
|
+
>Row <span class="ticket__section">{{ item.row }}</span></span
|
|
62
|
+
>
|
|
63
|
+
<span
|
|
64
|
+
>Seat <span class="ticket__section">{{ item.seat }}</span></span
|
|
65
|
+
>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="ticket__actions">
|
|
68
|
+
<div class="ticket__actions-left">
|
|
69
|
+
<div class="ticket__price">${{ item.price }}</div>
|
|
70
|
+
<div class="ticket__icon-box">
|
|
71
|
+
<ng-icon hlm name="lucideMapPin" size="base" class="ticket__icon" (click)="onMapPinClick(item)" />
|
|
72
|
+
</div>
|
|
73
|
+
<div class="ticket__icon-box">
|
|
74
|
+
<ng-icon hlm name="lucideEye" size="base" class="ticket__icon" (click)="onEyeClick(item)" />
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<button class="ticket__action-btn" (click)="onActionClick(item)">
|
|
78
|
+
{{ actionButtonText() }}
|
|
79
|
+
</button>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
}
|
|
83
|
+
</div>
|
|
84
|
+
}
|
|
85
|
+
</div>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Component, input, output, computed, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
3
|
+
import { lucideMapPin, lucideEye, lucideChevronDown, lucideChevronUp } from '@ng-icons/lucide';
|
|
4
|
+
import { CartItem } from './cart.types';
|
|
5
|
+
|
|
6
|
+
export interface SeatGroup {
|
|
7
|
+
id: string | number;
|
|
8
|
+
title: string;
|
|
9
|
+
count?: string;
|
|
10
|
+
seats: CartItem[];
|
|
11
|
+
expanded?: boolean;
|
|
12
|
+
indicatorColor?: string;
|
|
13
|
+
actionButtonText?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@Component({
|
|
17
|
+
imports: [NgIcon],
|
|
18
|
+
providers: [provideIcons({ lucideMapPin, lucideEye, lucideChevronDown, lucideChevronUp })],
|
|
19
|
+
selector: 'sdc-seat-list',
|
|
20
|
+
standalone: true,
|
|
21
|
+
templateUrl: './seat-list.component.html',
|
|
22
|
+
styleUrls: ['./seat-list.component.css'],
|
|
23
|
+
encapsulation: ViewEncapsulation.None,
|
|
24
|
+
})
|
|
25
|
+
export class SeatListComponent {
|
|
26
|
+
seats = input<CartItem[]>([]);
|
|
27
|
+
groups = input<SeatGroup[]>([]);
|
|
28
|
+
actionButtonText = input<string>('Relocate');
|
|
29
|
+
indicatorColor = input<string>('#f97316');
|
|
30
|
+
|
|
31
|
+
mapPinClick = output<CartItem>();
|
|
32
|
+
eyeClick = output<CartItem>();
|
|
33
|
+
actionClick = output<CartItem>();
|
|
34
|
+
groupToggle = output<{ groupId: string | number; expanded: boolean }>();
|
|
35
|
+
removeClick = output<CartItem>();
|
|
36
|
+
|
|
37
|
+
isGroupedMode = computed(() => this.groups().length > 0);
|
|
38
|
+
|
|
39
|
+
onMapPinClick(item: CartItem): void {
|
|
40
|
+
this.mapPinClick.emit(item);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
onEyeClick(item: CartItem): void {
|
|
44
|
+
this.eyeClick.emit(item);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
onActionClick(item: CartItem): void {
|
|
48
|
+
this.actionClick.emit(item);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
onRemoveClick(item: CartItem): void {
|
|
52
|
+
this.removeClick.emit(item);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
isGroupExpanded(group: SeatGroup): boolean {
|
|
56
|
+
return group.expanded !== false;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
toggleGroup(group: SeatGroup): void {
|
|
60
|
+
const expanded = !this.isGroupExpanded(group);
|
|
61
|
+
group.expanded = expanded;
|
|
62
|
+
this.groupToggle.emit({ groupId: group.id, expanded });
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
getGroupIndicatorColor(group: SeatGroup): string {
|
|
66
|
+
return group.indicatorColor || this.indicatorColor();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
getGroupActionButtonText(group: SeatGroup): string {
|
|
70
|
+
return group.actionButtonText || this.actionButtonText();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
getGroupSeatCount(group: SeatGroup): string {
|
|
74
|
+
return `(${group.seats.length})`;
|
|
75
|
+
}
|
|
76
|
+
}
|