@nice2dev/ui 1.0.31 → 1.1.6
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 +403 -0
- package/dist/NiceCodeEditor-BVUwp9yX.js +1134 -0
- package/dist/NiceCodeEditor-cIqUSk3j.cjs +260 -0
- package/dist/NiceColorPicker-C8NZZcXE.js +596 -0
- package/dist/NiceColorPicker-CKVbjicN.cjs +1 -0
- package/dist/NiceConfirmDialog-DmBX1Iea.js +81 -0
- package/dist/NiceConfirmDialog-oSxVpsCs.cjs +1 -0
- package/dist/NiceDataGrid-3AIf2D3t.cjs +10 -0
- package/dist/NiceDataGrid-CXCUAkRb.js +1736 -0
- package/dist/NiceDocumentViewer-B-uEPZAf.js +672 -0
- package/dist/NiceDocumentViewer-BE0gKBlw.cjs +180 -0
- package/dist/NiceForm-C6F0HvrX.cjs +1 -0
- package/dist/NiceForm-CCyfWgIs.js +4805 -0
- package/dist/NiceGantt-CSFLZD2y.js +328 -0
- package/dist/NiceGantt-_ysNSVYR.cjs +1 -0
- package/dist/NiceHtmlEditor-B8B8AcSC.js +841 -0
- package/dist/NiceHtmlEditor-D8RQcBNp.cjs +10 -0
- package/dist/NiceLoginForm-Bai7aN8V.js +708 -0
- package/dist/NiceLoginForm-BrvIc-wq.cjs +1 -0
- package/dist/NiceMention-BjeLN4Jx.cjs +430 -0
- package/dist/NiceMention-CWoLD0SE.js +11082 -0
- package/dist/NiceMention-J1lUDLhg.cjs +430 -0
- package/dist/NiceMention-OaCi-GNO.js +11094 -0
- package/dist/NiceMention.css +1 -0
- package/dist/NiceModal-0UxviEYE.cjs +1 -0
- package/dist/NiceModal-D-iOonog.js +95 -0
- package/dist/NiceModuleLifecyclePanel-4hzDw6it.js +6999 -0
- package/dist/NiceModuleLifecyclePanel-Df_1k5qW.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -1
- package/dist/NicePagination-CPn-Q1h_.js +172 -0
- package/dist/NicePagination-EEQ6o1dF.cjs +1 -0
- package/dist/NicePivotGrid-Cmiolup9.cjs +152 -0
- package/dist/NicePivotGrid-DX_iUj2X.js +1167 -0
- package/dist/NiceSavedQueryPanel-BhjFJBvn.cjs +586 -0
- package/dist/NiceSavedQueryPanel-KvyXTnFx.js +5129 -0
- package/dist/NiceScheduler-DuxPzQQZ.js +1645 -0
- package/dist/NiceScheduler-nW7fMzKL.cjs +5 -0
- package/dist/NiceSelect-BVoqtfYN.cjs +1 -0
- package/dist/NiceSelect-DHowflmX.js +433 -0
- package/dist/NiceWindow-DdD9k4nc.cjs +1 -0
- package/dist/NiceWindow-xnTSHdHv.js +1623 -0
- package/dist/charts-B-sl1V9y.cjs +882 -0
- package/dist/charts-DO2z6Ziu.js +31920 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.mjs +7 -7
- package/dist/core-C2KhqEaU.cjs +1 -0
- package/dist/core-K2DIxXLn.js +795 -0
- package/dist/data-branching-DC6hcBQN.cjs +1 -0
- package/dist/data-branching-DykdTpjJ.js +6255 -0
- package/dist/data-branching.cjs +1 -1
- package/dist/data-branching.mjs +1 -1
- package/dist/data.cjs +1 -1
- package/dist/data.d.ts +29 -7
- package/dist/data.mjs +18 -16
- package/dist/devops-CU0sOVEA.cjs +17 -0
- package/dist/devops-CXyEwQeM.js +8165 -0
- package/dist/devops.cjs +1 -1
- package/dist/devops.mjs +1 -1
- package/dist/editors.cjs +1 -1
- package/dist/editors.d.ts +97 -9
- package/dist/editors.mjs +58 -54
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.d.ts +1 -1
- package/dist/feedback.mjs +3 -3
- package/dist/index.cjs +5137 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +139 -21
- package/dist/index.mjs +66371 -992
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.mjs +24 -24
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +6 -0
- package/dist/navigation.mjs +4 -4
- package/dist/no-code-C58g8_fb.cjs +332 -0
- package/dist/no-code-Cj4xJ3w9.js +7425 -0
- package/dist/no-code.cjs +1 -1
- package/dist/no-code.mjs +1 -1
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.d.ts +2 -0
- package/dist/overlays.mjs +2 -2
- package/dist/pickerCommons-B-wOzHFh.cjs +1 -0
- package/dist/pickerCommons-COiSUiP2.js +1122 -0
- package/dist/pickerCommons.css +1 -1
- package/dist/style.css +7 -7
- package/dist/vendor-BPVpdtPp.js +271 -0
- package/dist/vendor-Bo2Q64AF.cjs +1 -0
- package/package.json +17 -17
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-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B-sl1V9y.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B-sl1V9y.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B-sl1V9y.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.mjs
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { lazy as t } from "react";
|
|
2
2
|
const r = t(
|
|
3
|
-
() => import("./devops-
|
|
3
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.j).then((e) => ({ default: e.NiceGitGraph }))
|
|
4
4
|
), c = t(
|
|
5
|
-
() => import("./devops-
|
|
5
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.k).then((e) => ({ default: e.NiceBranchManager }))
|
|
6
6
|
), h = t(
|
|
7
|
-
() => import("./devops-
|
|
7
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.m).then((e) => ({ default: e.NiceGitDiffViewer }))
|
|
8
8
|
), l = t(
|
|
9
|
-
() => import("./devops-
|
|
9
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.n).then((e) => ({ default: e.NiceGitBlame }))
|
|
10
10
|
), p = t(
|
|
11
|
-
() => import("./devops-
|
|
11
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.o).then((e) => ({ default: e.NiceGitConflictResolver }))
|
|
12
12
|
), s = t(
|
|
13
|
-
() => import("./devops-
|
|
13
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.q).then((e) => ({ default: e.NicePipelineEditor }))
|
|
14
14
|
), d = t(
|
|
15
|
-
() => import("./devops-
|
|
15
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.r).then((e) => ({ default: e.NicePipelineMonitor }))
|
|
16
16
|
), f = t(
|
|
17
|
-
() => import("./devops-
|
|
17
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.p).then((e) => ({ default: e.NiceGitHooks }))
|
|
18
18
|
), m = t(
|
|
19
|
-
() => import("./devops-
|
|
19
|
+
() => import("./devops-CXyEwQeM.js").then((e) => e.l).then((e) => ({ default: e.NiceMergeRequestBuilder }))
|
|
20
20
|
), u = t(
|
|
21
|
-
() => import("./no-code-
|
|
21
|
+
() => import("./no-code-Cj4xJ3w9.js").then((e) => e.k).then((e) => ({ default: e.NiceAPIFlow }))
|
|
22
22
|
), y = t(
|
|
23
|
-
() => import("./no-code-
|
|
23
|
+
() => import("./no-code-Cj4xJ3w9.js").then((e) => e.o).then((e) => ({ default: e.NiceCodeTemplate }))
|
|
24
24
|
), z = t(
|
|
25
|
-
() => import("./no-code-
|
|
25
|
+
() => import("./no-code-Cj4xJ3w9.js").then((e) => e.l).then((e) => ({ default: e.NiceDataMapper }))
|
|
26
26
|
), N = t(
|
|
27
|
-
() => import("./no-code-
|
|
27
|
+
() => import("./no-code-Cj4xJ3w9.js").then((e) => e.m).then((e) => ({ default: e.NiceEventOrchestrator }))
|
|
28
28
|
), L = t(
|
|
29
|
-
() => import("./no-code-
|
|
29
|
+
() => import("./no-code-Cj4xJ3w9.js").then((e) => e.j).then((e) => ({ default: e.NiceStateDesigner }))
|
|
30
30
|
), D = t(
|
|
31
|
-
() => import("./no-code-
|
|
31
|
+
() => import("./no-code-Cj4xJ3w9.js").then((e) => e.n).then((e) => ({ default: e.NiceTestBuilder }))
|
|
32
32
|
), B = t(
|
|
33
|
-
() => import("./data-branching-
|
|
33
|
+
() => import("./data-branching-DykdTpjJ.js").then((e) => e.f).then((e) => ({
|
|
34
34
|
default: e.NiceDataBranchManager
|
|
35
35
|
}))
|
|
36
36
|
), G = t(
|
|
37
|
-
() => import("./data-branching-
|
|
37
|
+
() => import("./data-branching-DykdTpjJ.js").then((e) => e.g).then((e) => ({ default: e.NiceDataDiffViewer }))
|
|
38
38
|
), M = t(
|
|
39
|
-
() => import("./data-branching-
|
|
39
|
+
() => import("./data-branching-DykdTpjJ.js").then((e) => e.h).then((e) => ({ default: e.NiceDataBranchGraph }))
|
|
40
40
|
), g = t(
|
|
41
|
-
() => import("./data-branching-
|
|
41
|
+
() => import("./data-branching-DykdTpjJ.js").then((e) => e.i).then((e) => ({
|
|
42
42
|
default: e.NiceDataMergeBuilder
|
|
43
43
|
}))
|
|
44
44
|
), C = t(
|
|
45
|
-
() => import("./data-branching-
|
|
45
|
+
() => import("./data-branching-DykdTpjJ.js").then((e) => e.j).then((e) => ({
|
|
46
46
|
default: e.NiceDataConflictResolver
|
|
47
47
|
}))
|
|
48
48
|
), k = t(
|
|
49
|
-
() => import("./data-branching-
|
|
49
|
+
() => import("./data-branching-DykdTpjJ.js").then((e) => e.k).then((e) => ({ default: e.NiceDataSnapshot }))
|
|
50
50
|
), v = t(
|
|
51
|
-
() => import("./charts-
|
|
51
|
+
() => import("./charts-DO2z6Ziu.js").then((e) => e.fC).then((e) => ({ default: e.NiceChart }))
|
|
52
52
|
), w = t(
|
|
53
|
-
() => import("./charts-
|
|
53
|
+
() => import("./charts-DO2z6Ziu.js").then((e) => e.fE).then((e) => ({ default: e.NiceTreeMap }))
|
|
54
54
|
), T = t(
|
|
55
|
-
() => import("./charts-
|
|
55
|
+
() => import("./charts-DO2z6Ziu.js").then((e) => e.fD).then((e) => ({ default: e.NiceSankey }))
|
|
56
56
|
), a = () => {
|
|
57
57
|
import("./devops.mjs");
|
|
58
58
|
}, n = () => {
|
package/dist/navigation.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./NiceModuleLifecyclePanel-BBOg9g0b.cjs"),e=require("react/jsx-runtime"),b=require("./core-CLfcCDKc.cjs"),_=require("react"),U=require("./pickerCommons-D3WShRrR.cjs"),V=require("./NicePagination-CfFfNwrg.cjs"),I=_.forwardRef(({items:m,activeKey:N,collapsed:a=!1,width:x=240,collapsedWidth:t=52,onItemClick:k,onCollapseChange:C,header:j,footer:d,size:h="md",className:g,style:M,id:y,accessMode:D,...S},v)=>{const c=b.bc(y),l=b.Dc(D,y),[r,u]=_.useState(new Set),o=_.useCallback(i=>{u($=>{const s=new Set($);return s.has(i)?s.delete(i):s.add(i),s})},[]);if(l==="hidden")return null;const p=(i,$=0)=>{const s=i.children&&i.children.length>0,A=r.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:()=>s?o(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:e.jsx(b.oa,{name:A?"chevron-down":"chevron-right",size:14})})]}),s&&A&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(E=>p(E,$+1))})]},i.key)};return e.jsxs("nav",{ref:v,id:c,className:`nice-sidebar-menu nice-sidebar-menu--${h} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?t:x},...S,children:[j&&e.jsx("div",{className:"nice-sidebar-menu__header",children:j}),e.jsx("ul",{className:"nice-sidebar-menu__list",role:"list",children:m.map(i=>p(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});I.displayName="NiceSidebarMenu";const P=_.forwardRef(({items:m,activeKey:N,onItemClick:a,brand:x,actions:t,size:k="md",className:C,style:j,id:d,accessMode:h,...g},M)=>{const y=b.bc(d),D=b.Dc(h,d),[S,v]=_.useState(null);return D==="hidden"?null:e.jsxs("nav",{ref:M,id:y,className:`nice-top-menu nice-top-menu--${k} ${C??""}`,style:j,...g,children:[x&&e.jsx("div",{className:"nice-top-menu__brand",children:x}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:m.map(c=>{const l=c.children&&c.children.length>0,r=S===c.key;return e.jsxs("li",{className:"nice-top-menu__item",onMouseEnter:()=>l&&v(c.key),onMouseLeave:()=>l&&v(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${c.key===N?"nice-top-menu__btn--active":""}`,onClick:()=>l?v(r?null:c.key):a?.(c),role:"menuitem","aria-haspopup":l,"aria-expanded":r,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:e.jsx(b.oa,{name:"chevron-down",size:14})})]}),l&&r&&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),v(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:m,activeTab:N,onTabChange:a,onItemClick:x,minimized:t=!1,onMinimizeToggle:k,size:C="md",className:j,style:d,id:h,accessMode:g,...M},y)=>{const D=b.bc(h),S=b.Dc(g,h),[v,c]=_.useState(N??m[0]?.key),l=N??v,r=m.find(o=>o.key===l),u=_.useCallback(o=>{c(o),a?.(o)},[a]);return S==="hidden"?null:e.jsxs("div",{ref:y,id:D,className:`nice-ribbon-menu nice-ribbon-menu--${C} ${t?"nice-ribbon-menu--minimized":""} ${j??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[m.map(o=>e.jsx("button",{className:`nice-ribbon-menu__tab ${o.key===l?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(o.key),role:"tab","aria-selected":o.key===l,type:"button",children:o.label},o.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!t),type:"button","aria-label":t?"Expand":"Minimize",children:e.jsx(b.oa,{name:t?"chevron-down":"chevron-up",size:14})})]}),!t&&r&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:r.groups.map((o,p)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:o.items.map(i=>e.jsxs("button",{className:"nice-ribbon-menu__item",onClick:()=>x?.(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:o.label})]},p))})]})});L.displayName="NiceRibbonMenu";const B=_.forwardRef(({items:m,activeKey:N,onItemClick:a,position:x="bottom",autoHide:t=!1,iconSize:k=40,size:C="md",className:j,style:d,id:h,accessMode:g,...M},y)=>{const D=b.bc(h),S=b.Dc(g,h),[v,c]=_.useState(!1),l=!t||v;return S==="hidden"?null:e.jsx("div",{ref:y,id:D,className:`nice-dock-menu nice-dock-menu--${x} nice-dock-menu--${C} ${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:m.map(r=>e.jsxs("button",{className:`nice-dock-menu__item ${r.key===N?"nice-dock-menu__item--active":""}`,onClick:()=>a?.(r),disabled:r.disabled,title:r.text,type:"button",style:{width:k,height:k},children:[r.icon?e.jsx("span",{className:"nice-dock-menu__icon",children:r.icon}):e.jsx("span",{children:r.text[0]}),r.badge!==void 0&&e.jsx("span",{className:"nice-dock-menu__badge",children:r.badge})]},r.key))})})});B.displayName="NiceDockMenu";const W=_.forwardRef(({items:m,activeKey:N,onItemClick:a,open:x,onOpenChange:t,position:k="left",panelWidth:C=280,header:j,footer:d,size:h="md",className:g,style:M,id:y,accessMode:D,...S},v)=>{const c=b.bc(y),l=b.Dc(D,y),{t:r}=b.Gt(),[u,o]=_.useState(!1),p=x??u,i=_.useCallback(()=>{const s=!p;o(s),t?.(s)},[p,t]),$=_.useCallback(s=>{a?.(s),o(!1),t?.(!1)},[a,t]);return l==="hidden"?null:e.jsxs("div",{ref:v,id:c,className:`nice-hamburger-menu nice-hamburger-menu--${h} ${g??""}`,style:M,...S,children:[e.jsx("button",{className:"nice-hamburger-menu__trigger",onClick:i,"aria-label":r("nav.menu","Menu"),"aria-expanded":p,type:"button",children:e.jsxs("span",{className:`nice-hamburger-menu__icon ${p?"nice-hamburger-menu__icon--open":""}`,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})}),p&&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} ${p?"nice-hamburger-menu__panel--open":""}`,style:{width:C},children:[j&&e.jsx("div",{className:"nice-hamburger-menu__header",children:j}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:m.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})]})]})});W.displayName="NiceHamburgerMenu";const z=_.forwardRef(({canGoBack:m=!1,canGoForward:N=!1,onBack:a,onForward:x,onRefresh:t,enableShortcuts:k=!0,showRefresh:C=!0,showStop:j=!0,isLoading:d=!1,onStop:h,size:g="md",variant:M="default",tooltipPosition:y="bottom",backIcon:D,forwardIcon:S,refreshIcon:v,stopIcon:c,className:l,style:r,id:u,accessMode:o,disabled:p,...i},$)=>{const s=b.bc(u),A=b.Dc(o,u),{t:w}=b.Gt();if(_.useEffect(()=>{if(!k||p)return;const R=f=>{const T=f.altKey,H=f.ctrlKey||f.metaKey;T&&f.key==="ArrowLeft"?(f.preventDefault(),m&&a?.()):T&&f.key==="ArrowRight"?(f.preventDefault(),N&&x?.()):f.key==="F5"||H&&f.key==="r"?(f.preventDefault(),d?h?.():t?.()):f.key==="Escape"&&d&&(f.preventDefault(),h?.())};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[k,p,m,N,d,a,x,t,h]),A==="hidden")return null;const E=A==="disabled"||p,O=D??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"})}),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:"9 18 15 12 9 6"})}),F=v??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=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}${E?" nice-nav-controls--disabled":""}${l?` ${l}`:""}`,style:r,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${m?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:E||!m,"aria-label":w("nav.back","Back"),title:`${w("nav.back","Back")} (Alt+←)`,children:O}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${N?"":" nice-nav-controls__btn--disabled"}`,onClick:x,disabled:E||!N,"aria-label":w("nav.forward","Forward"),title:`${w("nav.forward","Forward")} (Alt+→)`,children:q}),(C||j&&d)&&(d?e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",onClick:h,disabled:E,"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:t,disabled:E,"aria-label":w("nav.refresh","Refresh"),title:`${w("nav.refresh","Refresh")} (F5)`,children:F}))]})});z.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.NiceAuthButtons=n.NiceAuthButtons;exports.NiceBreadcrumb=n.NiceBreadcrumb;exports.NiceCard=n.NiceCard;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.NiceMenu=n.NiceMenu;exports.NiceMinimalShell=n.NiceMinimalShell;exports.NiceModeSelector=n.NiceModeSelector;exports.NiceModernShell=n.NiceModernShell;exports.NiceModuleLifecyclePanel=n.NiceModuleLifecyclePanel;exports.NiceNavMenu=n.NiceNavMenu;exports.NiceNavbar=n.NiceNavbar;exports.NiceOrganizationProfileForm=n.NiceOrganizationProfileForm;exports.NicePwaShell=n.NicePwaShell;exports.NiceSetupWizard=n.NiceSetupWizard;exports.NiceSidebarNav=n.NiceSidebarNav;exports.NiceSplitter=n.NiceSplitter;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=B;exports.NiceHamburgerMenu=W;exports.NiceNavigationControls=z;exports.NiceRibbonMenu=L;exports.NiceSidebarMenu=I;exports.NiceTopMenu=P;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./NiceModuleLifecyclePanel-Df_1k5qW.cjs"),e=require("react/jsx-runtime"),b=require("./charts-B-sl1V9y.cjs"),_=require("react"),U=require("./pickerCommons-B-wOzHFh.cjs"),V=require("./NicePagination-EEQ6o1dF.cjs"),I=_.forwardRef(({items:m,activeKey:h,collapsed:a=!1,width:x=240,collapsedWidth:t=52,onItemClick:k,onCollapseChange:C,header:j,footer:d,size:N="md",className:g,style:M,id:y,accessMode:D,...S},v)=>{const c=b.bc(y),l=b.Dc(D,y),[r,u]=_.useState(new Set),o=_.useCallback(i=>{u($=>{const s=new Set($);return s.has(i)?s.delete(i):s.add(i),s})},[]);if(l==="hidden")return null;const p=(i,$=0)=>{const s=i.children&&i.children.length>0,A=r.has(i.key),w=i.key===h;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:()=>s?o(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:e.jsx(b.oa,{name:A?"chevron-down":"chevron-right",size:14})})]}),s&&A&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(E=>p(E,$+1))})]},i.key)};return e.jsxs("nav",{ref:v,id:c,className:`nice-sidebar-menu nice-sidebar-menu--${N} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?t:x},...S,children:[j&&e.jsx("div",{className:"nice-sidebar-menu__header",children:j}),e.jsx("ul",{className:"nice-sidebar-menu__list",role:"list",children:m.map(i=>p(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});I.displayName="NiceSidebarMenu";const P=_.forwardRef(({items:m,activeKey:h,onItemClick:a,brand:x,actions:t,size:k="md",className:C,style:j,id:d,accessMode:N,...g},M)=>{const y=b.bc(d),D=b.Dc(N,d),[S,v]=_.useState(null);return D==="hidden"?null:e.jsxs("nav",{ref:M,id:y,className:`nice-top-menu nice-top-menu--${k} ${C??""}`,style:j,...g,children:[x&&e.jsx("div",{className:"nice-top-menu__brand",children:x}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:m.map(c=>{const l=c.children&&c.children.length>0,r=S===c.key;return e.jsxs("li",{className:"nice-top-menu__item",onMouseEnter:()=>l&&v(c.key),onMouseLeave:()=>l&&v(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${c.key===h?"nice-top-menu__btn--active":""}`,onClick:()=>l?v(r?null:c.key):a?.(c),role:"menuitem","aria-haspopup":l,"aria-expanded":r,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:e.jsx(b.oa,{name:"chevron-down",size:14})})]}),l&&r&&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===h?"nice-top-menu__dropdown-btn--active":""}`,onClick:()=>{a?.(u),v(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:m,activeTab:h,onTabChange:a,onItemClick:x,minimized:t=!1,onMinimizeToggle:k,size:C="md",className:j,style:d,id:N,accessMode:g,...M},y)=>{const D=b.bc(N),S=b.Dc(g,N),[v,c]=_.useState(h??m[0]?.key),l=h??v,r=m.find(o=>o.key===l),u=_.useCallback(o=>{c(o),a?.(o)},[a]);return S==="hidden"?null:e.jsxs("div",{ref:y,id:D,className:`nice-ribbon-menu nice-ribbon-menu--${C} ${t?"nice-ribbon-menu--minimized":""} ${j??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[m.map(o=>e.jsx("button",{className:`nice-ribbon-menu__tab ${o.key===l?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(o.key),role:"tab","aria-selected":o.key===l,type:"button",children:o.label},o.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!t),type:"button","aria-label":t?"Expand":"Minimize",children:e.jsx(b.oa,{name:t?"chevron-down":"chevron-up",size:14})})]}),!t&&r&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:r.groups.map((o,p)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:o.items.map(i=>e.jsxs("button",{className:"nice-ribbon-menu__item",onClick:()=>x?.(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:o.label})]},p))})]})});L.displayName="NiceRibbonMenu";const B=_.forwardRef(({items:m,activeKey:h,onItemClick:a,position:x="bottom",autoHide:t=!1,iconSize:k=40,size:C="md",className:j,style:d,id:N,accessMode:g,...M},y)=>{const D=b.bc(N),S=b.Dc(g,N),[v,c]=_.useState(!1),l=!t||v;return S==="hidden"?null:e.jsx("div",{ref:y,id:D,className:`nice-dock-menu nice-dock-menu--${x} nice-dock-menu--${C} ${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:m.map(r=>e.jsxs("button",{className:`nice-dock-menu__item ${r.key===h?"nice-dock-menu__item--active":""}`,onClick:()=>a?.(r),disabled:r.disabled,title:r.text,type:"button",style:{width:k,height:k},children:[r.icon?e.jsx("span",{className:"nice-dock-menu__icon",children:r.icon}):e.jsx("span",{children:r.text[0]}),r.badge!==void 0&&e.jsx("span",{className:"nice-dock-menu__badge",children:r.badge})]},r.key))})})});B.displayName="NiceDockMenu";const W=_.forwardRef(({items:m,activeKey:h,onItemClick:a,open:x,onOpenChange:t,position:k="left",panelWidth:C=280,header:j,footer:d,size:N="md",className:g,style:M,id:y,accessMode:D,...S},v)=>{const c=b.bc(y),l=b.Dc(D,y),{t:r}=b.Gt(),[u,o]=_.useState(!1),p=x??u,i=_.useCallback(()=>{const s=!p;o(s),t?.(s)},[p,t]),$=_.useCallback(s=>{a?.(s),o(!1),t?.(!1)},[a,t]);return l==="hidden"?null:e.jsxs("div",{ref:v,id:c,className:`nice-hamburger-menu nice-hamburger-menu--${N} ${g??""}`,style:M,...S,children:[e.jsx("button",{className:"nice-hamburger-menu__trigger",onClick:i,"aria-label":r("nav.menu","Menu"),"aria-expanded":p,type:"button",children:e.jsxs("span",{className:`nice-hamburger-menu__icon ${p?"nice-hamburger-menu__icon--open":""}`,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})}),p&&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} ${p?"nice-hamburger-menu__panel--open":""}`,style:{width:C},children:[j&&e.jsx("div",{className:"nice-hamburger-menu__header",children:j}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:m.map(s=>e.jsx("li",{children:e.jsxs("button",{className:`nice-hamburger-menu__item ${s.key===h?"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})]})]})});W.displayName="NiceHamburgerMenu";const z=_.forwardRef(({canGoBack:m=!1,canGoForward:h=!1,onBack:a,onForward:x,onRefresh:t,enableShortcuts:k=!0,showRefresh:C=!0,showStop:j=!0,isLoading:d=!1,onStop:N,size:g="md",variant:M="default",tooltipPosition:y="bottom",backIcon:D,forwardIcon:S,refreshIcon:v,stopIcon:c,className:l,style:r,id:u,accessMode:o,disabled:p,...i},$)=>{const s=b.bc(u),A=b.Dc(o,u),{t:w}=b.Gt();if(_.useEffect(()=>{if(!k||p)return;const R=f=>{const T=f.altKey,H=f.ctrlKey||f.metaKey;T&&f.key==="ArrowLeft"?(f.preventDefault(),m&&a?.()):T&&f.key==="ArrowRight"?(f.preventDefault(),h&&x?.()):f.key==="F5"||H&&f.key==="r"?(f.preventDefault(),d?N?.():t?.()):f.key==="Escape"&&d&&(f.preventDefault(),N?.())};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[k,p,m,h,d,a,x,t,N]),A==="hidden")return null;const E=A==="disabled"||p,O=D??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"})}),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:"9 18 15 12 9 6"})}),F=v??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=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}${E?" nice-nav-controls--disabled":""}${l?` ${l}`:""}`,style:r,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${m?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:E||!m,"aria-label":w("nav.back","Back"),title:`${w("nav.back","Back")} (Alt+←)`,children:O}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${h?"":" nice-nav-controls__btn--disabled"}`,onClick:x,disabled:E||!h,"aria-label":w("nav.forward","Forward"),title:`${w("nav.forward","Forward")} (Alt+→)`,children:q}),(C||j&&d)&&(d?e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",onClick:N,disabled:E,"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:t,disabled:E,"aria-label":w("nav.refresh","Refresh"),title:`${w("nav.refresh","Refresh")} (F5)`,children:F}))]})});z.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.NiceAuthButtons=n.NiceAuthButtons;exports.NiceBreadcrumb=n.NiceBreadcrumb;exports.NiceCard=n.NiceCard;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.NiceMenu=n.NiceMenu;exports.NiceMinimalShell=n.NiceMinimalShell;exports.NiceModeSelector=n.NiceModeSelector;exports.NiceModernShell=n.NiceModernShell;exports.NiceModuleLifecyclePanel=n.NiceModuleLifecyclePanel;exports.NiceNavMenu=n.NiceNavMenu;exports.NiceNavbar=n.NiceNavbar;exports.NiceOrganizationProfileForm=n.NiceOrganizationProfileForm;exports.NicePwaShell=n.NicePwaShell;exports.NiceSetupWizard=n.NiceSetupWizard;exports.NiceSidebarNav=n.NiceSidebarNav;exports.NiceSplitter=n.NiceSplitter;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=B;exports.NiceHamburgerMenu=W;exports.NiceNavigationControls=z;exports.NiceRibbonMenu=L;exports.NiceSidebarMenu=I;exports.NiceTopMenu=P;
|
package/dist/navigation.d.ts
CHANGED
|
@@ -1685,6 +1685,12 @@ export declare interface NiceTabsProps extends NiceBaseProps {
|
|
|
1685
1685
|
iconOnly?: boolean;
|
|
1686
1686
|
/** Center the tab strip. `'auto'` (default) centers only when `iconOnly`. */
|
|
1687
1687
|
centered?: boolean | 'auto';
|
|
1688
|
+
/**
|
|
1689
|
+
* Where a tab's `badge`/count sits relative to the icon+label:
|
|
1690
|
+
* `'right'` (default) — inline after the label; `'bottom'` — stacked under the
|
|
1691
|
+
* icon as a heavily-rounded pill rectangle (not a circle).
|
|
1692
|
+
*/
|
|
1693
|
+
countLocation?: 'right' | 'bottom';
|
|
1688
1694
|
}
|
|
1689
1695
|
|
|
1690
1696
|
/** A running-window entry in the {@link NiceDesktop} taskbar. */
|
package/dist/navigation.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { D as ie, a as ce, b as se, c as le, d as re, e as oe, N as te, f as de, g as ue, h as be, i as me, j as he, k as _e, l as pe, m as Ne, n as ve, o as ke, p as ye, q as fe, r as ge, s as $e, t as xe, u as we, v as Me, w as Ce, x as De, y as Se, z as Ee, A as Ie, B as Ae, C as Te, E as Re, F as Be, G as Le, H as Pe, S as We } from "./NiceModuleLifecyclePanel-
|
|
1
|
+
import { D as ie, a as ce, b as se, c as le, d as re, e as oe, N as te, f as de, g as ue, h as be, i as me, j as he, k as _e, l as pe, m as Ne, n as ve, o as ke, p as ye, q as fe, r as ge, s as $e, t as xe, u as we, v as Me, w as Ce, x as De, y as Se, z as Ee, A as Ie, B as Ae, C as Te, E as Re, F as Be, G as Le, H as Pe, S as We } from "./NiceModuleLifecyclePanel-4hzDw6it.js";
|
|
2
2
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { c as E, D as I, G as z, o as L } from "./charts-DO2z6Ziu.js";
|
|
4
4
|
import { forwardRef as A, useState as R, useCallback as B, useEffect as U } from "react";
|
|
5
|
-
import {
|
|
6
|
-
import { N as He } from "./NicePagination-
|
|
5
|
+
import { d as Ke } from "./pickerCommons-COiSUiP2.js";
|
|
6
|
+
import { N as He } from "./NicePagination-CPn-Q1h_.js";
|
|
7
7
|
const q = A(
|
|
8
8
|
({
|
|
9
9
|
items: b,
|