@myrmidon/gve-snapshot-rendition 2.0.2 → 2.0.4
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 +2 -2
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.js +174 -6
- package/dist/index.js.map +1 -1
- package/dist/src/core/gve-snapshot-rendition.d.ts +9 -0
- package/dist/src/hint-designer/gve-hint-designer.d.ts +11 -0
- package/package.json +1 -1
|
@@ -48,6 +48,7 @@ export declare class GveSnapshotRendition extends HTMLElement {
|
|
|
48
48
|
private _currentVersionIndex;
|
|
49
49
|
private _autoForwardEnabled;
|
|
50
50
|
private _autoForwardTimerId;
|
|
51
|
+
private _renderScheduled;
|
|
51
52
|
constructor();
|
|
52
53
|
/**
|
|
53
54
|
* Observed attributes for the web component.
|
|
@@ -114,6 +115,14 @@ export declare class GveSnapshotRendition extends HTMLElement {
|
|
|
114
115
|
* Reset layout to default panel sizes by reloading the default config.
|
|
115
116
|
*/
|
|
116
117
|
resetLayout(): void;
|
|
118
|
+
/**
|
|
119
|
+
* Coalesce concurrent render requests into a single call.
|
|
120
|
+
* Multiple same-turn invocations (e.g. settings setter + data setter both
|
|
121
|
+
* firing in the same Angular expression) collapse into one microtask render,
|
|
122
|
+
* always running after all synchronous assignments have completed so the
|
|
123
|
+
* latest data is used.
|
|
124
|
+
*/
|
|
125
|
+
private scheduleRenderContent;
|
|
117
126
|
/**
|
|
118
127
|
* Render content (base text only - starts at v0).
|
|
119
128
|
* Use goToVersionIndex() to navigate to specific versions.
|
|
@@ -279,6 +279,10 @@ export declare class GveHintDesigner extends HTMLElement {
|
|
|
279
279
|
* Clear all data.
|
|
280
280
|
*/
|
|
281
281
|
private clearData;
|
|
282
|
+
/**
|
|
283
|
+
* Export the current hint as an InkScape-compatible SVG file.
|
|
284
|
+
*/
|
|
285
|
+
private exportToInkscape;
|
|
282
286
|
/**
|
|
283
287
|
* Load animation code from catalog.
|
|
284
288
|
*/
|
|
@@ -314,6 +318,13 @@ export declare class GveHintDesigner extends HTMLElement {
|
|
|
314
318
|
* Refresh the variables table.
|
|
315
319
|
*/
|
|
316
320
|
private refreshVariablesTable;
|
|
321
|
+
/**
|
|
322
|
+
* Update the highlighted state of all Hint Properties form rows.
|
|
323
|
+
* Rows whose value differs from the default get the form-row--modified class.
|
|
324
|
+
*/
|
|
325
|
+
private updateFormFieldHighlights;
|
|
326
|
+
private isOffsetModified;
|
|
327
|
+
private setFormRowModified;
|
|
317
328
|
/**
|
|
318
329
|
* Show a message in the message panel.
|
|
319
330
|
*/
|