@biit-solutions/wizardry-theme 1.21.34
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/README.md +15 -0
- package/assets/i18n/chart/de.json +3 -0
- package/assets/i18n/chart/en.json +3 -0
- package/assets/i18n/chart/es.json +3 -0
- package/assets/i18n/chart/fr.json +3 -0
- package/assets/i18n/chart/nl.json +3 -0
- package/assets/i18n/info/de.json +4 -0
- package/assets/i18n/info/en.json +4 -0
- package/assets/i18n/info/es.json +4 -0
- package/assets/i18n/info/fr.json +4 -0
- package/assets/i18n/info/nl.json +1 -0
- package/assets/i18n/inputs/de.json +8 -0
- package/assets/i18n/inputs/en.json +8 -0
- package/assets/i18n/inputs/es.json +8 -0
- package/assets/i18n/inputs/fr.json +8 -0
- package/assets/i18n/inputs/nl.json +4 -0
- package/assets/i18n/login/de.json +32 -0
- package/assets/i18n/login/en.json +32 -0
- package/assets/i18n/login/es.json +32 -0
- package/assets/i18n/login/fr.json +32 -0
- package/assets/i18n/login/nl.json +32 -0
- package/assets/i18n/login-welcome/en.json +6 -0
- package/assets/i18n/login-welcome/es.json +6 -0
- package/assets/i18n/login-welcome/nl.json +6 -0
- package/assets/i18n/table/de.json +14 -0
- package/assets/i18n/table/en.json +14 -0
- package/assets/i18n/table/es.json +14 -0
- package/assets/i18n/table/fr.json +14 -0
- package/assets/i18n/table/nl.json +11 -0
- package/assets/i18n/utils/en.json +69 -0
- package/assets/i18n/utils/es.json +69 -0
- package/assets/i18n/utils/nl.json +1 -0
- package/assets/styles/context-menu/base.scss +131 -0
- package/assets/styles/context-menu/button-reset.scss +31 -0
- package/assets/styles/context-menu/dark-theme.scss +29 -0
- package/button/biit-action-button/biit-action-button.component.d.ts +18 -0
- package/button/biit-action-button/biit-action-button.module.d.ts +10 -0
- package/button/biit-button/biit-button.component.d.ts +25 -0
- package/button/biit-button/biit-button.module.d.ts +9 -0
- package/button/biit-icon-button/biit-icon-button.component.d.ts +8 -0
- package/button/biit-icon-button/biit-icon-button.module.d.ts +8 -0
- package/button/index.d.ts +5 -0
- package/button/public-api.d.ts +6 -0
- package/calendar/biit-calendar/biit-calendar.component.d.ts +52 -0
- package/calendar/biit-calendar/biit-calendar.module.d.ts +12 -0
- package/calendar/biit-calendar/calendar-utility.d.ts +3 -0
- package/calendar/biit-calendar/models/calendar-configuration.d.ts +5 -0
- package/calendar/biit-calendar/models/calendar-event-click-event.d.ts +6 -0
- package/calendar/biit-calendar/models/calendar-event.d.ts +22 -0
- package/calendar/index.d.ts +5 -0
- package/calendar/public-api.d.ts +7 -0
- package/calendar/utils/event-color.d.ts +105 -0
- package/charts/bar-chart/bar-chart.component.d.ts +46 -0
- package/charts/bar-chart/bar-chart.module.d.ts +9 -0
- package/charts/bar-chart/models/bar-chart-data.d.ts +33 -0
- package/charts/heatmap-chart/heatmap-chart-data.d.ts +22 -0
- package/charts/heatmap-chart/heatmap-chart-range.d.ts +6 -0
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +42 -0
- package/charts/heatmap-chart/heatmap-chart.module.d.ts +10 -0
- package/charts/index.d.ts +5 -0
- package/charts/line-chart/line-chart.component.d.ts +38 -0
- package/charts/line-chart/line-chart.module.d.ts +9 -0
- package/charts/line-chart/models/line-chart-data.d.ts +12 -0
- package/charts/meta-view-chart/components/bar-range/bar-range.component.d.ts +14 -0
- package/charts/meta-view-chart/components/bar-range/bar-range.module.d.ts +12 -0
- package/charts/meta-view-chart/components/boolean-filter/boolean-filter.component.d.ts +10 -0
- package/charts/meta-view-chart/components/boolean-filter/boolean-filter.module.d.ts +10 -0
- package/charts/meta-view-chart/components/date-filter-selector/date-filter-selector.component.d.ts +28 -0
- package/charts/meta-view-chart/components/date-filter-selector/date-filter-selector.module.d.ts +12 -0
- package/charts/meta-view-chart/components/meta-board/meta-board.component.d.ts +12 -0
- package/charts/meta-view-chart/components/meta-board/meta-board.module.d.ts +9 -0
- package/charts/meta-view-chart/components/meta-element/meta-element.component.d.ts +8 -0
- package/charts/meta-view-chart/components/meta-element/meta-element.module.d.ts +9 -0
- package/charts/meta-view-chart/components/meta-sorter/meta-filter.component.d.ts +28 -0
- package/charts/meta-view-chart/components/meta-sorter/meta-filter.module.d.ts +17 -0
- package/charts/meta-view-chart/components/meta-sorter/model/FieldType.d.ts +8 -0
- package/charts/meta-view-chart/components/metadata-viewer/metadata-viewer.component.d.ts +13 -0
- package/charts/meta-view-chart/components/metadata-viewer/metadata-viewer.module.d.ts +14 -0
- package/charts/meta-view-chart/components/text-filter/text-filter.component.d.ts +11 -0
- package/charts/meta-view-chart/components/text-filter/text-filter.module.d.ts +10 -0
- package/charts/meta-view-chart/meta-view-chart.component.d.ts +32 -0
- package/charts/meta-view-chart/meta-view-chart.module.d.ts +16 -0
- package/charts/meta-view-chart/model/meta-view-data.d.ts +10 -0
- package/charts/meta-view-chart/model/meta-view-element-data.d.ts +9 -0
- package/charts/meta-view-chart/model/meta-view-preselection.d.ts +5 -0
- package/charts/meta-view-chart/model/view.d.ts +4 -0
- package/charts/meta-view-chart/pipes/auto-format.pipe.d.ts +7 -0
- package/charts/meta-view-chart/pipes/extract-data.pipe.d.ts +8 -0
- package/charts/meta-view-chart/pipes/field-type.pipe.d.ts +8 -0
- package/charts/meta-view-chart/pipes/filter-by.pipe.d.ts +7 -0
- package/charts/meta-view-chart/pipes/has.pipe.d.ts +7 -0
- package/charts/meta-view-chart/pipes/meta-element-max-value.pipe.d.ts +8 -0
- package/charts/meta-view-chart/pipes/meta-element-min-value.pipe.d.ts +8 -0
- package/charts/meta-view-chart/pipes/meta-element-to-bar-chart.pipe.d.ts +9 -0
- package/charts/meta-view-chart/pipes/month-name.pipe.d.ts +7 -0
- package/charts/meta-view-chart/pipes/pipes.module.d.ts +20 -0
- package/charts/meta-view-chart/pipes/printf.pipe.d.ts +7 -0
- package/charts/meta-view-chart/pipes/remove-from-array.pipe.d.ts +7 -0
- package/charts/meta-view-chart/pipes/safe-html.pipe.d.ts +10 -0
- package/charts/meta-view-chart/pipes/step-value-extractor.pipe.d.ts +9 -0
- package/charts/pie-chart/models/pie-chart-data.d.ts +5 -0
- package/charts/pie-chart/pie-chart.component.d.ts +39 -0
- package/charts/pie-chart/pie-chart.module.d.ts +9 -0
- package/charts/public-api.d.ts +28 -0
- package/charts/radar-chart/models/radar-chart-data.d.ts +11 -0
- package/charts/radar-chart/radar-chart.component.d.ts +38 -0
- package/charts/radar-chart/radar-chart.module.d.ts +9 -0
- package/charts/radial-chart/models/radial-chart-data.d.ts +5 -0
- package/charts/radial-chart/radial-chart.component.d.ts +40 -0
- package/charts/radial-chart/radial-chart.module.d.ts +9 -0
- package/charts/timeline-viewer-chart/models/timeline-viewer-chart-data.d.ts +17 -0
- package/charts/timeline-viewer-chart/models/timeline-viewer-chart-options.d.ts +9 -0
- package/charts/timeline-viewer-chart/timeline-viewer-chart.component.d.ts +40 -0
- package/charts/timeline-viewer-chart/timeline-viewer-chart.module.d.ts +9 -0
- package/esm2020/biit-solutions-wizardry-theme.mjs +5 -0
- package/esm2020/button/biit-action-button/biit-action-button.component.mjs +68 -0
- package/esm2020/button/biit-action-button/biit-action-button.module.mjs +32 -0
- package/esm2020/button/biit-button/biit-button.component.mjs +57 -0
- package/esm2020/button/biit-button/biit-button.module.mjs +40 -0
- package/esm2020/button/biit-icon-button/biit-icon-button.component.mjs +19 -0
- package/esm2020/button/biit-icon-button/biit-icon-button.module.mjs +24 -0
- package/esm2020/button/biit-solutions-wizardry-theme-button.mjs +5 -0
- package/esm2020/button/public-api.mjs +10 -0
- package/esm2020/calendar/biit-calendar/biit-calendar.component.mjs +166 -0
- package/esm2020/calendar/biit-calendar/biit-calendar.module.mjs +44 -0
- package/esm2020/calendar/biit-calendar/calendar-utility.mjs +2 -0
- package/esm2020/calendar/biit-calendar/models/calendar-configuration.mjs +9 -0
- package/esm2020/calendar/biit-calendar/models/calendar-event-click-event.mjs +7 -0
- package/esm2020/calendar/biit-calendar/models/calendar-event.mjs +38 -0
- package/esm2020/calendar/biit-solutions-wizardry-theme-calendar.mjs +5 -0
- package/esm2020/calendar/public-api.mjs +11 -0
- package/esm2020/calendar/utils/event-color.mjs +101 -0
- package/esm2020/charts/bar-chart/bar-chart.component.mjs +190 -0
- package/esm2020/charts/bar-chart/bar-chart.module.mjs +24 -0
- package/esm2020/charts/bar-chart/models/bar-chart-data.mjs +39 -0
- package/esm2020/charts/biit-solutions-wizardry-theme-charts.mjs +5 -0
- package/esm2020/charts/heatmap-chart/heatmap-chart-data.mjs +65 -0
- package/esm2020/charts/heatmap-chart/heatmap-chart-range.mjs +8 -0
- package/esm2020/charts/heatmap-chart/heatmap-chart.component.mjs +242 -0
- package/esm2020/charts/heatmap-chart/heatmap-chart.module.mjs +28 -0
- package/esm2020/charts/line-chart/line-chart.component.mjs +191 -0
- package/esm2020/charts/line-chart/line-chart.module.mjs +24 -0
- package/esm2020/charts/line-chart/models/line-chart-data.mjs +15 -0
- package/esm2020/charts/meta-view-chart/components/bar-range/bar-range.component.mjs +46 -0
- package/esm2020/charts/meta-view-chart/components/bar-range/bar-range.module.mjs +43 -0
- package/esm2020/charts/meta-view-chart/components/boolean-filter/boolean-filter.component.mjs +27 -0
- package/esm2020/charts/meta-view-chart/components/boolean-filter/boolean-filter.module.mjs +35 -0
- package/esm2020/charts/meta-view-chart/components/date-filter-selector/date-filter-selector.component.mjs +156 -0
- package/esm2020/charts/meta-view-chart/components/date-filter-selector/date-filter-selector.module.mjs +40 -0
- package/esm2020/charts/meta-view-chart/components/meta-board/meta-board.component.mjs +49 -0
- package/esm2020/charts/meta-view-chart/components/meta-board/meta-board.module.mjs +28 -0
- package/esm2020/charts/meta-view-chart/components/meta-element/meta-element.component.mjs +19 -0
- package/esm2020/charts/meta-view-chart/components/meta-element/meta-element.module.mjs +28 -0
- package/esm2020/charts/meta-view-chart/components/meta-sorter/meta-filter.component.mjs +92 -0
- package/esm2020/charts/meta-view-chart/components/meta-sorter/meta-filter.module.mjs +60 -0
- package/esm2020/charts/meta-view-chart/components/meta-sorter/model/FieldType.mjs +10 -0
- package/esm2020/charts/meta-view-chart/components/metadata-viewer/metadata-viewer.component.mjs +37 -0
- package/esm2020/charts/meta-view-chart/components/metadata-viewer/metadata-viewer.module.mjs +48 -0
- package/esm2020/charts/meta-view-chart/components/text-filter/text-filter.component.mjs +28 -0
- package/esm2020/charts/meta-view-chart/components/text-filter/text-filter.module.mjs +32 -0
- package/esm2020/charts/meta-view-chart/meta-view-chart.component.mjs +141 -0
- package/esm2020/charts/meta-view-chart/meta-view-chart.module.mjs +56 -0
- package/esm2020/charts/meta-view-chart/model/meta-view-data.mjs +13 -0
- package/esm2020/charts/meta-view-chart/model/meta-view-element-data.mjs +7 -0
- package/esm2020/charts/meta-view-chart/model/meta-view-preselection.mjs +7 -0
- package/esm2020/charts/meta-view-chart/model/view.mjs +6 -0
- package/esm2020/charts/meta-view-chart/pipes/auto-format.pipe.mjs +19 -0
- package/esm2020/charts/meta-view-chart/pipes/extract-data.pipe.mjs +16 -0
- package/esm2020/charts/meta-view-chart/pipes/field-type.pipe.mjs +34 -0
- package/esm2020/charts/meta-view-chart/pipes/filter-by.pipe.mjs +16 -0
- package/esm2020/charts/meta-view-chart/pipes/has.pipe.mjs +16 -0
- package/esm2020/charts/meta-view-chart/pipes/meta-element-max-value.pipe.mjs +20 -0
- package/esm2020/charts/meta-view-chart/pipes/meta-element-min-value.pipe.mjs +20 -0
- package/esm2020/charts/meta-view-chart/pipes/meta-element-to-bar-chart.pipe.mjs +29 -0
- package/esm2020/charts/meta-view-chart/pipes/month-name.pipe.mjs +18 -0
- package/esm2020/charts/meta-view-chart/pipes/pipes.module.mjs +84 -0
- package/esm2020/charts/meta-view-chart/pipes/printf.pipe.mjs +19 -0
- package/esm2020/charts/meta-view-chart/pipes/remove-from-array.pipe.mjs +16 -0
- package/esm2020/charts/meta-view-chart/pipes/safe-html.pipe.mjs +20 -0
- package/esm2020/charts/meta-view-chart/pipes/step-value-extractor.pipe.mjs +34 -0
- package/esm2020/charts/pie-chart/models/pie-chart-data.mjs +7 -0
- package/esm2020/charts/pie-chart/pie-chart.component.mjs +132 -0
- package/esm2020/charts/pie-chart/pie-chart.module.mjs +24 -0
- package/esm2020/charts/public-api.mjs +32 -0
- package/esm2020/charts/radar-chart/models/radar-chart-data.mjs +14 -0
- package/esm2020/charts/radar-chart/radar-chart.component.mjs +140 -0
- package/esm2020/charts/radar-chart/radar-chart.module.mjs +24 -0
- package/esm2020/charts/radial-chart/models/radial-chart-data.mjs +7 -0
- package/esm2020/charts/radial-chart/radial-chart.component.mjs +145 -0
- package/esm2020/charts/radial-chart/radial-chart.module.mjs +24 -0
- package/esm2020/charts/timeline-viewer-chart/models/timeline-viewer-chart-data.mjs +23 -0
- package/esm2020/charts/timeline-viewer-chart/models/timeline-viewer-chart-options.mjs +6 -0
- package/esm2020/charts/timeline-viewer-chart/timeline-viewer-chart.component.mjs +206 -0
- package/esm2020/charts/timeline-viewer-chart/timeline-viewer-chart.module.mjs +25 -0
- package/esm2020/i18n/biit-solutions-wizardry-theme-i18n.mjs +5 -0
- package/esm2020/i18n/i18n/http-loader.mjs +19 -0
- package/esm2020/i18n/i18n/supported-languages.mjs +9 -0
- package/esm2020/i18n/i18n/transloco-root.module.mjs +83 -0
- package/esm2020/i18n/public-api.mjs +7 -0
- package/esm2020/icon/biit-icon/biit-icon.component.mjs +92 -0
- package/esm2020/icon/biit-icon/biit-icon.module.mjs +24 -0
- package/esm2020/icon/biit-icon/biit-icon.service.mjs +25 -0
- package/esm2020/icon/biit-solutions-wizardry-theme-icon.mjs +5 -0
- package/esm2020/icon/public-api.mjs +7 -0
- package/esm2020/info/biit-cookies-consent/biit-cookies-consent.component.mjs +36 -0
- package/esm2020/info/biit-cookies-consent/biit-cookies-consent.module.mjs +36 -0
- package/esm2020/info/biit-gallery-card/biit-gallery-card.component.mjs +23 -0
- package/esm2020/info/biit-gallery-card/biit-gallery-card.module.mjs +28 -0
- package/esm2020/info/biit-progress-bar/biit-progress-bar.component.mjs +31 -0
- package/esm2020/info/biit-progress-bar/biit-progress-bar.module.mjs +24 -0
- package/esm2020/info/biit-snackbar/biit-notification/biit-notification.component.mjs +38 -0
- package/esm2020/info/biit-snackbar/biit-snackbar.component.mjs +50 -0
- package/esm2020/info/biit-snackbar/biit-snackbar.module.mjs +41 -0
- package/esm2020/info/biit-snackbar/biit-snackbar.service.mjs +64 -0
- package/esm2020/info/biit-snackbar/models/biit-snackbar-horizontal-position.mjs +7 -0
- package/esm2020/info/biit-snackbar/models/biit-snackbar-vertical-position.mjs +6 -0
- package/esm2020/info/biit-snackbar/models/notification-type.mjs +8 -0
- package/esm2020/info/biit-snackbar/models/notification.mjs +23 -0
- package/esm2020/info/biit-solutions-wizardry-theme-info.mjs +5 -0
- package/esm2020/info/biit-tooltip/biit-tooltip.component.mjs +19 -0
- package/esm2020/info/biit-tooltip/biit-tooltip.directive.mjs +106 -0
- package/esm2020/info/biit-tooltip/biit-tooltip.module.mjs +29 -0
- package/esm2020/info/biit-tooltip-icon/biit-tooltip-icon.component.mjs +23 -0
- package/esm2020/info/biit-tooltip-icon/biit-tooltip-icon.module.mjs +28 -0
- package/esm2020/info/public-api.mjs +23 -0
- package/esm2020/inputs/biit-checkbox/biit-checkbox.component.mjs +52 -0
- package/esm2020/inputs/biit-checkbox/biit-checkbox.module.mjs +32 -0
- package/esm2020/inputs/biit-datepicker/biit-datepicker.component.mjs +251 -0
- package/esm2020/inputs/biit-datepicker/biit-datepicker.module.mjs +68 -0
- package/esm2020/inputs/biit-datepicker/models/view.mjs +6 -0
- package/esm2020/inputs/biit-datepicker/pipes/calendar-date-pipe.mjs +18 -0
- package/esm2020/inputs/biit-datepicker/pipes/is-disabled-pipe.mjs +35 -0
- package/esm2020/inputs/biit-datepicker/pipes/is-same-day-pipe.mjs +19 -0
- package/esm2020/inputs/biit-datepicker/pipes/is-today-pipe.mjs +19 -0
- package/esm2020/inputs/biit-datepicker/pipes/month-selector-label-pipe.mjs +22 -0
- package/esm2020/inputs/biit-datepicker/pipes/out-of-month-pipe.mjs +19 -0
- package/esm2020/inputs/biit-dropdown/biit-dropdown.component.mjs +269 -0
- package/esm2020/inputs/biit-dropdown/biit-dropdown.module.mjs +36 -0
- package/esm2020/inputs/biit-group/biit-group.component.mjs +38 -0
- package/esm2020/inputs/biit-group/biit-group.module.mjs +32 -0
- package/esm2020/inputs/biit-input-text/biit-input-text.component.mjs +142 -0
- package/esm2020/inputs/biit-input-text/biit-input-text.module.mjs +40 -0
- package/esm2020/inputs/biit-multiselect/biit-multiselect.component.mjs +321 -0
- package/esm2020/inputs/biit-multiselect/biit-multiselect.module.mjs +40 -0
- package/esm2020/inputs/biit-radio-button/biit-radio-button.component.mjs +62 -0
- package/esm2020/inputs/biit-radio-button/biit-radio-button.module.mjs +36 -0
- package/esm2020/inputs/biit-slider/biit-slider.component.mjs +85 -0
- package/esm2020/inputs/biit-slider/biit-slider.module.mjs +32 -0
- package/esm2020/inputs/biit-slider-option/biit-slider-option.component.mjs +99 -0
- package/esm2020/inputs/biit-slider-option/biit-slider-option.module.mjs +36 -0
- package/esm2020/inputs/biit-slider-option-vertical/biit-slider-option-vertical.component.mjs +97 -0
- package/esm2020/inputs/biit-slider-option-vertical/biit-slider-option-vertical.module.mjs +36 -0
- package/esm2020/inputs/biit-slider-range/biit-slider-range.component.mjs +108 -0
- package/esm2020/inputs/biit-slider-range/biit-slider-range.module.mjs +32 -0
- package/esm2020/inputs/biit-solutions-wizardry-theme-inputs.mjs +5 -0
- package/esm2020/inputs/biit-ternary-togle/biit-ternary-toggle.component.mjs +65 -0
- package/esm2020/inputs/biit-ternary-togle/biit-ternary-toggle.module.mjs +31 -0
- package/esm2020/inputs/biit-textarea/biit-textarea.component.mjs +99 -0
- package/esm2020/inputs/biit-textarea/biit-textarea.module.mjs +36 -0
- package/esm2020/inputs/biit-toggle/biit-toggle.component.mjs +45 -0
- package/esm2020/inputs/biit-toggle/biit-toggle.module.mjs +28 -0
- package/esm2020/inputs/biit-toggle-group/biit-toggle-button.component.mjs +23 -0
- package/esm2020/inputs/biit-toggle-group/biit-toggle-group.component.mjs +69 -0
- package/esm2020/inputs/biit-toggle-group/biit-toggle-group.module.mjs +37 -0
- package/esm2020/inputs/public-api.mjs +36 -0
- package/esm2020/login/biit-login/biit-login.component.mjs +238 -0
- package/esm2020/login/biit-login/biit-login.module.mjs +53 -0
- package/esm2020/login/biit-login/models/LoginErrors.mjs +10 -0
- package/esm2020/login/biit-login/models/biit-login-service-support.mjs +2 -0
- package/esm2020/login/biit-login/models/sign-up-request.mjs +11 -0
- package/esm2020/login/biit-solutions-wizardry-theme-login.mjs +5 -0
- package/esm2020/login/public-api.mjs +8 -0
- package/esm2020/models/BiitLogin.mjs +14 -0
- package/esm2020/models/biit-solutions-wizardry-theme-models.mjs +5 -0
- package/esm2020/models/public-api.mjs +5 -0
- package/esm2020/navigation/biit-nav-menu/biit-nav-menu.component.mjs +87 -0
- package/esm2020/navigation/biit-nav-menu/biit-nav-menu.module.mjs +32 -0
- package/esm2020/navigation/biit-nav-user/biit-nav-user.component.mjs +26 -0
- package/esm2020/navigation/biit-nav-user/biit-nav-user.module.mjs +24 -0
- package/esm2020/navigation/biit-solutions-wizardry-theme-navigation.mjs +5 -0
- package/esm2020/navigation/biit-tab-group/biit-tab-group.component.mjs +54 -0
- package/esm2020/navigation/biit-tab-group/biit-tab-group.module.mjs +36 -0
- package/esm2020/navigation/biit-tab-group/biit-tab.component.mjs +21 -0
- package/esm2020/navigation/biit-vertical-menu/biit-vertical-menu.component.mjs +30 -0
- package/esm2020/navigation/biit-vertical-menu/biit-vertical-menu.module.mjs +36 -0
- package/esm2020/navigation/public-api.mjs +13 -0
- package/esm2020/popup/biit-popup/biit-popup.component.mjs +156 -0
- package/esm2020/popup/biit-popup/biit-popup.module.mjs +52 -0
- package/esm2020/popup/biit-solutions-wizardry-theme-popup.mjs +5 -0
- package/esm2020/popup/public-api.mjs +6 -0
- package/esm2020/public-api.mjs +6 -0
- package/esm2020/table/biit-datatable/biit-datatable.component.mjs +138 -0
- package/esm2020/table/biit-datatable/biit-datatable.module.mjs +62 -0
- package/esm2020/table/biit-datatable/models/datatable-column.mjs +15 -0
- package/esm2020/table/biit-datatable/models/page.mjs +11 -0
- package/esm2020/table/biit-datatable-pager/biit-datatable-pager.component.mjs +35 -0
- package/esm2020/table/biit-datatable-pager/biit-datatable-pager.module.mjs +40 -0
- package/esm2020/table/biit-paginator/biit-paginator.component.mjs +196 -0
- package/esm2020/table/biit-paginator/biit-paginator.module.mjs +48 -0
- package/esm2020/table/biit-paginator/models/biit-paginator-options.mjs +11 -0
- package/esm2020/table/biit-solutions-wizardry-theme-table.mjs +5 -0
- package/esm2020/table/biit-table/biit-table.component.mjs +301 -0
- package/esm2020/table/biit-table/biit-table.module.mjs +95 -0
- package/esm2020/table/biit-table/models/biit-table-action-response.mjs +7 -0
- package/esm2020/table/biit-table/models/biit-table-column.mjs +21 -0
- package/esm2020/table/biit-table/models/biit-table-data.mjs +7 -0
- package/esm2020/table/biit-table/models/biit-table-response.mjs +9 -0
- package/esm2020/table/biit-table/models/biit-table-sorting.mjs +12 -0
- package/esm2020/table/biit-table/models/column-resize-handler.mjs +3 -0
- package/esm2020/table/biit-table/pipes/column-data-pipe.mjs +21 -0
- package/esm2020/table/biit-table/pipes/visible-columns-pipe.mjs +16 -0
- package/esm2020/table/public-api.mjs +20 -0
- package/esm2020/table/utils/generic-filter.mjs +47 -0
- package/esm2020/table/utils/generic-sort.mjs +42 -0
- package/esm2020/utils/biit-solutions-wizardry-theme-utils.mjs +5 -0
- package/esm2020/utils/error-handler.mjs +24 -0
- package/esm2020/utils/i-stack.mjs +2 -0
- package/esm2020/utils/input-limits.mjs +8 -0
- package/esm2020/utils/pipes/localized-date-pipe.mjs +23 -0
- package/esm2020/utils/pipes/localized-date-pipe.module.mjs +17 -0
- package/esm2020/utils/pipes/map-get-pipe.mjs +21 -0
- package/esm2020/utils/pipes/map-get-pipe.module.mjs +17 -0
- package/esm2020/utils/public-api.mjs +11 -0
- package/esm2020/utils/stack.mjs +22 -0
- package/fesm2015/biit-solutions-wizardry-theme-button.mjs +233 -0
- package/fesm2015/biit-solutions-wizardry-theme-button.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-calendar.mjs +369 -0
- package/fesm2015/biit-solutions-wizardry-theme-calendar.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-charts.mjs +2780 -0
- package/fesm2015/biit-solutions-wizardry-theme-charts.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-i18n.mjs +118 -0
- package/fesm2015/biit-solutions-wizardry-theme-i18n.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-icon.mjs +147 -0
- package/fesm2015/biit-solutions-wizardry-theme-icon.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-info.mjs +572 -0
- package/fesm2015/biit-solutions-wizardry-theme-info.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-inputs.mjs +2317 -0
- package/fesm2015/biit-solutions-wizardry-theme-inputs.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-login.mjs +318 -0
- package/fesm2015/biit-solutions-wizardry-theme-login.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-models.mjs +24 -0
- package/fesm2015/biit-solutions-wizardry-theme-models.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-navigation.mjs +330 -0
- package/fesm2015/biit-solutions-wizardry-theme-navigation.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-popup.mjs +216 -0
- package/fesm2015/biit-solutions-wizardry-theme-popup.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-table.mjs +1067 -0
- package/fesm2015/biit-solutions-wizardry-theme-table.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme-utils.mjs +136 -0
- package/fesm2015/biit-solutions-wizardry-theme-utils.mjs.map +1 -0
- package/fesm2015/biit-solutions-wizardry-theme.mjs +12 -0
- package/fesm2015/biit-solutions-wizardry-theme.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-button.mjs +233 -0
- package/fesm2020/biit-solutions-wizardry-theme-button.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-calendar.mjs +369 -0
- package/fesm2020/biit-solutions-wizardry-theme-calendar.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-charts.mjs +2746 -0
- package/fesm2020/biit-solutions-wizardry-theme-charts.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-i18n.mjs +118 -0
- package/fesm2020/biit-solutions-wizardry-theme-i18n.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-icon.mjs +145 -0
- package/fesm2020/biit-solutions-wizardry-theme-icon.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-info.mjs +572 -0
- package/fesm2020/biit-solutions-wizardry-theme-info.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-inputs.mjs +2313 -0
- package/fesm2020/biit-solutions-wizardry-theme-inputs.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-login.mjs +317 -0
- package/fesm2020/biit-solutions-wizardry-theme-login.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-models.mjs +24 -0
- package/fesm2020/biit-solutions-wizardry-theme-models.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-navigation.mjs +328 -0
- package/fesm2020/biit-solutions-wizardry-theme-navigation.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-popup.mjs +216 -0
- package/fesm2020/biit-solutions-wizardry-theme-popup.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-table.mjs +1064 -0
- package/fesm2020/biit-solutions-wizardry-theme-table.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme-utils.mjs +135 -0
- package/fesm2020/biit-solutions-wizardry-theme-utils.mjs.map +1 -0
- package/fesm2020/biit-solutions-wizardry-theme.mjs +12 -0
- package/fesm2020/biit-solutions-wizardry-theme.mjs.map +1 -0
- package/i18n/i18n/http-loader.d.ts +11 -0
- package/i18n/i18n/supported-languages.d.ts +10 -0
- package/i18n/i18n/transloco-root.module.d.ts +8 -0
- package/i18n/index.d.ts +5 -0
- package/i18n/public-api.d.ts +3 -0
- package/icon/biit-icon/biit-icon.component.d.ts +23 -0
- package/icon/biit-icon/biit-icon.module.d.ts +8 -0
- package/icon/biit-icon/biit-icon.service.d.ts +10 -0
- package/icon/index.d.ts +5 -0
- package/icon/public-api.d.ts +3 -0
- package/index.d.ts +5 -0
- package/info/biit-cookies-consent/biit-cookies-consent.component.d.ts +8 -0
- package/info/biit-cookies-consent/biit-cookies-consent.module.d.ts +11 -0
- package/info/biit-gallery-card/biit-gallery-card.component.d.ts +9 -0
- package/info/biit-gallery-card/biit-gallery-card.module.d.ts +9 -0
- package/info/biit-progress-bar/biit-progress-bar.component.d.ts +13 -0
- package/info/biit-progress-bar/biit-progress-bar.module.d.ts +8 -0
- package/info/biit-snackbar/biit-notification/biit-notification.component.d.ts +12 -0
- package/info/biit-snackbar/biit-snackbar.component.d.ts +12 -0
- package/info/biit-snackbar/biit-snackbar.module.d.ts +12 -0
- package/info/biit-snackbar/biit-snackbar.service.d.ts +21 -0
- package/info/biit-snackbar/models/biit-snackbar-horizontal-position.d.ts +5 -0
- package/info/biit-snackbar/models/biit-snackbar-vertical-position.d.ts +4 -0
- package/info/biit-snackbar/models/notification-type.d.ts +6 -0
- package/info/biit-snackbar/models/notification.d.ts +12 -0
- package/info/biit-tooltip/biit-tooltip.component.d.ts +11 -0
- package/info/biit-tooltip/biit-tooltip.directive.d.ts +16 -0
- package/info/biit-tooltip/biit-tooltip.module.d.ts +9 -0
- package/info/biit-tooltip-icon/biit-tooltip-icon.component.d.ts +8 -0
- package/info/biit-tooltip-icon/biit-tooltip-icon.module.d.ts +9 -0
- package/info/index.d.ts +5 -0
- package/info/public-api.d.ts +19 -0
- package/inputs/biit-checkbox/biit-checkbox.component.d.ts +16 -0
- package/inputs/biit-checkbox/biit-checkbox.module.d.ts +10 -0
- package/inputs/biit-datepicker/biit-datepicker.component.d.ts +59 -0
- package/inputs/biit-datepicker/biit-datepicker.module.d.ts +20 -0
- package/inputs/biit-datepicker/models/view.d.ts +4 -0
- package/inputs/biit-datepicker/pipes/calendar-date-pipe.d.ts +8 -0
- package/inputs/biit-datepicker/pipes/is-disabled-pipe.d.ts +8 -0
- package/inputs/biit-datepicker/pipes/is-same-day-pipe.d.ts +8 -0
- package/inputs/biit-datepicker/pipes/is-today-pipe.d.ts +8 -0
- package/inputs/biit-datepicker/pipes/month-selector-label-pipe.d.ts +11 -0
- package/inputs/biit-datepicker/pipes/out-of-month-pipe.d.ts +8 -0
- package/inputs/biit-dropdown/biit-dropdown.component.d.ts +52 -0
- package/inputs/biit-dropdown/biit-dropdown.module.d.ts +11 -0
- package/inputs/biit-group/biit-group.component.d.ts +14 -0
- package/inputs/biit-group/biit-group.module.d.ts +10 -0
- package/inputs/biit-input-text/biit-input-text.component.d.ts +44 -0
- package/inputs/biit-input-text/biit-input-text.module.d.ts +12 -0
- package/inputs/biit-multiselect/biit-multiselect.component.d.ts +63 -0
- package/inputs/biit-multiselect/biit-multiselect.module.d.ts +12 -0
- package/inputs/biit-radio-button/biit-radio-button.component.d.ts +22 -0
- package/inputs/biit-radio-button/biit-radio-button.module.d.ts +11 -0
- package/inputs/biit-slider/biit-slider.component.d.ts +27 -0
- package/inputs/biit-slider/biit-slider.module.d.ts +10 -0
- package/inputs/biit-slider-option/biit-slider-option.component.d.ts +32 -0
- package/inputs/biit-slider-option/biit-slider-option.module.d.ts +11 -0
- package/inputs/biit-slider-option-vertical/biit-slider-option-vertical.component.d.ts +32 -0
- package/inputs/biit-slider-option-vertical/biit-slider-option-vertical.module.d.ts +11 -0
- package/inputs/biit-slider-range/biit-slider-range.component.d.ts +28 -0
- package/inputs/biit-slider-range/biit-slider-range.module.d.ts +10 -0
- package/inputs/biit-ternary-togle/biit-ternary-toggle.component.d.ts +15 -0
- package/inputs/biit-ternary-togle/biit-ternary-toggle.module.d.ts +9 -0
- package/inputs/biit-textarea/biit-textarea.component.d.ts +31 -0
- package/inputs/biit-textarea/biit-textarea.module.d.ts +11 -0
- package/inputs/biit-toggle/biit-toggle.component.d.ts +14 -0
- package/inputs/biit-toggle/biit-toggle.module.d.ts +9 -0
- package/inputs/biit-toggle-group/biit-toggle-button.component.d.ts +12 -0
- package/inputs/biit-toggle-group/biit-toggle-group.component.d.ts +19 -0
- package/inputs/biit-toggle-group/biit-toggle-group.module.d.ts +11 -0
- package/inputs/index.d.ts +5 -0
- package/inputs/public-api.d.ts +32 -0
- package/login/biit-login/biit-login.component.d.ts +59 -0
- package/login/biit-login/biit-login.module.d.ts +14 -0
- package/login/biit-login/models/LoginErrors.d.ts +8 -0
- package/login/biit-login/models/biit-login-service-support.d.ts +3 -0
- package/login/biit-login/models/sign-up-request.d.ts +10 -0
- package/login/index.d.ts +5 -0
- package/login/public-api.d.ts +4 -0
- package/models/BiitLogin.d.ts +6 -0
- package/models/index.d.ts +5 -0
- package/models/public-api.d.ts +1 -0
- package/navigation/biit-nav-menu/biit-nav-menu.component.d.ts +31 -0
- package/navigation/biit-nav-menu/biit-nav-menu.module.d.ts +10 -0
- package/navigation/biit-nav-user/biit-nav-user.component.d.ts +10 -0
- package/navigation/biit-nav-user/biit-nav-user.module.d.ts +8 -0
- package/navigation/biit-tab-group/biit-tab-group.component.d.ts +18 -0
- package/navigation/biit-tab-group/biit-tab-group.module.d.ts +10 -0
- package/navigation/biit-tab-group/biit-tab.component.d.ts +8 -0
- package/navigation/biit-vertical-menu/biit-vertical-menu.component.d.ts +11 -0
- package/navigation/biit-vertical-menu/biit-vertical-menu.module.d.ts +12 -0
- package/navigation/index.d.ts +5 -0
- package/navigation/public-api.d.ts +9 -0
- package/package.json +151 -0
- package/popup/biit-popup/biit-popup.component.d.ts +66 -0
- package/popup/biit-popup/biit-popup.module.d.ts +9 -0
- package/popup/index.d.ts +5 -0
- package/popup/public-api.d.ts +2 -0
- package/public-api.d.ts +1 -0
- package/styles.scss +128 -0
- package/table/biit-datatable/biit-datatable.component.d.ts +57 -0
- package/table/biit-datatable/biit-datatable.module.d.ts +15 -0
- package/table/biit-datatable/models/datatable-column.d.ts +192 -0
- package/table/biit-datatable/models/page.d.ts +6 -0
- package/table/biit-datatable-pager/biit-datatable-pager.component.d.ts +10 -0
- package/table/biit-datatable-pager/biit-datatable-pager.module.d.ts +13 -0
- package/table/biit-paginator/biit-paginator.component.d.ts +31 -0
- package/table/biit-paginator/biit-paginator.module.d.ts +13 -0
- package/table/biit-paginator/models/biit-paginator-options.d.ts +9 -0
- package/table/biit-table/biit-table.component.d.ts +87 -0
- package/table/biit-table/biit-table.module.d.ts +19 -0
- package/table/biit-table/models/biit-table-action-response.d.ts +5 -0
- package/table/biit-table/models/biit-table-column.d.ts +18 -0
- package/table/biit-table/models/biit-table-data.d.ts +5 -0
- package/table/biit-table/models/biit-table-response.d.ts +8 -0
- package/table/biit-table/models/biit-table-sorting.d.ts +9 -0
- package/table/biit-table/models/column-resize-handler.d.ts +7 -0
- package/table/biit-table/pipes/column-data-pipe.d.ts +7 -0
- package/table/biit-table/pipes/visible-columns-pipe.d.ts +8 -0
- package/table/index.d.ts +5 -0
- package/table/public-api.d.ts +16 -0
- package/table/utils/generic-filter.d.ts +3 -0
- package/table/utils/generic-sort.d.ts +5 -0
- package/utils/error-handler.d.ts +6 -0
- package/utils/i-stack.d.ts +6 -0
- package/utils/index.d.ts +5 -0
- package/utils/input-limits.d.ts +7 -0
- package/utils/pipes/localized-date-pipe.d.ts +10 -0
- package/utils/pipes/localized-date-pipe.module.d.ts +7 -0
- package/utils/pipes/map-get-pipe.d.ts +7 -0
- package/utils/pipes/map-get-pipe.module.d.ts +7 -0
- package/utils/public-api.d.ts +7 -0
- package/utils/stack.d.ts +10 -0
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Component, NgModule, Input, ContentChildren } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { FormsModule } from '@angular/forms';
|
|
6
|
+
import * as i1$1 from '@biit-solutions/wizardry-theme/icon';
|
|
7
|
+
import { BiitIconModule } from '@biit-solutions/wizardry-theme/icon';
|
|
8
|
+
|
|
9
|
+
class BiitButtonPrimaryDirective {
|
|
10
|
+
constructor(parent) {
|
|
11
|
+
this.parent = parent;
|
|
12
|
+
parent.color = 'primary';
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
BiitButtonPrimaryDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonPrimaryDirective, deps: [{ token: BiitButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
BiitButtonPrimaryDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BiitButtonPrimaryDirective, selector: "[primary]", ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonPrimaryDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[primary]'
|
|
21
|
+
}]
|
|
22
|
+
}], ctorParameters: function () { return [{ type: BiitButtonComponent }]; } });
|
|
23
|
+
class BiitButtonSecondaryDirective {
|
|
24
|
+
constructor(parent) {
|
|
25
|
+
this.parent = parent;
|
|
26
|
+
parent.color = 'secondary';
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
BiitButtonSecondaryDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonSecondaryDirective, deps: [{ token: BiitButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
+
BiitButtonSecondaryDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BiitButtonSecondaryDirective, selector: "[secondary]", ngImport: i0 });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonSecondaryDirective, decorators: [{
|
|
32
|
+
type: Directive,
|
|
33
|
+
args: [{
|
|
34
|
+
selector: '[secondary]'
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: function () { return [{ type: BiitButtonComponent }]; } });
|
|
37
|
+
class BiitButtonTertiaryDirective {
|
|
38
|
+
constructor(parent) {
|
|
39
|
+
this.parent = parent;
|
|
40
|
+
parent.color = 'tertiary';
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
BiitButtonTertiaryDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonTertiaryDirective, deps: [{ token: BiitButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
44
|
+
BiitButtonTertiaryDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BiitButtonTertiaryDirective, selector: "[tertiary]", ngImport: i0 });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonTertiaryDirective, decorators: [{
|
|
46
|
+
type: Directive,
|
|
47
|
+
args: [{
|
|
48
|
+
selector: '[tertiary]'
|
|
49
|
+
}]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: BiitButtonComponent }]; } });
|
|
51
|
+
class BiitButtonComponent {
|
|
52
|
+
constructor() {
|
|
53
|
+
this.color = 'primary';
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
BiitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
BiitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BiitButtonComponent, selector: "button[biit-button]", ngImport: i0, template: "<div class=\"button-base prevent-select {{color}}\">\n <div class=\"button-content\">\n <span #text>\n <ng-content></ng-content>\n </span>\n <div *ngIf=\"color == 'tertiary'\" class=\"bar\" [ngStyle]=\"{'width.px': text.offsetWidth }\"></div>\n </div>\n</div>\n", styles: ["*{box-sizing:border-box}:host{background:none;color:inherit;border:none;padding:0;font:inherit;outline:inherit}:host .button-base{font-size:inherit;line-height:1em;width:-moz-fit-content;width:fit-content;background:transparent;box-sizing:border-box;border:3px solid transparent;cursor:pointer}:host .button-base:not(.tertiary) .button-content{padding:.55em 1.4em}:host .button-base:not(.tertiary):active .button-content{translate:.3em .3em}:host .button-base:not(.tertiary).primary{color:#fff;background:#F20D5E}:host .button-base:not(.tertiary).primary:hover,:host .button-base:not(.tertiary).primary :focus-visible{background:transparent;border:3px solid #262626}:host .button-base:not(.tertiary).primary:active{background:transparent;border:3px solid #262626}:host .button-base:not(.tertiary).primary .button-content{background:#F20D5E}:host .button-base:not(.tertiary).secondary{color:#262626;border:3px solid #262626}:host .button-base:not(.tertiary).secondary:hover .button-content,:host .button-base:not(.tertiary).secondary :focus-visible .button-content{background:#D9D9D9}:host .button-base:not(.tertiary).secondary:active .button-content{background:#D9D9D9}:host .button-base.tertiary{color:#f20d5e;border:0}:host .button-base.tertiary:hover .bar,:host .button-base.tertiary :focus-visible .bar{top:.15em}:host .button-base.tertiary:active .bar{top:0}:host:focus-visible:not(.disabled) .primary{background:transparent;border:3px solid #262626}:host:focus-visible:not(.disabled) .secondary .button-content{background:#D9D9D9}:host:focus-visible:not(.disabled) .tertiary .bar{top:.15em}:host:disabled{pointer-events:none}:host:disabled .primary{border:3px solid #D9D9D9}:host:disabled .primary .button-content{background:#D9D9D9!important;color:gray}:host:disabled .secondary{border:3px solid #D9D9D9!important;color:#d9d9d9}:host:disabled .tertiary{color:#d9d9d9}:host:disabled .tertiary .bar{background:#D9D9D9}.prevent-select{-webkit-user-select:none;user-select:none}.button-content{width:-moz-fit-content;width:fit-content;text-transform:uppercase;font-weight:700;text-align:center}.bar{width:100%;height:.15em;background:#F20D5E;position:relative;margin:0 auto}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonComponent, decorators: [{
|
|
59
|
+
type: Component,
|
|
60
|
+
args: [{ selector: 'button[biit-button]', template: "<div class=\"button-base prevent-select {{color}}\">\n <div class=\"button-content\">\n <span #text>\n <ng-content></ng-content>\n </span>\n <div *ngIf=\"color == 'tertiary'\" class=\"bar\" [ngStyle]=\"{'width.px': text.offsetWidth }\"></div>\n </div>\n</div>\n", styles: ["*{box-sizing:border-box}:host{background:none;color:inherit;border:none;padding:0;font:inherit;outline:inherit}:host .button-base{font-size:inherit;line-height:1em;width:-moz-fit-content;width:fit-content;background:transparent;box-sizing:border-box;border:3px solid transparent;cursor:pointer}:host .button-base:not(.tertiary) .button-content{padding:.55em 1.4em}:host .button-base:not(.tertiary):active .button-content{translate:.3em .3em}:host .button-base:not(.tertiary).primary{color:#fff;background:#F20D5E}:host .button-base:not(.tertiary).primary:hover,:host .button-base:not(.tertiary).primary :focus-visible{background:transparent;border:3px solid #262626}:host .button-base:not(.tertiary).primary:active{background:transparent;border:3px solid #262626}:host .button-base:not(.tertiary).primary .button-content{background:#F20D5E}:host .button-base:not(.tertiary).secondary{color:#262626;border:3px solid #262626}:host .button-base:not(.tertiary).secondary:hover .button-content,:host .button-base:not(.tertiary).secondary :focus-visible .button-content{background:#D9D9D9}:host .button-base:not(.tertiary).secondary:active .button-content{background:#D9D9D9}:host .button-base.tertiary{color:#f20d5e;border:0}:host .button-base.tertiary:hover .bar,:host .button-base.tertiary :focus-visible .bar{top:.15em}:host .button-base.tertiary:active .bar{top:0}:host:focus-visible:not(.disabled) .primary{background:transparent;border:3px solid #262626}:host:focus-visible:not(.disabled) .secondary .button-content{background:#D9D9D9}:host:focus-visible:not(.disabled) .tertiary .bar{top:.15em}:host:disabled{pointer-events:none}:host:disabled .primary{border:3px solid #D9D9D9}:host:disabled .primary .button-content{background:#D9D9D9!important;color:gray}:host:disabled .secondary{border:3px solid #D9D9D9!important;color:#d9d9d9}:host:disabled .tertiary{color:#d9d9d9}:host:disabled .tertiary .bar{background:#D9D9D9}.prevent-select{-webkit-user-select:none;user-select:none}.button-content{width:-moz-fit-content;width:fit-content;text-transform:uppercase;font-weight:700;text-align:center}.bar{width:100%;height:.15em;background:#F20D5E;position:relative;margin:0 auto}\n"] }]
|
|
61
|
+
}], ctorParameters: function () { return []; } });
|
|
62
|
+
|
|
63
|
+
class BiitButtonModule {
|
|
64
|
+
}
|
|
65
|
+
BiitButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
66
|
+
BiitButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonModule, declarations: [BiitButtonComponent,
|
|
67
|
+
BiitButtonPrimaryDirective,
|
|
68
|
+
BiitButtonSecondaryDirective,
|
|
69
|
+
BiitButtonTertiaryDirective], imports: [CommonModule,
|
|
70
|
+
FormsModule], exports: [BiitButtonComponent,
|
|
71
|
+
BiitButtonPrimaryDirective,
|
|
72
|
+
BiitButtonSecondaryDirective,
|
|
73
|
+
BiitButtonTertiaryDirective] });
|
|
74
|
+
BiitButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonModule, imports: [CommonModule,
|
|
75
|
+
FormsModule] });
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitButtonModule, decorators: [{
|
|
77
|
+
type: NgModule,
|
|
78
|
+
args: [{
|
|
79
|
+
declarations: [
|
|
80
|
+
BiitButtonComponent,
|
|
81
|
+
BiitButtonPrimaryDirective,
|
|
82
|
+
BiitButtonSecondaryDirective,
|
|
83
|
+
BiitButtonTertiaryDirective
|
|
84
|
+
],
|
|
85
|
+
imports: [
|
|
86
|
+
CommonModule,
|
|
87
|
+
FormsModule
|
|
88
|
+
],
|
|
89
|
+
exports: [
|
|
90
|
+
BiitButtonComponent,
|
|
91
|
+
BiitButtonPrimaryDirective,
|
|
92
|
+
BiitButtonSecondaryDirective,
|
|
93
|
+
BiitButtonTertiaryDirective
|
|
94
|
+
]
|
|
95
|
+
}]
|
|
96
|
+
}] });
|
|
97
|
+
|
|
98
|
+
class BiitIconButtonComponent {
|
|
99
|
+
constructor() {
|
|
100
|
+
this.checked = false;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
BiitIconButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitIconButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
BiitIconButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BiitIconButtonComponent, selector: "button[biit-icon]", inputs: { icon: "icon", checked: "checked" }, ngImport: i0, template: "<div [class.checked]=\"checked\" style=\"display: flex;\">\n <biit-icon [name]=\"icon\"\n [pathStyle]=\"{fill: '#262626'}\"\n class=\"icon-button-svg\"\n ></biit-icon>\n <ng-content></ng-content>\n</div>\n", styles: [":host{background:none;color:inherit;border:none;padding:0;font:inherit;outline:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.125em;width:2.125em}:host:hover,:host:focus-visible,:host:has(.checked){background-color:#d9d9d9}:host:active ::ng-deep biit-icon path{fill:#f20d5e!important}:host:disabled{pointer-events:none}:host:disabled:hover,:host:disabled:focus-visible{background-color:#fff}:host:disabled ::ng-deep biit-icon path{fill:#d9d9d9!important}:host:has(.checked) ::ng-deep biit-icon path{fill:#f20d5e!important}.icon-button-svg{display:inline-flex;pointer-events:none;width:1em;height:1em}\n"], dependencies: [{ kind: "component", type: i1$1.BiitIconComponent, selector: "biit-icon", inputs: ["name", "svgStyle", "pathStyle"] }] });
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitIconButtonComponent, decorators: [{
|
|
106
|
+
type: Component,
|
|
107
|
+
args: [{ selector: 'button[biit-icon]', template: "<div [class.checked]=\"checked\" style=\"display: flex;\">\n <biit-icon [name]=\"icon\"\n [pathStyle]=\"{fill: '#262626'}\"\n class=\"icon-button-svg\"\n ></biit-icon>\n <ng-content></ng-content>\n</div>\n", styles: [":host{background:none;color:inherit;border:none;padding:0;font:inherit;outline:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.125em;width:2.125em}:host:hover,:host:focus-visible,:host:has(.checked){background-color:#d9d9d9}:host:active ::ng-deep biit-icon path{fill:#f20d5e!important}:host:disabled{pointer-events:none}:host:disabled:hover,:host:disabled:focus-visible{background-color:#fff}:host:disabled ::ng-deep biit-icon path{fill:#d9d9d9!important}:host:has(.checked) ::ng-deep biit-icon path{fill:#f20d5e!important}.icon-button-svg{display:inline-flex;pointer-events:none;width:1em;height:1em}\n"] }]
|
|
108
|
+
}], propDecorators: { icon: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], checked: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}] } });
|
|
113
|
+
|
|
114
|
+
class BiitIconButtonModule {
|
|
115
|
+
}
|
|
116
|
+
BiitIconButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitIconButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
117
|
+
BiitIconButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BiitIconButtonModule, declarations: [BiitIconButtonComponent], imports: [BiitIconModule], exports: [BiitIconButtonComponent] });
|
|
118
|
+
BiitIconButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitIconButtonModule, imports: [BiitIconModule] });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitIconButtonModule, decorators: [{
|
|
120
|
+
type: NgModule,
|
|
121
|
+
args: [{
|
|
122
|
+
declarations: [
|
|
123
|
+
BiitIconButtonComponent
|
|
124
|
+
],
|
|
125
|
+
imports: [
|
|
126
|
+
BiitIconModule
|
|
127
|
+
],
|
|
128
|
+
exports: [
|
|
129
|
+
BiitIconButtonComponent
|
|
130
|
+
]
|
|
131
|
+
}]
|
|
132
|
+
}] });
|
|
133
|
+
|
|
134
|
+
class BiitActionButtonComponent {
|
|
135
|
+
constructor(elementRef) {
|
|
136
|
+
this.elementRef = elementRef;
|
|
137
|
+
this.position = 'bottom-right';
|
|
138
|
+
this.additionalX = 0;
|
|
139
|
+
this.additionalY = 0;
|
|
140
|
+
this.hover = false;
|
|
141
|
+
}
|
|
142
|
+
ngAfterContentInit() {
|
|
143
|
+
this.buttons = this.inputButtons.toArray();
|
|
144
|
+
}
|
|
145
|
+
positionStyle() {
|
|
146
|
+
const parentBoundingRect = this.elementRef.nativeElement.parentElement.getBoundingClientRect();
|
|
147
|
+
const rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
148
|
+
const fabWidth = (rem * 2.125) + 6;
|
|
149
|
+
const desiredOffsetX = (rem * 1.5) + this.additionalX;
|
|
150
|
+
const desiredOffsetY = rem + this.additionalY;
|
|
151
|
+
const bottomOffsetX = desiredOffsetY + (this.hover ? (rem * 2.125) * (this.buttons.length - 1) : 0);
|
|
152
|
+
const leftLeft = `${parentBoundingRect.left + desiredOffsetX}px`;
|
|
153
|
+
const leftMid = `${parentBoundingRect.left + (parentBoundingRect.width / 2) - (fabWidth / 2) + this.additionalX}px`;
|
|
154
|
+
const leftRight = `${parentBoundingRect.right - (fabWidth + desiredOffsetX)}px`;
|
|
155
|
+
const topTop = `${parentBoundingRect.top + desiredOffsetY}px`;
|
|
156
|
+
const topMid = `${parentBoundingRect.top + (parentBoundingRect.height / 2) - (fabWidth / 2) + this.additionalY}px`;
|
|
157
|
+
const topBottom = `${parentBoundingRect.bottom - (fabWidth + bottomOffsetX)}px`;
|
|
158
|
+
switch (this.position) {
|
|
159
|
+
case 'top-left':
|
|
160
|
+
return { top: topTop, left: leftLeft };
|
|
161
|
+
case 'top-middle':
|
|
162
|
+
return { top: topTop, left: leftMid };
|
|
163
|
+
case 'top-right':
|
|
164
|
+
return { top: topTop, left: leftRight };
|
|
165
|
+
case 'middle-left':
|
|
166
|
+
return { top: topMid, left: leftLeft };
|
|
167
|
+
case 'middle-right':
|
|
168
|
+
return { top: topMid, left: leftRight };
|
|
169
|
+
case 'middle-middle':
|
|
170
|
+
return { top: topMid, left: leftMid };
|
|
171
|
+
case 'bottom-left':
|
|
172
|
+
return { top: topBottom, left: leftLeft, 'flex-direction': 'column-reverse' };
|
|
173
|
+
case 'bottom-middle':
|
|
174
|
+
return { top: topBottom, left: leftMid, 'flex-direction': 'column-reverse' };
|
|
175
|
+
case 'bottom-right':
|
|
176
|
+
return { top: topBottom, left: leftRight, 'flex-direction': 'column-reverse' };
|
|
177
|
+
default:
|
|
178
|
+
return {};
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
BiitActionButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitActionButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
183
|
+
BiitActionButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BiitActionButtonComponent, selector: "biit-action-button", inputs: { position: "position", additionalX: "additionalX", additionalY: "additionalY" }, queries: [{ propertyName: "inputButtons", predicate: BiitIconButtonComponent }], ngImport: i0, template: "<div id=\"fab\" class=\"floating-action-button\" [ngStyle]=\"positionStyle()\" (pointerover)=\"hover = true;\" (pointerleave)=\"hover = false\">\n <ng-content></ng-content>\n</div>\n", styles: [".floating-action-button{box-sizing:border-box;position:fixed;z-index:999;opacity:50%;background:white;border:3px solid #262626;display:flex;flex-direction:column;justify-content:flex-end}.floating-action-button:hover{opacity:100%}.floating-action-button:hover ::ng-deep button:not(:first-child){display:flex}.floating-action-button ::ng-deep button:not(:first-child){display:none}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitActionButtonComponent, decorators: [{
|
|
185
|
+
type: Component,
|
|
186
|
+
args: [{ selector: 'biit-action-button', template: "<div id=\"fab\" class=\"floating-action-button\" [ngStyle]=\"positionStyle()\" (pointerover)=\"hover = true;\" (pointerleave)=\"hover = false\">\n <ng-content></ng-content>\n</div>\n", styles: [".floating-action-button{box-sizing:border-box;position:fixed;z-index:999;opacity:50%;background:white;border:3px solid #262626;display:flex;flex-direction:column;justify-content:flex-end}.floating-action-button:hover{opacity:100%}.floating-action-button:hover ::ng-deep button:not(:first-child){display:flex}.floating-action-button ::ng-deep button:not(:first-child){display:none}\n"] }]
|
|
187
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { position: [{
|
|
188
|
+
type: Input
|
|
189
|
+
}], additionalX: [{
|
|
190
|
+
type: Input
|
|
191
|
+
}], additionalY: [{
|
|
192
|
+
type: Input
|
|
193
|
+
}], inputButtons: [{
|
|
194
|
+
type: ContentChildren,
|
|
195
|
+
args: [BiitIconButtonComponent]
|
|
196
|
+
}] } });
|
|
197
|
+
|
|
198
|
+
class BiitActionButtonModule {
|
|
199
|
+
}
|
|
200
|
+
BiitActionButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitActionButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
201
|
+
BiitActionButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BiitActionButtonModule, declarations: [BiitActionButtonComponent], imports: [CommonModule,
|
|
202
|
+
FormsModule,
|
|
203
|
+
BiitIconButtonModule], exports: [BiitActionButtonComponent] });
|
|
204
|
+
BiitActionButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitActionButtonModule, imports: [CommonModule,
|
|
205
|
+
FormsModule,
|
|
206
|
+
BiitIconButtonModule] });
|
|
207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitActionButtonModule, decorators: [{
|
|
208
|
+
type: NgModule,
|
|
209
|
+
args: [{
|
|
210
|
+
declarations: [
|
|
211
|
+
BiitActionButtonComponent
|
|
212
|
+
],
|
|
213
|
+
imports: [
|
|
214
|
+
CommonModule,
|
|
215
|
+
FormsModule,
|
|
216
|
+
BiitIconButtonModule
|
|
217
|
+
],
|
|
218
|
+
exports: [
|
|
219
|
+
BiitActionButtonComponent
|
|
220
|
+
]
|
|
221
|
+
}]
|
|
222
|
+
}] });
|
|
223
|
+
|
|
224
|
+
/*
|
|
225
|
+
* Public API Surface of wizardry-theme/button
|
|
226
|
+
*/
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Generated bundle index. Do not edit.
|
|
230
|
+
*/
|
|
231
|
+
|
|
232
|
+
export { BiitActionButtonComponent, BiitActionButtonModule, BiitButtonComponent, BiitButtonModule, BiitButtonPrimaryDirective, BiitButtonSecondaryDirective, BiitButtonTertiaryDirective, BiitIconButtonComponent, BiitIconButtonModule };
|
|
233
|
+
//# sourceMappingURL=biit-solutions-wizardry-theme-button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"biit-solutions-wizardry-theme-button.mjs","sources":["../../../projects/wizardry-theme/button/src/biit-button/biit-button.component.ts","../../../projects/wizardry-theme/button/src/biit-button/biit-button.component.html","../../../projects/wizardry-theme/button/src/biit-button/biit-button.module.ts","../../../projects/wizardry-theme/button/src/biit-icon-button/biit-icon-button.component.ts","../../../projects/wizardry-theme/button/src/biit-icon-button/biit-icon-button.component.html","../../../projects/wizardry-theme/button/src/biit-icon-button/biit-icon-button.module.ts","../../../projects/wizardry-theme/button/src/biit-action-button/biit-action-button.component.ts","../../../projects/wizardry-theme/button/src/biit-action-button/biit-action-button.component.html","../../../projects/wizardry-theme/button/src/biit-action-button/biit-action-button.module.ts","../../../projects/wizardry-theme/button/src/public-api.ts","../../../projects/wizardry-theme/button/src/biit-solutions-wizardry-theme-button.ts"],"sourcesContent":["import {Component, Directive} from '@angular/core';\n\n@Directive({\n selector: '[primary]'\n})\nexport class BiitButtonPrimaryDirective {\n constructor(private parent: BiitButtonComponent) {\n parent.color = 'primary';\n }\n}\n\n@Directive({\n selector: '[secondary]'\n})\nexport class BiitButtonSecondaryDirective {\n constructor(private parent: BiitButtonComponent) {\n parent.color = 'secondary';\n }\n}\n\n@Directive({\n selector: '[tertiary]'\n})\nexport class BiitButtonTertiaryDirective {\n constructor(private parent: BiitButtonComponent) {\n parent.color = 'tertiary';\n }\n}\n\n@Component({\n selector: 'button[biit-button]',\n templateUrl: 'biit-button.component.html',\n styleUrls: ['biit-button.component.scss'],\n})\n\nexport class BiitButtonComponent {\n color = 'primary';\n\n constructor() { }\n}\n","<div class=\"button-base prevent-select {{color}}\">\n <div class=\"button-content\">\n <span #text>\n <ng-content></ng-content>\n </span>\n <div *ngIf=\"color == 'tertiary'\" class=\"bar\" [ngStyle]=\"{'width.px': text.offsetWidth }\"></div>\n </div>\n</div>\n","import {NgModule} from '@angular/core';\nimport {\n BiitButtonComponent,\n BiitButtonPrimaryDirective,\n BiitButtonSecondaryDirective,\n BiitButtonTertiaryDirective\n} from './biit-button.component';\nimport {CommonModule} from \"@angular/common\";\nimport {FormsModule} from '@angular/forms';\n\n@NgModule({\n declarations: [\n BiitButtonComponent,\n BiitButtonPrimaryDirective,\n BiitButtonSecondaryDirective,\n BiitButtonTertiaryDirective\n ],\n imports: [\n CommonModule,\n FormsModule\n ],\n exports: [\n BiitButtonComponent,\n BiitButtonPrimaryDirective,\n BiitButtonSecondaryDirective,\n BiitButtonTertiaryDirective\n ]\n})\nexport class BiitButtonModule { }\n","import {Component, Input} from '@angular/core';\nimport {biitIcon} from '@biit-solutions/biit-icons-collection';\n\n@Component({\n selector: 'button[biit-icon]',\n templateUrl: 'biit-icon-button.component.html',\n styleUrls: ['biit-icon-button.component.scss'],\n})\n\nexport class BiitIconButtonComponent {\n\n @Input() icon: biitIcon;\n @Input() checked: boolean = false;\n}\n","<div [class.checked]=\"checked\" style=\"display: flex;\">\n <biit-icon [name]=\"icon\"\n [pathStyle]=\"{fill: '#262626'}\"\n class=\"icon-button-svg\"\n ></biit-icon>\n <ng-content></ng-content>\n</div>\n","import {NgModule} from '@angular/core';\nimport {BiitIconButtonComponent} from './biit-icon-button.component';\nimport {BiitIconModule} from '@biit-solutions/wizardry-theme/icon';\n\n@NgModule({\n declarations: [\n BiitIconButtonComponent\n ],\n imports: [\n BiitIconModule\n ],\n exports: [\n BiitIconButtonComponent\n ]\n})\nexport class BiitIconButtonModule { }\n","import {AfterContentInit, Component, ContentChildren, ElementRef, Input, QueryList} from '@angular/core';\nimport {BiitIconButtonComponent} from \"../biit-icon-button/biit-icon-button.component\";\n\n@Component({\n selector: 'biit-action-button',\n templateUrl: './biit-action-button.component.html',\n styleUrls: ['./biit-action-button.component.scss']\n})\nexport class BiitActionButtonComponent implements AfterContentInit {\n\n @Input() position: FabPosition = 'bottom-right';\n @Input() additionalX: number = 0;\n @Input() additionalY: number = 0;\n @ContentChildren(BiitIconButtonComponent) inputButtons: QueryList<BiitIconButtonComponent>;\n protected buttons: BiitIconButtonComponent[];\n protected hover = false;\n\n constructor(private elementRef: ElementRef) {\n }\n\n ngAfterContentInit(): void {\n this.buttons = this.inputButtons.toArray();\n }\n\n positionStyle(): Object {\n const parentBoundingRect = this.elementRef.nativeElement.parentElement.getBoundingClientRect();\n const rem = parseFloat(getComputedStyle(document.documentElement).fontSize);\n const fabWidth = (rem * 2.125) + 6;\n const desiredOffsetX = (rem * 1.5) + this.additionalX;\n const desiredOffsetY = rem + this.additionalY;\n const bottomOffsetX = desiredOffsetY + (this.hover ? (rem * 2.125)*(this.buttons.length-1) : 0);\n\n const leftLeft = `${parentBoundingRect.left + desiredOffsetX}px`;\n const leftMid = `${parentBoundingRect.left + (parentBoundingRect.width / 2) - (fabWidth / 2) + this.additionalX}px`;\n const leftRight = `${parentBoundingRect.right - (fabWidth + desiredOffsetX)}px`;\n\n const topTop = `${parentBoundingRect.top + desiredOffsetY}px`;\n const topMid = `${parentBoundingRect.top + (parentBoundingRect.height / 2) - (fabWidth / 2) + this.additionalY}px`;\n const topBottom = `${parentBoundingRect.bottom - (fabWidth + bottomOffsetX)}px`;\n\n switch (this.position) {\n case 'top-left':\n return {top: topTop, left: leftLeft};\n case 'top-middle':\n return {top: topTop, left: leftMid};\n case 'top-right':\n return {top: topTop, left: leftRight};\n case 'middle-left':\n return {top: topMid, left: leftLeft};\n case 'middle-right':\n return {top: topMid, left: leftRight};\n case 'middle-middle':\n return {top: topMid, left: leftMid};\n case 'bottom-left':\n return {top: topBottom, left: leftLeft, 'flex-direction': 'column-reverse'};\n case 'bottom-middle':\n return {top: topBottom, left: leftMid, 'flex-direction': 'column-reverse'};\n case 'bottom-right':\n return {top: topBottom, left: leftRight, 'flex-direction': 'column-reverse'};\n default:\n return {};\n }\n }\n}\n\nexport type FabPosition = 'top-left' | 'top-middle' | 'top-right' | 'middle-left' | 'middle-middle' | 'middle-right' | 'bottom-left' | 'bottom-middle' | 'bottom-right' | 'custom';\n","<div id=\"fab\" class=\"floating-action-button\" [ngStyle]=\"positionStyle()\" (pointerover)=\"hover = true;\" (pointerleave)=\"hover = false\">\n <ng-content></ng-content>\n</div>\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from \"@angular/common\";\nimport {FormsModule} from '@angular/forms';\nimport {BiitActionButtonComponent} from \"./biit-action-button.component\";\nimport {BiitIconButtonModule} from \"../biit-icon-button/biit-icon-button.module\";\n\n@NgModule({\n declarations: [\n BiitActionButtonComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n BiitIconButtonModule\n ],\n exports: [\n BiitActionButtonComponent\n ]\n})\nexport class BiitActionButtonModule { }\n","/*\n * Public API Surface of wizardry-theme/button\n */\n\nexport * from './biit-button/biit-button.component';\nexport * from './biit-button/biit-button.module';\nexport * from './biit-icon-button/biit-icon-button.component';\nexport * from './biit-icon-button/biit-icon-button.module';\nexport * from './biit-action-button/biit-action-button.component';\nexport * from './biit-action-button/biit-action-button.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;MAKa,0BAA0B,CAAA;AACrC,IAAA,WAAA,CAAoB,MAA2B,EAAA;QAA3B,IAAM,CAAA,MAAA,GAAN,MAAM,CAAqB;AAC7C,QAAA,MAAM,CAAC,KAAK,GAAG,SAAS,CAAC;KAC1B;;wHAHU,0BAA0B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4GAA1B,0BAA0B,EAAA,QAAA,EAAA,WAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kB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