hplx-feature-library 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PediatricsCalculator/components/AdditionalInfoCell.d.ts +3 -4
- package/dist/PediatricsCalculator/components/MedicineRow.d.ts +1 -1
- package/dist/PediatricsCalculator/components/PediatricsCalculatorTable.d.ts +1 -1
- package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
- package/dist/PediatricsCalculator/components/RowOptions.d.ts +1 -1
- package/dist/PediatricsCalculator/constants/contants.d.ts +8 -6
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/{PediatricsCalculatorTable-DntzhrMu.js → PediatricsCalculatorTable-CDQN-vtQ.js} +3887 -3794
- package/dist/{PediatricsCalculatorTable-oUkSwDFj.cjs → PediatricsCalculatorTable-Opknuc8N.cjs} +32 -32
- package/dist/components/CustomDropdown.d.ts +1 -1
- package/dist/components/ToggleButtons.d.ts +1 -1
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index.js +1 -1
- package/dist/types/PediatricsCalculatorTypes.d.ts +43 -0
- package/package.json +5 -1
- package/dist/types/PediatricsCalculator.d.ts +0 -77
- /package/dist/types/{PediatricCalculator → PediatricsCalculatorTypes}/index.js +0 -0
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { IMedicineViewData } from '../../types/
|
|
1
|
+
import { IMedicineViewData } from '../../types/PediatricsCalculatorTypes';
|
|
2
2
|
interface Props {
|
|
3
3
|
isEditable: boolean;
|
|
4
|
-
getMeta: (key: keyof NonNullable<IMedicineViewData['metaData']>) => string;
|
|
5
|
-
handleMetaDataChange: (key: keyof NonNullable<IMedicineViewData['metaData']>, value: string) => void;
|
|
6
4
|
rowData: IMedicineViewData;
|
|
5
|
+
handleCalcFieldChange: (field: string, value: string | number) => void;
|
|
7
6
|
}
|
|
8
|
-
export declare const AdditionalInfoCell: ({ isEditable,
|
|
7
|
+
export declare const AdditionalInfoCell: ({ isEditable, rowData, handleCalcFieldChange }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMedicineViewData } from '../../types/
|
|
1
|
+
import { IMedicineViewData } from '../../types/PediatricsCalculatorTypes';
|
|
2
2
|
export interface IPediatricsCalculatorTableContext {
|
|
3
3
|
variant: 'standard' | 'prescription';
|
|
4
4
|
externallyTriggeredEditMode: boolean;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I_CalcFields_MgKg, I_CalcFields_MlKg } from '../../types/PediatricsCalculatorTypes';
|
|
2
2
|
export declare const C_Table_Column_Name: string[];
|
|
3
3
|
export declare const C_MedicineTypeList: string[];
|
|
4
4
|
export declare const C_MedicineFrequencyList: string[];
|
|
5
|
-
export declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
export declare enum E_CalculationType {
|
|
6
|
+
MgKgDose = "mg/kg/dose",
|
|
7
|
+
MlKg = "mL/kg"
|
|
8
|
+
}
|
|
9
|
+
export declare const C_MedicineCalculatorList: E_CalculationType[];
|
|
10
|
+
export declare const C_DefaultMgKgFields: I_CalcFields_MgKg;
|
|
11
|
+
export declare const C_DefaultMlKgFields: I_CalcFields_MlKg;
|