@qaiddev/thumbs-embed 1.12.2 → 1.13.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 +61 -5
- package/dist/bootstrap.d.ts +29 -4
- package/dist/chunks/annotate-1zompTEi.js +2 -0
- package/dist/chunks/annotate-1zompTEi.js.map +1 -0
- package/dist/chunks/core-vu1EieDc.js +26 -0
- package/dist/chunks/core-vu1EieDc.js.map +1 -0
- package/dist/chunks/dom-kdwHduNo.js +2 -0
- package/dist/chunks/dom-kdwHduNo.js.map +1 -0
- package/dist/chunks/html2canvas.esm-Csbr1w14.js +6 -0
- package/dist/chunks/html2canvas.esm-Csbr1w14.js.map +1 -0
- package/dist/chunks/modal-5G2DhiUE.js +2 -0
- package/dist/chunks/modal-5G2DhiUE.js.map +1 -0
- package/dist/chunks/{recording-BUw5-5Rf.js → recording-CVwPTtB0.js} +2 -2
- package/dist/chunks/{recording-BUw5-5Rf.js.map → recording-CVwPTtB0.js.map} +1 -1
- package/dist/chunks/screenshot-dom-DO-0UlOz.js +2 -0
- package/dist/chunks/screenshot-dom-DO-0UlOz.js.map +1 -0
- package/dist/chunks/send-C3IvslZA.js +2 -0
- package/dist/chunks/send-C3IvslZA.js.map +1 -0
- package/dist/chunks/{targeting-CMUEe-7C.js → targeting-Bpbt68Pp.js} +2 -6
- package/dist/chunks/{targeting-CMUEe-7C.js.map → targeting-Bpbt68Pp.js.map} +1 -1
- package/dist/dom.d.ts +0 -2
- package/dist/embed-loader.d.ts +7 -0
- package/dist/embed.js +1 -1
- package/dist/embed.js.map +1 -1
- package/dist/icons.d.ts +2 -0
- package/dist/index.js +6628 -1530
- package/dist/index.js.map +1 -1
- package/dist/loader.js +1 -1
- package/dist/loader.js.map +1 -1
- package/dist/origin-key.d.ts +7 -0
- package/dist/qaid.umd.cjs +17 -17
- package/dist/qaid.umd.cjs.map +1 -1
- package/dist/quest-config.d.ts +27 -2
- package/dist/quest-launcher.d.ts +12 -0
- package/dist/screenshot-dom.d.ts +7 -5
- package/dist/svg-sanitize.d.ts +35 -0
- package/dist/trusted-types.d.ts +29 -0
- package/package.json +4 -2
- package/dist/chunks/annotate-DGyRcgPt.js +0 -2
- package/dist/chunks/annotate-DGyRcgPt.js.map +0 -1
- package/dist/chunks/core-BsR7oV99.js +0 -26
- package/dist/chunks/core-BsR7oV99.js.map +0 -1
- package/dist/chunks/dom-scpOS8nl.js +0 -2
- package/dist/chunks/dom-scpOS8nl.js.map +0 -1
- package/dist/chunks/modal-DYxcs1Gm.js +0 -2
- package/dist/chunks/modal-DYxcs1Gm.js.map +0 -1
- package/dist/chunks/screenshot-dom-ZYP2w2h0.js +0 -2
- package/dist/chunks/screenshot-dom-ZYP2w2h0.js.map +0 -1
- package/dist/chunks/send-C26DRoYc.js +0 -2
- package/dist/chunks/send-C26DRoYc.js.map +0 -1
package/dist/loader.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as o}from"./chunks/core-vu1EieDc.js";import{Q as r}from"./chunks/core-vu1EieDc.js";o(import.meta.url);export{r as QaidFeedback};
|
|
2
2
|
//# sourceMappingURL=loader.js.map
|
package/dist/loader.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader.js","sources":["../src/loader.ts"],"sourcesContent":["/**\n * Minimal ESM loader entry for progressive delivery.\n *\n * ```html\n * <script type=\"module\" src=\"…/loader.js\" data-endpoint=\"/api/feedback\"></script>\n * ```\n *\n * Ships only the core (the buttons, their styles, the config parser). The\n * click path (send flow, message box, element targeting) loads as separate\n * chunks when the pointer or focus reaches the buttons, or on idle. Screenshot\n * capture, the annotation editor, and the video subsystem (including\n * redaction) load on demand the first time each is used — so a visitor who\n * only gives a thumbs-up never downloads them.\n *\n * The full programmatic API (createVideoRecorder, openAnnotationEditor, …)\n * lives on the package's main entry (`@qaiddev/thumbs-embed`).\n */\n\nimport { QaidFeedback } from \"./embed\";\nimport { autoInit } from \"./bootstrap\";\n\nexport { QaidFeedback };\nexport type { FeedbackConfig } from \"./types\";\n\nautoInit();\n"],"names":["autoInit"],"mappings":"4FAwBAA,
|
|
1
|
+
{"version":3,"file":"loader.js","sources":["../src/loader.ts"],"sourcesContent":["/**\n * Minimal ESM loader entry for progressive delivery.\n *\n * ```html\n * <script type=\"module\" src=\"…/loader.js\" data-endpoint=\"/api/feedback\"></script>\n * ```\n *\n * Ships only the core (the buttons, their styles, the config parser). The\n * click path (send flow, message box, element targeting) loads as separate\n * chunks when the pointer or focus reaches the buttons, or on idle. Screenshot\n * capture, the annotation editor, and the video subsystem (including\n * redaction) load on demand the first time each is used — so a visitor who\n * only gives a thumbs-up never downloads them.\n *\n * The full programmatic API (createVideoRecorder, openAnnotationEditor, …)\n * lives on the package's main entry (`@qaiddev/thumbs-embed`).\n */\n\nimport { QaidFeedback } from \"./embed\";\nimport { autoInit } from \"./bootstrap\";\n\nexport { QaidFeedback };\nexport type { FeedbackConfig } from \"./types\";\n\nautoInit(import.meta.url);\n"],"names":["autoInit"],"mappings":"4FAwBAA,EAAS,YAAY,GAAG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The property embed.js sets on the tag it injects, pointing back at the
|
|
3
|
+
* customer's own `<script src=".../embed.js">`. An expando, not an attribute:
|
|
4
|
+
* markup injected into the page can't forge it. Its own module so embed.js
|
|
5
|
+
* (ES5, tiny) can share it with the bootstrap without pulling the bootstrap in.
|
|
6
|
+
*/
|
|
7
|
+
export declare var ORIGIN_KEY_NAME: string;
|