@nice2dev/ui 1.4.21 → 1.4.23
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 +79 -0
- package/dist/NiceCodeEditor-CBgbzwjx.cjs +297 -0
- package/dist/{NiceMention-DhaTUqvR.cjs → NiceMention-D330ovOt.cjs} +1 -1
- package/dist/{NicePivotGrid-BshofJh1.cjs → NicePivotGrid-B5Fgi5E_.cjs} +1 -1
- package/dist/charts/NiceAdvancedCharts.mjs +657 -613
- package/dist/charts/NiceBarGauge.mjs +100 -65
- package/dist/charts/NiceBullet.mjs +103 -98
- package/dist/charts/NiceChart.mjs +269 -266
- package/dist/charts/NiceCircularGauge.mjs +99 -70
- package/dist/charts/NiceLinearGauge.mjs +168 -119
- package/dist/charts/NicePieChart.mjs +94 -49
- package/dist/charts/NicePolarChart.mjs +2 -2
- package/dist/charts-C9B548D2.cjs +924 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.ts +24 -2
- package/dist/{core-lazy-DirbU7jp.cjs → core-lazy-B54FdghB.cjs} +1 -1
- package/dist/data.cjs +1 -1
- package/dist/editors/rich/NiceCodeEditor.mjs +525 -504
- package/dist/editors.cjs +1 -1
- package/dist/index.cjs +8 -3
- package/dist/index.d.ts +29 -2
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +8 -0
- package/dist/style.css +1 -1
- package/dist/tools/NiceGitManager.mjs +5 -0
- package/dist/workflow/NiceTaskInbox.mjs +14 -12
- package/package.json +4 -4
- package/dist/NiceCodeEditor-DhdjnDLV.cjs +0 -289
- package/dist/charts-C3Q3r8Yz.cjs +0 -918
package/dist/index.d.ts
CHANGED
|
@@ -9609,6 +9609,9 @@ export declare interface NiceChartAnnotation {
|
|
|
9609
9609
|
dash?: string;
|
|
9610
9610
|
}
|
|
9611
9611
|
|
|
9612
|
+
/** Where a chart's legend sits. */
|
|
9613
|
+
export declare type NiceChartLegendPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
9614
|
+
|
|
9612
9615
|
/**
|
|
9613
9616
|
* Props for the NiceChart component — an SVG-based bar, line, and area chart
|
|
9614
9617
|
* with stacking, zoom, crosshair, annotations, legend interaction and PNG export.
|
|
@@ -9620,6 +9623,11 @@ export declare interface NiceChartProps extends NiceStandardProps {
|
|
|
9620
9623
|
height?: number;
|
|
9621
9624
|
title?: string;
|
|
9622
9625
|
showLegend?: boolean;
|
|
9626
|
+
/**
|
|
9627
|
+
* Where the legend sits: `bottom` (default, a row under the plot), `top` (under the title),
|
|
9628
|
+
* `right` or `left` (a column beside the plot). 1.4.23.
|
|
9629
|
+
*/
|
|
9630
|
+
legendPlacement?: NiceChartLegendPlacement;
|
|
9623
9631
|
/** Show gridlines (horizontal lines at Y ticks). Defaults to true. */
|
|
9624
9632
|
showGrid?: boolean;
|
|
9625
9633
|
/** Show axis tick labels (Y values, X categories). Defaults to true. */
|
|
@@ -9796,9 +9804,9 @@ export declare interface NiceCircularGaugeProps extends NiceStandardProps {
|
|
|
9796
9804
|
startAngle?: number;
|
|
9797
9805
|
/** Arc end angle in degrees. */
|
|
9798
9806
|
endAngle?: number;
|
|
9799
|
-
/** Active arc color. */
|
|
9807
|
+
/** Active arc color. Empty (default): the theme's primary colour. */
|
|
9800
9808
|
color?: string;
|
|
9801
|
-
/** Background track color. */
|
|
9809
|
+
/** Background track color. Empty (default): the theme's border colour. */
|
|
9802
9810
|
trackColor?: string;
|
|
9803
9811
|
/** Center label text. */
|
|
9804
9812
|
label?: string;
|
|
@@ -9944,6 +9952,11 @@ export declare interface NiceCodeDiffEditorProps {
|
|
|
9944
9952
|
onModifiedChange?: (value: string) => void;
|
|
9945
9953
|
/** Loading content */
|
|
9946
9954
|
loading?: default_2.ReactNode;
|
|
9955
|
+
/**
|
|
9956
|
+
* Extra Monaco diff-editor options, merged over the defaults (1.4.22) — e.g.
|
|
9957
|
+
* `{ scrollBeyondLastLine: true }` or `{ minimap: { enabled: true } }`.
|
|
9958
|
+
*/
|
|
9959
|
+
options?: Record<string, unknown>;
|
|
9947
9960
|
/** Additional CSS class */
|
|
9948
9961
|
className?: string;
|
|
9949
9962
|
/** Test ID */
|
|
@@ -15969,6 +15982,10 @@ export declare interface NiceLinearGaugeProps extends NiceStandardProps {
|
|
|
15969
15982
|
color?: string;
|
|
15970
15983
|
/** Label text. */
|
|
15971
15984
|
label?: string;
|
|
15985
|
+
/** Where the label sits: below the gauge (default), above it, or on its left. 1.4.23. */
|
|
15986
|
+
labelPlacement?: 'bottom' | 'top' | 'left';
|
|
15987
|
+
/** Show the current value as text next to the pointer. Default `false`. 1.4.23. */
|
|
15988
|
+
showValueLabel?: boolean;
|
|
15972
15989
|
/** Custom value formatter. */
|
|
15973
15990
|
formatValue?: (v: number) => string;
|
|
15974
15991
|
/** Colored range segments. */
|
|
@@ -19488,8 +19505,18 @@ export declare interface NicePieChartProps extends NiceStandardProps {
|
|
|
19488
19505
|
title?: string;
|
|
19489
19506
|
/** Show the legend. */
|
|
19490
19507
|
showLegend?: boolean;
|
|
19508
|
+
/**
|
|
19509
|
+
* Where the legend sits: `right` (default, a column), `left`, `top` (under the title) or `bottom`
|
|
19510
|
+
* (rows). 1.4.23.
|
|
19511
|
+
*/
|
|
19512
|
+
legendPlacement?: NiceChartLegendPlacement;
|
|
19491
19513
|
/** Show percentage labels on slices. */
|
|
19492
19514
|
showLabels?: boolean;
|
|
19515
|
+
/**
|
|
19516
|
+
* Width in px of the see-through gap between slices. Default 2; 0 draws the slices edge to edge.
|
|
19517
|
+
* 1.4.23.
|
|
19518
|
+
*/
|
|
19519
|
+
splitSize?: number;
|
|
19493
19520
|
}
|
|
19494
19521
|
|
|
19495
19522
|
/** A slice in the {@link NicePieChart}. */
|
package/dist/lazy.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-o6Zm0VKB.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DPc82kyy.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-C9B548D2.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-C9B548D2.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-C9B548D2.cjs")).then(e=>e.NiceSankey$1).then(e=>({default:e.NiceSankey}))),t=()=>{Promise.resolve().then(()=>require("./devops.cjs"))},r=()=>{Promise.resolve().then(()=>require("./no-code.cjs"))},i=()=>{Promise.resolve().then(()=>require("./data-branching.cjs"))},C=()=>{"requestIdleCallback"in window?requestIdleCallback(()=>{t(),r(),i()}):setTimeout(()=>{t(),r(),i()},2e3)};exports.LazyAPIFlow=d;exports.LazyBranchManager=o;exports.LazyChart=G;exports.LazyCodeTemplate=f;exports.LazyDataBranchGraph=m;exports.LazyDataBranchManager=D;exports.LazyDataConflictResolver=B;exports.LazyDataDiffViewer=P;exports.LazyDataMapper=N;exports.LazyDataMergeBuilder=q;exports.LazyDataSnapshot=M;exports.LazyEventOrchestrator=L;exports.LazyGitBlame=s;exports.LazyGitConflictResolver=h;exports.LazyGitDiffViewer=l;exports.LazyGitGraph=n;exports.LazyGitHooks=u;exports.LazyMergeRequestBuilder=z;exports.LazyPipelineEditor=c;exports.LazyPipelineMonitor=y;exports.LazySankey=$;exports.LazyStateDesigner=p;exports.LazyTestBuilder=v;exports.LazyTreemap=g;exports.preloadDataBranching=i;exports.preloadDevOps=t;exports.preloadHeavyModules=C;exports.preloadNoCode=r;
|
package/dist/lazy.d.ts
CHANGED
|
@@ -823,6 +823,9 @@ declare interface NiceChartAnnotation {
|
|
|
823
823
|
dash?: string;
|
|
824
824
|
}
|
|
825
825
|
|
|
826
|
+
/** Where a chart's legend sits. */
|
|
827
|
+
declare type NiceChartLegendPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
828
|
+
|
|
826
829
|
/**
|
|
827
830
|
* Props for the NiceChart component — an SVG-based bar, line, and area chart
|
|
828
831
|
* with stacking, zoom, crosshair, annotations, legend interaction and PNG export.
|
|
@@ -834,6 +837,11 @@ declare interface NiceChartProps extends NiceStandardProps {
|
|
|
834
837
|
height?: number;
|
|
835
838
|
title?: string;
|
|
836
839
|
showLegend?: boolean;
|
|
840
|
+
/**
|
|
841
|
+
* Where the legend sits: `bottom` (default, a row under the plot), `top` (under the title),
|
|
842
|
+
* `right` or `left` (a column beside the plot). 1.4.23.
|
|
843
|
+
*/
|
|
844
|
+
legendPlacement?: NiceChartLegendPlacement;
|
|
837
845
|
/** Show gridlines (horizontal lines at Y ticks). Defaults to true. */
|
|
838
846
|
showGrid?: boolean;
|
|
839
847
|
/** Show axis tick labels (Y values, X categories). Defaults to true. */
|