@medplum/react 2.0.19 → 2.0.20
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/cjs/index.cjs +80 -83
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.min.cjs +1 -1
- package/dist/esm/AppShell/AppShell.mjs +1 -1
- package/dist/esm/AppShell/AppShell.mjs.map +1 -1
- package/dist/esm/AppShell/HeaderSearchInput.mjs +2 -4
- package/dist/esm/AppShell/HeaderSearchInput.mjs.map +1 -1
- package/dist/esm/AppShell/Navbar.mjs +12 -14
- package/dist/esm/AppShell/Navbar.mjs.map +1 -1
- package/dist/esm/BookmarkDialog/BookmarkDialog.mjs +1 -3
- package/dist/esm/BookmarkDialog/BookmarkDialog.mjs.map +1 -1
- package/dist/esm/GoogleButton/GoogleButton.mjs +2 -2
- package/dist/esm/GoogleButton/GoogleButton.mjs.map +1 -1
- package/dist/esm/SearchControl/SearchControl.mjs +2 -2
- package/dist/esm/SearchControl/SearchControl.mjs.map +1 -1
- package/dist/esm/index.min.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconAdjustmentsHorizontal.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconAdjustmentsHorizontal.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertCircle.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertCircle.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBleach.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBleach.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBleachOff.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBleachOff.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBoxMultiple.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBoxMultiple.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBracketsContain.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBracketsContain.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBucket.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBucket.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBucketOff.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBucketOff.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCalendar.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCalendar.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCheckbox.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCheckbox.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCircleMinus.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCircleMinus.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCirclePlus.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCirclePlus.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCloudUpload.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCloudUpload.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconColumns.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconColumns.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCurrencyDollar.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCurrencyDollar.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconDots.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconDots.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEdit.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEdit.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEqual.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEqual.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEqualNot.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEqualNot.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFileAlert.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFileAlert.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFilePlus.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFilePlus.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFilter.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFilter.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconListDetails.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconListDetails.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconLogout.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconLogout.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMathGreater.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMathGreater.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMathLower.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMathLower.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMessage.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMessage.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPin.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPin.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPinnedOff.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPinnedOff.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPlus.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPlus.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSettings.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSettings.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSortAscending.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSortAscending.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSortDescending.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSortDescending.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSquare.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSquare.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSwitchHorizontal.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSwitchHorizontal.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconTableExport.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconTableExport.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.mjs.map +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconX.mjs +1 -1
- package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconX.mjs.map +1 -1
- package/dist/types/AppShell/AppShell.d.ts +2 -0
- package/dist/types/AppShell/HeaderSearchInput.d.ts +4 -1
- package/dist/types/AppShell/Navbar.d.ts +2 -0
- package/dist/types/BookmarkDialog/BookmarkDialog.d.ts +2 -0
- package/package.json +11 -12
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@medplum/core'), require('react'), require('@mantine/core'), require('prop-types'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@medplum/core', 'react', '@mantine/core', 'prop-types', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.medplum = global.medplum || {}, global.medplum.react = {}), global.medplum.core, global.React, global.mantine.core, global.PropTypes, global.
|
|
5
|
-
})(this, (function (exports, core, React, core$1, PropTypes,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@medplum/core'), require('react'), require('@mantine/core'), require('prop-types'), require('@mantine/notifications')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@medplum/core', 'react', '@mantine/core', 'prop-types', '@mantine/notifications'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.medplum = global.medplum || {}, global.medplum.react = {}), global.medplum.core, global.React, global.mantine.core, global.PropTypes, global.mantine.notifications));
|
|
5
|
+
})(this, (function (exports, core, React, core$1, PropTypes, notifications) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function AddressDisplay(props) {
|
|
8
8
|
const address = props.value;
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
* @tabler/icons-react v2.
|
|
157
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
158
158
|
*/
|
|
159
159
|
|
|
160
160
|
var defaultAttributes = {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
};
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
|
-
* @tabler/icons-react v2.
|
|
173
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
174
174
|
*/
|
|
175
175
|
|
|
176
176
|
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
};
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
|
-
* @tabler/icons-react v2.
|
|
237
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
238
238
|
*/
|
|
239
239
|
|
|
240
240
|
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
);
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
|
-
* @tabler/icons-react v2.
|
|
258
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
259
259
|
*/
|
|
260
260
|
|
|
261
261
|
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
]);
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
|
-
* @tabler/icons-react v2.
|
|
269
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
270
270
|
*/
|
|
271
271
|
|
|
272
272
|
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
]);
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
|
-
* @tabler/icons-react v2.
|
|
285
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
286
286
|
*/
|
|
287
287
|
|
|
288
288
|
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
]);
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
|
-
* @tabler/icons-react v2.
|
|
300
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
301
301
|
*/
|
|
302
302
|
|
|
303
303
|
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
]);
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
|
-
* @tabler/icons-react v2.
|
|
322
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
323
323
|
*/
|
|
324
324
|
|
|
325
325
|
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
]);
|
|
333
333
|
|
|
334
334
|
/**
|
|
335
|
-
* @tabler/icons-react v2.
|
|
335
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
336
336
|
*/
|
|
337
337
|
|
|
338
338
|
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
]);
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
|
-
* @tabler/icons-react v2.
|
|
358
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
359
359
|
*/
|
|
360
360
|
|
|
361
361
|
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
]);
|
|
372
372
|
|
|
373
373
|
/**
|
|
374
|
-
* @tabler/icons-react v2.
|
|
374
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
375
375
|
*/
|
|
376
376
|
|
|
377
377
|
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
]);
|
|
392
392
|
|
|
393
393
|
/**
|
|
394
|
-
* @tabler/icons-react v2.
|
|
394
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
395
395
|
*/
|
|
396
396
|
|
|
397
397
|
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
]);
|
|
401
401
|
|
|
402
402
|
/**
|
|
403
|
-
* @tabler/icons-react v2.
|
|
403
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
404
404
|
*/
|
|
405
405
|
|
|
406
406
|
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
]);
|
|
417
417
|
|
|
418
418
|
/**
|
|
419
|
-
* @tabler/icons-react v2.
|
|
419
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
420
420
|
*/
|
|
421
421
|
|
|
422
422
|
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
]);
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
|
-
* @tabler/icons-react v2.
|
|
428
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
429
429
|
*/
|
|
430
430
|
|
|
431
431
|
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
]);
|
|
436
436
|
|
|
437
437
|
/**
|
|
438
|
-
* @tabler/icons-react v2.
|
|
438
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
439
439
|
*/
|
|
440
440
|
|
|
441
441
|
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
]);
|
|
447
447
|
|
|
448
448
|
/**
|
|
449
|
-
* @tabler/icons-react v2.
|
|
449
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
450
450
|
*/
|
|
451
451
|
|
|
452
452
|
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
]);
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
|
-
* @tabler/icons-react v2.
|
|
466
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
467
467
|
*/
|
|
468
468
|
|
|
469
469
|
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
]);
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
|
-
* @tabler/icons-react v2.
|
|
482
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
483
483
|
*/
|
|
484
484
|
|
|
485
485
|
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
]);
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
|
-
* @tabler/icons-react v2.
|
|
498
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
499
499
|
*/
|
|
500
500
|
|
|
501
501
|
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
]);
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
* @tabler/icons-react v2.
|
|
509
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
510
510
|
*/
|
|
511
511
|
|
|
512
512
|
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
]);
|
|
530
530
|
|
|
531
531
|
/**
|
|
532
|
-
* @tabler/icons-react v2.
|
|
532
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
533
533
|
*/
|
|
534
534
|
|
|
535
535
|
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
]);
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
|
-
* @tabler/icons-react v2.
|
|
543
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
544
544
|
*/
|
|
545
545
|
|
|
546
546
|
|
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
]);
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
|
-
* @tabler/icons-react v2.
|
|
553
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
554
554
|
*/
|
|
555
555
|
|
|
556
556
|
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
]);
|
|
569
569
|
|
|
570
570
|
/**
|
|
571
|
-
* @tabler/icons-react v2.
|
|
571
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
572
572
|
*/
|
|
573
573
|
|
|
574
574
|
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
]);
|
|
587
587
|
|
|
588
588
|
/**
|
|
589
|
-
* @tabler/icons-react v2.
|
|
589
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
590
590
|
*/
|
|
591
591
|
|
|
592
592
|
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
]);
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
|
-
* @tabler/icons-react v2.
|
|
604
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
605
605
|
*/
|
|
606
606
|
|
|
607
607
|
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
]);
|
|
628
628
|
|
|
629
629
|
/**
|
|
630
|
-
* @tabler/icons-react v2.
|
|
630
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
631
631
|
*/
|
|
632
632
|
|
|
633
633
|
|
|
@@ -644,7 +644,7 @@
|
|
|
644
644
|
]);
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
|
-
* @tabler/icons-react v2.
|
|
647
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
648
648
|
*/
|
|
649
649
|
|
|
650
650
|
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
]);
|
|
654
654
|
|
|
655
655
|
/**
|
|
656
|
-
* @tabler/icons-react v2.
|
|
656
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
657
657
|
*/
|
|
658
658
|
|
|
659
659
|
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
]);
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
|
-
* @tabler/icons-react v2.
|
|
665
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
666
666
|
*/
|
|
667
667
|
|
|
668
668
|
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
]);
|
|
680
680
|
|
|
681
681
|
/**
|
|
682
|
-
* @tabler/icons-react v2.
|
|
682
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
683
683
|
*/
|
|
684
684
|
|
|
685
685
|
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
]);
|
|
697
697
|
|
|
698
698
|
/**
|
|
699
|
-
* @tabler/icons-react v2.
|
|
699
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
700
700
|
*/
|
|
701
701
|
|
|
702
702
|
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
]);
|
|
715
715
|
|
|
716
716
|
/**
|
|
717
|
-
* @tabler/icons-react v2.
|
|
717
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
718
718
|
*/
|
|
719
719
|
|
|
720
720
|
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
]);
|
|
725
725
|
|
|
726
726
|
/**
|
|
727
|
-
* @tabler/icons-react v2.
|
|
727
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
728
728
|
*/
|
|
729
729
|
|
|
730
730
|
|
|
@@ -734,7 +734,7 @@
|
|
|
734
734
|
]);
|
|
735
735
|
|
|
736
736
|
/**
|
|
737
|
-
* @tabler/icons-react v2.
|
|
737
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
738
738
|
*/
|
|
739
739
|
|
|
740
740
|
|
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
]);
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
|
-
* @tabler/icons-react v2.
|
|
753
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
754
754
|
*/
|
|
755
755
|
|
|
756
756
|
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
]);
|
|
764
764
|
|
|
765
765
|
/**
|
|
766
|
-
* @tabler/icons-react v2.
|
|
766
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
767
767
|
*/
|
|
768
768
|
|
|
769
769
|
|
|
@@ -776,7 +776,7 @@
|
|
|
776
776
|
]);
|
|
777
777
|
|
|
778
778
|
/**
|
|
779
|
-
* @tabler/icons-react v2.
|
|
779
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
780
780
|
*/
|
|
781
781
|
|
|
782
782
|
|
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
]);
|
|
792
792
|
|
|
793
793
|
/**
|
|
794
|
-
* @tabler/icons-react v2.
|
|
794
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
795
795
|
*/
|
|
796
796
|
|
|
797
797
|
|
|
@@ -807,7 +807,7 @@
|
|
|
807
807
|
);
|
|
808
808
|
|
|
809
809
|
/**
|
|
810
|
-
* @tabler/icons-react v2.
|
|
810
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
811
811
|
*/
|
|
812
812
|
|
|
813
813
|
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
]);
|
|
827
827
|
|
|
828
828
|
/**
|
|
829
|
-
* @tabler/icons-react v2.
|
|
829
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
830
830
|
*/
|
|
831
831
|
|
|
832
832
|
|
|
@@ -842,7 +842,7 @@
|
|
|
842
842
|
]);
|
|
843
843
|
|
|
844
844
|
/**
|
|
845
|
-
* @tabler/icons-react v2.
|
|
845
|
+
* @tabler/icons-react v2.19.0 - MIT
|
|
846
846
|
*/
|
|
847
847
|
|
|
848
848
|
|
|
@@ -1178,11 +1178,10 @@
|
|
|
1178
1178
|
resource,
|
|
1179
1179
|
};
|
|
1180
1180
|
}
|
|
1181
|
-
function HeaderSearchInput() {
|
|
1181
|
+
function HeaderSearchInput(props) {
|
|
1182
1182
|
const { classes } = useStyles$h();
|
|
1183
1183
|
const navigate = useMedplumNavigate();
|
|
1184
1184
|
const medplum = useMedplum();
|
|
1185
|
-
const location = reactRouterDom.useLocation();
|
|
1186
1185
|
const loadData = React.useCallback(async (input, signal) => {
|
|
1187
1186
|
const query = buildGraphQLQuery(input);
|
|
1188
1187
|
const options = { signal };
|
|
@@ -1194,7 +1193,7 @@
|
|
|
1194
1193
|
navigate(`/${core.getReferenceString(item[0])}`);
|
|
1195
1194
|
}
|
|
1196
1195
|
}, [navigate]);
|
|
1197
|
-
return (React.createElement(AsyncAutocomplete, { key:
|
|
1196
|
+
return (React.createElement(AsyncAutocomplete, { key: props.pathname, size: "sm", radius: "md", className: classes.searchInput, icon: React.createElement(IconSearch, { size: 16 }), placeholder: "Search", itemComponent: ItemComponent$1, toKey: toKey$1, toOption: toOption$1, onChange: handleSelect, loadOptions: loadData }));
|
|
1198
1197
|
}
|
|
1199
1198
|
const ItemComponent$1 = React.forwardRef(({ resource, ...others }, ref) => {
|
|
1200
1199
|
let helpText = undefined;
|
|
@@ -1502,10 +1501,9 @@
|
|
|
1502
1501
|
function BookmarkDialog(props) {
|
|
1503
1502
|
const medplum = useMedplum();
|
|
1504
1503
|
const config = medplum.getUserConfiguration();
|
|
1505
|
-
const location = reactRouterDom.useLocation();
|
|
1506
1504
|
function submitHandler(formData) {
|
|
1507
1505
|
const { menuname, bookmarkname: name } = formData;
|
|
1508
|
-
const target =
|
|
1506
|
+
const target = `${props.pathname}?${props.searchParams.toString()}`;
|
|
1509
1507
|
const newConfig = core.deepClone(config);
|
|
1510
1508
|
const menu = newConfig?.menu?.find(({ title }) => title === menuname);
|
|
1511
1509
|
menu?.link?.push({ name, target });
|
|
@@ -1649,9 +1647,7 @@
|
|
|
1649
1647
|
function Navbar(props) {
|
|
1650
1648
|
const { classes } = useStyles$f();
|
|
1651
1649
|
const navigate = useMedplumNavigate();
|
|
1652
|
-
const
|
|
1653
|
-
const [searchParams] = reactRouterDom.useSearchParams();
|
|
1654
|
-
const activeLink = getActiveLink(location.pathname, searchParams, props.menus);
|
|
1650
|
+
const activeLink = getActiveLink(props.pathname, props.searchParams, props.menus);
|
|
1655
1651
|
const [bookmarkDialogVisible, setBookmarkDialogVisible] = React.useState(false);
|
|
1656
1652
|
function onLinkClick(e, to) {
|
|
1657
1653
|
e.stopPropagation();
|
|
@@ -1682,7 +1678,7 @@
|
|
|
1682
1678
|
React.createElement(NavLinkIcon, { to: link.href, icon: link.icon }),
|
|
1683
1679
|
React.createElement("span", null, link.label))))))),
|
|
1684
1680
|
props.displayAddBookmark && (React.createElement(core$1.Button, { variant: "subtle", size: "xs", mt: "xl", leftIcon: React.createElement(IconPlus, { size: "0.75rem" }), onClick: () => setBookmarkDialogVisible(true) }, "Add Bookmark"))))),
|
|
1685
|
-
React.createElement(BookmarkDialog, { visible: bookmarkDialogVisible, onOk: () => setBookmarkDialogVisible(false), onCancel: () => setBookmarkDialogVisible(false) })));
|
|
1681
|
+
props.pathname && props.searchParams && (React.createElement(BookmarkDialog, { pathname: props.pathname, searchParams: props.searchParams, visible: bookmarkDialogVisible, onOk: () => setBookmarkDialogVisible(false), onCancel: () => setBookmarkDialogVisible(false) }))));
|
|
1686
1682
|
}
|
|
1687
1683
|
function NavbarLink(props) {
|
|
1688
1684
|
const { classes, cx } = useStyles$f();
|
|
@@ -1706,17 +1702,18 @@
|
|
|
1706
1702
|
* @returns The active link if one is found.
|
|
1707
1703
|
*/
|
|
1708
1704
|
function getActiveLink(currentPathname, currentSearchParams, menus) {
|
|
1705
|
+
if (!currentPathname || !currentSearchParams || !menus) {
|
|
1706
|
+
return undefined;
|
|
1707
|
+
}
|
|
1709
1708
|
let bestLink = undefined;
|
|
1710
1709
|
let bestScore = 0;
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
bestLink = link;
|
|
1719
|
-
}
|
|
1710
|
+
for (const menu of menus) {
|
|
1711
|
+
if (menu.links) {
|
|
1712
|
+
for (const link of menu.links) {
|
|
1713
|
+
const score = getLinkScore(currentPathname, currentSearchParams, link.href);
|
|
1714
|
+
if (score > bestScore) {
|
|
1715
|
+
bestScore = score;
|
|
1716
|
+
bestLink = link;
|
|
1720
1717
|
}
|
|
1721
1718
|
}
|
|
1722
1719
|
}
|
|
@@ -1782,7 +1779,7 @@
|
|
|
1782
1779
|
main: {
|
|
1783
1780
|
background: theme.colorScheme === 'dark' ? theme.colors.dark[8] : theme.colors.gray[0],
|
|
1784
1781
|
},
|
|
1785
|
-
}, padding: 0, fixed: true, header: profile && React.createElement(Header, { logo: props.logo, version: props.version, navbarToggle: toggleNavbar }), navbar: profile && navbarOpen ? (React.createElement(Navbar, { menus: props.menus, closeNavbar: closeNavbar, displayAddBookmark: props.displayAddBookmark })) : undefined },
|
|
1782
|
+
}, padding: 0, fixed: true, header: profile && React.createElement(Header, { logo: props.logo, version: props.version, navbarToggle: toggleNavbar }), navbar: profile && navbarOpen ? (React.createElement(Navbar, { pathname: props.pathname, searchParams: props.searchParams, menus: props.menus, closeNavbar: closeNavbar, displayAddBookmark: props.displayAddBookmark })) : undefined },
|
|
1786
1783
|
React.createElement(ErrorBoundary, null,
|
|
1787
1784
|
React.createElement(React.Suspense, { fallback: React.createElement(Loading, null) }, props.children))));
|
|
1788
1785
|
}
|
|
@@ -4000,6 +3997,20 @@
|
|
|
4000
3997
|
return React.createElement(ResourcePropertyDisplay, { value: value[0] || '', propertyType: props.propertyType });
|
|
4001
3998
|
}
|
|
4002
3999
|
|
|
4000
|
+
function SearchExportDialog(props) {
|
|
4001
|
+
return (React.createElement(core$1.Modal, { title: "Export", closeButtonProps: { 'aria-label': 'Close' }, opened: props.visible, onClose: props.onCancel },
|
|
4002
|
+
React.createElement(core$1.Box, { display: "flex", sx: { justifyContent: 'space-between' } },
|
|
4003
|
+
props.exportCsv && React.createElement(ExportButton, { text: "CSV", exportLogic: props.exportCsv, onCancel: props.onCancel }),
|
|
4004
|
+
props.exportTransactionBundle && (React.createElement(ExportButton, { text: "Transaction Bundle", exportLogic: props.exportTransactionBundle, onCancel: props.onCancel }))),
|
|
4005
|
+
React.createElement(core$1.Text, { sx: { marginTop: '10px', marginLeft: '2px' } }, "Limited to 1000 records")));
|
|
4006
|
+
}
|
|
4007
|
+
function ExportButton(props) {
|
|
4008
|
+
return (React.createElement(core$1.Button, { onClick: () => {
|
|
4009
|
+
props.exportLogic();
|
|
4010
|
+
props.onCancel();
|
|
4011
|
+
} }, `Export as ${props.text}`));
|
|
4012
|
+
}
|
|
4013
|
+
|
|
4003
4014
|
const searchParamToOperators = {
|
|
4004
4015
|
string: [core.Operator.EQUALS, core.Operator.NOT, core.Operator.CONTAINS, core.Operator.EXACT],
|
|
4005
4016
|
fulltext: [core.Operator.EQUALS, core.Operator.NOT, core.Operator.CONTAINS, core.Operator.EXACT],
|
|
@@ -5029,20 +5040,6 @@
|
|
|
5029
5040
|
return { name };
|
|
5030
5041
|
}
|
|
5031
5042
|
|
|
5032
|
-
function SearchExportDialog(props) {
|
|
5033
|
-
return (React.createElement(core$1.Modal, { title: "Export", closeButtonProps: { 'aria-label': 'Close' }, opened: props.visible, onClose: props.onCancel },
|
|
5034
|
-
React.createElement(core$1.Box, { display: "flex", sx: { justifyContent: 'space-between' } },
|
|
5035
|
-
props.exportCsv && React.createElement(ExportButton, { text: "CSV", exportLogic: props.exportCsv, onCancel: props.onCancel }),
|
|
5036
|
-
props.exportTransactionBundle && (React.createElement(ExportButton, { text: "Transaction Bundle", exportLogic: props.exportTransactionBundle, onCancel: props.onCancel }))),
|
|
5037
|
-
React.createElement(core$1.Text, { sx: { marginTop: '10px', marginLeft: '2px' } }, "Limited to 1000 records")));
|
|
5038
|
-
}
|
|
5039
|
-
function ExportButton(props) {
|
|
5040
|
-
return (React.createElement(core$1.Button, { onClick: () => {
|
|
5041
|
-
props.exportLogic();
|
|
5042
|
-
props.onCancel();
|
|
5043
|
-
} }, `Export as ${props.text}`));
|
|
5044
|
-
}
|
|
5045
|
-
|
|
5046
5043
|
class SearchChangeEvent extends Event {
|
|
5047
5044
|
constructor(definition) {
|
|
5048
5045
|
super('change');
|
|
@@ -5116,7 +5113,7 @@
|
|
|
5116
5113
|
React.useEffect(() => {
|
|
5117
5114
|
setOutcome(undefined);
|
|
5118
5115
|
medplum
|
|
5119
|
-
.search(search.resourceType, core.formatSearchQuery({ ...search, total: '
|
|
5116
|
+
.search(search.resourceType, core.formatSearchQuery({ ...search, total: 'estimate', fields: undefined }))
|
|
5120
5117
|
.then((response) => {
|
|
5121
5118
|
setState({ ...stateRef.current, searchResponse: response });
|
|
5122
5119
|
if (onLoad) {
|
|
@@ -7192,9 +7189,9 @@
|
|
|
7192
7189
|
}
|
|
7193
7190
|
if (typeof window !== 'undefined') {
|
|
7194
7191
|
const origin = window.location.protocol + '//' + window.location.host;
|
|
7195
|
-
const authorizedOrigins = "
|
|
7192
|
+
const authorizedOrigins = "http://localhost:3000,http://127.0.0.1:3000,http://localhost:6006,http://127.0.0.1:6006,https://app.medplum.com,https://docs.medplum.com,https://storybook.medplum.com,https://graphiql.medplum.com,https://www.medplum.com"?.split(',') ?? [];
|
|
7196
7193
|
if (authorizedOrigins.includes(origin)) {
|
|
7197
|
-
return "
|
|
7194
|
+
return "921088377005-3j1sa10vr6hj86jgmdfh2l53v3mp7lfi.apps.googleusercontent.com";
|
|
7198
7195
|
}
|
|
7199
7196
|
}
|
|
7200
7197
|
return undefined;
|