@3ddv/software-division-components 1.1.0 → 1.4.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/.editorconfig +17 -0
- package/.husky/commit-msg +1 -0
- package/.prettierrc +11 -0
- package/README.backup.md +579 -0
- package/README.md +4 -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 +129 -179
- 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/projects/software-division-components/src/dvm/cart/public-api.ts +8 -0
- 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 +284 -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 +350 -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/projects/software-division-components/src/generic/carousel/public-api.ts +2 -0
- 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} +1 -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} +4 -2
- package/projects/software-division-components/src/shared/apply-theme-variables/apply-theme-variables.ts +35 -0
- package/projects/software-division-components/src/shared/apply-theme-variables/index.ts +1 -0
- 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 -6
- package/dvm/cart/cart.component.d.ts.map +0 -1
- package/dvm/cart/cart.service.d.ts +0 -7
- package/dvm/cart/cart.service.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 +0 -3
- package/dvm/cart/public-api.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 -55
- 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 -26
- 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 -6598
- 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 -142
- 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/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 -13
- 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/declare-theme-variables/declare-theme-variables.d.ts +0 -5
- package/shared/declare-theme-variables/declare-theme-variables.d.ts.map +0 -1
- package/shared/declare-theme-variables/index.d.ts +0 -2
- package/shared/declare-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 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Export all necessary dependencies from @tanstack/angular-table for table functionality
|
|
2
|
+
export {
|
|
3
|
+
FlexRenderDirective,
|
|
4
|
+
// Core table creation and configuration
|
|
5
|
+
createAngularTable,
|
|
6
|
+
flexRenderComponent,
|
|
7
|
+
// Row models
|
|
8
|
+
getCoreRowModel,
|
|
9
|
+
getExpandedRowModel,
|
|
10
|
+
getFilteredRowModel,
|
|
11
|
+
getGroupedRowModel,
|
|
12
|
+
getPaginationRowModel,
|
|
13
|
+
getSortedRowModel,
|
|
14
|
+
// Additional utility types
|
|
15
|
+
type AccessorFn,
|
|
16
|
+
type Cell,
|
|
17
|
+
// Utility types for cell rendering
|
|
18
|
+
type CellContext,
|
|
19
|
+
type Column,
|
|
20
|
+
// Types
|
|
21
|
+
type ColumnDef,
|
|
22
|
+
type ColumnMeta,
|
|
23
|
+
type ColumnOrderState,
|
|
24
|
+
type ColumnPinningState,
|
|
25
|
+
type ColumnSizingState,
|
|
26
|
+
type ExpandedState,
|
|
27
|
+
type GroupingState,
|
|
28
|
+
type Header,
|
|
29
|
+
type HeaderContext,
|
|
30
|
+
type PaginationState,
|
|
31
|
+
|
|
32
|
+
// Additional utilities that might be needed
|
|
33
|
+
type Row,
|
|
34
|
+
type RowData,
|
|
35
|
+
type RowSelectionState,
|
|
36
|
+
type SortingState,
|
|
37
|
+
type Table,
|
|
38
|
+
// Additional commonly used types
|
|
39
|
+
type VisibilityState,
|
|
40
|
+
} from '@tanstack/angular-table';
|
|
41
|
+
|
|
42
|
+
// Export the main table component
|
|
43
|
+
export * from './table.component';
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import { Component, input, output } from '@angular/core';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/angular';
|
|
3
|
+
import { flexRenderComponent } from '@tanstack/angular-table';
|
|
4
|
+
import { ButtonComponent } from '../../../generic/button';
|
|
5
|
+
import { TableComponent } from '../table.component';
|
|
6
|
+
|
|
7
|
+
// Inline action column component for the story
|
|
8
|
+
@Component({
|
|
9
|
+
selector: 'story-action-column',
|
|
10
|
+
imports: [ButtonComponent],
|
|
11
|
+
template: `
|
|
12
|
+
<sdc-button
|
|
13
|
+
[styleClass]="['size-sm']"
|
|
14
|
+
(click)="onActionClick.emit($event)"
|
|
15
|
+
class="px-3 py-1 bg-blue-500 text-white rounded text-xs hover:bg-blue-600 transition-colors">
|
|
16
|
+
{{ buttonText() }}
|
|
17
|
+
</sdc-button>
|
|
18
|
+
`,
|
|
19
|
+
})
|
|
20
|
+
class StoryActionColumnComponent {
|
|
21
|
+
public readonly buttonText = input<string>('Details');
|
|
22
|
+
public readonly onActionClick = output<MouseEvent>();
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Mock data types
|
|
26
|
+
type Transaction = {
|
|
27
|
+
id: string;
|
|
28
|
+
accountNumber: string;
|
|
29
|
+
accountName: string;
|
|
30
|
+
date: string;
|
|
31
|
+
event: string;
|
|
32
|
+
premiumSpace: string;
|
|
33
|
+
section: string;
|
|
34
|
+
balance: string;
|
|
35
|
+
status: 'Completed' | 'Cancelled';
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
type Seat = {
|
|
39
|
+
section: string;
|
|
40
|
+
row: string;
|
|
41
|
+
seat: string;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const mockSeats: Seat[] = Array.from({ length: 20 }, (_, index) => ({
|
|
45
|
+
section: 'Section 101',
|
|
46
|
+
row: 'Row A',
|
|
47
|
+
seat: `${index + 1}`,
|
|
48
|
+
}));
|
|
49
|
+
|
|
50
|
+
const minimalTableColumns = [
|
|
51
|
+
{
|
|
52
|
+
accessorKey: 'section',
|
|
53
|
+
id: 'section',
|
|
54
|
+
header: 'Section',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
accessorKey: 'row',
|
|
58
|
+
id: 'row',
|
|
59
|
+
header: 'Row',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
accessorKey: 'seat',
|
|
63
|
+
id: 'seat',
|
|
64
|
+
header: 'Seat',
|
|
65
|
+
},
|
|
66
|
+
];
|
|
67
|
+
|
|
68
|
+
// Mock data
|
|
69
|
+
const mockTransactions: Transaction[] = [
|
|
70
|
+
{
|
|
71
|
+
id: '1',
|
|
72
|
+
accountNumber: 'ACC001',
|
|
73
|
+
accountName: 'John Doe',
|
|
74
|
+
date: 'May 28, 2025',
|
|
75
|
+
event: 'Mariners vs. Astros / 26G0921',
|
|
76
|
+
premiumSpace: 'Premium Space A',
|
|
77
|
+
section: 'Section 101',
|
|
78
|
+
balance: '$ 1710',
|
|
79
|
+
status: 'Completed',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: '2',
|
|
83
|
+
accountNumber: 'ACC002',
|
|
84
|
+
accountName: 'Jane Smith',
|
|
85
|
+
date: 'May 28, 2025',
|
|
86
|
+
event: 'Mariners vs. Astros / 26G0921',
|
|
87
|
+
premiumSpace: 'No',
|
|
88
|
+
section: 'Section 102',
|
|
89
|
+
balance: '$ 1710',
|
|
90
|
+
status: 'Cancelled',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: '3',
|
|
94
|
+
accountNumber: 'ACC003',
|
|
95
|
+
accountName: 'Bob Johnson',
|
|
96
|
+
date: 'May 28, 2025',
|
|
97
|
+
event: 'Mariners vs. Astros / 26G0921',
|
|
98
|
+
premiumSpace: 'Premium Space B',
|
|
99
|
+
section: 'Section 103',
|
|
100
|
+
balance: '$ 1710',
|
|
101
|
+
status: 'Completed',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: '4',
|
|
105
|
+
accountNumber: 'ACC004',
|
|
106
|
+
accountName: 'Alice Brown',
|
|
107
|
+
date: 'May 29, 2025',
|
|
108
|
+
event: 'Mariners vs. Rangers / 26G0922',
|
|
109
|
+
premiumSpace: 'Premium Space C',
|
|
110
|
+
section: 'Section 201',
|
|
111
|
+
balance: '$ 1850',
|
|
112
|
+
status: 'Completed',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
id: '5',
|
|
116
|
+
accountNumber: 'ACC005',
|
|
117
|
+
accountName: 'Charlie Wilson',
|
|
118
|
+
date: 'May 29, 2025',
|
|
119
|
+
event: 'Mariners vs. Rangers / 26G0922',
|
|
120
|
+
premiumSpace: 'No',
|
|
121
|
+
section: 'Section 202',
|
|
122
|
+
balance: '$ 1850',
|
|
123
|
+
status: 'Cancelled',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: '6',
|
|
127
|
+
accountNumber: 'ACC006',
|
|
128
|
+
accountName: 'Diana Davis',
|
|
129
|
+
date: 'May 30, 2025',
|
|
130
|
+
event: 'Mariners vs. Angels / 26G0923',
|
|
131
|
+
premiumSpace: 'Premium Space D',
|
|
132
|
+
section: 'Section 301',
|
|
133
|
+
balance: '$ 1950',
|
|
134
|
+
status: 'Completed',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
id: '7',
|
|
138
|
+
accountNumber: 'ACC007',
|
|
139
|
+
accountName: 'Edward Miller',
|
|
140
|
+
date: 'May 30, 2025',
|
|
141
|
+
event: 'Mariners vs. Angels / 26G0923',
|
|
142
|
+
premiumSpace: 'Premium Space E',
|
|
143
|
+
section: 'Section 302',
|
|
144
|
+
balance: '$ 1950',
|
|
145
|
+
status: 'Completed',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
id: '8',
|
|
149
|
+
accountNumber: 'ACC008',
|
|
150
|
+
accountName: 'Fiona Garcia',
|
|
151
|
+
date: 'May 31, 2025',
|
|
152
|
+
event: 'Mariners vs. Athletics / 26G0924',
|
|
153
|
+
premiumSpace: 'No',
|
|
154
|
+
section: 'Section 401',
|
|
155
|
+
balance: '$ 1650',
|
|
156
|
+
status: 'Cancelled',
|
|
157
|
+
},
|
|
158
|
+
];
|
|
159
|
+
|
|
160
|
+
// Column definitions
|
|
161
|
+
const fullTableColumns = [
|
|
162
|
+
{
|
|
163
|
+
accessorKey: 'status',
|
|
164
|
+
id: 'status',
|
|
165
|
+
header: 'Status',
|
|
166
|
+
cell: (info: any) => {
|
|
167
|
+
const status = info.getValue();
|
|
168
|
+
const statusClass = status === 'Completed' ? 'text-green-600' : 'text-red-600';
|
|
169
|
+
return `<span class="capitalize ${statusClass}">${status}</span>`;
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
accessorKey: 'accountNumber',
|
|
174
|
+
id: 'accountNumber',
|
|
175
|
+
header: 'Account #',
|
|
176
|
+
cell: (info: any) => info.getValue(),
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
accessorKey: 'date',
|
|
180
|
+
id: 'date',
|
|
181
|
+
header: 'Date',
|
|
182
|
+
cell: (info: any) => info.getValue(),
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
accessorKey: 'event',
|
|
186
|
+
id: 'event',
|
|
187
|
+
header: 'Event',
|
|
188
|
+
cell: (info: any) => info.getValue(),
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
accessorKey: 'premiumSpace',
|
|
192
|
+
id: 'premiumSpace',
|
|
193
|
+
header: 'Premium Space',
|
|
194
|
+
cell: (info: any) => info.getValue(),
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
accessorKey: 'section',
|
|
198
|
+
id: 'section',
|
|
199
|
+
header: 'Section',
|
|
200
|
+
cell: (info: any) => info.getValue(),
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
accessorKey: 'balance',
|
|
204
|
+
id: 'balance',
|
|
205
|
+
header: 'Balance',
|
|
206
|
+
cell: (info: any) => info.getValue(),
|
|
207
|
+
},
|
|
208
|
+
// Action column
|
|
209
|
+
{
|
|
210
|
+
id: 'action',
|
|
211
|
+
header: '',
|
|
212
|
+
cell: (context: any) =>
|
|
213
|
+
flexRenderComponent(StoryActionColumnComponent, {
|
|
214
|
+
inputs: {
|
|
215
|
+
buttonText: 'Details',
|
|
216
|
+
},
|
|
217
|
+
outputs: {
|
|
218
|
+
onActionClick: (event: MouseEvent) => {
|
|
219
|
+
console.log('Action button clicked:', event);
|
|
220
|
+
alert(`Details button clicked: ${JSON.stringify(context.row.original, null, 2)}`);
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
}),
|
|
224
|
+
},
|
|
225
|
+
];
|
|
226
|
+
|
|
227
|
+
const meta: Meta<TableComponent<Transaction>> = {
|
|
228
|
+
title: 'Backoffice/Table',
|
|
229
|
+
component: TableComponent,
|
|
230
|
+
id: 'Table',
|
|
231
|
+
parameters: {
|
|
232
|
+
layout: 'padded',
|
|
233
|
+
docs: {
|
|
234
|
+
description: {
|
|
235
|
+
component: 'A comprehensive data table component with sorting, selection, pagination, and action columns.',
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
argTypes: {
|
|
240
|
+
data: {
|
|
241
|
+
control: 'object',
|
|
242
|
+
description: 'Array of transaction data to display in the table',
|
|
243
|
+
},
|
|
244
|
+
columns: {
|
|
245
|
+
control: 'object',
|
|
246
|
+
description: 'Column definitions for the table',
|
|
247
|
+
},
|
|
248
|
+
showSelection: {
|
|
249
|
+
control: 'boolean',
|
|
250
|
+
description: 'Show row selection checkboxes',
|
|
251
|
+
},
|
|
252
|
+
enableSort: {
|
|
253
|
+
control: 'object',
|
|
254
|
+
description: 'Enable sorting for specific columns or all columns',
|
|
255
|
+
},
|
|
256
|
+
pageSize: {
|
|
257
|
+
control: 'number',
|
|
258
|
+
description: 'Number of rows to display per page',
|
|
259
|
+
},
|
|
260
|
+
initialPageIndex: {
|
|
261
|
+
control: 'number',
|
|
262
|
+
description: 'Initial page index to start on (0-based)',
|
|
263
|
+
},
|
|
264
|
+
maxVisiblePages: {
|
|
265
|
+
control: 'number',
|
|
266
|
+
description: 'Maximum number of visible pagination pages',
|
|
267
|
+
},
|
|
268
|
+
showFirstLastButtons: {
|
|
269
|
+
control: 'boolean',
|
|
270
|
+
description: 'Show first/last pagination buttons',
|
|
271
|
+
},
|
|
272
|
+
theme: {
|
|
273
|
+
control: 'select',
|
|
274
|
+
options: ['theme-sdc'],
|
|
275
|
+
description: 'Theme class to apply to the table component',
|
|
276
|
+
},
|
|
277
|
+
styleClass: {
|
|
278
|
+
control: 'object',
|
|
279
|
+
description: 'Array of style classes to apply. Allowed values: full-table, minimal-table',
|
|
280
|
+
},
|
|
281
|
+
pinningHeaders: {
|
|
282
|
+
control: 'boolean',
|
|
283
|
+
description: 'Whether to pin/freeze table headers during vertical scrolling',
|
|
284
|
+
},
|
|
285
|
+
showPagination: {
|
|
286
|
+
control: 'boolean',
|
|
287
|
+
description: 'Whether to show pagination controls at the bottom of the table',
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export default meta;
|
|
293
|
+
|
|
294
|
+
// Single comprehensive story for full-table
|
|
295
|
+
export const FullTable: StoryObj<TableComponent<Transaction>> = {
|
|
296
|
+
args: {
|
|
297
|
+
data: mockTransactions,
|
|
298
|
+
columns: fullTableColumns,
|
|
299
|
+
showSelection: true,
|
|
300
|
+
enableSort: ['accountNumber', 'date', 'status'],
|
|
301
|
+
pageSize: 3,
|
|
302
|
+
initialPageIndex: 1,
|
|
303
|
+
maxVisiblePages: 2,
|
|
304
|
+
showFirstLastButtons: true,
|
|
305
|
+
theme: 'theme-sdc',
|
|
306
|
+
styleClass: ['full-table'] as any, // Use full-table style
|
|
307
|
+
pinningHeaders: true, // Enable pinned headers for testing
|
|
308
|
+
showPagination: true, // Enable pagination for testing
|
|
309
|
+
},
|
|
310
|
+
render: args => ({
|
|
311
|
+
props: {
|
|
312
|
+
...args,
|
|
313
|
+
// Export button callback
|
|
314
|
+
exportClick: (exportData: { selectedRows: any[]; allRows: any[] }) => {
|
|
315
|
+
console.log('Export button clicked!', exportData);
|
|
316
|
+
|
|
317
|
+
if (exportData.selectedRows.length > 0) {
|
|
318
|
+
alert(`Exporting selected transactions: ${JSON.stringify(exportData.selectedRows, null, 2)}`);
|
|
319
|
+
console.log('Selected rows to export:', exportData.selectedRows);
|
|
320
|
+
} else {
|
|
321
|
+
alert('No rows selected. Exporting all transactions.');
|
|
322
|
+
console.log('All rows to export:', exportData.allRows);
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
// Sorting callback
|
|
326
|
+
sortingChange: (sortingState: any) => {
|
|
327
|
+
console.log('Sorting changed:', sortingState);
|
|
328
|
+
alert(`Sorting changed! New state: ${JSON.stringify(sortingState)}`);
|
|
329
|
+
},
|
|
330
|
+
// Selection callback
|
|
331
|
+
selectionChange: (selectionState: any) => {
|
|
332
|
+
console.log('Selection changed:', selectionState);
|
|
333
|
+
console.log(
|
|
334
|
+
'Selected rows:',
|
|
335
|
+
Object.keys(selectionState).filter(key => selectionState[key])
|
|
336
|
+
);
|
|
337
|
+
},
|
|
338
|
+
// Pagination callback
|
|
339
|
+
paginationChange: (paginationState: any) => {
|
|
340
|
+
console.log('Pagination changed:', paginationState);
|
|
341
|
+
console.log(`Page: ${paginationState.pageIndex + 1}, Page Size: ${paginationState.pageSize}`);
|
|
342
|
+
console.log(`Total rows: ${paginationState.pageSize * paginationState.pageIndex + paginationState.pageSize}`);
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
}),
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
// Single comprehensive story for minimal-table
|
|
349
|
+
export const MinimalTable: StoryObj<TableComponent<Seat>> = {
|
|
350
|
+
args: {
|
|
351
|
+
data: mockSeats,
|
|
352
|
+
columns: minimalTableColumns,
|
|
353
|
+
showSelection: false,
|
|
354
|
+
theme: 'theme-sdc',
|
|
355
|
+
styleClass: ['minimal-table'] as any, // Use minimal-table style
|
|
356
|
+
pinningHeaders: true, // Enable pinned headers for testing
|
|
357
|
+
showPagination: false, // Disable pagination to show all rows
|
|
358
|
+
},
|
|
359
|
+
render: args => ({
|
|
360
|
+
props: {
|
|
361
|
+
...args,
|
|
362
|
+
},
|
|
363
|
+
}),
|
|
364
|
+
};
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/* SDC Table full-table styles */
|
|
2
|
+
.sdc-table.full-table {
|
|
3
|
+
/* Component-specific CSS variables using SDC theme variables */
|
|
4
|
+
--sdc-table-vertical-scroll: hidden;
|
|
5
|
+
--sdc-table-background: var(--color-pure-white);
|
|
6
|
+
--sdc-table-foreground: var(--color-neutral-600);
|
|
7
|
+
--sdc-table-radius: var(--radius-lg);
|
|
8
|
+
--sdc-table-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
9
|
+
--sdc-table-border-top-color: var(--color-neutral-300);
|
|
10
|
+
--sdc-table-border-right-color: var(--color-neutral-300);
|
|
11
|
+
--sdc-table-border-bottom-color: var(--color-neutral-300);
|
|
12
|
+
--sdc-table-border-left-color: var(--color-neutral-300);
|
|
13
|
+
--sdc-table-border-top-width: var(--border-default);
|
|
14
|
+
--sdc-table-border-right-width: var(--border-default);
|
|
15
|
+
--sdc-table-border-bottom-width: var(--border-default);
|
|
16
|
+
--sdc-table-border-left-width: var(--border-default);
|
|
17
|
+
--sdc-table-padding: var(--space-3) var(--space-4);
|
|
18
|
+
--sdc-table-font-size: var(--text-sm);
|
|
19
|
+
--sdc-table-line-height: var(--leading-normal);
|
|
20
|
+
--sdc-table-font-weight: var(--font-semibold);
|
|
21
|
+
--sdc-table-header-background: var(--color-pure-white);
|
|
22
|
+
--sdc-table-header-foreground: var(--color-neutral-400);
|
|
23
|
+
--sdc-table-header-border-top-color: transparent;
|
|
24
|
+
--sdc-table-header-border-right-color: transparent;
|
|
25
|
+
--sdc-table-header-border-bottom-color: transparent;
|
|
26
|
+
--sdc-table-header-border-left-color: transparent;
|
|
27
|
+
--sdc-table-header-border-top-width: var(--border-0);
|
|
28
|
+
--sdc-table-header-border-right-width: var(--border-0);
|
|
29
|
+
--sdc-table-header-border-bottom-width: var(--border-0);
|
|
30
|
+
--sdc-table-header-border-left-width: var(--border-0);
|
|
31
|
+
--sdc-table-header-padding: var(--space-6) var(--space-4);
|
|
32
|
+
--sdc-table-header-font-size: var(--text-sm);
|
|
33
|
+
--sdc-table-header-font-weight: var(--font-semibold);
|
|
34
|
+
--sdc-table-row-hover: var(--color-neutral-50);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* SDC Table minimal-table styles */
|
|
38
|
+
.sdc-table.minimal-table {
|
|
39
|
+
/* Component-specific CSS variables using SDC theme variables */
|
|
40
|
+
--sdc-table-vertical-scroll: auto;
|
|
41
|
+
--sdc-table-background: var(--color-neutral-100);
|
|
42
|
+
--sdc-table-foreground: var(--color-secondary);
|
|
43
|
+
--sdc-table-radius: var(--radius-lg);
|
|
44
|
+
--sdc-table-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
45
|
+
--sdc-table-border-top-color: var(--color-neutral-300);
|
|
46
|
+
--sdc-table-border-right-color: var(--color-neutral-300);
|
|
47
|
+
--sdc-table-border-bottom-color: var(--color-neutral-300);
|
|
48
|
+
--sdc-table-border-left-color: var(--color-neutral-300);
|
|
49
|
+
--sdc-table-border-top-width: var(--border-default);
|
|
50
|
+
--sdc-table-border-right-width: var(--border-default);
|
|
51
|
+
--sdc-table-border-bottom-width: var(--border-default);
|
|
52
|
+
--sdc-table-border-left-width: var(--border-default);
|
|
53
|
+
--sdc-table-padding: var(--space-4) var(--space-5);
|
|
54
|
+
--sdc-table-font-size: var(--text-sm);
|
|
55
|
+
--sdc-table-line-height: var(--leading-relaxed);
|
|
56
|
+
--sdc-table-font-weight: var(--font-bold);
|
|
57
|
+
--sdc-table-header-background: var(--color-neutral-100);
|
|
58
|
+
--sdc-table-header-foreground: var(--color-neutral-800);
|
|
59
|
+
--sdc-table-header-border-top-color: transparent;
|
|
60
|
+
--sdc-table-header-border-right-color: transparent;
|
|
61
|
+
--sdc-table-header-border-bottom-color: var(--color-neutral-600);
|
|
62
|
+
--sdc-table-header-border-left-color: transparent;
|
|
63
|
+
--sdc-table-header-border-top-width: var(--border-0);
|
|
64
|
+
--sdc-table-header-border-right-width: var(--border-0);
|
|
65
|
+
--sdc-table-header-border-bottom-width: var(--border-2);
|
|
66
|
+
--sdc-table-header-border-left-width: var(--border-0);
|
|
67
|
+
--sdc-table-header-padding: var(--space-5) var(--space-5);
|
|
68
|
+
--sdc-table-header-font-size: var(--text-sm);
|
|
69
|
+
--sdc-table-header-font-weight: var(--font-bold);
|
|
70
|
+
--sdc-table-row-hover: var(--color-neutral-25);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Base component styles */
|
|
74
|
+
.sdc-table {
|
|
75
|
+
width: 100%;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Table container with fixed height and scroll */
|
|
80
|
+
.table-container {
|
|
81
|
+
background: hsl(var(--sdc-table-background));
|
|
82
|
+
border-top: var(--sdc-table-border-top-width) solid hsl(var(--sdc-table-border-top-color));
|
|
83
|
+
border-right: var(--sdc-table-border-right-width) solid hsl(var(--sdc-table-border-right-color));
|
|
84
|
+
border-bottom: var(--sdc-table-border-bottom-width) solid hsl(var(--sdc-table-border-bottom-color));
|
|
85
|
+
border-left: var(--sdc-table-border-left-width) solid hsl(var(--sdc-table-border-left-color));
|
|
86
|
+
border-radius: var(--sdc-table-radius);
|
|
87
|
+
box-shadow: var(--sdc-table-shadow);
|
|
88
|
+
overflow-x: auto;
|
|
89
|
+
overflow-y: var(--sdc-table-vertical-scroll);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Enhanced scrolling behavior for pinned headers */
|
|
93
|
+
.sdc-table.pinning-headers .table-container {
|
|
94
|
+
max-height: 70vh; /* Limit height to enable scrolling */
|
|
95
|
+
overflow-y: auto;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Table base styles */
|
|
99
|
+
.sdc-table table {
|
|
100
|
+
width: 100%;
|
|
101
|
+
border-collapse: collapse;
|
|
102
|
+
font-size: var(--sdc-table-font-size);
|
|
103
|
+
line-height: var(--sdc-table-line-height);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* Header styles */
|
|
107
|
+
.sdc-table-header {
|
|
108
|
+
background: hsl(var(--sdc-table-header-background));
|
|
109
|
+
z-index: 10;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* Pinned headers - only apply sticky positioning when enabled */
|
|
113
|
+
.sdc-table.pinning-headers .sdc-table-header {
|
|
114
|
+
position: sticky;
|
|
115
|
+
top: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.sdc-table-header th {
|
|
119
|
+
padding: var(--sdc-table-header-padding);
|
|
120
|
+
font-weight: var(--sdc-table-header-font-weight);
|
|
121
|
+
color: hsl(var(--sdc-table-header-foreground));
|
|
122
|
+
text-align: left;
|
|
123
|
+
font-size: var(--sdc-table-header-font-size);
|
|
124
|
+
text-transform: capitalize;
|
|
125
|
+
letter-spacing: 0.05em;
|
|
126
|
+
border-bottom: var(--sdc-table-border-bottom-width) solid hsl(var(--sdc-table-border-bottom-color));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Body styles */
|
|
130
|
+
.sdc-table-body {
|
|
131
|
+
background: hsl(var(--sdc-table-background));
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.sdc-table-body tr {
|
|
135
|
+
border-bottom: var(--sdc-table-border-bottom-width) solid hsl(var(--sdc-table-border-bottom-color));
|
|
136
|
+
transition: background-color 0.15s ease-in-out;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.sdc-table-body tr:hover {
|
|
140
|
+
background: hsl(var(--sdc-table-row-hover));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.sdc-table.minimal-table .sdc-table-body tr {
|
|
144
|
+
border-bottom: none;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.sdc-table.minimal-table .sdc-table-header th {
|
|
148
|
+
border-bottom: var(--sdc-table-header-border-bottom-width) solid hsl(var(--sdc-table-header-border-bottom-color));
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.sdc-table-body td {
|
|
152
|
+
padding: var(--sdc-table-padding);
|
|
153
|
+
color: hsl(var(--sdc-table-foreground));
|
|
154
|
+
font-weight: var(--sdc-table-font-weight);
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* Responsive adjustments */
|
|
159
|
+
@media (max-width: 768px) {
|
|
160
|
+
.table-container {
|
|
161
|
+
height: auto;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.sdc-table-body td {
|
|
165
|
+
padding: var(--space-2) var(--space-3);
|
|
166
|
+
font-size: var(--text-xs);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.sdc-table-header th {
|
|
170
|
+
padding: var(--space-3) var(--space-3);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<div [class]="computedClass()">
|
|
2
|
+
<div class="table-container">
|
|
3
|
+
<!-- we defer the loading of the table, because tanstack manipulates the DOM with flexRender which can cause errors during SSR -->
|
|
4
|
+
@defer {
|
|
5
|
+
<table hlmTable>
|
|
6
|
+
<thead hlmTHead class="sdc-table-header">
|
|
7
|
+
@for (headerGroup of tableForPagination.getHeaderGroups(); track headerGroup.id) {
|
|
8
|
+
<tr hlmTr>
|
|
9
|
+
@for (header of headerGroup.headers; track header.id) {
|
|
10
|
+
<th hlmTh [attr.colSpan]="header.colSpan">
|
|
11
|
+
@if (!header.isPlaceholder) {
|
|
12
|
+
<ng-container
|
|
13
|
+
*flexRender="header.column.columnDef.header; props: header.getContext(); let headerText">
|
|
14
|
+
<div [innerHTML]="headerText"></div>
|
|
15
|
+
</ng-container>
|
|
16
|
+
}
|
|
17
|
+
</th>
|
|
18
|
+
}
|
|
19
|
+
</tr>
|
|
20
|
+
}
|
|
21
|
+
</thead>
|
|
22
|
+
<tbody hlmTBody class="sdc-table-body w-full">
|
|
23
|
+
@for (row of paginatedRows; track row.id) {
|
|
24
|
+
<tr hlmTr [attr.key]="row.id" [attr.data-state]="row.getIsSelected() && 'selected'">
|
|
25
|
+
@for (cell of row.getVisibleCells(); track $index) {
|
|
26
|
+
<td hlmTd>
|
|
27
|
+
<ng-container *flexRender="cell.column.columnDef.cell; props: cell.getContext(); let cell">
|
|
28
|
+
<div [innerHTML]="cell"></div>
|
|
29
|
+
</ng-container>
|
|
30
|
+
</td>
|
|
31
|
+
}
|
|
32
|
+
</tr>
|
|
33
|
+
} @empty {
|
|
34
|
+
<tr hlmTr>
|
|
35
|
+
<td hlmTd class="h-24 text-center" [attr.colspan]="_processColumns().length">No results.</td>
|
|
36
|
+
</tr>
|
|
37
|
+
}
|
|
38
|
+
</tbody>
|
|
39
|
+
</table>
|
|
40
|
+
}
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<!-- Pagination Component -->
|
|
45
|
+
@if (showPagination()) {
|
|
46
|
+
<sdc-pagination
|
|
47
|
+
[theme]="theme()"
|
|
48
|
+
[table]="tableForPagination"
|
|
49
|
+
[maxVisiblePages]="maxVisiblePages()"
|
|
50
|
+
[showFirstLastButtons]="showFirstLastButtons()"
|
|
51
|
+
[exportButtonText]="exportButtonText()"
|
|
52
|
+
(exportClick)="exportClick.emit($event)"></sdc-pagination>
|
|
53
|
+
}
|