@wavemaker-ai/app-rn-runtime 1.0.0-rc.647469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions/base-action.js +12 -0
- package/actions/base-action.js.map +1 -0
- package/actions/index.js +6 -0
- package/actions/index.js.map +1 -0
- package/actions/login-action.js +32 -0
- package/actions/login-action.js.map +1 -0
- package/actions/logout-action.js +22 -0
- package/actions/logout-action.js.map +1 -0
- package/actions/navigation-action.js +44 -0
- package/actions/navigation-action.js.map +1 -0
- package/actions/notification-action.js +76 -0
- package/actions/notification-action.js.map +1 -0
- package/actions/timer-action.js +57 -0
- package/actions/timer-action.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.js +17 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js +11 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.js +17 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.js +20 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js +11 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.js +16 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -0
- package/components/advanced/carousel/carousel.component.js +378 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/carousel/carousel.props.js +23 -0
- package/components/advanced/carousel/carousel.props.js.map +1 -0
- package/components/advanced/carousel/carousel.styles.js +179 -0
- package/components/advanced/carousel/carousel.styles.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js +14 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js +11 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js +14 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js.map +1 -0
- package/components/advanced/login/login.component.js +40 -0
- package/components/advanced/login/login.component.js.map +1 -0
- package/components/advanced/login/login.props.js +13 -0
- package/components/advanced/login/login.props.js.map +1 -0
- package/components/advanced/login/login.styles.js +31 -0
- package/components/advanced/login/login.styles.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js +118 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js +11 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.js +33 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -0
- package/components/advanced/webview/webview.component.js +160 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/advanced/webview/webview.props.js +16 -0
- package/components/advanced/webview/webview.props.js.map +1 -0
- package/components/advanced/webview/webview.styles.js +18 -0
- package/components/advanced/webview/webview.styles.js.map +1 -0
- package/components/basic/anchor/anchor.component.js +124 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/anchor/anchor.props.js +34 -0
- package/components/basic/anchor/anchor.props.js.map +1 -0
- package/components/basic/anchor/anchor.styles.js +108 -0
- package/components/basic/anchor/anchor.styles.js.map +1 -0
- package/components/basic/animatedview.component.js +226 -0
- package/components/basic/animatedview.component.js.map +1 -0
- package/components/basic/audio/audio.component.js +257 -0
- package/components/basic/audio/audio.component.js.map +1 -0
- package/components/basic/audio/audio.props.js +15 -0
- package/components/basic/audio/audio.props.js.map +1 -0
- package/components/basic/audio/audio.styles.js +68 -0
- package/components/basic/audio/audio.styles.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.component.js +772 -0
- package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.props.js +26 -0
- package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.styles.js +88 -0
- package/components/basic/bottomsheet/bottomsheet.styles.js.map +1 -0
- package/components/basic/button/button.component.js +124 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.props.js +28 -0
- package/components/basic/button/button.props.js.map +1 -0
- package/components/basic/button/button.styles.js +132 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.component.js +28 -0
- package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.props.js +14 -0
- package/components/basic/buttongroup/buttongroup.props.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.js +59 -0
- package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
- package/components/basic/custom/custom.component.js +26 -0
- package/components/basic/custom/custom.component.js.map +1 -0
- package/components/basic/custom/custom.props.js +16 -0
- package/components/basic/custom/custom.props.js.map +1 -0
- package/components/basic/custom/custom.styles.js +18 -0
- package/components/basic/custom/custom.styles.js.map +1 -0
- package/components/basic/icon/icon.component.js +270 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js +28 -0
- package/components/basic/icon/icon.props.js.map +1 -0
- package/components/basic/icon/icon.styles.js +38 -0
- package/components/basic/icon/icon.styles.js.map +1 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +245 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +217 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
- package/components/basic/icon/wavicon/wavicon.component.js +1161 -0
- package/components/basic/icon/wavicon/wavicon.component.js.map +1 -0
- package/components/basic/icon/wavicon/wavicon.ttf +0 -0
- package/components/basic/label/label.component.js +406 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.props.js +28 -0
- package/components/basic/label/label.props.js.map +1 -0
- package/components/basic/label/label.styles.js +146 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/lottie/lottie.component.js +139 -0
- package/components/basic/lottie/lottie.component.js.map +1 -0
- package/components/basic/lottie/lottie.props.js +14 -0
- package/components/basic/lottie/lottie.props.js.map +1 -0
- package/components/basic/lottie/lottie.styles.js +15 -0
- package/components/basic/lottie/lottie.styles.js.map +1 -0
- package/components/basic/message/message.component.js +87 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/message/message.props.js +24 -0
- package/components/basic/message/message.props.js.map +1 -0
- package/components/basic/message/message.styles.js +116 -0
- package/components/basic/message/message.styles.js.map +1 -0
- package/components/basic/modal/modal.component.js +24 -0
- package/components/basic/modal/modal.component.js.map +1 -0
- package/components/basic/modal/modal.props.js +12 -0
- package/components/basic/modal/modal.props.js.map +1 -0
- package/components/basic/modal/modal.styles.js +29 -0
- package/components/basic/modal/modal.styles.js.map +1 -0
- package/components/basic/picture/picture.component.js +321 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/picture/picture.props.js +25 -0
- package/components/basic/picture/picture.props.js.map +1 -0
- package/components/basic/picture/picture.styles.js +43 -0
- package/components/basic/picture/picture.styles.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js +96 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.js +19 -0
- package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.js +45 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js +79 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.js +19 -0
- package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.styles.js +82 -0
- package/components/basic/progress-circle/progress-circle.styles.js.map +1 -0
- package/components/basic/search/local-data-provider.js +113 -0
- package/components/basic/search/local-data-provider.js.map +1 -0
- package/components/basic/search/search.component.js +456 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.props.js +39 -0
- package/components/basic/search/search.props.js.map +1 -0
- package/components/basic/search/search.styles.js +187 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/skeleton/skeleton.component.js +151 -0
- package/components/basic/skeleton/skeleton.component.js.map +1 -0
- package/components/basic/skeleton/skeleton.props.js +11 -0
- package/components/basic/skeleton/skeleton.props.js.map +1 -0
- package/components/basic/skeleton/skeleton.styles.js +41 -0
- package/components/basic/skeleton/skeleton.styles.js.map +1 -0
- package/components/basic/spinner/spinner.component.js +99 -0
- package/components/basic/spinner/spinner.component.js.map +1 -0
- package/components/basic/spinner/spinner.props.js +17 -0
- package/components/basic/spinner/spinner.props.js.map +1 -0
- package/components/basic/spinner/spinner.styles.js +41 -0
- package/components/basic/spinner/spinner.styles.js.map +1 -0
- package/components/basic/tooltip/tooltip.component.js +80 -0
- package/components/basic/tooltip/tooltip.component.js.map +1 -0
- package/components/basic/tooltip/tooltip.props.js +18 -0
- package/components/basic/tooltip/tooltip.props.js.map +1 -0
- package/components/basic/tooltip/tooltip.styles.js +49 -0
- package/components/basic/tooltip/tooltip.styles.js.map +1 -0
- package/components/basic/video/video.component.js +206 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/basic/video/video.props.js +33 -0
- package/components/basic/video/video.props.js.map +1 -0
- package/components/basic/video/video.styles.js +33 -0
- package/components/basic/video/video.styles.js.map +1 -0
- package/components/chart/area-chart/area-chart.component.js +159 -0
- package/components/chart/area-chart/area-chart.component.js.map +1 -0
- package/components/chart/area-chart/area-chart.props.js +12 -0
- package/components/chart/area-chart/area-chart.props.js.map +1 -0
- package/components/chart/area-chart/area-chart.styles.js +13 -0
- package/components/chart/area-chart/area-chart.styles.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.js +144 -0
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js +15 -0
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.styles.js +13 -0
- package/components/chart/bar-chart/bar-chart.styles.js.map +1 -0
- package/components/chart/basechart.component.js +709 -0
- package/components/chart/basechart.component.js.map +1 -0
- package/components/chart/basechart.props.js +65 -0
- package/components/chart/basechart.props.js.map +1 -0
- package/components/chart/basechart.styles.js +97 -0
- package/components/chart/basechart.styles.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.js +113 -0
- package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.props.js +11 -0
- package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.styles.js +13 -0
- package/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -0
- package/components/chart/column-chart/column-chart.component.js +8 -0
- package/components/chart/column-chart/column-chart.component.js.map +1 -0
- package/components/chart/column-chart/column-chart.props.js +3 -0
- package/components/chart/column-chart/column-chart.props.js.map +1 -0
- package/components/chart/column-chart/column-chart.styles.js +13 -0
- package/components/chart/column-chart/column-chart.styles.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.component.js +7 -0
- package/components/chart/donut-chart/donut-chart.component.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.props.js +11 -0
- package/components/chart/donut-chart/donut-chart.props.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.styles.js +13 -0
- package/components/chart/donut-chart/donut-chart.styles.js.map +1 -0
- package/components/chart/legend/legend.component.js +36 -0
- package/components/chart/legend/legend.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.component.js +119 -0
- package/components/chart/line-chart/line-chart.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.props.js +14 -0
- package/components/chart/line-chart/line-chart.props.js.map +1 -0
- package/components/chart/line-chart/line-chart.styles.js +13 -0
- package/components/chart/line-chart/line-chart.styles.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.component.js +251 -0
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.js +14 -0
- package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.styles.js +13 -0
- package/components/chart/pie-chart/pie-chart.styles.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.component.js +368 -0
- package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.props.js +17 -0
- package/components/chart/stack-chart/stack-chart.props.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.styles.js +7 -0
- package/components/chart/stack-chart/stack-chart.styles.js.map +1 -0
- package/components/chart/staticdata.js +215 -0
- package/components/chart/staticdata.js.map +1 -0
- package/components/chart/theme/chart.theme.js +360 -0
- package/components/chart/theme/chart.theme.js.map +1 -0
- package/components/container/accordion/accordion.component.js +202 -0
- package/components/container/accordion/accordion.component.js.map +1 -0
- package/components/container/accordion/accordion.props.js +16 -0
- package/components/container/accordion/accordion.props.js.map +1 -0
- package/components/container/accordion/accordion.styles.js +148 -0
- package/components/container/accordion/accordion.styles.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js +87 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js +17 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.js +16 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -0
- package/components/container/container.component.js +194 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/container.props.js +18 -0
- package/components/container/container.props.js.map +1 -0
- package/components/container/container.styles.js +48 -0
- package/components/container/container.styles.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +29 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +13 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +12 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js +22 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js +11 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.js +42 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.component.js +44 -0
- package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.props.js +11 -0
- package/components/container/layoutgrid/layoutgrid.props.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.styles.js +34 -0
- package/components/container/layoutgrid/layoutgrid.styles.js.map +1 -0
- package/components/container/linearlayout/linearlayout.component.js +70 -0
- package/components/container/linearlayout/linearlayout.component.js.map +1 -0
- package/components/container/linearlayout/linearlayout.props.js +15 -0
- package/components/container/linearlayout/linearlayout.props.js.map +1 -0
- package/components/container/linearlayout/linearlayout.styles.js +14 -0
- package/components/container/linearlayout/linearlayout.styles.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +25 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +13 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +11 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -0
- package/components/container/panel/collapsible-pane.component.js +26 -0
- package/components/container/panel/collapsible-pane.component.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.component.js +17 -0
- package/components/container/panel/panel-content/panel-content.component.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.props.js +11 -0
- package/components/container/panel/panel-content/panel-content.props.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.styles.js +16 -0
- package/components/container/panel/panel-content/panel-content.styles.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.component.js +17 -0
- package/components/container/panel/panel-footer/panel-footer.component.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.props.js +11 -0
- package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.styles.js +19 -0
- package/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -0
- package/components/container/panel/panel.component.js +163 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.props.js +26 -0
- package/components/container/panel/panel.props.js.map +1 -0
- package/components/container/panel/panel.styles.js +108 -0
- package/components/container/panel/panel.styles.js.map +1 -0
- package/components/container/partial-host.component.js +42 -0
- package/components/container/partial-host.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.js +240 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.props.js +18 -0
- package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.js +111 -0
- package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.js +82 -0
- package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.js +19 -0
- package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.styles.js +13 -0
- package/components/container/tabs/tabpane/tabpane.styles.js.map +1 -0
- package/components/container/tabs/tabs.component.js +299 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/tabs/tabs.props.js +16 -0
- package/components/container/tabs/tabs.props.js.map +1 -0
- package/components/container/tabs/tabs.styles.js +65 -0
- package/components/container/tabs/tabs.styles.js.map +1 -0
- package/components/container/tile/tile.component.js +54 -0
- package/components/container/tile/tile.component.js.map +1 -0
- package/components/container/tile/tile.props.js +13 -0
- package/components/container/tile/tile.props.js.map +1 -0
- package/components/container/tile/tile.styles.js +38 -0
- package/components/container/tile/tile.styles.js.map +1 -0
- package/components/container/wizard/wizard.component.js +550 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.props.js +31 -0
- package/components/container/wizard/wizard.props.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +415 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.component.js +17 -0
- package/components/container/wizard/wizardaction/wizardaction.component.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.props.js +11 -0
- package/components/container/wizard/wizardaction/wizardaction.props.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.styles.js +11 -0
- package/components/container/wizard/wizardaction/wizardaction.styles.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js +92 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js +22 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.js +13 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -0
- package/components/data/card/card-content/card-content.component.js +46 -0
- package/components/data/card/card-content/card-content.component.js.map +1 -0
- package/components/data/card/card-content/card-content.props.js +12 -0
- package/components/data/card/card-content/card-content.props.js.map +1 -0
- package/components/data/card/card-content/card-content.styles.js +17 -0
- package/components/data/card/card-content/card-content.styles.js.map +1 -0
- package/components/data/card/card-footer/card-footer.component.js +18 -0
- package/components/data/card/card-footer/card-footer.component.js.map +1 -0
- package/components/data/card/card-footer/card-footer.props.js +11 -0
- package/components/data/card/card-footer/card-footer.props.js.map +1 -0
- package/components/data/card/card-footer/card-footer.styles.js +18 -0
- package/components/data/card/card-footer/card-footer.styles.js.map +1 -0
- package/components/data/card/card.component.js +92 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/card/card.props.js +27 -0
- package/components/data/card/card.props.js.map +1 -0
- package/components/data/card/card.styles.js +51 -0
- package/components/data/card/card.styles.js.map +1 -0
- package/components/data/form/form-action/form-action.component.js +35 -0
- package/components/data/form/form-action/form-action.component.js.map +1 -0
- package/components/data/form/form-action/form-action.props.js +18 -0
- package/components/data/form/form-action/form-action.props.js.map +1 -0
- package/components/data/form/form-action/form-action.styles.js +34 -0
- package/components/data/form/form-action/form-action.styles.js.map +1 -0
- package/components/data/form/form-body/form-body.component.js +20 -0
- package/components/data/form/form-body/form-body.component.js.map +1 -0
- package/components/data/form/form-body/form-body.props.js +11 -0
- package/components/data/form/form-body/form-body.props.js.map +1 -0
- package/components/data/form/form-body/form-body.styles.js +13 -0
- package/components/data/form/form-body/form-body.styles.js.map +1 -0
- package/components/data/form/form-field/form-field.component.js +257 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form-field/form-field.props.js +35 -0
- package/components/data/form/form-field/form-field.props.js.map +1 -0
- package/components/data/form/form-field/form-field.styles.js +40 -0
- package/components/data/form/form-field/form-field.styles.js.map +1 -0
- package/components/data/form/form-footer/form-footer.component.js +20 -0
- package/components/data/form/form-footer/form-footer.component.js.map +1 -0
- package/components/data/form/form-footer/form-footer.props.js +11 -0
- package/components/data/form/form-footer/form-footer.props.js.map +1 -0
- package/components/data/form/form-footer/form-footer.styles.js +18 -0
- package/components/data/form/form-footer/form-footer.styles.js.map +1 -0
- package/components/data/form/form.component.js +465 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/form/form.props.js +38 -0
- package/components/data/form/form.props.js.map +1 -0
- package/components/data/form/form.styles.js +53 -0
- package/components/data/form/form.styles.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.component.js +28 -0
- package/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.props.js +12 -0
- package/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.styles.js +36 -0
- package/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
- package/components/data/list/list-template/list-template.component.js +55 -0
- package/components/data/list/list-template/list-template.component.js.map +1 -0
- package/components/data/list/list-template/list-template.props.js +13 -0
- package/components/data/list/list-template/list-template.props.js.map +1 -0
- package/components/data/list/list-template/list-template.styles.js +35 -0
- package/components/data/list/list-template/list-template.styles.js.map +1 -0
- package/components/data/list/list.component.js +690 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +53 -0
- package/components/data/list/list.props.js.map +1 -0
- package/components/data/list/list.styles.js +151 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/data/liveform/liveform.component.js +98 -0
- package/components/data/liveform/liveform.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.js +69 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.js +19 -0
- package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.styles.js +38 -0
- package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
- package/components/device/camera/camera.component.js +84 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.props.js +25 -0
- package/components/device/camera/camera.props.js.map +1 -0
- package/components/device/camera/camera.styles.js +39 -0
- package/components/device/camera/camera.styles.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js +72 -0
- package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.props.js +24 -0
- package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js +34 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js +78 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js +24 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
- package/components/dialogs/dialog/dialog.component.js +107 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.props.js +25 -0
- package/components/dialogs/dialog/dialog.props.js.map +1 -0
- package/components/dialogs/dialog/dialog.styles.js +78 -0
- package/components/dialogs/dialog/dialog.styles.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.component.js +22 -0
- package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.props.js +11 -0
- package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.styles.js +17 -0
- package/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js +31 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js +11 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.js +15 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -0
- package/components/input/basedataset/basedataset.component.js +232 -0
- package/components/input/basedataset/basedataset.component.js.map +1 -0
- package/components/input/basedataset/basedataset.props.js +33 -0
- package/components/input/basedataset/basedataset.props.js.map +1 -0
- package/components/input/basedataset/basedataset.styles.js +11 -0
- package/components/input/basedataset/basedataset.styles.js.map +1 -0
- package/components/input/baseinput/baseinput.component.js +203 -0
- package/components/input/baseinput/baseinput.component.js.map +1 -0
- package/components/input/baseinput/baseinput.props.js +32 -0
- package/components/input/baseinput/baseinput.props.js.map +1 -0
- package/components/input/baseinput/baseinput.styles.js +11 -0
- package/components/input/baseinput/baseinput.styles.js.map +1 -0
- package/components/input/basenumber/basenumber.component.js +357 -0
- package/components/input/basenumber/basenumber.component.js.map +1 -0
- package/components/input/basenumber/basenumber.props.js +28 -0
- package/components/input/basenumber/basenumber.props.js.map +1 -0
- package/components/input/basenumber/basenumber.styles.js +11 -0
- package/components/input/basenumber/basenumber.styles.js.map +1 -0
- package/components/input/calendar/calendar.component.js +173 -0
- package/components/input/calendar/calendar.component.js.map +1 -0
- package/components/input/calendar/calendar.props.js +14 -0
- package/components/input/calendar/calendar.props.js.map +1 -0
- package/components/input/calendar/calendar.styles.js +162 -0
- package/components/input/calendar/calendar.styles.js.map +1 -0
- package/components/input/calendar/views/month-view.js +211 -0
- package/components/input/calendar/views/month-view.js.map +1 -0
- package/components/input/calendar/views/month-view.styles.js +39 -0
- package/components/input/calendar/views/month-view.styles.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js +124 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkbox/checkbox.props.js +18 -0
- package/components/input/checkbox/checkbox.props.js.map +1 -0
- package/components/input/checkbox/checkbox.styles.js +94 -0
- package/components/input/checkbox/checkbox.styles.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js +159 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.props.js +21 -0
- package/components/input/checkboxset/checkboxset.props.js.map +1 -0
- package/components/input/checkboxset/checkboxset.styles.js +88 -0
- package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
- package/components/input/chips/chips.component.js +410 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.props.js +30 -0
- package/components/input/chips/chips.props.js.map +1 -0
- package/components/input/chips/chips.styles.js +221 -0
- package/components/input/chips/chips.styles.js.map +1 -0
- package/components/input/composite/composite.component.js +25 -0
- package/components/input/composite/composite.component.js.map +1 -0
- package/components/input/composite/composite.props.js +12 -0
- package/components/input/composite/composite.props.js.map +1 -0
- package/components/input/composite/composite.styles.js +29 -0
- package/components/input/composite/composite.styles.js.map +1 -0
- package/components/input/currency/currency.component.js +120 -0
- package/components/input/currency/currency.component.js.map +1 -0
- package/components/input/currency/currency.props.js +13 -0
- package/components/input/currency/currency.props.js.map +1 -0
- package/components/input/currency/currency.styles.js +148 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +496 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/epoch/date/date.component.js +20 -0
- package/components/input/epoch/date/date.component.js.map +1 -0
- package/components/input/epoch/date/date.props.js +11 -0
- package/components/input/epoch/date/date.props.js.map +1 -0
- package/components/input/epoch/date/date.styles.js +48 -0
- package/components/input/epoch/date/date.styles.js.map +1 -0
- package/components/input/epoch/date-picker.component.js +136 -0
- package/components/input/epoch/date-picker.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.component.js +20 -0
- package/components/input/epoch/datetime/datetime.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.props.js +36 -0
- package/components/input/epoch/datetime/datetime.props.js.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.js +163 -0
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
- package/components/input/epoch/time/time.component.js +26 -0
- package/components/input/epoch/time/time.component.js.map +1 -0
- package/components/input/epoch/time/time.props.js +15 -0
- package/components/input/epoch/time/time.props.js.map +1 -0
- package/components/input/epoch/time/time.styles.js +48 -0
- package/components/input/epoch/time/time.styles.js.map +1 -0
- package/components/input/epoch/wheel-date-picker.component.js +206 -0
- package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
- package/components/input/epoch/wheel-time-picker.component.js +107 -0
- package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js +97 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +85 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +20 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +83 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +19 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
- package/components/input/fileupload/fileupload.component.js +70 -0
- package/components/input/fileupload/fileupload.component.js.map +1 -0
- package/components/input/fileupload/fileupload.props.js +19 -0
- package/components/input/fileupload/fileupload.props.js.map +1 -0
- package/components/input/fileupload/fileupload.styles.js +27 -0
- package/components/input/fileupload/fileupload.styles.js.map +1 -0
- package/components/input/number/number.component.js +86 -0
- package/components/input/number/number.component.js.map +1 -0
- package/components/input/number/number.props.js +13 -0
- package/components/input/number/number.props.js.map +1 -0
- package/components/input/number/number.styles.js +93 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +147 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/radioset/radioset.props.js +20 -0
- package/components/input/radioset/radioset.props.js.map +1 -0
- package/components/input/radioset/radioset.styles.js +102 -0
- package/components/input/radioset/radioset.styles.js.map +1 -0
- package/components/input/rating/rating.component.js +155 -0
- package/components/input/rating/rating.component.js.map +1 -0
- package/components/input/rating/rating.props.js +25 -0
- package/components/input/rating/rating.props.js.map +1 -0
- package/components/input/rating/rating.styles.js +48 -0
- package/components/input/rating/rating.styles.js.map +1 -0
- package/components/input/select/select.component.js +303 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.props.js +12 -0
- package/components/input/select/select.props.js.map +1 -0
- package/components/input/select/select.styles.js +178 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +538 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.props.js +20 -0
- package/components/input/slider/slider.props.js.map +1 -0
- package/components/input/slider/slider.styles.js +95 -0
- package/components/input/slider/slider.styles.js.map +1 -0
- package/components/input/switch/switch.component.js +99 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.props.js +13 -0
- package/components/input/switch/switch.props.js.map +1 -0
- package/components/input/switch/switch.styles.js +192 -0
- package/components/input/switch/switch.styles.js.map +1 -0
- package/components/input/text/text.component.js +132 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.props.js +21 -0
- package/components/input/text/text.props.js.map +1 -0
- package/components/input/text/text.styles.js +130 -0
- package/components/input/text/text.styles.js.map +1 -0
- package/components/input/textarea/textarea.component.js +88 -0
- package/components/input/textarea/textarea.component.js.map +1 -0
- package/components/input/textarea/textarea.props.js +15 -0
- package/components/input/textarea/textarea.props.js.map +1 -0
- package/components/input/textarea/textarea.styles.js +84 -0
- package/components/input/textarea/textarea.styles.js.map +1 -0
- package/components/input/toggle/toggle.component.js +202 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.props.js +32 -0
- package/components/input/toggle/toggle.props.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +97 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js +114 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.js +22 -0
- package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js +169 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/basenav/basenav.component.js +72 -0
- package/components/navigation/basenav/basenav.component.js.map +1 -0
- package/components/navigation/basenav/basenav.props.js +18 -0
- package/components/navigation/basenav/basenav.props.js.map +1 -0
- package/components/navigation/basenav/basenav.styles.js +11 -0
- package/components/navigation/basenav/basenav.styles.js.map +1 -0
- package/components/navigation/menu/menu.component.js +66 -0
- package/components/navigation/menu/menu.component.js.map +1 -0
- package/components/navigation/menu/menu.props.js +15 -0
- package/components/navigation/menu/menu.props.js.map +1 -0
- package/components/navigation/menu/menu.styles.js +70 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navbar/navbar.component.js +78 -0
- package/components/navigation/navbar/navbar.component.js.map +1 -0
- package/components/navigation/navbar/navbar.props.js +16 -0
- package/components/navigation/navbar/navbar.props.js.map +1 -0
- package/components/navigation/navbar/navbar.styles.js +41 -0
- package/components/navigation/navbar/navbar.styles.js.map +1 -0
- package/components/navigation/navitem/navitem.component.js +70 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.props.js +19 -0
- package/components/navigation/navitem/navitem.props.js.map +1 -0
- package/components/navigation/navitem/navitem.styles.js +80 -0
- package/components/navigation/navitem/navitem.styles.js.map +1 -0
- package/components/navigation/popover/popover.component.js +220 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.props.js +34 -0
- package/components/navigation/popover/popover.props.js.map +1 -0
- package/components/navigation/popover/popover.styles.js +92 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/content/content.component.js +16 -0
- package/components/page/content/content.component.js.map +1 -0
- package/components/page/content/content.props.js +2 -0
- package/components/page/content/content.props.js.map +1 -0
- package/components/page/content/content.styles.js +13 -0
- package/components/page/content/content.styles.js.map +1 -0
- package/components/page/left-panel/left-panel.component.js +64 -0
- package/components/page/left-panel/left-panel.component.js.map +1 -0
- package/components/page/left-panel/left-panel.props.js +12 -0
- package/components/page/left-panel/left-panel.props.js.map +1 -0
- package/components/page/left-panel/left-panel.styles.js +18 -0
- package/components/page/left-panel/left-panel.styles.js.map +1 -0
- package/components/page/page-content/page-content.component.js +207 -0
- package/components/page/page-content/page-content.component.js.map +1 -0
- package/components/page/page-content/page-content.props.js +18 -0
- package/components/page/page-content/page-content.props.js.map +1 -0
- package/components/page/page-content/page-content.styles.js +20 -0
- package/components/page/page-content/page-content.styles.js.map +1 -0
- package/components/page/page.component.js +48 -0
- package/components/page/page.component.js.map +1 -0
- package/components/page/page.props.js +15 -0
- package/components/page/page.props.js.map +1 -0
- package/components/page/page.styles.js +24 -0
- package/components/page/page.styles.js.map +1 -0
- package/components/page/partial/partial.component.js +42 -0
- package/components/page/partial/partial.component.js.map +1 -0
- package/components/page/partial/partial.props.js +2 -0
- package/components/page/partial/partial.props.js.map +1 -0
- package/components/page/partial/partial.styles.js +18 -0
- package/components/page/partial/partial.styles.js.map +1 -0
- package/components/page/partial-container/partial-container.component.js +35 -0
- package/components/page/partial-container/partial-container.component.js.map +1 -0
- package/components/page/partial-container/partial-container.props.js +13 -0
- package/components/page/partial-container/partial-container.props.js.map +1 -0
- package/components/page/partial-container/partial-container.styles.js +14 -0
- package/components/page/partial-container/partial-container.styles.js.map +1 -0
- package/components/page/tabbar/curve.js +84 -0
- package/components/page/tabbar/curve.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js +258 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/components/page/tabbar/tabbar.props.js +29 -0
- package/components/page/tabbar/tabbar.props.js.map +1 -0
- package/components/page/tabbar/tabbar.styles.js +160 -0
- package/components/page/tabbar/tabbar.styles.js.map +1 -0
- package/components/prefab/prefab-container.component.js +42 -0
- package/components/prefab/prefab-container.component.js.map +1 -0
- package/components/prefab/prefab-container.props.js +2 -0
- package/components/prefab/prefab-container.props.js.map +1 -0
- package/components/prefab/prefab-container.styles.js +16 -0
- package/components/prefab/prefab-container.styles.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.component.js +322 -0
- package/components-prism/advanced/carousel/carousel.component.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.props.js +24 -0
- package/components-prism/advanced/carousel/carousel.props.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.styles.js +179 -0
- package/components-prism/advanced/carousel/carousel.styles.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.component.js +227 -0
- package/components-prism/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.props.js +20 -0
- package/components-prism/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.styles.js +43 -0
- package/components-prism/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.component.js +80 -0
- package/components-prism/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.props.js +19 -0
- package/components-prism/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.styles.js +82 -0
- package/components-prism/basic/progress-circle/progress-circle.styles.js.map +1 -0
- package/components-prism/data/list/list-template/list-template.styles.js +27 -0
- package/components-prism/data/list/list-template/list-template.styles.js.map +1 -0
- package/components-prism/input/slider/Thumb.js +35 -0
- package/components-prism/input/slider/Thumb.js.map +1 -0
- package/components-prism/input/slider/slider.component.js +108 -0
- package/components-prism/input/slider/slider.component.js.map +1 -0
- package/components-prism/input/slider/slider.props.js +20 -0
- package/components-prism/input/slider/slider.props.js.map +1 -0
- package/components-prism/input/slider/slider.styles.js +135 -0
- package/components-prism/input/slider/slider.styles.js.map +1 -0
- package/components-prism/input/slider/withSlider.js +339 -0
- package/components-prism/input/slider/withSlider.js.map +1 -0
- package/core/AppConfig.js +2 -0
- package/core/AppConfig.js.map +1 -0
- package/core/accessibility.js +195 -0
- package/core/accessibility.js.map +1 -0
- package/core/advanced-promise-rejection-tracker.js +208 -0
- package/core/advanced-promise-rejection-tracker.js.map +1 -0
- package/core/asset.provider.js +5 -0
- package/core/asset.provider.js.map +1 -0
- package/core/auto-layout-host.component.js +31 -0
- package/core/auto-layout-host.component.js.map +1 -0
- package/core/auto-layout.utils.js +250 -0
- package/core/auto-layout.utils.js.map +1 -0
- package/core/base.component.js +671 -0
- package/core/base.component.js.map +1 -0
- package/core/components/error-fallback/error-fallback.component.js +172 -0
- package/core/components/error-fallback/error-fallback.component.js.map +1 -0
- package/core/components/error-fallback/error-fallback.styles.js +227 -0
- package/core/components/error-fallback/error-fallback.styles.js.map +1 -0
- package/core/components/floatinglabel.component.js +86 -0
- package/core/components/floatinglabel.component.js.map +1 -0
- package/core/components/sticky-base.component.js +54 -0
- package/core/components/sticky-base.component.js.map +1 -0
- package/core/components/sticky-container.component.js +34 -0
- package/core/components/sticky-container.component.js.map +1 -0
- package/core/components/sticky-container.styles.js +98 -0
- package/core/components/sticky-container.styles.js.map +1 -0
- package/core/components/sticky-nav.component.js +28 -0
- package/core/components/sticky-nav.component.js.map +1 -0
- package/core/components/textinput.component.js +226 -0
- package/core/components/textinput.component.js.map +1 -0
- package/core/components-prism/progress-circle.js +217 -0
- package/core/components-prism/progress-circle.js.map +1 -0
- package/core/constant.service.js +22 -0
- package/core/constant.service.js.map +1 -0
- package/core/constants/currency-constants.js +1066 -0
- package/core/constants/currency-constants.js.map +1 -0
- package/core/currency-constants.js +1065 -0
- package/core/currency-constants.js.map +1 -0
- package/core/device/av-service.js +8 -0
- package/core/device/av-service.js.map +1 -0
- package/core/device/calendar-service.js +8 -0
- package/core/device/calendar-service.js.map +1 -0
- package/core/device/camera-service.js +11 -0
- package/core/device/camera-service.js.map +1 -0
- package/core/device/contacts-service.js +8 -0
- package/core/device/contacts-service.js.map +1 -0
- package/core/device/fileupload-service.js +8 -0
- package/core/device/fileupload-service.js.map +1 -0
- package/core/device/location-service.js +8 -0
- package/core/device/location-service.js.map +1 -0
- package/core/device/openfile-service.js +10 -0
- package/core/device/openfile-service.js.map +1 -0
- package/core/device/scan-service.js +11 -0
- package/core/device/scan-service.js.map +1 -0
- package/core/display.manager.js +5 -0
- package/core/display.manager.js.map +1 -0
- package/core/error-boundary.component.js +64 -0
- package/core/error-boundary.component.js.map +1 -0
- package/core/event-notifier.js +69 -0
- package/core/event-notifier.js.map +1 -0
- package/core/file-extension-types.js +70 -0
- package/core/file-extension-types.js.map +1 -0
- package/core/fixed-view.component.js +94 -0
- package/core/fixed-view.component.js.map +1 -0
- package/core/formatters.js +70 -0
- package/core/formatters.js.map +1 -0
- package/core/global-error-handler.service.js +103 -0
- package/core/global-error-handler.service.js.map +1 -0
- package/core/i18n.service.js +2 -0
- package/core/i18n.service.js.map +1 -0
- package/core/if.component.js +35 -0
- package/core/if.component.js.map +1 -0
- package/core/imageSizeEstimator.js +51 -0
- package/core/imageSizeEstimator.js.map +1 -0
- package/core/injector.js +27 -0
- package/core/injector.js.map +1 -0
- package/core/key.extractor.js +21 -0
- package/core/key.extractor.js.map +1 -0
- package/core/logger.js +123 -0
- package/core/logger.js.map +1 -0
- package/core/modal.service.js +5 -0
- package/core/modal.service.js.map +1 -0
- package/core/navigation.service.js +70 -0
- package/core/navigation.service.js.map +1 -0
- package/core/network.service.js +327 -0
- package/core/network.service.js.map +1 -0
- package/core/partial.service.js +5 -0
- package/core/partial.service.js.map +1 -0
- package/core/props.provider.js +88 -0
- package/core/props.provider.js.map +1 -0
- package/core/responsive.utils.js +51 -0
- package/core/responsive.utils.js.map +1 -0
- package/core/screen-capture-protection.service.js +5 -0
- package/core/screen-capture-protection.service.js.map +1 -0
- package/core/scroll-view.component.js +52 -0
- package/core/scroll-view.component.js.map +1 -0
- package/core/secure-storage.service.js +55 -0
- package/core/secure-storage.service.js.map +1 -0
- package/core/security.service.js +5 -0
- package/core/security.service.js.map +1 -0
- package/core/spinner.service.js +5 -0
- package/core/spinner.service.js.map +1 -0
- package/core/sticky-view.component.js +51 -0
- package/core/sticky-view.component.js.map +1 -0
- package/core/sticky-wrapper.js +133 -0
- package/core/sticky-wrapper.js.map +1 -0
- package/core/storage.service.js +38 -0
- package/core/storage.service.js.map +1 -0
- package/core/tappable.component.js +163 -0
- package/core/tappable.component.js.map +1 -0
- package/core/testid.provider.js +5 -0
- package/core/testid.provider.js.map +1 -0
- package/core/toast.service.js +5 -0
- package/core/toast.service.js.map +1 -0
- package/core/ui-preferences.context.js +10 -0
- package/core/ui-preferences.context.js.map +1 -0
- package/core/utils.js +867 -0
- package/core/utils.js.map +1 -0
- package/core/viewport.js +45 -0
- package/core/viewport.js.map +1 -0
- package/core/wm-component-tree.js +58 -0
- package/core/wm-component-tree.js.map +1 -0
- package/gestures/carousel-swipe.animation.js +225 -0
- package/gestures/carousel-swipe.animation.js.map +1 -0
- package/gestures/swipe.animation.js +220 -0
- package/gestures/swipe.animation.js.map +1 -0
- package/gestures-prism/carousel.flatlist.js +349 -0
- package/gestures-prism/carousel.flatlist.js.map +1 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/npm-shrinkwrap.json +26212 -0
- package/package-lock.json +26212 -0
- package/package.json +291 -0
- package/runtime/App.js +763 -0
- package/runtime/App.js.map +1 -0
- package/runtime/App.navigator.js +113 -0
- package/runtime/App.navigator.js.map +1 -0
- package/runtime/base-customwidget.component.js +52 -0
- package/runtime/base-customwidget.component.js.map +1 -0
- package/runtime/base-fragment.component.js +418 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/base-page.component.js +233 -0
- package/runtime/base-page.component.js.map +1 -0
- package/runtime/base-partial.component.js +63 -0
- package/runtime/base-partial.component.js.map +1 -0
- package/runtime/base-prefab.component.js +87 -0
- package/runtime/base-prefab.component.js.map +1 -0
- package/runtime/lib-patch.js +25 -0
- package/runtime/lib-patch.js.map +1 -0
- package/runtime/memo.component.js +44 -0
- package/runtime/memo.component.js.map +1 -0
- package/runtime/navigator/drawer.navigator.js +41 -0
- package/runtime/navigator/drawer.navigator.js.map +1 -0
- package/runtime/navigator/stack.navigator.js +78 -0
- package/runtime/navigator/stack.navigator.js.map +1 -0
- package/runtime/platform.api.js +7 -0
- package/runtime/platform.api.js.map +1 -0
- package/runtime/services/app-display-manager.service.js +52 -0
- package/runtime/services/app-display-manager.service.js.map +1 -0
- package/runtime/services/app-i18n.service.js +89 -0
- package/runtime/services/app-i18n.service.js.map +1 -0
- package/runtime/services/app-modal.service.js +73 -0
- package/runtime/services/app-modal.service.js.map +1 -0
- package/runtime/services/app-security.service.js +256 -0
- package/runtime/services/app-security.service.js.map +1 -0
- package/runtime/services/app-spinner.service.js +74 -0
- package/runtime/services/app-spinner.service.js.map +1 -0
- package/runtime/services/app-toast.service.js +60 -0
- package/runtime/services/app-toast.service.js.map +1 -0
- package/runtime/services/device/calendar-service.js +95 -0
- package/runtime/services/device/calendar-service.js.map +1 -0
- package/runtime/services/device/camera-service.js +377 -0
- package/runtime/services/device/camera-service.js.map +1 -0
- package/runtime/services/device/contacts-service.js +34 -0
- package/runtime/services/device/contacts-service.js.map +1 -0
- package/runtime/services/device/location-service.js +16 -0
- package/runtime/services/device/location-service.js.map +1 -0
- package/runtime/services/device/permission-service.js +5 -0
- package/runtime/services/device/permission-service.js.map +1 -0
- package/runtime/services/device/permissions.js +45 -0
- package/runtime/services/device/permissions.js.map +1 -0
- package/runtime/services/device/scan-service.js +163 -0
- package/runtime/services/device/scan-service.js.map +1 -0
- package/runtime/services/partial.service.js +26 -0
- package/runtime/services/partial.service.js.map +1 -0
- package/runtime/services/webprocess.service.js +107 -0
- package/runtime/services/webprocess.service.js.map +1 -0
- package/runtime/watcher.js +147 -0
- package/runtime/watcher.js.map +1 -0
- package/styles/MediaQueryList.js +19 -0
- package/styles/MediaQueryList.js.map +1 -0
- package/styles/background.component.js +317 -0
- package/styles/background.component.js.map +1 -0
- package/styles/calc.js +165 -0
- package/styles/calc.js.map +1 -0
- package/styles/color-mix.js +82 -0
- package/styles/color-mix.js.map +1 -0
- package/styles/style-prop.validator.js +467 -0
- package/styles/style-prop.validator.js.map +1 -0
- package/styles/style-props.js +105 -0
- package/styles/style-props.js.map +1 -0
- package/styles/theme.js +725 -0
- package/styles/theme.js.map +1 -0
- package/styles/theme.variables.js +444 -0
- package/styles/theme.variables.js.map +1 -0
- package/variables/base-variable.js +125 -0
- package/variables/base-variable.js.map +1 -0
- package/variables/device/calendar/create-event.operation.js +53 -0
- package/variables/device/calendar/create-event.operation.js.map +1 -0
- package/variables/device/calendar/delete-event.operation.js +15 -0
- package/variables/device/calendar/delete-event.operation.js.map +1 -0
- package/variables/device/calendar/get-events.operation.js +15 -0
- package/variables/device/calendar/get-events.operation.js.map +1 -0
- package/variables/device/camera/capture-image.operation.js +13 -0
- package/variables/device/camera/capture-image.operation.js.map +1 -0
- package/variables/device/camera/capture-video.operation.js +12 -0
- package/variables/device/camera/capture-video.operation.js.map +1 -0
- package/variables/device/contacts/get-contacts.operation.js +15 -0
- package/variables/device/contacts/get-contacts.operation.js.map +1 -0
- package/variables/device/device/app-info.operation.js +13 -0
- package/variables/device/device/app-info.operation.js.map +1 -0
- package/variables/device/device/current-geo-position.operation.js +15 -0
- package/variables/device/device/current-geo-position.operation.js.map +1 -0
- package/variables/device/device/device-info.operation.js +12 -0
- package/variables/device/device/device-info.operation.js.map +1 -0
- package/variables/device/device/network-info.operation.js +33 -0
- package/variables/device/device/network-info.operation.js.map +1 -0
- package/variables/device/device/vibrate.operation.js +8 -0
- package/variables/device/device/vibrate.operation.js.map +1 -0
- package/variables/device/file/open-file.operation.js +71 -0
- package/variables/device/file/open-file.operation.js.map +1 -0
- package/variables/device/file/upload-file.operation.js +66 -0
- package/variables/device/file/upload-file.operation.js.map +1 -0
- package/variables/device/operation.provider.js +11 -0
- package/variables/device/operation.provider.js.map +1 -0
- package/variables/device/scan/scan.operation.js +15 -0
- package/variables/device/scan/scan.operation.js.map +1 -0
- package/variables/device-variable.js +28 -0
- package/variables/device-variable.js.map +1 -0
- package/variables/http.service.js +84 -0
- package/variables/http.service.js.map +1 -0
- package/variables/live-variable.js +130 -0
- package/variables/live-variable.js.map +1 -0
- package/variables/model-variable.js +47 -0
- package/variables/model-variable.js.map +1 -0
- package/variables/service-variable.js +143 -0
- package/variables/service-variable.js.map +1 -0
- package/variables/utils/dataset-util.js +139 -0
- package/variables/utils/dataset-util.js.map +1 -0
- package/variables/utils/inflight-queue.js +114 -0
- package/variables/utils/inflight-queue.js.map +1 -0
- package/variables/utils/variable.constants.js +22 -0
- package/variables/utils/variable.constants.js.map +1 -0
- package/variables/utils/variable.utils.js +189 -0
- package/variables/utils/variable.utils.js.map +1 -0
- package/wm-namespace.js +15 -0
- package/wm-namespace.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","minHeight","borderRadius","paddingTop","paddingBottom","paddingLeft","paddingRight","rippleColor","content","flexDirection","alignItems","justifyContent","text","fontSize","fontFamily","baseFont","fontWeight","textAlign","textTransform","badge","backgroundColor","buttonBadgeBackgroundColor","color","buttonBadgeTextColor","position","borderWidth","borderStyle","top","right","zIndex","icon","alignSelf","buttonTextPadding","skeleton","width","height","opacity","getButtonStyles","bgColor","borderColor","linkBtnStyle","buttonLinkColor","buttonLinkTextColor","buttonWithOnlyLabel","paddingVertical","textDecorationColor","textDecorationLine","textDecorationStyle","buttonDefaultColor","buttonDefaultTextColor","buttonBorderColor","buttonInfoColor","buttonInfoTextColor","buttonPrimaryColor","buttonPrimaryTextColor","buttonSecondaryColor","buttonSecondaryTextColor","buttonDangerColor","buttonDangerTextColor","buttonSuccessColor","buttonSuccessTextColor","buttonWarningColor","buttonWarningTextColor","buttonDarkColor","buttonDarkTextColor","buttonLightColor","buttonLightTextColor","getStyle","bottom","marginLeft","marginRight"],"sources":["button.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '../icon/icon.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtonStyles = BaseStyles & {\n content: AllStyle,\n badge: AllStyle,\n icon: WmIconStyles,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-button';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtonStyles = defineStyles<WmButtonStyles>({\n root: {\n minHeight: 40,\n borderRadius: 32,\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 24,\n paddingRight: 24,\n rippleColor: themeVariables.rippleColor\n },\n content: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center'\n },\n text: {\n fontSize: 14,\n fontFamily: themeVariables.baseFont,\n fontWeight: '500',\n textAlign: 'center',\n textTransform: 'capitalize',\n },\n badge: {\n backgroundColor: themeVariables.buttonBadgeBackgroundColor,\n color: themeVariables.buttonBadgeTextColor,\n position: 'absolute',\n borderWidth: 1,\n borderStyle: 'solid',\n top: -8,\n right: -12,\n zIndex: 1\n },\n icon: {\n root : {\n alignSelf: 'auto',\n paddingLeft: -8,\n paddingRight: -8\n },\n icon: {},\n text: {\n paddingRight: themeVariables.buttonTextPadding,\n fontSize: 16\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n opacity: 0.5\n }\n });\n\n const getButtonStyles = (bgColor: string, color: string, borderColor = bgColor) => {\n return {\n root: {\n borderWidth: 1,\n borderColor: borderColor,\n borderStyle: 'solid',\n backgroundColor: bgColor\n },\n text: {\n color: color\n },\n badge: {\n backgroundColor: color,\n color: bgColor,\n borderColor: bgColor\n },\n icon: {\n text: {\n color: color\n }\n }\n } as WmButtonStyles;\n }\n\n const linkBtnStyle = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\nconst buttonWithOnlyLabel = getButtonStyles(themeVariables.buttonLinkColor, themeVariables.buttonLinkTextColor );\n\n linkBtnStyle.root.paddingVertical = 4;\n linkBtnStyle.text.textDecorationColor = themeVariables.buttonLinkTextColor;\n linkBtnStyle.text.textDecorationLine = 'underline';\n linkBtnStyle.text.textDecorationStyle = 'solid';\n\n addStyle('btn-default', '', getButtonStyles(themeVariables.buttonDefaultColor, themeVariables.buttonDefaultTextColor, themeVariables.buttonBorderColor));\n addStyle('btn-info', '', getButtonStyles(themeVariables.buttonInfoColor, themeVariables.buttonInfoTextColor));\n addStyle('btn-primary', '', getButtonStyles(themeVariables.buttonPrimaryColor, themeVariables.buttonPrimaryTextColor));\n addStyle('btn-secondary', '', getButtonStyles(themeVariables.buttonSecondaryColor, themeVariables.buttonSecondaryTextColor, themeVariables.buttonSecondaryTextColor));\n addStyle('btn-danger', '', getButtonStyles(themeVariables.buttonDangerColor, themeVariables.buttonDangerTextColor));\n addStyle('btn-success', '', getButtonStyles(themeVariables.buttonSuccessColor, themeVariables.buttonSuccessTextColor));\n addStyle('btn-warning', '', getButtonStyles(themeVariables.buttonWarningColor, themeVariables.buttonWarningTextColor));\n addStyle('btn-link', '', linkBtnStyle);\n addStyle('btn-only-label', '', buttonWithOnlyLabel);\n addStyle('btn-dark', '', getButtonStyles(themeVariables.buttonDarkColor, themeVariables.buttonDarkTextColor));\n addStyle('btn-light', '', getButtonStyles(themeVariables.buttonLightColor, themeVariables.buttonLightTextColor));\n addStyle('fab-btn', 'btn-primary', {\n root : {\n ...BASE_THEME.getStyle('elevate2').root,\n position: 'fixed' as any,\n bottom: 160,\n right: 48,\n width: 56,\n height: 56,\n borderRadius: 56,\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n marginLeft: 0,\n marginRight: 0\n },\n icon: {\n icon: {\n fontSize: 24\n }\n } as WmIconStyles\n } as WmButtonStyles);\n addStyle('mini-fab-btn', 'fab-btn', {\n root : {\n width: 40,\n height: 40\n }\n } as WmButtonStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,2CAA2C;AAChF,SAAqBC,YAAY,QAAQ,kDAAkD;AAW3F,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAiB;IAC/DM,IAAI,EAAE;MACFC,SAAS,EAAE,EAAE;MACbC,YAAY,EAAE,EAAE;MAChBC,UAAU,EAAE,EAAE;MACdC,aAAa,EAAE,EAAE;MACjBC,WAAW,EAAE,EAAE;MACfC,YAAY,EAAE,EAAE;MAChBC,WAAW,EAAEV,cAAc,CAACU;IAChC,CAAC;IACDC,OAAO,EAAE;MACPC,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE;IAClB,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAEjB,cAAc,CAACkB,QAAQ;MACnCC,UAAU,EAAE,KAAK;MACjBC,SAAS,EAAE,QAAQ;MACnBC,aAAa,EAAE;IACjB,CAAC;IACDC,KAAK,EAAE;MACLC,eAAe,EAAEvB,cAAc,CAACwB,0BAA0B;MAC1DC,KAAK,EAAEzB,cAAc,CAAC0B,oBAAoB;MAC1CC,QAAQ,EAAE,UAAU;MACpBC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,GAAG,EAAE,CAAC,CAAC;MACPC,KAAK,EAAE,CAAC,EAAE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,QAAQ,CAAC,UAAU,EAAE,EAAE,EAAE0C,YAAY,CAAC;EACtC1C,QAAQ,CAAC,gBAAgB,EAAE,EAAE,EAAE6C,mBAAmB,CAAC;EACnD7C,QAAQ,CAAC,UAAU,EAAE,EAAE,EAAEuC,eAAe,CAACxC,cAAc,CAACkE,eAAe,EAAElE,cAAc,CAACmE,mBAAmB,CAAC,CAAC;EAC7GlE,QAAQ,CAAC,WAAW,EAAE,EAAE,EAAEuC,eAAe,CAACxC,cAAc,CAACoE,gBAAgB,EAAEpE,cAAc,CAACqE,oBAAoB,CAAC,CAAC;EAChHpE,QAAQ,CAAC,SAAS,EAAE,aAAa,EAAE;IACjCE,IAAI,EAAG;MACL,GAAGP,UAAU,CAAC0E,QAAQ,CAAC,UAAU,CAAC,CAACnE,IAAI;MACvCwB,QAAQ,EAAE,OAAc;MACxB4C,MAAM,EAAE,GAAG;MACXxC,KAAK,EAAE,EAAE;MACTM,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVjC,YAAY,EAAE,EAAE;MAChBS,cAAc,EAAE,QAAQ;MACxBD,UAAU,EAAE;IACd,CAAC;IACDE,IAAI,EAAE;MACJyD,UAAU,EAAE,CAAC;MACbC,WAAW,EAAE;IACf,CAAC;IACDxC,IAAI,EAAE;MACJA,IAAI,EAAE;QACJjB,QAAQ,EAAE;MACZ;IACF;EACF,CAAmB,CAAC;EACpBf,QAAQ,CAAC,cAAc,EAAE,SAAS,EAAE;IAClCE,IAAI,EAAG;MACLkC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV;EACF,CAAmB,CAAC;AACtB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
4
|
+
import WmButtongroupProps from './buttongroup.props';
|
|
5
|
+
import { DEFAULT_CLASS } from './buttongroup.styles';
|
|
6
|
+
import { createSkeleton } from '../skeleton/skeleton.component';
|
|
7
|
+
export class WmButtongroupState extends BaseComponentState {}
|
|
8
|
+
export default class WmButtongroup extends BaseComponent {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props, DEFAULT_CLASS, new WmButtongroupProps());
|
|
11
|
+
}
|
|
12
|
+
renderSkeleton(props) {
|
|
13
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
14
|
+
...this.styles.root,
|
|
15
|
+
width: this.props.skeletonwidth || this.styles.root.width,
|
|
16
|
+
height: this.props.skeletonheight || this.styles.root.height
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
renderWidget(props) {
|
|
20
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
21
|
+
style: [this.styles.root, {
|
|
22
|
+
flexDirection: props.vertical ? 'column' : 'row'
|
|
23
|
+
}],
|
|
24
|
+
onLayout: event => this.handleLayout(event)
|
|
25
|
+
}, this._background, props.children);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=buttongroup.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","BaseComponent","BaseComponentState","WmButtongroupProps","DEFAULT_CLASS","createSkeleton","WmButtongroupState","WmButtongroup","constructor","props","renderSkeleton","theme","styles","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","createElement","style","flexDirection","vertical","onLayout","event","handleLayout","_background","children"],"sources":["buttongroup.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmButtongroupProps from './buttongroup.props';\nimport { DEFAULT_CLASS, WmButtongroupStyles } from './buttongroup.styles';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmButtongroupState extends BaseComponentState<WmButtongroupProps> {}\n\nexport default class WmButtongroup extends BaseComponent<WmButtongroupProps, WmButtongroupState, WmButtongroupStyles> {\n\n constructor(props: WmButtongroupProps) {\n super(props, DEFAULT_CLASS, new WmButtongroupProps());\n }\n\n public renderSkeleton(props: WmButtongroupProps){\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmButtongroupProps) {\n return (\n <View\n style={[this.styles.root, {flexDirection: props.vertical ? 'column': 'row'}]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n {props.children}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,QAAQ,cAAc;AACnD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,kBAAkB,MAAM,qBAAqB;AACpD,SAASC,aAAa,QAA6B,sBAAsB;AACzE,SAAqBC,cAAc,QAAQ,gCAAgC;AAE3E,OAAO,MAAMC,kBAAkB,SAASJ,kBAAkB,CAAqB;AAE/E,eAAe,MAAMK,aAAa,SAASN,aAAa,CAA8D;EAEpHO,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;EACvD;EAEOO,cAAcA,CAACD,KAAyB,EAAC;IAC9C,OAAOJ,cAAc,CAAC,IAAI,CAACM,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,QAAQ,EAAE;MACtD,GAAG,IAAI,CAACD,MAAM,CAACE,IAAI;MACnBC,KAAK,EAAG,IAAI,CAACN,KAAK,CAACO,aAAa,IAAI,IAAI,CAACJ,MAAM,CAACE,IAAI,CAACC,KAAwB;MAC7EE,MAAM,EAAG,IAAI,CAACR,KAAK,CAACS,cAAc,IAAI,IAAI,CAACN,MAAM,CAACE,IAAI,CAACG;IACzD,CAAC,CAAC;EACJ;EAEAE,YAAYA,CAACV,KAAyB,EAAE;IACtC,oBACEV,KAAA,CAAAqB,aAAA,CAACpB,IAAI;MACHqB,KAAK,EAAE,CAAC,IAAI,CAACT,MAAM,CAACE,IAAI,EAAE;QAACQ,aAAa,EAAEb,KAAK,CAACc,QAAQ,GAAG,QAAQ,GAAE;MAAK,CAAC,CAAE;MAC7EC,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;IAAE,GAE7C,IAAI,CAACE,WAAW,EAChBlB,KAAK,CAACmB,QACH,CAAC;EAEX;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
|
+
import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class WmButtongroupProps extends BaseProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "children", void 0);
|
|
9
|
+
_defineProperty(this, "vertical", null);
|
|
10
|
+
_defineProperty(this, "skeletonheight", null);
|
|
11
|
+
_defineProperty(this, "skeletonwidth", null);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=buttongroup.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmButtongroupProps","constructor","args","_defineProperty"],"sources":["buttongroup.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmButtongroupProps extends BaseProps {\n children?: any;\n vertical: boolean = null as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,kBAAkB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;IAAAA,eAAA,mBAEpC,IAAI;IAAAA,eAAA,yBACE,IAAI;IAAAA,eAAA,wBACL,IAAI;EAAA;AAC/B","ignoreList":[]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
|
|
2
|
+
import { defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
3
|
+
export const DEFAULT_CLASS = 'app-buttongroup';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
alignSelf: 'flex-start',
|
|
9
|
+
alignItems: 'center',
|
|
10
|
+
borderRadius: 100,
|
|
11
|
+
borderWidth: 1,
|
|
12
|
+
borderStyle: 'solid',
|
|
13
|
+
borderColor: themeVariables.buttonGrpBorderColor,
|
|
14
|
+
backgroundColor: themeVariables.buttonGrpBgColor,
|
|
15
|
+
overflow: 'hidden'
|
|
16
|
+
},
|
|
17
|
+
text: {},
|
|
18
|
+
skeleton: {
|
|
19
|
+
root: {
|
|
20
|
+
width: '100%',
|
|
21
|
+
height: 48,
|
|
22
|
+
borderRadius: 4,
|
|
23
|
+
borderColor: themeVariables.buttonGrpBorderColor
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
addStyle('btn-group-child', '', {
|
|
28
|
+
root: {
|
|
29
|
+
borderTopWidth: 0,
|
|
30
|
+
borderBottomWidth: 0,
|
|
31
|
+
borderLeftWidth: 1,
|
|
32
|
+
borderRightWidth: 0,
|
|
33
|
+
borderRadius: 0,
|
|
34
|
+
backgroundColor: 'transparent',
|
|
35
|
+
flex: 1,
|
|
36
|
+
borderColor: themeVariables.buttonGrpBorderColor
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
addStyle('btn-group-first-child', '', {
|
|
40
|
+
root: {
|
|
41
|
+
borderLeftWidth: 0,
|
|
42
|
+
borderTopLeftRadius: 28,
|
|
43
|
+
borderBottomLeftRadius: 28,
|
|
44
|
+
backgroundColor: 'transparent',
|
|
45
|
+
borderColor: themeVariables.buttonGrpBorderColor
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
addStyle('btn-group-last-child', '', {
|
|
49
|
+
root: {
|
|
50
|
+
borderRightWidth: 0,
|
|
51
|
+
borderTopRightRadius: 28,
|
|
52
|
+
borderBottomRightRadius: 28,
|
|
53
|
+
backgroundColor: 'transparent',
|
|
54
|
+
borderColor: themeVariables.buttonGrpBorderColor
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=buttongroup.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","borderRadius","borderWidth","borderStyle","borderColor","buttonGrpBorderColor","backgroundColor","buttonGrpBgColor","overflow","text","skeleton","width","height","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","flex","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius"],"sources":["buttongroup.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '../button/button.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtongroupStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-buttongroup';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtongroupStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center',\n borderRadius: 100,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.buttonGrpBorderColor,\n backgroundColor: themeVariables.buttonGrpBgColor,\n overflow: 'hidden'\n },\n text: {},\n skeleton: {\n root : {\n width: '100%',\n height: 48,\n borderRadius: 4,\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as any as WmSkeletonStyles\n });\n\n\n addStyle('btn-group-child', '', {\n root: {\n borderTopWidth: 0,\n borderBottomWidth: 0,\n borderLeftWidth: 1,\n borderRightWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n flex: 1,\n borderColor: themeVariables.buttonGrpBorderColor,\n },\n } as WmButtonStyles);\n addStyle('btn-group-first-child', '', {\n root: {\n borderLeftWidth: 0,\n borderTopLeftRadius: 28,\n borderBottomLeftRadius: 28,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle('btn-group-last-child', '', {\n root: {\n borderRightWidth: 0,\n borderTopRightRadius: 28,\n borderBottomRightRadius: 28,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAQ3F,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAkC,GAAGL,YA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,cAAc,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
3
|
+
import WmCustomProps from './custom.props';
|
|
4
|
+
import { DEFAULT_CLASS } from './custom.styles';
|
|
5
|
+
import { View } from 'react-native';
|
|
6
|
+
import { createSkeleton } from '../skeleton/skeleton.component';
|
|
7
|
+
export class WmCustomState extends BaseComponentState {}
|
|
8
|
+
export default class WmCustom extends BaseComponent {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props, DEFAULT_CLASS, new WmCustomProps(), new WmCustomState());
|
|
11
|
+
}
|
|
12
|
+
renderSkeleton(prop) {
|
|
13
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
14
|
+
...this.styles.root,
|
|
15
|
+
width: this.props.skeletonwidth || this.styles.root.width,
|
|
16
|
+
height: this.props.skeletonheight || this.styles.root.height
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
renderWidget(props) {
|
|
20
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
21
|
+
style: this.styles.root,
|
|
22
|
+
onLayout: event => this.handleLayout(event)
|
|
23
|
+
}, this._background, props.renderview(props));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=custom.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","BaseComponent","BaseComponentState","WmCustomProps","DEFAULT_CLASS","View","createSkeleton","WmCustomState","WmCustom","constructor","props","renderSkeleton","prop","theme","styles","skeleton","root","width","skeletonwidth","height","skeletonheight","renderWidget","createElement","style","onLayout","event","handleLayout","_background","renderview"],"sources":["custom.component.tsx"],"sourcesContent":["import React from 'react';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport WmCustomProps from './custom.props';\nimport { DEFAULT_CLASS, WmCustomStyles } from './custom.styles';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { createSkeleton } from '../skeleton/skeleton.component';\n\n\nexport class WmCustomState extends BaseComponentState<WmCustomProps> { }\n\nexport default class WmCustom extends BaseComponent<WmCustomProps, WmCustomState, WmCustomStyles> {\n\n constructor(props: WmCustomProps) {\n super(props, DEFAULT_CLASS, new WmCustomProps(), new WmCustomState());\n }\n\n public renderSkeleton(prop: WmCustomProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.styles.root.height) as DimensionValue\n });\n }\n\n renderWidget(props: WmCustomProps) {\n return (\n <View\n style={this.styles.root}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n {props.renderview(props)}\n </View>\n );\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,SAA+BC,IAAI,QAAQ,cAAc;AACzD,SAASC,cAAc,QAAQ,gCAAgC;AAG/D,OAAO,MAAMC,aAAa,SAASL,kBAAkB,CAAgB;AAErE,eAAe,MAAMM,QAAQ,SAASP,aAAa,CAA+C;EAEhGQ,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,aAAa,CAAC,CAAC,EAAE,IAAII,aAAa,CAAC,CAAC,CAAC;EACvE;EAEOI,cAAcA,CAACC,IAAmB,EAAE;IACzC,OAAON,cAAc,CAAC,IAAI,CAACO,KAAK,EAAE,IAAI,CAACC,MAAM,CAACC,QAAQ,EAAE;MACtD,GAAG,IAAI,CAACD,MAAM,CAACE,IAAI;MACnBC,KAAK,EAAG,IAAI,CAACP,KAAK,CAACQ,aAAa,IAAI,IAAI,CAACJ,MAAM,CAACE,IAAI,CAACC,KAAwB;MAC7EE,MAAM,EAAG,IAAI,CAACT,KAAK,CAACU,cAAc,IAAI,IAAI,CAACN,MAAM,CAACE,IAAI,CAACG;IACzD,CAAC,CAAC;EACJ;EAEAE,YAAYA,CAACX,KAAoB,EAAE;IACjC,oBACEV,KAAA,CAAAsB,aAAA,CAACjB,IAAI;MACHkB,KAAK,EAAE,IAAI,CAACT,MAAM,CAACE,IAAK;MACxBQ,QAAQ,EAAGC,KAAK,IAAK,IAAI,CAACC,YAAY,CAACD,KAAK;IAAE,GAE7C,IAAI,CAACE,WAAW,EAChBjB,KAAK,CAACkB,UAAU,CAAClB,KAAK,CACnB,CAAC;EAEX;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
|
+
import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class WmCustomProps extends BaseProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "renderview", () => {
|
|
9
|
+
return null;
|
|
10
|
+
});
|
|
11
|
+
_defineProperty(this, "children", null);
|
|
12
|
+
_defineProperty(this, "skeletonheight", null);
|
|
13
|
+
_defineProperty(this, "skeletonwidth", null);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=custom.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmCustomProps","constructor","args","_defineProperty"],"sources":["custom.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmCustomProps extends BaseProps {\n renderview:Function = () => {return null};\n children? = null as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBAC3B,MAAM;MAAC,OAAO,IAAI;IAAA,CAAC;IAAAA,eAAA,mBAC7B,IAAI;IAAAA,eAAA,yBACU,IAAI;IAAAA,eAAA,wBACL,IAAI;EAAA;AACjC","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
|
|
2
|
+
import { defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
3
|
+
export const DEFAULT_CLASS = 'app-custom';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {},
|
|
7
|
+
text: {},
|
|
8
|
+
skeleton: {
|
|
9
|
+
root: {
|
|
10
|
+
width: 96,
|
|
11
|
+
height: 48,
|
|
12
|
+
borderRadius: 4
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=custom.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","skeleton","width","height","borderRadius"],"sources":["custom.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\n\nexport type WmCustomStyles = BaseStyles & {\n skeleton: WmSkeletonStyles;\n}\n\nexport const DEFAULT_CLASS = 'app-custom';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles = defineStyles<WmCustomStyles>({\n root: {},\n text: {},\n skeleton: {\n root: {\n width: 96,\n height: 48,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,2CAA2C;AAClE,SAAqBC,YAAY,QAAQ,kDAAkD;AAQ3F,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAa,GAAGL,YAAY,CAAiB;IAC/CM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACNF,IAAI,EAAE;QACJG,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAChB;IACF;EACN,CAAC,CAAC;EACFP,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC9C,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
3
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
4
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { Animated, Easing, Text, Image, View } from 'react-native';
|
|
7
|
+
import { FontAwesome } from '@expo/vector-icons';
|
|
8
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
9
|
+
import { isFullPathUrl } from '@wavemaker-ai/app-rn-runtime/core/utils';
|
|
10
|
+
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker-ai/app-rn-runtime/core/accessibility';
|
|
11
|
+
import WmIconProps from './icon.props';
|
|
12
|
+
import { DEFAULT_CLASS } from './icon.styles';
|
|
13
|
+
import WavIcon from './wavicon/wavicon.component';
|
|
14
|
+
import StreamlineLightIcon from './streamline-light-icon/streamline-light-icon.component';
|
|
15
|
+
import StreamlineRegularIcon from './streamline-regular-icon/streamline-regular-icon.component';
|
|
16
|
+
import { Tappable } from '@wavemaker-ai/app-rn-runtime/core/tappable.component';
|
|
17
|
+
import { Animatedview } from '@wavemaker-ai/app-rn-runtime/components/basic/animatedview.component';
|
|
18
|
+
import { createSkeleton } from '../skeleton/skeleton.component';
|
|
19
|
+
const ICON_SIZES = new Map([['fa-lg', 24], ['fa-2x', 36], ['fa-3x', 48], ['fa-4x', 60], ['fa-5x', 72]]);
|
|
20
|
+
const ICON_ROTATTION = new Map([['fa-rotate-90', '90deg'], ['fa-rotate-180', '180deg'], ['fa-rotate-270', '270deg']]);
|
|
21
|
+
export class WmIconState extends BaseComponentState {
|
|
22
|
+
constructor(...args) {
|
|
23
|
+
super(...args);
|
|
24
|
+
_defineProperty(this, "iconDef", {});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export default class WmIcon extends BaseComponent {
|
|
28
|
+
constructor(props) {
|
|
29
|
+
super(props, DEFAULT_CLASS, new WmIconProps());
|
|
30
|
+
_defineProperty(this, "spinValue", new Animated.Value(0));
|
|
31
|
+
_defineProperty(this, "pulseValue", new Animated.Value(0));
|
|
32
|
+
_defineProperty(this, "stopAnimation", true);
|
|
33
|
+
_defineProperty(this, "_iconSource", null);
|
|
34
|
+
}
|
|
35
|
+
getIconDef(iconClass) {
|
|
36
|
+
const iconDef = {
|
|
37
|
+
rotate: '0'
|
|
38
|
+
};
|
|
39
|
+
const splits = iconClass.split(' ');
|
|
40
|
+
iconDef.isFontAwesome = !!splits.find(v => v === 'fa');
|
|
41
|
+
iconDef.isStreamlineLightIcon = !!splits.find(v => v === 'wm-sl-l');
|
|
42
|
+
iconDef.isStreamlineRegularIcon = !!splits.find(v => v === 'wm-sl-r');
|
|
43
|
+
if (iconDef.isFontAwesome) {
|
|
44
|
+
var _splits$find;
|
|
45
|
+
iconDef.type = ((_splits$find = splits.find(v => v.startsWith('fa-'))) === null || _splits$find === void 0 ? void 0 : _splits$find.substring(3)) || '';
|
|
46
|
+
} else if (iconDef.isStreamlineLightIcon) {
|
|
47
|
+
var _splits$find2;
|
|
48
|
+
iconDef.type = ((_splits$find2 = splits.find(v => v.startsWith('sl-'))) === null || _splits$find2 === void 0 ? void 0 : _splits$find2.substring(3)) || '';
|
|
49
|
+
} else if (iconDef.isStreamlineRegularIcon) {
|
|
50
|
+
var _splits$find3;
|
|
51
|
+
iconDef.type = ((_splits$find3 = splits.find(v => v.startsWith('sl-'))) === null || _splits$find3 === void 0 ? void 0 : _splits$find3.substring(3)) || '';
|
|
52
|
+
} else {
|
|
53
|
+
var _splits$find4;
|
|
54
|
+
iconDef.isWavIcon = !iconDef.isFontAwesome && !!splits.find(v => v === 'wi');
|
|
55
|
+
iconDef.type = iconDef.isWavIcon && ((_splits$find4 = splits.find(v => v.startsWith('wi-'))) === null || _splits$find4 === void 0 ? void 0 : _splits$find4.substring(3)) || '';
|
|
56
|
+
}
|
|
57
|
+
if (iconClass.indexOf('fa-spin') >= 0) {
|
|
58
|
+
iconDef.animation = 'spin';
|
|
59
|
+
} else if (iconClass.indexOf('fa-pulse') >= 0) {
|
|
60
|
+
iconDef.animation = 'pulse';
|
|
61
|
+
}
|
|
62
|
+
iconDef.size = splits.map(v => ICON_SIZES.get(v)).find(v => !!v) || 12;
|
|
63
|
+
iconDef.rotate = splits.map(v => ICON_ROTATTION.get(v)).find(v => !!v) || '0deg';
|
|
64
|
+
return iconDef;
|
|
65
|
+
}
|
|
66
|
+
spin() {
|
|
67
|
+
if (this.stopAnimation) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
this.spinValue.setValue(0);
|
|
71
|
+
Animated.timing(this.spinValue, {
|
|
72
|
+
toValue: 1,
|
|
73
|
+
duration: 1000,
|
|
74
|
+
easing: Easing.linear,
|
|
75
|
+
useNativeDriver: true
|
|
76
|
+
}).start(() => this.spin());
|
|
77
|
+
}
|
|
78
|
+
componentDidMount() {
|
|
79
|
+
super.componentDidMount();
|
|
80
|
+
this.spin();
|
|
81
|
+
}
|
|
82
|
+
componentWillUnmount() {
|
|
83
|
+
super.componentWillUnmount();
|
|
84
|
+
this.stopAnimation = true;
|
|
85
|
+
}
|
|
86
|
+
onPropertyChange(name, $new, $old) {
|
|
87
|
+
super.onPropertyChange(name, $new, $old);
|
|
88
|
+
switch (name) {
|
|
89
|
+
case 'iconclass':
|
|
90
|
+
$new && this.updateState({
|
|
91
|
+
iconDef: this.getIconDef($new)
|
|
92
|
+
});
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
getCustomIcon(props, style) {
|
|
97
|
+
var _this$theme$getStyle;
|
|
98
|
+
const customIcon = this.theme.mergeStyle({}, ((_this$theme$getStyle = this.theme.getStyle((props === null || props === void 0 ? void 0 : props.iconclass) || '')) === null || _this$theme$getStyle === void 0 ? void 0 : _this$theme$getStyle.icon) || this.styles.icon);
|
|
99
|
+
const customIconContent = customIcon === null || customIcon === void 0 ? void 0 : customIcon.content;
|
|
100
|
+
if (customIconContent) {
|
|
101
|
+
delete customIcon.content;
|
|
102
|
+
return /*#__PURE__*/React.createElement(Text, {
|
|
103
|
+
style: [style, customIcon.fontFamily ? {
|
|
104
|
+
fontFamily: customIcon.fontFamily
|
|
105
|
+
} : null]
|
|
106
|
+
}, decodeURIComponent(customIconContent));
|
|
107
|
+
}
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
|
+
renderSkeleton(props) {
|
|
111
|
+
let skeletonWidth = this.props.skeletonwidth || this.props.iconsize || this.styles.root.width;
|
|
112
|
+
let skeletonHeight = this.props.skeletonheight || this.props.iconsize || this.styles.root.height;
|
|
113
|
+
if (this.props.skeletonheight == "0") {
|
|
114
|
+
skeletonWidth = 0;
|
|
115
|
+
}
|
|
116
|
+
if (this.props.skeletonheight == "0") {
|
|
117
|
+
skeletonHeight = 0;
|
|
118
|
+
}
|
|
119
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
120
|
+
...this.styles.root,
|
|
121
|
+
width: skeletonWidth,
|
|
122
|
+
height: skeletonHeight
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
getElementToShow(props, iconSrc) {
|
|
126
|
+
var _this$styles$image, _this$styles$image2, _this$styles$image3;
|
|
127
|
+
const {
|
|
128
|
+
iconmargin,
|
|
129
|
+
iconheight,
|
|
130
|
+
iconwidth
|
|
131
|
+
} = props;
|
|
132
|
+
let width, height;
|
|
133
|
+
let elementToshow, source;
|
|
134
|
+
if (iconwidth) width = iconwidth;else if (iconheight) width = iconheight;else width = ((_this$styles$image = this.styles.image) === null || _this$styles$image === void 0 ? void 0 : _this$styles$image.width) || 12;
|
|
135
|
+
if (iconheight) height = iconheight;else if (iconwidth) height = iconwidth;else height = ((_this$styles$image2 = this.styles.image) === null || _this$styles$image2 === void 0 ? void 0 : _this$styles$image2.height) || 12;
|
|
136
|
+
if (isFullPathUrl(iconSrc)) {
|
|
137
|
+
source = {
|
|
138
|
+
uri: iconSrc
|
|
139
|
+
};
|
|
140
|
+
} else {
|
|
141
|
+
source = iconSrc;
|
|
142
|
+
}
|
|
143
|
+
elementToshow = /*#__PURE__*/React.createElement(Image, {
|
|
144
|
+
testID: this.getTestId('icon'),
|
|
145
|
+
style: {
|
|
146
|
+
margin: iconmargin !== null && iconmargin !== void 0 ? iconmargin : 0,
|
|
147
|
+
height: height,
|
|
148
|
+
width: width,
|
|
149
|
+
borderRadius: ((_this$styles$image3 = this.styles.image) === null || _this$styles$image3 === void 0 ? void 0 : _this$styles$image3.borderRadius) || 0
|
|
150
|
+
},
|
|
151
|
+
source: source
|
|
152
|
+
});
|
|
153
|
+
return elementToshow;
|
|
154
|
+
}
|
|
155
|
+
loadIcon(iconImage) {
|
|
156
|
+
if (!iconImage || !this.loadAsset) {
|
|
157
|
+
return null;
|
|
158
|
+
}
|
|
159
|
+
const iconImageSrc = this.loadAsset(iconImage);
|
|
160
|
+
if (iconImageSrc && typeof iconImageSrc !== 'function') {
|
|
161
|
+
return iconImageSrc;
|
|
162
|
+
}
|
|
163
|
+
return null;
|
|
164
|
+
}
|
|
165
|
+
renderIcon(props) {
|
|
166
|
+
let iconJsx = null;
|
|
167
|
+
this._iconSource = this._iconSource || this.loadIcon(props.iconurl);
|
|
168
|
+
const iconSrc = this._iconSource;
|
|
169
|
+
if (iconSrc) {
|
|
170
|
+
return this.getElementToShow(props, iconSrc);
|
|
171
|
+
}
|
|
172
|
+
const iconDef = this.state.iconDef;
|
|
173
|
+
if (!iconDef) {
|
|
174
|
+
return null;
|
|
175
|
+
}
|
|
176
|
+
const {
|
|
177
|
+
root,
|
|
178
|
+
text,
|
|
179
|
+
icon
|
|
180
|
+
} = this.styles;
|
|
181
|
+
const style = [{
|
|
182
|
+
color: root.color || text.color
|
|
183
|
+
}, icon, {
|
|
184
|
+
transform: [{
|
|
185
|
+
rotate: iconDef.rotate
|
|
186
|
+
}]
|
|
187
|
+
}];
|
|
188
|
+
const customIcon = this.getCustomIcon(props, style);
|
|
189
|
+
const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;
|
|
190
|
+
if (props.show && iconDef && iconDef.isFontAwesome) {
|
|
191
|
+
//@ts-ignore type information is not matching
|
|
192
|
+
iconJsx = /*#__PURE__*/React.createElement(FontAwesome, _extends({
|
|
193
|
+
name: customIcon ? '' : iconDef.type,
|
|
194
|
+
style: style,
|
|
195
|
+
size: iconSize
|
|
196
|
+
}, this.getTestProps('icon')), customIcon);
|
|
197
|
+
} else if (props.show && iconDef) {
|
|
198
|
+
var _this$styles$icon;
|
|
199
|
+
let WMCustomIcon = WavIcon;
|
|
200
|
+
if (iconDef.isStreamlineLightIcon) {
|
|
201
|
+
WMCustomIcon = StreamlineLightIcon;
|
|
202
|
+
} else if (iconDef.isStreamlineRegularIcon) {
|
|
203
|
+
WMCustomIcon = StreamlineRegularIcon;
|
|
204
|
+
} else if (!iconDef.isWavIcon && !customIcon && !((_this$styles$icon = this.styles.icon) !== null && _this$styles$icon !== void 0 && _this$styles$icon.fontFamily)) {
|
|
205
|
+
return null;
|
|
206
|
+
}
|
|
207
|
+
//@ts-ignore type information is not matching
|
|
208
|
+
iconJsx = WMCustomIcon ? /*#__PURE__*/React.createElement(WMCustomIcon, _extends({
|
|
209
|
+
name: customIcon ? '' : iconDef.type,
|
|
210
|
+
style: style,
|
|
211
|
+
size: iconSize
|
|
212
|
+
}, this.getTestProps('icon')), customIcon) : null;
|
|
213
|
+
}
|
|
214
|
+
if (iconJsx && iconDef.animation === 'spin') {
|
|
215
|
+
const rotate = this.spinValue.interpolate({
|
|
216
|
+
inputRange: [0, 1],
|
|
217
|
+
outputRange: ['0deg', '360deg']
|
|
218
|
+
});
|
|
219
|
+
const animation = {
|
|
220
|
+
transform: [{
|
|
221
|
+
rotate
|
|
222
|
+
}]
|
|
223
|
+
};
|
|
224
|
+
this.stopAnimation = false;
|
|
225
|
+
return /*#__PURE__*/React.createElement(Animated.View, {
|
|
226
|
+
style: animation
|
|
227
|
+
}, iconJsx);
|
|
228
|
+
} else if (iconJsx && iconDef.animation === 'pulse') {
|
|
229
|
+
const opacity = this.spinValue.interpolate({
|
|
230
|
+
inputRange: [0, 1],
|
|
231
|
+
outputRange: [0, 1]
|
|
232
|
+
});
|
|
233
|
+
const animation = {
|
|
234
|
+
opacity: opacity
|
|
235
|
+
};
|
|
236
|
+
this.stopAnimation = false;
|
|
237
|
+
return /*#__PURE__*/React.createElement(Animated.View, {
|
|
238
|
+
style: animation
|
|
239
|
+
}, iconJsx);
|
|
240
|
+
} else {
|
|
241
|
+
this.stopAnimation = true;
|
|
242
|
+
}
|
|
243
|
+
return /*#__PURE__*/React.createElement(View
|
|
244
|
+
// {...getAccessibilityProps(AccessibilityWidgetType.ICON, this.props)}
|
|
245
|
+
, null, iconJsx);
|
|
246
|
+
}
|
|
247
|
+
renderWidget(props) {
|
|
248
|
+
let icon = this.renderIcon(props);
|
|
249
|
+
let iterationCount = props.iterationcount ? props.iterationcount != 'infinite' ? parseInt(props.iterationcount) : 'infinite' : undefined;
|
|
250
|
+
return /*#__PURE__*/React.createElement(Tappable, _extends({
|
|
251
|
+
target: this,
|
|
252
|
+
rippleColor: this.styles.root.rippleColor
|
|
253
|
+
}, this.getTestPropsForAction(), {
|
|
254
|
+
disableTouchEffect: this.state.props.disabletoucheffect,
|
|
255
|
+
onLayout: event => this.handleLayout(event)
|
|
256
|
+
}), /*#__PURE__*/React.createElement(Animatedview, {
|
|
257
|
+
entryanimation: props.animation,
|
|
258
|
+
delay: props.animationdelay,
|
|
259
|
+
style: this.styles.root,
|
|
260
|
+
iterationCount: iterationCount,
|
|
261
|
+
accessibilityProps: props.accessible ? {
|
|
262
|
+
...getAccessibilityProps(AccessibilityWidgetType.ICON, props)
|
|
263
|
+
} : {}
|
|
264
|
+
}, this._background, props.iconposition === 'left' && icon || null, props.caption && /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('caption'), {
|
|
265
|
+
style: this.styles.text,
|
|
266
|
+
importantForAccessibility: "no"
|
|
267
|
+
}), props.caption) || null, props.iconposition === 'right' && icon || null));
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
//# sourceMappingURL=icon.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Animated","Easing","Text","Image","View","FontAwesome","BaseComponent","BaseComponentState","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmIconProps","DEFAULT_CLASS","WavIcon","StreamlineLightIcon","StreamlineRegularIcon","Tappable","Animatedview","createSkeleton","ICON_SIZES","Map","ICON_ROTATTION","WmIconState","constructor","args","_defineProperty","WmIcon","props","Value","getIconDef","iconClass","iconDef","rotate","splits","split","isFontAwesome","find","v","isStreamlineLightIcon","isStreamlineRegularIcon","_splits$find","type","startsWith","substring","_splits$find2","_splits$find3","_splits$find4","isWavIcon","indexOf","animation","size","map","get","spin","stopAnimation","spinValue","setValue","timing","toValue","duration","easing","linear","useNativeDriver","start","componentDidMount","componentWillUnmount","onPropertyChange","name","$new","$old","updateState","getCustomIcon","style","_this$theme$getStyle","customIcon","theme","mergeStyle","getStyle","iconclass","icon","styles","customIconContent","content","createElement","fontFamily","decodeURIComponent","renderSkeleton","skeletonWidth","skeletonwidth","iconsize","root","width","skeletonHeight","skeletonheight","height","skeleton","getElementToShow","iconSrc","_this$styles$image","_this$styles$image2","_this$styles$image3","iconmargin","iconheight","iconwidth","elementToshow","source","image","uri","testID","getTestId","margin","borderRadius","loadIcon","iconImage","loadAsset","iconImageSrc","renderIcon","iconJsx","_iconSource","iconurl","state","text","color","transform","iconSize","fontSize","show","_extends","getTestProps","_this$styles$icon","WMCustomIcon","interpolate","inputRange","outputRange","opacity","renderWidget","iterationCount","iterationcount","parseInt","undefined","target","rippleColor","getTestPropsForAction","disableTouchEffect","disabletoucheffect","onLayout","event","handleLayout","entryanimation","delay","animationdelay","accessibilityProps","accessible","ICON","_background","iconposition","caption","getTestPropsForLabel","importantForAccessibility"],"sources":["icon.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, DimensionValue, Easing, Text, Image, View, LayoutChangeEvent } from 'react-native';\nimport { FontAwesome } from '@expo/vector-icons';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { isFullPathUrl } from '@wavemaker-ai/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker-ai/app-rn-runtime/core/accessibility';\n\nimport WmIconProps from './icon.props';\nimport { DEFAULT_CLASS, WmIconStyles } from './icon.styles';\nimport WavIcon from './wavicon/wavicon.component';\nimport StreamlineLightIcon from './streamline-light-icon/streamline-light-icon.component';\nimport StreamlineRegularIcon from './streamline-regular-icon/streamline-regular-icon.component';\nimport { Tappable } from '@wavemaker-ai/app-rn-runtime/core/tappable.component';\nimport { Animatedview } from '@wavemaker-ai/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\ninterface IconDef {\n isFontAwesome: boolean;\n isWavIcon: boolean;\n isStreamlineLightIcon: boolean;\n isStreamlineRegularIcon: boolean;\n type: string;\n rotate: string;\n size: number;\n animation: string;\n}\n\nconst ICON_SIZES = new Map([\n ['fa-lg', 24],\n ['fa-2x', 36],\n ['fa-3x', 48],\n ['fa-4x', 60],\n ['fa-5x', 72]\n]);\n\nconst ICON_ROTATTION = new Map([\n ['fa-rotate-90', '90deg'],\n ['fa-rotate-180', '180deg'],\n ['fa-rotate-270', '270deg']\n]);\n\nexport class WmIconState extends BaseComponentState<WmIconProps> {\n public iconDef = {} as IconDef;\n}\n\nexport default class WmIcon extends BaseComponent<WmIconProps, WmIconState, WmIconStyles> {\n spinValue = new Animated.Value(0);\n pulseValue = new Animated.Value(0);\n public stopAnimation = true;\n private _iconSource = null as any;\n\n constructor(props: WmIconProps) {\n super(props, DEFAULT_CLASS, new WmIconProps());\n }\n\n getIconDef(iconClass: string): IconDef {\n const iconDef = {\n rotate: '0'\n } as IconDef;\n const splits = iconClass.split(' ');\n iconDef.isFontAwesome = !!splits.find(v => v === 'fa');\n iconDef.isStreamlineLightIcon = !!splits.find(v => v === 'wm-sl-l');\n iconDef.isStreamlineRegularIcon = !!splits.find(v => v === 'wm-sl-r');\n if (iconDef.isFontAwesome) {\n iconDef.type = splits.find(v => v.startsWith('fa-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineLightIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineRegularIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else {\n iconDef.isWavIcon = !iconDef.isFontAwesome && !!splits.find(v => v === 'wi');\n iconDef.type = (iconDef.isWavIcon && splits.find(v => v.startsWith('wi-'))?.substring(3)) || '';\n }\n if (iconClass.indexOf('fa-spin') >= 0) {\n iconDef.animation = 'spin';\n } else if (iconClass.indexOf('fa-pulse') >= 0) {\n iconDef.animation = 'pulse';\n }\n iconDef.size = splits.map(v => ICON_SIZES.get(v)).find(v => !!v) || 12;\n iconDef.rotate = splits.map(v => ICON_ROTATTION.get(v)).find(v => !!v) || '0deg';\n return iconDef;\n }\n\n private spin () {\n if (this.stopAnimation) {\n return;\n }\n this.spinValue.setValue(0);\n Animated.timing(\n this.spinValue,\n {\n toValue: 1,\n duration: 1000,\n easing: Easing.linear,\n useNativeDriver: true\n }\n ).start(() => this.spin());\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.spin();\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.stopAnimation = true;\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'iconclass':\n $new && this.updateState({iconDef: this.getIconDef($new)} as WmIconState);\n break;\n }\n }\n\n private getCustomIcon(props: WmIconProps, style: any) {\n const customIcon = this.theme.mergeStyle({}, this.theme.getStyle(props?.iconclass || '')?.icon || this.styles.icon);\n const customIconContent = customIcon?.content;\n if (customIconContent) {\n delete customIcon.content;\n return (<Text\n style={[style, customIcon.fontFamily ? {fontFamily: customIcon.fontFamily}: null]}>\n {decodeURIComponent(customIconContent)}\n </Text>);\n }\n return null;\n }\n\n public renderSkeleton(props: WmIconProps) {\n let skeletonWidth = (this.props.skeletonwidth || this.props.iconsize || this.styles.root.width) as DimensionValue;\n let skeletonHeight = (this.props.skeletonheight || this.props.iconsize || this.styles.root.height) as DimensionValue\n\n if(this.props.skeletonheight == \"0\") {\n skeletonWidth = 0\n }\n\n if(this.props.skeletonheight == \"0\") {\n skeletonHeight = 0\n }\n\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: skeletonWidth,\n height: skeletonHeight\n });\n }\n\n getElementToShow(props: WmIconProps, iconSrc: any) {\n\n const { iconmargin, iconheight, iconwidth } = props;\n let width, height;\n let elementToshow, source;\n\n if (iconwidth) width = iconwidth;\n else if (iconheight) width = iconheight;\n else width = this.styles.image?.width || 12;\n if (iconheight) height = iconheight;\n else if (iconwidth) height = iconwidth;\n else height = this.styles.image?.height || 12;\n\n if (isFullPathUrl(iconSrc)) {\n source = {\n uri: iconSrc\n };\n } else {\n source = iconSrc;\n }\n elementToshow = <Image testID={this.getTestId('icon')}\n style={{\n margin: iconmargin ?? 0,\n height: height,\n width: width,\n borderRadius: this.styles.image?.borderRadius || 0\n }}\n source={source}/>;\n return elementToshow;\n }\n\n loadIcon(iconImage: string | undefined) {\n if (!iconImage || !this.loadAsset) {\n return null;\n }\n const iconImageSrc = this.loadAsset(iconImage);\n if (iconImageSrc && typeof iconImageSrc !== 'function') {\n return iconImageSrc;\n }\n return null;\n }\n\n renderIcon(props: WmIconProps) {\n let iconJsx = null;\n this._iconSource = this._iconSource || this.loadIcon(props.iconurl);\n const iconSrc: any = this._iconSource\n if (iconSrc) {\n return this.getElementToShow(props, iconSrc);\n }\n const iconDef = this.state.iconDef;\n if (!iconDef) {\n return null;\n }\n const { root, text, icon } = this.styles;\n const style = [{ color: root.color || text.color },\n icon,\n { transform: [{ rotate: iconDef.rotate }] }];\n\n const customIcon = this.getCustomIcon(props, style);\n const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;\n if (props.show && iconDef && iconDef.isFontAwesome) {\n //@ts-ignore type information is not matching\n iconJsx = (<FontAwesome name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}\n {...this.getTestProps('icon')}>\n {customIcon}\n </FontAwesome>);\n } else if (props.show && iconDef) {\n let WMCustomIcon = WavIcon as unknown;\n if (iconDef.isStreamlineLightIcon) {\n WMCustomIcon = StreamlineLightIcon;\n } else if (iconDef.isStreamlineRegularIcon) {\n WMCustomIcon = StreamlineRegularIcon;\n } else if (!iconDef.isWavIcon && !customIcon && !this.styles.icon?.fontFamily) {\n return null;\n }\n //@ts-ignore type information is not matching\n iconJsx = WMCustomIcon ? (<WMCustomIcon name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}\n {...this.getTestProps('icon')}>\n {customIcon}\n </WMCustomIcon>) : null;\n }\n if (iconJsx && iconDef.animation === 'spin') {\n const rotate = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: ['0deg', '360deg']});\n const animation = { transform: [{ rotate }] };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{iconJsx}</Animated.View>);\n } else if (iconJsx && iconDef.animation === 'pulse') {\n const opacity = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: [0, 1]});\n const animation = { opacity: opacity };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{iconJsx}</Animated.View>);\n } else {\n this.stopAnimation = true;\n }\n return (\n <View\n // {...getAccessibilityProps(AccessibilityWidgetType.ICON, this.props)}\n >\n {iconJsx}\n </View>\n );\n }\n\n renderWidget(props: WmIconProps) {\n let icon = this.renderIcon(props);\n let iterationCount: any = props.iterationcount ? (props.iterationcount != 'infinite' ? parseInt(props.iterationcount): 'infinite') : undefined;\n return (\n <Tappable\n target={this}\n rippleColor = {this.styles.root.rippleColor}\n {...this.getTestPropsForAction()}\n disableTouchEffect={this.state.props.disabletoucheffect}\n onLayout={(event: LayoutChangeEvent) => this.handleLayout(event)}\n >\n <Animatedview entryanimation={props.animation} delay={props.animationdelay} style={this.styles.root} iterationCount={iterationCount} accessibilityProps={props.accessible ? {...getAccessibilityProps(AccessibilityWidgetType.ICON, props)} : {}}>\n {this._background}\n {(props.iconposition === 'left' && icon) || null}\n {(props.caption && (<Text {...this.getTestPropsForLabel('caption')} style={this.styles.text}\n importantForAccessibility=\"no\">{props.caption}\n </Text>)) || null}\n {(props.iconposition === 'right' && icon) || null}\n </Animatedview>\n </Tappable>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAkBC,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAEC,IAAI,QAA2B,cAAc;AACrG,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AACpG,SAASC,aAAa,QAAQ,yCAAyC;AACvE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,iDAAiD;AAEhH,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAC3D,OAAOC,OAAO,MAAM,6BAA6B;AACjD,OAAOC,mBAAmB,MAAM,yDAAyD;AACzF,OAAOC,qBAAqB,MAAM,6DAA6D;AAC/F,SAASC,QAAQ,QAAQ,sDAAsD;AAC/E,SAASC,YAAY,QAAQ,sEAAsE;AACnG,SAAqBC,cAAc,QAAQ,gCAAgC;AAa3E,MAAMC,UAAU,GAAG,IAAIC,GAAG,CAAC,CACzB,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,E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AqB,CAACD,uBAAuB,CAACgJ,IAAI,EAAE9H,KAAK;MAAC,CAAC,GAAG,CAAC;IAAE,GAC9O,IAAI,CAAC+H,WAAW,EACf/H,KAAK,CAACgI,YAAY,KAAK,MAAM,IAAI5E,IAAI,IAAK,IAAI,EAC9CpD,KAAK,CAACiI,OAAO,iBAAK7J,KAAA,CAAAoF,aAAA,CAACjF,IAAI,EAAA6H,QAAA,KAAK,IAAI,CAAC8B,oBAAoB,CAAC,SAAS,CAAC;MAAErF,KAAK,EAAE,IAAI,CAACQ,MAAM,CAACyC,IAAK;MACxFqC,yBAAyB,EAAC;IAAI,IAAEnI,KAAK,CAACiI,OAClC,CAAE,IAAK,IAAI,EACjBjI,KAAK,CAACgI,YAAY,KAAK,OAAO,IAAI5E,IAAI,IAAK,IACjC,CACN,CAAC;EAEf;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
|
+
import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class WmIconProps extends BaseProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "animation", null);
|
|
9
|
+
_defineProperty(this, "animationdelay", null);
|
|
10
|
+
_defineProperty(this, "iterationcount", void 0);
|
|
11
|
+
_defineProperty(this, "iconclass", 'wm-sl-l sl-user');
|
|
12
|
+
_defineProperty(this, "iconposition", 'left');
|
|
13
|
+
_defineProperty(this, "caption", '');
|
|
14
|
+
_defineProperty(this, "iconsize", 0);
|
|
15
|
+
_defineProperty(this, "onTap", void 0);
|
|
16
|
+
_defineProperty(this, "skeletonheight", null);
|
|
17
|
+
_defineProperty(this, "skeletonwidth", null);
|
|
18
|
+
_defineProperty(this, "iconurl", null);
|
|
19
|
+
_defineProperty(this, "iconheight", null);
|
|
20
|
+
_defineProperty(this, "iconwidth", null);
|
|
21
|
+
_defineProperty(this, "iconmargin", null);
|
|
22
|
+
_defineProperty(this, "accessible", true);
|
|
23
|
+
_defineProperty(this, "accessibilitylabel", undefined);
|
|
24
|
+
_defineProperty(this, "hint", undefined);
|
|
25
|
+
_defineProperty(this, "accessibilityrole", void 0);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=icon.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmIconProps","constructor","args","_defineProperty","undefined"],"sources":["icon.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmIconProps extends BaseProps {\n animation?: string = null as any;\n animationdelay?: number = null as any;\n iterationcount?: any;\n iconclass?: string = 'wm-sl-l sl-user';\n iconposition? = 'left';\n caption? = '';\n iconsize? = 0;\n onTap?: Function;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n iconurl?: string = null as any;\n iconheight?: number = null as any;\n iconwidth?: number = null as any;\n iconmargin?: number = null as any;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,WAAW,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBAC5B,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAET,iBAAiB;IAAAA,eAAA,uBACtB,MAAM;IAAAA,eAAA,kBACX,EAAE;IAAAA,eAAA,mBACD,CAAC;IAAAA,eAAA;IAAAA,eAAA,yBAEa,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,kBACV,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;IAAAA,eAAA,qBACH,IAAI;IAAAA,eAAA,6BACGC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA;EAAA;AAE3B","ignoreList":[]}
|