@kosdev-code/kos-ddk-model-components 0.1.0-dev.5878 → 0.1.0-dev.5879

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 +1 @@
1
- {"version":3,"file":"calibrate-modal.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/calibrate-modal/calibrate-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,eAAe,EAErB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAsBnE,UAAU,mBAAoB,SAAQ,eAAe;IACnD,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,0BACF,mBAAmB;;CAoR3C,CAAC"}
1
+ {"version":3,"file":"calibrate-modal.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/calibrate-modal/calibrate-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,eAAe,EAErB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAsBnE,UAAU,mBAAoB,SAAQ,eAAe;IACnD,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,0BACF,mBAAmB;;CAqR3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"replace-pump.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/replace-pump/replace-pump.tsx"],"names":[],"mappings":"AACA,OAAO,EAUL,KAAK,eAAe,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAuB/D,UAAU,gBAAiB,SAAQ,eAAe;IAChD,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,0BACC,gBAAgB;;CAuGxC,CAAC"}
1
+ {"version":3,"file":"replace-pump.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/replace-pump/replace-pump.tsx"],"names":[],"mappings":"AAAA,OAAO,EAWL,KAAK,eAAe,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAc/D,UAAU,gBAAiB,SAAQ,eAAe;IAChD,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,0BACC,gBAAgB;;CAuGxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"setup-sidebar.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/setup-sidebar/setup-sidebar.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EAEb,MAAM,iCAAiC,CAAC;AAGzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,uBAAuB,EAExB,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,QAAQ;;;qFAKpB,CAAC;AAEF,eAAO,MAAM,SAAS;;;qFASrB,CAAC;AAEF,KAAK,iBAAiB,GAAG,YAAY,GACnC,uBAAuB,GAAG;IAAE,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,CAAC;AAEzE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CA+BpE,CAAC;AAEL,eAAO,MAAM,YAAY,4GAA2C,CAAC"}
1
+ {"version":3,"file":"setup-sidebar.d.ts","sourceRoot":"","sources":["../../../../../../packages/ddk/kos-ddk-model-components/src/components/setup-sidebar/setup-sidebar.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EAEb,MAAM,iCAAiC,CAAC;AAGzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,uBAAuB,EAExB,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,QAAQ;;;qFAMpB,CAAC;AAEF,eAAO,MAAM,SAAS;;;qFASrB,CAAC;AAEF,KAAK,iBAAiB,GAAG,YAAY,GACnC,uBAAuB,GAAG;IAAE,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,CAAC;AAEzE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CA+BpE,CAAC;AAEL,eAAO,MAAM,YAAY,4GAA2C,CAAC"}
package/index.cjs CHANGED
@@ -39,7 +39,7 @@
39
39
  border-top: solid 1px #888888;
40
40
  padding-top: 8px;
41
41
  width: calc(100% - 10px);
42
- `,Ne=({children:t,onPointerDown:e,title:n,subtitle:s})=>{const{componentModeOverride:o}=d.useComponentConfigurationContext(),{t:a}=u.useKosTranslation("common"),c=n??t;return r.jsxs(vs,{children:[r.jsxs(No,{children:[r.jsxs(Cs,{style:{fontSize:"var(--ddk-component-progress-bar-message-font-size)"},children:[r.jsx(ke.MessageErrorIcon,{style:{color:"var(--ddk-component-progress-bar-icon-color-failure)",fontSize:"var(--ddk-component-progress-bar-icon-size)"}}),c]}),s&&r.jsx(Do,{children:s})]}),o==="compact"?r.jsx(d.Button,{mode:"primary",onPointerDown:e,children:a("close","Close")}):r.jsx(ys,{label:!1,size:"large",onPointerDown:e})]})},rt=({children:t,onPointerDown:e})=>{const{componentModeOverride:n}=d.useComponentConfigurationContext(),{t:s}=u.useKosTranslation("common");return r.jsxs(vs,{children:[r.jsxs(Cs,{children:[r.jsx(ke.SuccessIcon,{style:{color:"var(--ddk-semantic-color-system-green)",fontSize:"var(--ddk-component-progress-bar-icon-size)"}}),t]}),n==="compact"?r.jsx(d.Button,{mode:"primary",onPointerDown:e,children:s("close","Close")}):r.jsx(ys,{label:!1,size:"large",onPointerDown:e})]})},Pn=t=>(t==null?void 0:t.title)&&(t==null?void 0:t.subtitle),K=u.kosComponent(({title:t,future:e,failureMessage:n,successMessage:s,cancelMessage:o,isCancelable:a=!0,onSuccess:c,onClose:i})=>{const{t:l}=u.useKosTranslation("common"),[m,h]=p.useState(!0),[f,g]=p.useState(),v=`${e==null?void 0:e.timeRemaining} ${l("remaining","remaining")}`,y=p.useCallback(()=>{f!=="in-progress"&&(i==null||i(),h(!1))},[i,f]),x=p.useCallback(()=>{y(),c==null||c()},[y,c]);p.useEffect(()=>{(e==null?void 0:e.status)==="IN_PROGRESS"||(e==null?void 0:e.status)==="NOT_ACTIVE"?(g("in-progress"),h(!0)):(e==null?void 0:e.status)==="SUCCESS"?(g("success"),h(!!s),s||(y(),c==null||c())):(e==null?void 0:e.status)==="FAIL"||(e==null?void 0:e.status)==="ABORT"?(g("failure"),h(!!n)):(e==null?void 0:e.status)==="CANCEL"?(g("cancelled"),h(!!o)):e&&Ao.error("unknown status",e==null?void 0:e.status)},[n,e,e==null?void 0:e.status,s,o,y,c]);const _=Pn(n)?n.subtitle:void 0,R=Pn(n)?n.title:n??l("something-went-wrong","Something went wrong");return e&&r.jsx(d.ProgressBar,{isCancelable:a,onCancel:()=>{e.cancelFuture()},blocked:f==="in-progress",onClose:y,renderFailure:n&&r.jsx(Ne,{subtitle:_,onPointerDown:y,children:R}),renderCancel:o&&r.jsx(Ne,{onPointerDown:y,children:o}),renderSuccess:s&&r.jsx(rt,{onPointerDown:x,children:s}),show:m,status:f,subtitle:v,title:t,value:e.progress})}),Oo=u.KosLog.createLogger({name:"agitation-control-view"});Oo.debug("agitation-control-view component loaded");const Ro=T.div``,Fo=u.kosComponent(()=>{const{model:t}=Kt(),{t:e,i18n:n}=u.useKosTranslation("troubles"),{future:s,failure:o}=J(t),a=p.useCallback(()=>{t&&t.clearAll()},[t]),c=s==null?void 0:s.reason,i=c?`__troubles.errors.${c}__`:void 0,l="troubles.agitation.error",m=n.exists(`troubles.errors.${c}`);return r.jsx(Ro,{children:r.jsx(K,{title:e("troubles.agitation.title"),future:s,isCancelable:!0,onClose:a,failureMessage:e(l,{context:i&&m?"reason":void 0,data:{reason:i}})})})}),ws=u.kosComponent(({pump:t,onComplete:e})=>{const{t:n}=u.useKosTranslation("common",{keyPrefix:"fcm-calibration"}),[s,o]=p.useState("high-flow-test-idle"),[a,c]=p.useState(),[i,l]=p.useState(),[m,h]=p.useState(),{future:f}=J(t);p.useEffect(()=>{switch(f==null?void 0:f.endState){case"CANCEL":switch(s){case"high-flow-test-in-progress":o("high-flow-test-idle");break;default:c("calibration-canceled"),o("failure")}break;case"SUCCESS":switch(s){case"high-flow-test-in-progress":o("high-flow-test-success");break;case"calibration-in-progress":o("calibration-input");break;case"verification-in-progress":o("verification-input");break}break;case"FAIL":c(f==null?void 0:f.reason),o("failure");break}},[f==null?void 0:f.endState,f==null?void 0:f.reason,s]);const g=p.useMemo(()=>({"high-flow-test-idle":{information:r.jsx(d.LabelInformation,{children:n("high-flow-test-idle-information")}),footer:r.jsx(d.Button,{onPointerDown:()=>{t.performPreCalibrate(),o("high-flow-test-in-progress")},children:n("initiate-high-flow-test")}),status:"information"},"high-flow-test-in-progress":{information:r.jsx(d.LabelInformation,{children:n("high-flow-test-in-progress-information")}),footer:r.jsx(d.Button,{disabled:!0,children:n("initiate-high-flow-test")}),status:"loading"},"high-flow-test-success":{information:r.jsx(d.LabelInformation,{children:n("high-flow-test-success-information")}),footer:r.jsx(d.Button,{onPointerDown:()=>o("calibration-idle"),children:n("proceed")}),status:"success"},"calibration-idle":{information:r.jsx(d.BodyMediumInformation,{children:n("calibration-idle-information")}),footer:r.jsx(d.Button,{onPointerDown:()=>{t.performCalibrate(),o("calibration-in-progress")},children:n("calibrate")}),status:"information"},"calibration-in-progress":{information:r.jsx(d.LabelInformation,{children:n("calibration-in-progress-information")}),status:"loading"},"calibration-input":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.BodyMediumInformation,{children:n("calibration-input-information")}),r.jsx(d.InputCard,{label:"Volume",unitValue:"ml",layout:"num",onChange:v=>{v!==void 0&&l(v)},value:i!==void 0?i:""})]}),footer:r.jsx(d.Button,{disabled:i===void 0,onPointerDown:()=>{i!==void 0&&o("verification-idle")},children:n("proceed")}),status:"information"},"calibration-input-confirmation":{},"verification-idle":{information:r.jsx(d.BodyMediumInformation,{children:n("verification-idle-information")}),footer:r.jsx(d.Button,{onPointerDown:async()=>{i!==void 0&&(t.performVerify(i),o("verification-in-progress"))},children:n("initiate-verification-pour")}),status:"information"},"verification-in-progress":{information:r.jsx(d.LabelInformation,{children:n("verification-in-progress-information")}),status:"loading"},"verification-input":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.BodyMediumInformation,{children:n("verification-input-information")}),r.jsx(d.InputCard,{label:"Volume",unitValue:"ml",layout:"num",onChange:v=>{v!==void 0&&h(v)},value:m!==void 0?m:""})]}),footer:r.jsx(d.Button,{disabled:m===void 0,onPointerDown:async()=>{if(i===void 0||m===void 0)return;const v=await t.performComplete(i,m);v==="success"?o("verification-success"):(c(v),o(v==="errBadPump"?"verification-failure":"failure"))},children:n("proceed")}),status:"information"},"verification-input-confirmation":{},"verification-success":{information:r.jsx(d.LabelInformation,{children:n("verification-success-information")}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"success"},"verification-failure":{information:r.jsx(d.LabelInformation,{children:n(`error.${a}`)}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"error"},failure:{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("calibration-failed")}),r.jsx(d.BodyMediumInformation,{children:n(`error.${a||"unknownError"}`)})]}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"error"}}),[a,e,t,n,i,m]);return r.jsxs(r.Fragment,{children:[r.jsx(d.WorkflowModal,{title:n(t.name),...g[s],onClose:()=>e()}),f&&r.jsx(K,{title:n("initiating"),future:f})]})}),Ut=u.kosComponent(({probeAware:t})=>{if(!t)return null;const e=t.highProbeWet.value,n=t.lowProbeWet.value,s=t.filling.value;return r.jsxs(Lo,{children:[r.jsxs(At,{children:[r.jsx(Nt,{children:"High Probe"}),r.jsx(Dt,{children:e?"Wet":"Dry"})]}),r.jsxs(At,{children:[r.jsx(Nt,{children:"Low Probe"}),r.jsx(Dt,{children:n?"Wet":"Dry"})]}),r.jsxs(At,{children:[r.jsx(Nt,{children:"Filling"}),r.jsx(Dt,{children:s?"Yes":"No"})]})]})}),Lo=T.div`
42
+ `,Ne=({children:t,onPointerDown:e,title:n,subtitle:s})=>{const{componentModeOverride:o}=d.useComponentConfigurationContext(),{t:a}=u.useKosTranslation("common"),c=n??t;return r.jsxs(vs,{children:[r.jsxs(No,{children:[r.jsxs(Cs,{style:{fontSize:"var(--ddk-component-progress-bar-message-font-size)"},children:[r.jsx(ke.MessageErrorIcon,{style:{color:"var(--ddk-component-progress-bar-icon-color-failure)",fontSize:"var(--ddk-component-progress-bar-icon-size)"}}),c]}),s&&r.jsx(Do,{children:s})]}),o==="compact"?r.jsx(d.Button,{mode:"primary",onPointerDown:e,children:a("close","Close")}):r.jsx(ys,{label:!1,size:"large",onPointerDown:e})]})},rt=({children:t,onPointerDown:e})=>{const{componentModeOverride:n}=d.useComponentConfigurationContext(),{t:s}=u.useKosTranslation("common");return r.jsxs(vs,{children:[r.jsxs(Cs,{children:[r.jsx(ke.SuccessIcon,{style:{color:"var(--ddk-semantic-color-system-green)",fontSize:"var(--ddk-component-progress-bar-icon-size)"}}),t]}),n==="compact"?r.jsx(d.Button,{mode:"primary",onPointerDown:e,children:s("close","Close")}):r.jsx(ys,{label:!1,size:"large",onPointerDown:e})]})},Pn=t=>(t==null?void 0:t.title)&&(t==null?void 0:t.subtitle),K=u.kosComponent(({title:t,future:e,failureMessage:n,successMessage:s,cancelMessage:o,isCancelable:a=!0,onSuccess:c,onClose:i})=>{const{t:l}=u.useKosTranslation("common"),[m,h]=p.useState(!0),[f,g]=p.useState(),v=`${e==null?void 0:e.timeRemaining} ${l("remaining","remaining")}`,y=p.useCallback(()=>{f!=="in-progress"&&(i==null||i(),h(!1))},[i,f]),x=p.useCallback(()=>{y(),c==null||c()},[y,c]);p.useEffect(()=>{(e==null?void 0:e.status)==="IN_PROGRESS"||(e==null?void 0:e.status)==="NOT_ACTIVE"?(g("in-progress"),h(!0)):(e==null?void 0:e.status)==="SUCCESS"?(g("success"),h(!!s),s||(y(),c==null||c())):(e==null?void 0:e.status)==="FAIL"||(e==null?void 0:e.status)==="ABORT"?(g("failure"),h(!!n)):(e==null?void 0:e.status)==="CANCEL"?(g("cancelled"),h(!!o)):e&&Ao.error("unknown status",e==null?void 0:e.status)},[n,e,e==null?void 0:e.status,s,o,y,c]);const _=Pn(n)?n.subtitle:void 0,R=Pn(n)?n.title:n??l("something-went-wrong","Something went wrong");return e&&r.jsx(d.ProgressBar,{isCancelable:a,onCancel:()=>{e.cancelFuture()},blocked:f==="in-progress",onClose:y,renderFailure:n&&r.jsx(Ne,{subtitle:_,onPointerDown:y,children:R}),renderCancel:o&&r.jsx(Ne,{onPointerDown:y,children:o}),renderSuccess:s&&r.jsx(rt,{onPointerDown:x,children:s}),show:m,status:f,subtitle:v,title:t,value:e.progress})}),Oo=u.KosLog.createLogger({name:"agitation-control-view"});Oo.debug("agitation-control-view component loaded");const Ro=T.div``,Fo=u.kosComponent(()=>{const{model:t}=Kt(),{t:e,i18n:n}=u.useKosTranslation("troubles"),{future:s,failure:o}=J(t),a=p.useCallback(()=>{t&&t.clearAll()},[t]),c=s==null?void 0:s.reason,i=c?`__troubles.errors.${c}__`:void 0,l="troubles.agitation.error",m=n.exists(`troubles.errors.${c}`);return r.jsx(Ro,{children:r.jsx(K,{title:e("troubles.agitation.title"),future:s,isCancelable:!0,onClose:a,failureMessage:e(l,{context:i&&m?"reason":void 0,data:{reason:i}})})})}),ws=u.kosComponent(({pump:t,onComplete:e})=>{const{t:n}=u.useKosTranslation("common",{keyPrefix:"fcm-calibration"}),[s,o]=p.useState("high-flow-test-idle"),[a,c]=p.useState(),[i,l]=p.useState(),[m,h]=p.useState(),{future:f}=J(t);p.useEffect(()=>{switch(f==null?void 0:f.endState){case"CANCEL":switch(s){case"high-flow-test-in-progress":o("high-flow-test-idle");break;default:c("calibration-canceled"),o("failure")}break;case"SUCCESS":switch(s){case"high-flow-test-in-progress":o("high-flow-test-success");break;case"calibration-in-progress":o("calibration-input");break;case"verification-in-progress":o("verification-input");break}break;case"FAIL":c(f==null?void 0:f.reason),o("failure");break}},[f,f==null?void 0:f.endState,f==null?void 0:f.reason,s]);const g=p.useMemo(()=>({"high-flow-test-idle":{information:r.jsx(d.LabelInformation,{children:n("high-flow-test-idle-information")}),footer:r.jsx(d.Button,{onPointerDown:()=>{t.performPreCalibrate(),o("high-flow-test-in-progress")},children:n("initiate-high-flow-test")}),status:"information"},"high-flow-test-in-progress":{information:r.jsx(d.LabelInformation,{children:n("high-flow-test-in-progress-information")}),footer:r.jsx(d.Button,{disabled:!0,children:n("initiate-high-flow-test")}),status:"loading"},"high-flow-test-success":{information:r.jsx(d.LabelInformation,{children:n("high-flow-test-success-information")}),footer:r.jsx(d.Button,{onPointerDown:()=>o("calibration-idle"),children:n("proceed")}),status:"success"},"calibration-idle":{information:r.jsx(d.BodyMediumInformation,{children:n("calibration-idle-information")}),footer:r.jsx(d.Button,{onPointerDown:()=>{t.performCalibrate(),o("calibration-in-progress")},children:n("calibrate")}),status:"information"},"calibration-in-progress":{information:r.jsx(d.LabelInformation,{children:n("calibration-in-progress-information")}),status:"loading"},"calibration-input":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.BodyMediumInformation,{children:n("calibration-input-information")}),r.jsx(d.InputCard,{label:"Volume",unitValue:"ml",layout:"num",onChange:v=>{v!==void 0&&l(v)},value:i!==void 0?i:""})]}),footer:r.jsx(d.Button,{disabled:i===void 0,onPointerDown:()=>{i!==void 0&&o("verification-idle")},children:n("proceed")}),status:"information"},"calibration-input-confirmation":{},"verification-idle":{information:r.jsx(d.BodyMediumInformation,{children:n("verification-idle-information")}),footer:r.jsx(d.Button,{onPointerDown:async()=>{i!==void 0&&(t.performVerify(i),o("verification-in-progress"))},children:n("initiate-verification-pour")}),status:"information"},"verification-in-progress":{information:r.jsx(d.LabelInformation,{children:n("verification-in-progress-information")}),status:"loading"},"verification-input":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.BodyMediumInformation,{children:n("verification-input-information")}),r.jsx(d.InputCard,{label:"Volume",unitValue:"ml",layout:"num",onChange:v=>{v!==void 0&&h(v)},value:m!==void 0?m:""})]}),footer:r.jsx(d.Button,{disabled:m===void 0,onPointerDown:async()=>{if(i===void 0||m===void 0)return;const v=await t.performComplete(i,m);v==="success"?o("verification-success"):(c(v),o(v==="errBadPump"?"verification-failure":"failure"))},children:n("proceed")}),status:"information"},"verification-input-confirmation":{},"verification-success":{information:r.jsx(d.LabelInformation,{children:n("verification-success-information")}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"success"},"verification-failure":{information:r.jsx(d.LabelInformation,{children:n(`error.${a}`)}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"error"},failure:{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("calibration-failed")}),r.jsxs(d.BodyMediumInformation,{children:["Error Code: ",a,n(`error.${a||"unknownError"}`)]})]}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"error"}}),[a,e,t,n,i,m]);return r.jsxs(r.Fragment,{children:[r.jsx(d.WorkflowModal,{title:n(t.name),...g[s],onClose:()=>e()}),f&&r.jsx(K,{title:n("initiating"),future:f})]})}),Ut=u.kosComponent(({probeAware:t})=>{if(!t)return null;const e=t.highProbeWet.value,n=t.lowProbeWet.value,s=t.filling.value;return r.jsxs(Lo,{children:[r.jsxs(At,{children:[r.jsx(Nt,{children:"High Probe"}),r.jsx(Dt,{children:e?"Wet":"Dry"})]}),r.jsxs(At,{children:[r.jsx(Nt,{children:"Low Probe"}),r.jsx(Dt,{children:n?"Wet":"Dry"})]}),r.jsxs(At,{children:[r.jsx(Nt,{children:"Filling"}),r.jsx(Dt,{children:s?"Yes":"No"})]})]})}),Lo=T.div`
43
43
  display: grid;
44
44
  grid-template-columns: repeat(3, 1fr);
45
45
  gap: 16px;
@@ -384,43 +384,37 @@ ${e("agitator:agitate-after-without",{data:{value:t.volWithoutIceMl.displayValue
384
384
  color: ${t=>t.color??"var(--ddk-generic-color-black)"};
385
385
  position: absolute;
386
386
  bottom: 6px;
387
- `,pc=u.kosComponent(t=>{u.KosLog.debug(`summary component loaded for holder ${t}`),u.KosLog.info(`render agitator summary for holder ${t.cardModel.name}`);const{t:e}=u.useKosTranslation("troubles"),n=t.cardModel,{hasTroubles:s,highestTrouble:o}=Qs(n),a=$e(o),c=Ke(o);return s?r.jsx(mc,{children:e(a.summary,{context:o!=null&&o.deferred?"queued":void 0,data:c})}):r.jsx(d.StatusIndicator,{size:"small",status:"completed"})}),co=u.kosComponent(({holder:t,onComplete:e})=>{const{t:n}=u.useKosTranslation("replace-line"),[s,o]=p.useState(),[a,c]=p.useState();p.useEffect(()=>{t.replaceLine().then(()=>{o("success")})},[t]);const i=()=>{if(a){o(void 0);return}e()};return r.jsx(d.StatusBar,{show:s!==void 0,onClose:i,children:s==="failure"?r.jsx(Ne,{children:n(a||"unknownError")}):s==="success"?r.jsx(rt,{children:n("success")}):null})}),hc=T.div`
387
+ `,pc=u.kosComponent(t=>{u.KosLog.debug(`summary component loaded for holder ${t}`),u.KosLog.info(`render agitator summary for holder ${t.cardModel.name}`);const{t:e}=u.useKosTranslation("troubles"),n=t.cardModel,{hasTroubles:s,highestTrouble:o}=Qs(n),a=$e(o),c=Ke(o);return s?r.jsx(mc,{children:e(a.summary,{context:o!=null&&o.deferred?"queued":void 0,data:c})}):r.jsx(d.StatusIndicator,{size:"small",status:"completed"})}),co=u.kosComponent(({holder:t,onComplete:e})=>{const{t:n}=u.useKosTranslation("replace-line"),[s,o]=p.useState(),[a,c]=p.useState();p.useEffect(()=>{t.replaceLine().then(()=>{o("success")})},[t]);const i=()=>{if(a){o(void 0);return}e()};return r.jsx(d.StatusBar,{show:s!==void 0,onClose:i,children:s==="failure"?r.jsx(Ne,{children:n(a||"unknownError")}):s==="success"?r.jsx(rt,{children:n("success")}):null})}),lo=u.kosComponent(({pump:t,onComplete:e})=>{const[n,s]=p.useState(!1),{t:o}=u.useKosTranslation("replace-pump"),{componentModeOverride:a}=d.useComponentConfigurationContext(),[c,i]=p.useState(),[l,m]=p.useState(),[h,f]=p.useState(),g=u.getKosCompanionModel(t,$.FreestylePump.type),v=t.name,y=p.useCallback(R=>{if(R!==void 0&&R.length===0)return o("pump-calibration-length-error")},[o]),x=p.useCallback(async()=>{if(c===void 0)return;const[R]=await g.replacePump(c);R?(m("failure"),f(R)):m("success")},[g,c]),_=()=>{if(h){m(void 0);return}s(!0)};return r.jsxs(r.Fragment,{children:[r.jsx(d.Modal,{contain:a!=="compact",onClosed:e,show:!n,children:r.jsxs(d.ModalContainer,{children:[r.jsx(d.Header,{contain:a==="compact",showCloseButton:!0,title:v?o("label-replace-pump",{label:v}):o("replace-pump"),showOpenButton:!1,onClose:()=>s(!0),CloseButton:a==="compact"?d.BackButton:void 0}),r.jsx(d.Content,{align:"top",children:r.jsx(d.InputCard,{isValid:y,label:o("enter-pump-calibration-code"),layout:"hex",value:c,onChange:R=>{f(void 0),i(R)}})}),r.jsx(d.Footer,{children:r.jsx(d.Button,{mode:"primary",disabled:!c||!!h,onPointerDown:x,children:o("replace-pump")})})]})}),r.jsx(d.StatusBar,{show:l!==void 0,onClose:_,children:l==="failure"?r.jsx(Ne,{children:o(h||"unknownError")}):l==="success"?r.jsx(rt,{children:o("success")}):null})]})}),hc=/^[0-9a-fA-F]+$/,os=t=>hc.test(t),fc=T.div`
388
388
  display: flex;
389
389
  flex-direction: column;
390
390
  overflow-y: auto;
391
391
  overflow-x: hidden;
392
- gap: 32px;
393
392
  height: 100%;
394
- `,lo=u.kosComponent(({pump:t,onComplete:e})=>{const[n,s]=p.useState(!1),{t:o}=u.useKosTranslation("replace-pump"),{componentModeOverride:a}=d.useComponentConfigurationContext(),[c,i]=p.useState(),[l,m]=p.useState(),[h,f]=p.useState(),g=u.getKosCompanionModel(t,$.FreestylePump.type),v=t.name,y=p.useCallback(R=>{if(R!==void 0&&R.length===0)return o("pump-calibration-length-error")},[o]),x=p.useCallback(async()=>{if(c===void 0)return;const[R]=await g.replacePump(c);R?(m("failure"),f(R)):m("success")},[g,c]),_=()=>{if(h){m(void 0);return}s(!0)};return r.jsxs(r.Fragment,{children:[r.jsx(d.Modal,{contain:a!=="compact",onClosed:e,show:!n,children:r.jsxs(hc,{children:[r.jsx(d.Header,{contain:a==="compact",showCloseButton:!0,title:v?o("label-replace-pump",{label:v}):o("replace-pump"),showOpenButton:!1,onClose:()=>s(!0),CloseButton:a==="compact"?d.BackButton:void 0}),r.jsx(d.Content,{align:"top",children:r.jsx(d.InputCard,{isValid:y,label:o("enter-pump-calibration-code"),layout:"hex",value:c,onChange:R=>{f(void 0),i(R)}})}),r.jsx(d.Footer,{children:r.jsx(d.Button,{mode:"primary",disabled:!c||!!h,onPointerDown:x,children:o("replace-pump")})})]})}),r.jsx(d.StatusBar,{show:l!==void 0,onClose:_,children:l==="failure"?r.jsx(Ne,{children:o(h||"unknownError")}):l==="success"?r.jsx(rt,{children:o("success")}):null})]})}),fc=/^[0-9a-fA-F]+$/,os=t=>fc.test(t),gc=T.div`
395
- display: flex;
396
- flex-direction: column;
397
- overflow-y: auto;
398
- overflow-x: hidden;
399
- height: 100%;
400
- `,uo=u.kosComponent(({holder:t,onComplete:e})=>{const n=t.name,[s,o]=p.useState(!1),{t:a}=u.useKosTranslation("rfid-override"),{componentModeOverride:c}=d.useComponentConfigurationContext(),[i,l]=p.useState(),[m,h]=p.useState(),[f,g]=p.useState(),[v,y]=p.useState(),[x,_]=p.useState(),R=E=>{if(E!==void 0&&E.length!==12)return a("errIdLen");if(!os(E))return a("errIdFormat")},D=E=>{if(E!==void 0&&E.length!==8)return a("errCodeLen");if(!os(E))return a("errCodeFormat")},P=async()=>{try{await t.overrideRfidCode({stickerId:i,stickerCode:m}),o(!0)}catch(E){switch(E.type){case"errIdLen":case"errIdFormat":y(E.type);break;case"errCodeLen":case"errCodeFormat":_(E.type);break;case"errVerify":case"errBadJson":g(E.type);break}}};return r.jsxs(d.Modal,{contain:c!=="compact",mode:"maximized",onClosed:e,show:!s,children:[r.jsx(d.Header,{contain:c==="compact",showCloseButton:!0,title:n?a("label-rfid-override",{label:n}):a("rfid-override"),showOpenButton:!1,onClose:()=>o(!0),CloseButton:c==="compact"?d.BackButton:void 0}),r.jsxs(gc,{children:[r.jsxs(d.Content,{align:"top",children:[r.jsx(d.InfoContainer,{children:a("info")}),r.jsx(d.ErrorInputCard,{isValid:R,description:v?a(v):void 0,label:a("enter-cartridge-id"),layout:"hex",value:i,onChange:E=>{y(void 0),l(E)}}),r.jsx(d.ErrorInputCard,{isValid:D,description:x?a(x):void 0,label:a("enter-code"),layout:"hex",value:m,onChange:E=>{_(void 0),h(E)}})]}),r.jsx(d.Footer,{children:r.jsx(d.Button,{mode:"primary",disabled:!i||!m,onPointerDown:P,children:a("override")})}),f&&r.jsx(d.ProgressBar,{onClose:()=>g(void 0),renderFailure:r.jsx(d.FailureCard,{heading:a("rfid-override"),message:a(f,{holder:t.name})}),show:!0,status:"failure",title:"",value:0})]})]})}),xc=u.kosComponent(({setupPath:t})=>{const{model:e}=vt(),[n,s]=p.useState(!1),[o]=rs.useSearchParams(),a=!!o.get("skipSetup"),c=d.useNavigate();return p.useEffect(()=>{!n&&(e!=null&&e.setupRequired)&&(s(!0),a||c(t))},[e==null?void 0:e.setupRequired,n,c,t,a]),null}),mo=T.div`
393
+ `,uo=u.kosComponent(({holder:t,onComplete:e})=>{const n=t.name,[s,o]=p.useState(!1),{t:a}=u.useKosTranslation("rfid-override"),{componentModeOverride:c}=d.useComponentConfigurationContext(),[i,l]=p.useState(),[m,h]=p.useState(),[f,g]=p.useState(),[v,y]=p.useState(),[x,_]=p.useState(),R=E=>{if(E!==void 0&&E.length!==12)return a("errIdLen");if(!os(E))return a("errIdFormat")},D=E=>{if(E!==void 0&&E.length!==8)return a("errCodeLen");if(!os(E))return a("errCodeFormat")},P=async()=>{try{await t.overrideRfidCode({stickerId:i,stickerCode:m}),o(!0)}catch(E){switch(E.type){case"errIdLen":case"errIdFormat":y(E.type);break;case"errCodeLen":case"errCodeFormat":_(E.type);break;case"errVerify":case"errBadJson":g(E.type);break}}};return r.jsxs(d.Modal,{contain:c!=="compact",mode:"maximized",onClosed:e,show:!s,children:[r.jsx(d.Header,{contain:c==="compact",showCloseButton:!0,title:n?a("label-rfid-override",{label:n}):a("rfid-override"),showOpenButton:!1,onClose:()=>o(!0),CloseButton:c==="compact"?d.BackButton:void 0}),r.jsxs(fc,{children:[r.jsxs(d.Content,{align:"top",children:[r.jsx(d.InfoContainer,{children:a("info")}),r.jsx(d.ErrorInputCard,{isValid:R,description:v?a(v):void 0,label:a("enter-cartridge-id"),layout:"hex",value:i,onChange:E=>{y(void 0),l(E)}}),r.jsx(d.ErrorInputCard,{isValid:D,description:x?a(x):void 0,label:a("enter-code"),layout:"hex",value:m,onChange:E=>{_(void 0),h(E)}})]}),r.jsx(d.Footer,{children:r.jsx(d.Button,{mode:"primary",disabled:!i||!m,onPointerDown:P,children:a("override")})}),f&&r.jsx(d.ProgressBar,{onClose:()=>g(void 0),renderFailure:r.jsx(d.FailureCard,{heading:a("rfid-override"),message:a(f,{holder:t.name})}),show:!0,status:"failure",title:"",value:0})]})]})}),gc=u.kosComponent(({setupPath:t})=>{const{model:e}=vt(),[n,s]=p.useState(!1),[o]=rs.useSearchParams(),a=!!o.get("skipSetup"),c=d.useNavigate();return p.useEffect(()=>{!n&&(e!=null&&e.setupRequired)&&(s(!0),a||c(t))},[e==null?void 0:e.setupRequired,n,c,t,a]),null}),mo=T.div`
401
394
  cursor: pointer;
402
395
  display: flex;
403
396
  gap: 8px;
404
397
  align-items: center;
398
+ padding: var(--ddk-component-setup-sidebar-step-item-padding);
405
399
  `,po=T.div`
406
- color: var(--ddk-generic-color-grey-100, #171717);
407
- font-size: var(--ddk-component-sidebar-font-size-medium);
408
- font-style: normal;
409
- font-weight: 600;
410
- line-height: 135%;
411
- letter-spacing: 0.44px;
412
- white-space: nowrap;
400
+ color: var(--ddk-component-step-title-color);
401
+ font-size: var(--ddk-component-step-title-font-weight);
402
+ font-style: var(--ddk-component-step-title-font-weight);
403
+ font-weight: var(--ddk-component-step-title-font-weight);
404
+ line-height: var(--ddk-component-step-title-line-height);
405
+ letter-spacing: var(--ddk-component-step-title-letter-spacing);
406
+ white-space: var(--ddk-component-step-title-white-space);
413
407
  overflow: hidden;
414
- `,ho=u.kosComponent(({setupStepContainer:t,onStepSelected:e,...n})=>{const{t:s,labelMap:o}=$s({defaultNamespace:"setup",extensionPoint:Ve.id}),a=t==null?void 0:t.currentStep,c=(t==null?void 0:t.data.map(i=>r.jsxs(mo,{onPointerDown:()=>{t.setCurrentStep(i.id),e(i.id)},children:[r.jsx(d.StatusIndicator,{size:"large",status:a===i?"active":i.complete?"completed":"pending"}),r.jsx(po,{children:s(o[i.name]??i.titleKey)})]},i.id)))||[];return r.jsx(d.Sidebar,{...n,children:c})}),bc=Ys(ho),yc=u.kosComponent(()=>{const{model:t}=u.useSoftwareInfo();return(t==null?void 0:t.nodes)&&t.nodes.map((e,n)=>r.jsxs(d.FrameContainer,{name:e.nodeName,children:[r.jsx("div",{children:r.jsx(d.FrameBody,{keyList:[],tableHead:`KOS Release Version: ${e.kosVersion}`,tableData:[],tableLayout:"fixed"})},"kosVersion"),Object.keys(e.group).map((s,o)=>r.jsx("div",{children:r.jsx(d.FrameBody,{keyList:["name","version"],tableHead:s==="undefined"?"Apps":s,tableData:e.group[s],tableLayout:"fixed"})},o))]},n))}),Qe=8,fo=u.kosComponent(({pump:t,onComplete:e})=>{const{t:n}=u.useKosTranslation("common",{keyPrefix:"spm-field-calibration"}),[s,o]=p.useState("preparation-idle"),[a,c]=p.useState(),[i,l]=p.useState(Qe.toString()),[m,h]=p.useState(Qe.toString()),{clearFuture:f,future:g}=J(t);p.useEffect(()=>{switch(g==null?void 0:g.endState){case"CANCEL":switch(s){case"preparation-in-progress":o("preparation-idle");break;default:c("calibration-canceled"),o("failure")}break;case"SUCCESS":switch(s){case"preparation-in-progress":o("preparation-success");break;case"calibration-in-progress":o("calibration-input");break;case"verification-in-progress":o("verification-input");break}break;case"FAIL":case"ABORT":c(""),o("failure");break}},[g==null?void 0:g.endState,g==null?void 0:g.reason,s]);const v=p.useMemo(()=>({"preparation-idle":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("preparation-idle-step")}),r.jsx(d.InfoMessage,{children:n("preparation-idle-alert")}),r.jsx(d.InstructionCard,{children:r.jsxs("ol",{children:[r.jsx("li",{children:n("preparation-idle-info-1")}),r.jsx("li",{children:n("preparation-idle-info-2")})]})})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{onPointerDown:()=>{f(),t.performPreCalibrate(),o("preparation-in-progress")},children:n("preparation-action")})]})},"preparation-in-progress":{information:r.jsx(d.LabelInformation,{children:n("preparation-progress-info")}),footer:r.jsx(d.Button,{disabled:!0,children:n("preparation-action")}),status:"loading"},"preparation-success":{information:r.jsx(d.LabelInformation,{children:n("preparation-success-info")}),footer:r.jsx(d.Button,{onPointerDown:()=>o("calibration-idle"),children:n("preparation-success-action")}),status:"success"},"preparation-failed":{},"calibration-idle":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("calibration-idle-step")}),r.jsx(d.InfoMessage,{children:n("calibration-idle-alert")}),r.jsx(d.InstructionCard,{children:n("calibration-idle-info-1")})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{onPointerDown:()=>{f(),t.performCalibrate(),o("calibration-in-progress")},children:n("calibrate")})]})},"calibration-in-progress":{information:r.jsx(d.LabelInformation,{children:n("calibration-progress-info")}),status:"loading"},"calibration-input":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("calibration-input-info")}),r.jsx(d.InputStep,{onChange:x=>{l(x.toString())},value:i!==void 0?Number(i):Qe})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{disabled:i===void 0,onPointerDown:()=>{i!==void 0&&o("calibration-input-confirmation")},children:n("proceed")})]})},"calibration-input-confirmation":{information:r.jsx(d.LabelInformation,{children:n("calibration-confirm-info",{data:{volume:Number(i).toFixed(1)}})}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:()=>o("calibration-input"),children:n("go-back")}),r.jsx(d.Button,{onPointerDown:()=>o("verification-idle"),children:n("confirm-and-proceed")})]}),status:"information"},"verification-idle":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("verification-idle-step")}),r.jsx(d.InfoMessage,{children:n("verification-idle-alert")}),r.jsx(d.InstructionCard,{children:r.jsxs("ol",{children:[r.jsx("li",{children:n("verification-idle-info-1")}),r.jsx("li",{children:n("verification-idle-info-2")})]})})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{onPointerDown:async()=>{i!==void 0&&(f(),t.performVerify(i,g==null?void 0:g.clientData),o("verification-in-progress"))},children:n("initiate-verification-pour")})]})},"verification-in-progress":{information:r.jsx(d.LabelInformation,{children:n("verification-progress-info")}),status:"loading"},"verification-trouble":{},"verification-input":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("verification-input-info")}),r.jsx(d.InputStep,{onChange:x=>{h(x.toString())},value:m!==void 0?Number(m):Qe})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{disabled:m===void 0,onPointerDown:async()=>{o("verification-input-confirmation")},children:n("proceed")})]})},"verification-input-confirmation":{information:r.jsx(d.LabelInformation,{children:n("calibration-confirm-info",{data:{volume:Number(m).toFixed(1)}})}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:()=>o("verification-input"),children:n("go-back")}),r.jsx(d.Button,{onPointerDown:async()=>{if(i===void 0||m===void 0)return;f();const[x,_]=await t.performComplete(i,m,g==null?void 0:g.clientData);x?(c(x),o("failure")):o("verification-success")},children:n("confirm-and-proceed")})]}),status:"information"},"verification-success":{information:r.jsx(d.LabelInformation,{children:n("verification-success-info")}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"success"},"verification-failure":{information:r.jsx(d.LabelInformation,{children:n("verification-failed-info",{data:{ingredient:t.name}})}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"error"},failure:{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("calibration-failed")}),r.jsx(d.BodyMediumInformation,{children:n(`error.${a||"unknownError"}`)})]}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"error"}}),[f,a,g==null?void 0:g.clientData,e,t,n,i,m]);let y;switch(s){case"preparation-in-progress":y="preparation-progress-title";break;case"calibration-in-progress":y="calibration-progress-title";break;case"verification-in-progress":y="verification-progress-title";break;default:y="initiating"}return r.jsxs(r.Fragment,{children:[r.jsx(d.WorkflowModal,{title:n("title",{data:{ingredient:t.name}}),...v[s],onClose:()=>e()}),g&&r.jsx(K,{title:n(y),future:g})]})}),vc=u.KosLog.createLogger({name:"state-experience"});vc.debug("state-experience component loaded");const Cc=T.div``,wc=u.kosComponent(()=>{const{getExtensions:t}=Te(),{model:e}=dn(),[n,s]=p.useState(null);return p.useEffect(()=>u.kosAutoEffect(()=>{const a=t(_e.id),c=v=>{const y=a.find(_=>_.data.troubleType===v),x=y==null?void 0:y.data;return y?x.stateKey??x.troubleType:void 0},i=a.reduce((v,y)=>{const x=y.data,_=x.stateKey??x.troubleType;return v[_]={extension:_e.id,module:y.id,namespace:x.namespace,title:x.title,stateValue:x.stateValue??x.troubleType},v},{}),l=e==null?void 0:e.activeTroubleType,m=e==null?void 0:e.activeTrouble,h=l?c(l):void 0,f=h?i[h]:void 0,g=f?r.jsx(se.DynamicComponent,{...f,props:{trouble:m}}):null;s(g)}),[t,e]),r.jsx(Cc,{children:n})}),_c=[0,6],go=()=>{const{regionModel:t}=u.useKosRegions(),{model:e}=u.useKosTime(),[n,s]=p.useState(new Date),o=n.getFullYear(),a=u.useDateProps({formatOptions:{dayFormat:"short",yearFormat:"long",monthFormat:"long",formatString:(t==null?void 0:t.selectedDateFormat)||"yyyy/MM/dd"},filterOptions:{daysOfWeekFilter:_c,yearsRange:[o-10,o+10]}}),c=p.useCallback((m,h)=>{switch(m){case"year":a.dateActions.setYear(h.id);break;case"month":a.dateActions.setMonth(h.id);break;case"day":a.dateActions.setDay(h.id);break}},[a.dateActions]),i=p.useCallback(()=>{a.dateActions.setYear(n.getFullYear()),a.dateActions.setMonth(n.getMonth()),a.dateActions.setDay(n.getDate())},[n,a.dateActions]),l=p.useCallback(async({day:m,month:h,year:f})=>{a.dateActions.setYear(f),a.dateActions.setMonth(h),a.dateActions.setDay(m),await(e==null?void 0:e.updateSystemDate({day:m,month:h,year:f})),s(new Date)},[a.dateActions,e]);return r.jsx(As,{onDiscard:i,onChange:c,onSave:l})},xo=u.kosComponent(({...t})=>{var i;const{regionModel:e}=u.useKosRegions(),{model:n}=u.useKosTime(),{t:s}=u.useKosTranslation("common"),o=e==null?void 0:e.allTimeZones.map(l=>({id:l,label:l.replace(/_/g," ")})),a=(i=e==null?void 0:e.timeZones)==null?void 0:i.map(l=>({id:l,label:l.replace(/_/g," ")})),c=[{id:"region",label:s("suggested"),items:a||[]},{id:"all",label:s("all"),items:o||[]}];return r.jsx(d.SwitchPickerCard,{...t,label:s("time-zone"),data:c,displayValue:(n==null?void 0:n.timezone).replace("_"," "),loop:!1,selectedItemId:n==null?void 0:n.timezone,onSave:n==null?void 0:n.updateSystemTimezone,closeButtonLabel:s("close","Close")||void 0,cancelButtonLabel:s("discard-changes","Discard Changes")||void 0,proceedButtonLabel:s("save","Save")||void 0})}),kc=u.kosComponent(({showHeading:t})=>{var v,y,x,_,R,D,P,E;const{t:e}=u.useKosTranslation("region"),{regionModel:n}=u.useKosRegions(),{model:s}=u.useKosTime(),{amPmOptions:o,formattedTime:a,hourOptions:c,minuteOptions:i,setTime:l,time:m}=u.useRegionTimeProps(),h=m.getHours(),f=p.useMemo(()=>[{id:"hr",items:c,selectedItemId:h<12?h:h-12,loop:!0},{id:"min",items:i,selectedItemId:m.getMinutes(),loop:!0},{id:"ampm",items:o,selectedItemId:h<12?"AM":"PM"}],[o,c,i,m,h]),g=p.useMemo(()=>[{id:"hr",items:c,selectedItemId:h,loop:!0},{id:"min",items:i,selectedItemId:m.getMinutes(),loop:!0}],[c,i,m,h]);return p.useEffect(()=>{const w=setInterval(()=>{l(new Date)},3e4);return()=>{clearInterval(w)}},[l]),r.jsxs(d.TabContainer,{children:[t&&r.jsx(d.SettingsSubheading,{children:e("time-settings","Time Settings")}),((v=n==null?void 0:n.dateFormatOptions)==null?void 0:v.length)&&r.jsx(d.SwitchCard,{label:e("date-format","Date Format"),value:(x=(y=n==null?void 0:n.dateFormatOptions)==null?void 0:y.find(w=>w.format===n.selectedDateFormat))==null?void 0:x.id,options:(_=n==null?void 0:n.dateFormatOptions)==null?void 0:_.map(w=>({label:w.format.toUpperCase(),...w})),onChange:w=>w&&(n==null?void 0:n.setSelectedDateFormat(String(w)))}),r.jsx(go,{}),r.jsx(xo,{}),((R=n==null?void 0:n.timeFormatOptions)==null?void 0:R.length)&&r.jsx(d.SwitchCard,{label:e("time-format","Time Format"),value:(P=(D=n==null?void 0:n.timeFormatOptions)==null?void 0:D.find(w=>w.format===n.selectedTimeFormat))==null?void 0:P.id,options:(E=n==null?void 0:n.timeFormatOptions)==null?void 0:E.map(w=>({label:w!=null&&w.ampm?"12 HR":"24 HR",...w})).reverse(),onChange:w=>w&&(n==null?void 0:n.setSelectedTimeFormat(String(w)))}),r.jsx(d.MultiPickerCard,{data:n!=null&&n.is12HourTimeFormat?f:g,icon:ke.TimeIcon,displayValue:a,label:e("current-time","Current Time"),closeButtonLabel:e("close","Close")||void 0,cancelButtonLabel:e("discard-changes","Discard Changes")||void 0,proceedButtonLabel:e("save","Save")||void 0,onSave:w=>{const U=n!=null&&n.is12HourTimeFormat?w.ampm==="AM"?w.hr:w.hr+12:w.hr,q=w.min,B=new Date(m);B.setHours(U),B.setMinutes(q),l(B),s==null||s.updateSystemTime({hour:U,min:q,sec:0})}})]})}),Sc=rn(u.kosComponent(({settings:t,showHeading:e})=>{const{t:n}=u.useKosTranslation("dispenser-profile");return r.jsxs(d.TabContainer,{children:[e&&r.jsx(d.SettingsSubheading,{children:n("water-settings","Water Settings")}),r.jsx(De,{label:n("plain-water","Plain Water"),configProperty:t.hidePlainWaterBev}),r.jsx(De,{label:n("carbonated-water","Carbonated Water"),configProperty:t.hideCarbWaterBev})]})})),Tc=T.div`
408
+ `,ho=u.kosComponent(({setupStepContainer:t,onStepSelected:e,...n})=>{const{t:s,labelMap:o}=$s({defaultNamespace:"setup",extensionPoint:Ve.id}),a=t==null?void 0:t.currentStep,c=(t==null?void 0:t.data.map(i=>r.jsxs(mo,{onPointerDown:()=>{t.setCurrentStep(i.id),e(i.id)},children:[r.jsx(d.StatusIndicator,{size:"large",status:a===i?"active":i.complete?"completed":"pending"}),r.jsx(po,{children:s(o[i.name]??i.titleKey)})]},i.id)))||[];return r.jsx(d.Sidebar,{...n,children:c})}),xc=Ys(ho),bc=u.kosComponent(()=>{const{model:t}=u.useSoftwareInfo();return(t==null?void 0:t.nodes)&&t.nodes.map((e,n)=>r.jsxs(d.FrameContainer,{name:e.nodeName,children:[r.jsx("div",{children:r.jsx(d.FrameBody,{keyList:[],tableHead:`KOS Release Version: ${e.kosVersion}`,tableData:[],tableLayout:"fixed"})},"kosVersion"),Object.keys(e.group).map((s,o)=>r.jsx("div",{children:r.jsx(d.FrameBody,{keyList:["name","version"],tableHead:s==="undefined"?"Apps":s,tableData:e.group[s],tableLayout:"fixed"})},o))]},n))}),Qe=8,fo=u.kosComponent(({pump:t,onComplete:e})=>{const{t:n}=u.useKosTranslation("common",{keyPrefix:"spm-field-calibration"}),[s,o]=p.useState("preparation-idle"),[a,c]=p.useState(),[i,l]=p.useState(Qe.toString()),[m,h]=p.useState(Qe.toString()),{clearFuture:f,future:g}=J(t);p.useEffect(()=>{switch(g==null?void 0:g.endState){case"CANCEL":switch(s){case"preparation-in-progress":o("preparation-idle");break;default:c("calibration-canceled"),o("failure")}break;case"SUCCESS":switch(s){case"preparation-in-progress":o("preparation-success");break;case"calibration-in-progress":o("calibration-input");break;case"verification-in-progress":o("verification-input");break}break;case"FAIL":case"ABORT":c(""),o("failure");break}},[g==null?void 0:g.endState,g==null?void 0:g.reason,s]);const v=p.useMemo(()=>({"preparation-idle":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("preparation-idle-step")}),r.jsx(d.InfoMessage,{children:n("preparation-idle-alert")}),r.jsx(d.InstructionCard,{children:r.jsxs("ol",{children:[r.jsx("li",{children:n("preparation-idle-info-1")}),r.jsx("li",{children:n("preparation-idle-info-2")})]})})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{onPointerDown:()=>{f(),t.performPreCalibrate(),o("preparation-in-progress")},children:n("preparation-action")})]})},"preparation-in-progress":{information:r.jsx(d.LabelInformation,{children:n("preparation-progress-info")}),footer:r.jsx(d.Button,{disabled:!0,children:n("preparation-action")}),status:"loading"},"preparation-success":{information:r.jsx(d.LabelInformation,{children:n("preparation-success-info")}),footer:r.jsx(d.Button,{onPointerDown:()=>o("calibration-idle"),children:n("preparation-success-action")}),status:"success"},"preparation-failed":{},"calibration-idle":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("calibration-idle-step")}),r.jsx(d.InfoMessage,{children:n("calibration-idle-alert")}),r.jsx(d.InstructionCard,{children:n("calibration-idle-info-1")})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{onPointerDown:()=>{f(),t.performCalibrate(),o("calibration-in-progress")},children:n("calibrate")})]})},"calibration-in-progress":{information:r.jsx(d.LabelInformation,{children:n("calibration-progress-info")}),status:"loading"},"calibration-input":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("calibration-input-info")}),r.jsx(d.InputStep,{onChange:x=>{l(x.toString())},value:i!==void 0?Number(i):Qe})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{disabled:i===void 0,onPointerDown:()=>{i!==void 0&&o("calibration-input-confirmation")},children:n("proceed")})]})},"calibration-input-confirmation":{information:r.jsx(d.LabelInformation,{children:n("calibration-confirm-info",{data:{volume:Number(i).toFixed(1)}})}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:()=>o("calibration-input"),children:n("go-back")}),r.jsx(d.Button,{onPointerDown:()=>o("verification-idle"),children:n("confirm-and-proceed")})]}),status:"information"},"verification-idle":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("verification-idle-step")}),r.jsx(d.InfoMessage,{children:n("verification-idle-alert")}),r.jsx(d.InstructionCard,{children:r.jsxs("ol",{children:[r.jsx("li",{children:n("verification-idle-info-1")}),r.jsx("li",{children:n("verification-idle-info-2")})]})})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{onPointerDown:async()=>{i!==void 0&&(f(),t.performVerify(i,g==null?void 0:g.clientData),o("verification-in-progress"))},children:n("initiate-verification-pour")})]})},"verification-in-progress":{information:r.jsx(d.LabelInformation,{children:n("verification-progress-info")}),status:"loading"},"verification-trouble":{},"verification-input":{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("verification-input-info")}),r.jsx(d.InputStep,{onChange:x=>{h(x.toString())},value:m!==void 0?Number(m):Qe})]}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:e,children:n("cancel")}),r.jsx(d.Button,{disabled:m===void 0,onPointerDown:async()=>{o("verification-input-confirmation")},children:n("proceed")})]})},"verification-input-confirmation":{information:r.jsx(d.LabelInformation,{children:n("calibration-confirm-info",{data:{volume:Number(m).toFixed(1)}})}),footer:r.jsxs(r.Fragment,{children:[r.jsx(d.Button,{onPointerDown:()=>o("verification-input"),children:n("go-back")}),r.jsx(d.Button,{onPointerDown:async()=>{if(i===void 0||m===void 0)return;f();const[x,_]=await t.performComplete(i,m,g==null?void 0:g.clientData);x?(c(x),o("failure")):o("verification-success")},children:n("confirm-and-proceed")})]}),status:"information"},"verification-success":{information:r.jsx(d.LabelInformation,{children:n("verification-success-info")}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"success"},"verification-failure":{information:r.jsx(d.LabelInformation,{children:n("verification-failed-info",{data:{ingredient:t.name}})}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"error"},failure:{information:r.jsxs(r.Fragment,{children:[r.jsx(d.LabelInformation,{children:n("calibration-failed")}),r.jsx(d.BodyMediumInformation,{children:n(`error.${a||"unknownError"}`)})]}),footer:r.jsx(d.Button,{onPointerDown:e,children:n("exit-calibration")}),status:"error"}}),[f,a,g==null?void 0:g.clientData,e,t,n,i,m]);let y;switch(s){case"preparation-in-progress":y="preparation-progress-title";break;case"calibration-in-progress":y="calibration-progress-title";break;case"verification-in-progress":y="verification-progress-title";break;default:y="initiating"}return r.jsxs(r.Fragment,{children:[r.jsx(d.WorkflowModal,{title:n("title",{data:{ingredient:t.name}}),...v[s],onClose:()=>e()}),g&&r.jsx(K,{title:n(y),future:g})]})}),yc=u.KosLog.createLogger({name:"state-experience"});yc.debug("state-experience component loaded");const vc=T.div``,Cc=u.kosComponent(()=>{const{getExtensions:t}=Te(),{model:e}=dn(),[n,s]=p.useState(null);return p.useEffect(()=>u.kosAutoEffect(()=>{const a=t(_e.id),c=v=>{const y=a.find(_=>_.data.troubleType===v),x=y==null?void 0:y.data;return y?x.stateKey??x.troubleType:void 0},i=a.reduce((v,y)=>{const x=y.data,_=x.stateKey??x.troubleType;return v[_]={extension:_e.id,module:y.id,namespace:x.namespace,title:x.title,stateValue:x.stateValue??x.troubleType},v},{}),l=e==null?void 0:e.activeTroubleType,m=e==null?void 0:e.activeTrouble,h=l?c(l):void 0,f=h?i[h]:void 0,g=f?r.jsx(se.DynamicComponent,{...f,props:{trouble:m}}):null;s(g)}),[t,e]),r.jsx(vc,{children:n})}),wc=[0,6],go=()=>{const{regionModel:t}=u.useKosRegions(),{model:e}=u.useKosTime(),[n,s]=p.useState(new Date),o=n.getFullYear(),a=u.useDateProps({formatOptions:{dayFormat:"short",yearFormat:"long",monthFormat:"long",formatString:(t==null?void 0:t.selectedDateFormat)||"yyyy/MM/dd"},filterOptions:{daysOfWeekFilter:wc,yearsRange:[o-10,o+10]}}),c=p.useCallback((m,h)=>{switch(m){case"year":a.dateActions.setYear(h.id);break;case"month":a.dateActions.setMonth(h.id);break;case"day":a.dateActions.setDay(h.id);break}},[a.dateActions]),i=p.useCallback(()=>{a.dateActions.setYear(n.getFullYear()),a.dateActions.setMonth(n.getMonth()),a.dateActions.setDay(n.getDate())},[n,a.dateActions]),l=p.useCallback(async({day:m,month:h,year:f})=>{a.dateActions.setYear(f),a.dateActions.setMonth(h),a.dateActions.setDay(m),await(e==null?void 0:e.updateSystemDate({day:m,month:h,year:f})),s(new Date)},[a.dateActions,e]);return r.jsx(As,{onDiscard:i,onChange:c,onSave:l})},xo=u.kosComponent(({...t})=>{var i;const{regionModel:e}=u.useKosRegions(),{model:n}=u.useKosTime(),{t:s}=u.useKosTranslation("common"),o=e==null?void 0:e.allTimeZones.map(l=>({id:l,label:l.replace(/_/g," ")})),a=(i=e==null?void 0:e.timeZones)==null?void 0:i.map(l=>({id:l,label:l.replace(/_/g," ")})),c=[{id:"region",label:s("suggested"),items:a||[]},{id:"all",label:s("all"),items:o||[]}];return r.jsx(d.SwitchPickerCard,{...t,label:s("time-zone"),data:c,displayValue:(n==null?void 0:n.timezone).replace("_"," "),loop:!1,selectedItemId:n==null?void 0:n.timezone,onSave:n==null?void 0:n.updateSystemTimezone,closeButtonLabel:s("close","Close")||void 0,cancelButtonLabel:s("discard-changes","Discard Changes")||void 0,proceedButtonLabel:s("save","Save")||void 0})}),_c=u.kosComponent(({showHeading:t})=>{var v,y,x,_,R,D,P,E;const{t:e}=u.useKosTranslation("region"),{regionModel:n}=u.useKosRegions(),{model:s}=u.useKosTime(),{amPmOptions:o,formattedTime:a,hourOptions:c,minuteOptions:i,setTime:l,time:m}=u.useRegionTimeProps(),h=m.getHours(),f=p.useMemo(()=>[{id:"hr",items:c,selectedItemId:h<12?h:h-12,loop:!0},{id:"min",items:i,selectedItemId:m.getMinutes(),loop:!0},{id:"ampm",items:o,selectedItemId:h<12?"AM":"PM"}],[o,c,i,m,h]),g=p.useMemo(()=>[{id:"hr",items:c,selectedItemId:h,loop:!0},{id:"min",items:i,selectedItemId:m.getMinutes(),loop:!0}],[c,i,m,h]);return p.useEffect(()=>{const w=setInterval(()=>{l(new Date)},3e4);return()=>{clearInterval(w)}},[l]),r.jsxs(d.TabContainer,{children:[t&&r.jsx(d.SettingsSubheading,{children:e("time-settings","Time Settings")}),((v=n==null?void 0:n.dateFormatOptions)==null?void 0:v.length)&&r.jsx(d.SwitchCard,{label:e("date-format","Date Format"),value:(x=(y=n==null?void 0:n.dateFormatOptions)==null?void 0:y.find(w=>w.format===n.selectedDateFormat))==null?void 0:x.id,options:(_=n==null?void 0:n.dateFormatOptions)==null?void 0:_.map(w=>({label:w.format.toUpperCase(),...w})),onChange:w=>w&&(n==null?void 0:n.setSelectedDateFormat(String(w)))}),r.jsx(go,{}),r.jsx(xo,{}),((R=n==null?void 0:n.timeFormatOptions)==null?void 0:R.length)&&r.jsx(d.SwitchCard,{label:e("time-format","Time Format"),value:(P=(D=n==null?void 0:n.timeFormatOptions)==null?void 0:D.find(w=>w.format===n.selectedTimeFormat))==null?void 0:P.id,options:(E=n==null?void 0:n.timeFormatOptions)==null?void 0:E.map(w=>({label:w!=null&&w.ampm?"12 HR":"24 HR",...w})).reverse(),onChange:w=>w&&(n==null?void 0:n.setSelectedTimeFormat(String(w)))}),r.jsx(d.MultiPickerCard,{data:n!=null&&n.is12HourTimeFormat?f:g,icon:ke.TimeIcon,displayValue:a,label:e("current-time","Current Time"),closeButtonLabel:e("close","Close")||void 0,cancelButtonLabel:e("discard-changes","Discard Changes")||void 0,proceedButtonLabel:e("save","Save")||void 0,onSave:w=>{const U=n!=null&&n.is12HourTimeFormat?w.ampm==="AM"?w.hr:w.hr+12:w.hr,q=w.min,B=new Date(m);B.setHours(U),B.setMinutes(q),l(B),s==null||s.updateSystemTime({hour:U,min:q,sec:0})}})]})}),kc=rn(u.kosComponent(({settings:t,showHeading:e})=>{const{t:n}=u.useKosTranslation("dispenser-profile");return r.jsxs(d.TabContainer,{children:[e&&r.jsx(d.SettingsSubheading,{children:n("water-settings","Water Settings")}),r.jsx(De,{label:n("plain-water","Plain Water"),configProperty:t.hidePlainWaterBev}),r.jsx(De,{label:n("carbonated-water","Carbonated Water"),configProperty:t.hideCarbWaterBev})]})})),Sc=T.div`
415
409
  display: flex;
416
410
  flex-direction: column;
417
411
  gap: 12px;
418
- `,jc=T.div`
412
+ `,Tc=T.div`
419
413
  display: flex;
420
414
  flex-direction: row;
421
415
  gap: 12px;
422
416
  align-items: center;
423
417
  justify-content: center;
424
- `,Ic=T(d.Button)`
418
+ `,jc=T(d.Button)`
425
419
  display: block;
426
- `;exports.ActionButton=Ic;exports.ActionContainer=Tc;exports.ActionRow=jc;exports.AgitationControlView=Fo;exports.AgitatorDetail=$o;exports.AgitatorModal=bs;exports.AgitatorSummary=Uo;exports.AnimationContext=pn;exports.AnimationProvider=$a;exports.ApplicationComponentConfigurationProvider=Ua;exports.ApplicationContext=hn;exports.ApplicationProvider=za;exports.CGPPumpCard=Ji;exports.CalibrateAction=as;exports.CalibrateModal=ws;exports.CarbTankDetail=Mo;exports.CarbTankSummary=Vo;exports.ConfigPropInfoCard=Ss;exports.ConfigPropInputCard=at;exports.ConfigPropInputRangeCard=be;exports.ConfigPropMultiInputEnableCard=js;exports.ConfigPropPickerCard=it;exports.ConfigPropSingleInputEnableCard=tr;exports.ConfigPropSwitchCard=Is;exports.ConfigPropTimePickerCard=Ps;exports.ConfigPropToggleCard=De;exports.CuiExtension=pt;exports.DashboardDetailExtension=Yt;exports.DashboardMacroSummaryExtension=Le;exports.DashboardOperationsContext=fn;exports.DashboardOperationsProvider=Ha;exports.DashboardPumpDetailExtension=le;exports.DashboardSummaryExtension=qt;exports.DatePickerCard=As;exports.DiagnosticsModal=Ns;exports.DispenserInfoContext=gn;exports.DispenserInfoProvider=Wa;exports.DispenserInfoSettings=Oa;exports.DispenserSerialNumber=eo;exports.DispenserSettings=Ra;exports.EXTENSION_PLUGIN_VISIBILITY=te;exports.EXTENSION_POINT_CUI=ea;exports.EXTENSION_POINT_CUI_DEF=ta;exports.EXTENSION_POINT_CUI_VIEW=na;exports.EXTENSION_POINT_DASHBOARD_DETAIL=Hr;exports.EXTENSION_POINT_DASHBOARD_DETAIL_DEF=Zr;exports.EXTENSION_POINT_DASHBOARD_DETAIL_VIEW=Wr;exports.EXTENSION_POINT_DASHBOARD_MACRO_SUMMARY=Gr;exports.EXTENSION_POINT_DASHBOARD_MACRO_SUMMARY_DEF=Jr;exports.EXTENSION_POINT_DASHBOARD_MACRO_SUMMARY_VIEW=Qr;exports.EXTENSION_POINT_DASHBOARD_PUMP_DETAIL=Xr;exports.EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_DEF=qr;exports.EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_VIEW=Yr;exports.EXTENSION_POINT_DASHBOARD_SUMMARY=Kr;exports.EXTENSION_POINT_DASHBOARD_SUMMARY_DEF=Ur;exports.EXTENSION_POINT_DASHBOARD_SUMMARY_VIEW=zr;exports.EXTENSION_POINT_NAV_VIEW=sa;exports.EXTENSION_POINT_NAV_VIEW_DEF=oa;exports.EXTENSION_POINT_NAV_VIEW_VIEW=ra;exports.EXTENSION_POINT_SETUP=aa;exports.EXTENSION_POINT_SETUP_DEF=ia;exports.EXTENSION_POINT_SETUP_VIEW=ca;exports.EXTENSION_POINT_TROUBLE_ACTION=da;exports.EXTENSION_POINT_TROUBLE_ACTION_DEF=la;exports.EXTENSION_POINT_TROUBLE_ACTION_VIEW=ua;exports.EXTENSION_POINT_VIEW=ma;exports.EXTENSION_POINT_VIEW_DEF=pa;exports.EXTENSION_POINT_VIEW_VIEW=ha;exports.EnjoyByDate=mn;exports.FailureMessage=Ne;exports.Fixed45FlowTestAction=is;exports.FlushAction=cs;exports.FutureProgressBar=K;exports.GenericTroubleAction=xs;exports.HardwareInfo=Va;exports.HighFlowTestAction=ds;exports.HoldToPourAction=ls;exports.HoldToPourButton=me;exports.HolderActions=Ue;exports.HolderCard=so;exports.HolderContentContext=Qt;exports.HolderContentProvider=ga;exports.HolderGroup=jn;exports.HolderGroupView=Ci;exports.HolderNotifications=ae;exports.IceAgitatorDetail=Vi;exports.IceAgitatorSettings=ro;exports.IceAgitatorSettingsContainer=Ui;exports.IceAgitatorSettingsView=zi;exports.IceAgitatorSummary=Ki;exports.IngredientSummaryContext=xn;exports.IngredientSummaryProvider=qa;exports.IntentAction=X;exports.KosPluginExtensionManager=Xs;exports.LFCVPumpCard=ec;exports.LocalizationSettings=Hi;exports.LowFlowTestAction=us;exports.MSVPumpCard=tc;exports.MSVResetAction=ps;exports.MacroAssignmentContext=bn;exports.MacroAssignmentProvider=Ga;exports.MacroHolderCard=oo;exports.MacroHolderGroupView=Ai;exports.MacroSetupStepCard=Ct;exports.ManualOverrideAction=ms;exports.NavViewExtension=Gt;exports.NetworkTestContainerContext=vn;exports.NetworkTestContainerProvider=ti;exports.NetworkTestContext=yn;exports.NetworkTestProvider=Qa;exports.NetworkTestResults=qi;exports.NotificationCardView=ao;exports.PluginExtensionManager=Ws;exports.PluginTabs=Gi;exports.PrimeAction=hs;exports.ProbeView=Ut;exports.PurgeAction=fs;exports.RFIDOverride=uo;exports.RebootContext=Cn;exports.RebootProvider=si;exports.RebootView=dc;exports.RemoteNNSModal=lc;exports.RemoteTrayDetail=uc;exports.RemoteTraySummary=pc;exports.ReplaceLine=co;exports.ReplacePump=lo;exports.SPMFieldCalibrationModal=fo;exports.SettingsContext=wn;exports.SettingsProvider=ri;exports.SetupExtension=Ve;exports.SetupRequired=xc;exports.SetupSidebar=bc;exports.SetupSidebarComp=ho;exports.SetupStepContainerContext=kn;exports.SetupStepContainerProvider=di;exports.SetupStepContext=_n;exports.SetupStepProvider=ii;exports.Software=yc;exports.StagedChangesProvider=ks;exports.StateExperience=wc;exports.StepItem=mo;exports.StepTitle=po;exports.SuccessMessage=rt;exports.SuperPumpCard=io;exports.SystemDatePickerCard=go;exports.TROUBLE_PRIME=Io;exports.TROUBLE_PURGE=Eo;exports.TimePickerCard=Es;exports.TimeSettings=kc;exports.TimeZonePickerCard=xo;exports.TroubleAction=gs;exports.TroubleActionExtension=_e;exports.UtilitiesContainerContext=Tn;exports.UtilitiesContainerProvider=pi;exports.UtilitiesContext=Sn;exports.UtilitiesProvider=ui;exports.ValveCard=oc;exports.ViewExtension=Jt;exports.WaterPumpCard=rc;exports.WaterSettings=Sc;exports.initDDKRegistration=ka;exports.pumpTypeFactory=Zs;exports.troubleLabelByType=qs;exports.troubleLabelFactory=$e;exports.useAgitationControl=Kt;exports.useAnimation=Ht;exports.useAnimationContext=Ka;exports.useApplication=Me;exports.useApplicationContext=vt;exports.useCarbWater=Os;exports.useCombinedActions=sr;exports.useCopyLogs=Rs;exports.useDashboardOperations=Zt;exports.useDashboardOperationsContext=Za;exports.useDispenserInfo=Wt;exports.useDispenserInfoContext=Xa;exports.useDoor=Ls;exports.useFutureContainer=J;exports.useHolderContent=en;exports.useHolderExperience=Se;exports.useIngredientSummary=tn;exports.useIngredientSummaryContext=Ya;exports.useMacroAssignment=nn;exports.useMacroAssignmentContext=Ja;exports.useNetworkTest=sn;exports.useNetworkTestContainer=on;exports.useNetworkTestContainerContext=ni;exports.useNetworkTestContext=ei;exports.useNutritiveSweetener=zs;exports.usePlainWater=Hs;exports.usePluginExtensions=Te;exports.usePumpAction=ue;exports.usePumpCalibration=Gs;exports.useReboot=bt;exports.useRebootContext=oi;exports.useSettings=yt;exports.useSettingsContext=ai;exports.useSetupStep=an;exports.useSetupStepContainer=cn;exports.useSetupStepContainerContext=li;exports.useSetupStepContext=ci;exports.useStagedChanges=zt;exports.useStart=Js;exports.useTroubleAction=cr;exports.useTroubleActionState=dn;exports.useTroubleData=Ke;exports.useTroubleDecoration=Qs;exports.useTroubleVisibility=Aa;exports.useUtilities=ln;exports.useUtilitiesContainer=un;exports.useUtilitiesContainerContext=hi;exports.useUtilitiesContext=mi;exports.useViewExtensions=$s;exports.useVisibleTroubles=je;exports.withAgitationControl=dr;exports.withAnimation=Ds;exports.withApplication=lr;exports.withCarbWater=ur;exports.withCopyLogs=mr;exports.withDashboardOperations=pr;exports.withDispenserInfo=Fs;exports.withDoor=hr;exports.withIngredientSummary=ba;exports.withMacroAssignment=Ks;exports.withNetworkTest=ya;exports.withNetworkTestContainer=Us;exports.withNutritiveSweetener=va;exports.withPlainWater=Ca;exports.withReboot=Sa;exports.withSettings=rn;exports.withSetupStep=Ta;exports.withSetupStepContainer=Ys;exports.withStagedChanges=Ho;exports.withStart=ja;exports.withTroubleAction=Ia;exports.withUtilities=Na;exports.withUtilitiesContainer=Da;
420
+ `;exports.ActionButton=jc;exports.ActionContainer=Sc;exports.ActionRow=Tc;exports.AgitationControlView=Fo;exports.AgitatorDetail=$o;exports.AgitatorModal=bs;exports.AgitatorSummary=Uo;exports.AnimationContext=pn;exports.AnimationProvider=$a;exports.ApplicationComponentConfigurationProvider=Ua;exports.ApplicationContext=hn;exports.ApplicationProvider=za;exports.CGPPumpCard=Ji;exports.CalibrateAction=as;exports.CalibrateModal=ws;exports.CarbTankDetail=Mo;exports.CarbTankSummary=Vo;exports.ConfigPropInfoCard=Ss;exports.ConfigPropInputCard=at;exports.ConfigPropInputRangeCard=be;exports.ConfigPropMultiInputEnableCard=js;exports.ConfigPropPickerCard=it;exports.ConfigPropSingleInputEnableCard=tr;exports.ConfigPropSwitchCard=Is;exports.ConfigPropTimePickerCard=Ps;exports.ConfigPropToggleCard=De;exports.CuiExtension=pt;exports.DashboardDetailExtension=Yt;exports.DashboardMacroSummaryExtension=Le;exports.DashboardOperationsContext=fn;exports.DashboardOperationsProvider=Ha;exports.DashboardPumpDetailExtension=le;exports.DashboardSummaryExtension=qt;exports.DatePickerCard=As;exports.DiagnosticsModal=Ns;exports.DispenserInfoContext=gn;exports.DispenserInfoProvider=Wa;exports.DispenserInfoSettings=Oa;exports.DispenserSerialNumber=eo;exports.DispenserSettings=Ra;exports.EXTENSION_PLUGIN_VISIBILITY=te;exports.EXTENSION_POINT_CUI=ea;exports.EXTENSION_POINT_CUI_DEF=ta;exports.EXTENSION_POINT_CUI_VIEW=na;exports.EXTENSION_POINT_DASHBOARD_DETAIL=Hr;exports.EXTENSION_POINT_DASHBOARD_DETAIL_DEF=Zr;exports.EXTENSION_POINT_DASHBOARD_DETAIL_VIEW=Wr;exports.EXTENSION_POINT_DASHBOARD_MACRO_SUMMARY=Gr;exports.EXTENSION_POINT_DASHBOARD_MACRO_SUMMARY_DEF=Jr;exports.EXTENSION_POINT_DASHBOARD_MACRO_SUMMARY_VIEW=Qr;exports.EXTENSION_POINT_DASHBOARD_PUMP_DETAIL=Xr;exports.EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_DEF=qr;exports.EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_VIEW=Yr;exports.EXTENSION_POINT_DASHBOARD_SUMMARY=Kr;exports.EXTENSION_POINT_DASHBOARD_SUMMARY_DEF=Ur;exports.EXTENSION_POINT_DASHBOARD_SUMMARY_VIEW=zr;exports.EXTENSION_POINT_NAV_VIEW=sa;exports.EXTENSION_POINT_NAV_VIEW_DEF=oa;exports.EXTENSION_POINT_NAV_VIEW_VIEW=ra;exports.EXTENSION_POINT_SETUP=aa;exports.EXTENSION_POINT_SETUP_DEF=ia;exports.EXTENSION_POINT_SETUP_VIEW=ca;exports.EXTENSION_POINT_TROUBLE_ACTION=da;exports.EXTENSION_POINT_TROUBLE_ACTION_DEF=la;exports.EXTENSION_POINT_TROUBLE_ACTION_VIEW=ua;exports.EXTENSION_POINT_VIEW=ma;exports.EXTENSION_POINT_VIEW_DEF=pa;exports.EXTENSION_POINT_VIEW_VIEW=ha;exports.EnjoyByDate=mn;exports.FailureMessage=Ne;exports.Fixed45FlowTestAction=is;exports.FlushAction=cs;exports.FutureProgressBar=K;exports.GenericTroubleAction=xs;exports.HardwareInfo=Va;exports.HighFlowTestAction=ds;exports.HoldToPourAction=ls;exports.HoldToPourButton=me;exports.HolderActions=Ue;exports.HolderCard=so;exports.HolderContentContext=Qt;exports.HolderContentProvider=ga;exports.HolderGroup=jn;exports.HolderGroupView=Ci;exports.HolderNotifications=ae;exports.IceAgitatorDetail=Vi;exports.IceAgitatorSettings=ro;exports.IceAgitatorSettingsContainer=Ui;exports.IceAgitatorSettingsView=zi;exports.IceAgitatorSummary=Ki;exports.IngredientSummaryContext=xn;exports.IngredientSummaryProvider=qa;exports.IntentAction=X;exports.KosPluginExtensionManager=Xs;exports.LFCVPumpCard=ec;exports.LocalizationSettings=Hi;exports.LowFlowTestAction=us;exports.MSVPumpCard=tc;exports.MSVResetAction=ps;exports.MacroAssignmentContext=bn;exports.MacroAssignmentProvider=Ga;exports.MacroHolderCard=oo;exports.MacroHolderGroupView=Ai;exports.MacroSetupStepCard=Ct;exports.ManualOverrideAction=ms;exports.NavViewExtension=Gt;exports.NetworkTestContainerContext=vn;exports.NetworkTestContainerProvider=ti;exports.NetworkTestContext=yn;exports.NetworkTestProvider=Qa;exports.NetworkTestResults=qi;exports.NotificationCardView=ao;exports.PluginExtensionManager=Ws;exports.PluginTabs=Gi;exports.PrimeAction=hs;exports.ProbeView=Ut;exports.PurgeAction=fs;exports.RFIDOverride=uo;exports.RebootContext=Cn;exports.RebootProvider=si;exports.RebootView=dc;exports.RemoteNNSModal=lc;exports.RemoteTrayDetail=uc;exports.RemoteTraySummary=pc;exports.ReplaceLine=co;exports.ReplacePump=lo;exports.SPMFieldCalibrationModal=fo;exports.SettingsContext=wn;exports.SettingsProvider=ri;exports.SetupExtension=Ve;exports.SetupRequired=gc;exports.SetupSidebar=xc;exports.SetupSidebarComp=ho;exports.SetupStepContainerContext=kn;exports.SetupStepContainerProvider=di;exports.SetupStepContext=_n;exports.SetupStepProvider=ii;exports.Software=bc;exports.StagedChangesProvider=ks;exports.StateExperience=Cc;exports.StepItem=mo;exports.StepTitle=po;exports.SuccessMessage=rt;exports.SuperPumpCard=io;exports.SystemDatePickerCard=go;exports.TROUBLE_PRIME=Io;exports.TROUBLE_PURGE=Eo;exports.TimePickerCard=Es;exports.TimeSettings=_c;exports.TimeZonePickerCard=xo;exports.TroubleAction=gs;exports.TroubleActionExtension=_e;exports.UtilitiesContainerContext=Tn;exports.UtilitiesContainerProvider=pi;exports.UtilitiesContext=Sn;exports.UtilitiesProvider=ui;exports.ValveCard=oc;exports.ViewExtension=Jt;exports.WaterPumpCard=rc;exports.WaterSettings=kc;exports.initDDKRegistration=ka;exports.pumpTypeFactory=Zs;exports.troubleLabelByType=qs;exports.troubleLabelFactory=$e;exports.useAgitationControl=Kt;exports.useAnimation=Ht;exports.useAnimationContext=Ka;exports.useApplication=Me;exports.useApplicationContext=vt;exports.useCarbWater=Os;exports.useCombinedActions=sr;exports.useCopyLogs=Rs;exports.useDashboardOperations=Zt;exports.useDashboardOperationsContext=Za;exports.useDispenserInfo=Wt;exports.useDispenserInfoContext=Xa;exports.useDoor=Ls;exports.useFutureContainer=J;exports.useHolderContent=en;exports.useHolderExperience=Se;exports.useIngredientSummary=tn;exports.useIngredientSummaryContext=Ya;exports.useMacroAssignment=nn;exports.useMacroAssignmentContext=Ja;exports.useNetworkTest=sn;exports.useNetworkTestContainer=on;exports.useNetworkTestContainerContext=ni;exports.useNetworkTestContext=ei;exports.useNutritiveSweetener=zs;exports.usePlainWater=Hs;exports.usePluginExtensions=Te;exports.usePumpAction=ue;exports.usePumpCalibration=Gs;exports.useReboot=bt;exports.useRebootContext=oi;exports.useSettings=yt;exports.useSettingsContext=ai;exports.useSetupStep=an;exports.useSetupStepContainer=cn;exports.useSetupStepContainerContext=li;exports.useSetupStepContext=ci;exports.useStagedChanges=zt;exports.useStart=Js;exports.useTroubleAction=cr;exports.useTroubleActionState=dn;exports.useTroubleData=Ke;exports.useTroubleDecoration=Qs;exports.useTroubleVisibility=Aa;exports.useUtilities=ln;exports.useUtilitiesContainer=un;exports.useUtilitiesContainerContext=hi;exports.useUtilitiesContext=mi;exports.useViewExtensions=$s;exports.useVisibleTroubles=je;exports.withAgitationControl=dr;exports.withAnimation=Ds;exports.withApplication=lr;exports.withCarbWater=ur;exports.withCopyLogs=mr;exports.withDashboardOperations=pr;exports.withDispenserInfo=Fs;exports.withDoor=hr;exports.withIngredientSummary=ba;exports.withMacroAssignment=Ks;exports.withNetworkTest=ya;exports.withNetworkTestContainer=Us;exports.withNutritiveSweetener=va;exports.withPlainWater=Ca;exports.withReboot=Sa;exports.withSettings=rn;exports.withSetupStep=Ta;exports.withSetupStepContainer=Ys;exports.withStagedChanges=Ho;exports.withStart=ja;exports.withTroubleAction=Ia;exports.withUtilities=Na;exports.withUtilitiesContainer=Da;