@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,318 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
|
|
3
|
+
import * as i5 from '@biit-solutions/wizardry-theme/inputs';
|
|
4
|
+
import { Type, BiitInputTextModule, BiitToggleModule, BiitDropdownModule } from '@biit-solutions/wizardry-theme/inputs';
|
|
5
|
+
import { BiitLogin } from '@biit-solutions/wizardry-theme/models';
|
|
6
|
+
import * as i1 from '@ngneat/transloco';
|
|
7
|
+
import { TRANSLOCO_SCOPE } from '@ngneat/transloco';
|
|
8
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
9
|
+
import { Subject, debounceTime } from 'rxjs';
|
|
10
|
+
import * as i2 from '@angular/common';
|
|
11
|
+
import { CommonModule } from '@angular/common';
|
|
12
|
+
import * as i3 from '@biit-solutions/wizardry-theme/popup';
|
|
13
|
+
import { BiitPopupModule } from '@biit-solutions/wizardry-theme/popup';
|
|
14
|
+
import * as i4 from '@biit-solutions/wizardry-theme/icon';
|
|
15
|
+
import { BiitIconModule } from '@biit-solutions/wizardry-theme/icon';
|
|
16
|
+
import * as i6 from '@angular/forms';
|
|
17
|
+
import { FormsModule } from '@angular/forms';
|
|
18
|
+
import * as i7 from '@biit-solutions/wizardry-theme/button';
|
|
19
|
+
import { BiitButtonModule } from '@biit-solutions/wizardry-theme/button';
|
|
20
|
+
import { TranslocoRootModule } from '@biit-solutions/wizardry-theme/i18n';
|
|
21
|
+
|
|
22
|
+
var LoginErrors;
|
|
23
|
+
(function (LoginErrors) {
|
|
24
|
+
LoginErrors["USERNAME"] = "USERNAME";
|
|
25
|
+
LoginErrors["PASSWORD"] = "PASSWORD";
|
|
26
|
+
LoginErrors["EMAIL"] = "EMAIL";
|
|
27
|
+
LoginErrors["NAME"] = "NAME";
|
|
28
|
+
LoginErrors["TEAM"] = "TEAM";
|
|
29
|
+
LoginErrors["LASTNAME"] = "LASTNAME";
|
|
30
|
+
})(LoginErrors || (LoginErrors = {}));
|
|
31
|
+
|
|
32
|
+
class SignUpRequest {
|
|
33
|
+
constructor() {
|
|
34
|
+
this.name = '';
|
|
35
|
+
this.lastname = '';
|
|
36
|
+
this.username = '';
|
|
37
|
+
this.email = '';
|
|
38
|
+
this.password = '';
|
|
39
|
+
this.team = null;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
class BiitLoginComponent {
|
|
44
|
+
constructor(translocoService) {
|
|
45
|
+
this.translocoService = translocoService;
|
|
46
|
+
this.allowSignUp = false;
|
|
47
|
+
this.signUpGeneratedPassword = false;
|
|
48
|
+
this.signUpGeneratedUsername = true;
|
|
49
|
+
this.notification = false;
|
|
50
|
+
this.displayLogin = false;
|
|
51
|
+
this.signupIfCookies = true;
|
|
52
|
+
this.Type = Type;
|
|
53
|
+
this.LoginError = LoginErrors;
|
|
54
|
+
this.signUpView = false;
|
|
55
|
+
this.signUpData = new SignUpRequest();
|
|
56
|
+
this.resetView = false;
|
|
57
|
+
this.resetEmail = "";
|
|
58
|
+
this.LoginErrors = LoginErrors;
|
|
59
|
+
this.PWD_MIN_LENGTH = 12;
|
|
60
|
+
this.PWD_MAX_LENGTH = 25;
|
|
61
|
+
this.usernameSearch = new Subject();
|
|
62
|
+
this.showNotification = true;
|
|
63
|
+
if (!this.login) {
|
|
64
|
+
this.login = new BiitLogin();
|
|
65
|
+
}
|
|
66
|
+
this.usernameSearch.pipe(debounceTime(1000)).subscribe(() => this.checkUsernameExists());
|
|
67
|
+
this.onLogin = new EventEmitter();
|
|
68
|
+
this.onNotRemember = new EventEmitter();
|
|
69
|
+
this.onResetPassword = new EventEmitter();
|
|
70
|
+
this.onSignUp = new EventEmitter();
|
|
71
|
+
this.loginErrors = new Map();
|
|
72
|
+
const generatedId = Math.floor(Math.random() * (20 - 1 + 1) + 1);
|
|
73
|
+
this.keyId = `${generatedId < 10 ? '0' : ''}${generatedId}`;
|
|
74
|
+
}
|
|
75
|
+
ngOnInit() {
|
|
76
|
+
if (this.allowSignUp && !this.displayLogin) {
|
|
77
|
+
if (this.signupIfCookies) {
|
|
78
|
+
const cookiesAccepted = localStorage.getItem("cookies-consent");
|
|
79
|
+
if (!cookiesAccepted) {
|
|
80
|
+
this.signUpView = true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
this.signUpView = true;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (this.teams && this.teams.length) {
|
|
88
|
+
this.dumbTeam = this.teams[0];
|
|
89
|
+
this.signUpData.team = this.dumbTeam.key;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
performLogin() {
|
|
93
|
+
if (this.validateLogin()) {
|
|
94
|
+
//Trim username
|
|
95
|
+
if (this.login && this.login.username) {
|
|
96
|
+
this.login.username = this.login.username.trim();
|
|
97
|
+
}
|
|
98
|
+
this.onLogin.emit(this.login);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
validateLogin() {
|
|
102
|
+
this.loginErrors.clear();
|
|
103
|
+
if (!this.login.username || !this.login.username.length) {
|
|
104
|
+
this.loginErrors.set(LoginErrors.USERNAME, this.translocoService.translate('login.username-empty'));
|
|
105
|
+
}
|
|
106
|
+
if (!this.login.password || !this.login.password.length) {
|
|
107
|
+
this.loginErrors.set(LoginErrors.PASSWORD, this.translocoService.translate('login.password-empty'));
|
|
108
|
+
}
|
|
109
|
+
return !this.loginErrors.size;
|
|
110
|
+
}
|
|
111
|
+
performResetPassword() {
|
|
112
|
+
if (this.validateResetPassword()) {
|
|
113
|
+
this.onResetPassword.emit(this.resetEmail);
|
|
114
|
+
this.restartView();
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
validateResetPassword() {
|
|
118
|
+
this.loginErrors.clear();
|
|
119
|
+
if (!this.resetEmail.length) {
|
|
120
|
+
this.loginErrors.set(LoginErrors.EMAIL, this.translocoService.translate('login.email-empty'));
|
|
121
|
+
}
|
|
122
|
+
return !this.loginErrors.get(LoginErrors.EMAIL);
|
|
123
|
+
}
|
|
124
|
+
restartView() {
|
|
125
|
+
this.loginErrors.clear();
|
|
126
|
+
this.resetView = false;
|
|
127
|
+
this.resetEmail = "";
|
|
128
|
+
this.signUpView = false;
|
|
129
|
+
this.signUpData = new SignUpRequest();
|
|
130
|
+
}
|
|
131
|
+
performSignUp() {
|
|
132
|
+
var _a;
|
|
133
|
+
this.signUpData.team = (_a = this.dumbTeam) === null || _a === void 0 ? void 0 : _a.key;
|
|
134
|
+
if (this.validateSignUp()) {
|
|
135
|
+
if (this.signUpGeneratedPassword) {
|
|
136
|
+
this.signUpData.password = this.generatePassword();
|
|
137
|
+
}
|
|
138
|
+
if (this.dumbTeam) {
|
|
139
|
+
this.signUpData.team = this.dumbTeam.key;
|
|
140
|
+
}
|
|
141
|
+
this.onSignUp.emit(this.signUpData);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
validateSignUp() {
|
|
145
|
+
this.loginErrors.clear();
|
|
146
|
+
// if (!this.signUpData.name || !this.signUpData.name.length) {
|
|
147
|
+
// this.loginErrors.set(LoginErrors.NAME, this.translocoService.translate('login.name-empty'));
|
|
148
|
+
// }
|
|
149
|
+
// if (!this.signUpData.lastname || !this.signUpData.lastname.length) {
|
|
150
|
+
// this.loginErrors.set(LoginErrors.LASTNAME, this.translocoService.translate('login.lastname-empty'));
|
|
151
|
+
// }
|
|
152
|
+
if (!this.signUpData.email || !this.signUpData.email.length) {
|
|
153
|
+
this.loginErrors.set(LoginErrors.EMAIL, this.translocoService.translate('login.email-empty'));
|
|
154
|
+
console.error("Email is mandatory");
|
|
155
|
+
}
|
|
156
|
+
if (!this.signUpGeneratedPassword && (!this.signUpData.password || !this.signUpData.password.length)) {
|
|
157
|
+
this.loginErrors.set(LoginErrors.PASSWORD, this.translocoService.translate('login.password-empty'));
|
|
158
|
+
console.error("Password is mandatory");
|
|
159
|
+
}
|
|
160
|
+
if (!this.signUpGeneratedUsername && (!this.signUpData.username || !this.signUpData.username.length)) {
|
|
161
|
+
this.loginErrors.set(LoginErrors.USERNAME, this.translocoService.translate('login.username-empty'));
|
|
162
|
+
console.error("Username is mandatory");
|
|
163
|
+
}
|
|
164
|
+
if ((this.teams && this.teams.length) && (!this.signUpData.team || !this.signUpData.team.length)) {
|
|
165
|
+
this.loginErrors.set(LoginErrors.TEAM, this.translocoService.translate('login.team-mandatory'));
|
|
166
|
+
console.error("Team is mandatory");
|
|
167
|
+
}
|
|
168
|
+
return !this.loginErrors.size;
|
|
169
|
+
}
|
|
170
|
+
generatePassword() {
|
|
171
|
+
const pattern = /[A-Za-z\d@$!%*?&]/;
|
|
172
|
+
const randomSize = Math.floor(Math.random() * (this.PWD_MAX_LENGTH - this.PWD_MIN_LENGTH + 1))
|
|
173
|
+
+ this.PWD_MIN_LENGTH;
|
|
174
|
+
let password = '';
|
|
175
|
+
while (password.length < randomSize) {
|
|
176
|
+
const result = String.fromCharCode(this.randomChar());
|
|
177
|
+
if (pattern.test(result)) {
|
|
178
|
+
password += result;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
return password;
|
|
182
|
+
}
|
|
183
|
+
randomChar() {
|
|
184
|
+
if (window.crypto && window.crypto.getRandomValues) {
|
|
185
|
+
const buffer = new Uint8Array(1);
|
|
186
|
+
window.crypto.getRandomValues(buffer);
|
|
187
|
+
return buffer[0];
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
return Math.floor(Math.random() * 256);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
checkUsernameExists() {
|
|
194
|
+
if (this.signUpData.username && this.signUpData.username.length) {
|
|
195
|
+
this.biitLoginServiceSupport.checkUserName(this.signUpData.username).then((exists) => {
|
|
196
|
+
if (exists) {
|
|
197
|
+
this.loginErrors.set(this.LoginError.USERNAME, this.translocoService.translate('login.username-exists'));
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
this.loginErrors.delete(this.LoginError.USERNAME);
|
|
201
|
+
}
|
|
202
|
+
}).catch((error) => {
|
|
203
|
+
if (error instanceof HttpErrorResponse) {
|
|
204
|
+
switch (error.status) {
|
|
205
|
+
case 409:
|
|
206
|
+
case 400:
|
|
207
|
+
this.loginErrors.set(this.LoginError.USERNAME, this.translocoService.translate('login.username-exists'));
|
|
208
|
+
break;
|
|
209
|
+
default:
|
|
210
|
+
throw error;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
BiitLoginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitLoginComponent, deps: [{ token: i1.TranslocoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
218
|
+
BiitLoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BiitLoginComponent, selector: "biit-login", inputs: { login: "login", allowSignUp: "allowSignUp", signUpGeneratedPassword: "signUpGeneratedPassword", signUpGeneratedUsername: "signUpGeneratedUsername", teams: "teams", biitLoginServiceSupport: "biitLoginServiceSupport", notification: "notification", displayLogin: "displayLogin", signupIfCookies: "signupIfCookies" }, outputs: { onLogin: "onLogin", onNotRemember: "onNotRemember", onResetPassword: "onResetPassword", onSignUp: "onSignUp" }, providers: [{
|
|
219
|
+
provide: TRANSLOCO_SCOPE,
|
|
220
|
+
useValue: { scope: 'wizardry-theme/login', alias: "login" },
|
|
221
|
+
multi: true
|
|
222
|
+
}, {
|
|
223
|
+
provide: TRANSLOCO_SCOPE,
|
|
224
|
+
useValue: { scope: 'wizardry-theme/login-welcome', alias: "login-welcome" },
|
|
225
|
+
multi: true
|
|
226
|
+
}], ngImport: i0, template: "<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n", styles: [".login-container{display:flex;font-size:inherit;column-gap:4.2rem}.login-container.allow-signup{padding:.5rem}.login-column{width:12.8em;display:inline-flex;flex-direction:column}.login-column-expanded{width:20em;display:inline-flex;flex-direction:column}.login-key-icon{position:absolute;margin-top:1em;rotate:90deg;height:12.8em;width:12.8em}.login-keyring{width:1.1em;background:#F20D5E;height:2.85em}.login-icon-square{display:inline-flex;border:solid .175em #262626;width:12.8em;height:12.8em;box-sizing:border-box;flex-direction:column;align-items:center}.login-input{margin-top:1.05em;margin-bottom:1.05em}.margin-vertical-14{margin:.7em 0}.margin-top-18{margin-top:.9em}.centered{display:inline-flex;justify-content:center}.smaller-text{font-size:.9em}.title{font-size:1.5em;font-weight:700}.subtitle{font-size:1em;font-weight:700}.body{font-size:.85em}.buttons{display:flex;align-items:center;gap:2.5em}.tab-buttons{position:absolute;right:0;top:0;width:50%;height:calc(2rem + 3px);display:flex}.tab-buttons div{display:flex;flex-grow:1;flex-shrink:0;align-items:center;justify-content:center;cursor:pointer;background:transparent;color:gray}.tab-buttons div:hover{border-bottom:3px solid #808080}.tab-buttons div.selected{background:transparent;color:#262626;border-bottom:3px solid #262626}@media (max-width: 600px){::ng-deep .popup-canvas{min-width:auto!important}::ng-deep .popup-canvas .login-container{flex-direction:column-reverse;gap:1.5rem}::ng-deep .popup-canvas .login-column-expanded{min-width:12.8em}.buttons{gap:1.5em;flex-wrap:wrap}.tab-buttons{width:100%}}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.BiitPopupComponent, selector: "biit-popup", inputs: ["title", "mouseEvent"], outputs: ["onClosed"] }, { kind: "directive", type: i3.BiitPopupNoHeaderDirective, selector: "[no-header]" }, { kind: "directive", type: i3.BiitPopupClosableDirective, selector: "[closable]" }, { kind: "component", type: i4.BiitIconComponent, selector: "biit-icon", inputs: ["name", "svgStyle", "pathStyle"] }, { kind: "component", type: i5.BiitInputTextComponent, selector: "biit-input-text", inputs: ["placeholder", "error", "description", "info", "type", "icon", "fieldName", "disabled", "required", "readonly", "min", "max", "minLength", "maxLength", "regEx"], outputs: ["onActionPerformed"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.BiitToggleComponent, selector: "biit-toggle", inputs: ["disabled"] }, { kind: "component", type: i7.BiitButtonComponent, selector: "button[biit-button]" }, { kind: "directive", type: i7.BiitButtonPrimaryDirective, selector: "[primary]" }, { kind: "directive", type: i7.BiitButtonTertiaryDirective, selector: "[tertiary]" }, { kind: "directive", type: i1.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: i5.BiitDropdownComponent, selector: "biit-dropdown", inputs: ["title", "label", "value", "descriptionLabel", "description", "data", "primitive", "compact", "disabled", "required", "sort-asc", "sort-desc", "icon"] }] });
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitLoginComponent, decorators: [{
|
|
228
|
+
type: Component,
|
|
229
|
+
args: [{ selector: 'biit-login', providers: [{
|
|
230
|
+
provide: TRANSLOCO_SCOPE,
|
|
231
|
+
useValue: { scope: 'wizardry-theme/login', alias: "login" },
|
|
232
|
+
multi: true
|
|
233
|
+
}, {
|
|
234
|
+
provide: TRANSLOCO_SCOPE,
|
|
235
|
+
useValue: { scope: 'wizardry-theme/login-welcome', alias: "login-welcome" },
|
|
236
|
+
multi: true
|
|
237
|
+
}], template: "<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n", styles: [".login-container{display:flex;font-size:inherit;column-gap:4.2rem}.login-container.allow-signup{padding:.5rem}.login-column{width:12.8em;display:inline-flex;flex-direction:column}.login-column-expanded{width:20em;display:inline-flex;flex-direction:column}.login-key-icon{position:absolute;margin-top:1em;rotate:90deg;height:12.8em;width:12.8em}.login-keyring{width:1.1em;background:#F20D5E;height:2.85em}.login-icon-square{display:inline-flex;border:solid .175em #262626;width:12.8em;height:12.8em;box-sizing:border-box;flex-direction:column;align-items:center}.login-input{margin-top:1.05em;margin-bottom:1.05em}.margin-vertical-14{margin:.7em 0}.margin-top-18{margin-top:.9em}.centered{display:inline-flex;justify-content:center}.smaller-text{font-size:.9em}.title{font-size:1.5em;font-weight:700}.subtitle{font-size:1em;font-weight:700}.body{font-size:.85em}.buttons{display:flex;align-items:center;gap:2.5em}.tab-buttons{position:absolute;right:0;top:0;width:50%;height:calc(2rem + 3px);display:flex}.tab-buttons div{display:flex;flex-grow:1;flex-shrink:0;align-items:center;justify-content:center;cursor:pointer;background:transparent;color:gray}.tab-buttons div:hover{border-bottom:3px solid #808080}.tab-buttons div.selected{background:transparent;color:#262626;border-bottom:3px solid #262626}@media (max-width: 600px){::ng-deep .popup-canvas{min-width:auto!important}::ng-deep .popup-canvas .login-container{flex-direction:column-reverse;gap:1.5rem}::ng-deep .popup-canvas .login-column-expanded{min-width:12.8em}.buttons{gap:1.5em;flex-wrap:wrap}.tab-buttons{width:100%}}\n"] }]
|
|
238
|
+
}], ctorParameters: function () { return [{ type: i1.TranslocoService }]; }, propDecorators: { login: [{
|
|
239
|
+
type: Input
|
|
240
|
+
}], allowSignUp: [{
|
|
241
|
+
type: Input
|
|
242
|
+
}], signUpGeneratedPassword: [{
|
|
243
|
+
type: Input
|
|
244
|
+
}], signUpGeneratedUsername: [{
|
|
245
|
+
type: Input
|
|
246
|
+
}], teams: [{
|
|
247
|
+
type: Input
|
|
248
|
+
}], biitLoginServiceSupport: [{
|
|
249
|
+
type: Input
|
|
250
|
+
}], notification: [{
|
|
251
|
+
type: Input
|
|
252
|
+
}], displayLogin: [{
|
|
253
|
+
type: Input
|
|
254
|
+
}], signupIfCookies: [{
|
|
255
|
+
type: Input
|
|
256
|
+
}], onLogin: [{
|
|
257
|
+
type: Output
|
|
258
|
+
}], onNotRemember: [{
|
|
259
|
+
type: Output
|
|
260
|
+
}], onResetPassword: [{
|
|
261
|
+
type: Output
|
|
262
|
+
}], onSignUp: [{
|
|
263
|
+
type: Output
|
|
264
|
+
}] } });
|
|
265
|
+
|
|
266
|
+
class BiitLoginModule {
|
|
267
|
+
}
|
|
268
|
+
BiitLoginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitLoginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
269
|
+
BiitLoginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BiitLoginModule, declarations: [BiitLoginComponent], imports: [CommonModule,
|
|
270
|
+
BiitPopupModule,
|
|
271
|
+
BiitIconModule,
|
|
272
|
+
BiitInputTextModule,
|
|
273
|
+
FormsModule,
|
|
274
|
+
BiitToggleModule,
|
|
275
|
+
BiitButtonModule,
|
|
276
|
+
TranslocoRootModule,
|
|
277
|
+
BiitDropdownModule], exports: [BiitLoginComponent] });
|
|
278
|
+
BiitLoginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitLoginModule, imports: [CommonModule,
|
|
279
|
+
BiitPopupModule,
|
|
280
|
+
BiitIconModule,
|
|
281
|
+
BiitInputTextModule,
|
|
282
|
+
FormsModule,
|
|
283
|
+
BiitToggleModule,
|
|
284
|
+
BiitButtonModule,
|
|
285
|
+
TranslocoRootModule,
|
|
286
|
+
BiitDropdownModule] });
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitLoginModule, decorators: [{
|
|
288
|
+
type: NgModule,
|
|
289
|
+
args: [{
|
|
290
|
+
declarations: [
|
|
291
|
+
BiitLoginComponent
|
|
292
|
+
],
|
|
293
|
+
imports: [
|
|
294
|
+
CommonModule,
|
|
295
|
+
BiitPopupModule,
|
|
296
|
+
BiitIconModule,
|
|
297
|
+
BiitInputTextModule,
|
|
298
|
+
FormsModule,
|
|
299
|
+
BiitToggleModule,
|
|
300
|
+
BiitButtonModule,
|
|
301
|
+
TranslocoRootModule,
|
|
302
|
+
BiitDropdownModule
|
|
303
|
+
], exports: [
|
|
304
|
+
BiitLoginComponent
|
|
305
|
+
]
|
|
306
|
+
}]
|
|
307
|
+
}] });
|
|
308
|
+
|
|
309
|
+
/*
|
|
310
|
+
* Public API Surface of wizardry-theme/login
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Generated bundle index. Do not edit.
|
|
315
|
+
*/
|
|
316
|
+
|
|
317
|
+
export { BiitLoginComponent, BiitLoginModule, SignUpRequest };
|
|
318
|
+
//# sourceMappingURL=biit-solutions-wizardry-theme-login.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"biit-solutions-wizardry-theme-login.mjs","sources":["../../../projects/wizardry-theme/login/src/biit-login/models/LoginErrors.ts","../../../projects/wizardry-theme/login/src/biit-login/models/sign-up-request.ts","../../../projects/wizardry-theme/login/src/biit-login/biit-login.component.ts","../../../projects/wizardry-theme/login/src/biit-login/biit-login.component.html","../../../projects/wizardry-theme/login/src/biit-login/biit-login.module.ts","../../../projects/wizardry-theme/login/src/public-api.ts","../../../projects/wizardry-theme/login/src/biit-solutions-wizardry-theme-login.ts"],"sourcesContent":["export enum LoginErrors {\n USERNAME = \"USERNAME\",\n PASSWORD = \"PASSWORD\",\n EMAIL = \"EMAIL\",\n NAME = \"NAME\",\n TEAM = \"TEAM\",\n LASTNAME = \"LASTNAME\"\n}\n","export class SignUpRequest {\n name: string;\n lastname: string;\n username: string;\n email: string;\n password: string;\n team: string;\n organization: string;\n constructor() {\n this.name = '';\n this.lastname = '';\n this.username = '';\n this.email = '';\n this.password = '';\n this.team = null;\n }\n}\n","import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';\nimport {Type} from '@biit-solutions/wizardry-theme/inputs';\nimport {BiitLogin} from \"@biit-solutions/wizardry-theme/models\";\nimport {LoginErrors} from \"./models/LoginErrors\";\nimport {TRANSLOCO_SCOPE, TranslocoService} from \"@ngneat/transloco\";\nimport {SignUpRequest} from \"./models/sign-up-request\";\nimport {HttpErrorResponse} from \"@angular/common/http\";\nimport {BiitLoginServiceSupport} from \"./models/biit-login-service-support\";\nimport {debounceTime, Subject} from \"rxjs\";\n\n@Component({\n selector: 'biit-login',\n templateUrl: './biit-login.component.html',\n styleUrls: ['./biit-login.component.scss'],\n providers: [{\n provide: TRANSLOCO_SCOPE,\n useValue: {scope: 'wizardry-theme/login', alias: \"login\"},\n multi: true\n }, {\n provide: TRANSLOCO_SCOPE,\n useValue: {scope: 'wizardry-theme/login-welcome', alias: \"login-welcome\"},\n multi: true\n }]\n})\nexport class BiitLoginComponent implements OnInit {\n\n @Input() login: BiitLogin;\n @Input() allowSignUp = false;\n @Input() signUpGeneratedPassword = false;\n @Input() signUpGeneratedUsername = true;\n @Input() teams: { key: any, label: string }[];\n @Input() biitLoginServiceSupport: BiitLoginServiceSupport;\n @Input() notification: boolean = false;\n @Input() displayLogin: boolean = false;\n @Input() signupIfCookies: boolean = true;\n\n @Output() onLogin: EventEmitter<BiitLogin>;\n @Output() onNotRemember: EventEmitter<void>;\n @Output() onResetPassword: EventEmitter<string>;\n @Output() onSignUp: EventEmitter<SignUpRequest>;\n\n protected readonly keyId: string;\n protected readonly Type = Type;\n protected readonly LoginError = LoginErrors;\n\n protected signUpView = false;\n protected signUpData: SignUpRequest = new SignUpRequest();\n protected resetView = false;\n protected resetEmail = \"\";\n protected dumbTeam: { key: any, label: string };\n\n protected loginErrors: Map<LoginErrors, string>;\n protected readonly LoginErrors = LoginErrors;\n protected readonly PWD_MIN_LENGTH = 12\n protected readonly PWD_MAX_LENGTH = 25\n\n protected usernameSearch: Subject<string> = new Subject();\n protected showNotification: boolean = true;\n\n constructor(public translocoService: TranslocoService) {\n if (!this.login) {\n this.login = new BiitLogin();\n }\n this.usernameSearch.pipe(debounceTime(1000)).subscribe(() => this.checkUsernameExists());\n this.onLogin = new EventEmitter<BiitLogin>();\n this.onNotRemember = new EventEmitter<void>();\n this.onResetPassword = new EventEmitter<string>();\n this.onSignUp = new EventEmitter<SignUpRequest>();\n this.loginErrors = new Map<LoginErrors, string>();\n const generatedId: number = Math.floor(Math.random() * (20 - 1 + 1) + 1);\n this.keyId = `${generatedId < 10 ? '0' : ''}${generatedId}`\n }\n\n ngOnInit() {\n if (this.allowSignUp && !this.displayLogin) {\n if (this.signupIfCookies) {\n const cookiesAccepted: string | null = localStorage.getItem(\"cookies-consent\");\n if (!cookiesAccepted) {\n this.signUpView = true;\n }\n } else {\n this.signUpView = true;\n }\n }\n if (this.teams && this.teams.length) {\n this.dumbTeam = this.teams[0];\n this.signUpData.team = this.dumbTeam.key;\n }\n }\n\n protected performLogin(): void {\n if (this.validateLogin()) {\n //Trim username\n if (this.login && this.login.username) {\n this.login.username = this.login.username.trim();\n }\n this.onLogin.emit(this.login)\n }\n }\n\n private validateLogin(): boolean {\n this.loginErrors.clear();\n if (!this.login.username || !this.login.username.length) {\n this.loginErrors.set(LoginErrors.USERNAME, this.translocoService.translate('login.username-empty'));\n }\n if (!this.login.password || !this.login.password.length) {\n this.loginErrors.set(LoginErrors.PASSWORD, this.translocoService.translate('login.password-empty'));\n }\n return !this.loginErrors.size;\n }\n\n protected performResetPassword(): void {\n if (this.validateResetPassword()) {\n this.onResetPassword.emit(this.resetEmail);\n this.restartView();\n }\n }\n\n private validateResetPassword(): boolean {\n this.loginErrors.clear();\n if (!this.resetEmail.length) {\n this.loginErrors.set(LoginErrors.EMAIL, this.translocoService.translate('login.email-empty'));\n }\n return !this.loginErrors.get(LoginErrors.EMAIL);\n }\n\n restartView() {\n this.loginErrors.clear();\n\n this.resetView = false;\n this.resetEmail = \"\";\n\n this.signUpView = false;\n this.signUpData = new SignUpRequest();\n }\n\n protected performSignUp(): void {\n this.signUpData.team = this.dumbTeam?.key;\n if (this.validateSignUp()) {\n if (this.signUpGeneratedPassword) {\n this.signUpData.password = this.generatePassword();\n }\n if (this.dumbTeam) {\n this.signUpData.team = this.dumbTeam.key;\n }\n this.onSignUp.emit(this.signUpData);\n }\n }\n\n private validateSignUp(): boolean {\n this.loginErrors.clear();\n // if (!this.signUpData.name || !this.signUpData.name.length) {\n // this.loginErrors.set(LoginErrors.NAME, this.translocoService.translate('login.name-empty'));\n // }\n // if (!this.signUpData.lastname || !this.signUpData.lastname.length) {\n // this.loginErrors.set(LoginErrors.LASTNAME, this.translocoService.translate('login.lastname-empty'));\n // }\n if (!this.signUpData.email || !this.signUpData.email.length) {\n this.loginErrors.set(LoginErrors.EMAIL, this.translocoService.translate('login.email-empty'));\n console.error(\"Email is mandatory\");\n }\n if (!this.signUpGeneratedPassword && (!this.signUpData.password || !this.signUpData.password.length)) {\n this.loginErrors.set(LoginErrors.PASSWORD, this.translocoService.translate('login.password-empty'));\n console.error(\"Password is mandatory\");\n }\n if (!this.signUpGeneratedUsername && (!this.signUpData.username || !this.signUpData.username.length)) {\n this.loginErrors.set(LoginErrors.USERNAME, this.translocoService.translate('login.username-empty'));\n console.error(\"Username is mandatory\");\n }\n if ((this.teams && this.teams.length) && (!this.signUpData.team || !this.signUpData.team.length)) {\n this.loginErrors.set(LoginErrors.TEAM, this.translocoService.translate('login.team-mandatory'));\n console.error(\"Team is mandatory\");\n }\n return !this.loginErrors.size;\n }\n\n public generatePassword(): string {\n const pattern: RegExp = /[A-Za-z\\d@$!%*?&]/;\n const randomSize: number = Math.floor(Math.random() * (this.PWD_MAX_LENGTH - this.PWD_MIN_LENGTH + 1))\n + this.PWD_MIN_LENGTH;\n let password: string = '';\n while (password.length < randomSize) {\n const result: string = String.fromCharCode(this.randomChar());\n if (pattern.test(result)) {\n password += result;\n }\n }\n return password;\n }\n\n private randomChar(): number {\n if (window.crypto && window.crypto.getRandomValues) {\n const buffer: Uint8Array = new Uint8Array(1);\n window.crypto.getRandomValues(buffer);\n return buffer[0];\n } else {\n return Math.floor(Math.random() * 256);\n }\n }\n\n\n protected checkUsernameExists(): void {\n if (this.signUpData.username && this.signUpData.username.length) {\n this.biitLoginServiceSupport.checkUserName(this.signUpData.username).then((exists: boolean) => {\n if (exists) {\n this.loginErrors.set(this.LoginError.USERNAME, this.translocoService.translate('login.username-exists'));\n } else {\n this.loginErrors.delete(this.LoginError.USERNAME);\n }\n }).catch((error: HttpErrorResponse) => {\n if (error instanceof HttpErrorResponse) {\n switch (error.status) {\n case 409:\n case 400:\n this.loginErrors.set(this.LoginError.USERNAME, this.translocoService.translate('login.username-exists'));\n break;\n default:\n throw error;\n }\n }\n });\n }\n }\n}\n","<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BiitLoginComponent } from './biit-login.component';\nimport {BiitPopupModule} from \"@biit-solutions/wizardry-theme/popup\";\nimport {BiitIconModule} from \"@biit-solutions/wizardry-theme/icon\";\nimport {BiitDropdownModule, BiitInputTextModule, BiitToggleModule} from \"@biit-solutions/wizardry-theme/inputs\";\nimport {FormsModule} from \"@angular/forms\";\nimport {BiitButtonModule} from \"@biit-solutions/wizardry-theme/button\";\nimport {TranslocoRootModule} from \"@biit-solutions/wizardry-theme/i18n\";\n\n\n@NgModule({\n declarations: [\n BiitLoginComponent\n ],\n imports: [\n CommonModule,\n BiitPopupModule,\n BiitIconModule,\n BiitInputTextModule,\n FormsModule,\n BiitToggleModule,\n BiitButtonModule,\n TranslocoRootModule,\n BiitDropdownModule\n ], exports: [\n BiitLoginComponent\n ]\n})\nexport class BiitLoginModule { }\n","/*\n * Public API Surface of wizardry-theme/login\n */\n\nexport * from './biit-login/biit-login.component';\nexport * from './biit-login/biit-login.module';\nexport * from './biit-login/models/sign-up-request';\nexport * from './biit-login/models/biit-login-service-support';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAY,WAOX,CAAA;AAPD,CAAA,UAAY,WAAW,EAAA;AACrB,IAAA,WAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,WAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,WAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,WAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACvB,CAAC,EAPW,WAAW,KAAX,WAAW,GAOtB,EAAA,CAAA,CAAA;;MCPY,aAAa,CAAA;AAQxB,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;AACf,QAAA,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;AACnB,QAAA,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;AACnB,QAAA,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;AAChB,QAAA,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;AACnB,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;KAClB;AACF;;MCQY,kBAAkB,CAAA;AAmC7B,IAAA,WAAA,CAAmB,gBAAkC,EAAA;AAAlC,QAAA,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;AAhC5C,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;AACpB,QAAA,IAAuB,CAAA,uBAAA,GAAG,KAAK,CAAC;AAChC,QAAA,IAAuB,CAAA,uBAAA,GA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
|
|
3
|
+
if (username) {
|
|
4
|
+
this.username = username;
|
|
5
|
+
}
|
|
6
|
+
if (password) {
|
|
7
|
+
this.password = password;
|
|
8
|
+
}
|
|
9
|
+
if (remember) {
|
|
10
|
+
this.remember = remember;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/*
|
|
16
|
+
* Public API Surface of wizardry-theme/button
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Generated bundle index. Do not edit.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export { BiitLogin };
|
|
24
|
+
//# sourceMappingURL=biit-solutions-wizardry-theme-models.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"biit-solutions-wizardry-theme-models.mjs","sources":["../../../projects/wizardry-theme/models/src/BiitLogin.ts","../../../projects/wizardry-theme/models/src/public-api.ts","../../../projects/wizardry-theme/models/src/biit-solutions-wizardry-theme-models.ts"],"sourcesContent":["export class BiitLogin {\n username: string;\n password: string;\n remember: boolean;\n\n constructor(username?: string, password?: string, remember?: boolean) {\n if (username){\n this.username = username;\n }\n if (password) {\n this.password = password;\n }\n if (remember) {\n this.remember = remember;\n }\n }\n\n}\n","/*\n * Public API Surface of wizardry-theme/button\n */\n\nexport * from './BiitLogin';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"MAAa,SAAS,CAAA;AAKpB,IAAA,WAAA,CAAY,QAAiB,EAAE,QAAiB,EAAE,QAAkB,EAAA;AAClE,QAAA,IAAI,QAAQ,EAAC;AACX,YAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC1B,SAAA;AACD,QAAA,IAAI,QAAQ,EAAE;AACZ,YAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC1B,SAAA;AACD,QAAA,IAAI,QAAQ,EAAE;AACZ,YAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC1B,SAAA;KACF;AAEF;;ACjBD;;AAEG;;ACFH;;AAEG;;;;"}
|