@abihealth/goapp-react-native 1.13.6 → 1.13.7

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.
@@ -1,5 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ColorValue } from 'react-native';
3
- export declare const HorizontalLoadingAnimation: ({ color }: {
3
+ export interface HorizontalLoadingAnimationProps {
4
4
  color?: ColorValue;
5
- }) => React.JSX.Element;
5
+ width?: number;
6
+ height?: number;
7
+ }
8
+ export declare const HorizontalLoadingAnimation: ({ color, width, height }: HorizontalLoadingAnimationProps) => React.JSX.Element;
@@ -5,10 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.HorizontalLoadingAnimation = void 0;
7
7
  var react_1 = __importDefault(require("react"));
8
+ var react_native_1 = require("react-native");
8
9
  var Animation_1 = __importDefault(require("../Animation"));
9
10
  var xml_1 = require("./xml");
10
11
  var HorizontalLoadingAnimation = function (_a) {
11
- var color = _a.color;
12
- return <Animation_1.default source={(0, xml_1.getXml)(color)} width={200} height={200}/>;
12
+ var color = _a.color, _b = _a.width, width = _b === void 0 ? 120 : _b, _c = _a.height, height = _c === void 0 ? 40 : _c;
13
+ return (<react_native_1.View pointerEvents="none">
14
+ <Animation_1.default source={(0, xml_1.getXml)({ color: color, width: width, height: height })} width={width} height={height}/>
15
+ </react_native_1.View>);
13
16
  };
14
17
  exports.HorizontalLoadingAnimation = HorizontalLoadingAnimation;
@@ -1 +1,2 @@
1
- export declare const getXml: (color: string) => string;
1
+ import { HorizontalLoadingAnimationProps } from '.';
2
+ export declare const getXml: ({ color, width, height }: HorizontalLoadingAnimationProps) => string;
@@ -1,5 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getXml = void 0;
4
- var getXml = function (color) { return "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\">\n <circle fill=\"".concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\"0\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" opacity=\".8\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\"0.05\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" opacity=\".6\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\".1\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" opacity=\".4\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\".15\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" opacity=\".2\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\".2\"\n ></animate>\n </circle>\n</svg>"); };
4
+ var getXml = function (_a) {
5
+ var color = _a.color, width = _a.width, height = _a.height;
6
+ return "<svg\n\txmlns=\"http://www.w3.org/2000/svg\"\n\txmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"xMidYMid meet\" width=\"".concat(width, "\" height=\"").concat(height, "\" viewBox=\"0 0 120 40\" style=\"width:100%;height:100%\">\n\t<defs>\n\t\t<animateMotion repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_3_G\" fill=\"freeze\" keyTimes=\"0;0.244898;0.4897959;0.7346939;0.9795918;1\" path=\"M17.83 20 C17.83,20 101.83,20 101.83,20 C101.83,20 17.83,20 17.83,20 C17.83,20 101.83,20 101.83,20 C101.83,20 17.83,20 17.83,20 C17.83,20 17.83,20 17.83,20 \" keyPoints=\"0;0.25;0.5;0.75;1;1\" keySplines=\"0.183 0.358 0.357 1;0.183 0.358 0.357 1;0.167 0.327 0.357 1;0.183 0.358 0.357 1;0 0 0 0\" calcMode=\"spline\"/>\n\t\t<animateTransform repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_3_G\" fill=\"freeze\" attributeName=\"transform\" from=\"84.366 -3.2\" to=\"84.366 -3.2\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"84.366 -3.2;84.366 -3.2\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/>\n\t\t<animateMotion repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_2_G\" fill=\"freeze\" keyTimes=\"0;0.0068027;0.2517007;0.4965986;0.7414966;0.9863946;1\" path=\"M17.83 20 C17.83,20 17.83,20 17.83,20 C17.83,20 101.83,20 101.83,20 C101.83,20 17.83,20 17.83,20 C17.83,20 101.83,20 101.83,20 C101.83,20 17.83,20 17.83,20 C17.83,20 17.83,20 17.83,20 \" keyPoints=\"0;0;0.25;0.5;0.75;1;1\" keySplines=\"0.183 0.358 0.357 1;0.183 0.358 0.357 1;0.183 0.358 0.357 1;0.167 0.327 0.357 1;0.183 0.358 0.357 1;0 0 0 0\" calcMode=\"spline\"/>\n\t\t<animateTransform repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_2_G\" fill=\"freeze\" attributeName=\"transform\" from=\"84.366 -3.2\" to=\"84.366 -3.2\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"84.366 -3.2;84.366 -3.2\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/>\n\t\t<animate repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_2_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"1\" keyTimes=\"0;0.0068027;0.0068034;1\" values=\"0;0;1;1\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/>\n\t\t<animateMotion repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G\" fill=\"freeze\" keyTimes=\"0;0.0136054;0.2585034;0.5034014;0.7482993;0.9931973;1\" path=\"M17.83 20 C17.83,20 17.83,20 17.83,20 C17.83,20 101.83,20 101.83,20 C101.83,20 17.83,20 17.83,20 C17.83,20 101.83,20 101.83,20 C101.83,20 17.83,20 17.83,20 C17.83,20 17.83,20 17.83,20 \" keyPoints=\"0;0;0.25;0.5;0.75;1;1\" keySplines=\"0.183 0.358 0.357 1;0.183 0.358 0.357 1;0.183 0.358 0.357 1;0.167 0.327 0.357 1;0.183 0.358 0.357 1;0 0 0 0\" calcMode=\"spline\"/>\n\t\t<animateTransform repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G\" fill=\"freeze\" attributeName=\"transform\" from=\"84.366 -3.2\" to=\"84.366 -3.2\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"84.366 -3.2;84.366 -3.2\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/>\n\t\t<animate repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"1\" keyTimes=\"0;0.0136054;0.0136061;1\" values=\"0;0;1;1\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/>\n\t\t<animateMotion repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_0_G\" fill=\"freeze\" keyTimes=\"0;0.0204082;0.2653061;0.5102041;0.755102;1\" path=\"M17.83 20 C17.83,20 17.83,20 17.83,20 C17.83,20 101.83,20 101.83,20 C101.83,20 17.83,20 17.83,20 C17.83,20 101.83,20 101.83,20 C101.83,20 17.83,20 17.83,20 \" keyPoints=\"0;0;0.25;0.5;0.75;1\" keySplines=\"0.183 0.358 0.357 1;0.183 0.358 0.357 1;0.183 0.358 0.357 1;0.167 0.327 0.357 1;0.183 0.358 0.357 1\" calcMode=\"spline\"/>\n\t\t<animateTransform repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_0_G\" fill=\"freeze\" attributeName=\"transform\" from=\"84.366 -3.2\" to=\"84.366 -3.2\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"84.366 -3.2;84.366 -3.2\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/>\n\t\t<animate repeatCount=\"indefinite\" dur=\"6.125s\" begin=\"0s\" xlink:href=\"#_R_G_L_0_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"1\" keyTimes=\"0;0.0204082;0.0204088;1\" values=\"0;0;1;1\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/>\n\t\t<animate attributeType=\"XML\" attributeName=\"opacity\" dur=\"6s\" from=\"0\" to=\"1\" xlink:href=\"#time_group\"/>\n\t</defs>\n\t<g id=\"_R_G\">\n\t\t<g id=\"_R_G_L_3_G\">\n\t\t\t<path id=\"_R_G_L_3_G_D_0_P_0\" fill=\"").concat(color, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M-84.37 -7 C-78.74,-7 -74.17,-2.43 -74.17,3.2 C-74.17,8.83 -78.74,13.4 -84.37,13.4 C-90,13.4 -94.57,8.83 -94.57,3.2 C-94.57,-2.43 -90,-7 -84.37,-7z \"/>\n\t\t</g>\n\t\t<g id=\"_R_G_L_2_G_M\">\n\t\t\t<g id=\"_R_G_L_2_G\" opacity=\"0.66\">\n\t\t\t\t<path id=\"_R_G_L_2_G_D_0_P_0\" fill=\"").concat(color, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M-84.37 -7 C-78.74,-7 -74.17,-2.43 -74.17,3.2 C-74.17,8.83 -78.74,13.4 -84.37,13.4 C-90,13.4 -94.57,8.83 -94.57,3.2 C-94.57,-2.43 -90,-7 -84.37,-7z \"/>\n\t\t\t</g>\n\t\t</g>\n\t\t<g id=\"_R_G_L_1_G_M\">\n\t\t\t<g id=\"_R_G_L_1_G\" opacity=\"0.33\">\n\t\t\t\t<path id=\"_R_G_L_1_G_D_0_P_0\" fill=\"").concat(color, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M-84.37 -7 C-78.74,-7 -74.17,-2.43 -74.17,3.2 C-74.17,8.83 -78.74,13.4 -84.37,13.4 C-90,13.4 -94.57,8.83 -94.57,3.2 C-94.57,-2.43 -90,-7 -84.37,-7z \"/>\n\t\t\t</g>\n\t\t</g>\n\t\t<g id=\"_R_G_L_0_G_M\">\n\t\t\t<g id=\"_R_G_L_0_G\" opacity=\"0.13\">\n\t\t\t\t<path id=\"_R_G_L_0_G_D_0_P_0\" fill=\"").concat(color, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M-84.37 -7 C-78.74,-7 -74.17,-2.43 -74.17,3.2 C-74.17,8.83 -78.74,13.4 -84.37,13.4 C-90,13.4 -94.57,8.83 -94.57,3.2 C-94.57,-2.43 -90,-7 -84.37,-7z \"/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n\t<g id=\"time_group\"/>\n</svg>");
7
+ };
5
8
  exports.getXml = getXml;
@@ -5,8 +5,6 @@ var react_i18next_1 = require("react-i18next");
5
5
  var react_native_1 = require("react-native");
6
6
  var HorizontalLoadingAnimation_1 = require("../../animations/HorizontalLoadingAnimation");
7
7
  var useTheme_1 = require("../../hooks/useTheme");
8
- var PdfIcon_1 = require("../../icons/PdfIcon");
9
- var Button_1 = require("../Button");
10
8
  var FadeIn_1 = require("../FadeIn");
11
9
  var Text_1 = require("../Text");
12
10
  var Summary = function (_a) {
@@ -20,14 +18,18 @@ var Summary = function (_a) {
20
18
  });
21
19
  };
22
20
  return (<FadeIn_1.FadeIn key={url}>
23
- {url ? (<Button_1.Button variant="secondary" icon={<PdfIcon_1.PdfIcon />} onPress={handleViewExternal}>
24
- {t('button.open_summary')}
25
- </Button_1.Button>) : (<react_native_1.View style={styles.loadingContainer}>
26
- <Text_1.Text color={theme.colors.darkGray}>{t('loading_summary')}</Text_1.Text>
27
- <react_native_1.View style={styles.animationWrapper}>
28
- <HorizontalLoadingAnimation_1.HorizontalLoadingAnimation />
29
- </react_native_1.View>
30
- </react_native_1.View>)}
21
+ {/* {url ? (
22
+ <Button variant="secondary" icon={<PdfIcon />} onPress={handleViewExternal}>
23
+ {t('button.open_summary')}
24
+ </Button>
25
+ ) : ( */}
26
+ <react_native_1.View style={styles.loadingContainer}>
27
+ <Text_1.Text color={theme.colors.darkGray}>{t('loading_summary')}</Text_1.Text>
28
+ <react_native_1.View>
29
+ <HorizontalLoadingAnimation_1.HorizontalLoadingAnimation color={theme.colors.primary} width={220} height={30}/>
30
+ </react_native_1.View>
31
+ </react_native_1.View>
32
+ {/* )} */}
31
33
  </FadeIn_1.FadeIn>);
32
34
  };
33
35
  exports.Summary = Summary;
@@ -40,10 +42,8 @@ var getStyles = function (_a) {
40
42
  justifyContent: 'center',
41
43
  // ↓ hack for better alignment with button and avoid scroll jump
42
44
  height: 53,
43
- paddingTop: spacing.xs
44
- },
45
- animationWrapper: {
46
- marginTop: -spacing.xs
45
+ paddingTop: spacing.sm,
46
+ rowGap: spacing.xs
47
47
  }
48
48
  });
49
49
  };
@@ -1,6 +1,7 @@
1
1
  import { useTranslation } from 'react-i18next';
2
2
  import { Animation } from './animations/Animation';
3
3
  import { FindingAnimation } from './animations/FindingAnimation';
4
+ import { HorizontalLoadingAnimation } from './animations/HorizontalLoadingAnimation';
4
5
  import { LoadingCircleAnimation } from './animations/LoadingCircleAnimation';
5
6
  import { LoadingDotsAnimation } from './animations/LoadingDotsAnimation';
6
7
  import { authorization } from './api/auth';
@@ -54,4 +55,4 @@ import { isAndroid, isIOS } from './utils/platform';
54
55
  import { getProfessionalLabel } from './utils/professional';
55
56
  import { requiredCheckbox, requiredString, validPhone } from './utils/zod';
56
57
  export { AbiLogoIcon, Animation, AnswerScreen, AttachmentPreviewModal, authorization, BackArrowIcon, BackgroundPattern, Button, CancelConsultationButton, CancelModal, Card, CASE_TYPE, Checkbox, CloseConsultationModal, CloseIcon, Consultation, CONSULTATION_EVENT, CONSULTATION_STATUS, // TODO check this after last refactor
57
- ConsultationProvider, DateInput, DoctorIcon, DoctorProfileCard, DoctorProfileModal, EventCallback, FadeIn, FindingAnimation, FormWrapper, getProfessionalLabel, Header, HKDeliveryAddressSchema, InfoIcon, Input, isAndroid, isIOS, License, LoadingCircleAnimation, LoadingDotsAnimation, MatchingScreen, MatchScreen, Modal, NoConsultationFoundScreen, PhoneInput, PlaneIcon, PreparingSummaryScreen, Prescription, PRESCRIPTION_STATUS, Professional, Question, RatingScreen, Reminder, requiredCheckbox, requiredString, ScreenWrapper, Select, Slide, Text, TextConsultationIcon, Theme, TwoOptionsModal, useConsultation, useTheme, useTranslation, validPhone, VideoConsultationIcon };
58
+ ConsultationProvider, DateInput, DoctorIcon, DoctorProfileCard, DoctorProfileModal, EventCallback, FadeIn, FindingAnimation, FormWrapper, getProfessionalLabel, Header, HKDeliveryAddressSchema, HorizontalLoadingAnimation, InfoIcon, Input, isAndroid, isIOS, License, LoadingCircleAnimation, LoadingDotsAnimation, MatchingScreen, MatchScreen, Modal, NoConsultationFoundScreen, PhoneInput, PlaneIcon, PreparingSummaryScreen, Prescription, PRESCRIPTION_STATUS, Professional, Question, RatingScreen, Reminder, requiredCheckbox, requiredString, ScreenWrapper, Select, Slide, Text, TextConsultationIcon, Theme, TwoOptionsModal, useConsultation, useTheme, useTranslation, validPhone, VideoConsultationIcon };
@@ -1,13 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Text = exports.Slide = exports.Select = exports.ScreenWrapper = exports.requiredString = exports.requiredCheckbox = exports.Reminder = exports.RatingScreen = exports.PRESCRIPTION_STATUS = exports.PreparingSummaryScreen = exports.PlaneIcon = exports.PhoneInput = exports.NoConsultationFoundScreen = exports.Modal = exports.MatchScreen = exports.MatchingScreen = exports.LoadingDotsAnimation = exports.LoadingCircleAnimation = exports.isIOS = exports.isAndroid = exports.Input = exports.InfoIcon = exports.HKDeliveryAddressSchema = exports.Header = exports.getProfessionalLabel = exports.FormWrapper = exports.FindingAnimation = exports.FadeIn = exports.DoctorProfileModal = exports.DoctorProfileCard = exports.DoctorIcon = exports.DateInput = exports.ConsultationProvider = exports.CONSULTATION_STATUS = exports.CONSULTATION_EVENT = exports.CloseIcon = exports.CloseConsultationModal = exports.Checkbox = exports.CASE_TYPE = exports.Card = exports.CancelModal = exports.CancelConsultationButton = exports.Button = exports.BackgroundPattern = exports.BackArrowIcon = exports.authorization = exports.AttachmentPreviewModal = exports.AnswerScreen = exports.Animation = exports.AbiLogoIcon = void 0;
4
- exports.VideoConsultationIcon = exports.validPhone = exports.useTranslation = exports.useTheme = exports.useConsultation = exports.TwoOptionsModal = exports.TextConsultationIcon = void 0;
3
+ exports.Slide = exports.Select = exports.ScreenWrapper = exports.requiredString = exports.requiredCheckbox = exports.Reminder = exports.RatingScreen = exports.PRESCRIPTION_STATUS = exports.PreparingSummaryScreen = exports.PlaneIcon = exports.PhoneInput = exports.NoConsultationFoundScreen = exports.Modal = exports.MatchScreen = exports.MatchingScreen = exports.LoadingDotsAnimation = exports.LoadingCircleAnimation = exports.isIOS = exports.isAndroid = exports.Input = exports.InfoIcon = exports.HorizontalLoadingAnimation = exports.HKDeliveryAddressSchema = exports.Header = exports.getProfessionalLabel = exports.FormWrapper = exports.FindingAnimation = exports.FadeIn = exports.DoctorProfileModal = exports.DoctorProfileCard = exports.DoctorIcon = exports.DateInput = exports.ConsultationProvider = exports.CONSULTATION_STATUS = exports.CONSULTATION_EVENT = exports.CloseIcon = exports.CloseConsultationModal = exports.Checkbox = exports.CASE_TYPE = exports.Card = exports.CancelModal = exports.CancelConsultationButton = exports.Button = exports.BackgroundPattern = exports.BackArrowIcon = exports.authorization = exports.AttachmentPreviewModal = exports.AnswerScreen = exports.Animation = exports.AbiLogoIcon = void 0;
4
+ exports.VideoConsultationIcon = exports.validPhone = exports.useTranslation = exports.useTheme = exports.useConsultation = exports.TwoOptionsModal = exports.TextConsultationIcon = exports.Text = void 0;
5
5
  var react_i18next_1 = require("react-i18next");
6
6
  Object.defineProperty(exports, "useTranslation", { enumerable: true, get: function () { return react_i18next_1.useTranslation; } });
7
7
  var Animation_1 = require("./animations/Animation");
8
8
  Object.defineProperty(exports, "Animation", { enumerable: true, get: function () { return Animation_1.Animation; } });
9
9
  var FindingAnimation_1 = require("./animations/FindingAnimation");
10
10
  Object.defineProperty(exports, "FindingAnimation", { enumerable: true, get: function () { return FindingAnimation_1.FindingAnimation; } });
11
+ var HorizontalLoadingAnimation_1 = require("./animations/HorizontalLoadingAnimation");
12
+ Object.defineProperty(exports, "HorizontalLoadingAnimation", { enumerable: true, get: function () { return HorizontalLoadingAnimation_1.HorizontalLoadingAnimation; } });
11
13
  var LoadingCircleAnimation_1 = require("./animations/LoadingCircleAnimation");
12
14
  Object.defineProperty(exports, "LoadingCircleAnimation", { enumerable: true, get: function () { return LoadingCircleAnimation_1.LoadingCircleAnimation; } });
13
15
  var LoadingDotsAnimation_1 = require("./animations/LoadingDotsAnimation");
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ import VideoCallScreen from './video-consultations/screens/VideoCallScreen';
10
10
  import { useTranslation } from 'react-i18next';
11
11
  import { Animation } from './common/animations/Animation';
12
12
  import { FindingAnimation } from './common/animations/FindingAnimation';
13
+ import { HorizontalLoadingAnimation } from './common/animations/HorizontalLoadingAnimation';
13
14
  import { LoadingCircleAnimation } from './common/animations/LoadingCircleAnimation';
14
15
  import { LoadingDotsAnimation } from './common/animations/LoadingDotsAnimation';
15
16
  import { authorization } from './common/api/auth';
@@ -62,4 +63,4 @@ import { isAndroid, isIOS } from './common/utils/platform';
62
63
  import { getProfessionalLabel } from './common/utils/professional';
63
64
  import { requiredCheckbox, requiredString, validPhone } from './common/utils/zod';
64
65
  export { AbiLogoIcon, AgoraWrapper, Animation, AnswerScreen, AttachmentPreviewModal, authorization, BackArrowIcon, BackgroundPattern, Button, CallingAnimation, CancelConsultationButton, CancelModal, Card, CASE_TYPE, Checkbox, CloseConsultationModal, CloseIcon, Consultation, CONSULTATION_STATUS, // TODO check this after last refactor
65
- ConsultationProvider, DateInput, DeliveryAddressScreen, DoctorIcon, DoctorProfileCard, DoctorProfileModal, EndingVideoScreen, EndVideoCallModal, FadeIn, FindingAnimation, FormWrapper, getProfessionalLabel, Header, HKDeliveryAddressSchema, InfoIcon, Input, isAndroid, isIOS, JoinVideoCallScreen, License, LoadingCircleAnimation, LoadingDotsAnimation, MatchingScreen, MatchScreen, Modal, NoConsultationFoundScreen, PhoneInput, PlaneIcon, PreparingSummaryScreen, Prescription, PRESCRIPTION_STATUS, ProcessingPrescriptionScreen, Professional, Question, RatingScreen, Reminder, requiredCheckbox, requiredString, ScreenWrapper, Select, Slide, Text, TextConsultationIcon, Theme, TwoOptionsModal, useConsultation, useTheme, useTranslation, validPhone, VideoCallScreen, VideoConsultation, VideoConsultationIcon };
66
+ ConsultationProvider, DateInput, DeliveryAddressScreen, DoctorIcon, DoctorProfileCard, DoctorProfileModal, EndingVideoScreen, EndVideoCallModal, FadeIn, FindingAnimation, FormWrapper, getProfessionalLabel, Header, HKDeliveryAddressSchema, HorizontalLoadingAnimation, InfoIcon, Input, isAndroid, isIOS, JoinVideoCallScreen, License, LoadingCircleAnimation, LoadingDotsAnimation, MatchingScreen, MatchScreen, Modal, NoConsultationFoundScreen, PhoneInput, PlaneIcon, PreparingSummaryScreen, Prescription, PRESCRIPTION_STATUS, ProcessingPrescriptionScreen, Professional, Question, RatingScreen, Reminder, requiredCheckbox, requiredString, ScreenWrapper, Select, Slide, Text, TextConsultationIcon, Theme, TwoOptionsModal, useConsultation, useTheme, useTranslation, validPhone, VideoCallScreen, VideoConsultation, VideoConsultationIcon };
package/dist/index.js CHANGED
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Reminder = exports.RatingScreen = exports.ProcessingPrescriptionScreen = exports.PRESCRIPTION_STATUS = exports.PreparingSummaryScreen = exports.PlaneIcon = exports.PhoneInput = exports.NoConsultationFoundScreen = exports.Modal = exports.MatchScreen = exports.MatchingScreen = exports.LoadingDotsAnimation = exports.LoadingCircleAnimation = exports.JoinVideoCallScreen = exports.isIOS = exports.isAndroid = exports.Input = exports.InfoIcon = exports.HKDeliveryAddressSchema = exports.Header = exports.getProfessionalLabel = exports.FormWrapper = exports.FindingAnimation = exports.FadeIn = exports.EndVideoCallModal = exports.EndingVideoScreen = exports.DoctorProfileModal = exports.DoctorProfileCard = exports.DoctorIcon = exports.DeliveryAddressScreen = exports.DateInput = exports.ConsultationProvider = exports.CONSULTATION_STATUS = exports.CloseIcon = exports.CloseConsultationModal = exports.Checkbox = exports.CASE_TYPE = exports.Card = exports.CancelModal = exports.CancelConsultationButton = exports.CallingAnimation = exports.Button = exports.BackgroundPattern = exports.BackArrowIcon = exports.authorization = exports.AttachmentPreviewModal = exports.AnswerScreen = exports.Animation = exports.AgoraWrapper = exports.AbiLogoIcon = void 0;
7
- exports.VideoConsultationIcon = exports.VideoConsultation = exports.VideoCallScreen = exports.validPhone = exports.useTranslation = exports.useTheme = exports.useConsultation = exports.TwoOptionsModal = exports.TextConsultationIcon = exports.Text = exports.Slide = exports.Select = exports.ScreenWrapper = exports.requiredString = exports.requiredCheckbox = void 0;
6
+ exports.RatingScreen = exports.ProcessingPrescriptionScreen = exports.PRESCRIPTION_STATUS = exports.PreparingSummaryScreen = exports.PlaneIcon = exports.PhoneInput = exports.NoConsultationFoundScreen = exports.Modal = exports.MatchScreen = exports.MatchingScreen = exports.LoadingDotsAnimation = exports.LoadingCircleAnimation = exports.JoinVideoCallScreen = exports.isIOS = exports.isAndroid = exports.Input = exports.InfoIcon = exports.HorizontalLoadingAnimation = exports.HKDeliveryAddressSchema = exports.Header = exports.getProfessionalLabel = exports.FormWrapper = exports.FindingAnimation = exports.FadeIn = exports.EndVideoCallModal = exports.EndingVideoScreen = exports.DoctorProfileModal = exports.DoctorProfileCard = exports.DoctorIcon = exports.DeliveryAddressScreen = exports.DateInput = exports.ConsultationProvider = exports.CONSULTATION_STATUS = exports.CloseIcon = exports.CloseConsultationModal = exports.Checkbox = exports.CASE_TYPE = exports.Card = exports.CancelModal = exports.CancelConsultationButton = exports.CallingAnimation = exports.Button = exports.BackgroundPattern = exports.BackArrowIcon = exports.authorization = exports.AttachmentPreviewModal = exports.AnswerScreen = exports.Animation = exports.AgoraWrapper = exports.AbiLogoIcon = void 0;
7
+ exports.VideoConsultationIcon = exports.VideoConsultation = exports.VideoCallScreen = exports.validPhone = exports.useTranslation = exports.useTheme = exports.useConsultation = exports.TwoOptionsModal = exports.TextConsultationIcon = exports.Text = exports.Slide = exports.Select = exports.ScreenWrapper = exports.requiredString = exports.requiredCheckbox = exports.Reminder = void 0;
8
8
  var CallingAnimation_1 = require("./video-consultations/animations/CallingAnimation");
9
9
  Object.defineProperty(exports, "CallingAnimation", { enumerable: true, get: function () { return CallingAnimation_1.CallingAnimation; } });
10
10
  var AgoraWrapper_1 = __importDefault(require("./video-consultations/components/AgoraWrapper"));
@@ -29,6 +29,8 @@ var Animation_1 = require("./common/animations/Animation");
29
29
  Object.defineProperty(exports, "Animation", { enumerable: true, get: function () { return Animation_1.Animation; } });
30
30
  var FindingAnimation_1 = require("./common/animations/FindingAnimation");
31
31
  Object.defineProperty(exports, "FindingAnimation", { enumerable: true, get: function () { return FindingAnimation_1.FindingAnimation; } });
32
+ var HorizontalLoadingAnimation_1 = require("./common/animations/HorizontalLoadingAnimation");
33
+ Object.defineProperty(exports, "HorizontalLoadingAnimation", { enumerable: true, get: function () { return HorizontalLoadingAnimation_1.HorizontalLoadingAnimation; } });
32
34
  var LoadingCircleAnimation_1 = require("./common/animations/LoadingCircleAnimation");
33
35
  Object.defineProperty(exports, "LoadingCircleAnimation", { enumerable: true, get: function () { return LoadingCircleAnimation_1.LoadingCircleAnimation; } });
34
36
  var LoadingDotsAnimation_1 = require("./common/animations/LoadingDotsAnimation");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abihealth/goapp-react-native",
3
- "version": "1.13.6",
3
+ "version": "1.13.7",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -14,6 +14,16 @@
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
+ },
17
27
  "dependencies": {
18
28
  "@sentry/react-native": "^6.7.0",
19
29
  "axios": "^1.7.9",
@@ -44,15 +54,5 @@
44
54
  },
45
55
  "exports": {
46
56
  ".": "./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
+ }