@ixo/ui 0.0.37 → 0.0.39
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-DN1Oa-f6.cjs → components-Dh6ajpNG.cjs} +44 -34
- package/dist/{components-DN1Oa-f6.cjs.map → components-Dh6ajpNG.cjs.map} +1 -1
- package/dist/{components-CzYIAVLV.js → components-HlNIe7CZ.js} +45 -35
- package/dist/{components-CzYIAVLV.js.map → components-HlNIe7CZ.js.map} +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-vNRsVBzW.js → index--70UT2n_.js} +2 -2
- package/dist/{index-vNRsVBzW.js.map → index--70UT2n_.js.map} +1 -1
- package/dist/{index-CPagTbY2.js → index-9UUyZZ-F.js} +3 -3
- package/dist/{index-CPagTbY2.js.map → index-9UUyZZ-F.js.map} +1 -1
- package/dist/{index-C1jkvV-X.cjs → index-B-Zre99u.cjs} +2 -2
- package/dist/{index-C1jkvV-X.cjs.map → index-B-Zre99u.cjs.map} +1 -1
- package/dist/{index-Ch5hR4aV.cjs → index-B279S1ib.cjs} +2 -2
- package/dist/{index-Ch5hR4aV.cjs.map → index-B279S1ib.cjs.map} +1 -1
- package/dist/{index-kDLY4FBs.js → index-BJlA64RQ.js} +3 -3
- package/dist/{index-kDLY4FBs.js.map → index-BJlA64RQ.js.map} +1 -1
- package/dist/{index-CwSS7HIf.cjs → index-BSpy7S9t.cjs} +2 -2
- package/dist/{index-CwSS7HIf.cjs.map → index-BSpy7S9t.cjs.map} +1 -1
- package/dist/{index-FtJpq2EO.js → index-BmURKcEG.js} +2 -2
- package/dist/{index-FtJpq2EO.js.map → index-BmURKcEG.js.map} +1 -1
- package/dist/{index-F9Irhjcn.js → index-CHd1dAzt.js} +2 -2
- package/dist/{index-F9Irhjcn.js.map → index-CHd1dAzt.js.map} +1 -1
- package/dist/{index-CpWsRlKO.cjs → index-CJ6bEuh4.cjs} +2 -2
- package/dist/{index-CpWsRlKO.cjs.map → index-CJ6bEuh4.cjs.map} +1 -1
- package/dist/{index-CdKYqXBt.cjs → index-Cc8QzwfQ.cjs} +2 -2
- package/dist/{index-CdKYqXBt.cjs.map → index-Cc8QzwfQ.cjs.map} +1 -1
- package/dist/{index-B3L8bASL.js → index-Cdq0xepm.js} +2 -2
- package/dist/{index-B3L8bASL.js.map → index-Cdq0xepm.js.map} +1 -1
- package/dist/{index-BxdS7Log.js → index-Ct0LG7BZ.js} +2 -2
- package/dist/{index-BxdS7Log.js.map → index-Ct0LG7BZ.js.map} +1 -1
- package/dist/{index-CakMAOX7.cjs → index-CxrtFKNK.cjs} +2 -2
- package/dist/{index-CakMAOX7.cjs.map → index-CxrtFKNK.cjs.map} +1 -1
- package/dist/{index-tAWB4Iqa.cjs → index-DAzlT5mC.cjs} +3 -3
- package/dist/{index-tAWB4Iqa.cjs.map → index-DAzlT5mC.cjs.map} +1 -1
- package/dist/{index-DQlyhNQS.js → index-DBFKFDFv.js} +2 -2
- package/dist/{index-DQlyhNQS.js.map → index-DBFKFDFv.js.map} +1 -1
- package/dist/{index-DXySGWRo.cjs → index-DZdPdzVn.cjs} +2 -2
- package/dist/{index-DXySGWRo.cjs.map → index-DZdPdzVn.cjs.map} +1 -1
- package/dist/{index-Cjz-hgYn.js → index-DhGqlduA.js} +2 -2
- package/dist/{index-Cjz-hgYn.js.map → index-DhGqlduA.js.map} +1 -1
- package/dist/{index-Cp1GJZKj.cjs → index-DnxREYKV.cjs} +3 -3
- package/dist/{index-Cp1GJZKj.cjs.map → index-DnxREYKV.cjs.map} +1 -1
- package/dist/{index-CcmQ18nv.js → index-E541J7_X.js} +2 -2
- package/dist/{index-CcmQ18nv.js.map → index-E541J7_X.js.map} +1 -1
- package/dist/{index-BFLvKv53.cjs → index-RMhNdvgC.cjs} +2 -2
- package/dist/{index-BFLvKv53.cjs.map → index-RMhNdvgC.cjs.map} +1 -1
- package/package.json +5 -5
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-Dh6ajpNG.cjs": {
|
|
33
|
+
"file": "components-Dh6ajpNG.cjs",
|
|
34
34
|
"name": "components",
|
|
35
35
|
"imports": [
|
|
36
|
-
"_UsersSolid-
|
|
37
|
-
"_constants-
|
|
38
|
-
"_useUITheme-
|
|
39
|
-
"_useEventSubscribe-
|
|
40
|
-
"_Blank-
|
|
41
|
-
"_themes-
|
|
36
|
+
"_UsersSolid-DjJvkV7c.cjs",
|
|
37
|
+
"_constants-DFJRYpE2.cjs",
|
|
38
|
+
"_useUITheme-DqgAb7n1.cjs",
|
|
39
|
+
"_useEventSubscribe-B019T27n.cjs",
|
|
40
|
+
"_Blank-DapEucFF.cjs",
|
|
41
|
+
"_themes-BwGjuKnC.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-HlNIe7CZ.js": {
|
|
59
|
+
"file": "components-HlNIe7CZ.js",
|
|
60
60
|
"name": "components",
|
|
61
61
|
"imports": [
|
|
62
|
-
"_UsersSolid-
|
|
63
|
-
"_constants-
|
|
64
|
-
"_useUITheme-
|
|
65
|
-
"_useEventSubscribe-
|
|
66
|
-
"_Blank-
|
|
67
|
-
"_themes-
|
|
62
|
+
"_UsersSolid-C6NkfomI.js",
|
|
63
|
+
"_constants-B7xlU8b8.js",
|
|
64
|
+
"_useUITheme-7i8NJ2FG.js",
|
|
65
|
+
"_useEventSubscribe-BuXZL79s.js",
|
|
66
|
+
"_Blank-CElsicB7.js",
|
|
67
|
+
"_themes-ZDjULHjG.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-Ct0LG7BZ.js": {
|
|
107
|
+
"file": "index-Ct0LG7BZ.js",
|
|
108
108
|
"name": "index",
|
|
109
109
|
"imports": [
|
|
110
|
-
"_components-
|
|
110
|
+
"_components-HlNIe7CZ.js"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"_index-
|
|
114
|
-
"file": "index-
|
|
113
|
+
"_index-RMhNdvgC.cjs": {
|
|
114
|
+
"file": "index-RMhNdvgC.cjs",
|
|
115
115
|
"name": "index",
|
|
116
116
|
"imports": [
|
|
117
|
-
"_components-
|
|
117
|
+
"_components-Dh6ajpNG.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-DAzlT5mC.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-RMhNdvgC.cjs",
|
|
167
|
+
"_components-Dh6ajpNG.cjs"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"src/components/ActionCard/components/Header/index.tsx": {
|
|
171
|
-
"file": "index-
|
|
171
|
+
"file": "index-CJ6bEuh4.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-Dh6ajpNG.cjs",
|
|
177
177
|
"_UsersSolid-DjJvkV7c.cjs"
|
|
178
178
|
]
|
|
179
179
|
},
|
|
180
180
|
"src/components/ActionSheet/components/Badge/index.tsx": {
|
|
181
|
-
"file": "index-
|
|
181
|
+
"file": "index-B279S1ib.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-Dh6ajpNG.cjs"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"src/components/Card/components/Header/index.tsx": {
|
|
190
|
-
"file": "index-
|
|
190
|
+
"file": "index-Cc8QzwfQ.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-Dh6ajpNG.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-DnxREYKV.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-RMhNdvgC.cjs",
|
|
211
|
+
"_components-Dh6ajpNG.cjs"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"src/components/SodaCard/components/Assets/index.tsx": {
|
|
215
|
-
"file": "index-
|
|
215
|
+
"file": "index-CxrtFKNK.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-Dh6ajpNG.cjs"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"src/components/SodaCard/components/Content/index.tsx": {
|
|
224
|
-
"file": "index-
|
|
224
|
+
"file": "index-B-Zre99u.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-Dh6ajpNG.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-DZdPdzVn.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-Dh6ajpNG.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-BSpy7S9t.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-Dh6ajpNG.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-Dh6ajpNG.cjs"
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/export/hooks.ts": {
|
|
@@ -31,6 +31,7 @@ type Props = {
|
|
|
31
31
|
isSelected?: boolean;
|
|
32
32
|
};
|
|
33
33
|
menuItems?: IMenuItem[];
|
|
34
|
+
separator?: number;
|
|
34
35
|
footerContent?: ReactElement;
|
|
35
36
|
roomCategories?: IRoomCategory[];
|
|
36
37
|
onAddSpaceClick?: () => void;
|
|
@@ -45,6 +46,6 @@ type Props = {
|
|
|
45
46
|
splitRatio?: number;
|
|
46
47
|
onSplitRatioChange?: (ratio: number) => void;
|
|
47
48
|
};
|
|
48
|
-
export declare function AppShellNavigation({ spaces, pageItem, selectedSpace, temporarySpace, menuItems, companyIcon, onAddSpaceClick, onMinusSpaceClick, avatarIcon, onMenuItemClick, onSettingsIconClick, onBackClick, isBackButtonVisible, footerContent, roomCategories, right, asideCollapsed, onAsideToggle, onMaxExpand, onAiOpen, isAiOpened, isAiBtnVisible, loading, children, aiNavbarContent, canvasContent, canvasMode, splitRatio, onSplitRatioChange }: PropsWithChildren<Props>): ReactElement;
|
|
49
|
+
export declare function AppShellNavigation({ spaces, pageItem, selectedSpace, temporarySpace, menuItems, companyIcon, onAddSpaceClick, onMinusSpaceClick, avatarIcon, onMenuItemClick, onSettingsIconClick, onBackClick, isBackButtonVisible, footerContent, roomCategories, right, asideCollapsed, onAsideToggle, onMaxExpand, onAiOpen, isAiOpened, isAiBtnVisible, loading, children, separator, aiNavbarContent, canvasContent, canvasMode, splitRatio, onSplitRatioChange }: PropsWithChildren<Props>): ReactElement;
|
|
49
50
|
export {};
|
|
50
51
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAA4C,MAAM,OAAO,CAAC;AAKlG,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAiB,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAA4C,MAAM,OAAO,CAAC;AAKlG,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAiB,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAI/D,KAAK,KAAK,GAAG;IACX,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,QAAQ,EAAE;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;KAC/B,CAAC;IACF,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE;QACX,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;QAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,eAAe,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAC3C,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE;QACX,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAAC;QACnC,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;IAExB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,cAAc,CAAC,EAAE,aAAa,EAAE,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,YAAY,CAAC;IAE/B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAMF,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,SAAS,EACT,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,KAAK,EACL,cAAqB,EACrB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,UAAU,EACV,cAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,eAAe,EACf,aAAa,EACb,UAAqB,EACrB,UAAgB,EAChB,kBAAkB,EACnB,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG,YAAY,CAqazC"}
|
|
@@ -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-CJ6bEuh4.cjs")));
|
|
801
|
+
const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-DAzlT5mC.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-Cc8QzwfQ.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-B279S1ib.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);
|
|
@@ -2591,6 +2591,28 @@ function SpaceItem({ icon, id, name, selectedSpace, onClick }) {
|
|
|
2591
2591
|
}
|
|
2592
2592
|
);
|
|
2593
2593
|
}
|
|
2594
|
+
function cutText(text, length, ending = "…") {
|
|
2595
|
+
if (!length || text.length <= length) {
|
|
2596
|
+
return text;
|
|
2597
|
+
}
|
|
2598
|
+
const words = text.split(" ");
|
|
2599
|
+
const endingSize = ending.length;
|
|
2600
|
+
let result = "";
|
|
2601
|
+
for (const word of words) {
|
|
2602
|
+
const newValue = result + word + " ";
|
|
2603
|
+
if (newValue.length + endingSize - 1 > length) {
|
|
2604
|
+
break;
|
|
2605
|
+
}
|
|
2606
|
+
result = newValue;
|
|
2607
|
+
}
|
|
2608
|
+
return result.trim() + ending;
|
|
2609
|
+
}
|
|
2610
|
+
function carbonToUSD(carbon) {
|
|
2611
|
+
return (carbon * 0.03).toLocaleString(void 0, {
|
|
2612
|
+
minimumFractionDigits: 0,
|
|
2613
|
+
maximumFractionDigits: 6
|
|
2614
|
+
});
|
|
2615
|
+
}
|
|
2594
2616
|
const CANVAS_MIN_WIDTH = 350;
|
|
2595
2617
|
const CONTENT_MIN_WIDTH = 350;
|
|
2596
2618
|
function AppShellNavigation({
|
|
@@ -2618,6 +2640,7 @@ function AppShellNavigation({
|
|
|
2618
2640
|
isAiBtnVisible,
|
|
2619
2641
|
loading,
|
|
2620
2642
|
children,
|
|
2643
|
+
separator,
|
|
2621
2644
|
aiNavbarContent,
|
|
2622
2645
|
canvasContent,
|
|
2623
2646
|
canvasMode = "hidden",
|
|
@@ -2657,6 +2680,7 @@ function AppShellNavigation({
|
|
|
2657
2680
|
},
|
|
2658
2681
|
[onSplitRatioChange]
|
|
2659
2682
|
);
|
|
2683
|
+
const isTitleOverflowing = (pageItem?.pageTitle?.length || 0) > 21;
|
|
2660
2684
|
const handleSplitMouseUp = react$1.useCallback(() => {
|
|
2661
2685
|
setIsSplitResizing(false);
|
|
2662
2686
|
isSplitResizingRef.current = false;
|
|
@@ -2843,7 +2867,7 @@ function AppShellNavigation({
|
|
|
2843
2867
|
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
|
|
2844
2868
|
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: "10px", children: [
|
|
2845
2869
|
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 }) }),
|
|
2846
|
-
/* @__PURE__ */ jsxRuntime.jsx(core.Text, { lh: 1, c: theme.text.overPicture, children: pageItem.pageTitle || "Unknown" })
|
|
2870
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Tooltip, { label: pageItem.pageTitle || "Unknown", disabled: !isTitleOverflowing, position: "bottom", withArrow: true, children: /* @__PURE__ */ jsxRuntime.jsx(core.Text, { lh: 1, c: theme.text.overPicture, children: cutText(pageItem.pageTitle, 21) || "Unknown" }) })
|
|
2847
2871
|
] }),
|
|
2848
2872
|
isAiBtnVisible && !isAiOpened && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2849
2873
|
core.Center,
|
|
@@ -2863,7 +2887,15 @@ function AppShellNavigation({
|
|
|
2863
2887
|
}
|
|
2864
2888
|
)
|
|
2865
2889
|
] }),
|
|
2866
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 5, children: Array.from({ length: 6 }).map((_, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavigationItemSkeleton, {}, idx)) }) : menuItems?.map((item) =>
|
|
2890
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 5, children: Array.from({ length: 6 }).map((_, idx) => /* @__PURE__ */ jsxRuntime.jsx(NavigationItemSkeleton, {}, idx)) }) : menuItems?.map((item, index) => {
|
|
2891
|
+
if (index === separator) {
|
|
2892
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2893
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Space, { h: 16 }),
|
|
2894
|
+
/* @__PURE__ */ jsxRuntime.jsx(MenuItem, { onMenuItemClick, item }, item.id)
|
|
2895
|
+
] });
|
|
2896
|
+
}
|
|
2897
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenuItem, { onMenuItemClick, item }, item.id);
|
|
2898
|
+
}),
|
|
2867
2899
|
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 8, mt: 16, children: roomCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsx(RoomCategory, { category }, category.id)) })
|
|
2868
2900
|
] }),
|
|
2869
2901
|
/* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 5, children: footerContent })
|
|
@@ -5964,13 +5996,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5964
5996
|
}
|
|
5965
5997
|
);
|
|
5966
5998
|
}
|
|
5967
|
-
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5968
|
-
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5969
|
-
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5999
|
+
const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-BSpy7S9t.cjs")));
|
|
6000
|
+
const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-DZdPdzVn.cjs")));
|
|
6001
|
+
const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-B-Zre99u.cjs")));
|
|
5970
6002
|
const Map = react$1.lazy(() => Promise.resolve().then(() => require("./index-D4PsPquZ.cjs")));
|
|
5971
6003
|
const CustomContent = react$1.lazy(() => Promise.resolve().then(() => require("./index-ByrCNpS2.cjs")));
|
|
5972
|
-
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
5973
|
-
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-
|
|
6004
|
+
const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-CxrtFKNK.cjs")));
|
|
6005
|
+
const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-DnxREYKV.cjs")));
|
|
5974
6006
|
const HOVER_BORDER_WIDTH = 1;
|
|
5975
6007
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5976
6008
|
const wrapperRef = react$1.useRef(null);
|
|
@@ -6307,28 +6339,6 @@ function AssetInfo({
|
|
|
6307
6339
|
}
|
|
6308
6340
|
);
|
|
6309
6341
|
}
|
|
6310
|
-
function cutText(text, length, ending = "…") {
|
|
6311
|
-
if (!length || text.length <= length) {
|
|
6312
|
-
return text;
|
|
6313
|
-
}
|
|
6314
|
-
const words = text.split(" ");
|
|
6315
|
-
const endingSize = ending.length;
|
|
6316
|
-
let result = "";
|
|
6317
|
-
for (const word of words) {
|
|
6318
|
-
const newValue = result + word + " ";
|
|
6319
|
-
if (newValue.length + endingSize - 1 > length) {
|
|
6320
|
-
break;
|
|
6321
|
-
}
|
|
6322
|
-
result = newValue;
|
|
6323
|
-
}
|
|
6324
|
-
return result.trim() + ending;
|
|
6325
|
-
}
|
|
6326
|
-
function carbonToUSD(carbon) {
|
|
6327
|
-
return (carbon * 0.03).toLocaleString(void 0, {
|
|
6328
|
-
minimumFractionDigits: 0,
|
|
6329
|
-
maximumFractionDigits: 6
|
|
6330
|
-
});
|
|
6331
|
-
}
|
|
6332
6342
|
const SHARED_ASSET_PROPS = {
|
|
6333
6343
|
leftTitleColor: "text",
|
|
6334
6344
|
rightTitleColor: "text",
|
|
@@ -11283,4 +11293,4 @@ exports.UserMessage = UserMessage;
|
|
|
11283
11293
|
exports.WorkspaceModal = WorkspaceModal;
|
|
11284
11294
|
exports.cutText = cutText;
|
|
11285
11295
|
exports.isValidClick = isValidClick;
|
|
11286
|
-
//# sourceMappingURL=components-
|
|
11296
|
+
//# sourceMappingURL=components-Dh6ajpNG.cjs.map
|