@nice2dev/ui 1.4.22 → 1.4.24
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/CHANGELOG.md +96 -0
- package/dist/{NicePivotGrid-BshofJh1.cjs → NicePivotGrid-D53CQ2cY.cjs} +1 -1
- package/dist/charts/NiceAdvancedCharts.mjs +621 -764
- package/dist/charts/NiceBarGauge.mjs +100 -65
- package/dist/charts/NiceBullet.mjs +103 -98
- package/dist/charts/NiceChart.mjs +269 -266
- package/dist/charts/NiceChartRangeSelector.mjs +159 -0
- package/dist/charts/NiceCircularGauge.mjs +99 -70
- package/dist/charts/NiceHeatMap.mjs +140 -70
- package/dist/charts/NiceLinearGauge.mjs +168 -119
- package/dist/charts/NiceOrganizationChart.mjs +183 -90
- package/dist/charts/NicePieChart.mjs +94 -49
- package/dist/charts/NicePolarChart.mjs +2 -2
- package/dist/charts/NiceSankey.mjs +166 -93
- package/dist/charts/NiceStockChart.mjs +258 -157
- package/dist/charts-CSgOgfES.cjs +867 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.ts +150 -104
- package/dist/charts.mjs +22 -24
- package/dist/core/lazy.mjs +50 -63
- package/dist/core-lazy-sO0xvg64.cjs +1 -0
- package/dist/data.cjs +1 -1
- package/dist/demo/docs/docPreviews.mjs +450 -466
- package/dist/demo/docs/docRegistry.mjs +5 -35
- package/dist/index.cjs +60 -67
- package/dist/index.d.ts +145 -174
- package/dist/index.mjs +831 -836
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +49 -23
- package/dist/lazy.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/tools/NiceShowcase.mjs +1 -2
- package/package.json +4 -4
- package/dist/charts/NiceRangeSelector.mjs +0 -135
- package/dist/charts/NiceTreeMap.mjs +0 -100
- package/dist/charts/NiceVectorMap.mjs +0 -59
- package/dist/charts-C3Q3r8Yz.cjs +0 -918
- package/dist/core-lazy-CUnBYI-T.cjs +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -6461,10 +6461,6 @@ export declare const LazyComponents: {
|
|
|
6461
6461
|
* Lazy-loaded NiceChart
|
|
6462
6462
|
*/
|
|
6463
6463
|
Chart: LazyComponentWithPreload<any>;
|
|
6464
|
-
/**
|
|
6465
|
-
* Lazy-loaded NiceVectorMap
|
|
6466
|
-
*/
|
|
6467
|
-
VectorMap: LazyComponentWithPreload<any>;
|
|
6468
6464
|
/**
|
|
6469
6465
|
* Lazy-loaded NiceSankey
|
|
6470
6466
|
*/
|
|
@@ -9609,6 +9605,9 @@ export declare interface NiceChartAnnotation {
|
|
|
9609
9605
|
dash?: string;
|
|
9610
9606
|
}
|
|
9611
9607
|
|
|
9608
|
+
/** Where a chart's legend sits. */
|
|
9609
|
+
export declare type NiceChartLegendPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
9610
|
+
|
|
9612
9611
|
/**
|
|
9613
9612
|
* Props for the NiceChart component — an SVG-based bar, line, and area chart
|
|
9614
9613
|
* with stacking, zoom, crosshair, annotations, legend interaction and PNG export.
|
|
@@ -9620,6 +9619,11 @@ export declare interface NiceChartProps extends NiceStandardProps {
|
|
|
9620
9619
|
height?: number;
|
|
9621
9620
|
title?: string;
|
|
9622
9621
|
showLegend?: boolean;
|
|
9622
|
+
/**
|
|
9623
|
+
* Where the legend sits: `bottom` (default, a row under the plot), `top` (under the title),
|
|
9624
|
+
* `right` or `left` (a column beside the plot). 1.4.23.
|
|
9625
|
+
*/
|
|
9626
|
+
legendPlacement?: NiceChartLegendPlacement;
|
|
9623
9627
|
/** Show gridlines (horizontal lines at Y ticks). Defaults to true. */
|
|
9624
9628
|
showGrid?: boolean;
|
|
9625
9629
|
/** Show axis tick labels (Y values, X categories). Defaults to true. */
|
|
@@ -9644,6 +9648,36 @@ export declare interface NiceChartProps extends NiceStandardProps {
|
|
|
9644
9648
|
exportable?: boolean;
|
|
9645
9649
|
}
|
|
9646
9650
|
|
|
9651
|
+
export declare const NiceChartRangeSelector: default_2.FC<NiceChartRangeSelectorProps>;
|
|
9652
|
+
|
|
9653
|
+
/** Props for the {@link NiceChartRangeSelector} component — a chart's range window with handles over an optional sparkline. */
|
|
9654
|
+
export declare interface NiceChartRangeSelectorProps extends NiceStandardProps {
|
|
9655
|
+
/** Sparkline data rendered behind the window. */
|
|
9656
|
+
data?: number[];
|
|
9657
|
+
/** Minimum selectable value. */
|
|
9658
|
+
min: number;
|
|
9659
|
+
/** Maximum selectable value. */
|
|
9660
|
+
max: number;
|
|
9661
|
+
/** Current start of the selected range. */
|
|
9662
|
+
start: number;
|
|
9663
|
+
/** Current end of the selected range. */
|
|
9664
|
+
end: number;
|
|
9665
|
+
/** Called when the range changes. */
|
|
9666
|
+
onChange: (start: number, end: number) => void;
|
|
9667
|
+
/** Width in px (the starting width when `responsive`). */
|
|
9668
|
+
width?: number;
|
|
9669
|
+
/** Height in px. */
|
|
9670
|
+
height?: number;
|
|
9671
|
+
/** Step increment. */
|
|
9672
|
+
step?: number;
|
|
9673
|
+
/** Custom value formatter. */
|
|
9674
|
+
formatValue?: (v: number) => string;
|
|
9675
|
+
/** Sparkline fill color. */
|
|
9676
|
+
chartColor?: string;
|
|
9677
|
+
/** Follow the container's width. Default `true`. */
|
|
9678
|
+
responsive?: boolean;
|
|
9679
|
+
}
|
|
9680
|
+
|
|
9647
9681
|
/** A single data series in a {@link NiceChart}. */
|
|
9648
9682
|
export declare interface NiceChartSeries {
|
|
9649
9683
|
name: string;
|
|
@@ -9796,9 +9830,9 @@ export declare interface NiceCircularGaugeProps extends NiceStandardProps {
|
|
|
9796
9830
|
startAngle?: number;
|
|
9797
9831
|
/** Arc end angle in degrees. */
|
|
9798
9832
|
endAngle?: number;
|
|
9799
|
-
/** Active arc color. */
|
|
9833
|
+
/** Active arc color. Empty (default): the theme's primary colour. */
|
|
9800
9834
|
color?: string;
|
|
9801
|
-
/** Background track color. */
|
|
9835
|
+
/** Background track color. Empty (default): the theme's border colour. */
|
|
9802
9836
|
trackColor?: string;
|
|
9803
9837
|
/** Center label text. */
|
|
9804
9838
|
label?: string;
|
|
@@ -14765,22 +14799,47 @@ export declare const NiceHeatMap: default_2.ForwardRefExoticComponent<NiceHeatMa
|
|
|
14765
14799
|
displayName: string;
|
|
14766
14800
|
};
|
|
14767
14801
|
|
|
14768
|
-
/** Props for the {@link NiceHeatMap} component — a
|
|
14802
|
+
/** Props for the {@link NiceHeatMap} component — a matrix coloured by value. */
|
|
14769
14803
|
export declare interface NiceHeatMapProps extends NiceStandardProps {
|
|
14770
|
-
/**
|
|
14771
|
-
data?: number
|
|
14772
|
-
/** Column
|
|
14804
|
+
/** Matrix of values, rows × columns; `null` is an empty cell. */
|
|
14805
|
+
data?: Array<Array<number | null>>;
|
|
14806
|
+
/** Column labels (along the top). */
|
|
14773
14807
|
xLabels?: string[];
|
|
14774
|
-
/** Row
|
|
14808
|
+
/** Row labels (along the left). */
|
|
14775
14809
|
yLabels?: string[];
|
|
14776
|
-
/**
|
|
14777
|
-
|
|
14778
|
-
|
|
14779
|
-
|
|
14780
|
-
|
|
14810
|
+
/**
|
|
14811
|
+
* Colour stops from low to high: two for a sequential scale, three (low, middle, high) for a
|
|
14812
|
+
* diverging one. Theme colours by default.
|
|
14813
|
+
*/
|
|
14814
|
+
colors?: [string, string] | [string, string, string];
|
|
14815
|
+
/** Fires when a cell is clicked. */
|
|
14816
|
+
onCellClick?: (row: number, col: number, value: number | null) => void;
|
|
14817
|
+
/** Smallest cell size in px (cells grow to fill the width when `responsive`). Default 32. */
|
|
14781
14818
|
cellSize?: number;
|
|
14782
|
-
/**
|
|
14819
|
+
/** Write the values in the cells. Default `false` — the colours carry them. 1.4.24. */
|
|
14783
14820
|
showValues?: boolean;
|
|
14821
|
+
/** Colour scale legend under the matrix. Default `true`. 1.4.24. */
|
|
14822
|
+
showLegend?: boolean;
|
|
14823
|
+
/** Tooltip with the row, the column and the value. Default `true`. 1.4.24. */
|
|
14824
|
+
showTooltip?: boolean;
|
|
14825
|
+
/** Cells fill the container's width. Default `true`. 1.4.24. */
|
|
14826
|
+
responsive?: boolean;
|
|
14827
|
+
/** Low end of the scale (default: the smallest value). 1.4.24. */
|
|
14828
|
+
min?: number;
|
|
14829
|
+
/** High end of the scale (default: the largest value). 1.4.24. */
|
|
14830
|
+
max?: number;
|
|
14831
|
+
/** Gap between cells in px. Default 2. 1.4.24. */
|
|
14832
|
+
cellGap?: number;
|
|
14833
|
+
/** Corner radius of the cells in px. Default 3. 1.4.24. */
|
|
14834
|
+
cellRadius?: number;
|
|
14835
|
+
/** Colour of empty (`null`) cells. 1.4.24. */
|
|
14836
|
+
emptyColor?: string;
|
|
14837
|
+
/** Format a value for the cells, the tooltip and the legend. 1.4.24. */
|
|
14838
|
+
formatValue?: (v: number) => string;
|
|
14839
|
+
/** Title of the column axis. 1.4.24. */
|
|
14840
|
+
xAxisLabel?: string;
|
|
14841
|
+
/** Title of the row axis. 1.4.24. */
|
|
14842
|
+
yAxisLabel?: string;
|
|
14784
14843
|
}
|
|
14785
14844
|
|
|
14786
14845
|
export declare const NiceHelpDesk: default_2.FC<NiceHelpDeskProps>;
|
|
@@ -15974,6 +16033,10 @@ export declare interface NiceLinearGaugeProps extends NiceStandardProps {
|
|
|
15974
16033
|
color?: string;
|
|
15975
16034
|
/** Label text. */
|
|
15976
16035
|
label?: string;
|
|
16036
|
+
/** Where the label sits: below the gauge (default), above it, or on its left. 1.4.23. */
|
|
16037
|
+
labelPlacement?: 'bottom' | 'top' | 'left';
|
|
16038
|
+
/** Show the current value as text next to the pointer. Default `false`. 1.4.23. */
|
|
16039
|
+
showValueLabel?: boolean;
|
|
15977
16040
|
/** Custom value formatter. */
|
|
15978
16041
|
formatValue?: (v: number) => string;
|
|
15979
16042
|
/** Colored range segments. */
|
|
@@ -16780,10 +16843,17 @@ export declare interface NiceMapChartProps extends NiceStandardProps {
|
|
|
16780
16843
|
onRegionHover?: (region: MapRegion | null) => void;
|
|
16781
16844
|
/** Tytuł */
|
|
16782
16845
|
title?: string;
|
|
16783
|
-
/** Niestandardowy SVG mapy */
|
|
16846
|
+
/** Niestandardowy SVG mapy — drawn as a background image (1.4.24: no longer injected as HTML). */
|
|
16784
16847
|
mapSvg?: string;
|
|
16785
16848
|
/** Zoom kontrolowany */
|
|
16786
16849
|
zoomable?: boolean;
|
|
16850
|
+
/** Highlighted region (from the former NiceVectorMap). 1.4.24. */
|
|
16851
|
+
selectedRegionId?: string;
|
|
16852
|
+
/**
|
|
16853
|
+
* Geographic bounds `[west, south, east, north]` of the viewBox: bubbles' `lng` / `lat` are then
|
|
16854
|
+
* projected into it. Without bounds they are viewBox coordinates, as before. 1.4.24.
|
|
16855
|
+
*/
|
|
16856
|
+
bounds?: [number, number, number, number];
|
|
16787
16857
|
}
|
|
16788
16858
|
|
|
16789
16859
|
/** A map marker for the {@link NiceMap} component. */
|
|
@@ -16828,18 +16898,6 @@ export declare interface NiceMapProps extends NiceBaseProps {
|
|
|
16828
16898
|
provider?: 'osm';
|
|
16829
16899
|
}
|
|
16830
16900
|
|
|
16831
|
-
/** A geographic region rendered by the {@link NiceVectorMap}. */
|
|
16832
|
-
export declare interface NiceMapRegion {
|
|
16833
|
-
/** Unique region identifier (e.g. ISO code). */
|
|
16834
|
-
id: string;
|
|
16835
|
-
/** Display name. */
|
|
16836
|
-
name: string;
|
|
16837
|
-
/** SVG path data. */
|
|
16838
|
-
path: string;
|
|
16839
|
-
/** Data value (drives color intensity). */
|
|
16840
|
-
value?: number;
|
|
16841
|
-
}
|
|
16842
|
-
|
|
16843
16901
|
export declare const NiceMarkdownEditor: default_2.ForwardRefExoticComponent<NiceMarkdownEditorProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
16844
16902
|
displayName: string;
|
|
16845
16903
|
};
|
|
@@ -18901,6 +18959,18 @@ export declare interface NiceOrganizationChartProps extends NiceStandardProps {
|
|
|
18901
18959
|
exportable?: boolean | Array<'svg' | 'png'>;
|
|
18902
18960
|
/** An export, instead of downloading it (`svg`: the document text, `png`: the image). */
|
|
18903
18961
|
onExport?: (format: 'svg' | 'png', data: string | Blob) => void;
|
|
18962
|
+
/** Drag the chart with the pointer (the hand). Default `true`. 1.4.24. */
|
|
18963
|
+
pannable?: boolean;
|
|
18964
|
+
/** Zoom with the wheel — `'ctrl'` (default) only with Ctrl / ⌘ held, `true` always. 1.4.24. */
|
|
18965
|
+
wheelZoom?: boolean | 'ctrl';
|
|
18966
|
+
/** A search box in the toolbar: matches are highlighted, expanded and brought into view. 1.4.24. */
|
|
18967
|
+
searchable?: boolean;
|
|
18968
|
+
/** Start with branches below this depth collapsed (0 = only the root open). 1.4.24. */
|
|
18969
|
+
collapsedDepth?: number;
|
|
18970
|
+
/** Keys drawn highlighted. 1.4.24. */
|
|
18971
|
+
highlightKeys?: string[];
|
|
18972
|
+
/** Fires when a node is clicked (with or without `selectable`). 1.4.24. */
|
|
18973
|
+
onNodeClick?: (node: NiceOrgNode) => void;
|
|
18904
18974
|
}
|
|
18905
18975
|
|
|
18906
18976
|
export { NiceOrganizationProfile }
|
|
@@ -19493,8 +19563,18 @@ export declare interface NicePieChartProps extends NiceStandardProps {
|
|
|
19493
19563
|
title?: string;
|
|
19494
19564
|
/** Show the legend. */
|
|
19495
19565
|
showLegend?: boolean;
|
|
19566
|
+
/**
|
|
19567
|
+
* Where the legend sits: `right` (default, a column), `left`, `top` (under the title) or `bottom`
|
|
19568
|
+
* (rows). 1.4.23.
|
|
19569
|
+
*/
|
|
19570
|
+
legendPlacement?: NiceChartLegendPlacement;
|
|
19496
19571
|
/** Show percentage labels on slices. */
|
|
19497
19572
|
showLabels?: boolean;
|
|
19573
|
+
/**
|
|
19574
|
+
* Width in px of the see-through gap between slices. Default 2; 0 draws the slices edge to edge.
|
|
19575
|
+
* 1.4.23.
|
|
19576
|
+
*/
|
|
19577
|
+
splitSize?: number;
|
|
19498
19578
|
}
|
|
19499
19579
|
|
|
19500
19580
|
/** A slice in the {@link NicePieChart}. */
|
|
@@ -20315,34 +20395,6 @@ export declare interface NiceRadioGroupProps extends NiceFormFieldProps {
|
|
|
20315
20395
|
direction?: 'horizontal' | 'vertical';
|
|
20316
20396
|
}
|
|
20317
20397
|
|
|
20318
|
-
export declare const NiceRangeSelector: default_2.FC<NiceRangeSelectorProps>;
|
|
20319
|
-
|
|
20320
|
-
/** Props for the {@link NiceRangeSelector} component — a dual-handle range slider with optional sparkline background. */
|
|
20321
|
-
export declare interface NiceRangeSelectorProps extends NiceStandardProps {
|
|
20322
|
-
/** Sparkline data rendered behind the handles. */
|
|
20323
|
-
data?: number[];
|
|
20324
|
-
/** Minimum selectable value. */
|
|
20325
|
-
min: number;
|
|
20326
|
-
/** Maximum selectable value. */
|
|
20327
|
-
max: number;
|
|
20328
|
-
/** Current start of the selected range. */
|
|
20329
|
-
start: number;
|
|
20330
|
-
/** Current end of the selected range. */
|
|
20331
|
-
end: number;
|
|
20332
|
-
/** Called when the range changes. */
|
|
20333
|
-
onChange: (start: number, end: number) => void;
|
|
20334
|
-
/** SVG width in px. */
|
|
20335
|
-
width?: number;
|
|
20336
|
-
/** SVG height in px. */
|
|
20337
|
-
height?: number;
|
|
20338
|
-
/** Step increment. */
|
|
20339
|
-
step?: number;
|
|
20340
|
-
/** Custom value formatter. */
|
|
20341
|
-
formatValue?: (v: number) => string;
|
|
20342
|
-
/** Sparkline fill color. */
|
|
20343
|
-
chartColor?: string;
|
|
20344
|
-
}
|
|
20345
|
-
|
|
20346
20398
|
export declare const NiceRangeSlider: default_2.FC<NiceRangeSliderProps>;
|
|
20347
20399
|
|
|
20348
20400
|
/** Props for the {@link NiceRangeSlider} component — a dual-thumb slider for selecting a numeric range. */
|
|
@@ -21331,33 +21383,6 @@ export declare interface NiceRulesEngineProps extends NiceBaseProps {
|
|
|
21331
21383
|
|
|
21332
21384
|
export declare const NiceSankey: default_2.FC<NiceSankeyProps>;
|
|
21333
21385
|
|
|
21334
|
-
export declare const NiceSankeyChart: default_2.FC<NiceSankeyChartProps>;
|
|
21335
|
-
|
|
21336
|
-
export declare interface NiceSankeyChartProps extends NiceStandardProps {
|
|
21337
|
-
/** Węzły */
|
|
21338
|
-
nodes?: SankeyNode[];
|
|
21339
|
-
/** Połączenia */
|
|
21340
|
-
links?: SankeyLink[];
|
|
21341
|
-
/** Szerokość */
|
|
21342
|
-
width?: number;
|
|
21343
|
-
/** Wysokość */
|
|
21344
|
-
height?: number;
|
|
21345
|
-
/** Szerokość węzła */
|
|
21346
|
-
nodeWidth?: number;
|
|
21347
|
-
/** Padding między węzłami */
|
|
21348
|
-
nodePadding?: number;
|
|
21349
|
-
/** Pokaż wartości */
|
|
21350
|
-
showValues?: boolean;
|
|
21351
|
-
/** Pokaż tooltip */
|
|
21352
|
-
showTooltip?: boolean;
|
|
21353
|
-
/** Callback po kliknięciu węzła */
|
|
21354
|
-
onNodeClick?: (node: SankeyNode) => void;
|
|
21355
|
-
/** Callback po kliknięciu połączenia */
|
|
21356
|
-
onLinkClick?: (link: SankeyLink) => void;
|
|
21357
|
-
/** Tytuł */
|
|
21358
|
-
title?: string;
|
|
21359
|
-
}
|
|
21360
|
-
|
|
21361
21386
|
/** A flow link between two {@link NiceSankeyNode} entries. */
|
|
21362
21387
|
export declare interface NiceSankeyLink {
|
|
21363
21388
|
/** Source node id. */
|
|
@@ -21366,14 +21391,18 @@ export declare interface NiceSankeyLink {
|
|
|
21366
21391
|
target: string;
|
|
21367
21392
|
/** Flow magnitude. */
|
|
21368
21393
|
value: number;
|
|
21394
|
+
/** Link colour (default: a gradient from the source's colour to the target's). */
|
|
21395
|
+
color?: string;
|
|
21369
21396
|
}
|
|
21370
21397
|
|
|
21371
21398
|
/** A node in the {@link NiceSankey} diagram. */
|
|
21372
21399
|
export declare interface NiceSankeyNode {
|
|
21373
21400
|
/** Unique identifier. */
|
|
21374
21401
|
id: string;
|
|
21375
|
-
/** Node label. */
|
|
21376
|
-
label
|
|
21402
|
+
/** Node label (default: `name`, then the id). */
|
|
21403
|
+
label?: string;
|
|
21404
|
+
/** Alias of `label`, as in the former NiceSankeyChart. */
|
|
21405
|
+
name?: string;
|
|
21377
21406
|
/** Node color. */
|
|
21378
21407
|
color?: string;
|
|
21379
21408
|
}
|
|
@@ -21394,6 +21423,16 @@ export declare interface NiceSankeyProps extends NiceStandardProps {
|
|
|
21394
21423
|
nodePadding?: number;
|
|
21395
21424
|
/** Chart title. */
|
|
21396
21425
|
title?: string;
|
|
21426
|
+
/** Add each node's total to its label. 1.4.24. */
|
|
21427
|
+
showValues?: boolean;
|
|
21428
|
+
/** Native tooltips on nodes and links. Default `true`. 1.4.24. */
|
|
21429
|
+
showTooltip?: boolean;
|
|
21430
|
+
/** Links drawn as a gradient from the source's colour to the target's. Default `true`. 1.4.24. */
|
|
21431
|
+
gradientLinks?: boolean;
|
|
21432
|
+
/** Fires when a node is clicked. 1.4.24. */
|
|
21433
|
+
onNodeClick?: (node: NiceSankeyNode) => void;
|
|
21434
|
+
/** Fires when a link is clicked. 1.4.24. */
|
|
21435
|
+
onLinkClick?: (link: NiceSankeyLink) => void;
|
|
21397
21436
|
}
|
|
21398
21437
|
|
|
21399
21438
|
export declare interface NiceSavedQuery {
|
|
@@ -23413,6 +23452,12 @@ export declare interface NiceStockChartProps extends NiceStandardProps {
|
|
|
23413
23452
|
bullColor?: string;
|
|
23414
23453
|
/** Color for bearish candles. */
|
|
23415
23454
|
bearColor?: string;
|
|
23455
|
+
/** Crosshair with the day's open / high / low / close / volume. Default `true`. 1.4.24. */
|
|
23456
|
+
showCrosshair?: boolean;
|
|
23457
|
+
/** Follow the container's width (`width` is the starting size). Default `true`. 1.4.24. */
|
|
23458
|
+
responsive?: boolean;
|
|
23459
|
+
/** Format a price for the axis and the tooltip. Default: two decimals. 1.4.24. */
|
|
23460
|
+
formatPrice?: (v: number) => string;
|
|
23416
23461
|
}
|
|
23417
23462
|
|
|
23418
23463
|
/** Chart type for the {@link NiceStockChart}. */
|
|
@@ -25445,15 +25490,21 @@ export declare interface NiceTreeListProps<T extends NiceTreeListNode = NiceTree
|
|
|
25445
25490
|
emptyText?: string;
|
|
25446
25491
|
}
|
|
25447
25492
|
|
|
25448
|
-
export declare const NiceTreeMap: default_2.
|
|
25449
|
-
displayName: string;
|
|
25450
|
-
};
|
|
25493
|
+
export declare const NiceTreeMap: default_2.FC<NiceTreeMapProps>;
|
|
25451
25494
|
|
|
25452
|
-
|
|
25495
|
+
/** A node of a {@link NiceTreeMap}. */
|
|
25496
|
+
export declare interface NiceTreeMapNode {
|
|
25497
|
+
id: string;
|
|
25498
|
+
name: string;
|
|
25499
|
+
value: number;
|
|
25500
|
+
color?: string;
|
|
25501
|
+
children?: NiceTreeMapNode[];
|
|
25502
|
+
}
|
|
25453
25503
|
|
|
25454
|
-
|
|
25504
|
+
/** Props for {@link NiceTreeMap}. */
|
|
25505
|
+
export declare interface NiceTreeMapProps extends NiceStandardProps {
|
|
25455
25506
|
/** Dane hierarchiczne. Można też podać płaską listę — zostanie opakowana w wirtualny korzeń. */
|
|
25456
|
-
data:
|
|
25507
|
+
data: NiceTreeMapNode | Array<{
|
|
25457
25508
|
label?: string;
|
|
25458
25509
|
name?: string;
|
|
25459
25510
|
value: number;
|
|
@@ -25468,7 +25519,7 @@ export declare interface NiceTreeMapChartProps extends NiceStandardProps {
|
|
|
25468
25519
|
/** Pokaż wartości */
|
|
25469
25520
|
showValues?: boolean;
|
|
25470
25521
|
/** Callback po kliknięciu */
|
|
25471
|
-
onNodeClick?: (node:
|
|
25522
|
+
onNodeClick?: (node: NiceTreeMapNode, path: string[]) => void;
|
|
25472
25523
|
/** Umożliw drill-down */
|
|
25473
25524
|
drilldownEnabled?: boolean;
|
|
25474
25525
|
/** Kolory */
|
|
@@ -25477,34 +25528,6 @@ export declare interface NiceTreeMapChartProps extends NiceStandardProps {
|
|
|
25477
25528
|
tilePadding?: number;
|
|
25478
25529
|
}
|
|
25479
25530
|
|
|
25480
|
-
/** A hierarchical node in the {@link NiceTreeMap}. */
|
|
25481
|
-
export declare interface NiceTreeMapNode {
|
|
25482
|
-
/** Unique key. */
|
|
25483
|
-
key: string;
|
|
25484
|
-
/** Node label. */
|
|
25485
|
-
label: string;
|
|
25486
|
-
/** Numeric weight (determines area). */
|
|
25487
|
-
value: number;
|
|
25488
|
-
/** Node color. */
|
|
25489
|
-
color?: string;
|
|
25490
|
-
/** Child nodes. */
|
|
25491
|
-
children?: NiceTreeMapNode[];
|
|
25492
|
-
}
|
|
25493
|
-
|
|
25494
|
-
/** Props for the {@link NiceTreeMap} component — a squarified treemap visualization. */
|
|
25495
|
-
export declare interface NiceTreeMapProps extends NiceStandardProps {
|
|
25496
|
-
/** Root node. */
|
|
25497
|
-
data: NiceTreeMapNode;
|
|
25498
|
-
/** SVG width in px. */
|
|
25499
|
-
width?: number;
|
|
25500
|
-
/** SVG height in px. */
|
|
25501
|
-
height?: number;
|
|
25502
|
-
/** Called when a leaf node is clicked. */
|
|
25503
|
-
onNodeClick?: (node: NiceTreeMapNode) => void;
|
|
25504
|
-
/** Color palette. */
|
|
25505
|
-
colors?: string[];
|
|
25506
|
-
}
|
|
25507
|
-
|
|
25508
25531
|
/** A node in the {@link NiceTreeView} hierarchy. */
|
|
25509
25532
|
export declare interface NiceTreeNode {
|
|
25510
25533
|
/** Unique key. */
|
|
@@ -26183,35 +26206,6 @@ export declare type NiceValueType = 'text' | 'number' | 'date' | 'boolean' | 'an
|
|
|
26183
26206
|
|
|
26184
26207
|
export { NiceVariant }
|
|
26185
26208
|
|
|
26186
|
-
export declare const NiceVectorMap: default_2.FC<NiceVectorMapProps>;
|
|
26187
|
-
|
|
26188
|
-
/** Props for the {@link NiceVectorMap} component — an SVG choropleth map with region selection and tooltips. */
|
|
26189
|
-
export declare interface NiceVectorMapProps extends NiceStandardProps {
|
|
26190
|
-
/** Region definitions. */
|
|
26191
|
-
regions?: NiceMapRegion[];
|
|
26192
|
-
/** SVG width in px. */
|
|
26193
|
-
width?: number;
|
|
26194
|
-
/** SVG height in px. */
|
|
26195
|
-
height?: number;
|
|
26196
|
-
/** SVG viewBox (overrides width/height). */
|
|
26197
|
-
viewBox?: string;
|
|
26198
|
-
/**
|
|
26199
|
-
* Color scale as [min color, max color] — `#rrggbb` hex, interpolated numerically per
|
|
26200
|
-
* region (a `var()` token cannot be interpolated).
|
|
26201
|
-
*/
|
|
26202
|
-
colorRange?: [string, string];
|
|
26203
|
-
/** Maximum data value (for color interpolation). */
|
|
26204
|
-
maxValue?: number;
|
|
26205
|
-
/** Called when a region is clicked. */
|
|
26206
|
-
onRegionClick?: (region: NiceMapRegion) => void;
|
|
26207
|
-
/** Currently selected region id. */
|
|
26208
|
-
selectedRegionId?: string;
|
|
26209
|
-
/** Map title. */
|
|
26210
|
-
title?: string;
|
|
26211
|
-
/** Show tooltip on hover. */
|
|
26212
|
-
showTooltip?: boolean;
|
|
26213
|
-
}
|
|
26214
|
-
|
|
26215
26209
|
export declare function NiceVideoAnnotator({ video: initialVideo, annotations: initialAnnotations, markers: initialMarkers, transcription: initialTranscription, speakers: initialSpeakers, currentUser, enableSpatialAnnotations, enableTranscription, enableComments, enableReview: _enableReview, autoSaveInterval: _autoSaveInterval, onAnnotationsChange, onMarkersChange, onTranscriptionChange: _onTranscriptionChange, onAutoSave: _onAutoSave, onFrameExtracted, renderAnnotation, editorSize, className, style, children, ...baseProps }: NiceVideoAnnotatorProps): default_2.JSX.Element;
|
|
26216
26210
|
|
|
26217
26211
|
export declare interface NiceVideoAnnotatorProps extends NiceBaseProps {
|
|
@@ -28945,21 +28939,6 @@ export declare interface SalesforceConnectorConfig extends ConnectorConfig {
|
|
|
28945
28939
|
};
|
|
28946
28940
|
}
|
|
28947
28941
|
|
|
28948
|
-
export declare interface SankeyLink {
|
|
28949
|
-
source: string;
|
|
28950
|
-
target: string;
|
|
28951
|
-
value: number;
|
|
28952
|
-
color?: string;
|
|
28953
|
-
}
|
|
28954
|
-
|
|
28955
|
-
export declare interface SankeyNode {
|
|
28956
|
-
id: string;
|
|
28957
|
-
name?: string;
|
|
28958
|
-
/** Optional human-readable label. Falls back to `name` when omitted. */
|
|
28959
|
-
label?: string;
|
|
28960
|
-
color?: string;
|
|
28961
|
-
}
|
|
28962
|
-
|
|
28963
28942
|
export declare const SAPConnector: ConnectorDefinition;
|
|
28964
28943
|
|
|
28965
28944
|
export declare interface SAPConnectorConfig extends ConnectorConfig {
|
|
@@ -31450,14 +31429,6 @@ export declare function treeKeyboardMove(e: Pick<KeyboardEvent, 'key' | 'ctrlKey
|
|
|
31450
31429
|
*/
|
|
31451
31430
|
export declare function treeKeyboardTarget(move: NiceTreeKeyboardMove, key: string, parentKey: string | null, siblings: readonly string[]): NiceTreeDropTarget | null;
|
|
31452
31431
|
|
|
31453
|
-
export declare interface TreeMapNode {
|
|
31454
|
-
id: string;
|
|
31455
|
-
name: string;
|
|
31456
|
-
value: number;
|
|
31457
|
-
color?: string;
|
|
31458
|
-
children?: TreeMapNode[];
|
|
31459
|
-
}
|
|
31460
|
-
|
|
31461
31432
|
/** Levels in a node's subtree: 1 for a node without children. */
|
|
31462
31433
|
export declare function treeNodeHeight<T>(node: T, options?: TreeEditOptions): number;
|
|
31463
31434
|
|