@ixo/ui 0.1.1 → 0.1.2
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 +31 -31
- package/dist/components/AIChatToolbar/index.d.ts.map +1 -1
- package/dist/components/AppShellNavigation/components/MobileBurger.d.ts +13 -0
- package/dist/components/AppShellNavigation/components/MobileBurger.d.ts.map +1 -0
- package/dist/components/AppShellNavigation/index.d.ts.map +1 -1
- package/dist/{components-Du4fpG-7.js → components-DU5waziW.js} +122 -84
- package/dist/components-DU5waziW.js.map +1 -0
- package/dist/{components-kyZV4xKe.cjs → components-DmNQnT1T.cjs} +120 -82
- package/dist/components-DmNQnT1T.cjs.map +1 -0
- package/dist/constants/mantineTheme.d.ts.map +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-W8LiSKfV.cjs → index-1Tkzfew0.cjs} +2 -2
- package/dist/{index-W8LiSKfV.cjs.map → index-1Tkzfew0.cjs.map} +1 -1
- package/dist/{index-ovSIwiD8.cjs → index-BZeVHJgv.cjs} +2 -2
- package/dist/{index-ovSIwiD8.cjs.map → index-BZeVHJgv.cjs.map} +1 -1
- package/dist/{index-B6tC0CJf.js → index-BgZLJbJW.js} +2 -2
- package/dist/{index-B6tC0CJf.js.map → index-BgZLJbJW.js.map} +1 -1
- package/dist/{index-BUqAh_QT.cjs → index-BmvOflos.cjs} +3 -3
- package/dist/{index-BUqAh_QT.cjs.map → index-BmvOflos.cjs.map} +1 -1
- package/dist/{index-CghhpKGt.cjs → index-BrKy3nSz.cjs} +2 -2
- package/dist/{index-CghhpKGt.cjs.map → index-BrKy3nSz.cjs.map} +1 -1
- package/dist/{index-3vUUcEku.js → index-By1i1uLU.js} +2 -2
- package/dist/{index-3vUUcEku.js.map → index-By1i1uLU.js.map} +1 -1
- package/dist/{index-BqhR9ZZk.cjs → index-C7R4oqBT.cjs} +2 -2
- package/dist/{index-BqhR9ZZk.cjs.map → index-C7R4oqBT.cjs.map} +1 -1
- package/dist/{index-wbesxk1o.cjs → index-CxphVeLF.cjs} +2 -2
- package/dist/{index-wbesxk1o.cjs.map → index-CxphVeLF.cjs.map} +1 -1
- package/dist/{index-yfwH6dmJ.js → index-D0yj6C11.js} +2 -2
- package/dist/{index-yfwH6dmJ.js.map → index-D0yj6C11.js.map} +1 -1
- package/dist/{index-dQrai2TZ.js → index-D7heNqqK.js} +2 -2
- package/dist/{index-dQrai2TZ.js.map → index-D7heNqqK.js.map} +1 -1
- package/dist/{index-kAjxkAWZ.cjs → index-DCwo8wx3.cjs} +3 -3
- package/dist/{index-kAjxkAWZ.cjs.map → index-DCwo8wx3.cjs.map} +1 -1
- package/dist/{index-DEb3PU0a.cjs → index-DVUI2LeU.cjs} +2 -2
- package/dist/{index-DEb3PU0a.cjs.map → index-DVUI2LeU.cjs.map} +1 -1
- package/dist/{index-B4KPNoed.js → index-DWyqNmtm.js} +2 -2
- package/dist/{index-B4KPNoed.js.map → index-DWyqNmtm.js.map} +1 -1
- package/dist/{index-xgtAVpBr.cjs → index-DgnK5qdX.cjs} +2 -2
- package/dist/{index-xgtAVpBr.cjs.map → index-DgnK5qdX.cjs.map} +1 -1
- package/dist/{index-Dq064c1o.js → index-EYDtd-NN.js} +2 -2
- package/dist/{index-Dq064c1o.js.map → index-EYDtd-NN.js.map} +1 -1
- package/dist/{index-DfQr-2hP.js → index-IuTPQRsY.js} +3 -3
- package/dist/{index-DfQr-2hP.js.map → index-IuTPQRsY.js.map} +1 -1
- package/dist/{index-BT7xEwsl.js → index-RGurwgcA.js} +2 -2
- package/dist/{index-BT7xEwsl.js.map → index-RGurwgcA.js.map} +1 -1
- package/dist/{index-nRUNkbvD.js → index-WlnEQMCk.js} +3 -3
- package/dist/{index-nRUNkbvD.js.map → index-WlnEQMCk.js.map} +1 -1
- package/dist/{index-CdvEC2KX.cjs → index-XY4B3I-N.cjs} +2 -2
- package/dist/{index-CdvEC2KX.cjs.map → index-XY4B3I-N.cjs.map} +1 -1
- package/dist/{index-BDqwxBhm.js → index-zJl481wB.js} +2 -2
- package/dist/{index-BDqwxBhm.js.map → index-zJl481wB.js.map} +1 -1
- package/package.json +1 -1
- package/dist/components-Du4fpG-7.js.map +0 -1
- package/dist/components-kyZV4xKe.cjs.map +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"_useUITheme-7i8NJ2FG.js"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"_components-
|
|
33
|
-
"file": "components-
|
|
32
|
+
"_components-DU5waziW.js": {
|
|
33
|
+
"file": "components-DU5waziW.js",
|
|
34
34
|
"name": "components",
|
|
35
35
|
"imports": [
|
|
36
36
|
"_UsersSolid-CU7U_J3x.js",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"src/components/SodaCard/components/Actions/index.tsx"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
|
-
"_components-
|
|
59
|
-
"file": "components-
|
|
58
|
+
"_components-DmNQnT1T.cjs": {
|
|
59
|
+
"file": "components-DmNQnT1T.cjs",
|
|
60
60
|
"name": "components",
|
|
61
61
|
"imports": [
|
|
62
62
|
"_UsersSolid-C29C53eo.cjs",
|
|
@@ -103,18 +103,18 @@
|
|
|
103
103
|
"_constants-B7xlU8b8.js"
|
|
104
104
|
]
|
|
105
105
|
},
|
|
106
|
-
"_index-
|
|
107
|
-
"file": "index-
|
|
106
|
+
"_index-DgnK5qdX.cjs": {
|
|
107
|
+
"file": "index-DgnK5qdX.cjs",
|
|
108
108
|
"name": "index",
|
|
109
109
|
"imports": [
|
|
110
|
-
"_components-
|
|
110
|
+
"_components-DmNQnT1T.cjs"
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
-
"_index-
|
|
114
|
-
"file": "index-
|
|
113
|
+
"_index-zJl481wB.js": {
|
|
114
|
+
"file": "index-zJl481wB.js",
|
|
115
115
|
"name": "index",
|
|
116
116
|
"imports": [
|
|
117
|
-
"_components-
|
|
117
|
+
"_components-DU5waziW.js"
|
|
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-DCwo8wx3.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-DgnK5qdX.cjs",
|
|
167
|
+
"_components-DmNQnT1T.cjs"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"src/components/ActionCard/components/Header/index.tsx": {
|
|
171
|
-
"file": "index-
|
|
171
|
+
"file": "index-XY4B3I-N.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-DmNQnT1T.cjs",
|
|
177
177
|
"_UsersSolid-C29C53eo.cjs"
|
|
178
178
|
]
|
|
179
179
|
},
|
|
180
180
|
"src/components/ActionSheet/components/Badge/index.tsx": {
|
|
181
|
-
"file": "index-
|
|
181
|
+
"file": "index-C7R4oqBT.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-DmNQnT1T.cjs"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"src/components/Card/components/Header/index.tsx": {
|
|
190
|
-
"file": "index-
|
|
190
|
+
"file": "index-BrKy3nSz.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-DmNQnT1T.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-BmvOflos.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-DgnK5qdX.cjs",
|
|
211
|
+
"_components-DmNQnT1T.cjs"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"src/components/SodaCard/components/Assets/index.tsx": {
|
|
215
|
-
"file": "index-
|
|
215
|
+
"file": "index-BZeVHJgv.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-DmNQnT1T.cjs"
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"src/components/SodaCard/components/Content/index.tsx": {
|
|
224
|
-
"file": "index-
|
|
224
|
+
"file": "index-DVUI2LeU.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-DmNQnT1T.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-1Tkzfew0.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-DmNQnT1T.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-CxphVeLF.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-DmNQnT1T.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-DmNQnT1T.cjs"
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/export/hooks.ts": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AIChatToolbar/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AIChatToolbar/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,UAAqB,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,KAAK,oDA2E9K"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
onClick: () => void;
|
|
4
|
+
isOpened: boolean;
|
|
5
|
+
avatarIcon?: {
|
|
6
|
+
icon: string | ReactElement | null;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default function MobileBurger({ avatarIcon, isOpened, onClick }: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=MobileBurger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileBurger.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/MobileBurger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,KAAK,KAAK,GAAG;IACT,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAAC;QACnC,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;KACxB,CAAC;CACL,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,KAAK,oDAe5E"}
|
|
@@ -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;AAIlG,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;AAIlG,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;AAK/D,KAAK,KAAK,GAAG;IACX,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,QAAQ,EAAE;QACR,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,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,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,aAAa,EACb,cAAc,EACd,KAAK,EACL,cAAqB,EACrB,cAAsB,EACtB,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,CA+bzC"}
|
|
@@ -4,11 +4,11 @@ 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, e as Canvas, H as HistorySolid, U as User, f as AngleLeftSolid, M as MinusCircleSolid, h as SettingsBarSolid, G as Globe, D as Dashboard, i as Groups, j as UserCircleSolid, k as Assets$1, l as Claims, m as Accounts, n as LinkedResources, o as Proposals, I as ImpactCredits, p as GoTo, q as Share, r as PiePiece, s as ImpactCertificates, t as CommentDotsSolid, u as CommentAltSolid, v as MicrophoneSolid, w as Command, x as ArrowCircleRightSolid, y as Protocols, z as Investments, O as Oracles, B as Projects, F as Daos, J as Star, K as AngleRightSolid, 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-CU7U_J3x.js";
|
|
5
5
|
import { useState, useCallback, useRef, useEffect, Suspense, lazy, forwardRef, useMemo, useId, 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, Tooltip as Tooltip$4, Divider, ScrollArea, Space } 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, CloseButton, Group, Burger, Divider, ScrollArea, Space, Overlay } from "@mantine/core";
|
|
8
8
|
import { cx, css } from "@emotion/css";
|
|
9
9
|
import { createPortal } from "react-dom";
|
|
10
10
|
import DOMPurify from "dompurify";
|
|
11
|
-
import { useResizeObserver, useHover, useDisclosure } from "@mantine/hooks";
|
|
11
|
+
import { useMediaQuery, useResizeObserver, useHover, useDisclosure } from "@mantine/hooks";
|
|
12
12
|
import { a as useLocalStorage, E as EventEmitter, u as useEventSubscribe } from "./useEventSubscribe-BuXZL79s.js";
|
|
13
13
|
import { u as useUITheme } from "./useUITheme-7i8NJ2FG.js";
|
|
14
14
|
import Markdown from "react-markdown";
|
|
@@ -775,8 +775,8 @@ function AccordionTable({
|
|
|
775
775
|
}
|
|
776
776
|
);
|
|
777
777
|
}
|
|
778
|
-
const Header$3 = lazy(() => import("./index-
|
|
779
|
-
const Footer = lazy(() => import("./index-
|
|
778
|
+
const Header$3 = lazy(() => import("./index-By1i1uLU.js"));
|
|
779
|
+
const Footer = lazy(() => import("./index-IuTPQRsY.js"));
|
|
780
780
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
781
781
|
const hasContent = !!content || !!footer;
|
|
782
782
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -860,7 +860,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
860
860
|
}
|
|
861
861
|
const CARD_WIDTH$1 = 350;
|
|
862
862
|
const CARD_HEADER_HEIGHT = 158;
|
|
863
|
-
const Header$2 = lazy(() => import("./index-
|
|
863
|
+
const Header$2 = lazy(() => import("./index-RGurwgcA.js"));
|
|
864
864
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
865
865
|
const wrapperRef = useRef(null);
|
|
866
866
|
const handleOnClick = useCallback(
|
|
@@ -1295,7 +1295,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1295
1295
|
document.body
|
|
1296
1296
|
);
|
|
1297
1297
|
}
|
|
1298
|
-
const Badge = lazy(() => import("./index-
|
|
1298
|
+
const Badge = lazy(() => import("./index-EYDtd-NN.js"));
|
|
1299
1299
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1300
1300
|
const shadowScrollRef = useRef(null);
|
|
1301
1301
|
const wrapperContentAreaRef = useRef(null);
|
|
@@ -2103,6 +2103,7 @@ function AIInputBar({ placeholder, icon, disabledInput, disabledButton, valueInp
|
|
|
2103
2103
|
);
|
|
2104
2104
|
}
|
|
2105
2105
|
function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, onCanvasCycle, isHistoryOpened, canvasMode = "hidden", oracleModel, sessionTitle }) {
|
|
2106
|
+
const isMobile = useMediaQuery("(max-width: 48em)");
|
|
2106
2107
|
const canvasActive = canvasMode !== "hidden";
|
|
2107
2108
|
return /* @__PURE__ */ jsxs(Flex, { bg: "neutralColor.4", py: 16, justify: "space-between", align: "center", children: [
|
|
2108
2109
|
/* @__PURE__ */ jsxs(Flex, { gap: 6, align: "center", children: [
|
|
@@ -2139,7 +2140,7 @@ function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, o
|
|
|
2139
2140
|
}
|
|
2140
2141
|
),
|
|
2141
2142
|
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onHistoryClick, children: /* @__PURE__ */ jsx(HistorySolid, { size: 18, color: "secondary" }) }),
|
|
2142
|
-
/* @__PURE__ */ jsx(
|
|
2143
|
+
!isMobile && /* @__PURE__ */ jsx(
|
|
2143
2144
|
Center,
|
|
2144
2145
|
{
|
|
2145
2146
|
sx: {
|
|
@@ -2583,6 +2584,15 @@ function carbonToUSD(carbon) {
|
|
|
2583
2584
|
maximumFractionDigits: 6
|
|
2584
2585
|
});
|
|
2585
2586
|
}
|
|
2587
|
+
function MobileBurger({ avatarIcon, isOpened, onClick }) {
|
|
2588
|
+
if (isOpened) {
|
|
2589
|
+
return /* @__PURE__ */ jsx(CloseButton, { hiddenFrom: "sm", pos: "absolute", w: 28, sx: { borderRadius: 8, zIndex: 100 }, h: 28, onClick, right: 12, top: 12, bg: "neutralColor.4" });
|
|
2590
|
+
}
|
|
2591
|
+
return /* @__PURE__ */ jsxs(Group, { hiddenFrom: "sm", pos: "absolute", left: 12, top: 12, onClick, p: 8, py: 4, wrap: "nowrap", w: "fit-content", gap: 6, sx: { borderRadius: 8, zIndex: 100 }, bg: "neutralColor.4", children: [
|
|
2592
|
+
avatarIcon && (typeof avatarIcon.icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 18, src: avatarIcon.icon, w: 18, h: 18 }) : avatarIcon.icon),
|
|
2593
|
+
/* @__PURE__ */ jsx(Burger, { lineSize: 2, pr: 0, size: "xs" })
|
|
2594
|
+
] });
|
|
2595
|
+
}
|
|
2586
2596
|
const CANVAS_MIN_WIDTH = 350;
|
|
2587
2597
|
const CONTENT_MIN_WIDTH = 350;
|
|
2588
2598
|
function AppShellNavigation({
|
|
@@ -2616,8 +2626,10 @@ function AppShellNavigation({
|
|
|
2616
2626
|
splitRatio = 0.4,
|
|
2617
2627
|
onSplitRatioChange
|
|
2618
2628
|
}) {
|
|
2619
|
-
const [isNavbarNotCollapsed, { toggle: toggleNavbar }] = useDisclosure(true);
|
|
2620
2629
|
const [asideWidth, setAsideWidth] = useState(450);
|
|
2630
|
+
const isMobile = useMediaQuery("(max-width: 48em)");
|
|
2631
|
+
const [mobileOpened, { toggle: toggleMobile }] = useDisclosure();
|
|
2632
|
+
const [desktopOpened, { toggle: toggleDesktop }] = useDisclosure(true);
|
|
2621
2633
|
const [isSplitResizing, setIsSplitResizing] = useState(false);
|
|
2622
2634
|
const isSplitResizingRef = useRef(false);
|
|
2623
2635
|
const mainContainerRef = useRef(null);
|
|
@@ -2753,8 +2765,9 @@ function AppShellNavigation({
|
|
|
2753
2765
|
},
|
|
2754
2766
|
bg: "neutralColor.2",
|
|
2755
2767
|
navbar: {
|
|
2756
|
-
width:
|
|
2757
|
-
breakpoint: "sm"
|
|
2768
|
+
width: navbarWidth,
|
|
2769
|
+
breakpoint: "sm",
|
|
2770
|
+
collapsed: { mobile: !mobileOpened, desktop: !desktopOpened }
|
|
2758
2771
|
},
|
|
2759
2772
|
aside: {
|
|
2760
2773
|
width: asideCollapsed ? 0 : asideWidth,
|
|
@@ -2780,7 +2793,7 @@ function AppShellNavigation({
|
|
|
2780
2793
|
}
|
|
2781
2794
|
),
|
|
2782
2795
|
/* @__PURE__ */ jsxs(Flex, { style: { height: "100%" }, children: [
|
|
2783
|
-
/* @__PURE__ */ jsxs(Stack$1, { p: 8, w: 56, justify: "space-between", h: "100%", bg: "neutralColor.2", children: [
|
|
2796
|
+
/* @__PURE__ */ jsxs(Stack$1, { p: 8, w: 56, visibleFrom: "sm", justify: "space-between", h: "100%", bg: "neutralColor.2", children: [
|
|
2784
2797
|
/* @__PURE__ */ jsxs(Stack$1, { align: "center", style: { flex: 1 }, gap: 8, children: [
|
|
2785
2798
|
/* @__PURE__ */ jsxs(Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", h: 40, w: 40, onClick: companyIcon.onClick, children: [
|
|
2786
2799
|
typeof companyIcon.icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: companyIcon.icon, w: 32, h: 32 }) : companyIcon.icon,
|
|
@@ -2830,12 +2843,12 @@ function AppShellNavigation({
|
|
|
2830
2843
|
/* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: "neutralColor.5", h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsx(SettingsBarSolid, { size: 22, color: "secondary" }) })
|
|
2831
2844
|
] })
|
|
2832
2845
|
] }),
|
|
2833
|
-
isAiOpened &&
|
|
2834
|
-
|
|
2846
|
+
isAiOpened && !isMobile && aiNavbarContent,
|
|
2847
|
+
!isAiOpened && /* @__PURE__ */ jsxs(Stack$1, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
|
|
2835
2848
|
/* @__PURE__ */ jsxs(Stack$1, { gap: 5, children: [
|
|
2836
2849
|
/* @__PURE__ */ jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
|
|
2837
2850
|
/* @__PURE__ */ jsx(Flex, { align: "center", gap: "10px", children: /* @__PURE__ */ jsx(Tooltip$4, { label: pageItem.pageTitle || "Unknown", disabled: !isTitleOverflowing, position: "bottom", withArrow: true, children: /* @__PURE__ */ jsx(Text$1, { lh: 1, c: "neutralColor.8", children: cutText(pageItem.pageTitle, 19) || "Unknown" }) }) }),
|
|
2838
|
-
isAiBtnVisible && !isAiOpened && /* @__PURE__ */ jsx(
|
|
2851
|
+
isAiBtnVisible && !isAiOpened && !isMobile && /* @__PURE__ */ jsx(
|
|
2839
2852
|
Center,
|
|
2840
2853
|
{
|
|
2841
2854
|
sx: {
|
|
@@ -2868,77 +2881,102 @@ function AppShellNavigation({
|
|
|
2868
2881
|
] })
|
|
2869
2882
|
] })
|
|
2870
2883
|
] }) }),
|
|
2871
|
-
/* @__PURE__ */
|
|
2884
|
+
/* @__PURE__ */ jsxs(
|
|
2872
2885
|
AppShell.Main,
|
|
2873
2886
|
{
|
|
2874
2887
|
style: {
|
|
2875
2888
|
display: "flex",
|
|
2876
2889
|
flexDirection: "column",
|
|
2877
2890
|
height: "100vh",
|
|
2878
|
-
overflow: "hidden"
|
|
2891
|
+
overflow: "hidden",
|
|
2892
|
+
position: "relative"
|
|
2879
2893
|
},
|
|
2880
|
-
children:
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2894
|
+
children: [
|
|
2895
|
+
mobileOpened && /* @__PURE__ */ jsx(Overlay, { hiddenFrom: "sm", color: "var(--mantine-color-neutralColor-0)", backgroundOpacity: 0.6, blur: 2, onClick: toggleMobile, zIndex: 99 }),
|
|
2896
|
+
/* @__PURE__ */ jsxs(
|
|
2897
|
+
Flex,
|
|
2898
|
+
{
|
|
2899
|
+
ref: mainContainerRef,
|
|
2900
|
+
style: {
|
|
2901
|
+
flex: 1,
|
|
2902
|
+
height: isMobile ? "calc(100% - 60px)" : "100%",
|
|
2903
|
+
overflow: "hidden",
|
|
2904
|
+
position: "relative",
|
|
2905
|
+
minHeight: 0,
|
|
2906
|
+
marginTop: isMobile && isAiOpened ? "calc(-100vh + 60px)" : 0,
|
|
2907
|
+
transition: isMobile ? "margin-top 0.5s ease" : "none"
|
|
2908
|
+
},
|
|
2909
|
+
children: [
|
|
2910
|
+
/* @__PURE__ */ jsx(
|
|
2911
|
+
Box,
|
|
2912
|
+
{
|
|
2913
|
+
bg: "neutralColor.5",
|
|
2914
|
+
style: {
|
|
2915
|
+
width: getCanvasWidth(),
|
|
2916
|
+
minWidth: shouldShowCanvas && canvasMode === "split" ? CANVAS_MIN_WIDTH : void 0,
|
|
2917
|
+
display: shouldShowCanvas ? "flex" : "none",
|
|
2918
|
+
flexDirection: "column",
|
|
2919
|
+
overflow: "hidden",
|
|
2920
|
+
height: "100%",
|
|
2921
|
+
transition: isSplitResizing ? "none" : "width 0.3s ease, opacity 0.2s ease",
|
|
2922
|
+
opacity: shouldShowCanvas ? 1 : 0,
|
|
2923
|
+
borderLeft: "1px solid var(--mantine-color-neutralColor-6)"
|
|
2924
|
+
},
|
|
2925
|
+
children: canvasContent
|
|
2926
|
+
}
|
|
2927
|
+
),
|
|
2928
|
+
canvasMode === "split" && !isRightPanelOpen && /* @__PURE__ */ jsx(
|
|
2929
|
+
Box,
|
|
2930
|
+
{
|
|
2931
|
+
w: 4,
|
|
2932
|
+
h: "100%",
|
|
2933
|
+
bg: isSplitResizing ? "accent.5" : "transparent",
|
|
2934
|
+
sx: {
|
|
2935
|
+
cursor: "col-resize",
|
|
2936
|
+
flexShrink: 0,
|
|
2937
|
+
transition: "background-color 0.2s ease"
|
|
2938
|
+
},
|
|
2939
|
+
onMouseDown: handleSplitMouseDown
|
|
2940
|
+
}
|
|
2941
|
+
),
|
|
2942
|
+
/* @__PURE__ */ jsxs(
|
|
2943
|
+
Box,
|
|
2944
|
+
{
|
|
2945
|
+
style: {
|
|
2946
|
+
width: getContentWidth(),
|
|
2947
|
+
minWidth: shouldShowContent && canvasMode === "split" ? CONTENT_MIN_WIDTH : void 0,
|
|
2948
|
+
display: shouldShowContent ? "flex" : "none",
|
|
2949
|
+
flexDirection: "column",
|
|
2950
|
+
overflow: "auto",
|
|
2951
|
+
height: "100%",
|
|
2952
|
+
transition: isSplitResizing ? "none" : "width 0.3s ease, opacity 0.2s ease",
|
|
2953
|
+
opacity: shouldShowContent ? 1 : 0
|
|
2954
|
+
},
|
|
2955
|
+
children: [
|
|
2956
|
+
/* @__PURE__ */ jsx(MobileBurger, { isOpened: mobileOpened, onClick: toggleMobile, avatarIcon }),
|
|
2957
|
+
children
|
|
2958
|
+
]
|
|
2959
|
+
}
|
|
2960
|
+
)
|
|
2961
|
+
]
|
|
2962
|
+
}
|
|
2963
|
+
),
|
|
2964
|
+
isMobile && isAiBtnVisible && /* @__PURE__ */ jsxs(
|
|
2965
|
+
Box,
|
|
2966
|
+
{
|
|
2967
|
+
bg: "neutralColor.3",
|
|
2968
|
+
pos: "relative",
|
|
2969
|
+
h: isAiOpened ? "100%" : 60,
|
|
2970
|
+
sx: {
|
|
2971
|
+
transition: "height 0.5s ease"
|
|
2972
|
+
},
|
|
2973
|
+
children: [
|
|
2974
|
+
/* @__PURE__ */ jsx(Box, { onClick: onAiOpen, pos: "absolute", left: "50%", top: 18, sx: { zIndex: 3, transform: "translateX(-50%)" }, children: /* @__PURE__ */ jsx(Assistant, {}) }),
|
|
2975
|
+
isAiOpened && aiNavbarContent
|
|
2976
|
+
]
|
|
2977
|
+
}
|
|
2978
|
+
)
|
|
2979
|
+
]
|
|
2942
2980
|
}
|
|
2943
2981
|
),
|
|
2944
2982
|
/* @__PURE__ */ jsx(
|
|
@@ -5973,13 +6011,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5973
6011
|
}
|
|
5974
6012
|
);
|
|
5975
6013
|
}
|
|
5976
|
-
const MainAction = lazy(() => import("./index-
|
|
5977
|
-
const Header$1 = lazy(() => import("./index-
|
|
5978
|
-
const Content = lazy(() => import("./index-
|
|
6014
|
+
const MainAction = lazy(() => import("./index-D0yj6C11.js"));
|
|
6015
|
+
const Header$1 = lazy(() => import("./index-DWyqNmtm.js"));
|
|
6016
|
+
const Content = lazy(() => import("./index-BgZLJbJW.js"));
|
|
5979
6017
|
const Map = lazy(() => import("./index-D5Ufmf-s.js"));
|
|
5980
6018
|
const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
|
|
5981
|
-
const Assets = lazy(() => import("./index-
|
|
5982
|
-
const Actions = lazy(() => import("./index-
|
|
6019
|
+
const Assets = lazy(() => import("./index-D7heNqqK.js"));
|
|
6020
|
+
const Actions = lazy(() => import("./index-WlnEQMCk.js"));
|
|
5983
6021
|
const HOVER_BORDER_WIDTH = 1;
|
|
5984
6022
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5985
6023
|
const wrapperRef = useRef(null);
|
|
@@ -11272,4 +11310,4 @@ export {
|
|
|
11272
11310
|
CardHero as y,
|
|
11273
11311
|
CardSelector as z
|
|
11274
11312
|
};
|
|
11275
|
-
//# sourceMappingURL=components-
|
|
11313
|
+
//# sourceMappingURL=components-DU5waziW.js.map
|