@3ddv/software-division-components 1.4.1 ā 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +17 -0
- package/.husky/commit-msg +1 -0
- package/.prettierrc +11 -0
- package/README.backup.md +579 -0
- package/angular.json +144 -0
- package/commitlint-config.ts +7 -0
- package/components.json +6 -0
- package/docs/conventions.md +151 -0
- package/docs/installation.md +131 -0
- package/docs/releasing.md +306 -0
- package/eslint.config.ts +209 -0
- package/lerna-debug.log +71 -0
- package/lerna.json +8 -0
- package/package.json +130 -172
- package/pnpm-workspace.yaml +2 -0
- package/postcss.config.js +6 -0
- package/process-styles.js +31 -0
- package/projects/consumer-app/public/favicon.ico +0 -0
- package/projects/consumer-app/src/app/app.component.css +45 -0
- package/projects/consumer-app/src/app/app.component.html +11 -0
- package/projects/consumer-app/src/app/app.component.ts +14 -0
- package/projects/consumer-app/src/app/app.config.ts +8 -0
- package/projects/consumer-app/src/app/app.routes.ts +9 -0
- package/projects/consumer-app/src/app/form/form.component.css +82 -0
- package/projects/consumer-app/src/app/form/form.component.html +196 -0
- package/projects/consumer-app/src/app/form/form.component.ts +101 -0
- package/projects/consumer-app/src/app/table/action-column.component.ts +46 -0
- package/projects/consumer-app/src/app/table/table.component.css +3 -0
- package/projects/consumer-app/src/app/table/table.component.html +17 -0
- package/projects/consumer-app/src/app/table/table.component.ts +277 -0
- package/projects/consumer-app/src/index.html +13 -0
- package/projects/consumer-app/src/main.ts +6 -0
- package/projects/consumer-app/src/styles.css +35 -0
- package/projects/consumer-app/tsconfig.app.json +11 -0
- package/projects/consumer-app/tsconfig.spec.json +15 -0
- package/projects/software-division-components/.claude/settings.local.json +9 -0
- package/projects/software-division-components/.postcssrc.json +5 -0
- package/projects/software-division-components/.storybook/main.ts +28 -0
- package/projects/software-division-components/.storybook/manager-head.html +1 -0
- package/projects/software-division-components/.storybook/preview.ts +30 -0
- package/projects/software-division-components/.storybook/tsconfig.json +13 -0
- package/projects/software-division-components/.storybook/typings.d.ts +4 -0
- package/projects/software-division-components/LICENSE.md +21 -0
- package/projects/software-division-components/components.json +3 -0
- package/projects/software-division-components/documentation.json +5052 -0
- package/projects/software-division-components/ng-package.json +10 -0
- package/projects/software-division-components/node_modules/.bin/acorn +21 -0
- package/projects/software-division-components/node_modules/.bin/browserslist +21 -0
- package/projects/software-division-components/node_modules/.bin/chroma +21 -0
- package/projects/software-division-components/node_modules/.bin/chromatic +21 -0
- package/projects/software-division-components/node_modules/.bin/chromatic-cli +21 -0
- package/projects/software-division-components/node_modules/.bin/compodoc +21 -0
- package/projects/software-division-components/node_modules/.bin/eslint +21 -0
- package/projects/software-division-components/node_modules/.bin/getstorybook +21 -0
- package/projects/software-division-components/node_modules/.bin/jiti +21 -0
- package/projects/software-division-components/node_modules/.bin/js-yaml +21 -0
- package/projects/software-division-components/node_modules/.bin/karma +21 -0
- package/projects/software-division-components/node_modules/.bin/lessc +21 -0
- package/projects/software-division-components/node_modules/.bin/mf +21 -0
- package/projects/software-division-components/node_modules/.bin/ng +21 -0
- package/projects/software-division-components/node_modules/.bin/ng-packagr +21 -0
- package/projects/software-division-components/node_modules/.bin/ng-xi18n +21 -0
- package/projects/software-division-components/node_modules/.bin/ngc +21 -0
- package/projects/software-division-components/node_modules/.bin/ngcc +21 -0
- package/projects/software-division-components/node_modules/.bin/nx +21 -0
- package/projects/software-division-components/node_modules/.bin/nx-cloud +21 -0
- package/projects/software-division-components/node_modules/.bin/prettier +21 -0
- package/projects/software-division-components/node_modules/.bin/sass +21 -0
- package/projects/software-division-components/node_modules/.bin/sb +21 -0
- package/projects/software-division-components/node_modules/.bin/storybook +21 -0
- package/projects/software-division-components/node_modules/.bin/tailwind +21 -0
- package/projects/software-division-components/node_modules/.bin/tailwindcss +21 -0
- package/projects/software-division-components/node_modules/.bin/terser +21 -0
- package/projects/software-division-components/node_modules/.bin/tsc +21 -0
- package/projects/software-division-components/node_modules/.bin/tsserver +21 -0
- package/projects/software-division-components/node_modules/.bin/vite +21 -0
- package/projects/software-division-components/node_modules/.bin/webpack +21 -0
- package/projects/software-division-components/node_modules/.bin/yaml +21 -0
- package/projects/software-division-components/package.json +216 -0
- package/projects/software-division-components/public/3ddv-logo.jpg +0 -0
- package/projects/software-division-components/public/neighbours-after.png +0 -0
- package/projects/software-division-components/public/neighbours-before.png +0 -0
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.css +193 -0
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.html +23 -0
- package/projects/software-division-components/src/backoffice/checkbox/checkbox.component.ts +252 -0
- package/projects/software-division-components/src/backoffice/checkbox/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/checkbox/public-api.ts +1 -0
- package/projects/software-division-components/src/backoffice/checkbox/story/checkbox.stories.ts +304 -0
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.css +262 -0
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.html +40 -0
- package/projects/software-division-components/src/backoffice/datepicker/datepicker.component.ts +366 -0
- package/projects/software-division-components/src/backoffice/datepicker/index.ts +1 -0
- package/{backoffice/datepicker/public-api.d.ts ā projects/software-division-components/src/backoffice/datepicker/public-api.ts} +1 -1
- package/projects/software-division-components/src/backoffice/datepicker/story/datepicker.stories.ts +32 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/index.ts +14 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.ts +183 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.ts +171 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/index.ts +16 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.ts +43 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.ts +177 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.ts +43 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.ts +167 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/index.ts +11 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.ts +35 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/index.ts +15 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.ts +19 -0
- package/projects/software-division-components/src/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.ts +30 -0
- package/projects/software-division-components/src/backoffice/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/input/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/input/input.component.css +319 -0
- package/projects/software-division-components/src/backoffice/input/input.component.html +51 -0
- package/projects/software-division-components/src/backoffice/input/input.component.ts +497 -0
- package/projects/software-division-components/src/backoffice/input/public-api.ts +2 -0
- package/projects/software-division-components/src/backoffice/input/story/input.stories.ts +243 -0
- package/projects/software-division-components/src/backoffice/package.json +8 -0
- package/{backoffice/public-api.d.ts ā projects/software-division-components/src/backoffice/public-api.ts} +0 -1
- package/projects/software-division-components/src/backoffice/radio/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/radio/public-api.ts +1 -0
- package/projects/software-division-components/src/backoffice/radio/radio.component.css +143 -0
- package/projects/software-division-components/src/backoffice/radio/radio.component.html +15 -0
- package/projects/software-division-components/src/backoffice/radio/radio.component.ts +154 -0
- package/projects/software-division-components/src/backoffice/radio/story/radio.stories.ts +287 -0
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.css +117 -0
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.html +55 -0
- package/projects/software-division-components/src/backoffice/table/_components/pagination/pagination.component.ts +79 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.css +0 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.html +6 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-head/selection-table-head.component.ts +36 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.css +0 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.html +5 -0
- package/projects/software-division-components/src/backoffice/table/_components/selection-table-row/selection-table-row.component.ts +12 -0
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.css +14 -0
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.html +11 -0
- package/projects/software-division-components/src/backoffice/table/_components/sort-header-button/sort-header-button.component.ts +55 -0
- package/projects/software-division-components/src/backoffice/table/index.ts +1 -0
- package/projects/software-division-components/src/backoffice/table/public-api.ts +43 -0
- package/projects/software-division-components/src/backoffice/table/story/table.stories.ts +364 -0
- package/projects/software-division-components/src/backoffice/table/table.component.css +172 -0
- package/projects/software-division-components/src/backoffice/table/table.component.html +53 -0
- package/projects/software-division-components/src/backoffice/table/table.component.ts +347 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/index.ts +11 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.ts +35 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-table-helm/src/index.ts +13 -0
- package/projects/software-division-components/src/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.ts +220 -0
- package/projects/software-division-components/src/dvm/cart/cart.component.css +103 -0
- package/projects/software-division-components/src/dvm/cart/cart.component.html +31 -0
- package/projects/software-division-components/src/dvm/cart/cart.component.ts +49 -0
- package/projects/software-division-components/src/dvm/cart/cart.stories.ts +370 -0
- package/projects/software-division-components/src/dvm/cart/cart.types.ts +8 -0
- package/projects/software-division-components/src/dvm/cart/index.ts +2 -0
- package/{dvm/cart/public-api.d.ts ā projects/software-division-components/src/dvm/cart/public-api.ts} +5 -1
- package/projects/software-division-components/src/dvm/cart/seat-list.component.css +281 -0
- package/projects/software-division-components/src/dvm/cart/seat-list.component.html +85 -0
- package/projects/software-division-components/src/dvm/cart/seat-list.component.ts +76 -0
- package/projects/software-division-components/src/dvm/cart/seat-list.stories.ts +337 -0
- package/projects/software-division-components/src/dvm/cart-item/cart-item.component.html +1 -0
- package/projects/software-division-components/src/dvm/cart-item/cart-item.component.ts +8 -0
- package/projects/software-division-components/src/dvm/cart-item/cart-item.service.ts +8 -0
- package/projects/software-division-components/src/dvm/cart-item/cart.stories.ts +31 -0
- package/projects/software-division-components/src/dvm/cart-item/index.ts +1 -0
- package/projects/software-division-components/src/dvm/cart-item/package.json +5 -0
- package/{dvm/cart-item/public-api.d.ts ā projects/software-division-components/src/dvm/cart-item/public-api.ts} +4 -1
- package/projects/software-division-components/src/dvm/index.ts +1 -0
- package/projects/software-division-components/src/dvm/legend/index.ts +1 -0
- package/projects/software-division-components/src/dvm/legend/legend.component.css +49 -0
- package/projects/software-division-components/src/dvm/legend/legend.component.html +8 -0
- package/projects/software-division-components/src/dvm/legend/legend.component.ts +41 -0
- package/projects/software-division-components/src/dvm/legend/legend.stories.ts +16 -0
- package/projects/software-division-components/src/dvm/legend/package.json +5 -0
- package/{dvm/legend/public-api.d.ts ā projects/software-division-components/src/dvm/legend/public-api.ts} +4 -1
- package/{dvm/legend/types.d.ts ā projects/software-division-components/src/dvm/legend/types.ts} +3 -3
- package/{dvm/legend/ui/legend-elements/index.d.ts ā projects/software-division-components/src/dvm/legend/ui/legend-elements/index.ts} +0 -1
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.css +49 -0
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.html +8 -0
- package/projects/software-division-components/src/dvm/legend/ui/legend-elements/legend-elements.component.ts +41 -0
- package/projects/software-division-components/src/dvm/loader/index.ts +1 -0
- package/projects/software-division-components/src/dvm/loader/loader.component.html +1 -0
- package/projects/software-division-components/src/dvm/loader/loader.component.ts +8 -0
- package/projects/software-division-components/src/dvm/loader/loader.service.ts +8 -0
- package/projects/software-division-components/src/dvm/loader/loader.stories.ts +31 -0
- package/projects/software-division-components/src/dvm/loader/package.json +5 -0
- package/{dvm/loader/public-api.d.ts ā projects/software-division-components/src/dvm/loader/public-api.ts} +4 -1
- package/projects/software-division-components/src/dvm/map-loader/index.ts +1 -0
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.css +91 -0
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.html +23 -0
- package/projects/software-division-components/src/dvm/map-loader/map-loader.component.ts +187 -0
- package/projects/software-division-components/src/dvm/map-loader/map-loader.stories.ts +16 -0
- package/projects/software-division-components/src/dvm/map-loader/package.json +5 -0
- package/projects/software-division-components/src/dvm/map-loader/public-api.ts +5 -0
- package/projects/software-division-components/src/dvm/neighbors/index.ts +1 -0
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.css +158 -0
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.html +45 -0
- package/projects/software-division-components/src/dvm/neighbors/neighbors.component.ts +218 -0
- package/projects/software-division-components/src/dvm/neighbors/package.json +5 -0
- package/projects/software-division-components/src/dvm/neighbors/public-api.ts +2 -0
- package/projects/software-division-components/src/dvm/neighbors/story/arrow-left-black-icon.svg +3 -0
- package/projects/software-division-components/src/dvm/neighbors/story/mock-data.ts +15 -0
- package/projects/software-division-components/src/dvm/neighbors/story/neighbours.stories.css +12 -0
- package/projects/software-division-components/src/dvm/neighbors/story/neighbours.stories.ts +117 -0
- package/{dvm/neighbors/types.d.ts ā projects/software-division-components/src/dvm/neighbors/types.ts} +7 -7
- package/projects/software-division-components/src/dvm/package.json +7 -0
- package/projects/software-division-components/src/dvm/popover/base-popover.component.ts +70 -0
- package/projects/software-division-components/src/dvm/popover/index.ts +1 -0
- package/projects/software-division-components/src/dvm/popover/package.json +5 -0
- package/projects/software-division-components/src/dvm/popover/popover.component.css +227 -0
- package/projects/software-division-components/src/dvm/popover/popover.component.html +27 -0
- package/projects/software-division-components/src/dvm/popover/popover.component.ts +236 -0
- package/projects/software-division-components/src/dvm/popover/popover.config.ts +30 -0
- package/projects/software-division-components/src/dvm/popover/popover.service.ts +627 -0
- package/projects/software-division-components/src/dvm/popover/popover.stories.ts +873 -0
- package/{dvm/popover/public-api.d.ts ā projects/software-division-components/src/dvm/popover/public-api.ts} +4 -1
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.css +89 -0
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.html +40 -0
- package/projects/software-division-components/src/dvm/popover/seat-popover/seat-popover.component.ts +74 -0
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.css +157 -0
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.html +58 -0
- package/projects/software-division-components/src/dvm/popover/section-popover/section-popover.component.ts +106 -0
- package/projects/software-division-components/src/dvm/popover/services/dvm-popover-positioner.service.ts +73 -0
- package/projects/software-division-components/src/dvm/popover/services/popover-manager.service.ts +88 -0
- package/projects/software-division-components/src/dvm/popover/transformers/base-popover-data-transformer.ts +36 -0
- package/projects/software-division-components/src/dvm/popover/types.ts +104 -0
- package/{dvm/public-api.d.ts ā projects/software-division-components/src/dvm/public-api.ts} +0 -1
- package/projects/software-division-components/src/dvm/stepper/index.ts +1 -0
- package/projects/software-division-components/src/dvm/stepper/package.json +5 -0
- package/projects/software-division-components/src/dvm/stepper/public-api.ts +5 -0
- package/projects/software-division-components/src/dvm/stepper/stepper.component.css +142 -0
- package/projects/software-division-components/src/dvm/stepper/stepper.component.html +9 -0
- package/projects/software-division-components/src/dvm/stepper/stepper.component.ts +102 -0
- package/{dvm/stepper/types.d.ts ā projects/software-division-components/src/dvm/stepper/types.ts} +2 -5
- package/projects/software-division-components/src/dvm/ticket-info-item/index.ts +1 -0
- package/projects/software-division-components/src/dvm/ticket-info-item/package.json +5 -0
- package/{dvm/ticket-info-item/public-api.d.ts ā projects/software-division-components/src/dvm/ticket-info-item/public-api.ts} +4 -1
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.component.html +1 -0
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.component.ts +8 -0
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.service.ts +8 -0
- package/projects/software-division-components/src/dvm/ticket-info-item/ticket-info-item.stories.ts +31 -0
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.css +76 -0
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.html +46 -0
- package/projects/software-division-components/src/generic/add-digital-wallet/add-digital-wallet.component.ts +45 -0
- package/projects/software-division-components/src/generic/add-digital-wallet/index.ts +1 -0
- package/{generic/add-digital-wallet/public-api.d.ts ā projects/software-division-components/src/generic/add-digital-wallet/public-api.ts} +0 -1
- package/projects/software-division-components/src/generic/braintree/braintree.component.css +7 -0
- package/projects/software-division-components/src/generic/braintree/braintree.component.ts +134 -0
- package/projects/software-division-components/src/generic/braintree/index.ts +1 -0
- package/projects/software-division-components/src/generic/braintree/package.json +5 -0
- package/{generic/braintree/public-api.d.ts ā projects/software-division-components/src/generic/braintree/public-api.ts} +4 -1
- package/projects/software-division-components/src/generic/braintree/story/braintree.stories.css +3 -0
- package/projects/software-division-components/src/generic/braintree/story/braintree.stories.ts +27 -0
- package/projects/software-division-components/src/generic/braintree/types.ts +28 -0
- package/projects/software-division-components/src/generic/button/button.component.css +295 -0
- package/projects/software-division-components/src/generic/button/button.component.html +10 -0
- package/projects/software-division-components/src/generic/button/button.component.ts +352 -0
- package/projects/software-division-components/src/generic/button/index.ts +1 -0
- package/projects/software-division-components/src/generic/button/package.json +5 -0
- package/projects/software-division-components/src/generic/button/public-api.ts +5 -0
- package/projects/software-division-components/src/generic/button/story/button.stories.ts +384 -0
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/index.ts +10 -0
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.ts +22 -0
- package/projects/software-division-components/src/generic/button/ui/ui-button-helm/src/lib/hlm-button.ts +62 -0
- package/projects/software-division-components/src/generic/carousel/carousel-item.component.ts +15 -0
- package/projects/software-division-components/src/generic/carousel/carousel-item.directive.ts +14 -0
- package/projects/software-division-components/src/generic/carousel/carousel.component.css +90 -0
- package/projects/software-division-components/src/generic/carousel/carousel.component.html +13 -0
- package/projects/software-division-components/src/generic/carousel/carousel.component.ts +44 -0
- package/projects/software-division-components/src/generic/carousel/index.ts +1 -0
- package/{generic/carousel/public-api.d.ts ā projects/software-division-components/src/generic/carousel/public-api.ts} +0 -1
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/index.ts +29 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.ts +23 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.ts +25 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.ts +58 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.ts +61 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.ts +36 -0
- package/projects/software-division-components/src/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.ts +105 -0
- package/projects/software-division-components/src/generic/dialog/dialog.component.css +5 -0
- package/projects/software-division-components/src/generic/dialog/dialog.component.html +3 -0
- package/projects/software-division-components/src/generic/dialog/dialog.component.ts +20 -0
- package/projects/software-division-components/src/generic/dialog/dialog.stories.ts +14 -0
- package/projects/software-division-components/src/generic/dialog/index.ts +1 -0
- package/{generic/dialog/libs/ui-dialog-helm/src/index.d.ts ā projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/index.ts} +20 -8
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.ts +20 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.ts +56 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.ts +17 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.ts +19 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.ts +19 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.ts +23 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.ts +19 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.ts +59 -0
- package/projects/software-division-components/src/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.ts +31 -0
- package/projects/software-division-components/src/generic/dialog/package.json +9 -0
- package/{generic/dialog/public-api.d.ts ā projects/software-division-components/src/generic/dialog/public-api.ts} +4 -1
- package/projects/software-division-components/src/generic/dialog/tsconfig.json +7 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.html +1 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-close-button/dialog-close-button.component.ts +17 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.html +3 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-footer/dialog-footer.component.ts +11 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.css +0 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.html +8 -0
- package/projects/software-division-components/src/generic/dialog/ui/dialog-header/dialog-header.component.ts +14 -0
- package/projects/software-division-components/src/generic/drawer/drawer.component.html +1 -0
- package/projects/software-division-components/src/generic/drawer/drawer.component.ts +8 -0
- package/projects/software-division-components/src/generic/drawer/drawer.service.ts +8 -0
- package/projects/software-division-components/src/generic/drawer/drawer.stories.ts +31 -0
- package/projects/software-division-components/src/generic/drawer/index.ts +1 -0
- package/projects/software-division-components/src/generic/drawer/package.json +5 -0
- package/{generic/drawer/public-api.d.ts ā projects/software-division-components/src/generic/drawer/public-api.ts} +4 -1
- package/projects/software-division-components/src/generic/icon/icon.component.css +7 -0
- package/projects/software-division-components/src/generic/icon/icon.component.html +3 -0
- package/projects/software-division-components/src/generic/icon/icon.component.ts +86 -0
- package/projects/software-division-components/src/generic/icon/icon.stories.ts +16 -0
- package/projects/software-division-components/src/generic/icon/index.ts +1 -0
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/index.ts +11 -0
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.ts +20 -0
- package/projects/software-division-components/src/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.ts +36 -0
- package/projects/software-division-components/src/generic/icon/package.json +9 -0
- package/projects/software-division-components/src/generic/icon/public-api.ts +5 -0
- package/projects/software-division-components/src/generic/icon/tsconfig.json +7 -0
- package/projects/software-division-components/src/generic/index.ts +1 -0
- package/projects/software-division-components/src/generic/package.json +7 -0
- package/{generic/public-api.d.ts ā projects/software-division-components/src/generic/public-api.ts} +0 -1
- package/projects/software-division-components/src/generic/select/index.ts +1 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-content.ts +29 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-group.ts +17 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-label.ts +26 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-option.ts +37 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-scroll-down.ts +24 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-scroll-up.ts +23 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-trigger.ts +53 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select-value.ts +17 -0
- package/projects/software-division-components/src/generic/select/lib/hlm-select.ts +15 -0
- package/projects/software-division-components/src/generic/select/lib/index.ts +38 -0
- package/{generic/select/public-api.d.ts ā projects/software-division-components/src/generic/select/public-api.ts} +0 -1
- package/projects/software-division-components/src/generic/select/select.component.css +65 -0
- package/projects/software-division-components/src/generic/select/select.component.html +19 -0
- package/projects/software-division-components/src/generic/select/select.component.ts +25 -0
- package/projects/software-division-components/src/generic/select/types.ts +4 -0
- package/projects/software-division-components/src/private-exports.ts +1 -0
- package/{public-api.d.ts ā projects/software-division-components/src/public-api.ts} +3 -1
- package/projects/software-division-components/src/shared/apply-theme-variables/apply-theme-variables.ts +35 -0
- package/{shared/apply-theme-variables/index.d.ts ā projects/software-division-components/src/shared/apply-theme-variables/index.ts} +0 -1
- package/projects/software-division-components/src/shared/format-value.pipe.ts +23 -0
- package/projects/software-division-components/src/shared/index.ts +1 -0
- package/projects/software-division-components/src/shared/lib-provider/config-token.ts +4 -0
- package/projects/software-division-components/src/shared/lib-provider/index.ts +1 -0
- package/projects/software-division-components/src/shared/lib-provider/provide-sdc.ts +24 -0
- package/{shared/lib-provider/public-api.d.ts ā projects/software-division-components/src/shared/lib-provider/public-api.ts} +0 -1
- package/projects/software-division-components/src/shared/public-api.ts +6 -0
- package/{shared/screen-observer/index.d.ts ā projects/software-division-components/src/shared/screen-observer/index.ts} +0 -1
- package/projects/software-division-components/src/shared/screen-observer/provide-screen-observer.ts +17 -0
- package/projects/software-division-components/src/shared/screen-observer/screen-observer.ts +56 -0
- package/projects/software-division-components/src/shared/screen-observer/sizable-base.ts +70 -0
- package/projects/software-division-components/src/shared/theme-provider/generic-theme.ts +1 -0
- package/projects/software-division-components/src/shared/theme-provider/index.ts +1 -0
- package/projects/software-division-components/src/shared/theme-provider/public-api.ts +1 -0
- package/projects/software-division-components/src/shared/theme-provider/theme-provider.directive.ts +17 -0
- package/projects/software-division-components/src/shared/themes/sdc.css +153 -0
- package/{shared/types.d.ts ā projects/software-division-components/src/shared/types.ts} +8 -12
- package/projects/software-division-components/src/types/sizes.type.ts +3 -0
- package/projects/software-division-components/src/utils/index.ts +1 -0
- package/projects/software-division-components/src/utils/public-api.ts +1 -0
- package/projects/software-division-components/src/utils/validate-styles-for-component.ts +39 -0
- package/projects/software-division-components/styles.css +40 -0
- package/projects/software-division-components/tsconfig.json +30 -0
- package/projects/software-division-components/tsconfig.spec.json +15 -0
- package/scripts/generate-versions.js +60 -0
- package/scripts/watch-dist.js +222 -0
- package/tsconfig.json +46 -0
- package/3ddv-software-division-components.d.ts.map +0 -1
- package/backoffice/checkbox/checkbox.component.d.ts +0 -103
- package/backoffice/checkbox/checkbox.component.d.ts.map +0 -1
- package/backoffice/checkbox/index.d.ts +0 -2
- package/backoffice/checkbox/index.d.ts.map +0 -1
- package/backoffice/checkbox/public-api.d.ts +0 -2
- package/backoffice/checkbox/public-api.d.ts.map +0 -1
- package/backoffice/datepicker/datepicker.component.d.ts +0 -150
- package/backoffice/datepicker/datepicker.component.d.ts.map +0 -1
- package/backoffice/datepicker/index.d.ts +0 -2
- package/backoffice/datepicker/index.d.ts.map +0 -1
- package/backoffice/datepicker/public-api.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-calendar-helm/src/index.d.ts +0 -14
- package/backoffice/datepicker/ui/ui-calendar-helm/src/index.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.d.ts +0 -38
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar-multi.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.d.ts +0 -34
- package/backoffice/datepicker/ui/ui-calendar-helm/src/lib/hlm-calendar.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.d.ts +0 -15
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/index.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.d.ts +0 -53
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.d.ts +0 -24
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker-multi.token.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.d.ts +0 -53
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.d.ts +0 -24
- package/backoffice/datepicker/ui/ui-date-picker-helm/src/lib/hlm-date-picker.token.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-icon-helm/src/index.d.ts +0 -10
- package/backoffice/datepicker/ui/ui-icon-helm/src/index.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
- package/backoffice/datepicker/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-popover-helm/src/index.d.ts +0 -14
- package/backoffice/datepicker/ui/ui-popover-helm/src/index.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.d.ts +0 -9
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-close.d.ts.map +0 -1
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.d.ts +0 -14
- package/backoffice/datepicker/ui/ui-popover-helm/src/lib/hlm-popover-content.d.ts.map +0 -1
- package/backoffice/index.d.ts +0 -2
- package/backoffice/index.d.ts.map +0 -1
- package/backoffice/input/index.d.ts +0 -2
- package/backoffice/input/index.d.ts.map +0 -1
- package/backoffice/input/input.component.d.ts +0 -200
- package/backoffice/input/input.component.d.ts.map +0 -1
- package/backoffice/input/public-api.d.ts +0 -2
- package/backoffice/input/public-api.d.ts.map +0 -1
- package/backoffice/public-api.d.ts.map +0 -1
- package/backoffice/radio/index.d.ts +0 -2
- package/backoffice/radio/index.d.ts.map +0 -1
- package/backoffice/radio/public-api.d.ts +0 -2
- package/backoffice/radio/public-api.d.ts.map +0 -1
- package/backoffice/radio/radio.component.d.ts +0 -73
- package/backoffice/radio/radio.component.d.ts.map +0 -1
- package/backoffice/table/_components/pagination/pagination.component.d.ts +0 -18
- package/backoffice/table/_components/pagination/pagination.component.d.ts.map +0 -1
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.d.ts +0 -11
- package/backoffice/table/_components/selection-table-head/selection-table-head.component.d.ts.map +0 -1
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.d.ts +0 -8
- package/backoffice/table/_components/selection-table-row/selection-table-row.component.d.ts.map +0 -1
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.d.ts +0 -16
- package/backoffice/table/_components/sort-header-button/sort-header-button.component.d.ts.map +0 -1
- package/backoffice/table/index.d.ts +0 -2
- package/backoffice/table/index.d.ts.map +0 -1
- package/backoffice/table/public-api.d.ts +0 -3
- package/backoffice/table/public-api.d.ts.map +0 -1
- package/backoffice/table/table.component.d.ts +0 -111
- package/backoffice/table/table.component.d.ts.map +0 -1
- package/backoffice/table/ui/ui-icon-helm/src/index.d.ts +0 -10
- package/backoffice/table/ui/ui-icon-helm/src/index.d.ts.map +0 -1
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
- package/backoffice/table/ui/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
- package/backoffice/table/ui/ui-table-helm/src/index.d.ts +0 -11
- package/backoffice/table/ui/ui-table-helm/src/index.d.ts.map +0 -1
- package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.d.ts +0 -112
- package/backoffice/table/ui/ui-table-helm/src/lib/hlm-table.d.ts.map +0 -1
- package/dvm/cart/cart.component.d.ts +0 -31
- package/dvm/cart/cart.component.d.ts.map +0 -1
- package/dvm/cart/cart.types.d.ts +0 -8
- package/dvm/cart/cart.types.d.ts.map +0 -1
- package/dvm/cart/index.d.ts +0 -2
- package/dvm/cart/index.d.ts.map +0 -1
- package/dvm/cart/public-api.d.ts.map +0 -1
- package/dvm/cart/seat-list.component.d.ts +0 -38
- package/dvm/cart/seat-list.component.d.ts.map +0 -1
- package/dvm/cart-item/cart-item.component.d.ts +0 -6
- package/dvm/cart-item/cart-item.component.d.ts.map +0 -1
- package/dvm/cart-item/cart-item.service.d.ts +0 -7
- package/dvm/cart-item/cart-item.service.d.ts.map +0 -1
- package/dvm/cart-item/index.d.ts +0 -2
- package/dvm/cart-item/index.d.ts.map +0 -1
- package/dvm/cart-item/public-api.d.ts.map +0 -1
- package/dvm/index.d.ts +0 -2
- package/dvm/index.d.ts.map +0 -1
- package/dvm/legend/index.d.ts +0 -2
- package/dvm/legend/index.d.ts.map +0 -1
- package/dvm/legend/legend.component.d.ts +0 -17
- package/dvm/legend/legend.component.d.ts.map +0 -1
- package/dvm/legend/public-api.d.ts.map +0 -1
- package/dvm/legend/types.d.ts.map +0 -1
- package/dvm/legend/ui/legend-elements/index.d.ts.map +0 -1
- package/dvm/legend/ui/legend-elements/legend-elements.component.d.ts +0 -16
- package/dvm/legend/ui/legend-elements/legend-elements.component.d.ts.map +0 -1
- package/dvm/loader/index.d.ts +0 -2
- package/dvm/loader/index.d.ts.map +0 -1
- package/dvm/loader/loader.component.d.ts +0 -6
- package/dvm/loader/loader.component.d.ts.map +0 -1
- package/dvm/loader/loader.service.d.ts +0 -7
- package/dvm/loader/loader.service.d.ts.map +0 -1
- package/dvm/loader/public-api.d.ts.map +0 -1
- package/dvm/map-loader/index.d.ts +0 -2
- package/dvm/map-loader/index.d.ts.map +0 -1
- package/dvm/map-loader/map-loader.component.d.ts +0 -56
- package/dvm/map-loader/map-loader.component.d.ts.map +0 -1
- package/dvm/map-loader/public-api.d.ts +0 -2
- package/dvm/map-loader/public-api.d.ts.map +0 -1
- package/dvm/neighbors/index.d.ts +0 -2
- package/dvm/neighbors/index.d.ts.map +0 -1
- package/dvm/neighbors/neighbors.component.d.ts +0 -41
- package/dvm/neighbors/neighbors.component.d.ts.map +0 -1
- package/dvm/neighbors/public-api.d.ts +0 -3
- package/dvm/neighbors/public-api.d.ts.map +0 -1
- package/dvm/neighbors/types.d.ts.map +0 -1
- package/dvm/popover/base-popover.component.d.ts +0 -28
- package/dvm/popover/base-popover.component.d.ts.map +0 -1
- package/dvm/popover/index.d.ts +0 -2
- package/dvm/popover/index.d.ts.map +0 -1
- package/dvm/popover/popover.component.d.ts +0 -69
- package/dvm/popover/popover.component.d.ts.map +0 -1
- package/dvm/popover/popover.config.d.ts +0 -25
- package/dvm/popover/popover.config.d.ts.map +0 -1
- package/dvm/popover/popover.service.d.ts +0 -140
- package/dvm/popover/popover.service.d.ts.map +0 -1
- package/dvm/popover/public-api.d.ts.map +0 -1
- package/dvm/popover/seat-popover/seat-popover.component.d.ts +0 -21
- package/dvm/popover/seat-popover/seat-popover.component.d.ts.map +0 -1
- package/dvm/popover/section-popover/section-popover.component.d.ts +0 -32
- package/dvm/popover/section-popover/section-popover.component.d.ts.map +0 -1
- package/dvm/popover/services/dvm-popover-positioner.service.d.ts +0 -30
- package/dvm/popover/services/dvm-popover-positioner.service.d.ts.map +0 -1
- package/dvm/popover/services/popover-manager.service.d.ts +0 -29
- package/dvm/popover/services/popover-manager.service.d.ts.map +0 -1
- package/dvm/popover/transformers/base-popover-data-transformer.d.ts +0 -29
- package/dvm/popover/transformers/base-popover-data-transformer.d.ts.map +0 -1
- package/dvm/popover/types.d.ts +0 -79
- package/dvm/popover/types.d.ts.map +0 -1
- package/dvm/public-api.d.ts.map +0 -1
- package/dvm/stepper/index.d.ts +0 -2
- package/dvm/stepper/index.d.ts.map +0 -1
- package/dvm/stepper/public-api.d.ts +0 -2
- package/dvm/stepper/public-api.d.ts.map +0 -1
- package/dvm/stepper/stepper.component.d.ts +0 -27
- package/dvm/stepper/stepper.component.d.ts.map +0 -1
- package/dvm/stepper/types.d.ts.map +0 -1
- package/dvm/ticket-info-item/index.d.ts +0 -2
- package/dvm/ticket-info-item/index.d.ts.map +0 -1
- package/dvm/ticket-info-item/public-api.d.ts.map +0 -1
- package/dvm/ticket-info-item/ticket-info-item.component.d.ts +0 -6
- package/dvm/ticket-info-item/ticket-info-item.component.d.ts.map +0 -1
- package/dvm/ticket-info-item/ticket-info-item.service.d.ts +0 -7
- package/dvm/ticket-info-item/ticket-info-item.service.d.ts.map +0 -1
- package/fesm2022/3ddv-software-division-components.mjs +0 -5964
- package/fesm2022/3ddv-software-division-components.mjs.map +0 -1
- package/generic/add-digital-wallet/add-digital-wallet.component.d.ts +0 -21
- package/generic/add-digital-wallet/add-digital-wallet.component.d.ts.map +0 -1
- package/generic/add-digital-wallet/index.d.ts +0 -2
- package/generic/add-digital-wallet/index.d.ts.map +0 -1
- package/generic/add-digital-wallet/public-api.d.ts.map +0 -1
- package/generic/braintree/braintree.component.d.ts +0 -33
- package/generic/braintree/braintree.component.d.ts.map +0 -1
- package/generic/braintree/index.d.ts +0 -2
- package/generic/braintree/index.d.ts.map +0 -1
- package/generic/braintree/public-api.d.ts.map +0 -1
- package/generic/braintree/types.d.ts +0 -27
- package/generic/braintree/types.d.ts.map +0 -1
- package/generic/button/button.component.d.ts +0 -149
- package/generic/button/button.component.d.ts.map +0 -1
- package/generic/button/index.d.ts +0 -2
- package/generic/button/index.d.ts.map +0 -1
- package/generic/button/public-api.d.ts +0 -2
- package/generic/button/public-api.d.ts.map +0 -1
- package/generic/button/ui/ui-button-helm/src/index.d.ts +0 -10
- package/generic/button/ui/ui-button-helm/src/index.d.ts.map +0 -1
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.d.ts +0 -20
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.d.ts.map +0 -1
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.d.ts +0 -9
- package/generic/button/ui/ui-button-helm/src/lib/hlm-button.token.d.ts.map +0 -1
- package/generic/carousel/carousel-item.component.d.ts +0 -8
- package/generic/carousel/carousel-item.component.d.ts.map +0 -1
- package/generic/carousel/carousel.component.d.ts +0 -20
- package/generic/carousel/carousel.component.d.ts.map +0 -1
- package/generic/carousel/index.d.ts +0 -2
- package/generic/carousel/index.d.ts.map +0 -1
- package/generic/carousel/public-api.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/index.d.ts +0 -26
- package/generic/carousel/ui/ui-carousel-helm/src/index.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.d.ts +0 -10
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-content.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.d.ts +0 -10
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-item.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.d.ts +0 -15
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-next.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.d.ts +0 -15
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-previous.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.d.ts +0 -16
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel-slide-display.d.ts.map +0 -1
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.d.ts +0 -28
- package/generic/carousel/ui/ui-carousel-helm/src/lib/hlm-carousel.d.ts.map +0 -1
- package/generic/dialog/dialog.component.d.ts +0 -11
- package/generic/dialog/dialog.component.d.ts.map +0 -1
- package/generic/dialog/index.d.ts +0 -2
- package/generic/dialog/index.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/index.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.d.ts +0 -9
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-close.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.d.ts +0 -15
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-content.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.d.ts +0 -10
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-description.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.d.ts +0 -9
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-footer.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.d.ts +0 -9
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-header.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.d.ts +0 -12
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-overlay.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.d.ts +0 -10
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog-title.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.d.ts +0 -7
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.d.ts.map +0 -1
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.d.ts +0 -21
- package/generic/dialog/libs/ui-dialog-helm/src/lib/hlm-dialog.service.d.ts.map +0 -1
- package/generic/dialog/public-api.d.ts.map +0 -1
- package/generic/drawer/drawer.component.d.ts +0 -6
- package/generic/drawer/drawer.component.d.ts.map +0 -1
- package/generic/drawer/drawer.service.d.ts +0 -7
- package/generic/drawer/drawer.service.d.ts.map +0 -1
- package/generic/drawer/index.d.ts +0 -2
- package/generic/drawer/index.d.ts.map +0 -1
- package/generic/drawer/public-api.d.ts.map +0 -1
- package/generic/icon/icon.component.d.ts +0 -21
- package/generic/icon/icon.component.d.ts.map +0 -1
- package/generic/icon/index.d.ts +0 -2
- package/generic/icon/index.d.ts.map +0 -1
- package/generic/icon/lib/ui-icon-helm/src/index.d.ts +0 -10
- package/generic/icon/lib/ui-icon-helm/src/index.d.ts.map +0 -1
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.d.ts +0 -10
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.d.ts.map +0 -1
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.d.ts +0 -8
- package/generic/icon/lib/ui-icon-helm/src/lib/hlm-icon.token.d.ts.map +0 -1
- package/generic/icon/public-api.d.ts +0 -2
- package/generic/icon/public-api.d.ts.map +0 -1
- package/generic/index.d.ts +0 -2
- package/generic/index.d.ts.map +0 -1
- package/generic/public-api.d.ts.map +0 -1
- package/generic/select/index.d.ts +0 -2
- package/generic/select/index.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-content.d.ts +0 -13
- package/generic/select/lib/hlm-select-content.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-group.d.ts +0 -10
- package/generic/select/lib/hlm-select-group.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-label.d.ts +0 -12
- package/generic/select/lib/hlm-select-label.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-option.d.ts +0 -12
- package/generic/select/lib/hlm-select-option.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-scroll-down.d.ts +0 -9
- package/generic/select/lib/hlm-select-scroll-down.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-scroll-up.d.ts +0 -9
- package/generic/select/lib/hlm-select-scroll-up.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-trigger.d.ts +0 -17
- package/generic/select/lib/hlm-select-trigger.d.ts.map +0 -1
- package/generic/select/lib/hlm-select-value.d.ts +0 -9
- package/generic/select/lib/hlm-select-value.d.ts.map +0 -1
- package/generic/select/lib/hlm-select.d.ts +0 -9
- package/generic/select/lib/hlm-select.d.ts.map +0 -1
- package/generic/select/lib/index.d.ts +0 -35
- package/generic/select/lib/index.d.ts.map +0 -1
- package/generic/select/public-api.d.ts.map +0 -1
- package/generic/select/select.component.d.ts +0 -14
- package/generic/select/select.component.d.ts.map +0 -1
- package/generic/select/types.d.ts +0 -5
- package/generic/select/types.d.ts.map +0 -1
- package/index.d.ts +0 -6
- package/public-api.d.ts.map +0 -1
- package/shared/apply-theme-variables/apply-theme-variables.d.ts +0 -4
- package/shared/apply-theme-variables/apply-theme-variables.d.ts.map +0 -1
- package/shared/apply-theme-variables/index.d.ts.map +0 -1
- package/shared/lib-provider/config-token.d.ts +0 -4
- package/shared/lib-provider/config-token.d.ts.map +0 -1
- package/shared/lib-provider/index.d.ts +0 -2
- package/shared/lib-provider/index.d.ts.map +0 -1
- package/shared/lib-provider/provide-sdc.d.ts +0 -10
- package/shared/lib-provider/provide-sdc.d.ts.map +0 -1
- package/shared/lib-provider/public-api.d.ts.map +0 -1
- package/shared/screen-observer/index.d.ts.map +0 -1
- package/shared/screen-observer/provide-screen-observer.d.ts +0 -5
- package/shared/screen-observer/provide-screen-observer.d.ts.map +0 -1
- package/shared/screen-observer/screen-observer.d.ts +0 -15
- package/shared/screen-observer/screen-observer.d.ts.map +0 -1
- package/shared/types.d.ts.map +0 -1
- package/styles.css +0 -2
- package/types/sizes.type.d.ts +0 -3
- package/types/sizes.type.d.ts.map +0 -1
- /package/{tailwind.config.js ā projects/software-division-components/tailwind.config.js} +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Font Families */
|
|
3
|
+
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
4
|
+
--font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
5
|
+
|
|
6
|
+
/* Font Sizes */
|
|
7
|
+
--text-xxs: 0.625rem; /* 8px - Small labels, captions */
|
|
8
|
+
--text-xs: 0.75rem; /* 12px - Small labels, captions */
|
|
9
|
+
--text-sm: 0.875rem; /* 14px - Table content, form labels */
|
|
10
|
+
--text-base: 1rem; /* 16px - Body text, buttons */
|
|
11
|
+
--text-lg: 1.125rem; /* 18px - Section headings */
|
|
12
|
+
--text-xl: 1.25rem; /* 20px - Page titles */
|
|
13
|
+
--text-2xl: 1.5rem; /* 24px - Main headings */
|
|
14
|
+
|
|
15
|
+
/* Font Weights */
|
|
16
|
+
--font-light: 300; /* Light text */
|
|
17
|
+
--font-regular: 400; /* Normal body text */
|
|
18
|
+
--font-medium: 500; /* Medium emphasis */
|
|
19
|
+
--font-semibold: 600; /* Section headings */
|
|
20
|
+
--font-bold: 700; /* Strong emphasis, buttons */
|
|
21
|
+
|
|
22
|
+
/* Line Heights */
|
|
23
|
+
--leading-tight: 1.25; /* Tight line height for headings */
|
|
24
|
+
--leading-normal: 1.5; /* Normal line height for body text */
|
|
25
|
+
--leading-relaxed: 1.625; /* Relaxed line height for readability */
|
|
26
|
+
|
|
27
|
+
/* Spacing Scale */
|
|
28
|
+
--space-0: 0; /* No spacing */
|
|
29
|
+
--space-px: 1px; /* 1px spacing */
|
|
30
|
+
--space-0_5: 0.125rem; /* 2px - Minimal spacing */
|
|
31
|
+
--space-1: 0.25rem; /* 4px - Very small spacing */
|
|
32
|
+
--space-1_5: 0.375rem; /* 6px - Small spacing */
|
|
33
|
+
--space-2: 0.5rem; /* 8px - Small padding/margin */
|
|
34
|
+
--space-2_5: 0.625rem; /* 10px - Button padding */
|
|
35
|
+
--space-3: 0.75rem; /* 12px - Form element spacing */
|
|
36
|
+
--space-3_5: 0.875rem; /* 14px - Medium spacing */
|
|
37
|
+
--space-4: 1rem; /* 16px - Standard spacing unit */
|
|
38
|
+
--space-5: 1.25rem; /* 20px - Section spacing */
|
|
39
|
+
--space-6: 1.5rem; /* 24px - Large spacing */
|
|
40
|
+
--space-7: 1.75rem; /* 28px - Extra spacing */
|
|
41
|
+
--space-8: 2rem; /* 32px - Large section spacing */
|
|
42
|
+
--space-10: 2.5rem; /* 40px - Very large spacing */
|
|
43
|
+
--space-12: 3rem; /* 48px - Header/footer spacing */
|
|
44
|
+
--space-16: 4rem; /* 64px - Major section dividers */
|
|
45
|
+
--space-20: 5rem; /* 80px - Large container spacing */
|
|
46
|
+
--space-24: 6rem; /* 96px - Extra large spacing */
|
|
47
|
+
|
|
48
|
+
/* Border Radius */
|
|
49
|
+
--radius-none: 0; /* No border radius */
|
|
50
|
+
--radius-sm: 0.125rem; /* 2px - Small radius */
|
|
51
|
+
--radius-default: 0.25rem; /* 4px - Default button/input radius */
|
|
52
|
+
--radius-md: 0.375rem; /* 6px - Medium radius for cards */
|
|
53
|
+
--radius-lg: 0.5rem; /* 8px - Large radius */
|
|
54
|
+
--radius-xl: 0.75rem; /* 12px - Extra large radius */
|
|
55
|
+
--radius-2xl: 1rem; /* 16px - Very large radius */
|
|
56
|
+
--radius-3xl: 1.5rem; /* 24px - Extra large radius */
|
|
57
|
+
--radius-full: 9999px; /* Full circular radius */
|
|
58
|
+
|
|
59
|
+
/* Border Widths */
|
|
60
|
+
--border-0: 0; /* No border */
|
|
61
|
+
--border-default: 1px; /* Default border width */
|
|
62
|
+
--border-2: 2px; /* Thick border */
|
|
63
|
+
--border-3: 3px; /* Thick border */
|
|
64
|
+
--border-4: 4px; /* Very thick border */
|
|
65
|
+
--border-6: 6px; /* Extra thick border */
|
|
66
|
+
--border-8: 8px; /* Extra thick border */
|
|
67
|
+
|
|
68
|
+
/* Neutral Colors */
|
|
69
|
+
--color-neutral-50: hsl(210 40% 98%); /* #f8fafc - Lightest background */
|
|
70
|
+
--color-neutral-100: hsl(210 40% 96%); /* #f1f5f9 - Light background, table headers */
|
|
71
|
+
--color-neutral-200: hsl(214 32% 91%); /* #e2e8f0 - Border colors, dividers */
|
|
72
|
+
--color-neutral-300: hsl(215 20% 83%); /* #cbd5e1 - Disabled states, subtle borders */
|
|
73
|
+
--color-neutral-400: hsl(215 16% 65%); /* #94a3b8 - Placeholder text, inactive elements */
|
|
74
|
+
--color-neutral-500: hsl(215 19% 47%); /* #64748b - Secondary text, icons */
|
|
75
|
+
--color-neutral-600: hsl(215 25% 35%); /* #475569 - Primary text color */
|
|
76
|
+
--color-neutral-700: hsl(215 28% 27%); /* #334155 - Dark text, headings */
|
|
77
|
+
--color-neutral-800: hsl(217 33% 17%); /* #1e293b - Very dark text */
|
|
78
|
+
--color-neutral-900: hsl(222 47% 11%); /* #0f172a - Darkest text, high contrast */
|
|
79
|
+
--color-pure-white: hsl(0 0% 100%); /* #ffffff - Pure white backgrounds */
|
|
80
|
+
--color-pure-black: hsl(0 0% 0%); /* #000000 - Pure black text */
|
|
81
|
+
|
|
82
|
+
/* Primary Colors - Club Brand */
|
|
83
|
+
--color-primary: hsl(29.01 100% 52.55%); /* #ff8c00 - Main Club brand color */
|
|
84
|
+
--color-primary-hover: hsl(29.01 100% 44%); /* #e67e00 - Darker orange for hover states */
|
|
85
|
+
--color-primary-active: hsl(29.01 100% 36%); /* #cc7000 - Even darker for active/pressed states */
|
|
86
|
+
--color-primary-50: hsl(29.01 100% 97%); /* #fff8f0 - Very light orange background */
|
|
87
|
+
--color-primary-100: hsl(29.01 100% 91%); /* #fff0d7 - Light orange background */
|
|
88
|
+
--color-primary-200: hsl(29.01 100% 84%); /* #ffe8c0 - Soft orange for highlights */
|
|
89
|
+
|
|
90
|
+
/* Secondary Colors - Navy Blue */
|
|
91
|
+
--color-secondary: hsl(218.73 72.48% 21.37%); /* #1a2b4a - Deep navy blue for secondary actions */
|
|
92
|
+
--color-secondary-hover: hsl(218.73 72.48% 28%); /* #2a3f6a - Lighter navy for hover */
|
|
93
|
+
--color-secondary-active: hsl(218.73 72.48% 35%); /* #3a538a - Active state navy */
|
|
94
|
+
--color-secondary-50: hsl(218.73 72.48% 97%); /* #f7f9fc - Very light blue background */
|
|
95
|
+
--color-secondary-100: hsl(218.73 72.48% 93%); /* #eef2f9 - Light blue background */
|
|
96
|
+
--color-secondary-200: hsl(218.73 72.48% 87%); /* #e0e7f3 - Soft blue for highlights */
|
|
97
|
+
|
|
98
|
+
/* Alternative Colors - Light Blue/Cyan */
|
|
99
|
+
--color-alternative: hsl(199 89% 48%); /* #0ea5e9 - Cyan blue for alternative actions */
|
|
100
|
+
--color-alternative-hover: hsl(198 93% 39%); /* #0284c7 - Darker cyan for hover */
|
|
101
|
+
--color-alternative-active: hsl(201 96% 32%); /* #0369a1 - Active state cyan */
|
|
102
|
+
--color-alternative-50: hsl(204 100% 97%); /* #f0f9ff - Very light cyan background */
|
|
103
|
+
--color-alternative-100: hsl(204 94% 94%); /* #e0f2fe - Light cyan background */
|
|
104
|
+
|
|
105
|
+
/* Success Colors */
|
|
106
|
+
--color-success: hsl(158 64% 52%); /* #10b981 - Green for completed transactions, success states */
|
|
107
|
+
--color-success-hover: hsl(160 84% 39%); /* #059669 - Darker green for hover */
|
|
108
|
+
--color-success-active: hsl(161 94% 30%); /* #047857 - Active state green */
|
|
109
|
+
--color-success-50: hsl(151 81% 96%); /* #ecfdf5 - Light success background */
|
|
110
|
+
--color-success-100: hsl(149 80% 90%); /* #d1fae5 - Success message backgrounds */
|
|
111
|
+
|
|
112
|
+
/* Warning Colors */
|
|
113
|
+
--color-warning: hsl(43 96% 56%); /* #f59e0b - Amber/orange for warnings, pending states */
|
|
114
|
+
--color-warning-hover: hsl(32 95% 44%); /* #d97706 - Darker amber for hover */
|
|
115
|
+
--color-warning-active: hsl(30 100% 34%); /* #b45309 - Active state amber */
|
|
116
|
+
--color-warning-50: hsl(48 100% 96%); /* #fffbeb - Light warning background */
|
|
117
|
+
--color-warning-100: hsl(48 96% 89%); /* #fef3c7 - Warning message backgrounds */
|
|
118
|
+
|
|
119
|
+
/* Danger Colors */
|
|
120
|
+
--color-danger: hsl(0 72% 51%); /* #ef4444 - Red for cancelled transactions, errors, delete actions */
|
|
121
|
+
--color-danger-hover: hsl(0 73% 41%); /* #dc2626 - Darker red for hover */
|
|
122
|
+
--color-danger-active: hsl(0 79% 30%); /* #b91c1c - Active state red */
|
|
123
|
+
--color-danger-50: hsl(0 86% 97%); /* #fef2f2 - Light error background */
|
|
124
|
+
--color-danger-100: hsl(0 93% 94%); /* #fee2e2 - Error message backgrounds */
|
|
125
|
+
|
|
126
|
+
/*
|
|
127
|
+
* -----------------------------------------------------------
|
|
128
|
+
* Spartan UI standard theme (Updated with SDC color mappings)
|
|
129
|
+
* -----------------------------------------------------------
|
|
130
|
+
*/
|
|
131
|
+
--font-sans: 'Geist Sans', sans-serif;
|
|
132
|
+
--background: var(--color-pure-white);
|
|
133
|
+
--foreground: var(--color-neutral-600);
|
|
134
|
+
--card: var(--color-pure-white);
|
|
135
|
+
--card-foreground: var(--color-neutral-600);
|
|
136
|
+
--popover: var(--color-pure-white);
|
|
137
|
+
--popover-foreground: var(--color-neutral-600);
|
|
138
|
+
--primary: var(--color-primary);
|
|
139
|
+
--primary-foreground: var(--color-pure-white);
|
|
140
|
+
--secondary: var(--color-neutral-100);
|
|
141
|
+
--secondary-foreground: var(--color-neutral-600);
|
|
142
|
+
--muted: var(--color-neutral-50);
|
|
143
|
+
--muted-foreground: var(--color-neutral-500);
|
|
144
|
+
--accent: var(--color-primary-200);
|
|
145
|
+
--accent-foreground: var(--color-neutral-700);
|
|
146
|
+
--destructive: var(--color-danger);
|
|
147
|
+
--destructive-foreground: var(--color-pure-white);
|
|
148
|
+
--border: var(--color-neutral-200);
|
|
149
|
+
--input: var(--color-neutral-200);
|
|
150
|
+
--ring: var(--color-primary);
|
|
151
|
+
--radius: var(--radius-lg);
|
|
152
|
+
color-scheme: light;
|
|
153
|
+
}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
readonly xs: "xs";
|
|
4
|
-
readonly sm: "sm";
|
|
5
|
-
readonly md: "md";
|
|
6
|
-
readonly lg: "lg";
|
|
7
|
-
readonly xl: "xl";
|
|
8
|
-
readonly '2xl': "2xl";
|
|
9
|
-
};
|
|
1
|
+
export const SIZES = { xxs: 'xxs', xs: 'xs', sm: 'sm', md: 'md', lg: 'lg', xl: 'xl', '2xl': '2xl' } as const;
|
|
2
|
+
|
|
10
3
|
export type Size = (typeof SIZES)[keyof typeof SIZES];
|
|
4
|
+
|
|
11
5
|
export type NgPipes = 'none' | 'currency' | 'date';
|
|
6
|
+
|
|
12
7
|
export type NgSdComponentsConfigValues = 'generic' | 'backoffice';
|
|
8
|
+
|
|
13
9
|
export interface NgSdComponentsConfig {
|
|
14
|
-
|
|
10
|
+
theme: NgSdComponentsConfigValues;
|
|
15
11
|
}
|
|
12
|
+
|
|
16
13
|
type Theme = 'backoffice' | 'sdc';
|
|
14
|
+
|
|
17
15
|
export type ThemeClass = `theme-${Theme}`;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './validate-styles-for-component';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
function validateCssClass(value: string, componentName?: string): asserts value is string {
|
|
2
|
+
const regex = /^([a-zA-Z][a-zA-Z0-9-_]*)(\s[a-zA-Z][a-zA-Z0-9-_]*)*$/;
|
|
3
|
+
const isValidCssClass = regex.test(value);
|
|
4
|
+
|
|
5
|
+
if (!isValidCssClass) {
|
|
6
|
+
throw new Error(
|
|
7
|
+
`Invalid CSS class string passed as input to "styleClasses" input, found on ${componentName}.
|
|
8
|
+
Please make sure your input is a valid CSS class or a list of whitespace-separated classes.
|
|
9
|
+
The value provided was: ${value}`
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export function validateStylesForComponent<T extends Record<string, string> | string>(
|
|
15
|
+
componentName: string
|
|
16
|
+
): (styles: T) => T {
|
|
17
|
+
return (styles: T): T => {
|
|
18
|
+
// Styles will be an empty string if they are not defined
|
|
19
|
+
if (styles === '') {
|
|
20
|
+
return styles;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (typeof styles === 'string') {
|
|
24
|
+
// Some components just have to style one element,
|
|
25
|
+
// so a string input is sufficient
|
|
26
|
+
validateCssClass(styles, componentName);
|
|
27
|
+
} else {
|
|
28
|
+
// While others require an object ot be able to style
|
|
29
|
+
// different parts of the component, which requires an object
|
|
30
|
+
// to target different parts of the components with different classes
|
|
31
|
+
const stylesValues = Object.values(styles);
|
|
32
|
+
for (const styleValue of stylesValues) {
|
|
33
|
+
validateCssClass(styleValue, componentName);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return styles;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* spartan components styles */
|
|
2
|
+
@import '@angular/cdk/overlay-prebuilt.css';
|
|
3
|
+
@import '@spartan-ng/brain/hlm-tailwind-preset.css';
|
|
4
|
+
|
|
5
|
+
/* Import themes */
|
|
6
|
+
@import './src/shared/themes/sdc.css';
|
|
7
|
+
|
|
8
|
+
/* Select component adjustments */
|
|
9
|
+
@media (max-width: 1024px) {
|
|
10
|
+
.cdk-overlay-pane:has(> hlm-select-content),
|
|
11
|
+
.cdk-overlay-pane:has(> hlm-select-content.full-width) {
|
|
12
|
+
width: 100% !important;
|
|
13
|
+
left: 0 !important;
|
|
14
|
+
right: 0 !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
/* Import component styles */
|
|
18
|
+
@import './src/generic/braintree/braintree.component.css';
|
|
19
|
+
@import './src/backoffice/datepicker/datepicker.component.css';
|
|
20
|
+
|
|
21
|
+
.dialog-overlay-margin {
|
|
22
|
+
margin: 0 1rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Ripple effect styles */
|
|
26
|
+
.sdc-ripple {
|
|
27
|
+
position: absolute;
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
background-color: var(--sdc-button-ripple-color);
|
|
30
|
+
transform: scale(0);
|
|
31
|
+
animation: ripple-animation 0.6s linear;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@keyframes ripple-animation {
|
|
36
|
+
to {
|
|
37
|
+
transform: scale(4);
|
|
38
|
+
opacity: 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
3
|
+
"exclude": ["node_modules"],
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"baseUrl": ".",
|
|
6
|
+
"rootDir": ".",
|
|
7
|
+
"outDir": "../../dist",
|
|
8
|
+
"paths": {
|
|
9
|
+
"@backoffice/*": ["./src/backoffice/*"],
|
|
10
|
+
"@utils/*": ["./src/utils"],
|
|
11
|
+
"@shared/*": ["./src/shared/*"],
|
|
12
|
+
"@dvm/*": ["./src/dvm/*"],
|
|
13
|
+
"@generic/*": ["./src/generic/*"]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"angularCompilerOptions": {
|
|
17
|
+
"disableTypeScriptVersionCheck": true,
|
|
18
|
+
"fullTemplateTypeCheck": true,
|
|
19
|
+
"annotateForClosureCompiler": false,
|
|
20
|
+
"strictTemplates": true,
|
|
21
|
+
"strictMetadataEmit": true,
|
|
22
|
+
"skipTemplateCodegen": false,
|
|
23
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
24
|
+
"strictInjectionParameters": true,
|
|
25
|
+
"strictInputAccessModifiers": true,
|
|
26
|
+
"compilationMode": "partial",
|
|
27
|
+
"flatModuleOutFile": "software-division-components.js",
|
|
28
|
+
"flatModuleId": "software-division-components"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "../../tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "../../out-tsc/spec",
|
|
7
|
+
"types": [
|
|
8
|
+
"jasmine"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"**/*.spec.ts",
|
|
13
|
+
"**/*.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import {
|
|
4
|
+
default as projectPackageJson,
|
|
5
|
+
default as sdcPackageJson,
|
|
6
|
+
} from '../projects/software-division-components/package.json' with { type: 'json' };
|
|
7
|
+
const readmePath = path.resolve('./README.md');
|
|
8
|
+
const backupReadmePath = path.resolve('./README.backup.md');
|
|
9
|
+
|
|
10
|
+
// Extract versions from package.json
|
|
11
|
+
const versions = {
|
|
12
|
+
angular: projectPackageJson.peerDependencies['@angular/core'],
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const sdcVersions = {
|
|
16
|
+
storybook: sdcPackageJson.devDependencies['@storybook/angular'],
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const badges = `
|
|
20
|
+
.replace('~', '')}-dd0031?logo=angular&style=for-the-badge)
|
|
21
|
+
.replace('~', '')}-ff4785?logo=storybook&style=for-the-badge)
|
|
22
|
+
`;
|
|
23
|
+
|
|
24
|
+
// Read the existing README.md
|
|
25
|
+
let readmeContent = '';
|
|
26
|
+
if (fs.existsSync(readmePath)) {
|
|
27
|
+
readmeContent = fs.readFileSync(readmePath, 'utf-8');
|
|
28
|
+
|
|
29
|
+
// Backup the original README.md
|
|
30
|
+
fs.writeFileSync(backupReadmePath, readmeContent);
|
|
31
|
+
console.log(`Backup created: ${backupReadmePath}`);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const overviewMarker = '## **Overview**';
|
|
35
|
+
const index = readmeContent.indexOf(overviewMarker);
|
|
36
|
+
|
|
37
|
+
if (index === -1) {
|
|
38
|
+
console.error('"Overview" section not found in README.md. Badges will not be updated.');
|
|
39
|
+
process.exit(1);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Insert badges after the "Overview" section
|
|
43
|
+
const beforeOverview = readmeContent.slice(0, index + overviewMarker.length);
|
|
44
|
+
let afterOverview = readmeContent.slice(index + overviewMarker.length);
|
|
45
|
+
|
|
46
|
+
// Define the badge block pattern to look for
|
|
47
|
+
const badgeBlockPattern = /(?:\n\n(?:!\[.*?\]\(.*?\)\n)+)/;
|
|
48
|
+
|
|
49
|
+
// If badges are found
|
|
50
|
+
if (badgeBlockPattern.test(afterOverview)) {
|
|
51
|
+
afterOverview = afterOverview.replace(badgeBlockPattern, `\n${badges}`);
|
|
52
|
+
} else {
|
|
53
|
+
afterOverview = `\n${badges}${afterOverview}`;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const updatedReadmeContent = `${beforeOverview}${afterOverview}`;
|
|
57
|
+
|
|
58
|
+
// Write the updated content back to README.md
|
|
59
|
+
fs.writeFileSync(readmePath, updatedReadmeContent);
|
|
60
|
+
console.log(`Badges were updated on the README file.`);
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Watch script for software-division-components library
|
|
3
|
+
*
|
|
4
|
+
* This script watches for changes in the library source files and:
|
|
5
|
+
* 1. Reinstalls dependencies when source files change
|
|
6
|
+
* 2. Touches a file to trigger Angular rebuild
|
|
7
|
+
* 3. Lets Angular handle its own rebuild process
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { execSync, spawn } from 'child_process';
|
|
11
|
+
import chokidar from 'chokidar';
|
|
12
|
+
import fs from 'fs';
|
|
13
|
+
import { dirname, join } from 'path';
|
|
14
|
+
import { fileURLToPath } from 'url';
|
|
15
|
+
|
|
16
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
17
|
+
const __dirname = dirname(__filename);
|
|
18
|
+
|
|
19
|
+
console.log('š Watching dist folder for library changes...');
|
|
20
|
+
|
|
21
|
+
// Watch the dist folder for library changes
|
|
22
|
+
const distPath = join(__dirname, '../dist');
|
|
23
|
+
console.log(`š Watching dist path: ${distPath}`);
|
|
24
|
+
|
|
25
|
+
// Test if the path exists
|
|
26
|
+
try {
|
|
27
|
+
if (fs.existsSync(distPath)) {
|
|
28
|
+
console.log('ā
Dist folder exists');
|
|
29
|
+
} else {
|
|
30
|
+
console.log('ā Dist folder does not exist');
|
|
31
|
+
}
|
|
32
|
+
} catch (error) {
|
|
33
|
+
console.log('ā Error checking dist folder:', error.message);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const watcher = chokidar.watch(distPath, {
|
|
37
|
+
persistent: true,
|
|
38
|
+
ignoreInitial: true,
|
|
39
|
+
awaitWriteFinish: {
|
|
40
|
+
stabilityThreshold: 500,
|
|
41
|
+
pollInterval: 100,
|
|
42
|
+
},
|
|
43
|
+
usePolling: true,
|
|
44
|
+
interval: 1000,
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
let rebuildTimeout;
|
|
48
|
+
let isRebuilding = false;
|
|
49
|
+
|
|
50
|
+
// Function to start the Angular dev server using spawn (non-blocking)
|
|
51
|
+
function startDevServer() {
|
|
52
|
+
try {
|
|
53
|
+
console.log('š Starting Angular dev server...');
|
|
54
|
+
|
|
55
|
+
// Use spawn instead of execSync to avoid blocking
|
|
56
|
+
const ngProcess = spawn('ng', ['serve', 'consumer-app'], {
|
|
57
|
+
cwd: join(__dirname, '..'),
|
|
58
|
+
stdio: 'pipe', // Don't inherit stdio to avoid blocking
|
|
59
|
+
detached: true, // Detach from parent process
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
// Handle process events
|
|
63
|
+
ngProcess.stdout.on('data', data => {
|
|
64
|
+
const output = data.toString();
|
|
65
|
+
if (output.includes('Compiled successfully') || output.includes('Live Reload Server')) {
|
|
66
|
+
console.log('ā
Angular dev server started successfully');
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
ngProcess.stderr.on('data', data => {
|
|
71
|
+
const error = data.toString();
|
|
72
|
+
if (error.includes('Port already in use')) {
|
|
73
|
+
console.log('ā ļø Port already in use, trying to kill existing process...');
|
|
74
|
+
try {
|
|
75
|
+
execSync('pkill -f "ng serve"', { stdio: 'ignore' });
|
|
76
|
+
setTimeout(() => startDevServer(), 2000); // Retry after killing
|
|
77
|
+
} catch (killError) {
|
|
78
|
+
console.error('ā Could not kill existing process');
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
ngProcess.on('error', error => {
|
|
84
|
+
console.error('ā Error starting Angular dev server:', error.message);
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
ngProcess.on('exit', code => {
|
|
88
|
+
if (code !== 0) {
|
|
89
|
+
console.log(`ā ļø Angular dev server exited with code ${code}`);
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// Store the process reference for later use
|
|
94
|
+
global.ngProcess = ngProcess;
|
|
95
|
+
|
|
96
|
+
console.log('ā
Angular dev server process started (non-blocking)');
|
|
97
|
+
} catch (startError) {
|
|
98
|
+
console.error('ā Error starting Angular dev server:', startError.message);
|
|
99
|
+
console.log('š” You may need to start the dev server manually: ng serve consumer-app');
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Function to restart the Angular dev server
|
|
104
|
+
function restartDevServer() {
|
|
105
|
+
try {
|
|
106
|
+
console.log('š Restarting Angular dev server...');
|
|
107
|
+
|
|
108
|
+
// Kill the existing process if we have a reference
|
|
109
|
+
if (global.ngProcess) {
|
|
110
|
+
try {
|
|
111
|
+
global.ngProcess.kill('SIGTERM');
|
|
112
|
+
console.log('ā
Stopped existing Angular dev server process');
|
|
113
|
+
} catch (killError) {
|
|
114
|
+
console.log('ā¹ļø Could not kill existing process');
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Also try to kill any other ng serve processes
|
|
119
|
+
try {
|
|
120
|
+
execSync('pkill -f "ng serve"', { stdio: 'ignore' });
|
|
121
|
+
console.log('ā
Killed all ng serve processes');
|
|
122
|
+
} catch (killError) {
|
|
123
|
+
console.log('ā¹ļø No existing Angular dev server found to stop');
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Wait a moment for processes to fully terminate
|
|
127
|
+
setTimeout(() => {
|
|
128
|
+
startDevServer();
|
|
129
|
+
}, 2000);
|
|
130
|
+
} catch (error) {
|
|
131
|
+
console.error('ā Error restarting dev server:', error.message);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
watcher.on('change', filePath => {
|
|
136
|
+
if (isRebuilding) return;
|
|
137
|
+
|
|
138
|
+
const fileName = filePath.split('/').pop();
|
|
139
|
+
console.log(`š Dist file changed: ${fileName}`);
|
|
140
|
+
|
|
141
|
+
clearTimeout(rebuildTimeout);
|
|
142
|
+
rebuildTimeout = setTimeout(() => {
|
|
143
|
+
if (isRebuilding) return;
|
|
144
|
+
|
|
145
|
+
console.log('š Library files changed, refreshing package link...');
|
|
146
|
+
isRebuilding = true;
|
|
147
|
+
|
|
148
|
+
try {
|
|
149
|
+
console.log('š¦ Reinstalling package...');
|
|
150
|
+
execSync('pnpm install', { stdio: 'inherit', cwd: join(__dirname, '..') });
|
|
151
|
+
console.log('ā
Package reinstalled successfully');
|
|
152
|
+
|
|
153
|
+
console.log('ā³ Waiting for package to be fully available...');
|
|
154
|
+
setTimeout(() => {
|
|
155
|
+
console.log('š Restarting Angular dev server...');
|
|
156
|
+
restartDevServer();
|
|
157
|
+
|
|
158
|
+
isRebuilding = false;
|
|
159
|
+
console.log('š Package link refreshed successfully');
|
|
160
|
+
console.log('š Angular dev server will restart with fresh dependencies...');
|
|
161
|
+
}, 2000);
|
|
162
|
+
} catch (error) {
|
|
163
|
+
console.error('ā Error refreshing package:', error.message);
|
|
164
|
+
isRebuilding = false;
|
|
165
|
+
}
|
|
166
|
+
}, 5000);
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
watcher.on('add', filePath => {
|
|
170
|
+
console.log(`š ADD EVENT: ${filePath}`);
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
watcher.on('unlink', filePath => {
|
|
174
|
+
console.log(`š UNLINK EVENT: ${filePath}`);
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
watcher.on('ready', () => {
|
|
178
|
+
console.log('ā
Dist folder watcher started successfully');
|
|
179
|
+
console.log('š” Library changes in dist/ will automatically restart the Angular dev server');
|
|
180
|
+
console.log('š” This ensures fresh dependencies are loaded');
|
|
181
|
+
|
|
182
|
+
// Install the package for the first time
|
|
183
|
+
execSync('pnpm install', { stdio: 'inherit', cwd: join(__dirname, '..') });
|
|
184
|
+
console.log('ā
Package reinstalled successfully');
|
|
185
|
+
|
|
186
|
+
// Automatically start the dev server when ready
|
|
187
|
+
console.log('š Starting initial Angular dev server...');
|
|
188
|
+
startDevServer();
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
watcher.on('error', error => {
|
|
192
|
+
console.error('ā Watcher error:', error);
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
// Cleanup function for graceful shutdown
|
|
196
|
+
function cleanup() {
|
|
197
|
+
console.log('\nš Shutting down gracefully...');
|
|
198
|
+
|
|
199
|
+
if (global.ngProcess) {
|
|
200
|
+
try {
|
|
201
|
+
global.ngProcess.kill('SIGTERM');
|
|
202
|
+
console.log('ā
Stopped Angular dev server');
|
|
203
|
+
} catch (error) {
|
|
204
|
+
console.log('ā ļø Could not stop Angular dev server');
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
try {
|
|
209
|
+
execSync('pkill -f "ng serve"', { stdio: 'ignore' });
|
|
210
|
+
console.log('ā
Killed all remaining ng serve processes');
|
|
211
|
+
} catch (error) {
|
|
212
|
+
// Ignore errors
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
process.exit(0);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// Handle process termination signals
|
|
219
|
+
process.on('SIGINT', cleanup);
|
|
220
|
+
process.on('SIGTERM', cleanup);
|
|
221
|
+
|
|
222
|
+
console.log('š Starting dist folder watcher with automatic dev server restart...');
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compileOnSave": false,
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"strict": true,
|
|
5
|
+
"emitDecoratorMetadata": true,
|
|
6
|
+
"noImplicitOverride": true,
|
|
7
|
+
"noImplicitReturns": true,
|
|
8
|
+
"noFallthroughCasesInSwitch": true,
|
|
9
|
+
"skipLibCheck": true,
|
|
10
|
+
"isolatedModules": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"sourceMap": true,
|
|
13
|
+
"declaration": true,
|
|
14
|
+
"declarationMap": true,
|
|
15
|
+
"experimentalDecorators": true,
|
|
16
|
+
"moduleResolution": "node",
|
|
17
|
+
"importHelpers": true,
|
|
18
|
+
"target": "ESNext",
|
|
19
|
+
"module": "ESNext",
|
|
20
|
+
"outDir": "./dist",
|
|
21
|
+
"lib": [
|
|
22
|
+
"ESNext",
|
|
23
|
+
"dom"
|
|
24
|
+
],
|
|
25
|
+
"baseUrl": ".",
|
|
26
|
+
"paths": {
|
|
27
|
+
"@spartan-ng/helm/dialog": [
|
|
28
|
+
"./libs/ui/ui-dialog-helm/src/index.ts"
|
|
29
|
+
],
|
|
30
|
+
"@spartan-ng/helm/icon": [
|
|
31
|
+
"./projects/software-division-components/src/generic/icon/libs/ui/ui-icon-helm/src/index.ts"
|
|
32
|
+
],
|
|
33
|
+
"@software-division/components/carousel": [
|
|
34
|
+
"./libs/ui/ui-carousel-helm/src/index.ts"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"angularCompilerOptions": {
|
|
39
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
40
|
+
"strictInjectionParameters": true,
|
|
41
|
+
"strictInputAccessModifiers": true,
|
|
42
|
+
"strictTemplates": true,
|
|
43
|
+
"enableIvy": true,
|
|
44
|
+
"compilationMode": "partial"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"3ddv-software-division-components.d.ts","sourceRoot":"","sources":["../src/3ddv-software-division-components.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
|