@dxos/shell 0.4.10-main.572d54f → 0.4.10-main.60c7894
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/bundle/{index-7dN1Ifht.mjs → index-B-fDERai.mjs} +48 -38
- package/dist/bundle/{index-7dN1Ifht.mjs.map → index-B-fDERai.mjs.map} +1 -1
- package/dist/bundle/{index-D9FC9Z8O.mjs → index-BS9Ckf2u.mjs} +2 -2
- package/dist/bundle/{index-D9FC9Z8O.mjs.map → index-BS9Ckf2u.mjs.map} +1 -1
- package/dist/bundle/shell.mjs +2 -3
- package/dist/bundle/shell.mjs.map +1 -1
- package/dist/bundle/shell.umd.js +6 -6
- package/dist/bundle/shell.umd.js.map +1 -1
- package/dist/bundle/style.css +1 -1
- package/dist/types/src/stories/Invitations.e2e-stories.d.ts.map +1 -1
- package/dist/types/src/stories/Invitations.e2e-stories.js +2 -2
- package/dist/types/src/stories/Invitations.e2e-stories.js.map +1 -1
- package/package.json +21 -21
- package/src/stories/Invitations.e2e-stories.tsx +3 -3
|
@@ -17852,12 +17852,13 @@ var Message$1 = {
|
|
|
17852
17852
|
className: q("scrollArea.viewport", "scroll-area", {}, $),
|
|
17853
17853
|
ref: U
|
|
17854
17854
|
});
|
|
17855
|
-
}), ScrollAreaScrollbar = /* @__PURE__ */ forwardRef(({ classNames: $,
|
|
17856
|
-
const { tx:
|
|
17855
|
+
}), ScrollAreaScrollbar = /* @__PURE__ */ forwardRef(({ classNames: $, variant: I = "fine", ...U }, q) => {
|
|
17856
|
+
const { tx: G } = useThemeContext();
|
|
17857
17857
|
return /* @__PURE__ */ React__default.createElement($57acba87d6e25586$export$9a4e88b92edfce6b, {
|
|
17858
|
-
|
|
17859
|
-
|
|
17860
|
-
|
|
17858
|
+
"data-variant": I,
|
|
17859
|
+
...U,
|
|
17860
|
+
className: G("scrollArea.scrollbar", "scroll-area__scrollbar", {}, $),
|
|
17861
|
+
ref: q
|
|
17861
17862
|
});
|
|
17862
17863
|
}), ScrollAreaThumb = /* @__PURE__ */ forwardRef(({ classNames: $, ...I }, U) => {
|
|
17863
17864
|
const { tx: q } = useThemeContext();
|
|
@@ -24377,7 +24378,7 @@ var hueTheme = {
|
|
|
24377
24378
|
text: ({ hue: $ }) => hueTokenThemes[$].text,
|
|
24378
24379
|
textHover: ({ hue: $ }) => hueTokenThemes[$].textHover,
|
|
24379
24380
|
fill: ({ hue: $ }) => hueTokenThemes[$].fill
|
|
24380
|
-
}, bounceLayout = "fixed inset-0 z-0 overflow-auto overscroll-auto
|
|
24381
|
+
}, bounceLayout = "fixed inset-0 z-0 overflow-auto overscroll-auto", popperMotion = "will-change-[opacity,transform] data-[side=top]:animate-slideDownAndFade data-[side=right]:animate-slideLeftAndFade data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade", dialogMotion = "will-change-[opacity,transform] animate-slideUpAndFade", separatorBorderColor = "separator-separator", inlineSeparator = "self-stretch border-ie", blockSeparator = "self-stretch border-be", ghostHighlighted = "data-[highlighted]:bg-primary-100 dark:data-[highlighted]:bg-primary-850 hover:data-[highlighted]:bg-primary-150 hover:dark:data-[highlighted]:bg-primary-800", fixedSurface = "base-surface md:fixed-surface backdrop-blur-md dark:backdrop-blur-lg", fixedBorder = "separator-separator", groupBorder = "separator-separator", modalSurface = "modal-surface", getLength = () => [
|
|
24381
24382
|
validators.isLength
|
|
24382
24383
|
], getLengthWithAuto = () => [
|
|
24383
24384
|
"auto",
|
|
@@ -25248,7 +25249,7 @@ var hueTheme = {
|
|
|
25248
25249
|
content: popoverContent,
|
|
25249
25250
|
viewport: popoverViewport,
|
|
25250
25251
|
arrow: popoverArrow
|
|
25251
|
-
}, scrollAreaRoot = ($, ...I) => mx("overflow-hidden", ...I), scrollAreaViewport = ($, ...I) => mx("is-full bs-full
|
|
25252
|
+
}, scrollAreaRoot = ($, ...I) => mx("overflow-hidden", ...I), scrollAreaViewport = ($, ...I) => mx("is-full bs-full [&>div]:table-fixed [&>div]:is-full", ...I), scrollAreaScrollbar = ($, ...I) => mx("flex select-none touch-none p-0.5 ease-out", "data-[orientation=vertical]:is-1.5 sm:data-[orientation=vertical]:data-[variant=coarse]:is-3", "data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:bs-1.5 sm:data-[orientation=horizontal]:data-[variant=coarse]:bs-3", "sm:data-[variant=coarse]:surface-separator rounded-full", "[&>div]:surface-unAccent sm:[&[data-variant=coarse]>div]:surface-attention", ...I), scrollAreaThumb = ($, ...I) => mx("flex-1 rounded-full relative", "before:content-[''] before:absolute before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:w-full before:h-full before:min-w-[6px] before:min-h-[6px]", ...I), scrollAreaCorner = ($, ...I) => mx(...I), scrollAreaTheme = {
|
|
25252
25253
|
root: scrollAreaRoot,
|
|
25253
25254
|
viewport: scrollAreaViewport,
|
|
25254
25255
|
scrollbar: scrollAreaScrollbar,
|
|
@@ -69501,6 +69502,16 @@ function formatDistance($, I, U) {
|
|
|
69501
69502
|
function formatDistanceToNow($, I) {
|
|
69502
69503
|
return formatDistance($, Date.now(), I);
|
|
69503
69504
|
}
|
|
69505
|
+
var RPC_TIMEOUT = 2e4, LogLevel;
|
|
69506
|
+
(function($) {
|
|
69507
|
+
$[$.TRACE = 5] = "TRACE", $[$.DEBUG = 10] = "DEBUG", $[$.INFO = 11] = "INFO", $[$.WARN = 12] = "WARN", $[$.ERROR = 13] = "ERROR";
|
|
69508
|
+
})(LogLevel || (LogLevel = {}));
|
|
69509
|
+
var QueryLogsRequest;
|
|
69510
|
+
(function($) {
|
|
69511
|
+
(function(I) {
|
|
69512
|
+
I[I.INCLUSIVE = 1] = "INCLUSIVE", I[I.EXPLICIT = 2] = "EXPLICIT";
|
|
69513
|
+
})($.MatchingOptions || ($.MatchingOptions = {}));
|
|
69514
|
+
})(QueryLogsRequest || (QueryLogsRequest = {}));
|
|
69504
69515
|
var SystemStatus;
|
|
69505
69516
|
(function($) {
|
|
69506
69517
|
$[$.ACTIVE = 0] = "ACTIVE", $[$.INACTIVE = 1] = "INACTIVE";
|
|
@@ -69546,7 +69557,7 @@ var CreateEpochRequest;
|
|
|
69546
69557
|
var Invitation;
|
|
69547
69558
|
(function($) {
|
|
69548
69559
|
(function(I) {
|
|
69549
|
-
I[I.INTERACTIVE = 0] = "INTERACTIVE", I[I.
|
|
69560
|
+
I[I.INTERACTIVE = 0] = "INTERACTIVE", I[I.DELEGATED = 1] = "DELEGATED", I[I.MULTIUSE = 2] = "MULTIUSE";
|
|
69550
69561
|
})($.Type || ($.Type = {})), function(I) {
|
|
69551
69562
|
I[I.DEVICE = 0] = "DEVICE", I[I.SPACE = 1] = "SPACE";
|
|
69552
69563
|
}($.Kind || ($.Kind = {})), function(I) {
|
|
@@ -69567,16 +69578,6 @@ var ConnectionState$2;
|
|
|
69567
69578
|
(function($) {
|
|
69568
69579
|
$[$.OFFLINE = 0] = "OFFLINE", $[$.ONLINE = 1] = "ONLINE";
|
|
69569
69580
|
})(ConnectionState$2 || (ConnectionState$2 = {}));
|
|
69570
|
-
var LogLevel;
|
|
69571
|
-
(function($) {
|
|
69572
|
-
$[$.TRACE = 5] = "TRACE", $[$.DEBUG = 10] = "DEBUG", $[$.INFO = 11] = "INFO", $[$.WARN = 12] = "WARN", $[$.ERROR = 13] = "ERROR";
|
|
69573
|
-
})(LogLevel || (LogLevel = {}));
|
|
69574
|
-
var QueryLogsRequest;
|
|
69575
|
-
(function($) {
|
|
69576
|
-
(function(I) {
|
|
69577
|
-
I[I.INCLUSIVE = 1] = "INCLUSIVE", I[I.EXPLICIT = 2] = "EXPLICIT";
|
|
69578
|
-
})($.MatchingOptions || ($.MatchingOptions = {}));
|
|
69579
|
-
})(QueryLogsRequest || (QueryLogsRequest = {}));
|
|
69580
69581
|
var ContextDisposedError = class extends Error {
|
|
69581
69582
|
constructor() {
|
|
69582
69583
|
super("Context disposed.");
|
|
@@ -88757,7 +88758,7 @@ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services
|
|
|
88757
88758
|
return this._client.rpc;
|
|
88758
88759
|
}
|
|
88759
88760
|
async open() {
|
|
88760
|
-
const { WebsocketRpcClient: $ } = await import("./index-
|
|
88761
|
+
const { WebsocketRpcClient: $ } = await import("./index-BS9Ckf2u.mjs");
|
|
88761
88762
|
this._client = new $({
|
|
88762
88763
|
url: getUnixSocket(this._profile, "ws+unix"),
|
|
88763
88764
|
requested: clientServiceBundle,
|
|
@@ -88898,12 +88899,14 @@ var IFrameManager = class {
|
|
|
88898
88899
|
var I;
|
|
88899
88900
|
log$2("set layout", $, {
|
|
88900
88901
|
F: __dxlog_file3,
|
|
88901
|
-
L:
|
|
88902
|
+
L: 51,
|
|
88902
88903
|
S: this,
|
|
88903
88904
|
C: (U, q) => U(...q)
|
|
88904
88905
|
}), this._display = ShellDisplay.FULLSCREEN, this.contextUpdate.emit({
|
|
88905
88906
|
display: this._display
|
|
88906
|
-
}), await ((I = this._shellRpc) == null ? void 0 : I.rpc.ShellService.setLayout(
|
|
88907
|
+
}), await ((I = this._shellRpc) == null ? void 0 : I.rpc.ShellService.setLayout($, {
|
|
88908
|
+
timeout: RPC_TIMEOUT
|
|
88909
|
+
}));
|
|
88907
88910
|
}
|
|
88908
88911
|
async open() {
|
|
88909
88912
|
if (this._shellRpc)
|
|
@@ -88926,7 +88929,7 @@ var IFrameManager = class {
|
|
|
88926
88929
|
setContext: async (q) => {
|
|
88927
88930
|
log$2("set context", q, {
|
|
88928
88931
|
F: __dxlog_file3,
|
|
88929
|
-
L:
|
|
88932
|
+
L: 98,
|
|
88930
88933
|
S: this,
|
|
88931
88934
|
C: (G, K) => G(...K)
|
|
88932
88935
|
}), q.display && (this._display = q.display), this.contextUpdate.emit(q);
|
|
@@ -89115,17 +89118,19 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89115
89118
|
id: this._instanceId
|
|
89116
89119
|
}), {
|
|
89117
89120
|
F: __dxlog_file5,
|
|
89118
|
-
L:
|
|
89121
|
+
L: 142,
|
|
89119
89122
|
S: this,
|
|
89120
89123
|
C: (I, U) => I(...U)
|
|
89121
89124
|
}), await this._iframeManager.open(), this._clientServicesProxy = new ClientServicesProxy(this._appPort), await this._clientServicesProxy.open(), this._loggingStream = this._clientServicesProxy.services.LoggingService.queryLogs({
|
|
89122
89125
|
filters: this._logFilter
|
|
89126
|
+
}, {
|
|
89127
|
+
timeout: RPC_TIMEOUT
|
|
89123
89128
|
}), this._loggingStream.subscribe((I) => {
|
|
89124
89129
|
switch (I.level) {
|
|
89125
89130
|
case LogLevel.DEBUG:
|
|
89126
89131
|
log$2.debug(`[vault] ${I.message}`, I.context, {
|
|
89127
89132
|
F: __dxlog_file5,
|
|
89128
|
-
L:
|
|
89133
|
+
L: 157,
|
|
89129
89134
|
S: this,
|
|
89130
89135
|
C: (U, q) => U(...q)
|
|
89131
89136
|
});
|
|
@@ -89133,7 +89138,7 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89133
89138
|
case LogLevel.INFO:
|
|
89134
89139
|
log$2.info(`[vault] ${I.message}`, I.context, {
|
|
89135
89140
|
F: __dxlog_file5,
|
|
89136
|
-
L:
|
|
89141
|
+
L: 160,
|
|
89137
89142
|
S: this,
|
|
89138
89143
|
C: (U, q) => U(...q)
|
|
89139
89144
|
});
|
|
@@ -89141,7 +89146,7 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89141
89146
|
case LogLevel.WARN:
|
|
89142
89147
|
log$2.warn(`[vault] ${I.message}`, I.context, {
|
|
89143
89148
|
F: __dxlog_file5,
|
|
89144
|
-
L:
|
|
89149
|
+
L: 163,
|
|
89145
89150
|
S: this,
|
|
89146
89151
|
C: (U, q) => U(...q)
|
|
89147
89152
|
});
|
|
@@ -89149,7 +89154,7 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89149
89154
|
case LogLevel.ERROR:
|
|
89150
89155
|
log$2.error(`[vault] ${I.message}`, I.context, {
|
|
89151
89156
|
F: __dxlog_file5,
|
|
89152
|
-
L:
|
|
89157
|
+
L: 166,
|
|
89153
89158
|
S: this,
|
|
89154
89159
|
C: (U, q) => U(...q)
|
|
89155
89160
|
});
|
|
@@ -89163,7 +89168,7 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89163
89168
|
id: this._instanceId
|
|
89164
89169
|
}), {
|
|
89165
89170
|
F: __dxlog_file5,
|
|
89166
|
-
L:
|
|
89171
|
+
L: 180,
|
|
89167
89172
|
S: this,
|
|
89168
89173
|
C: (q, G) => q(...G)
|
|
89169
89174
|
});
|
|
@@ -89199,7 +89204,7 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89199
89204
|
return;
|
|
89200
89205
|
log$2("opening...", void 0, {
|
|
89201
89206
|
F: __dxlog_file7,
|
|
89202
|
-
L:
|
|
89207
|
+
L: 88,
|
|
89203
89208
|
S: this,
|
|
89204
89209
|
C: (K, Y) => K(...Y)
|
|
89205
89210
|
});
|
|
@@ -89225,12 +89230,14 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89225
89230
|
})), await this._services.open(), navigator.locks.request(LOCK_KEY, () => {
|
|
89226
89231
|
log$2("terminated", void 0, {
|
|
89227
89232
|
F: __dxlog_file7,
|
|
89228
|
-
L:
|
|
89233
|
+
L: 115,
|
|
89229
89234
|
S: this,
|
|
89230
89235
|
C: (K, Y) => K(...Y)
|
|
89231
89236
|
}), this._isOpen && this.closed.emit(new Error("Shared worker terminated."));
|
|
89232
89237
|
}), this._loggingStream = this._services.services.LoggingService.queryLogs({
|
|
89233
89238
|
filters: this._logFilter
|
|
89239
|
+
}, {
|
|
89240
|
+
timeout: RPC_TIMEOUT
|
|
89234
89241
|
}), this._loggingStream.subscribe((K) => {
|
|
89235
89242
|
switch (K.level) {
|
|
89236
89243
|
case LogLevel.DEBUG:
|
|
@@ -89248,7 +89255,7 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89248
89255
|
}
|
|
89249
89256
|
}), log$2("opened", void 0, {
|
|
89250
89257
|
F: __dxlog_file7,
|
|
89251
|
-
L:
|
|
89258
|
+
L: 144,
|
|
89252
89259
|
S: this,
|
|
89253
89260
|
C: (K, Y) => K(...Y)
|
|
89254
89261
|
}), this._isOpen = !0;
|
|
@@ -89257,12 +89264,12 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
|
|
|
89257
89264
|
var $;
|
|
89258
89265
|
this._isOpen && (log$2("closing...", void 0, {
|
|
89259
89266
|
F: __dxlog_file7,
|
|
89260
|
-
L:
|
|
89267
|
+
L: 154,
|
|
89261
89268
|
S: this,
|
|
89262
89269
|
C: (I, U) => I(...U)
|
|
89263
89270
|
}), await (($ = this._loggingStream) == null ? void 0 : $.close()), await this._runtime.close(), await this._services.close(), log$2("closed", void 0, {
|
|
89264
89271
|
F: __dxlog_file7,
|
|
89265
|
-
L:
|
|
89272
|
+
L: 159,
|
|
89266
89273
|
S: this,
|
|
89267
89274
|
C: (I, U) => I(...U)
|
|
89268
89275
|
}), this._isOpen = !1);
|
|
@@ -89638,8 +89645,11 @@ function requireUseSyncExternalStoreShim_development() {
|
|
|
89638
89645
|
useSyncExternalStoreShim_development.useSyncExternalStore = ce, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
89639
89646
|
}()), useSyncExternalStoreShim_development;
|
|
89640
89647
|
}
|
|
89641
|
-
|
|
89642
|
-
|
|
89648
|
+
var hasRequiredShim;
|
|
89649
|
+
function requireShim() {
|
|
89650
|
+
return hasRequiredShim || (hasRequiredShim = 1, process.env.NODE_ENV === "production" ? shim.exports = requireUseSyncExternalStoreShim_production_min() : shim.exports = requireUseSyncExternalStoreShim_development()), shim.exports;
|
|
89651
|
+
}
|
|
89652
|
+
var shimExports = requireShim(), jsxDevRuntime = { exports: {} }, reactJsxDevRuntime_production_min = {};
|
|
89643
89653
|
/**
|
|
89644
89654
|
* @license React
|
|
89645
89655
|
* react-jsx-dev-runtime.production.min.js
|
|
@@ -90390,7 +90400,7 @@ function requireWithSelector_production_min() {
|
|
|
90390
90400
|
if (hasRequiredWithSelector_production_min)
|
|
90391
90401
|
return withSelector_production_min;
|
|
90392
90402
|
hasRequiredWithSelector_production_min = 1;
|
|
90393
|
-
var $ = React__default, I =
|
|
90403
|
+
var $ = React__default, I = requireShim();
|
|
90394
90404
|
function U(Q, ee) {
|
|
90395
90405
|
return Q === ee && (Q !== 0 || 1 / Q === 1 / ee) || Q !== Q && ee !== ee;
|
|
90396
90406
|
}
|
|
@@ -90444,7 +90454,7 @@ var hasRequiredWithSelector_development;
|
|
|
90444
90454
|
function requireWithSelector_development() {
|
|
90445
90455
|
return hasRequiredWithSelector_development || (hasRequiredWithSelector_development = 1, process.env.NODE_ENV !== "production" && function() {
|
|
90446
90456
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
90447
|
-
var $ = React__default, I =
|
|
90457
|
+
var $ = React__default, I = requireShim();
|
|
90448
90458
|
function U(ee, te) {
|
|
90449
90459
|
return ee === te && (ee !== 0 || 1 / ee === 1 / te) || ee !== ee && te !== te;
|
|
90450
90460
|
}
|
|
@@ -96600,4 +96610,4 @@ export {
|
|
|
96600
96610
|
log$2 as l,
|
|
96601
96611
|
runShell as r
|
|
96602
96612
|
};
|
|
96603
|
-
//# sourceMappingURL=index-
|
|
96613
|
+
//# sourceMappingURL=index-B-fDERai.mjs.map
|