@pie-qti/player-elements 0.1.21 → 0.1.23

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.
Files changed (59) hide show
  1. package/dist/{define-XpbOHJoz.js → define-CqE08oOW.js} +3486 -2816
  2. package/dist/define-CqE08oOW.js.map +1 -0
  3. package/dist/{dist-CU6ScSS-.js → dist-B1Rc9Jhz.js} +4 -4
  4. package/dist/{dist-CU6ScSS-.js.map → dist-B1Rc9Jhz.js.map} +1 -1
  5. package/dist/dist-CQEJemjs.js +5061 -0
  6. package/dist/dist-CQEJemjs.js.map +1 -0
  7. package/dist/{dist-4hIHy9-L.js → dist-CsEP48m1.js} +2369 -2677
  8. package/dist/dist-CsEP48m1.js.map +1 -0
  9. package/dist/{dist-CxqtFqGy.js → dist-DQ_jFQFX.js} +22 -13
  10. package/dist/dist-DQ_jFQFX.js.map +1 -0
  11. package/dist/{element-DNnKo2Uk.js → element-DU-n15ch.js} +2 -2
  12. package/dist/{element-DNnKo2Uk.js.map → element-DU-n15ch.js.map} +1 -1
  13. package/dist/{element-class-iN9MRyjF-D6u8ACFm.js → element-class-DBV-1lkb-BeszDwN_.js} +2402 -2400
  14. package/dist/element-class-DBV-1lkb-BeszDwN_.js.map +1 -0
  15. package/dist/elements.js +3 -3
  16. package/dist/index.js +3 -3
  17. package/dist/item-toolbar-element-iE73NEkH.js +1922 -0
  18. package/dist/item-toolbar-element-iE73NEkH.js.map +1 -0
  19. package/dist/mathlive.min-3RSVNrlY-rQOKt03P.js +4 -0
  20. package/dist/mathlive.min-3RSVNrlY-rQOKt03P.js.map +1 -0
  21. package/dist/pie-assessment-toolkit-element-BGOTMhdG.js +8300 -0
  22. package/dist/pie-assessment-toolkit-element-BGOTMhdG.js.map +1 -0
  23. package/dist/pie-tool-calculator-CkQb5qxg.js +2243 -0
  24. package/dist/pie-tool-calculator-CkQb5qxg.js.map +1 -0
  25. package/dist/register-players.js +1 -1
  26. package/dist/register-players.js.map +1 -1
  27. package/dist/register.js +8227 -10359
  28. package/dist/register.js.map +1 -1
  29. package/dist/{resolveItems-hMDtJOXa.js → resolveItems-DhQQhD2k.js} +1808 -2164
  30. package/dist/resolveItems-DhQQhD2k.js.map +1 -0
  31. package/dist/{chunk-foFoljWS.js → rolldown-runtime-CEFd7nDs.js} +10 -3
  32. package/dist/{root--0fyaoNu.js → root-Dqg3cyBt.js} +12 -12
  33. package/dist/root-Dqg3cyBt.js.map +1 -0
  34. package/dist/{sre-CFPLI6BY.js → sre-BD1SyGce.js} +105 -85
  35. package/dist/{sre-CFPLI6BY.js.map → sre-BD1SyGce.js.map} +1 -1
  36. package/dist/tool-tts-inline-CA3VjWU4.js +3670 -0
  37. package/dist/tool-tts-inline-CA3VjWU4.js.map +1 -0
  38. package/dist/{tag-names-ClLtKtXt.js → types-BFOGFD4R.js} +4 -22
  39. package/dist/types-BFOGFD4R.js.map +1 -0
  40. package/package.json +8 -8
  41. package/dist/define-XpbOHJoz.js.map +0 -1
  42. package/dist/dist-4hIHy9-L.js.map +0 -1
  43. package/dist/dist-CxqtFqGy.js.map +0 -1
  44. package/dist/dist-Nkkk25AH.js +0 -1275
  45. package/dist/dist-Nkkk25AH.js.map +0 -1
  46. package/dist/element-class-iN9MRyjF-D6u8ACFm.js.map +0 -1
  47. package/dist/item-toolbar-element-3k36WOlC.js +0 -6086
  48. package/dist/item-toolbar-element-3k36WOlC.js.map +0 -1
  49. package/dist/mathlive.min-DeR46YTX-DamfKay_.js +0 -38802
  50. package/dist/mathlive.min-DeR46YTX-DamfKay_.js.map +0 -1
  51. package/dist/pie-assessment-toolkit-element-CP-OMtE6.js +0 -28516
  52. package/dist/pie-assessment-toolkit-element-CP-OMtE6.js.map +0 -1
  53. package/dist/pie-tool-calculator-VzYEjxiY.js +0 -2309
  54. package/dist/pie-tool-calculator-VzYEjxiY.js.map +0 -1
  55. package/dist/resolveItems-hMDtJOXa.js.map +0 -1
  56. package/dist/root--0fyaoNu.js.map +0 -1
  57. package/dist/tag-names-ClLtKtXt.js.map +0 -1
  58. package/dist/tool-tts-inline-B-xT_sdY.js +0 -2641
  59. package/dist/tool-tts-inline-B-xT_sdY.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"root--0fyaoNu.js","names":[],"sources":["../../../node_modules/.bun/@pie-players+pie-context@0.3.53/node_modules/@pie-players/pie-context/dist/provider.js","../../../node_modules/.bun/@pie-players+pie-context@0.3.53/node_modules/@pie-players/pie-context/dist/root.js"],"sourcesContent":["import { ContextProviderEvent, ContextRequestEvent } from \"./events.js\";\nexport class ContextProvider {\n host;\n context;\n currentValue;\n subscriptions = new Map();\n isConnected = false;\n constructor(host, options) {\n this.host = host;\n this.context = options.context;\n this.currentValue = options.initialValue;\n }\n connect() {\n if (this.isConnected)\n return;\n this.isConnected = true;\n this.host.addEventListener(\"context-request\", this.handleContextRequest);\n this.host.addEventListener(\"context-provider\", this.handleContextProvider);\n this.host.dispatchEvent(new ContextProviderEvent(this.context, this.host));\n }\n disconnect() {\n if (!this.isConnected)\n return;\n this.isConnected = false;\n this.host.removeEventListener(\"context-request\", this.handleContextRequest);\n this.host.removeEventListener(\"context-provider\", this.handleContextProvider);\n this.subscriptions.clear();\n }\n setValue(value, force = false) {\n if (!force && Object.is(this.currentValue, value))\n return;\n this.currentValue = value;\n this.notifySubscribers();\n }\n get value() {\n return this.currentValue;\n }\n getContextTarget(event, fallback) {\n if (\"contextTarget\" in event && event.contextTarget) {\n return event.contextTarget;\n }\n const path = typeof event.composedPath === \"function\" ? event.composedPath() : [];\n const firstPathTarget = path[0];\n return firstPathTarget ? firstPathTarget : fallback;\n }\n handleContextRequest = (event) => {\n if (event.context !== this.context)\n return;\n const consumerHost = this.getContextTarget(event, this.host);\n if (consumerHost === this.host)\n return;\n // Closest provider wins for this context key.\n event.stopPropagation();\n if (!event.subscribe) {\n event.callback(this.currentValue);\n return;\n }\n const existing = this.subscriptions.get(event.callback);\n existing?.unsubscribe();\n const unsubscribe = () => {\n this.subscriptions.delete(event.callback);\n };\n this.subscriptions.set(event.callback, {\n consumerHost,\n callback: event.callback,\n unsubscribe,\n });\n event.callback(this.currentValue, unsubscribe);\n };\n handleContextProvider = (event) => {\n if (event.context !== this.context)\n return;\n const providerHost = this.getContextTarget(event, this.host);\n if (providerHost === this.host)\n return;\n // A newly connected nested provider should take over matching consumers.\n const seen = new Set();\n for (const [callback, { consumerHost }] of this.subscriptions) {\n if (seen.has(callback))\n continue;\n seen.add(callback);\n consumerHost.dispatchEvent(new ContextRequestEvent(this.context, consumerHost, callback, true));\n }\n event.stopPropagation();\n };\n notifySubscribers() {\n for (const subscription of this.subscriptions.values()) {\n subscription.callback(this.currentValue, subscription.unsubscribe);\n }\n }\n}\nexport const provideContext = (host, options) => new ContextProvider(host, options);\n//# sourceMappingURL=provider.js.map","import { ContextRequestEvent } from \"./events.js\";\nconst getLivePending = (pending) => {\n const requests = [];\n for (const entry of pending) {\n if (entry.requestorRef.deref() && entry.callbackRef.deref()) {\n requests.push(entry);\n }\n }\n return requests;\n};\nexport class ContextRoot {\n host;\n pendingByContext = new Map();\n attached = false;\n constructor(host) {\n this.host = host;\n }\n attach() {\n if (this.attached)\n return;\n this.attached = true;\n this.host.addEventListener(\"context-request\", this.onContextRequest);\n this.host.addEventListener(\"context-provider\", this.onContextProvider);\n }\n detach() {\n if (!this.attached)\n return;\n this.attached = false;\n this.host.removeEventListener(\"context-request\", this.onContextRequest);\n this.host.removeEventListener(\"context-provider\", this.onContextProvider);\n this.pendingByContext.clear();\n }\n onContextRequest = (event) => {\n if (!event.subscribe)\n return;\n let pending = this.pendingByContext.get(event.context);\n if (!pending) {\n pending = {\n callbacks: new WeakMap(),\n requests: [],\n };\n this.pendingByContext.set(event.context, pending);\n }\n const requestor = event.contextTarget;\n const callback = event.callback;\n let seenForRequestor = pending.callbacks.get(requestor);\n if (!seenForRequestor) {\n seenForRequestor = new WeakSet();\n pending.callbacks.set(requestor, seenForRequestor);\n }\n if (seenForRequestor.has(callback))\n return;\n seenForRequestor.add(callback);\n pending.requests.push({\n requestorRef: new WeakRef(requestor),\n callbackRef: new WeakRef(callback),\n });\n pending.requests = getLivePending(pending.requests);\n };\n onContextProvider = (event) => {\n const pending = this.pendingByContext.get(event.context);\n if (!pending || pending.requests.length === 0)\n return;\n this.pendingByContext.delete(event.context);\n for (const entry of pending.requests) {\n const requestor = entry.requestorRef.deref();\n const callback = entry.callbackRef.deref();\n if (!requestor || !callback)\n continue;\n requestor.dispatchEvent(new ContextRequestEvent(event.context, requestor, callback, true));\n }\n };\n}\n//# sourceMappingURL=root.js.map"],"x_google_ignoreList":[0,1],"mappings":";;AACA,IAAa,IAAb,MAA6B;CACzB;CACA;CACA;CACA,gCAAgB,IAAI,KAAK;CACzB,cAAc;CACd,YAAY,GAAM,GAAS;AAGvB,EAFA,KAAK,OAAO,GACZ,KAAK,UAAU,EAAQ,SACvB,KAAK,eAAe,EAAQ;;CAEhC,UAAU;AACF,OAAK,gBAET,KAAK,cAAc,IACnB,KAAK,KAAK,iBAAiB,mBAAmB,KAAK,qBAAqB,EACxE,KAAK,KAAK,iBAAiB,oBAAoB,KAAK,sBAAsB,EAC1E,KAAK,KAAK,cAAc,IAAI,EAAqB,KAAK,SAAS,KAAK,KAAK,CAAC;;CAE9E,aAAa;AACJ,OAAK,gBAEV,KAAK,cAAc,IACnB,KAAK,KAAK,oBAAoB,mBAAmB,KAAK,qBAAqB,EAC3E,KAAK,KAAK,oBAAoB,oBAAoB,KAAK,sBAAsB,EAC7E,KAAK,cAAc,OAAO;;CAE9B,SAAS,GAAO,IAAQ,IAAO;AACvB,GAAC,KAAS,OAAO,GAAG,KAAK,cAAc,EAAM,KAEjD,KAAK,eAAe,GACpB,KAAK,mBAAmB;;CAE5B,IAAI,QAAQ;AACR,SAAO,KAAK;;CAEhB,iBAAiB,GAAO,GAAU;AAM9B,SALI,mBAAmB,KAAS,EAAM,gBAC3B,EAAM,iBAEJ,OAAO,EAAM,gBAAiB,aAAa,EAAM,cAA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../node_modules/.bun/@pie-players+pie-context@0.3.53/node_modules/@pie-players/pie-context/dist/events.js","../../../node_modules/.bun/@pie-players+pie-context@0.3.53/node_modules/@pie-players/pie-context/dist/consumer.js","../../../node_modules/.bun/@pie-players+pie-context@0.3.53/node_modules/@pie-players/pie-context/dist/types.js","../../../node_modules/.bun/@pie-players+pie-players-shared@0.3.53/node_modules/@pie-players/pie-players-shared/dist/pie/tag-names.js"],"sourcesContent":["export class ContextRequestEvent extends Event {\n context;\n contextTarget;\n callback;\n subscribe;\n constructor(context, contextTarget, callback, subscribe) {\n super(\"context-request\", { bubbles: true, composed: true });\n this.context = context;\n this.contextTarget = contextTarget;\n this.callback = callback;\n this.subscribe = subscribe ?? false;\n }\n}\nexport class ContextProviderEvent extends Event {\n context;\n contextTarget;\n constructor(context, contextTarget) {\n super(\"context-provider\", { bubbles: true, composed: true });\n this.context = context;\n this.contextTarget = contextTarget;\n }\n}\n//# sourceMappingURL=events.js.map","import { ContextRequestEvent } from \"./events.js\";\nexport class ContextConsumer {\n host;\n context;\n subscribe;\n onValue;\n isConnected = false;\n unsubscribe;\n currentValue;\n constructor(host, options) {\n this.host = host;\n this.context = options.context;\n this.subscribe = options.subscribe ?? true;\n this.onValue = options.onValue;\n }\n connect() {\n if (this.isConnected)\n return;\n this.isConnected = true;\n this.requestValue();\n }\n disconnect() {\n if (!this.isConnected)\n return;\n this.isConnected = false;\n this.unsubscribe?.();\n this.unsubscribe = undefined;\n }\n get value() {\n return this.currentValue;\n }\n handleValue = (value, unsubscribe) => {\n if (unsubscribe !== this.unsubscribe) {\n this.unsubscribe?.();\n this.unsubscribe = unsubscribe;\n }\n if (!this.subscribe && this.unsubscribe) {\n this.unsubscribe();\n this.unsubscribe = undefined;\n }\n this.currentValue = value;\n this.onValue?.(value);\n };\n requestValue() {\n this.host.dispatchEvent(new ContextRequestEvent(this.context, this.host, this.handleValue, this.subscribe));\n }\n}\nexport const consumeContext = (host, options) => new ContextConsumer(host, options);\nexport const requestContext = (host, context) => {\n let value;\n host.dispatchEvent(new ContextRequestEvent(context, host, (nextValue) => {\n value = nextValue;\n }, false));\n return value;\n};\n//# sourceMappingURL=consumer.js.map","export const createContext = (key) => key;\n//# sourceMappingURL=types.js.map","/**\n * Custom element tag helpers for PIE runtime loaders/players.\n */\nconst RESERVED_TAG_NAMES = new Set([\n \"annotation-xml\",\n \"color-profile\",\n \"font-face\",\n \"font-face-src\",\n \"font-face-uri\",\n \"font-face-format\",\n \"font-face-name\",\n \"missing-glyph\",\n]);\nconst TAG_FORMAT = /^[a-z][a-z0-9._-]*-[a-z0-9._-]*$/;\nexport const VIEW_TAG_SUFFIX = {\n delivery: \"\",\n author: \"-config\",\n print: \"-print\",\n};\n/**\n * Validate a custom element tag name according to platform constraints.\n */\nexport const validateCustomElementTag = (name, context = \"custom element tag\") => {\n if (!name || typeof name !== \"string\") {\n throw new Error(`Invalid ${context}: expected a non-empty string`);\n }\n const normalized = name.trim();\n if (!normalized) {\n throw new Error(`Invalid ${context}: tag is empty`);\n }\n if (normalized !== normalized.toLowerCase()) {\n throw new Error(`Invalid ${context} \"${normalized}\": custom element names must be lowercase`);\n }\n if (!normalized.includes(\"-\")) {\n throw new Error(`Invalid ${context} \"${normalized}\": custom element names must include a hyphen`);\n }\n if (RESERVED_TAG_NAMES.has(normalized)) {\n throw new Error(`Invalid ${context} \"${normalized}\": this name is reserved by the HTML spec`);\n }\n if (!TAG_FORMAT.test(normalized)) {\n throw new Error(`Invalid ${context} \"${normalized}\": allowed characters are lowercase letters, numbers, \".\", \"_\" and \"-\"`);\n }\n return normalized;\n};\n/**\n * Create a deterministic tag for a view-specific element class.\n */\nexport const toViewTag = (baseTag, view, customSuffix) => {\n const suffix = customSuffix ??\n (VIEW_TAG_SUFFIX[view] !== undefined\n ? VIEW_TAG_SUFFIX[view]\n : \"\");\n return `${baseTag}${suffix}`;\n};\n/**\n * Build a safe print tag by appending a deterministic, positive hash suffix.\n */\nexport const toPrintHashedTag = (baseTag, hashSource, hashFn) => {\n const hash = Math.abs(hashFn(hashSource));\n return `${baseTag}-print-${hash}`;\n};\n//# sourceMappingURL=tag-names.js.map"],"x_google_ignoreList":[0,1,2,3],"mappings":";AAAA,IAAa,IAAb,cAAyC,MAAM;CAC3C;CACA;CACA;CACA;CACA,YAAY,GAAS,GAAe,GAAU,GAAW;AAKrD,EAJA,MAAM,mBAAmB;GAAE,SAAS;GAAM,UAAU;GAAM,CAAC,EAC3D,KAAK,UAAU,GACf,KAAK,gBAAgB,GACrB,KAAK,WAAW,GAChB,KAAK,YAAY,KAAa;;GAGzB,IAAb,cAA0C,MAAM;CAC5C;CACA;CACA,YAAY,GAAS,GAAe;AAGhC,EAFA,MAAM,oBAAoB;GAAE,SAAS;GAAM,UAAU;GAAM,CAAC,EAC5D,KAAK,UAAU,GACf,KAAK,gBAAgB;;GClBhB,IAAb,MAA6B;CACzB;CACA;CACA;CACA;CACA,cAAc;CACd;CACA;CACA,YAAY,GAAM,GAAS;AAIvB,EAHA,KAAK,OAAO,GACZ,KAAK,UAAU,EAAQ,SACvB,KAAK,YAAY,EAAQ,aAAa,IACtC,KAAK,UAAU,EAAQ;;CAE3B,UAAU;AACF,OAAK,gBAET,KAAK,cAAc,IACnB,KAAK,cAAc;;CAEvB,aAAa;AACJ,OAAK,gBAEV,KAAK,cAAc,IACnB,KAAK,eAAe,EACpB,KAAK,cAAc,KAAA;;CAEvB,IAAI,QAAQ;AACR,SAAO,KAAK;;CAEhB,eAAe,GAAO,MAAgB;AAUlC,EATI,MAAgB,KAAK,gBACrB,KAAK,eAAe,EACpB,KAAK,cAAc,IAEnB,CAAC,KAAK,aAAa,KAAK,gBACxB,KAAK,aAAa,EAClB,KAAK,cAAc,KAAA,IAEvB,KAAK,eAAe,GACpB,KAAK,UAAU,EAAM;;CAEzB,eAAe;AACX,OAAK,KAAK,cAAc,IAAI,EAAoB,KAAK,SAAS,KAAK,MAAM,KAAK,aAAa,KAAK,UAAU,CAAC;;GAItG,KAAkB,GAAM,MAA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