@ixo/ui 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +43 -43
- package/dist/components/AppShellNavigation/index.d.ts +2 -1
- package/dist/components/AppShellNavigation/index.d.ts.map +1 -1
- package/dist/{components-DiauxYoY.js → components-BVa_RzKb.js} +58 -13
- package/dist/{components-DiauxYoY.js.map → components-BVa_RzKb.js.map} +1 -1
- package/dist/{components-BNly6Y-x.cjs → components-_MkU3jTT.cjs} +57 -12
- package/dist/{components-BNly6Y-x.cjs.map → components-_MkU3jTT.cjs.map} +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/export/icons/index.cjs +1 -0
- package/dist/export/icons/index.cjs.map +1 -1
- package/dist/export/icons/index.mjs +1 -0
- package/dist/export/icons/index.mjs.map +1 -1
- package/dist/icons/SlidersTwo.d.ts.map +1 -1
- package/dist/{index-BEPf-oww.js → index--LjJTdzu.js} +2 -2
- package/dist/{index-BEPf-oww.js.map → index--LjJTdzu.js.map} +1 -1
- package/dist/{index-DSQZMIiq.cjs → index-1_x_N7t0.cjs} +2 -2
- package/dist/{index-DSQZMIiq.cjs.map → index-1_x_N7t0.cjs.map} +1 -1
- package/dist/{index-Dg7GVuRa.cjs → index-B67PPfoW.cjs} +2 -2
- package/dist/{index-Dg7GVuRa.cjs.map → index-B67PPfoW.cjs.map} +1 -1
- package/dist/{index-DiaEMA08.js → index-BOTqKAb1.js} +2 -2
- package/dist/{index-DiaEMA08.js.map → index-BOTqKAb1.js.map} +1 -1
- package/dist/{index-V6nXvrtz.js → index-BXJlwJE1.js} +2 -2
- package/dist/{index-V6nXvrtz.js.map → index-BXJlwJE1.js.map} +1 -1
- package/dist/{index-CgJoa5CY.js → index-BcQO39Nm.js} +2 -2
- package/dist/{index-CgJoa5CY.js.map → index-BcQO39Nm.js.map} +1 -1
- package/dist/{index-DkxiMwu0.cjs → index-BdurzkQE.cjs} +2 -2
- package/dist/{index-DkxiMwu0.cjs.map → index-BdurzkQE.cjs.map} +1 -1
- package/dist/{index-B-OdChcI.cjs → index-BkHXIaln.cjs} +3 -3
- package/dist/{index-B-OdChcI.cjs.map → index-BkHXIaln.cjs.map} +1 -1
- package/dist/{index-CFSb7f2s.js → index-C89NsxdP.js} +2 -2
- package/dist/{index-CFSb7f2s.js.map → index-C89NsxdP.js.map} +1 -1
- package/dist/{index-DWhpg1N7.cjs → index-CLUVUEvd.cjs} +2 -2
- package/dist/{index-DWhpg1N7.cjs.map → index-CLUVUEvd.cjs.map} +1 -1
- package/dist/{index-D1qxMoa7.js → index-CXPbR4SM.js} +3 -3
- package/dist/{index-D1qxMoa7.js.map → index-CXPbR4SM.js.map} +1 -1
- package/dist/{index-tbar1igU.cjs → index-Cbh2O8ES.cjs} +2 -2
- package/dist/{index-tbar1igU.cjs.map → index-Cbh2O8ES.cjs.map} +1 -1
- package/dist/{index-BRD5ffg_.cjs → index-Cjc9U9We.cjs} +3 -3
- package/dist/{index-BRD5ffg_.cjs.map → index-Cjc9U9We.cjs.map} +1 -1
- package/dist/{index-yCF1_HyR.js → index-CjplLGYu.js} +3 -3
- package/dist/{index-yCF1_HyR.js.map → index-CjplLGYu.js.map} +1 -1
- package/dist/{index-CyALadsH.cjs → index-DFEKL4SE.cjs} +2 -2
- package/dist/{index-CyALadsH.cjs.map → index-DFEKL4SE.cjs.map} +1 -1
- package/dist/{index-BSnZaaec.js → index-DYBoPRXQ.js} +2 -2
- package/dist/{index-BSnZaaec.js.map → index-DYBoPRXQ.js.map} +1 -1
- package/dist/{index-fNXZD1uS.js → index-DgTFhRUq.js} +2 -2
- package/dist/{index-fNXZD1uS.js.map → index-DgTFhRUq.js.map} +1 -1
- package/dist/{index-C6QZLB5t.cjs → index-DtDKdj1b.cjs} +2 -2
- package/dist/{index-C6QZLB5t.cjs.map → index-DtDKdj1b.cjs.map} +1 -1
- package/dist/{index-CvlLzI5F.cjs → index-paAq-KH4.cjs} +2 -2
- package/dist/{index-CvlLzI5F.cjs.map → index-paAq-KH4.cjs.map} +1 -1
- package/dist/{index-BYSvOzsh.js → index-xNbZOX1W.js} +2 -2
- package/dist/{index-BYSvOzsh.js.map → index-xNbZOX1W.js.map} +1 -1
- package/package.json +1 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"_useUITheme-7i8NJ2FG.js"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"_components-
|
|
33
|
-
"file": "components-
|
|
32
|
+
"_components-BVa_RzKb.js": {
|
|
33
|
+
"file": "components-BVa_RzKb.js",
|
|
34
34
|
"name": "components",
|
|
35
35
|
"imports": [
|
|
36
|
-
"_UsersSolid-
|
|
37
|
-
"_constants-
|
|
38
|
-
"_useUITheme-
|
|
39
|
-
"_Blank-
|
|
40
|
-
"_useEventSubscribe-
|
|
41
|
-
"_themes-
|
|
36
|
+
"_UsersSolid-DaQkEA44.js",
|
|
37
|
+
"_constants-B7xlU8b8.js",
|
|
38
|
+
"_useUITheme-7i8NJ2FG.js",
|
|
39
|
+
"_Blank-CElsicB7.js",
|
|
40
|
+
"_useEventSubscribe-16wxaghO.js",
|
|
41
|
+
"_themes-ZDjULHjG.js"
|
|
42
42
|
],
|
|
43
43
|
"dynamicImports": [
|
|
44
44
|
"src/components/ActionCard/components/Header/index.tsx",
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"src/components/SodaCard/components/Actions/index.tsx"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
-
"_components-
|
|
59
|
-
"file": "components-
|
|
58
|
+
"_components-_MkU3jTT.cjs": {
|
|
59
|
+
"file": "components-_MkU3jTT.cjs",
|
|
60
60
|
"name": "components",
|
|
61
61
|
"imports": [
|
|
62
|
-
"_UsersSolid-
|
|
63
|
-
"_constants-
|
|
64
|
-
"_useUITheme-
|
|
65
|
-
"_Blank-
|
|
66
|
-
"_useEventSubscribe-
|
|
67
|
-
"_themes-
|
|
62
|
+
"_UsersSolid-3ru3TJi-.cjs",
|
|
63
|
+
"_constants-DFJRYpE2.cjs",
|
|
64
|
+
"_useUITheme-DqgAb7n1.cjs",
|
|
65
|
+
"_Blank-DapEucFF.cjs",
|
|
66
|
+
"_useEventSubscribe-BTFTMdWH.cjs",
|
|
67
|
+
"_themes-BwGjuKnC.cjs"
|
|
68
68
|
],
|
|
69
69
|
"dynamicImports": [
|
|
70
70
|
"src/components/ActionCard/components/Header/index.tsx",
|
|
@@ -103,18 +103,18 @@
|
|
|
103
103
|
"_constants-B7xlU8b8.js"
|
|
104
104
|
]
|
|
105
105
|
},
|
|
106
|
-
"_index-
|
|
107
|
-
"file": "index-
|
|
106
|
+
"_index-BcQO39Nm.js": {
|
|
107
|
+
"file": "index-BcQO39Nm.js",
|
|
108
108
|
"name": "index",
|
|
109
109
|
"imports": [
|
|
110
|
-
"_components-
|
|
110
|
+
"_components-BVa_RzKb.js"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"_index-
|
|
114
|
-
"file": "index-
|
|
113
|
+
"_index-CLUVUEvd.cjs": {
|
|
114
|
+
"file": "index-CLUVUEvd.cjs",
|
|
115
115
|
"name": "index",
|
|
116
116
|
"imports": [
|
|
117
|
-
"_components-
|
|
117
|
+
"_components-_MkU3jTT.cjs"
|
|
118
118
|
]
|
|
119
119
|
},
|
|
120
120
|
"_themes-BwGjuKnC.cjs": {
|
|
@@ -158,41 +158,41 @@
|
|
|
158
158
|
"name": "utils"
|
|
159
159
|
},
|
|
160
160
|
"src/components/ActionCard/components/Footer/index.tsx": {
|
|
161
|
-
"file": "index-
|
|
161
|
+
"file": "index-BkHXIaln.cjs",
|
|
162
162
|
"name": "index",
|
|
163
163
|
"src": "src/components/ActionCard/components/Footer/index.tsx",
|
|
164
164
|
"isDynamicEntry": true,
|
|
165
165
|
"imports": [
|
|
166
|
-
"_index-
|
|
167
|
-
"_components-
|
|
166
|
+
"_index-CLUVUEvd.cjs",
|
|
167
|
+
"_components-_MkU3jTT.cjs"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"src/components/ActionCard/components/Header/index.tsx": {
|
|
171
|
-
"file": "index-
|
|
171
|
+
"file": "index-BdurzkQE.cjs",
|
|
172
172
|
"name": "index",
|
|
173
173
|
"src": "src/components/ActionCard/components/Header/index.tsx",
|
|
174
174
|
"isDynamicEntry": true,
|
|
175
175
|
"imports": [
|
|
176
|
-
"_components-
|
|
176
|
+
"_components-_MkU3jTT.cjs",
|
|
177
177
|
"_UsersSolid-3ru3TJi-.cjs"
|
|
178
178
|
]
|
|
179
179
|
},
|
|
180
180
|
"src/components/ActionSheet/components/Badge/index.tsx": {
|
|
181
|
-
"file": "index-
|
|
181
|
+
"file": "index-Cbh2O8ES.cjs",
|
|
182
182
|
"name": "index",
|
|
183
183
|
"src": "src/components/ActionSheet/components/Badge/index.tsx",
|
|
184
184
|
"isDynamicEntry": true,
|
|
185
185
|
"imports": [
|
|
186
|
-
"_components-
|
|
186
|
+
"_components-_MkU3jTT.cjs"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"src/components/Card/components/Header/index.tsx": {
|
|
190
|
-
"file": "index-
|
|
190
|
+
"file": "index-DFEKL4SE.cjs",
|
|
191
191
|
"name": "index",
|
|
192
192
|
"src": "src/components/Card/components/Header/index.tsx",
|
|
193
193
|
"isDynamicEntry": true,
|
|
194
194
|
"imports": [
|
|
195
|
-
"_components-
|
|
195
|
+
"_components-_MkU3jTT.cjs"
|
|
196
196
|
]
|
|
197
197
|
},
|
|
198
198
|
"src/components/Chart/components/LazyChart/index.tsx": {
|
|
@@ -202,31 +202,31 @@
|
|
|
202
202
|
"isDynamicEntry": true
|
|
203
203
|
},
|
|
204
204
|
"src/components/SodaCard/components/Actions/index.tsx": {
|
|
205
|
-
"file": "index-
|
|
205
|
+
"file": "index-Cjc9U9We.cjs",
|
|
206
206
|
"name": "index",
|
|
207
207
|
"src": "src/components/SodaCard/components/Actions/index.tsx",
|
|
208
208
|
"isDynamicEntry": true,
|
|
209
209
|
"imports": [
|
|
210
|
-
"_index-
|
|
211
|
-
"_components-
|
|
210
|
+
"_index-CLUVUEvd.cjs",
|
|
211
|
+
"_components-_MkU3jTT.cjs"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"src/components/SodaCard/components/Assets/index.tsx": {
|
|
215
|
-
"file": "index-
|
|
215
|
+
"file": "index-B67PPfoW.cjs",
|
|
216
216
|
"name": "index",
|
|
217
217
|
"src": "src/components/SodaCard/components/Assets/index.tsx",
|
|
218
218
|
"isDynamicEntry": true,
|
|
219
219
|
"imports": [
|
|
220
|
-
"_components-
|
|
220
|
+
"_components-_MkU3jTT.cjs"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"src/components/SodaCard/components/Content/index.tsx": {
|
|
224
|
-
"file": "index-
|
|
224
|
+
"file": "index-DtDKdj1b.cjs",
|
|
225
225
|
"name": "index",
|
|
226
226
|
"src": "src/components/SodaCard/components/Content/index.tsx",
|
|
227
227
|
"isDynamicEntry": true,
|
|
228
228
|
"imports": [
|
|
229
|
-
"_components-
|
|
229
|
+
"_components-_MkU3jTT.cjs",
|
|
230
230
|
"_utils-BmyeZmSR.cjs"
|
|
231
231
|
]
|
|
232
232
|
},
|
|
@@ -237,22 +237,22 @@
|
|
|
237
237
|
"isDynamicEntry": true
|
|
238
238
|
},
|
|
239
239
|
"src/components/SodaCard/components/Header/index.tsx": {
|
|
240
|
-
"file": "index-
|
|
240
|
+
"file": "index-paAq-KH4.cjs",
|
|
241
241
|
"name": "index",
|
|
242
242
|
"src": "src/components/SodaCard/components/Header/index.tsx",
|
|
243
243
|
"isDynamicEntry": true,
|
|
244
244
|
"imports": [
|
|
245
|
-
"_components-
|
|
245
|
+
"_components-_MkU3jTT.cjs",
|
|
246
246
|
"_constants-DFJRYpE2.cjs"
|
|
247
247
|
]
|
|
248
248
|
},
|
|
249
249
|
"src/components/SodaCard/components/MainAction/index.tsx": {
|
|
250
|
-
"file": "index-
|
|
250
|
+
"file": "index-1_x_N7t0.cjs",
|
|
251
251
|
"name": "index",
|
|
252
252
|
"src": "src/components/SodaCard/components/MainAction/index.tsx",
|
|
253
253
|
"isDynamicEntry": true,
|
|
254
254
|
"imports": [
|
|
255
|
-
"_components-
|
|
255
|
+
"_components-_MkU3jTT.cjs"
|
|
256
256
|
]
|
|
257
257
|
},
|
|
258
258
|
"src/components/SodaCard/components/Map/index.tsx": {
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"src": "src/export/components.ts",
|
|
273
273
|
"isEntry": true,
|
|
274
274
|
"imports": [
|
|
275
|
-
"_components-
|
|
275
|
+
"_components-_MkU3jTT.cjs"
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/export/hooks.ts": {
|
|
@@ -65,7 +65,8 @@ type Props = {
|
|
|
65
65
|
roomCategories?: IRoomCategory[];
|
|
66
66
|
onAddSpaceClick?: () => void;
|
|
67
67
|
onMinusSpaceClick?: () => void;
|
|
68
|
+
loading?: boolean;
|
|
68
69
|
};
|
|
69
|
-
export declare function AppShellNavigation({ spaces, pageItem, selectedSpace, temporarySpace, menuItems, companyIcon, onAddSpaceClick, onMinusSpaceClick, avatarIcon, onMenuItemClick, onSettingsIconClick, onBackClick, isBackButtonVisible, footerMenuItems, roomCategories, right, asideCollapsed, onAsideToggle, onMaxExpand, children }: PropsWithChildren<Props>): ReactElement;
|
|
70
|
+
export declare function AppShellNavigation({ spaces, pageItem, selectedSpace, temporarySpace, menuItems, companyIcon, onAddSpaceClick, onMinusSpaceClick, avatarIcon, onMenuItemClick, onSettingsIconClick, onBackClick, isBackButtonVisible, footerMenuItems, roomCategories, right, asideCollapsed, onAsideToggle, onMaxExpand, loading, children }: PropsWithChildren<Props>): ReactElement;
|
|
70
71
|
export {};
|
|
71
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,iBAAiB,EAAE,YAAY,EAAY,MAAM,OAAO,CAAC;AAIzE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -4,7 +4,7 @@ import { useTheme, jsx as jsx$1, keyframes, ThemeProvider } from "@emotion/react
|
|
|
4
4
|
import { g as getElementColor, A as AngleDownSolid, a as CheckSolid, C as Close, L as Loading, P as PlusSolid, S as SearchSolid, b as Assistant, c as ArrowUpSolid, E as EllipsisVSolid, U as User, M as MinusCircleSolid, d as SettingsBarSolid, e as AngleRightSolid, f as ArrowLeftSolid, G as Globe, h as PanelLeftSolid, i as AngleLeftSolid, D as Dashboard, j as Groups, k as UserCircleSolid, l as Assets$1, m as Claims, n as Accounts, H as HistorySolid, o as LinkedResources, p as Proposals, I as ImpactCredits, q as GoTo, r as Share, s as PiePiece, t as ImpactCertificates, u as CommentDotsSolid, v as CommentAltSolid, w as MicrophoneSolid, x as Command, y as ArrowCircleRightSolid, z as Protocols, B as Investments, O as Oracles, F as Projects, J as Daos, K as Star, N as Expand, Q as LeafSolid, R as ArrowDownSolid, T as ArrowRightSolid, V as Play, W as CheckCircle, X as Events, Y as ThumbsUpSolid, Z as CommentsSolid, _ as CopySolid, $ as Hourglass, a0 as Act, a1 as Info$1, a2 as ClaimsW, a3 as TachometerAltSolid, a4 as UserCogSolid, a5 as UsersSolid, a6 as EllipsisHSolid } from "./UsersSolid-DaQkEA44.js";
|
|
5
5
|
import { useState, useCallback, useRef, useEffect, Suspense, lazy, forwardRef, useId, useMemo, Fragment as Fragment$1, useLayoutEffect, useImperativeHandle, memo } from "react";
|
|
6
6
|
import { T as TAG_SMALL_HEIGHT, D as DEFAULT_ICON_SIZE } from "./constants-B7xlU8b8.js";
|
|
7
|
-
import { Accordion as Accordion$1, Box, Image, Popover, Text as Text$1, AppShell, Stack as Stack$1, Center, Divider, Badge as Badge$1 } from "@mantine/core";
|
|
7
|
+
import { Accordion as Accordion$1, Box, Image, Popover, Text as Text$1, AppShell, Stack as Stack$1, Center, Divider, Skeleton, Badge as Badge$1 } from "@mantine/core";
|
|
8
8
|
import { cx, css } from "@emotion/css";
|
|
9
9
|
import { createPortal } from "react-dom";
|
|
10
10
|
import DOMPurify from "dompurify";
|
|
@@ -774,8 +774,8 @@ function AccordionTable({
|
|
|
774
774
|
}
|
|
775
775
|
);
|
|
776
776
|
}
|
|
777
|
-
const Header$3 = lazy(() => import("./index
|
|
778
|
-
const Footer = lazy(() => import("./index-
|
|
777
|
+
const Header$3 = lazy(() => import("./index--LjJTdzu.js"));
|
|
778
|
+
const Footer = lazy(() => import("./index-CXPbR4SM.js"));
|
|
779
779
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
780
780
|
const hasContent = !!content || !!footer;
|
|
781
781
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -859,7 +859,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
859
859
|
}
|
|
860
860
|
const CARD_WIDTH$1 = 350;
|
|
861
861
|
const CARD_HEADER_HEIGHT = 158;
|
|
862
|
-
const Header$2 = lazy(() => import("./index-
|
|
862
|
+
const Header$2 = lazy(() => import("./index-BOTqKAb1.js"));
|
|
863
863
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
864
864
|
const wrapperRef = useRef(null);
|
|
865
865
|
const handleOnClick = useCallback(
|
|
@@ -1294,7 +1294,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1294
1294
|
document.body
|
|
1295
1295
|
);
|
|
1296
1296
|
}
|
|
1297
|
-
const Badge = lazy(() => import("./index-
|
|
1297
|
+
const Badge = lazy(() => import("./index-DYBoPRXQ.js"));
|
|
1298
1298
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1299
1299
|
const shadowScrollRef = useRef(null);
|
|
1300
1300
|
const wrapperContentAreaRef = useRef(null);
|
|
@@ -2247,6 +2247,50 @@ function SelectedIndicator() {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
);
|
|
2249
2249
|
}
|
|
2250
|
+
function NavigationItemSkeleton() {
|
|
2251
|
+
const theme = useUITheme();
|
|
2252
|
+
return /* @__PURE__ */ jsxs(
|
|
2253
|
+
Flex,
|
|
2254
|
+
{
|
|
2255
|
+
align: "center",
|
|
2256
|
+
gap: 8,
|
|
2257
|
+
pl: 12,
|
|
2258
|
+
pr: 12,
|
|
2259
|
+
py: 6,
|
|
2260
|
+
style: {
|
|
2261
|
+
borderRadius: 8,
|
|
2262
|
+
backgroundColor: theme.bg.navIconsBg
|
|
2263
|
+
},
|
|
2264
|
+
children: [
|
|
2265
|
+
/* @__PURE__ */ jsx(Flex, { align: "center", gap: 4, style: { flex: 1 }, children: /* @__PURE__ */ jsx(
|
|
2266
|
+
Skeleton,
|
|
2267
|
+
{
|
|
2268
|
+
height: "15px",
|
|
2269
|
+
radius: "xl",
|
|
2270
|
+
sx: {
|
|
2271
|
+
"::before": { opacity: 0 },
|
|
2272
|
+
"::after": { opacity: 1 }
|
|
2273
|
+
},
|
|
2274
|
+
style: { opacity: 0.2 }
|
|
2275
|
+
}
|
|
2276
|
+
) }),
|
|
2277
|
+
/* @__PURE__ */ jsx(
|
|
2278
|
+
Skeleton,
|
|
2279
|
+
{
|
|
2280
|
+
height: 16,
|
|
2281
|
+
width: 16,
|
|
2282
|
+
radius: 4,
|
|
2283
|
+
sx: {
|
|
2284
|
+
"::before": { opacity: 0 },
|
|
2285
|
+
"::after": { opacity: 1 }
|
|
2286
|
+
},
|
|
2287
|
+
style: { opacity: 0.3 }
|
|
2288
|
+
}
|
|
2289
|
+
)
|
|
2290
|
+
]
|
|
2291
|
+
}
|
|
2292
|
+
);
|
|
2293
|
+
}
|
|
2250
2294
|
function SpaceItem({ icon, id, selectedSpace, onClick }) {
|
|
2251
2295
|
const { hovered, ref } = useHover();
|
|
2252
2296
|
const theme = useUITheme();
|
|
@@ -2433,6 +2477,7 @@ function AppShellNavigation({
|
|
|
2433
2477
|
asideCollapsed = true,
|
|
2434
2478
|
onAsideToggle,
|
|
2435
2479
|
onMaxExpand,
|
|
2480
|
+
loading,
|
|
2436
2481
|
children
|
|
2437
2482
|
}) {
|
|
2438
2483
|
const [navbarCollapsed, { toggle: toggleNavbar }] = useDisclosure(true);
|
|
@@ -2524,10 +2569,10 @@ function AppShellNavigation({
|
|
|
2524
2569
|
] }),
|
|
2525
2570
|
/* @__PURE__ */ jsx(Flex, { gap: 12, align: "center", children: /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer" }, onClick: toggleNavbar, children: /* @__PURE__ */ jsx(PanelLeftSolid, { size: 22, color: "secondary" }) }) })
|
|
2526
2571
|
] }),
|
|
2527
|
-
menuItems?.map((item) => /* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id)),
|
|
2572
|
+
loading ? /* @__PURE__ */ jsx(Stack$1, { gap: 5, children: Array.from({ length: 6 }).map((_, idx) => /* @__PURE__ */ jsx(NavigationItemSkeleton, {}, idx)) }) : menuItems?.map((item) => /* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id)),
|
|
2528
2573
|
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsx(Stack$1, { gap: 8, mt: 16, children: roomCategories.map((category) => /* @__PURE__ */ jsx(RoomCategory, { category }, category.id)) })
|
|
2529
2574
|
] }),
|
|
2530
|
-
/* @__PURE__ */ jsx(Stack$1, { gap: 5, children: footerMenuItems?.map((item) => /* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id)) })
|
|
2575
|
+
/* @__PURE__ */ jsx(Stack$1, { gap: 5, children: loading ? Array.from({ length: 2 }).map((_, idx) => /* @__PURE__ */ jsx(NavigationItemSkeleton, {}, idx)) : footerMenuItems?.map((item) => /* @__PURE__ */ jsx(MenuItem, { onMenuItemClick, item }, item.id)) })
|
|
2531
2576
|
] })
|
|
2532
2577
|
] }) }),
|
|
2533
2578
|
/* @__PURE__ */ jsx(AppShell.Main, { children }),
|
|
@@ -5509,13 +5554,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5509
5554
|
}
|
|
5510
5555
|
);
|
|
5511
5556
|
}
|
|
5512
|
-
const MainAction = lazy(() => import("./index-
|
|
5513
|
-
const Header$1 = lazy(() => import("./index-
|
|
5514
|
-
const Content = lazy(() => import("./index-
|
|
5557
|
+
const MainAction = lazy(() => import("./index-xNbZOX1W.js"));
|
|
5558
|
+
const Header$1 = lazy(() => import("./index-DgTFhRUq.js"));
|
|
5559
|
+
const Content = lazy(() => import("./index-BXJlwJE1.js"));
|
|
5515
5560
|
const Map = lazy(() => import("./index-D5Ufmf-s.js"));
|
|
5516
5561
|
const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
|
|
5517
|
-
const Assets = lazy(() => import("./index-
|
|
5518
|
-
const Actions = lazy(() => import("./index-
|
|
5562
|
+
const Assets = lazy(() => import("./index-C89NsxdP.js"));
|
|
5563
|
+
const Actions = lazy(() => import("./index-CjplLGYu.js"));
|
|
5519
5564
|
const HOVER_BORDER_WIDTH = 1;
|
|
5520
5565
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5521
5566
|
const wrapperRef = useRef(null);
|
|
@@ -10829,4 +10874,4 @@ export {
|
|
|
10829
10874
|
CardSelector as y,
|
|
10830
10875
|
CardOutput as z
|
|
10831
10876
|
};
|
|
10832
|
-
//# sourceMappingURL=components-
|
|
10877
|
+
//# sourceMappingURL=components-BVa_RzKb.js.map
|