@pie-players/pie-section-player 0.3.57 → 0.3.59

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.
@@ -1,4 +1,4 @@
1
- import { t as s } from "./defineProperty-8fd4b6d7.js";
1
+ import { t as s } from "./defineProperty-f7fab5da.js";
2
2
  var n = class {
3
3
  constructor() {
4
4
  s(this, "providerId", "desmos"), s(this, "providerName", "Desmos"), s(this, "supportedTypes", [
@@ -1,4 +1,4 @@
1
- import { t as d } from "./defineProperty-8fd4b6d7.js";
1
+ import { t as d } from "./defineProperty-f7fab5da.js";
2
2
  function T(t, e) {
3
3
  if (typeof t != "string" || t.length === 0) return null;
4
4
  try {
@@ -1,4 +1,4 @@
1
- import { RuntimeInputs } from '@pie-players/pie-assessment-toolkit/runtime/internal';
1
+ import { RuntimeConfig, RuntimeInputs } from '@pie-players/pie-assessment-toolkit/runtime/internal';
2
2
  import { ItemEntity } from '@pie-players/pie-players-shared';
3
3
  /**
4
4
  * Resolve the player-runtime view (player tag, attributes, props,
@@ -74,3 +74,12 @@ export declare function resolveSectionPlayerRuntimeState(args: RuntimeInputs): {
74
74
  strategy: import('@pie-players/pie-players-shared').ItemPlayerStrategy;
75
75
  };
76
76
  };
77
+ /**
78
+ * Fold a layout element's `nds-icons` convenience attribute into the
79
+ * `runtime` config handed to the kernel. Only injects when the attribute
80
+ * is explicitly set, so an unset attribute never clobbers a
81
+ * `runtime.ndsIcons` the host provided; when both are present,
82
+ * `runtime.ndsIcons` wins (spread last). Returns the input unchanged when
83
+ * the attribute is unset.
84
+ */
85
+ export declare function mergeNdsIconsIntoRuntime(runtime: RuntimeConfig | null, ndsIcons: boolean | undefined): RuntimeConfig | null;