@plusscommunities/pluss-core-app 8.0.27 → 8.0.28-beta.2
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/package.json +1 -1
- package/src/components/react-native-expo-image-cropper/ExpoImageManipulator.js +29 -26
- package/dist/module/actions/FollowerActions.js +0 -34
- package/dist/module/actions/FollowerActions.js.map +0 -1
- package/dist/module/actions/MediaActions.js +0 -29
- package/dist/module/actions/MediaActions.js.map +0 -1
- package/dist/module/actions/ResidentActions.js +0 -26
- package/dist/module/actions/ResidentActions.js.map +0 -1
- package/dist/module/actions/UserActions.js +0 -223
- package/dist/module/actions/UserActions.js.map +0 -1
- package/dist/module/actions/UserSettingsActions.js +0 -14
- package/dist/module/actions/UserSettingsActions.js.map +0 -1
- package/dist/module/actions/index.js +0 -6
- package/dist/module/actions/index.js.map +0 -1
- package/dist/module/actions/types.js +0 -17
- package/dist/module/actions/types.js.map +0 -1
- package/dist/module/apis/analyticsActions.js +0 -20
- package/dist/module/apis/analyticsActions.js.map +0 -1
- package/dist/module/apis/contactActions.js +0 -27
- package/dist/module/apis/contactActions.js.map +0 -1
- package/dist/module/apis/eventActions.js +0 -161
- package/dist/module/apis/eventActions.js.map +0 -1
- package/dist/module/apis/fileActions.js +0 -93
- package/dist/module/apis/fileActions.js.map +0 -1
- package/dist/module/apis/followerActions.js +0 -38
- package/dist/module/apis/followerActions.js.map +0 -1
- package/dist/module/apis/index.js +0 -13
- package/dist/module/apis/index.js.map +0 -1
- package/dist/module/apis/notificationActions.js +0 -60
- package/dist/module/apis/notificationActions.js.map +0 -1
- package/dist/module/apis/profileActions.js +0 -14
- package/dist/module/apis/profileActions.js.map +0 -1
- package/dist/module/apis/reactionActions.js +0 -76
- package/dist/module/apis/reactionActions.js.map +0 -1
- package/dist/module/apis/settingActions.js +0 -22
- package/dist/module/apis/settingActions.js.map +0 -1
- package/dist/module/apis/stringActions.js +0 -30
- package/dist/module/apis/stringActions.js.map +0 -1
- package/dist/module/apis/typeActions.js +0 -15
- package/dist/module/apis/typeActions.js.map +0 -1
- package/dist/module/apis/userActions.js +0 -104
- package/dist/module/apis/userActions.js.map +0 -1
- package/dist/module/assets/icons/fontawesome/fa-brands-400.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa-light-300.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa-regular-400.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa-solid-900.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa-thin-100.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa7-glyphmap.json +0 -4205
- package/dist/module/assets/icons/reactions/heart.png +0 -0
- package/dist/module/assets/icons/reactions/party.png +0 -0
- package/dist/module/assets/icons/reactions/sad.png +0 -0
- package/dist/module/assets/icons/reactions/smile.png +0 -0
- package/dist/module/colours.js +0 -165
- package/dist/module/colours.js.map +0 -1
- package/dist/module/components/AddButton.js +0 -43
- package/dist/module/components/AddButton.js.map +0 -1
- package/dist/module/components/AddToCalendarButton.js +0 -225
- package/dist/module/components/AddToCalendarButton.js.map +0 -1
- package/dist/module/components/Attachment.js +0 -55
- package/dist/module/components/Attachment.js.map +0 -1
- package/dist/module/components/AudienceSelectorLauncher.js +0 -64
- package/dist/module/components/AudienceSelectorLauncher.js.map +0 -1
- package/dist/module/components/AudienceSelectorPage.js +0 -351
- package/dist/module/components/AudienceSelectorPage.js.map +0 -1
- package/dist/module/components/AutoOffsetImage.js +0 -184
- package/dist/module/components/AutoOffsetImage.js.map +0 -1
- package/dist/module/components/BackButton.js +0 -58
- package/dist/module/components/BackButton.js.map +0 -1
- package/dist/module/components/CalendarPopup.js +0 -126
- package/dist/module/components/CalendarPopup.js.map +0 -1
- package/dist/module/components/CategoryTabs.js +0 -155
- package/dist/module/components/CategoryTabs.js.map +0 -1
- package/dist/module/components/CommentReply.js +0 -334
- package/dist/module/components/CommentReply.js.map +0 -1
- package/dist/module/components/CommentSection.js +0 -823
- package/dist/module/components/CommentSection.js.map +0 -1
- package/dist/module/components/ConfirmPopup.js +0 -109
- package/dist/module/components/ConfirmPopup.js.map +0 -1
- package/dist/module/components/ConfirmationPopup.js +0 -72
- package/dist/module/components/ConfirmationPopup.js.map +0 -1
- package/dist/module/components/DocumentUploader.js +0 -253
- package/dist/module/components/DocumentUploader.js.map +0 -1
- package/dist/module/components/DropDownItem.js +0 -75
- package/dist/module/components/DropDownItem.js.map +0 -1
- package/dist/module/components/DropDownMenu.js +0 -41
- package/dist/module/components/DropDownMenu.js.map +0 -1
- package/dist/module/components/EmptyStateMain.js +0 -51
- package/dist/module/components/EmptyStateMain.js.map +0 -1
- package/dist/module/components/EmptyStateWidget.js +0 -48
- package/dist/module/components/EmptyStateWidget.js.map +0 -1
- package/dist/module/components/FontScaleButton.js +0 -37
- package/dist/module/components/FontScaleButton.js.map +0 -1
- package/dist/module/components/FontScalePopup.js +0 -76
- package/dist/module/components/FontScalePopup.js.map +0 -1
- package/dist/module/components/Forbidden.js +0 -58
- package/dist/module/components/Forbidden.js.map +0 -1
- package/dist/module/components/FormCard.js +0 -25
- package/dist/module/components/FormCard.js.map +0 -1
- package/dist/module/components/FormCardSection.js +0 -214
- package/dist/module/components/FormCardSection.js.map +0 -1
- package/dist/module/components/FormCardSectionOptionLauncher.js +0 -73
- package/dist/module/components/FormCardSectionOptionLauncher.js.map +0 -1
- package/dist/module/components/FormattedText.js +0 -133
- package/dist/module/components/FormattedText.js.map +0 -1
- package/dist/module/components/GenericInput.js +0 -151
- package/dist/module/components/GenericInput.js.map +0 -1
- package/dist/module/components/GenericInputSection.js +0 -173
- package/dist/module/components/GenericInputSection.js.map +0 -1
- package/dist/module/components/Header.js +0 -459
- package/dist/module/components/Header.js.map +0 -1
- package/dist/module/components/Icon.js +0 -109
- package/dist/module/components/Icon.js.map +0 -1
- package/dist/module/components/ImagePopup.js +0 -400
- package/dist/module/components/ImagePopup.js.map +0 -1
- package/dist/module/components/ImageUploadProgress.js +0 -69
- package/dist/module/components/ImageUploadProgress.js.map +0 -1
- package/dist/module/components/ImageUploader.js +0 -831
- package/dist/module/components/ImageUploader.js.map +0 -1
- package/dist/module/components/InlineButton.js +0 -66
- package/dist/module/components/InlineButton.js.map +0 -1
- package/dist/module/components/Input.js +0 -156
- package/dist/module/components/Input.js.map +0 -1
- package/dist/module/components/LoadingCircles.js +0 -219
- package/dist/module/components/LoadingCircles.js.map +0 -1
- package/dist/module/components/LoadingIndicator.js +0 -86
- package/dist/module/components/LoadingIndicator.js.map +0 -1
- package/dist/module/components/LoadingStateWidget.js +0 -46
- package/dist/module/components/LoadingStateWidget.js.map +0 -1
- package/dist/module/components/MediaPlayer.js +0 -407
- package/dist/module/components/MediaPlayer.js.map +0 -1
- package/dist/module/components/MiddlePopup.js +0 -49
- package/dist/module/components/MiddlePopup.js.map +0 -1
- package/dist/module/components/PDFPopup.js +0 -203
- package/dist/module/components/PDFPopup.js.map +0 -1
- package/dist/module/components/PlussChat.js +0 -1078
- package/dist/module/components/PlussChat.js.map +0 -1
- package/dist/module/components/PlussChatMessage.js +0 -299
- package/dist/module/components/PlussChatMessage.js.map +0 -1
- package/dist/module/components/PlussChatTime.js +0 -59
- package/dist/module/components/PlussChatTime.js.map +0 -1
- package/dist/module/components/Popup.js +0 -126
- package/dist/module/components/Popup.js.map +0 -1
- package/dist/module/components/PopupMenu.js +0 -120
- package/dist/module/components/PopupMenu.js.map +0 -1
- package/dist/module/components/PositionedImage.js +0 -313
- package/dist/module/components/PositionedImage.js.map +0 -1
- package/dist/module/components/ProfilePic.js +0 -105
- package/dist/module/components/ProfilePic.js.map +0 -1
- package/dist/module/components/RadioButton.js +0 -78
- package/dist/module/components/RadioButton.js.map +0 -1
- package/dist/module/components/Reaction.js +0 -117
- package/dist/module/components/Reaction.js.map +0 -1
- package/dist/module/components/Reactions.js +0 -71
- package/dist/module/components/Reactions.js.map +0 -1
- package/dist/module/components/SharingTools.js +0 -189
- package/dist/module/components/SharingTools.js.map +0 -1
- package/dist/module/components/Spinner.js +0 -22
- package/dist/module/components/Spinner.js.map +0 -1
- package/dist/module/components/StickyFooter.js +0 -34
- package/dist/module/components/StickyFooter.js.map +0 -1
- package/dist/module/components/Text.js +0 -57
- package/dist/module/components/Text.js.map +0 -1
- package/dist/module/components/TickIcon.js +0 -24
- package/dist/module/components/TickIcon.js.map +0 -1
- package/dist/module/components/Toggle.js +0 -66
- package/dist/module/components/Toggle.js.map +0 -1
- package/dist/module/components/TouchableSearchBar.js +0 -68
- package/dist/module/components/TouchableSearchBar.js.map +0 -1
- package/dist/module/components/UserListPopup.js +0 -136
- package/dist/module/components/UserListPopup.js.map +0 -1
- package/dist/module/components/UserListing.js +0 -268
- package/dist/module/components/UserListing.js.map +0 -1
- package/dist/module/components/VideoPopup.js +0 -113
- package/dist/module/components/VideoPopup.js.map +0 -1
- package/dist/module/components/WarningPopup.js +0 -85
- package/dist/module/components/WarningPopup.js.map +0 -1
- package/dist/module/components/expo-image-picker-multiple/ImageBrowser.js +0 -289
- package/dist/module/components/expo-image-picker-multiple/ImageBrowser.js.map +0 -1
- package/dist/module/components/expo-image-picker-multiple/ImageTile.js +0 -117
- package/dist/module/components/expo-image-picker-multiple/ImageTile.js.map +0 -1
- package/dist/module/components/index.js +0 -60
- package/dist/module/components/index.js.map +0 -1
- package/dist/module/components/react-native-expo-image-cropper/ExpoImageManipulator.js +0 -415
- package/dist/module/components/react-native-expo-image-cropper/ExpoImageManipulator.js.map +0 -1
- package/dist/module/components/react-native-expo-image-cropper/ImageCropOverlay.js +0 -387
- package/dist/module/components/react-native-expo-image-cropper/ImageCropOverlay.js.map +0 -1
- package/dist/module/config.js +0 -27
- package/dist/module/config.js.map +0 -1
- package/dist/module/constants.js +0 -18
- package/dist/module/constants.js.map +0 -1
- package/dist/module/helper.js +0 -424
- package/dist/module/helper.js.map +0 -1
- package/dist/module/index.js +0 -13
- package/dist/module/index.js.map +0 -1
- package/dist/module/js/images/detectFaces.js +0 -31
- package/dist/module/js/images/detectFaces.js.map +0 -1
- package/dist/module/js/images/findLandmarkRange.js +0 -93
- package/dist/module/js/images/findLandmarkRange.js.map +0 -1
- package/dist/module/js/images/getScaledOffset.js +0 -81
- package/dist/module/js/images/getScaledOffset.js.map +0 -1
- package/dist/module/js/site/getSiteLevelFromState.js +0 -29
- package/dist/module/js/site/getSiteLevelFromState.js.map +0 -1
- package/dist/module/js/site/isTVEnabled.js +0 -10
- package/dist/module/js/site/isTVEnabled.js.map +0 -1
- package/dist/module/session.js +0 -58
- package/dist/module/session.js.map +0 -1
- package/dist/module/styles.js +0 -67
- package/dist/module/styles.js.map +0 -1
- package/dist/module/withNavigationFocus.js +0 -30
- package/dist/module/withNavigationFocus.js.map +0 -1
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from "react";
|
|
2
|
-
import { View, Modal, TouchableWithoutFeedback, KeyboardAvoidingView, Platform } from "react-native";
|
|
3
|
-
import { withSafeAreaInsets } from "react-native-safe-area-context";
|
|
4
|
-
class MiddlePopup extends PureComponent {
|
|
5
|
-
render() {
|
|
6
|
-
var _this$props$insets;
|
|
7
|
-
const bottom = Platform.OS === "android" ? ((_this$props$insets = this.props.insets) === null || _this$props$insets === void 0 ? void 0 : _this$props$insets.bottom) ?? 0 : 0;
|
|
8
|
-
return /*#__PURE__*/React.createElement(Modal, {
|
|
9
|
-
visible: this.props.visible,
|
|
10
|
-
transparent: true,
|
|
11
|
-
animationType: "fade",
|
|
12
|
-
onRequestClose: this.props.onClose
|
|
13
|
-
}, /*#__PURE__*/React.createElement(KeyboardAvoidingView, {
|
|
14
|
-
behavior: this.props.keyboardAvoid && Platform.OS === "ios" && "padding",
|
|
15
|
-
style: styles.popup
|
|
16
|
-
}, /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
|
|
17
|
-
onPress: this.props.onClose
|
|
18
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
19
|
-
style: styles.popupOverlay
|
|
20
|
-
})), /*#__PURE__*/React.createElement(View, {
|
|
21
|
-
style: [styles.popupContent, this.props.style, bottom > 0 && {
|
|
22
|
-
paddingBottom: bottom
|
|
23
|
-
}]
|
|
24
|
-
}, this.props.children)));
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
const styles = {
|
|
28
|
-
popup: {
|
|
29
|
-
flex: 1,
|
|
30
|
-
justifyContent: "center",
|
|
31
|
-
alignItems: "center"
|
|
32
|
-
},
|
|
33
|
-
popupOverlay: {
|
|
34
|
-
position: "absolute",
|
|
35
|
-
backgroundColor: "rgba(19, 19, 26, .25)",
|
|
36
|
-
top: 0,
|
|
37
|
-
left: 0,
|
|
38
|
-
right: 0,
|
|
39
|
-
bottom: 0
|
|
40
|
-
},
|
|
41
|
-
popupContent: {
|
|
42
|
-
borderRadius: 12,
|
|
43
|
-
backgroundColor: "#fff",
|
|
44
|
-
alignItems: "center"
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
const MiddlePopupWithInsets = withSafeAreaInsets(MiddlePopup);
|
|
48
|
-
export { MiddlePopupWithInsets as MiddlePopup };
|
|
49
|
-
//# sourceMappingURL=MiddlePopup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","PureComponent","View","Modal","TouchableWithoutFeedback","KeyboardAvoidingView","Platform","withSafeAreaInsets","MiddlePopup","render","_this$props$insets","bottom","OS","props","insets","createElement","visible","transparent","animationType","onRequestClose","onClose","behavior","keyboardAvoid","style","styles","popup","onPress","popupOverlay","popupContent","paddingBottom","children","flex","justifyContent","alignItems","position","backgroundColor","top","left","right","borderRadius","MiddlePopupWithInsets"],"sources":["MiddlePopup.js"],"sourcesContent":["import React, { PureComponent } from \"react\";\nimport {\n\tView,\n\tModal,\n\tTouchableWithoutFeedback,\n\tKeyboardAvoidingView,\n\tPlatform,\n} from \"react-native\";\nimport { withSafeAreaInsets } from \"react-native-safe-area-context\";\n\nclass MiddlePopup extends PureComponent {\n\trender() {\n\t\tconst bottom =\n\t\t\tPlatform.OS === \"android\" ? (this.props.insets?.bottom ?? 0) : 0;\n\n\t\treturn (\n\t\t\t<Modal\n\t\t\t\tvisible={this.props.visible}\n\t\t\t\ttransparent\n\t\t\t\tanimationType=\"fade\"\n\t\t\t\tonRequestClose={this.props.onClose}\n\t\t\t>\n\t\t\t\t<KeyboardAvoidingView\n\t\t\t\t\tbehavior={\n\t\t\t\t\t\tthis.props.keyboardAvoid && Platform.OS === \"ios\" && \"padding\"\n\t\t\t\t\t}\n\t\t\t\t\tstyle={styles.popup}\n\t\t\t\t>\n\t\t\t\t\t<TouchableWithoutFeedback onPress={this.props.onClose}>\n\t\t\t\t\t\t<View style={styles.popupOverlay} />\n\t\t\t\t\t</TouchableWithoutFeedback>\n\t\t\t\t\t<View\n\t\t\t\t\t\tstyle={[\n\t\t\t\t\t\t\tstyles.popupContent,\n\t\t\t\t\t\t\tthis.props.style,\n\t\t\t\t\t\t\tbottom > 0 && { paddingBottom: bottom },\n\t\t\t\t\t\t]}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.props.children}\n\t\t\t\t\t</View>\n\t\t\t\t</KeyboardAvoidingView>\n\t\t\t</Modal>\n\t\t);\n\t}\n}\n\nconst styles = {\n\tpopup: {\n\t\tflex: 1,\n\t\tjustifyContent: \"center\",\n\t\talignItems: \"center\",\n\t},\n\tpopupOverlay: {\n\t\tposition: \"absolute\",\n\t\tbackgroundColor: \"rgba(19, 19, 26, .25)\",\n\t\ttop: 0,\n\t\tleft: 0,\n\t\tright: 0,\n\t\tbottom: 0,\n\t},\n\tpopupContent: {\n\t\tborderRadius: 12,\n\t\tbackgroundColor: \"#fff\",\n\t\talignItems: \"center\",\n\t},\n};\n\nconst MiddlePopupWithInsets = withSafeAreaInsets(MiddlePopup);\nexport { MiddlePopupWithInsets as MiddlePopup };\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,SACCC,IAAI,EACJC,KAAK,EACLC,wBAAwB,EACxBC,oBAAoB,EACpBC,QAAQ,QACF,cAAc;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CAAC;EACDN,YAAY,EAAE;IACbO,QAAQ,EAAE,UAAU;IACpBC,eAAe,EAAE,uBAAuB;IACxCC,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACR3B,MAAM,EAAE;EACT,CAAC;EACDiB,YAAY,EAAE;IACbW,YAAY,EAAE,EAAE;IAChBJ,eAAe,EAAE,MAAM;IACvBF,UAAU,EAAE;EACb;AACD,CAAC;AAED,MAAMO,qBAAqB,GAAGjC,kBAAkB,CAACC,WAAW,CAAC;AAC7D,SAASgC,qBAAqB,IAAIhC,WAAW","ignoreList":[]}
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
|
-
import React, { Component } from "react";
|
|
5
|
-
import { View, TouchableOpacity, Modal, Dimensions, Alert } from "react-native";
|
|
6
|
-
import { Text } from "./Text";
|
|
7
|
-
import { Icon } from "@rneui/themed";
|
|
8
|
-
import { WebView } from "react-native-webview";
|
|
9
|
-
import { File, Paths } from "expo-file-system";
|
|
10
|
-
import * as Sharing from "expo-sharing";
|
|
11
|
-
import { FontAwesome } from "./Icon";
|
|
12
|
-
import { Spinner } from "./Spinner";
|
|
13
|
-
import { StatusBarHeight, getFileName } from "../helper";
|
|
14
|
-
const SCREEN_HEIGHT = Dimensions.get("window").height;
|
|
15
|
-
class PDFPopup extends Component {
|
|
16
|
-
constructor(...args) {
|
|
17
|
-
super(...args);
|
|
18
|
-
_defineProperty(this, "state", {
|
|
19
|
-
loaded: false
|
|
20
|
-
});
|
|
21
|
-
_defineProperty(this, "download", async () => {
|
|
22
|
-
try {
|
|
23
|
-
const file = await File.downloadFileAsync(this.props.source, new File(Paths.document, getFileName(this.props.source)), {
|
|
24
|
-
idempotent: true
|
|
25
|
-
});
|
|
26
|
-
await Sharing.shareAsync(file.uri, {
|
|
27
|
-
UTI: "public.item"
|
|
28
|
-
});
|
|
29
|
-
} catch (error) {
|
|
30
|
-
console.log("PDFPopup download error:", error);
|
|
31
|
-
Alert.alert("Download Failed", "Unable to download PDF. Please try again.", [{
|
|
32
|
-
text: "OK"
|
|
33
|
-
}]);
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
onLoadStarted() {
|
|
38
|
-
this.setState({
|
|
39
|
-
loaded: false
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
onLoadEnded() {
|
|
43
|
-
this.setState({
|
|
44
|
-
loaded: true
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
onChangeIndex(index) {
|
|
48
|
-
this.props.onChangeIndex(index);
|
|
49
|
-
}
|
|
50
|
-
getUrl() {
|
|
51
|
-
const linkPrefix = "http://drive.google.com/viewerng/viewer?embedded=true&url=";
|
|
52
|
-
return `${linkPrefix}${this.props.source}`;
|
|
53
|
-
}
|
|
54
|
-
closePopup() {
|
|
55
|
-
this.props.onClose();
|
|
56
|
-
}
|
|
57
|
-
renderFooter() {
|
|
58
|
-
if (this.props.pdfCount && this.props.pdfCount === 1) {
|
|
59
|
-
return null;
|
|
60
|
-
}
|
|
61
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
62
|
-
style: styles.footerContent
|
|
63
|
-
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
64
|
-
onPress: this.onChangeIndex.bind(this, -1),
|
|
65
|
-
activeOpacity: 0.6
|
|
66
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
67
|
-
type: "font-awesome",
|
|
68
|
-
name: "angle-left",
|
|
69
|
-
iconStyle: [styles.chevron]
|
|
70
|
-
})), /*#__PURE__*/React.createElement(Text, {
|
|
71
|
-
style: styles.footerText
|
|
72
|
-
}, this.props.selectedIndex + 1, " / ", this.props.pdfCount), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
73
|
-
onPress: this.onChangeIndex.bind(this, 1),
|
|
74
|
-
activeOpacity: 0.6
|
|
75
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
76
|
-
type: "font-awesome",
|
|
77
|
-
name: "angle-right",
|
|
78
|
-
iconStyle: [styles.chevron]
|
|
79
|
-
})));
|
|
80
|
-
}
|
|
81
|
-
render() {
|
|
82
|
-
if (!this.props.source) {
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
85
|
-
return /*#__PURE__*/React.createElement(Modal, {
|
|
86
|
-
visible: this.props.visible,
|
|
87
|
-
transparent: true,
|
|
88
|
-
animationType: "slide",
|
|
89
|
-
onRequestClose: this.closePopup.bind(this)
|
|
90
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
91
|
-
style: {
|
|
92
|
-
flex: 1,
|
|
93
|
-
backgroundColor: "#000",
|
|
94
|
-
paddingTop: StatusBarHeight(0)
|
|
95
|
-
}
|
|
96
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
97
|
-
style: styles.headerContent
|
|
98
|
-
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
99
|
-
onPress: this.closePopup.bind(this),
|
|
100
|
-
activeOpacity: 0.6
|
|
101
|
-
}, /*#__PURE__*/React.createElement(FontAwesome, {
|
|
102
|
-
name: "x",
|
|
103
|
-
style: [styles.menuIcon]
|
|
104
|
-
})), /*#__PURE__*/React.createElement(View, {
|
|
105
|
-
style: styles.titleContainer
|
|
106
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
107
|
-
style: styles.title
|
|
108
|
-
}, this.props.title)), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
109
|
-
onPress: this.download,
|
|
110
|
-
activeOpacity: 0.6
|
|
111
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
112
|
-
type: "font-awesome",
|
|
113
|
-
name: "cloud-download",
|
|
114
|
-
iconStyle: [styles.menuIcon]
|
|
115
|
-
}))), /*#__PURE__*/React.createElement(View, {
|
|
116
|
-
style: {
|
|
117
|
-
flex: 1,
|
|
118
|
-
backgroundColor: "#fff"
|
|
119
|
-
}
|
|
120
|
-
}, this.state.loaded ? null : /*#__PURE__*/React.createElement(Spinner, {
|
|
121
|
-
style: {
|
|
122
|
-
height: SCREEN_HEIGHT - StatusBarHeight(145),
|
|
123
|
-
flex: 0
|
|
124
|
-
}
|
|
125
|
-
}), /*#__PURE__*/React.createElement(WebView, {
|
|
126
|
-
source: {
|
|
127
|
-
uri: this.getUrl()
|
|
128
|
-
},
|
|
129
|
-
javaScriptEnabled: true,
|
|
130
|
-
domStorageEnabled: true,
|
|
131
|
-
originWhitelist: ["*"],
|
|
132
|
-
mixedContentMode: "always",
|
|
133
|
-
renderError: e => {
|
|
134
|
-
console.log("errored");
|
|
135
|
-
console.log(e);
|
|
136
|
-
},
|
|
137
|
-
style: [{
|
|
138
|
-
flex: 1,
|
|
139
|
-
backgroundColor: "#fff"
|
|
140
|
-
}],
|
|
141
|
-
onLoadStart: this.onLoadStarted.bind(this),
|
|
142
|
-
onLoadEnd: this.onLoadEnded.bind(this)
|
|
143
|
-
})), this.renderFooter()));
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
const styles = {
|
|
147
|
-
container: {
|
|
148
|
-
flex: 1,
|
|
149
|
-
position: "relative",
|
|
150
|
-
backgroundColor: "#000"
|
|
151
|
-
},
|
|
152
|
-
innerContainer: {
|
|
153
|
-
flex: 1,
|
|
154
|
-
paddingLeft: 15,
|
|
155
|
-
paddingRight: 15
|
|
156
|
-
},
|
|
157
|
-
menuIcon: {
|
|
158
|
-
fontSize: 25,
|
|
159
|
-
padding: 15,
|
|
160
|
-
width: 55,
|
|
161
|
-
textAlign: "center",
|
|
162
|
-
color: "#fff",
|
|
163
|
-
zIndex: 3
|
|
164
|
-
},
|
|
165
|
-
headerContent: {
|
|
166
|
-
flexDirection: "row",
|
|
167
|
-
alignItems: "center",
|
|
168
|
-
height: 70
|
|
169
|
-
},
|
|
170
|
-
titleContainer: {
|
|
171
|
-
flex: 1
|
|
172
|
-
},
|
|
173
|
-
title: {
|
|
174
|
-
color: "#fff",
|
|
175
|
-
fontFamily: "sf-semibold",
|
|
176
|
-
fontSize: 16,
|
|
177
|
-
textAlign: "center"
|
|
178
|
-
},
|
|
179
|
-
footerContent: {
|
|
180
|
-
flexDirection: "row",
|
|
181
|
-
alignItems: "center",
|
|
182
|
-
justifyContent: "center",
|
|
183
|
-
height: 70
|
|
184
|
-
//alignSelf: 'flex-end'
|
|
185
|
-
},
|
|
186
|
-
chevron: {
|
|
187
|
-
fontSize: 25,
|
|
188
|
-
padding: 15,
|
|
189
|
-
width: 55,
|
|
190
|
-
textAlign: "center",
|
|
191
|
-
color: "#fff",
|
|
192
|
-
zIndex: 3
|
|
193
|
-
},
|
|
194
|
-
footerText: {
|
|
195
|
-
fontFamily: "sf-regular",
|
|
196
|
-
fontSize: 14,
|
|
197
|
-
color: "#fff",
|
|
198
|
-
width: 150,
|
|
199
|
-
textAlign: "center"
|
|
200
|
-
}
|
|
201
|
-
};
|
|
202
|
-
export { PDFPopup };
|
|
203
|
-
//# sourceMappingURL=PDFPopup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Component","View","TouchableOpacity","Modal","Dimensions","Alert","Text","Icon","WebView","File","Paths","Sharing","FontAwesome","Spinner","StatusBarHeight","getFileName","SCREEN_HEIGHT","get","height","PDFPopup","constructor","args","_defineProperty","loaded","file","downloadFileAsync","props","source","document","idempotent","shareAsync","uri","UTI","error","console","log","alert","text","onLoadStarted","setState","onLoadEnded","onChangeIndex","index","getUrl","linkPrefix","closePopup","onClose","renderFooter","pdfCount","createElement","style","styles","footerContent","onPress","bind","activeOpacity","type","name","iconStyle","chevron","footerText","selectedIndex","render","visible","transparent","animationType","onRequestClose","flex","backgroundColor","paddingTop","headerContent","menuIcon","titleContainer","title","download","state","javaScriptEnabled","domStorageEnabled","originWhitelist","mixedContentMode","renderError","e","onLoadStart","onLoadEnd","container","position","innerContainer","paddingLeft","paddingRight","fontSize","padding","width","textAlign","color","zIndex","flexDirection","alignItems","fontFamily","justifyContent"],"sources":["PDFPopup.js"],"sourcesContent":["import React, { Component } from \"react\";\nimport { View, TouchableOpacity, Modal, Dimensions, Alert } from \"react-native\";\nimport { Text } from \"./Text\";\nimport { Icon } from \"@rneui/themed\";\nimport { WebView } from \"react-native-webview\";\nimport { File, Paths } from \"expo-file-system\";\nimport * as Sharing from \"expo-sharing\";\nimport { FontAwesome } from \"./Icon\";\nimport { Spinner } from \"./Spinner\";\nimport { StatusBarHeight, getFileName } from \"../helper\";\n\nconst SCREEN_HEIGHT = Dimensions.get(\"window\").height;\n\nclass PDFPopup extends Component {\n\tstate = {\n\t\tloaded: false,\n\t};\n\n\tonLoadStarted() {\n\t\tthis.setState({\n\t\t\tloaded: false,\n\t\t});\n\t}\n\n\tonLoadEnded() {\n\t\tthis.setState({\n\t\t\tloaded: true,\n\t\t});\n\t}\n\n\tonChangeIndex(index) {\n\t\tthis.props.onChangeIndex(index);\n\t}\n\n\tgetUrl() {\n\t\tconst linkPrefix =\n\t\t\t\"http://drive.google.com/viewerng/viewer?embedded=true&url=\";\n\t\treturn `${linkPrefix}${this.props.source}`;\n\t}\n\n\tdownload = async () => {\n\t\ttry {\n\t\t\tconst file = await File.downloadFileAsync(\n\t\t\t\tthis.props.source,\n\t\t\t\tnew File(Paths.document, getFileName(this.props.source)),\n\t\t\t\t{ idempotent: true },\n\t\t\t);\n\t\t\tawait Sharing.shareAsync(file.uri, {\n\t\t\t\tUTI: \"public.item\",\n\t\t\t});\n\t\t} catch (error) {\n\t\t\tconsole.log(\"PDFPopup download error:\", error);\n\t\t\tAlert.alert(\n\t\t\t\t\"Download Failed\",\n\t\t\t\t\"Unable to download PDF. Please try again.\",\n\t\t\t\t[{ text: \"OK\" }],\n\t\t\t);\n\t\t}\n\t};\n\n\tclosePopup() {\n\t\tthis.props.onClose();\n\t}\n\n\trenderFooter() {\n\t\tif (this.props.pdfCount && this.props.pdfCount === 1) {\n\t\t\treturn null;\n\t\t}\n\t\treturn (\n\t\t\t<View style={styles.footerContent}>\n\t\t\t\t<TouchableOpacity\n\t\t\t\t\tonPress={this.onChangeIndex.bind(this, -1)}\n\t\t\t\t\tactiveOpacity={0.6}\n\t\t\t\t>\n\t\t\t\t\t<Icon\n\t\t\t\t\t\ttype=\"font-awesome\"\n\t\t\t\t\t\tname=\"angle-left\"\n\t\t\t\t\t\ticonStyle={[styles.chevron]}\n\t\t\t\t\t/>\n\t\t\t\t</TouchableOpacity>\n\t\t\t\t<Text style={styles.footerText}>\n\t\t\t\t\t{this.props.selectedIndex + 1} / {this.props.pdfCount}\n\t\t\t\t</Text>\n\t\t\t\t<TouchableOpacity\n\t\t\t\t\tonPress={this.onChangeIndex.bind(this, 1)}\n\t\t\t\t\tactiveOpacity={0.6}\n\t\t\t\t>\n\t\t\t\t\t<Icon\n\t\t\t\t\t\ttype=\"font-awesome\"\n\t\t\t\t\t\tname=\"angle-right\"\n\t\t\t\t\t\ticonStyle={[styles.chevron]}\n\t\t\t\t\t/>\n\t\t\t\t</TouchableOpacity>\n\t\t\t</View>\n\t\t);\n\t}\n\n\trender() {\n\t\tif (!this.props.source) {\n\t\t\treturn null;\n\t\t}\n\t\treturn (\n\t\t\t<Modal\n\t\t\t\tvisible={this.props.visible}\n\t\t\t\ttransparent\n\t\t\t\tanimationType=\"slide\"\n\t\t\t\tonRequestClose={this.closePopup.bind(this)}\n\t\t\t>\n\t\t\t\t<View\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\tflex: 1,\n\t\t\t\t\t\tbackgroundColor: \"#000\",\n\t\t\t\t\t\tpaddingTop: StatusBarHeight(0),\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<View style={styles.headerContent}>\n\t\t\t\t\t\t<TouchableOpacity\n\t\t\t\t\t\t\tonPress={this.closePopup.bind(this)}\n\t\t\t\t\t\t\tactiveOpacity={0.6}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<FontAwesome name=\"x\" style={[styles.menuIcon]} />\n\t\t\t\t\t\t</TouchableOpacity>\n\t\t\t\t\t\t<View style={styles.titleContainer}>\n\t\t\t\t\t\t\t<Text style={styles.title}>{this.props.title}</Text>\n\t\t\t\t\t\t</View>\n\t\t\t\t\t\t<TouchableOpacity onPress={this.download} activeOpacity={0.6}>\n\t\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\t\ttype=\"font-awesome\"\n\t\t\t\t\t\t\t\tname=\"cloud-download\"\n\t\t\t\t\t\t\t\ticonStyle={[styles.menuIcon]}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</TouchableOpacity>\n\t\t\t\t\t</View>\n\t\t\t\t\t<View style={{ flex: 1, backgroundColor: \"#fff\" }}>\n\t\t\t\t\t\t{this.state.loaded ? null : (\n\t\t\t\t\t\t\t<Spinner\n\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\theight: SCREEN_HEIGHT - StatusBarHeight(145),\n\t\t\t\t\t\t\t\t\tflex: 0,\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t<WebView\n\t\t\t\t\t\t\tsource={{\n\t\t\t\t\t\t\t\turi: this.getUrl(),\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tjavaScriptEnabled\n\t\t\t\t\t\t\tdomStorageEnabled\n\t\t\t\t\t\t\toriginWhitelist={[\"*\"]}\n\t\t\t\t\t\t\tmixedContentMode=\"always\"\n\t\t\t\t\t\t\trenderError={(e) => {\n\t\t\t\t\t\t\t\tconsole.log(\"errored\");\n\t\t\t\t\t\t\t\tconsole.log(e);\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tstyle={[\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tflex: 1,\n\t\t\t\t\t\t\t\t\tbackgroundColor: \"#fff\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\tonLoadStart={this.onLoadStarted.bind(this)}\n\t\t\t\t\t\t\tonLoadEnd={this.onLoadEnded.bind(this)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</View>\n\t\t\t\t\t{this.renderFooter()}\n\t\t\t\t</View>\n\t\t\t</Modal>\n\t\t);\n\t}\n}\n\nconst styles = {\n\tcontainer: {\n\t\tflex: 1,\n\t\tposition: \"relative\",\n\t\tbackgroundColor: \"#000\",\n\t},\n\tinnerContainer: {\n\t\tflex: 1,\n\t\tpaddingLeft: 15,\n\t\tpaddingRight: 15,\n\t},\n\tmenuIcon: {\n\t\tfontSize: 25,\n\t\tpadding: 15,\n\t\twidth: 55,\n\t\ttextAlign: \"center\",\n\t\tcolor: \"#fff\",\n\t\tzIndex: 3,\n\t},\n\theaderContent: {\n\t\tflexDirection: \"row\",\n\t\talignItems: \"center\",\n\t\theight: 70,\n\t},\n\ttitleContainer: {\n\t\tflex: 1,\n\t},\n\ttitle: {\n\t\tcolor: \"#fff\",\n\t\tfontFamily: \"sf-semibold\",\n\t\tfontSize: 16,\n\t\ttextAlign: \"center\",\n\t},\n\tfooterContent: {\n\t\tflexDirection: \"row\",\n\t\talignItems: \"center\",\n\t\tjustifyContent: \"center\",\n\t\theight: 70,\n\t\t//alignSelf: 'flex-end'\n\t},\n\tchevron: {\n\t\tfontSize: 25,\n\t\tpadding: 15,\n\t\twidth: 55,\n\t\ttextAlign: \"center\",\n\t\tcolor: \"#fff\",\n\t\tzIndex: 3,\n\t},\n\tfooterText: {\n\t\tfontFamily: \"sf-regular\",\n\t\tfontSize: 14,\n\t\tcolor: \"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