@medplum/react 2.0.13 → 2.0.15

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.
Files changed (91) hide show
  1. package/dist/cjs/index.cjs +72 -44
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/cjs/index.min.cjs +1 -1
  4. package/dist/esm/ResourceInput/ResourceInput.mjs +1 -1
  5. package/dist/esm/ResourceInput/ResourceInput.mjs.map +1 -1
  6. package/dist/esm/SearchControl/SearchControl.mjs +12 -1
  7. package/dist/esm/SearchControl/SearchControl.mjs.map +1 -1
  8. package/dist/esm/SearchExportDialog/SearchExportDialog.mjs +19 -0
  9. package/dist/esm/SearchExportDialog/SearchExportDialog.mjs.map +1 -0
  10. package/dist/esm/auth/AuthenticationForm.mjs +1 -1
  11. package/dist/esm/auth/AuthenticationForm.mjs.map +1 -1
  12. package/dist/esm/index.min.mjs +1 -1
  13. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs +1 -1
  14. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/createReactComponent.mjs.map +1 -1
  15. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.mjs +1 -1
  16. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.mjs.map +1 -1
  17. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconAdjustmentsHorizontal.mjs +1 -1
  18. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconAdjustmentsHorizontal.mjs.map +1 -1
  19. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertCircle.mjs +1 -1
  20. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertCircle.mjs.map +1 -1
  21. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBleach.mjs +1 -1
  22. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBleach.mjs.map +1 -1
  23. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBleachOff.mjs +1 -1
  24. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBleachOff.mjs.map +1 -1
  25. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBoxMultiple.mjs +1 -1
  26. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBoxMultiple.mjs.map +1 -1
  27. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBracketsContain.mjs +1 -1
  28. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBracketsContain.mjs.map +1 -1
  29. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBucket.mjs +1 -1
  30. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBucket.mjs.map +1 -1
  31. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBucketOff.mjs +1 -1
  32. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconBucketOff.mjs.map +1 -1
  33. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCalendar.mjs +1 -1
  34. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCalendar.mjs.map +1 -1
  35. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.mjs +1 -1
  36. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.mjs.map +1 -1
  37. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCheckbox.mjs +1 -1
  38. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCheckbox.mjs.map +1 -1
  39. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCircleMinus.mjs +1 -1
  40. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCircleMinus.mjs.map +1 -1
  41. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCirclePlus.mjs +1 -1
  42. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCirclePlus.mjs.map +1 -1
  43. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCloudUpload.mjs +1 -1
  44. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCloudUpload.mjs.map +1 -1
  45. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconColumns.mjs +1 -1
  46. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconColumns.mjs.map +1 -1
  47. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCurrencyDollar.mjs +1 -1
  48. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconCurrencyDollar.mjs.map +1 -1
  49. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconDots.mjs +1 -1
  50. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconDots.mjs.map +1 -1
  51. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEdit.mjs +1 -1
  52. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEdit.mjs.map +1 -1
  53. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEqual.mjs +1 -1
  54. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEqual.mjs.map +1 -1
  55. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEqualNot.mjs +1 -1
  56. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconEqualNot.mjs.map +1 -1
  57. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFileAlert.mjs +1 -1
  58. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFileAlert.mjs.map +1 -1
  59. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFilePlus.mjs +1 -1
  60. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFilePlus.mjs.map +1 -1
  61. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFilter.mjs +2 -2
  62. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconFilter.mjs.map +1 -1
  63. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconListDetails.mjs +1 -1
  64. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconListDetails.mjs.map +1 -1
  65. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMathGreater.mjs +1 -1
  66. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMathGreater.mjs.map +1 -1
  67. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMathLower.mjs +1 -1
  68. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMathLower.mjs.map +1 -1
  69. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMessage.mjs +1 -1
  70. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconMessage.mjs.map +1 -1
  71. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPin.mjs +1 -1
  72. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPin.mjs.map +1 -1
  73. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPinnedOff.mjs +1 -1
  74. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconPinnedOff.mjs.map +1 -1
  75. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSettings.mjs +1 -1
  76. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSettings.mjs.map +1 -1
  77. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSortAscending.mjs +1 -1
  78. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSortAscending.mjs.map +1 -1
  79. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSortDescending.mjs +1 -1
  80. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSortDescending.mjs.map +1 -1
  81. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSquare.mjs +1 -1
  82. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconSquare.mjs.map +1 -1
  83. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconTableExport.mjs +7 -3
  84. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconTableExport.mjs.map +1 -1
  85. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.mjs +1 -1
  86. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.mjs.map +1 -1
  87. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconX.mjs +1 -1
  88. package/dist/esm/node_modules/@tabler/icons-react/dist/esm/icons/IconX.mjs.map +1 -1
  89. package/dist/types/SearchControl/SearchControl.d.ts +2 -0
  90. package/dist/types/SearchExportDialog/SearchExportDialog.d.ts +15 -0
  91. package/package.json +17 -18
@@ -315,7 +315,7 @@
315
315
  }
316
316
 
317
317
  /**
318
- * @tabler/icons-react v2.11.0 - MIT
318
+ * @tabler/icons-react v2.14.0 - MIT
319
319
  */
320
320
 
321
321
  var defaultAttributes = {
@@ -331,7 +331,7 @@
331
331
  };
332
332
 
333
333
  /**
334
- * @tabler/icons-react v2.11.0 - MIT
334
+ * @tabler/icons-react v2.14.0 - MIT
335
335
  */
336
336
 
337
337
  var __defProp = Object.defineProperty;
@@ -394,7 +394,7 @@
394
394
  };
395
395
 
396
396
  /**
397
- * @tabler/icons-react v2.11.0 - MIT
397
+ * @tabler/icons-react v2.14.0 - MIT
398
398
  */
399
399
 
400
400
  var IconAdjustmentsHorizontal = createReactComponent(
@@ -414,7 +414,7 @@
414
414
  );
415
415
 
416
416
  /**
417
- * @tabler/icons-react v2.11.0 - MIT
417
+ * @tabler/icons-react v2.14.0 - MIT
418
418
  */
419
419
 
420
420
  var IconAlertCircle = createReactComponent("alert-circle", "IconAlertCircle", [
@@ -424,7 +424,7 @@
424
424
  ]);
425
425
 
426
426
  /**
427
- * @tabler/icons-react v2.11.0 - MIT
427
+ * @tabler/icons-react v2.14.0 - MIT
428
428
  */
429
429
 
430
430
  var IconBleachOff = createReactComponent("bleach-off", "IconBleachOff", [
@@ -439,7 +439,7 @@
439
439
  ]);
440
440
 
441
441
  /**
442
- * @tabler/icons-react v2.11.0 - MIT
442
+ * @tabler/icons-react v2.14.0 - MIT
443
443
  */
444
444
 
445
445
  var IconBleach = createReactComponent("bleach", "IconBleach", [
@@ -453,7 +453,7 @@
453
453
  ]);
454
454
 
455
455
  /**
456
- * @tabler/icons-react v2.11.0 - MIT
456
+ * @tabler/icons-react v2.14.0 - MIT
457
457
  */
458
458
 
459
459
  var IconBoxMultiple = createReactComponent("box-multiple", "IconBoxMultiple", [
@@ -474,7 +474,7 @@
474
474
  ]);
475
475
 
476
476
  /**
477
- * @tabler/icons-react v2.11.0 - MIT
477
+ * @tabler/icons-react v2.14.0 - MIT
478
478
  */
479
479
 
480
480
  var IconBracketsContain = createReactComponent("brackets-contain", "IconBracketsContain", [
@@ -486,7 +486,7 @@
486
486
  ]);
487
487
 
488
488
  /**
489
- * @tabler/icons-react v2.11.0 - MIT
489
+ * @tabler/icons-react v2.14.0 - MIT
490
490
  */
491
491
 
492
492
  var IconBucketOff = createReactComponent("bucket-off", "IconBucketOff", [
@@ -508,7 +508,7 @@
508
508
  ]);
509
509
 
510
510
  /**
511
- * @tabler/icons-react v2.11.0 - MIT
511
+ * @tabler/icons-react v2.14.0 - MIT
512
512
  */
513
513
 
514
514
  var IconBucket = createReactComponent("bucket", "IconBucket", [
@@ -523,7 +523,7 @@
523
523
  ]);
524
524
 
525
525
  /**
526
- * @tabler/icons-react v2.11.0 - MIT
526
+ * @tabler/icons-react v2.14.0 - MIT
527
527
  */
528
528
 
529
529
  var IconCalendar = createReactComponent("calendar", "IconCalendar", [
@@ -542,7 +542,7 @@
542
542
  ]);
543
543
 
544
544
  /**
545
- * @tabler/icons-react v2.11.0 - MIT
545
+ * @tabler/icons-react v2.14.0 - MIT
546
546
  */
547
547
 
548
548
  var IconCheck = createReactComponent("check", "IconCheck", [
@@ -550,7 +550,7 @@
550
550
  ]);
551
551
 
552
552
  /**
553
- * @tabler/icons-react v2.11.0 - MIT
553
+ * @tabler/icons-react v2.14.0 - MIT
554
554
  */
555
555
 
556
556
  var IconCheckbox = createReactComponent("checkbox", "IconCheckbox", [
@@ -565,7 +565,7 @@
565
565
  ]);
566
566
 
567
567
  /**
568
- * @tabler/icons-react v2.11.0 - MIT
568
+ * @tabler/icons-react v2.14.0 - MIT
569
569
  */
570
570
 
571
571
  var IconCircleMinus = createReactComponent("circle-minus", "IconCircleMinus", [
@@ -574,7 +574,7 @@
574
574
  ]);
575
575
 
576
576
  /**
577
- * @tabler/icons-react v2.11.0 - MIT
577
+ * @tabler/icons-react v2.14.0 - MIT
578
578
  */
579
579
 
580
580
  var IconCirclePlus = createReactComponent("circle-plus", "IconCirclePlus", [
@@ -584,7 +584,7 @@
584
584
  ]);
585
585
 
586
586
  /**
587
- * @tabler/icons-react v2.11.0 - MIT
587
+ * @tabler/icons-react v2.14.0 - MIT
588
588
  */
589
589
 
590
590
  var IconCloudUpload = createReactComponent("cloud-upload", "IconCloudUpload", [
@@ -600,7 +600,7 @@
600
600
  ]);
601
601
 
602
602
  /**
603
- * @tabler/icons-react v2.11.0 - MIT
603
+ * @tabler/icons-react v2.14.0 - MIT
604
604
  */
605
605
 
606
606
  var IconColumns = createReactComponent("columns", "IconColumns", [
@@ -615,7 +615,7 @@
615
615
  ]);
616
616
 
617
617
  /**
618
- * @tabler/icons-react v2.11.0 - MIT
618
+ * @tabler/icons-react v2.14.0 - MIT
619
619
  */
620
620
 
621
621
  var IconCurrencyDollar = createReactComponent("currency-dollar", "IconCurrencyDollar", [
@@ -630,7 +630,7 @@
630
630
  ]);
631
631
 
632
632
  /**
633
- * @tabler/icons-react v2.11.0 - MIT
633
+ * @tabler/icons-react v2.14.0 - MIT
634
634
  */
635
635
 
636
636
  var IconDots = createReactComponent("dots", "IconDots", [
@@ -640,7 +640,7 @@
640
640
  ]);
641
641
 
642
642
  /**
643
- * @tabler/icons-react v2.11.0 - MIT
643
+ * @tabler/icons-react v2.14.0 - MIT
644
644
  */
645
645
 
646
646
  var IconEdit = createReactComponent("edit", "IconEdit", [
@@ -662,7 +662,7 @@
662
662
  ]);
663
663
 
664
664
  /**
665
- * @tabler/icons-react v2.11.0 - MIT
665
+ * @tabler/icons-react v2.14.0 - MIT
666
666
  */
667
667
 
668
668
  var IconEqualNot = createReactComponent("equal-not", "IconEqualNot", [
@@ -672,7 +672,7 @@
672
672
  ]);
673
673
 
674
674
  /**
675
- * @tabler/icons-react v2.11.0 - MIT
675
+ * @tabler/icons-react v2.14.0 - MIT
676
676
  */
677
677
 
678
678
  var IconEqual = createReactComponent("equal", "IconEqual", [
@@ -681,7 +681,7 @@
681
681
  ]);
682
682
 
683
683
  /**
684
- * @tabler/icons-react v2.11.0 - MIT
684
+ * @tabler/icons-react v2.14.0 - MIT
685
685
  */
686
686
 
687
687
  var IconFileAlert = createReactComponent("file-alert", "IconFileAlert", [
@@ -698,7 +698,7 @@
698
698
  ]);
699
699
 
700
700
  /**
701
- * @tabler/icons-react v2.11.0 - MIT
701
+ * @tabler/icons-react v2.14.0 - MIT
702
702
  */
703
703
 
704
704
  var IconFilePlus = createReactComponent("file-plus", "IconFilePlus", [
@@ -715,21 +715,21 @@
715
715
  ]);
716
716
 
717
717
  /**
718
- * @tabler/icons-react v2.11.0 - MIT
718
+ * @tabler/icons-react v2.14.0 - MIT
719
719
  */
720
720
 
721
721
  var IconFilter = createReactComponent("filter", "IconFilter", [
722
722
  [
723
723
  "path",
724
724
  {
725
- d: "M5.5 5h13a1 1 0 0 1 .5 1.5l-5 5.5l0 7l-4 -3l0 -4l-5 -5.5a1 1 0 0 1 .5 -1.5",
725
+ d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z",
726
726
  key: "svg-0"
727
727
  }
728
728
  ]
729
729
  ]);
730
730
 
731
731
  /**
732
- * @tabler/icons-react v2.11.0 - MIT
732
+ * @tabler/icons-react v2.14.0 - MIT
733
733
  */
734
734
 
735
735
  var IconListDetails = createReactComponent("list-details", "IconListDetails", [
@@ -754,7 +754,7 @@
754
754
  ]);
755
755
 
756
756
  /**
757
- * @tabler/icons-react v2.11.0 - MIT
757
+ * @tabler/icons-react v2.14.0 - MIT
758
758
  */
759
759
 
760
760
  var IconMathGreater = createReactComponent("math-greater", "IconMathGreater", [
@@ -762,7 +762,7 @@
762
762
  ]);
763
763
 
764
764
  /**
765
- * @tabler/icons-react v2.11.0 - MIT
765
+ * @tabler/icons-react v2.14.0 - MIT
766
766
  */
767
767
 
768
768
  var IconMathLower = createReactComponent("math-lower", "IconMathLower", [
@@ -770,7 +770,7 @@
770
770
  ]);
771
771
 
772
772
  /**
773
- * @tabler/icons-react v2.11.0 - MIT
773
+ * @tabler/icons-react v2.14.0 - MIT
774
774
  */
775
775
 
776
776
  var IconMessage = createReactComponent("message", "IconMessage", [
@@ -786,7 +786,7 @@
786
786
  ]);
787
787
 
788
788
  /**
789
- * @tabler/icons-react v2.11.0 - MIT
789
+ * @tabler/icons-react v2.14.0 - MIT
790
790
  */
791
791
 
792
792
  var IconPin = createReactComponent("pin", "IconPin", [
@@ -802,7 +802,7 @@
802
802
  ]);
803
803
 
804
804
  /**
805
- * @tabler/icons-react v2.11.0 - MIT
805
+ * @tabler/icons-react v2.14.0 - MIT
806
806
  */
807
807
 
808
808
  var IconPinnedOff = createReactComponent("pinned-off", "IconPinnedOff", [
@@ -819,7 +819,7 @@
819
819
  ]);
820
820
 
821
821
  /**
822
- * @tabler/icons-react v2.11.0 - MIT
822
+ * @tabler/icons-react v2.14.0 - MIT
823
823
  */
824
824
 
825
825
  var IconSettings = createReactComponent("settings", "IconSettings", [
@@ -834,7 +834,7 @@
834
834
  ]);
835
835
 
836
836
  /**
837
- * @tabler/icons-react v2.11.0 - MIT
837
+ * @tabler/icons-react v2.14.0 - MIT
838
838
  */
839
839
 
840
840
  var IconSortAscending = createReactComponent("sort-ascending", "IconSortAscending", [
@@ -846,7 +846,7 @@
846
846
  ]);
847
847
 
848
848
  /**
849
- * @tabler/icons-react v2.11.0 - MIT
849
+ * @tabler/icons-react v2.14.0 - MIT
850
850
  */
851
851
 
852
852
  var IconSortDescending = createReactComponent("sort-descending", "IconSortDescending", [
@@ -858,7 +858,7 @@
858
858
  ]);
859
859
 
860
860
  /**
861
- * @tabler/icons-react v2.11.0 - MIT
861
+ * @tabler/icons-react v2.14.0 - MIT
862
862
  */
863
863
 
864
864
  var IconSquare = createReactComponent("square", "IconSquare", [
@@ -872,21 +872,25 @@
872
872
  ]);
873
873
 
874
874
  /**
875
- * @tabler/icons-react v2.11.0 - MIT
875
+ * @tabler/icons-react v2.14.0 - MIT
876
876
  */
877
877
 
878
878
  var IconTableExport = createReactComponent("table-export", "IconTableExport", [
879
879
  [
880
880
  "path",
881
881
  {
882
- d: "M11.5 20h-5.5a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v7.5m-16 -3.5h16m-10 -6v16m4 -1h7m-3 -3l3 3l-3 3",
882
+ d: "M12.5 21h-7.5a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v7.5",
883
883
  key: "svg-0"
884
884
  }
885
- ]
885
+ ],
886
+ ["path", { d: "M3 10h18", key: "svg-1" }],
887
+ ["path", { d: "M10 3v18", key: "svg-2" }],
888
+ ["path", { d: "M16 19h6", key: "svg-3" }],
889
+ ["path", { d: "M19 16l3 3l-3 3", key: "svg-4" }]
886
890
  ]);
887
891
 
888
892
  /**
889
- * @tabler/icons-react v2.11.0 - MIT
893
+ * @tabler/icons-react v2.14.0 - MIT
890
894
  */
891
895
 
892
896
  var IconTrash = createReactComponent("trash", "IconTrash", [
@@ -901,7 +905,7 @@
901
905
  ]);
902
906
 
903
907
  /**
904
- * @tabler/icons-react v2.11.0 - MIT
908
+ * @tabler/icons-react v2.14.0 - MIT
905
909
  */
906
910
 
907
911
  var IconX = createReactComponent("x", "IconX", [
@@ -1432,7 +1436,7 @@
1432
1436
  React.createElement(core$1.Divider, { label: "or", labelPosition: "center", my: "lg" }))),
1433
1437
  React.createElement(core$1.TextInput, { name: "email", type: "email", label: "Email", placeholder: "name@domain.com", required: true, autoFocus: true }),
1434
1438
  React.createElement(core$1.Group, { position: "apart", mt: "xl", spacing: 0, noWrap: true },
1435
- onRegister && (React.createElement(core$1.Anchor, { component: "button", type: "button", color: "dimmed", onClick: onRegister, size: "xs" }, "Register")),
1439
+ React.createElement("div", null, onRegister && (React.createElement(core$1.Anchor, { component: "button", type: "button", color: "dimmed", onClick: onRegister, size: "xs" }, "Register"))),
1436
1440
  React.createElement(core$1.Button, { type: "submit" }, "Next"))));
1437
1441
  }
1438
1442
  function PasswordForm(props) {
@@ -2578,7 +2582,7 @@
2578
2582
  props.onChange(item.resource);
2579
2583
  }
2580
2584
  }
2581
- return (React.createElement(core$1.Autocomplete, { itemComponent: ItemComponent, value: value, data: data, placeholder: props.placeholder, onFocus: () => loadValues(value), onChange: handleChange, onItemSubmit: handleSelect, rightSection: loading ? React.createElement(core$1.Loader, { size: 16 }) : null }));
2585
+ return (React.createElement(core$1.Autocomplete, { name: props.name, itemComponent: ItemComponent, value: value, data: data, placeholder: props.placeholder, onFocus: () => loadValues(value), onChange: handleChange, onItemSubmit: handleSelect, rightSection: loading ? React.createElement(core$1.Loader, { size: 16 }) : null }));
2582
2586
  }
2583
2587
  const ItemComponent = React.forwardRef(({ value, resource, ...others }, ref) => {
2584
2588
  return (React.createElement("div", { ref: ref, ...others },
@@ -4852,6 +4856,20 @@
4852
4856
  return { name };
4853
4857
  }
4854
4858
 
4859
+ function SearchExportDialog(props) {
4860
+ return (React.createElement(core$1.Modal, { title: "Export", closeButtonProps: { 'aria-label': 'Close' }, opened: props.visible, onClose: props.onCancel },
4861
+ React.createElement(core$1.Box, { display: "flex", sx: { justifyContent: 'space-between' } },
4862
+ props.exportCsv && React.createElement(ExportButton, { text: "CSV", exportLogic: props.exportCsv, onCancel: props.onCancel }),
4863
+ props.exportTransactionBundle && (React.createElement(ExportButton, { text: "Transaction Bundle", exportLogic: props.exportTransactionBundle, onCancel: props.onCancel }))),
4864
+ React.createElement(core$1.Text, { sx: { marginTop: '10px', marginLeft: '2px' } }, "Limited to 1000 records")));
4865
+ }
4866
+ function ExportButton(props) {
4867
+ return (React.createElement(core$1.Button, { onClick: () => {
4868
+ props.exportLogic();
4869
+ props.onCancel();
4870
+ } }, `Export as ${props.text}`));
4871
+ }
4872
+
4855
4873
  class SearchChangeEvent extends Event {
4856
4874
  constructor(definition) {
4857
4875
  super('change');
@@ -4917,6 +4935,7 @@
4917
4935
  selected: {},
4918
4936
  fieldEditorVisible: false,
4919
4937
  filterEditorVisible: false,
4938
+ exportDialogVisible: false,
4920
4939
  filterDialogVisible: false,
4921
4940
  });
4922
4941
  const stateRef = React.useRef(state);
@@ -5008,6 +5027,9 @@
5008
5027
  props.onAuxClick(new SearchClickEvent(resource, e));
5009
5028
  }
5010
5029
  }
5030
+ function isExportPassed() {
5031
+ return !!(props.onExport || props.onExportCsv || props.onExportTransactionBundle);
5032
+ }
5011
5033
  React.useEffect(() => {
5012
5034
  setSchemaLoaded(false);
5013
5035
  medplum
@@ -5036,7 +5058,7 @@
5036
5058
  React.createElement(core$1.Button, { compact: true, variant: buttonVariant, color: buttonColor, leftIcon: React.createElement(IconFilter, { size: iconSize }), onClick: () => setState({ ...stateRef.current, fieldEditorVisible: true }) }, "Fields"),
5037
5059
  React.createElement(core$1.Button, { compact: true, variant: buttonVariant, color: buttonColor, leftIcon: React.createElement(IconColumns, { size: iconSize }), onClick: () => setState({ ...stateRef.current, filterEditorVisible: true }) }, "Filters"),
5038
5060
  props.onNew && (React.createElement(core$1.Button, { compact: true, variant: buttonVariant, color: buttonColor, leftIcon: React.createElement(IconFilePlus, { size: iconSize }), onClick: props.onNew }, "New...")),
5039
- !isMobile && props.onExport && (React.createElement(core$1.Button, { compact: true, variant: buttonVariant, color: buttonColor, leftIcon: React.createElement(IconTableExport, { size: iconSize }), onClick: props.onExport }, "Export...")),
5061
+ !isMobile && isExportPassed() && (React.createElement(core$1.Button, { compact: true, variant: buttonVariant, color: buttonColor, leftIcon: React.createElement(IconTableExport, { size: iconSize }), onClick: props.onExport ? props.onExport : () => setState({ ...stateRef.current, exportDialogVisible: true }) }, "Export...")),
5040
5062
  !isMobile && props.onDelete && (React.createElement(core$1.Button, { compact: true, variant: buttonVariant, color: buttonColor, leftIcon: React.createElement(IconTrash, { size: iconSize }), onClick: () => props.onDelete(Object.keys(state.selected)) }, "Delete...")),
5041
5063
  !isMobile && props.onBulk && (React.createElement(core$1.Button, { compact: true, variant: buttonVariant, color: buttonColor, leftIcon: React.createElement(IconBoxMultiple, { size: iconSize }), onClick: () => props.onBulk(Object.keys(state.selected)) }, "Bulk..."))),
5042
5064
  lastResult && (React.createElement(core$1.Text, { size: "xs", color: "dimmed" },
@@ -5116,6 +5138,12 @@
5116
5138
  filterEditorVisible: false,
5117
5139
  });
5118
5140
  } }),
5141
+ React.createElement(SearchExportDialog, { visible: stateRef.current.exportDialogVisible, exportCsv: props.onExportCsv, exportTransactionBundle: props.onExportTransactionBundle, onCancel: () => {
5142
+ setState({
5143
+ ...stateRef.current,
5144
+ exportDialogVisible: false,
5145
+ });
5146
+ } }),
5119
5147
  React.createElement(SearchFilterValueDialog, { key: state.filterDialogSearchParam?.code, visible: stateRef.current.filterDialogVisible, title: 'Input', resourceType: resourceType, searchParam: state.filterDialogSearchParam, filter: state.filterDialogFilter, defaultValue: '', onOk: (filter) => {
5120
5148
  emitSearchChange(addFilter(props.search, filter.code, filter.operator, filter.value));
5121
5149
  setState({