@wavemaker/app-rn-runtime 11.15.1-rc.248 → 11.15.2-dev.1
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.d.ts +8 -0
- package/actions/base-action.d.ts.map +1 -0
- package/actions/index.d.ts +6 -0
- package/actions/index.d.ts.map +1 -0
- package/actions/login-action.d.ts +12 -0
- package/actions/login-action.d.ts.map +1 -0
- package/actions/logout-action.d.ts +11 -0
- package/actions/logout-action.d.ts.map +1 -0
- package/actions/navigation-action.d.ts +13 -0
- package/actions/navigation-action.d.ts.map +1 -0
- package/actions/notification-action.d.ts +20 -0
- package/actions/notification-action.d.ts.map +1 -0
- package/actions/notification-action.js +0 -1
- package/actions/notification-action.js.map +1 -1
- package/actions/timer-action.d.ts +20 -0
- package/actions/timer-action.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts +11 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts +5 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts +4 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts +11 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts +5 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts +4 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts.map +1 -0
- package/components/advanced/carousel/carousel.component.d.ts +36 -0
- package/components/advanced/carousel/carousel.component.d.ts.map +1 -0
- package/components/advanced/carousel/carousel.props.d.ts +18 -0
- package/components/advanced/carousel/carousel.props.d.ts.map +1 -0
- package/components/advanced/carousel/carousel.styles.d.ts +21 -0
- package/components/advanced/carousel/carousel.styles.d.ts.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts +11 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts +5 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts +7 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts.map +1 -0
- package/components/advanced/login/login.component.d.ts +16 -0
- package/components/advanced/login/login.component.d.ts.map +1 -0
- package/components/advanced/login/login.props.d.ts +7 -0
- package/components/advanced/login/login.props.d.ts.map +1 -0
- package/components/advanced/login/login.styles.d.ts +8 -0
- package/components/advanced/login/login.styles.d.ts.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts +18 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts +5 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts +9 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts.map +1 -0
- package/components/advanced/webview/webview.component.d.ts +31 -0
- package/components/advanced/webview/webview.component.d.ts.map +1 -0
- package/components/advanced/webview/webview.props.d.ts +12 -0
- package/components/advanced/webview/webview.props.d.ts.map +1 -0
- package/components/advanced/webview/webview.styles.d.ts +8 -0
- package/components/advanced/webview/webview.styles.d.ts.map +1 -0
- package/components/basic/anchor/anchor.component.d.ts +16 -0
- package/components/basic/anchor/anchor.component.d.ts.map +1 -0
- package/components/basic/anchor/anchor.props.d.ts +28 -0
- package/components/basic/anchor/anchor.props.d.ts.map +1 -0
- package/components/basic/anchor/anchor.styles.d.ts +12 -0
- package/components/basic/anchor/anchor.styles.d.ts.map +1 -0
- package/components/basic/animatedview.component.d.ts +22 -0
- package/components/basic/animatedview.component.d.ts.map +1 -0
- package/components/basic/audio/audio.component.d.ts +37 -0
- package/components/basic/audio/audio.component.d.ts.map +1 -0
- package/components/basic/audio/audio.props.d.ts +9 -0
- package/components/basic/audio/audio.props.d.ts.map +1 -0
- package/components/basic/audio/audio.styles.d.ts +14 -0
- package/components/basic/audio/audio.styles.d.ts.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.component.d.ts +72 -0
- package/components/basic/bottomsheet/bottomsheet.component.d.ts.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.component.js +23 -58
- package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -1
- package/components/basic/bottomsheet/bottomsheet.props.d.ts +20 -0
- package/components/basic/bottomsheet/bottomsheet.props.d.ts.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.styles.d.ts +17 -0
- package/components/basic/bottomsheet/bottomsheet.styles.d.ts.map +1 -0
- package/components/basic/button/button.component.d.ts +14 -0
- package/components/basic/button/button.component.d.ts.map +1 -0
- package/components/basic/button/button.component.js +7 -56
- package/components/basic/button/button.component.js.map +1 -1
- package/components/basic/button/button.props.d.ts +23 -0
- package/components/basic/button/button.props.d.ts.map +1 -0
- package/components/basic/button/button.styles.d.ts +12 -0
- package/components/basic/button/button.styles.d.ts.map +1 -0
- package/components/basic/buttongroup/buttongroup.component.d.ts +12 -0
- package/components/basic/buttongroup/buttongroup.component.d.ts.map +1 -0
- package/components/basic/buttongroup/buttongroup.props.d.ts +8 -0
- package/components/basic/buttongroup/buttongroup.props.d.ts.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.d.ts +7 -0
- package/components/basic/buttongroup/buttongroup.styles.d.ts.map +1 -0
- package/components/basic/custom/custom.component.d.ts +12 -0
- package/components/basic/custom/custom.component.d.ts.map +1 -0
- package/components/basic/custom/custom.props.d.ts +8 -0
- package/components/basic/custom/custom.props.d.ts.map +1 -0
- package/components/basic/custom/custom.styles.d.ts +7 -0
- package/components/basic/custom/custom.styles.d.ts.map +1 -0
- package/components/basic/icon/icon.component.d.ts +38 -0
- package/components/basic/icon/icon.component.d.ts.map +1 -0
- package/components/basic/icon/icon.props.d.ts +23 -0
- package/components/basic/icon/icon.props.d.ts.map +1 -0
- package/components/basic/icon/icon.styles.d.ts +10 -0
- package/components/basic/icon/icon.styles.d.ts.map +1 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts +9 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts.map +1 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts +9 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts.map +1 -0
- package/components/basic/icon/wavicon/wavicon.component.d.ts +9 -0
- package/components/basic/icon/wavicon/wavicon.component.d.ts.map +1 -0
- package/components/basic/label/label.component.d.ts +30 -0
- package/components/basic/label/label.component.d.ts.map +1 -0
- package/components/basic/label/label.props.d.ts +23 -0
- package/components/basic/label/label.props.d.ts.map +1 -0
- package/components/basic/label/label.styles.d.ts +11 -0
- package/components/basic/label/label.styles.d.ts.map +1 -0
- package/components/basic/lottie/lottie.component.d.ts +23 -0
- package/components/basic/lottie/lottie.component.d.ts.map +1 -0
- package/components/basic/lottie/lottie.props.d.ts +8 -0
- package/components/basic/lottie/lottie.props.d.ts.map +1 -0
- package/components/basic/lottie/lottie.styles.d.ts +7 -0
- package/components/basic/lottie/lottie.styles.d.ts.map +1 -0
- package/components/basic/message/message.component.d.ts +14 -0
- package/components/basic/message/message.component.d.ts.map +1 -0
- package/components/basic/message/message.component.js +1 -1
- package/components/basic/message/message.component.js.map +1 -1
- package/components/basic/message/message.props.d.ts +18 -0
- package/components/basic/message/message.props.d.ts.map +1 -0
- package/components/basic/message/message.props.js +0 -1
- package/components/basic/message/message.props.js.map +1 -1
- package/components/basic/message/message.styles.d.ts +11 -0
- package/components/basic/message/message.styles.d.ts.map +1 -0
- package/components/basic/modal/modal.component.d.ts +12 -0
- package/components/basic/modal/modal.component.d.ts.map +1 -0
- package/components/basic/modal/modal.props.d.ts +6 -0
- package/components/basic/modal/modal.props.d.ts.map +1 -0
- package/components/basic/modal/modal.styles.d.ts +7 -0
- package/components/basic/modal/modal.styles.d.ts.map +1 -0
- package/components/basic/picture/picture.component.d.ts +37 -0
- package/components/basic/picture/picture.component.d.ts.map +1 -0
- package/components/basic/picture/picture.component.js +19 -46
- package/components/basic/picture/picture.component.js.map +1 -1
- package/components/basic/picture/picture.props.d.ts +20 -0
- package/components/basic/picture/picture.props.d.ts.map +1 -0
- package/components/basic/picture/picture.props.js.map +1 -1
- package/components/basic/picture/picture.styles.d.ts +9 -0
- package/components/basic/picture/picture.styles.d.ts.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.d.ts +12 -0
- package/components/basic/progress-bar/progress-bar.component.d.ts.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.d.ts +14 -0
- package/components/basic/progress-bar/progress-bar.props.d.ts.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.d.ts +11 -0
- package/components/basic/progress-bar/progress-bar.styles.d.ts.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.d.ts +14 -0
- package/components/basic/progress-circle/progress-circle.component.d.ts.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.d.ts +14 -0
- package/components/basic/progress-circle/progress-circle.props.d.ts.map +1 -0
- package/components/basic/progress-circle/progress-circle.styles.d.ts +9 -0
- package/components/basic/progress-circle/progress-circle.styles.d.ts.map +1 -0
- package/components/basic/search/local-data-provider.d.ts +12 -0
- package/components/basic/search/local-data-provider.d.ts.map +1 -0
- package/components/basic/search/search.component.d.ts +58 -0
- package/components/basic/search/search.component.d.ts.map +1 -0
- package/components/basic/search/search.props.d.ts +35 -0
- package/components/basic/search/search.props.d.ts.map +1 -0
- package/components/basic/search/search.styles.d.ts +21 -0
- package/components/basic/search/search.styles.d.ts.map +1 -0
- package/components/basic/skeleton/skeleton.component.d.ts +28 -0
- package/components/basic/skeleton/skeleton.component.d.ts.map +1 -0
- package/components/basic/skeleton/skeleton.props.d.ts +6 -0
- package/components/basic/skeleton/skeleton.props.d.ts.map +1 -0
- package/components/basic/skeleton/skeleton.styles.d.ts +11 -0
- package/components/basic/skeleton/skeleton.styles.d.ts.map +1 -0
- package/components/basic/spinner/spinner.component.d.ts +17 -0
- package/components/basic/spinner/spinner.component.d.ts.map +1 -0
- package/components/basic/spinner/spinner.props.d.ts +11 -0
- package/components/basic/spinner/spinner.props.d.ts.map +1 -0
- package/components/basic/spinner/spinner.styles.d.ts +11 -0
- package/components/basic/spinner/spinner.styles.d.ts.map +1 -0
- package/components/basic/tooltip/tooltip.component.d.ts +11 -0
- package/components/basic/tooltip/tooltip.component.d.ts.map +1 -0
- package/components/basic/tooltip/tooltip.props.d.ts +14 -0
- package/components/basic/tooltip/tooltip.props.d.ts.map +1 -0
- package/components/basic/tooltip/tooltip.styles.d.ts +8 -0
- package/components/basic/tooltip/tooltip.styles.d.ts.map +1 -0
- package/components/basic/video/video.component.d.ts +29 -0
- package/components/basic/video/video.component.d.ts.map +1 -0
- package/components/basic/video/video.props.d.ts +28 -0
- package/components/basic/video/video.props.d.ts.map +1 -0
- package/components/basic/video/video.styles.d.ts +9 -0
- package/components/basic/video/video.styles.d.ts.map +1 -0
- package/components/chart/area-chart/area-chart.component.d.ts +15 -0
- package/components/chart/area-chart/area-chart.component.d.ts.map +1 -0
- package/components/chart/area-chart/area-chart.props.d.ts +6 -0
- package/components/chart/area-chart/area-chart.props.d.ts.map +1 -0
- package/components/chart/area-chart/area-chart.styles.d.ts +5 -0
- package/components/chart/area-chart/area-chart.styles.d.ts.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.d.ts +14 -0
- package/components/chart/bar-chart/bar-chart.component.d.ts.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.js +2 -13
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -1
- package/components/chart/bar-chart/bar-chart.props.d.ts +8 -0
- package/components/chart/bar-chart/bar-chart.props.d.ts.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js +0 -1
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -1
- package/components/chart/bar-chart/bar-chart.styles.d.ts +5 -0
- package/components/chart/bar-chart/bar-chart.styles.d.ts.map +1 -0
- package/components/chart/basechart.component.d.ts +82 -0
- package/components/chart/basechart.component.d.ts.map +1 -0
- package/components/chart/basechart.props.d.ts +60 -0
- package/components/chart/basechart.props.d.ts.map +1 -0
- package/components/chart/basechart.styles.d.ts +36 -0
- package/components/chart/basechart.styles.d.ts.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.d.ts +12 -0
- package/components/chart/bubble-chart/bubble-chart.component.d.ts.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.props.d.ts +5 -0
- package/components/chart/bubble-chart/bubble-chart.props.d.ts.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.styles.d.ts +5 -0
- package/components/chart/bubble-chart/bubble-chart.styles.d.ts.map +1 -0
- package/components/chart/column-chart/column-chart.component.d.ts +8 -0
- package/components/chart/column-chart/column-chart.component.d.ts.map +1 -0
- package/components/chart/column-chart/column-chart.props.d.ts +4 -0
- package/components/chart/column-chart/column-chart.props.d.ts.map +1 -0
- package/components/chart/column-chart/column-chart.styles.d.ts +4 -0
- package/components/chart/column-chart/column-chart.styles.d.ts.map +1 -0
- package/components/chart/donut-chart/donut-chart.component.d.ts +6 -0
- package/components/chart/donut-chart/donut-chart.component.d.ts.map +1 -0
- package/components/chart/donut-chart/donut-chart.props.d.ts +5 -0
- package/components/chart/donut-chart/donut-chart.props.d.ts.map +1 -0
- package/components/chart/donut-chart/donut-chart.styles.d.ts +5 -0
- package/components/chart/donut-chart/donut-chart.styles.d.ts.map +1 -0
- package/components/chart/legend/legend.component.d.ts +15 -0
- package/components/chart/legend/legend.component.d.ts.map +1 -0
- package/components/chart/line-chart/line-chart.component.d.ts +12 -0
- package/components/chart/line-chart/line-chart.component.d.ts.map +1 -0
- package/components/chart/line-chart/line-chart.props.d.ts +8 -0
- package/components/chart/line-chart/line-chart.props.d.ts.map +1 -0
- package/components/chart/line-chart/line-chart.styles.d.ts +5 -0
- package/components/chart/line-chart/line-chart.styles.d.ts.map +1 -0
- package/components/chart/pie-chart/pie-chart.component.d.ts +27 -0
- package/components/chart/pie-chart/pie-chart.component.d.ts.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.d.ts +9 -0
- package/components/chart/pie-chart/pie-chart.props.d.ts.map +1 -0
- package/components/chart/pie-chart/pie-chart.styles.d.ts +5 -0
- package/components/chart/pie-chart/pie-chart.styles.d.ts.map +1 -0
- package/components/chart/stack-chart/stack-chart.component.d.ts +26 -0
- package/components/chart/stack-chart/stack-chart.component.d.ts.map +1 -0
- package/components/chart/stack-chart/stack-chart.props.d.ts +11 -0
- package/components/chart/stack-chart/stack-chart.props.d.ts.map +1 -0
- package/components/chart/stack-chart/stack-chart.styles.d.ts +5 -0
- package/components/chart/stack-chart/stack-chart.styles.d.ts.map +1 -0
- package/components/chart/staticdata.d.ts +41 -0
- package/components/chart/staticdata.d.ts.map +1 -0
- package/components/chart/theme/chart.theme.d.ts +8 -0
- package/components/chart/theme/chart.theme.d.ts.map +1 -0
- package/components/container/accordion/accordion.component.d.ts +27 -0
- package/components/container/accordion/accordion.component.d.ts.map +1 -0
- package/components/container/accordion/accordion.component.js +7 -14
- package/components/container/accordion/accordion.component.js.map +1 -1
- package/components/container/accordion/accordion.props.d.ts +10 -0
- package/components/container/accordion/accordion.props.d.ts.map +1 -0
- package/components/container/accordion/accordion.styles.d.ts +21 -0
- package/components/container/accordion/accordion.styles.d.ts.map +1 -0
- package/components/container/accordion/accordion.styles.js +21 -24
- package/components/container/accordion/accordion.styles.js.map +1 -1
- package/components/container/accordion/accordionpane/accordionpane.component.d.ts +23 -0
- package/components/container/accordion/accordionpane/accordionpane.component.d.ts.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.props.d.ts +11 -0
- package/components/container/accordion/accordionpane/accordionpane.props.d.ts.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.d.ts +4 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.d.ts.map +1 -0
- package/components/container/container.component.d.ts +38 -0
- package/components/container/container.component.d.ts.map +1 -0
- package/components/container/container.component.js +69 -149
- package/components/container/container.component.js.map +1 -1
- package/components/container/container.props.d.ts +17 -0
- package/components/container/container.props.d.ts.map +1 -0
- package/components/container/container.props.js +0 -1
- package/components/container/container.props.js.map +1 -1
- package/components/container/container.styles.d.ts +10 -0
- package/components/container/container.styles.d.ts.map +1 -0
- package/components/container/container.styles.js +1 -3
- package/components/container/container.styles.js.map +1 -1
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts +11 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts +7 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts +4 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.d.ts +11 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.d.ts.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.d.ts +5 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.d.ts.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts +7 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts.map +1 -0
- package/components/container/layoutgrid/layoutgrid.component.d.ts +13 -0
- package/components/container/layoutgrid/layoutgrid.component.d.ts.map +1 -0
- package/components/container/layoutgrid/layoutgrid.props.d.ts +5 -0
- package/components/container/layoutgrid/layoutgrid.props.d.ts.map +1 -0
- package/components/container/layoutgrid/layoutgrid.styles.d.ts +7 -0
- package/components/container/layoutgrid/layoutgrid.styles.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayout.component.d.ts +15 -0
- package/components/container/linearlayout/linearlayout.component.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayout.component.js +0 -1
- package/components/container/linearlayout/linearlayout.component.js.map +1 -1
- package/components/container/linearlayout/linearlayout.props.d.ts +9 -0
- package/components/container/linearlayout/linearlayout.props.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayout.styles.d.ts +7 -0
- package/components/container/linearlayout/linearlayout.styles.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts +11 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts +7 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts +4 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts.map +1 -0
- package/components/container/panel/collapsible-pane.component.d.ts +6 -0
- package/components/container/panel/collapsible-pane.component.d.ts.map +1 -0
- package/components/container/panel/panel-content/panel-content.component.d.ts +11 -0
- package/components/container/panel/panel-content/panel-content.component.d.ts.map +1 -0
- package/components/container/panel/panel-content/panel-content.props.d.ts +5 -0
- package/components/container/panel/panel-content/panel-content.props.d.ts.map +1 -0
- package/components/container/panel/panel-content/panel-content.styles.d.ts +4 -0
- package/components/container/panel/panel-content/panel-content.styles.d.ts.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.component.d.ts +11 -0
- package/components/container/panel/panel-footer/panel-footer.component.d.ts.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.props.d.ts +5 -0
- package/components/container/panel/panel-footer/panel-footer.props.d.ts.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.styles.d.ts +4 -0
- package/components/container/panel/panel-footer/panel-footer.styles.d.ts.map +1 -0
- package/components/container/panel/panel.component.d.ts +20 -0
- package/components/container/panel/panel.component.d.ts.map +1 -0
- package/components/container/panel/panel.component.js +1 -8
- package/components/container/panel/panel.component.js.map +1 -1
- package/components/container/panel/panel.props.d.ts +18 -0
- package/components/container/panel/panel.props.d.ts.map +1 -0
- package/components/container/panel/panel.props.js +0 -2
- package/components/container/panel/panel.props.js.map +1 -1
- package/components/container/panel/panel.styles.d.ts +13 -0
- package/components/container/panel/panel.styles.d.ts.map +1 -0
- package/components/container/partial-host.component.d.ts +18 -0
- package/components/container/partial-host.component.d.ts.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.d.ts +27 -0
- package/components/container/tabs/tabheader/tabheader.component.d.ts.map +1 -0
- package/components/container/tabs/tabheader/tabheader.props.d.ts +14 -0
- package/components/container/tabs/tabheader/tabheader.props.d.ts.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.d.ts +18 -0
- package/components/container/tabs/tabheader/tabheader.styles.d.ts.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.d.ts +22 -0
- package/components/container/tabs/tabpane/tabpane.component.d.ts.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.d.ts +14 -0
- package/components/container/tabs/tabpane/tabpane.props.d.ts.map +1 -0
- package/components/container/tabs/tabpane/tabpane.styles.d.ts +4 -0
- package/components/container/tabs/tabpane/tabpane.styles.d.ts.map +1 -0
- package/components/container/tabs/tabs.component.d.ts +37 -0
- package/components/container/tabs/tabs.component.d.ts.map +1 -0
- package/components/container/tabs/tabs.props.d.ts +8 -0
- package/components/container/tabs/tabs.props.d.ts.map +1 -0
- package/components/container/tabs/tabs.styles.d.ts +11 -0
- package/components/container/tabs/tabs.styles.d.ts.map +1 -0
- package/components/container/tile/tile.component.d.ts +13 -0
- package/components/container/tile/tile.component.d.ts.map +1 -0
- package/components/container/tile/tile.component.js +0 -3
- package/components/container/tile/tile.component.js.map +1 -1
- package/components/container/tile/tile.props.d.ts +7 -0
- package/components/container/tile/tile.props.d.ts.map +1 -0
- package/components/container/tile/tile.styles.d.ts +7 -0
- package/components/container/tile/tile.styles.d.ts.map +1 -0
- package/components/container/wizard/wizard.component.d.ts +47 -0
- package/components/container/wizard/wizard.component.d.ts.map +1 -0
- package/components/container/wizard/wizard.component.js +2 -2
- package/components/container/wizard/wizard.component.js.map +1 -1
- package/components/container/wizard/wizard.props.d.ts +23 -0
- package/components/container/wizard/wizard.props.d.ts.map +1 -0
- package/components/container/wizard/wizard.props.js +0 -1
- package/components/container/wizard/wizard.props.js.map +1 -1
- package/components/container/wizard/wizard.styles.d.ts +48 -0
- package/components/container/wizard/wizard.styles.d.ts.map +1 -0
- package/components/container/wizard/wizard.styles.js +16 -1
- package/components/container/wizard/wizard.styles.js.map +1 -1
- package/components/container/wizard/wizardstep/wizardstep.component.d.ts +21 -0
- package/components/container/wizard/wizardstep/wizardstep.component.d.ts.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.d.ts +16 -0
- package/components/container/wizard/wizardstep/wizardstep.props.d.ts.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.d.ts +4 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.d.ts.map +1 -0
- package/components/data/card/card-content/card-content.component.d.ts +14 -0
- package/components/data/card/card-content/card-content.component.d.ts.map +1 -0
- package/components/data/card/card-content/card-content.props.d.ts +6 -0
- package/components/data/card/card-content/card-content.props.d.ts.map +1 -0
- package/components/data/card/card-content/card-content.styles.d.ts +7 -0
- package/components/data/card/card-content/card-content.styles.d.ts.map +1 -0
- package/components/data/card/card-footer/card-footer.component.d.ts +11 -0
- package/components/data/card/card-footer/card-footer.component.d.ts.map +1 -0
- package/components/data/card/card-footer/card-footer.props.d.ts +5 -0
- package/components/data/card/card-footer/card-footer.props.d.ts.map +1 -0
- package/components/data/card/card-footer/card-footer.styles.d.ts +4 -0
- package/components/data/card/card-footer/card-footer.styles.d.ts.map +1 -0
- package/components/data/card/card.component.d.ts +13 -0
- package/components/data/card/card.component.d.ts.map +1 -0
- package/components/data/card/card.props.d.ts +21 -0
- package/components/data/card/card.props.d.ts.map +1 -0
- package/components/data/card/card.styles.d.ts +16 -0
- package/components/data/card/card.styles.d.ts.map +1 -0
- package/components/data/form/form-action/form-action.component.d.ts +14 -0
- package/components/data/form/form-action/form-action.component.d.ts.map +1 -0
- package/components/data/form/form-action/form-action.props.d.ts +12 -0
- package/components/data/form/form-action/form-action.props.d.ts.map +1 -0
- package/components/data/form/form-action/form-action.styles.d.ts +7 -0
- package/components/data/form/form-action/form-action.styles.d.ts.map +1 -0
- package/components/data/form/form-body/form-body.component.d.ts +11 -0
- package/components/data/form/form-body/form-body.component.d.ts.map +1 -0
- package/components/data/form/form-body/form-body.component.js +1 -2
- package/components/data/form/form-body/form-body.component.js.map +1 -1
- package/components/data/form/form-body/form-body.props.d.ts +5 -0
- package/components/data/form/form-body/form-body.props.d.ts.map +1 -0
- package/components/data/form/form-body/form-body.styles.d.ts +4 -0
- package/components/data/form/form-body/form-body.styles.d.ts.map +1 -0
- package/components/data/form/form-field/form-field.component.d.ts +31 -0
- package/components/data/form/form-field/form-field.component.d.ts.map +1 -0
- package/components/data/form/form-field/form-field.props.d.ts +29 -0
- package/components/data/form/form-field/form-field.props.d.ts.map +1 -0
- package/components/data/form/form-field/form-field.styles.d.ts +7 -0
- package/components/data/form/form-field/form-field.styles.d.ts.map +1 -0
- package/components/data/form/form-footer/form-footer.component.d.ts +11 -0
- package/components/data/form/form-footer/form-footer.component.d.ts.map +1 -0
- package/components/data/form/form-footer/form-footer.component.js +1 -2
- package/components/data/form/form-footer/form-footer.component.js.map +1 -1
- package/components/data/form/form-footer/form-footer.props.d.ts +5 -0
- package/components/data/form/form-footer/form-footer.props.d.ts.map +1 -0
- package/components/data/form/form-footer/form-footer.styles.d.ts +4 -0
- package/components/data/form/form-footer/form-footer.styles.d.ts.map +1 -0
- package/components/data/form/form.component.d.ts +62 -0
- package/components/data/form/form.component.d.ts.map +1 -0
- package/components/data/form/form.props.d.ts +26 -0
- package/components/data/form/form.props.d.ts.map +1 -0
- package/components/data/form/form.styles.d.ts +13 -0
- package/components/data/form/form.styles.d.ts.map +1 -0
- package/components/data/list/list-action-template/list-action-template.component.d.ts +13 -0
- package/components/data/list/list-action-template/list-action-template.component.d.ts.map +1 -0
- package/components/data/list/list-action-template/list-action-template.props.d.ts +6 -0
- package/components/data/list/list-action-template/list-action-template.props.d.ts.map +1 -0
- package/components/data/list/list-action-template/list-action-template.styles.d.ts +4 -0
- package/components/data/list/list-action-template/list-action-template.styles.d.ts.map +1 -0
- package/components/data/list/list-template/list-template.component.d.ts +11 -0
- package/components/data/list/list-template/list-template.component.d.ts.map +1 -0
- package/components/data/list/list-template/list-template.props.d.ts +6 -0
- package/components/data/list/list-template/list-template.props.d.ts.map +1 -0
- package/components/data/list/list-template/list-template.styles.d.ts +7 -0
- package/components/data/list/list-template/list-template.styles.d.ts.map +1 -0
- package/components/data/list/list.component.d.ts +60 -0
- package/components/data/list/list.component.d.ts.map +1 -0
- package/components/data/list/list.props.d.ts +45 -0
- package/components/data/list/list.props.d.ts.map +1 -0
- package/components/data/list/list.styles.d.ts +24 -0
- package/components/data/list/list.styles.d.ts.map +1 -0
- package/components/data/liveform/liveform.component.d.ts +15 -0
- package/components/data/liveform/liveform.component.d.ts.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.d.ts +15 -0
- package/components/device/barcodescanner/barcodescanner.component.d.ts.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.d.ts +14 -0
- package/components/device/barcodescanner/barcodescanner.props.d.ts.map +1 -0
- package/components/device/barcodescanner/barcodescanner.styles.d.ts +7 -0
- package/components/device/barcodescanner/barcodescanner.styles.d.ts.map +1 -0
- package/components/device/camera/camera.component.d.ts +16 -0
- package/components/device/camera/camera.component.d.ts.map +1 -0
- package/components/device/camera/camera.props.d.ts +20 -0
- package/components/device/camera/camera.props.d.ts.map +1 -0
- package/components/device/camera/camera.styles.d.ts +7 -0
- package/components/device/camera/camera.styles.d.ts.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.d.ts +16 -0
- package/components/dialogs/alertdialog/alertdialog.component.d.ts.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.props.d.ts +18 -0
- package/components/dialogs/alertdialog/alertdialog.props.d.ts.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.d.ts +15 -0
- package/components/dialogs/alertdialog/alertdialog.styles.d.ts.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.d.ts +16 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.d.ts.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.d.ts +18 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.d.ts.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts +16 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts.map +1 -0
- package/components/dialogs/dialog/dialog.component.d.ts +17 -0
- package/components/dialogs/dialog/dialog.component.d.ts.map +1 -0
- package/components/dialogs/dialog/dialog.props.d.ts +19 -0
- package/components/dialogs/dialog/dialog.props.d.ts.map +1 -0
- package/components/dialogs/dialog/dialog.styles.d.ts +12 -0
- package/components/dialogs/dialog/dialog.styles.d.ts.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.component.d.ts +12 -0
- package/components/dialogs/dialogactions/dialogactions.component.d.ts.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.props.d.ts +5 -0
- package/components/dialogs/dialogactions/dialogactions.props.d.ts.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.styles.d.ts +4 -0
- package/components/dialogs/dialogactions/dialogactions.styles.d.ts.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.d.ts +11 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.d.ts.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.d.ts +5 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.d.ts.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts +4 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts.map +1 -0
- package/components/input/basedataset/basedataset.component.d.ts +28 -0
- package/components/input/basedataset/basedataset.component.d.ts.map +1 -0
- package/components/input/basedataset/basedataset.props.d.ts +28 -0
- package/components/input/basedataset/basedataset.props.d.ts.map +1 -0
- package/components/input/basedataset/basedataset.styles.d.ts +4 -0
- package/components/input/basedataset/basedataset.styles.d.ts.map +1 -0
- package/components/input/baseinput/baseinput.component.d.ts +33 -0
- package/components/input/baseinput/baseinput.component.d.ts.map +1 -0
- package/components/input/baseinput/baseinput.props.d.ts +26 -0
- package/components/input/baseinput/baseinput.props.d.ts.map +1 -0
- package/components/input/baseinput/baseinput.styles.d.ts +4 -0
- package/components/input/baseinput/baseinput.styles.d.ts.map +1 -0
- package/components/input/basenumber/basenumber.component.d.ts +58 -0
- package/components/input/basenumber/basenumber.component.d.ts.map +1 -0
- package/components/input/basenumber/basenumber.props.d.ts +23 -0
- package/components/input/basenumber/basenumber.props.d.ts.map +1 -0
- package/components/input/basenumber/basenumber.styles.d.ts +4 -0
- package/components/input/basenumber/basenumber.styles.d.ts.map +1 -0
- package/components/input/calendar/calendar.component.d.ts +23 -0
- package/components/input/calendar/calendar.component.d.ts.map +1 -0
- package/components/input/calendar/calendar.props.d.ts +8 -0
- package/components/input/calendar/calendar.props.d.ts.map +1 -0
- package/components/input/calendar/calendar.styles.d.ts +30 -0
- package/components/input/calendar/calendar.styles.d.ts.map +1 -0
- package/components/input/calendar/views/month-view.d.ts +55 -0
- package/components/input/calendar/views/month-view.d.ts.map +1 -0
- package/components/input/calendar/views/month-view.styles.d.ts +34 -0
- package/components/input/calendar/views/month-view.styles.d.ts.map +1 -0
- package/components/input/checkbox/checkbox.component.d.ts +20 -0
- package/components/input/checkbox/checkbox.component.d.ts.map +1 -0
- package/components/input/checkbox/checkbox.props.d.ts +12 -0
- package/components/input/checkbox/checkbox.props.d.ts.map +1 -0
- package/components/input/checkbox/checkbox.styles.d.ts +12 -0
- package/components/input/checkbox/checkbox.styles.d.ts.map +1 -0
- package/components/input/checkboxset/checkboxset.component.d.ts +22 -0
- package/components/input/checkboxset/checkboxset.component.d.ts.map +1 -0
- package/components/input/checkboxset/checkboxset.props.d.ts +16 -0
- package/components/input/checkboxset/checkboxset.props.d.ts.map +1 -0
- package/components/input/checkboxset/checkboxset.styles.d.ts +14 -0
- package/components/input/checkboxset/checkboxset.styles.d.ts.map +1 -0
- package/components/input/chips/chips.component.d.ts +44 -0
- package/components/input/chips/chips.component.d.ts.map +1 -0
- package/components/input/chips/chips.component.js +2 -2
- package/components/input/chips/chips.component.js.map +1 -1
- package/components/input/chips/chips.props.d.ts +23 -0
- package/components/input/chips/chips.props.d.ts.map +1 -0
- package/components/input/chips/chips.styles.d.ts +35 -0
- package/components/input/chips/chips.styles.d.ts.map +1 -0
- package/components/input/chips/chips.styles.js +0 -1
- package/components/input/chips/chips.styles.js.map +1 -1
- package/components/input/composite/composite.component.d.ts +11 -0
- package/components/input/composite/composite.component.d.ts.map +1 -0
- package/components/input/composite/composite.props.d.ts +6 -0
- package/components/input/composite/composite.props.d.ts.map +1 -0
- package/components/input/composite/composite.styles.d.ts +4 -0
- package/components/input/composite/composite.styles.d.ts.map +1 -0
- package/components/input/currency/currency.component.d.ts +15 -0
- package/components/input/currency/currency.component.d.ts.map +1 -0
- package/components/input/currency/currency.component.js +1 -3
- package/components/input/currency/currency.component.js.map +1 -1
- package/components/input/currency/currency.props.d.ts +7 -0
- package/components/input/currency/currency.props.d.ts.map +1 -0
- package/components/input/currency/currency.styles.d.ts +18 -0
- package/components/input/currency/currency.styles.d.ts.map +1 -0
- package/components/input/epoch/base-datetime.component.d.ts +50 -0
- package/components/input/epoch/base-datetime.component.d.ts.map +1 -0
- package/components/input/epoch/base-datetime.component.js +89 -91
- package/components/input/epoch/base-datetime.component.js.map +1 -1
- package/components/input/epoch/date/date.component.d.ts +9 -0
- package/components/input/epoch/date/date.component.d.ts.map +1 -0
- package/components/input/epoch/date/date.props.d.ts +5 -0
- package/components/input/epoch/date/date.props.d.ts.map +1 -0
- package/components/input/epoch/date/date.styles.d.ts +4 -0
- package/components/input/epoch/date/date.styles.d.ts.map +1 -0
- package/components/input/epoch/date-picker.component.d.ts +28 -0
- package/components/input/epoch/date-picker.component.d.ts.map +1 -0
- package/components/input/epoch/datetime/datetime.component.d.ts +9 -0
- package/components/input/epoch/datetime/datetime.component.d.ts.map +1 -0
- package/components/input/epoch/datetime/datetime.props.d.ts +31 -0
- package/components/input/epoch/datetime/datetime.props.d.ts.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.d.ts +24 -0
- package/components/input/epoch/datetime/datetime.styles.d.ts.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.js +3 -2
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -1
- package/components/input/epoch/time/time.component.d.ts +11 -0
- package/components/input/epoch/time/time.component.d.ts.map +1 -0
- package/components/input/epoch/time/time.props.d.ts +6 -0
- package/components/input/epoch/time/time.props.d.ts.map +1 -0
- package/components/input/epoch/time/time.styles.d.ts +4 -0
- package/components/input/epoch/time/time.styles.d.ts.map +1 -0
- package/components/input/epoch/wheel-date-picker.component.d.ts +42 -0
- package/components/input/epoch/wheel-date-picker.component.d.ts.map +1 -0
- package/components/input/epoch/wheel-time-picker.component.d.ts +22 -0
- package/components/input/epoch/wheel-time-picker.component.d.ts.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts +18 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts +10 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts +12 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts +13 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts +14 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts +12 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts +13 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts +13 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts.map +1 -0
- package/components/input/fileupload/fileupload.component.d.ts +21 -0
- package/components/input/fileupload/fileupload.component.d.ts.map +1 -0
- package/components/input/fileupload/fileupload.props.d.ts +14 -0
- package/components/input/fileupload/fileupload.props.d.ts.map +1 -0
- package/components/input/fileupload/fileupload.styles.d.ts +7 -0
- package/components/input/fileupload/fileupload.styles.d.ts.map +1 -0
- package/components/input/number/number.component.d.ts +14 -0
- package/components/input/number/number.component.d.ts.map +1 -0
- package/components/input/number/number.component.js +1 -2
- package/components/input/number/number.component.js.map +1 -1
- package/components/input/number/number.props.d.ts +7 -0
- package/components/input/number/number.props.d.ts.map +1 -0
- package/components/input/number/number.styles.d.ts +14 -0
- package/components/input/number/number.styles.d.ts.map +1 -0
- package/components/input/radioset/radioset.component.d.ts +19 -0
- package/components/input/radioset/radioset.component.d.ts.map +1 -0
- package/components/input/radioset/radioset.props.d.ts +15 -0
- package/components/input/radioset/radioset.props.d.ts.map +1 -0
- package/components/input/radioset/radioset.styles.d.ts +16 -0
- package/components/input/radioset/radioset.styles.d.ts.map +1 -0
- package/components/input/rating/rating.component.d.ts +19 -0
- package/components/input/rating/rating.component.d.ts.map +1 -0
- package/components/input/rating/rating.props.d.ts +20 -0
- package/components/input/rating/rating.props.d.ts.map +1 -0
- package/components/input/rating/rating.styles.d.ts +8 -0
- package/components/input/rating/rating.styles.d.ts.map +1 -0
- package/components/input/select/select.component.d.ts +37 -0
- package/components/input/select/select.component.d.ts.map +1 -0
- package/components/input/select/select.component.js +35 -76
- package/components/input/select/select.component.js.map +1 -1
- package/components/input/select/select.props.d.ts +6 -0
- package/components/input/select/select.props.d.ts.map +1 -0
- package/components/input/select/select.styles.d.ts +25 -0
- package/components/input/select/select.styles.d.ts.map +1 -0
- package/components/input/slider/slider.component.d.ts +55 -0
- package/components/input/slider/slider.component.d.ts.map +1 -0
- package/components/input/slider/slider.props.d.ts +18 -0
- package/components/input/slider/slider.props.d.ts.map +1 -0
- package/components/input/slider/slider.styles.d.ts +24 -0
- package/components/input/slider/slider.styles.d.ts.map +1 -0
- package/components/input/switch/switch.component.d.ts +15 -0
- package/components/input/switch/switch.component.d.ts.map +1 -0
- package/components/input/switch/switch.props.d.ts +7 -0
- package/components/input/switch/switch.props.d.ts.map +1 -0
- package/components/input/switch/switch.styles.d.ts +17 -0
- package/components/input/switch/switch.styles.d.ts.map +1 -0
- package/components/input/text/text.component.d.ts +13 -0
- package/components/input/text/text.component.d.ts.map +1 -0
- package/components/input/text/text.component.js +1 -2
- package/components/input/text/text.component.js.map +1 -1
- package/components/input/text/text.props.d.ts +11 -0
- package/components/input/text/text.props.d.ts.map +1 -0
- package/components/input/text/text.styles.d.ts +13 -0
- package/components/input/text/text.styles.d.ts.map +1 -0
- package/components/input/textarea/textarea.component.d.ts +13 -0
- package/components/input/textarea/textarea.component.d.ts.map +1 -0
- package/components/input/textarea/textarea.component.js +1 -2
- package/components/input/textarea/textarea.component.js.map +1 -1
- package/components/input/textarea/textarea.props.d.ts +9 -0
- package/components/input/textarea/textarea.props.d.ts.map +1 -0
- package/components/input/textarea/textarea.styles.d.ts +14 -0
- package/components/input/textarea/textarea.styles.d.ts.map +1 -0
- package/components/input/toggle/toggle.component.d.ts +25 -0
- package/components/input/toggle/toggle.component.d.ts.map +1 -0
- package/components/input/toggle/toggle.component.js +4 -12
- package/components/input/toggle/toggle.component.js.map +1 -1
- package/components/input/toggle/toggle.props.d.ts +20 -0
- package/components/input/toggle/toggle.props.d.ts.map +1 -0
- package/components/input/toggle/toggle.props.js +0 -5
- package/components/input/toggle/toggle.props.js.map +1 -1
- package/components/input/toggle/toggle.styles.d.ts +12 -0
- package/components/input/toggle/toggle.styles.d.ts.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.d.ts +18 -0
- package/components/navigation/appnavbar/appnavbar.component.d.ts.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.d.ts +16 -0
- package/components/navigation/appnavbar/appnavbar.props.d.ts.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.d.ts +17 -0
- package/components/navigation/appnavbar/appnavbar.styles.d.ts.map +1 -0
- package/components/navigation/basenav/basenav.component.d.ts +24 -0
- package/components/navigation/basenav/basenav.component.d.ts.map +1 -0
- package/components/navigation/basenav/basenav.props.d.ts +12 -0
- package/components/navigation/basenav/basenav.props.d.ts.map +1 -0
- package/components/navigation/basenav/basenav.styles.d.ts +4 -0
- package/components/navigation/basenav/basenav.styles.d.ts.map +1 -0
- package/components/navigation/menu/menu.component.d.ts +14 -0
- package/components/navigation/menu/menu.component.d.ts.map +1 -0
- package/components/navigation/menu/menu.props.d.ts +8 -0
- package/components/navigation/menu/menu.props.d.ts.map +1 -0
- package/components/navigation/menu/menu.styles.d.ts +9 -0
- package/components/navigation/menu/menu.styles.d.ts.map +1 -0
- package/components/navigation/navbar/navbar.component.d.ts +18 -0
- package/components/navigation/navbar/navbar.component.d.ts.map +1 -0
- package/components/navigation/navbar/navbar.props.d.ts +12 -0
- package/components/navigation/navbar/navbar.props.d.ts.map +1 -0
- package/components/navigation/navbar/navbar.styles.d.ts +10 -0
- package/components/navigation/navbar/navbar.styles.d.ts.map +1 -0
- package/components/navigation/navitem/navitem.component.d.ts +15 -0
- package/components/navigation/navitem/navitem.component.d.ts.map +1 -0
- package/components/navigation/navitem/navitem.props.d.ts +16 -0
- package/components/navigation/navitem/navitem.props.d.ts.map +1 -0
- package/components/navigation/navitem/navitem.styles.d.ts +11 -0
- package/components/navigation/navitem/navitem.styles.d.ts.map +1 -0
- package/components/navigation/popover/popover.component.d.ts +36 -0
- package/components/navigation/popover/popover.component.d.ts.map +1 -0
- package/components/navigation/popover/popover.component.js +1 -5
- package/components/navigation/popover/popover.component.js.map +1 -1
- package/components/navigation/popover/popover.props.d.ts +28 -0
- package/components/navigation/popover/popover.props.d.ts.map +1 -0
- package/components/navigation/popover/popover.styles.d.ts +16 -0
- package/components/navigation/popover/popover.styles.d.ts.map +1 -0
- package/components/page/content/content.component.d.ts +11 -0
- package/components/page/content/content.component.d.ts.map +1 -0
- package/components/page/content/content.props.d.ts +5 -0
- package/components/page/content/content.props.d.ts.map +1 -0
- package/components/page/content/content.styles.d.ts +4 -0
- package/components/page/content/content.styles.d.ts.map +1 -0
- package/components/page/left-panel/left-panel.component.d.ts +15 -0
- package/components/page/left-panel/left-panel.component.d.ts.map +1 -0
- package/components/page/left-panel/left-panel.props.d.ts +6 -0
- package/components/page/left-panel/left-panel.props.d.ts.map +1 -0
- package/components/page/left-panel/left-panel.styles.d.ts +4 -0
- package/components/page/left-panel/left-panel.styles.d.ts.map +1 -0
- package/components/page/page-content/page-content.component.d.ts +26 -0
- package/components/page/page-content/page-content.component.d.ts.map +1 -0
- package/components/page/page-content/page-content.props.d.ts +12 -0
- package/components/page/page-content/page-content.props.d.ts.map +1 -0
- package/components/page/page-content/page-content.styles.d.ts +7 -0
- package/components/page/page-content/page-content.styles.d.ts.map +1 -0
- package/components/page/page.component.d.ts +16 -0
- package/components/page/page.component.d.ts.map +1 -0
- package/components/page/page.props.d.ts +9 -0
- package/components/page/page.props.d.ts.map +1 -0
- package/components/page/page.styles.d.ts +7 -0
- package/components/page/page.styles.d.ts.map +1 -0
- package/components/page/partial/partial.component.d.ts +12 -0
- package/components/page/partial/partial.component.d.ts.map +1 -0
- package/components/page/partial/partial.props.d.ts +5 -0
- package/components/page/partial/partial.props.d.ts.map +1 -0
- package/components/page/partial/partial.styles.d.ts +7 -0
- package/components/page/partial/partial.styles.d.ts.map +1 -0
- package/components/page/partial-container/partial-container.component.d.ts +11 -0
- package/components/page/partial-container/partial-container.component.d.ts.map +1 -0
- package/components/page/partial-container/partial-container.props.d.ts +7 -0
- package/components/page/partial-container/partial-container.props.d.ts.map +1 -0
- package/components/page/partial-container/partial-container.styles.d.ts +4 -0
- package/components/page/partial-container/partial-container.styles.d.ts.map +1 -0
- package/components/page/tabbar/curve.d.ts +2 -0
- package/components/page/tabbar/curve.d.ts.map +1 -0
- package/components/page/tabbar/tabbar.component.d.ts +42 -0
- package/components/page/tabbar/tabbar.component.d.ts.map +1 -0
- package/components/page/tabbar/tabbar.props.d.ts +12 -0
- package/components/page/tabbar/tabbar.props.d.ts.map +1 -0
- package/components/page/tabbar/tabbar.styles.d.ts +20 -0
- package/components/page/tabbar/tabbar.styles.d.ts.map +1 -0
- package/components/prefab/prefab-container.component.d.ts +12 -0
- package/components/prefab/prefab-container.component.d.ts.map +1 -0
- package/components/prefab/prefab-container.props.d.ts +5 -0
- package/components/prefab/prefab-container.props.d.ts.map +1 -0
- package/components/prefab/prefab-container.styles.d.ts +7 -0
- package/components/prefab/prefab-container.styles.d.ts.map +1 -0
- package/core/AppConfig.d.ts +46 -0
- package/core/AppConfig.d.ts.map +1 -0
- package/core/accessibility.d.ts +61 -0
- package/core/accessibility.d.ts.map +1 -0
- package/core/asset.provider.d.ts +4 -0
- package/core/asset.provider.d.ts.map +1 -0
- package/core/base.component.d.ts +191 -0
- package/core/base.component.d.ts.map +1 -0
- package/core/base.component.js +7 -10
- package/core/base.component.js.map +1 -1
- package/core/components/error-fallback/error-fallback.component.d.ts +4 -0
- package/core/components/error-fallback/error-fallback.component.d.ts.map +1 -0
- package/core/components/error-fallback/error-fallback.component.js +18 -50
- package/core/components/error-fallback/error-fallback.component.js.map +1 -1
- package/core/components/error-fallback/error-fallback.styles.d.ts +29 -0
- package/core/components/error-fallback/error-fallback.styles.d.ts.map +1 -0
- package/core/components/error-fallback/error-fallback.styles.js +1 -4
- package/core/components/error-fallback/error-fallback.styles.js.map +1 -1
- package/core/components/floatinglabel.component.d.ts +8 -0
- package/core/components/floatinglabel.component.d.ts.map +1 -0
- package/core/components/sticky-base.component.d.ts +31 -0
- package/core/components/sticky-base.component.d.ts.map +1 -0
- package/core/components/sticky-container.component.d.ts +14 -0
- package/core/components/sticky-container.component.d.ts.map +1 -0
- package/core/components/sticky-container.styles.d.ts +11 -0
- package/core/components/sticky-container.styles.d.ts.map +1 -0
- package/core/components/sticky-nav.component.d.ts +14 -0
- package/core/components/sticky-nav.component.d.ts.map +1 -0
- package/core/components/textinput.component.d.ts +17 -0
- package/core/components/textinput.component.d.ts.map +1 -0
- package/core/constant.service.d.ts +18 -0
- package/core/constant.service.d.ts.map +1 -0
- package/core/constants/currency-constants.d.ts +1073 -0
- package/core/constants/currency-constants.d.ts.map +1 -0
- package/core/currency-constants.d.ts +2 -0
- package/core/currency-constants.d.ts.map +1 -0
- package/core/device/av-service.d.ts +13 -0
- package/core/device/av-service.d.ts.map +1 -0
- package/core/device/calendar-service.d.ts +25 -0
- package/core/device/calendar-service.d.ts.map +1 -0
- package/core/device/camera-service.d.ts +27 -0
- package/core/device/camera-service.d.ts.map +1 -0
- package/core/device/contacts-service.d.ts +17 -0
- package/core/device/contacts-service.d.ts.map +1 -0
- package/core/device/fileupload-service.d.ts +7 -0
- package/core/device/fileupload-service.d.ts.map +1 -0
- package/core/device/location-service.d.ts +17 -0
- package/core/device/location-service.d.ts.map +1 -0
- package/core/device/openfile-service.d.ts +52 -0
- package/core/device/openfile-service.d.ts.map +1 -0
- package/core/device/scan-service.d.ts +13 -0
- package/core/device/scan-service.d.ts.map +1 -0
- package/core/display.manager.d.ts +12 -0
- package/core/display.manager.d.ts.map +1 -0
- package/core/error-boundary.component.d.ts +21 -0
- package/core/error-boundary.component.d.ts.map +1 -0
- package/core/error-boundary.component.js +1 -17
- package/core/error-boundary.component.js.map +1 -1
- package/core/event-notifier.d.ts +14 -0
- package/core/event-notifier.d.ts.map +1 -0
- package/core/file-extension-types.d.ts +2 -0
- package/core/file-extension-types.d.ts.map +1 -0
- package/core/fixed-view.component.d.ts +33 -0
- package/core/fixed-view.component.d.ts.map +1 -0
- package/core/fixed-view.component.js +2 -19
- package/core/fixed-view.component.js.map +1 -1
- package/core/formatters.d.ts +28 -0
- package/core/formatters.d.ts.map +1 -0
- package/core/i18n.service.d.ts +6 -0
- package/core/i18n.service.d.ts.map +1 -0
- package/core/if.component.d.ts +12 -0
- package/core/if.component.d.ts.map +1 -0
- package/core/imageSizeEstimator.d.ts +14 -0
- package/core/imageSizeEstimator.d.ts.map +1 -0
- package/core/injector.d.ts +18 -0
- package/core/injector.d.ts.map +1 -0
- package/core/key.extractor.d.ts +7 -0
- package/core/key.extractor.d.ts.map +1 -0
- package/core/logger.d.ts +26 -0
- package/core/logger.d.ts.map +1 -0
- package/core/modal.service.d.ts +22 -0
- package/core/modal.service.d.ts.map +1 -0
- package/core/navigation.service.d.ts +32 -0
- package/core/navigation.service.d.ts.map +1 -0
- package/core/network.service.d.ts +114 -0
- package/core/network.service.d.ts.map +1 -0
- package/core/partial.service.d.ts +10 -0
- package/core/partial.service.d.ts.map +1 -0
- package/core/props.provider.d.ts +19 -0
- package/core/props.provider.d.ts.map +1 -0
- package/core/responsive.utils.d.ts +24 -0
- package/core/responsive.utils.d.ts.map +1 -0
- package/core/screen-capture-protection.service.d.ts +8 -0
- package/core/screen-capture-protection.service.d.ts.map +1 -0
- package/core/scroll-view.component.d.ts +19 -0
- package/core/scroll-view.component.d.ts.map +1 -0
- package/core/secure-storage.service.d.ts +10 -0
- package/core/secure-storage.service.d.ts.map +1 -0
- package/core/security.service.d.ts +13 -0
- package/core/security.service.d.ts.map +1 -0
- package/core/spinner.service.d.ts +13 -0
- package/core/spinner.service.d.ts.map +1 -0
- package/core/sticky-view.component.d.ts +21 -0
- package/core/sticky-view.component.d.ts.map +1 -0
- package/core/sticky-wrapper.d.ts +31 -0
- package/core/sticky-wrapper.d.ts.map +1 -0
- package/core/storage.service.d.ts +11 -0
- package/core/storage.service.d.ts.map +1 -0
- package/core/tappable.component.d.ts +40 -0
- package/core/tappable.component.d.ts.map +1 -0
- package/core/tappable.component.js +4 -7
- package/core/tappable.component.js.map +1 -1
- package/core/testid.provider.d.ts +4 -0
- package/core/testid.provider.d.ts.map +1 -0
- package/core/toast.service.d.ts +24 -0
- package/core/toast.service.d.ts.map +1 -0
- package/core/toast.service.js.map +1 -1
- package/core/ui-preferences.context.d.ts +11 -0
- package/core/ui-preferences.context.d.ts.map +1 -0
- package/core/utils.d.ts +167 -0
- package/core/utils.d.ts.map +1 -0
- package/core/viewport.d.ts +19 -0
- package/core/viewport.d.ts.map +1 -0
- package/core/wm-component-tree.d.ts +22 -0
- package/core/wm-component-tree.d.ts.map +1 -0
- package/gestures/carousel-swipe.animation.d.ts +56 -0
- package/gestures/carousel-swipe.animation.d.ts.map +1 -0
- package/gestures/swipe.animation.d.ts +51 -0
- package/gestures/swipe.animation.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -0
- package/package.json +2 -2
- package/runtime/App.d.ts +129 -0
- package/runtime/App.d.ts.map +1 -0
- package/runtime/App.js +13 -124
- package/runtime/App.js.map +1 -1
- package/runtime/App.navigator.d.ts +11 -0
- package/runtime/App.navigator.d.ts.map +1 -0
- package/runtime/base-customwidget.component.d.ts +24 -0
- package/runtime/base-customwidget.component.d.ts.map +1 -0
- package/runtime/base-fragment.component.d.ts +91 -0
- package/runtime/base-fragment.component.d.ts.map +1 -0
- package/runtime/base-page.component.d.ts +42 -0
- package/runtime/base-page.component.d.ts.map +1 -0
- package/runtime/base-page.component.js +2 -11
- package/runtime/base-page.component.js.map +1 -1
- package/runtime/base-partial.component.d.ts +29 -0
- package/runtime/base-partial.component.d.ts.map +1 -0
- package/runtime/base-prefab.component.d.ts +29 -0
- package/runtime/base-prefab.component.d.ts.map +1 -0
- package/runtime/lib-patch.d.ts +8 -0
- package/runtime/lib-patch.d.ts.map +1 -0
- package/runtime/memo.component.d.ts +20 -0
- package/runtime/memo.component.d.ts.map +1 -0
- package/runtime/navigator/drawer.navigator.d.ts +14 -0
- package/runtime/navigator/drawer.navigator.d.ts.map +1 -0
- package/runtime/navigator/drawer.navigator.js +0 -1
- package/runtime/navigator/drawer.navigator.js.map +1 -1
- package/runtime/navigator/stack.navigator.d.ts +8 -0
- package/runtime/navigator/stack.navigator.d.ts.map +1 -0
- package/runtime/platform.api.d.ts +13 -0
- package/runtime/platform.api.d.ts.map +1 -0
- package/runtime/services/app-display-manager.service.d.ts +16 -0
- package/runtime/services/app-display-manager.service.d.ts.map +1 -0
- package/runtime/services/app-i18n.service.d.ts +33 -0
- package/runtime/services/app-i18n.service.d.ts.map +1 -0
- package/runtime/services/app-modal.service.d.ts +19 -0
- package/runtime/services/app-modal.service.d.ts.map +1 -0
- package/runtime/services/app-security.service.d.ts +30 -0
- package/runtime/services/app-security.service.d.ts.map +1 -0
- package/runtime/services/app-spinner.service.d.ts +20 -0
- package/runtime/services/app-spinner.service.d.ts.map +1 -0
- package/runtime/services/app-toast.service.d.ts +13 -0
- package/runtime/services/app-toast.service.d.ts.map +1 -0
- package/runtime/services/device/calendar-service.d.ts +11 -0
- package/runtime/services/device/calendar-service.d.ts.map +1 -0
- package/runtime/services/device/camera-service.d.ts +63 -0
- package/runtime/services/device/camera-service.d.ts.map +1 -0
- package/runtime/services/device/camera-service.js +20 -31
- package/runtime/services/device/camera-service.js.map +1 -1
- package/runtime/services/device/contacts-service.d.ts +7 -0
- package/runtime/services/device/contacts-service.d.ts.map +1 -0
- package/runtime/services/device/location-service.d.ts +6 -0
- package/runtime/services/device/location-service.d.ts.map +1 -0
- package/runtime/services/device/permission-service.d.ts +7 -0
- package/runtime/services/device/permission-service.d.ts.map +1 -0
- package/runtime/services/device/permissions.d.ts +5 -0
- package/runtime/services/device/permissions.d.ts.map +1 -0
- package/runtime/services/device/scan-service.d.ts +19 -0
- package/runtime/services/device/scan-service.d.ts.map +1 -0
- package/runtime/services/partial.service.d.ts +12 -0
- package/runtime/services/partial.service.d.ts.map +1 -0
- package/runtime/services/webprocess.service.d.ts +10 -0
- package/runtime/services/webprocess.service.d.ts.map +1 -0
- package/runtime/watcher.d.ts +33 -0
- package/runtime/watcher.d.ts.map +1 -0
- package/styles/MediaQueryList.d.ts +6 -0
- package/styles/MediaQueryList.d.ts.map +1 -0
- package/styles/background.component.d.ts +57 -0
- package/styles/background.component.d.ts.map +1 -0
- package/styles/background.component.js +2 -2
- package/styles/background.component.js.map +1 -1
- package/styles/calc.d.ts +24 -0
- package/styles/calc.d.ts.map +1 -0
- package/styles/color-mix.d.ts +5 -0
- package/styles/color-mix.d.ts.map +1 -0
- package/styles/style-prop.validator.d.ts +4 -0
- package/styles/style-prop.validator.d.ts.map +1 -0
- package/styles/style-props.d.ts +49 -0
- package/styles/style-props.d.ts.map +1 -0
- package/styles/theme.d.ts +66 -0
- package/styles/theme.d.ts.map +1 -0
- package/styles/theme.js +11 -27
- package/styles/theme.js.map +1 -1
- package/styles/theme.variables.d.ts +379 -0
- package/styles/theme.variables.d.ts.map +1 -0
- package/styles/theme.variables.js +0 -2
- package/styles/theme.variables.js.map +1 -1
- package/variables/base-variable.d.ts +50 -0
- package/variables/base-variable.d.ts.map +1 -0
- package/variables/device/calendar/create-event.operation.d.ts +18 -0
- package/variables/device/calendar/create-event.operation.d.ts.map +1 -0
- package/variables/device/calendar/delete-event.operation.d.ts +14 -0
- package/variables/device/calendar/delete-event.operation.d.ts.map +1 -0
- package/variables/device/calendar/get-events.operation.d.ts +18 -0
- package/variables/device/calendar/get-events.operation.d.ts.map +1 -0
- package/variables/device/camera/capture-image.operation.d.ts +14 -0
- package/variables/device/camera/capture-image.operation.d.ts.map +1 -0
- package/variables/device/camera/capture-video.operation.d.ts +14 -0
- package/variables/device/camera/capture-video.operation.d.ts.map +1 -0
- package/variables/device/contacts/get-contacts.operation.d.ts +19 -0
- package/variables/device/contacts/get-contacts.operation.d.ts.map +1 -0
- package/variables/device/device/app-info.operation.d.ts +13 -0
- package/variables/device/device/app-info.operation.d.ts.map +1 -0
- package/variables/device/device/current-geo-position.operation.d.ts +31 -0
- package/variables/device/device/current-geo-position.operation.d.ts.map +1 -0
- package/variables/device/device/device-info.operation.d.ts +11 -0
- package/variables/device/device/device-info.operation.d.ts.map +1 -0
- package/variables/device/device/network-info.operation.d.ts +14 -0
- package/variables/device/device/network-info.operation.d.ts.map +1 -0
- package/variables/device/device/vibrate.operation.d.ts +8 -0
- package/variables/device/device/vibrate.operation.d.ts.map +1 -0
- package/variables/device/file/open-file.operation.d.ts +31 -0
- package/variables/device/file/open-file.operation.d.ts.map +1 -0
- package/variables/device/file/upload-file.operation.d.ts +23 -0
- package/variables/device/file/upload-file.operation.d.ts.map +1 -0
- package/variables/device/operation.provider.d.ts +15 -0
- package/variables/device/operation.provider.d.ts.map +1 -0
- package/variables/device/scan/scan.operation.d.ts +21 -0
- package/variables/device/scan/scan.operation.d.ts.map +1 -0
- package/variables/device-variable.d.ts +10 -0
- package/variables/device-variable.d.ts.map +1 -0
- package/variables/http.service.d.ts +11 -0
- package/variables/http.service.d.ts.map +1 -0
- package/variables/live-variable.d.ts +44 -0
- package/variables/live-variable.d.ts.map +1 -0
- package/variables/model-variable.d.ts +10 -0
- package/variables/model-variable.d.ts.map +1 -0
- package/variables/service-variable.d.ts +33 -0
- package/variables/service-variable.d.ts.map +1 -0
- package/variables/utils/dataset-util.d.ts +32 -0
- package/variables/utils/dataset-util.d.ts.map +1 -0
- package/variables/utils/inflight-queue.d.ts +36 -0
- package/variables/utils/inflight-queue.d.ts.map +1 -0
- package/variables/utils/variable.constants.d.ts +22 -0
- package/variables/utils/variable.constants.d.ts.map +1 -0
- package/variables/utils/variable.utils.d.ts +21 -0
- package/variables/utils/variable.utils.d.ts.map +1 -0
- package/core/advanced-promise-rejection-tracker.js +0 -208
- package/core/advanced-promise-rejection-tracker.js.map +0 -1
- package/core/global-error-handler.service.js +0 -103
- package/core/global-error-handler.service.js.map +0 -1
- package/npm-shrinkwrap.json +0 -26091
- package/package-lock.json +0 -26091
|
@@ -5,7 +5,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { Image, View } from 'react-native';
|
|
7
7
|
import { Image as EXPOImage } from 'expo-image';
|
|
8
|
-
import { isNumber } from 'lodash-es';
|
|
8
|
+
import { isNumber, isString } from 'lodash-es';
|
|
9
9
|
import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
|
10
10
|
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
11
11
|
import ImageSizeEstimator from '@wavemaker/app-rn-runtime/core/imageSizeEstimator';
|
|
@@ -67,7 +67,7 @@ export default class WmPicture extends BaseComponent {
|
|
|
67
67
|
if (!image || !this.loadAsset) {
|
|
68
68
|
return null;
|
|
69
69
|
}
|
|
70
|
-
const imageSrc = this.loadAsset(image);
|
|
70
|
+
const imageSrc = isString(image) ? this.loadAsset(image) : image;
|
|
71
71
|
if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {
|
|
72
72
|
return null;
|
|
73
73
|
}
|
|
@@ -134,27 +134,13 @@ export default class WmPicture extends BaseComponent {
|
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
case 'rounded':
|
|
137
|
-
return this.theme.
|
|
137
|
+
return this.theme.getStyle('rounded-image');
|
|
138
138
|
case 'thumbnail':
|
|
139
|
-
return this.theme.
|
|
139
|
+
return this.theme.getStyle('thumbnail-image');
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
return {};
|
|
143
143
|
}
|
|
144
|
-
getContentFit(resizemode) {
|
|
145
|
-
if (!resizemode) return 'cover';
|
|
146
|
-
const mapping = {
|
|
147
|
-
'contain': 'contain',
|
|
148
|
-
'cover': 'cover',
|
|
149
|
-
'fill': 'fill',
|
|
150
|
-
'none': 'none',
|
|
151
|
-
'scale-down': 'scale-down',
|
|
152
|
-
'stretch': 'fill',
|
|
153
|
-
'center': 'none',
|
|
154
|
-
'repeat': 'none'
|
|
155
|
-
};
|
|
156
|
-
return mapping[resizemode === null || resizemode === void 0 ? void 0 : resizemode.toLowerCase()] || 'cover';
|
|
157
|
-
}
|
|
158
144
|
getElementToShow(props, imgSrc, shapeStyles) {
|
|
159
145
|
let elementToshow, source;
|
|
160
146
|
if (imgSrc && typeof imgSrc === 'object' && typeof (imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.default) === 'function') {
|
|
@@ -175,34 +161,21 @@ export default class WmPicture extends BaseComponent {
|
|
|
175
161
|
source = imgSrc;
|
|
176
162
|
}
|
|
177
163
|
if (this.state.naturalImageWidth || this.state.props.aspectratio) {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
source: source
|
|
194
|
-
}));
|
|
195
|
-
} else {
|
|
196
|
-
elementToshow = /*#__PURE__*/React.createElement(Image, _extends({}, this.getTestProps('picture'), {
|
|
197
|
-
style: [this.styles.picture, shapeStyles.picture, props.fastload || this.state.imageWidth ? {
|
|
198
|
-
opacity: 1
|
|
199
|
-
} : {
|
|
200
|
-
opacity: 0
|
|
201
|
-
}],
|
|
202
|
-
resizeMode: props.resizemode,
|
|
203
|
-
source: source
|
|
204
|
-
}));
|
|
205
|
-
}
|
|
164
|
+
elementToshow =
|
|
165
|
+
/*#__PURE__*/
|
|
166
|
+
// * INFO: if any issue arises like freezing of application because of
|
|
167
|
+
// * rendering large number of images, check the cache policy.
|
|
168
|
+
React.createElement(EXPOImage, _extends({
|
|
169
|
+
cachePolicy: "memory"
|
|
170
|
+
}, this.getTestProps('picture'), {
|
|
171
|
+
style: [this.styles.picture, shapeStyles.picture, props.fastload || this.state.imageWidth ? {
|
|
172
|
+
opacity: 1
|
|
173
|
+
} : {
|
|
174
|
+
opacity: 0
|
|
175
|
+
}],
|
|
176
|
+
contentFit: props.resizemode,
|
|
177
|
+
source: source
|
|
178
|
+
}));
|
|
206
179
|
}
|
|
207
180
|
return elementToshow;
|
|
208
181
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","View","EXPOImage","isNumber","Tappable","BaseComponent","BaseComponentState","ImageSizeEstimator","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmPictureProps","DEFAULT_CLASS","Animatedview","createSkeleton","WmPictureState","constructor","args","_defineProperty","WmPicture","props","e","_this$styles","_this$styles2","_this$styles3","imageWidth","nativeEvent","layout","width","imageHeight","height","styles","root","includes","state","aspectratio","parseFloat","naturalImageHeight","naturalImageWidth","updateState","originalContainerWidth","originalContainerHeight","imageElement","loadImage","image","loadAsset","imageSrc","default","resolveAssetSource","cancel","getSize","cleanup","splice","indexOf","picturesource","_cleanupTracker","push","componentDidUpdate","prevProps","prevState","snapshot","forEach","func","onPropertyChange","name","$new","$old","_pictureSource","_picturePlaceHolder","createShape","shape","picture","borderRadius","theme","mergeStyle","getStyle","getContentFit","resizemode","mapping","toLowerCase","getElementToShow","imgSrc","shapeStyles","elementToshow","source","imgStyle","createElement","uri","_props$resizemode","_props$resizemode2","_extends","cachePolicy","getTestProps","style","fastload","opacity","contentFit","resizeMode","renderSkeleton","_this$styles$root","_shapeStyles$root","_shapeStyles$picture","_this$styles$root2","_shapeStyles$root2","_shapeStyles$picture2","_this$styles$root3","_shapeStyles$picture3","_shapeStyles$root3","_this$styles$root4","skeletonWidth","skeletonwidth","skeletonHeight","skeletonheight","skeleton","calculateBasedOnaspectratio","calculateBasedOnNaturalDimensions","widthAndHeightExistsInProps","renderWidget","_shapeStyles$picture4","aspectDimensions","naturalDimensions","dimensions","pictureplaceholder","isSvg","onLayout","event","handleLayout","_background","overflow","onViewLayoutChange","disableTouchEffect","disabletoucheffect","getTestPropsForAction","rippleColor","target","entryanimation","animation","delay","animationdelay","accessibilityProps","PICTURE","showImage"],"sources":["picture.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Image, LayoutChangeEvent, View } from 'react-native';\nimport {Image as EXPOImage} from 'expo-image';\nimport { isNumber } from 'lodash-es';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport ImageSizeEstimator from '@wavemaker/app-rn-runtime/core/imageSizeEstimator';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmPictureProps from './picture.props';\nimport { DEFAULT_CLASS, WmPictureStyles } from './picture.styles';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmPictureState extends BaseComponentState<WmPictureProps> {\n naturalImageWidth: number = 0;\n naturalImageHeight: number = 0;\n imageWidth: number = 0;\n imageHeight: number = 0;\n originalContainerWidth: number = 0;\n originalContainerHeight: number = 0;\n}\n\nexport default class WmPicture extends BaseComponent<WmPictureProps, WmPictureState, WmPictureStyles> {\n\n private _pictureSource = null as any;\n private _picturePlaceHolder = null as any;\n\n // The below property will be used to track and remove the calculateImageSize listenrs of individual picturesource\n private _cleanupTracker = {} as any\n\n constructor(props: WmPictureProps) {\n super(props, DEFAULT_CLASS, new WmPictureProps());\n }\n\n loadImage(image: string | undefined) {\n if (!image || !this.loadAsset) {\n return null;\n }\n const imageSrc = this.loadAsset(image) as any;\n if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {\n return null;\n }\n // if(this.state.props.aspectratio) {\n // return imageSrc;\n // }\n if (isNumber(imageSrc)) {\n const {width, height} = Image.resolveAssetSource(imageSrc);\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n } else if (imageSrc !== null) {\n const cancel = ImageSizeEstimator.getSize(imageSrc, (width: number, height: number) => {\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n this.cleanup.splice(this.cleanup.indexOf(cancel), 1);\n });\n if(this.props.picturesource && this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource].push(cancel)\n } else if(this.props.picturesource && !this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource] = [];\n this._cleanupTracker[this.props.picturesource].push(cancel)\n }\n this.cleanup.push(cancel);\n }\n return imageSrc;\n }\n\n // Check if the image source prop is changed from previous update to remove all listeners\n componentDidUpdate(prevProps: Readonly<WmPictureProps>, prevState: Readonly<WmPictureState>, snapshot?: any): void {\n if(this.state.props.picturesource !== prevProps.picturesource) {\n if(prevProps.picturesource && this._cleanupTracker[prevProps.picturesource]) {\n this._cleanupTracker[prevProps.picturesource].forEach((func: any) => {\n func();\n }); \n this._cleanupTracker[prevProps.picturesource] = []\n delete this._cleanupTracker[prevProps.picturesource] \n }\n }\n super.componentDidUpdate(prevProps, prevState)\n }\n\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'picturesource':\n this._pictureSource = null;\n case 'pictureplaceholder':\n this._picturePlaceHolder = null;\n break;\n }\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let imageWidth = e.nativeEvent.layout.width;\n let imageHeight = e.nativeEvent.layout.height;\n if (!imageWidth && !imageHeight) {\n return;\n }\n if (!this.styles?.root.height\n || (typeof this.styles?.root.height === 'string'\n && !this.styles?.root.height.includes('%'))) {\n imageHeight = 0;\n }\n if(this.state.props.aspectratio && !imageHeight && imageWidth) {\n imageHeight = imageWidth / parseFloat(this.state.props.aspectratio as string)\n } else if (this.state.props.aspectratio && !imageWidth && imageHeight) {\n imageWidth = imageWidth * parseFloat(this.state.props.aspectratio as string)\n } else if (imageWidth && !imageHeight) {\n imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;\n } else if (imageHeight && !imageWidth) {\n imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;\n }\n this.updateState({\n imageWidth: imageWidth,\n imageHeight: imageHeight,\n originalContainerWidth: this.styles.root.width ? e.nativeEvent.layout.width : 0,\n originalContainerHeight: this.styles.root.height ? e.nativeEvent.layout.height: 0\n } as WmPictureState);\n };\n\n createShape(shape: string | undefined, imageWidth?: number | string): WmPictureStyles {\n if (shape) {\n switch(shape) {\n case 'circle':\n return {\n picture: {\n borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4\n }\n } as WmPictureStyles;\n case 'rounded' :\n return (this.theme.mergeStyle({}, this.theme.getStyle('rounded-image')));\n case 'thumbnail' :\n return (this.theme.mergeStyle({}, this.theme.getStyle('thumbnail-image')));\n }\n }\n return {} as WmPictureStyles;\n }\n\n private getContentFit(resizemode: string): 'contain' | 'cover' | 'fill' | 'scale-down' | 'none' {\n if (!resizemode) return 'cover';\n const mapping: Record<string, 'contain' | 'cover' | 'fill' | 'scale-down' | 'none'> = {\n 'contain': 'contain',\n 'cover': 'cover',\n 'fill': 'fill',\n 'none': 'none',\n 'scale-down': 'scale-down',\n 'stretch': 'fill',\n 'center': 'none',\n 'repeat': 'none',\n };\n return mapping[resizemode?.toLowerCase()] || 'cover';\n }\n\n getElementToShow(props: WmPictureProps, imgSrc: any, shapeStyles: WmPictureStyles) {\n let elementToshow, source;\n if (imgSrc && typeof imgSrc === 'object' && typeof imgSrc?.default === 'function') {\n let imgStyle : any = {};\n if (props.resizemode === 'contain') {\n imgStyle['width'] = '100%';\n imgStyle['height'] = '100%';\n }\n elementToshow = React.createElement(imgSrc?.default, imgStyle);\n //} else if (!isWebPreviewMode() && props.isSvg) {\n // svg from uri\n // elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;\n } else if (isFullPathUrl(imgSrc)) {\n source = {\n uri: imgSrc\n };\n } else {\n source = imgSrc;\n }\n if (this.state.naturalImageWidth || this.state.props.aspectratio) {\n\n if (props.resizemode?.toLowerCase() !== 'repeat' && props.resizemode?.toLowerCase() !== 'center') {\n elementToshow = (\n // * INFO: if any issue arises like freezing of application because of \n // * rendering large number of images, check the cache policy.\n <EXPOImage\n cachePolicy='memory' \n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n contentFit={this.getContentFit(props.resizemode)}\n source={source}\n />\n );\n }\n else {\n elementToshow = (\n <Image\n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n resizeMode={props.resizemode}\n source={source}\n />\n ); \n }\n }\n return elementToshow;\n }\n\n public renderSkeleton(props: WmPictureProps){\n const imageWidth = this.state.imageWidth;\n const imageHeight = this.state.imageHeight;\n const shapeStyles = this.createShape(this.props.shape, imageWidth);\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width || shapeStyles.root?.width || shapeStyles.picture?.width || imageWidth;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || shapeStyles.root?.height || shapeStyles.picture?.height || imageHeight;\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n borderRadius: this.props.shape == 'circle' && this.styles.root?.width ? 25 : shapeStyles.picture?.borderRadius || shapeStyles.root?.borderRadius || this.styles.root?.borderRadius || 4,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n });\n }\n\n showImage = (imageElement: any, props: WmPictureProps) => {\n return imageElement;\n }\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnaspectratio(): {imageWidth: number, imageHeight: number} | null {\n if(this.state.props.aspectratio) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth / parseFloat(this.state.props.aspectratio as string),\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * parseFloat(this.state.props.aspectratio as string),\n }\n }\n }\n return null\n }\n \n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnNaturalDimensions(): {imageWidth: number, imageHeight: number} | null {\n // No need to calculate width & height if the user already passign them explicitly from props. \n const widthAndHeightExistsInProps = this.styles.root.width && this.styles.root.height\n if(!this.state.props.aspectratio && !widthAndHeightExistsInProps) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth * this.state.naturalImageHeight / this.state.naturalImageWidth,\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * this.state.naturalImageWidth / this.state.naturalImageHeight\n }\n }\n }\n return null\n }\n \n\n renderWidget(props: WmPictureProps) {\n let imageWidth = this.state.imageWidth;\n let imageHeight = this.state.imageHeight;\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n const aspectDimensions = this.calculateBasedOnaspectratio();\n const naturalDimensions = this.calculateBasedOnNaturalDimensions();\n if(aspectDimensions) {\n const dimensions = aspectDimensions as {imageWidth: number, imageHeight: number}\n imageWidth = dimensions.imageWidth;\n imageHeight = dimensions.imageHeight\n } else if(naturalDimensions) {\n const dimensions = naturalDimensions as {imageWidth: number, imageHeight: number}\n imageHeight = dimensions.imageHeight\n imageWidth = dimensions.imageWidth\n }\n const shapeStyles = this.createShape(props.shape, imageWidth);\n this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);\n this._picturePlaceHolder = props.fastload ? \n (this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder)) :\n (this._picturePlaceHolder || this.loadImage(props.pictureplaceholder));\n const imgSrc: any = this._pictureSource || this._picturePlaceHolder;\n let elementToshow;\n if (imgSrc) {\n elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);\n }\n return imgSrc && (this.state.naturalImageWidth || props.isSvg || props.aspectratio) ? (\n <View \n style={[{\n width: imageWidth,\n height: imageHeight\n }, this.styles.root, shapeStyles.root, shapeStyles.picture]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <View style={[{overflow: 'hidden', width: '100%',\n height: '100%'}]} onLayout={this.onViewLayoutChange}>\n <Tappable\n disableTouchEffect={this.state.props.disabletoucheffect}\n {...this.getTestPropsForAction()}\n rippleColor={this.styles.root.rippleColor}\n target={this} styles={{width: imageWidth ? null : '100%', height: imageHeight ? null : '100%'}}>\n <Animatedview entryanimation={props.animation} delay={props.animationdelay} style={[{\n height: imageHeight,\n width: imageWidth,\n borderRadius: shapeStyles.picture?.borderRadius\n }]}\n accessibilityProps={{...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)}}>\n {this.showImage(elementToshow, props)}\n </Animatedview>\n </Tappable>\n </View>\n </View>\n ): null;\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA0BC,KAAK,EAAqBC,IAAI,QAAQ,cAAc;AAC9E,SAAQD,KAAK,IAAIE,SAAS,QAAO,YAAY;AAC7C,SAASC,QAAQ,QAAQ,WAAW;AACpC,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,kBAAkB,MAAM,mDAAmD;AAClF,SAASC,aAAa,QAAQ,sCAAsC;AACpE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAAqBC,cAAc,QAAQ,gCAAgC;AAE3E,OAAO,MAAMC,cAAc,SAAST,k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C,CAAE;MACLmE,kBAAkB,EAAE;QAAC,GAAGjI,qBAAqB,CAACD,uBAAuB,CAACmI,OAAO,EAAExH,KAAK;MAAC;IAAE,GAClF,IAAI,CAACyH,SAAS,CAAC1D,aAAa,EAAE/D,KAAK,CAC1B,CACN,CACN,CACF,CAAC,GACN,IAAI;EACT;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","Image","View","EXPOImage","isNumber","isString","Tappable","BaseComponent","BaseComponentState","ImageSizeEstimator","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmPictureProps","DEFAULT_CLASS","Animatedview","createSkeleton","WmPictureState","constructor","args","_defineProperty","WmPicture","props","e","_this$styles","_this$styles2","_this$styles3","imageWidth","nativeEvent","layout","width","imageHeight","height","styles","root","includes","state","aspectratio","parseFloat","naturalImageHeight","naturalImageWidth","updateState","originalContainerWidth","originalContainerHeight","imageElement","loadImage","image","loadAsset","imageSrc","default","resolveAssetSource","cancel","getSize","cleanup","splice","indexOf","picturesource","_cleanupTracker","push","componentDidUpdate","prevProps","prevState","snapshot","forEach","func","onPropertyChange","name","$new","$old","_pictureSource","_picturePlaceHolder","createShape","shape","picture","borderRadius","theme","getStyle","getElementToShow","imgSrc","shapeStyles","elementToshow","source","imgStyle","resizemode","createElement","uri","_extends","cachePolicy","getTestProps","style","fastload","opacity","contentFit","renderSkeleton","_this$styles$root","_shapeStyles$root","_shapeStyles$picture","_this$styles$root2","_shapeStyles$root2","_shapeStyles$picture2","_this$styles$root3","_shapeStyles$picture3","_shapeStyles$root3","_this$styles$root4","skeletonWidth","skeletonwidth","skeletonHeight","skeletonheight","skeleton","calculateBasedOnaspectratio","calculateBasedOnNaturalDimensions","widthAndHeightExistsInProps","renderWidget","_shapeStyles$picture4","aspectDimensions","naturalDimensions","dimensions","pictureplaceholder","isSvg","onLayout","event","handleLayout","_background","overflow","onViewLayoutChange","disableTouchEffect","disabletoucheffect","getTestPropsForAction","rippleColor","target","entryanimation","animation","delay","animationdelay","accessibilityProps","PICTURE","showImage"],"sources":["picture.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Image, LayoutChangeEvent, View } from 'react-native';\nimport {Image as EXPOImage} from 'expo-image';\nimport { isNumber, isString } from 'lodash-es';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport ImageSizeEstimator from '@wavemaker/app-rn-runtime/core/imageSizeEstimator';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmPictureProps from './picture.props';\nimport { DEFAULT_CLASS, WmPictureStyles } from './picture.styles';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmPictureState extends BaseComponentState<WmPictureProps> {\n naturalImageWidth: number = 0;\n naturalImageHeight: number = 0;\n imageWidth: number = 0;\n imageHeight: number = 0;\n originalContainerWidth: number = 0;\n originalContainerHeight: number = 0;\n}\n\nexport default class WmPicture extends BaseComponent<WmPictureProps, WmPictureState, WmPictureStyles> {\n\n private _pictureSource = null as any;\n private _picturePlaceHolder = null as any;\n\n // The below property will be used to track and remove the calculateImageSize listenrs of individual picturesource\n private _cleanupTracker = {} as any\n\n constructor(props: WmPictureProps) {\n super(props, DEFAULT_CLASS, new WmPictureProps());\n }\n\n loadImage(image: string | number | undefined) {\n if (!image || !this.loadAsset) {\n return null;\n }\n const imageSrc = isString(image) ? this.loadAsset(image) as any : image;\n if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {\n return null;\n }\n // if(this.state.props.aspectratio) {\n // return imageSrc;\n // }\n if (isNumber(imageSrc)) {\n const {width, height} = Image.resolveAssetSource(imageSrc);\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n } else if (imageSrc !== null) {\n const cancel = ImageSizeEstimator.getSize(imageSrc, (width: number, height: number) => {\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n this.cleanup.splice(this.cleanup.indexOf(cancel), 1);\n });\n if(this.props.picturesource && this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource].push(cancel)\n } else if(this.props.picturesource && !this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource] = [];\n this._cleanupTracker[this.props.picturesource].push(cancel)\n }\n this.cleanup.push(cancel);\n }\n return imageSrc;\n }\n\n // Check if the image source prop is changed from previous update to remove all listeners\n componentDidUpdate(prevProps: Readonly<WmPictureProps>, prevState: Readonly<WmPictureState>, snapshot?: any): void {\n if(this.state.props.picturesource !== prevProps.picturesource) {\n if(prevProps.picturesource && this._cleanupTracker[prevProps.picturesource]) {\n this._cleanupTracker[prevProps.picturesource].forEach((func: any) => {\n func();\n }); \n this._cleanupTracker[prevProps.picturesource] = []\n delete this._cleanupTracker[prevProps.picturesource] \n }\n }\n super.componentDidUpdate(prevProps, prevState)\n }\n\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'picturesource':\n this._pictureSource = null;\n case 'pictureplaceholder':\n this._picturePlaceHolder = null;\n break;\n }\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let imageWidth = e.nativeEvent.layout.width;\n let imageHeight = e.nativeEvent.layout.height;\n if (!imageWidth && !imageHeight) {\n return;\n }\n if (!this.styles?.root.height\n || (typeof this.styles?.root.height === 'string'\n && !this.styles?.root.height.includes('%'))) {\n imageHeight = 0;\n }\n if(this.state.props.aspectratio && !imageHeight && imageWidth) {\n imageHeight = imageWidth / parseFloat(this.state.props.aspectratio as string)\n } else if (this.state.props.aspectratio && !imageWidth && imageHeight) {\n imageWidth = imageWidth * parseFloat(this.state.props.aspectratio as string)\n } else if (imageWidth && !imageHeight) {\n imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;\n } else if (imageHeight && !imageWidth) {\n imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;\n }\n this.updateState({\n imageWidth: imageWidth,\n imageHeight: imageHeight,\n originalContainerWidth: this.styles.root.width ? e.nativeEvent.layout.width : 0,\n originalContainerHeight: this.styles.root.height ? e.nativeEvent.layout.height: 0\n } as WmPictureState);\n };\n\n createShape(shape: string | undefined, imageWidth?: number | string): WmPictureStyles {\n if (shape) {\n switch(shape) {\n case 'circle':\n return {\n picture: {\n borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4\n }\n } as WmPictureStyles;\n case 'rounded' :\n return (this.theme.getStyle('rounded-image') as WmPictureStyles);\n case 'thumbnail' :\n return (this.theme.getStyle('thumbnail-image') as WmPictureStyles);\n }\n }\n return {} as WmPictureStyles;\n }\n\n getElementToShow(props: WmPictureProps, imgSrc: any, shapeStyles: WmPictureStyles) {\n let elementToshow, source;\n if (imgSrc && typeof imgSrc === 'object' && typeof imgSrc?.default === 'function') {\n let imgStyle : any = {};\n if (props.resizemode === 'contain') {\n imgStyle['width'] = '100%';\n imgStyle['height'] = '100%';\n }\n elementToshow = React.createElement(imgSrc?.default, imgStyle);\n //} else if (!isWebPreviewMode() && props.isSvg) {\n // svg from uri\n // elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;\n } else if (isFullPathUrl(imgSrc)) {\n source = {\n uri: imgSrc\n };\n } else {\n source = imgSrc;\n }\n if (this.state.naturalImageWidth || this.state.props.aspectratio) {\n elementToshow = (\n // * INFO: if any issue arises like freezing of application because of \n // * rendering large number of images, check the cache policy.\n <EXPOImage\n cachePolicy='memory' \n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n contentFit={props.resizemode}\n source={source}\n />\n );\n }\n return elementToshow;\n }\n\n public renderSkeleton(props: WmPictureProps){\n const imageWidth = this.state.imageWidth;\n const imageHeight = this.state.imageHeight;\n const shapeStyles = this.createShape(this.props.shape, imageWidth);\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width || shapeStyles.root?.width || shapeStyles.picture?.width || imageWidth;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || shapeStyles.root?.height || shapeStyles.picture?.height || imageHeight;\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n borderRadius: this.props.shape == 'circle' && this.styles.root?.width ? 25 : shapeStyles.picture?.borderRadius || shapeStyles.root?.borderRadius || this.styles.root?.borderRadius || 4,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n });\n }\n\n showImage = (imageElement: any, props: WmPictureProps) => {\n return imageElement;\n }\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnaspectratio(): {imageWidth: number, imageHeight: number} | null {\n if(this.state.props.aspectratio) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth / parseFloat(this.state.props.aspectratio as string),\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * parseFloat(this.state.props.aspectratio as string),\n }\n }\n }\n return null\n }\n \n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnNaturalDimensions(): {imageWidth: number, imageHeight: number} | null {\n // No need to calculate width & height if the user already passign them explicitly from props. \n const widthAndHeightExistsInProps = this.styles.root.width && this.styles.root.height\n if(!this.state.props.aspectratio && !widthAndHeightExistsInProps) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth * this.state.naturalImageHeight / this.state.naturalImageWidth,\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * this.state.naturalImageWidth / this.state.naturalImageHeight\n }\n }\n }\n return null\n }\n \n\n renderWidget(props: WmPictureProps) {\n let imageWidth = this.state.imageWidth;\n let imageHeight = this.state.imageHeight;\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n const aspectDimensions = this.calculateBasedOnaspectratio();\n const naturalDimensions = this.calculateBasedOnNaturalDimensions();\n if(aspectDimensions) {\n const dimensions = aspectDimensions as {imageWidth: number, imageHeight: number}\n imageWidth = dimensions.imageWidth;\n imageHeight = dimensions.imageHeight\n } else if(naturalDimensions) {\n const dimensions = naturalDimensions as {imageWidth: number, imageHeight: number}\n imageHeight = dimensions.imageHeight\n imageWidth = dimensions.imageWidth\n }\n const shapeStyles = this.createShape(props.shape, imageWidth);\n this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);\n this._picturePlaceHolder = props.fastload ? \n (this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder)) :\n (this._picturePlaceHolder || this.loadImage(props.pictureplaceholder));\n const imgSrc: any = this._pictureSource || this._picturePlaceHolder;\n let elementToshow;\n if (imgSrc) {\n elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);\n }\n return imgSrc && (this.state.naturalImageWidth || props.isSvg || props.aspectratio) ? (\n <View \n style={[{\n width: imageWidth,\n height: imageHeight\n }, this.styles.root, shapeStyles.root, shapeStyles.picture]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <View style={[{overflow: 'hidden', width: '100%',\n height: '100%'}]} onLayout={this.onViewLayoutChange}>\n <Tappable\n disableTouchEffect={this.state.props.disabletoucheffect}\n {...this.getTestPropsForAction()}\n rippleColor={this.styles.root.rippleColor}\n target={this} styles={{width: imageWidth ? null : '100%', height: imageHeight ? null : '100%'}}>\n <Animatedview entryanimation={props.animation} delay={props.animationdelay} style={[{\n height: imageHeight,\n width: imageWidth,\n borderRadius: shapeStyles.picture?.borderRadius\n }]}\n accessibilityProps={{...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)}}>\n {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,kBAAkB,EAAE,IAAI,CAACzF,KAAK,CAACd,KAAK,CAACwG;IAAmB,GACpD,IAAI,CAACC,qBAAqB,CAAC,CAAC;MAChCC,WAAW,EAAE,IAAI,CAAC/F,MAAM,CAACC,IAAI,CAAC8F,WAAY;MAC1CC,MAAM,EAAE,IAAK;MAAChG,MAAM,EAAE;QAACH,KAAK,EAAEH,UAAU,GAAG,IAAI,GAAG,MAAM;QAAEK,MAAM,EAAED,WAAW,GAAG,IAAI,GAAG;MAAM;IAAE,iBAC/F/B,KAAA,CAAAoF,aAAA,CAACrE,YAAY;MAACmH,cAAc,EAAE5G,KAAK,CAAC6G,SAAU;MAACC,KAAK,EAAE9G,KAAK,CAAC+G,cAAe;MAAC5C,KAAK,EAAE,CAAC;QAC9EzD,MAAM,EAAED,WAAW;QACnBD,KAAK,EAAEH,UAAU;QACjB+C,YAAY,GAAAuC,qBAAA,GAAElC,WAAW,CAACN,OAAO,cAAAwC,qBAAA,uBAAnBA,qBAAA,CAAqBvC;MACrC,CAAC,CAAE;MACL4D,kBAAkB,EAAE;QAAC,GAAG1H,qBAAqB,CAACD,uBAAuB,CAAC4H,OAAO,EAAEjH,KAAK;MAAC;IAAE,GAClF,IAAI,CAACkH,SAAS,CAACxD,aAAa,EAAE1D,KAAK,CAC1B,CACN,CACN,CACF,CAAC,GACN,IAAI;EACT;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AccessibilityRole } from 'react-native';
|
|
2
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
export default class WmPictureProps extends BaseProps {
|
|
4
|
+
animation?: string;
|
|
5
|
+
animationdelay?: number;
|
|
6
|
+
picturesource?: string | number;
|
|
7
|
+
pictureplaceholder?: string | number;
|
|
8
|
+
shape?: string;
|
|
9
|
+
isSvg?: string;
|
|
10
|
+
resizemode?: any;
|
|
11
|
+
skeletonheight?: string;
|
|
12
|
+
skeletonwidth?: string;
|
|
13
|
+
accessible?: boolean;
|
|
14
|
+
accessibilitylabel?: string;
|
|
15
|
+
hint?: string;
|
|
16
|
+
accessibilityrole?: AccessibilityRole;
|
|
17
|
+
fastload?: boolean;
|
|
18
|
+
aspectratio?: string | number | null;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=picture.props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picture.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/picture/picture.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAmB,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAE1E,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAS;IACnD,SAAS,CAAC,EAAE,MAAM,CAAe;IACjC,cAAc,CAAC,EAAE,MAAM,CAAe;IACtC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAe;IAC9C,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAe;IACnD,KAAK,CAAC,EAAE,MAAM,CAAe;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAe;IAC7B,UAAU,CAAC,EAAE,GAAG,CAAoB;IACpC,cAAc,CAAC,EAAE,MAAM,CAAe;IACtC,aAAa,CAAC,EAAE,MAAM,CAAe;IACrC,UAAU,CAAC,EAAE,OAAO,CAAQ;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAa;IACxC,IAAI,CAAC,EAAE,MAAM,CAAa;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAW;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAS;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAQ;CAC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BaseProps","WmPictureProps","constructor","args","_defineProperty","undefined"],"sources":["picture.props.ts"],"sourcesContent":["import { AccessibilityRole, ImageResizeMode } from 'react-native';\nimport { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmPictureProps extends BaseProps {\n animation?: string = null as any;\n animationdelay?: number = null as any;\n picturesource?: string = null as any;\n pictureplaceholder?: string = null as any;\n shape?: string = null as any;\n isSvg?: string = null as any;\n resizemode?: any = 'stretch' as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'image';\n fastload?: boolean = false;\n aspectratio?: string | number | null = null;\n}\n"],"mappings":";;;AACA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBAC/B,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA,
|
|
1
|
+
{"version":3,"names":["BaseProps","WmPictureProps","constructor","args","_defineProperty","undefined"],"sources":["picture.props.ts"],"sourcesContent":["import { AccessibilityRole, ImageResizeMode } from 'react-native';\nimport { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmPictureProps extends BaseProps {\n animation?: string = null as any;\n animationdelay?: number = null as any;\n picturesource?: string | number = null as any;\n pictureplaceholder?: string | number = null as any;\n shape?: string = null as any;\n isSvg?: string = null as any;\n resizemode?: any = 'stretch' as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'image';\n fastload?: boolean = false;\n aspectratio?: string | number | null = null;\n}\n"],"mappings":";;;AACA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBAC/B,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA,wBACI,IAAI;IAAAA,eAAA,6BACC,IAAI;IAAAA,eAAA,gBAC1B,IAAI;IAAAA,eAAA,gBACJ,IAAI;IAAAA,eAAA,qBACF,SAAS;IAAAA,eAAA,yBACF,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,qBACN,IAAI;IAAAA,eAAA,6BACGC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,OAAO;IAAAA,eAAA,mBAC1B,KAAK;IAAAA,eAAA,sBACa,IAAI;EAAA;AAC7C","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ImageStyle, ViewStyle } from 'react-native';
|
|
2
|
+
import { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
import { WmSkeletonStyles } from '../skeleton/skeleton.styles';
|
|
4
|
+
export type WmPictureStyles = BaseStyles & {
|
|
5
|
+
picture: ImageStyle & ViewStyle;
|
|
6
|
+
skeleton: WmSkeletonStyles;
|
|
7
|
+
};
|
|
8
|
+
export declare const DEFAULT_CLASS = "app-picture";
|
|
9
|
+
//# sourceMappingURL=picture.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picture.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/picture/picture.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,EAAE,UAAU,EAAgB,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG;IACzC,OAAO,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAEF,eAAO,MAAM,aAAa,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
import WmProgressBarProps from './progress-bar.props';
|
|
4
|
+
import { WmProgressBarStyles } from './progress-bar.styles';
|
|
5
|
+
export declare class WmProgressBarState extends BaseComponentState<WmProgressBarProps> {
|
|
6
|
+
}
|
|
7
|
+
export default class WmProgressBar extends BaseComponent<WmProgressBarProps, WmProgressBarState, WmProgressBarStyles> {
|
|
8
|
+
constructor(props: WmProgressBarProps);
|
|
9
|
+
onTooltiptext: (minValue: number, maxValue: number, percentage: number) => any;
|
|
10
|
+
renderWidget(props: WmProgressBarProps): React.JSX.Element;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=progress-bar.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-bar/progress-bar.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAGlG,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAiB,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAI3E,qBAAa,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;CAAG;AAEjF,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,CAAC;gBAEvG,KAAK,EAAE,kBAAkB;IAIrC,aAAa,aAAc,MAAM,YAAY,MAAM,cAAc,MAAM,SAiBtE;IAED,YAAY,CAAC,KAAK,EAAE,kBAAkB;CAuEvC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
2
|
+
import { AccessibilityRole } from 'react-native';
|
|
3
|
+
export default class WmProgressBarProps extends BaseProps {
|
|
4
|
+
type: 'default' | 'success' | 'info' | 'warning' | 'error';
|
|
5
|
+
datavalue: number;
|
|
6
|
+
minvalue: number;
|
|
7
|
+
maxvalue: number;
|
|
8
|
+
accessibilitylabel?: string;
|
|
9
|
+
accessibilityrole?: AccessibilityRole;
|
|
10
|
+
showtooltip?: boolean;
|
|
11
|
+
tooltipposition?: 'up' | 'down' | 'left' | 'right';
|
|
12
|
+
onTooltiptext?: Function | null;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=progress-bar.props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-bar/progress-bar.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS;IACvD,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAa;IACvE,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,MAAM,CAAK;IACrB,QAAQ,EAAE,MAAM,CAAO;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAa;IACxC,iBAAiB,CAAC,EAAE,iBAAiB,CAAiB;IACtD,WAAW,CAAC,EAAE,OAAO,CAAS;IAC9B,eAAe,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAQ;IAC1D,aAAa,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAQ;CACxC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
+
import { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
export type WmProgressBarStyles = BaseStyles & {
|
|
4
|
+
progressBar: AllStyle;
|
|
5
|
+
progressValue: AllStyle;
|
|
6
|
+
tooltip: AllStyle;
|
|
7
|
+
tooltipLabel: AllStyle;
|
|
8
|
+
tooltipTriangle: AllStyle;
|
|
9
|
+
};
|
|
10
|
+
export declare const DEFAULT_CLASS = "app-progress-bar";
|
|
11
|
+
//# sourceMappingURL=progress-bar.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-bar.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-bar/progress-bar.styles.ts"],"names":[],"mappings":"AACA,OAAmB,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAgB,MAAM,+CAA+C,CAAC;AAGzF,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG;IAC3C,WAAW,EAAE,QAAQ,CAAC;IACtB,aAAa,EAAE,QAAQ,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,YAAY,EAAE,QAAQ,CAAC;IACvB,eAAe,EAAE,QAAQ,CAAA;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LayoutChangeEvent } from 'react-native';
|
|
3
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
4
|
+
import WmProgressCircleProps from './progress-circle.props';
|
|
5
|
+
import { WmProgressCircleStyles } from './progress-circle.styles';
|
|
6
|
+
export declare class WmProgressCircleState extends BaseComponentState<WmProgressCircleProps> {
|
|
7
|
+
radius: number;
|
|
8
|
+
}
|
|
9
|
+
export default class WmProgressCircle extends BaseComponent<WmProgressCircleProps, WmProgressCircleState, WmProgressCircleStyles> {
|
|
10
|
+
constructor(props: WmProgressCircleProps);
|
|
11
|
+
onLayout(e: LayoutChangeEvent): void;
|
|
12
|
+
renderWidget(props: WmProgressCircleProps): React.JSX.Element;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=progress-circle.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-circle.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-circle/progress-circle.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAc,MAAM,cAAc,CAAC;AAI7D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAGlG,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAiB,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGjF,qBAAa,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IAClF,MAAM,SAAM;CACb;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,aAAa,CAAC,qBAAqB,EAAE,qBAAqB,EAAE,sBAAsB,CAAC;gBAEnH,KAAK,EAAE,qBAAqB;IAIxC,QAAQ,CAAC,CAAC,EAAE,iBAAiB;IAmB7B,YAAY,CAAC,KAAK,EAAE,qBAAqB;CA4B1C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
2
|
+
import { AccessibilityRole } from 'react-native';
|
|
3
|
+
export default class WmProgressCircleProps extends BaseProps {
|
|
4
|
+
type: 'default' | 'success' | 'info' | 'warning' | 'error';
|
|
5
|
+
datavalue: number;
|
|
6
|
+
minvalue: number;
|
|
7
|
+
maxvalue: number;
|
|
8
|
+
captionplacement: string;
|
|
9
|
+
title: string;
|
|
10
|
+
subtitle: string;
|
|
11
|
+
accessibilitylabel?: string;
|
|
12
|
+
accessibilityrole?: AccessibilityRole;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=progress-circle.props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-circle.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-circle/progress-circle.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS;IAC1D,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAa;IACvE,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,MAAM,CAAK;IACrB,QAAQ,EAAE,MAAM,CAAO;IACvB,gBAAgB,EAAE,MAAM,CAAY;IACpC,KAAK,EAAE,MAAM,CAAM;IACnB,QAAQ,EAAE,MAAM,CAAM;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAa;IACxC,iBAAiB,CAAC,EAAE,iBAAiB,CAAiB;CACvD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
+
import { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
export type WmProgressCircleStyles = BaseStyles & {
|
|
4
|
+
progressCircle: AllStyle;
|
|
5
|
+
progressValue: AllStyle;
|
|
6
|
+
subTitle: AllStyle;
|
|
7
|
+
};
|
|
8
|
+
export declare const DEFAULT_CLASS = "app-progress-circle";
|
|
9
|
+
//# sourceMappingURL=progress-circle.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-circle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/progress-circle/progress-circle.styles.ts"],"names":[],"mappings":"AACA,OAAmB,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAgB,MAAM,+CAA+C,CAAC;AAEzF,MAAM,MAAM,sBAAsB,GAAG,UAAU,GAAG;IAC9C,cAAc,EAAG,QAAQ,CAAC;IAC1B,aAAa,EAAE,QAAQ,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAA;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseComponent } from "@wavemaker/app-rn-runtime/core/base.component";
|
|
2
|
+
export declare class DataProvider {
|
|
3
|
+
private localDataProvider;
|
|
4
|
+
init(self: BaseComponent<any, any, any>): any;
|
|
5
|
+
invokeVariable(self: BaseComponent<any, any, any>, query: string): Promise<any>;
|
|
6
|
+
filter(config: any, cb?: () => void | null): any;
|
|
7
|
+
}
|
|
8
|
+
export declare class LocalDataProvider {
|
|
9
|
+
private applyFilter;
|
|
10
|
+
filter(config: any): any;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=local-data-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-data-provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/search/local-data-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAE9E,qBAAa,YAAY;IACvB,OAAO,CAAC,iBAAiB,CAA2B;IAGpD,IAAI,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAMvC,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAe/E,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,EAAG,MAAM,IAAI,GAAG,IAAI;CAW5C;AAED,qBAAa,iBAAiB;IAE5B,OAAO,CAAC,WAAW;IAKnB,MAAM,CAAC,MAAM,EAAE,GAAG;CAqEnB"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextInput, View } from 'react-native';
|
|
3
|
+
import WmSearchProps from './search.props';
|
|
4
|
+
import { WmSearchStyles } from './search.styles';
|
|
5
|
+
import { ModalOptions, ModalService } from "@wavemaker/app-rn-runtime/core/modal.service";
|
|
6
|
+
import { BaseDatasetComponent, BaseDatasetState } from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';
|
|
7
|
+
export declare class WmSearchState extends BaseDatasetState<WmSearchProps> {
|
|
8
|
+
isOpened: boolean;
|
|
9
|
+
modalOptions: ModalOptions;
|
|
10
|
+
template: string;
|
|
11
|
+
position: DropdownPosition;
|
|
12
|
+
data: any;
|
|
13
|
+
}
|
|
14
|
+
export interface DropdownPosition {
|
|
15
|
+
top?: number;
|
|
16
|
+
bottom?: number;
|
|
17
|
+
left?: number;
|
|
18
|
+
right?: number;
|
|
19
|
+
}
|
|
20
|
+
export default class WmSearch extends BaseDatasetComponent<WmSearchProps, WmSearchState, WmSearchStyles> {
|
|
21
|
+
view: View;
|
|
22
|
+
private prevDatavalue;
|
|
23
|
+
private queryModel;
|
|
24
|
+
private searchInputWidth;
|
|
25
|
+
private isDefaultQuery;
|
|
26
|
+
private dataProvider;
|
|
27
|
+
widgetRef: TextInput | null;
|
|
28
|
+
private cursor;
|
|
29
|
+
private isFocused;
|
|
30
|
+
private updateRequired;
|
|
31
|
+
private timer;
|
|
32
|
+
constructor(props: WmSearchProps);
|
|
33
|
+
computePosition: () => Promise<void>;
|
|
34
|
+
clearSearch(): void;
|
|
35
|
+
updateFilteredData(queryText?: string): void;
|
|
36
|
+
focus(): void;
|
|
37
|
+
handleChange: (value: any) => void;
|
|
38
|
+
onChange(value: any): void;
|
|
39
|
+
invokeChange(e: any): void;
|
|
40
|
+
onFocus(): void;
|
|
41
|
+
onBlur(): void;
|
|
42
|
+
showPopover: () => void;
|
|
43
|
+
hide: () => void;
|
|
44
|
+
prepareModalOptions(content: React.ReactNode, styles: WmSearchStyles, modalService: ModalService): ModalOptions;
|
|
45
|
+
searchIconPress(): void;
|
|
46
|
+
onItemSelect(item: any): void;
|
|
47
|
+
renderSkeleton(props: WmSearchProps): React.ReactNode;
|
|
48
|
+
renderSearchBar(): React.JSX.Element;
|
|
49
|
+
reset(): void;
|
|
50
|
+
renderSearchItem(item: any, index: number): React.JSX.Element;
|
|
51
|
+
updateDefaultQueryModel(): void;
|
|
52
|
+
onDataItemsUpdate(): void;
|
|
53
|
+
componentDidMount(): void;
|
|
54
|
+
onPropertyChange(name: string, $new: any, $old: any): void;
|
|
55
|
+
setTemplate(partialName: any): void;
|
|
56
|
+
renderWidget(props: WmSearchProps): React.JSX.Element;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=search.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/search/search.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA4C,SAAS,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIzF,OAAO,aAAa,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAiB,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAiB,YAAY,EAAE,YAAY,EAAC,MAAM,8CAA8C,CAAC;AAIxG,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,8EAA8E,CAAC;AAStF,qBAAa,aAAc,SAAQ,gBAAgB,CAAC,aAAa,CAAC;IAChE,QAAQ,EAAE,OAAO,CAAS;IAC1B,YAAY,eAAsB;IAClC,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,mBAGc;IACtB,IAAI,EAAE,GAAG,CAAM;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,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,EAAE,GAAG;IAI5B,YAAY,CAAC,KAAK,EAAE,aAAa;CAqClC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import BaseDatasetProps from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.props';
|
|
3
|
+
import { BaseComponent } from "@wavemaker/app-rn-runtime/core/base.component";
|
|
4
|
+
import { AccessibilityRole } from 'react-native';
|
|
5
|
+
export default class WmSearchProps extends BaseDatasetProps {
|
|
6
|
+
autofocus: boolean;
|
|
7
|
+
query?: string;
|
|
8
|
+
searchkey?: any;
|
|
9
|
+
type: 'search' | 'autocomplete';
|
|
10
|
+
datacompletemsg?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
limit?: number;
|
|
13
|
+
minchars?: number;
|
|
14
|
+
imagewidth?: any;
|
|
15
|
+
imageheight?: any;
|
|
16
|
+
searchon?: string;
|
|
17
|
+
onSubmit?: any;
|
|
18
|
+
onChange?: Function;
|
|
19
|
+
result?: any;
|
|
20
|
+
showclear: boolean;
|
|
21
|
+
showSearchIcon: boolean;
|
|
22
|
+
invokeEvent?: Function;
|
|
23
|
+
formFieldInstance?: BaseComponent<any, any, any>;
|
|
24
|
+
accessibilitylabel?: string;
|
|
25
|
+
hint?: string;
|
|
26
|
+
accessibilityrole?: AccessibilityRole;
|
|
27
|
+
renderitempartial?: (item: any, index: number, partialName: string) => React.ReactNode;
|
|
28
|
+
skeletonheight?: string;
|
|
29
|
+
skeletonwidth?: string;
|
|
30
|
+
iconclass?: string;
|
|
31
|
+
clearsearchiconclass?: string;
|
|
32
|
+
searchiconclass?: string;
|
|
33
|
+
debouncetime?: number;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=search.props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/search/search.props.ts"],"names":[],"mappings":";AAAA,OAAO,gBAAgB,MAAM,0EA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,CAAC,EAAE,MAAM,CAAiB;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAa;IACrC,YAAY,CAAC,EAAE,MAAM,CAAK;CAC3B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TextStyle } from 'react-native';
|
|
2
|
+
import { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';
|
|
3
|
+
import { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
4
|
+
import { WmButtonStyles } from '@wavemaker/app-rn-runtime/components/basic/button/button.styles';
|
|
5
|
+
import { WmSkeletonStyles } from '../skeleton/skeleton.styles';
|
|
6
|
+
export type WmSearchStyles = BaseStyles & {
|
|
7
|
+
focusedText: TextStyle;
|
|
8
|
+
modal: AllStyle;
|
|
9
|
+
modalContent: AllStyle;
|
|
10
|
+
searchItem: AllStyle;
|
|
11
|
+
dropDownContent: AllStyle;
|
|
12
|
+
searchItemText: AllStyle;
|
|
13
|
+
clearButton: WmButtonStyles;
|
|
14
|
+
searchButton: WmButtonStyles;
|
|
15
|
+
searchInputWrapper: AllStyle;
|
|
16
|
+
placeholderText: AllStyle;
|
|
17
|
+
invalid: AllStyle;
|
|
18
|
+
skeleton: WmSkeletonStyles;
|
|
19
|
+
};
|
|
20
|
+
export declare const DEFAULT_CLASS = "app-search";
|
|
21
|
+
//# sourceMappingURL=search.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/search/search.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,cAAc,CAAC;AACnD,OAAmB,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAgB,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,iEAAiE,CAAC;AACjG,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG;IACxC,WAAW,EAAE,SAAS,CAAC;IACvB,KAAK,EAAE,QAAQ,CAAC;IAChB,YAAY,EAAE,QAAQ,CAAC;IACvB,UAAU,EAAE,QAAQ,CAAC;IACrB,eAAe,EAAE,QAAQ,CAAC;IAC1B,cAAc,EAAE,QAAQ,CAAC;IACzB,WAAW,EAAE,cAAc,CAAC;IAC5B,YAAY,EAAE,cAAc,CAAC;IAC7B,kBAAkB,EAAE,QAAQ,CAAC;IAC7B,eAAe,EAAE,QAAQ,CAAC;IAC1B,OAAO,EAAE,QAAQ,CAAC;IAClB,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa,eAAe,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LayoutChangeEvent } from 'react-native';
|
|
3
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
4
|
+
import { AllStyle, Theme } from '@wavemaker/app-rn-runtime/styles/theme';
|
|
5
|
+
import WmSkeletonProps from './skeleton.props';
|
|
6
|
+
import { WmSkeletonStyles } from './skeleton.styles';
|
|
7
|
+
export declare class WmSkeletonState extends BaseComponentState<WmSkeletonProps> {
|
|
8
|
+
layout: {
|
|
9
|
+
left: number;
|
|
10
|
+
top: number;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
animate: boolean;
|
|
15
|
+
}
|
|
16
|
+
type WrapperStyle = AllStyle | any;
|
|
17
|
+
export default class WmSkeleton extends BaseComponent<WmSkeletonProps, WmSkeletonState, WmSkeletonStyles> {
|
|
18
|
+
private skeletonloaderRef;
|
|
19
|
+
private animationRunner;
|
|
20
|
+
constructor(props: WmSkeletonProps);
|
|
21
|
+
componentDidMount(): void;
|
|
22
|
+
componentWillUnmount(): void;
|
|
23
|
+
onLayoutChange: (event: LayoutChangeEvent) => void;
|
|
24
|
+
renderWidget(props: WmSkeletonProps): React.JSX.Element;
|
|
25
|
+
}
|
|
26
|
+
export declare const createSkeleton: (theme: Theme, skeletonStyles: WmSkeletonStyles, wrapper: WrapperStyle, children?: React.ReactNode) => React.JSX.Element;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=skeleton.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/skeleton/skeleton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsC,iBAAiB,EAAyB,MAAM,cAAc,CAAC;AAG5G,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAEzE,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAiB,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAGpE,qBAAa,eAAgB,SAAQ,kBAAkB,CAAC,eAAe,CAAC;IACtE,MAAM;;;;;MAKJ;IACF,OAAO,UAAS;CACjB;AAED,KAAK,YAAY,GAAG,QAAQ,GAAG,GAAG,CAAA;AAyClC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,aAAa,CAAC,eAAe,EAAE,eAAe,EAAE,gBAAgB,CAAC;IAEvG,OAAO,CAAC,iBAAiB,CAAa;IACtC,OAAO,CAAC,eAAe,CAAyB;gBAEpC,KAAK,EAAE,eAAe;IAIlC,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAK5B,cAAc,qCAcb;IAED,YAAY,CAAC,KAAK,EAAE,eAAe;CAiCpC;AAED,eAAO,MAAM,cAAc,UAAW,KAAK,kBAAkB,gBAAgB,WAAW,YAAY,aAAa,MAAM,SAAS,sBAgB/H,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/skeleton/skeleton.props.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,SAAS;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAQ;CAC5C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
+
import { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
import { TextStyle, ViewStyle } from 'react-native';
|
|
4
|
+
export type WmSkeletonStyles = BaseStyles & {
|
|
5
|
+
animatedView: AllStyle;
|
|
6
|
+
gradient: AllStyle;
|
|
7
|
+
gradientForeground: ViewStyle;
|
|
8
|
+
text: TextStyle;
|
|
9
|
+
};
|
|
10
|
+
export declare const DEFAULT_CLASS = "app-skeleton";
|
|
11
|
+
//# sourceMappingURL=skeleton.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/basic/skeleton/skeleton.styles.ts"],"names":[],"mappings":"AAAA,OAAmB,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAgB,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG;IACxC,YAAY,EAAE,QAAQ,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,kBAAkB,EAAE,SAAS,CAAC;IAC9B,IAAI,EAAE,SAAS,CAAA;CAClB,CAAC;AAEF,eAAO,MAAM,aAAa,iBAAiB,CAAC"}
|