{"version":3,"file":"flowbite-angular-table.mjs","sources":["../../../../libs/flowbite-angular/table/src/table/theme.ts","../../../../libs/flowbite-angular/table/src/config/table-config.ts","../../../../libs/flowbite-angular/table/src/table/table-state.ts","../../../../libs/flowbite-angular/table/src/table/table.component.ts","../../../../libs/flowbite-angular/table/src/table-head/theme.ts","../../../../libs/flowbite-angular/table/src/config/table-head-config.ts","../../../../libs/flowbite-angular/table/src/table-head/table-head-state.ts","../../../../libs/flowbite-angular/table/src/table-head/table-head.directive.ts","../../../../libs/flowbite-angular/table/src/table-body/theme.ts","../../../../libs/flowbite-angular/table/src/config/table-body-config.ts","../../../../libs/flowbite-angular/table/src/table-body/table-body-state.ts","../../../../libs/flowbite-angular/table/src/table-body/table-body.directive.ts","../../../../libs/flowbite-angular/table/src/table-foot/theme.ts","../../../../libs/flowbite-angular/table/src/config/table-foot-config.ts","../../../../libs/flowbite-angular/table/src/table-foot/table-foot-state.ts","../../../../libs/flowbite-angular/table/src/table-foot/table-foot.directive.ts","../../../../libs/flowbite-angular/table/src/index.ts","../../../../libs/flowbite-angular/table/src/flowbite-angular-table.ts"],"sourcesContent":["import type { ColorToTheme, FlowbiteColors } from 'flowbite-angular';\r\nimport { createTheme } from 'flowbite-angular';\r\n\r\nexport interface FlowbiteTableColors\r\n  extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {\r\n  [key: string]: ColorToTheme;\r\n}\r\n\r\nexport interface FlowbiteTableTheme {\r\n  host: FlowbiteTableHostTheme;\r\n}\r\n\r\nexport interface FlowbiteTableHostTheme {\r\n  base: string;\r\n  color: FlowbiteTableColors;\r\n}\r\n\r\nexport const flowbiteTableTheme: FlowbiteTableTheme = createTheme({\r\n  host: {\r\n    base: 'w-full text-left text-sm',\r\n    color: {\r\n      default: {\r\n        light: 'text-gray-500',\r\n        dark: 'dark:text-gray-400',\r\n      },\r\n      info: {\r\n        light: 'text-gray-500',\r\n        dark: 'dark:text-gray-400',\r\n      },\r\n      failure: {\r\n        light: 'text-gray-500',\r\n        dark: 'dark:text-gray-400',\r\n      },\r\n      success: {\r\n        light: 'text-gray-500',\r\n        dark: 'dark:text-gray-400',\r\n      },\r\n      warning: {\r\n        light: 'text-gray-500',\r\n        dark: 'dark:text-gray-400',\r\n      },\r\n      primary: {\r\n        light: 'text-gray-500',\r\n        dark: 'dark:text-gray-400',\r\n      },\r\n    },\r\n  },\r\n});\r\n","import type { FlowbiteTableColors } from '../table/theme';\r\nimport { flowbiteTableTheme, type FlowbiteTableTheme } from '../table/theme';\r\n\r\nimport type { DeepPartial } from 'flowbite-angular';\r\n\r\nimport type { Provider } from '@angular/core';\r\nimport { inject, InjectionToken } from '@angular/core';\r\n\r\nexport interface FlowbiteTableConfig {\r\n  /**\r\n   * The default theme of table\r\n   */\r\n  baseTheme: FlowbiteTableTheme;\r\n  /**\r\n   * The default color of table.\r\n   */\r\n  color: keyof FlowbiteTableColors;\r\n  /**\r\n   * Whether the table is striped.\r\n   */\r\n  striped: boolean;\r\n  /**\r\n   * The custom theme of table\r\n   */\r\n  customTheme: DeepPartial<FlowbiteTableTheme>;\r\n}\r\n\r\nexport const defaultFlowbiteTableConfig: FlowbiteTableConfig = {\r\n  baseTheme: flowbiteTableTheme,\r\n  color: 'default',\r\n  striped: false,\r\n  customTheme: {},\r\n};\r\n\r\nexport const FlowbiteTableConfigToken = new InjectionToken<FlowbiteTableConfig>(\r\n  'FlowbiteTableConfigToken'\r\n);\r\n\r\n/**\r\n * Provide the default Table configuration\r\n * @param config The Table configuration\r\n * @returns The provider\r\n */\r\nexport const provideFlowbiteTableConfig = (config: Partial<FlowbiteTableConfig>): Provider[] => [\r\n  {\r\n    provide: FlowbiteTableConfigToken,\r\n    useValue: { ...defaultFlowbiteTableConfig, ...config },\r\n  },\r\n];\r\n\r\n/**\r\n * Inject the Table configuration\r\n * @see {@link defaultFlowbiteTableConfig}\r\n * @returns The configuration\r\n */\r\nexport const injectFlowbiteTableConfig = (): FlowbiteTableConfig =>\r\n  inject(FlowbiteTableConfigToken, { optional: true }) ?? defaultFlowbiteTableConfig;\r\n","import type { Table } from './table.component';\r\n\r\nimport {\r\n  createState,\r\n  createStateInjector,\r\n  createStateProvider,\r\n  createStateToken,\r\n} from 'ng-primitives/state';\r\n\r\nexport const FlowbiteTableStateToken = createStateToken<Table>('Flowbite Table');\r\nexport const provideFlowbiteTableState = createStateProvider(FlowbiteTableStateToken);\r\nexport const injectFlowbiteTableState = createStateInjector(FlowbiteTableStateToken);\r\nexport const flowbiteTableState = createState(FlowbiteTableStateToken);\r\n","import { injectFlowbiteTableConfig } from '../config/table-config';\r\nimport { flowbiteTableState, provideFlowbiteTableState } from './table-state';\r\n\r\nimport { colorToTheme, mergeDeep } from 'flowbite-angular';\r\n\r\nimport { NgTemplateOutlet } from '@angular/common';\r\nimport type { TemplateRef } from '@angular/core';\r\nimport {\r\n  ChangeDetectionStrategy,\r\n  Component,\r\n  computed,\r\n  input,\r\n  ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { twMerge } from 'tailwind-merge';\r\n\r\n@Component({\r\n  standalone: true,\r\n  selector: `\r\n    table[flowbiteTable]\r\n  `,\r\n  exportAs: 'flowbiteTable',\r\n  hostDirectives: [],\r\n  imports: [NgTemplateOutlet],\r\n  providers: [provideFlowbiteTableState()],\r\n  host: { '[class]': `theme().host.root` },\r\n  template: `\r\n    <thead>\r\n      <ng-container [ngTemplateOutlet]=\"state.tableHead()\" />\r\n    </thead>\r\n    <tbody>\r\n      @for (record of state.data(); track $index) {\r\n        <ng-container\r\n          [ngTemplateOutlet]=\"state.tableBody()\"\r\n          [ngTemplateOutletContext]=\"{ $implicit: record }\" />\r\n      }\r\n    </tbody>\r\n    <tfoot>\r\n      <ng-container [ngTemplateOutlet]=\"state.tableFoot()\" />\r\n    </tfoot>\r\n  `,\r\n  encapsulation: ViewEncapsulation.None,\r\n  changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class Table {\r\n  readonly config = injectFlowbiteTableConfig();\r\n\r\n  readonly tableHead = input<TemplateRef<unknown>>();\r\n  readonly tableBody = input<TemplateRef<unknown>>();\r\n  readonly data = input<unknown[]>();\r\n  readonly tableFoot = input<TemplateRef<unknown>>();\r\n\r\n  /**\r\n   * @see {@link injectFlowbiteTableConfig}\r\n   */\r\n  readonly color = input(this.config.color);\r\n  /**\r\n   * @see {@link injectFlowbiteTableConfig}\r\n   */\r\n  readonly striped = input(this.config.striped);\r\n\r\n  /**\r\n   * @see {@link injectFlowbiteTableConfig}\r\n   */\r\n  readonly customTheme = input(this.config.customTheme);\r\n\r\n  readonly theme = computed(() => {\r\n    const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());\r\n\r\n    return {\r\n      host: {\r\n        root: twMerge(\r\n          mergedTheme.host.base,\r\n          colorToTheme(mergedTheme.host.color, this.state.color())\r\n        ),\r\n      },\r\n    };\r\n  });\r\n\r\n  /**\r\n   * @internal\r\n   */\r\n  readonly state = flowbiteTableState<Table>(this);\r\n}\r\n","import type { FlowbiteTableColors } from '../table/theme';\r\n\r\nimport { createTheme } from 'flowbite-angular';\r\n\r\nexport interface FlowbiteTableHeadTheme {\r\n  host: FlowbiteTableHeadHostTheme;\r\n}\r\n\r\nexport interface FlowbiteTableHeadHostTheme {\r\n  base: string;\r\n  color: FlowbiteTableColors;\r\n}\r\n\r\nexport const flowbiteTableHeadTheme: FlowbiteTableHeadTheme = createTheme({\r\n  host: {\r\n    base: 'text-xs uppercase',\r\n    color: {\r\n      default: {\r\n        light: 'bg-gray-50 text-gray-700',\r\n        dark: 'dark:bg-gray-700 dark:text-gray-400',\r\n      },\r\n      info: {\r\n        light: 'bg-blue-50 text-blue-700',\r\n        dark: 'dark:bg-blue-700 dark:text-blue-400',\r\n      },\r\n      failure: {\r\n        light: 'bg-red-50 text-red-700',\r\n        dark: 'dark:bg-red-700 dark:text-red-300',\r\n      },\r\n      success: {\r\n        light: 'bg-green-50 text-green-700',\r\n        dark: 'dark:bg-green-700 dark:text-green-400',\r\n      },\r\n      warning: {\r\n        light: 'bg-yellow-50 text-yellow-700',\r\n        dark: 'dark:bg-yellow-700 dark:text-yellow-400',\r\n      },\r\n      primary: {\r\n        light: 'bg-primary-50 text-primary-700',\r\n        dark: 'dark:bg-primary-700 dark:text-primary-300',\r\n      },\r\n    },\r\n  },\r\n});\r\n","import { flowbiteTableHeadTheme, type FlowbiteTableHeadTheme } from '../table-head/theme';\r\n\r\nimport type { DeepPartial } from 'flowbite-angular';\r\n\r\nimport type { Provider } from '@angular/core';\r\nimport { inject, InjectionToken } from '@angular/core';\r\n\r\nexport interface FlowbiteTableHeadConfig {\r\n  /**\r\n   * The default theme of table-head\r\n   */\r\n  baseTheme: FlowbiteTableHeadTheme;\r\n\r\n  /**\r\n   * The custom theme of table-head\r\n   */\r\n  customTheme: DeepPartial<FlowbiteTableHeadTheme>;\r\n}\r\n\r\nexport const defaultFlowbiteTableHeadConfig: FlowbiteTableHeadConfig = {\r\n  baseTheme: flowbiteTableHeadTheme,\r\n  customTheme: {},\r\n};\r\n\r\nexport const FlowbiteTableHeadConfigToken = new InjectionToken<FlowbiteTableHeadConfig>(\r\n  'FlowbiteTableHeadConfigToken'\r\n);\r\n\r\n/**\r\n * Provide the default TableHead configuration\r\n * @param config The TableHead configuration\r\n * @returns The provider\r\n */\r\nexport const provideFlowbiteTableHeadConfig = (\r\n  config: Partial<FlowbiteTableHeadConfig>\r\n): Provider[] => [\r\n  {\r\n    provide: FlowbiteTableHeadConfigToken,\r\n    useValue: { ...defaultFlowbiteTableHeadConfig, ...config },\r\n  },\r\n];\r\n\r\n/**\r\n * Inject the TableHead configuration\r\n * @see {@link defaultFlowbiteTableHeadConfig}\r\n * @returns The configuration\r\n */\r\nexport const injectFlowbiteTableHeadConfig = (): FlowbiteTableHeadConfig =>\r\n  inject(FlowbiteTableHeadConfigToken, { optional: true }) ?? defaultFlowbiteTableHeadConfig;\r\n","import type { TableHead } from './table-head.directive';\r\n\r\nimport {\r\n  createState,\r\n  createStateInjector,\r\n  createStateProvider,\r\n  createStateToken,\r\n} from 'ng-primitives/state';\r\n\r\nexport const FlowbiteTableHeadStateToken = createStateToken<TableHead>('Flowbite TableHead');\r\nexport const provideFlowbiteTableHeadState = createStateProvider(FlowbiteTableHeadStateToken);\r\nexport const injectFlowbiteTableHeadState = createStateInjector(FlowbiteTableHeadStateToken);\r\nexport const flowbiteTableHeadState = createState(FlowbiteTableHeadStateToken);\r\n","import { injectFlowbiteTableHeadConfig } from '../config/table-head-config';\r\nimport { injectFlowbiteTableState } from '../table/table-state';\r\nimport { flowbiteTableHeadState, provideFlowbiteTableHeadState } from './table-head-state';\r\n\r\nimport { colorToTheme, mergeDeep } from 'flowbite-angular';\r\n\r\nimport { computed, Directive, input } from '@angular/core';\r\nimport { twMerge } from 'tailwind-merge';\r\n\r\n@Directive({\r\n  standalone: true,\r\n  selector: `\r\n    tr[flowbiteTableHead]\r\n  `,\r\n  exportAs: 'flowbiteTableHead',\r\n  hostDirectives: [],\r\n  providers: [provideFlowbiteTableHeadState()],\r\n  host: { '[class]': `theme().host.root` },\r\n})\r\nexport class TableHead {\r\n  readonly config = injectFlowbiteTableHeadConfig();\r\n  readonly tableState = injectFlowbiteTableState();\r\n\r\n  /**\r\n   * @see {@link injectFlowbiteTableHeadConfig}\r\n   */\r\n  readonly customTheme = input(this.config.customTheme);\r\n\r\n  readonly theme = computed(() => {\r\n    const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());\r\n\r\n    return {\r\n      host: {\r\n        root: twMerge(\r\n          mergedTheme.host.base,\r\n          colorToTheme(mergedTheme.host.color, this.tableState().color())\r\n        ),\r\n      },\r\n    };\r\n  });\r\n\r\n  /**\r\n   * @internal\r\n   */\r\n  readonly state = flowbiteTableHeadState<TableHead>(this);\r\n}\r\n","import type { FlowbiteTableColors } from '../table/theme';\r\n\r\nimport { createTheme } from 'flowbite-angular';\r\n\r\nexport interface FlowbiteTableBodyTheme {\r\n  host: FlowbiteTableBodyHostTheme;\r\n}\r\n\r\nexport interface FlowbiteTableBodyHostTheme {\r\n  base: string;\r\n  color: FlowbiteTableColors;\r\n}\r\n\r\nexport const flowbiteTableBodyTheme: FlowbiteTableBodyTheme = createTheme({\r\n  host: {\r\n    base: 'border-b',\r\n    color: {\r\n      default: {\r\n        light: 'border-gray-200 data-striped:odd:bg-white data-striped:even:bg-gray-50',\r\n        dark: 'dark:border-gray-700 data-striped:odd:dark:bg-gray-900 data-striped:even:dark:bg-gray-800',\r\n      },\r\n      info: {\r\n        light: 'border-blue-200 data-striped:odd:bg-white data-striped:even:bg-blue-50',\r\n        dark: 'dark:border-blue-900 data-striped:odd:dark:bg-blue-950 data-striped:even:dark:bg-blue-900',\r\n      },\r\n      failure: {\r\n        light: 'border-red-200 data-striped:odd:bg-white data-striped:even:bg-red-50',\r\n        dark: 'dark:border-red-900 data-striped:odd:dark:bg-red-950 data-striped:even:dark:bg-red-900',\r\n      },\r\n      success: {\r\n        light: 'border-green-200 data-striped:odd:bg-white data-striped:even:bg-green-50',\r\n        dark: 'dark:border-green-900 data-striped:odd:dark:bg-green-950 data-striped:even:dark:bg-green-900',\r\n      },\r\n      warning: {\r\n        light: 'border-yellow-200 data-striped:odd:bg-white data-striped:even:bg-yellow-50',\r\n        dark: 'dark:border-yellow-900 data-striped:odd:dark:bg-yellow-950 data-striped:even:dark:bg-yellow-900',\r\n      },\r\n      primary: {\r\n        light: 'border-primary-200 data-striped:even:bg-primary-50 data-striped:odd:bg-white',\r\n        dark: 'dark:border-primary-900 data-striped:odd:dark:bg-primary-950 data-striped:even:dark:bg-primary-900',\r\n      },\r\n    },\r\n  },\r\n});\r\n","import { flowbiteTableBodyTheme, type FlowbiteTableBodyTheme } from '../table-body/theme';\r\n\r\nimport type { DeepPartial } from 'flowbite-angular';\r\n\r\nimport type { Provider } from '@angular/core';\r\nimport { inject, InjectionToken } from '@angular/core';\r\n\r\nexport interface FlowbiteTableBodyConfig {\r\n  /**\r\n   * The default theme of table-body\r\n   */\r\n  baseTheme: FlowbiteTableBodyTheme;\r\n\r\n  /**\r\n   * The custom theme of table-body\r\n   */\r\n  customTheme: DeepPartial<FlowbiteTableBodyTheme>;\r\n}\r\n\r\nexport const defaultFlowbiteTableBodyConfig: FlowbiteTableBodyConfig = {\r\n  baseTheme: flowbiteTableBodyTheme,\r\n  customTheme: {},\r\n};\r\n\r\nexport const FlowbiteTableBodyConfigToken = new InjectionToken<FlowbiteTableBodyConfig>(\r\n  'FlowbiteTableBodyConfigToken'\r\n);\r\n\r\n/**\r\n * Provide the default TableBody configuration\r\n * @param config The TableBody configuration\r\n * @returns The provider\r\n */\r\nexport const provideFlowbiteTableBodyConfig = (\r\n  config: Partial<FlowbiteTableBodyConfig>\r\n): Provider[] => [\r\n  {\r\n    provide: FlowbiteTableBodyConfigToken,\r\n    useValue: { ...defaultFlowbiteTableBodyConfig, ...config },\r\n  },\r\n];\r\n\r\n/**\r\n * Inject the TableBody configuration\r\n * @see {@link defaultFlowbiteTableBodyConfig}\r\n * @returns The configuration\r\n */\r\nexport const injectFlowbiteTableBodyConfig = (): FlowbiteTableBodyConfig =>\r\n  inject(FlowbiteTableBodyConfigToken, { optional: true }) ?? defaultFlowbiteTableBodyConfig;\r\n","import type { TableBody } from './table-body.directive';\r\n\r\nimport {\r\n  createState,\r\n  createStateInjector,\r\n  createStateProvider,\r\n  createStateToken,\r\n} from 'ng-primitives/state';\r\n\r\nexport const FlowbiteTableBodyStateToken = createStateToken<TableBody>('Flowbite TableBody');\r\nexport const provideFlowbiteTableBodyState = createStateProvider(FlowbiteTableBodyStateToken);\r\nexport const injectFlowbiteTableBodyState = createStateInjector(FlowbiteTableBodyStateToken);\r\nexport const flowbiteTableBodyState = createState(FlowbiteTableBodyStateToken);\r\n","import { injectFlowbiteTableBodyConfig } from '../config/table-body-config';\r\nimport { injectFlowbiteTableState } from '../table/table-state';\r\nimport { flowbiteTableBodyState, provideFlowbiteTableBodyState } from './table-body-state';\r\n\r\nimport { colorToTheme, mergeDeep } from 'flowbite-angular';\r\n\r\nimport { computed, Directive, input } from '@angular/core';\r\nimport { twMerge } from 'tailwind-merge';\r\n\r\n@Directive({\r\n  standalone: true,\r\n  selector: `\r\n    tr[flowbiteTableBody]\r\n  `,\r\n  exportAs: 'flowbiteTableBody',\r\n  hostDirectives: [],\r\n  providers: [provideFlowbiteTableBodyState()],\r\n  host: {\r\n    '[class]': `theme().host.root`,\r\n    '[attr.data-striped]': 'tableState().striped() || undefined',\r\n  },\r\n})\r\nexport class TableBody {\r\n  readonly config = injectFlowbiteTableBodyConfig();\r\n  readonly tableState = injectFlowbiteTableState();\r\n\r\n  /**\r\n   * @see {@link injectFlowbiteTableBodyConfig}\r\n   */\r\n  readonly customTheme = input(this.config.customTheme);\r\n\r\n  readonly theme = computed(() => {\r\n    const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());\r\n\r\n    return {\r\n      host: {\r\n        root: twMerge(\r\n          mergedTheme.host.base,\r\n          colorToTheme(mergedTheme.host.color, this.tableState().color())\r\n        ),\r\n      },\r\n    };\r\n  });\r\n\r\n  /**\r\n   * @internal\r\n   */\r\n  readonly state = flowbiteTableBodyState<TableBody>(this);\r\n}\r\n","import type { FlowbiteTableColors } from '../table/theme';\r\n\r\nimport { createTheme } from 'flowbite-angular';\r\n\r\nexport interface FlowbiteTableFootTheme {\r\n  host: FlowbiteTableFootHostTheme;\r\n}\r\n\r\nexport interface FlowbiteTableFootHostTheme {\r\n  base: string;\r\n  color: FlowbiteTableColors;\r\n}\r\n\r\nexport const flowbiteTableFootTheme: FlowbiteTableFootTheme = createTheme({\r\n  host: {\r\n    base: 'font-semibold',\r\n    color: {\r\n      default: {\r\n        light: 'text-gray-900',\r\n        dark: 'dark:text-white',\r\n      },\r\n      info: {\r\n        light: 'text-gray-900',\r\n        dark: 'dark:text-white',\r\n      },\r\n      failure: {\r\n        light: 'text-gray-900',\r\n        dark: 'dark:text-white',\r\n      },\r\n      success: {\r\n        light: 'text-gray-900',\r\n        dark: 'dark:text-white',\r\n      },\r\n      warning: {\r\n        light: 'text-gray-900',\r\n        dark: 'dark:text-white',\r\n      },\r\n      primary: {\r\n        light: 'text-gray-900',\r\n        dark: 'dark:text-white',\r\n      },\r\n    },\r\n  },\r\n});\r\n","import { flowbiteTableFootTheme, type FlowbiteTableFootTheme } from '../table-foot/theme';\r\n\r\nimport type { DeepPartial } from 'flowbite-angular';\r\n\r\nimport type { Provider } from '@angular/core';\r\nimport { inject, InjectionToken } from '@angular/core';\r\n\r\nexport interface FlowbiteTableFootConfig {\r\n  /**\r\n   * The default theme of table-foot\r\n   */\r\n  baseTheme: FlowbiteTableFootTheme;\r\n\r\n  /**\r\n   * The custom theme of table-foot\r\n   */\r\n  customTheme: DeepPartial<FlowbiteTableFootTheme>;\r\n}\r\n\r\nexport const defaultFlowbiteTableFootConfig: FlowbiteTableFootConfig = {\r\n  baseTheme: flowbiteTableFootTheme,\r\n  customTheme: {},\r\n};\r\n\r\nexport const FlowbiteTableFootConfigToken = new InjectionToken<FlowbiteTableFootConfig>(\r\n  'FlowbiteTableFootConfigToken'\r\n);\r\n\r\n/**\r\n * Provide the default TableFoot configuration\r\n * @param config The TableFoot configuration\r\n * @returns The provider\r\n */\r\nexport const provideFlowbiteTableFootConfig = (\r\n  config: Partial<FlowbiteTableFootConfig>\r\n): Provider[] => [\r\n  {\r\n    provide: FlowbiteTableFootConfigToken,\r\n    useValue: { ...defaultFlowbiteTableFootConfig, ...config },\r\n  },\r\n];\r\n\r\n/**\r\n * Inject the TableFoot configuration\r\n * @see {@link defaultFlowbiteTableFootConfig}\r\n * @returns The configuration\r\n */\r\nexport const injectFlowbiteTableFootConfig = (): FlowbiteTableFootConfig =>\r\n  inject(FlowbiteTableFootConfigToken, { optional: true }) ?? defaultFlowbiteTableFootConfig;\r\n","import type { TableFoot } from './table-foot.directive';\r\n\r\nimport {\r\n  createState,\r\n  createStateInjector,\r\n  createStateProvider,\r\n  createStateToken,\r\n} from 'ng-primitives/state';\r\n\r\nexport const FlowbiteTableFootStateToken = createStateToken<TableFoot>('Flowbite TableFoot');\r\nexport const provideFlowbiteTableFootState = createStateProvider(FlowbiteTableFootStateToken);\r\nexport const injectFlowbiteTableFootState = createStateInjector(FlowbiteTableFootStateToken);\r\nexport const flowbiteTableFootState = createState(FlowbiteTableFootStateToken);\r\n","import { injectFlowbiteTableFootConfig } from '../config/table-foot-config';\r\nimport { injectFlowbiteTableState } from '../table/table-state';\r\nimport { flowbiteTableFootState, provideFlowbiteTableFootState } from './table-foot-state';\r\n\r\nimport { colorToTheme, mergeDeep } from 'flowbite-angular';\r\n\r\nimport { computed, Directive, input } from '@angular/core';\r\nimport { twMerge } from 'tailwind-merge';\r\n\r\n@Directive({\r\n  standalone: true,\r\n  selector: `\r\n    tr[flowbiteTableFoot]\r\n  `,\r\n  exportAs: 'flowbiteTableFoot',\r\n  hostDirectives: [],\r\n  providers: [provideFlowbiteTableFootState()],\r\n  host: { '[class]': `theme().host.root` },\r\n})\r\nexport class TableFoot {\r\n  readonly config = injectFlowbiteTableFootConfig();\r\n  readonly tableState = injectFlowbiteTableState();\r\n\r\n  /**\r\n   * @see {@link injectFlowbiteTableFootConfig}\r\n   */\r\n  readonly customTheme = input(this.config.customTheme);\r\n\r\n  readonly theme = computed(() => {\r\n    const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());\r\n\r\n    return {\r\n      host: {\r\n        root: twMerge(\r\n          mergedTheme.host.base,\r\n          colorToTheme(mergedTheme.host.color, this.tableState().color())\r\n        ),\r\n      },\r\n    };\r\n  });\r\n\r\n  /**\r\n   * @internal\r\n   */\r\n  readonly state = flowbiteTableFootState<TableFoot>(this);\r\n}\r\n","/* Table */\r\nexport * from './table/table.component';\r\nexport * from './table/table-state';\r\nexport * from './table/theme';\r\n/* Config */\r\nexport * from './config/table-config';\r\n\r\n/* TableHead */\r\nexport * from './table-head/table-head.directive';\r\nexport * from './table-head/table-head-state';\r\nexport * from './table-head/theme';\r\n/* Config */\r\nexport * from './config/table-head-config';\r\n\r\n/* TableBody */\r\nexport * from './table-body/table-body.directive';\r\nexport * from './table-body/table-body-state';\r\nexport * from './table-body/theme';\r\n/* Config */\r\nexport * from './config/table-body-config';\r\n\r\n/* TableFoot */\r\nexport * from './table-foot/table-foot.directive';\r\nexport * from './table-foot/table-foot-state';\r\nexport * from './table-foot/theme';\r\n/* Config */\r\nexport * from './config/table-foot-config';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAiBO,MAAM,kBAAkB,GAAuB,WAAW,CAAC;AAChE,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE,0BAA0B;AAChC,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE;AACP,gBAAA,KAAK,EAAE,eAAe;AACtB,gBAAA,IAAI,EAAE,oBAAoB;AAC3B,aAAA;AACD,YAAA,IAAI,EAAE;AACJ,gBAAA,KAAK,EAAE,eAAe;AACtB,gBAAA,IAAI,EAAE,oBAAoB;AAC3B,aAAA;AACD,YAAA,OAAO,EAAE;AACP,gBAAA,KAAK,EAAE,eAAe;AACtB,gBAAA,IAAI,EAAE,oBAAoB;AAC3B,aAAA;AACD,YAAA,OAAO,EAAE;AACP,gBAAA,KAAK,EAAE,eAAe;AACtB,gBAAA,IAAI,EAAE,oBAAoB;AAC3B,aAAA;AACD,YAAA,OAAO,EAAE;AACP,gBAAA,KAAK,EAAE,eAAe;AACtB,gBAAA,IAAI,EAAE,oBAAoB;AAC3B,aAAA;AACD,YAAA,OAAO,EAAE;AACP,gBAAA,KAAK,EAAE,eAAe;AACtB,gBAAA,IAAI,EAAE,oBAAoB;AAC3B,aAAA;AACF,SAAA;AACF,KAAA;AACF,CAAA;;ACpBM,MAAM,0BAA0B,GAAwB;AAC7D,IAAA,SAAS,EAAE,kBAAkB;AAC7B,IAAA,KAAK,EAAE,SAAS;AAChB,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,WAAW,EAAE,EAAE;;MAGJ,wBAAw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