@viamedici-spc/configurator-framer 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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -205,7 +205,7 @@ ${c}`);case h.ConfiguratorErrorType.SessionParametersInvalid:return o(`Configura
|
|
|
205
205
|
overflow: hidden;
|
|
206
206
|
white-space: nowrap;
|
|
207
207
|
text-overflow: ellipsis;
|
|
208
|
-
`;function Zo(e){const{explainQuestion:t}=ge(),{configurationSubjectTitle:n,componentDecisionStateIncludedLabel:o,componentDecisionStateExcludedLabel:r,booleanDecisionStateFalseLabel:i,booleanDecisionStateTrueLabel:l,isBlockedSuffix:a,isNotSatisfiedSuffix:s,generalConflictTitle:c}=Wt();if(!t)return d.jsx("div",{...e,children:c});const C=M.match(t).returnType().with({subject:h.ExplainQuestionSubject.configuration},()=>n).with({subject:h.ExplainQuestionSubject.attribute},b=>pt(b.attributeId)??b.attributeId.localId).with({subject:h.ExplainQuestionSubject.choiceValue},b=>_e(b.attributeId)
|
|
208
|
+
`;function Zo(e){const{explainQuestion:t}=ge(),{configurationSubjectTitle:n,componentDecisionStateIncludedLabel:o,componentDecisionStateExcludedLabel:r,booleanDecisionStateFalseLabel:i,booleanDecisionStateTrueLabel:l,isBlockedSuffix:a,isNotSatisfiedSuffix:s,generalConflictTitle:c}=Wt();if(!t)return d.jsx("div",{...e,children:c});const C=M.match(t).returnType().with({subject:h.ExplainQuestionSubject.configuration},()=>n).with({subject:h.ExplainQuestionSubject.attribute},b=>pt(b.attributeId)??b.attributeId.localId).with({subject:h.ExplainQuestionSubject.choiceValue},b=>_e(b.attributeId).get(b.choiceValueId)??b.choiceValueId).with({subject:h.ExplainQuestionSubject.component,state:h.ComponentDecisionState.Included},()=>o).with({subject:h.ExplainQuestionSubject.component,state:h.ComponentDecisionState.Excluded},()=>r).with({subject:h.ExplainQuestionSubject.boolean,state:!0},()=>l).with({subject:h.ExplainQuestionSubject.boolean,state:!1},()=>i).with({subject:h.ExplainQuestionSubject.numeric},b=>b.state.toString()).exhaustive(),m=M.match(t).returnType().with({question:h.ExplainQuestionType.whyIsStateNotPossible},()=>a).with({question:h.ExplainQuestionType.whyIsNotSatisfied},()=>s).exhaustive();return d.jsxs("div",{...e,children:[d.jsx(da,{children:C})," ",m]})}const fa=O.div`
|
|
209
209
|
position: sticky;
|
|
210
210
|
top: 0;
|
|
211
211
|
transition: all 0.1s;
|
package/dist/index.js
CHANGED
|
@@ -3066,7 +3066,7 @@ function Wi(e) {
|
|
|
3066
3066
|
} = En();
|
|
3067
3067
|
if (!t)
|
|
3068
3068
|
return /* @__PURE__ */ y("div", { ...e, children: c });
|
|
3069
|
-
const b = Y(t).returnType().with({ subject: ce.configuration }, () => n).with({ subject: ce.attribute }, (m) => An(m.attributeId) ?? m.attributeId.localId).with({ subject: ce.choiceValue }, (m) => zt(m.attributeId)
|
|
3069
|
+
const b = Y(t).returnType().with({ subject: ce.configuration }, () => n).with({ subject: ce.attribute }, (m) => An(m.attributeId) ?? m.attributeId.localId).with({ subject: ce.choiceValue }, (m) => zt(m.attributeId).get(m.choiceValueId) ?? m.choiceValueId).with({ subject: ce.component, state: G.Included }, () => o).with({ subject: ce.component, state: G.Excluded }, () => r).with({ subject: ce.boolean, state: !0 }, () => l).with({ subject: ce.boolean, state: !1 }, () => i).with({ subject: ce.numeric }, (m) => m.state.toString()).exhaustive(), d = Y(t).returnType().with({ question: We.whyIsStateNotPossible }, () => a).with({ question: We.whyIsNotSatisfied }, () => s).exhaustive();
|
|
3070
3070
|
return /* @__PURE__ */ B("div", { ...e, children: [
|
|
3071
3071
|
/* @__PURE__ */ y(ms, { children: b }),
|
|
3072
3072
|
" ",
|