@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,194 @@
|
|
|
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 { View, Platform, Animated } from 'react-native';
|
|
7
|
+
import WmContainerProps from './container.props';
|
|
8
|
+
import { DEFAULT_CLASS } from './container.styles';
|
|
9
|
+
import { Tappable } from '@wavemaker-ai/app-rn-runtime/core/tappable.component';
|
|
10
|
+
import { Animatedview } from '@wavemaker-ai/app-rn-runtime/components/basic/animatedview.component';
|
|
11
|
+
import { PartialHost, PartialHostState } from './partial-host.component';
|
|
12
|
+
import { createSkeleton } from '../basic/skeleton/skeleton.component';
|
|
13
|
+
import { StickyWrapperContext } from '@wavemaker-ai/app-rn-runtime/core/sticky-wrapper';
|
|
14
|
+
import { SafeAreaInsetsContext } from 'react-native-safe-area-context';
|
|
15
|
+
import { StickyContainer } from '@wavemaker-ai/app-rn-runtime/core/components/sticky-container.component';
|
|
16
|
+
import { getParentStyles } from '@wavemaker-ai/app-rn-runtime/core/components/sticky-container.styles';
|
|
17
|
+
import injector from '@wavemaker-ai/app-rn-runtime/core/injector';
|
|
18
|
+
import { isAutoLayout as checkAutoLayout, getContentContainerStyle, getDirectionStyle, getDimensionStyle, extractAutoLayoutProps } from '@wavemaker-ai/app-rn-runtime/core/auto-layout.utils';
|
|
19
|
+
import { AutoLayoutHost } from '@wavemaker-ai/app-rn-runtime/core/auto-layout-host.component';
|
|
20
|
+
export class WmContainerState extends PartialHostState {
|
|
21
|
+
constructor(...args) {
|
|
22
|
+
super(...args);
|
|
23
|
+
_defineProperty(this, "isPartialLoaded", false);
|
|
24
|
+
_defineProperty(this, "stickyContainerVisibility", false);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export default class WmContainer extends PartialHost {
|
|
28
|
+
constructor(props) {
|
|
29
|
+
super(props, DEFAULT_CLASS, new WmContainerProps(), new WmContainerState());
|
|
30
|
+
_defineProperty(this, "containerRef", void 0);
|
|
31
|
+
_defineProperty(this, "stickyContainerOpacity", void 0);
|
|
32
|
+
_defineProperty(this, "appConfig", injector.get('APP_CONFIG'));
|
|
33
|
+
_defineProperty(this, "insets", {
|
|
34
|
+
top: 0,
|
|
35
|
+
bottom: 0,
|
|
36
|
+
left: 0,
|
|
37
|
+
right: 0
|
|
38
|
+
});
|
|
39
|
+
this.containerRef = /*#__PURE__*/React.createRef();
|
|
40
|
+
this.stickyContainerOpacity = new Animated.Value(1);
|
|
41
|
+
this.subscribe('updateStickyHeaders', _event => {
|
|
42
|
+
if (this.props.sticky) {
|
|
43
|
+
setTimeout(() => {
|
|
44
|
+
this.getStickyHeaderTranslateY();
|
|
45
|
+
}, 500);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
getBackground() {
|
|
50
|
+
return this._showSkeleton ? null : this._background;
|
|
51
|
+
}
|
|
52
|
+
getAutoLayoutProps() {
|
|
53
|
+
var _this$parent;
|
|
54
|
+
return extractAutoLayoutProps(this.props, (_this$parent = this.parent) === null || _this$parent === void 0 || (_this$parent = _this$parent.state) === null || _this$parent === void 0 ? void 0 : _this$parent.props);
|
|
55
|
+
}
|
|
56
|
+
renderSkeleton(props) {
|
|
57
|
+
if (!props.showskeletonchildren) {
|
|
58
|
+
var _this$props;
|
|
59
|
+
const dimensions = {
|
|
60
|
+
width: this.styles.root.width ? '100%' : undefined,
|
|
61
|
+
height: this.styles.root.height ? '100%' : undefined
|
|
62
|
+
};
|
|
63
|
+
const skeletonStyles = ((_this$props = this.props) === null || _this$props === void 0 || (_this$props = _this$props.styles) === null || _this$props === void 0 ? void 0 : _this$props.skeleton) || {
|
|
64
|
+
root: {},
|
|
65
|
+
text: {}
|
|
66
|
+
};
|
|
67
|
+
return createSkeleton(this.theme, skeletonStyles, {
|
|
68
|
+
...this.styles.root
|
|
69
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
70
|
+
style: [this.styles.root, {
|
|
71
|
+
opacity: 0
|
|
72
|
+
}]
|
|
73
|
+
}, /*#__PURE__*/React.createElement(Tappable, _extends({}, this.getTestPropsForAction(), {
|
|
74
|
+
target: this,
|
|
75
|
+
styles: dimensions,
|
|
76
|
+
disableTouchEffect: this.state.props.disabletoucheffect
|
|
77
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
78
|
+
style: [dimensions, this.styles.content]
|
|
79
|
+
}, this.renderContent(props)))));
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
getStickyHeaderTranslateY() {
|
|
84
|
+
var _this$appConfig, _this$containerRef;
|
|
85
|
+
const isEdgeToEdgeApp = !!((_this$appConfig = this.appConfig) !== null && _this$appConfig !== void 0 && (_this$appConfig = _this$appConfig.edgeToEdgeConfig) !== null && _this$appConfig !== void 0 && _this$appConfig.isEdgeToEdgeApp);
|
|
86
|
+
(_this$containerRef = this.containerRef) === null || _this$containerRef === void 0 || (_this$containerRef = _this$containerRef.current) === null || _this$containerRef === void 0 || _this$containerRef.measure((_x = 0, _y = 0, _width = 0, _height = 0, px = 0, py = 0) => {
|
|
87
|
+
var _this$insets;
|
|
88
|
+
const topInsetsInYposition = Platform.OS == 'ios' && !isEdgeToEdgeApp ? ((_this$insets = this.insets) === null || _this$insets === void 0 ? void 0 : _this$insets.top) || 0 : 0;
|
|
89
|
+
if (this.context && this.context.stickyContainerTranslateY) {
|
|
90
|
+
this.context.stickyContainerTranslateY.value = py - topInsetsInYposition;
|
|
91
|
+
this.updateState({
|
|
92
|
+
stickyContainerVisibility: true
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
componentDidUpdate(_prevProps, prevState) {
|
|
98
|
+
if (prevState.stickyContainerVisibility !== this.state.stickyContainerVisibility) {
|
|
99
|
+
Animated.timing(this.stickyContainerOpacity, {
|
|
100
|
+
toValue: this.state.stickyContainerVisibility ? 0 : 1,
|
|
101
|
+
delay: 500,
|
|
102
|
+
useNativeDriver: true
|
|
103
|
+
}).start();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
renderStickyContent(props, dimensions, styles) {
|
|
107
|
+
const {
|
|
108
|
+
stickyContainerVisibility
|
|
109
|
+
} = this.state;
|
|
110
|
+
const {
|
|
111
|
+
positioningStyles
|
|
112
|
+
} = getParentStyles(this);
|
|
113
|
+
const alProps = this.getAutoLayoutProps();
|
|
114
|
+
const autoLayoutStyle = getContentContainerStyle(alProps);
|
|
115
|
+
const directionStyle = getDirectionStyle(alProps);
|
|
116
|
+
const autoLayoutDimensionsInner = getDimensionStyle(alProps, this.styles.root, true);
|
|
117
|
+
const isAutoLayout = checkAutoLayout(alProps);
|
|
118
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, stickyContainerVisibility ? /*#__PURE__*/React.createElement(StickyContainer, {
|
|
119
|
+
component: this,
|
|
120
|
+
theme: this.theme,
|
|
121
|
+
style: [this.styles.sticky, {
|
|
122
|
+
backgroundColor: styles.backgroundColor
|
|
123
|
+
}, isAutoLayout ? directionStyle : {}],
|
|
124
|
+
positionStyles: positioningStyles,
|
|
125
|
+
show: props.show
|
|
126
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
127
|
+
style: [isAutoLayout ? autoLayoutDimensionsInner : dimensions, {
|
|
128
|
+
backgroundColor: styles.backgroundColor
|
|
129
|
+
}, this.styles.content, isAutoLayout ? autoLayoutStyle : {}]
|
|
130
|
+
}, this.renderContent(props))) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Animated.View, {
|
|
131
|
+
style: [isAutoLayout ? autoLayoutDimensionsInner : dimensions, {
|
|
132
|
+
opacity: this.stickyContainerOpacity
|
|
133
|
+
}, this.styles.content, isAutoLayout ? autoLayoutStyle : {}],
|
|
134
|
+
ref: this.containerRef
|
|
135
|
+
}, this.renderContent(props)));
|
|
136
|
+
}
|
|
137
|
+
renderWidget(props) {
|
|
138
|
+
const alProps = this.getAutoLayoutProps();
|
|
139
|
+
const autoLayoutStyle = getContentContainerStyle(alProps);
|
|
140
|
+
const directionStyle = getDirectionStyle(alProps);
|
|
141
|
+
const autoLayoutDimensionsInner = getDimensionStyle(alProps, this.styles.root, true);
|
|
142
|
+
const autoLayoutDimensionsOuter = getDimensionStyle(alProps, this.styles.root);
|
|
143
|
+
const dimensions = {
|
|
144
|
+
width: this.styles.root.width ? '100%' : undefined,
|
|
145
|
+
height: this.styles.root.height ? '100%' : undefined
|
|
146
|
+
};
|
|
147
|
+
const styles = this._showSkeleton ? {
|
|
148
|
+
...this.styles.root,
|
|
149
|
+
...this.styles.skeleton.root
|
|
150
|
+
} : this.styles.root;
|
|
151
|
+
if (props.sticky) {
|
|
152
|
+
this.isSticky = true;
|
|
153
|
+
}
|
|
154
|
+
const isAutoLayout = checkAutoLayout(alProps);
|
|
155
|
+
return /*#__PURE__*/React.createElement(SafeAreaInsetsContext.Consumer, null, (insets = {
|
|
156
|
+
top: 0,
|
|
157
|
+
bottom: 0,
|
|
158
|
+
left: 0,
|
|
159
|
+
right: 0
|
|
160
|
+
}) => {
|
|
161
|
+
this.insets = insets;
|
|
162
|
+
return /*#__PURE__*/React.createElement(Animatedview, {
|
|
163
|
+
entryanimation: props.animation,
|
|
164
|
+
delay: props.animationdelay,
|
|
165
|
+
style: [styles, isAutoLayout ? {
|
|
166
|
+
...autoLayoutDimensionsOuter,
|
|
167
|
+
...directionStyle
|
|
168
|
+
} : {}],
|
|
169
|
+
onLayout: (event, ref) => {
|
|
170
|
+
this.handleLayout(event, ref);
|
|
171
|
+
}
|
|
172
|
+
}, this.getBackground(), /*#__PURE__*/React.createElement(Tappable, _extends({}, this.getTestPropsForAction(), {
|
|
173
|
+
target: this,
|
|
174
|
+
styles: [isAutoLayout ? {
|
|
175
|
+
...autoLayoutDimensionsInner,
|
|
176
|
+
...directionStyle
|
|
177
|
+
} : dimensions],
|
|
178
|
+
disableTouchEffect: this.state.props.disabletoucheffect
|
|
179
|
+
}), props.sticky ? this.renderStickyContent(props, dimensions, styles) : /*#__PURE__*/React.createElement(AutoLayoutHost, {
|
|
180
|
+
autoLayoutProps: alProps,
|
|
181
|
+
shouldScroll: props.overflow === 'scroll',
|
|
182
|
+
containerStyle: isAutoLayout ? autoLayoutDimensionsInner : dimensions,
|
|
183
|
+
contentStyle: [this.styles.content, isAutoLayout ? {
|
|
184
|
+
...directionStyle,
|
|
185
|
+
...autoLayoutStyle,
|
|
186
|
+
minWidth: 0
|
|
187
|
+
} : {}],
|
|
188
|
+
onScroll: event => this.notify('scroll', [event])
|
|
189
|
+
}, this.renderContent(props))));
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
_defineProperty(WmContainer, "contextType", StickyWrapperContext);
|
|
194
|
+
//# sourceMappingURL=container.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Platform","Animated","WmContainerProps","DEFAULT_CLASS","Tappable","Animatedview","PartialHost","PartialHostState","createSkeleton","StickyWrapperContext","SafeAreaInsetsContext","StickyContainer","getParentStyles","injector","isAutoLayout","checkAutoLayout","getContentContainerStyle","getDirectionStyle","getDimensionStyle","extractAutoLayoutProps","AutoLayoutHost","WmContainerState","constructor","args","_defineProperty","WmContainer","props","get","top","bottom","left","right","containerRef","createRef","stickyContainerOpacity","Value","subscribe","_event","sticky","setTimeout","getStickyHeaderTranslateY","getBackground","_showSkeleton","_background","getAutoLayoutProps","_this$parent","parent","state","renderSkeleton","showskeletonchildren","_this$props","dimensions","width","styles","root","undefined","height","skeletonStyles","skeleton","text","theme","createElement","style","opacity","_extends","getTestPropsForAction","target","disableTouchEffect","disabletoucheffect","content","renderContent","_this$appConfig","_this$containerRef","isEdgeToEdgeApp","appConfig","edgeToEdgeConfig","current","measure","_x","_y","_width","_height","px","py","_this$insets","topInsetsInYposition","OS","insets","context","stickyContainerTranslateY","value","updateState","stickyContainerVisibility","componentDidUpdate","_prevProps","prevState","timing","toValue","delay","useNativeDriver","start","renderStickyContent","positioningStyles","alProps","autoLayoutStyle","directionStyle","autoLayoutDimensionsInner","Fragment","component","backgroundColor","positionStyles","show","ref","renderWidget","autoLayoutDimensionsOuter","isSticky","Consumer","entryanimation","animation","animationdelay","onLayout","event","handleLayout","autoLayoutProps","shouldScroll","overflow","containerStyle","contentStyle","minWidth","onScroll","notify"],"sources":["container.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, ViewStyle, Platform, Animated } from 'react-native';\nimport WmContainerProps from './container.props';\nimport { DEFAULT_CLASS, WmContainerStyles } from './container.styles';\nimport { Tappable } from '@wavemaker-ai/app-rn-runtime/core/tappable.component';\nimport { Animatedview } from '@wavemaker-ai/app-rn-runtime/components/basic/animatedview.component';\nimport { PartialHost, PartialHostState } from './partial-host.component';\nimport { createSkeleton } from '../basic/skeleton/skeleton.component';\nimport { WmSkeletonStyles } from '../basic/skeleton/skeleton.styles';\nimport { StickyWrapperContextType, StickyWrapperContext } from '@wavemaker-ai/app-rn-runtime/core/sticky-wrapper';\nimport { EdgeInsets, SafeAreaInsetsContext } from 'react-native-safe-area-context';\nimport { StickyContainer } from '@wavemaker-ai/app-rn-runtime/core/components/sticky-container.component';\nimport { getParentStyles } from '@wavemaker-ai/app-rn-runtime/core/components/sticky-container.styles';\nimport injector from '@wavemaker-ai/app-rn-runtime/core/injector';\nimport AppConfig from '@wavemaker-ai/app-rn-runtime/core/AppConfig';\nimport {\n isAutoLayout as checkAutoLayout,\n getContentContainerStyle,\n getDirectionStyle,\n getDimensionStyle,\n extractAutoLayoutProps,\n} from '@wavemaker-ai/app-rn-runtime/core/auto-layout.utils';\nimport { AutoLayoutHost } from '@wavemaker-ai/app-rn-runtime/core/auto-layout-host.component';\n\nexport class WmContainerState extends PartialHostState<WmContainerProps> {\n isPartialLoaded = false;\n stickyContainerVisibility = false;\n}\n\nexport default class WmContainer extends PartialHost<WmContainerProps, WmContainerState, WmContainerStyles> {\n static contextType = StickyWrapperContext;\n private containerRef: React.RefObject<View | null>;\n private stickyContainerOpacity: Animated.Value;\n private appConfig = injector.get<AppConfig>('APP_CONFIG');\n insets: EdgeInsets | null = {\n top: 0, bottom: 0, left: 0, right: 0\n };\n\n constructor(props: WmContainerProps) {\n super(props, DEFAULT_CLASS, new WmContainerProps(), new WmContainerState());\n this.containerRef = React.createRef();\n this.stickyContainerOpacity = new Animated.Value(1);\n\n this.subscribe('updateStickyHeaders', (_event: any) => {\n if(this.props.sticky){\n setTimeout(()=>{\n this.getStickyHeaderTranslateY();\n }, 500);\n }\n })\n }\n\n getBackground(): React.JSX.Element | null {\n return this._showSkeleton ? null : this._background\n }\n\n private getAutoLayoutProps() {\n return extractAutoLayoutProps(this.props, this.parent?.state?.props);\n }\n\n public renderSkeleton(props: WmContainerProps): React.ReactNode {\n if(!props.showskeletonchildren) {\n const dimensions = {\n width: this.styles.root.width ? '100%' : undefined,\n height: this.styles.root.height ? '100%' : undefined\n };\n const skeletonStyles: WmSkeletonStyles = this.props?.styles?.skeleton || { root: {}, text: {} } as WmSkeletonStyles\n return createSkeleton(this.theme, skeletonStyles, {\n ...this.styles.root\n }, (<View style={[this.styles.root, { opacity: 0 }]}>\n <Tappable {...this.getTestPropsForAction()} target={this} styles={dimensions} disableTouchEffect={this.state.props.disabletoucheffect}>\n <View style={[dimensions as ViewStyle, this.styles.content]}>{this.renderContent(props)}</View>\n </Tappable>\n\n </View>))\n }\n return null;\n }\n\n public getStickyHeaderTranslateY(){\n const isEdgeToEdgeApp = !!this.appConfig?.edgeToEdgeConfig?.isEdgeToEdgeApp;\n this.containerRef?.current?.measure((_x = 0, _y = 0, _width = 0, _height = 0, px = 0, py = 0)=>{\n const topInsetsInYposition = (Platform.OS == 'ios' && !isEdgeToEdgeApp) ? (this.insets?.top || 0): 0\n if((this.context) && (this.context as StickyWrapperContextType).stickyContainerTranslateY) {\n (this.context as StickyWrapperContextType).stickyContainerTranslateY.value = py - topInsetsInYposition ;\n this.updateState({ stickyContainerVisibility: true} as WmContainerState);\n }\n })\n }\n\n componentDidUpdate(_prevProps: any, prevState: any) {\n if (prevState.stickyContainerVisibility !== this.state.stickyContainerVisibility) {\n Animated.timing(this.stickyContainerOpacity, {\n toValue: this.state.stickyContainerVisibility ? 0 : 1,\n delay: 500,\n useNativeDriver: true\n }).start();\n }\n }\n\n private renderStickyContent(props: WmContainerProps, dimensions: ViewStyle, styles: ViewStyle) {\n const { stickyContainerVisibility } = this.state;\n const { positioningStyles } = getParentStyles(this);\n const alProps = this.getAutoLayoutProps();\n const autoLayoutStyle = getContentContainerStyle(alProps);\n const directionStyle = getDirectionStyle(alProps);\n const autoLayoutDimensionsInner = getDimensionStyle(alProps, this.styles.root, true);\n const isAutoLayout = checkAutoLayout(alProps);\n\n return (\n <>\n {stickyContainerVisibility ? (\n <StickyContainer\n component={this}\n theme={this.theme}\n style={[\n this.styles.sticky,\n { backgroundColor: styles.backgroundColor },\n isAutoLayout ? directionStyle : {}\n ]}\n positionStyles={positioningStyles}\n show={props.show as boolean}\n >\n <View style={[isAutoLayout ? autoLayoutDimensionsInner : dimensions as ViewStyle, { backgroundColor: styles.backgroundColor }, this.styles.content, isAutoLayout ? autoLayoutStyle : {}]}>\n {this.renderContent(props)}\n </View>\n </StickyContainer>\n ) : <></>}\n <Animated.View\n style={[\n isAutoLayout ? autoLayoutDimensionsInner : dimensions as ViewStyle,\n { opacity: this.stickyContainerOpacity },\n this.styles.content,\n isAutoLayout ? autoLayoutStyle : {}\n ]}\n ref={this.containerRef}\n >\n {this.renderContent(props)}\n </Animated.View>\n </>\n );\n }\n\n renderWidget(props: WmContainerProps) {\n const alProps = this.getAutoLayoutProps();\n const autoLayoutStyle = getContentContainerStyle(alProps);\n const directionStyle = getDirectionStyle(alProps);\n const autoLayoutDimensionsInner = getDimensionStyle(alProps, this.styles.root, true);\n const autoLayoutDimensionsOuter = getDimensionStyle(alProps, this.styles.root);\n\n const dimensions: ViewStyle = {\n width: this.styles.root.width ? '100%' : undefined,\n height: this.styles.root.height ? '100%' : undefined\n };\n\n const styles = this._showSkeleton ? {\n ...this.styles.root,\n ...this.styles.skeleton.root\n } : this.styles.root;\n\n if (props.sticky) {\n this.isSticky = true;\n }\n\n const isAutoLayout = checkAutoLayout(alProps);\n return (\n <SafeAreaInsetsContext.Consumer>\n {(insets = { top: 0, bottom: 0, left: 0, right: 0 }) => {\n this.insets = insets;\n return (\n <Animatedview\n entryanimation={props.animation}\n delay={props.animationdelay}\n style={[styles, isAutoLayout ? {...autoLayoutDimensionsOuter, ...directionStyle} : {}]}\n onLayout={(event: LayoutChangeEvent, ref: React.RefObject<View>) => {\n this.handleLayout(event, ref);\n }}\n >\n {this.getBackground()}\n <Tappable\n {...this.getTestPropsForAction()}\n target={this}\n styles={[isAutoLayout ? { ...autoLayoutDimensionsInner, ...directionStyle } : dimensions]}\n disableTouchEffect={this.state.props.disabletoucheffect}\n >\n {props.sticky ? (\n this.renderStickyContent(props, dimensions, styles)\n ) : (\n <AutoLayoutHost\n autoLayoutProps={alProps}\n shouldScroll={props.overflow === 'scroll'}\n containerStyle={isAutoLayout ? autoLayoutDimensionsInner : dimensions as ViewStyle}\n contentStyle={[\n this.styles.content,\n isAutoLayout ? { ...directionStyle, ...autoLayoutStyle, minWidth: 0 } : {},\n ]}\n onScroll={(event) => this.notify('scroll', [event])}\n >\n {this.renderContent(props)}\n </AutoLayoutHost>\n )}\n </Tappable>\n </Animatedview>\n );\n }}\n </SafeAreaInsetsContext.Consumer>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAaC,QAAQ,EAAEC,QAAQ,QAAQ,cAAc;AACrF,OAAOC,gBAAgB,MAAM,mBAAmB;AAChD,SAASC,aAAa,QAA2B,oBAAoB;AACrE,SAASC,QAAQ,QAAQ,sDAAsD;AAC/E,SAASC,YAAY,QAAQ,sEAAsE;AACnG,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,0BAA0B;AACxE,SAASC,cAAc,QAAQ,sCAAsC;AAErE,SAAmCC,oBAAoB,QAAQ,kDAAkD;AACjH,SAAqBC,qBAAqB,QAAQ,gCAAgC;AAClF,SAASC,eAAe,QAAQ,yEAAyE;AACzG,SAASC,eAAe,QAAQ,sEAAsE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AAC,CAAC,eACrB3C,KAAA,CAAA+D,aAAA,CAACzD,QAAQ,EAAA4D,QAAA,KACH,IAAI,CAACC,qBAAqB,CAAC,CAAC;QAChCC,MAAM,EAAE,IAAK;QACbb,MAAM,EAAE,CAACvC,YAAY,GAAG;UAAE,GAAG4F,yBAAyB;UAAE,GAAGD;QAAe,CAAC,GAAGtD,UAAU,CAAE;QAC1FgB,kBAAkB,EAAE,IAAI,CAACpB,KAAK,CAACrB,KAAK,CAAC0C;MAAmB,IAErD1C,KAAK,CAACY,MAAM,GACX,IAAI,CAAC+D,mBAAmB,CAAC3E,KAAK,EAAEyB,UAAU,EAAEE,MAAM,CAAC,gBAEnDvD,KAAA,CAAA+D,aAAA,CAACzC,cAAc;QACbuG,eAAe,EAAEpB,OAAQ;QACzBqB,YAAY,EAAElG,KAAK,CAACmG,QAAQ,KAAK,QAAS;QAC1CC,cAAc,EAAEhH,YAAY,GAAG4F,yBAAyB,GAAGvD,UAAwB;QACnF4E,YAAY,EAAE,CACZ,IAAI,CAAC1E,MAAM,CAACgB,OAAO,EACnBvD,YAAY,GAAG;UAAE,GAAG2F,cAAc;UAAE,GAAGD,eAAe;UAAEwB,QAAQ,EAAE;QAAE,CAAC,GAAG,CAAC,CAAC,CAC1E;QACFC,QAAQ,EAAGR,KAAK,IAAK,IAAI,CAACS,MAAM,CAAC,QAAQ,EAAE,CAACT,KAAK,CAAC;MAAE,GAEnD,IAAI,CAACnD,aAAa,CAAC5C,KAAK,CACX,CAEZ,CACE,CAAC;IAEnB,CAC8B,CAAC;EAErC;AACF;AAACF,eAAA,CAnLoBC,WAAW,iBACThB,oBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { PartialHostProps } from './partial-host.component';
|
|
5
|
+
class WmContainerProps extends PartialHostProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "animation", null);
|
|
9
|
+
_defineProperty(this, "animationdelay", null);
|
|
10
|
+
_defineProperty(this, "onLoad", void 0);
|
|
11
|
+
_defineProperty(this, "scrollable", false);
|
|
12
|
+
_defineProperty(this, "sticky", false);
|
|
13
|
+
_defineProperty(this, "stickyContainerVisibility", false);
|
|
14
|
+
_defineProperty(this, "stickyContainerOpacity", void 0);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export default WmContainerProps;
|
|
18
|
+
//# sourceMappingURL=container.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["PartialHostProps","WmContainerProps","constructor","args","_defineProperty"],"sources":["container.props.ts"],"sourcesContent":["import { PartialHostProps } from './partial-host.component';\nimport { Animated } from 'react-native';\nimport { AutoLayoutProps } from '@wavemaker-ai/app-rn-runtime/core/auto-layout.utils';\n\ninterface WmContainerProps extends AutoLayoutProps {}\n\nclass WmContainerProps extends PartialHostProps {\n animation?: string = null as any;\n animationdelay?: number = null as any;\n onLoad?: Function;\n scrollable?: Boolean = false as any;\n sticky?: Boolean = false as boolean;\n stickyContainerVisibility?: Boolean = false;\n stickyContainerOpacity?: Animated.Value;\n}\nexport default WmContainerProps;\n"],"mappings":";;;AAAA,SAASA,gBAAgB,QAAQ,0BAA0B;AAM3D,MAAMC,gBAAgB,SAASD,gBAAgB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBACzB,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA;IAAAA,eAAA,qBAEP,KAAK;IAAAA,eAAA,iBACT,KAAK;IAAAA,eAAA,oCACc,KAAK;IAAAA,eAAA;EAAA;AAE7C;AACA,eAAeH,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
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-container';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {},
|
|
7
|
+
text: {},
|
|
8
|
+
content: {
|
|
9
|
+
flexDirection: 'column'
|
|
10
|
+
},
|
|
11
|
+
skeleton: {
|
|
12
|
+
root: {
|
|
13
|
+
borderColor: 'transparent',
|
|
14
|
+
shadowColor: 'transparent',
|
|
15
|
+
backgroundColor: 'transparent'
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
sticky: {}
|
|
19
|
+
});
|
|
20
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
21
|
+
addStyle('media-body', '', {
|
|
22
|
+
root: {
|
|
23
|
+
flex: 1,
|
|
24
|
+
paddingLeft: 8,
|
|
25
|
+
paddingRight: 8,
|
|
26
|
+
justifyContent: 'center'
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
addStyle('media-right', '', {
|
|
30
|
+
root: {
|
|
31
|
+
justifyContent: 'center'
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
addStyle('app-elevated-container', '', {
|
|
35
|
+
root: {
|
|
36
|
+
boxShadow: '2px 2px 2px rgba(0, 0, 0, 0.2)',
|
|
37
|
+
borderRadius: 8
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
addStyle('app-outlined-container', '', {
|
|
41
|
+
root: {
|
|
42
|
+
borderWidth: 1,
|
|
43
|
+
borderColor: themeVariables.containerOutlineColor,
|
|
44
|
+
borderStyle: 'solid'
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=container.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","content","flexDirection","skeleton","borderColor","shadowColor","backgroundColor","sticky","flex","paddingLeft","paddingRight","justifyContent","boxShadow","borderRadius","borderWidth","containerOutlineColor","borderStyle"],"sources":["container.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 { WmSkeletonStyles } from '../basic/skeleton/skeleton.styles';\n\nexport type WmContainerStyles = BaseStyles & {\n content: AllStyle,\n skeleton: WmSkeletonStyles,\n sticky: AllStyle\n};\n\nexport const DEFAULT_CLASS = 'app-container';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmContainerStyles = defineStyles({\n root: {},\n text: {},\n content: {\n flexDirection: 'column'\n },\n skeleton: {\n root: {\n borderColor: 'transparent',\n shadowColor: 'transparent',\n backgroundColor: 'transparent',\n },\n } as any as WmSkeletonStyles,\n sticky: {}\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('media-body', '', {\n root: {\n flex: 1,\n paddingLeft: 8,\n paddingRight: 8,\n justifyContent: 'center'\n }\n } as WmContainerStyles);\n addStyle('media-right', '', {\n root: {\n justifyContent: 'center'\n }\n } as WmContainerStyles);\n addStyle('app-elevated-container', '', {\n root: {\n boxShadow: '2px 2px 2px rgba(0, 0, 0, 0.2)',\n borderRadius: 8\n }\n } as WmContainerStyles);\n addStyle('app-outlined-container', '', {\n root: {\n borderWidth: 1,\n borderColor: themeVariables.containerOutlineColor,\n borderStyle: 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@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
4
|
+
import WmGridcolumnProps from './gridcolumn.props';
|
|
5
|
+
import { DEFAULT_CLASS } from './gridcolumn.styles';
|
|
6
|
+
export class WmGridcolumnState extends BaseComponentState {}
|
|
7
|
+
export default class WmGridcolumn extends BaseComponent {
|
|
8
|
+
constructor(props) {
|
|
9
|
+
super(props, DEFAULT_CLASS, new WmGridcolumnProps());
|
|
10
|
+
}
|
|
11
|
+
renderWidget(props) {
|
|
12
|
+
if (this.styles.root.height) {
|
|
13
|
+
this.styles.root.overflow = undefined;
|
|
14
|
+
}
|
|
15
|
+
let styles;
|
|
16
|
+
if (props.xscolumnwidth) {
|
|
17
|
+
styles = this.theme.getStyle(`col-xs-${props.xscolumnwidth} col-sm-${props.columnwidth}`);
|
|
18
|
+
} else {
|
|
19
|
+
styles = this.theme.getStyle(`col-xs-${props.columnwidth}`);
|
|
20
|
+
}
|
|
21
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
22
|
+
style: [{
|
|
23
|
+
width: "100%"
|
|
24
|
+
}, styles.root, this.styles.root],
|
|
25
|
+
onLayout: event => this.handleLayout(event)
|
|
26
|
+
}, this._background, props.children);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=gridcolumn.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmGridcolumnProps","DEFAULT_CLASS","WmGridcolumnState","WmGridcolumn","constructor","props","renderWidget","styles","root","height","overflow","undefined","xscolumnwidth","theme","getStyle","columnwidth","createElement","style","width","onLayout","event","handleLayout","_background","children"],"sources":["gridcolumn.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmGridcolumnProps from './gridcolumn.props';\nimport { DEFAULT_CLASS, WmGridColumnStyles } from './gridcolumn.styles';\n\nexport class WmGridcolumnState extends BaseComponentState<WmGridcolumnProps> {\n\n}\n\nexport default class WmGridcolumn extends BaseComponent<WmGridcolumnProps, WmGridcolumnState, WmGridColumnStyles> {\n\n constructor(props: WmGridcolumnProps) {\n super(props, DEFAULT_CLASS, new WmGridcolumnProps());\n }\n\n renderWidget(props: WmGridcolumnProps) {\n if (this.styles.root.height) {\n this.styles.root.overflow = undefined;\n }\n\n let styles;\n if(props.xscolumnwidth) {\n styles = this.theme.getStyle(`col-xs-${props.xscolumnwidth} col-sm-${props.columnwidth}`);\n } else {\n styles = this.theme.getStyle(`col-xs-${props.columnwidth}`)\n }\n\n return (\n <View\n style={[{width: \"100%\"}, styles.root, this.styles.root]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n {props.children}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,iBAAiB,MAAM,oBAAoB;AAClD,SAASC,aAAa,QAA4B,qBAAqB;AAEvE,OAAO,MAAMC,iBAAiB,SAASH,kBAAkB,CAAoB;AAI7E,eAAe,MAAMI,YAAY,SAASL,aAAa,CAA2D;EAEhHM,WAAWA,CAACC,KAAwB,EAAE;IACpC,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,iBAAiB,CAAC,CAAC,CAAC;EACtD;EAEAM,YAAYA,CAACD,KAAwB,EAAE;IACrC,IAAI,IAAI,CAACE,MAAM,CAACC,IAAI,CAACC,MAAM,EAAE;MAC3B,IAAI,CAACF,MAAM,CAACC,IAAI,CAACE,QAAQ,GAAGC,SAAS;IACvC;IAEA,IAAIJ,MAAM;IACV,IAAGF,KAAK,CAACO,aAAa,EAAE;MACtBL,MAAM,GAAG,IAAI,CAACM,KAAK,CAACC,QAAQ,CAAC,UAAUT,KAAK,CAACO,aAAa,YAAYP,KAAK,CAACU,WAAW,EAAE,CAAC;IAC5F,CAAC,MAAM;MACLR,MAAM,GAAG,IAAI,CAACM,KAAK,CAACC,QAAQ,CAAC,UAAUT,KAAK,CAACU,WAAW,EAAE,CAAC;IAC7D;IAEA,oBACEnB,KAAA,CAAAoB,aAAA,CAACnB,IAAI;MACHoB,KAAK,EAAE,CAAC;QAACC,KAAK,EAAE;MAAM,CAAC,EAAEX,MAAM,CAACC,IAAI,EAAE,IAAI,CAACD,MAAM,CAACC,IAAI,CAAE;MACxDW,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;IAAE,GAE7C,IAAI,CAACE,WAAW,EAChBjB,KAAK,CAACkB,QACH,CAAC;EAEX;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 WmGridcolumnProps extends BaseProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "children", void 0);
|
|
9
|
+
_defineProperty(this, "columnwidth", null);
|
|
10
|
+
_defineProperty(this, "xscolumnwidth", null);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=gridcolumn.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmGridcolumnProps","constructor","args","_defineProperty"],"sources":["gridcolumn.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmGridcolumnProps extends BaseProps {\n children: any;\n columnwidth: number = null as any;\n xscolumnwidth: number = null as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,iBAAiB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;IAAAA,eAAA,sBAEjC,IAAI;IAAAA,eAAA,wBACF,IAAI;EAAA;AAC9B","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
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-gridcolumn';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {},
|
|
7
|
+
text: {}
|
|
8
|
+
});
|
|
9
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
10
|
+
addStyle('table-cell', '', {});
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=gridcolumn.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text"],"sources":["gridcolumn.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport type WmGridColumnStyles = BaseStyles & {};\n\nexport const DEFAULT_CLASS = 'app-gridcolumn';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmGridColumnStyles = defineStyles({\n root: {},\n text: {}\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n\n addStyle('table-cell', '', {});\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAI3F,OAAO,MAAMC,aAAa,GAAG,gBAAgB;AAC7CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAiC,GAAGL,YAAY,CAAC;IACnDM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC;EACX,CAAC,CAAC;EAEFH,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAE1CD,QAAQ,CAAC,YAAY,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;AAClC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
4
|
+
import WmGridrowProps from './gridrow.props';
|
|
5
|
+
import { DEFAULT_CLASS } from './gridrow.styles';
|
|
6
|
+
export class WmGridrowState extends BaseComponentState {}
|
|
7
|
+
export default class WmGridrow extends BaseComponent {
|
|
8
|
+
constructor(props) {
|
|
9
|
+
super(props, DEFAULT_CLASS, new WmGridrowProps());
|
|
10
|
+
}
|
|
11
|
+
renderWidget(props) {
|
|
12
|
+
const styles = this._showSkeleton ? {
|
|
13
|
+
...this.styles.root,
|
|
14
|
+
...this.styles.skeleton.root
|
|
15
|
+
} : this.styles.root;
|
|
16
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
17
|
+
style: styles,
|
|
18
|
+
onLayout: event => this.handleLayout(event)
|
|
19
|
+
}, this._background, props.children);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=gridrow.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmGridrowProps","DEFAULT_CLASS","WmGridrowState","WmGridrow","constructor","props","renderWidget","styles","_showSkeleton","root","skeleton","createElement","style","onLayout","event","handleLayout","_background","children"],"sources":["gridrow.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmGridrowProps from './gridrow.props';\nimport { DEFAULT_CLASS, WmGridRowStyles } from './gridrow.styles';\nimport { WmSkeletonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport class WmGridrowState extends BaseComponentState<WmGridrowProps> {\n\n}\n\nexport default class WmGridrow extends BaseComponent<WmGridrowProps, WmGridrowState, WmGridRowStyles> {\n\n constructor(props: WmGridrowProps) {\n super(props, DEFAULT_CLASS, new WmGridrowProps());\n }\n\n renderWidget(props: WmGridrowProps) {\n const styles = this._showSkeleton ? {\n ...this.styles.root,\n ...this.styles.skeleton.root\n } : this.styles.root\n\n return (\n <View\n style={styles}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n {props.children}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AAGjE,OAAO,MAAMC,cAAc,SAASH,kBAAkB,CAAiB;AAIvE,eAAe,MAAMI,SAAS,SAASL,aAAa,CAAkD;EAEpGM,WAAWA,CAACC,KAAqB,EAAE;IACjC,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,cAAc,CAAC,CAAC,CAAC;EACnD;EAEAM,YAAYA,CAACD,KAAqB,EAAE;IAClC,MAAME,MAAM,GAAG,IAAI,CAACC,aAAa,GAAI;MACnC,GAAG,IAAI,CAACD,MAAM,CAACE,IAAI;MACnB,GAAG,IAAI,CAACF,MAAM,CAACG,QAAQ,CAACD;IAC1B,CAAC,GAAG,IAAI,CAACF,MAAM,CAACE,IAAI;IAEpB,oBACEb,KAAA,CAAAe,aAAA,CAACd,IAAI;MACHe,KAAK,EAAEL,MAAO;MACdM,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;IAAE,GAE7C,IAAI,CAACE,WAAW,EAChBX,KAAK,CAACY,QACH,CAAC;EAEX;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 WmGridrowProps extends BaseProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "children", void 0);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=gridrow.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmGridrowProps","constructor","args","_defineProperty"],"sources":["gridrow.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmGridrowProps extends BaseProps {\n children: any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;EAAA;AAEtD","ignoreList":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
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-gridrow';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
width: '100%',
|
|
9
|
+
flexWrap: 'wrap'
|
|
10
|
+
},
|
|
11
|
+
text: {},
|
|
12
|
+
skeleton: {
|
|
13
|
+
root: {
|
|
14
|
+
borderColor: 'transparent'
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
19
|
+
addStyle('table-row', '', {
|
|
20
|
+
root: {
|
|
21
|
+
borderBottomWidth: 1,
|
|
22
|
+
borderStyle: 'solid',
|
|
23
|
+
borderColor: themeVariables.gridColumnBorderColor
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
addStyle('table-header-row', '', {
|
|
27
|
+
root: {
|
|
28
|
+
backgroundColor: themeVariables.layoutGridHeaderBgColor
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
addStyle('table-striped-row0', '', {
|
|
32
|
+
root: {
|
|
33
|
+
backgroundColor: themeVariables.layoutGridStripColor1
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
addStyle('table-striped-row1', '', {
|
|
37
|
+
root: {
|
|
38
|
+
backgroundColor: themeVariables.layoutGridStripColor2
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=gridrow.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","width","flexWrap","text","skeleton","borderColor","borderBottomWidth","borderStyle","gridColumnBorderColor","backgroundColor","layoutGridHeaderBgColor","layoutGridStripColor1","layoutGridStripColor2"],"sources":["gridrow.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmGridRowStyles = BaseStyles & {\n skeleton: WmSkeletonStyles;\n};\n\nexport const DEFAULT_CLASS = 'app-gridrow';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmGridRowStyles = defineStyles({\n root: {\n flexDirection: 'row',\n width: '100%',\n flexWrap: 'wrap'\n },\n text: {},\n skeleton: {\n root: {\n borderColor: 'transparent'\n }\n } as any as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('table-row', '', {\n root: {\n borderBottomWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.gridColumnBorderColor\n }\n });\n addStyle('table-header-row', '', {\n root: {\n backgroundColor: themeVariables.layoutGridHeaderBgColor\n }\n });\n addStyle('table-striped-row0', '', {\n root: {\n backgroundColor: themeVariables.layoutGridStripColor1\n }\n });\n addStyle('table-striped-row1', '', {\n root: {\n backgroundColor: themeVariables.layoutGridStripColor2\n }\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAO3F,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA8B,GAAGL,YAAY,CAAC;IAChDM,IAAI,EAAE;MACFC,aAAa,EAAE,KAAK;MACpBC,KAAK,EAAE,MAAM;MACbC,QAAQ,EAAE;IACd,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACRL,IAAI,EAAE;QACJM,WAAW,EAAE;MACf;IACF;EACJ,CAAC,CAAC;EAEFR,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAAC,WAAW,EAAE,EAAE,EAAE;IACtBE,IAAI,EAAE;MACFO,iBAAiB,EAAE,CAAC;MACpBC,WAAW,EAAE,OAAO;MACpBF,WAAW,EAAET,cAAc,CAACY;IAChC;EACJ,CAAC,CAAC;EACFX,QAAQ,CAAC,kBAAkB,EAAE,EAAE,EAAE;IAC7BE,IAAI,EAAE;MACFU,eAAe,EAAEb,cAAc,CAACc;IACpC;EACJ,CAAC,CAAC;EACFb,QAAQ,CAAC,oBAAoB,EAAE,EAAE,EAAE;IACjCE,IAAI,EAAE;MACJU,eAAe,EAAEb,cAAc,CAACe;IAClC;EACF,CAAC,CAAC;EACFd,QAAQ,CAAC,oBAAoB,EAAE,EAAE,EAAE;IACjCE,IAAI,EAAE;MACJU,eAAe,EAAEb,cAAc,CAACgB;IAClC;EACF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
4
|
+
import WmLayoutgridProps from './layoutgrid.props';
|
|
5
|
+
import { DEFAULT_CLASS } from './layoutgrid.styles';
|
|
6
|
+
import { createSkeleton } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.component';
|
|
7
|
+
export class WmLayoutgridState extends BaseComponentState {}
|
|
8
|
+
export default class WmLayoutgrid extends BaseComponent {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props, DEFAULT_CLASS, new WmLayoutgridProps());
|
|
11
|
+
}
|
|
12
|
+
getBackground() {
|
|
13
|
+
return this._showSkeleton ? null : this._background;
|
|
14
|
+
}
|
|
15
|
+
renderSkeleton(props) {
|
|
16
|
+
if (!props.showskeletonchildren) {
|
|
17
|
+
var _this$props;
|
|
18
|
+
const skeletonStyles = ((_this$props = this.props) === null || _this$props === void 0 || (_this$props = _this$props.styles) === null || _this$props === void 0 ? void 0 : _this$props.skeleton) || {
|
|
19
|
+
root: {},
|
|
20
|
+
text: {}
|
|
21
|
+
};
|
|
22
|
+
return createSkeleton(this.theme, skeletonStyles, {
|
|
23
|
+
...this.styles.root
|
|
24
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
25
|
+
style: [this.styles.root, {
|
|
26
|
+
opacity: 0
|
|
27
|
+
}]
|
|
28
|
+
}, props.children));
|
|
29
|
+
}
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
renderWidget(props) {
|
|
33
|
+
const styles = this._showSkeleton ? {
|
|
34
|
+
...this.styles.root,
|
|
35
|
+
...this.styles.skeleton.root
|
|
36
|
+
} : this.styles.root;
|
|
37
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
38
|
+
onLayout: event => this.handleLayout(event),
|
|
39
|
+
style: styles,
|
|
40
|
+
testID: this.getTestId()
|
|
41
|
+
}, this.getBackground(), props.children);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=layoutgrid.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmLayoutgridProps","DEFAULT_CLASS","createSkeleton","WmLayoutgridState","WmLayoutgrid","constructor","props","getBackground","_showSkeleton","_background","renderSkeleton","showskeletonchildren","_this$props","skeletonStyles","styles","skeleton","root","text","theme","createElement","style","opacity","children","renderWidget","onLayout","event","handleLayout","testID","getTestId"],"sources":["layoutgrid.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmLayoutgridProps from './layoutgrid.props';\nimport { DEFAULT_CLASS, WmLayoutGridStyles } from './layoutgrid.styles';\nimport { WmSkeletonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.styles';\nimport { createSkeleton } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmLayoutgridState extends BaseComponentState<WmLayoutgridProps> {\n\n}\n\nexport default class WmLayoutgrid extends BaseComponent<WmLayoutgridProps, WmLayoutgridState, WmLayoutGridStyles> {\n\n constructor(props: WmLayoutgridProps) {\n super(props, DEFAULT_CLASS, new WmLayoutgridProps());\n }\n\n getBackground(): React.JSX.Element | null {\n return this._showSkeleton ? null : this._background\n }\n\n public renderSkeleton(props: WmLayoutgridProps): React.ReactNode {\n if(!props.showskeletonchildren) {\n const skeletonStyles: WmSkeletonStyles = this.props?.styles?.skeleton || { root: {}, text: {} } as WmSkeletonStyles\n return createSkeleton(this.theme, skeletonStyles, {\n ...this.styles.root\n }, (<View style={[this.styles.root, { opacity: 0 }]}>\n {props.children}\n </View>))\n }\n return null;\n }\n\n\n renderWidget(props: WmLayoutgridProps) {\n const styles = this._showSkeleton ? {\n ...this.styles.root,\n ...this.styles.skeleton.root\n } : this.styles.root\n return (\n <View\n onLayout={(event) => this.handleLayout(event)}\n style={styles}\n testID={this.getTestId()}\n >\n {this.getBackground()}\n {props.children}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,iBAAiB,MAAM,oBAAoB;AAClD,SAASC,a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M,CAACE,IAAI;IACpB,oBACEpB,KAAA,CAAAuB,aAAA,CAACtB,IAAI;MACH2B,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK,CAAE;MAC9CL,KAAK,EAAEN,MAAO;MACda,MAAM,EAAE,IAAI,CAACC,SAAS,CAAC;IAAE,GAExB,IAAI,CAACrB,aAAa,CAAC,CAAC,EACpBD,KAAK,CAACgB,QACH,CAAC;EAEX;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 WmLayoutgridProps extends BaseProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "children", void 0);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=layoutgrid.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmLayoutgridProps","constructor","args","_defineProperty"],"sources":["layoutgrid.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmLayoutgridProps extends BaseProps {\n children: any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,iBAAiB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;EAAA;AAEzD","ignoreList":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
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-layoutgrid';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {
|
|
7
|
+
flexDirection: 'column',
|
|
8
|
+
width: '100%'
|
|
9
|
+
},
|
|
10
|
+
text: {},
|
|
11
|
+
skeleton: {
|
|
12
|
+
root: {}
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
16
|
+
addStyle('table', '', {
|
|
17
|
+
root: {
|
|
18
|
+
backgroundColor: themeVariables.layoutGridBgColor,
|
|
19
|
+
borderWidth: 1,
|
|
20
|
+
borderLeftWidth: 1,
|
|
21
|
+
borderTopWidth: 1,
|
|
22
|
+
borderStyle: 'solid',
|
|
23
|
+
borderColor: themeVariables.layoutGridBorderColor,
|
|
24
|
+
borderRadius: 2
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
addStyle('table-header-label', '', {
|
|
28
|
+
text: {
|
|
29
|
+
color: themeVariables.layoutGridHeaderTextColor,
|
|
30
|
+
fontWeight: 'bold'
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=layoutgrid.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","width","text","skeleton","backgroundColor","layoutGridBgColor","borderWidth","borderLeftWidth","borderTopWidth","borderStyle","borderColor","layoutGridBorderColor","borderRadius","color","layoutGridHeaderTextColor","fontWeight"],"sources":["layoutgrid.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { WmLabelStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/label/label.styles';\nimport { WmSkeletonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmLayoutGridStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n}\n\nexport const DEFAULT_CLASS = 'app-layoutgrid';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmLayoutGridStyles = defineStyles({\n root: {\n flexDirection: 'column',\n width: '100%'\n },\n text: {},\n skeleton: {\n root: {\n }\n } as any as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n\n addStyle('table', '', {\n root: {\n backgroundColor: themeVariables.layoutGridBgColor,\n borderWidth: 1,\n borderLeftWidth: 1,\n borderTopWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.layoutGridBorderColor,\n borderRadius: 2\n }\n });\n\n addStyle('table-header-label', '', {\n text: {\n color: themeVariables.layoutGridHeaderTextColor,\n fontWeight: 'bold'\n }\n } as WmLabelStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAQ3F,OAAO,MAAMC,aAAa,GAAG,gBAAgB;AAC7CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAiC,GAAGL,YAAY,CAAC;IACnDM,IAAI,EAAE;MACJC,aAAa,EAAE,QAAQ;MACvBC,KAAK,EAAE;IACT,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACRJ,IAAI,EAAE,CACN;IACF;EACJ,CAAC,CAAC;EAEFF,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAE1CD,QAAQ,CAAC,OAAO,EAAE,EAAE,EAAE;IACpBE,IAAI,EAAE;MACJK,eAAe,EAAER,cAAc,CAACS,iBAAiB;MACjDC,WAAW,EAAE,CAAC;MACdC,eAAe,EAAE,CAAC;MAClBC,cAAc,EAAE,CAAC;MACjBC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAEd,cAAc,CAACe,qBAAqB;MACjDC,YAAY,EAAE;IAChB;EACF,CAAC,CAAC;EAEFf,QAAQ,CAAC,oBAAoB,EAAE,EAAE,EAAE;IAC/BK,IAAI,EAAE;MACJW,KAAK,EAAEjB,cAAc,CAACkB,yBAAyB;MAC/CC,UAAU,EAAE;IACd;EACJ,CAAkB,CAAC;AACrB,CAAC,CAAC","ignoreList":[]}
|