@ixo/ui 0.0.13 → 0.0.15
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/components/AsideResizable.d.ts +11 -0
- package/dist/components/AppShellNavigation/components/AsideResizable.d.ts.map +1 -0
- package/dist/components/AppShellNavigation/index.d.ts +5 -1
- package/dist/components/AppShellNavigation/index.d.ts.map +1 -1
- package/dist/{components-CV2rKBYZ.cjs → components-B0B09Vsk.cjs} +124 -16
- package/dist/components-B0B09Vsk.cjs.map +1 -0
- package/dist/{components-C4EqnIzL.js → components-CoGX1kwb.js} +125 -17
- package/dist/components-CoGX1kwb.js.map +1 -0
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-C5CnSI8h.cjs → index-3RRyZp85.cjs} +3 -3
- package/dist/{index-C5CnSI8h.cjs.map → index-3RRyZp85.cjs.map} +1 -1
- package/dist/{index-CyWiU3i_.js → index-72gYmOmd.js} +3 -3
- package/dist/{index-CyWiU3i_.js.map → index-72gYmOmd.js.map} +1 -1
- package/dist/{index-D7EQ3eKf.js → index-BElczvPE.js} +2 -2
- package/dist/{index-D7EQ3eKf.js.map → index-BElczvPE.js.map} +1 -1
- package/dist/{index-CZbze3rk.js → index-BIF9-t6h.js} +2 -2
- package/dist/{index-CZbze3rk.js.map → index-BIF9-t6h.js.map} +1 -1
- package/dist/{index-CefO0Jav.cjs → index-BPiG2IqF.cjs} +2 -2
- package/dist/{index-CefO0Jav.cjs.map → index-BPiG2IqF.cjs.map} +1 -1
- package/dist/{index-BLat0Lyt.js → index-BVZ6ZzpV.js} +2 -2
- package/dist/{index-BLat0Lyt.js.map → index-BVZ6ZzpV.js.map} +1 -1
- package/dist/{index-X6VhYA9V.js → index-BphUXVlg.js} +3 -3
- package/dist/{index-X6VhYA9V.js.map → index-BphUXVlg.js.map} +1 -1
- package/dist/{index-Dj1BaWDs.cjs → index-BvkqUymq.cjs} +2 -2
- package/dist/{index-Dj1BaWDs.cjs.map → index-BvkqUymq.cjs.map} +1 -1
- package/dist/{index-Ckhzun7H.js → index-CDZdWXqv.js} +2 -2
- package/dist/{index-Ckhzun7H.js.map → index-CDZdWXqv.js.map} +1 -1
- package/dist/{index-Bg26rTdb.cjs → index-CJE1_yJ6.cjs} +2 -2
- package/dist/{index-Bg26rTdb.cjs.map → index-CJE1_yJ6.cjs.map} +1 -1
- package/dist/{index-C3_1bvTS.cjs → index-CWElz4HJ.cjs} +2 -2
- package/dist/{index-C3_1bvTS.cjs.map → index-CWElz4HJ.cjs.map} +1 -1
- package/dist/{index-4dRzDkrK.cjs → index-CXi6Syua.cjs} +2 -2
- package/dist/{index-4dRzDkrK.cjs.map → index-CXi6Syua.cjs.map} +1 -1
- package/dist/{index-C_T_TF7J.cjs → index-CfPgXC_X.cjs} +2 -2
- package/dist/{index-C_T_TF7J.cjs.map → index-CfPgXC_X.cjs.map} +1 -1
- package/dist/{index-Dkg-DJse.cjs → index-D0eJPLEq.cjs} +2 -2
- package/dist/{index-Dkg-DJse.cjs.map → index-D0eJPLEq.cjs.map} +1 -1
- package/dist/{index-mvsa-Ixl.cjs → index-DOa4tU-h.cjs} +2 -2
- package/dist/{index-mvsa-Ixl.cjs.map → index-DOa4tU-h.cjs.map} +1 -1
- package/dist/{index-BhVNm8RD.js → index-DRJd3yU2.js} +2 -2
- package/dist/{index-BhVNm8RD.js.map → index-DRJd3yU2.js.map} +1 -1
- package/dist/{index-CooLFL4R.js → index-DbRJT74u.js} +2 -2
- package/dist/{index-CooLFL4R.js.map → index-DbRJT74u.js.map} +1 -1
- package/dist/{index-CBpRYfw7.js → index-DeirAOH-.js} +2 -2
- package/dist/{index-CBpRYfw7.js.map → index-DeirAOH-.js.map} +1 -1
- package/dist/{index-Dw22tq1e.cjs → index-ffAWONI_.cjs} +3 -3
- package/dist/{index-Dw22tq1e.cjs.map → index-ffAWONI_.cjs.map} +1 -1
- package/dist/{index-CoOmnlIt.js → index-jE_hmlY8.js} +2 -2
- package/dist/{index-CoOmnlIt.js.map → index-jE_hmlY8.js.map} +1 -1
- package/package.json +1 -1
- package/dist/components-C4EqnIzL.js.map +0 -1
- package/dist/components-CV2rKBYZ.cjs.map +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"_useUITheme-DqgAb7n1.cjs"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"_components-
|
|
33
|
-
"file": "components-
|
|
32
|
+
"_components-B0B09Vsk.cjs": {
|
|
33
|
+
"file": "components-B0B09Vsk.cjs",
|
|
34
34
|
"name": "components",
|
|
35
35
|
"imports": [
|
|
36
|
-
"_UsersSolid-
|
|
37
|
-
"_constants-
|
|
38
|
-
"_useUITheme-
|
|
39
|
-
"_Blank-
|
|
40
|
-
"_useEventSubscribe-
|
|
41
|
-
"_themes-
|
|
36
|
+
"_UsersSolid-peS-I-xF.cjs",
|
|
37
|
+
"_constants-DFJRYpE2.cjs",
|
|
38
|
+
"_useUITheme-DqgAb7n1.cjs",
|
|
39
|
+
"_Blank-DapEucFF.cjs",
|
|
40
|
+
"_useEventSubscribe-BTFTMdWH.cjs",
|
|
41
|
+
"_themes-CAW1Y0Nk.cjs"
|
|
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-CoGX1kwb.js": {
|
|
59
|
+
"file": "components-CoGX1kwb.js",
|
|
60
60
|
"name": "components",
|
|
61
61
|
"imports": [
|
|
62
|
-
"_UsersSolid-
|
|
63
|
-
"_constants-
|
|
64
|
-
"_useUITheme-
|
|
65
|
-
"_Blank-
|
|
66
|
-
"_useEventSubscribe-
|
|
67
|
-
"_themes-
|
|
62
|
+
"_UsersSolid-CyNyz_eF.js",
|
|
63
|
+
"_constants-B7xlU8b8.js",
|
|
64
|
+
"_useUITheme-7i8NJ2FG.js",
|
|
65
|
+
"_Blank-CElsicB7.js",
|
|
66
|
+
"_useEventSubscribe-16wxaghO.js",
|
|
67
|
+
"_themes-Dxo8D1cq.js"
|
|
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-CJE1_yJ6.cjs": {
|
|
107
|
+
"file": "index-CJE1_yJ6.cjs",
|
|
108
108
|
"name": "index",
|
|
109
109
|
"imports": [
|
|
110
|
-
"_components-
|
|
110
|
+
"_components-B0B09Vsk.cjs"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"_index-
|
|
114
|
-
"file": "index-
|
|
113
|
+
"_index-jE_hmlY8.js": {
|
|
114
|
+
"file": "index-jE_hmlY8.js",
|
|
115
115
|
"name": "index",
|
|
116
116
|
"imports": [
|
|
117
|
-
"_components-
|
|
117
|
+
"_components-CoGX1kwb.js"
|
|
118
118
|
]
|
|
119
119
|
},
|
|
120
120
|
"_themes-CAW1Y0Nk.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-3RRyZp85.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-CJE1_yJ6.cjs",
|
|
167
|
+
"_components-B0B09Vsk.cjs"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"src/components/ActionCard/components/Header/index.tsx": {
|
|
171
|
-
"file": "index-
|
|
171
|
+
"file": "index-D0eJPLEq.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-B0B09Vsk.cjs",
|
|
177
177
|
"_UsersSolid-peS-I-xF.cjs"
|
|
178
178
|
]
|
|
179
179
|
},
|
|
180
180
|
"src/components/ActionSheet/components/Badge/index.tsx": {
|
|
181
|
-
"file": "index-
|
|
181
|
+
"file": "index-CfPgXC_X.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-B0B09Vsk.cjs"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"src/components/Card/components/Header/index.tsx": {
|
|
190
|
-
"file": "index-
|
|
190
|
+
"file": "index-CWElz4HJ.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-B0B09Vsk.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-ffAWONI_.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-CJE1_yJ6.cjs",
|
|
211
|
+
"_components-B0B09Vsk.cjs"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"src/components/SodaCard/components/Assets/index.tsx": {
|
|
215
|
-
"file": "index-
|
|
215
|
+
"file": "index-DOa4tU-h.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-B0B09Vsk.cjs"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"src/components/SodaCard/components/Content/index.tsx": {
|
|
224
|
-
"file": "index-
|
|
224
|
+
"file": "index-BvkqUymq.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-B0B09Vsk.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-CXi6Syua.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-B0B09Vsk.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-BPiG2IqF.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-B0B09Vsk.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-B0B09Vsk.cjs"
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/export/hooks.ts": {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type Props = PropsWithChildren<{
|
|
3
|
+
asideCollapsed?: boolean;
|
|
4
|
+
onAsideToggle?: () => void;
|
|
5
|
+
width?: number;
|
|
6
|
+
onWidthChange?: (width: number) => void;
|
|
7
|
+
onMaxExpand?: () => void;
|
|
8
|
+
}>;
|
|
9
|
+
export default function AsideResizable({ children, asideCollapsed, onAsideToggle, width, onWidthChange, onMaxExpand }: Props): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=AsideResizable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsideResizable.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/AsideResizable.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAA+B,MAAM,OAAO,CAAC;AAKvE,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC,CAAC;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAE,cAAsB,EAAE,aAAa,EAAE,KAAW,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,KAAK,2DAsHzI"}
|
|
@@ -50,6 +50,10 @@ type Props = {
|
|
|
50
50
|
temporarySpace?: ISpaceItem;
|
|
51
51
|
onMenuItemClick: (item: IMenuItem) => void;
|
|
52
52
|
spaces: ISpaceItem[];
|
|
53
|
+
right?: ReactElement;
|
|
54
|
+
asideCollapsed?: boolean;
|
|
55
|
+
onAsideToggle?: () => void;
|
|
56
|
+
onMaxExpand?: () => void;
|
|
53
57
|
avatarIcon?: {
|
|
54
58
|
icon: string | ReactElement | null;
|
|
55
59
|
onClick: () => void;
|
|
@@ -61,6 +65,6 @@ type Props = {
|
|
|
61
65
|
onAddSpaceClick?: () => void;
|
|
62
66
|
onMinusSpaceClick?: () => void;
|
|
63
67
|
};
|
|
64
|
-
export declare function AppShellNavigation({ spaces, pageItem, selectedSpace, temporarySpace, menuItems, companyIcon, onAddSpaceClick, onMinusSpaceClick, avatarIcon, onMenuItemClick, onSettingsIconClick, onBackClick, isBackButtonVisible, footerMenuItems, roomCategories, children }: PropsWithChildren<Props>): ReactElement;
|
|
68
|
+
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;
|
|
65
69
|
export {};
|
|
66
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -797,8 +797,8 @@ function AccordionTable({
|
|
|
797
797
|
}
|
|
798
798
|
);
|
|
799
799
|
}
|
|
800
|
-
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
801
|
-
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
800
|
+
const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-D0eJPLEq.cjs")));
|
|
801
|
+
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-3RRyZp85.cjs")));
|
|
802
802
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
803
803
|
const hasContent = !!content || !!footer;
|
|
804
804
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -882,7 +882,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
882
882
|
}
|
|
883
883
|
const CARD_WIDTH$1 = 350;
|
|
884
884
|
const CARD_HEADER_HEIGHT = 158;
|
|
885
|
-
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
885
|
+
const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CWElz4HJ.cjs")));
|
|
886
886
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
887
887
|
const wrapperRef = react$1.useRef(null);
|
|
888
888
|
const handleOnClick = react$1.useCallback(
|
|
@@ -1317,7 +1317,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1317
1317
|
document.body
|
|
1318
1318
|
);
|
|
1319
1319
|
}
|
|
1320
|
-
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
1320
|
+
const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-CfPgXC_X.cjs")));
|
|
1321
1321
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1322
1322
|
const shadowScrollRef = react$1.useRef(null);
|
|
1323
1323
|
const wrapperContentAreaRef = react$1.useRef(null);
|
|
@@ -2159,6 +2159,101 @@ function Avatar({ src, rounded = true, size = 62, did }) {
|
|
|
2159
2159
|
}
|
|
2160
2160
|
return /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.User, { css: ({ text }) => ({ ...css2, backgroundColor: text.secondary }) });
|
|
2161
2161
|
}
|
|
2162
|
+
const MIN_WIDTH = 200;
|
|
2163
|
+
function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width = 450, onWidthChange, onMaxExpand }) {
|
|
2164
|
+
const [isResizing, setIsResizing] = react$1.useState(false);
|
|
2165
|
+
const [ref] = hooks.useResizeObserver();
|
|
2166
|
+
const isShowingRef = react$1.useRef(false);
|
|
2167
|
+
const hasFiredMaxExpand = react$1.useRef(false);
|
|
2168
|
+
const theme = useUITheme.useUITheme();
|
|
2169
|
+
react$1.useEffect(() => {
|
|
2170
|
+
if (!asideCollapsed && width <= MIN_WIDTH) {
|
|
2171
|
+
isShowingRef.current = true;
|
|
2172
|
+
onWidthChange?.(width);
|
|
2173
|
+
setTimeout(() => {
|
|
2174
|
+
isShowingRef.current = false;
|
|
2175
|
+
}, 200);
|
|
2176
|
+
}
|
|
2177
|
+
}, [asideCollapsed]);
|
|
2178
|
+
function clearListeners() {
|
|
2179
|
+
document.removeEventListener("mousemove", handleMouseMove);
|
|
2180
|
+
document.removeEventListener("mouseup", handleMouseUp);
|
|
2181
|
+
document.body.style.cursor = "";
|
|
2182
|
+
document.body.style.userSelect = "";
|
|
2183
|
+
}
|
|
2184
|
+
react$1.useEffect(() => {
|
|
2185
|
+
if (isResizing) {
|
|
2186
|
+
document.addEventListener("mousemove", handleMouseMove);
|
|
2187
|
+
document.addEventListener("mouseup", handleMouseUp);
|
|
2188
|
+
document.body.style.cursor = "col-resize";
|
|
2189
|
+
document.body.style.userSelect = "none";
|
|
2190
|
+
} else {
|
|
2191
|
+
clearListeners();
|
|
2192
|
+
}
|
|
2193
|
+
return () => clearListeners();
|
|
2194
|
+
}, [isResizing]);
|
|
2195
|
+
const handleMouseMove = (e) => {
|
|
2196
|
+
if (!isResizing) return;
|
|
2197
|
+
const newWidth = window.innerWidth - e.clientX;
|
|
2198
|
+
const maxWidth = window.innerWidth - 600;
|
|
2199
|
+
const constrainedWidth = Math.min(Math.max(newWidth, MIN_WIDTH), maxWidth);
|
|
2200
|
+
onWidthChange?.(constrainedWidth);
|
|
2201
|
+
};
|
|
2202
|
+
react$1.useEffect(() => {
|
|
2203
|
+
if (width === MIN_WIDTH && !asideCollapsed && onAsideToggle && !isShowingRef.current) {
|
|
2204
|
+
clearListeners();
|
|
2205
|
+
onAsideToggle();
|
|
2206
|
+
}
|
|
2207
|
+
}, [width, asideCollapsed, onAsideToggle]);
|
|
2208
|
+
react$1.useEffect(() => {
|
|
2209
|
+
const maxWidth = window.innerWidth - 600;
|
|
2210
|
+
if (width >= maxWidth && onMaxExpand && !hasFiredMaxExpand.current) {
|
|
2211
|
+
hasFiredMaxExpand.current = true;
|
|
2212
|
+
clearListeners();
|
|
2213
|
+
onMaxExpand();
|
|
2214
|
+
} else if (width < maxWidth) {
|
|
2215
|
+
hasFiredMaxExpand.current = false;
|
|
2216
|
+
}
|
|
2217
|
+
}, [width, onMaxExpand]);
|
|
2218
|
+
react$1.useEffect(() => {
|
|
2219
|
+
const handleWindowResize = () => {
|
|
2220
|
+
const newMaxWidth = window.innerWidth - 600;
|
|
2221
|
+
const newMinWidth = MIN_WIDTH;
|
|
2222
|
+
if (width > newMaxWidth) {
|
|
2223
|
+
onWidthChange?.(newMaxWidth);
|
|
2224
|
+
} else if (width < newMinWidth) {
|
|
2225
|
+
onWidthChange?.(newMinWidth);
|
|
2226
|
+
}
|
|
2227
|
+
};
|
|
2228
|
+
window.addEventListener("resize", handleWindowResize);
|
|
2229
|
+
return () => window.removeEventListener("resize", handleWindowResize);
|
|
2230
|
+
}, [width, onWidthChange]);
|
|
2231
|
+
const handleMouseUp = () => setIsResizing(false);
|
|
2232
|
+
const handleMouseDown = (e) => {
|
|
2233
|
+
e.preventDefault();
|
|
2234
|
+
setIsResizing(true);
|
|
2235
|
+
};
|
|
2236
|
+
if (asideCollapsed) return null;
|
|
2237
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(core.AppShell.Aside, { w: width, miw: 200, maw: window.innerWidth - 340, ref, children: [
|
|
2238
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2239
|
+
core.Box,
|
|
2240
|
+
{
|
|
2241
|
+
w: 4,
|
|
2242
|
+
top: 0,
|
|
2243
|
+
left: 0,
|
|
2244
|
+
h: "100%",
|
|
2245
|
+
pos: "absolute",
|
|
2246
|
+
bg: isResizing ? theme.colors.focus : "transparent",
|
|
2247
|
+
sx: {
|
|
2248
|
+
cursor: "col-resize",
|
|
2249
|
+
transition: "background-color 0.2s ease"
|
|
2250
|
+
},
|
|
2251
|
+
onMouseDown: handleMouseDown
|
|
2252
|
+
}
|
|
2253
|
+
),
|
|
2254
|
+
children
|
|
2255
|
+
] });
|
|
2256
|
+
}
|
|
2162
2257
|
function SelectedIndicator() {
|
|
2163
2258
|
const theme = useUITheme.useUITheme();
|
|
2164
2259
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2356,9 +2451,14 @@ function AppShellNavigation({
|
|
|
2356
2451
|
isBackButtonVisible,
|
|
2357
2452
|
footerMenuItems,
|
|
2358
2453
|
roomCategories,
|
|
2454
|
+
right,
|
|
2455
|
+
asideCollapsed = true,
|
|
2456
|
+
onAsideToggle,
|
|
2457
|
+
onMaxExpand,
|
|
2359
2458
|
children
|
|
2360
2459
|
}) {
|
|
2361
|
-
const [
|
|
2460
|
+
const [navbarCollapsed, { toggle: toggleNavbar }] = hooks.useDisclosure(true);
|
|
2461
|
+
const [asideWidth, setAsideWidth] = react$1.useState(450);
|
|
2362
2462
|
const theme = useUITheme.useUITheme();
|
|
2363
2463
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2364
2464
|
core.AppShell,
|
|
@@ -2367,11 +2467,18 @@ function AppShellNavigation({
|
|
|
2367
2467
|
styles: {
|
|
2368
2468
|
navbar: {
|
|
2369
2469
|
background: theme.bg.navScaled
|
|
2470
|
+
},
|
|
2471
|
+
aside: {
|
|
2472
|
+
background: theme.bg.navScaled
|
|
2370
2473
|
}
|
|
2371
2474
|
},
|
|
2372
2475
|
bg: theme.bg.navIconsBg,
|
|
2373
2476
|
navbar: {
|
|
2374
|
-
width:
|
|
2477
|
+
width: navbarCollapsed ? 300 : 56,
|
|
2478
|
+
breakpoint: "sm"
|
|
2479
|
+
},
|
|
2480
|
+
aside: {
|
|
2481
|
+
width: asideCollapsed ? 0 : asideWidth,
|
|
2375
2482
|
breakpoint: "sm"
|
|
2376
2483
|
},
|
|
2377
2484
|
children: [
|
|
@@ -2427,17 +2534,17 @@ function AppShellNavigation({
|
|
|
2427
2534
|
/* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { align: "center", gap: 8, children: [
|
|
2428
2535
|
/* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2429
2536
|
/* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.SettingsBarSolid, { size: 22, color: "secondary" }) }),
|
|
2430
|
-
!
|
|
2537
|
+
!navbarCollapsed && /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: toggleNavbar, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.AngleRightSolid, { color: "secondary" }) })
|
|
2431
2538
|
] })
|
|
2432
2539
|
] }),
|
|
2433
|
-
|
|
2540
|
+
navbarCollapsed && /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
|
|
2434
2541
|
/* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { gap: 5, children: [
|
|
2435
2542
|
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
|
|
2436
2543
|
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: "10px", children: [
|
|
2437
2544
|
isBackButtonVisible ? /* @__PURE__ */ jsxRuntime.jsx(core.Center, { onClick: onBackClick, sx: { borderRadius: 4, cursor: "pointer", padding: 2, background: theme.bg.navIconsBg }, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowLeftSolid, { size: 18 }) }) : /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { borderRadius: 4, padding: 2, background: theme.bg.navIconsBg }, children: pageItem.pageIcon ? /* @__PURE__ */ jsxRuntime.jsx(pageItem.pageIcon, { size: 18 }) : /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.Globe, { size: 18 }) }),
|
|
2438
2545
|
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { lh: 1, c: theme.text.overPicture, children: pageItem.pageTitle || "Unknown" })
|
|
2439
2546
|
] }),
|
|
2440
|
-
/* @__PURE__ */ jsxRuntime.jsx(Flex, { gap: 12, align: "center", children: /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer" }, onClick:
|
|
2547
|
+
/* @__PURE__ */ jsxRuntime.jsx(Flex, { gap: 12, align: "center", children: /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer" }, onClick: toggleNavbar, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.PanelLeftSolid, { size: 22, color: "secondary" }) }) })
|
|
2441
2548
|
] }),
|
|
2442
2549
|
menuItems?.map((item) => /* @__PURE__ */ jsxRuntime.jsx(MenuItem, { onMenuItemClick, item }, item.id)),
|
|
2443
2550
|
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 8, mt: 16, children: roomCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsx(RoomCategory, { category }, category.id)) })
|
|
@@ -2445,7 +2552,8 @@ function AppShellNavigation({
|
|
|
2445
2552
|
/* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 5, children: footerMenuItems?.map((item) => /* @__PURE__ */ jsxRuntime.jsx(MenuItem, { onMenuItemClick, item }, item.id)) })
|
|
2446
2553
|
] })
|
|
2447
2554
|
] }) }),
|
|
2448
|
-
/* @__PURE__ */ jsxRuntime.jsx(core.AppShell.Main, { children })
|
|
2555
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.AppShell.Main, { children }),
|
|
2556
|
+
/* @__PURE__ */ jsxRuntime.jsx(AsideResizable, { asideCollapsed, onAsideToggle, onMaxExpand, width: asideWidth, onWidthChange: setAsideWidth, children: right })
|
|
2449
2557
|
]
|
|
2450
2558
|
}
|
|
2451
2559
|
);
|
|
@@ -5423,13 +5531,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5423
5531
|
}
|
|
5424
5532
|
);
|
|
5425
5533
|
}
|
|
5426
|
-
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5427
|
-
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5428
|
-
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5534
|
+
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-BPiG2IqF.cjs")));
|
|
5535
|
+
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CXi6Syua.cjs")));
|
|
5536
|
+
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-BvkqUymq.cjs")));
|
|
5429
5537
|
const Map = react$1.lazy(() => Promise.resolve().then(() => require("./index-D4PsPquZ.cjs")));
|
|
5430
5538
|
const CustomContent = react$1.lazy(() => Promise.resolve().then(() => require("./index-ByrCNpS2.cjs")));
|
|
5431
|
-
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5432
|
-
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5539
|
+
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-DOa4tU-h.cjs")));
|
|
5540
|
+
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-ffAWONI_.cjs")));
|
|
5433
5541
|
const HOVER_BORDER_WIDTH = 1;
|
|
5434
5542
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5435
5543
|
const wrapperRef = react$1.useRef(null);
|
|
@@ -10741,4 +10849,4 @@ exports.UserMessage = UserMessage;
|
|
|
10741
10849
|
exports.WorkspaceModal = WorkspaceModal;
|
|
10742
10850
|
exports.cutText = cutText;
|
|
10743
10851
|
exports.isValidClick = isValidClick;
|
|
10744
|
-
//# sourceMappingURL=components-
|
|
10852
|
+
//# sourceMappingURL=components-B0B09Vsk.cjs.map
|