@abihealth/goapp-react-native 1.13.22 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/common/animations/FindingAnimation/index.js +2 -2
  3. package/dist/common/animations/FindingAnimation/xml.d.ts +1 -2
  4. package/dist/common/animations/FindingAnimation/xml.js +2 -2
  5. package/dist/common/animations/HorizontalLoadingAnimation/index.d.ts +5 -2
  6. package/dist/common/animations/HorizontalLoadingAnimation/index.js +5 -2
  7. package/dist/common/animations/HorizontalLoadingAnimation/xml.d.ts +2 -1
  8. package/dist/common/animations/HorizontalLoadingAnimation/xml.js +4 -1
  9. package/dist/common/animations/LoadingCircleAnimation/index.js +2 -2
  10. package/dist/common/animations/LoadingCircleAnimation/xml.d.ts +1 -2
  11. package/dist/common/animations/LoadingCircleAnimation/xml.js +1 -1
  12. package/dist/common/animations/LoadingHeart.js +2 -2
  13. package/dist/common/api/models/consultation.d.ts +2 -2
  14. package/dist/common/components/ActionSheet.js +2 -2
  15. package/dist/common/components/AnswerScreen/Card.js +1 -1
  16. package/dist/common/components/AnswerScreen/DeliveryAddressCard.js +12 -6
  17. package/dist/common/components/AnswerScreen/PrescriptionCard/PrescriptionCardHeader.js +1 -1
  18. package/dist/common/components/AnswerScreen/PrescriptionCard/index.js +12 -9
  19. package/dist/common/components/AnswerScreen/Summary.js +11 -7
  20. package/dist/common/components/BackgroundPattern.js +8 -1
  21. package/dist/common/components/Button.js +30 -13
  22. package/dist/common/components/Checkbox.js +5 -6
  23. package/dist/common/components/DateInput.js +7 -7
  24. package/dist/common/components/DoctorProfileCard.js +31 -18
  25. package/dist/common/components/FormControl.d.ts +2 -1
  26. package/dist/common/components/FormControl.js +14 -9
  27. package/dist/common/components/Header.js +3 -3
  28. package/dist/common/components/Input.js +10 -8
  29. package/dist/common/components/Modal/AttachmentPreviewModal.js +6 -6
  30. package/dist/common/components/Modal/DoctorProfileModal.js +4 -4
  31. package/dist/common/components/Modal/ModalHeader.js +11 -5
  32. package/dist/common/components/Modal/index.js +12 -5
  33. package/dist/common/components/PhoneInput.js +8 -8
  34. package/dist/common/components/Reminder.js +2 -2
  35. package/dist/common/components/Select.js +6 -6
  36. package/dist/common/components/Text.d.ts +1 -2
  37. package/dist/common/components/Text.js +28 -46
  38. package/dist/common/contexts/ConsultationContext.d.ts +5 -2
  39. package/dist/common/contexts/ConsultationContext.js +24 -14
  40. package/dist/common/contexts/ThemeContext.d.ts +6 -2
  41. package/dist/common/contexts/ThemeContext.js +4 -3
  42. package/dist/common/hooks/useCustomComponents.d.ts +2 -0
  43. package/dist/common/hooks/useCustomComponents.js +12 -0
  44. package/dist/common/hooks/useTheme.d.ts +2 -1
  45. package/dist/common/hooks/useTheme.js +33 -16
  46. package/dist/common/hooks/useUser.d.ts +2 -0
  47. package/dist/common/hooks/useUser.js +2 -2
  48. package/dist/common/icons/AbiLogoIcon.js +2 -2
  49. package/dist/common/icons/BackArrowIcon.js +2 -2
  50. package/dist/common/icons/CloseIcon.js +2 -2
  51. package/dist/common/icons/DoctorIcon.js +3 -3
  52. package/dist/common/icons/DoctorImagePlaceholderIcon.js +5 -5
  53. package/dist/common/icons/ExitIcon.js +5 -5
  54. package/dist/common/icons/InfoIcon.js +2 -2
  55. package/dist/common/icons/MotorbikeIcon.js +11 -11
  56. package/dist/common/icons/NoCaseFoundIcon.js +5 -5
  57. package/dist/common/icons/PdfDownloadIcon.js +11 -11
  58. package/dist/common/icons/PdfIcon.js +3 -3
  59. package/dist/common/icons/PersonIcon.js +2 -2
  60. package/dist/common/icons/PillsIcon.js +5 -5
  61. package/dist/common/icons/PlaneIcon.js +2 -2
  62. package/dist/common/icons/RatingIcon.js +6 -6
  63. package/dist/common/icons/StarIcon.js +2 -2
  64. package/dist/common/icons/TextConsultationIcon.js +3 -3
  65. package/dist/common/icons/TrashIcon.js +2 -2
  66. package/dist/common/icons/VideoConsultationIcon.js +2 -2
  67. package/dist/common/index.d.ts +2 -1
  68. package/dist/common/index.js +4 -2
  69. package/dist/common/screens/AnswerScreen.d.ts +2 -1
  70. package/dist/common/screens/AnswerScreen.js +12 -10
  71. package/dist/common/screens/MatchingScreen.js +5 -2
  72. package/dist/common/screens/RatingScreen.js +1 -1
  73. package/dist/common/types/components.d.ts +121 -0
  74. package/dist/common/types/components.js +2 -0
  75. package/dist/common/types/consultation.d.ts +7 -3
  76. package/dist/common/types/consultation.js +6 -1
  77. package/dist/common/types/theme.d.ts +54 -20
  78. package/dist/common/types/theme.js +13 -27
  79. package/dist/common/utils/professional.js +1 -1
  80. package/dist/index.d.ts +3 -2
  81. package/dist/index.js +5 -2
  82. package/dist/video-consultations/animations/CallingAnimation/index.js +2 -2
  83. package/dist/video-consultations/animations/CallingAnimation/xml.d.ts +1 -2
  84. package/dist/video-consultations/animations/CallingAnimation/xml.js +1 -1
  85. package/dist/video-consultations/components/AgoraWrapper/components/BaseRenderUsers.js +7 -7
  86. package/dist/video-consultations/components/AgoraWrapper/components/BtnControls.js +4 -6
  87. package/dist/video-consultations/components/AgoraWrapper/components/ui/index.js +5 -13
  88. package/dist/video-consultations/components/Modal/EndVideoCallModal.js +1 -1
  89. package/dist/video-consultations/components/VideoConsultation.d.ts +2 -1
  90. package/dist/video-consultations/components/VideoConsultation.js +7 -1
  91. package/dist/video-consultations/icons/EndVideoCallIcon.js +5 -5
  92. package/dist/video-consultations/icons/HangUpIcon.js +7 -3
  93. package/dist/video-consultations/icons/MicroOffIcon.js +3 -3
  94. package/dist/video-consultations/icons/MicroOnIcon.js +8 -4
  95. package/dist/video-consultations/icons/PersonIcon.js +2 -2
  96. package/dist/video-consultations/icons/SwitchCameraIcon.js +7 -3
  97. package/dist/video-consultations/icons/VideoOffIcon.js +4 -2
  98. package/dist/video-consultations/icons/VideoOnIcon.js +7 -3
  99. package/dist/video-consultations/screens/DeliveryAddressScreen.js +2 -2
  100. package/dist/video-consultations/screens/EndingVideoScreen.d.ts +1 -1
  101. package/dist/video-consultations/screens/EndingVideoScreen.js +1 -1
  102. package/dist/video-consultations/screens/JoinVideoCallScreen.js +12 -11
  103. package/dist/video-consultations/screens/ProcessingPrescriptionScreen.js +5 -3
  104. package/package.json +12 -12
@@ -35,7 +35,11 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  var React = __importStar(require("react"));
37
37
  var react_native_svg_1 = __importStar(require("react-native-svg"));
38
- var SwitchCameraIcon = function () { return (<react_native_svg_1.default width={39} height={39} fill="none">
39
- <react_native_svg_1.Path fill="#fff" d="M13.66 26.544a2.768 2.768 0 0 1-2.02-.83 2.712 2.712 0 0 1-.838-2v-8.428c0-.78.279-1.447.838-2a2.768 2.768 0 0 1 2.02-.83h1.4l1.152-1.14c.148-.147.308-.254.48-.322.173-.069.355-.103.545-.103h4.526c.19 0 .372.034.544.103.173.068.333.175.48.322l1.154 1.14h1.399c.788 0 1.462.277 2.02.83.56.553.838 1.22.838 2v8.428c0 .78-.279 1.447-.837 2a2.769 2.769 0 0 1-2.021.83H13.66Zm5.84-4.365c.748 0 1.386-.261 1.915-.784a2.568 2.568 0 0 0 .792-1.895c0-.74-.264-1.372-.792-1.895a2.622 2.622 0 0 0-1.915-.784c-.748 0-1.386.261-1.915.784a2.568 2.568 0 0 0-.792 1.895c0 .74.264 1.372.793 1.895a2.622 2.622 0 0 0 1.914.784Zm.03 15.321c-4.487 0-8.418-1.406-11.794-4.218-3.376-2.813-5.445-6.36-6.208-10.642a1.278 1.278 0 0 1 .173-.965c.185-.29.45-.456.797-.498.347-.043.646.048.898.272.251.224.406.507.465.85.645 3.588 2.339 6.575 5.082 8.961 2.744 2.386 5.98 3.668 9.711 3.844l-1.922-1.902a1.128 1.128 0 0 1-.336-.817 1.101 1.101 0 0 1 .336-.833c.23-.226.507-.34.834-.34.326 0 .604.114.833.34l4.839 4.79c.144.142.188.303.132.482a.462.462 0 0 1-.363.333c-.57.132-1.141.223-1.714.27a21.06 21.06 0 0 1-1.763.073Zm-.06-36c4.487 0 8.418 1.405 11.794 4.214 3.376 2.81 5.445 6.363 6.208 10.662.069.353.011.672-.174.957-.184.285-.45.448-.796.49a1.091 1.091 0 0 1-.898-.272 1.425 1.425 0 0 1-.465-.85c-.645-3.588-2.339-6.575-5.082-8.961s-5.98-3.667-9.711-3.844l1.922 1.902c.219.217.33.49.336.818a1.1 1.1 0 0 1-.336.832 1.14 1.14 0 0 1-.834.34c-.326 0-.604-.113-.833-.34l-4.839-4.79c-.144-.142-.188-.303-.132-.482a.462.462 0 0 1 .363-.333c.57-.132 1.141-.223 1.714-.27.573-.049 1.16-.073 1.763-.073Z"/>
40
- </react_native_svg_1.default>); };
38
+ var common_1 = require("../../common");
39
+ var SwitchCameraIcon = function () {
40
+ var palette = (0, common_1.useTheme)().palette;
41
+ return (<react_native_svg_1.default width={39} height={39} fill="none">
42
+ <react_native_svg_1.Path fill={palette.surface} d="M13.66 26.544a2.768 2.768 0 0 1-2.02-.83 2.712 2.712 0 0 1-.838-2v-8.428c0-.78.279-1.447.838-2a2.768 2.768 0 0 1 2.02-.83h1.4l1.152-1.14c.148-.147.308-.254.48-.322.173-.069.355-.103.545-.103h4.526c.19 0 .372.034.544.103.173.068.333.175.48.322l1.154 1.14h1.399c.788 0 1.462.277 2.02.83.56.553.838 1.22.838 2v8.428c0 .78-.279 1.447-.837 2a2.769 2.769 0 0 1-2.021.83H13.66Zm5.84-4.365c.748 0 1.386-.261 1.915-.784a2.568 2.568 0 0 0 .792-1.895c0-.74-.264-1.372-.792-1.895a2.622 2.622 0 0 0-1.915-.784c-.748 0-1.386.261-1.915.784a2.568 2.568 0 0 0-.792 1.895c0 .74.264 1.372.793 1.895a2.622 2.622 0 0 0 1.914.784Zm.03 15.321c-4.487 0-8.418-1.406-11.794-4.218-3.376-2.813-5.445-6.36-6.208-10.642a1.278 1.278 0 0 1 .173-.965c.185-.29.45-.456.797-.498.347-.043.646.048.898.272.251.224.406.507.465.85.645 3.588 2.339 6.575 5.082 8.961 2.744 2.386 5.98 3.668 9.711 3.844l-1.922-1.902a1.128 1.128 0 0 1-.336-.817 1.101 1.101 0 0 1 .336-.833c.23-.226.507-.34.834-.34.326 0 .604.114.833.34l4.839 4.79c.144.142.188.303.132.482a.462.462 0 0 1-.363.333c-.57.132-1.141.223-1.714.27a21.06 21.06 0 0 1-1.763.073Zm-.06-36c4.487 0 8.418 1.405 11.794 4.214 3.376 2.81 5.445 6.363 6.208 10.662.069.353.011.672-.174.957-.184.285-.45.448-.796.49a1.091 1.091 0 0 1-.898-.272 1.425 1.425 0 0 1-.465-.85c-.645-3.588-2.339-6.575-5.082-8.961s-5.98-3.667-9.711-3.844l1.922 1.902c.219.217.33.49.336.818a1.1 1.1 0 0 1-.336.832 1.14 1.14 0 0 1-.834.34c-.326 0-.604-.113-.833-.34l-4.839-4.79c-.144-.142-.188-.303-.132-.482a.462.462 0 0 1 .363-.333c.57-.132 1.141-.223 1.714-.27.573-.049 1.16-.073 1.763-.073Z"/>
43
+ </react_native_svg_1.default>);
44
+ };
41
45
  exports.default = SwitchCameraIcon;
@@ -35,10 +35,12 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  var React = __importStar(require("react"));
37
37
  var react_native_svg_1 = __importStar(require("react-native-svg"));
38
+ var common_1 = require("../../common");
38
39
  var VideoOffIcon = function (_a) {
39
40
  var _b = _a.size, size = _b === void 0 ? 38 : _b;
41
+ var palette = (0, common_1.useTheme)().palette;
40
42
  return (<react_native_svg_1.default width={size} height={size} fill="none" viewBox="0 0 38 38">
41
- <react_native_svg_1.Path fill="#fff" fillRule="evenodd" d="M6.498 4.284a1 1 0 1 0-1.396 1.432L9.495 10H6.1c-.8 0-1.6.6-1.6 1.5v15.4c0 .8.8 1.5 1.6 1.5h19.3c.74 0 1.48-.685 1.587-1.342l6.315 6.158a1 1 0 1 0 1.396-1.432l-28.2-27.5ZM27 21.6l6.4 6.2v-17L27 17v-5.4c0-.9-.8-1.5-1.6-1.5H14.7L26.9 22v-.4h.1Z" clipRule="evenodd"/>
42
- </react_native_svg_1.default>);
43
+ <react_native_svg_1.Path fill={palette.surface} fillRule="evenodd" d="M6.498 4.284a1 1 0 1 0-1.396 1.432L9.495 10H6.1c-.8 0-1.6.6-1.6 1.5v15.4c0 .8.8 1.5 1.6 1.5h19.3c.74 0 1.48-.685 1.587-1.342l6.315 6.158a1 1 0 1 0 1.396-1.432l-28.2-27.5ZM27 21.6l6.4 6.2v-17L27 17v-5.4c0-.9-.8-1.5-1.6-1.5H14.7L26.9 22v-.4h.1Z" clipRule="evenodd"/>
44
+ </react_native_svg_1.default>);
43
45
  };
44
46
  exports.default = VideoOffIcon;
@@ -35,7 +35,11 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  var React = __importStar(require("react"));
37
37
  var react_native_svg_1 = __importStar(require("react-native-svg"));
38
- var VideoOnIcon = function () { return (<react_native_svg_1.default width={39} height={38} fill="none">
39
- <react_native_svg_1.Path fill="#fff" d="M27.97 16.933v-5.392c0-.925-.803-1.541-1.606-1.541H7.104c-.802 0-1.604.616-1.604 1.54v15.408c0 .77.802 1.54 1.605 1.54h19.26c.802 0 1.604-.77 1.604-1.54v-5.392l6.42 6.162V10.77l-6.42 6.163Z"/>
40
- </react_native_svg_1.default>); };
38
+ var common_1 = require("../../common");
39
+ var VideoOnIcon = function () {
40
+ var palette = (0, common_1.useTheme)().palette;
41
+ return (<react_native_svg_1.default width={39} height={38} fill="none">
42
+ <react_native_svg_1.Path fill={palette.surface} d="M27.97 16.933v-5.392c0-.925-.803-1.541-1.606-1.541H7.104c-.802 0-1.604.616-1.604 1.54v15.408c0 .77.802 1.54 1.605 1.54h19.26c.802 0 1.604-.77 1.604-1.54v-5.392l6.42 6.162V10.77l-6.42 6.163Z"/>
43
+ </react_native_svg_1.default>);
44
+ };
41
45
  exports.default = VideoOnIcon;
@@ -40,16 +40,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
40
40
  };
41
41
  Object.defineProperty(exports, "__esModule", { value: true });
42
42
  exports.DeliveryAddressScreen = void 0;
43
+ var index_1 = require("../../common/index");
43
44
  var react_1 = __importDefault(require("react"));
44
45
  var react_native_1 = require("react-native");
45
- var index_1 = require("../../common/index");
46
46
  var DeliveryAddressScreen = function () {
47
47
  var t = (0, index_1.useTranslation)().t;
48
48
  var theme = (0, index_1.useTheme)();
49
49
  var styles = getStyles(theme);
50
50
  return (<index_1.ScreenWrapper header={<index_1.Header title={t('general.consultation.videoConsultation.title')} leftIcon={<index_1.VideoConsultationIcon />}/>} containerStyle={styles.container}>
51
51
  <react_native_1.View>
52
- <index_1.Text variant="h2" color={theme.colors.primary} center>
52
+ <index_1.Text variant="h2" center>
53
53
  {t('delivery.address.title')}
54
54
  </index_1.Text>
55
55
  <index_1.Text center>{t('delivery.address.description')}</index_1.Text>
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { Professional } from '../../common/index';
2
+ import React from 'react';
3
3
  export declare const EndingVideoScreen: ({ professional }: {
4
4
  professional: Professional;
5
5
  }) => React.JSX.Element;
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.EndingVideoScreen = void 0;
7
+ var index_1 = require("../../common/index");
7
8
  var react_1 = __importDefault(require("react"));
8
9
  var react_native_1 = require("react-native");
9
- var index_1 = require("../../common/index");
10
10
  var EndingVideoScreen = function (_a) {
11
11
  var professional = _a.professional;
12
12
  var t = (0, index_1.useTranslation)().t;
@@ -40,6 +40,7 @@ exports.JoinVideoCallScreen = void 0;
40
40
  var index_1 = require("../../common/index");
41
41
  var react_1 = __importStar(require("react"));
42
42
  var react_native_1 = require("react-native");
43
+ var useCustomComponents_1 = require("../../common/hooks/useCustomComponents");
43
44
  var CallingAnimation_1 = require("../animations/CallingAnimation");
44
45
  var VideoCallScreen_1 = __importDefault(require("./VideoCallScreen"));
45
46
  var JoinVideoCallScreen = function (_a) {
@@ -47,33 +48,33 @@ var JoinVideoCallScreen = function (_a) {
47
48
  var t = (0, index_1.useTranslation)().t;
48
49
  var theme = (0, index_1.useTheme)();
49
50
  var styles = getStyles(theme);
51
+ var screens = (0, useCustomComponents_1.useCustomComponents)().screens;
50
52
  var _b = (0, react_1.useState)(false), joined = _b[0], setJoined = _b[1];
53
+ var customComponents = screens === null || screens === void 0 ? void 0 : screens.JoinScreen;
51
54
  var onJoinVideoCall = function () {
52
55
  setJoined(true);
53
56
  };
54
57
  if (joined)
55
58
  return <VideoCallScreen_1.default />;
56
59
  return (<index_1.ScreenWrapper header={<index_1.Header title={t('general.consultation.videoConsultation.title')} leftIcon={<index_1.VideoConsultationIcon />} rightIcon={<index_1.CloseIcon />}/>} containerStyle={styles.container}>
57
- <index_1.Text variant="h2" color={theme.colors.primary} center>
60
+ <index_1.Text variant="h2" center>
58
61
  {t('video.calling.physician_female', { name: (0, index_1.getProfessionalLabel)(professional) })}
59
62
  </index_1.Text>
60
63
 
61
- <react_native_1.View style={styles.animationContainer}>
62
- <CallingAnimation_1.CallingAnimation />
63
- </react_native_1.View>
64
+ <react_native_1.View style={styles.animationContainer}>{(customComponents === null || customComponents === void 0 ? void 0 : customComponents.CallingAnimation) || <CallingAnimation_1.CallingAnimation />}</react_native_1.View>
64
65
 
65
- <index_1.Button icon={<index_1.VideoConsultationIcon />} onPress={onJoinVideoCall}>
66
- {t('video.calling.button')}
67
- </index_1.Button>
66
+ {(customComponents === null || customComponents === void 0 ? void 0 : customComponents.JoinCallButton) ? (<customComponents.JoinCallButton onPress={onJoinVideoCall}/>) : (<index_1.Button icon={<index_1.VideoConsultationIcon />} onPress={onJoinVideoCall}>
67
+ {t('video.calling.button')}
68
+ </index_1.Button>)}
68
69
 
69
- <react_native_1.View style={styles.disclaimerCard}>
70
+ <react_native_1.View style={[styles.disclaimerCard]}>
70
71
  <index_1.InfoIcon />
71
72
 
72
73
  <react_native_1.View style={styles.disclaimerInnerContainer}>
73
74
  <index_1.Text>{t('video.camera_and_microphone_access')}</index_1.Text>
74
75
 
75
76
  <react_native_1.TouchableOpacity activeOpacity={0.6}>
76
- <index_1.Text color={theme.colors.rating} bold>
77
+ <index_1.Text color={theme.palette.highlight} bold>
77
78
  {t('video.camera_and_microphone_access.highlight')}
78
79
  </index_1.Text>
79
80
  </react_native_1.TouchableOpacity>
@@ -85,7 +86,7 @@ var JoinVideoCallScreen = function (_a) {
85
86
  };
86
87
  exports.JoinVideoCallScreen = JoinVideoCallScreen;
87
88
  var getStyles = function (_a) {
88
- var colors = _a.colors, spacing = _a.spacing, borderRadius = _a.borderRadius;
89
+ var palette = _a.palette, spacing = _a.spacing, borderRadius = _a.borderRadius;
89
90
  return react_native_1.StyleSheet.create({
90
91
  container: {
91
92
  paddingTop: spacing.xl
@@ -94,7 +95,7 @@ var getStyles = function (_a) {
94
95
  disclaimerCard: {
95
96
  marginTop: spacing.sm,
96
97
  marginBottom: spacing.md,
97
- backgroundColor: colors.white,
98
+ backgroundColor: palette.white,
98
99
  padding: spacing.sm,
99
100
  borderRadius: borderRadius.md,
100
101
  flexDirection: 'row',
@@ -4,19 +4,21 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ProcessingPrescriptionScreen = void 0;
7
+ var index_1 = require("../../common/index");
7
8
  var react_1 = __importDefault(require("react"));
8
9
  var react_native_1 = require("react-native");
9
- var index_1 = require("../../common/index");
10
+ var useCustomComponents_1 = require("../../common/hooks/useCustomComponents");
10
11
  var ProcessingPrescriptionScreen = function () {
11
12
  var t = (0, index_1.useTranslation)().t;
12
13
  var theme = (0, index_1.useTheme)();
13
14
  var styles = getStyles(theme);
15
+ var ProcessingPrescriptionScreen = (0, useCustomComponents_1.useCustomComponents)().screens.ProcessingPrescriptionScreen;
14
16
  return (<index_1.ScreenWrapper header={<index_1.Header title={t('general.consultation.videoConsultation.title')} leftIcon={<index_1.VideoConsultationIcon />}/>} containerStyle={styles.container}>
15
- <index_1.Text center variant="h1" color={theme.colors.primary}>
17
+ <index_1.Text center variant="h1">
16
18
  {t('delivery.address.processing')}
17
19
  </index_1.Text>
18
20
 
19
- <index_1.LoadingCircleAnimation />
21
+ {(ProcessingPrescriptionScreen === null || ProcessingPrescriptionScreen === void 0 ? void 0 : ProcessingPrescriptionScreen.LoadingAnimation) || <index_1.LoadingCircleAnimation />}
20
22
 
21
23
  <index_1.Text center>{t('download.one_minute')}</index_1.Text>
22
24
  </index_1.ScreenWrapper>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abihealth/goapp-react-native",
3
- "version": "1.13.22",
3
+ "version": "1.14.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -14,16 +14,6 @@
14
14
  "main": "./dist/index.js",
15
15
  "types": "./dist/index.d.ts",
16
16
  "type": "module",
17
- "scripts": {
18
- "copy-assets:common": "mkdir -p dist/common/assets && cp -r src/common/assets dist/common || true",
19
- "copy-assets:video-consultations": "mkdir -p dist/video-consultations/assets && cp -r src/video-consultations/assets dist/video-consultations || true",
20
- "build": "rm -rf dist && pnpm copy-assets:common && pnpm copy-assets:video-consultations && tsc && tsc-alias",
21
- "build:watch": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w\"",
22
- "start": "pnpm build:watch",
23
- "start:ios": "pnpm start",
24
- "type-check": "tsc --noEmit",
25
- "lint": "eslint --fix"
26
- },
27
17
  "dependencies": {
28
18
  "@sentry/react-native": "^6.7.0",
29
19
  "axios": "^1.7.9",
@@ -54,5 +44,15 @@
54
44
  },
55
45
  "exports": {
56
46
  ".": "./dist/index.js"
47
+ },
48
+ "scripts": {
49
+ "copy-assets:common": "mkdir -p dist/common/assets && cp -r src/common/assets dist/common || true",
50
+ "copy-assets:video-consultations": "mkdir -p dist/video-consultations/assets && cp -r src/video-consultations/assets dist/video-consultations || true",
51
+ "build": "rm -rf dist && pnpm copy-assets:common && pnpm copy-assets:video-consultations && tsc && tsc-alias",
52
+ "build:watch": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w\"",
53
+ "start": "pnpm build:watch",
54
+ "start:ios": "pnpm start",
55
+ "type-check": "tsc --noEmit",
56
+ "lint": "eslint --fix"
57
57
  }
58
- }
58
+ }