@nice2dev/ui 1.0.8 → 1.0.10

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.
Files changed (68) hide show
  1. package/dist/NiceErrorBoundary-B5nF-OVn.cjs +1 -0
  2. package/dist/NiceErrorBoundary-D75yr_WE.js +762 -0
  3. package/dist/NiceForm-CKoJA6NG.js +5131 -0
  4. package/dist/NiceForm-D7xnpnRJ.cjs +382 -0
  5. package/dist/NiceForm.css +1 -0
  6. package/dist/NiceModal-1QX7NhyH.js +95 -0
  7. package/dist/NiceModal-CAwsKVQ2.cjs +1 -0
  8. package/dist/NiceModuleLifecyclePanel-C9xMSjOF.cjs +1 -0
  9. package/dist/NiceModuleLifecyclePanel-CMrPbSw9.js +5249 -0
  10. package/dist/NiceModuleLifecyclePanel.css +1 -0
  11. package/dist/NicePagination-DbE-uOkl.js +171 -0
  12. package/dist/NicePagination-DlealakT.cjs +1 -0
  13. package/dist/NicePinCodeInput-B8cI8zu8.js +11830 -0
  14. package/dist/NicePinCodeInput-SGQaHvpE.cjs +419 -0
  15. package/dist/NicePinCodeInput.css +1 -1
  16. package/dist/NiceSavedQueryPanel-CZ5bYOe_.js +6449 -0
  17. package/dist/NiceSavedQueryPanel-Ce2s060j.cjs +596 -0
  18. package/dist/NiceTabs-DvOmxKyQ.cjs +1 -0
  19. package/dist/NiceTabs-DzLHzwuA.js +1636 -0
  20. package/dist/NiceWindow-CVgkxcCz.cjs +1 -0
  21. package/dist/NiceWindow-DeC83yfE.js +1409 -0
  22. package/dist/charts-BAS21jkC.js +4621 -0
  23. package/dist/charts-DShUbWrP.cjs +759 -0
  24. package/dist/charts.cjs +1 -1
  25. package/dist/charts.d.ts +42 -45
  26. package/dist/charts.mjs +1 -1
  27. package/dist/core-C2ZmWe_u.cjs +96 -0
  28. package/dist/core-Da43q-pO.js +22094 -0
  29. package/dist/data-branching-CJlrg8qf.cjs +1 -0
  30. package/dist/data-branching-DCUwI53s.js +6121 -0
  31. package/dist/data-branching.cjs +1 -1
  32. package/dist/data-branching.d.ts +1 -38
  33. package/dist/data-branching.mjs +1 -1
  34. package/dist/data.cjs +1 -1
  35. package/dist/data.d.ts +206 -192
  36. package/dist/data.mjs +1 -1
  37. package/dist/devops-CXynFG3X.cjs +17 -0
  38. package/dist/devops-D0TfzV5B.js +7660 -0
  39. package/dist/devops.cjs +1 -1
  40. package/dist/devops.d.ts +1 -38
  41. package/dist/devops.mjs +1 -1
  42. package/dist/editors.cjs +1 -1
  43. package/dist/editors.d.ts +311 -393
  44. package/dist/editors.mjs +61 -64
  45. package/dist/feedback.cjs +1 -1
  46. package/dist/feedback.d.ts +3 -44
  47. package/dist/feedback.mjs +11 -10
  48. package/dist/index-B8wxZ8Ps.cjs +5192 -0
  49. package/dist/index-pAuGTbuB.js +57319 -0
  50. package/dist/index.cjs +1 -1
  51. package/dist/index.css +1 -1
  52. package/dist/index.d.ts +2248 -11140
  53. package/dist/index.mjs +880 -1018
  54. package/dist/lazy.cjs +1 -1
  55. package/dist/lazy.d.ts +7 -39
  56. package/dist/lazy.mjs +24 -24
  57. package/dist/navigation.cjs +1 -1
  58. package/dist/navigation.d.ts +151 -216
  59. package/dist/navigation.mjs +46 -40
  60. package/dist/no-code-B5bzduNP.cjs +332 -0
  61. package/dist/no-code-D8RJ7lx0.js +7064 -0
  62. package/dist/no-code.cjs +1 -1
  63. package/dist/no-code.d.ts +1 -38
  64. package/dist/no-code.mjs +1 -1
  65. package/dist/overlays.cjs +1 -1
  66. package/dist/overlays.d.ts +13 -45
  67. package/dist/overlays.mjs +260 -250
  68. package/package.json +4 -2
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-BnYinjkT.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BnYinjkT.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BnYinjkT.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BnYinjkT.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BnYinjkT.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BnYinjkT.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BnYinjkT.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BnYinjkT.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BnYinjkT.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BCuadkm4.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BCuadkm4.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BCuadkm4.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BCuadkm4.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BCuadkm4.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BCuadkm4.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-De4ExX-S.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-De4ExX-S.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-De4ExX-S.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-De4ExX-S.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-De4ExX-S.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-De4ExX-S.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-DECVsCHX.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-DECVsCHX.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-DECVsCHX.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CXynFG3X.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B5bzduNP.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B5bzduNP.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B5bzduNP.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B5bzduNP.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B5bzduNP.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B5bzduNP.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-CJlrg8qf.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-CJlrg8qf.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-CJlrg8qf.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-CJlrg8qf.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-CJlrg8qf.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-CJlrg8qf.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-DShUbWrP.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-DShUbWrP.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-DShUbWrP.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
@@ -1,6 +1,7 @@
1
1
  import { FC } from 'react';
2
2
  import { ForwardRefExoticComponent } from 'react';
3
3
  import { LazyExoticComponent } from 'react';
4
+ import { NiceBaseProps } from '@nice2dev/ui-core';
4
5
  import { RefAttributes } from 'react';
5
6
 
6
7
  declare interface ActionParam {
@@ -770,15 +771,6 @@ declare interface MockResponse {
770
771
 
771
772
  declare type MockType = 'function' | 'module' | 'api' | 'timer' | 'storage';
772
773
 
773
- /**
774
- * Per-component visibility & interaction level used by the access control system.
775
- * - `'full'` — fully interactive (default)
776
- * - `'readOnly'` — renders but cannot be edited
777
- * - `'disabled'` — renders greyed-out
778
- * - `'hidden'` — not rendered at all
779
- */
780
- declare type NiceAccessMode = 'full' | 'readOnly' | 'disabled' | 'hidden';
781
-
782
774
  declare interface NiceAPIFlowProps extends NiceBaseProps {
783
775
  /** API flow definition */
784
776
  flow?: APIFlowDefinition;
@@ -790,28 +782,6 @@ declare interface NiceAPIFlowProps extends NiceBaseProps {
790
782
  onSave?: (flow: APIFlowDefinition) => void;
791
783
  }
792
784
 
793
- /** Base props inherited by every NiceToDev component. */
794
- declare interface NiceBaseProps {
795
- /** Additional CSS class name(s). */
796
- className?: string;
797
- /** Inline style object. */
798
- style?: React.CSSProperties;
799
- /** HTML `id` attribute. When omitted a stable auto-generated id is used. */
800
- id?: string;
801
- /** Tooltip text shown on hover. */
802
- title?: string;
803
- /** Test identifier for integration / e2e test selectors. */
804
- 'data-testid'?: string;
805
- /** Controls component visibility and interaction — see {@link NiceAccessMode}. */
806
- accessMode?: NiceAccessMode;
807
- /**
808
- * Visual presentation style override.
809
- * When set, overrides the global `displayStyle` from `NiceThemeProvider`.
810
- * @see NiceDisplayStyle
811
- */
812
- displayStyle?: NiceDisplayStyle;
813
- }
814
-
815
785
  declare interface NiceBranchManagerProps extends NiceBaseProps {
816
786
  /** All branches */
817
787
  branches: GitBranch_2[];
@@ -860,11 +830,16 @@ declare interface NiceChartProps extends NiceBaseProps {
860
830
  height?: number;
861
831
  title?: string;
862
832
  showLegend?: boolean;
833
+ /** Show gridlines (horizontal lines at Y ticks). Defaults to true. */
863
834
  showGrid?: boolean;
835
+ /** Show axis tick labels (Y values, X categories). Defaults to true. */
836
+ axisLabels?: boolean;
864
837
  showTooltip?: boolean;
865
838
  yAxisLabel?: string;
866
839
  xAxisLabel?: string;
867
840
  stacked?: boolean;
841
+ /** Animate series on initial render. */
842
+ animated?: boolean;
868
843
  /** Enable zoom/pan via mouse wheel and drag. */
869
844
  zoomable?: boolean;
870
845
  /** Show crosshair line at mouse position. */
@@ -884,7 +859,7 @@ declare interface NiceChartSeries {
884
859
  name: string;
885
860
  data: number[];
886
861
  color?: string;
887
- type?: 'bar' | 'line' | 'area';
862
+ type?: 'bar' | 'line' | 'area' | 'scatter' | 'radar';
888
863
  }
889
864
 
890
865
  declare interface NiceCodeTemplateProps extends NiceBaseProps {
@@ -1017,13 +992,6 @@ declare interface NiceDataSnapshotProps extends NiceBaseProps {
1017
992
  onUpdateSchedules?: (schedules: SnapshotSchedule[]) => void;
1018
993
  }
1019
994
 
1020
- /**
1021
- * Cross-component visual presentation style.
1022
- * Each style maps 1:1 to a ThemeVariantConfig preset controlling
1023
- * buttons, inputs, cards, badges, tabs, toggles, tooltips, tables, etc.
1024
- */
1025
- declare type NiceDisplayStyle = 'default' | 'minimal' | 'rounded' | 'sharp' | 'glass' | 'neumorphic' | 'playful' | 'enterprise' | 'modern3d' | 'brutalist' | 'luxe' | 'pill' | 'flat' | 'editorial' | 'dashboard' | 'softCloud' | 'cosmic' | 'corporate' | 'bank' | 'government' | 'military' | 'legal' | 'medical' | 'swiss' | 'scandinavian' | 'bauhaus' | 'notebook' | 'origami' | 'watercolor' | 'monochrome' | 'paper' | 'zen' | 'terminal' | 'hacker' | 'retro8bit' | 'synthwave' | 'cyberpunk' | 'steampunk' | 'vapor' | 'neon' | 'windows95' | 'material' | 'fluent' | 'cupertino' | 'ant' | 'bootstrap' | 'chakra' | 'notion' | 'linear' | 'vercel' | 'candy' | 'bubblegum' | 'cartoon' | 'kawaii' | 'circus' | 'gaming' | 'kiddo' | 'disco' | 'clown';
1026
-
1027
995
  declare interface NiceEventOrchestratorProps extends NiceBaseProps {
1028
996
  /** Initial event flows */
1029
997
  flows?: EventFlow[];
package/dist/lazy.mjs CHANGED
@@ -1,58 +1,58 @@
1
1
  import { lazy as t } from "react";
2
2
  const r = t(
3
- () => import("./devops-Ckh57eti.js").then((e) => e.i).then((e) => ({ default: e.NiceGitGraph }))
3
+ () => import("./devops-D0TfzV5B.js").then((e) => e.i).then((e) => ({ default: e.NiceGitGraph }))
4
4
  ), c = t(
5
- () => import("./devops-Ckh57eti.js").then((e) => e.j).then((e) => ({ default: e.NiceBranchManager }))
5
+ () => import("./devops-D0TfzV5B.js").then((e) => e.j).then((e) => ({ default: e.NiceBranchManager }))
6
6
  ), h = t(
7
- () => import("./devops-Ckh57eti.js").then((e) => e.l).then((e) => ({ default: e.NiceGitDiffViewer }))
7
+ () => import("./devops-D0TfzV5B.js").then((e) => e.l).then((e) => ({ default: e.NiceGitDiffViewer }))
8
8
  ), l = t(
9
- () => import("./devops-Ckh57eti.js").then((e) => e.m).then((e) => ({ default: e.NiceGitBlame }))
9
+ () => import("./devops-D0TfzV5B.js").then((e) => e.m).then((e) => ({ default: e.NiceGitBlame }))
10
10
  ), p = t(
11
- () => import("./devops-Ckh57eti.js").then((e) => e.n).then((e) => ({ default: e.NiceGitConflictResolver }))
11
+ () => import("./devops-D0TfzV5B.js").then((e) => e.n).then((e) => ({ default: e.NiceGitConflictResolver }))
12
12
  ), s = t(
13
- () => import("./devops-Ckh57eti.js").then((e) => e.p).then((e) => ({ default: e.NicePipelineEditor }))
13
+ () => import("./devops-D0TfzV5B.js").then((e) => e.p).then((e) => ({ default: e.NicePipelineEditor }))
14
14
  ), d = t(
15
- () => import("./devops-Ckh57eti.js").then((e) => e.q).then((e) => ({ default: e.NicePipelineMonitor }))
15
+ () => import("./devops-D0TfzV5B.js").then((e) => e.q).then((e) => ({ default: e.NicePipelineMonitor }))
16
16
  ), f = t(
17
- () => import("./devops-Ckh57eti.js").then((e) => e.o).then((e) => ({ default: e.NiceGitHooks }))
17
+ () => import("./devops-D0TfzV5B.js").then((e) => e.o).then((e) => ({ default: e.NiceGitHooks }))
18
18
  ), m = t(
19
- () => import("./devops-Ckh57eti.js").then((e) => e.k).then((e) => ({ default: e.NiceMergeRequestBuilder }))
19
+ () => import("./devops-D0TfzV5B.js").then((e) => e.k).then((e) => ({ default: e.NiceMergeRequestBuilder }))
20
20
  ), u = t(
21
- () => import("./no-code-TL7PyulA.js").then((e) => e.k).then((e) => ({ default: e.NiceAPIFlow }))
21
+ () => import("./no-code-D8RJ7lx0.js").then((e) => e.k).then((e) => ({ default: e.NiceAPIFlow }))
22
22
  ), y = t(
23
- () => import("./no-code-TL7PyulA.js").then((e) => e.o).then((e) => ({ default: e.NiceCodeTemplate }))
23
+ () => import("./no-code-D8RJ7lx0.js").then((e) => e.o).then((e) => ({ default: e.NiceCodeTemplate }))
24
24
  ), z = t(
25
- () => import("./no-code-TL7PyulA.js").then((e) => e.l).then((e) => ({ default: e.NiceDataMapper }))
25
+ () => import("./no-code-D8RJ7lx0.js").then((e) => e.l).then((e) => ({ default: e.NiceDataMapper }))
26
26
  ), N = t(
27
- () => import("./no-code-TL7PyulA.js").then((e) => e.m).then((e) => ({ default: e.NiceEventOrchestrator }))
27
+ () => import("./no-code-D8RJ7lx0.js").then((e) => e.m).then((e) => ({ default: e.NiceEventOrchestrator }))
28
28
  ), L = t(
29
- () => import("./no-code-TL7PyulA.js").then((e) => e.j).then((e) => ({ default: e.NiceStateDesigner }))
29
+ () => import("./no-code-D8RJ7lx0.js").then((e) => e.j).then((e) => ({ default: e.NiceStateDesigner }))
30
30
  ), D = t(
31
- () => import("./no-code-TL7PyulA.js").then((e) => e.n).then((e) => ({ default: e.NiceTestBuilder }))
31
+ () => import("./no-code-D8RJ7lx0.js").then((e) => e.n).then((e) => ({ default: e.NiceTestBuilder }))
32
32
  ), B = t(
33
- () => import("./data-branching-DiRfob1f.js").then((e) => e.f).then((e) => ({
33
+ () => import("./data-branching-DCUwI53s.js").then((e) => e.f).then((e) => ({
34
34
  default: e.NiceDataBranchManager
35
35
  }))
36
36
  ), G = t(
37
- () => import("./data-branching-DiRfob1f.js").then((e) => e.g).then((e) => ({ default: e.NiceDataDiffViewer }))
37
+ () => import("./data-branching-DCUwI53s.js").then((e) => e.g).then((e) => ({ default: e.NiceDataDiffViewer }))
38
38
  ), M = t(
39
- () => import("./data-branching-DiRfob1f.js").then((e) => e.h).then((e) => ({ default: e.NiceDataBranchGraph }))
39
+ () => import("./data-branching-DCUwI53s.js").then((e) => e.h).then((e) => ({ default: e.NiceDataBranchGraph }))
40
40
  ), g = t(
41
- () => import("./data-branching-DiRfob1f.js").then((e) => e.i).then((e) => ({
41
+ () => import("./data-branching-DCUwI53s.js").then((e) => e.i).then((e) => ({
42
42
  default: e.NiceDataMergeBuilder
43
43
  }))
44
44
  ), C = t(
45
- () => import("./data-branching-DiRfob1f.js").then((e) => e.j).then((e) => ({
45
+ () => import("./data-branching-DCUwI53s.js").then((e) => e.j).then((e) => ({
46
46
  default: e.NiceDataConflictResolver
47
47
  }))
48
48
  ), k = t(
49
- () => import("./data-branching-DiRfob1f.js").then((e) => e.k).then((e) => ({ default: e.NiceDataSnapshot }))
49
+ () => import("./data-branching-DCUwI53s.js").then((e) => e.k).then((e) => ({ default: e.NiceDataSnapshot }))
50
50
  ), v = t(
51
- () => import("./charts-Bx_kNBsE.js").then((e) => e.A).then((e) => ({ default: e.NiceChart }))
51
+ () => import("./charts-BAS21jkC.js").then((e) => e.A).then((e) => ({ default: e.NiceChart }))
52
52
  ), w = t(
53
- () => import("./charts-Bx_kNBsE.js").then((e) => e.E).then((e) => ({ default: e.NiceTreeMap }))
53
+ () => import("./charts-BAS21jkC.js").then((e) => e.E).then((e) => ({ default: e.NiceTreeMap }))
54
54
  ), T = t(
55
- () => import("./charts-Bx_kNBsE.js").then((e) => e.B).then((e) => ({ default: e.NiceSankey }))
55
+ () => import("./charts-BAS21jkC.js").then((e) => e.B).then((e) => ({ default: e.NiceSankey }))
56
56
  ), a = () => {
57
57
  import("./devops.mjs");
58
58
  }, n = () => {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./NiceModuleLifecyclePanel-Brg1RLwi.cjs"),e=require("react/jsx-runtime"),_=require("react"),v=require("./core-BZBTsGWN.cjs"),R=_.forwardRef(({items:b,activeKey:N,collapsed:a=!1,width:p=240,collapsedWidth:t=52,onItemClick:k,onCollapseChange:w,header:j,footer:d,size:m="md",className:g,style:M,id:y,accessMode:C,...S},x)=>{const c=v.useControlId(y),l=v.useNiceAccessMode(C,y),[o,u]=_.useState(new Set),r=_.useCallback(i=>{u($=>{const s=new Set($);return s.has(i)?s.delete(i):s.add(i),s})},[]);if(l==="hidden")return null;const h=(i,$=0)=>{const s=i.children&&i.children.length>0,A=o.has(i.key),D=i.key===N;return e.jsxs("li",{className:"nice-sidebar-menu__item",children:[e.jsxs("button",{className:`nice-sidebar-menu__btn ${D?"nice-sidebar-menu__btn--active":""} ${i.disabled?"nice-sidebar-menu__btn--disabled":""}`,style:{paddingLeft:a?void 0:12+$*16},onClick:()=>s?r(i.key):k?.(i),disabled:i.disabled,title:a?i.text:void 0,type:"button",children:[i.icon&&e.jsx("span",{className:"nice-sidebar-menu__icon",children:i.icon}),!a&&e.jsx("span",{className:"nice-sidebar-menu__label",children:i.text}),!a&&i.badge!==void 0&&e.jsx("span",{className:"nice-sidebar-menu__badge",children:i.badge}),!a&&s&&e.jsx("span",{className:"nice-sidebar-menu__chevron",children:A?"▾":"▸"})]}),s&&A&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(T=>h(T,$+1))})]},i.key)};return e.jsxs("nav",{ref:x,id:c,className:`nice-sidebar-menu nice-sidebar-menu--${m} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?t:p},...S,children:[j&&e.jsx("div",{className:"nice-sidebar-menu__header",children:j}),e.jsx("ul",{className:"nice-sidebar-menu__list",role:"list",children:b.map(i=>h(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});R.displayName="NiceSidebarMenu";const P=_.forwardRef(({items:b,activeKey:N,onItemClick:a,brand:p,actions:t,size:k="md",className:w,style:j,id:d,accessMode:m,...g},M)=>{const y=v.useControlId(d),C=v.useNiceAccessMode(m,d),[S,x]=_.useState(null);return C==="hidden"?null:e.jsxs("nav",{ref:M,id:y,className:`nice-top-menu nice-top-menu--${k} ${w??""}`,style:j,...g,children:[p&&e.jsx("div",{className:"nice-top-menu__brand",children:p}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:b.map(c=>{const l=c.children&&c.children.length>0,o=S===c.key;return e.jsxs("li",{className:"nice-top-menu__item",onMouseEnter:()=>l&&x(c.key),onMouseLeave:()=>l&&x(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${c.key===N?"nice-top-menu__btn--active":""}`,onClick:()=>l?x(o?null:c.key):a?.(c),role:"menuitem","aria-haspopup":l,"aria-expanded":o,disabled:c.disabled,type:"button",children:[c.icon&&e.jsx("span",{children:c.icon}),e.jsx("span",{children:c.text}),l&&e.jsx("span",{className:"nice-top-menu__chevron",children:"▾"})]}),l&&o&&e.jsx("ul",{className:"nice-top-menu__dropdown",role:"menu",children:c.children.map(u=>e.jsx("li",{children:e.jsxs("button",{className:`nice-top-menu__dropdown-btn ${u.key===N?"nice-top-menu__dropdown-btn--active":""}`,onClick:()=>{a?.(u),x(null)},disabled:u.disabled,role:"menuitem",type:"button",children:[u.icon&&e.jsx("span",{children:u.icon}),e.jsx("span",{children:u.text}),u.badge!==void 0&&e.jsx("span",{className:"nice-top-menu__badge",children:u.badge})]})},u.key))})]},c.key)})}),t&&e.jsx("div",{className:"nice-top-menu__actions",children:t})]})});P.displayName="NiceTopMenu";const L=_.forwardRef(({tabs:b,activeTab:N,onTabChange:a,onItemClick:p,minimized:t=!1,onMinimizeToggle:k,size:w="md",className:j,style:d,id:m,accessMode:g,...M},y)=>{const C=v.useControlId(m),S=v.useNiceAccessMode(g,m),[x,c]=_.useState(N??b[0]?.key),l=N??x,o=b.find(r=>r.key===l),u=_.useCallback(r=>{c(r),a?.(r)},[a]);return S==="hidden"?null:e.jsxs("div",{ref:y,id:C,className:`nice-ribbon-menu nice-ribbon-menu--${w} ${t?"nice-ribbon-menu--minimized":""} ${j??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[b.map(r=>e.jsx("button",{className:`nice-ribbon-menu__tab ${r.key===l?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(r.key),role:"tab","aria-selected":r.key===l,type:"button",children:r.label},r.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!t),type:"button","aria-label":t?"Expand":"Minimize",children:t?"▼":"▲"})]}),!t&&o&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:o.groups.map((r,h)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:r.items.map(i=>e.jsxs("button",{className:"nice-ribbon-menu__item",onClick:()=>p?.(i),disabled:i.disabled,type:"button",children:[i.icon&&e.jsx("span",{className:"nice-ribbon-menu__item-icon",children:i.icon}),e.jsx("span",{className:"nice-ribbon-menu__item-label",children:i.text})]},i.key))}),e.jsx("div",{className:"nice-ribbon-menu__group-label",children:r.label})]},h))})]})});L.displayName="NiceRibbonMenu";const W=_.forwardRef(({items:b,activeKey:N,onItemClick:a,position:p="bottom",autoHide:t=!1,iconSize:k=40,size:w="md",className:j,style:d,id:m,accessMode:g,...M},y)=>{const C=v.useControlId(m),S=v.useNiceAccessMode(g,m),[x,c]=_.useState(!1),l=!t||x;return S==="hidden"?null:e.jsx("div",{ref:y,id:C,className:`nice-dock-menu nice-dock-menu--${p} nice-dock-menu--${w} ${t&&!l?"nice-dock-menu--hidden":""} ${j??""}`,style:d,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),...M,children:e.jsx("div",{className:"nice-dock-menu__items",children:b.map(o=>e.jsxs("button",{className:`nice-dock-menu__item ${o.key===N?"nice-dock-menu__item--active":""}`,onClick:()=>a?.(o),disabled:o.disabled,title:o.text,type:"button",style:{width:k,height:k},children:[o.icon?e.jsx("span",{className:"nice-dock-menu__icon",children:o.icon}):e.jsx("span",{children:o.text[0]}),o.badge!==void 0&&e.jsx("span",{className:"nice-dock-menu__badge",children:o.badge})]},o.key))})})});W.displayName="NiceDockMenu";const B=_.forwardRef(({items:b,activeKey:N,onItemClick:a,open:p,onOpenChange:t,position:k="left",panelWidth:w=280,header:j,footer:d,size:m="md",className:g,style:M,id:y,accessMode:C,...S},x)=>{const c=v.useControlId(y),l=v.useNiceAccessMode(C,y),{t:o}=v.useNiceTranslation(),[u,r]=_.useState(!1),h=p??u,i=_.useCallback(()=>{const s=!h;r(s),t?.(s)},[h,t]),$=_.useCallback(s=>{a?.(s),r(!1),t?.(!1)},[a,t]);return l==="hidden"?null:e.jsxs("div",{ref:x,id:c,className:`nice-hamburger-menu nice-hamburger-menu--${m} ${g??""}`,style:M,...S,children:[e.jsx("button",{className:"nice-hamburger-menu__trigger",onClick:i,"aria-label":o("nav.menu","Menu"),"aria-expanded":h,type:"button",children:e.jsxs("span",{className:`nice-hamburger-menu__icon ${h?"nice-hamburger-menu__icon--open":""}`,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})}),h&&e.jsx("div",{className:"nice-hamburger-menu__backdrop",onClick:i,"aria-hidden":!0}),e.jsxs("div",{className:`nice-hamburger-menu__panel nice-hamburger-menu__panel--${k} ${h?"nice-hamburger-menu__panel--open":""}`,style:{width:w},children:[j&&e.jsx("div",{className:"nice-hamburger-menu__header",children:j}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:b.map(s=>e.jsx("li",{children:e.jsxs("button",{className:`nice-hamburger-menu__item ${s.key===N?"nice-hamburger-menu__item--active":""}`,onClick:()=>$(s),disabled:s.disabled,role:"menuitem",type:"button",children:[s.icon&&e.jsx("span",{className:"nice-hamburger-menu__item-icon",children:s.icon}),e.jsx("span",{children:s.text}),s.badge!==void 0&&e.jsx("span",{className:"nice-hamburger-menu__item-badge",children:s.badge})]})},s.key))}),d&&e.jsx("div",{className:"nice-hamburger-menu__footer",children:d})]})]})});B.displayName="NiceHamburgerMenu";const O=_.forwardRef(({canGoBack:b=!1,canGoForward:N=!1,onBack:a,onForward:p,onRefresh:t,enableShortcuts:k=!0,showRefresh:w=!0,showStop:j=!0,isLoading:d=!1,onStop:m,size:g="md",variant:M="default",tooltipPosition:y="bottom",backIcon:C,forwardIcon:S,refreshIcon:x,stopIcon:c,className:l,style:o,id:u,accessMode:r,disabled:h,...i},$)=>{const s=v.useControlId(u),A=v.useNiceAccessMode(r,u),{t:D}=v.useNiceTranslation();if(_.useEffect(()=>{if(!k||h)return;const E=f=>{const I=f.altKey,U=f.ctrlKey||f.metaKey;I&&f.key==="ArrowLeft"?(f.preventDefault(),b&&a?.()):I&&f.key==="ArrowRight"?(f.preventDefault(),N&&p?.()):f.key==="F5"||U&&f.key==="r"?(f.preventDefault(),d?m?.():t?.()):f.key==="Escape"&&d&&(f.preventDefault(),m?.())};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[k,h,b,N,d,a,p,t,m]),A==="hidden")return null;const T=A==="disabled"||h,z=C??e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("polyline",{points:"15 18 9 12 15 6"})}),F=S??e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("polyline",{points:"9 18 15 12 9 6"})}),K=x??e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("polyline",{points:"23 4 23 10 17 10"}),e.jsx("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]}),q=c??e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]});return e.jsxs("div",{ref:$,id:s,className:`nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${M}${T?" nice-nav-controls--disabled":""}${l?` ${l}`:""}`,style:o,role:"navigation","aria-label":D("nav.controls","Navigation controls"),...i,children:[e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--back${b?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:T||!b,"aria-label":D("nav.back","Back"),title:`${D("nav.back","Back")} (Alt+←)`,children:z}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${N?"":" nice-nav-controls__btn--disabled"}`,onClick:p,disabled:T||!N,"aria-label":D("nav.forward","Forward"),title:`${D("nav.forward","Forward")} (Alt+→)`,children:F}),(w||j&&d)&&(d?e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",onClick:m,disabled:T,"aria-label":D("nav.stop","Stop"),title:`${D("nav.stop","Stop")} (Esc)`,children:q}):e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--refresh",onClick:t,disabled:T,"aria-label":D("nav.refresh","Refresh"),title:`${D("nav.refresh","Refresh")} (F5)`,children:K}))]})});O.displayName="NiceNavigationControls";exports.DEFAULT_SIDEBAR_PREFS=n.DEFAULT_SIDEBAR_PREFS;exports.DesktopContextMenu=n.DesktopContextMenu;exports.DesktopGrid=n.DesktopGrid;exports.DesktopStartMenu=n.DesktopStartMenu;exports.DesktopSystemTray=n.DesktopSystemTray;exports.DesktopTaskbar=n.DesktopTaskbar;exports.NiceAccordion=n.NiceAccordion;exports.NiceAppLayout=n.NiceAppLayout;exports.NiceBottomNavigation=n.NiceBottomNavigation;exports.NiceBreadcrumb=n.NiceBreadcrumb;exports.NiceCard=n.NiceCard;exports.NiceClassicShell=n.NiceClassicShell;exports.NiceCompactShell=n.NiceCompactShell;exports.NiceConsole=n.NiceConsole;exports.NiceContextMenu=n.NiceContextMenu;exports.NiceDashboardLayout=n.NiceDashboardLayout;exports.NiceDashboardShell=n.NiceDashboardShell;exports.NiceDesktop=n.NiceDesktop;exports.NiceDock=n.NiceDock;exports.NiceDynamicSidebar=n.NiceDynamicSidebar;exports.NiceKioskShell=n.NiceKioskShell;exports.NiceMdiWorkspace=n.NiceMdiWorkspace;exports.NiceMegaMenu=n.NiceMegaMenu;exports.NiceMenu=n.NiceMenu;exports.NiceModeSelector=n.NiceModeSelector;exports.NiceModuleLifecyclePanel=n.NiceModuleLifecyclePanel;exports.NiceMultiView=n.NiceMultiView;exports.NiceNavbar=n.NiceNavbar;exports.NiceOnboardingWizard=n.NiceOnboardingWizard;exports.NiceOrganizationProfileForm=n.NiceOrganizationProfileForm;exports.NicePagination=n.NicePagination;exports.NiceSetupWizard=n.NiceSetupWizard;exports.NiceSidebarNav=n.NiceSidebarNav;exports.NiceSplitter=n.NiceSplitter;exports.NiceTabPanel=n.NiceTabPanel;exports.NiceTabs=n.NiceTabs;exports.NiceTenantSwitcher=n.NiceTenantSwitcher;exports.NiceToolbar=n.NiceToolbar;exports.NiceUserMenu=n.NiceUserMenu;exports.NiceWizard=n.NiceWizard;exports.SIDEBAR_MODE_META=n.SIDEBAR_MODE_META;exports.NiceDockMenu=W;exports.NiceHamburgerMenu=B;exports.NiceNavigationControls=O;exports.NiceRibbonMenu=L;exports.NiceSidebarMenu=R;exports.NiceTopMenu=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./NiceModuleLifecyclePanel-C9xMSjOF.cjs"),e=require("react/jsx-runtime"),h=require("react"),v=require("./core-C2ZmWe_u.cjs"),U=require("./NiceTabs-DvOmxKyQ.cjs"),V=require("./NicePagination-DlealakT.cjs"),R=h.forwardRef(({items:b,activeKey:N,collapsed:a=!1,width:p=240,collapsedWidth:o=52,onItemClick:k,onCollapseChange:D,header:y,footer:d,size:m="md",className:g,style:M,id:j,accessMode:S,...C},x)=>{const s=v.useControlId(j),t=v.useNiceAccessMode(S,j),[l,u]=h.useState(new Set),r=h.useCallback(i=>{u($=>{const c=new Set($);return c.has(i)?c.delete(i):c.add(i),c})},[]);if(t==="hidden")return null;const _=(i,$=0)=>{const c=i.children&&i.children.length>0,A=l.has(i.key),w=i.key===N;return e.jsxs("li",{className:"nice-sidebar-menu__item",children:[e.jsxs("button",{className:`nice-sidebar-menu__btn ${w?"nice-sidebar-menu__btn--active":""} ${i.disabled?"nice-sidebar-menu__btn--disabled":""}`,style:{paddingLeft:a?void 0:12+$*16},onClick:()=>c?r(i.key):k?.(i),disabled:i.disabled,title:a?i.text:void 0,type:"button",children:[i.icon&&e.jsx("span",{className:"nice-sidebar-menu__icon",children:i.icon}),!a&&e.jsx("span",{className:"nice-sidebar-menu__label",children:i.text}),!a&&i.badge!==void 0&&e.jsx("span",{className:"nice-sidebar-menu__badge",children:i.badge}),!a&&c&&e.jsx("span",{className:"nice-sidebar-menu__chevron",children:A?"▾":"▸"})]}),c&&A&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(T=>_(T,$+1))})]},i.key)};return e.jsxs("nav",{ref:x,id:s,className:`nice-sidebar-menu nice-sidebar-menu--${m} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?o:p},...C,children:[y&&e.jsx("div",{className:"nice-sidebar-menu__header",children:y}),e.jsx("ul",{className:"nice-sidebar-menu__list",role:"list",children:b.map(i=>_(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});R.displayName="NiceSidebarMenu";const P=h.forwardRef(({items:b,activeKey:N,onItemClick:a,brand:p,actions:o,size:k="md",className:D,style:y,id:d,accessMode:m,...g},M)=>{const j=v.useControlId(d),S=v.useNiceAccessMode(m,d),[C,x]=h.useState(null);return S==="hidden"?null:e.jsxs("nav",{ref:M,id:j,className:`nice-top-menu nice-top-menu--${k} ${D??""}`,style:y,...g,children:[p&&e.jsx("div",{className:"nice-top-menu__brand",children:p}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:b.map(s=>{const t=s.children&&s.children.length>0,l=C===s.key;return e.jsxs("li",{className:"nice-top-menu__item",onMouseEnter:()=>t&&x(s.key),onMouseLeave:()=>t&&x(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${s.key===N?"nice-top-menu__btn--active":""}`,onClick:()=>t?x(l?null:s.key):a?.(s),role:"menuitem","aria-haspopup":t,"aria-expanded":l,disabled:s.disabled,type:"button",children:[s.icon&&e.jsx("span",{children:s.icon}),e.jsx("span",{children:s.text}),t&&e.jsx("span",{className:"nice-top-menu__chevron",children:"▾"})]}),t&&l&&e.jsx("ul",{className:"nice-top-menu__dropdown",role:"menu",children:s.children.map(u=>e.jsx("li",{children:e.jsxs("button",{className:`nice-top-menu__dropdown-btn ${u.key===N?"nice-top-menu__dropdown-btn--active":""}`,onClick:()=>{a?.(u),x(null)},disabled:u.disabled,role:"menuitem",type:"button",children:[u.icon&&e.jsx("span",{children:u.icon}),e.jsx("span",{children:u.text}),u.badge!==void 0&&e.jsx("span",{className:"nice-top-menu__badge",children:u.badge})]})},u.key))})]},s.key)})}),o&&e.jsx("div",{className:"nice-top-menu__actions",children:o})]})});P.displayName="NiceTopMenu";const W=h.forwardRef(({tabs:b,activeTab:N,onTabChange:a,onItemClick:p,minimized:o=!1,onMinimizeToggle:k,size:D="md",className:y,style:d,id:m,accessMode:g,...M},j)=>{const S=v.useControlId(m),C=v.useNiceAccessMode(g,m),[x,s]=h.useState(N??b[0]?.key),t=N??x,l=b.find(r=>r.key===t),u=h.useCallback(r=>{s(r),a?.(r)},[a]);return C==="hidden"?null:e.jsxs("div",{ref:j,id:S,className:`nice-ribbon-menu nice-ribbon-menu--${D} ${o?"nice-ribbon-menu--minimized":""} ${y??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[b.map(r=>e.jsx("button",{className:`nice-ribbon-menu__tab ${r.key===t?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(r.key),role:"tab","aria-selected":r.key===t,type:"button",children:r.label},r.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!o),type:"button","aria-label":o?"Expand":"Minimize",children:o?"▼":"▲"})]}),!o&&l&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:l.groups.map((r,_)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:r.items.map(i=>e.jsxs("button",{className:"nice-ribbon-menu__item",onClick:()=>p?.(i),disabled:i.disabled,type:"button",children:[i.icon&&e.jsx("span",{className:"nice-ribbon-menu__item-icon",children:i.icon}),e.jsx("span",{className:"nice-ribbon-menu__item-label",children:i.text})]},i.key))}),e.jsx("div",{className:"nice-ribbon-menu__group-label",children:r.label})]},_))})]})});W.displayName="NiceRibbonMenu";const L=h.forwardRef(({items:b,activeKey:N,onItemClick:a,position:p="bottom",autoHide:o=!1,iconSize:k=40,size:D="md",className:y,style:d,id:m,accessMode:g,...M},j)=>{const S=v.useControlId(m),C=v.useNiceAccessMode(g,m),[x,s]=h.useState(!1),t=!o||x;return C==="hidden"?null:e.jsx("div",{ref:j,id:S,className:`nice-dock-menu nice-dock-menu--${p} nice-dock-menu--${D} ${o&&!t?"nice-dock-menu--hidden":""} ${y??""}`,style:d,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),...M,children:e.jsx("div",{className:"nice-dock-menu__items",children:b.map(l=>e.jsxs("button",{className:`nice-dock-menu__item ${l.key===N?"nice-dock-menu__item--active":""}`,onClick:()=>a?.(l),disabled:l.disabled,title:l.text,type:"button",style:{width:k,height:k},children:[l.icon?e.jsx("span",{className:"nice-dock-menu__icon",children:l.icon}):e.jsx("span",{children:l.text[0]}),l.badge!==void 0&&e.jsx("span",{className:"nice-dock-menu__badge",children:l.badge})]},l.key))})})});L.displayName="NiceDockMenu";const B=h.forwardRef(({items:b,activeKey:N,onItemClick:a,open:p,onOpenChange:o,position:k="left",panelWidth:D=280,header:y,footer:d,size:m="md",className:g,style:M,id:j,accessMode:S,...C},x)=>{const s=v.useControlId(j),t=v.useNiceAccessMode(S,j),{t:l}=v.Wo(),[u,r]=h.useState(!1),_=p??u,i=h.useCallback(()=>{const c=!_;r(c),o?.(c)},[_,o]),$=h.useCallback(c=>{a?.(c),r(!1),o?.(!1)},[a,o]);return t==="hidden"?null:e.jsxs("div",{ref:x,id:s,className:`nice-hamburger-menu nice-hamburger-menu--${m} ${g??""}`,style:M,...C,children:[e.jsx("button",{className:"nice-hamburger-menu__trigger",onClick:i,"aria-label":l("nav.menu","Menu"),"aria-expanded":_,type:"button",children:e.jsxs("span",{className:`nice-hamburger-menu__icon ${_?"nice-hamburger-menu__icon--open":""}`,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})}),_&&e.jsx("div",{className:"nice-hamburger-menu__backdrop",onClick:i,"aria-hidden":!0}),e.jsxs("div",{className:`nice-hamburger-menu__panel nice-hamburger-menu__panel--${k} ${_?"nice-hamburger-menu__panel--open":""}`,style:{width:D},children:[y&&e.jsx("div",{className:"nice-hamburger-menu__header",children:y}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:b.map(c=>e.jsx("li",{children:e.jsxs("button",{className:`nice-hamburger-menu__item ${c.key===N?"nice-hamburger-menu__item--active":""}`,onClick:()=>$(c),disabled:c.disabled,role:"menuitem",type:"button",children:[c.icon&&e.jsx("span",{className:"nice-hamburger-menu__item-icon",children:c.icon}),e.jsx("span",{children:c.text}),c.badge!==void 0&&e.jsx("span",{className:"nice-hamburger-menu__item-badge",children:c.badge})]})},c.key))}),d&&e.jsx("div",{className:"nice-hamburger-menu__footer",children:d})]})]})});B.displayName="NiceHamburgerMenu";const O=h.forwardRef(({canGoBack:b=!1,canGoForward:N=!1,onBack:a,onForward:p,onRefresh:o,enableShortcuts:k=!0,showRefresh:D=!0,showStop:y=!0,isLoading:d=!1,onStop:m,size:g="md",variant:M="default",tooltipPosition:j="bottom",backIcon:S,forwardIcon:C,refreshIcon:x,stopIcon:s,className:t,style:l,id:u,accessMode:r,disabled:_,...i},$)=>{const c=v.useControlId(u),A=v.useNiceAccessMode(r,u),{t:w}=v.Wo();if(h.useEffect(()=>{if(!k||_)return;const E=f=>{const I=f.altKey,H=f.ctrlKey||f.metaKey;I&&f.key==="ArrowLeft"?(f.preventDefault(),b&&a?.()):I&&f.key==="ArrowRight"?(f.preventDefault(),N&&p?.()):f.key==="F5"||H&&f.key==="r"?(f.preventDefault(),d?m?.():o?.()):f.key==="Escape"&&d&&(f.preventDefault(),m?.())};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[k,_,b,N,d,a,p,o,m]),A==="hidden")return null;const T=A==="disabled"||_,q=S??e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("polyline",{points:"15 18 9 12 15 6"})}),z=C??e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("polyline",{points:"9 18 15 12 9 6"})}),F=x??e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("polyline",{points:"23 4 23 10 17 10"}),e.jsx("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]}),K=s??e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]});return e.jsxs("div",{ref:$,id:c,className:`nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${M}${T?" nice-nav-controls--disabled":""}${t?` ${t}`:""}`,style:l,role:"navigation","aria-label":w("nav.controls","Navigation controls"),...i,children:[e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--back${b?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:T||!b,"aria-label":w("nav.back","Back"),title:`${w("nav.back","Back")} (Alt+←)`,children:q}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${N?"":" nice-nav-controls__btn--disabled"}`,onClick:p,disabled:T||!N,"aria-label":w("nav.forward","Forward"),title:`${w("nav.forward","Forward")} (Alt+→)`,children:z}),(D||y&&d)&&(d?e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",onClick:m,disabled:T,"aria-label":w("nav.stop","Stop"),title:`${w("nav.stop","Stop")} (Esc)`,children:K}):e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--refresh",onClick:o,disabled:T,"aria-label":w("nav.refresh","Refresh"),title:`${w("nav.refresh","Refresh")} (F5)`,children:F}))]})});O.displayName="NiceNavigationControls";exports.DEFAULT_SIDEBAR_PREFS=n.DEFAULT_SIDEBAR_PREFS;exports.DesktopContextMenu=n.DesktopContextMenu;exports.DesktopGrid=n.DesktopGrid;exports.DesktopStartMenu=n.DesktopStartMenu;exports.DesktopSystemTray=n.DesktopSystemTray;exports.DesktopTaskbar=n.DesktopTaskbar;exports.NiceAccordion=n.NiceAccordion;exports.NiceAppLayout=n.NiceAppLayout;exports.NiceBottomNavigation=n.NiceBottomNavigation;exports.NiceBreadcrumb=n.NiceBreadcrumb;exports.NiceCard=n.NiceCard;exports.NiceClassicShell=n.NiceClassicShell;exports.NiceCompactShell=n.NiceCompactShell;exports.NiceConsole=n.NiceConsole;exports.NiceContextMenu=n.NiceContextMenu;exports.NiceDashboardLayout=n.NiceDashboardLayout;exports.NiceDashboardShell=n.NiceDashboardShell;exports.NiceDesktop=n.NiceDesktop;exports.NiceDock=n.NiceDock;exports.NiceDynamicSidebar=n.NiceDynamicSidebar;exports.NiceHybridShell=n.NiceHybridShell;exports.NiceKioskShell=n.NiceKioskShell;exports.NiceMdiWorkspace=n.NiceMdiWorkspace;exports.NiceMegaMenu=n.NiceMegaMenu;exports.NiceMenu=n.NiceMenu;exports.NiceMinimalShell=n.NiceMinimalShell;exports.NiceModeSelector=n.NiceModeSelector;exports.NiceModernShell=n.NiceModernShell;exports.NiceModuleLifecyclePanel=n.NiceModuleLifecyclePanel;exports.NiceMultiView=n.NiceMultiView;exports.NiceNavbar=n.NiceNavbar;exports.NiceOnboardingWizard=n.NiceOnboardingWizard;exports.NiceOrganizationProfileForm=n.NiceOrganizationProfileForm;exports.NicePwaShell=n.NicePwaShell;exports.NiceSetupWizard=n.NiceSetupWizard;exports.NiceSidebarNav=n.NiceSidebarNav;exports.NiceSplitter=n.NiceSplitter;exports.NiceTabPanel=n.NiceTabPanel;exports.NiceTenantSwitcher=n.NiceTenantSwitcher;exports.NiceToolbar=n.NiceToolbar;exports.NiceUserMenu=n.NiceUserMenu;exports.NiceWizard=n.NiceWizard;exports.SIDEBAR_MODE_META=n.SIDEBAR_MODE_META;exports.NiceTabs=U.NiceTabs;exports.NicePagination=V.NicePagination;exports.NiceDockMenu=L;exports.NiceHamburgerMenu=B;exports.NiceNavigationControls=O;exports.NiceRibbonMenu=W;exports.NiceSidebarMenu=R;exports.NiceTopMenu=P;