@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 @@
|
|
|
1
|
+
{"version":3,"names":["WmBarChart","WmBarChartState","WmColumnChartState","WmColumnChart","constructor","props"],"sources":["column-chart.component.tsx"],"sourcesContent":["import React from 'react';\n\nimport WmColumnChartProps from './column-chart.props';\nimport WmBarChart, {WmBarChartState} from \"@wavemaker/app-rn-runtime/components/chart/bar-chart/bar-chart.component\";\n\nexport class WmColumnChartState extends WmBarChartState {}\n\nexport default class WmColumnChart extends WmBarChart {\n\n constructor(props: WmColumnChartProps) {\n super(props)\n }\n}\n"],"mappings":"AAGA,OAAOA,UAAU,IAAGC,eAAe,QAAO,0EAA0E;AAEpH,OAAO,MAAMC,kBAAkB,SAASD,eAAe,CAAC;AAExD,eAAe,MAAME,aAAa,SAASH,UAAU,CAAC;EAEpDI,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,CAAC;EACd;AACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["WmPieChart","WmDonutChart","constructor","props"],"sources":["donut-chart.component.tsx"],"sourcesContent":["import React from 'react';\n\nimport WmDonutChartProps from './donut-chart.props';\nimport WmPieChart from \"@wavemaker/app-rn-runtime/components/chart/pie-chart/pie-chart.component\";\n\n\nexport default class WmDonutChart extends WmPieChart {\n\n constructor(props: WmDonutChartProps) {\n super(props);\n }\n}\n"],"mappings":"AAGA,OAAOA,UAAU,MAAM,0EAA0E;AAGjG,eAAe,MAAMC,YAAY,SAASD,UAAU,CAAC;EAEnDE,WAAWA,CAACC,KAAwB,EAAE;IACpC,KAAK,CAACA,KAAK,CAAC;EACd;AACF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 WmPieChartProps from "@wavemaker/app-rn-runtime/components/chart/pie-chart/pie-chart.props";
|
|
5
|
+
export default class WmDonutChartProps extends WmPieChartProps {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
_defineProperty(this, "donutratio", 0.5);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=donut-chart.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["WmPieChartProps","WmDonutChartProps","constructor","arguments","_defineProperty"],"sources":["donut-chart.props.ts"],"sourcesContent":["import WmPieChartProps from \"@wavemaker/app-rn-runtime/components/chart/pie-chart/pie-chart.props\";\n\nexport default class WmDonutChartProps extends WmPieChartProps {\n donutratio: number = 0.5;\n}\n"],"mappings":";;;AAAA,OAAOA,eAAe,MAAM,sEAAsE;AAElG,eAAe,MAAMC,iBAAiB,SAASD,eAAe,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,qBACxC,GAAG;EAAA;AAC1B"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View, Text } from "react-native";
|
|
3
|
+
export const Legend = function (props) {
|
|
4
|
+
var _props$data;
|
|
5
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
6
|
+
style: [props.orientation === 'vertical' ? {
|
|
7
|
+
flexDirection: 'column',
|
|
8
|
+
justifyContent: 'center'
|
|
9
|
+
} : {
|
|
10
|
+
flexDirection: 'row',
|
|
11
|
+
justifyContent: 'center',
|
|
12
|
+
flexWrap: 'wrap'
|
|
13
|
+
}]
|
|
14
|
+
}, (_props$data = props.data) === null || _props$data === void 0 ? void 0 : _props$data.map(d => {
|
|
15
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
16
|
+
key: d.name,
|
|
17
|
+
style: {
|
|
18
|
+
flexDirection: 'row',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
padding: 4
|
|
21
|
+
}
|
|
22
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
23
|
+
style: [{
|
|
24
|
+
width: 12,
|
|
25
|
+
height: 12
|
|
26
|
+
}, props.dotStyle, {
|
|
27
|
+
backgroundColor: d.color
|
|
28
|
+
}]
|
|
29
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
30
|
+
style: [{
|
|
31
|
+
paddingLeft: 4
|
|
32
|
+
}, props.testStyle]
|
|
33
|
+
}, d.name));
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=legend.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","Legend","props","_props$data","createElement","style","orientation","flexDirection","justifyContent","flexWrap","data","map","d","key","name","alignItems","padding","width","height","dotStyle","backgroundColor","color","paddingLeft","testStyle"],"sources":["legend.component.tsx"],"sourcesContent":["import * as React from 'react';\nimport { TextStyle, View, Text, ViewStyle } from \"react-native\";\n\nexport interface LegendProps {\n data : [{\n name: string,\n color: string\n }];\n dotStyle?: ViewStyle;\n testStyle?: TextStyle;\n orientation?: 'vertical' | 'horizontal';\n}\n\nexport const Legend = function(props: LegendProps) {\n return (\n <View style={[\n props.orientation === 'vertical' ? {\n flexDirection: 'column',\n justifyContent: 'center'\n } : {\n flexDirection: 'row',\n justifyContent: 'center',\n flexWrap: 'wrap'\n }]}>\n {props.data?.map(d => {\n return (\n <View key={d.name} style={{\n flexDirection: 'row',\n alignItems: 'center',\n padding: 4}}>\n <View style={[{\n width: 12,\n height: 12\n }, props.dotStyle, {\n backgroundColor: d.color\n }]}></View>\n <Text style={[{ \n paddingLeft: 4\n }, props.testStyle]}>{d.name}</Text>\n </View>);\n })}\n </View>\n );\n};"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAAoBC,IAAI,EAAEC,IAAI,QAAmB,cAAc;AAY/D,OAAO,MAAMC,MAAM,GAAG,SAAAA,CAASC,KAAkB,EAAE;EAAA,IAAAC,WAAA;EAC/C,oBACIL,KAAA,CAAAM,aAAA,CAACL,IAAI;IAACM,KAAK,EAAE,CACbH,KAAK,CAACI,WAAW,KAAK,UAAU,GAAI;MAChCC,aAAa,EAAE,QAAQ;MACvBC,cAAc,EAAE;IACpB,CAAC,GAAG;MACAD,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,QAAQ;MACxBC,QAAQ,EAAE;IACd,CAAC;EAAE,IAAAN,WAAA,GACED,KAAK,CAACQ,IAAI,cAAAP,WAAA,uBAAVA,WAAA,CAAYQ,GAAG,CAACC,CAAC,IAAI;IAClB,oBACAd,KAAA,CAAAM,aAAA,CAACL,IAAI;MAACc,GAAG,EAAED,CAAC,CAACE,IAAK;MAACT,KAAK,EAAE;QACtBE,aAAa,EAAE,KAAK;QACpBQ,UAAU,EAAE,QAAQ;QACpBC,OAAO,EAAE;MAAC;IAAE,gBACZlB,KAAA,CAAAM,aAAA,CAACL,IAAI;MAACM,KAAK,EAAE,CAAC;QACVY,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE;MACZ,CAAC,EAAEhB,KAAK,CAACiB,QAAQ,EAAE;QACfC,eAAe,EAAER,CAAC,CAACS;MACvB,CAAC;IAAE,CAAO,CAAC,eACXvB,KAAA,CAAAM,aAAA,CAACJ,IAAI;MAACK,KAAK,EAAE,CAAC;QACViB,WAAW,EAAE;MACjB,CAAC,EAAEpB,KAAK,CAACqB,SAAS;IAAE,GAAEX,CAAC,CAACE,IAAW,CACjC,CAAC;EACX,CAAC,CACC,CAAC;AAEf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Svg","VictoryChart","VictoryLine","VictoryLegend","VictoryScatter","VictoryGroup","WmLineChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","ThemeVariables","WmLineChartState","WmLineChart","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","y","getLegendView","getXaxis","getYAxis","map","d","i","key","interpolation","standalone","stroke","colors","INSTANCE","chartLineColor","strokeWidth","linethickness","highlightpoints","size","fill","opacity"],"sources":["line-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { Svg } from 'react-native-svg';\n\nimport {\n VictoryChart,\n VictoryLine,\n VictoryLegend,\n VictoryScatter,\n VictoryGroup\n} from 'victory-native';\n\nimport WmLineChartProps from './line-chart.props';\nimport { DEFAULT_CLASS, WmLineChartStyles } from './line-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\nimport {InterpolationPropType} from \"victory-core\";\n\nexport class WmLineChartState extends BaseChartComponentState<WmLineChartProps> {}\n\nexport default class WmLineChart extends BaseChartComponent<WmLineChartProps, WmLineChartState, WmLineChartStyles> {\n\n constructor(props: WmLineChartProps) {\n super(props, DEFAULT_CLASS, new WmLineChartProps(), new WmLineChartState());\n }\n\n renderWidget(props: WmLineChartProps) {\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 y={0}\n />\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\n {\n this.state.data.map((d: any, i: number) => {\n return <VictoryGroup key={props.name + '_line_group_' + i}>\n <VictoryLine interpolation={props.interpolation as InterpolationPropType} key={props.name + '_line_' + i}\n name={props.name + '_line_' + i}\n standalone={true}\n style={{\n data: {\n stroke: (this.state.colors[i] || ThemeVariables.INSTANCE.chartLineColor),\n strokeWidth: props.linethickness}\n }}\n data={d}\n />\n {(props.highlightpoints || this.state.data.length === 1) ?\n <VictoryScatter size={5} key={props.name + '_scatter' + i}\n style={{\n data: { fill: this.state.colors[i], opacity: 0.8}\n }}\n data={d}\n />: null}</VictoryGroup>\n })\n }\n </VictoryChart>\n </View>);\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,GAAG,QAAQ,kBAAkB;AAEtC,SACEC,YAAY,EACZC,WAAW,EACXC,aAAa,EACbC,cAAc,EACdC,YAAY,QACP,gBAAgB;AAEvB,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,SAASC,aAAa,QAA2B,qBAAqB;AACtE,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,OAAOC,cAAc,MAAM,kDAAkD;AAG7E,OAAO,MAAMC,gBAAgB,SAASF,uBAAuB,CAAmB;AAEhF,eAAe,MAAMG,WAAW,SAASJ,kBAAkB,CAAwD;EAEjHK,WAAWA,CAACC,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIK,gBAAgB,CAAC,CAAC,CAAC;EAC7E;EAEAI,YAAYA,CAACD,KAAuB,EAAE;IAAA,IAAAE,gBAAA;IACpC,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,KAAK;MACzC,oBAAOnD,KAAA,CAAAsB,aAAA,CAACf,YAAY;QAAC6C,GAAG,EAAEpC,KAAK,CAACuB,IAAI,GAAG,cAAc,GAAGY;MAAE,gBACxDnD,KAAA,CAAAsB,aAAA,CAAClB,WAAW;QAACiD,aAAa,EAAErC,KAAK,CAACqC,aAAuC;QAAED,GAAG,EAAEpC,KAAK,CAACuB,IAAI,GAAG,QAAQ,GAAGY,CAAE;QACxFZ,IAAI,EAAEvB,KAAK,CAACuB,IAAI,GAAG,QAAQ,GAAGY,CAAE;QAChCG,UAAU,EAAE,IAAK;QACjB/B,KAAK,EAAE;UACLH,IAAI,EAAE;YACJmC,MAAM,EAAG,IAAI,CAACpC,KAAK,CAACqC,MAAM,CAACL,CAAC,CAAC,IAAIvC,cAAc,CAAC6C,QAAQ,CAACC,cAAe;YACxEC,WAAW,EAAE3C,KAAK,CAAC4C;UAAa;QACpC,CAAE;QACpBxC,IAAI,EAAE8B;MAAE,CACT,CAAC,EACAlC,KAAK,CAAC6C,eAAe,IAAI,IAAI,CAAC1C,KAAK,CAACC,IAAI,CAACC,MAAM,KAAK,CAAC,gBACrDrB,KAAA,CAAAsB,aAAA,CAAChB,cAAc;QAACwD,IAAI,EAAE,CAAE;QAACV,GAAG,EAAEpC,KAAK,CAACuB,IAAI,GAAG,UAAU,GAAGY,CAAE;QAC1C5B,KAAK,EAAE;UACLH,IAAI,EAAE;YAAE2C,IAAI,EAAE,IAAI,CAAC5C,KAAK,CAACqC,MAAM,CAACL,CAAC,CAAC;YAAEa,OAAO,EAAE;UAAG;QAClD,CAAE;QACF5C,IAAI,EAAE8B;MAAE,CACvB,CAAC,GAAE,IAAmB,CAAC;IAC5B,CAAC,CAES,CACR,CAAC;EACT;AACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseChartComponentProps","WmLineChartProps","constructor","arguments","_defineProperty"],"sources":["line-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\n\nexport default class WmLineChartProps extends BaseChartComponentProps {\n linethickness: number = 2;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAEhG,eAAe,MAAMC,gBAAgB,SAASD,uBAAuB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,wBAC5C,CAAC;EAAA;AAC3B"}
|
|
@@ -0,0 +1,191 @@
|
|
|
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 { View, Text } from 'react-native';
|
|
6
|
+
import { Svg } from 'react-native-svg';
|
|
7
|
+
import { VictoryLabel, VictoryPie } from 'victory-native';
|
|
8
|
+
import WmPieChartProps from './pie-chart.props';
|
|
9
|
+
import { DEFAULT_CLASS } from './pie-chart.styles';
|
|
10
|
+
import { formatCompactNumber } from '@wavemaker/app-rn-runtime/core/utils';
|
|
11
|
+
import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
|
|
12
|
+
import { BaseChartComponent, BaseChartComponentState } from '@wavemaker/app-rn-runtime/components/chart/basechart.component';
|
|
13
|
+
import WmDonutChartProps from '@wavemaker/app-rn-runtime/components/chart/donut-chart/donut-chart.props';
|
|
14
|
+
import { Legend } from '../legend/legend.component';
|
|
15
|
+
export class WmPieChartState extends BaseChartComponentState {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
_defineProperty(this, "chartWidth", 0);
|
|
19
|
+
_defineProperty(this, "totalHeight", 0);
|
|
20
|
+
_defineProperty(this, "infoHeight", 10);
|
|
21
|
+
_defineProperty(this, "legendWidth", 0);
|
|
22
|
+
_defineProperty(this, "legendHeight", 0);
|
|
23
|
+
_defineProperty(this, "opacity", 0);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export default class WmPieChart extends BaseChartComponent {
|
|
27
|
+
constructor(props) {
|
|
28
|
+
super(props, DEFAULT_CLASS, props.type === 'Donut' ? new WmDonutChartProps() : new WmPieChartProps(), new WmPieChartState());
|
|
29
|
+
_defineProperty(this, "onViewLayoutChange", e => {
|
|
30
|
+
var _e$nativeEvent;
|
|
31
|
+
let viewWidth = e.nativeEvent.layout.width;
|
|
32
|
+
this.updateState({
|
|
33
|
+
chartWidth: viewWidth,
|
|
34
|
+
totalHeight: (_e$nativeEvent = e.nativeEvent) === null || _e$nativeEvent === void 0 ? void 0 : _e$nativeEvent.layout.height
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
_defineProperty(this, "onInfoViewLayoutChange", e => {
|
|
38
|
+
var _e$nativeEvent2;
|
|
39
|
+
this.updateState({
|
|
40
|
+
infoHeight: (_e$nativeEvent2 = e.nativeEvent) === null || _e$nativeEvent2 === void 0 ? void 0 : _e$nativeEvent2.layout.height,
|
|
41
|
+
opacity: 1
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
_defineProperty(this, "onLegendViewLayoutChange", e => {
|
|
45
|
+
var _e$nativeEvent3, _e$nativeEvent4;
|
|
46
|
+
this.updateState({
|
|
47
|
+
legendWidth: (_e$nativeEvent3 = e.nativeEvent) === null || _e$nativeEvent3 === void 0 ? void 0 : _e$nativeEvent3.layout.width,
|
|
48
|
+
legendHeight: (_e$nativeEvent4 = e.nativeEvent) === null || _e$nativeEvent4 === void 0 ? void 0 : _e$nativeEvent4.layout.height
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
componentDidMount() {
|
|
53
|
+
super.componentDidMount();
|
|
54
|
+
}
|
|
55
|
+
getLabel(d, props) {
|
|
56
|
+
switch (props.labeltype) {
|
|
57
|
+
case 'percent':
|
|
58
|
+
{
|
|
59
|
+
return Math.round(d.y * 100 / this.state.total) + '%';
|
|
60
|
+
}
|
|
61
|
+
case 'key':
|
|
62
|
+
{
|
|
63
|
+
return this.state.xaxisDatakeyArr[d.x];
|
|
64
|
+
}
|
|
65
|
+
case 'value':
|
|
66
|
+
{
|
|
67
|
+
return formatCompactNumber(d.y);
|
|
68
|
+
}
|
|
69
|
+
case 'key-value':
|
|
70
|
+
{
|
|
71
|
+
return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
renderWidget(props) {
|
|
76
|
+
if (!this.state.data.length) {
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
const pieData = this.state.data[0];
|
|
80
|
+
const chartWidth = this.state.chartWidth - (props.showlegend === 'right' ? this.state.legendWidth : 0);
|
|
81
|
+
const chartHeight = (this.styles.root.height ? this.state.totalHeight : chartWidth) - this.state.infoHeight - (props.showlegend === 'right' ? 0 : this.state.legendHeight);
|
|
82
|
+
let radius = (Math.min(chartWidth, chartHeight) - 40) / 2;
|
|
83
|
+
let innerRadius = props.donutratio * radius;
|
|
84
|
+
let styleProp = {};
|
|
85
|
+
let labelRadius;
|
|
86
|
+
if (props.showlabels === 'hide') {
|
|
87
|
+
styleProp = {
|
|
88
|
+
labels: {
|
|
89
|
+
display: "none"
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
} else if (props.showlabels === 'inside') {
|
|
93
|
+
labelRadius = radius / 2;
|
|
94
|
+
} else {
|
|
95
|
+
labelRadius = radius + 8;
|
|
96
|
+
}
|
|
97
|
+
const origin = {
|
|
98
|
+
x: chartWidth / 2,
|
|
99
|
+
y: chartHeight / 2
|
|
100
|
+
};
|
|
101
|
+
const orientation = props.showlegend === 'right' ? 'vertical' : 'horizontal';
|
|
102
|
+
let legendData = pieData.map((d, index) => {
|
|
103
|
+
return {
|
|
104
|
+
name: this.state.xaxisDatakeyArr[d.x],
|
|
105
|
+
color: this.state.colors[index % this.state.colors.length]
|
|
106
|
+
};
|
|
107
|
+
});
|
|
108
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
109
|
+
style: [{
|
|
110
|
+
opacity: this.state.opacity
|
|
111
|
+
}, this.styles.root],
|
|
112
|
+
onLayout: this.onViewLayoutChange
|
|
113
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
114
|
+
onLayout: this.onInfoViewLayoutChange
|
|
115
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
116
|
+
style: {
|
|
117
|
+
flexDirection: 'row',
|
|
118
|
+
alignItems: 'center'
|
|
119
|
+
}
|
|
120
|
+
}, props.iconclass ? /*#__PURE__*/React.createElement(WmIcon, {
|
|
121
|
+
iconclass: props.iconclass,
|
|
122
|
+
styles: this.styles.icon
|
|
123
|
+
}) : null, /*#__PURE__*/React.createElement(Text, {
|
|
124
|
+
style: this.styles.title
|
|
125
|
+
}, props.title)), /*#__PURE__*/React.createElement(Text, {
|
|
126
|
+
style: this.styles.subHeading
|
|
127
|
+
}, props.subheading)), props.showlegend === 'top' ? /*#__PURE__*/React.createElement(View, {
|
|
128
|
+
onLayout: this.onLegendViewLayoutChange
|
|
129
|
+
}, /*#__PURE__*/React.createElement(Legend, {
|
|
130
|
+
data: legendData,
|
|
131
|
+
testStyle: this.styles.legendText,
|
|
132
|
+
dotStyle: this.styles.legenedDot
|
|
133
|
+
})) : null, /*#__PURE__*/React.createElement(View, {
|
|
134
|
+
style: {
|
|
135
|
+
flexDirection: 'row',
|
|
136
|
+
justifyContent: 'center',
|
|
137
|
+
alignItems: 'center'
|
|
138
|
+
}
|
|
139
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
140
|
+
style: {
|
|
141
|
+
flex: 1
|
|
142
|
+
}
|
|
143
|
+
}, chartWidth ? /*#__PURE__*/React.createElement(Svg, {
|
|
144
|
+
width: chartWidth,
|
|
145
|
+
height: chartHeight
|
|
146
|
+
}, /*#__PURE__*/React.createElement(VictoryPie, {
|
|
147
|
+
style: styleProp,
|
|
148
|
+
standalone: false,
|
|
149
|
+
colorScale: this.state.colors,
|
|
150
|
+
labels: _ref => {
|
|
151
|
+
let {
|
|
152
|
+
datum
|
|
153
|
+
} = _ref;
|
|
154
|
+
return this.getLabel(datum, props);
|
|
155
|
+
},
|
|
156
|
+
endAngle: this.state.endAngle || 0,
|
|
157
|
+
radius: radius,
|
|
158
|
+
innerRadius: innerRadius,
|
|
159
|
+
theme: this.state.theme,
|
|
160
|
+
key: props.name,
|
|
161
|
+
name: props.name,
|
|
162
|
+
data: pieData,
|
|
163
|
+
origin: origin,
|
|
164
|
+
labelPlacement: props.labelplacement,
|
|
165
|
+
labelRadius: labelRadius
|
|
166
|
+
}), /*#__PURE__*/React.createElement(VictoryLabel, {
|
|
167
|
+
textAnchor: "middle",
|
|
168
|
+
style: this.styles.title,
|
|
169
|
+
x: origin.x,
|
|
170
|
+
y: origin.y,
|
|
171
|
+
text: props.centerlabel
|
|
172
|
+
})) : null), props.showlegend === 'right' ? /*#__PURE__*/React.createElement(View, {
|
|
173
|
+
style: {
|
|
174
|
+
maxWidth: '50%'
|
|
175
|
+
},
|
|
176
|
+
onLayout: this.onLegendViewLayoutChange
|
|
177
|
+
}, /*#__PURE__*/React.createElement(Legend, {
|
|
178
|
+
data: legendData,
|
|
179
|
+
testStyle: this.styles.legendText,
|
|
180
|
+
dotStyle: this.styles.legenedDot,
|
|
181
|
+
orientation: "vertical"
|
|
182
|
+
})) : null), props.showlegend === 'bottom' ? /*#__PURE__*/React.createElement(View, {
|
|
183
|
+
onLayout: this.onLegendViewLayoutChange
|
|
184
|
+
}, /*#__PURE__*/React.createElement(Legend, {
|
|
185
|
+
data: legendData,
|
|
186
|
+
testStyle: this.styles.legendText,
|
|
187
|
+
dotStyle: this.styles.legenedDot
|
|
188
|
+
})) : null);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
//# sourceMappingURL=pie-chart.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","Svg","VictoryLabel","VictoryPie","WmPieChartProps","DEFAULT_CLASS","formatCompactNumber","WmIcon","BaseChartComponent","BaseChartComponentState","WmDonutChartProps","Legend","WmPieChartState","constructor","arguments","_defineProperty","WmPieChart","props","type","e","_e$nativeEvent","viewWidth","nativeEvent","layout","width","updateState","chartWidth","totalHeight","height","_e$nativeEvent2","infoHeight","opacity","_e$nativeEvent3","_e$nativeEvent4","legendWidth","legendHeight","componentDidMount","getLabel","d","labeltype","Math","round","y","state","total","xaxisDatakeyArr","x","renderWidget","data","length","pieData","showlegend","chartHeight","styles","root","radius","min","innerRadius","donutratio","styleProp","labelRadius","showlabels","labels","display","origin","orientation","legendData","map","index","name","color","colors","createElement","style","onLayout","onViewLayoutChange","onInfoViewLayoutChange","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","onLegendViewLayoutChange","testStyle","legendText","dotStyle","legenedDot","justifyContent","flex","standalone","colorScale","_ref","datum","endAngle","theme","key","labelPlacement","labelplacement","textAnchor","text","centerlabel","maxWidth"],"sources":["pie-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, Text } from 'react-native';\nimport { Svg } from 'react-native-svg';\n\nimport { VictoryLabel, VictoryLegend, VictoryPie } from 'victory-native';\n\nimport WmPieChartProps from './pie-chart.props';\nimport { DEFAULT_CLASS, WmPieChartStyles } from './pie-chart.styles';\n\nimport { formatCompactNumber } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from '@wavemaker/app-rn-runtime/components/chart/basechart.component';\nimport WmDonutChartProps from '@wavemaker/app-rn-runtime/components/chart/donut-chart/donut-chart.props';\nimport { Legend } from '../legend/legend.component';\n\nexport class WmPieChartState extends BaseChartComponentState<WmPieChartProps> {\n chartWidth = 0;\n totalHeight = 0;\n infoHeight = 10;\n legendWidth = 0;\n legendHeight = 0;\n opacity = 0;\n}\n\nexport default class WmPieChart extends BaseChartComponent<WmPieChartProps, WmPieChartState, WmPieChartStyles> {\n\n constructor(props: WmPieChartProps) {\n super(props, DEFAULT_CLASS, props.type === 'Donut' ? new WmDonutChartProps() : new WmPieChartProps(), new WmPieChartState());\n }\n\n componentDidMount() {\n super.componentDidMount();\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let viewWidth = e.nativeEvent.layout.width;\n this.updateState({\n chartWidth: viewWidth,\n totalHeight: e.nativeEvent?.layout.height\n } as WmPieChartState)\n }\n\n onInfoViewLayoutChange = (e: LayoutChangeEvent) => {\n this.updateState({\n infoHeight: e.nativeEvent?.layout.height,\n opacity: 1\n } as WmPieChartState);\n }\n\n onLegendViewLayoutChange = (e: LayoutChangeEvent) => {\n this.updateState({\n legendWidth: e.nativeEvent?.layout.width,\n legendHeight: e.nativeEvent?.layout.height\n } as WmPieChartState);\n }\n\n getLabel(d: {x: any, y: any}, props: WmPieChartProps): string {\n switch(props.labeltype) {\n case 'percent': {\n return Math.round(d.y * 100 /this.state.total) + '%';\n }\n case 'key': {\n return this.state.xaxisDatakeyArr[d.x];\n }\n case 'value': {\n return formatCompactNumber(d.y);\n }\n case 'key-value': {\n return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;\n }\n }\n }\n\n renderWidget(props: WmPieChartProps) {\n if (!this.state.data.length) {\n return null;\n }\n const pieData = this.state.data[0];\n const chartWidth = this.state.chartWidth \n - (props.showlegend === 'right' ? this.state.legendWidth : 0);\n const chartHeight = (this.styles.root.height ? this.state.totalHeight : chartWidth) \n - this.state.infoHeight \n - (props.showlegend === 'right' ? 0 : this.state.legendHeight);\n let radius = (Math.min(chartWidth, chartHeight) - 40)/ 2;\n let innerRadius = props.donutratio * radius;\n let styleProp = {};\n let labelRadius;\n if (props.showlabels === 'hide') {\n styleProp={labels: { display: \"none\" }};\n } else if (props.showlabels === 'inside') {\n labelRadius = radius/2;\n } else {\n labelRadius = radius + 8;\n }\n const origin = {x: (chartWidth/2), y: (chartHeight/2)};\n const orientation = props.showlegend === 'right' ? 'vertical' : 'horizontal';\n let legendData = pieData.map((d: {x: any, y: any}, index: number) => {\n return {\n name: this.state.xaxisDatakeyArr[d.x],\n color: this.state.colors[index % (this.state.colors.length)]\n };\n });\n return (\n <View style={[{opacity: this.state.opacity}, this.styles.root]}\n onLayout={this.onViewLayoutChange}>\n <View onLayout={this.onInfoViewLayoutChange}>\n <View style={{flexDirection: 'row', alignItems: 'center'}}>\n {props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n <Text style={this.styles.title}>{props.title}</Text>\n </View>\n <Text style={this.styles.subHeading}>{props.subheading}</Text>\n </View>\n {props.showlegend === 'top' ? \n (<View onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}></Legend>\n </View>) : null }\n <View style={{flexDirection: 'row', justifyContent: 'center', alignItems: 'center'}}>\n <View style={{flex: 1}}>\n {chartWidth ? (\n <Svg\n width={chartWidth}\n height={chartHeight}\n >\n <VictoryPie\n style={styleProp}\n standalone={false}\n colorScale={this.state.colors}\n labels={({datum}) => this.getLabel(datum, props)}\n endAngle={this.state.endAngle || 0}\n radius={radius}\n innerRadius={innerRadius}\n theme={this.state.theme}\n key={props.name}\n name={props.name}\n data={pieData}\n origin={origin}\n labelPlacement={props.labelplacement}\n labelRadius={labelRadius}\n />\n <VictoryLabel\n textAnchor=\"middle\"\n style={this.styles.title as any}\n x={origin.x} y={origin.y}\n text={props.centerlabel}\n />\n </Svg>) : null}\n </View>\n {props.showlegend === 'right' ? \n (<View style={{maxWidth: '50%'}} onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}\n orientation='vertical'></Legend>\n </View>) : null }\n </View>\n {props.showlegend === 'bottom' ? \n (<View onLayout={this.onLegendViewLayoutChange}>\n <Legend data={legendData}\n testStyle={this.styles.legendText}\n dotStyle={this.styles.legenedDot}></Legend>\n </View>) : null }\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC5D,SAASC,GAAG,QAAQ,kBAAkB;AAEtC,SAASC,YAAY,EAAiBC,UAAU,QAAQ,gBAAgB;AAExE,OAAOC,eAAe,MAAM,mBAAmB;AAC/C,SAASC,aAAa,QAA0B,oBAAoB;AAEpE,SAASC,mBAAmB,QAAQ,sCAAsC;AAC1E,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,OAAOC,iBAAiB,MAAM,0EAA0E;AACxG,SAASC,MAAM,QAAQ,4BAA4B;AAEnD,OAAO,MAAMC,eAAe,SAASH,uBAAuB,CAAkB;EAAAI,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,qBAC/D,CAAC;IAAAA,eAAA,sBACA,CAAC;IAAAA,eAAA,qBACF,EAAE;IAAAA,eAAA,sBACD,CAAC;IAAAA,eAAA,uBACA,CAAC;IAAAA,eAAA,kBACN,CAAC;EAAA;AACb;AAEA,eAAe,MAAMC,UAAU,SAASR,kBAAkB,CAAqD;EAE7GK,WAAWA,CAACI,KAAsB,EAAE;IAClC,KAAK,CAACA,KAAK,EAAEZ,aAAa,EAAEY,KAAK,CAACC,IAAI,KAAK,OAAO,GAAG,IAAIR,iBAAiB,CAAC,CAAC,GAAG,IAAIN,eAAe,CAAC,CAAC,EAAE,IAAIQ,eAAe,CAAC,CAAC,CAAC;IAACG,eAAA,6BAOzGI,CAAoB,IAAK;MAAA,I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,KAAA,CAAA0E,aAAA,CAACzE,IAAI;MAAC2E,QAAQ,EAAE,IAAI,CAACU;IAAyB,gBAC7CtF,KAAA,CAAA0E,aAAA,CAAC7D,MAAM;MAACqC,IAAI,EAAEkB,UAAW;MACvBmB,SAAS,EAAE,IAAI,CAAChC,MAAM,CAACiC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAAClC,MAAM,CAACmC;IAAW,CAAS,CACxC,CAAC,GAAI,IACT,CAAC;EAEX;AACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';
|
|
5
|
+
export default class WmPieChartProps extends BaseChartComponentProps {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
_defineProperty(this, "donutratio", 0);
|
|
9
|
+
_defineProperty(this, "labelplacement", 'vertical');
|
|
10
|
+
_defineProperty(this, "centerlabel", '');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=pie-chart.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseChartComponentProps","WmPieChartProps","constructor","arguments","_defineProperty"],"sources":["pie-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';\nimport { VictorySliceLabelPlacementType } from 'victory-pie';\n\nexport default class WmPieChartProps extends BaseChartComponentProps {\n donutratio: number = 0;\n labelplacement: VictorySliceLabelPlacementType = 'vertical';\n centerlabel = '';\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAGhG,eAAe,MAAMC,eAAe,SAASD,uBAAuB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,qBAC9C,CAAC;IAAAA,eAAA,yBAC2B,UAAU;IAAAA,eAAA,sBAC7C,EAAE;EAAA;AAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["assign","ThemeVariables","themes","colors","tooltip","ThemeFactory","getColorsObj","themeName","getTheme","name","styles","customColors","colorsToUse","c1","c2","c3","c4","c5","c6","c7","c8","c9","c10","length","gridColor","textColorFromProps","text","color","sansSerif","letterSpacing","fontSize","padding","baseProps","width","height","baseLabelStyles","fontFamily","fill","INSTANCE","defaultTextColor","stroke","strokeWidth","centeredLabelStyles","textAnchor","strokeDasharray","strokeLinecap","strokeLinejoin","baseChartTheme","area","style","data","fillOpacity","labels","axis","chartAxisColor","axisLabel","grid","pointerEvents","ticks","size","chartAxisPointColor","tickLabels","polarDependentAxis","bar","boxplot","max","maxLabels","median","medianLabels","min","minLabels","q1","q1Labels","q3","q3Labels","boxWidth","candlestick","candleColors","positive","negative","chart","errorbar","borderWidth","opacity","group","colorScale","histogram","legend","gutter","orientation","titleOrientation","type","border","title","heading4FontSize","line","pie","scatter","stack","flyoutStyle","flyoutPadding","cornerRadius","pointerLength","voronoi","flyout"],"sources":["chart.theme.ts"],"sourcesContent":["import { assign } from \"lodash\";\nimport { VictoryThemeDefinition } from \"victory-core\";\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\n\nconst themes: {[key:string]: any} = {\n 'Terrestrial': {\n colors: ['#1f77b4', '#aec7e8', '#ff7f0e', '#ffbb78', '#2ca02c', '#98df8a', '#d62728', '#ff9896', '#9467bd', '#c5b0d5', '#8c564b', '#c49c94', '#e377c2', '#f7b6d2', '#7f7f7f', '#c7c7c7', '#bcbd22', '#dbdb8d', '#17becf', '#9edae5', '#ccc'],\n tooltip: {\n 'backgroundColor': '#de7d28',\n 'textColor': '#FFFFFF'\n }\n },\n 'Annabelle': {\n colors: ['#393b79', '#5254a3', '#6b6ecf', '#9c9ede', '#637939', '#8ca252', '#b5cf6b', '#cedb9c', '#8c6d31', '#bd9e39', '#e7ba52', '#e7cb94', '#843c39', '#ad494a', '#d6616b', '#e7969c', '#7b4173', '#a55194', '#ce6dbd', '#de9ed6', '#ccc'],\n tooltip: {\n 'backgroundColor': '#2e306f',\n 'textColor': '#FFFFFF'\n }\n },\n 'Azure': {\n colors: ['#3182bd', '#6baed6', '#9ecae1', '#c6dbef', '#e6550d', '#fd8d3c', '#fdae6b', '#fdd0a2', '#31a354', '#74c476', '#a1d99b', '#c7e9c0', '#756bb1', '#9e9ac8', '#bcbddc', '#dadaeb', '#636363', '#969696', '#bdbdbd', '#d9d9d9', '#ccc'],\n tooltip: {\n 'backgroundColor': '#3182bd',\n 'textColor': '#FFFFFF'\n }\n },\n 'Retro': {\n colors: ['#0ca7a1', '#ffa615', '#334957', '#acc5c2', '#988f90', '#8accc9', '#515151', '#f27861', '#36c9fd', '#794668', '#0f709d', '#0d2738', '#44be78', '#4a1839', '#6a393f', '#557d8b', '#6c331c', '#1c1c1c', '#861500', '#09562a', '#ccc'],\n tooltip: {\n 'backgroundColor': '#80513a',\n 'textColor': '#FFFFFF'\n }\n },\n 'Mellow': {\n colors: ['#f0dcbf', '#88c877', '#aeb918', '#2e2c23', '#ddddd2', '#dfe956', '#4c963b', '#5d3801', '#e1eec3', '#cd8472', '#fcfab3', '#9a4635', '#9295ad', '#2e3f12', '#565677', '#557d8b', '#4f4d02', '#0c0c1b', '#833324', '#24120e', '#ccc'],\n tooltip: {\n 'backgroundColor': '#7c9e73',\n 'textColor': '#FFFFFF'\n }\n },\n 'Orient': {\n colors: ['#a80000', '#cc6c3c', '#f0e400', '#000084', '#fccc6c', '#009c6c', '#cc309c', '#78cc00', '#fc84e4', '#48e4fc', '#4878d8', '#186c0c', '#606060', '#a8a8a8', '#000000', '#d7d7d7', '#75a06e', '#190d0b', '#888888', '#694b84', '#ccc'],\n tooltip: {\n 'backgroundColor': '#c14242',\n 'textColor': '#FFFFFF'\n }\n },\n 'GrayScale': {\n colors: ['#141414', '#353535', '#5b5b5b', '#848484', '#a8a8a8', '#c3c3c3', '#e0e0e0', '#c8c8c8', '#a5a5a5', '#878787', '#656565', '#4e4e4e', '#303030', '#1c1c1c', '#4f4f4f', '#3b3b3b', '#757575', '#606060', '#868686', '#c1c1c1', '#ccc'],\n tooltip: {\n 'backgroundColor': '#575757',\n 'textColor': '#FFFFFF'\n }\n },\n 'Flyer': {\n colors: ['#3f454c', '#5a646e', '#848778', '#cededf', '#74c4dd', '#0946ed', '#380bb1', '#000ff0', '#f54a23', '#1db262', '#bca3aa', '#ffa500', '#a86b32', '#63a18c', '#56795e', '#934343', '#b75f5f', '#752d2d', '#4e1111', '#920606', '#ccc'],\n tooltip: {\n 'backgroundColor': '#47637c',\n 'textColor': '#FFFFFF'\n }\n },\n 'Luminosity': {\n colors: ['#FFFFFF', '#e4e4e4', '#00bcd4', '#f0dd2f', '#00aabf', '#018376', '#e91e63', '#39e5d4', '#ff6d6d', '#00ff76', '#ff9800', '#969696', '#ff4200', '#e00000', '#95cbe5', '#5331ff', '#fff4a7', '#e7a800', '#0061e4', '#d5e7ff', '#ccc'],\n tooltip: {\n 'backgroundColor': '#47637c',\n 'textColor': '#FFFFFF'\n }\n }\n}\n\nclass ThemeFactory {\n getColorsObj(themeName: string) {\n return themes[themeName].colors;\n }\n\n getTheme(name: string, styles?: any, customColors?: Array<string>) {\n const colorsToUse = this.getColorsObj(name);\n const [c1, c2, c3, c4, c5, c6, c7, c8, c9, c10] = colorsToUse;\n let colors = [\n c1,\n c2,\n c3,\n c4,\n c5,\n c6,\n ];\n if (customColors && customColors.length) {\n colors = customColors;\n }\n const gridColor = colorsToUse[colorsToUse.length - 1];\n let textColorFromProps;\n if (styles) {\n textColorFromProps = styles.text.color;\n }\n\n // Typography\n const sansSerif = \"'Helvetica Neue', 'Helvetica', sans-serif\";\n const letterSpacing = \"normal\";\n const fontSize = 12;\n\n // Layout\n const padding = 8;\n const baseProps = {\n width: 250,\n height: 250,\n padding: 50,\n };\n\n // Labels\n const baseLabelStyles = {\n fontFamily: sansSerif,\n fontSize,\n letterSpacing,\n padding,\n fill: textColorFromProps || ThemeVariables.INSTANCE.defaultTextColor,\n stroke: \"transparent\",\n strokeWidth: 0,\n };\n\n const centeredLabelStyles = assign({ textAnchor: \"middle\" }, baseLabelStyles);\n\n // Strokes\n const strokeDasharray = \"10, 5\";\n const strokeLinecap = \"round\";\n const strokeLinejoin = \"round\";\n\n const baseChartTheme: VictoryThemeDefinition = {\n area: assign(\n {\n style: {\n data: {\n fill: c1,\n fillOpacity: 0.9\n },\n labels: baseLabelStyles,\n },\n },\n baseProps,\n ),\n axis: assign(\n {\n style: {\n axis: {\n fill: \"transparent\",\n stroke: textColorFromProps || ThemeVariables.INSTANCE.chartAxisColor,\n strokeWidth: 2,\n strokeLinecap,\n strokeLinejoin,\n },\n axisLabel: assign({}, centeredLabelStyles, {\n padding: 30,\n stroke: \"transparent\",\n fontSize: 15\n }),\n grid: {\n fill: \"none\",\n stroke: gridColor,\n strokeDasharray,\n strokeLinecap,\n strokeLinejoin,\n pointerEvents: \"painted\",\n },\n ticks: {\n fill: \"transparent\",\n size: 5,\n stroke: ThemeVariables.INSTANCE.chartAxisPointColor,\n strokeWidth: 1,\n strokeLinecap,\n strokeLinejoin,\n },\n tickLabels: assign({}, baseLabelStyles, {\n fill: textColorFromProps || ThemeVariables.INSTANCE.defaultTextColor,\n }),\n },\n },\n baseProps,\n ),\n polarDependentAxis: assign({\n style: {\n ticks: {\n fill: \"transparent\",\n size: 1,\n stroke: \"transparent\",\n },\n },\n }),\n bar: assign(\n {\n style: {\n data: {\n fill: c1,\n padding,\n strokeWidth: 0,\n },\n labels: baseLabelStyles,\n },\n },\n baseProps,\n ),\n boxplot: assign(\n {\n style: {\n max: { padding, stroke: c9, strokeWidth: 1 },\n maxLabels: assign({}, baseLabelStyles, { padding: 3 }),\n median: { padding, stroke: c9, strokeWidth: 1 },\n medianLabels: assign({}, baseLabelStyles, { padding: 3 }),\n min: { padding, stroke: c9, strokeWidth: 1 },\n minLabels: assign({}, baseLabelStyles, { padding: 3 }),\n q1: { padding, fill: c9 },\n q1Labels: assign({}, baseLabelStyles, { padding: 3 }),\n q3: { padding, fill: c9 },\n q3Labels: assign({}, baseLabelStyles, { padding: 3 }),\n },\n boxWidth: 20,\n },\n baseProps,\n ),\n candlestick: assign(\n {\n style: {\n data: {\n stroke: c9,\n },\n labels: assign({}, baseLabelStyles, { padding: 5 }),\n },\n candleColors: {\n positive: \"#ffffff\",\n negative: c9,\n },\n },\n baseProps,\n ),\n chart: baseProps,\n errorbar: assign(\n {\n borderWidth: 8,\n style: {\n data: {\n fill: \"transparent\",\n opacity: 1,\n stroke: c9,\n strokeWidth: 2,\n },\n labels: baseLabelStyles,\n },\n },\n baseProps,\n ),\n group: assign(\n {\n colorScale: colors,\n },\n baseProps,\n ),\n histogram: assign(\n {\n style: {\n data: {\n fill: c9,\n stroke: c10,\n strokeWidth: 2,\n },\n labels: baseLabelStyles,\n },\n },\n baseProps,\n ),\n legend: {\n colorScale: colors,\n gutter: 10,\n orientation: \"vertical\",\n titleOrientation: \"top\",\n style: {\n data: {\n type: \"circle\",\n },\n border: { stroke: 'none' }, // ThemeVariables.INSTANCE.chartLegendBorder\n labels: baseLabelStyles,\n title: assign({}, baseLabelStyles, { padding: 5, fontSize: ThemeVariables.INSTANCE.heading4FontSize }),\n },\n },\n line: assign(\n {\n style: {\n data: {\n fill: \"transparent\",\n opacity: 1,\n stroke: c1,\n strokeWidth: 2,\n },\n labels: baseLabelStyles,\n },\n },\n baseProps,\n ),\n pie: assign(\n {\n colorScale: colors,\n style: {\n data: {\n padding,\n stroke: '#ffffff',\n strokeWidth: 1,\n },\n labels: assign({}, baseLabelStyles, { padding: 20 }),\n },\n },\n baseProps,\n ),\n scatter: assign(\n {\n style: {\n data: {\n fill: c1,\n opacity: 1,\n stroke: \"transparent\",\n strokeWidth: 1,\n },\n labels: baseLabelStyles,\n },\n },\n baseProps,\n ),\n stack: assign(\n {\n colorScale: colors,\n },\n baseProps,\n ),\n tooltip: {\n style: assign({}, baseLabelStyles, { padding: 0, pointerEvents: \"none\" }),\n flyoutStyle: {\n stroke: c10,\n strokeWidth: 1,\n fill: \"#f0f0f0\",\n pointerEvents: \"none\",\n },\n flyoutPadding: 5,\n cornerRadius: 5,\n pointerLength: 10,\n },\n voronoi: assign(\n {\n style: {\n data: {\n fill: \"transparent\",\n stroke: \"transparent\",\n strokeWidth: 0,\n },\n labels: assign({}, baseLabelStyles, {\n padding: 5,\n pointerEvents: \"none\",\n }),\n flyout: {\n stroke: c10,\n strokeWidth: 1,\n fill: \"#f0f0f0\",\n pointerEvents: \"none\",\n },\n },\n },\n baseProps,\n ),\n };\n return baseChartTheme;\n }\n}\n\nexport default new ThemeFactory();\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAE/B,OAAOC,cAAc,MAAM,kDAAkD;AAE7E,MAAMC,MAA2B,GAAG;EAClC,aAAa,EAAE;IACbC,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC;IAC5OC,OAAO,EAAE;MACP,iBAAiB,EAAE,SAAS;MAC5B,WAAW,EAAE;IACf;EACF,CAAC;EACD,WAAW,EAAE;IACXD,MAA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B,SACF;IACF,CAAC;IACD,OAAOe,cAAc;EACvB;AACF;AAEA,eAAe,IAAI1C,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,138 @@
|
|
|
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 { Text, TouchableOpacity, View } from 'react-native';
|
|
6
|
+
import { Badge } from 'react-native-paper';
|
|
7
|
+
import { isArray } from 'lodash';
|
|
8
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
9
|
+
import WmAccordionProps from './accordion.props';
|
|
10
|
+
import { DEFAULT_CLASS } from './accordion.styles';
|
|
11
|
+
import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
|
|
12
|
+
import { isDefined } from '@wavemaker/app-rn-runtime/core/utils';
|
|
13
|
+
export class WmAccordionState extends BaseComponentState {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
_defineProperty(this, "lastExpandedIndex", -1);
|
|
17
|
+
_defineProperty(this, "isExpanded", []);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export default class WmAccordion extends BaseComponent {
|
|
21
|
+
constructor(props) {
|
|
22
|
+
super(props, DEFAULT_CLASS, new WmAccordionProps(), new WmAccordionState());
|
|
23
|
+
_defineProperty(this, "accordionPanes", []);
|
|
24
|
+
_defineProperty(this, "newIndex", 0);
|
|
25
|
+
}
|
|
26
|
+
addAccordionPane(accordionPane) {
|
|
27
|
+
const i = this.accordionPanes.findIndex(t => t.props.name === accordionPane.props.name);
|
|
28
|
+
if (i >= 0) {
|
|
29
|
+
this.accordionPanes[i] = accordionPane;
|
|
30
|
+
} else {
|
|
31
|
+
this.accordionPanes[this.newIndex++] = accordionPane;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
expand(accordionName) {
|
|
35
|
+
const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);
|
|
36
|
+
this.toggle(i + 1, true);
|
|
37
|
+
}
|
|
38
|
+
collapse(accordionName) {
|
|
39
|
+
const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);
|
|
40
|
+
this.toggle(i + 1, false);
|
|
41
|
+
}
|
|
42
|
+
expandCollapseIcon(item) {
|
|
43
|
+
let showBadge = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
44
|
+
let showIcon = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
45
|
+
let useChevron = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
|
46
|
+
let isExpanded = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
47
|
+
const widgetProps = item.props;
|
|
48
|
+
//@ts-ignore
|
|
49
|
+
const badge = showBadge && widgetProps.badgevalue != undefined ? /*#__PURE__*/React.createElement(Badge, {
|
|
50
|
+
style: [this.styles.badge, isExpanded ? this.styles.activeBadge : null, this.styles[widgetProps.badgetype || 'default']]
|
|
51
|
+
}, widgetProps.badgevalue) : null;
|
|
52
|
+
let iconclass = null;
|
|
53
|
+
if (useChevron) {
|
|
54
|
+
iconclass = isExpanded ? 'wi wi-chevron-down' : 'wi wi-chevron-up';
|
|
55
|
+
} else {
|
|
56
|
+
iconclass = isExpanded ? 'wi wi-minus' : 'wi wi-plus';
|
|
57
|
+
}
|
|
58
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
59
|
+
style: {
|
|
60
|
+
flexDirection: 'row'
|
|
61
|
+
}
|
|
62
|
+
}, badge, showIcon ? /*#__PURE__*/React.createElement(WmIcon, {
|
|
63
|
+
styles: this.theme.mergeStyle({}, this.styles.icon, isExpanded ? this.styles.activeIcon : null),
|
|
64
|
+
name: 'expand_collapse_icon',
|
|
65
|
+
iconclass: iconclass
|
|
66
|
+
}) : null);
|
|
67
|
+
}
|
|
68
|
+
renderAccordionpane(item, index) {
|
|
69
|
+
let accordionpanes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
70
|
+
const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;
|
|
71
|
+
const isExpanded = this.state.isExpanded[index];
|
|
72
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
73
|
+
style: this.styles.pane,
|
|
74
|
+
key: item.props.name
|
|
75
|
+
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
76
|
+
key: 'accordionpane_' + (index + 1),
|
|
77
|
+
style: [this.styles.header, index === 0 ? this.styles.firstHeader : null, index === accordionpanes.length - 1 && !isExpanded ? this.styles.lastHeader : null, isExpanded ? this.styles.activeHeader : {}],
|
|
78
|
+
onPress: this.toggle.bind(this, index + 1, !isExpanded)
|
|
79
|
+
}, this.expandCollapseIcon(item, false, showIconOnLeft, true, isExpanded), item.props.iconclass ? /*#__PURE__*/React.createElement(WmIcon, {
|
|
80
|
+
styles: this.styles.icon,
|
|
81
|
+
name: item.props.name + '_icon',
|
|
82
|
+
iconclass: item.props.iconclass
|
|
83
|
+
}) : null, /*#__PURE__*/React.createElement(View, {
|
|
84
|
+
style: {
|
|
85
|
+
flexDirection: 'column',
|
|
86
|
+
flex: 1,
|
|
87
|
+
justifyContent: 'center'
|
|
88
|
+
}
|
|
89
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
90
|
+
style: [this.styles.text, this.styles.heading, isExpanded ? this.styles.activeHeaderTitle : {}]
|
|
91
|
+
}, isDefined(item.props.title) ? item.props.title : 'Title'), item.props.description ? /*#__PURE__*/React.createElement(Text, {
|
|
92
|
+
style: this.styles.subheading
|
|
93
|
+
}, item.props.description) : null), this.expandCollapseIcon(item, true, !showIconOnLeft, true, isExpanded)), item);
|
|
94
|
+
}
|
|
95
|
+
toggle(index) {
|
|
96
|
+
let expand = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
97
|
+
let expandedId = expand ? index : -1;
|
|
98
|
+
let collapseId = expand ? -1 : index;
|
|
99
|
+
if (expand && this.state.isExpanded[expandedId - 1] || !expand && this.state.isExpanded[collapseId - 1] === false) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
if (collapseId < 0 && this.state.props.closeothers) {
|
|
103
|
+
collapseId = this.state.lastExpandedIndex;
|
|
104
|
+
}
|
|
105
|
+
const collapsedPane = this.accordionPanes[collapseId - 1];
|
|
106
|
+
collapsedPane === null || collapsedPane === void 0 ? void 0 : collapsedPane.hide();
|
|
107
|
+
Promise.resolve().then(() => {
|
|
108
|
+
const expandedPane = expandedId ? this.accordionPanes[expandedId - 1] : null;
|
|
109
|
+
expandedPane === null || expandedPane === void 0 ? void 0 : expandedPane.show();
|
|
110
|
+
this.setState(state => {
|
|
111
|
+
if (collapseId > 0 && collapsedPane) {
|
|
112
|
+
state.isExpanded[collapseId - 1] = false;
|
|
113
|
+
}
|
|
114
|
+
if (expandedId > 0 && expandedPane) {
|
|
115
|
+
state.isExpanded[expandedId - 1] = true;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
lastExpandedIndex: expandedId,
|
|
119
|
+
isExpanded: [...state.isExpanded]
|
|
120
|
+
};
|
|
121
|
+
}, () => {
|
|
122
|
+
this.invokeEventCallback('onChange', [{}, this.proxy, expandedId - 1, collapseId ? collapseId - 1 : null, expandedPane && expandedPane.props.name, collapsedPane && collapsedPane.props.name]);
|
|
123
|
+
});
|
|
124
|
+
}, () => {});
|
|
125
|
+
}
|
|
126
|
+
componentDidMount() {
|
|
127
|
+
super.componentDidMount();
|
|
128
|
+
this.toggle(this.state.props.defaultpaneindex + 1);
|
|
129
|
+
}
|
|
130
|
+
renderWidget(props) {
|
|
131
|
+
const accordionpanes = props.children;
|
|
132
|
+
const expandedId = this.state.lastExpandedIndex || 0;
|
|
133
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
134
|
+
style: this.styles.root
|
|
135
|
+
}, this._background, accordionpanes ? isArray(accordionpanes) && accordionpanes.length ? accordionpanes.map((item, index) => this.renderAccordionpane(item, index, accordionpanes)) : this.renderAccordionpane(accordionpanes, 0) : null);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=accordion.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Text","TouchableOpacity","View","Badge","isArray","BaseComponent","BaseComponentState","WmAccordionProps","DEFAULT_CLASS","WmIcon","isDefined","WmAccordionState","constructor","arguments","_defineProperty","WmAccordion","props","addAccordionPane","accordionPane","i","accordionPanes","findIndex","t","name","newIndex","expand","accordionName","toggle","collapse","expandCollapseIcon","item","showBadge","length","undefined","showIcon","useChevron","isExpanded","widgetProps","badge","badgevalue","createElement","style","styles","activeBadge","badgetype","iconclass","flexDirection","theme","mergeStyle","icon","activeIcon","renderAccordionpane","index","accordionpanes","showIconOnLeft","leftToggleIcon","root","width","state","pane","key","header","firstHeader","lastHeader","activeHeader","onPress","bind","flex","justifyContent","text","heading","activeHeaderTitle","title","description","subheading","expandedId","collapseId","closeothers","lastExpandedIndex","collapsedPane","hide","Promise","resolve","then","expandedPane","show","setState","invokeEventCallback","proxy","componentDidMount","defaultpaneindex","renderWidget","children","_background","map"],"sources":["accordion.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, TouchableOpacity, View } from 'react-native';\nimport { Badge } from 'react-native-paper';\nimport { isArray } from 'lodash';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmAccordionProps from './accordion.props';\nimport { DEFAULT_CLASS, WmAccordionStyles } from './accordion.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmAccordionpane from './accordionpane/accordionpane.component';\nimport { isDefined } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmAccordionState extends BaseComponentState<WmAccordionProps> {\n lastExpandedIndex = -1;\n isExpanded = [] as boolean[];\n}\n\nexport default class WmAccordion extends BaseComponent<WmAccordionProps, WmAccordionState, WmAccordionStyles> {\n public accordionPanes = [] as WmAccordionpane[];\n private newIndex = 0;\n\n constructor(props: WmAccordionProps) {\n super(props, DEFAULT_CLASS, new WmAccordionProps(), new WmAccordionState());\n }\n\n addAccordionPane(accordionPane: WmAccordionpane) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionPane.props.name);\n if (i >= 0) {\n this.accordionPanes[i] = accordionPane;\n } else {\n this.accordionPanes[this.newIndex++] = accordionPane;\n }\n }\n\n expand(accordionName: string) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);\n this.toggle(i + 1, true);\n }\n\n collapse(accordionName: string) {\n const i = this.accordionPanes.findIndex(t => t.props.name === accordionName);\n this.toggle(i + 1, false);\n }\n\n expandCollapseIcon(item: any, showBadge = true, showIcon = true, useChevron = true, isExpanded = false) {\n const widgetProps = item.props;\n //@ts-ignore\n const badge = showBadge && widgetProps.badgevalue != undefined ? (\n <Badge style={[\n this.styles.badge,\n isExpanded ? this.styles.activeBadge: null,\n this.styles[widgetProps.badgetype || 'default']]}>\n {widgetProps.badgevalue}\n </Badge>): null;\n let iconclass = null;\n if (useChevron) {\n iconclass = isExpanded ? 'wi wi-chevron-down' : 'wi wi-chevron-up';\n } else {\n iconclass = isExpanded ? 'wi wi-minus' : 'wi wi-plus';\n }\n return (<View style={{flexDirection: 'row'}}>\n {badge}\n {showIcon ? (\n <WmIcon\n styles={this.theme.mergeStyle({}, this.styles.icon, isExpanded ? this.styles.activeIcon : null)}\n name={'expand_collapse_icon'}\n iconclass={iconclass}></WmIcon>): null}\n </View>);\n }\n\n renderAccordionpane(item: any, index: any, accordionpanes: any[] = []) {\n const showIconOnLeft = this.styles.leftToggleIcon.root.width !== undefined;\n const isExpanded = this.state.isExpanded[index];\n return (\n <View style={this.styles.pane} key={item.props.name}>\n <TouchableOpacity key={'accordionpane_' + (index + 1)}\n style={[this.styles.header,\n index === 0 ? this.styles.firstHeader: null,\n index === accordionpanes.length - 1 && !isExpanded ? this.styles.lastHeader: null,\n isExpanded ? this.styles.activeHeader : {}]}\n onPress={this.toggle.bind(this, index + 1, !isExpanded)}>\n {this.expandCollapseIcon(item, false, showIconOnLeft, true, isExpanded)}\n {item.props.iconclass ? <WmIcon styles={this.styles.icon} name={item.props.name + '_icon'} iconclass={item.props.iconclass}></WmIcon>: null}\n <View style={{flexDirection: 'column', flex: 1, justifyContent: 'center'}}>\n <Text style={[\n this.styles.text,\n this.styles.heading,\n isExpanded ? this.styles.activeHeaderTitle : {}]}>\n {isDefined(item.props.title) ? item.props.title : 'Title'}\n </Text>\n {item.props.description ? \n (<Text style={this.styles.subheading}>{item.props.description}</Text>) : null }\n </View>\n {this.expandCollapseIcon(item, true, !showIconOnLeft, true, isExpanded)}\n </TouchableOpacity>\n {item}\n </View>\n );\n }\n\n toggle(index: number, expand = true) {\n let expandedId = expand ? index : -1;\n let collapseId = expand ? -1 : index;\n if (expand && this.state.isExpanded[expandedId - 1]\n || !expand && this.state.isExpanded[collapseId - 1] === false) {\n return;\n }\n if (collapseId < 0 && this.state.props.closeothers) {\n collapseId = this.state.lastExpandedIndex;\n }\n const collapsedPane = this.accordionPanes[collapseId -1];\n collapsedPane?.hide();\n Promise.resolve().then(() => {\n const expandedPane = expandedId ? this.accordionPanes[expandedId - 1]: null;\n expandedPane?.show();\n this.setState((state) => {\n if (collapseId > 0 && collapsedPane) {\n state.isExpanded[collapseId - 1] = false;\n }\n if (expandedId > 0 && expandedPane) {\n state.isExpanded[expandedId - 1] = true;\n }\n return {\n lastExpandedIndex: expandedId,\n isExpanded: [...state.isExpanded]\n };\n }, () => {\n this.invokeEventCallback('onChange', [{},\n this.proxy,\n expandedId - 1,\n collapseId ? collapseId - 1 : null,\n expandedPane && expandedPane.props.name,\n collapsedPane && collapsedPane.props.name]);\n });\n }, () => {});\n }\n\n public componentDidMount(): void {\n super.componentDidMount();\n this.toggle(this.state.props.defaultpaneindex + 1);\n }\n\n renderWidget(props: WmAccordionProps) {\n const accordionpanes = props.children;\n const expandedId = this.state.lastExpandedIndex || 0;\n return (\n <View style={this.styles.root}>\n {this._background}\n {accordionpanes\n ? isArray(accordionpanes) && accordionpanes.length\n ? accordionpanes.map((item: any, index: any) => this.renderAccordionpane(item, index, accordionpanes))\n : this.renderAccordionpane(accordionpanes, 0)\n : null}\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,QAAQ,cAAc;AAC3D,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,OAAO,QAAQ,QAAQ;AAEhC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,gBAAgB,MAAM,mBAAmB;AAChD,SAASC,aAAa,QAA2B,oBAAoB;AACrE,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,SAASC,SAAS,QAAQ,sCAAsC;AAEhE,OAAO,MAAMC,gBAAgB,SAASL,kBAAkB,CAAmB;EAAAM,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,4BACrD,CAAC,CAAC;IAAAA,eAAA,qBACT,EAAE;EAAA;AACjB;AAEA,eAAe,MAAMC,WAAW,SAASV,aAAa,CAAwD;EAI5GO,WAAWA,CAACI,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAER,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAII,gBAAgB,CAAC,CAAC,CAAC;IAACG,eAAA,yBAJtD,EAAE;IAAAA,eAAA,mBACP,CAAC;EAIpB;EAEAG,gBAAgBA,C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AAI,EACvCwD,aAAa,IAAIA,aAAa,CAAC/D,KAAK,CAACO,IAAI,CAAC,CAAC;MAC7C,CAAC,CAAC;IACN,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;EACd;EAEOkE,iBAAiBA,CAAA,EAAS;IAC7B,KAAK,CAACA,iBAAiB,CAAC,CAAC;IACzB,IAAI,CAAC9D,MAAM,CAAC,IAAI,CAAC+B,KAAK,CAAC1C,KAAK,CAAC0E,gBAAgB,GAAG,CAAC,CAAC;EACtD;EAEAC,YAAYA,CAAC3E,KAAuB,EAAE;IACpC,MAAMqC,cAAc,GAAGrC,KAAK,CAAC4E,QAAQ;IACrC,MAAMjB,UAAU,GAAG,IAAI,CAACjB,KAAK,CAACoB,iBAAiB,IAAI,CAAC;IACpD,oBACI/E,KAAA,CAAAyC,aAAA,CAACtC,IAAI;MAACuC,KAAK,EAAE,IAAI,CAACC,MAAM,CAACc;IAAK,GAC3B,IAAI,CAACqC,WAAW,EACdxC,cAAc,GACXjD,OAAO,CAACiD,cAAc,CAAC,IAAIA,cAAc,CAACrB,MAAM,GAC9CqB,cAAc,CAACyC,GAAG,CAAC,CAAChE,IAAS,EAAEsB,KAAU,KAAK,IAAI,CAACD,mBAAmB,CAACrB,IAAI,EAAEsB,KAAK,EAAEC,cAAc,CAAC,CAAC,GACpG,IAAI,CAACF,mBAAmB,CAACE,cAAc,EAAE,CAAC,CAAC,GAC7C,IACF,CAAC;EAEb;AACF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WmAccordionProps extends BaseProps {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
_defineProperty(this, "animation", 'fadeInDown');
|
|
9
|
+
_defineProperty(this, "children", void 0);
|
|
10
|
+
_defineProperty(this, "defaultpaneindex", 0);
|
|
11
|
+
_defineProperty(this, "closeothers", true);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=accordion.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmAccordionProps","constructor","arguments","_defineProperty"],"sources":["accordion.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmAccordionProps extends BaseProps {\n animation: string = 'fadeInDown';\n children: any;\n defaultpaneindex: number = 0;\n closeothers = true;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,gBAAgB,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAClC,YAAY;IAAAA,eAAA;IAAAA,eAAA,2BAEL,CAAC;IAAAA,eAAA,sBACd,IAAI;EAAA;AACpB"}
|