@texturehq/edges 1.13.2 → 1.14.1
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/dist/components.manifest.json +115 -5
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +450 -11
- package/dist/index.d.ts +450 -11
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/{server-BV15KAF4.d.cts → server-BsKKPLXJ.d.cts} +45 -5
- package/dist/{server-BV15KAF4.d.ts → server-BsKKPLXJ.d.ts} +45 -5
- package/dist/server.cjs +2 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/dist/styles.css +124 -5
- package/dist/utilities.manifest.json +23 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { Key, ValidationResult, BreadcrumbProps, BreadcrumbsProps, ButtonProps a
|
|
|
2
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger } from 'react-aria-components';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { RefObject, HTMLAttributes, ReactNode, ComponentProps, CSSProperties, ComponentType, Component, ErrorInfo } from 'react';
|
|
5
|
-
import { F as FieldValue, B as BooleanFormat, a as FormattedValue, C as CurrentFormat, D as DateFormat, b as DistanceFormat, E as EnergyFormat, c as CurrencyFormat, N as NumberFormat, P as PhoneFormat, d as PowerFormat, e as FormatterFunction, R as ResistanceFormat, T as TemperatureUnitString, f as TemperatureUnit, g as TemperatureFormat, h as TextFormat, V as VoltageFormat, i as FieldFormat, j as BaseDataPoint, I as Icon, Y as YFormatType,
|
|
6
|
-
export { A as ActionItem,
|
|
5
|
+
import { F as FieldValue, B as BooleanFormat, a as FormattedValue, C as CurrentFormat, D as DateFormat, b as DistanceFormat, E as EnergyFormat, c as CurrencyFormat, N as NumberFormat, P as PhoneFormat, d as PowerFormat, e as FormatterFunction, R as ResistanceFormat, T as TemperatureUnitString, f as TemperatureUnit, g as TemperatureFormat, h as TextFormat, V as VoltageFormat, i as FieldFormat, j as BaseDataPoint, I as Icon, k as BadgeProps, Y as YFormatType, l as TooltipData, m as IconName$2, n as DeviceState, G as GridState, o as ComponentFormatter, L as LayerSpec, p as CustomPinsSpec, q as GeoJsonLayerSpec, r as RasterLayerSpec, s as VectorLayerSpec, t as ClusteredVectorLayerSpec } from './server-BsKKPLXJ.js';
|
|
6
|
+
export { A as ActionItem, v as ActionMenu, u as ActionMenuProps, x as AppShell, w as AppShellProps, z as Avatar, y as AvatarProps, H as Badge, aH as BaseFormat, ao as ChartContext, aq as ChartMargin, O as CodeEditor, J as CodeEditorProps, K as CodeLanguage, M as CodeTheme, $ as ColorSpec, aE as ComponentFormatOptions, aP as CurrentUnit, aS as CustomFormat, S as DateField, Q as DateFieldProps, aL as DateFormatStyle, aR as DistanceUnit, aM as EnergyUnit, W as FileUpload, U as FileUploadProps, X as Heading, a7 as InteractiveMap, a0 as InteractiveMapProps, a1 as LayerFeature, a2 as LayerStyle, Z as Loader, _ as Logo, a8 as MAP_TYPES, a3 as MapPoint, ab as Meter, aa as MeterProps, aT as MetricFormat, aK as PercentageFormat, aN as PowerUnit, a4 as RenderType, aQ as ResistanceUnit, ad as RichTextEditor, ac as RichTextEditorProps, af as SegmentOption, ag as SegmentedControl, ae as SegmentedControlProps, aj as SideNav, ah as SideNavItem, ai as SideNavProps, a9 as StaticMap, a5 as StaticMapProps, ak as TextLink, aI as TextTransform, aJ as TextTruncatePosition, an as TooltipSeries, am as TopNav, al as TopNavProps, aO as VoltageUnit, av as YFormatSettings, a6 as ZoomStops, aV as activeDeviceStates, aw as clearColorCache, ax as createCategoryColorMap, ar as createXScale, as as createYScale, at as defaultMargin, aW as deviceStateLabels, aU as deviceStateMetricFormats, aF as formatComponentValue, ay as getContrastingTextColor, az as getDefaultChartColor, aA as getDefaultColors, aY as getDeviceStateDisplayLabel, aY as getDeviceStateLabel, a_ as getGridStateLabel, aB as getResolvedColor, aC as getThemeCategoricalColors, au as getYFormatSettings, aZ as gridStateLabels, aX as isActiveDeviceState, aX as isActiveState, aD as isLightColor, ap as useChartContext, aG as useComponentFormatter } from './server-BsKKPLXJ.js';
|
|
7
7
|
import { Virtualizer } from '@tanstack/react-virtual';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
9
|
import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
@@ -109,6 +109,43 @@ declare const parseBoolean: (value: FieldValue) => boolean | null;
|
|
|
109
109
|
*/
|
|
110
110
|
declare const formatBoolean: (value: FieldValue, format: BooleanFormat) => FormattedValue;
|
|
111
111
|
|
|
112
|
+
/**
|
|
113
|
+
* Capacity formatting utilities for batteries and energy storage
|
|
114
|
+
*
|
|
115
|
+
* Domain-specific formatters for energy capacity (kWh) and power ratings (kW).
|
|
116
|
+
* Auto-scales to appropriate units (MWh, MW for large values).
|
|
117
|
+
*/
|
|
118
|
+
/**
|
|
119
|
+
* Format battery capacity (kWh)
|
|
120
|
+
*
|
|
121
|
+
* @param value - Capacity in kWh
|
|
122
|
+
* @param decimals - Number of decimal places (default: 1)
|
|
123
|
+
* @returns Formatted capacity string or null
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* ```typescript
|
|
127
|
+
* formatCapacity(13.5); // "13.5 kWh"
|
|
128
|
+
* formatCapacity(1500); // "1.5 MWh"
|
|
129
|
+
* formatCapacity(null); // null
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
declare function formatCapacity(value: number | null | undefined, decimals?: number): string | null;
|
|
133
|
+
/**
|
|
134
|
+
* Format power rating (kW)
|
|
135
|
+
*
|
|
136
|
+
* @param value - Power rating in kW
|
|
137
|
+
* @param decimals - Number of decimal places (default: 1)
|
|
138
|
+
* @returns Formatted power rating string or null
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* ```typescript
|
|
142
|
+
* formatPowerRating(5.2); // "5.2 kW"
|
|
143
|
+
* formatPowerRating(2500); // "2.5 MW"
|
|
144
|
+
* formatPowerRating(null); // null
|
|
145
|
+
* ```
|
|
146
|
+
*/
|
|
147
|
+
declare function formatPowerRating(value: number | null | undefined, decimals?: number): string | null;
|
|
148
|
+
|
|
112
149
|
/**
|
|
113
150
|
* Electrical current formatting utilities (flow of electric charge)
|
|
114
151
|
*/
|
|
@@ -313,6 +350,14 @@ declare const isNil: (value: unknown) => value is null | undefined;
|
|
|
313
350
|
* Format as percentage
|
|
314
351
|
*/
|
|
315
352
|
declare const toPercentage: (value: number | null | undefined, decimals?: number) => string | null;
|
|
353
|
+
/**
|
|
354
|
+
* Format percentage (simple wrapper for consistency with other formatters)
|
|
355
|
+
*
|
|
356
|
+
* @param value - Numeric value (0-100 range)
|
|
357
|
+
* @param precision - Number of decimal places (default: 0)
|
|
358
|
+
* @returns Formatted percentage string with % symbol
|
|
359
|
+
*/
|
|
360
|
+
declare const formatPercent: (value: number | null | undefined, precision?: number) => string;
|
|
316
361
|
/**
|
|
317
362
|
* Format as integer
|
|
318
363
|
*/
|
|
@@ -1801,6 +1846,35 @@ interface ConfirmProps {
|
|
|
1801
1846
|
*/
|
|
1802
1847
|
declare function Confirm({ isOpen, onClose, onConfirm, title, message, confirmLabel, cancelLabel, confirmVariant, isDestructive, isLoading, maxWidth, minWidth, }: ConfirmProps): react_jsx_runtime.JSX.Element;
|
|
1803
1848
|
|
|
1849
|
+
interface ConnectionStatusBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
|
|
1850
|
+
/** Whether the device is currently connected */
|
|
1851
|
+
isConnected: boolean;
|
|
1852
|
+
/** Timestamp when the device last connected */
|
|
1853
|
+
connectedAt?: Date | string | null;
|
|
1854
|
+
/** Timestamp when the device disconnected */
|
|
1855
|
+
disconnectedAt?: Date | string | null;
|
|
1856
|
+
/** Show timestamp below the status */
|
|
1857
|
+
showTimestamp?: boolean;
|
|
1858
|
+
/** Loading state */
|
|
1859
|
+
isLoading?: boolean;
|
|
1860
|
+
}
|
|
1861
|
+
/**
|
|
1862
|
+
* ConnectionStatusBadge
|
|
1863
|
+
*
|
|
1864
|
+
* Displays device connection status with optional timestamps.
|
|
1865
|
+
* - Green "Connected" badge with pulsing dot
|
|
1866
|
+
* - Gray "Disconnected" badge with duration offline
|
|
1867
|
+
* - Auto-calculates "offline for 2 hours" type strings
|
|
1868
|
+
*
|
|
1869
|
+
* @example
|
|
1870
|
+
* ```tsx
|
|
1871
|
+
* <ConnectionStatusBadge isConnected={true} />
|
|
1872
|
+
* <ConnectionStatusBadge isConnected={false} disconnectedAt={new Date()} showTimestamp />
|
|
1873
|
+
* <ConnectionStatusBadge isConnected={true} connectedAt={new Date()} />
|
|
1874
|
+
* ```
|
|
1875
|
+
*/
|
|
1876
|
+
declare function ConnectionStatusBadge({ isConnected, connectedAt, disconnectedAt, showTimestamp, isLoading, size, shape, ...badgeProps }: ConnectionStatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
1877
|
+
|
|
1804
1878
|
interface CopyToClipboardProps {
|
|
1805
1879
|
/**
|
|
1806
1880
|
* The value to copy to clipboard. If not provided, will use the text content of children
|
|
@@ -2259,7 +2333,7 @@ declare function SearchControl({ value, onChange, onClear, placeholder, size, cl
|
|
|
2259
2333
|
type SortDirection = "asc" | "desc";
|
|
2260
2334
|
type CellAlignment = "left" | "center" | "right";
|
|
2261
2335
|
type TableDensity = "compact" | "default" | "relaxed";
|
|
2262
|
-
type CellEmphasis = "high" | "normal" | "low";
|
|
2336
|
+
type CellEmphasis = "strong" | "high" | "normal" | "low";
|
|
2263
2337
|
type LinkBehavior = "none" | "hover" | "visible";
|
|
2264
2338
|
type TableLayout = "auto" | "fixed" | "responsive";
|
|
2265
2339
|
type TableWidth = "full" | "auto" | "contained";
|
|
@@ -2367,6 +2441,7 @@ interface BooleanCellProps<T = any> extends CellComponentProps<T> {
|
|
|
2367
2441
|
showFalse?: boolean;
|
|
2368
2442
|
align?: "left" | "center" | "right";
|
|
2369
2443
|
emphasis?: CellEmphasis;
|
|
2444
|
+
className?: string;
|
|
2370
2445
|
}
|
|
2371
2446
|
/**
|
|
2372
2447
|
* BooleanCell
|
|
@@ -2374,7 +2449,7 @@ interface BooleanCellProps<T = any> extends CellComponentProps<T> {
|
|
|
2374
2449
|
* DataTable cell component for displaying boolean values.
|
|
2375
2450
|
* Supports multiple display formats including icons, text, or badges with customizable true/false representations.
|
|
2376
2451
|
*/
|
|
2377
|
-
declare function BooleanCell<T = any>({ value, context, format, trueText, falseText, trueIcon, falseIcon, showFalse, align, emphasis, }: BooleanCellProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
2452
|
+
declare function BooleanCell<T = any>({ value, context, format, trueText, falseText, trueIcon, falseIcon, showFalse, align, emphasis, className, }: BooleanCellProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
2378
2453
|
|
|
2379
2454
|
/**
|
|
2380
2455
|
* Get alignment classes for cell content
|
|
@@ -2431,6 +2506,7 @@ interface DateCellProps<T = any> extends CellComponentProps<T> {
|
|
|
2431
2506
|
emphasis?: CellEmphasis;
|
|
2432
2507
|
href?: string | ((row: T) => string);
|
|
2433
2508
|
linkBehavior?: LinkBehavior;
|
|
2509
|
+
className?: string;
|
|
2434
2510
|
}
|
|
2435
2511
|
/**
|
|
2436
2512
|
* DateCell
|
|
@@ -2438,7 +2514,66 @@ interface DateCellProps<T = any> extends CellComponentProps<T> {
|
|
|
2438
2514
|
* DataTable cell component for displaying date and time values.
|
|
2439
2515
|
* Supports multiple formats including relative time, with optional linking capabilities.
|
|
2440
2516
|
*/
|
|
2441
|
-
declare function DateCell<T = any>({ value, row, context, format, customFormat, emptyText, align, emphasis, href, linkBehavior, }: DateCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2517
|
+
declare function DateCell<T = any>({ value, row, context, format, customFormat, emptyText, align, emphasis, href, linkBehavior, className, }: DateCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2518
|
+
|
|
2519
|
+
interface DeviceStateCellProps<T = any> extends Omit<CellComponentProps<T>, "value"> {
|
|
2520
|
+
/** The device state value */
|
|
2521
|
+
value?: DeviceState | null | undefined;
|
|
2522
|
+
/** Optional metric to display alongside state */
|
|
2523
|
+
metric?: number | null | ((row: T) => number | null);
|
|
2524
|
+
/** Formatter for the metric - uses FieldFormat! */
|
|
2525
|
+
metricFormatter?: FieldFormat;
|
|
2526
|
+
/** Optional secondary state (e.g., grid status) */
|
|
2527
|
+
secondaryState?: DeviceState | GridState | ((row: T) => DeviceState | GridState | null);
|
|
2528
|
+
/** Badge size */
|
|
2529
|
+
size?: "sm" | "md" | "lg";
|
|
2530
|
+
/** Badge shape */
|
|
2531
|
+
shape?: "pill" | "rounded" | "square";
|
|
2532
|
+
/** Custom label override */
|
|
2533
|
+
label?: string | ((state: DeviceState, row: T) => string);
|
|
2534
|
+
/** Optional icon */
|
|
2535
|
+
icon?: IconName$2;
|
|
2536
|
+
/** Fixed width for column alignment (defaults to true for tables) */
|
|
2537
|
+
fixedWidth?: boolean;
|
|
2538
|
+
/** Alignment */
|
|
2539
|
+
align?: "left" | "center" | "right";
|
|
2540
|
+
/** Additional classes */
|
|
2541
|
+
className?: string;
|
|
2542
|
+
}
|
|
2543
|
+
/**
|
|
2544
|
+
* DeviceStateCell
|
|
2545
|
+
*
|
|
2546
|
+
* DataTable cell component for displaying device states with optional metrics.
|
|
2547
|
+
* Uses DeviceStateWithMetric internally when metric is provided,
|
|
2548
|
+
* or DeviceStateBadge when no metric.
|
|
2549
|
+
*
|
|
2550
|
+
* @example
|
|
2551
|
+
* ```tsx
|
|
2552
|
+
* // In DataTable column definition
|
|
2553
|
+
* {
|
|
2554
|
+
* id: "state",
|
|
2555
|
+
* label: "Status",
|
|
2556
|
+
* cell: DeviceStateCell,
|
|
2557
|
+
* cellProps: {
|
|
2558
|
+
* metric: (row) => row.chargePercentage,
|
|
2559
|
+
* metricFormatter: { type: "number", suffix: "%" }
|
|
2560
|
+
* }
|
|
2561
|
+
* }
|
|
2562
|
+
*
|
|
2563
|
+
* // With secondary state
|
|
2564
|
+
* {
|
|
2565
|
+
* id: "state",
|
|
2566
|
+
* label: "Status",
|
|
2567
|
+
* cell: DeviceStateCell,
|
|
2568
|
+
* cellProps: {
|
|
2569
|
+
* metric: (row) => row.power,
|
|
2570
|
+
* metricFormatter: { type: "power", unit: "kW" },
|
|
2571
|
+
* secondaryState: (row) => row.gridState
|
|
2572
|
+
* }
|
|
2573
|
+
* }
|
|
2574
|
+
* ```
|
|
2575
|
+
*/
|
|
2576
|
+
declare function DeviceStateCell<T = any>({ value, row, context, metric, metricFormatter, secondaryState, size, shape, label, icon, fixedWidth, align, className, }: DeviceStateCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2442
2577
|
|
|
2443
2578
|
interface NumberCellProps<T = any> extends CellComponentProps<T> {
|
|
2444
2579
|
format?: "number" | "currency" | "percent" | "compact";
|
|
@@ -2452,6 +2587,7 @@ interface NumberCellProps<T = any> extends CellComponentProps<T> {
|
|
|
2452
2587
|
linkBehavior?: LinkBehavior;
|
|
2453
2588
|
showPositiveSign?: boolean;
|
|
2454
2589
|
colorCode?: boolean;
|
|
2590
|
+
className?: string;
|
|
2455
2591
|
}
|
|
2456
2592
|
/**
|
|
2457
2593
|
* NumberCell
|
|
@@ -2459,7 +2595,7 @@ interface NumberCellProps<T = any> extends CellComponentProps<T> {
|
|
|
2459
2595
|
* DataTable cell component for displaying numeric values.
|
|
2460
2596
|
* Supports currency, percentage, and compact formatting with optional color coding for positive/negative values.
|
|
2461
2597
|
*/
|
|
2462
|
-
declare function NumberCell<T = any>({ value, row, context, format, decimals, prefix, suffix, emptyText, align, emphasis, href, linkBehavior, showPositiveSign, colorCode, }: NumberCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2598
|
+
declare function NumberCell<T = any>({ value, row, context, format, decimals, prefix, suffix, emptyText, align, emphasis, href, linkBehavior, showPositiveSign, colorCode, className, }: NumberCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2463
2599
|
|
|
2464
2600
|
interface SelectCellProps<T = any> extends CellComponentProps<T> {
|
|
2465
2601
|
isSelected?: boolean;
|
|
@@ -2481,9 +2617,13 @@ interface TextCellProps<T = any> extends CellComponentProps<T> {
|
|
|
2481
2617
|
emptyText?: string;
|
|
2482
2618
|
href?: string | ((row: T) => string);
|
|
2483
2619
|
linkBehavior?: LinkBehavior;
|
|
2620
|
+
/** Color variant for links (matches TextLink variants) */
|
|
2621
|
+
linkVariant?: "default" | "brand" | "muted" | "unstyled";
|
|
2622
|
+
/** Text emphasis (use "strong" for bold) */
|
|
2484
2623
|
emphasis?: CellEmphasis;
|
|
2485
2624
|
truncate?: boolean;
|
|
2486
2625
|
align?: "left" | "center" | "right";
|
|
2626
|
+
className?: string;
|
|
2487
2627
|
}
|
|
2488
2628
|
/**
|
|
2489
2629
|
* TextCell
|
|
@@ -2491,7 +2631,7 @@ interface TextCellProps<T = any> extends CellComponentProps<T> {
|
|
|
2491
2631
|
* DataTable cell component for displaying text content.
|
|
2492
2632
|
* Supports prefixes, suffixes, truncation, and optional linking with customizable emphasis levels.
|
|
2493
2633
|
*/
|
|
2494
|
-
declare function TextCell<T = any>({ value, row, context, prefix, suffix, emptyText, href, linkBehavior, emphasis, truncate, align, }: TextCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2634
|
+
declare function TextCell<T = any>({ value, row, context, prefix, suffix, emptyText, href, linkBehavior, linkVariant, emphasis, truncate, align, className, }: TextCellProps<T>): react_jsx_runtime.JSX.Element;
|
|
2495
2635
|
|
|
2496
2636
|
/**
|
|
2497
2637
|
* DataTable
|
|
@@ -2531,6 +2671,196 @@ interface DateRangePickerProps<T extends DateValue> extends DateRangePickerProps
|
|
|
2531
2671
|
}
|
|
2532
2672
|
declare function DateRangePicker<T extends DateValue>({ label, description, errorMessage, ...props }: DateRangePickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
2533
2673
|
|
|
2674
|
+
type HealthStatus = "healthy" | "warning" | "error" | "unknown";
|
|
2675
|
+
interface DeviceHealthBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
|
|
2676
|
+
/** Health status of the device */
|
|
2677
|
+
status: HealthStatus;
|
|
2678
|
+
/** Number of active alerts */
|
|
2679
|
+
alertCount?: number;
|
|
2680
|
+
/** Show alert count in the badge */
|
|
2681
|
+
showCount?: boolean;
|
|
2682
|
+
/** Loading state */
|
|
2683
|
+
isLoading?: boolean;
|
|
2684
|
+
}
|
|
2685
|
+
/**
|
|
2686
|
+
* DeviceHealthBadge
|
|
2687
|
+
*
|
|
2688
|
+
* Displays device health status with optional alert counts.
|
|
2689
|
+
* Maps health status to feedback colors (success/warning/error).
|
|
2690
|
+
* Pulsing dot for warning/error states.
|
|
2691
|
+
*
|
|
2692
|
+
* @example
|
|
2693
|
+
* ```tsx
|
|
2694
|
+
* <DeviceHealthBadge status="healthy" />
|
|
2695
|
+
* <DeviceHealthBadge status="warning" alertCount={2} showCount />
|
|
2696
|
+
* <DeviceHealthBadge status="error" alertCount={5} showCount />
|
|
2697
|
+
* ```
|
|
2698
|
+
*/
|
|
2699
|
+
declare function DeviceHealthBadge({ status, alertCount, showCount, isLoading, size, shape, ...badgeProps }: DeviceHealthBadgeProps): react_jsx_runtime.JSX.Element;
|
|
2700
|
+
|
|
2701
|
+
/**
|
|
2702
|
+
* Device type classification
|
|
2703
|
+
*/
|
|
2704
|
+
type DeviceType = "battery" | "charger" | "thermostat" | "inverter" | "vehicle" | "meter" | "gateway" | "other" | "unknown";
|
|
2705
|
+
|
|
2706
|
+
interface DeviceMetaDisplayProps {
|
|
2707
|
+
/** Device manufacturer name */
|
|
2708
|
+
manufacturer: string;
|
|
2709
|
+
/** Device model */
|
|
2710
|
+
model: string;
|
|
2711
|
+
/** Device serial number (optional) */
|
|
2712
|
+
serialNumber?: string;
|
|
2713
|
+
/** URL to manufacturer logo */
|
|
2714
|
+
logoUrl?: string;
|
|
2715
|
+
/** Device type (for fallback icon) */
|
|
2716
|
+
deviceType: DeviceType;
|
|
2717
|
+
/** Layout mode */
|
|
2718
|
+
layout?: "compact" | "full";
|
|
2719
|
+
/** Show manufacturer logo */
|
|
2720
|
+
showLogo?: boolean;
|
|
2721
|
+
/** Show device type icon */
|
|
2722
|
+
showDeviceTypeIcon?: boolean;
|
|
2723
|
+
/** Loading state */
|
|
2724
|
+
isLoading?: boolean;
|
|
2725
|
+
/** Additional CSS classes */
|
|
2726
|
+
className?: string;
|
|
2727
|
+
}
|
|
2728
|
+
/**
|
|
2729
|
+
* DeviceMetaDisplay
|
|
2730
|
+
*
|
|
2731
|
+
* Displays device metadata (manufacturer, model, serial number) with optional logo.
|
|
2732
|
+
* Supports compact layout for tables and full layout for headers/cards.
|
|
2733
|
+
* Falls back to device type icon if logo fails to load.
|
|
2734
|
+
*
|
|
2735
|
+
* @example
|
|
2736
|
+
* ```tsx
|
|
2737
|
+
* // Table cell
|
|
2738
|
+
* <DeviceMetaDisplay
|
|
2739
|
+
* manufacturer="Tesla"
|
|
2740
|
+
* model="Powerwall 2"
|
|
2741
|
+
* logoUrl="https://..."
|
|
2742
|
+
* deviceType="battery"
|
|
2743
|
+
* layout="compact"
|
|
2744
|
+
* />
|
|
2745
|
+
*
|
|
2746
|
+
* // Page header
|
|
2747
|
+
* <DeviceMetaDisplay
|
|
2748
|
+
* manufacturer="Tesla"
|
|
2749
|
+
* model="Powerwall 2"
|
|
2750
|
+
* serialNumber="TG123456789"
|
|
2751
|
+
* logoUrl="https://..."
|
|
2752
|
+
* deviceType="battery"
|
|
2753
|
+
* layout="full"
|
|
2754
|
+
* showDeviceTypeIcon
|
|
2755
|
+
* />
|
|
2756
|
+
* ```
|
|
2757
|
+
*/
|
|
2758
|
+
declare function DeviceMetaDisplay({ manufacturer, model, serialNumber, logoUrl, deviceType, layout, showLogo, showDeviceTypeIcon, isLoading, className, }: DeviceMetaDisplayProps): react_jsx_runtime.JSX.Element;
|
|
2759
|
+
|
|
2760
|
+
interface DeviceStateBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
|
|
2761
|
+
/** The device state to display */
|
|
2762
|
+
state: DeviceState;
|
|
2763
|
+
/** Custom label override (defaults to auto-capitalized state name) */
|
|
2764
|
+
label?: string;
|
|
2765
|
+
/** Optional icon to display before the label */
|
|
2766
|
+
icon?: IconName$2;
|
|
2767
|
+
/** Loading state */
|
|
2768
|
+
isLoading?: boolean;
|
|
2769
|
+
/** Fixed width for column alignment (useful in tables) */
|
|
2770
|
+
fixedWidth?: boolean;
|
|
2771
|
+
}
|
|
2772
|
+
/**
|
|
2773
|
+
* DeviceStateBadge
|
|
2774
|
+
*
|
|
2775
|
+
* A specialized badge component for displaying device states with smart defaults.
|
|
2776
|
+
* Auto-enables pulsing dot for active states (charging, discharging, heat, cool, on).
|
|
2777
|
+
* Uses semantic device state colors from the theme.
|
|
2778
|
+
*
|
|
2779
|
+
* @example
|
|
2780
|
+
* ```tsx
|
|
2781
|
+
* <DeviceStateBadge state="charging" />
|
|
2782
|
+
* <DeviceStateBadge state="heat" label="Heating Mode" />
|
|
2783
|
+
* <DeviceStateBadge state="on" icon="Lightning" />
|
|
2784
|
+
* ```
|
|
2785
|
+
*/
|
|
2786
|
+
declare function DeviceStateBadge({ state, label, icon, isLoading, size, shape, dot, dotPulse, fixedWidth, className, ...badgeProps }: DeviceStateBadgeProps): react_jsx_runtime.JSX.Element;
|
|
2787
|
+
|
|
2788
|
+
interface DeviceStateWithMetricProps extends Pick<DeviceStateBadgeProps, "state" | "size" | "shape" | "icon"> {
|
|
2789
|
+
/** Custom label for the state badge */
|
|
2790
|
+
stateLabel?: string;
|
|
2791
|
+
/** The metric value to display */
|
|
2792
|
+
metric?: number | null;
|
|
2793
|
+
/** Formatter for the metric (uses FieldFormat system) */
|
|
2794
|
+
metricFormatter?: FieldFormat;
|
|
2795
|
+
/** Optional secondary state badge (e.g., grid status) */
|
|
2796
|
+
secondaryState?: DeviceState | GridState;
|
|
2797
|
+
/** Layout orientation */
|
|
2798
|
+
layout?: "horizontal" | "vertical";
|
|
2799
|
+
/** Loading state */
|
|
2800
|
+
isLoading?: boolean;
|
|
2801
|
+
/** Fixed width for column alignment (useful in tables) */
|
|
2802
|
+
fixedWidth?: boolean;
|
|
2803
|
+
/** Additional CSS classes */
|
|
2804
|
+
className?: string;
|
|
2805
|
+
}
|
|
2806
|
+
/**
|
|
2807
|
+
* DeviceStateWithMetric
|
|
2808
|
+
*
|
|
2809
|
+
* Combines a device state badge with a formatted metric display.
|
|
2810
|
+
* Uses the existing FieldFormat system for flexible metric formatting.
|
|
2811
|
+
* Supports horizontal layout (for tables) and vertical layout (for cards/detail views).
|
|
2812
|
+
*
|
|
2813
|
+
* @example
|
|
2814
|
+
* ```tsx
|
|
2815
|
+
* // Battery: "Charging | 75%"
|
|
2816
|
+
* <DeviceStateWithMetric
|
|
2817
|
+
* state="charging"
|
|
2818
|
+
* metric={75}
|
|
2819
|
+
* metricFormatter={{ type: "number", decimals: 0, suffix: "%" }}
|
|
2820
|
+
* />
|
|
2821
|
+
*
|
|
2822
|
+
* // Inverter: "On | 5.2 kW"
|
|
2823
|
+
* <DeviceStateWithMetric
|
|
2824
|
+
* state="on"
|
|
2825
|
+
* metric={5200}
|
|
2826
|
+
* metricFormatter={{ type: "power", unit: "kW" }}
|
|
2827
|
+
* />
|
|
2828
|
+
*
|
|
2829
|
+
* // Thermostat: "Cool | 72°F"
|
|
2830
|
+
* <DeviceStateWithMetric
|
|
2831
|
+
* state="cool"
|
|
2832
|
+
* metric={72}
|
|
2833
|
+
* metricFormatter={{ type: "temperature", unit: "F" }}
|
|
2834
|
+
* />
|
|
2835
|
+
* ```
|
|
2836
|
+
*/
|
|
2837
|
+
declare function DeviceStateWithMetric({ state, stateLabel, metric, metricFormatter, secondaryState, layout, isLoading, size, shape, icon, fixedWidth, className, }: DeviceStateWithMetricProps): react_jsx_runtime.JSX.Element;
|
|
2838
|
+
|
|
2839
|
+
interface DeviceTypeIconProps {
|
|
2840
|
+
/** The device type to display */
|
|
2841
|
+
deviceType: DeviceType;
|
|
2842
|
+
/** Size of the icon (preset or custom pixel size) */
|
|
2843
|
+
size?: number | "sm" | "md" | "lg" | "xl";
|
|
2844
|
+
/** Show label below the icon */
|
|
2845
|
+
showLabel?: boolean;
|
|
2846
|
+
/** Additional CSS classes */
|
|
2847
|
+
className?: string;
|
|
2848
|
+
}
|
|
2849
|
+
/**
|
|
2850
|
+
* DeviceTypeIcon
|
|
2851
|
+
*
|
|
2852
|
+
* Displays a consistent icon for device types across the platform.
|
|
2853
|
+
* Maps device types to appropriate Phosphor icons with optional labels.
|
|
2854
|
+
*
|
|
2855
|
+
* @example
|
|
2856
|
+
* ```tsx
|
|
2857
|
+
* <DeviceTypeIcon deviceType="battery" size="md" />
|
|
2858
|
+
* <DeviceTypeIcon deviceType="thermostat" showLabel />
|
|
2859
|
+
* <DeviceTypeIcon deviceType="charger" size={32} />
|
|
2860
|
+
* ```
|
|
2861
|
+
*/
|
|
2862
|
+
declare function DeviceTypeIcon({ deviceType, size, showLabel, className, }: DeviceTypeIconProps): react_jsx_runtime.JSX.Element;
|
|
2863
|
+
|
|
2534
2864
|
type BaseDialogHeaderProps = {
|
|
2535
2865
|
title?: string;
|
|
2536
2866
|
onClose: () => void;
|
|
@@ -2649,6 +2979,37 @@ interface EmptyStateProps {
|
|
|
2649
2979
|
*/
|
|
2650
2980
|
declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
2651
2981
|
|
|
2982
|
+
type EnrollmentStatus = "enrolled" | "eligible" | "not_eligible" | "pending" | "opted_out";
|
|
2983
|
+
interface EnrollmentStatusBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
|
|
2984
|
+
/** Enrollment status */
|
|
2985
|
+
status: EnrollmentStatus;
|
|
2986
|
+
/** Program name (shown in tooltip) */
|
|
2987
|
+
programName?: string;
|
|
2988
|
+
/** Loading state */
|
|
2989
|
+
isLoading?: boolean;
|
|
2990
|
+
}
|
|
2991
|
+
/**
|
|
2992
|
+
* EnrollmentStatusBadge
|
|
2993
|
+
*
|
|
2994
|
+
* Displays device enrollment status for programs.
|
|
2995
|
+
* Color-coded status with optional program name in tooltip.
|
|
2996
|
+
*
|
|
2997
|
+
* Status mapping:
|
|
2998
|
+
* - enrolled → success (green)
|
|
2999
|
+
* - eligible → info (blue)
|
|
3000
|
+
* - pending → warning (yellow)
|
|
3001
|
+
* - not_eligible → neutral (gray)
|
|
3002
|
+
* - opted_out → neutral (gray)
|
|
3003
|
+
*
|
|
3004
|
+
* @example
|
|
3005
|
+
* ```tsx
|
|
3006
|
+
* <EnrollmentStatusBadge status="enrolled" programName="Demand Response Q4" />
|
|
3007
|
+
* <EnrollmentStatusBadge status="eligible" />
|
|
3008
|
+
* <EnrollmentStatusBadge status="pending" />
|
|
3009
|
+
* ```
|
|
3010
|
+
*/
|
|
3011
|
+
declare function EnrollmentStatusBadge({ status, programName, isLoading, size, shape, ...badgeProps }: EnrollmentStatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
3012
|
+
|
|
2652
3013
|
interface Props {
|
|
2653
3014
|
children: ReactNode;
|
|
2654
3015
|
fallback?: ReactNode;
|
|
@@ -2871,6 +3232,32 @@ declare function Input({ size, isInvalid, isDisabled, isFocused, transparent, cl
|
|
|
2871
3232
|
*/
|
|
2872
3233
|
declare function FieldGroup(props: FieldGroupProps): react_jsx_runtime.JSX.Element;
|
|
2873
3234
|
|
|
3235
|
+
interface FirmwareVersionBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
|
|
3236
|
+
/** Firmware version string */
|
|
3237
|
+
version: string;
|
|
3238
|
+
/** Whether this is the latest version */
|
|
3239
|
+
isLatest?: boolean;
|
|
3240
|
+
/** Whether an update is available */
|
|
3241
|
+
updateAvailable?: boolean;
|
|
3242
|
+
/** Loading state */
|
|
3243
|
+
isLoading?: boolean;
|
|
3244
|
+
}
|
|
3245
|
+
/**
|
|
3246
|
+
* FirmwareVersionBadge
|
|
3247
|
+
*
|
|
3248
|
+
* Displays firmware version with update status indicators.
|
|
3249
|
+
* Green indicator if latest, orange if update available.
|
|
3250
|
+
* Compact display suitable for tables.
|
|
3251
|
+
*
|
|
3252
|
+
* @example
|
|
3253
|
+
* ```tsx
|
|
3254
|
+
* <FirmwareVersionBadge version="1.2.3" isLatest />
|
|
3255
|
+
* <FirmwareVersionBadge version="1.1.0" updateAvailable />
|
|
3256
|
+
* <FirmwareVersionBadge version="2.0.0-beta" />
|
|
3257
|
+
* ```
|
|
3258
|
+
*/
|
|
3259
|
+
declare function FirmwareVersionBadge({ version, isLatest, updateAvailable, isLoading, size, shape, ...badgeProps }: FirmwareVersionBadgeProps): react_jsx_runtime.JSX.Element;
|
|
3260
|
+
|
|
2874
3261
|
/**
|
|
2875
3262
|
* Form
|
|
2876
3263
|
*
|
|
@@ -2958,6 +3345,34 @@ declare namespace Grid {
|
|
|
2958
3345
|
}
|
|
2959
3346
|
declare function GridItem({ span, className, children, }: GridItemProps): react_jsx_runtime.JSX.Element;
|
|
2960
3347
|
|
|
3348
|
+
interface GridStateBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
|
|
3349
|
+
/** The grid state to display */
|
|
3350
|
+
state: GridState;
|
|
3351
|
+
/** Custom label override (defaults to auto-capitalized state name) */
|
|
3352
|
+
label?: string;
|
|
3353
|
+
/** Show directional icon (arrow up for exporting, arrow down for importing) */
|
|
3354
|
+
showIcon?: boolean;
|
|
3355
|
+
/** Loading state */
|
|
3356
|
+
isLoading?: boolean;
|
|
3357
|
+
/** Fixed width for column alignment (useful in tables) */
|
|
3358
|
+
fixedWidth?: boolean;
|
|
3359
|
+
}
|
|
3360
|
+
/**
|
|
3361
|
+
* GridStateBadge
|
|
3362
|
+
*
|
|
3363
|
+
* A specialized badge component for displaying grid states (importing, exporting).
|
|
3364
|
+
* Optionally shows directional icons to indicate power flow direction.
|
|
3365
|
+
* Uses semantic grid state colors from the theme.
|
|
3366
|
+
*
|
|
3367
|
+
* @example
|
|
3368
|
+
* ```tsx
|
|
3369
|
+
* <GridStateBadge state="importing" />
|
|
3370
|
+
* <GridStateBadge state="exporting" showIcon />
|
|
3371
|
+
* <GridStateBadge state="importing" label="Grid Import" />
|
|
3372
|
+
* ```
|
|
3373
|
+
*/
|
|
3374
|
+
declare function GridStateBadge({ state, label, showIcon, isLoading, size, shape, fixedWidth, className, ...badgeProps }: GridStateBadgeProps): react_jsx_runtime.JSX.Element;
|
|
3375
|
+
|
|
2961
3376
|
interface InfiniteScrollIndicatorProps {
|
|
2962
3377
|
/** Current loading state - determines which indicator to show */
|
|
2963
3378
|
state: "loading-more";
|
|
@@ -4168,14 +4583,14 @@ declare function Aside({ className, children }: SplitPanePanelProps): react_jsx_
|
|
|
4168
4583
|
* Displays formatted statistics with status indicators and optional copy functionality.
|
|
4169
4584
|
* Uses the unified formatting system for consistent data presentation.
|
|
4170
4585
|
*/
|
|
4171
|
-
type StatTone = "neutral" | "success" | "warning" | "error" | "info";
|
|
4586
|
+
type StatTone$1 = "neutral" | "success" | "warning" | "error" | "info";
|
|
4172
4587
|
type StatAlign = "start" | "end";
|
|
4173
4588
|
type StatLayout = "one-column" | "two-column";
|
|
4174
4589
|
type StatValue = FieldValue;
|
|
4175
4590
|
type StatFormatter = ComponentFormatter;
|
|
4176
4591
|
interface StatThreshold {
|
|
4177
4592
|
when: (value: StatValue) => boolean;
|
|
4178
|
-
tone: StatTone;
|
|
4593
|
+
tone: StatTone$1;
|
|
4179
4594
|
}
|
|
4180
4595
|
interface StatItem {
|
|
4181
4596
|
/** Unique identifier */
|
|
@@ -4189,7 +4604,7 @@ interface StatItem {
|
|
|
4189
4604
|
/** Additional metadata below value */
|
|
4190
4605
|
meta?: React__default.ReactNode;
|
|
4191
4606
|
/** Explicit tone/status color */
|
|
4192
|
-
tone?: StatTone;
|
|
4607
|
+
tone?: StatTone$1;
|
|
4193
4608
|
/** Data-driven tone based on value */
|
|
4194
4609
|
thresholds?: StatThreshold[];
|
|
4195
4610
|
/** Enable copy to clipboard */
|
|
@@ -4506,4 +4921,28 @@ interface ColorModeProviderProps {
|
|
|
4506
4921
|
}
|
|
4507
4922
|
declare const ColorModeProvider: React.FC<ColorModeProviderProps>;
|
|
4508
4923
|
|
|
4509
|
-
|
|
4924
|
+
/**
|
|
4925
|
+
* Device state helper utilities
|
|
4926
|
+
*
|
|
4927
|
+
* Pure utility functions for working with device states.
|
|
4928
|
+
* These help Layer 2 & 3 without adding business logic to components.
|
|
4929
|
+
*/
|
|
4930
|
+
/**
|
|
4931
|
+
* Stat tone type (matches StatList component)
|
|
4932
|
+
*/
|
|
4933
|
+
type StatTone = "success" | "warning" | "error" | "info" | "neutral";
|
|
4934
|
+
/**
|
|
4935
|
+
* Map device state to StatList tone for conditional styling
|
|
4936
|
+
*
|
|
4937
|
+
* @param state - Device state
|
|
4938
|
+
* @returns Appropriate tone for StatList component
|
|
4939
|
+
*
|
|
4940
|
+
* @example
|
|
4941
|
+
* ```tsx
|
|
4942
|
+
* const tone = getStateTone("charging"); // "success"
|
|
4943
|
+
* <StatList items={[...]} tone={tone} />
|
|
4944
|
+
* ```
|
|
4945
|
+
*/
|
|
4946
|
+
declare function getStateTone(state: DeviceState): StatTone;
|
|
4947
|
+
|
|
4948
|
+
export { type Action, ActionCell, type ActionCellProps, ActivityFeed, ActivityFeedGroup, type ActivityFeedGroupProps, type ActivityFeedProps, type ActivityFeedSize, type ActivityFeedVariant, ActivityItem, type ActivityItemProps, type ActivityItemSurface, type ActivityItemTone, Alert, type AlertProps, AreaSeries, AutoMobileRenderer, Autocomplete, BREAKPOINTS, BadgeProps, BarSeries, BaseDataPoint, type BaseInputProps, type BaseProps, BooleanCell, type BooleanCellProps, BooleanFormat, BreadcrumbItem, type BreadcrumbItemProps, Breadcrumbs, type Breakpoint, type BreakpointState, Button, Calendar, Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, CardMobileRenderer, type CardProps, type CardVariant, type CellAlignment, type CellComponent, type CellComponentProps, type CellContext, type CellEmphasis, ChartAxis, ChartBottomBar, ChartContainer, type ChartExportMetadata, ChartTooltip, Checkbox, CheckboxGroup, Chip, ClearButton, Collapse, CollapseContent, type CollapseContentProps, type CollapseDensity, CollapseHeader, type CollapseHeaderProps, CollapseItem, type CollapseItemProps, type CollapseProps, type CollapseVariant, ColorModeProvider, type Column, ComponentFormatter, Confirm, type ConfirmProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, CopyToClipboard, CurrencyFormat, CurrentFormat, CustomPinsSpec, DataControls, type Filter as DataControlsFilter, type DataControlsProps, type SortOption as DataControlsSortOption, DataTable, type DataTableProps, DateCell, type DateCellProps, DateFormat, DateRangePicker, Description, type DescriptionProps, DeviceHealthBadge, type DeviceHealthBadgeProps, DeviceMetaDisplay, type DeviceMetaDisplayProps, DeviceState, DeviceStateBadge, type DeviceStateBadgeProps, DeviceStateCell, DeviceStateWithMetric, type DeviceStateWithMetricProps, type DeviceType, DeviceTypeIcon, type DeviceTypeIconProps, Dialog, type DialogAction, type DialogFooterConfig, DialogHeader, type DialogHeaderConfig, type DialogHeaderProps, type DialogProps, DistanceFormat, Drawer, type DrawerProps, EmptyState, type EmptyStateAction, type EmptyStateAlignment, type EmptyStateProps, type EmptyStateSize, EnergyFormat, type EnrollmentStatus, EnrollmentStatusBadge, type EnrollmentStatusBadgeProps, ErrorBoundary, type ExportType, type FacetConfig, type FacetCounts, type FacetType, FieldError, type FieldErrorProps, FieldFormat, FieldGroup, type FieldGroupProps, FieldValue, type FilterChip, FilterChips, type FilterChipsProps, type FilterCondition, FilterDialog, type FilterDialogProps, type FilterGroup, type FilterOperator, type FilterState, FirmwareVersionBadge, type FirmwareVersionBadgeProps, Form, FormatRegistry, FormattedValue, FormatterFunction, GeoJsonLayerSpec, Grid, type GridAlign, type GridCols, type GridFlow, type GridGap, type GridItemProps, type GridJustify, type GridProps, type GridSpan, GridState, GridStateBadge, type GridStateBadgeProps, type HealthStatus, Icon, InfiniteScrollIndicator, type InfiniteScrollIndicatorProps, Input, type InputProps, type InputStyleProps, InputWrapper, Kpi, KpiGroup, type KpiGroupAlign, type KpiGroupCols, type KpiGroupGap, type KpiGroupProps, type KpiOrientation, type KpiProps, type KpiSize, type KpiStatus, Label, type LabelProps, LayerSpec, LineSeries, type LinkBehavior, List, ListBox, ListBoxItem, ListItem, type ListItemProps, ListPane, type ListPaneProps, type ListProps, type LoadingState, type MobileBreakpoint, type MobileConfig, type MobileRenderer, ModalBackdrop, type ModalBackdropProps, Notice, NoticeContainer, type NoticeContainerProps, type NoticeOptions, type NoticeProps, NoticeProvider, type NoticeProviderProps, type NoticeVariant, NumberCell, type NumberCellProps, NumberField, NumberFormat, type PageAsideProps, type PageBreadcrumbItem, type PageContentProps, type PageHeaderProps, PageLayout, type PageLayoutProps, type PageScrollableContentProps, PhoneFormat, PlaceSearch, Popover, PowerFormat, ProgressBar, Radio, RadioCard, RadioCardGroup, type RadioCardGroupProps, type RadioCardProps, RadioGroup, RangeCalendar, RasterLayerSpec, ResistanceFormat, type ResponsiveValue, ResultsCount, type ResultsCountProps, SKELETON_SIZES, type SearchConfig, SearchControl, type SearchControlProps, Section, SectionNav, type SectionNavItem, type SectionNavOrientation, type SectionNavProps, type SectionProps, type SectionSpacing, type SectionVariant, Select, SelectCell, type SelectCellProps, Skeleton, Slider, type SortConfig, SortControl, type SortControlProps, type SortDirection, type SortState, SplitPane, type SplitPaneOrientation, type SplitPanePanelProps, type SplitPaneProps, type StatAlign, type StatFormatter, type StatItem, type StatLayout, StatList, type StatListProps, type StatThreshold, type StatTone$1 as StatTone, type StatValue, Switch, Tab, TabList, TabPanel, type TableDensity, type TableLayout, type TableWidth, Tabs, type TabsProps$1 as TabsProps, TemperatureFormat, TemperatureUnit, TemperatureUnitString, TextArea, TextAreaWithChips, TextCell, type TextCellProps, TextField, TextFormat, TimeField, ToggleButton, Tooltip, TooltipData, Tray, type TrayProps, type TrendPoint, type UseBreakpointReturn, type UseClientDataControlsOptions, type UseClientDataControlsResult, type UseDataControlsClientOptions, type UseDataControlsOptions, type UseDataControlsResult, type UseDataControlsServerOptions, type UseInfiniteScrollOptions, type UseInfiniteScrollReturn, type UseServerDataControlsOptions, VectorLayerSpec, VoltageFormat, YFormatType, addFilterCondition, autoScaleCurrent, autoScaleDistance, autoScaleEnergy, autoScalePower, autoScaleResistance, autoScaleVoltage, camelCaseToWords, capitalize, celsiusToFahrenheit, celsiusToKelvin, centimetersToInches, createEmptyFilter, createFilter, createFilters, createFormat, enumToSentenceCase, exportChart, fahrenheitToCelsius, fahrenheitToKelvin, feetToMeters, feetToMiles, filterToChips, formatBoolean, formatCapacity, formatCurrency, formatCurrent, formatDate, formatDistance, formatEmptyValue, formatEnergy, formatFieldValue, formatInternationalPhone, formatNumber, formatPercent, formatPhone, formatPhoneNumber, formatPower, formatPowerRating, formatResistance, formatTemperature, formatText, formatUSPhone, formatVoltage, getBadgeClasses, getBooleanBadgeVariant, getCellAlignmentClasses, getCellContainerClasses, getCellTextClasses, getDateParts, getExportFormatName, getFieldGroupStyles, getFilterFields, getInputBackgroundStyles, getInputBaseStyles, getInputStateStyles, getNumericColorClasses, getSkeletonSize, getStateTone, inchesToCentimeters, isCustomPinsLayer, isExportSupported, isFilterEmpty, isGeoJsonLayer, isNil, isRasterLayer, isVectorLayer, kelvinToCelsius, kelvinToFahrenheit, kilometersToMiles, layer, metersToFeet, metersToMiles, metersToYards, milesToFeet, milesToKilometers, milesToMeters, parseBoolean, removeFilterCondition, resolveValue, snakeCaseToWords, temperatureStringToSymbol, toA, toActiveInactive, toAmps, toBoolean, toCelsius, toCentimeters, toCheckmark, toCompactNumber, toCurrency, toCustomDateFormat, toDateString, toEnabledDisabled, toFahrenheit, toFeet, toFloat, toFormattedNumber, toFullDateTime, toGW, toGWh, toGigawatts, toISOString, toInches, toInteger, toKA, toKV, toKW, toKelvin, toKiloamps, toKilohms, toKilometers, toKilovolts, toKilowatts, toLowerCase, toMA, toMV, toMW, toMWh, toMegawatts, toMegohms, toMeters, toMiles, toMilliamps, toMillimeters, toMilliohms, toMillivolts, toNauticalMiles, toOhms, toOnOff, toPercentage, toRelativeTime, toScientificNotation, toSecret, toSentenceCase, toTemperature, toTitleCase, toTrueFalse, toUpperCase, toV, toVolts, toW, toWatts, toWh, toYards, tokWh, truncateEnd, truncateMiddle, truncateStart, ucFirst, useBreakpoint, useClientDataControls, useColorMode, useDataControls, useDebounce, useInfiniteScroll, useInputFocus, useLocalStorage, useMediaQuery, useNotice, useServerDataControls, yardsToMeters };
|