@powerhousedao/connect 1.0.4-dev.0 → 1.0.4-dev.1
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/assets/{app-CYjeY4R-.css → app-CcH3qGge.css} +100 -10
- package/dist/assets/{app-DRGUnpgP.js → app-CrkKw3iM.js} +12 -10
- package/dist/assets/{app-loader-DC8DXqh9.css → app-loader-DGByWxSG.css} +36 -4
- package/dist/assets/{app-loader-q6UCPwaf.js → app-loader-UcJ4Us8H.js} +238 -119
- package/dist/assets/{ccip-BMVv2Emt.js → ccip-By_pxEiI.js} +3 -3
- package/dist/assets/{content-CVGL3ZO5.js → content-Cztr255I.js} +3 -3
- package/dist/assets/{index-CR5B5rEB.js → index-CIzDiBJQ.js} +4 -4
- package/dist/assets/{index-BsB1NVuP.js → index-DL-uHasR.js} +3 -3
- package/dist/assets/{index-Bn8-eDIz.js → index-vxDIqVse.js} +3 -3
- package/dist/assets/{main.DL5ahUYG.js → main.b7W0Jdwz.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-6MBHOHAA.js → chunk-4GNNWOQN.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-UDKYG6I4.js → chunk-AEE452AO.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-IC6B3767.js → chunk-N7NRLUYA.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-OYYVE7RP.js → chunk-Q5MVFG2N.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-N5UNGAA6.js → chunk-ZZIQ3KGW.js} +229 -110
- package/dist/modules/@powerhousedao/reactor-browser/context/index.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/context/read-mode.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActions.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/index.js +5 -5
- package/dist/modules/@powerhousedao/reactor-browser/reactor.js +2 -2
- package/dist/vite-envs.sh +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,55 @@
|
|
|
1
|
-
/*! tailwindcss v4.
|
|
1
|
+
/*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer theme, base, components, utilities;
|
|
3
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
4
|
+
@layer base {
|
|
5
|
+
*, ::before, ::after, ::backdrop {
|
|
6
|
+
--tw-rotate-x: rotateX(0);
|
|
7
|
+
--tw-rotate-y: rotateY(0);
|
|
8
|
+
--tw-rotate-z: rotateZ(0);
|
|
9
|
+
--tw-skew-x: skewX(0);
|
|
10
|
+
--tw-skew-y: skewY(0);
|
|
11
|
+
--tw-border-style: solid;
|
|
12
|
+
--tw-font-weight: initial;
|
|
13
|
+
--tw-translate-x: 0;
|
|
14
|
+
--tw-translate-y: 0;
|
|
15
|
+
--tw-translate-z: 0;
|
|
16
|
+
--tw-scale-x: 1;
|
|
17
|
+
--tw-scale-y: 1;
|
|
18
|
+
--tw-scale-z: 1;
|
|
19
|
+
--tw-space-y-reverse: 0;
|
|
20
|
+
--tw-space-x-reverse: 0;
|
|
21
|
+
--tw-divide-y-reverse: 0;
|
|
22
|
+
--tw-leading: initial;
|
|
23
|
+
--tw-tracking: initial;
|
|
24
|
+
--tw-shadow: 0 0 #0000;
|
|
25
|
+
--tw-shadow-color: initial;
|
|
26
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
27
|
+
--tw-inset-shadow-color: initial;
|
|
28
|
+
--tw-ring-color: initial;
|
|
29
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
30
|
+
--tw-inset-ring-color: initial;
|
|
31
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
32
|
+
--tw-ring-inset: initial;
|
|
33
|
+
--tw-ring-offset-width: 0px;
|
|
34
|
+
--tw-ring-offset-color: #fff;
|
|
35
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
36
|
+
--tw-outline-style: solid;
|
|
37
|
+
--tw-blur: initial;
|
|
38
|
+
--tw-brightness: initial;
|
|
39
|
+
--tw-contrast: initial;
|
|
40
|
+
--tw-grayscale: initial;
|
|
41
|
+
--tw-hue-rotate: initial;
|
|
42
|
+
--tw-invert: initial;
|
|
43
|
+
--tw-opacity: initial;
|
|
44
|
+
--tw-saturate: initial;
|
|
45
|
+
--tw-sepia: initial;
|
|
46
|
+
--tw-drop-shadow: initial;
|
|
47
|
+
--tw-duration: initial;
|
|
48
|
+
--tw-ease: initial;
|
|
49
|
+
--tw-content: "";
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
3
53
|
@layer theme {
|
|
4
54
|
:root, :host {
|
|
5
55
|
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
@@ -238,6 +288,9 @@
|
|
|
238
288
|
.collapse {
|
|
239
289
|
visibility: collapse;
|
|
240
290
|
}
|
|
291
|
+
.visible {
|
|
292
|
+
visibility: visible;
|
|
293
|
+
}
|
|
241
294
|
.absolute {
|
|
242
295
|
position: absolute;
|
|
243
296
|
}
|
|
@@ -283,6 +336,9 @@
|
|
|
283
336
|
.mb-8 {
|
|
284
337
|
margin-bottom: calc(var(--spacing) * 8);
|
|
285
338
|
}
|
|
339
|
+
.contents {
|
|
340
|
+
display: contents;
|
|
341
|
+
}
|
|
286
342
|
.flex {
|
|
287
343
|
display: flex;
|
|
288
344
|
}
|
|
@@ -2021,6 +2077,9 @@
|
|
|
2021
2077
|
.min-w-72 {
|
|
2022
2078
|
min-width: calc(var(--spacing) * 72);
|
|
2023
2079
|
}
|
|
2080
|
+
.min-w-\[40px\] {
|
|
2081
|
+
min-width: 40px;
|
|
2082
|
+
}
|
|
2024
2083
|
.min-w-\[142px\] {
|
|
2025
2084
|
min-width: 142px;
|
|
2026
2085
|
}
|
|
@@ -2469,9 +2528,21 @@
|
|
|
2469
2528
|
.border-white {
|
|
2470
2529
|
border-color: var(--color-white);
|
|
2471
2530
|
}
|
|
2531
|
+
.border-t-blue-900 {
|
|
2532
|
+
border-top-color: var(--color-blue-900);
|
|
2533
|
+
}
|
|
2534
|
+
.border-t-transparent {
|
|
2535
|
+
border-top-color: transparent;
|
|
2536
|
+
}
|
|
2537
|
+
.border-b-blue-900 {
|
|
2538
|
+
border-bottom-color: var(--color-blue-900);
|
|
2539
|
+
}
|
|
2472
2540
|
.border-b-gray-300 {
|
|
2473
2541
|
border-bottom-color: var(--color-gray-300);
|
|
2474
2542
|
}
|
|
2543
|
+
.border-b-transparent {
|
|
2544
|
+
border-bottom-color: transparent;
|
|
2545
|
+
}
|
|
2475
2546
|
.bg-\[\#FCFCFC\] {
|
|
2476
2547
|
background-color: #FCFCFC;
|
|
2477
2548
|
}
|
|
@@ -2526,6 +2597,9 @@
|
|
|
2526
2597
|
.bg-green-500 {
|
|
2527
2598
|
background-color: var(--color-green-500);
|
|
2528
2599
|
}
|
|
2600
|
+
.bg-green-900 {
|
|
2601
|
+
background-color: var(--color-green-900);
|
|
2602
|
+
}
|
|
2529
2603
|
.bg-inherit {
|
|
2530
2604
|
background-color: inherit;
|
|
2531
2605
|
}
|
|
@@ -2548,7 +2622,10 @@
|
|
|
2548
2622
|
background-color: var(--color-slate-100);
|
|
2549
2623
|
}
|
|
2550
2624
|
.bg-slate-900\/50 {
|
|
2551
|
-
background-color: color-mix(in
|
|
2625
|
+
background-color: color-mix(in srgb, oklch(0.208 0.042 265.755) 50%, transparent);
|
|
2626
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2627
|
+
background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);
|
|
2628
|
+
}
|
|
2552
2629
|
}
|
|
2553
2630
|
.bg-transparent {
|
|
2554
2631
|
background-color: transparent;
|
|
@@ -3060,7 +3137,10 @@
|
|
|
3060
3137
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3061
3138
|
}
|
|
3062
3139
|
.shadow-black\/\[\.04\] {
|
|
3063
|
-
--tw-shadow-color: color-mix(in
|
|
3140
|
+
--tw-shadow-color: color-mix(in srgb, #000 4%, transparent);
|
|
3141
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3142
|
+
--tw-shadow-color: color-mix(in oklab, var(--color-black) 4%, transparent);
|
|
3143
|
+
}
|
|
3064
3144
|
}
|
|
3065
3145
|
.ring-gray-900 {
|
|
3066
3146
|
--tw-ring-color: var(--color-gray-900);
|
|
@@ -3765,6 +3845,13 @@
|
|
|
3765
3845
|
}
|
|
3766
3846
|
}
|
|
3767
3847
|
}
|
|
3848
|
+
.hover\:bg-blue-100 {
|
|
3849
|
+
&:hover {
|
|
3850
|
+
@media (hover: hover) {
|
|
3851
|
+
background-color: var(--color-blue-100);
|
|
3852
|
+
}
|
|
3853
|
+
}
|
|
3854
|
+
}
|
|
3768
3855
|
.hover\:bg-gray-50 {
|
|
3769
3856
|
&:hover {
|
|
3770
3857
|
@media (hover: hover) {
|
|
@@ -3926,13 +4013,6 @@
|
|
|
3926
4013
|
}
|
|
3927
4014
|
}
|
|
3928
4015
|
}
|
|
3929
|
-
.hover\:text-white {
|
|
3930
|
-
&:hover {
|
|
3931
|
-
@media (hover: hover) {
|
|
3932
|
-
color: var(--color-white);
|
|
3933
|
-
}
|
|
3934
|
-
}
|
|
3935
|
-
}
|
|
3936
4016
|
.hover\:underline {
|
|
3937
4017
|
&:hover {
|
|
3938
4018
|
@media (hover: hover) {
|
|
@@ -4222,6 +4302,16 @@
|
|
|
4222
4302
|
opacity: 100%;
|
|
4223
4303
|
}
|
|
4224
4304
|
}
|
|
4305
|
+
.aria-selected\:\!bg-gray-900 {
|
|
4306
|
+
&[aria-selected="true"] {
|
|
4307
|
+
background-color: var(--color-gray-900) !important;
|
|
4308
|
+
}
|
|
4309
|
+
}
|
|
4310
|
+
.aria-selected\:\!text-white {
|
|
4311
|
+
&[aria-selected="true"] {
|
|
4312
|
+
color: var(--color-white) !important;
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4225
4315
|
.aria-selected\:opacity-30 {
|
|
4226
4316
|
&[aria-selected="true"] {
|
|
4227
4317
|
opacity: 30%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-By_pxEiI.js","assets/main.b7W0Jdwz.js","assets/app-loader-UcJ4Us8H.js","assets/app-loader-DGByWxSG.css","assets/index-vxDIqVse.js","assets/style-Ce3V83BE.css","assets/index-CIzDiBJQ.js","assets/content-Cztr255I.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __typeError = (msg) => {
|
|
4
4
|
throw TypeError(msg);
|
|
@@ -19,9 +19,9 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _Query_instances, dispatch_fn, _d, _queries, _e2, _observers, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _scopes, _mutationId, _g, _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client2, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _i;
|
|
22
|
-
import { _ as __vitePreload } from "./main.
|
|
22
|
+
import { _ as __vitePreload } from "./main.b7W0Jdwz.js";
|
|
23
23
|
import { jsx as jsx$1, Fragment, jsxs } from "react/jsx-runtime";
|
|
24
|
-
import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-
|
|
24
|
+
import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-UcJ4Us8H.js";
|
|
25
25
|
import * as React from "react";
|
|
26
26
|
import React__default, { useLayoutEffect, useEffect, useState, forwardRef, useRef, useCallback, useContext, useMemo, createContext, Component, Fragment as Fragment$1, createElement, useSyncExternalStore, useId as useId$1, isValidElement, cloneElement, Children, useReducer, useDebugValue, Suspense } from "react";
|
|
27
27
|
import "@powerhousedao/reactor-browser";
|
|
@@ -20574,7 +20574,7 @@ async function call(client2, args) {
|
|
|
20574
20574
|
} catch (err) {
|
|
20575
20575
|
const data2 = getRevertErrorData(err);
|
|
20576
20576
|
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
|
|
20577
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
20577
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-By_pxEiI.js");
|
|
20578
20578
|
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
|
|
20579
20579
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
20580
20580
|
if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
|
|
@@ -33841,7 +33841,7 @@ const ReloadButton = ({ isLoadingSelectedOption, handleFetchSelectedOption, isFe
|
|
|
33841
33841
|
}, className: cn("mt-0.5 focus-visible:outline-none", "disabled:pointer-events-none [&_svg]:pointer-events-none"), "aria-label": isLoadingSelectedOption ? "Loading" : isFetchSelectedOptionSync ? "Success" : "Reload", children: jsx$1(Icon, { name: isFetchSelectedOptionSync ? "Checkmark" : "Reload", size: 16, className: cn("text-gray-500 dark:text-gray-600", isLoadingSelectedOption && "animate-spin", isFetchSelectedOptionSync && "animate-in fade-in duration-500") }) }) });
|
|
33842
33842
|
const IdAutocompleteListOption = ({ variant = "withValue", icon, title = "Title not available", path = "Path not available", value, description = "Description not available", asPlaceholder, showValue = true, isLoadingSelectedOption, handleFetchSelectedOption, isFetchSelectedOptionSync, className, placeholderIcon = "PowerhouseLogoSmall", ...extraProps }) => {
|
|
33843
33843
|
const renderWithValue = () => jsx$1("div", { className: cn("flex w-full items-center"), children: jsx$1("span", { className: cn("truncate text-xs leading-5", asPlaceholder ? "text-gray-400 dark:text-gray-700" : "text-gray-500 dark:text-gray-600"), children: value }) });
|
|
33844
|
-
const renderWithValueTitleAndDescription = (showDescription = true) => jsxs("div", { className: cn("flex w-full flex-col gap-1"), children: [jsxs("div", { className: cn("flex gap-2"), children: [jsx$1(IconRenderer, { customIcon: asPlaceholder ? placeholderIcon : icon, asPlaceholder }), jsxs("div", { className: cn("flex min-w-0 grow flex-col gap-[-2px]"), children: [jsx$1("span", { className: cn("truncate text-sm font-bold leading-5", asPlaceholder ? "text-gray-400 dark:text-gray-700" : "text-gray-900 dark:text-gray-300"), children: title }), !showValue && typeof path === "object" ? jsx$1("a", { href: path.url, target: "_blank", rel: "noopener noreferrer", className: cn("truncate text-xs leading-5 text-
|
|
33844
|
+
const renderWithValueTitleAndDescription = (showDescription = true) => jsxs("div", { className: cn("flex w-full flex-col gap-1"), children: [jsxs("div", { className: cn("flex gap-2"), children: [jsx$1(IconRenderer, { customIcon: asPlaceholder ? placeholderIcon : icon, asPlaceholder }), jsxs("div", { className: cn("flex min-w-0 grow flex-col gap-[-2px]"), children: [jsx$1("span", { className: cn("truncate text-sm font-bold leading-5", asPlaceholder ? "text-gray-400 dark:text-gray-700" : "text-gray-900 dark:text-gray-300"), children: title }), !showValue && typeof path === "object" ? jsx$1("a", { href: path.url, target: "_blank", rel: "noopener noreferrer", className: cn("truncate text-xs leading-5 text-blue-900 hover:underline"), children: path.text }) : jsx$1("span", { className: cn("truncate text-xs leading-5", asPlaceholder ? "text-gray-400 dark:text-gray-700" : "text-gray-500 dark:text-gray-600"), children: typeof path === "object" ? path.text : path })] }), asPlaceholder === false && handleFetchSelectedOption && jsx$1(ReloadButton, { isLoadingSelectedOption, handleFetchSelectedOption, isFetchSelectedOptionSync, value })] }), showValue && jsx$1("div", { className: cn("flex max-w-full items-center"), children: jsx$1("span", { className: cn("truncate text-xs leading-5", asPlaceholder ? "text-gray-400 dark:text-gray-700" : "text-gray-500 dark:text-gray-600"), children: value }) }), showDescription && jsx$1("div", { className: cn("flex flex-col"), children: jsx$1("p", { className: cn("line-clamp-2 text-xs leading-5", asPlaceholder ? "text-gray-400 dark:text-gray-700" : "text-gray-900 dark:text-gray-300"), children: description }) }), showDescription && "agentType" in extraProps && typeof extraProps.agentType === "string" && jsx$1("div", { className: cn("flex max-w-full items-center justify-end"), children: jsx$1("span", { className: cn("truncate text-xs leading-5", asPlaceholder ? "text-gray-400 dark:text-gray-700" : "text-gray-500 dark:text-gray-600"), children: extraProps.agentType }) })] });
|
|
33845
33845
|
return jsxs("div", { className: cn("max-w-full rounded-md bg-transparent px-3 pb-2", variant === "withValue" ? "pt-2" : "pt-3", className), children: [variant === "withValue" && renderWithValue(), variant === "withValueAndTitle" && renderWithValueTitleAndDescription(false), variant === "withValueTitleAndDescription" && renderWithValueTitleAndDescription()] });
|
|
33846
33846
|
};
|
|
33847
33847
|
var [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [
|
|
@@ -71667,7 +71667,7 @@ const useFilteredDocumentModels = () => {
|
|
|
71667
71667
|
return filteredDocumentModels;
|
|
71668
71668
|
};
|
|
71669
71669
|
async function loadBaseEditors() {
|
|
71670
|
-
const documentModelEditor = await __vitePreload(() => import("./index-
|
|
71670
|
+
const documentModelEditor = await __vitePreload(() => import("./index-vxDIqVse.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
71671
71671
|
await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
|
|
71672
71672
|
const module = documentModelEditor.documentModelEditorModule;
|
|
71673
71673
|
return [module];
|
|
@@ -71818,11 +71818,11 @@ const connectCrypto = (async () => {
|
|
|
71818
71818
|
return window.connectCrypto;
|
|
71819
71819
|
}
|
|
71820
71820
|
const { ConnectCrypto } = await __vitePreload(async () => {
|
|
71821
|
-
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-
|
|
71821
|
+
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-CIzDiBJQ.js");
|
|
71822
71822
|
return { ConnectCrypto: ConnectCrypto2 };
|
|
71823
71823
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71824
71824
|
const { BrowserKeyStorage } = await __vitePreload(async () => {
|
|
71825
|
-
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-
|
|
71825
|
+
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-CIzDiBJQ.js");
|
|
71826
71826
|
return { BrowserKeyStorage: BrowserKeyStorage2 };
|
|
71827
71827
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71828
71828
|
const connectCrypto2 = new ConnectCrypto(new BrowserKeyStorage());
|
|
@@ -71871,7 +71871,7 @@ function useRenown() {
|
|
|
71871
71871
|
return;
|
|
71872
71872
|
}
|
|
71873
71873
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
71874
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-
|
|
71874
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-CIzDiBJQ.js");
|
|
71875
71875
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
71876
71876
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71877
71877
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -72748,6 +72748,8 @@ function useDocumentDriveServer() {
|
|
|
72748
72748
|
throw new Error(`Listener couldn't be registered: ${error}`);
|
|
72749
72749
|
}
|
|
72750
72750
|
return {
|
|
72751
|
+
driveId,
|
|
72752
|
+
filter: listener.filter,
|
|
72751
72753
|
data: {
|
|
72752
72754
|
interval: `${options2.pullInterval}` || "1000",
|
|
72753
72755
|
listenerId: uuid,
|
|
@@ -80201,7 +80203,7 @@ function Home() {
|
|
|
80201
80203
|
/* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
|
|
80202
80204
|
] });
|
|
80203
80205
|
}
|
|
80204
|
-
const Content = React__default.lazy(() => __vitePreload(() => import("./content-
|
|
80206
|
+
const Content = React__default.lazy(() => __vitePreload(() => import("./content-Cztr255I.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
|
|
80205
80207
|
async function createRouter(routes) {
|
|
80206
80208
|
var _a2;
|
|
80207
80209
|
const isPackaged = await ((_a2 = window.electronAPI) == null ? void 0 : _a2.isPackaged());
|
|
@@ -1861,6 +1861,10 @@
|
|
|
1861
1861
|
min-width: calc(var(--spacing) * 72);
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
1864
|
+
.min-w-\[40px\] {
|
|
1865
|
+
min-width: 40px;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1864
1868
|
.min-w-\[142px\] {
|
|
1865
1869
|
min-width: 142px;
|
|
1866
1870
|
}
|
|
@@ -2315,10 +2319,26 @@
|
|
|
2315
2319
|
border-color: var(--color-white);
|
|
2316
2320
|
}
|
|
2317
2321
|
|
|
2322
|
+
.border-t-blue-900 {
|
|
2323
|
+
border-top-color: var(--color-blue-900);
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
.border-t-transparent {
|
|
2327
|
+
border-top-color: #0000;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
.border-b-blue-900 {
|
|
2331
|
+
border-bottom-color: var(--color-blue-900);
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2318
2334
|
.border-b-gray-300 {
|
|
2319
2335
|
border-bottom-color: var(--color-gray-300);
|
|
2320
2336
|
}
|
|
2321
2337
|
|
|
2338
|
+
.border-b-transparent {
|
|
2339
|
+
border-bottom-color: #0000;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2322
2342
|
.bg-\[\#FCFCFC\] {
|
|
2323
2343
|
background-color: #fcfcfc;
|
|
2324
2344
|
}
|
|
@@ -2375,6 +2395,10 @@
|
|
|
2375
2395
|
background-color: var(--color-green-500);
|
|
2376
2396
|
}
|
|
2377
2397
|
|
|
2398
|
+
.bg-green-900 {
|
|
2399
|
+
background-color: var(--color-green-900);
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2378
2402
|
.bg-inherit {
|
|
2379
2403
|
background-color: inherit;
|
|
2380
2404
|
}
|
|
@@ -3481,6 +3505,10 @@
|
|
|
3481
3505
|
background-color: #0000 !important;
|
|
3482
3506
|
}
|
|
3483
3507
|
|
|
3508
|
+
.hover\:bg-blue-100:hover {
|
|
3509
|
+
background-color: var(--color-blue-100);
|
|
3510
|
+
}
|
|
3511
|
+
|
|
3484
3512
|
.hover\:bg-gray-50:hover {
|
|
3485
3513
|
background-color: var(--color-gray-50);
|
|
3486
3514
|
}
|
|
@@ -3573,10 +3601,6 @@
|
|
|
3573
3601
|
color: var(--color-slate-200);
|
|
3574
3602
|
}
|
|
3575
3603
|
|
|
3576
|
-
.hover\:text-white:hover {
|
|
3577
|
-
color: var(--color-white);
|
|
3578
|
-
}
|
|
3579
|
-
|
|
3580
3604
|
.hover\:underline:hover {
|
|
3581
3605
|
text-decoration-line: underline;
|
|
3582
3606
|
}
|
|
@@ -3797,6 +3821,14 @@
|
|
|
3797
3821
|
opacity: 1;
|
|
3798
3822
|
}
|
|
3799
3823
|
|
|
3824
|
+
.aria-selected\:\!bg-gray-900[aria-selected="true"] {
|
|
3825
|
+
background-color: var(--color-gray-900) !important;
|
|
3826
|
+
}
|
|
3827
|
+
|
|
3828
|
+
.aria-selected\:\!text-white[aria-selected="true"] {
|
|
3829
|
+
color: var(--color-white) !important;
|
|
3830
|
+
}
|
|
3831
|
+
|
|
3800
3832
|
.aria-selected\:opacity-30[aria-selected="true"] {
|
|
3801
3833
|
opacity: .3;
|
|
3802
3834
|
}
|