@nice2dev/ui 1.1.9 → 1.1.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.
- package/CHANGELOG.md +74 -0
- package/README.md +17 -16
- package/dist/NiceCodeEditor-BfkH1bsZ.cjs +260 -0
- package/dist/NiceCodeEditor-CduGYggj.js +1179 -0
- package/dist/NiceColorPicker-CdUnhM-A.cjs +1 -0
- package/dist/NiceColorPicker-DpXwnDwL.js +598 -0
- package/dist/NiceConfirmDialog-B7aNRL2K.cjs +1 -0
- package/dist/NiceConfirmDialog-BdhWenrO.js +81 -0
- package/dist/NiceDataGrid-CVYEo_nv.cjs +10 -0
- package/dist/NiceDataGrid-D-rm4lu8.js +2217 -0
- package/dist/NiceDocumentViewer-BgcgLWJ3.cjs +180 -0
- package/dist/NiceDocumentViewer-sukmGhRx.js +672 -0
- package/dist/NiceForm-DVc0Xoly.js +4819 -0
- package/dist/NiceForm-qD_RKPYz.cjs +1 -0
- package/dist/NiceGantt-4UBd4uJ8.cjs +1 -0
- package/dist/NiceGantt-B_1lwEsp.js +328 -0
- package/dist/NiceHtmlEditor-Bce9Vwe1.cjs +10 -0
- package/dist/NiceHtmlEditor-CGRgcu2h.js +848 -0
- package/dist/NiceLoginForm-BTuQ0eKk.cjs +1 -0
- package/dist/NiceLoginForm-o1A-TBcp.js +736 -0
- package/dist/NiceMention-Dds9GQzk.cjs +430 -0
- package/dist/NiceMention-DlLXWddO.js +11268 -0
- package/dist/NiceModal-Dr1e3nQZ.cjs +1 -0
- package/dist/NiceModal-sihGCfDy.js +95 -0
- package/dist/NiceModuleLifecyclePanel-Du7G3-RG.js +7053 -0
- package/dist/NiceModuleLifecyclePanel-js1p7LIY.cjs +1 -0
- package/dist/NicePagination-D44waj9o.cjs +1 -0
- package/dist/NicePagination-DdxH8KMG.js +179 -0
- package/dist/NicePivotGrid-B2YHP3Z6.js +1183 -0
- package/dist/NicePivotGrid-BtVUWiud.cjs +152 -0
- package/dist/NiceSavedQueryPanel-C0A-eoYN.js +5142 -0
- package/dist/NiceSavedQueryPanel-ZrilZRtf.cjs +586 -0
- package/dist/NiceScheduler-KSzaUQxC.js +1693 -0
- package/dist/NiceScheduler-O3AwmdGG.cjs +5 -0
- package/dist/NiceSelect-BCbWtu1v.js +433 -0
- package/dist/NiceSelect-BqtiQbfD.cjs +1 -0
- package/dist/NiceWindow-BU1Ce7gS.js +1623 -0
- package/dist/NiceWindow-jjdE6vGy.cjs +1 -0
- package/dist/charts-C44vJber.cjs +768 -0
- package/dist/charts-XVlDwU0y.js +4732 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.mjs +8 -8
- package/dist/core-BxiH7vkV.cjs +1 -0
- package/dist/core-DMV6_SEE.js +795 -0
- package/dist/data-branching-oEH04O3i.js +6273 -0
- package/dist/data-branching-wmsbLNfa.cjs +1 -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 +2 -2
- package/dist/data.mjs +3 -3
- package/dist/devops-Bt6EsfPa.cjs +17 -0
- package/dist/devops-CnZQ1rU5.js +8312 -0
- package/dist/devops.cjs +1 -1
- package/dist/devops.mjs +1 -1
- package/dist/editors.cjs +1 -1
- package/dist/editors.d.ts +2 -1
- package/dist/editors.mjs +7 -7
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.mjs +3 -3
- package/dist/index.cjs +142 -142
- package/dist/index.d.ts +45 -26
- package/dist/index.mjs +7480 -7459
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.mjs +24 -24
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +69 -69
- package/dist/no-code-4GtIBr6f.js +7503 -0
- package/dist/no-code-Bdwh1vyS.cjs +332 -0
- package/dist/no-code.cjs +1 -1
- package/dist/no-code.mjs +1 -1
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.mjs +102 -102
- package/dist/pickerCommons-31hyz1gs.js +1122 -0
- package/dist/pickerCommons-BifIkPdk.cjs +1 -0
- package/package.json +4 -4
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-Bt6EsfPa.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-Bt6EsfPa.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-Bt6EsfPa.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-Bt6EsfPa.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-Bt6EsfPa.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-Bt6EsfPa.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-Bt6EsfPa.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-Bt6EsfPa.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-Bt6EsfPa.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-Bdwh1vyS.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-Bdwh1vyS.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-Bdwh1vyS.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-Bdwh1vyS.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-Bdwh1vyS.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-Bdwh1vyS.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-wmsbLNfa.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-wmsbLNfa.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-wmsbLNfa.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-wmsbLNfa.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-wmsbLNfa.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-wmsbLNfa.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-C44vJber.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-C44vJber.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-C44vJber.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-CnZQ1rU5.js").then((e) => e.j).then((e) => ({ default: e.NiceGitGraph }))
|
|
4
4
|
), c = t(
|
|
5
|
-
() => import("./devops-
|
|
5
|
+
() => import("./devops-CnZQ1rU5.js").then((e) => e.k).then((e) => ({ default: e.NiceBranchManager }))
|
|
6
6
|
), h = t(
|
|
7
|
-
() => import("./devops-
|
|
7
|
+
() => import("./devops-CnZQ1rU5.js").then((e) => e.m).then((e) => ({ default: e.NiceGitDiffViewer }))
|
|
8
8
|
), l = t(
|
|
9
|
-
() => import("./devops-
|
|
9
|
+
() => import("./devops-CnZQ1rU5.js").then((e) => e.n).then((e) => ({ default: e.NiceGitBlame }))
|
|
10
10
|
), p = t(
|
|
11
|
-
() => import("./devops-
|
|
11
|
+
() => import("./devops-CnZQ1rU5.js").then((e) => e.o).then((e) => ({ default: e.NiceGitConflictResolver }))
|
|
12
12
|
), s = t(
|
|
13
|
-
() => import("./devops-
|
|
13
|
+
() => import("./devops-CnZQ1rU5.js").then((e) => e.q).then((e) => ({ default: e.NicePipelineEditor }))
|
|
14
14
|
), d = t(
|
|
15
|
-
() => import("./devops-
|
|
15
|
+
() => import("./devops-CnZQ1rU5.js").then((e) => e.r).then((e) => ({ default: e.NicePipelineMonitor }))
|
|
16
16
|
), f = t(
|
|
17
|
-
() => import("./devops-
|
|
17
|
+
() => import("./devops-CnZQ1rU5.js").then((e) => e.p).then((e) => ({ default: e.NiceGitHooks }))
|
|
18
18
|
), m = t(
|
|
19
|
-
() => import("./devops-
|
|
19
|
+
() => import("./devops-CnZQ1rU5.js").then((e) => e.l).then((e) => ({ default: e.NiceMergeRequestBuilder }))
|
|
20
20
|
), u = t(
|
|
21
|
-
() => import("./no-code-
|
|
21
|
+
() => import("./no-code-4GtIBr6f.js").then((e) => e.k).then((e) => ({ default: e.NiceAPIFlow }))
|
|
22
22
|
), y = t(
|
|
23
|
-
() => import("./no-code-
|
|
23
|
+
() => import("./no-code-4GtIBr6f.js").then((e) => e.o).then((e) => ({ default: e.NiceCodeTemplate }))
|
|
24
24
|
), z = t(
|
|
25
|
-
() => import("./no-code-
|
|
25
|
+
() => import("./no-code-4GtIBr6f.js").then((e) => e.l).then((e) => ({ default: e.NiceDataMapper }))
|
|
26
26
|
), N = t(
|
|
27
|
-
() => import("./no-code-
|
|
27
|
+
() => import("./no-code-4GtIBr6f.js").then((e) => e.m).then((e) => ({ default: e.NiceEventOrchestrator }))
|
|
28
28
|
), L = t(
|
|
29
|
-
() => import("./no-code-
|
|
29
|
+
() => import("./no-code-4GtIBr6f.js").then((e) => e.j).then((e) => ({ default: e.NiceStateDesigner }))
|
|
30
30
|
), D = t(
|
|
31
|
-
() => import("./no-code-
|
|
31
|
+
() => import("./no-code-4GtIBr6f.js").then((e) => e.n).then((e) => ({ default: e.NiceTestBuilder }))
|
|
32
32
|
), B = t(
|
|
33
|
-
() => import("./data-branching-
|
|
33
|
+
() => import("./data-branching-oEH04O3i.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-oEH04O3i.js").then((e) => e.g).then((e) => ({ default: e.NiceDataDiffViewer }))
|
|
38
38
|
), M = t(
|
|
39
|
-
() => import("./data-branching-
|
|
39
|
+
() => import("./data-branching-oEH04O3i.js").then((e) => e.h).then((e) => ({ default: e.NiceDataBranchGraph }))
|
|
40
40
|
), g = t(
|
|
41
|
-
() => import("./data-branching-
|
|
41
|
+
() => import("./data-branching-oEH04O3i.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-oEH04O3i.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-oEH04O3i.js").then((e) => e.k).then((e) => ({ default: e.NiceDataSnapshot }))
|
|
50
50
|
), v = t(
|
|
51
|
-
() => import("./charts-
|
|
51
|
+
() => import("./charts-XVlDwU0y.js").then((e) => e.A).then((e) => ({ default: e.NiceChart }))
|
|
52
52
|
), w = t(
|
|
53
|
-
() => import("./charts-
|
|
53
|
+
() => import("./charts-XVlDwU0y.js").then((e) => e.D).then((e) => ({ default: e.NiceTreeMap }))
|
|
54
54
|
), T = t(
|
|
55
|
-
() => import("./charts-
|
|
55
|
+
() => import("./charts-XVlDwU0y.js").then((e) => e.B).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-BuYoPvdt.cjs"),e=require("react/jsx-runtime"),b=require("./charts-BtGltdoA.cjs"),h=require("react"),U=require("./pickerCommons-CMgL5F67.cjs"),J=require("./NicePagination-8EP-9Jtv.cjs"),L=h.forwardRef(({items:m,activeKey:_,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:S,...D},v)=>{const c=b.Lc(y),l=b.jc(S,y),[r,u]=h.useState(new Set),o=h.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,E=r.has(i.key),w=i.key===_;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.Ae,{name:E?"chevron-down":"chevron-right",size:14})})]}),s&&E&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(A=>p(A,$+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},...D,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})]})});L.displayName="NiceSidebarMenu";const I=h.forwardRef(({items:m,activeKey:_,onItemClick:a,brand:x,actions:t,size:k="md",className:C,style:j,id:d,accessMode:N,...g},M)=>{const y=b.Lc(d),S=b.jc(N,d),[D,v]=h.useState(null);return S==="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=D===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===_?"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.Ae,{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===_?"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})]})});I.displayName="NiceTopMenu";const V=[],P=h.forwardRef(({tabs:m=V,activeTab:_,onTabChange:a,onItemClick:x,minimized:t=!1,onMinimizeToggle:k,size:C="md",className:j,style:d,id:N,accessMode:g,...M},y)=>{const S=b.Lc(N),D=b.jc(g,N),[v,c]=h.useState(void 0),l=_??v??m[0]?.key,r=m.find(o=>o.key===l),u=h.useCallback(o=>{c(o),a?.(o)},[a]);return D==="hidden"?null:e.jsxs("div",{ref:y,id:S,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.Ae,{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))})]})});P.displayName="NiceRibbonMenu";const B=h.forwardRef(({items:m,activeKey:_,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 S=b.Lc(N),D=b.jc(g,N),[v,c]=h.useState(!1),l=!t||v;return D==="hidden"?null:e.jsx("div",{ref:y,id:S,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===_?"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=h.forwardRef(({items:m,activeKey:_,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:S,...D},v)=>{const c=b.Lc(y),l=b.jc(S,y),{t:r}=b.Jt(),[u,o]=h.useState(!1),p=x??u,i=h.useCallback(()=>{const s=!p;o(s),t?.(s)},[p,t]),$=h.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,...D,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===_?"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 O=h.forwardRef(({canGoBack:m=!1,canGoForward:_=!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:S,forwardIcon:D,refreshIcon:v,stopIcon:c,className:l,style:r,id:u,accessMode:o,disabled:p,...i},$)=>{const s=b.Lc(u),E=b.jc(o,u),{t:w}=b.Jt();if(h.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(),_&&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,_,d,a,x,t,N]),E==="hidden")return null;const A=E==="disabled"||p,z=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"})}),q=D??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}${A?" 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:A||!m,"aria-label":w("nav.back","Back"),title:`${w("nav.back","Back")} (Alt+←)`,children:z}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${_?"":" nice-nav-controls__btn--disabled"}`,onClick:x,disabled:A||!_,"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:A,"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:A,"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.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.sidebarModeLabel=n.sidebarModeLabel;exports.NiceTabs=U.NiceTabs;exports.NicePagination=J.NicePagination;exports.NiceDockMenu=B;exports.NiceHamburgerMenu=W;exports.NiceNavigationControls=O;exports.NiceRibbonMenu=P;exports.NiceSidebarMenu=L;exports.NiceTopMenu=I;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./NiceModuleLifecyclePanel-js1p7LIY.cjs"),e=require("react/jsx-runtime"),b=require("@nice2dev/ui-core"),h=require("react"),U=require("./pickerCommons-BifIkPdk.cjs"),V=require("./NicePagination-D44waj9o.cjs"),R=h.forwardRef(({items:N,activeKey:_,collapsed:a=!1,width:x=240,collapsedWidth:r=52,onItemClick:k,onCollapseChange:w,header:j,footer:d,size:m="md",className:g,style:M,id:y,accessMode:C,...S},v)=>{const c=b.useControlId(y),l=b.useNiceAccessMode(C,y),[o,u]=h.useState(new Set),t=h.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,I=o.has(i.key),D=i.key===_;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?t(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.NiceIcon,{name:I?"chevron-down":"chevron-right",size:14})})]}),s&&I&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(A=>p(A,$+1))})]},i.key)};return e.jsxs("nav",{ref:v,id:c,className:`nice-sidebar-menu nice-sidebar-menu--${m} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?r: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:N.map(i=>p(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});R.displayName="NiceSidebarMenu";const P=h.forwardRef(({items:N,activeKey:_,onItemClick:a,brand:x,actions:r,size:k="md",className:w,style:j,id:d,accessMode:m,...g},M)=>{const y=b.useControlId(d),C=b.useNiceAccessMode(m,d),[S,v]=h.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:[x&&e.jsx("div",{className:"nice-top-menu__brand",children:x}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:N.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&&v(c.key),onMouseLeave:()=>l&&v(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${c.key===_?"nice-top-menu__btn--active":""}`,onClick:()=>l?v(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:e.jsx(b.NiceIcon,{name:"chevron-down",size:14})})]}),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===_?"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)})}),r&&e.jsx("div",{className:"nice-top-menu__actions",children:r})]})});P.displayName="NiceTopMenu";const J=[],B=h.forwardRef(({tabs:N=J,activeTab:_,onTabChange:a,onItemClick:x,minimized:r=!1,onMinimizeToggle:k,size:w="md",className:j,style:d,id:m,accessMode:g,...M},y)=>{const C=b.useControlId(m),S=b.useNiceAccessMode(g,m),[v,c]=h.useState(void 0),l=_??v??N[0]?.key,o=N.find(t=>t.key===l),u=h.useCallback(t=>{c(t),a?.(t)},[a]);return S==="hidden"?null:e.jsxs("div",{ref:y,id:C,className:`nice-ribbon-menu nice-ribbon-menu--${w} ${r?"nice-ribbon-menu--minimized":""} ${j??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[N.map(t=>e.jsx("button",{className:`nice-ribbon-menu__tab ${t.key===l?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(t.key),role:"tab","aria-selected":t.key===l,type:"button",children:t.label},t.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!r),type:"button","aria-label":r?"Expand":"Minimize",children:e.jsx(b.NiceIcon,{name:r?"chevron-down":"chevron-up",size:14})})]}),!r&&o&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:o.groups.map((t,p)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:t.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:t.label})]},p))})]})});B.displayName="NiceRibbonMenu";const L=h.forwardRef(({items:N,activeKey:_,onItemClick:a,position:x="bottom",autoHide:r=!1,iconSize:k=40,size:w="md",className:j,style:d,id:m,accessMode:g,...M},y)=>{const C=b.useControlId(m),S=b.useNiceAccessMode(g,m),[v,c]=h.useState(!1),l=!r||v;return S==="hidden"?null:e.jsx("div",{ref:y,id:C,className:`nice-dock-menu nice-dock-menu--${x} nice-dock-menu--${w} ${r&&!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:N.map(o=>e.jsxs("button",{className:`nice-dock-menu__item ${o.key===_?"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))})})});L.displayName="NiceDockMenu";const W=h.forwardRef(({items:N,activeKey:_,onItemClick:a,open:x,onOpenChange:r,position:k="left",panelWidth:w=280,header:j,footer:d,size:m="md",className:g,style:M,id:y,accessMode:C,...S},v)=>{const c=b.useControlId(y),l=b.useNiceAccessMode(C,y),{t:o}=b.useNiceTranslation(),[u,t]=h.useState(!1),p=x??u,i=h.useCallback(()=>{const s=!p;t(s),r?.(s)},[p,r]),$=h.useCallback(s=>{a?.(s),t(!1),r?.(!1)},[a,r]);return l==="hidden"?null:e.jsxs("div",{ref:v,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":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:w},children:[j&&e.jsx("div",{className:"nice-hamburger-menu__header",children:j}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:N.map(s=>e.jsx("li",{children:e.jsxs("button",{className:`nice-hamburger-menu__item ${s.key===_?"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 O=h.forwardRef(({canGoBack:N=!1,canGoForward:_=!1,onBack:a,onForward:x,onRefresh:r,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:v,stopIcon:c,className:l,style:o,id:u,accessMode:t,disabled:p,...i},$)=>{const s=b.useControlId(u),I=b.useNiceAccessMode(t,u),{t:D}=b.useNiceTranslation();if(h.useEffect(()=>{if(!k||p)return;const E=f=>{const T=f.altKey,H=f.ctrlKey||f.metaKey;T&&f.key==="ArrowLeft"?(f.preventDefault(),N&&a?.()):T&&f.key==="ArrowRight"?(f.preventDefault(),_&&x?.()):f.key==="F5"||H&&f.key==="r"?(f.preventDefault(),d?m?.():r?.()):f.key==="Escape"&&d&&(f.preventDefault(),m?.())};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[k,p,N,_,d,a,x,r,m]),I==="hidden")return null;const A=I==="disabled"||p,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"})}),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}${A?" 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${N?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:A||!N,"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${_?"":" nice-nav-controls__btn--disabled"}`,onClick:x,disabled:A||!_,"aria-label":D("nav.forward","Forward"),title:`${D("nav.forward","Forward")} (Alt+→)`,children:q}),(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:A,"aria-label":D("nav.stop","Stop"),title:`${D("nav.stop","Stop")} (Esc)`,children:K}):e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--refresh",onClick:r,disabled:A,"aria-label":D("nav.refresh","Refresh"),title:`${D("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.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.sidebarModeLabel=n.sidebarModeLabel;exports.NiceTabs=U.NiceTabs;exports.NicePagination=V.NicePagination;exports.NiceDockMenu=L;exports.NiceHamburgerMenu=W;exports.NiceNavigationControls=O;exports.NiceRibbonMenu=B;exports.NiceSidebarMenu=R;exports.NiceTopMenu=P;
|
package/dist/navigation.d.ts
CHANGED
|
@@ -118,8 +118,8 @@ declare interface NiceAccordionItem {
|
|
|
118
118
|
export declare interface NiceAccordionProps extends NiceBaseProps {
|
|
119
119
|
/** Accordion size. */
|
|
120
120
|
size?: NiceSize;
|
|
121
|
-
/** Panel definitions. */
|
|
122
|
-
items
|
|
121
|
+
/** Panel definitions. Optional: without them the accordion renders empty. */
|
|
122
|
+
items?: NiceAccordionItem[];
|
|
123
123
|
/** Allow multiple panels to be open at once. */
|
|
124
124
|
multiple?: boolean;
|
|
125
125
|
/** IDs of panels that are open by default. */
|
|
@@ -2287,8 +2287,8 @@ declare interface WizardStep {
|
|
|
2287
2287
|
validate?: () => string | true | undefined;
|
|
2288
2288
|
/** Whether this step is optional (can be skipped). */
|
|
2289
2289
|
optional?: boolean;
|
|
2290
|
-
/** Content renderer. */
|
|
2291
|
-
content
|
|
2290
|
+
/** Content renderer. Optional: a step without content shows only its title and description. */
|
|
2291
|
+
content?: default_2.ReactNode | ((ctx: WizardStepContext) => default_2.ReactNode);
|
|
2292
2292
|
}
|
|
2293
2293
|
|
|
2294
2294
|
/** Context provided to each step's content renderer. */
|
package/dist/navigation.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as ce, a as se, b as le, c as
|
|
1
|
+
import { D as ce, a as se, b as le, c as oe, d as re, e as te, N as de, f as ue, g as be, h as me, i as _e, j as he, k as pe, l as Ne, m as ve, n as ke, o as ye, p as fe, q as ge, r as $e, s as xe, t as we, u as Me, v as Ce, w as De, x as Se, y as Ee, z as Ie, A as Ae, B as Te, C as Be, E as Re, F as Le, G as Pe, H as We, S as Oe, I as ze } from "./NiceModuleLifecyclePanel-Du7G3-RG.js";
|
|
2
2
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { d as
|
|
6
|
-
import { N as
|
|
7
|
-
const q =
|
|
3
|
+
import { useControlId as E, useNiceAccessMode as I, useNiceTranslation as O, NiceIcon as L } from "@nice2dev/ui-core";
|
|
4
|
+
import { forwardRef as A, useState as B, useCallback as R, useEffect as U } from "react";
|
|
5
|
+
import { d as Fe } from "./pickerCommons-31hyz1gs.js";
|
|
6
|
+
import { N as je } from "./NicePagination-DdxH8KMG.js";
|
|
7
|
+
const q = A(
|
|
8
8
|
({
|
|
9
9
|
items: b,
|
|
10
10
|
activeKey: _,
|
|
@@ -22,13 +22,13 @@ const q = I(
|
|
|
22
22
|
accessMode: x,
|
|
23
23
|
...w
|
|
24
24
|
}, N) => {
|
|
25
|
-
const i = E(y),
|
|
25
|
+
const i = E(y), r = I(x, y), [s, u] = B(/* @__PURE__ */ new Set()), o = R((n) => {
|
|
26
26
|
u((D) => {
|
|
27
27
|
const a = new Set(D);
|
|
28
28
|
return a.has(n) ? a.delete(n) : a.add(n), a;
|
|
29
29
|
});
|
|
30
30
|
}, []);
|
|
31
|
-
if (
|
|
31
|
+
if (r === "hidden")
|
|
32
32
|
return null;
|
|
33
33
|
const h = (n, D = 0) => {
|
|
34
34
|
const a = n.children && n.children.length > 0, T = s.has(n.key), M = n.key === _;
|
|
@@ -38,7 +38,7 @@ const q = I(
|
|
|
38
38
|
{
|
|
39
39
|
className: `nice-sidebar-menu__btn ${M ? "nice-sidebar-menu__btn--active" : ""} ${n.disabled ? "nice-sidebar-menu__btn--disabled" : ""}`,
|
|
40
40
|
style: { paddingLeft: c ? void 0 : 12 + D * 16 },
|
|
41
|
-
onClick: () => a ?
|
|
41
|
+
onClick: () => a ? o(n.key) : v?.(n),
|
|
42
42
|
disabled: n.disabled,
|
|
43
43
|
title: c ? n.text : void 0,
|
|
44
44
|
type: "button",
|
|
@@ -46,7 +46,7 @@ const q = I(
|
|
|
46
46
|
n.icon && /* @__PURE__ */ e("span", { className: "nice-sidebar-menu__icon", children: n.icon }),
|
|
47
47
|
!c && /* @__PURE__ */ e("span", { className: "nice-sidebar-menu__label", children: n.text }),
|
|
48
48
|
!c && n.badge !== void 0 && /* @__PURE__ */ e("span", { className: "nice-sidebar-menu__badge", children: n.badge }),
|
|
49
|
-
!c && a && /* @__PURE__ */ e("span", { className: "nice-sidebar-menu__chevron", children: /* @__PURE__ */ e(
|
|
49
|
+
!c && a && /* @__PURE__ */ e("span", { className: "nice-sidebar-menu__chevron", children: /* @__PURE__ */ e(L, { name: T ? "chevron-down" : "chevron-right", size: 14 }) })
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
),
|
|
@@ -71,7 +71,7 @@ const q = I(
|
|
|
71
71
|
}
|
|
72
72
|
);
|
|
73
73
|
q.displayName = "NiceSidebarMenu";
|
|
74
|
-
const
|
|
74
|
+
const V = A(
|
|
75
75
|
({
|
|
76
76
|
items: b,
|
|
77
77
|
activeKey: _,
|
|
@@ -85,7 +85,7 @@ const J = I(
|
|
|
85
85
|
accessMode: m,
|
|
86
86
|
...g
|
|
87
87
|
}, $) => {
|
|
88
|
-
const y = E(d), x =
|
|
88
|
+
const y = E(d), x = I(m, d), [w, N] = B(null);
|
|
89
89
|
return x === "hidden" ? null : /* @__PURE__ */ t(
|
|
90
90
|
"nav",
|
|
91
91
|
{
|
|
@@ -97,32 +97,32 @@ const J = I(
|
|
|
97
97
|
children: [
|
|
98
98
|
p && /* @__PURE__ */ e("div", { className: "nice-top-menu__brand", children: p }),
|
|
99
99
|
/* @__PURE__ */ e("ul", { className: "nice-top-menu__items", role: "menubar", children: b.map((i) => {
|
|
100
|
-
const
|
|
100
|
+
const r = i.children && i.children.length > 0, s = w === i.key;
|
|
101
101
|
return /* @__PURE__ */ t(
|
|
102
102
|
"li",
|
|
103
103
|
{
|
|
104
104
|
className: "nice-top-menu__item",
|
|
105
|
-
onMouseEnter: () =>
|
|
106
|
-
onMouseLeave: () =>
|
|
105
|
+
onMouseEnter: () => r && N(i.key),
|
|
106
|
+
onMouseLeave: () => r && N(null),
|
|
107
107
|
children: [
|
|
108
108
|
/* @__PURE__ */ t(
|
|
109
109
|
"button",
|
|
110
110
|
{
|
|
111
111
|
className: `nice-top-menu__btn ${i.key === _ ? "nice-top-menu__btn--active" : ""}`,
|
|
112
|
-
onClick: () =>
|
|
112
|
+
onClick: () => r ? N(s ? null : i.key) : c?.(i),
|
|
113
113
|
role: "menuitem",
|
|
114
|
-
"aria-haspopup":
|
|
114
|
+
"aria-haspopup": r,
|
|
115
115
|
"aria-expanded": s,
|
|
116
116
|
disabled: i.disabled,
|
|
117
117
|
type: "button",
|
|
118
118
|
children: [
|
|
119
119
|
i.icon && /* @__PURE__ */ e("span", { children: i.icon }),
|
|
120
120
|
/* @__PURE__ */ e("span", { children: i.text }),
|
|
121
|
-
|
|
121
|
+
r && /* @__PURE__ */ e("span", { className: "nice-top-menu__chevron", children: /* @__PURE__ */ e(L, { name: "chevron-down", size: 14 }) })
|
|
122
122
|
]
|
|
123
123
|
}
|
|
124
124
|
),
|
|
125
|
-
|
|
125
|
+
r && s && /* @__PURE__ */ e("ul", { className: "nice-top-menu__dropdown", role: "menu", children: i.children.map((u) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ t(
|
|
126
126
|
"button",
|
|
127
127
|
{
|
|
128
128
|
className: `nice-top-menu__dropdown-btn ${u.key === _ ? "nice-top-menu__dropdown-btn--active" : ""}`,
|
|
@@ -150,10 +150,10 @@ const J = I(
|
|
|
150
150
|
);
|
|
151
151
|
}
|
|
152
152
|
);
|
|
153
|
-
|
|
154
|
-
const
|
|
153
|
+
V.displayName = "NiceTopMenu";
|
|
154
|
+
const J = [], Q = A(
|
|
155
155
|
({
|
|
156
|
-
tabs: b =
|
|
156
|
+
tabs: b = J,
|
|
157
157
|
activeTab: _,
|
|
158
158
|
onTabChange: c,
|
|
159
159
|
onItemClick: p,
|
|
@@ -166,9 +166,9 @@ const V = [], Q = I(
|
|
|
166
166
|
accessMode: g,
|
|
167
167
|
...$
|
|
168
168
|
}, y) => {
|
|
169
|
-
const x = E(m), w =
|
|
170
|
-
(
|
|
171
|
-
i(
|
|
169
|
+
const x = E(m), w = I(g, m), [N, i] = B(void 0), r = _ ?? N ?? b[0]?.key, s = b.find((o) => o.key === r), u = R(
|
|
170
|
+
(o) => {
|
|
171
|
+
i(o), c?.(o);
|
|
172
172
|
},
|
|
173
173
|
[c]
|
|
174
174
|
);
|
|
@@ -182,17 +182,17 @@ const V = [], Q = I(
|
|
|
182
182
|
...$,
|
|
183
183
|
children: [
|
|
184
184
|
/* @__PURE__ */ t("div", { className: "nice-ribbon-menu__tabs", role: "tablist", children: [
|
|
185
|
-
b.map((
|
|
185
|
+
b.map((o) => /* @__PURE__ */ e(
|
|
186
186
|
"button",
|
|
187
187
|
{
|
|
188
|
-
className: `nice-ribbon-menu__tab ${
|
|
189
|
-
onClick: () => u(
|
|
188
|
+
className: `nice-ribbon-menu__tab ${o.key === r ? "nice-ribbon-menu__tab--active" : ""}`,
|
|
189
|
+
onClick: () => u(o.key),
|
|
190
190
|
role: "tab",
|
|
191
|
-
"aria-selected":
|
|
191
|
+
"aria-selected": o.key === r,
|
|
192
192
|
type: "button",
|
|
193
|
-
children:
|
|
193
|
+
children: o.label
|
|
194
194
|
},
|
|
195
|
-
|
|
195
|
+
o.key
|
|
196
196
|
)),
|
|
197
197
|
/* @__PURE__ */ e(
|
|
198
198
|
"button",
|
|
@@ -201,12 +201,12 @@ const V = [], Q = I(
|
|
|
201
201
|
onClick: () => v?.(!l),
|
|
202
202
|
type: "button",
|
|
203
203
|
"aria-label": l ? "Expand" : "Minimize",
|
|
204
|
-
children: /* @__PURE__ */ e(
|
|
204
|
+
children: /* @__PURE__ */ e(L, { name: l ? "chevron-down" : "chevron-up", size: 14 })
|
|
205
205
|
}
|
|
206
206
|
)
|
|
207
207
|
] }),
|
|
208
|
-
!l && s && /* @__PURE__ */ e("div", { className: "nice-ribbon-menu__panel", role: "tabpanel", children: s.groups.map((
|
|
209
|
-
/* @__PURE__ */ e("div", { className: "nice-ribbon-menu__group-items", children:
|
|
208
|
+
!l && s && /* @__PURE__ */ e("div", { className: "nice-ribbon-menu__panel", role: "tabpanel", children: s.groups.map((o, h) => /* @__PURE__ */ t("div", { className: "nice-ribbon-menu__group", children: [
|
|
209
|
+
/* @__PURE__ */ e("div", { className: "nice-ribbon-menu__group-items", children: o.items.map((n) => /* @__PURE__ */ t(
|
|
210
210
|
"button",
|
|
211
211
|
{
|
|
212
212
|
className: "nice-ribbon-menu__item",
|
|
@@ -220,7 +220,7 @@ const V = [], Q = I(
|
|
|
220
220
|
},
|
|
221
221
|
n.key
|
|
222
222
|
)) }),
|
|
223
|
-
/* @__PURE__ */ e("div", { className: "nice-ribbon-menu__group-label", children:
|
|
223
|
+
/* @__PURE__ */ e("div", { className: "nice-ribbon-menu__group-label", children: o.label })
|
|
224
224
|
] }, h)) })
|
|
225
225
|
]
|
|
226
226
|
}
|
|
@@ -228,7 +228,7 @@ const V = [], Q = I(
|
|
|
228
228
|
}
|
|
229
229
|
);
|
|
230
230
|
Q.displayName = "NiceRibbonMenu";
|
|
231
|
-
const X =
|
|
231
|
+
const X = A(
|
|
232
232
|
({
|
|
233
233
|
items: b,
|
|
234
234
|
activeKey: _,
|
|
@@ -243,13 +243,13 @@ const X = I(
|
|
|
243
243
|
accessMode: g,
|
|
244
244
|
...$
|
|
245
245
|
}, y) => {
|
|
246
|
-
const x = E(m), w =
|
|
246
|
+
const x = E(m), w = I(g, m), [N, i] = B(!1), r = !l || N;
|
|
247
247
|
return w === "hidden" ? null : /* @__PURE__ */ e(
|
|
248
248
|
"div",
|
|
249
249
|
{
|
|
250
250
|
ref: y,
|
|
251
251
|
id: x,
|
|
252
|
-
className: `nice-dock-menu nice-dock-menu--${p} nice-dock-menu--${C} ${l && !
|
|
252
|
+
className: `nice-dock-menu nice-dock-menu--${p} nice-dock-menu--${C} ${l && !r ? "nice-dock-menu--hidden" : ""} ${k ?? ""}`,
|
|
253
253
|
style: d,
|
|
254
254
|
onMouseEnter: () => i(!0),
|
|
255
255
|
onMouseLeave: () => i(!1),
|
|
@@ -275,7 +275,7 @@ const X = I(
|
|
|
275
275
|
}
|
|
276
276
|
);
|
|
277
277
|
X.displayName = "NiceDockMenu";
|
|
278
|
-
const Y =
|
|
278
|
+
const Y = A(
|
|
279
279
|
({
|
|
280
280
|
items: b,
|
|
281
281
|
activeKey: _,
|
|
@@ -293,16 +293,16 @@ const Y = I(
|
|
|
293
293
|
accessMode: x,
|
|
294
294
|
...w
|
|
295
295
|
}, N) => {
|
|
296
|
-
const i = E(y),
|
|
296
|
+
const i = E(y), r = I(x, y), { t: s } = O(), [u, o] = B(!1), h = p ?? u, n = R(() => {
|
|
297
297
|
const a = !h;
|
|
298
|
-
|
|
299
|
-
}, [h, l]), D =
|
|
298
|
+
o(a), l?.(a);
|
|
299
|
+
}, [h, l]), D = R(
|
|
300
300
|
(a) => {
|
|
301
|
-
c?.(a),
|
|
301
|
+
c?.(a), o(!1), l?.(!1);
|
|
302
302
|
},
|
|
303
303
|
[c, l]
|
|
304
304
|
);
|
|
305
|
-
return
|
|
305
|
+
return r === "hidden" ? null : /* @__PURE__ */ t(
|
|
306
306
|
"div",
|
|
307
307
|
{
|
|
308
308
|
ref: N,
|
|
@@ -365,7 +365,7 @@ const Y = I(
|
|
|
365
365
|
}
|
|
366
366
|
);
|
|
367
367
|
Y.displayName = "NiceHamburgerMenu";
|
|
368
|
-
const Z =
|
|
368
|
+
const Z = A(
|
|
369
369
|
({
|
|
370
370
|
canGoBack: b = !1,
|
|
371
371
|
canGoForward: _ = !1,
|
|
@@ -384,20 +384,20 @@ const Z = I(
|
|
|
384
384
|
forwardIcon: w,
|
|
385
385
|
refreshIcon: N,
|
|
386
386
|
stopIcon: i,
|
|
387
|
-
className:
|
|
387
|
+
className: r,
|
|
388
388
|
style: s,
|
|
389
389
|
id: u,
|
|
390
|
-
accessMode:
|
|
390
|
+
accessMode: o,
|
|
391
391
|
disabled: h,
|
|
392
392
|
...n
|
|
393
393
|
}, D) => {
|
|
394
|
-
const a = E(u), T =
|
|
394
|
+
const a = E(u), T = I(o, u), { t: M } = O();
|
|
395
395
|
if (U(() => {
|
|
396
396
|
if (!v || h)
|
|
397
397
|
return;
|
|
398
398
|
const P = (f) => {
|
|
399
|
-
const W = f.altKey,
|
|
400
|
-
W && f.key === "ArrowLeft" ? (f.preventDefault(), b && c?.()) : W && f.key === "ArrowRight" ? (f.preventDefault(), _ && p?.()) : f.key === "F5" ||
|
|
399
|
+
const W = f.altKey, j = f.ctrlKey || f.metaKey;
|
|
400
|
+
W && f.key === "ArrowLeft" ? (f.preventDefault(), b && c?.()) : W && f.key === "ArrowRight" ? (f.preventDefault(), _ && p?.()) : f.key === "F5" || j && f.key === "r" ? (f.preventDefault(), d ? m?.() : l?.()) : f.key === "Escape" && d && (f.preventDefault(), m?.());
|
|
401
401
|
};
|
|
402
402
|
return window.addEventListener("keydown", P), () => window.removeEventListener("keydown", P);
|
|
403
403
|
}, [
|
|
@@ -412,7 +412,7 @@ const Z = I(
|
|
|
412
412
|
m
|
|
413
413
|
]), T === "hidden")
|
|
414
414
|
return null;
|
|
415
|
-
const S = T === "disabled" || h,
|
|
415
|
+
const S = T === "disabled" || h, z = x ?? /* @__PURE__ */ e(
|
|
416
416
|
"svg",
|
|
417
417
|
{
|
|
418
418
|
width: "16",
|
|
@@ -423,7 +423,7 @@ const Z = I(
|
|
|
423
423
|
strokeWidth: "2",
|
|
424
424
|
children: /* @__PURE__ */ e("polyline", { points: "15 18 9 12 15 6" })
|
|
425
425
|
}
|
|
426
|
-
),
|
|
426
|
+
), K = w ?? /* @__PURE__ */ e(
|
|
427
427
|
"svg",
|
|
428
428
|
{
|
|
429
429
|
width: "16",
|
|
@@ -434,7 +434,7 @@ const Z = I(
|
|
|
434
434
|
strokeWidth: "2",
|
|
435
435
|
children: /* @__PURE__ */ e("polyline", { points: "9 18 15 12 9 6" })
|
|
436
436
|
}
|
|
437
|
-
),
|
|
437
|
+
), F = N ?? /* @__PURE__ */ t(
|
|
438
438
|
"svg",
|
|
439
439
|
{
|
|
440
440
|
width: "16",
|
|
@@ -448,7 +448,7 @@ const Z = I(
|
|
|
448
448
|
/* @__PURE__ */ e("path", { d: "M20.49 15a9 9 0 1 1-2.12-9.36L23 10" })
|
|
449
449
|
]
|
|
450
450
|
}
|
|
451
|
-
),
|
|
451
|
+
), H = i ?? /* @__PURE__ */ t(
|
|
452
452
|
"svg",
|
|
453
453
|
{
|
|
454
454
|
width: "16",
|
|
@@ -468,7 +468,7 @@ const Z = I(
|
|
|
468
468
|
{
|
|
469
469
|
ref: D,
|
|
470
470
|
id: a,
|
|
471
|
-
className: `nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${$}${S ? " nice-nav-controls--disabled" : ""}${
|
|
471
|
+
className: `nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${$}${S ? " nice-nav-controls--disabled" : ""}${r ? ` ${r}` : ""}`,
|
|
472
472
|
style: s,
|
|
473
473
|
role: "navigation",
|
|
474
474
|
"aria-label": M("nav.controls", "Navigation controls"),
|
|
@@ -483,7 +483,7 @@ const Z = I(
|
|
|
483
483
|
disabled: S || !b,
|
|
484
484
|
"aria-label": M("nav.back", "Back"),
|
|
485
485
|
title: `${M("nav.back", "Back")} (Alt+←)`,
|
|
486
|
-
children:
|
|
486
|
+
children: z
|
|
487
487
|
}
|
|
488
488
|
),
|
|
489
489
|
/* @__PURE__ */ e(
|
|
@@ -495,7 +495,7 @@ const Z = I(
|
|
|
495
495
|
disabled: S || !_,
|
|
496
496
|
"aria-label": M("nav.forward", "Forward"),
|
|
497
497
|
title: `${M("nav.forward", "Forward")} (Alt+→)`,
|
|
498
|
-
children:
|
|
498
|
+
children: K
|
|
499
499
|
}
|
|
500
500
|
),
|
|
501
501
|
(C || k && d) && (d ? /* @__PURE__ */ e(
|
|
@@ -507,7 +507,7 @@ const Z = I(
|
|
|
507
507
|
disabled: S,
|
|
508
508
|
"aria-label": M("nav.stop", "Stop"),
|
|
509
509
|
title: `${M("nav.stop", "Stop")} (Esc)`,
|
|
510
|
-
children:
|
|
510
|
+
children: H
|
|
511
511
|
}
|
|
512
512
|
) : /* @__PURE__ */ e(
|
|
513
513
|
"button",
|
|
@@ -518,7 +518,7 @@ const Z = I(
|
|
|
518
518
|
disabled: S,
|
|
519
519
|
"aria-label": M("nav.refresh", "Refresh"),
|
|
520
520
|
title: `${M("nav.refresh", "Refresh")} (F5)`,
|
|
521
|
-
children:
|
|
521
|
+
children: F
|
|
522
522
|
}
|
|
523
523
|
))
|
|
524
524
|
]
|
|
@@ -531,8 +531,8 @@ export {
|
|
|
531
531
|
ce as DEFAULT_SIDEBAR_PREFS,
|
|
532
532
|
se as DesktopContextMenu,
|
|
533
533
|
le as DesktopGrid,
|
|
534
|
-
|
|
535
|
-
|
|
534
|
+
oe as DesktopStartMenu,
|
|
535
|
+
re as DesktopSystemTray,
|
|
536
536
|
te as DesktopTaskbar,
|
|
537
537
|
de as NiceAccordion,
|
|
538
538
|
ue as NiceAppLayout,
|
|
@@ -557,20 +557,20 @@ export {
|
|
|
557
557
|
De as NiceModernShell,
|
|
558
558
|
Se as NiceModuleLifecyclePanel,
|
|
559
559
|
Ee as NiceNavMenu,
|
|
560
|
-
|
|
560
|
+
Ie as NiceNavbar,
|
|
561
561
|
Z as NiceNavigationControls,
|
|
562
|
-
|
|
563
|
-
|
|
562
|
+
Ae as NiceOrganizationProfileForm,
|
|
563
|
+
je as NicePagination,
|
|
564
564
|
Te as NicePwaShell,
|
|
565
565
|
Q as NiceRibbonMenu,
|
|
566
566
|
Be as NiceSetupWizard,
|
|
567
567
|
q as NiceSidebarMenu,
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
568
|
+
Re as NiceSidebarNav,
|
|
569
|
+
Le as NiceSplitter,
|
|
570
|
+
Fe as NiceTabs,
|
|
571
|
+
V as NiceTopMenu,
|
|
572
572
|
Pe as NiceUserMenu,
|
|
573
573
|
We as NiceWizard,
|
|
574
574
|
Oe as SIDEBAR_MODE_META,
|
|
575
|
-
|
|
575
|
+
ze as sidebarModeLabel
|
|
576
576
|
};
|