@wavemaker/app-rn-runtime 12.0.0-next.46502 → 12.0.0-next.47810
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 +75 -0
- package/actions/notification-action.js.map +1 -0
- package/actions/timer-action.js +57 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js +11 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js +11 -0
- package/components/advanced/carousel/carousel.component.js +376 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/carousel/carousel.props.js +23 -0
- package/components/advanced/carousel/carousel.props.js.map +1 -0
- package/components/advanced/carousel/carousel.styles.js +179 -0
- package/components/advanced/carousel/carousel.styles.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js +14 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js +11 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js +14 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js.map +1 -0
- package/components/advanced/login/login.component.js +40 -0
- package/components/advanced/login/login.component.js.map +1 -0
- package/components/advanced/login/login.props.js +13 -0
- package/components/advanced/login/login.props.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js +118 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js +11 -0
- package/components/advanced/webview/webview.component.js +158 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/advanced/webview/webview.props.js +16 -0
- package/components/basic/anchor/anchor.component.js +101 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/anchor/anchor.props.js +32 -0
- package/components/basic/animatedview.component.js +226 -0
- package/components/basic/animatedview.component.js.map +1 -0
- package/components/basic/audio/audio.component.js +252 -0
- package/components/basic/audio/audio.component.js.map +1 -0
- package/components/basic/audio/audio.props.js +15 -0
- package/components/basic/bottomsheet/bottomsheet.component.js +363 -0
- package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.props.js +18 -0
- package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.styles.js +79 -0
- package/components/basic/bottomsheet/bottomsheet.styles.js.map +1 -0
- package/components/basic/button/button.component.js +110 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.props.js +27 -0
- package/components/basic/button/button.styles.js +132 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.component.js +28 -0
- package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.props.js +14 -0
- package/components/basic/custom/custom.component.js +26 -0
- package/components/basic/custom/custom.component.js.map +1 -0
- package/components/basic/custom/custom.props.js +16 -0
- package/components/basic/icon/icon.component.js +268 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js +28 -0
- package/components/basic/icon/icon.props.js.map +1 -0
- package/components/basic/label/label.component.js +291 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.props.js +25 -0
- package/components/basic/label/label.props.js.map +1 -0
- package/components/basic/label/label.styles.js +146 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/lottie/lottie.component.js +139 -0
- package/components/basic/lottie/lottie.component.js.map +1 -0
- package/components/basic/lottie/lottie.props.js +14 -0
- package/components/basic/message/message.component.js +79 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/message/message.props.js +22 -0
- package/components/basic/message/message.props.js.map +1 -0
- package/components/basic/modal/modal.component.js +24 -0
- package/components/basic/modal/modal.component.js.map +1 -0
- package/components/basic/modal/modal.props.js +12 -0
- package/components/basic/picture/picture.component.js +294 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/picture/picture.props.js +25 -0
- package/components/basic/picture/picture.props.js.map +1 -0
- package/components/basic/picture/picture.styles.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js +96 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.js +19 -0
- package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.js +45 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js +79 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.js +19 -0
- package/components/basic/search/local-data-provider.js +113 -0
- package/components/basic/search/search.component.js +455 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.props.js +39 -0
- package/components/basic/search/search.props.js.map +1 -0
- package/components/basic/search/search.styles.js +187 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/skeleton/skeleton.component.js +151 -0
- package/components/basic/skeleton/skeleton.component.js.map +1 -0
- package/components/basic/skeleton/skeleton.props.js +11 -0
- package/components/basic/skeleton/skeleton.styles.js.map +1 -0
- package/components/basic/spinner/spinner.component.js +99 -0
- package/components/basic/spinner/spinner.component.js.map +1 -0
- package/components/basic/spinner/spinner.props.js +17 -0
- package/components/basic/tooltip/tooltip.component.js +80 -0
- package/components/basic/tooltip/tooltip.component.js.map +1 -0
- package/components/basic/tooltip/tooltip.props.js +18 -0
- package/components/basic/video/video.component.js +175 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/basic/video/video.props.js +33 -0
- package/components/basic/video/video.props.js.map +1 -0
- package/components/basic/video/video.styles.js +33 -0
- package/components/basic/video/video.styles.js.map +1 -0
- package/components/chart/area-chart/area-chart.component.js +159 -0
- package/components/chart/area-chart/area-chart.component.js.map +1 -0
- package/components/chart/area-chart/area-chart.props.js +12 -0
- package/components/chart/bar-chart/bar-chart.component.js +133 -0
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js +14 -0
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
- package/components/chart/basechart.component.js +693 -0
- package/components/chart/basechart.component.js.map +1 -0
- package/components/chart/basechart.props.js +63 -0
- package/components/chart/basechart.props.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.js +113 -0
- package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.props.js +11 -0
- package/components/chart/donut-chart/donut-chart.props.js +11 -0
- package/components/chart/line-chart/line-chart.component.js +119 -0
- package/components/chart/line-chart/line-chart.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.props.js +14 -0
- package/components/chart/pie-chart/pie-chart.component.js +238 -0
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.js +14 -0
- package/components/chart/stack-chart/stack-chart.component.js +368 -0
- package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.props.js +17 -0
- package/components/chart/theme/chart.theme.js +360 -0
- package/components/chart/theme/chart.theme.js.map +1 -0
- package/components/container/accordion/accordion.component.js +191 -0
- package/components/container/accordion/accordion.component.js.map +1 -0
- package/components/container/accordion/accordion.props.js +14 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js +85 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js +17 -0
- package/components/container/container.component.js +108 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/container.props.js +15 -0
- package/components/container/container.props.js.map +1 -0
- package/components/container/container.styles.js +53 -0
- package/components/container/container.styles.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +24 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +13 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js +22 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js +11 -0
- package/components/container/layoutgrid/layoutgrid.component.js +44 -0
- package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.props.js +11 -0
- package/components/container/linearlayout/linearlayout.component.js +69 -0
- package/components/container/linearlayout/linearlayout.component.js.map +1 -0
- package/components/container/linearlayout/linearlayout.props.js +15 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +25 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +13 -0
- package/components/container/panel/panel-content/panel-content.props.js +11 -0
- package/components/container/panel/panel-footer/panel-footer.props.js +11 -0
- package/components/container/panel/panel.component.js +156 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.props.js +24 -0
- package/components/container/partial-host.component.js +42 -0
- package/components/container/tabs/tabheader/tabheader.component.js +222 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.props.js +15 -0
- package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.js +82 -0
- package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.js +16 -0
- package/components/container/tabs/tabs.component.js +285 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/tabs/tabs.props.js +14 -0
- package/components/container/tabs/tabs.props.js.map +1 -0
- package/components/container/tabs/tabs.styles.js +65 -0
- package/components/container/tabs/tabs.styles.js.map +1 -0
- package/components/container/tile/tile.component.js +51 -0
- package/components/container/tile/tile.component.js.map +1 -0
- package/components/container/tile/tile.props.js +13 -0
- package/components/container/wizard/wizard.component.js +423 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.props.js +28 -0
- package/components/container/wizard/wizard.props.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +328 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js +92 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js +22 -0
- package/components/data/card/card-content/card-content.component.js +46 -0
- package/components/data/card/card-content/card-content.component.js.map +1 -0
- package/components/data/card/card-content/card-content.props.js +12 -0
- package/components/data/card/card-footer/card-footer.component.js +18 -0
- package/components/data/card/card-footer/card-footer.component.js.map +1 -0
- package/components/data/card/card-footer/card-footer.props.js +11 -0
- package/components/data/card/card.component.js +92 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/card/card.props.js +27 -0
- package/components/data/form/form-action/form-action.component.js +35 -0
- package/components/data/form/form-action/form-action.props.js +18 -0
- package/components/data/form/form-body/form-body.component.js +18 -0
- package/components/data/form/form-body/form-body.component.js.map +1 -0
- package/components/data/form/form-body/form-body.props.js +11 -0
- package/components/data/form/form-field/form-field.component.js +249 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form-field/form-field.props.js +35 -0
- package/components/data/form/form-field/form-field.props.js.map +1 -0
- package/components/data/form/form-field/form-field.styles.js +40 -0
- package/components/data/form/form-field/form-field.styles.js.map +1 -0
- package/components/data/form/form-footer/form-footer.component.js +18 -0
- package/components/data/form/form-footer/form-footer.component.js.map +1 -0
- package/components/data/form/form-footer/form-footer.props.js +11 -0
- package/components/data/form/form.component.js +429 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/form/form.props.js +32 -0
- package/components/data/form/form.props.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.props.js +12 -0
- package/components/data/list/list-template/list-template.component.js +46 -0
- package/components/data/list/list-template/list-template.component.js.map +1 -0
- package/components/data/list/list-template/list-template.props.js +12 -0
- package/components/data/list/list.component.js +626 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +56 -0
- package/components/data/list/list.props.js.map +1 -0
- package/components/data/list/list.styles.js +153 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/data/liveform/liveform.component.js +98 -0
- package/components/device/barcodescanner/barcodescanner.component.js +51 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.js +18 -0
- package/components/device/camera/camera.component.js +71 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.props.js +24 -0
- package/components/device/camera/camera.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js +72 -0
- package/components/dialogs/alertdialog/alertdialog.props.js +24 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js +78 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js +24 -0
- package/components/dialogs/dialog/dialog.component.js +107 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.props.js +25 -0
- package/components/dialogs/dialog/dialog.styles.js +78 -0
- package/components/dialogs/dialog/dialog.styles.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.component.js +22 -0
- package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.props.js +11 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js +31 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js +11 -0
- package/components/input/basedataset/basedataset.component.js +232 -0
- package/components/input/basedataset/basedataset.component.js.map +1 -0
- package/components/input/basedataset/basedataset.props.js +32 -0
- package/components/input/basedataset/basedataset.props.js.map +1 -0
- package/components/input/baseinput/baseinput.component.js +203 -0
- package/components/input/baseinput/baseinput.component.js.map +1 -0
- package/components/input/baseinput/baseinput.props.js +32 -0
- package/components/input/baseinput/baseinput.props.js.map +1 -0
- package/components/input/basenumber/basenumber.component.js +357 -0
- package/components/input/basenumber/basenumber.component.js.map +1 -0
- package/components/input/basenumber/basenumber.props.js +28 -0
- package/components/input/basenumber/basenumber.props.js.map +1 -0
- package/components/input/calendar/calendar.component.js +165 -0
- package/components/input/calendar/calendar.component.js.map +1 -0
- package/components/input/calendar/calendar.props.js +14 -0
- package/components/input/calendar/calendar.styles.js.map +1 -0
- package/components/input/calendar/views/month-view.js +204 -0
- package/components/input/calendar/views/month-view.js.map +1 -0
- package/components/input/calendar/views/month-view.styles.js +39 -0
- package/components/input/calendar/views/month-view.styles.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js +124 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkbox/checkbox.props.js +18 -0
- package/components/input/checkbox/checkbox.styles.js +94 -0
- package/components/input/checkbox/checkbox.styles.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js +155 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.props.js +21 -0
- package/components/input/checkboxset/checkboxset.styles.js +88 -0
- package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
- package/components/input/chips/chips.component.js +363 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.props.js +19 -0
- package/components/input/chips/chips.styles.js +155 -0
- package/components/input/chips/chips.styles.js.map +1 -0
- package/components/input/composite/composite.component.js +25 -0
- package/components/input/composite/composite.component.js.map +1 -0
- package/components/input/composite/composite.props.js +12 -0
- package/components/input/currency/currency.component.js +114 -0
- package/components/input/currency/currency.component.js.map +1 -0
- package/components/input/currency/currency.props.js +13 -0
- package/components/input/currency/currency.styles.js +143 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +492 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/epoch/date/date.styles.js +48 -0
- package/components/input/epoch/date/date.styles.js.map +1 -0
- package/components/input/epoch/date-picker.component.js +136 -0
- package/components/input/epoch/date-picker.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.props.js +35 -0
- package/components/input/epoch/datetime/datetime.styles.js +163 -0
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
- package/components/input/epoch/time/time.props.js +15 -0
- package/components/input/epoch/time/time.styles.js +48 -0
- package/components/input/epoch/time/time.styles.js.map +1 -0
- package/components/input/epoch/wheel-date-picker.component.js +206 -0
- package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
- package/components/input/epoch/wheel-time-picker.component.js +107 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js +92 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +80 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +20 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +78 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +19 -0
- package/components/input/fileupload/fileupload.component.js +61 -0
- package/components/input/fileupload/fileupload.component.js.map +1 -0
- package/components/input/fileupload/fileupload.props.js +17 -0
- package/components/input/number/number.component.js +84 -0
- package/components/input/number/number.component.js.map +1 -0
- package/components/input/number/number.props.js +13 -0
- package/components/input/number/number.styles.js +93 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +134 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/radioset/radioset.props.js +20 -0
- package/components/input/radioset/radioset.styles.js +102 -0
- package/components/input/radioset/radioset.styles.js.map +1 -0
- package/components/input/rating/rating.component.js +147 -0
- package/components/input/rating/rating.component.js.map +1 -0
- package/components/input/rating/rating.props.js +21 -0
- package/components/input/rating/rating.styles.js +48 -0
- package/components/input/rating/rating.styles.js.map +1 -0
- package/components/input/select/select.component.js +254 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.props.js +12 -0
- package/components/input/select/select.styles.js +179 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +540 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.props.js +20 -0
- package/components/input/slider/slider.props.js.map +1 -0
- package/components/input/slider/slider.styles.js +95 -0
- package/components/input/slider/slider.styles.js.map +1 -0
- package/components/input/switch/switch.component.js +97 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.props.js +13 -0
- package/components/input/switch/switch.styles.js +192 -0
- package/components/input/switch/switch.styles.js.map +1 -0
- package/components/input/text/text.component.js +86 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.props.js +17 -0
- package/components/input/text/text.props.js.map +1 -0
- package/components/input/text/text.styles.js +88 -0
- package/components/input/text/text.styles.js.map +1 -0
- package/components/input/textarea/textarea.component.js +86 -0
- package/components/input/textarea/textarea.component.js.map +1 -0
- package/components/input/textarea/textarea.props.js +15 -0
- package/components/input/textarea/textarea.props.js.map +1 -0
- package/components/input/textarea/textarea.styles.js +84 -0
- package/components/input/textarea/textarea.styles.js.map +1 -0
- package/components/input/toggle/toggle.component.js +179 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.props.js +24 -0
- package/components/input/toggle/toggle.props.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +89 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js +159 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.js +22 -0
- package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/basenav/basenav.component.js +72 -0
- package/components/navigation/basenav/basenav.props.js +18 -0
- package/components/navigation/menu/menu.component.js +65 -0
- package/components/navigation/menu/menu.component.js.map +1 -0
- package/components/navigation/menu/menu.props.js +14 -0
- package/components/navigation/menu/menu.styles.js +70 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navbar/navbar.component.js +78 -0
- package/components/navigation/navbar/navbar.component.js.map +1 -0
- package/components/navigation/navbar/navbar.props.js +16 -0
- package/components/navigation/navitem/navitem.component.js +68 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.props.js +19 -0
- package/components/navigation/popover/popover.component.js +198 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.props.js +32 -0
- package/components/navigation/popover/popover.props.js.map +1 -0
- package/components/navigation/popover/popover.styles.js +99 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/left-panel/left-panel.component.js +65 -0
- package/components/page/left-panel/left-panel.component.js.map +1 -0
- package/components/page/left-panel/left-panel.props.js +12 -0
- package/components/page/page-content/page-content.component.js +142 -0
- package/components/page/page-content/page-content.component.js.map +1 -0
- package/components/page/page-content/page-content.props.js +17 -0
- package/components/page/page-content/page-content.props.js.map +1 -0
- package/components/page/page-content/page-content.styles.js.map +1 -0
- package/components/page/page.component.js +82 -0
- package/components/page/page.component.js.map +1 -0
- package/components/page/page.props.js +14 -0
- package/components/page/page.props.js.map +1 -0
- package/components/page/partial-container/partial-container.component.js +35 -0
- package/components/page/partial-container/partial-container.component.js.map +1 -0
- package/components/page/partial-container/partial-container.props.js +13 -0
- package/components/page/partial-container/partial-container.props.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js +249 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/components/page/tabbar/tabbar.props.js +29 -0
- package/components/page/tabbar/tabbar.props.js.map +1 -0
- package/core/AppConfig.js.map +1 -0
- package/core/accessibility.js +176 -0
- package/core/accessibility.js.map +1 -0
- package/core/base.component.js +630 -0
- package/core/base.component.js.map +1 -0
- package/core/components/error-fallback.component.js +264 -0
- package/core/components/error-fallback.component.js.map +1 -0
- package/core/components/floatinglabel.component.js.map +1 -0
- package/core/components/textinput.component.js +214 -0
- package/core/components/textinput.component.js.map +1 -0
- package/core/constant.service.js +22 -0
- package/core/error-boundary.component.js +48 -0
- package/core/error-boundary.component.js.map +1 -0
- package/core/event-notifier.js +68 -0
- package/core/fixed-view.component.js +69 -0
- package/core/fixed-view.component.js.map +1 -0
- package/core/formatters.js +70 -0
- package/core/formatters.js.map +1 -0
- package/core/imageSizeEstimator.js +51 -0
- package/core/key.extractor.js +21 -0
- package/core/logger.js +123 -0
- package/core/navigation.service.js +70 -0
- package/core/navigation.service.js.map +1 -0
- package/core/network.service.js +327 -0
- package/core/partial.service.js.map +1 -0
- package/core/props.provider.js +88 -0
- package/core/responsive.utils.js +48 -0
- package/core/responsive.utils.js.map +1 -0
- package/core/scroll-view.component.js +52 -0
- package/core/sticky-container.component.js +175 -0
- package/core/sticky-container.component.js.map +1 -0
- package/core/storage.service.js +38 -0
- package/core/tappable.component.js +160 -0
- package/core/tappable.component.js.map +1 -0
- package/core/toast.service.js.map +1 -0
- package/core/ui-preferences.context.js +10 -0
- package/core/ui-preferences.context.js.map +1 -0
- package/core/utils.js +873 -0
- package/core/utils.js.map +1 -0
- package/core/viewport.js +45 -0
- package/core/wm-component-tree.js +58 -0
- package/gestures/carousel-swipe.animation.js +225 -0
- package/gestures/carousel-swipe.animation.js.map +1 -0
- package/gestures/swipe.animation.js +220 -0
- package/gestures/swipe.animation.js.map +1 -0
- package/npm-shrinkwrap.json +25362 -0
- package/package-lock.json +25362 -0
- package/package.json +279 -0
- package/runtime/App.js +631 -0
- package/runtime/App.js.map +1 -0
- package/runtime/App.navigator.js +113 -0
- package/runtime/App.navigator.js.map +1 -0
- package/runtime/base-customwidget.component.js +52 -0
- package/runtime/base-customwidget.component.js.map +1 -0
- package/runtime/base-fragment.component.js +412 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/base-page.component.js +208 -0
- package/runtime/base-page.component.js.map +1 -0
- package/runtime/base-partial.component.js +63 -0
- package/runtime/base-prefab.component.js +87 -0
- package/runtime/base-prefab.component.js.map +1 -0
- package/runtime/memo.component.js +35 -0
- package/runtime/navigator/stack.navigator.js +78 -0
- package/runtime/navigator/stack.navigator.js.map +1 -0
- package/runtime/services/app-display-manager.service.js +50 -0
- package/runtime/services/app-i18n.service.js +89 -0
- package/runtime/services/app-i18n.service.js.map +1 -0
- package/runtime/services/app-modal.service.js +71 -0
- package/runtime/services/app-security.service.js +256 -0
- package/runtime/services/app-spinner.service.js +74 -0
- package/runtime/services/app-toast.service.js +60 -0
- package/runtime/services/app-toast.service.js.map +1 -0
- package/runtime/services/device/camera-service.js +349 -0
- package/runtime/services/device/camera-service.js.map +1 -0
- package/runtime/services/device/permissions.js +50 -0
- package/runtime/services/device/permissions.js.map +1 -0
- package/runtime/services/device/scan-service.js +162 -0
- package/runtime/services/device/scan-service.js.map +1 -0
- package/runtime/services/partial.service.js +26 -0
- package/runtime/services/partial.service.js.map +1 -0
- package/runtime/services/webprocess.service.js +107 -0
- package/runtime/watcher.js +147 -0
- package/styles/background.component.js +311 -0
- package/styles/background.component.js.map +1 -0
- package/styles/calc.js +165 -0
- package/styles/calc.js.map +1 -0
- package/styles/color-mix.js +82 -0
- package/styles/color-mix.js.map +1 -0
- package/styles/style-props.js +102 -0
- package/styles/style-props.js.map +1 -0
- package/styles/theme.js +548 -0
- package/styles/theme.js.map +1 -0
- package/styles/theme.variables.js +442 -0
- package/styles/theme.variables.js.map +1 -0
- package/variables/base-variable.js +125 -0
- package/variables/device/device/network-info.operation.js +33 -0
- package/variables/device/file/open-file.operation.js +71 -0
- package/variables/device/file/open-file.operation.js.map +1 -0
- package/variables/device/file/upload-file.operation.js +63 -0
- package/variables/device/file/upload-file.operation.js.map +1 -0
- package/variables/live-variable.js +130 -0
- package/variables/model-variable.js +47 -0
- package/variables/service-variable.js +143 -0
- package/variables/utils/inflight-queue.js +114 -0
- app-rn-runtime/actions/notification-action.js +0 -73
- app-rn-runtime/actions/notification-action.js.map +0 -1
- app-rn-runtime/actions/timer-action.js +0 -57
- app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -11
- app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -11
- app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -331
- app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.props.js +0 -21
- app-rn-runtime/components/advanced/carousel/carousel.props.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.styles.js +0 -180
- app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +0 -1
- app-rn-runtime/components/advanced/login/login.component.js +0 -39
- app-rn-runtime/components/advanced/login/login.component.js.map +0 -1
- app-rn-runtime/components/advanced/login/login.props.js +0 -12
- app-rn-runtime/components/advanced/login/login.props.js.map +0 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -114
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -11
- app-rn-runtime/components/advanced/webview/webview.component.js +0 -153
- app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.props.js +0 -16
- app-rn-runtime/components/basic/anchor/anchor.component.js +0 -99
- app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.props.js +0 -32
- app-rn-runtime/components/basic/animatedview.component.js +0 -222
- app-rn-runtime/components/basic/animatedview.component.js.map +0 -1
- app-rn-runtime/components/basic/audio/audio.component.js +0 -251
- app-rn-runtime/components/basic/audio/audio.component.js.map +0 -1
- app-rn-runtime/components/basic/audio/audio.props.js +0 -15
- app-rn-runtime/components/basic/button/button.component.js +0 -113
- app-rn-runtime/components/basic/button/button.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.props.js +0 -27
- app-rn-runtime/components/basic/button/button.styles.js +0 -132
- app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.component.js +0 -27
- app-rn-runtime/components/basic/buttongroup/buttongroup.component.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.props.js +0 -14
- app-rn-runtime/components/basic/custom/custom.component.js +0 -25
- app-rn-runtime/components/basic/custom/custom.component.js.map +0 -1
- app-rn-runtime/components/basic/custom/custom.props.js +0 -16
- app-rn-runtime/components/basic/icon/icon.component.js +0 -266
- app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.props.js +0 -27
- app-rn-runtime/components/basic/icon/icon.props.js.map +0 -1
- app-rn-runtime/components/basic/label/label.component.js +0 -156
- app-rn-runtime/components/basic/label/label.component.js.map +0 -1
- app-rn-runtime/components/basic/label/label.props.js +0 -24
- app-rn-runtime/components/basic/label/label.props.js.map +0 -1
- app-rn-runtime/components/basic/label/label.styles.js +0 -129
- app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
- app-rn-runtime/components/basic/lottie/lottie.component.js +0 -138
- app-rn-runtime/components/basic/lottie/lottie.component.js.map +0 -1
- app-rn-runtime/components/basic/lottie/lottie.props.js +0 -14
- app-rn-runtime/components/basic/message/message.component.js +0 -78
- app-rn-runtime/components/basic/message/message.component.js.map +0 -1
- app-rn-runtime/components/basic/message/message.props.js +0 -21
- app-rn-runtime/components/basic/message/message.props.js.map +0 -1
- app-rn-runtime/components/basic/modal/modal.component.js +0 -22
- app-rn-runtime/components/basic/modal/modal.component.js.map +0 -1
- app-rn-runtime/components/basic/modal/modal.props.js +0 -12
- app-rn-runtime/components/basic/picture/picture.component.js +0 -191
- app-rn-runtime/components/basic/picture/picture.component.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.props.js +0 -22
- app-rn-runtime/components/basic/picture/picture.props.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +0 -59
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.props.js +0 -16
- app-rn-runtime/components/basic/progress-bar/progress-bar.props.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js +0 -29
- app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +0 -77
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.props.js +0 -19
- app-rn-runtime/components/basic/search/local-data-provider.js +0 -113
- app-rn-runtime/components/basic/search/search.component.js +0 -427
- app-rn-runtime/components/basic/search/search.component.js.map +0 -1
- app-rn-runtime/components/basic/search/search.props.js +0 -36
- app-rn-runtime/components/basic/search/search.props.js.map +0 -1
- app-rn-runtime/components/basic/search/search.styles.js +0 -178
- app-rn-runtime/components/basic/search/search.styles.js.map +0 -1
- app-rn-runtime/components/basic/skeleton/skeleton.component.js +0 -151
- app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +0 -1
- app-rn-runtime/components/basic/skeleton/skeleton.props.js +0 -11
- app-rn-runtime/components/basic/skeleton/skeleton.styles.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.component.js +0 -90
- app-rn-runtime/components/basic/spinner/spinner.component.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.props.js +0 -17
- app-rn-runtime/components/basic/tooltip/tooltip.component.js +0 -79
- app-rn-runtime/components/basic/tooltip/tooltip.component.js.map +0 -1
- app-rn-runtime/components/basic/tooltip/tooltip.props.js +0 -18
- app-rn-runtime/components/basic/video/video.component.js +0 -68
- app-rn-runtime/components/basic/video/video.component.js.map +0 -1
- app-rn-runtime/components/basic/video/video.props.js +0 -25
- app-rn-runtime/components/basic/video/video.props.js.map +0 -1
- app-rn-runtime/components/basic/video/video.styles.js +0 -20
- app-rn-runtime/components/basic/video/video.styles.js.map +0 -1
- app-rn-runtime/components/chart/area-chart/area-chart.component.js +0 -148
- app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/area-chart/area-chart.props.js +0 -12
- app-rn-runtime/components/chart/bar-chart/bar-chart.component.js +0 -120
- app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.props.js +0 -13
- app-rn-runtime/components/chart/bar-chart/bar-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/basechart.component.js +0 -693
- app-rn-runtime/components/chart/basechart.component.js.map +0 -1
- app-rn-runtime/components/chart/basechart.props.js +0 -61
- app-rn-runtime/components/chart/basechart.props.js.map +0 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +0 -104
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.props.js +0 -11
- app-rn-runtime/components/chart/donut-chart/donut-chart.props.js +0 -11
- app-rn-runtime/components/chart/line-chart/line-chart.component.js +0 -110
- app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/line-chart/line-chart.props.js +0 -14
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +0 -228
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +0 -14
- app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +0 -348
- app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/stack-chart/stack-chart.props.js +0 -17
- app-rn-runtime/components/chart/theme/chart.theme.js +0 -360
- app-rn-runtime/components/chart/theme/chart.theme.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.component.js +0 -190
- app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.props.js +0 -14
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +0 -85
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js +0 -17
- app-rn-runtime/components/container/container.component.js +0 -80
- app-rn-runtime/components/container/container.component.js.map +0 -1
- app-rn-runtime/components/container/container.props.js +0 -14
- app-rn-runtime/components/container/container.props.js.map +0 -1
- app-rn-runtime/components/container/container.styles.js +0 -52
- app-rn-runtime/components/container/container.styles.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -23
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -13
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js +0 -21
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js +0 -11
- app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js +0 -43
- app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js +0 -11
- app-rn-runtime/components/container/linearlayout/linearlayout.component.js +0 -69
- app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.props.js +0 -15
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -24
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -13
- app-rn-runtime/components/container/panel/panel-content/panel-content.props.js +0 -11
- app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js +0 -11
- app-rn-runtime/components/container/panel/panel.component.js +0 -155
- app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.props.js +0 -24
- app-rn-runtime/components/container/partial-host.component.js +0 -42
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +0 -198
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js +0 -13
- app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +0 -81
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js +0 -16
- app-rn-runtime/components/container/tabs/tabs.component.js +0 -281
- app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.props.js +0 -13
- app-rn-runtime/components/container/tabs/tabs.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.styles.js +0 -61
- app-rn-runtime/components/container/tabs/tabs.styles.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.component.js +0 -49
- app-rn-runtime/components/container/tile/tile.component.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.props.js +0 -13
- app-rn-runtime/components/container/wizard/wizard.component.js +0 -343
- app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.props.js +0 -23
- app-rn-runtime/components/container/wizard/wizard.props.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.styles.js +0 -313
- app-rn-runtime/components/container/wizard/wizard.styles.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js +0 -84
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js +0 -22
- app-rn-runtime/components/data/card/card-content/card-content.component.js +0 -45
- app-rn-runtime/components/data/card/card-content/card-content.component.js.map +0 -1
- app-rn-runtime/components/data/card/card-content/card-content.props.js +0 -12
- app-rn-runtime/components/data/card/card-footer/card-footer.component.js +0 -17
- app-rn-runtime/components/data/card/card-footer/card-footer.component.js.map +0 -1
- app-rn-runtime/components/data/card/card-footer/card-footer.props.js +0 -11
- app-rn-runtime/components/data/card/card.component.js +0 -90
- app-rn-runtime/components/data/card/card.component.js.map +0 -1
- app-rn-runtime/components/data/card/card.props.js +0 -27
- app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -35
- app-rn-runtime/components/data/form/form-action/form-action.props.js +0 -18
- app-rn-runtime/components/data/form/form-body/form-body.component.js +0 -17
- app-rn-runtime/components/data/form/form-body/form-body.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-body/form-body.props.js +0 -11
- app-rn-runtime/components/data/form/form-field/form-field.component.js +0 -246
- app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.props.js +0 -34
- app-rn-runtime/components/data/form/form-field/form-field.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.styles.js +0 -28
- app-rn-runtime/components/data/form/form-field/form-field.styles.js.map +0 -1
- app-rn-runtime/components/data/form/form-footer/form-footer.component.js +0 -17
- app-rn-runtime/components/data/form/form-footer/form-footer.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-footer/form-footer.props.js +0 -11
- app-rn-runtime/components/data/form/form.component.js +0 -425
- app-rn-runtime/components/data/form/form.component.js.map +0 -1
- app-rn-runtime/components/data/form/form.props.js +0 -31
- app-rn-runtime/components/data/form/form.props.js.map +0 -1
- app-rn-runtime/components/data/list/list-action-template/list-action-template.props.js +0 -12
- app-rn-runtime/components/data/list/list-template/list-template.component.js +0 -45
- app-rn-runtime/components/data/list/list-template/list-template.component.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.props.js +0 -12
- app-rn-runtime/components/data/list/list.component.js +0 -475
- app-rn-runtime/components/data/list/list.component.js.map +0 -1
- app-rn-runtime/components/data/list/list.props.js +0 -48
- app-rn-runtime/components/data/list/list.props.js.map +0 -1
- app-rn-runtime/components/data/list/list.styles.js +0 -151
- app-rn-runtime/components/data/list/list.styles.js.map +0 -1
- app-rn-runtime/components/data/liveform/liveform.component.js +0 -98
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +0 -50
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js +0 -18
- app-rn-runtime/components/device/camera/camera.component.js +0 -68
- app-rn-runtime/components/device/camera/camera.component.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.props.js +0 -23
- app-rn-runtime/components/device/camera/camera.props.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +0 -72
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js +0 -24
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +0 -78
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js +0 -24
- app-rn-runtime/components/dialogs/dialog/dialog.component.js +0 -102
- app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.props.js +0 -25
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js +0 -79
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js +0 -21
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js +0 -11
- app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js +0 -26
- app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js +0 -11
- app-rn-runtime/components/input/basedataset/basedataset.component.js +0 -230
- app-rn-runtime/components/input/basedataset/basedataset.component.js.map +0 -1
- app-rn-runtime/components/input/basedataset/basedataset.props.js +0 -31
- app-rn-runtime/components/input/basedataset/basedataset.props.js.map +0 -1
- app-rn-runtime/components/input/baseinput/baseinput.component.js +0 -193
- app-rn-runtime/components/input/baseinput/baseinput.component.js.map +0 -1
- app-rn-runtime/components/input/baseinput/baseinput.props.js +0 -30
- app-rn-runtime/components/input/baseinput/baseinput.props.js.map +0 -1
- app-rn-runtime/components/input/basenumber/basenumber.component.js +0 -340
- app-rn-runtime/components/input/basenumber/basenumber.component.js.map +0 -1
- app-rn-runtime/components/input/basenumber/basenumber.props.js +0 -27
- app-rn-runtime/components/input/basenumber/basenumber.props.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.component.js +0 -164
- app-rn-runtime/components/input/calendar/calendar.component.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.props.js +0 -14
- app-rn-runtime/components/input/calendar/calendar.styles.js.map +0 -1
- app-rn-runtime/components/input/calendar/views/month-view.js +0 -191
- app-rn-runtime/components/input/calendar/views/month-view.js.map +0 -1
- app-rn-runtime/components/input/calendar/views/month-view.styles.js +0 -39
- app-rn-runtime/components/input/calendar/views/month-view.styles.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.component.js +0 -121
- app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.props.js +0 -18
- app-rn-runtime/components/input/checkbox/checkbox.styles.js +0 -83
- app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js +0 -144
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.props.js +0 -21
- app-rn-runtime/components/input/checkboxset/checkboxset.styles.js +0 -78
- app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.component.js +0 -296
- app-rn-runtime/components/input/chips/chips.component.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.props.js +0 -19
- app-rn-runtime/components/input/chips/chips.styles.js +0 -101
- app-rn-runtime/components/input/chips/chips.styles.js.map +0 -1
- app-rn-runtime/components/input/composite/composite.component.js +0 -24
- app-rn-runtime/components/input/composite/composite.component.js.map +0 -1
- app-rn-runtime/components/input/composite/composite.props.js +0 -12
- app-rn-runtime/components/input/currency/currency.component.js +0 -113
- app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.props.js +0 -13
- app-rn-runtime/components/input/currency/currency.styles.js +0 -132
- app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -473
- app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.styles.js +0 -37
- app-rn-runtime/components/input/epoch/date/date.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/date-picker.component.js +0 -136
- app-rn-runtime/components/input/epoch/date-picker.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.props.js +0 -35
- app-rn-runtime/components/input/epoch/datetime/datetime.styles.js +0 -132
- app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.props.js +0 -15
- app-rn-runtime/components/input/epoch/time/time.styles.js +0 -37
- app-rn-runtime/components/input/epoch/time/time.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/wheel-date-picker.component.js +0 -198
- app-rn-runtime/components/input/epoch/wheel-date-picker.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/wheel-time-picker.component.js +0 -107
- app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js +0 -91
- app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.props.js +0 -17
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +0 -79
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +0 -20
- app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +0 -77
- app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +0 -19
- app-rn-runtime/components/input/fileupload/fileupload.component.js +0 -60
- app-rn-runtime/components/input/fileupload/fileupload.component.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.props.js +0 -17
- app-rn-runtime/components/input/number/number.component.js +0 -83
- app-rn-runtime/components/input/number/number.component.js.map +0 -1
- app-rn-runtime/components/input/number/number.props.js +0 -13
- app-rn-runtime/components/input/number/number.styles.js +0 -82
- app-rn-runtime/components/input/number/number.styles.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.component.js +0 -122
- app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.props.js +0 -20
- app-rn-runtime/components/input/radioset/radioset.styles.js +0 -90
- app-rn-runtime/components/input/radioset/radioset.styles.js.map +0 -1
- app-rn-runtime/components/input/rating/rating.component.js +0 -144
- app-rn-runtime/components/input/rating/rating.component.js.map +0 -1
- app-rn-runtime/components/input/rating/rating.props.js +0 -21
- app-rn-runtime/components/input/rating/rating.styles.js +0 -36
- app-rn-runtime/components/input/rating/rating.styles.js.map +0 -1
- app-rn-runtime/components/input/select/select.component.js +0 -215
- app-rn-runtime/components/input/select/select.component.js.map +0 -1
- app-rn-runtime/components/input/select/select.props.js +0 -12
- app-rn-runtime/components/input/select/select.styles.js +0 -129
- app-rn-runtime/components/input/select/select.styles.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.component.js +0 -444
- app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.props.js +0 -20
- app-rn-runtime/components/input/slider/slider.props.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.styles.js +0 -83
- app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.component.js +0 -94
- app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.props.js +0 -13
- app-rn-runtime/components/input/switch/switch.styles.js +0 -143
- app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
- app-rn-runtime/components/input/text/text.component.js +0 -85
- app-rn-runtime/components/input/text/text.component.js.map +0 -1
- app-rn-runtime/components/input/text/text.props.js +0 -15
- app-rn-runtime/components/input/text/text.props.js.map +0 -1
- app-rn-runtime/components/input/text/text.styles.js +0 -68
- app-rn-runtime/components/input/text/text.styles.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.component.js +0 -83
- app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.props.js +0 -14
- app-rn-runtime/components/input/textarea/textarea.props.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.styles.js +0 -66
- app-rn-runtime/components/input/textarea/textarea.styles.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.component.js +0 -150
- app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.props.js +0 -22
- app-rn-runtime/components/input/toggle/toggle.props.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.styles.js +0 -55
- app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +0 -74
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js +0 -21
- app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
- app-rn-runtime/components/navigation/basenav/basenav.component.js +0 -72
- app-rn-runtime/components/navigation/basenav/basenav.props.js +0 -18
- app-rn-runtime/components/navigation/menu/menu.component.js +0 -63
- app-rn-runtime/components/navigation/menu/menu.component.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.props.js +0 -14
- app-rn-runtime/components/navigation/menu/menu.styles.js +0 -74
- app-rn-runtime/components/navigation/menu/menu.styles.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.component.js +0 -77
- app-rn-runtime/components/navigation/navbar/navbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.props.js +0 -16
- app-rn-runtime/components/navigation/navitem/navitem.component.js +0 -67
- app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.props.js +0 -19
- app-rn-runtime/components/navigation/popover/popover.component.js +0 -193
- app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.props.js +0 -31
- app-rn-runtime/components/navigation/popover/popover.props.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.styles.js +0 -86
- app-rn-runtime/components/navigation/popover/popover.styles.js.map +0 -1
- app-rn-runtime/components/page/left-panel/left-panel.component.js +0 -48
- app-rn-runtime/components/page/left-panel/left-panel.component.js.map +0 -1
- app-rn-runtime/components/page/left-panel/left-panel.props.js +0 -12
- app-rn-runtime/components/page/page-content/page-content.component.js +0 -93
- app-rn-runtime/components/page/page-content/page-content.component.js.map +0 -1
- app-rn-runtime/components/page/page-content/page-content.props.js +0 -12
- app-rn-runtime/components/page/page-content/page-content.props.js.map +0 -1
- app-rn-runtime/components/page/page-content/page-content.styles.js.map +0 -1
- app-rn-runtime/components/page/page.component.js +0 -26
- app-rn-runtime/components/page/page.component.js.map +0 -1
- app-rn-runtime/components/page/page.props.js +0 -2
- app-rn-runtime/components/page/page.props.js.map +0 -1
- app-rn-runtime/components/page/partial-container/partial-container.component.js +0 -31
- app-rn-runtime/components/page/partial-container/partial-container.component.js.map +0 -1
- app-rn-runtime/components/page/partial-container/partial-container.props.js +0 -12
- app-rn-runtime/components/page/partial-container/partial-container.props.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.component.js +0 -149
- app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.props.js +0 -28
- app-rn-runtime/components/page/tabbar/tabbar.props.js.map +0 -1
- app-rn-runtime/core/AppConfig.js.map +0 -1
- app-rn-runtime/core/accessibility.js +0 -155
- app-rn-runtime/core/accessibility.js.map +0 -1
- app-rn-runtime/core/base.component.js +0 -485
- app-rn-runtime/core/base.component.js.map +0 -1
- app-rn-runtime/core/components/floatinglabel.component.js.map +0 -1
- app-rn-runtime/core/components/textinput.component.js +0 -197
- app-rn-runtime/core/components/textinput.component.js.map +0 -1
- app-rn-runtime/core/constant.service.js +0 -22
- app-rn-runtime/core/event-notifier.js +0 -68
- app-rn-runtime/core/fixed-view.component.js +0 -67
- app-rn-runtime/core/fixed-view.component.js.map +0 -1
- app-rn-runtime/core/formatters.js +0 -68
- app-rn-runtime/core/formatters.js.map +0 -1
- app-rn-runtime/core/imageSizeEstimator.js +0 -51
- app-rn-runtime/core/key.extractor.js +0 -21
- app-rn-runtime/core/logger.js +0 -123
- app-rn-runtime/core/navigation.service.js +0 -5
- app-rn-runtime/core/navigation.service.js.map +0 -1
- app-rn-runtime/core/network.service.js +0 -327
- app-rn-runtime/core/partial.service.js.map +0 -1
- app-rn-runtime/core/props.provider.js +0 -88
- app-rn-runtime/core/scroll-view.component.js +0 -52
- app-rn-runtime/core/storage.service.js +0 -38
- app-rn-runtime/core/tappable.component.js +0 -151
- app-rn-runtime/core/tappable.component.js.map +0 -1
- app-rn-runtime/core/toast.service.js.map +0 -1
- app-rn-runtime/core/ui-preferences.context.js +0 -7
- app-rn-runtime/core/ui-preferences.context.js.map +0 -1
- app-rn-runtime/core/utils.js +0 -529
- app-rn-runtime/core/utils.js.map +0 -1
- app-rn-runtime/core/viewport.js +0 -45
- app-rn-runtime/core/wm-component-tree.js +0 -58
- app-rn-runtime/gestures/swipe.animation.js +0 -217
- app-rn-runtime/gestures/swipe.animation.js.map +0 -1
- app-rn-runtime/package.json +0 -277
- app-rn-runtime/runtime/App.js +0 -525
- app-rn-runtime/runtime/App.js.map +0 -1
- app-rn-runtime/runtime/App.navigator.js +0 -110
- app-rn-runtime/runtime/App.navigator.js.map +0 -1
- app-rn-runtime/runtime/base-fragment.component.js +0 -401
- app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
- app-rn-runtime/runtime/base-page.component.js +0 -206
- app-rn-runtime/runtime/base-page.component.js.map +0 -1
- app-rn-runtime/runtime/base-partial.component.js +0 -63
- app-rn-runtime/runtime/base-prefab.component.js +0 -83
- app-rn-runtime/runtime/base-prefab.component.js.map +0 -1
- app-rn-runtime/runtime/memo.component.js +0 -35
- app-rn-runtime/runtime/navigator/stack.navigator.js +0 -77
- app-rn-runtime/runtime/navigator/stack.navigator.js.map +0 -1
- app-rn-runtime/runtime/services/app-display-manager.service.js +0 -50
- app-rn-runtime/runtime/services/app-i18n.service.js +0 -81
- app-rn-runtime/runtime/services/app-i18n.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-modal.service.js +0 -71
- app-rn-runtime/runtime/services/app-security.service.js +0 -256
- app-rn-runtime/runtime/services/app-spinner.service.js +0 -74
- app-rn-runtime/runtime/services/app-toast.service.js +0 -56
- app-rn-runtime/runtime/services/app-toast.service.js.map +0 -1
- app-rn-runtime/runtime/services/device/camera-service.js +0 -349
- app-rn-runtime/runtime/services/device/camera-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/permissions.js +0 -50
- app-rn-runtime/runtime/services/device/permissions.js.map +0 -1
- app-rn-runtime/runtime/services/device/scan-service.js +0 -136
- app-rn-runtime/runtime/services/device/scan-service.js.map +0 -1
- app-rn-runtime/runtime/services/partial.service.js +0 -15
- app-rn-runtime/runtime/services/partial.service.js.map +0 -1
- app-rn-runtime/runtime/services/webprocess.service.js +0 -107
- app-rn-runtime/runtime/watcher.js +0 -147
- app-rn-runtime/styles/background.component.js +0 -311
- app-rn-runtime/styles/background.component.js.map +0 -1
- app-rn-runtime/styles/style-props.js +0 -93
- app-rn-runtime/styles/style-props.js.map +0 -1
- app-rn-runtime/styles/theme.js +0 -414
- app-rn-runtime/styles/theme.js.map +0 -1
- app-rn-runtime/styles/theme.variables.js +0 -437
- app-rn-runtime/styles/theme.variables.js.map +0 -1
- app-rn-runtime/variables/base-variable.js +0 -125
- app-rn-runtime/variables/device/device/network-info.operation.js +0 -33
- app-rn-runtime/variables/device/file/upload-file.operation.js +0 -56
- app-rn-runtime/variables/device/file/upload-file.operation.js.map +0 -1
- app-rn-runtime/variables/live-variable.js +0 -130
- app-rn-runtime/variables/model-variable.js +0 -47
- app-rn-runtime/variables/service-variable.js +0 -143
- app-rn-runtime/variables/utils/inflight-queue.js +0 -114
- {app-rn-runtime → package}/actions/base-action.js +0 -0
- {app-rn-runtime → package}/actions/base-action.js.map +0 -0
- {app-rn-runtime → package}/actions/index.js +0 -0
- {app-rn-runtime → package}/actions/index.js.map +0 -0
- {app-rn-runtime → package}/actions/login-action.js +0 -0
- {app-rn-runtime → package}/actions/login-action.js.map +0 -0
- {app-rn-runtime → package}/actions/logout-action.js +0 -0
- {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
- {app-rn-runtime → package}/actions/navigation-action.js +0 -0
- {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
- {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/tooltip/tooltip.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/tooltip/tooltip.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/tooltip/tooltip.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
- {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/staticdata.js +0 -0
- {app-rn-runtime → package}/components/chart/staticdata.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.component.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.styles.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-action-template/list-action-template.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheel-time-picker.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/tabbar/curve.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/curve.js.map +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
- {app-rn-runtime → package}/core/AppConfig.js +0 -0
- {app-rn-runtime → package}/core/asset.provider.js +0 -0
- {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
- {app-rn-runtime → package}/core/components/floatinglabel.component.js +0 -0
- {app-rn-runtime → package}/core/constant.service.js.map +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/camera-service.js +0 -0
- {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/location-service.js +0 -0
- {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/scan-service.js +0 -0
- {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
- {app-rn-runtime → package}/core/display.manager.js +0 -0
- {app-rn-runtime → package}/core/display.manager.js.map +0 -0
- {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
- {app-rn-runtime → package}/core/i18n.service.js +0 -0
- {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
- {app-rn-runtime → package}/core/if.component.js +0 -0
- {app-rn-runtime → package}/core/if.component.js.map +0 -0
- {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
- {app-rn-runtime → package}/core/injector.js +0 -0
- {app-rn-runtime → package}/core/injector.js.map +0 -0
- {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
- {app-rn-runtime → package}/core/logger.js.map +0 -0
- {app-rn-runtime → package}/core/modal.service.js +0 -0
- {app-rn-runtime → package}/core/modal.service.js.map +0 -0
- {app-rn-runtime → package}/core/network.service.js.map +0 -0
- {app-rn-runtime → package}/core/partial.service.js +0 -0
- {app-rn-runtime → package}/core/props.provider.js.map +0 -0
- {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
- {app-rn-runtime → package}/core/security.service.js +0 -0
- {app-rn-runtime → package}/core/security.service.js.map +0 -0
- {app-rn-runtime → package}/core/spinner.service.js +0 -0
- {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
- {app-rn-runtime → package}/core/storage.service.js.map +0 -0
- {app-rn-runtime → package}/core/testid.provider.js +0 -0
- {app-rn-runtime → package}/core/testid.provider.js.map +0 -0
- {app-rn-runtime → package}/core/toast.service.js +0 -0
- {app-rn-runtime → package}/core/viewport.js.map +0 -0
- {app-rn-runtime → package}/core/wm-component-tree.js.map +0 -0
- {app-rn-runtime → package}/index.js +0 -0
- {app-rn-runtime → package}/index.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
- {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
- {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
- {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
- {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
- {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
- {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
- {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
- {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
- {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device-variable.js +0 -0
- {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/http.service.js +0 -0
- {app-rn-runtime → package}/variables/http.service.js.map +0 -0
- {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
- {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
@@ -0,0 +1,294 @@
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
|
+
import React from 'react';
|
6
|
+
import { Image, View } from 'react-native';
|
7
|
+
import { Image as EXPOImage } from 'expo-image';
|
8
|
+
import { isNumber } from 'lodash-es';
|
9
|
+
import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
10
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
11
|
+
import ImageSizeEstimator from '@wavemaker/app-rn-runtime/core/imageSizeEstimator';
|
12
|
+
import { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';
|
13
|
+
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
14
|
+
import WmPictureProps from './picture.props';
|
15
|
+
import { DEFAULT_CLASS } from './picture.styles';
|
16
|
+
import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
|
17
|
+
import { createSkeleton } from '../skeleton/skeleton.component';
|
18
|
+
export class WmPictureState extends BaseComponentState {
|
19
|
+
constructor(...args) {
|
20
|
+
super(...args);
|
21
|
+
_defineProperty(this, "naturalImageWidth", 0);
|
22
|
+
_defineProperty(this, "naturalImageHeight", 0);
|
23
|
+
_defineProperty(this, "imageWidth", 0);
|
24
|
+
_defineProperty(this, "imageHeight", 0);
|
25
|
+
_defineProperty(this, "originalContainerWidth", 0);
|
26
|
+
_defineProperty(this, "originalContainerHeight", 0);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
export default class WmPicture extends BaseComponent {
|
30
|
+
constructor(props) {
|
31
|
+
super(props, DEFAULT_CLASS, new WmPictureProps());
|
32
|
+
_defineProperty(this, "_pictureSource", null);
|
33
|
+
_defineProperty(this, "_picturePlaceHolder", null);
|
34
|
+
// The below property will be used to track and remove the calculateImageSize listenrs of individual picturesource
|
35
|
+
_defineProperty(this, "_cleanupTracker", {});
|
36
|
+
_defineProperty(this, "onViewLayoutChange", e => {
|
37
|
+
var _this$styles, _this$styles2, _this$styles3;
|
38
|
+
let imageWidth = e.nativeEvent.layout.width;
|
39
|
+
let imageHeight = e.nativeEvent.layout.height;
|
40
|
+
if (!imageWidth && !imageHeight) {
|
41
|
+
return;
|
42
|
+
}
|
43
|
+
if (!((_this$styles = this.styles) !== null && _this$styles !== void 0 && _this$styles.root.height) || typeof ((_this$styles2 = this.styles) === null || _this$styles2 === void 0 ? void 0 : _this$styles2.root.height) === 'string' && !((_this$styles3 = this.styles) !== null && _this$styles3 !== void 0 && _this$styles3.root.height.includes('%'))) {
|
44
|
+
imageHeight = 0;
|
45
|
+
}
|
46
|
+
if (this.state.props.aspectratio && !imageHeight && imageWidth) {
|
47
|
+
imageHeight = imageWidth / parseFloat(this.state.props.aspectratio);
|
48
|
+
} else if (this.state.props.aspectratio && !imageWidth && imageHeight) {
|
49
|
+
imageWidth = imageWidth * parseFloat(this.state.props.aspectratio);
|
50
|
+
} else if (imageWidth && !imageHeight) {
|
51
|
+
imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;
|
52
|
+
} else if (imageHeight && !imageWidth) {
|
53
|
+
imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;
|
54
|
+
}
|
55
|
+
this.updateState({
|
56
|
+
imageWidth: imageWidth,
|
57
|
+
imageHeight: imageHeight,
|
58
|
+
originalContainerWidth: this.styles.root.width ? e.nativeEvent.layout.width : 0,
|
59
|
+
originalContainerHeight: this.styles.root.height ? e.nativeEvent.layout.height : 0
|
60
|
+
});
|
61
|
+
});
|
62
|
+
_defineProperty(this, "showImage", (imageElement, props) => {
|
63
|
+
return imageElement;
|
64
|
+
});
|
65
|
+
}
|
66
|
+
loadImage(image) {
|
67
|
+
if (!image || !this.loadAsset) {
|
68
|
+
return null;
|
69
|
+
}
|
70
|
+
const imageSrc = this.loadAsset(image);
|
71
|
+
if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {
|
72
|
+
return null;
|
73
|
+
}
|
74
|
+
// if(this.state.props.aspectratio) {
|
75
|
+
// return imageSrc;
|
76
|
+
// }
|
77
|
+
if (isNumber(imageSrc)) {
|
78
|
+
const {
|
79
|
+
width,
|
80
|
+
height
|
81
|
+
} = Image.resolveAssetSource(imageSrc);
|
82
|
+
this.updateState({
|
83
|
+
naturalImageWidth: width,
|
84
|
+
naturalImageHeight: height
|
85
|
+
});
|
86
|
+
} else if (imageSrc !== null) {
|
87
|
+
const cancel = ImageSizeEstimator.getSize(imageSrc, (width, height) => {
|
88
|
+
this.updateState({
|
89
|
+
naturalImageWidth: width,
|
90
|
+
naturalImageHeight: height
|
91
|
+
});
|
92
|
+
this.cleanup.splice(this.cleanup.indexOf(cancel), 1);
|
93
|
+
});
|
94
|
+
if (this.props.picturesource && this._cleanupTracker[this.props.picturesource]) {
|
95
|
+
this._cleanupTracker[this.props.picturesource].push(cancel);
|
96
|
+
} else if (this.props.picturesource && !this._cleanupTracker[this.props.picturesource]) {
|
97
|
+
this._cleanupTracker[this.props.picturesource] = [];
|
98
|
+
this._cleanupTracker[this.props.picturesource].push(cancel);
|
99
|
+
}
|
100
|
+
this.cleanup.push(cancel);
|
101
|
+
}
|
102
|
+
return imageSrc;
|
103
|
+
}
|
104
|
+
|
105
|
+
// Check if the image source prop is changed from previous update to remove all listeners
|
106
|
+
componentDidUpdate(prevProps, prevState, snapshot) {
|
107
|
+
if (this.state.props.picturesource !== prevProps.picturesource) {
|
108
|
+
if (prevProps.picturesource && this._cleanupTracker[prevProps.picturesource]) {
|
109
|
+
this._cleanupTracker[prevProps.picturesource].forEach(func => {
|
110
|
+
func();
|
111
|
+
});
|
112
|
+
this._cleanupTracker[prevProps.picturesource] = [];
|
113
|
+
delete this._cleanupTracker[prevProps.picturesource];
|
114
|
+
}
|
115
|
+
}
|
116
|
+
super.componentDidUpdate(prevProps, prevState);
|
117
|
+
}
|
118
|
+
onPropertyChange(name, $new, $old) {
|
119
|
+
switch (name) {
|
120
|
+
case 'picturesource':
|
121
|
+
this._pictureSource = null;
|
122
|
+
case 'pictureplaceholder':
|
123
|
+
this._picturePlaceHolder = null;
|
124
|
+
break;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
createShape(shape, imageWidth) {
|
128
|
+
if (shape) {
|
129
|
+
switch (shape) {
|
130
|
+
case 'circle':
|
131
|
+
return {
|
132
|
+
picture: {
|
133
|
+
borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4
|
134
|
+
}
|
135
|
+
};
|
136
|
+
case 'rounded':
|
137
|
+
return this.theme.getStyle('rounded-image');
|
138
|
+
case 'thumbnail':
|
139
|
+
return this.theme.getStyle('thumbnail-image');
|
140
|
+
}
|
141
|
+
}
|
142
|
+
return {};
|
143
|
+
}
|
144
|
+
getElementToShow(props, imgSrc, shapeStyles) {
|
145
|
+
let elementToshow, source;
|
146
|
+
if (imgSrc && typeof imgSrc === 'object' && typeof (imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.default) === 'function') {
|
147
|
+
let imgStyle = {};
|
148
|
+
if (props.resizemode === 'contain') {
|
149
|
+
imgStyle['width'] = '100%';
|
150
|
+
imgStyle['height'] = '100%';
|
151
|
+
}
|
152
|
+
elementToshow = /*#__PURE__*/React.createElement(imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.default, imgStyle);
|
153
|
+
//} else if (!isWebPreviewMode() && props.isSvg) {
|
154
|
+
// svg from uri
|
155
|
+
// elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;
|
156
|
+
} else if (isFullPathUrl(imgSrc)) {
|
157
|
+
source = {
|
158
|
+
uri: imgSrc
|
159
|
+
};
|
160
|
+
} else {
|
161
|
+
source = imgSrc;
|
162
|
+
}
|
163
|
+
if (this.state.naturalImageWidth || this.state.props.aspectratio) {
|
164
|
+
elementToshow =
|
165
|
+
/*#__PURE__*/
|
166
|
+
// * INFO: if any issue arises like freezing of application because of
|
167
|
+
// * rendering large number of images, check the cache policy.
|
168
|
+
React.createElement(EXPOImage, _extends({
|
169
|
+
cachePolicy: "memory"
|
170
|
+
}, this.getTestProps('picture'), {
|
171
|
+
style: [this.styles.picture, shapeStyles.picture, props.fastload || this.state.imageWidth ? {
|
172
|
+
opacity: 1
|
173
|
+
} : {
|
174
|
+
opacity: 0
|
175
|
+
}],
|
176
|
+
contentFit: props.resizemode,
|
177
|
+
source: source
|
178
|
+
}));
|
179
|
+
}
|
180
|
+
return elementToshow;
|
181
|
+
}
|
182
|
+
renderSkeleton(props) {
|
183
|
+
var _this$styles$root, _shapeStyles$root, _shapeStyles$picture, _this$styles$root2, _shapeStyles$root2, _shapeStyles$picture2, _this$styles$root3, _shapeStyles$picture3, _shapeStyles$root3, _this$styles$root4;
|
184
|
+
const imageWidth = this.state.imageWidth;
|
185
|
+
const imageHeight = this.state.imageHeight;
|
186
|
+
const shapeStyles = this.createShape(this.props.shape, imageWidth);
|
187
|
+
const skeletonWidth = this.props.skeletonwidth || ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width) || ((_shapeStyles$root = shapeStyles.root) === null || _shapeStyles$root === void 0 ? void 0 : _shapeStyles$root.width) || ((_shapeStyles$picture = shapeStyles.picture) === null || _shapeStyles$picture === void 0 ? void 0 : _shapeStyles$picture.width) || imageWidth;
|
188
|
+
const skeletonHeight = this.props.skeletonheight || ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) || ((_shapeStyles$root2 = shapeStyles.root) === null || _shapeStyles$root2 === void 0 ? void 0 : _shapeStyles$root2.height) || ((_shapeStyles$picture2 = shapeStyles.picture) === null || _shapeStyles$picture2 === void 0 ? void 0 : _shapeStyles$picture2.height) || imageHeight;
|
189
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
190
|
+
...this.styles.root,
|
191
|
+
borderRadius: this.props.shape == 'circle' && (_this$styles$root3 = this.styles.root) !== null && _this$styles$root3 !== void 0 && _this$styles$root3.width ? 25 : ((_shapeStyles$picture3 = shapeStyles.picture) === null || _shapeStyles$picture3 === void 0 ? void 0 : _shapeStyles$picture3.borderRadius) || ((_shapeStyles$root3 = shapeStyles.root) === null || _shapeStyles$root3 === void 0 ? void 0 : _shapeStyles$root3.borderRadius) || ((_this$styles$root4 = this.styles.root) === null || _this$styles$root4 === void 0 ? void 0 : _this$styles$root4.borderRadius) || 4,
|
192
|
+
width: skeletonWidth,
|
193
|
+
height: skeletonHeight
|
194
|
+
});
|
195
|
+
}
|
196
|
+
//TODO: remove the re calculation logic later. Keeping it as an extra safety.
|
197
|
+
calculateBasedOnaspectratio() {
|
198
|
+
if (this.state.props.aspectratio) {
|
199
|
+
if (this.state.originalContainerWidth) {
|
200
|
+
return {
|
201
|
+
imageHeight: this.state.originalContainerWidth / parseFloat(this.state.props.aspectratio),
|
202
|
+
imageWidth: this.state.originalContainerWidth
|
203
|
+
};
|
204
|
+
} else if (this.state.originalContainerHeight) {
|
205
|
+
return {
|
206
|
+
imageHeight: this.state.originalContainerHeight,
|
207
|
+
imageWidth: this.state.originalContainerHeight * parseFloat(this.state.props.aspectratio)
|
208
|
+
};
|
209
|
+
}
|
210
|
+
}
|
211
|
+
return null;
|
212
|
+
}
|
213
|
+
|
214
|
+
//TODO: remove the re calculation logic later. Keeping it as an extra safety.
|
215
|
+
calculateBasedOnNaturalDimensions() {
|
216
|
+
// No need to calculate width & height if the user already passign them explicitly from props.
|
217
|
+
const widthAndHeightExistsInProps = this.styles.root.width && this.styles.root.height;
|
218
|
+
if (!this.state.props.aspectratio && !widthAndHeightExistsInProps) {
|
219
|
+
if (this.state.originalContainerWidth) {
|
220
|
+
return {
|
221
|
+
imageHeight: this.state.originalContainerWidth * this.state.naturalImageHeight / this.state.naturalImageWidth,
|
222
|
+
imageWidth: this.state.originalContainerWidth
|
223
|
+
};
|
224
|
+
} else if (this.state.originalContainerHeight) {
|
225
|
+
return {
|
226
|
+
imageHeight: this.state.originalContainerHeight,
|
227
|
+
imageWidth: this.state.originalContainerHeight * this.state.naturalImageWidth / this.state.naturalImageHeight
|
228
|
+
};
|
229
|
+
}
|
230
|
+
}
|
231
|
+
return null;
|
232
|
+
}
|
233
|
+
renderWidget(props) {
|
234
|
+
var _shapeStyles$picture4;
|
235
|
+
let imageWidth = this.state.imageWidth;
|
236
|
+
let imageHeight = this.state.imageHeight;
|
237
|
+
|
238
|
+
//TODO: remove the re calculation logic later. Keeping it as an extra safety.
|
239
|
+
const aspectDimensions = this.calculateBasedOnaspectratio();
|
240
|
+
const naturalDimensions = this.calculateBasedOnNaturalDimensions();
|
241
|
+
if (aspectDimensions) {
|
242
|
+
const dimensions = aspectDimensions;
|
243
|
+
imageWidth = dimensions.imageWidth;
|
244
|
+
imageHeight = dimensions.imageHeight;
|
245
|
+
} else if (naturalDimensions) {
|
246
|
+
const dimensions = naturalDimensions;
|
247
|
+
imageHeight = dimensions.imageHeight;
|
248
|
+
imageWidth = dimensions.imageWidth;
|
249
|
+
}
|
250
|
+
const shapeStyles = this.createShape(props.shape, imageWidth);
|
251
|
+
this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);
|
252
|
+
this._picturePlaceHolder = props.fastload ? this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder) : this._picturePlaceHolder || this.loadImage(props.pictureplaceholder);
|
253
|
+
const imgSrc = this._pictureSource || this._picturePlaceHolder;
|
254
|
+
let elementToshow;
|
255
|
+
if (imgSrc) {
|
256
|
+
elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);
|
257
|
+
}
|
258
|
+
return imgSrc && (this.state.naturalImageWidth || props.isSvg || props.aspectratio) ? /*#__PURE__*/React.createElement(View, {
|
259
|
+
style: [{
|
260
|
+
width: imageWidth,
|
261
|
+
height: imageHeight
|
262
|
+
}, this.styles.root, shapeStyles.root, shapeStyles.picture],
|
263
|
+
onLayout: event => this.handleLayout(event)
|
264
|
+
}, this._background, /*#__PURE__*/React.createElement(View, {
|
265
|
+
style: [{
|
266
|
+
overflow: 'hidden',
|
267
|
+
width: '100%',
|
268
|
+
height: '100%'
|
269
|
+
}],
|
270
|
+
onLayout: this.onViewLayoutChange
|
271
|
+
}, /*#__PURE__*/React.createElement(Tappable, _extends({
|
272
|
+
disableTouchEffect: this.state.props.disabletoucheffect
|
273
|
+
}, this.getTestPropsForAction(), {
|
274
|
+
rippleColor: this.styles.root.rippleColor,
|
275
|
+
target: this,
|
276
|
+
styles: {
|
277
|
+
width: imageWidth ? null : '100%',
|
278
|
+
height: imageHeight ? null : '100%'
|
279
|
+
}
|
280
|
+
}), /*#__PURE__*/React.createElement(Animatedview, {
|
281
|
+
entryanimation: props.animation,
|
282
|
+
delay: props.animationdelay,
|
283
|
+
style: [{
|
284
|
+
height: imageHeight,
|
285
|
+
width: imageWidth,
|
286
|
+
borderRadius: (_shapeStyles$picture4 = shapeStyles.picture) === null || _shapeStyles$picture4 === void 0 ? void 0 : _shapeStyles$picture4.borderRadius
|
287
|
+
}],
|
288
|
+
accessibilityProps: props.accessible ? {
|
289
|
+
...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)
|
290
|
+
} : {}
|
291
|
+
}, this.showImage(elementToshow, props))))) : null;
|
292
|
+
}
|
293
|
+
}
|
294
|
+
//# sourceMappingURL=picture.component.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","Image","View","EXPOImage","isNumber","Tappable","BaseComponent","BaseComponentState","ImageSizeEstimator","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmPictureProps","DEFAULT_CLASS","Animatedview","createSkeleton","WmPictureState","constructor","args","_defineProperty","WmPicture","props","e","_this$styles","_this$styles2","_this$styles3","imageWidth","nativeEvent","layout","width","imageHeight","height","styles","root","includes","state","aspectratio","parseFloat","naturalImageHeight","naturalImageWidth","updateState","originalContainerWidth","originalContainerHeight","imageElement","loadImage","image","loadAsset","imageSrc","default","resolveAssetSource","cancel","getSize","cleanup","splice","indexOf","picturesource","_cleanupTracker","push","componentDidUpdate","prevProps","prevState","snapshot","forEach","func","onPropertyChange","name","$new","$old","_pictureSource","_picturePlaceHolder","createShape","shape","picture","borderRadius","theme","getStyle","getElementToShow","imgSrc","shapeStyles","elementToshow","source","imgStyle","resizemode","createElement","uri","_extends","cachePolicy","getTestProps","style","fastload","opacity","contentFit","renderSkeleton","_this$styles$root","_shapeStyles$root","_shapeStyles$picture","_this$styles$root2","_shapeStyles$root2","_shapeStyles$picture2","_this$styles$root3","_shapeStyles$picture3","_shapeStyles$root3","_this$styles$root4","skeletonWidth","skeletonwidth","skeletonHeight","skeletonheight","skeleton","calculateBasedOnaspectratio","calculateBasedOnNaturalDimensions","widthAndHeightExistsInProps","renderWidget","_shapeStyles$picture4","aspectDimensions","naturalDimensions","dimensions","pictureplaceholder","isSvg","onLayout","event","handleLayout","_background","overflow","onViewLayoutChange","disableTouchEffect","disabletoucheffect","getTestPropsForAction","rippleColor","target","entryanimation","animation","delay","animationdelay","accessibilityProps","accessible","PICTURE","showImage"],"sources":["picture.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Image, LayoutChangeEvent, View } from 'react-native';\nimport {Image as EXPOImage} from 'expo-image';\nimport { isNumber } from 'lodash-es';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport ImageSizeEstimator from '@wavemaker/app-rn-runtime/core/imageSizeEstimator';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmPictureProps from './picture.props';\nimport { DEFAULT_CLASS, WmPictureStyles } from './picture.styles';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\nexport class WmPictureState extends BaseComponentState<WmPictureProps> {\n naturalImageWidth: number = 0;\n naturalImageHeight: number = 0;\n imageWidth: number = 0;\n imageHeight: number = 0;\n originalContainerWidth: number = 0;\n originalContainerHeight: number = 0;\n}\n\nexport default class WmPicture extends BaseComponent<WmPictureProps, WmPictureState, WmPictureStyles> {\n\n private _pictureSource = null as any;\n private _picturePlaceHolder = null as any;\n\n // The below property will be used to track and remove the calculateImageSize listenrs of individual picturesource\n private _cleanupTracker = {} as any\n\n constructor(props: WmPictureProps) {\n super(props, DEFAULT_CLASS, new WmPictureProps());\n }\n\n loadImage(image: string | undefined) {\n if (!image || !this.loadAsset) {\n return null;\n }\n const imageSrc = this.loadAsset(image) as any;\n if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {\n return null;\n }\n // if(this.state.props.aspectratio) {\n // return imageSrc;\n // }\n if (isNumber(imageSrc)) {\n const {width, height} = Image.resolveAssetSource(imageSrc);\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n } else if (imageSrc !== null) {\n const cancel = ImageSizeEstimator.getSize(imageSrc, (width: number, height: number) => {\n this.updateState({\n naturalImageWidth: width,\n naturalImageHeight: height\n } as WmPictureState);\n this.cleanup.splice(this.cleanup.indexOf(cancel), 1);\n });\n if(this.props.picturesource && this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource].push(cancel)\n } else if(this.props.picturesource && !this._cleanupTracker[this.props.picturesource]) {\n this._cleanupTracker[this.props.picturesource] = [];\n this._cleanupTracker[this.props.picturesource].push(cancel)\n }\n this.cleanup.push(cancel);\n }\n return imageSrc;\n }\n\n // Check if the image source prop is changed from previous update to remove all listeners\n componentDidUpdate(prevProps: Readonly<WmPictureProps>, prevState: Readonly<WmPictureState>, snapshot?: any): void {\n if(this.state.props.picturesource !== prevProps.picturesource) {\n if(prevProps.picturesource && this._cleanupTracker[prevProps.picturesource]) {\n this._cleanupTracker[prevProps.picturesource].forEach((func: any) => {\n func();\n }); \n this._cleanupTracker[prevProps.picturesource] = []\n delete this._cleanupTracker[prevProps.picturesource] \n }\n }\n super.componentDidUpdate(prevProps, prevState)\n }\n\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'picturesource':\n this._pictureSource = null;\n case 'pictureplaceholder':\n this._picturePlaceHolder = null;\n break;\n }\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let imageWidth = e.nativeEvent.layout.width;\n let imageHeight = e.nativeEvent.layout.height;\n if (!imageWidth && !imageHeight) {\n return;\n }\n if (!this.styles?.root.height\n || (typeof this.styles?.root.height === 'string'\n && !this.styles?.root.height.includes('%'))) {\n imageHeight = 0;\n }\n if(this.state.props.aspectratio && !imageHeight && imageWidth) {\n imageHeight = imageWidth / parseFloat(this.state.props.aspectratio as string)\n } else if (this.state.props.aspectratio && !imageWidth && imageHeight) {\n imageWidth = imageWidth * parseFloat(this.state.props.aspectratio as string)\n } else if (imageWidth && !imageHeight) {\n imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;\n } else if (imageHeight && !imageWidth) {\n imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;\n }\n this.updateState({\n imageWidth: imageWidth,\n imageHeight: imageHeight,\n originalContainerWidth: this.styles.root.width ? e.nativeEvent.layout.width : 0,\n originalContainerHeight: this.styles.root.height ? e.nativeEvent.layout.height: 0\n } as WmPictureState);\n };\n\n createShape(shape: string | undefined, imageWidth?: number | string): WmPictureStyles {\n if (shape) {\n switch(shape) {\n case 'circle':\n return {\n picture: {\n borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4\n }\n } as WmPictureStyles;\n case 'rounded' :\n return (this.theme.getStyle('rounded-image') as WmPictureStyles);\n case 'thumbnail' :\n return (this.theme.getStyle('thumbnail-image') as WmPictureStyles);\n }\n }\n return {} as WmPictureStyles;\n }\n\n getElementToShow(props: WmPictureProps, imgSrc: any, shapeStyles: WmPictureStyles) {\n let elementToshow, source;\n if (imgSrc && typeof imgSrc === 'object' && typeof imgSrc?.default === 'function') {\n let imgStyle : any = {};\n if (props.resizemode === 'contain') {\n imgStyle['width'] = '100%';\n imgStyle['height'] = '100%';\n }\n elementToshow = React.createElement(imgSrc?.default, imgStyle);\n //} else if (!isWebPreviewMode() && props.isSvg) {\n // svg from uri\n // elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;\n } else if (isFullPathUrl(imgSrc)) {\n source = {\n uri: imgSrc\n };\n } else {\n source = imgSrc;\n }\n if (this.state.naturalImageWidth || this.state.props.aspectratio) {\n elementToshow = (\n // * INFO: if any issue arises like freezing of application because of \n // * rendering large number of images, check the cache policy.\n <EXPOImage\n cachePolicy='memory' \n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture, (props.fastload || this.state.imageWidth) ? {opacity: 1} : {opacity: 0} ]}\n contentFit={props.resizemode}\n source={source}\n />\n );\n }\n return elementToshow;\n }\n\n public renderSkeleton(props: WmPictureProps){\n const imageWidth = this.state.imageWidth;\n const imageHeight = this.state.imageHeight;\n const shapeStyles = this.createShape(this.props.shape, imageWidth);\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width || shapeStyles.root?.width || shapeStyles.picture?.width || imageWidth;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || shapeStyles.root?.height || shapeStyles.picture?.height || imageHeight;\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n borderRadius: this.props.shape == 'circle' && this.styles.root?.width ? 25 : shapeStyles.picture?.borderRadius || shapeStyles.root?.borderRadius || this.styles.root?.borderRadius || 4,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n });\n }\n\n showImage = (imageElement: any, props: WmPictureProps) => {\n return imageElement;\n }\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnaspectratio(): {imageWidth: number, imageHeight: number} | null {\n if(this.state.props.aspectratio) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth / parseFloat(this.state.props.aspectratio as string),\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * parseFloat(this.state.props.aspectratio as string),\n }\n }\n }\n return null\n }\n \n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n calculateBasedOnNaturalDimensions(): {imageWidth: number, imageHeight: number} | null {\n // No need to calculate width & height if the user already passign them explicitly from props. \n const widthAndHeightExistsInProps = this.styles.root.width && this.styles.root.height\n if(!this.state.props.aspectratio && !widthAndHeightExistsInProps) {\n if(this.state.originalContainerWidth) {\n return {\n imageHeight: this.state.originalContainerWidth * this.state.naturalImageHeight / this.state.naturalImageWidth,\n imageWidth: this.state.originalContainerWidth\n }\n } else if(this.state.originalContainerHeight) {\n return {\n imageHeight: this.state.originalContainerHeight, \n imageWidth: this.state.originalContainerHeight * this.state.naturalImageWidth / this.state.naturalImageHeight\n }\n }\n }\n return null\n }\n \n\n renderWidget(props: WmPictureProps) {\n let imageWidth = this.state.imageWidth;\n let imageHeight = this.state.imageHeight;\n\n\n //TODO: remove the re calculation logic later. Keeping it as an extra safety. \n const aspectDimensions = this.calculateBasedOnaspectratio();\n const naturalDimensions = this.calculateBasedOnNaturalDimensions();\n if(aspectDimensions) {\n const dimensions = aspectDimensions as {imageWidth: number, imageHeight: number}\n imageWidth = dimensions.imageWidth;\n imageHeight = dimensions.imageHeight\n } else if(naturalDimensions) {\n const dimensions = naturalDimensions as {imageWidth: number, imageHeight: number}\n imageHeight = dimensions.imageHeight\n imageWidth = dimensions.imageWidth\n }\n const shapeStyles = this.createShape(props.shape, imageWidth);\n this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);\n this._picturePlaceHolder = props.fastload ? \n (this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder)) :\n (this._picturePlaceHolder || this.loadImage(props.pictureplaceholder));\n const imgSrc: any = this._pictureSource || this._picturePlaceHolder;\n let elementToshow;\n if (imgSrc) {\n elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);\n }\n return imgSrc && (this.state.naturalImageWidth || props.isSvg || props.aspectratio) ? (\n <View \n style={[{\n width: imageWidth,\n height: imageHeight\n }, this.styles.root, shapeStyles.root, shapeStyles.picture]}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <View style={[{overflow: 'hidden', width: '100%',\n height: '100%'}]} onLayout={this.onViewLayoutChange}>\n <Tappable\n disableTouchEffect={this.state.props.disabletoucheffect}\n {...this.getTestPropsForAction()}\n rippleColor={this.styles.root.rippleColor}\n target={this} styles={{width: imageWidth ? null : '100%', height: imageHeight ? null : '100%'}}>\n <Animatedview entryanimation={props.animation} delay={props.animationdelay} style={[{\n height: imageHeight,\n width: imageWidth,\n borderRadius: shapeStyles.picture?.borderRadius\n }]}\n accessibilityProps={props.accessible ? {...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)} : {}}>\n {this.showImage(elementToshow, props)}\n </Animatedview>\n </Tappable>\n </View>\n </View>\n ): null;\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA0BC,KAAK,EAAqBC,IAAI,QAAQ,cAAc;AAC9E,SAAQD,KAAK,IAAIE,SAAS,QAAO,YAAY;AAC7C,SAASC,QAAQ,QAAQ,WAAW;AACpC,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,kBAAkB,MAAM,mDAAmD;AAClF,SAASC,aAAa,QAAQ,sCAAsC;AACpE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAAqBC,cAAc,QAAQ,gCAAgC;AAE3E,OAAO,MAAMC,cAAc,SAAST,kBAAkB,CAAiB;EAAAU,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,4BACzC,CAAC;IAAAA,eAAA,6BACA,CAAC;IAAAA,eAAA,qBACT,CAAC;IAAAA,eAAA,sBACA,CAAC;IAAAA,eAAA,iCACU,CAAC;IAAAA,eAAA,kCACA,CAAC;EAAA;AACrC;AAEA,eAAe,MAAMC,SAAS,SAASd,aAAa,CAAkD;EAQpGW,WAAWA,CAACI,KAAqB,EAAE;IACjC,KAAK,CAACA,KAAK,EAAER,aAAa,EAAE,IAAID,cAAc,CAAC,CAAC,CAAC;IAACO,eAAA,yBAP3B,IAAI;IAAAA,eAAA,8BACC,IAAI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AM,CAAC,CAAE;MAACuF,QAAQ,EAAE,IAAI,CAACK;IAAmB,gBACpD3H,KAAA,CAAAmF,aAAA,CAAC9E,QAAQ,EAAAgF,QAAA;MACPuC,kBAAkB,EAAE,IAAI,CAACzF,KAAK,CAACd,KAAK,CAACwG;IAAmB,GACpD,IAAI,CAACC,qBAAqB,CAAC,CAAC;MAChCC,WAAW,EAAE,IAAI,CAAC/F,MAAM,CAACC,IAAI,CAAC8F,WAAY;MAC1CC,MAAM,EAAE,IAAK;MAAChG,MAAM,EAAE;QAACH,KAAK,EAAEH,UAAU,GAAG,IAAI,GAAG,MAAM;QAAEK,MAAM,EAAED,WAAW,GAAG,IAAI,GAAG;MAAM;IAAE,iBAC/F9B,KAAA,CAAAmF,aAAA,CAACrE,YAAY;MAACmH,cAAc,EAAE5G,KAAK,CAAC6G,SAAU;MAACC,KAAK,EAAE9G,KAAK,CAAC+G,cAAe;MAAC5C,KAAK,EAAE,CAAC;QAC9EzD,MAAM,EAAED,WAAW;QACnBD,KAAK,EAAEH,UAAU;QACjB+C,YAAY,GAAAuC,qBAAA,GAAElC,WAAW,CAACN,OAAO,cAAAwC,qBAAA,uBAAnBA,qBAAA,CAAqBvC;MACrC,CAAC,CAAE;MACL4D,kBAAkB,EAAEhH,KAAK,CAACiH,UAAU,GAAG;QAAC,GAAG3H,qBAAqB,CAACD,uBAAuB,CAAC6H,OAAO,EAAElH,KAAK;MAAC,CAAC,GAAG,CAAC;IAAE,GAC1G,IAAI,CAACmH,SAAS,CAACzD,aAAa,EAAE1D,KAAK,CAC1B,CACN,CACN,CACF,CAAC,GACN,IAAI;EACT;AACF","ignoreList":[]}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
5
|
+
export default class WmPictureProps extends BaseProps {
|
6
|
+
constructor(...args) {
|
7
|
+
super(...args);
|
8
|
+
_defineProperty(this, "animation", null);
|
9
|
+
_defineProperty(this, "animationdelay", null);
|
10
|
+
_defineProperty(this, "picturesource", null);
|
11
|
+
_defineProperty(this, "pictureplaceholder", null);
|
12
|
+
_defineProperty(this, "shape", null);
|
13
|
+
_defineProperty(this, "isSvg", null);
|
14
|
+
_defineProperty(this, "resizemode", 'stretch');
|
15
|
+
_defineProperty(this, "skeletonheight", null);
|
16
|
+
_defineProperty(this, "skeletonwidth", null);
|
17
|
+
_defineProperty(this, "accessible", true);
|
18
|
+
_defineProperty(this, "accessibilitylabel", undefined);
|
19
|
+
_defineProperty(this, "hint", undefined);
|
20
|
+
_defineProperty(this, "accessibilityrole", 'image');
|
21
|
+
_defineProperty(this, "fastload", false);
|
22
|
+
_defineProperty(this, "aspectratio", null);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=picture.props.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["BaseProps","WmPictureProps","constructor","args","_defineProperty","undefined"],"sources":["picture.props.ts"],"sourcesContent":["import { AccessibilityRole, ImageResizeMode } from 'react-native';\nimport { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmPictureProps extends BaseProps {\n animation?: string = null as any;\n animationdelay?: number = null as any;\n picturesource?: string = null as any;\n pictureplaceholder?: string = null as any;\n shape?: string = null as any;\n isSvg?: string = null as any;\n resizemode?: any = 'stretch' as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n accessible?: boolean = true;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'image';\n fastload?: boolean = false;\n aspectratio?: string | number | null = null;\n}\n"],"mappings":";;;AACA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,oBAC/B,IAAI;IAAAA,eAAA,yBACC,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,6BACC,IAAI;IAAAA,eAAA,gBACjB,IAAI;IAAAA,eAAA,gBACJ,IAAI;IAAAA,eAAA,qBACF,SAAS;IAAAA,eAAA,yBACF,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,qBACN,IAAI;IAAAA,eAAA,6BACGC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,OAAO;IAAAA,eAAA,mBAC1B,KAAK;IAAAA,eAAA,sBACa,IAAI;EAAA;AAC7C","ignoreList":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","overflow","width","rippleColor","transparent","text","picture","height","skeleton","borderRadius","backgroundColor","pictureThumbBgColor","borderWidth","borderStyle","borderColor","pictureThumbBorderColor","paddingTop","paddingBottom","paddingLeft","paddingRight"],"sources":["picture.styles.ts"],"sourcesContent":["import { ImageStyle, ViewStyle } from 'react-native';\nimport BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmPictureStyles = BaseStyles & {\n picture: ImageStyle & ViewStyle,\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-picture';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmPictureStyles = defineStyles({\n root: {\n overflow: 'hidden',\n width: 270,\n rippleColor: themeVariables.transparent\n },\n text: {},\n picture: {\n width: '100%',\n height: '100%'\n },\n skeleton: {\n root: {\n width: '100%',\n height: 128\n }\n } as any as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('rounded-image', '', {\n picture: {\n borderRadius: 6\n }\n } as WmPictureStyles);\n addStyle('thumbnail-image', '', {\n root: {\n backgroundColor: themeVariables.pictureThumbBgColor,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.pictureThumbBorderColor,\n borderRadius: 6,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 8,\n paddingRight: 8\n }\n } as WmPictureStyles);\n});\n"],"mappings":"AACA,OAAOA,UAAU,MAAO,wCAAwC;AAChE,SAAqBC,YAAY,QAAQ,+CAA+C;AAQxF,OAAO,MAAMC,aAAa,GAAG,aAAa;AAC1CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA8B,GAAGL,YAAY,CAAC;IAClDM,IAAI,EAAE;MACJC,QAAQ,EAAE,QAAQ;MAClBC,KAAK,EAAE,GAAG;MACVC,WAAW,EAAEN,cAAc,CAACO;IAC9B,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,OAAO,EAAE;MACPJ,KAAK,EAAE,MAAM;MACbK,MAAM,EAAE;IACV,CAAC;IACDC,QAAQ,EAAE;MACRR,IAAI,EAAE;QACJE,KAAK,EAAE,MAAM;QACbK,MAAM,EAAE;MACV;IACF;EACF,CAAC,CAAC;EAEFT,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAAC,eAAe,EAAE,EAAE,EAAE;IAC5BQ,OAAO,EAAE;MACPG,YAAY,EAAE;IAChB;EACF,CAAoB,CAAC;EACrBX,QAAQ,CAAC,iBAAiB,EAAE,EAAE,EAAE;IAC9BE,IAAI,EAAE;MACJU,eAAe,EAAEb,cAAc,CAACc,mBAAmB;MACnDC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAEjB,cAAc,CAACkB,uBAAuB;MACnDN,YAAY,EAAE,CAAC;MACfO,UAAU,EAAE,CAAC;MACbC,aAAa,EAAE,CAAC;MAChBC,WAAW,EAAE,CAAC;MACdC,YAAY,EAAE;IAChB;EACF,CAAoB,CAAC;AACvB,CAAC,CAAC","ignoreList":[]}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
|
+
import React from 'react';
|
6
|
+
import { View } from 'react-native';
|
7
|
+
import { ProgressBar } from 'react-native-paper';
|
8
|
+
import { LinearGradient as ExpoLinearGradient } from 'expo-linear-gradient';
|
9
|
+
import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
10
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
11
|
+
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
12
|
+
import WmProgressBarProps from './progress-bar.props';
|
13
|
+
import { DEFAULT_CLASS } from './progress-bar.styles';
|
14
|
+
import { parseProgressBarLinearGradient } from '@wavemaker/app-rn-runtime/core/utils';
|
15
|
+
import WmTooltip from '../tooltip/tooltip.component';
|
16
|
+
export class WmProgressBarState extends BaseComponentState {}
|
17
|
+
export default class WmProgressBar extends BaseComponent {
|
18
|
+
constructor(props) {
|
19
|
+
super(props, DEFAULT_CLASS, new WmProgressBarProps());
|
20
|
+
_defineProperty(this, "onTooltiptext", (minValue, maxValue, percentage) => {
|
21
|
+
if (this.props.showtooltip && this.props.onTooltiptext) {
|
22
|
+
const result = this.invokeEventCallback('onTooltiptext', [undefined, this.proxy, minValue, maxValue, percentage]);
|
23
|
+
if (result) {
|
24
|
+
return result;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
// Default fallback to percentage display
|
29
|
+
return `${percentage}%`;
|
30
|
+
});
|
31
|
+
}
|
32
|
+
renderWidget(props) {
|
33
|
+
var _styles$root, _styles$progressBar;
|
34
|
+
let value = (props.datavalue - props.minvalue) / (props.maxvalue - props.minvalue);
|
35
|
+
const styles = this.theme.mergeStyle(this.theme.getStyle(`app-${props.type}-progress-bar`), this.styles);
|
36
|
+
const {
|
37
|
+
hasLinearGradient,
|
38
|
+
color1,
|
39
|
+
color2,
|
40
|
+
start,
|
41
|
+
end
|
42
|
+
} = parseProgressBarLinearGradient(styles === null || styles === void 0 || (_styles$root = styles.root) === null || _styles$root === void 0 || (_styles$root = _styles$root.progressBar) === null || _styles$root === void 0 ? void 0 : _styles$root.backgroundColor);
|
43
|
+
const gradientColors = [color1, color2];
|
44
|
+
const valuePercent = `${Math.round(value * 100)}%`;
|
45
|
+
const percentage = Math.round(value * 100);
|
46
|
+
const progressValue = Math.min(Math.max(value, 0), 1); // Ensure value is between 0 and 1
|
47
|
+
const progressWidth = progressValue * 100;
|
48
|
+
return /*#__PURE__*/React.createElement(View, {
|
49
|
+
style: styles.root,
|
50
|
+
onLayout: event => this.handleLayout(event)
|
51
|
+
}, this._background, /*#__PURE__*/React.createElement(Tappable, {
|
52
|
+
target: this,
|
53
|
+
styles: {
|
54
|
+
root: {
|
55
|
+
width: '100%',
|
56
|
+
height: '100%'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
disableTouchEffect: this.state.props.disabletoucheffect
|
60
|
+
}, /*#__PURE__*/React.createElement(ProgressBar, _extends({}, this.getTestPropsForAction('progressbar'), getAccessibilityProps(AccessibilityWidgetType.PROGRESSBAR, props), {
|
61
|
+
animatedValue: value,
|
62
|
+
color: styles.progressValue.color,
|
63
|
+
style: [styles.progressBar, {
|
64
|
+
height: styles.root.height || styles.progressBar.height
|
65
|
+
}]
|
66
|
+
})), hasLinearGradient ? /*#__PURE__*/React.createElement(ExpoLinearGradient, {
|
67
|
+
colors: gradientColors,
|
68
|
+
start: start,
|
69
|
+
end: end,
|
70
|
+
style: [{
|
71
|
+
width: valuePercent,
|
72
|
+
height: styles.root.height || styles.progressBar.height,
|
73
|
+
position: 'absolute',
|
74
|
+
borderRadius: (styles === null || styles === void 0 || (_styles$progressBar = styles.progressBar) === null || _styles$progressBar === void 0 ? void 0 : _styles$progressBar.borderRadius) || 0
|
75
|
+
}]
|
76
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null), props.showtooltip ? /*#__PURE__*/React.createElement(View, {
|
77
|
+
style: {
|
78
|
+
position: 'absolute',
|
79
|
+
left: `${progressWidth}%`,
|
80
|
+
bottom: 0,
|
81
|
+
height: '100%',
|
82
|
+
justifyContent: 'center',
|
83
|
+
alignItems: 'center',
|
84
|
+
zIndex: 10
|
85
|
+
}
|
86
|
+
}, /*#__PURE__*/React.createElement(WmTooltip, {
|
87
|
+
showTooltip: props.showtooltip,
|
88
|
+
text: this.onTooltiptext(props.minvalue, props.maxvalue, percentage),
|
89
|
+
direction: props.tooltipposition,
|
90
|
+
tooltipStyle: styles.tooltip,
|
91
|
+
tooltipLabelStyle: styles.tooltipLabel,
|
92
|
+
tooltipTriangleStyle: styles.tooltipTriangle
|
93
|
+
})) : /*#__PURE__*/React.createElement(React.Fragment, null)));
|
94
|
+
}
|
95
|
+
}
|
96
|
+
//# sourceMappingURL=progress-bar.component.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","View","ProgressBar","LinearGradient","ExpoLinearGradient","Tappable","BaseComponent","BaseComponentState","AccessibilityWidgetType","getAccessibilityProps","WmProgressBarProps","DEFAULT_CLASS","parseProgressBarLinearGradient","WmTooltip","WmProgressBarState","WmProgressBar","constructor","props","_defineProperty","minValue","maxValue","percentage","showtooltip","onTooltiptext","result","invokeEventCallback","undefined","proxy","renderWidget","_styles$root","_styles$progressBar","value","datavalue","minvalue","maxvalue","styles","theme","mergeStyle","getStyle","type","hasLinearGradient","color1","color2","start","end","root","progressBar","backgroundColor","gradientColors","valuePercent","Math","round","progressValue","min","max","progressWidth","createElement","style","onLayout","event","handleLayout","_background","target","width","height","disableTouchEffect","state","disabletoucheffect","_extends","getTestPropsForAction","PROGRESSBAR","animatedValue","color","colors","position","borderRadius","Fragment","left","bottom","justifyContent","alignItems","zIndex","showTooltip","text","direction","tooltipposition","tooltipStyle","tooltip","tooltipLabelStyle","tooltipLabel","tooltipTriangleStyle","tooltipTriangle"],"sources":["progress-bar.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { ProgressBar } from 'react-native-paper';\nimport { LinearGradient as ExpoLinearGradient } from 'expo-linear-gradient';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmProgressBarProps from './progress-bar.props';\nimport { DEFAULT_CLASS, WmProgressBarStyles } from './progress-bar.styles';\nimport { parseProgressBarLinearGradient } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmTooltip from '../tooltip/tooltip.component';\n\nexport class WmProgressBarState extends BaseComponentState<WmProgressBarProps> {}\n\nexport default class WmProgressBar extends BaseComponent<WmProgressBarProps, WmProgressBarState, WmProgressBarStyles> {\n\n constructor(props: WmProgressBarProps) {\n super(props, DEFAULT_CLASS, new WmProgressBarProps());\n }\n\n onTooltiptext = (minValue: number, maxValue: number, percentage: number) => {\n if (this.props.showtooltip && this.props.onTooltiptext) {\n const result = this.invokeEventCallback('onTooltiptext', [\n undefined,\n this.proxy,\n minValue,\n maxValue,\n percentage\n ]);\n\n if (result) {\n return result;\n }\n }\n\n // Default fallback to percentage display\n return `${percentage}%`;\n }\n\n renderWidget(props: WmProgressBarProps) {\n let value = (props.datavalue - props.minvalue) / (props.maxvalue - props.minvalue);\n const styles = this.theme.mergeStyle(this.theme.getStyle(`app-${props.type}-progress-bar`), this.styles);\n const {hasLinearGradient, color1, color2, start, end} = parseProgressBarLinearGradient(styles?.root?.progressBar?.backgroundColor as string);\n const gradientColors: [string, string, ...string[]] = [color1, color2];\n const valuePercent = `${Math.round(value * 100)}%`;\n const percentage = Math.round(value * 100);\n const progressValue = Math.min(Math.max(value, 0), 1); // Ensure value is between 0 and 1\n const progressWidth = progressValue * 100;\n\n return (\n <View \n style={styles.root}\n onLayout={(event) => this.handleLayout(event)}\n >\n {this._background}\n <Tappable target={this} styles={{root:{width: '100%', height: '100%'}}} disableTouchEffect={this.state.props.disabletoucheffect}>\n <ProgressBar\n {...this.getTestPropsForAction('progressbar')}\n {...getAccessibilityProps(AccessibilityWidgetType.PROGRESSBAR, props)}\n animatedValue={value}\n color={styles.progressValue.color}\n style={[styles.progressBar, {height: styles.root.height || styles.progressBar.height}]}\n />\n \n {/* Linear Gradient for filled portion */}\n {hasLinearGradient ? (\n <ExpoLinearGradient\n colors={gradientColors}\n start={start}\n end={end}\n style={[\n {\n width: valuePercent as any,\n height: styles.root.height || styles.progressBar.height,\n position: 'absolute',\n borderRadius: styles?.progressBar?.borderRadius || 0,\n },\n ]}\n />\n ) : (\n <></>\n )}\n \n {/* Tooltip positioned at progress value */}\n {props.showtooltip ?\n (\n <View\n style={{\n position: 'absolute',\n left: `${progressWidth}%`,\n bottom: 0,\n height: '100%',\n justifyContent: 'center',\n alignItems: 'center',\n zIndex: 10,\n }}\n >\n <WmTooltip\n showTooltip={props.showtooltip}\n text={this.onTooltiptext(props.minvalue, props.maxvalue, percentage)}\n direction={props.tooltipposition}\n tooltipStyle={styles.tooltip}\n tooltipLabelStyle={styles.tooltipLabel}\n tooltipTriangleStyle={styles.tooltipTriangle}\n />\n </View>\n ) : <></>}\n </Tappable>\n </View>); \n }\n}"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,cAAc,IAAIC,kBAAkB,QAAQ,sBAAsB;AAC3E,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,SAASC,aAAa,QAA6B,uBAAuB;AAC1E,SAASC,8BAA8B,QAAQ,sCAAsC;AACrF,OAAOC,SAAS,MAAM,8BAA8B;AAEpD,OAAO,MAAMC,kBAAkB,SAASP,kBAAkB,CAAqB;AAE/E,eAAe,MAAMQ,aAAa,SAAST,aAAa,CAA8D;EAEpHU,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;IAACQ,eAAA,wBAGxC,CAACC,QAAgB,EAAEC,QAAgB,EAAEC,UAAkB,KAAK;MAC1E,IAAI,IAAI,CAACJ,KAAK,CAACK,WAAW,IAAI,IAAI,CAACL,KAAK,CAACM,aAAa,EAAE;QACtD,MAAMC,MAAM,GAAG,IAAI,CAACC,mBAAmB,CAAC,eAAe,EAAE,CACvDC,SAAS,EACT,IAAI,CAACC,KAAK,EACVR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BA,mBAAA,CAAqB6C,YAAY,KAAI;MACrD,CAAC;IACD,CACH,CAAC,gBAEF3E,KAAA,CAAAwD,aAAA,CAAAxD,KAAA,CAAA4E,QAAA,MAAI,CACL,EAGA3D,KAAK,CAACK,WAAW,gBAEdtB,KAAA,CAAAwD,aAAA,CAACvD,IAAI;MACHwD,KAAK,EAAE;QACLiB,QAAQ,EAAE,UAAU;QACpBG,IAAI,EAAE,GAAGtB,aAAa,GAAG;QACzBuB,MAAM,EAAE,CAAC;QACTd,MAAM,EAAE,MAAM;QACde,cAAc,EAAE,QAAQ;QACxBC,UAAU,EAAE,QAAQ;QACpBC,MAAM,EAAE;MACV;IAAE,gBAEFjF,KAAA,CAAAwD,aAAA,CAAC3C,SAAS;MACRqE,WAAW,EAAEjE,KAAK,CAACK,WAAY;MAC/B6D,IAAI,EAAE,IAAI,CAAC5D,aAAa,CAACN,KAAK,CAACgB,QAAQ,EAAEhB,KAAK,CAACiB,QAAQ,EAAEb,UAAU,CAAE;MACrE+D,SAAS,EAAEnE,KAAK,CAACoE,eAAgB;MACjCC,YAAY,EAAEnD,MAAM,CAACoD,OAAQ;MAC7BC,iBAAiB,EAAErD,MAAM,CAACsD,YAAa;MACvCC,oBAAoB,EAAEvD,MAAM,CAACwD;IAAgB,CAC9C,CACG,CAAC,gBACL3F,KAAA,CAAAwD,aAAA,CAAAxD,KAAA,CAAA4E,QAAA,MAAI,CACF,CACN,CAAC;EACT;AACF","ignoreList":[]}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
5
|
+
export default class WmProgressBarProps extends BaseProps {
|
6
|
+
constructor(...args) {
|
7
|
+
super(...args);
|
8
|
+
_defineProperty(this, "type", 'default');
|
9
|
+
_defineProperty(this, "datavalue", 30);
|
10
|
+
_defineProperty(this, "minvalue", 0);
|
11
|
+
_defineProperty(this, "maxvalue", 100);
|
12
|
+
_defineProperty(this, "accessibilitylabel", undefined);
|
13
|
+
_defineProperty(this, "accessibilityrole", 'progressbar');
|
14
|
+
_defineProperty(this, "showtooltip", false);
|
15
|
+
_defineProperty(this, "tooltipposition", 'up');
|
16
|
+
_defineProperty(this, "onTooltiptext", null);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=progress-bar.props.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["BaseProps","WmProgressBarProps","constructor","args","_defineProperty","undefined"],"sources":["progress-bar.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmProgressBarProps extends BaseProps {\n type: 'default' | 'success' | 'info' | 'warning' | 'error' = 'default';\n datavalue: number = 30;\n minvalue: number = 0;\n maxvalue: number = 100;\n accessibilitylabel?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'progressbar';\n showtooltip?: boolean = false;\n tooltipposition?: 'up' | 'down' | 'left' | 'right' = 'up';\n onTooltiptext?: Function | null = null;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,kBAAkB,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,eACK,SAAS;IAAAA,eAAA,oBAClD,EAAE;IAAAA,eAAA,mBACH,CAAC;IAAAA,eAAA,mBACD,GAAG;IAAAA,eAAA,6BACQC,SAAS;IAAAD,eAAA,4BACC,aAAa;IAAAA,eAAA,sBAC7B,KAAK;IAAAA,eAAA,0BACwB,IAAI;IAAAA,eAAA,wBACvB,IAAI;EAAA;AACxC","ignoreList":[]}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import Color from 'color';
|
2
|
+
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
3
|
+
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
4
|
+
export const DEFAULT_CLASS = 'app-progress-bar';
|
5
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
6
|
+
const defaultStyles = defineStyles({
|
7
|
+
root: {},
|
8
|
+
text: {},
|
9
|
+
progressBar: {
|
10
|
+
height: 4
|
11
|
+
},
|
12
|
+
progressValue: {},
|
13
|
+
tooltip: {
|
14
|
+
backgroundColor: themeVariables.tooltipBgColor,
|
15
|
+
paddingHorizontal: 8,
|
16
|
+
paddingVertical: 4,
|
17
|
+
borderRadius: 4
|
18
|
+
},
|
19
|
+
tooltipLabel: {
|
20
|
+
color: themeVariables.defaultColor,
|
21
|
+
fontSize: 12
|
22
|
+
},
|
23
|
+
tooltipTriangle: {
|
24
|
+
borderBottomColor: themeVariables.tooltipBgColor
|
25
|
+
}
|
26
|
+
});
|
27
|
+
const getStyle = color => ({
|
28
|
+
progressBar: {
|
29
|
+
backgroundColor: Color(color).alpha(0.2).rgb().toString()
|
30
|
+
},
|
31
|
+
progressValue: {
|
32
|
+
color: color
|
33
|
+
},
|
34
|
+
tooltip: {},
|
35
|
+
tooltipLabel: {},
|
36
|
+
tooltipTriangle: {}
|
37
|
+
});
|
38
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
39
|
+
addStyle('app-default-progress-bar', '', getStyle(themeVariables.progressBarDefaultColor));
|
40
|
+
addStyle('app-success-progress-bar', '', getStyle(themeVariables.progressBarSuccessColor));
|
41
|
+
addStyle('app-info-progress-bar', '', getStyle(themeVariables.progressBarInfoColor));
|
42
|
+
addStyle('app-danger-progress-bar', '', getStyle(themeVariables.progressBarDangerColor));
|
43
|
+
addStyle('app-warning-progress-bar', '', getStyle(themeVariables.progressBarWarningColor));
|
44
|
+
});
|
45
|
+
//# sourceMappingURL=progress-bar.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["Color","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","progressBar","height","progressValue","tooltip","backgroundColor","tooltipBgColor","paddingHorizontal","paddingVertical","borderRadius","tooltipLabel","color","defaultColor","fontSize","tooltipTriangle","borderBottomColor","getStyle","alpha","rgb","toString","progressBarDefaultColor","progressBarSuccessColor","progressBarInfoColor","progressBarDangerColor","progressBarWarningColor"],"sources":["progress-bar.styles.ts"],"sourcesContent":["import Color from 'color';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Platform } from 'react-native';\n\nexport type WmProgressBarStyles = BaseStyles & {\n progressBar: AllStyle,\n progressValue: AllStyle,\n tooltip: AllStyle,\n tooltipLabel: AllStyle,\n tooltipTriangle: AllStyle\n};\n\nexport const DEFAULT_CLASS = 'app-progress-bar';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmProgressBarStyles = defineStyles({\n root: {},\n text: {},\n progressBar: {\n height: 4\n },\n progressValue: {},\n tooltip: {\n backgroundColor: themeVariables.tooltipBgColor,\n paddingHorizontal: 8,\n paddingVertical: 4,\n borderRadius: 4\n },\n tooltipLabel: {\n color: themeVariables.defaultColor,\n fontSize: 12\n },\n tooltipTriangle: {\n borderBottomColor: themeVariables.tooltipBgColor\n }\n });\n\n const getStyle = (color: string) => ({\n progressBar: {\n backgroundColor: Color(color).alpha(0.2).rgb().toString()\n },\n progressValue: {\n color: color\n },\n tooltip: {},\n tooltipLabel: {},\n tooltipTriangle: {}\n } as WmProgressBarStyles);\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('app-default-progress-bar', '', getStyle(themeVariables.progressBarDefaultColor));\n addStyle('app-success-progress-bar', '', getStyle(themeVariables.progressBarSuccessColor));\n addStyle('app-info-progress-bar', '', getStyle(themeVariables.progressBarInfoColor));\n addStyle('app-danger-progress-bar', '', getStyle(themeVariables.progressBarDangerColor));\n addStyle('app-warning-progress-bar', '', getStyle(themeVariables.progressBarWarningColor));\n});"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAWxF,OAAO,MAAMC,aAAa,GAAG,kBAAkB;AAC/CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,WAAW,EAAE;MACTC,MAAM,EAAE;IACZ,CAAC;IACDC,aAAa,EAAE,CAAC,CAAC;IACjBC,OAAO,EAAE;MACLC,eAAe,EAAET,cAAc,CAACU,cAAc;MAC9CC,iBAAiB,EAAE,CAAC;MACpBC,eAAe,EAAE,CAAC;MAClBC,YAAY,EAAE;IAClB,CAAC;IACDC,YAAY,EAAE;MACVC,KAAK,EAAEf,cAAc,CAACgB,YAAY;MAClCC,QAAQ,EAAE;IACd,CAAC;IACDC,eAAe,EAAE;MACbC,iBAAiB,EAAEnB,cAAc,CAACU;IACtC;EACJ,CAAC,CAAC;EAEF,MAAMU,QAAQ,GAAIL,KAAa,KAAM;IACjCV,WAAW,EAAE;MACTI,eAAe,EAAEd,KAAK,CAACoB,KAAK,CAAC,CAACM,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC;IAC5D,CAAC;IACDhB,aAAa,EAAE;MACXQ,KAAK,EAAEA;IACX,CAA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