@flywheel-io/vision 2.0.0 → 2.1.0-beta.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 +56 -0
- package/.eslintrc.json +307 -0
- package/.gitattributes +2 -0
- package/.gitlab-ci.yml +157 -0
- package/.nvmrc +1 -0
- package/.storybook/DocsContainer.tsx +103 -0
- package/.storybook/main.ts +18 -0
- package/.storybook/manager-head.html +29 -0
- package/.storybook/manager.ts +7 -0
- package/.storybook/preview.tsx +45 -0
- package/.storybook/public/images/brand-dark.png +0 -0
- package/.storybook/public/images/brand-light.png +0 -0
- package/.storybook/public/images/core.svg +22 -0
- package/.storybook/public/images/discovery.svg +22 -0
- package/.storybook/public/images/exchange.svg +28 -0
- package/.storybook/public/images/favicon.png +0 -0
- package/.storybook/public/images/grid.png +0 -0
- package/.storybook/sb-theme.ts +80 -0
- package/.storybook/tsconfig.json +19 -0
- package/.stylelintignore +2 -0
- package/.stylelintrc.json +48 -0
- package/.vscode/extensions.json +18 -0
- package/.vscode/settings.json +7 -0
- package/CONTRIBUTING.md +51 -0
- package/angular.json +95 -0
- package/build.js +66 -0
- package/elements/elements.html +0 -0
- package/install-into-frontend.sh +13 -0
- package/karma.conf.js +49 -0
- package/ng-package.json +26 -0
- package/package.json +77 -14
- package/publish-beta.sh +18 -0
- package/src/assets/.gitkeep +0 -0
- package/src/assets/brand/core.svg +22 -0
- package/src/assets/brand/discovery.svg +22 -0
- package/src/assets/brand/exchange.svg +28 -0
- package/src/assets/brand/fw-logo-mark-dark-bg.svg +4 -0
- package/src/assets/img/avatar.png +0 -0
- package/src/assets/updating-icons.md +71 -0
- package/src/color.utils.ts +47 -0
- package/src/components/alert/alert.component.html +19 -0
- package/src/components/alert/alert.component.scss +150 -0
- package/src/components/alert/alert.component.spec.ts +22 -0
- package/src/components/alert/alert.component.ts +19 -0
- package/src/components/alert/alert.mdx +16 -0
- package/src/components/alert/alert.module.ts +22 -0
- package/src/components/alert/alert.stories.ts +144 -0
- package/src/components/app-icon/app-icon.component.html +10 -0
- package/src/components/app-icon/app-icon.component.scss +348 -0
- package/src/components/app-icon/app-icon.component.spec.ts +22 -0
- package/src/components/app-icon/app-icon.component.ts +27 -0
- package/src/components/app-icon/app-icon.mdx +16 -0
- package/src/components/app-icon/app-icon.module.ts +20 -0
- package/src/components/app-icon/app-icon.stories.ts +200 -0
- package/src/components/avatar/avatar.component.html +22 -0
- package/src/components/avatar/avatar.component.scss +97 -0
- package/src/components/avatar/avatar.component.spec.ts +26 -0
- package/src/components/avatar/avatar.component.ts +50 -0
- package/src/components/avatar/avatar.mdx +16 -0
- package/src/components/avatar/avatar.module.ts +20 -0
- package/src/components/avatar/avatar.stories.ts +207 -0
- package/src/components/badge/badge.component.html +4 -0
- package/src/components/badge/badge.component.scss +98 -0
- package/src/components/badge/badge.component.spec.ts +26 -0
- package/src/components/badge/badge.component.ts +30 -0
- package/src/components/badge/badge.mdx +33 -0
- package/src/components/badge/badge.module.ts +18 -0
- package/src/components/badge/badge.stories.ts +131 -0
- package/src/components/breadcrumbs/breadcrumbs.component.scss +5 -0
- package/src/components/breadcrumbs/breadcrumbs.component.spec.ts +22 -0
- package/src/components/breadcrumbs/breadcrumbs.component.stories.ts +81 -0
- package/src/components/breadcrumbs/breadcrumbs.component.ts +20 -0
- package/src/components/breadcrumbs/breadcrumbs.mdx +53 -0
- package/src/components/breadcrumbs/breadcrumbs.module.ts +23 -0
- package/src/components/breadcrumbs/crumb.component.html +5 -0
- package/src/components/breadcrumbs/crumb.component.scss +23 -0
- package/src/components/breadcrumbs/crumb.component.stories.ts +53 -0
- package/src/components/breadcrumbs/crumb.component.ts +23 -0
- package/src/components/button/button.component.html +7 -0
- package/src/components/button/button.component.scss +129 -0
- package/src/components/button/button.component.spec.ts +26 -0
- package/src/components/button/button.component.ts +40 -0
- package/src/components/button/button.directives.ts +93 -0
- package/src/components/button/button.mdx +16 -0
- package/src/components/button/button.module.ts +39 -0
- package/src/components/button/button.stories.ts +165 -0
- package/src/components/button/story.css +0 -0
- package/src/components/button-group/button-group.component.scss +94 -0
- package/src/components/button-group/button-group.component.ts +138 -0
- package/src/components/button-group/button-group.mdx +23 -0
- package/src/components/button-group/button-group.module.ts +22 -0
- package/src/components/button-group/button-group.stories.ts +145 -0
- package/src/components/button-toggle/button-toggle-item/button-toggle-item.component.html +10 -0
- package/src/components/button-toggle/button-toggle-item/button-toggle-item.component.spec.ts +25 -0
- package/src/components/button-toggle/button-toggle-item/button-toggle-item.component.ts +36 -0
- package/src/components/button-toggle/button-toggle.component.scss +94 -0
- package/src/components/button-toggle/button-toggle.component.ts +145 -0
- package/src/components/button-toggle/button-toggle.mdx +23 -0
- package/src/components/button-toggle/button-toggle.module.ts +23 -0
- package/src/components/button-toggle/button-toggle.stories.ts +204 -0
- package/src/components/card/card-attribute/card-attribute.component.html +3 -0
- package/src/components/card/card-attribute/card-attribute.component.scss +19 -0
- package/src/components/card/card-attribute/card-attribute.component.spec.ts +22 -0
- package/src/components/card/card-attribute/card-attribute.component.ts +13 -0
- package/src/components/card/card-author/card-author.component.html +5 -0
- package/src/components/card/card-author/card-author.component.scss +21 -0
- package/src/components/card/card-author/card-author.component.spec.ts +22 -0
- package/src/components/card/card-author/card-author.component.ts +11 -0
- package/src/components/card/card-author/card-author.stories.ts +55 -0
- package/src/components/card/card-content/card-content.component.scss +26 -0
- package/src/components/card/card-content/card-content.component.spec.ts +22 -0
- package/src/components/card/card-content/card-content.component.ts +11 -0
- package/src/components/card/card-content/card-content.stories.ts +55 -0
- package/src/components/card/card-footer/card-footer.component.spec.ts +22 -0
- package/src/components/card/card-footer/card-footer.component.ts +24 -0
- package/src/components/card/card-footer/card-footer.stories.ts +72 -0
- package/src/components/card/card-header/card-header.component.html +9 -0
- package/src/components/card/card-header/card-header.component.scss +41 -0
- package/src/components/card/card-header/card-header.component.spec.ts +22 -0
- package/src/components/card/card-header/card-header.component.ts +15 -0
- package/src/components/card/card-header/card-header.stories.ts +58 -0
- package/src/components/card/card.component.html +12 -0
- package/src/components/card/card.component.scss +40 -0
- package/src/components/card/card.component.spec.ts +34 -0
- package/src/components/card/card.component.ts +16 -0
- package/src/components/card/card.mdx +128 -0
- package/src/components/card/card.module.ts +37 -0
- package/src/components/card/card.stories.ts +240 -0
- package/src/components/changelog.mdx +405 -0
- package/src/components/checkbox/checkbox.component.html +16 -0
- package/src/components/checkbox/checkbox.component.scss +189 -0
- package/src/components/checkbox/checkbox.component.ts +68 -0
- package/src/components/checkbox/checkbox.module.ts +21 -0
- package/src/components/checkbox/checkbox.stories.ts +224 -0
- package/src/components/chip/chip.component.html +14 -0
- package/src/components/chip/chip.component.scss +357 -0
- package/src/components/chip/chip.component.spec.ts +22 -0
- package/src/components/chip/chip.component.ts +32 -0
- package/src/components/chip/chip.mdx +16 -0
- package/src/components/chip/chip.module.ts +22 -0
- package/src/components/chip/chip.stories.ts +236 -0
- package/src/components/color-palette/color-palette.component.html +10 -0
- package/src/components/color-palette/color-palette.component.scss +15 -0
- package/src/components/color-palette/color-palette.component.ts +73 -0
- package/src/components/color-palette/color-palette.module.ts +22 -0
- package/src/components/color-palette/color-palette.stories.ts +35 -0
- package/src/components/color-palette/colors.mdx +47 -0
- package/src/components/color-palette/swatch/swatch.component.html +3 -0
- package/src/components/color-palette/swatch/swatch.component.scss +21 -0
- package/src/components/color-palette/swatch/swatch.component.ts +28 -0
- package/src/components/contained-input/contained-input.component.html +15 -0
- package/src/components/contained-input/contained-input.component.scss +88 -0
- package/src/components/contained-input/contained-input.component.spec.ts +34 -0
- package/src/components/contained-input/contained-input.component.ts +65 -0
- package/src/components/contained-input/contained-input.mdx +16 -0
- package/src/components/contained-input/contained-input.module.ts +26 -0
- package/src/components/contained-input/contained-input.stories.ts +155 -0
- package/src/components/date-input/date-input.component.html +28 -0
- package/src/components/date-input/date-input.component.scss +192 -0
- package/src/components/date-input/date-input.component.spec.ts +26 -0
- package/src/components/date-input/date-input.component.ts +126 -0
- package/src/components/date-input/date-input.mdx +23 -0
- package/src/components/date-input/date-input.module.ts +23 -0
- package/src/components/date-input/date-input.stories.ts +96 -0
- package/src/components/dialog/dialog-actions.component.ts +22 -0
- package/src/components/dialog/dialog-confirm.component.html +37 -0
- package/src/components/dialog/dialog-confirm.component.scss +49 -0
- package/src/components/dialog/dialog-confirm.component.ts +35 -0
- package/src/components/dialog/dialog-confirm.stories.ts +47 -0
- package/src/components/dialog/dialog-content.component.ts +28 -0
- package/src/components/dialog/dialog-header.component.ts +25 -0
- package/src/components/dialog/dialog-simple.component.html +27 -0
- package/src/components/dialog/dialog-simple.component.scss +13 -0
- package/src/components/dialog/dialog-simple.component.ts +36 -0
- package/src/components/dialog/dialog-simple.stories.ts +78 -0
- package/src/components/dialog/dialog.component.html +20 -0
- package/src/components/dialog/dialog.component.scss +94 -0
- package/src/components/dialog/dialog.component.ts +39 -0
- package/src/components/dialog/dialog.mdx +252 -0
- package/src/components/dialog/dialog.service.ts +34 -0
- package/src/components/dialog/dialog.stories.ts +169 -0
- package/src/components/dialog/dialogs.module.ts +47 -0
- package/src/components/form-heading/form-heading.component.html +15 -0
- package/src/components/form-heading/form-heading.component.scss +55 -0
- package/src/components/form-heading/form-heading.component.spec.ts +28 -0
- package/src/components/form-heading/form-heading.component.ts +17 -0
- package/src/components/form-heading/form-heading.mdx +16 -0
- package/src/components/form-heading/form-heading.module.ts +22 -0
- package/src/components/form-heading/form-heading.stories.ts +168 -0
- package/src/components/forms/validators.ts +97 -0
- package/src/components/getting-started.mdx +92 -0
- package/src/components/ghost/ghost.stories.ts +79 -0
- package/src/components/icon/README.txt +5 -0
- package/src/components/icon/icon.component.ts +52 -0
- package/src/components/icon/icon.mdx +36 -0
- package/src/components/icon/icon.module.ts +17 -0
- package/src/components/icon/icon.stories.ts +51 -0
- package/src/components/icon/icon.types.ts +331 -0
- package/src/components/icon/icons.stories.scss +63 -0
- package/src/components/icon/icons.stories.ts +95 -0
- package/src/components/icon/selection.json +1 -0
- package/src/components/icon-button/icon-button.component.html +6 -0
- package/src/components/icon-button/icon-button.component.scss +231 -0
- package/src/components/icon-button/icon-button.component.spec.ts +28 -0
- package/src/components/icon-button/icon-button.component.ts +32 -0
- package/src/components/icon-button/icon-button.mdx +16 -0
- package/src/components/icon-button/icon-button.module.ts +20 -0
- package/src/components/icon-button/icon-button.stories.ts +257 -0
- package/src/components/json/json.component.ts +15 -0
- package/src/components/layouts/context/context.component.html +6 -0
- package/src/components/layouts/context/context.component.scss +71 -0
- package/src/components/layouts/context/context.component.spec.ts +22 -0
- package/src/components/layouts/context/context.component.stories.ts +63 -0
- package/src/components/layouts/context/context.component.ts +32 -0
- package/src/components/layouts/context/context.mdx +15 -0
- package/src/components/layouts/grid/grid.component.scss +281 -0
- package/src/components/layouts/grid/grid.component.spec.ts +22 -0
- package/src/components/layouts/grid/grid.component.stories.ts +183 -0
- package/src/components/layouts/grid/grid.component.ts +43 -0
- package/src/components/layouts/grid/grid.mdx +27 -0
- package/src/components/layouts/layout-group.component.scss +38 -0
- package/src/components/layouts/layout-group.component.spec.ts +22 -0
- package/src/components/layouts/layout-group.component.stories.ts +105 -0
- package/src/components/layouts/layout-group.component.ts +24 -0
- package/src/components/layouts/layout-group.mdx +22 -0
- package/src/components/layouts/layouts.mdx +63 -0
- package/src/components/layouts/layouts.module.ts +37 -0
- package/src/components/layouts/panel/panel.component.html +9 -0
- package/src/components/layouts/panel/panel.component.scss +110 -0
- package/src/components/layouts/panel/panel.component.spec.ts +22 -0
- package/src/components/layouts/panel/panel.component.stories.ts +249 -0
- package/src/components/layouts/panel/panel.component.ts +16 -0
- package/src/components/layouts/panel/panel.mdx +28 -0
- package/src/components/layouts/sidebar/sidebar.component.html +14 -0
- package/src/components/layouts/sidebar/sidebar.component.scss +87 -0
- package/src/components/layouts/sidebar/sidebar.component.spec.ts +22 -0
- package/src/components/layouts/sidebar/sidebar.component.stories.ts +243 -0
- package/src/components/layouts/sidebar/sidebar.component.ts +14 -0
- package/src/components/layouts/sidebar/sidebar.mdx +18 -0
- package/src/components/layouts/toolbar/toolbar.component.scss +11 -0
- package/src/components/layouts/toolbar/toolbar.component.spec.ts +22 -0
- package/src/components/layouts/toolbar/toolbar.component.stories.ts +59 -0
- package/src/components/layouts/toolbar/toolbar.component.ts +15 -0
- package/src/components/layouts/toolbar/toolbar.mdx +16 -0
- package/src/components/menu/menu-close-triggers.directive.ts +27 -0
- package/src/components/menu/menu-container/menu-container.component.html +15 -0
- package/src/components/menu/menu-container/menu-container.component.scss +32 -0
- package/src/components/menu/menu-container/menu-container.component.spec.ts +22 -0
- package/src/components/menu/menu-container/menu-container.component.ts +125 -0
- package/src/components/menu/menu-container/menu-container.stories.ts +105 -0
- package/src/components/menu/menu-header/menu-header.component.html +5 -0
- package/src/components/menu/menu-header/menu-header.component.scss +20 -0
- package/src/components/menu/menu-header/menu-header.component.spec.ts +22 -0
- package/src/components/menu/menu-header/menu-header.component.ts +10 -0
- package/src/components/menu/menu-item/menu-item.component.html +42 -0
- package/src/components/menu/menu-item/menu-item.component.scss +163 -0
- package/src/components/menu/menu-item/menu-item.component.ts +120 -0
- package/src/components/menu/menu-item/menu-item.stories.ts +104 -0
- package/src/components/menu/menu-item-group/menu-item-group.component.html +9 -0
- package/src/components/menu/menu-item-group/menu-item-group.component.scss +33 -0
- package/src/components/menu/menu-item-group/menu-item-group.component.spec.ts +23 -0
- package/src/components/menu/menu-item-group/menu-item-group.component.ts +16 -0
- package/src/components/menu/menu-item-group/menu-item-group.stories.ts +83 -0
- package/src/components/menu/menu-separator/menu-separator.component.scss +6 -0
- package/src/components/menu/menu-separator/menu-separator.component.spec.ts +22 -0
- package/src/components/menu/menu-separator/menu-separator.component.ts +9 -0
- package/src/components/menu/menu-sub-item/menu-sub-item.component.html +18 -0
- package/src/components/menu/menu-sub-item/menu-sub-item.component.scss +125 -0
- package/src/components/menu/menu-sub-item/menu-sub-item.component.ts +66 -0
- package/src/components/menu/menu.component.html +3 -0
- package/src/components/menu/menu.component.scss +5 -0
- package/src/components/menu/menu.component.ts +135 -0
- package/src/components/menu/menu.mdx +119 -0
- package/src/components/menu/menu.module.ts +57 -0
- package/src/components/menu/menu.stories.ts +211 -0
- package/src/components/navbar/navbar-header/navbar-header.component.html +5 -0
- package/src/components/navbar/navbar-header/navbar-header.component.scss +20 -0
- package/src/components/navbar/navbar-header/navbar-header.component.ts +10 -0
- package/src/components/navbar/navbar-item/navbar-item.component.html +35 -0
- package/src/components/navbar/navbar-item/navbar-item.component.scss +142 -0
- package/src/components/navbar/navbar-item/navbar-item.component.ts +73 -0
- package/src/components/navbar/navbar-item/navbar-item.stories.ts +82 -0
- package/src/components/navbar/navbar-sub-item/navbar-sub-item.component.html +22 -0
- package/src/components/navbar/navbar-sub-item/navbar-sub-item.component.scss +152 -0
- package/src/components/navbar/navbar-sub-item/navbar-sub-item.component.ts +40 -0
- package/src/components/navbar/navbar.component.html +5 -0
- package/src/components/navbar/navbar.component.scss +16 -0
- package/src/components/navbar/navbar.component.ts +63 -0
- package/src/components/navbar/navbar.mdx +20 -0
- package/src/components/navbar/navbar.module.ts +41 -0
- package/src/components/navbar/navbar.stories.ts +201 -0
- package/src/components/number-input/number-input.component.html +39 -0
- package/src/components/number-input/number-input.component.scss +184 -0
- package/src/components/number-input/number-input.component.spec.ts +26 -0
- package/src/components/number-input/number-input.component.ts +96 -0
- package/src/components/number-input/number-input.mdx +25 -0
- package/src/components/number-input/number-input.module.ts +23 -0
- package/src/components/number-input/number-input.stories.ts +87 -0
- package/src/components/paginator/paginator-advanced/paginator-advanced.component.html +45 -0
- package/src/components/paginator/paginator-advanced/paginator-advanced.component.scss +217 -0
- package/src/components/paginator/paginator-advanced/paginator-advanced.component.spec.ts +32 -0
- package/src/components/paginator/paginator-advanced/paginator-advanced.component.ts +107 -0
- package/src/components/paginator/paginator-advanced/paginator-advanced.stories.ts +69 -0
- package/src/components/paginator/paginator.component.html +32 -0
- package/src/components/paginator/paginator.component.scss +212 -0
- package/src/components/paginator/paginator.component.spec.ts +24 -0
- package/src/components/paginator/paginator.component.ts +118 -0
- package/src/components/paginator/paginator.mdx +55 -0
- package/src/components/paginator/paginator.model.ts +8 -0
- package/src/components/paginator/paginator.module.ts +31 -0
- package/src/components/paginator/paginator.stories.ts +142 -0
- package/src/components/phone-input/country-code.data.ts +495 -0
- package/src/components/phone-input/images/arrow_drop_down_grey600_18dp.png +0 -0
- package/src/components/phone-input/images/flags_sprite_2x.png +0 -0
- package/src/components/phone-input/phone-input.component.html +68 -0
- package/src/components/phone-input/phone-input.component.scss +467 -0
- package/src/components/phone-input/phone-input.component.spec.ts +33 -0
- package/src/components/phone-input/phone-input.component.ts +318 -0
- package/src/components/phone-input/phone-input.mdx +49 -0
- package/src/components/phone-input/phone-input.model.ts +11 -0
- package/src/components/phone-input/phone-input.module.ts +29 -0
- package/src/components/phone-input/phone-input.stories.ts +201 -0
- package/src/components/popover/popover-panel/popover-panel.component.html +4 -0
- package/src/components/popover/popover-panel/popover-panel.component.scss +220 -0
- package/src/components/popover/popover-panel/popover-panel.component.spec.ts +22 -0
- package/src/components/popover/popover-panel/popover-panel.component.ts +22 -0
- package/src/components/popover/popover-panel/popover-panel.stories.ts +162 -0
- package/src/components/popover/popover.component.html +13 -0
- package/src/components/popover/popover.component.spec.ts +26 -0
- package/src/components/popover/popover.component.ts +77 -0
- package/src/components/popover/popover.mdx +52 -0
- package/src/components/popover/popover.module.ts +28 -0
- package/src/components/popover/popover.stories.ts +176 -0
- package/src/components/progress/bar/bar.component.html +18 -0
- package/src/components/progress/bar/bar.component.spec.ts +26 -0
- package/src/components/progress/bar/bar.component.ts +98 -0
- package/src/components/progress/bar/bar.mdx +22 -0
- package/src/components/progress/bar/bar.scss +313 -0
- package/src/components/progress/bar/bar.stories.ts +52 -0
- package/src/components/progress/progress.module.ts +21 -0
- package/src/components/progress/spinner/spinner.component.html +53 -0
- package/src/components/progress/spinner/spinner.component.scss +225 -0
- package/src/components/progress/spinner/spinner.component.spec.ts +26 -0
- package/src/components/progress/spinner/spinner.component.ts +107 -0
- package/src/components/progress/spinner/spinner.mdx +21 -0
- package/src/components/progress/spinner/spinner.stories.ts +70 -0
- package/src/components/radio/radio-group.component.ts +124 -0
- package/src/components/radio/radio-group.mdx +45 -0
- package/src/components/radio/radio-group.stories.ts +76 -0
- package/src/components/radio/radio.component.html +19 -0
- package/src/components/radio/radio.component.scss +132 -0
- package/src/components/radio/radio.component.ts +33 -0
- package/src/components/radio/radio.module.ts +24 -0
- package/src/components/radio/radio.stories.ts +168 -0
- package/src/components/section-heading/back-button/back-button.component.html +3 -0
- package/src/components/section-heading/back-button/back-button.component.scss +37 -0
- package/src/components/section-heading/back-button/back-button.component.spec.ts +27 -0
- package/src/components/section-heading/back-button/back-button.component.ts +24 -0
- package/src/components/section-heading/back-button/back-button.stories.ts +39 -0
- package/src/components/section-heading/section-heading.component.html +15 -0
- package/src/components/section-heading/section-heading.component.scss +48 -0
- package/src/components/section-heading/section-heading.component.spec.ts +28 -0
- package/src/components/section-heading/section-heading.component.ts +21 -0
- package/src/components/section-heading/section-heading.mdx +22 -0
- package/src/components/section-heading/section-heading.module.ts +28 -0
- package/src/components/section-heading/section-heading.stories.ts +141 -0
- package/src/components/section-heading/subsection-heading/subsection-heading.component.html +7 -0
- package/src/components/section-heading/subsection-heading/subsection-heading.component.scss +31 -0
- package/src/components/section-heading/subsection-heading/subsection-heading.component.spec.ts +23 -0
- package/src/components/section-heading/subsection-heading/subsection-heading.component.ts +17 -0
- package/src/components/section-heading/subsection-heading/subsection-heading.stories.ts +60 -0
- package/src/components/select-menu/multi-select-menu/multi-select-menu.component.html +75 -0
- package/src/components/select-menu/multi-select-menu/multi-select-menu.component.scss +91 -0
- package/src/components/select-menu/multi-select-menu/multi-select-menu.component.spec.ts +89 -0
- package/src/components/select-menu/multi-select-menu/multi-select-menu.component.ts +388 -0
- package/src/components/select-menu/multi-select-menu/multi-select-menu.mdx +27 -0
- package/src/components/select-menu/multi-select-menu/multi-select-menu.stories.ts +415 -0
- package/src/components/select-menu/select-menu.component.html +40 -0
- package/src/components/select-menu/select-menu.component.scss +4 -0
- package/src/components/select-menu/select-menu.component.spec.ts +242 -0
- package/src/components/select-menu/select-menu.component.ts +331 -0
- package/src/components/select-menu/select-menu.mdx +222 -0
- package/src/components/select-menu/select-menu.module.ts +37 -0
- package/src/components/select-menu/select-menu.stories.ts +409 -0
- package/src/components/shadows/shadows.stories.ts +75 -0
- package/src/components/shared/pipes/pipes.module.ts +24 -0
- package/src/components/shared/pipes/translate.pipe.ts +40 -0
- package/src/components/shared/pipes/trusthtml.pipe.ts +14 -0
- package/src/components/shared/services/menu-manager.service.ts +23 -0
- package/src/components/shared/translation.service.ts +24 -0
- package/src/components/snackbar/snackbar/snackbar.component.html +15 -0
- package/src/components/snackbar/snackbar/snackbar.component.scss +58 -0
- package/src/components/snackbar/snackbar/snackbar.component.spec.ts +56 -0
- package/src/components/snackbar/snackbar/snackbar.component.ts +115 -0
- package/src/components/snackbar/snackbar/snackbar.stories.ts +92 -0
- package/src/components/snackbar/snackbar-container/snackbar-container.component.html +18 -0
- package/src/components/snackbar/snackbar-container/snackbar-container.component.scss +22 -0
- package/src/components/snackbar/snackbar-container/snackbar-container.component.spec.ts +98 -0
- package/src/components/snackbar/snackbar-container/snackbar-container.component.ts +71 -0
- package/src/components/snackbar/snackbar-container/snackbar-container.stories.ts +70 -0
- package/src/components/snackbar/snackbar-message.model.ts +13 -0
- package/src/components/snackbar/snackbar-timer.service.ts +32 -0
- package/src/components/snackbar/snackbar.mdx +90 -0
- package/src/components/snackbar/snackbar.module.ts +31 -0
- package/src/components/snackbar/snackbar.service.spec.ts +16 -0
- package/src/components/snackbar/snackbar.service.ts +36 -0
- package/src/components/stepper/step.component.html +33 -0
- package/src/components/stepper/step.component.scss +421 -0
- package/src/components/stepper/step.component.ts +92 -0
- package/src/components/stepper/step.stories.ts +73 -0
- package/src/components/stepper/stepper.component.ts +100 -0
- package/src/components/stepper/stepper.mdx +83 -0
- package/src/components/stepper/stepper.module.ts +27 -0
- package/src/components/stepper/stepper.stories.ts +233 -0
- package/src/components/switch/switch.component.html +10 -0
- package/src/components/switch/switch.component.scss +179 -0
- package/src/components/switch/switch.component.spec.ts +22 -0
- package/src/components/switch/switch.component.ts +58 -0
- package/src/components/switch/switch.mdx +39 -0
- package/src/components/switch/switch.module.ts +18 -0
- package/src/components/switch/switch.stories.ts +117 -0
- package/src/components/table/cell.ts +111 -0
- package/src/components/table/row.ts +113 -0
- package/src/components/table/table-dense.component.scss +178 -0
- package/src/components/table/table-dense.component.ts +36 -0
- package/src/components/table/table-dense.stories.ts +105 -0
- package/src/components/table/table.component.html +4 -0
- package/src/components/table/table.component.scss +186 -0
- package/src/components/table/table.component.ts +36 -0
- package/src/components/table/table.mdx +83 -0
- package/src/components/table/table.module.ts +53 -0
- package/src/components/table/table.stories.ts +198 -0
- package/src/components/tabs/tab/tab.component.html +3 -0
- package/src/components/tabs/tab/tab.component.scss +79 -0
- package/src/components/tabs/tab/tab.component.spec.ts +22 -0
- package/src/components/tabs/tab/tab.component.ts +47 -0
- package/src/components/tabs/tab/tab.stories.ts +38 -0
- package/src/components/tabs/tab-panel/tab-panel.component.html +1 -0
- package/src/components/tabs/tab-panel/tab-panel.component.scss +7 -0
- package/src/components/tabs/tab-panel/tab-panel.component.spec.ts +22 -0
- package/src/components/tabs/tab-panel/tab-panel.component.ts +11 -0
- package/src/components/tabs/tabs.component.html +2 -0
- package/src/components/tabs/tabs.component.scss +9 -0
- package/src/components/tabs/tabs.component.spec.ts +22 -0
- package/src/components/tabs/tabs.component.ts +69 -0
- package/src/components/tabs/tabs.mdx +74 -0
- package/src/components/tabs/tabs.module.ts +26 -0
- package/src/components/tabs/tabs.stories.ts +87 -0
- package/src/components/text-input/text-input.component.html +37 -0
- package/src/components/text-input/text-input.component.scss +155 -0
- package/src/components/text-input/text-input.component.spec.ts +26 -0
- package/src/components/text-input/text-input.component.ts +100 -0
- package/src/components/text-input/text-input.mdx +24 -0
- package/src/components/text-input/text-input.module.ts +23 -0
- package/src/components/text-input/text-input.stories.ts +125 -0
- package/src/components/textarea-input/textarea-input.component.html +18 -0
- package/src/components/textarea-input/textarea-input.component.scss +97 -0
- package/src/components/textarea-input/textarea-input.component.spec.ts +28 -0
- package/src/components/textarea-input/textarea-input.component.ts +73 -0
- package/src/components/textarea-input/textarea-input.mdx +43 -0
- package/src/components/textarea-input/textarea-input.module.ts +25 -0
- package/src/components/textarea-input/textarea-input.stories.ts +106 -0
- package/src/components/tooltip/tooltip-panel/tooltip-panel.component.html +6 -0
- package/src/components/tooltip/tooltip-panel/tooltip-panel.component.scss +109 -0
- package/src/components/tooltip/tooltip-panel/tooltip-panel.component.ts +22 -0
- package/src/components/tooltip/tooltip-panel/tooltip-panel.stories.ts +74 -0
- package/src/components/tooltip/tooltip.component.html +16 -0
- package/src/components/tooltip/tooltip.component.scss +26 -0
- package/src/components/tooltip/tooltip.component.spec.ts +24 -0
- package/src/components/tooltip/tooltip.component.ts +30 -0
- package/src/components/tooltip/tooltip.mdx +27 -0
- package/src/components/tooltip/tooltip.module.ts +28 -0
- package/src/components/tooltip/tooltip.stories.ts +111 -0
- package/src/components/typography-sample/typography-sample.component.html +25 -0
- package/src/components/typography-sample/typography-sample.component.ts +10 -0
- package/src/components/typography-sample/typography-sample.module.ts +17 -0
- package/src/components/typography-sample/typography-sample.stories.ts +34 -0
- package/src/components/typography-sample/typography.mdx +41 -0
- package/src/components/wrapped-input/wrapped-input.component.html +10 -0
- package/src/components/wrapped-input/wrapped-input.component.scss +32 -0
- package/src/components/wrapped-input/wrapped-input.component.spec.ts +34 -0
- package/src/components/wrapped-input/wrapped-input.component.ts +18 -0
- package/src/components/wrapped-input/wrapped-input.mdx +26 -0
- package/src/components/wrapped-input/wrapped-input.module.ts +20 -0
- package/src/components/wrapped-input/wrapped-input.stories.ts +195 -0
- package/src/directives/menu-register.directive.ts +25 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +16 -0
- package/src/storybook.helper.ts +35 -0
- package/src/test.ts +15 -0
- package/tsconfig.json +29 -0
- package/tsconfig.lib.json +21 -0
- package/tsconfig.spec.json +28 -0
- package/update-icons.js +40 -0
- package/color.utils.d.ts +0 -2
- package/components/alert/alert.component.d.ts +0 -14
- package/components/alert/alert.module.d.ts +0 -10
- package/components/app-icon/app-icon.component.d.ts +0 -19
- package/components/app-icon/app-icon.module.d.ts +0 -9
- package/components/avatar/avatar.component.d.ts +0 -23
- package/components/avatar/avatar.module.d.ts +0 -9
- package/components/badge/badge.component.d.ts +0 -12
- package/components/badge/badge.module.d.ts +0 -8
- package/components/breadcrumbs/breadcrumbs.component.d.ts +0 -9
- package/components/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/components/breadcrumbs/crumb.component.d.ts +0 -12
- package/components/button/button.component.d.ts +0 -16
- package/components/button/button.directives.d.ts +0 -37
- package/components/button/button.module.d.ts +0 -11
- package/components/button-group/button-group.component.d.ts +0 -33
- package/components/button-group/button-group.module.d.ts +0 -10
- package/components/button-toggle/button-toggle-item/button-toggle-item.component.d.ts +0 -21
- package/components/button-toggle/button-toggle.component.d.ts +0 -34
- package/components/button-toggle/button-toggle.module.d.ts +0 -10
- package/components/card/card-attribute/card-attribute.component.d.ts +0 -8
- package/components/card/card-author/card-author.component.d.ts +0 -7
- package/components/card/card-content/card-content.component.d.ts +0 -5
- package/components/card/card-footer/card-footer.component.d.ts +0 -9
- package/components/card/card-header/card-header.component.d.ts +0 -10
- package/components/card/card.component.d.ts +0 -12
- package/components/card/card.module.d.ts +0 -15
- package/components/checkbox/checkbox.component.d.ts +0 -23
- package/components/checkbox/checkbox.module.d.ts +0 -9
- package/components/chip/chip.component.d.ts +0 -20
- package/components/chip/chip.module.d.ts +0 -10
- package/components/contained-input/contained-input.component.d.ts +0 -23
- package/components/contained-input/contained-input.module.d.ts +0 -12
- package/components/date-input/date-input.component.d.ts +0 -47
- package/components/date-input/date-input.module.d.ts +0 -10
- package/components/dialog/dialog-actions.component.d.ts +0 -9
- package/components/dialog/dialog-confirm.component.d.ts +0 -25
- package/components/dialog/dialog-content.component.d.ts +0 -10
- package/components/dialog/dialog-header.component.d.ts +0 -9
- package/components/dialog/dialog-simple.component.d.ts +0 -25
- package/components/dialog/dialog.component.d.ts +0 -25
- package/components/dialog/dialog.service.d.ts +0 -17
- package/components/dialog/dialogs.module.d.ts +0 -18
- package/components/form-heading/form-heading.component.d.ts +0 -10
- package/components/form-heading/form-heading.module.d.ts +0 -10
- package/components/forms/validators.d.ts +0 -29
- package/components/icon/icon.component.d.ts +0 -13
- package/components/icon/icon.module.d.ts +0 -8
- package/components/icon/icon.types.d.ts +0 -2
- package/components/icon-button/icon-button.component.d.ts +0 -12
- package/components/icon-button/icon-button.module.d.ts +0 -9
- package/components/layouts/context/context.component.d.ts +0 -18
- package/components/layouts/grid/grid.component.d.ts +0 -19
- package/components/layouts/layout-group.component.d.ts +0 -9
- package/components/layouts/layouts.module.d.ts +0 -14
- package/components/layouts/panel/panel.component.d.ts +0 -11
- package/components/layouts/sidebar/sidebar.component.d.ts +0 -9
- package/components/layouts/toolbar/toolbar.component.d.ts +0 -7
- package/components/menu/menu-close-triggers.directive.d.ts +0 -10
- package/components/menu/menu-container/menu-container.component.d.ts +0 -43
- package/components/menu/menu-header/menu-header.component.d.ts +0 -5
- package/components/menu/menu-item/menu-item.component.d.ts +0 -37
- package/components/menu/menu-item-group/menu-item-group.component.d.ts +0 -11
- package/components/menu/menu-separator/menu-separator.component.d.ts +0 -5
- package/components/menu/menu-sub-item/menu-sub-item.component.d.ts +0 -21
- package/components/menu/menu.component.d.ts +0 -28
- package/components/menu/menu.module.d.ts +0 -24
- package/components/navbar/navbar-header/navbar-header.component.d.ts +0 -5
- package/components/navbar/navbar-item/navbar-item.component.d.ts +0 -28
- package/components/navbar/navbar-sub-item/navbar-sub-item.component.d.ts +0 -18
- package/components/navbar/navbar.component.d.ts +0 -14
- package/components/navbar/navbar.module.d.ts +0 -18
- package/components/number-input/number-input.component.d.ts +0 -42
- package/components/number-input/number-input.module.d.ts +0 -10
- package/components/paginator/paginator-advanced/paginator-advanced.component.d.ts +0 -32
- package/components/paginator/paginator.component.d.ts +0 -43
- package/components/paginator/paginator.model.d.ts +0 -8
- package/components/paginator/paginator.module.d.ts +0 -14
- package/components/phone-input/country-code.data.d.ts +0 -2
- package/components/phone-input/phone-input.component.d.ts +0 -66
- package/components/phone-input/phone-input.model.d.ts +0 -10
- package/components/phone-input/phone-input.module.d.ts +0 -13
- package/components/popover/popover-panel/popover-panel.component.d.ts +0 -10
- package/components/popover/popover.component.d.ts +0 -19
- package/components/popover/popover.module.d.ts +0 -11
- package/components/progress/bar/bar.component.d.ts +0 -32
- package/components/progress/progress.module.d.ts +0 -9
- package/components/progress/spinner/spinner.component.d.ts +0 -37
- package/components/radio/radio-group.component.d.ts +0 -32
- package/components/radio/radio.component.d.ts +0 -17
- package/components/radio/radio.module.d.ts +0 -10
- package/components/section-heading/back-button/back-button.component.d.ts +0 -11
- package/components/section-heading/section-heading.component.d.ts +0 -13
- package/components/section-heading/section-heading.module.d.ts +0 -12
- package/components/section-heading/subsection-heading/subsection-heading.component.d.ts +0 -9
- package/components/select-menu/multi-select-menu/multi-select-menu.component.d.ts +0 -82
- package/components/select-menu/select-menu.component.d.ts +0 -70
- package/components/select-menu/select-menu.module.d.ts +0 -17
- package/components/shared/pipes/pipes.module.d.ts +0 -10
- package/components/shared/pipes/translate.pipe.d.ts +0 -17
- package/components/shared/pipes/trusthtml.pipe.d.ts +0 -10
- package/components/shared/services/menu-manager.service.d.ts +0 -10
- package/components/shared/translation.service.d.ts +0 -14
- package/components/snackbar/snackbar/snackbar.component.d.ts +0 -24
- package/components/snackbar/snackbar-container/snackbar-container.component.d.ts +0 -20
- package/components/snackbar/snackbar-message.model.d.ts +0 -12
- package/components/snackbar/snackbar-timer.service.d.ts +0 -10
- package/components/snackbar/snackbar.module.d.ts +0 -12
- package/components/snackbar/snackbar.service.d.ts +0 -13
- package/components/stepper/step.component.d.ts +0 -27
- package/components/stepper/stepper.component.d.ts +0 -23
- package/components/stepper/stepper.module.d.ts +0 -11
- package/components/switch/switch.component.d.ts +0 -22
- package/components/switch/switch.module.d.ts +0 -8
- package/components/table/cell.d.ts +0 -63
- package/components/table/row.d.ts +0 -58
- package/components/table/table-dense.component.d.ts +0 -11
- package/components/table/table.component.d.ts +0 -11
- package/components/table/table.module.d.ts +0 -12
- package/components/tabs/tab/tab.component.d.ts +0 -21
- package/components/tabs/tab-panel/tab-panel.component.d.ts +0 -6
- package/components/tabs/tabs.component.d.ts +0 -17
- package/components/tabs/tabs.module.d.ts +0 -11
- package/components/text-input/text-input.component.d.ts +0 -48
- package/components/text-input/text-input.module.d.ts +0 -10
- package/components/textarea-input/textarea-input.component.d.ts +0 -34
- package/components/textarea-input/textarea-input.module.d.ts +0 -11
- package/components/tooltip/tooltip-panel/tooltip-panel.component.d.ts +0 -12
- package/components/tooltip/tooltip.component.d.ts +0 -17
- package/components/tooltip/tooltip.module.d.ts +0 -11
- package/components/wrapped-input/wrapped-input.component.d.ts +0 -10
- package/components/wrapped-input/wrapped-input.module.d.ts +0 -9
- package/directives/menu-register.directive.d.ts +0 -14
- package/esm2022/color.utils.mjs +0 -45
- package/esm2022/components/alert/alert.component.mjs +0 -34
- package/esm2022/components/alert/alert.module.mjs +0 -32
- package/esm2022/components/app-icon/app-icon.component.mjs +0 -63
- package/esm2022/components/app-icon/app-icon.module.mjs +0 -28
- package/esm2022/components/avatar/avatar.component.mjs +0 -66
- package/esm2022/components/avatar/avatar.module.mjs +0 -28
- package/esm2022/components/badge/badge.component.mjs +0 -45
- package/esm2022/components/badge/badge.module.mjs +0 -24
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -22
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +0 -33
- package/esm2022/components/breadcrumbs/crumb.component.mjs +0 -34
- package/esm2022/components/button/button.component.mjs +0 -59
- package/esm2022/components/button/button.directives.mjs +0 -129
- package/esm2022/components/button/button.module.mjs +0 -53
- package/esm2022/components/button-group/button-group.component.mjs +0 -131
- package/esm2022/components/button-group/button-group.module.mjs +0 -32
- package/esm2022/components/button-toggle/button-toggle-item/button-toggle-item.component.mjs +0 -54
- package/esm2022/components/button-toggle/button-toggle.component.mjs +0 -137
- package/esm2022/components/button-toggle/button-toggle.module.mjs +0 -33
- package/esm2022/components/card/card-attribute/card-attribute.component.mjs +0 -17
- package/esm2022/components/card/card-author/card-author.component.mjs +0 -15
- package/esm2022/components/card/card-content/card-content.component.mjs +0 -11
- package/esm2022/components/card/card-footer/card-footer.component.mjs +0 -29
- package/esm2022/components/card/card-header/card-header.component.mjs +0 -24
- package/esm2022/components/card/card.component.mjs +0 -27
- package/esm2022/components/card/card.module.mjs +0 -57
- package/esm2022/components/checkbox/checkbox.component.mjs +0 -79
- package/esm2022/components/checkbox/checkbox.module.mjs +0 -31
- package/esm2022/components/chip/chip.component.mjs +0 -52
- package/esm2022/components/chip/chip.module.mjs +0 -32
- package/esm2022/components/contained-input/contained-input.component.mjs +0 -86
- package/esm2022/components/contained-input/contained-input.module.mjs +0 -40
- package/esm2022/components/date-input/date-input.component.mjs +0 -139
- package/esm2022/components/date-input/date-input.module.mjs +0 -32
- package/esm2022/components/dialog/dialog-actions.component.mjs +0 -32
- package/esm2022/components/dialog/dialog-confirm.component.mjs +0 -63
- package/esm2022/components/dialog/dialog-content.component.mjs +0 -38
- package/esm2022/components/dialog/dialog-header.component.mjs +0 -35
- package/esm2022/components/dialog/dialog-simple.component.mjs +0 -62
- package/esm2022/components/dialog/dialog.component.mjs +0 -55
- package/esm2022/components/dialog/dialog.service.mjs +0 -49
- package/esm2022/components/dialog/dialogs.module.mjs +0 -75
- package/esm2022/components/form-heading/form-heading.component.mjs +0 -24
- package/esm2022/components/form-heading/form-heading.module.mjs +0 -32
- package/esm2022/components/forms/validators.mjs +0 -81
- package/esm2022/components/icon/icon.component.mjs +0 -61
- package/esm2022/components/icon/icon.module.mjs +0 -24
- package/esm2022/components/icon/icon.types.mjs +0 -330
- package/esm2022/components/icon-button/icon-button.component.mjs +0 -39
- package/esm2022/components/icon-button/icon-button.module.mjs +0 -28
- package/esm2022/components/layouts/context/context.component.mjs +0 -46
- package/esm2022/components/layouts/grid/grid.component.mjs +0 -62
- package/esm2022/components/layouts/layout-group.component.mjs +0 -36
- package/esm2022/components/layouts/layouts.module.mjs +0 -57
- package/esm2022/components/layouts/panel/panel.component.mjs +0 -32
- package/esm2022/components/layouts/sidebar/sidebar.component.mjs +0 -26
- package/esm2022/components/layouts/toolbar/toolbar.component.mjs +0 -21
- package/esm2022/components/menu/menu-close-triggers.directive.mjs +0 -38
- package/esm2022/components/menu/menu-container/menu-container.component.mjs +0 -126
- package/esm2022/components/menu/menu-header/menu-header.component.mjs +0 -11
- package/esm2022/components/menu/menu-item/menu-item.component.mjs +0 -134
- package/esm2022/components/menu/menu-item-group/menu-item-group.component.mjs +0 -31
- package/esm2022/components/menu/menu-separator/menu-separator.component.mjs +0 -11
- package/esm2022/components/menu/menu-sub-item/menu-sub-item.component.mjs +0 -103
- package/esm2022/components/menu/menu.component.mjs +0 -129
- package/esm2022/components/menu/menu.module.mjs +0 -95
- package/esm2022/components/navbar/navbar-header/navbar-header.component.mjs +0 -11
- package/esm2022/components/navbar/navbar-item/navbar-item.component.mjs +0 -95
- package/esm2022/components/navbar/navbar-sub-item/navbar-sub-item.component.mjs +0 -76
- package/esm2022/components/navbar/navbar.component.mjs +0 -75
- package/esm2022/components/navbar/navbar.module.mjs +0 -67
- package/esm2022/components/number-input/number-input.component.mjs +0 -122
- package/esm2022/components/number-input/number-input.module.mjs +0 -32
- package/esm2022/components/paginator/paginator-advanced/paginator-advanced.component.mjs +0 -123
- package/esm2022/components/paginator/paginator.component.mjs +0 -133
- package/esm2022/components/paginator/paginator.model.mjs +0 -2
- package/esm2022/components/paginator/paginator.module.mjs +0 -49
- package/esm2022/components/phone-input/country-code.data.mjs +0 -495
- package/esm2022/components/phone-input/phone-input.component.mjs +0 -285
- package/esm2022/components/phone-input/phone-input.model.mjs +0 -2
- package/esm2022/components/phone-input/phone-input.module.mjs +0 -47
- package/esm2022/components/popover/popover-panel/popover-panel.component.mjs +0 -30
- package/esm2022/components/popover/popover.component.mjs +0 -76
- package/esm2022/components/popover/popover.module.mjs +0 -42
- package/esm2022/components/progress/bar/bar.component.mjs +0 -83
- package/esm2022/components/progress/progress.module.mjs +0 -29
- package/esm2022/components/progress/spinner/spinner.component.mjs +0 -101
- package/esm2022/components/radio/radio-group.component.mjs +0 -117
- package/esm2022/components/radio/radio.component.mjs +0 -51
- package/esm2022/components/radio/radio.module.mjs +0 -36
- package/esm2022/components/section-heading/back-button/back-button.component.mjs +0 -30
- package/esm2022/components/section-heading/section-heading.component.mjs +0 -31
- package/esm2022/components/section-heading/section-heading.module.mjs +0 -42
- package/esm2022/components/section-heading/subsection-heading/subsection-heading.component.mjs +0 -19
- package/esm2022/components/select-menu/multi-select-menu/multi-select-menu.component.mjs +0 -354
- package/esm2022/components/select-menu/select-menu.component.mjs +0 -332
- package/esm2022/components/select-menu/select-menu.module.mjs +0 -60
- package/esm2022/components/shared/pipes/pipes.module.mjs +0 -36
- package/esm2022/components/shared/pipes/translate.pipe.mjs +0 -40
- package/esm2022/components/shared/pipes/trusthtml.pipe.mjs +0 -21
- package/esm2022/components/shared/services/menu-manager.service.mjs +0 -27
- package/esm2022/components/shared/translation.service.mjs +0 -26
- package/esm2022/components/snackbar/snackbar/snackbar.component.mjs +0 -111
- package/esm2022/components/snackbar/snackbar-container/snackbar-container.component.mjs +0 -63
- package/esm2022/components/snackbar/snackbar-message.model.mjs +0 -2
- package/esm2022/components/snackbar/snackbar-timer.service.mjs +0 -29
- package/esm2022/components/snackbar/snackbar.module.mjs +0 -47
- package/esm2022/components/snackbar/snackbar.service.mjs +0 -36
- package/esm2022/components/stepper/step.component.mjs +0 -113
- package/esm2022/components/stepper/stepper.component.mjs +0 -95
- package/esm2022/components/stepper/stepper.module.mjs +0 -41
- package/esm2022/components/switch/switch.component.mjs +0 -73
- package/esm2022/components/switch/switch.module.mjs +0 -24
- package/esm2022/components/table/cell.mjs +0 -151
- package/esm2022/components/table/row.mjs +0 -164
- package/esm2022/components/table/table-dense.component.mjs +0 -38
- package/esm2022/components/table/table.component.mjs +0 -38
- package/esm2022/components/table/table.module.mjs +0 -91
- package/esm2022/components/tabs/tab/tab.component.mjs +0 -79
- package/esm2022/components/tabs/tab-panel/tab-panel.component.mjs +0 -19
- package/esm2022/components/tabs/tabs.component.mjs +0 -68
- package/esm2022/components/tabs/tabs.module.mjs +0 -38
- package/esm2022/components/text-input/text-input.component.mjs +0 -125
- package/esm2022/components/text-input/text-input.module.mjs +0 -32
- package/esm2022/components/textarea-input/textarea-input.component.mjs +0 -86
- package/esm2022/components/textarea-input/textarea-input.module.mjs +0 -36
- package/esm2022/components/tooltip/tooltip-panel/tooltip-panel.component.mjs +0 -37
- package/esm2022/components/tooltip/tooltip.component.mjs +0 -49
- package/esm2022/components/tooltip/tooltip.module.mjs +0 -42
- package/esm2022/components/wrapped-input/wrapped-input.component.mjs +0 -27
- package/esm2022/components/wrapped-input/wrapped-input.module.mjs +0 -28
- package/esm2022/directives/menu-register.directive.mjs +0 -38
- package/esm2022/flywheel-io-vision.mjs +0 -5
- package/esm2022/public-api.mjs +0 -128
- package/fesm2022/flywheel-io-vision.mjs +0 -8108
- package/fesm2022/flywheel-io-vision.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/styles.css +0 -1776
- /package/{assets → src/assets}/fonts/Flywheel-Vision-Icons.svg +0 -0
- /package/{assets → src/assets}/fonts/Flywheel-Vision-Icons.ttf +0 -0
- /package/{assets → src/assets}/fonts/Flywheel-Vision-Icons.woff +0 -0
- /package/{assets → src/assets}/svg/3d-sphere-rotate-arrows.svg +0 -0
- /package/{assets → src/assets}/svg/add-circle.svg +0 -0
- /package/{assets → src/assets}/svg/add-new-create.svg +0 -0
- /package/{assets → src/assets}/svg/add-row-above.svg +0 -0
- /package/{assets → src/assets}/svg/add-row-below.svg +0 -0
- /package/{assets → src/assets}/svg/add-server-databases-endpoint.svg +0 -0
- /package/{assets → src/assets}/svg/add-server.svg +0 -0
- /package/{assets → src/assets}/svg/add-user.svg +0 -0
- /package/{assets → src/assets}/svg/ai.svg +0 -0
- /package/{assets → src/assets}/svg/apple.svg +0 -0
- /package/{assets → src/assets}/svg/apply-copy-duplicate.svg +0 -0
- /package/{assets → src/assets}/svg/arrange-filter-sort.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-annotate.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-back-collapse.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-back.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-down.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-forward-collapse.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-forward.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-redo.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-rotate-restore.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-rotate.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-undo.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-up-high-priority.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-up-low-priority.svg +0 -0
- /package/{assets → src/assets}/svg/arrow-up.svg +0 -0
- /package/{assets → src/assets}/svg/arrow.svg +0 -0
- /package/{assets → src/assets}/svg/barcode-serial.svg +0 -0
- /package/{assets → src/assets}/svg/barcode-stack-scan.svg +0 -0
- /package/{assets → src/assets}/svg/bell-notification.svg +0 -0
- /package/{assets → src/assets}/svg/bezier-curve.svg +0 -0
- /package/{assets → src/assets}/svg/blocks-code-test-checkmark.svg +0 -0
- /package/{assets → src/assets}/svg/book-lab-flask.svg +0 -0
- /package/{assets → src/assets}/svg/bookmark-plus-add.svg +0 -0
- /package/{assets → src/assets}/svg/bookmark.svg +0 -0
- /package/{assets → src/assets}/svg/brain.svg +0 -0
- /package/{assets → src/assets}/svg/brightness-photo-edit.svg +0 -0
- /package/{assets → src/assets}/svg/browser-internet-web-windows.svg +0 -0
- /package/{assets → src/assets}/svg/brush-edit-create.svg +0 -0
- /package/{assets → src/assets}/svg/bucket-paint.svg +0 -0
- /package/{assets → src/assets}/svg/button-form-element.svg +0 -0
- /package/{assets → src/assets}/svg/calendar-arrow-left-center.svg +0 -0
- /package/{assets → src/assets}/svg/calendar-schedule.svg +0 -0
- /package/{assets → src/assets}/svg/camera-photo-capture.svg +0 -0
- /package/{assets → src/assets}/svg/cash-banknotes.svg +0 -0
- /package/{assets → src/assets}/svg/certificate.svg +0 -0
- /package/{assets → src/assets}/svg/chart-square.svg +0 -0
- /package/{assets → src/assets}/svg/chart-trend-square.svg +0 -0
- /package/{assets → src/assets}/svg/chat-messages-bubble.svg +0 -0
- /package/{assets → src/assets}/svg/check-mark-certificate.svg +0 -0
- /package/{assets → src/assets}/svg/checklist-tasks-chechmark-square.svg +0 -0
- /package/{assets → src/assets}/svg/checklist.svg +0 -0
- /package/{assets → src/assets}/svg/chevron-back.svg +0 -0
- /package/{assets → src/assets}/svg/chevron-down.svg +0 -0
- /package/{assets → src/assets}/svg/chevron-forward.svg +0 -0
- /package/{assets → src/assets}/svg/chevron-input-number.svg +0 -0
- /package/{assets → src/assets}/svg/chevron-up.svg +0 -0
- /package/{assets → src/assets}/svg/circle-ellipses.svg +0 -0
- /package/{assets → src/assets}/svg/circle.svg +0 -0
- /package/{assets → src/assets}/svg/clap-applause-hands.svg +0 -0
- /package/{assets → src/assets}/svg/clip-attachment.svg +0 -0
- /package/{assets → src/assets}/svg/clock-history.svg +0 -0
- /package/{assets → src/assets}/svg/clock-hour-4.svg +0 -0
- /package/{assets → src/assets}/svg/clock-loading.svg +0 -0
- /package/{assets → src/assets}/svg/close-circled.svg +0 -0
- /package/{assets → src/assets}/svg/close.svg +0 -0
- /package/{assets → src/assets}/svg/closed-freehand-vector-poly.svg +0 -0
- /package/{assets → src/assets}/svg/cloud-network-add.svg +0 -0
- /package/{assets → src/assets}/svg/cloud-storage-checkmark.svg +0 -0
- /package/{assets → src/assets}/svg/cloud-upload.svg +0 -0
- /package/{assets → src/assets}/svg/code-block-embed.svg +0 -0
- /package/{assets → src/assets}/svg/code-text.svg +0 -0
- /package/{assets → src/assets}/svg/color-design-profile.svg +0 -0
- /package/{assets → src/assets}/svg/color-ven-design-profile-central.svg +0 -0
- /package/{assets → src/assets}/svg/column-edit.svg +0 -0
- /package/{assets → src/assets}/svg/computer-chip.svg +0 -0
- /package/{assets → src/assets}/svg/contrast-photo-edit.svg +0 -0
- /package/{assets → src/assets}/svg/copy-item.svg +0 -0
- /package/{assets → src/assets}/svg/creative-commons.svg +0 -0
- /package/{assets → src/assets}/svg/crosshair.svg +0 -0
- /package/{assets → src/assets}/svg/crown-style-circle.svg +0 -0
- /package/{assets → src/assets}/svg/cursor-select.svg +0 -0
- /package/{assets → src/assets}/svg/curve-object-secet-cursor.svg +0 -0
- /package/{assets → src/assets}/svg/data-tree.svg +0 -0
- /package/{assets → src/assets}/svg/delivery-shipment-packages.svg +0 -0
- /package/{assets → src/assets}/svg/dna-hospital-medical.svg +0 -0
- /package/{assets → src/assets}/svg/document-file-add-plus-bottom-left.svg +0 -0
- /package/{assets → src/assets}/svg/document-file-blank.svg +0 -0
- /package/{assets → src/assets}/svg/document-file-checkmark-bottom-left.svg +0 -0
- /package/{assets → src/assets}/svg/document-file-download.svg +0 -0
- /package/{assets → src/assets}/svg/document-file-list-protocol.svg +0 -0
- /package/{assets → src/assets}/svg/document-file-tar.svg +0 -0
- /package/{assets → src/assets}/svg/document-file-upload-bottom-center.svg +0 -0
- /package/{assets → src/assets}/svg/document-file-zip.svg +0 -0
- /package/{assets → src/assets}/svg/document-status-done-checkmark.svg +0 -0
- /package/{assets → src/assets}/svg/document-visible.svg +0 -0
- /package/{assets → src/assets}/svg/documents-file.svg +0 -0
- /package/{assets → src/assets}/svg/documents-files.svg +0 -0
- /package/{assets → src/assets}/svg/done-check-tracked.svg +0 -0
- /package/{assets → src/assets}/svg/done-check.svg +0 -0
- /package/{assets → src/assets}/svg/download-status.svg +0 -0
- /package/{assets → src/assets}/svg/download.svg +0 -0
- /package/{assets → src/assets}/svg/drag-drop-indicator.svg +0 -0
- /package/{assets → src/assets}/svg/draw-rectangle.svg +0 -0
- /package/{assets → src/assets}/svg/earth-globe-fail.svg +0 -0
- /package/{assets → src/assets}/svg/edit-boxed.svg +0 -0
- /package/{assets → src/assets}/svg/edit-erase.svg +0 -0
- /package/{assets → src/assets}/svg/edit.svg +0 -0
- /package/{assets → src/assets}/svg/email-mail-checkmark-group.svg +0 -0
- /package/{assets → src/assets}/svg/email.svg +0 -0
- /package/{assets → src/assets}/svg/embed-circle.svg +0 -0
- /package/{assets → src/assets}/svg/exchange.svg +0 -0
- /package/{assets → src/assets}/svg/expand-pathfinder-dot-square-segmentation.svg +0 -0
- /package/{assets → src/assets}/svg/facebook.svg +0 -0
- /package/{assets → src/assets}/svg/file-blank-image-load-mask.svg +0 -0
- /package/{assets → src/assets}/svg/file-download.svg +0 -0
- /package/{assets → src/assets}/svg/file-text.svg +0 -0
- /package/{assets → src/assets}/svg/files-library-content.svg +0 -0
- /package/{assets → src/assets}/svg/files-library.svg +0 -0
- /package/{assets → src/assets}/svg/files.svg +0 -0
- /package/{assets → src/assets}/svg/filter-sort-add.svg +0 -0
- /package/{assets → src/assets}/svg/filter-sort-check-mark.svg +0 -0
- /package/{assets → src/assets}/svg/filter-sort-delete.svg +0 -0
- /package/{assets → src/assets}/svg/filter.svg +0 -0
- /package/{assets → src/assets}/svg/flag.svg +0 -0
- /package/{assets → src/assets}/svg/flip-horizontal.svg +0 -0
- /package/{assets → src/assets}/svg/flip-vertical.svg +0 -0
- /package/{assets → src/assets}/svg/floppy-save.svg +0 -0
- /package/{assets → src/assets}/svg/flywheel-mark-logo.svg +0 -0
- /package/{assets → src/assets}/svg/flywheel-viewer-mark-logo.svg +0 -0
- /package/{assets → src/assets}/svg/folder-add.svg +0 -0
- /package/{assets → src/assets}/svg/folder-blank.svg +0 -0
- /package/{assets → src/assets}/svg/folder-checked.svg +0 -0
- /package/{assets → src/assets}/svg/folder-group.svg +0 -0
- /package/{assets → src/assets}/svg/folder-open.svg +0 -0
- /package/{assets → src/assets}/svg/folder-share.svg +0 -0
- /package/{assets → src/assets}/svg/folders-copy-expand-arrow-down.svg +0 -0
- /package/{assets → src/assets}/svg/folders-copy-expand-arrow-up.svg +0 -0
- /package/{assets → src/assets}/svg/form-metadata-element.svg +0 -0
- /package/{assets → src/assets}/svg/free-rights.svg +0 -0
- /package/{assets → src/assets}/svg/freehand-vector-poly.svg +0 -0
- /package/{assets → src/assets}/svg/full-screen-zoom.svg +0 -0
- /package/{assets → src/assets}/svg/github-color-login.svg +0 -0
- /package/{assets → src/assets}/svg/gitlab.svg +0 -0
- /package/{assets → src/assets}/svg/graduate-hat.svg +0 -0
- /package/{assets → src/assets}/svg/grid-dot-square.svg +0 -0
- /package/{assets → src/assets}/svg/grid-layout.svg +0 -0
- /package/{assets → src/assets}/svg/hammer-legal-square.svg +0 -0
- /package/{assets → src/assets}/svg/hammer-screwdriver.svg +0 -0
- /package/{assets → src/assets}/svg/hand-money-currency.svg +0 -0
- /package/{assets → src/assets}/svg/header-form-element.svg +0 -0
- /package/{assets → src/assets}/svg/home-modern-door.svg +0 -0
- /package/{assets → src/assets}/svg/home-modern-option-lines.svg +0 -0
- /package/{assets → src/assets}/svg/human-artificial-intelligence.svg +0 -0
- /package/{assets → src/assets}/svg/icon-placeholder.svg +0 -0
- /package/{assets → src/assets}/svg/image-photo-copy-left-down.svg +0 -0
- /package/{assets → src/assets}/svg/image-picture-square.svg +0 -0
- /package/{assets → src/assets}/svg/information-circle.svg +0 -0
- /package/{assets → src/assets}/svg/invoice-checkmark-paid.svg +0 -0
- /package/{assets → src/assets}/svg/invoice.svg +0 -0
- /package/{assets → src/assets}/svg/italic.svg +0 -0
- /package/{assets → src/assets}/svg/items-group-elements.svg +0 -0
- /package/{assets → src/assets}/svg/key.svg +0 -0
- /package/{assets → src/assets}/svg/keyboard.svg +0 -0
- /package/{assets → src/assets}/svg/keychain.svg +0 -0
- /package/{assets → src/assets}/svg/label-tag.svg +0 -0
- /package/{assets → src/assets}/svg/laptop-health-medical-cross.svg +0 -0
- /package/{assets → src/assets}/svg/layers.svg +0 -0
- /package/{assets → src/assets}/svg/layout-grid.svg +0 -0
- /package/{assets → src/assets}/svg/layout.svg +0 -0
- /package/{assets → src/assets}/svg/line.svg +0 -0
- /package/{assets → src/assets}/svg/link-unlink.svg +0 -0
- /package/{assets → src/assets}/svg/link.svg +0 -0
- /package/{assets → src/assets}/svg/linkedin.svg +0 -0
- /package/{assets → src/assets}/svg/linux.svg +0 -0
- /package/{assets → src/assets}/svg/list-paragraph-number.svg +0 -0
- /package/{assets → src/assets}/svg/list-paragraph.svg +0 -0
- /package/{assets → src/assets}/svg/list-test-lab-flask.svg +0 -0
- /package/{assets → src/assets}/svg/livewire-tool.svg +0 -0
- /package/{assets → src/assets}/svg/loading-status-checkmark.svg +0 -0
- /package/{assets → src/assets}/svg/lock-unlock.svg +0 -0
- /package/{assets → src/assets}/svg/lock.svg +0 -0
- /package/{assets → src/assets}/svg/logout.svg +0 -0
- /package/{assets → src/assets}/svg/lung.svg +0 -0
- /package/{assets → src/assets}/svg/lungs.svg +0 -0
- /package/{assets → src/assets}/svg/markdown.svg +0 -0
- /package/{assets → src/assets}/svg/measure-angle.svg +0 -0
- /package/{assets → src/assets}/svg/measure-ruler-calibration.svg +0 -0
- /package/{assets → src/assets}/svg/media-library-imports-dowload.svg +0 -0
- /package/{assets → src/assets}/svg/menu-burger-handle.svg +0 -0
- /package/{assets → src/assets}/svg/menu-horizontal.svg +0 -0
- /package/{assets → src/assets}/svg/menu-list-form-square.svg +0 -0
- /package/{assets → src/assets}/svg/menu-vertical.svg +0 -0
- /package/{assets → src/assets}/svg/message-chat-info.svg +0 -0
- /package/{assets → src/assets}/svg/message-chat-question-support.svg +0 -0
- /package/{assets → src/assets}/svg/message-checkmark-sent.svg +0 -0
- /package/{assets → src/assets}/svg/message-question-checkmark.svg +0 -0
- /package/{assets → src/assets}/svg/microphone-mic-rec-circle.svg +0 -0
- /package/{assets → src/assets}/svg/microphone-mic-rec.svg +0 -0
- /package/{assets → src/assets}/svg/microphone-mic-recording-circle.svg +0 -0
- /package/{assets → src/assets}/svg/minus.svg +0 -0
- /package/{assets → src/assets}/svg/modalities.svg +0 -0
- /package/{assets → src/assets}/svg/molecule.svg +0 -0
- /package/{assets → src/assets}/svg/money-coin.svg +0 -0
- /package/{assets → src/assets}/svg/money-dollar.svg +0 -0
- /package/{assets → src/assets}/svg/money.svg +0 -0
- /package/{assets → src/assets}/svg/monitor-computer.svg +0 -0
- /package/{assets → src/assets}/svg/mouse-big.svg +0 -0
- /package/{assets → src/assets}/svg/move.svg +0 -0
- /package/{assets → src/assets}/svg/music-play-resume.svg +0 -0
- /package/{assets → src/assets}/svg/music-stop.svg +0 -0
- /package/{assets → src/assets}/svg/mute.svg +0 -0
- /package/{assets → src/assets}/svg/network-storage-alert.svg +0 -0
- /package/{assets → src/assets}/svg/notebook-add-plus.svg +0 -0
- /package/{assets → src/assets}/svg/notebook-open.svg +0 -0
- /package/{assets → src/assets}/svg/notebook-pen-edit.svg +0 -0
- /package/{assets → src/assets}/svg/notebook.svg +0 -0
- /package/{assets → src/assets}/svg/notes-pen.svg +0 -0
- /package/{assets → src/assets}/svg/object-search-zoom-plus.svg +0 -0
- /package/{assets → src/assets}/svg/open.svg +0 -0
- /package/{assets → src/assets}/svg/paint-roller.svg +0 -0
- /package/{assets → src/assets}/svg/pause.svg +0 -0
- /package/{assets → src/assets}/svg/pen-edit-circle.svg +0 -0
- /package/{assets → src/assets}/svg/pencil-edit-create.svg +0 -0
- /package/{assets → src/assets}/svg/photo-edit-brightness-invert.svg +0 -0
- /package/{assets → src/assets}/svg/pie-chart.svg +0 -0
- /package/{assets → src/assets}/svg/pie-graph-chart-sample.svg +0 -0
- /package/{assets → src/assets}/svg/plus-add-rectangle.svg +0 -0
- /package/{assets → src/assets}/svg/polygon.svg +0 -0
- /package/{assets → src/assets}/svg/private-mode-protection-circle.svg +0 -0
- /package/{assets → src/assets}/svg/protection-target.svg +0 -0
- /package/{assets → src/assets}/svg/protective-mask.svg +0 -0
- /package/{assets → src/assets}/svg/question-circle.svg +0 -0
- /package/{assets → src/assets}/svg/quote.svg +0 -0
- /package/{assets → src/assets}/svg/radiology-scan-circle.svg +0 -0
- /package/{assets → src/assets}/svg/radiology-scan.svg +0 -0
- /package/{assets → src/assets}/svg/reader-studies.svg +0 -0
- /package/{assets → src/assets}/svg/rotate-arrow-manual.svg +0 -0
- /package/{assets → src/assets}/svg/rotate-item-left.svg +0 -0
- /package/{assets → src/assets}/svg/rotate-item-right.svg +0 -0
- /package/{assets → src/assets}/svg/rotate-refresh.svg +0 -0
- /package/{assets → src/assets}/svg/rotate.svg +0 -0
- /package/{assets → src/assets}/svg/ruler-bidirectional.svg +0 -0
- /package/{assets → src/assets}/svg/ruler.svg +0 -0
- /package/{assets → src/assets}/svg/scanner.svg +0 -0
- /package/{assets → src/assets}/svg/search-loop.svg +0 -0
- /package/{assets → src/assets}/svg/search-user-profile-person.svg +0 -0
- /package/{assets → src/assets}/svg/search-zoom-minus.svg +0 -0
- /package/{assets → src/assets}/svg/search-zoom-plus.svg +0 -0
- /package/{assets → src/assets}/svg/search.svg +0 -0
- /package/{assets → src/assets}/svg/section-form-element.svg +0 -0
- /package/{assets → src/assets}/svg/send-message-share.svg +0 -0
- /package/{assets → src/assets}/svg/server-checkmark.svg +0 -0
- /package/{assets → src/assets}/svg/server-database-endpoint.svg +0 -0
- /package/{assets → src/assets}/svg/server-databases-checkmark-user.svg +0 -0
- /package/{assets → src/assets}/svg/server-databases-connect.svg +0 -0
- /package/{assets → src/assets}/svg/server-databases-download.svg +0 -0
- /package/{assets → src/assets}/svg/server-databases-key-protection.svg +0 -0
- /package/{assets → src/assets}/svg/server-databases-minimal-download.svg +0 -0
- /package/{assets → src/assets}/svg/server-databases-sync-import.svg +0 -0
- /package/{assets → src/assets}/svg/server-databases-sync.svg +0 -0
- /package/{assets → src/assets}/svg/server-upload.svg +0 -0
- /package/{assets → src/assets}/svg/server.svg +0 -0
- /package/{assets → src/assets}/svg/servers-database.svg +0 -0
- /package/{assets → src/assets}/svg/setting-gear.svg +0 -0
- /package/{assets → src/assets}/svg/settings-adjust.svg +0 -0
- /package/{assets → src/assets}/svg/settings-gear-square.svg +0 -0
- /package/{assets → src/assets}/svg/settings-gear.svg +0 -0
- /package/{assets → src/assets}/svg/settings-select.svg +0 -0
- /package/{assets → src/assets}/svg/shapes-objects.svg +0 -0
- /package/{assets → src/assets}/svg/share.svg +0 -0
- /package/{assets → src/assets}/svg/shield-protect.svg +0 -0
- /package/{assets → src/assets}/svg/show-visible.svg +0 -0
- /package/{assets → src/assets}/svg/smiley-emoji-face.svg +0 -0
- /package/{assets → src/assets}/svg/speed-dashboard.svg +0 -0
- /package/{assets → src/assets}/svg/square-fill-outline.svg +0 -0
- /package/{assets → src/assets}/svg/square-fill.svg +0 -0
- /package/{assets → src/assets}/svg/square-outline.svg +0 -0
- /package/{assets → src/assets}/svg/star.svg +0 -0
- /package/{assets → src/assets}/svg/stars-light-sparkle.svg +0 -0
- /package/{assets → src/assets}/svg/stomach.svg +0 -0
- /package/{assets → src/assets}/svg/stop-minus.svg +0 -0
- /package/{assets → src/assets}/svg/substract-group.svg +0 -0
- /package/{assets → src/assets}/svg/switch.svg +0 -0
- /package/{assets → src/assets}/svg/target-space-object-select.svg +0 -0
- /package/{assets → src/assets}/svg/target.svg +0 -0
- /package/{assets → src/assets}/svg/tasklist-to-do-checkmark.svg +0 -0
- /package/{assets → src/assets}/svg/technology-cube-3d.svg +0 -0
- /package/{assets → src/assets}/svg/test-lab-flask.svg +0 -0
- /package/{assets → src/assets}/svg/text-bold.svg +0 -0
- /package/{assets → src/assets}/svg/text-cross.svg +0 -0
- /package/{assets → src/assets}/svg/text-h1.svg +0 -0
- /package/{assets → src/assets}/svg/text-h2.svg +0 -0
- /package/{assets → src/assets}/svg/text-input-form.svg +0 -0
- /package/{assets → src/assets}/svg/text-long.svg +0 -0
- /package/{assets → src/assets}/svg/text-short-form-element.svg +0 -0
- /package/{assets → src/assets}/svg/text-underline.svg +0 -0
- /package/{assets → src/assets}/svg/thumbs-up-like.svg +0 -0
- /package/{assets → src/assets}/svg/timer-clock-style.svg +0 -0
- /package/{assets → src/assets}/svg/trash-delete.svg +0 -0
- /package/{assets → src/assets}/svg/twitter.svg +0 -0
- /package/{assets → src/assets}/svg/undone-uncheck-untracked.svg +0 -0
- /package/{assets → src/assets}/svg/unlimited-repeat-subscription-circle.svg +0 -0
- /package/{assets → src/assets}/svg/upload.svg +0 -0
- /package/{assets → src/assets}/svg/user-checked.svg +0 -0
- /package/{assets → src/assets}/svg/user-delete-cross.svg +0 -0
- /package/{assets → src/assets}/svg/user-document.svg +0 -0
- /package/{assets → src/assets}/svg/user-group.svg +0 -0
- /package/{assets → src/assets}/svg/user-key.svg +0 -0
- /package/{assets → src/assets}/svg/user-lock.svg +0 -0
- /package/{assets → src/assets}/svg/user-profile-cards-pool.svg +0 -0
- /package/{assets → src/assets}/svg/user-profile-group-discovery.svg +0 -0
- /package/{assets → src/assets}/svg/user-setting-gear.svg +0 -0
- /package/{assets → src/assets}/svg/user.svg +0 -0
- /package/{assets → src/assets}/svg/video-player-controls.svg +0 -0
- /package/{assets → src/assets}/svg/visible-eye-hidden.svg +0 -0
- /package/{assets → src/assets}/svg/volume-full.svg +0 -0
- /package/{assets → src/assets}/svg/warning-circle.svg +0 -0
- /package/{assets → src/assets}/svg/warning.svg +0 -0
- /package/{assets → src/assets}/svg/window-finder-resize-arrow-down.svg +0 -0
- /package/{assets → src/assets}/svg/window-finder-resize-arrow-up.svg +0 -0
- /package/{assets → src/assets}/svg/window-resize-left.svg +0 -0
- /package/{assets → src/assets}/svg/window-resize-right.svg +0 -0
- /package/{assets → src/assets}/svg/window-zoom-plus-loupe.svg +0 -0
- /package/{assets → src/assets}/svg/windows.svg +0 -0
- /package/{assets → src/assets}/svg/workspace-mode.svg +0 -0
- /package/{assets → src/assets}/svg/youtube.svg +0 -0
- /package/{assets → src/assets}/svg/zendesk-logo.svg +0 -0
- /package/{global.scss → src/global.scss} +0 -0
- /package/{public-api.scss → src/public-api.scss} +0 -0
- /package/{public-api.d.ts → src/public-api.ts} +0 -0
- /package/{scss → src/scss}/atoms/ghost.scss +0 -0
- /package/{scss → src/scss}/atoms/scrollbar.scss +0 -0
- /package/{scss → src/scss}/config/colors.scss +0 -0
- /package/{scss → src/scss}/config/overlay.scss +0 -0
- /package/{scss → src/scss}/config/shadows.scss +0 -0
- /package/{scss → src/scss}/config/typography.scss +0 -0
- /package/{scss → src/scss}/icons/_icon-font-face.scss +0 -0
- /package/{scss → src/scss}/icons/_icon-glyphs.scss +0 -0
- /package/{scss → src/scss}/icons/_icon-variables.scss +0 -0
- /package/{scss → src/scss}/icons/icons.scss +0 -0
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { Directive, HostBinding } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/platform-browser";
|
|
4
|
-
export class FwButtonDirective {
|
|
5
|
-
get style() {
|
|
6
|
-
return this.sanitizer.bypassSecurityTrustStyle(`
|
|
7
|
-
font-family: Inter, sans-serif;
|
|
8
|
-
font-size: 14px;
|
|
9
|
-
line-height: 14px;
|
|
10
|
-
font-style: normal;
|
|
11
|
-
font-weight: 500;
|
|
12
|
-
display: inline-flex;
|
|
13
|
-
height: 36px;
|
|
14
|
-
padding: 12px;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
align-items: center;
|
|
17
|
-
gap: 8px;
|
|
18
|
-
flex-shrink: 0;
|
|
19
|
-
border: 1px solid transparent;
|
|
20
|
-
border-radius: 8px;
|
|
21
|
-
background-color: var(--slate-light);
|
|
22
|
-
color: var(--typography-base);
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
`);
|
|
25
|
-
}
|
|
26
|
-
constructor(sanitizer) {
|
|
27
|
-
this.sanitizer = sanitizer;
|
|
28
|
-
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonDirective, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FwButtonDirective, selector: "[fwButton]", host: { properties: { "style": "this.style" } }, ngImport: i0 }); }
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonDirective, decorators: [{
|
|
33
|
-
type: Directive,
|
|
34
|
-
args: [{
|
|
35
|
-
selector: '[fwButton]',
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { style: [{
|
|
38
|
-
type: HostBinding,
|
|
39
|
-
args: ['style']
|
|
40
|
-
}] } });
|
|
41
|
-
export class FwButtonPrimaryDirective {
|
|
42
|
-
get style() {
|
|
43
|
-
return this.sanitizer.bypassSecurityTrustStyle(`
|
|
44
|
-
background-color: var(--primary-base) !important;
|
|
45
|
-
color: var(--typography-contrast);
|
|
46
|
-
`);
|
|
47
|
-
}
|
|
48
|
-
constructor(sanitizer) {
|
|
49
|
-
this.sanitizer = sanitizer;
|
|
50
|
-
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonPrimaryDirective, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
52
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FwButtonPrimaryDirective, selector: "[fwButtonPrimary]", host: { properties: { "style": "this.style" } }, ngImport: i0 }); }
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonPrimaryDirective, decorators: [{
|
|
55
|
-
type: Directive,
|
|
56
|
-
args: [{
|
|
57
|
-
selector: '[fwButtonPrimary]',
|
|
58
|
-
}]
|
|
59
|
-
}], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { style: [{
|
|
60
|
-
type: HostBinding,
|
|
61
|
-
args: ['style']
|
|
62
|
-
}] } });
|
|
63
|
-
export class FwButtonSecondaryDirective {
|
|
64
|
-
get style() {
|
|
65
|
-
return this.sanitizer.bypassSecurityTrustStyle(`
|
|
66
|
-
background-color: var(--secondary-base) !important;
|
|
67
|
-
color: var(--typography-contrast);
|
|
68
|
-
`);
|
|
69
|
-
}
|
|
70
|
-
constructor(sanitizer) {
|
|
71
|
-
this.sanitizer = sanitizer;
|
|
72
|
-
}
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonSecondaryDirective, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
74
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FwButtonSecondaryDirective, selector: "[fwButtonSecondary]", host: { properties: { "style": "this.style" } }, ngImport: i0 }); }
|
|
75
|
-
}
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonSecondaryDirective, decorators: [{
|
|
77
|
-
type: Directive,
|
|
78
|
-
args: [{
|
|
79
|
-
selector: '[fwButtonSecondary]',
|
|
80
|
-
}]
|
|
81
|
-
}], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { style: [{
|
|
82
|
-
type: HostBinding,
|
|
83
|
-
args: ['style']
|
|
84
|
-
}] } });
|
|
85
|
-
export class FwButtonDangerDirective {
|
|
86
|
-
get style() {
|
|
87
|
-
return this.sanitizer.bypassSecurityTrustStyle(`
|
|
88
|
-
background-color: var(--red-base) !important;
|
|
89
|
-
color: var(--typography-contrast);
|
|
90
|
-
`);
|
|
91
|
-
}
|
|
92
|
-
constructor(sanitizer) {
|
|
93
|
-
this.sanitizer = sanitizer;
|
|
94
|
-
}
|
|
95
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonDangerDirective, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
96
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FwButtonDangerDirective, selector: "[fwButtonDanger]", host: { properties: { "style": "this.style" } }, ngImport: i0 }); }
|
|
97
|
-
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonDangerDirective, decorators: [{
|
|
99
|
-
type: Directive,
|
|
100
|
-
args: [{
|
|
101
|
-
selector: '[fwButtonDanger]',
|
|
102
|
-
}]
|
|
103
|
-
}], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { style: [{
|
|
104
|
-
type: HostBinding,
|
|
105
|
-
args: ['style']
|
|
106
|
-
}] } });
|
|
107
|
-
export class FwButtonSuccessDirective {
|
|
108
|
-
get style() {
|
|
109
|
-
return this.sanitizer.bypassSecurityTrustStyle(`
|
|
110
|
-
background-color: var(--green-base) !important;
|
|
111
|
-
color: var(--typography-contrast);
|
|
112
|
-
`);
|
|
113
|
-
}
|
|
114
|
-
constructor(sanitizer) {
|
|
115
|
-
this.sanitizer = sanitizer;
|
|
116
|
-
}
|
|
117
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonSuccessDirective, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
118
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FwButtonSuccessDirective, selector: "[fwButtonSuccess]", host: { properties: { "style": "this.style" } }, ngImport: i0 }); }
|
|
119
|
-
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonSuccessDirective, decorators: [{
|
|
121
|
-
type: Directive,
|
|
122
|
-
args: [{
|
|
123
|
-
selector: '[fwButtonSuccess]',
|
|
124
|
-
}]
|
|
125
|
-
}], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { style: [{
|
|
126
|
-
type: HostBinding,
|
|
127
|
-
args: ['style']
|
|
128
|
-
}] } });
|
|
129
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmRpcmVjdGl2ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmRpcmVjdGl2ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQU12RCxNQUFNLE9BQU8saUJBQWlCO0lBQzVCLElBQTBCLEtBQUs7UUFDN0IsT0FBTyxJQUFJLENBQUMsU0FBUyxDQUFDLHdCQUF3QixDQUFDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FrQmhELENBQUMsQ0FBQztJQUNILENBQUM7SUFFRCxZQUFvQixTQUF1QjtRQUF2QixjQUFTLEdBQVQsU0FBUyxDQUFjO0lBQzNDLENBQUM7K0dBeEJVLGlCQUFpQjttR0FBakIsaUJBQWlCOzs0RkFBakIsaUJBQWlCO2tCQUg3QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxZQUFZO2lCQUN2QjtpRkFFMkIsS0FBS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lY3RvcjogJ1tmd0J1dHRvblN1Y2Nlc3NdJyxcbn0pXG5leHBvcnQgY2xhc3MgRndCdXR0b25TdWNjZXNzRGlyZWN0aXZlIHtcbiAgQEhvc3RCaW5kaW5nKCdzdHlsZScpIGdldCBzdHlsZSgpOiBTYWZlU3R5bGUge1xuICAgIHJldHVybiB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0U3R5bGUoYFxuICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tZ3JlZW4tYmFzZSkgIWltcG9ydGFudDtcbiAgICAgIGNvbG9yOiB2YXIoLS10eXBvZ3JhcGh5LWNvbnRyYXN0KTtcbiAgYCk7XG4gIH1cblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHNhbml0aXplcjogRG9tU2FuaXRpemVyKSB7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { FwIconModule } from '../icon/icon.module';
|
|
4
|
-
import { FwProgressModule } from '../progress/progress.module';
|
|
5
|
-
import { FwButtonComponent } from './button.component';
|
|
6
|
-
import { FwButtonDangerDirective, FwButtonDirective, FwButtonPrimaryDirective, FwButtonSecondaryDirective, FwButtonSuccessDirective, } from './button.directives';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class FwButtonModule {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FwButtonModule, declarations: [FwButtonComponent,
|
|
11
|
-
FwButtonDirective,
|
|
12
|
-
FwButtonDangerDirective, // these need to come after the main directive
|
|
13
|
-
FwButtonPrimaryDirective,
|
|
14
|
-
FwButtonSecondaryDirective,
|
|
15
|
-
FwButtonSuccessDirective], imports: [CommonModule,
|
|
16
|
-
FwIconModule,
|
|
17
|
-
FwProgressModule], exports: [FwButtonComponent,
|
|
18
|
-
FwButtonDirective,
|
|
19
|
-
FwButtonDangerDirective, // these need to come after the main directive
|
|
20
|
-
FwButtonPrimaryDirective,
|
|
21
|
-
FwButtonSecondaryDirective,
|
|
22
|
-
FwButtonSuccessDirective] }); }
|
|
23
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonModule, imports: [CommonModule,
|
|
24
|
-
FwIconModule,
|
|
25
|
-
FwProgressModule] }); }
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonModule, decorators: [{
|
|
28
|
-
type: NgModule,
|
|
29
|
-
args: [{
|
|
30
|
-
imports: [
|
|
31
|
-
CommonModule,
|
|
32
|
-
FwIconModule,
|
|
33
|
-
FwProgressModule,
|
|
34
|
-
],
|
|
35
|
-
exports: [
|
|
36
|
-
FwButtonComponent,
|
|
37
|
-
FwButtonDirective,
|
|
38
|
-
FwButtonDangerDirective, // these need to come after the main directive
|
|
39
|
-
FwButtonPrimaryDirective,
|
|
40
|
-
FwButtonSecondaryDirective,
|
|
41
|
-
FwButtonSuccessDirective,
|
|
42
|
-
],
|
|
43
|
-
declarations: [
|
|
44
|
-
FwButtonComponent,
|
|
45
|
-
FwButtonDirective,
|
|
46
|
-
FwButtonDangerDirective, // these need to come after the main directive
|
|
47
|
-
FwButtonPrimaryDirective,
|
|
48
|
-
FwButtonSecondaryDirective,
|
|
49
|
-
FwButtonSuccessDirective,
|
|
50
|
-
],
|
|
51
|
-
}]
|
|
52
|
-
}] });
|
|
53
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIs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bW9uTW9kdWxlLFxuICAgIEZ3SWNvbk1vZHVsZSxcbiAgICBGd1Byb2dyZXNzTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRndCdXR0b25Db21wb25lbnQsXG4gICAgRndCdXR0b25EaXJlY3RpdmUsXG4gICAgRndCdXR0b25EYW5nZXJEaXJlY3RpdmUsIC8vIHRoZXNlIG5lZWQgdG8gY29tZSBhZnRlciB0aGUgbWFpbiBkaXJlY3RpdmVcbiAgICBGd0J1dHRvblByaW1hcnlEaXJlY3RpdmUsXG4gICAgRndCdXR0b25TZWNvbmRhcnlEaXJlY3RpdmUsXG4gICAgRndCdXR0b25TdWNjZXNzRGlyZWN0aXZlLFxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBGd0J1dHRvbkNvbXBvbmVudCxcbiAgICBGd0J1dHRvbkRpcmVjdGl2ZSxcbiAgICBGd0J1dHRvbkRhbmdlckRpcmVjdGl2ZSwgLy8gdGhlc2UgbmVlZCB0byBjb21lIGFmdGVyIHRoZSBtYWluIGRpcmVjdGl2ZVxuICAgIEZ3QnV0dG9uUHJpbWFyeURpcmVjdGl2ZSxcbiAgICBGd0J1dHRvblNlY29uZGFyeURpcmVjdGl2ZSxcbiAgICBGd0J1dHRvblN1Y2Nlc3NEaXJlY3RpdmUsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEZ3QnV0dG9uTW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChildren, EventEmitter, forwardRef, HostBinding, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { FwButtonToggleItemComponent } from '../button-toggle/button-toggle-item/button-toggle-item.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class FwButtonGroupComponent {
|
|
6
|
-
get classes() {
|
|
7
|
-
return ['fw-button-group', this.size, this.layout].filter(Boolean).join(' ');
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
get value() {
|
|
11
|
-
return this._value;
|
|
12
|
-
}
|
|
13
|
-
set value(newValue) {
|
|
14
|
-
this.updateValue(newValue);
|
|
15
|
-
}
|
|
16
|
-
constructor(cdref) {
|
|
17
|
-
this.cdref = cdref;
|
|
18
|
-
this.layout = 'basic';
|
|
19
|
-
this.size = 'medium';
|
|
20
|
-
this.disabled = false;
|
|
21
|
-
this.subscriptions = [];
|
|
22
|
-
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
23
|
-
this.change = new EventEmitter();
|
|
24
|
-
this.onTouched = () => {
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
registerOnChange(fn) {
|
|
28
|
-
this.onChange = fn;
|
|
29
|
-
}
|
|
30
|
-
registerOnTouched(fn) {
|
|
31
|
-
this.onTouched = fn;
|
|
32
|
-
}
|
|
33
|
-
setDisabledState(isDisabled) {
|
|
34
|
-
this.disabled = isDisabled;
|
|
35
|
-
}
|
|
36
|
-
writeValue(value) {
|
|
37
|
-
this.value = value;
|
|
38
|
-
}
|
|
39
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
40
|
-
ngOnChanges(changes) {
|
|
41
|
-
this.formatToggles();
|
|
42
|
-
}
|
|
43
|
-
ngOnDestroy() {
|
|
44
|
-
for (const subscription of this.subscriptions) {
|
|
45
|
-
subscription.unsubscribe();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
ngAfterContentInit() {
|
|
49
|
-
if (this.toggleButtons.length > 0) {
|
|
50
|
-
this.formatToggles();
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
updateValue(value) {
|
|
54
|
-
this._value = value;
|
|
55
|
-
if (this.onChange) {
|
|
56
|
-
this.onChange(value);
|
|
57
|
-
}
|
|
58
|
-
this.change.emit(value);
|
|
59
|
-
}
|
|
60
|
-
formatToggles() {
|
|
61
|
-
if (this.toggleButtons) {
|
|
62
|
-
this.toggleButtons.forEach(toggle => {
|
|
63
|
-
if (this.value.indexOf(toggle.value) >= 0) {
|
|
64
|
-
toggle.selected = true;
|
|
65
|
-
}
|
|
66
|
-
toggle.size = this.size;
|
|
67
|
-
if (this.color) {
|
|
68
|
-
toggle.color = this.color;
|
|
69
|
-
}
|
|
70
|
-
if (this.selectedColor) {
|
|
71
|
-
toggle.selectedColor = this.selectedColor;
|
|
72
|
-
}
|
|
73
|
-
if (this.disabled) {
|
|
74
|
-
toggle.disabled = this.disabled;
|
|
75
|
-
}
|
|
76
|
-
const sub = toggle.click.subscribe(() => {
|
|
77
|
-
toggle.selected = !toggle.selected;
|
|
78
|
-
const vals = this.toggleButtons.map(tb => {
|
|
79
|
-
if (tb.selected) {
|
|
80
|
-
return tb.value;
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
85
|
-
}).filter(Boolean);
|
|
86
|
-
this.writeValue(vals);
|
|
87
|
-
});
|
|
88
|
-
this.subscriptions.push(sub);
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonGroupComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
93
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FwButtonGroupComponent, selector: "fw-button-group", inputs: { layout: "layout", size: "size", disabled: "disabled", color: "color", selectedColor: "selectedColor", value: "value" }, outputs: { change: "change" }, host: { properties: { "attr.class": "this.classes" } }, providers: [
|
|
94
|
-
{
|
|
95
|
-
provide: NG_VALUE_ACCESSOR,
|
|
96
|
-
useExisting: forwardRef(() => FwButtonGroupComponent),
|
|
97
|
-
multi: true,
|
|
98
|
-
},
|
|
99
|
-
], queries: [{ propertyName: "toggleButtons", predicate: FwButtonToggleItemComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: '<ng-content select="fw-button-toggle-item,fw-tooltip"></ng-content>', isInline: true, styles: ["fw-button-group.fw-button-group{box-sizing:border-box;border-radius:8px;overflow:hidden;display:inline-flex;align-items:stretch}fw-button-group.fw-button-group .fw-button-toggle-item.no-title button{gap:0}fw-button-group.fw-button-group button{min-width:0;margin:0!important;border-radius:0;border:1px solid var(--separations-input);border-right-width:0!important}fw-button-group.fw-button-group>button:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}fw-button-group.fw-button-group>button:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px;border-right-width:1px}fw-button-group.fw-button-group.compact button{line-height:24px;height:24px}fw-button-group.fw-button-group.small button{font-size:12px}fw-button-group.fw-button-group.medium button{font-size:14px}fw-button-group.fw-button-group.large button{font-size:18px}fw-button-group.fw-button-group>fw-button-toggle-item:last-of-type button{border-top-right-radius:8px;border-bottom-right-radius:8px;border-right-width:1px!important}fw-button-group.fw-button-group>fw-button-toggle-item:first-of-type button{border-top-left-radius:8px;border-bottom-left-radius:8px}fw-button-group.fw-button-group fw-tooltip fw-button-toggle-item button{border-radius:0!important;border-right-width:0!important}fw-button-group.fw-button-group fw-tooltip:last-of-type fw-button-toggle-item button{border-radius:0 8px 8px 0!important;border-right-width:1px!important}fw-button-group.fw-button-group fw-tooltip:first-of-type fw-button-toggle-item button{border-radius:8px 0 0 8px!important}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
100
|
-
}
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonGroupComponent, decorators: [{
|
|
102
|
-
type: Component,
|
|
103
|
-
args: [{ selector: 'fw-button-group', template: '<ng-content select="fw-button-toggle-item,fw-tooltip"></ng-content>', encapsulation: ViewEncapsulation.None, providers: [
|
|
104
|
-
{
|
|
105
|
-
provide: NG_VALUE_ACCESSOR,
|
|
106
|
-
useExisting: forwardRef(() => FwButtonGroupComponent),
|
|
107
|
-
multi: true,
|
|
108
|
-
},
|
|
109
|
-
], styles: ["fw-button-group.fw-button-group{box-sizing:border-box;border-radius:8px;overflow:hidden;display:inline-flex;align-items:stretch}fw-button-group.fw-button-group .fw-button-toggle-item.no-title button{gap:0}fw-button-group.fw-button-group button{min-width:0;margin:0!important;border-radius:0;border:1px solid var(--separations-input);border-right-width:0!important}fw-button-group.fw-button-group>button:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}fw-button-group.fw-button-group>button:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px;border-right-width:1px}fw-button-group.fw-button-group.compact button{line-height:24px;height:24px}fw-button-group.fw-button-group.small button{font-size:12px}fw-button-group.fw-button-group.medium button{font-size:14px}fw-button-group.fw-button-group.large button{font-size:18px}fw-button-group.fw-button-group>fw-button-toggle-item:last-of-type button{border-top-right-radius:8px;border-bottom-right-radius:8px;border-right-width:1px!important}fw-button-group.fw-button-group>fw-button-toggle-item:first-of-type button{border-top-left-radius:8px;border-bottom-left-radius:8px}fw-button-group.fw-button-group fw-tooltip fw-button-toggle-item button{border-radius:0!important;border-right-width:0!important}fw-button-group.fw-button-group fw-tooltip:last-of-type fw-button-toggle-item button{border-radius:0 8px 8px 0!important;border-right-width:1px!important}fw-button-group.fw-button-group fw-tooltip:first-of-type fw-button-toggle-item button{border-radius:8px 0 0 8px!important}\n"] }]
|
|
110
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { classes: [{
|
|
111
|
-
type: HostBinding,
|
|
112
|
-
args: ['attr.class']
|
|
113
|
-
}], layout: [{
|
|
114
|
-
type: Input
|
|
115
|
-
}], size: [{
|
|
116
|
-
type: Input
|
|
117
|
-
}], disabled: [{
|
|
118
|
-
type: Input
|
|
119
|
-
}], color: [{
|
|
120
|
-
type: Input
|
|
121
|
-
}], selectedColor: [{
|
|
122
|
-
type: Input
|
|
123
|
-
}], toggleButtons: [{
|
|
124
|
-
type: ContentChildren,
|
|
125
|
-
args: [FwButtonToggleItemComponent, { descendants: true }]
|
|
126
|
-
}], change: [{
|
|
127
|
-
type: Output
|
|
128
|
-
}], value: [{
|
|
129
|
-
type: Input
|
|
130
|
-
}] } });
|
|
131
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWdyb3VwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2J1dHRvbi1ncm91cC9idXR0b24tZ3JvdXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFHTCxTQUFTLEVBQ1QsZUFBZSxFQUNmLFlBQVksRUFDWixVQUFVLEVBQ1YsV0FBVyxFQUNYLEtBQUssRUFHTCxNQUFNLEVBR04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBd0IsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUd6RSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxrRUFBa0UsQ0FBQzs7QUFlL0csTUFBTSxPQUFPLHNCQUFzQjtJQUNqQyxJQUErQixPQUFPO1FBQ3BDLE9BQU8sQ0FBQyxpQkFBaUIsRUFBRSxJQUFJLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQy9FLENBQUM7SUFBQSxDQUFDO0lBWUYsSUFDSSxLQUFLO1FBQ1AsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDO0lBQ3JCLENBQUM7SUFFRCxJQUFJLEtBQUssQ0FBQyxRQUFrQjtRQUMxQixJQUFJLENBQUMsV0FBVyxDQUFDLFFBQVEsQ0F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Bjb25zdCB2YWxzID0gdGhpcy50b2dnbGVCdXR0b25zLm1hcCh0YiA9PiB7XG4gICAgICAgICAgICBpZiAodGIuc2VsZWN0ZWQpIHtcbiAgICAgICAgICAgICAgcmV0dXJuIHRiLnZhbHVlO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSkuZmlsdGVyKEJvb2xlYW4pO1xuICAgICAgICAgIHRoaXMud3JpdGVWYWx1ZSh2YWxzKTtcbiAgICAgICAgfSk7XG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9ucy5wdXNoKHN1Yik7XG4gICAgICB9KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { FwButtonModule } from '../button/button.module';
|
|
3
|
-
import { FwButtonToggleModule } from '../button-toggle/button-toggle.module';
|
|
4
|
-
import { FwIconModule } from '../icon/icon.module';
|
|
5
|
-
import { FwButtonGroupComponent } from './button-group.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class FwButtonGroupModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FwButtonGroupModule, declarations: [FwButtonGroupComponent], imports: [FwButtonModule,
|
|
10
|
-
FwIconModule,
|
|
11
|
-
FwButtonToggleModule], exports: [FwButtonGroupComponent] }); }
|
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonGroupModule, imports: [FwButtonModule,
|
|
13
|
-
FwIconModule,
|
|
14
|
-
FwButtonToggleModule] }); }
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonGroupModule, decorators: [{
|
|
17
|
-
type: NgModule,
|
|
18
|
-
args: [{
|
|
19
|
-
exports: [
|
|
20
|
-
FwButtonGroupComponent,
|
|
21
|
-
],
|
|
22
|
-
declarations: [
|
|
23
|
-
FwButtonGroupComponent,
|
|
24
|
-
],
|
|
25
|
-
imports: [
|
|
26
|
-
FwButtonModule,
|
|
27
|
-
FwIconModule,
|
|
28
|
-
FwButtonToggleModule,
|
|
29
|
-
],
|
|
30
|
-
}]
|
|
31
|
-
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWdyb3VwLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2J1dHRvbi1ncm91cC9idXR0b24tZ3JvdXAubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzdFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7QUFlbEUsTUFBTSxPQUFPLG1CQUFtQjsrR0FBbkIsbUJBQW1CO2dIQUFuQixtQkFBbUIsaUJBUjVCLHNCQUFzQixhQUd0QixjQUFjO1lBQ2QsWUFBWTtZQUNaLG9CQUFvQixhQVJwQixzQ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l19
|
package/esm2022/components/button-toggle/button-toggle-item/button-toggle-item.component.mjs
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../button/button.component";
|
|
4
|
-
export class FwButtonToggleItemComponent {
|
|
5
|
-
get classes() {
|
|
6
|
-
return ['fw-button-toggle-item', this.title && this.title.length > 0 ? 'has-title' : 'no-title'].filter(Boolean).join(' ');
|
|
7
|
-
}
|
|
8
|
-
;
|
|
9
|
-
constructor() {
|
|
10
|
-
this.selected = false;
|
|
11
|
-
this.disabled = false;
|
|
12
|
-
this.size = 'medium';
|
|
13
|
-
this.color = 'slate';
|
|
14
|
-
this.selectedColor = 'primary';
|
|
15
|
-
this.selectedStyle = 'background';
|
|
16
|
-
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
17
|
-
this.click = new EventEmitter();
|
|
18
|
-
}
|
|
19
|
-
handleClick() {
|
|
20
|
-
this.click.emit(this.value);
|
|
21
|
-
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonToggleItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FwButtonToggleItemComponent, selector: "fw-button-toggle-item", inputs: { title: "title", icon: "icon", selectedIcon: "selectedIcon", value: "value", selected: "selected", disabled: "disabled", size: "size", color: "color", selectedColor: "selectedColor", selectedStyle: "selectedStyle" }, outputs: { click: "click" }, host: { properties: { "attr.class": "this.classes" } }, ngImport: i0, template: "<fw-button\n [title]=\"title\"\n [leftIcon]=\"(selected && selectedIcon) ? selectedIcon : icon\"\n [variant]=\"(selected && selectedStyle==='background') ? 'solid':'outline'\"\n [color]=\"selected ? selectedColor:color\"\n [size]=\"size\"\n [disabled]=\"disabled\"\n (click)=\"handleClick()\">\n {{ title }}\n</fw-button>\n", dependencies: [{ kind: "component", type: i1.FwButtonComponent, selector: "fw-button", inputs: ["color", "size", "variant", "type", "disabled", "fullWidth", "leftIcon", "rightIcon"] }] }); }
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonToggleItemComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'fw-button-toggle-item', template: "<fw-button\n [title]=\"title\"\n [leftIcon]=\"(selected && selectedIcon) ? selectedIcon : icon\"\n [variant]=\"(selected && selectedStyle==='background') ? 'solid':'outline'\"\n [color]=\"selected ? selectedColor:color\"\n [size]=\"size\"\n [disabled]=\"disabled\"\n (click)=\"handleClick()\">\n {{ title }}\n</fw-button>\n" }]
|
|
28
|
-
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], icon: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], selectedIcon: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}], value: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], selected: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], disabled: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], size: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], color: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], selectedColor: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], selectedStyle: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], click: [{
|
|
49
|
-
type: Output
|
|
50
|
-
}], classes: [{
|
|
51
|
-
type: HostBinding,
|
|
52
|
-
args: ['attr.class']
|
|
53
|
-
}] } });
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLXRvZ2dsZS1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb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dGxlLmxlbmd0aCA+IDAgPyAnaGFzLXRpdGxlJyA6ICduby10aXRsZSddLmZpbHRlcihCb29sZWFuKS5qb2luKCcgJyk7XG4gIH07XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gIH1cblxuICBoYW5kbGVDbGljaygpOiB2b2lkIHtcbiAgICB0aGlzLmNsaWNrLmVtaXQodGhpcy52YWx1ZSk7XG4gIH1cblxufVxuIiwiPGZ3LWJ1dHRvblxuICBbdGl0bGVdPVwidGl0bGVcIlxuICBbbGVmdEljb25dPVwiKHNlbGVjdGVkICYmIHNlbGVjdGVkSWNvbikgPyBzZWxlY3RlZEljb24gOiBpY29uXCJcbiAgW3ZhcmlhbnRdPVwiKHNlbGVjdGVkICYmIHNlbGVjdGVkU3R5bGU9PT0nYmFja2dyb3VuZCcpID8gJ3NvbGlkJzonb3V0bGluZSdcIlxuICBbY29sb3JdPVwic2VsZWN0ZWQgPyBzZWxlY3RlZENvbG9yOmNvbG9yXCJcbiAgW3NpemVdPVwic2l6ZVwiXG4gIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gIChjbGljayk9XCJoYW5kbGVDbGljaygpXCI+XG4gIHt7IHRpdGxlIH19XG48L2Z3LWJ1dHRvbj5cbiJdfQ==
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChildren, EventEmitter, forwardRef, HostBinding, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { FwButtonToggleItemComponent } from './button-toggle-item/button-toggle-item.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class FwButtonToggleComponent {
|
|
6
|
-
get classes() {
|
|
7
|
-
return ['fw-button-toggle', this.size, this.layout].filter(Boolean).join(' ');
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
get value() {
|
|
11
|
-
return this._value;
|
|
12
|
-
}
|
|
13
|
-
set value(newValue) {
|
|
14
|
-
this.updateValue(newValue);
|
|
15
|
-
}
|
|
16
|
-
constructor(cdref) {
|
|
17
|
-
this.cdref = cdref;
|
|
18
|
-
this.layout = 'basic';
|
|
19
|
-
this.size = 'medium';
|
|
20
|
-
this.disabled = false;
|
|
21
|
-
this.subscriptions = [];
|
|
22
|
-
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
23
|
-
this.change = new EventEmitter();
|
|
24
|
-
this.onTouched = () => {
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
registerOnChange(fn) {
|
|
28
|
-
this.onChange = fn;
|
|
29
|
-
}
|
|
30
|
-
registerOnTouched(fn) {
|
|
31
|
-
this.onTouched = fn;
|
|
32
|
-
}
|
|
33
|
-
setDisabledState(isDisabled) {
|
|
34
|
-
this.disabled = isDisabled;
|
|
35
|
-
}
|
|
36
|
-
writeValue(value) {
|
|
37
|
-
this.value = value;
|
|
38
|
-
}
|
|
39
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
40
|
-
ngOnChanges(changes) {
|
|
41
|
-
this.formatToggles();
|
|
42
|
-
}
|
|
43
|
-
ngOnDestroy() {
|
|
44
|
-
for (const subscription of this.subscriptions) {
|
|
45
|
-
subscription.unsubscribe();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
ngAfterContentInit() {
|
|
49
|
-
if (this.toggleButtons.length > 0) {
|
|
50
|
-
this.formatToggles();
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
// Inputs need an `${inputName}Change` event to support two-way binding to [(value)]
|
|
54
|
-
// https://angular.dev/guide/templates/two-way-binding
|
|
55
|
-
valueChange(value) {
|
|
56
|
-
this.updateValue(value);
|
|
57
|
-
}
|
|
58
|
-
updateValue(value) {
|
|
59
|
-
this._value = value;
|
|
60
|
-
if (this.onChange) {
|
|
61
|
-
this.onChange(value);
|
|
62
|
-
}
|
|
63
|
-
this.change.emit(value);
|
|
64
|
-
}
|
|
65
|
-
formatToggles() {
|
|
66
|
-
if (this.toggleButtons) {
|
|
67
|
-
this.toggleButtons.forEach(toggle => {
|
|
68
|
-
if (toggle.value === this.value) {
|
|
69
|
-
toggle.selected = true;
|
|
70
|
-
}
|
|
71
|
-
toggle.size = this.size;
|
|
72
|
-
if (this.color) {
|
|
73
|
-
toggle.color = this.color;
|
|
74
|
-
}
|
|
75
|
-
if (this.selectedColor) {
|
|
76
|
-
toggle.selectedColor = this.selectedColor;
|
|
77
|
-
}
|
|
78
|
-
if (this.disabled) {
|
|
79
|
-
toggle.disabled = this.disabled;
|
|
80
|
-
}
|
|
81
|
-
const sub = toggle.click.subscribe(() => {
|
|
82
|
-
if (this.toggleButtons.length === 1) {
|
|
83
|
-
toggle.selected = !toggle.selected;
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
this.toggleButtons.forEach(t => {
|
|
87
|
-
t.selected = false;
|
|
88
|
-
});
|
|
89
|
-
toggle.selected = true;
|
|
90
|
-
}
|
|
91
|
-
const val = this.toggleButtons.find(t => t.selected)?.value;
|
|
92
|
-
this.writeValue(val);
|
|
93
|
-
});
|
|
94
|
-
this.subscriptions.push(sub);
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonToggleComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
99
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FwButtonToggleComponent, selector: "fw-button-toggle", inputs: { layout: "layout", size: "size", disabled: "disabled", color: "color", selectedColor: "selectedColor", value: "value" }, outputs: { change: "change" }, host: { properties: { "attr.class": "this.classes" } }, providers: [
|
|
100
|
-
{
|
|
101
|
-
provide: NG_VALUE_ACCESSOR,
|
|
102
|
-
useExisting: forwardRef(() => FwButtonToggleComponent),
|
|
103
|
-
multi: true,
|
|
104
|
-
},
|
|
105
|
-
], queries: [{ propertyName: "toggleButtons", predicate: FwButtonToggleItemComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: '<ng-content select="fw-button-toggle-item,fw-tooltip"></ng-content>', isInline: true, styles: ["fw-button-toggle.fw-button-toggle{box-sizing:border-box;border-radius:8px;overflow:hidden;display:inline-flex;align-items:stretch}fw-button-toggle.fw-button-toggle .fw-button-toggle-item.no-title button{gap:0}fw-button-toggle.fw-button-toggle button{min-width:0;margin:0!important;border-radius:0;border:1px solid var(--separations-input);border-right-width:0!important}fw-button-toggle.fw-button-toggle>button:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}fw-button-toggle.fw-button-toggle>button:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px;border-right-width:1px}fw-button-toggle.fw-button-toggle.compact button{line-height:24px;height:24px}fw-button-toggle.fw-button-toggle.small button{font-size:12px}fw-button-toggle.fw-button-toggle.medium button{font-size:14px}fw-button-toggle.fw-button-toggle.large button{font-size:18px}fw-button-toggle.fw-button-toggle>fw-button-toggle-item:last-of-type button{border-top-right-radius:8px;border-bottom-right-radius:8px;border-right-width:1px!important}fw-button-toggle.fw-button-toggle>fw-button-toggle-item:first-of-type button{border-top-left-radius:8px;border-bottom-left-radius:8px}fw-button-toggle.fw-button-toggle fw-tooltip fw-button-toggle-item button{border-radius:0!important;border-right-width:0!important}fw-button-toggle.fw-button-toggle fw-tooltip:last-of-type fw-button-toggle-item button{border-radius:0 8px 8px 0!important;border-right-width:1px!important}fw-button-toggle.fw-button-toggle fw-tooltip:first-of-type fw-button-toggle-item button{border-radius:8px 0 0 8px!important}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
106
|
-
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FwButtonToggleComponent, decorators: [{
|
|
108
|
-
type: Component,
|
|
109
|
-
args: [{ selector: 'fw-button-toggle', template: '<ng-content select="fw-button-toggle-item,fw-tooltip"></ng-content>', encapsulation: ViewEncapsulation.None, providers: [
|
|
110
|
-
{
|
|
111
|
-
provide: NG_VALUE_ACCESSOR,
|
|
112
|
-
useExisting: forwardRef(() => FwButtonToggleComponent),
|
|
113
|
-
multi: true,
|
|
114
|
-
},
|
|
115
|
-
], styles: ["fw-button-toggle.fw-button-toggle{box-sizing:border-box;border-radius:8px;overflow:hidden;display:inline-flex;align-items:stretch}fw-button-toggle.fw-button-toggle .fw-button-toggle-item.no-title button{gap:0}fw-button-toggle.fw-button-toggle button{min-width:0;margin:0!important;border-radius:0;border:1px solid var(--separations-input);border-right-width:0!important}fw-button-toggle.fw-button-toggle>button:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}fw-button-toggle.fw-button-toggle>button:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px;border-right-width:1px}fw-button-toggle.fw-button-toggle.compact button{line-height:24px;height:24px}fw-button-toggle.fw-button-toggle.small button{font-size:12px}fw-button-toggle.fw-button-toggle.medium button{font-size:14px}fw-button-toggle.fw-button-toggle.large button{font-size:18px}fw-button-toggle.fw-button-toggle>fw-button-toggle-item:last-of-type button{border-top-right-radius:8px;border-bottom-right-radius:8px;border-right-width:1px!important}fw-button-toggle.fw-button-toggle>fw-button-toggle-item:first-of-type button{border-top-left-radius:8px;border-bottom-left-radius:8px}fw-button-toggle.fw-button-toggle fw-tooltip fw-button-toggle-item button{border-radius:0!important;border-right-width:0!important}fw-button-toggle.fw-button-toggle fw-tooltip:last-of-type fw-button-toggle-item button{border-radius:0 8px 8px 0!important;border-right-width:1px!important}fw-button-toggle.fw-button-toggle fw-tooltip:first-of-type fw-button-toggle-item button{border-radius:8px 0 0 8px!important}\n"] }]
|
|
116
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { classes: [{
|
|
117
|
-
type: HostBinding,
|
|
118
|
-
args: ['attr.class']
|
|
119
|
-
}], layout: [{
|
|
120
|
-
type: Input
|
|
121
|
-
}], size: [{
|
|
122
|
-
type: Input
|
|
123
|
-
}], disabled: [{
|
|
124
|
-
type: Input
|
|
125
|
-
}], color: [{
|
|
126
|
-
type: Input
|
|
127
|
-
}], selectedColor: [{
|
|
128
|
-
type: Input
|
|
129
|
-
}], toggleButtons: [{
|
|
130
|
-
type: ContentChildren,
|
|
131
|
-
args: [FwButtonToggleItemComponent, { descendants: true }]
|
|
132
|
-
}], change: [{
|
|
133
|
-
type: Output
|
|
134
|
-
}], value: [{
|
|
135
|
-
type: Input
|
|
136
|
-
}] } });
|
|
137
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLXRvZ2dsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9idXR0b24tdG9nZ2xlL2J1dHRvbi10b2dnbGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFHTCxTQUFTLEVBQ1QsZUFBZSxFQUNmLFlBQVksRUFDWixVQUFVLEVBQ1YsV0FBVyxFQUNYLEtBQUssRUFHTCxNQUFNLEVBR04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBd0IsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUd6RSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQzs7QUFlaEcsTUFBTSxPQUFPLHVCQUF1QjtJQUNsQyxJQUErQixPQUFPO1FBQ3BDLE9BQU8sQ0FBQyxrQkFBa0IsRUFBRSxJQUFJLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ2hGLENBQUM7SUFBQSx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AgIH0pO1xuICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMucHVzaChzdWIpO1xuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=
|