@qaiddev/thumbs-embed 1.9.1 → 1.10.0
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 -3
- package/dist/chunks/{loader-DepVS4i5.js → loader-BVNyi56k.js} +335 -287
- package/dist/chunks/loader-BVNyi56k.js.map +1 -0
- package/dist/chunks/{modal-CEfcaIQR.js → modal-DwwbWQ-F.js} +82 -75
- package/dist/chunks/modal-DwwbWQ-F.js.map +1 -0
- package/dist/embed.d.ts +17 -1
- package/dist/index.js +435 -380
- package/dist/index.js.map +1 -1
- package/dist/loader.js +1 -1
- package/dist/modal.d.ts +8 -2
- package/dist/qaid.umd.cjs +12 -12
- package/dist/qaid.umd.cjs.map +1 -1
- package/dist/quest-launcher.d.ts +24 -4
- package/package.json +1 -1
- package/dist/chunks/loader-DepVS4i5.js.map +0 -1
- package/dist/chunks/modal-CEfcaIQR.js.map +0 -1
package/dist/loader.js
CHANGED
package/dist/modal.d.ts
CHANGED
|
@@ -17,8 +17,12 @@ export interface ModalHost {
|
|
|
17
17
|
/** Live references — the toggle mutates feedbackType; positioning reads bounds. */
|
|
18
18
|
readonly feedbackData: FeedbackData;
|
|
19
19
|
readonly selectedBounds: SelectedBounds;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
/**
|
|
21
|
+
* The id of this feedback's record. The modal opens while the POST that
|
|
22
|
+
* creates it is still in flight, so every PATCH waits on this; null when
|
|
23
|
+
* the POST failed.
|
|
24
|
+
*/
|
|
25
|
+
whenFeedbackId(): Promise<number | null>;
|
|
22
26
|
ensureOverlayHost(): ShadowRoot;
|
|
23
27
|
applyVars(el: HTMLElement): void;
|
|
24
28
|
announceMsg(message: string, assertive?: boolean): void;
|
|
@@ -34,6 +38,8 @@ export declare class ModalController {
|
|
|
34
38
|
private host;
|
|
35
39
|
private modalContainer;
|
|
36
40
|
private backdrop;
|
|
41
|
+
/** Set once the message is sent, so closing does not PATCH over it. */
|
|
42
|
+
private finalized;
|
|
37
43
|
constructor(host: ModalHost);
|
|
38
44
|
open(): void;
|
|
39
45
|
/** Escape / external close. Runs the finalize-PATCH + teardown. */
|