@ixo/ui 0.0.32 → 0.0.34
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.map +1 -1
- package/dist/components/AppShellNavigation/components/SpaceItem.d.ts +1 -1
- package/dist/components/AppShellNavigation/components/SpaceItem.d.ts.map +1 -1
- package/dist/components/AppShellNavigation/index.d.ts.map +1 -1
- package/dist/{components-DPqvQksg.js → components-Bbc5HijA.js} +173 -94
- package/dist/{components-DPqvQksg.js.map → components-Bbc5HijA.js.map} +1 -1
- package/dist/{components-CauA8pj8.cjs → components-BpMWfEEt.cjs} +172 -93
- package/dist/{components-CauA8pj8.cjs.map → components-BpMWfEEt.cjs.map} +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-gyuoLLqZ.js → index-B91AEI-O.js} +2 -2
- package/dist/{index-gyuoLLqZ.js.map → index-B91AEI-O.js.map} +1 -1
- package/dist/{index-DUJPoVEz.js → index-BJ_C_QL7.js} +2 -2
- package/dist/{index-DUJPoVEz.js.map → index-BJ_C_QL7.js.map} +1 -1
- package/dist/{index-BPxg0Mo_.cjs → index-BYkENVo6.cjs} +2 -2
- package/dist/{index-BPxg0Mo_.cjs.map → index-BYkENVo6.cjs.map} +1 -1
- package/dist/{index-DoAqrgoe.cjs → index-C5RwHoR5.cjs} +2 -2
- package/dist/{index-DoAqrgoe.cjs.map → index-C5RwHoR5.cjs.map} +1 -1
- package/dist/{index-4-WAoT04.cjs → index-CJEzVPBB.cjs} +2 -2
- package/dist/{index-4-WAoT04.cjs.map → index-CJEzVPBB.cjs.map} +1 -1
- package/dist/{index-DLj4vuH1.js → index-CcdgltF2.js} +2 -2
- package/dist/{index-DLj4vuH1.js.map → index-CcdgltF2.js.map} +1 -1
- package/dist/{index-CGvP6mHR.js → index-Cd9_EsL3.js} +2 -2
- package/dist/{index-CGvP6mHR.js.map → index-Cd9_EsL3.js.map} +1 -1
- package/dist/{index-DkNehzf5.cjs → index-ChMy4OWq.cjs} +3 -3
- package/dist/{index-DkNehzf5.cjs.map → index-ChMy4OWq.cjs.map} +1 -1
- package/dist/{index-DqlwX9tL.js → index-Cps8sTdh.js} +3 -3
- package/dist/{index-DqlwX9tL.js.map → index-Cps8sTdh.js.map} +1 -1
- package/dist/{index-Dl77uT7x.cjs → index-CrKmiIcJ.cjs} +2 -2
- package/dist/{index-Dl77uT7x.cjs.map → index-CrKmiIcJ.cjs.map} +1 -1
- package/dist/{index-BWrX_4fe.cjs → index-DYyekNVE.cjs} +2 -2
- package/dist/{index-BWrX_4fe.cjs.map → index-DYyekNVE.cjs.map} +1 -1
- package/dist/{index-lAIEKxbm.js → index-DiC6w4Dz.js} +3 -3
- package/dist/{index-lAIEKxbm.js.map → index-DiC6w4Dz.js.map} +1 -1
- package/dist/{index-BLdnv_e1.cjs → index-DmZxf_3K.cjs} +2 -2
- package/dist/{index-BLdnv_e1.cjs.map → index-DmZxf_3K.cjs.map} +1 -1
- package/dist/{index-cR-aohFS.js → index-DthSPEUj.js} +2 -2
- package/dist/{index-cR-aohFS.js.map → index-DthSPEUj.js.map} +1 -1
- package/dist/{index-CQ2SLAnM.js → index-Dw-UB8QG.js} +2 -2
- package/dist/{index-CQ2SLAnM.js.map → index-Dw-UB8QG.js.map} +1 -1
- package/dist/{index-CnChWDoH.cjs → index-T_N7l0dY.cjs} +2 -2
- package/dist/{index-CnChWDoH.cjs.map → index-T_N7l0dY.cjs.map} +1 -1
- package/dist/{index-CQCBLVmi.js → index-Tr9N7wIo.js} +2 -2
- package/dist/{index-CQCBLVmi.js.map → index-Tr9N7wIo.js.map} +1 -1
- package/dist/{index-B8OQBdXX.js → index-WpYDX7r4.js} +2 -2
- package/dist/{index-B8OQBdXX.js.map → index-WpYDX7r4.js.map} +1 -1
- package/dist/{index-DO_9y-Xf.cjs → index-YrKDHLOm.cjs} +3 -3
- package/dist/{index-DO_9y-Xf.cjs.map → index-YrKDHLOm.cjs.map} +1 -1
- package/dist/{index-jl9ABKeh.cjs → index-dOpxVj7U.cjs} +2 -2
- package/dist/{index-jl9ABKeh.cjs.map → index-dOpxVj7U.cjs.map} +1 -1
- package/package.json +1 -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-Bbc5HijA.js": {
|
|
33
|
+
"file": "components-Bbc5HijA.js",
|
|
34
34
|
"name": "components",
|
|
35
35
|
"imports": [
|
|
36
|
-
"_UsersSolid-
|
|
37
|
-
"_constants-
|
|
38
|
-
"_useUITheme-
|
|
39
|
-
"_Blank-
|
|
40
|
-
"_useEventSubscribe-
|
|
41
|
-
"_themes-
|
|
36
|
+
"_UsersSolid-BAU7PbE4.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-BpMWfEEt.cjs": {
|
|
59
|
+
"file": "components-BpMWfEEt.cjs",
|
|
60
60
|
"name": "components",
|
|
61
61
|
"imports": [
|
|
62
|
-
"_UsersSolid-
|
|
63
|
-
"_constants-
|
|
64
|
-
"_useUITheme-
|
|
65
|
-
"_Blank-
|
|
66
|
-
"_useEventSubscribe-
|
|
67
|
-
"_themes-
|
|
62
|
+
"_UsersSolid-D60imcQv.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-DthSPEUj.js": {
|
|
107
|
+
"file": "index-DthSPEUj.js",
|
|
108
108
|
"name": "index",
|
|
109
109
|
"imports": [
|
|
110
|
-
"_components-
|
|
110
|
+
"_components-Bbc5HijA.js"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"_index-
|
|
114
|
-
"file": "index-
|
|
113
|
+
"_index-dOpxVj7U.cjs": {
|
|
114
|
+
"file": "index-dOpxVj7U.cjs",
|
|
115
115
|
"name": "index",
|
|
116
116
|
"imports": [
|
|
117
|
-
"_components-
|
|
117
|
+
"_components-BpMWfEEt.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-ChMy4OWq.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-dOpxVj7U.cjs",
|
|
167
|
+
"_components-BpMWfEEt.cjs"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"src/components/ActionCard/components/Header/index.tsx": {
|
|
171
|
-
"file": "index-
|
|
171
|
+
"file": "index-C5RwHoR5.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-BpMWfEEt.cjs",
|
|
177
177
|
"_UsersSolid-D60imcQv.cjs"
|
|
178
178
|
]
|
|
179
179
|
},
|
|
180
180
|
"src/components/ActionSheet/components/Badge/index.tsx": {
|
|
181
|
-
"file": "index-
|
|
181
|
+
"file": "index-CrKmiIcJ.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-BpMWfEEt.cjs"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"src/components/Card/components/Header/index.tsx": {
|
|
190
|
-
"file": "index-
|
|
190
|
+
"file": "index-BYkENVo6.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-BpMWfEEt.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-YrKDHLOm.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-dOpxVj7U.cjs",
|
|
211
|
+
"_components-BpMWfEEt.cjs"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"src/components/SodaCard/components/Assets/index.tsx": {
|
|
215
|
-
"file": "index-
|
|
215
|
+
"file": "index-DYyekNVE.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-BpMWfEEt.cjs"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"src/components/SodaCard/components/Content/index.tsx": {
|
|
224
|
-
"file": "index-
|
|
224
|
+
"file": "index-CJEzVPBB.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-BpMWfEEt.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-T_N7l0dY.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-BpMWfEEt.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-DmZxf_3K.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-BpMWfEEt.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-BpMWfEEt.cjs"
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/export/hooks.ts": {
|
|
@@ -1 +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;
|
|
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;AAMvE,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,2DAqIzI"}
|
|
@@ -6,5 +6,5 @@ export type ISpaceItem = {
|
|
|
6
6
|
icon: string | ReactElement;
|
|
7
7
|
onClick: (id: string) => void;
|
|
8
8
|
};
|
|
9
|
-
export default function SpaceItem({ icon, id, selectedSpace, onClick }: ISpaceItem): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default function SpaceItem({ icon, id, name, selectedSpace, onClick }: ISpaceItem): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
//# sourceMappingURL=SpaceItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceItem.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/SpaceItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrC,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"SpaceItem.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/SpaceItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrC,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,UAAU,oDAwBvF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,YAAY,
|
|
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;AAIlG,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAiB,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAG/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;IACxB,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;CAChC,CAAC;AAEF,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,eAAe,EAChB,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG,YAAY,CAkQzC"}
|
|
@@ -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, d as ArrowLeftSolid, H as HistorySolid, U as User, e as AngleLeftSolid, M as MinusCircleSolid, f as SettingsBarSolid, G as Globe, D as Dashboard, h as Groups, i as UserCircleSolid, j as Assets$1, k as Claims, l as Accounts, m as LinkedResources, n as Proposals, I as ImpactCredits, o as GoTo, p as Share, q as PiePiece, r as ImpactCertificates, s as CommentDotsSolid, t as CommentAltSolid, u as MicrophoneSolid, v as Command, w as ArrowCircleRightSolid, x as Protocols, y as Investments, O as Oracles, z as Projects, B as Daos, F as Star, J as AngleRightSolid, K as Expand, N as LeafSolid, Q as ArrowDownSolid, R as ArrowRightSolid, T as Play, V as CheckCircle, W as Events, X as ThumbsUpSolid, Y as CommentsSolid, Z as CopySolid, _ as Hourglass, $ as Act, a0 as Info$1, a1 as ClaimsW, a2 as TachometerAltSolid, a3 as UserCogSolid, a4 as UsersSolid, a5 as EllipsisHSolid } from "./UsersSolid-BAU7PbE4.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, Badge as Badge$1, Center, AppShell, Skeleton, Stack as Stack$1, Divider } from "@mantine/core";
|
|
7
|
+
import { Accordion as Accordion$1, Box, Image, Popover, Text as Text$1, Badge as Badge$1, Center, AppShell, Skeleton, Stack as Stack$1, Tooltip as Tooltip$4, Divider } 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-CcdgltF2.js"));
|
|
778
|
+
const Footer = lazy(() => import("./index-Cps8sTdh.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-Tr9N7wIo.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-BJ_C_QL7.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);
|
|
@@ -2184,6 +2184,7 @@ function Avatar({ src, rounded = true, size = 62, did }) {
|
|
|
2184
2184
|
return /* @__PURE__ */ jsx(User, { css: ({ text }) => ({ ...css2, backgroundColor: text.secondary }) });
|
|
2185
2185
|
}
|
|
2186
2186
|
const MIN_WIDTH = 200;
|
|
2187
|
+
const MAX_WIDTH = 700;
|
|
2187
2188
|
function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width = 450, onWidthChange, onMaxExpand }) {
|
|
2188
2189
|
const [isResizing, setIsResizing] = useState(false);
|
|
2189
2190
|
const [ref] = useResizeObserver();
|
|
@@ -2219,7 +2220,7 @@ function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width
|
|
|
2219
2220
|
const handleMouseMove = (e) => {
|
|
2220
2221
|
if (!isResizing) return;
|
|
2221
2222
|
const newWidth = window.innerWidth - e.clientX;
|
|
2222
|
-
const maxWidth = window.innerWidth - 600;
|
|
2223
|
+
const maxWidth = Math.min(window.innerWidth - 600, MAX_WIDTH);
|
|
2223
2224
|
const constrainedWidth = Math.min(Math.max(newWidth, MIN_WIDTH), maxWidth);
|
|
2224
2225
|
onWidthChange?.(constrainedWidth);
|
|
2225
2226
|
};
|
|
@@ -2230,7 +2231,7 @@ function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width
|
|
|
2230
2231
|
}
|
|
2231
2232
|
}, [width, asideCollapsed, onAsideToggle]);
|
|
2232
2233
|
useEffect(() => {
|
|
2233
|
-
const maxWidth = window.innerWidth - 600;
|
|
2234
|
+
const maxWidth = Math.min(window.innerWidth - 600, MAX_WIDTH);
|
|
2234
2235
|
if (width >= maxWidth && onMaxExpand && !hasFiredMaxExpand.current) {
|
|
2235
2236
|
hasFiredMaxExpand.current = true;
|
|
2236
2237
|
clearListeners();
|
|
@@ -2241,7 +2242,7 @@ function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width
|
|
|
2241
2242
|
}, [width, onMaxExpand]);
|
|
2242
2243
|
useEffect(() => {
|
|
2243
2244
|
const handleWindowResize = () => {
|
|
2244
|
-
const newMaxWidth = window.innerWidth - 600;
|
|
2245
|
+
const newMaxWidth = Math.min(window.innerWidth - 600, MAX_WIDTH);
|
|
2245
2246
|
const newMinWidth = MIN_WIDTH;
|
|
2246
2247
|
if (width > newMaxWidth) {
|
|
2247
2248
|
onWidthChange?.(newMaxWidth);
|
|
@@ -2263,7 +2264,7 @@ function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width
|
|
|
2263
2264
|
{
|
|
2264
2265
|
w: width,
|
|
2265
2266
|
miw: 200,
|
|
2266
|
-
maw:
|
|
2267
|
+
maw: MAX_WIDTH,
|
|
2267
2268
|
ref,
|
|
2268
2269
|
sx: {
|
|
2269
2270
|
overflowY: "auto",
|
|
@@ -2499,7 +2500,7 @@ function SelectedIndicator() {
|
|
|
2499
2500
|
}
|
|
2500
2501
|
);
|
|
2501
2502
|
}
|
|
2502
|
-
function SpaceItem({ icon, id, selectedSpace, onClick }) {
|
|
2503
|
+
function SpaceItem({ icon, id, name, selectedSpace, onClick }) {
|
|
2503
2504
|
const { hovered, ref } = useHover();
|
|
2504
2505
|
const theme = useUITheme();
|
|
2505
2506
|
const isSelected = selectedSpace === id;
|
|
@@ -2517,7 +2518,7 @@ function SpaceItem({ icon, id, selectedSpace, onClick }) {
|
|
|
2517
2518
|
w: 40,
|
|
2518
2519
|
onClick: () => onClick(id),
|
|
2519
2520
|
children: [
|
|
2520
|
-
typeof icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: icon, w: 32, h: 32 }) : icon,
|
|
2521
|
+
/* @__PURE__ */ jsx(Tooltip$4, { label: name, ml: 5, fz: 12, position: "right", withArrow: true, children: typeof icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: icon, w: 32, h: 32 }) : icon }),
|
|
2521
2522
|
isSelected && /* @__PURE__ */ jsx(SelectedIndicator, {})
|
|
2522
2523
|
]
|
|
2523
2524
|
}
|
|
@@ -2553,6 +2554,65 @@ function AppShellNavigation({
|
|
|
2553
2554
|
const [isNavbarNotCollapsed, { toggle: toggleNavbar }] = useDisclosure(true);
|
|
2554
2555
|
const [asideWidth, setAsideWidth] = useState(450);
|
|
2555
2556
|
const theme = useUITheme();
|
|
2557
|
+
const [navbarWidth, setNavbarWidth] = useState(isAiOpened ? 450 : 300);
|
|
2558
|
+
const [isNavbarResizing, setIsNavbarResizing] = useState(false);
|
|
2559
|
+
const isNavbarResizingRef = useRef(false);
|
|
2560
|
+
useEffect(() => {
|
|
2561
|
+
const minWidth = isAiOpened ? 450 : 300;
|
|
2562
|
+
if (navbarWidth < minWidth) {
|
|
2563
|
+
setNavbarWidth(minWidth);
|
|
2564
|
+
}
|
|
2565
|
+
}, [isAiOpened, navbarWidth]);
|
|
2566
|
+
function clearNavbarListeners() {
|
|
2567
|
+
document.removeEventListener("mousemove", handleNavbarMouseMove);
|
|
2568
|
+
document.removeEventListener("mouseup", handleNavbarMouseUp);
|
|
2569
|
+
document.body.style.cursor = "";
|
|
2570
|
+
document.body.style.userSelect = "";
|
|
2571
|
+
}
|
|
2572
|
+
const handleNavbarMouseMove = useCallback(
|
|
2573
|
+
(e) => {
|
|
2574
|
+
if (!isNavbarResizingRef.current) return;
|
|
2575
|
+
const minWidth = isAiOpened ? 450 : 300;
|
|
2576
|
+
const maxWidth = 700;
|
|
2577
|
+
const newWidth = Math.min(Math.max(e.clientX, minWidth), maxWidth);
|
|
2578
|
+
setNavbarWidth(newWidth);
|
|
2579
|
+
},
|
|
2580
|
+
[isAiOpened]
|
|
2581
|
+
);
|
|
2582
|
+
const handleNavbarMouseUp = useCallback(() => {
|
|
2583
|
+
setIsNavbarResizing(false);
|
|
2584
|
+
isNavbarResizingRef.current = false;
|
|
2585
|
+
}, []);
|
|
2586
|
+
const handleNavbarMouseDown = (e) => {
|
|
2587
|
+
e.preventDefault();
|
|
2588
|
+
setIsNavbarResizing(true);
|
|
2589
|
+
isNavbarResizingRef.current = true;
|
|
2590
|
+
};
|
|
2591
|
+
useEffect(() => {
|
|
2592
|
+
if (isNavbarResizing) {
|
|
2593
|
+
document.addEventListener("mousemove", handleNavbarMouseMove);
|
|
2594
|
+
document.addEventListener("mouseup", handleNavbarMouseUp);
|
|
2595
|
+
document.body.style.cursor = "col-resize";
|
|
2596
|
+
document.body.style.userSelect = "none";
|
|
2597
|
+
} else {
|
|
2598
|
+
console.count("2");
|
|
2599
|
+
clearNavbarListeners();
|
|
2600
|
+
}
|
|
2601
|
+
return () => clearNavbarListeners();
|
|
2602
|
+
}, [isNavbarResizing, handleNavbarMouseMove, handleNavbarMouseUp]);
|
|
2603
|
+
useEffect(() => {
|
|
2604
|
+
const handleWindowResize = () => {
|
|
2605
|
+
const maxWidth = 700;
|
|
2606
|
+
const minWidth = isAiOpened ? 450 : 300;
|
|
2607
|
+
if (navbarWidth > maxWidth) {
|
|
2608
|
+
setNavbarWidth(maxWidth);
|
|
2609
|
+
} else if (navbarWidth < minWidth) {
|
|
2610
|
+
setNavbarWidth(minWidth);
|
|
2611
|
+
}
|
|
2612
|
+
};
|
|
2613
|
+
window.addEventListener("resize", handleWindowResize);
|
|
2614
|
+
return () => window.removeEventListener("resize", handleWindowResize);
|
|
2615
|
+
}, [navbarWidth, isAiOpened]);
|
|
2556
2616
|
return /* @__PURE__ */ jsxs(
|
|
2557
2617
|
AppShell,
|
|
2558
2618
|
{
|
|
@@ -2560,7 +2620,7 @@ function AppShellNavigation({
|
|
|
2560
2620
|
styles: {
|
|
2561
2621
|
navbar: {
|
|
2562
2622
|
background: theme.bg.navIconsBg,
|
|
2563
|
-
transition: "width 0.3s ease"
|
|
2623
|
+
transition: isNavbarResizing ? "none" : "width 0.3s ease"
|
|
2564
2624
|
},
|
|
2565
2625
|
aside: {
|
|
2566
2626
|
background: theme.bg.navScaled
|
|
@@ -2568,7 +2628,7 @@ function AppShellNavigation({
|
|
|
2568
2628
|
},
|
|
2569
2629
|
bg: theme.bg.centralCanvasBg,
|
|
2570
2630
|
navbar: {
|
|
2571
|
-
width: isNavbarNotCollapsed ?
|
|
2631
|
+
width: isNavbarNotCollapsed ? navbarWidth : 56,
|
|
2572
2632
|
breakpoint: "sm"
|
|
2573
2633
|
},
|
|
2574
2634
|
aside: {
|
|
@@ -2576,90 +2636,109 @@ function AppShellNavigation({
|
|
|
2576
2636
|
breakpoint: "sm"
|
|
2577
2637
|
},
|
|
2578
2638
|
children: [
|
|
2579
|
-
/* @__PURE__ */ jsx(AppShell.Navbar, { children: /* @__PURE__ */ jsxs(
|
|
2580
|
-
/* @__PURE__ */
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 })
|
|
2604
|
-
] }),
|
|
2605
|
-
/* @__PURE__ */ jsx(
|
|
2606
|
-
Stack$1,
|
|
2607
|
-
{
|
|
2608
|
-
align: "center",
|
|
2609
|
-
gap: 8,
|
|
2610
|
-
style: {
|
|
2611
|
-
flex: 1,
|
|
2612
|
-
overflowY: "auto",
|
|
2613
|
-
maxHeight: "calc(100vh - 300px)",
|
|
2614
|
-
scrollbarWidth: "none",
|
|
2615
|
-
msOverflowStyle: "none"
|
|
2616
|
-
},
|
|
2617
|
-
sx: {
|
|
2618
|
-
"&::-webkit-scrollbar": {
|
|
2619
|
-
display: "none"
|
|
2620
|
-
}
|
|
2621
|
-
},
|
|
2622
|
-
children: spaces.map(({ icon, id, name, onClick }) => /* @__PURE__ */ jsx(SpaceItem, { selectedSpace, icon, name, id, onClick }, id))
|
|
2623
|
-
}
|
|
2624
|
-
)
|
|
2625
|
-
] }),
|
|
2626
|
-
onAddSpaceClick && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onAddSpaceClick, children: /* @__PURE__ */ jsx(PlusSolid, { color: "secondary" }) }),
|
|
2627
|
-
onMinusSpaceClick && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onMinusSpaceClick, children: /* @__PURE__ */ jsx(MinusCircleSolid, { color: "secondary" }) }),
|
|
2628
|
-
/* @__PURE__ */ jsxs(Stack$1, { align: "center", gap: 8, children: [
|
|
2629
|
-
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2630
|
-
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsx(SettingsBarSolid, { size: 22, color: "secondary" }) })
|
|
2631
|
-
] })
|
|
2632
|
-
] }),
|
|
2633
|
-
isAiOpened && isNavbarNotCollapsed && aiNavbarContent,
|
|
2634
|
-
isNavbarNotCollapsed && !isAiOpened && /* @__PURE__ */ jsxs(Stack$1, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
|
|
2635
|
-
/* @__PURE__ */ jsxs(Stack$1, { gap: 5, children: [
|
|
2636
|
-
/* @__PURE__ */ jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
|
|
2637
|
-
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: "10px", children: [
|
|
2638
|
-
isBackButtonVisible ? /* @__PURE__ */ jsx(Center, { onClick: onBackClick, sx: { borderRadius: 4, cursor: "pointer", padding: 2, background: theme.bg.navIconsBg }, children: /* @__PURE__ */ jsx(ArrowLeftSolid, { size: 18 }) }) : /* @__PURE__ */ jsx(Center, { sx: { borderRadius: 4, padding: 2, background: theme.bg.navIconsBg }, children: pageItem.pageIcon ? /* @__PURE__ */ jsx(pageItem.pageIcon, { size: 18 }) : /* @__PURE__ */ jsx(Globe, { size: 18 }) }),
|
|
2639
|
-
/* @__PURE__ */ jsx(Text$1, { lh: 1, c: theme.text.overPicture, children: pageItem.pageTitle || "Unknown" })
|
|
2639
|
+
/* @__PURE__ */ jsx(AppShell.Navbar, { children: /* @__PURE__ */ jsxs(Box, { sx: { position: "relative", height: "100%" }, children: [
|
|
2640
|
+
/* @__PURE__ */ jsx(
|
|
2641
|
+
Box,
|
|
2642
|
+
{
|
|
2643
|
+
w: 4,
|
|
2644
|
+
top: 0,
|
|
2645
|
+
right: 0,
|
|
2646
|
+
h: "100%",
|
|
2647
|
+
pos: "absolute",
|
|
2648
|
+
bg: isNavbarResizing ? theme.colors.focus : "transparent",
|
|
2649
|
+
sx: {
|
|
2650
|
+
zIndex: 2,
|
|
2651
|
+
cursor: "col-resize",
|
|
2652
|
+
transition: "background-color 0.2s ease"
|
|
2653
|
+
},
|
|
2654
|
+
onMouseDown: handleNavbarMouseDown
|
|
2655
|
+
}
|
|
2656
|
+
),
|
|
2657
|
+
/* @__PURE__ */ jsxs(Flex, { style: { height: "100%" }, children: [
|
|
2658
|
+
/* @__PURE__ */ jsxs(Stack$1, { p: 8, w: 56, justify: "space-between", h: "100%", bg: theme.bg.navSpaces, children: [
|
|
2659
|
+
/* @__PURE__ */ jsxs(Stack$1, { align: "center", style: { flex: 1 }, gap: 8, children: [
|
|
2660
|
+
/* @__PURE__ */ jsxs(Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", h: 40, w: 40, onClick: companyIcon.onClick, children: [
|
|
2661
|
+
typeof companyIcon.icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: companyIcon.icon, w: 32, h: 32 }) : companyIcon.icon,
|
|
2662
|
+
companyIcon.isSelected && /* @__PURE__ */ jsx(SelectedIndicator, {})
|
|
2640
2663
|
] }),
|
|
2641
|
-
|
|
2642
|
-
|
|
2664
|
+
avatarIcon && /* @__PURE__ */ jsxs(Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: avatarIcon.onClick, children: [
|
|
2665
|
+
/* @__PURE__ */ jsx(Tooltip$4, { label: "Home", position: "right", withArrow: true, ml: 5, fz: 12, children: typeof avatarIcon.icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: avatarIcon.icon, w: 32, h: 32 }) : avatarIcon.icon }),
|
|
2666
|
+
avatarIcon.isSelected && /* @__PURE__ */ jsx(SelectedIndicator, {})
|
|
2667
|
+
] }),
|
|
2668
|
+
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2669
|
+
temporarySpace && !spaces?.some((space) => space.id === temporarySpace.id) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2670
|
+
/* @__PURE__ */ jsx(
|
|
2671
|
+
SpaceItem,
|
|
2672
|
+
{
|
|
2673
|
+
selectedSpace,
|
|
2674
|
+
icon: temporarySpace.icon,
|
|
2675
|
+
name: temporarySpace.name,
|
|
2676
|
+
id: temporarySpace.id,
|
|
2677
|
+
onClick: temporarySpace.onClick
|
|
2678
|
+
},
|
|
2679
|
+
temporarySpace.id
|
|
2680
|
+
),
|
|
2681
|
+
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 })
|
|
2682
|
+
] }),
|
|
2683
|
+
/* @__PURE__ */ jsx(
|
|
2684
|
+
Stack$1,
|
|
2643
2685
|
{
|
|
2686
|
+
align: "center",
|
|
2687
|
+
gap: 8,
|
|
2688
|
+
style: {
|
|
2689
|
+
flex: 1,
|
|
2690
|
+
overflowY: "auto",
|
|
2691
|
+
maxHeight: "calc(100vh - 300px)",
|
|
2692
|
+
scrollbarWidth: "none",
|
|
2693
|
+
msOverflowStyle: "none"
|
|
2694
|
+
},
|
|
2644
2695
|
sx: {
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
transition: "background 0.15s",
|
|
2648
|
-
background: theme.neutral.transparent10,
|
|
2649
|
-
"&:hover": {
|
|
2650
|
-
background: theme.neutral.transparent30
|
|
2696
|
+
"&::-webkit-scrollbar": {
|
|
2697
|
+
display: "none"
|
|
2651
2698
|
}
|
|
2652
2699
|
},
|
|
2653
|
-
|
|
2654
|
-
onClick: onAiOpen,
|
|
2655
|
-
children: /* @__PURE__ */ jsx(Assistant, { size: 18, color: "primary" })
|
|
2700
|
+
children: spaces.map(({ icon, id, name, onClick }) => /* @__PURE__ */ jsx(SpaceItem, { selectedSpace, icon, name, id, onClick }, id))
|
|
2656
2701
|
}
|
|
2657
2702
|
)
|
|
2658
2703
|
] }),
|
|
2659
|
-
|
|
2660
|
-
|
|
2704
|
+
onAddSpaceClick && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onAddSpaceClick, children: /* @__PURE__ */ jsx(PlusSolid, { color: "secondary" }) }),
|
|
2705
|
+
onMinusSpaceClick && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onMinusSpaceClick, children: /* @__PURE__ */ jsx(MinusCircleSolid, { color: "secondary" }) }),
|
|
2706
|
+
/* @__PURE__ */ jsxs(Stack$1, { align: "center", gap: 8, children: [
|
|
2707
|
+
/* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
|
|
2708
|
+
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsx(SettingsBarSolid, { size: 22, color: "secondary" }) })
|
|
2709
|
+
] })
|
|
2661
2710
|
] }),
|
|
2662
|
-
|
|
2711
|
+
isAiOpened && isNavbarNotCollapsed && aiNavbarContent,
|
|
2712
|
+
isNavbarNotCollapsed && !isAiOpened && /* @__PURE__ */ jsxs(Stack$1, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
|
|
2713
|
+
/* @__PURE__ */ jsxs(Stack$1, { gap: 5, children: [
|
|
2714
|
+
/* @__PURE__ */ jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
|
|
2715
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: "10px", children: [
|
|
2716
|
+
isBackButtonVisible ? /* @__PURE__ */ jsx(Center, { onClick: onBackClick, sx: { borderRadius: 4, cursor: "pointer", padding: 2, background: theme.bg.navIconsBg }, children: /* @__PURE__ */ jsx(ArrowLeftSolid, { size: 18 }) }) : /* @__PURE__ */ jsx(Center, { sx: { borderRadius: 4, padding: 2, background: theme.bg.navIconsBg }, children: pageItem.pageIcon ? /* @__PURE__ */ jsx(pageItem.pageIcon, { size: 18 }) : /* @__PURE__ */ jsx(Globe, { size: 18 }) }),
|
|
2717
|
+
/* @__PURE__ */ jsx(Text$1, { lh: 1, c: theme.text.overPicture, children: pageItem.pageTitle || "Unknown" })
|
|
2718
|
+
] }),
|
|
2719
|
+
isAiBtnVisible && !isAiOpened && /* @__PURE__ */ jsx(
|
|
2720
|
+
Center,
|
|
2721
|
+
{
|
|
2722
|
+
sx: {
|
|
2723
|
+
cursor: "pointer",
|
|
2724
|
+
borderRadius: 8,
|
|
2725
|
+
transition: "background 0.15s",
|
|
2726
|
+
background: theme.neutral.transparent10,
|
|
2727
|
+
"&:hover": {
|
|
2728
|
+
background: theme.neutral.transparent30
|
|
2729
|
+
}
|
|
2730
|
+
},
|
|
2731
|
+
p: 4,
|
|
2732
|
+
onClick: onAiOpen,
|
|
2733
|
+
children: /* @__PURE__ */ jsx(Assistant, { size: 18, color: "primary" })
|
|
2734
|
+
}
|
|
2735
|
+
)
|
|
2736
|
+
] }),
|
|
2737
|
+
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)),
|
|
2738
|
+
roomCategories && roomCategories.length > 0 && /* @__PURE__ */ jsx(Stack$1, { gap: 8, mt: 16, children: roomCategories.map((category) => /* @__PURE__ */ jsx(RoomCategory, { category }, category.id)) })
|
|
2739
|
+
] }),
|
|
2740
|
+
/* @__PURE__ */ jsx(Stack$1, { gap: 5, children: footerContent })
|
|
2741
|
+
] })
|
|
2663
2742
|
] })
|
|
2664
2743
|
] }) }),
|
|
2665
2744
|
/* @__PURE__ */ jsx(AppShell.Main, { children }),
|
|
@@ -5684,13 +5763,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5684
5763
|
}
|
|
5685
5764
|
);
|
|
5686
5765
|
}
|
|
5687
|
-
const MainAction = lazy(() => import("./index-
|
|
5688
|
-
const Header$1 = lazy(() => import("./index-
|
|
5689
|
-
const Content = lazy(() => import("./index-
|
|
5766
|
+
const MainAction = lazy(() => import("./index-WpYDX7r4.js"));
|
|
5767
|
+
const Header$1 = lazy(() => import("./index-Dw-UB8QG.js"));
|
|
5768
|
+
const Content = lazy(() => import("./index-B91AEI-O.js"));
|
|
5690
5769
|
const Map = lazy(() => import("./index-D5Ufmf-s.js"));
|
|
5691
5770
|
const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
|
|
5692
|
-
const Assets = lazy(() => import("./index-
|
|
5693
|
-
const Actions = lazy(() => import("./index-
|
|
5771
|
+
const Assets = lazy(() => import("./index-Cd9_EsL3.js"));
|
|
5772
|
+
const Actions = lazy(() => import("./index-DiC6w4Dz.js"));
|
|
5694
5773
|
const HOVER_BORDER_WIDTH = 1;
|
|
5695
5774
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5696
5775
|
const wrapperRef = useRef(null);
|
|
@@ -11005,4 +11084,4 @@ export {
|
|
|
11005
11084
|
CardHero as y,
|
|
11006
11085
|
CardSelector as z
|
|
11007
11086
|
};
|
|
11008
|
-
//# sourceMappingURL=components-
|
|
11087
|
+
//# sourceMappingURL=components-Bbc5HijA.js.map
|