@wavemaker/app-rn-runtime 11.15.2-dev.4 → 11.15.2-rc.249
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/notification-action.js +1 -0
- package/actions/notification-action.js.map +1 -1
- package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -1
- package/components/advanced/carousel/carousel.component.js +3 -3
- package/components/advanced/carousel/carousel.component.js.map +1 -1
- package/components/advanced/carousel/carousel.props.js.map +1 -1
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -1
- package/components/advanced/login/login.component.js +1 -2
- package/components/advanced/login/login.component.js.map +1 -1
- package/components/advanced/login/login.props.js.map +1 -1
- package/components/basic/anchor/anchor.props.js +14 -16
- package/components/basic/anchor/anchor.props.js.map +1 -1
- package/components/basic/audio/audio.props.js +0 -3
- package/components/basic/audio/audio.props.js.map +1 -1
- package/components/basic/bottomsheet/bottomsheet.component.js +58 -23
- package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -1
- package/components/basic/bottomsheet/bottomsheet.props.js +3 -6
- package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -1
- package/components/basic/button/button.component.js +21 -8
- package/components/basic/button/button.component.js.map +1 -1
- package/components/basic/button/button.props.js +14 -18
- package/components/basic/button/button.props.js.map +1 -1
- package/components/basic/button/button.styles.js +5 -5
- package/components/basic/button/button.styles.js.map +1 -1
- package/components/basic/buttongroup/buttongroup.props.js +3 -6
- package/components/basic/buttongroup/buttongroup.props.js.map +1 -1
- package/components/basic/custom/custom.component.js.map +1 -1
- package/components/basic/custom/custom.props.js +3 -6
- package/components/basic/custom/custom.props.js.map +1 -1
- package/components/basic/icon/icon.props.js +10 -12
- package/components/basic/icon/icon.props.js.map +1 -1
- package/components/basic/label/label.props.js +10 -12
- package/components/basic/label/label.props.js.map +1 -1
- package/components/basic/lottie/lottie.props.js +0 -3
- package/components/basic/lottie/lottie.props.js.map +1 -1
- package/components/basic/message/message.component.js +2 -1
- package/components/basic/message/message.component.js.map +1 -1
- package/components/basic/message/message.props.js +4 -6
- package/components/basic/message/message.props.js.map +1 -1
- package/components/basic/modal/modal.props.js +1 -4
- package/components/basic/modal/modal.props.js.map +1 -1
- package/components/basic/picture/picture.component.js +52 -28
- package/components/basic/picture/picture.component.js.map +1 -1
- package/components/basic/picture/picture.props.js +11 -14
- package/components/basic/picture/picture.props.js.map +1 -1
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -1
- package/components/basic/progress-bar/progress-bar.props.js +2 -5
- package/components/basic/progress-bar/progress-bar.props.js.map +1 -1
- package/components/basic/progress-circle/progress-circle.props.js +1 -4
- package/components/basic/progress-circle/progress-circle.props.js.map +1 -1
- package/components/basic/search/search.props.js +7 -8
- package/components/basic/search/search.props.js.map +1 -1
- package/components/basic/skeleton/skeleton.props.js +1 -4
- package/components/basic/skeleton/skeleton.props.js.map +1 -1
- package/components/basic/spinner/spinner.props.js +3 -6
- package/components/basic/spinner/spinner.props.js.map +1 -1
- package/components/basic/tooltip/tooltip.props.js +0 -3
- package/components/basic/tooltip/tooltip.props.js.map +1 -1
- package/components/basic/video/video.component.js.map +1 -1
- package/components/basic/video/video.props.js +8 -11
- package/components/basic/video/video.props.js.map +1 -1
- package/components/chart/area-chart/area-chart.component.js +26 -9
- package/components/chart/area-chart/area-chart.component.js.map +1 -1
- package/components/chart/area-chart/area-chart.props.js.map +1 -1
- package/components/chart/bar-chart/bar-chart.component.js +38 -6
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -1
- package/components/chart/bar-chart/bar-chart.props.js +1 -0
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -1
- package/components/chart/basechart.component.js +25 -18
- package/components/chart/basechart.component.js.map +1 -1
- package/components/chart/basechart.props.js +8 -9
- package/components/chart/basechart.props.js.map +1 -1
- package/components/chart/bubble-chart/bubble-chart.component.js +22 -5
- package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
- package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -1
- package/components/chart/column-chart/column-chart.props.js +1 -9
- package/components/chart/column-chart/column-chart.props.js.map +1 -1
- package/components/chart/donut-chart/donut-chart.props.js +0 -1
- package/components/chart/donut-chart/donut-chart.props.js.map +1 -1
- package/components/chart/line-chart/line-chart.component.js +22 -5
- package/components/chart/line-chart/line-chart.component.js.map +1 -1
- package/components/chart/line-chart/line-chart.props.js +2 -2
- package/components/chart/line-chart/line-chart.props.js.map +1 -1
- package/components/chart/pie-chart/pie-chart.component.js +27 -8
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -1
- package/components/chart/pie-chart/pie-chart.props.js.map +1 -1
- package/components/chart/stack-chart/stack-chart.component.js.map +1 -1
- package/components/chart/stack-chart/stack-chart.props.js.map +1 -1
- package/components/container/accordion/accordion.component.js +14 -7
- package/components/container/accordion/accordion.component.js.map +1 -1
- package/components/container/accordion/accordion.props.js +0 -3
- package/components/container/accordion/accordion.props.js.map +1 -1
- package/components/container/accordion/accordion.styles.js +24 -21
- package/components/container/accordion/accordion.styles.js.map +1 -1
- package/components/container/accordion/accordionpane/accordionpane.component.js +6 -4
- package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
- package/components/container/accordion/accordionpane/accordionpane.props.js +4 -7
- package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -1
- package/components/container/accordion/accordionpane/accordionpane.styles.js +0 -1
- package/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -1
- package/components/container/container.component.js +9 -182
- package/components/container/container.component.js.map +1 -1
- package/components/container/container.props.js +3 -5
- package/components/container/container.props.js.map +1 -1
- package/components/container/container.styles.js +3 -1
- package/components/container/container.styles.js.map +1 -1
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +2 -5
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -1
- package/components/container/layoutgrid/gridrow/gridrow.props.js +0 -3
- package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -1
- package/components/container/layoutgrid/layoutgrid.props.js +0 -3
- package/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
- package/components/container/linearlayout/linearlayout.component.js +1 -0
- package/components/container/linearlayout/linearlayout.component.js.map +1 -1
- package/components/container/linearlayout/linearlayout.props.js +1 -4
- package/components/container/linearlayout/linearlayout.props.js.map +1 -1
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +3 -6
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -1
- package/components/container/panel/panel-content/panel-content.props.js +0 -3
- package/components/container/panel/panel-content/panel-content.props.js.map +1 -1
- package/components/container/panel/panel-footer/panel-footer.props.js +0 -3
- package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -1
- package/components/container/panel/panel.component.js +8 -2
- package/components/container/panel/panel.component.js.map +1 -1
- package/components/container/panel/panel.props.js +11 -12
- package/components/container/panel/panel.props.js.map +1 -1
- package/components/container/partial-host.component.js.map +1 -1
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
- package/components/container/tabs/tabheader/tabheader.props.js +1 -4
- package/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
- package/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
- package/components/container/tabs/tabpane/tabpane.props.js +3 -6
- package/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
- package/components/container/tabs/tabs.component.js +62 -29
- package/components/container/tabs/tabs.component.js.map +1 -1
- package/components/container/tabs/tabs.props.js +1 -3
- package/components/container/tabs/tabs.props.js.map +1 -1
- package/components/container/tile/tile.component.js +3 -0
- package/components/container/tile/tile.component.js.map +1 -1
- package/components/container/tile/tile.props.js +2 -5
- package/components/container/tile/tile.props.js.map +1 -1
- package/components/container/wizard/wizard.component.js +5 -3
- package/components/container/wizard/wizard.component.js.map +1 -1
- package/components/container/wizard/wizard.props.js +2 -4
- package/components/container/wizard/wizard.props.js.map +1 -1
- package/components/container/wizard/wizard.styles.js +1 -16
- package/components/container/wizard/wizard.styles.js.map +1 -1
- package/components/container/wizard/wizardstep/wizardstep.props.js +0 -3
- package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -1
- package/components/data/card/card-content/card-content.props.js +1 -4
- package/components/data/card/card-content/card-content.props.js.map +1 -1
- package/components/data/card/card-footer/card-footer.props.js +1 -4
- package/components/data/card/card-footer/card-footer.props.js.map +1 -1
- package/components/data/card/card.props.js +16 -19
- package/components/data/card/card.props.js.map +1 -1
- package/components/data/form/form-action/form-action.props.js +1 -4
- package/components/data/form/form-action/form-action.props.js.map +1 -1
- package/components/data/form/form-body/form-body.component.js +2 -1
- package/components/data/form/form-body/form-body.component.js.map +1 -1
- package/components/data/form/form-body/form-body.props.js +1 -4
- package/components/data/form/form-body/form-body.props.js.map +1 -1
- package/components/data/form/form-field/form-field.component.js +1 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -1
- package/components/data/form/form-field/form-field.props.js +4 -6
- package/components/data/form/form-field/form-field.props.js.map +1 -1
- package/components/data/form/form-footer/form-footer.component.js +2 -1
- package/components/data/form/form-footer/form-footer.component.js.map +1 -1
- package/components/data/form/form-footer/form-footer.props.js +1 -4
- package/components/data/form/form-footer/form-footer.props.js.map +1 -1
- package/components/data/form/form.component.js +4 -1
- package/components/data/form/form.component.js.map +1 -1
- package/components/data/form/form.props.js +7 -10
- package/components/data/form/form.props.js.map +1 -1
- package/components/data/list/list-action-template/list-action-template.props.js +2 -5
- package/components/data/list/list-action-template/list-action-template.props.js.map +1 -1
- package/components/data/list/list-template/list-template.props.js +0 -3
- package/components/data/list/list-template/list-template.props.js.map +1 -1
- package/components/data/list/list.component.js.map +1 -1
- package/components/data/list/list.props.js +17 -18
- package/components/data/list/list.props.js.map +1 -1
- package/components/data/liveform/liveform.component.js +2 -2
- package/components/data/liveform/liveform.component.js.map +1 -1
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -1
- package/components/device/barcodescanner/barcodescanner.props.js +2 -5
- package/components/device/barcodescanner/barcodescanner.props.js.map +1 -1
- package/components/device/camera/camera.component.js.map +1 -1
- package/components/device/camera/camera.props.js +4 -7
- package/components/device/camera/camera.props.js.map +1 -1
- package/components/dialogs/alertdialog/alertdialog.props.js +7 -11
- package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -1
- package/components/dialogs/confirmdialog/confirmdialog.props.js +7 -11
- package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -1
- package/components/dialogs/dialog/dialog.component.js.map +1 -1
- package/components/dialogs/dialog/dialog.props.js +8 -12
- package/components/dialogs/dialog/dialog.props.js.map +1 -1
- package/components/dialogs/dialogactions/dialogactions.props.js +1 -4
- package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -1
- package/components/dialogs/dialogcontent/dialogcontent.component.js +2 -1
- package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -1
- package/components/dialogs/dialogcontent/dialogcontent.props.js +1 -4
- package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -1
- package/components/input/basedataset/basedataset.props.js +4 -7
- package/components/input/basedataset/basedataset.props.js.map +1 -1
- package/components/input/baseinput/baseinput.component.js +21 -3
- package/components/input/baseinput/baseinput.component.js.map +1 -1
- package/components/input/baseinput/baseinput.props.js +10 -12
- package/components/input/baseinput/baseinput.props.js.map +1 -1
- package/components/input/basenumber/basenumber.component.js +18 -3
- package/components/input/basenumber/basenumber.component.js.map +1 -1
- package/components/input/basenumber/basenumber.props.js +8 -10
- package/components/input/basenumber/basenumber.props.js.map +1 -1
- package/components/input/calendar/calendar.component.js.map +1 -1
- package/components/input/calendar/calendar.props.js +3 -9
- package/components/input/calendar/calendar.props.js.map +1 -1
- package/components/input/checkbox/checkbox.props.js +3 -9
- package/components/input/checkbox/checkbox.props.js.map +1 -1
- package/components/input/checkboxset/checkboxset.component.js +1 -1
- package/components/input/checkboxset/checkboxset.component.js.map +1 -1
- package/components/input/checkboxset/checkboxset.props.js +0 -3
- package/components/input/checkboxset/checkboxset.props.js.map +1 -1
- package/components/input/chips/chips.component.js +2 -3
- package/components/input/chips/chips.component.js.map +1 -1
- package/components/input/chips/chips.props.js +6 -9
- package/components/input/chips/chips.props.js.map +1 -1
- package/components/input/chips/chips.styles.js +3 -1
- package/components/input/chips/chips.styles.js.map +1 -1
- package/components/input/composite/composite.props.js +1 -4
- package/components/input/composite/composite.props.js.map +1 -1
- package/components/input/currency/currency.component.js +7 -3
- package/components/input/currency/currency.component.js.map +1 -1
- package/components/input/currency/currency.props.js +0 -1
- package/components/input/currency/currency.props.js.map +1 -1
- package/components/input/currency/currency.styles.js +4 -0
- package/components/input/currency/currency.styles.js.map +1 -1
- package/components/input/epoch/base-datetime.component.js +95 -91
- package/components/input/epoch/base-datetime.component.js.map +1 -1
- package/components/input/epoch/datetime/datetime.props.js +6 -12
- package/components/input/epoch/datetime/datetime.props.js.map +1 -1
- package/components/input/epoch/datetime/datetime.styles.js +2 -3
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -1
- package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -1
- package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -1
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -1
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -1
- package/components/input/fileupload/fileupload.props.js +2 -5
- package/components/input/fileupload/fileupload.props.js.map +1 -1
- package/components/input/number/number.component.js +6 -3
- package/components/input/number/number.component.js.map +1 -1
- package/components/input/number/number.props.js +1 -2
- package/components/input/number/number.props.js.map +1 -1
- package/components/input/number/number.styles.js +4 -0
- package/components/input/number/number.styles.js.map +1 -1
- package/components/input/radioset/radioset.component.js +3 -1
- package/components/input/radioset/radioset.component.js.map +1 -1
- package/components/input/radioset/radioset.props.js +0 -3
- package/components/input/radioset/radioset.props.js.map +1 -1
- package/components/input/rating/rating.props.js +7 -13
- package/components/input/rating/rating.props.js.map +1 -1
- package/components/input/select/select.component.js +83 -37
- package/components/input/select/select.component.js.map +1 -1
- package/components/input/select/select.props.js +2 -5
- package/components/input/select/select.props.js.map +1 -1
- package/components/input/slider/slider.component.js.map +1 -1
- package/components/input/slider/slider.props.js +0 -3
- package/components/input/slider/slider.props.js.map +1 -1
- package/components/input/switch/switch.props.js +0 -3
- package/components/input/switch/switch.props.js.map +1 -1
- package/components/input/text/text.component.js +6 -3
- package/components/input/text/text.component.js.map +1 -1
- package/components/input/text/text.props.js +2 -4
- package/components/input/text/text.props.js.map +1 -1
- package/components/input/text/text.styles.js +5 -0
- package/components/input/text/text.styles.js.map +1 -1
- package/components/input/textarea/textarea.component.js +5 -3
- package/components/input/textarea/textarea.component.js.map +1 -1
- package/components/input/textarea/textarea.props.js +3 -4
- package/components/input/textarea/textarea.props.js.map +1 -1
- package/components/input/textarea/textarea.styles.js +4 -0
- package/components/input/textarea/textarea.styles.js.map +1 -1
- package/components/input/toggle/toggle.component.js +15 -5
- package/components/input/toggle/toggle.component.js.map +1 -1
- package/components/input/toggle/toggle.props.js +10 -11
- package/components/input/toggle/toggle.props.js.map +1 -1
- package/components/navigation/appnavbar/appnavbar.component.js +1 -1
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
- package/components/navigation/appnavbar/appnavbar.props.js +1 -4
- package/components/navigation/appnavbar/appnavbar.props.js.map +1 -1
- package/components/navigation/basenav/basenav.props.js +5 -5
- package/components/navigation/basenav/basenav.props.js.map +1 -1
- package/components/navigation/menu/menu.props.js +0 -3
- package/components/navigation/menu/menu.props.js.map +1 -1
- package/components/navigation/navbar/navbar.props.js +1 -4
- package/components/navigation/navbar/navbar.props.js.map +1 -1
- package/components/navigation/navitem/navitem.props.js +4 -7
- package/components/navigation/navitem/navitem.props.js.map +1 -1
- package/components/navigation/popover/popover.component.js +5 -1
- package/components/navigation/popover/popover.component.js.map +1 -1
- package/components/navigation/popover/popover.props.js +12 -17
- package/components/navigation/popover/popover.props.js.map +1 -1
- package/components/page/content/content.props.js.map +1 -1
- package/components/page/left-panel/left-panel.props.js +0 -3
- package/components/page/left-panel/left-panel.props.js.map +1 -1
- package/components/page/page-content/page-content.component.js.map +1 -1
- package/components/page/page-content/page-content.props.js +3 -6
- package/components/page/page-content/page-content.props.js.map +1 -1
- package/components/page/page.props.js +1 -5
- package/components/page/page.props.js.map +1 -1
- package/components/page/partial/partial.props.js.map +1 -1
- package/components/page/partial-container/partial-container.component.js.map +1 -1
- package/components/page/partial-container/partial-container.props.js +2 -5
- package/components/page/partial-container/partial-container.props.js.map +1 -1
- package/components/page/tabbar/tabbar.props.js +2 -5
- package/components/page/tabbar/tabbar.props.js.map +1 -1
- package/components/prefab/prefab-container.props.js.map +1 -1
- package/core/AppConfig.js.map +1 -1
- package/core/advanced-promise-rejection-tracker.js +207 -0
- package/core/advanced-promise-rejection-tracker.js.map +1 -0
- package/core/auto-layout.utils.js +262 -0
- package/core/auto-layout.utils.js.map +1 -0
- package/core/base.component.js +10 -7
- package/core/base.component.js.map +1 -1
- package/core/components/error-fallback/error-fallback.component.js +50 -18
- package/core/components/error-fallback/error-fallback.component.js.map +1 -1
- package/core/components/error-fallback/error-fallback.styles.js +4 -1
- package/core/components/error-fallback/error-fallback.styles.js.map +1 -1
- package/core/components/textinput.component.js +27 -5
- package/core/components/textinput.component.js.map +1 -1
- package/core/error-boundary.component.js +46 -2
- package/core/error-boundary.component.js.map +1 -1
- package/core/fixed-view.component.js +19 -2
- package/core/fixed-view.component.js.map +1 -1
- package/core/global-error-handler.service.js +177 -0
- package/core/global-error-handler.service.js.map +1 -0
- package/core/tappable.component.js +7 -4
- package/core/tappable.component.js.map +1 -1
- package/core/toast.service.js.map +1 -1
- package/core/viewport.js +13 -8
- package/core/viewport.js.map +1 -1
- package/gestures/carousel-swipe.animation.js +0 -1
- package/gestures/carousel-swipe.animation.js.map +1 -1
- package/npm-shrinkwrap.json +26706 -0
- package/package-lock.json +26706 -0
- package/package.json +2 -2
- package/runtime/App.js +176 -13
- package/runtime/App.js.map +1 -1
- package/runtime/base-fragment.component.js +1 -1
- package/runtime/base-fragment.component.js.map +1 -1
- package/runtime/base-page.component.js +11 -2
- package/runtime/base-page.component.js.map +1 -1
- package/runtime/navigator/drawer.navigator.js +1 -0
- package/runtime/navigator/drawer.navigator.js.map +1 -1
- package/runtime/navigator/stack.navigator.js +6 -0
- package/runtime/navigator/stack.navigator.js.map +1 -1
- package/runtime/services/device/camera-service.js +31 -20
- package/runtime/services/device/camera-service.js.map +1 -1
- package/styles/background.component.js +12 -6
- package/styles/background.component.js.map +1 -1
- package/styles/theme.js +163 -13
- package/styles/theme.js.map +1 -1
- package/styles/theme.variables.js +2 -0
- package/styles/theme.variables.js.map +1 -1
- package/actions/base-action.d.ts +0 -8
- package/actions/base-action.d.ts.map +0 -1
- package/actions/index.d.ts +0 -6
- package/actions/index.d.ts.map +0 -1
- package/actions/login-action.d.ts +0 -12
- package/actions/login-action.d.ts.map +0 -1
- package/actions/logout-action.d.ts +0 -11
- package/actions/logout-action.d.ts.map +0 -1
- package/actions/navigation-action.d.ts +0 -13
- package/actions/navigation-action.d.ts.map +0 -1
- package/actions/notification-action.d.ts +0 -20
- package/actions/notification-action.d.ts.map +0 -1
- package/actions/timer-action.d.ts +0 -20
- package/actions/timer-action.d.ts.map +0 -1
- package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts +0 -11
- package/components/advanced/carousel/carousel-content/carousel-content.component.d.ts.map +0 -1
- package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts +0 -5
- package/components/advanced/carousel/carousel-content/carousel-content.props.d.ts.map +0 -1
- package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts +0 -4
- package/components/advanced/carousel/carousel-content/carousel-content.styles.d.ts.map +0 -1
- package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts +0 -11
- package/components/advanced/carousel/carousel-template/carousel-template.component.d.ts.map +0 -1
- package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts +0 -5
- package/components/advanced/carousel/carousel-template/carousel-template.props.d.ts.map +0 -1
- package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts +0 -4
- package/components/advanced/carousel/carousel-template/carousel-template.styles.d.ts.map +0 -1
- package/components/advanced/carousel/carousel.component.d.ts +0 -36
- package/components/advanced/carousel/carousel.component.d.ts.map +0 -1
- package/components/advanced/carousel/carousel.props.d.ts +0 -19
- package/components/advanced/carousel/carousel.props.d.ts.map +0 -1
- package/components/advanced/carousel/carousel.styles.d.ts +0 -21
- package/components/advanced/carousel/carousel.styles.d.ts.map +0 -1
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts +0 -11
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.d.ts.map +0 -1
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts +0 -5
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.d.ts.map +0 -1
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts +0 -7
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.d.ts.map +0 -1
- package/components/advanced/login/login.component.d.ts +0 -16
- package/components/advanced/login/login.component.d.ts.map +0 -1
- package/components/advanced/login/login.props.d.ts +0 -7
- package/components/advanced/login/login.props.d.ts.map +0 -1
- package/components/advanced/login/login.styles.d.ts +0 -8
- package/components/advanced/login/login.styles.d.ts.map +0 -1
- package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts +0 -18
- package/components/advanced/network-info-toaster/network-info-toaster.component.d.ts.map +0 -1
- package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts +0 -5
- package/components/advanced/network-info-toaster/network-info-toaster.props.d.ts.map +0 -1
- package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts +0 -9
- package/components/advanced/network-info-toaster/network-info-toaster.styles.d.ts.map +0 -1
- package/components/advanced/webview/webview.component.d.ts +0 -31
- package/components/advanced/webview/webview.component.d.ts.map +0 -1
- package/components/advanced/webview/webview.props.d.ts +0 -12
- package/components/advanced/webview/webview.props.d.ts.map +0 -1
- package/components/advanced/webview/webview.styles.d.ts +0 -8
- package/components/advanced/webview/webview.styles.d.ts.map +0 -1
- package/components/basic/anchor/anchor.component.d.ts +0 -16
- package/components/basic/anchor/anchor.component.d.ts.map +0 -1
- package/components/basic/anchor/anchor.props.d.ts +0 -31
- package/components/basic/anchor/anchor.props.d.ts.map +0 -1
- package/components/basic/anchor/anchor.styles.d.ts +0 -12
- package/components/basic/anchor/anchor.styles.d.ts.map +0 -1
- package/components/basic/animatedview.component.d.ts +0 -22
- package/components/basic/animatedview.component.d.ts.map +0 -1
- package/components/basic/audio/audio.component.d.ts +0 -37
- package/components/basic/audio/audio.component.d.ts.map +0 -1
- package/components/basic/audio/audio.props.d.ts +0 -13
- package/components/basic/audio/audio.props.d.ts.map +0 -1
- package/components/basic/audio/audio.styles.d.ts +0 -14
- package/components/basic/audio/audio.styles.d.ts.map +0 -1
- package/components/basic/bottomsheet/bottomsheet.component.d.ts +0 -72
- package/components/basic/bottomsheet/bottomsheet.component.d.ts.map +0 -1
- package/components/basic/bottomsheet/bottomsheet.props.d.ts +0 -24
- package/components/basic/bottomsheet/bottomsheet.props.d.ts.map +0 -1
- package/components/basic/bottomsheet/bottomsheet.styles.d.ts +0 -17
- package/components/basic/bottomsheet/bottomsheet.styles.d.ts.map +0 -1
- package/components/basic/button/button.component.d.ts +0 -14
- package/components/basic/button/button.component.d.ts.map +0 -1
- package/components/basic/button/button.props.d.ts +0 -28
- package/components/basic/button/button.props.d.ts.map +0 -1
- package/components/basic/button/button.styles.d.ts +0 -12
- package/components/basic/button/button.styles.d.ts.map +0 -1
- package/components/basic/buttongroup/buttongroup.component.d.ts +0 -12
- package/components/basic/buttongroup/buttongroup.component.d.ts.map +0 -1
- package/components/basic/buttongroup/buttongroup.props.d.ts +0 -12
- package/components/basic/buttongroup/buttongroup.props.d.ts.map +0 -1
- package/components/basic/buttongroup/buttongroup.styles.d.ts +0 -7
- package/components/basic/buttongroup/buttongroup.styles.d.ts.map +0 -1
- package/components/basic/custom/custom.component.d.ts +0 -12
- package/components/basic/custom/custom.component.d.ts.map +0 -1
- package/components/basic/custom/custom.props.d.ts +0 -12
- package/components/basic/custom/custom.props.d.ts.map +0 -1
- package/components/basic/custom/custom.styles.d.ts +0 -7
- package/components/basic/custom/custom.styles.d.ts.map +0 -1
- package/components/basic/icon/icon.component.d.ts +0 -38
- package/components/basic/icon/icon.component.d.ts.map +0 -1
- package/components/basic/icon/icon.props.d.ts +0 -26
- package/components/basic/icon/icon.props.d.ts.map +0 -1
- package/components/basic/icon/icon.styles.d.ts +0 -10
- package/components/basic/icon/icon.styles.d.ts.map +0 -1
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts +0 -9
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.d.ts.map +0 -1
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts +0 -9
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.d.ts.map +0 -1
- package/components/basic/icon/wavicon/wavicon.component.d.ts +0 -9
- package/components/basic/icon/wavicon/wavicon.component.d.ts.map +0 -1
- package/components/basic/label/label.component.d.ts +0 -30
- package/components/basic/label/label.component.d.ts.map +0 -1
- package/components/basic/label/label.props.d.ts +0 -26
- package/components/basic/label/label.props.d.ts.map +0 -1
- package/components/basic/label/label.styles.d.ts +0 -11
- package/components/basic/label/label.styles.d.ts.map +0 -1
- package/components/basic/lottie/lottie.component.d.ts +0 -23
- package/components/basic/lottie/lottie.component.d.ts.map +0 -1
- package/components/basic/lottie/lottie.props.d.ts +0 -12
- package/components/basic/lottie/lottie.props.d.ts.map +0 -1
- package/components/basic/lottie/lottie.styles.d.ts +0 -7
- package/components/basic/lottie/lottie.styles.d.ts.map +0 -1
- package/components/basic/message/message.component.d.ts +0 -14
- package/components/basic/message/message.component.d.ts.map +0 -1
- package/components/basic/message/message.props.d.ts +0 -22
- package/components/basic/message/message.props.d.ts.map +0 -1
- package/components/basic/message/message.styles.d.ts +0 -11
- package/components/basic/message/message.styles.d.ts.map +0 -1
- package/components/basic/modal/modal.component.d.ts +0 -12
- package/components/basic/modal/modal.component.d.ts.map +0 -1
- package/components/basic/modal/modal.props.d.ts +0 -10
- package/components/basic/modal/modal.props.d.ts.map +0 -1
- package/components/basic/modal/modal.styles.d.ts +0 -7
- package/components/basic/modal/modal.styles.d.ts.map +0 -1
- package/components/basic/picture/picture.component.d.ts +0 -39
- package/components/basic/picture/picture.component.d.ts.map +0 -1
- package/components/basic/picture/picture.props.d.ts +0 -24
- package/components/basic/picture/picture.props.d.ts.map +0 -1
- package/components/basic/picture/picture.styles.d.ts +0 -9
- package/components/basic/picture/picture.styles.d.ts.map +0 -1
- package/components/basic/progress-bar/progress-bar.component.d.ts +0 -12
- package/components/basic/progress-bar/progress-bar.component.d.ts.map +0 -1
- package/components/basic/progress-bar/progress-bar.props.d.ts +0 -18
- package/components/basic/progress-bar/progress-bar.props.d.ts.map +0 -1
- package/components/basic/progress-bar/progress-bar.styles.d.ts +0 -11
- package/components/basic/progress-bar/progress-bar.styles.d.ts.map +0 -1
- package/components/basic/progress-circle/progress-circle.component.d.ts +0 -14
- package/components/basic/progress-circle/progress-circle.component.d.ts.map +0 -1
- package/components/basic/progress-circle/progress-circle.props.d.ts +0 -18
- package/components/basic/progress-circle/progress-circle.props.d.ts.map +0 -1
- package/components/basic/progress-circle/progress-circle.styles.d.ts +0 -9
- package/components/basic/progress-circle/progress-circle.styles.d.ts.map +0 -1
- package/components/basic/search/local-data-provider.d.ts +0 -12
- package/components/basic/search/local-data-provider.d.ts.map +0 -1
- package/components/basic/search/search.component.d.ts +0 -58
- package/components/basic/search/search.component.d.ts.map +0 -1
- package/components/basic/search/search.props.d.ts +0 -38
- package/components/basic/search/search.props.d.ts.map +0 -1
- package/components/basic/search/search.styles.d.ts +0 -21
- package/components/basic/search/search.styles.d.ts.map +0 -1
- package/components/basic/skeleton/skeleton.component.d.ts +0 -28
- package/components/basic/skeleton/skeleton.component.d.ts.map +0 -1
- package/components/basic/skeleton/skeleton.props.d.ts +0 -10
- package/components/basic/skeleton/skeleton.props.d.ts.map +0 -1
- package/components/basic/skeleton/skeleton.styles.d.ts +0 -11
- package/components/basic/skeleton/skeleton.styles.d.ts.map +0 -1
- package/components/basic/spinner/spinner.component.d.ts +0 -17
- package/components/basic/spinner/spinner.component.d.ts.map +0 -1
- package/components/basic/spinner/spinner.props.d.ts +0 -15
- package/components/basic/spinner/spinner.props.d.ts.map +0 -1
- package/components/basic/spinner/spinner.styles.d.ts +0 -11
- package/components/basic/spinner/spinner.styles.d.ts.map +0 -1
- package/components/basic/tooltip/tooltip.component.d.ts +0 -11
- package/components/basic/tooltip/tooltip.component.d.ts.map +0 -1
- package/components/basic/tooltip/tooltip.props.d.ts +0 -18
- package/components/basic/tooltip/tooltip.props.d.ts.map +0 -1
- package/components/basic/tooltip/tooltip.styles.d.ts +0 -8
- package/components/basic/tooltip/tooltip.styles.d.ts.map +0 -1
- package/components/basic/video/video.component.d.ts +0 -29
- package/components/basic/video/video.component.d.ts.map +0 -1
- package/components/basic/video/video.props.d.ts +0 -32
- package/components/basic/video/video.props.d.ts.map +0 -1
- package/components/basic/video/video.styles.d.ts +0 -9
- package/components/basic/video/video.styles.d.ts.map +0 -1
- package/components/chart/area-chart/area-chart.component.d.ts +0 -15
- package/components/chart/area-chart/area-chart.component.d.ts.map +0 -1
- package/components/chart/area-chart/area-chart.props.d.ts +0 -7
- package/components/chart/area-chart/area-chart.props.d.ts.map +0 -1
- package/components/chart/area-chart/area-chart.styles.d.ts +0 -5
- package/components/chart/area-chart/area-chart.styles.d.ts.map +0 -1
- package/components/chart/bar-chart/bar-chart.component.d.ts +0 -14
- package/components/chart/bar-chart/bar-chart.component.d.ts.map +0 -1
- package/components/chart/bar-chart/bar-chart.props.d.ts +0 -9
- package/components/chart/bar-chart/bar-chart.props.d.ts.map +0 -1
- package/components/chart/bar-chart/bar-chart.styles.d.ts +0 -5
- package/components/chart/bar-chart/bar-chart.styles.d.ts.map +0 -1
- package/components/chart/basechart.component.d.ts +0 -82
- package/components/chart/basechart.component.d.ts.map +0 -1
- package/components/chart/basechart.props.d.ts +0 -63
- package/components/chart/basechart.props.d.ts.map +0 -1
- package/components/chart/basechart.styles.d.ts +0 -36
- package/components/chart/basechart.styles.d.ts.map +0 -1
- package/components/chart/bubble-chart/bubble-chart.component.d.ts +0 -12
- package/components/chart/bubble-chart/bubble-chart.component.d.ts.map +0 -1
- package/components/chart/bubble-chart/bubble-chart.props.d.ts +0 -6
- package/components/chart/bubble-chart/bubble-chart.props.d.ts.map +0 -1
- package/components/chart/bubble-chart/bubble-chart.styles.d.ts +0 -5
- package/components/chart/bubble-chart/bubble-chart.styles.d.ts.map +0 -1
- package/components/chart/column-chart/column-chart.component.d.ts +0 -8
- package/components/chart/column-chart/column-chart.component.d.ts.map +0 -1
- package/components/chart/column-chart/column-chart.props.d.ts +0 -6
- package/components/chart/column-chart/column-chart.props.d.ts.map +0 -1
- package/components/chart/column-chart/column-chart.styles.d.ts +0 -4
- package/components/chart/column-chart/column-chart.styles.d.ts.map +0 -1
- package/components/chart/donut-chart/donut-chart.component.d.ts +0 -6
- package/components/chart/donut-chart/donut-chart.component.d.ts.map +0 -1
- package/components/chart/donut-chart/donut-chart.props.d.ts +0 -7
- package/components/chart/donut-chart/donut-chart.props.d.ts.map +0 -1
- package/components/chart/donut-chart/donut-chart.styles.d.ts +0 -5
- package/components/chart/donut-chart/donut-chart.styles.d.ts.map +0 -1
- package/components/chart/legend/legend.component.d.ts +0 -15
- package/components/chart/legend/legend.component.d.ts.map +0 -1
- package/components/chart/line-chart/line-chart.component.d.ts +0 -12
- package/components/chart/line-chart/line-chart.component.d.ts.map +0 -1
- package/components/chart/line-chart/line-chart.props.d.ts +0 -9
- package/components/chart/line-chart/line-chart.props.d.ts.map +0 -1
- package/components/chart/line-chart/line-chart.styles.d.ts +0 -5
- package/components/chart/line-chart/line-chart.styles.d.ts.map +0 -1
- package/components/chart/pie-chart/pie-chart.component.d.ts +0 -27
- package/components/chart/pie-chart/pie-chart.component.d.ts.map +0 -1
- package/components/chart/pie-chart/pie-chart.props.d.ts +0 -10
- package/components/chart/pie-chart/pie-chart.props.d.ts.map +0 -1
- package/components/chart/pie-chart/pie-chart.styles.d.ts +0 -5
- package/components/chart/pie-chart/pie-chart.styles.d.ts.map +0 -1
- package/components/chart/stack-chart/stack-chart.component.d.ts +0 -26
- package/components/chart/stack-chart/stack-chart.component.d.ts.map +0 -1
- package/components/chart/stack-chart/stack-chart.props.d.ts +0 -12
- package/components/chart/stack-chart/stack-chart.props.d.ts.map +0 -1
- package/components/chart/stack-chart/stack-chart.styles.d.ts +0 -5
- package/components/chart/stack-chart/stack-chart.styles.d.ts.map +0 -1
- package/components/chart/staticdata.d.ts +0 -41
- package/components/chart/staticdata.d.ts.map +0 -1
- package/components/chart/theme/chart.theme.d.ts +0 -8
- package/components/chart/theme/chart.theme.d.ts.map +0 -1
- package/components/container/accordion/accordion.component.d.ts +0 -27
- package/components/container/accordion/accordion.component.d.ts.map +0 -1
- package/components/container/accordion/accordion.props.d.ts +0 -15
- package/components/container/accordion/accordion.props.d.ts.map +0 -1
- package/components/container/accordion/accordion.styles.d.ts +0 -21
- package/components/container/accordion/accordion.styles.d.ts.map +0 -1
- package/components/container/accordion/accordionpane/accordionpane.component.d.ts +0 -23
- package/components/container/accordion/accordionpane/accordionpane.component.d.ts.map +0 -1
- package/components/container/accordion/accordionpane/accordionpane.props.d.ts +0 -16
- package/components/container/accordion/accordionpane/accordionpane.props.d.ts.map +0 -1
- package/components/container/accordion/accordionpane/accordionpane.styles.d.ts +0 -4
- package/components/container/accordion/accordionpane/accordionpane.styles.d.ts.map +0 -1
- package/components/container/container.component.d.ts +0 -38
- package/components/container/container.component.d.ts.map +0 -1
- package/components/container/container.props.d.ts +0 -21
- package/components/container/container.props.d.ts.map +0 -1
- package/components/container/container.styles.d.ts +0 -10
- package/components/container/container.styles.d.ts.map +0 -1
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts +0 -11
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.d.ts.map +0 -1
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts +0 -12
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.d.ts.map +0 -1
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts +0 -4
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.d.ts.map +0 -1
- package/components/container/layoutgrid/gridrow/gridrow.component.d.ts +0 -11
- package/components/container/layoutgrid/gridrow/gridrow.component.d.ts.map +0 -1
- package/components/container/layoutgrid/gridrow/gridrow.props.d.ts +0 -10
- package/components/container/layoutgrid/gridrow/gridrow.props.d.ts.map +0 -1
- package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts +0 -7
- package/components/container/layoutgrid/gridrow/gridrow.styles.d.ts.map +0 -1
- package/components/container/layoutgrid/layoutgrid.component.d.ts +0 -13
- package/components/container/layoutgrid/layoutgrid.component.d.ts.map +0 -1
- package/components/container/layoutgrid/layoutgrid.props.d.ts +0 -10
- package/components/container/layoutgrid/layoutgrid.props.d.ts.map +0 -1
- package/components/container/layoutgrid/layoutgrid.styles.d.ts +0 -7
- package/components/container/layoutgrid/layoutgrid.styles.d.ts.map +0 -1
- package/components/container/linearlayout/linearlayout.component.d.ts +0 -15
- package/components/container/linearlayout/linearlayout.component.d.ts.map +0 -1
- package/components/container/linearlayout/linearlayout.props.d.ts +0 -14
- package/components/container/linearlayout/linearlayout.props.d.ts.map +0 -1
- package/components/container/linearlayout/linearlayout.styles.d.ts +0 -7
- package/components/container/linearlayout/linearlayout.styles.d.ts.map +0 -1
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts +0 -11
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.d.ts.map +0 -1
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts +0 -12
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.d.ts.map +0 -1
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts +0 -4
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.d.ts.map +0 -1
- package/components/container/panel/collapsible-pane.component.d.ts +0 -6
- package/components/container/panel/collapsible-pane.component.d.ts.map +0 -1
- package/components/container/panel/panel-content/panel-content.component.d.ts +0 -11
- package/components/container/panel/panel-content/panel-content.component.d.ts.map +0 -1
- package/components/container/panel/panel-content/panel-content.props.d.ts +0 -10
- package/components/container/panel/panel-content/panel-content.props.d.ts.map +0 -1
- package/components/container/panel/panel-content/panel-content.styles.d.ts +0 -4
- package/components/container/panel/panel-content/panel-content.styles.d.ts.map +0 -1
- package/components/container/panel/panel-footer/panel-footer.component.d.ts +0 -11
- package/components/container/panel/panel-footer/panel-footer.component.d.ts.map +0 -1
- package/components/container/panel/panel-footer/panel-footer.props.d.ts +0 -10
- package/components/container/panel/panel-footer/panel-footer.props.d.ts.map +0 -1
- package/components/container/panel/panel-footer/panel-footer.styles.d.ts +0 -4
- package/components/container/panel/panel-footer/panel-footer.styles.d.ts.map +0 -1
- package/components/container/panel/panel.component.d.ts +0 -20
- package/components/container/panel/panel.component.d.ts.map +0 -1
- package/components/container/panel/panel.props.d.ts +0 -23
- package/components/container/panel/panel.props.d.ts.map +0 -1
- package/components/container/panel/panel.styles.d.ts +0 -13
- package/components/container/panel/panel.styles.d.ts.map +0 -1
- package/components/container/partial-host.component.d.ts +0 -19
- package/components/container/partial-host.component.d.ts.map +0 -1
- package/components/container/tabs/tabheader/tabheader.component.d.ts +0 -27
- package/components/container/tabs/tabheader/tabheader.component.d.ts.map +0 -1
- package/components/container/tabs/tabheader/tabheader.props.d.ts +0 -18
- package/components/container/tabs/tabheader/tabheader.props.d.ts.map +0 -1
- package/components/container/tabs/tabheader/tabheader.styles.d.ts +0 -18
- package/components/container/tabs/tabheader/tabheader.styles.d.ts.map +0 -1
- package/components/container/tabs/tabpane/tabpane.component.d.ts +0 -22
- package/components/container/tabs/tabpane/tabpane.component.d.ts.map +0 -1
- package/components/container/tabs/tabpane/tabpane.props.d.ts +0 -19
- package/components/container/tabs/tabpane/tabpane.props.d.ts.map +0 -1
- package/components/container/tabs/tabpane/tabpane.styles.d.ts +0 -4
- package/components/container/tabs/tabpane/tabpane.styles.d.ts.map +0 -1
- package/components/container/tabs/tabs.component.d.ts +0 -37
- package/components/container/tabs/tabs.component.d.ts.map +0 -1
- package/components/container/tabs/tabs.props.d.ts +0 -13
- package/components/container/tabs/tabs.props.d.ts.map +0 -1
- package/components/container/tabs/tabs.styles.d.ts +0 -11
- package/components/container/tabs/tabs.styles.d.ts.map +0 -1
- package/components/container/tile/tile.component.d.ts +0 -13
- package/components/container/tile/tile.component.d.ts.map +0 -1
- package/components/container/tile/tile.props.d.ts +0 -12
- package/components/container/tile/tile.props.d.ts.map +0 -1
- package/components/container/tile/tile.styles.d.ts +0 -7
- package/components/container/tile/tile.styles.d.ts.map +0 -1
- package/components/container/wizard/wizard.component.d.ts +0 -47
- package/components/container/wizard/wizard.component.d.ts.map +0 -1
- package/components/container/wizard/wizard.props.d.ts +0 -28
- package/components/container/wizard/wizard.props.d.ts.map +0 -1
- package/components/container/wizard/wizard.styles.d.ts +0 -48
- package/components/container/wizard/wizard.styles.d.ts.map +0 -1
- package/components/container/wizard/wizardstep/wizardstep.component.d.ts +0 -21
- package/components/container/wizard/wizardstep/wizardstep.component.d.ts.map +0 -1
- package/components/container/wizard/wizardstep/wizardstep.props.d.ts +0 -21
- package/components/container/wizard/wizardstep/wizardstep.props.d.ts.map +0 -1
- package/components/container/wizard/wizardstep/wizardstep.styles.d.ts +0 -4
- package/components/container/wizard/wizardstep/wizardstep.styles.d.ts.map +0 -1
- package/components/data/card/card-content/card-content.component.d.ts +0 -14
- package/components/data/card/card-content/card-content.component.d.ts.map +0 -1
- package/components/data/card/card-content/card-content.props.d.ts +0 -11
- package/components/data/card/card-content/card-content.props.d.ts.map +0 -1
- package/components/data/card/card-content/card-content.styles.d.ts +0 -7
- package/components/data/card/card-content/card-content.styles.d.ts.map +0 -1
- package/components/data/card/card-footer/card-footer.component.d.ts +0 -11
- package/components/data/card/card-footer/card-footer.component.d.ts.map +0 -1
- package/components/data/card/card-footer/card-footer.props.d.ts +0 -10
- package/components/data/card/card-footer/card-footer.props.d.ts.map +0 -1
- package/components/data/card/card-footer/card-footer.styles.d.ts +0 -4
- package/components/data/card/card-footer/card-footer.styles.d.ts.map +0 -1
- package/components/data/card/card.component.d.ts +0 -13
- package/components/data/card/card.component.d.ts.map +0 -1
- package/components/data/card/card.props.d.ts +0 -26
- package/components/data/card/card.props.d.ts.map +0 -1
- package/components/data/card/card.styles.d.ts +0 -16
- package/components/data/card/card.styles.d.ts.map +0 -1
- package/components/data/form/form-action/form-action.component.d.ts +0 -14
- package/components/data/form/form-action/form-action.component.d.ts.map +0 -1
- package/components/data/form/form-action/form-action.props.d.ts +0 -16
- package/components/data/form/form-action/form-action.props.d.ts.map +0 -1
- package/components/data/form/form-action/form-action.styles.d.ts +0 -7
- package/components/data/form/form-action/form-action.styles.d.ts.map +0 -1
- package/components/data/form/form-body/form-body.component.d.ts +0 -11
- package/components/data/form/form-body/form-body.component.d.ts.map +0 -1
- package/components/data/form/form-body/form-body.props.d.ts +0 -10
- package/components/data/form/form-body/form-body.props.d.ts.map +0 -1
- package/components/data/form/form-body/form-body.styles.d.ts +0 -4
- package/components/data/form/form-body/form-body.styles.d.ts.map +0 -1
- package/components/data/form/form-field/form-field.component.d.ts +0 -31
- package/components/data/form/form-field/form-field.component.d.ts.map +0 -1
- package/components/data/form/form-field/form-field.props.d.ts +0 -34
- package/components/data/form/form-field/form-field.props.d.ts.map +0 -1
- package/components/data/form/form-field/form-field.styles.d.ts +0 -7
- package/components/data/form/form-field/form-field.styles.d.ts.map +0 -1
- package/components/data/form/form-footer/form-footer.component.d.ts +0 -11
- package/components/data/form/form-footer/form-footer.component.d.ts.map +0 -1
- package/components/data/form/form-footer/form-footer.props.d.ts +0 -10
- package/components/data/form/form-footer/form-footer.props.d.ts.map +0 -1
- package/components/data/form/form-footer/form-footer.styles.d.ts +0 -4
- package/components/data/form/form-footer/form-footer.styles.d.ts.map +0 -1
- package/components/data/form/form.component.d.ts +0 -62
- package/components/data/form/form.component.d.ts.map +0 -1
- package/components/data/form/form.props.d.ts +0 -31
- package/components/data/form/form.props.d.ts.map +0 -1
- package/components/data/form/form.styles.d.ts +0 -13
- package/components/data/form/form.styles.d.ts.map +0 -1
- package/components/data/list/list-action-template/list-action-template.component.d.ts +0 -13
- package/components/data/list/list-action-template/list-action-template.component.d.ts.map +0 -1
- package/components/data/list/list-action-template/list-action-template.props.d.ts +0 -11
- package/components/data/list/list-action-template/list-action-template.props.d.ts.map +0 -1
- package/components/data/list/list-action-template/list-action-template.styles.d.ts +0 -4
- package/components/data/list/list-action-template/list-action-template.styles.d.ts.map +0 -1
- package/components/data/list/list-template/list-template.component.d.ts +0 -11
- package/components/data/list/list-template/list-template.component.d.ts.map +0 -1
- package/components/data/list/list-template/list-template.props.d.ts +0 -11
- package/components/data/list/list-template/list-template.props.d.ts.map +0 -1
- package/components/data/list/list-template/list-template.styles.d.ts +0 -7
- package/components/data/list/list-template/list-template.styles.d.ts.map +0 -1
- package/components/data/list/list.component.d.ts +0 -60
- package/components/data/list/list.component.d.ts.map +0 -1
- package/components/data/list/list.props.d.ts +0 -50
- package/components/data/list/list.props.d.ts.map +0 -1
- package/components/data/list/list.styles.d.ts +0 -24
- package/components/data/list/list.styles.d.ts.map +0 -1
- package/components/data/liveform/liveform.component.d.ts +0 -15
- package/components/data/liveform/liveform.component.d.ts.map +0 -1
- package/components/device/barcodescanner/barcodescanner.component.d.ts +0 -15
- package/components/device/barcodescanner/barcodescanner.component.d.ts.map +0 -1
- package/components/device/barcodescanner/barcodescanner.props.d.ts +0 -18
- package/components/device/barcodescanner/barcodescanner.props.d.ts.map +0 -1
- package/components/device/barcodescanner/barcodescanner.styles.d.ts +0 -7
- package/components/device/barcodescanner/barcodescanner.styles.d.ts.map +0 -1
- package/components/device/camera/camera.component.d.ts +0 -16
- package/components/device/camera/camera.component.d.ts.map +0 -1
- package/components/device/camera/camera.props.d.ts +0 -24
- package/components/device/camera/camera.props.d.ts.map +0 -1
- package/components/device/camera/camera.styles.d.ts +0 -7
- package/components/device/camera/camera.styles.d.ts.map +0 -1
- package/components/dialogs/alertdialog/alertdialog.component.d.ts +0 -16
- package/components/dialogs/alertdialog/alertdialog.component.d.ts.map +0 -1
- package/components/dialogs/alertdialog/alertdialog.props.d.ts +0 -23
- package/components/dialogs/alertdialog/alertdialog.props.d.ts.map +0 -1
- package/components/dialogs/alertdialog/alertdialog.styles.d.ts +0 -15
- package/components/dialogs/alertdialog/alertdialog.styles.d.ts.map +0 -1
- package/components/dialogs/confirmdialog/confirmdialog.component.d.ts +0 -16
- package/components/dialogs/confirmdialog/confirmdialog.component.d.ts.map +0 -1
- package/components/dialogs/confirmdialog/confirmdialog.props.d.ts +0 -23
- package/components/dialogs/confirmdialog/confirmdialog.props.d.ts.map +0 -1
- package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts +0 -16
- package/components/dialogs/confirmdialog/confirmdialog.styles.d.ts.map +0 -1
- package/components/dialogs/dialog/dialog.component.d.ts +0 -17
- package/components/dialogs/dialog/dialog.component.d.ts.map +0 -1
- package/components/dialogs/dialog/dialog.props.d.ts +0 -25
- package/components/dialogs/dialog/dialog.props.d.ts.map +0 -1
- package/components/dialogs/dialog/dialog.styles.d.ts +0 -12
- package/components/dialogs/dialog/dialog.styles.d.ts.map +0 -1
- package/components/dialogs/dialogactions/dialogactions.component.d.ts +0 -12
- package/components/dialogs/dialogactions/dialogactions.component.d.ts.map +0 -1
- package/components/dialogs/dialogactions/dialogactions.props.d.ts +0 -10
- package/components/dialogs/dialogactions/dialogactions.props.d.ts.map +0 -1
- package/components/dialogs/dialogactions/dialogactions.styles.d.ts +0 -4
- package/components/dialogs/dialogactions/dialogactions.styles.d.ts.map +0 -1
- package/components/dialogs/dialogcontent/dialogcontent.component.d.ts +0 -11
- package/components/dialogs/dialogcontent/dialogcontent.component.d.ts.map +0 -1
- package/components/dialogs/dialogcontent/dialogcontent.props.d.ts +0 -10
- package/components/dialogs/dialogcontent/dialogcontent.props.d.ts.map +0 -1
- package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts +0 -4
- package/components/dialogs/dialogcontent/dialogcontent.styles.d.ts.map +0 -1
- package/components/input/basedataset/basedataset.component.d.ts +0 -28
- package/components/input/basedataset/basedataset.component.d.ts.map +0 -1
- package/components/input/basedataset/basedataset.props.d.ts +0 -31
- package/components/input/basedataset/basedataset.props.d.ts.map +0 -1
- package/components/input/basedataset/basedataset.styles.d.ts +0 -4
- package/components/input/basedataset/basedataset.styles.d.ts.map +0 -1
- package/components/input/baseinput/baseinput.component.d.ts +0 -33
- package/components/input/baseinput/baseinput.component.d.ts.map +0 -1
- package/components/input/baseinput/baseinput.props.d.ts +0 -29
- package/components/input/baseinput/baseinput.props.d.ts.map +0 -1
- package/components/input/baseinput/baseinput.styles.d.ts +0 -4
- package/components/input/baseinput/baseinput.styles.d.ts.map +0 -1
- package/components/input/basenumber/basenumber.component.d.ts +0 -58
- package/components/input/basenumber/basenumber.component.d.ts.map +0 -1
- package/components/input/basenumber/basenumber.props.d.ts +0 -26
- package/components/input/basenumber/basenumber.props.d.ts.map +0 -1
- package/components/input/basenumber/basenumber.styles.d.ts +0 -4
- package/components/input/basenumber/basenumber.styles.d.ts.map +0 -1
- package/components/input/calendar/calendar.component.d.ts +0 -23
- package/components/input/calendar/calendar.component.d.ts.map +0 -1
- package/components/input/calendar/calendar.props.d.ts +0 -15
- package/components/input/calendar/calendar.props.d.ts.map +0 -1
- package/components/input/calendar/calendar.styles.d.ts +0 -30
- package/components/input/calendar/calendar.styles.d.ts.map +0 -1
- package/components/input/calendar/views/month-view.d.ts +0 -55
- package/components/input/calendar/views/month-view.d.ts.map +0 -1
- package/components/input/calendar/views/month-view.styles.d.ts +0 -34
- package/components/input/calendar/views/month-view.styles.d.ts.map +0 -1
- package/components/input/checkbox/checkbox.component.d.ts +0 -20
- package/components/input/checkbox/checkbox.component.d.ts.map +0 -1
- package/components/input/checkbox/checkbox.props.d.ts +0 -19
- package/components/input/checkbox/checkbox.props.d.ts.map +0 -1
- package/components/input/checkbox/checkbox.styles.d.ts +0 -12
- package/components/input/checkbox/checkbox.styles.d.ts.map +0 -1
- package/components/input/checkboxset/checkboxset.component.d.ts +0 -22
- package/components/input/checkboxset/checkboxset.component.d.ts.map +0 -1
- package/components/input/checkboxset/checkboxset.props.d.ts +0 -15
- package/components/input/checkboxset/checkboxset.props.d.ts.map +0 -1
- package/components/input/checkboxset/checkboxset.styles.d.ts +0 -14
- package/components/input/checkboxset/checkboxset.styles.d.ts.map +0 -1
- package/components/input/chips/chips.component.d.ts +0 -44
- package/components/input/chips/chips.component.d.ts.map +0 -1
- package/components/input/chips/chips.props.d.ts +0 -27
- package/components/input/chips/chips.props.d.ts.map +0 -1
- package/components/input/chips/chips.styles.d.ts +0 -35
- package/components/input/chips/chips.styles.d.ts.map +0 -1
- package/components/input/composite/composite.component.d.ts +0 -11
- package/components/input/composite/composite.component.d.ts.map +0 -1
- package/components/input/composite/composite.props.d.ts +0 -11
- package/components/input/composite/composite.props.d.ts.map +0 -1
- package/components/input/composite/composite.styles.d.ts +0 -4
- package/components/input/composite/composite.styles.d.ts.map +0 -1
- package/components/input/currency/currency.component.d.ts +0 -15
- package/components/input/currency/currency.component.d.ts.map +0 -1
- package/components/input/currency/currency.props.d.ts +0 -9
- package/components/input/currency/currency.props.d.ts.map +0 -1
- package/components/input/currency/currency.styles.d.ts +0 -18
- package/components/input/currency/currency.styles.d.ts.map +0 -1
- package/components/input/epoch/base-datetime.component.d.ts +0 -50
- package/components/input/epoch/base-datetime.component.d.ts.map +0 -1
- package/components/input/epoch/date/date.component.d.ts +0 -9
- package/components/input/epoch/date/date.component.d.ts.map +0 -1
- package/components/input/epoch/date/date.props.d.ts +0 -5
- package/components/input/epoch/date/date.props.d.ts.map +0 -1
- package/components/input/epoch/date/date.styles.d.ts +0 -4
- package/components/input/epoch/date/date.styles.d.ts.map +0 -1
- package/components/input/epoch/date-picker.component.d.ts +0 -28
- package/components/input/epoch/date-picker.component.d.ts.map +0 -1
- package/components/input/epoch/datetime/datetime.component.d.ts +0 -9
- package/components/input/epoch/datetime/datetime.component.d.ts.map +0 -1
- package/components/input/epoch/datetime/datetime.props.d.ts +0 -37
- package/components/input/epoch/datetime/datetime.props.d.ts.map +0 -1
- package/components/input/epoch/datetime/datetime.styles.d.ts +0 -24
- package/components/input/epoch/datetime/datetime.styles.d.ts.map +0 -1
- package/components/input/epoch/time/time.component.d.ts +0 -11
- package/components/input/epoch/time/time.component.d.ts.map +0 -1
- package/components/input/epoch/time/time.props.d.ts +0 -6
- package/components/input/epoch/time/time.props.d.ts.map +0 -1
- package/components/input/epoch/time/time.styles.d.ts +0 -4
- package/components/input/epoch/time/time.styles.d.ts.map +0 -1
- package/components/input/epoch/wheel-date-picker.component.d.ts +0 -42
- package/components/input/epoch/wheel-date-picker.component.d.ts.map +0 -1
- package/components/input/epoch/wheel-time-picker.component.d.ts +0 -22
- package/components/input/epoch/wheel-time-picker.component.d.ts.map +0 -1
- package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts +0 -18
- package/components/input/epoch/wheelpicker/wheelpicker.component.d.ts.map +0 -1
- package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts +0 -10
- package/components/input/epoch/wheelpicker/wheelpicker.props.d.ts.map +0 -1
- package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts +0 -12
- package/components/input/epoch/wheelpicker/wheelpicker.styles.d.ts.map +0 -1
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts +0 -13
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.d.ts.map +0 -1
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts +0 -14
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.d.ts.map +0 -1
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts +0 -12
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.d.ts.map +0 -1
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts +0 -13
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.d.ts.map +0 -1
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts +0 -13
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.d.ts.map +0 -1
- package/components/input/fileupload/fileupload.component.d.ts +0 -21
- package/components/input/fileupload/fileupload.component.d.ts.map +0 -1
- package/components/input/fileupload/fileupload.props.d.ts +0 -18
- package/components/input/fileupload/fileupload.props.d.ts.map +0 -1
- package/components/input/fileupload/fileupload.styles.d.ts +0 -7
- package/components/input/fileupload/fileupload.styles.d.ts.map +0 -1
- package/components/input/number/number.component.d.ts +0 -14
- package/components/input/number/number.component.d.ts.map +0 -1
- package/components/input/number/number.props.d.ts +0 -9
- package/components/input/number/number.props.d.ts.map +0 -1
- package/components/input/number/number.styles.d.ts +0 -14
- package/components/input/number/number.styles.d.ts.map +0 -1
- package/components/input/radioset/radioset.component.d.ts +0 -19
- package/components/input/radioset/radioset.component.d.ts.map +0 -1
- package/components/input/radioset/radioset.props.d.ts +0 -14
- package/components/input/radioset/radioset.props.d.ts.map +0 -1
- package/components/input/radioset/radioset.styles.d.ts +0 -16
- package/components/input/radioset/radioset.styles.d.ts.map +0 -1
- package/components/input/rating/rating.component.d.ts +0 -19
- package/components/input/rating/rating.component.d.ts.map +0 -1
- package/components/input/rating/rating.props.d.ts +0 -27
- package/components/input/rating/rating.props.d.ts.map +0 -1
- package/components/input/rating/rating.styles.d.ts +0 -8
- package/components/input/rating/rating.styles.d.ts.map +0 -1
- package/components/input/select/select.component.d.ts +0 -37
- package/components/input/select/select.component.d.ts.map +0 -1
- package/components/input/select/select.props.d.ts +0 -10
- package/components/input/select/select.props.d.ts.map +0 -1
- package/components/input/select/select.styles.d.ts +0 -25
- package/components/input/select/select.styles.d.ts.map +0 -1
- package/components/input/slider/slider.component.d.ts +0 -55
- package/components/input/slider/slider.component.d.ts.map +0 -1
- package/components/input/slider/slider.props.d.ts +0 -22
- package/components/input/slider/slider.props.d.ts.map +0 -1
- package/components/input/slider/slider.styles.d.ts +0 -24
- package/components/input/slider/slider.styles.d.ts.map +0 -1
- package/components/input/switch/switch.component.d.ts +0 -15
- package/components/input/switch/switch.component.d.ts.map +0 -1
- package/components/input/switch/switch.props.d.ts +0 -11
- package/components/input/switch/switch.props.d.ts.map +0 -1
- package/components/input/switch/switch.styles.d.ts +0 -17
- package/components/input/switch/switch.styles.d.ts.map +0 -1
- package/components/input/text/text.component.d.ts +0 -13
- package/components/input/text/text.component.d.ts.map +0 -1
- package/components/input/text/text.props.d.ts +0 -13
- package/components/input/text/text.props.d.ts.map +0 -1
- package/components/input/text/text.styles.d.ts +0 -13
- package/components/input/text/text.styles.d.ts.map +0 -1
- package/components/input/textarea/textarea.component.d.ts +0 -13
- package/components/input/textarea/textarea.component.d.ts.map +0 -1
- package/components/input/textarea/textarea.props.d.ts +0 -11
- package/components/input/textarea/textarea.props.d.ts.map +0 -1
- package/components/input/textarea/textarea.styles.d.ts +0 -14
- package/components/input/textarea/textarea.styles.d.ts.map +0 -1
- package/components/input/toggle/toggle.component.d.ts +0 -25
- package/components/input/toggle/toggle.component.d.ts.map +0 -1
- package/components/input/toggle/toggle.props.d.ts +0 -27
- package/components/input/toggle/toggle.props.d.ts.map +0 -1
- package/components/input/toggle/toggle.styles.d.ts +0 -12
- package/components/input/toggle/toggle.styles.d.ts.map +0 -1
- package/components/navigation/appnavbar/appnavbar.component.d.ts +0 -18
- package/components/navigation/appnavbar/appnavbar.component.d.ts.map +0 -1
- package/components/navigation/appnavbar/appnavbar.props.d.ts +0 -21
- package/components/navigation/appnavbar/appnavbar.props.d.ts.map +0 -1
- package/components/navigation/appnavbar/appnavbar.styles.d.ts +0 -17
- package/components/navigation/appnavbar/appnavbar.styles.d.ts.map +0 -1
- package/components/navigation/basenav/basenav.component.d.ts +0 -24
- package/components/navigation/basenav/basenav.component.d.ts.map +0 -1
- package/components/navigation/basenav/basenav.props.d.ts +0 -12
- package/components/navigation/basenav/basenav.props.d.ts.map +0 -1
- package/components/navigation/basenav/basenav.styles.d.ts +0 -4
- package/components/navigation/basenav/basenav.styles.d.ts.map +0 -1
- package/components/navigation/menu/menu.component.d.ts +0 -14
- package/components/navigation/menu/menu.component.d.ts.map +0 -1
- package/components/navigation/menu/menu.props.d.ts +0 -12
- package/components/navigation/menu/menu.props.d.ts.map +0 -1
- package/components/navigation/menu/menu.styles.d.ts +0 -9
- package/components/navigation/menu/menu.styles.d.ts.map +0 -1
- package/components/navigation/navbar/navbar.component.d.ts +0 -18
- package/components/navigation/navbar/navbar.component.d.ts.map +0 -1
- package/components/navigation/navbar/navbar.props.d.ts +0 -17
- package/components/navigation/navbar/navbar.props.d.ts.map +0 -1
- package/components/navigation/navbar/navbar.styles.d.ts +0 -10
- package/components/navigation/navbar/navbar.styles.d.ts.map +0 -1
- package/components/navigation/navitem/navitem.component.d.ts +0 -15
- package/components/navigation/navitem/navitem.component.d.ts.map +0 -1
- package/components/navigation/navitem/navitem.props.d.ts +0 -21
- package/components/navigation/navitem/navitem.props.d.ts.map +0 -1
- package/components/navigation/navitem/navitem.styles.d.ts +0 -11
- package/components/navigation/navitem/navitem.styles.d.ts.map +0 -1
- package/components/navigation/popover/popover.component.d.ts +0 -36
- package/components/navigation/popover/popover.component.d.ts.map +0 -1
- package/components/navigation/popover/popover.props.d.ts +0 -35
- package/components/navigation/popover/popover.props.d.ts.map +0 -1
- package/components/navigation/popover/popover.styles.d.ts +0 -16
- package/components/navigation/popover/popover.styles.d.ts.map +0 -1
- package/components/page/content/content.component.d.ts +0 -11
- package/components/page/content/content.component.d.ts.map +0 -1
- package/components/page/content/content.props.d.ts +0 -6
- package/components/page/content/content.props.d.ts.map +0 -1
- package/components/page/content/content.styles.d.ts +0 -4
- package/components/page/content/content.styles.d.ts.map +0 -1
- package/components/page/left-panel/left-panel.component.d.ts +0 -15
- package/components/page/left-panel/left-panel.component.d.ts.map +0 -1
- package/components/page/left-panel/left-panel.props.d.ts +0 -11
- package/components/page/left-panel/left-panel.props.d.ts.map +0 -1
- package/components/page/left-panel/left-panel.styles.d.ts +0 -4
- package/components/page/left-panel/left-panel.styles.d.ts.map +0 -1
- package/components/page/page-content/page-content.component.d.ts +0 -26
- package/components/page/page-content/page-content.component.d.ts.map +0 -1
- package/components/page/page-content/page-content.props.d.ts +0 -17
- package/components/page/page-content/page-content.props.d.ts.map +0 -1
- package/components/page/page-content/page-content.styles.d.ts +0 -7
- package/components/page/page-content/page-content.styles.d.ts.map +0 -1
- package/components/page/page.component.d.ts +0 -16
- package/components/page/page.component.d.ts.map +0 -1
- package/components/page/page.props.d.ts +0 -15
- package/components/page/page.props.d.ts.map +0 -1
- package/components/page/page.styles.d.ts +0 -7
- package/components/page/page.styles.d.ts.map +0 -1
- package/components/page/partial/partial.component.d.ts +0 -12
- package/components/page/partial/partial.component.d.ts.map +0 -1
- package/components/page/partial/partial.props.d.ts +0 -6
- package/components/page/partial/partial.props.d.ts.map +0 -1
- package/components/page/partial/partial.styles.d.ts +0 -7
- package/components/page/partial/partial.styles.d.ts.map +0 -1
- package/components/page/partial-container/partial-container.component.d.ts +0 -11
- package/components/page/partial-container/partial-container.component.d.ts.map +0 -1
- package/components/page/partial-container/partial-container.props.d.ts +0 -11
- package/components/page/partial-container/partial-container.props.d.ts.map +0 -1
- package/components/page/partial-container/partial-container.styles.d.ts +0 -4
- package/components/page/partial-container/partial-container.styles.d.ts.map +0 -1
- package/components/page/tabbar/curve.d.ts +0 -2
- package/components/page/tabbar/curve.d.ts.map +0 -1
- package/components/page/tabbar/tabbar.component.d.ts +0 -42
- package/components/page/tabbar/tabbar.component.d.ts.map +0 -1
- package/components/page/tabbar/tabbar.props.d.ts +0 -15
- package/components/page/tabbar/tabbar.props.d.ts.map +0 -1
- package/components/page/tabbar/tabbar.styles.d.ts +0 -20
- package/components/page/tabbar/tabbar.styles.d.ts.map +0 -1
- package/components/prefab/prefab-container.component.d.ts +0 -12
- package/components/prefab/prefab-container.component.d.ts.map +0 -1
- package/components/prefab/prefab-container.props.d.ts +0 -6
- package/components/prefab/prefab-container.props.d.ts.map +0 -1
- package/components/prefab/prefab-container.styles.d.ts +0 -7
- package/components/prefab/prefab-container.styles.d.ts.map +0 -1
- package/core/AppConfig.d.ts +0 -46
- package/core/AppConfig.d.ts.map +0 -1
- package/core/accessibility.d.ts +0 -61
- package/core/accessibility.d.ts.map +0 -1
- package/core/asset.provider.d.ts +0 -4
- package/core/asset.provider.d.ts.map +0 -1
- package/core/base.component.d.ts +0 -191
- package/core/base.component.d.ts.map +0 -1
- package/core/components/error-fallback/error-fallback.component.d.ts +0 -4
- package/core/components/error-fallback/error-fallback.component.d.ts.map +0 -1
- package/core/components/error-fallback/error-fallback.styles.d.ts +0 -29
- package/core/components/error-fallback/error-fallback.styles.d.ts.map +0 -1
- package/core/components/floatinglabel.component.d.ts +0 -8
- package/core/components/floatinglabel.component.d.ts.map +0 -1
- package/core/components/sticky-base.component.d.ts +0 -31
- package/core/components/sticky-base.component.d.ts.map +0 -1
- package/core/components/sticky-container.component.d.ts +0 -14
- package/core/components/sticky-container.component.d.ts.map +0 -1
- package/core/components/sticky-container.styles.d.ts +0 -11
- package/core/components/sticky-container.styles.d.ts.map +0 -1
- package/core/components/sticky-nav.component.d.ts +0 -14
- package/core/components/sticky-nav.component.d.ts.map +0 -1
- package/core/components/textinput.component.d.ts +0 -17
- package/core/components/textinput.component.d.ts.map +0 -1
- package/core/constant.service.d.ts +0 -18
- package/core/constant.service.d.ts.map +0 -1
- package/core/constants/currency-constants.d.ts +0 -1073
- package/core/constants/currency-constants.d.ts.map +0 -1
- package/core/currency-constants.d.ts +0 -2
- package/core/currency-constants.d.ts.map +0 -1
- package/core/device/av-service.d.ts +0 -13
- package/core/device/av-service.d.ts.map +0 -1
- package/core/device/calendar-service.d.ts +0 -25
- package/core/device/calendar-service.d.ts.map +0 -1
- package/core/device/camera-service.d.ts +0 -27
- package/core/device/camera-service.d.ts.map +0 -1
- package/core/device/contacts-service.d.ts +0 -17
- package/core/device/contacts-service.d.ts.map +0 -1
- package/core/device/fileupload-service.d.ts +0 -7
- package/core/device/fileupload-service.d.ts.map +0 -1
- package/core/device/location-service.d.ts +0 -17
- package/core/device/location-service.d.ts.map +0 -1
- package/core/device/openfile-service.d.ts +0 -52
- package/core/device/openfile-service.d.ts.map +0 -1
- package/core/device/scan-service.d.ts +0 -13
- package/core/device/scan-service.d.ts.map +0 -1
- package/core/display.manager.d.ts +0 -12
- package/core/display.manager.d.ts.map +0 -1
- package/core/error-boundary.component.d.ts +0 -21
- package/core/error-boundary.component.d.ts.map +0 -1
- package/core/event-notifier.d.ts +0 -14
- package/core/event-notifier.d.ts.map +0 -1
- package/core/file-extension-types.d.ts +0 -2
- package/core/file-extension-types.d.ts.map +0 -1
- package/core/fixed-view.component.d.ts +0 -33
- package/core/fixed-view.component.d.ts.map +0 -1
- package/core/formatters.d.ts +0 -28
- package/core/formatters.d.ts.map +0 -1
- package/core/i18n.service.d.ts +0 -6
- package/core/i18n.service.d.ts.map +0 -1
- package/core/if.component.d.ts +0 -12
- package/core/if.component.d.ts.map +0 -1
- package/core/imageSizeEstimator.d.ts +0 -14
- package/core/imageSizeEstimator.d.ts.map +0 -1
- package/core/injector.d.ts +0 -18
- package/core/injector.d.ts.map +0 -1
- package/core/key.extractor.d.ts +0 -7
- package/core/key.extractor.d.ts.map +0 -1
- package/core/logger.d.ts +0 -26
- package/core/logger.d.ts.map +0 -1
- package/core/modal.service.d.ts +0 -22
- package/core/modal.service.d.ts.map +0 -1
- package/core/navigation.service.d.ts +0 -32
- package/core/navigation.service.d.ts.map +0 -1
- package/core/network.service.d.ts +0 -114
- package/core/network.service.d.ts.map +0 -1
- package/core/partial.service.d.ts +0 -10
- package/core/partial.service.d.ts.map +0 -1
- package/core/props.provider.d.ts +0 -19
- package/core/props.provider.d.ts.map +0 -1
- package/core/responsive.utils.d.ts +0 -24
- package/core/responsive.utils.d.ts.map +0 -1
- package/core/screen-capture-protection.service.d.ts +0 -8
- package/core/screen-capture-protection.service.d.ts.map +0 -1
- package/core/scroll-view.component.d.ts +0 -19
- package/core/scroll-view.component.d.ts.map +0 -1
- package/core/secure-storage.service.d.ts +0 -10
- package/core/secure-storage.service.d.ts.map +0 -1
- package/core/security.service.d.ts +0 -13
- package/core/security.service.d.ts.map +0 -1
- package/core/spinner.service.d.ts +0 -13
- package/core/spinner.service.d.ts.map +0 -1
- package/core/sticky-view.component.d.ts +0 -21
- package/core/sticky-view.component.d.ts.map +0 -1
- package/core/sticky-wrapper.d.ts +0 -31
- package/core/sticky-wrapper.d.ts.map +0 -1
- package/core/storage.service.d.ts +0 -11
- package/core/storage.service.d.ts.map +0 -1
- package/core/tappable.component.d.ts +0 -40
- package/core/tappable.component.d.ts.map +0 -1
- package/core/testid.provider.d.ts +0 -4
- package/core/testid.provider.d.ts.map +0 -1
- package/core/toast.service.d.ts +0 -24
- package/core/toast.service.d.ts.map +0 -1
- package/core/ui-preferences.context.d.ts +0 -11
- package/core/ui-preferences.context.d.ts.map +0 -1
- package/core/utils.d.ts +0 -167
- package/core/utils.d.ts.map +0 -1
- package/core/viewport.d.ts +0 -19
- package/core/viewport.d.ts.map +0 -1
- package/core/wm-component-tree.d.ts +0 -22
- package/core/wm-component-tree.d.ts.map +0 -1
- package/gestures/carousel-swipe.animation.d.ts +0 -56
- package/gestures/carousel-swipe.animation.d.ts.map +0 -1
- package/gestures/swipe.animation.d.ts +0 -51
- package/gestures/swipe.animation.d.ts.map +0 -1
- package/index.d.ts +0 -2
- package/index.d.ts.map +0 -1
- package/runtime/App.d.ts +0 -129
- package/runtime/App.d.ts.map +0 -1
- package/runtime/App.navigator.d.ts +0 -11
- package/runtime/App.navigator.d.ts.map +0 -1
- package/runtime/base-customwidget.component.d.ts +0 -24
- package/runtime/base-customwidget.component.d.ts.map +0 -1
- package/runtime/base-fragment.component.d.ts +0 -91
- package/runtime/base-fragment.component.d.ts.map +0 -1
- package/runtime/base-page.component.d.ts +0 -42
- package/runtime/base-page.component.d.ts.map +0 -1
- package/runtime/base-partial.component.d.ts +0 -29
- package/runtime/base-partial.component.d.ts.map +0 -1
- package/runtime/base-prefab.component.d.ts +0 -29
- package/runtime/base-prefab.component.d.ts.map +0 -1
- package/runtime/lib-patch.d.ts +0 -8
- package/runtime/lib-patch.d.ts.map +0 -1
- package/runtime/memo.component.d.ts +0 -20
- package/runtime/memo.component.d.ts.map +0 -1
- package/runtime/navigator/drawer.navigator.d.ts +0 -14
- package/runtime/navigator/drawer.navigator.d.ts.map +0 -1
- package/runtime/navigator/stack.navigator.d.ts +0 -8
- package/runtime/navigator/stack.navigator.d.ts.map +0 -1
- package/runtime/platform.api.d.ts +0 -13
- package/runtime/platform.api.d.ts.map +0 -1
- package/runtime/services/app-display-manager.service.d.ts +0 -16
- package/runtime/services/app-display-manager.service.d.ts.map +0 -1
- package/runtime/services/app-i18n.service.d.ts +0 -33
- package/runtime/services/app-i18n.service.d.ts.map +0 -1
- package/runtime/services/app-modal.service.d.ts +0 -19
- package/runtime/services/app-modal.service.d.ts.map +0 -1
- package/runtime/services/app-security.service.d.ts +0 -30
- package/runtime/services/app-security.service.d.ts.map +0 -1
- package/runtime/services/app-spinner.service.d.ts +0 -20
- package/runtime/services/app-spinner.service.d.ts.map +0 -1
- package/runtime/services/app-toast.service.d.ts +0 -13
- package/runtime/services/app-toast.service.d.ts.map +0 -1
- package/runtime/services/device/calendar-service.d.ts +0 -11
- package/runtime/services/device/calendar-service.d.ts.map +0 -1
- package/runtime/services/device/camera-service.d.ts +0 -63
- package/runtime/services/device/camera-service.d.ts.map +0 -1
- package/runtime/services/device/contacts-service.d.ts +0 -7
- package/runtime/services/device/contacts-service.d.ts.map +0 -1
- package/runtime/services/device/location-service.d.ts +0 -6
- package/runtime/services/device/location-service.d.ts.map +0 -1
- package/runtime/services/device/permission-service.d.ts +0 -7
- package/runtime/services/device/permission-service.d.ts.map +0 -1
- package/runtime/services/device/permissions.d.ts +0 -5
- package/runtime/services/device/permissions.d.ts.map +0 -1
- package/runtime/services/device/scan-service.d.ts +0 -19
- package/runtime/services/device/scan-service.d.ts.map +0 -1
- package/runtime/services/partial.service.d.ts +0 -12
- package/runtime/services/partial.service.d.ts.map +0 -1
- package/runtime/services/webprocess.service.d.ts +0 -10
- package/runtime/services/webprocess.service.d.ts.map +0 -1
- package/runtime/watcher.d.ts +0 -33
- package/runtime/watcher.d.ts.map +0 -1
- package/styles/MediaQueryList.d.ts +0 -6
- package/styles/MediaQueryList.d.ts.map +0 -1
- package/styles/background.component.d.ts +0 -57
- package/styles/background.component.d.ts.map +0 -1
- package/styles/calc.d.ts +0 -24
- package/styles/calc.d.ts.map +0 -1
- package/styles/color-mix.d.ts +0 -5
- package/styles/color-mix.d.ts.map +0 -1
- package/styles/style-prop.validator.d.ts +0 -4
- package/styles/style-prop.validator.d.ts.map +0 -1
- package/styles/style-props.d.ts +0 -49
- package/styles/style-props.d.ts.map +0 -1
- package/styles/theme.d.ts +0 -66
- package/styles/theme.d.ts.map +0 -1
- package/styles/theme.variables.d.ts +0 -379
- package/styles/theme.variables.d.ts.map +0 -1
- package/variables/base-variable.d.ts +0 -50
- package/variables/base-variable.d.ts.map +0 -1
- package/variables/device/calendar/create-event.operation.d.ts +0 -18
- package/variables/device/calendar/create-event.operation.d.ts.map +0 -1
- package/variables/device/calendar/delete-event.operation.d.ts +0 -14
- package/variables/device/calendar/delete-event.operation.d.ts.map +0 -1
- package/variables/device/calendar/get-events.operation.d.ts +0 -18
- package/variables/device/calendar/get-events.operation.d.ts.map +0 -1
- package/variables/device/camera/capture-image.operation.d.ts +0 -14
- package/variables/device/camera/capture-image.operation.d.ts.map +0 -1
- package/variables/device/camera/capture-video.operation.d.ts +0 -14
- package/variables/device/camera/capture-video.operation.d.ts.map +0 -1
- package/variables/device/contacts/get-contacts.operation.d.ts +0 -19
- package/variables/device/contacts/get-contacts.operation.d.ts.map +0 -1
- package/variables/device/device/app-info.operation.d.ts +0 -13
- package/variables/device/device/app-info.operation.d.ts.map +0 -1
- package/variables/device/device/current-geo-position.operation.d.ts +0 -31
- package/variables/device/device/current-geo-position.operation.d.ts.map +0 -1
- package/variables/device/device/device-info.operation.d.ts +0 -11
- package/variables/device/device/device-info.operation.d.ts.map +0 -1
- package/variables/device/device/network-info.operation.d.ts +0 -14
- package/variables/device/device/network-info.operation.d.ts.map +0 -1
- package/variables/device/device/vibrate.operation.d.ts +0 -8
- package/variables/device/device/vibrate.operation.d.ts.map +0 -1
- package/variables/device/file/open-file.operation.d.ts +0 -31
- package/variables/device/file/open-file.operation.d.ts.map +0 -1
- package/variables/device/file/upload-file.operation.d.ts +0 -23
- package/variables/device/file/upload-file.operation.d.ts.map +0 -1
- package/variables/device/operation.provider.d.ts +0 -15
- package/variables/device/operation.provider.d.ts.map +0 -1
- package/variables/device/scan/scan.operation.d.ts +0 -21
- package/variables/device/scan/scan.operation.d.ts.map +0 -1
- package/variables/device-variable.d.ts +0 -10
- package/variables/device-variable.d.ts.map +0 -1
- package/variables/http.service.d.ts +0 -11
- package/variables/http.service.d.ts.map +0 -1
- package/variables/live-variable.d.ts +0 -44
- package/variables/live-variable.d.ts.map +0 -1
- package/variables/model-variable.d.ts +0 -10
- package/variables/model-variable.d.ts.map +0 -1
- package/variables/service-variable.d.ts +0 -33
- package/variables/service-variable.d.ts.map +0 -1
- package/variables/utils/dataset-util.d.ts +0 -32
- package/variables/utils/dataset-util.d.ts.map +0 -1
- package/variables/utils/inflight-queue.d.ts +0 -36
- package/variables/utils/inflight-queue.d.ts.map +0 -1
- package/variables/utils/variable.constants.d.ts +0 -22
- package/variables/utils/variable.constants.d.ts.map +0 -1
- package/variables/utils/variable.utils.d.ts +0 -21
- package/variables/utils/variable.utils.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SkeletonAnimationProps","BaseChartComponentProps","constructor","args","_defineProperty"],"sources":["basechart.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { SkeletonAnimationProps } from '@wavemaker/app-rn-runtime/runtime/base-fragment.component';\nimport { AccessibilityRole } from 'react-native';\n\nexport default class BaseChartComponentProps extends SkeletonAnimationProps {\n xaxisdatakey
|
|
1
|
+
{"version":3,"names":["SkeletonAnimationProps","BaseChartComponentProps","constructor","args","_defineProperty","undefined"],"sources":["basechart.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { SkeletonAnimationProps } from '@wavemaker/app-rn-runtime/runtime/base-fragment.component';\nimport { AccessibilityRole } from 'react-native';\n\nexport default class BaseChartComponentProps extends SkeletonAnimationProps {\n xaxisdatakey: string = '';\n yaxisdatakey: string = '';\n iconclass = '';\n dataset: any;\n type: string = '';\n title: string = '';\n subheading: string = '';\n theme: string = '';\n xaxislabel: string = '';\n xunits: string = '';\n staggerlabels: boolean = false;\n yaxislabel: string = '';\n yunits: string = '';\n yaxislabeldistance?: number = undefined;\n xaxislabeldistance?: number = undefined;\n offsetxaxis?: number = undefined;\n offsetyaxis?: number = undefined;\n customcolors: string | Array<string> = '';\n labelcolors: string | Array<string> = '';\n legendheight: number = 0;\n labellegendheight: number = 0;\n labeltype: 'percent' | 'value' | 'key-value' | 'key' = 'percent';\n bubblesize: string= '';\n shape: string = '';\n loadingicon='fa fa-circle-o-notch fa-pulse';\n loadingdatamsg = 'Loading...';\n nodatamessage = 'No data found';\n offsetbottom: number = 50;\n offsettop: number = 70;\n offsetleft: number = 65;\n offsetright: number = 25;\n showlegend: string = 'top';\n showlabels: 'inside' | 'outside' | 'hide' = 'outside';\n tooltips: boolean = true;\n interpolation: string = 'linear';\n highlightpoints: boolean = false;\n showvalues: boolean = false;\n showyaxis: boolean = true;\n showxaxis: boolean = true;\n ydomain: string = 'Min';\n xdomain: string = 'Min';\n labelangle: number = 0;\n xtickexpr?: (item: any, index: number, length: number) => any;\n ytickexpr?: (item: any, index: number, length: number) => any;\n hidegridxaxis: boolean = false;\n hidegridyaxis: boolean = false;\n autoadjustlabels: boolean = false;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole;\n renderitempartial?: (item: any, index: number, partialName: string)=> React.ReactNode;\n ynumberformat?: string = '';\n showxaxislabels: boolean = true;\n showyaxislabels: boolean = true;\n chartheight?: number;\n}\n"],"mappings":";;;AACA,SAASA,sBAAsB,QAAQ,2DAA2D;AAGlG,eAAe,MAAMC,uBAAuB,SAASD,sBAAsB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,uBACnD,EAAE;IAAAA,eAAA,uBACF,EAAE;IAAAA,eAAA,oBACb,EAAE;IAAAA,eAAA;IAAAA,eAAA,eAEC,EAAE;IAAAA,eAAA,gBACD,EAAE;IAAAA,eAAA,qBACG,EAAE;IAAAA,eAAA,gBACP,EAAE;IAAAA,eAAA,qBACG,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,wBACM,KAAK;IAAAA,eAAA,qBACT,EAAE;IAAAA,eAAA,iBACN,EAAE;IAAAA,eAAA,6BACWC,SAAS;IAAAD,eAAA,6BACTC,SAAS;IAAAD,eAAA,sBAChBC,SAAS;IAAAD,eAAA,sBACTC,SAAS;IAAAD,eAAA,uBACO,EAAE;IAAAA,eAAA,sBACH,EAAE;IAAAA,eAAA,uBACjB,CAAC;IAAAA,eAAA,4BACI,CAAC;IAAAA,eAAA,oBAC0B,SAAS;IAAAA,eAAA,qBAC5C,EAAE;IAAAA,eAAA,gBACN,EAAE;IAAAA,eAAA,sBACN,+BAA+B;IAAAA,eAAA,yBAC1B,YAAY;IAAAA,eAAA,wBACb,eAAe;IAAAA,eAAA,uBACR,EAAE;IAAAA,eAAA,oBACL,EAAE;IAAAA,eAAA,qBACD,EAAE;IAAAA,eAAA,sBACD,EAAE;IAAAA,eAAA,qBACH,KAAK;IAAAA,eAAA,qBACkB,SAAS;IAAAA,eAAA,mBACjC,IAAI;IAAAA,eAAA,wBACA,QAAQ;IAAAA,eAAA,0BACL,KAAK;IAAAA,eAAA,qBACV,KAAK;IAAAA,eAAA,oBACN,IAAI;IAAAA,eAAA,oBACJ,IAAI;IAAAA,eAAA,kBACP,KAAK;IAAAA,eAAA,kBACL,KAAK;IAAAA,eAAA,qBACF,CAAC;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,wBAGG,KAAK;IAAAA,eAAA,wBACL,KAAK;IAAAA,eAAA,2BACF,KAAK;IAAAA,eAAA,qBACV,IAAI;IAAAA,eAAA,6BACGC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA;IAAAA,eAAA;IAAAA,eAAA,wBAGA,EAAE;IAAAA,eAAA,0BACA,IAAI;IAAAA,eAAA,0BACJ,IAAI;IAAAA,eAAA;EAAA;AAEjC","ignoreList":[]}
|
|
@@ -44,13 +44,30 @@ export default class WmBubbleChart extends BaseChartComponent {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
renderWidget(props) {
|
|
47
|
-
var _this$state$data;
|
|
47
|
+
var _this$state$data, _props$chartheight, _this$styles$root, _this$styles$root2, _this$styles$root3, _this$styles$root4, _this$styles$root5, _this$styles$root6;
|
|
48
48
|
this.invokeEventCallback('onBeforerender', [this.proxy, null]);
|
|
49
49
|
if (!((_this$state$data = this.state.data) !== null && _this$state$data !== void 0 && _this$state$data.length)) {
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
+
let offsetTop = props.offsettop;
|
|
53
|
+
let offsetHeight = 0;
|
|
54
|
+
let victoryChartHeight = (_props$chartheight = props.chartheight) !== null && _props$chartheight !== void 0 ? _props$chartheight : this.styles.root.height;
|
|
55
|
+
if ((_this$styles$root = this.styles.root) !== null && _this$styles$root !== void 0 && _this$styles$root.height && typeof ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) === 'number') {
|
|
56
|
+
offsetTop = this.styles.root.height / 250 * props.offsettop;
|
|
57
|
+
offsetHeight = this.styles.root.height >= 250 && !props.chartheight && props.chartheight !== 0 ? 0 : offsetTop + props.offsetbottom;
|
|
58
|
+
}
|
|
59
|
+
if (typeof victoryChartHeight === 'number') {
|
|
60
|
+
victoryChartHeight = victoryChartHeight + offsetHeight;
|
|
61
|
+
}
|
|
62
|
+
let containerStyle = {
|
|
63
|
+
...this.styles.root
|
|
64
|
+
};
|
|
65
|
+
if (containerStyle !== null && containerStyle !== void 0 && containerStyle.height) {
|
|
66
|
+
containerStyle['minHeight'] = containerStyle['height'];
|
|
67
|
+
delete containerStyle['height'];
|
|
68
|
+
}
|
|
52
69
|
return /*#__PURE__*/React.createElement(View, _extends({}, getAccessibilityProps(AccessibilityWidgetType.LINECHART, props), {
|
|
53
|
-
style:
|
|
70
|
+
style: containerStyle,
|
|
54
71
|
onLayout: this.onViewLayoutChange.bind(this)
|
|
55
72
|
}), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
|
|
56
73
|
style: {
|
|
@@ -68,10 +85,10 @@ export default class WmBubbleChart extends BaseChartComponent {
|
|
|
68
85
|
ref: this.viewRef
|
|
69
86
|
}, this.getTooltip(), /*#__PURE__*/React.createElement(VictoryChart, {
|
|
70
87
|
theme: this.state.theme,
|
|
71
|
-
height:
|
|
88
|
+
height: victoryChartHeight,
|
|
72
89
|
width: this.state.chartWidth || this.screenWidth,
|
|
73
90
|
padding: {
|
|
74
|
-
top:
|
|
91
|
+
top: offsetTop,
|
|
75
92
|
bottom: props.offsetbottom,
|
|
76
93
|
left: this.isRTL ? props.offsetright : props.offsetleft,
|
|
77
94
|
right: this.isRTL ? props.offsetleft : props.offsetright
|
|
@@ -83,7 +100,7 @@ export default class WmBubbleChart extends BaseChartComponent {
|
|
|
83
100
|
gutter: 20,
|
|
84
101
|
data: [],
|
|
85
102
|
theme: this.state.theme
|
|
86
|
-
}), this.getLegendView(), this.getXaxis(), this.getYAxis(), this.state.data.map((d, i) => {
|
|
103
|
+
}), this.getLegendView(undefined, (_this$styles$root3 = this.styles.root) !== null && _this$styles$root3 !== void 0 && _this$styles$root3.height && typeof ((_this$styles$root4 = this.styles.root) === null || _this$styles$root4 === void 0 ? void 0 : _this$styles$root4.height) === 'string' || (_this$styles$root5 = this.styles.root) !== null && _this$styles$root5 !== void 0 && _this$styles$root5.height && typeof ((_this$styles$root6 = this.styles.root) === null || _this$styles$root6 === void 0 ? void 0 : _this$styles$root6.height) === 'number' && this.styles.root.height >= 250 ? 0 : offsetHeight), this.getXaxis(offsetHeight), this.getYAxis(), this.state.data.map((d, i) => {
|
|
87
104
|
return /*#__PURE__*/React.createElement(VictoryScatter, {
|
|
88
105
|
colorScale: this.state.colors,
|
|
89
106
|
style: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","View","Platform","AccessibilityWidgetType","getAccessibilityProps","WmBubbleChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","VictoryChart","VictoryLegend","VictoryScatter","Svg","WmIcon","WmBubbleChartState","WmBubbleChart","constructor","props","onSelect","event","data","viewRef","current","state","dataset","measureInWindow","chartX","chartY","value","index","y","label","xaxisDatakeyArr","datum","x","selectedItem","nativeEvent","tooltipX","pageX","tooltipY","pageY","selectedChartItem","series","_dataObj","updateState","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_this$state$data","length","createElement","_extends","LINECHART","style","styles","root","onLayout","onViewLayoutChange","bind","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","ref","getTooltip","theme","height","width","chartWidth","screenWidth","padding","top","offsettop","bottom","offsetbottom","left","isRTL","offsetright","offsetleft","right","name","containerComponent","orientation","gutter","getLegendView","getXaxis","getYAxis","map","d","i","colorScale","colors","fill","opacity","key","size","events","target","eventHandlers","OS","onClick","onPress"],"sources":["bubble-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport {Text, View, Platform} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport WmBubbleChartProps from './bubble-chart.props';\nimport { DEFAULT_CLASS, WmBubbleChartStyles } from './bubble-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport {VictoryAxis, VictoryChart, VictoryLegend, VictoryLine, VictoryScatter} from \"victory-native\";\nimport { ScatterSymbolType } from \"victory-core\";\nimport {Svg} from \"react-native-svg\";\nimport {get} from \"lodash-es\";\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmBubbleChartState extends BaseChartComponentState<WmBubbleChartProps> {}\n\nexport default class WmBubbleChart extends BaseChartComponent<WmBubbleChartProps, WmBubbleChartState, WmBubbleChartStyles> {\n\n constructor(props: WmBubbleChartProps) {\n super(props, DEFAULT_CLASS, new WmBubbleChartProps(), new WmBubbleChartState());\n }\n\n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index},\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as WmBubbleChartState)\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n renderWidget(props: WmBubbleChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n return (<View\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n style={this.styles.root}\n onLayout={this.onViewLayoutChange.bind(this)}\n >\n <View>\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 <View ref={this.viewRef}>\n {this.getTooltip()}\n <VictoryChart\n theme={this.state.theme}\n height={this.styles.root.height as number}\n width={this.state.chartWidth || this.screenWidth}\n padding={{ top: props.offsettop, bottom: props.offsetbottom, left: this.isRTL ? props.offsetright : props.offsetleft, right: this.isRTL ? props.offsetleft : props.offsetright }}\n >\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\n {this.state.data.map((d: any, i: number) => {\n return <VictoryScatter\n colorScale={this.state.colors}\n style={{\n data: { fill: this.state.colors[i], opacity: ({ datum }: any) => datum.opacity }\n }}\n key={props.name + '_bubble_' + i}\n name={props.name + '_bubble_' + i}\n data={d}\n size={5}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n })}\n </VictoryChart></View></View>);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAO,cAAc;AAEjD,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAO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,CAAC;IACJ,CAAC,CACa,CAAO,CAAO,CAAC;EACjC;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","Text","View","Platform","AccessibilityWidgetType","getAccessibilityProps","WmBubbleChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","VictoryChart","VictoryLegend","VictoryScatter","Svg","WmIcon","WmBubbleChartState","WmBubbleChart","constructor","props","onSelect","event","data","viewRef","current","state","dataset","measureInWindow","chartX","chartY","value","index","y","label","xaxisDatakeyArr","datum","x","selectedItem","nativeEvent","tooltipX","pageX","tooltipY","pageY","selectedChartItem","series","_dataObj","updateState","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_this$state$data","_props$chartheight","_this$styles$root","_this$styles$root2","_this$styles$root3","_this$styles$root4","_this$styles$root5","_this$styles$root6","length","offsetTop","offsettop","offsetHeight","victoryChartHeight","chartheight","styles","root","height","offsetbottom","containerStyle","createElement","_extends","LINECHART","style","onLayout","onViewLayoutChange","bind","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","ref","getTooltip","theme","width","chartWidth","screenWidth","padding","top","bottom","left","isRTL","offsetright","offsetleft","right","name","containerComponent","orientation","gutter","getLegendView","undefined","getXaxis","getYAxis","map","d","i","colorScale","colors","fill","opacity","key","size","events","target","eventHandlers","OS","onClick","onPress"],"sources":["bubble-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport {Text, View, Platform} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport WmBubbleChartProps from './bubble-chart.props';\nimport { DEFAULT_CLASS, WmBubbleChartStyles } from './bubble-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from \"@wavemaker/app-rn-runtime/components/chart/basechart.component\";\nimport {VictoryAxis, VictoryChart, VictoryLegend, VictoryLine, VictoryScatter} from \"victory-native\";\nimport { ScatterSymbolType } from \"victory-core\";\nimport {Svg} from \"react-native-svg\";\nimport {get} from \"lodash-es\";\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class WmBubbleChartState extends BaseChartComponentState<WmBubbleChartProps> {}\n\nexport default class WmBubbleChart extends BaseChartComponent<WmBubbleChartProps, WmBubbleChartState, WmBubbleChartStyles> {\n\n constructor(props: WmBubbleChartProps) {\n super(props, DEFAULT_CLASS, new WmBubbleChartProps(), new WmBubbleChartState());\n }\n\n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index},\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as WmBubbleChartState)\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n renderWidget(props: WmBubbleChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n\n let offsetTop = props.offsettop;\n let offsetHeight = 0;\n let victoryChartHeight = props.chartheight ?? this.styles.root.height;\n\n if(this.styles.root?.height && typeof this.styles.root?.height === 'number') {\n offsetTop = (this.styles.root.height / 250) * props.offsettop;\n offsetHeight = (this.styles.root.height >= 250 && !props.chartheight && props.chartheight !== 0) ? 0 : offsetTop + props.offsetbottom;\n }\n\n if(typeof victoryChartHeight === 'number') {\n victoryChartHeight = victoryChartHeight + offsetHeight;\n }\n\n let containerStyle = {...this.styles.root}\n if(containerStyle?.height) {\n containerStyle['minHeight'] = containerStyle['height'];\n delete containerStyle['height'];\n }\n\n return (<View\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n style={containerStyle}\n onLayout={this.onViewLayoutChange.bind(this)}\n >\n <View>\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 <View ref={this.viewRef}>\n {this.getTooltip()}\n <VictoryChart\n theme={this.state.theme}\n height={victoryChartHeight as number}\n width={this.state.chartWidth || this.screenWidth}\n padding={{ top: offsetTop, bottom: props.offsetbottom, left: this.isRTL ? props.offsetright : props.offsetleft, right: this.isRTL ? props.offsetleft : props.offsetright }}\n >\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView(\n undefined, \n (\n (\n (this.styles.root?.height && typeof this.styles.root?.height === 'string') || \n (this.styles.root?.height && typeof this.styles.root?.height === 'number' && this.styles.root.height >= 250)) ? \n 0 : offsetHeight\n )\n )}\n {this.getXaxis(offsetHeight)}\n {this.getYAxis()}\n {this.state.data.map((d: any, i: number) => {\n return <VictoryScatter\n colorScale={this.state.colors}\n style={{\n data: { fill: this.state.colors[i], opacity: ({ datum }: any) => datum.opacity }\n }}\n key={props.name + '_bubble_' + i}\n name={props.name + '_bubble_' + i}\n data={d}\n size={5}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n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UACLzD,IAAI,EAAE;YAAE+F,IAAI,EAAE,IAAI,CAAC5F,KAAK,CAAC2F,MAAM,CAACF,CAAC,CAAC;YAAEI,OAAO,EAAEA,CAAC;cAAEnF;YAAW,CAAC,KAAKA,KAAK,CAACmF;UAAQ;QACjF,CAAE;QACFC,GAAG,EAAEpG,KAAK,CAACqF,IAAI,GAAG,UAAU,GAAGU,CAAE;QACjCV,IAAI,EAAErF,KAAK,CAACqF,IAAI,GAAG,UAAU,GAAGU,CAAE;QAClC5F,IAAI,EAAE2F,CAAE;QACRO,IAAI,EAAE,CAAE;QACRC,MAAM,EAAE,CAAC;UACPC,MAAM,EAAE,MAAM;UACdC,aAAa,EAAEvH,QAAQ,CAACwH,EAAE,IAAI,KAAK,GAAG;YACpCC,OAAO,EAAE,IAAI,CAACzG,QAAQ,CAAC8D,IAAI,CAAC,IAAI;UAClC,CAAC,GAAC;YACA4C,OAAO,EAAE,IAAI,CAAC1G,QAAQ,CAAC8D,IAAI,CAAC,IAAI;UAClC;QACF,CAAC;MAAE,CACJ,CAAC;IACJ,CAAC,CACa,CAAO,CAAO,CAAC;EACjC;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BaseChartComponentProps","WmBubbleChartProps","constructor","args","_defineProperty"],"sources":["bubble-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\
|
|
1
|
+
{"version":3,"names":["BaseChartComponentProps","WmBubbleChartProps","constructor","args","_defineProperty"],"sources":["bubble-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\n\nexport default class WmBubbleChartProps extends BaseChartComponentProps {\n onSelect?: any;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAEhG,eAAe,MAAMC,kBAAkB,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA;EAAA;AAExE","ignoreList":[]}
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
1
|
import WmBarChartProps from "@wavemaker/app-rn-runtime/components/chart/bar-chart/bar-chart.props";
|
|
5
|
-
export default class WmColumnChartProps extends WmBarChartProps {
|
|
6
|
-
constructor(...args) {
|
|
7
|
-
super(...args);
|
|
8
|
-
_defineProperty(this, "onSelect", undefined);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
2
|
+
export default class WmColumnChartProps extends WmBarChartProps {}
|
|
11
3
|
//# sourceMappingURL=column-chart.props.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["WmBarChartProps","WmColumnChartProps"
|
|
1
|
+
{"version":3,"names":["WmBarChartProps","WmColumnChartProps"],"sources":["column-chart.props.ts"],"sourcesContent":["import WmBarChartProps from \"@wavemaker/app-rn-runtime/components/chart/bar-chart/bar-chart.props\";\n\nexport default class WmColumnChartProps extends WmBarChartProps {\n}\n"],"mappings":"AAAA,OAAOA,eAAe,MAAM,sEAAsE;AAElG,eAAe,MAAMC,kBAAkB,SAASD,eAAe,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["WmPieChartProps","WmDonutChartProps","constructor","args","_defineProperty"
|
|
1
|
+
{"version":3,"names":["WmPieChartProps","WmDonutChartProps","constructor","args","_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,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBACxC,GAAG;EAAA;AAC1B","ignoreList":[]}
|
|
@@ -44,13 +44,30 @@ export default class WmLineChart extends BaseChartComponent {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
renderWidget(props) {
|
|
47
|
-
var _this$state$data;
|
|
47
|
+
var _this$state$data, _props$chartheight, _this$styles$root, _this$styles$root2, _this$styles$root3, _this$styles$root4, _this$styles$root5, _this$styles$root6;
|
|
48
48
|
this.invokeEventCallback('onBeforerender', [this.proxy, null]);
|
|
49
49
|
if (!((_this$state$data = this.state.data) !== null && _this$state$data !== void 0 && _this$state$data.length)) {
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
+
let offsetTop = props.offsettop;
|
|
53
|
+
let offsetHeight = 0;
|
|
54
|
+
let victoryChartHeight = (_props$chartheight = props.chartheight) !== null && _props$chartheight !== void 0 ? _props$chartheight : this.styles.root.height;
|
|
55
|
+
if ((_this$styles$root = this.styles.root) !== null && _this$styles$root !== void 0 && _this$styles$root.height && typeof ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) === 'number') {
|
|
56
|
+
offsetTop = this.styles.root.height / 250 * props.offsettop;
|
|
57
|
+
offsetHeight = this.styles.root.height >= 250 && !props.chartheight && props.chartheight !== 0 ? 0 : offsetTop + props.offsetbottom;
|
|
58
|
+
}
|
|
59
|
+
if (typeof victoryChartHeight === 'number') {
|
|
60
|
+
victoryChartHeight = victoryChartHeight + offsetHeight;
|
|
61
|
+
}
|
|
62
|
+
let containerStyle = {
|
|
63
|
+
...this.styles.root
|
|
64
|
+
};
|
|
65
|
+
if (containerStyle !== null && containerStyle !== void 0 && containerStyle.height) {
|
|
66
|
+
containerStyle['minHeight'] = containerStyle['height'];
|
|
67
|
+
delete containerStyle['height'];
|
|
68
|
+
}
|
|
52
69
|
return /*#__PURE__*/React.createElement(View, _extends({
|
|
53
|
-
style:
|
|
70
|
+
style: containerStyle
|
|
54
71
|
}, getAccessibilityProps(AccessibilityWidgetType.LINECHART, props), {
|
|
55
72
|
onLayout: this.onViewLayoutChange
|
|
56
73
|
}), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
|
|
@@ -69,15 +86,15 @@ export default class WmLineChart extends BaseChartComponent {
|
|
|
69
86
|
ref: this.viewRef
|
|
70
87
|
}, this.getTooltip(), /*#__PURE__*/React.createElement(VictoryChart, {
|
|
71
88
|
theme: this.state.theme,
|
|
72
|
-
height:
|
|
89
|
+
height: victoryChartHeight,
|
|
73
90
|
width: this.state.chartWidth || this.screenWidth,
|
|
74
91
|
padding: {
|
|
75
|
-
top:
|
|
92
|
+
top: offsetTop,
|
|
76
93
|
bottom: props.offsetbottom,
|
|
77
94
|
left: this.isRTL ? props.offsetright : props.offsetleft,
|
|
78
95
|
right: this.isRTL ? props.offsetleft : props.offsetright
|
|
79
96
|
}
|
|
80
|
-
}, this.getLegendView(), this.getXaxis(), this.getYAxis(), this.state.data.map((d, i) => {
|
|
97
|
+
}, this.getLegendView(undefined, (_this$styles$root3 = this.styles.root) !== null && _this$styles$root3 !== void 0 && _this$styles$root3.height && typeof ((_this$styles$root4 = this.styles.root) === null || _this$styles$root4 === void 0 ? void 0 : _this$styles$root4.height) === 'string' || (_this$styles$root5 = this.styles.root) !== null && _this$styles$root5 !== void 0 && _this$styles$root5.height && typeof ((_this$styles$root6 = this.styles.root) === null || _this$styles$root6 === void 0 ? void 0 : _this$styles$root6.height) === 'number' && this.styles.root.height >= 250 ? 0 : offsetHeight), this.getXaxis(offsetHeight), this.getYAxis(), this.state.data.map((d, i) => {
|
|
81
98
|
return /*#__PURE__*/React.createElement(VictoryGroup, {
|
|
82
99
|
key: props.name + '_line_group_' + i
|
|
83
100
|
}, /*#__PURE__*/React.createElement(VictoryLine, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","View","Platform","AccessibilityWidgetType","getAccessibilityProps","VictoryChart","VictoryLine","VictoryScatter","VictoryGroup","WmLineChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","ThemeVariables","WmIcon","WmLineChartState","WmLineChart","constructor","props","onSelect","event","data","viewRef","current","state","dataset","measureInWindow","chartX","chartY","value","index","y","label","xaxisDatakeyArr","datum","x","selectedItem","nativeEvent","tooltipX","pageX","tooltipY","pageY","selectedChartItem","series","_dataObj","updateState","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_this$state$data","length","createElement","_extends","style","styles","root","LINECHART","onLayout","onViewLayoutChange","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","ref","getTooltip","theme","height","width","chartWidth","screenWidth","padding","top","offsettop","bottom","offsetbottom","left","isRTL","offsetright","offsetleft","right","getLegendView","getXaxis","getYAxis","map","d","i","key","name","interpolation","standalone","stroke","colors","INSTANCE","chartLineColor","strokeWidth","linethickness","size","highlightpoints","fill","opacity","events","target","eventHandlers","OS","onClick","bind","onPress"],"sources":["line-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, Platform, LayoutChangeEvent } from 'react-native';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \nimport {\n VictoryChart,\n VictoryLine,\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\";\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\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 onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index},\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as WmLineChartState)\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n\n\n renderWidget(props: WmLineChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n return (\n <View style={this.styles.root} {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)} onLayout={this.onViewLayoutChange}>\n <View>\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 <View ref={this.viewRef}>\n {this.getTooltip()}\n <VictoryChart\n theme={this.state.theme}\n height={(this.styles.root.height) as number}\n width={this.state.chartWidth || this.screenWidth}\n padding={{ top: props.offsettop, bottom: props.offsetbottom, left: this.isRTL ? props.offsetright : props.offsetleft, right: this.isRTL ? props.offsetleft : props.offsetright }}\n >\n {this.getLegendView()}\n {this.getXaxis()}\n {this.getYAxis()}\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 + '_' + i}\n standalone={true}\n style={{\n data: {\n stroke: (this.state.colors[i] || ThemeVariables.INSTANCE.chartLineColor),\n strokeWidth: props.linethickness,\n }\n }} \n data={d}\n />\n \n <VictoryScatter size={5} key={props.name + '_scatter' + i}\n style={{\n data: (props.highlightpoints || this.state.data.length === 1) ? {fill: this.state.colors[i], opacity: 0.8} : {opacity:0}\n }}\n data={d}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n </VictoryGroup>\n })}\n </VictoryChart>\n </View>\n </View>);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAA2B,cAAc;AACtE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAC7G,SACEC,YAAY,EACZC,WAAW,EACXC,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;AAE7E,OAAOC,MAAM,MAAM,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CACN,CACW,CAAC;IACnB,CAAC,CACW,CACR,CACF,CAAC;EACT;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","Text","View","Platform","AccessibilityWidgetType","getAccessibilityProps","VictoryChart","VictoryLine","VictoryScatter","VictoryGroup","WmLineChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","ThemeVariables","WmIcon","WmLineChartState","WmLineChart","constructor","props","onSelect","event","data","viewRef","current","state","dataset","measureInWindow","chartX","chartY","value","index","y","label","xaxisDatakeyArr","datum","x","selectedItem","nativeEvent","tooltipX","pageX","tooltipY","pageY","selectedChartItem","series","_dataObj","updateState","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_this$state$data","_props$chartheight","_this$styles$root","_this$styles$root2","_this$styles$root3","_this$styles$root4","_this$styles$root5","_this$styles$root6","length","offsetTop","offsettop","offsetHeight","victoryChartHeight","chartheight","styles","root","height","offsetbottom","containerStyle","createElement","_extends","style","LINECHART","onLayout","onViewLayoutChange","flexDirection","alignItems","iconclass","icon","title","subHeading","subheading","ref","getTooltip","theme","width","chartWidth","screenWidth","padding","top","bottom","left","isRTL","offsetright","offsetleft","right","getLegendView","undefined","getXaxis","getYAxis","map","d","i","key","name","interpolation","standalone","stroke","colors","INSTANCE","chartLineColor","strokeWidth","linethickness","size","highlightpoints","fill","opacity","events","target","eventHandlers","OS","onClick","bind","onPress"],"sources":["line-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View, Platform, LayoutChangeEvent } from 'react-native';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \nimport {\n VictoryChart,\n VictoryLine,\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\";\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\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 onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.data[data.index].y;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n let selectedChartItem = [{series: 0, x: data.index, y: value,_dataObj: selectedItem},data.index];\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index},\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as WmLineChartState)\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n\n\n renderWidget(props: WmLineChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\n if (!this.state.data?.length) {\n return null;\n }\n\n let offsetTop = props.offsettop;\n let offsetHeight = 0;\n let victoryChartHeight = props.chartheight ?? this.styles.root.height;\n\n if(this.styles.root?.height && typeof this.styles.root?.height === 'number') {\n offsetTop = (this.styles.root.height / 250) * props.offsettop;\n offsetHeight = (this.styles.root.height >= 250 && !props.chartheight && props.chartheight !== 0) ? 0 : offsetTop + props.offsetbottom;\n }\n\n if(typeof victoryChartHeight === 'number') {\n victoryChartHeight = victoryChartHeight + offsetHeight;\n }\n\n let containerStyle = {...this.styles.root}\n if(containerStyle?.height) {\n containerStyle['minHeight'] = containerStyle['height'];\n delete containerStyle['height'];\n }\n\n return (\n <View \n style={containerStyle}\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)} onLayout={this.onViewLayoutChange}\n >\n <View>\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 <View ref={this.viewRef}>\n {this.getTooltip()}\n <VictoryChart\n theme={this.state.theme}\n height={victoryChartHeight as number}\n width={this.state.chartWidth || this.screenWidth}\n padding={{ top: offsetTop, bottom: props.offsetbottom, left: this.isRTL ? props.offsetright : props.offsetleft, right: this.isRTL ? props.offsetleft : props.offsetright }}\n >\n {this.getLegendView(\n undefined, \n (\n (\n (this.styles.root?.height && typeof this.styles.root?.height === 'string') || \n (this.styles.root?.height && typeof this.styles.root?.height === 'number' && this.styles.root.height >= 250)) ? \n 0 : offsetHeight\n )\n )}\n {this.getXaxis(offsetHeight)}\n {this.getYAxis()}\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 + '_' + i}\n standalone={true}\n style={{\n data: {\n stroke: (this.state.colors[i] || ThemeVariables.INSTANCE.chartLineColor),\n strokeWidth: props.linethickness,\n }\n }} \n data={d}\n />\n \n <VictoryScatter size={5} key={props.name + '_scatter' + i}\n style={{\n data: (props.highlightpoints || this.state.data.length === 1) ? {fill: this.state.colors[i], opacity: 0.8} : {opacity:0}\n }}\n data={d}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n </VictoryGroup>\n })}\n </VictoryChart>\n </View>\n </View>);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAA2B,cAAc;AACtE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAC7G,SACEC,YAAY,EACZC,WAAW,EACXC,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;AAE7E,OAAOC,MAAM,MAAM,gEAAgE;AAGnF,OAAO,MAAMC,gBAAgB,SAASH,uBAAuB,CAAmB;AAEhF,eAAe,MAAMI,WAAW,SAASL,kBAAkB,CAAwD;EAEjHM,WAAWA,CAACC,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAER,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIM,gBAAgB,CAAC,CAAC,CAAC;EAC7E;EAEAI,QAAQA,CAACC,KAAU,EAAEC,IAAS,EAAC;IAC7B,IAAI,CAAC,IAAI,CAACC,OAAO,CAACC,OAAO,EAAE;IAC3B,IAAI,CAAC,IAAI,CAACC,KAAK,CAACN,KAAK,CAACO,OAAO,EAAE;IAC/B,IAAI,CAACH,OAAO,CAACC,OAAO,CAACG,eAAe,CAAC,CAACC,MAAc,EAAEC,MAAc,KAAK;MACzE,IAAIC,KAAK,GAAGR,IAAI,CAACA,IAAI,CAACA,IAAI,CAACS,KAAK,CAAC,CAACC,CAAC;MACnC,IAAIC,KAAK,GAAG,IAAI,CAACR,KAAK,CAACS,eAAe,CAACZ,IAAI,CAACa,KAAK,CAACC,CAAC,CAAC;MACpD,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EAAE,IAAK;QACjBnC,KAAK,EAAE;UACLxD,IAAI,EAAE;YACJ4F,MAAM,EAAG,IAAI,CAACzF,KAAK,CAAC0F,MAAM,CAACN,CAAC,CAAC,IAAI/F,cAAc,CAACsG,QAAQ,CAACC,cAAe;YACxEC,WAAW,EAAEnG,KAAK,CAACoG;UACrB;QACF,CAAE;QACFjG,IAAI,EAAEsF;MAAE,CACT,CAAC,eAEA5G,KAAA,CAAA4E,aAAA,CAACpE,cAAc;QAACgH,IAAI,EAAE,CAAE;QAACV,GAAG,EAAE3F,KAAK,CAAC4F,IAAI,GAAG,UAAU,GAAGF,CAAE;QACtD/B,KAAK,EAAE;UACLxD,IAAI,EAAGH,KAAK,CAACsG,eAAe,IAAI,IAAI,CAAChG,KAAK,CAACH,IAAI,CAAC2C,MAAM,KAAK,CAAC,GAAI;YAACyD,IAAI,EAAE,IAAI,CAACjG,KAAK,CAAC0F,MAAM,CAACN,CAAC,CAAC;YAAEc,OAAO,EAAE;UAAG,CAAC,GAAG;YAACA,OAAO,EAAC;UAAC;QACzH,CAAE;QACFrG,IAAI,EAAEsF,CAAE;QACRgB,MAAM,EAAE,CAAC;UACPC,MAAM,EAAE,MAAM;UACdC,aAAa,EAAE3H,QAAQ,CAAC4H,EAAE,IAAI,KAAK,GAAG;YACpCC,OAAO,EAAE,IAAI,CAAC5G,QAAQ,CAAC6G,IAAI,CAAC,IAAI;UAClC,CAAC,GAAC;YACAC,OAAO,EAAE,IAAI,CAAC9G,QAAQ,CAAC6G,IAAI,CAAC,IAAI;UAClC;QACF,CAAC;MAAE,CACN,CACW,CAAC;IACnB,CAAC,CACW,CACR,CACF,CAAC;EACT;AACF","ignoreList":[]}
|
|
@@ -7,8 +7,8 @@ export default class WmLineChartProps extends BaseChartComponentProps {
|
|
|
7
7
|
super(...args);
|
|
8
8
|
_defineProperty(this, "linethickness", 2);
|
|
9
9
|
_defineProperty(this, "onSelect", void 0);
|
|
10
|
-
_defineProperty(this, "skeletonheight",
|
|
11
|
-
_defineProperty(this, "skeletonwidth",
|
|
10
|
+
_defineProperty(this, "skeletonheight", null);
|
|
11
|
+
_defineProperty(this, "skeletonwidth", null);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=line-chart.props.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BaseChartComponentProps","WmLineChartProps","constructor","args","_defineProperty"],"sources":["line-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\
|
|
1
|
+
{"version":3,"names":["BaseChartComponentProps","WmLineChartProps","constructor","args","_defineProperty"],"sources":["line-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from \"@wavemaker/app-rn-runtime/components/chart/basechart.props\";\nexport default class WmLineChartProps extends BaseChartComponentProps {\n linethickness: number = 2;\n onSelect?: any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAChG,eAAe,MAAMC,gBAAgB,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,wBAC5C,CAAC;IAAAA,eAAA;IAAAA,eAAA,yBAEC,IAAI;IAAAA,eAAA,wBACL,IAAI;EAAA;AAC/B","ignoreList":[]}
|
|
@@ -73,10 +73,6 @@ export default class WmPieChart extends BaseChartComponent {
|
|
|
73
73
|
{
|
|
74
74
|
return this.state.xaxisDatakeyArr[d.x] + ' ' + d.y;
|
|
75
75
|
}
|
|
76
|
-
default:
|
|
77
|
-
{
|
|
78
|
-
return '';
|
|
79
|
-
}
|
|
80
76
|
}
|
|
81
77
|
}
|
|
82
78
|
onSelect(event, data) {
|
|
@@ -111,13 +107,14 @@ export default class WmPieChart extends BaseChartComponent {
|
|
|
111
107
|
});
|
|
112
108
|
}
|
|
113
109
|
renderWidget(props) {
|
|
110
|
+
var _props$chartheight, _this$styles$root, _this$state$labelColo;
|
|
114
111
|
this.invokeEventCallback('onBeforerender', [this.proxy, null]);
|
|
115
112
|
if (!this.state.data.length) {
|
|
116
113
|
return null;
|
|
117
114
|
}
|
|
118
115
|
const pieData = this.state.data[0];
|
|
119
116
|
const chartWidth = this.state.chartWidth - (props.showlegend === 'right' ? this.state.legendWidth : 0);
|
|
120
|
-
const chartHeight = (this.styles.root.height ? this.state.totalHeight : chartWidth) - this.state.infoHeight - (props.showlegend === 'right' ? 0 : this.state.legendHeight);
|
|
117
|
+
const chartHeight = (_props$chartheight = props.chartheight) !== null && _props$chartheight !== void 0 ? _props$chartheight : (this.styles.root.height ? this.state.totalHeight : chartWidth) - this.state.infoHeight - (props.showlegend === 'right' ? 0 : this.state.legendHeight);
|
|
121
118
|
let radius = (Math.min(chartWidth, chartHeight) - 40) / 2;
|
|
122
119
|
let innerRadius = props.donutratio * radius;
|
|
123
120
|
let styleProp = {};
|
|
@@ -144,10 +141,21 @@ export default class WmPieChart extends BaseChartComponent {
|
|
|
144
141
|
color: this.state.colors[index % this.state.colors.length]
|
|
145
142
|
};
|
|
146
143
|
});
|
|
144
|
+
const containerStyle = {
|
|
145
|
+
...this.styles.root
|
|
146
|
+
};
|
|
147
|
+
if (props.chartheight && (_this$styles$root = this.styles.root) !== null && _this$styles$root !== void 0 && _this$styles$root.height) {
|
|
148
|
+
if (containerStyle['height']) {
|
|
149
|
+
containerStyle['minHeight'] = containerStyle['height'];
|
|
150
|
+
delete containerStyle['height'];
|
|
151
|
+
} else {
|
|
152
|
+
containerStyle['minHeight'] = this.state.totalHeight;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
147
155
|
return /*#__PURE__*/React.createElement(View, _extends({
|
|
148
156
|
style: [{
|
|
149
157
|
opacity: this.state.opacity
|
|
150
|
-
},
|
|
158
|
+
}, containerStyle]
|
|
151
159
|
}, getAccessibilityProps(AccessibilityWidgetType.LINECHART, props), {
|
|
152
160
|
onLayout: this.onViewLayoutChange,
|
|
153
161
|
key: `${props.title}_pie_chart`
|
|
@@ -187,13 +195,24 @@ export default class WmPieChart extends BaseChartComponent {
|
|
|
187
195
|
width: chartWidth,
|
|
188
196
|
height: chartHeight
|
|
189
197
|
}, /*#__PURE__*/React.createElement(VictoryPie, {
|
|
190
|
-
style:
|
|
198
|
+
style: {
|
|
199
|
+
...styleProp,
|
|
200
|
+
...((_this$state$labelColo = this.state.labelColors) !== null && _this$state$labelColo !== void 0 && _this$state$labelColo.length ? {
|
|
201
|
+
labels: {
|
|
202
|
+
fill: ({
|
|
203
|
+
index
|
|
204
|
+
}) => {
|
|
205
|
+
const labelColorScale = this.isRTL ? [...this.state.labelColors].slice(0, pieData.length).reverse() : this.state.labelColors;
|
|
206
|
+
return labelColorScale[index % labelColorScale.length];
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
} : {})
|
|
210
|
+
},
|
|
191
211
|
standalone: false,
|
|
192
212
|
colorScale: this.isRTL ? [...this.state.colors].slice(0, pieData.length).reverse() : this.state.colors,
|
|
193
213
|
labels: ({
|
|
194
214
|
datum
|
|
195
215
|
}) => this.getLabel(datum, props),
|
|
196
|
-
endAngle: this.state.endAngle || 0,
|
|
197
216
|
radius: radius,
|
|
198
217
|
innerRadius: innerRadius,
|
|
199
218
|
theme: this.state.theme,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","Platform","Svg","AccessibilityWidgetType","getAccessibilityProps","VictoryLabel","VictoryPie","WmPieChartProps","DEFAULT_CLASS","formatCompactNumber","WmIcon","BaseChartComponent","BaseChartComponentState","WmDonutChartProps","Legend","WmPieChartState","constructor","args","_defineProperty","WmPieChart","props","type","e","_e$nativeEvent","viewWidth","nativeEvent","layout","width","handleLayout","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","onSelect","event","data","viewRef","current","dataset","measureInWindow","chartX","chartY","value","slice","label","datum","selectedItem","index","selectedChartItem","color","style","fill","_dataObj","tooltipX","pageX","tooltipY","pageY","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","length","pieData","showlegend","chartHeight","styles","root","radius","min","innerRadius","donutratio","styleProp","labelRadius","showlabels","labels","display","origin","orientation","legendData","map","name","colors","createElement","_extends","LINECHART","onLayout","onViewLayoutChange","key","title","onInfoViewLayoutChange","iconclass","testID","flexDirection","alignItems","icon","subheading","subHeading","onLegendViewLayoutChange","testStyle","legendText","dotStyle","legenedDot","justifyContent","getTooltip","flex","ref","standalone","colorScale","isRTL","reverse","endAngle","theme","toReversed","labelPlacement","labelplacement","events","target","eventHandlers","OS","onClick","bind","onPress","textAnchor","centerLabel","text","centerlabel","maxWidth"],"sources":["pie-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, Text, Platform } from 'react-native';\nimport { Svg } from 'react-native-svg';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport { VictoryLabel, VictoryPie } from 'victory-native';\n\nimport WmPieChartProps from './pie-chart.props';\nimport { DEFAULT_CLASS, WmPieChartStyles } from './pie-chart.styles';\n\nimport { formatCompactNumber, isWebPreviewMode } 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\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\n this.handleLayout(e)\n\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 default: {\n return '';\n }\n }\n }\n\n onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.slice.value;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n let selectedChartItem = data.slice;\n selectedChartItem[\"data\"] = {x: label, y: value, color: data.style.fill, _dataObj: selectedItem}\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index },\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as any);\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n renderWidget(props: WmPieChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\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 {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n onLayout={this.onViewLayoutChange}\n key={`${props.title}_pie_chart`}\n >\n <View onLayout={this.onInfoViewLayoutChange}>\n { (props.title || props.iconclass) ? (\n <View testID=\"title-icon-container\" style={{flexDirection: 'row', alignItems: 'center'}}>\n {props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n {props.title ? (<Text style={this.styles.title}>{props.title}</Text>) : null }\n </View>\n ) : null }\n { props.subheading? (\n <Text style={this.styles.subHeading}>{props.subheading}</Text> ) : null }\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 {this.getTooltip()}\n <View style={{flex: 1}} ref={this.viewRef}>\n {chartWidth ? (\n <Svg\n width={chartWidth}\n height={chartHeight}\n >\n <VictoryPie\n style={styleProp}\n standalone={false}\n colorScale={this.isRTL ? [...this.state.colors].slice(0, pieData.length).reverse() : 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={this.isRTL?pieData.toReversed():pieData}\n origin={origin}\n labelPlacement={props.labelplacement}\n labelRadius={labelRadius}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n <VictoryLabel\n textAnchor=\"middle\"\n style={{ ...this.styles.centerLabel, fill: this.styles.centerLabel.color }}\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,EAAEC,QAAQ,QAAQ,cAAc;AACtE,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA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CACxC,CAAC,GAAI,IACT,CAAC;EAEX;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","View","Text","Platform","Svg","AccessibilityWidgetType","getAccessibilityProps","VictoryLabel","VictoryPie","WmPieChartProps","DEFAULT_CLASS","formatCompactNumber","WmIcon","BaseChartComponent","BaseChartComponentState","WmDonutChartProps","Legend","WmPieChartState","constructor","args","_defineProperty","WmPieChart","props","type","e","_e$nativeEvent","viewWidth","nativeEvent","layout","width","handleLayout","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","onSelect","event","data","viewRef","current","dataset","measureInWindow","chartX","chartY","value","slice","label","datum","selectedItem","index","selectedChartItem","color","style","fill","_dataObj","tooltipX","pageX","tooltipY","pageY","tooltipXaxis","tooltipYaxis","isTooltipOpen","tooltipXPosition","tooltipoffsetx","tooltipYPosition","tooltipoffsety","invokeEventCallback","proxy","renderWidget","_props$chartheight","_this$styles$root","_this$state$labelColo","length","pieData","showlegend","chartHeight","chartheight","styles","root","radius","min","innerRadius","donutratio","styleProp","labelRadius","showlabels","labels","display","origin","orientation","legendData","map","name","colors","containerStyle","createElement","_extends","LINECHART","onLayout","onViewLayoutChange","key","title","onInfoViewLayoutChange","iconclass","testID","flexDirection","alignItems","icon","subheading","subHeading","onLegendViewLayoutChange","testStyle","legendText","dotStyle","legenedDot","justifyContent","getTooltip","flex","ref","labelColors","labelColorScale","isRTL","reverse","standalone","colorScale","theme","toReversed","labelPlacement","labelplacement","events","target","eventHandlers","OS","onClick","bind","onPress","textAnchor","centerLabel","text","centerlabel","maxWidth"],"sources":["pie-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, Text, Platform } from 'react-native';\nimport { Svg } from 'react-native-svg';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \n\nimport { VictoryLabel, VictoryPie } from 'victory-native';\n\nimport WmPieChartProps from './pie-chart.props';\nimport { DEFAULT_CLASS, WmPieChartStyles } from './pie-chart.styles';\n\nimport { formatCompactNumber, isWebPreviewMode } 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\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\n this.handleLayout(e)\n\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 onSelect(event: any, data: any){\n if (!this.viewRef.current) return;\n if (!this.state.props.dataset) return;\n this.viewRef.current.measureInWindow((chartX: number, chartY: number) => {\n let value = data.slice.value;\n let label = this.state.xaxisDatakeyArr[data.datum.x];\n let selectedItem = this.props.dataset[data.index];\n let selectedChartItem = data.slice;\n selectedChartItem[\"data\"] = {x: label, y: value, color: data.style.fill, _dataObj: selectedItem}\n const nativeEvent = event.nativeEvent;\n let tooltipX = nativeEvent.pageX - chartX;\n let tooltipY = nativeEvent.pageY - chartY;\n this.updateState({\n tooltipXaxis: label,\n tooltipYaxis: value,\n isTooltipOpen: true,\n selectedItem: {...selectedItem, index: data.index },\n tooltipXPosition: tooltipX - this.state.tooltipoffsetx, \n tooltipYPosition: tooltipY - this.state.tooltipoffsety\n } as any);\n this.invokeEventCallback('onSelect', [event.nativeEvent, this.proxy, selectedItem, selectedChartItem ]);\n });\n }\n\n renderWidget(props: WmPieChartProps) {\n this.invokeEventCallback('onBeforerender', [this.proxy, null]);\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 = props.chartheight ?? \n ((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\n const containerStyle = {...this.styles.root}\n\n if(props.chartheight && this.styles.root?.height) {\n if(containerStyle['height']) {\n containerStyle['minHeight'] = containerStyle['height'];\n delete containerStyle['height'];\n } else {\n containerStyle['minHeight'] = this.state.totalHeight;\n }\n }\n\n return (\n <View style={[{opacity: this.state.opacity}, containerStyle]}\n {...getAccessibilityProps(AccessibilityWidgetType.LINECHART, props)}\n onLayout={this.onViewLayoutChange}\n key={`${props.title}_pie_chart`}\n >\n <View onLayout={this.onInfoViewLayoutChange}>\n { (props.title || props.iconclass) ? (\n <View testID=\"title-icon-container\" style={{flexDirection: 'row', alignItems: 'center'}}>\n {props.iconclass ? (<WmIcon iconclass={props.iconclass} styles={this.styles.icon}></WmIcon>) : null }\n {props.title ? (<Text style={this.styles.title}>{props.title}</Text>) : null }\n </View>\n ) : null }\n { props.subheading? (\n <Text style={this.styles.subHeading}>{props.subheading}</Text> ) : null }\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 {this.getTooltip()}\n <View style={{flex: 1}} ref={this.viewRef}>\n {chartWidth ? (\n <Svg\n width={chartWidth}\n height={chartHeight}\n >\n <VictoryPie\n style={{\n ...styleProp,\n ...(this.state.labelColors?.length ? {\n labels: {\n fill: ({ index }: any) => {\n const labelColorScale = this.isRTL\n ? [...this.state.labelColors].slice(0, pieData.length).reverse()\n : this.state.labelColors;\n return labelColorScale[index % labelColorScale.length];\n }\n }\n } : {})\n }}\n standalone={false}\n colorScale={this.isRTL ? [...this.state.colors].slice(0, pieData.length).reverse() : this.state.colors}\n labels={({datum}) => this.getLabel(datum, props)}\n radius={radius}\n innerRadius={innerRadius}\n theme={this.state.theme}\n key={props.name}\n name={props.name}\n data={this.isRTL?pieData.toReversed():pieData}\n origin={origin}\n labelPlacement={props.labelplacement}\n labelRadius={labelRadius}\n events={[{\n target: 'data',\n eventHandlers: Platform.OS == \"web\" ? {\n onClick: this.onSelect.bind(this)\n }:{\n onPress: this.onSelect.bind(this)\n }\n }]}\n />\n <VictoryLabel\n textAnchor=\"middle\"\n style={{ ...this.styles.centerLabel, fill: this.styles.centerLabel.color }}\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,EAAEC,QAAQ,QAAQ,cAAc;AACtE,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,SAASC,YAAY,EAAEC,UAAU,QAAQ,gBAAgB;AAEzD,OAAOC,eAAe,MAAM,mBAAmB;AAC/C,SAASC,aAAa,QAA0B,oBAAoB;AAEpE,SAASC,mBAAmB,QAA0B,sCAAsC;AAC5F,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SACEC,kBAAkB,EAClBC,uBAAuB,QAClB,gEAAgE;AACvE,OAAOC,iBAAiB,MAAM,0EAA0E;AACxG,SAASC,MAAM,QAAQ,4BAA4B;AAGnD,OAAO,MAAMC,eAAe,SAASH,uBAAuB,CAAkB;EAAAI,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IA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E,IAAI,CAACY;IAAyB,gBACvEhI,KAAA,CAAAiH,aAAA,CAACjG,MAAM;MAACuC,IAAI,EAAEqD,UAAW;MACvBqB,SAAS,EAAE,IAAI,CAAClC,MAAM,CAACmC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAACpC,MAAM,CAACqC,UAAW;MACjCzB,WAAW,EAAC;IAAU,CAAS,CAC7B,CAAC,GAAI,IACT,CAAC,EACNrF,KAAK,CAACsE,UAAU,KAAK,QAAQ,gBAC3B5F,KAAA,CAAAiH,aAAA,CAAChH,IAAI;MAACmH,QAAQ,EAAE,IAAI,CAACY;IAAyB,gBAC7ChI,KAAA,CAAAiH,aAAA,CAACjG,MAAM;MAACuC,IAAI,EAAEqD,UAAW;MACvBqB,SAAS,EAAE,IAAI,CAAClC,MAAM,CAACmC,UAAW;MAClCC,QAAQ,EAAE,IAAI,CAACpC,MAAM,CAACqC;IAAW,CAAS,CACxC,CAAC,GAAI,IACT,CAAC;EAEX;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BaseChartComponentProps","WmPieChartProps","constructor","args","_defineProperty"],"sources":["pie-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';\nimport { VictorySliceLabelPlacementType } from 'victory-pie';\
|
|
1
|
+
{"version":3,"names":["BaseChartComponentProps","WmPieChartProps","constructor","args","_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 onSelect?: any;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAGhG,eAAe,MAAMC,eAAe,SAASD,uBAAuB,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,qBAC9C,CAAC;IAAAA,eAAA,yBAC2B,UAAU;IAAAA,eAAA,sBAC7C,EAAE;IAAAA,eAAA;EAAA;AAElB","ignoreList":[]}
|