@wavemaker/app-rn-runtime 11.10.0-next.NULL → 11.10.1-rc.200
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 +73 -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 +347 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/carousel/carousel.props.js +21 -0
- package/components/advanced/carousel/carousel.props.js.map +1 -0
- package/components/advanced/carousel/carousel.styles.js +176 -0
- package/components/advanced/carousel/carousel.styles.js.map +1 -0
- package/components/advanced/login/login.component.js +39 -0
- package/components/advanced/login/login.props.js +12 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js +114 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js +11 -0
- package/components/advanced/webview/webview.component.js +155 -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 +100 -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 +222 -0
- package/components/basic/audio/audio.component.js +251 -0
- package/components/basic/audio/audio.props.js +15 -0
- package/components/basic/button/button.component.js +114 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.props.js +27 -0
- package/components/basic/buttongroup/buttongroup.props.js +14 -0
- package/components/basic/custom/custom.props.js +16 -0
- package/components/basic/icon/icon.component.js +267 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js +27 -0
- package/components/basic/label/label.component.js +157 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.props.js +24 -0
- package/components/basic/label/label.styles.js +133 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/lottie/lottie.component.js +138 -0
- package/components/basic/lottie/lottie.props.js +14 -0
- package/components/basic/message/message.component.js +78 -0
- package/components/basic/message/message.props.js +21 -0
- package/components/basic/modal/modal.props.js +12 -0
- package/components/basic/picture/picture.component.js +199 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/picture/picture.props.js +23 -0
- package/components/basic/picture/picture.props.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js +60 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.js +16 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js +78 -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 +431 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.props.js +36 -0
- package/components/basic/search/search.styles.js +169 -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.props.js +11 -0
- package/components/basic/spinner/spinner.component.js +90 -0
- package/components/basic/spinner/spinner.props.js +17 -0
- package/components/basic/tooltip/tooltip.props.js +18 -0
- package/components/basic/video/video.component.js +144 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/basic/video/video.props.js +32 -0
- package/components/basic/video/video.props.js.map +1 -0
- package/components/chart/area-chart/area-chart.component.js +148 -0
- package/components/chart/area-chart/area-chart.props.js +12 -0
- package/components/chart/bar-chart/bar-chart.component.js +120 -0
- package/components/chart/bar-chart/bar-chart.props.js +13 -0
- package/components/chart/basechart.component.js +693 -0
- package/components/chart/basechart.props.js +61 -0
- package/components/chart/bubble-chart/bubble-chart.component.js +104 -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 +110 -0
- package/components/chart/line-chart/line-chart.props.js +14 -0
- package/components/chart/pie-chart/pie-chart.component.js +228 -0
- package/components/chart/pie-chart/pie-chart.props.js +14 -0
- package/components/chart/stack-chart/stack-chart.component.js +348 -0
- package/components/chart/stack-chart/stack-chart.props.js +17 -0
- package/components/container/accordion/accordion.component.js +190 -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 +82 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/container.props.js +14 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +13 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js +11 -0
- package/components/container/layoutgrid/layoutgrid.props.js +11 -0
- package/components/container/linearlayout/linearlayout.props.js +15 -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 +155 -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 +214 -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 +81 -0
- package/components/container/tabs/tabpane/tabpane.props.js +16 -0
- package/components/container/tabs/tabs.component.js +283 -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.map +1 -0
- package/components/container/tile/tile.component.js +50 -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 +387 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.props.js +23 -0
- package/components/container/wizard/wizard.styles.js +316 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js +91 -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 +45 -0
- package/components/data/card/card-content/card-content.props.js +12 -0
- package/components/data/card/card-footer/card-footer.props.js +11 -0
- package/components/data/card/card.component.js +91 -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.props.js +11 -0
- package/components/data/form/form-field/form-field.component.js +246 -0
- package/components/data/form/form-field/form-field.props.js +34 -0
- package/components/data/form/form-footer/form-footer.props.js +11 -0
- package/components/data/form/form.component.js +425 -0
- package/components/data/form/form.props.js +31 -0
- package/components/data/list/list-action-template/list-action-template.props.js +12 -0
- package/components/data/list/list-template/list-template.props.js +12 -0
- package/components/data/list/list.component.js +486 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +48 -0
- package/components/data/liveform/liveform.component.js +98 -0
- package/components/device/barcodescanner/barcodescanner.component.js +50 -0
- package/components/device/barcodescanner/barcodescanner.props.js +18 -0
- package/components/device/camera/camera.component.js +68 -0
- package/components/device/camera/camera.props.js +23 -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 +102 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.props.js +25 -0
- package/components/dialogs/dialogactions/dialogactions.component.js +21 -0
- package/components/dialogs/dialogactions/dialogactions.props.js +11 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js +11 -0
- package/components/input/basedataset/basedataset.component.js +230 -0
- package/components/input/basedataset/basedataset.props.js +31 -0
- package/components/input/baseinput/baseinput.component.js +193 -0
- package/components/input/baseinput/baseinput.props.js +31 -0
- package/components/input/baseinput/baseinput.props.js.map +1 -0
- package/components/input/basenumber/basenumber.component.js +346 -0
- package/components/input/basenumber/basenumber.component.js.map +1 -0
- package/components/input/basenumber/basenumber.props.js +27 -0
- package/components/input/calendar/calendar.component.js +164 -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 +191 -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 +121 -0
- package/components/input/checkbox/checkbox.props.js +18 -0
- package/components/input/checkboxset/checkboxset.component.js +154 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.props.js +21 -0
- package/components/input/chips/chips.component.js +320 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.props.js +19 -0
- package/components/input/composite/composite.props.js +12 -0
- package/components/input/currency/currency.component.js +113 -0
- package/components/input/currency/currency.props.js +13 -0
- package/components/input/epoch/base-datetime.component.js +473 -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/time/time.props.js +15 -0
- package/components/input/epoch/wheel-date-picker.component.js +198 -0
- package/components/input/epoch/wheel-time-picker.component.js +107 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js +91 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +79 -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 +77 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +19 -0
- package/components/input/fileupload/fileupload.component.js +60 -0
- package/components/input/fileupload/fileupload.props.js +17 -0
- package/components/input/number/number.component.js +83 -0
- package/components/input/number/number.props.js +13 -0
- package/components/input/radioset/radioset.component.js +132 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/radioset/radioset.props.js +20 -0
- package/components/input/rating/rating.component.js +144 -0
- package/components/input/rating/rating.props.js +21 -0
- package/components/input/select/select.component.js +251 -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 +153 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +444 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.props.js +20 -0
- package/components/input/switch/switch.component.js +96 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.props.js +13 -0
- package/components/input/text/text.component.js +85 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.props.js +15 -0
- package/components/input/textarea/textarea.component.js +83 -0
- package/components/input/textarea/textarea.props.js +14 -0
- package/components/input/toggle/toggle.component.js +151 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.props.js +22 -0
- package/components/navigation/appnavbar/appnavbar.component.js +74 -0
- package/components/navigation/appnavbar/appnavbar.props.js +21 -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.props.js +16 -0
- package/components/navigation/navitem/navitem.component.js +67 -0
- package/components/navigation/navitem/navitem.props.js +19 -0
- package/components/navigation/popover/popover.component.js +193 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.props.js +31 -0
- package/components/page/left-panel/left-panel.component.js +48 -0
- package/components/page/left-panel/left-panel.props.js +12 -0
- package/components/page/page-content/page-content.component.js +114 -0
- package/components/page/page-content/page-content.component.js.map +1 -0
- package/components/page/page-content/page-content.props.js +12 -0
- package/components/page/page.component.js +26 -0
- package/components/page/partial-container/partial-container.props.js +12 -0
- package/components/page/tabbar/tabbar.component.js +149 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/components/page/tabbar/tabbar.props.js +28 -0
- package/core/AppConfig.js.map +1 -0
- package/core/accessibility.js +160 -0
- package/core/accessibility.js.map +1 -0
- package/core/base.component.js +523 -0
- package/core/base.component.js.map +1 -0
- package/core/components/textinput.component.js +197 -0
- package/core/constant.service.js +22 -0
- package/core/event-notifier.js +68 -0
- package/core/fixed-view.component.js +67 -0
- package/core/imageSizeEstimator.js +51 -0
- package/core/key.extractor.js +21 -0
- package/core/logger.js +123 -0
- package/core/network.service.js +327 -0
- package/core/props.provider.js +88 -0
- package/core/scroll-view.component.js +52 -0
- package/core/storage.service.js +38 -0
- package/core/tappable.component.js +156 -0
- package/core/tappable.component.js.map +1 -0
- package/core/utils.js +543 -0
- package/core/utils.js.map +1 -0
- package/core/viewport.js +45 -0
- package/core/wm-component-tree.js +58 -0
- package/gestures/swipe.animation.js +217 -0
- package/npm-shrinkwrap.json +25695 -0
- package/package-lock.json +25695 -0
- package/package.json +272 -0
- package/runtime/App.js +533 -0
- package/runtime/App.js.map +1 -0
- package/runtime/base-fragment.component.js +411 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/base-page.component.js +209 -0
- package/runtime/base-page.component.js.map +1 -0
- package/runtime/base-partial.component.js +63 -0
- package/runtime/base-prefab.component.js +83 -0
- package/runtime/memo.component.js +35 -0
- package/runtime/navigator/stack.navigator.js +77 -0
- package/runtime/services/app-display-manager.service.js +50 -0
- package/runtime/services/app-i18n.service.js +82 -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 +56 -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/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/style-props.js +93 -0
- package/styles/theme.js +454 -0
- package/styles/theme.js.map +1 -0
- package/styles/theme.variables.js +437 -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/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/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.props.js +0 -12
- 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.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/audio/audio.component.js +0 -251
- 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/buttongroup/buttongroup.props.js +0 -14
- 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/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.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.props.js +0 -14
- app-rn-runtime/components/basic/message/message.component.js +0 -78
- app-rn-runtime/components/basic/message/message.props.js +0 -21
- 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/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.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.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.props.js +0 -11
- app-rn-runtime/components/basic/spinner/spinner.component.js +0 -90
- app-rn-runtime/components/basic/spinner/spinner.props.js +0 -17
- 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/chart/area-chart/area-chart.component.js +0 -148
- 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.props.js +0 -13
- app-rn-runtime/components/chart/basechart.component.js +0 -693
- app-rn-runtime/components/chart/basechart.props.js +0 -61
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +0 -104
- 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.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.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.props.js +0 -17
- app-rn-runtime/components/container/accordion/accordion.component.js +0 -190
- 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/layoutgrid/gridcolumn/gridcolumn.props.js +0 -13
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js +0 -11
- app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js +0 -11
- app-rn-runtime/components/container/linearlayout/linearlayout.props.js +0 -15
- 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.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.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.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.props.js +0 -12
- 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.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.props.js +0 -34
- 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.props.js +0 -31
- 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.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/liveform/liveform.component.js +0 -98
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +0 -50
- 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.props.js +0 -23
- 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/dialogactions/dialogactions.component.js +0 -21
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js +0 -11
- 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.props.js +0 -31
- app-rn-runtime/components/input/baseinput/baseinput.component.js +0 -193
- 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/calendar/calendar.component.js +0 -164
- 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.props.js +0 -18
- 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/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/composite/composite.props.js +0 -12
- app-rn-runtime/components/input/currency/currency.component.js +0 -113
- app-rn-runtime/components/input/currency/currency.props.js +0 -13
- app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -473
- 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/time/time.props.js +0 -15
- app-rn-runtime/components/input/epoch/wheel-date-picker.component.js +0 -198
- 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.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.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.props.js +0 -19
- app-rn-runtime/components/input/fileupload/fileupload.component.js +0 -60
- 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.props.js +0 -13
- 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/rating/rating.component.js +0 -144
- app-rn-runtime/components/input/rating/rating.props.js +0 -21
- 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/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/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/textarea/textarea.component.js +0 -83
- app-rn-runtime/components/input/textarea/textarea.props.js +0 -14
- 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/navigation/appnavbar/appnavbar.component.js +0 -74
- app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js +0 -21
- 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.props.js +0 -16
- app-rn-runtime/components/navigation/navitem/navitem.component.js +0 -67
- 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/page/left-panel/left-panel.component.js +0 -48
- 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.component.js +0 -26
- app-rn-runtime/components/page/partial-container/partial-container.props.js +0 -12
- 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/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/textinput.component.js +0 -197
- 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/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/network.service.js +0 -327
- 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/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/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/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/memo.component.js +0 -35
- app-rn-runtime/runtime/navigator/stack.navigator.js +0 -77
- 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/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/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/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/notification-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.component.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.props.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.component.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/animatedview.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.component.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/button/button.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.component.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.props.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/label/label.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +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.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/message/message.props.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.component.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.component.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/picture/picture.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.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/search/search.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.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/skeleton/skeleton.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.component.js.map +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.component.js +0 -0
- {app-rn-runtime → package}/components/basic/tooltip/tooltip.component.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/basic/video/video.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.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.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.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.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/basechart.props.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.component.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.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.component.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.component.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/chart/theme/chart.theme.js +0 -0
- {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.component.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/container.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.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.component.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/tabs/tabs.styles.js +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/wizard.props.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.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.component.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-field/form-field.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.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.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form.props.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.component.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.component.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/list/list.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list.styles.js +0 -0
- {app-rn-runtime → package}/components/data/list/list.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.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.component.js.map +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.props.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/dialog/dialog.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.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.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.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.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.props.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.component.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.props.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.component.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.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.component.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.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/currency/currency.styles.js +0 -0
- {app-rn-runtime → package}/components/input/currency/currency.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/base-datetime.component.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/date/date.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.styles.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/datetime/datetime.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.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/time/time.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/wheel-date-picker.component.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.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.component.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.component.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.component.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.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/number/number.styles.js +0 -0
- {app-rn-runtime → package}/components/input/number/number.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.styles.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.styles.js +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/text/text.styles.js +0 -0
- {app-rn-runtime → package}/components/input/text/text.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.styles.js +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js.map +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.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.component.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.component.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/navigation/popover/popover.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.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.component.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.props.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-content/page-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.props.js +0 -0
- {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.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.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.props.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.props.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/components/floatinglabel.component.js.map +0 -0
- {app-rn-runtime → package}/core/components/textinput.component.js.map +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/fixed-view.component.js.map +0 -0
- {app-rn-runtime → package}/core/formatters.js +0 -0
- {app-rn-runtime → package}/core/formatters.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/navigation.service.js +0 -0
- {app-rn-runtime → package}/core/navigation.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/partial.service.js.map +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/toast.service.js.map +0 -0
- {app-rn-runtime → package}/core/ui-preferences.context.js +0 -0
- {app-rn-runtime → package}/core/ui-preferences.context.js.map +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}/gestures/swipe.animation.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/App.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-prefab.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/navigator/stack.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/app-toast.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/partial.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/partial.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}/styles/style-props.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,199 @@
|
|
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 { NumberProp, SvgUri } from 'react-native-svg';
|
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
|
+
}
|
26
|
+
}
|
27
|
+
export default class WmPicture extends BaseComponent {
|
28
|
+
constructor(_props) {
|
29
|
+
super(_props, DEFAULT_CLASS, new WmPictureProps());
|
30
|
+
_defineProperty(this, "_pictureSource", null);
|
31
|
+
_defineProperty(this, "_picturePlaceHolder", null);
|
32
|
+
_defineProperty(this, "onViewLayoutChange", e => {
|
33
|
+
let imageWidth = e.nativeEvent.layout.width;
|
34
|
+
let imageHeight = e.nativeEvent.layout.height;
|
35
|
+
if (!imageWidth && !imageHeight) {
|
36
|
+
return;
|
37
|
+
}
|
38
|
+
if (!this.styles.root.height || typeof this.styles.root.height === 'string' && !this.styles.root.height.includes('%')) {
|
39
|
+
imageHeight = 0;
|
40
|
+
}
|
41
|
+
if (imageWidth && !imageHeight) {
|
42
|
+
imageHeight = imageWidth * this.state.naturalImageHeight / this.state.naturalImageWidth;
|
43
|
+
} else if (imageHeight && !imageWidth) {
|
44
|
+
imageWidth = imageHeight * this.state.naturalImageWidth / this.state.naturalImageHeight;
|
45
|
+
}
|
46
|
+
this.updateState({
|
47
|
+
imageWidth: imageWidth,
|
48
|
+
imageHeight: imageHeight
|
49
|
+
});
|
50
|
+
});
|
51
|
+
_defineProperty(this, "showImage", (imageElement, props) => {
|
52
|
+
if (props.fastload) {
|
53
|
+
return imageElement;
|
54
|
+
}
|
55
|
+
return this.state.imageWidth ? imageElement : null;
|
56
|
+
});
|
57
|
+
}
|
58
|
+
loadImage(image) {
|
59
|
+
if (!image || !this.loadAsset) {
|
60
|
+
return null;
|
61
|
+
}
|
62
|
+
const imageSrc = this.loadAsset(image);
|
63
|
+
if (imageSrc && typeof imageSrc === 'object' && typeof imageSrc.default === 'function') {
|
64
|
+
return null;
|
65
|
+
}
|
66
|
+
if (isNumber(imageSrc)) {
|
67
|
+
const {
|
68
|
+
width,
|
69
|
+
height
|
70
|
+
} = Image.resolveAssetSource(imageSrc);
|
71
|
+
this.updateState({
|
72
|
+
naturalImageWidth: width,
|
73
|
+
naturalImageHeight: height
|
74
|
+
});
|
75
|
+
} else if (imageSrc !== null) {
|
76
|
+
const cancel = ImageSizeEstimator.getSize(imageSrc, (width, height) => {
|
77
|
+
this.updateState({
|
78
|
+
naturalImageWidth: width,
|
79
|
+
naturalImageHeight: height
|
80
|
+
});
|
81
|
+
this.cleanup.splice(this.cleanup.indexOf(cancel), 1);
|
82
|
+
});
|
83
|
+
this.cleanup.push(cancel);
|
84
|
+
}
|
85
|
+
return imageSrc;
|
86
|
+
}
|
87
|
+
onPropertyChange(name, $new, $old) {
|
88
|
+
switch (name) {
|
89
|
+
case 'picturesource':
|
90
|
+
this._pictureSource = null;
|
91
|
+
case 'pictureplaceholder':
|
92
|
+
this._picturePlaceHolder = null;
|
93
|
+
break;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
createShape(shape, imageWidth) {
|
97
|
+
if (shape) {
|
98
|
+
switch (shape) {
|
99
|
+
case 'circle':
|
100
|
+
return {
|
101
|
+
picture: {
|
102
|
+
borderRadius: isNumber(imageWidth) ? imageWidth / 2 : 4
|
103
|
+
}
|
104
|
+
};
|
105
|
+
case 'rounded':
|
106
|
+
return this.theme.getStyle('rounded-image');
|
107
|
+
case 'thumbnail':
|
108
|
+
return this.theme.getStyle('thumbnail-image');
|
109
|
+
}
|
110
|
+
}
|
111
|
+
return {};
|
112
|
+
}
|
113
|
+
getElementToShow(props, imgSrc, shapeStyles) {
|
114
|
+
let elementToshow, source;
|
115
|
+
if (imgSrc && typeof imgSrc === 'object' && typeof (imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.default) === 'function') {
|
116
|
+
let imgStyle = {};
|
117
|
+
if (props.resizemode === 'contain') {
|
118
|
+
imgStyle['width'] = '100%';
|
119
|
+
imgStyle['height'] = '100%';
|
120
|
+
}
|
121
|
+
elementToshow = /*#__PURE__*/React.createElement(imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.default, imgStyle);
|
122
|
+
//} else if (!isWebPreviewMode() && props.isSvg) {
|
123
|
+
// svg from uri
|
124
|
+
// elementToshow = <SvgUri testID={this.getTestId('picture')} width={this.styles.root.width as NumberProp} height={this.styles.root.height as NumberProp} uri={imgSrc}/>;
|
125
|
+
} else if (isFullPathUrl(imgSrc)) {
|
126
|
+
source = {
|
127
|
+
uri: imgSrc
|
128
|
+
};
|
129
|
+
} else {
|
130
|
+
source = imgSrc;
|
131
|
+
}
|
132
|
+
if (this.state.naturalImageWidth) {
|
133
|
+
elementToshow = /*#__PURE__*/React.createElement(Image, _extends({}, this.getTestProps('picture'), {
|
134
|
+
style: [this.styles.picture, shapeStyles.picture],
|
135
|
+
resizeMode: props.resizemode,
|
136
|
+
source: source
|
137
|
+
}, getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)));
|
138
|
+
}
|
139
|
+
return elementToshow;
|
140
|
+
}
|
141
|
+
renderSkeleton(props) {
|
142
|
+
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;
|
143
|
+
const imageWidth = this.state.imageWidth;
|
144
|
+
const imageHeight = this.state.imageHeight;
|
145
|
+
const shapeStyles = this.createShape(this.props.shape, imageWidth);
|
146
|
+
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;
|
147
|
+
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;
|
148
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
149
|
+
...this.styles.root,
|
150
|
+
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,
|
151
|
+
width: skeletonWidth,
|
152
|
+
height: skeletonHeight
|
153
|
+
});
|
154
|
+
}
|
155
|
+
renderWidget(props) {
|
156
|
+
var _shapeStyles$picture4;
|
157
|
+
const imageWidth = this.state.imageWidth;
|
158
|
+
const imageHeight = this.state.imageHeight;
|
159
|
+
const shapeStyles = this.createShape(props.shape, imageWidth);
|
160
|
+
this._pictureSource = this._pictureSource || this.loadImage(props.picturesource);
|
161
|
+
this._picturePlaceHolder = props.fastload ? this._pictureSource || this._picturePlaceHolder || this.loadImage(props.pictureplaceholder) : this._picturePlaceHolder || this.loadImage(props.pictureplaceholder);
|
162
|
+
const imgSrc = this._pictureSource || this._picturePlaceHolder;
|
163
|
+
let elementToshow;
|
164
|
+
if (imgSrc) {
|
165
|
+
elementToshow = this.getElementToShow(props, imgSrc, shapeStyles);
|
166
|
+
}
|
167
|
+
return imgSrc && (this.state.naturalImageWidth || props.isSvg) ? /*#__PURE__*/React.createElement(View, {
|
168
|
+
style: [{
|
169
|
+
width: imageWidth,
|
170
|
+
height: imageHeight
|
171
|
+
}, this.styles.root, shapeStyles.root, shapeStyles.picture]
|
172
|
+
}, this._background, /*#__PURE__*/React.createElement(View, {
|
173
|
+
style: [{
|
174
|
+
overflow: 'hidden',
|
175
|
+
width: '100%',
|
176
|
+
height: '100%'
|
177
|
+
}],
|
178
|
+
onLayout: this.onViewLayoutChange
|
179
|
+
}, /*#__PURE__*/React.createElement(Tappable, _extends({
|
180
|
+
disableTouchEffect: this.state.props.disabletoucheffect
|
181
|
+
}, this.getTestPropsForAction(), {
|
182
|
+
rippleColor: this.styles.root.rippleColor,
|
183
|
+
target: this,
|
184
|
+
styles: {
|
185
|
+
width: imageWidth ? null : '100%',
|
186
|
+
height: imageHeight ? null : '100%'
|
187
|
+
}
|
188
|
+
}), /*#__PURE__*/React.createElement(Animatedview, {
|
189
|
+
entryanimation: props.animation,
|
190
|
+
delay: props.animationdelay,
|
191
|
+
style: [{
|
192
|
+
height: imageHeight,
|
193
|
+
width: imageWidth,
|
194
|
+
borderRadius: (_shapeStyles$picture4 = shapeStyles.picture) === null || _shapeStyles$picture4 === void 0 ? void 0 : _shapeStyles$picture4.borderRadius
|
195
|
+
}]
|
196
|
+
}, this.showImage(elementToshow, props))))) : null;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
//# sourceMappingURL=picture.component.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","Image","View","isNumber","Tappable","BaseComponent","BaseComponentState","ImageSizeEstimator","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmPictureProps","DEFAULT_CLASS","Animatedview","createSkeleton","WmPictureState","constructor","args","_defineProperty","WmPicture","props","e","imageWidth","nativeEvent","layout","width","imageHeight","height","styles","root","includes","state","naturalImageHeight","naturalImageWidth","updateState","imageElement","fastload","loadImage","image","loadAsset","imageSrc","default","resolveAssetSource","cancel","getSize","cleanup","splice","indexOf","push","onPropertyChange","name","$new","$old","_pictureSource","_picturePlaceHolder","createShape","shape","picture","borderRadius","theme","getStyle","getElementToShow","imgSrc","shapeStyles","elementToshow","source","imgStyle","resizemode","createElement","uri","_extends","getTestProps","style","resizeMode","PICTURE","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","renderWidget","_shapeStyles$picture4","picturesource","pictureplaceholder","isSvg","_background","overflow","onLayout","onViewLayoutChange","disableTouchEffect","disabletoucheffect","getTestPropsForAction","rippleColor","target","entryanimation","animation","delay","animationdelay","showImage"],"sources":["picture.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Image, LayoutChangeEvent, View } from 'react-native';\n// import { NumberProp, SvgUri } from 'react-native-svg';\nimport { isNumber, isString } 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}\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 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 (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 this.cleanup.push(cancel);\n }\n return imageSrc;\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 (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 } 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) {\n elementToshow = (\n <Image\n {...this.getTestProps('picture')}\n style={[this.styles.picture, shapeStyles.picture]}\n resizeMode={props.resizemode}\n source={source}\n {...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)}\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 if(props.fastload){\n return imageElement;\n }\n return this.state.imageWidth ? imageElement : null\n }\n\n renderWidget(props: WmPictureProps) {\n const imageWidth = this.state.imageWidth;\n const imageHeight = this.state.imageHeight;\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) ? (\n <View style={[{\n width: imageWidth,\n height: imageHeight\n }, this.styles.root, shapeStyles.root, shapeStyles.picture]}>\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 {this.showImage(elementToshow, props)}\n </Animatedview>\n </Tappable>\n </View>\n </View>\n ): null;\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,KAAK,EAAqBC,IAAI,QAAQ,cAAc;AAC7E;AACA,SAASC,QAAQ,QAAkB,WAAW;AAC9C,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;EAAA;AACzB;AAEA,eAAe,MAAMC,SAAS,SAASd,aAAa,CAAkD;EAKpGW,WAAWA,CAACI,MAAqB,EAAE;IACjC,KAAK,CAACA,MAAK,EAAER,aAAa,EAAE,IAAID,cAAc,CAAC,CAAC,CAAC;IAACO,eAAA,yBAJ3B,IAAI;IAAAA,eAAA,8BACC,IAAI;IAAAA,eAAA,6BA2CZG,CAAoB,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AM,EAAED,WAAW,GAAG,IAAI,GAAG;MAAM;IAAE,iBAC/F1B,KAAA,CAAAoE,aAAA,CAACvD,YAAY;MAAC4F,cAAc,EAAErF,KAAK,CAACsF,SAAU;MAACC,KAAK,EAAEvF,KAAK,CAACwF,cAAe;MAACpC,KAAK,EAAE,CAAC;QAC9E7C,MAAM,EAAED,WAAW;QACnBD,KAAK,EAAEH,UAAU;QACjBoC,YAAY,GAAAkC,qBAAA,GAAE7B,WAAW,CAACN,OAAO,cAAAmC,qBAAA,uBAAnBA,qBAAA,CAAqBlC;MACrC,CAAC;IAAE,GACA,IAAI,CAACmD,SAAS,CAAC7C,aAAa,EAAE5C,KAAK,CAC1B,CACN,CACN,CACF,CAAC,GACN,IAAI;EACT;AACF","ignoreList":[]}
|
@@ -0,0 +1,23 @@
|
|
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, "accessibilitylabel", undefined);
|
18
|
+
_defineProperty(this, "hint", undefined);
|
19
|
+
_defineProperty(this, "accessibilityrole", 'image');
|
20
|
+
_defineProperty(this, "fastload", false);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# 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?: ImageResizeMode = 'stretch' as any;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'image';\n fastload?: boolean = false;\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,qBACU,SAAS;IAAAA,eAAA,yBACd,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,6BACCC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,OAAO;IAAAA,eAAA,mBAC1B,KAAK;EAAA;AAC5B","ignoreList":[]}
|
@@ -0,0 +1,60 @@
|
|
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
|
+
import React from 'react';
|
3
|
+
import { View } from 'react-native';
|
4
|
+
import { ProgressBar } from 'react-native-paper';
|
5
|
+
import { LinearGradient as ExpoLinearGradient } from 'expo-linear-gradient';
|
6
|
+
import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
7
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
8
|
+
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
9
|
+
import WmProgressBarProps from './progress-bar.props';
|
10
|
+
import { DEFAULT_CLASS } from './progress-bar.styles';
|
11
|
+
import { parseLinearGradient } from '@wavemaker/app-rn-runtime/core/utils';
|
12
|
+
export class WmProgressBarState extends BaseComponentState {}
|
13
|
+
export default class WmProgressBar extends BaseComponent {
|
14
|
+
constructor(props) {
|
15
|
+
super(props, DEFAULT_CLASS, new WmProgressBarProps());
|
16
|
+
}
|
17
|
+
renderWidget(props) {
|
18
|
+
var _styles$root, _styles$progressBar;
|
19
|
+
let value = (props.datavalue - props.minvalue) / (props.maxvalue - props.minvalue);
|
20
|
+
const styles = this.theme.mergeStyle(this.theme.getStyle(`app-${props.type}-progress-bar`), this.styles);
|
21
|
+
const {
|
22
|
+
hasLinearGradient,
|
23
|
+
color1,
|
24
|
+
color2,
|
25
|
+
start,
|
26
|
+
end
|
27
|
+
} = parseLinearGradient(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);
|
28
|
+
const gradientColors = [color1, color2];
|
29
|
+
const valuePercent = `${Math.round(value * 100)}%`;
|
30
|
+
return /*#__PURE__*/React.createElement(View, {
|
31
|
+
style: styles.root
|
32
|
+
}, this._background, /*#__PURE__*/React.createElement(Tappable, {
|
33
|
+
target: this,
|
34
|
+
styles: {
|
35
|
+
root: {
|
36
|
+
width: '100%',
|
37
|
+
height: '100%'
|
38
|
+
}
|
39
|
+
},
|
40
|
+
disableTouchEffect: this.state.props.disabletoucheffect
|
41
|
+
}, /*#__PURE__*/React.createElement(ProgressBar, _extends({}, this.getTestPropsForAction('progressbar'), getAccessibilityProps(AccessibilityWidgetType.PROGRESSBAR, props), {
|
42
|
+
animatedValue: value,
|
43
|
+
color: styles.progressValue.color,
|
44
|
+
style: [styles.progressBar, {
|
45
|
+
height: styles.root.height || styles.progressBar.height
|
46
|
+
}]
|
47
|
+
})), hasLinearGradient ? /*#__PURE__*/React.createElement(ExpoLinearGradient, {
|
48
|
+
colors: gradientColors,
|
49
|
+
start: start,
|
50
|
+
end: end,
|
51
|
+
style: [{
|
52
|
+
width: valuePercent,
|
53
|
+
height: styles.root.height || styles.progressBar.height,
|
54
|
+
position: 'absolute',
|
55
|
+
borderRadius: (styles === null || styles === void 0 || (_styles$progressBar = styles.progressBar) === null || _styles$progressBar === void 0 ? void 0 : _styles$progressBar.borderRadius) || 0
|
56
|
+
}]
|
57
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null)));
|
58
|
+
}
|
59
|
+
}
|
60
|
+
//# 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","parseLinearGradient","WmProgressBarState","WmProgressBar","constructor","props","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","createElement","style","_background","target","width","height","disableTouchEffect","state","disabletoucheffect","_extends","getTestPropsForAction","PROGRESSBAR","animatedValue","color","progressValue","colors","position","borderRadius","Fragment"],"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 { parseLinearGradient } from '@wavemaker/app-rn-runtime/core/utils';\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 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} = parseLinearGradient(styles?.root?.progressBar?.backgroundColor as string);\n const gradientColors: [string, string, ...string[]] = [color1, color2];\n const valuePercent = `${Math.round(value * 100)}%`;\n\n return (\n <View style={styles.root}>\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}]}></ProgressBar>\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 </Tappable>\n </View>); \n }\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,mBAAmB,QAAQ,sCAAsC;AAE1E,OAAO,MAAMC,kBAAkB,SAASN,kBAAkB,CAAqB;AAE/E,eAAe,MAAMO,aAAa,SAASR,aAAa,CAA8D;EAEpHS,WAAWA,CAACC,KAAyB,EAAE;IACrC,KAAK,CAACA,KAAK,EAAEL,aAAa,EAAE,IAAID,kBAAkB,CAAC,CAAC,CAAC;EACvD;EAEAO,YAAYA,CAACD,KAAyB,EAAE;IAAA,IAAAE,YAAA,EAAAC,mBAAA;IACtC,IAAIC,KAAK,GAAG,CAACJ,KAAK,CAACK,SAAS,GAAGL,KAAK,CAACM,QAAQ,KAAKN,KAAK,CAACO,QAAQ,GAAGP,KAAK,CAACM,QAAQ,CAAC;IAClF,MAAME,MAAM,GAAG,IAAI,CAACC,KAAK,CAACC,UAAU,CAAC,IAAI,CAACD,KAAK,CAACE,QAAQ,CAAC,OAAOX,KAAK,CAACY,IAAI,eAAe,CAAC,EAAE,IAAI,CAACJ,MAAM,CAAC;IACxG,MAAM;MAACK,iBAAiB;MAAEC,MAAM;MAAEC,MAAM;MAAEC,KAAK;MAAEC;IAAG,CAAC,GAAGrB,mBA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AAK,EAAE,CACL;QACEG,KAAK,EAAEP,YAAmB;QAC1BQ,MAAM,EAAEtB,MAAM,CAACU,IAAI,CAACY,MAAM,IAAItB,MAAM,CAACW,WAAW,CAACW,MAAM;QACvDW,QAAQ,EAAE,UAAU;QACpBC,YAAY,EAAE,CAAAlC,MAAM,aAANA,MAAM,gBAAAL,mBAAA,GAANK,MAAM,CAAEW,WAAW,cAAAhB,mBAAA,uBAAnBA,mBAAA,CAAqBuC,YAAY,KAAI;MACrD,CAAC;IACD,CACH,CAAC,gBAEF1D,KAAA,CAAAyC,aAAA,CAAAzC,KAAA,CAAA2D,QAAA,MAAI,CAEA,CACN,CAAC;EACT;AAEF","ignoreList":[]}
|
@@ -0,0 +1,16 @@
|
|
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
|
+
}
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=progress-bar.props.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["Color","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","progressBar","height","progressValue","getStyle","color","backgroundColor","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};\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 });\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 } 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;AAQxF,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;EACpB,CAAC,CAAC;EAEF,MAAMC,QAAQ,GAAIC,KAAa,KAAM;IACjCJ,WAAW,EAAE;MACTK,eAAe,EAAEf,KAAK,CAACc,KAAK,CAAC,CAACE,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC;IAC5D,CAAC;IACDN,aAAa,EAAE;MACXE,KAAK,EAAEA;IACX;EACJ,CAAC,CAAwB;EAEzBR,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAAC,0BAA0B,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACc,uBAAuB,CAAC,CAAC;EAC1Fb,QAAQ,CAAC,0BAA0B,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACe,uBAAuB,CAAC,CAAC;EAC1Fd,QAAQ,CAAC,uBAAuB,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACgB,oBAAoB,CAAC,CAAC;EACpFf,QAAQ,CAAC,yBAAyB,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACiB,sBAAsB,CAAC,CAAC;EACxFhB,QAAQ,CAAC,0BAA0B,EAAE,EAAE,EAAEO,QAAQ,CAACR,cAAc,CAACkB,uBAAuB,CAAC,CAAC;AAC9F,CAAC,CAAC","ignoreList":[]}
|
@@ -0,0 +1,78 @@
|
|
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, Text } from 'react-native';
|
7
|
+
import { isNumber } from 'lodash';
|
8
|
+
import { AnimatedCircularProgress } from 'react-native-circular-progress';
|
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 WmProgressCircleProps from './progress-circle.props';
|
13
|
+
import { DEFAULT_CLASS } from './progress-circle.styles';
|
14
|
+
export class WmProgressCircleState extends BaseComponentState {
|
15
|
+
constructor(...args) {
|
16
|
+
super(...args);
|
17
|
+
_defineProperty(this, "radius", 10);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
export default class WmProgressCircle extends BaseComponent {
|
21
|
+
constructor(props) {
|
22
|
+
super(props, DEFAULT_CLASS, new WmProgressCircleProps(), new WmProgressCircleState());
|
23
|
+
}
|
24
|
+
onLayout(e) {
|
25
|
+
const width = e.nativeEvent.layout.width;
|
26
|
+
const height = e.nativeEvent.layout.height;
|
27
|
+
let radius = this.state.radius;
|
28
|
+
if (!width) {
|
29
|
+
radius = height;
|
30
|
+
} else if (!height) {
|
31
|
+
radius = width;
|
32
|
+
} else {
|
33
|
+
radius = Math.min(width, height);
|
34
|
+
}
|
35
|
+
this.updateState({
|
36
|
+
radius: radius
|
37
|
+
});
|
38
|
+
}
|
39
|
+
renderWidget(props) {
|
40
|
+
let value = 0;
|
41
|
+
if (isNumber(props.datavalue) && isNumber(props.minvalue) && isNumber(props.maxvalue)) {
|
42
|
+
value = (+props.datavalue - +props.minvalue) / (+props.maxvalue - +props.minvalue) * 100;
|
43
|
+
}
|
44
|
+
const styles = this.theme.mergeStyle(this.theme.getStyle(`app-${props.type}-progress-circle`), this.styles);
|
45
|
+
const showText = props.captionplacement !== 'hidden';
|
46
|
+
return /*#__PURE__*/React.createElement(View, _extends({
|
47
|
+
style: styles.root,
|
48
|
+
onLayout: this.onLayout.bind(this)
|
49
|
+
}, getAccessibilityProps(AccessibilityWidgetType.PROGRESSCIRCLE, props), this.getTestPropsForAction('progresscircle')), this._background, /*#__PURE__*/React.createElement(Tappable, {
|
50
|
+
target: this,
|
51
|
+
styles: {
|
52
|
+
root: {
|
53
|
+
width: '100%',
|
54
|
+
height: '100%'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
disableTouchEffect: this.state.props.disabletoucheffect
|
58
|
+
}, /*#__PURE__*/React.createElement(AnimatedCircularProgress, {
|
59
|
+
fill: value,
|
60
|
+
width: styles.progressValue.height,
|
61
|
+
backgroundWidth: styles.progressValue.height,
|
62
|
+
rotation: 0,
|
63
|
+
tintColor: styles.progressValue.backgroundColor,
|
64
|
+
lineCap: styles.progressValue.buttStyle || "butt",
|
65
|
+
backgroundColor: styles.progressCircle.backgroundColor,
|
66
|
+
size: this.state.radius
|
67
|
+
}, fill => /*#__PURE__*/React.createElement(View, {
|
68
|
+
style: {
|
69
|
+
alignItems: 'center'
|
70
|
+
}
|
71
|
+
}, /*#__PURE__*/React.createElement(Text, _extends({
|
72
|
+
style: styles.text
|
73
|
+
}, this.getTestPropsForLabel('title')), showText ? props.title || value : ''), showText && props.subtitle ? /*#__PURE__*/React.createElement(Text, _extends({
|
74
|
+
style: styles.subTitle
|
75
|
+
}, this.getTestPropsForLabel('subtitle')), props.subtitle) : null))));
|
76
|
+
}
|
77
|
+
}
|
78
|
+
//# sourceMappingURL=progress-circle.component.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","View","Text","isNumber","AnimatedCircularProgress","Tappable","BaseComponent","BaseComponentState","AccessibilityWidgetType","getAccessibilityProps","WmProgressCircleProps","DEFAULT_CLASS","WmProgressCircleState","constructor","args","_defineProperty","WmProgressCircle","props","onLayout","e","width","nativeEvent","layout","height","radius","state","Math","min","updateState","renderWidget","value","datavalue","minvalue","maxvalue","styles","theme","mergeStyle","getStyle","type","showText","captionplacement","createElement","_extends","style","root","bind","PROGRESSCIRCLE","getTestPropsForAction","_background","target","disableTouchEffect","disabletoucheffect","fill","progressValue","backgroundWidth","rotation","tintColor","backgroundColor","lineCap","buttStyle","progressCircle","size","alignItems","text","getTestPropsForLabel","title","subtitle","subTitle"],"sources":["progress-circle.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View, Text } from 'react-native';\nimport { isNumber } from 'lodash';\nimport { AnimatedCircularProgress } from 'react-native-circular-progress';\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 WmProgressCircleProps from './progress-circle.props';\nimport { DEFAULT_CLASS, WmProgressCircleStyles } from './progress-circle.styles';\n\n\nexport class WmProgressCircleState extends BaseComponentState<WmProgressCircleProps> {\n radius = 10;\n}\n\nexport default class WmProgressCircle extends BaseComponent<WmProgressCircleProps, WmProgressCircleState, WmProgressCircleStyles> {\n\n constructor(props: WmProgressCircleProps) {\n super(props, DEFAULT_CLASS, new WmProgressCircleProps(), new WmProgressCircleState());\n }\n\n onLayout(e: LayoutChangeEvent) {\n const width = e.nativeEvent.layout.width;\n const height = e.nativeEvent.layout.height;\n let radius = this.state.radius;\n if (!width) {\n radius = height;\n } else if (!height) {\n radius = width;\n } else {\n radius = Math.min(width, height);\n }\n this.updateState({\n radius: radius\n } as WmProgressCircleState);\n }\n\n renderWidget(props: WmProgressCircleProps) {\n let value = 0;\n if (isNumber(props.datavalue) && isNumber(props.minvalue) && isNumber(props.maxvalue)) {\n value = (+props.datavalue - (+props.minvalue)) / (+props.maxvalue - (+props.minvalue)) * 100;\n }\n const styles = this.theme.mergeStyle(this.theme.getStyle(`app-${props.type}-progress-circle`), this.styles);\n const showText = props.captionplacement !== 'hidden';\n return (\n <View style={styles.root} onLayout={this.onLayout.bind(this)} {...getAccessibilityProps(AccessibilityWidgetType.PROGRESSCIRCLE, props)} {...this.getTestPropsForAction('progresscircle')}>\n {this._background}\n <Tappable target={this} styles={{root:{width: '100%', height: '100%'}}} disableTouchEffect={this.state.props.disabletoucheffect}>\n <AnimatedCircularProgress\n fill={value}\n width={styles.progressValue.height}\n backgroundWidth={styles.progressValue.height}\n rotation={0}\n tintColor={styles.progressValue.backgroundColor}\n lineCap={styles.progressValue.buttStyle || \"butt\"}\n backgroundColor={styles.progressCircle.backgroundColor}\n size={this.state.radius}>\n {(fill) => (<View style={{alignItems: 'center'}}>\n <Text style={styles.text} {...this.getTestPropsForLabel('title')}>{ showText ? props.title || value : '' }</Text>\n {showText && props.subtitle ? (<Text style={styles.subTitle} {...this.getTestPropsForLabel('subtitle')}>{ props.subtitle }</Text>) : null}\n </View>)} \n </AnimatedCircularProgress>\n </Tappable>\n </View>); \n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC5D,SAASC,QAAQ,QAAQ,QAAQ;AACjC,SAASC,wBAAwB,QAAQ,gCAAgC;AACzE,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,qBAAqB,MAAM,yBAAyB;AAC3D,SAASC,aAAa,QAAgC,0BAA0B;AAGhF,OAAO,MAAMC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D,KAAA,CAAAyC,aAAA,CAACxC,IAAI;MAAC0C,KAAK,EAAE;QAACmB,UAAU,EAAE;MAAQ;IAAE,gBAClC9D,KAAA,CAAAyC,aAAA,CAACvC,IAAI,EAAAwC,QAAA;MAACC,KAAK,EAAET,MAAM,CAAC6B;IAAK,GAAK,IAAI,CAACC,oBAAoB,CAAC,OAAO,CAAC,GAAIzB,QAAQ,GAAGtB,KAAK,CAACgD,KAAK,IAAInC,KAAK,GAAG,EAAU,CAAC,EAChHS,QAAQ,IAAItB,KAAK,CAACiD,QAAQ,gBAAIlE,KAAA,CAAAyC,aAAA,CAACvC,IAAI,EAAAwC,QAAA;MAACC,KAAK,EAAET,MAAM,CAACiC;IAAS,GAAK,IAAI,CAACH,oBAAoB,CAAC,UAAU,CAAC,GAAI/C,KAAK,CAACiD,QAAgB,CAAC,GAAI,IACjI,CACI,CAClB,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 WmProgressCircleProps 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, "captionplacement", 'inside');
|
13
|
+
_defineProperty(this, "title", '');
|
14
|
+
_defineProperty(this, "subtitle", '');
|
15
|
+
_defineProperty(this, "accessibilitylabel", undefined);
|
16
|
+
_defineProperty(this, "accessibilityrole", 'progressbar');
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=progress-circle.props.js.map
|
@@ -0,0 +1,113 @@
|
|
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 { filter, includes, values, isNumber, split, toLower, get, toString, isArray, isObject, isString } from 'lodash';
|
5
|
+
export class DataProvider {
|
6
|
+
constructor() {
|
7
|
+
_defineProperty(this, "localDataProvider", new LocalDataProvider());
|
8
|
+
}
|
9
|
+
// check if the variable is of type service variable and whether update is required.
|
10
|
+
init(self) {
|
11
|
+
let response = self.invokeEventCallback('isUpdateRequired', []);
|
12
|
+
return response;
|
13
|
+
}
|
14
|
+
|
15
|
+
// setting the inputFields and invoking the variable
|
16
|
+
invokeVariable(self, query) {
|
17
|
+
var _self$props;
|
18
|
+
let paramsObj = null;
|
19
|
+
((_self$props = self.props) === null || _self$props === void 0 ? void 0 : _self$props.searchkey) && self.props.searchkey.split(',').forEach(k => {
|
20
|
+
if (!paramsObj) {
|
21
|
+
paramsObj = {};
|
22
|
+
}
|
23
|
+
paramsObj[k] = query;
|
24
|
+
});
|
25
|
+
let invokeEvent = get(self.props, 'formfield') ? self.props.invokeEvent : self.invokeEventCallback;
|
26
|
+
if (invokeEvent) {
|
27
|
+
return invokeEvent.call(self, 'onQuerySearch', [paramsObj]);
|
28
|
+
}
|
29
|
+
return Promise.resolve();
|
30
|
+
}
|
31
|
+
filter(config, cb) {
|
32
|
+
const props = config.props;
|
33
|
+
if (props.searchkey) {
|
34
|
+
const keys = split(props.searchkey, ',');
|
35
|
+
if (keys.length && cb) {
|
36
|
+
cb();
|
37
|
+
return;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
return this.localDataProvider.filter(config);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
export class LocalDataProvider {
|
44
|
+
applyFilter(entry, queryText) {
|
45
|
+
entry = isNumber(entry) ? entry.toString() : entry;
|
46
|
+
return includes(entry, queryText);
|
47
|
+
}
|
48
|
+
filter(config) {
|
49
|
+
const entries = config.entries;
|
50
|
+
let queryText = config.query;
|
51
|
+
const props = config.props;
|
52
|
+
let filteredData;
|
53
|
+
const casesensitive = false;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* If searchkey is defined, then check for match string against each item in the dataset with item's field name as the searchkey
|
57
|
+
* return the filtered data containing the matching string.
|
58
|
+
*/
|
59
|
+
if (props.searchkey) {
|
60
|
+
const keys = split(props.searchkey, ',');
|
61
|
+
if (!entries.length) {
|
62
|
+
return [];
|
63
|
+
}
|
64
|
+
let entryObj = entries[0];
|
65
|
+
entryObj = entryObj.hasOwnProperty('dataObject') ? entryObj['dataObject'] : entryObj;
|
66
|
+
const entryKeys = Object.keys(entryObj);
|
67
|
+
const hasEntry = keys.find(k => {
|
68
|
+
if (k.includes('.')) {
|
69
|
+
k = split(k, '.')[0];
|
70
|
+
}
|
71
|
+
return entryKeys.includes(k);
|
72
|
+
});
|
73
|
+
if (!hasEntry) {
|
74
|
+
// widget bound to query variable, searchkey is query or path params and not the key from the entry obj
|
75
|
+
return entries;
|
76
|
+
}
|
77
|
+
filteredData = filter(entries, item => {
|
78
|
+
return keys.some(key => {
|
79
|
+
let a = get(item.dataObject, key),
|
80
|
+
b = queryText;
|
81
|
+
if (!casesensitive) {
|
82
|
+
a = toLower(toString(a));
|
83
|
+
b = toLower(toString(b));
|
84
|
+
}
|
85
|
+
return this.applyFilter(a, b);
|
86
|
+
});
|
87
|
+
});
|
88
|
+
} else {
|
89
|
+
// local search on data with array of objects.
|
90
|
+
// Iterate over each item and return the filtered data containing the matching string.
|
91
|
+
if (isArray(entries) && isObject(entries[0])) {
|
92
|
+
filteredData = filter(entries, entry => {
|
93
|
+
let a = isString(entry.dataObject) ? entry.dataObject : values(entry.dataObject).join(' ');
|
94
|
+
if (!casesensitive) {
|
95
|
+
a = toLower(a);
|
96
|
+
queryText = toLower(queryText);
|
97
|
+
}
|
98
|
+
return this.applyFilter(a, queryText);
|
99
|
+
});
|
100
|
+
} else {
|
101
|
+
filteredData = filter(entries, entry => {
|
102
|
+
if (!casesensitive) {
|
103
|
+
entry = toLower(entry);
|
104
|
+
queryText = toLower(queryText);
|
105
|
+
}
|
106
|
+
return this.applyFilter(entry, queryText);
|
107
|
+
});
|
108
|
+
}
|
109
|
+
}
|
110
|
+
return filteredData;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
//# sourceMappingURL=local-data-provider.js.map
|