@viamedici-spc/configurator-framer-bundle 2.1.0 → 2.1.1

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/dist/index.cjs CHANGED
@@ -1151,7 +1151,7 @@ ${c}`);case dt.SessionParametersInvalid:return a(`Configuration Session paramete
1151
1151
  overflow: hidden;
1152
1152
  white-space: nowrap;
1153
1153
  text-overflow: ellipsis;
1154
- `;function Zut(e){const{explainQuestion:t}=bm(),{configurationSubjectTitle:n,componentDecisionStateIncludedLabel:r,componentDecisionStateExcludedLabel:i,booleanDecisionStateFalseLabel:a,booleanDecisionStateTrueLabel:o,isBlockedSuffix:u,isNotSatisfiedSuffix:c,generalConflictTitle:s}=gme();if(!t)return J.jsx("div",{...e,children:s});const f=Qe(t).returnType().with({subject:Lt.configuration},()=>n).with({subject:Lt.attribute},d=>p7(d.attributeId)??d.attributeId.localId).with({subject:Lt.choiceValue},d=>D2(d.attributeId)[d.choiceValueId]??d.choiceValueId).with({subject:Lt.component,state:xt.Included},()=>r).with({subject:Lt.component,state:xt.Excluded},()=>i).with({subject:Lt.boolean,state:!0},()=>o).with({subject:Lt.boolean,state:!1},()=>a).with({subject:Lt.numeric},d=>d.state.toString()).exhaustive(),l=Qe(t).returnType().with({question:ci.whyIsStateNotPossible},()=>u).with({question:ci.whyIsNotSatisfied},()=>c).exhaustive();return J.jsxs("div",{...e,children:[J.jsx(Jnr,{children:f})," ",l]})}const Ynr=St.div`
1154
+ `;function Zut(e){const{explainQuestion:t}=bm(),{configurationSubjectTitle:n,componentDecisionStateIncludedLabel:r,componentDecisionStateExcludedLabel:i,booleanDecisionStateFalseLabel:a,booleanDecisionStateTrueLabel:o,isBlockedSuffix:u,isNotSatisfiedSuffix:c,generalConflictTitle:s}=gme();if(!t)return J.jsx("div",{...e,children:s});const f=Qe(t).returnType().with({subject:Lt.configuration},()=>n).with({subject:Lt.attribute},d=>p7(d.attributeId)??d.attributeId.localId).with({subject:Lt.choiceValue},d=>D2(d.attributeId).get(d.choiceValueId)??d.choiceValueId).with({subject:Lt.component,state:xt.Included},()=>r).with({subject:Lt.component,state:xt.Excluded},()=>i).with({subject:Lt.boolean,state:!0},()=>o).with({subject:Lt.boolean,state:!1},()=>a).with({subject:Lt.numeric},d=>d.state.toString()).exhaustive(),l=Qe(t).returnType().with({question:ci.whyIsStateNotPossible},()=>u).with({question:ci.whyIsNotSatisfied},()=>c).exhaustive();return J.jsxs("div",{...e,children:[J.jsx(Jnr,{children:f})," ",l]})}const Ynr=St.div`
1155
1155
  position: sticky;
1156
1156
  top: 0;
1157
1157
  transition: all 0.1s;
package/dist/index.js CHANGED
@@ -97856,7 +97856,7 @@ function vct(e) {
97856
97856
  } = Nme();
97857
97857
  if (!t)
97858
97858
  return /* @__PURE__ */ pe("div", { ...e, children: f });
97859
- const s = Xe(t).returnType().with({ subject: Lt.configuration }, () => n).with({ subject: Lt.attribute }, (d) => E7(d.attributeId) ?? d.attributeId.localId).with({ subject: Lt.choiceValue }, (d) => ej(d.attributeId)[d.choiceValueId] ?? d.choiceValueId).with({ subject: Lt.component, state: qt.Included }, () => r).with({ subject: Lt.component, state: qt.Excluded }, () => i).with({ subject: Lt.boolean, state: !0 }, () => o).with({ subject: Lt.boolean, state: !1 }, () => a).with({ subject: Lt.numeric }, (d) => d.state.toString()).exhaustive(), l = Xe(t).returnType().with({ question: si.whyIsStateNotPossible }, () => u).with({ question: si.whyIsNotSatisfied }, () => c).exhaustive();
97859
+ const s = Xe(t).returnType().with({ subject: Lt.configuration }, () => n).with({ subject: Lt.attribute }, (d) => E7(d.attributeId) ?? d.attributeId.localId).with({ subject: Lt.choiceValue }, (d) => ej(d.attributeId).get(d.choiceValueId) ?? d.choiceValueId).with({ subject: Lt.component, state: qt.Included }, () => r).with({ subject: Lt.component, state: qt.Excluded }, () => i).with({ subject: Lt.boolean, state: !0 }, () => o).with({ subject: Lt.boolean, state: !1 }, () => a).with({ subject: Lt.numeric }, (d) => d.state.toString()).exhaustive(), l = Xe(t).returnType().with({ question: si.whyIsStateNotPossible }, () => u).with({ question: si.whyIsNotSatisfied }, () => c).exhaustive();
97860
97860
  return /* @__PURE__ */ Wt("div", { ...e, children: [
97861
97861
  /* @__PURE__ */ pe(yrr, { children: s }),
97862
97862
  " ",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamedici-spc/configurator-framer-bundle",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Component library to build configurator apps with Framer based on Viamedici SPC. All dependencies are bundled together.",
5
5
  "repository": {
6
6
  "type": "git",