@wavemaker/app-rn-runtime 11.15.1-rc.248 → 11.15.2-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions/base-action.d.ts +8 -0
- package/actions/base-action.d.ts.map +1 -0
- package/actions/index.d.ts +6 -0
- package/actions/index.d.ts.map +1 -0
- package/actions/login-action.d.ts +12 -0
- package/actions/login-action.d.ts.map +1 -0
- package/actions/logout-action.d.ts +11 -0
- package/actions/logout-action.d.ts.map +1 -0
- package/actions/navigation-action.d.ts +13 -0
- package/actions/navigation-action.d.ts.map +1 -0
- package/actions/notification-action.d.ts +20 -0
- package/actions/notification-action.d.ts.map +1 -0
- package/actions/notification-action.js +0 -1
- package/actions/notification-action.js.map +1 -1
- package/actions/timer-action.d.ts +20 -0
- package/actions/timer-action.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts +11 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts +5 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts +4 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts +11 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts +5 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts +4 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts.map +1 -0
- package/components/advanced/carousel/carousel.component.d.ts +36 -0
- package/components/advanced/carousel/carousel.component.d.ts.map +1 -0
- package/components/advanced/carousel/carousel.props.d.ts +18 -0
- package/components/advanced/carousel/carousel.props.d.ts.map +1 -0
- package/components/advanced/carousel/carousel.styles.d.ts +21 -0
- package/components/advanced/carousel/carousel.styles.d.ts.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts +11 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts +5 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts +7 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts.map +1 -0
- package/components/advanced/login/login.component.d.ts +16 -0
- package/components/advanced/login/login.component.d.ts.map +1 -0
- package/components/advanced/login/login.props.d.ts +7 -0
- package/components/advanced/login/login.props.d.ts.map +1 -0
- package/components/advanced/login/login.styles.d.ts +8 -0
- package/components/advanced/login/login.styles.d.ts.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts +18 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts +5 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts +9 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts.map +1 -0
- package/components/advanced/webview/webview.component.d.ts +31 -0
- package/components/advanced/webview/webview.component.d.ts.map +1 -0
- package/components/advanced/webview/webview.props.d.ts +12 -0
- package/components/advanced/webview/webview.props.d.ts.map +1 -0
- package/components/advanced/webview/webview.styles.d.ts +8 -0
- package/components/advanced/webview/webview.styles.d.ts.map +1 -0
- package/components/basic/anchor/anchor.component.d.ts +16 -0
- package/components/basic/anchor/anchor.component.d.ts.map +1 -0
- package/components/basic/anchor/anchor.props.d.ts +28 -0
- package/components/basic/anchor/anchor.props.d.ts.map +1 -0
- package/components/basic/anchor/anchor.styles.d.ts +12 -0
- package/components/basic/anchor/anchor.styles.d.ts.map +1 -0
- package/components/basic/animatedview.component.d.ts +22 -0
- package/components/basic/animatedview.component.d.ts.map +1 -0
- package/components/basic/audio/audio.component.d.ts +37 -0
- package/components/basic/audio/audio.component.d.ts.map +1 -0
- package/components/basic/audio/audio.props.d.ts +9 -0
- package/components/basic/audio/audio.props.d.ts.map +1 -0
- package/components/basic/audio/audio.styles.d.ts +14 -0
- package/components/basic/audio/audio.styles.d.ts.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.component.d.ts +72 -0
- package/components/basic/bottomsheet/bottomsheet.component.d.ts.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.component.js +23 -58
- package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -1
- package/components/basic/bottomsheet/bottomsheet.props.d.ts +20 -0
- package/components/basic/bottomsheet/bottomsheet.props.d.ts.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.styles.d.ts +17 -0
- package/components/basic/bottomsheet/bottomsheet.styles.d.ts.map +1 -0
- package/components/basic/button/button.component.d.ts +14 -0
- package/components/basic/button/button.component.d.ts.map +1 -0
- package/components/basic/button/button.component.js +7 -56
- package/components/basic/button/button.component.js.map +1 -1
- package/components/basic/button/button.props.d.ts +23 -0
- package/components/basic/button/button.props.d.ts.map +1 -0
- package/components/basic/button/button.styles.d.ts +12 -0
- package/components/basic/button/button.styles.d.ts.map +1 -0
- package/components/basic/buttongroup/buttongroup.component.d.ts +12 -0
- package/components/basic/buttongroup/buttongroup.component.d.ts.map +1 -0
- package/components/basic/buttongroup/buttongroup.props.d.ts +8 -0
- package/components/basic/buttongroup/buttongroup.props.d.ts.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.d.ts +7 -0
- package/components/basic/buttongroup/buttongroup.styles.d.ts.map +1 -0
- package/components/basic/custom/custom.component.d.ts +12 -0
- package/components/basic/custom/custom.component.d.ts.map +1 -0
- package/components/basic/custom/custom.props.d.ts +8 -0
- package/components/basic/custom/custom.props.d.ts.map +1 -0
- package/components/basic/custom/custom.styles.d.ts +7 -0
- package/components/basic/custom/custom.styles.d.ts.map +1 -0
- package/components/basic/icon/icon.component.d.ts +38 -0
- package/components/basic/icon/icon.component.d.ts.map +1 -0
- package/components/basic/icon/icon.props.d.ts +23 -0
- package/components/basic/icon/icon.props.d.ts.map +1 -0
- package/components/basic/icon/icon.styles.d.ts +10 -0
- package/components/basic/icon/icon.styles.d.ts.map +1 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts +9 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts.map +1 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts +9 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts.map +1 -0
- package/components/basic/icon/wavicon/wavicon.component.d.ts +9 -0
- package/components/basic/icon/wavicon/wavicon.component.d.ts.map +1 -0
- package/components/basic/label/label.component.d.ts +30 -0
- package/components/basic/label/label.component.d.ts.map +1 -0
- package/components/basic/label/label.props.d.ts +23 -0
- package/components/basic/label/label.props.d.ts.map +1 -0
- package/components/basic/label/label.styles.d.ts +11 -0
- package/components/basic/label/label.styles.d.ts.map +1 -0
- package/components/basic/lottie/lottie.component.d.ts +23 -0
- package/components/basic/lottie/lottie.component.d.ts.map +1 -0
- package/components/basic/lottie/lottie.props.d.ts +8 -0
- package/components/basic/lottie/lottie.props.d.ts.map +1 -0
- package/components/basic/lottie/lottie.styles.d.ts +7 -0
- package/components/basic/lottie/lottie.styles.d.ts.map +1 -0
- package/components/basic/message/message.component.d.ts +14 -0
- package/components/basic/message/message.component.d.ts.map +1 -0
- package/components/basic/message/message.component.js +1 -1
- package/components/basic/message/message.component.js.map +1 -1
- package/components/basic/message/message.props.d.ts +18 -0
- package/components/basic/message/message.props.d.ts.map +1 -0
- package/components/basic/message/message.props.js +0 -1
- package/components/basic/message/message.props.js.map +1 -1
- package/components/basic/message/message.styles.d.ts +11 -0
- package/components/basic/message/message.styles.d.ts.map +1 -0
- package/components/basic/modal/modal.component.d.ts +12 -0
- package/components/basic/modal/modal.component.d.ts.map +1 -0
- package/components/basic/modal/modal.props.d.ts +6 -0
- package/components/basic/modal/modal.props.d.ts.map +1 -0
- package/components/basic/modal/modal.styles.d.ts +7 -0
- package/components/basic/modal/modal.styles.d.ts.map +1 -0
- package/components/basic/picture/picture.component.d.ts +37 -0
- package/components/basic/picture/picture.component.d.ts.map +1 -0
- package/components/basic/picture/picture.component.js +19 -46
- package/components/basic/picture/picture.component.js.map +1 -1
- package/components/basic/picture/picture.props.d.ts +20 -0
- package/components/basic/picture/picture.props.d.ts.map +1 -0
- package/components/basic/picture/picture.props.js.map +1 -1
- package/components/basic/picture/picture.styles.d.ts +9 -0
- package/components/basic/picture/picture.styles.d.ts.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.d.ts +12 -0
- package/components/basic/progress-bar/progress-bar.component.d.ts.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.d.ts +14 -0
- package/components/basic/progress-bar/progress-bar.props.d.ts.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.d.ts +11 -0
- package/components/basic/progress-bar/progress-bar.styles.d.ts.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.d.ts +14 -0
- package/components/basic/progress-circle/progress-circle.component.d.ts.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.d.ts +14 -0
- package/components/basic/progress-circle/progress-circle.props.d.ts.map +1 -0
- package/components/basic/progress-circle/progress-circle.styles.d.ts +9 -0
- package/components/basic/progress-circle/progress-circle.styles.d.ts.map +1 -0
- package/components/basic/search/local-data-provider.d.ts +12 -0
- package/components/basic/search/local-data-provider.d.ts.map +1 -0
- package/components/basic/search/search.component.d.ts +58 -0
- package/components/basic/search/search.component.d.ts.map +1 -0
- package/components/basic/search/search.props.d.ts +35 -0
- package/components/basic/search/search.props.d.ts.map +1 -0
- package/components/basic/search/search.styles.d.ts +21 -0
- package/components/basic/search/search.styles.d.ts.map +1 -0
- package/components/basic/skeleton/skeleton.component.d.ts +28 -0
- package/components/basic/skeleton/skeleton.component.d.ts.map +1 -0
- package/components/basic/skeleton/skeleton.props.d.ts +6 -0
- package/components/basic/skeleton/skeleton.props.d.ts.map +1 -0
- package/components/basic/skeleton/skeleton.styles.d.ts +11 -0
- package/components/basic/skeleton/skeleton.styles.d.ts.map +1 -0
- package/components/basic/spinner/spinner.component.d.ts +17 -0
- package/components/basic/spinner/spinner.component.d.ts.map +1 -0
- package/components/basic/spinner/spinner.props.d.ts +11 -0
- package/components/basic/spinner/spinner.props.d.ts.map +1 -0
- package/components/basic/spinner/spinner.styles.d.ts +11 -0
- package/components/basic/spinner/spinner.styles.d.ts.map +1 -0
- package/components/basic/tooltip/tooltip.component.d.ts +11 -0
- package/components/basic/tooltip/tooltip.component.d.ts.map +1 -0
- package/components/basic/tooltip/tooltip.props.d.ts +14 -0
- package/components/basic/tooltip/tooltip.props.d.ts.map +1 -0
- package/components/basic/tooltip/tooltip.styles.d.ts +8 -0
- package/components/basic/tooltip/tooltip.styles.d.ts.map +1 -0
- package/components/basic/video/video.component.d.ts +29 -0
- package/components/basic/video/video.component.d.ts.map +1 -0
- package/components/basic/video/video.props.d.ts +28 -0
- package/components/basic/video/video.props.d.ts.map +1 -0
- package/components/basic/video/video.styles.d.ts +9 -0
- package/components/basic/video/video.styles.d.ts.map +1 -0
- package/components/chart/area-chart/area-chart.component.d.ts +15 -0
- package/components/chart/area-chart/area-chart.component.d.ts.map +1 -0
- package/components/chart/area-chart/area-chart.props.d.ts +6 -0
- package/components/chart/area-chart/area-chart.props.d.ts.map +1 -0
- package/components/chart/area-chart/area-chart.styles.d.ts +5 -0
- package/components/chart/area-chart/area-chart.styles.d.ts.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.d.ts +14 -0
- package/components/chart/bar-chart/bar-chart.component.d.ts.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.js +2 -13
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -1
- package/components/chart/bar-chart/bar-chart.props.d.ts +8 -0
- package/components/chart/bar-chart/bar-chart.props.d.ts.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js +0 -1
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -1
- package/components/chart/bar-chart/bar-chart.styles.d.ts +5 -0
- package/components/chart/bar-chart/bar-chart.styles.d.ts.map +1 -0
- package/components/chart/basechart.component.d.ts +82 -0
- package/components/chart/basechart.component.d.ts.map +1 -0
- package/components/chart/basechart.props.d.ts +60 -0
- package/components/chart/basechart.props.d.ts.map +1 -0
- package/components/chart/basechart.styles.d.ts +36 -0
- package/components/chart/basechart.styles.d.ts.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.d.ts +12 -0
- package/components/chart/bubble-chart/bubble-chart.component.d.ts.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.props.d.ts +5 -0
- package/components/chart/bubble-chart/bubble-chart.props.d.ts.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.styles.d.ts +5 -0
- package/components/chart/bubble-chart/bubble-chart.styles.d.ts.map +1 -0
- package/components/chart/column-chart/column-chart.component.d.ts +8 -0
- package/components/chart/column-chart/column-chart.component.d.ts.map +1 -0
- package/components/chart/column-chart/column-chart.props.d.ts +4 -0
- package/components/chart/column-chart/column-chart.props.d.ts.map +1 -0
- package/components/chart/column-chart/column-chart.styles.d.ts +4 -0
- package/components/chart/column-chart/column-chart.styles.d.ts.map +1 -0
- package/components/chart/donut-chart/donut-chart.component.d.ts +6 -0
- package/components/chart/donut-chart/donut-chart.component.d.ts.map +1 -0
- package/components/chart/donut-chart/donut-chart.props.d.ts +5 -0
- package/components/chart/donut-chart/donut-chart.props.d.ts.map +1 -0
- package/components/chart/donut-chart/donut-chart.styles.d.ts +5 -0
- package/components/chart/donut-chart/donut-chart.styles.d.ts.map +1 -0
- package/components/chart/legend/legend.component.d.ts +15 -0
- package/components/chart/legend/legend.component.d.ts.map +1 -0
- package/components/chart/line-chart/line-chart.component.d.ts +12 -0
- package/components/chart/line-chart/line-chart.component.d.ts.map +1 -0
- package/components/chart/line-chart/line-chart.props.d.ts +8 -0
- package/components/chart/line-chart/line-chart.props.d.ts.map +1 -0
- package/components/chart/line-chart/line-chart.styles.d.ts +5 -0
- package/components/chart/line-chart/line-chart.styles.d.ts.map +1 -0
- package/components/chart/pie-chart/pie-chart.component.d.ts +27 -0
- package/components/chart/pie-chart/pie-chart.component.d.ts.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.d.ts +9 -0
- package/components/chart/pie-chart/pie-chart.props.d.ts.map +1 -0
- package/components/chart/pie-chart/pie-chart.styles.d.ts +5 -0
- package/components/chart/pie-chart/pie-chart.styles.d.ts.map +1 -0
- package/components/chart/stack-chart/stack-chart.component.d.ts +26 -0
- package/components/chart/stack-chart/stack-chart.component.d.ts.map +1 -0
- package/components/chart/stack-chart/stack-chart.props.d.ts +11 -0
- package/components/chart/stack-chart/stack-chart.props.d.ts.map +1 -0
- package/components/chart/stack-chart/stack-chart.styles.d.ts +5 -0
- package/components/chart/stack-chart/stack-chart.styles.d.ts.map +1 -0
- package/components/chart/staticdata.d.ts +41 -0
- package/components/chart/staticdata.d.ts.map +1 -0
- package/components/chart/theme/chart.theme.d.ts +8 -0
- package/components/chart/theme/chart.theme.d.ts.map +1 -0
- package/components/container/accordion/accordion.component.d.ts +27 -0
- package/components/container/accordion/accordion.component.d.ts.map +1 -0
- package/components/container/accordion/accordion.component.js +7 -14
- package/components/container/accordion/accordion.component.js.map +1 -1
- package/components/container/accordion/accordion.props.d.ts +10 -0
- package/components/container/accordion/accordion.props.d.ts.map +1 -0
- package/components/container/accordion/accordion.styles.d.ts +21 -0
- package/components/container/accordion/accordion.styles.d.ts.map +1 -0
- package/components/container/accordion/accordion.styles.js +21 -24
- package/components/container/accordion/accordion.styles.js.map +1 -1
- package/components/container/accordion/accordionpane/accordionpane.component.d.ts +23 -0
- package/components/container/accordion/accordionpane/accordionpane.component.d.ts.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.props.d.ts +11 -0
- package/components/container/accordion/accordionpane/accordionpane.props.d.ts.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.d.ts +4 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.d.ts.map +1 -0
- package/components/container/container.component.d.ts +38 -0
- package/components/container/container.component.d.ts.map +1 -0
- package/components/container/container.component.js +69 -149
- package/components/container/container.component.js.map +1 -1
- package/components/container/container.props.d.ts +17 -0
- package/components/container/container.props.d.ts.map +1 -0
- package/components/container/container.props.js +0 -1
- package/components/container/container.props.js.map +1 -1
- package/components/container/container.styles.d.ts +10 -0
- package/components/container/container.styles.d.ts.map +1 -0
- package/components/container/container.styles.js +1 -3
- package/components/container/container.styles.js.map +1 -1
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts +11 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts +7 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts +4 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.d.ts +11 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.d.ts.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.d.ts +5 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.d.ts.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts +7 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts.map +1 -0
- package/components/container/layoutgrid/layoutgrid.component.d.ts +13 -0
- package/components/container/layoutgrid/layoutgrid.component.d.ts.map +1 -0
- package/components/container/layoutgrid/layoutgrid.props.d.ts +5 -0
- package/components/container/layoutgrid/layoutgrid.props.d.ts.map +1 -0
- package/components/container/layoutgrid/layoutgrid.styles.d.ts +7 -0
- package/components/container/layoutgrid/layoutgrid.styles.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayout.component.d.ts +15 -0
- package/components/container/linearlayout/linearlayout.component.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayout.component.js +0 -1
- package/components/container/linearlayout/linearlayout.component.js.map +1 -1
- package/components/container/linearlayout/linearlayout.props.d.ts +9 -0
- package/components/container/linearlayout/linearlayout.props.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayout.styles.d.ts +7 -0
- package/components/container/linearlayout/linearlayout.styles.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts +11 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts +7 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts +4 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts.map +1 -0
- package/components/container/panel/collapsible-pane.component.d.ts +6 -0
- package/components/container/panel/collapsible-pane.component.d.ts.map +1 -0
- package/components/container/panel/panel-content/panel-content.component.d.ts +11 -0
- package/components/container/panel/panel-content/panel-content.component.d.ts.map +1 -0
- package/components/container/panel/panel-content/panel-content.props.d.ts +5 -0
- package/components/container/panel/panel-content/panel-content.props.d.ts.map +1 -0
- package/components/container/panel/panel-content/panel-content.styles.d.ts +4 -0
- package/components/container/panel/panel-content/panel-content.styles.d.ts.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.component.d.ts +11 -0
- package/components/container/panel/panel-footer/panel-footer.component.d.ts.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.props.d.ts +5 -0
- package/components/container/panel/panel-footer/panel-footer.props.d.ts.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.styles.d.ts +4 -0
- package/components/container/panel/panel-footer/panel-footer.styles.d.ts.map +1 -0
- package/components/container/panel/panel.component.d.ts +20 -0
- package/components/container/panel/panel.component.d.ts.map +1 -0
- package/components/container/panel/panel.component.js +1 -8
- package/components/container/panel/panel.component.js.map +1 -1
- package/components/container/panel/panel.props.d.ts +18 -0
- package/components/container/panel/panel.props.d.ts.map +1 -0
- package/components/container/panel/panel.props.js +0 -2
- package/components/container/panel/panel.props.js.map +1 -1
- package/components/container/panel/panel.styles.d.ts +13 -0
- package/components/container/panel/panel.styles.d.ts.map +1 -0
- package/components/container/partial-host.component.d.ts +18 -0
- package/components/container/partial-host.component.d.ts.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.d.ts +27 -0
- package/components/container/tabs/tabheader/tabheader.component.d.ts.map +1 -0
- package/components/container/tabs/tabheader/tabheader.props.d.ts +14 -0
- package/components/container/tabs/tabheader/tabheader.props.d.ts.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.d.ts +18 -0
- package/components/container/tabs/tabheader/tabheader.styles.d.ts.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.d.ts +22 -0
- package/components/container/tabs/tabpane/tabpane.component.d.ts.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.d.ts +14 -0
- package/components/container/tabs/tabpane/tabpane.props.d.ts.map +1 -0
- package/components/container/tabs/tabpane/tabpane.styles.d.ts +4 -0
- package/components/container/tabs/tabpane/tabpane.styles.d.ts.map +1 -0
- package/components/container/tabs/tabs.component.d.ts +37 -0
- package/components/container/tabs/tabs.component.d.ts.map +1 -0
- package/components/container/tabs/tabs.props.d.ts +8 -0
- package/components/container/tabs/tabs.props.d.ts.map +1 -0
- package/components/container/tabs/tabs.styles.d.ts +11 -0
- package/components/container/tabs/tabs.styles.d.ts.map +1 -0
- package/components/container/tile/tile.component.d.ts +13 -0
- package/components/container/tile/tile.component.d.ts.map +1 -0
- package/components/container/tile/tile.component.js +0 -3
- package/components/container/tile/tile.component.js.map +1 -1
- package/components/container/tile/tile.props.d.ts +7 -0
- package/components/container/tile/tile.props.d.ts.map +1 -0
- package/components/container/tile/tile.styles.d.ts +7 -0
- package/components/container/tile/tile.styles.d.ts.map +1 -0
- package/components/container/wizard/wizard.component.d.ts +47 -0
- package/components/container/wizard/wizard.component.d.ts.map +1 -0
- package/components/container/wizard/wizard.component.js +2 -2
- package/components/container/wizard/wizard.component.js.map +1 -1
- package/components/container/wizard/wizard.props.d.ts +23 -0
- package/components/container/wizard/wizard.props.d.ts.map +1 -0
- package/components/container/wizard/wizard.props.js +0 -1
- package/components/container/wizard/wizard.props.js.map +1 -1
- package/components/container/wizard/wizard.styles.d.ts +48 -0
- package/components/container/wizard/wizard.styles.d.ts.map +1 -0
- package/components/container/wizard/wizard.styles.js +16 -1
- package/components/container/wizard/wizard.styles.js.map +1 -1
- package/components/container/wizard/wizardstep/wizardstep.component.d.ts +21 -0
- package/components/container/wizard/wizardstep/wizardstep.component.d.ts.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.d.ts +16 -0
- package/components/container/wizard/wizardstep/wizardstep.props.d.ts.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.d.ts +4 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.d.ts.map +1 -0
- package/components/data/card/card-content/card-content.component.d.ts +14 -0
- package/components/data/card/card-content/card-content.component.d.ts.map +1 -0
- package/components/data/card/card-content/card-content.props.d.ts +6 -0
- package/components/data/card/card-content/card-content.props.d.ts.map +1 -0
- package/components/data/card/card-content/card-content.styles.d.ts +7 -0
- package/components/data/card/card-content/card-content.styles.d.ts.map +1 -0
- package/components/data/card/card-footer/card-footer.component.d.ts +11 -0
- package/components/data/card/card-footer/card-footer.component.d.ts.map +1 -0
- package/components/data/card/card-footer/card-footer.props.d.ts +5 -0
- package/components/data/card/card-footer/card-footer.props.d.ts.map +1 -0
- package/components/data/card/card-footer/card-footer.styles.d.ts +4 -0
- package/components/data/card/card-footer/card-footer.styles.d.ts.map +1 -0
- package/components/data/card/card.component.d.ts +13 -0
- package/components/data/card/card.component.d.ts.map +1 -0
- package/components/data/card/card.props.d.ts +21 -0
- package/components/data/card/card.props.d.ts.map +1 -0
- package/components/data/card/card.styles.d.ts +16 -0
- package/components/data/card/card.styles.d.ts.map +1 -0
- package/components/data/form/form-action/form-action.component.d.ts +14 -0
- package/components/data/form/form-action/form-action.component.d.ts.map +1 -0
- package/components/data/form/form-action/form-action.props.d.ts +12 -0
- package/components/data/form/form-action/form-action.props.d.ts.map +1 -0
- package/components/data/form/form-action/form-action.styles.d.ts +7 -0
- package/components/data/form/form-action/form-action.styles.d.ts.map +1 -0
- package/components/data/form/form-body/form-body.component.d.ts +11 -0
- package/components/data/form/form-body/form-body.component.d.ts.map +1 -0
- package/components/data/form/form-body/form-body.component.js +1 -2
- package/components/data/form/form-body/form-body.component.js.map +1 -1
- package/components/data/form/form-body/form-body.props.d.ts +5 -0
- package/components/data/form/form-body/form-body.props.d.ts.map +1 -0
- package/components/data/form/form-body/form-body.styles.d.ts +4 -0
- package/components/data/form/form-body/form-body.styles.d.ts.map +1 -0
- package/components/data/form/form-field/form-field.component.d.ts +31 -0
- package/components/data/form/form-field/form-field.component.d.ts.map +1 -0
- package/components/data/form/form-field/form-field.props.d.ts +29 -0
- package/components/data/form/form-field/form-field.props.d.ts.map +1 -0
- package/components/data/form/form-field/form-field.styles.d.ts +7 -0
- package/components/data/form/form-field/form-field.styles.d.ts.map +1 -0
- package/components/data/form/form-footer/form-footer.component.d.ts +11 -0
- package/components/data/form/form-footer/form-footer.component.d.ts.map +1 -0
- package/components/data/form/form-footer/form-footer.component.js +1 -2
- package/components/data/form/form-footer/form-footer.component.js.map +1 -1
- package/components/data/form/form-footer/form-footer.props.d.ts +5 -0
- package/components/data/form/form-footer/form-footer.props.d.ts.map +1 -0
- package/components/data/form/form-footer/form-footer.styles.d.ts +4 -0
- package/components/data/form/form-footer/form-footer.styles.d.ts.map +1 -0
- package/components/data/form/form.component.d.ts +62 -0
- package/components/data/form/form.component.d.ts.map +1 -0
- package/components/data/form/form.props.d.ts +26 -0
- package/components/data/form/form.props.d.ts.map +1 -0
- package/components/data/form/form.styles.d.ts +13 -0
- package/components/data/form/form.styles.d.ts.map +1 -0
- package/components/data/list/list-action-template/list-action-template.component.d.ts +13 -0
- package/components/data/list/list-action-template/list-action-template.component.d.ts.map +1 -0
- package/components/data/list/list-action-template/list-action-template.props.d.ts +6 -0
- package/components/data/list/list-action-template/list-action-template.props.d.ts.map +1 -0
- package/components/data/list/list-action-template/list-action-template.styles.d.ts +4 -0
- package/components/data/list/list-action-template/list-action-template.styles.d.ts.map +1 -0
- package/components/data/list/list-template/list-template.component.d.ts +11 -0
- package/components/data/list/list-template/list-template.component.d.ts.map +1 -0
- package/components/data/list/list-template/list-template.props.d.ts +6 -0
- package/components/data/list/list-template/list-template.props.d.ts.map +1 -0
- package/components/data/list/list-template/list-template.styles.d.ts +7 -0
- package/components/data/list/list-template/list-template.styles.d.ts.map +1 -0
- package/components/data/list/list.component.d.ts +60 -0
- package/components/data/list/list.component.d.ts.map +1 -0
- package/components/data/list/list.props.d.ts +45 -0
- package/components/data/list/list.props.d.ts.map +1 -0
- package/components/data/list/list.styles.d.ts +24 -0
- package/components/data/list/list.styles.d.ts.map +1 -0
- package/components/data/liveform/liveform.component.d.ts +15 -0
- package/components/data/liveform/liveform.component.d.ts.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.d.ts +15 -0
- package/components/device/barcodescanner/barcodescanner.component.d.ts.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.d.ts +14 -0
- package/components/device/barcodescanner/barcodescanner.props.d.ts.map +1 -0
- package/components/device/barcodescanner/barcodescanner.styles.d.ts +7 -0
- package/components/device/barcodescanner/barcodescanner.styles.d.ts.map +1 -0
- package/components/device/camera/camera.component.d.ts +16 -0
- package/components/device/camera/camera.component.d.ts.map +1 -0
- package/components/device/camera/camera.props.d.ts +20 -0
- package/components/device/camera/camera.props.d.ts.map +1 -0
- package/components/device/camera/camera.styles.d.ts +7 -0
- package/components/device/camera/camera.styles.d.ts.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.d.ts +16 -0
- package/components/dialogs/alertdialog/alertdialog.component.d.ts.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.props.d.ts +18 -0
- package/components/dialogs/alertdialog/alertdialog.props.d.ts.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.d.ts +15 -0
- package/components/dialogs/alertdialog/alertdialog.styles.d.ts.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.d.ts +16 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.d.ts.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.d.ts +18 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.d.ts.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts +16 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts.map +1 -0
- package/components/dialogs/dialog/dialog.component.d.ts +17 -0
- package/components/dialogs/dialog/dialog.component.d.ts.map +1 -0
- package/components/dialogs/dialog/dialog.props.d.ts +19 -0
- package/components/dialogs/dialog/dialog.props.d.ts.map +1 -0
- package/components/dialogs/dialog/dialog.styles.d.ts +12 -0
- package/components/dialogs/dialog/dialog.styles.d.ts.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.component.d.ts +12 -0
- package/components/dialogs/dialogactions/dialogactions.component.d.ts.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.props.d.ts +5 -0
- package/components/dialogs/dialogactions/dialogactions.props.d.ts.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.styles.d.ts +4 -0
- package/components/dialogs/dialogactions/dialogactions.styles.d.ts.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.d.ts +11 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.d.ts.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.d.ts +5 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.d.ts.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts +4 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts.map +1 -0
- package/components/input/basedataset/basedataset.component.d.ts +28 -0
- package/components/input/basedataset/basedataset.component.d.ts.map +1 -0
- package/components/input/basedataset/basedataset.props.d.ts +28 -0
- package/components/input/basedataset/basedataset.props.d.ts.map +1 -0
- package/components/input/basedataset/basedataset.styles.d.ts +4 -0
- package/components/input/basedataset/basedataset.styles.d.ts.map +1 -0
- package/components/input/baseinput/baseinput.component.d.ts +33 -0
- package/components/input/baseinput/baseinput.component.d.ts.map +1 -0
- package/components/input/baseinput/baseinput.props.d.ts +26 -0
- package/components/input/baseinput/baseinput.props.d.ts.map +1 -0
- package/components/input/baseinput/baseinput.styles.d.ts +4 -0
- package/components/input/baseinput/baseinput.styles.d.ts.map +1 -0
- package/components/input/basenumber/basenumber.component.d.ts +58 -0
- package/components/input/basenumber/basenumber.component.d.ts.map +1 -0
- package/components/input/basenumber/basenumber.props.d.ts +23 -0
- package/components/input/basenumber/basenumber.props.d.ts.map +1 -0
- package/components/input/basenumber/basenumber.styles.d.ts +4 -0
- package/components/input/basenumber/basenumber.styles.d.ts.map +1 -0
- package/components/input/calendar/calendar.component.d.ts +23 -0
- package/components/input/calendar/calendar.component.d.ts.map +1 -0
- package/components/input/calendar/calendar.props.d.ts +8 -0
- package/components/input/calendar/calendar.props.d.ts.map +1 -0
- package/components/input/calendar/calendar.styles.d.ts +30 -0
- package/components/input/calendar/calendar.styles.d.ts.map +1 -0
- package/components/input/calendar/views/month-view.d.ts +55 -0
- package/components/input/calendar/views/month-view.d.ts.map +1 -0
- package/components/input/calendar/views/month-view.styles.d.ts +34 -0
- package/components/input/calendar/views/month-view.styles.d.ts.map +1 -0
- package/components/input/checkbox/checkbox.component.d.ts +20 -0
- package/components/input/checkbox/checkbox.component.d.ts.map +1 -0
- package/components/input/checkbox/checkbox.props.d.ts +12 -0
- package/components/input/checkbox/checkbox.props.d.ts.map +1 -0
- package/components/input/checkbox/checkbox.styles.d.ts +12 -0
- package/components/input/checkbox/checkbox.styles.d.ts.map +1 -0
- package/components/input/checkboxset/checkboxset.component.d.ts +22 -0
- package/components/input/checkboxset/checkboxset.component.d.ts.map +1 -0
- package/components/input/checkboxset/checkboxset.props.d.ts +16 -0
- package/components/input/checkboxset/checkboxset.props.d.ts.map +1 -0
- package/components/input/checkboxset/checkboxset.styles.d.ts +14 -0
- package/components/input/checkboxset/checkboxset.styles.d.ts.map +1 -0
- package/components/input/chips/chips.component.d.ts +44 -0
- package/components/input/chips/chips.component.d.ts.map +1 -0
- package/components/input/chips/chips.component.js +2 -2
- package/components/input/chips/chips.component.js.map +1 -1
- package/components/input/chips/chips.props.d.ts +23 -0
- package/components/input/chips/chips.props.d.ts.map +1 -0
- package/components/input/chips/chips.styles.d.ts +35 -0
- package/components/input/chips/chips.styles.d.ts.map +1 -0
- package/components/input/chips/chips.styles.js +0 -1
- package/components/input/chips/chips.styles.js.map +1 -1
- package/components/input/composite/composite.component.d.ts +11 -0
- package/components/input/composite/composite.component.d.ts.map +1 -0
- package/components/input/composite/composite.props.d.ts +6 -0
- package/components/input/composite/composite.props.d.ts.map +1 -0
- package/components/input/composite/composite.styles.d.ts +4 -0
- package/components/input/composite/composite.styles.d.ts.map +1 -0
- package/components/input/currency/currency.component.d.ts +15 -0
- package/components/input/currency/currency.component.d.ts.map +1 -0
- package/components/input/currency/currency.component.js +1 -3
- package/components/input/currency/currency.component.js.map +1 -1
- package/components/input/currency/currency.props.d.ts +7 -0
- package/components/input/currency/currency.props.d.ts.map +1 -0
- package/components/input/currency/currency.styles.d.ts +18 -0
- package/components/input/currency/currency.styles.d.ts.map +1 -0
- package/components/input/epoch/base-datetime.component.d.ts +50 -0
- package/components/input/epoch/base-datetime.component.d.ts.map +1 -0
- package/components/input/epoch/base-datetime.component.js +89 -91
- package/components/input/epoch/base-datetime.component.js.map +1 -1
- package/components/input/epoch/date/date.component.d.ts +9 -0
- package/components/input/epoch/date/date.component.d.ts.map +1 -0
- package/components/input/epoch/date/date.props.d.ts +5 -0
- package/components/input/epoch/date/date.props.d.ts.map +1 -0
- package/components/input/epoch/date/date.styles.d.ts +4 -0
- package/components/input/epoch/date/date.styles.d.ts.map +1 -0
- package/components/input/epoch/date-picker.component.d.ts +28 -0
- package/components/input/epoch/date-picker.component.d.ts.map +1 -0
- package/components/input/epoch/datetime/datetime.component.d.ts +9 -0
- package/components/input/epoch/datetime/datetime.component.d.ts.map +1 -0
- package/components/input/epoch/datetime/datetime.props.d.ts +31 -0
- package/components/input/epoch/datetime/datetime.props.d.ts.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.d.ts +24 -0
- package/components/input/epoch/datetime/datetime.styles.d.ts.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.js +3 -2
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -1
- package/components/input/epoch/time/time.component.d.ts +11 -0
- package/components/input/epoch/time/time.component.d.ts.map +1 -0
- package/components/input/epoch/time/time.props.d.ts +6 -0
- package/components/input/epoch/time/time.props.d.ts.map +1 -0
- package/components/input/epoch/time/time.styles.d.ts +4 -0
- package/components/input/epoch/time/time.styles.d.ts.map +1 -0
- package/components/input/epoch/wheel-date-picker.component.d.ts +42 -0
- package/components/input/epoch/wheel-date-picker.component.d.ts.map +1 -0
- package/components/input/epoch/wheel-time-picker.component.d.ts +22 -0
- package/components/input/epoch/wheel-time-picker.component.d.ts.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts +18 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts +10 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts +12 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts +13 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts +14 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts +12 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts +13 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts +13 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts.map +1 -0
- package/components/input/fileupload/fileupload.component.d.ts +21 -0
- package/components/input/fileupload/fileupload.component.d.ts.map +1 -0
- package/components/input/fileupload/fileupload.props.d.ts +14 -0
- package/components/input/fileupload/fileupload.props.d.ts.map +1 -0
- package/components/input/fileupload/fileupload.styles.d.ts +7 -0
- package/components/input/fileupload/fileupload.styles.d.ts.map +1 -0
- package/components/input/number/number.component.d.ts +14 -0
- package/components/input/number/number.component.d.ts.map +1 -0
- package/components/input/number/number.component.js +1 -2
- package/components/input/number/number.component.js.map +1 -1
- package/components/input/number/number.props.d.ts +7 -0
- package/components/input/number/number.props.d.ts.map +1 -0
- package/components/input/number/number.styles.d.ts +14 -0
- package/components/input/number/number.styles.d.ts.map +1 -0
- package/components/input/radioset/radioset.component.d.ts +19 -0
- package/components/input/radioset/radioset.component.d.ts.map +1 -0
- package/components/input/radioset/radioset.props.d.ts +15 -0
- package/components/input/radioset/radioset.props.d.ts.map +1 -0
- package/components/input/radioset/radioset.styles.d.ts +16 -0
- package/components/input/radioset/radioset.styles.d.ts.map +1 -0
- package/components/input/rating/rating.component.d.ts +19 -0
- package/components/input/rating/rating.component.d.ts.map +1 -0
- package/components/input/rating/rating.props.d.ts +20 -0
- package/components/input/rating/rating.props.d.ts.map +1 -0
- package/components/input/rating/rating.styles.d.ts +8 -0
- package/components/input/rating/rating.styles.d.ts.map +1 -0
- package/components/input/select/select.component.d.ts +37 -0
- package/components/input/select/select.component.d.ts.map +1 -0
- package/components/input/select/select.component.js +35 -76
- package/components/input/select/select.component.js.map +1 -1
- package/components/input/select/select.props.d.ts +6 -0
- package/components/input/select/select.props.d.ts.map +1 -0
- package/components/input/select/select.styles.d.ts +25 -0
- package/components/input/select/select.styles.d.ts.map +1 -0
- package/components/input/slider/slider.component.d.ts +55 -0
- package/components/input/slider/slider.component.d.ts.map +1 -0
- package/components/input/slider/slider.props.d.ts +18 -0
- package/components/input/slider/slider.props.d.ts.map +1 -0
- package/components/input/slider/slider.styles.d.ts +24 -0
- package/components/input/slider/slider.styles.d.ts.map +1 -0
- package/components/input/switch/switch.component.d.ts +15 -0
- package/components/input/switch/switch.component.d.ts.map +1 -0
- package/components/input/switch/switch.props.d.ts +7 -0
- package/components/input/switch/switch.props.d.ts.map +1 -0
- package/components/input/switch/switch.styles.d.ts +17 -0
- package/components/input/switch/switch.styles.d.ts.map +1 -0
- package/components/input/text/text.component.d.ts +13 -0
- package/components/input/text/text.component.d.ts.map +1 -0
- package/components/input/text/text.component.js +1 -2
- package/components/input/text/text.component.js.map +1 -1
- package/components/input/text/text.props.d.ts +11 -0
- package/components/input/text/text.props.d.ts.map +1 -0
- package/components/input/text/text.styles.d.ts +13 -0
- package/components/input/text/text.styles.d.ts.map +1 -0
- package/components/input/textarea/textarea.component.d.ts +13 -0
- package/components/input/textarea/textarea.component.d.ts.map +1 -0
- package/components/input/textarea/textarea.component.js +1 -2
- package/components/input/textarea/textarea.component.js.map +1 -1
- package/components/input/textarea/textarea.props.d.ts +9 -0
- package/components/input/textarea/textarea.props.d.ts.map +1 -0
- package/components/input/textarea/textarea.styles.d.ts +14 -0
- package/components/input/textarea/textarea.styles.d.ts.map +1 -0
- package/components/input/toggle/toggle.component.d.ts +25 -0
- package/components/input/toggle/toggle.component.d.ts.map +1 -0
- package/components/input/toggle/toggle.component.js +4 -12
- package/components/input/toggle/toggle.component.js.map +1 -1
- package/components/input/toggle/toggle.props.d.ts +20 -0
- package/components/input/toggle/toggle.props.d.ts.map +1 -0
- package/components/input/toggle/toggle.props.js +0 -5
- package/components/input/toggle/toggle.props.js.map +1 -1
- package/components/input/toggle/toggle.styles.d.ts +12 -0
- package/components/input/toggle/toggle.styles.d.ts.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.d.ts +18 -0
- package/components/navigation/appnavbar/appnavbar.component.d.ts.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.d.ts +16 -0
- package/components/navigation/appnavbar/appnavbar.props.d.ts.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.d.ts +17 -0
- package/components/navigation/appnavbar/appnavbar.styles.d.ts.map +1 -0
- package/components/navigation/basenav/basenav.component.d.ts +24 -0
- package/components/navigation/basenav/basenav.component.d.ts.map +1 -0
- package/components/navigation/basenav/basenav.props.d.ts +12 -0
- package/components/navigation/basenav/basenav.props.d.ts.map +1 -0
- package/components/navigation/basenav/basenav.styles.d.ts +4 -0
- package/components/navigation/basenav/basenav.styles.d.ts.map +1 -0
- package/components/navigation/menu/menu.component.d.ts +14 -0
- package/components/navigation/menu/menu.component.d.ts.map +1 -0
- package/components/navigation/menu/menu.props.d.ts +8 -0
- package/components/navigation/menu/menu.props.d.ts.map +1 -0
- package/components/navigation/menu/menu.styles.d.ts +9 -0
- package/components/navigation/menu/menu.styles.d.ts.map +1 -0
- package/components/navigation/navbar/navbar.component.d.ts +18 -0
- package/components/navigation/navbar/navbar.component.d.ts.map +1 -0
- package/components/navigation/navbar/navbar.props.d.ts +12 -0
- package/components/navigation/navbar/navbar.props.d.ts.map +1 -0
- package/components/navigation/navbar/navbar.styles.d.ts +10 -0
- package/components/navigation/navbar/navbar.styles.d.ts.map +1 -0
- package/components/navigation/navitem/navitem.component.d.ts +15 -0
- package/components/navigation/navitem/navitem.component.d.ts.map +1 -0
- package/components/navigation/navitem/navitem.props.d.ts +16 -0
- package/components/navigation/navitem/navitem.props.d.ts.map +1 -0
- package/components/navigation/navitem/navitem.styles.d.ts +11 -0
- package/components/navigation/navitem/navitem.styles.d.ts.map +1 -0
- package/components/navigation/popover/popover.component.d.ts +36 -0
- package/components/navigation/popover/popover.component.d.ts.map +1 -0
- package/components/navigation/popover/popover.component.js +1 -5
- package/components/navigation/popover/popover.component.js.map +1 -1
- package/components/navigation/popover/popover.props.d.ts +28 -0
- package/components/navigation/popover/popover.props.d.ts.map +1 -0
- package/components/navigation/popover/popover.styles.d.ts +16 -0
- package/components/navigation/popover/popover.styles.d.ts.map +1 -0
- package/components/page/content/content.component.d.ts +11 -0
- package/components/page/content/content.component.d.ts.map +1 -0
- package/components/page/content/content.props.d.ts +5 -0
- package/components/page/content/content.props.d.ts.map +1 -0
- package/components/page/content/content.styles.d.ts +4 -0
- package/components/page/content/content.styles.d.ts.map +1 -0
- package/components/page/left-panel/left-panel.component.d.ts +15 -0
- package/components/page/left-panel/left-panel.component.d.ts.map +1 -0
- package/components/page/left-panel/left-panel.props.d.ts +6 -0
- package/components/page/left-panel/left-panel.props.d.ts.map +1 -0
- package/components/page/left-panel/left-panel.styles.d.ts +4 -0
- package/components/page/left-panel/left-panel.styles.d.ts.map +1 -0
- package/components/page/page-content/page-content.component.d.ts +26 -0
- package/components/page/page-content/page-content.component.d.ts.map +1 -0
- package/components/page/page-content/page-content.props.d.ts +12 -0
- package/components/page/page-content/page-content.props.d.ts.map +1 -0
- package/components/page/page-content/page-content.styles.d.ts +7 -0
- package/components/page/page-content/page-content.styles.d.ts.map +1 -0
- package/components/page/page.component.d.ts +16 -0
- package/components/page/page.component.d.ts.map +1 -0
- package/components/page/page.props.d.ts +9 -0
- package/components/page/page.props.d.ts.map +1 -0
- package/components/page/page.styles.d.ts +7 -0
- package/components/page/page.styles.d.ts.map +1 -0
- package/components/page/partial/partial.component.d.ts +12 -0
- package/components/page/partial/partial.component.d.ts.map +1 -0
- package/components/page/partial/partial.props.d.ts +5 -0
- package/components/page/partial/partial.props.d.ts.map +1 -0
- package/components/page/partial/partial.styles.d.ts +7 -0
- package/components/page/partial/partial.styles.d.ts.map +1 -0
- package/components/page/partial-container/partial-container.component.d.ts +11 -0
- package/components/page/partial-container/partial-container.component.d.ts.map +1 -0
- package/components/page/partial-container/partial-container.props.d.ts +7 -0
- package/components/page/partial-container/partial-container.props.d.ts.map +1 -0
- package/components/page/partial-container/partial-container.styles.d.ts +4 -0
- package/components/page/partial-container/partial-container.styles.d.ts.map +1 -0
- package/components/page/tabbar/curve.d.ts +2 -0
- package/components/page/tabbar/curve.d.ts.map +1 -0
- package/components/page/tabbar/tabbar.component.d.ts +42 -0
- package/components/page/tabbar/tabbar.component.d.ts.map +1 -0
- package/components/page/tabbar/tabbar.props.d.ts +12 -0
- package/components/page/tabbar/tabbar.props.d.ts.map +1 -0
- package/components/page/tabbar/tabbar.styles.d.ts +20 -0
- package/components/page/tabbar/tabbar.styles.d.ts.map +1 -0
- package/components/prefab/prefab-container.component.d.ts +12 -0
- package/components/prefab/prefab-container.component.d.ts.map +1 -0
- package/components/prefab/prefab-container.props.d.ts +5 -0
- package/components/prefab/prefab-container.props.d.ts.map +1 -0
- package/components/prefab/prefab-container.styles.d.ts +7 -0
- package/components/prefab/prefab-container.styles.d.ts.map +1 -0
- package/core/AppConfig.d.ts +46 -0
- package/core/AppConfig.d.ts.map +1 -0
- package/core/accessibility.d.ts +61 -0
- package/core/accessibility.d.ts.map +1 -0
- package/core/asset.provider.d.ts +4 -0
- package/core/asset.provider.d.ts.map +1 -0
- package/core/base.component.d.ts +191 -0
- package/core/base.component.d.ts.map +1 -0
- package/core/base.component.js +7 -10
- package/core/base.component.js.map +1 -1
- package/core/components/error-fallback/error-fallback.component.d.ts +4 -0
- package/core/components/error-fallback/error-fallback.component.d.ts.map +1 -0
- package/core/components/error-fallback/error-fallback.component.js +18 -50
- package/core/components/error-fallback/error-fallback.component.js.map +1 -1
- package/core/components/error-fallback/error-fallback.styles.d.ts +29 -0
- package/core/components/error-fallback/error-fallback.styles.d.ts.map +1 -0
- package/core/components/error-fallback/error-fallback.styles.js +1 -4
- package/core/components/error-fallback/error-fallback.styles.js.map +1 -1
- package/core/components/floatinglabel.component.d.ts +8 -0
- package/core/components/floatinglabel.component.d.ts.map +1 -0
- package/core/components/sticky-base.component.d.ts +31 -0
- package/core/components/sticky-base.component.d.ts.map +1 -0
- package/core/components/sticky-container.component.d.ts +14 -0
- package/core/components/sticky-container.component.d.ts.map +1 -0
- package/core/components/sticky-container.styles.d.ts +11 -0
- package/core/components/sticky-container.styles.d.ts.map +1 -0
- package/core/components/sticky-nav.component.d.ts +14 -0
- package/core/components/sticky-nav.component.d.ts.map +1 -0
- package/core/components/textinput.component.d.ts +17 -0
- package/core/components/textinput.component.d.ts.map +1 -0
- package/core/constant.service.d.ts +18 -0
- package/core/constant.service.d.ts.map +1 -0
- package/core/constants/currency-constants.d.ts +1073 -0
- package/core/constants/currency-constants.d.ts.map +1 -0
- package/core/currency-constants.d.ts +2 -0
- package/core/currency-constants.d.ts.map +1 -0
- package/core/device/av-service.d.ts +13 -0
- package/core/device/av-service.d.ts.map +1 -0
- package/core/device/calendar-service.d.ts +25 -0
- package/core/device/calendar-service.d.ts.map +1 -0
- package/core/device/camera-service.d.ts +27 -0
- package/core/device/camera-service.d.ts.map +1 -0
- package/core/device/contacts-service.d.ts +17 -0
- package/core/device/contacts-service.d.ts.map +1 -0
- package/core/device/fileupload-service.d.ts +7 -0
- package/core/device/fileupload-service.d.ts.map +1 -0
- package/core/device/location-service.d.ts +17 -0
- package/core/device/location-service.d.ts.map +1 -0
- package/core/device/openfile-service.d.ts +52 -0
- package/core/device/openfile-service.d.ts.map +1 -0
- package/core/device/scan-service.d.ts +13 -0
- package/core/device/scan-service.d.ts.map +1 -0
- package/core/display.manager.d.ts +12 -0
- package/core/display.manager.d.ts.map +1 -0
- package/core/error-boundary.component.d.ts +21 -0
- package/core/error-boundary.component.d.ts.map +1 -0
- package/core/error-boundary.component.js +1 -17
- package/core/error-boundary.component.js.map +1 -1
- package/core/event-notifier.d.ts +14 -0
- package/core/event-notifier.d.ts.map +1 -0
- package/core/file-extension-types.d.ts +2 -0
- package/core/file-extension-types.d.ts.map +1 -0
- package/core/fixed-view.component.d.ts +33 -0
- package/core/fixed-view.component.d.ts.map +1 -0
- package/core/fixed-view.component.js +2 -19
- package/core/fixed-view.component.js.map +1 -1
- package/core/formatters.d.ts +28 -0
- package/core/formatters.d.ts.map +1 -0
- package/core/i18n.service.d.ts +6 -0
- package/core/i18n.service.d.ts.map +1 -0
- package/core/if.component.d.ts +12 -0
- package/core/if.component.d.ts.map +1 -0
- package/core/imageSizeEstimator.d.ts +14 -0
- package/core/imageSizeEstimator.d.ts.map +1 -0
- package/core/injector.d.ts +18 -0
- package/core/injector.d.ts.map +1 -0
- package/core/key.extractor.d.ts +7 -0
- package/core/key.extractor.d.ts.map +1 -0
- package/core/logger.d.ts +26 -0
- package/core/logger.d.ts.map +1 -0
- package/core/modal.service.d.ts +22 -0
- package/core/modal.service.d.ts.map +1 -0
- package/core/navigation.service.d.ts +32 -0
- package/core/navigation.service.d.ts.map +1 -0
- package/core/network.service.d.ts +114 -0
- package/core/network.service.d.ts.map +1 -0
- package/core/partial.service.d.ts +10 -0
- package/core/partial.service.d.ts.map +1 -0
- package/core/props.provider.d.ts +19 -0
- package/core/props.provider.d.ts.map +1 -0
- package/core/responsive.utils.d.ts +24 -0
- package/core/responsive.utils.d.ts.map +1 -0
- package/core/screen-capture-protection.service.d.ts +8 -0
- package/core/screen-capture-protection.service.d.ts.map +1 -0
- package/core/scroll-view.component.d.ts +19 -0
- package/core/scroll-view.component.d.ts.map +1 -0
- package/core/secure-storage.service.d.ts +10 -0
- package/core/secure-storage.service.d.ts.map +1 -0
- package/core/security.service.d.ts +13 -0
- package/core/security.service.d.ts.map +1 -0
- package/core/spinner.service.d.ts +13 -0
- package/core/spinner.service.d.ts.map +1 -0
- package/core/sticky-view.component.d.ts +21 -0
- package/core/sticky-view.component.d.ts.map +1 -0
- package/core/sticky-wrapper.d.ts +31 -0
- package/core/sticky-wrapper.d.ts.map +1 -0
- package/core/storage.service.d.ts +11 -0
- package/core/storage.service.d.ts.map +1 -0
- package/core/tappable.component.d.ts +40 -0
- package/core/tappable.component.d.ts.map +1 -0
- package/core/tappable.component.js +4 -7
- package/core/tappable.component.js.map +1 -1
- package/core/testid.provider.d.ts +4 -0
- package/core/testid.provider.d.ts.map +1 -0
- package/core/toast.service.d.ts +24 -0
- package/core/toast.service.d.ts.map +1 -0
- package/core/toast.service.js.map +1 -1
- package/core/ui-preferences.context.d.ts +11 -0
- package/core/ui-preferences.context.d.ts.map +1 -0
- package/core/utils.d.ts +167 -0
- package/core/utils.d.ts.map +1 -0
- package/core/viewport.d.ts +19 -0
- package/core/viewport.d.ts.map +1 -0
- package/core/wm-component-tree.d.ts +22 -0
- package/core/wm-component-tree.d.ts.map +1 -0
- package/gestures/carousel-swipe.animation.d.ts +56 -0
- package/gestures/carousel-swipe.animation.d.ts.map +1 -0
- package/gestures/swipe.animation.d.ts +51 -0
- package/gestures/swipe.animation.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -0
- package/package.json +2 -2
- package/runtime/App.d.ts +129 -0
- package/runtime/App.d.ts.map +1 -0
- package/runtime/App.js +13 -124
- package/runtime/App.js.map +1 -1
- package/runtime/App.navigator.d.ts +11 -0
- package/runtime/App.navigator.d.ts.map +1 -0
- package/runtime/base-customwidget.component.d.ts +24 -0
- package/runtime/base-customwidget.component.d.ts.map +1 -0
- package/runtime/base-fragment.component.d.ts +91 -0
- package/runtime/base-fragment.component.d.ts.map +1 -0
- package/runtime/base-page.component.d.ts +42 -0
- package/runtime/base-page.component.d.ts.map +1 -0
- package/runtime/base-page.component.js +2 -11
- package/runtime/base-page.component.js.map +1 -1
- package/runtime/base-partial.component.d.ts +29 -0
- package/runtime/base-partial.component.d.ts.map +1 -0
- package/runtime/base-prefab.component.d.ts +29 -0
- package/runtime/base-prefab.component.d.ts.map +1 -0
- package/runtime/lib-patch.d.ts +8 -0
- package/runtime/lib-patch.d.ts.map +1 -0
- package/runtime/memo.component.d.ts +20 -0
- package/runtime/memo.component.d.ts.map +1 -0
- package/runtime/navigator/drawer.navigator.d.ts +14 -0
- package/runtime/navigator/drawer.navigator.d.ts.map +1 -0
- package/runtime/navigator/drawer.navigator.js +0 -1
- package/runtime/navigator/drawer.navigator.js.map +1 -1
- package/runtime/navigator/stack.navigator.d.ts +8 -0
- package/runtime/navigator/stack.navigator.d.ts.map +1 -0
- package/runtime/platform.api.d.ts +13 -0
- package/runtime/platform.api.d.ts.map +1 -0
- package/runtime/services/app-display-manager.service.d.ts +16 -0
- package/runtime/services/app-display-manager.service.d.ts.map +1 -0
- package/runtime/services/app-i18n.service.d.ts +33 -0
- package/runtime/services/app-i18n.service.d.ts.map +1 -0
- package/runtime/services/app-modal.service.d.ts +19 -0
- package/runtime/services/app-modal.service.d.ts.map +1 -0
- package/runtime/services/app-security.service.d.ts +30 -0
- package/runtime/services/app-security.service.d.ts.map +1 -0
- package/runtime/services/app-spinner.service.d.ts +20 -0
- package/runtime/services/app-spinner.service.d.ts.map +1 -0
- package/runtime/services/app-toast.service.d.ts +13 -0
- package/runtime/services/app-toast.service.d.ts.map +1 -0
- package/runtime/services/device/calendar-service.d.ts +11 -0
- package/runtime/services/device/calendar-service.d.ts.map +1 -0
- package/runtime/services/device/camera-service.d.ts +63 -0
- package/runtime/services/device/camera-service.d.ts.map +1 -0
- package/runtime/services/device/camera-service.js +20 -31
- package/runtime/services/device/camera-service.js.map +1 -1
- package/runtime/services/device/contacts-service.d.ts +7 -0
- package/runtime/services/device/contacts-service.d.ts.map +1 -0
- package/runtime/services/device/location-service.d.ts +6 -0
- package/runtime/services/device/location-service.d.ts.map +1 -0
- package/runtime/services/device/permission-service.d.ts +7 -0
- package/runtime/services/device/permission-service.d.ts.map +1 -0
- package/runtime/services/device/permissions.d.ts +5 -0
- package/runtime/services/device/permissions.d.ts.map +1 -0
- package/runtime/services/device/scan-service.d.ts +19 -0
- package/runtime/services/device/scan-service.d.ts.map +1 -0
- package/runtime/services/partial.service.d.ts +12 -0
- package/runtime/services/partial.service.d.ts.map +1 -0
- package/runtime/services/webprocess.service.d.ts +10 -0
- package/runtime/services/webprocess.service.d.ts.map +1 -0
- package/runtime/watcher.d.ts +33 -0
- package/runtime/watcher.d.ts.map +1 -0
- package/styles/MediaQueryList.d.ts +6 -0
- package/styles/MediaQueryList.d.ts.map +1 -0
- package/styles/background.component.d.ts +57 -0
- package/styles/background.component.d.ts.map +1 -0
- package/styles/background.component.js +2 -2
- package/styles/background.component.js.map +1 -1
- package/styles/calc.d.ts +24 -0
- package/styles/calc.d.ts.map +1 -0
- package/styles/color-mix.d.ts +5 -0
- package/styles/color-mix.d.ts.map +1 -0
- package/styles/style-prop.validator.d.ts +4 -0
- package/styles/style-prop.validator.d.ts.map +1 -0
- package/styles/style-props.d.ts +49 -0
- package/styles/style-props.d.ts.map +1 -0
- package/styles/theme.d.ts +66 -0
- package/styles/theme.d.ts.map +1 -0
- package/styles/theme.js +11 -27
- package/styles/theme.js.map +1 -1
- package/styles/theme.variables.d.ts +379 -0
- package/styles/theme.variables.d.ts.map +1 -0
- package/styles/theme.variables.js +0 -2
- package/styles/theme.variables.js.map +1 -1
- package/variables/base-variable.d.ts +50 -0
- package/variables/base-variable.d.ts.map +1 -0
- package/variables/device/calendar/create-event.operation.d.ts +18 -0
- package/variables/device/calendar/create-event.operation.d.ts.map +1 -0
- package/variables/device/calendar/delete-event.operation.d.ts +14 -0
- package/variables/device/calendar/delete-event.operation.d.ts.map +1 -0
- package/variables/device/calendar/get-events.operation.d.ts +18 -0
- package/variables/device/calendar/get-events.operation.d.ts.map +1 -0
- package/variables/device/camera/capture-image.operation.d.ts +14 -0
- package/variables/device/camera/capture-image.operation.d.ts.map +1 -0
- package/variables/device/camera/capture-video.operation.d.ts +14 -0
- package/variables/device/camera/capture-video.operation.d.ts.map +1 -0
- package/variables/device/contacts/get-contacts.operation.d.ts +19 -0
- package/variables/device/contacts/get-contacts.operation.d.ts.map +1 -0
- package/variables/device/device/app-info.operation.d.ts +13 -0
- package/variables/device/device/app-info.operation.d.ts.map +1 -0
- package/variables/device/device/current-geo-position.operation.d.ts +31 -0
- package/variables/device/device/current-geo-position.operation.d.ts.map +1 -0
- package/variables/device/device/device-info.operation.d.ts +11 -0
- package/variables/device/device/device-info.operation.d.ts.map +1 -0
- package/variables/device/device/network-info.operation.d.ts +14 -0
- package/variables/device/device/network-info.operation.d.ts.map +1 -0
- package/variables/device/device/vibrate.operation.d.ts +8 -0
- package/variables/device/device/vibrate.operation.d.ts.map +1 -0
- package/variables/device/file/open-file.operation.d.ts +31 -0
- package/variables/device/file/open-file.operation.d.ts.map +1 -0
- package/variables/device/file/upload-file.operation.d.ts +23 -0
- package/variables/device/file/upload-file.operation.d.ts.map +1 -0
- package/variables/device/operation.provider.d.ts +15 -0
- package/variables/device/operation.provider.d.ts.map +1 -0
- package/variables/device/scan/scan.operation.d.ts +21 -0
- package/variables/device/scan/scan.operation.d.ts.map +1 -0
- package/variables/device-variable.d.ts +10 -0
- package/variables/device-variable.d.ts.map +1 -0
- package/variables/http.service.d.ts +11 -0
- package/variables/http.service.d.ts.map +1 -0
- package/variables/live-variable.d.ts +44 -0
- package/variables/live-variable.d.ts.map +1 -0
- package/variables/model-variable.d.ts +10 -0
- package/variables/model-variable.d.ts.map +1 -0
- package/variables/service-variable.d.ts +33 -0
- package/variables/service-variable.d.ts.map +1 -0
- package/variables/utils/dataset-util.d.ts +32 -0
- package/variables/utils/dataset-util.d.ts.map +1 -0
- package/variables/utils/inflight-queue.d.ts +36 -0
- package/variables/utils/inflight-queue.d.ts.map +1 -0
- package/variables/utils/variable.constants.d.ts +22 -0
- package/variables/utils/variable.constants.d.ts.map +1 -0
- package/variables/utils/variable.utils.d.ts +21 -0
- package/variables/utils/variable.utils.d.ts.map +1 -0
- package/core/advanced-promise-rejection-tracker.js +0 -208
- package/core/advanced-promise-rejection-tracker.js.map +0 -1
- package/core/global-error-handler.service.js +0 -103
- package/core/global-error-handler.service.js.map +0 -1
- package/npm-shrinkwrap.json +0 -26091
- package/package-lock.json +0 -26091
package/core/logger.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class Logger {
|
|
2
|
+
private name;
|
|
3
|
+
private level;
|
|
4
|
+
private ins;
|
|
5
|
+
constructor(name: string, level: string);
|
|
6
|
+
private isEnabled;
|
|
7
|
+
private log;
|
|
8
|
+
extend(name: string): Logger;
|
|
9
|
+
setLevel(level: string): void;
|
|
10
|
+
debug(msg: string | Function): void;
|
|
11
|
+
info(msg: string | Function): void;
|
|
12
|
+
warn(msg: string | Function): void;
|
|
13
|
+
error(msg: string | Function): void;
|
|
14
|
+
}
|
|
15
|
+
export declare const ROOT_LOGGER: Logger;
|
|
16
|
+
export declare const PERFORMANCE_LOGGER: Logger;
|
|
17
|
+
export declare const RENDER_LOGGER: Logger;
|
|
18
|
+
declare const _default: {
|
|
19
|
+
get: (name: string, level?: string | undefined) => Logger;
|
|
20
|
+
setLogLevel: (name?: string, level?: string) => void;
|
|
21
|
+
list: () => string[];
|
|
22
|
+
reset: () => void;
|
|
23
|
+
init: () => void;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/core/logger.ts"],"names":[],"mappings":"AAuEA,qBAAa,MAAM;IAIH,OAAO,CAAC,IAAI;IAAU,OAAO,CAAC,KAAK;IAF/C,OAAO,CAAC,GAAG,CAAe;gBAEN,IAAI,EAAE,MAAM,EAAU,KAAK,EAAE,MAAM;IAKvD,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,GAAG;IASX,MAAM,CAAC,IAAI,EAAE,MAAM;IAInB,QAAQ,CAAC,KAAK,EAAE,MAAM;IAItB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ;IAI5B,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ;IAI3B,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ;IAI3B,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ;CAG/B;AAWD,eAAO,MAAM,WAAW,QAAoB,CAAC;AAC7C,eAAO,MAAM,kBAAkB,QAAoC,CAAC;AACpE,eAAO,MAAM,aAAa,QAAsC,CAAC;;;yBAIxC,MAAM,UAAU,MAAM;;;;;AAF/C,wBAME"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ModalOptions {
|
|
3
|
+
elevationIndex: number;
|
|
4
|
+
name?: string;
|
|
5
|
+
content: React.ReactNode;
|
|
6
|
+
modalStyle?: any;
|
|
7
|
+
contentStyle?: any;
|
|
8
|
+
centered?: boolean;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
onOpen?: () => void;
|
|
11
|
+
isModal?: boolean;
|
|
12
|
+
animation: string;
|
|
13
|
+
animationdelay: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ModalService {
|
|
16
|
+
refresh: () => void;
|
|
17
|
+
showModal: (options: ModalOptions) => void;
|
|
18
|
+
hideModal: (options: ModalOptions) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const ModalProvider: React.Provider<ModalService>;
|
|
21
|
+
export declare const ModalConsumer: React.Consumer<ModalService>;
|
|
22
|
+
//# sourceMappingURL=modal.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.service.d.ts","sourceRoot":"","sources":["../../../src/core/modal.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,YAAY;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,SAAS,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;CAC9C;AAID,eAAO,MAAM,aAAa,8BAAwB,CAAC;AACnD,eAAO,MAAM,aAAa,8BAAwB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ParamListBase } from '@react-navigation/native';
|
|
3
|
+
export default interface NavigationService {
|
|
4
|
+
goToPage: (pageName: string, params: any) => Promise<void>;
|
|
5
|
+
goBack: (pageName: string, params: any) => Promise<void>;
|
|
6
|
+
openUrl: (url: string, params?: any) => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare const NavigationServiceProvider: React.Provider<NavigationService>;
|
|
9
|
+
export declare const NavigationServiceConsumer: React.Consumer<NavigationService>;
|
|
10
|
+
export declare const navigationRef: import("@react-navigation/native").NavigationContainerRefWithCurrent<ParamListBase>;
|
|
11
|
+
declare let isNavigationReady: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Set the navigation readiness state.
|
|
14
|
+
* If NavigationContainer becomes ready, flush any pending navigation actions.
|
|
15
|
+
*/
|
|
16
|
+
export declare function setNavigationReady(ready: boolean): void;
|
|
17
|
+
/**
|
|
18
|
+
* Get the current navigation readiness state.
|
|
19
|
+
*/
|
|
20
|
+
export declare function getNavigationReady(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Navigate to a specific screen.
|
|
23
|
+
* If NavigationContainer isn't ready, queue the navigation action.
|
|
24
|
+
*/
|
|
25
|
+
export declare function navigate(name: string, params: any): void;
|
|
26
|
+
/**
|
|
27
|
+
* Navigate back to the previous screen.
|
|
28
|
+
* If NavigationContainer isn't ready, queue the goBack action.
|
|
29
|
+
*/
|
|
30
|
+
export declare function goBackRef(): void;
|
|
31
|
+
export { isNavigationReady };
|
|
32
|
+
//# sourceMappingURL=navigation.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.service.d.ts","sourceRoot":"","sources":["../../../src/core/navigation.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAgC,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEvF,MAAM,CAAC,OAAO,WAAW,iBAAiB;IACtC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACzD;AAID,eAAO,MAAM,yBAAyB,mCAA6B,CAAC;AACpE,eAAO,MAAM,yBAAyB,mCAA6B,CAAC;AAMpE,eAAO,MAAM,aAAa,qFAAgD,CAAC;AAG3E,QAAA,IAAI,iBAAiB,SAAQ,CAAC;AAK9B;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,QAKhD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,YAEjC;AAYD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,QAMjD;AAED;;;GAGG;AACH,wBAAgB,SAAS,SAMxB;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import AppConfig from './AppConfig';
|
|
2
|
+
import EventNotifier from './event-notifier';
|
|
3
|
+
export declare class NetworkState {
|
|
4
|
+
isConnecting: boolean;
|
|
5
|
+
isConnected: boolean;
|
|
6
|
+
isNetworkAvailable: boolean;
|
|
7
|
+
isServiceAvailable: boolean;
|
|
8
|
+
noServiceRequired: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare class NetworkService {
|
|
11
|
+
static readonly SERVICE_NAME = "NetworkService";
|
|
12
|
+
private _autoConnect;
|
|
13
|
+
private _lastKnownNetworkState;
|
|
14
|
+
private _isCheckingServer;
|
|
15
|
+
private appConfig;
|
|
16
|
+
readonly notifier: EventNotifier;
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* This method attempts to connect app to the server and returns a promise that will be resolved with
|
|
20
|
+
* a boolean value based on the operation result.
|
|
21
|
+
*
|
|
22
|
+
* @returns {object} promise
|
|
23
|
+
*/
|
|
24
|
+
connect(silent?: boolean): Promise<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* When the auto connect is enabled, then app is automatically connected whenever server is available.
|
|
27
|
+
* Every time when app goes offline, auto connect is enabled. Before app coming to online, one can disable
|
|
28
|
+
* the auto connection flow using this method.
|
|
29
|
+
*/
|
|
30
|
+
disableAutoConnect: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* This method disconnects the app from the server and returns a promise that will be resolved with
|
|
33
|
+
* a boolean value based on the operation result. Use connect method to reconnect.
|
|
34
|
+
*
|
|
35
|
+
* @returns {object} promise
|
|
36
|
+
*/
|
|
37
|
+
disconnect(): Promise<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* If pingServer is true, then it returns a promise that will be resolved with boolean based on service availability
|
|
40
|
+
* check.If pingServer is false, returns a boolean value based on the last known service availability.
|
|
41
|
+
*
|
|
42
|
+
* @returns {boolean} if pingServer is true, then a promise is returned. Otherwise, a boolean value.
|
|
43
|
+
*/
|
|
44
|
+
isAvailable(pingServer?: boolean): boolean | Promise<boolean>;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true, if app is connected to server. Otherwise, returns false.
|
|
47
|
+
*
|
|
48
|
+
* @returns {boolean} Returns true, if app is connected to server. Otherwise, returns false.
|
|
49
|
+
*/
|
|
50
|
+
isConnected: () => boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if app is trying to connect to server. Otherwise, returns false.
|
|
53
|
+
*
|
|
54
|
+
* @returns {boolean} Returns true if app is trying to connect to server. Otherwise, returns false.
|
|
55
|
+
*/
|
|
56
|
+
isConnecting: () => boolean;
|
|
57
|
+
/**
|
|
58
|
+
* This method returns a promise that is resolved when connection is established with server.
|
|
59
|
+
*
|
|
60
|
+
* @returns {object} promise a promise that is resolved with the returned object of fn
|
|
61
|
+
*/
|
|
62
|
+
onConnect(): any;
|
|
63
|
+
/**
|
|
64
|
+
* This is a util method. If fn cannot execute successfully and network lost connection, then the fn will
|
|
65
|
+
* be invoked when network is back. The returned can also be aborted.
|
|
66
|
+
*
|
|
67
|
+
* @param {function()} fn method to invoke.
|
|
68
|
+
* @returns {object} promise a promise that is resolved with the returned object of fn
|
|
69
|
+
*/
|
|
70
|
+
retryIfNetworkFails(fn: Function): any;
|
|
71
|
+
start(appConfig: AppConfig): Promise<any>;
|
|
72
|
+
getServiceName(): string;
|
|
73
|
+
/**
|
|
74
|
+
* This function adds the given regular expression to the unblockList. Even app is in offline mode,
|
|
75
|
+
* the urls matching with the given regular expression are not blocked by NetworkService.
|
|
76
|
+
*
|
|
77
|
+
* @param {string} urlRegex regular expression
|
|
78
|
+
*/
|
|
79
|
+
unblock(urlRegex: string): void;
|
|
80
|
+
getState(): NetworkState;
|
|
81
|
+
private checkForNetworkStateChange;
|
|
82
|
+
/**
|
|
83
|
+
* Returns a promise that is resolved when server is available.
|
|
84
|
+
* @returns {*}
|
|
85
|
+
*/
|
|
86
|
+
private checkForServiceAvailiblity;
|
|
87
|
+
/**
|
|
88
|
+
* Pings server to check whether server is available. Based on ping response network state is modified.
|
|
89
|
+
* @returns {*} a promise that resolved with true, if server responds with valid status.
|
|
90
|
+
* Otherwise, the promise is resolved with false.
|
|
91
|
+
*/
|
|
92
|
+
private isServiceAvailable;
|
|
93
|
+
/**
|
|
94
|
+
* Pings server
|
|
95
|
+
* @returns {*} a promise that resolved with true, if server responds with valid status.
|
|
96
|
+
* Otherwise, the promise is resolved with false.
|
|
97
|
+
* default timeout value is 1min.
|
|
98
|
+
*/
|
|
99
|
+
private pingServer;
|
|
100
|
+
private setAutoConnect;
|
|
101
|
+
/**
|
|
102
|
+
* Tries to connect to remote server. Network State will be changed based on the success of connection
|
|
103
|
+
* operation and emits an event notifying the network state change.
|
|
104
|
+
*
|
|
105
|
+
* @param silentMode {boolean} if true and connection is successful, then no event is emitted. Otherwise,
|
|
106
|
+
* events are emitted for network status change.
|
|
107
|
+
* @returns {*} a promise
|
|
108
|
+
*/
|
|
109
|
+
private tryToConnect;
|
|
110
|
+
private tryToDisconnect;
|
|
111
|
+
}
|
|
112
|
+
declare const _default: NetworkService;
|
|
113
|
+
export default _default;
|
|
114
|
+
//# sourceMappingURL=network.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.service.d.ts","sourceRoot":"","sources":["../../../src/core/network.service.ts"],"names":[],"mappings":"AAKA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAG7C,qBAAa,YAAY;IACrB,YAAY,UAAS;IACrB,WAAW,UAAQ;IACnB,kBAAkB,UAAQ;IAC1B,kBAAkB,UAAQ;IAC1B,iBAAiB,UAAS;CAC7B;AA8BD,cAAM,cAAc;IAChB,MAAM,CAAC,QAAQ,CAAC,YAAY,oBAAoB;IAEhD,OAAO,CAAC,YAAY,CAAQ;IAC5B,OAAO,CAAC,sBAAsB,CAAM;IACpC,OAAO,CAAC,iBAAiB,CAAS;IAClC,OAAO,CAAC,SAAS,CAA0B;IAC3C,SAAgB,QAAQ,EAAE,aAAa,CAAuB;;IAI9D;;;;;OAKG;IACI,OAAO,CAAC,MAAM,UAAQ,GAAG,OAAO,CAAC,OAAO,CAAC;IAKhD;;;;OAIG;IACI,kBAAkB,aAAoC;IAE7D;;;;;OAKG;IACI,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;IAMrC;;;;;OAKG;IACI,WAAW,CAAC,UAAU,UAAQ,GAAG,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAUlE;;;;OAIG;IACI,WAAW,gBAGjB;IAED;;;;OAIG;IACI,YAAY,gBAAmC;IAEtD;;;;OAIG;IACI,SAAS;IAkBhB;;;;;;OAMG;IACI,mBAAmB,CAAC,EAAE,EAAE,QAAQ;IAgB1B,KAAK,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC;IAwC/C,cAAc;IAIrB;;;;;OAKG;IACI,OAAO,CAAC,QAAQ,EAAE,MAAM;IAIxB,QAAQ;IAIf,OAAO,CAAC,0BAA0B;IAOlC;;;OAGG;IACH,OAAO,CAAC,0BAA0B;IAgBlC;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAgB1B;;;;;OAKG;IACH,OAAO,CAAC,UAAU;IAalB,OAAO,CAAC,cAAc;IAKtB;;;;;;;OAOG;IACH,OAAO,CAAC,YAAY;IA4BpB,OAAO,CAAC,eAAe;CAO1B;;AAED,wBAAoC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default interface PartialService {
|
|
3
|
+
get: (partialName: string, params?: {
|
|
4
|
+
isPrefab: boolean;
|
|
5
|
+
name: string;
|
|
6
|
+
}) => any;
|
|
7
|
+
}
|
|
8
|
+
export declare const PartialProvider: React.Provider<PartialService>;
|
|
9
|
+
export declare const PartialConsumer: React.Consumer<PartialService>;
|
|
10
|
+
//# sourceMappingURL=partial.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partial.service.d.ts","sourceRoot":"","sources":["../../../src/core/partial.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,OAAO,WAAW,cAAc;IACnC,GAAG,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,KAAK,GAAG,CAAC;CACjF;AAID,eAAO,MAAM,eAAe,gCAA0B,CAAC;AACvD,eAAO,MAAM,eAAe,gCAA0B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseProps } from "./base.component";
|
|
2
|
+
export declare class PropsProvider<T extends BaseProps> {
|
|
3
|
+
private defaultProps;
|
|
4
|
+
private initprops;
|
|
5
|
+
private onChange;
|
|
6
|
+
private oldProps;
|
|
7
|
+
private overriddenProps;
|
|
8
|
+
private propsProxy;
|
|
9
|
+
private isDirty;
|
|
10
|
+
private propertyNames;
|
|
11
|
+
constructor(defaultProps: T, initprops: T, onChange?: (name: string, $new: any, $old: any) => void);
|
|
12
|
+
setDefault(propName: string, value: any): void;
|
|
13
|
+
overrideProp(propName: string, value: any): void;
|
|
14
|
+
check(nextProps?: T): boolean;
|
|
15
|
+
set(name: string, value: any): void;
|
|
16
|
+
has(propName: string): boolean;
|
|
17
|
+
get(): T;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=props.provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.provider.d.ts","sourceRoot":"","sources":["../../../src/core/props.provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBAAa,aAAa,CAAC,CAAC,SAAS,SAAS;IAO9B,OAAO,CAAC,YAAY;IAAK,OAAO,CAAC,SAAS;IAAK,OAAO,CAAC,QAAQ;IAN3E,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,eAAe,CAAW;IAClC,OAAO,CAAC,UAAU,CAAI;IACtB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,aAAa,CAAa;gBAEd,YAAY,EAAE,CAAC,EAAU,SAAS,EAAE,CAAC,EAAU,QAAQ,UAAU,MAAM,QAAQ,GAAG,QAAQ,GAAG,SAAO;IAiCxH,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAGvC,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAKzC,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;IAwBnB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAQ5B,GAAG,CAAC,QAAQ,EAAE,MAAM;IAIpB,GAAG;CAGN"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type ResponsiveBreakpoint = 'xs' | 'sm' | 'md' | 'lg';
|
|
2
|
+
export type ResponsiveConfig<T> = {
|
|
3
|
+
xs?: T;
|
|
4
|
+
sm?: T;
|
|
5
|
+
md?: T;
|
|
6
|
+
lg?: T;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Determines the current responsive breakpoint based on viewport width and pixel ratio
|
|
10
|
+
* @returns The current breakpoint ('xs' | 'sm' | 'md' | 'lg')
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare const getCurrentBreakpoint: () => ResponsiveBreakpoint;
|
|
14
|
+
/**
|
|
15
|
+
* Gets responsive value for current breakpoint with safe mobile-first fallback
|
|
16
|
+
* The fallback order is: current breakpoint -> smaller breakpoints -> xs (ultimate fallback)
|
|
17
|
+
*
|
|
18
|
+
* @param responsiveConfig Object containing values for each breakpoint (xs, sm, md, lg)
|
|
19
|
+
* @param currentBreakpoint Current breakpoint (optional, will be auto-detected if not provided)
|
|
20
|
+
* @returns The value for current breakpoint or fallback value
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare const getNumberOfColumnsFromResponsiveConfig: (responsiveConfig: ResponsiveConfig<number>, currentBreakpoint?: ResponsiveBreakpoint, fallback?: boolean) => number;
|
|
24
|
+
//# sourceMappingURL=responsive.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsive.utils.d.ts","sourceRoot":"","sources":["../../../src/core/responsive.utils.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7D,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAChC,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;CACR,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAO,oBAWvC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sCAAsC,qBAC/B,iBAAiB,MAAM,CAAC,sBACtB,oBAAoB,aAC9B,OAAO,KAChB,MAmBF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ScreenCaptureProtectionContextType {
|
|
3
|
+
enableProtection: () => void;
|
|
4
|
+
disableProtection: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const ScreenCaptureProtectionProvider: React.Provider<ScreenCaptureProtectionContextType | null>;
|
|
7
|
+
export declare const ScreenCaptureProtectionConsumer: React.Consumer<ScreenCaptureProtectionContextType | null>;
|
|
8
|
+
//# sourceMappingURL=screen-capture-protection.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen-capture-protection.service.d.ts","sourceRoot":"","sources":["../../../src/core/screen-capture-protection.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,MAAM,WAAW,kCAAkC;IACjD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B;AAID,eAAO,MAAM,+BAA+B,2DAA0C,CAAC;AACvF,eAAO,MAAM,+BAA+B,2DAA0C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ScrollViewProps as RNScrollViewProps } from 'react-native';
|
|
3
|
+
export interface ScrollViewProps extends RNScrollViewProps {
|
|
4
|
+
}
|
|
5
|
+
export interface ScrollViewState {
|
|
6
|
+
scrollEnabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const ScrollViewProvider: React.Provider<ScrollView>;
|
|
9
|
+
export declare const ScrollViewConsumer: React.Consumer<ScrollView>;
|
|
10
|
+
export declare class ScrollView extends React.Component<ScrollViewProps, ScrollViewState> {
|
|
11
|
+
instance: ScrollView;
|
|
12
|
+
constructor(props: ScrollViewProps);
|
|
13
|
+
enableScroll(): void;
|
|
14
|
+
disableScroll(): void;
|
|
15
|
+
isScrollEnabled(): boolean;
|
|
16
|
+
get contentOffset(): number;
|
|
17
|
+
render(): React.JSX.Element;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=scroll-view.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-view.component.d.ts","sourceRoot":"","sources":["../../../src/core/scroll-view.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA8B,eAAe,IAAI,iBAAiB,EAAQ,MAAM,cAAc,CAAC;AAEtG,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;CAEzD;AAED,MAAM,WAAW,eAAe;IAC5B,aAAa,EAAE,OAAO,CAAC;CAC1B;AAID,eAAO,MAAM,kBAAkB,4BAA6B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,4BAA6B,CAAC;AAE7D,qBAAa,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,eAAe,EAAE,eAAe,CAAC;IAEtE,QAAQ,EAAE,UAAU,CAAe;gBAE9B,KAAK,EAAE,eAAe;IAOlC,YAAY;IAMZ,aAAa;IAMb,eAAe;IAIf,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED,MAAM;CAkBT"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StorageService } from './storage.service';
|
|
2
|
+
export declare class SecureStorageService extends StorageService {
|
|
3
|
+
getItem(key: string, callback?: (error?: Error | null, result?: string | null) => void): Promise<string | null>;
|
|
4
|
+
setItem(key: string, value: string, callback?: (error?: Error | null) => void): Promise<void>;
|
|
5
|
+
removeItem(key: string, callback?: (error?: Error | null) => void): Promise<void>;
|
|
6
|
+
isSecureStorageAvailable(): Promise<boolean>;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: SecureStorageService;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=secure-storage.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secure-storage.service.d.ts","sourceRoot":"","sources":["../../../src/core/secure-storage.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBAAa,oBAAqB,SAAQ,cAAc;IAChD,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAe/G,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAc7F,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAcjF,wBAAwB,IAAI,OAAO,CAAC,OAAO,CAAC;CAQnD;;AAED,wBAA0C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface SecurityOptions {
|
|
3
|
+
}
|
|
4
|
+
export interface SecurityService {
|
|
5
|
+
isLoggedIn: Boolean;
|
|
6
|
+
loggedInUser: any;
|
|
7
|
+
appLogin: (options: SecurityOptions, success?: any, failure?: any) => any;
|
|
8
|
+
appLogout: (options: any, success?: any, failure?: any) => any;
|
|
9
|
+
navigateToLandingPage: (data: any) => any;
|
|
10
|
+
}
|
|
11
|
+
export declare const SecurityProvider: React.Provider<SecurityService>;
|
|
12
|
+
export declare const SecurityConsumer: React.Consumer<SecurityService>;
|
|
13
|
+
//# sourceMappingURL=security.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.service.d.ts","sourceRoot":"","sources":["../../../src/core/security.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,eAAe;CAAG;AAEnC,MAAM,WAAW,eAAe;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,GAAG,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;IAC1E,SAAS,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;IAC/D,qBAAqB,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CAC7C;AAID,eAAO,MAAM,gBAAgB,iCAA2B,CAAC;AACzD,eAAO,MAAM,gBAAgB,iCAA2B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DisplayOptions {
|
|
3
|
+
content?: React.ReactNode;
|
|
4
|
+
message?: string;
|
|
5
|
+
spinner?: any;
|
|
6
|
+
}
|
|
7
|
+
export interface SpinnerService {
|
|
8
|
+
show: (options: DisplayOptions) => any;
|
|
9
|
+
hide: (options: DisplayOptions) => any;
|
|
10
|
+
}
|
|
11
|
+
export declare const SpinnerProvider: React.Provider<SpinnerService>;
|
|
12
|
+
export declare const SpinnerConsumer: React.Consumer<SpinnerService>;
|
|
13
|
+
//# sourceMappingURL=spinner.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.service.d.ts","sourceRoot":"","sources":["../../../src/core/spinner.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,GAAG,CAAC;IACvC,IAAI,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,GAAG,CAAC;CACxC;AAID,eAAO,MAAM,eAAe,gCAA0B,CAAC;AACvD,eAAO,MAAM,eAAe,gCAA0B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { AnimatedStyle } from "react-native-reanimated";
|
|
3
|
+
import EventNotifier from "./event-notifier";
|
|
4
|
+
import { StickyBaseView } from "./components/sticky-base.component";
|
|
5
|
+
export interface StickyViewComponentsProps {
|
|
6
|
+
stickyNavAnimateStyle?: AnimatedStyle;
|
|
7
|
+
stickyContainerAnimateStyle?: AnimatedStyle;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
hasAppnavbar?: boolean;
|
|
10
|
+
onscroll?: string;
|
|
11
|
+
notifier: EventNotifier;
|
|
12
|
+
}
|
|
13
|
+
export declare const StickyComponentsContext: React.Context<StickyViewComponents>;
|
|
14
|
+
export declare class StickyViewComponents extends React.Component<StickyViewComponentsProps, any, any> {
|
|
15
|
+
children: Map<StickyBaseView, React.ReactNode>;
|
|
16
|
+
id: number;
|
|
17
|
+
add(c: StickyBaseView, n: React.ReactNode): void;
|
|
18
|
+
remove(c: StickyBaseView): void;
|
|
19
|
+
render(): React.JSX.Element;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=sticky-view.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sticky-view.component.d.ts","sourceRoot":"","sources":["../../../src/core/sticky-view.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,EAKT,MAAM,OAAO,CAAC;AAEhB,OAAiB,EAOf,aAAa,EACd,MAAM,yBAAyB,CAAC;AAGjC,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAI7C,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGpE,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,CAAC,EAAE,aAAa,CAAC;IACtC,2BAA2B,CAAC,EAAE,aAAa,CAAC;IAC5C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,aAAa,CAAC;CACzB;AAGD,eAAO,MAAM,uBAAuB,qCAAyD,CAAC;AAE9F,qBAAa,oBAAqB,SAAQ,KAAK,CAAC,SAAS,CAAC,yBAAyB,EAAE,GAAG,EAAE,GAAG,CAAC;IAC5F,QAAQ,EAAE,GAAG,CAAC,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC,CAAa;IAC3D,EAAE,SAAK;IAEP,GAAG,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS;IAKzC,MAAM,CAAC,CAAC,EAAE,cAAc;IAKxB,MAAM;CAkBP"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React, { RefObject } from "react";
|
|
2
|
+
import { NativeScrollEvent, NativeSyntheticEvent } from "react-native";
|
|
3
|
+
import Animated, { AnimatedStyle, SharedValue } from "react-native-reanimated";
|
|
4
|
+
import { StickyViewComponentsProps } from "./sticky-view.component";
|
|
5
|
+
export declare const StickyWrapperContext: React.Context<StickyWrapperContextType | undefined>;
|
|
6
|
+
export type CustomJsScrollEvent = {
|
|
7
|
+
contentOffset: {
|
|
8
|
+
y: number;
|
|
9
|
+
};
|
|
10
|
+
contentSize: {
|
|
11
|
+
height: number;
|
|
12
|
+
};
|
|
13
|
+
layoutMeasurement: {
|
|
14
|
+
height: number;
|
|
15
|
+
};
|
|
16
|
+
scrollDirection: number;
|
|
17
|
+
scrollDelta: number;
|
|
18
|
+
};
|
|
19
|
+
export type StickyWrapperContextType = {
|
|
20
|
+
stickyNavTranslateY?: SharedValue<number>;
|
|
21
|
+
stickyContainerTranslateY: SharedValue<number>;
|
|
22
|
+
stickyNavAnimateStyle: AnimatedStyle;
|
|
23
|
+
stickyContainerAnimateStyle: AnimatedStyle;
|
|
24
|
+
navHeight: SharedValue<number>;
|
|
25
|
+
bottomTabHeight: SharedValue<number>;
|
|
26
|
+
scrollDirection: SharedValue<number>;
|
|
27
|
+
onScroll: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
28
|
+
onScrollEndDrag: (scrollRef: RefObject<Animated.ScrollView>) => void;
|
|
29
|
+
};
|
|
30
|
+
export declare const StickyWrapper: ({ children, hasAppnavbar, onscroll, notifier }: StickyViewComponentsProps) => React.JSX.Element;
|
|
31
|
+
//# sourceMappingURL=sticky-wrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sticky-wrapper.d.ts","sourceRoot":"","sources":["../../../src/core/sticky-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,QAAQ,EAAE,EAAE,aAAa,EAAyC,WAAW,EAA8D,MAAM,yBAAyB,CAAC;AAClL,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAMpE,eAAO,MAAM,oBAAoB,qDAAuE,CAAC;AAEzG,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,EAAE;QAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,WAAW,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAC,CAAC;IAC/B,iBAAiB,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAC,CAAC;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAGF,MAAM,MAAM,wBAAwB,GAAG;IACrC,mBAAmB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC1C,yBAAyB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAE/C,qBAAqB,EAAE,aAAa,CAAC;IACrC,2BAA2B,EAAE,aAAa,CAAC;IAE3C,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAErC,QAAQ,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACnE,eAAe,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CACtE,CAAC;AAEF,eAAO,MAAM,aAAa,mDAAoD,yBAAyB,sBAqHtG,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class StorageService {
|
|
2
|
+
target: string;
|
|
3
|
+
protected getKey(key: string): string;
|
|
4
|
+
getItem(key: string, callback?: (error?: Error | null, result?: string | null) => void): Promise<string | null>;
|
|
5
|
+
setItem(key: string, value: string, callback?: (error?: Error | null) => void): Promise<void>;
|
|
6
|
+
removeItem(key: string, callback?: (error?: Error | null) => void): Promise<void>;
|
|
7
|
+
getAll(): Promise<any>;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: StorageService;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=storage.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.service.d.ts","sourceRoot":"","sources":["../../../src/core/storage.service.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;IAClB,MAAM,SAAY;IAEzB,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM;IAI5B,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAG/G,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAG7F,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E,MAAM;CAeb;;AAED,wBAAoC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { BaseComponent } from "@wavemaker/app-rn-runtime/core/base.component";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export declare const TappableContext: React.Context<Tappable>;
|
|
4
|
+
export declare const ParentTappableContext: React.Context<Tappable>;
|
|
5
|
+
interface TappableProps {
|
|
6
|
+
testID?: string;
|
|
7
|
+
children?: any;
|
|
8
|
+
styles?: any;
|
|
9
|
+
target?: BaseComponent<any, any, any>;
|
|
10
|
+
onTap?: (e: any) => void;
|
|
11
|
+
onLongTap?: (e: any) => void;
|
|
12
|
+
onDoubleTap?: (e: any) => void;
|
|
13
|
+
onTouchStart?: (e: any) => void;
|
|
14
|
+
onTouchEnd?: (e: any) => void;
|
|
15
|
+
rippleColor?: string;
|
|
16
|
+
accessibilityProps?: any;
|
|
17
|
+
disableTouchEffect?: boolean;
|
|
18
|
+
onLayout?: any;
|
|
19
|
+
}
|
|
20
|
+
export declare class SyntheticEvent {
|
|
21
|
+
propagationEnabled: boolean;
|
|
22
|
+
constructor();
|
|
23
|
+
stopPropagation(): void;
|
|
24
|
+
}
|
|
25
|
+
export declare class Tappable extends React.Component<TappableProps, any> {
|
|
26
|
+
private lastPress;
|
|
27
|
+
private lastTap;
|
|
28
|
+
private lastDoubleTap;
|
|
29
|
+
private isLongTap;
|
|
30
|
+
private parent;
|
|
31
|
+
constructor(props: any);
|
|
32
|
+
triggerTap(e?: SyntheticEvent): Promise<void>;
|
|
33
|
+
onPress(e: SyntheticEvent): void;
|
|
34
|
+
onLongTap(e: SyntheticEvent): void;
|
|
35
|
+
onPressOut(e: SyntheticEvent): void;
|
|
36
|
+
private setParent;
|
|
37
|
+
render(): React.JSX.Element;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=tappable.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file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KAAK,EAAE,GAAG;IAIhB,UAAU,CAAC,CAAC,iBAAuB;IAazC,OAAO,CAAC,CAAC,EAAE,cAAc,GAAG,IAAI;IAoChC,SAAS,CAAC,CAAC,EAAE,cAAc,GAAG,IAAI;IAYlC,UAAU,CAAC,CAAC,EAAE,cAAc,GAAG,IAAI;IAWnC,OAAO,CAAC,SAAS;IAMjB,MAAM;CAoET"}
|
|
@@ -41,14 +41,12 @@ export class Tappable extends React.Component {
|
|
|
41
41
|
}
|
|
42
42
|
(_this$parent = this.parent) === null || _this$parent === void 0 || _this$parent.triggerTap(e);
|
|
43
43
|
}
|
|
44
|
-
onPressIn(e) {
|
|
45
|
-
var _this$props$target;
|
|
46
|
-
this.props.onTouchStart && this.props.onTouchStart(e);
|
|
47
|
-
(_this$props$target = this.props.target) === null || _this$props$target === void 0 || _this$props$target.invokeEventCallback('onTouchstart', [e, this.props.target]);
|
|
48
|
-
}
|
|
49
44
|
onPress(e) {
|
|
45
|
+
var _this$props$target;
|
|
50
46
|
this.lastPress = Date.now();
|
|
51
47
|
const target = this.props.target;
|
|
48
|
+
this.props.onTouchStart && this.props.onTouchStart(e);
|
|
49
|
+
(_this$props$target = this.props.target) === null || _this$props$target === void 0 || _this$props$target.invokeEventCallback('onTouchstart', [e, this.props.target]);
|
|
52
50
|
const currentTime = Date.now();
|
|
53
51
|
const tapDelta = currentTime - this.lastTap;
|
|
54
52
|
if (this.isLongTap) {
|
|
@@ -122,7 +120,6 @@ export class Tappable extends React.Component {
|
|
|
122
120
|
...this.props.accessibilityProps,
|
|
123
121
|
disabled: get(target === null || target === void 0 ? void 0 : target.proxy, 'disabled'),
|
|
124
122
|
style: this.props.styles,
|
|
125
|
-
onPressIn: e => this.onPressIn(new SyntheticEvent()),
|
|
126
123
|
onPress: e => {
|
|
127
124
|
var _e$target;
|
|
128
125
|
if ((e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.tagName) === 'INPUT') {
|
|
@@ -133,7 +130,7 @@ export class Tappable extends React.Component {
|
|
|
133
130
|
onLongPress: e => this.onLongTap(new SyntheticEvent()),
|
|
134
131
|
onPressOut: e => this.onPressOut(new SyntheticEvent())
|
|
135
132
|
};
|
|
136
|
-
if (target !== null && target !== void 0 && target.props.onTap || target !== null && target !== void 0 && target.props.onLongtap || target !== null && target !== void 0 && target.props.onDoubletap ||
|
|
133
|
+
if (target !== null && target !== void 0 && target.props.onTap || target !== null && target !== void 0 && target.props.onLongtap || target !== null && target !== void 0 && target.props.onDoubletap || this.props.onTap || this.props.onLongTap || this.props.onDoubleTap) {
|
|
137
134
|
return /*#__PURE__*/React.createElement(UIPreferencesConsumer, null, preferences => {
|
|
138
135
|
return preferences.enableRipple != false ? /*#__PURE__*/React.createElement(ParentTappableContext.Consumer, null, parent => {
|
|
139
136
|
this.setParent(parent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Platform","View","TouchableOpacity","get","injector","TouchableRipple","TappableContext","createContext","UIPreferencesConsumer","ParentTappableContext","SyntheticEvent","constructor","_defineProperty","stopPropagation","propagationEnabled","Tappable","Component","props","triggerTap","e","_this$parent","target","onTap","invokeEventCallback","parent","onPressIn","_this$props$target","onTouchStart","onPress","lastPress","Date","now","currentTime","tapDelta","lastTap","isLongTap","_injector$FOCUSED_ELE","FOCUSED_ELEMENT","blur","lastDoubleTap","onDoubleTap","setTimeout","_this$parent2","onLongTap","_this$props$target2","_this$parent3","onPressOut","onTouchEnd","_this$props$target3","_this$parent4","setParent","render","commonProps","OS","accessibilityLabel","testID","accessible","accessibilityProps","disabled","proxy","style","styles","_e$target","tagName","onLongPress","onLongtap","onDoubletap","onTouchstart","onTouchend","createElement","preferences","enableRipple","Consumer","Provider","value","_extends","rippleColor","disableTouchEffect","borderless","onLayout","Fragment","children","activeOpacity"],"sources":["tappable.component.tsx"],"sourcesContent":["import { BaseComponent } from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport React from \"react\";\nimport { GestureResponderEvent, Platform, View, TouchableOpacity } from \"react-native\";\nimport { get } from \"lodash\";\nimport injector from \"./injector\";\nimport { TouchableRipple } from \"react-native-paper\";\nimport ThemeVariables from \"../styles/theme.variables\";\nimport { isDefined } from \"./utils\";\n\nexport const TappableContext = React.createContext<Tappable>(null as any);\nimport { UIPreferencesConsumer, UI_PREFERENCES } from \"./ui-preferences.context\";\n\nexport const ParentTappableContext = React.createContext<Tappable>(null as any);\ninterface TappableProps {\n testID?: string;\n children?: any\n styles?: any;\n target?: BaseComponent<any, any, any>;\n onTap?: (e: any) => void;\n onLongTap?: (e: any) => void; \n onDoubleTap?: (e: any) => void;\n onTouchStart? : (e: any) => void;\n onTouchEnd? : (e: any) => void;\n rippleColor?: string;\n accessibilityProps?: any;\n disableTouchEffect?:boolean;\n onLayout?: any;\n}\n\nexport class SyntheticEvent {\n // as the event is being used in onPress, onPressOut and onLongTap the TapEvent is renamed to SyntheticEvent\n propagationEnabled = true;\n \n constructor() {\n\n }\n\n stopPropagation() {\n this.propagationEnabled = false;\n }\n}\n\nexport class Tappable extends React.Component<TappableProps, any> {\n private lastPress = 0;\n private lastTap = 0;\n private lastDoubleTap = 0;\n private isLongTap = false;\n private parent:Tappable = null as any;\n \n constructor(props: any) {\n super(props);\n }\n\n async triggerTap(e = new SyntheticEvent()) {\n if (!e.propagationEnabled) {\n return;\n }\n const target = this.props.target;\n if (this.props.onTap) {\n await this.props.onTap(e);\n } else {\n await target?.invokeEventCallback('onTap', [e, target]);\n }\n this.parent?.triggerTap(e);\n }\n\n onPressIn(e: SyntheticEvent): void {\n this.props.onTouchStart && this.props.onTouchStart(e);\n this.props.target?.invokeEventCallback('onTouchstart', [e, this.props.target]);\n }\n\n onPress(e: SyntheticEvent): void { \n this.lastPress = Date.now();\n const target = this.props.target;\n const currentTime = Date.now();\n const tapDelta = currentTime - this.lastTap;\n if (this.isLongTap) {\n this.isLongTap = false;\n return;\n }\n if (e.propagationEnabled) {\n injector.FOCUSED_ELEMENT.get()?.blur();\n if(this.lastDoubleTap !== this.lastTap \n && tapDelta < 500) {\n this.props.onDoubleTap && this.props.onDoubleTap(e);\n setTimeout(() => {\n target?.invokeEventCallback('onDoubletap', [e, target]);\n }, 200);\n this.lastDoubleTap = currentTime;\n }\n setTimeout(() => {\n if (!e.propagationEnabled) {\n return;\n }\n if (this.props.onTap) {\n this.props.onTap(e);\n } else {\n target?.invokeEventCallback('onTap', [e, target]);\n }\n this.parent?.onPress(e);\n }, 200);\n this.lastTap = currentTime;\n }\n }\n\n onLongTap(e: SyntheticEvent): void {\n if(!e.propagationEnabled){\n return;\n }\n this.props.onLongTap && this.props.onLongTap(e);\n setTimeout(() => {\n this.props.target?.invokeEventCallback('onLongtap', [e, this.props.target]);\n this.parent?.onPressOut(e);\n }, 200);\n this.isLongTap = true;\n }\n \n onPressOut(e: SyntheticEvent): void {\n if(!e.propagationEnabled){\n return;\n } \n this.props.onTouchEnd && this.props.onTouchEnd(e);\n setTimeout(() => {\n this.props.target?.invokeEventCallback('onTouchend', [e, this.props.target]);\n this.parent?.onPressOut(e);\n }, 200);\n this.isLongTap = false;\n }\n private setParent(parent: Tappable) {\n if (parent && this.parent !== parent) {\n this.parent = parent;\n }\n }\n\n render() {\n const target = this.props.target;\n const commonProps = {\n ...(Platform.OS === 'android' || Platform.OS === 'web') ? {\n accessibilityLabel: this.props.testID,\n testID: this.props.testID\n }: {\n accessible: false,\n testID: this.props.testID\n },\n ...this.props.accessibilityProps,\n disabled:get(target?.proxy, 'disabled'),\n style:this.props.styles,\n onPressIn:(e?: GestureResponderEvent) => this.onPressIn(new SyntheticEvent()),\n onPress:(e?: GestureResponderEvent) => {\n if ((e?.target as any)?.tagName === 'INPUT') {\n return;\n }\n this.onPress(new SyntheticEvent())\n },\n onLongPress:(e?: GestureResponderEvent) => this.onLongTap(new SyntheticEvent()),\n onPressOut:(e?: GestureResponderEvent) => this.onPressOut(new SyntheticEvent())\n };\n if (target?.props.onTap \n || target?.props.onLongtap \n || target?.props.onDoubletap \n || target?.props.onTouchstart \n || target?.props.onTouchend \n || this.props.onTap \n || this.props.onLongTap \n || this.props.onDoubleTap \n || this.props.onTouchStart \n || this.props.onTouchEnd) {\n return (\n <UIPreferencesConsumer>\n {(preferences: UI_PREFERENCES) => {\n return preferences.enableRipple != false ? (\n <ParentTappableContext.Consumer>{(parent) => {\n this.setParent(parent);\n return(\n <ParentTappableContext.Provider value={this}>\n <TouchableRipple \n rippleColor={this.props.disableTouchEffect ? \"transparent\" : this.props.rippleColor} \n borderless={true} \n {...commonProps}\n onLayout={this.props.onLayout}\n >\n <>{this.props.children}</>\n </TouchableRipple>\n </ParentTappableContext.Provider>\n )\n }}</ParentTappableContext.Consumer>): (\n //default value is 0.2\n <TouchableOpacity \n activeOpacity={this.props.disableTouchEffect ? 1 : 0.2} \n onLayout={this.props.onLayout}\n {...commonProps}\n >\n <>{this.props.children}</>\n </TouchableOpacity>);\n }}\n </UIPreferencesConsumer>\n );\n }\n return (\n <View \n style={this.props.styles}\n onLayout={this.props.onLayout}\n {...this.props.accessibilityProps}\n >\n {this.props.children}\n </View>);\n }\n}\n"],"mappings":";;;;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAgCC,QAAQ,EAAEC,IAAI,EAAEC,gBAAgB,QAAQ,cAAc;AACtF,SAASC,GAAG,QAAQ,QAAQ;AAC5B,OAAOC,QAAQ,MAAM,YAAY;AACjC,SAASC,eAAe,QAAQ,oBAAoB;AAIpD,OAAO,MAAMC,eAAe,gBAAGP,KAAK,CAACQ,aAAa,CAAW,IAAW,CAAC;AACzE,SAASC,qBAAqB,QAAwB,0BAA0B;AAEhF,OAAO,MAAMC,qBAAqB,gBAAGV,KAAK,CAACQ,aAAa,CAAW,IAAW,CAAC;AAiB/E,OAAO,MAAMG,cAAc,CAAC;EAIxBC,WAAWA,CAAA,EAAG;IAHd;IAAAC,eAAA,6BACqB,IAAI;EAIzB;EAEAC,eAAeA,CAAA,EAAG;IACd,IAAI,CAACC,kBAAkB,GAAG,KAAK;EACn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AAC2D,WAAY;YACpFE,UAAU,EAAE;UAAK,GACb1B,WAAW;YACf2B,QAAQ,EAAE,IAAI,CAAC9D,KAAK,CAAC8D;UAAS,iBAE9BhF,KAAA,CAAAsE,aAAA,CAAAtE,KAAA,CAAAiF,QAAA,QAAG,IAAI,CAAC/D,KAAK,CAACgE,QAAW,CACZ,CACW,CAAC;QAEzC,CAAkC,CAAC;QAAA;QACnC;QACAlF,KAAA,CAAAsE,aAAA,CAACnE,gBAAgB,EAAAyE,QAAA;UACbO,aAAa,EAAE,IAAI,CAACjE,KAAK,CAAC4D,kBAAkB,GAAG,CAAC,GAAG,GAAI;UACvDE,QAAQ,EAAE,IAAI,CAAC9D,KAAK,CAAC8D;QAAS,GAC1B3B,WAAW,gBAEfrD,KAAA,CAAAsE,aAAA,CAAAtE,KAAA,CAAAiF,QAAA,QAAG,IAAI,CAAC/D,KAAK,CAACgE,QAAW,CACX,CAAE;MAC5B,CACmB,CAAC;IAE5B;IACA,oBACIlF,KAAA,CAAAsE,aAAA,CAACpE,IAAI,EAAA0E,QAAA;MACDf,KAAK,EAAE,IAAI,CAAC3C,KAAK,CAAC4C,MAAO;MACzBkB,QAAQ,EAAE,IAAI,CAAC9D,KAAK,CAAC8D;IAAS,GAC1B,IAAI,CAAC9D,KAAK,CAACwC,kBAAkB,GAEhC,IAAI,CAACxC,KAAK,CAACgE,QACV,CAAC;EACf;AACJ","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","Platform","View","TouchableOpacity","get","injector","TouchableRipple","TappableContext","createContext","UIPreferencesConsumer","ParentTappableContext","SyntheticEvent","constructor","_defineProperty","stopPropagation","propagationEnabled","Tappable","Component","props","triggerTap","e","_this$parent","target","onTap","invokeEventCallback","parent","onPress","_this$props$target","lastPress","Date","now","onTouchStart","currentTime","tapDelta","lastTap","isLongTap","_injector$FOCUSED_ELE","FOCUSED_ELEMENT","blur","lastDoubleTap","onDoubleTap","setTimeout","_this$parent2","onLongTap","_this$props$target2","_this$parent3","onPressOut","onTouchEnd","_this$props$target3","_this$parent4","setParent","render","commonProps","OS","accessibilityLabel","testID","accessible","accessibilityProps","disabled","proxy","style","styles","_e$target","tagName","onLongPress","onLongtap","onDoubletap","createElement","preferences","enableRipple","Consumer","Provider","value","_extends","rippleColor","disableTouchEffect","borderless","onLayout","Fragment","children","activeOpacity"],"sources":["tappable.component.tsx"],"sourcesContent":["import { BaseComponent } from \"@wavemaker/app-rn-runtime/core/base.component\";\nimport React from \"react\";\nimport { GestureResponderEvent, Platform, View, TouchableOpacity } from \"react-native\";\nimport { get } from \"lodash\";\nimport injector from \"./injector\";\nimport { TouchableRipple } from \"react-native-paper\";\nimport ThemeVariables from \"../styles/theme.variables\";\nimport { isDefined } from \"./utils\";\n\nexport const TappableContext = React.createContext<Tappable>(null as any);\nimport { UIPreferencesConsumer, UI_PREFERENCES } from \"./ui-preferences.context\";\n\nexport const ParentTappableContext = React.createContext<Tappable>(null as any);\ninterface TappableProps {\n testID?: string;\n children?: any\n styles?: any;\n target?: BaseComponent<any, any, any>;\n onTap?: (e: any) => void;\n onLongTap?: (e: any) => void; \n onDoubleTap?: (e: any) => void;\n onTouchStart? : (e: any) => void;\n onTouchEnd? : (e: any) => void;\n rippleColor?: string;\n accessibilityProps?: any;\n disableTouchEffect?:boolean;\n onLayout?: any;\n}\n\nexport class SyntheticEvent {\n // as the event is being used in onPress, onPressOut and onLongTap the TapEvent is renamed to SyntheticEvent\n propagationEnabled = true;\n \n constructor() {\n\n }\n\n stopPropagation() {\n this.propagationEnabled = false;\n }\n}\n\nexport class Tappable extends React.Component<TappableProps, any> {\n private lastPress = 0;\n private lastTap = 0;\n private lastDoubleTap = 0;\n private isLongTap = false;\n private parent:Tappable = null as any;\n \n constructor(props: any) {\n super(props);\n }\n\n async triggerTap(e = new SyntheticEvent()) {\n if (!e.propagationEnabled) {\n return;\n }\n const target = this.props.target;\n if (this.props.onTap) {\n await this.props.onTap(e);\n } else {\n await target?.invokeEventCallback('onTap', [e, target]);\n }\n this.parent?.triggerTap(e);\n }\n\n onPress(e: SyntheticEvent): void { \n this.lastPress = Date.now();\n const target = this.props.target;\n this.props.onTouchStart && this.props.onTouchStart(e);\n this.props.target?.invokeEventCallback('onTouchstart', [e, this.props.target]);\n const currentTime = Date.now();\n const tapDelta = currentTime - this.lastTap;\n if (this.isLongTap) {\n this.isLongTap = false;\n return;\n }\n if (e.propagationEnabled) {\n injector.FOCUSED_ELEMENT.get()?.blur();\n if(this.lastDoubleTap !== this.lastTap \n && tapDelta < 500) {\n this.props.onDoubleTap && this.props.onDoubleTap(e);\n setTimeout(() => {\n target?.invokeEventCallback('onDoubletap', [e, target]);\n }, 200);\n this.lastDoubleTap = currentTime;\n }\n setTimeout(() => {\n if (!e.propagationEnabled) {\n return;\n }\n if (this.props.onTap) {\n this.props.onTap(e);\n } else {\n target?.invokeEventCallback('onTap', [e, target]);\n }\n this.parent?.onPress(e);\n }, 200);\n this.lastTap = currentTime;\n }\n }\n\n onLongTap(e: SyntheticEvent): void {\n if(!e.propagationEnabled){\n return;\n }\n this.props.onLongTap && this.props.onLongTap(e);\n setTimeout(() => {\n this.props.target?.invokeEventCallback('onLongtap', [e, this.props.target]);\n this.parent?.onPressOut(e);\n }, 200);\n this.isLongTap = true;\n }\n \n onPressOut(e: SyntheticEvent): void {\n if(!e.propagationEnabled){\n return;\n } \n this.props.onTouchEnd && this.props.onTouchEnd(e);\n setTimeout(() => {\n this.props.target?.invokeEventCallback('onTouchend', [e, this.props.target]);\n this.parent?.onPressOut(e);\n }, 200);\n this.isLongTap = false;\n }\n private setParent(parent: Tappable) {\n if (parent && this.parent !== parent) {\n this.parent = parent;\n }\n }\n\n render() {\n const target = this.props.target;\n const commonProps = {\n ...(Platform.OS === 'android' || Platform.OS === 'web') ? {\n accessibilityLabel: this.props.testID,\n testID: this.props.testID\n }: {\n accessible: false,\n testID: this.props.testID\n },\n ...this.props.accessibilityProps,\n disabled:get(target?.proxy, 'disabled'),\n style:this.props.styles,\n onPress:(e?: GestureResponderEvent) => {\n if ((e?.target as any)?.tagName === 'INPUT') {\n return;\n }\n this.onPress(new SyntheticEvent())\n },\n onLongPress:(e?: GestureResponderEvent) => this.onLongTap(new SyntheticEvent()),\n onPressOut:(e?: GestureResponderEvent) => this.onPressOut(new SyntheticEvent())\n };\n if (target?.props.onTap \n || target?.props.onLongtap \n || target?.props.onDoubletap \n || this.props.onTap \n || this.props.onLongTap \n || this.props.onDoubleTap) {\n return (\n <UIPreferencesConsumer>\n {(preferences: UI_PREFERENCES) => {\n return preferences.enableRipple != false ? (\n <ParentTappableContext.Consumer>{(parent) => {\n this.setParent(parent);\n return(\n <ParentTappableContext.Provider value={this}>\n <TouchableRipple \n rippleColor={this.props.disableTouchEffect ? \"transparent\" : this.props.rippleColor} \n borderless={true} \n {...commonProps}\n onLayout={this.props.onLayout}\n >\n <>{this.props.children}</>\n </TouchableRipple>\n </ParentTappableContext.Provider>\n )\n }}</ParentTappableContext.Consumer>): (\n //default value is 0.2\n <TouchableOpacity \n activeOpacity={this.props.disableTouchEffect ? 1 : 0.2} \n onLayout={this.props.onLayout}\n {...commonProps}\n >\n <>{this.props.children}</>\n </TouchableOpacity>);\n }}\n </UIPreferencesConsumer>\n );\n }\n return (\n <View \n style={this.props.styles}\n onLayout={this.props.onLayout}\n {...this.props.accessibilityProps}\n >\n {this.props.children}\n </View>);\n }\n}\n"],"mappings":";;;;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAgCC,QAAQ,EAAEC,IAAI,EAAEC,gBAAgB,QAAQ,cAAc;AACtF,SAASC,GAAG,QAAQ,QAAQ;AAC5B,OAAOC,QAAQ,MAAM,YAAY;AACjC,SAASC,eAAe,QAAQ,oBAAoB;AAIpD,OAAO,MAAMC,eAAe,gBAAGP,KAAK,CAACQ,aAAa,CAAW,IAAW,CAAC;AACzE,SAASC,qBAAqB,QAAwB,0BAA0B;AAEhF,OAAO,MAAMC,qBAAqB,gBAAGV,KAAK,CAACQ,aAAa,CAAW,IAAW,C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