@nice2dev/ui 1.4.23 → 1.4.25
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 +100 -0
- package/README.md +2 -4
- package/dist/NiceModuleLifecyclePanel-bsHwj1pO.cjs +1 -0
- package/dist/{NicePivotGrid-B5Fgi5E_.cjs → NicePivotGrid-D53CQ2cY.cjs} +1 -1
- package/dist/{NiceStreamDashboard.doc-74KUXya1.cjs → NiceStreamDashboard.doc-CdkHFf4Y.cjs} +2 -2
- package/dist/charts/NiceAdvancedCharts.mjs +586 -773
- package/dist/charts/NiceChartRangeSelector.mjs +159 -0
- package/dist/charts/NiceHeatMap.mjs +140 -70
- package/dist/charts/NiceOrganizationChart.mjs +183 -90
- 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 +126 -102
- 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 +504 -546
- package/dist/demo/docs/docRegistry.mjs +9 -94
- package/dist/docs/NiceStreamDashboard.doc.json.mjs +1 -1
- package/dist/documentation/utils.mjs +1 -1
- package/dist/index.cjs +95 -121
- package/dist/index.d.ts +126 -217
- package/dist/index.mjs +829 -836
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +41 -23
- package/dist/lazy.mjs +1 -1
- package/dist/navigation/NiceDock.mjs +55 -48
- package/dist/navigation/NiceMenuTypes.mjs +197 -251
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +5 -16
- package/dist/navigation.mjs +53 -54
- package/dist/style.css +2 -2
- package/dist/tools/NiceShowcase.mjs +2 -4
- package/package.json +4 -4
- package/dist/NiceDiagram.doc-CASS0Tnj.cjs +0 -8
- package/dist/NiceModuleLifecyclePanel-jckyVqqt.cjs +0 -1
- package/dist/charts/NiceRangeSelector.mjs +0 -135
- package/dist/charts/NiceTreeMap.mjs +0 -100
- package/dist/charts/NiceVectorMap.mjs +0 -59
- package/dist/charts-C9B548D2.cjs +0 -924
- package/dist/core-lazy-B54FdghB.cjs +0 -1
- package/dist/docs/NiceDiagram.doc.json.mjs +0 -32
- package/dist/tools/NiceChat.mjs +0 -98
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
|
*/
|
|
@@ -9652,6 +9648,36 @@ export declare interface NiceChartProps extends NiceStandardProps {
|
|
|
9652
9648
|
exportable?: boolean;
|
|
9653
9649
|
}
|
|
9654
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
|
+
|
|
9655
9681
|
/** A single data series in a {@link NiceChart}. */
|
|
9656
9682
|
export declare interface NiceChartSeries {
|
|
9657
9683
|
name: string;
|
|
@@ -9660,51 +9686,6 @@ export declare interface NiceChartSeries {
|
|
|
9660
9686
|
type?: 'bar' | 'line' | 'area' | 'scatter' | 'radar';
|
|
9661
9687
|
}
|
|
9662
9688
|
|
|
9663
|
-
export declare const NiceChat: default_2.ForwardRefExoticComponent<NiceChatProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
9664
|
-
displayName: string;
|
|
9665
|
-
};
|
|
9666
|
-
|
|
9667
|
-
/** A message in the {@link NiceChat} component. */
|
|
9668
|
-
export declare interface NiceChatMessage {
|
|
9669
|
-
/** Unique id. */
|
|
9670
|
-
id: string | number;
|
|
9671
|
-
/** Message text. */
|
|
9672
|
-
text: string;
|
|
9673
|
-
/** Author name. */
|
|
9674
|
-
author: string;
|
|
9675
|
-
/** Message timestamp. */
|
|
9676
|
-
timestamp: Date;
|
|
9677
|
-
/** Whether the message was sent by the current user. */
|
|
9678
|
-
isOwn?: boolean;
|
|
9679
|
-
/** Author avatar URL. */
|
|
9680
|
-
avatar?: string;
|
|
9681
|
-
/** Delivery status. */
|
|
9682
|
-
status?: 'sending' | 'sent' | 'delivered' | 'read' | 'error';
|
|
9683
|
-
}
|
|
9684
|
-
|
|
9685
|
-
/** Props for the {@link NiceChat} component — a chat / messaging widget with message bubbles and input. */
|
|
9686
|
-
export declare interface NiceChatProps extends NiceBaseProps {
|
|
9687
|
-
/** Chat messages. Optional: without them the chat starts empty. */
|
|
9688
|
-
messages?: NiceChatMessage[];
|
|
9689
|
-
/**
|
|
9690
|
-
* Called when the user sends a message. Optional: without it the chat is a read-only
|
|
9691
|
-
* transcript — no input field is rendered.
|
|
9692
|
-
*/
|
|
9693
|
-
onSend?: (text: string) => void;
|
|
9694
|
-
/** Input placeholder text. */
|
|
9695
|
-
placeholder?: string;
|
|
9696
|
-
/** Chat window title. */
|
|
9697
|
-
title?: string;
|
|
9698
|
-
/** Disable input. */
|
|
9699
|
-
disabled?: boolean;
|
|
9700
|
-
/** Show message timestamps. */
|
|
9701
|
-
showTimestamp?: boolean;
|
|
9702
|
-
/** Show author avatars. */
|
|
9703
|
-
showAvatar?: boolean;
|
|
9704
|
-
/** Custom message renderer. */
|
|
9705
|
-
renderMessage?: (msg: NiceChatMessage) => default_2.ReactNode;
|
|
9706
|
-
}
|
|
9707
|
-
|
|
9708
9689
|
export declare const NiceCheckbox: default_2.ForwardRefExoticComponent<NiceCheckboxProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
9709
9690
|
displayName: string;
|
|
9710
9691
|
};
|
|
@@ -12771,6 +12752,11 @@ export declare interface NiceDockProps extends NiceBaseProps {
|
|
|
12771
12752
|
onItemClick?: (key: string) => void;
|
|
12772
12753
|
/** Render inline within a parent container instead of fixed to viewport. */
|
|
12773
12754
|
contained?: boolean;
|
|
12755
|
+
/**
|
|
12756
|
+
* Slide the dock mostly out of view until the pointer or the keyboard focus reaches it (from the
|
|
12757
|
+
* former NiceDockMenu). 1.4.25.
|
|
12758
|
+
*/
|
|
12759
|
+
autoHide?: boolean;
|
|
12774
12760
|
}
|
|
12775
12761
|
|
|
12776
12762
|
/**
|
|
@@ -14773,22 +14759,47 @@ export declare const NiceHeatMap: default_2.ForwardRefExoticComponent<NiceHeatMa
|
|
|
14773
14759
|
displayName: string;
|
|
14774
14760
|
};
|
|
14775
14761
|
|
|
14776
|
-
/** Props for the {@link NiceHeatMap} component — a
|
|
14762
|
+
/** Props for the {@link NiceHeatMap} component — a matrix coloured by value. */
|
|
14777
14763
|
export declare interface NiceHeatMapProps extends NiceStandardProps {
|
|
14778
|
-
/**
|
|
14779
|
-
data?: number
|
|
14780
|
-
/** Column
|
|
14764
|
+
/** Matrix of values, rows × columns; `null` is an empty cell. */
|
|
14765
|
+
data?: Array<Array<number | null>>;
|
|
14766
|
+
/** Column labels (along the top). */
|
|
14781
14767
|
xLabels?: string[];
|
|
14782
|
-
/** Row
|
|
14768
|
+
/** Row labels (along the left). */
|
|
14783
14769
|
yLabels?: string[];
|
|
14784
|
-
/**
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
|
|
14770
|
+
/**
|
|
14771
|
+
* Colour stops from low to high: two for a sequential scale, three (low, middle, high) for a
|
|
14772
|
+
* diverging one. Theme colours by default.
|
|
14773
|
+
*/
|
|
14774
|
+
colors?: [string, string] | [string, string, string];
|
|
14775
|
+
/** Fires when a cell is clicked. */
|
|
14776
|
+
onCellClick?: (row: number, col: number, value: number | null) => void;
|
|
14777
|
+
/** Smallest cell size in px (cells grow to fill the width when `responsive`). Default 32. */
|
|
14789
14778
|
cellSize?: number;
|
|
14790
|
-
/**
|
|
14779
|
+
/** Write the values in the cells. Default `false` — the colours carry them. 1.4.24. */
|
|
14791
14780
|
showValues?: boolean;
|
|
14781
|
+
/** Colour scale legend under the matrix. Default `true`. 1.4.24. */
|
|
14782
|
+
showLegend?: boolean;
|
|
14783
|
+
/** Tooltip with the row, the column and the value. Default `true`. 1.4.24. */
|
|
14784
|
+
showTooltip?: boolean;
|
|
14785
|
+
/** Cells fill the container's width. Default `true`. 1.4.24. */
|
|
14786
|
+
responsive?: boolean;
|
|
14787
|
+
/** Low end of the scale (default: the smallest value). 1.4.24. */
|
|
14788
|
+
min?: number;
|
|
14789
|
+
/** High end of the scale (default: the largest value). 1.4.24. */
|
|
14790
|
+
max?: number;
|
|
14791
|
+
/** Gap between cells in px. Default 2. 1.4.24. */
|
|
14792
|
+
cellGap?: number;
|
|
14793
|
+
/** Corner radius of the cells in px. Default 3. 1.4.24. */
|
|
14794
|
+
cellRadius?: number;
|
|
14795
|
+
/** Colour of empty (`null`) cells. 1.4.24. */
|
|
14796
|
+
emptyColor?: string;
|
|
14797
|
+
/** Format a value for the cells, the tooltip and the legend. 1.4.24. */
|
|
14798
|
+
formatValue?: (v: number) => string;
|
|
14799
|
+
/** Title of the column axis. 1.4.24. */
|
|
14800
|
+
xAxisLabel?: string;
|
|
14801
|
+
/** Title of the row axis. 1.4.24. */
|
|
14802
|
+
yAxisLabel?: string;
|
|
14792
14803
|
}
|
|
14793
14804
|
|
|
14794
14805
|
export declare const NiceHelpDesk: default_2.FC<NiceHelpDeskProps>;
|
|
@@ -16792,10 +16803,17 @@ export declare interface NiceMapChartProps extends NiceStandardProps {
|
|
|
16792
16803
|
onRegionHover?: (region: MapRegion | null) => void;
|
|
16793
16804
|
/** Tytuł */
|
|
16794
16805
|
title?: string;
|
|
16795
|
-
/** Niestandardowy SVG mapy */
|
|
16806
|
+
/** Niestandardowy SVG mapy — drawn as a background image (1.4.24: no longer injected as HTML). */
|
|
16796
16807
|
mapSvg?: string;
|
|
16797
16808
|
/** Zoom kontrolowany */
|
|
16798
16809
|
zoomable?: boolean;
|
|
16810
|
+
/** Highlighted region (from the former NiceVectorMap). 1.4.24. */
|
|
16811
|
+
selectedRegionId?: string;
|
|
16812
|
+
/**
|
|
16813
|
+
* Geographic bounds `[west, south, east, north]` of the viewBox: bubbles' `lng` / `lat` are then
|
|
16814
|
+
* projected into it. Without bounds they are viewBox coordinates, as before. 1.4.24.
|
|
16815
|
+
*/
|
|
16816
|
+
bounds?: [number, number, number, number];
|
|
16799
16817
|
}
|
|
16800
16818
|
|
|
16801
16819
|
/** A map marker for the {@link NiceMap} component. */
|
|
@@ -16840,18 +16858,6 @@ export declare interface NiceMapProps extends NiceBaseProps {
|
|
|
16840
16858
|
provider?: 'osm';
|
|
16841
16859
|
}
|
|
16842
16860
|
|
|
16843
|
-
/** A geographic region rendered by the {@link NiceVectorMap}. */
|
|
16844
|
-
export declare interface NiceMapRegion {
|
|
16845
|
-
/** Unique region identifier (e.g. ISO code). */
|
|
16846
|
-
id: string;
|
|
16847
|
-
/** Display name. */
|
|
16848
|
-
name: string;
|
|
16849
|
-
/** SVG path data. */
|
|
16850
|
-
path: string;
|
|
16851
|
-
/** Data value (drives color intensity). */
|
|
16852
|
-
value?: number;
|
|
16853
|
-
}
|
|
16854
|
-
|
|
16855
16861
|
export declare const NiceMarkdownEditor: default_2.ForwardRefExoticComponent<NiceMarkdownEditorProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
16856
16862
|
displayName: string;
|
|
16857
16863
|
};
|
|
@@ -18913,6 +18919,18 @@ export declare interface NiceOrganizationChartProps extends NiceStandardProps {
|
|
|
18913
18919
|
exportable?: boolean | Array<'svg' | 'png'>;
|
|
18914
18920
|
/** An export, instead of downloading it (`svg`: the document text, `png`: the image). */
|
|
18915
18921
|
onExport?: (format: 'svg' | 'png', data: string | Blob) => void;
|
|
18922
|
+
/** Drag the chart with the pointer (the hand). Default `true`. 1.4.24. */
|
|
18923
|
+
pannable?: boolean;
|
|
18924
|
+
/** Zoom with the wheel — `'ctrl'` (default) only with Ctrl / ⌘ held, `true` always. 1.4.24. */
|
|
18925
|
+
wheelZoom?: boolean | 'ctrl';
|
|
18926
|
+
/** A search box in the toolbar: matches are highlighted, expanded and brought into view. 1.4.24. */
|
|
18927
|
+
searchable?: boolean;
|
|
18928
|
+
/** Start with branches below this depth collapsed (0 = only the root open). 1.4.24. */
|
|
18929
|
+
collapsedDepth?: number;
|
|
18930
|
+
/** Keys drawn highlighted. 1.4.24. */
|
|
18931
|
+
highlightKeys?: string[];
|
|
18932
|
+
/** Fires when a node is clicked (with or without `selectable`). 1.4.24. */
|
|
18933
|
+
onNodeClick?: (node: NiceOrgNode) => void;
|
|
18916
18934
|
}
|
|
18917
18935
|
|
|
18918
18936
|
export { NiceOrganizationProfile }
|
|
@@ -20337,34 +20355,6 @@ export declare interface NiceRadioGroupProps extends NiceFormFieldProps {
|
|
|
20337
20355
|
direction?: 'horizontal' | 'vertical';
|
|
20338
20356
|
}
|
|
20339
20357
|
|
|
20340
|
-
export declare const NiceRangeSelector: default_2.FC<NiceRangeSelectorProps>;
|
|
20341
|
-
|
|
20342
|
-
/** Props for the {@link NiceRangeSelector} component — a dual-handle range slider with optional sparkline background. */
|
|
20343
|
-
export declare interface NiceRangeSelectorProps extends NiceStandardProps {
|
|
20344
|
-
/** Sparkline data rendered behind the handles. */
|
|
20345
|
-
data?: number[];
|
|
20346
|
-
/** Minimum selectable value. */
|
|
20347
|
-
min: number;
|
|
20348
|
-
/** Maximum selectable value. */
|
|
20349
|
-
max: number;
|
|
20350
|
-
/** Current start of the selected range. */
|
|
20351
|
-
start: number;
|
|
20352
|
-
/** Current end of the selected range. */
|
|
20353
|
-
end: number;
|
|
20354
|
-
/** Called when the range changes. */
|
|
20355
|
-
onChange: (start: number, end: number) => void;
|
|
20356
|
-
/** SVG width in px. */
|
|
20357
|
-
width?: number;
|
|
20358
|
-
/** SVG height in px. */
|
|
20359
|
-
height?: number;
|
|
20360
|
-
/** Step increment. */
|
|
20361
|
-
step?: number;
|
|
20362
|
-
/** Custom value formatter. */
|
|
20363
|
-
formatValue?: (v: number) => string;
|
|
20364
|
-
/** Sparkline fill color. */
|
|
20365
|
-
chartColor?: string;
|
|
20366
|
-
}
|
|
20367
|
-
|
|
20368
20358
|
export declare const NiceRangeSlider: default_2.FC<NiceRangeSliderProps>;
|
|
20369
20359
|
|
|
20370
20360
|
/** Props for the {@link NiceRangeSlider} component — a dual-thumb slider for selecting a numeric range. */
|
|
@@ -21353,33 +21343,6 @@ export declare interface NiceRulesEngineProps extends NiceBaseProps {
|
|
|
21353
21343
|
|
|
21354
21344
|
export declare const NiceSankey: default_2.FC<NiceSankeyProps>;
|
|
21355
21345
|
|
|
21356
|
-
export declare const NiceSankeyChart: default_2.FC<NiceSankeyChartProps>;
|
|
21357
|
-
|
|
21358
|
-
export declare interface NiceSankeyChartProps extends NiceStandardProps {
|
|
21359
|
-
/** Węzły */
|
|
21360
|
-
nodes?: SankeyNode[];
|
|
21361
|
-
/** Połączenia */
|
|
21362
|
-
links?: SankeyLink[];
|
|
21363
|
-
/** Szerokość */
|
|
21364
|
-
width?: number;
|
|
21365
|
-
/** Wysokość */
|
|
21366
|
-
height?: number;
|
|
21367
|
-
/** Szerokość węzła */
|
|
21368
|
-
nodeWidth?: number;
|
|
21369
|
-
/** Padding między węzłami */
|
|
21370
|
-
nodePadding?: number;
|
|
21371
|
-
/** Pokaż wartości */
|
|
21372
|
-
showValues?: boolean;
|
|
21373
|
-
/** Pokaż tooltip */
|
|
21374
|
-
showTooltip?: boolean;
|
|
21375
|
-
/** Callback po kliknięciu węzła */
|
|
21376
|
-
onNodeClick?: (node: SankeyNode) => void;
|
|
21377
|
-
/** Callback po kliknięciu połączenia */
|
|
21378
|
-
onLinkClick?: (link: SankeyLink) => void;
|
|
21379
|
-
/** Tytuł */
|
|
21380
|
-
title?: string;
|
|
21381
|
-
}
|
|
21382
|
-
|
|
21383
21346
|
/** A flow link between two {@link NiceSankeyNode} entries. */
|
|
21384
21347
|
export declare interface NiceSankeyLink {
|
|
21385
21348
|
/** Source node id. */
|
|
@@ -21388,14 +21351,18 @@ export declare interface NiceSankeyLink {
|
|
|
21388
21351
|
target: string;
|
|
21389
21352
|
/** Flow magnitude. */
|
|
21390
21353
|
value: number;
|
|
21354
|
+
/** Link colour (default: a gradient from the source's colour to the target's). */
|
|
21355
|
+
color?: string;
|
|
21391
21356
|
}
|
|
21392
21357
|
|
|
21393
21358
|
/** A node in the {@link NiceSankey} diagram. */
|
|
21394
21359
|
export declare interface NiceSankeyNode {
|
|
21395
21360
|
/** Unique identifier. */
|
|
21396
21361
|
id: string;
|
|
21397
|
-
/** Node label. */
|
|
21398
|
-
label
|
|
21362
|
+
/** Node label (default: `name`, then the id). */
|
|
21363
|
+
label?: string;
|
|
21364
|
+
/** Alias of `label`, as in the former NiceSankeyChart. */
|
|
21365
|
+
name?: string;
|
|
21399
21366
|
/** Node color. */
|
|
21400
21367
|
color?: string;
|
|
21401
21368
|
}
|
|
@@ -21416,6 +21383,16 @@ export declare interface NiceSankeyProps extends NiceStandardProps {
|
|
|
21416
21383
|
nodePadding?: number;
|
|
21417
21384
|
/** Chart title. */
|
|
21418
21385
|
title?: string;
|
|
21386
|
+
/** Add each node's total to its label. 1.4.24. */
|
|
21387
|
+
showValues?: boolean;
|
|
21388
|
+
/** Native tooltips on nodes and links. Default `true`. 1.4.24. */
|
|
21389
|
+
showTooltip?: boolean;
|
|
21390
|
+
/** Links drawn as a gradient from the source's colour to the target's. Default `true`. 1.4.24. */
|
|
21391
|
+
gradientLinks?: boolean;
|
|
21392
|
+
/** Fires when a node is clicked. 1.4.24. */
|
|
21393
|
+
onNodeClick?: (node: NiceSankeyNode) => void;
|
|
21394
|
+
/** Fires when a link is clicked. 1.4.24. */
|
|
21395
|
+
onLinkClick?: (link: NiceSankeyLink) => void;
|
|
21419
21396
|
}
|
|
21420
21397
|
|
|
21421
21398
|
export declare interface NiceSavedQuery {
|
|
@@ -23435,6 +23412,12 @@ export declare interface NiceStockChartProps extends NiceStandardProps {
|
|
|
23435
23412
|
bullColor?: string;
|
|
23436
23413
|
/** Color for bearish candles. */
|
|
23437
23414
|
bearColor?: string;
|
|
23415
|
+
/** Crosshair with the day's open / high / low / close / volume. Default `true`. 1.4.24. */
|
|
23416
|
+
showCrosshair?: boolean;
|
|
23417
|
+
/** Follow the container's width (`width` is the starting size). Default `true`. 1.4.24. */
|
|
23418
|
+
responsive?: boolean;
|
|
23419
|
+
/** Format a price for the axis and the tooltip. Default: two decimals. 1.4.24. */
|
|
23420
|
+
formatPrice?: (v: number) => string;
|
|
23438
23421
|
}
|
|
23439
23422
|
|
|
23440
23423
|
/** Chart type for the {@link NiceStockChart}. */
|
|
@@ -25467,15 +25450,21 @@ export declare interface NiceTreeListProps<T extends NiceTreeListNode = NiceTree
|
|
|
25467
25450
|
emptyText?: string;
|
|
25468
25451
|
}
|
|
25469
25452
|
|
|
25470
|
-
export declare const NiceTreeMap: default_2.
|
|
25471
|
-
displayName: string;
|
|
25472
|
-
};
|
|
25453
|
+
export declare const NiceTreeMap: default_2.FC<NiceTreeMapProps>;
|
|
25473
25454
|
|
|
25474
|
-
|
|
25455
|
+
/** A node of a {@link NiceTreeMap}. */
|
|
25456
|
+
export declare interface NiceTreeMapNode {
|
|
25457
|
+
id: string;
|
|
25458
|
+
name: string;
|
|
25459
|
+
value: number;
|
|
25460
|
+
color?: string;
|
|
25461
|
+
children?: NiceTreeMapNode[];
|
|
25462
|
+
}
|
|
25475
25463
|
|
|
25476
|
-
|
|
25464
|
+
/** Props for {@link NiceTreeMap}. */
|
|
25465
|
+
export declare interface NiceTreeMapProps extends NiceStandardProps {
|
|
25477
25466
|
/** Dane hierarchiczne. Można też podać płaską listę — zostanie opakowana w wirtualny korzeń. */
|
|
25478
|
-
data:
|
|
25467
|
+
data: NiceTreeMapNode | Array<{
|
|
25479
25468
|
label?: string;
|
|
25480
25469
|
name?: string;
|
|
25481
25470
|
value: number;
|
|
@@ -25490,7 +25479,7 @@ export declare interface NiceTreeMapChartProps extends NiceStandardProps {
|
|
|
25490
25479
|
/** Pokaż wartości */
|
|
25491
25480
|
showValues?: boolean;
|
|
25492
25481
|
/** Callback po kliknięciu */
|
|
25493
|
-
onNodeClick?: (node:
|
|
25482
|
+
onNodeClick?: (node: NiceTreeMapNode, path: string[]) => void;
|
|
25494
25483
|
/** Umożliw drill-down */
|
|
25495
25484
|
drilldownEnabled?: boolean;
|
|
25496
25485
|
/** Kolory */
|
|
@@ -25499,34 +25488,6 @@ export declare interface NiceTreeMapChartProps extends NiceStandardProps {
|
|
|
25499
25488
|
tilePadding?: number;
|
|
25500
25489
|
}
|
|
25501
25490
|
|
|
25502
|
-
/** A hierarchical node in the {@link NiceTreeMap}. */
|
|
25503
|
-
export declare interface NiceTreeMapNode {
|
|
25504
|
-
/** Unique key. */
|
|
25505
|
-
key: string;
|
|
25506
|
-
/** Node label. */
|
|
25507
|
-
label: string;
|
|
25508
|
-
/** Numeric weight (determines area). */
|
|
25509
|
-
value: number;
|
|
25510
|
-
/** Node color. */
|
|
25511
|
-
color?: string;
|
|
25512
|
-
/** Child nodes. */
|
|
25513
|
-
children?: NiceTreeMapNode[];
|
|
25514
|
-
}
|
|
25515
|
-
|
|
25516
|
-
/** Props for the {@link NiceTreeMap} component — a squarified treemap visualization. */
|
|
25517
|
-
export declare interface NiceTreeMapProps extends NiceStandardProps {
|
|
25518
|
-
/** Root node. */
|
|
25519
|
-
data: NiceTreeMapNode;
|
|
25520
|
-
/** SVG width in px. */
|
|
25521
|
-
width?: number;
|
|
25522
|
-
/** SVG height in px. */
|
|
25523
|
-
height?: number;
|
|
25524
|
-
/** Called when a leaf node is clicked. */
|
|
25525
|
-
onNodeClick?: (node: NiceTreeMapNode) => void;
|
|
25526
|
-
/** Color palette. */
|
|
25527
|
-
colors?: string[];
|
|
25528
|
-
}
|
|
25529
|
-
|
|
25530
25491
|
/** A node in the {@link NiceTreeView} hierarchy. */
|
|
25531
25492
|
export declare interface NiceTreeNode {
|
|
25532
25493
|
/** Unique key. */
|
|
@@ -26205,35 +26166,6 @@ export declare type NiceValueType = 'text' | 'number' | 'date' | 'boolean' | 'an
|
|
|
26205
26166
|
|
|
26206
26167
|
export { NiceVariant }
|
|
26207
26168
|
|
|
26208
|
-
export declare const NiceVectorMap: default_2.FC<NiceVectorMapProps>;
|
|
26209
|
-
|
|
26210
|
-
/** Props for the {@link NiceVectorMap} component — an SVG choropleth map with region selection and tooltips. */
|
|
26211
|
-
export declare interface NiceVectorMapProps extends NiceStandardProps {
|
|
26212
|
-
/** Region definitions. */
|
|
26213
|
-
regions?: NiceMapRegion[];
|
|
26214
|
-
/** SVG width in px. */
|
|
26215
|
-
width?: number;
|
|
26216
|
-
/** SVG height in px. */
|
|
26217
|
-
height?: number;
|
|
26218
|
-
/** SVG viewBox (overrides width/height). */
|
|
26219
|
-
viewBox?: string;
|
|
26220
|
-
/**
|
|
26221
|
-
* Color scale as [min color, max color] — `#rrggbb` hex, interpolated numerically per
|
|
26222
|
-
* region (a `var()` token cannot be interpolated).
|
|
26223
|
-
*/
|
|
26224
|
-
colorRange?: [string, string];
|
|
26225
|
-
/** Maximum data value (for color interpolation). */
|
|
26226
|
-
maxValue?: number;
|
|
26227
|
-
/** Called when a region is clicked. */
|
|
26228
|
-
onRegionClick?: (region: NiceMapRegion) => void;
|
|
26229
|
-
/** Currently selected region id. */
|
|
26230
|
-
selectedRegionId?: string;
|
|
26231
|
-
/** Map title. */
|
|
26232
|
-
title?: string;
|
|
26233
|
-
/** Show tooltip on hover. */
|
|
26234
|
-
showTooltip?: boolean;
|
|
26235
|
-
}
|
|
26236
|
-
|
|
26237
26169
|
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;
|
|
26238
26170
|
|
|
26239
26171
|
export declare interface NiceVideoAnnotatorProps extends NiceBaseProps {
|
|
@@ -28967,21 +28899,6 @@ export declare interface SalesforceConnectorConfig extends ConnectorConfig {
|
|
|
28967
28899
|
};
|
|
28968
28900
|
}
|
|
28969
28901
|
|
|
28970
|
-
export declare interface SankeyLink {
|
|
28971
|
-
source: string;
|
|
28972
|
-
target: string;
|
|
28973
|
-
value: number;
|
|
28974
|
-
color?: string;
|
|
28975
|
-
}
|
|
28976
|
-
|
|
28977
|
-
export declare interface SankeyNode {
|
|
28978
|
-
id: string;
|
|
28979
|
-
name?: string;
|
|
28980
|
-
/** Optional human-readable label. Falls back to `name` when omitted. */
|
|
28981
|
-
label?: string;
|
|
28982
|
-
color?: string;
|
|
28983
|
-
}
|
|
28984
|
-
|
|
28985
28902
|
export declare const SAPConnector: ConnectorDefinition;
|
|
28986
28903
|
|
|
28987
28904
|
export declare interface SAPConnectorConfig extends ConnectorConfig {
|
|
@@ -31472,14 +31389,6 @@ export declare function treeKeyboardMove(e: Pick<KeyboardEvent, 'key' | 'ctrlKey
|
|
|
31472
31389
|
*/
|
|
31473
31390
|
export declare function treeKeyboardTarget(move: NiceTreeKeyboardMove, key: string, parentKey: string | null, siblings: readonly string[]): NiceTreeDropTarget | null;
|
|
31474
31391
|
|
|
31475
|
-
export declare interface TreeMapNode {
|
|
31476
|
-
id: string;
|
|
31477
|
-
name: string;
|
|
31478
|
-
value: number;
|
|
31479
|
-
color?: string;
|
|
31480
|
-
children?: TreeMapNode[];
|
|
31481
|
-
}
|
|
31482
|
-
|
|
31483
31392
|
/** Levels in a node's subtree: 1 for a node without children. */
|
|
31484
31393
|
export declare function treeNodeHeight<T>(node: T, options?: TreeEditOptions): number;
|
|
31485
31394
|
|