@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,269 +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, Platform, TouchableOpacity } from 'react-native';
|
|
6
|
-
import moment from 'moment';
|
|
7
|
-
import DateTimePicker from '@react-native-community/datetimepicker';
|
|
8
|
-
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
9
|
-
import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
|
|
10
|
-
import WmDatetimeProps from './datetime/datetime.props';
|
|
11
|
-
import { DEFAULT_CLASS } from './datetime/datetime.styles';
|
|
12
|
-
import WebDatePicker from './date-picker.component';
|
|
13
|
-
import { isNumber, isString } from 'lodash-es';
|
|
14
|
-
import { ModalConsumer } from '@wavemaker/app-rn-runtime/core/modal.service';
|
|
15
|
-
import { validateField } from '@wavemaker/app-rn-runtime/core/utils';
|
|
16
|
-
export class BaseDatetimeState extends BaseComponentState {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments);
|
|
19
|
-
_defineProperty(this, "showDatePicker", false);
|
|
20
|
-
_defineProperty(this, "dateValue", null);
|
|
21
|
-
_defineProperty(this, "displayValue", null);
|
|
22
|
-
_defineProperty(this, "isFocused", false);
|
|
23
|
-
_defineProperty(this, "timerId", null);
|
|
24
|
-
_defineProperty(this, "isValid", true);
|
|
25
|
-
_defineProperty(this, "errorType", '');
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
const CURRENT_DATE = 'CURRENT_DATE';
|
|
29
|
-
const CURRENT_TIME = 'CURRENT_TIME';
|
|
30
|
-
export default class BaseDatetime extends BaseComponent {
|
|
31
|
-
constructor(props) {
|
|
32
|
-
let defaultClass = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_CLASS;
|
|
33
|
-
let defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new WmDatetimeProps();
|
|
34
|
-
let defaultState = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : new BaseDatetimeState();
|
|
35
|
-
super(props, defaultClass, defaultProps, defaultState);
|
|
36
|
-
_defineProperty(this, "clearBtnClicked", false);
|
|
37
|
-
_defineProperty(this, "modes", []);
|
|
38
|
-
_defineProperty(this, "nativeModalOptions", {});
|
|
39
|
-
_defineProperty(this, "prevDatavalue", void 0);
|
|
40
|
-
}
|
|
41
|
-
format(date, format) {
|
|
42
|
-
if (format === 'timestamp') {
|
|
43
|
-
return date instanceof Date ? '' + date.getTime() : date;
|
|
44
|
-
}
|
|
45
|
-
return date && moment(date).format(format);
|
|
46
|
-
}
|
|
47
|
-
parse(date, format) {
|
|
48
|
-
if (format === 'timestamp') {
|
|
49
|
-
if (isString(date)) {
|
|
50
|
-
return new Date(parseInt(date));
|
|
51
|
-
}
|
|
52
|
-
if (isNumber(date)) {
|
|
53
|
-
return new Date(date);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return date && moment(date, format).toDate();
|
|
57
|
-
}
|
|
58
|
-
monitorAndUpdateCurrentTime() {
|
|
59
|
-
this.stopCurrentTimeMonitor();
|
|
60
|
-
const timerId = setInterval(() => {
|
|
61
|
-
this.updateState({
|
|
62
|
-
props: {
|
|
63
|
-
readonly: true,
|
|
64
|
-
datavalue: Date.now()
|
|
65
|
-
},
|
|
66
|
-
timerId: timerId
|
|
67
|
-
});
|
|
68
|
-
}, 1000);
|
|
69
|
-
}
|
|
70
|
-
stopCurrentTimeMonitor() {
|
|
71
|
-
if (this.state.timerId) {
|
|
72
|
-
clearInterval(this.state.timerId);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
onPropertyChange(name, $new, $old) {
|
|
76
|
-
super.onPropertyChange(name, $new, $old);
|
|
77
|
-
const props = this.state.props;
|
|
78
|
-
switch (name) {
|
|
79
|
-
//@ts-ignore
|
|
80
|
-
case 'datavalue':
|
|
81
|
-
this.invokeEventCallback('onChange', [null, this, $new, $old]);
|
|
82
|
-
this.prevDatavalue = $old;
|
|
83
|
-
if (props.datavalue === CURRENT_TIME) {
|
|
84
|
-
this.monitorAndUpdateCurrentTime();
|
|
85
|
-
}
|
|
86
|
-
case 'datepattern':
|
|
87
|
-
case 'outputformat':
|
|
88
|
-
if (props.datavalue && props.outputformat && props.datepattern) {
|
|
89
|
-
if (props.datavalue === CURRENT_DATE || props.datavalue === CURRENT_TIME) {
|
|
90
|
-
props.datavalue = this.format(new Date(), props.outputformat);
|
|
91
|
-
}
|
|
92
|
-
const date = isString(props.datavalue) ? this.parse(props.datavalue, props.outputformat) : props.datavalue;
|
|
93
|
-
this.updateState({
|
|
94
|
-
dateValue: date,
|
|
95
|
-
displayValue: this.format(date, props.datepattern)
|
|
96
|
-
});
|
|
97
|
-
} else {
|
|
98
|
-
this.updateState({
|
|
99
|
-
dateValue: null,
|
|
100
|
-
displayValue: null
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
this.props.onFieldChange && this.props.onFieldChange('datavalue', props.datavalue, this.prevDatavalue);
|
|
104
|
-
break;
|
|
105
|
-
case 'mindate':
|
|
106
|
-
if (isString($new)) {
|
|
107
|
-
const minDateVal = $new === CURRENT_DATE || $new === CURRENT_TIME ? new Date() : props.mindate;
|
|
108
|
-
this.updateState({
|
|
109
|
-
props: {
|
|
110
|
-
mindate: moment(minDateVal, props.datepattern).toDate()
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
break;
|
|
115
|
-
case 'maxdate':
|
|
116
|
-
if (isString($new)) {
|
|
117
|
-
const maxDateVal = $new === CURRENT_DATE || $new === CURRENT_TIME ? new Date() : props.maxdate;
|
|
118
|
-
this.updateState({
|
|
119
|
-
props: {
|
|
120
|
-
maxdate: moment(maxDateVal, props.datepattern).toDate()
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
break;
|
|
125
|
-
case 'readonly':
|
|
126
|
-
this.updateState({
|
|
127
|
-
props: {
|
|
128
|
-
disabled: $new
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
break;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
onDateChange($event, date) {
|
|
135
|
-
this.validate(date);
|
|
136
|
-
this.modes.shift();
|
|
137
|
-
this.updateState({
|
|
138
|
-
isFocused: false,
|
|
139
|
-
showDatePicker: !!this.modes.length,
|
|
140
|
-
props: {
|
|
141
|
-
datavalue: this.format(date, this.state.props.outputformat),
|
|
142
|
-
timestamp: this.format(date, 'timestamp')
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
onBlur() {
|
|
147
|
-
if (Platform.OS === 'web') {
|
|
148
|
-
this.validate(this.state.props.datavalue);
|
|
149
|
-
setTimeout(() => this.props.triggerValidation && this.props.triggerValidation());
|
|
150
|
-
}
|
|
151
|
-
this.invokeEventCallback('onBlur', [null, this]);
|
|
152
|
-
}
|
|
153
|
-
onFocus() {
|
|
154
|
-
if (!this.state.props.readonly) {
|
|
155
|
-
if (Platform.OS !== 'web' && this.state.props.mode === 'datetime') {
|
|
156
|
-
this.modes = ['date', 'time'];
|
|
157
|
-
} else {
|
|
158
|
-
this.modes = [this.state.props.mode];
|
|
159
|
-
}
|
|
160
|
-
this.updateState({
|
|
161
|
-
showDatePicker: true,
|
|
162
|
-
isFocused: true
|
|
163
|
-
});
|
|
164
|
-
this.invokeEventCallback('onFocus', [null, this]);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
validate(value) {
|
|
168
|
-
const validationObj = validateField(this.state.props, value);
|
|
169
|
-
this.setState({
|
|
170
|
-
isValid: validationObj.isValid,
|
|
171
|
-
errorType: validationObj.errorType
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
componentWillUnmount() {
|
|
175
|
-
super.componentWillUnmount();
|
|
176
|
-
this.stopCurrentTimeMonitor();
|
|
177
|
-
}
|
|
178
|
-
renderWebWidget(props) {
|
|
179
|
-
return /*#__PURE__*/React.createElement(WebDatePicker, {
|
|
180
|
-
mode: this.state.props.mode,
|
|
181
|
-
locale: props.locale,
|
|
182
|
-
value: this.state.dateValue || new Date(),
|
|
183
|
-
onDateChange: date => this.onDateChange(null, date),
|
|
184
|
-
onDismiss: () => this.updateState({
|
|
185
|
-
isFocused: false,
|
|
186
|
-
showDatePicker: false
|
|
187
|
-
}, () => this.onBlur()),
|
|
188
|
-
minimumDate: props.mindate,
|
|
189
|
-
maximumDate: props.maxdate
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
renderNativeWidget(props, onDismiss) {
|
|
193
|
-
return /*#__PURE__*/React.createElement(DateTimePicker, {
|
|
194
|
-
mode: this.modes[0],
|
|
195
|
-
value: this.state.dateValue || new Date(),
|
|
196
|
-
is24Hour: true,
|
|
197
|
-
display: Platform.OS === 'ios' ? 'spinner' : 'default',
|
|
198
|
-
onChange: (event, date) => {
|
|
199
|
-
if (date && this.state.props.mode === 'datetime' && this.modes[0] === 'time') {
|
|
200
|
-
const dateSelected = this.state.dateValue;
|
|
201
|
-
date = moment(date).set('month', dateSelected.getMonth()).set('year', dateSelected.getFullYear()).set('date', dateSelected.getDate()).toDate();
|
|
202
|
-
}
|
|
203
|
-
this.onDateChange(event, date || this.state.dateValue);
|
|
204
|
-
if (this.modes.length <= 1) {
|
|
205
|
-
this.onBlur();
|
|
206
|
-
onDismiss && onDismiss();
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
minimumDate: props.mindate,
|
|
210
|
-
maximumDate: props.maxdate
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
renderNativeWidgetWithModal(props) {
|
|
214
|
-
return /*#__PURE__*/React.createElement(ModalConsumer, null, modalService => {
|
|
215
|
-
this.nativeModalOptions.content = /*#__PURE__*/React.createElement(React.Fragment, null, this.renderNativeWidget(props, () => modalService.hideModal(this.nativeModalOptions)));
|
|
216
|
-
this.nativeModalOptions.centered = true;
|
|
217
|
-
this.nativeModalOptions.onClose = () => {
|
|
218
|
-
this.onBlur();
|
|
219
|
-
};
|
|
220
|
-
modalService.showModal(this.nativeModalOptions);
|
|
221
|
-
return null;
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
addTouchableOpacity(props, children, styles) {
|
|
225
|
-
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
226
|
-
style: styles,
|
|
227
|
-
onPress: () => {
|
|
228
|
-
if (!props.readonly) {
|
|
229
|
-
this.onFocus();
|
|
230
|
-
}
|
|
231
|
-
this.invokeEventCallback('onTap', [null, this]);
|
|
232
|
-
}
|
|
233
|
-
}, children);
|
|
234
|
-
}
|
|
235
|
-
getIcon() {
|
|
236
|
-
if (this.state.props.mode === 'time') {
|
|
237
|
-
return 'wm-sl-l sl-time';
|
|
238
|
-
}
|
|
239
|
-
return 'wm-sl-l sl-calendar';
|
|
240
|
-
}
|
|
241
|
-
renderWidget(props) {
|
|
242
|
-
return this.addTouchableOpacity(props, /*#__PURE__*/React.createElement(View, {
|
|
243
|
-
style: [this.styles.root, this.state.isValid ? {} : this.styles.invalid, this.state.isFocused ? this.styles.focused : null]
|
|
244
|
-
}, this._background, /*#__PURE__*/React.createElement(View, {
|
|
245
|
-
style: this.styles.container
|
|
246
|
-
}, this.addTouchableOpacity(props, /*#__PURE__*/React.createElement(Text, {
|
|
247
|
-
style: [this.styles.text, this.state.displayValue ? {} : this.styles.placeholderText]
|
|
248
|
-
}, this.state.displayValue || this.state.props.placeholder), {
|
|
249
|
-
flex: 1
|
|
250
|
-
}), !props.readonly && props.datavalue && /*#__PURE__*/React.createElement(WmIcon, {
|
|
251
|
-
iconclass: "wi wi-clear",
|
|
252
|
-
styles: {
|
|
253
|
-
color: this.styles.text.color,
|
|
254
|
-
...this.styles.clearIcon
|
|
255
|
-
},
|
|
256
|
-
onTap: () => {
|
|
257
|
-
this.onDateChange(null, null);
|
|
258
|
-
this.clearBtnClicked = true;
|
|
259
|
-
}
|
|
260
|
-
}) || null, this.addTouchableOpacity(props, /*#__PURE__*/React.createElement(WmIcon, {
|
|
261
|
-
iconclass: this.getIcon(),
|
|
262
|
-
styles: {
|
|
263
|
-
color: this.styles.text.color,
|
|
264
|
-
...this.styles.calendarIcon
|
|
265
|
-
}
|
|
266
|
-
}))), this.state.showDatePicker && (Platform.OS === 'web' && this.renderWebWidget(props) || Platform.OS === 'android' && this.renderNativeWidget(props) || Platform.OS === 'ios' && this.renderNativeWidget(props))));
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
//# sourceMappingURL=base-datetime.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","Platform","TouchableOpacity","moment","DateTimePicker","BaseComponent","BaseComponentState","WmIcon","WmDatetimeProps","DEFAULT_CLASS","WebDatePicker","isNumber","isString","ModalConsumer","validateField","BaseDatetimeState","CURRENT_DATE","CURRENT_TIME","BaseDatetime","constructor","props","defaultClass","defaultProps","defaultState","format","date","Date","getTime","parse","parseInt","toDate","monitorAndUpdateCurrentTime","stopCurrentTimeMonitor","timerId","setInterval","updateState","readonly","datavalue","now","state","clearInterval","onPropertyChange","name","$new","$old","invokeEventCallback","prevDatavalue","outputformat","datepattern","dateValue","displayValue","onFieldChange","minDateVal","mindate","maxDateVal","maxdate","disabled","onDateChange","$event","validate","modes","shift","isFocused","showDatePicker","length","timestamp","onBlur","OS","setTimeout","triggerValidation","onFocus","mode","value","validationObj","setState","isValid","errorType","componentWillUnmount","renderWebWidget","locale","renderNativeWidget","onDismiss","event","dateSelected","set","getMonth","getFullYear","getDate","renderNativeWidgetWithModal","modalService","nativeModalOptions","content","hideModal","centered","onClose","showModal","addTouchableOpacity","children","styles","getIcon","renderWidget","root","invalid","focused","_background","container","text","placeholderText","placeholder","flex","color","clearIcon","clearBtnClicked","calendarIcon"],"sources":["base-datetime.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Text, Platform, TouchableOpacity } from 'react-native';\nimport moment from 'moment';\nimport DateTimePicker, { DateTimePickerEvent } from '@react-native-community/datetimepicker';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\n\nimport WmDatetimeProps from './datetime/datetime.props';\nimport { DEFAULT_CLASS, WmDatetimeStyles } from './datetime/datetime.styles';\nimport WebDatePicker from './date-picker.component';\nimport { isNumber, isString } from 'lodash-es';\nimport { ModalConsumer, ModalOptions, ModalService } from '@wavemaker/app-rn-runtime/core/modal.service';\nimport { validateField } from '@wavemaker/app-rn-runtime/core/utils';\n\nexport class BaseDatetimeState extends BaseComponentState<WmDatetimeProps> {\n showDatePicker = false;\n dateValue: Date = null as any;\n displayValue: string = null as any;\n isFocused = false;\n timerId: NodeJS.Timer = null as any;\n isValid: boolean = true;\n errorType = '';\n}\n\nconst CURRENT_DATE = 'CURRENT_DATE';\nconst CURRENT_TIME = 'CURRENT_TIME';\n\nexport default abstract class BaseDatetime extends BaseComponent<WmDatetimeProps, BaseDatetimeState, WmDatetimeStyles> {\n clearBtnClicked = false;\n modes = [] as string[];\n nativeModalOptions: ModalOptions = {} as any;\n prevDatavalue: any;\n\n constructor(props: WmDatetimeProps, defaultClass = DEFAULT_CLASS, defaultProps = new WmDatetimeProps(), defaultState= new BaseDatetimeState()) {\n super(props, defaultClass, defaultProps, defaultState);\n }\n\n format(date: Date | number | undefined, format: string) {\n if (format === 'timestamp') {\n return date instanceof Date ? '' + date.getTime() : date;\n }\n return date && moment(date).format(format);\n }\n\n parse(date: string | number, format: string) {\n if (format === 'timestamp') {\n if (isString(date)) {\n return new Date(parseInt(date));\n }\n if (isNumber(date)) {\n return new Date(date);\n }\n }\n return date && moment(date, format).toDate();\n }\n\n private monitorAndUpdateCurrentTime() {\n this.stopCurrentTimeMonitor();\n const timerId = setInterval(() => {\n this.updateState({\n props: {\n readonly: true,\n datavalue: Date.now()\n },\n timerId: timerId\n } as BaseDatetimeState);\n }, 1000);\n }\n\n private stopCurrentTimeMonitor() {\n if (this.state.timerId) {\n clearInterval(this.state.timerId);\n }\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n const props = this.state.props;\n switch(name) {\n //@ts-ignore\n case 'datavalue':\n this.invokeEventCallback('onChange', [null, this, $new, $old]);\n this.prevDatavalue = $old;\n if (props.datavalue === CURRENT_TIME) {\n this.monitorAndUpdateCurrentTime();\n }\n case 'datepattern':\n case 'outputformat':\n if (props.datavalue && props.outputformat && props.datepattern) {\n if (props.datavalue === CURRENT_DATE || props.datavalue === CURRENT_TIME) {\n props.datavalue = this.format(new Date(), props.outputformat);\n }\n const date = isString(props.datavalue) ? this.parse(props.datavalue as string, props.outputformat) : props.datavalue;\n this.updateState({\n dateValue : date,\n displayValue: this.format(date as any, props.datepattern)\n } as BaseDatetimeState);\n } else {\n this.updateState({\n dateValue : null as any,\n displayValue: null as any\n } as BaseDatetimeState);\n }\n this.props.onFieldChange && this.props.onFieldChange('datavalue', props.datavalue, this.prevDatavalue);\n break;\n case 'mindate':\n if (isString($new)) {\n const minDateVal = ($new === CURRENT_DATE || $new === CURRENT_TIME) ? new Date() : props.mindate;\n this.updateState({\n props: {\n mindate: moment(minDateVal, props.datepattern).toDate()\n }\n } as BaseDatetimeState);\n }\n break;\n case 'maxdate':\n if (isString($new)) {\n const maxDateVal = ($new === CURRENT_DATE || $new === CURRENT_TIME) ? new Date() : props.maxdate;\n this.updateState({\n props: {\n maxdate: moment(maxDateVal, props.datepattern).toDate()\n }\n } as BaseDatetimeState);\n }\n break;\n case 'readonly':\n this.updateState({\n props: {\n disabled: $new\n }\n } as BaseDatetimeState)\n break;\n }\n }\n\n onDateChange($event: DateTimePickerEvent, date?: Date) {\n this.validate(date);\n this.modes.shift();\n this.updateState({\n isFocused: false,\n showDatePicker: !!this.modes.length,\n props: {\n datavalue: this.format(date, this.state.props.outputformat as string),\n timestamp: this.format(date, 'timestamp')\n }\n } as BaseDatetimeState);\n }\n\n onBlur() {\n if (Platform.OS === 'web') {\n this.validate(this.state.props.datavalue);\n setTimeout(() => this.props.triggerValidation && this.props.triggerValidation());\n }\n this.invokeEventCallback('onBlur', [null, this]);\n }\n\n onFocus() {\n if (!this.state.props.readonly) {\n if (Platform.OS !== 'web' && this.state.props.mode === 'datetime') {\n this.modes = ['date', 'time'];\n } else {\n this.modes = [this.state.props.mode];\n }\n this.updateState({showDatePicker: true, isFocused: true} as BaseDatetimeState);\n this.invokeEventCallback('onFocus', [null, this]);\n }\n }\n\n validate(value: any) {\n const validationObj = validateField(this.state.props, value);\n this.setState({\n isValid: validationObj.isValid,\n errorType: validationObj.errorType\n } as BaseDatetimeState)\n }\n\n componentWillUnmount() {\n super.componentWillUnmount();\n this.stopCurrentTimeMonitor();\n }\n\n renderWebWidget(props: WmDatetimeProps) {\n return (<WebDatePicker\n mode={this.state.props.mode}\n locale={props.locale}\n value={this.state.dateValue || new Date()}\n onDateChange={(date: Date) => this.onDateChange(null as any, date)}\n onDismiss={() =>\n this.updateState({\n isFocused: false,\n showDatePicker: false\n } as BaseDatetimeState, () => this.onBlur())}\n minimumDate={props.mindate as Date}\n maximumDate={props.maxdate as Date}/>);\n }\n\n renderNativeWidget(props: WmDatetimeProps, onDismiss?: Function) {\n return (<DateTimePicker\n mode={this.modes[0] as any}\n value={this.state.dateValue || new Date()}\n is24Hour={true}\n display={Platform.OS === 'ios' ? 'spinner': 'default'}\n onChange={(event: DateTimePickerEvent, date?: Date) => {\n if (date && this.state.props.mode === 'datetime' && this.modes[0] === 'time') {\n const dateSelected = this.state.dateValue;\n date = moment(date)\n .set('month', dateSelected.getMonth())\n .set('year', dateSelected.getFullYear())\n .set('date', dateSelected.getDate())\n .toDate();\n }\n this.onDateChange(event, date || this.state.dateValue);\n if (this.modes.length <= 1) {\n this.onBlur();\n onDismiss && onDismiss();\n }\n }}\n minimumDate={props.mindate as Date}\n maximumDate={props.maxdate as Date}\n />\n );\n }\n\n renderNativeWidgetWithModal(props: WmDatetimeProps) {\n return (<ModalConsumer>{(modalService: ModalService) => {\n this.nativeModalOptions.content = (<>\n {this.renderNativeWidget(props, () => modalService.hideModal(this.nativeModalOptions))}\n </>);\n this.nativeModalOptions.centered = true;\n this.nativeModalOptions.onClose = () => {\n this.onBlur();\n };\n modalService.showModal(this.nativeModalOptions);\n return null;\n }}</ModalConsumer>);\n }\n\n addTouchableOpacity(props: WmDatetimeProps, children: React.ReactNode, styles?: any) : React.ReactNode{\n return (\n <TouchableOpacity style={styles} onPress={() => {\n if (!props.readonly) {\n this.onFocus();\n }\n this.invokeEventCallback('onTap', [null, this]);\n }}>\n {children}\n </TouchableOpacity>\n );\n }\n\n getIcon() {\n if (this.state.props.mode === 'time') {\n return 'wm-sl-l sl-time'\n }\n return 'wm-sl-l sl-calendar';\n }\n\n renderWidget(props: WmDatetimeProps) {\n return ( \n this.addTouchableOpacity(props, (\n <View style={[this.styles.root, this.state.isValid ? {} : this.styles.invalid, this.state.isFocused ? this.styles.focused : null]}>\n {this._background}\n <View style={this.styles.container}>\n {this.addTouchableOpacity(props, (\n <Text style={[\n this.styles.text,\n this.state.displayValue ? {} : this.styles.placeholderText\n ]}>{this.state.displayValue || this.state.props.placeholder}</Text>\n ), { flex: 1 })}\n {(!props.readonly && props.datavalue &&\n (<WmIcon iconclass=\"wi wi-clear\"\n styles={{color: this.styles.text.color, ...this.styles.clearIcon}}\n onTap={() => {\n this.onDateChange(null as any, null as any);\n this.clearBtnClicked = true;\n }}/>)) || null}\n {this.addTouchableOpacity(props, (\n <WmIcon iconclass={this.getIcon()} styles={{color: this.styles.text.color, ...this.styles.calendarIcon}}/>\n ))}\n </View>\n {\n this.state.showDatePicker\n && ((Platform.OS === 'web' && this.renderWebWidget(props))\n || (Platform.OS === 'android' && this.renderNativeWidget(props))\n || (Platform.OS === 'ios' && this.renderNativeWidget(props)))\n }\n </View>\n ))\n );\n }\n}\n\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,gBAAgB,QAAQ,cAAc;AACrE,OAAOC,MAAM,MAAM,QAAQ;AAC3B,OAAOC,cAAc,MAA+B,wCAAwC;AAC5F,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,OAAOC,eAAe,MAAM,2BAA2B;AACvD,SAASC,aAAa,QAA0B,4BAA4B;AAC5E,OAAOC,aAAa,MAAM,yBAAyB;AACnD,SAASC,QAAQ,EAAEC,QAAQ,QAAQ,WAAW;AAC9C,SAASC,aAAa,QAAoC,8CAA8C;AACxG,SAASC,aAAa,QAAQ,sCAAsC;AAEpE,OAAO,MAAMC,iBAAiB,SAAST,kBAAkB,CAAkB;EAAA;IAAA;IAAA,wCACxD,KAAK;IAAA,mCACH,IAAI;IAAA,sCACA,IAAI;IAAA,mCACf,KAAK;IAAA,iCACO,IAAI;IAAA,iCACT,IAAI;IAAA,mCACX,EAAE;EAAA;AAChB;AAEA,MAAMU,YAAY,GAAG,cAAc;AACnC,MAAMC,YAAY,GAAG,cAAc;AAEnC,eAAe,MAAeC,YAAY,SAASb,aAAa,CAAuD;EAMrHc,WAAW,CAACC,KAAsB,EAA6G;IAAA,IAA3GC,YAAY,uEA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EAER;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["WmDateProps","DEFAULT_CLASS","BaseDatetime","WmDate","constructor","props","renderWidget"],"sources":["date.component.tsx"],"sourcesContent":["import WmDateProps from './date.props';\nimport { DEFAULT_CLASS } from './date.styles';\nimport BaseDatetime from '../base-datetime.component';\n\nexport default class WmDate extends BaseDatetime {\n\n constructor(props: WmDateProps) {\n super(props, DEFAULT_CLASS, new WmDateProps());\n }\n\n renderWidget(props: WmDateProps) {\n return super.renderWidget(props);\n }\n}\n"],"mappings":"AAAA,OAAOA,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAQ,eAAe;AAC7C,OAAOC,YAAY,MAAM,4BAA4B;AAErD,eAAe,MAAMC,MAAM,SAASD,YAAY,CAAC;EAE/CE,WAAW,CAACC,KAAkB,EAAE;IAC9B,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,WAAW,EAAE,CAAC;EAChD;EAEAM,YAAY,CAACD,KAAkB,EAAE;IAC/B,OAAO,KAAK,CAACC,YAAY,CAACD,KAAK,CAAC;EAClC;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["WmDatetimeProps","WmDateProps","constructor","mode","placeholder","datepattern","outputformat"],"sources":["date.props.ts"],"sourcesContent":["import WmDatetimeProps from '../datetime/datetime.props';\n\nexport default class WmDateProps extends WmDatetimeProps {\n constructor() {\n super();\n this.mode = 'date';\n this.placeholder = 'Select date';\n this.datepattern = '';\n this.outputformat = 'YYYY-MM-DD';\n }\n}"],"mappings":"AAAA,OAAOA,eAAe,MAAM,4BAA4B;AAExD,eAAe,MAAMC,WAAW,SAASD,eAAe,CAAC;EACvDE,WAAW,GAAG;IACZ,KAAK,EAAE;IACP,IAAI,CAACC,IAAI,GAAG,MAAM;IAClB,IAAI,CAACC,WAAW,GAAG,aAAa;IAChC,IAAI,CAACC,WAAW,GAAG,EAAE;IACrB,IAAI,CAACC,YAAY,GAAG,YAAY;EAClC;AACF"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
-
import { DEFAULT_CLASS as DATE_TIME_DEFAUlT_CLASS } from '../datetime/datetime.styles';
|
|
3
|
-
export const DEFAULT_CLASS = 'app-date';
|
|
4
|
-
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
-
addStyle(DEFAULT_CLASS, DATE_TIME_DEFAUlT_CLASS, {});
|
|
6
|
-
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
7
|
-
root: {
|
|
8
|
-
backgroundColor: themeVariables.inputDisabledBgColor
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=date.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BASE_THEME","DEFAULT_CLASS","DATE_TIME_DEFAUlT_CLASS","registerStyle","themeVariables","addStyle","root","backgroundColor","inputDisabledBgColor"],"sources":["date.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { WmDatetimeStyles, DEFAULT_CLASS as DATE_TIME_DEFAUlT_CLASS } from '../datetime/datetime.styles';\n\nexport type WmDateStyles = WmDatetimeStyles;\n\nexport const DEFAULT_CLASS = 'app-date';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n addStyle(DEFAULT_CLASS, DATE_TIME_DEFAUlT_CLASS, {});\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAA2BC,aAAa,IAAIC,uBAAuB,QAAQ,6BAA6B;AAIxG,OAAO,MAAMD,aAAa,GAAG,UAAU;AACvCD,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrDA,QAAQ,CAACJ,aAAa,EAAEC,uBAAuB,EAAE,CAAC,CAAC,CAAC;EACpDG,QAAQ,CAACJ,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACtCK,IAAI,EAAG;MACLC,eAAe,EAAEH,cAAc,CAACI;IAClC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","DatePickerModalContent","TimePickerModal","ModalConsumer","ThemeVariables","DatePickerProps","Date","DatePickerState","styles","root","text","modal","content","backgroundColor","INSTANCE","datepickerBgColor","DatePickerComponnent","Component","constructor","props","state","showDatePicker","mode","showTimePicker","value","modalOptions","prepareModalOptions","o","modalStyle","centered","onDateChange","date","modalService","old","setHours","getHours","setMinutes","getMinutes","setState","close","refresh","onTimeChange","hours","minutes","timemodal","prepareTimeModal","height","marginTop","createElement","visible","onDismiss","onConfirm","params","hideModal","render","showModal","validRange","startDate","minimumDate","endDate","maximumDate","locale"],"sources":["date-picker.component.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { View } from 'react-native';\nimport { DatePickerModalContent, TimePickerModal } from 'react-native-paper-dates';\nimport { BaseStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { ModalConsumer, ModalService, ModalOptions } from '@wavemaker/app-rn-runtime/core/modal.service';\nimport ThemeVariables from '@wavemaker/app-rn-runtime/styles/theme.variables';\n\nexport class DatePickerProps {\n mode?: 'date' | 'time' | 'datetime' | string = 'datetime';\n value?: Date = new Date();\n minimumDate?: Date = null as any;\n maximumDate?: Date = null as any;\n onDateChange?: Function = null as any;\n onDismiss?: Function = null as any;\n locale: string = '';\n}\n\nexport class DatePickerState {\n public value?: Date = null as any;\n public modalOptions: ModalOptions = {} as any;\n public showDatePicker = false;\n public showTimePicker = false;\n}\n\ntype DatePickerStyles = BaseStyles & {\n modal: AllStyle,\n content: AllStyle\n};\n\nconst styles: DatePickerStyles = {\n root: {},\n text: {},\n modal: {},\n content: {\n backgroundColor: ThemeVariables.INSTANCE.datepickerBgColor\n }\n};\n\nexport default class DatePickerComponnent extends React.Component<DatePickerProps, DatePickerState, any> {\n timemodal = null as any;\n constructor(props: DatePickerProps) {\n super(props);\n this.state = {\n showDatePicker: this.props.mode !== 'time',\n showTimePicker: this.props.mode === 'time',\n value: props.value,\n modalOptions: {}\n } as DatePickerState;\n }\n\n prepareModalOptions(content: ReactNode) {\n const o = this.state.modalOptions;\n o.content = content;\n o.modalStyle = styles.modal;\n o.centered = true;\n return o;\n }\n\n public onDateChange(date: Date | undefined, modalService: ModalService) {\n const old = this.state.value;\n if (old && date) {\n date.setHours(old.getHours());\n date.setMinutes(old.getMinutes());\n }\n if (this.props.mode === 'date') {\n this.setState({\n value : date,\n showDatePicker: false,\n showTimePicker: false\n }, () => {\n this.props.onDateChange && this.props.onDateChange(this.state.value);\n this.close(modalService);\n });\n } else if (date) {\n this.setState({\n value : date,\n showDatePicker: false,\n showTimePicker: true\n }, () => {\n modalService.refresh();\n });\n }\n }\n\n public onTimeChange(hours: number, minutes: number, modalService: ModalService) {\n const date = this.state.value || new Date();\n date.setHours(hours);\n date.setMinutes(minutes);\n this.setState({\n value : date,\n showDatePicker: false,\n showTimePicker: false\n }, () => {\n this.props.onDateChange && this.props.onDateChange(this.state.value);\n this.timemodal = null;\n this.close(modalService);\n });\n }\n\n prepareTimeModal(modalService: ModalService) {\n if (!this.timemodal) {\n this.timemodal = (\n <View style={{height: 600, marginTop: 600}}>\n {\n React.createElement(TimePickerModal, {\n hours : this.props.value?.getHours() || 0,\n minutes : this.props.value?.getMinutes() || 0,\n visible : true,\n onDismiss : () => this.close(modalService),\n onConfirm: (params) => {\n this.onTimeChange(params.hours, params.minutes, modalService);\n }\n })\n }\n </View>);\n }\n return this.timemodal;\n }\n\n close(modalService: ModalService) {\n modalService.hideModal(this.state.modalOptions);\n this.props.onDismiss && this.props.onDismiss();\n }\n\n render() {\n return (this.state.showDatePicker || this.state.showTimePicker) ? (\n <ModalConsumer>\n {(modalService: ModalService) => {\n modalService.showModal(this.prepareModalOptions(\n (<View style={this.state.showDatePicker ? styles.content: {}}>\n {this.state.showDatePicker && \n React.createElement(DatePickerModalContent, {\n mode: \"single\",\n date: this.props.value,\n onDismiss: () => this.close(modalService),\n onConfirm: (params) => this.onDateChange(params.date, modalService),\n validRange: {\n startDate: this.props.minimumDate,\n endDate: this.props.maximumDate\n },\n locale: this.props.locale})}\n {this.state.showTimePicker && this.prepareTimeModal(modalService)}\n </View>)\n ));\n return null;\n }}\n </ModalConsumer>): null;\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAqB,OAAO;AACxC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,sBAAsB,EAAEC,eAAe,QAAQ,0BAA0B;AAGlF,SAASC,aAAa,QAAoC,8CAA8C;AACxG,OAAOC,cAAc,MAAM,kDAAkD;AAE7E,OAAO,MAAMC,eAAe,CAAC;EAAA;IAAA,8BACsB,UAAU;IAAA,+BAC1C,IAAIC,IAAI,EAAE;IAAA,qCACJ,IAAI;IAAA,qCACJ,IAAI;IAAA,sCACC,IAAI;IAAA,mCACP,IAAI;IAAA,gCACV,EAAE;EAAA;AACvB;AAEA,OAAO,MAAMC,eAAe,CAAC;EAAA;IAAA,+BACH,IAAI;IAAA,sCACU,CAAC,CAAC;IAAA,wCACd,KAAK;IAAA,wCACL,KAAK;EAAA;AACjC;AAOA,MAAMC,MAAwB,GAAG;EAC7BC,IAAI,EAAE,CAAC,CAAC;EACRC,IAAI,EAAE,CAAC,CAAC;EACRC,KAAK,EAAE,CAAC,CAAC;EACTC,OAAO,EAAE;IACLC,eAAe,EAAET,cAAc,CAACU,QAAQ,CAACC;EAC7C;AACJ,CAAC;AAED,eAAe,MAAMC,oBAAoB,SAASjB,KAAK,CAACkB,SAAS,CAAwC;EAErGC,WAAW,CAACC,KAAsB,EAAE;IAChC,KAAK,CAACA,KAAK,CAAC;IAAC,mCAFL,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K,CAACG,cAAc,IAAI,IAAI,CAACsB,gBAAgB,CAACb,YAAY,CAAC,CAC9D,CACV,CAAC;MACF,OAAO,IAAI;IACf,CAAC,CACW,GAAG,IAAI;EAC3B;AACJ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["WmDatetimeProps","DEFAULT_CLASS","BaseDatetime","WmDatetime","constructor","props","renderWidget"],"sources":["datetime.component.tsx"],"sourcesContent":["import WmDatetimeProps from './datetime.props';\nimport { DEFAULT_CLASS, } from './datetime.styles';\nimport BaseDatetime from '../base-datetime.component';\n\nexport default class WmDatetime extends BaseDatetime {\n\n constructor(props: WmDatetimeProps) {\n super(props, DEFAULT_CLASS, new WmDatetimeProps());\n }\n\n renderWidget(props: WmDatetimeProps) {\n return super.renderWidget(props);\n }\n}"],"mappings":"AAAA,OAAOA,eAAe,MAAM,kBAAkB;AAC9C,SAASC,aAAa,QAAS,mBAAmB;AAClD,OAAOC,YAAY,MAAM,4BAA4B;AAErD,eAAe,MAAMC,UAAU,SAASD,YAAY,CAAC;EAEnDE,WAAW,CAACC,KAAsB,EAAE;IAClC,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,eAAe,EAAE,CAAC;EACpD;EAEAM,YAAY,CAACD,KAAsB,EAAE;IACnC,OAAO,KAAK,CAACC,YAAY,CAACD,KAAK,CAAC;EAClC;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseProps","WmDatetimeProps","undefined"],"sources":["datetime.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmDatetimeProps extends BaseProps {\n mode = 'datetime';\n datavalue?: string | Date | number = undefined as any;\n datepattern?: string = '';\n outputformat?: string = 'timestamp';\n mindate?: string | Date = undefined as any;\n maxdate?: string | Date = undefined as any;\n placeholder? = 'Select date time';\n readonly? = false;\n onFieldChange?: any;\n locale: string = '';\n timestamp?: any;\n triggerValidation?: any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,eAAe,SAASD,SAAS,CAAC;EAAA;IAAA;IAAA,8BAC9C,UAAU;IAAA,mCACoBE,SAAS;IAAA,qCACvB,EAAE;IAAA,sCACD,WAAW;IAAA,iCACTA,SAAS;IAAA,iCACTA,SAAS;IAAA,qCACpB,kBAAkB;IAAA,kCACrB,KAAK;IAAA;IAAA,gCAEA,EAAE;IAAA;IAAA;EAAA;AAGrB"}
|
|
@@ -1,62 +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-datetime';
|
|
4
|
-
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
-
const defaultStyles = defineStyles({
|
|
6
|
-
root: {
|
|
7
|
-
padding: 12,
|
|
8
|
-
borderWidth: 1,
|
|
9
|
-
borderStyle: 'solid',
|
|
10
|
-
borderRadius: 6,
|
|
11
|
-
backgroundColor: themeVariables.inputBackgroundColor,
|
|
12
|
-
borderColor: themeVariables.inputBorderColor,
|
|
13
|
-
justifyContent: 'center',
|
|
14
|
-
width: '100%'
|
|
15
|
-
},
|
|
16
|
-
focused: {},
|
|
17
|
-
invalid: {
|
|
18
|
-
borderBottomColor: themeVariables.inputInvalidBorderColor
|
|
19
|
-
},
|
|
20
|
-
placeholderText: {
|
|
21
|
-
color: themeVariables.inputPlaceholderColor
|
|
22
|
-
},
|
|
23
|
-
container: {
|
|
24
|
-
flexDirection: 'row',
|
|
25
|
-
alignItems: 'center'
|
|
26
|
-
},
|
|
27
|
-
text: {
|
|
28
|
-
fontSize: 16,
|
|
29
|
-
color: themeVariables.inputTextColor
|
|
30
|
-
},
|
|
31
|
-
calendarIcon: {
|
|
32
|
-
root: {
|
|
33
|
-
alignSelf: 'center'
|
|
34
|
-
},
|
|
35
|
-
icon: {
|
|
36
|
-
fontSize: 24
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
clearIcon: {
|
|
40
|
-
root: {
|
|
41
|
-
alignSelf: 'center',
|
|
42
|
-
justifyContent: 'center',
|
|
43
|
-
marginRight: 4,
|
|
44
|
-
height: 24,
|
|
45
|
-
width: 24,
|
|
46
|
-
borderRadius: 16,
|
|
47
|
-
backgroundColor: themeVariables.inputDisabledBgColor
|
|
48
|
-
},
|
|
49
|
-
icon: {
|
|
50
|
-
fontSize: 16,
|
|
51
|
-
fontWeight: 'bold'
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
56
|
-
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
57
|
-
root: {
|
|
58
|
-
backgroundColor: themeVariables.inputDisabledBgColor
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
//# sourceMappingURL=datetime.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","padding","borderWidth","borderStyle","borderRadius","backgroundColor","inputBackgroundColor","borderColor","inputBorderColor","justifyContent","width","focused","invalid","borderBottomColor","inputInvalidBorderColor","placeholderText","color","inputPlaceholderColor","container","flexDirection","alignItems","text","fontSize","inputTextColor","calendarIcon","alignSelf","icon","clearIcon","marginRight","height","inputDisabledBgColor","fontWeight"],"sources":["datetime.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';\nimport { TextStyle } from 'react-native';\n\nexport type WmDatetimeStyles = BaseStyles & {\n focused: AllStyle,\n container: AllStyle,\n placeholderText: TextStyle,\n invalid: AllStyle,\n clearIcon: WmIconStyles,\n calendarIcon: WmIconStyles\n};\n\nexport const DEFAULT_CLASS = 'app-datetime';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmDatetimeStyles = defineStyles({\n root: {\n padding: 12,\n borderWidth: 1,\n borderStyle: 'solid',\n borderRadius: 6,\n backgroundColor: themeVariables.inputBackgroundColor,\n borderColor: themeVariables.inputBorderColor,\n justifyContent: 'center',\n width: '100%'\n },\n focused: {\n\n },\n invalid: {\n borderBottomColor: themeVariables.inputInvalidBorderColor\n },\n placeholderText: {\n color: themeVariables.inputPlaceholderColor\n },\n container: {\n flexDirection: 'row',\n alignItems: 'center'\n },\n text: {\n fontSize: 16,\n color: themeVariables.inputTextColor\n },\n calendarIcon: {\n root: {\n alignSelf: 'center'\n },\n icon: {\n fontSize: 24\n }\n },\n clearIcon: {\n root : {\n alignSelf: 'center',\n justifyContent: 'center',\n marginRight: 4,\n height: 24,\n width: 24,\n borderRadius: 16,\n backgroundColor: themeVariables.inputDisabledBgColor\n },\n icon: {\n fontSize: 16,\n fontWeight: 'bold'\n }\n } as WmIconStyles\n }) as WmDatetimeStyles;\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;AAaxF,OAAO,MAAMC,aAAa,GAAG,cAAc;AAC3CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA+B,GAAGL,YAAY,CAAC;IACjDM,IAAI,EAAE;MACFC,OAAO,EAAE,EAAE;MACXC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,YAAY,EAAE,CAAC;MACfC,eAAe,EAAER,cAAc,CAACS,oBAAoB;MACpDC,WAAW,EAAEV,cAAc,CAACW,gBAAgB;MAC5CC,cAAc,EAAE,QAAQ;MACxBC,KAAK,EAAE;IACX,CAAC;IACDC,OAAO,EAAE,CAET,CAAC;IACDC,OAAO,EAAE;MACLC,iBAAiB,EAAEhB,cAAc,CAACiB;IACtC,CAAC;IACDC,eAAe,EAAE;MACfC,KAAK,EAAEnB,cAAc,CAACoB;IACxB,CAAC;IACDC,SAAS,EAAE;MACPC,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE;IAChB,CAAC;IACDC,IAAI,EAAE;MACFC,QAAQ,EAAE,EAAE;MACZN,KAAK,EAAEnB,cAAc,CAAC0B;IAC1B,CAAC;IACDC,YAAY,EAAE;MACVxB,IAAI,EAAE;QACFyB,SAAS,EAAE;MACf,CAAC;MACDC,IAAI,EAAE;QACFJ,QAAQ,EAAE;MACd;IACJ,CAAC;IACDK,SAAS,EAAG;MACR3B,IAAI,EAAG;QACHyB,SAAS,EAAE,QAAQ;QACnBhB,cAAc,EAAE,QAAQ;QACxBmB,WAAW,EAAE,CAAC;QACdC,MAAM,EAAE,EAAE;QACVnB,KAAK,EAAE,EAAE;QACTN,YAAY,EAAE,EAAE;QAChBC,eAAe,EAAER,cAAc,CAACiC;MACpC,CAAC;MACDJ,IAAI,EAAE;QACFJ,QAAQ,EAAE,EAAE;QACZS,UAAU,EAAE;MAChB;IACJ;EACJ,CAAC,CAAqB;EAEtBjC,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACtCK,IAAI,EAAG;MACPK,eAAe,EAAER,cAAc,CAACiC;IAChC;EACJ,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["WmTimeProps","DEFAULT_CLASS","BaseDatetime","WmTime","constructor","props","onDateChange","$event","date","timestamp","state","dateValue","renderWidget"],"sources":["time.component.tsx"],"sourcesContent":["import WmTimeProps from './time.props';\nimport { DEFAULT_CLASS, } from './time.styles';\nimport BaseDatetime from '../base-datetime.component';\nimport { DateTimePickerEvent } from '@react-native-community/datetimepicker';\n\nexport default class WmTime extends BaseDatetime {\n\n constructor(props: WmTimeProps) {\n super(props, DEFAULT_CLASS, new WmTimeProps());\n }\n\n onDateChange($event: DateTimePickerEvent, date?: Date): void {\n super.onDateChange($event, date);\n }\n\n get timestamp() {\n return this.state.dateValue;\n }\n\n renderWidget(props: WmTimeProps) {\n return super.renderWidget(props);\n }\n}"],"mappings":"AAAA,OAAOA,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAS,eAAe;AAC9C,OAAOC,YAAY,MAAM,4BAA4B;AAGrD,eAAe,MAAMC,MAAM,SAASD,YAAY,CAAC;EAE/CE,WAAW,CAACC,KAAkB,EAAE;IAC9B,KAAK,CAACA,KAAK,EAAEJ,aAAa,EAAE,IAAID,WAAW,EAAE,CAAC;EAChD;EAEAM,YAAY,CAACC,MAA2B,EAAEC,IAAW,EAAQ;IAC3D,KAAK,CAACF,YAAY,CAACC,MAAM,EAAEC,IAAI,CAAC;EAClC;EAEA,IAAIC,SAAS,GAAG;IACd,OAAO,IAAI,CAACC,KAAK,CAACC,SAAS;EAC7B;EAEAC,YAAY,CAACP,KAAkB,EAAE;IAC/B,OAAO,KAAK,CAACO,YAAY,CAACP,KAAK,CAAC;EAClC;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["WmDatetimeProps","WmDateProps","constructor","mode","placeholder","datepattern","timepattern","outputformat"],"sources":["time.props.ts"],"sourcesContent":["import WmDatetimeProps from '../datetime/datetime.props';\n\nexport default class WmDateProps extends WmDatetimeProps {\n public timepattern = '';\n constructor() {\n super();\n this.mode = 'time';\n this.placeholder = 'Select time';\n this.datepattern = this.timepattern;\n this.outputformat = 'HH:mm:ss';\n }\n}"],"mappings":";;;AAAA,OAAOA,eAAe,MAAM,4BAA4B;AAExD,eAAe,MAAMC,WAAW,SAASD,eAAe,CAAC;EAEvDE,WAAW,GAAG;IACZ,KAAK,EAAE;IAAC,qCAFW,EAAE;IAGrB,IAAI,CAACC,IAAI,GAAG,MAAM;IAClB,IAAI,CAACC,WAAW,GAAG,aAAa;IAChC,IAAI,CAACC,WAAW,GAAG,IAAI,CAACC,WAAW;IACnC,IAAI,CAACC,YAAY,GAAG,UAAU;EAChC;AACF"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
-
import { DEFAULT_CLASS as DATE_TIME_DEFAUlT_CLASS } from '../datetime/datetime.styles';
|
|
3
|
-
export const DEFAULT_CLASS = 'app-time';
|
|
4
|
-
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
-
addStyle(DEFAULT_CLASS, DATE_TIME_DEFAUlT_CLASS, {});
|
|
6
|
-
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
7
|
-
root: {
|
|
8
|
-
backgroundColor: themeVariables.inputDisabledBgColor
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=time.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BASE_THEME","DEFAULT_CLASS","DATE_TIME_DEFAUlT_CLASS","registerStyle","themeVariables","addStyle","root","backgroundColor","inputDisabledBgColor"],"sources":["time.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { WmDatetimeStyles, DEFAULT_CLASS as DATE_TIME_DEFAUlT_CLASS } from '../datetime/datetime.styles';\n\nexport type WmTimeStyles = WmDatetimeStyles;\n\nexport const DEFAULT_CLASS = 'app-time';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n addStyle(DEFAULT_CLASS, DATE_TIME_DEFAUlT_CLASS, {});\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n root : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n });\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAA2BC,aAAa,IAAIC,uBAAuB,QAAQ,6BAA6B;AAIxG,OAAO,MAAMD,aAAa,GAAG,UAAU;AACvCD,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrDA,QAAQ,CAACJ,aAAa,EAAEC,uBAAuB,EAAE,CAAC,CAAC,CAAC;EACpDG,QAAQ,CAACJ,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACtCK,IAAI,EAAG;MACLC,eAAe,EAAEH,cAAc,CAACI;IAClC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Platform","View","DocumentPicker","BaseComponent","BaseComponentState","WmFileuploadProps","DEFAULT_CLASS","WmButton","WmFileuploadState","namedParameters","copyToCacheDirectory","multiple","type","WmFileupload","constructor","props","onTap","getDocumentAsync","then","response","selectedFile","OS","mimeType","file","invokeEventCallback","proxy","updateState","selectedFiles","bind","renderWidget","styles","root","_background","iconclass","caption","button","iconsize"],"sources":["fileupload.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Platform, View } from 'react-native';\nimport * as DocumentPicker from 'expo-document-picker';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmFileuploadProps from './fileupload.props';\nimport { DEFAULT_CLASS, WmFileuploadStyles } from './fileupload.styles';\nimport WmButton from '@wavemaker/app-rn-runtime/components/basic/button/button.component';\n\n\nexport interface SelectFileOutput {\n mimeType: string;\n name: string;\n size: number;\n type: 'cancel' | 'success';\n uri: string;\n}\n\nexport class WmFileuploadState extends BaseComponentState<WmFileuploadProps> {\n selectedFiles: any;\n}\n\nconst namedParameters = {\n copyToCacheDirectory: false,\n multiple: false,\n type: '*/*'\n};\n\nexport default class WmFileupload extends BaseComponent<WmFileuploadProps, WmFileuploadState, WmFileuploadStyles> {\n\n constructor(props: WmFileuploadProps) {\n super(props, DEFAULT_CLASS, new WmFileuploadProps());\n }\n\n onTap() {\n DocumentPicker.getDocumentAsync(namedParameters).then((response: any) => {\n let selectedFile;\n if (Platform.OS !== 'web') {\n selectedFile = response;\n selectedFile.type = selectedFile.mimeType;\n } else {\n selectedFile = response.file;\n }\n this.invokeEventCallback('onBeforeselect', [null, this.proxy, selectedFile]);\n\n this.updateState({\n props: {\n selectedFiles: selectedFile\n }\n } as WmFileuploadState, this.invokeEventCallback.bind(this, 'onSelect', [null, this.proxy, selectedFile]));\n });\n }\n\n renderWidget(props: WmFileuploadProps) {\n return <View style={this.styles.root}>\n {this._background}\n <WmButton iconclass={props.iconclass} caption={props.caption} styles={this.styles.button} iconsize={props.iconsize} onTap={this.onTap.bind(this)}></WmButton>\n </View>\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAC7C,OAAO,KAAKC,cAAc,MAAM,sBAAsB;AAEtD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,iBAAiB,MAAM,oBAAoB;AAClD,SAASC,aAAa,QAA4B,qBAAqB;AACvE,OAAOC,QAAQ,MAAM,oEAAoE;AAWzF,OAAO,MAAMC,iBAAiB,SAASJ,kBAAkB,CAAoB;EAAA;IAAA;IAAA;EAAA;AAE7E;AAEA,MAAMK,eAAe,GAAG;EACtBC,oBAAoB,EAAE,KAAK;EAC3BC,QAAQ,EAAE,KAAK;EACfC,IAAI,EAAE;AACR,CAAC;AAED,eAAe,MAAMC,YAAY,SAASV,aAAa,CAA2D;EAEhHW,WAAW,CAACC,KAAwB,EAAE;IACpC,KAAK,CAACA,KAAK,EAAET,aAAa,EAAE,IAAID,iBAAiB,EAAE,CAAC;EACtD;EAEAW,KAAK,GAAG;IACNd,cAAc,CAACe,gBAAgB,CAACR,eAAe,CAAC,CAACS,IAAI,CAAEC,QAAa,IAAK;MACvE,IAAIC,YAAY;MAChB,IAAIpB,QAAQ,CAACqB,EAAE,KAAK,KAAK,EAAE;QACzBD,YAAY,GAAGD,QAAQ;QACvBC,YAAY,CAACR,IAAI,GAAGQ,YAAY,CAACE,QAAQ;MAC3C,CAAC,MAAM;QACLF,YAAY,GAAGD,QAAQ,CAACI,IAAI;MAC9B;MACA,IAAI,CAACC,mBAAmB,CAAC,gBAAgB,EAAE,CAAC,IAAI,EAAE,IAAI,CAACC,KAAK,EAAEL,YAAY,CAAC,CAAC;MAE5E,IAAI,CAACM,WAAW,CAAC;QACbX,KAAK,EAAE;UACPY,aAAa,EAAEP;QACjB;MACF,CAAC,EAAuB,IAAI,CAACI,mBAAmB,CAACI,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,CAACH,KAAK,EAAEL,YAAY,CAAC,CAAC,CAAC;IAC5G,CAAC,CAAC;EACJ;EAEAS,YAAY,CAACd,KAAwB,EAAE;IACrC,oBAAO,oBAAC,IAAI;MAAC,KAAK,EAAE,IAAI,CAACe,MAAM,CAACC;IAAK,GAClC,IAAI,CAACC,WAAW,eACjB,oBAAC,QAAQ;MAAC,SAAS,EAAEjB,KAAK,CAACkB,SAAU;MAAC,OAAO,EAAElB,KAAK,CAACmB,OAAQ;MAAC,MAAM,EAAE,IAAI,CAACJ,MAAM,CAACK,MAAO;MAAC,QAAQ,EAAEpB,KAAK,CAACqB,QAAS;MAAC,KAAK,EAAE,IAAI,CAACpB,KAAK,CAACY,IAAI,CAAC,IAAI;IAAE,EAAY,CACxJ;EACT;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseProps","WmFileuploadProps"],"sources":["fileupload.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport default class WmFileuploadProps extends BaseProps {\n iconclass: string = 'wm-sl-l sl-cloud-upload';\n iconsize: number = 16;\n caption: string = 'Upload';\n selectedFiles?: any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,iBAAiB,SAASD,SAAS,CAAC;EAAA;IAAA;IAAA,mCACnC,yBAAyB;IAAA,kCAC1B,EAAE;IAAA,iCACH,QAAQ;IAAA;EAAA;AAE5B"}
|
|
@@ -1,50 +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
|
-
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; }
|
|
3
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
4
|
-
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); }
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { Platform, TextInput } from 'react-native';
|
|
7
|
-
import { isNull } from 'lodash';
|
|
8
|
-
import WmNumberProps from './number.props';
|
|
9
|
-
import { DEFAULT_CLASS } from './number.styles';
|
|
10
|
-
import { BaseNumberComponent, BaseNumberState } from '@wavemaker/app-rn-runtime/components/input/basenumber/basenumber.component';
|
|
11
|
-
export class WmNumberState extends BaseNumberState {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
_defineProperty(this, "keyboardType", void 0);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export default class WmNumber extends BaseNumberComponent {
|
|
18
|
-
constructor(props) {
|
|
19
|
-
super(props, DEFAULT_CLASS, new WmNumberProps(), new WmNumberState());
|
|
20
|
-
}
|
|
21
|
-
renderWidget(props) {
|
|
22
|
-
var _this$state$textValue;
|
|
23
|
-
let opts = {};
|
|
24
|
-
const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';
|
|
25
|
-
opts[valueExpr] = ((_this$state$textValue = this.state.textValue) === null || _this$state$textValue === void 0 ? void 0 : _this$state$textValue.toString()) || '';
|
|
26
|
-
return /*#__PURE__*/React.createElement(TextInput, _extends({
|
|
27
|
-
ref: ref => {
|
|
28
|
-
this.widgetRef = ref;
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
ref.selectionStart = ref.selectionEnd = this.cursor;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}, opts, {
|
|
36
|
-
style: [this.styles.root, this.state.isValid ? {} : this.styles.invalid],
|
|
37
|
-
keyboardType: "numeric",
|
|
38
|
-
placeholderTextColor: this.styles.placeholderText.color,
|
|
39
|
-
autoFocus: props.autofocus,
|
|
40
|
-
editable: props.disabled || props.readonly ? false : true,
|
|
41
|
-
placeholder: props.placeholder || 'Enter number',
|
|
42
|
-
onBlur: this.onBlur.bind(this),
|
|
43
|
-
onFocus: this.onFocus.bind(this),
|
|
44
|
-
onKeyPress: this.validateInputEntry.bind(this),
|
|
45
|
-
onChangeText: this.onChangeText.bind(this),
|
|
46
|
-
onChange: this.invokeChange.bind(this)
|
|
47
|
-
}));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=number.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Platform","TextInput","isNull","WmNumberProps","DEFAULT_CLASS","BaseNumberComponent","BaseNumberState","WmNumberState","WmNumber","constructor","props","renderWidget","opts","valueExpr","OS","state","textValue","toString","ref","widgetRef","selectionStart","selectionEnd","cursor","styles","root","isValid","invalid","placeholderText","color","autofocus","disabled","readonly","placeholder","onBlur","bind","onFocus","validateInputEntry","onChangeText","invokeChange"],"sources":["number.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Platform, TextInput } from 'react-native';\nimport { isNull } from 'lodash';\n\nimport WmNumberProps from './number.props';\nimport { DEFAULT_CLASS, WmNumberStyles } from './number.styles';\nimport {\n BaseNumberComponent,\n BaseNumberState\n} from '@wavemaker/app-rn-runtime/components/input/basenumber/basenumber.component';\nimport { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmNumberState extends BaseNumberState<WmNumberProps> {\n keyboardType: any;\n}\n\nexport default class WmNumber extends BaseNumberComponent<WmNumberProps, WmNumberState, WmNumberStyles> {\n\n constructor(props: WmNumberProps) {\n super(props, DEFAULT_CLASS, new WmNumberProps(), new WmNumberState());\n }\n\n renderWidget(props: WmNumberProps) {\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 {...opts}\n style={[this.styles.root, this.state.isValid ? {} : this.styles.invalid]}\n keyboardType=\"numeric\"\n placeholderTextColor={this.styles.placeholderText.color as any}\n autoFocus={props.autofocus}\n editable={props.disabled || props.readonly ? false : true}\n placeholder={props.placeholder || 'Enter number'}\n onBlur={this.onBlur.bind(this)}\n onFocus={this.onFocus.bind(this)}\n onKeyPress={this.validateInputEntry.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,SAASC,MAAM,QAAQ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AS,EAAElB,KAAK,CAACmB,SAAU;MAC3B,QAAQ,EAAEnB,KAAK,CAACoB,QAAQ,IAAIpB,KAAK,CAACqB,QAAQ,GAAG,KAAK,GAAG,IAAK;MAC1D,WAAW,EAAErB,KAAK,CAACsB,WAAW,IAAI,cAAe;MACjD,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,kBAAkB,CAACF,IAAI,CAAC,IAAI,CAAE;MAC/C,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,12 +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 BaseNumberProps from '@wavemaker/app-rn-runtime/components/input/basenumber/basenumber.props';
|
|
5
|
-
export default class WmNumberProps extends BaseNumberProps {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
_defineProperty(this, "autofocus", null);
|
|
9
|
-
_defineProperty(this, "placeholder", 'Enter number');
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=number.props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BaseNumberProps","WmNumberProps"],"sources":["number.props.ts"],"sourcesContent":["import BaseNumberProps from '@wavemaker/app-rn-runtime/components/input/basenumber/basenumber.props';\n\nexport default class WmNumberProps extends BaseNumberProps {\n autofocus: boolean = null as any;\n placeholder: string = 'Enter number';\n}\n"],"mappings":";;;AAAA,OAAOA,eAAe,MAAM,wEAAwE;AAEpG,eAAe,MAAMC,aAAa,SAASD,eAAe,CAAC;EAAA;IAAA;IAAA,mCACpC,IAAI;IAAA,qCACH,cAAc;EAAA;AACtC"}
|
|
@@ -1,33 +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-number';
|
|
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
|
-
},
|
|
14
|
-
text: {
|
|
15
|
-
fontSize: 16,
|
|
16
|
-
textAlign: 'left'
|
|
17
|
-
},
|
|
18
|
-
invalid: {
|
|
19
|
-
borderBottomColor: themeVariables.inputInvalidBorderColor
|
|
20
|
-
},
|
|
21
|
-
placeholderText: {
|
|
22
|
-
color: themeVariables.inputPlaceholderColor
|
|
23
|
-
},
|
|
24
|
-
skeleton: {}
|
|
25
|
-
});
|
|
26
|
-
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
27
|
-
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
28
|
-
root: {
|
|
29
|
-
backgroundColor: themeVariables.inputDisabledBgColor
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
//# sourceMappingURL=number.styles.js.map
|