oro-sdk-apis 1.32.0 → 1.33.0
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/models/practice.d.ts +11 -1
- package/dist/oro-sdk-apis.cjs.development.js +1 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +1 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/practice.ts +16 -1
package/package.json
CHANGED
package/src/models/practice.ts
CHANGED
@@ -141,8 +141,9 @@ export enum PracticeConfigKind {
|
|
141
141
|
PracticeFontsLinks = 'PracticeFontsLinks',
|
142
142
|
PracticeLocaleSwitcher = 'PracticeLocaleSwitcher',
|
143
143
|
PracticePharmacyPicker = 'PracticePharmacyPicker',
|
144
|
+
PracticePrescriptionFields = 'PracticePrescriptionFields',
|
144
145
|
PractitionerChatbox = 'PractitionerChatbox',
|
145
|
-
PractitionerConsultList = 'PractitionerConsultList'
|
146
|
+
PractitionerConsultList = 'PractitionerConsultList'
|
146
147
|
}
|
147
148
|
|
148
149
|
/**
|
@@ -317,6 +318,19 @@ export type PracticeConfigPractitionerConsultList = PracticeConfig<
|
|
317
318
|
}
|
318
319
|
>
|
319
320
|
|
321
|
+
/**
|
322
|
+
* This config is used to configure the layout of the modular prescription fields
|
323
|
+
*/
|
324
|
+
export type PracticeConfigPracticePrescriptionFields = PracticeConfig<
|
325
|
+
PracticeConfigKind.PracticePrescriptionFields,
|
326
|
+
{
|
327
|
+
/**
|
328
|
+
* the y position in px of the first modular prescription
|
329
|
+
*/
|
330
|
+
yCoordinate?: number
|
331
|
+
}
|
332
|
+
>
|
333
|
+
|
320
334
|
export type PracticeConfigs =
|
321
335
|
| PracticeConfigPractitionerConsultList
|
322
336
|
| PracticeConfigPractitionerChatbox
|
@@ -325,6 +339,7 @@ export type PracticeConfigs =
|
|
325
339
|
| PracticeConfigPracticeOnlinePharmacy
|
326
340
|
| PracticeConfigPracticeCssVariables
|
327
341
|
| PracticeConfigPracticeFontsLinks
|
342
|
+
| PracticeConfigPracticePrescriptionFields
|
328
343
|
| PracticeConfigPracticeConfigExample // Here for integration tests only
|
329
344
|
|
330
345
|
export interface PracticeWorkflow {
|