@openmrs/esm-react-utils 3.1.15-pre.693 → 3.1.15-pre.709

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/README.md CHANGED
@@ -1,5 +1,3 @@
1
1
  # openmrs-esm-react-utils
2
2
 
3
3
  `openmrs-esm-react-utils` brings extended support for React into the OpenMRS frontend.
4
-
5
- [API Docs](docs/API.md)
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@openmrs/esm-react-utils",
3
- "version": "3.1.15-pre.693",
3
+ "version": "3.1.15-pre.709",
4
4
  "license": "MPL-2.0",
5
5
  "description": "React utilities for OpenMRS.",
6
6
  "browser": "dist/openmrs-esm-react-utils.js",
7
7
  "main": "src/index.ts",
8
8
  "source": true,
9
9
  "scripts": {
10
- "document": "../../../document.sh esm-react-utils",
11
10
  "test": "jest --passWithNoTests",
12
11
  "build": "webpack --mode=production",
13
12
  "analyze": "webpack --mode=production --env analyze=true",
@@ -54,11 +53,11 @@
54
53
  "react-i18next": "11.x"
55
54
  },
56
55
  "devDependencies": {
57
- "@openmrs/esm-api": "^3.1.15-pre.693",
58
- "@openmrs/esm-config": "^3.1.15-pre.693",
59
- "@openmrs/esm-error-handling": "^3.1.15-pre.693",
60
- "@openmrs/esm-extensions": "^3.1.15-pre.693",
61
- "@openmrs/esm-globals": "^3.1.15-pre.693",
56
+ "@openmrs/esm-api": "^3.1.15-pre.709",
57
+ "@openmrs/esm-config": "^3.1.15-pre.709",
58
+ "@openmrs/esm-error-handling": "^3.1.15-pre.709",
59
+ "@openmrs/esm-extensions": "^3.1.15-pre.709",
60
+ "@openmrs/esm-globals": "^3.1.15-pre.709",
62
61
  "i18next": "^19.6.0",
63
62
  "react": "^16.13.1",
64
63
  "react-dom": "^16.13.1",
@@ -66,5 +65,5 @@
66
65
  "rxjs": "^6.5.3",
67
66
  "unistore": "^3.5.2"
68
67
  },
69
- "gitHead": "4348b79bf1c23aea131af938164ef9dbfd4e68d7"
68
+ "gitHead": "20e905827ceb11c90871b5e28a7bd56ab4fbab18"
70
69
  }
package/docs/API.md DELETED
@@ -1,957 +0,0 @@
1
- [Back to README.md](../README.md)
2
-
3
- # @openmrs/esm-react-utils
4
-
5
- ## Table of contents
6
-
7
- ### Interfaces
8
-
9
- - [ComponentConfig](interfaces/ComponentConfig.md)
10
- - [ComponentDecoratorOptions](interfaces/ComponentDecoratorOptions.md)
11
- - [ConfigurableLinkProps](interfaces/ConfigurableLinkProps.md)
12
- - [ExtensionData](interfaces/ExtensionData.md)
13
- - [ExtensionProps](interfaces/ExtensionProps.md)
14
- - [ExtensionSlotBaseProps](interfaces/ExtensionSlotBaseProps.md)
15
- - [OpenmrsReactComponentProps](interfaces/OpenmrsReactComponentProps.md)
16
- - [OpenmrsReactComponentState](interfaces/OpenmrsReactComponentState.md)
17
- - [UserHasAccessProps](interfaces/UserHasAccessProps.md)
18
-
19
- ### Type aliases
20
-
21
- - [Actions](API.md#actions)
22
- - [BoundActions](API.md#boundactions)
23
- - [ExtensionSlotProps](API.md#extensionslotprops)
24
- - [LayoutType](API.md#layouttype)
25
-
26
- ### Navigation Variables
27
-
28
- - [ConfigurableLink](API.md#configurablelink)
29
-
30
- ### Other Variables
31
-
32
- - [ComponentContext](API.md#componentcontext)
33
- - [Extension](API.md#extension)
34
- - [ExtensionSlot](API.md#extensionslot)
35
- - [UserHasAccess](API.md#userhasaccess)
36
-
37
- ### Functions
38
-
39
- - [createUseStore](API.md#createusestore)
40
- - [getAsyncExtensionLifecycle](API.md#getasyncextensionlifecycle)
41
- - [getAsyncLifecycle](API.md#getasynclifecycle)
42
- - [getLifecycle](API.md#getlifecycle)
43
- - [getSyncLifecycle](API.md#getsynclifecycle)
44
- - [openmrsComponentDecorator](API.md#openmrscomponentdecorator)
45
- - [useAssignedExtensionIds](API.md#useassignedextensionids)
46
- - [useAttachedExtensionIds](API.md#useattachedextensionids)
47
- - [useBodyScrollLock](API.md#usebodyscrolllock)
48
- - [useConfig](API.md#useconfig)
49
- - [useConnectedExtensions](API.md#useconnectedextensions)
50
- - [useConnectivity](API.md#useconnectivity)
51
- - [useCurrentPatient](API.md#usecurrentpatient)
52
- - [useExtension](API.md#useextension)
53
- - [useExtensionSlot](API.md#useextensionslot)
54
- - [useExtensionSlotConfig](API.md#useextensionslotconfig)
55
- - [useExtensionSlotMeta](API.md#useextensionslotmeta)
56
- - [useExtensionStore](API.md#useextensionstore)
57
- - [useForceUpdate](API.md#useforceupdate)
58
- - [useLayoutType](API.md#uselayouttype)
59
- - [useLocations](API.md#uselocations)
60
- - [useNavigationContext](API.md#usenavigationcontext)
61
- - [useOnClickOutside](API.md#useonclickoutside)
62
- - [usePagination](API.md#usepagination)
63
- - [useSessionUser](API.md#usesessionuser)
64
- - [useStore](API.md#usestore)
65
- - [useStoreState](API.md#usestorestate)
66
- - [useVisit](API.md#usevisit)
67
- - [useVisitTypes](API.md#usevisittypes)
68
-
69
- ## Type aliases
70
-
71
- ### Actions
72
-
73
- Ƭ **Actions**: `Function` \| { [key: string]: `Function`; }
74
-
75
- #### Defined in
76
-
77
- [packages/framework/esm-react-utils/src/createUseStore.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/createUseStore.ts#L4)
78
-
79
- ___
80
-
81
- ### BoundActions
82
-
83
- Ƭ **BoundActions**: `Object`
84
-
85
- #### Index signature
86
-
87
- ▪ [key: `string`]: `BoundAction`
88
-
89
- #### Defined in
90
-
91
- [packages/framework/esm-react-utils/src/createUseStore.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/createUseStore.ts#L5)
92
-
93
- ___
94
-
95
- ### ExtensionSlotProps
96
-
97
- Ƭ **ExtensionSlotProps**: [`ExtensionSlotBaseProps`](interfaces/ExtensionSlotBaseProps.md) & `React.HTMLAttributes`<`HTMLDivElement`\>
98
-
99
- #### Defined in
100
-
101
- [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:54](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ExtensionSlot.tsx#L54)
102
-
103
- ___
104
-
105
- ### LayoutType
106
-
107
- Ƭ **LayoutType**: ``"tablet"`` \| ``"phone"`` \| ``"desktop"``
108
-
109
- #### Defined in
110
-
111
- [packages/framework/esm-react-utils/src/useLayoutType.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useLayoutType.ts#L3)
112
-
113
- ## Navigation Variables
114
-
115
- ### ConfigurableLink
116
-
117
- • `Const` **ConfigurableLink**: `React.FC`<[`ConfigurableLinkProps`](interfaces/ConfigurableLinkProps.md)\>
118
-
119
- A React link component which calls [[navigate]] when clicked
120
-
121
- **`param`** The target path or URL. Supports interpolation. See [[navigate]]
122
-
123
- **`param`** Inline elements within the link
124
-
125
- **`param`** Any other valid props for an <a> tag except `href` and `onClick`
126
-
127
- #### Defined in
128
-
129
- [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:32](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L32)
130
-
131
- ___
132
-
133
- ## Other Variables
134
-
135
- ### ComponentContext
136
-
137
- • `Const` **ComponentContext**: `Context`<[`ComponentConfig`](interfaces/ComponentConfig.md)\>
138
-
139
- Available to all components. Provided by `openmrsComponentDecorator`.
140
-
141
- #### Defined in
142
-
143
- [packages/framework/esm-react-utils/src/ComponentContext.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ComponentContext.ts#L17)
144
-
145
- ___
146
-
147
- ### Extension
148
-
149
- • `Const` **Extension**: `React.FC`<[`ExtensionProps`](interfaces/ExtensionProps.md)\>
150
-
151
- Represents the position in the DOM where each extension within
152
- an extension slot is rendered.
153
-
154
- Renders once for each extension attached to that extension slot.
155
-
156
- Usage of this component *must* have an ancestor `<ExtensionSlot>`,
157
- and *must* only be used once within that `<ExtensionSlot>`.
158
-
159
- #### Defined in
160
-
161
- [packages/framework/esm-react-utils/src/Extension.tsx:22](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/Extension.tsx#L22)
162
-
163
- ___
164
-
165
- ### ExtensionSlot
166
-
167
- • `Const` **ExtensionSlot**: `React.FC`<[`ExtensionSlotProps`](API.md#extensionslotprops)\>
168
-
169
- #### Defined in
170
-
171
- [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:57](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ExtensionSlot.tsx#L57)
172
-
173
- ___
174
-
175
- ### UserHasAccess
176
-
177
- • `Const` **UserHasAccess**: `React.FC`<[`UserHasAccessProps`](interfaces/UserHasAccessProps.md)\>
178
-
179
- #### Defined in
180
-
181
- [packages/framework/esm-react-utils/src/UserHasAccess.tsx:8](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/UserHasAccess.tsx#L8)
182
-
183
- ## Functions
184
-
185
- ### createUseStore
186
-
187
- ▸ **createUseStore**<`T`\>(`store`): () => `T`(`actions`: [`Actions`](API.md#actions)) => `T` & [`BoundActions`](API.md#boundactions)(`actions?`: [`Actions`](API.md#actions)) => `T` & [`BoundActions`](API.md#boundactions)
188
-
189
- #### Type parameters
190
-
191
- | Name |
192
- | :------ |
193
- | `T` |
194
-
195
- #### Parameters
196
-
197
- | Name | Type |
198
- | :------ | :------ |
199
- | `store` | `Store`<`T`\> |
200
-
201
- #### Returns
202
-
203
- `fn`
204
-
205
- ▸ (): `T`
206
-
207
- ##### Returns
208
-
209
- `T`
210
-
211
- ▸ (`actions`): `T` & [`BoundActions`](API.md#boundactions)
212
-
213
- ##### Parameters
214
-
215
- | Name | Type |
216
- | :------ | :------ |
217
- | `actions` | [`Actions`](API.md#actions) |
218
-
219
- ##### Returns
220
-
221
- `T` & [`BoundActions`](API.md#boundactions)
222
-
223
- ▸ (`actions?`): `T` & [`BoundActions`](API.md#boundactions)
224
-
225
- ##### Parameters
226
-
227
- | Name | Type |
228
- | :------ | :------ |
229
- | `actions?` | [`Actions`](API.md#actions) |
230
-
231
- ##### Returns
232
-
233
- `T` & [`BoundActions`](API.md#boundactions)
234
-
235
- #### Defined in
236
-
237
- [packages/framework/esm-react-utils/src/createUseStore.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/createUseStore.ts#L21)
238
-
239
- ___
240
-
241
- ### getAsyncExtensionLifecycle
242
-
243
- ▸ `Const` **getAsyncExtensionLifecycle**<`T`\>(`lazy`, `options`): () => `Promise`<`ReactAppOrParcel`<`any`\>\>
244
-
245
- **`deprecated`** Use getAsyncLifecycle instead.
246
-
247
- #### Type parameters
248
-
249
- | Name |
250
- | :------ |
251
- | `T` |
252
-
253
- #### Parameters
254
-
255
- | Name | Type |
256
- | :------ | :------ |
257
- | `lazy` | () => `Promise`<`Object`\> |
258
- | `options` | [`ComponentDecoratorOptions`](interfaces/ComponentDecoratorOptions.md) |
259
-
260
- #### Returns
261
-
262
- `fn`
263
-
264
- ▸ (): `Promise`<`ReactAppOrParcel`<`any`\>\>
265
-
266
- ##### Returns
267
-
268
- `Promise`<`ReactAppOrParcel`<`any`\>\>
269
-
270
- #### Defined in
271
-
272
- [packages/framework/esm-react-utils/src/getLifecycle.ts:38](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/getLifecycle.ts#L38)
273
-
274
- ___
275
-
276
- ### getAsyncLifecycle
277
-
278
- ▸ **getAsyncLifecycle**<`T`\>(`lazy`, `options`): () => `Promise`<`ReactAppOrParcel`<`any`\>\>
279
-
280
- #### Type parameters
281
-
282
- | Name |
283
- | :------ |
284
- | `T` |
285
-
286
- #### Parameters
287
-
288
- | Name | Type |
289
- | :------ | :------ |
290
- | `lazy` | () => `Promise`<`Object`\> |
291
- | `options` | [`ComponentDecoratorOptions`](interfaces/ComponentDecoratorOptions.md) |
292
-
293
- #### Returns
294
-
295
- `fn`
296
-
297
- ▸ (): `Promise`<`ReactAppOrParcel`<`any`\>\>
298
-
299
- ##### Returns
300
-
301
- `Promise`<`ReactAppOrParcel`<`any`\>\>
302
-
303
- #### Defined in
304
-
305
- [packages/framework/esm-react-utils/src/getLifecycle.ts:20](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/getLifecycle.ts#L20)
306
-
307
- ___
308
-
309
- ### getLifecycle
310
-
311
- ▸ **getLifecycle**<`T`\>(`Component`, `options`): `ReactAppOrParcel`<`any`\>
312
-
313
- #### Type parameters
314
-
315
- | Name |
316
- | :------ |
317
- | `T` |
318
-
319
- #### Parameters
320
-
321
- | Name | Type |
322
- | :------ | :------ |
323
- | `Component` | `React.ComponentType`<`T`\> |
324
- | `options` | [`ComponentDecoratorOptions`](interfaces/ComponentDecoratorOptions.md) |
325
-
326
- #### Returns
327
-
328
- `ReactAppOrParcel`<`any`\>
329
-
330
- #### Defined in
331
-
332
- [packages/framework/esm-react-utils/src/getLifecycle.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/getLifecycle.ts#L9)
333
-
334
- ___
335
-
336
- ### getSyncLifecycle
337
-
338
- ▸ **getSyncLifecycle**<`T`\>(`Component`, `options`): () => `Promise`<`ReactAppOrParcel`<`any`\>\>
339
-
340
- #### Type parameters
341
-
342
- | Name |
343
- | :------ |
344
- | `T` |
345
-
346
- #### Parameters
347
-
348
- | Name | Type |
349
- | :------ | :------ |
350
- | `Component` | `React.ComponentType`<`T`\> |
351
- | `options` | [`ComponentDecoratorOptions`](interfaces/ComponentDecoratorOptions.md) |
352
-
353
- #### Returns
354
-
355
- `fn`
356
-
357
- ▸ (): `Promise`<`ReactAppOrParcel`<`any`\>\>
358
-
359
- ##### Returns
360
-
361
- `Promise`<`ReactAppOrParcel`<`any`\>\>
362
-
363
- #### Defined in
364
-
365
- [packages/framework/esm-react-utils/src/getLifecycle.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/getLifecycle.ts#L28)
366
-
367
- ___
368
-
369
- ### openmrsComponentDecorator
370
-
371
- ▸ **openmrsComponentDecorator**(`userOpts`): (`Comp`: `ComponentType`<`Object`\>) => `ComponentType`<`any`\>
372
-
373
- #### Parameters
374
-
375
- | Name | Type |
376
- | :------ | :------ |
377
- | `userOpts` | [`ComponentDecoratorOptions`](interfaces/ComponentDecoratorOptions.md) |
378
-
379
- #### Returns
380
-
381
- `fn`
382
-
383
- ▸ (`Comp`): `ComponentType`<`any`\>
384
-
385
- ##### Parameters
386
-
387
- | Name | Type |
388
- | :------ | :------ |
389
- | `Comp` | `ComponentType`<`Object`\> |
390
-
391
- ##### Returns
392
-
393
- `ComponentType`<`any`\>
394
-
395
- #### Defined in
396
-
397
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:71](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L71)
398
-
399
- ___
400
-
401
- ### useAssignedExtensionIds
402
-
403
- ▸ **useAssignedExtensionIds**(`extensionSlotName`): `string`[]
404
-
405
- Gets the assigned extension ids for a given extension slot name.
406
- Does not consider if offline or online.
407
-
408
- #### Parameters
409
-
410
- | Name | Type | Description |
411
- | :------ | :------ | :------ |
412
- | `extensionSlotName` | `string` | The name of the slot to get the assigned IDs for. |
413
-
414
- #### Returns
415
-
416
- `string`[]
417
-
418
- #### Defined in
419
-
420
- [packages/framework/esm-react-utils/src/useAssignedExtensionIds.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useAssignedExtensionIds.ts#L11)
421
-
422
- ___
423
-
424
- ### useAttachedExtensionIds
425
-
426
- ▸ **useAttachedExtensionIds**(`extensionSlotName`): `string`[]
427
-
428
- Gets the assigned extension ids for the given slot.
429
-
430
- #### Parameters
431
-
432
- | Name | Type |
433
- | :------ | :------ |
434
- | `extensionSlotName` | `string` |
435
-
436
- #### Returns
437
-
438
- `string`[]
439
-
440
- #### Defined in
441
-
442
- [packages/framework/esm-react-utils/src/useAttachedExtensionIds.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useAttachedExtensionIds.ts#L11)
443
-
444
- ___
445
-
446
- ### useBodyScrollLock
447
-
448
- ▸ **useBodyScrollLock**(`active`): `void`
449
-
450
- #### Parameters
451
-
452
- | Name | Type |
453
- | :------ | :------ |
454
- | `active` | `boolean` |
455
-
456
- #### Returns
457
-
458
- `void`
459
-
460
- #### Defined in
461
-
462
- [packages/framework/esm-react-utils/src/useBodyScrollLock.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useBodyScrollLock.ts#L3)
463
-
464
- ___
465
-
466
- ### useConfig
467
-
468
- ▸ **useConfig**(): `Object`
469
-
470
- Use this React Hook to obtain your module's configuration.
471
-
472
- #### Returns
473
-
474
- `Object`
475
-
476
- | Name | Type | Description |
477
- | :------ | :------ | :------ |
478
- | `constructor` | `Function` | The initial value of Object.prototype.constructor is the standard built-in Object constructor. |
479
- | `hasOwnProperty` | (`v`: `PropertyKey`) => `boolean` | - |
480
- | `isPrototypeOf` | (`v`: `Object`) => `boolean` | - |
481
- | `propertyIsEnumerable` | (`v`: `PropertyKey`) => `boolean` | - |
482
- | `toLocaleString` | () => `string` | - |
483
- | `toString` | () => `string` | - |
484
- | `valueOf` | () => `Object` | - |
485
-
486
- #### Defined in
487
-
488
- [packages/framework/esm-react-utils/src/useConfig.ts:103](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useConfig.ts#L103)
489
-
490
- ___
491
-
492
- ### useConnectedExtensions
493
-
494
- ▸ **useConnectedExtensions**(`extensionSlotName`): `ExtensionRegistration`[]
495
-
496
- Gets the assigned extension for a given extension slot name.
497
- Considers if offline or online.
498
-
499
- #### Parameters
500
-
501
- | Name | Type | Description |
502
- | :------ | :------ | :------ |
503
- | `extensionSlotName` | `string` | The name of the slot to get the assigned extensions for. |
504
-
505
- #### Returns
506
-
507
- `ExtensionRegistration`[]
508
-
509
- #### Defined in
510
-
511
- [packages/framework/esm-react-utils/src/useConnectedExtensions.ts:31](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useConnectedExtensions.ts#L31)
512
-
513
- ___
514
-
515
- ### useConnectivity
516
-
517
- ▸ **useConnectivity**(): `boolean`
518
-
519
- #### Returns
520
-
521
- `boolean`
522
-
523
- #### Defined in
524
-
525
- [packages/framework/esm-react-utils/src/useConnectivity.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useConnectivity.ts#L4)
526
-
527
- ___
528
-
529
- ### useCurrentPatient
530
-
531
- ▸ **useCurrentPatient**(`patientUuid?`): [`boolean`, `NullablePatient`, `PatientUuid`, `Error` \| ``null``]
532
-
533
- #### Parameters
534
-
535
- | Name | Type |
536
- | :------ | :------ |
537
- | `patientUuid` | `PatientUuid` |
538
-
539
- #### Returns
540
-
541
- [`boolean`, `NullablePatient`, `PatientUuid`, `Error` \| ``null``]
542
-
543
- #### Defined in
544
-
545
- [packages/framework/esm-react-utils/src/useCurrentPatient.ts:79](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useCurrentPatient.ts#L79)
546
-
547
- ___
548
-
549
- ### useExtension
550
-
551
- ▸ **useExtension**<`TRef`\>(`state?`): [`RefObject`<`TRef`\>, [`ExtensionData`](interfaces/ExtensionData.md) \| `undefined`]
552
-
553
- #### Type parameters
554
-
555
- | Name | Type |
556
- | :------ | :------ |
557
- | `TRef` | extends `HTMLElement` |
558
-
559
- #### Parameters
560
-
561
- | Name | Type |
562
- | :------ | :------ |
563
- | `state?` | `Record`<`string`, `any`\> |
564
-
565
- #### Returns
566
-
567
- [`RefObject`<`TRef`\>, [`ExtensionData`](interfaces/ExtensionData.md) \| `undefined`]
568
-
569
- #### Defined in
570
-
571
- [packages/framework/esm-react-utils/src/useExtension.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useExtension.ts#L5)
572
-
573
- ___
574
-
575
- ### useExtensionSlot
576
-
577
- ▸ **useExtensionSlot**(`extensionSlotName`): `Object`
578
-
579
- #### Parameters
580
-
581
- | Name | Type |
582
- | :------ | :------ |
583
- | `extensionSlotName` | `string` |
584
-
585
- #### Returns
586
-
587
- `Object`
588
-
589
- | Name | Type |
590
- | :------ | :------ |
591
- | `extensionSlotModuleName` | `string` |
592
- | `extensionSlotName` | `string` |
593
- | `extensions` | `ExtensionRegistration`[] |
594
-
595
- #### Defined in
596
-
597
- [packages/framework/esm-react-utils/src/useExtensionSlot.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useExtensionSlot.ts#L9)
598
-
599
- ___
600
-
601
- ### useExtensionSlotConfig
602
-
603
- ▸ **useExtensionSlotConfig**(`extensionSlotName`): `ExtensionSlotConfigObject`
604
-
605
- #### Parameters
606
-
607
- | Name | Type |
608
- | :------ | :------ |
609
- | `extensionSlotName` | `string` |
610
-
611
- #### Returns
612
-
613
- `ExtensionSlotConfigObject`
614
-
615
- #### Defined in
616
-
617
- [packages/framework/esm-react-utils/src/useExtensionSlotConfig.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useExtensionSlotConfig.ts#L16)
618
-
619
- ___
620
-
621
- ### useExtensionSlotMeta
622
-
623
- ▸ **useExtensionSlotMeta**<`T`\>(`extensionSlotName`): `Object`
624
-
625
- Extract meta data from all extension for a given extension slot.
626
-
627
- #### Type parameters
628
-
629
- | Name | Type |
630
- | :------ | :------ |
631
- | `T` | `ExtensionMeta` |
632
-
633
- #### Parameters
634
-
635
- | Name | Type |
636
- | :------ | :------ |
637
- | `extensionSlotName` | `string` |
638
-
639
- #### Returns
640
-
641
- `Object`
642
-
643
- #### Defined in
644
-
645
- [packages/framework/esm-react-utils/src/useExtensionSlotMeta.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useExtensionSlotMeta.ts#L9)
646
-
647
- ___
648
-
649
- ### useExtensionStore
650
-
651
- ▸ `Const` **useExtensionStore**(): `T`
652
-
653
- #### Returns
654
-
655
- `T`
656
-
657
- #### Defined in
658
-
659
- [packages/framework/esm-react-utils/src/useExtensionStore.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useExtensionStore.ts#L4)
660
-
661
- ▸ `Const` **useExtensionStore**(`actions`): `T` & [`BoundActions`](API.md#boundactions)
662
-
663
- #### Parameters
664
-
665
- | Name | Type |
666
- | :------ | :------ |
667
- | `actions` | [`Actions`](API.md#actions) |
668
-
669
- #### Returns
670
-
671
- `T` & [`BoundActions`](API.md#boundactions)
672
-
673
- #### Defined in
674
-
675
- [packages/framework/esm-react-utils/src/useExtensionStore.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useExtensionStore.ts#L4)
676
-
677
- ▸ `Const` **useExtensionStore**(`actions?`): `T` & [`BoundActions`](API.md#boundactions)
678
-
679
- #### Parameters
680
-
681
- | Name | Type |
682
- | :------ | :------ |
683
- | `actions?` | [`Actions`](API.md#actions) |
684
-
685
- #### Returns
686
-
687
- `T` & [`BoundActions`](API.md#boundactions)
688
-
689
- #### Defined in
690
-
691
- [packages/framework/esm-react-utils/src/useExtensionStore.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useExtensionStore.ts#L4)
692
-
693
- ___
694
-
695
- ### useForceUpdate
696
-
697
- ▸ **useForceUpdate**(): () => `void`
698
-
699
- #### Returns
700
-
701
- `fn`
702
-
703
- ▸ (): `void`
704
-
705
- ##### Returns
706
-
707
- `void`
708
-
709
- #### Defined in
710
-
711
- [packages/framework/esm-react-utils/src/useForceUpdate.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useForceUpdate.ts#L3)
712
-
713
- ___
714
-
715
- ### useLayoutType
716
-
717
- ▸ **useLayoutType**(): [`LayoutType`](API.md#layouttype)
718
-
719
- #### Returns
720
-
721
- [`LayoutType`](API.md#layouttype)
722
-
723
- #### Defined in
724
-
725
- [packages/framework/esm-react-utils/src/useLayoutType.ts:22](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useLayoutType.ts#L22)
726
-
727
- ___
728
-
729
- ### useLocations
730
-
731
- ▸ **useLocations**(): `Location`[]
732
-
733
- #### Returns
734
-
735
- `Location`[]
736
-
737
- #### Defined in
738
-
739
- [packages/framework/esm-react-utils/src/useLocations.tsx:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useLocations.tsx#L4)
740
-
741
- ___
742
-
743
- ### useNavigationContext
744
-
745
- ▸ **useNavigationContext**(`context`): `void`
746
-
747
- **`deprecated`** Don't use this anymore.
748
-
749
- #### Parameters
750
-
751
- | Name | Type |
752
- | :------ | :------ |
753
- | `context` | `NavigationContext` |
754
-
755
- #### Returns
756
-
757
- `void`
758
-
759
- #### Defined in
760
-
761
- [packages/framework/esm-react-utils/src/useNavigationContext.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useNavigationContext.ts#L10)
762
-
763
- ___
764
-
765
- ### useOnClickOutside
766
-
767
- ▸ **useOnClickOutside**<`T`\>(`handler`, `active?`): `RefObject`<`T`\>
768
-
769
- #### Type parameters
770
-
771
- | Name | Type |
772
- | :------ | :------ |
773
- | `T` | extends `HTMLElement``HTMLElement` |
774
-
775
- #### Parameters
776
-
777
- | Name | Type | Default value |
778
- | :------ | :------ | :------ |
779
- | `handler` | (`event`: `Event`) => `void` | `undefined` |
780
- | `active` | `boolean` | `true` |
781
-
782
- #### Returns
783
-
784
- `RefObject`<`T`\>
785
-
786
- #### Defined in
787
-
788
- [packages/framework/esm-react-utils/src/useOnClickOutside.tsx:3](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useOnClickOutside.tsx#L3)
789
-
790
- ___
791
-
792
- ### usePagination
793
-
794
- ▸ **usePagination**<`T`\>(`data?`, `resultsPerPage?`): `Object`
795
-
796
- #### Type parameters
797
-
798
- | Name |
799
- | :------ |
800
- | `T` |
801
-
802
- #### Parameters
803
-
804
- | Name | Type | Default value |
805
- | :------ | :------ | :------ |
806
- | `data` | `T`[] | `[]` |
807
- | `resultsPerPage` | `number` | `undefined` |
808
-
809
- #### Returns
810
-
811
- `Object`
812
-
813
- | Name | Type |
814
- | :------ | :------ |
815
- | `currentPage` | `number` |
816
- | `paginated` | `boolean` |
817
- | `results` | `T`[] |
818
- | `showNextButton` | `boolean` |
819
- | `showPreviousButton` | `boolean` |
820
- | `totalPages` | `number` |
821
- | `goTo` | (`page`: `number`) => `void` |
822
- | `goToNext` | () => `void` |
823
- | `goToPrevious` | () => `void` |
824
-
825
- #### Defined in
826
-
827
- [packages/framework/esm-react-utils/src/usePagination.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/usePagination.ts#L5)
828
-
829
- ___
830
-
831
- ### useSessionUser
832
-
833
- ▸ **useSessionUser**(): ``null`` \| `SessionUser`
834
-
835
- #### Returns
836
-
837
- ``null`` \| `SessionUser`
838
-
839
- #### Defined in
840
-
841
- [packages/framework/esm-react-utils/src/useSessionUser.tsx:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useSessionUser.tsx#L4)
842
-
843
- ___
844
-
845
- ### useStore
846
-
847
- ▸ **useStore**<`T`\>(`store`): `T`
848
-
849
- #### Type parameters
850
-
851
- | Name |
852
- | :------ |
853
- | `T` |
854
-
855
- #### Parameters
856
-
857
- | Name | Type |
858
- | :------ | :------ |
859
- | `store` | `Store`<`T`\> |
860
-
861
- #### Returns
862
-
863
- `T`
864
-
865
- #### Defined in
866
-
867
- [packages/framework/esm-react-utils/src/useStore.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useStore.ts#L4)
868
-
869
- ▸ **useStore**<`T`\>(`store`, `actions`): `T` & [`BoundActions`](API.md#boundactions)
870
-
871
- #### Type parameters
872
-
873
- | Name |
874
- | :------ |
875
- | `T` |
876
-
877
- #### Parameters
878
-
879
- | Name | Type |
880
- | :------ | :------ |
881
- | `store` | `Store`<`T`\> |
882
- | `actions` | [`Actions`](API.md#actions) |
883
-
884
- #### Returns
885
-
886
- `T` & [`BoundActions`](API.md#boundactions)
887
-
888
- #### Defined in
889
-
890
- [packages/framework/esm-react-utils/src/useStore.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useStore.ts#L5)
891
-
892
- ___
893
-
894
- ### useStoreState
895
-
896
- ▸ **useStoreState**<`T`, `U`\>(`store`, `select`): `U`
897
-
898
- #### Type parameters
899
-
900
- | Name |
901
- | :------ |
902
- | `T` |
903
- | `U` |
904
-
905
- #### Parameters
906
-
907
- | Name | Type |
908
- | :------ | :------ |
909
- | `store` | `Store`<`T`\> |
910
- | `select` | (`state`: `T`) => `U` |
911
-
912
- #### Returns
913
-
914
- `U`
915
-
916
- #### Defined in
917
-
918
- [packages/framework/esm-react-utils/src/useStoreState.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useStoreState.ts#L5)
919
-
920
- ___
921
-
922
- ### useVisit
923
-
924
- ▸ **useVisit**(`patientUuid`): `Object`
925
-
926
- #### Parameters
927
-
928
- | Name | Type |
929
- | :------ | :------ |
930
- | `patientUuid` | `string` |
931
-
932
- #### Returns
933
-
934
- `Object`
935
-
936
- | Name | Type |
937
- | :------ | :------ |
938
- | `currentVisit` | ``null`` \| `Visit` |
939
- | `error` | ``null`` |
940
-
941
- #### Defined in
942
-
943
- [packages/framework/esm-react-utils/src/useVisit.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useVisit.ts#L11)
944
-
945
- ___
946
-
947
- ### useVisitTypes
948
-
949
- ▸ **useVisitTypes**(): `VisitType`[]
950
-
951
- #### Returns
952
-
953
- `VisitType`[]
954
-
955
- #### Defined in
956
-
957
- [packages/framework/esm-react-utils/src/useVisitTypes.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/useVisitTypes.ts#L4)
@@ -1,30 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / ComponentConfig
2
-
3
- # Interface: ComponentConfig
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [extension](ComponentConfig.md#extension)
10
- - [moduleName](ComponentConfig.md#modulename)
11
-
12
- ## Properties
13
-
14
- ### extension
15
-
16
- • `Optional` **extension**: [`ExtensionData`](ExtensionData.md)
17
-
18
- #### Defined in
19
-
20
- [packages/framework/esm-react-utils/src/ComponentContext.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ComponentContext.ts#L11)
21
-
22
- ___
23
-
24
- ### moduleName
25
-
26
- • **moduleName**: `string`
27
-
28
- #### Defined in
29
-
30
- [packages/framework/esm-react-utils/src/ComponentContext.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ComponentContext.ts#L10)
@@ -1,52 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / ComponentDecoratorOptions
2
-
3
- # Interface: ComponentDecoratorOptions
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [disableTranslations](ComponentDecoratorOptions.md#disabletranslations)
10
- - [featureName](ComponentDecoratorOptions.md#featurename)
11
- - [moduleName](ComponentDecoratorOptions.md#modulename)
12
- - [strictMode](ComponentDecoratorOptions.md#strictmode)
13
-
14
- ## Properties
15
-
16
- ### disableTranslations
17
-
18
- • `Optional` **disableTranslations**: `boolean`
19
-
20
- #### Defined in
21
-
22
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:57](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L57)
23
-
24
- ___
25
-
26
- ### featureName
27
-
28
- • **featureName**: `string`
29
-
30
- #### Defined in
31
-
32
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:56](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L56)
33
-
34
- ___
35
-
36
- ### moduleName
37
-
38
- • **moduleName**: `string`
39
-
40
- #### Defined in
41
-
42
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:55](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L55)
43
-
44
- ___
45
-
46
- ### strictMode
47
-
48
- • `Optional` **strictMode**: `boolean`
49
-
50
- #### Defined in
51
-
52
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:58](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L58)
@@ -1,25 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / ConfigurableLinkProps
2
-
3
- # Interface: ConfigurableLinkProps
4
-
5
- ## Hierarchy
6
-
7
- - `AnchorHTMLAttributes`<`HTMLAnchorElement`\>
8
-
9
- ↳ **`ConfigurableLinkProps`**
10
-
11
- ## Table of contents
12
-
13
- ### Properties
14
-
15
- - [to](ConfigurableLinkProps.md#to)
16
-
17
- ## Properties
18
-
19
- ### to
20
-
21
- • **to**: `string`
22
-
23
- #### Defined in
24
-
25
- [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:21](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L21)
@@ -1,41 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / ExtensionData
2
-
3
- # Interface: ExtensionData
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [extensionId](ExtensionData.md#extensionid)
10
- - [extensionSlotModuleName](ExtensionData.md#extensionslotmodulename)
11
- - [extensionSlotName](ExtensionData.md#extensionslotname)
12
-
13
- ## Properties
14
-
15
- ### extensionId
16
-
17
- • **extensionId**: `string`
18
-
19
- #### Defined in
20
-
21
- [packages/framework/esm-react-utils/src/ComponentContext.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ComponentContext.ts#L6)
22
-
23
- ___
24
-
25
- ### extensionSlotModuleName
26
-
27
- • **extensionSlotModuleName**: `string`
28
-
29
- #### Defined in
30
-
31
- [packages/framework/esm-react-utils/src/ComponentContext.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ComponentContext.ts#L5)
32
-
33
- ___
34
-
35
- ### extensionSlotName
36
-
37
- • **extensionSlotName**: `string`
38
-
39
- #### Defined in
40
-
41
- [packages/framework/esm-react-utils/src/ComponentContext.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ComponentContext.ts#L4)
@@ -1,44 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / ExtensionProps
2
-
3
- # Interface: ExtensionProps
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [state](ExtensionProps.md#state)
10
-
11
- ### Methods
12
-
13
- - [wrap](ExtensionProps.md#wrap)
14
-
15
- ## Properties
16
-
17
- ### state
18
-
19
- • `Optional` **state**: `Record`<`string`, `any`\>
20
-
21
- #### Defined in
22
-
23
- [packages/framework/esm-react-utils/src/Extension.tsx:6](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/Extension.tsx#L6)
24
-
25
- ## Methods
26
-
27
- ### wrap
28
-
29
- ▸ `Optional` **wrap**(`slot`, `extension`): ``null`` \| `ReactElement`<`any`, `any`\>
30
-
31
- #### Parameters
32
-
33
- | Name | Type |
34
- | :------ | :------ |
35
- | `slot` | `ReactNode` |
36
- | `extension` | [`ExtensionData`](ExtensionData.md) |
37
-
38
- #### Returns
39
-
40
- ``null`` \| `ReactElement`<`any`, `any`\>
41
-
42
- #### Defined in
43
-
44
- [packages/framework/esm-react-utils/src/Extension.tsx:7](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/Extension.tsx#L7)
@@ -1,54 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / ExtensionSlotBaseProps
2
-
3
- # Interface: ExtensionSlotBaseProps
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [extensionSlotName](ExtensionSlotBaseProps.md#extensionslotname)
10
- - [state](ExtensionSlotBaseProps.md#state)
11
-
12
- ### Methods
13
-
14
- - [select](ExtensionSlotBaseProps.md#select)
15
-
16
- ## Properties
17
-
18
- ### extensionSlotName
19
-
20
- • **extensionSlotName**: `string`
21
-
22
- #### Defined in
23
-
24
- [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:47](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ExtensionSlot.tsx#L47)
25
-
26
- ___
27
-
28
- ### state
29
-
30
- • `Optional` **state**: `Record`<`string`, `any`\>
31
-
32
- #### Defined in
33
-
34
- [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:51](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ExtensionSlot.tsx#L51)
35
-
36
- ## Methods
37
-
38
- ### select
39
-
40
- ▸ `Optional` **select**(`extensions`): `ExtensionRegistration`[]
41
-
42
- #### Parameters
43
-
44
- | Name | Type |
45
- | :------ | :------ |
46
- | `extensions` | `ExtensionRegistration`[] |
47
-
48
- #### Returns
49
-
50
- `ExtensionRegistration`[]
51
-
52
- #### Defined in
53
-
54
- [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:48](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/ExtensionSlot.tsx#L48)
@@ -1,19 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / OpenmrsReactComponentProps
2
-
3
- # Interface: OpenmrsReactComponentProps
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [\_extensionContext](OpenmrsReactComponentProps.md#_extensioncontext)
10
-
11
- ## Properties
12
-
13
- ### \_extensionContext
14
-
15
- • `Optional` **\_extensionContext**: [`ExtensionData`](ExtensionData.md)
16
-
17
- #### Defined in
18
-
19
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:62](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L62)
@@ -1,41 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / OpenmrsReactComponentState
2
-
3
- # Interface: OpenmrsReactComponentState
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [caughtError](OpenmrsReactComponentState.md#caughterror)
10
- - [caughtErrorInfo](OpenmrsReactComponentState.md#caughterrorinfo)
11
- - [config](OpenmrsReactComponentState.md#config)
12
-
13
- ## Properties
14
-
15
- ### caughtError
16
-
17
- • **caughtError**: `any`
18
-
19
- #### Defined in
20
-
21
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:66](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L66)
22
-
23
- ___
24
-
25
- ### caughtErrorInfo
26
-
27
- • **caughtErrorInfo**: `any`
28
-
29
- #### Defined in
30
-
31
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:67](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L67)
32
-
33
- ___
34
-
35
- ### config
36
-
37
- • **config**: [`ComponentConfig`](ComponentConfig.md)
38
-
39
- #### Defined in
40
-
41
- [packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:68](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L68)
@@ -1,19 +0,0 @@
1
- [@openmrs/esm-react-utils](../API.md) / UserHasAccessProps
2
-
3
- # Interface: UserHasAccessProps
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [privilege](UserHasAccessProps.md#privilege)
10
-
11
- ## Properties
12
-
13
- ### privilege
14
-
15
- • **privilege**: `string`
16
-
17
- #### Defined in
18
-
19
- [packages/framework/esm-react-utils/src/UserHasAccess.tsx:5](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/UserHasAccess.tsx#L5)
package/typedoc.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "out": "docs",
3
- "readme": "none",
4
- "excludeInternal": true,
5
- "gitRevision": "master",
6
- "entryDocument": "API.md"
7
- }