@bsginstitute/bsg-integra 0.0.4 → 0.0.6
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/.claude/settings.local.json +5 -0
- package/bsginstitute-bsg-integra-0.0.4.tgz +0 -0
- package/bsginstitute-bsg-integra-0.0.6.tgz +0 -0
- package/fesm2022/bsginstitute-bsg-integra.mjs +3194 -22
- package/fesm2022/bsginstitute-bsg-integra.mjs.map +1 -1
- package/index.d.ts +755 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, ElementRef, AfterContentInit, ChangeDetectorRef, AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { OnInit, ElementRef, AfterContentInit, ChangeDetectorRef, AfterViewInit, OnDestroy, TemplateRef, EventEmitter } from '@angular/core';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
@@ -1098,7 +1098,7 @@ declare class RadioComponent {
|
|
|
1098
1098
|
readonly innerClasses: _angular_core.Signal<string>;
|
|
1099
1099
|
readonly outerSize: _angular_core.Signal<20 | 16>;
|
|
1100
1100
|
readonly innerSize: _angular_core.Signal<14 | 10>;
|
|
1101
|
-
readonly focusRingSize: _angular_core.Signal<
|
|
1101
|
+
readonly focusRingSize: _angular_core.Signal<26 | 22>;
|
|
1102
1102
|
readonly outerCircleClasses: _angular_core.Signal<"stroke-muted-foreground fill-muted-foreground" | "stroke-primary/70 fill-none" | "stroke-primary fill-none" | "stroke-muted-foreground fill-none">;
|
|
1103
1103
|
handleClick(): void;
|
|
1104
1104
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
@@ -2219,6 +2219,757 @@ declare class SwitchComponent {
|
|
|
2219
2219
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "bsg-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "checkedChange": "checkedChange"; }, never, never, true, never>;
|
|
2220
2220
|
}
|
|
2221
2221
|
|
|
2222
|
+
/**
|
|
2223
|
+
* Tabs Root Component
|
|
2224
|
+
*
|
|
2225
|
+
* The root container for a set of tabs. Manages the active tab state.
|
|
2226
|
+
*
|
|
2227
|
+
* Usage:
|
|
2228
|
+
* ```html
|
|
2229
|
+
* <bsg-tabs [defaultValue]="0" (valueChange)="onTabChange($event)">
|
|
2230
|
+
* <bsg-tabs-list>
|
|
2231
|
+
* <bsg-tabs-trigger [value]="0">Tab 1</bsg-tabs-trigger>
|
|
2232
|
+
* <bsg-tabs-trigger [value]="1">Tab 2</bsg-tabs-trigger>
|
|
2233
|
+
* </bsg-tabs-list>
|
|
2234
|
+
* <bsg-tabs-content [value]="0">Content 1</bsg-tabs-content>
|
|
2235
|
+
* <bsg-tabs-content [value]="1">Content 2</bsg-tabs-content>
|
|
2236
|
+
* </bsg-tabs>
|
|
2237
|
+
* ```
|
|
2238
|
+
*/
|
|
2239
|
+
declare class TabsComponent {
|
|
2240
|
+
/** Default active tab value */
|
|
2241
|
+
readonly defaultValue: _angular_core.InputSignal<string | number>;
|
|
2242
|
+
/** Additional CSS classes */
|
|
2243
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2244
|
+
/** Controlled value (if you want to control the tab from outside) */
|
|
2245
|
+
readonly value: _angular_core.InputSignal<string | number | null>;
|
|
2246
|
+
/** Event emitted when tab changes */
|
|
2247
|
+
readonly valueChange: _angular_core.OutputEmitterRef<string | number>;
|
|
2248
|
+
private readonly _internalValue;
|
|
2249
|
+
readonly activeValue: _angular_core.Signal<string | number>;
|
|
2250
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2251
|
+
/**
|
|
2252
|
+
* Set the active tab value
|
|
2253
|
+
*/
|
|
2254
|
+
setValue(value: number | string): void;
|
|
2255
|
+
/**
|
|
2256
|
+
* Get the current active tab value
|
|
2257
|
+
*/
|
|
2258
|
+
getValue(): number | string;
|
|
2259
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
2260
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "bsg-tabs", never, { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, ["*"], true, never>;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
type TabSize = 'sm' | 'md' | 'lg';
|
|
2264
|
+
type TabVariant = 'text' | 'icon-text';
|
|
2265
|
+
type TabLayout = 'default' | 'carousel';
|
|
2266
|
+
type TabColor = 'default' | 'info' | 'success' | 'warning' | 'destructive';
|
|
2267
|
+
/**
|
|
2268
|
+
* Tab Navigation container variants
|
|
2269
|
+
*
|
|
2270
|
+
* Controls the overall tab navigation container layout
|
|
2271
|
+
*/
|
|
2272
|
+
declare const tabNavigationVariants: (props?: ({
|
|
2273
|
+
layout?: "default" | "carousel" | null | undefined;
|
|
2274
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2275
|
+
/**
|
|
2276
|
+
* Tab Item variants
|
|
2277
|
+
*
|
|
2278
|
+
* Controls the individual tab button styles with size, variant, and color combinations
|
|
2279
|
+
*/
|
|
2280
|
+
declare const tabItemVariants: (props?: ({
|
|
2281
|
+
variant?: "text" | "icon-text" | null | undefined;
|
|
2282
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2283
|
+
color?: "default" | "info" | "success" | "warning" | "destructive" | null | undefined;
|
|
2284
|
+
disabled?: boolean | null | undefined;
|
|
2285
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2286
|
+
/**
|
|
2287
|
+
* Tab Icon Circle variants
|
|
2288
|
+
*
|
|
2289
|
+
* Controls the circular icon container in icon-text variant
|
|
2290
|
+
*/
|
|
2291
|
+
declare const tabIconCircleVariants: (props?: ({
|
|
2292
|
+
color?: "default" | "info" | "success" | "warning" | "destructive" | null | undefined;
|
|
2293
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2294
|
+
/**
|
|
2295
|
+
* Tab Icon Content variants
|
|
2296
|
+
*
|
|
2297
|
+
* Controls the icon + label container layout
|
|
2298
|
+
*/
|
|
2299
|
+
declare const tabIconContentVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2300
|
+
/**
|
|
2301
|
+
* Tab Label variants
|
|
2302
|
+
*
|
|
2303
|
+
* Controls the label text in icon-text variant
|
|
2304
|
+
*/
|
|
2305
|
+
declare const tabLabelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2306
|
+
/**
|
|
2307
|
+
* Tab Text Content variants
|
|
2308
|
+
*
|
|
2309
|
+
* Controls the text content in text variant
|
|
2310
|
+
*/
|
|
2311
|
+
declare const tabTextContentVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* Tabs List Component
|
|
2315
|
+
*
|
|
2316
|
+
* Container for tab triggers. This is where you place your bsg-tabs-trigger components.
|
|
2317
|
+
*
|
|
2318
|
+
* Usage:
|
|
2319
|
+
* ```html
|
|
2320
|
+
* <bsg-tabs-list>
|
|
2321
|
+
* <bsg-tabs-trigger [value]="0">Tab 1</bsg-tabs-trigger>
|
|
2322
|
+
* <bsg-tabs-trigger [value]="1">Tab 2</bsg-tabs-trigger>
|
|
2323
|
+
* </bsg-tabs-list>
|
|
2324
|
+
* ```
|
|
2325
|
+
*
|
|
2326
|
+
* Carousel layout with navigation buttons:
|
|
2327
|
+
* ```html
|
|
2328
|
+
* <bsg-tabs-list layout="carousel">
|
|
2329
|
+
* <bsg-tabs-trigger [value]="0">Tab 1</bsg-tabs-trigger>
|
|
2330
|
+
* <bsg-tabs-trigger [value]="1">Tab 2</bsg-tabs-trigger>
|
|
2331
|
+
* <!-- Many more tabs... -->
|
|
2332
|
+
* </bsg-tabs-list>
|
|
2333
|
+
* ```
|
|
2334
|
+
*/
|
|
2335
|
+
declare class TabsListComponent implements AfterViewInit, OnDestroy {
|
|
2336
|
+
/** Layout mode: default (wraps) or carousel (scrolls horizontally) */
|
|
2337
|
+
readonly layout: _angular_core.InputSignal<TabLayout>;
|
|
2338
|
+
/** Additional CSS classes */
|
|
2339
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2340
|
+
readonly scrollContainer: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
2341
|
+
readonly canScrollLeft: _angular_core.WritableSignal<boolean>;
|
|
2342
|
+
readonly canScrollRight: _angular_core.WritableSignal<boolean>;
|
|
2343
|
+
private resizeObserver;
|
|
2344
|
+
constructor();
|
|
2345
|
+
ngAfterViewInit(): void;
|
|
2346
|
+
ngOnDestroy(): void;
|
|
2347
|
+
private setupResizeObserver;
|
|
2348
|
+
readonly isCarousel: _angular_core.Signal<boolean>;
|
|
2349
|
+
readonly containerClasses: _angular_core.Signal<string>;
|
|
2350
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2351
|
+
scrollLeft(): void;
|
|
2352
|
+
scrollRight(): void;
|
|
2353
|
+
onScroll(): void;
|
|
2354
|
+
private updateScrollButtons;
|
|
2355
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsListComponent, never>;
|
|
2356
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsListComponent, "bsg-tabs-list", never, { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
type TabsTriggerVariantsProps = VariantProps<typeof tabItemVariants>;
|
|
2360
|
+
/**
|
|
2361
|
+
* Tabs Trigger Component
|
|
2362
|
+
*
|
|
2363
|
+
* A clickable tab that activates its associated content panel.
|
|
2364
|
+
*
|
|
2365
|
+
* Usage for text variant:
|
|
2366
|
+
* ```html
|
|
2367
|
+
* <bsg-tabs-trigger [value]="0">
|
|
2368
|
+
* Tab Label
|
|
2369
|
+
* </bsg-tabs-trigger>
|
|
2370
|
+
* ```
|
|
2371
|
+
*
|
|
2372
|
+
* Usage for icon-text variant:
|
|
2373
|
+
* ```html
|
|
2374
|
+
* <bsg-tabs-trigger [value]="0" variant="icon-text">
|
|
2375
|
+
* <svg slot="icon">...</svg>
|
|
2376
|
+
* <span slot="label">Tab Label</span>
|
|
2377
|
+
* </bsg-tabs-trigger>
|
|
2378
|
+
* ```
|
|
2379
|
+
*/
|
|
2380
|
+
declare class TabsTriggerComponent {
|
|
2381
|
+
private readonly tabs;
|
|
2382
|
+
/** The value that identifies this tab */
|
|
2383
|
+
readonly value: _angular_core.InputSignal<string | number>;
|
|
2384
|
+
/** Tab visual variant */
|
|
2385
|
+
readonly variant: _angular_core.InputSignal<TabVariant>;
|
|
2386
|
+
/** Tab size variant */
|
|
2387
|
+
readonly size: _angular_core.InputSignal<TabSize>;
|
|
2388
|
+
/** Tab color scheme */
|
|
2389
|
+
readonly color: _angular_core.InputSignal<TabColor>;
|
|
2390
|
+
/** Whether the tab is disabled */
|
|
2391
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2392
|
+
/** Additional CSS classes */
|
|
2393
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2394
|
+
readonly isActive: _angular_core.Signal<boolean>;
|
|
2395
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2396
|
+
readonly iconContentClasses: _angular_core.Signal<string>;
|
|
2397
|
+
readonly iconCircleClasses: _angular_core.Signal<string>;
|
|
2398
|
+
readonly labelClasses: _angular_core.Signal<string>;
|
|
2399
|
+
readonly textContentClasses: _angular_core.Signal<string>;
|
|
2400
|
+
handleClick(): void;
|
|
2401
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsTriggerComponent, never>;
|
|
2402
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsTriggerComponent, "bsg-tabs-trigger", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["[slot='icon']", "[slot='label']", "*"], true, never>;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* Tabs Content Component
|
|
2407
|
+
*
|
|
2408
|
+
* A container for tab panel content. Only displays when its value matches the active tab.
|
|
2409
|
+
*
|
|
2410
|
+
* Usage:
|
|
2411
|
+
* ```html
|
|
2412
|
+
* <bsg-tabs-content [value]="0">
|
|
2413
|
+
* <p>Content for tab 0</p>
|
|
2414
|
+
* </bsg-tabs-content>
|
|
2415
|
+
* ```
|
|
2416
|
+
*/
|
|
2417
|
+
declare class TabsContentComponent {
|
|
2418
|
+
private readonly tabs;
|
|
2419
|
+
/** The value that identifies which tab this content belongs to */
|
|
2420
|
+
readonly value: _angular_core.InputSignal<string | number>;
|
|
2421
|
+
/** Additional CSS classes */
|
|
2422
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2423
|
+
readonly isActive: _angular_core.Signal<boolean>;
|
|
2424
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2425
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsContentComponent, never>;
|
|
2426
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsContentComponent, "bsg-tabs-content", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
/**
|
|
2430
|
+
* Directive to mark content that should be projected into a specific tab panel
|
|
2431
|
+
*
|
|
2432
|
+
* Usage:
|
|
2433
|
+
* ```html
|
|
2434
|
+
* <bsg-tab-navigation [tabs]="tabs">
|
|
2435
|
+
* <ng-template bsgTabContent>Content for tab 0</ng-template>
|
|
2436
|
+
* <ng-template bsgTabContent>Content for tab 1</ng-template>
|
|
2437
|
+
* </bsg-tab-navigation>
|
|
2438
|
+
* ```
|
|
2439
|
+
*/
|
|
2440
|
+
declare class TabContentDirective {
|
|
2441
|
+
template: TemplateRef<unknown>;
|
|
2442
|
+
constructor(template: TemplateRef<unknown>);
|
|
2443
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabContentDirective, never>;
|
|
2444
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TabContentDirective, "[bsgTabContent]", never, {}, {}, never, never, true, never>;
|
|
2445
|
+
}
|
|
2446
|
+
interface TabItem {
|
|
2447
|
+
label: string;
|
|
2448
|
+
count?: number;
|
|
2449
|
+
icon?: boolean;
|
|
2450
|
+
}
|
|
2451
|
+
/**
|
|
2452
|
+
* Tab Navigation Component
|
|
2453
|
+
*
|
|
2454
|
+
* A tabbed navigation component with support for text and icon-text variants.
|
|
2455
|
+
* Follows the shadcn/ui tabs pattern with separated TabsList and TabsContent.
|
|
2456
|
+
*
|
|
2457
|
+
* Usage:
|
|
2458
|
+
* ```html
|
|
2459
|
+
* <bsg-tab-navigation
|
|
2460
|
+
* [tabs]="tabs"
|
|
2461
|
+
* [variant]="'text'"
|
|
2462
|
+
* [size]="'md'"
|
|
2463
|
+
* [color]="'default'"
|
|
2464
|
+
* [activeIndex]="0"
|
|
2465
|
+
* (tabChange)="onTabChange($event)"
|
|
2466
|
+
* >
|
|
2467
|
+
* <ng-template bsgTabContent>Content for first tab</ng-template>
|
|
2468
|
+
* <ng-template bsgTabContent>Content for second tab</ng-template>
|
|
2469
|
+
* </bsg-tab-navigation>
|
|
2470
|
+
* ```
|
|
2471
|
+
*/
|
|
2472
|
+
declare class TabNavigationComponent {
|
|
2473
|
+
/** Tab size variant */
|
|
2474
|
+
readonly size: _angular_core.InputSignal<TabSize>;
|
|
2475
|
+
/** Tab visual variant */
|
|
2476
|
+
readonly variant: _angular_core.InputSignal<TabVariant>;
|
|
2477
|
+
/** Tab color scheme */
|
|
2478
|
+
readonly color: _angular_core.InputSignal<TabColor>;
|
|
2479
|
+
/** Whether all tabs are disabled */
|
|
2480
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2481
|
+
/** List of tab items */
|
|
2482
|
+
readonly tabs: _angular_core.InputSignal<TabItem[]>;
|
|
2483
|
+
/** Active tab index */
|
|
2484
|
+
readonly activeIndex: _angular_core.InputSignal<number>;
|
|
2485
|
+
/** Additional CSS classes for container */
|
|
2486
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2487
|
+
/** Tab change event */
|
|
2488
|
+
readonly tabChange: _angular_core.OutputEmitterRef<number>;
|
|
2489
|
+
/** Content children (tab content templates) */
|
|
2490
|
+
readonly tabContents: _angular_core.Signal<readonly TabContentDirective[]>;
|
|
2491
|
+
private readonly _activeIndex;
|
|
2492
|
+
readonly internalActiveIndex: _angular_core.Signal<number>;
|
|
2493
|
+
readonly containerClasses: _angular_core.Signal<string>;
|
|
2494
|
+
readonly tabsListClasses: _angular_core.Signal<string>;
|
|
2495
|
+
readonly tabContentClasses: _angular_core.Signal<string>;
|
|
2496
|
+
readonly iconContentClasses: _angular_core.Signal<string>;
|
|
2497
|
+
readonly labelClasses: _angular_core.Signal<string>;
|
|
2498
|
+
readonly textContentClasses: _angular_core.Signal<string>;
|
|
2499
|
+
getTabClasses(index: number): string;
|
|
2500
|
+
getIconCircleClasses(): string;
|
|
2501
|
+
getIconStroke(_index: number): string;
|
|
2502
|
+
handleTabClick(index: number): void;
|
|
2503
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabNavigationComponent, never>;
|
|
2504
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabNavigationComponent, "bsg-tab-navigation", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tabs": { "alias": "tabs"; "required": false; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, { "tabChange": "tabChange"; }, ["tabContents"], never, true, never>;
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* Table Component
|
|
2509
|
+
*
|
|
2510
|
+
* A responsive table wrapper with semantic HTML table element.
|
|
2511
|
+
* Follows shadcn/ui table structure.
|
|
2512
|
+
*
|
|
2513
|
+
* Usage:
|
|
2514
|
+
* ```html
|
|
2515
|
+
* <bsg-table>
|
|
2516
|
+
* <bsg-table-caption>A list of your recent invoices.</bsg-table-caption>
|
|
2517
|
+
* <bsg-table-header>
|
|
2518
|
+
* <bsg-table-row>
|
|
2519
|
+
* <bsg-table-head>Invoice</bsg-table-head>
|
|
2520
|
+
* <bsg-table-head>Status</bsg-table-head>
|
|
2521
|
+
* </bsg-table-row>
|
|
2522
|
+
* </bsg-table-header>
|
|
2523
|
+
* <bsg-table-body>
|
|
2524
|
+
* <bsg-table-row>
|
|
2525
|
+
* <bsg-table-cell>INV001</bsg-table-cell>
|
|
2526
|
+
* <bsg-table-cell>Paid</bsg-table-cell>
|
|
2527
|
+
* </bsg-table-row>
|
|
2528
|
+
* </bsg-table-body>
|
|
2529
|
+
* </bsg-table>
|
|
2530
|
+
* ```
|
|
2531
|
+
*/
|
|
2532
|
+
declare class TableComponent {
|
|
2533
|
+
/** Additional CSS classes for wrapper */
|
|
2534
|
+
readonly wrapperClassName: _angular_core.InputSignal<string | undefined>;
|
|
2535
|
+
/** Additional CSS classes for table */
|
|
2536
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2537
|
+
readonly wrapperClasses: _angular_core.Signal<string>;
|
|
2538
|
+
readonly tableClasses: _angular_core.Signal<string>;
|
|
2539
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
2540
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent, "bsg-table", never, { "wrapperClassName": { "alias": "wrapperClassName"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* Table Header Component
|
|
2545
|
+
*
|
|
2546
|
+
* Wraps table header rows (thead element).
|
|
2547
|
+
*
|
|
2548
|
+
* Usage:
|
|
2549
|
+
* ```html
|
|
2550
|
+
* <bsg-table-header>
|
|
2551
|
+
* <bsg-table-row>
|
|
2552
|
+
* <bsg-table-head>Column 1</bsg-table-head>
|
|
2553
|
+
* <bsg-table-head>Column 2</bsg-table-head>
|
|
2554
|
+
* </bsg-table-row>
|
|
2555
|
+
* </bsg-table-header>
|
|
2556
|
+
* ```
|
|
2557
|
+
*/
|
|
2558
|
+
declare class TableHeaderComponent {
|
|
2559
|
+
/** Additional CSS classes */
|
|
2560
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2561
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2562
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
|
|
2563
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableHeaderComponent, "bsg-table-header", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2564
|
+
}
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* Table Body Component
|
|
2568
|
+
*
|
|
2569
|
+
* Wraps table body rows (tbody element).
|
|
2570
|
+
*
|
|
2571
|
+
* Usage:
|
|
2572
|
+
* ```html
|
|
2573
|
+
* <bsg-table-body>
|
|
2574
|
+
* <bsg-table-row>
|
|
2575
|
+
* <bsg-table-cell>Cell 1</bsg-table-cell>
|
|
2576
|
+
* <bsg-table-cell>Cell 2</bsg-table-cell>
|
|
2577
|
+
* </bsg-table-row>
|
|
2578
|
+
* </bsg-table-body>
|
|
2579
|
+
* ```
|
|
2580
|
+
*/
|
|
2581
|
+
declare class TableBodyComponent {
|
|
2582
|
+
/** Additional CSS classes */
|
|
2583
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2584
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2585
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableBodyComponent, never>;
|
|
2586
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableBodyComponent, "bsg-table-body", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
2590
|
+
* Table Footer Component
|
|
2591
|
+
*
|
|
2592
|
+
* Wraps table footer rows (tfoot element).
|
|
2593
|
+
*
|
|
2594
|
+
* Usage:
|
|
2595
|
+
* ```html
|
|
2596
|
+
* <bsg-table-footer>
|
|
2597
|
+
* <bsg-table-row>
|
|
2598
|
+
* <bsg-table-cell colSpan="3">Total</bsg-table-cell>
|
|
2599
|
+
* <bsg-table-cell>$2,500.00</bsg-table-cell>
|
|
2600
|
+
* </bsg-table-row>
|
|
2601
|
+
* </bsg-table-footer>
|
|
2602
|
+
* ```
|
|
2603
|
+
*/
|
|
2604
|
+
declare class TableFooterComponent {
|
|
2605
|
+
/** Additional CSS classes */
|
|
2606
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2607
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2608
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableFooterComponent, never>;
|
|
2609
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableFooterComponent, "bsg-table-footer", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* Table Row Component
|
|
2614
|
+
*
|
|
2615
|
+
* A table row element (tr).
|
|
2616
|
+
*
|
|
2617
|
+
* Usage:
|
|
2618
|
+
* ```html
|
|
2619
|
+
* <bsg-table-row>
|
|
2620
|
+
* <bsg-table-cell>Cell 1</bsg-table-cell>
|
|
2621
|
+
* <bsg-table-cell>Cell 2</bsg-table-cell>
|
|
2622
|
+
* </bsg-table-row>
|
|
2623
|
+
* ```
|
|
2624
|
+
*/
|
|
2625
|
+
declare class TableRowComponent {
|
|
2626
|
+
/** Additional CSS classes */
|
|
2627
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2628
|
+
/** Whether the row is selected */
|
|
2629
|
+
readonly selected: _angular_core.InputSignal<boolean>;
|
|
2630
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2631
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowComponent, never>;
|
|
2632
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableRowComponent, "bsg-table-row", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
/**
|
|
2636
|
+
* Table Head Component
|
|
2637
|
+
*
|
|
2638
|
+
* A table header cell element (th).
|
|
2639
|
+
*
|
|
2640
|
+
* Usage:
|
|
2641
|
+
* ```html
|
|
2642
|
+
* <bsg-table-head>Column Name</bsg-table-head>
|
|
2643
|
+
* <bsg-table-head className="w-[100px]">ID</bsg-table-head>
|
|
2644
|
+
* <bsg-table-head className="text-right">Amount</bsg-table-head>
|
|
2645
|
+
* ```
|
|
2646
|
+
*/
|
|
2647
|
+
declare class TableHeadComponent {
|
|
2648
|
+
/** Additional CSS classes */
|
|
2649
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2650
|
+
/** Column span */
|
|
2651
|
+
readonly colSpan: _angular_core.InputSignal<number | undefined>;
|
|
2652
|
+
/** Scope attribute for accessibility */
|
|
2653
|
+
readonly scope: _angular_core.InputSignal<"col" | "colgroup" | "row" | "rowgroup">;
|
|
2654
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2655
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableHeadComponent, never>;
|
|
2656
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableHeadComponent, "bsg-table-head", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "colSpan": { "alias": "colSpan"; "required": false; "isSignal": true; }; "scope": { "alias": "scope"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
/**
|
|
2660
|
+
* Table Cell Component
|
|
2661
|
+
*
|
|
2662
|
+
* A table data cell element (td).
|
|
2663
|
+
*
|
|
2664
|
+
* Usage:
|
|
2665
|
+
* ```html
|
|
2666
|
+
* <bsg-table-cell>Cell content</bsg-table-cell>
|
|
2667
|
+
* <bsg-table-cell className="font-medium">Bold content</bsg-table-cell>
|
|
2668
|
+
* <bsg-table-cell className="text-right">$250.00</bsg-table-cell>
|
|
2669
|
+
* <bsg-table-cell [colSpan]="3">Spanning cell</bsg-table-cell>
|
|
2670
|
+
* ```
|
|
2671
|
+
*/
|
|
2672
|
+
declare class TableCellComponent {
|
|
2673
|
+
/** Additional CSS classes */
|
|
2674
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2675
|
+
/** Column span */
|
|
2676
|
+
readonly colSpan: _angular_core.InputSignal<number | undefined>;
|
|
2677
|
+
readonly computedClasses: _angular_core.Signal<string>;
|
|
2678
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCellComponent, never>;
|
|
2679
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCellComponent, "bsg-table-cell", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "colSpan": { "alias": "colSpan"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
/**
|
|
2683
|
+
* Table Card Component
|
|
2684
|
+
*
|
|
2685
|
+
* A wrapper that provides a polished card container for tables,
|
|
2686
|
+
* using content projection for header and footer sections.
|
|
2687
|
+
*
|
|
2688
|
+
* UX Considerations:
|
|
2689
|
+
* - Clear visual hierarchy with prominent header
|
|
2690
|
+
* - Consistent spacing and alignment
|
|
2691
|
+
* - Subtle shadows for depth without distraction
|
|
2692
|
+
* - Flexible composition with header/footer slots
|
|
2693
|
+
*
|
|
2694
|
+
* Usage:
|
|
2695
|
+
* ```html
|
|
2696
|
+
* <bsg-table-card>
|
|
2697
|
+
* <bsg-tableCard-header title="My Table Title">
|
|
2698
|
+
* <button slot="action">New Item</button>
|
|
2699
|
+
* </bsg-tableCard-header>
|
|
2700
|
+
*
|
|
2701
|
+
* <bsg-table>
|
|
2702
|
+
* ...
|
|
2703
|
+
* </bsg-table>
|
|
2704
|
+
*
|
|
2705
|
+
* <bsg-tableCard-footer>
|
|
2706
|
+
* <span>Showing 1-10 of 100</span>
|
|
2707
|
+
* </bsg-tableCard-footer>
|
|
2708
|
+
* </bsg-table-card>
|
|
2709
|
+
* ```
|
|
2710
|
+
*/
|
|
2711
|
+
declare class TableCardComponent {
|
|
2712
|
+
/** Additional CSS classes for the card container */
|
|
2713
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2714
|
+
readonly cardClasses: _angular_core.Signal<string>;
|
|
2715
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCardComponent, never>;
|
|
2716
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCardComponent, "bsg-table-card", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["bsg-tableCard-header", "*", "bsg-tableCard-footer"], true, never>;
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
type TableCardHeaderColor = 'default' | 'info' | 'success' | 'warning' | 'destructive';
|
|
2720
|
+
/**
|
|
2721
|
+
* Table Card Header Component
|
|
2722
|
+
*
|
|
2723
|
+
* Header section for table cards with content projection for icon and title.
|
|
2724
|
+
*
|
|
2725
|
+
* Usage:
|
|
2726
|
+
* ```html
|
|
2727
|
+
* <!-- Simple title -->
|
|
2728
|
+
* <bsg-tableCard-header>
|
|
2729
|
+
* <span>Titulo de la Tabla</span>
|
|
2730
|
+
* </bsg-tableCard-header>
|
|
2731
|
+
*
|
|
2732
|
+
* <!-- With icon and title -->
|
|
2733
|
+
* <bsg-tableCard-header color="info">
|
|
2734
|
+
* <svg class="size-5">...</svg>
|
|
2735
|
+
* <span>Titulo de la Tabla</span>
|
|
2736
|
+
* </bsg-tableCard-header>
|
|
2737
|
+
*
|
|
2738
|
+
* <!-- With icon, title and action -->
|
|
2739
|
+
* <bsg-tableCard-header color="success">
|
|
2740
|
+
* <svg class="size-5">...</svg>
|
|
2741
|
+
* <span>Titulo de la Tabla</span>
|
|
2742
|
+
* <button slot="action">Nueva Accion</button>
|
|
2743
|
+
* </bsg-tableCard-header>
|
|
2744
|
+
* ```
|
|
2745
|
+
*/
|
|
2746
|
+
declare class TableCardHeaderComponent {
|
|
2747
|
+
/** Semantic color variant */
|
|
2748
|
+
readonly color: _angular_core.InputSignal<TableCardHeaderColor>;
|
|
2749
|
+
/** Additional CSS classes for header */
|
|
2750
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2751
|
+
readonly headerClasses: _angular_core.Signal<string>;
|
|
2752
|
+
readonly contentClasses: _angular_core.Signal<string>;
|
|
2753
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCardHeaderComponent, never>;
|
|
2754
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCardHeaderComponent, "bsg-tableCard-header", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[slot='action']"], true, never>;
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
/**
|
|
2758
|
+
* Table Card Footer Component
|
|
2759
|
+
*
|
|
2760
|
+
* Footer section for table cards, typically used for pagination,
|
|
2761
|
+
* summary info, or action buttons.
|
|
2762
|
+
*
|
|
2763
|
+
* Usage:
|
|
2764
|
+
* ```html
|
|
2765
|
+
* <bsg-tableCard-footer>
|
|
2766
|
+
* <span>Showing 1-10 of 100</span>
|
|
2767
|
+
* <div>
|
|
2768
|
+
* <button>Previous</button>
|
|
2769
|
+
* <button>Next</button>
|
|
2770
|
+
* </div>
|
|
2771
|
+
* </bsg-tableCard-footer>
|
|
2772
|
+
* ```
|
|
2773
|
+
*/
|
|
2774
|
+
declare class TableCardFooterComponent {
|
|
2775
|
+
/** Additional CSS classes */
|
|
2776
|
+
readonly className: _angular_core.InputSignal<string | undefined>;
|
|
2777
|
+
readonly footerClasses: _angular_core.Signal<string>;
|
|
2778
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCardFooterComponent, never>;
|
|
2779
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCardFooterComponent, "bsg-tableCard-footer", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
type TableVariant = 'table-actions' | 'table-basic' | 'table-tabs' | 'list-content';
|
|
2783
|
+
interface TableColumn {
|
|
2784
|
+
key: string;
|
|
2785
|
+
label: string;
|
|
2786
|
+
width?: string;
|
|
2787
|
+
}
|
|
2788
|
+
interface TableRow {
|
|
2789
|
+
[key: string]: any;
|
|
2790
|
+
}
|
|
2791
|
+
interface ListItem {
|
|
2792
|
+
text: string;
|
|
2793
|
+
}
|
|
2794
|
+
interface TabConfig extends TabItem {
|
|
2795
|
+
tableData?: {
|
|
2796
|
+
columns: TableColumn[];
|
|
2797
|
+
rows: TableRow[];
|
|
2798
|
+
};
|
|
2799
|
+
}
|
|
2800
|
+
interface TableAction {
|
|
2801
|
+
label: string;
|
|
2802
|
+
variant?: 'approve' | 'reject' | 'view';
|
|
2803
|
+
onClick?: () => void;
|
|
2804
|
+
}
|
|
2805
|
+
/**
|
|
2806
|
+
* @deprecated Use the new composable table components (TableComponent, TableHeader, TableBody, etc.) instead.
|
|
2807
|
+
* This component is kept for backwards compatibility.
|
|
2808
|
+
*/
|
|
2809
|
+
declare class TableContainerComponent {
|
|
2810
|
+
/** Container title */
|
|
2811
|
+
title: string;
|
|
2812
|
+
/** Display variant */
|
|
2813
|
+
variant: TableVariant;
|
|
2814
|
+
/** Header action button (e.g., "Nuevo mensaje") */
|
|
2815
|
+
headerAction?: {
|
|
2816
|
+
label: string;
|
|
2817
|
+
variant?: ButtonVariant;
|
|
2818
|
+
size?: ButtonSize;
|
|
2819
|
+
};
|
|
2820
|
+
isCollapsible: boolean;
|
|
2821
|
+
isExpanded: boolean;
|
|
2822
|
+
disableExpansion: boolean;
|
|
2823
|
+
tableColumns: TableColumn[];
|
|
2824
|
+
tableRows: TableRow[];
|
|
2825
|
+
tablePagination?: {
|
|
2826
|
+
currentPage: number;
|
|
2827
|
+
totalPages: number;
|
|
2828
|
+
pageSize: number;
|
|
2829
|
+
pageSizeOptions: number[];
|
|
2830
|
+
totalItems: number;
|
|
2831
|
+
rangeLabel: string;
|
|
2832
|
+
};
|
|
2833
|
+
showActionsColumn: boolean;
|
|
2834
|
+
actionsColumnLabel: string;
|
|
2835
|
+
actionsColumnWidth: string;
|
|
2836
|
+
listItems: ListItem[];
|
|
2837
|
+
tabs: TabConfig[];
|
|
2838
|
+
activeTabIndex: number;
|
|
2839
|
+
tabsPagination: any[];
|
|
2840
|
+
headerActionClick: EventEmitter<void>;
|
|
2841
|
+
collapseToggle: EventEmitter<boolean>;
|
|
2842
|
+
tabChange: EventEmitter<number>;
|
|
2843
|
+
tablePageChange: EventEmitter<number>;
|
|
2844
|
+
tablePageSizeChange: EventEmitter<number>;
|
|
2845
|
+
tableRefresh: EventEmitter<void>;
|
|
2846
|
+
tabPageChange: EventEmitter<{
|
|
2847
|
+
tabIndex: number;
|
|
2848
|
+
page: number;
|
|
2849
|
+
}>;
|
|
2850
|
+
tabPageSizeChange: EventEmitter<{
|
|
2851
|
+
tabIndex: number;
|
|
2852
|
+
pageSize: number;
|
|
2853
|
+
}>;
|
|
2854
|
+
tabRefresh: EventEmitter<number>;
|
|
2855
|
+
rowAction: EventEmitter<{
|
|
2856
|
+
rowIndex: number;
|
|
2857
|
+
action: TableAction;
|
|
2858
|
+
}>;
|
|
2859
|
+
get containerClasses(): string[];
|
|
2860
|
+
toggleCollapse(): void;
|
|
2861
|
+
onHeaderAction(): void;
|
|
2862
|
+
onTabChange(index: number): void;
|
|
2863
|
+
onTablePageChange(page: number): void;
|
|
2864
|
+
onTablePageSizeChange(pageSize: number): void;
|
|
2865
|
+
onTableRefresh(): void;
|
|
2866
|
+
onTabPageChange(tabIndex: number, page: number): void;
|
|
2867
|
+
onTabPageSizeChange(tabIndex: number, pageSize: number): void;
|
|
2868
|
+
onTabRefresh(tabIndex: number): void;
|
|
2869
|
+
onRowAction(rowIndex: number, action: TableAction): void;
|
|
2870
|
+
getActionVariant(actionVariant?: string): ButtonVariant;
|
|
2871
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableContainerComponent, never>;
|
|
2872
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableContainerComponent, "bsg-table-container", never, { "title": { "alias": "title"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "headerAction": { "alias": "headerAction"; "required": false; }; "isCollapsible": { "alias": "isCollapsible"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "disableExpansion": { "alias": "disableExpansion"; "required": false; }; "tableColumns": { "alias": "tableColumns"; "required": false; }; "tableRows": { "alias": "tableRows"; "required": false; }; "tablePagination": { "alias": "tablePagination"; "required": false; }; "showActionsColumn": { "alias": "showActionsColumn"; "required": false; }; "actionsColumnLabel": { "alias": "actionsColumnLabel"; "required": false; }; "actionsColumnWidth": { "alias": "actionsColumnWidth"; "required": false; }; "listItems": { "alias": "listItems"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "activeTabIndex": { "alias": "activeTabIndex"; "required": false; }; "tabsPagination": { "alias": "tabsPagination"; "required": false; }; }, { "headerActionClick": "headerActionClick"; "collapseToggle": "collapseToggle"; "tabChange": "tabChange"; "tablePageChange": "tablePageChange"; "tablePageSizeChange": "tablePageSizeChange"; "tableRefresh": "tableRefresh"; "tabPageChange": "tabPageChange"; "tabPageSizeChange": "tabPageSizeChange"; "tabRefresh": "tabRefresh"; "rowAction": "rowAction"; }, never, never, true, never>;
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
/**
|
|
2876
|
+
* Table wrapper variants
|
|
2877
|
+
*
|
|
2878
|
+
* Container with subtle shadow for depth and rounded corners
|
|
2879
|
+
* for a modern, polished look
|
|
2880
|
+
*/
|
|
2881
|
+
declare const tableWrapperVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2882
|
+
/**
|
|
2883
|
+
* Table variants
|
|
2884
|
+
*
|
|
2885
|
+
* Clean table with proper spacing and typography
|
|
2886
|
+
*/
|
|
2887
|
+
declare const tableVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2888
|
+
/**
|
|
2889
|
+
* Table Header variants
|
|
2890
|
+
*
|
|
2891
|
+
* Distinct header with subtle background gradient
|
|
2892
|
+
* and clear visual separation from body
|
|
2893
|
+
*/
|
|
2894
|
+
declare const tableHeaderVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2895
|
+
/**
|
|
2896
|
+
* Table Body variants
|
|
2897
|
+
*
|
|
2898
|
+
* Clean body with alternating row colors option
|
|
2899
|
+
*/
|
|
2900
|
+
declare const tableBodyVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2901
|
+
/**
|
|
2902
|
+
* Table Footer variants
|
|
2903
|
+
*
|
|
2904
|
+
* Distinct footer for totals and summaries
|
|
2905
|
+
*/
|
|
2906
|
+
declare const tableFooterVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2907
|
+
/**
|
|
2908
|
+
* Table Row variants
|
|
2909
|
+
*
|
|
2910
|
+
* Interactive rows with clear hover and selected states
|
|
2911
|
+
* Following UX best practices for discoverability
|
|
2912
|
+
*/
|
|
2913
|
+
declare const tableRowVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2914
|
+
/**
|
|
2915
|
+
* Table Head variants
|
|
2916
|
+
*
|
|
2917
|
+
* Clear, readable headers with proper hierarchy
|
|
2918
|
+
* Using semibold weight and blue accent for brand consistency
|
|
2919
|
+
*/
|
|
2920
|
+
declare const tableHeadVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2921
|
+
/**
|
|
2922
|
+
* Table Cell variants
|
|
2923
|
+
*
|
|
2924
|
+
* Readable cells with proper spacing and alignment
|
|
2925
|
+
*/
|
|
2926
|
+
declare const tableCellVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2927
|
+
/**
|
|
2928
|
+
* Table Card Header variants
|
|
2929
|
+
*
|
|
2930
|
+
* Prominent header with semantic colors and clear hierarchy
|
|
2931
|
+
* Following UX principles for visual weight distribution
|
|
2932
|
+
*/
|
|
2933
|
+
declare const tableCardHeaderVariants: (props?: ({
|
|
2934
|
+
color?: "default" | "info" | "success" | "warning" | "destructive" | null | undefined;
|
|
2935
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2936
|
+
/**
|
|
2937
|
+
* Table Card Footer variants
|
|
2938
|
+
*
|
|
2939
|
+
* Clean footer area for pagination and actions
|
|
2940
|
+
*/
|
|
2941
|
+
declare const tableCardFooterVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2942
|
+
/**
|
|
2943
|
+
* Table Pagination wrapper variants
|
|
2944
|
+
*
|
|
2945
|
+
* Clean pagination area with proper spacing
|
|
2946
|
+
*/
|
|
2947
|
+
declare const tablePaginationVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2948
|
+
/**
|
|
2949
|
+
* Table Empty State variants
|
|
2950
|
+
*
|
|
2951
|
+
* For when table has no data
|
|
2952
|
+
*/
|
|
2953
|
+
declare const tableEmptyStateVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2954
|
+
/**
|
|
2955
|
+
* Table Loading State variants
|
|
2956
|
+
*
|
|
2957
|
+
* For skeleton loading states
|
|
2958
|
+
*/
|
|
2959
|
+
declare const tableLoadingVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2960
|
+
/**
|
|
2961
|
+
* Striped table modifier
|
|
2962
|
+
*
|
|
2963
|
+
* Apply to tbody for alternating row colors
|
|
2964
|
+
*/
|
|
2965
|
+
declare const tableStripedVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2966
|
+
/**
|
|
2967
|
+
* Compact table modifier
|
|
2968
|
+
*
|
|
2969
|
+
* Reduced padding for dense data
|
|
2970
|
+
*/
|
|
2971
|
+
declare const tableCompactVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2972
|
+
|
|
2222
2973
|
declare const textareaVariants: (props?: ({
|
|
2223
2974
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2224
2975
|
resize?: "horizontal" | "vertical" | "none" | "both" | null | undefined;
|
|
@@ -2596,5 +3347,5 @@ declare class TooltipComponent implements AfterContentInit {
|
|
|
2596
3347
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TooltipComponent, "bsg-tooltip", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "triggerClassName": { "alias": "triggerClassName"; "required": false; "isSignal": true; }; "contentClassName": { "alias": "contentClassName"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2597
3348
|
}
|
|
2598
3349
|
|
|
2599
|
-
export { AccordionComponent, AccordionContentComponent, AccordionItemComponent, AccordionTriggerComponent, AlertComponent, AvatarComponent, BadgeComponent, ButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CarouselComponent, CarouselItemComponent, CheckboxComponent, CollapsibleComponent, CollapsibleContentComponent, CollapsibleTriggerDirective, ComboboxComponent, DialogComponent, InputComponent, LabelComponent, RadioComponent, RadioGroupComponent, SelectComponent, SidebarComponent, SidebarContentComponent, SidebarFooterComponent, SidebarGroupActionComponent, SidebarGroupComponent, SidebarGroupContentComponent, SidebarGroupLabelComponent, SidebarHeaderComponent, SidebarInsetComponent, SidebarMenuActionComponent, SidebarMenuBadgeComponent, SidebarMenuButtonComponent, SidebarMenuComponent, SidebarMenuItemComponent, SidebarMenuSubButtonComponent, SidebarMenuSubComponent, SidebarMenuSubItemComponent, SidebarProviderComponent, SidebarRailComponent, SidebarSeparatorComponent, SidebarService, SidebarTriggerComponent, SkeletonComponent, SpinnerComponent, SwitchComponent, TextareaComponent, TimePickerComponent, ToastComponent, TooltipComponent, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, accordionVariants, alertCloseVariants, alertContentVariants, alertIconVariants, alertVariants, avatarIconVariants, avatarImgVariants, avatarInitialsVariants, avatarVariants, badgeIconVariants, badgeVariants, buttonIconOnlyVariants, buttonIconVariants, buttonLabelVariants, buttonSpinnerVariants, buttonVariants, cardActionIconVariants, cardCurrencyContentVariants, cardCurrencyIconVariants, cardCurrencyLabelVariants, cardCurrencyTextVariants, cardHeaderRowVariants, cardHeaderVariants, cardHelperDescriptionVariants, cardHelperRowVariants, cardHelperVariants, cardInfoIconVariants, cardInfoLabelVariants, cardInfoTextVariants, cardMetricTitleVariants, cardMetricValueVariants, cardSlotBodyVariants, cardSlotFooterVariants, cardSlotHeaderVariants, cardValueVariants, cardVariants, carouselArrowVariants, carouselChevronVariants, carouselContainerVariants, carouselIndicatorVariants, carouselIndicatorsVariants, carouselRootVariants, carouselTrackVariants, carouselViewportVariants, checkboxVariants, comboboxDropdownVariants, comboboxEmptyStateVariants, comboboxErrorMessageVariants, comboboxIconVariants, comboboxOptionVariants, comboboxOptionsContainerVariants, comboboxSearchInputVariants, comboboxSearchWrapperVariants, comboboxTriggerVariants, comboboxValueVariants, comboboxWrapperVariants, dialogBodyVariants, dialogContentVariants, dialogFooterVariants, dialogHeaderVariants, dialogOverlayVariants, inputVariants, labelVariants, radioFocusRingVariants, radioGroupVariants, radioInnerVariants, radioLabelVariants, radioOptionVariants, radioOuterVariants, radioWrapperVariants, selectDropdownVariants, selectErrorVariants, selectIconVariants, selectOptionVariants, selectTriggerVariants, selectValueVariants, selectWrapperVariants, sidebarChevronVariants, sidebarContentVariants, sidebarFooterVariants, sidebarGroupActionVariants, sidebarGroupContentVariants, sidebarGroupLabelVariants, sidebarGroupVariants, sidebarHeaderVariants, sidebarInsetVariants, sidebarMenuActionVariants, sidebarMenuBadgeVariants, sidebarMenuButtonVariants, sidebarMenuItemVariants, sidebarMenuSkeletonVariants, sidebarMenuSubButtonVariants, sidebarMenuSubItemVariants, sidebarMenuSubVariants, sidebarMenuVariants, sidebarProviderVariants, sidebarRailVariants, sidebarSeparatorVariants, sidebarTriggerVariants, sidebarVariants, sidebarWrapperVariants, skeletonVariants, spinnerVariants, switchRootVariants, switchThumbVariants, textareaVariants, timepickerActionButtonVariants, timepickerActionsVariants, timepickerColumnHeaderVariants, timepickerColumnVariants, timepickerDropdownVariants, timepickerErrorMessageVariants, timepickerFieldVariants, timepickerIconButtonVariants, timepickerInputVariants, timepickerLabelVariants, timepickerListVariants, timepickerOptionVariants, timepickerSelectionAreaVariants, timepickerSeparatorVariants, timepickerWrapperVariants, toastAccentVariants, toastCloseVariants, toastContentVariants, toastIconVariants, toastVariants, tooltipArrowVariants, tooltipContentVariants, tooltipTriggerVariants };
|
|
2600
|
-
export type { AccordionType, AccordionVariant, AccordionVariantsProps, AlertVariant, AlertVariantsProps, AvatarSize, AvatarType, AvatarVariantsProps, BadgeIconVariantsProps, BadgeLayout, BadgeSize, BadgeVariant, BadgeVariantsProps, ButtonShape, ButtonSize, ButtonVariant, ButtonVariantsProps, CardContentVariant, CardVariant, CardVariantsProps, CarouselArrowVariantsProps, CarouselIndicatorVariantsProps, CheckboxSize, ComboboxOption, ComboboxSize, ComboboxState, ComboboxTriggerVariantsProps, ComboboxWrapperVariantsProps, DialogBodyVariantsProps, DialogContentVariantsProps, DialogFooterVariantsProps, DialogHeaderTone, DialogHeaderVariantsProps, DialogSize, InputSize, RadioFocusRingVariantsProps, RadioGroupOption, RadioGroupOrientation, RadioGroupVariantsProps, RadioInnerVariantsProps, RadioLabelVariantsProps, RadioOptionVariantsProps, RadioOuterVariantsProps, RadioSize, RadioState, RadioWrapperVariantsProps, SelectOption, SelectSize, SelectState, SelectTriggerVariantsProps, SidebarCollapsible, SidebarMenuActionVariantsProps, SidebarMenuButtonVariantsProps, SidebarMenuSubButtonVariantsProps, SidebarSide, SidebarState, SidebarVariant, SkeletonType, SkeletonVariantsProps, SpinnerSize, SpinnerVariant, SpinnerVariantsProps, SwitchSize, SwitchVariantsProps, TextareaResize, TextareaSize, TimePickerSize, TimePickerState, TimePickerWrapperVariantsProps, ToastVariant, ToastVariantsProps, TooltipContentVariantsProps, TooltipPlacement };
|
|
3350
|
+
export { AccordionComponent, AccordionContentComponent, AccordionItemComponent, AccordionTriggerComponent, AlertComponent, AvatarComponent, BadgeComponent, ButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CarouselComponent, CarouselItemComponent, CheckboxComponent, CollapsibleComponent, CollapsibleContentComponent, CollapsibleTriggerDirective, ComboboxComponent, DialogComponent, InputComponent, LabelComponent, RadioComponent, RadioGroupComponent, SelectComponent, SidebarComponent, SidebarContentComponent, SidebarFooterComponent, SidebarGroupActionComponent, SidebarGroupComponent, SidebarGroupContentComponent, SidebarGroupLabelComponent, SidebarHeaderComponent, SidebarInsetComponent, SidebarMenuActionComponent, SidebarMenuBadgeComponent, SidebarMenuButtonComponent, SidebarMenuComponent, SidebarMenuItemComponent, SidebarMenuSubButtonComponent, SidebarMenuSubComponent, SidebarMenuSubItemComponent, SidebarProviderComponent, SidebarRailComponent, SidebarSeparatorComponent, SidebarService, SidebarTriggerComponent, SkeletonComponent, SpinnerComponent, SwitchComponent, TabNavigationComponent, TableBodyComponent, TableCardComponent, TableCardFooterComponent, TableCardHeaderComponent, TableCellComponent, TableComponent, TableContainerComponent, TableFooterComponent, TableHeadComponent, TableHeaderComponent, TableRowComponent, TabsComponent, TabsContentComponent, TabsListComponent, TabsTriggerComponent, TextareaComponent, TimePickerComponent, ToastComponent, TooltipComponent, accordionContentVariants, accordionItemVariants, accordionTriggerVariants, accordionVariants, alertCloseVariants, alertContentVariants, alertIconVariants, alertVariants, avatarIconVariants, avatarImgVariants, avatarInitialsVariants, avatarVariants, badgeIconVariants, badgeVariants, buttonIconOnlyVariants, buttonIconVariants, buttonLabelVariants, buttonSpinnerVariants, buttonVariants, cardActionIconVariants, cardCurrencyContentVariants, cardCurrencyIconVariants, cardCurrencyLabelVariants, cardCurrencyTextVariants, cardHeaderRowVariants, cardHeaderVariants, cardHelperDescriptionVariants, cardHelperRowVariants, cardHelperVariants, cardInfoIconVariants, cardInfoLabelVariants, cardInfoTextVariants, cardMetricTitleVariants, cardMetricValueVariants, cardSlotBodyVariants, cardSlotFooterVariants, cardSlotHeaderVariants, cardValueVariants, cardVariants, carouselArrowVariants, carouselChevronVariants, carouselContainerVariants, carouselIndicatorVariants, carouselIndicatorsVariants, carouselRootVariants, carouselTrackVariants, carouselViewportVariants, checkboxVariants, comboboxDropdownVariants, comboboxEmptyStateVariants, comboboxErrorMessageVariants, comboboxIconVariants, comboboxOptionVariants, comboboxOptionsContainerVariants, comboboxSearchInputVariants, comboboxSearchWrapperVariants, comboboxTriggerVariants, comboboxValueVariants, comboboxWrapperVariants, dialogBodyVariants, dialogContentVariants, dialogFooterVariants, dialogHeaderVariants, dialogOverlayVariants, inputVariants, labelVariants, radioFocusRingVariants, radioGroupVariants, radioInnerVariants, radioLabelVariants, radioOptionVariants, radioOuterVariants, radioWrapperVariants, selectDropdownVariants, selectErrorVariants, selectIconVariants, selectOptionVariants, selectTriggerVariants, selectValueVariants, selectWrapperVariants, sidebarChevronVariants, sidebarContentVariants, sidebarFooterVariants, sidebarGroupActionVariants, sidebarGroupContentVariants, sidebarGroupLabelVariants, sidebarGroupVariants, sidebarHeaderVariants, sidebarInsetVariants, sidebarMenuActionVariants, sidebarMenuBadgeVariants, sidebarMenuButtonVariants, sidebarMenuItemVariants, sidebarMenuSkeletonVariants, sidebarMenuSubButtonVariants, sidebarMenuSubItemVariants, sidebarMenuSubVariants, sidebarMenuVariants, sidebarProviderVariants, sidebarRailVariants, sidebarSeparatorVariants, sidebarTriggerVariants, sidebarVariants, sidebarWrapperVariants, skeletonVariants, spinnerVariants, switchRootVariants, switchThumbVariants, tabIconCircleVariants, tabIconContentVariants, tabItemVariants, tabLabelVariants, tabNavigationVariants, tabTextContentVariants, tableBodyVariants, tableCardFooterVariants, tableCardHeaderVariants, tableCellVariants, tableCompactVariants, tableEmptyStateVariants, tableFooterVariants, tableHeadVariants, tableHeaderVariants, tableLoadingVariants, tablePaginationVariants, tableRowVariants, tableStripedVariants, tableVariants, tableWrapperVariants, textareaVariants, timepickerActionButtonVariants, timepickerActionsVariants, timepickerColumnHeaderVariants, timepickerColumnVariants, timepickerDropdownVariants, timepickerErrorMessageVariants, timepickerFieldVariants, timepickerIconButtonVariants, timepickerInputVariants, timepickerLabelVariants, timepickerListVariants, timepickerOptionVariants, timepickerSelectionAreaVariants, timepickerSeparatorVariants, timepickerWrapperVariants, toastAccentVariants, toastCloseVariants, toastContentVariants, toastIconVariants, toastVariants, tooltipArrowVariants, tooltipContentVariants, tooltipTriggerVariants };
|
|
3351
|
+
export type { AccordionType, AccordionVariant, AccordionVariantsProps, AlertVariant, AlertVariantsProps, AvatarSize, AvatarType, AvatarVariantsProps, BadgeIconVariantsProps, BadgeLayout, BadgeSize, BadgeVariant, BadgeVariantsProps, ButtonShape, ButtonSize, ButtonVariant, ButtonVariantsProps, CardContentVariant, CardVariant, CardVariantsProps, CarouselArrowVariantsProps, CarouselIndicatorVariantsProps, CheckboxSize, ComboboxOption, ComboboxSize, ComboboxState, ComboboxTriggerVariantsProps, ComboboxWrapperVariantsProps, DialogBodyVariantsProps, DialogContentVariantsProps, DialogFooterVariantsProps, DialogHeaderTone, DialogHeaderVariantsProps, DialogSize, InputSize, ListItem, RadioFocusRingVariantsProps, RadioGroupOption, RadioGroupOrientation, RadioGroupVariantsProps, RadioInnerVariantsProps, RadioLabelVariantsProps, RadioOptionVariantsProps, RadioOuterVariantsProps, RadioSize, RadioState, RadioWrapperVariantsProps, SelectOption, SelectSize, SelectState, SelectTriggerVariantsProps, SidebarCollapsible, SidebarMenuActionVariantsProps, SidebarMenuButtonVariantsProps, SidebarMenuSubButtonVariantsProps, SidebarSide, SidebarState, SidebarVariant, SkeletonType, SkeletonVariantsProps, SpinnerSize, SpinnerVariant, SpinnerVariantsProps, SwitchSize, SwitchVariantsProps, TabColor, TabConfig, TabItem, TabLayout, TabSize, TabVariant, TableAction, TableCardHeaderColor, TableColumn, TableRow, TableVariant, TabsTriggerVariantsProps, TextareaResize, TextareaSize, TimePickerSize, TimePickerState, TimePickerWrapperVariantsProps, ToastVariant, ToastVariantsProps, TooltipContentVariantsProps, TooltipPlacement };
|