@wavemaker/app-rn-runtime 11.10.3-next.27794 → 11.10.3-next.27802

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/components/advanced/carousel/carousel.component.js +0 -1
  2. package/components/advanced/carousel/carousel.component.js.map +1 -1
  3. package/components/basic/picture/picture.component.js +7 -91
  4. package/components/basic/picture/picture.component.js.map +1 -1
  5. package/components/basic/picture/picture.props.js +0 -1
  6. package/components/basic/picture/picture.props.js.map +1 -1
  7. package/components/basic/video/video.component.js +4 -34
  8. package/components/basic/video/video.component.js.map +1 -1
  9. package/components/basic/video/video.props.js +0 -1
  10. package/components/basic/video/video.props.js.map +1 -1
  11. package/components/basic/video/video.styles.js +0 -13
  12. package/components/basic/video/video.styles.js.map +1 -1
  13. package/components/chart/area-chart/area-chart.component.js +23 -31
  14. package/components/chart/area-chart/area-chart.component.js.map +1 -1
  15. package/components/chart/bar-chart/bar-chart.component.js +23 -31
  16. package/components/chart/bar-chart/bar-chart.component.js.map +1 -1
  17. package/components/chart/basechart.component.js +10 -3
  18. package/components/chart/basechart.component.js.map +1 -1
  19. package/components/chart/bubble-chart/bubble-chart.component.js +23 -31
  20. package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
  21. package/components/chart/line-chart/line-chart.component.js +23 -31
  22. package/components/chart/line-chart/line-chart.component.js.map +1 -1
  23. package/components/chart/pie-chart/pie-chart.component.js +22 -29
  24. package/components/chart/pie-chart/pie-chart.component.js.map +1 -1
  25. package/components/chart/stack-chart/stack-chart.component.js +26 -36
  26. package/components/chart/stack-chart/stack-chart.component.js.map +1 -1
  27. package/components/page/page-content/page-content.component.js +3 -4
  28. package/components/page/page-content/page-content.component.js.map +1 -1
  29. package/core/AppConfig.js.map +1 -1
  30. package/core/base.component.js +3 -7
  31. package/core/base.component.js.map +1 -1
  32. package/core/fixed-view.component.js +3 -5
  33. package/core/fixed-view.component.js.map +1 -1
  34. package/core/utils.js +5 -5
  35. package/core/utils.js.map +1 -1
  36. package/gestures/swipe.animation.js +7 -10
  37. package/gestures/swipe.animation.js.map +1 -1
  38. package/npm-shrinkwrap.json +39 -32
  39. package/package-lock.json +39 -32
  40. package/package.json +2 -2
  41. package/runtime/App.js +9 -18
  42. package/runtime/App.js.map +1 -1
  43. package/styles/style-props.js +1 -9
  44. package/styles/style-props.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"names":["isNil","React","Animated","Easing","View","RNView","Gesture","GestureDetector","isWebPreviewMode","injector","Handlers","constructor","_defineProperty","Props","undefined","State","Number","MAX_VALUE","Component","props","Pan","Value","I18nService","get","state","isHorizontal","direction","threshold","bounds","touchStart","x","y","active","swipeDirection","gesture","minPointers","minDistance","enabled","enableGestures","onTouchesDown","e","s","changedTouches","onTouchesMove","translationX","allTouches","translationY","Math","abs","d","od","activeOffsetX","failOffsetY","onChange","_this$props$handlers","_this$props$handlers2","handlers","phase","computePhase","center","lower","upper","animationPhase","setValue","position","isRTL","onEnd","_this$props$handlers3","_this$props$handlers4","onAnimation","goToLower","goToUpper","computeMaxScroll","_this$viewLayout2","max","childrenWidth","childrenLayout","reduce","v","width","childrenHeight","height","_this$viewLayout","viewLayout","setState","maxPosition","setChildrenLayout","event","index","nativeEvent","layout","setViewLayout","value","_this$props$handlers5","_this$props$handlers6","i18nService","isRTLLocale","_this$props$handlers7","_this$props$handlers8","setPosition","then","_this$props$handlers9","_this$props$handlers10","onLower","_this$props$handlers11","_this$props$handlers12","_this$props$handlers13","_this$props$handlers14","onUpper","Promise","reject","isNaN","resolve","parallel","timing","useNativeDriver","toValue","duration","easing","out","linear","start","render","createElement","style","flexDirection","flexWrap","alignItems","transform","translateX","translateY","onLayout","bind","children","map","c","i","_this$props$style","key","slideMinWidth","minWidth","slideWidth"],"sources":["swipe.animation.tsx"],"sourcesContent":["import { isNil } from 'lodash-es';\nimport React from 'react';\nimport { Animated, Easing, View as RNView, ViewStyle, LayoutChangeEvent, LayoutRectangle, DimensionValue } from 'react-native';\nimport { Gesture, GestureDetector, GestureUpdateEvent } from 'react-native-gesture-handler';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\n\nexport class Handlers {\n bounds?: (g: GestureUpdateEvent<any>) => Bounds = null as any;\n onAnimation?: (g: GestureUpdateEvent<any>) => any = () => {};\n onLower?: (g: GestureUpdateEvent<any>) => any = () => {};\n onUpper?: (g: GestureUpdateEvent<any>) => any = () => {};\n computePhase?: (value: number) => number = null as any;\n}\n\nexport interface Bounds {\n upper?: number;\n center?: number;\n lower?: number;\n}\n\nexport class Props {\n threshold?: number = 5;\n direction?: 'horizontal' | 'vertical' = 'horizontal';\n handlers?: Handlers = {} as any;\n style?: ViewStyle = {} as any;\n children: any;\n enableGestures: any;\n slideWidth?: DimensionValue = '100%';\n slideMinWidth?: DimensionValue = undefined;\n}\n\nexport class State {\n threshold = 5;\n isHorizontal = false;\n bounds: Bounds = {} as any;\n maxPosition = Number.MAX_VALUE;\n}\n\nexport class View extends React.Component<Props, State> {\n\n static defaultProps = new Props();\n\n private gesture = Gesture.Pan();\n private position = new Animated.Value(0);\n public animationPhase = new Animated.Value(0);\n private i18nService = injector.I18nService.get();\n private childrenLayout: LayoutRectangle[] = [];\n private viewLayout: LayoutRectangle = null as any;\n\n constructor(props: Props) {\n super(props);\n this.state = {\n isHorizontal: props.direction === 'horizontal',\n threshold: props.threshold || 5,\n bounds: {} as any\n } as State;\n var touchStart = {\n x: 0,\n y: 0,\n active: false\n };\n var swipeDirection :'horizontal' | 'vertical' = 'horizontal';\n this.gesture\n .minPointers(1)\n .minDistance(this.state.threshold)\n .enabled(this.props.enableGestures && !isWebPreviewMode())\n .onTouchesDown((e, s) => {\n touchStart = {\n x: e.changedTouches[0].x,\n y: e.changedTouches[0].y,\n active: false\n };\n })\n .onTouchesMove((e, s) => {\n if (touchStart.active) {\n return;\n }\n const translationX = e.allTouches[0].x - touchStart.x;\n const translationY = e.allTouches[0].y - touchStart.y;\n swipeDirection = (Math.abs(translationX) > Math.abs(translationY)) ? 'horizontal' : 'vertical';\n const d = (this.state.isHorizontal ? translationX : translationY);\n const od = (this.state.isHorizontal ? translationY : translationX);\n if(swipeDirection == this.props.direction && Math.abs(d) >= this.state.threshold){\n touchStart.active = true;\n }\n this.gesture\n .activeOffsetX([-this.state.threshold, this.state.threshold])\n .failOffsetY([-this.state.threshold, this.state.threshold]);\n })\n .onChange(e => {\n if (!touchStart.active || swipeDirection != this.props.direction) {\n return;\n }\n const bounds = (this.props.handlers?.bounds && this.props.handlers?.bounds(e)) || {};\n const d = (this.state.isHorizontal ? e.translationX : e.translationY);\n let phase = this.computePhase(bounds?.center || 0);\n if (d && d < 0 && !isNil(bounds.center) && !isNil(bounds.lower)\n && bounds.center !== bounds.lower) {\n phase += (d / (bounds.center - bounds.lower)) || 0;\n } else if (d && d > 0 && !isNil(bounds.center) && !isNil(bounds.upper)\n && bounds.center !== bounds.upper) {\n phase += (d / (bounds.upper - bounds.center)) || 0;\n }\n this.animationPhase.setValue(phase);\n this.position.setValue(\n (this.isRTL()?-bounds?.center! :bounds?.center || 0) + d);\n })\n .onEnd(e => {\n if (!touchStart.active || swipeDirection != this.props.direction) {\n return;\n }\n touchStart = {\n x: 0,\n y: 0,\n active: false\n };\n this.props.handlers?.onAnimation &&\n this.props.handlers?.onAnimation(e);\n if (e.translationX < 0) {\n this.isRTL()?this.goToLower(e):this.goToUpper(e);\n } else if (e.translationX > 0) {\n this.isRTL()?this.goToUpper(e):this.goToLower(e);\n }\n })\n\n }\n\n computeMaxScroll() {\n let max = Number.MAX_VALUE;\n const childrenWidth = this.childrenLayout.reduce((s, v) => s + v.width, 0);\n const childrenHeight = this.childrenLayout.reduce((s, v) => s + v.height, 0);\n if (this.props.direction === 'horizontal') {\n if (childrenWidth && this.viewLayout?.width) {\n max = childrenWidth - this.viewLayout.width;\n }\n } else if (childrenHeight && this.viewLayout?.height) {\n max = childrenHeight - this.viewLayout.height;\n }\n this.setState({maxPosition: -1 * max});\n }\n\n setChildrenLayout(event: LayoutChangeEvent, index: number) {\n this.childrenLayout[index] = event.nativeEvent.layout;\n this.computeMaxScroll();\n }\n\n setViewLayout(event: LayoutChangeEvent) {\n this.viewLayout = event.nativeEvent.layout;\n this.computeMaxScroll();\n }\n\n computePhase(value: number) {\n return (this.props.handlers?.computePhase &&\n this.props.handlers?.computePhase(value)) || 0;\n }\n\n isRTL(){\n return this.i18nService.isRTLLocale();\n }\n\n goToLower(e?: any) {\n const bounds = (this.props.handlers?.bounds && this.props.handlers?.bounds(e)) || {};\n this.setPosition(bounds.lower)\n .then(() => {\n if (!isNil(bounds.lower) && bounds.center !== bounds.lower) {\n this.props.handlers?.onLower &&\n this.props.handlers?.onLower(e);\n }\n });\n }\n\n goToUpper(e?: any) {\n const bounds = (this.props.handlers?.bounds && this.props.handlers?.bounds(e)) || {};\n this.setPosition(bounds.upper)\n .then(() => {\n if (!isNil(bounds.upper) && bounds.center !== bounds.upper) {\n this.props.handlers?.onUpper &&\n this.props.handlers?.onUpper(e);\n }\n });\n }\n\n setPosition(value: number | undefined) {\n if (isNil(value)) {\n return Promise.reject();\n }\n let position = isNaN(this.state.maxPosition) ? value : Math.max(this.state.maxPosition, value);\n return new Promise((resolve) => {\n Animated.parallel([\n Animated.timing(this.animationPhase, {\n useNativeDriver: true,\n toValue: this.computePhase(value),\n duration: 200,\n easing: Easing.out(Easing.linear)\n }),\n Animated.timing(this.position, {\n useNativeDriver: true,\n toValue: (this.isRTL() ? -1: 1) * position,\n duration: 200,\n easing: Easing.out(Easing.linear)\n })\n ]).start(resolve);\n });\n }\n\n public render() {\n const isHorizontal = this.props.direction === 'horizontal';\n return (\n //@ts-ignore\n <GestureDetector gesture={this.gesture}>\n <Animated.View style={[\n isHorizontal ? {\n flexDirection: 'row',\n flexWrap: 'nowrap',\n alignItems: 'center',\n } : null,\n this.props.style,\n {\n transform: this.state.isHorizontal ? [{\n translateX: this.position\n }] : [{\n translateY: this.position\n }]\n }]} onLayout={this.setViewLayout.bind(this)}>\n {this.props.children.map((c: any, i: number) => {\n return (<RNView onLayout={(e) => this.setChildrenLayout(e, i)} key={c.key}\n style={[this.props.slideMinWidth ? {\n minWidth: this.props.slideMinWidth\n } : {\n width: this.props.slideWidth\n },\n this.props.style?.height === '100%' ? {\n height: '100%'\n } : null\n ]}>\n {c}\n </RNView>);\n })}\n </Animated.View>\n </GestureDetector>\n );\n }\n\n}\n"],"mappings":";;;AAAA,SAASA,KAAK,QAAQ,WAAW;AACjC,OAAOC,KAAK,MAAO,OAAO;AAC1B,SAASC,QAAQ,EAAEC,MAAM,EAAEC,IAAI,IAAIC,MAAM,QAAuE,cAAc;AAC9H,SAASC,OAAO,EAAEC,eAAe,QAA4B,8BAA8B;AAC3F,SAASC,gBAAgB,QAAQ,sCAAsC;AACvE,OAAOC,QAAQ,MAAM,yCAAyC;AAE9D,OAAO,MAAMC,QAAQ,CAAC;EAAAC,YAAA;IAAAC,eAAA,iBACgC,IAAI;IAAAA,eAAA,sBACF,MAAM,CAAC,CAAC;IAAAA,eAAA,kBACX,MAAM,CAAC,CAAC;IAAAA,eAAA,kBACR,MAAM,CAAC,CAAC;IAAAA,eAAA,uBACd,IAAI;EAAA;AACnD;AAQA,OAAO,MAAMC,KAAK,CAAC;EAAAF,YAAA;IAAAC,eAAA,oBACM,CAAC;IAAAA,eAAA,oBACkB,YAAY;IAAAA,eAAA,mBAC9B,CAAC,CAAC;IAAAA,eAAA,gBACJ,CAAC,CAAC;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,qBAGQ,MAAM;IAAAA,eAAA,wBACHE,SAAS;EAAA;AAC9C;AAEA,OAAO,MAAMC,KAAK,CAAC;EAAAJ,YAAA;IAAAC,eAAA,oBACH,CAAC;IAAAA,eAAA,uBACE,KAAK;IAAAA,eAAA,iBACH,CAAC,CAAC;IAAAA,eAAA,sBACLI,MAAM,CAACC,SAAS;EAAA;AAClC;AAEA,OA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AAS,KAAK;QAAA,IAAAC,iBAAA;QAC5C,oBAAQxI,KAAA,CAAA0H,aAAA,CAACtH,MAAM;UAAC8H,QAAQ,EAAG3F,CAAC,IAAK,IAAI,CAAC8C,iBAAiB,CAAC9C,CAAC,EAAEgG,CAAC,CAAE;UAACE,GAAG,EAAEH,CAAC,CAACG,GAAI;UACtEd,KAAK,EAAE,CAAC,IAAI,CAACzG,KAAK,CAACwH,aAAa,GAAG;YAC/BC,QAAQ,EAAE,IAAI,CAACzH,KAAK,CAACwH;UACzB,CAAC,GAAG;YACA5D,KAAK,EAAE,IAAI,CAAC5D,KAAK,CAAC0H;UACtB,CAAC,EACD,EAAAJ,iBAAA,OAAI,CAACtH,KAAK,CAACyG,KAAK,cAAAa,iBAAA,uBAAhBA,iBAAA,CAAkBxD,MAAM,MAAK,MAAM,GAAG;YAClCA,MAAM,EAAE;UACZ,CAAC,GAAG,IAAI;QACV,GACGsD,CACG,CAAC;MACb,CAAC,CACU,CACF;IAAC;EAE1B;AAEJ;AAAC3H,eAAA,CA7MYR,IAAI,kBAES,IAAIS,KAAK,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["isNil","React","Animated","Easing","View","RNView","Gesture","GestureDetector","isWebPreviewMode","injector","Handlers","constructor","_defineProperty","Props","undefined","State","Number","MAX_VALUE","Component","props","Pan","Value","I18nService","get","state","isHorizontal","direction","threshold","bounds","touchStart","x","y","active","gesture","maxPointers","minDistance","enabled","enableGestures","onTouchesDown","e","s","changedTouches","onTouchesMove","translationX","allTouches","translationY","d","od","Math","abs","tan","PI","onChange","_this$props$handlers","_this$props$handlers2","handlers","phase","computePhase","center","lower","upper","animationPhase","setValue","position","isRTL","onEnd","_this$props$handlers3","_this$props$handlers4","onAnimation","goToLower","goToUpper","computeMaxScroll","_this$viewLayout2","max","childrenWidth","childrenLayout","reduce","v","width","childrenHeight","height","_this$viewLayout","viewLayout","setState","maxPosition","setChildrenLayout","event","index","nativeEvent","layout","setViewLayout","value","_this$props$handlers5","_this$props$handlers6","i18nService","isRTLLocale","_this$props$handlers7","_this$props$handlers8","setPosition","then","_this$props$handlers9","_this$props$handlers10","onLower","_this$props$handlers11","_this$props$handlers12","_this$props$handlers13","_this$props$handlers14","onUpper","Promise","reject","isNaN","resolve","parallel","timing","useNativeDriver","toValue","duration","easing","out","linear","start","render","createElement","style","flexDirection","flexWrap","alignItems","transform","translateX","translateY","onLayout","bind","children","map","c","i","_this$props$style","key","slideMinWidth","minWidth","slideWidth"],"sources":["swipe.animation.tsx"],"sourcesContent":["import { isNil } from 'lodash-es';\nimport React from 'react';\nimport { Animated, Easing, View as RNView, ViewStyle, LayoutChangeEvent, LayoutRectangle, DimensionValue } from 'react-native';\nimport { Gesture, GestureDetector, GestureUpdateEvent } from 'react-native-gesture-handler';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\n\nexport class Handlers {\n bounds?: (g: GestureUpdateEvent<any>) => Bounds = null as any;\n onAnimation?: (g: GestureUpdateEvent<any>) => any = () => {};\n onLower?: (g: GestureUpdateEvent<any>) => any = () => {};\n onUpper?: (g: GestureUpdateEvent<any>) => any = () => {};\n computePhase?: (value: number) => number = null as any;\n}\n\nexport interface Bounds {\n upper?: number;\n center?: number;\n lower?: number;\n}\n\nexport class Props {\n threshold?: number = 30;\n direction?: 'horizontal' | 'vertical' = 'horizontal';\n handlers?: Handlers = {} as any;\n style?: ViewStyle = {} as any;\n children: any;\n enableGestures: any;\n slideWidth?: DimensionValue = '100%'; \n slideMinWidth?: DimensionValue = undefined; \n}\n\nexport class State {\n threshold = 30;\n isHorizontal = false;\n bounds: Bounds = {} as any;\n maxPosition = Number.MAX_VALUE;\n}\n\nexport class View extends React.Component<Props, State> {\n\n static defaultProps = new Props();\n\n private gesture = Gesture.Pan();\n private position = new Animated.Value(0);\n public animationPhase = new Animated.Value(0);\n private i18nService = injector.I18nService.get();\n private childrenLayout: LayoutRectangle[] = [];\n private viewLayout: LayoutRectangle = null as any;\n\n constructor(props: Props) {\n super(props);\n this.state = {\n isHorizontal: props.direction === 'horizontal',\n threshold: props.threshold || 30,\n bounds: {} as any\n } as State;\n var touchStart = {\n x: 0,\n y: 0,\n active: false\n };\n this.gesture\n .maxPointers(1)\n .minDistance(this.state.threshold)\n .enabled(this.props.enableGestures && !isWebPreviewMode())\n .onTouchesDown((e, s) => {\n touchStart = {\n x: e.changedTouches[0].x,\n y: e.changedTouches[0].y,\n active: false\n };\n })\n .onTouchesMove((e, s) => {\n if (touchStart.active) {\n return;\n }\n const translationX = e.allTouches[0].x - touchStart.x;\n const translationY = e.allTouches[0].y - touchStart.y;\n const d = (this.state.isHorizontal ? translationX : translationY);\n const od = (this.state.isHorizontal ? translationY : translationX);\n if (Math.abs(d) >= this.state.threshold\n && Math.abs(od) < Math.tan((15 * Math.PI) / 180) * this.state.threshold) {\n touchStart.active = true;\n }\n })\n .onChange(e => {\n if (!touchStart.active) {\n return;\n }\n const bounds = (this.props.handlers?.bounds && this.props.handlers?.bounds(e)) || {};\n const d = (this.state.isHorizontal ? e.translationX : e.translationY);\n let phase = this.computePhase(bounds?.center || 0);\n if (d && d < 0 && !isNil(bounds.center) && !isNil(bounds.lower)\n && bounds.center !== bounds.lower) {\n phase += (d / (bounds.center - bounds.lower)) || 0;\n } else if (d && d > 0 && !isNil(bounds.center) && !isNil(bounds.upper)\n && bounds.center !== bounds.upper) {\n phase += (d / (bounds.upper - bounds.center)) || 0;\n }\n this.animationPhase.setValue(phase);\n this.position.setValue(\n (this.isRTL()?-bounds?.center! :bounds?.center || 0) + d);\n })\n .onEnd(e => {\n if (!touchStart.active) {\n return;\n }\n touchStart = {\n x: 0,\n y: 0,\n active: false\n };\n this.props.handlers?.onAnimation && \n this.props.handlers?.onAnimation(e);\n if (e.translationX < 0) {\n this.isRTL()?this.goToLower(e):this.goToUpper(e);\n } else if (e.translationX > 0) {\n this.isRTL()?this.goToUpper(e):this.goToLower(e);\n }\n })\n\n }\n\n computeMaxScroll() {\n let max = Number.MAX_VALUE;\n const childrenWidth = this.childrenLayout.reduce((s, v) => s + v.width, 0);\n const childrenHeight = this.childrenLayout.reduce((s, v) => s + v.height, 0);\n if (this.props.direction === 'horizontal') {\n if (childrenWidth && this.viewLayout?.width) {\n max = childrenWidth - this.viewLayout.width;\n }\n } else if (childrenHeight && this.viewLayout?.height) {\n max = childrenHeight - this.viewLayout.height;\n }\n this.setState({maxPosition: -1 * max});\n }\n\n setChildrenLayout(event: LayoutChangeEvent, index: number) {\n this.childrenLayout[index] = event.nativeEvent.layout;\n this.computeMaxScroll();\n }\n\n setViewLayout(event: LayoutChangeEvent) {\n this.viewLayout = event.nativeEvent.layout;\n this.computeMaxScroll();\n }\n\n computePhase(value: number) {\n return (this.props.handlers?.computePhase && \n this.props.handlers?.computePhase(value)) || 0;\n }\n\n isRTL(){\n return this.i18nService.isRTLLocale();\n }\n\n goToLower(e?: any) {\n const bounds = (this.props.handlers?.bounds && this.props.handlers?.bounds(e)) || {};\n this.setPosition(bounds.lower)\n .then(() => {\n if (!isNil(bounds.lower) && bounds.center !== bounds.lower) {\n this.props.handlers?.onLower && \n this.props.handlers?.onLower(e);\n }\n });\n }\n\n goToUpper(e?: any) {\n const bounds = (this.props.handlers?.bounds && this.props.handlers?.bounds(e)) || {};\n this.setPosition(bounds.upper)\n .then(() => {\n if (!isNil(bounds.upper) && bounds.center !== bounds.upper) {\n this.props.handlers?.onUpper && \n this.props.handlers?.onUpper(e);\n }\n });\n }\n \n setPosition(value: number | undefined) {\n if (isNil(value)) {\n return Promise.reject();\n }\n let position = isNaN(this.state.maxPosition) ? value : Math.max(this.state.maxPosition, value);\n return new Promise((resolve) => {\n Animated.parallel([\n Animated.timing(this.animationPhase, {\n useNativeDriver: true,\n toValue: this.computePhase(value),\n duration: 200,\n easing: Easing.out(Easing.linear)\n }),\n Animated.timing(this.position, {\n useNativeDriver: true,\n toValue: (this.isRTL() ? -1: 1) * position,\n duration: 200,\n easing: Easing.out(Easing.linear)\n })\n ]).start(resolve);\n });\n }\n\n public render() {\n const isHorizontal = this.props.direction === 'horizontal';\n return (\n //@ts-ignore\n <GestureDetector gesture={this.gesture}>\n <Animated.View style={[\n isHorizontal ? {\n flexDirection: 'row',\n flexWrap: 'nowrap',\n alignItems: 'center',\n } : null,\n this.props.style, \n {\n transform: this.state.isHorizontal ? [{\n translateX: this.position\n }] : [{\n translateY: this.position\n }]\n }]} onLayout={this.setViewLayout.bind(this)}>\n {this.props.children.map((c: any, i: number) => {\n return (<RNView onLayout={(e) => this.setChildrenLayout(e, i)} key={c.key} \n style={[this.props.slideMinWidth ? {\n minWidth: this.props.slideMinWidth\n } : {\n width: this.props.slideWidth\n },\n this.props.style?.height === '100%' ? {\n height: '100%'\n } : null\n ]}>\n {c}\n </RNView>);\n })}\n </Animated.View>\n </GestureDetector>\n );\n }\n\n}"],"mappings":";;;AAAA,SAASA,KAAK,QAAQ,WAAW;AACjC,OAAOC,KAAK,MAAO,OAAO;AAC1B,SAASC,QAAQ,EAAEC,MAAM,EAAEC,IAAI,IAAIC,MAAM,QAAuE,cAAc;AAC9H,SAASC,OAAO,EAAEC,eAAe,QAA4B,8BAA8B;AAC3F,SAASC,gBAAgB,QAAQ,sCAAsC;AACvE,OAAOC,QAAQ,MAAM,yCAAyC;AAE9D,OAAO,MAAMC,QAAQ,CAAC;EAAAC,YAAA;IAAAC,eAAA,iBACgC,IAAI;IAAAA,eAAA,sBACF,MAAM,CAAC,CAAC;IAAAA,eAAA,kBACX,MAAM,CAAC,CAAC;IAAAA,eAAA,kBACR,MAAM,CAAC,CAAC;IAAAA,eAAA,uBACd,IAAI;EAAA;AACnD;AAQA,OAAO,MAAMC,KAAK,CAAC;EAAAF,YAAA;IAAAC,eAAA,oBACM,EAAE;IAAAA,eAAA,oBACiB,YAAY;IAAAA,eAAA,mBAC9B,CAAC,CAAC;IAAAA,eAAA,gBACJ,CAAC,CAAC;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,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EAAEgG,CAAC,CAAE;UAACE,GAAG,EAAEH,CAAC,CAACG,GAAI;UACtEd,KAAK,EAAE,CAAC,IAAI,CAACxG,KAAK,CAACuH,aAAa,GAAG;YAC/BC,QAAQ,EAAE,IAAI,CAACxH,KAAK,CAACuH;UACzB,CAAC,GAAG;YACA5D,KAAK,EAAE,IAAI,CAAC3D,KAAK,CAACyH;UACtB,CAAC,EACD,EAAAJ,iBAAA,OAAI,CAACrH,KAAK,CAACwG,KAAK,cAAAa,iBAAA,uBAAhBA,iBAAA,CAAkBxD,MAAM,MAAK,MAAM,GAAG;YAClCA,MAAM,EAAE;UACZ,CAAC,GAAG,IAAI;QACV,GACGsD,CACG,CAAC;MACb,CAAC,CACU,CACF;IAAC;EAE1B;AAEJ;AAAC1H,eAAA,CAzMYR,IAAI,kBAES,IAAIS,KAAK,CAAC,CAAC","ignoreList":[]}
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@wavemaker/app-rn-runtime",
3
- "version": "11.10.3-next.27794",
3
+ "version": "11.10.3-next.27802",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@wavemaker/app-rn-runtime",
9
- "version": "11.10.3-next.27794",
9
+ "version": "11.10.3-next.27802",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@expo/vector-icons": "14.0.2",
@@ -20,7 +20,7 @@
20
20
  "@react-navigation/drawer": "6.6.3",
21
21
  "@react-navigation/native": "6.1.7",
22
22
  "@react-navigation/stack": "6.3.29",
23
- "@wavemaker/variables": "11.10.3-next.27794",
23
+ "@wavemaker/variables": "11.10.3-next.27802",
24
24
  "axios": "1.6.8",
25
25
  "color": "4.2.3",
26
26
  "cross-env": "7.0.3",
@@ -2713,8 +2713,8 @@
2713
2713
  }
2714
2714
  },
2715
2715
  "node_modules/@eslint/eslintrc": {
2716
- "version": "3.2.0",
2717
- "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==",
2716
+ "version": "3.3.0",
2717
+ "integrity": "sha512-yaVPAiNAalnCZedKLdR21GOGILMLKPyqSLWaAjQFvYA2i/ciDi8ArYVr69Anohb6cH2Ukhqti4aFnYyPm8wdwQ==",
2718
2718
  "dev": true,
2719
2719
  "license": "MIT",
2720
2720
  "dependencies": {
@@ -2809,8 +2809,8 @@
2809
2809
  }
2810
2810
  },
2811
2811
  "node_modules/@expo/cli": {
2812
- "version": "0.22.17",
2813
- "integrity": "sha512-4VOGWoCINIlsQKL0Pl0kQpSs2xAaEPobJ/3Q3xHdtJrBj4S3IHrOyn6mUvubs4A4YySjiyZjlc4UG6GGwxzSsg==",
2812
+ "version": "0.22.18",
2813
+ "integrity": "sha512-TWGKHWTYU9xE7YETPk2zQzLPl+bldpzZCa0Cqg0QeENpu03ZEnMxUqrgHwrbWGTf7ONTYC1tODBkFCFw/qgPGA==",
2814
2814
  "license": "MIT",
2815
2815
  "peer": true,
2816
2816
  "dependencies": {
@@ -3766,8 +3766,9 @@
3766
3766
  }
3767
3767
  },
3768
3768
  "node_modules/@expo/ws-tunnel": {
3769
- "version": "1.0.4",
3770
- "integrity": "sha512-spXCVXxbeKOe8YZ9igd+MDfXZe6LeDvFAdILijeTSG+XcxGrZLmqMWWkFKR0nV8lTWZ+NugUT3CoiXmEuKKQ7w==",
3769
+ "version": "1.0.5",
3770
+ "integrity": "sha512-Ta9KzslHAIbw2ZoyZ7Ud7/QImucy+K4YvOqo9AhGfUfH76hQzaffQreOySzYusDfW8Y+EXh0ZNWE68dfCumFFw==",
3771
+ "license": "MIT",
3771
3772
  "peer": true
3772
3773
  },
3773
3774
  "node_modules/@expo/xcpretty": {
@@ -6366,8 +6367,8 @@
6366
6367
  "license": "MIT"
6367
6368
  },
6368
6369
  "node_modules/@types/node": {
6369
- "version": "22.13.4",
6370
- "integrity": "sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg==",
6370
+ "version": "22.13.5",
6371
+ "integrity": "sha512-+lTU0PxZXn0Dr1NBtC7Y8cR21AJr87dLLU953CWA6pMxxv/UDc7jYAY90upcrie1nRcD6XNG5HOYEDtgW5TxAg==",
6371
6372
  "license": "MIT",
6372
6373
  "dependencies": {
6373
6374
  "undici-types": "~6.20.0"
@@ -6660,8 +6661,8 @@
6660
6661
  }
6661
6662
  },
6662
6663
  "node_modules/@wavemaker/variables": {
6663
- "version": "11.10.3-next.27794",
6664
- "integrity": "sha512-S+gXd06jNpQK2KBmK6V8fqZWgBWQaDbIF6Us4N/RYG4dM/ruCKu9KCbbJpaTTcIW86vwDa7JQVb4M7008KkE3A==",
6664
+ "version": "11.10.3-next.27802",
6665
+ "integrity": "sha512-fXEkG1I5Mt48orbs0JPrLhL2KCTWF63nJrpOJjJ6fOMR4M8JTWPsSSTCFXiY08kriwnQzdxW1WGYCNQ3gTOTdw==",
6665
6666
  "license": "ISC",
6666
6667
  "dependencies": {
6667
6668
  "@metrichor/jmespath": "^0.3.1",
@@ -8321,8 +8322,8 @@
8321
8322
  }
8322
8323
  },
8323
8324
  "node_modules/babel-preset-expo": {
8324
- "version": "12.0.8",
8325
- "integrity": "sha512-bojAddWZJusLs3NVdF+jN3WweTYVEZXBKIeO0sOhqOg7UPh5w1bnMkx7SDua0FgQMGBxb13qM31Y46yeZnmXjw==",
8325
+ "version": "12.0.9",
8326
+ "integrity": "sha512-1c+ysrTavT49WgVAj0OX/TEzt1kU2mfPhDaDajstshNHXFKPenMPWSViA/DHrJKVIMwaqr+z3GbUOD9GtKgpdg==",
8326
8327
  "license": "MIT",
8327
8328
  "peer": true,
8328
8329
  "dependencies": {
@@ -11160,8 +11161,8 @@
11160
11161
  "license": "MIT"
11161
11162
  },
11162
11163
  "node_modules/electron-to-chromium": {
11163
- "version": "1.5.102",
11164
- "integrity": "sha512-eHhqaja8tE/FNpIiBrvBjFV/SSKpyWHLvxuR9dPTdo+3V9ppdLmFB7ZZQ98qNovcngPLYIz0oOBF9P0FfZef5Q==",
11164
+ "version": "1.5.103",
11165
+ "integrity": "sha512-P6+XzIkfndgsrjROJWfSvVEgNHtPgbhVyTkwLjUM2HU/h7pZRORgaTlHqfAikqxKmdJMLW8fftrdGWbd/Ds0FA==",
11165
11166
  "license": "ISC"
11166
11167
  },
11167
11168
  "node_modules/emittery": {
@@ -12048,19 +12049,19 @@
12048
12049
  }
12049
12050
  },
12050
12051
  "node_modules/expo": {
12051
- "version": "52.0.36",
12052
- "integrity": "sha512-3QYoxz1+dW3IhBDuPUcw66K6GMUfwlZgXP42ypBT5d54X5AGPSo4Mk5RZxt6Buu+5K6F3qenml9B5snH/OvKIg==",
12052
+ "version": "52.0.37",
12053
+ "integrity": "sha512-fo37ClqjNLOVInerm7BU27H8lfPfeTC7Pmu72roPzq46DnJfs+KzTxTzE34GcJ0b6hMUx9FRSSGyTQqxzo2TVQ==",
12053
12054
  "license": "MIT",
12054
12055
  "peer": true,
12055
12056
  "dependencies": {
12056
12057
  "@babel/runtime": "^7.20.0",
12057
- "@expo/cli": "0.22.17",
12058
+ "@expo/cli": "0.22.18",
12058
12059
  "@expo/config": "~10.0.10",
12059
12060
  "@expo/config-plugins": "~9.0.15",
12060
12061
  "@expo/fingerprint": "0.11.11",
12061
12062
  "@expo/metro-config": "0.19.11",
12062
12063
  "@expo/vector-icons": "^14.0.0",
12063
- "babel-preset-expo": "~12.0.8",
12064
+ "babel-preset-expo": "~12.0.9",
12064
12065
  "expo-asset": "~11.0.4",
12065
12066
  "expo-constants": "~17.0.7",
12066
12067
  "expo-file-system": "~18.0.11",
@@ -13115,16 +13116,16 @@
13115
13116
  }
13116
13117
  },
13117
13118
  "node_modules/get-intrinsic": {
13118
- "version": "1.2.7",
13119
- "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==",
13119
+ "version": "1.3.0",
13120
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
13120
13121
  "license": "MIT",
13121
13122
  "dependencies": {
13122
- "call-bind-apply-helpers": "^1.0.1",
13123
+ "call-bind-apply-helpers": "^1.0.2",
13123
13124
  "es-define-property": "^1.0.1",
13124
13125
  "es-errors": "^1.3.0",
13125
- "es-object-atoms": "^1.0.0",
13126
+ "es-object-atoms": "^1.1.1",
13126
13127
  "function-bind": "^1.1.2",
13127
- "get-proto": "^1.0.0",
13128
+ "get-proto": "^1.0.1",
13128
13129
  "gopd": "^1.2.0",
13129
13130
  "has-symbols": "^1.1.0",
13130
13131
  "hasown": "^2.0.2",
@@ -19930,8 +19931,8 @@
19930
19931
  }
19931
19932
  },
19932
19933
  "node_modules/prettier": {
19933
- "version": "3.5.1",
19934
- "integrity": "sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==",
19934
+ "version": "3.5.2",
19935
+ "integrity": "sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg==",
19935
19936
  "dev": true,
19936
19937
  "license": "MIT",
19937
19938
  "peer": true,
@@ -23186,8 +23187,14 @@
23186
23187
  }
23187
23188
  },
23188
23189
  "node_modules/strnum": {
23189
- "version": "1.0.5",
23190
- "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==",
23190
+ "version": "1.1.1",
23191
+ "integrity": "sha512-O7aCHfYCamLCctjAiaucmE+fHf2DYHkus2OKCn4Wv03sykfFtgeECn505X6K4mPl8CRNd/qurC9guq+ynoN4pw==",
23192
+ "funding": [
23193
+ {
23194
+ "type": "github",
23195
+ "url": "https://github.com/sponsors/NaturalIntelligence"
23196
+ }
23197
+ ],
23191
23198
  "license": "MIT"
23192
23199
  },
23193
23200
  "node_modules/structured-headers": {
@@ -25446,8 +25453,8 @@
25446
25453
  }
25447
25454
  },
25448
25455
  "node_modules/ws": {
25449
- "version": "8.18.0",
25450
- "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
25456
+ "version": "8.18.1",
25457
+ "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==",
25451
25458
  "license": "MIT",
25452
25459
  "engines": {
25453
25460
  "node": ">=10.0.0"
package/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@wavemaker/app-rn-runtime",
3
- "version": "11.10.3-next.27794",
3
+ "version": "11.10.3-next.27802",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@wavemaker/app-rn-runtime",
9
- "version": "11.10.3-next.27794",
9
+ "version": "11.10.3-next.27802",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@expo/vector-icons": "14.0.2",
@@ -20,7 +20,7 @@
20
20
  "@react-navigation/drawer": "6.6.3",
21
21
  "@react-navigation/native": "6.1.7",
22
22
  "@react-navigation/stack": "6.3.29",
23
- "@wavemaker/variables": "11.10.3-next.27794",
23
+ "@wavemaker/variables": "11.10.3-next.27802",
24
24
  "axios": "1.6.8",
25
25
  "color": "4.2.3",
26
26
  "cross-env": "7.0.3",
@@ -2713,8 +2713,8 @@
2713
2713
  }
2714
2714
  },
2715
2715
  "node_modules/@eslint/eslintrc": {
2716
- "version": "3.2.0",
2717
- "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==",
2716
+ "version": "3.3.0",
2717
+ "integrity": "sha512-yaVPAiNAalnCZedKLdR21GOGILMLKPyqSLWaAjQFvYA2i/ciDi8ArYVr69Anohb6cH2Ukhqti4aFnYyPm8wdwQ==",
2718
2718
  "dev": true,
2719
2719
  "license": "MIT",
2720
2720
  "dependencies": {
@@ -2809,8 +2809,8 @@
2809
2809
  }
2810
2810
  },
2811
2811
  "node_modules/@expo/cli": {
2812
- "version": "0.22.17",
2813
- "integrity": "sha512-4VOGWoCINIlsQKL0Pl0kQpSs2xAaEPobJ/3Q3xHdtJrBj4S3IHrOyn6mUvubs4A4YySjiyZjlc4UG6GGwxzSsg==",
2812
+ "version": "0.22.18",
2813
+ "integrity": "sha512-TWGKHWTYU9xE7YETPk2zQzLPl+bldpzZCa0Cqg0QeENpu03ZEnMxUqrgHwrbWGTf7ONTYC1tODBkFCFw/qgPGA==",
2814
2814
  "license": "MIT",
2815
2815
  "peer": true,
2816
2816
  "dependencies": {
@@ -3766,8 +3766,9 @@
3766
3766
  }
3767
3767
  },
3768
3768
  "node_modules/@expo/ws-tunnel": {
3769
- "version": "1.0.4",
3770
- "integrity": "sha512-spXCVXxbeKOe8YZ9igd+MDfXZe6LeDvFAdILijeTSG+XcxGrZLmqMWWkFKR0nV8lTWZ+NugUT3CoiXmEuKKQ7w==",
3769
+ "version": "1.0.5",
3770
+ "integrity": "sha512-Ta9KzslHAIbw2ZoyZ7Ud7/QImucy+K4YvOqo9AhGfUfH76hQzaffQreOySzYusDfW8Y+EXh0ZNWE68dfCumFFw==",
3771
+ "license": "MIT",
3771
3772
  "peer": true
3772
3773
  },
3773
3774
  "node_modules/@expo/xcpretty": {
@@ -6366,8 +6367,8 @@
6366
6367
  "license": "MIT"
6367
6368
  },
6368
6369
  "node_modules/@types/node": {
6369
- "version": "22.13.4",
6370
- "integrity": "sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg==",
6370
+ "version": "22.13.5",
6371
+ "integrity": "sha512-+lTU0PxZXn0Dr1NBtC7Y8cR21AJr87dLLU953CWA6pMxxv/UDc7jYAY90upcrie1nRcD6XNG5HOYEDtgW5TxAg==",
6371
6372
  "license": "MIT",
6372
6373
  "dependencies": {
6373
6374
  "undici-types": "~6.20.0"
@@ -6660,8 +6661,8 @@
6660
6661
  }
6661
6662
  },
6662
6663
  "node_modules/@wavemaker/variables": {
6663
- "version": "11.10.3-next.27794",
6664
- "integrity": "sha512-S+gXd06jNpQK2KBmK6V8fqZWgBWQaDbIF6Us4N/RYG4dM/ruCKu9KCbbJpaTTcIW86vwDa7JQVb4M7008KkE3A==",
6664
+ "version": "11.10.3-next.27802",
6665
+ "integrity": "sha512-fXEkG1I5Mt48orbs0JPrLhL2KCTWF63nJrpOJjJ6fOMR4M8JTWPsSSTCFXiY08kriwnQzdxW1WGYCNQ3gTOTdw==",
6665
6666
  "license": "ISC",
6666
6667
  "dependencies": {
6667
6668
  "@metrichor/jmespath": "^0.3.1",
@@ -8321,8 +8322,8 @@
8321
8322
  }
8322
8323
  },
8323
8324
  "node_modules/babel-preset-expo": {
8324
- "version": "12.0.8",
8325
- "integrity": "sha512-bojAddWZJusLs3NVdF+jN3WweTYVEZXBKIeO0sOhqOg7UPh5w1bnMkx7SDua0FgQMGBxb13qM31Y46yeZnmXjw==",
8325
+ "version": "12.0.9",
8326
+ "integrity": "sha512-1c+ysrTavT49WgVAj0OX/TEzt1kU2mfPhDaDajstshNHXFKPenMPWSViA/DHrJKVIMwaqr+z3GbUOD9GtKgpdg==",
8326
8327
  "license": "MIT",
8327
8328
  "peer": true,
8328
8329
  "dependencies": {
@@ -11160,8 +11161,8 @@
11160
11161
  "license": "MIT"
11161
11162
  },
11162
11163
  "node_modules/electron-to-chromium": {
11163
- "version": "1.5.102",
11164
- "integrity": "sha512-eHhqaja8tE/FNpIiBrvBjFV/SSKpyWHLvxuR9dPTdo+3V9ppdLmFB7ZZQ98qNovcngPLYIz0oOBF9P0FfZef5Q==",
11164
+ "version": "1.5.103",
11165
+ "integrity": "sha512-P6+XzIkfndgsrjROJWfSvVEgNHtPgbhVyTkwLjUM2HU/h7pZRORgaTlHqfAikqxKmdJMLW8fftrdGWbd/Ds0FA==",
11165
11166
  "license": "ISC"
11166
11167
  },
11167
11168
  "node_modules/emittery": {
@@ -12048,19 +12049,19 @@
12048
12049
  }
12049
12050
  },
12050
12051
  "node_modules/expo": {
12051
- "version": "52.0.36",
12052
- "integrity": "sha512-3QYoxz1+dW3IhBDuPUcw66K6GMUfwlZgXP42ypBT5d54X5AGPSo4Mk5RZxt6Buu+5K6F3qenml9B5snH/OvKIg==",
12052
+ "version": "52.0.37",
12053
+ "integrity": "sha512-fo37ClqjNLOVInerm7BU27H8lfPfeTC7Pmu72roPzq46DnJfs+KzTxTzE34GcJ0b6hMUx9FRSSGyTQqxzo2TVQ==",
12053
12054
  "license": "MIT",
12054
12055
  "peer": true,
12055
12056
  "dependencies": {
12056
12057
  "@babel/runtime": "^7.20.0",
12057
- "@expo/cli": "0.22.17",
12058
+ "@expo/cli": "0.22.18",
12058
12059
  "@expo/config": "~10.0.10",
12059
12060
  "@expo/config-plugins": "~9.0.15",
12060
12061
  "@expo/fingerprint": "0.11.11",
12061
12062
  "@expo/metro-config": "0.19.11",
12062
12063
  "@expo/vector-icons": "^14.0.0",
12063
- "babel-preset-expo": "~12.0.8",
12064
+ "babel-preset-expo": "~12.0.9",
12064
12065
  "expo-asset": "~11.0.4",
12065
12066
  "expo-constants": "~17.0.7",
12066
12067
  "expo-file-system": "~18.0.11",
@@ -13115,16 +13116,16 @@
13115
13116
  }
13116
13117
  },
13117
13118
  "node_modules/get-intrinsic": {
13118
- "version": "1.2.7",
13119
- "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==",
13119
+ "version": "1.3.0",
13120
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
13120
13121
  "license": "MIT",
13121
13122
  "dependencies": {
13122
- "call-bind-apply-helpers": "^1.0.1",
13123
+ "call-bind-apply-helpers": "^1.0.2",
13123
13124
  "es-define-property": "^1.0.1",
13124
13125
  "es-errors": "^1.3.0",
13125
- "es-object-atoms": "^1.0.0",
13126
+ "es-object-atoms": "^1.1.1",
13126
13127
  "function-bind": "^1.1.2",
13127
- "get-proto": "^1.0.0",
13128
+ "get-proto": "^1.0.1",
13128
13129
  "gopd": "^1.2.0",
13129
13130
  "has-symbols": "^1.1.0",
13130
13131
  "hasown": "^2.0.2",
@@ -19930,8 +19931,8 @@
19930
19931
  }
19931
19932
  },
19932
19933
  "node_modules/prettier": {
19933
- "version": "3.5.1",
19934
- "integrity": "sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==",
19934
+ "version": "3.5.2",
19935
+ "integrity": "sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg==",
19935
19936
  "dev": true,
19936
19937
  "license": "MIT",
19937
19938
  "peer": true,
@@ -23186,8 +23187,14 @@
23186
23187
  }
23187
23188
  },
23188
23189
  "node_modules/strnum": {
23189
- "version": "1.0.5",
23190
- "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==",
23190
+ "version": "1.1.1",
23191
+ "integrity": "sha512-O7aCHfYCamLCctjAiaucmE+fHf2DYHkus2OKCn4Wv03sykfFtgeECn505X6K4mPl8CRNd/qurC9guq+ynoN4pw==",
23192
+ "funding": [
23193
+ {
23194
+ "type": "github",
23195
+ "url": "https://github.com/sponsors/NaturalIntelligence"
23196
+ }
23197
+ ],
23191
23198
  "license": "MIT"
23192
23199
  },
23193
23200
  "node_modules/structured-headers": {
@@ -25446,8 +25453,8 @@
25446
25453
  }
25447
25454
  },
25448
25455
  "node_modules/ws": {
25449
- "version": "8.18.0",
25450
- "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
25456
+ "version": "8.18.1",
25457
+ "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==",
25451
25458
  "license": "MIT",
25452
25459
  "engines": {
25453
25460
  "node": ">=10.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-rn-runtime",
3
- "version": "11.10.3-next.27794",
3
+ "version": "11.10.3-next.27802",
4
4
  "description": "''",
5
5
  "main": "index",
6
6
  "module": "index",
@@ -49,7 +49,7 @@
49
49
  "@react-navigation/drawer": "6.6.3",
50
50
  "@react-navigation/native": "6.1.7",
51
51
  "@react-navigation/stack": "6.3.29",
52
- "@wavemaker/variables": "11.10.3-next.27794",
52
+ "@wavemaker/variables": "11.10.3-next.27802",
53
53
  "axios": "1.6.8",
54
54
  "color": "4.2.3",
55
55
  "cross-env": "7.0.3",
package/runtime/App.js CHANGED
@@ -23,6 +23,7 @@ import formatters from '@wavemaker/app-rn-runtime/core/formatters';
23
23
  import { deepCopy, isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';
24
24
  import * as Utils from '@wavemaker/app-rn-runtime/core/utils';
25
25
  import { ModalProvider } from '@wavemaker/app-rn-runtime/core/modal.service';
26
+ import { FixedViewContainer } from '@wavemaker/app-rn-runtime/core/fixed-view.component';
26
27
  import { ToastProvider } from '@wavemaker/app-rn-runtime/core/toast.service';
27
28
  import { NavigationServiceProvider } from '@wavemaker/app-rn-runtime/core/navigation.service';
28
29
  import { PartialProvider } from '@wavemaker/app-rn-runtime/core/partial.service';
@@ -118,7 +119,6 @@ export default class BaseApp extends React.Component {
118
119
  this.refresh();
119
120
  }));
120
121
  _defineProperty(this, "networkStatus", {});
121
- _defineProperty(this, "statusbarInsets", void 0);
122
122
  SplashScreen.preventAutoHideAsync();
123
123
  setTimeout(() => SplashScreen.hideAsync(), 10000);
124
124
  this.appConfig.app = this;
@@ -455,39 +455,30 @@ export default class BaseApp extends React.Component {
455
455
  }
456
456
  }
457
457
  renderApp(commonPartial) {
458
- var _this$appConfig;
459
458
  this.autoUpdateVariables.forEach(value => {
460
459
  var _this$Variables$value;
461
460
  return (_this$Variables$value = this.Variables[value]) === null || _this$Variables$value === void 0 ? void 0 : _this$Variables$value.invokeOnParamChange();
462
461
  });
463
- const statusBarCustomisation = (_this$appConfig = this.appConfig) === null || _this$appConfig === void 0 || (_this$appConfig = _this$appConfig.preferences) === null || _this$appConfig === void 0 ? void 0 : _this$appConfig.statusbarStyles;
464
- const isTranslucent = statusBarCustomisation === null || statusBarCustomisation === void 0 ? void 0 : statusBarCustomisation.translucent;
465
- const Wrapper = isTranslucent ? View : SafeAreaView;
466
- return /*#__PURE__*/React.createElement(SafeAreaProvider, null, /*#__PURE__*/React.createElement(SafeAreaInsetsContext.Consumer, null, (insets = {
462
+ return /*#__PURE__*/React.createElement(SafeAreaProvider, null, /*#__PURE__*/React.createElement(PaperProvider, {
463
+ theme: this.paperTheme
464
+ }, /*#__PURE__*/React.createElement(React.Fragment, null, Platform.OS === 'web' ? this.renderIconsViewSupportForWeb() : null, /*#__PURE__*/React.createElement(SafeAreaInsetsContext.Consumer, null, (insets = {
467
465
  top: 0,
468
466
  bottom: 0,
469
467
  left: 0,
470
468
  right: 0
471
469
  }) => {
472
470
  var _this$props, _this$appConfig$drawe, _this$appConfig$drawe2;
473
- this.statusbarInsets = insets;
474
- return /*#__PURE__*/React.createElement(PaperProvider, {
475
- theme: this.paperTheme
476
- }, /*#__PURE__*/React.createElement(React.Fragment, null, Platform.OS === 'web' ? this.renderIconsViewSupportForWeb() : null, this.getProviders(/*#__PURE__*/React.createElement(Wrapper, {
471
+ return this.getProviders(/*#__PURE__*/React.createElement(SafeAreaView, {
477
472
  style: {
478
473
  flex: 1
479
474
  }
480
- }, /*#__PURE__*/React.createElement(StatusBar, {
481
- backgroundColor: statusBarCustomisation === null || statusBarCustomisation === void 0 ? void 0 : statusBarCustomisation.backgroundColor,
482
- translucent: isTranslucent,
483
- barStyle: (statusBarCustomisation === null || statusBarCustomisation === void 0 ? void 0 : statusBarCustomisation.barStyle) || 'default'
484
- }), /*#__PURE__*/React.createElement(ThemeProvider, {
475
+ }, /*#__PURE__*/React.createElement(StatusBar, null), /*#__PURE__*/React.createElement(ThemeProvider, {
485
476
  value: this.appConfig.theme
486
477
  }, /*#__PURE__*/React.createElement(View, {
487
478
  style: {
488
479
  flex: 1
489
480
  }
490
- }, /*#__PURE__*/React.createElement(View, {
481
+ }, /*#__PURE__*/React.createElement(FixedViewContainer, null, /*#__PURE__*/React.createElement(View, {
491
482
  style: styles.container
492
483
  }, /*#__PURE__*/React.createElement(GestureHandlerRootView, {
493
484
  style: styles.container
@@ -500,8 +491,8 @@ export default class BaseApp extends React.Component {
500
491
  drawerAnimation: (_this$appConfig$drawe2 = this.appConfig.drawer) === null || _this$appConfig$drawe2 === void 0 ? void 0 : _this$appConfig$drawe2.getAnimation()
501
492
  }), commonPartial)), this.appConfig.url ? /*#__PURE__*/React.createElement(WmNetworkInfoToaster, {
502
493
  appLocale: this.appConfig.appLocale
503
- }) : null, this.renderToasters(), this.renderDialogs(), this.renderDisplayManager()))))));
504
- }));
494
+ }) : null), this.renderToasters(), this.renderDialogs(), this.renderDisplayManager()))));
495
+ }))));
505
496
  }
506
497
  }
507
498
  const styles = {