react-native-stallion 1.1.2 → 2.0.0-alpha.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/android/src/main/java/com/stallion/Stallion.java +153 -9
- package/android/src/main/java/com/stallion/StallionModule.java +128 -167
- package/android/src/main/java/com/stallion/events/StallionEventConstants.java +22 -0
- package/android/src/main/java/com/stallion/events/StallionEventManager.java +160 -0
- package/android/src/main/java/com/stallion/networkmanager/StallionApiConstants.java +28 -0
- package/android/src/main/java/com/stallion/networkmanager/StallionApiManager.java +96 -0
- package/android/src/main/java/com/stallion/networkmanager/StallionDownloadCallback.java +7 -0
- package/android/src/main/java/com/stallion/networkmanager/StallionFileDownloader.java +224 -0
- package/android/src/main/java/com/stallion/networkmanager/StallionStageManager.java +77 -0
- package/android/src/main/java/com/stallion/networkmanager/StallionSyncHandler.java +183 -0
- package/android/src/main/java/com/stallion/storage/StallionConfig.java +120 -0
- package/android/src/main/java/com/stallion/storage/StallionConfigConstants.java +24 -0
- package/android/src/main/java/com/stallion/storage/StallionMeta.java +206 -0
- package/android/src/main/java/com/stallion/storage/StallionMetaConstants.java +30 -0
- package/android/src/main/java/com/stallion/storage/StallionStateManager.java +110 -0
- package/android/src/main/java/com/stallion/{StallionDefaultErrorActivity.java → utils/StallionErrorActivity.java} +11 -10
- package/android/src/main/java/com/stallion/utils/StallionExceptionHandler.java +102 -0
- package/android/src/main/java/com/stallion/utils/StallionFileManager.java +205 -0
- package/android/src/main/java/com/stallion/utils/StallionSlotManager.java +110 -0
- package/ios/main/Stallion-Bridging-Header.h +6 -1
- package/ios/main/Stallion.m +28 -9
- package/ios/main/Stallion.swift +132 -50
- package/ios/main/StallionConfig.h +24 -0
- package/ios/main/StallionConfig.m +62 -0
- package/ios/main/StallionConfigConstants.h +32 -0
- package/ios/main/StallionConfigConstants.m +32 -0
- package/ios/main/StallionConstants.swift +53 -10
- package/ios/main/StallionEventHandler.h +23 -0
- package/ios/main/StallionEventHandler.m +138 -0
- package/ios/main/StallionExceptionHandler.h +18 -0
- package/ios/main/StallionExceptionHandler.m +94 -0
- package/ios/main/StallionFileDownloader.swift +147 -0
- package/ios/main/StallionFileManager.h +20 -0
- package/ios/main/StallionFileManager.m +126 -0
- package/ios/main/StallionMeta.h +29 -0
- package/ios/main/StallionMeta.m +98 -0
- package/ios/main/StallionMetaConstants.h +28 -0
- package/ios/main/StallionMetaConstants.m +42 -0
- package/ios/main/StallionModule.m +137 -20
- package/ios/main/StallionObjConstants.h +47 -0
- package/ios/main/StallionObjConstants.m +128 -0
- package/ios/main/StallionSlotManager.h +21 -0
- package/ios/main/StallionSlotManager.m +114 -0
- package/ios/main/StallionStageManager.swift +84 -0
- package/ios/main/StallionStateManager.h +31 -0
- package/ios/main/StallionStateManager.m +87 -0
- package/ios/main/StallionSyncHandler.swift +212 -0
- package/package.json +6 -2
- package/src/index.js +5 -15
- package/src/index.js.map +1 -1
- package/src/main/components/common/ButtonFullWidth/styles.js +2 -2
- package/src/main/components/common/ButtonFullWidth/styles.js.map +1 -1
- package/src/main/components/common/Footer/index.js +24 -31
- package/src/main/components/common/Footer/index.js.map +1 -1
- package/src/main/components/common/Footer/styles.js +34 -33
- package/src/main/components/common/Footer/styles.js.map +1 -1
- package/src/main/components/common/Header/index.js +14 -17
- package/src/main/components/common/Header/index.js.map +1 -1
- package/src/main/components/common/Header/styles.js +10 -5
- package/src/main/components/common/Header/styles.js.map +1 -1
- package/src/main/components/common/Spinner/index.js +3 -1
- package/src/main/components/common/Spinner/index.js.map +1 -1
- package/src/main/components/modules/listing/components/BucketCard.js +3 -3
- package/src/main/components/modules/listing/components/BucketCard.js.map +1 -1
- package/src/main/components/modules/listing/components/BundleCard.js +9 -5
- package/src/main/components/modules/listing/components/BundleCard.js.map +1 -1
- package/src/main/components/modules/listing/components/BundleCardInfoSection.js +21 -12
- package/src/main/components/modules/listing/components/BundleCardInfoSection.js.map +1 -1
- package/src/main/components/modules/listing/components/CardDescriptionContent.js +3 -2
- package/src/main/components/modules/listing/components/CardDescriptionContent.js.map +1 -1
- package/src/main/components/modules/listing/components/ConfigView.js +19 -0
- package/src/main/components/modules/listing/components/ConfigView.js.map +1 -0
- package/src/main/components/modules/listing/components/MetaCard.js +38 -0
- package/src/main/components/modules/listing/components/MetaCard.js.map +1 -0
- package/src/main/components/modules/listing/components/SlotView.js +84 -0
- package/src/main/components/modules/listing/components/SlotView.js.map +1 -0
- package/src/main/components/modules/listing/components/styles/index.js +31 -10
- package/src/main/components/modules/listing/components/styles/index.js.map +1 -1
- package/src/main/components/modules/listing/hooks/useListing.js +5 -4
- package/src/main/components/modules/listing/hooks/useListing.js.map +1 -1
- package/src/main/components/modules/listing/index.js +12 -4
- package/src/main/components/modules/listing/index.js.map +1 -1
- package/src/main/components/modules/login/index.js +42 -38
- package/src/main/components/modules/login/index.js.map +1 -1
- package/src/main/components/modules/login/styles/index.js +21 -7
- package/src/main/components/modules/login/styles/index.js.map +1 -1
- package/src/main/components/modules/modal/StallionModal.js +28 -31
- package/src/main/components/modules/modal/StallionModal.js.map +1 -1
- package/src/main/components/modules/modal/hooks/useStallionModal.js +16 -52
- package/src/main/components/modules/modal/hooks/useStallionModal.js.map +1 -1
- package/src/main/components/modules/prod/index.js +3 -0
- package/src/main/components/modules/prod/index.js.map +1 -0
- package/src/main/components/modules/prod/prod.js +35 -0
- package/src/main/components/modules/prod/prod.js.map +1 -0
- package/src/main/components/modules/prod/styles/index.js +23 -0
- package/src/main/components/modules/prod/styles/index.js.map +1 -0
- package/src/main/constants/apiConstants.js +4 -2
- package/src/main/constants/apiConstants.js.map +1 -1
- package/src/main/constants/appConstants.js +43 -7
- package/src/main/constants/appConstants.js.map +1 -1
- package/src/main/constants/colors.js +8 -6
- package/src/main/constants/colors.js.map +1 -1
- package/src/main/state/actionCreators/useBucketActions.js +10 -13
- package/src/main/state/actionCreators/useBucketActions.js.map +1 -1
- package/src/main/state/actionCreators/useBundleActions.js +14 -17
- package/src/main/state/actionCreators/useBundleActions.js.map +1 -1
- package/src/main/state/actionCreators/useConfigActions.js +20 -0
- package/src/main/state/actionCreators/useConfigActions.js.map +1 -0
- package/src/main/state/actionCreators/useDownloadActions.js +20 -42
- package/src/main/state/actionCreators/useDownloadActions.js.map +1 -1
- package/src/main/state/actionCreators/useMetaActions.js +6 -5
- package/src/main/state/actionCreators/useMetaActions.js.map +1 -1
- package/src/main/state/actionCreators/useUpdateMetaActions.js +77 -0
- package/src/main/state/actionCreators/useUpdateMetaActions.js.map +1 -0
- package/src/main/state/actionCreators/useUserActions.js +25 -85
- package/src/main/state/actionCreators/useUserActions.js.map +1 -1
- package/src/main/state/actions/configActions.js +8 -0
- package/src/main/state/actions/configActions.js.map +1 -0
- package/src/main/state/actions/userActions.js +3 -15
- package/src/main/state/actions/userActions.js.map +1 -1
- package/src/main/state/index.js +30 -13
- package/src/main/state/index.js.map +1 -1
- package/src/main/state/reducers/configReducer.js +19 -0
- package/src/main/state/reducers/configReducer.js.map +1 -0
- package/src/main/state/reducers/updateMetaReducer.js +36 -0
- package/src/main/state/reducers/updateMetaReducer.js.map +1 -0
- package/src/main/state/reducers/userReducer.js +3 -37
- package/src/main/state/reducers/userReducer.js.map +1 -1
- package/src/main/state/useStallionEvents.js +102 -0
- package/src/main/state/useStallionEvents.js.map +1 -0
- package/src/main/utils/ErrorBoundary.js +19 -16
- package/src/main/utils/ErrorBoundary.js.map +1 -1
- package/src/main/utils/StallionEventEmitter.js +20 -0
- package/src/main/utils/StallionEventEmitter.js.map +1 -0
- package/src/main/utils/StallionNativeUtils.js +35 -0
- package/src/main/utils/StallionNativeUtils.js.map +1 -0
- package/src/main/utils/debounce.js +16 -0
- package/src/main/utils/debounce.js.map +1 -0
- package/src/main/utils/useApiClient.js +28 -0
- package/src/main/utils/useApiClient.js.map +1 -0
- package/src/main/utils/useStallionModal.js +4 -3
- package/src/main/utils/useStallionModal.js.map +1 -1
- package/src/main/utils/useStallionUpdate.js +14 -0
- package/src/main/utils/useStallionUpdate.js.map +1 -0
- package/src/main/utils/withStallion.js +1 -4
- package/src/main/utils/withStallion.js.map +1 -1
- package/src/types/config.types.js +5 -0
- package/src/types/config.types.js.map +1 -0
- package/src/types/meta.types.js +11 -0
- package/src/types/meta.types.js.map +1 -1
- package/src/types/updateMeta.types.js +7 -0
- package/src/types/updateMeta.types.js.map +1 -0
- package/src/types/user.types.js +1 -2
- package/src/types/user.types.js.map +1 -1
- package/types/index.d.ts +3 -0
- package/types/index.d.ts.map +1 -1
- package/types/main/components/common/Footer/index.d.ts +1 -4
- package/types/main/components/common/Footer/index.d.ts.map +1 -1
- package/types/main/components/common/Footer/styles.d.ts +30 -29
- package/types/main/components/common/Footer/styles.d.ts.map +1 -1
- package/types/main/components/common/Header/index.d.ts +0 -2
- package/types/main/components/common/Header/index.d.ts.map +1 -1
- package/types/main/components/common/Header/styles.d.ts +6 -1
- package/types/main/components/common/Header/styles.d.ts.map +1 -1
- package/types/main/components/common/Spinner/index.d.ts.map +1 -1
- package/types/main/components/modules/listing/components/BucketCard.d.ts.map +1 -1
- package/types/main/components/modules/listing/components/BundleCard.d.ts.map +1 -1
- package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts +2 -0
- package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts.map +1 -1
- package/types/main/components/modules/listing/components/CardDescriptionContent.d.ts.map +1 -1
- package/types/main/components/modules/listing/components/ConfigView.d.ts +8 -0
- package/types/main/components/modules/listing/components/ConfigView.d.ts.map +1 -0
- package/types/main/components/modules/listing/components/MetaCard.d.ts +8 -0
- package/types/main/components/modules/listing/components/MetaCard.d.ts.map +1 -0
- package/types/main/components/modules/listing/components/SlotView.d.ts +5 -0
- package/types/main/components/modules/listing/components/SlotView.d.ts.map +1 -0
- package/types/main/components/modules/listing/components/styles/index.d.ts +26 -5
- package/types/main/components/modules/listing/components/styles/index.d.ts.map +1 -1
- package/types/main/components/modules/listing/hooks/useListing.d.ts +2 -0
- package/types/main/components/modules/listing/hooks/useListing.d.ts.map +1 -1
- package/types/main/components/modules/listing/index.d.ts.map +1 -1
- package/types/main/components/modules/login/index.d.ts.map +1 -1
- package/types/main/components/modules/login/styles/index.d.ts +17 -3
- package/types/main/components/modules/login/styles/index.d.ts.map +1 -1
- package/types/main/components/modules/modal/StallionModal.d.ts.map +1 -1
- package/types/main/components/modules/modal/hooks/useStallionModal.d.ts +2 -11
- package/types/main/components/modules/modal/hooks/useStallionModal.d.ts.map +1 -1
- package/types/main/components/modules/prod/index.d.ts +3 -0
- package/types/main/components/modules/prod/index.d.ts.map +1 -0
- package/types/main/components/modules/prod/prod.d.ts +4 -0
- package/types/main/components/modules/prod/prod.d.ts.map +1 -0
- package/types/main/components/modules/prod/styles/index.d.ts +19 -0
- package/types/main/components/modules/prod/styles/index.d.ts.map +1 -0
- package/types/main/constants/apiConstants.d.ts +5 -3
- package/types/main/constants/apiConstants.d.ts.map +1 -1
- package/types/main/constants/appConstants.d.ts +40 -7
- package/types/main/constants/appConstants.d.ts.map +1 -1
- package/types/main/constants/colors.d.ts +2 -0
- package/types/main/constants/colors.d.ts.map +1 -1
- package/types/main/index.d.ts +1 -1
- package/types/main/state/actionCreators/useBucketActions.d.ts +2 -1
- package/types/main/state/actionCreators/useBucketActions.d.ts.map +1 -1
- package/types/main/state/actionCreators/useBundleActions.d.ts +2 -1
- package/types/main/state/actionCreators/useBundleActions.d.ts.map +1 -1
- package/types/main/state/actionCreators/useConfigActions.d.ts +7 -0
- package/types/main/state/actionCreators/useConfigActions.d.ts.map +1 -0
- package/types/main/state/actionCreators/useDownloadActions.d.ts +5 -2
- package/types/main/state/actionCreators/useDownloadActions.d.ts.map +1 -1
- package/types/main/state/actionCreators/useMetaActions.d.ts +1 -1
- package/types/main/state/actionCreators/useMetaActions.d.ts.map +1 -1
- package/types/main/state/actionCreators/useUpdateMetaActions.d.ts +8 -0
- package/types/main/state/actionCreators/useUpdateMetaActions.d.ts.map +1 -0
- package/types/main/state/actionCreators/useUserActions.d.ts +5 -7
- package/types/main/state/actionCreators/useUserActions.d.ts.map +1 -1
- package/types/main/state/actions/configActions.d.ts +3 -0
- package/types/main/state/actions/configActions.d.ts.map +1 -0
- package/types/main/state/actions/userActions.d.ts +2 -4
- package/types/main/state/actions/userActions.d.ts.map +1 -1
- package/types/main/state/index.d.ts.map +1 -1
- package/types/main/state/reducers/configReducer.d.ts +4 -0
- package/types/main/state/reducers/configReducer.d.ts.map +1 -0
- package/types/main/state/reducers/updateMetaReducer.d.ts +10 -0
- package/types/main/state/reducers/updateMetaReducer.d.ts.map +1 -0
- package/types/main/state/reducers/userReducer.d.ts.map +1 -1
- package/types/main/state/useStallionEvents.d.ts +12 -0
- package/types/main/state/useStallionEvents.d.ts.map +1 -0
- package/types/main/utils/ErrorBoundary.d.ts +1 -1
- package/types/main/utils/ErrorBoundary.d.ts.map +1 -1
- package/types/main/utils/StallionEventEmitter.d.ts +11 -0
- package/types/main/utils/StallionEventEmitter.d.ts.map +1 -0
- package/types/main/utils/StallionNativeUtils.d.ts +11 -0
- package/types/main/utils/StallionNativeUtils.d.ts.map +1 -0
- package/types/main/utils/debounce.d.ts +3 -0
- package/types/main/utils/debounce.d.ts.map +1 -0
- package/types/main/utils/useApiClient.d.ts +8 -0
- package/types/main/utils/useApiClient.d.ts.map +1 -0
- package/types/main/utils/useStallionUpdate.d.ts +3 -0
- package/types/main/utils/useStallionUpdate.d.ts.map +1 -0
- package/types/main/utils/withStallion.d.ts +1 -2
- package/types/main/utils/withStallion.d.ts.map +1 -1
- package/types/types/config.types.d.ts +16 -0
- package/types/types/config.types.d.ts.map +1 -0
- package/types/types/globalProvider.types.d.ts +10 -10
- package/types/types/globalProvider.types.d.ts.map +1 -1
- package/types/types/meta.types.d.ts +18 -3
- package/types/types/meta.types.d.ts.map +1 -1
- package/types/types/updateMeta.types.d.ts +37 -0
- package/types/types/updateMeta.types.d.ts.map +1 -0
- package/types/types/user.types.d.ts +5 -20
- package/types/types/user.types.d.ts.map +1 -1
- package/types/types/utils.types.d.ts +15 -11
- package/types/types/utils.types.d.ts.map +1 -1
- package/android/src/main/java/com/stallion/StallionConstants.java +0 -37
- package/android/src/main/java/com/stallion/StallionErrorBoundary.java +0 -49
- package/android/src/main/java/com/stallion/StallionStorage.java +0 -54
- package/android/src/main/java/com/stallion/StallionZip.java +0 -127
- package/ios/main/StallionDownloader.swift +0 -124
- package/ios/main/StallionErrorBoundary.h +0 -17
- package/ios/main/StallionErrorBoundary.m +0 -62
- package/ios/main/StallionUtil.swift +0 -29
- package/src/main/components/common/ProfileOverlay/index.js +0 -39
- package/src/main/components/common/ProfileOverlay/index.js.map +0 -1
- package/src/main/components/common/ProfileOverlay/styles.js +0 -39
- package/src/main/components/common/ProfileOverlay/styles.js.map +0 -1
- package/src/main/components/modules/login/components/Email.js +0 -41
- package/src/main/components/modules/login/components/Email.js.map +0 -1
- package/src/main/components/modules/login/components/Otp.js +0 -45
- package/src/main/components/modules/login/components/Otp.js.map +0 -1
- package/src/main/components/modules/login/components/styles/index.js +0 -28
- package/src/main/components/modules/login/components/styles/index.js.map +0 -1
- package/src/main/components/modules/login/hooks/useLoginFlow.js +0 -60
- package/src/main/components/modules/login/hooks/useLoginFlow.js.map +0 -1
- package/src/main/utils/SharedDataManager.js +0 -34
- package/src/main/utils/SharedDataManager.js.map +0 -1
- package/src/main/utils/StallionNaitveUtils.js +0 -7
- package/src/main/utils/StallionNaitveUtils.js.map +0 -1
- package/src/main/utils/apiUtils.js +0 -16
- package/src/main/utils/apiUtils.js.map +0 -1
- package/types/main/components/common/ProfileOverlay/index.d.ts +0 -10
- package/types/main/components/common/ProfileOverlay/index.d.ts.map +0 -1
- package/types/main/components/common/ProfileOverlay/styles.d.ts +0 -36
- package/types/main/components/common/ProfileOverlay/styles.d.ts.map +0 -1
- package/types/main/components/modules/login/components/Email.d.ts +0 -13
- package/types/main/components/modules/login/components/Email.d.ts.map +0 -1
- package/types/main/components/modules/login/components/Otp.d.ts +0 -12
- package/types/main/components/modules/login/components/Otp.d.ts.map +0 -1
- package/types/main/components/modules/login/components/styles/index.d.ts +0 -25
- package/types/main/components/modules/login/components/styles/index.d.ts.map +0 -1
- package/types/main/components/modules/login/hooks/useLoginFlow.d.ts +0 -18
- package/types/main/components/modules/login/hooks/useLoginFlow.d.ts.map +0 -1
- package/types/main/utils/SharedDataManager.d.ts +0 -18
- package/types/main/utils/SharedDataManager.d.ts.map +0 -1
- package/types/main/utils/StallionNaitveUtils.d.ts +0 -7
- package/types/main/utils/StallionNaitveUtils.d.ts.map +0 -1
- package/types/main/utils/apiUtils.d.ts +0 -7
- package/types/main/utils/apiUtils.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Component","View","StyleSheet","Text","ScrollView","SafeAreaView","Header","ButtonFullWidth","
|
|
1
|
+
{"version":3,"names":["React","Component","View","StyleSheet","Text","ScrollView","SafeAreaView","Header","ButtonFullWidth","getStallionMetaNative","HEADER_TITLE","STALLION_EB_BTN_TXT","STALLION_EB_INFO","STD_MARGIN","COLORS","SWITCH_STATES","ErrorBoundary","constructor","props","state","errorText","continueCrash","bind","componentDidCatch","error","_error$cause","errorString","name","message","cause","toString","stack","join","console","meta","switchState","STAGE","setState","requestAnimationFrame","Error","render","createElement","style","styles","ebContainer","title","ebContentContainer","ebInfoTextContainer","ebInfoText","buttonText","onPress","ebScrollContainer","contentContainerStyle","ebScrollContentContainer","ebErrorText","children","create","flex","flexDirection","justifyContent","alignItems","paddingHorizontal","width","marginVertical","flexGrow","textAlign","backgroundColor","black7","color","white"],"sourceRoot":"../../../../src","sources":["main/utils/ErrorBoundary.tsx"],"mappings":"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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
class EventEmitter {
|
|
2
|
+
events = [];
|
|
3
|
+
|
|
4
|
+
// Method to add event listener
|
|
5
|
+
addEventListener(listener) {
|
|
6
|
+
this.events.push(listener);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Method to remove event listener
|
|
10
|
+
removeEventListener(listenerToRemove) {
|
|
11
|
+
this.events = this.events.filter(listener => listener !== listenerToRemove);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// Method to emit an event
|
|
15
|
+
emit(data) {
|
|
16
|
+
this.events.forEach(listener => listener(data));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export const stallionEventEmitter = new EventEmitter();
|
|
20
|
+
//# sourceMappingURL=StallionEventEmitter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["EventEmitter","events","addEventListener","listener","push","removeEventListener","listenerToRemove","filter","emit","data","forEach","stallionEventEmitter"],"sourceRoot":"../../../../src","sources":["main/utils/StallionEventEmitter.ts"],"mappings":"AAIA,MAAMA,YAAY,CAAC;EACTC,MAAM,GAAoB,EAAE;;EAEpC;EACAC,gBAAgBA,CAACC,QAAuB,EAAQ;IAC9C,IAAI,CAACF,MAAM,CAACG,IAAI,CAACD,QAAQ,CAAC;EAC5B;;EAEA;EACAE,mBAAmBA,CAACC,gBAA+B,EAAQ;IACzD,IAAI,CAACL,MAAM,GAAG,IAAI,CAACA,MAAM,CAACM,MAAM,CAC7BJ,QAAQ,IAAKA,QAAQ,KAAKG,gBAC7B,CAAC;EACH;;EAEA;EACAE,IAAIA,CAACC,IAA+B,EAAQ;IAC1C,IAAI,CAACR,MAAM,CAACS,OAAO,CAAEP,QAAQ,IAAKA,QAAQ,CAACM,IAAI,CAAC,CAAC;EACnD;AACF;AAEA,OAAO,MAAME,oBAAoB,GAAG,IAAIX,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import StallionNativeModule from '../../StallionNativeModule';
|
|
2
|
+
export const setSdkTokenNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.updateSdkToken;
|
|
3
|
+
export const getStallionMetaNative = () => {
|
|
4
|
+
return new Promise((resolve, reject) => {
|
|
5
|
+
StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.getStallionMeta().then(metaString => {
|
|
6
|
+
try {
|
|
7
|
+
resolve(JSON.parse(metaString));
|
|
8
|
+
} catch (_) {
|
|
9
|
+
reject('invalid meta string');
|
|
10
|
+
}
|
|
11
|
+
}).catch(() => {
|
|
12
|
+
reject('failed to fetch meta string');
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
export const getStallionConfigNative = () => {
|
|
17
|
+
return new Promise((resolve, reject) => {
|
|
18
|
+
StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.getStallionConfig().then(configString => {
|
|
19
|
+
try {
|
|
20
|
+
resolve(JSON.parse(configString));
|
|
21
|
+
} catch (_) {
|
|
22
|
+
reject('invalid config string');
|
|
23
|
+
}
|
|
24
|
+
}).catch(() => {
|
|
25
|
+
reject('failed to fetch config string');
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
export const toggleStallionSwitchNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.toggleStallionSwitch;
|
|
30
|
+
export const downloadBundleNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.downloadStageBundle;
|
|
31
|
+
export const onLaunchNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.onLaunch;
|
|
32
|
+
export const sync = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.sync;
|
|
33
|
+
export const popEventsNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.popEvents;
|
|
34
|
+
export const acknowledgeEventsNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.acknowledgeEvents;
|
|
35
|
+
//# sourceMappingURL=StallionNativeUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StallionNativeModule","setSdkTokenNative","updateSdkToken","getStallionMetaNative","Promise","resolve","reject","getStallionMeta","then","metaString","JSON","parse","_","catch","getStallionConfigNative","getStallionConfig","configString","toggleStallionSwitchNative","toggleStallionSwitch","downloadBundleNative","downloadStageBundle","onLaunchNative","onLaunch","sync","popEventsNative","popEvents","acknowledgeEventsNative","acknowledgeEvents"],"sourceRoot":"../../../../src","sources":["main/utils/StallionNativeUtils.ts"],"mappings":"AAAA,OAAOA,oBAAoB,MAAM,4BAA4B;AAW7D,OAAO,MAAMC,iBAAqC,GAChDD,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEE,cAAc;AAEtC,OAAO,MAAMC,qBAA6C,GAAGA,CAAA,KAAM;EACjE,OAAO,IAAIC,OAAO,CAAC,CAACC,OAAO,EAAEC,MAAM,KAAK;IACtCN,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEO,eAAe,CAAC,CAAC,CACpCC,IAAI,CAAEC,UAAkB,IAAK;MAC5B,IAAI;QACFJ,OAAO,CAACK,IAAI,CAACC,KAAK,CAACF,UAAU,CAAC,CAAC;MACjC,CAAC,CAAC,OAAOG,CAAC,EAAE;QACVN,MAAM,CAAC,qBAAqB,CAAC;MAC/B;IACF,CAAC,CAAC,CACDO,KAAK,CAAC,MAAM;MACXP,MAAM,CAAC,6BAA6B,CAAC;IACvC,CAAC,CAAC;EACN,CAAC,CAAC;AACJ,CAAC;AAED,OAAO,MAAMQ,uBAAiD,GAAGA,CAAA,KAAM;EACrE,OAAO,IAAIV,OAAO,CAAC,CAACC,OAAO,EAAEC,MAAM,KAAK;IACtCN,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEe,iBAAiB,CAAC,CAAC,CACtCP,IAAI,CAAEQ,YAAoB,IAAK;MAC9B,IAAI;QACFX,OAAO,CAACK,IAAI,CAACC,KAAK,CAACK,YAAY,CAAC,CAAC;MACnC,CAAC,CAAC,OAAOJ,CAAC,EAAE;QACVN,MAAM,CAAC,uBAAuB,CAAC;MACjC;IACF,CAAC,CAAC,CACDO,KAAK,CAAC,MAAM;MACXP,MAAM,CAAC,+BAA+B,CAAC;IACzC,CAAC,CAAC;EACN,CAAC,CAAC;AACJ,CAAC;AAED,OAAO,MAAMW,0BAAuD,GAClEjB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEkB,oBAAoB;AAE5C,OAAO,MAAMC,oBAA2C,GACtDnB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEoB,mBAAmB;AAE3C,OAAO,MAAMC,cAAqC,GAChDrB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEsB,QAAQ;AAEhC,OAAO,MAAMC,IAAgB,GAAGvB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEuB,IAAI;AAE1D,OAAO,MAAMC,eAAsC,GACjDxB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEyB,SAAS;AAEjC,OAAO,MAAMC,uBAA8D,GACzE1B,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAE2B,iBAAiB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function debounce(func, delay) {
|
|
2
|
+
let timeoutId = null;
|
|
3
|
+
return function () {
|
|
4
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
5
|
+
args[_key] = arguments[_key];
|
|
6
|
+
}
|
|
7
|
+
if (timeoutId) {
|
|
8
|
+
clearTimeout(timeoutId);
|
|
9
|
+
}
|
|
10
|
+
timeoutId = setTimeout(() => {
|
|
11
|
+
func(...args);
|
|
12
|
+
}, delay);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export default debounce;
|
|
16
|
+
//# sourceMappingURL=debounce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["debounce","func","delay","timeoutId","_len","arguments","length","args","Array","_key","clearTimeout","setTimeout"],"sourceRoot":"../../../../src","sources":["main/utils/debounce.ts"],"mappings":"AAAA,SAASA,QAAQA,CACfC,IAAO,EACPC,KAAa,EACqB;EAClC,IAAIC,SAA+C,GAAG,IAAI;EAE1D,OAAO,YAA4B;IAAA,SAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAxBC,IAAI,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA;MAAJF,IAAI,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA;IAAA;IACb,IAAIN,SAAS,EAAE;MACbO,YAAY,CAACP,SAAS,CAAC;IACzB;IAEAA,SAAS,GAAGQ,UAAU,CAAC,MAAM;MAC3BV,IAAI,CAAC,GAAGM,IAAI,CAAC;IACf,CAAC,EAAEL,KAAK,CAAC;EACX,CAAC;AACH;AAEA,eAAeF,QAAQ"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useCallback } from 'react';
|
|
2
|
+
import { API_BASE_URL } from '../constants/apiConstants';
|
|
3
|
+
export const useApiClient = (configState, authHandler) => {
|
|
4
|
+
const getData = useCallback((apiPath, apiBody) => {
|
|
5
|
+
const dataRequest = fetch(API_BASE_URL + apiPath, {
|
|
6
|
+
method: 'POST',
|
|
7
|
+
body: JSON.stringify(apiBody),
|
|
8
|
+
headers: {
|
|
9
|
+
'Accept': 'application/json',
|
|
10
|
+
'Content-Type': 'application/json',
|
|
11
|
+
'x-app-token': configState.appToken || '',
|
|
12
|
+
'x-sdk-pin-access-token': configState.sdkToken || ''
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
if (authHandler) {
|
|
16
|
+
return dataRequest.then(res => {
|
|
17
|
+
if (res.status === 401) {
|
|
18
|
+
authHandler(true);
|
|
19
|
+
}
|
|
20
|
+
return res.json();
|
|
21
|
+
});
|
|
22
|
+
} else return dataRequest.then(res => res.json());
|
|
23
|
+
}, [configState, authHandler]);
|
|
24
|
+
return {
|
|
25
|
+
getData
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=useApiClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useCallback","API_BASE_URL","useApiClient","configState","authHandler","getData","apiPath","apiBody","dataRequest","fetch","method","body","JSON","stringify","headers","appToken","sdkToken","then","res","status","json"],"sourceRoot":"../../../../src","sources":["main/utils/useApiClient.ts"],"mappings":"AAAA,SAASA,WAAW,QAAQ,OAAO;AACnC,SAASC,YAAY,QAAmB,2BAA2B;AAKnE,OAAO,MAAMC,YAAY,GAAGA,CAC1BC,WAAgC,EAChCC,WAA0B,KACvB;EACH,MAAMC,OAAO,GAAGL,WAAW,CACzB,CAACM,OAAkB,EAAEC,OAAe,KAAmB;IACrD,MAAMC,WAAW,GAAGC,KAAK,CAACR,YAAY,GAAGK,OAAO,EAAE;MAChDI,MAAM,EAAE,MAAM;MACdC,IAAI,EAAEC,IAAI,CAACC,SAAS,CAACN,OAAO,CAAC;MAC7BO,OAAO,EAAE;QACP,QAAQ,EAAE,kBAAkB;QAC5B,cAAc,EAAE,kBAAkB;QAClC,aAAa,EAAEX,WAAW,CAACY,QAAQ,IAAI,EAAE;QACzC,wBAAwB,EAAEZ,WAAW,CAACa,QAAQ,IAAI;MACpD;IACF,CAAC,CAAC;IACF,IAAIZ,WAAW,EAAE;MACf,OAAOI,WAAW,CAACS,IAAI,CAAEC,GAAG,IAAK;QAC/B,IAAIA,GAAG,CAACC,MAAM,KAAK,GAAG,EAAE;UACtBf,WAAW,CAAC,IAAI,CAAC;QACnB;QACA,OAAOc,GAAG,CAACE,IAAI,CAAC,CAAC;MACnB,CAAC,CAAC;IACJ,CAAC,MAAM,OAAOZ,WAAW,CAACS,IAAI,CAAEC,GAAG,IAAKA,GAAG,CAACE,IAAI,CAAC,CAAC,CAAC;EACrD,CAAC,EACD,CAACjB,WAAW,EAAEC,WAAW,CAC3B,CAAC;EACD,OAAO;IACLC;EACF,CAAC;AACH,CAAC"}
|
|
@@ -3,13 +3,14 @@ import { GlobalContext } from '../../main/state';
|
|
|
3
3
|
const useStallionModal = () => {
|
|
4
4
|
const {
|
|
5
5
|
actions: {
|
|
6
|
-
setIsModalVisible
|
|
6
|
+
setIsModalVisible,
|
|
7
|
+
refreshMeta
|
|
7
8
|
}
|
|
8
9
|
} = useContext(GlobalContext);
|
|
9
10
|
const showModal = useCallback(() => {
|
|
10
11
|
setIsModalVisible(true);
|
|
11
|
-
|
|
12
|
-
}, []);
|
|
12
|
+
refreshMeta();
|
|
13
|
+
}, [setIsModalVisible, refreshMeta]);
|
|
13
14
|
return {
|
|
14
15
|
showModal
|
|
15
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useContext","useCallback","GlobalContext","useStallionModal","actions","setIsModalVisible","showModal"],"sourceRoot":"../../../../src","sources":["main/utils/useStallionModal.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,WAAW,QAAQ,OAAO;AAE/C,SAASC,aAAa,QAAQ,kBAAkB;AAGhD,MAAMC,gBAAgB,GAAGA,CAAA,KAAyB;EAChD,MAAM;IACJC,OAAO,EAAE;MAAEC;
|
|
1
|
+
{"version":3,"names":["useContext","useCallback","GlobalContext","useStallionModal","actions","setIsModalVisible","refreshMeta","showModal"],"sourceRoot":"../../../../src","sources":["main/utils/useStallionModal.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,WAAW,QAAQ,OAAO;AAE/C,SAASC,aAAa,QAAQ,kBAAkB;AAGhD,MAAMC,gBAAgB,GAAGA,CAAA,KAAyB;EAChD,MAAM;IACJC,OAAO,EAAE;MAAEC,iBAAiB;MAAEC;IAAY;EAC5C,CAAC,GAAGN,UAAU,CAACE,aAAa,CAAC;EAC7B,MAAMK,SAAS,GAAGN,WAAW,CAAC,MAAM;IAClCI,iBAAiB,CAAC,IAAI,CAAC;IACvBC,WAAW,CAAC,CAAC;EACf,CAAC,EAAE,CAACD,iBAAiB,EAAEC,WAAW,CAAC,CAAC;EACpC,OAAO;IACLC;EACF,CAAC;AACH,CAAC;AAED,eAAeJ,gBAAgB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useContext } from 'react';
|
|
2
|
+
import { GlobalContext } from '../state';
|
|
3
|
+
export const useStallionUpdate = () => {
|
|
4
|
+
var _updateMetaState$newB;
|
|
5
|
+
const {
|
|
6
|
+
updateMetaState
|
|
7
|
+
} = useContext(GlobalContext);
|
|
8
|
+
return {
|
|
9
|
+
isRestartRequired: updateMetaState !== null && updateMetaState !== void 0 && (_updateMetaState$newB = updateMetaState.newBundle) !== null && _updateMetaState$newB !== void 0 && _updateMetaState$newB.id ? true : false,
|
|
10
|
+
currentlyRunningBundle: updateMetaState === null || updateMetaState === void 0 ? void 0 : updateMetaState.currentlyRunningBundle,
|
|
11
|
+
newReleaseBundle: updateMetaState === null || updateMetaState === void 0 ? void 0 : updateMetaState.newBundle
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=useStallionUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","GlobalContext","useStallionUpdate","_updateMetaState$newB","updateMetaState","isRestartRequired","newBundle","id","currentlyRunningBundle","newReleaseBundle"],"sourceRoot":"../../../../src","sources":["main/utils/useStallionUpdate.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,OAAO;AAElC,SAASC,aAAa,QAAQ,UAAU;AAGxC,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAA0B;EAAA,IAAAC,qBAAA;EACzD,MAAM;IAAEC;EAAgB,CAAC,GAAGJ,UAAU,CAACC,aAAa,CAAC;EACrD,OAAO;IACLI,iBAAiB,EAAED,eAAe,aAAfA,eAAe,gBAAAD,qBAAA,GAAfC,eAAe,CAAEE,SAAS,cAAAH,qBAAA,eAA1BA,qBAAA,CAA4BI,EAAE,GAAG,IAAI,GAAG,KAAK;IAChEC,sBAAsB,EAAEJ,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEI,sBAAsB;IAC/DC,gBAAgB,EAAEL,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEE;EACrC,CAAC;AACH,CAAC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import GlobalProvider from '../state';
|
|
3
3
|
import ErrorBoundary from './ErrorBoundary';
|
|
4
|
-
import SharedDataManager from './SharedDataManager';
|
|
5
4
|
import StallionModal from '../components/modules/modal/StallionModal';
|
|
6
|
-
const withStallion =
|
|
7
|
-
var _SharedDataManager$ge;
|
|
8
|
-
(_SharedDataManager$ge = SharedDataManager.getInstance()) === null || _SharedDataManager$ge === void 0 ? void 0 : _SharedDataManager$ge.setInitProjectId((initPrams === null || initPrams === void 0 ? void 0 : initPrams.projectId) || '');
|
|
5
|
+
const withStallion = BaseComponent => {
|
|
9
6
|
const StallionProvider = _ref => {
|
|
10
7
|
let {
|
|
11
8
|
children,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","GlobalProvider","ErrorBoundary","
|
|
1
|
+
{"version":3,"names":["React","GlobalProvider","ErrorBoundary","StallionModal","withStallion","BaseComponent","StallionProvider","_ref","children","props","createElement"],"sourceRoot":"../../../../src","sources":["main/utils/withStallion.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAyB,OAAO;AAE5C,OAAOC,cAAc,MAAM,UAAU;AACrC,OAAOC,aAAa,MAAM,iBAAiB;AAE3C,OAAOC,aAAa,MAAM,2CAA2C;AAErE,MAAMC,YAAY,GAAQC,aAA+B,IAAK;EAC5D,MAAMC,gBAA6B,GAAGC,IAAA,IAA4B;IAAA,IAA3B;MAAEC,QAAQ;MAAE,GAAGC;IAAM,CAAC,GAAAF,IAAA;IAC3D,oBACEP,KAAA,CAAAU,aAAA,CAACR,aAAa,qBACZF,KAAA,CAAAU,aAAA,CAACT,cAAc,qBACbD,KAAA,CAAAU,aAAA,CAACL,aAAa,EAAMI,KAAK,EAASD,QAAwB,CAAC,eAC3DR,KAAA,CAAAU,aAAA,CAACP,aAAa,MAAE,CACF,CACH,CAAC;EAEpB,CAAC;EACD,OAAOG,gBAAgB;AACzB,CAAC;AAED,eAAeF,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ConfigActionKind"],"sourceRoot":"../../../src","sources":["types/config.types.ts"],"mappings":"AAQA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
|
package/src/types/meta.types.js
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
export let SWITCH_STATES = /*#__PURE__*/function (SWITCH_STATES) {
|
|
2
|
+
SWITCH_STATES["PROD"] = "PROD";
|
|
3
|
+
SWITCH_STATES["STAGE"] = "STAGE";
|
|
4
|
+
return SWITCH_STATES;
|
|
5
|
+
}({});
|
|
6
|
+
export let SLOT_STATES = /*#__PURE__*/function (SLOT_STATES) {
|
|
7
|
+
SLOT_STATES["STABLE"] = "STABLE_SLOT";
|
|
8
|
+
SLOT_STATES["NEW"] = "NEW_SLOT";
|
|
9
|
+
SLOT_STATES["DEFAULT"] = "DEFAULT_SLOT";
|
|
10
|
+
return SLOT_STATES;
|
|
11
|
+
}({});
|
|
1
12
|
export let MetaActionKind = /*#__PURE__*/function (MetaActionKind) {
|
|
2
13
|
MetaActionKind["SET_META"] = "SET_META";
|
|
3
14
|
MetaActionKind["GET_META"] = "GET_META";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MetaActionKind"],"sourceRoot":"../../../src","sources":["types/meta.types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["SWITCH_STATES","SLOT_STATES","MetaActionKind"],"sourceRoot":"../../../src","sources":["types/meta.types.ts"],"mappings":"AAAA,WAAYA,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAKzB,WAAYC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;AAmBvB,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export let UpdateMetaActionKind = /*#__PURE__*/function (UpdateMetaActionKind) {
|
|
2
|
+
UpdateMetaActionKind["SET_CURRENTLY_RUNNING_META"] = "SET_CURRENTLY_RUNNING_META";
|
|
3
|
+
UpdateMetaActionKind["SET_NEW_BUNDLE_META"] = "SET_NEW_BUNDLE_META";
|
|
4
|
+
UpdateMetaActionKind["SET_INIT_PROD_SLOT"] = "SET_INIT_PROD_SLOT";
|
|
5
|
+
return UpdateMetaActionKind;
|
|
6
|
+
}({});
|
|
7
|
+
//# sourceMappingURL=updateMeta.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["UpdateMetaActionKind"],"sourceRoot":"../../../src","sources":["types/updateMeta.types.ts"],"mappings":"AAmBA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA"}
|
package/src/types/user.types.js
CHANGED
|
@@ -2,8 +2,7 @@ export let UserActionKind = /*#__PURE__*/function (UserActionKind) {
|
|
|
2
2
|
UserActionKind["SET_USER_LOADING"] = "SET_USER_LOADING";
|
|
3
3
|
UserActionKind["SET_USER_DATA"] = "SET_USER_DATA";
|
|
4
4
|
UserActionKind["SET_USER_ERROR"] = "SET_USER_ERROR";
|
|
5
|
-
UserActionKind["
|
|
6
|
-
UserActionKind["SET_LOGIN_REQUIRED"] = "SET_LOGIN_REQUIRED";
|
|
5
|
+
UserActionKind["SET_SDK_TOKEN"] = "SET_SDK_TOKEN";
|
|
7
6
|
return UserActionKind;
|
|
8
7
|
}({});
|
|
9
8
|
//# sourceMappingURL=user.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["UserActionKind"],"sourceRoot":"../../../src","sources":["types/user.types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["UserActionKind"],"sourceRoot":"../../../src","sources":["types/user.types.ts"],"mappings":"AAMA,WAAYA,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { IUseStallionModal, IWithStallion } from './types/utils.types';
|
|
2
2
|
export declare let withStallion: IWithStallion;
|
|
3
3
|
export declare let useStallionModal: () => IUseStallionModal;
|
|
4
|
+
export { sync } from './main/utils/StallionNativeUtils';
|
|
5
|
+
export { useStallionUpdate } from './main/utils/useStallionUpdate';
|
|
6
|
+
export declare const addEventListener: (listener: (data?: import("./main/state/useStallionEvents").IStallionNativeEventData | undefined) => void) => void;
|
|
4
7
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGvE,eAAO,IAAI,YAAY,EAAE,aAAa,CAAC;AACvC,eAAO,IAAI,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAWrD,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,eAAO,MAAM,gBAAgB,oHACqC,CAAC"}
|
|
@@ -2,11 +2,8 @@ import React from 'react';
|
|
|
2
2
|
interface IFooter {
|
|
3
3
|
switchIsOn?: boolean;
|
|
4
4
|
onSwitchToggle?: (newSwitchStatus: boolean) => void;
|
|
5
|
-
activeBundle?: {
|
|
6
|
-
bucketName: string;
|
|
7
|
-
version: string;
|
|
8
|
-
};
|
|
9
5
|
errorMessage?: string | null;
|
|
6
|
+
isRestartRequired?: boolean;
|
|
10
7
|
}
|
|
11
8
|
declare const _default: React.NamedExoticComponent<IFooter>;
|
|
12
9
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAUjD,UAAU,OAAO;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;;AAgED,wBAA4B"}
|
|
@@ -22,54 +22,55 @@ declare const styles: {
|
|
|
22
22
|
alignItems: "center";
|
|
23
23
|
justifyContent: "center";
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
restartInfoSection: {
|
|
26
|
+
height: number;
|
|
27
|
+
backgroundColor: string;
|
|
28
|
+
alignItems: "center";
|
|
29
|
+
justifyContent: "center";
|
|
30
|
+
};
|
|
31
|
+
ribbonMessage: {
|
|
26
32
|
fontSize: number;
|
|
27
33
|
color: string;
|
|
28
34
|
marginHorizontal: number;
|
|
35
|
+
fontWeight: "bold";
|
|
29
36
|
};
|
|
30
37
|
footerContainer: {
|
|
31
38
|
paddingHorizontal: number;
|
|
32
39
|
paddingVertical: number;
|
|
33
40
|
flexDirection: "row";
|
|
34
|
-
justifyContent: "
|
|
41
|
+
justifyContent: "center";
|
|
35
42
|
alignItems: "center";
|
|
36
43
|
backgroundColor: string;
|
|
37
44
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
marginTop: number;
|
|
45
|
-
color: string;
|
|
46
|
-
};
|
|
47
|
-
alignCenter: {
|
|
45
|
+
switchContainer: {
|
|
46
|
+
borderWidth: number;
|
|
47
|
+
borderColor: string;
|
|
48
|
+
padding: number;
|
|
49
|
+
flexDirection: "row";
|
|
50
|
+
justifyContent: "center";
|
|
48
51
|
alignItems: "center";
|
|
52
|
+
borderRadius: number;
|
|
49
53
|
};
|
|
50
|
-
|
|
51
|
-
flex: number;
|
|
52
|
-
justifyContent: "flex-start";
|
|
53
|
-
};
|
|
54
|
-
dividerSection2: {
|
|
54
|
+
tabContainer: {
|
|
55
55
|
flex: number;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
flexDirection: "column";
|
|
57
|
+
justifyContent: "center";
|
|
58
|
+
alignContent: "center";
|
|
59
|
+
padding: number;
|
|
60
|
+
borderRadius: number;
|
|
60
61
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
color: string;
|
|
62
|
+
tabSelected: {
|
|
63
|
+
backgroundColor: string;
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
titleSelected: {
|
|
66
|
+
fontSize: number;
|
|
66
67
|
color: string;
|
|
67
68
|
};
|
|
68
|
-
|
|
69
|
+
titleBasic: {
|
|
70
|
+
textAlign: "center";
|
|
71
|
+
fontSize: number;
|
|
69
72
|
color: string;
|
|
70
|
-
|
|
71
|
-
switchButton: {
|
|
72
|
-
marginTop: number;
|
|
73
|
+
fontWeight: "bold";
|
|
73
74
|
};
|
|
74
75
|
};
|
|
75
76
|
export default styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/styles.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/styles.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IHeader {
|
|
3
|
-
userName?: string | null;
|
|
4
3
|
title?: string | null;
|
|
5
4
|
onBackPress?: (() => void) | null;
|
|
6
5
|
onClosePress?: () => void;
|
|
7
|
-
onProfilePress?: () => void;
|
|
8
6
|
}
|
|
9
7
|
declare const _default: React.NamedExoticComponent<IHeader>;
|
|
10
8
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,UAAU,OAAO;IACf,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,UAAU,OAAO;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;;AAqDD,wBAA4B"}
|
|
@@ -20,7 +20,6 @@ declare const styles: {
|
|
|
20
20
|
flex: number;
|
|
21
21
|
justifyContent: "center";
|
|
22
22
|
alignItems: "flex-end";
|
|
23
|
-
padding: number;
|
|
24
23
|
};
|
|
25
24
|
headerProfileButton: {
|
|
26
25
|
height: number;
|
|
@@ -29,6 +28,7 @@ declare const styles: {
|
|
|
29
28
|
justifyContent: "center";
|
|
30
29
|
alignItems: "center";
|
|
31
30
|
backgroundColor: string;
|
|
31
|
+
marginLeft: number;
|
|
32
32
|
};
|
|
33
33
|
headerCenterSection: {
|
|
34
34
|
flex: number;
|
|
@@ -40,9 +40,14 @@ declare const styles: {
|
|
|
40
40
|
color: string;
|
|
41
41
|
fontWeight: "bold";
|
|
42
42
|
};
|
|
43
|
+
actionButtonClickable: {
|
|
44
|
+
padding: number;
|
|
45
|
+
};
|
|
43
46
|
actionButtonText: {
|
|
44
47
|
fontSize: number;
|
|
45
48
|
color: string;
|
|
49
|
+
fontWeight: "bold";
|
|
50
|
+
textDecorationLine: "underline";
|
|
46
51
|
};
|
|
47
52
|
alignStart: {
|
|
48
53
|
alignItems: "flex-start";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/styles.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;AAQpC,wBAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BucketCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BucketCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"BucketCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BucketCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAIhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;;AA6BD,wBAAgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BundleCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BundleCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;;AAqCD,wBAAgC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IBundleCardInfoSection {
|
|
3
|
+
id: string;
|
|
3
4
|
name: string;
|
|
4
5
|
updatedAt: string;
|
|
5
6
|
description?: string;
|
|
6
7
|
version?: number;
|
|
7
8
|
author?: string;
|
|
9
|
+
isDownloaded?: boolean;
|
|
8
10
|
isApplied?: boolean;
|
|
9
11
|
downloadUrl: string;
|
|
10
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BundleCardInfoSection.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCardInfoSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BundleCardInfoSection.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCardInfoSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAuBtE,UAAU,sBAAsB;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;;AAwFD,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDescriptionContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/CardDescriptionContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CardDescriptionContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/CardDescriptionContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,uBAAuB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B;AACD,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAU7D,CAAC;AAiBF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IStallionConfigJson } from '../../../../../types/config.types';
|
|
3
|
+
interface IConfigView {
|
|
4
|
+
config: IStallionConfigJson;
|
|
5
|
+
}
|
|
6
|
+
declare const ConfigView: React.FC<IConfigView>;
|
|
7
|
+
export default ConfigView;
|
|
8
|
+
//# sourceMappingURL=ConfigView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigView.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/ConfigView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,UAAU,WAAW;IACnB,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAWrC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetaCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/MetaCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,UAAU,SAAS;IACjB,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqBjC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlotView.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/SlotView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,iBAAiB,EAElB,MAAM,iCAAiC,CAAC;AAkDzC,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiCzC,CAAC;AA2BF,eAAe,QAAQ,CAAC"}
|
|
@@ -11,6 +11,8 @@ declare const styles: {
|
|
|
11
11
|
shadowOpacity: number;
|
|
12
12
|
elevation: number;
|
|
13
13
|
shadowRadius: number;
|
|
14
|
+
borderWidth: number;
|
|
15
|
+
borderColor: string;
|
|
14
16
|
};
|
|
15
17
|
infoSection: {
|
|
16
18
|
width: string;
|
|
@@ -23,23 +25,36 @@ declare const styles: {
|
|
|
23
25
|
flexDirection: "row";
|
|
24
26
|
justifyContent: "space-between";
|
|
25
27
|
alignItems: "center";
|
|
28
|
+
padding: number;
|
|
29
|
+
};
|
|
30
|
+
colContainer: {
|
|
31
|
+
flexDirection: "column";
|
|
32
|
+
};
|
|
33
|
+
downloadButton: {
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
padding: number;
|
|
36
|
+
borderRadius: number;
|
|
26
37
|
};
|
|
27
38
|
appliedText: {
|
|
28
39
|
color: string;
|
|
29
40
|
fontWeight: "bold";
|
|
30
41
|
fontSize: number;
|
|
31
42
|
};
|
|
32
|
-
container: {
|
|
43
|
+
container: {};
|
|
44
|
+
metaConainer: {
|
|
45
|
+
backgroundColor: string;
|
|
33
46
|
margin: number;
|
|
47
|
+
borderRadius: number;
|
|
48
|
+
padding: number;
|
|
34
49
|
};
|
|
35
50
|
divider: {
|
|
36
51
|
borderBottomWidth: number;
|
|
37
52
|
opacity: number;
|
|
38
|
-
|
|
53
|
+
marginBottom: number;
|
|
39
54
|
};
|
|
40
55
|
subText: {
|
|
41
56
|
fontSize: number;
|
|
42
|
-
|
|
57
|
+
marginVertical: number;
|
|
43
58
|
color: string;
|
|
44
59
|
};
|
|
45
60
|
titleText: {
|
|
@@ -52,13 +67,19 @@ declare const styles: {
|
|
|
52
67
|
releaseNoteText: {
|
|
53
68
|
fontSize: number;
|
|
54
69
|
fontWeight: "500";
|
|
55
|
-
marginTop: number;
|
|
56
70
|
color: string;
|
|
57
71
|
};
|
|
58
72
|
releaseNoteDescriptionText: {
|
|
59
73
|
fontSize: number;
|
|
60
|
-
|
|
74
|
+
width: string;
|
|
61
75
|
color: string;
|
|
76
|
+
marginLeft: number;
|
|
77
|
+
};
|
|
78
|
+
descContainer: {
|
|
79
|
+
flexDirection: "row";
|
|
80
|
+
alignItems: "center";
|
|
81
|
+
padding: number;
|
|
82
|
+
backgroundColor: string;
|
|
62
83
|
};
|
|
63
84
|
};
|
|
64
85
|
export default styles;
|