flowbite-angular 1.0.0-alpha.1 → 1.0.0-alpha.3
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/accordion/README.md +3 -0
- package/{lib/components/accordion → accordion}/accordion-content.component.d.ts +1 -1
- package/{lib/components/accordion → accordion}/accordion-content.theme.d.ts +1 -1
- package/{lib/components/accordion → accordion}/accordion-content.theme.service.d.ts +1 -1
- package/{lib/components/accordion → accordion}/accordion-panel.component.d.ts +1 -1
- package/{lib/components/accordion → accordion}/accordion-panel.theme.d.ts +1 -1
- package/{lib/components/accordion → accordion}/accordion-panel.theme.service.d.ts +1 -1
- package/{lib/components/accordion → accordion}/accordion-title.component.d.ts +2 -2
- package/{lib/components/accordion → accordion}/accordion-title.theme.d.ts +1 -2
- package/{lib/components/accordion → accordion}/accordion-title.theme.service.d.ts +1 -1
- package/{lib/components/accordion → accordion}/accordion.component.d.ts +1 -1
- package/{lib/components/accordion → accordion}/accordion.theme.d.ts +1 -4
- package/{lib/components/accordion → accordion}/accordion.theme.service.d.ts +1 -1
- package/{lib/components/accordion → accordion}/index.d.ts +5 -5
- package/alert/README.md +3 -0
- package/{lib/components/alert → alert}/alert.component.d.ts +5 -5
- package/{lib/components/alert → alert}/alert.theme.d.ts +1 -4
- package/{lib/components/alert → alert}/alert.theme.service.d.ts +1 -1
- package/badge/README.md +3 -0
- package/{lib/components/badge → badge}/badge.component.d.ts +4 -4
- package/{lib/components/badge → badge}/badge.theme.d.ts +1 -6
- package/{lib/components/badge → badge}/badge.theme.service.d.ts +1 -1
- package/{lib/components/badge → badge}/index.d.ts +1 -1
- package/{lib/components/base-component.directive.d.ts → base-component.directive.d.ts} +2 -2
- package/breadcrumb/README.md +3 -0
- package/{lib/components/breadcrumb → breadcrumb}/breadcrumb-item.component.d.ts +4 -4
- package/{lib/components/breadcrumb → breadcrumb}/breadcrumb-item.theme.d.ts +1 -2
- package/{lib/components/breadcrumb → breadcrumb}/breadcrumb-item.theme.service.d.ts +1 -1
- package/{lib/components/breadcrumb → breadcrumb}/breadcrumb.component.d.ts +1 -1
- package/{lib/components/breadcrumb → breadcrumb}/breadcrumb.theme.d.ts +1 -1
- package/{lib/components/breadcrumb → breadcrumb}/breadcrumb.theme.service.d.ts +1 -1
- package/{lib/components/breadcrumb → breadcrumb}/index.d.ts +4 -4
- package/button/README.md +3 -0
- package/{lib/components/button → button}/button.component.d.ts +2 -2
- package/{lib/components/button → button}/button.theme.d.ts +1 -8
- package/{lib/components/button → button}/button.theme.service.d.ts +1 -1
- package/core/README.md +3 -0
- package/core/index.d.ts +1 -0
- package/dark-theme-toggle/README.md +3 -0
- package/{lib/components/dark-theme-toggle → dark-theme-toggle}/dark-theme-toggle.component.d.ts +5 -5
- package/{lib/components/dark-theme-toggle → dark-theme-toggle}/dark-theme-toggle.theme.d.ts +1 -1
- package/{lib/components/dark-theme-toggle → dark-theme-toggle}/dark-theme-toggle.theme.service.d.ts +1 -1
- package/dark-theme-toggle/index.d.ts +3 -0
- package/dropdown/README.md +3 -0
- package/{lib/components/dropdown → dropdown}/dropdown-divider.component.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown-divider.theme.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown-divider.theme.service.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown-header.component.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown-header.theme.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown-header.theme.service.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown-item.component.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown-item.theme.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown-item.theme.service.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/dropdown.component.d.ts +2 -2
- package/{lib/components/dropdown → dropdown}/dropdown.theme.d.ts +1 -4
- package/{lib/components/dropdown → dropdown}/dropdown.theme.service.d.ts +1 -1
- package/{lib/components/dropdown → dropdown}/index.d.ts +7 -7
- package/esm2022/accordion/accordion-content.component.mjs +47 -0
- package/esm2022/accordion/accordion-content.theme.mjs +19 -0
- package/esm2022/accordion/accordion-content.theme.service.mjs +17 -0
- package/esm2022/accordion/accordion-panel.component.mjs +59 -0
- package/esm2022/accordion/accordion-panel.theme.mjs +7 -0
- package/esm2022/accordion/accordion-panel.theme.service.mjs +17 -0
- package/esm2022/accordion/accordion-title.component.mjs +71 -0
- package/esm2022/accordion/accordion-title.theme.mjs +26 -0
- package/esm2022/accordion/accordion-title.theme.service.mjs +18 -0
- package/esm2022/accordion/accordion.component.mjs +50 -0
- package/esm2022/accordion/accordion.theme.mjs +19 -0
- package/esm2022/accordion/accordion.theme.service.mjs +17 -0
- package/esm2022/accordion/flowbite-angular-accordion.mjs +5 -0
- package/esm2022/accordion/index.mjs +13 -0
- package/esm2022/alert/alert.component.mjs +96 -0
- package/esm2022/alert/alert.theme.mjs +34 -0
- package/esm2022/alert/alert.theme.service.mjs +18 -0
- package/esm2022/alert/flowbite-angular-alert.mjs +5 -0
- package/esm2022/alert/index.mjs +4 -0
- package/esm2022/badge/badge.component.mjs +48 -0
- package/esm2022/badge/badge.theme.mjs +34 -0
- package/esm2022/badge/badge.theme.service.mjs +19 -0
- package/esm2022/badge/flowbite-angular-badge.mjs +5 -0
- package/esm2022/badge/index.mjs +4 -0
- package/esm2022/base-component.directive.mjs +34 -0
- package/esm2022/breadcrumb/breadcrumb-item.component.mjs +59 -0
- package/esm2022/breadcrumb/breadcrumb-item.theme.mjs +18 -0
- package/esm2022/breadcrumb/breadcrumb-item.theme.service.mjs +18 -0
- package/esm2022/breadcrumb/breadcrumb.component.mjs +48 -0
- package/esm2022/breadcrumb/breadcrumb.theme.mjs +7 -0
- package/esm2022/breadcrumb/breadcrumb.theme.service.mjs +17 -0
- package/esm2022/breadcrumb/flowbite-angular-breadcrumb.mjs +5 -0
- package/esm2022/breadcrumb/index.mjs +7 -0
- package/esm2022/{lib/components/button → button}/button.component.mjs +9 -8
- package/esm2022/button/button.theme.mjs +113 -0
- package/esm2022/button/button.theme.service.mjs +24 -0
- package/esm2022/button/flowbite-angular-button.mjs +5 -0
- package/esm2022/button/index.mjs +4 -0
- package/esm2022/core/flowbite-angular-core.mjs +5 -0
- package/esm2022/core/flowbite.theme.init.mjs +281 -0
- package/esm2022/core/index.mjs +2 -0
- package/esm2022/dark-theme-toggle/dark-theme-toggle.component.mjs +78 -0
- package/esm2022/dark-theme-toggle/dark-theme-toggle.theme.mjs +7 -0
- package/esm2022/dark-theme-toggle/dark-theme-toggle.theme.service.mjs +17 -0
- package/esm2022/dark-theme-toggle/flowbite-angular-dark-theme-toggle.mjs +5 -0
- package/esm2022/dark-theme-toggle/index.mjs +4 -0
- package/esm2022/dropdown/dropdown-divider.component.mjs +36 -0
- package/esm2022/dropdown/dropdown-divider.theme.mjs +7 -0
- package/esm2022/dropdown/dropdown-divider.theme.service.mjs +17 -0
- package/esm2022/dropdown/dropdown-header.component.mjs +46 -0
- package/esm2022/dropdown/dropdown-header.theme.mjs +10 -0
- package/esm2022/dropdown/dropdown-header.theme.service.mjs +18 -0
- package/esm2022/dropdown/dropdown-item.component.mjs +36 -0
- package/esm2022/dropdown/dropdown-item.theme.mjs +6 -0
- package/esm2022/dropdown/dropdown-item.theme.service.mjs +17 -0
- package/esm2022/dropdown/dropdown.component.mjs +150 -0
- package/esm2022/dropdown/dropdown.theme.mjs +32 -0
- package/esm2022/dropdown/dropdown.theme.service.mjs +22 -0
- package/esm2022/dropdown/flowbite-angular-dropdown.mjs +5 -0
- package/esm2022/dropdown/index.mjs +13 -0
- package/esm2022/flowbite-angular.mjs +2 -2
- package/esm2022/flowbite.theme.service.mjs +16 -0
- package/esm2022/icon/flowbite-angular-icon.mjs +5 -0
- package/esm2022/icon/icon-registry.mjs +159 -0
- package/esm2022/icon/icon.component.mjs +72 -0
- package/esm2022/icon/index.mjs +4 -0
- package/esm2022/icon/trusted-types.mjs +21 -0
- package/esm2022/index.mjs +4 -0
- package/esm2022/indicator/flowbite-angular-indicator.mjs +5 -0
- package/esm2022/indicator/index.mjs +4 -0
- package/esm2022/indicator/indicators.component.mjs +55 -0
- package/esm2022/indicator/indicators.theme.mjs +68 -0
- package/esm2022/indicator/indicators.theme.service.mjs +19 -0
- package/esm2022/modal/flowbite-angular-modal.mjs +5 -0
- package/esm2022/modal/index.mjs +13 -0
- package/esm2022/modal/modal-body.component.mjs +36 -0
- package/esm2022/modal/modal-body.theme.mjs +7 -0
- package/esm2022/modal/modal-body.theme.service.mjs +17 -0
- package/esm2022/modal/modal-footer.component.mjs +36 -0
- package/esm2022/modal/modal-footer.theme.mjs +7 -0
- package/esm2022/modal/modal-footer.theme.service.mjs +17 -0
- package/esm2022/modal/modal-header.component.mjs +68 -0
- package/esm2022/modal/modal-header.theme.mjs +13 -0
- package/esm2022/modal/modal-header.theme.service.mjs +19 -0
- package/esm2022/modal/modal.component.mjs +143 -0
- package/esm2022/modal/modal.theme.mjs +33 -0
- package/esm2022/modal/modal.theme.service.mjs +20 -0
- package/esm2022/navbar/flowbite-angular-navbar.mjs +5 -0
- package/esm2022/navbar/index.mjs +19 -0
- package/esm2022/navbar/navbar-brand.component.mjs +36 -0
- package/esm2022/navbar/navbar-brand.theme.mjs +7 -0
- package/esm2022/navbar/navbar-brand.theme.service.mjs +17 -0
- package/esm2022/navbar/navbar-content.component.mjs +46 -0
- package/esm2022/navbar/navbar-content.theme.mjs +14 -0
- package/esm2022/navbar/navbar-content.theme.service.mjs +18 -0
- package/esm2022/navbar/navbar-icon-button.component.mjs +44 -0
- package/esm2022/navbar/navbar-icon-button.theme.mjs +15 -0
- package/esm2022/navbar/navbar-icon-button.theme.service.mjs +17 -0
- package/esm2022/navbar/navbar-item.component.mjs +51 -0
- package/esm2022/{lib/components/navbar → navbar}/navbar-item.theme.mjs +2 -2
- package/esm2022/navbar/navbar-item.theme.service.mjs +17 -0
- package/esm2022/navbar/navbar-toggle.component.mjs +52 -0
- package/esm2022/navbar/navbar-toggle.theme.mjs +7 -0
- package/esm2022/navbar/navbar-toggle.theme.service.mjs +17 -0
- package/esm2022/navbar/navbar.component.mjs +63 -0
- package/esm2022/navbar/navbar.theme.mjs +23 -0
- package/esm2022/navbar/navbar.theme.service.mjs +17 -0
- package/esm2022/router-link/flowbite-angular-router-link.mjs +5 -0
- package/esm2022/router-link/flowbite-router-link.directive.mjs +54 -0
- package/esm2022/router-link/index.mjs +2 -0
- package/esm2022/router-link-active/flowbite-angular-router-link-active.mjs +5 -0
- package/esm2022/router-link-active/flowbite-router-link-active.directive.mjs +49 -0
- package/esm2022/router-link-active/index.mjs +2 -0
- package/esm2022/sanitize-html/flowbite-angular-sanitize-html.mjs +5 -0
- package/esm2022/sanitize-html/index.mjs +2 -0
- package/esm2022/sanitize-html/sanitize-html.pipe.mjs +32 -0
- package/esm2022/scroll-top/flowbite-angular-scroll-top.mjs +5 -0
- package/esm2022/scroll-top/index.mjs +4 -0
- package/esm2022/scroll-top/scroll-top.component.mjs +52 -0
- package/esm2022/{lib/components/scroll-top → scroll-top}/scroll-top.theme.mjs +2 -2
- package/esm2022/scroll-top/scroll-top.theme.service.mjs +17 -0
- package/esm2022/sidebar/flowbite-angular-sidebar.mjs +5 -0
- package/esm2022/sidebar/index.mjs +19 -0
- package/esm2022/sidebar/sidebar-item-group.component.mjs +83 -0
- package/esm2022/sidebar/sidebar-item-group.theme.mjs +18 -0
- package/esm2022/sidebar/sidebar-item-group.theme.service.mjs +18 -0
- package/esm2022/sidebar/sidebar-item.component.mjs +79 -0
- package/esm2022/sidebar/sidebar-item.theme.mjs +18 -0
- package/esm2022/sidebar/sidebar-item.theme.service.mjs +18 -0
- package/esm2022/sidebar/sidebar-menu.component.mjs +50 -0
- package/esm2022/sidebar/sidebar-menu.theme.mjs +24 -0
- package/esm2022/sidebar/sidebar-menu.theme.service.mjs +17 -0
- package/esm2022/sidebar/sidebar-page-content.component.mjs +37 -0
- package/esm2022/sidebar/sidebar-page-content.theme.mjs +12 -0
- package/esm2022/sidebar/sidebar-page-content.theme.service.mjs +17 -0
- package/esm2022/sidebar/sidebar-toggle.component.mjs +55 -0
- package/esm2022/sidebar/sidebar-toggle.theme.mjs +18 -0
- package/esm2022/sidebar/sidebar-toggle.theme.service.mjs +17 -0
- package/esm2022/sidebar/sidebar.component.mjs +62 -0
- package/esm2022/sidebar/sidebar.theme.mjs +11 -0
- package/esm2022/sidebar/sidebar.theme.service.mjs +17 -0
- package/esm2022/type-definitions/colors/flowbite.colors.mjs +2 -0
- package/esm2022/type-definitions/colors/flowbite.gradient-colors.mjs +2 -0
- package/esm2022/type-definitions/colors/flowbite.gradient-duo-tone-colors.mjs +2 -0
- package/esm2022/type-definitions/colors/index.mjs +2 -0
- package/esm2022/type-definitions/flowbite.boolean.mjs +10 -0
- package/esm2022/type-definitions/flowbite.class.mjs +2 -0
- package/esm2022/type-definitions/flowbite.combination.mjs +5 -0
- package/esm2022/type-definitions/flowbite.content-positions.mjs +2 -0
- package/esm2022/type-definitions/flowbite.deep-partial.mjs +2 -0
- package/esm2022/type-definitions/flowbite.heading-levels.mjs +2 -0
- package/esm2022/type-definitions/flowbite.positions.mjs +2 -0
- package/esm2022/type-definitions/flowbite.router-link-parameter.mjs +2 -0
- package/esm2022/type-definitions/flowbite.sizes.mjs +2 -0
- package/esm2022/type-definitions/flowbite.themes.mjs +2 -0
- package/esm2022/type-definitions/index.mjs +3 -0
- package/esm2022/utils/flowbite-angular-utils.mjs +5 -0
- package/esm2022/utils/icon.list.mjs +39 -0
- package/esm2022/utils/id.generator.mjs +81 -0
- package/esm2022/utils/index.mjs +9 -0
- package/esm2022/utils/theme/clone-deep.mjs +18 -0
- package/esm2022/utils/theme/create-class.mjs +10 -0
- package/esm2022/utils/theme/create-theme.mjs +10 -0
- package/esm2022/utils/theme/is-object.mjs +10 -0
- package/esm2022/utils/theme/merge-theme.mjs +29 -0
- package/esm2022/utils/theme/to-string.mjs +10 -0
- package/fesm2022/flowbite-angular-accordion.mjs +338 -0
- package/fesm2022/flowbite-angular-accordion.mjs.map +1 -0
- package/fesm2022/flowbite-angular-alert.mjs +151 -0
- package/fesm2022/flowbite-angular-alert.mjs.map +1 -0
- package/fesm2022/flowbite-angular-badge.mjs +105 -0
- package/fesm2022/flowbite-angular-badge.mjs.map +1 -0
- package/fesm2022/flowbite-angular-breadcrumb.mjs +159 -0
- package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/flowbite-angular-button.mjs +223 -0
- package/fesm2022/flowbite-angular-button.mjs.map +1 -0
- package/fesm2022/flowbite-angular-core.mjs +288 -0
- package/fesm2022/flowbite-angular-core.mjs.map +1 -0
- package/fesm2022/flowbite-angular-dark-theme-toggle.mjs +105 -0
- package/fesm2022/flowbite-angular-dark-theme-toggle.mjs.map +1 -0
- package/fesm2022/flowbite-angular-dropdown.mjs +368 -0
- package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon.mjs +254 -0
- package/fesm2022/flowbite-angular-icon.mjs.map +1 -0
- package/fesm2022/flowbite-angular-indicator.mjs +146 -0
- package/fesm2022/flowbite-angular-indicator.mjs.map +1 -0
- package/fesm2022/flowbite-angular-modal.mjs +386 -0
- package/fesm2022/flowbite-angular-modal.mjs.map +1 -0
- package/fesm2022/flowbite-angular-navbar.mjs +422 -0
- package/fesm2022/flowbite-angular-navbar.mjs.map +1 -0
- package/fesm2022/flowbite-angular-router-link-active.mjs +56 -0
- package/fesm2022/flowbite-angular-router-link-active.mjs.map +1 -0
- package/fesm2022/flowbite-angular-router-link.mjs +61 -0
- package/fesm2022/flowbite-angular-router-link.mjs.map +1 -0
- package/fesm2022/flowbite-angular-sanitize-html.mjs +39 -0
- package/fesm2022/flowbite-angular-sanitize-html.mjs.map +1 -0
- package/fesm2022/flowbite-angular-scroll-top.mjs +99 -0
- package/fesm2022/flowbite-angular-scroll-top.mjs.map +1 -0
- package/fesm2022/flowbite-angular-sidebar.mjs +518 -0
- package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -0
- package/fesm2022/flowbite-angular-utils.mjs +210 -0
- package/fesm2022/flowbite-angular-utils.mjs.map +1 -0
- package/fesm2022/flowbite-angular.mjs +16 -4277
- package/fesm2022/flowbite-angular.mjs.map +1 -1
- package/{lib/services/flowbite.theme.service.d.ts → flowbite.theme.service.d.ts} +1 -1
- package/icon/README.md +3 -0
- package/{lib/components/icon → icon}/icon.component.d.ts +2 -2
- package/index.d.ts +3 -5
- package/indicator/README.md +3 -0
- package/{lib/components/indicators → indicator}/indicators.component.d.ts +14 -14
- package/{lib/components/indicators → indicator}/indicators.theme.d.ts +1 -6
- package/{lib/components/indicators → indicator}/indicators.theme.service.d.ts +1 -1
- package/modal/README.md +3 -0
- package/{lib/components/modal → modal}/index.d.ts +5 -5
- package/{lib/components/modal → modal}/modal-body.component.d.ts +1 -1
- package/{lib/components/modal → modal}/modal-body.theme.d.ts +1 -1
- package/{lib/components/modal → modal}/modal-body.theme.service.d.ts +1 -1
- package/{lib/components/modal → modal}/modal-footer.component.d.ts +1 -1
- package/{lib/components/modal → modal}/modal-footer.theme.d.ts +1 -1
- package/{lib/components/modal → modal}/modal-footer.theme.service.d.ts +1 -1
- package/{lib/components/modal → modal}/modal-header.component.d.ts +2 -2
- package/{lib/components/modal → modal}/modal-header.theme.d.ts +1 -1
- package/{lib/components/modal → modal}/modal-header.theme.service.d.ts +1 -1
- package/{lib/components/modal → modal}/modal.component.d.ts +6 -6
- package/{lib/components/modal → modal}/modal.theme.d.ts +1 -5
- package/{lib/components/modal → modal}/modal.theme.service.d.ts +1 -1
- package/navbar/README.md +3 -0
- package/{lib/components/navbar → navbar}/index.d.ts +7 -7
- package/{lib/components/navbar → navbar}/navbar-brand.component.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-brand.theme.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-brand.theme.service.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-content.component.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-content.theme.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-content.theme.service.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-icon-button.component.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-icon-button.theme.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-icon-button.theme.service.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-item.component.d.ts +3 -3
- package/{lib/components/navbar → navbar}/navbar-item.theme.d.ts +1 -2
- package/{lib/components/navbar → navbar}/navbar-item.theme.service.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-toggle.component.d.ts +2 -2
- package/{lib/components/navbar → navbar}/navbar-toggle.theme.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar-toggle.theme.service.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar.component.d.ts +1 -1
- package/{lib/components/navbar → navbar}/navbar.theme.d.ts +1 -4
- package/{lib/components/navbar → navbar}/navbar.theme.service.d.ts +1 -1
- package/package.json +123 -15
- package/router-link/README.md +3 -0
- package/router-link/index.d.ts +1 -0
- package/router-link-active/README.md +3 -0
- package/{lib/directives → router-link-active}/index.d.ts +0 -1
- package/sanitize-html/README.md +3 -0
- package/scroll-top/README.md +3 -0
- package/{lib/components/scroll-top → scroll-top}/scroll-top.component.d.ts +7 -7
- package/{lib/components/scroll-top → scroll-top}/scroll-top.theme.d.ts +1 -1
- package/{lib/components/scroll-top → scroll-top}/scroll-top.theme.service.d.ts +1 -1
- package/sidebar/README.md +3 -0
- package/{lib/components/sidebar → sidebar}/index.d.ts +6 -6
- package/{lib/components/sidebar → sidebar}/sidebar-item-group.component.d.ts +3 -3
- package/{lib/components/sidebar → sidebar}/sidebar-item-group.theme.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-item-group.theme.service.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-item.component.d.ts +4 -4
- package/{lib/components/sidebar → sidebar}/sidebar-item.theme.d.ts +1 -2
- package/{lib/components/sidebar → sidebar}/sidebar-item.theme.service.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-menu.component.d.ts +2 -2
- package/{lib/components/sidebar → sidebar}/sidebar-menu.theme.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-menu.theme.service.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-page-content.component.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-page-content.theme.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-page-content.theme.service.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-toggle.component.d.ts +3 -3
- package/{lib/components/sidebar → sidebar}/sidebar-toggle.theme.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar-toggle.theme.service.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar.component.d.ts +1 -1
- package/{lib/components/sidebar → sidebar}/sidebar.theme.d.ts +1 -4
- package/{lib/components/sidebar → sidebar}/sidebar.theme.service.d.ts +1 -1
- package/{lib/utils/boolean.util.d.ts → type-definitions/flowbite.boolean.d.ts} +7 -1
- package/{lib/common/type-definitions → type-definitions}/index.d.ts +1 -0
- package/utils/README.md +3 -0
- package/{lib/utils → utils}/index.d.ts +1 -1
- package/esm2022/lib/common/flowbite.theme.init.mjs +0 -318
- package/esm2022/lib/common/index.mjs +0 -3
- package/esm2022/lib/common/type-definitions/colors/flowbite.colors.mjs +0 -2
- package/esm2022/lib/common/type-definitions/colors/flowbite.gradient-colors.mjs +0 -2
- package/esm2022/lib/common/type-definitions/colors/flowbite.gradient-duo-tone-colors.mjs +0 -2
- package/esm2022/lib/common/type-definitions/colors/index.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.boolean.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.class.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.combination.mjs +0 -5
- package/esm2022/lib/common/type-definitions/flowbite.content-positions.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.deep-partial.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.heading-levels.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.positions.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.router-link-parameter.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.sizes.mjs +0 -2
- package/esm2022/lib/common/type-definitions/flowbite.themes.mjs +0 -2
- package/esm2022/lib/common/type-definitions/index.mjs +0 -2
- package/esm2022/lib/components/accordion/accordion-content.component.mjs +0 -46
- package/esm2022/lib/components/accordion/accordion-content.theme.mjs +0 -19
- package/esm2022/lib/components/accordion/accordion-content.theme.service.mjs +0 -17
- package/esm2022/lib/components/accordion/accordion-panel.component.mjs +0 -57
- package/esm2022/lib/components/accordion/accordion-panel.theme.mjs +0 -7
- package/esm2022/lib/components/accordion/accordion-panel.theme.service.mjs +0 -17
- package/esm2022/lib/components/accordion/accordion-title.component.mjs +0 -70
- package/esm2022/lib/components/accordion/accordion-title.theme.mjs +0 -26
- package/esm2022/lib/components/accordion/accordion-title.theme.service.mjs +0 -18
- package/esm2022/lib/components/accordion/accordion.component.mjs +0 -49
- package/esm2022/lib/components/accordion/accordion.theme.mjs +0 -19
- package/esm2022/lib/components/accordion/accordion.theme.service.mjs +0 -17
- package/esm2022/lib/components/accordion/index.mjs +0 -13
- package/esm2022/lib/components/alert/alert.component.mjs +0 -99
- package/esm2022/lib/components/alert/alert.theme.mjs +0 -34
- package/esm2022/lib/components/alert/alert.theme.service.mjs +0 -18
- package/esm2022/lib/components/alert/index.mjs +0 -4
- package/esm2022/lib/components/badge/badge.component.mjs +0 -47
- package/esm2022/lib/components/badge/badge.theme.mjs +0 -34
- package/esm2022/lib/components/badge/badge.theme.service.mjs +0 -17
- package/esm2022/lib/components/badge/index.mjs +0 -4
- package/esm2022/lib/components/base-component.directive.mjs +0 -34
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.component.mjs +0 -57
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.theme.mjs +0 -18
- package/esm2022/lib/components/breadcrumb/breadcrumb-item.theme.service.mjs +0 -18
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -46
- package/esm2022/lib/components/breadcrumb/breadcrumb.theme.mjs +0 -7
- package/esm2022/lib/components/breadcrumb/breadcrumb.theme.service.mjs +0 -17
- package/esm2022/lib/components/breadcrumb/index.mjs +0 -7
- package/esm2022/lib/components/button/button.theme.mjs +0 -113
- package/esm2022/lib/components/button/button.theme.service.mjs +0 -24
- package/esm2022/lib/components/button/index.mjs +0 -4
- package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.component.mjs +0 -86
- package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.theme.mjs +0 -7
- package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.theme.service.mjs +0 -17
- package/esm2022/lib/components/dark-theme-toggle/index.mjs +0 -4
- package/esm2022/lib/components/dropdown/dropdown-divider.component.mjs +0 -34
- package/esm2022/lib/components/dropdown/dropdown-divider.theme.mjs +0 -7
- package/esm2022/lib/components/dropdown/dropdown-divider.theme.service.mjs +0 -17
- package/esm2022/lib/components/dropdown/dropdown-header.component.mjs +0 -44
- package/esm2022/lib/components/dropdown/dropdown-header.theme.mjs +0 -10
- package/esm2022/lib/components/dropdown/dropdown-header.theme.service.mjs +0 -18
- package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +0 -34
- package/esm2022/lib/components/dropdown/dropdown-item.theme.mjs +0 -6
- package/esm2022/lib/components/dropdown/dropdown-item.theme.service.mjs +0 -17
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -161
- package/esm2022/lib/components/dropdown/dropdown.theme.mjs +0 -32
- package/esm2022/lib/components/dropdown/dropdown.theme.service.mjs +0 -22
- package/esm2022/lib/components/dropdown/index.mjs +0 -13
- package/esm2022/lib/components/form-field/directives/addon.directive.mjs +0 -32
- package/esm2022/lib/components/form-field/directives/addon.directive.theme.mjs +0 -8
- package/esm2022/lib/components/form-field/directives/addon.directive.theme.service.mjs +0 -17
- package/esm2022/lib/components/form-field/directives/base-input.directive.mjs +0 -26
- package/esm2022/lib/components/form-field/directives/helper.directive.mjs +0 -34
- package/esm2022/lib/components/form-field/directives/helper.directive.theme.mjs +0 -12
- package/esm2022/lib/components/form-field/directives/helper.directive.theme.service.mjs +0 -17
- package/esm2022/lib/components/form-field/directives/icon.directive.mjs +0 -32
- package/esm2022/lib/components/form-field/directives/icon.directive.theme.mjs +0 -8
- package/esm2022/lib/components/form-field/directives/icon.directive.theme.service.mjs +0 -17
- package/esm2022/lib/components/form-field/directives/index.mjs +0 -17
- package/esm2022/lib/components/form-field/directives/input.directive.mjs +0 -41
- package/esm2022/lib/components/form-field/directives/input.directive.theme.mjs +0 -79
- package/esm2022/lib/components/form-field/directives/input.directive.theme.service.mjs +0 -24
- package/esm2022/lib/components/form-field/directives/label.directive.mjs +0 -41
- package/esm2022/lib/components/form-field/directives/label.directive.theme.mjs +0 -51
- package/esm2022/lib/components/form-field/directives/label.directive.theme.service.mjs +0 -21
- package/esm2022/lib/components/form-field/form-field.component.mjs +0 -40
- package/esm2022/lib/components/form-field/form-field.theme.mjs +0 -8
- package/esm2022/lib/components/form-field/form-field.theme.service.mjs +0 -17
- package/esm2022/lib/components/form-field/index.mjs +0 -5
- package/esm2022/lib/components/icon/icon-registry.mjs +0 -159
- package/esm2022/lib/components/icon/icon.component.mjs +0 -67
- package/esm2022/lib/components/icon/index.mjs +0 -4
- package/esm2022/lib/components/icon/trusted-types.mjs +0 -21
- package/esm2022/lib/components/index.mjs +0 -16
- package/esm2022/lib/components/indicators/index.mjs +0 -4
- package/esm2022/lib/components/indicators/indicators.component.mjs +0 -54
- package/esm2022/lib/components/indicators/indicators.theme.mjs +0 -68
- package/esm2022/lib/components/indicators/indicators.theme.service.mjs +0 -17
- package/esm2022/lib/components/modal/index.mjs +0 -13
- package/esm2022/lib/components/modal/modal-body.component.mjs +0 -34
- package/esm2022/lib/components/modal/modal-body.theme.mjs +0 -7
- package/esm2022/lib/components/modal/modal-body.theme.service.mjs +0 -17
- package/esm2022/lib/components/modal/modal-footer.component.mjs +0 -34
- package/esm2022/lib/components/modal/modal-footer.theme.mjs +0 -7
- package/esm2022/lib/components/modal/modal-footer.theme.service.mjs +0 -17
- package/esm2022/lib/components/modal/modal-header.component.mjs +0 -70
- package/esm2022/lib/components/modal/modal-header.theme.mjs +0 -13
- package/esm2022/lib/components/modal/modal-header.theme.service.mjs +0 -19
- package/esm2022/lib/components/modal/modal.component.mjs +0 -146
- package/esm2022/lib/components/modal/modal.theme.mjs +0 -33
- package/esm2022/lib/components/modal/modal.theme.service.mjs +0 -20
- package/esm2022/lib/components/navbar/index.mjs +0 -19
- package/esm2022/lib/components/navbar/navbar-brand.component.mjs +0 -34
- package/esm2022/lib/components/navbar/navbar-brand.theme.mjs +0 -7
- package/esm2022/lib/components/navbar/navbar-brand.theme.service.mjs +0 -17
- package/esm2022/lib/components/navbar/navbar-content.component.mjs +0 -45
- package/esm2022/lib/components/navbar/navbar-content.theme.mjs +0 -14
- package/esm2022/lib/components/navbar/navbar-content.theme.service.mjs +0 -18
- package/esm2022/lib/components/navbar/navbar-icon-button.component.mjs +0 -42
- package/esm2022/lib/components/navbar/navbar-icon-button.theme.mjs +0 -15
- package/esm2022/lib/components/navbar/navbar-icon-button.theme.service.mjs +0 -17
- package/esm2022/lib/components/navbar/navbar-item.component.mjs +0 -47
- package/esm2022/lib/components/navbar/navbar-item.theme.service.mjs +0 -17
- package/esm2022/lib/components/navbar/navbar-toggle.component.mjs +0 -58
- package/esm2022/lib/components/navbar/navbar-toggle.theme.mjs +0 -7
- package/esm2022/lib/components/navbar/navbar-toggle.theme.service.mjs +0 -17
- package/esm2022/lib/components/navbar/navbar.component.mjs +0 -62
- package/esm2022/lib/components/navbar/navbar.theme.mjs +0 -23
- package/esm2022/lib/components/navbar/navbar.theme.service.mjs +0 -17
- package/esm2022/lib/components/scroll-top/index.mjs +0 -4
- package/esm2022/lib/components/scroll-top/scroll-top.component.mjs +0 -54
- package/esm2022/lib/components/scroll-top/scroll-top.theme.service.mjs +0 -17
- package/esm2022/lib/components/sidebar/index.mjs +0 -19
- package/esm2022/lib/components/sidebar/sidebar-item-group.component.mjs +0 -85
- package/esm2022/lib/components/sidebar/sidebar-item-group.theme.mjs +0 -18
- package/esm2022/lib/components/sidebar/sidebar-item-group.theme.service.mjs +0 -18
- package/esm2022/lib/components/sidebar/sidebar-item.component.mjs +0 -85
- package/esm2022/lib/components/sidebar/sidebar-item.theme.mjs +0 -18
- package/esm2022/lib/components/sidebar/sidebar-item.theme.service.mjs +0 -18
- package/esm2022/lib/components/sidebar/sidebar-menu.component.mjs +0 -49
- package/esm2022/lib/components/sidebar/sidebar-menu.theme.mjs +0 -24
- package/esm2022/lib/components/sidebar/sidebar-menu.theme.service.mjs +0 -17
- package/esm2022/lib/components/sidebar/sidebar-page-content.component.mjs +0 -36
- package/esm2022/lib/components/sidebar/sidebar-page-content.theme.mjs +0 -12
- package/esm2022/lib/components/sidebar/sidebar-page-content.theme.service.mjs +0 -17
- package/esm2022/lib/components/sidebar/sidebar-toggle.component.mjs +0 -53
- package/esm2022/lib/components/sidebar/sidebar-toggle.theme.mjs +0 -18
- package/esm2022/lib/components/sidebar/sidebar-toggle.theme.service.mjs +0 -17
- package/esm2022/lib/components/sidebar/sidebar.component.mjs +0 -61
- package/esm2022/lib/components/sidebar/sidebar.theme.mjs +0 -11
- package/esm2022/lib/components/sidebar/sidebar.theme.service.mjs +0 -17
- package/esm2022/lib/directives/flowbite-router-link-active.directive.mjs +0 -51
- package/esm2022/lib/directives/flowbite-router-link.directive.mjs +0 -44
- package/esm2022/lib/directives/index.mjs +0 -3
- package/esm2022/lib/pipes/index.mjs +0 -2
- package/esm2022/lib/pipes/sanitize-html/index.mjs +0 -2
- package/esm2022/lib/pipes/sanitize-html/sanitize-html.pipe.mjs +0 -32
- package/esm2022/lib/services/flowbite.theme.service.mjs +0 -16
- package/esm2022/lib/services/index.mjs +0 -4
- package/esm2022/lib/services/signal-store.service.mjs +0 -61
- package/esm2022/lib/services/state/index.mjs +0 -2
- package/esm2022/lib/services/state/theme.state.mjs +0 -2
- package/esm2022/lib/utils/boolean.util.mjs +0 -10
- package/esm2022/lib/utils/directives/index.mjs +0 -3
- package/esm2022/lib/utils/directives/inputs/index.mjs +0 -3
- package/esm2022/lib/utils/directives/inputs/router-link-active.input.mjs +0 -8
- package/esm2022/lib/utils/directives/inputs/router-link.inputs.mjs +0 -20
- package/esm2022/lib/utils/directives/outputs/index.mjs +0 -3
- package/esm2022/lib/utils/directives/outputs/router-link-active.output.mjs +0 -8
- package/esm2022/lib/utils/directives/outputs/router-link.output.mjs +0 -8
- package/esm2022/lib/utils/icon.list.mjs +0 -39
- package/esm2022/lib/utils/id.generator.mjs +0 -81
- package/esm2022/lib/utils/index.mjs +0 -9
- package/esm2022/lib/utils/theme/clone-deep.mjs +0 -18
- package/esm2022/lib/utils/theme/create-class.mjs +0 -10
- package/esm2022/lib/utils/theme/create-theme.mjs +0 -10
- package/esm2022/lib/utils/theme/is-object.mjs +0 -10
- package/esm2022/lib/utils/theme/merge-theme.mjs +0 -27
- package/esm2022/lib/utils/theme/to-string.mjs +0 -10
- package/esm2022/public-api.mjs +0 -7
- package/lib/common/index.d.ts +0 -2
- package/lib/common/type-definitions/flowbite.boolean.d.ts +0 -7
- package/lib/components/dark-theme-toggle/index.d.ts +0 -4
- package/lib/components/form-field/directives/addon.directive.d.ts +0 -13
- package/lib/components/form-field/directives/addon.directive.theme.d.ts +0 -10
- package/lib/components/form-field/directives/addon.directive.theme.service.d.ts +0 -8
- package/lib/components/form-field/directives/base-input.directive.d.ts +0 -14
- package/lib/components/form-field/directives/helper.directive.d.ts +0 -18
- package/lib/components/form-field/directives/helper.directive.theme.d.ts +0 -13
- package/lib/components/form-field/directives/helper.directive.theme.service.d.ts +0 -8
- package/lib/components/form-field/directives/icon.directive.d.ts +0 -13
- package/lib/components/form-field/directives/icon.directive.theme.d.ts +0 -10
- package/lib/components/form-field/directives/icon.directive.theme.service.d.ts +0 -8
- package/lib/components/form-field/directives/index.d.ts +0 -21
- package/lib/components/form-field/directives/input.directive.d.ts +0 -100
- package/lib/components/form-field/directives/input.directive.theme.d.ts +0 -24
- package/lib/components/form-field/directives/input.directive.theme.service.d.ts +0 -8
- package/lib/components/form-field/directives/label.directive.d.ts +0 -62
- package/lib/components/form-field/directives/label.directive.theme.d.ts +0 -20
- package/lib/components/form-field/directives/label.directive.theme.service.d.ts +0 -8
- package/lib/components/form-field/form-field.component.d.ts +0 -20
- package/lib/components/form-field/form-field.theme.d.ts +0 -45
- package/lib/components/form-field/form-field.theme.service.d.ts +0 -8
- package/lib/components/form-field/index.d.ts +0 -5
- package/lib/components/index.d.ts +0 -15
- package/lib/pipes/index.d.ts +0 -1
- package/lib/services/index.d.ts +0 -3
- package/lib/services/signal-store.service.d.ts +0 -46
- package/lib/services/state/index.d.ts +0 -1
- package/lib/services/state/theme.state.d.ts +0 -4
- package/lib/utils/directives/index.d.ts +0 -2
- package/lib/utils/directives/inputs/index.d.ts +0 -2
- package/lib/utils/directives/inputs/router-link-active.input.d.ts +0 -8
- package/lib/utils/directives/inputs/router-link.inputs.d.ts +0 -8
- package/lib/utils/directives/outputs/index.d.ts +0 -2
- package/lib/utils/directives/outputs/router-link-active.output.d.ts +0 -8
- package/lib/utils/directives/outputs/router-link.output.d.ts +0 -8
- package/public-api.d.ts +0 -6
- /package/{lib/components/alert → alert}/index.d.ts +0 -0
- /package/{lib/components/button → button}/index.d.ts +0 -0
- /package/{lib/common → core}/flowbite.theme.init.d.ts +0 -0
- /package/{lib/components/icon → icon}/icon-registry.d.ts +0 -0
- /package/{lib/components/icon → icon}/index.d.ts +0 -0
- /package/{lib/components/icon → icon}/trusted-types.d.ts +0 -0
- /package/{lib/components/indicators → indicator}/index.d.ts +0 -0
- /package/{lib/directives → router-link}/flowbite-router-link.directive.d.ts +0 -0
- /package/{lib/directives → router-link-active}/flowbite-router-link-active.directive.d.ts +0 -0
- /package/{lib/pipes/sanitize-html → sanitize-html}/index.d.ts +0 -0
- /package/{lib/pipes/sanitize-html → sanitize-html}/sanitize-html.pipe.d.ts +0 -0
- /package/{lib/components/scroll-top → scroll-top}/index.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/colors/flowbite.colors.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/colors/flowbite.gradient-colors.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/colors/flowbite.gradient-duo-tone-colors.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/colors/index.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.class.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.combination.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.content-positions.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.deep-partial.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.heading-levels.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.positions.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.router-link-parameter.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.sizes.d.ts +0 -0
- /package/{lib/common/type-definitions → type-definitions}/flowbite.themes.d.ts +0 -0
- /package/{lib/utils → utils}/icon.list.d.ts +0 -0
- /package/{lib/utils → utils}/id.generator.d.ts +0 -0
- /package/{lib/utils → utils}/theme/clone-deep.d.ts +0 -0
- /package/{lib/utils → utils}/theme/create-class.d.ts +0 -0
- /package/{lib/utils → utils}/theme/create-theme.d.ts +0 -0
- /package/{lib/utils → utils}/theme/is-object.d.ts +0 -0
- /package/{lib/utils → utils}/theme/merge-theme.d.ts +0 -0
- /package/{lib/utils → utils}/theme/to-string.d.ts +0 -0
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export const CLOSE_SVG_ICON = `
|
|
2
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
3
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
4
|
-
d="M6 18 17.94 6M18 18 6.06 6" />
|
|
5
|
-
</svg>
|
|
6
|
-
`;
|
|
7
|
-
export const CHEVRON_UP_SVG_ICON = `
|
|
8
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
9
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m16 14-4-4-4 4" />
|
|
10
|
-
</svg>
|
|
11
|
-
`;
|
|
12
|
-
export const CHEVRON_DOWN_SVG_ICON = `
|
|
13
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
14
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m8 10 4 4 4-4" />
|
|
15
|
-
</svg>
|
|
16
|
-
`;
|
|
17
|
-
export const CHEVRON_RIGHT_SVG_ICON = `
|
|
18
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
19
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m10 16 4-4-4-4" />
|
|
20
|
-
</svg>
|
|
21
|
-
`;
|
|
22
|
-
export const SUN_SVG_ICON = `
|
|
23
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
24
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
25
|
-
d="M12 5V3m0 18v-2M7.05 7.05 5.636 5.636m12.728 12.728L16.95 16.95M5 12H3m18 0h-2M7.05 16.95l-1.414 1.414M18.364 5.636 16.95 7.05M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z" />
|
|
26
|
-
</svg>
|
|
27
|
-
`;
|
|
28
|
-
export const MOON_SVG_ICON = `
|
|
29
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
30
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
31
|
-
d="M12 21a9 9 0 0 1-.5-17.986V3c-.354.966-.5 1.911-.5 3a9 9 0 0 0 9 9c.239 0 .254.018.488 0A9.004 9.004 0 0 1 12 21Z" />
|
|
32
|
-
</svg>
|
|
33
|
-
`;
|
|
34
|
-
export const BARS_SVG_ICON = `
|
|
35
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
36
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5 7h14M5 12h14M5 17h14" />
|
|
37
|
-
</svg>
|
|
38
|
-
`;
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5saXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvdXRpbHMvaWNvbi5saXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRzs7Ozs7Q0FLN0IsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLG1CQUFtQixHQUFHOzs7O0NBSWxDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBRzs7OztDQUlwQyxDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0sc0JBQXNCLEdBQUc7Ozs7Q0FJckMsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLFlBQVksR0FBRzs7Ozs7Q0FLM0IsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRzs7Ozs7Q0FLNUIsQ0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bmVcIiB2aWV3Qm94PVwiMCAwIDI0IDI0XCI+XG4gIDxwYXRoIHN0cm9rZT1cImN1cnJlbnRDb2xvclwiIHN0cm9rZS1saW5lY2FwPVwicm91bmRcIiBzdHJva2UtbGluZWpvaW49XCJyb3VuZFwiIHN0cm9rZS13aWR0aD1cIjJcIlxuICAgIGQ9XCJNMTIgMjFhOSA5IDAgMCAxLS41LTE3Ljk4NlYzYy0uMzU0Ljk2Ni0uNSAxLjkxMS0uNSAzYTkgOSAwIDAgMCA5IDljLjIzOSAwIC4yNTQuMDE4LjQ4OCAwQTkuMDA0IDkuMDA0IDAgMCAxIDEyIDIxWlwiIC8+XG48L3N2Zz5cbmA7XG5cbmV4cG9ydCBjb25zdCBCQVJTX1NWR19JQ09OID0gYFxuPHN2ZyB4bWxucz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnXCIgZmlsbD1cIm5vbmVcIiB2aWV3Qm94PVwiMCAwIDI0IDI0XCI+XG4gIDxwYXRoIHN0cm9rZT1cImN1cnJlbnRDb2xvclwiIHN0cm9rZS1saW5lY2FwPVwicm91bmRcIiBzdHJva2Utd2lkdGg9XCIyXCIgZD1cIk01IDdoMTRNNSAxMmgxNE01IDE3aDE0XCIgLz5cbjwvc3ZnPlxuYDtcbiJdfQ==
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This class provide an implementation of Guid used as id for flowbite-angular components.
|
|
3
|
-
*
|
|
4
|
-
* @see https://gist.github.com/emptyother/1fd97db034ef848f38eca3354fa9ee90
|
|
5
|
-
*/
|
|
6
|
-
export class Guid {
|
|
7
|
-
/**
|
|
8
|
-
* If value is given and if the value is a valid Guid, then return a Guid from the string ; Otherwise or if no value is given, create a Guid class without value.
|
|
9
|
-
*
|
|
10
|
-
* @param value Guid as string if you want to get a Guid type from string
|
|
11
|
-
*/
|
|
12
|
-
constructor(value) {
|
|
13
|
-
this.value = this.empty;
|
|
14
|
-
if (value) {
|
|
15
|
-
if (Guid.isValid(value)) {
|
|
16
|
-
this.value = value;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Function that generate new Guid.
|
|
22
|
-
*
|
|
23
|
-
* @returns New Guid.
|
|
24
|
-
*/
|
|
25
|
-
static newGuid() {
|
|
26
|
-
return new Guid(crypto.randomUUID());
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Function that generate an empty Guid.
|
|
30
|
-
*
|
|
31
|
-
* @return "00000000-0000-0000-0000-000000000000".
|
|
32
|
-
*/
|
|
33
|
-
static get empty() {
|
|
34
|
-
return '00000000-0000-0000-0000-000000000000';
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Function that generate an empty Guid.
|
|
38
|
-
*
|
|
39
|
-
* @return "00000000-0000-0000-0000-000000000000".
|
|
40
|
-
*/
|
|
41
|
-
get empty() {
|
|
42
|
-
return Guid.empty;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if the provided Guid is valid.
|
|
46
|
-
*
|
|
47
|
-
* @param str The Guid to check.
|
|
48
|
-
* @returns true if the Guid is valid ; false otherwise.
|
|
49
|
-
*/
|
|
50
|
-
static isValid(str) {
|
|
51
|
-
const validRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
52
|
-
return validRegex.test(str);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* ToString base method.
|
|
56
|
-
*
|
|
57
|
-
* @returns Value as string.
|
|
58
|
-
*/
|
|
59
|
-
toString() {
|
|
60
|
-
return this.value;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* ToJson base method.
|
|
64
|
-
*
|
|
65
|
-
* @returns Value as Json compatible string.
|
|
66
|
-
*/
|
|
67
|
-
toJSON() {
|
|
68
|
-
return this.value;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Function that return a new Guid.
|
|
73
|
-
*
|
|
74
|
-
* @returns New {@link Guid}.
|
|
75
|
-
*
|
|
76
|
-
* @see `Guid`
|
|
77
|
-
*/
|
|
78
|
-
export function generateId() {
|
|
79
|
-
return Guid.newGuid();
|
|
80
|
-
}
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWQuZ2VuZXJhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvdXRpbHMvaWQuZ2VuZXJhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7O0dBSUc7QUFDSCxNQUFNLE9BQU8sSUFBSTtJQUdmOzs7O09BSUc7SUFDSCxZQUFZLEtBQWM7UUFQbEIsVUFBSyxHQUFXLElBQUksQ0FBQyxLQUFLLENBQUM7UUFRakMsSUFBSSxLQUFLLEVBQUUsQ0FBQztZQUNWLElBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDO2dCQUN4QixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztZQUNyQixDQUFDO1FBQ0gsQ0FBQztJQUNILENBQUM7SUFFRDs7OztPQUlHO0lBQ0ksTUFBTSxDQUFDLE9BQU87UUFDbkIsT0FBTyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsVUFBVSxFQUFFLENBQUMsQ0FBQztJQUN2QyxDQUFDO0lBRUQ7Ozs7T0FJRztJQUNJLE1BQU0sS0FBSyxLQUFLO1FBQ3JCLE9BQU8sc0NBQXNDLENBQUM7SUFDaEQsQ0FBQztJQUVEOzs7O09BSUc7SUFDSCxJQUFXLEtBQUs7UUFDZCxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUM7SUFDcEIsQ0FBQztJQUV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1,9 +0,0 @@
|
|
|
1
|
-
export * from './directives';
|
|
2
|
-
export { cloneDeep } from './theme/clone-deep';
|
|
3
|
-
export { createClass } from './theme/create-class';
|
|
4
|
-
export { createTheme } from './theme/create-theme';
|
|
5
|
-
export { isObject } from './theme/is-object';
|
|
6
|
-
export { mergeTheme } from './theme/merge-theme';
|
|
7
|
-
export { themeToString } from './theme/to-string';
|
|
8
|
-
export { Guid, generateId } from './id.generator';
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDL0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNuRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDN0MsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNsRCxPQUFPLEVBQUUsSUFBSSxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kaXJlY3RpdmVzJztcblxuZXhwb3J0IHsgY2xvbmVEZWVwIH0gZnJvbSAnLi90aGVtZS9jbG9uZS1kZWVwJztcbmV4cG9ydCB7IGNyZWF0ZUNsYXNzIH0gZnJvbSAnLi90aGVtZS9jcmVhdGUtY2xhc3MnO1xuZXhwb3J0IHsgY3JlYXRlVGhlbWUgfSBmcm9tICcuL3RoZW1lL2NyZWF0ZS10aGVtZSc7XG5leHBvcnQgeyBpc09iamVjdCB9IGZyb20gJy4vdGhlbWUvaXMtb2JqZWN0JztcbmV4cG9ydCB7IG1lcmdlVGhlbWUgfSBmcm9tICcuL3RoZW1lL21lcmdlLXRoZW1lJztcbmV4cG9ydCB7IHRoZW1lVG9TdHJpbmcgfSBmcm9tICcuL3RoZW1lL3RvLXN0cmluZyc7XG5leHBvcnQgeyBHdWlkLCBnZW5lcmF0ZUlkIH0gZnJvbSAnLi9pZC5nZW5lcmF0b3InO1xuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { isObject } from './is-object';
|
|
2
|
-
/**
|
|
3
|
-
* Function that return the cloned type of the provided generic type.
|
|
4
|
-
*
|
|
5
|
-
* @param source Generic object to be cloned.
|
|
6
|
-
* @returns The clone type of th eprovided type.
|
|
7
|
-
*/
|
|
8
|
-
export function cloneDeep(source) {
|
|
9
|
-
if (!isObject(source)) {
|
|
10
|
-
return source;
|
|
11
|
-
}
|
|
12
|
-
const output = {};
|
|
13
|
-
for (const key in source) {
|
|
14
|
-
output[key] = cloneDeep(source[key]);
|
|
15
|
-
}
|
|
16
|
-
return output;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvbmUtZGVlcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmxvd2JpdGUtYW5ndWxhci9zcmMvbGliL3V0aWxzL3RoZW1lL2Nsb25lLWRlZXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQ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7XG59XG4iXX0=
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function is used to create classes for component's while keeping the intellisens up for TailwindCSS and other extensions.
|
|
3
|
-
*
|
|
4
|
-
* @param input Generic type to be created.
|
|
5
|
-
* @returns The generic type's definition.
|
|
6
|
-
*/
|
|
7
|
-
export function createClass(input) {
|
|
8
|
-
return input;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvdXRpbHMvdGhlbWUvY3JlYXRlLWNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLFdBQVcsQ0FBSSxLQUFRO0lBQ3JDLE9BQU8sS0FBSyxDQUFDO0FBQ2YsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGhpcyBmdW5jdGlvbiBpcyB1c2VkIHRvIGNyZWF0ZSBjbGFzc2VzIGZvciBjb21wb25lbnQncyB3aGlsZSBrZWVwaW5nIHRoZSBpbnRlbGxpc2VucyB1cCBmb3IgVGFpbHdpbmRDU1MgYW5kIG90aGVyIGV4dGVuc2lvbnMuXG4gKlxuICogQHBhcmFtIGlucHV0IEdlbmVyaWMgdHlwZSB0byBiZSBjcmVhdGVkLlxuICogQHJldHVybnMgVGhlIGdlbmVyaWMgdHlwZSdzIGRlZmluaXRpb24uXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVDbGFzczxUPihpbnB1dDogVCkge1xuICByZXR1cm4gaW5wdXQ7XG59XG4iXX0=
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function is used to create themes for component's while keeping the intellisens up for TailwindCSS and other extensions.
|
|
3
|
-
*
|
|
4
|
-
* @param input Generic type to be created.
|
|
5
|
-
* @returns The generic type's definition.
|
|
6
|
-
*/
|
|
7
|
-
export function createTheme(input) {
|
|
8
|
-
return input;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLXRoZW1lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvdXRpbHMvdGhlbWUvY3JlYXRlLXRoZW1lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLFdBQVcsQ0FBSSxLQUFRO0lBQ3JDLE9BQU8sS0FBSyxDQUFDO0FBQ2YsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGhpcyBmdW5jdGlvbiBpcyB1c2VkIHRvIGNyZWF0ZSB0aGVtZXMgZm9yIGNvbXBvbmVudCdzIHdoaWxlIGtlZXBpbmcgdGhlIGludGVsbGlzZW5zIHVwIGZvciBUYWlsd2luZENTUyBhbmQgb3RoZXIgZXh0ZW5zaW9ucy5cbiAqXG4gKiBAcGFyYW0gaW5wdXQgR2VuZXJpYyB0eXBlIHRvIGJlIGNyZWF0ZWQuXG4gKiBAcmV0dXJucyBUaGUgZ2VuZXJpYyB0eXBlJ3MgZGVmaW5pdGlvbi5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGNyZWF0ZVRoZW1lPFQ+KGlucHV0OiBUKSB7XG4gIHJldHVybiBpbnB1dDtcbn1cbiJdfQ==
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Check if the provided parameter is an object or not.
|
|
3
|
-
*
|
|
4
|
-
* @param item The unknown type parameter.
|
|
5
|
-
* @returns true if it's an ibject ; false otherwise.
|
|
6
|
-
*/
|
|
7
|
-
export function isObject(item) {
|
|
8
|
-
return item !== null && typeof item === 'object' && item.constructor === Object;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvdXRpbHMvdGhlbWUvaXMtb2JqZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLFFBQVEsQ0FBQyxJQUFhO0lBQ3BDLE9BQU8sSUFBSSxLQUFLLElBQUksSUFBSSxPQUFPLElBQUksS0FBSyxRQUFRLElBQUksSUFBSSxDQUFDLFdBQVcsS0FBSyxNQUFNLENBQUM7QUFDbEYsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ2hlY2sgaWYgdGhlIHByb3ZpZGVkIHBhcmFtZXRlciBpcyBhbiBvYmplY3Qgb3Igbm90LlxuICpcbiAqIEBwYXJhbSBpdGVtIFRoZSB1bmtub3duIHR5cGUgcGFyYW1ldGVyLlxuICogQHJldHVybnMgdHJ1ZSBpZiBpdCdzIGFuIGliamVjdCA7IGZhbHNlIG90aGVyd2lzZS5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGlzT2JqZWN0KGl0ZW06IHVua25vd24pOiBpdGVtIGlzIFJlY29yZDxzdHJpbmcsIHVua25vd24+IHtcbiAgcmV0dXJuIGl0ZW0gIT09IG51bGwgJiYgdHlwZW9mIGl0ZW0gPT09ICdvYmplY3QnICYmIGl0ZW0uY29uc3RydWN0b3IgPT09IE9iamVjdDtcbn1cbiJdfQ==
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { cloneDeep } from './clone-deep';
|
|
2
|
-
import { isObject } from './is-object';
|
|
3
|
-
/**
|
|
4
|
-
* Merge two objects into one.
|
|
5
|
-
*
|
|
6
|
-
* @param target Object to be merged.
|
|
7
|
-
* @param source Object to be merged.
|
|
8
|
-
* @returns The merged object.
|
|
9
|
-
*/
|
|
10
|
-
export function mergeTheme(target, source) {
|
|
11
|
-
if (isObject(source) && Object.keys(source).length === 0) {
|
|
12
|
-
return cloneDeep({ ...target, ...source });
|
|
13
|
-
}
|
|
14
|
-
const output = { ...target, ...source };
|
|
15
|
-
if (isObject(source) && isObject(target)) {
|
|
16
|
-
for (const key in source) {
|
|
17
|
-
if (isObject(source[key]) && key in target && isObject(target[key])) {
|
|
18
|
-
output[key] = mergeTheme(target[key], source[key]);
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
output[key] = isObject(source[key]) ? cloneDeep(source[key]) : source[key];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return output;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVyZ2UtdGhlbWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi91dGlscy90aGVtZS9tZXJnZS10aGVtZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFdkM7Ozs7OztHQU1HO0FBQ0gsTUFBTSxVQUFVLFVBQVUsQ0FBcUMsTUFBUyxFQUFFLE1BQVM7SUFDakYsSUFBSSxRQUFRLENBQUMsTUFBTSxDQUFDLElBQUksTUFBTSxDQUFDLElBQUksQ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09iamVjdChzb3VyY2Vba2V5XSkgPyBjbG9uZURlZXAoc291cmNlW2tleV0pIDogc291cmNlW2tleV07XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgcmV0dXJuIG91dHB1dDtcbn1cbiJdfQ==
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Return theme value to an indented string.
|
|
3
|
-
*
|
|
4
|
-
* @param value The theme to be stringify.
|
|
5
|
-
* @returns The theme as string.
|
|
6
|
-
*/
|
|
7
|
-
export function themeToString(value) {
|
|
8
|
-
return JSON.stringify(value, undefined, 2);
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG8tc3RyaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvdXRpbHMvdGhlbWUvdG8tc3RyaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLGFBQWEsQ0FBQyxLQUFjO0lBQzFDLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxLQUFLLEVBQUUsU0FBUyxFQUFFLENBQUMsQ0FBQyxDQUFDO0FBQzdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJldHVybiB0aGVtZSB2YWx1ZSB0byBhbiBpbmRlbnRlZCBzdHJpbmcuXG4gKlxuICogQHBhcmFtIHZhbHVlIFRoZSB0aGVtZSB0byBiZSBzdHJpbmdpZnkuXG4gKiBAcmV0dXJucyBUaGUgdGhlbWUgYXMgc3RyaW5nLlxuICovXG5leHBvcnQgZnVuY3Rpb24gdGhlbWVUb1N0cmluZyh2YWx1ZTogdW5rbm93bik6IHN0cmluZyB7XG4gIHJldHVybiBKU09OLnN0cmluZ2lmeSh2YWx1ZSwgdW5kZWZpbmVkLCAyKTtcbn1cbiJdfQ==
|
package/esm2022/public-api.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './lib/common';
|
|
2
|
-
export * from './lib/components';
|
|
3
|
-
export * from './lib/pipes';
|
|
4
|
-
export * from './lib/services';
|
|
5
|
-
export * from './lib/utils';
|
|
6
|
-
export * from './lib/directives';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZmxvd2JpdGUtYW5ndWxhci9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2NvbW1vbic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BpcGVzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2VzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3V0aWxzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMnO1xuIl19
|
package/lib/common/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { DarkThemeToggleComponent } from './dark-theme-toggle.component';
|
|
2
|
-
export type { DarkThemeToggleProperties, DarkThemeToggleClass, DarkThemeToggleTheme } from './dark-theme-toggle.theme';
|
|
3
|
-
export { darkThemeToggleTheme } from './dark-theme-toggle.theme';
|
|
4
|
-
export { DarkThemeToggleThemeService, FLOWBITE_DARK_THEME_TOGGLE_THEME_TOKEN } from './dark-theme-toggle.theme.service';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AddonDirectiveThemeService } from './addon.directive.theme.service';
|
|
2
|
-
import { BaseInputDirective } from './base-input.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AddonDirective extends BaseInputDirective {
|
|
5
|
-
protected contentClasses: import("@angular/core").WritableSignal<import("../../../common").FlowbiteClass>;
|
|
6
|
-
protected readonly themeService: AddonDirectiveThemeService;
|
|
7
|
-
customStyle: import("@angular/core").InputSignal<{
|
|
8
|
-
base?: string | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
fetchClass(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddonDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AddonDirective, "[flowbiteAddon]", never, { "customStyle": { "alias": "customStyle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DeepPartial, FlowbiteClass } from '../../../common';
|
|
2
|
-
export interface AddonDirectiveProperties {
|
|
3
|
-
customStyle: DeepPartial<AddonDirectiveBaseTheme>;
|
|
4
|
-
}
|
|
5
|
-
export interface AddonDirectiveBaseTheme {
|
|
6
|
-
base: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const addonDirectiveTheme: AddonDirectiveBaseTheme;
|
|
9
|
-
export type AddonDirectiveClass = FlowbiteClass;
|
|
10
|
-
export declare const addonDirectiveClassInstance: AddonDirectiveClass;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { FlowbiteThemeService } from '../../../services';
|
|
2
|
-
import type { AddonDirectiveBaseTheme, AddonDirectiveClass, AddonDirectiveProperties } from './addon.directive.theme';
|
|
3
|
-
import { InjectionToken } from '@angular/core';
|
|
4
|
-
export declare const FLOWBITE_DIRECTIVE_ADDON_THEME_TOKEN: InjectionToken<AddonDirectiveBaseTheme>;
|
|
5
|
-
export declare class AddonDirectiveThemeService implements FlowbiteThemeService<AddonDirectiveProperties> {
|
|
6
|
-
private readonly baseTheme;
|
|
7
|
-
getClasses(properties: AddonDirectiveProperties): AddonDirectiveClass;
|
|
8
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FlowbiteClass } from '../../../common';
|
|
2
|
-
import { FormFieldComponent } from '../form-field.component';
|
|
3
|
-
import type { OnInit } from '@angular/core';
|
|
4
|
-
import { Injector } from '@angular/core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class BaseInputDirective implements OnInit {
|
|
7
|
-
protected contentClasses: import("@angular/core").WritableSignal<FlowbiteClass>;
|
|
8
|
-
protected readonly injector: Injector;
|
|
9
|
-
protected readonly formFieldComponent: FormFieldComponent;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
abstract fetchClass(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseInputDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseInputDirective, never, never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { FlowbiteClass } from '../../../common';
|
|
2
|
-
import { BaseInputDirective } from './base-input.directive';
|
|
3
|
-
import { HelperDirectiveThemeService } from './helper.directive.theme.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class HelperDirective extends BaseInputDirective {
|
|
6
|
-
protected contentClasses: import("@angular/core").WritableSignal<FlowbiteClass>;
|
|
7
|
-
protected readonly themeService: HelperDirectiveThemeService;
|
|
8
|
-
customStyle: import("@angular/core").InputSignal<{
|
|
9
|
-
base?: string | undefined;
|
|
10
|
-
validation?: {
|
|
11
|
-
success?: string | undefined;
|
|
12
|
-
error?: string | undefined;
|
|
13
|
-
} | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
fetchClass(): FlowbiteClass;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HelperDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HelperDirective, "[flowbiteHelper]", never, { "customStyle": { "alias": "customStyle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { DeepPartial, FlowbiteClass } from '../../../common';
|
|
2
|
-
import type { FormFieldValidations } from '../form-field.theme';
|
|
3
|
-
export interface HelperDirectiveProperties {
|
|
4
|
-
validate?: keyof FormFieldValidations;
|
|
5
|
-
customStyle: DeepPartial<HelperDirectiveBaseTheme>;
|
|
6
|
-
}
|
|
7
|
-
export interface HelperDirectiveBaseTheme {
|
|
8
|
-
base: string;
|
|
9
|
-
validation: FormFieldValidations;
|
|
10
|
-
}
|
|
11
|
-
export declare const helperDirectiveTheme: HelperDirectiveBaseTheme;
|
|
12
|
-
export type HelperDirectiveClass = FlowbiteClass;
|
|
13
|
-
export declare const helperDirectiveClassInstance: HelperDirectiveClass;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { FlowbiteThemeService } from '../../../services';
|
|
2
|
-
import type { HelperDirectiveBaseTheme, HelperDirectiveClass, HelperDirectiveProperties } from './helper.directive.theme';
|
|
3
|
-
import { InjectionToken } from '@angular/core';
|
|
4
|
-
export declare const FLOWBITE_DIRECTIVE_HELPER_THEME_TOKEN: InjectionToken<HelperDirectiveBaseTheme>;
|
|
5
|
-
export declare class HelperDirectiveThemeService implements FlowbiteThemeService<HelperDirectiveProperties> {
|
|
6
|
-
private readonly baseTheme;
|
|
7
|
-
getClasses(properties: HelperDirectiveProperties): HelperDirectiveClass;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseInputDirective } from './base-input.directive';
|
|
2
|
-
import { IconDirectiveThemeService } from './icon.directive.theme.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class IconDirective extends BaseInputDirective {
|
|
5
|
-
protected contentClasses: import("@angular/core").WritableSignal<import("../../../common").FlowbiteClass>;
|
|
6
|
-
protected readonly themeService: IconDirectiveThemeService;
|
|
7
|
-
customStyle: import("@angular/core").InputSignal<{
|
|
8
|
-
base?: string | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
fetchClass(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "[flowbiteIcon]", never, { "customStyle": { "alias": "customStyle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DeepPartial, FlowbiteClass } from '../../../common';
|
|
2
|
-
export interface IconDirectiveProperties {
|
|
3
|
-
customStyle: DeepPartial<IconDirectiveBaseTheme>;
|
|
4
|
-
}
|
|
5
|
-
export interface IconDirectiveBaseTheme {
|
|
6
|
-
base: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const iconDirectiveTheme: IconDirectiveBaseTheme;
|
|
9
|
-
export type IconDirectiveClass = FlowbiteClass;
|
|
10
|
-
export declare const iconDirectiveClassInstance: IconDirectiveClass;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { FlowbiteThemeService } from '../../../services';
|
|
2
|
-
import type { IconDirectiveBaseTheme, IconDirectiveClass, IconDirectiveProperties } from './icon.directive.theme';
|
|
3
|
-
import { InjectionToken } from '@angular/core';
|
|
4
|
-
export declare const FLOWBITE_DIRECTIVE_ICON_THEME_TOKEN: InjectionToken<IconDirectiveBaseTheme>;
|
|
5
|
-
export declare class IconDirectiveThemeService implements FlowbiteThemeService<IconDirectiveProperties> {
|
|
6
|
-
private readonly baseTheme;
|
|
7
|
-
getClasses(properties: IconDirectiveProperties): IconDirectiveClass;
|
|
8
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export { AddonDirective } from './addon.directive';
|
|
2
|
-
export type { AddonDirectiveBaseTheme, AddonDirectiveClass, AddonDirectiveProperties } from './addon.directive.theme';
|
|
3
|
-
export { addonDirectiveClassInstance, addonDirectiveTheme } from './addon.directive.theme';
|
|
4
|
-
export { AddonDirectiveThemeService, FLOWBITE_DIRECTIVE_ADDON_THEME_TOKEN } from './addon.directive.theme.service';
|
|
5
|
-
export { BaseInputDirective } from './base-input.directive';
|
|
6
|
-
export { HelperDirective } from './helper.directive';
|
|
7
|
-
export type { HelperDirectiveBaseTheme, HelperDirectiveClass, HelperDirectiveProperties, } from './helper.directive.theme';
|
|
8
|
-
export { helperDirectiveClassInstance, helperDirectiveTheme } from './helper.directive.theme';
|
|
9
|
-
export { FLOWBITE_DIRECTIVE_HELPER_THEME_TOKEN, HelperDirectiveThemeService } from './helper.directive.theme.service';
|
|
10
|
-
export { IconDirective } from './icon.directive';
|
|
11
|
-
export type { IconDirectiveBaseTheme, IconDirectiveClass, IconDirectiveProperties } from './icon.directive.theme';
|
|
12
|
-
export { iconDirectiveClassInstance, iconDirectiveTheme } from './icon.directive.theme';
|
|
13
|
-
export { FLOWBITE_DIRECTIVE_ICON_THEME_TOKEN, IconDirectiveThemeService } from './icon.directive.theme.service';
|
|
14
|
-
export { InputDirective } from './input.directive';
|
|
15
|
-
export type { InputDirectiveBaseTheme, InputDirectiveClass, InputDirectiveProperties } from './input.directive.theme';
|
|
16
|
-
export { inputDirectiveClassInstance, inputDirectiveTheme } from './input.directive.theme';
|
|
17
|
-
export { FLOWBITE_DIRECTIVE_INPUT_THEME_TOKEN, InputDirectiveThemeService } from './input.directive.theme.service';
|
|
18
|
-
export { LabelDirective } from './label.directive';
|
|
19
|
-
export type { LabelDirectiveBaseTheme, LabelDirectiveClass, LabelDirectiveProperties } from './label.directive.theme';
|
|
20
|
-
export { labelDirectiveClassInstance, labelDirectiveTheme } from './label.directive.theme';
|
|
21
|
-
export { FLOWBITE_DIRECTIVE_LABEL_THEME_TOKEN, LabelDirectiveThemeService } from './label.directive.theme.service';
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { BaseInputDirective } from './base-input.directive';
|
|
2
|
-
import { InputDirectiveThemeService } from './input.directive.theme.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class InputDirective extends BaseInputDirective {
|
|
5
|
-
protected contentClasses: import("@angular/core").WritableSignal<import("../../../common").FlowbiteClass>;
|
|
6
|
-
protected readonly themeService: InputDirectiveThemeService;
|
|
7
|
-
customStyle: import("@angular/core").InputSignal<{
|
|
8
|
-
base?: string | undefined;
|
|
9
|
-
default?: string | undefined;
|
|
10
|
-
size?: {
|
|
11
|
-
[x: string]: string | undefined;
|
|
12
|
-
sm?: string | undefined;
|
|
13
|
-
md?: string | undefined;
|
|
14
|
-
lg?: string | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
disabled?: {
|
|
17
|
-
enabled?: string | undefined;
|
|
18
|
-
disabled?: string | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
validation?: {
|
|
21
|
-
success?: string | undefined;
|
|
22
|
-
error?: string | undefined;
|
|
23
|
-
} | undefined;
|
|
24
|
-
prefix?: {
|
|
25
|
-
addon?: string | undefined;
|
|
26
|
-
icon?: string | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
floatingLabel?: {
|
|
29
|
-
outline?: {
|
|
30
|
-
disabled?: {
|
|
31
|
-
enabled?: string | undefined;
|
|
32
|
-
disabled?: string | undefined;
|
|
33
|
-
} | undefined;
|
|
34
|
-
base?: string | undefined;
|
|
35
|
-
default?: string | undefined;
|
|
36
|
-
validation?: {
|
|
37
|
-
success?: string | undefined;
|
|
38
|
-
error?: string | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
size?: {
|
|
41
|
-
[x: string]: string | undefined;
|
|
42
|
-
sm?: string | undefined;
|
|
43
|
-
md?: string | undefined;
|
|
44
|
-
lg?: string | undefined;
|
|
45
|
-
} | undefined;
|
|
46
|
-
prefix?: {
|
|
47
|
-
addon?: string | undefined;
|
|
48
|
-
icon?: string | undefined;
|
|
49
|
-
} | undefined;
|
|
50
|
-
} | undefined;
|
|
51
|
-
standard?: {
|
|
52
|
-
disabled?: {
|
|
53
|
-
enabled?: string | undefined;
|
|
54
|
-
disabled?: string | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
base?: string | undefined;
|
|
57
|
-
default?: string | undefined;
|
|
58
|
-
validation?: {
|
|
59
|
-
success?: string | undefined;
|
|
60
|
-
error?: string | undefined;
|
|
61
|
-
} | undefined;
|
|
62
|
-
size?: {
|
|
63
|
-
[x: string]: string | undefined;
|
|
64
|
-
sm?: string | undefined;
|
|
65
|
-
md?: string | undefined;
|
|
66
|
-
lg?: string | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
prefix?: {
|
|
69
|
-
addon?: string | undefined;
|
|
70
|
-
icon?: string | undefined;
|
|
71
|
-
} | undefined;
|
|
72
|
-
} | undefined;
|
|
73
|
-
fill?: {
|
|
74
|
-
disabled?: {
|
|
75
|
-
enabled?: string | undefined;
|
|
76
|
-
disabled?: string | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
base?: string | undefined;
|
|
79
|
-
default?: string | undefined;
|
|
80
|
-
validation?: {
|
|
81
|
-
success?: string | undefined;
|
|
82
|
-
error?: string | undefined;
|
|
83
|
-
} | undefined;
|
|
84
|
-
size?: {
|
|
85
|
-
[x: string]: string | undefined;
|
|
86
|
-
sm?: string | undefined;
|
|
87
|
-
md?: string | undefined;
|
|
88
|
-
lg?: string | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
prefix?: {
|
|
91
|
-
addon?: string | undefined;
|
|
92
|
-
icon?: string | undefined;
|
|
93
|
-
} | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
}>;
|
|
97
|
-
fetchClass(): void;
|
|
98
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputDirective, never>;
|
|
99
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<InputDirective, "input[flowbiteInput]", never, { "customStyle": { "alias": "customStyle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
100
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { DeepPartial } from '../../../common';
|
|
2
|
-
import type { FlowbiteBoolean } from '../../../common/type-definitions/flowbite.boolean';
|
|
3
|
-
import type { FlowbiteClass } from '../../../common/type-definitions/flowbite.class';
|
|
4
|
-
import type { FormFieldFloatingLabelTypes, FormFieldPrefixes, FormFieldSizes, FormFieldValidations } from '../form-field.theme';
|
|
5
|
-
export interface InputDirectiveProperties {
|
|
6
|
-
size: keyof FormFieldSizes;
|
|
7
|
-
disabled: keyof FlowbiteBoolean;
|
|
8
|
-
validate?: keyof FormFieldValidations;
|
|
9
|
-
floatingLabelType?: keyof FormFieldFloatingLabelTypes;
|
|
10
|
-
prefix?: keyof FormFieldPrefixes;
|
|
11
|
-
customStyle: DeepPartial<InputDirectiveBaseTheme>;
|
|
12
|
-
}
|
|
13
|
-
export interface InputDirectiveBaseTheme {
|
|
14
|
-
base: string;
|
|
15
|
-
default: string;
|
|
16
|
-
size: FormFieldSizes;
|
|
17
|
-
disabled: FlowbiteBoolean;
|
|
18
|
-
validation: FormFieldValidations;
|
|
19
|
-
prefix?: FormFieldPrefixes;
|
|
20
|
-
floatingLabel: Record<keyof FormFieldFloatingLabelTypes, Omit<InputDirectiveBaseTheme, 'floatingLabel'>>;
|
|
21
|
-
}
|
|
22
|
-
export declare const inputDirectiveTheme: InputDirectiveBaseTheme;
|
|
23
|
-
export type InputDirectiveClass = FlowbiteClass;
|
|
24
|
-
export declare const inputDirectiveClassInstance: InputDirectiveClass;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { FlowbiteThemeService } from '../../../services';
|
|
2
|
-
import type { InputDirectiveBaseTheme, InputDirectiveClass, InputDirectiveProperties } from './input.directive.theme';
|
|
3
|
-
import { InjectionToken } from '@angular/core';
|
|
4
|
-
export declare const FLOWBITE_DIRECTIVE_INPUT_THEME_TOKEN: InjectionToken<InputDirectiveBaseTheme>;
|
|
5
|
-
export declare class InputDirectiveThemeService implements FlowbiteThemeService<InputDirectiveProperties> {
|
|
6
|
-
private readonly baseTheme;
|
|
7
|
-
getClasses(properties: InputDirectiveProperties): InputDirectiveClass;
|
|
8
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { FormFieldComponent } from '../form-field.component';
|
|
2
|
-
import { BaseInputDirective } from './base-input.directive';
|
|
3
|
-
import { LabelDirectiveThemeService } from './label.directive.theme.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LabelDirective extends BaseInputDirective {
|
|
6
|
-
protected contentClasses: import("@angular/core").WritableSignal<import("../../../common").FlowbiteClass>;
|
|
7
|
-
protected readonly themeService: LabelDirectiveThemeService;
|
|
8
|
-
protected readonly for: FormFieldComponent;
|
|
9
|
-
customStyle: import("@angular/core").InputSignal<{
|
|
10
|
-
base?: string | undefined;
|
|
11
|
-
default?: string | undefined;
|
|
12
|
-
disabled?: {
|
|
13
|
-
enabled?: string | undefined;
|
|
14
|
-
disabled?: string | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
validation?: {
|
|
17
|
-
success?: string | undefined;
|
|
18
|
-
error?: string | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
floatingLabel?: {
|
|
21
|
-
outline?: {
|
|
22
|
-
disabled?: {
|
|
23
|
-
enabled?: string | undefined;
|
|
24
|
-
disabled?: string | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
base?: string | undefined;
|
|
27
|
-
default?: string | undefined;
|
|
28
|
-
validation?: {
|
|
29
|
-
success?: string | undefined;
|
|
30
|
-
error?: string | undefined;
|
|
31
|
-
} | undefined;
|
|
32
|
-
} | undefined;
|
|
33
|
-
standard?: {
|
|
34
|
-
disabled?: {
|
|
35
|
-
enabled?: string | undefined;
|
|
36
|
-
disabled?: string | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
base?: string | undefined;
|
|
39
|
-
default?: string | undefined;
|
|
40
|
-
validation?: {
|
|
41
|
-
success?: string | undefined;
|
|
42
|
-
error?: string | undefined;
|
|
43
|
-
} | undefined;
|
|
44
|
-
} | undefined;
|
|
45
|
-
fill?: {
|
|
46
|
-
disabled?: {
|
|
47
|
-
enabled?: string | undefined;
|
|
48
|
-
disabled?: string | undefined;
|
|
49
|
-
} | undefined;
|
|
50
|
-
base?: string | undefined;
|
|
51
|
-
default?: string | undefined;
|
|
52
|
-
validation?: {
|
|
53
|
-
success?: string | undefined;
|
|
54
|
-
error?: string | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
} | undefined;
|
|
58
|
-
}>;
|
|
59
|
-
fetchClass(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LabelDirective, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LabelDirective, "label[flowbiteLabel]", never, { "customStyle": { "alias": "customStyle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
62
|
-
}
|