@wavemaker/app-rn-runtime 11.4.0-next.28152 → 11.4.0-patch.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.js.map +1 -0
- package/actions/login-action.js.map +1 -0
- package/actions/logout-action.js.map +1 -0
- package/actions/navigation-action.js +44 -0
- package/actions/navigation-action.js.map +1 -0
- package/actions/notification-action.js.map +1 -0
- package/actions/timer-action.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -0
- package/components/advanced/carousel/carousel.component.js +164 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/carousel/carousel.props.js +18 -0
- package/components/advanced/carousel/carousel.props.js.map +1 -0
- package/components/advanced/carousel/carousel.styles.js +150 -0
- package/components/advanced/carousel/carousel.styles.js.map +1 -0
- package/components/advanced/login/login.component.js.map +1 -0
- package/components/advanced/login/login.props.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/advanced/webview/webview.props.js.map +1 -0
- package/components/basic/anchor/anchor.component.js +69 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/anchor/anchor.props.js.map +1 -0
- package/components/basic/anchor/anchor.styles.js +78 -0
- package/components/basic/anchor/anchor.styles.js.map +1 -0
- package/components/basic/animatedview.component.js +164 -0
- package/components/basic/animatedview.component.js.map +1 -0
- package/components/basic/audio/audio.component.js +240 -0
- package/components/basic/audio/audio.component.js.map +1 -0
- package/components/basic/audio/audio.props.js +15 -0
- package/components/basic/audio/audio.props.js.map +1 -0
- package/components/basic/audio/audio.styles.js +61 -0
- package/components/basic/audio/audio.styles.js.map +1 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.props.js.map +1 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.props.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
- package/components/basic/custom/custom.component.js.map +1 -0
- package/components/basic/custom/custom.props.js.map +1 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js.map +1 -0
- package/components/basic/icon/icon.styles.js +32 -0
- package/components/basic/icon/icon.styles.js.map +1 -0
- package/components/basic/label/label.component.js +65 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.props.js.map +1 -0
- package/components/basic/label/label.styles.js +122 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/lottie/lottie.component.js.map +1 -0
- package/components/basic/lottie/lottie.props.js.map +1 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/message/message.props.js.map +1 -0
- package/components/basic/message/message.styles.js +115 -0
- package/components/basic/message/message.styles.js.map +1 -0
- package/components/basic/modal/modal.component.js.map +1 -0
- package/components/basic/modal/modal.props.js.map +1 -0
- package/components/basic/modal/modal.styles.js.map +1 -0
- package/components/basic/picture/picture.component.js +187 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/picture/picture.props.js.map +1 -0
- package/components/basic/picture/picture.styles.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.styles.js.map +1 -0
- package/components/basic/search/local-data-provider.js.map +1 -0
- package/components/basic/search/search.component.js +411 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.props.js +29 -0
- package/components/basic/search/search.props.js.map +1 -0
- package/components/basic/search/search.styles.js +171 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/skeleton/skeleton.component.js.map +1 -0
- package/components/basic/spinner/spinner.component.js +87 -0
- package/components/basic/spinner/spinner.component.js.map +1 -0
- package/components/basic/spinner/spinner.props.js.map +1 -0
- package/components/basic/spinner/spinner.styles.js +39 -0
- package/components/basic/spinner/spinner.styles.js.map +1 -0
- package/components/basic/video/video.component.js +56 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/basic/video/video.props.js.map +1 -0
- package/components/chart/area-chart/area-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
- package/components/chart/basechart.component.js +480 -0
- package/components/chart/basechart.component.js.map +1 -0
- package/components/chart/basechart.props.js +49 -0
- package/components/chart/basechart.props.js.map +1 -0
- package/components/chart/basechart.styles.js +33 -0
- package/components/chart/basechart.styles.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
- package/components/chart/column-chart/column-chart.component.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.component.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.props.js +11 -0
- package/components/chart/donut-chart/donut-chart.props.js.map +1 -0
- package/components/chart/legend/legend.component.js +36 -0
- package/components/chart/legend/legend.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.props.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.component.js +191 -0
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.js +13 -0
- package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
- package/components/chart/theme/chart.theme.js.map +1 -0
- package/components/container/accordion/accordion.component.js +138 -0
- package/components/container/accordion/accordion.component.js.map +1 -0
- package/components/container/accordion/accordion.props.js +14 -0
- package/components/container/accordion/accordion.props.js.map +1 -0
- package/components/container/accordion/accordion.styles.js +136 -0
- package/components/container/accordion/accordion.styles.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js +93 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/container.props.js.map +1 -0
- package/components/container/container.styles.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.props.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.styles.js.map +1 -0
- package/components/container/linearlayout/linearlayout.component.js +43 -0
- package/components/container/linearlayout/linearlayout.component.js.map +1 -0
- package/components/container/linearlayout/linearlayout.props.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +24 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.component.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.props.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.component.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.props.js.map +1 -0
- package/components/container/panel/panel.styles.js +98 -0
- package/components/container/panel/panel.styles.js.map +1 -0
- package/components/container/partial-host.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.js +182 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.js +64 -0
- package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
- package/components/container/tabs/tabs.component.js +229 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/tabs/tabs.props.js.map +1 -0
- package/components/container/tabs/tabs.styles.js +57 -0
- package/components/container/tabs/tabs.styles.js.map +1 -0
- package/components/container/tile/tile.component.js.map +1 -0
- package/components/container/tile/tile.props.js.map +1 -0
- package/components/container/tile/tile.styles.js.map +1 -0
- package/components/container/wizard/wizard.component.js +176 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.props.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +181 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
- package/components/data/card/card-content/card-content.component.js.map +1 -0
- package/components/data/card/card-content/card-content.props.js.map +1 -0
- package/components/data/card/card-footer/card-footer.component.js.map +1 -0
- package/components/data/card/card-footer/card-footer.props.js.map +1 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/card/card.props.js.map +1 -0
- package/components/data/card/card.styles.js.map +1 -0
- package/components/data/form/form-action/form-action.component.js +33 -0
- package/components/data/form/form-action/form-action.component.js.map +1 -0
- package/components/data/form/form-action/form-action.props.js +17 -0
- package/components/data/form/form-action/form-action.props.js.map +1 -0
- package/components/data/form/form-action/form-action.styles.js.map +1 -0
- package/components/data/form/form-body/form-body.component.js.map +1 -0
- package/components/data/form/form-body/form-body.props.js.map +1 -0
- package/components/data/form/form-field/form-field.component.js +225 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form-field/form-field.props.js +30 -0
- package/components/data/form/form-field/form-field.props.js.map +1 -0
- package/components/data/form/form-field/form-field.styles.js.map +1 -0
- package/components/data/form/form-footer/form-footer.component.js.map +1 -0
- package/components/data/form/form-footer/form-footer.props.js.map +1 -0
- package/components/data/form/form.component.js +396 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/form/form.props.js +26 -0
- package/components/data/form/form.props.js.map +1 -0
- package/components/data/form/form.styles.js +45 -0
- package/components/data/form/form.styles.js.map +1 -0
- package/components/data/list/list-template/list-template.component.js.map +1 -0
- package/components/data/list/list-template/list-template.props.js.map +1 -0
- package/components/data/list/list-template/list-template.styles.js.map +1 -0
- package/components/data/list/list.component.js +285 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +34 -0
- package/components/data/list/list.props.js.map +1 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/data/liveform/liveform.component.js +102 -0
- package/components/data/liveform/liveform.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
- package/components/dialogs/dialog/dialog.component.js +92 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.props.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -0
- package/components/input/basedataset/basedataset.component.js.map +1 -0
- package/components/input/basedataset/basedataset.props.js.map +1 -0
- package/components/input/baseinput/baseinput.component.js +147 -0
- package/components/input/baseinput/baseinput.component.js.map +1 -0
- package/components/input/baseinput/baseinput.props.js.map +1 -0
- package/components/input/basenumber/basenumber.component.js +278 -0
- package/components/input/basenumber/basenumber.component.js.map +1 -0
- package/components/input/basenumber/basenumber.props.js.map +1 -0
- package/components/input/calendar/calendar.component.js.map +1 -0
- package/components/input/calendar/calendar.props.js.map +1 -0
- package/components/input/calendar/calendar.styles.js +132 -0
- package/components/input/calendar/calendar.styles.js.map +1 -0
- package/components/input/calendar/views/month-view.js +191 -0
- package/components/input/calendar/views/month-view.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkbox/checkbox.props.js +17 -0
- package/components/input/checkbox/checkbox.props.js.map +1 -0
- package/components/input/checkbox/checkbox.styles.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.props.js.map +1 -0
- package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
- package/components/input/chips/chips.component.js +266 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.props.js.map +1 -0
- package/components/input/composite/composite.component.js.map +1 -0
- package/components/input/composite/composite.props.js.map +1 -0
- package/components/input/currency/currency.component.js +70 -0
- package/components/input/currency/currency.component.js.map +1 -0
- package/components/input/currency/currency.props.js +12 -0
- package/components/input/currency/currency.props.js.map +1 -0
- package/components/input/currency/currency.styles.js +64 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +272 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/epoch/date/date.component.js.map +1 -0
- package/components/input/epoch/date/date.props.js.map +1 -0
- package/components/input/epoch/date/date.styles.js +21 -0
- package/components/input/epoch/date/date.styles.js.map +1 -0
- package/components/input/epoch/date-picker.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.props.js.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.js +71 -0
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
- package/components/input/epoch/time/time.component.js.map +1 -0
- package/components/input/epoch/time/time.props.js.map +1 -0
- package/components/input/epoch/time/time.styles.js +21 -0
- package/components/input/epoch/time/time.styles.js.map +1 -0
- package/components/input/fileupload/fileupload.component.js.map +1 -0
- package/components/input/fileupload/fileupload.props.js.map +1 -0
- package/components/input/number/number.component.js +52 -0
- package/components/input/number/number.component.js.map +1 -0
- package/components/input/number/number.props.js +12 -0
- package/components/input/number/number.props.js.map +1 -0
- package/components/input/number/number.styles.js +38 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +56 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/radioset/radioset.props.js.map +1 -0
- package/components/input/radioset/radioset.styles.js +52 -0
- package/components/input/radioset/radioset.styles.js.map +1 -0
- package/components/input/rating/rating.component.js +142 -0
- package/components/input/rating/rating.component.js.map +1 -0
- package/components/input/rating/rating.props.js.map +1 -0
- package/components/input/select/select.component.js +181 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.props.js.map +1 -0
- package/components/input/select/select.styles.js +97 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +77 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.props.js.map +1 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.props.js.map +1 -0
- package/components/input/switch/switch.styles.js +114 -0
- package/components/input/switch/switch.styles.js.map +1 -0
- package/components/input/text/text.component.js +47 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.props.js.map +1 -0
- package/components/input/text/text.styles.js +44 -0
- package/components/input/text/text.styles.js.map +1 -0
- package/components/input/textarea/textarea.component.js +48 -0
- package/components/input/textarea/textarea.component.js.map +1 -0
- package/components/input/textarea/textarea.props.js.map +1 -0
- package/components/input/textarea/textarea.styles.js +46 -0
- package/components/input/textarea/textarea.styles.js.map +1 -0
- package/components/input/toggle/toggle.component.js +94 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.props.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +43 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/basenav/basenav.component.js.map +1 -0
- package/components/navigation/basenav/basenav.props.js.map +1 -0
- package/components/navigation/menu/menu.component.js.map +1 -0
- package/components/navigation/menu/menu.props.js.map +1 -0
- package/components/navigation/menu/menu.styles.js +67 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navbar/navbar.component.js.map +1 -0
- package/components/navigation/navbar/navbar.props.js.map +1 -0
- package/components/navigation/navbar/navbar.styles.js.map +1 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.props.js.map +1 -0
- package/components/navigation/navitem/navitem.styles.js.map +1 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.props.js.map +1 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/content/content.component.js.map +1 -0
- package/components/page/left-panel/left-panel.component.js.map +1 -0
- package/components/page/left-panel/left-panel.props.js.map +1 -0
- package/components/page/page-content/page-content.component.js.map +1 -0
- package/components/page/page-content/page-content.props.js.map +1 -0
- package/components/page/page.component.js.map +1 -0
- package/components/page/partial/partial.component.js.map +1 -0
- package/components/page/partial-container/partial-container.component.js.map +1 -0
- package/components/page/partial-container/partial-container.props.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/components/page/tabbar/tabbar.props.js.map +1 -0
- package/components/prefab/prefab-container.component.js.map +1 -0
- package/core/asset.provider.js.map +1 -0
- package/core/base.component.js +382 -0
- package/core/base.component.js.map +1 -0
- package/core/components/textinput.component.js +37 -0
- package/core/components/textinput.component.js.map +1 -0
- package/core/device/camera-service.js.map +1 -0
- package/core/device/scan-service.js.map +1 -0
- package/core/display.manager.js.map +1 -0
- package/core/event-notifier.js.map +1 -0
- package/core/fixed-view.component.js.map +1 -0
- package/core/formatters.js.map +1 -0
- package/core/i18n.service.js +2 -0
- package/core/i18n.service.js.map +1 -0
- package/core/if.component.js +36 -0
- package/core/if.component.js.map +1 -0
- package/core/imageSizeEstimator.js.map +1 -0
- package/core/injector.js +27 -0
- package/core/injector.js.map +1 -0
- package/core/key.extractor.js +22 -0
- package/core/key.extractor.js.map +1 -0
- package/core/logger.js +123 -0
- package/core/logger.js.map +1 -0
- package/core/modal.service.js.map +1 -0
- package/core/navigation.service.js.map +1 -0
- package/core/network.service.js +331 -0
- package/core/network.service.js.map +1 -0
- package/core/partial.service.js.map +1 -0
- package/core/props.provider.js +86 -0
- package/core/props.provider.js.map +1 -0
- package/core/scroll-view.component.js.map +1 -0
- package/core/security.service.js.map +1 -0
- package/core/spinner.service.js.map +1 -0
- package/core/storage.service.js.map +1 -0
- package/core/tappable.component.js +72 -0
- package/core/tappable.component.js.map +1 -0
- package/core/toast.service.js.map +1 -0
- package/core/utils.js +316 -0
- package/core/utils.js.map +1 -0
- package/core/viewport.js.map +1 -0
- package/gestures/swipe.animation.js +110 -0
- package/gestures/swipe.animation.js.map +1 -0
- package/package.json +243 -0
- package/runtime/App.js +465 -0
- package/runtime/App.js.map +1 -0
- package/runtime/App.navigator.js +109 -0
- package/runtime/App.navigator.js.map +1 -0
- package/runtime/base-fragment.component.js +330 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/base-page.component.js +147 -0
- package/runtime/base-page.component.js.map +1 -0
- package/runtime/base-partial.component.js.map +1 -0
- package/runtime/base-prefab.component.js +83 -0
- package/runtime/base-prefab.component.js.map +1 -0
- package/runtime/lib-patch.js.map +1 -0
- package/runtime/memo.component.js.map +1 -0
- package/runtime/navigator/drawer.navigator.js.map +1 -0
- package/runtime/navigator/stack.navigator.js.map +1 -0
- package/runtime/services/app-display-manager.service.js.map +1 -0
- package/runtime/services/app-i18n.service.js +65 -0
- package/runtime/services/app-i18n.service.js.map +1 -0
- package/runtime/services/app-modal.service.js.map +1 -0
- package/runtime/services/app-security.service.js +196 -0
- package/runtime/services/app-security.service.js.map +1 -0
- package/runtime/services/app-spinner.service.js +75 -0
- package/runtime/services/app-spinner.service.js.map +1 -0
- package/runtime/services/app-toast.service.js.map +1 -0
- package/runtime/services/device/calendar-service.js.map +1 -0
- package/runtime/services/device/camera-service.js +332 -0
- package/runtime/services/device/camera-service.js.map +1 -0
- package/runtime/services/device/contacts-service.js.map +1 -0
- package/runtime/services/device/location-service.js.map +1 -0
- package/runtime/services/device/permissions.js.map +1 -0
- package/runtime/services/device/scan-service.js.map +1 -0
- package/runtime/services/partial.service.js.map +1 -0
- package/runtime/services/webprocess.service.js.map +1 -0
- package/runtime/watcher.js +147 -0
- package/runtime/watcher.js.map +1 -0
- package/styles/MediaQueryList.js.map +1 -0
- package/styles/background.component.js +298 -0
- package/styles/background.component.js.map +1 -0
- package/styles/fdfd.css +56 -0
- package/styles/style-prop.validator.js +470 -0
- package/styles/style-prop.validator.js.map +1 -0
- package/styles/style-props.js.map +1 -0
- package/styles/theme.js +324 -0
- package/styles/theme.js.map +1 -0
- package/styles/theme.variables.js +392 -0
- package/styles/theme.variables.js.map +1 -0
- package/variables/base-variable.js +125 -0
- package/variables/base-variable.js.map +1 -0
- package/variables/device/calendar/create-event.operation.js.map +1 -0
- package/variables/device/calendar/delete-event.operation.js.map +1 -0
- package/variables/device/calendar/get-events.operation.js.map +1 -0
- package/variables/device/camera/capture-image.operation.js.map +1 -0
- package/variables/device/camera/capture-video.operation.js.map +1 -0
- package/variables/device/contacts/get-contacts.operation.js.map +1 -0
- package/variables/device/device/app-info.operation.js.map +1 -0
- package/variables/device/device/current-geo-position.operation.js.map +1 -0
- package/variables/device/device/device-info.operation.js.map +1 -0
- package/variables/device/device/network-info.operation.js.map +1 -0
- package/variables/device/device/vibrate.operation.js.map +1 -0
- package/variables/device/file/upload-file.operation.js.map +1 -0
- package/variables/device/operation.provider.js.map +1 -0
- package/variables/device/scan/scan.operation.js.map +1 -0
- package/variables/device-variable.js.map +1 -0
- package/variables/http.service.js +76 -0
- package/variables/http.service.js.map +1 -0
- package/variables/live-variable.js +116 -0
- package/variables/live-variable.js.map +1 -0
- package/variables/model-variable.js +46 -0
- package/variables/model-variable.js.map +1 -0
- package/variables/service-variable.js +133 -0
- package/variables/service-variable.js.map +1 -0
- package/variables/utils/dataset-util.js.map +1 -0
- package/variables/utils/inflight-queue.js.map +1 -0
- package/variables/utils/variable.utils.js.map +1 -0
- app-rn-runtime/actions/base-action.js.map +0 -1
- app-rn-runtime/actions/login-action.js.map +0 -1
- app-rn-runtime/actions/logout-action.js.map +0 -1
- app-rn-runtime/actions/navigation-action.js +0 -32
- app-rn-runtime/actions/navigation-action.js.map +0 -1
- app-rn-runtime/actions/notification-action.js.map +0 -1
- app-rn-runtime/actions/timer-action.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -147
- app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.props.js +0 -17
- app-rn-runtime/components/advanced/carousel/carousel.props.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.styles.js +0 -134
- app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +0 -1
- app-rn-runtime/components/advanced/login/login.component.js.map +0 -1
- app-rn-runtime/components/advanced/login/login.props.js.map +0 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.props.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.component.js +0 -68
- app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.props.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.styles.js +0 -73
- app-rn-runtime/components/basic/anchor/anchor.styles.js.map +0 -1
- app-rn-runtime/components/basic/animatedview.component.js +0 -166
- app-rn-runtime/components/basic/animatedview.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.props.js.map +0 -1
- app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.component.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.props.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
- app-rn-runtime/components/basic/custom/custom.component.js.map +0 -1
- app-rn-runtime/components/basic/custom/custom.props.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.props.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.styles.js +0 -27
- app-rn-runtime/components/basic/icon/icon.styles.js.map +0 -1
- app-rn-runtime/components/basic/label/label.component.js +0 -64
- app-rn-runtime/components/basic/label/label.component.js.map +0 -1
- app-rn-runtime/components/basic/label/label.props.js.map +0 -1
- app-rn-runtime/components/basic/label/label.styles.js +0 -114
- app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
- app-rn-runtime/components/basic/lottie/lottie.component.js.map +0 -1
- app-rn-runtime/components/basic/lottie/lottie.props.js.map +0 -1
- app-rn-runtime/components/basic/message/message.component.js.map +0 -1
- app-rn-runtime/components/basic/message/message.props.js.map +0 -1
- app-rn-runtime/components/basic/message/message.styles.js +0 -93
- app-rn-runtime/components/basic/message/message.styles.js.map +0 -1
- app-rn-runtime/components/basic/modal/modal.component.js.map +0 -1
- app-rn-runtime/components/basic/modal/modal.props.js.map +0 -1
- app-rn-runtime/components/basic/modal/modal.styles.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.component.js +0 -191
- app-rn-runtime/components/basic/picture/picture.component.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.props.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.props.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.props.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.styles.js.map +0 -1
- app-rn-runtime/components/basic/search/local-data-provider.js.map +0 -1
- app-rn-runtime/components/basic/search/search.component.js +0 -411
- app-rn-runtime/components/basic/search/search.component.js.map +0 -1
- app-rn-runtime/components/basic/search/search.props.js +0 -28
- app-rn-runtime/components/basic/search/search.props.js.map +0 -1
- app-rn-runtime/components/basic/search/search.styles.js +0 -124
- app-rn-runtime/components/basic/search/search.styles.js.map +0 -1
- app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.component.js +0 -85
- app-rn-runtime/components/basic/spinner/spinner.component.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.props.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.styles.js +0 -31
- app-rn-runtime/components/basic/spinner/spinner.styles.js.map +0 -1
- app-rn-runtime/components/basic/video/video.component.js +0 -56
- app-rn-runtime/components/basic/video/video.component.js.map +0 -1
- app-rn-runtime/components/basic/video/video.props.js.map +0 -1
- app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/basechart.component.js +0 -476
- app-rn-runtime/components/chart/basechart.component.js.map +0 -1
- app-rn-runtime/components/chart/basechart.props.js +0 -48
- app-rn-runtime/components/chart/basechart.props.js.map +0 -1
- app-rn-runtime/components/chart/basechart.styles.js +0 -16
- app-rn-runtime/components/chart/basechart.styles.js.map +0 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/column-chart/column-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/donut-chart/donut-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/donut-chart/donut-chart.props.js +0 -12
- app-rn-runtime/components/chart/donut-chart/donut-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +0 -112
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +0 -14
- app-rn-runtime/components/chart/pie-chart/pie-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/theme/chart.theme.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.component.js +0 -182
- app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.props.js +0 -13
- app-rn-runtime/components/container/accordion/accordion.props.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.styles.js +0 -126
- app-rn-runtime/components/container/accordion/accordion.styles.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +0 -52
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -1
- app-rn-runtime/components/container/container.component.js.map +0 -1
- app-rn-runtime/components/container/container.props.js.map +0 -1
- app-rn-runtime/components/container/container.styles.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.component.js +0 -42
- app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.props.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -24
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel-content/panel-content.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel-content/panel-content.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel-footer/panel-footer.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.styles.js +0 -89
- app-rn-runtime/components/container/panel/panel.styles.js.map +0 -1
- app-rn-runtime/components/container/partial-host.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +0 -157
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +0 -55
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.component.js +0 -226
- app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.styles.js +0 -18
- app-rn-runtime/components/container/tabs/tabs.styles.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.component.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.props.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.styles.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.component.js +0 -167
- app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.props.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.styles.js +0 -129
- app-rn-runtime/components/container/wizard/wizard.styles.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -1
- app-rn-runtime/components/data/card/card-content/card-content.component.js.map +0 -1
- app-rn-runtime/components/data/card/card-content/card-content.props.js.map +0 -1
- app-rn-runtime/components/data/card/card-footer/card-footer.component.js.map +0 -1
- app-rn-runtime/components/data/card/card-footer/card-footer.props.js.map +0 -1
- app-rn-runtime/components/data/card/card.component.js.map +0 -1
- app-rn-runtime/components/data/card/card.props.js.map +0 -1
- app-rn-runtime/components/data/card/card.styles.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -32
- app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.props.js +0 -15
- app-rn-runtime/components/data/form/form-action/form-action.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.styles.js.map +0 -1
- app-rn-runtime/components/data/form/form-body/form-body.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-body/form-body.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.component.js +0 -204
- app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.props.js +0 -22
- app-rn-runtime/components/data/form/form-field/form-field.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.styles.js.map +0 -1
- app-rn-runtime/components/data/form/form-footer/form-footer.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-footer/form-footer.props.js.map +0 -1
- app-rn-runtime/components/data/form/form.component.js +0 -306
- app-rn-runtime/components/data/form/form.component.js.map +0 -1
- app-rn-runtime/components/data/form/form.props.js +0 -24
- app-rn-runtime/components/data/form/form.props.js.map +0 -1
- app-rn-runtime/components/data/form/form.styles.js +0 -39
- app-rn-runtime/components/data/form/form.styles.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.component.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.props.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +0 -1
- app-rn-runtime/components/data/list/list.component.js +0 -241
- app-rn-runtime/components/data/list/list.component.js.map +0 -1
- app-rn-runtime/components/data/list/list.props.js +0 -32
- app-rn-runtime/components/data/list/list.props.js.map +0 -1
- app-rn-runtime/components/data/list/list.styles.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.component.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.props.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -49
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.component.js +0 -89
- app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -1
- app-rn-runtime/components/input/basedataset/basedataset.component.js.map +0 -1
- app-rn-runtime/components/input/basedataset/basedataset.props.js.map +0 -1
- app-rn-runtime/components/input/baseinput/baseinput.component.js +0 -147
- app-rn-runtime/components/input/baseinput/baseinput.component.js.map +0 -1
- app-rn-runtime/components/input/baseinput/baseinput.props.js.map +0 -1
- app-rn-runtime/components/input/basenumber/basenumber.component.js +0 -278
- app-rn-runtime/components/input/basenumber/basenumber.component.js.map +0 -1
- app-rn-runtime/components/input/basenumber/basenumber.props.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.component.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.props.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.styles.js +0 -110
- app-rn-runtime/components/input/calendar/calendar.styles.js.map +0 -1
- app-rn-runtime/components/input/calendar/views/month-view.js +0 -190
- app-rn-runtime/components/input/calendar/views/month-view.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.props.js +0 -17
- app-rn-runtime/components/input/checkbox/checkbox.props.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.component.js +0 -265
- app-rn-runtime/components/input/chips/chips.component.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.props.js.map +0 -1
- app-rn-runtime/components/input/composite/composite.component.js.map +0 -1
- app-rn-runtime/components/input/composite/composite.props.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.component.js +0 -68
- app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.props.js +0 -12
- app-rn-runtime/components/input/currency/currency.props.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.styles.js +0 -55
- app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -269
- app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.props.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.styles.js +0 -12
- app-rn-runtime/components/input/epoch/date/date.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/date-picker.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.props.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.styles.js +0 -62
- app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.props.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.styles.js +0 -12
- app-rn-runtime/components/input/epoch/time/time.styles.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.component.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.props.js.map +0 -1
- app-rn-runtime/components/input/number/number.component.js +0 -50
- app-rn-runtime/components/input/number/number.component.js.map +0 -1
- app-rn-runtime/components/input/number/number.props.js +0 -12
- app-rn-runtime/components/input/number/number.props.js.map +0 -1
- app-rn-runtime/components/input/number/number.styles.js +0 -33
- app-rn-runtime/components/input/number/number.styles.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.component.js +0 -54
- app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.props.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.styles.js +0 -44
- app-rn-runtime/components/input/radioset/radioset.styles.js.map +0 -1
- app-rn-runtime/components/input/rating/rating.component.js +0 -142
- app-rn-runtime/components/input/rating/rating.component.js.map +0 -1
- app-rn-runtime/components/input/rating/rating.props.js.map +0 -1
- app-rn-runtime/components/input/select/select.component.js +0 -169
- app-rn-runtime/components/input/select/select.component.js.map +0 -1
- app-rn-runtime/components/input/select/select.props.js.map +0 -1
- app-rn-runtime/components/input/select/select.styles.js +0 -80
- app-rn-runtime/components/input/select/select.styles.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.component.js +0 -76
- app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.props.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.props.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.styles.js +0 -78
- app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
- app-rn-runtime/components/input/text/text.component.js +0 -45
- app-rn-runtime/components/input/text/text.component.js.map +0 -1
- app-rn-runtime/components/input/text/text.props.js.map +0 -1
- app-rn-runtime/components/input/text/text.styles.js +0 -39
- app-rn-runtime/components/input/text/text.styles.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.component.js +0 -46
- app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.props.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.styles.js +0 -41
- app-rn-runtime/components/input/textarea/textarea.styles.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.component.js +0 -88
- app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.props.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.styles.js +0 -18
- app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
- app-rn-runtime/components/navigation/basenav/basenav.component.js.map +0 -1
- app-rn-runtime/components/navigation/basenav/basenav.props.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.component.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.props.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.styles.js +0 -61
- app-rn-runtime/components/navigation/menu/menu.styles.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.props.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.styles.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.props.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.props.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.styles.js.map +0 -1
- app-rn-runtime/components/page/content/content.component.js.map +0 -1
- app-rn-runtime/components/page/left-panel/left-panel.component.js.map +0 -1
- app-rn-runtime/components/page/left-panel/left-panel.props.js.map +0 -1
- app-rn-runtime/components/page/page-content/page-content.component.js.map +0 -1
- app-rn-runtime/components/page/page-content/page-content.props.js.map +0 -1
- app-rn-runtime/components/page/page.component.js.map +0 -1
- app-rn-runtime/components/page/partial/partial.component.js.map +0 -1
- app-rn-runtime/components/page/partial-container/partial-container.component.js.map +0 -1
- app-rn-runtime/components/page/partial-container/partial-container.props.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.props.js.map +0 -1
- app-rn-runtime/components/prefab/prefab-container.component.js.map +0 -1
- app-rn-runtime/core/asset.provider.js.map +0 -1
- app-rn-runtime/core/base.component.js +0 -370
- app-rn-runtime/core/base.component.js.map +0 -1
- app-rn-runtime/core/device/camera-service.js.map +0 -1
- app-rn-runtime/core/device/scan-service.js.map +0 -1
- app-rn-runtime/core/display.manager.js.map +0 -1
- app-rn-runtime/core/event-notifier.js.map +0 -1
- app-rn-runtime/core/fixed-view.component.js.map +0 -1
- app-rn-runtime/core/formatters.js.map +0 -1
- app-rn-runtime/core/if.component.js +0 -36
- app-rn-runtime/core/if.component.js.map +0 -1
- app-rn-runtime/core/imageSizeEstimator.js.map +0 -1
- app-rn-runtime/core/injector.js +0 -26
- app-rn-runtime/core/injector.js.map +0 -1
- app-rn-runtime/core/logger.js +0 -120
- app-rn-runtime/core/logger.js.map +0 -1
- app-rn-runtime/core/modal.service.js.map +0 -1
- app-rn-runtime/core/navigation.service.js.map +0 -1
- app-rn-runtime/core/network.service.js +0 -329
- app-rn-runtime/core/network.service.js.map +0 -1
- app-rn-runtime/core/partial.service.js.map +0 -1
- app-rn-runtime/core/props.provider.js +0 -86
- app-rn-runtime/core/props.provider.js.map +0 -1
- app-rn-runtime/core/scroll-view.component.js.map +0 -1
- app-rn-runtime/core/security.service.js.map +0 -1
- app-rn-runtime/core/spinner.service.js.map +0 -1
- app-rn-runtime/core/storage.service.js.map +0 -1
- app-rn-runtime/core/tappable.component.js +0 -63
- app-rn-runtime/core/tappable.component.js.map +0 -1
- app-rn-runtime/core/toast.service.js.map +0 -1
- app-rn-runtime/core/utils.js +0 -294
- app-rn-runtime/core/utils.js.map +0 -1
- app-rn-runtime/core/viewport.js.map +0 -1
- app-rn-runtime/gestures/swipe.animation.js +0 -105
- app-rn-runtime/gestures/swipe.animation.js.map +0 -1
- app-rn-runtime/package.json +0 -243
- app-rn-runtime/runtime/App.js +0 -454
- app-rn-runtime/runtime/App.js.map +0 -1
- app-rn-runtime/runtime/App.navigator.js +0 -100
- app-rn-runtime/runtime/App.navigator.js.map +0 -1
- app-rn-runtime/runtime/base-fragment.component.js +0 -317
- app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
- app-rn-runtime/runtime/base-page.component.js +0 -138
- app-rn-runtime/runtime/base-page.component.js.map +0 -1
- app-rn-runtime/runtime/base-partial.component.js.map +0 -1
- app-rn-runtime/runtime/base-prefab.component.js +0 -85
- app-rn-runtime/runtime/base-prefab.component.js.map +0 -1
- app-rn-runtime/runtime/lib-patch.js.map +0 -1
- app-rn-runtime/runtime/memo.component.js.map +0 -1
- app-rn-runtime/runtime/navigator/drawer.navigator.js.map +0 -1
- app-rn-runtime/runtime/navigator/stack.navigator.js.map +0 -1
- app-rn-runtime/runtime/services/app-display-manager.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-i18n.service.js +0 -42
- app-rn-runtime/runtime/services/app-i18n.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-modal.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-security.service.js +0 -189
- app-rn-runtime/runtime/services/app-security.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-spinner.service.js +0 -74
- app-rn-runtime/runtime/services/app-spinner.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-toast.service.js.map +0 -1
- app-rn-runtime/runtime/services/device/calendar-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/camera-service.js +0 -333
- app-rn-runtime/runtime/services/device/camera-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/contacts-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/location-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/permissions.js.map +0 -1
- app-rn-runtime/runtime/services/device/scan-service.js.map +0 -1
- app-rn-runtime/runtime/services/partial.service.js.map +0 -1
- app-rn-runtime/runtime/services/webprocess.service.js.map +0 -1
- app-rn-runtime/runtime/watcher.js +0 -145
- app-rn-runtime/runtime/watcher.js.map +0 -1
- app-rn-runtime/styles/MediaQueryList.js.map +0 -1
- app-rn-runtime/styles/background.component.js +0 -259
- app-rn-runtime/styles/background.component.js.map +0 -1
- app-rn-runtime/styles/style-prop.validator.js +0 -466
- app-rn-runtime/styles/style-prop.validator.js.map +0 -1
- app-rn-runtime/styles/style-props.js.map +0 -1
- app-rn-runtime/styles/theme.js +0 -317
- app-rn-runtime/styles/theme.js.map +0 -1
- app-rn-runtime/styles/theme.variables.js +0 -336
- app-rn-runtime/styles/theme.variables.js.map +0 -1
- app-rn-runtime/variables/base-variable.js +0 -125
- app-rn-runtime/variables/base-variable.js.map +0 -1
- app-rn-runtime/variables/device/calendar/create-event.operation.js.map +0 -1
- app-rn-runtime/variables/device/calendar/delete-event.operation.js.map +0 -1
- app-rn-runtime/variables/device/calendar/get-events.operation.js.map +0 -1
- app-rn-runtime/variables/device/camera/capture-image.operation.js.map +0 -1
- app-rn-runtime/variables/device/camera/capture-video.operation.js.map +0 -1
- app-rn-runtime/variables/device/contacts/get-contacts.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/app-info.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/current-geo-position.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/device-info.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/network-info.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/vibrate.operation.js.map +0 -1
- app-rn-runtime/variables/device/file/upload-file.operation.js.map +0 -1
- app-rn-runtime/variables/device/operation.provider.js.map +0 -1
- app-rn-runtime/variables/device/scan/scan.operation.js.map +0 -1
- app-rn-runtime/variables/device-variable.js.map +0 -1
- app-rn-runtime/variables/http.service.js +0 -72
- app-rn-runtime/variables/http.service.js.map +0 -1
- app-rn-runtime/variables/model-variable.js +0 -35
- app-rn-runtime/variables/model-variable.js.map +0 -1
- app-rn-runtime/variables/service-variable.js +0 -122
- app-rn-runtime/variables/service-variable.js.map +0 -1
- app-rn-runtime/variables/utils/dataset-util.js.map +0 -1
- app-rn-runtime/variables/utils/inflight-queue.js.map +0 -1
- app-rn-runtime/variables/utils/variable.utils.js.map +0 -1
- {app-rn-runtime → package}/actions/base-action.js +0 -0
- {app-rn-runtime → package}/actions/index.js +0 -0
- {app-rn-runtime → package}/actions/index.js.map +0 -0
- {app-rn-runtime → package}/actions/login-action.js +0 -0
- {app-rn-runtime → package}/actions/logout-action.js +0 -0
- {app-rn-runtime → package}/actions/notification-action.js +0 -0
- {app-rn-runtime → package}/actions/timer-action.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.component.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
- {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/container.component.js +0 -0
- {app-rn-runtime → package}/components/container/container.props.js +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
- {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
- {app-rn-runtime → package}/components/data/list/list.styles.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.styles.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.component.js +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
- {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.component.js +0 -0
- {app-rn-runtime → package}/components/page/page.props.js +0 -0
- {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
- {app-rn-runtime → package}/core/AppConfig.js +0 -0
- {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
- {app-rn-runtime → package}/core/asset.provider.js +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/camera-service.js +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/location-service.js +0 -0
- {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/scan-service.js +0 -0
- {app-rn-runtime → package}/core/display.manager.js +0 -0
- {app-rn-runtime → package}/core/event-notifier.js +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
- {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
- {app-rn-runtime → package}/core/formatters.js +0 -0
- {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
- {app-rn-runtime → package}/core/modal.service.js +0 -0
- {app-rn-runtime → package}/core/navigation.service.js +0 -0
- {app-rn-runtime → package}/core/partial.service.js +0 -0
- {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
- {app-rn-runtime → package}/core/security.service.js +0 -0
- {app-rn-runtime → package}/core/spinner.service.js +0 -0
- {app-rn-runtime → package}/core/storage.service.js +0 -0
- {app-rn-runtime → package}/core/toast.service.js +0 -0
- {app-rn-runtime → package}/core/viewport.js +0 -0
- {app-rn-runtime → package}/index.js +0 -0
- {app-rn-runtime → package}/index.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
- {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
- {app-rn-runtime → package}/runtime/memo.component.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
- {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
- {app-rn-runtime → package}/styles/style-props.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
- {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
- {app-rn-runtime → package}/variables/device-variable.js +0 -0
- {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
- {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Dimensions } from 'react-native';
|
|
6
|
+
import moment from "moment";
|
|
7
|
+
import { forEach, get, isArray, isEmpty, isObject, maxBy, minBy, set, trim } from "lodash-es";
|
|
8
|
+
import { VictoryAxis, VictoryLegend, VictoryLabel } from "victory-native";
|
|
9
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
10
|
+
import WmIcon from "@wavemaker/app-rn-runtime/components/basic/icon/icon.component";
|
|
11
|
+
import ThemeFactory from "@wavemaker/app-rn-runtime/components/chart/theme/chart.theme";
|
|
12
|
+
import { DEFAULT_CLASS } from "./basechart.styles";
|
|
13
|
+
export class BaseChartComponentState extends BaseComponentState {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
_defineProperty(this, "data", []);
|
|
17
|
+
_defineProperty(this, "content", null);
|
|
18
|
+
_defineProperty(this, "yAxis", []);
|
|
19
|
+
_defineProperty(this, "xaxisDatakeyArr", []);
|
|
20
|
+
_defineProperty(this, "legendData", []);
|
|
21
|
+
_defineProperty(this, "theme", void 0);
|
|
22
|
+
_defineProperty(this, "colors", void 0);
|
|
23
|
+
_defineProperty(this, "xLabel", '');
|
|
24
|
+
_defineProperty(this, "yLabel", '');
|
|
25
|
+
_defineProperty(this, "total", 0);
|
|
26
|
+
_defineProperty(this, "endAngle", 0);
|
|
27
|
+
_defineProperty(this, "loading", true);
|
|
28
|
+
_defineProperty(this, "chartHeight", 0);
|
|
29
|
+
_defineProperty(this, "chartWidth", 0);
|
|
30
|
+
_defineProperty(this, "chartMinY", undefined);
|
|
31
|
+
_defineProperty(this, "chartMinX", undefined);
|
|
32
|
+
_defineProperty(this, "chartMaxY", undefined);
|
|
33
|
+
_defineProperty(this, "chartMaxX", undefined);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const screenWidth = Dimensions.get("window").width;
|
|
37
|
+
const shapes = {
|
|
38
|
+
'circle': 'circle',
|
|
39
|
+
'cross': 'cross',
|
|
40
|
+
'diamond': 'diamond',
|
|
41
|
+
'plus': 'plus',
|
|
42
|
+
'minus': 'minus',
|
|
43
|
+
'square': 'square',
|
|
44
|
+
'star': 'star',
|
|
45
|
+
'triangle-down': 'triangleDown',
|
|
46
|
+
'triangle-up': 'triangleUp'
|
|
47
|
+
};
|
|
48
|
+
const SI_SYMBOL = ["", "k", "M", "G", "T", "P", "E"];
|
|
49
|
+
export class BaseChartComponent extends BaseComponent {
|
|
50
|
+
constructor(props) {
|
|
51
|
+
let defaultClass = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_CLASS;
|
|
52
|
+
let defaultProps = arguments.length > 2 ? arguments[2] : undefined;
|
|
53
|
+
let defaultState = arguments.length > 3 ? arguments[3] : undefined;
|
|
54
|
+
super(props, defaultClass, defaultProps, defaultState);
|
|
55
|
+
this.defaultClass = defaultClass;
|
|
56
|
+
_defineProperty(this, "screenWidth", screenWidth);
|
|
57
|
+
if (!props.theme) {
|
|
58
|
+
this.applyTheme(props);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
componentDidMount() {
|
|
62
|
+
super.componentDidMount();
|
|
63
|
+
}
|
|
64
|
+
abbreviateNumber(number) {
|
|
65
|
+
if (typeof number !== 'number') {
|
|
66
|
+
return number;
|
|
67
|
+
}
|
|
68
|
+
const tier = Math.log10(Math.abs(number)) / 3 | 0;
|
|
69
|
+
if (tier == 0) {
|
|
70
|
+
return number;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// get suffix and determine scale
|
|
74
|
+
const suffix = SI_SYMBOL[tier];
|
|
75
|
+
const scale = Math.pow(10, tier * 3);
|
|
76
|
+
|
|
77
|
+
// scale the number
|
|
78
|
+
var scaled = number / scale;
|
|
79
|
+
|
|
80
|
+
// format number and add suffix
|
|
81
|
+
return scaled.toFixed(1) + suffix;
|
|
82
|
+
}
|
|
83
|
+
getLegendView() {
|
|
84
|
+
if (this.props.showlegend === 'hide') {
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
let top = this.props.showlegend === 'bottom' ? parseInt(this.styles.root.height) : 0;
|
|
88
|
+
if (top) {
|
|
89
|
+
top = top - 50; // remove legendHeight
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const orientation = this.props.showlegend === 'right' || this.props.showlegend === 'left' ? 'vertical' : 'horizontal';
|
|
93
|
+
return /*#__PURE__*/React.createElement(VictoryLegend, {
|
|
94
|
+
name: 'legendData',
|
|
95
|
+
orientation: orientation,
|
|
96
|
+
gutter: 20,
|
|
97
|
+
data: this.state.legendData,
|
|
98
|
+
style: {
|
|
99
|
+
border: {
|
|
100
|
+
stroke: 'none'
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
borderPadding: {
|
|
104
|
+
top: 30,
|
|
105
|
+
left: 50
|
|
106
|
+
},
|
|
107
|
+
y: top
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
getYScaleMinValue(value) {
|
|
111
|
+
const _min = Math.floor(value);
|
|
112
|
+
return Math.abs(value) - _min > 0 ? value - .1 : _min - 1;
|
|
113
|
+
}
|
|
114
|
+
// x axis with vertical lines having grid stroke colors
|
|
115
|
+
getXaxis() {
|
|
116
|
+
if (this.props.showxaxis === false) {
|
|
117
|
+
return null;
|
|
118
|
+
}
|
|
119
|
+
return /*#__PURE__*/React.createElement(VictoryAxis, {
|
|
120
|
+
crossAxis: true,
|
|
121
|
+
label: (this.props.xaxislabel || this.props.xaxisdatakey) + (this.props.xunits ? `(${this.props.xunits})` : ''),
|
|
122
|
+
style: {
|
|
123
|
+
grid: this.styles.grid
|
|
124
|
+
},
|
|
125
|
+
fixLabelOverlap: true,
|
|
126
|
+
tickLabelComponent: /*#__PURE__*/React.createElement(VictoryLabel, {
|
|
127
|
+
angle: this.props.labelangle || 0
|
|
128
|
+
}),
|
|
129
|
+
theme: this.state.theme,
|
|
130
|
+
tickFormat: d => `${this.state.xaxisDatakeyArr.length ? this.state.xaxisDatakeyArr[d] : d}`
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/* y axis with horizontal lines having grid stroke colors*/
|
|
134
|
+
getYAxis() {
|
|
135
|
+
if (this.props.showyaxis === false) {
|
|
136
|
+
return null;
|
|
137
|
+
}
|
|
138
|
+
return /*#__PURE__*/React.createElement(VictoryAxis, {
|
|
139
|
+
crossAxis: true,
|
|
140
|
+
label: (this.props.yaxislabel || this.props.yaxisdatakey) + (this.props.yunits ? `(${this.props.yunits})` : ''),
|
|
141
|
+
style: {
|
|
142
|
+
axisLabel: {
|
|
143
|
+
padding: this.props.yaxislabeldistance
|
|
144
|
+
},
|
|
145
|
+
grid: this.styles.grid
|
|
146
|
+
},
|
|
147
|
+
theme: this.state.theme,
|
|
148
|
+
tickFormat: t => `${this.abbreviateNumber(t)}`,
|
|
149
|
+
dependentAxis: true
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// X/Y Domain properties are supported only for Column and Area charts
|
|
154
|
+
isAxisDomainSupported(type) {
|
|
155
|
+
return type === 'Column' || type === 'Area';
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// Check whether X/Y Domain was set to Min and is supported for the present chart
|
|
159
|
+
isAxisDomainValid(axis) {
|
|
160
|
+
if (get(this.props, axis + 'domain') === 'Min' && this.isAxisDomainSupported(this.props.type)) {
|
|
161
|
+
return true;
|
|
162
|
+
}
|
|
163
|
+
return false;
|
|
164
|
+
}
|
|
165
|
+
// Check whether min and max values are finite or not
|
|
166
|
+
areMinMaxValuesValid(values) {
|
|
167
|
+
if (isFinite(values.min) && isFinite(values.max)) {
|
|
168
|
+
return true;
|
|
169
|
+
}
|
|
170
|
+
return false;
|
|
171
|
+
}
|
|
172
|
+
setDomainValues() {
|
|
173
|
+
let xDomainValues, yDomainValues;
|
|
174
|
+
if (this.state.data.length > 0) {
|
|
175
|
+
if (this.isAxisDomainValid('x') && typeof this.state.data[0].x === 'number') {
|
|
176
|
+
xDomainValues = this.getXMinMaxValues(this.state.data[0]);
|
|
177
|
+
}
|
|
178
|
+
if (this.isAxisDomainValid('y')) {
|
|
179
|
+
yDomainValues = this.getYMinMaxValues(this.state.data);
|
|
180
|
+
}
|
|
181
|
+
if (xDomainValues) {
|
|
182
|
+
this.updateState({
|
|
183
|
+
chartMinX: yDomainValues.min.x,
|
|
184
|
+
chartMaxX: yDomainValues.max.x
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
let yMin;
|
|
188
|
+
if (yDomainValues) {
|
|
189
|
+
if (this.areMinMaxValuesValid({
|
|
190
|
+
max: yDomainValues.max.y,
|
|
191
|
+
min: yDomainValues.min.y
|
|
192
|
+
})) {
|
|
193
|
+
yMin = this.getYScaleMinValue(yDomainValues.min.y);
|
|
194
|
+
}
|
|
195
|
+
this.updateState({
|
|
196
|
+
chartMinY: yMin ? yMin : yDomainValues.min.y,
|
|
197
|
+
chartMaxY: yDomainValues.max.y
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// Getting the min and max values among all the x values
|
|
204
|
+
getXMinMaxValues(datum) {
|
|
205
|
+
if (!datum) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
const xValues = {};
|
|
209
|
+
/*
|
|
210
|
+
compute the min x value
|
|
211
|
+
eg: When data has objects
|
|
212
|
+
input: [{x:1, y:2}, {x:2, y:3}, {x:3, y:4}]
|
|
213
|
+
min x: 1
|
|
214
|
+
eg: When data has arrays
|
|
215
|
+
input: [[10, 20], [20, 30], [30, 40]];
|
|
216
|
+
min x: 10
|
|
217
|
+
*/
|
|
218
|
+
xValues.min = minBy(datum, dataObject => dataObject.x) || {
|
|
219
|
+
x: undefined
|
|
220
|
+
};
|
|
221
|
+
/*
|
|
222
|
+
compute the max x value
|
|
223
|
+
eg: When data has objects
|
|
224
|
+
input: [{x:1, y:2}, {x:2, y:3}, {x:3, y:4}]
|
|
225
|
+
max x: 3
|
|
226
|
+
eg: When data has arrays
|
|
227
|
+
input: [[10, 20], [20, 30], [30, 40]];
|
|
228
|
+
max x: 30
|
|
229
|
+
*/
|
|
230
|
+
xValues.max = maxBy(datum, dataObject => dataObject.x) || {
|
|
231
|
+
x: undefined
|
|
232
|
+
};
|
|
233
|
+
return xValues;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// Getting the min and max values among all the y values
|
|
237
|
+
getYMinMaxValues(datum) {
|
|
238
|
+
const yValues = {},
|
|
239
|
+
minValues = [],
|
|
240
|
+
maxValues = [];
|
|
241
|
+
if (!datum) {
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/*
|
|
246
|
+
Getting the min and max y values among all the series of data
|
|
247
|
+
compute the min y value
|
|
248
|
+
eg: When data has objects
|
|
249
|
+
input: [[{x:1, y:2}, {x:2, y:3}, {x:3, y:4}], [{x:2, y:3}, {x:3, y:4}, {x:4, y:5}]]
|
|
250
|
+
min y values : '2'(among first set) & '3'(among second set)
|
|
251
|
+
max y values : '4'(among first set) & '5'(among second set)
|
|
252
|
+
eg: When data has arrays
|
|
253
|
+
input: [[[10, 20], [20, 30], [30, 40]], [[20, 30], [30, 40], [40, 50]]]
|
|
254
|
+
min y values : '20'(among first set) & '30'(among second set)
|
|
255
|
+
max y values : '40'(among first set) & '50'(among second set)
|
|
256
|
+
*/
|
|
257
|
+
|
|
258
|
+
forEach(datum, data => {
|
|
259
|
+
if (data && !isEmpty(data)) {
|
|
260
|
+
minValues.push(minBy(data, dataObject => {
|
|
261
|
+
return dataObject.y;
|
|
262
|
+
}));
|
|
263
|
+
maxValues.push(maxBy(data, dataObject => {
|
|
264
|
+
return dataObject.y;
|
|
265
|
+
}));
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
// Gets the least and highest values among all the min and max values of respective series of data
|
|
269
|
+
yValues.min = minBy(minValues, dataObject => dataObject.y) || {
|
|
270
|
+
y: undefined
|
|
271
|
+
};
|
|
272
|
+
yValues.max = maxBy(maxValues, dataObject => dataObject.y) || {
|
|
273
|
+
y: undefined
|
|
274
|
+
};
|
|
275
|
+
return yValues;
|
|
276
|
+
}
|
|
277
|
+
setHeightWidthOnChart(cb) {
|
|
278
|
+
let height = this.styles.root.height || 250;
|
|
279
|
+
let width = this.styles.root.width || screenWidth;
|
|
280
|
+
if (height && typeof height === 'string') {
|
|
281
|
+
height = parseInt(height);
|
|
282
|
+
}
|
|
283
|
+
if (width && typeof width === 'string') {
|
|
284
|
+
width = parseInt(width);
|
|
285
|
+
}
|
|
286
|
+
this.updateState({
|
|
287
|
+
chartHeight: height,
|
|
288
|
+
chartWidth: width
|
|
289
|
+
}, cb);
|
|
290
|
+
}
|
|
291
|
+
applyTheme(props) {
|
|
292
|
+
let themeName = props.theme ? props.theme : props.type === 'Pie' ? 'Azure' : 'Terrestrial';
|
|
293
|
+
let colorsToUse = [];
|
|
294
|
+
if (typeof props.customcolors === 'string' && !isEmpty(props.customcolors)) {
|
|
295
|
+
colorsToUse = props.customcolors.split(',').map(trim);
|
|
296
|
+
}
|
|
297
|
+
let themeToUse;
|
|
298
|
+
if (typeof themeName === 'string') {
|
|
299
|
+
if (!colorsToUse.length) {
|
|
300
|
+
colorsToUse = ThemeFactory.getColorsObj(themeName);
|
|
301
|
+
}
|
|
302
|
+
themeToUse = ThemeFactory.getTheme(themeName, this.props.styles, colorsToUse);
|
|
303
|
+
} else if (typeof themeName === 'object') {
|
|
304
|
+
// if theme is passed as an object then use that custom theme.
|
|
305
|
+
themeToUse = props.theme;
|
|
306
|
+
}
|
|
307
|
+
this.updateState({
|
|
308
|
+
colors: colorsToUse,
|
|
309
|
+
theme: themeToUse
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
prepareLegendData() {
|
|
313
|
+
if (this.state.yAxis) {
|
|
314
|
+
let ldata = this.state.yAxis.map(d => {
|
|
315
|
+
return {
|
|
316
|
+
name: d
|
|
317
|
+
};
|
|
318
|
+
});
|
|
319
|
+
this.updateState({
|
|
320
|
+
legendData: ldata
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
prepareEvents(name) {
|
|
325
|
+
return this.state.legendData.map((_, idx) => {
|
|
326
|
+
return {
|
|
327
|
+
childName: ['legend'],
|
|
328
|
+
target: 'data',
|
|
329
|
+
eventKey: String(idx),
|
|
330
|
+
eventHandlers: {
|
|
331
|
+
onClick: () => {
|
|
332
|
+
return [{
|
|
333
|
+
childName: [name + '_' + idx],
|
|
334
|
+
target: 'data',
|
|
335
|
+
eventKey: 'all',
|
|
336
|
+
mutation: props => {
|
|
337
|
+
return null;
|
|
338
|
+
}
|
|
339
|
+
}];
|
|
340
|
+
},
|
|
341
|
+
onMouseOver: () => {},
|
|
342
|
+
onMouseOut: () => {}
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
// If date string is bound to xaxis then we are pushing the x values as indexes.
|
|
349
|
+
getxAxisVal(dataObj, xKey, index, xaxisDatakeyArr) {
|
|
350
|
+
const value = get(dataObj, xKey);
|
|
351
|
+
if (moment(value, true).isValid() || isNaN(value)) {
|
|
352
|
+
xaxisDatakeyArr.push(value);
|
|
353
|
+
return index;
|
|
354
|
+
}
|
|
355
|
+
return value;
|
|
356
|
+
}
|
|
357
|
+
prepareDataItems(dataset) {
|
|
358
|
+
let xaxis = this.props.xaxisdatakey;
|
|
359
|
+
let yaxis = this.props.yaxisdatakey;
|
|
360
|
+
let xaxisDatakeyArr = [];
|
|
361
|
+
let datasets = [];
|
|
362
|
+
if (xaxis && yaxis) {
|
|
363
|
+
let yPts = yaxis.split(',');
|
|
364
|
+
yPts.forEach(y => {
|
|
365
|
+
if (xaxis !== y) {
|
|
366
|
+
datasets.push(dataset.map((o, xindex) => {
|
|
367
|
+
const xVal = this.getxAxisVal(o, xaxis, xindex, xaxisDatakeyArr);
|
|
368
|
+
let yVal = get(o, y);
|
|
369
|
+
if (typeof yVal === 'string') {
|
|
370
|
+
yVal = parseFloat(yVal) || yVal;
|
|
371
|
+
}
|
|
372
|
+
let dataObj = {
|
|
373
|
+
x: xVal,
|
|
374
|
+
y: yVal
|
|
375
|
+
};
|
|
376
|
+
if (this.props.bubblesize) {
|
|
377
|
+
set(dataObj, 'size', get(o, this.props.bubblesize, 5));
|
|
378
|
+
}
|
|
379
|
+
if (this.props.shape) {
|
|
380
|
+
set(dataObj, 'symbol', shapes[this.props.shape]);
|
|
381
|
+
}
|
|
382
|
+
return dataObj;
|
|
383
|
+
}));
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
// chartTransform
|
|
387
|
+
this.invokeEventCallback('onTransform', [undefined, this.proxy]);
|
|
388
|
+
if (this.props.type == 'Pie' || this.props.type === 'Donut') {
|
|
389
|
+
// for animation effect
|
|
390
|
+
setTimeout(() => {
|
|
391
|
+
this.updateState({
|
|
392
|
+
endAngle: 360
|
|
393
|
+
});
|
|
394
|
+
}, 500);
|
|
395
|
+
}
|
|
396
|
+
this.updateData(datasets, yPts, xaxisDatakeyArr);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
renderLoadingIcon() {
|
|
400
|
+
return /*#__PURE__*/React.createElement(WmIcon, {
|
|
401
|
+
styles: this.styles.loadingIcon,
|
|
402
|
+
iconclass: this.props.loadingicon,
|
|
403
|
+
caption: this.props.loadingdatamsg
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
updateData(datasets, yPts, xaxisDatakeyArr) {
|
|
407
|
+
this.updateState({
|
|
408
|
+
data: datasets,
|
|
409
|
+
yAxis: yPts,
|
|
410
|
+
xaxisDatakeyArr: xaxisDatakeyArr
|
|
411
|
+
}, () => {
|
|
412
|
+
this.prepareLegendData();
|
|
413
|
+
if (!this.props.labeltype || this.props.labeltype === 'percent') {
|
|
414
|
+
this.setTotal(this.state.data[0]);
|
|
415
|
+
}
|
|
416
|
+
if (this.isAxisDomainSupported(this.props.type) && (this.props.ydomain || this.props.xdomain)) {
|
|
417
|
+
this.setDomainValues();
|
|
418
|
+
}
|
|
419
|
+
this.updateState({
|
|
420
|
+
loading: false
|
|
421
|
+
});
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
setTotal(data) {
|
|
425
|
+
let total = 0;
|
|
426
|
+
data.forEach(d => {
|
|
427
|
+
total += d.y;
|
|
428
|
+
});
|
|
429
|
+
this.updateState({
|
|
430
|
+
total: total
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
onPropertyChange(name, $new, $old) {
|
|
434
|
+
super.onPropertyChange(name, $new, $old);
|
|
435
|
+
let units = '';
|
|
436
|
+
switch (name) {
|
|
437
|
+
case 'customcolors':
|
|
438
|
+
if (isEmpty($new)) {
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
if (typeof $new === 'string') {
|
|
442
|
+
$new = $new.split(',');
|
|
443
|
+
}
|
|
444
|
+
this.updateState({
|
|
445
|
+
colors: $new
|
|
446
|
+
});
|
|
447
|
+
break;
|
|
448
|
+
case 'theme':
|
|
449
|
+
this.applyTheme(this.props);
|
|
450
|
+
break;
|
|
451
|
+
case 'dataset':
|
|
452
|
+
if (!isArray($new)) {
|
|
453
|
+
if (isObject($new) && !isEmpty($new)) {
|
|
454
|
+
$new = [$new];
|
|
455
|
+
} else {
|
|
456
|
+
$new = [];
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
$new && this.prepareDataItems($new);
|
|
460
|
+
break;
|
|
461
|
+
case 'xaxislabel':
|
|
462
|
+
if (this.props.xunits) {
|
|
463
|
+
units = ' (' + this.props.xunits + ')';
|
|
464
|
+
}
|
|
465
|
+
this.updateState({
|
|
466
|
+
xLabel: $new + units
|
|
467
|
+
});
|
|
468
|
+
break;
|
|
469
|
+
case 'yaxislabel':
|
|
470
|
+
if (this.props.yunits) {
|
|
471
|
+
units = ' (' + this.props.yunits + ')';
|
|
472
|
+
}
|
|
473
|
+
this.updateState({
|
|
474
|
+
yLabel: $new + units
|
|
475
|
+
});
|
|
476
|
+
break;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
//# sourceMappingURL=basechart.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Dimensions","moment","forEach","get","isArray","isEmpty","isObject","maxBy","minBy","set","trim","VictoryAxis","VictoryLegend","VictoryLabel","BaseComponent","BaseComponentState","WmIcon","ThemeFactory","DEFAULT_CLASS","BaseChartComponentState","constructor","arguments","_defineProperty","undefined","screenWidth","width","shapes","SI_SYMBOL","BaseChartComponent","props","defaultClass","length","defaultProps","defaultState","theme","applyTheme","componentDidMount","abbreviateNumber","number","tier","Math","log10","abs","suffix","scale","pow","scaled","toFixed","getLegendView","showlegend","top","parseInt","styles","root","height","orientation","createElement","name","gutter","data","state","legendData","style","border","stroke","borderPadding","left","y","getYScaleMinValue","value","_min","floor","getXaxis","showxaxis","crossAxis","label","xaxislabel","xaxisdatakey","xunits","grid","fixLabelOverlap","tickLabelComponent","angle","labelangle","tickFormat","d","xaxisDatakeyArr","getYAxis","showyaxis","yaxislabel","yaxisdatakey","yunits","axisLabel","padding","yaxislabeldistance","t","dependentAxis","isAxisDomainSupported","type","isAxisDomainValid","axis","areMinMaxValuesValid","values","isFinite","min","max","setDomainValues","xDomainValues","yDomainValues","x","getXMinMaxValues","getYMinMaxValues","updateState","chartMinX","chartMaxX","yMin","chartMinY","chartMaxY","datum","xValues","dataObject","yValues","minValues","maxValues","push","setHeightWidthOnChart","cb","chartHeight","chartWidth","themeName","colorsToUse","customcolors","split","map","themeToUse","getColorsObj","getTheme","colors","prepareLegendData","yAxis","ldata","prepareEvents","_","idx","childName","target","eventKey","String","eventHandlers","onClick","mutation","onMouseOver","onMouseOut","getxAxisVal","dataObj","xKey","index","isValid","isNaN","prepareDataItems","dataset","xaxis","yaxis","datasets","yPts","o","xindex","xVal","yVal","parseFloat","bubblesize","shape","invokeEventCallback","proxy","setTimeout","endAngle","updateData","renderLoadingIcon","loadingIcon","iconclass","loadingicon","caption","loadingdatamsg","labeltype","setTotal","ydomain","xdomain","loading","total","onPropertyChange","$new","$old","units","xLabel","yLabel"],"sources":["basechart.component.tsx"],"sourcesContent":["import React from \"react\";\nimport { Dimensions } from 'react-native';\nimport moment from \"moment\";\nimport {forEach, get, isArray, isEmpty, isObject, maxBy, minBy, set, trim} from \"lodash-es\";\nimport { ScatterSymbolType } from \"victory-core\";\nimport {VictoryAxis, VictoryLegend, VictoryLabel} from \"victory-native\";\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmIcon from \"@wavemaker/app-rn-runtime/components/basic/icon/icon.component\";\nimport ThemeFactory from \"@wavemaker/app-rn-runtime/components/chart/theme/chart.theme\";\n\nimport BaseChartComponentProps from \"./basechart.props\";\nimport { DEFAULT_CLASS, BaseChartComponentStyles} from \"./basechart.styles\";\n\nexport class BaseChartComponentState <T extends BaseChartComponentProps> extends BaseComponentState<T> {\n data: any = [];\n content: any = null;\n yAxis: Array<string> = [];\n xaxisDatakeyArr: Array<any> = [];\n legendData: any = [];\n theme: any;\n colors: any;\n xLabel: string = '';\n yLabel: string = '';\n total: number = 0;\n endAngle: number = 0;\n loading: boolean = true;\n chartHeight: number = 0;\n chartWidth: number = 0;\n chartMinY: number | undefined = undefined;\n chartMinX: number | undefined = undefined;\n chartMaxY: number | undefined = undefined;\n chartMaxX: number | undefined = undefined;\n}\n\nconst screenWidth = Dimensions.get(\"window\").width;\n\nconst shapes: {[key: string]: ScatterSymbolType} = {\n 'circle': 'circle',\n 'cross': 'cross',\n 'diamond': 'diamond',\n 'plus': 'plus',\n 'minus': 'minus',\n 'square': 'square',\n 'star': 'star',\n 'triangle-down': 'triangleDown',\n 'triangle-up': 'triangleUp'\n};\n\nconst SI_SYMBOL = [\"\", \"k\", \"M\", \"G\", \"T\", \"P\", \"E\"];\n\nexport abstract class BaseChartComponent<T extends BaseChartComponentProps, S extends BaseChartComponentState<T>, L extends BaseChartComponentStyles> extends BaseComponent<T, S, L> {\n protected screenWidth: number = screenWidth;\n constructor(props: T, public defaultClass: string = DEFAULT_CLASS, defaultProps?: T, defaultState?: S) {\n super(props, defaultClass, defaultProps, defaultState);\n if (!props.theme) {\n this.applyTheme(props);\n }\n }\n\n componentDidMount() {\n super.componentDidMount();\n }\n\n abbreviateNumber(number: any) {\n if (typeof number !== 'number') {\n return number;\n }\n const tier = Math.log10(Math.abs(number)) / 3 | 0;\n\n if (tier == 0) {\n return number;\n }\n\n // get suffix and determine scale\n const suffix = SI_SYMBOL[tier];\n const scale = Math.pow(10, tier * 3);\n\n // scale the number\n var scaled = number / scale;\n\n // format number and add suffix\n return scaled.toFixed(1) + suffix;\n }\n\n getLegendView() {\n if (this.props.showlegend === 'hide') {\n return null;\n }\n let top = this.props.showlegend === 'bottom' ? parseInt(this.styles.root.height as string) : 0;\n if (top) {\n top = top - (50); // remove legendHeight\n }\n const orientation = (this.props.showlegend === 'right' || this.props.showlegend === 'left') ? 'vertical' : 'horizontal';\n return <VictoryLegend\n name={'legendData'}\n orientation={orientation}\n gutter={20}\n data={this.state.legendData}\n style={{ border: { stroke: 'none' } }}\n borderPadding={{top: 30, left: 50}}\n y={top}\n />\n }\n\n getYScaleMinValue(value: number) {\n const _min = Math.floor(value);\n return Math.abs(value) - _min > 0 ? value - .1 : _min - 1;\n };\n\n // x axis with vertical lines having grid stroke colors\n getXaxis() {\n if (this.props.showxaxis === false) {\n return null;\n }\n return <VictoryAxis crossAxis label={(this.props.xaxislabel || this.props.xaxisdatakey) + (this.props.xunits ? `(${this.props.xunits})` : '')}\n style={{\n grid: this.styles.grid\n }}\n fixLabelOverlap={true}\n tickLabelComponent={<VictoryLabel angle={this.props.labelangle || 0} />} theme={this.state.theme}\n tickFormat={(d) => `${this.state.xaxisDatakeyArr.length ? this.state.xaxisDatakeyArr[d] : d}`}/>;\n }\n /* y axis with horizontal lines having grid stroke colors*/\n getYAxis() {\n if (this.props.showyaxis === false) {\n return null;\n }\n return <VictoryAxis crossAxis label={(this.props.yaxislabel || this.props.yaxisdatakey) + (this.props.yunits ? `(${this.props.yunits})` : '')}\n style={{\n axisLabel: {padding: this.props.yaxislabeldistance},\n grid: this.styles.grid\n }}\n theme={this.state.theme}\n tickFormat={(t) => `${this.abbreviateNumber(t)}`} dependentAxis />;\n }\n\n // X/Y Domain properties are supported only for Column and Area charts\n isAxisDomainSupported(type: string) {\n return type === 'Column'|| type === 'Area';\n }\n\n // Check whether X/Y Domain was set to Min and is supported for the present chart\n isAxisDomainValid(axis: string) {\n if (get(this.props, axis + 'domain') === 'Min' && (this.isAxisDomainSupported(this.props.type))) {\n return true;\n }\n return false;\n };\n\n// Check whether min and max values are finite or not\n areMinMaxValuesValid(values: any) {\n if (isFinite(values.min) && isFinite(values.max)) {\n return true;\n }\n return false;\n };\n\n setDomainValues() {\n let xDomainValues, yDomainValues;\n if (this.state.data.length > 0) {\n if (this.isAxisDomainValid('x') && typeof this.state.data[0].x === 'number') {\n xDomainValues = this.getXMinMaxValues(this.state.data[0]);\n }\n if (this.isAxisDomainValid('y')) {\n yDomainValues = this.getYMinMaxValues(this.state.data);\n }\n if (xDomainValues) {\n this.updateState({\n chartMinX: yDomainValues.min.x,\n chartMaxX: yDomainValues.max.x\n } as S)\n }\n let yMin;\n if (yDomainValues) {\n if (this.areMinMaxValuesValid({max: yDomainValues.max.y, min: yDomainValues.min.y})) {\n yMin = this.getYScaleMinValue(yDomainValues.min.y);\n }\n this.updateState({\n chartMinY: yMin ? yMin : yDomainValues.min.y,\n chartMaxY: yDomainValues.max.y\n } as S);\n }\n }\n }\n\n // Getting the min and max values among all the x values\n getXMinMaxValues(datum: Array<{x: number, y: any}>) {\n if (!datum) {\n return;\n }\n const xValues: any = {};\n /*\n compute the min x value\n eg: When data has objects\n input: [{x:1, y:2}, {x:2, y:3}, {x:3, y:4}]\n min x: 1\n eg: When data has arrays\n input: [[10, 20], [20, 30], [30, 40]];\n min x: 10\n */\n xValues.min = minBy(datum, (dataObject: {x: any, y: any}) => dataObject.x) || {x: undefined};\n /*\n compute the max x value\n eg: When data has objects\n input: [{x:1, y:2}, {x:2, y:3}, {x:3, y:4}]\n max x: 3\n eg: When data has arrays\n input: [[10, 20], [20, 30], [30, 40]];\n max x: 30\n */\n xValues.max = maxBy(datum, (dataObject: {x: any, y: any}) => dataObject.x)|| {x: undefined};\n return xValues;\n }\n\n // Getting the min and max values among all the y values\n getYMinMaxValues(datum: Array<Array<{x: any, y: number}>>) {\n const yValues: any = {},\n minValues: any = [],\n maxValues: any = [];\n if (!datum) {\n return;\n }\n\n /*\n Getting the min and max y values among all the series of data\n compute the min y value\n eg: When data has objects\n input: [[{x:1, y:2}, {x:2, y:3}, {x:3, y:4}], [{x:2, y:3}, {x:3, y:4}, {x:4, y:5}]]\n min y values : '2'(among first set) & '3'(among second set)\n max y values : '4'(among first set) & '5'(among second set)\n\n eg: When data has arrays\n input: [[[10, 20], [20, 30], [30, 40]], [[20, 30], [30, 40], [40, 50]]]\n min y values : '20'(among first set) & '30'(among second set)\n max y values : '40'(among first set) & '50'(among second set)\n */\n\n forEach(datum, data => {\n if (data && !isEmpty(data)) {\n minValues.push(minBy(data, (dataObject: {x: any, y: any}) => { return dataObject.y }));\n maxValues.push(maxBy(data, (dataObject: {x: any, y: any}) => { return dataObject.y }));\n }\n });\n // Gets the least and highest values among all the min and max values of respective series of data\n yValues.min = minBy(minValues, (dataObject: {x: any, y: any}) => dataObject.y) || {y: undefined};\n yValues.max = maxBy(maxValues, (dataObject: {x: any, y: any}) => dataObject.y) || {y: undefined};\n return yValues;\n }\n\n setHeightWidthOnChart(cb?: () => void) {\n let height = this.styles.root.height || 250;\n let width = this.styles.root.width || screenWidth;\n if (height && typeof height === 'string') {\n height = parseInt(height);\n }\n if (width && typeof width === 'string') {\n width = parseInt(width);\n }\n this.updateState({\n chartHeight: height,\n chartWidth: width\n } as S, cb);\n }\n\n applyTheme(props: BaseChartComponentProps) {\n let themeName = props.theme ? props.theme : (props.type === 'Pie' ? 'Azure' : 'Terrestrial');\n let colorsToUse = [];\n if (typeof props.customcolors === 'string' && !isEmpty(props.customcolors)) {\n colorsToUse = props.customcolors.split(',').map(trim);\n }\n let themeToUse;\n if (typeof themeName === 'string') {\n if (!colorsToUse.length) {\n colorsToUse = ThemeFactory.getColorsObj(themeName);\n }\n themeToUse = ThemeFactory.getTheme(themeName, this.props.styles, colorsToUse);\n } else if (typeof themeName === 'object') {\n // if theme is passed as an object then use that custom theme.\n themeToUse = props.theme;\n }\n this.updateState({\n colors: colorsToUse,\n theme: themeToUse\n } as S);\n }\n\n prepareLegendData() {\n if (this.state.yAxis) {\n let ldata = this.state.yAxis.map((d: string) => {\n return {\n name: d\n }\n });\n this.updateState({\n legendData: ldata\n } as S);\n }\n }\n\n prepareEvents(name: string) {\n return this.state.legendData.map((_: any, idx: number) => {\n return {\n childName: ['legend'],\n target: 'data',\n eventKey: String(idx),\n eventHandlers: {\n onClick: () => {\n return [\n {\n childName: [name + '_' + idx],\n target: 'data',\n eventKey: 'all',\n mutation: (props: any) => {\n return null;\n }\n }\n ];\n },\n onMouseOver: () => {\n },\n onMouseOut: () => {\n }\n }\n };\n });\n }\n\n // If date string is bound to xaxis then we are pushing the x values as indexes.\n getxAxisVal(dataObj: {[key: string] : any}, xKey: string, index: number, xaxisDatakeyArr: Array<any>) {\n const value: any = get(dataObj, xKey);\n if (moment(value, true).isValid() || isNaN(value)) {\n xaxisDatakeyArr.push(value);\n return index;\n }\n return value;\n }\n\n prepareDataItems(dataset: any) {\n let xaxis = this.props.xaxisdatakey;\n let yaxis = this.props.yaxisdatakey;\n let xaxisDatakeyArr: Array<any> = [];\n let datasets: any = [];\n\n if (xaxis && yaxis) {\n let yPts = yaxis.split(',');\n yPts.forEach((y: any) => {\n if (xaxis !== y) {\n datasets.push(dataset.map((o: {[key: string] : any}, xindex: number) => {\n const xVal = this.getxAxisVal(o, xaxis, xindex, xaxisDatakeyArr);\n let yVal: string | number = get(o, y);\n if (typeof yVal === 'string') {\n yVal = parseFloat(yVal) || yVal;\n }\n let dataObj = {\n x: xVal,\n y: yVal,\n };\n if (this.props.bubblesize) {\n set(dataObj, 'size', get(o, this.props.bubblesize, 5));\n }\n if (this.props.shape) {\n set(dataObj, 'symbol', shapes[this.props.shape]);\n }\n return dataObj;\n }));\n }\n });\n // chartTransform\n this.invokeEventCallback('onTransform', [undefined, this.proxy]);\n if (this.props.type == 'Pie' || this.props.type === 'Donut') {\n // for animation effect\n setTimeout(() => {\n this.updateState({\n endAngle: 360,\n } as S);\n }, 500);\n }\n this.updateData(datasets, yPts, xaxisDatakeyArr);\n }\n }\n\n\n protected renderLoadingIcon() {\n return (<WmIcon styles={this.styles.loadingIcon}\n iconclass={this.props.loadingicon}\n caption={this.props.loadingdatamsg}></WmIcon>);\n }\n\n updateData(datasets: any, yPts: any, xaxisDatakeyArr: Array<any>) {\n this.updateState({\n data: datasets as any,\n yAxis: yPts,\n xaxisDatakeyArr: xaxisDatakeyArr\n } as S, () => {\n this.prepareLegendData();\n if (!this.props.labeltype || this.props.labeltype === 'percent') {\n this.setTotal(this.state.data[0]);\n }\n if (this.isAxisDomainSupported(this.props.type) && (this.props.ydomain || this.props.xdomain)) {\n this.setDomainValues();\n }\n this.updateState({\n loading: false\n } as S);\n });\n }\n\n setTotal(data: Array<{x: any, y: number}>) {\n let total = 0;\n data.forEach((d: {x: any, y: any}) => {\n total += d.y as number;\n });\n this.updateState({\n total: total\n } as S);\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n let units = '';\n switch(name) {\n case 'customcolors':\n if (isEmpty($new)) {\n return;\n }\n if (typeof $new === 'string') {\n $new = $new.split(',');\n }\n this.updateState({\n colors: $new\n } as S);\n break;\n case 'theme':\n this.applyTheme(this.props);\n break;\n case 'dataset':\n if (!isArray($new)) {\n if (isObject($new) && !isEmpty($new)) {\n $new = [$new];\n } else {\n $new = [];\n }\n }\n $new && this.prepareDataItems($new);\n break;\n case 'xaxislabel':\n if (this.props.xunits) {\n units = ' (' + this.props.xunits + ')';\n }\n this.updateState({\n xLabel: $new + units\n } as S);\n break;\n case 'yaxislabel':\n if (this.props.yunits) {\n units = ' (' + this.props.yunits + ')';\n }\n this.updateState({\n yLabel: $new + units\n } as S);\n break;\n }\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,MAAM,MAAM,QAAQ;AAC3B,SAAQC,OAAO,EAAEC,GAAG,EAAEC,OAAO,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,KAAK,EAAEC,GAAG,EAAEC,IAAI,QAAO,WAAW;AAE3F,SAAQC,WAAW,EAAEC,aAAa,EAAEC,YAAY,QAAO,gBAAgB;AAEvE,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,YAAY,MAAO,8DAA8D;AAGxF,SAASC,aAAa,QAAiC,oBAAoB;AAE3E,OAAO,MAAMC,uBAAuB,SA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AAG,GAAG;QACxC;QACA,IAAI,CAACkC,WAAW,CAAC;UACfiF,MAAM,EAAEH,IAAI,GAAGE;QACjB,CAAM,CAAC;QACP;MACF,KAAK,YAAY;QACf,IAAI,IAAI,CAACnK,KAAK,CAAC8D,MAAM,EAAE;UACrBqG,KAAK,GAAG,IAAI,GAAG,IAAI,CAACnK,KAAK,CAAC8D,MAAM,GAAG,GAAG;QACxC;QACA,IAAI,CAACqB,WAAW,CAAC;UACfkF,MAAM,EAAEJ,IAAI,GAAGE;QACjB,CAAM,CAAC;QACP;IACJ;EACF;AACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class BaseChartComponentProps extends BaseProps {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
_defineProperty(this, "xaxisdatakey", '');
|
|
9
|
+
_defineProperty(this, "yaxisdatakey", '');
|
|
10
|
+
_defineProperty(this, "iconclass", '');
|
|
11
|
+
_defineProperty(this, "dataset", void 0);
|
|
12
|
+
_defineProperty(this, "type", '');
|
|
13
|
+
_defineProperty(this, "title", '');
|
|
14
|
+
_defineProperty(this, "subheading", '');
|
|
15
|
+
_defineProperty(this, "theme", '');
|
|
16
|
+
_defineProperty(this, "xaxislabel", '');
|
|
17
|
+
_defineProperty(this, "xunits", '');
|
|
18
|
+
_defineProperty(this, "staggerlabels", false);
|
|
19
|
+
_defineProperty(this, "yaxislabel", '');
|
|
20
|
+
_defineProperty(this, "yunits", '');
|
|
21
|
+
_defineProperty(this, "yaxislabeldistance", 50);
|
|
22
|
+
_defineProperty(this, "xaxislabeldistance", 30);
|
|
23
|
+
_defineProperty(this, "customcolors", '');
|
|
24
|
+
_defineProperty(this, "legendheight", 0);
|
|
25
|
+
_defineProperty(this, "labellegendheight", 0);
|
|
26
|
+
_defineProperty(this, "labeltype", 'percent');
|
|
27
|
+
_defineProperty(this, "bubblesize", '');
|
|
28
|
+
_defineProperty(this, "shape", '');
|
|
29
|
+
_defineProperty(this, "loadingicon", 'fa fa-circle-o-notch fa-pulse');
|
|
30
|
+
_defineProperty(this, "loadingdatamsg", 'Loading...');
|
|
31
|
+
_defineProperty(this, "nodatamessage", 'No data found');
|
|
32
|
+
_defineProperty(this, "offsetbottom", 50);
|
|
33
|
+
_defineProperty(this, "offsettop", 70);
|
|
34
|
+
_defineProperty(this, "offsetleft", 65);
|
|
35
|
+
_defineProperty(this, "offsetright", 25);
|
|
36
|
+
_defineProperty(this, "showlegend", 'top');
|
|
37
|
+
_defineProperty(this, "showlabels", 'outside');
|
|
38
|
+
_defineProperty(this, "tooltips", false);
|
|
39
|
+
_defineProperty(this, "interpolation", 'linear');
|
|
40
|
+
_defineProperty(this, "highlightpoints", false);
|
|
41
|
+
_defineProperty(this, "showvalues", false);
|
|
42
|
+
_defineProperty(this, "showyaxis", true);
|
|
43
|
+
_defineProperty(this, "showxaxis", true);
|
|
44
|
+
_defineProperty(this, "ydomain", '');
|
|
45
|
+
_defineProperty(this, "xdomain", '');
|
|
46
|
+
_defineProperty(this, "labelangle", 0);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=basechart.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","BaseChartComponentProps","constructor","arguments","_defineProperty"],"sources":["basechart.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class BaseChartComponentProps extends BaseProps {\n xaxisdatakey: string = '';\n yaxisdatakey: string = '';\n iconclass = '';\n dataset: any;\n type: string = '';\n title: string = '';\n subheading: string = '';\n theme: string = '';\n xaxislabel: string = '';\n xunits: string = '';\n staggerlabels: boolean = false;\n yaxislabel: string = '';\n yunits: string = '';\n yaxislabeldistance: number = 50;\n xaxislabeldistance: number = 30;\n customcolors: string | Array<string> = '';\n legendheight: number = 0;\n labellegendheight: number = 0;\n labeltype: 'percent' | 'value' | 'key-value' | 'key' = 'percent';\n bubblesize: string= '';\n shape: string = '';\n loadingicon='fa fa-circle-o-notch fa-pulse';\n loadingdatamsg = 'Loading...';\n nodatamessage = 'No data found';\n offsetbottom: number = 50;\n offsettop: number = 70;\n offsetleft: number = 65;\n offsetright: number = 25;\n showlegend: string = 'top';\n showlabels: 'inside' | 'outside' | 'hide' = 'outside';\n tooltips: boolean = false;\n interpolation: string = 'linear';\n highlightpoints: boolean = false;\n showvalues: boolean = false;\n showyaxis: boolean = true;\n showxaxis: boolean = true;\n ydomain: string = '';\n xdomain: string = '';\n labelangle: number = 0;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,uBAAuB,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,uBACtC,EAAE;IAAAA,eAAA,uBACF,EAAE;IAAAA,eAAA,oBACb,EAAE;IAAAA,eAAA;IAAAA,eAAA,eAEC,EAAE;IAAAA,eAAA,gBACD,EAAE;IAAAA,eAAA,qBACG,EAAE;IAAAA,eAAA,gBACP,EAAE;IAAAA,eAAA,qBACG,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,wBACM,KAAK;IAAAA,eAAA,qBACT,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,6BACU,EAAE;IAAAA,eAAA,6BACF,EAAE;IAAAA,eAAA,uBACQ,EAAE;IAAAA,eAAA,uBAClB,CAAC;IAAAA,eAAA,4BACI,CAAC;IAAAA,eAAA,oBAC0B,SAAS;IAAAA,eAAA,qBAC5C,EAAE;IAAAA,eAAA,gBACN,EAAE;IAAAA,eAAA,sBACN,+BAA+B;IAAAA,eAAA,yBAC1B,YAAY;IAAAA,eAAA,wBACb,eAAe;IAAAA,eAAA,uBACR,EAAE;IAAAA,eAAA,oBACL,EAAE;IAAAA,eAAA,qBACD,EAAE;IAAAA,eAAA,sBACD,EAAE;IAAAA,eAAA,qBACH,KAAK;IAAAA,eAAA,qBACkB,SAAS;IAAAA,eAAA,mBACjC,KAAK;IAAAA,eAAA,wBACD,QAAQ;IAAAA,eAAA,0BACL,KAAK;IAAAA,eAAA,qBACV,KAAK;IAAAA,eAAA,oBACN,IAAI;IAAAA,eAAA,oBACJ,IAAI;IAAAA,eAAA,kBACP,EAAE;IAAAA,eAAA,kBACF,EAAE;IAAAA,eAAA,qBACC,CAAC;EAAA;AACxB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
+
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
export const DEFAULT_CLASS = 'app-chart';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {},
|
|
7
|
+
text: {},
|
|
8
|
+
icon: {
|
|
9
|
+
icon: {
|
|
10
|
+
fontSize: 20
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
line: {
|
|
14
|
+
color: themeVariables.chartLineColor
|
|
15
|
+
},
|
|
16
|
+
title: {
|
|
17
|
+
color: themeVariables.chartTitleColor,
|
|
18
|
+
fontSize: 20,
|
|
19
|
+
lineHeight: 24
|
|
20
|
+
},
|
|
21
|
+
subHeading: {
|
|
22
|
+
fontSize: 12,
|
|
23
|
+
lineHeight: 16,
|
|
24
|
+
color: themeVariables.chartSubTitleColor
|
|
25
|
+
},
|
|
26
|
+
legendText: {},
|
|
27
|
+
legenedDot: {},
|
|
28
|
+
grid: {},
|
|
29
|
+
barChart: {}
|
|
30
|
+
});
|
|
31
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=basechart.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","icon","fontSize","line","color","chartLineColor","title","chartTitleColor","lineHeight","subHeading","chartSubTitleColor","legendText","legenedDot","grid","barChart"],"sources":["basechart.styles.ts"],"sourcesContent":["import { TextStyle, ViewStyle } from 'react-native';\nimport BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { VictoryStyleObject } from \"victory-core\";\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\n\n\nexport type BaseChartComponentStyles = BaseStyles & {\n title: TextStyle,\n icon: WmIconStyles,\n subHeading: TextStyle,\n grid: VictoryStyleObject,\n legendText: TextStyle,\n legenedDot: ViewStyle \n};\n\nexport const DEFAULT_CLASS = 'app-chart';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: BaseChartComponentStyles = defineStyles({\n root: {},\n text: {},\n icon: {\n icon: {\n fontSize: 20\n }\n } as WmIconStyles,\n line: {\n color: themeVariables.chartLineColor\n },\n title: {\n color: themeVariables.chartTitleColor,\n fontSize: 20,\n lineHeight: 24,\n },\n subHeading: {\n fontSize: 12,\n lineHeight: 16,\n color: themeVariables.chartSubTitleColor\n },\n legendText: {},\n legenedDot: {},\n grid: {},\n barChart: {}\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AACA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAcxF,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAuC,GAAGL,YAAY,CAAC;IAC3DM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE;MACJA,IAAI,EAAE;QACJC,QAAQ,EAAE;MACZ;IACF,CAAiB;IACjBC,IAAI,EAAE;MACJC,KAAK,EAAER,cAAc,CAACS;IACxB,CAAC;IACDC,KAAK,EAAE;MACLF,KAAK,EAAER,cAAc,CAACW,eAAe;MACrCL,QAAQ,EAAE,EAAE;MACZM,UAAU,EAAE;IACd,CAAC;IACDC,UAAU,EAAE;MACVP,QAAQ,EAAE,EAAE;MACZM,UAAU,EAAE,EAAE;MACdJ,KAAK,EAAER,cAAc,CAACc;IACxB,CAAC;IACDC,UAAU,EAAE,CAAC,CAAC;IACdC,UAAU,EAAE,CAAC,CAAC;IACdC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE,CAAC;EACb,CAAC,CAAC;EAEFjB,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","WmBubbleChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","VictoryChart","VictoryLegend","VictoryScatter","Svg","WmBubbleChartState","WmBubbleChart","constructor","props","renderWidget","_this$state$data","state","data","length","createElement","style","styles","root","theme","height","width","screenWidth","padding","top","offsettop","bottom","offsetbottom","left","offsetleft","right","offsetright","name","containerComponent","title","subheading","orientation","gutter","getLegendView","getXaxis","getYAxis","map","d","i","colorScale","colors","fill","opacity","_ref","datum","key","size"],"sources":["bubble-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport {Text, View} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmBubbleChartProps from './bubble-chart.props';\nimport { DEFAULT_CLASS, WmBubbleChartStyles } from './bubble-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport {VictoryAxis, VictoryChart, VictoryLegend, VictoryLine, VictoryScatter} from \"victory-native\";\nimport { ScatterSymbolType } from \"victory-core\";\nimport {Svg} from \"react-native-svg\";\nimport {get} from \"lodash-es\";\n\nexport class WmBubbleChartState extends BaseChartComponentState<WmBubbleChartProps> {}\n\nexport default class WmBubbleChart extends BaseChartComponent<WmBubbleChartProps, WmBubbleChartState, WmBubbleChartStyles> {\n\n constructor(props: WmBubbleChartProps) {\n super(props, DEFAULT_CLASS, new WmBubbleChartProps(), new WmBubbleChartState());\n }\n\n renderWidget(props: WmBubbleChartProps) {\n if (!this.state.data?.length) {\n return null;\n }\n return (<View\n style={this.styles.root}\n >\n <VictoryChart\n theme={this.state.theme}\n height={this.styles.root.height as number}\n width={this.styles.root.width as number || this.screenWidth}\n padding={{ top: props.offsettop, bottom: props.offsetbottom, left: props.offsetleft, right: props.offsetright }}\n >\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n title={[props.title, props.subheading]}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\n {this.state.data.map((d: any, i: number) => {\n return <VictoryScatter\n colorScale={this.state.colors}\n style={{\n data: { fill: this.state.colors[i], opacity: ({ datum }) => datum.opacity }\n }}\n key={props.name + '_bubble_' + i}\n name={props.name + '_bubble_' + i}\n data={d}\n size={5}\n />\n })}\n </VictoryChart></View>);\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAcC,IAAI,QAAO,cAAc;AAGvC,OAAOC,kBAAk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