@3ddv/software-division-components 1.3.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/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/{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 +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 -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 -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 -6848
- 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,196 @@
|
|
|
1
|
+
<h1>Filters Form</h1>
|
|
2
|
+
|
|
3
|
+
<sdc-datepicker></sdc-datepicker>
|
|
4
|
+
|
|
5
|
+
<form [formGroup]="filtersForm" class="filters-form card theme-sdc" (ngSubmit)="onFiltersSubmit()">
|
|
6
|
+
<sdc-input
|
|
7
|
+
[styleClass]="radioStyleClasses"
|
|
8
|
+
name="events"
|
|
9
|
+
[control]="filtersForm.get('events')"
|
|
10
|
+
label="Events"
|
|
11
|
+
labelPosition="left"
|
|
12
|
+
placeholder="Select Event"
|
|
13
|
+
type="text" />
|
|
14
|
+
|
|
15
|
+
<sdc-input
|
|
16
|
+
name="status"
|
|
17
|
+
[control]="filtersForm.get('status')"
|
|
18
|
+
label="All"
|
|
19
|
+
labelPosition="left"
|
|
20
|
+
placeholder="Select Event"
|
|
21
|
+
type="text" />
|
|
22
|
+
|
|
23
|
+
<sdc-input
|
|
24
|
+
name="amenity"
|
|
25
|
+
[control]="filtersForm.get('amenity')"
|
|
26
|
+
label="Premium Space"
|
|
27
|
+
labelPosition="left"
|
|
28
|
+
placeholder="Premium Space Name"
|
|
29
|
+
type="text" />
|
|
30
|
+
|
|
31
|
+
<sdc-input
|
|
32
|
+
name="section"
|
|
33
|
+
[control]="filtersForm.get('section')"
|
|
34
|
+
label="Section"
|
|
35
|
+
labelPosition="left"
|
|
36
|
+
placeholder="Section"
|
|
37
|
+
type="text" />
|
|
38
|
+
|
|
39
|
+
<sdc-input name="account" [control]="filtersForm.get('account')" label="Account" labelPosition="left" type="text" />
|
|
40
|
+
|
|
41
|
+
<sdc-datepicker
|
|
42
|
+
[minDate]="filtersFormMinDate"
|
|
43
|
+
name="fromDate"
|
|
44
|
+
[control]="filtersForm.get('fromDate')"
|
|
45
|
+
label="From"
|
|
46
|
+
labelPosition="left"
|
|
47
|
+
[autoCloseOnSelect]="true"
|
|
48
|
+
placeholder="dd/mm/aaaa" />
|
|
49
|
+
|
|
50
|
+
<sdc-datepicker
|
|
51
|
+
[minDate]="filtersFormMinDate"
|
|
52
|
+
name="toDate"
|
|
53
|
+
[control]="filtersForm.get('toDate')"
|
|
54
|
+
label="To"
|
|
55
|
+
labelPosition="left"
|
|
56
|
+
[autoCloseOnSelect]="true"
|
|
57
|
+
placeholder="dd/mm/aaaa" />
|
|
58
|
+
|
|
59
|
+
<div class="submit">
|
|
60
|
+
<sdc-button className="submit-button" [styleClass]="['variant-secondary', 'size-circle-md']" type="submit"
|
|
61
|
+
>O</sdc-button
|
|
62
|
+
>
|
|
63
|
+
</div>
|
|
64
|
+
</form>
|
|
65
|
+
|
|
66
|
+
<br />
|
|
67
|
+
<br />
|
|
68
|
+
<br />
|
|
69
|
+
|
|
70
|
+
<h1>Variants Examples Form</h1>
|
|
71
|
+
<form [formGroup]="variantsExamplesForm" class="variants-form card theme-sdc" (ngSubmit)="onVariantsExamplesSubmit()">
|
|
72
|
+
<h2>Inputs</h2>
|
|
73
|
+
<hr />
|
|
74
|
+
<sdc-input
|
|
75
|
+
hint="Enter your full name"
|
|
76
|
+
name="name"
|
|
77
|
+
[control]="variantsExamplesForm.get('name')"
|
|
78
|
+
errorMessage="This is a custom error message"
|
|
79
|
+
label="Full Name (Always Show Errors)"
|
|
80
|
+
labelPosition="top"
|
|
81
|
+
placeholder="Enter your full name"
|
|
82
|
+
type="text"
|
|
83
|
+
[isTextarea]="true"
|
|
84
|
+
[textareaRows]="3"
|
|
85
|
+
[textareaCols]="30"
|
|
86
|
+
[textareaResize]="'none'"
|
|
87
|
+
errorDisplayMode="always" />
|
|
88
|
+
|
|
89
|
+
<div class="row-section">
|
|
90
|
+
<sdc-input
|
|
91
|
+
hint="Enter only numbers"
|
|
92
|
+
name="age"
|
|
93
|
+
[control]="variantsExamplesForm.get('age')"
|
|
94
|
+
label="Age (Numbers Only)"
|
|
95
|
+
labelPosition="left"
|
|
96
|
+
placeholder="Enter your age"
|
|
97
|
+
type="number"
|
|
98
|
+
errorDisplayMode="always" />
|
|
99
|
+
|
|
100
|
+
<sdc-input
|
|
101
|
+
hint="We'll never share your email with anyone else"
|
|
102
|
+
name="email"
|
|
103
|
+
[control]="variantsExamplesForm.get('email')"
|
|
104
|
+
label="Email Address (After Submit)"
|
|
105
|
+
labelPosition="left"
|
|
106
|
+
placeholder="Enter your email address"
|
|
107
|
+
type="email"
|
|
108
|
+
errorDisplayMode="after-submit" />
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
<br />
|
|
112
|
+
<br />
|
|
113
|
+
|
|
114
|
+
<h2>Radio Group</h2>
|
|
115
|
+
<hr />
|
|
116
|
+
<sdc-radio
|
|
117
|
+
label="Primary"
|
|
118
|
+
name="type"
|
|
119
|
+
value="primary"
|
|
120
|
+
[control]="variantsExamplesForm.get('type')"
|
|
121
|
+
[styleClass]="['size-sm']" />
|
|
122
|
+
<sdc-radio
|
|
123
|
+
label="Secondary"
|
|
124
|
+
name="type"
|
|
125
|
+
value="secondary"
|
|
126
|
+
[control]="variantsExamplesForm.get('type')"
|
|
127
|
+
[styleClass]="['size-md']" />
|
|
128
|
+
<sdc-radio
|
|
129
|
+
label="Alternative"
|
|
130
|
+
name="type"
|
|
131
|
+
value="alternative"
|
|
132
|
+
[control]="variantsExamplesForm.get('type')"
|
|
133
|
+
[styleClass]="['size-lg']" />
|
|
134
|
+
<sdc-radio
|
|
135
|
+
label="Success"
|
|
136
|
+
name="type"
|
|
137
|
+
value="success"
|
|
138
|
+
[control]="variantsExamplesForm.get('type')"
|
|
139
|
+
[styleClass]="['size-xl']" />
|
|
140
|
+
|
|
141
|
+
<br />
|
|
142
|
+
<br />
|
|
143
|
+
|
|
144
|
+
<h2>Checkbox</h2>
|
|
145
|
+
<hr />
|
|
146
|
+
<sdc-checkbox
|
|
147
|
+
label="Checkbox 1"
|
|
148
|
+
labelPosition="left"
|
|
149
|
+
name="checkbox1"
|
|
150
|
+
value="checkbox1"
|
|
151
|
+
[control]="variantsExamplesForm.get('checkbox1')"
|
|
152
|
+
[styleClass]="['variant-primary', 'size-sm']" />
|
|
153
|
+
<sdc-checkbox
|
|
154
|
+
label="Checkbox 2"
|
|
155
|
+
labelPosition="left"
|
|
156
|
+
name="checkbox2"
|
|
157
|
+
value="checkbox2"
|
|
158
|
+
[control]="variantsExamplesForm.get('checkbox2')"
|
|
159
|
+
[styleClass]="['variant-secondary', 'size-md']" />
|
|
160
|
+
<sdc-checkbox
|
|
161
|
+
label="Checkbox 3"
|
|
162
|
+
labelPosition="left"
|
|
163
|
+
name="checkbox3"
|
|
164
|
+
value="checkbox3"
|
|
165
|
+
[control]="variantsExamplesForm.get('checkbox3')"
|
|
166
|
+
[styleClass]="['variant-alternative', 'size-lg']" />
|
|
167
|
+
<sdc-checkbox
|
|
168
|
+
label="Checkbox 4"
|
|
169
|
+
labelPosition="left"
|
|
170
|
+
name="checkbox4"
|
|
171
|
+
value="checkbox4"
|
|
172
|
+
[control]="variantsExamplesForm.get('checkbox4')"
|
|
173
|
+
[styleClass]="['variant-primary', 'size-xl']" />
|
|
174
|
+
|
|
175
|
+
<br />
|
|
176
|
+
<br />
|
|
177
|
+
|
|
178
|
+
<h2>Datepicker</h2>
|
|
179
|
+
<hr />
|
|
180
|
+
<sdc-datepicker
|
|
181
|
+
[minDate]="minDate"
|
|
182
|
+
[maxDate]="maxDate"
|
|
183
|
+
name="birthday"
|
|
184
|
+
[control]="variantsExamplesForm.get('birthday')"
|
|
185
|
+
label="Birthday"
|
|
186
|
+
labelPosition="top"
|
|
187
|
+
[autoCloseOnSelect]="true"
|
|
188
|
+
placeholder="Select your birthday" />
|
|
189
|
+
|
|
190
|
+
<br />
|
|
191
|
+
<br />
|
|
192
|
+
|
|
193
|
+
<div class="submit">
|
|
194
|
+
<sdc-button [styleClass]="['variant-secondary', 'size-md']" type="submit"> Submit </sdc-button>
|
|
195
|
+
</div>
|
|
196
|
+
</form>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ButtonComponent,
|
|
3
|
+
CheckboxComponent,
|
|
4
|
+
DatePickerComponent,
|
|
5
|
+
InputComponent,
|
|
6
|
+
RadioComponent,
|
|
7
|
+
RadioStyleClasses,
|
|
8
|
+
} from '@3ddv/software-division-components';
|
|
9
|
+
import { CommonModule } from '@angular/common';
|
|
10
|
+
import { Component, inject } from '@angular/core';
|
|
11
|
+
import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
12
|
+
|
|
13
|
+
@Component({
|
|
14
|
+
selector: 'app-form',
|
|
15
|
+
standalone: true,
|
|
16
|
+
imports: [
|
|
17
|
+
CommonModule,
|
|
18
|
+
InputComponent,
|
|
19
|
+
ButtonComponent,
|
|
20
|
+
RadioComponent,
|
|
21
|
+
CheckboxComponent,
|
|
22
|
+
DatePickerComponent,
|
|
23
|
+
ReactiveFormsModule,
|
|
24
|
+
],
|
|
25
|
+
templateUrl: './form.component.html',
|
|
26
|
+
styleUrl: './form.component.css',
|
|
27
|
+
})
|
|
28
|
+
export class FormComponent {
|
|
29
|
+
private readonly _formBuilder = inject(FormBuilder);
|
|
30
|
+
|
|
31
|
+
// Styles classes
|
|
32
|
+
public radioStyleClasses: RadioStyleClasses = ['variant-primary', 'size-md'];
|
|
33
|
+
|
|
34
|
+
// Filters form
|
|
35
|
+
public filtersForm = this._formBuilder.group({
|
|
36
|
+
events: [''],
|
|
37
|
+
status: [''],
|
|
38
|
+
amenity: [''],
|
|
39
|
+
section: [''],
|
|
40
|
+
account: [''],
|
|
41
|
+
fromDate: [undefined, Validators.required],
|
|
42
|
+
toDate: [undefined, Validators.required],
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
public filtersFormMinDate = new Date();
|
|
46
|
+
|
|
47
|
+
onFiltersSubmit(): void {
|
|
48
|
+
console.log(this.filtersForm.get('toDate')?.getRawValue());
|
|
49
|
+
|
|
50
|
+
if (this.filtersForm.valid) {
|
|
51
|
+
console.log('Form submitted successfully:', this.filtersForm.value);
|
|
52
|
+
} else {
|
|
53
|
+
console.log('Form is invalid, marking all as touched');
|
|
54
|
+
this.filtersForm.markAllAsTouched();
|
|
55
|
+
|
|
56
|
+
// Log validation errors for each field
|
|
57
|
+
Object.keys(this.filtersForm.controls).forEach(key => {
|
|
58
|
+
const control = this.filtersForm.get(key);
|
|
59
|
+
if (control?.errors) {
|
|
60
|
+
console.log(`${key} field errors:`, control.errors);
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Variants examples form
|
|
67
|
+
public variantsExamplesForm = this._formBuilder.group({
|
|
68
|
+
name: ['', [Validators.required, Validators.minLength(2)]],
|
|
69
|
+
age: ['', [Validators.required]],
|
|
70
|
+
email: ['', [Validators.required, Validators.email]],
|
|
71
|
+
type: ['primary', [Validators.required]],
|
|
72
|
+
checkbox1: [false, [Validators.requiredTrue]],
|
|
73
|
+
checkbox2: [true, [Validators.requiredTrue]],
|
|
74
|
+
checkbox3: [true, [Validators.requiredTrue]],
|
|
75
|
+
checkbox4: [true, [Validators.requiredTrue]],
|
|
76
|
+
birthday: [undefined, Validators.required],
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
/** The minimum date */
|
|
80
|
+
public minDate = new Date(2025, 8, 23);
|
|
81
|
+
|
|
82
|
+
/** The maximum date */
|
|
83
|
+
public maxDate = new Date(2025, 8, 27);
|
|
84
|
+
|
|
85
|
+
onVariantsExamplesSubmit(): void {
|
|
86
|
+
if (this.variantsExamplesForm.valid) {
|
|
87
|
+
console.log('Form submitted successfully:', this.variantsExamplesForm.value);
|
|
88
|
+
} else {
|
|
89
|
+
console.log('Form is invalid, marking all as touched');
|
|
90
|
+
this.variantsExamplesForm.markAllAsTouched();
|
|
91
|
+
|
|
92
|
+
// Log validation errors for each field
|
|
93
|
+
Object.keys(this.variantsExamplesForm.controls).forEach(key => {
|
|
94
|
+
const control = this.variantsExamplesForm.get(key);
|
|
95
|
+
if (control?.errors) {
|
|
96
|
+
console.log(`${key} field errors:`, control.errors);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ButtonComponent } from '@3ddv/software-division-components';
|
|
2
|
+
import { Component, input, output } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'app-action-column',
|
|
6
|
+
standalone: true,
|
|
7
|
+
imports: [ButtonComponent],
|
|
8
|
+
template: `
|
|
9
|
+
<sdc-button
|
|
10
|
+
[theme]="theme()"
|
|
11
|
+
[styleClass]="['variant-secondary', 'size-sm']"
|
|
12
|
+
[className]="className()"
|
|
13
|
+
(onClick)="onActionClick.emit($event)"
|
|
14
|
+
>
|
|
15
|
+
{{ buttonText() }}
|
|
16
|
+
</sdc-button>
|
|
17
|
+
`,
|
|
18
|
+
styles: [
|
|
19
|
+
`
|
|
20
|
+
:host {
|
|
21
|
+
display: block;
|
|
22
|
+
}
|
|
23
|
+
`,
|
|
24
|
+
],
|
|
25
|
+
})
|
|
26
|
+
export class ActionColumnComponent {
|
|
27
|
+
/**
|
|
28
|
+
* The theme to apply to the button component
|
|
29
|
+
*/
|
|
30
|
+
public readonly theme = input<'theme-sdc'>('theme-sdc');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Additional CSS classes to apply to the button
|
|
34
|
+
*/
|
|
35
|
+
public readonly className = input<string>('');
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The text to display on the button
|
|
39
|
+
*/
|
|
40
|
+
public readonly buttonText = input<string>('Details');
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Event emitted when the action button is clicked
|
|
44
|
+
*/
|
|
45
|
+
public readonly onActionClick = output<MouseEvent>();
|
|
46
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<main>
|
|
2
|
+
<div>
|
|
3
|
+
<sdc-table
|
|
4
|
+
[maxVisiblePages]="maxVisiblePages"
|
|
5
|
+
[showFirstLastButtons]="showFirstLastButtons"
|
|
6
|
+
[data]="data"
|
|
7
|
+
[columns]="columns"
|
|
8
|
+
[showSelection]="showSelection"
|
|
9
|
+
[enableSort]="enableSort"
|
|
10
|
+
[theme]="currentTheme"
|
|
11
|
+
(sortingChange)="onSortingChange($event)"
|
|
12
|
+
(selectionChange)="onSelectionChange($event)"
|
|
13
|
+
(exportClick)="exportTransactions($event)"
|
|
14
|
+
[exportButtonText]="'Export Transactions'"
|
|
15
|
+
[pageSize]="5"></sdc-table>
|
|
16
|
+
</div>
|
|
17
|
+
</main>
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ColumnDef,
|
|
3
|
+
flexRenderComponent,
|
|
4
|
+
RowSelectionState,
|
|
5
|
+
TableComponent as SDCTableComponent,
|
|
6
|
+
SortingState,
|
|
7
|
+
} from '@3ddv/software-division-components';
|
|
8
|
+
import { CommonModule } from '@angular/common';
|
|
9
|
+
import { Component } from '@angular/core';
|
|
10
|
+
import { ActionColumnComponent } from './action-column.component';
|
|
11
|
+
|
|
12
|
+
type Transaction = {
|
|
13
|
+
id: string;
|
|
14
|
+
accountNumber: string;
|
|
15
|
+
accountName: string;
|
|
16
|
+
date: string;
|
|
17
|
+
event: string;
|
|
18
|
+
premiumSpace: string;
|
|
19
|
+
section: string;
|
|
20
|
+
balance: string;
|
|
21
|
+
status: 'Completed' | 'Cancelled';
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
@Component({
|
|
25
|
+
selector: 'app-table',
|
|
26
|
+
standalone: true,
|
|
27
|
+
imports: [CommonModule, SDCTableComponent],
|
|
28
|
+
templateUrl: './table.component.html',
|
|
29
|
+
styleUrl: './table.component.css',
|
|
30
|
+
})
|
|
31
|
+
export class TableComponent {
|
|
32
|
+
// Table configuration properties
|
|
33
|
+
showSelection = true;
|
|
34
|
+
enableSort = ['accountNumber', 'date', 'status'];
|
|
35
|
+
enableHide = ['event', 'premiumSpace'];
|
|
36
|
+
maxVisiblePages = 5;
|
|
37
|
+
showFirstLastButtons = true;
|
|
38
|
+
currentTheme = 'theme-sdc' as const;
|
|
39
|
+
|
|
40
|
+
data: Transaction[] = [
|
|
41
|
+
{
|
|
42
|
+
id: '1',
|
|
43
|
+
accountNumber: 'ACC001',
|
|
44
|
+
accountName: 'John Doe',
|
|
45
|
+
date: 'May 28, 2025',
|
|
46
|
+
event: 'Mariners vs. Astros / 26G0921',
|
|
47
|
+
premiumSpace: 'Premium Space A',
|
|
48
|
+
section: 'Section 101',
|
|
49
|
+
balance: '$ 1710',
|
|
50
|
+
status: 'Completed',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: '2',
|
|
54
|
+
accountNumber: 'ACC002',
|
|
55
|
+
accountName: 'Jane Smith',
|
|
56
|
+
date: 'May 28, 2025',
|
|
57
|
+
event: 'Mariners vs. Astros / 26G0921',
|
|
58
|
+
premiumSpace: 'No',
|
|
59
|
+
section: 'Section 102',
|
|
60
|
+
balance: '$ 1710',
|
|
61
|
+
status: 'Cancelled',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: '3',
|
|
65
|
+
accountNumber: 'ACC003',
|
|
66
|
+
accountName: 'Bob Johnson',
|
|
67
|
+
date: 'May 28, 2025',
|
|
68
|
+
event: 'Mariners vs. Astros / 26G0921',
|
|
69
|
+
premiumSpace: 'Premium Space B',
|
|
70
|
+
section: 'Section 103',
|
|
71
|
+
balance: '$ 1710',
|
|
72
|
+
status: 'Completed',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: '4',
|
|
76
|
+
accountNumber: 'ACC004',
|
|
77
|
+
accountName: 'Alice Brown',
|
|
78
|
+
date: 'May 29, 2025',
|
|
79
|
+
event: 'Mariners vs. Rangers / 26G0922',
|
|
80
|
+
premiumSpace: 'Premium Space C',
|
|
81
|
+
section: 'Section 201',
|
|
82
|
+
balance: '$ 1850',
|
|
83
|
+
status: 'Completed',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: '5',
|
|
87
|
+
accountNumber: 'ACC005',
|
|
88
|
+
accountName: 'Charlie Wilson',
|
|
89
|
+
date: 'May 29, 2025',
|
|
90
|
+
event: 'Mariners vs. Rangers / 26G0922',
|
|
91
|
+
premiumSpace: 'No',
|
|
92
|
+
section: 'Section 202',
|
|
93
|
+
balance: '$ 1850',
|
|
94
|
+
status: 'Cancelled',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: '6',
|
|
98
|
+
accountNumber: 'ACC006',
|
|
99
|
+
accountName: 'Diana Davis',
|
|
100
|
+
date: 'May 30, 2025',
|
|
101
|
+
event: 'Mariners vs. Angels / 26G0923',
|
|
102
|
+
premiumSpace: 'Premium Space D',
|
|
103
|
+
section: 'Section 301',
|
|
104
|
+
balance: '$ 1950',
|
|
105
|
+
status: 'Completed',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
id: '7',
|
|
109
|
+
accountNumber: 'ACC007',
|
|
110
|
+
accountName: 'Edward Miller',
|
|
111
|
+
date: 'May 30, 2025',
|
|
112
|
+
event: 'Mariners vs. Angels / 26G0923',
|
|
113
|
+
premiumSpace: 'Premium Space E',
|
|
114
|
+
section: 'Section 302',
|
|
115
|
+
balance: '$ 1950',
|
|
116
|
+
status: 'Completed',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: '8',
|
|
120
|
+
accountNumber: 'ACC008',
|
|
121
|
+
accountName: 'Fiona Garcia',
|
|
122
|
+
date: 'May 31, 2025',
|
|
123
|
+
event: 'Mariners vs. Athletics / 26G0924',
|
|
124
|
+
premiumSpace: 'No',
|
|
125
|
+
section: 'Section 401',
|
|
126
|
+
balance: '$ 1650',
|
|
127
|
+
status: 'Cancelled',
|
|
128
|
+
},
|
|
129
|
+
];
|
|
130
|
+
|
|
131
|
+
columns: ColumnDef<Transaction>[] = [
|
|
132
|
+
{
|
|
133
|
+
accessorKey: 'status',
|
|
134
|
+
id: 'status',
|
|
135
|
+
header: 'Status',
|
|
136
|
+
cell: info => {
|
|
137
|
+
const status = info.getValue<string>();
|
|
138
|
+
const statusClass = status === 'Completed' ? 'text-green-600' : 'text-red-600';
|
|
139
|
+
return `<span class="capitalize ${statusClass}">${status}</span>`;
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
accessorKey: 'accountNumber',
|
|
144
|
+
id: 'accountNumber',
|
|
145
|
+
header: 'Account #',
|
|
146
|
+
cell: info => info.getValue<string>(),
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
accessorKey: 'date',
|
|
150
|
+
id: 'date',
|
|
151
|
+
header: 'Date',
|
|
152
|
+
cell: info => info.getValue<string>(),
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
accessorKey: 'event',
|
|
156
|
+
id: 'event',
|
|
157
|
+
header: 'Event',
|
|
158
|
+
cell: info => info.getValue<string>(),
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
accessorKey: 'premiumSpace',
|
|
162
|
+
id: 'premiumSpace',
|
|
163
|
+
header: 'Premium Space',
|
|
164
|
+
cell: info => info.getValue<string>(),
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
accessorKey: 'section',
|
|
168
|
+
id: 'section',
|
|
169
|
+
header: 'Section',
|
|
170
|
+
cell: info => info.getValue<string>(),
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
accessorKey: 'balance',
|
|
174
|
+
id: 'balance',
|
|
175
|
+
header: 'Balance',
|
|
176
|
+
cell: info => info.getValue<string>(),
|
|
177
|
+
},
|
|
178
|
+
// Action column
|
|
179
|
+
{
|
|
180
|
+
id: 'action',
|
|
181
|
+
header: '',
|
|
182
|
+
cell: () =>
|
|
183
|
+
flexRenderComponent(ActionColumnComponent, {
|
|
184
|
+
inputs: {
|
|
185
|
+
buttonText: 'Details',
|
|
186
|
+
theme: 'theme-sdc',
|
|
187
|
+
},
|
|
188
|
+
outputs: {
|
|
189
|
+
onActionClick: (event: MouseEvent) => this.handleActionClick(event),
|
|
190
|
+
},
|
|
191
|
+
}),
|
|
192
|
+
},
|
|
193
|
+
];
|
|
194
|
+
|
|
195
|
+
// Event handlers for table interactions
|
|
196
|
+
onSortingChange(sortingState: SortingState) {
|
|
197
|
+
console.log('Sort state changed:', sortingState);
|
|
198
|
+
// Handle sorting state change - you can implement server-side sorting here
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
onSelectionChange(selectionState: RowSelectionState) {
|
|
202
|
+
console.log('Selection state changed:', selectionState);
|
|
203
|
+
// Handle selection state change - you can implement bulk actions here
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// Action column click handler
|
|
207
|
+
handleActionClick(event: MouseEvent) {
|
|
208
|
+
console.log('Action button clicked:', event);
|
|
209
|
+
// Here you would typically navigate to a details page or open a modal
|
|
210
|
+
alert('Details button clicked! This would open transaction details.');
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// Export functionality
|
|
214
|
+
exportTransactions(exportData: { selectedRows: Transaction[]; allRows: Transaction[] }) {
|
|
215
|
+
console.log('Exporting transactions:', exportData);
|
|
216
|
+
|
|
217
|
+
if (exportData.selectedRows.length > 0) {
|
|
218
|
+
alert(`Exporting ${exportData.selectedRows.length} selected transactions!`);
|
|
219
|
+
console.log('Selected rows to export:', exportData.selectedRows);
|
|
220
|
+
} else {
|
|
221
|
+
alert('No rows selected. Exporting all transactions.');
|
|
222
|
+
console.log('All rows to export:', exportData.allRows);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// Here you would typically call an API or create a download
|
|
226
|
+
// You can use exportData.selectedRows or exportData.allRows as needed
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// Method to add a new transaction (for testing)
|
|
230
|
+
addTestTransaction() {
|
|
231
|
+
const newId = (this.data.length + 1).toString();
|
|
232
|
+
const newTransaction: Transaction = {
|
|
233
|
+
id: newId,
|
|
234
|
+
accountNumber: `ACC${newId.padStart(3, '0')}`,
|
|
235
|
+
accountName: `Test User ${newId}`,
|
|
236
|
+
date: new Date().toLocaleDateString('en-US', {
|
|
237
|
+
year: 'numeric',
|
|
238
|
+
month: 'long',
|
|
239
|
+
day: 'numeric',
|
|
240
|
+
}),
|
|
241
|
+
event: 'Test Event / TEST001',
|
|
242
|
+
premiumSpace: Math.random() > 0.5 ? 'Premium Space Test' : 'No',
|
|
243
|
+
section: `Section ${100 + Math.floor(Math.random() * 10)}`,
|
|
244
|
+
balance: `$ ${Math.floor(Math.random() * 2000) + 1000}`,
|
|
245
|
+
status: Math.random() > 0.3 ? 'Completed' : 'Cancelled',
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
this.data = [...this.data, newTransaction];
|
|
249
|
+
console.log('Added new transaction:', newTransaction);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// Method to log current table state (for debugging)
|
|
253
|
+
logTableState() {
|
|
254
|
+
console.log('Current table state:', {
|
|
255
|
+
dataLength: this.data.length,
|
|
256
|
+
columns: this.columns.length,
|
|
257
|
+
showSelection: this.showSelection,
|
|
258
|
+
enableSort: this.enableSort,
|
|
259
|
+
enableHide: this.enableHide,
|
|
260
|
+
maxVisiblePages: this.maxVisiblePages,
|
|
261
|
+
showFirstLastButtons: this.showFirstLastButtons,
|
|
262
|
+
currentTheme: this.currentTheme,
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
// Method to reset table to default state
|
|
267
|
+
resetTable() {
|
|
268
|
+
this.data = this.data.slice(0, 3); // Keep only first 3 transactions
|
|
269
|
+
this.showSelection = true;
|
|
270
|
+
this.enableSort = ['accountNumber', 'date', 'status'];
|
|
271
|
+
this.enableHide = ['event', 'premiumSpace'];
|
|
272
|
+
this.maxVisiblePages = 5;
|
|
273
|
+
this.showFirstLastButtons = true;
|
|
274
|
+
this.currentTheme = 'theme-sdc';
|
|
275
|
+
console.log('Table reset to default state');
|
|
276
|
+
}
|
|
277
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>ConsumerApp</title>
|
|
6
|
+
<base href="/">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<app-root></app-root>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* Import library styles */
|
|
2
|
+
@import '@3ddv/software-division-components/styles';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The styles examples here are written from less specific to more specific (from top to bottom).
|
|
6
|
+
*
|
|
7
|
+
* The styles in the library are written to comply with the design system of our products.
|
|
8
|
+
* It will only be needed an override when applying theme changes for each club.
|
|
9
|
+
*
|
|
10
|
+
* Even though, we support specific components overrides for more fine grained control,
|
|
11
|
+
* and the more specific per component selector for special cases that need a custom component style.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/* SDC Theme Customizations - USEFUL TO APPLY STYLES PER CLUB / CLIENT */
|
|
16
|
+
:root .theme-sdc {
|
|
17
|
+
--color-primary: 120, 100%, 25%; /* Green */
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
* Component type overrides - NOT RECOMMENDED
|
|
22
|
+
* Apply to all the buttons except the ones that receives a styleClass variant
|
|
23
|
+
* that modify the `--sdc-button-background` variable directly
|
|
24
|
+
*/
|
|
25
|
+
:root .theme-sdc.sdc-button {
|
|
26
|
+
--sdc-button-background: 60, 100%, 50%; /* Yellow */
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/*
|
|
30
|
+
* Component specific overrides with more specific selector - RECOMMENDED
|
|
31
|
+
* Apply to all the buttons inlcuding the ones that receives a styleClass variant
|
|
32
|
+
*/
|
|
33
|
+
:root .theme-sdc.sdc-button.submit-button {
|
|
34
|
+
--sdc-button-background: 0, 100%, 50%; /* Red */
|
|
35
|
+
}
|