@yugoo-design/dsh-design-studio-dsh 0.1.2 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +438 -3
- package/lib/authoring/panel-components.json +10790 -0
- package/lib/authoring/studio-creators/material.json +1 -0
- package/lib/authoring-agent-vc786tS0.js +648 -0
- package/lib/authoring-agent.d.ts +24 -0
- package/lib/authoring-agent.js +2 -0
- package/lib/authoring-agent.types-0S0xnlDW.d.ts +87 -0
- package/lib/authoring-entry.d.ts +20 -0
- package/lib/authoring-entry.js +77 -0
- package/lib/authoring-host-m8-GmXIx.js +348 -0
- package/lib/authoring-host.d.ts +5 -0
- package/lib/authoring-host.js +2 -0
- package/lib/authoring-host.types-BZt9l0xK.d.ts +77 -0
- package/lib/authoring-reference-store.d.ts +39 -0
- package/lib/authoring-reference-store.js +385 -0
- package/lib/authoring-service-WClXJGik.js +347 -0
- package/lib/authoring-service.d.ts +121 -0
- package/lib/authoring-service.js +2 -0
- package/lib/authoring-session.d.ts +5 -0
- package/lib/authoring-session.js +204 -0
- package/lib/authoring-session.types-C6HosIWU.d.ts +58 -0
- package/lib/authoring-sources-BzRuEuub.d.ts +17 -0
- package/lib/authoring-sources.d.ts +2 -0
- package/lib/authoring-sources.js +95 -0
- package/lib/authoring-workbench.d.ts +15 -0
- package/lib/authoring-workbench.js +782 -0
- package/lib/authoring.page-rpc-CYYWsmxc.d.ts +30 -0
- package/lib/authoring.page-rpc.d.ts +2 -0
- package/lib/authoring.page-rpc.js +55 -0
- package/lib/authoring.remote-client.d.ts +2557 -0
- package/lib/authoring.remote-client.js +435 -0
- package/lib/client-adapter-BmIzQcMT.d.ts +65 -0
- package/lib/client-adapter.d.ts +2 -64
- package/lib/client.js +1 -2
- package/lib/css-assets/dsh-design-studio-page/9178281a0695f79ff8bff8eca529231b67f896dc1c12c8dbaaad24b32dd3fc07.eot +0 -0
- package/lib/css-assets/dsh-design-studio-page/b366faf39f6bcc48f10b10f2860e5ebe57091cb2a15beeed8a0977e24560bbba.svg +224 -0
- package/lib/css-assets/dsh-design-studio-page/manifest.json +20 -0
- package/lib/index.js +4 -105
- package/lib/kit-files-DKBlBOG8.js +159 -0
- package/lib/page-client.js +4 -23849
- package/lib/page-path-BkPiqrUH.d.ts +25 -0
- package/lib/page-path.d.ts +2 -2
- package/lib/page-path.js +70 -2
- package/lib/page-rpc-DXbf4seT.d.ts +24 -0
- package/lib/page-rpc.d.ts +2 -15
- package/lib/page-rpc.js +9 -4
- package/lib/page.d.ts +5 -3
- package/lib/page.js +219 -2
- package/lib/remote-method-ab_lHwWN.js +16 -0
- package/lib/typert.host.d.ts +827 -2
- package/lib/typert.host.js +2 -1
- package/lib/typert.remote-client-CWz-anTr.d.ts +37 -0
- package/lib/typert.remote-client.d.ts +1 -36
- package/licenses/dsh-distribution.json +8644 -149
- package/package.json +73 -10
- package/lib/page-path-wn8e_fid.d.ts +0 -14
package/lib/typert.host.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { STUDIO_AUTHORING_REMOTE } from "./authoring.remote-client.js";
|
|
1
2
|
import { TYPERT_REMOTE } from "./typert.remote-client.js";
|
|
2
3
|
//#region src/typert.host.ts
|
|
3
4
|
/** Strict Host Typert contribution for Studio management. */
|
|
@@ -11,7 +12,7 @@ const TYPERT = {
|
|
|
11
12
|
events: [],
|
|
12
13
|
objects: []
|
|
13
14
|
},
|
|
14
|
-
invocations: TYPERT_REMOTE.descriptors
|
|
15
|
+
invocations: [...TYPERT_REMOTE.descriptors, ...STUDIO_AUTHORING_REMOTE.descriptors]
|
|
15
16
|
};
|
|
16
17
|
//#endregion
|
|
17
18
|
export { TYPERT, TYPERT as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#region src/typert.remote-client.d.ts
|
|
2
|
+
/** Strict factory contract; the Host requires a parser, not a validator library. */
|
|
3
|
+
interface StudioStrictCodec {
|
|
4
|
+
readonly mode: 'strict';
|
|
5
|
+
readonly typeSymbol: string;
|
|
6
|
+
readonly create: () => {
|
|
7
|
+
parse(value: unknown): unknown;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
/** Runtime descriptor fields consumed by DSH's Remote registry and page transport. */
|
|
11
|
+
interface StudioRemoteDescriptor {
|
|
12
|
+
readonly id: string;
|
|
13
|
+
readonly service: string;
|
|
14
|
+
readonly namespace: string;
|
|
15
|
+
readonly method: string;
|
|
16
|
+
readonly invocation: {
|
|
17
|
+
readonly kind: 'direct';
|
|
18
|
+
};
|
|
19
|
+
readonly scope?: never;
|
|
20
|
+
readonly parameters: readonly {
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly wire: string;
|
|
23
|
+
readonly source: 'json';
|
|
24
|
+
readonly acceptsUndefined?: true;
|
|
25
|
+
readonly codec: StudioStrictCodec;
|
|
26
|
+
}[];
|
|
27
|
+
readonly result: StudioStrictCodec;
|
|
28
|
+
}
|
|
29
|
+
/** Browser/Host contribution without leaking the validator library's types. */
|
|
30
|
+
interface StudioRemoteContribution {
|
|
31
|
+
readonly package: string;
|
|
32
|
+
readonly descriptors: readonly StudioRemoteDescriptor[];
|
|
33
|
+
}
|
|
34
|
+
/** The `studioManagement` namespace contribution mounted by the browser adapter. */
|
|
35
|
+
declare const TYPERT_REMOTE: StudioRemoteContribution;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { TYPERT_REMOTE as i, StudioRemoteDescriptor as n, StudioStrictCodec as r, StudioRemoteContribution as t };
|
|
@@ -1,37 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
/** Strict factory contract; the Host requires a parser, not a validator library. */
|
|
3
|
-
interface StudioStrictCodec {
|
|
4
|
-
readonly mode: 'strict';
|
|
5
|
-
readonly typeSymbol: string;
|
|
6
|
-
readonly create: () => {
|
|
7
|
-
parse(value: unknown): unknown;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
/** Runtime descriptor fields consumed by DSH's Remote registry and page transport. */
|
|
11
|
-
interface StudioRemoteDescriptor {
|
|
12
|
-
readonly id: string;
|
|
13
|
-
readonly service: string;
|
|
14
|
-
readonly namespace: string;
|
|
15
|
-
readonly method: string;
|
|
16
|
-
readonly invocation: {
|
|
17
|
-
readonly kind: 'direct';
|
|
18
|
-
};
|
|
19
|
-
readonly scope?: never;
|
|
20
|
-
readonly parameters: readonly {
|
|
21
|
-
readonly name: string;
|
|
22
|
-
readonly wire: string;
|
|
23
|
-
readonly source: 'json';
|
|
24
|
-
readonly acceptsUndefined?: true;
|
|
25
|
-
readonly codec: StudioStrictCodec;
|
|
26
|
-
}[];
|
|
27
|
-
readonly result: StudioStrictCodec;
|
|
28
|
-
}
|
|
29
|
-
/** Browser/Host contribution without leaking the validator library's types. */
|
|
30
|
-
interface StudioRemoteContribution {
|
|
31
|
-
readonly package: string;
|
|
32
|
-
readonly descriptors: readonly StudioRemoteDescriptor[];
|
|
33
|
-
}
|
|
34
|
-
/** The `studioManagement` namespace contribution mounted by the browser adapter. */
|
|
35
|
-
declare const TYPERT_REMOTE: StudioRemoteContribution;
|
|
36
|
-
//#endregion
|
|
1
|
+
import { i as TYPERT_REMOTE, n as StudioRemoteDescriptor, r as StudioStrictCodec, t as StudioRemoteContribution } from "./typert.remote-client-CWz-anTr.js";
|
|
37
2
|
export { StudioRemoteContribution, StudioRemoteDescriptor, StudioStrictCodec, TYPERT_REMOTE, TYPERT_REMOTE as default };
|