@wavemaker-ai/app-rn-runtime 1.0.0-rc.647469
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/actions/base-action.js +12 -0
- package/actions/base-action.js.map +1 -0
- package/actions/index.js +6 -0
- package/actions/index.js.map +1 -0
- package/actions/login-action.js +32 -0
- package/actions/login-action.js.map +1 -0
- package/actions/logout-action.js +22 -0
- package/actions/logout-action.js.map +1 -0
- package/actions/navigation-action.js +44 -0
- package/actions/navigation-action.js.map +1 -0
- package/actions/notification-action.js +76 -0
- package/actions/notification-action.js.map +1 -0
- package/actions/timer-action.js +57 -0
- package/actions/timer-action.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.js +17 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js +11 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.js +17 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.js +20 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js +11 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.js +16 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -0
- package/components/advanced/carousel/carousel.component.js +378 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/carousel/carousel.props.js +23 -0
- package/components/advanced/carousel/carousel.props.js.map +1 -0
- package/components/advanced/carousel/carousel.styles.js +179 -0
- package/components/advanced/carousel/carousel.styles.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js +14 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js +11 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js +14 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js.map +1 -0
- package/components/advanced/login/login.component.js +40 -0
- package/components/advanced/login/login.component.js.map +1 -0
- package/components/advanced/login/login.props.js +13 -0
- package/components/advanced/login/login.props.js.map +1 -0
- package/components/advanced/login/login.styles.js +31 -0
- package/components/advanced/login/login.styles.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js +118 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js +11 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.js +33 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -0
- package/components/advanced/webview/webview.component.js +160 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/advanced/webview/webview.props.js +16 -0
- package/components/advanced/webview/webview.props.js.map +1 -0
- package/components/advanced/webview/webview.styles.js +18 -0
- package/components/advanced/webview/webview.styles.js.map +1 -0
- package/components/basic/anchor/anchor.component.js +124 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/anchor/anchor.props.js +34 -0
- package/components/basic/anchor/anchor.props.js.map +1 -0
- package/components/basic/anchor/anchor.styles.js +108 -0
- package/components/basic/anchor/anchor.styles.js.map +1 -0
- package/components/basic/animatedview.component.js +226 -0
- package/components/basic/animatedview.component.js.map +1 -0
- package/components/basic/audio/audio.component.js +257 -0
- package/components/basic/audio/audio.component.js.map +1 -0
- package/components/basic/audio/audio.props.js +15 -0
- package/components/basic/audio/audio.props.js.map +1 -0
- package/components/basic/audio/audio.styles.js +68 -0
- package/components/basic/audio/audio.styles.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.component.js +772 -0
- package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.props.js +26 -0
- package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.styles.js +88 -0
- package/components/basic/bottomsheet/bottomsheet.styles.js.map +1 -0
- package/components/basic/button/button.component.js +124 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.props.js +28 -0
- package/components/basic/button/button.props.js.map +1 -0
- package/components/basic/button/button.styles.js +132 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.component.js +28 -0
- package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.props.js +14 -0
- package/components/basic/buttongroup/buttongroup.props.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.js +59 -0
- package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
- package/components/basic/custom/custom.component.js +26 -0
- package/components/basic/custom/custom.component.js.map +1 -0
- package/components/basic/custom/custom.props.js +16 -0
- package/components/basic/custom/custom.props.js.map +1 -0
- package/components/basic/custom/custom.styles.js +18 -0
- package/components/basic/custom/custom.styles.js.map +1 -0
- package/components/basic/icon/icon.component.js +270 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js +28 -0
- package/components/basic/icon/icon.props.js.map +1 -0
- package/components/basic/icon/icon.styles.js +38 -0
- package/components/basic/icon/icon.styles.js.map +1 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +245 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +217 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
- package/components/basic/icon/wavicon/wavicon.component.js +1161 -0
- package/components/basic/icon/wavicon/wavicon.component.js.map +1 -0
- package/components/basic/icon/wavicon/wavicon.ttf +0 -0
- package/components/basic/label/label.component.js +406 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.props.js +28 -0
- package/components/basic/label/label.props.js.map +1 -0
- package/components/basic/label/label.styles.js +146 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/lottie/lottie.component.js +139 -0
- package/components/basic/lottie/lottie.component.js.map +1 -0
- package/components/basic/lottie/lottie.props.js +14 -0
- package/components/basic/lottie/lottie.props.js.map +1 -0
- package/components/basic/lottie/lottie.styles.js +15 -0
- package/components/basic/lottie/lottie.styles.js.map +1 -0
- package/components/basic/message/message.component.js +87 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/message/message.props.js +24 -0
- package/components/basic/message/message.props.js.map +1 -0
- package/components/basic/message/message.styles.js +116 -0
- package/components/basic/message/message.styles.js.map +1 -0
- package/components/basic/modal/modal.component.js +24 -0
- package/components/basic/modal/modal.component.js.map +1 -0
- package/components/basic/modal/modal.props.js +12 -0
- package/components/basic/modal/modal.props.js.map +1 -0
- package/components/basic/modal/modal.styles.js +29 -0
- package/components/basic/modal/modal.styles.js.map +1 -0
- package/components/basic/picture/picture.component.js +321 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/picture/picture.props.js +25 -0
- package/components/basic/picture/picture.props.js.map +1 -0
- package/components/basic/picture/picture.styles.js +43 -0
- package/components/basic/picture/picture.styles.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js +96 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.js +19 -0
- package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.js +45 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js +79 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.js +19 -0
- package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.styles.js +82 -0
- package/components/basic/progress-circle/progress-circle.styles.js.map +1 -0
- package/components/basic/search/local-data-provider.js +113 -0
- package/components/basic/search/local-data-provider.js.map +1 -0
- package/components/basic/search/search.component.js +456 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.props.js +39 -0
- package/components/basic/search/search.props.js.map +1 -0
- package/components/basic/search/search.styles.js +187 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/skeleton/skeleton.component.js +151 -0
- package/components/basic/skeleton/skeleton.component.js.map +1 -0
- package/components/basic/skeleton/skeleton.props.js +11 -0
- package/components/basic/skeleton/skeleton.props.js.map +1 -0
- package/components/basic/skeleton/skeleton.styles.js +41 -0
- package/components/basic/skeleton/skeleton.styles.js.map +1 -0
- package/components/basic/spinner/spinner.component.js +99 -0
- package/components/basic/spinner/spinner.component.js.map +1 -0
- package/components/basic/spinner/spinner.props.js +17 -0
- package/components/basic/spinner/spinner.props.js.map +1 -0
- package/components/basic/spinner/spinner.styles.js +41 -0
- package/components/basic/spinner/spinner.styles.js.map +1 -0
- package/components/basic/tooltip/tooltip.component.js +80 -0
- package/components/basic/tooltip/tooltip.component.js.map +1 -0
- package/components/basic/tooltip/tooltip.props.js +18 -0
- package/components/basic/tooltip/tooltip.props.js.map +1 -0
- package/components/basic/tooltip/tooltip.styles.js +49 -0
- package/components/basic/tooltip/tooltip.styles.js.map +1 -0
- package/components/basic/video/video.component.js +206 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/basic/video/video.props.js +33 -0
- package/components/basic/video/video.props.js.map +1 -0
- package/components/basic/video/video.styles.js +33 -0
- package/components/basic/video/video.styles.js.map +1 -0
- package/components/chart/area-chart/area-chart.component.js +159 -0
- package/components/chart/area-chart/area-chart.component.js.map +1 -0
- package/components/chart/area-chart/area-chart.props.js +12 -0
- package/components/chart/area-chart/area-chart.props.js.map +1 -0
- package/components/chart/area-chart/area-chart.styles.js +13 -0
- package/components/chart/area-chart/area-chart.styles.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.js +144 -0
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js +15 -0
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.styles.js +13 -0
- package/components/chart/bar-chart/bar-chart.styles.js.map +1 -0
- package/components/chart/basechart.component.js +709 -0
- package/components/chart/basechart.component.js.map +1 -0
- package/components/chart/basechart.props.js +65 -0
- package/components/chart/basechart.props.js.map +1 -0
- package/components/chart/basechart.styles.js +97 -0
- package/components/chart/basechart.styles.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.js +113 -0
- package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.props.js +11 -0
- package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.styles.js +13 -0
- package/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -0
- package/components/chart/column-chart/column-chart.component.js +8 -0
- package/components/chart/column-chart/column-chart.component.js.map +1 -0
- package/components/chart/column-chart/column-chart.props.js +3 -0
- package/components/chart/column-chart/column-chart.props.js.map +1 -0
- package/components/chart/column-chart/column-chart.styles.js +13 -0
- package/components/chart/column-chart/column-chart.styles.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.component.js +7 -0
- package/components/chart/donut-chart/donut-chart.component.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.props.js +11 -0
- package/components/chart/donut-chart/donut-chart.props.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.styles.js +13 -0
- package/components/chart/donut-chart/donut-chart.styles.js.map +1 -0
- package/components/chart/legend/legend.component.js +36 -0
- package/components/chart/legend/legend.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.component.js +119 -0
- package/components/chart/line-chart/line-chart.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.props.js +14 -0
- package/components/chart/line-chart/line-chart.props.js.map +1 -0
- package/components/chart/line-chart/line-chart.styles.js +13 -0
- package/components/chart/line-chart/line-chart.styles.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.component.js +251 -0
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.js +14 -0
- package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.styles.js +13 -0
- package/components/chart/pie-chart/pie-chart.styles.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.component.js +368 -0
- package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.props.js +17 -0
- package/components/chart/stack-chart/stack-chart.props.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.styles.js +7 -0
- package/components/chart/stack-chart/stack-chart.styles.js.map +1 -0
- package/components/chart/staticdata.js +215 -0
- package/components/chart/staticdata.js.map +1 -0
- package/components/chart/theme/chart.theme.js +360 -0
- package/components/chart/theme/chart.theme.js.map +1 -0
- package/components/container/accordion/accordion.component.js +202 -0
- package/components/container/accordion/accordion.component.js.map +1 -0
- package/components/container/accordion/accordion.props.js +16 -0
- package/components/container/accordion/accordion.props.js.map +1 -0
- package/components/container/accordion/accordion.styles.js +148 -0
- package/components/container/accordion/accordion.styles.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js +87 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js +17 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.js +16 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -0
- package/components/container/container.component.js +194 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/container.props.js +18 -0
- package/components/container/container.props.js.map +1 -0
- package/components/container/container.styles.js +48 -0
- package/components/container/container.styles.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +29 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +13 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +12 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js +22 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js +11 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.js +42 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.component.js +44 -0
- package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.props.js +11 -0
- package/components/container/layoutgrid/layoutgrid.props.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.styles.js +34 -0
- package/components/container/layoutgrid/layoutgrid.styles.js.map +1 -0
- package/components/container/linearlayout/linearlayout.component.js +70 -0
- package/components/container/linearlayout/linearlayout.component.js.map +1 -0
- package/components/container/linearlayout/linearlayout.props.js +15 -0
- package/components/container/linearlayout/linearlayout.props.js.map +1 -0
- package/components/container/linearlayout/linearlayout.styles.js +14 -0
- package/components/container/linearlayout/linearlayout.styles.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +25 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +13 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +11 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -0
- package/components/container/panel/collapsible-pane.component.js +26 -0
- package/components/container/panel/collapsible-pane.component.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.component.js +17 -0
- package/components/container/panel/panel-content/panel-content.component.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.props.js +11 -0
- package/components/container/panel/panel-content/panel-content.props.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.styles.js +16 -0
- package/components/container/panel/panel-content/panel-content.styles.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.component.js +17 -0
- package/components/container/panel/panel-footer/panel-footer.component.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.props.js +11 -0
- package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.styles.js +19 -0
- package/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -0
- package/components/container/panel/panel.component.js +163 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.props.js +26 -0
- package/components/container/panel/panel.props.js.map +1 -0
- package/components/container/panel/panel.styles.js +108 -0
- package/components/container/panel/panel.styles.js.map +1 -0
- package/components/container/partial-host.component.js +42 -0
- package/components/container/partial-host.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.js +240 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.props.js +18 -0
- package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.js +111 -0
- package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.js +82 -0
- package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.js +19 -0
- package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.styles.js +13 -0
- package/components/container/tabs/tabpane/tabpane.styles.js.map +1 -0
- package/components/container/tabs/tabs.component.js +299 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/tabs/tabs.props.js +16 -0
- package/components/container/tabs/tabs.props.js.map +1 -0
- package/components/container/tabs/tabs.styles.js +65 -0
- package/components/container/tabs/tabs.styles.js.map +1 -0
- package/components/container/tile/tile.component.js +54 -0
- package/components/container/tile/tile.component.js.map +1 -0
- package/components/container/tile/tile.props.js +13 -0
- package/components/container/tile/tile.props.js.map +1 -0
- package/components/container/tile/tile.styles.js +38 -0
- package/components/container/tile/tile.styles.js.map +1 -0
- package/components/container/wizard/wizard.component.js +550 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.props.js +31 -0
- package/components/container/wizard/wizard.props.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +415 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.component.js +17 -0
- package/components/container/wizard/wizardaction/wizardaction.component.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.props.js +11 -0
- package/components/container/wizard/wizardaction/wizardaction.props.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.styles.js +11 -0
- package/components/container/wizard/wizardaction/wizardaction.styles.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js +92 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js +22 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.js +13 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -0
- package/components/data/card/card-content/card-content.component.js +46 -0
- package/components/data/card/card-content/card-content.component.js.map +1 -0
- package/components/data/card/card-content/card-content.props.js +12 -0
- package/components/data/card/card-content/card-content.props.js.map +1 -0
- package/components/data/card/card-content/card-content.styles.js +17 -0
- package/components/data/card/card-content/card-content.styles.js.map +1 -0
- package/components/data/card/card-footer/card-footer.component.js +18 -0
- package/components/data/card/card-footer/card-footer.component.js.map +1 -0
- package/components/data/card/card-footer/card-footer.props.js +11 -0
- package/components/data/card/card-footer/card-footer.props.js.map +1 -0
- package/components/data/card/card-footer/card-footer.styles.js +18 -0
- package/components/data/card/card-footer/card-footer.styles.js.map +1 -0
- package/components/data/card/card.component.js +92 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/card/card.props.js +27 -0
- package/components/data/card/card.props.js.map +1 -0
- package/components/data/card/card.styles.js +51 -0
- package/components/data/card/card.styles.js.map +1 -0
- package/components/data/form/form-action/form-action.component.js +35 -0
- package/components/data/form/form-action/form-action.component.js.map +1 -0
- package/components/data/form/form-action/form-action.props.js +18 -0
- package/components/data/form/form-action/form-action.props.js.map +1 -0
- package/components/data/form/form-action/form-action.styles.js +34 -0
- package/components/data/form/form-action/form-action.styles.js.map +1 -0
- package/components/data/form/form-body/form-body.component.js +20 -0
- package/components/data/form/form-body/form-body.component.js.map +1 -0
- package/components/data/form/form-body/form-body.props.js +11 -0
- package/components/data/form/form-body/form-body.props.js.map +1 -0
- package/components/data/form/form-body/form-body.styles.js +13 -0
- package/components/data/form/form-body/form-body.styles.js.map +1 -0
- package/components/data/form/form-field/form-field.component.js +257 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form-field/form-field.props.js +35 -0
- package/components/data/form/form-field/form-field.props.js.map +1 -0
- package/components/data/form/form-field/form-field.styles.js +40 -0
- package/components/data/form/form-field/form-field.styles.js.map +1 -0
- package/components/data/form/form-footer/form-footer.component.js +20 -0
- package/components/data/form/form-footer/form-footer.component.js.map +1 -0
- package/components/data/form/form-footer/form-footer.props.js +11 -0
- package/components/data/form/form-footer/form-footer.props.js.map +1 -0
- package/components/data/form/form-footer/form-footer.styles.js +18 -0
- package/components/data/form/form-footer/form-footer.styles.js.map +1 -0
- package/components/data/form/form.component.js +465 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/form/form.props.js +38 -0
- package/components/data/form/form.props.js.map +1 -0
- package/components/data/form/form.styles.js +53 -0
- package/components/data/form/form.styles.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.component.js +28 -0
- package/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.props.js +12 -0
- package/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.styles.js +36 -0
- package/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
- package/components/data/list/list-template/list-template.component.js +55 -0
- package/components/data/list/list-template/list-template.component.js.map +1 -0
- package/components/data/list/list-template/list-template.props.js +13 -0
- package/components/data/list/list-template/list-template.props.js.map +1 -0
- package/components/data/list/list-template/list-template.styles.js +35 -0
- package/components/data/list/list-template/list-template.styles.js.map +1 -0
- package/components/data/list/list.component.js +690 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +53 -0
- package/components/data/list/list.props.js.map +1 -0
- package/components/data/list/list.styles.js +151 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/data/liveform/liveform.component.js +98 -0
- package/components/data/liveform/liveform.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.js +69 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.js +19 -0
- package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.styles.js +38 -0
- package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
- package/components/device/camera/camera.component.js +84 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.props.js +25 -0
- package/components/device/camera/camera.props.js.map +1 -0
- package/components/device/camera/camera.styles.js +39 -0
- package/components/device/camera/camera.styles.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js +72 -0
- package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.props.js +24 -0
- package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js +34 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js +78 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js +24 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
- package/components/dialogs/dialog/dialog.component.js +107 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.props.js +25 -0
- package/components/dialogs/dialog/dialog.props.js.map +1 -0
- package/components/dialogs/dialog/dialog.styles.js +78 -0
- package/components/dialogs/dialog/dialog.styles.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.component.js +22 -0
- package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.props.js +11 -0
- package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.styles.js +17 -0
- package/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js +31 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js +11 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.js +15 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -0
- package/components/input/basedataset/basedataset.component.js +232 -0
- package/components/input/basedataset/basedataset.component.js.map +1 -0
- package/components/input/basedataset/basedataset.props.js +33 -0
- package/components/input/basedataset/basedataset.props.js.map +1 -0
- package/components/input/basedataset/basedataset.styles.js +11 -0
- package/components/input/basedataset/basedataset.styles.js.map +1 -0
- package/components/input/baseinput/baseinput.component.js +203 -0
- package/components/input/baseinput/baseinput.component.js.map +1 -0
- package/components/input/baseinput/baseinput.props.js +32 -0
- package/components/input/baseinput/baseinput.props.js.map +1 -0
- package/components/input/baseinput/baseinput.styles.js +11 -0
- package/components/input/baseinput/baseinput.styles.js.map +1 -0
- package/components/input/basenumber/basenumber.component.js +357 -0
- package/components/input/basenumber/basenumber.component.js.map +1 -0
- package/components/input/basenumber/basenumber.props.js +28 -0
- package/components/input/basenumber/basenumber.props.js.map +1 -0
- package/components/input/basenumber/basenumber.styles.js +11 -0
- package/components/input/basenumber/basenumber.styles.js.map +1 -0
- package/components/input/calendar/calendar.component.js +173 -0
- package/components/input/calendar/calendar.component.js.map +1 -0
- package/components/input/calendar/calendar.props.js +14 -0
- package/components/input/calendar/calendar.props.js.map +1 -0
- package/components/input/calendar/calendar.styles.js +162 -0
- package/components/input/calendar/calendar.styles.js.map +1 -0
- package/components/input/calendar/views/month-view.js +211 -0
- package/components/input/calendar/views/month-view.js.map +1 -0
- package/components/input/calendar/views/month-view.styles.js +39 -0
- package/components/input/calendar/views/month-view.styles.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js +124 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkbox/checkbox.props.js +18 -0
- package/components/input/checkbox/checkbox.props.js.map +1 -0
- package/components/input/checkbox/checkbox.styles.js +94 -0
- package/components/input/checkbox/checkbox.styles.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js +159 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.props.js +21 -0
- package/components/input/checkboxset/checkboxset.props.js.map +1 -0
- package/components/input/checkboxset/checkboxset.styles.js +88 -0
- package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
- package/components/input/chips/chips.component.js +410 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.props.js +30 -0
- package/components/input/chips/chips.props.js.map +1 -0
- package/components/input/chips/chips.styles.js +221 -0
- package/components/input/chips/chips.styles.js.map +1 -0
- package/components/input/composite/composite.component.js +25 -0
- package/components/input/composite/composite.component.js.map +1 -0
- package/components/input/composite/composite.props.js +12 -0
- package/components/input/composite/composite.props.js.map +1 -0
- package/components/input/composite/composite.styles.js +29 -0
- package/components/input/composite/composite.styles.js.map +1 -0
- package/components/input/currency/currency.component.js +120 -0
- package/components/input/currency/currency.component.js.map +1 -0
- package/components/input/currency/currency.props.js +13 -0
- package/components/input/currency/currency.props.js.map +1 -0
- package/components/input/currency/currency.styles.js +148 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +496 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/epoch/date/date.component.js +20 -0
- package/components/input/epoch/date/date.component.js.map +1 -0
- package/components/input/epoch/date/date.props.js +11 -0
- package/components/input/epoch/date/date.props.js.map +1 -0
- package/components/input/epoch/date/date.styles.js +48 -0
- package/components/input/epoch/date/date.styles.js.map +1 -0
- package/components/input/epoch/date-picker.component.js +136 -0
- package/components/input/epoch/date-picker.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.component.js +20 -0
- package/components/input/epoch/datetime/datetime.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.props.js +36 -0
- package/components/input/epoch/datetime/datetime.props.js.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.js +163 -0
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
- package/components/input/epoch/time/time.component.js +26 -0
- package/components/input/epoch/time/time.component.js.map +1 -0
- package/components/input/epoch/time/time.props.js +15 -0
- package/components/input/epoch/time/time.props.js.map +1 -0
- package/components/input/epoch/time/time.styles.js +48 -0
- package/components/input/epoch/time/time.styles.js.map +1 -0
- package/components/input/epoch/wheel-date-picker.component.js +206 -0
- package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
- package/components/input/epoch/wheel-time-picker.component.js +107 -0
- package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js +97 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +85 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +20 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +83 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +19 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
- package/components/input/fileupload/fileupload.component.js +70 -0
- package/components/input/fileupload/fileupload.component.js.map +1 -0
- package/components/input/fileupload/fileupload.props.js +19 -0
- package/components/input/fileupload/fileupload.props.js.map +1 -0
- package/components/input/fileupload/fileupload.styles.js +27 -0
- package/components/input/fileupload/fileupload.styles.js.map +1 -0
- package/components/input/number/number.component.js +86 -0
- package/components/input/number/number.component.js.map +1 -0
- package/components/input/number/number.props.js +13 -0
- package/components/input/number/number.props.js.map +1 -0
- package/components/input/number/number.styles.js +93 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +147 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/radioset/radioset.props.js +20 -0
- package/components/input/radioset/radioset.props.js.map +1 -0
- package/components/input/radioset/radioset.styles.js +102 -0
- package/components/input/radioset/radioset.styles.js.map +1 -0
- package/components/input/rating/rating.component.js +155 -0
- package/components/input/rating/rating.component.js.map +1 -0
- package/components/input/rating/rating.props.js +25 -0
- package/components/input/rating/rating.props.js.map +1 -0
- package/components/input/rating/rating.styles.js +48 -0
- package/components/input/rating/rating.styles.js.map +1 -0
- package/components/input/select/select.component.js +303 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.props.js +12 -0
- package/components/input/select/select.props.js.map +1 -0
- package/components/input/select/select.styles.js +178 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +538 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.props.js +20 -0
- package/components/input/slider/slider.props.js.map +1 -0
- package/components/input/slider/slider.styles.js +95 -0
- package/components/input/slider/slider.styles.js.map +1 -0
- package/components/input/switch/switch.component.js +99 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.props.js +13 -0
- package/components/input/switch/switch.props.js.map +1 -0
- package/components/input/switch/switch.styles.js +192 -0
- package/components/input/switch/switch.styles.js.map +1 -0
- package/components/input/text/text.component.js +132 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.props.js +21 -0
- package/components/input/text/text.props.js.map +1 -0
- package/components/input/text/text.styles.js +130 -0
- package/components/input/text/text.styles.js.map +1 -0
- package/components/input/textarea/textarea.component.js +88 -0
- package/components/input/textarea/textarea.component.js.map +1 -0
- package/components/input/textarea/textarea.props.js +15 -0
- package/components/input/textarea/textarea.props.js.map +1 -0
- package/components/input/textarea/textarea.styles.js +84 -0
- package/components/input/textarea/textarea.styles.js.map +1 -0
- package/components/input/toggle/toggle.component.js +202 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.props.js +32 -0
- package/components/input/toggle/toggle.props.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +97 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js +114 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.js +22 -0
- package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js +169 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/basenav/basenav.component.js +72 -0
- package/components/navigation/basenav/basenav.component.js.map +1 -0
- package/components/navigation/basenav/basenav.props.js +18 -0
- package/components/navigation/basenav/basenav.props.js.map +1 -0
- package/components/navigation/basenav/basenav.styles.js +11 -0
- package/components/navigation/basenav/basenav.styles.js.map +1 -0
- package/components/navigation/menu/menu.component.js +66 -0
- package/components/navigation/menu/menu.component.js.map +1 -0
- package/components/navigation/menu/menu.props.js +15 -0
- package/components/navigation/menu/menu.props.js.map +1 -0
- package/components/navigation/menu/menu.styles.js +70 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navbar/navbar.component.js +78 -0
- package/components/navigation/navbar/navbar.component.js.map +1 -0
- package/components/navigation/navbar/navbar.props.js +16 -0
- package/components/navigation/navbar/navbar.props.js.map +1 -0
- package/components/navigation/navbar/navbar.styles.js +41 -0
- package/components/navigation/navbar/navbar.styles.js.map +1 -0
- package/components/navigation/navitem/navitem.component.js +70 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.props.js +19 -0
- package/components/navigation/navitem/navitem.props.js.map +1 -0
- package/components/navigation/navitem/navitem.styles.js +80 -0
- package/components/navigation/navitem/navitem.styles.js.map +1 -0
- package/components/navigation/popover/popover.component.js +220 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.props.js +34 -0
- package/components/navigation/popover/popover.props.js.map +1 -0
- package/components/navigation/popover/popover.styles.js +92 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/content/content.component.js +16 -0
- package/components/page/content/content.component.js.map +1 -0
- package/components/page/content/content.props.js +2 -0
- package/components/page/content/content.props.js.map +1 -0
- package/components/page/content/content.styles.js +13 -0
- package/components/page/content/content.styles.js.map +1 -0
- package/components/page/left-panel/left-panel.component.js +64 -0
- package/components/page/left-panel/left-panel.component.js.map +1 -0
- package/components/page/left-panel/left-panel.props.js +12 -0
- package/components/page/left-panel/left-panel.props.js.map +1 -0
- package/components/page/left-panel/left-panel.styles.js +18 -0
- package/components/page/left-panel/left-panel.styles.js.map +1 -0
- package/components/page/page-content/page-content.component.js +207 -0
- package/components/page/page-content/page-content.component.js.map +1 -0
- package/components/page/page-content/page-content.props.js +18 -0
- package/components/page/page-content/page-content.props.js.map +1 -0
- package/components/page/page-content/page-content.styles.js +20 -0
- package/components/page/page-content/page-content.styles.js.map +1 -0
- package/components/page/page.component.js +48 -0
- package/components/page/page.component.js.map +1 -0
- package/components/page/page.props.js +15 -0
- package/components/page/page.props.js.map +1 -0
- package/components/page/page.styles.js +24 -0
- package/components/page/page.styles.js.map +1 -0
- package/components/page/partial/partial.component.js +42 -0
- package/components/page/partial/partial.component.js.map +1 -0
- package/components/page/partial/partial.props.js +2 -0
- package/components/page/partial/partial.props.js.map +1 -0
- package/components/page/partial/partial.styles.js +18 -0
- package/components/page/partial/partial.styles.js.map +1 -0
- package/components/page/partial-container/partial-container.component.js +35 -0
- package/components/page/partial-container/partial-container.component.js.map +1 -0
- package/components/page/partial-container/partial-container.props.js +13 -0
- package/components/page/partial-container/partial-container.props.js.map +1 -0
- package/components/page/partial-container/partial-container.styles.js +14 -0
- package/components/page/partial-container/partial-container.styles.js.map +1 -0
- package/components/page/tabbar/curve.js +84 -0
- package/components/page/tabbar/curve.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js +258 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/components/page/tabbar/tabbar.props.js +29 -0
- package/components/page/tabbar/tabbar.props.js.map +1 -0
- package/components/page/tabbar/tabbar.styles.js +160 -0
- package/components/page/tabbar/tabbar.styles.js.map +1 -0
- package/components/prefab/prefab-container.component.js +42 -0
- package/components/prefab/prefab-container.component.js.map +1 -0
- package/components/prefab/prefab-container.props.js +2 -0
- package/components/prefab/prefab-container.props.js.map +1 -0
- package/components/prefab/prefab-container.styles.js +16 -0
- package/components/prefab/prefab-container.styles.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.component.js +322 -0
- package/components-prism/advanced/carousel/carousel.component.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.props.js +24 -0
- package/components-prism/advanced/carousel/carousel.props.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.styles.js +179 -0
- package/components-prism/advanced/carousel/carousel.styles.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.component.js +227 -0
- package/components-prism/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.props.js +20 -0
- package/components-prism/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.styles.js +43 -0
- package/components-prism/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.component.js +80 -0
- package/components-prism/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.props.js +19 -0
- package/components-prism/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.styles.js +82 -0
- package/components-prism/basic/progress-circle/progress-circle.styles.js.map +1 -0
- package/components-prism/data/list/list-template/list-template.styles.js +27 -0
- package/components-prism/data/list/list-template/list-template.styles.js.map +1 -0
- package/components-prism/input/slider/Thumb.js +35 -0
- package/components-prism/input/slider/Thumb.js.map +1 -0
- package/components-prism/input/slider/slider.component.js +108 -0
- package/components-prism/input/slider/slider.component.js.map +1 -0
- package/components-prism/input/slider/slider.props.js +20 -0
- package/components-prism/input/slider/slider.props.js.map +1 -0
- package/components-prism/input/slider/slider.styles.js +135 -0
- package/components-prism/input/slider/slider.styles.js.map +1 -0
- package/components-prism/input/slider/withSlider.js +339 -0
- package/components-prism/input/slider/withSlider.js.map +1 -0
- package/core/AppConfig.js +2 -0
- package/core/AppConfig.js.map +1 -0
- package/core/accessibility.js +195 -0
- package/core/accessibility.js.map +1 -0
- package/core/advanced-promise-rejection-tracker.js +208 -0
- package/core/advanced-promise-rejection-tracker.js.map +1 -0
- package/core/asset.provider.js +5 -0
- package/core/asset.provider.js.map +1 -0
- package/core/auto-layout-host.component.js +31 -0
- package/core/auto-layout-host.component.js.map +1 -0
- package/core/auto-layout.utils.js +250 -0
- package/core/auto-layout.utils.js.map +1 -0
- package/core/base.component.js +671 -0
- package/core/base.component.js.map +1 -0
- package/core/components/error-fallback/error-fallback.component.js +172 -0
- package/core/components/error-fallback/error-fallback.component.js.map +1 -0
- package/core/components/error-fallback/error-fallback.styles.js +227 -0
- package/core/components/error-fallback/error-fallback.styles.js.map +1 -0
- package/core/components/floatinglabel.component.js +86 -0
- package/core/components/floatinglabel.component.js.map +1 -0
- package/core/components/sticky-base.component.js +54 -0
- package/core/components/sticky-base.component.js.map +1 -0
- package/core/components/sticky-container.component.js +34 -0
- package/core/components/sticky-container.component.js.map +1 -0
- package/core/components/sticky-container.styles.js +98 -0
- package/core/components/sticky-container.styles.js.map +1 -0
- package/core/components/sticky-nav.component.js +28 -0
- package/core/components/sticky-nav.component.js.map +1 -0
- package/core/components/textinput.component.js +226 -0
- package/core/components/textinput.component.js.map +1 -0
- package/core/components-prism/progress-circle.js +217 -0
- package/core/components-prism/progress-circle.js.map +1 -0
- package/core/constant.service.js +22 -0
- package/core/constant.service.js.map +1 -0
- package/core/constants/currency-constants.js +1066 -0
- package/core/constants/currency-constants.js.map +1 -0
- package/core/currency-constants.js +1065 -0
- package/core/currency-constants.js.map +1 -0
- package/core/device/av-service.js +8 -0
- package/core/device/av-service.js.map +1 -0
- package/core/device/calendar-service.js +8 -0
- package/core/device/calendar-service.js.map +1 -0
- package/core/device/camera-service.js +11 -0
- package/core/device/camera-service.js.map +1 -0
- package/core/device/contacts-service.js +8 -0
- package/core/device/contacts-service.js.map +1 -0
- package/core/device/fileupload-service.js +8 -0
- package/core/device/fileupload-service.js.map +1 -0
- package/core/device/location-service.js +8 -0
- package/core/device/location-service.js.map +1 -0
- package/core/device/openfile-service.js +10 -0
- package/core/device/openfile-service.js.map +1 -0
- package/core/device/scan-service.js +11 -0
- package/core/device/scan-service.js.map +1 -0
- package/core/display.manager.js +5 -0
- package/core/display.manager.js.map +1 -0
- package/core/error-boundary.component.js +64 -0
- package/core/error-boundary.component.js.map +1 -0
- package/core/event-notifier.js +69 -0
- package/core/event-notifier.js.map +1 -0
- package/core/file-extension-types.js +70 -0
- package/core/file-extension-types.js.map +1 -0
- package/core/fixed-view.component.js +94 -0
- package/core/fixed-view.component.js.map +1 -0
- package/core/formatters.js +70 -0
- package/core/formatters.js.map +1 -0
- package/core/global-error-handler.service.js +103 -0
- package/core/global-error-handler.service.js.map +1 -0
- package/core/i18n.service.js +2 -0
- package/core/i18n.service.js.map +1 -0
- package/core/if.component.js +35 -0
- package/core/if.component.js.map +1 -0
- package/core/imageSizeEstimator.js +51 -0
- package/core/imageSizeEstimator.js.map +1 -0
- package/core/injector.js +27 -0
- package/core/injector.js.map +1 -0
- package/core/key.extractor.js +21 -0
- package/core/key.extractor.js.map +1 -0
- package/core/logger.js +123 -0
- package/core/logger.js.map +1 -0
- package/core/modal.service.js +5 -0
- package/core/modal.service.js.map +1 -0
- package/core/navigation.service.js +70 -0
- package/core/navigation.service.js.map +1 -0
- package/core/network.service.js +327 -0
- package/core/network.service.js.map +1 -0
- package/core/partial.service.js +5 -0
- package/core/partial.service.js.map +1 -0
- package/core/props.provider.js +88 -0
- package/core/props.provider.js.map +1 -0
- package/core/responsive.utils.js +51 -0
- package/core/responsive.utils.js.map +1 -0
- package/core/screen-capture-protection.service.js +5 -0
- package/core/screen-capture-protection.service.js.map +1 -0
- package/core/scroll-view.component.js +52 -0
- package/core/scroll-view.component.js.map +1 -0
- package/core/secure-storage.service.js +55 -0
- package/core/secure-storage.service.js.map +1 -0
- package/core/security.service.js +5 -0
- package/core/security.service.js.map +1 -0
- package/core/spinner.service.js +5 -0
- package/core/spinner.service.js.map +1 -0
- package/core/sticky-view.component.js +51 -0
- package/core/sticky-view.component.js.map +1 -0
- package/core/sticky-wrapper.js +133 -0
- package/core/sticky-wrapper.js.map +1 -0
- package/core/storage.service.js +38 -0
- package/core/storage.service.js.map +1 -0
- package/core/tappable.component.js +163 -0
- package/core/tappable.component.js.map +1 -0
- package/core/testid.provider.js +5 -0
- package/core/testid.provider.js.map +1 -0
- package/core/toast.service.js +5 -0
- package/core/toast.service.js.map +1 -0
- package/core/ui-preferences.context.js +10 -0
- package/core/ui-preferences.context.js.map +1 -0
- package/core/utils.js +867 -0
- package/core/utils.js.map +1 -0
- package/core/viewport.js +45 -0
- package/core/viewport.js.map +1 -0
- package/core/wm-component-tree.js +58 -0
- package/core/wm-component-tree.js.map +1 -0
- package/gestures/carousel-swipe.animation.js +225 -0
- package/gestures/carousel-swipe.animation.js.map +1 -0
- package/gestures/swipe.animation.js +220 -0
- package/gestures/swipe.animation.js.map +1 -0
- package/gestures-prism/carousel.flatlist.js +349 -0
- package/gestures-prism/carousel.flatlist.js.map +1 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/npm-shrinkwrap.json +26212 -0
- package/package-lock.json +26212 -0
- package/package.json +291 -0
- package/runtime/App.js +763 -0
- package/runtime/App.js.map +1 -0
- package/runtime/App.navigator.js +113 -0
- package/runtime/App.navigator.js.map +1 -0
- package/runtime/base-customwidget.component.js +52 -0
- package/runtime/base-customwidget.component.js.map +1 -0
- package/runtime/base-fragment.component.js +418 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/base-page.component.js +233 -0
- package/runtime/base-page.component.js.map +1 -0
- package/runtime/base-partial.component.js +63 -0
- package/runtime/base-partial.component.js.map +1 -0
- package/runtime/base-prefab.component.js +87 -0
- package/runtime/base-prefab.component.js.map +1 -0
- package/runtime/lib-patch.js +25 -0
- package/runtime/lib-patch.js.map +1 -0
- package/runtime/memo.component.js +44 -0
- package/runtime/memo.component.js.map +1 -0
- package/runtime/navigator/drawer.navigator.js +41 -0
- package/runtime/navigator/drawer.navigator.js.map +1 -0
- package/runtime/navigator/stack.navigator.js +78 -0
- package/runtime/navigator/stack.navigator.js.map +1 -0
- package/runtime/platform.api.js +7 -0
- package/runtime/platform.api.js.map +1 -0
- package/runtime/services/app-display-manager.service.js +52 -0
- package/runtime/services/app-display-manager.service.js.map +1 -0
- package/runtime/services/app-i18n.service.js +89 -0
- package/runtime/services/app-i18n.service.js.map +1 -0
- package/runtime/services/app-modal.service.js +73 -0
- package/runtime/services/app-modal.service.js.map +1 -0
- package/runtime/services/app-security.service.js +256 -0
- package/runtime/services/app-security.service.js.map +1 -0
- package/runtime/services/app-spinner.service.js +74 -0
- package/runtime/services/app-spinner.service.js.map +1 -0
- package/runtime/services/app-toast.service.js +60 -0
- package/runtime/services/app-toast.service.js.map +1 -0
- package/runtime/services/device/calendar-service.js +95 -0
- package/runtime/services/device/calendar-service.js.map +1 -0
- package/runtime/services/device/camera-service.js +377 -0
- package/runtime/services/device/camera-service.js.map +1 -0
- package/runtime/services/device/contacts-service.js +34 -0
- package/runtime/services/device/contacts-service.js.map +1 -0
- package/runtime/services/device/location-service.js +16 -0
- package/runtime/services/device/location-service.js.map +1 -0
- package/runtime/services/device/permission-service.js +5 -0
- package/runtime/services/device/permission-service.js.map +1 -0
- package/runtime/services/device/permissions.js +45 -0
- package/runtime/services/device/permissions.js.map +1 -0
- package/runtime/services/device/scan-service.js +163 -0
- package/runtime/services/device/scan-service.js.map +1 -0
- package/runtime/services/partial.service.js +26 -0
- package/runtime/services/partial.service.js.map +1 -0
- package/runtime/services/webprocess.service.js +107 -0
- package/runtime/services/webprocess.service.js.map +1 -0
- package/runtime/watcher.js +147 -0
- package/runtime/watcher.js.map +1 -0
- package/styles/MediaQueryList.js +19 -0
- package/styles/MediaQueryList.js.map +1 -0
- package/styles/background.component.js +317 -0
- package/styles/background.component.js.map +1 -0
- package/styles/calc.js +165 -0
- package/styles/calc.js.map +1 -0
- package/styles/color-mix.js +82 -0
- package/styles/color-mix.js.map +1 -0
- package/styles/style-prop.validator.js +467 -0
- package/styles/style-prop.validator.js.map +1 -0
- package/styles/style-props.js +105 -0
- package/styles/style-props.js.map +1 -0
- package/styles/theme.js +725 -0
- package/styles/theme.js.map +1 -0
- package/styles/theme.variables.js +444 -0
- package/styles/theme.variables.js.map +1 -0
- package/variables/base-variable.js +125 -0
- package/variables/base-variable.js.map +1 -0
- package/variables/device/calendar/create-event.operation.js +53 -0
- package/variables/device/calendar/create-event.operation.js.map +1 -0
- package/variables/device/calendar/delete-event.operation.js +15 -0
- package/variables/device/calendar/delete-event.operation.js.map +1 -0
- package/variables/device/calendar/get-events.operation.js +15 -0
- package/variables/device/calendar/get-events.operation.js.map +1 -0
- package/variables/device/camera/capture-image.operation.js +13 -0
- package/variables/device/camera/capture-image.operation.js.map +1 -0
- package/variables/device/camera/capture-video.operation.js +12 -0
- package/variables/device/camera/capture-video.operation.js.map +1 -0
- package/variables/device/contacts/get-contacts.operation.js +15 -0
- package/variables/device/contacts/get-contacts.operation.js.map +1 -0
- package/variables/device/device/app-info.operation.js +13 -0
- package/variables/device/device/app-info.operation.js.map +1 -0
- package/variables/device/device/current-geo-position.operation.js +15 -0
- package/variables/device/device/current-geo-position.operation.js.map +1 -0
- package/variables/device/device/device-info.operation.js +12 -0
- package/variables/device/device/device-info.operation.js.map +1 -0
- package/variables/device/device/network-info.operation.js +33 -0
- package/variables/device/device/network-info.operation.js.map +1 -0
- package/variables/device/device/vibrate.operation.js +8 -0
- package/variables/device/device/vibrate.operation.js.map +1 -0
- package/variables/device/file/open-file.operation.js +71 -0
- package/variables/device/file/open-file.operation.js.map +1 -0
- package/variables/device/file/upload-file.operation.js +66 -0
- package/variables/device/file/upload-file.operation.js.map +1 -0
- package/variables/device/operation.provider.js +11 -0
- package/variables/device/operation.provider.js.map +1 -0
- package/variables/device/scan/scan.operation.js +15 -0
- package/variables/device/scan/scan.operation.js.map +1 -0
- package/variables/device-variable.js +28 -0
- package/variables/device-variable.js.map +1 -0
- package/variables/http.service.js +84 -0
- package/variables/http.service.js.map +1 -0
- package/variables/live-variable.js +130 -0
- package/variables/live-variable.js.map +1 -0
- package/variables/model-variable.js +47 -0
- package/variables/model-variable.js.map +1 -0
- package/variables/service-variable.js +143 -0
- package/variables/service-variable.js.map +1 -0
- package/variables/utils/dataset-util.js +139 -0
- package/variables/utils/dataset-util.js.map +1 -0
- package/variables/utils/inflight-queue.js +114 -0
- package/variables/utils/inflight-queue.js.map +1 -0
- package/variables/utils/variable.constants.js +22 -0
- package/variables/utils/variable.constants.js.map +1 -0
- package/variables/utils/variable.utils.js +189 -0
- package/variables/utils/variable.utils.js.map +1 -0
- package/wm-namespace.js +15 -0
- package/wm-namespace.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmMessageProps","constructor","args","_defineProperty","undefined"],"sources":["message.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmMessageProps extends BaseProps {\n animation?: string = 'fadeIn';\n animationdelay?: number = null as any;\n title?: string = '';\n variant?: string = 'dark'\n caption? = 'Message';\n type?: 'success' | 'warning' | 'error' | 'info' | 'loading' = 'success';\n hideclose? = false;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'alert';\n onClose?: () => void;\n closeiconclass?: string = 'wi wi-close';\n messageiconclass?: string = '';\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBAC/B,QAAQ;IAAAA,eAAA,yBACH,IAAI;IAAAA,eAAA,gBACb,EAAE;IAAAA,eAAA,kBACA,MAAM;IAAAA,eAAA,kBACd,SAAS;IAAAA,eAAA,eAC0C,SAAS;IAAAA,eAAA,oBAC1D,KAAK;IAAAA,eAAA,qBACK,IAAI;IAAAA,eAAA,6BACGC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,OAAO;IAAAA,eAAA;IAAAA,eAAA,yBAErB,aAAa;IAAAA,eAAA,2BACX,EAAE;EAAA;AAChC","ignoreList":[]}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
|
|
2
|
+
import { defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
3
|
+
import { Platform } from 'react-native';
|
|
4
|
+
export const DEFAULT_CLASS = 'app-message';
|
|
5
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
6
|
+
const defaultStyles = defineStyles({
|
|
7
|
+
root: {
|
|
8
|
+
flexDirection: 'row',
|
|
9
|
+
paddingTop: 8,
|
|
10
|
+
paddingBottom: 8,
|
|
11
|
+
paddingLeft: 8,
|
|
12
|
+
paddingRight: 8,
|
|
13
|
+
borderRadius: 6,
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
borderWidth: 1,
|
|
16
|
+
borderStyle: 'solid'
|
|
17
|
+
},
|
|
18
|
+
message: {
|
|
19
|
+
flex: 1,
|
|
20
|
+
flexDirection: 'column',
|
|
21
|
+
justifyContent: 'flex-start',
|
|
22
|
+
alignContent: 'center',
|
|
23
|
+
paddingLeft: 16
|
|
24
|
+
},
|
|
25
|
+
title: {
|
|
26
|
+
fontWeight: 'bold',
|
|
27
|
+
fontSize: 14,
|
|
28
|
+
paddingBottom: 4
|
|
29
|
+
},
|
|
30
|
+
text: {
|
|
31
|
+
fontSize: 12
|
|
32
|
+
},
|
|
33
|
+
icon: {
|
|
34
|
+
root: {
|
|
35
|
+
alignItems: 'flex-start',
|
|
36
|
+
fontSize: 20
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
closeBtn: {
|
|
40
|
+
root: {
|
|
41
|
+
borderRadius: 0,
|
|
42
|
+
paddingLeft: 8,
|
|
43
|
+
paddingHorizontal: 0,
|
|
44
|
+
paddingRight: 0,
|
|
45
|
+
alignSelf: 'center'
|
|
46
|
+
},
|
|
47
|
+
icon: {
|
|
48
|
+
text: {
|
|
49
|
+
fontSize: 16
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
const getStyle = (bgColor, closeBtnColor, iconcolor, textcolor, titleColor, borderColor = themeVariables.transparent) => {
|
|
55
|
+
return {
|
|
56
|
+
root: {
|
|
57
|
+
backgroundColor: bgColor,
|
|
58
|
+
borderColor: borderColor
|
|
59
|
+
},
|
|
60
|
+
message: {
|
|
61
|
+
color: textcolor
|
|
62
|
+
},
|
|
63
|
+
title: {
|
|
64
|
+
color: titleColor
|
|
65
|
+
},
|
|
66
|
+
text: {
|
|
67
|
+
color: textcolor
|
|
68
|
+
},
|
|
69
|
+
icon: {
|
|
70
|
+
root: {
|
|
71
|
+
color: iconcolor
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
closeBtn: {
|
|
75
|
+
icon: {
|
|
76
|
+
root: {
|
|
77
|
+
color: closeBtnColor
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
84
|
+
addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS == "web" ? {
|
|
85
|
+
title: {
|
|
86
|
+
textAlign: 'right'
|
|
87
|
+
},
|
|
88
|
+
text: {
|
|
89
|
+
textAlign: 'right'
|
|
90
|
+
},
|
|
91
|
+
message: {
|
|
92
|
+
paddingRight: 16
|
|
93
|
+
}
|
|
94
|
+
} : {
|
|
95
|
+
title: {
|
|
96
|
+
textAlign: 'left'
|
|
97
|
+
},
|
|
98
|
+
text: {
|
|
99
|
+
textAlign: 'left'
|
|
100
|
+
},
|
|
101
|
+
message: {
|
|
102
|
+
paddingRight: 16
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
addStyle('success-dark-message', '', getStyle(themeVariables.messageSuccessColor, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF));
|
|
106
|
+
addStyle('error-dark-message', '', getStyle(themeVariables.messageErrorColor, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF));
|
|
107
|
+
addStyle('warning-dark-message', '', getStyle(themeVariables.messageWarningColor, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF));
|
|
108
|
+
addStyle('info-dark-message', '', getStyle(themeVariables.messageInfoColor, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF));
|
|
109
|
+
addStyle('loading-dark-message', '', getStyle(themeVariables.messageLoadingColor, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF, themeVariables.defaultColorF));
|
|
110
|
+
addStyle('success-light-message', '', getStyle(themeVariables.defaultColorF, themeVariables.defaultColor6, themeVariables.messageSuccessColor, themeVariables.defaultColor6, themeVariables.defaultColor1, themeVariables.defaultColorD));
|
|
111
|
+
addStyle('error-light-message', '', getStyle(themeVariables.defaultColorF, themeVariables.defaultColor6, themeVariables.messageErrorColor, themeVariables.defaultColor6, themeVariables.defaultColor1, themeVariables.defaultColorD));
|
|
112
|
+
addStyle('warning-light-message', '', getStyle(themeVariables.defaultColorF, themeVariables.defaultColor6, themeVariables.messageWarningColor, themeVariables.defaultColor6, themeVariables.defaultColor1, themeVariables.defaultColorD));
|
|
113
|
+
addStyle('info-light-message', '', getStyle(themeVariables.defaultColorF, themeVariables.defaultColor6, themeVariables.messageInfoColor, themeVariables.defaultColor6, themeVariables.defaultColor1, themeVariables.defaultColorD));
|
|
114
|
+
addStyle('loading-light-message', '', getStyle(themeVariables.defaultColorF, themeVariables.defaultColor6, themeVariables.messageLoadingColor, themeVariables.defaultColor6, themeVariables.defaultColor1, themeVariables.defaultColorD));
|
|
115
|
+
});
|
|
116
|
+
//# sourceMappingURL=message.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","Platform","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","paddingTop","paddingBottom","paddingLeft","paddingRight","borderRadius","alignItems","borderWidth","borderStyle","message","flex","justifyContent","alignContent","title","fontWeight","fontSize","text","icon","closeBtn","paddingHorizontal","alignSelf","getStyle","bgColor","closeBtnColor","iconcolor","textcolor","titleColor","borderColor","transparent","backgroundColor","color","OS","textAlign","messageSuccessColor","defaultColorF","messageErrorColor","messageWarningColor","messageInfoColor","messageLoadingColor","defaultColor6","defaultColor1","defaultColorD"],"sources":["message.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmButtonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/button/button.styles';\nimport { Platform } from 'react-native';\n\nexport type WmMessageStyles = BaseStyles & {\n message: AllStyle,\n icon: WmIconStyles\n closeBtn: WmButtonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-message';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmMessageStyles = defineStyles({\n root: {\n flexDirection: 'row',\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 8,\n paddingRight: 8,\n borderRadius: 6,\n alignItems: 'center',\n borderWidth: 1,\n borderStyle: 'solid'\n },\n message: {\n flex: 1,\n flexDirection: 'column',\n justifyContent: 'flex-start',\n alignContent: 'center',\n paddingLeft: 16\n },\n title: {\n fontWeight: 'bold',\n fontSize: 14,\n paddingBottom: 4\n },\n text: {\n fontSize: 12\n },\n icon: {\n root: {\n alignItems: 'flex-start',\n fontSize: 20\n }\n } as WmIconStyles,\n closeBtn: {\n root: {\n borderRadius: 0,\n paddingLeft: 8,\n paddingHorizontal: 0,\n paddingRight: 0,\n alignSelf: 'center'\n },\n icon: {\n text: {\n fontSize: 16\n }\n }\n } as WmButtonStyles\n }) as WmMessageStyles;\n\n const getStyle = (bgColor: string,\n closeBtnColor: string,\n iconcolor: string,\n textcolor: string,\n titleColor: string,\n borderColor = themeVariables.transparent) => {\n return {\n root: {\n backgroundColor: bgColor,\n borderColor: borderColor\n },\n message: {\n color: textcolor\n },\n title: {\n color: titleColor\n },\n text: {\n color: textcolor\n },\n icon: {\n root: {\n color: iconcolor\n }\n } as WmIconStyles,\n closeBtn: {\n icon: {\n root : {\n color: closeBtnColor,\n }\n }\n } as WmButtonStyles\n } as WmMessageStyles;\n };\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', Platform.OS==\"web\"?{\n title:{\n textAlign:'right',\n },\n text:{\n textAlign:'right',\n },\n message:{\n paddingRight: 16\n }\n }:{\n title:{\n textAlign:'left',\n },\n text:{\n textAlign:'left',\n },\n message:{\n paddingRight: 16\n }\n });\n addStyle('success-dark-message', '', getStyle(\n themeVariables.messageSuccessColor,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n ));\n addStyle('error-dark-message', '', getStyle(\n themeVariables.messageErrorColor,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n ));\n addStyle('warning-dark-message', '', getStyle(\n themeVariables.messageWarningColor,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF\n ));\n addStyle('info-dark-message', '', getStyle(\n themeVariables.messageInfoColor,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n ));\n addStyle('loading-dark-message', '', getStyle(\n themeVariables.messageLoadingColor,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n themeVariables.defaultColorF,\n ));\n\n\n addStyle('success-light-message', '', getStyle(\n themeVariables.defaultColorF,\n themeVariables.defaultColor6,\n themeVariables.messageSuccessColor,\n themeVariables.defaultColor6,\n themeVariables.defaultColor1,\n themeVariables.defaultColorD\n ));\n addStyle('error-light-message', '', getStyle(\n themeVariables.defaultColorF,\n themeVariables.defaultColor6,\n themeVariables.messageErrorColor,\n themeVariables.defaultColor6,\n themeVariables.defaultColor1,\n themeVariables.defaultColorD\n ));\n addStyle('warning-light-message', '', getStyle(\n themeVariables.defaultColorF,\n themeVariables.defaultColor6,\n themeVariables.messageWarningColor,\n themeVariables.defaultColor6,\n themeVariables.defaultColor1,\n themeVariables.defaultColorD\n ));\n addStyle('info-light-message', '', getStyle(\n themeVariables.defaultColorF,\n themeVariables.defaultColor6,\n themeVariables.messageInfoColor,\n themeVariables.defaultColor6,\n themeVariables.defaultColor1,\n themeVariables.defaultColorD\n ));\n addStyle('loading-light-message', '', getStyle(\n themeVariables.defaultColorF,\n themeVariables.defaultColor6,\n themeVariables.messageLoadingColor,\n themeVariables.defaultColor6,\n themeVariables.defaultColor1,\n themeVariables.defaultColorD\n ));\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,2CAA2C;AAChF,SAAqBC,YAAY,QAAQ,kDAAkD;AAG3F,SAASC,QAAQ,QAAQ,cAAc;AAQvC,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CH,UAAU,CAACI,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;E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C,mBAAmB,EAClCxC,cAAc,CAAC2C,aAAa,EAC5B3C,cAAc,CAAC4C,aAAa,EAC5B5C,cAAc,CAAC6C,aACnB,CAAC,CAAC;EACF5C,QAAQ,CAAC,oBAAoB,EAAE,EAAE,EAAEwB,QAAQ,CACvCzB,cAAc,CAACsC,aAAa,EAC5BtC,cAAc,CAAC2C,aAAa,EAC5B3C,cAAc,CAACyC,gBAAgB,EAC/BzC,cAAc,CAAC2C,aAAa,EAC5B3C,cAAc,CAAC4C,aAAa,EAC5B5C,cAAc,CAAC6C,aACnB,CAAC,CAAC;EACF5C,QAAQ,CAAC,uBAAuB,EAAE,EAAE,EAAEwB,QAAQ,CAC1CzB,cAAc,CAACsC,aAAa,EAC5BtC,cAAc,CAAC2C,aAAa,EAC5B3C,cAAc,CAAC0C,mBAAmB,EAClC1C,cAAc,CAAC2C,aAAa,EAC5B3C,cAAc,CAAC4C,aAAa,EAC5B5C,cAAc,CAAC6C,aACnB,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Modal as ReactModal } from 'react-native';
|
|
3
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
4
|
+
import WmModalProps from './modal.props';
|
|
5
|
+
import { DEFAULT_CLASS } from './modal.styles';
|
|
6
|
+
export class WmModalState extends BaseComponentState {}
|
|
7
|
+
export default class WmModal extends BaseComponent {
|
|
8
|
+
constructor(props) {
|
|
9
|
+
super(props, DEFAULT_CLASS, new WmModalProps());
|
|
10
|
+
}
|
|
11
|
+
renderWidget(props) {
|
|
12
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
13
|
+
style: this.styles.root,
|
|
14
|
+
onLayout: event => this.handleLayout(event)
|
|
15
|
+
}, /*#__PURE__*/React.createElement(ReactModal, {
|
|
16
|
+
animationType: props.animationType,
|
|
17
|
+
transparent: true,
|
|
18
|
+
//@ts-ignore
|
|
19
|
+
style: this.styles.content,
|
|
20
|
+
onLayout: event => this.handleLayout(event)
|
|
21
|
+
}, props.children));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=modal.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Modal","ReactModal","BaseComponent","BaseComponentState","WmModalProps","DEFAULT_CLASS","WmModalState","WmModal","constructor","props","renderWidget","createElement","style","styles","root","onLayout","event","handleLayout","animationType","transparent","content","children"],"sources":["modal.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Modal as ReactModal } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmModalProps from './modal.props';\nimport { DEFAULT_CLASS, WmModalStyles } from './modal.styles';\n\nexport class WmModalState extends BaseComponentState<WmModalProps> {\n\n}\n\nexport default class WmModal extends BaseComponent<WmModalProps, WmModalState, WmModalStyles> {\n\n constructor(props: WmModalProps) {\n super(props, DEFAULT_CLASS, new WmModalProps());\n }\n\n renderWidget(props: WmModalProps) {\n return React.createElement(View, {\n style: this.styles.root,\n onLayout: (event) => this.handleLayout(event)\n }, React.createElement(ReactModal, {\n animationType: props.animationType as any,\n transparent: true,\n //@ts-ignore\n style: this.styles.content,\n onLayout: (event) => this.handleLayout(event)\n }, props.children));\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,IAAIC,UAAU,QAAQ,cAAc;AACxD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAE7D,OAAO,MAAMC,YAAY,SAASH,kBAAkB,CAAe;AAInE,eAAe,MAAMI,OAAO,SAASL,aAAa,CAA4C;EAE5FM,WAAWA,CAACC,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,YAAY,CAAC,CAAC,CAAC;EACjD;EAEAM,YAAYA,CAACD,KAAmB,EAAE;IAChC,oBAAOX,KAAK,CAACa,aAAa,CAACZ,IAAI,EAAE;MAC/Ba,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,IAAI;MACvBC,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;IAC9C,CAAC,eAAElB,KAAK,CAACa,aAAa,CAACV,UAAU,EAAE;MACjCiB,aAAa,EAAET,KAAK,CAACS,aAAoB;MACzCC,WAAW,EAAE,IAAI;MACjB;MACAP,KAAK,EAAE,IAAI,CAACC,MAAM,CAACO,OAAO;MAC1BL,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;IAC9C,CAAC,EAAEP,KAAK,CAACY,QAAQ,CAAC,CAAC;EACrB;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
|
+
import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class WmModalProps extends BaseProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "children", null);
|
|
9
|
+
_defineProperty(this, "animationType", 'slide');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=modal.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmModalProps","constructor","args","_defineProperty"],"sources":["modal.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmModalProps extends BaseProps {\n children = null as any;\n animationType? = 'slide';\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,YAAY,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,mBACrC,IAAI;IAAAA,eAAA,wBACE,OAAO;EAAA;AAC5B","ignoreList":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
|
|
2
|
+
import { defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
3
|
+
export const DEFAULT_CLASS = 'app-modal';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {
|
|
7
|
+
backgroundColor: 'rgba(0, 0, 0, 0)'
|
|
8
|
+
},
|
|
9
|
+
text: {},
|
|
10
|
+
content: {
|
|
11
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
12
|
+
borderWidth: 0
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
addStyle('centered-modal', '', {
|
|
16
|
+
root: {
|
|
17
|
+
flex: 1,
|
|
18
|
+
justifyContent: "center",
|
|
19
|
+
alignItems: "center",
|
|
20
|
+
alignSelf: 'center'
|
|
21
|
+
},
|
|
22
|
+
text: {},
|
|
23
|
+
content: {
|
|
24
|
+
alignSelf: 'center'
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=modal.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","backgroundColor","text","content","borderColor","borderWidth","flex","justifyContent","alignItems","alignSelf"],"sources":["modal.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\n\nexport type WmModalStyles = BaseStyles & {\n content: AllStyle,\n};\n\nexport const DEFAULT_CLASS = 'app-modal';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmModalStyles = defineStyles({\n root: {\n backgroundColor: 'rgba(0, 0, 0, 0)'\n },\n text: {},\n content: {\n borderColor: 'rgba(0, 0, 0, 0)',\n borderWidth: 0\n }\n });\n\n addStyle('centered-modal', '', {\n root: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n alignSelf: 'center',\n },\n text: {},\n content: {\n alignSelf: 'center'\n }\n } as WmModalStyles);\n\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,2CAA2C;AACjF,SAAqBC,YAAY,QAAQ,kDAAkD;AAO3F,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA4B,GAAGL,YAAY,CAAC;IAC9CM,IAAI,EAAE;MACFC,eAAe,EAAE;IACrB,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,OAAO,EAAE;MACLC,WAAW,EAAE,kBAAkB;MAC/BC,WAAW,EAAE;IACjB;EACJ,CAAC,CAAC;EAEFP,QAAQ,CAAC,gBAAgB,EAAE,EAAE,EAAE;IAC3BE,IAAI,EAAE;MACFM,IAAI,EAAE,CAAC;MACPC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE,QAAQ;MACpBC,SAAS,EAAE;IACf,CAAC;IACDP,IAAI,EAAE,CAAC,CAAC;IACRC,OAAO,EAAE;MACLM,SAAS,EAAE;IACf;EACJ,CAAkB,CAAC;EAGnBX,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
3
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
4
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { Image, View } from 'react-native';
|
|
7
|
+
import { Image as EXPOImage } from 'expo-image';
|
|
8
|
+
import { isNumber } from 'lodash-es';
|
|
9
|
+
import { Tappable } from '@wavemaker-ai/app-rn-runtime/core/tappable.component';
|
|
10
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
11
|
+
import ImageSizeEstimator from '@wavemaker-ai/app-rn-runtime/core/imageSizeEstimator';
|
|
12
|
+
import { isFullPathUrl } from '@wavemaker-ai/app-rn-runtime/core/utils';
|
|
13
|
+
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker-ai/app-rn-runtime/core/accessibility';
|
|
14
|
+
import WmPictureProps from './picture.props';
|
|
15
|
+
import { DEFAULT_CLASS } from './picture.styles';
|
|
16
|
+
import { Animatedview } from '@wavemaker-ai/app-rn-runtime/components/basic/animatedview.component';
|
|
17
|
+
import { createSkeleton } from '../skeleton/skeleton.component';
|
|
18
|
+
export class WmPictureState extends BaseComponentState {
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_defineProperty(this, "naturalImageWidth", 0);
|
|
22
|
+
_defineProperty(this, "naturalImageHeight", 0);
|
|
23
|
+
_defineProperty(this, "imageWidth", 0);
|
|
24
|
+
_defineProperty(this, "imageHeight", 0);
|
|
25
|
+
_defineProperty(this, "originalContainerWidth", 0);
|
|
26
|
+
_defineProperty(this, "originalContainerHeight", 0);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export default class WmPicture extends BaseComponent {
|
|
30
|
+
constructor(props) {
|
|
31
|
+
super(props, DEFAULT_CLASS, new WmPictureProps());
|
|
32
|
+
_defineProperty(this, "_pictureSource", null);
|
|
33
|
+
_defineProperty(this, "_picturePlaceHolder", null);
|
|
34
|
+
// The below property will be used to track and remove the calculateImageSize listenrs of individual picturesource
|
|
35
|
+
_defineProperty(this, "_cleanupTracker", {});
|
|
36
|
+
_defineProperty(this, "onViewLayoutChange", e => {
|
|
37
|
+
var _this$styles, _this$styles2, _this$styles3;
|
|
38
|
+
let imageWidth = e.nativeEvent.layout.width;
|
|
39
|
+
let imageHeight = e.nativeEvent.layout.height;
|
|
40
|
+
if (!imageWidth && !imageHeight) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
if (!((_this$styles = this.styles) !== null && _this$styles !== void 0 && _this$styles.root.height) || typeof ((_this$styles2 = this.styles) === null || _this$styles2 === void 0 ? void 0 : _this$styles2.root.height) === 'string' && !((_this$styles3 = this.styles) !== null && _this$styles3 !== void 0 && _this$styles3.root.height.includes('%'))) {
|
|
44
|
+
imageHeight = 0;
|
|
45
|
+
}
|
|
46
|
+
if (this.state.props.aspectratio && !imageHeight && imageWidth) {
|
|
47
|
+
imageHeight = imageWidth / parseFloat(this.state.props.aspectratio);
|
|
48
|
+
} else if (this.state.props.aspectratio && !imageWidth && imageHeight) {
|
|
49
|
+
imageWidth = imageWidth * parseFloat(this.state.props.aspectratio);
|
|
50
|
+
} else if (imageWidth && !imageHeight) {
|
|
51
|
+
imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;
|
|
52
|
+
} else if (imageHeight && !imageWidth) {
|
|
53
|
+
imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;
|
|
54
|
+
}
|
|
55
|
+
this.updateState({
|
|
56
|
+
imageWidth: imageWidth,
|
|
57
|
+
imageHeight: imageHeight,
|
|
58
|
+
originalContainerWidth: this.styles.root.width ? e.nativeEvent.layout.width : 0,
|
|
59
|
+
originalContainerHeight: this.styles.root.height ? e.nativeEvent.layout.height : 0
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
_defineProperty(this, "showImage", (imageElement, props) => {
|
|
63
|
+
return imageElement;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
loadImage(image) {
|
|
67
|
+
if (!image || !this.loadAsset) {
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
const imageSrc = this.loadAsset(image);
|
|
71
|
+
if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
// if(this.state.props.aspectratio) {
|
|
75
|
+
// return imageSrc;
|
|
76
|
+
// }
|
|
77
|
+
if (isNumber(imageSrc)) {
|
|
78
|
+
const {
|
|
79
|
+
width,
|
|
80
|
+
height
|
|
81
|
+
} = Image.resolveAssetSource(imageSrc);
|
|
82
|
+
this.updateState({
|
|
83
|
+
naturalImageWidth: width,
|
|
84
|
+
naturalImageHeight: height
|
|
85
|
+
});
|
|
86
|
+
} else if (imageSrc !== null) {
|
|
87
|
+
const cancel = ImageSizeEstimator.getSize(imageSrc, (width, height) => {
|
|
88
|
+
this.updateState({
|
|
89
|
+
naturalImageWidth: width,
|
|
90
|
+
naturalImageHeight: height
|
|
91
|
+
});
|
|
92
|
+
this.cleanup.splice(this.cleanup.indexOf(cancel), 1);
|
|
93
|
+
});
|
|
94
|
+
if (this.props.picturesource && this._cleanupTracker[this.props.picturesource]) {
|
|
95
|
+
this._cleanupTracker[this.props.picturesource].push(cancel);
|
|
96
|
+
} else if (this.props.picturesource && !this._cleanupTracker[this.props.picturesource]) {
|
|
97
|
+
this._cleanupTracker[this.props.picturesource] = [];
|
|
98
|
+
this._cleanupTracker[this.props.picturesource].push(cancel);
|
|
99
|
+
}
|
|
100
|
+
this.cleanup.push(cancel);
|
|
101
|
+
}
|
|
102
|
+
return imageSrc;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Check if the image source prop is changed from previous update to remove all listeners
|
|
106
|
+
componentDidUpdate(prevProps, prevState, snapshot) {
|
|
107
|
+
if (this.state.props.picturesource !== prevProps.picturesource) {
|
|
108
|
+
if (prevProps.picturesource && this._cleanupTracker[prevProps.picturesource]) {
|
|
109
|
+
this._cleanupTracker[prevProps.picturesource].forEach(func => {
|
|
110
|
+
func();
|
|
111
|
+
});
|
|
112
|
+
this._cleanupTracker[prevProps.picturesource] = [];
|
|
113
|
+
delete this._cleanupTracker[prevProps.picturesource];
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
super.componentDidUpdate(prevProps, prevState);
|
|
117
|
+
}
|
|
118
|
+
onPropertyChange(name, $new, $old) {
|
|
119
|
+
switch (name) {
|
|
120
|
+
case 'picturesource':
|
|
121
|
+
this._pictureSource = null;
|
|
122
|
+
case 'pictureplaceholder':
|
|
123
|
+
this._picturePlaceHolder = null;
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
createShape(shape, imageWidth) {
|
|
128
|
+
if (shape) {
|
|
129
|
+
switch (shape) {
|
|
130
|
+
case 'circle':
|
|
131
|
+
return {
|
|
132
|
+
picture: {
|
|
133
|
+
borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
case 'rounded':
|
|
137
|
+
return this.theme.mergeStyle({}, this.theme.getStyle('rounded-image'));
|
|
138
|
+
case 'thumbnail':
|
|
139
|
+
return this.theme.mergeStyle({}, this.theme.getStyle('thumbnail-image'));
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return {};
|
|
143
|
+
}
|
|
144
|
+
getContentFit(resizemode) {
|
|
145
|
+
if (!resizemode) return 'cover';
|
|
146
|
+
const mapping = {
|
|
147
|
+
'contain': 'contain',
|
|
148
|
+
'cover': 'cover',
|
|
149
|
+
'fill': 'fill',
|
|
150
|
+
'none': 'none',
|
|
151
|
+
'scale-down': 'scale-down',
|
|
152
|
+
'stretch': 'fill',
|
|
153
|
+
'center': 'none',
|
|
154
|
+
'repeat': 'none'
|
|
155
|
+
};
|
|
156
|
+
return mapping[resizemode === null || resizemode === void 0 ? void 0 : resizemode.toLowerCase()] || 'cover';
|
|
157
|
+
}
|
|
158
|
+
getElementToShow(props, imgSrc, shapeStyles) {
|
|
159
|
+
let elementToshow, source;
|
|
160
|
+
if (imgSrc && typeof imgSrc === 'object' && typeof (imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.default) === 'function') {
|
|
161
|
+
let imgStyle = {};
|
|
162
|
+
if (props.resizemode === 'contain') {
|
|
163
|
+
imgStyle['width'] = '100%';
|
|
164
|
+
imgStyle['height'] = '100%';
|
|
165
|
+
}
|
|
166
|
+
elementToshow = /*#__PURE__*/React.createElement(imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.default, imgStyle);
|
|
167
|
+
//} else if (!isWebPreviewMode() && props.isSvg) {
|
|
168
|
+
// svg from uri
|
|
169
|
+
// elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;
|
|
170
|
+
} else if (isFullPathUrl(imgSrc)) {
|
|
171
|
+
source = {
|
|
172
|
+
uri: imgSrc
|
|
173
|
+
};
|
|
174
|
+
} else {
|
|
175
|
+
source = imgSrc;
|
|
176
|
+
}
|
|
177
|
+
if (this.state.naturalImageWidth || this.state.props.aspectratio) {
|
|
178
|
+
var _props$resizemode, _props$resizemode2;
|
|
179
|
+
if (((_props$resizemode = props.resizemode) === null || _props$resizemode === void 0 ? void 0 : _props$resizemode.toLowerCase()) !== 'repeat' && ((_props$resizemode2 = props.resizemode) === null || _props$resizemode2 === void 0 ? void 0 : _props$resizemode2.toLowerCase()) !== 'center') {
|
|
180
|
+
elementToshow =
|
|
181
|
+
/*#__PURE__*/
|
|
182
|
+
// * INFO: if any issue arises like freezing of application because of
|
|
183
|
+
// * rendering large number of images, check the cache policy.
|
|
184
|
+
React.createElement(EXPOImage, _extends({
|
|
185
|
+
cachePolicy: "memory"
|
|
186
|
+
}, this.getTestProps('picture'), {
|
|
187
|
+
style: [this.styles.picture, shapeStyles.picture, props.fastload || this.state.imageWidth ? {
|
|
188
|
+
opacity: 1
|
|
189
|
+
} : {
|
|
190
|
+
opacity: 0
|
|
191
|
+
}],
|
|
192
|
+
contentFit: this.getContentFit(props.resizemode),
|
|
193
|
+
source: source
|
|
194
|
+
}));
|
|
195
|
+
} else {
|
|
196
|
+
elementToshow = /*#__PURE__*/React.createElement(Image, _extends({}, this.getTestProps('picture'), {
|
|
197
|
+
style: [this.styles.picture, shapeStyles.picture, props.fastload || this.state.imageWidth ? {
|
|
198
|
+
opacity: 1
|
|
199
|
+
} : {
|
|
200
|
+
opacity: 0
|
|
201
|
+
}],
|
|
202
|
+
resizeMode: props.resizemode,
|
|
203
|
+
source: source
|
|
204
|
+
}));
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
return elementToshow;
|
|
208
|
+
}
|
|
209
|
+
renderSkeleton(props) {
|
|
210
|
+
var _this$styles$root, _shapeStyles$root, _shapeStyles$picture, _this$styles$root2, _shapeStyles$root2, _shapeStyles$picture2, _this$styles$root3, _shapeStyles$picture3, _shapeStyles$root3, _this$styles$root4;
|
|
211
|
+
const imageWidth = this.state.imageWidth;
|
|
212
|
+
const imageHeight = this.state.imageHeight;
|
|
213
|
+
const shapeStyles = this.createShape(this.props.shape, imageWidth);
|
|
214
|
+
const skeletonWidth = this.props.skeletonwidth || ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width) || ((_shapeStyles$root = shapeStyles.root) === null || _shapeStyles$root === void 0 ? void 0 : _shapeStyles$root.width) || ((_shapeStyles$picture = shapeStyles.picture) === null || _shapeStyles$picture === void 0 ? void 0 : _shapeStyles$picture.width) || imageWidth;
|
|
215
|
+
const skeletonHeight = this.props.skeletonheight || ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) || ((_shapeStyles$root2 = shapeStyles.root) === null || _shapeStyles$root2 === void 0 ? void 0 : _shapeStyles$root2.height) || ((_shapeStyles$picture2 = shapeStyles.picture) === null || _shapeStyles$picture2 === void 0 ? void 0 : _shapeStyles$picture2.height) || imageHeight;
|
|
216
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
217
|
+
...this.styles.root,
|
|
218
|
+
borderRadius: this.props.shape == 'circle' && (_this$styles$root3 = this.styles.root) !== null && _this$styles$root3 !== void 0 && _this$styles$root3.width ? 25 : ((_shapeStyles$picture3 = shapeStyles.picture) === null || _shapeStyles$picture3 === void 0 ? void 0 : _shapeStyles$picture3.borderRadius) || ((_shapeStyles$root3 = shapeStyles.root) === null || _shapeStyles$root3 === void 0 ? void 0 : _shapeStyles$root3.borderRadius) || ((_this$styles$root4 = this.styles.root) === null || _this$styles$root4 === void 0 ? void 0 : _this$styles$root4.borderRadius) || 4,
|
|
219
|
+
width: skeletonWidth,
|
|
220
|
+
height: skeletonHeight
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
//TODO: remove the re calculation logic later. Keeping it as an extra safety.
|
|
224
|
+
calculateBasedOnaspectratio() {
|
|
225
|
+
if (this.state.props.aspectratio) {
|
|
226
|
+
if (this.state.originalContainerWidth) {
|
|
227
|
+
return {
|
|
228
|
+
imageHeight: this.state.originalContainerWidth / parseFloat(this.state.props.aspectratio),
|
|
229
|
+
imageWidth: this.state.originalContainerWidth
|
|
230
|
+
};
|
|
231
|
+
} else if (this.state.originalContainerHeight) {
|
|
232
|
+
return {
|
|
233
|
+
imageHeight: this.state.originalContainerHeight,
|
|
234
|
+
imageWidth: this.state.originalContainerHeight * parseFloat(this.state.props.aspectratio)
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
return null;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
//TODO: remove the re calculation logic later. Keeping it as an extra safety.
|
|
242
|
+
calculateBasedOnNaturalDimensions() {
|
|
243
|
+
// No need to calculate width & height if the user already passign them explicitly from props.
|
|
244
|
+
const widthAndHeightExistsInProps = this.styles.root.width && this.styles.root.height;
|
|
245
|
+
if (!this.state.props.aspectratio && !widthAndHeightExistsInProps) {
|
|
246
|
+
if (this.state.originalContainerWidth) {
|
|
247
|
+
return {
|
|
248
|
+
imageHeight: this.state.originalContainerWidth * this.state.naturalImageHeight / this.state.naturalImageWidth,
|
|
249
|
+
imageWidth: this.state.originalContainerWidth
|
|
250
|
+
};
|
|
251
|
+
} else if (this.state.originalContainerHeight) {
|
|
252
|
+
return {
|
|
253
|
+
imageHeight: this.state.originalContainerHeight,
|
|
254
|
+
imageWidth: this.state.originalContainerHeight * this.state.naturalImageWidth / this.state.naturalImageHeight
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
return null;
|
|
259
|
+
}
|
|
260
|
+
renderWidget(props) {
|
|
261
|
+
var _shapeStyles$picture4;
|
|
262
|
+
let imageWidth = this.state.imageWidth;
|
|
263
|
+
let imageHeight = this.state.imageHeight;
|
|
264
|
+
|
|
265
|
+
//TODO: remove the re calculation logic later. Keeping it as an extra safety.
|
|
266
|
+
const aspectDimensions = this.calculateBasedOnaspectratio();
|
|
267
|
+
const naturalDimensions = this.calculateBasedOnNaturalDimensions();
|
|
268
|
+
if (aspectDimensions) {
|
|
269
|
+
const dimensions = aspectDimensions;
|
|
270
|
+
imageWidth = dimensions.imageWidth;
|
|
271
|
+
imageHeight = dimensions.imageHeight;
|
|
272
|
+
} else if (naturalDimensions) {
|
|
273
|
+
const dimensions = naturalDimensions;
|
|
274
|
+
imageHeight = dimensions.imageHeight;
|
|
275
|
+
imageWidth = dimensions.imageWidth;
|
|
276
|
+
}
|
|
277
|
+
const shapeStyles = this.createShape(props.shape, imageWidth);
|
|
278
|
+
this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);
|
|
279
|
+
this._picturePlaceHolder = props.fastload ? this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder) : this._picturePlaceHolder || this.loadImage(props.pictureplaceholder);
|
|
280
|
+
const imgSrc = this._pictureSource || this._picturePlaceHolder;
|
|
281
|
+
let elementToshow;
|
|
282
|
+
if (imgSrc) {
|
|
283
|
+
elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);
|
|
284
|
+
}
|
|
285
|
+
return imgSrc && (this.state.naturalImageWidth || props.isSvg || props.aspectratio) ? /*#__PURE__*/React.createElement(View, {
|
|
286
|
+
style: [{
|
|
287
|
+
width: imageWidth,
|
|
288
|
+
height: imageHeight
|
|
289
|
+
}, this.styles.root, shapeStyles.root, shapeStyles.picture],
|
|
290
|
+
onLayout: event => this.handleLayout(event)
|
|
291
|
+
}, this._background, /*#__PURE__*/React.createElement(View, {
|
|
292
|
+
style: [{
|
|
293
|
+
overflow: 'hidden',
|
|
294
|
+
width: '100%',
|
|
295
|
+
height: '100%'
|
|
296
|
+
}],
|
|
297
|
+
onLayout: this.onViewLayoutChange
|
|
298
|
+
}, /*#__PURE__*/React.createElement(Tappable, _extends({
|
|
299
|
+
disableTouchEffect: this.state.props.disabletoucheffect
|
|
300
|
+
}, this.getTestPropsForAction(), {
|
|
301
|
+
rippleColor: this.styles.root.rippleColor,
|
|
302
|
+
target: this,
|
|
303
|
+
styles: {
|
|
304
|
+
width: imageWidth ? null : '100%',
|
|
305
|
+
height: imageHeight ? null : '100%'
|
|
306
|
+
}
|
|
307
|
+
}), /*#__PURE__*/React.createElement(Animatedview, {
|
|
308
|
+
entryanimation: props.animation,
|
|
309
|
+
delay: props.animationdelay,
|
|
310
|
+
style: [{
|
|
311
|
+
height: imageHeight,
|
|
312
|
+
width: imageWidth,
|
|
313
|
+
borderRadius: (_shapeStyles$picture4 = shapeStyles.picture) === null || _shapeStyles$picture4 === void 0 ? void 0 : _shapeStyles$picture4.borderRadius
|
|
314
|
+
}],
|
|
315
|
+
accessibilityProps: {
|
|
316
|
+
...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)
|
|
317
|
+
}
|
|
318
|
+
}, this.showImage(elementToshow, props))))) : null;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
//# sourceMappingURL=picture.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Image","View","EXPOImage","isNumber","Tappable","BaseComponent","BaseComponentState","ImageSizeEstimator","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmPictureProps","DEFAULT_CLASS","Animatedview","createSkeleton","WmPictureState","constructor","args","_defineProperty","WmPicture","props","e","_this$styles","_this$styles2","_this$styles3","imageWidth","nativeEvent","layout","width","imageHeight","height","styles","root","includes","state","aspectratio","parseFloat","naturalImageHeight","naturalImageWidth","updateState","originalContainerWidth","originalContainerHeight","imageElement","loadImage","image","loadAsset","imageSrc","default","resolveAssetSource","cancel","getSize","cleanup","splice","indexOf","picturesource","_cleanupTracker","push","componentDidUpdate","prevProps","prevState","snapshot","forEach","func","onPropertyChange","name","$new","$old","_pictureSource","_picturePlaceHolder","createShape","shape","picture","borderRadius","theme","mergeStyle","getStyle","getContentFit","resizemode","mapping","toLowerCase","getElementToShow","imgSrc","shapeStyles","elementToshow","source","imgStyle","createElement","uri","_props$resizemode","_props$resizemode2","_extends","cachePolicy","getTestProps","style","fastload","opacity","contentFit","resizeMode","renderSkeleton","_this$styles$root","_shapeStyles$root","_shapeStyles$picture","_this$styles$root2","_shapeStyles$root2","_shapeStyles$picture2","_this$styles$root3","_shapeStyles$picture3","_shapeStyles$root3","_this$styles$root4","skeletonWidth","skeletonwidth","skeletonHeight","skeletonheight","skeleton","calculateBasedOnaspectratio","calculateBasedOnNaturalDimensions","widthAndHeightExistsInProps","renderWidget","_shapeStyles$picture4","aspectDimensions","naturalDimensions","dimensions","pictureplaceholder","isSvg","onLayout","event","handleLayout","_background","overflow","onViewLayoutChange","disableTouchEffect","disabletoucheffect","getTestPropsForAction","rippleColor","target","entryanimation","animation","delay","animationdelay","accessibilityProps","PICTURE","showImage"],"sources":["picture.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Image, LayoutChangeEvent, View } from 'react-native';\nimport {Image as EXPOImage} from 'expo-image';\nimport { isNumber } from 'lodash-es';\nimport { Tappable } from '@wavemaker-ai/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport ImageSizeEstimator from '@wavemaker-ai/app-rn-runtime/core/imageSizeEstimator';\nimport { isFullPathUrl } from '@wavemaker-ai/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker-ai/app-rn-runtime/core/accessibility';\n\nimport WmPictureProps from './picture.props';\nimport { DEFAULT_CLASS, WmPictureStyles } from './picture.styles';\nimport { Animatedview } from '@wavemaker-ai/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmPictureState extends BaseComponentState<WmPictureProps> {\n naturalImageWidth: number = 0;\n naturalImageHeight: number = 0;\n imageWidth: number = 0;\n imageHeight: number = 0;\n originalContainerWidth: number = 0;\n originalContainerHeight: number = 0;\n}\n\nexport default class WmPicture extends BaseComponent<WmPictureProps, WmPictureState, WmPictureStyles> {\n\n private _pictureSource = null as any;\n private _picturePlaceHolder = null as any;\n\n // The below property will be used to track and remove the calculateImageSize listenrs of individual picturesource\n private _cleanupTracker = {} as any\n\n constructor(props: WmPictureProps) {\n super(props, DEFAULT_CLASS, new WmPictureProps());\n }\n\n loadImage(image: string | undefined) {\n if (!image || !this.loadAsset) {\n return null;\n }\n const imageSrc = this.loadAsset(image) as any;\n if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {\n return null;\n }\n // if(this.state.props.aspectratio) {\n // return imageSrc;\n // }\n if (isNumber(imageSrc)) {\n const {width, height} = Image.resolveAssetSource(imageSrc);\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n } else if (imageSrc !== null) {\n const cancel = ImageSizeEstimator.getSize(imageSrc, (width: number, height: number) => {\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n this.cleanup.splice(this.cleanup.indexOf(cancel), 1);\n });\n if(this.props.picturesource && this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource].push(cancel)\n } else if(this.props.picturesource && !this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource] = [];\n this._cleanupTracker[this.props.picturesource].push(cancel)\n }\n this.cleanup.push(cancel);\n }\n return imageSrc;\n }\n\n // Check if the image source prop is changed from previous update to remove all listeners\n componentDidUpdate(prevProps: Readonly<WmPictureProps>, prevState: Readonly<WmPictureState>, snapshot?: any): void {\n if(this.state.props.picturesource !== prevProps.picturesource) {\n if(prevProps.picturesource && this._cleanupTracker[prevProps.picturesource]) {\n this._cleanupTracker[prevProps.picturesource].forEach((func: any) => {\n func();\n });\n this._cleanupTracker[prevProps.picturesource] = []\n delete this._cleanupTracker[prevProps.picturesource]\n }\n }\n super.componentDidUpdate(prevProps, prevState)\n }\n\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'picturesource':\n this._pictureSource = null;\n case 'pictureplaceholder':\n this._picturePlaceHolder = null;\n break;\n }\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let imageWidth = e.nativeEvent.layout.width;\n let imageHeight = e.nativeEvent.layout.height;\n if (!imageWidth && !imageHeight) {\n return;\n }\n if (!this.styles?.root.height\n || (typeof this.styles?.root.height === 'string'\n && !this.styles?.root.height.includes('%'))) {\n imageHeight = 0;\n }\n if(this.state.props.aspectratio && !imageHeight && imageWidth) {\n imageHeight = imageWidth / parseFloat(this.state.props.aspectratio as string)\n } else if (this.state.props.aspectratio && !imageWidth && imageHeight) {\n imageWidth = imageWidth * parseFloat(this.state.props.aspectratio as string)\n } else if (imageWidth && !imageHeight) {\n imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;\n } else if (imageHeight && !imageWidth) {\n imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;\n }\n this.updateState({\n imageWidth: imageWidth,\n imageHeight: imageHeight,\n originalContainerWidth: this.styles.root.width ? e.nativeEvent.layout.width : 0,\n originalContainerHeight: this.styles.root.height ? e.nativeEvent.layout.height: 0\n } as WmPictureState);\n };\n\n createShape(shape: string | undefined, imageWidth?: number | string): WmPictureStyles {\n if (shape) {\n switch(shape) {\n case 'circle':\n return {\n picture: {\n borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4\n }\n } as WmPictureStyles;\n case 'rounded' :\n return (this.theme.mergeStyle({}, this.theme.getStyle('rounded-image')));\n case 'thumbnail' :\n return (this.theme.mergeStyle({}, this.theme.getStyle('thumbnail-image')));\n }\n }\n return {} as WmPictureStyles;\n }\n\n private getContentFit(resizemode: string): 'contain' | 'cover' | 'fill' | 'scale-down' | 'none' {\n if (!resizemode) return 'cover';\n const mapping: Record<string, 'contain' | 'cover' | 'fill' | 'scale-down' | 'none'> = {\n 'contain': 'contain',\n 'cover': 'cover',\n 'fill': 'fill',\n 'none': 'none',\n 'scale-down': 'scale-down',\n 'stretch': 'fill',\n 'center': 'none',\n 'repeat': 'none',\n };\n return mapping[resizemode?.toLowerCase()] || 'cover';\n }\n\n getElementToShow(props: WmPictureProps, imgSrc: any, shapeStyles: WmPictureStyles) {\n let elementToshow, source;\n if (imgSrc && typeof imgSrc === 'object' && typeof imgSrc?.default === 'function') {\n let imgStyle : any = {};\n if (props.resizemode === 'contain') {\n imgStyle['width'] = '100%';\n imgStyle['height'] = '100%';\n }\n elementToshow = React.createElement(imgSrc?.default, imgStyle);\n //} else if (!isWebPreviewMode() && props.isSvg) {\n // svg from uri\n // elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;\n } else if (isFullPathUrl(imgSrc)) {\n source = {\n uri: imgSrc\n };\n } else {\n source = imgSrc;\n }\n if (this.state.naturalImageWidth || this.state.props.aspectratio) {\n\n if (props.resizemode?.toLowerCase() !== 'repeat' && props.resizemode?.toLowerCase() !== 'center') {\n elementToshow = (\n // * INFO: if any issue arises like freezing of application because of\n // * rendering large number of images, check the cache policy.\n <EXPOImage\n cachePolicy='memory'\n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n contentFit={this.getContentFit(props.resizemode)}\n source={source}\n />\n );\n }\n else {\n elementToshow = (\n <Image\n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n resizeMode={props.resizemode}\n source={source}\n />\n );\n }\n }\n return elementToshow;\n }\n\n public renderSkeleton(props: WmPictureProps){\n const imageWidth = this.state.imageWidth;\n const imageHeight = this.state.imageHeight;\n const shapeStyles = this.createShape(this.props.shape, imageWidth);\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width || shapeStyles.root?.width || shapeStyles.picture?.width || imageWidth;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || shapeStyles.root?.height || shapeStyles.picture?.height || imageHeight;\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n borderRadius: this.props.shape == 'circle' && this.styles.root?.width ? 25 : shapeStyles.picture?.borderRadius || shapeStyles.root?.borderRadius || this.styles.root?.borderRadius || 4,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n });\n }\n\n showImage = (imageElement: any, props: WmPictureProps) => {\n return imageElement;\n }\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety.\n calculateBasedOnaspectratio(): {imageWidth: number, imageHeight: number} | null {\n if(this.state.props.aspectratio) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth / parseFloat(this.state.props.aspectratio as string),\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight,\n imageWidth: this.state.originalContainerHeight * parseFloat(this.state.props.aspectratio as string),\n }\n }\n }\n return null\n }\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety.\n calculateBasedOnNaturalDimensions(): {imageWidth: number, imageHeight: number} | null {\n // No need to calculate width & height if the user already passign them explicitly from props.\n const widthAndHeightExistsInProps = this.styles.root.width && this.styles.root.height\n if(!this.state.props.aspectratio && !widthAndHeightExistsInProps) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth * this.state.naturalImageHeight / this.state.naturalImageWidth,\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight,\n imageWidth: this.state.originalContainerHeight * this.state.naturalImageWidth / this.state.naturalImageHeight\n }\n }\n }\n return null\n }\n\n\n renderWidget(props: WmPictureProps) {\n let imageWidth = this.state.imageWidth;\n let imageHeight = this.state.imageHeight;\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety.\n const aspectDimensions = this.calculateBasedOnaspectratio();\n const naturalDimensions = this.calculateBasedOnNaturalDimensions();\n if(aspectDimensions) {\n const dimensions = aspectDimensions as {imageWidth: number, imageHeight: number}\n imageWidth = dimensions.imageWidth;\n imageHeight = dimensions.imageHeight\n } else if(naturalDimensions) {\n const dimensions = naturalDimensions as {imageWidth: number, imageHeight: number}\n imageHeight = dimensions.imageHeight\n imageWidth = dimensions.imageWidth\n }\n const shapeStyles = this.createShape(props.shape, imageWidth);\n this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);\n this._picturePlaceHolder = props.fastload ?\n (this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder)) :\n (this._picturePlaceHolder || this.loadImage(props.pictureplaceholder));\n const imgSrc: any = this._pictureSource || this._picturePlaceHolder;\n let elementToshow;\n if (imgSrc) {\n elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);\n }\n return imgSrc && (this.state.naturalImageWidth || props.isSvg || props.aspectratio) ? (\n <View\n style={[{\n width: imageWidth,\n height: imageHeight\n }, this.styles.root, shapeStyles.root, shapeStyles.picture]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <View style={[{overflow: 'hidden', width: '100%',\n height: '100%'}]} onLayout={this.onViewLayoutChange}>\n <Tappable\n disableTouchEffect={this.state.props.disabletoucheffect}\n {...this.getTestPropsForAction()}\n rippleColor={this.styles.root.rippleColor}\n target={this} styles={{width: imageWidth ? null : '100%', height: imageHeight ? null : '100%'}}>\n <Animatedview entryanimation={props.animation} delay={props.animationdelay} style={[{\n height: imageHeight,\n width: imageWidth,\n borderRadius: shapeStyles.picture?.borderRadius\n }]}\n accessibilityProps={{...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)}}>\n {this.showImage(elementToshow, props)}\n </Animatedview>\n </Tappable>\n </View>\n </View>\n ): null;\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA0BC,KAAK,EAAqBC,IAAI,QAAQ,cAAc;AAC9E,SAAQD,KAAK,IAAIE,SAAS,QAAO,YAAY;AAC7C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