@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,76 +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 React from 'react';
|
|
5
|
-
import { View, Text } from 'react-native';
|
|
6
|
-
import { debounce, isNumber, isNil } from 'lodash';
|
|
7
|
-
import Slider from '@react-native-community/slider';
|
|
8
|
-
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
9
|
-
import WmSliderProps from './slider.props';
|
|
10
|
-
import { DEFAULT_CLASS } from './slider.styles';
|
|
11
|
-
export class WmSliderState extends BaseComponentState {}
|
|
12
|
-
export default class WmSlider extends BaseComponent {
|
|
13
|
-
constructor(props) {
|
|
14
|
-
super(props, DEFAULT_CLASS, new WmSliderProps());
|
|
15
|
-
_defineProperty(this, "valueBeforeSlide", 0);
|
|
16
|
-
_defineProperty(this, "onChange", debounce(value => {
|
|
17
|
-
if (this.state.props.datavalue !== value) {
|
|
18
|
-
this.updateState({
|
|
19
|
-
props: {
|
|
20
|
-
datavalue: value
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
this.props.onFieldChange && this.props.onFieldChange('datavalue', value, this.state.props.datavalue);
|
|
24
|
-
}
|
|
25
|
-
}, 200));
|
|
26
|
-
_defineProperty(this, "onBeforeSlide", () => this.valueBeforeSlide = this.props.datavalue);
|
|
27
|
-
_defineProperty(this, "onAfterSlide", () => this.valueBeforeSlide = 0);
|
|
28
|
-
}
|
|
29
|
-
getDataValue() {
|
|
30
|
-
if (isNil(this.props.datavalue)) {
|
|
31
|
-
return this.state.props.minvalue + (this.state.props.maxvalue - this.state.props.minvalue) / 2;
|
|
32
|
-
}
|
|
33
|
-
return Math.min(Math.max(this.props.datavalue, this.state.props.minvalue), this.state.props.maxvalue);
|
|
34
|
-
}
|
|
35
|
-
onPropertyChange(name, $new, $old) {
|
|
36
|
-
switch (name) {
|
|
37
|
-
case 'datavalue':
|
|
38
|
-
if (isNumber($new) && isNumber($old)) {
|
|
39
|
-
this.invokeEventCallback('onChange', [null, this, $new, $old]);
|
|
40
|
-
}
|
|
41
|
-
case 'maxvalue':
|
|
42
|
-
case 'minvalue':
|
|
43
|
-
this.setProp('datavalue', this.getDataValue() || 0);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
renderWidget(props) {
|
|
47
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
48
|
-
style: this.styles.root
|
|
49
|
-
}, this._background, /*#__PURE__*/React.createElement(View, {
|
|
50
|
-
style: {
|
|
51
|
-
flexDirection: 'row',
|
|
52
|
-
justifyContent: 'space-between'
|
|
53
|
-
}
|
|
54
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
55
|
-
style: [this.styles.text, this.styles.minimumValue]
|
|
56
|
-
}, props.minvalue), /*#__PURE__*/React.createElement(Text, {
|
|
57
|
-
style: [this.styles.text, this.styles.value]
|
|
58
|
-
}, props.datavalue), /*#__PURE__*/React.createElement(Text, {
|
|
59
|
-
style: [this.styles.text, this.styles.maximumValue]
|
|
60
|
-
}, props.maxvalue)), /*#__PURE__*/React.createElement(Slider, {
|
|
61
|
-
style: props.readonly || props.disabled ? this.styles.disabled : {},
|
|
62
|
-
step: props.step,
|
|
63
|
-
value: this.valueBeforeSlide || props.datavalue || 0,
|
|
64
|
-
disabled: props.readonly,
|
|
65
|
-
minimumValue: props.minvalue,
|
|
66
|
-
maximumValue: props.maxvalue,
|
|
67
|
-
onValueChange: this.onChange,
|
|
68
|
-
thumbTintColor: this.styles.thumb.backgroundColor,
|
|
69
|
-
onTouchStart: this.onBeforeSlide,
|
|
70
|
-
onTouchEnd: this.onAfterSlide,
|
|
71
|
-
minimumTrackTintColor: this.styles.minimumTrack.backgroundColor,
|
|
72
|
-
maximumTrackTintColor: this.styles.maximumTrack.backgroundColor
|
|
73
|
-
}));
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=slider.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","debounce","isNumber","isNil","Slider","BaseComponent","BaseComponentState","WmSliderProps","DEFAULT_CLASS","WmSliderState","WmSlider","constructor","props","value","state","datavalue","updateState","onFieldChange","valueBeforeSlide","getDataValue","minvalue","maxvalue","Math","min","max","onPropertyChange","name","$new","$old","invokeEventCallback","setProp","renderWidget","styles","root","_background","flexDirection","justifyContent","text","minimumValue","maximumValue","readonly","disabled","step","onChange","thumb","backgroundColor","onBeforeSlide","onAfterSlide","minimumTrack","maximumTrack"],"sources":["slider.component.tsx"],"sourcesContent":["import React from 'react';\nimport {View, Text } from 'react-native';\nimport { debounce, isNumber, isNil } from 'lodash';\nimport Slider from '@react-native-community/slider';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmSliderProps from './slider.props';\nimport { DEFAULT_CLASS, WmSliderStyles } from './slider.styles';\n\nexport class WmSliderState extends BaseComponentState<WmSliderProps> {}\n\nexport default class WmSlider extends BaseComponent<WmSliderProps, WmSliderState, WmSliderStyles> {\n valueBeforeSlide: number = 0;\n\n constructor(props: WmSliderProps) {\n super(props, DEFAULT_CLASS, new WmSliderProps());\n }\n\n getDataValue() {\n if (isNil(this.props.datavalue)) {\n return this.state.props.minvalue + (this.state.props.maxvalue - this.state.props.minvalue)/2;\n }\n return Math.min(Math.max(this.props.datavalue, this.state.props.minvalue), this.state.props.maxvalue);\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'datavalue':\n if (isNumber($new) && isNumber($old)) {\n this.invokeEventCallback('onChange', [null, this, $new, $old]);\n }\n case 'maxvalue':\n case 'minvalue': \n this.setProp('datavalue', this.getDataValue() || 0)\n }\n }\n\n onChange = debounce((value: number) => {\n if (this.state.props.datavalue !== value) {\n this.updateState({\n props : {\n datavalue: value\n }\n } as WmSliderState);\n this.props.onFieldChange &&\n this.props.onFieldChange(\n 'datavalue',\n value,\n this.state.props.datavalue\n );\n }\n }, 200);\n\n onBeforeSlide = () => this.valueBeforeSlide = this.props.datavalue;\n\n onAfterSlide = () => this.valueBeforeSlide = 0;\n\n renderWidget(props: WmSliderProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <View style={{flexDirection:'row', justifyContent:'space-between'}}>\n <Text style={[this.styles.text, this.styles.minimumValue]}>{props.minvalue}</Text>\n <Text style={[this.styles.text, this.styles.value]}>{props.datavalue}</Text>\n <Text style={[this.styles.text, this.styles.maximumValue]}>{props.maxvalue}</Text>\n </View>\n <Slider\n style={props.readonly || props.disabled ? this.styles.disabled : {}}\n step={props.step}\n value={this.valueBeforeSlide || props.datavalue || 0}\n disabled={props.readonly}\n minimumValue={props.minvalue}\n maximumValue={props.maxvalue}\n onValueChange={this.onChange}\n thumbTintColor={this.styles.thumb.backgroundColor as string}\n onTouchStart={this.onBeforeSlide}\n onTouchEnd={this.onAfterSlide}\n minimumTrackTintColor={this.styles.minimumTrack.backgroundColor as string}\n maximumTrackTintColor={this.styles.maximumTrack.backgroundColor as string}\n />\n </View>);\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACxC,SAASC,QAAQ,EAAEC,QAAQ,EAA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IAAE,GAAE3B,KAAK,CAACS,QAAQ,CAAQ,CAC7E,eACP,oBAAC,MAAM;MACL,KAAK,EAAET,KAAK,CAAC4B,QAAQ,IAAI5B,KAAK,CAAC6B,QAAQ,GAAG,IAAI,CAACT,MAAM,CAACS,QAAQ,GAAG,CAAC,CAAE;MACpE,IAAI,EAAE7B,KAAK,CAAC8B,IAAK;MACjB,KAAK,EAAE,IAAI,CAACxB,gBAAgB,IAAIN,KAAK,CAACG,SAAS,IAAI,CAAE;MACrD,QAAQ,EAAEH,KAAK,CAAC4B,QAAS;MACzB,YAAY,EAAE5B,KAAK,CAACQ,QAAS;MAC7B,YAAY,EAAER,KAAK,CAACS,QAAS;MAC7B,aAAa,EAAE,IAAI,CAACsB,QAAS;MAC7B,cAAc,EAAE,IAAI,CAACX,MAAM,CAACY,KAAK,CAACC,eAA0B;MAC5D,YAAY,EAAE,IAAI,CAACC,aAAc;MACjC,UAAU,EAAE,IAAI,CAACC,YAAa;MAC9B,qBAAqB,EAAE,IAAI,CAACf,MAAM,CAACgB,YAAY,CAACH,eAA0B;MAC1E,qBAAqB,EAAE,IAAI,CAACb,MAAM,CAACiB,YAAY,CAACJ;IAA0B,EAC1E,CACG;EACT;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseProps","WmSliderProps"],"sources":["slider.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmSliderProps extends BaseProps {\n datavalue: any;\n minvalue: number = 0;\n maxvalue: number = 100;\n step: number = 1;\n readonly = false;\n onFieldChange: any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAA;IAAA;IAAA;IAAA,kCAE9B,CAAC;IAAA,kCACD,GAAG;IAAA,8BACP,CAAC;IAAA,kCACL,KAAK;IAAA;EAAA;AAEpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","View","isEqual","find","WmSwitchProps","DEFAULT_CLASS","WmIcon","BaseDatasetComponent","BaseDatasetState","Tappable","WmSwitchState","WmSwitch","constructor","props","onChange","value","validate","state","datafield","selectedItem","dataItems","item","key","dataObject","updateState","datavalue","isDefault","invokeEvent","invokeEventCallback","undefined","proxy","onTap","event","getItemKey","renderChild","index","btnClass","length","displayText","displayexp","displayfield","isSelected","disabled","bind","styles","button","selectedButton","iconclass","loadingIcon","icon","text","color","renderWidget","items","root","map"],"sources":["switch.component.tsx"],"sourcesContent":["import React from 'react';\nimport {Text, View} from \"react-native\";\nimport { isEqual, find } from 'lodash';\n\nimport WmSwitchProps from './switch.props';\nimport { DEFAULT_CLASS, WmSwitchStyles } from './switch.styles';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport { BaseDatasetComponent, BaseDatasetState } from '../basedataset/basedataset.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\n\nexport class WmSwitchState extends BaseDatasetState<WmSwitchProps> {}\n\nexport default class WmSwitch extends BaseDatasetComponent<WmSwitchProps, WmSwitchState, WmSwitchStyles> {\n constructor(props: WmSwitchProps) {\n super(props, DEFAULT_CLASS, new WmSwitchProps());\n }\n\n onChange(value: any) {\n if (!value) {\n return;\n }\n this.validate(value);\n if (this.state.props.datafield === 'All Fields') {\n const selectedItem = find(this.state.dataItems, (item) => isEqual(item.key, value));\n value = selectedItem && selectedItem.dataObject;\n }\n // @ts-ignore\n this.updateState({props: {datavalue: value}, isDefault: false},\n () => {\n if (!this.props.invokeEvent) {\n this.invokeEventCallback('onChange', [undefined, this.proxy, value, this.state.props.datavalue])\n }\n });\n }\n\n onTap(event: any, item: any) {\n const value = this.state.props.datafield === 'All Fields' ? this.getItemKey(item.datafield) : item.datafield;\n this.onChange(value);\n this.invokeEventCallback('onTap', [ event, this.proxy ]);\n }\n\n renderChild(item: any, index: any) {\n let btnClass = 'button';\n const props = this.state.props;\n if(index === 0) {\n btnClass = 'firstButton';\n } else if (index+1 === this.state.dataItems.length) {\n btnClass = 'lastButton';\n }\n const displayText = item.displayexp || item.displayfield;\n const isSelected = this.state.props.datafield === 'All Fields' ? isEqual(props.datavalue, item.datafield) : this.state.props.datavalue === item.datafield;\n return (\n <Tappable \n onTap={this.state.props.disabled ? undefined : this.onTap.bind(this, null, item)}\n styles={[\n this.styles.button,\n this.styles[btnClass],\n isSelected ? this.styles.selectedButton : null]}\n key={item.key}>\n {this.state.props.iconclass ?\n (<WmIcon styles={this.styles.loadingIcon}\n iconclass={item.icon}\n caption={displayText}></WmIcon>)\n : (<View>\n <Text \n style={[this.styles.text, \n {color: isSelected ? this.styles.selectedButton.color : this.styles.button.color }]}>\n {displayText}\n </Text>\n </View>)}\n </Tappable>\n );\n };\n\n renderWidget(props: WmSwitchProps) {\n const items = this.state.dataItems;\n return (<View style={this.styles.root}>\n {items && items.length ?\n items.map((item: any, index: any) => this.renderChild(item, index)): null}\n </View>);\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,IAAI,EAAEC,IAAI,QAAO,cAAc;AACvC,SAASC,OAAO,EAAEC,IAAI,QAAQ,QAAQ;AAEtC,OAAOC,aAAa,MAAM,gBAAgB;AAC1C,SAASC,aAAa,QAAwB,iBAAiB;AAC/D,OAAOC,MAAM,MAAM,gEAAgE;AACnF,SAASC,oBAAoB,EAAEC,gBAAgB,QAAQ,sCAAsC;AAC7F,SAASC,QAAQ,QAAQ,mDAAmD;AAE5E,OAAO,MAAMC,aAAa,SAASF,gBAAgB,CAAgB;AAEnE,eAAe,MAAMG,QAAQ,SAASJ,oBAAoB,CAA+C;EACvGK,WAAW,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,EAAER,aAAa,EAAE,IAAID,aAAa,EAAE,CAAC;EAClD;EAEAU,QAAQ,CAACC,KAAU,EAAE;IACnB,IAAI,CAACA,KAAK,EAAE;MACV;IACF;IACA,IAA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M,CAAC;IAAE,GACrFb,WAAW,CACP,CACD,CACL;EAEf;EAEAc,YAAY,CAACvC,KAAoB,EAAE;IACjC,MAAMwC,KAAK,GAAG,IAAI,CAACpC,KAAK,CAACG,SAAS;IAClC,oBAAQ,oBAAC,IAAI;MAAC,KAAK,EAAE,IAAI,CAACwB,MAAM,CAACU;IAAK,GACnCD,KAAK,IAAIA,KAAK,CAAChB,MAAM,GACpBgB,KAAK,CAACE,GAAG,CAAC,CAAClC,IAAS,EAAEc,KAAU,KAAK,IAAI,CAACD,WAAW,CAACb,IAAI,EAAEc,KAAK,CAAC,CAAC,GAAE,IAAI,CACtE;EACT;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseDatasetProps","WmSwitchProps"],"sources":["switch.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport BaseDatasetProps from '../basedataset/basedataset.props';\n\nexport default class WmSwitchProps extends BaseDatasetProps {\n dataset: any = 'yes, no, maybe';\n dataItems: any;\n invokeEvent?: Function;\n}\n"],"mappings":";;;AACA,OAAOA,gBAAgB,MAAM,kCAAkC;AAE/D,eAAe,MAAMC,aAAa,SAASD,gBAAgB,CAAC;EAAA;IAAA;IAAA,iCAC3C,gBAAgB;IAAA;IAAA;EAAA;AAGjC"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
-
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
-
export const DEFAULT_CLASS = 'app-switch';
|
|
4
|
-
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
-
const defaultStyles = defineStyles({
|
|
6
|
-
root: {
|
|
7
|
-
height: 38,
|
|
8
|
-
flexDirection: 'row'
|
|
9
|
-
},
|
|
10
|
-
text: {
|
|
11
|
-
fontWeight: '500',
|
|
12
|
-
fontSize: 16,
|
|
13
|
-
textTransform: 'capitalize'
|
|
14
|
-
},
|
|
15
|
-
loadingIcon: {
|
|
16
|
-
root: {
|
|
17
|
-
flex: 1,
|
|
18
|
-
alignSelf: 'center',
|
|
19
|
-
justifyContent: 'center',
|
|
20
|
-
fontSize: 16
|
|
21
|
-
},
|
|
22
|
-
text: {
|
|
23
|
-
color: themeVariables.listSubTitleColor
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
button: {
|
|
27
|
-
backgroundColor: themeVariables.switchBgColor,
|
|
28
|
-
color: themeVariables.switchTextColor,
|
|
29
|
-
fontSize: 16,
|
|
30
|
-
minWidth: 64,
|
|
31
|
-
borderRadius: 0,
|
|
32
|
-
borderColor: themeVariables.switchBorderColor,
|
|
33
|
-
borderWidth: 1,
|
|
34
|
-
borderRightWidth: 0,
|
|
35
|
-
fontWeight: 'bold',
|
|
36
|
-
justifyContent: 'center',
|
|
37
|
-
alignItems: 'center'
|
|
38
|
-
},
|
|
39
|
-
selectedButton: {
|
|
40
|
-
color: themeVariables.switchActiveTextColor,
|
|
41
|
-
backgroundColor: themeVariables.switchActiveBgColor,
|
|
42
|
-
borderColor: themeVariables.switchActiveBgColor
|
|
43
|
-
},
|
|
44
|
-
firstButton: {
|
|
45
|
-
borderTopLeftRadius: 6,
|
|
46
|
-
borderBottomLeftRadius: 6,
|
|
47
|
-
borderTopRightRadius: 0,
|
|
48
|
-
borderBottomRightRadius: 0
|
|
49
|
-
},
|
|
50
|
-
lastButton: {
|
|
51
|
-
borderTopLeftRadius: 0,
|
|
52
|
-
borderBottomLeftRadius: 0,
|
|
53
|
-
borderTopRightRadius: 6,
|
|
54
|
-
borderBottomRightRadius: 6,
|
|
55
|
-
borderRightWidth: 1
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
59
|
-
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
60
|
-
root: {}
|
|
61
|
-
});
|
|
62
|
-
addStyle(DEFAULT_CLASS + '1', '', {
|
|
63
|
-
firstButton: {
|
|
64
|
-
borderTopLeftRadius: 500,
|
|
65
|
-
borderBottomLeftRadius: 500,
|
|
66
|
-
borderTopRightRadius: 0,
|
|
67
|
-
borderBottomRightRadius: 0
|
|
68
|
-
},
|
|
69
|
-
lastButton: {
|
|
70
|
-
flex: 1,
|
|
71
|
-
borderTopLeftRadius: 0,
|
|
72
|
-
borderBottomLeftRadius: 0,
|
|
73
|
-
borderTopRightRadius: 500,
|
|
74
|
-
borderBottomRightRadius: 500
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
//# sourceMappingURL=switch.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","height","flexDirection","text","fontWeight","fontSize","textTransform","loadingIcon","flex","alignSelf","justifyContent","color","listSubTitleColor","button","backgroundColor","switchBgColor","switchTextColor","minWidth","borderRadius","borderColor","switchBorderColor","borderWidth","borderRightWidth","alignItems","selectedButton","switchActiveTextColor","switchActiveBgColor","firstButton","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius","lastButton"],"sources":["switch.styles.ts"],"sourcesContent":["import BASE_THEME, {AllStyle} from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport {WmIconStyles} from \"@wavemaker/app-rn-runtime/components/basic/icon/icon.styles\";\n\nexport type WmSwitchStyles = BaseStyles & {\n loadingIcon: WmIconStyles,\n button: AllStyle,\n selectedButton: AllStyle,\n firstButton: AllStyle,\n lastButton: AllStyle\n};\n\nexport const DEFAULT_CLASS = 'app-switch';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmSwitchStyles = defineStyles<WmSwitchStyles>({\n root: {\n height: 38,\n flexDirection: 'row'\n },\n text: {\n fontWeight: '500',\n fontSize: 16,\n textTransform: 'capitalize'\n },\n loadingIcon: {\n root: {\n flex: 1,\n alignSelf: 'center',\n justifyContent: 'center',\n fontSize: 16\n },\n text: {\n color: themeVariables.listSubTitleColor\n }\n } as WmIconStyles,\n button: {\n backgroundColor: themeVariables.switchBgColor,\n color: themeVariables.switchTextColor,\n fontSize: 16,\n minWidth: 64,\n borderRadius: 0,\n borderColor: themeVariables.switchBorderColor,\n borderWidth: 1,\n borderRightWidth: 0,\n fontWeight: 'bold',\n justifyContent: 'center',\n alignItems: 'center'\n } as AllStyle,\n selectedButton: {\n color: themeVariables.switchActiveTextColor,\n backgroundColor: themeVariables.switchActiveBgColor,\n borderColor: themeVariables.switchActiveBgColor\n } as AllStyle,\n firstButton: {\n borderTopLeftRadius: 6,\n borderBottomLeftRadius: 6,\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0\n } as AllStyle,\n lastButton: {\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n borderTopRightRadius: 6,\n borderBottomRightRadius: 6,\n borderRightWidth: 1\n } as AllStyle\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root: {}\n });\n addStyle(DEFAULT_CLASS + '1', '', {\n firstButton: {\n borderTopLeftRadius: 500,\n borderBottomLeftRadius: 500,\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0\n } as AllStyle,\n lastButton: {\n flex: 1,\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n borderTopRightRadius: 500,\n borderBottomRightRadius: 500\n } as AllStyle\n } as WmSwitchStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAkB,wCAAwC;AAC3E,SAAqBC,YAAY,QAAQ,+CAA+C;AAWxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAiB;IAC/DM,IAAI,EAAE;MAC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AAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACxCK,IAAI,EAAE,CAAC;EACT,CAAC,CAAC;EACFF,QAAQ,CAACH,aAAa,GAAG,GAAG,EAAE,EAAE,EAAE;IAChCgC,WAAW,EAAE;MACXC,mBAAmB,EAAE,GAAG;MACxBC,sBAAsB,EAAE,GAAG;MAC3BC,oBAAoB,EAAE,CAAC;MACvBC,uBAAuB,EAAE;IAC3B,CAAa;IACbC,UAAU,EAAE;MACVxB,IAAI,EAAE,CAAC;MACPoB,mBAAmB,EAAE,CAAC;MACtBC,sBAAsB,EAAE,CAAC;MACzBC,oBAAoB,EAAE,GAAG;MACzBC,uBAAuB,EAAE;IAC3B;EACF,CAAC,CAAmB;AACtB,CAAC,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Platform, TextInput } from 'react-native';
|
|
4
|
-
import WmTextProps from './text.props';
|
|
5
|
-
import { DEFAULT_CLASS } from './text.styles';
|
|
6
|
-
import { BaseInputComponent, BaseInputState } from "@wavemaker/app-rn-runtime/components/input/baseinput/baseinput.component";
|
|
7
|
-
import { isNull } from 'lodash';
|
|
8
|
-
export class WmTextState extends BaseInputState {}
|
|
9
|
-
export default class WmText extends BaseInputComponent {
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props, DEFAULT_CLASS, new WmTextProps(), new WmTextState());
|
|
12
|
-
}
|
|
13
|
-
renderWidget(props) {
|
|
14
|
-
var _this$state$textValue;
|
|
15
|
-
let opts = {};
|
|
16
|
-
const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';
|
|
17
|
-
opts[valueExpr] = ((_this$state$textValue = this.state.textValue) === null || _this$state$textValue === void 0 ? void 0 : _this$state$textValue.toString()) || '';
|
|
18
|
-
return /*#__PURE__*/React.createElement(TextInput, _extends({
|
|
19
|
-
ref: ref => {
|
|
20
|
-
this.widgetRef = ref;
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
ref.selectionStart = ref.selectionEnd = this.cursor;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}, opts, {
|
|
28
|
-
placeholderTextColor: this.styles.placeholderText.color,
|
|
29
|
-
style: [this.styles.root, this.state.isValid ? {} : this.styles.invalid],
|
|
30
|
-
keyboardType: this.state.keyboardType,
|
|
31
|
-
autoComplete: props.autocomplete ? 'username' : 'off',
|
|
32
|
-
autoFocus: props.autofocus,
|
|
33
|
-
editable: props.disabled || props.readonly ? false : true,
|
|
34
|
-
secureTextEntry: props.type === 'password' ? true : false,
|
|
35
|
-
maxLength: props.maxchars,
|
|
36
|
-
placeholder: props.placeholder,
|
|
37
|
-
onBlur: this.onBlur.bind(this),
|
|
38
|
-
onFocus: this.onFocus.bind(this),
|
|
39
|
-
onKeyPress: this.onKeyPress.bind(this),
|
|
40
|
-
onChangeText: this.onChangeText.bind(this),
|
|
41
|
-
onChange: this.invokeChange.bind(this)
|
|
42
|
-
}));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=text.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Platform","TextInput","WmTextProps","DEFAULT_CLASS","BaseInputComponent","BaseInputState","isNull","WmTextState","WmText","constructor","props","renderWidget","opts","valueExpr","OS","state","textValue","toString","ref","widgetRef","selectionStart","selectionEnd","cursor","styles","placeholderText","color","root","isValid","invalid","keyboardType","autocomplete","autofocus","disabled","readonly","type","maxchars","placeholder","onBlur","bind","onFocus","onKeyPress","onChangeText","invokeChange"],"sources":["text.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Platform, TextInput } from 'react-native';\n\nimport WmTextProps from './text.props';\nimport { DEFAULT_CLASS, WmTextStyles } from './text.styles';\nimport { BaseInputComponent, BaseInputState } from \"@wavemaker/app-rn-runtime/components/input/baseinput/baseinput.component\";\nimport { isNull } from 'lodash';\nimport { createSkeleton } from '../../basic/skeleton/skeleton.component';\n\nexport class WmTextState extends BaseInputState<WmTextProps> {\n}\n\nexport default class WmText extends BaseInputComponent<WmTextProps, WmTextState, WmTextStyles> {\n\n constructor(props: WmTextProps) {\n super(props, DEFAULT_CLASS, new WmTextProps(), new WmTextState());\n }\n\n renderWidget(props: WmTextProps) {\n let opts: any = {};\n const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';\n opts[valueExpr] = this.state.textValue?.toString() || '';\n return (\n <TextInput\n ref={ref => {this.widgetRef = ref;\n // @ts-ignore\n if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {\n // @ts-ignore\n ref.selectionStart = ref.selectionEnd = this.cursor;\n }}}\n {...opts}\n placeholderTextColor={this.styles.placeholderText.color as any}\n style={[this.styles.root, this.state.isValid ? {} : this.styles.invalid]}\n keyboardType={this.state.keyboardType}\n autoComplete={props.autocomplete ? 'username' : 'off'}\n autoFocus={props.autofocus}\n editable={props.disabled || props.readonly ? false : true}\n secureTextEntry={props.type === 'password' ? true : false}\n maxLength={props.maxchars}\n placeholder={props.placeholder}\n onBlur={this.onBlur.bind(this)}\n onFocus={this.onFocus.bind(this)}\n onKeyPress={this.onKeyPress.bind(this)}\n onChangeText={this.onChangeText.bind(this)}\n onChange={this.invokeChange.bind(this)}\n />\n );\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,SAAS,QAAQ,cAAc;AAElD,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAC3D,SAASC,kBAAkB,EAAEC,cAAc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AACqB,SAAU;MAC3B,QAAQ,EAAErB,KAAK,CAACsB,QAAQ,IAAItB,KAAK,CAACuB,QAAQ,GAAG,KAAK,GAAG,IAAK;MAC1D,eAAe,EAAEvB,KAAK,CAACwB,IAAI,KAAK,UAAU,GAAG,IAAI,GAAG,KAAM;MAC1D,SAAS,EAAExB,KAAK,CAACyB,QAAS;MAC1B,WAAW,EAAEzB,KAAK,CAAC0B,WAAY;MAC/B,MAAM,EAAE,IAAI,CAACC,MAAM,CAACC,IAAI,CAAC,IAAI,CAAE;MAC/B,OAAO,EAAE,IAAI,CAACC,OAAO,CAACD,IAAI,CAAC,IAAI,CAAE;MACjC,UAAU,EAAE,IAAI,CAACE,UAAU,CAACF,IAAI,CAAC,IAAI,CAAE;MACvC,YAAY,EAAE,IAAI,CAACG,YAAY,CAACH,IAAI,CAAC,IAAI,CAAE;MAC3C,QAAQ,EAAE,IAAI,CAACI,YAAY,CAACJ,IAAI,CAAC,IAAI;IAAE,GACvC;EAER;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseInputProps","WmTextProps"],"sources":["text.props.ts"],"sourcesContent":["import BaseInputProps from \"@wavemaker/app-rn-runtime/components/input/baseinput/baseinput.props\";\n\nexport default class WmTextProps extends BaseInputProps {\n placeholder: string = 'Enter text';\n}\n"],"mappings":";;;AAAA,OAAOA,cAAc,MAAM,sEAAsE;AAEjG,eAAe,MAAMC,WAAW,SAASD,cAAc,CAAC;EAAA;IAAA;IAAA,qCAChC,YAAY;EAAA;AACpC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
-
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
-
export const DEFAULT_CLASS = 'app-text';
|
|
4
|
-
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
-
const defaultStyles = defineStyles({
|
|
6
|
-
root: {
|
|
7
|
-
padding: 12,
|
|
8
|
-
borderWidth: 1,
|
|
9
|
-
borderStyle: 'solid',
|
|
10
|
-
borderColor: themeVariables.inputBorderColor,
|
|
11
|
-
backgroundColor: themeVariables.inputBackgroundColor,
|
|
12
|
-
borderRadius: 6,
|
|
13
|
-
fontFamily: themeVariables.baseFont
|
|
14
|
-
},
|
|
15
|
-
text: {
|
|
16
|
-
fontSize: 16
|
|
17
|
-
},
|
|
18
|
-
invalid: {
|
|
19
|
-
borderBottomColor: themeVariables.inputInvalidBorderColor
|
|
20
|
-
},
|
|
21
|
-
placeholderText: {
|
|
22
|
-
color: themeVariables.inputPlaceholderColor
|
|
23
|
-
},
|
|
24
|
-
skeleton: {
|
|
25
|
-
root: {
|
|
26
|
-
width: '100%',
|
|
27
|
-
height: 16,
|
|
28
|
-
borderRadius: 4
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
33
|
-
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
34
|
-
root: {
|
|
35
|
-
backgroundColor: themeVariables.inputDisabledBgColor
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
//# sourceMappingURL=text.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","padding","borderWidth","borderStyle","borderColor","inputBorderColor","backgroundColor","inputBackgroundColor","borderRadius","fontFamily","baseFont","text","fontSize","invalid","borderBottomColor","inputInvalidBorderColor","placeholderText","color","inputPlaceholderColor","skeleton","width","height","inputDisabledBgColor"],"sources":["text.styles.ts"],"sourcesContent":["import BASE_THEME, {AllStyle, Theme} from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport {ColorValue} from \"react-native\";\nimport { WmSkeletonStyles } from '../../basic/skeleton/skeleton.styles';\n\nexport type WmTextStyles = BaseStyles & {\n invalid: AllStyle;\n placeholderText: AllStyle;\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-text';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmTextStyles = defineStyles({\n root: {\n padding: 12,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.inputBorderColor,\n backgroundColor: themeVariables.inputBackgroundColor,\n borderRadius: 6,\n fontFamily: themeVariables.baseFont\n },\n text: {\n fontSize: 16\n },\n invalid: {\n borderBottomColor: themeVariables.inputInvalidBorderColor\n },\n placeholderText: {\n color: themeVariables.inputPlaceholderColor\n },\n skeleton: {\n root: {\n width: '100%',\n height: 16,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAyB,wCAAwC;AAClF,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA2B,GAAGL,YAAY,CAAC;IAC7CM,IAAI,EAAE;MACJC,OAAO,EAAE,EAAE;MACXC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAEP,cAAc,CAACQ,gBAAgB;MAC5CC,eAAe,EAAET,cAAc,CAACU,oBAAoB;MACpDC,YAAY,EAAE,CAAC;MACfC,UAAU,EAAEZ,cAAc,CAACa;IAC7B,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE;IACZ,CAAC;IACDC,OAAO,EAAE;MACPC,iBAAiB,EAAEjB,cAAc,CAACkB;IACpC,CAAC;IACDC,eAAe,EAAE;MACjBC,KAAK,EAAEpB,cAAc,CAACqB;IACtB,CAAC;IACDC,QAAQ,EAAE;MACRnB,IAAI,EAAE;QACJoB,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVb,YAAY,EAAE;MAChB;IACF;EACJ,CAAC,CAAC;EAEFV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACtCK,IAAI,EAAG;MACLM,eAAe,EAAET,cAAc,CAACyB;IAClC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Platform, TextInput } from 'react-native';
|
|
4
|
-
import WmTextareaProps from './textarea.props';
|
|
5
|
-
import { DEFAULT_CLASS } from './textarea.styles';
|
|
6
|
-
import { BaseInputComponent, BaseInputState } from '@wavemaker/app-rn-runtime/components/input/baseinput/baseinput.component';
|
|
7
|
-
import { isNull } from 'lodash';
|
|
8
|
-
export class WmTextareaState extends BaseInputState {}
|
|
9
|
-
export default class WmTextarea extends BaseInputComponent {
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props, DEFAULT_CLASS, new WmTextareaProps(), new WmTextareaState());
|
|
12
|
-
}
|
|
13
|
-
renderWidget(props) {
|
|
14
|
-
var _this$state$textValue;
|
|
15
|
-
let opts = {};
|
|
16
|
-
const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';
|
|
17
|
-
opts[valueExpr] = ((_this$state$textValue = this.state.textValue) === null || _this$state$textValue === void 0 ? void 0 : _this$state$textValue.toString()) || '';
|
|
18
|
-
return /*#__PURE__*/React.createElement(TextInput, _extends({
|
|
19
|
-
ref: ref => {
|
|
20
|
-
this.widgetRef = ref;
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
ref.selectionStart = ref.selectionEnd = this.cursor;
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
placeholderTextColor: this.styles.placeholderText.color,
|
|
28
|
-
style: [this.styles.root, this.styles.text, this.state.isValid ? {} : this.styles.invalid],
|
|
29
|
-
multiline: true,
|
|
30
|
-
numberOfLines: 4,
|
|
31
|
-
keyboardType: this.state.keyboardType
|
|
32
|
-
}, opts, {
|
|
33
|
-
autoComplete: props.autocomplete ? 'username' : 'off',
|
|
34
|
-
autoFocus: props.autofocus,
|
|
35
|
-
editable: props.disabled || props.readonly ? false : true,
|
|
36
|
-
maxLength: props.maxchars,
|
|
37
|
-
placeholder: props.placeholder || 'Place your text',
|
|
38
|
-
onBlur: this.onBlur.bind(this),
|
|
39
|
-
onFocus: this.onFocus.bind(this),
|
|
40
|
-
onKeyPress: this.onKeyPress.bind(this),
|
|
41
|
-
onChangeText: this.onChangeText.bind(this),
|
|
42
|
-
onChange: this.invokeChange.bind(this)
|
|
43
|
-
}));
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=textarea.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Platform","TextInput","WmTextareaProps","DEFAULT_CLASS","BaseInputComponent","BaseInputState","isNull","WmTextareaState","WmTextarea","constructor","props","renderWidget","opts","valueExpr","OS","state","textValue","toString","ref","widgetRef","selectionStart","selectionEnd","cursor","styles","placeholderText","color","root","text","isValid","invalid","keyboardType","autocomplete","autofocus","disabled","readonly","maxchars","placeholder","onBlur","bind","onFocus","onKeyPress","onChangeText","invokeChange"],"sources":["textarea.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Platform, TextInput } from 'react-native';\nimport WmTextareaProps from './textarea.props';\nimport { DEFAULT_CLASS, WmTextareaStyles } from './textarea.styles';\nimport {\n BaseInputComponent,\n BaseInputState\n} from '@wavemaker/app-rn-runtime/components/input/baseinput/baseinput.component';\nimport { isNull } from 'lodash';\nimport { createSkeleton } from '../../basic/skeleton/skeleton.component';\n\nexport class WmTextareaState extends BaseInputState<WmTextareaProps> {}\n\nexport default class WmTextarea extends BaseInputComponent<WmTextareaProps, WmTextareaState, WmTextareaStyles> {\n\n constructor(props: WmTextareaProps) {\n super(props, DEFAULT_CLASS, new WmTextareaProps(), new WmTextareaState());\n }\n\n renderWidget(props: WmTextareaProps) {\n let opts: any = {};\n const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';\n opts[valueExpr] = this.state.textValue?.toString() || '';\n return ( <TextInput\n ref={ref => {this.widgetRef = ref;\n // @ts-ignore\n if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {\n // @ts-ignore\n ref.selectionStart = ref.selectionEnd = this.cursor;\n }}}\n placeholderTextColor={this.styles.placeholderText.color as any}\n style={[this.styles.root, this.styles.text, this.state.isValid ? {} : this.styles.invalid]}\n multiline={true}\n numberOfLines={4}\n keyboardType={this.state.keyboardType}\n {...opts}\n autoComplete={props.autocomplete ? 'username' : 'off'}\n autoFocus={props.autofocus}\n editable={props.disabled || props.readonly ? false : true}\n maxLength={props.maxchars}\n placeholder={props.placeholder || 'Place your text'}\n onBlur={this.onBlur.bind(this)}\n onFocus={this.onFocus.bind(this)}\n onKeyPress={this.onKeyPress.bind(this)}\n onChangeText={this.onChangeText.bind(this)}\n onChange={this.invokeChange.bind(this)}\n />);\n }\n}\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,SAAS,QAAQ,cAAc;AAClD,OAAOC,eAAe,MAAM,kBAAkB;AAC9C,SAASC,aAAa,QAA0B,mBAAmB;AACnE,SACEC,kBAAkB,EAClBC,cAAc,QACT,0EAA0E;AACjF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ACqB,YAAY,GAAG,UAAU,GAAG,KAAM;MACtD,SAAS,EAAErB,KAAK,CAACsB,SAAU;MAC3B,QAAQ,EAAEtB,KAAK,CAACuB,QAAQ,IAAIvB,KAAK,CAACwB,QAAQ,GAAG,KAAK,GAAG,IAAK;MAC1D,SAAS,EAAExB,KAAK,CAACyB,QAAS;MAC1B,WAAW,EAAEzB,KAAK,CAAC0B,WAAW,IAAI,iBAAkB;MACpD,MAAM,EAAE,IAAI,CAACC,MAAM,CAACC,IAAI,CAAC,IAAI,CAAE;MAC/B,OAAO,EAAE,IAAI,CAACC,OAAO,CAACD,IAAI,CAAC,IAAI,CAAE;MACjC,UAAU,EAAE,IAAI,CAACE,UAAU,CAACF,IAAI,CAAC,IAAI,CAAE;MACvC,YAAY,EAAE,IAAI,CAACG,YAAY,CAACH,IAAI,CAAC,IAAI,CAAE;MAC3C,QAAQ,EAAE,IAAI,CAACI,YAAY,CAACJ,IAAI,CAAC,IAAI;IAAE,GACvC;EACJ;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseInputProps","WmTextareaProps"],"sources":["textarea.props.ts"],"sourcesContent":["import BaseInputProps from '@wavemaker/app-rn-runtime/components/input/baseinput/baseinput.props';\n\nexport default class WmTextareaProps extends BaseInputProps {\n placeholder: string = 'Place your text';\n}\n"],"mappings":";;;AAAA,OAAOA,cAAc,MAAM,sEAAsE;AAEjG,eAAe,MAAMC,eAAe,SAASD,cAAc,CAAC;EAAA;IAAA;IAAA,qCACpC,iBAAiB;EAAA;AACzC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
-
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
-
export const DEFAULT_CLASS = 'app-textarea';
|
|
4
|
-
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
-
const defaultStyles = defineStyles({
|
|
6
|
-
root: {
|
|
7
|
-
padding: 12,
|
|
8
|
-
borderWidth: 1,
|
|
9
|
-
borderStyle: 'solid',
|
|
10
|
-
borderColor: themeVariables.inputBorderColor,
|
|
11
|
-
backgroundColor: themeVariables.inputBackgroundColor,
|
|
12
|
-
borderRadius: 6,
|
|
13
|
-
fontFamily: themeVariables.baseFont,
|
|
14
|
-
minHeight: 160
|
|
15
|
-
},
|
|
16
|
-
text: {
|
|
17
|
-
fontSize: 16,
|
|
18
|
-
textAlignVertical: 'top'
|
|
19
|
-
},
|
|
20
|
-
invalid: {
|
|
21
|
-
borderBottomColor: 'red'
|
|
22
|
-
},
|
|
23
|
-
placeholderText: {
|
|
24
|
-
color: themeVariables.inputPlaceholderColor
|
|
25
|
-
},
|
|
26
|
-
skeleton: {
|
|
27
|
-
root: {
|
|
28
|
-
width: '100%',
|
|
29
|
-
height: 84,
|
|
30
|
-
borderRadius: 4
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
35
|
-
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
36
|
-
root: {
|
|
37
|
-
backgroundColor: themeVariables.inputDisabledBgColor
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=textarea.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","padding","borderWidth","borderStyle","borderColor","inputBorderColor","backgroundColor","inputBackgroundColor","borderRadius","fontFamily","baseFont","minHeight","text","fontSize","textAlignVertical","invalid","borderBottomColor","placeholderText","color","inputPlaceholderColor","skeleton","width","height","inputDisabledBgColor"],"sources":["textarea.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmTextareaStyles = BaseStyles & {\n invalid: AllStyle;\n placeholderText: AllStyle;\n skeleton: WmSkeletonStyles;\n};\n\nexport const DEFAULT_CLASS = 'app-textarea';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmTextareaStyles = defineStyles({\n root: {\n padding:12,\n borderWidth:1,\n borderStyle: 'solid',\n borderColor: themeVariables.inputBorderColor,\n backgroundColor: themeVariables.inputBackgroundColor,\n borderRadius: 6,\n fontFamily: themeVariables.baseFont,\n minHeight: 160,\n },\n text: {\n fontSize: 16,\n textAlignVertical: 'top'\n },\n invalid: {\n borderBottomColor: 'red'\n },\n placeholderText: {\n color: themeVariables.inputPlaceholderColor\n },\n skeleton: {\n root: {\n width: '100%',\n height: 84,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AASxF,OAAO,MAAMC,aAAa,GAAG,cAAc;AAC3CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA+B,GAAGL,YAAY,CAAC;IACjDM,IAAI,EAAE;MACJC,OAAO,EAAC,EAAE;MACVC,WAAW,EAAC,CAAC;MACbC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAEP,cAAc,CAACQ,gBAAgB;MAC5CC,eAAe,EAAET,cAAc,CAACU,oBAAoB;MACpDC,YAAY,EAAE,CAAC;MACfC,UAAU,EAAEZ,cAAc,CAACa,QAAQ;MACnCC,SAAS,EAAE;IACb,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,iBAAiB,EAAE;IACrB,CAAC;IACDC,OAAO,EAAE;MACPC,iBAAiB,EAAE;IACrB,CAAC;IACDC,eAAe,EAAE;MACfC,KAAK,EAAErB,cAAc,CAACsB;IACxB,CAAC;IACDC,QAAQ,EAAE;MACRpB,IAAI,EAAE;QACJqB,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVd,YAAY,EAAE;MAChB;IACF;EACJ,CAAC,CAAC;EAEFV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACtCK,IAAI,EAAG;MACLM,eAAe,EAAET,cAAc,CAAC0B;IAClC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,88 +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 React from 'react';
|
|
5
|
-
import { View } from 'react-native';
|
|
6
|
-
import { Switch } from 'react-native-paper';
|
|
7
|
-
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
8
|
-
import { unStringify, validateField } from '@wavemaker/app-rn-runtime/core/utils';
|
|
9
|
-
import WmToggleProps from './toggle.props';
|
|
10
|
-
import { DEFAULT_CLASS } from './toggle.styles';
|
|
11
|
-
export class WmToggleState extends BaseComponentState {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
_defineProperty(this, "isSwitchOn", false);
|
|
15
|
-
_defineProperty(this, "isValid", true);
|
|
16
|
-
_defineProperty(this, "errorType", '');
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export default class WmToggle extends BaseComponent {
|
|
20
|
-
constructor(props) {
|
|
21
|
-
super(props, DEFAULT_CLASS, new WmToggleProps(), new WmToggleState());
|
|
22
|
-
}
|
|
23
|
-
onPropertyChange(name, $new, $old) {
|
|
24
|
-
switch (name) {
|
|
25
|
-
case 'datavalue':
|
|
26
|
-
let value = unStringify($new) === unStringify(this.state.props.checkedvalue, true);
|
|
27
|
-
this.updateState({
|
|
28
|
-
isSwitchOn: value
|
|
29
|
-
});
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
updateDatavalue(value) {
|
|
34
|
-
this.updateState({
|
|
35
|
-
props: {
|
|
36
|
-
datavalue: value
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
validate(value) {
|
|
41
|
-
const validationObj = validateField(this.state.props, value);
|
|
42
|
-
this.updateState({
|
|
43
|
-
isValid: validationObj.isValid,
|
|
44
|
-
errorType: validationObj.errorType
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
onToggleSwitch(value) {
|
|
48
|
-
const oldValue = this.state.props.datavalue;
|
|
49
|
-
this.validate(value);
|
|
50
|
-
this.updateState({
|
|
51
|
-
isSwitchOn: value
|
|
52
|
-
});
|
|
53
|
-
const dataValue = value === true ? this.state.props.checkedvalue : this.state.props.uncheckedvalue;
|
|
54
|
-
// @ts-ignore
|
|
55
|
-
this.updateState({
|
|
56
|
-
props: {
|
|
57
|
-
datavalue: dataValue
|
|
58
|
-
}
|
|
59
|
-
}, () => {
|
|
60
|
-
if (!this.props.onFieldChange) {
|
|
61
|
-
this.invokeEventCallback('onChange', [null, this.proxy, dataValue, oldValue]);
|
|
62
|
-
} else {
|
|
63
|
-
this.props.onFieldChange && this.props.onFieldChange('datavalue', dataValue, oldValue);
|
|
64
|
-
}
|
|
65
|
-
this.invokeEventCallback('onBlur', [null, this.proxy]);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
renderWidget(props) {
|
|
69
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
70
|
-
style: this.styles.root
|
|
71
|
-
}, this._background, /*#__PURE__*/React.createElement(Switch, {
|
|
72
|
-
value: this.state.isSwitchOn,
|
|
73
|
-
color: this.styles.text.color,
|
|
74
|
-
disabled: props.readonly || props.disabled,
|
|
75
|
-
onValueChange: this.onToggleSwitch.bind(this),
|
|
76
|
-
onTouchEndCapture: () => {
|
|
77
|
-
// Added setTimeout to smooth animation
|
|
78
|
-
setTimeout(() => {
|
|
79
|
-
if (!props.readonly) {
|
|
80
|
-
this.invokeEventCallback('onFocus', [null, this]);
|
|
81
|
-
}
|
|
82
|
-
this.invokeEventCallback('onTap', [null, this]);
|
|
83
|
-
}, 500);
|
|
84
|
-
}
|
|
85
|
-
}));
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
//# sourceMappingURL=toggle.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Switch","BaseComponent","BaseComponentState","unStringify","validateField","WmToggleProps","DEFAULT_CLASS","WmToggleState","WmToggle","constructor","props","onPropertyChange","name","$new","$old","value","state","checkedvalue","updateState","isSwitchOn","updateDatavalue","datavalue","validate","validationObj","isValid","errorType","onToggleSwitch","oldValue","dataValue","uncheckedvalue","onFieldChange","invokeEventCallback","proxy","renderWidget","styles","root","_background","text","color","readonly","disabled","bind","setTimeout"],"sources":["toggle.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { Switch } from 'react-native-paper';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport {unStringify, validateField} from '@wavemaker/app-rn-runtime/core/utils';\n\nimport WmToggleProps from './toggle.props';\nimport { DEFAULT_CLASS, WmToggleStyles } from './toggle.styles';\n\nexport class WmToggleState extends BaseComponentState<WmToggleProps> {\n isSwitchOn: boolean = false;\n isValid: boolean = true;\n errorType = '';\n}\n\nexport default class WmToggle extends BaseComponent<WmToggleProps, WmToggleState, WmToggleStyles> {\n\n constructor(props: WmToggleProps) {\n super(props, DEFAULT_CLASS, new WmToggleProps(), new WmToggleState());\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'datavalue':\n let value =\n unStringify($new) ===\n unStringify(this.state.props.checkedvalue, true);\n this.updateState({ isSwitchOn: value } as WmToggleState);\n break;\n }\n }\n\n updateDatavalue(value: any) {\n this.updateState({ props: { datavalue: value }} as WmToggleState);\n }\n\n validate(value: any) {\n const validationObj = validateField(this.state.props, value);\n this.updateState({\n isValid: validationObj.isValid,\n errorType: validationObj.errorType\n } as WmToggleState);\n }\n\n onToggleSwitch(value: any) {\n const oldValue = this.state.props.datavalue;\n this.validate(value);\n this.updateState({ isSwitchOn: value } as WmToggleState);\n const dataValue = value === true ? this.state.props.checkedvalue : this.state.props.uncheckedvalue;\n // @ts-ignore\n this.updateState({ props: { datavalue: dataValue } },\n ()=> {\n if (!this.props.onFieldChange) {\n this.invokeEventCallback('onChange', [null, this.proxy, dataValue, oldValue]);\n } else {\n this.props.onFieldChange && this.props.onFieldChange('datavalue', dataValue, oldValue);\n }\n this.invokeEventCallback('onBlur', [ null, this.proxy ]);\n });\n }\n\n renderWidget(props: WmToggleProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <Switch value={this.state.isSwitchOn}\n color={this.styles.text.color as string}\n disabled={props.readonly || props.disabled}\n onValueChange={this.onToggleSwitch.bind(this)}\n onTouchEndCapture={() => {\n // Added setTimeout to smooth animation\n setTimeout(() => {\n if (!props.readonly) {\n this.invokeEventCallback('onFocus', [null, this]);\n }\n this.invokeEventCallback('onTap', [null, this]);\n }, 500);\n }}/>\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;A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8B,QAAS;MAC3C,aAAa,EAAE,IAAI,CAACd,cAAc,CAACe,IAAI,CAAC,IAAI,CAAE;MAC9C,iBAAiB,EAAE,MAAM;QACvB;QACAC,UAAU,CAAC,MAAM;UACf,IAAI,CAAChC,KAAK,CAAC6B,QAAQ,EAAE;YACnB,IAAI,CAACR,mBAAmB,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;UACnD;UACA,IAAI,CAACA,mBAAmB,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACjD,CAAC,EAAE,GAAG,CAAC;MACT;IAAE,EAAE,CACH;EAEX;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseProps","WmToggleProps"],"sources":["toggle.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmToggleProps extends BaseProps {\n checkedvalue: any = true;\n uncheckedvalue: any = false;\n datavalue: any;\n readonly? = false;\n onFieldChange: any;\n invokeEvent?: Function;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,aAAa,SAASD,SAAS,CAAC;EAAA;IAAA;IAAA,sCAC/B,IAAI;IAAA,wCACF,KAAK;IAAA;IAAA,kCAEf,KAAK;IAAA;IAAA;EAAA;AAGnB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
-
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
-
export const DEFAULT_CLASS = 'app-toggle';
|
|
4
|
-
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
-
const defaultStyles = defineStyles({
|
|
6
|
-
root: {
|
|
7
|
-
width: 36
|
|
8
|
-
},
|
|
9
|
-
text: {
|
|
10
|
-
color: themeVariables.toggleColor
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
14
|
-
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
15
|
-
root: {}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=toggle.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","width","text","color","toggleColor"],"sources":["toggle.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport type WmToggleStyles = BaseStyles & {};\n\nexport const DEFAULT_CLASS = 'app-toggle';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmToggleStyles = defineStyles({\n root: {\n width: 36\n },\n text: {\n color: themeVariables.toggleColor\n }\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {}\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAIxF,OAAO,MAAMC,aAAa,GAAG,YAAY;AACzCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA6B,GAAGL,YAAY,CAAC;IAC/CM,IAAI,EAAE;MACJC,KAAK,EAAE;IACT,CAAC;IACDC,IAAI,EAAE;MACJC,KAAK,EAAEN,cAAc,CAACO;IACxB;EACJ,CAAC,CAAC;EAEFN,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACtCK,IAAI,EAAG,CAAC;EACZ,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","WmIcon","WmPicture","WmAppNavbarProps","DEFAULT_CLASS","WmAppNavbarState","WmAppNavbar","constructor","props","onDrawerBtnPress","invokeEventCallback","bind","onBackBtnPress","onSearchBtnPress","renderWidget","styles","root","_background","leftSection","showDrawerButton","theme","mergeStyle","action","leftnavIcon","leftnavpaneliconclass","backbutton","backIcon","backbuttoniconclass","backbuttonlabel","middleSection","imgsrc","image","content","title","rightSection","searchbutton","searchbuttoniconclass","children"],"sources":["appnavbar.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\n\nimport WmAppNavbarProps from './appnavbar.props';\nimport { DEFAULT_CLASS, WmAppNavbarStyles } from './appnavbar.styles';\n\nexport class WmAppNavbarState extends BaseComponentState<WmAppNavbarProps> {\n\n}\n\nexport default class WmAppNavbar extends BaseComponent<WmAppNavbarProps, WmAppNavbarState, WmAppNavbarStyles> {\n\n private onDrawerBtnPress: Function;\n private onBackBtnPress: Function;\n private onSearchBtnPress: Function;\n\n constructor(props: WmAppNavbarProps) {\n super(props, DEFAULT_CLASS, new WmAppNavbarProps());\n this.onDrawerBtnPress = (() => this.invokeEventCallback('onDrawerbuttonpress', [null, this])).bind(this);\n this.onBackBtnPress = (() => this.invokeEventCallback('onBackbtnclick', [null, this])).bind(this);\n this.onSearchBtnPress = (() => this.invokeEventCallback('onSearchbuttonpress', [null, this])).bind(this);\n }\n\n renderWidget(props: WmAppNavbarProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <View style={this.styles.leftSection}>\n {props.showDrawerButton && (<WmIcon\n styles={this.theme.mergeStyle({}, this.styles.action, this.styles.leftnavIcon)}\n iconclass={props.leftnavpaneliconclass}\n onTap={this.onDrawerBtnPress}\n />)}\n {props.backbutton && (<WmIcon\n styles={this.theme.mergeStyle({}, this.styles.action, this.styles.backIcon)}\n iconclass={props.backbuttoniconclass}\n caption={props.backbuttonlabel}\n onTap={this.onBackBtnPress}/>)}\n </View>\n <View style={this.styles.middleSection}>\n {props.imgsrc && (\n <WmPicture\n styles={this.styles.image}\n picturesource={props.imgsrc} />)}\n <Text style={this.styles.content}>{props.title}</Text>\n </View>\n <View style={this.styles.rightSection}>\n {props.searchbutton && (<WmIcon\n styles={this.theme.mergeStyle({}, this.styles.action, this.styles.leftnavIcon)}\n iconclass={props.searchbuttoniconclass}\n onTap={this.onSearchBtnPress}\n />)}\n {props.children}\n </View>\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,SAAS,MAAM,sEAAsE;AAE5F,OAAOC,gBAAgB,MAAM,mBAAmB;AAChD,SAASC,aAAa,QAA2B,oBAAoB;AAErE,OAAO,MAAMC,gBAAgB,SAASL,kBAAkB,CAAmB;AAI3E,eAAe,MAAMM,WAAW,SAASP,aAAa,CAAwD;EAM5GQ,WAAW,CAACC,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,gBAAgB,EAAE,CAAC;IAAC;IAAA;IAAA;IACpD,IAAI,CAACM,gBAAgB,GAAG,CAAC,MAAM,IAAI,CAACC,mBAAmB,CAAC,qBAAqB,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAEC,IAAI,CAAC,IAAI,CAAC;IACxG,IAAI,CAACC,cAAc,GAAG,CAAC,MAAM,IAAI,CAACF,mBAAmB,CAAC,gBAAgB,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAEC,IAAI,CAAC,IA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MAAM,CAACiB;IAAQ,GAAExB,KAAK,CAACyB,KAAK,CAAQ,CACjD,eACP,oBAAC,IAAI;MAAC,KAAK,EAAE,IAAI,CAAClB,MAAM,CAACmB;IAAa,GACnC1B,KAAK,CAAC2B,YAAY,iBAAK,oBAAC,MAAM;MAC7B,MAAM,EAAE,IAAI,CAACf,KAAK,CAACC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAACN,MAAM,CAACO,MAAM,EAAE,IAAI,CAACP,MAAM,CAACQ,WAAW,CAAE;MAC/E,SAAS,EAAEf,KAAK,CAAC4B,qBAAsB;MACvC,KAAK,EAAE,IAAI,CAACvB;IAAiB,EAC1B,EACJL,KAAK,CAAC6B,QAAQ,CACV,CACF;EAEX;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseProps","WmAppNavbarProps"],"sources":["appnavbar.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmAppNavbarProps extends BaseProps {\n children?: any;\n title: string = '';\n backbutton = true;\n backbuttonlabel = '';\n showDrawerButton = false;\n leftnavpaneliconclass = 'wm-sl-l sl-hamburger-menu';\n backbuttoniconclass = 'wi wi-back';\n imgsrc = null as any;\n searchbutton = false;\n searchbuttoniconclass = 'wm-sl-l sl-search'\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,gBAAgB,SAASD,SAAS,CAAC;EAAA;IAAA;IAAA;IAAA,+BAEpC,EAAE;IAAA,oCACL,IAAI;IAAA,yCACC,EAAE;IAAA,0CACD,KAAK;IAAA,+CACA,2BAA2B;IAAA,6CAC7B,YAAY;IAAA,gCACzB,IAAI;IAAA,sCACE,KAAK;IAAA,+CACI,mBAAmB;EAAA;AAC/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Color","BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","backgroundColor","navbarBackgroundColor","height","padding","paddingHorizontal","alignItems","text","action","leftSection","flex","leftnavIcon","icon","fontSize","navbarIconSize","color","navbarTextColor","backIcon","navbarFontSize","image","width","navbarImageSize","picture","resizeMode","content","textTransform","fontFamily","baseFont","fontWeight","textAlign","middleSection","rightSection","justifyContent","paddingRight","textDecorationStyle","undefined","badge","fade","rgb","toString","transparent","alignSelf","link"],"sources":["appnavbar.styles.ts"],"sourcesContent":["import Color from 'color';\nimport BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { ViewStyle } from 'react-native';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmMenuStyles } from '@wavemaker/app-rn-runtime/components/navigation/menu/menu.styles';\nimport { WmAnchorStyles } from '@wavemaker/app-rn-runtime/components/basic/anchor/anchor.styles';\nimport { WmPopoverStyles } from '@wavemaker/app-rn-runtime/components/navigation/popover/popover.styles';\nimport { WmPictureStyles } from '@wavemaker/app-rn-runtime/components/basic/picture/picture.styles';\n\nexport type WmAppNavbarStyles = BaseStyles & {\n action: WmIconStyles,\n image: WmPictureStyles,\n leftnavIcon: WmIconStyles,\n backIcon: WmIconStyles,\n leftSection: ViewStyle,\n middleSection: ViewStyle,\n rightSection: ViewStyle,\n content: ViewStyle\n};\n\nexport const DEFAULT_CLASS = 'app-appnavbar';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmAppNavbarStyles = defineStyles({\n root: {\n flexDirection: 'row',\n backgroundColor: themeVariables.navbarBackgroundColor,\n height: 80,\n padding: 12,\n paddingHorizontal: 12,\n alignItems: 'center'\n },\n text: {},\n action: {} as WmIconStyles,\n leftSection: {\n flex: 1,\n flexDirection: 'row'\n },\n leftnavIcon: {\n root: {\n alignItems: 'flex-start'\n },\n icon: {\n fontSize: themeVariables.navbarIconSize,\n color: themeVariables.navbarTextColor\n }\n } as WmIconStyles,\n backIcon: {\n root: {},\n text: {\n fontSize: themeVariables.navbarFontSize,\n color: themeVariables.navbarTextColor\n },\n icon: {\n fontSize: themeVariables.navbarIconSize,\n color: themeVariables.navbarTextColor\n }\n } as WmIconStyles,\n image: {\n root: {\n width: themeVariables.navbarImageSize,\n height: themeVariables.navbarImageSize,\n },\n picture: {\n resizeMode: 'contain'\n }\n } as WmPictureStyles,\n content: {\n textTransform: 'capitalize',\n color: themeVariables.navbarTextColor,\n fontSize: themeVariables.navbarFontSize,\n fontFamily: themeVariables.baseFont,\n fontWeight: '500',\n textAlign: 'center'\n },\n middleSection: {\n alignItems: 'center',\n flexDirection: 'row'\n },\n rightSection: {\n flex: 1,\n flexDirection: 'row',\n justifyContent: 'flex-end'\n },\n } as WmAppNavbarStyles);\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('navbarAnchorItem', '', {\n root: {\n paddingRight: 8,\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center'\n },\n text: {\n color: themeVariables.navbarTextColor,\n fontSize: themeVariables.navbarFontSize,\n textDecorationStyle: undefined\n },\n badge: {\n backgroundColor: Color(themeVariables.navbarTextColor).fade(0.8).rgb().toString(),\n color: themeVariables.navbarTextColor,\n },\n icon: {\n text: {\n color: themeVariables.navbarTextColor,\n fontSize: themeVariables.navbarIconSize\n },\n icon : {\n color: themeVariables.navbarTextColor\n }\n }\n } as WmAnchorStyles);\n addStyle('navbarButton', '', {\n root: {\n backgroundColor: themeVariables.transparent,\n paddingRight: 8,\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n alignSelf: 'center'\n },\n text: {\n color: themeVariables.navbarTextColor,\n fontSize: themeVariables.navbarFontSize\n },\n icon: {\n root: {\n color: themeVariables.navbarTextColor\n },\n text: {\n color: themeVariables.navbarTextColor,\n fontSize: themeVariables.navbarIconSize\n }\n }\n } as WmAnchorStyles);\n addStyle('navbarMenu', '', {\n root: {\n paddingRight: 8,\n height: '100%',\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center'\n },\n link: {\n icon: {\n root: {\n fontSize: themeVariables.navbarIconSize,\n color: themeVariables.navbarTextColor\n }\n },\n text: {\n color: themeVariables.navbarTextColor,\n fontSize: themeVariables.navbarFontSize\n }\n }\n } as WmMenuStyles);\n addStyle('navbarPopover', '', {\n root: {\n height: '100%',\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center'\n },\n link: {\n icon: {\n root: {\n fontSize: themeVariables.navbarIconSize,\n color: themeVariables.navbarTextColor\n }\n },\n text: {\n color: themeVariables.navbarTextColor,\n fontSize: themeVariables.navbarFontSize\n }\n }\n } as WmPopoverStyles);\n});"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAmBxF,OAAO,MAAMC,aAAa,GAAG,eAAe;AAC5CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAgC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,eAAe,EAAEL,cAAc,CAACM,qBAAqB;MACrDC,MAAM,EAAE,EAAE;MACVC,OAAO,EAAE,EAAE;MACXC,iBAAiB,EAAE,EAAE;MACrBC,UAAU,EAAE;IACd,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,MAAM,EAAE,CAAC,CAAiB;IAC1BC,WAAW,EAAE;MACXC,IAAI,EAAE,CAAC;MACPV,aAAa,EAAE;IACjB,CAAC;IACDW,WAAW,EAAE;MACXZ,IAAI,EAAE;QACFO,UAAU,EAAE;MAChB,CAAC;MACDM,IAAI,EAAE;QACFC,QAAQ,EAAEjB,cAAc,CAACkB,cAAc;QACvCC,KAAK,EAAEnB,cAAc,CAACoB;MAC1B;IACF,CAAiB;IACjBC,QAAQ,EAAE;MACRlB,IAAI,EAAE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