@wavemaker/app-rn-runtime 11.4.0-next.28152 → 11.4.0-patch.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions/base-action.js.map +1 -0
- package/actions/login-action.js.map +1 -0
- package/actions/logout-action.js.map +1 -0
- package/actions/navigation-action.js +44 -0
- package/actions/navigation-action.js.map +1 -0
- package/actions/notification-action.js.map +1 -0
- package/actions/timer-action.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -0
- package/components/advanced/carousel/carousel.component.js +164 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/carousel/carousel.props.js +18 -0
- package/components/advanced/carousel/carousel.props.js.map +1 -0
- package/components/advanced/carousel/carousel.styles.js +150 -0
- package/components/advanced/carousel/carousel.styles.js.map +1 -0
- package/components/advanced/login/login.component.js.map +1 -0
- package/components/advanced/login/login.props.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/advanced/webview/webview.props.js.map +1 -0
- package/components/basic/anchor/anchor.component.js +69 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/anchor/anchor.props.js.map +1 -0
- package/components/basic/anchor/anchor.styles.js +78 -0
- package/components/basic/anchor/anchor.styles.js.map +1 -0
- package/components/basic/animatedview.component.js +164 -0
- package/components/basic/animatedview.component.js.map +1 -0
- package/components/basic/audio/audio.component.js +240 -0
- package/components/basic/audio/audio.component.js.map +1 -0
- package/components/basic/audio/audio.props.js +15 -0
- package/components/basic/audio/audio.props.js.map +1 -0
- package/components/basic/audio/audio.styles.js +61 -0
- package/components/basic/audio/audio.styles.js.map +1 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.props.js.map +1 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.props.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
- package/components/basic/custom/custom.component.js.map +1 -0
- package/components/basic/custom/custom.props.js.map +1 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js.map +1 -0
- package/components/basic/icon/icon.styles.js +32 -0
- package/components/basic/icon/icon.styles.js.map +1 -0
- package/components/basic/label/label.component.js +65 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.props.js.map +1 -0
- package/components/basic/label/label.styles.js +122 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/lottie/lottie.component.js.map +1 -0
- package/components/basic/lottie/lottie.props.js.map +1 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/message/message.props.js.map +1 -0
- package/components/basic/message/message.styles.js +115 -0
- package/components/basic/message/message.styles.js.map +1 -0
- package/components/basic/modal/modal.component.js.map +1 -0
- package/components/basic/modal/modal.props.js.map +1 -0
- package/components/basic/modal/modal.styles.js.map +1 -0
- package/components/basic/picture/picture.component.js +187 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/picture/picture.props.js.map +1 -0
- package/components/basic/picture/picture.styles.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.styles.js.map +1 -0
- package/components/basic/search/local-data-provider.js.map +1 -0
- package/components/basic/search/search.component.js +411 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.props.js +29 -0
- package/components/basic/search/search.props.js.map +1 -0
- package/components/basic/search/search.styles.js +171 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/skeleton/skeleton.component.js.map +1 -0
- package/components/basic/spinner/spinner.component.js +87 -0
- package/components/basic/spinner/spinner.component.js.map +1 -0
- package/components/basic/spinner/spinner.props.js.map +1 -0
- package/components/basic/spinner/spinner.styles.js +39 -0
- package/components/basic/spinner/spinner.styles.js.map +1 -0
- package/components/basic/video/video.component.js +56 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/basic/video/video.props.js.map +1 -0
- package/components/chart/area-chart/area-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
- package/components/chart/basechart.component.js +480 -0
- package/components/chart/basechart.component.js.map +1 -0
- package/components/chart/basechart.props.js +49 -0
- package/components/chart/basechart.props.js.map +1 -0
- package/components/chart/basechart.styles.js +33 -0
- package/components/chart/basechart.styles.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
- package/components/chart/column-chart/column-chart.component.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.component.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.props.js +11 -0
- package/components/chart/donut-chart/donut-chart.props.js.map +1 -0
- package/components/chart/legend/legend.component.js +36 -0
- package/components/chart/legend/legend.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.props.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.component.js +191 -0
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.js +13 -0
- package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
- package/components/chart/theme/chart.theme.js.map +1 -0
- package/components/container/accordion/accordion.component.js +138 -0
- package/components/container/accordion/accordion.component.js.map +1 -0
- package/components/container/accordion/accordion.props.js +14 -0
- package/components/container/accordion/accordion.props.js.map +1 -0
- package/components/container/accordion/accordion.styles.js +136 -0
- package/components/container/accordion/accordion.styles.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js +93 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/container.props.js.map +1 -0
- package/components/container/container.styles.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.props.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.styles.js.map +1 -0
- package/components/container/linearlayout/linearlayout.component.js +43 -0
- package/components/container/linearlayout/linearlayout.component.js.map +1 -0
- package/components/container/linearlayout/linearlayout.props.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +24 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.component.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.props.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.component.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.props.js.map +1 -0
- package/components/container/panel/panel.styles.js +98 -0
- package/components/container/panel/panel.styles.js.map +1 -0
- package/components/container/partial-host.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.js +182 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.js +64 -0
- package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
- package/components/container/tabs/tabs.component.js +229 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/tabs/tabs.props.js.map +1 -0
- package/components/container/tabs/tabs.styles.js +57 -0
- package/components/container/tabs/tabs.styles.js.map +1 -0
- package/components/container/tile/tile.component.js.map +1 -0
- package/components/container/tile/tile.props.js.map +1 -0
- package/components/container/tile/tile.styles.js.map +1 -0
- package/components/container/wizard/wizard.component.js +176 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.props.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +181 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
- package/components/data/card/card-content/card-content.component.js.map +1 -0
- package/components/data/card/card-content/card-content.props.js.map +1 -0
- package/components/data/card/card-footer/card-footer.component.js.map +1 -0
- package/components/data/card/card-footer/card-footer.props.js.map +1 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/card/card.props.js.map +1 -0
- package/components/data/card/card.styles.js.map +1 -0
- package/components/data/form/form-action/form-action.component.js +33 -0
- package/components/data/form/form-action/form-action.component.js.map +1 -0
- package/components/data/form/form-action/form-action.props.js +17 -0
- package/components/data/form/form-action/form-action.props.js.map +1 -0
- package/components/data/form/form-action/form-action.styles.js.map +1 -0
- package/components/data/form/form-body/form-body.component.js.map +1 -0
- package/components/data/form/form-body/form-body.props.js.map +1 -0
- package/components/data/form/form-field/form-field.component.js +225 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form-field/form-field.props.js +30 -0
- package/components/data/form/form-field/form-field.props.js.map +1 -0
- package/components/data/form/form-field/form-field.styles.js.map +1 -0
- package/components/data/form/form-footer/form-footer.component.js.map +1 -0
- package/components/data/form/form-footer/form-footer.props.js.map +1 -0
- package/components/data/form/form.component.js +396 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/form/form.props.js +26 -0
- package/components/data/form/form.props.js.map +1 -0
- package/components/data/form/form.styles.js +45 -0
- package/components/data/form/form.styles.js.map +1 -0
- package/components/data/list/list-template/list-template.component.js.map +1 -0
- package/components/data/list/list-template/list-template.props.js.map +1 -0
- package/components/data/list/list-template/list-template.styles.js.map +1 -0
- package/components/data/list/list.component.js +285 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +34 -0
- package/components/data/list/list.props.js.map +1 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/data/liveform/liveform.component.js +102 -0
- package/components/data/liveform/liveform.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
- package/components/dialogs/dialog/dialog.component.js +92 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.props.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -0
- package/components/input/basedataset/basedataset.component.js.map +1 -0
- package/components/input/basedataset/basedataset.props.js.map +1 -0
- package/components/input/baseinput/baseinput.component.js +147 -0
- package/components/input/baseinput/baseinput.component.js.map +1 -0
- package/components/input/baseinput/baseinput.props.js.map +1 -0
- package/components/input/basenumber/basenumber.component.js +278 -0
- package/components/input/basenumber/basenumber.component.js.map +1 -0
- package/components/input/basenumber/basenumber.props.js.map +1 -0
- package/components/input/calendar/calendar.component.js.map +1 -0
- package/components/input/calendar/calendar.props.js.map +1 -0
- package/components/input/calendar/calendar.styles.js +132 -0
- package/components/input/calendar/calendar.styles.js.map +1 -0
- package/components/input/calendar/views/month-view.js +191 -0
- package/components/input/calendar/views/month-view.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkbox/checkbox.props.js +17 -0
- package/components/input/checkbox/checkbox.props.js.map +1 -0
- package/components/input/checkbox/checkbox.styles.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.props.js.map +1 -0
- package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
- package/components/input/chips/chips.component.js +266 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.props.js.map +1 -0
- package/components/input/composite/composite.component.js.map +1 -0
- package/components/input/composite/composite.props.js.map +1 -0
- package/components/input/currency/currency.component.js +70 -0
- package/components/input/currency/currency.component.js.map +1 -0
- package/components/input/currency/currency.props.js +12 -0
- package/components/input/currency/currency.props.js.map +1 -0
- package/components/input/currency/currency.styles.js +64 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +272 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/epoch/date/date.component.js.map +1 -0
- package/components/input/epoch/date/date.props.js.map +1 -0
- package/components/input/epoch/date/date.styles.js +21 -0
- package/components/input/epoch/date/date.styles.js.map +1 -0
- package/components/input/epoch/date-picker.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.props.js.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.js +71 -0
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
- package/components/input/epoch/time/time.component.js.map +1 -0
- package/components/input/epoch/time/time.props.js.map +1 -0
- package/components/input/epoch/time/time.styles.js +21 -0
- package/components/input/epoch/time/time.styles.js.map +1 -0
- package/components/input/fileupload/fileupload.component.js.map +1 -0
- package/components/input/fileupload/fileupload.props.js.map +1 -0
- package/components/input/number/number.component.js +52 -0
- package/components/input/number/number.component.js.map +1 -0
- package/components/input/number/number.props.js +12 -0
- package/components/input/number/number.props.js.map +1 -0
- package/components/input/number/number.styles.js +38 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +56 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/radioset/radioset.props.js.map +1 -0
- package/components/input/radioset/radioset.styles.js +52 -0
- package/components/input/radioset/radioset.styles.js.map +1 -0
- package/components/input/rating/rating.component.js +142 -0
- package/components/input/rating/rating.component.js.map +1 -0
- package/components/input/rating/rating.props.js.map +1 -0
- package/components/input/select/select.component.js +181 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.props.js.map +1 -0
- package/components/input/select/select.styles.js +97 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +77 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.props.js.map +1 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.props.js.map +1 -0
- package/components/input/switch/switch.styles.js +114 -0
- package/components/input/switch/switch.styles.js.map +1 -0
- package/components/input/text/text.component.js +47 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.props.js.map +1 -0
- package/components/input/text/text.styles.js +44 -0
- package/components/input/text/text.styles.js.map +1 -0
- package/components/input/textarea/textarea.component.js +48 -0
- package/components/input/textarea/textarea.component.js.map +1 -0
- package/components/input/textarea/textarea.props.js.map +1 -0
- package/components/input/textarea/textarea.styles.js +46 -0
- package/components/input/textarea/textarea.styles.js.map +1 -0
- package/components/input/toggle/toggle.component.js +94 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.props.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +43 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/basenav/basenav.component.js.map +1 -0
- package/components/navigation/basenav/basenav.props.js.map +1 -0
- package/components/navigation/menu/menu.component.js.map +1 -0
- package/components/navigation/menu/menu.props.js.map +1 -0
- package/components/navigation/menu/menu.styles.js +67 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navbar/navbar.component.js.map +1 -0
- package/components/navigation/navbar/navbar.props.js.map +1 -0
- package/components/navigation/navbar/navbar.styles.js.map +1 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.props.js.map +1 -0
- package/components/navigation/navitem/navitem.styles.js.map +1 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.props.js.map +1 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/content/content.component.js.map +1 -0
- package/components/page/left-panel/left-panel.component.js.map +1 -0
- package/components/page/left-panel/left-panel.props.js.map +1 -0
- package/components/page/page-content/page-content.component.js.map +1 -0
- package/components/page/page-content/page-content.props.js.map +1 -0
- package/components/page/page.component.js.map +1 -0
- package/components/page/partial/partial.component.js.map +1 -0
- package/components/page/partial-container/partial-container.component.js.map +1 -0
- package/components/page/partial-container/partial-container.props.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/components/page/tabbar/tabbar.props.js.map +1 -0
- package/components/prefab/prefab-container.component.js.map +1 -0
- package/core/asset.provider.js.map +1 -0
- package/core/base.component.js +382 -0
- package/core/base.component.js.map +1 -0
- package/core/components/textinput.component.js +37 -0
- package/core/components/textinput.component.js.map +1 -0
- package/core/device/camera-service.js.map +1 -0
- package/core/device/scan-service.js.map +1 -0
- package/core/display.manager.js.map +1 -0
- package/core/event-notifier.js.map +1 -0
- package/core/fixed-view.component.js.map +1 -0
- package/core/formatters.js.map +1 -0
- package/core/i18n.service.js +2 -0
- package/core/i18n.service.js.map +1 -0
- package/core/if.component.js +36 -0
- package/core/if.component.js.map +1 -0
- package/core/imageSizeEstimator.js.map +1 -0
- package/core/injector.js +27 -0
- package/core/injector.js.map +1 -0
- package/core/key.extractor.js +22 -0
- package/core/key.extractor.js.map +1 -0
- package/core/logger.js +123 -0
- package/core/logger.js.map +1 -0
- package/core/modal.service.js.map +1 -0
- package/core/navigation.service.js.map +1 -0
- package/core/network.service.js +331 -0
- package/core/network.service.js.map +1 -0
- package/core/partial.service.js.map +1 -0
- package/core/props.provider.js +86 -0
- package/core/props.provider.js.map +1 -0
- package/core/scroll-view.component.js.map +1 -0
- package/core/security.service.js.map +1 -0
- package/core/spinner.service.js.map +1 -0
- package/core/storage.service.js.map +1 -0
- package/core/tappable.component.js +72 -0
- package/core/tappable.component.js.map +1 -0
- package/core/toast.service.js.map +1 -0
- package/core/utils.js +316 -0
- package/core/utils.js.map +1 -0
- package/core/viewport.js.map +1 -0
- package/gestures/swipe.animation.js +110 -0
- package/gestures/swipe.animation.js.map +1 -0
- package/package.json +243 -0
- package/runtime/App.js +465 -0
- package/runtime/App.js.map +1 -0
- package/runtime/App.navigator.js +109 -0
- package/runtime/App.navigator.js.map +1 -0
- package/runtime/base-fragment.component.js +330 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/base-page.component.js +147 -0
- package/runtime/base-page.component.js.map +1 -0
- package/runtime/base-partial.component.js.map +1 -0
- package/runtime/base-prefab.component.js +83 -0
- package/runtime/base-prefab.component.js.map +1 -0
- package/runtime/lib-patch.js.map +1 -0
- package/runtime/memo.component.js.map +1 -0
- package/runtime/navigator/drawer.navigator.js.map +1 -0
- package/runtime/navigator/stack.navigator.js.map +1 -0
- package/runtime/services/app-display-manager.service.js.map +1 -0
- package/runtime/services/app-i18n.service.js +65 -0
- package/runtime/services/app-i18n.service.js.map +1 -0
- package/runtime/services/app-modal.service.js.map +1 -0
- package/runtime/services/app-security.service.js +196 -0
- package/runtime/services/app-security.service.js.map +1 -0
- package/runtime/services/app-spinner.service.js +75 -0
- package/runtime/services/app-spinner.service.js.map +1 -0
- package/runtime/services/app-toast.service.js.map +1 -0
- package/runtime/services/device/calendar-service.js.map +1 -0
- package/runtime/services/device/camera-service.js +332 -0
- package/runtime/services/device/camera-service.js.map +1 -0
- package/runtime/services/device/contacts-service.js.map +1 -0
- package/runtime/services/device/location-service.js.map +1 -0
- package/runtime/services/device/permissions.js.map +1 -0
- package/runtime/services/device/scan-service.js.map +1 -0
- package/runtime/services/partial.service.js.map +1 -0
- package/runtime/services/webprocess.service.js.map +1 -0
- package/runtime/watcher.js +147 -0
- package/runtime/watcher.js.map +1 -0
- package/styles/MediaQueryList.js.map +1 -0
- package/styles/background.component.js +298 -0
- package/styles/background.component.js.map +1 -0
- package/styles/fdfd.css +56 -0
- package/styles/style-prop.validator.js +470 -0
- package/styles/style-prop.validator.js.map +1 -0
- package/styles/style-props.js.map +1 -0
- package/styles/theme.js +324 -0
- package/styles/theme.js.map +1 -0
- package/styles/theme.variables.js +392 -0
- package/styles/theme.variables.js.map +1 -0
- package/variables/base-variable.js +125 -0
- package/variables/base-variable.js.map +1 -0
- package/variables/device/calendar/create-event.operation.js.map +1 -0
- package/variables/device/calendar/delete-event.operation.js.map +1 -0
- package/variables/device/calendar/get-events.operation.js.map +1 -0
- package/variables/device/camera/capture-image.operation.js.map +1 -0
- package/variables/device/camera/capture-video.operation.js.map +1 -0
- package/variables/device/contacts/get-contacts.operation.js.map +1 -0
- package/variables/device/device/app-info.operation.js.map +1 -0
- package/variables/device/device/current-geo-position.operation.js.map +1 -0
- package/variables/device/device/device-info.operation.js.map +1 -0
- package/variables/device/device/network-info.operation.js.map +1 -0
- package/variables/device/device/vibrate.operation.js.map +1 -0
- package/variables/device/file/upload-file.operation.js.map +1 -0
- package/variables/device/operation.provider.js.map +1 -0
- package/variables/device/scan/scan.operation.js.map +1 -0
- package/variables/device-variable.js.map +1 -0
- package/variables/http.service.js +76 -0
- package/variables/http.service.js.map +1 -0
- package/variables/live-variable.js +116 -0
- package/variables/live-variable.js.map +1 -0
- package/variables/model-variable.js +46 -0
- package/variables/model-variable.js.map +1 -0
- package/variables/service-variable.js +133 -0
- package/variables/service-variable.js.map +1 -0
- package/variables/utils/dataset-util.js.map +1 -0
- package/variables/utils/inflight-queue.js.map +1 -0
- package/variables/utils/variable.utils.js.map +1 -0
- app-rn-runtime/actions/base-action.js.map +0 -1
- app-rn-runtime/actions/login-action.js.map +0 -1
- app-rn-runtime/actions/logout-action.js.map +0 -1
- app-rn-runtime/actions/navigation-action.js +0 -32
- app-rn-runtime/actions/navigation-action.js.map +0 -1
- app-rn-runtime/actions/notification-action.js.map +0 -1
- app-rn-runtime/actions/timer-action.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -147
- app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.props.js +0 -17
- app-rn-runtime/components/advanced/carousel/carousel.props.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.styles.js +0 -134
- app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +0 -1
- app-rn-runtime/components/advanced/login/login.component.js.map +0 -1
- app-rn-runtime/components/advanced/login/login.props.js.map +0 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.props.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.component.js +0 -68
- app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.props.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.styles.js +0 -73
- app-rn-runtime/components/basic/anchor/anchor.styles.js.map +0 -1
- app-rn-runtime/components/basic/animatedview.component.js +0 -166
- app-rn-runtime/components/basic/animatedview.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.props.js.map +0 -1
- app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.component.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.props.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
- app-rn-runtime/components/basic/custom/custom.component.js.map +0 -1
- app-rn-runtime/components/basic/custom/custom.props.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.props.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.styles.js +0 -27
- app-rn-runtime/components/basic/icon/icon.styles.js.map +0 -1
- app-rn-runtime/components/basic/label/label.component.js +0 -64
- app-rn-runtime/components/basic/label/label.component.js.map +0 -1
- app-rn-runtime/components/basic/label/label.props.js.map +0 -1
- app-rn-runtime/components/basic/label/label.styles.js +0 -114
- app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
- app-rn-runtime/components/basic/lottie/lottie.component.js.map +0 -1
- app-rn-runtime/components/basic/lottie/lottie.props.js.map +0 -1
- app-rn-runtime/components/basic/message/message.component.js.map +0 -1
- app-rn-runtime/components/basic/message/message.props.js.map +0 -1
- app-rn-runtime/components/basic/message/message.styles.js +0 -93
- app-rn-runtime/components/basic/message/message.styles.js.map +0 -1
- app-rn-runtime/components/basic/modal/modal.component.js.map +0 -1
- app-rn-runtime/components/basic/modal/modal.props.js.map +0 -1
- app-rn-runtime/components/basic/modal/modal.styles.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.component.js +0 -191
- app-rn-runtime/components/basic/picture/picture.component.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.props.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.props.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.props.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.styles.js.map +0 -1
- app-rn-runtime/components/basic/search/local-data-provider.js.map +0 -1
- app-rn-runtime/components/basic/search/search.component.js +0 -411
- app-rn-runtime/components/basic/search/search.component.js.map +0 -1
- app-rn-runtime/components/basic/search/search.props.js +0 -28
- app-rn-runtime/components/basic/search/search.props.js.map +0 -1
- app-rn-runtime/components/basic/search/search.styles.js +0 -124
- app-rn-runtime/components/basic/search/search.styles.js.map +0 -1
- app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.component.js +0 -85
- app-rn-runtime/components/basic/spinner/spinner.component.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.props.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.styles.js +0 -31
- app-rn-runtime/components/basic/spinner/spinner.styles.js.map +0 -1
- app-rn-runtime/components/basic/video/video.component.js +0 -56
- app-rn-runtime/components/basic/video/video.component.js.map +0 -1
- app-rn-runtime/components/basic/video/video.props.js.map +0 -1
- app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/basechart.component.js +0 -476
- app-rn-runtime/components/chart/basechart.component.js.map +0 -1
- app-rn-runtime/components/chart/basechart.props.js +0 -48
- app-rn-runtime/components/chart/basechart.props.js.map +0 -1
- app-rn-runtime/components/chart/basechart.styles.js +0 -16
- app-rn-runtime/components/chart/basechart.styles.js.map +0 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/column-chart/column-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/donut-chart/donut-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/donut-chart/donut-chart.props.js +0 -12
- app-rn-runtime/components/chart/donut-chart/donut-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +0 -112
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +0 -14
- app-rn-runtime/components/chart/pie-chart/pie-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/theme/chart.theme.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.component.js +0 -182
- app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.props.js +0 -13
- app-rn-runtime/components/container/accordion/accordion.props.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.styles.js +0 -126
- app-rn-runtime/components/container/accordion/accordion.styles.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +0 -52
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -1
- app-rn-runtime/components/container/container.component.js.map +0 -1
- app-rn-runtime/components/container/container.props.js.map +0 -1
- app-rn-runtime/components/container/container.styles.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js.map +0 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.component.js +0 -42
- app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.props.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -24
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -1
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel-content/panel-content.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel-content/panel-content.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel-footer/panel-footer.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.styles.js +0 -89
- app-rn-runtime/components/container/panel/panel.styles.js.map +0 -1
- app-rn-runtime/components/container/partial-host.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +0 -157
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +0 -55
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.component.js +0 -226
- app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.styles.js +0 -18
- app-rn-runtime/components/container/tabs/tabs.styles.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.component.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.props.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.styles.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.component.js +0 -167
- app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.props.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.styles.js +0 -129
- app-rn-runtime/components/container/wizard/wizard.styles.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -1
- app-rn-runtime/components/data/card/card-content/card-content.component.js.map +0 -1
- app-rn-runtime/components/data/card/card-content/card-content.props.js.map +0 -1
- app-rn-runtime/components/data/card/card-footer/card-footer.component.js.map +0 -1
- app-rn-runtime/components/data/card/card-footer/card-footer.props.js.map +0 -1
- app-rn-runtime/components/data/card/card.component.js.map +0 -1
- app-rn-runtime/components/data/card/card.props.js.map +0 -1
- app-rn-runtime/components/data/card/card.styles.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -32
- app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.props.js +0 -15
- app-rn-runtime/components/data/form/form-action/form-action.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.styles.js.map +0 -1
- app-rn-runtime/components/data/form/form-body/form-body.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-body/form-body.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.component.js +0 -204
- app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.props.js +0 -22
- app-rn-runtime/components/data/form/form-field/form-field.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.styles.js.map +0 -1
- app-rn-runtime/components/data/form/form-footer/form-footer.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-footer/form-footer.props.js.map +0 -1
- app-rn-runtime/components/data/form/form.component.js +0 -306
- app-rn-runtime/components/data/form/form.component.js.map +0 -1
- app-rn-runtime/components/data/form/form.props.js +0 -24
- app-rn-runtime/components/data/form/form.props.js.map +0 -1
- app-rn-runtime/components/data/form/form.styles.js +0 -39
- app-rn-runtime/components/data/form/form.styles.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.component.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.props.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +0 -1
- app-rn-runtime/components/data/list/list.component.js +0 -241
- app-rn-runtime/components/data/list/list.component.js.map +0 -1
- app-rn-runtime/components/data/list/list.props.js +0 -32
- app-rn-runtime/components/data/list/list.props.js.map +0 -1
- app-rn-runtime/components/data/list/list.styles.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.component.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.props.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -49
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.component.js +0 -89
- app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -1
- app-rn-runtime/components/input/basedataset/basedataset.component.js.map +0 -1
- app-rn-runtime/components/input/basedataset/basedataset.props.js.map +0 -1
- app-rn-runtime/components/input/baseinput/baseinput.component.js +0 -147
- app-rn-runtime/components/input/baseinput/baseinput.component.js.map +0 -1
- app-rn-runtime/components/input/baseinput/baseinput.props.js.map +0 -1
- app-rn-runtime/components/input/basenumber/basenumber.component.js +0 -278
- app-rn-runtime/components/input/basenumber/basenumber.component.js.map +0 -1
- app-rn-runtime/components/input/basenumber/basenumber.props.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.component.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.props.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.styles.js +0 -110
- app-rn-runtime/components/input/calendar/calendar.styles.js.map +0 -1
- app-rn-runtime/components/input/calendar/views/month-view.js +0 -190
- app-rn-runtime/components/input/calendar/views/month-view.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.props.js +0 -17
- app-rn-runtime/components/input/checkbox/checkbox.props.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.component.js +0 -265
- app-rn-runtime/components/input/chips/chips.component.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.props.js.map +0 -1
- app-rn-runtime/components/input/composite/composite.component.js.map +0 -1
- app-rn-runtime/components/input/composite/composite.props.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.component.js +0 -68
- app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.props.js +0 -12
- app-rn-runtime/components/input/currency/currency.props.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.styles.js +0 -55
- app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -269
- app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.props.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.styles.js +0 -12
- app-rn-runtime/components/input/epoch/date/date.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/date-picker.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.props.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.styles.js +0 -62
- app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.props.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.styles.js +0 -12
- app-rn-runtime/components/input/epoch/time/time.styles.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.component.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.props.js.map +0 -1
- app-rn-runtime/components/input/number/number.component.js +0 -50
- app-rn-runtime/components/input/number/number.component.js.map +0 -1
- app-rn-runtime/components/input/number/number.props.js +0 -12
- app-rn-runtime/components/input/number/number.props.js.map +0 -1
- app-rn-runtime/components/input/number/number.styles.js +0 -33
- app-rn-runtime/components/input/number/number.styles.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.component.js +0 -54
- app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.props.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.styles.js +0 -44
- app-rn-runtime/components/input/radioset/radioset.styles.js.map +0 -1
- app-rn-runtime/components/input/rating/rating.component.js +0 -142
- app-rn-runtime/components/input/rating/rating.component.js.map +0 -1
- app-rn-runtime/components/input/rating/rating.props.js.map +0 -1
- app-rn-runtime/components/input/select/select.component.js +0 -169
- app-rn-runtime/components/input/select/select.component.js.map +0 -1
- app-rn-runtime/components/input/select/select.props.js.map +0 -1
- app-rn-runtime/components/input/select/select.styles.js +0 -80
- app-rn-runtime/components/input/select/select.styles.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.component.js +0 -76
- app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.props.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.props.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.styles.js +0 -78
- app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
- app-rn-runtime/components/input/text/text.component.js +0 -45
- app-rn-runtime/components/input/text/text.component.js.map +0 -1
- app-rn-runtime/components/input/text/text.props.js.map +0 -1
- app-rn-runtime/components/input/text/text.styles.js +0 -39
- app-rn-runtime/components/input/text/text.styles.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.component.js +0 -46
- app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.props.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.styles.js +0 -41
- app-rn-runtime/components/input/textarea/textarea.styles.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.component.js +0 -88
- app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.props.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.styles.js +0 -18
- app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
- app-rn-runtime/components/navigation/basenav/basenav.component.js.map +0 -1
- app-rn-runtime/components/navigation/basenav/basenav.props.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.component.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.props.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.styles.js +0 -61
- app-rn-runtime/components/navigation/menu/menu.styles.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.props.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.styles.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.props.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.props.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.styles.js.map +0 -1
- app-rn-runtime/components/page/content/content.component.js.map +0 -1
- app-rn-runtime/components/page/left-panel/left-panel.component.js.map +0 -1
- app-rn-runtime/components/page/left-panel/left-panel.props.js.map +0 -1
- app-rn-runtime/components/page/page-content/page-content.component.js.map +0 -1
- app-rn-runtime/components/page/page-content/page-content.props.js.map +0 -1
- app-rn-runtime/components/page/page.component.js.map +0 -1
- app-rn-runtime/components/page/partial/partial.component.js.map +0 -1
- app-rn-runtime/components/page/partial-container/partial-container.component.js.map +0 -1
- app-rn-runtime/components/page/partial-container/partial-container.props.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.props.js.map +0 -1
- app-rn-runtime/components/prefab/prefab-container.component.js.map +0 -1
- app-rn-runtime/core/asset.provider.js.map +0 -1
- app-rn-runtime/core/base.component.js +0 -370
- app-rn-runtime/core/base.component.js.map +0 -1
- app-rn-runtime/core/device/camera-service.js.map +0 -1
- app-rn-runtime/core/device/scan-service.js.map +0 -1
- app-rn-runtime/core/display.manager.js.map +0 -1
- app-rn-runtime/core/event-notifier.js.map +0 -1
- app-rn-runtime/core/fixed-view.component.js.map +0 -1
- app-rn-runtime/core/formatters.js.map +0 -1
- app-rn-runtime/core/if.component.js +0 -36
- app-rn-runtime/core/if.component.js.map +0 -1
- app-rn-runtime/core/imageSizeEstimator.js.map +0 -1
- app-rn-runtime/core/injector.js +0 -26
- app-rn-runtime/core/injector.js.map +0 -1
- app-rn-runtime/core/logger.js +0 -120
- app-rn-runtime/core/logger.js.map +0 -1
- app-rn-runtime/core/modal.service.js.map +0 -1
- app-rn-runtime/core/navigation.service.js.map +0 -1
- app-rn-runtime/core/network.service.js +0 -329
- app-rn-runtime/core/network.service.js.map +0 -1
- app-rn-runtime/core/partial.service.js.map +0 -1
- app-rn-runtime/core/props.provider.js +0 -86
- app-rn-runtime/core/props.provider.js.map +0 -1
- app-rn-runtime/core/scroll-view.component.js.map +0 -1
- app-rn-runtime/core/security.service.js.map +0 -1
- app-rn-runtime/core/spinner.service.js.map +0 -1
- app-rn-runtime/core/storage.service.js.map +0 -1
- app-rn-runtime/core/tappable.component.js +0 -63
- app-rn-runtime/core/tappable.component.js.map +0 -1
- app-rn-runtime/core/toast.service.js.map +0 -1
- app-rn-runtime/core/utils.js +0 -294
- app-rn-runtime/core/utils.js.map +0 -1
- app-rn-runtime/core/viewport.js.map +0 -1
- app-rn-runtime/gestures/swipe.animation.js +0 -105
- app-rn-runtime/gestures/swipe.animation.js.map +0 -1
- app-rn-runtime/package.json +0 -243
- app-rn-runtime/runtime/App.js +0 -454
- app-rn-runtime/runtime/App.js.map +0 -1
- app-rn-runtime/runtime/App.navigator.js +0 -100
- app-rn-runtime/runtime/App.navigator.js.map +0 -1
- app-rn-runtime/runtime/base-fragment.component.js +0 -317
- app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
- app-rn-runtime/runtime/base-page.component.js +0 -138
- app-rn-runtime/runtime/base-page.component.js.map +0 -1
- app-rn-runtime/runtime/base-partial.component.js.map +0 -1
- app-rn-runtime/runtime/base-prefab.component.js +0 -85
- app-rn-runtime/runtime/base-prefab.component.js.map +0 -1
- app-rn-runtime/runtime/lib-patch.js.map +0 -1
- app-rn-runtime/runtime/memo.component.js.map +0 -1
- app-rn-runtime/runtime/navigator/drawer.navigator.js.map +0 -1
- app-rn-runtime/runtime/navigator/stack.navigator.js.map +0 -1
- app-rn-runtime/runtime/services/app-display-manager.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-i18n.service.js +0 -42
- app-rn-runtime/runtime/services/app-i18n.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-modal.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-security.service.js +0 -189
- app-rn-runtime/runtime/services/app-security.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-spinner.service.js +0 -74
- app-rn-runtime/runtime/services/app-spinner.service.js.map +0 -1
- app-rn-runtime/runtime/services/app-toast.service.js.map +0 -1
- app-rn-runtime/runtime/services/device/calendar-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/camera-service.js +0 -333
- app-rn-runtime/runtime/services/device/camera-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/contacts-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/location-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/permissions.js.map +0 -1
- app-rn-runtime/runtime/services/device/scan-service.js.map +0 -1
- app-rn-runtime/runtime/services/partial.service.js.map +0 -1
- app-rn-runtime/runtime/services/webprocess.service.js.map +0 -1
- app-rn-runtime/runtime/watcher.js +0 -145
- app-rn-runtime/runtime/watcher.js.map +0 -1
- app-rn-runtime/styles/MediaQueryList.js.map +0 -1
- app-rn-runtime/styles/background.component.js +0 -259
- app-rn-runtime/styles/background.component.js.map +0 -1
- app-rn-runtime/styles/style-prop.validator.js +0 -466
- app-rn-runtime/styles/style-prop.validator.js.map +0 -1
- app-rn-runtime/styles/style-props.js.map +0 -1
- app-rn-runtime/styles/theme.js +0 -317
- app-rn-runtime/styles/theme.js.map +0 -1
- app-rn-runtime/styles/theme.variables.js +0 -336
- app-rn-runtime/styles/theme.variables.js.map +0 -1
- app-rn-runtime/variables/base-variable.js +0 -125
- app-rn-runtime/variables/base-variable.js.map +0 -1
- app-rn-runtime/variables/device/calendar/create-event.operation.js.map +0 -1
- app-rn-runtime/variables/device/calendar/delete-event.operation.js.map +0 -1
- app-rn-runtime/variables/device/calendar/get-events.operation.js.map +0 -1
- app-rn-runtime/variables/device/camera/capture-image.operation.js.map +0 -1
- app-rn-runtime/variables/device/camera/capture-video.operation.js.map +0 -1
- app-rn-runtime/variables/device/contacts/get-contacts.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/app-info.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/current-geo-position.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/device-info.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/network-info.operation.js.map +0 -1
- app-rn-runtime/variables/device/device/vibrate.operation.js.map +0 -1
- app-rn-runtime/variables/device/file/upload-file.operation.js.map +0 -1
- app-rn-runtime/variables/device/operation.provider.js.map +0 -1
- app-rn-runtime/variables/device/scan/scan.operation.js.map +0 -1
- app-rn-runtime/variables/device-variable.js.map +0 -1
- app-rn-runtime/variables/http.service.js +0 -72
- app-rn-runtime/variables/http.service.js.map +0 -1
- app-rn-runtime/variables/model-variable.js +0 -35
- app-rn-runtime/variables/model-variable.js.map +0 -1
- app-rn-runtime/variables/service-variable.js +0 -122
- app-rn-runtime/variables/service-variable.js.map +0 -1
- app-rn-runtime/variables/utils/dataset-util.js.map +0 -1
- app-rn-runtime/variables/utils/inflight-queue.js.map +0 -1
- app-rn-runtime/variables/utils/variable.utils.js.map +0 -1
- {app-rn-runtime → package}/actions/base-action.js +0 -0
- {app-rn-runtime → package}/actions/index.js +0 -0
- {app-rn-runtime → package}/actions/index.js.map +0 -0
- {app-rn-runtime → package}/actions/login-action.js +0 -0
- {app-rn-runtime → package}/actions/logout-action.js +0 -0
- {app-rn-runtime → package}/actions/notification-action.js +0 -0
- {app-rn-runtime → package}/actions/timer-action.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.component.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/message/message.component.js +0 -0
- {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.component.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.component.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/container.component.js +0 -0
- {app-rn-runtime → package}/components/container/container.props.js +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
- {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.component.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.js +0 -0
- {app-rn-runtime → package}/components/data/list/list.styles.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.component.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.styles.js.map +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.component.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.styles.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.component.js +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.component.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.styles.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.component.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.styles.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.component.js +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
- {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.styles.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.component.js +0 -0
- {app-rn-runtime → package}/components/page/page.props.js +0 -0
- {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.component.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
- {app-rn-runtime → package}/core/AppConfig.js +0 -0
- {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
- {app-rn-runtime → package}/core/asset.provider.js +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/camera-service.js +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/location-service.js +0 -0
- {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/scan-service.js +0 -0
- {app-rn-runtime → package}/core/display.manager.js +0 -0
- {app-rn-runtime → package}/core/event-notifier.js +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
- {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
- {app-rn-runtime → package}/core/formatters.js +0 -0
- {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
- {app-rn-runtime → package}/core/modal.service.js +0 -0
- {app-rn-runtime → package}/core/navigation.service.js +0 -0
- {app-rn-runtime → package}/core/partial.service.js +0 -0
- {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
- {app-rn-runtime → package}/core/security.service.js +0 -0
- {app-rn-runtime → package}/core/spinner.service.js +0 -0
- {app-rn-runtime → package}/core/storage.service.js +0 -0
- {app-rn-runtime → package}/core/toast.service.js +0 -0
- {app-rn-runtime → package}/core/viewport.js +0 -0
- {app-rn-runtime → package}/index.js +0 -0
- {app-rn-runtime → package}/index.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
- {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
- {app-rn-runtime → package}/runtime/memo.component.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/scan-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
- {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
- {app-rn-runtime → package}/styles/style-props.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
- {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
- {app-rn-runtime → package}/variables/device-variable.js +0 -0
- {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
- {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["axios","Platform","endsWith","DocumentPicker","FileExtensionTypesMap","namedParameters","copyToCacheDirectory","multiple","type","UploadFileOperation","chooseFile","getDocumentAsync","then","response","OS","file","uri","invoke","params","serverUrl","remoteFolder","Promise","resolve","localFile","browse","filePath","fileName","split","pop","arr","fileExtension","length","fileObj","name","formData","FormData","append","url","method","headers","data","error"],"sources":["upload-file.operation.tsx"],"sourcesContent":["import axios from 'axios';\nimport { Platform } from 'react-native';\nimport { endsWith } from 'lodash-es';\nimport * as DocumentPicker from 'expo-document-picker';\n\nimport { Operation } from '@wavemaker/app-rn-runtime/variables/device/operation.provider';\nimport { FileExtensionTypesMap } from '@wavemaker/app-rn-runtime/core/file-extension-types';\n\nexport interface UploadFileInput {\n localFile: string;\n remoteFolder: string;\n serverUrl: string;\n browse: boolean;\n}\n\nexport interface UploadFileOutput {\n fileName: string;\n path: string;\n length: number;\n success: boolean;\n inlinePath: string;\n errorMessage: string;\n}\n\nconst namedParameters = {\n copyToCacheDirectory: false,\n multiple: false,\n type: '*/*'\n};\n\nexport class UploadFileOperation implements Operation {\n\n public chooseFile() {\n return DocumentPicker.getDocumentAsync(namedParameters).then((response: any) => {\n return Platform.OS === 'web' ? response.file : response.uri;\n });\n }\n\n public invoke(params: UploadFileInput): Promise<UploadFileOutput> {\n params.serverUrl = endsWith(params.serverUrl, '/') ? params.serverUrl : params.serverUrl + '/';\n let serverUrl = params.serverUrl + 'services/file/uploadFile';\n if (params.remoteFolder) {\n serverUrl = serverUrl + '?relativePath=' + params.remoteFolder\n }\n return Promise.resolve().then(() => {\n if (!params.localFile && params.browse) {\n return this.chooseFile();\n } else {\n return params.localFile;\n }\n }).then((filePath: string) => {\n if (!filePath) {\n return;\n }\n const fileName: string | undefined = filePath.split('/').pop() || '';\n const arr: any = fileName.split('.');\n const fileExtension: string = '.' + arr[arr.length - 1];\n let fileObj = {\n uri: filePath,\n type: FileExtensionTypesMap[fileExtension],\n name: fileName,\n };\n\n let formData = new FormData();\n formData.append('files', fileObj);\n return axios({\n url: serverUrl,\n method: 'POST',\n headers: {\n 'Content-Type': 'multipart/form-data'\n },\n data: formData\n }).then(\n (response) => {\n return response.data[0];\n }, error => error);\n });\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,QAAQ,QAAQ,WAAW;AACpC,OAAO,KAAKC,cAAc,MAAM,sBAAsB;AAGtD,SAASC,qBAAqB,QAAQ,qDAAqD;AAkB3F,MAAMC,eAAe,GAAG;EACtBC,oBAAoB,EAAE,KAAK;EAC3BC,QAAQ,EAAE,KAAK;EACfC,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAMC,mBAAmB,CAAsB;EAE7CC,UAAU,GAAG;IAClB,OAAOP,cAAc,CAACQ,gBAAgB,CAACN,eAAe,CAAC,CAACO,IAAI,CAAEC,QAAa,IAAK;MAC9E,OAAOZ,QAAQ,CAACa,EAAE,KAAK,KAAK,GAAGD,QAAQ,CAACE,IAAI,GAAGF,QAAQ,CAACG,GAAG;IAC7D,CAAC,CAAC;EACJ;EAEOC,MAAM,CAACC,MAAuB,EAA6B;IAChEA,MAAM,CAACC,SAAS,GAAGjB,QAAQ,CAACgB,MAAM,CAACC,SAAS,EAAE,GAAG,CAAC,GAAGD,MAAM,CAACC,SAAS,GAAGD,MAAM,CAACC,SAAS,GAAG,GAAG;IAC9F,IAAIA,SAAS,GAAGD,MAAM,CAACC,SAAS,GAAG,0BAA0B;IAC7D,IAAID,MAAM,CAACE,YAAY,EAAE;MACvBD,SAAS,GAAGA,SAAS,GAAG,gBAAgB,GAAGD,MAAM,CAACE,YAAY;IAChE;IACA,OAAOC,OAAO,CAACC,OAAO,EAAE,CAACV,IAAI,CAAC,MAAM;MAClC,IAAI,CAACM,MAAM,CAACK,SAAS,IAAIL,MAAM,CAACM,MAAM,EAAE;QACtC,OAAO,IAAI,CAACd,UAAU,EAAE;MAC1B,CAAC,MAAM;QACL,OAAOQ,MAAM,CAACK,SAAS;MACzB;IACF,CAAC,CAAC,CAACX,IAAI,CAAEa,QAAgB,IAAK;MAC5B,IAAI,CAACA,QAAQ,EAAE;QACb;MACF;MACA,MAAMC,QAA4B,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,EAAE,IAAI,EAAE;MACpE,MAAMC,GAAQ,GAAGH,QAAQ,CAACC,KAAK,CAAC,GAAG,CAAC;MACpC,MAAMG,aAAqB,GAAG,GAAG,GAAGD,GAAG,CAACA,GAAG,CAACE,MAAM,GAAG,CAAC,CAAC;MACvD,IAAIC,OAAO,GAAG;QACZhB,GAAG,EAAES,QAAQ;QACbjB,IAAI,EAAEJ,qBAAqB,CAAC0B,aAAa,CAAC;QAC1CG,IAAI,EAAEP;MACR,CAAC;MAED,IAAIQ,QAAQ,GAAG,IAAIC,QAAQ,EAAE;MAC7BD,QAAQ,CAACE,MAAM,CAAC,OAAO,EAAEJ,OAAO,CAAC;MACjC,OAAOhC,KAAK,CAAC;QACXqC,GAAG,EAAElB,SAAS;QACdmB,MAAM,EAAE,MAAM;QACdC,OAAO,EAAE;UACP,cAAc,EAAE;QAClB,CAAC;QACDC,IAAI,EAAEN;MACR,CAAC,CAAC,CAACtB,IAAI,CACJC,QAAQ,IAAK;QACd,OAAOA,QAAQ,CAAC2B,IAAI,CAAC,CAAC,CAAC;MACzB,CAAC,EAAEC,KAAK,IAAIA,KAAK,CAAC;IACpB,CAAC,CAAC;EACJ;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["registry","Map","OperationProvider","set","name","operation","get"],"sources":["operation.provider.ts"],"sourcesContent":["export interface Operation {\n invoke(params?: Input, onSuccess?: Function, onError?: Function, operation?: string): Promise<Output>;\n}\n\nexport interface Input {\n}\n\nexport interface Output {\n}\n\nconst registry = new Map<string, Operation>();\n\nexport class OperationProvider {\n\n public set(name: string, operation: Operation) {\n return registry.set(name, operation);\n }\n\n public get(name: string) {\n return registry.get(name);\n }\n}\n\nexport default new OperationProvider();"],"mappings":"AAUA,MAAMA,QAAQ,GAAG,IAAIC,GAAG,EAAqB;AAE7C,OAAO,MAAMC,iBAAiB,CAAC;EAEtBC,GAAG,CAACC,IAAY,EAAEC,SAAoB,EAAE;IAC7C,OAAOL,QAAQ,CAACG,GAAG,CAACC,IAAI,EAAEC,SAAS,CAAC;EACtC;EAEOC,GAAG,CAACF,IAAY,EAAE;IACvB,OAAOJ,QAAQ,CAACM,GAAG,CAACF,IAAI,CAAC;EAC3B;AACF;AAEA,eAAe,IAAIF,iBAAiB,EAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ScanOperation","constructor","scan","invoke","params","scanBarcode"],"sources":["scan.operation.tsx"],"sourcesContent":["import { ScanService } from \"@wavemaker/app-rn-runtime/core/device/scan-service\";\nimport { Operation, Input, Output } from '../operation.provider';\n\nexport interface ScanInput extends Input {\n barcodeFormat: string;\n}\n\nexport interface ScanOutput extends Output {\n text : string;\n format : string;\n cancelled : boolean;\n}\n\nexport class ScanOperation implements Operation {\n\n constructor(private scan: ScanService) {}\n\n public invoke(params: ScanInput): Promise<ScanOutput> {\n return this.scan.scanBarcode(params);\n }\n}\n"],"mappings":"AAaA,OAAO,MAAMA,aAAa,CAAsB;EAE9CC,WAAW,CAASC,IAAiB,EAAE;IAAA,KAAnBA,IAAiB,GAAjBA,IAAiB;EAAG;EAEjCC,MAAM,CAACC,MAAiB,EAAuB;IACpD,OAAO,IAAI,CAACF,IAAI,CAACG,WAAW,CAACD,MAAM,CAAC;EACtC;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseVariable","VariableEvents","OperationProvider","DeviceVariable","constructor","config","dataSet","isList","invoke","params","onSuccess","onError","operation","get","service","Promise","resolve","notify","BEFORE_INVOKE","then","data","SUCCESS","err","ERROR","AFTER_INVOKE"],"sources":["device-variable.ts"],"sourcesContent":["import { BaseVariable, VariableConfig, VariableEvents } from '@wavemaker/app-rn-runtime/variables/base-variable';\nimport OperationProvider, { Input, Output } from './device/operation.provider';\n\nexport interface DeviceVariableConfig extends VariableConfig {\n service: string;\n operation: string;\n}\n\nexport class DeviceVariable extends BaseVariable<DeviceVariableConfig> {\n\n constructor(config: DeviceVariableConfig) {\n super(config);\n this.dataSet = this.isList ? [] : {};\n }\n\n invoke(params: any, onSuccess?: Function, onError?: Function): Promise<DeviceVariable> {\n super.invoke(params, onSuccess, onError);\n const operation = OperationProvider.get(`${this.config.service}.${this.config.operation}`);\n if (!operation) {\n return Promise.resolve(this);\n }\n this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);\n\n return operation.invoke(this.params as Input, onSuccess, onError)\n .then((data: Output) => {\n this.dataSet = data;\n this.config.onSuccess && this.config.onSuccess(this, this.dataSet);\n this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);\n }, (err: Output) => {\n this.config.onError && this.config.onError(this, null);\n this.notify(VariableEvents.ERROR, [this, this.dataSet]);\n }).then(() => {\n this.notify(VariableEvents.AFTER_INVOKE, [this, this.dataSet]);\n return this;\n });\n }\n}\n"],"mappings":"AAAA,SAASA,YAAY,EAAkBC,cAAc,QAAQ,mDAAmD;AAChH,OAAOC,iBAAiB,MAAyB,6BAA6B;AAO9E,OAAO,MAAMC,cAAc,SAASH,YAAY,CAAuB;EAErEI,WAAW,CAACC,MAA4B,EAAE;IACxC,KAAK,CAACA,MAAM,CAAC;IACb,IAAI,CAACC,OAAO,GAAG,IAAI,CAACC,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;EACtC;EAEAC,MAAM,CAACC,MAAW,EAAEC,SAAoB,EAAEC,OAAkB,EAA2B;IAC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 +0,0 @@
|
|
|
1
|
-
import axios from 'axios';
|
|
2
|
-
import { WS_CONSTANTS } from '@wavemaker/app-rn-runtime/variables/utils/variable.constants';
|
|
3
|
-
import { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';
|
|
4
|
-
import injector from '@wavemaker/app-rn-runtime/core/injector';
|
|
5
|
-
export class HttpService {
|
|
6
|
-
send(options, variable) {
|
|
7
|
-
var _variable$serviceInfo;
|
|
8
|
-
const serviceInfo = variable.serviceInfo;
|
|
9
|
-
let headers = options.headers,
|
|
10
|
-
requestBody = options.data,
|
|
11
|
-
url = options.url;
|
|
12
|
-
variable.cancelTokenSource = axios.CancelToken.source();
|
|
13
|
-
if (!isWebPreviewMode() && ((variable === null || variable === void 0 ? void 0 : (_variable$serviceInfo = variable.serviceInfo) === null || _variable$serviceInfo === void 0 ? void 0 : _variable$serviceInfo.consumes) || [])[0] === 'multipart/form-data') {
|
|
14
|
-
headers['Content-Type'] = 'multipart/form-data';
|
|
15
|
-
let formData = new FormData();
|
|
16
|
-
(variable.serviceInfo.parameters || []).forEach(p => {
|
|
17
|
-
const v = variable.params[p.name];
|
|
18
|
-
if (v) {
|
|
19
|
-
formData.append(p.name, variable.params[p.name]);
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
requestBody = formData;
|
|
23
|
-
}
|
|
24
|
-
const methodType = serviceInfo.methodType;
|
|
25
|
-
const isNonDataMethod = WS_CONSTANTS.NON_DATA_AXIOS_METHODS.indexOf(methodType.toUpperCase()) > -1;
|
|
26
|
-
const axiosConfig = {
|
|
27
|
-
headers: headers,
|
|
28
|
-
cancelToken: variable.cancelTokenSource.token,
|
|
29
|
-
withCredentials: true
|
|
30
|
-
};
|
|
31
|
-
return new Promise((resolve, reject) => {
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
axios[methodType].apply(variable, isNonDataMethod ? [url, axiosConfig] : [url, requestBody || {}, axiosConfig]).then(result => {
|
|
34
|
-
resolve(result);
|
|
35
|
-
}, err => {
|
|
36
|
-
reject(err);
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
sendCall(requestParams, variable) {
|
|
41
|
-
return new Promise((resolve, reject) => {
|
|
42
|
-
this.send(requestParams, variable).then(response => {
|
|
43
|
-
resolve(response);
|
|
44
|
-
}, err => {
|
|
45
|
-
reject(err);
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
getLocale() {
|
|
50
|
-
const appConfig = injector.get('APP_CONFIG');
|
|
51
|
-
return appConfig.appLocale.messages;
|
|
52
|
-
}
|
|
53
|
-
cancel(variable) {
|
|
54
|
-
variable.cancelTokenSource.cancel();
|
|
55
|
-
}
|
|
56
|
-
uploadFile(url, data, variable, options) {
|
|
57
|
-
const requestParams = {
|
|
58
|
-
url: url,
|
|
59
|
-
data: data
|
|
60
|
-
};
|
|
61
|
-
return new Promise((resolve, reject) => {
|
|
62
|
-
return this.send(requestParams, variable).then(event => {
|
|
63
|
-
resolve(event.data);
|
|
64
|
-
}, error => {
|
|
65
|
-
reject(error);
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
const httpService = new HttpService();
|
|
71
|
-
export default httpService;
|
|
72
|
-
//# sourceMappingURL=http.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["axios","WS_CONSTANTS","isWebPreviewMode","injector","HttpService","send","options","variable","serviceInfo","headers","requestBody","data","url","cancelTokenSource","CancelToken","source","consumes","formData","FormData","parameters","forEach","p","v","params","name","append","methodType","isNonDataMethod","NON_DATA_AXIOS_METHODS","indexOf","toUpperCase","axiosConfig","cancelToken","token","withCredentials","Promise","resolve","reject","apply","then","result","err","sendCall","requestParams","response","getLocale","appConfig","get","appLocale","messages","cancel","uploadFile","event","error","httpService"],"sources":["http.service.ts"],"sourcesContent":["import axios from 'axios';\nimport { HttpClientService } from '@wavemaker/variables/src/types/http-client.service';\nimport { WS_CONSTANTS } from '@wavemaker/app-rn-runtime/variables/utils/variable.constants';\nimport { get, isEmpty } from 'lodash';\nimport AppConfig from '@wavemaker/app-rn-runtime/core/AppConfig';\nimport { isWebPreviewMode } from '@wavemaker/app-rn-runtime/core/utils';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\n\nexport class HttpService implements HttpClientService {\n\n send(options: any, variable: any) {\n const serviceInfo = variable.serviceInfo;\n let headers: any = options.headers,\n requestBody: any = options.data,\n url: string = options.url;\n variable.cancelTokenSource = axios.CancelToken.source();\n if (!isWebPreviewMode() && (variable?.serviceInfo?.consumes||[])[0] === 'multipart/form-data') {\n headers['Content-Type'] = 'multipart/form-data';\n let formData = new FormData();\n (variable.serviceInfo.parameters||[]).forEach((p: any) => {\n const v = variable.params[p.name];\n if (v) {\n formData.append(p.name, variable.params[p.name]);\n }\n });\n requestBody = formData;\n }\n const methodType: string = serviceInfo.methodType;\n const isNonDataMethod: boolean = WS_CONSTANTS.NON_DATA_AXIOS_METHODS.indexOf(methodType.toUpperCase()) > -1;\n const axiosConfig = {\n headers: headers,\n cancelToken: variable.cancelTokenSource.token,\n withCredentials: true\n };\n return new Promise((resolve, reject) => {\n // @ts-ignore\n axios[methodType].apply(variable, ( isNonDataMethod ? [url, axiosConfig] : [url, requestBody || {}, axiosConfig]))\n .then((result: any) => {\n resolve(result);\n }, (err: any) => {\n reject(err);\n })\n })\n }\n\n sendCall(requestParams: any, variable: any) {\n return new Promise((resolve, reject) => {\n this.send(requestParams, variable).then((response: any) => {\n resolve(response);\n }, (err: any) => {\n reject(err);\n });\n });\n }\n\n getLocale() {\n const appConfig = injector.get<AppConfig>('APP_CONFIG');\n return appConfig.appLocale.messages;\n }\n\n cancel(variable: any) {\n variable.cancelTokenSource.cancel();\n }\n\n uploadFile(url: any, data: any, variable: any, options?: any) {\n const requestParams = {\n url: url,\n data: data\n }\n return new Promise((resolve, reject) => {\n return this.send(requestParams, variable).then((event: any) => {\n resolve(event.data);\n }, (error: any) => {\n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E;EACrC;EAEAC,UAAU,CAACvC,GAAQ,EAAED,IAAS,EAAEJ,QAAa,EAAED,OAAa,EAAE;IAC5D,MAAMqC,aAAa,GAAG;MACpB/B,GAAG,EAAEA,GAAG;MACRD,IAAI,EAAEA;IACR,CAAC;IACD,OAAO,IAAIwB,OAAO,CAAC,CAACC,OAAO,EAAEC,MAAM,KAAK;MACtC,OAAO,IAAI,CAAChC,IAAI,CAACsC,aAAa,EAAEpC,QAAQ,CAAC,CAACgC,IAAI,CAAEa,KAAU,IAAK;QAC7DhB,OAAO,CAACgB,KAAK,CAACzC,IAAI,CAAC;MACrB,CAAC,EAAG0C,KAAU,IAAK;QACjBhB,MAAM,CAACgB,KAAK,CAAC;MACf,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ;AACF;AAEA,MAAMC,WAAW,GAAG,IAAIlD,WAAW,EAAE;AAErC,eAAekD,WAAW"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
|
-
import { VariableEvents } from './base-variable';
|
|
5
|
-
import { ModelVariable as _ModelVariable } from '@wavemaker/variables/src/model/variable/model-variable';
|
|
6
|
-
export class ModelVariable extends _ModelVariable {
|
|
7
|
-
constructor(config) {
|
|
8
|
-
const variable = {
|
|
9
|
-
name: config.name,
|
|
10
|
-
dataSet: config.paramProvider(),
|
|
11
|
-
isList: config.isList
|
|
12
|
-
};
|
|
13
|
-
super(variable);
|
|
14
|
-
_defineProperty(this, "config", void 0);
|
|
15
|
-
this.config = config;
|
|
16
|
-
this.invoke();
|
|
17
|
-
}
|
|
18
|
-
invoke(params, onSuccess, onError) {
|
|
19
|
-
let result;
|
|
20
|
-
this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);
|
|
21
|
-
try {
|
|
22
|
-
result = super.execute(params, () => {});
|
|
23
|
-
this.config.onSuccess && this.config.onSuccess(this, this.dataSet);
|
|
24
|
-
onSuccess && onSuccess(this, this.dataSet);
|
|
25
|
-
this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);
|
|
26
|
-
} catch (error) {
|
|
27
|
-
this.config.onError && this.config.onError(this, this.dataSet);
|
|
28
|
-
onError && onError(this, this.dataSet);
|
|
29
|
-
this.notify(VariableEvents.ERROR, [this, this.dataSet]);
|
|
30
|
-
}
|
|
31
|
-
this.notify(VariableEvents.AFTER_INVOKE, [this, this.dataSet]);
|
|
32
|
-
return result;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=model-variable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["VariableEvents","ModelVariable","_ModelVariable","constructor","config","variable","name","dataSet","paramProvider","isList","invoke","params","onSuccess","onError","result","notify","BEFORE_INVOKE","execute","SUCCESS","error","ERROR","AFTER_INVOKE"],"sources":["model-variable.ts"],"sourcesContent":["import { BaseVariable, VariableConfig, VariableEvents } from './base-variable';\nimport { ModelVariable as _ModelVariable } from '@wavemaker/variables/src/model/variable/model-variable';\n\nexport class ModelVariable extends _ModelVariable {\n config: any;\n\n constructor(config: VariableConfig) {\n const variable = {\n name: config.name,\n dataSet: config.paramProvider(),\n isList: config.isList\n }\n super(variable);\n this.config = config;\n this.invoke();\n }\n\n invoke(params?: {}, onSuccess?: Function, onError?: Function) {\n let result;\n this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);\n try{\n result = super.execute(params, ()=>{});\n this.config.onSuccess && this.config.onSuccess(this, this.dataSet);\n onSuccess && onSuccess(this, this.dataSet);\n this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);\n }\n catch(error){\n this.config.onError && this.config.onError(this, this.dataSet);\n onError && onError(this, this.dataSet);\n this.notify(VariableEvents.ERROR, [this, this.dataSet]);\n }\n\n this.notify(VariableEvents.AFTER_INVOKE, [this, this.dataSet]);\n return result;\n }\n}\n"],"mappings":";;;AAAA,SAAuCA,cAAc,QAAQ,iBAAiB;AAC9E,SAASC,aAAa,IAAIC,cAAc,QAAQ,wDAAwD;AAExG,OAAO,MAAMD,aAAa,SAASC,cAAc,CAAC;EAGhDC,WAAW,CAACC,MAAsB,EAAE;IAClC,MAAMC,QAAQ,GAAG;MACfC,IAAI,EAAEF,MAAM,CAACE,IAAI;MACjBC,OAAO,EAAEH,MAAM,CAACI,aAAa,EAAE;MAC/BC,MAAM,EAAEL,MAAM,CAACK;IACjB,CAAC;IACD,KAAK,CAACJ,QAAQ,CAAC;IAAC;IAChB,IAAI,CAACD,MAAM,GAAGA,MAAM;IACpB,IAAI,CAACM,MAAM,EAAE;EACf;EAEAA,MAAM,CAACC,MAAW,EAAEC,SAAoB,EAAEC,OAAkB,EAAE;IAC5D,IAAIC,MAAM;IACV,IAAI,CAACC,MAAM,CAACf,cAAc,CAACgB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,CAACT,OAAO,CAAC,CAAC;IAC/D,IAAG;MACDO,MAAM,GAAG,KAAK,CAACG,OAAO,CAACN,MAAM,EAAE,MAAI,CAAC,CAAC,CAAC;MACtC,IAAI,CAACP,MAAM,CAACQ,SAAS,IAAI,IAAI,CAACR,MAAM,CAACQ,SAAS,CAAC,IAAI,EAAE,IAAI,CAACL,OAAO,CAAC;MAClEK,SAAS,IAAIA,SAAS,CAAC,IAAI,EAAE,IAAI,CAACL,OAAO,CAAC;MAC1C,IAAI,CAACQ,MAAM,CAACf,cAAc,CAACkB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAACX,OAAO,CAAC,CAAC;IAC3D,CAAC,CACD,OAAMY,KAAK,EAAC;MACV,IAAI,CAACf,MAAM,CAACS,OAAO,IAAI,IAAI,CAACT,MAAM,CAACS,OAAO,CAAC,IAAI,EAAE,IAAI,CAACN,OAAO,CAAC;MAC9DM,OAAO,IAAIA,OAAO,CAAC,IAAI,EAAE,IAAI,CAACN,OAAO,CAAC;MACtC,IAAI,CAACQ,MAAM,CAACf,cAAc,CAACoB,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,CAACb,OAAO,CAAC,CAAC;IACzD;IAEA,IAAI,CAACQ,MAAM,CAACf,cAAc,CAACqB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,CAACd,OAAO,CAAC,CAAC;IAC9D,OAAOO,MAAM;EACf;AACF"}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
|
-
import { VariableEvents } from './base-variable';
|
|
5
|
-
import { isEqual } from 'lodash';
|
|
6
|
-
import { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';
|
|
7
|
-
import { ServiceVariable as _ServiceVariable } from '@wavemaker/variables/src/model/variable/service-variable';
|
|
8
|
-
import httpService from '@wavemaker/app-rn-runtime/variables/http.service';
|
|
9
|
-
import injector from '@wavemaker/app-rn-runtime/core/injector';
|
|
10
|
-
var _ServiceVariableEvents;
|
|
11
|
-
(function (_ServiceVariableEvents) {
|
|
12
|
-
_ServiceVariableEvents["BEFORE_INVOKE"] = "beforeInvoke";
|
|
13
|
-
})(_ServiceVariableEvents || (_ServiceVariableEvents = {}));
|
|
14
|
-
export class ServiceVariable extends _ServiceVariable {
|
|
15
|
-
constructor(config) {
|
|
16
|
-
const variableConfig = {
|
|
17
|
-
name: config.name,
|
|
18
|
-
dataSet: config.paramProvider(),
|
|
19
|
-
dataBinding: {},
|
|
20
|
-
isList: config.isList,
|
|
21
|
-
service: config.service,
|
|
22
|
-
serviceType: config.serviceType,
|
|
23
|
-
maxResults: config.maxResults,
|
|
24
|
-
_context: config._context,
|
|
25
|
-
operation: config.operation,
|
|
26
|
-
operationId: config.operationId,
|
|
27
|
-
serviceInfo: config.getServiceInfo(),
|
|
28
|
-
httpClientService: httpService,
|
|
29
|
-
onSuccess: (context, args) => {
|
|
30
|
-
return config.onSuccess && config.onSuccess(args.variable, args.data, args.options);
|
|
31
|
-
},
|
|
32
|
-
onError: (context, args) => {
|
|
33
|
-
return config.onError && config.onError(args.variable, args.data, args.options);
|
|
34
|
-
},
|
|
35
|
-
onCanUpdate: (context, args) => {
|
|
36
|
-
return config.onCanUpdate && config.onCanUpdate(args.variable, args.data, args.options);
|
|
37
|
-
},
|
|
38
|
-
onBeforeUpdate: (context, args) => {
|
|
39
|
-
return config.onBeforeUpdate && config.onBeforeUpdate(args.variable, args.inputData, args.options);
|
|
40
|
-
},
|
|
41
|
-
onResult: (context, args) => {
|
|
42
|
-
return config.onResult && config.onResult(args.variable, args.data, args.options);
|
|
43
|
-
},
|
|
44
|
-
onBeforeDatasetReady: (context, args) => {
|
|
45
|
-
return config.onBeforeDatasetReady && config.onBeforeDatasetReady(args.variable, args.data, args.options);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
super(variableConfig);
|
|
49
|
-
this.config = config;
|
|
50
|
-
_defineProperty(this, "cancelTokenSource", void 0);
|
|
51
|
-
_defineProperty(this, "params", {});
|
|
52
|
-
_defineProperty(this, "appConfig", injector.get('APP_CONFIG'));
|
|
53
|
-
this.subscribe(VariableEvents.AFTER_INVOKE, () => {
|
|
54
|
-
this.dataBinding = {};
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
invokeOnParamChange() {
|
|
58
|
-
const last = this.params;
|
|
59
|
-
const latest = this.config.paramProvider();
|
|
60
|
-
if (!isEqual(last, latest)) {
|
|
61
|
-
this.invoke(latest);
|
|
62
|
-
}
|
|
63
|
-
return Promise.resolve(this);
|
|
64
|
-
}
|
|
65
|
-
doNext(currentPage) {
|
|
66
|
-
// this.invoke({
|
|
67
|
-
// page: currentPage
|
|
68
|
-
// });
|
|
69
|
-
return Promise.reject(this);
|
|
70
|
-
}
|
|
71
|
-
onDataUpdated() {
|
|
72
|
-
this.appConfig.refresh(false);
|
|
73
|
-
}
|
|
74
|
-
invoke(options, onSuccess, onError) {
|
|
75
|
-
this.params = this.config.paramProvider();
|
|
76
|
-
this.params = deepCopy({}, this.params, this.dataBinding);
|
|
77
|
-
if (options) {
|
|
78
|
-
this.params = deepCopy({}, this.params, options.inputFields ? options.inputFields : options);
|
|
79
|
-
}
|
|
80
|
-
options = options || {};
|
|
81
|
-
options.inputFields = this.params;
|
|
82
|
-
// service definitions data depends on whether user logged in or not
|
|
83
|
-
// Try to get the latest definition
|
|
84
|
-
this.serviceInfo = this.config.getServiceInfo();
|
|
85
|
-
if (!this.serviceInfo) {
|
|
86
|
-
console.error(`Service Info is missing for (${this.name}) variable.`);
|
|
87
|
-
}
|
|
88
|
-
return super.invoke(options, onSuccess, onError);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// cancel($file?: any) {
|
|
92
|
-
// // CHecks if there is any pending requests in the queue
|
|
93
|
-
// if ($queue.requestsQueue.has(this)) {
|
|
94
|
-
// // If the request is a File upload request then modify the elements associated with file upload
|
|
95
|
-
// // else unsubscribe from the observable on the variable.
|
|
96
|
-
// if (false) {
|
|
97
|
-
// // $file._uploadProgress.unsubscribe();
|
|
98
|
-
// // $file.status = 'abort';
|
|
99
|
-
// // this.totalFilesCount--;
|
|
100
|
-
// // initiateCallback(VARIABLE_CONSTANTS.EVENT.ABORT, variable, $file);
|
|
101
|
-
// // if (!this.isFileUploadInProgress(variable.dataBinding) && this.totalFilesCount === 0) {
|
|
102
|
-
// // $queue.process(variable);
|
|
103
|
-
// // // notify inflight variable
|
|
104
|
-
// // this.notifyInflight(variable, false);
|
|
105
|
-
// // }
|
|
106
|
-
// } else {
|
|
107
|
-
// if (true) {
|
|
108
|
-
// this.cancelTokenSource.cancel();
|
|
109
|
-
// $queue.process(this);
|
|
110
|
-
// // notify inflight variable
|
|
111
|
-
// //this.notifyInflight(variable, false);
|
|
112
|
-
// }
|
|
113
|
-
// }
|
|
114
|
-
// }
|
|
115
|
-
// }
|
|
116
|
-
|
|
117
|
-
// setInput(key: any, val?: any, options?: any) {
|
|
118
|
-
// this.params = merge({}, this.config.paramProvider(), _setInput(this.params, key, val, options));
|
|
119
|
-
// return this.params;
|
|
120
|
-
// }
|
|
121
|
-
}
|
|
122
|
-
//# sourceMappingURL=service-variable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["VariableEvents","isEqual","deepCopy","ServiceVariable","_ServiceVariable","httpService","injector","_ServiceVariableEvents","constructor","config","variableConfig","name","dataSet","paramProvider","dataBinding","isList","service","serviceType","maxResults","_context","operation","operationId","serviceInfo","getServiceInfo","httpClientService","onSuccess","context","args","variable","data","options","onError","onCanUpdate","onBeforeUpdate","inputData","onResult","onBeforeDatasetReady","get","subscribe","AFTER_INVOKE","invokeOnParamChange","last","params","latest","invoke","Promise","resolve","doNext","currentPage","reject","onDataUpdated","appConfig","refresh","inputFields","console","error"],"sources":["service-variable.ts"],"sourcesContent":["import { VariableConfig, VariableEvents } from './base-variable';\nimport { isEqual, assignIn } from 'lodash';\nimport AppConfig from '@wavemaker/app-rn-runtime/core/AppConfig';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { ServiceVariable as _ServiceVariable } from '@wavemaker/variables/src/model/variable/service-variable';\nimport httpService from '@wavemaker/app-rn-runtime/variables/http.service';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\n\nexport interface ServiceVariableConfig extends VariableConfig {\n baseUrl: string;\n maxResults: number;\n _context: any;\n serviceType: string;\n onCanUpdate: any;\n onBeforeUpdate: any;\n onResult: any;\n onBeforeDatasetReady: any;\n inFlightBehavior: string;\n getServiceInfo: Function;\n}\n\nenum _ServiceVariableEvents {\n BEFORE_INVOKE = 'beforeInvoke'\n}\nexport type ServiceVariableEvents = _ServiceVariableEvents | VariableEvents;\n\nexport class ServiceVariable extends _ServiceVariable {\n private cancelTokenSource: any;\n params: any = {};\n public appConfig = injector.get<AppConfig>('APP_CONFIG');\n\n constructor(public config: ServiceVariableConfig) {\n const variableConfig = {\n name: config.name,\n dataSet: config.paramProvider(),\n dataBinding: {},\n isList: config.isList,\n service: config.service,\n serviceType: config.serviceType,\n maxResults: config.maxResults,\n _context: config._context,\n operation: config.operation,\n operationId: config.operationId,\n serviceInfo: config.getServiceInfo(),\n httpClientService: httpService,\n onSuccess: (context: any, args: any) => {\n return config.onSuccess && config.onSuccess(args.variable, args.data, args.options);\n },\n onError: (context: any, args: any) => {\n return config.onError && config.onError(args.variable, args.data, args.options);\n },\n onCanUpdate: (context: any, args: any) => {\n return config.onCanUpdate && config.onCanUpdate(args.variable, args.data, args.options);\n },\n onBeforeUpdate: (context: any, args: any) => {\n return config.onBeforeUpdate && config.onBeforeUpdate(args.variable, args.inputData, args.options);\n },\n onResult: (context: any, args: any) => {\n return config.onResult && config.onResult(args.variable, args.data, args.options);\n },\n onBeforeDatasetReady: (context: any, args: any) => {\n return config.onBeforeDatasetReady && config.onBeforeDatasetReady(args.variable, args.data, args.options);\n }\n }\n super(variableConfig);\n this.subscribe(VariableEvents.AFTER_INVOKE, () => {\n this.dataBinding = {};\n });\n }\n\n invokeOnParamChange() {\n const last = this.params;\n const latest = this.config.paramProvider();\n if (!isEqual(last, latest)) {\n this.invoke(latest);\n }\n return Promise.resolve(this);\n }\n\n public doNext(currentPage: number) {\n // this.invoke({\n // page: currentPage\n // });\n return Promise.reject(this);\n }\n\n onDataUpdated() {\n this.appConfig.refresh(false);\n }\n\n invoke(options? : any, onSuccess?: Function, onError?: Function) {\n this.params = this.config.paramProvider();\n this.params = deepCopy({} as any, this.params, this.dataBinding);\n if (options) {\n this.params = deepCopy({} as any, this.params, options.inputFields ? options.inputFields : options);\n }\n options = options || {};\n options.inputFields = this.params;\n // service definitions data depends on whether user logged in or not\n // Try to get the latest definition\n this.serviceInfo = this.config.getServiceInfo();\n if (!this.serviceInfo) {\n console.error(`Service Info is missing for (${this.name}) variable.`)\n }\n return super.invoke(options, onSuccess, onError);\n }\n\n // cancel($file?: any) {\n // // CHecks if there is any pending requests in the queue\n // if ($queue.requestsQueue.has(this)) {\n // // If the request is a File upload request then modify the elements associated with file upload\n // // else unsubscribe from the observable on the variable.\n // if (false) {\n // // $file._uploadProgress.unsubscribe();\n // // $file.status = 'abort';\n // // this.totalFilesCount--;\n // // initiateCallback(VARIABLE_CONSTANTS.EVENT.ABORT, variable, $file);\n // // if (!this.isFileUploadInProgress(variable.dataBinding) && this.totalFilesCount === 0) {\n // // $queue.process(variable);\n // // // notify inflight variable\n // // this.notifyInflight(variable, false);\n // // }\n // } else {\n // if (true) {\n // this.cancelTokenSource.cancel();\n // $queue.process(this);\n // // notify inflight variable\n // //this.notifyInflight(variable, false);\n // }\n // }\n // }\n // }\n\n // setInput(key: any, val?: any, options?: any) {\n // this.params = merge({}, this.config.paramProvider(), _setInput(this.params, key, val, options));\n // return this.params;\n // }\n}\n"],"mappings":";;;AAAA,SAAyBA,cAAc,QAAQ,iBAAiB;AAChE,SAASC,OAAO,QAAkB,QAAQ;AAE1C,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,SAASC,eAAe,IAAIC,gBAAgB,QAAQ,0DAA0D;AAC9G,OAAOC,WAAW,MAAM,kDAAkD;AAC1E,O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,0 @@
|
|
|
1
|
-
{"version":3,"names":["isUndefined","isBoolean","isEqual","isObject","isArray","get","set","findIndex","DatasetUtil","isValidDataset","dataSet","isList","getValue","key","index","setValue","value","getTargetNode","options","parentIndex","undefined","path","getItem","setItem","i","innerArray","innerElemindex","getChildDetails","targetNode","addItem","length","splice","removeItem","exactMatch","getValidDataset","getCount","Object","keys"],"sources":["dataset-util.ts"],"sourcesContent":["import { isUndefined, isBoolean, isEqual, isObject, isArray, get, set, findIndex } from \"lodash\";\nexport default class DatasetUtil {\n\n static isValidDataset(dataSet: any, isList?: boolean) {\n if (!dataSet || (isList && !isArray(dataSet))) {\n return false;\n }\n return dataSet;\n }\n\n static getValue(dataSet: any, key: any, index: any, isList?: boolean) {\n index = index || 0;\n return isList ? dataSet[index][key] : dataSet[key];\n }\n\n static setValue(dataSet: any, key: any, value: any, isList?: boolean) {\n if (key && !isList) {\n dataSet[key] = value;\n }\n return dataSet;\n }\n\n private static getTargetNode(dataSet: any, options: any) {\n dataSet = options.parentIndex !== undefined ? dataSet[options.parentIndex] : dataSet;\n return get(dataSet, options.path);\n }\n\n static getItem(dataSet: any, index: any, isList?: boolean) {\n return isList ? dataSet[index] : dataSet;\n }\n\n static setItem(dataSet: any, i: any, value: any, options?: any) {\n let index;\n if (isUndefined(i) || !options.isList) {\n return dataSet;\n }\n\n if (isObject(i)) {\n index = findIndex(dataSet, i);\n } else {\n index = i;\n }\n\n if (options.path) {\n const innerArray = DatasetUtil.getTargetNode(dataSet, options);\n const innerElemindex = findIndex(innerArray, i);\n if (innerElemindex > -1) {\n innerArray[innerElemindex] = value;\n }\n } else {\n if (index > -1) {\n dataSet[index] = value;\n }\n }\n\n return dataSet;\n }\n\n /**\n * This method is to get target node options like path, parentIndex and isList\n * Example: if we have parent dataset as object and we are performing operations on inner list then we have to set isList as true.\n * So finding the target node type and updating the isList option.\n */\n static getChildDetails (dataSet: any, options: any, isList: boolean) {\n let parentIndex, path;\n if (options && options.path) {\n path = options.path;\n let targetNode;\n if (isList) {\n parentIndex = options.parentIndex || 0;\n targetNode = get(dataSet[parentIndex], options.path);\n } else {\n targetNode = get(dataSet, options.path);\n }\n isList = targetNode ? isArray(targetNode) ? true : false : true;\n }\n return {path, isList, parentIndex};\n }\n\n static addItem(dataSet: any, value: any, index: any, options?: any) {\n if (isUndefined(value) || !options.isList) {\n return dataSet;\n }\n\n if (options.path) {\n const innerArray = DatasetUtil.getTargetNode(dataSet, options);\n if (innerArray) {\n // check for index sanity\n index = index !== undefined ? index : innerArray.length;\n innerArray.splice(index, 0, value);\n } else {\n options.parentIndex !== undefined ? set(dataSet[options.parentIndex], options.path, [value]) : set(dataSet, options.path, [value]);\n }\n\n } else {\n index = index !== undefined ? index : dataSet.length;\n dataSet.splice(index, 0, value);\n }\n\n return dataSet;\n }\n\n /**\n *\n * @param dataSet\n * @param i, can be index value of the object/element in array\n * or\n * the whole object which needs to be removed\n * @param exactMatch\n * @returns {any}\n */\n static removeItem(dataSet: any, i: any, options: any) {\n let index, exactMatch;\n i = i !== undefined ? i : dataSet.length - 1;\n\n if (isBoolean(options)) {\n exactMatch = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n exactMatch = options.exactMatch;\n }\n\n if (isObject(i)) {\n if (options.path) {\n const innerArray = DatasetUtil.getTargetNode(dataSet, options);\n const innerElemindex = findIndex(innerArray, i);\n if (innerElemindex > -1 && (!exactMatch || (exactMatch && isEqual(innerArray[innerElemindex], i)))) {\n innerArray.splice(innerElemindex, 1);\n }\n } else {\n index = findIndex(dataSet, i);\n // When exactMatch property is set to true delete only when every property values are same*/\n if (index > -1 && (!exactMatch || (exactMatch && isEqual(dataSet[index], i)))) {\n dataSet.splice(index, 1);\n }\n }\n } else {\n dataSet.splice(i, 1);\n }\n return dataSet;\n }\n\n static getValidDataset(isList?: boolean) {\n return isList ? [] : {};\n }\n\n static getCount(dataSet: any, isList?: boolean) {\n return isList ? dataSet.length : Object.keys(dataSet).length;\n }\n}\n"],"mappings":"AAAA,SAASA,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AM,CAACC,IAAI,CAAC3B,OAAO,CAAC,CAACoB,MAAM;EAC9D;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["InflightQueue","Map","addToQueue","variable","param2","requestsQueue","has","get","push","processes","resolve","reject","active","set","rejectProcess","process","clear","delete","nextProcess","length","config","inFlightBehavior","i","splice","submit","Promise","$queue"],"sources":["inflight-queue.ts"],"sourcesContent":["class InflightQueue {\n requestsQueue = new Map();\n\n /**\n * pushes the process against a variable in its queue\n * @param variable\n * @param {{resolve: (value?: any) => void; reject: (reason?: any) => void}} param2\n * the resolve callback will be called on\n */\n private addToQueue(variable: any, param2: {resolve: (value?: (any)) => void; reject: (reason?: any) => void}) {\n if (this.requestsQueue.has(variable)) {\n this.requestsQueue.get(variable).push(param2);\n } else {\n const processes = [];\n processes.push({resolve: param2.resolve, reject: param2.reject, active: false});\n this.requestsQueue.set(variable, processes);\n }\n }\n\n /**\n * Calls the reject method against the passed process\n * @param process\n */\n private rejectProcess(process: any) {\n process.reject('PROCESS_REJECTED_IN_QUEUE');\n }\n\n /**\n * clears the queue against a variable\n * @param variable\n */\n public clear(variable: any) {\n this.requestsQueue.delete(variable);\n }\n\n /**\n * executes the n/w calls for a specified variable pushed in its respective queue (pushed while it was inFlight)\n * @param variable\n */\n process(variable: any) {\n const processes: [any] = this.requestsQueue.get(variable);\n let nextProcess;\n\n // process request queue for the variable only if it is not empty\n if (!processes || !processes.length) {\n this.clear(variable);\n return;\n }\n\n // If only one item in queue\n if (processes.length === 1) {\n nextProcess = processes[0];\n if (nextProcess.active) {\n this.clear(variable);\n } else {\n nextProcess.active = true;\n nextProcess.resolve();\n }\n return;\n }\n\n switch (variable.config.inFlightBehavior) {\n case 'executeLast':\n for (let i = 0; i < processes.length - 2; i++) {\n this.rejectProcess(processes[i]);\n }\n processes.splice(0, processes.length - 1);\n this.process(variable);\n break;\n case 'executeAll':\n nextProcess = processes.splice(0, 1)[0];\n if (nextProcess.active) {\n nextProcess = processes.splice(0, 1)[0];\n }\n nextProcess.active = true;\n nextProcess.resolve();\n break;\n default:\n for (let i = 0; i < processes.length - 1; i++) {\n this.rejectProcess(processes[i]);\n }\n this.clear(variable);\n break;\n }\n }\n\n /**\n * initializes the queue against a variable and makes the first process call\n * If already initialized and a process in queue is in progress, the queue is not processed.\n * To process the next item in the queue, the process method has to be called from the caller.\n * @param variable\n * @returns {Promise<any>}\n */\n submit(variable: any) {\n return new Promise((resolve, reject) => {\n this.addToQueue(variable, {resolve: resolve, reject: reject});\n\n if (this.requestsQueue.get(variable).length === 1) {\n this.process(variable);\n }\n });\n }\n}\n\nexport const $queue = new InflightQueue();\n"],"mappings":";;;AAAA,MAAMA,aAAa,CAAC;EAAA;IAAA,uCACF,IAAIC,GAAG,EAAE;EAAA;EAEzB;AACF;AACA;AACA;AACA;AACA;EACUC,UAAU,CAACC,QAAa,EAAEC,MAA0E,EAAE;IAC5G,IAAI,IAAI,CAACC,aAAa,CAACC,GAAG,CAACH,QAAQ,CAAC,EAAE;MACpC,IAAI,CAACE,aAAa,CAACE,GAAG,CAACJ,QAAQ,CAAC,CAACK,IAAI,CAACJ,MAAM,CAAC;IAC/C,CAAC,MAAM;MACL,MAAMK,SAAS,GAAG,EAAE;MACpBA,SAAS,CAACD,IAAI,CAAC;QAACE,OAAO,EAAEN,MAAM,CAACM,OAAO;QAAEC,MAAM,EAAEP,MAAM,CAACO,MAAM;QAAEC,MAAM,EAAE;MAAK,CAAC,CAAC;MAC/E,IAAI,CAACP,aAAa,CAACQ,GAAG,CAACV,QAAQ,EAAEM,SAAS,CAAC;IAC7C;EACF;;EAEA;AACF;AACA;AACA;EACUK,aAAa,CAACC,OAAY,EAAE;IAClCA,OAAO,CAACJ,MAAM,CAAC,2BAA2B,CAAC;EAC7C;;EAEA;AACF;AACA;AACA;EACSK,KAAK,CAACb,QAAa,EAAE;IAC1B,IAAI,CAACE,aAAa,CAACY,MAAM,CAACd,QAAQ,CAAC;EACrC;;EAEA;AACF;AACA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KAAK,IAAIY,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGb,SAAS,CAACU,MAAM,GAAG,CAAC,EAAEG,CAAC,EAAE,EAAE;UAC7C,IAAI,CAACR,aAAa,CAACL,SAAS,CAACa,CAAC,CAAC,CAAC;QAClC;QACA,IAAI,CAACN,KAAK,CAACb,QAAQ,CAAC;QACpB;IAAM;EAEZ;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEqB,MAAM,CAACrB,QAAa,EAAE;IACpB,OAAO,IAAIsB,OAAO,CAAC,CAACf,OAAO,EAAEC,MAAM,KAAK;MACtC,IAAI,CAACT,UAAU,CAACC,QAAQ,EAAE;QAACO,OAAO,EAAEA,OAAO;QAAEC,MAAM,EAAEA;MAAM,CAAC,CAAC;MAE7D,IAAI,IAAI,CAACN,aAAa,CAACE,GAAG,CAACJ,QAAQ,CAAC,CAACgB,MAAM,KAAK,CAAC,EAAE;QACjD,IAAI,CAACJ,OAAO,CAACZ,QAAQ,CAAC;MACxB;IACF,CAAC,CAAC;EACJ;AACF;AAEA,OAAO,MAAMuB,MAAM,GAAG,IAAI1B,aAAa,EAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["forEach","get","isNumber","isObject","isEqual","omit","keys","_setInput","targetObj","key","val","options","lastKey","paramObj","type","parseInt","indexOf","split","pop","findValueOf","join","paramVal","paramKey","obj","create","parts","skipProcessing","part","length","subParts","match","subPart","shift","push","undefined","_key","tempObj","getValidJSON","value","content","parsedIntValue","isNaN","JSON","parse","e","parseErrors","errors","errMsg","error","errorDetails","i","parseError","errorObj","message","replace","parameters","template","map","regEx","isPageable","pageable","first","last","number","numberOfElements","size","sort","totalElements","totalPages","paginatedObj"],"sources":["variable.utils.ts"],"sourcesContent":["import { forEach, get, isNumber, isObject, isEqual, omit, keys } from \"lodash\";\n/**\n * sets the value against passed key on the \"inputFields\" object in the variable\n * @param targetObj: the object in which the key, value is to be set\n * @param variable\n * @param key: can be:\n * - a string e.g. \"username\"\n * - an object, e.g. {\"username\": \"john\", \"ssn\": \"11111\"}\n * @param val\n * - if key is string, the value against it (for that data type)\n * - if key is object, not required\n * @param options\n * @returns {any}\n */\n\nexport const _setInput = (targetObj: any, key: any, val: any, options?: any) => {\n targetObj = targetObj || {};\n let keys,\n lastKey,\n paramObj: any = {};\n\n // content type check\n if (isObject(options)) {\n // @ts-ignore\n switch (options.type) {\n case 'file':\n //val = getBlob(val, options.contentType);\n break;\n case 'number':\n val = isNumber(val) ? val : parseInt(val, 10);\n break;\n }\n }\n\n if (isObject(key)) {\n // check if the passed parameter is an object itself\n paramObj = key;\n } else if (key.indexOf('.') > -1) {\n // check for '.' in key e.g. 'employee.department'\n keys = key.split('.');\n lastKey = keys.pop();\n // Finding the object based on the key\n targetObj = findValueOf(targetObj, keys.join('.'), true);\n key = lastKey;\n paramObj[key] = val;\n } else {\n paramObj[key] = val;\n }\n\n forEach(paramObj, function (paramVal, paramKey) {\n targetObj[paramKey] = paramVal;\n });\n return targetObj;\n}\n\n/*\n * Util method to find the value of a key in the object\n * if key not found and create is true, an object is created against that node\n * Examples:\n * var a = {\n * b: {\n * c : {\n * d: 'test'\n * }\n * }\n * }\n * Utils.findValue(a, 'b.c.d') --> 'test'\n * Utils.findValue(a, 'b.c') --> {d: 'test'}\n * Utils.findValue(a, 'e') --> undefined\n * Utils.findValue(a, 'e', true) --> {} and a will become:\n * {\n * b: {\n * c : {\n * d: 'test'\n * }\n * },\n * e: {\n * }\n * }\n */\nexport const findValueOf = (obj: any, key: any, create?: any) => {\n\n if (!obj || !key) {\n return;\n }\n\n if (!create) {\n return get(obj, key);\n }\n\n const parts = key.split('.'),\n keys: any = [];\n\n let skipProcessing;\n\n // @ts-ignore\n parts.forEach((part: any) => {\n if (!parts.length) { // if the part of a key is not valid, skip the processing.\n skipProcessing = true;\n return false;\n }\n\n const subParts = part.match(/\\w+/g);\n let subPart;\n\n while (subParts.length) {\n subPart = subParts.shift();\n keys.push({ 'key': subPart, 'value': subParts.length ? [] : {} }); // determine whether to create an array or an object\n }\n });\n\n if (skipProcessing) {\n return undefined;\n }\n\n keys.forEach((_key: any) => {\n let tempObj = obj[_key.key];\n if (!isObject(tempObj)) {\n tempObj = getValidJSON(tempObj);\n if (!tempObj) {\n tempObj = _key.value;\n }\n }\n obj[_key.key] = tempObj;\n obj = tempObj;\n });\n\n return obj;\n};\n\nexport const getValidJSON = (content: any) => {\n if (!content) {\n return undefined;\n }\n try {\n const parsedIntValue = parseInt(content, 10);\n /*obtaining json from editor content string*/\n return isObject(content) || !isNaN(parsedIntValue) ? content : JSON.parse(content);\n } catch (e) {\n /*terminating execution if new variable object is not valid json.*/\n return undefined;\n }\n}\n\nexport const parseErrors = (errors: any) => {\n let errMsg = '';\n if (errors && errors.error && errors.error.length) {\n errors.error.forEach((errorDetails: any, i: Number) => {\n errMsg += parseError(errorDetails) + (i > 0 ? '\\n' : '');\n });\n }\n return errMsg;\n}\n\nexport const parseError = (errorObj: any) => {\n let errMsg;\n errMsg = errorObj.message ? replace(errorObj.message, errorObj.parameters, true) : ((errorObj.parameters && errorObj.parameters[0]) || '');\n return errMsg;\n}\n\n/*\n * Util method to replace patterns in string with object keys or array values\n * Examples:\n * Utils.replace('Hello, ${first} ${last} !', {first: 'wavemaker', last: 'ng'}) --> Hello, wavemaker ng\n * Utils.replace('Hello, ${0} ${1} !', ['wavemaker','ng']) --> Hello, wavemaker ng\n * Examples if parseError is true:\n * Utils.replace('Hello, {0} {1} !', ['wavemaker','ng']) --> Hello, wavemaker ng\n */\nexport const replace = (template: any, map: any, parseError?: boolean) => {\n let regEx = /\\$\\{([^\\}]+)\\}/g;\n if (!template) {\n return;\n }\n if (parseError) {\n regEx = /\\{([^\\}]+)\\}/g;\n }\n\n return template.replace(regEx, function (match: any, key: any) {\n return get(map, key);\n });\n};\n\n/*Function to check whether the specified object is a pageable object or not.*/\nexport const isPageable = (obj: any): boolean => {\n const pageable = {\n content: [],\n first: true,\n last: true,\n number: 0,\n numberOfElements: 10,\n size: 20,\n sort: null,\n totalElements: 10,\n totalPages: 1\n };\n // paginated object may or may not contain 'empty' property. In either case, Pageable should return as true.\n const paginatedObj = omit(obj, 'empty');\n return isEqual(keys(pageable), keys(paginatedObj).sort());\n};\n"],"mappings":"AAAA,SAASA,OAAO,EAAEC,GAAG,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,IAAI,EAAEC,IAAI,QAAQ,QAAQ;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMC,SAAS,GAAG,CAACC,SAAc,EAAEC,GAAQ,EAAEC,GAAQ,EAAEC,OAAa,KAAK;EAC9EH,SAAS,GAAGA,SAAS,IAAI,CAAC,CAAC;EAC3B,IAAIF,IAAI;IACNM,OAAO;IACPC,QAAa,GAAG,CAAC,CAAC;;EAEpB;EACA,IAAIV,QAAQ,CAACQ,OAAO,CAAC,EAAE;IACrB;IACA,QAAQA,OAAO,CAACG,IAAI;MAClB,KAAK,MAAM;QACT;QACA;MACF,KAAK,QAAQ;QACXJ,GAAG,GAAGR,QAAQ,CAACQ,GAAG,CAAC,GAAGA,GAAG,GAAGK,QAAQ,CAACL,GAAG,EAAE,EAAE,CAAC;QAC7C;IAAM;EAEZ;EAEA,IAAIP,QAAQ,CAACM,GAAG,CAAC,EAAE;IACjB;IACAI,QAAQ,GAAGJ,GAAG;EAChB,CAAC,MAAM,IAAIA,GAAG,CAACO,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE;IAChC;IACAV,IAAI,GAAGG,GAAG,CAACQ,KAAK,CAAC,GAAG,CAAC;IACrBL,OAAO,GAAGN,IAAI,CAACY,GAAG,EAAE;IACpB;IACAV,SAAS,GAAGW,WAAW,CAACX,SAAS,EAAEF,IAAI,CAACc,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC;IACxDX,GAAG,GAAGG,OAAO;IACbC,QAAQ,CAACJ,GAAG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}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js
RENAMED
|
File without changes
|
{app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js
RENAMED
|
File without changes
|
{app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|