@syntrologie/adapt-overlays 0.0.0-semantically-released → 2.0.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/cdn.d.ts +35 -0
- package/dist/cdn.d.ts.map +1 -0
- package/dist/cdn.js +39 -0
- package/dist/editor.d.ts +11 -6
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.js +670 -6
- package/dist/modal.d.ts.map +1 -1
- package/dist/modal.js +5 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +6 -6
- package/dist/schema.d.ts +228 -4
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +46 -0
- package/dist/summarize.d.ts +15 -0
- package/dist/summarize.d.ts.map +1 -0
- package/dist/summarize.js +76 -0
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.js +28 -5
- package/dist/types.d.ts +37 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +14 -6
package/dist/cdn.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CDN Entry Point for Adaptive Overlays
|
|
3
|
+
*
|
|
4
|
+
* This module is bundled for CDN delivery and self-registers with the global
|
|
5
|
+
* SynOS app registry when loaded dynamically via the AppLoader.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* App manifest for registry registration.
|
|
9
|
+
* Follows the AppManifest interface expected by AppLoader/AppRegistry.
|
|
10
|
+
*/
|
|
11
|
+
export declare const manifest: {
|
|
12
|
+
id: string;
|
|
13
|
+
version: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
runtime: {
|
|
17
|
+
actions: {
|
|
18
|
+
kind: "overlays:highlight" | "overlays:pulse" | "overlays:badge" | "overlays:tooltip" | "overlays:modal";
|
|
19
|
+
executor: import("./types").ActionExecutor<import("./types").ModalAction> | import("./types").ActionExecutor<import("./types").HighlightAction> | import("./types").ActionExecutor<import("./types").PulseAction> | import("./types").ActionExecutor<import("./types").BadgeAction> | import("./types").ActionExecutor<import("./types").TooltipAction>;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
editor: {
|
|
23
|
+
panel: {
|
|
24
|
+
title: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
component: typeof import("./editor").OverlaysEditor;
|
|
29
|
+
};
|
|
30
|
+
metadata: {
|
|
31
|
+
isBuiltIn: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default manifest;
|
|
35
|
+
//# sourceMappingURL=cdn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdn.d.ts","sourceRoot":"","sources":["../src/cdn.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH;;;GAGG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;CAepB,CAAC;AAaF,eAAe,QAAQ,CAAC"}
|
package/dist/cdn.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CDN Entry Point for Adaptive Overlays
|
|
3
|
+
*
|
|
4
|
+
* This module is bundled for CDN delivery and self-registers with the global
|
|
5
|
+
* SynOS app registry when loaded dynamically via the AppLoader.
|
|
6
|
+
*/
|
|
7
|
+
import { editor } from './editor';
|
|
8
|
+
import { executors, runtime } from './runtime';
|
|
9
|
+
/**
|
|
10
|
+
* App manifest for registry registration.
|
|
11
|
+
* Follows the AppManifest interface expected by AppLoader/AppRegistry.
|
|
12
|
+
*/
|
|
13
|
+
export const manifest = {
|
|
14
|
+
id: runtime.id,
|
|
15
|
+
version: runtime.version,
|
|
16
|
+
name: runtime.name,
|
|
17
|
+
description: runtime.description,
|
|
18
|
+
runtime: {
|
|
19
|
+
actions: executors.map(({ kind, executor }) => ({
|
|
20
|
+
kind,
|
|
21
|
+
executor,
|
|
22
|
+
})),
|
|
23
|
+
},
|
|
24
|
+
editor,
|
|
25
|
+
metadata: {
|
|
26
|
+
isBuiltIn: true,
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Self-register with global registry if available.
|
|
31
|
+
* This happens when loaded via script tag (UMD).
|
|
32
|
+
*/
|
|
33
|
+
if (typeof window !== 'undefined') {
|
|
34
|
+
const registry = window.SynOS?.appRegistry;
|
|
35
|
+
if (registry && typeof registry.register === 'function') {
|
|
36
|
+
registry.register(manifest);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export default manifest;
|
package/dist/editor.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Adaptive Overlays - Editor
|
|
2
|
+
* Adaptive Overlays - Editor Component
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* Review & tweak editor for AI-generated overlay configurations.
|
|
5
|
+
* Displays a scannable list of one-liner summaries grouped by type.
|
|
6
|
+
* Tours show a drill-in step list. Clicking an item highlights it on page.
|
|
5
7
|
*/
|
|
6
8
|
import type { EditorPanelProps } from './types';
|
|
7
|
-
|
|
8
|
-
* Overlays editor panel component.
|
|
9
|
-
*/
|
|
10
|
-
export declare function OverlaysEditor({ config: _config, onChange: _onChange, editor: _editor, }: EditorPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function OverlaysEditor({ config, onChange, editor }: EditorPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
/**
|
|
12
11
|
* Editor module configuration.
|
|
13
12
|
*/
|
|
@@ -19,4 +18,10 @@ export declare const editor: {
|
|
|
19
18
|
};
|
|
20
19
|
component: typeof OverlaysEditor;
|
|
21
20
|
};
|
|
21
|
+
export declare const editorPanel: {
|
|
22
|
+
title: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
export default OverlaysEditor;
|
|
22
27
|
//# sourceMappingURL=editor.d.ts.map
|
package/dist/editor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../src/editor.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../src/editor.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,KAAK,EAAE,gBAAgB,EAAY,MAAM,SAAS,CAAC;AAwe1D,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,gBAAgB,2CA6f5E;AAED;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;CAOlB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAAe,CAAC;AAExC,eAAe,cAAc,CAAC"}
|