flowbite-angular 0.0.2 → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/flowbite-angular.mjs +2 -2
- package/esm2022/lib/common/flowbite.theme.init.mjs +318 -0
- package/esm2022/lib/common/index.mjs +3 -0
- package/esm2022/lib/common/type-definitions/colors/flowbite.colors.mjs +2 -0
- package/esm2022/lib/common/type-definitions/colors/flowbite.gradient-colors.mjs +2 -0
- package/esm2022/lib/common/type-definitions/colors/flowbite.gradient-duo-tone-colors.mjs +2 -0
- package/esm2022/lib/common/type-definitions/colors/index.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.boolean.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.class.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.combination.mjs +5 -0
- package/esm2022/lib/common/type-definitions/flowbite.content-positions.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.deep-partial.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.heading-levels.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.positions.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.router-link-parameter.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.sizes.mjs +2 -0
- package/esm2022/lib/common/type-definitions/flowbite.themes.mjs +2 -0
- package/esm2022/lib/common/type-definitions/index.mjs +2 -0
- package/esm2022/lib/components/accordion/accordion-content.component.mjs +46 -0
- package/esm2022/lib/components/accordion/accordion-content.theme.mjs +19 -0
- package/esm2022/lib/components/accordion/accordion-content.theme.service.mjs +17 -0
- package/esm2022/lib/components/accordion/accordion-panel.component.mjs +57 -0
- package/esm2022/lib/components/accordion/accordion-panel.theme.mjs +7 -0
- package/esm2022/lib/components/accordion/accordion-panel.theme.service.mjs +17 -0
- package/esm2022/lib/components/accordion/accordion-title.component.mjs +70 -0
- package/esm2022/lib/components/accordion/accordion-title.theme.mjs +26 -0
- package/esm2022/lib/components/accordion/accordion-title.theme.service.mjs +18 -0
- package/esm2022/lib/components/accordion/accordion.component.mjs +49 -0
- package/esm2022/lib/components/accordion/accordion.theme.mjs +19 -0
- package/esm2022/lib/components/accordion/accordion.theme.service.mjs +17 -0
- package/esm2022/lib/components/accordion/index.mjs +13 -0
- package/esm2022/lib/components/alert/alert.component.mjs +95 -0
- package/esm2022/lib/components/alert/alert.theme.mjs +34 -0
- package/esm2022/lib/components/alert/alert.theme.service.mjs +18 -0
- package/esm2022/lib/components/alert/index.mjs +4 -0
- package/esm2022/lib/components/badge/badge.component.mjs +47 -0
- package/esm2022/lib/components/badge/badge.theme.mjs +34 -0
- package/esm2022/lib/components/badge/badge.theme.service.mjs +19 -0
- package/esm2022/lib/components/badge/index.mjs +4 -0
- package/esm2022/lib/components/base-component.directive.mjs +34 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.component.mjs +57 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.theme.mjs +18 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.theme.service.mjs +18 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +46 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.theme.mjs +7 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.theme.service.mjs +17 -0
- package/esm2022/lib/components/breadcrumb/index.mjs +7 -0
- package/esm2022/lib/components/button/button.component.mjs +81 -0
- package/esm2022/lib/components/button/button.theme.mjs +113 -0
- package/esm2022/lib/components/button/button.theme.service.mjs +24 -0
- package/esm2022/lib/components/button/index.mjs +4 -0
- package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.component.mjs +76 -0
- package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.theme.mjs +7 -0
- package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.theme.service.mjs +17 -0
- package/esm2022/lib/components/dark-theme-toggle/index.mjs +4 -0
- package/esm2022/lib/components/dropdown/dropdown-divider.component.mjs +34 -0
- package/esm2022/lib/components/dropdown/dropdown-divider.theme.mjs +7 -0
- package/esm2022/lib/components/dropdown/dropdown-divider.theme.service.mjs +17 -0
- package/esm2022/lib/components/dropdown/dropdown-header.component.mjs +44 -0
- package/esm2022/lib/components/dropdown/dropdown-header.theme.mjs +10 -0
- package/esm2022/lib/components/dropdown/dropdown-header.theme.service.mjs +18 -0
- package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +34 -0
- package/esm2022/lib/components/dropdown/dropdown-item.theme.mjs +6 -0
- package/esm2022/lib/components/dropdown/dropdown-item.theme.service.mjs +17 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +149 -0
- package/esm2022/lib/components/dropdown/dropdown.theme.mjs +32 -0
- package/esm2022/lib/components/dropdown/dropdown.theme.service.mjs +22 -0
- package/esm2022/lib/components/dropdown/index.mjs +13 -0
- package/esm2022/lib/components/form-field/directives/addon.directive.mjs +32 -0
- package/esm2022/lib/components/form-field/directives/addon.directive.theme.mjs +8 -0
- package/esm2022/lib/components/form-field/directives/addon.directive.theme.service.mjs +17 -0
- package/esm2022/lib/components/form-field/directives/base-input.directive.mjs +26 -0
- package/esm2022/lib/components/form-field/directives/helper.directive.mjs +34 -0
- package/esm2022/lib/components/form-field/directives/helper.directive.theme.mjs +12 -0
- package/esm2022/lib/components/form-field/directives/helper.directive.theme.service.mjs +17 -0
- package/esm2022/lib/components/form-field/directives/icon.directive.mjs +32 -0
- package/esm2022/lib/components/form-field/directives/icon.directive.theme.mjs +8 -0
- package/esm2022/lib/components/form-field/directives/icon.directive.theme.service.mjs +17 -0
- package/esm2022/lib/components/form-field/directives/index.mjs +17 -0
- package/esm2022/lib/components/form-field/directives/input.directive.mjs +41 -0
- package/esm2022/lib/components/form-field/directives/input.directive.theme.mjs +79 -0
- package/esm2022/lib/components/form-field/directives/input.directive.theme.service.mjs +32 -0
- package/esm2022/lib/components/form-field/directives/label.directive.mjs +41 -0
- package/esm2022/lib/components/form-field/directives/label.directive.theme.mjs +51 -0
- package/esm2022/lib/components/form-field/directives/label.directive.theme.service.mjs +23 -0
- package/esm2022/lib/components/form-field/form-field.component.mjs +40 -0
- package/esm2022/lib/components/form-field/form-field.theme.mjs +8 -0
- package/esm2022/lib/components/form-field/form-field.theme.service.mjs +17 -0
- package/esm2022/lib/components/form-field/index.mjs +5 -0
- package/esm2022/lib/components/icon/icon-registry.mjs +159 -0
- package/esm2022/lib/components/icon/icon.component.mjs +67 -0
- package/esm2022/lib/components/icon/index.mjs +4 -0
- package/esm2022/lib/components/icon/trusted-types.mjs +21 -0
- package/esm2022/lib/components/index.mjs +16 -0
- package/esm2022/lib/components/indicators/index.mjs +4 -0
- package/esm2022/lib/components/indicators/indicators.component.mjs +54 -0
- package/esm2022/lib/components/indicators/indicators.theme.mjs +68 -0
- package/esm2022/lib/components/indicators/indicators.theme.service.mjs +19 -0
- package/esm2022/lib/components/modal/index.mjs +13 -0
- package/esm2022/lib/components/modal/modal-body.component.mjs +34 -0
- package/esm2022/lib/components/modal/modal-body.theme.mjs +7 -0
- package/esm2022/lib/components/modal/modal-body.theme.service.mjs +17 -0
- package/esm2022/lib/components/modal/modal-footer.component.mjs +34 -0
- package/esm2022/lib/components/modal/modal-footer.theme.mjs +7 -0
- package/esm2022/lib/components/modal/modal-footer.theme.service.mjs +17 -0
- package/esm2022/lib/components/modal/modal-header.component.mjs +66 -0
- package/esm2022/lib/components/modal/modal-header.theme.mjs +13 -0
- package/esm2022/lib/components/modal/modal-header.theme.service.mjs +19 -0
- package/esm2022/lib/components/modal/modal.component.mjs +142 -0
- package/esm2022/lib/components/modal/modal.theme.mjs +33 -0
- package/esm2022/lib/components/modal/modal.theme.service.mjs +20 -0
- package/esm2022/lib/components/navbar/index.mjs +19 -0
- package/esm2022/lib/components/navbar/navbar-brand.component.mjs +34 -0
- package/esm2022/lib/components/navbar/navbar-brand.theme.mjs +7 -0
- package/esm2022/lib/components/navbar/navbar-brand.theme.service.mjs +17 -0
- package/esm2022/lib/components/navbar/navbar-content.component.mjs +45 -0
- package/esm2022/lib/components/navbar/navbar-content.theme.mjs +14 -0
- package/esm2022/lib/components/navbar/navbar-content.theme.service.mjs +18 -0
- package/esm2022/lib/components/navbar/navbar-icon-button.component.mjs +42 -0
- package/esm2022/lib/components/navbar/navbar-icon-button.theme.mjs +15 -0
- package/esm2022/lib/components/navbar/navbar-icon-button.theme.service.mjs +17 -0
- package/esm2022/lib/components/navbar/navbar-item.component.mjs +49 -0
- package/esm2022/lib/components/navbar/navbar-item.theme.mjs +11 -0
- package/esm2022/lib/components/navbar/navbar-item.theme.service.mjs +17 -0
- package/esm2022/lib/components/navbar/navbar-toggle.component.mjs +50 -0
- package/esm2022/lib/components/navbar/navbar-toggle.theme.mjs +7 -0
- package/esm2022/lib/components/navbar/navbar-toggle.theme.service.mjs +17 -0
- package/esm2022/lib/components/navbar/navbar.component.mjs +62 -0
- package/esm2022/lib/components/navbar/navbar.theme.mjs +23 -0
- package/esm2022/lib/components/navbar/navbar.theme.service.mjs +17 -0
- package/esm2022/lib/components/scroll-top/index.mjs +4 -0
- package/esm2022/lib/components/scroll-top/scroll-top.component.mjs +50 -0
- package/esm2022/lib/components/scroll-top/scroll-top.theme.mjs +27 -0
- package/esm2022/lib/components/scroll-top/scroll-top.theme.service.mjs +17 -0
- package/esm2022/lib/components/sidebar/index.mjs +19 -0
- package/esm2022/lib/components/sidebar/sidebar-item-group.component.mjs +81 -0
- package/esm2022/lib/components/sidebar/sidebar-item-group.theme.mjs +18 -0
- package/esm2022/lib/components/sidebar/sidebar-item-group.theme.service.mjs +18 -0
- package/esm2022/lib/components/sidebar/sidebar-item.component.mjs +77 -0
- package/esm2022/lib/components/sidebar/sidebar-item.theme.mjs +18 -0
- package/esm2022/lib/components/sidebar/sidebar-item.theme.service.mjs +18 -0
- package/esm2022/lib/components/sidebar/sidebar-menu.component.mjs +49 -0
- package/esm2022/lib/components/sidebar/sidebar-menu.theme.mjs +24 -0
- package/esm2022/lib/components/sidebar/sidebar-menu.theme.service.mjs +17 -0
- package/esm2022/lib/components/sidebar/sidebar-page-content.component.mjs +36 -0
- package/esm2022/lib/components/sidebar/sidebar-page-content.theme.mjs +12 -0
- package/esm2022/lib/components/sidebar/sidebar-page-content.theme.service.mjs +17 -0
- package/esm2022/lib/components/sidebar/sidebar-toggle.component.mjs +53 -0
- package/esm2022/lib/components/sidebar/sidebar-toggle.theme.mjs +18 -0
- package/esm2022/lib/components/sidebar/sidebar-toggle.theme.service.mjs +17 -0
- package/esm2022/lib/components/sidebar/sidebar.component.mjs +61 -0
- package/esm2022/lib/components/sidebar/sidebar.theme.mjs +11 -0
- package/esm2022/lib/components/sidebar/sidebar.theme.service.mjs +17 -0
- package/esm2022/lib/directives/flowbite-router-link-active.directive.mjs +51 -0
- package/esm2022/lib/directives/flowbite-router-link.directive.mjs +44 -0
- package/esm2022/lib/directives/index.mjs +3 -0
- package/esm2022/lib/pipes/index.mjs +2 -0
- package/esm2022/lib/pipes/sanitize-html/sanitize-html.pipe.mjs +32 -0
- package/esm2022/lib/services/flowbite.theme.service.mjs +16 -0
- package/{esm2020 → esm2022}/lib/services/index.mjs +2 -3
- package/esm2022/lib/utils/boolean.util.mjs +10 -0
- package/esm2022/lib/utils/directives/index.mjs +3 -0
- package/esm2022/lib/utils/directives/inputs/index.mjs +3 -0
- package/esm2022/lib/utils/directives/inputs/router-link-active.input.mjs +8 -0
- package/esm2022/lib/utils/directives/inputs/router-link.inputs.mjs +20 -0
- package/esm2022/lib/utils/directives/outputs/index.mjs +3 -0
- package/esm2022/lib/utils/directives/outputs/router-link-active.output.mjs +8 -0
- package/esm2022/lib/utils/directives/outputs/router-link.output.mjs +8 -0
- package/esm2022/lib/utils/icon.list.mjs +39 -0
- package/esm2022/lib/utils/id.generator.mjs +81 -0
- package/esm2022/lib/utils/index.mjs +9 -0
- package/esm2022/lib/utils/theme/clone-deep.mjs +18 -0
- package/esm2022/lib/utils/theme/create-class.mjs +10 -0
- package/esm2022/lib/utils/theme/create-theme.mjs +10 -0
- package/esm2022/lib/utils/theme/is-object.mjs +10 -0
- package/esm2022/lib/utils/theme/merge-theme.mjs +29 -0
- package/esm2022/lib/utils/theme/to-string.mjs +10 -0
- package/esm2022/public-api.mjs +7 -0
- package/fesm2022/flowbite-angular.mjs +4228 -0
- package/fesm2022/flowbite-angular.mjs.map +1 -0
- package/index.d.ts +5 -4
- package/lib/common/flowbite.theme.init.d.ts +9 -0
- package/lib/common/index.d.ts +2 -0
- package/lib/common/type-definitions/colors/flowbite.colors.d.ts +19 -0
- package/lib/common/type-definitions/colors/flowbite.gradient-colors.d.ts +11 -0
- package/lib/common/type-definitions/colors/flowbite.gradient-duo-tone-colors.d.ts +12 -0
- package/lib/common/type-definitions/colors/index.d.ts +3 -0
- package/lib/common/type-definitions/flowbite.boolean.d.ts +7 -0
- package/lib/common/type-definitions/flowbite.class.d.ts +6 -0
- package/lib/common/type-definitions/flowbite.combination.d.ts +8 -0
- package/lib/common/type-definitions/flowbite.content-positions.d.ts +6 -0
- package/lib/common/type-definitions/flowbite.deep-partial.d.ts +6 -0
- package/lib/common/type-definitions/flowbite.heading-levels.d.ts +4 -0
- package/lib/common/type-definitions/flowbite.positions.d.ts +14 -0
- package/lib/common/type-definitions/flowbite.router-link-parameter.d.ts +5 -0
- package/lib/common/type-definitions/flowbite.sizes.d.ts +10 -0
- package/lib/common/type-definitions/flowbite.themes.d.ts +4 -0
- package/lib/common/type-definitions/index.d.ts +11 -0
- package/lib/components/accordion/accordion-content.component.d.ts +32 -0
- package/lib/components/accordion/accordion-content.theme.d.ts +16 -0
- package/lib/components/accordion/accordion-content.theme.service.d.ts +8 -0
- package/lib/components/accordion/accordion-panel.component.d.ts +27 -0
- package/lib/components/accordion/accordion-panel.theme.d.ts +11 -0
- package/lib/components/accordion/accordion-panel.theme.service.d.ts +9 -0
- package/lib/components/accordion/accordion-title.component.d.ts +46 -0
- package/lib/components/accordion/accordion-title.theme.d.ts +24 -0
- package/lib/components/accordion/accordion-title.theme.service.d.ts +8 -0
- package/lib/components/accordion/accordion.component.d.ts +35 -0
- package/lib/components/accordion/accordion.theme.d.ts +21 -0
- package/lib/components/accordion/accordion.theme.service.d.ts +8 -0
- package/lib/components/accordion/index.d.ts +16 -0
- package/lib/components/alert/alert.component.d.ts +53 -12
- package/lib/components/alert/alert.theme.d.ts +27 -0
- package/lib/components/alert/alert.theme.service.d.ts +8 -0
- package/lib/components/alert/index.d.ts +4 -1
- package/lib/components/badge/badge.component.d.ts +50 -10
- package/lib/components/badge/badge.theme.d.ts +32 -0
- package/lib/components/badge/badge.theme.service.d.ts +8 -0
- package/lib/components/badge/index.d.ts +4 -1
- package/lib/components/base-component.directive.d.ts +19 -0
- package/lib/components/breadcrumb/breadcrumb-item.component.d.ts +39 -0
- package/lib/components/breadcrumb/breadcrumb-item.theme.d.ts +22 -0
- package/lib/components/breadcrumb/breadcrumb-item.theme.service.d.ts +8 -0
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +22 -0
- package/lib/components/breadcrumb/breadcrumb.theme.d.ts +14 -0
- package/lib/components/breadcrumb/breadcrumb.theme.service.d.ts +8 -0
- package/lib/components/breadcrumb/index.d.ts +8 -0
- package/lib/components/button/button.component.d.ts +110 -0
- package/lib/components/button/button.theme.d.ts +56 -0
- package/lib/components/button/button.theme.service.d.ts +8 -0
- package/lib/components/button/index.d.ts +4 -0
- package/lib/components/dark-theme-toggle/dark-theme-toggle.component.d.ts +21 -9
- package/lib/components/dark-theme-toggle/dark-theme-toggle.theme.d.ts +11 -0
- package/lib/components/dark-theme-toggle/dark-theme-toggle.theme.service.d.ts +8 -0
- package/lib/components/dark-theme-toggle/index.d.ts +4 -1
- package/lib/components/dropdown/dropdown-divider.component.d.ts +13 -0
- package/lib/components/dropdown/dropdown-divider.theme.d.ts +11 -0
- package/lib/components/dropdown/dropdown-divider.theme.service.d.ts +8 -0
- package/lib/components/dropdown/dropdown-header.component.d.ts +13 -0
- package/lib/components/dropdown/dropdown-header.theme.d.ts +16 -0
- package/lib/components/dropdown/dropdown-header.theme.service.d.ts +8 -0
- package/lib/components/dropdown/dropdown-item.component.d.ts +17 -0
- package/lib/components/dropdown/dropdown-item.theme.d.ts +11 -0
- package/lib/components/dropdown/dropdown-item.theme.service.d.ts +8 -0
- package/lib/components/dropdown/dropdown.component.d.ts +71 -0
- package/lib/components/dropdown/dropdown.theme.d.ts +44 -0
- package/lib/components/dropdown/dropdown.theme.service.d.ts +8 -0
- package/lib/components/dropdown/index.d.ts +16 -0
- package/lib/components/form-field/directives/addon.directive.d.ts +13 -0
- package/lib/components/form-field/directives/addon.directive.theme.d.ts +10 -0
- package/lib/components/form-field/directives/addon.directive.theme.service.d.ts +8 -0
- package/lib/components/form-field/directives/base-input.directive.d.ts +14 -0
- package/lib/components/form-field/directives/helper.directive.d.ts +18 -0
- package/lib/components/form-field/directives/helper.directive.theme.d.ts +13 -0
- package/lib/components/form-field/directives/helper.directive.theme.service.d.ts +8 -0
- package/lib/components/form-field/directives/icon.directive.d.ts +13 -0
- package/lib/components/form-field/directives/icon.directive.theme.d.ts +10 -0
- package/lib/components/form-field/directives/icon.directive.theme.service.d.ts +8 -0
- package/lib/components/form-field/directives/index.d.ts +21 -0
- package/lib/components/form-field/directives/input.directive.d.ts +100 -0
- package/lib/components/form-field/directives/input.directive.theme.d.ts +24 -0
- package/lib/components/form-field/directives/input.directive.theme.service.d.ts +8 -0
- package/lib/components/form-field/directives/label.directive.d.ts +62 -0
- package/lib/components/form-field/directives/label.directive.theme.d.ts +20 -0
- package/lib/components/form-field/directives/label.directive.theme.service.d.ts +8 -0
- package/lib/components/form-field/form-field.component.d.ts +20 -0
- package/lib/components/form-field/form-field.theme.d.ts +45 -0
- package/lib/components/form-field/form-field.theme.service.d.ts +8 -0
- package/lib/components/form-field/index.d.ts +5 -0
- package/lib/components/icon/icon-registry.d.ts +45 -0
- package/lib/components/icon/icon.component.d.ts +22 -0
- package/lib/components/icon/index.d.ts +5 -0
- package/lib/components/icon/trusted-types.d.ts +15 -0
- package/lib/components/index.d.ts +10 -0
- package/lib/components/indicators/index.d.ts +4 -0
- package/lib/components/indicators/indicators.component.d.ts +92 -0
- package/lib/components/indicators/indicators.theme.d.ts +43 -0
- package/lib/components/indicators/indicators.theme.service.d.ts +8 -0
- package/lib/components/modal/index.d.ts +16 -0
- package/lib/components/modal/modal-body.component.d.ts +17 -0
- package/lib/components/modal/modal-body.theme.d.ts +11 -0
- package/lib/components/modal/modal-body.theme.service.d.ts +8 -0
- package/lib/components/modal/modal-footer.component.d.ts +17 -0
- package/lib/components/modal/modal-footer.theme.d.ts +11 -0
- package/lib/components/modal/modal-footer.theme.service.d.ts +8 -0
- package/lib/components/modal/modal-header.component.d.ts +29 -0
- package/lib/components/modal/modal-header.theme.d.ts +20 -0
- package/lib/components/modal/modal-header.theme.service.d.ts +8 -0
- package/lib/components/modal/modal.component.d.ts +73 -0
- package/lib/components/modal/modal.theme.d.ts +39 -0
- package/lib/components/modal/modal.theme.service.d.ts +8 -0
- package/lib/components/navbar/index.d.ts +24 -1
- package/lib/components/navbar/navbar-brand.component.d.ts +17 -0
- package/lib/components/navbar/navbar-brand.theme.d.ts +11 -0
- package/lib/components/navbar/navbar-brand.theme.service.d.ts +8 -0
- package/lib/components/navbar/navbar-content.component.d.ts +27 -0
- package/lib/components/navbar/navbar-content.theme.d.ts +18 -0
- package/lib/components/navbar/navbar-content.theme.service.d.ts +8 -0
- package/lib/components/navbar/navbar-icon-button.component.d.ts +27 -0
- package/lib/components/navbar/navbar-icon-button.theme.d.ts +14 -0
- package/lib/components/navbar/navbar-icon-button.theme.service.d.ts +8 -0
- package/lib/components/navbar/navbar-item.component.d.ts +29 -0
- package/lib/components/navbar/navbar-item.theme.d.ts +15 -0
- package/lib/components/navbar/navbar-item.theme.service.d.ts +8 -0
- package/lib/components/navbar/navbar-toggle.component.d.ts +23 -0
- package/lib/components/navbar/navbar-toggle.theme.d.ts +11 -0
- package/lib/components/navbar/navbar-toggle.theme.service.d.ts +8 -0
- package/lib/components/navbar/navbar.component.d.ts +45 -6
- package/lib/components/navbar/navbar.theme.d.ts +24 -0
- package/lib/components/navbar/navbar.theme.service.d.ts +8 -0
- package/lib/components/scroll-top/index.d.ts +4 -0
- package/lib/components/scroll-top/scroll-top.component.d.ts +46 -0
- package/lib/components/scroll-top/scroll-top.theme.d.ts +21 -0
- package/lib/components/scroll-top/scroll-top.theme.service.d.ts +8 -0
- package/lib/components/sidebar/index.d.ts +24 -3
- package/lib/components/sidebar/sidebar-item-group.component.d.ts +41 -2
- package/lib/components/sidebar/sidebar-item-group.theme.d.ts +19 -0
- package/lib/components/sidebar/sidebar-item-group.theme.service.d.ts +8 -0
- package/lib/components/sidebar/sidebar-item.component.d.ts +38 -8
- package/lib/components/sidebar/sidebar-item.theme.d.ts +22 -0
- package/lib/components/sidebar/sidebar-item.theme.service.d.ts +8 -0
- package/lib/components/sidebar/sidebar-menu.component.d.ts +43 -0
- package/lib/components/sidebar/sidebar-menu.theme.d.ts +18 -0
- package/lib/components/sidebar/sidebar-menu.theme.service.d.ts +8 -0
- package/lib/components/sidebar/sidebar-page-content.component.d.ts +22 -0
- package/lib/components/sidebar/sidebar-page-content.theme.d.ts +15 -0
- package/lib/components/sidebar/sidebar-page-content.theme.service.d.ts +8 -0
- package/lib/components/sidebar/sidebar-toggle.component.d.ts +40 -0
- package/lib/components/sidebar/sidebar-toggle.theme.d.ts +19 -0
- package/lib/components/sidebar/sidebar-toggle.theme.service.d.ts +8 -0
- package/lib/components/sidebar/sidebar.component.d.ts +30 -7
- package/lib/components/sidebar/sidebar.theme.d.ts +25 -0
- package/lib/components/sidebar/sidebar.theme.service.d.ts +8 -0
- package/lib/directives/flowbite-router-link-active.directive.d.ts +25 -0
- package/lib/directives/flowbite-router-link.directive.d.ts +16 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/pipes/index.d.ts +1 -1
- package/lib/pipes/sanitize-html/sanitize-html.pipe.d.ts +14 -4
- package/lib/services/flowbite.theme.service.d.ts +10 -0
- package/lib/services/index.d.ts +1 -2
- package/lib/utils/boolean.util.d.ts +8 -0
- package/lib/utils/directives/index.d.ts +2 -0
- package/lib/utils/directives/inputs/index.d.ts +2 -0
- package/lib/utils/directives/inputs/router-link-active.input.d.ts +8 -0
- package/lib/utils/directives/inputs/router-link.inputs.d.ts +8 -0
- package/lib/utils/directives/outputs/index.d.ts +2 -0
- package/lib/utils/directives/outputs/router-link-active.output.d.ts +8 -0
- package/lib/utils/directives/outputs/router-link.output.d.ts +8 -0
- package/lib/utils/icon.list.d.ts +7 -0
- package/lib/utils/id.generator.d.ts +59 -0
- package/lib/utils/index.d.ts +8 -0
- package/lib/utils/theme/clone-deep.d.ts +7 -0
- package/lib/utils/theme/create-class.d.ts +7 -0
- package/lib/utils/theme/create-theme.d.ts +7 -0
- package/lib/utils/theme/is-object.d.ts +7 -0
- package/lib/utils/theme/merge-theme.d.ts +8 -0
- package/lib/utils/theme/to-string.d.ts +7 -0
- package/package.json +25 -39
- package/public-api.d.ts +6 -0
- package/LICENSE +0 -21
- package/README.md +0 -376
- package/esm2020/index.mjs +0 -5
- package/esm2020/lib/components/alert/alert.component.mjs +0 -128
- package/esm2020/lib/components/alert/index.mjs +0 -2
- package/esm2020/lib/components/badge/badge.component.mjs +0 -77
- package/esm2020/lib/components/badge/index.mjs +0 -2
- package/esm2020/lib/components/dark-theme-toggle/dark-theme-toggle.component.mjs +0 -122
- package/esm2020/lib/components/dark-theme-toggle/index.mjs +0 -2
- package/esm2020/lib/components/index.mjs +0 -6
- package/esm2020/lib/components/navbar/index.mjs +0 -2
- package/esm2020/lib/components/navbar/navbar.component.mjs +0 -49
- package/esm2020/lib/components/sidebar/index.mjs +0 -4
- package/esm2020/lib/components/sidebar/sidebar-item-group.component.mjs +0 -18
- package/esm2020/lib/components/sidebar/sidebar-item.component.mjs +0 -73
- package/esm2020/lib/components/sidebar/sidebar.component.mjs +0 -50
- package/esm2020/lib/flowbite.module.mjs +0 -45
- package/esm2020/lib/pipes/index.mjs +0 -2
- package/esm2020/lib/pipes/sanitize-html/sanitize-html.pipe.mjs +0 -21
- package/esm2020/lib/services/sidebar/index.mjs +0 -2
- package/esm2020/lib/services/sidebar/sidebar.service.mjs +0 -24
- package/esm2020/lib/services/theme/index.mjs +0 -2
- package/esm2020/lib/services/theme/theme.service.mjs +0 -24
- package/fesm2015/flowbite-angular.mjs +0 -600
- package/fesm2015/flowbite-angular.mjs.map +0 -1
- package/fesm2020/flowbite-angular.mjs +0 -599
- package/fesm2020/flowbite-angular.mjs.map +0 -1
- package/flowbite-angular.d.ts +0 -5
- package/lib/flowbite.module.d.ts +0 -16
- package/lib/services/sidebar/index.d.ts +0 -1
- package/lib/services/sidebar/sidebar.service.d.ts +0 -9
- package/lib/services/theme/index.d.ts +0 -1
- package/lib/services/theme/theme.service.d.ts +0 -10
- /package/{esm2020 → esm2022}/lib/pipes/sanitize-html/index.mjs +0 -0
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { ThemeService } from '../../services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../services";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
export class DarkThemeToggleComponent {
|
|
7
|
-
constructor(themeService) {
|
|
8
|
-
this.themeService = themeService;
|
|
9
|
-
this.themeSubscription = undefined;
|
|
10
|
-
}
|
|
11
|
-
ngOnInit() {
|
|
12
|
-
if (localStorage.getItem('color-theme') === 'dark' ||
|
|
13
|
-
(!('color-theme' in localStorage) &&
|
|
14
|
-
'matchMedia' in window &&
|
|
15
|
-
window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
16
|
-
this.themeService.setTheme('dark');
|
|
17
|
-
document.documentElement.classList.add('dark');
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
this.themeService.setTheme('light');
|
|
21
|
-
document.documentElement.classList.remove('dark');
|
|
22
|
-
}
|
|
23
|
-
this.themeSubscription = this.themeService.$theme
|
|
24
|
-
.asObservable()
|
|
25
|
-
.subscribe((theme) => {
|
|
26
|
-
localStorage.setItem('color-theme', theme);
|
|
27
|
-
if (theme === 'dark') {
|
|
28
|
-
document.documentElement.classList.add('dark');
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
document.documentElement.classList.remove('dark');
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
ngOnDestroy() {
|
|
36
|
-
this.themeSubscription?.unsubscribe();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
DarkThemeToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: DarkThemeToggleComponent, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
DarkThemeToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: DarkThemeToggleComponent, selector: "flowbite-dark-theme-toggle", ngImport: i0, template: ` <button
|
|
41
|
-
type="button"
|
|
42
|
-
class="rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700"
|
|
43
|
-
(click)="themeService.toggleTheme()"
|
|
44
|
-
>
|
|
45
|
-
<svg
|
|
46
|
-
*ngIf="themeService.$theme.getValue() === 'dark'"
|
|
47
|
-
stroke="currentColor"
|
|
48
|
-
fill="currentColor"
|
|
49
|
-
stroke-width="0"
|
|
50
|
-
viewBox="0 0 20 20"
|
|
51
|
-
class="h-5 w-5"
|
|
52
|
-
height="1em"
|
|
53
|
-
width="1em"
|
|
54
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
55
|
-
>
|
|
56
|
-
<path
|
|
57
|
-
fill-rule="evenodd"
|
|
58
|
-
d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"
|
|
59
|
-
clip-rule="evenodd"
|
|
60
|
-
></path>
|
|
61
|
-
</svg>
|
|
62
|
-
<svg
|
|
63
|
-
*ngIf="themeService.$theme.getValue() === 'light'"
|
|
64
|
-
stroke="currentColor"
|
|
65
|
-
fill="currentColor"
|
|
66
|
-
stroke-width="0"
|
|
67
|
-
viewBox="0 0 20 20"
|
|
68
|
-
class="h-5 w-5"
|
|
69
|
-
height="1em"
|
|
70
|
-
width="1em"
|
|
71
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
72
|
-
>
|
|
73
|
-
<path
|
|
74
|
-
d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"
|
|
75
|
-
></path>
|
|
76
|
-
</svg>
|
|
77
|
-
</button>`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: DarkThemeToggleComponent, decorators: [{
|
|
79
|
-
type: Component,
|
|
80
|
-
args: [{
|
|
81
|
-
selector: 'flowbite-dark-theme-toggle',
|
|
82
|
-
template: ` <button
|
|
83
|
-
type="button"
|
|
84
|
-
class="rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700"
|
|
85
|
-
(click)="themeService.toggleTheme()"
|
|
86
|
-
>
|
|
87
|
-
<svg
|
|
88
|
-
*ngIf="themeService.$theme.getValue() === 'dark'"
|
|
89
|
-
stroke="currentColor"
|
|
90
|
-
fill="currentColor"
|
|
91
|
-
stroke-width="0"
|
|
92
|
-
viewBox="0 0 20 20"
|
|
93
|
-
class="h-5 w-5"
|
|
94
|
-
height="1em"
|
|
95
|
-
width="1em"
|
|
96
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
97
|
-
>
|
|
98
|
-
<path
|
|
99
|
-
fill-rule="evenodd"
|
|
100
|
-
d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"
|
|
101
|
-
clip-rule="evenodd"
|
|
102
|
-
></path>
|
|
103
|
-
</svg>
|
|
104
|
-
<svg
|
|
105
|
-
*ngIf="themeService.$theme.getValue() === 'light'"
|
|
106
|
-
stroke="currentColor"
|
|
107
|
-
fill="currentColor"
|
|
108
|
-
stroke-width="0"
|
|
109
|
-
viewBox="0 0 20 20"
|
|
110
|
-
class="h-5 w-5"
|
|
111
|
-
height="1em"
|
|
112
|
-
width="1em"
|
|
113
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
114
|
-
>
|
|
115
|
-
<path
|
|
116
|
-
d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"
|
|
117
|
-
></path>
|
|
118
|
-
</svg>
|
|
119
|
-
</button>`,
|
|
120
|
-
}]
|
|
121
|
-
}], ctorParameters: function () { return [{ type: i1.ThemeService }]; } });
|
|
122
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFyay10aGVtZS10b2dnbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kYXJrLXRoZW1lLXRvZ2dsZS9kYXJrLXRoZW1lLXRvZ2dsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFFN0QsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7O0FBNEM5QyxNQUFNLE9BQU8sd0JBQXdCO0lBR25DLFlBQTRCLFlBQTBCO1FBQTFCLGlCQUFZLEdBQVosWUFBWSxDQUFjO1FBRjlDLHNCQUFpQixHQUE2QixTQUFTLENBQUM7SUFFUCxDQUFDO0lBRTFELFFBQVE7UUFDTixJQUNFLFlBQVksQ0FBQyxPQUFPLENBQUMsYUFBYSxDQUFDLEtBQUssTUFBTTtZQUM5QyxDQUFDLENBQUMsQ0FBQyxhQUFhLElBQUksWUFBWSxDQUFDO2dCQUMvQixZQUFZLElBQUksTUFBTTtnQkFDdEIsTUFBTSxDQUFDLFVBQVUsQ0FBQyw4QkFBOEIsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxFQUM1RDtZQUNBLElBQUksQ0FBQyxZQUFZLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyx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TtcbiAgICAgIGRvY3VtZW50LmRvY3VtZW50RWxlbWVudC5jbGFzc0xpc3QuYWRkKCdkYXJrJyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMudGhlbWVTZXJ2aWNlLnNldFRoZW1lKCdsaWdodCcpO1xuICAgICAgZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LmNsYXNzTGlzdC5yZW1vdmUoJ2RhcmsnKTtcbiAgICB9XG5cbiAgICB0aGlzLnRoZW1lU3Vic2NyaXB0aW9uID0gdGhpcy50aGVtZVNlcnZpY2UuJHRoZW1lXG4gICAgICAuYXNPYnNlcnZhYmxlKClcbiAgICAgIC5zdWJzY3JpYmUoKHRoZW1lKSA9PiB7XG4gICAgICAgIGxvY2FsU3RvcmFnZS5zZXRJdGVtKCdjb2xvci10aGVtZScsIHRoZW1lKTtcbiAgICAgICAgaWYgKHRoZW1lID09PSAnZGFyaycpIHtcbiAgICAgICAgICBkb2N1bWVudC5kb2N1bWVudEVsZW1lbnQuY2xhc3NMaXN0LmFkZCgnZGFyaycpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIGRvY3VtZW50LmRvY3VtZW50RWxlbWVudC5jbGFzc0xpc3QucmVtb3ZlKCdkYXJrJyk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy50aGVtZVN1YnNjcmlwdGlvbj8udW5zdWJzY3JpYmUoKTtcbiAgfVxufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './dark-theme-toggle.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2RhcmstdGhlbWUtdG9nZ2xlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RhcmstdGhlbWUtdG9nZ2xlLmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './alert';
|
|
2
|
-
export * from './badge';
|
|
3
|
-
export * from './dark-theme-toggle';
|
|
4
|
-
export * from './navbar';
|
|
5
|
-
export * from './sidebar';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxXQUFXLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FsZXJ0JztcbmV4cG9ydCAqIGZyb20gJy4vYmFkZ2UnO1xuZXhwb3J0ICogZnJvbSAnLi9kYXJrLXRoZW1lLXRvZ2dsZSc7XG5leHBvcnQgKiBmcm9tICcuL25hdmJhcic7XG5leHBvcnQgKiBmcm9tICcuL3NpZGViYXInO1xuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './navbar.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL25hdmJhci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9uYXZiYXIuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class NavbarComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.extraClass = '';
|
|
7
|
-
this.rounded = false;
|
|
8
|
-
this.border = false;
|
|
9
|
-
this.fluid = false;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
NavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: NavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
NavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: NavbarComponent, selector: "flowbite-navbar", inputs: { extraClass: "extraClass", rounded: "rounded", border: "border", fluid: "fluid" }, ngImport: i0, template: ` <nav
|
|
14
|
-
class="border-gray-200 bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4"
|
|
15
|
-
[ngClass]="[rounded ? 'rounded' : '', border ? 'border' : '', extraClass]"
|
|
16
|
-
>
|
|
17
|
-
<div
|
|
18
|
-
class="mx-auto flex flex-wrap items-center justify-between"
|
|
19
|
-
[ngClass]="{ container: !fluid }"
|
|
20
|
-
>
|
|
21
|
-
<ng-content></ng-content>
|
|
22
|
-
</div>
|
|
23
|
-
</nav>`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: NavbarComponent, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{
|
|
27
|
-
selector: 'flowbite-navbar',
|
|
28
|
-
template: ` <nav
|
|
29
|
-
class="border-gray-200 bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4"
|
|
30
|
-
[ngClass]="[rounded ? 'rounded' : '', border ? 'border' : '', extraClass]"
|
|
31
|
-
>
|
|
32
|
-
<div
|
|
33
|
-
class="mx-auto flex flex-wrap items-center justify-between"
|
|
34
|
-
[ngClass]="{ container: !fluid }"
|
|
35
|
-
>
|
|
36
|
-
<ng-content></ng-content>
|
|
37
|
-
</div>
|
|
38
|
-
</nav>`,
|
|
39
|
-
}]
|
|
40
|
-
}], propDecorators: { extraClass: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], rounded: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], border: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], fluid: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}] } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmxvd2JpdGUtYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvbmF2YmFyL25hdmJhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQWdCakQsTUFBTSxPQUFPLGVBQWU7SUFkNUI7UUFlVyxlQUFVLEdBQUcsRUFBRSxDQUFDO1FBQ2hCLFlBQU8sR0FBRyxLQUFLLENBQU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jbGFzcyBOYXZiYXJDb21wb25lbnQge1xuICBASW5wdXQoKSBleHRyYUNsYXNzID0gJyc7XG4gIEBJbnB1dCgpIHJvdW5kZWQgPSBmYWxzZTtcbiAgQElucHV0KCkgYm9yZGVyID0gZmFsc2U7XG4gIEBJbnB1dCgpIGZsdWlkID0gZmFsc2U7XG59XG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './sidebar.component';
|
|
2
|
-
export * from './sidebar-item.component';
|
|
3
|
-
export * from './sidebar-item-group.component';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL3NpZGViYXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsZ0NBQWdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NpZGViYXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2lkZWJhci1pdGVtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NpZGViYXItaXRlbS1ncm91cC5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class SidebarItemGroupComponent {
|
|
4
|
-
}
|
|
5
|
-
SidebarItemGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarItemGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
SidebarItemGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: SidebarItemGroupComponent, selector: "flowbite-sidebar-item-group", ngImport: i0, template: ` <div class="flex flex-col space-y-2">
|
|
7
|
-
<ng-content></ng-content>
|
|
8
|
-
</div>`, isInline: true });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarItemGroupComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{
|
|
12
|
-
selector: 'flowbite-sidebar-item-group',
|
|
13
|
-
template: ` <div class="flex flex-col space-y-2">
|
|
14
|
-
<ng-content></ng-content>
|
|
15
|
-
</div>`,
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1pdGVtLWdyb3VwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmxvd2JpdGUtYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvc2lkZWJhci9zaWRlYmFyLWl0ZW0tZ3JvdXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUTFDLE1BQU0sT0FBTyx5QkFBeUI7O3NIQUF6Qix5QkFBeUI7MEdBQXpCLHlCQUF5QixtRUFKMUI7O1NBRUg7MkZBRUkseUJBQXlCO2tCQU5yQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSw2QkFBNkI7b0JBQ3ZDLFFBQVEsRUFBRTs7U0FFSDtpQkFDUiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdmbG93Yml0ZS1zaWRlYmFyLWl0ZW0tZ3JvdXAnLFxuICB0ZW1wbGF0ZTogYCA8ZGl2IGNsYXNzPVwiZmxleCBmbGV4LWNvbCBzcGFjZS15LTJcIj5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PmAsXG59KVxuZXhwb3J0IGNsYXNzIFNpZGViYXJJdGVtR3JvdXBDb21wb25lbnQge31cbiJdfQ==
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { SidebarService } from '../../services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../services";
|
|
5
|
-
import * as i2 from "../badge/badge.component";
|
|
6
|
-
import * as i3 from "@angular/router";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
import * as i5 from "../../pipes/sanitize-html/sanitize-html.pipe";
|
|
9
|
-
export class SidebarItemComponent {
|
|
10
|
-
constructor(sidebarService) {
|
|
11
|
-
this.sidebarService = sidebarService;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
SidebarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarItemComponent, deps: [{ token: i1.SidebarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
SidebarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: SidebarItemComponent, selector: "flowbite-sidebar-item", inputs: { icon: "icon", link: "link", label: "label" }, ngImport: i0, template: `<a
|
|
16
|
-
class="group flex cursor-pointer items-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700"
|
|
17
|
-
[routerLink]="link"
|
|
18
|
-
routerLinkActive="bg-gray-200 dark:bg-gray-700"
|
|
19
|
-
[routerLinkActiveOptions]="{ exact: true }"
|
|
20
|
-
>
|
|
21
|
-
<span
|
|
22
|
-
class="flex-shrink-0"
|
|
23
|
-
[innerHTML]="icon! | sanitizeHtml"
|
|
24
|
-
*ngIf="!!icon"
|
|
25
|
-
></span>
|
|
26
|
-
<span
|
|
27
|
-
class="flex-1 whitespace-nowrap"
|
|
28
|
-
[class.ml-3]="!!icon"
|
|
29
|
-
*ngIf="(sidebarService.$collapsed | async) === false"
|
|
30
|
-
>
|
|
31
|
-
<ng-content></ng-content>
|
|
32
|
-
</span>
|
|
33
|
-
<flowbite-badge
|
|
34
|
-
*ngIf="(sidebarService.$collapsed | async) === false && label"
|
|
35
|
-
>{{ label }}</flowbite-badge
|
|
36
|
-
>
|
|
37
|
-
</a>`, isInline: true, components: [{ type: i2.BadgeComponent, selector: "flowbite-badge", inputs: ["color", "size", "href", "iconOnly"] }], directives: [{ type: i3.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "sanitizeHtml": i5.SanitizeHtmlPipe, "async": i4.AsyncPipe } });
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarItemComponent, decorators: [{
|
|
39
|
-
type: Component,
|
|
40
|
-
args: [{
|
|
41
|
-
selector: 'flowbite-sidebar-item',
|
|
42
|
-
template: `<a
|
|
43
|
-
class="group flex cursor-pointer items-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700"
|
|
44
|
-
[routerLink]="link"
|
|
45
|
-
routerLinkActive="bg-gray-200 dark:bg-gray-700"
|
|
46
|
-
[routerLinkActiveOptions]="{ exact: true }"
|
|
47
|
-
>
|
|
48
|
-
<span
|
|
49
|
-
class="flex-shrink-0"
|
|
50
|
-
[innerHTML]="icon! | sanitizeHtml"
|
|
51
|
-
*ngIf="!!icon"
|
|
52
|
-
></span>
|
|
53
|
-
<span
|
|
54
|
-
class="flex-1 whitespace-nowrap"
|
|
55
|
-
[class.ml-3]="!!icon"
|
|
56
|
-
*ngIf="(sidebarService.$collapsed | async) === false"
|
|
57
|
-
>
|
|
58
|
-
<ng-content></ng-content>
|
|
59
|
-
</span>
|
|
60
|
-
<flowbite-badge
|
|
61
|
-
*ngIf="(sidebarService.$collapsed | async) === false && label"
|
|
62
|
-
>{{ label }}</flowbite-badge
|
|
63
|
-
>
|
|
64
|
-
</a>`,
|
|
65
|
-
}]
|
|
66
|
-
}], ctorParameters: function () { return [{ type: i1.SidebarService }]; }, propDecorators: { icon: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], link: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], label: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}] } });
|
|
73
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmxvd2JpdGUtYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvc2lkZWJhci9zaWRlYmFyLWl0ZW0uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7Ozs7OztBQTRCaEQsTUFBT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xuICA+XG4gICAgPHNwYW5cbiAgICAgIGNsYXNzPVwiZmxleC1zaHJpbmstMFwiXG4gICAgICBbaW5uZXJIVE1MXT1cImljb24hIHwgc2FuaXRpemVIdG1sXCJcbiAgICAgICpuZ0lmPVwiISFpY29uXCJcbiAgICA+PC9zcGFuPlxuICAgIDxzcGFuXG4gICAgICBjbGFzcz1cImZsZXgtMSB3aGl0ZXNwYWNlLW5vd3JhcFwiXG4gICAgICBbY2xhc3MubWwtM109XCIhIWljb25cIlxuICAgICAgKm5nSWY9XCIoc2lkZWJhclNlcnZpY2UuJGNvbGxhcHNlZCB8IGFzeW5jKSA9PT0gZmFsc2VcIlxuICAgID5cbiAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8L3NwYW4+XG4gICAgPGZsb3diaXRlLWJhZGdlXG4gICAgICAqbmdJZj1cIihzaWRlYmFyU2VydmljZS4kY29sbGFwc2VkIHwgYXN5bmMpID09PSBmYWxzZSAmJiBsYWJlbFwiXG4gICAgICA+e3sgbGFiZWwgfX08L2Zsb3diaXRlLWJhZGdlXG4gICAgPlxuICA8L2E+YCxcbn0pXG5leHBvcnQgY2xhc3MgU2lkZWJhckl0ZW1Db21wb25lbnQge1xuICBASW5wdXQoKSBpY29uPzogc3RyaW5nO1xuICBASW5wdXQoKSBsaW5rPzogc3RyaW5nO1xuICBASW5wdXQoKSBsYWJlbD86IHN0cmluZztcblxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgc2lkZWJhclNlcnZpY2U6IFNpZGViYXJTZXJ2aWNlKSB7fVxufVxuIl19
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { SidebarService } from '../../services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../services";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
export class SidebarComponent {
|
|
7
|
-
constructor(sidebarService) {
|
|
8
|
-
this.sidebarService = sidebarService;
|
|
9
|
-
this.extraClass = '';
|
|
10
|
-
this.rounded = false;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
SidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarComponent, deps: [{ token: i1.SidebarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
SidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: SidebarComponent, selector: "flowbite-sidebar", inputs: { extraClass: "extraClass", rounded: "rounded" }, ngImport: i0, template: `<aside
|
|
15
|
-
class="h-full"
|
|
16
|
-
[class.w-16]="sidebarService.$collapsed | async"
|
|
17
|
-
[class.w-64]="(sidebarService.$collapsed | async) === false"
|
|
18
|
-
>
|
|
19
|
-
<div
|
|
20
|
-
class="flex h-full flex-col space-y-4 divide-y divide-gray-200 overflow-y-auto bg-white py-4 px-3 dark:divide-gray-700 dark:border-gray-700 dark:bg-gray-800"
|
|
21
|
-
[class.rounded]="rounded"
|
|
22
|
-
[ngClass]="extraClass"
|
|
23
|
-
>
|
|
24
|
-
<ng-content></ng-content>
|
|
25
|
-
</div>
|
|
26
|
-
</aside>`, isInline: true, directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i2.AsyncPipe } });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{
|
|
30
|
-
selector: 'flowbite-sidebar',
|
|
31
|
-
template: `<aside
|
|
32
|
-
class="h-full"
|
|
33
|
-
[class.w-16]="sidebarService.$collapsed | async"
|
|
34
|
-
[class.w-64]="(sidebarService.$collapsed | async) === false"
|
|
35
|
-
>
|
|
36
|
-
<div
|
|
37
|
-
class="flex h-full flex-col space-y-4 divide-y divide-gray-200 overflow-y-auto bg-white py-4 px-3 dark:divide-gray-700 dark:border-gray-700 dark:bg-gray-800"
|
|
38
|
-
[class.rounded]="rounded"
|
|
39
|
-
[ngClass]="extraClass"
|
|
40
|
-
>
|
|
41
|
-
<ng-content></ng-content>
|
|
42
|
-
</div>
|
|
43
|
-
</aside>`,
|
|
44
|
-
}]
|
|
45
|
-
}], ctorParameters: function () { return [{ type: i1.SidebarService }]; }, propDecorators: { extraClass: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], rounded: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL3NpZGViYXIvc2lkZWJhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7O0FBa0JoRCxNQUFNLE9BQU8sZ0JBQWdCO0lBSTNCLFlBQTRCLGNBQThCO1FBQTlCLG1CQUFjLEdBQWQsY0FBYyxDQUFnQjtRQUhqRCxlQUFVLEdBQUcsRUFBRSxDQUFDO1FBQ2hCLFlBQU8sR0FBRyxLQUFLLENBQUM7SUFFb0MsQ0FBQzs7NkdBSm5ELGdCQUFnQjtpR0FBaEIsZ0JBQWdCLGtIQWRqQjs7Ozs7Ozs7Ozs7O1dBWUQ7MkZBRUUsZ0JBQWdCO2tCQWhCNUIsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsa0JBQWtCO29CQUM1QixRQUFRLEVBQUU7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xzZTtcblxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgc2lkZWJhclNlcnZpY2U6IFNpZGViYXJTZXJ2aWNlKSB7fVxufVxuIl19
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { RouterModule } from '@angular/router';
|
|
4
|
-
import { AlertComponent, BadgeComponent, DarkThemeToggleComponent, NavbarComponent, SidebarComponent, SidebarItemComponent, SidebarItemGroupComponent, } from './components';
|
|
5
|
-
import { SidebarService, ThemeService } from './services';
|
|
6
|
-
import { SanitizeHtmlPipe } from './pipes';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
const COMPONENTS = [
|
|
9
|
-
AlertComponent,
|
|
10
|
-
BadgeComponent,
|
|
11
|
-
DarkThemeToggleComponent,
|
|
12
|
-
NavbarComponent,
|
|
13
|
-
SidebarComponent,
|
|
14
|
-
SidebarItemComponent,
|
|
15
|
-
SidebarItemGroupComponent,
|
|
16
|
-
];
|
|
17
|
-
const SERVICES = [SidebarService, ThemeService];
|
|
18
|
-
const PIPES = [SanitizeHtmlPipe];
|
|
19
|
-
export class FlowbiteModule {
|
|
20
|
-
}
|
|
21
|
-
FlowbiteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: FlowbiteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
-
FlowbiteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: FlowbiteModule, declarations: [AlertComponent,
|
|
23
|
-
BadgeComponent,
|
|
24
|
-
DarkThemeToggleComponent,
|
|
25
|
-
NavbarComponent,
|
|
26
|
-
SidebarComponent,
|
|
27
|
-
SidebarItemComponent,
|
|
28
|
-
SidebarItemGroupComponent, SanitizeHtmlPipe], imports: [CommonModule, RouterModule], exports: [AlertComponent,
|
|
29
|
-
BadgeComponent,
|
|
30
|
-
DarkThemeToggleComponent,
|
|
31
|
-
NavbarComponent,
|
|
32
|
-
SidebarComponent,
|
|
33
|
-
SidebarItemComponent,
|
|
34
|
-
SidebarItemGroupComponent, SanitizeHtmlPipe] });
|
|
35
|
-
FlowbiteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: FlowbiteModule, providers: [SERVICES, PIPES], imports: [[CommonModule, RouterModule]] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: FlowbiteModule, decorators: [{
|
|
37
|
-
type: NgModule,
|
|
38
|
-
args: [{
|
|
39
|
-
imports: [CommonModule, RouterModule],
|
|
40
|
-
declarations: [COMPONENTS, SanitizeHtmlPipe],
|
|
41
|
-
exports: [COMPONENTS, SanitizeHtmlPipe],
|
|
42
|
-
providers: [SERVICES, PIPES],
|
|
43
|
-
}]
|
|
44
|
-
}] });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxvd2JpdGUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvZmxvd2JpdGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQ0wsY0FBYyxFQUNkLGNBQWMsRUFDZCx3QkFBd0IsRUFDeEIsZUFBZSxFQUNmLGdCQUFnQixFQUNoQixvQkFBb0IsRU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BJUEVTID0gW1Nhbml0aXplSHRtbFBpcGVdO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBSb3V0ZXJNb2R1bGVdLFxuICBkZWNsYXJhdGlvbnM6IFtDT01QT05FTlRTLCBTYW5pdGl6ZUh0bWxQaXBlXSxcbiAgZXhwb3J0czogW0NPTVBPTkVOVFMsIFNhbml0aXplSHRtbFBpcGVdLFxuICBwcm92aWRlcnM6IFtTRVJWSUNFUywgUElQRVNdLFxufSlcbmV4cG9ydCBjbGFzcyBGbG93Yml0ZU1vZHVsZSB7fVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './sanitize-html';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9waXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zYW5pdGl6ZS1odG1sJztcbiJdfQ==
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/platform-browser";
|
|
5
|
-
export class SanitizeHtmlPipe {
|
|
6
|
-
constructor(_sanitizer) {
|
|
7
|
-
this._sanitizer = _sanitizer;
|
|
8
|
-
}
|
|
9
|
-
transform(v) {
|
|
10
|
-
return this._sanitizer.bypassSecurityTrustHtml(v);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
SanitizeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SanitizeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
-
SanitizeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SanitizeHtmlPipe, name: "sanitizeHtml" });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SanitizeHtmlPipe, decorators: [{
|
|
16
|
-
type: Pipe,
|
|
17
|
-
args: [{
|
|
18
|
-
name: 'sanitizeHtml',
|
|
19
|
-
}]
|
|
20
|
-
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FuaXRpemUtaHRtbC5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvcGlwZXMvc2FuaXRpemUtaHRtbC9zYW5pdGl6ZS1odG1sLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLFlBQVksRUFBWSxNQUFNLDJCQUEyQixDQUFDOzs7QUFLbkUsTUFBTSxPQUFPLGdCQUFnQjtJQUMzQixZQUFvQixVQUF3QjtRQUF4QixlQUFVLEdBQVYsVUFBVSxDQUFjO0lBQUcsQ0FBQztJQUVoRCxTQUFTLENBQUMsQ0FBUztRQUNqQixPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsdUJBQXVCLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDcEQsQ0FBQzs7NkdBTFUsZ0JBQWdCOzJHQUFoQixnQk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from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class SidebarService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.$collapsed = new BehaviorSubject(false);
|
|
7
|
-
}
|
|
8
|
-
setCollapsed(collapsed) {
|
|
9
|
-
this.$collapsed.next(collapsed);
|
|
10
|
-
}
|
|
11
|
-
toggleCollapsed() {
|
|
12
|
-
const collapsed = this.$collapsed.getValue();
|
|
13
|
-
this.setCollapsed(!collapsed);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
SidebarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
-
SidebarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarService, providedIn: 'root' });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: SidebarService, decorators: [{
|
|
19
|
-
type: Injectable,
|
|
20
|
-
args: [{
|
|
21
|
-
providedIn: 'root',
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvc2VydmljZXMvc2lkZWJhci9zaWRlYmFyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sTUFBTSxDQUFDOztBQ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ZWQpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './theme.service';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9zZXJ2aWNlcy90aGVtZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90aGVtZS5zZXJ2aWNlJztcbiJdfQ==
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class ThemeService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.$theme = new BehaviorSubject('light');
|
|
7
|
-
}
|
|
8
|
-
setTheme(theme) {
|
|
9
|
-
this.$theme.next(theme);
|
|
10
|
-
}
|
|
11
|
-
toggleTheme() {
|
|
12
|
-
const theme = this.$theme.getValue();
|
|
13
|
-
this.setTheme(theme === 'dark' ? 'light' : 'dark');
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
ThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
-
ThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ThemeService, providedIn: 'root' });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ThemeService, decorators: [{
|
|
19
|
-
type: Inj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