hplx-feature-library 1.0.28 → 1.0.29

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 { P as f } from "../PediatricsCalculatorTable-BLfcgKLN.js";
1
+ import { P as f } from "../PediatricsCalculatorTable-CQF4c243.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -9821,13 +9821,13 @@ const Z1 = /* @__PURE__ */ au(J1), Or = (t) => /^(\d+)?(\.)?(\d*)?$/.test(t), Xt
9821
9821
  d(w);
9822
9822
  },
9823
9823
  onChangeHandler: (w) => {
9824
- const S = w.value;
9825
- h((M) => ({
9826
- ...M,
9824
+ const S = w.value, M = Xi.find((R) => R.val === S.medicineType);
9825
+ h((R) => ({
9826
+ ...R,
9827
9827
  medicine_name: S.doctorMedicineName,
9828
9828
  medicine_id: S.medicineId,
9829
9829
  generic_name: S.doctorGenericName,
9830
- type: Xi[S.medicineType] || ""
9830
+ type: M?.type ?? ""
9831
9831
  }));
9832
9832
  },
9833
9833
  options: f,
@@ -9855,11 +9855,17 @@ const Z1 = /* @__PURE__ */ au(J1), Or = (t) => /^(\d+)?(\.)?(\d*)?$/.test(t), Xt
9855
9855
  placeholder: "Select",
9856
9856
  showInput: !1,
9857
9857
  disableInputAutoSize: !0,
9858
- selectedOption: { label: p.type, value: p.type },
9859
- options: Xi.map((w) => ({ label: w, value: w })),
9858
+ selectedOption: (() => {
9859
+ const w = Xi.find((S) => S.type === p.type);
9860
+ return w ? { label: w.type, value: w.type } : void 0;
9861
+ })(),
9862
+ options: Xi.map((w) => ({
9863
+ label: w.type,
9864
+ value: w.type
9865
+ })),
9860
9866
  onChangeHandler: (w) => C("type", w.value)
9861
9867
  }
9862
- ) : /* @__PURE__ */ U.jsx(We, { variant: "Regular", type: "Text sm", className: "hfl-text-Blue_gray-800 hfl-px-2", children: typeof r.type == "number" ? Xi[r.type] : r.type }) }),
9868
+ ) : /* @__PURE__ */ U.jsx(We, { variant: "Regular", type: "Text sm", className: "hfl-text-Blue_gray-800 hfl-px-2", children: r.type || "" }) }),
9863
9869
  /* @__PURE__ */ U.jsx("div", { className: "hfl-w-full hfl-py-2.5", children: Q("calculation_type") ? /* @__PURE__ */ U.jsx(
9864
9870
  st,
9865
9871
  {
@@ -90,7 +90,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
90
90
  font-size: ${ee?.fontSize};
91
91
  color: ${ee?.color};
92
92
  }
93
- `}),U.jsx("input",{ref:Pe,style:g?{}:{width:`${Number(f?.length)>4?(f?.length||0)+5:12}ch`},type:b,placeholder:i,value:f,className:`input-placeholder hfl-flex-1 hfl-pl-2 hfl-placeholder hfl-py-1 focus-visible:hfl-outline-0 focus-visible:hfl-outline-none hfl-border-0 focus:hfl-border-0 ${k?"!hfl-bg-Gray-50 !hfl-cursor-not-allowed":Y||"hfl-bg-White"} ${h||""}`,onChange:we=>{d&&d(we.target.value),At(!0)},onClick:Fr,onKeyDown:we=>F&&F(we,V,Pe),maxLength:$??$}),!e&&!n&&U.jsx("i",{className:"hx_down hfl-mx-2"}),n&&U.jsx("i",{className:`${f?"hx_close hfl-cursor-pointer":"hx_down"} hfl-mx-2`,onClick:()=>{(u?.value||f)&&(d&&d(""),At(!0))}}),E?U.jsx("span",{style:{left:`${ur<2?"3":ur}ch`},className:"hfl-absolute hfl-top-1/2 hfl--translate-y-1/2 hfl-pointer-events-none",children:E}):null]}),K&&U.jsx("span",{className:"hfl-text-0 hfl-text-Error-600",children:D})]}):U.jsxs("button",{ref:Ke,onClick:St,className:`hfl-w-full hfl-bg-White hfl-py-[6px] hfl-px-4 hfl-rounded-lg hfl-inline-flex hfl-justify-between hfl-items-center ${s||""} ${M||"hfl-border-1"} ${D?"hfl-border-Error-300":"hfl-border-Gray-300"} ${R||"hfl-h-[40px]"} ${k?"!hfl-bg-Gray-50 !hfl-cursor-not-allowed":""}`,style:S||u?.label?{}:ee?{fontFamily:ee?.fontFamily,fontSize:ee?.fontSize,fontWeight:ee?.fontWeight,lineHeight:ee?.lineHeight,color:ee?.color}:{},children:[U.jsx("span",{className:"hfl-pr-4",children:S||u?.label||i||"Select an option"}),U.jsx("img",{src:A1,alt:"down arrow"})]}),l&&l?.length>=0&&U.jsxs("ul",{ref:de,className:`${te?"hfl-visible":"hfl-invisible"} hfl-absolute hfl-z-50 hfl-grid hfl-gap-1 hfl-mt-3 hfl-w-full hfl-rounded-lg hfl-shadow-lg hfl-bg-White hfl-font-inter-0 hfl-p-1 hfl-px-2 ${j?"hfl-min-w-[20em]":"hfl-min-w-[16em]"} hfl-max-h-[330px] hfl-overflow-y-scroll ${A}`,role:"menu","aria-orientation":"vertical","aria-labelledby":"options-menu",children:[Q?U.jsx(I1,{onChangeHandler:q,selectedOption:w,options:_}):!1,(m?Qe:l)?.map((we,ze)=>{const ot=j?!!v?.some(Wn=>Wn.value===we?.value):!1,Lr=u?.value===we?.value,Hi=ue===ze;return we?U.jsx("li",{onClick:()=>{j?gr(we):(c&&c(we),V(!1),At(!1))},className:`hfl-text-1 hfl-block hfl-px-4 hfl-py-2 hfl-rounded-md hover:hfl-bg-Blue-50 hfl-cursor-pointer custom_dropdown_item ${T?"odd:hfl-bg-Gray-100":""} ${Lr?"hfl-bg-Blue-50 hfl-text-Blue-500":""}`,role:"menuitem","aria-selected":Lr,tabIndex:Hi?0:-1,ref:Wn=>{Ge.current[ze]=Wn},children:j?U.jsx(bm,{size:"sm",disabled:!1,text:U.jsx("span",{children:we.label}),secondaryText:"",id:`${we.label}-${ze}`,isMarked:ot}):we.label},`${we.label}-${ze}`):null}),l?.length===0&&B&&U.jsx("li",{className:"hfl-block hfl-px-4 hfl-py-2 hfl-rounded-md hover:hfl-bg-Blue-50 hfl-cursor-pointer custom_dropdown_item",children:"No items found, please change the search criteria"})]})]})}var Zs,ah;function F1(){if(ah)return Zs;ah=1;var t="Expected a function",r=NaN,a="[object Symbol]",e=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,i=parseInt,l=typeof Ba=="object"&&Ba&&Ba.Object===Object&&Ba,u=typeof self=="object"&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),f=Object.prototype,d=f.toString,p=Math.max,h=Math.min,m=function(){return c.Date.now()};function b(g,v,j){var H,Q,q,w,_,M,R=0,k=!1,Y=!1,D=!0;if(typeof g!="function")throw new TypeError(t);v=C(v)||0,P(j)&&(k=!!j.leading,Y="maxWait"in j,q=Y?p(C(j.maxWait)||0,v):q,D="trailing"in j?!!j.trailing:D);function K(N){var I=H,z=Q;return H=Q=void 0,R=N,w=g.apply(z,I),w}function ee(N){return R=N,_=setTimeout(J,v),k?K(N):w}function F(N){var I=N-M,z=N-R,G=v-I;return Y?h(G,q-z):G}function B(N){var I=N-M,z=N-R;return M===void 0||I>=v||I<0||Y&&z>=q}function J(){var N=m();if(B(N))return A(N);_=setTimeout(J,F(N))}function A(N){return _=void 0,D&&H?K(N):(H=Q=void 0,w)}function W(){_!==void 0&&clearTimeout(_),R=0,H=M=Q=_=void 0}function $(){return _===void 0?w:A(m())}function T(){var N=m(),I=B(N);if(H=arguments,Q=this,M=N,I){if(_===void 0)return ee(M);if(Y)return _=setTimeout(J,v),K(M)}return _===void 0&&(_=setTimeout(J,v)),w}return T.cancel=W,T.flush=$,T}function P(g){var v=typeof g;return!!g&&(v=="object"||v=="function")}function E(g){return!!g&&typeof g=="object"}function S(g){return typeof g=="symbol"||E(g)&&d.call(g)==a}function C(g){if(typeof g=="number")return g;if(S(g))return r;if(P(g)){var v=typeof g.valueOf=="function"?g.valueOf():g;g=P(v)?v+"":v}if(typeof g!="string")return g===0?g:+g;g=g.replace(e,"");var j=o.test(g);return j||s.test(g)?i(g.slice(2),j?2:8):n.test(g)?r:+g}return Zs=b,Zs}var L1=F1();const W1=Zl(L1),wr=t=>/^(\d+)?(\.)?(\d*)?$/.test(t),Qt=({label:t,children:r})=>U.jsxs(Ye,{variant:"Regular",type:"Text sm",className:"hfl-flex hfl-items-center hfl-text-Blue_gray-800 hfl-justify-between",children:[t,": ",r]}),Xt=({label:t,value:r})=>U.jsxs(Ye,{variant:"Regular",type:"Text sm",className:"hfl-flex hfl-text-Blue_gray-800",children:[t,":"," ",U.jsx(Ye,{variant:"Bold",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-ml-1",children:r||"--"})]}),Y1=ie.memo(function({rowData:r,isEditing:a,setIsEditing:e,onSaveRow:n}){const{variant:o,externallyTriggeredEditMode:s,externallyTriggeredEditRowIds:i,getMedicineOptions:l,onRowChange:u,onRowDelete:c}=oy(),[f,d]=ie.useState([]),[p,h]=ie.useState(r);ie.useEffect(()=>{a||h(r)},[r,a]);const m=async w=>(await l?.(w))?.map(M=>({label:M.doctorMedicineName,value:M}))||[],P=s||i?.includes(r.rowId)||a,E=ie.useMemo(()=>p.calculation_type===wt.C_MedicineCalculatorList[0]?p.calculation_fields:null,[p.calculation_fields,p.calculation_type]),S=ie.useMemo(()=>p.calculation_type===wt.C_MedicineCalculatorList[1]?p.calculation_fields:null,[p.calculation_fields,p.calculation_type]),C=(w,_)=>{if(w==="calculation_type"){const M=_,R={frequency:p.calculation_fields.frequency,pedia_dosage:p.calculation_fields.pedia_dosage};h({...p,calculation_type:M,calculation_fields:M==="mg/kg/dose"?{...wt.C_DefaultMgKgFields,...R}:{...wt.C_DefaultMlKgFields,...R}})}else h({...p,[w]:_})},g=ie.useMemo(()=>W1(w=>{u?.(w)},500),[u]);ie.useEffect(()=>()=>{g.cancel()},[g]);const v=ie.useCallback((w,_)=>{h(M=>{let R={...M.calculation_fields,[w]:_};if(w==="frequency"&&o==="standard"){const Y=wt.C_FrequencyDosageMap[_]||[];Y.length>0?R={...R,pedia_dosage:Y[0]}:R={...R,pedia_dosage:""}}const k={...M,calculation_fields:R};return o==="prescription"&&g({...p,calculation_fields:R}),k})},[p,g,o]),j=async()=>{const w={...p,calculation_fields:{...p.calculation_fields}};await n?.(w)&&g({...w,isEditing:!1})},H=async()=>{if(!r.medicine_name||r.medicine_name.trim()===""){c?.(r.rowId);return}h(r),o==="standard"&&e(!1)},Q=w=>o==="prescription"&&w==="medicine_name"?!1:P,q=()=>{const w=!(p?.isSavedToLibrary??!1),_={...p,isSavedToLibrary:w};h(_),g(_)};return U.jsxs("div",{className:`medicine-row hfl-grid hfl-grid-cols-[1.36fr_1.36fr_1.02fr_1.25fr_2.27fr_1.36fr_1.36fr] hfl-gap-2 hfl-px-2 hfl-py-1 hfl-border-b-1 hfl-border-Gray-200 ${P?"hfl-bg-gradient-to-b hfl-from-White_20 hfl-to-Primary-50":""}`,children:[U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("medicine_name")?U.jsx(st,{inputValue:p.medicine_name,showInput:!0,disableInputAutoSize:!0,inputChangeHandler:async w=>{if(C("medicine_name",w),w.trim()){const _=await m(w);d(_)}else d([])},onInputFocus:async()=>{const w=await m(p.medicine_name);d(w)},onChangeHandler:w=>{const _=w.value;h(M=>({...M,medicine_name:_.doctorMedicineName,medicine_id:_.medicineId,generic_name:_.doctorGenericName,type:wt.C_MedicineTypeList[_.medicineType]||""}))},options:f,isSearchable:!0,placeholder:"Search medicine"}):U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.medicine_name})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("generic_name")?U.jsx(st,{wrapperClass:"hfl-w-full",inputClassName:"hfl-w-full",inputContainerClasses:"hfl-w-full",btnClassName:"hfl-w-full",inputValue:p.generic_name,showInput:!0,disableInputAutoSize:!0,inputChangeHandler:w=>C("generic_name",w),hideDropdownIcon:!0}):U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.generic_name})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("type")?U.jsx(st,{placeholder:"Select",showInput:!1,disableInputAutoSize:!0,selectedOption:{label:p.type,value:p.type},options:wt.C_MedicineTypeList.map(w=>({label:w,value:w})),onChangeHandler:w=>C("type",w.value)}):U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:typeof r.type=="number"?wt.C_MedicineTypeList[r.type]:r.type})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("calculation_type")?U.jsx(st,{placeholder:"Select",showInput:!1,disableInputAutoSize:!0,selectedOption:{label:p.calculation_type,value:p.calculation_type},options:wt.C_MedicineCalculatorList.map(w=>({label:w,value:w})),onChangeHandler:w=>C("calculation_type",w.value)}):U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.calculation_type})}),U.jsx("div",{className:"hfl-flex hfl-w-full hfl-flex-col hfl-gap-2 hfl-py-2.5 hfl-px-2",children:Q("calculation_fields")?U.jsxs(U.Fragment,{children:[E&&U.jsxs(U.Fragment,{children:[U.jsx(Qt,{label:"Drug Strength",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"e.g., 250",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:E.drug_strength||"",inputChangeHandler:w=>{wr(w)&&v("drug_strength",w)}})}),U.jsx(Qt,{label:"Dose/mg/kg",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"e.g., 15",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:E.dose_mg_kg||"",inputChangeHandler:w=>{wr(w)&&v("dose_mg_kg",w)}})}),U.jsx(Qt,{label:"Frequency",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Frequency",showInput:!1,selectedOption:p.calculation_fields.frequency?{label:p.calculation_fields.frequency,value:p.calculation_fields.frequency}:void 0,options:wt.C_MedicineFrequencyList.map(w=>({label:w,value:w})),onChangeHandler:w=>{v("frequency",w.value)}})}),U.jsx(Qt,{label:"Max Dose (mg)",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Max mg/dose",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:E.max_mg_dose||"",inputChangeHandler:w=>{wr(w)&&v("max_mg_dose",w)}})}),U.jsx(Qt,{label:"Max Day (mg)",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Max mg/day",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:E.max_mg_day||"",inputChangeHandler:w=>{wr(w)&&v("max_mg_day",w)}})})]}),S&&U.jsxs(U.Fragment,{children:[U.jsx(Qt,{label:"Multiplier",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"e.g., 0.5",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:S.multiplier||"",inputChangeHandler:w=>{wr(w)&&v("multiplier",w)}})}),U.jsx(Qt,{label:"Dose/mL/kg",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"e.g., 5",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:S.dose_ml_kg||"",inputChangeHandler:w=>{wr(w)&&v("dose_ml_kg",w)}})}),U.jsx(Qt,{label:"Frequency",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Frequency",showInput:!1,selectedOption:p.calculation_fields.frequency?{label:p.calculation_fields.frequency,value:p.calculation_fields.frequency}:void 0,options:wt.C_MedicineFrequencyList.map(w=>({label:w,value:w})),onChangeHandler:w=>{v("frequency",w.value)}})}),U.jsx(Qt,{label:"Max Dose (mL)",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Max mL/dose",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:S.max_ml_dose||"",inputChangeHandler:w=>{wr(w)&&v("max_ml_dose",w)}})}),U.jsx(Qt,{label:"Max Day (mL)",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Max mL/day",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:S.max_ml_day||"",inputChangeHandler:w=>{wr(w)&&v("max_ml_day",w)}})})]})]}):U.jsxs(U.Fragment,{children:[E&&U.jsxs(U.Fragment,{children:[U.jsx(Xt,{label:"Drug Strength",value:E.drug_strength}),U.jsx(Xt,{label:"Dose/mg/kg",value:E.dose_mg_kg}),U.jsx(Xt,{label:"Frequency",value:E.frequency}),U.jsx(Xt,{label:"Max Dose (mg)",value:E.max_mg_dose}),U.jsx(Xt,{label:"Max Day (mg)",value:E.max_mg_day})]}),S&&U.jsxs(U.Fragment,{children:[U.jsx(Xt,{label:"Multiplier",value:S.multiplier}),U.jsx(Xt,{label:"Dose/mL/kg",value:S.dose_ml_kg}),U.jsx(Xt,{label:"Frequency",value:S.frequency}),U.jsx(Xt,{label:"Max Dose (mL)",value:S.max_ml_dose}),U.jsx(Xt,{label:"Max Day (mL)",value:S.max_ml_day})]})]})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("pedia_dosage")?(()=>{const w=p.calculation_fields.frequency,_=wt.C_FrequencyDosageMap[w]||[];return U.jsx(st,{wrapperClass:"hfl-w-32",inputContainerClasses:"hfl-w-32",btnClassName:"hfl-w-32",inputClassName:"hfl-w-32",placeholder:"Select",showInput:o!=="standard",disableInputAutoSize:!0,inputValue:p.calculation_fields.pedia_dosage,inputChangeHandler:M=>v("pedia_dosage",M),selectedOption:{label:p.calculation_fields.pedia_dosage,value:p.calculation_fields.pedia_dosage},options:o!=="prescription"?_.map(M=>({label:M,value:M})):void 0,onChangeHandler:o!=="prescription"?M=>v("pedia_dosage",M.value):void 0,hideDropdownIcon:o==="prescription",showEmptyDropdownPopup:o!=="prescription"})})():U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.calculation_fields.pedia_dosage})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:U.jsx(j1,{effectiveEditMode:P,rowData:r,isSavedToLibrary:p.isSavedToLibrary??!1,onSave:j,onCancel:H,onEdit:()=>e(!0),onCheckboxToggle:q})})]})},(t,r)=>t.isEditing===r.isEditing&&t.rowData.rowId===r.rowData.rowId&&t.rowData.isEditing===r.rowData.isEditing&&t.rowData.medicine_name===r.rowData.medicine_name&&t.rowData.generic_name===r.rowData.generic_name&&t.rowData.type===r.rowData.type&&t.rowData.calculation_type===r.rowData.calculation_type&&JSON.stringify(t.rowData.calculation_fields)===JSON.stringify(r.rowData.calculation_fields)&&t.rowData.calculation_fields.pedia_dosage===r.rowData.calculation_fields.pedia_dosage);var mo={exports:{}},xr={},vo={exports:{}},kt={},yo={exports:{}},oh;function iy(){return oh||(oh=1,function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=c;/*!
93
+ `}),U.jsx("input",{ref:Pe,style:g?{}:{width:`${Number(f?.length)>4?(f?.length||0)+5:12}ch`},type:b,placeholder:i,value:f,className:`input-placeholder hfl-flex-1 hfl-pl-2 hfl-placeholder hfl-py-1 focus-visible:hfl-outline-0 focus-visible:hfl-outline-none hfl-border-0 focus:hfl-border-0 ${k?"!hfl-bg-Gray-50 !hfl-cursor-not-allowed":Y||"hfl-bg-White"} ${h||""}`,onChange:we=>{d&&d(we.target.value),At(!0)},onClick:Fr,onKeyDown:we=>F&&F(we,V,Pe),maxLength:$??$}),!e&&!n&&U.jsx("i",{className:"hx_down hfl-mx-2"}),n&&U.jsx("i",{className:`${f?"hx_close hfl-cursor-pointer":"hx_down"} hfl-mx-2`,onClick:()=>{(u?.value||f)&&(d&&d(""),At(!0))}}),E?U.jsx("span",{style:{left:`${ur<2?"3":ur}ch`},className:"hfl-absolute hfl-top-1/2 hfl--translate-y-1/2 hfl-pointer-events-none",children:E}):null]}),K&&U.jsx("span",{className:"hfl-text-0 hfl-text-Error-600",children:D})]}):U.jsxs("button",{ref:Ke,onClick:St,className:`hfl-w-full hfl-bg-White hfl-py-[6px] hfl-px-4 hfl-rounded-lg hfl-inline-flex hfl-justify-between hfl-items-center ${s||""} ${M||"hfl-border-1"} ${D?"hfl-border-Error-300":"hfl-border-Gray-300"} ${R||"hfl-h-[40px]"} ${k?"!hfl-bg-Gray-50 !hfl-cursor-not-allowed":""}`,style:S||u?.label?{}:ee?{fontFamily:ee?.fontFamily,fontSize:ee?.fontSize,fontWeight:ee?.fontWeight,lineHeight:ee?.lineHeight,color:ee?.color}:{},children:[U.jsx("span",{className:"hfl-pr-4",children:S||u?.label||i||"Select an option"}),U.jsx("img",{src:A1,alt:"down arrow"})]}),l&&l?.length>=0&&U.jsxs("ul",{ref:de,className:`${te?"hfl-visible":"hfl-invisible"} hfl-absolute hfl-z-50 hfl-grid hfl-gap-1 hfl-mt-3 hfl-w-full hfl-rounded-lg hfl-shadow-lg hfl-bg-White hfl-font-inter-0 hfl-p-1 hfl-px-2 ${j?"hfl-min-w-[20em]":"hfl-min-w-[16em]"} hfl-max-h-[330px] hfl-overflow-y-scroll ${A}`,role:"menu","aria-orientation":"vertical","aria-labelledby":"options-menu",children:[Q?U.jsx(I1,{onChangeHandler:q,selectedOption:w,options:_}):!1,(m?Qe:l)?.map((we,ze)=>{const ot=j?!!v?.some(Wn=>Wn.value===we?.value):!1,Lr=u?.value===we?.value,Hi=ue===ze;return we?U.jsx("li",{onClick:()=>{j?gr(we):(c&&c(we),V(!1),At(!1))},className:`hfl-text-1 hfl-block hfl-px-4 hfl-py-2 hfl-rounded-md hover:hfl-bg-Blue-50 hfl-cursor-pointer custom_dropdown_item ${T?"odd:hfl-bg-Gray-100":""} ${Lr?"hfl-bg-Blue-50 hfl-text-Blue-500":""}`,role:"menuitem","aria-selected":Lr,tabIndex:Hi?0:-1,ref:Wn=>{Ge.current[ze]=Wn},children:j?U.jsx(bm,{size:"sm",disabled:!1,text:U.jsx("span",{children:we.label}),secondaryText:"",id:`${we.label}-${ze}`,isMarked:ot}):we.label},`${we.label}-${ze}`):null}),l?.length===0&&B&&U.jsx("li",{className:"hfl-block hfl-px-4 hfl-py-2 hfl-rounded-md hover:hfl-bg-Blue-50 hfl-cursor-pointer custom_dropdown_item",children:"No items found, please change the search criteria"})]})]})}var Zs,ah;function F1(){if(ah)return Zs;ah=1;var t="Expected a function",r=NaN,a="[object Symbol]",e=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,i=parseInt,l=typeof Ba=="object"&&Ba&&Ba.Object===Object&&Ba,u=typeof self=="object"&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),f=Object.prototype,d=f.toString,p=Math.max,h=Math.min,m=function(){return c.Date.now()};function b(g,v,j){var H,Q,q,w,_,M,R=0,k=!1,Y=!1,D=!0;if(typeof g!="function")throw new TypeError(t);v=C(v)||0,P(j)&&(k=!!j.leading,Y="maxWait"in j,q=Y?p(C(j.maxWait)||0,v):q,D="trailing"in j?!!j.trailing:D);function K(N){var I=H,z=Q;return H=Q=void 0,R=N,w=g.apply(z,I),w}function ee(N){return R=N,_=setTimeout(J,v),k?K(N):w}function F(N){var I=N-M,z=N-R,G=v-I;return Y?h(G,q-z):G}function B(N){var I=N-M,z=N-R;return M===void 0||I>=v||I<0||Y&&z>=q}function J(){var N=m();if(B(N))return A(N);_=setTimeout(J,F(N))}function A(N){return _=void 0,D&&H?K(N):(H=Q=void 0,w)}function W(){_!==void 0&&clearTimeout(_),R=0,H=M=Q=_=void 0}function $(){return _===void 0?w:A(m())}function T(){var N=m(),I=B(N);if(H=arguments,Q=this,M=N,I){if(_===void 0)return ee(M);if(Y)return _=setTimeout(J,v),K(M)}return _===void 0&&(_=setTimeout(J,v)),w}return T.cancel=W,T.flush=$,T}function P(g){var v=typeof g;return!!g&&(v=="object"||v=="function")}function E(g){return!!g&&typeof g=="object"}function S(g){return typeof g=="symbol"||E(g)&&d.call(g)==a}function C(g){if(typeof g=="number")return g;if(S(g))return r;if(P(g)){var v=typeof g.valueOf=="function"?g.valueOf():g;g=P(v)?v+"":v}if(typeof g!="string")return g===0?g:+g;g=g.replace(e,"");var j=o.test(g);return j||s.test(g)?i(g.slice(2),j?2:8):n.test(g)?r:+g}return Zs=b,Zs}var L1=F1();const W1=Zl(L1),wr=t=>/^(\d+)?(\.)?(\d*)?$/.test(t),Qt=({label:t,children:r})=>U.jsxs(Ye,{variant:"Regular",type:"Text sm",className:"hfl-flex hfl-items-center hfl-text-Blue_gray-800 hfl-justify-between",children:[t,": ",r]}),Xt=({label:t,value:r})=>U.jsxs(Ye,{variant:"Regular",type:"Text sm",className:"hfl-flex hfl-text-Blue_gray-800",children:[t,":"," ",U.jsx(Ye,{variant:"Bold",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-ml-1",children:r||"--"})]}),Y1=ie.memo(function({rowData:r,isEditing:a,setIsEditing:e,onSaveRow:n}){const{variant:o,externallyTriggeredEditMode:s,externallyTriggeredEditRowIds:i,getMedicineOptions:l,onRowChange:u,onRowDelete:c}=oy(),[f,d]=ie.useState([]),[p,h]=ie.useState(r);ie.useEffect(()=>{a||h(r)},[r,a]);const m=async w=>(await l?.(w))?.map(M=>({label:M.doctorMedicineName,value:M}))||[],P=s||i?.includes(r.rowId)||a,E=ie.useMemo(()=>p.calculation_type===wt.C_MedicineCalculatorList[0]?p.calculation_fields:null,[p.calculation_fields,p.calculation_type]),S=ie.useMemo(()=>p.calculation_type===wt.C_MedicineCalculatorList[1]?p.calculation_fields:null,[p.calculation_fields,p.calculation_type]),C=(w,_)=>{if(w==="calculation_type"){const M=_,R={frequency:p.calculation_fields.frequency,pedia_dosage:p.calculation_fields.pedia_dosage};h({...p,calculation_type:M,calculation_fields:M==="mg/kg/dose"?{...wt.C_DefaultMgKgFields,...R}:{...wt.C_DefaultMlKgFields,...R}})}else h({...p,[w]:_})},g=ie.useMemo(()=>W1(w=>{u?.(w)},500),[u]);ie.useEffect(()=>()=>{g.cancel()},[g]);const v=ie.useCallback((w,_)=>{h(M=>{let R={...M.calculation_fields,[w]:_};if(w==="frequency"&&o==="standard"){const Y=wt.C_FrequencyDosageMap[_]||[];Y.length>0?R={...R,pedia_dosage:Y[0]}:R={...R,pedia_dosage:""}}const k={...M,calculation_fields:R};return o==="prescription"&&g({...p,calculation_fields:R}),k})},[p,g,o]),j=async()=>{const w={...p,calculation_fields:{...p.calculation_fields}};await n?.(w)&&g({...w,isEditing:!1})},H=async()=>{if(!r.medicine_name||r.medicine_name.trim()===""){c?.(r.rowId);return}h(r),o==="standard"&&e(!1)},Q=w=>o==="prescription"&&w==="medicine_name"?!1:P,q=()=>{const w=!(p?.isSavedToLibrary??!1),_={...p,isSavedToLibrary:w};h(_),g(_)};return U.jsxs("div",{className:`medicine-row hfl-grid hfl-grid-cols-[1.36fr_1.36fr_1.02fr_1.25fr_2.27fr_1.36fr_1.36fr] hfl-gap-2 hfl-px-2 hfl-py-1 hfl-border-b-1 hfl-border-Gray-200 ${P?"hfl-bg-gradient-to-b hfl-from-White_20 hfl-to-Primary-50":""}`,children:[U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("medicine_name")?U.jsx(st,{inputValue:p.medicine_name,showInput:!0,disableInputAutoSize:!0,inputChangeHandler:async w=>{if(C("medicine_name",w),w.trim()){const _=await m(w);d(_)}else d([])},onInputFocus:async()=>{const w=await m(p.medicine_name);d(w)},onChangeHandler:w=>{const _=w.value,M=wt.C_MedicineTypeList.find(R=>R.val===_.medicineType);h(R=>({...R,medicine_name:_.doctorMedicineName,medicine_id:_.medicineId,generic_name:_.doctorGenericName,type:M?.type??""}))},options:f,isSearchable:!0,placeholder:"Search medicine"}):U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.medicine_name})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("generic_name")?U.jsx(st,{wrapperClass:"hfl-w-full",inputClassName:"hfl-w-full",inputContainerClasses:"hfl-w-full",btnClassName:"hfl-w-full",inputValue:p.generic_name,showInput:!0,disableInputAutoSize:!0,inputChangeHandler:w=>C("generic_name",w),hideDropdownIcon:!0}):U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.generic_name})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("type")?U.jsx(st,{placeholder:"Select",showInput:!1,disableInputAutoSize:!0,selectedOption:(()=>{const w=wt.C_MedicineTypeList.find(_=>_.type===p.type);return w?{label:w.type,value:w.type}:void 0})(),options:wt.C_MedicineTypeList.map(w=>({label:w.type,value:w.type})),onChangeHandler:w=>C("type",w.value)}):U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.type||""})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("calculation_type")?U.jsx(st,{placeholder:"Select",showInput:!1,disableInputAutoSize:!0,selectedOption:{label:p.calculation_type,value:p.calculation_type},options:wt.C_MedicineCalculatorList.map(w=>({label:w,value:w})),onChangeHandler:w=>C("calculation_type",w.value)}):U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.calculation_type})}),U.jsx("div",{className:"hfl-flex hfl-w-full hfl-flex-col hfl-gap-2 hfl-py-2.5 hfl-px-2",children:Q("calculation_fields")?U.jsxs(U.Fragment,{children:[E&&U.jsxs(U.Fragment,{children:[U.jsx(Qt,{label:"Drug Strength",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"e.g., 250",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:E.drug_strength||"",inputChangeHandler:w=>{wr(w)&&v("drug_strength",w)}})}),U.jsx(Qt,{label:"Dose/mg/kg",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"e.g., 15",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:E.dose_mg_kg||"",inputChangeHandler:w=>{wr(w)&&v("dose_mg_kg",w)}})}),U.jsx(Qt,{label:"Frequency",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Frequency",showInput:!1,selectedOption:p.calculation_fields.frequency?{label:p.calculation_fields.frequency,value:p.calculation_fields.frequency}:void 0,options:wt.C_MedicineFrequencyList.map(w=>({label:w,value:w})),onChangeHandler:w=>{v("frequency",w.value)}})}),U.jsx(Qt,{label:"Max Dose (mg)",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Max mg/dose",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:E.max_mg_dose||"",inputChangeHandler:w=>{wr(w)&&v("max_mg_dose",w)}})}),U.jsx(Qt,{label:"Max Day (mg)",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Max mg/day",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:E.max_mg_day||"",inputChangeHandler:w=>{wr(w)&&v("max_mg_day",w)}})})]}),S&&U.jsxs(U.Fragment,{children:[U.jsx(Qt,{label:"Multiplier",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"e.g., 0.5",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:S.multiplier||"",inputChangeHandler:w=>{wr(w)&&v("multiplier",w)}})}),U.jsx(Qt,{label:"Dose/mL/kg",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"e.g., 5",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:S.dose_ml_kg||"",inputChangeHandler:w=>{wr(w)&&v("dose_ml_kg",w)}})}),U.jsx(Qt,{label:"Frequency",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Frequency",showInput:!1,selectedOption:p.calculation_fields.frequency?{label:p.calculation_fields.frequency,value:p.calculation_fields.frequency}:void 0,options:wt.C_MedicineFrequencyList.map(w=>({label:w,value:w})),onChangeHandler:w=>{v("frequency",w.value)}})}),U.jsx(Qt,{label:"Max Dose (mL)",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Max mL/dose",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:S.max_ml_dose||"",inputChangeHandler:w=>{wr(w)&&v("max_ml_dose",w)}})}),U.jsx(Qt,{label:"Max Day (mL)",children:U.jsx(st,{wrapperClass:"hfl-w-2/5",placeholder:"Max mL/day",showInput:!0,hideDropdownIcon:!0,disableInputAutoSize:!0,inputType:"text",inputValue:S.max_ml_day||"",inputChangeHandler:w=>{wr(w)&&v("max_ml_day",w)}})})]})]}):U.jsxs(U.Fragment,{children:[E&&U.jsxs(U.Fragment,{children:[U.jsx(Xt,{label:"Drug Strength",value:E.drug_strength}),U.jsx(Xt,{label:"Dose/mg/kg",value:E.dose_mg_kg}),U.jsx(Xt,{label:"Frequency",value:E.frequency}),U.jsx(Xt,{label:"Max Dose (mg)",value:E.max_mg_dose}),U.jsx(Xt,{label:"Max Day (mg)",value:E.max_mg_day})]}),S&&U.jsxs(U.Fragment,{children:[U.jsx(Xt,{label:"Multiplier",value:S.multiplier}),U.jsx(Xt,{label:"Dose/mL/kg",value:S.dose_ml_kg}),U.jsx(Xt,{label:"Frequency",value:S.frequency}),U.jsx(Xt,{label:"Max Dose (mL)",value:S.max_ml_dose}),U.jsx(Xt,{label:"Max Day (mL)",value:S.max_ml_day})]})]})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:Q("pedia_dosage")?(()=>{const w=p.calculation_fields.frequency,_=wt.C_FrequencyDosageMap[w]||[];return U.jsx(st,{wrapperClass:"hfl-w-32",inputContainerClasses:"hfl-w-32",btnClassName:"hfl-w-32",inputClassName:"hfl-w-32",placeholder:"Select",showInput:o!=="standard",disableInputAutoSize:!0,inputValue:p.calculation_fields.pedia_dosage,inputChangeHandler:M=>v("pedia_dosage",M),selectedOption:{label:p.calculation_fields.pedia_dosage,value:p.calculation_fields.pedia_dosage},options:o!=="prescription"?_.map(M=>({label:M,value:M})):void 0,onChangeHandler:o!=="prescription"?M=>v("pedia_dosage",M.value):void 0,hideDropdownIcon:o==="prescription",showEmptyDropdownPopup:o!=="prescription"})})():U.jsx(Ye,{variant:"Regular",type:"Text sm",className:"hfl-text-Blue_gray-800 hfl-px-2",children:r.calculation_fields.pedia_dosage})}),U.jsx("div",{className:"hfl-w-full hfl-py-2.5",children:U.jsx(j1,{effectiveEditMode:P,rowData:r,isSavedToLibrary:p.isSavedToLibrary??!1,onSave:j,onCancel:H,onEdit:()=>e(!0),onCheckboxToggle:q})})]})},(t,r)=>t.isEditing===r.isEditing&&t.rowData.rowId===r.rowData.rowId&&t.rowData.isEditing===r.rowData.isEditing&&t.rowData.medicine_name===r.rowData.medicine_name&&t.rowData.generic_name===r.rowData.generic_name&&t.rowData.type===r.rowData.type&&t.rowData.calculation_type===r.rowData.calculation_type&&JSON.stringify(t.rowData.calculation_fields)===JSON.stringify(r.rowData.calculation_fields)&&t.rowData.calculation_fields.pedia_dosage===r.rowData.calculation_fields.pedia_dosage);var mo={exports:{}},xr={},vo={exports:{}},kt={},yo={exports:{}},oh;function iy(){return oh||(oh=1,function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=c;/*!
94
94
  * Adapted from jQuery UI core
95
95
  *
96
96
  * http://jqueryui.com
@@ -1,4 +1,4 @@
1
- const s = [
1
+ const t = [
2
2
  "Medicine Name",
3
3
  "Generic Name",
4
4
  "Type",
@@ -6,50 +6,119 @@ const s = [
6
6
  "Additional Information",
7
7
  "Dosage",
8
8
  "Options"
9
- ], a = [
10
- "TAB.",
11
- "SYP.",
12
- "CRM.",
13
- "POW.",
14
- "INJ.",
15
- "CAP.",
16
- "DRP.",
17
- "SUS.",
18
- "LIQ.",
19
- "SAC.",
20
- "EXP.",
21
- "OIN.",
22
- "GEN.",
23
- "LOT.",
24
- "GEL.",
25
- "GRA.",
26
- "SOAP.",
27
- "SOL.",
28
- "VAC.",
29
- "PAS.",
30
- "INH.",
31
- "OTH.",
32
- "SPR."
33
- ], g = ["1(OD)", "2(BD)", "3(TDS)", "4(QID)", "6(Q4H)"], X = {
9
+ ], l = [
10
+ {
11
+ type: "TAB.",
12
+ val: 2
13
+ },
14
+ {
15
+ type: "SYP.",
16
+ val: 3
17
+ },
18
+ {
19
+ type: "CRM.",
20
+ val: 4
21
+ },
22
+ {
23
+ type: "POW.",
24
+ val: 5
25
+ },
26
+ {
27
+ type: "INJ.",
28
+ val: 6
29
+ },
30
+ {
31
+ type: "CAP.",
32
+ val: 7
33
+ },
34
+ {
35
+ type: "DRP.",
36
+ val: 8
37
+ },
38
+ {
39
+ type: "SUS.",
40
+ val: 9
41
+ },
42
+ {
43
+ type: "LIQ.",
44
+ val: 10
45
+ },
46
+ {
47
+ type: "SAC.",
48
+ val: 11
49
+ },
50
+ {
51
+ type: "EXP.",
52
+ val: 12
53
+ },
54
+ {
55
+ type: "OIN.",
56
+ val: 13
57
+ },
58
+ {
59
+ type: "GEN.",
60
+ val: 14
61
+ },
62
+ {
63
+ type: "LOT.",
64
+ val: 15
65
+ },
66
+ {
67
+ type: "GEL",
68
+ val: 16
69
+ },
70
+ {
71
+ type: "GRA.",
72
+ val: 17
73
+ },
74
+ {
75
+ type: "SOAP",
76
+ val: 18
77
+ },
78
+ {
79
+ type: "SOL.",
80
+ val: 19
81
+ },
82
+ {
83
+ type: "VAC.",
84
+ val: 20
85
+ },
86
+ {
87
+ type: "PAP.",
88
+ val: 21
89
+ },
90
+ {
91
+ type: "INH.",
92
+ val: 22
93
+ },
94
+ {
95
+ type: "OTH",
96
+ val: 23
97
+ },
98
+ {
99
+ type: "SPR.",
100
+ val: 24
101
+ }
102
+ ], p = ["1(OD)", "2(BD)", "3(TDS)", "4(QID)", "6(Q4H)"], y = {
34
103
  "1(OD)": ["X-0-0", "0-X-0", "0-0-X"],
35
104
  "2(BD)": ["X-X-0", "X-0-X", "0-X-X"],
36
105
  "3(TDS)": ["X-X-X"],
37
106
  "4(QID)": ["X-X-X-X"],
38
107
  "6(Q4H)": ["X-X-X-X-X-X"]
39
108
  };
40
- var o = /* @__PURE__ */ ((e) => (e.MgKgDose = "mg/kg/dose", e.MlKg = "mL/kg", e))(o || {});
41
- const _ = [
109
+ var a = /* @__PURE__ */ ((e) => (e.MgKgDose = "mg/kg/dose", e.MlKg = "mL/kg", e))(a || {});
110
+ const o = [
42
111
  "mg/kg/dose",
43
112
  "mL/kg"
44
113
  /* MlKg */
45
- ], n = {
114
+ ], s = {
46
115
  drug_strength: "",
47
116
  dose_mg_kg: "",
48
117
  frequency: "",
49
118
  max_mg_dose: "",
50
119
  max_mg_day: "",
51
120
  pedia_dosage: ""
52
- }, d = {
121
+ }, v = {
53
122
  multiplier: "",
54
123
  dose_ml_kg: "",
55
124
  frequency: "",
@@ -58,12 +127,12 @@ const _ = [
58
127
  pedia_dosage: ""
59
128
  };
60
129
  export {
61
- n as C_DefaultMgKgFields,
62
- d as C_DefaultMlKgFields,
63
- X as C_FrequencyDosageMap,
64
- _ as C_MedicineCalculatorList,
65
- g as C_MedicineFrequencyList,
66
- a as C_MedicineTypeList,
67
- s as C_Table_Column_Name,
68
- o as E_CalculationType
130
+ s as C_DefaultMgKgFields,
131
+ v as C_DefaultMlKgFields,
132
+ y as C_FrequencyDosageMap,
133
+ o as C_MedicineCalculatorList,
134
+ p as C_MedicineFrequencyList,
135
+ l as C_MedicineTypeList,
136
+ t as C_Table_Column_Name,
137
+ a as E_CalculationType
69
138
  };
@@ -1,6 +1,9 @@
1
1
  import { I_CalcFields_MgKg, I_CalcFields_MlKg } from '../types/PediatricsCalculatorTypes';
2
2
  export declare const C_Table_Column_Name: string[];
3
- export declare const C_MedicineTypeList: string[];
3
+ export declare const C_MedicineTypeList: {
4
+ type: string;
5
+ val: number;
6
+ }[];
4
7
  export declare const C_MedicineFrequencyList: string[];
5
8
  export declare const C_FrequencyDosageMap: Record<string, string[]>;
6
9
  export declare enum E_CalculationType {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as o } from "./PediatricsCalculatorTable-BLfcgKLN.js";
1
+ import { P as o } from "./PediatricsCalculatorTable-CQF4c243.js";
2
2
  export {
3
3
  o as PediatricsCalculator
4
4
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hplx-feature-library",
3
3
  "private": false,
4
- "version": "1.0.28",
4
+ "version": "1.0.29",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",