@dxos/plugin-space 0.8.3 → 0.8.4-main.f9ba587
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/lib/browser/{app-graph-builder-M2RH72VL.mjs → app-graph-builder-PMDF6PJV.mjs} +9 -9
- package/dist/lib/browser/{app-graph-builder-M2RH72VL.mjs.map → app-graph-builder-PMDF6PJV.mjs.map} +3 -3
- package/dist/lib/browser/{app-graph-serializer-F7ISRRBV.mjs → app-graph-serializer-UKYMBX4O.mjs} +13 -13
- package/dist/lib/browser/app-graph-serializer-UKYMBX4O.mjs.map +7 -0
- package/dist/lib/browser/{chunk-4ZKSFDXM.mjs → chunk-6VLSHG4A.mjs} +10 -10
- package/dist/lib/browser/chunk-6VLSHG4A.mjs.map +7 -0
- package/dist/lib/browser/{chunk-YMCZR6EZ.mjs → chunk-C7KGJTAL.mjs} +3 -3
- package/dist/lib/browser/{chunk-PTKYMZWO.mjs → chunk-FBCGT5YY.mjs} +2 -2
- package/dist/lib/browser/{chunk-NFUKCRGE.mjs → chunk-GVTXQCIW.mjs} +53 -54
- package/dist/lib/browser/chunk-GVTXQCIW.mjs.map +7 -0
- package/dist/lib/browser/{chunk-TW7O2EPP.mjs → chunk-S6NY637J.mjs} +3 -3
- package/dist/lib/browser/{chunk-7Y4M7GXO.mjs → chunk-VLBRSGJ2.mjs} +4 -4
- package/dist/lib/browser/{chunk-V24VASAJ.mjs → chunk-WBSEOLEM.mjs} +6 -6
- package/dist/lib/browser/chunk-WBSEOLEM.mjs.map +7 -0
- package/dist/lib/browser/{chunk-BXNL6SDI.mjs → chunk-XXIPJLJF.mjs} +3 -3
- package/dist/lib/browser/{identity-created-PI7TKANR.mjs → identity-created-23XJJV2N.mjs} +4 -4
- package/dist/lib/browser/identity-created-23XJJV2N.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +13 -13
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-RWU6ZE4H.mjs → intent-resolver-WK5WYFH3.mjs} +15 -15
- package/dist/lib/browser/intent-resolver-WK5WYFH3.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-QIKHSNT2.mjs → react-root-7S6FIC5G.mjs} +8 -8
- package/dist/lib/browser/{react-surface-W56UD53I.mjs → react-surface-6C3YJNDK.mjs} +12 -12
- package/dist/lib/browser/react-surface-6C3YJNDK.mjs.map +7 -0
- package/dist/lib/browser/{schema-defs-WREJNMIC.mjs → schema-defs-K3B3OAH4.mjs} +4 -4
- package/dist/lib/browser/{schema-tools-ILTVSSS3.mjs → schema-tools-BNP4JTD7.mjs} +3 -3
- package/dist/lib/browser/{settings-K54STC5A.mjs → settings-XNWYRWNM.mjs} +4 -4
- package/dist/lib/browser/{spaces-ready-3PDRDHPC.mjs → spaces-ready-K7NSNBHM.mjs} +7 -7
- package/dist/lib/browser/{state-HRZ4VRXU.mjs → state-522XTUR4.mjs} +4 -4
- package/dist/lib/browser/types/index.mjs +2 -2
- package/dist/lib/node-esm/{app-graph-builder-BCHVZ4OM.mjs → app-graph-builder-TO72W6MI.mjs} +9 -9
- package/dist/lib/node-esm/{app-graph-builder-BCHVZ4OM.mjs.map → app-graph-builder-TO72W6MI.mjs.map} +3 -3
- package/dist/lib/node-esm/{app-graph-serializer-TXRGGNP2.mjs → app-graph-serializer-LA3IZDXJ.mjs} +13 -13
- package/dist/lib/node-esm/app-graph-serializer-LA3IZDXJ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-D4QMPPS7.mjs → chunk-2THX6G4C.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-3CP67AYY.mjs → chunk-72QMMRKC.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-BSLREHIX.mjs → chunk-AT7LGFER.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-HO7AIKQS.mjs → chunk-HJJHLWKY.mjs} +6 -6
- package/dist/lib/node-esm/chunk-HJJHLWKY.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-MSWEFAPD.mjs → chunk-HWNG4MEU.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-LA6AVVH6.mjs → chunk-OUBADVJE.mjs} +53 -54
- package/dist/lib/node-esm/chunk-OUBADVJE.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-GH2FGJXH.mjs → chunk-SSLBYZEY.mjs} +4 -4
- package/dist/lib/node-esm/{chunk-JBQKU4K5.mjs → chunk-SXD6T2N4.mjs} +10 -10
- package/dist/lib/node-esm/chunk-SXD6T2N4.mjs.map +7 -0
- package/dist/lib/node-esm/{identity-created-35CTAQWI.mjs → identity-created-IJQO6GCR.mjs} +4 -4
- package/dist/lib/node-esm/identity-created-IJQO6GCR.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +13 -13
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-JO6L2VXC.mjs → intent-resolver-HSR27ME4.mjs} +15 -15
- package/dist/lib/node-esm/intent-resolver-HSR27ME4.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-root-YFGL3B4J.mjs → react-root-HUK3ANLV.mjs} +8 -8
- package/dist/lib/node-esm/{react-surface-CVAPDLEZ.mjs → react-surface-AGAWX7DD.mjs} +12 -12
- package/dist/lib/node-esm/react-surface-AGAWX7DD.mjs.map +7 -0
- package/dist/lib/node-esm/{schema-defs-4MEJETVX.mjs → schema-defs-4MCDG4DV.mjs} +4 -4
- package/dist/lib/node-esm/{schema-tools-SRLCRZ3B.mjs → schema-tools-KWW5PTML.mjs} +3 -3
- package/dist/lib/node-esm/{settings-TD76LTQS.mjs → settings-YGKHGFPH.mjs} +4 -4
- package/dist/lib/node-esm/{spaces-ready-FJMGPAVV.mjs → spaces-ready-UM2P3DCR.mjs} +7 -7
- package/dist/lib/node-esm/{state-XQNDCN37.mjs → state-C4IOXPZP.mjs} +4 -4
- package/dist/lib/node-esm/types/index.mjs +2 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-serializer.d.ts.map +1 -1
- package/dist/types/src/capabilities/identity-created.d.ts.map +1 -1
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.stories.d.ts +1 -1
- package/dist/types/src/components/CreateDialog/CreateObjectDialog.stories.d.ts.map +1 -1
- package/dist/types/src/components/MembersContainer.d.ts.map +1 -1
- package/dist/types/src/components/MembersContainer.stories.d.ts +1 -1
- package/dist/types/src/components/MembersContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/SpacePresence.stories.d.ts +1 -1
- package/dist/types/src/components/SpacePresence.stories.d.ts.map +1 -1
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.stories.d.ts +1 -1
- package/dist/types/src/components/SpaceSettings/SpaceSettingsContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/SyncStatus/SyncStatus.stories.d.ts +1 -1
- package/dist/types/src/components/SyncStatus/SyncStatus.stories.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +151 -410
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +50 -50
- package/src/SpacePlugin.ts +3 -3
- package/src/capabilities/app-graph-builder.ts +1 -2
- package/src/capabilities/app-graph-serializer.ts +6 -6
- package/src/capabilities/identity-created.ts +2 -4
- package/src/capabilities/intent-resolver.ts +5 -5
- package/src/capabilities/react-surface.tsx +3 -3
- package/src/components/CreateDialog/CreateObjectDialog.stories.tsx +4 -4
- package/src/components/MembersContainer.stories.tsx +4 -4
- package/src/components/MembersContainer.tsx +1 -2
- package/src/components/SpacePresence.stories.tsx +2 -2
- package/src/components/SpaceSettings/SpaceSettingsContainer.stories.tsx +2 -2
- package/src/components/SyncStatus/SyncStatus.stories.tsx +8 -15
- package/src/components/SyncStatus/save-tracker.ts +3 -3
- package/src/translations.ts +9 -7
- package/src/util.tsx +1 -1
- package/dist/lib/browser/app-graph-serializer-F7ISRRBV.mjs.map +0 -7
- package/dist/lib/browser/chunk-4ZKSFDXM.mjs.map +0 -7
- package/dist/lib/browser/chunk-NFUKCRGE.mjs.map +0 -7
- package/dist/lib/browser/chunk-V24VASAJ.mjs.map +0 -7
- package/dist/lib/browser/identity-created-PI7TKANR.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-RWU6ZE4H.mjs.map +0 -7
- package/dist/lib/browser/react-surface-W56UD53I.mjs.map +0 -7
- package/dist/lib/node/app-graph-builder-6LK5HLLE.cjs +0 -364
- package/dist/lib/node/app-graph-builder-6LK5HLLE.cjs.map +0 -7
- package/dist/lib/node/app-graph-serializer-HKHBNHA3.cjs +0 -89
- package/dist/lib/node/app-graph-serializer-HKHBNHA3.cjs.map +0 -7
- package/dist/lib/node/chunk-3X4EA4XL.cjs +0 -37
- package/dist/lib/node/chunk-3X4EA4XL.cjs.map +0 -7
- package/dist/lib/node/chunk-5WLAXYE3.cjs +0 -125
- package/dist/lib/node/chunk-5WLAXYE3.cjs.map +0 -7
- package/dist/lib/node/chunk-6P2DB4QQ.cjs +0 -36
- package/dist/lib/node/chunk-6P2DB4QQ.cjs.map +0 -7
- package/dist/lib/node/chunk-DOC5XEZ4.cjs +0 -184
- package/dist/lib/node/chunk-DOC5XEZ4.cjs.map +0 -7
- package/dist/lib/node/chunk-NCHF433F.cjs +0 -1921
- package/dist/lib/node/chunk-NCHF433F.cjs.map +0 -7
- package/dist/lib/node/chunk-NL5Y4EDX.cjs +0 -38
- package/dist/lib/node/chunk-NL5Y4EDX.cjs.map +0 -7
- package/dist/lib/node/chunk-ULJZPATP.cjs +0 -312
- package/dist/lib/node/chunk-ULJZPATP.cjs.map +0 -7
- package/dist/lib/node/chunk-XHWVT7LW.cjs +0 -572
- package/dist/lib/node/chunk-XHWVT7LW.cjs.map +0 -7
- package/dist/lib/node/identity-created-FF4WZ2WY.cjs +0 -42
- package/dist/lib/node/identity-created-FF4WZ2WY.cjs.map +0 -7
- package/dist/lib/node/index.cjs +0 -278
- package/dist/lib/node/index.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-AV4CMM3Z.cjs +0 -609
- package/dist/lib/node/intent-resolver-AV4CMM3Z.cjs.map +0 -7
- package/dist/lib/node/meta.json +0 -1
- package/dist/lib/node/react-root-RQUU3A45.cjs +0 -51
- package/dist/lib/node/react-root-RQUU3A45.cjs.map +0 -7
- package/dist/lib/node/react-surface-AZFJLE72.cjs +0 -351
- package/dist/lib/node/react-surface-AZFJLE72.cjs.map +0 -7
- package/dist/lib/node/schema-defs-OB2X2HBH.cjs +0 -42
- package/dist/lib/node/schema-defs-OB2X2HBH.cjs.map +0 -7
- package/dist/lib/node/schema-tools-IYREN4IH.cjs +0 -147
- package/dist/lib/node/schema-tools-IYREN4IH.cjs.map +0 -7
- package/dist/lib/node/settings-P2EQ7VKQ.cjs +0 -38
- package/dist/lib/node/settings-P2EQ7VKQ.cjs.map +0 -7
- package/dist/lib/node/spaces-ready-DXPOHYV7.cjs +0 -210
- package/dist/lib/node/spaces-ready-DXPOHYV7.cjs.map +0 -7
- package/dist/lib/node/state-M35DK75Z.cjs +0 -61
- package/dist/lib/node/state-M35DK75Z.cjs.map +0 -7
- package/dist/lib/node/types/index.cjs +0 -48
- package/dist/lib/node/types/index.cjs.map +0 -7
- package/dist/lib/node-esm/app-graph-serializer-TXRGGNP2.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HO7AIKQS.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-JBQKU4K5.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-LA6AVVH6.mjs.map +0 -7
- package/dist/lib/node-esm/identity-created-35CTAQWI.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-JO6L2VXC.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-CVAPDLEZ.mjs.map +0 -7
- /package/dist/lib/browser/{chunk-YMCZR6EZ.mjs.map → chunk-C7KGJTAL.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-PTKYMZWO.mjs.map → chunk-FBCGT5YY.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-TW7O2EPP.mjs.map → chunk-S6NY637J.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-7Y4M7GXO.mjs.map → chunk-VLBRSGJ2.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-BXNL6SDI.mjs.map → chunk-XXIPJLJF.mjs.map} +0 -0
- /package/dist/lib/browser/{react-root-QIKHSNT2.mjs.map → react-root-7S6FIC5G.mjs.map} +0 -0
- /package/dist/lib/browser/{schema-defs-WREJNMIC.mjs.map → schema-defs-K3B3OAH4.mjs.map} +0 -0
- /package/dist/lib/browser/{schema-tools-ILTVSSS3.mjs.map → schema-tools-BNP4JTD7.mjs.map} +0 -0
- /package/dist/lib/browser/{settings-K54STC5A.mjs.map → settings-XNWYRWNM.mjs.map} +0 -0
- /package/dist/lib/browser/{spaces-ready-3PDRDHPC.mjs.map → spaces-ready-K7NSNBHM.mjs.map} +0 -0
- /package/dist/lib/browser/{state-HRZ4VRXU.mjs.map → state-522XTUR4.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-D4QMPPS7.mjs.map → chunk-2THX6G4C.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-3CP67AYY.mjs.map → chunk-72QMMRKC.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-BSLREHIX.mjs.map → chunk-AT7LGFER.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-MSWEFAPD.mjs.map → chunk-HWNG4MEU.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-GH2FGJXH.mjs.map → chunk-SSLBYZEY.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-root-YFGL3B4J.mjs.map → react-root-HUK3ANLV.mjs.map} +0 -0
- /package/dist/lib/node-esm/{schema-defs-4MEJETVX.mjs.map → schema-defs-4MCDG4DV.mjs.map} +0 -0
- /package/dist/lib/node-esm/{schema-tools-SRLCRZ3B.mjs.map → schema-tools-KWW5PTML.mjs.map} +0 -0
- /package/dist/lib/node-esm/{settings-TD76LTQS.mjs.map → settings-YGKHGFPH.mjs.map} +0 -0
- /package/dist/lib/node-esm/{spaces-ready-FJMGPAVV.mjs.map → spaces-ready-UM2P3DCR.mjs.map} +0 -0
- /package/dist/lib/node-esm/{state-XQNDCN37.mjs.map → state-C4IOXPZP.mjs.map} +0 -0
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_3X4EA4XL_exports = {};
|
|
20
|
-
__export(chunk_3X4EA4XL_exports, {
|
|
21
|
-
SpaceEvents: () => SpaceEvents
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(chunk_3X4EA4XL_exports);
|
|
24
|
-
var import_chunk_6P2DB4QQ = require("./chunk-6P2DB4QQ.cjs");
|
|
25
|
-
var import_app_framework = require("@dxos/app-framework");
|
|
26
|
-
(function(SpaceEvents2) {
|
|
27
|
-
SpaceEvents2.StateReady = import_app_framework.Events.createStateEvent(`${import_chunk_6P2DB4QQ.SPACE_PLUGIN}/event/state-ready`);
|
|
28
|
-
SpaceEvents2.SetupSettingsPanel = (0, import_app_framework.defineEvent)(`${import_chunk_6P2DB4QQ.SPACE_PLUGIN}/event/setup-settings-panel`);
|
|
29
|
-
SpaceEvents2.DefaultSpaceReady = (0, import_app_framework.defineEvent)(`${import_chunk_6P2DB4QQ.SPACE_PLUGIN}/event/default-space-ready`);
|
|
30
|
-
SpaceEvents2.SpaceCreated = (0, import_app_framework.defineEvent)(`${import_chunk_6P2DB4QQ.SPACE_PLUGIN}/event/space-created`);
|
|
31
|
-
})(SpaceEvents || (SpaceEvents = {}));
|
|
32
|
-
var SpaceEvents;
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
35
|
-
SpaceEvents
|
|
36
|
-
});
|
|
37
|
-
//# sourceMappingURL=chunk-3X4EA4XL.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/events.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { defineEvent, Events } from '@dxos/app-framework';\n\nimport { SPACE_PLUGIN } from './meta';\n\nexport namespace SpaceEvents {\n export const StateReady = Events.createStateEvent(`${SPACE_PLUGIN}/event/state-ready`);\n export const SetupSettingsPanel = defineEvent(`${SPACE_PLUGIN}/event/setup-settings-panel`);\n export const DefaultSpaceReady = defineEvent(`${SPACE_PLUGIN}/event/default-space-ready`);\n export const SpaceCreated = defineEvent(`${SPACE_PLUGIN}/event/space-created`);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAIA,2BAAoC;UAInBA,cAAAA;eACFC,aAAaC,4BAAOC,iBAAiB,GAAGC,kCAAAA,oBAAgC;eACxEC,yBAAqBC,kCAAY,GAAGF,kCAAAA,6BAAyC;eAC7EG,wBAAoBD,kCAAY,GAAGF,kCAAAA,4BAAwC;eAC3EI,mBAAeF,kCAAY,GAAGF,kCAAAA,sBAAkC;AAC/E,GALiBJ,gBAAAA,cAAAA,CAAAA,EAAAA;;",
|
|
6
|
-
"names": ["SpaceEvents", "StateReady", "Events", "createStateEvent", "SPACE_PLUGIN", "SetupSettingsPanel", "defineEvent", "DefaultSpaceReady", "SpaceCreated"]
|
|
7
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var chunk_5WLAXYE3_exports = {};
|
|
30
|
-
__export(chunk_5WLAXYE3_exports, {
|
|
31
|
-
getActiveSpace: () => getActiveSpace,
|
|
32
|
-
useActiveSpace: () => useActiveSpace,
|
|
33
|
-
useInputSurfaceLookup: () => useInputSurfaceLookup,
|
|
34
|
-
usePath: () => usePath
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(chunk_5WLAXYE3_exports);
|
|
37
|
-
var import_app_framework = require("@dxos/app-framework");
|
|
38
|
-
var import_plugin_client = require("@dxos/plugin-client");
|
|
39
|
-
var import_echo = require("@dxos/react-client/echo");
|
|
40
|
-
var import_react = __toESM(require("react"));
|
|
41
|
-
var import_app_framework2 = require("@dxos/app-framework");
|
|
42
|
-
var import_tracking = require("@preact-signals/safe-react/tracking");
|
|
43
|
-
var import_effect = require("effect");
|
|
44
|
-
var import_react2 = require("react");
|
|
45
|
-
var getActiveSpace = (context) => {
|
|
46
|
-
const layout = context.getCapability(import_app_framework.Capabilities.Layout);
|
|
47
|
-
const client = context.getCapability(import_plugin_client.ClientCapabilities.Client);
|
|
48
|
-
const { spaceId } = (0, import_echo.parseId)(layout.workspace);
|
|
49
|
-
return spaceId ? client.spaces.get(spaceId) : void 0;
|
|
50
|
-
};
|
|
51
|
-
var useActiveSpace = () => {
|
|
52
|
-
const layout = (0, import_app_framework.useLayout)();
|
|
53
|
-
const { spaceId } = (0, import_echo.parseId)(layout.workspace);
|
|
54
|
-
return (0, import_echo.useSpace)(spaceId);
|
|
55
|
-
};
|
|
56
|
-
var useInputSurfaceLookup = (baseData) => {
|
|
57
|
-
const pluginManager = (0, import_app_framework2.usePluginManager)();
|
|
58
|
-
return (0, import_react.useCallback)(({ prop, schema, inputProps }) => {
|
|
59
|
-
const composedData = {
|
|
60
|
-
prop,
|
|
61
|
-
schema,
|
|
62
|
-
...baseData
|
|
63
|
-
};
|
|
64
|
-
if (!(0, import_app_framework2.isSurfaceAvailable)(pluginManager.context, {
|
|
65
|
-
role: "form-input",
|
|
66
|
-
data: composedData
|
|
67
|
-
})) {
|
|
68
|
-
return void 0;
|
|
69
|
-
}
|
|
70
|
-
return /* @__PURE__ */ import_react.default.createElement(import_app_framework2.Surface, {
|
|
71
|
-
role: "form-input",
|
|
72
|
-
data: composedData,
|
|
73
|
-
...inputProps
|
|
74
|
-
});
|
|
75
|
-
}, [
|
|
76
|
-
pluginManager,
|
|
77
|
-
baseData
|
|
78
|
-
]);
|
|
79
|
-
};
|
|
80
|
-
var usePath = (graph, id, timeout) => {
|
|
81
|
-
var _effect = (0, import_tracking.useSignals)();
|
|
82
|
-
try {
|
|
83
|
-
const [pathState, setPathState] = (0, import_react2.useState)(id ? graph.getPath({
|
|
84
|
-
target: id
|
|
85
|
-
}) : import_effect.Option.none());
|
|
86
|
-
(0, import_react2.useEffect)(() => {
|
|
87
|
-
if (!id && pathState) {
|
|
88
|
-
setPathState(import_effect.Option.none());
|
|
89
|
-
}
|
|
90
|
-
if (import_effect.Option.isSome(pathState) && pathState.value.at(-1) === id || !id) {
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
const frame = requestAnimationFrame(async () => {
|
|
94
|
-
try {
|
|
95
|
-
const path = await graph.waitForPath({
|
|
96
|
-
target: id
|
|
97
|
-
}, {
|
|
98
|
-
timeout
|
|
99
|
-
});
|
|
100
|
-
if (path) {
|
|
101
|
-
setPathState(import_effect.Option.some(path));
|
|
102
|
-
}
|
|
103
|
-
} catch {
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
return () => cancelAnimationFrame(frame);
|
|
107
|
-
}, [
|
|
108
|
-
graph,
|
|
109
|
-
id,
|
|
110
|
-
timeout,
|
|
111
|
-
pathState
|
|
112
|
-
]);
|
|
113
|
-
return pathState;
|
|
114
|
-
} finally {
|
|
115
|
-
_effect.f();
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
119
|
-
0 && (module.exports = {
|
|
120
|
-
getActiveSpace,
|
|
121
|
-
useActiveSpace,
|
|
122
|
-
useInputSurfaceLookup,
|
|
123
|
-
usePath
|
|
124
|
-
});
|
|
125
|
-
//# sourceMappingURL=chunk-5WLAXYE3.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/hooks/useActiveSpace.ts", "../../../src/hooks/useInputSurfaceLookup.tsx", "../../../src/hooks/usePath.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, useLayout, type PluginContext } from '@dxos/app-framework';\nimport { ClientCapabilities } from '@dxos/plugin-client';\nimport { parseId, useSpace } from '@dxos/react-client/echo';\n\nexport const getActiveSpace = (context: PluginContext) => {\n const layout = context.getCapability(Capabilities.Layout);\n const client = context.getCapability(ClientCapabilities.Client);\n const { spaceId } = parseId(layout.workspace);\n return spaceId ? client.spaces.get(spaceId) : undefined;\n};\n\nexport const useActiveSpace = () => {\n const layout = useLayout();\n const { spaceId } = parseId(layout.workspace);\n return useSpace(spaceId);\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Schema } from 'effect';\nimport React, { useCallback } from 'react';\n\nimport { usePluginManager, isSurfaceAvailable, Surface } from '@dxos/app-framework';\nimport { type InputProps } from '@dxos/react-ui-form';\n\n// TODO(ZaymonFC): Move this if you find yourself needing it elsewhere.\n/**\n * Creates a surface input component based on plugin context.\n * @param baseData Additional data that will be merged with form data and passed to the surface.\n * This allows providing more context to the surface than what's available from the form itself.\n */\nexport const useInputSurfaceLookup = (baseData?: Record<string, any>) => {\n const pluginManager = usePluginManager();\n\n return useCallback(\n ({ prop, schema, inputProps }: { prop: string; schema: Schema.Schema<any>; inputProps: InputProps }) => {\n const composedData = { prop, schema, ...baseData };\n if (!isSurfaceAvailable(pluginManager.context, { role: 'form-input', data: composedData })) {\n return undefined;\n }\n\n return <Surface role='form-input' data={composedData} {...inputProps} />;\n },\n [pluginManager, baseData],\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { Option } from 'effect';\nimport { useEffect, useState } from 'react';\n\nimport { type ReadableGraph } from '@dxos/plugin-graph';\n\n/**\n * React hook to get a path from the graph.\n *\n * @param graph Graph to find the node in.\n * @param id Id of the node to find a path to.\n * @param timeout Optional timeout in milliseconds to wait for the node to be found.\n * @returns Path if found, undefined otherwise.\n */\n// TODO(wittjosiah): Factor out.\nexport const usePath = (graph: ReadableGraph, id?: string, timeout?: number): Option.Option<string[]> => {\n const [pathState, setPathState] = useState<Option.Option<string[]>>(\n id ? graph.getPath({ target: id }) : Option.none(),\n );\n\n useEffect(() => {\n if (!id && pathState) {\n setPathState(Option.none());\n }\n\n if ((Option.isSome(pathState) && pathState.value.at(-1) === id) || !id) {\n return;\n }\n\n // Set timeout did not seem to effectively not block the UI thread.\n const frame = requestAnimationFrame(async () => {\n try {\n const path = await graph.waitForPath({ target: id }, { timeout });\n if (path) {\n setPathState(Option.some(path));\n }\n } catch {}\n });\n\n return () => cancelAnimationFrame(frame);\n }, [graph, id, timeout, pathState]);\n\n return pathState;\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,2BAA4D;AAC5D,2BAAmC;AACnC,kBAAkC;ACDlC,mBAAmC;AAEnC,IAAAA,wBAA8D;;ACH9D,oBAAuB;AACvB,IAAAC,gBAAoC;AFG7B,IAAMC,iBAAiB,CAACC,YAAAA;AAC7B,QAAMC,SAASD,QAAQE,cAAcC,kCAAaC,MAAM;AACxD,QAAMC,SAASL,QAAQE,cAAcI,wCAAmBC,MAAM;AAC9D,QAAM,EAAEC,QAAO,QAAKC,qBAAQR,OAAOS,SAAS;AAC5C,SAAOF,UAAUH,OAAOM,OAAOC,IAAIJ,OAAAA,IAAWK;AAChD;AAEO,IAAMC,iBAAiB,MAAA;AAC5B,QAAMb,aAASc,gCAAAA;AACf,QAAM,EAAEP,QAAO,QAAKC,qBAAQR,OAAOS,SAAS;AAC5C,aAAOM,sBAASR,OAAAA;AAClB;ACHO,IAAMS,wBAAwB,CAACC,aAAAA;AACpC,QAAMC,oBAAgBC,wCAAAA;AAEtB,aAAOC,0BACL,CAAC,EAAEC,MAAMC,QAAQC,WAAU,MAAwE;AACjG,UAAMC,eAAe;MAAEH;MAAMC;MAAQ,GAAGL;IAAS;AACjD,QAAI,KAACQ,0CAAmBP,cAAcnB,SAAS;MAAE2B,MAAM;MAAcC,MAAMH;IAAa,CAAA,GAAI;AAC1F,aAAOZ;IACT;AAEA,WAAO,6BAAAgB,QAAA,cAACC,+BAAAA;MAAQH,MAAK;MAAaC,MAAMH;MAAe,GAAGD;;EAC5D,GACA;IAACL;IAAeD;GAAS;AAE7B;ACZO,IAAMa,UAAU,CAACC,OAAsBC,IAAaC,YAAAA;;;AACzD,UAAM,CAACC,WAAWC,YAAAA,QAAgBC,wBAChCJ,KAAKD,MAAMM,QAAQ;MAAEC,QAAQN;IAAG,CAAA,IAAKO,qBAAOC,KAAI,CAAA;AAGlDC,iCAAU,MAAA;AACR,UAAI,CAACT,MAAME,WAAW;AACpBC,qBAAaI,qBAAOC,KAAI,CAAA;MAC1B;AAEA,UAAKD,qBAAOG,OAAOR,SAAAA,KAAcA,UAAUS,MAAMC,GAAG,EAAC,MAAOZ,MAAO,CAACA,IAAI;AACtE;MACF;AAGA,YAAMa,QAAQC,sBAAsB,YAAA;AAClC,YAAI;AACF,gBAAMC,OAAO,MAAMhB,MAAMiB,YAAY;YAAEV,QAAQN;UAAG,GAAG;YAAEC;UAAQ,CAAA;AAC/D,cAAIc,MAAM;AACRZ,yBAAaI,qBAAOU,KAAKF,IAAAA,CAAAA;UAC3B;QACF,QAAQ;QAAC;MACX,CAAA;AAEA,aAAO,MAAMG,qBAAqBL,KAAAA;IACpC,GAAG;MAACd;MAAOC;MAAIC;MAASC;KAAU;AAElC,WAAOA;;;;AACT;",
|
|
6
|
-
"names": ["import_app_framework", "import_react", "getActiveSpace", "context", "layout", "getCapability", "Capabilities", "Layout", "client", "ClientCapabilities", "Client", "spaceId", "parseId", "workspace", "spaces", "get", "undefined", "useActiveSpace", "useLayout", "useSpace", "useInputSurfaceLookup", "baseData", "pluginManager", "usePluginManager", "useCallback", "prop", "schema", "inputProps", "composedData", "isSurfaceAvailable", "role", "data", "React", "Surface", "usePath", "graph", "id", "timeout", "pathState", "setPathState", "useState", "getPath", "target", "Option", "none", "useEffect", "isSome", "value", "at", "frame", "requestAnimationFrame", "path", "waitForPath", "some", "cancelAnimationFrame"]
|
|
7
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_6P2DB4QQ_exports = {};
|
|
20
|
-
__export(chunk_6P2DB4QQ_exports, {
|
|
21
|
-
SPACE_PLUGIN: () => SPACE_PLUGIN,
|
|
22
|
-
meta: () => meta
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(chunk_6P2DB4QQ_exports);
|
|
25
|
-
var SPACE_PLUGIN = "dxos.org/plugin/space";
|
|
26
|
-
var meta = {
|
|
27
|
-
id: SPACE_PLUGIN,
|
|
28
|
-
name: "Spaces",
|
|
29
|
-
icon: "ph--planet--regular"
|
|
30
|
-
};
|
|
31
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
-
0 && (module.exports = {
|
|
33
|
-
SPACE_PLUGIN,
|
|
34
|
-
meta
|
|
35
|
-
});
|
|
36
|
-
//# sourceMappingURL=chunk-6P2DB4QQ.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const SPACE_PLUGIN = 'dxos.org/plugin/space';\n\nexport const meta: PluginMeta = {\n id: SPACE_PLUGIN,\n name: 'Spaces',\n icon: 'ph--planet--regular',\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAMO,IAAMA,eAAe;AAErB,IAAMC,OAAmB;EAC9BC,IAAIF;EACJG,MAAM;EACNC,MAAM;AACR;",
|
|
6
|
-
"names": ["SPACE_PLUGIN", "meta", "id", "name", "icon"]
|
|
7
|
-
}
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_DOC5XEZ4_exports = {};
|
|
20
|
-
__export(chunk_DOC5XEZ4_exports, {
|
|
21
|
-
translations_default: () => translations_default
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(chunk_DOC5XEZ4_exports);
|
|
24
|
-
var import_chunk_6P2DB4QQ = require("./chunk-6P2DB4QQ.cjs");
|
|
25
|
-
var import_echo = require("@dxos/echo");
|
|
26
|
-
var import_schema = require("@dxos/schema");
|
|
27
|
-
var translations_default = [
|
|
28
|
-
{
|
|
29
|
-
"en-US": {
|
|
30
|
-
[import_echo.Type.getTypename(import_schema.DataType.Collection)]: {
|
|
31
|
-
"typename label": "Collection",
|
|
32
|
-
"typename label_zero": "Collections",
|
|
33
|
-
"typename label_one": "Collection",
|
|
34
|
-
"typename label_other": "Collections",
|
|
35
|
-
"object name placeholder": "New collection"
|
|
36
|
-
},
|
|
37
|
-
[import_echo.Type.getTypename(import_schema.DataType.QueryCollection)]: {
|
|
38
|
-
"typename label": "Smart Collection",
|
|
39
|
-
"typename label_zero": "Smart Collections",
|
|
40
|
-
"typename label_one": "Smart Collection",
|
|
41
|
-
"typename label_other": "Smart Collections",
|
|
42
|
-
"object name placeholder": "New smart collection"
|
|
43
|
-
},
|
|
44
|
-
[import_chunk_6P2DB4QQ.SPACE_PLUGIN]: {
|
|
45
|
-
"plugin name": "Spaces",
|
|
46
|
-
"first run message": "Nothing selected.",
|
|
47
|
-
"create space label": "Create space",
|
|
48
|
-
"join space label": "Join space",
|
|
49
|
-
"empty space message": "No documents",
|
|
50
|
-
"empty tree message": "No spaces",
|
|
51
|
-
"unnamed space label": "New space",
|
|
52
|
-
"closed space label": "Closed",
|
|
53
|
-
"loading space label": "Loading space\u2026",
|
|
54
|
-
"lock space label": "Lock space",
|
|
55
|
-
"unlock space label": "Unlock space",
|
|
56
|
-
"rename space label": "Rename space",
|
|
57
|
-
"active space label": "Active space:",
|
|
58
|
-
"space name label": "Space name",
|
|
59
|
-
"object name label": "Item name",
|
|
60
|
-
"close space label": "Close space",
|
|
61
|
-
"open space label": "Open space",
|
|
62
|
-
"export data label": "Export data",
|
|
63
|
-
"import data label": "Import data",
|
|
64
|
-
"migrate space label": "Migrate space",
|
|
65
|
-
"share space label": "Share current space",
|
|
66
|
-
"save space to disk label": "Save to disk",
|
|
67
|
-
"load space from disk label": "Load from disk",
|
|
68
|
-
"confirm restore title": "Overwrite files in this space?",
|
|
69
|
-
"confirm restore body": "Restoring from a backup will overwrite the contents of any documents that match.",
|
|
70
|
-
"upload file message": "Drag file here or click to browse",
|
|
71
|
-
"object placeholder": "Type a title here\u2026",
|
|
72
|
-
"personal space label": "Personal Space",
|
|
73
|
-
"spaces label": "Spaces",
|
|
74
|
-
"space settings label": "Spaces",
|
|
75
|
-
"space settings description": "Each space has its own settings you can configure, where you can adjust its properties, membership, integrations, and other items specific to that space.",
|
|
76
|
-
"show hidden spaces label": "Show archived spaces",
|
|
77
|
-
"save files to directory label": "Save files to disk",
|
|
78
|
-
"select path label": "Select path",
|
|
79
|
-
"rename collection label": "Rename collection",
|
|
80
|
-
"rename object label": "Rename item",
|
|
81
|
-
"duplicate object label": "Duplicate item",
|
|
82
|
-
"delete collection label": "Delete collection",
|
|
83
|
-
"delete object label": "Delete item",
|
|
84
|
-
"collection deleted label": "Collection deleted",
|
|
85
|
-
"object deleted label": "Item deleted",
|
|
86
|
-
"objects deleted label": "Items deleted",
|
|
87
|
-
"go to object label": "Open item",
|
|
88
|
-
"found object label": "Ready.",
|
|
89
|
-
"found object description": "The requested item is now available.",
|
|
90
|
-
"waiting for object label": "Loading\u2026",
|
|
91
|
-
"waiting for object description": "The requested item is still being synchronized.",
|
|
92
|
-
"object not found label": "Nothing found.",
|
|
93
|
-
"object not found description": "The requested item has not been found yet. Ensure there are enough peers online in the space with an updated copy.",
|
|
94
|
-
"missing object message": "Item not available.",
|
|
95
|
-
"missing object description": "The requested item has not been found yet. Ensure there are enough peers online in the space with an updated copy.",
|
|
96
|
-
"create object in space label": "Add to space",
|
|
97
|
-
"create object in collection label": "Add to collection",
|
|
98
|
-
"create object in smart collection label": "Add to smart collection",
|
|
99
|
-
"space members label": "Space members",
|
|
100
|
-
"active space members heading": "Online ({{count}})",
|
|
101
|
-
"inactive space members heading": "Offline ({{count}})",
|
|
102
|
-
"presence label_zero": "No other viewers",
|
|
103
|
-
"presence label_one": "1 other viewer",
|
|
104
|
-
"presence label_other": "{{count}} other viewers",
|
|
105
|
-
"persisted locally label": "Changes saved locally.",
|
|
106
|
-
"persisted locally message": "All changes have been saved to disk on this device.",
|
|
107
|
-
"persistence pending label": "Saving\u2026",
|
|
108
|
-
"persistence error label": "Error saving changes.",
|
|
109
|
-
"more actions label": "More actions",
|
|
110
|
-
"invitations heading": "Invitations",
|
|
111
|
-
"keyshortcuts label": "Keyboard shortcuts",
|
|
112
|
-
"menu footer label": "Details",
|
|
113
|
-
"location label": "Located in",
|
|
114
|
-
"space limit label": "Space Limit Reached",
|
|
115
|
-
"space limit description": "This space has reached the maximum number of items for the beta. This limit includes deleted items currently, but those can be permanently removed with the cleanup action.",
|
|
116
|
-
"space limit close label": "Close",
|
|
117
|
-
"remove deleted objects label": "Cleanup",
|
|
118
|
-
"remove deleted objects alt": "Permanently remove deleted items to free up space.",
|
|
119
|
-
"copy link label": "Copy link",
|
|
120
|
-
"default on space create label": "On space create",
|
|
121
|
-
"sync status title": "Sync status",
|
|
122
|
-
"dismiss label": "Dismiss",
|
|
123
|
-
"join success label": "Successfully joined space",
|
|
124
|
-
"name label": "Name",
|
|
125
|
-
"name placeholder": "Name",
|
|
126
|
-
"object settings label": "Details",
|
|
127
|
-
"edge replication label": "Enable EDGE Replication",
|
|
128
|
-
"saving locally label": "Writing to disk",
|
|
129
|
-
"downloading label": "Replicating from peers",
|
|
130
|
-
"uploading label": "Replicating to peers",
|
|
131
|
-
"offline persisted label": "Saved to disk (offline)",
|
|
132
|
-
"remote synced label": "Synced with peers",
|
|
133
|
-
"syncing label": "Space syncing",
|
|
134
|
-
"show all label": "Show all",
|
|
135
|
-
"no sync status label": "No space with missing items.",
|
|
136
|
-
"create space dialog title": "Create Space",
|
|
137
|
-
"create object dialog title": "Create {{object}}",
|
|
138
|
-
"space input placeholder": "Select space",
|
|
139
|
-
"schema input placeholder": "Select item type",
|
|
140
|
-
"creating object type label": "Type",
|
|
141
|
-
"creating in space label": "Location",
|
|
142
|
-
"creating in collection label": "In Collection",
|
|
143
|
-
"clear input label": "Clear",
|
|
144
|
-
"expose object label": "Expose in navtree",
|
|
145
|
-
"advanced settings label": "Advanced",
|
|
146
|
-
"foreign keys": "Foreign Keys",
|
|
147
|
-
"add key": "Add Key",
|
|
148
|
-
"open space settings label": "Open settings",
|
|
149
|
-
"members panel label": "Members",
|
|
150
|
-
"members verbose label": "Manage space members",
|
|
151
|
-
"members description": "You can view the current status of space members here as well as invite new members.",
|
|
152
|
-
"members label": "Members",
|
|
153
|
-
"invitations label": "Invitations",
|
|
154
|
-
"space invitation description": "Manage invitations to the space.",
|
|
155
|
-
"qr code description": "Share this QR code, or copy the URL and share it with the person you want to invite.",
|
|
156
|
-
"locked space description": "This space is locked, unlock it to invite new members.",
|
|
157
|
-
"space locked label": "Lock space",
|
|
158
|
-
"space locked description": "Locking a space prevents new members from being invited to the space.",
|
|
159
|
-
"settings panel label": "Space Settings",
|
|
160
|
-
"open current space settings label": "Open current space settings",
|
|
161
|
-
"space settings properties label": "General settings",
|
|
162
|
-
"space properties settings verbose label": "Manage space properties",
|
|
163
|
-
"space properties settings description": "You can configure how this space is displayed in the app here.",
|
|
164
|
-
"space settings schema label": "Schema",
|
|
165
|
-
"schema verbose label": "Manage schema",
|
|
166
|
-
"schema description": "You can manage all of the schema stored within this space here.",
|
|
167
|
-
"no schemas found message": "No schemas found",
|
|
168
|
-
"display name input placeholder": "Space name",
|
|
169
|
-
"display name description": "Name of the space as it appears in the app.",
|
|
170
|
-
"icon description": "Icon used to represent the space in the app.",
|
|
171
|
-
"hue description": "Color used to represent the space in the app.",
|
|
172
|
-
"edge replication description": "Only change this if you know what you're doing. Disabling this will prevent the space from replicating through Composer's EDGE services, and relies solely on peer-to-peer sync.",
|
|
173
|
-
"archive space description": "Archiving a space will remove it from the sidebar and stop replicating updates, but will not delete the data. You can unarchive it by enabling archived spaces in the app settings.",
|
|
174
|
-
"archive space label": "Archive",
|
|
175
|
-
"unarchive space label": "Unarchive"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
];
|
|
180
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
181
|
-
0 && (module.exports = {
|
|
182
|
-
translations_default
|
|
183
|
-
});
|
|
184
|
-
//# sourceMappingURL=chunk-DOC5XEZ4.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Type } from '@dxos/echo';\nimport { DataType } from '@dxos/schema';\n\nimport { SPACE_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [Type.getTypename(DataType.Collection)]: {\n 'typename label': 'Collection',\n 'typename label_zero': 'Collections',\n 'typename label_one': 'Collection',\n 'typename label_other': 'Collections',\n 'object name placeholder': 'New collection',\n },\n [Type.getTypename(DataType.QueryCollection)]: {\n 'typename label': 'Smart Collection',\n 'typename label_zero': 'Smart Collections',\n 'typename label_one': 'Smart Collection',\n 'typename label_other': 'Smart Collections',\n 'object name placeholder': 'New smart collection',\n },\n [SPACE_PLUGIN]: {\n 'plugin name': 'Spaces',\n 'first run message': 'Nothing selected.',\n 'create space label': 'Create space',\n 'join space label': 'Join space',\n 'empty space message': 'No documents',\n 'empty tree message': 'No spaces',\n 'unnamed space label': 'New space',\n 'closed space label': 'Closed',\n 'loading space label': 'Loading space…',\n 'lock space label': 'Lock space',\n 'unlock space label': 'Unlock space',\n 'rename space label': 'Rename space',\n 'active space label': 'Active space:',\n 'space name label': 'Space name',\n 'object name label': 'Item name',\n 'close space label': 'Close space',\n 'open space label': 'Open space',\n 'export data label': 'Export data',\n 'import data label': 'Import data',\n 'migrate space label': 'Migrate space',\n 'share space label': 'Share current space',\n 'save space to disk label': 'Save to disk',\n 'load space from disk label': 'Load from disk',\n 'confirm restore title': 'Overwrite files in this space?',\n 'confirm restore body': 'Restoring from a backup will overwrite the contents of any documents that match.',\n 'upload file message': 'Drag file here or click to browse',\n 'object placeholder': 'Type a title here…',\n 'personal space label': 'Personal Space',\n 'spaces label': 'Spaces',\n 'space settings label': 'Spaces',\n 'space settings description':\n 'Each space has its own settings you can configure, where you can adjust its properties, membership, integrations, and other items specific to that space.',\n 'show hidden spaces label': 'Show archived spaces',\n 'save files to directory label': 'Save files to disk',\n 'select path label': 'Select path',\n 'rename collection label': 'Rename collection',\n 'rename object label': 'Rename item',\n 'duplicate object label': 'Duplicate item',\n 'delete collection label': 'Delete collection',\n 'delete object label': 'Delete item',\n 'collection deleted label': 'Collection deleted',\n 'object deleted label': 'Item deleted',\n 'objects deleted label': 'Items deleted',\n 'go to object label': 'Open item',\n 'found object label': 'Ready.',\n 'found object description': 'The requested item is now available.',\n 'waiting for object label': 'Loading…',\n 'waiting for object description': 'The requested item is still being synchronized.',\n 'object not found label': 'Nothing found.',\n 'object not found description':\n 'The requested item has not been found yet. Ensure there are enough peers online in the space with an updated copy.',\n 'missing object message': 'Item not available.',\n 'missing object description':\n 'The requested item has not been found yet. Ensure there are enough peers online in the space with an updated copy.',\n 'create object in space label': 'Add to space',\n 'create object in collection label': 'Add to collection',\n 'create object in smart collection label': 'Add to smart collection',\n 'space members label': 'Space members',\n 'active space members heading': 'Online ({{count}})',\n 'inactive space members heading': 'Offline ({{count}})',\n 'presence label_zero': 'No other viewers',\n 'presence label_one': '1 other viewer',\n 'presence label_other': '{{count}} other viewers',\n 'persisted locally label': 'Changes saved locally.',\n 'persisted locally message': 'All changes have been saved to disk on this device.',\n 'persistence pending label': 'Saving…',\n 'persistence error label': 'Error saving changes.',\n 'more actions label': 'More actions',\n 'invitations heading': 'Invitations',\n 'keyshortcuts label': 'Keyboard shortcuts',\n 'menu footer label': 'Details',\n 'location label': 'Located in',\n 'space limit label': 'Space Limit Reached',\n 'space limit description':\n 'This space has reached the maximum number of items for the beta. This limit includes deleted items currently, but those can be permanently removed with the cleanup action.',\n 'space limit close label': 'Close',\n 'remove deleted objects label': 'Cleanup',\n 'remove deleted objects alt': 'Permanently remove deleted items to free up space.',\n 'copy link label': 'Copy link',\n 'default on space create label': 'On space create',\n 'sync status title': 'Sync status',\n 'dismiss label': 'Dismiss',\n 'join success label': 'Successfully joined space',\n 'name label': 'Name',\n 'name placeholder': 'Name',\n 'object settings label': 'Details',\n 'edge replication label': 'Enable EDGE Replication',\n 'saving locally label': 'Writing to disk',\n 'downloading label': 'Replicating from peers',\n 'uploading label': 'Replicating to peers',\n 'offline persisted label': 'Saved to disk (offline)',\n 'remote synced label': 'Synced with peers',\n 'syncing label': 'Space syncing',\n 'show all label': 'Show all',\n 'no sync status label': 'No space with missing items.',\n 'create space dialog title': 'Create Space',\n 'create object dialog title': 'Create {{object}}',\n 'space input placeholder': 'Select space',\n 'schema input placeholder': 'Select item type',\n 'creating object type label': 'Type',\n 'creating in space label': 'Location',\n 'creating in collection label': 'In Collection',\n 'clear input label': 'Clear',\n 'expose object label': 'Expose in navtree',\n 'advanced settings label': 'Advanced',\n 'foreign keys': 'Foreign Keys',\n 'add key': 'Add Key',\n 'open space settings label': 'Open settings',\n\n 'members panel label': 'Members',\n 'members verbose label': 'Manage space members',\n 'members description': 'You can view the current status of space members here as well as invite new members.',\n 'members label': 'Members',\n 'invitations label': 'Invitations',\n 'space invitation description': 'Manage invitations to the space.',\n 'qr code description': 'Share this QR code, or copy the URL and share it with the person you want to invite.',\n 'locked space description': 'This space is locked, unlock it to invite new members.',\n 'space locked label': 'Lock space',\n 'space locked description': 'Locking a space prevents new members from being invited to the space.',\n\n 'settings panel label': 'Space Settings',\n 'open current space settings label': 'Open current space settings',\n 'space settings properties label': 'General settings',\n 'space properties settings verbose label': 'Manage space properties',\n 'space properties settings description': 'You can configure how this space is displayed in the app here.',\n 'space settings schema label': 'Schema',\n 'schema verbose label': 'Manage schema',\n 'schema description': 'You can manage all of the schema stored within this space here.',\n 'no schemas found message': 'No schemas found',\n 'display name input placeholder': 'Space name',\n 'display name description': 'Name of the space as it appears in the app.',\n 'icon description': 'Icon used to represent the space in the app.',\n 'hue description': 'Color used to represent the space in the app.',\n 'edge replication description':\n \"Only change this if you know what you're doing. Disabling this will prevent the space from replicating through Composer's EDGE services, and relies solely on peer-to-peer sync.\",\n 'archive space description':\n 'Archiving a space will remove it from the sidebar and stop replicating updates, but will not delete the data. You can unarchive it by enabling archived spaces in the app settings.',\n 'archive space label': 'Archive',\n 'unarchive space label': 'Unarchive',\n },\n },\n },\n];\n"],
|
|
5
|
-
"mappings": "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",
|
|
6
|
-
"names": ["Type", "getTypename", "DataType", "Collection", "QueryCollection", "SPACE_PLUGIN"]
|
|
7
|
-
}
|