@wavemaker/app-rn-runtime 11.4.3-next.30201 → 11.4.3-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/components/advanced/carousel/carousel.component.js +209 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/login/login.component.js +39 -0
- package/components/advanced/login/login.component.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js +114 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
- package/components/advanced/webview/webview.component.js +130 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/basic/anchor/anchor.component.js +71 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/audio/audio.component.js +245 -0
- package/components/basic/audio/audio.component.js.map +1 -0
- package/components/basic/button/button.component.js +53 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.styles.js +134 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.js +51 -0
- package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
- package/components/basic/icon/icon.component.js +196 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/label/label.component.js +122 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.styles.js +123 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/message/message.component.js +76 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/picture/picture.component.js +189 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js +38 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.js +29 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js +76 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/search/search.component.js +417 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.styles.js +172 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/spinner/spinner.component.js +91 -0
- package/components/basic/spinner/spinner.component.js.map +1 -0
- package/components/basic/spinner/spinner.styles.js +40 -0
- package/components/basic/spinner/spinner.styles.js.map +1 -0
- package/components/basic/video/video.component.js +57 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/container/accordion/accordion.component.js +145 -0
- package/components/container/accordion/accordion.component.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js +75 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
- package/components/container/container.component.js +38 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/panel/collapsible-pane.component.js +26 -0
- package/components/container/panel/collapsible-pane.component.js.map +1 -0
- package/components/container/panel/panel.component.js +109 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.styles.js +105 -0
- package/components/container/panel/panel.styles.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.js +184 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.js +68 -0
- package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
- package/components/container/tabs/tabs.component.js +230 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/tile/tile.component.js +22 -0
- package/components/container/tile/tile.component.js.map +1 -0
- package/components/container/wizard/wizard.component.js +181 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +194 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/data/card/card.component.js +68 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/form/form-action/form-action.component.js +34 -0
- package/components/data/form/form-action/form-action.component.js.map +1 -0
- package/components/data/form/form-field/form-field.component.js +226 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form.component.js +399 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/list/list-template/list-template.styles.js +26 -0
- package/components/data/list/list-template/list-template.styles.js.map +1 -0
- package/components/data/list/list.component.js +313 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.styles.js +129 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.js +47 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.styles.js +31 -0
- package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
- package/components/device/camera/camera.component.js +65 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.styles.js +31 -0
- package/components/device/camera/camera.styles.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js +67 -0
- package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js +33 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js +73 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.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 +94 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.styles.js +70 -0
- package/components/dialogs/dialog/dialog.styles.js.map +1 -0
- package/components/input/calendar/calendar.component.js +139 -0
- package/components/input/calendar/calendar.component.js.map +1 -0
- package/components/input/calendar/calendar.styles.js +143 -0
- package/components/input/calendar/calendar.styles.js.map +1 -0
- package/components/input/calendar/views/month-view.js +195 -0
- package/components/input/calendar/views/month-view.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js +95 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js +92 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/chips/chips.component.js +270 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.styles.js +93 -0
- package/components/input/chips/chips.styles.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.styles.js +72 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +274 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/fileupload/fileupload.component.js +56 -0
- package/components/input/fileupload/fileupload.component.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.styles.js +42 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +61 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/rating/rating.component.js +144 -0
- package/components/input/rating/rating.component.js.map +1 -0
- package/components/input/select/select.component.js +184 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.styles.js +99 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +148 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.styles.js +58 -0
- package/components/input/slider/slider.styles.js.map +1 -0
- package/components/input/switch/switch.component.js +73 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.styles.js +117 -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.styles.js +48 -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/toggle/toggle.component.js +95 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +55 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js +57 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js +160 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/menu/menu.component.js +63 -0
- package/components/navigation/menu/menu.component.js.map +1 -0
- package/components/navigation/menu/menu.styles.js +71 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navbar/navbar.component.js +77 -0
- package/components/navigation/navbar/navbar.component.js.map +1 -0
- package/components/navigation/navitem/navitem.component.js +66 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.styles.js +80 -0
- package/components/navigation/navitem/navitem.styles.js.map +1 -0
- package/components/navigation/popover/popover.component.js +129 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.styles.js +75 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/left-panel/left-panel.styles.js +18 -0
- package/components/page/left-panel/left-panel.styles.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js +103 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/core/base.component.js +425 -0
- package/core/base.component.js.map +1 -0
- package/core/change.queue.js +26 -0
- package/core/change.queue.js.map +1 -0
- package/core/formatters.js +61 -0
- package/core/formatters.js.map +1 -0
- package/core/tappable.component.js +82 -0
- package/core/tappable.component.js.map +1 -0
- package/core/testid.provider.js +5 -0
- package/core/testid.provider.js.map +1 -0
- package/package.json +244 -0
- package/runtime/App.js +480 -0
- package/runtime/App.js.map +1 -0
- package/runtime/base-fragment.component.js +340 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/services/device/camera-service.js +349 -0
- package/runtime/services/device/camera-service.js.map +1 -0
- package/runtime/services/device/scan-service.js +136 -0
- package/runtime/services/device/scan-service.js.map +1 -0
- package/styles/fdfd.css +56 -0
- package/styles/theme.variables.js +403 -0
- package/styles/theme.variables.js.map +1 -0
- app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -201
- app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
- app-rn-runtime/components/advanced/login/login.component.js +0 -38
- app-rn-runtime/components/advanced/login/login.component.js.map +0 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -113
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.component.js +0 -129
- app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.component.js +0 -69
- app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
- app-rn-runtime/components/basic/audio/audio.component.js +0 -240
- app-rn-runtime/components/basic/audio/audio.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.component.js +0 -52
- app-rn-runtime/components/basic/button/button.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.styles.js +0 -124
- app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js +0 -50
- app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.component.js +0 -195
- app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
- app-rn-runtime/components/basic/label/label.component.js +0 -65
- app-rn-runtime/components/basic/label/label.component.js.map +0 -1
- app-rn-runtime/components/basic/label/label.styles.js +0 -122
- app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
- app-rn-runtime/components/basic/message/message.component.js +0 -73
- app-rn-runtime/components/basic/message/message.component.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.component.js +0 -187
- app-rn-runtime/components/basic/picture/picture.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +0 -36
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js +0 -29
- app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +0 -75
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +0 -1
- app-rn-runtime/components/basic/search/search.component.js +0 -413
- app-rn-runtime/components/basic/search/search.component.js.map +0 -1
- app-rn-runtime/components/basic/search/search.styles.js +0 -171
- app-rn-runtime/components/basic/search/search.styles.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.component.js +0 -87
- app-rn-runtime/components/basic/spinner/spinner.component.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.styles.js +0 -39
- 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/container/accordion/accordion.component.js +0 -142
- app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +0 -94
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -1
- app-rn-runtime/components/container/container.component.js +0 -37
- app-rn-runtime/components/container/container.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.component.js +0 -127
- app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.styles.js +0 -98
- app-rn-runtime/components/container/panel/panel.styles.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +0 -182
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +0 -64
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.component.js +0 -229
- app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.component.js +0 -21
- app-rn-runtime/components/container/tile/tile.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.component.js +0 -176
- app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.styles.js +0 -183
- app-rn-runtime/components/container/wizard/wizard.styles.js.map +0 -1
- app-rn-runtime/components/data/card/card.component.js +0 -67
- app-rn-runtime/components/data/card/card.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -33
- app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.component.js +0 -225
- app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
- app-rn-runtime/components/data/form/form.component.js +0 -396
- app-rn-runtime/components/data/form/form.component.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.styles.js +0 -22
- 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 -307
- app-rn-runtime/components/data/list/list.component.js.map +0 -1
- app-rn-runtime/components/data/list/list.styles.js +0 -122
- app-rn-runtime/components/data/list/list.styles.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +0 -46
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js +0 -30
- app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.component.js +0 -64
- app-rn-runtime/components/device/camera/camera.component.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.styles.js +0 -30
- app-rn-runtime/components/device/camera/camera.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +0 -64
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js +0 -27
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +0 -69
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -58
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.component.js +0 -92
- app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js +0 -61
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.component.js +0 -135
- app-rn-runtime/components/input/calendar/calendar.component.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.styles.js +0 -132
- app-rn-runtime/components/input/calendar/calendar.styles.js.map +0 -1
- app-rn-runtime/components/input/calendar/views/month-view.js +0 -191
- app-rn-runtime/components/input/calendar/views/month-view.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.component.js +0 -95
- app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js +0 -91
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.component.js +0 -266
- app-rn-runtime/components/input/chips/chips.component.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.styles.js +0 -85
- app-rn-runtime/components/input/chips/chips.styles.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.component.js +0 -70
- app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.styles.js +0 -64
- app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -272
- app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.component.js +0 -55
- app-rn-runtime/components/input/fileupload/fileupload.component.js.map +0 -1
- app-rn-runtime/components/input/number/number.component.js +0 -52
- app-rn-runtime/components/input/number/number.component.js.map +0 -1
- app-rn-runtime/components/input/number/number.styles.js +0 -38
- app-rn-runtime/components/input/number/number.styles.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.component.js +0 -60
- app-rn-runtime/components/input/radioset/radioset.component.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/select/select.component.js +0 -181
- app-rn-runtime/components/input/select/select.component.js.map +0 -1
- app-rn-runtime/components/input/select/select.styles.js +0 -98
- app-rn-runtime/components/input/select/select.styles.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.component.js +0 -77
- app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.styles.js +0 -33
- app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.component.js +0 -71
- app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.styles.js +0 -115
- app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
- app-rn-runtime/components/input/text/text.component.js +0 -47
- app-rn-runtime/components/input/text/text.component.js.map +0 -1
- app-rn-runtime/components/input/text/text.styles.js +0 -44
- app-rn-runtime/components/input/text/text.styles.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.component.js +0 -48
- app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.component.js +0 -94
- app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.styles.js +0 -43
- app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +0 -52
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js +0 -160
- app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.component.js +0 -61
- app-rn-runtime/components/navigation/menu/menu.component.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.styles.js +0 -67
- app-rn-runtime/components/navigation/menu/menu.styles.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.component.js +0 -74
- app-rn-runtime/components/navigation/navbar/navbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.component.js +0 -62
- app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.styles.js +0 -76
- app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.component.js +0 -126
- app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.styles.js +0 -69
- app-rn-runtime/components/navigation/popover/popover.styles.js.map +0 -1
- app-rn-runtime/components/page/left-panel/left-panel.styles.js +0 -13
- app-rn-runtime/components/page/left-panel/left-panel.styles.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.component.js +0 -102
- app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
- app-rn-runtime/core/base.component.js +0 -382
- app-rn-runtime/core/base.component.js.map +0 -1
- app-rn-runtime/core/formatters.js +0 -54
- app-rn-runtime/core/formatters.js.map +0 -1
- app-rn-runtime/core/tappable.component.js +0 -72
- app-rn-runtime/core/tappable.component.js.map +0 -1
- app-rn-runtime/package.json +0 -243
- app-rn-runtime/runtime/App.js +0 -465
- app-rn-runtime/runtime/App.js.map +0 -1
- app-rn-runtime/runtime/base-fragment.component.js +0 -330
- app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
- app-rn-runtime/runtime/services/device/camera-service.js +0 -332
- app-rn-runtime/runtime/services/device/camera-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/scan-service.js +0 -122
- app-rn-runtime/runtime/services/device/scan-service.js.map +0 -1
- app-rn-runtime/styles/theme.variables.js +0 -392
- app-rn-runtime/styles/theme.variables.js.map +0 -1
- {app-rn-runtime → package}/actions/base-action.js +0 -0
- {app-rn-runtime → package}/actions/base-action.js.map +0 -0
- {app-rn-runtime → package}/actions/index.js +0 -0
- {app-rn-runtime → package}/actions/index.js.map +0 -0
- {app-rn-runtime → package}/actions/login-action.js +0 -0
- {app-rn-runtime → package}/actions/login-action.js.map +0 -0
- {app-rn-runtime → package}/actions/logout-action.js +0 -0
- {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
- {app-rn-runtime → package}/actions/navigation-action.js +0 -0
- {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
- {app-rn-runtime → package}/actions/notification-action.js +0 -0
- {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
- {app-rn-runtime → package}/actions/timer-action.js +0 -0
- {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
- {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
- {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
- {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +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.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
- {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
- {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
- {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +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/spinner/spinner.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +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.component.js.map +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.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/basechart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/basechart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
- {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
- {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/container.props.js +0 -0
- {app-rn-runtime → package}/components/container/container.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
- {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list.props.js +0 -0
- {app-rn-runtime → package}/components/data/list/list.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
- {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +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.props.js +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
- {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
- {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
- {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
- {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.props.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.component.js.map +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.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.component.js +0 -0
- {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.props.js +0 -0
- {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
- {app-rn-runtime → package}/core/AppConfig.js +0 -0
- {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
- {app-rn-runtime → package}/core/asset.provider.js +0 -0
- {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
- {app-rn-runtime → package}/core/components/textinput.component.js +0 -0
- {app-rn-runtime → package}/core/components/textinput.component.js.map +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/camera-service.js +0 -0
- {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/location-service.js +0 -0
- {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/scan-service.js +0 -0
- {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
- {app-rn-runtime → package}/core/display.manager.js +0 -0
- {app-rn-runtime → package}/core/display.manager.js.map +0 -0
- {app-rn-runtime → package}/core/event-notifier.js +0 -0
- {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
- {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
- {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
- {app-rn-runtime → package}/core/i18n.service.js +0 -0
- {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
- {app-rn-runtime → package}/core/if.component.js +0 -0
- {app-rn-runtime → package}/core/if.component.js.map +0 -0
- {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
- {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
- {app-rn-runtime → package}/core/injector.js +0 -0
- {app-rn-runtime → package}/core/injector.js.map +0 -0
- {app-rn-runtime → package}/core/key.extractor.js +0 -0
- {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
- {app-rn-runtime → package}/core/logger.js +0 -0
- {app-rn-runtime → package}/core/logger.js.map +0 -0
- {app-rn-runtime → package}/core/modal.service.js +0 -0
- {app-rn-runtime → package}/core/modal.service.js.map +0 -0
- {app-rn-runtime → package}/core/navigation.service.js +0 -0
- {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
- {app-rn-runtime → package}/core/network.service.js +0 -0
- {app-rn-runtime → package}/core/network.service.js.map +0 -0
- {app-rn-runtime → package}/core/partial.service.js +0 -0
- {app-rn-runtime → package}/core/partial.service.js.map +0 -0
- {app-rn-runtime → package}/core/props.provider.js +0 -0
- {app-rn-runtime → package}/core/props.provider.js.map +0 -0
- {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
- {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
- {app-rn-runtime → package}/core/security.service.js +0 -0
- {app-rn-runtime → package}/core/security.service.js.map +0 -0
- {app-rn-runtime → package}/core/spinner.service.js +0 -0
- {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
- {app-rn-runtime → package}/core/storage.service.js +0 -0
- {app-rn-runtime → package}/core/storage.service.js.map +0 -0
- {app-rn-runtime → package}/core/toast.service.js +0 -0
- {app-rn-runtime → package}/core/toast.service.js.map +0 -0
- {app-rn-runtime → package}/core/utils.js +0 -0
- {app-rn-runtime → package}/core/utils.js.map +0 -0
- {app-rn-runtime → package}/core/viewport.js +0 -0
- {app-rn-runtime → package}/core/viewport.js.map +0 -0
- {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
- {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
- {app-rn-runtime → package}/index.js +0 -0
- {app-rn-runtime → package}/index.js.map +0 -0
- {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-page.component.js +0 -0
- {app-rn-runtime → package}/runtime/base-page.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
- {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
- {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
- {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
- {app-rn-runtime → package}/runtime/memo.component.js +0 -0
- {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
- {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-security.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/watcher.js +0 -0
- {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
- {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
- {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
- {app-rn-runtime → package}/styles/background.component.js +0 -0
- {app-rn-runtime → package}/styles/background.component.js.map +0 -0
- {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
- {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
- {app-rn-runtime → package}/styles/style-props.js +0 -0
- {app-rn-runtime → package}/styles/style-props.js.map +0 -0
- {app-rn-runtime → package}/styles/theme.js +0 -0
- {app-rn-runtime → package}/styles/theme.js.map +0 -0
- {app-rn-runtime → package}/variables/base-variable.js +0 -0
- {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
- {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
- {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device-variable.js +0 -0
- {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/http.service.js +0 -0
- {app-rn-runtime → package}/variables/http.service.js.map +0 -0
- {app-rn-runtime → package}/variables/live-variable.js +0 -0
- {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/model-variable.js +0 -0
- {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/service-variable.js +0 -0
- {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
- {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
- {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Text","TouchableOpacity","Checkbox","BaseComponent","BaseComponentState","unStringify","validateField","WmCheckboxProps","DEFAULT_CLASS","WmCheckboxState","constructor","arguments","_defineProperty","WmCheckbox","props","setChecked","dataValue","checkedvalue","value","updateState","isChecked","onPropertyChange","name","$new","$old","state","datavalue","updateDatavalue","validate","validationObj","isValid","errorType","onPress","readonly","invokeEventCallback","proxy","disabled","oldValue","uncheckedvalue","onFieldChange","renderWidget","createElement","_extends","getTestPropsForAction","style","styles","root","bind","_background","Android","status","color","text","getTestPropsForLabel","checkboxLabel","caption"],"sources":["checkbox.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, TouchableOpacity } from 'react-native';\nimport { Checkbox } from 'react-native-paper';\n\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport {unStringify, validateField} from '@wavemaker/app-rn-runtime/core/utils';\n\nimport WmCheckboxProps from './checkbox.props';\nimport { DEFAULT_CLASS, WmCheckboxStyles } from './checkbox.styles';\nimport WmSkeleton, { createSkeleton } from '../../basic/skeleton/skeleton.component';\n\nexport class WmCheckboxState extends BaseComponentState<WmCheckboxProps> {\n isChecked: boolean = false;\n isValid: boolean = true;\n errorType = '';\n}\n\nexport default class WmCheckbox extends BaseComponent<WmCheckboxProps, WmCheckboxState, WmCheckboxStyles> {\n\n constructor(props: WmCheckboxProps) {\n super(props, DEFAULT_CLASS, new WmCheckboxProps(), new WmCheckboxState());\n }\n\n setChecked(dataValue: any, checkedvalue: any) {\n const value = unStringify(dataValue) === unStringify(checkedvalue, true);\n this.updateState({ isChecked: value } as WmCheckboxState);\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'checkedvalue':\n this.setChecked(this.state.props.datavalue, $new);\n break;\n case 'datavalue':\n this.setChecked($new, this.state.props.checkedvalue);\n break;\n }\n }\n\n updateDatavalue(value: any) {\n this.updateState({ props: { datavalue: value }} as WmCheckboxState);\n }\n validate(value: any) {\n const validationObj = validateField(this.state.props, value);\n this.updateState({\n isValid: validationObj.isValid,\n errorType: validationObj.errorType\n } as WmCheckboxState);\n }\n\n onPress() {\n if (!this.state.props.readonly) {\n this.invokeEventCallback('onFocus', [null, this.proxy]);\n }\n this.invokeEventCallback('onTap', [null, this.proxy]);\n if (this.state.props.disabled) {\n return;\n }\n const oldValue = this.state.props.datavalue;\n const value = !this.state.isChecked;\n this.validate(value);\n this.updateState({ isChecked: value } as WmCheckboxState);\n const dataValue = value === true ? this.state.props.checkedvalue : this.state.props.uncheckedvalue;\n this.updateState({ props: { datavalue: dataValue } } as WmCheckboxState,\n () => {\n if (!this.props.onFieldChange) {\n this.invokeEventCallback('onChange', [null, this.proxy, dataValue, oldValue]);\n } else {\n this.props.onFieldChange && this.props.onFieldChange('datavalue', dataValue, oldValue);\n }\n this.invokeEventCallback('onBlur', [ null, this.proxy ]);\n });\n }\n\n renderWidget(props: WmCheckboxProps) {\n return (\n <TouchableOpacity {...this.getTestPropsForAction()} style={this.styles.root} onPress={this.onPress.bind(this)}>\n {this._background}\n <Checkbox.Android status={this.state.isChecked ? 'checked' : 'unchecked'} color={this.styles.text.color as string} disabled={props.readonly || props.disabled}/>\n <Text {...this.getTestPropsForLabel()} style={this.styles.checkboxLabel}>{props.caption}</Text>\n </TouchableOpacity>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,gBAAgB,QAAQ,cAAc;AACrD,SAASC,QAAQ,QAAQ,oBAAoB;AAE7C,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAAQC,WAAW,EAAEC,aAAa,QAAO,sCAAsC;AAE/E,OAAOC,eAAe,MAAM,kBAAkB;AAC9C,SAASC,aAAa,QAA0B,mBAAmB;AAGnE,OAAO,MAAMC,eAAe,SAASL,kBAAkB,CAAkB;EAAAM,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAClD,KAAK;IAAAA,eAAA,kBACP,IAAI;IAAAA,eAAA,oBACX,EAAE;EAAA;AAChB;AAEA,eAAe,MAAMC,UAAU,SAASV,aAAa,CAAqD;EAExGO,WAAWA,CAACI,KAAsB,EAAE;IAClC,KAAK,CAACA,KAAK,EAAEN,aAAa,EAAE,IAAID,eAAe,CAAC,CAAC,EAAE,IAAIE,eAAe,CAAC,CAAC,CAAC;EAC3E;EAEAM,UAAUA,CAACC,SAAc,EAAEC,YAAiB,EAAE;IAC5C,MAAMC,KAAK,GAAGb,WAAW,CAACW,SAAS,CAAC,KAAKX,WAAW,CAACY,YAAY,EAAE,IAAI,CAAC;IACxE,IAAI,CAACE,WAAW,CAAC;MAAEC,SAAS,EAAEF;IAAM,CAAoB,CAAC;EAC3D;EAEAG,gBAAgBA,CAACC,IAAY,EAAEC,IAAS,EAAEC,IAAS,EAAE;IACnD,QAAQF,IAAI;MACV,KAAK,cAAc;QACjB,IAAI,CAACP,UAAU,CAAC,IAAI,CAACU,KAAK,CAACX,KAAK,CAACY,SAAS,EAAEH,IAAI,CAAC;QACjD;MACF,K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AI,CAACC,MAAM,CAACS;IAAc,IAAExC,KAAK,CAACyC,OAAc,CAChF,CAAC;EAEvB;AACF"}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { Text, View } from 'react-native';
|
|
7
|
+
import { find, forEach, isEqual } from 'lodash';
|
|
8
|
+
import { Checkbox } from 'react-native-paper';
|
|
9
|
+
import { TouchableOpacity } from 'react-native-gesture-handler';
|
|
10
|
+
import WmCheckboxsetProps from './checkboxset.props';
|
|
11
|
+
import { DEFAULT_CLASS } from './checkboxset.styles';
|
|
12
|
+
import { BaseDatasetComponent, BaseDatasetState } from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';
|
|
13
|
+
export class WmCheckboxsetState extends BaseDatasetState {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
_defineProperty(this, "isValid", true);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export default class WmCheckboxset extends BaseDatasetComponent {
|
|
20
|
+
constructor(props) {
|
|
21
|
+
super(props, DEFAULT_CLASS, new WmCheckboxsetProps());
|
|
22
|
+
}
|
|
23
|
+
onPress(item) {
|
|
24
|
+
this.invokeEventCallback('onTap', [null, this.proxy]);
|
|
25
|
+
if (this.state.props.disabled || this.state.props.readonly) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
item.selected = !item.selected;
|
|
29
|
+
const selectedValue = [];
|
|
30
|
+
const selectedItem = find(this.state.dataItems, d => isEqual(d.key, item.key));
|
|
31
|
+
const oldValue = this.state.props.datavalue;
|
|
32
|
+
selectedItem.selected = item.selected;
|
|
33
|
+
forEach(this.state.dataItems, item => {
|
|
34
|
+
if (item.selected) {
|
|
35
|
+
selectedValue.push(item.datafield);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
this.validate(selectedValue);
|
|
39
|
+
this.updateState({
|
|
40
|
+
props: {
|
|
41
|
+
datavalue: selectedValue
|
|
42
|
+
}
|
|
43
|
+
}, () => {
|
|
44
|
+
this.computeDisplayValue();
|
|
45
|
+
this.invokeEventCallback('onChange', [undefined, this.proxy, selectedValue, oldValue]);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
renderChild(item, index) {
|
|
49
|
+
const props = this.state.props;
|
|
50
|
+
const displayText = item.displayexp || item.displayfield;
|
|
51
|
+
return /*#__PURE__*/React.createElement(TouchableOpacity, _extends({}, this.getTestPropsForAction(index + ''), {
|
|
52
|
+
style: this.styles.checkboxHead,
|
|
53
|
+
onPress: this.onPress.bind(this, item),
|
|
54
|
+
key: item.key
|
|
55
|
+
}), /*#__PURE__*/React.createElement(Checkbox.Android, {
|
|
56
|
+
status: item.selected ? 'checked' : 'unchecked',
|
|
57
|
+
color: this.styles.text.color,
|
|
58
|
+
disabled: props.readonly || props.disabled
|
|
59
|
+
}), /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel(index + ''), {
|
|
60
|
+
style: this.styles.checkboxLabel
|
|
61
|
+
}), displayText));
|
|
62
|
+
}
|
|
63
|
+
updateDatavalue(value) {
|
|
64
|
+
this.updateState({
|
|
65
|
+
props: {
|
|
66
|
+
datavalue: value
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
return Promise.resolve();
|
|
70
|
+
}
|
|
71
|
+
renderGroupby() {
|
|
72
|
+
const groupedData = this.state.groupedData;
|
|
73
|
+
return /*#__PURE__*/React.createElement(View, null, groupedData && groupedData.length ? groupedData.map((groupObj, index) => {
|
|
74
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
75
|
+
key: groupObj.key
|
|
76
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
77
|
+
style: this.styles.groupHeaderTitle
|
|
78
|
+
}, groupObj.key), this.renderCheckboxses(groupObj.data));
|
|
79
|
+
}) : null);
|
|
80
|
+
}
|
|
81
|
+
renderCheckboxses(items) {
|
|
82
|
+
const props = this.state.props;
|
|
83
|
+
return /*#__PURE__*/React.createElement(View, null, items && items.length ? items.map((item, index) => this.renderChild(item, index)) : null);
|
|
84
|
+
}
|
|
85
|
+
renderWidget(props) {
|
|
86
|
+
const items = this.state.dataItems;
|
|
87
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
88
|
+
style: this.styles.root
|
|
89
|
+
}, props.groupby && this.renderGroupby(), !props.groupby && this.renderCheckboxses(items));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=checkboxset.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Text","View","find","forEach","isEqual","Checkbox","TouchableOpacity","WmCheckboxsetProps","DEFAULT_CLASS","BaseDatasetComponent","BaseDatasetState","WmCheckboxsetState","constructor","arguments","_defineProperty","WmCheckboxset","props","onPress","item","invokeEventCallback","proxy","state","disabled","readonly","selected","selectedValue","selectedItem","dataItems","d","key","oldValue","datavalue","push","datafield","validate","updateState","computeDisplayValue","undefined","renderChild","index","displayText","displayexp","displayfield","createElement","_extends","getTestPropsForAction","style","styles","checkboxHead","bind","Android","status","color","text","getTestPropsForLabel","checkboxLabel","updateDatavalue","value","Promise","resolve","renderGroupby","groupedData","length","map","groupObj","groupHeaderTitle","renderCheckboxses","data","items","renderWidget","root","groupby"],"sources":["checkboxset.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View } from 'react-native';\nimport { find, forEach, isEqual } from 'lodash';\nimport { Checkbox } from 'react-native-paper';\nimport { TouchableOpacity } from 'react-native-gesture-handler';\n\nimport WmCheckboxsetProps from './checkboxset.props';\nimport {\n DEFAULT_CLASS,\n \n WmCheckboxsetStyles,\n} from './checkboxset.styles';\nimport {\n BaseDatasetComponent,\n BaseDatasetState,\n} from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';\nimport WmSkeleton, { createSkeleton } from '../../basic/skeleton/skeleton.component';\n\nexport class WmCheckboxsetState extends BaseDatasetState<WmCheckboxsetProps> {\n isValid: boolean = true;\n}\n\nexport default class WmCheckboxset extends BaseDatasetComponent<WmCheckboxsetProps, WmCheckboxsetState, WmCheckboxsetStyles> {\n constructor(props: WmCheckboxsetProps) {\n super(props, DEFAULT_CLASS, new WmCheckboxsetProps());\n }\n\n onPress(item: any) {\n this.invokeEventCallback('onTap', [null, this.proxy]);\n if (this.state.props.disabled || this.state.props.readonly) {\n return;\n }\n item.selected = !item.selected;\n const selectedValue: any = [];\n const selectedItem = find(this.state.dataItems, d => isEqual(d.key, item.key));\n const oldValue = this.state.props.datavalue;\n selectedItem.selected = item.selected;\n forEach(this.state.dataItems, (item) => {\n if (item.selected) {\n selectedValue.push(item.datafield);\n }\n });\n this.validate(selectedValue);\n this.updateState({ props: { datavalue: selectedValue }} as WmCheckboxsetState,\n () => {\n this.computeDisplayValue();\n this.invokeEventCallback('onChange', [ undefined, this.proxy, selectedValue, oldValue ]);\n });\n }\n\n renderChild(item: any, index: any) {\n const props = this.state.props;\n const displayText = item.displayexp || item.displayfield;\n return (\n <TouchableOpacity {...this.getTestPropsForAction(index + '')} style={this.styles.checkboxHead} onPress={this.onPress.bind(this, item)} key={item.key}>\n <Checkbox.Android status={item.selected ? 'checked' : 'unchecked'} color={this.styles.text.color as string} disabled={props.readonly || props.disabled}/>\n <Text {...this.getTestPropsForLabel(index + '')} style={this.styles.checkboxLabel}>{displayText}</Text>\n </TouchableOpacity>)\n }\n\n updateDatavalue(value: any) {\n this.updateState({ props: { datavalue: value }} as WmCheckboxsetState);\n return Promise.resolve();\n }\n\n renderGroupby() {\n const groupedData = this.state.groupedData;\n return (\n <View>\n {groupedData && groupedData.length\n ? groupedData.map((groupObj: any, index: any) => {\n return(\n <View key={groupObj.key}>\n <Text style={this.styles.groupHeaderTitle}>{groupObj.key}</Text>\n {this.renderCheckboxses(groupObj.data)}\n </View>)\n })\n : null}\n </View>\n );\n }\n\n renderCheckboxses(items: any) {\n const props = this.state.props;\n return(<View>\n {items && items.length\n ? items.map((item: any, index: any) => this.renderChild(item, index))\n : null}\n </View>)\n }\n renderWidget(props: WmCheckboxsetProps) {\n const items = this.state.dataItems;\n return (\n <View style={this.styles.root}>\n {props.groupby && this.renderGroupby()}\n {!props.groupby && this.renderCheckboxses(items)}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,IAAI,EAAEC,OAAO,EAAEC,OAAO,QAAQ,QAAQ;AAC/C,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,gBAAgB,QAAQ,8BAA8B;AAE/D,OAAOC,kBAAkB,MAAM,qBAAqB;AACpD,SACEC,aAAa,QAGR,sBAAsB;AAC7B,SACEC,oBAAoB,EACpBC,gBAAgB,QACX,8EAA8E;AAGrF,OAAO,MAAMC,kBAAkB,SAASD,gBAAgB,CAAqB;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,kBACxD,IAAI;EAAA;AACzB;AAEA,eAAe,MAAMC,aAAa,SAASN,oBAAoB,CAA8D;EAC3HG,WAAWA,CAACI,KAAyB,EAAE;IACrC,KAAK,CAAC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IAAI,QACF4D,WAAW,IAAIA,WAAW,CAACC,MAAM,GAC9BD,WAAW,CAACE,GAAG,CAAC,CAACC,QAAa,EAAEzB,KAAU,KAAK;MAC/C,oBACExC,KAAA,CAAA4C,aAAA,CAAC1C,IAAI;QAAC4B,GAAG,EAAEmC,QAAQ,CAACnC;MAAI,gBACtB9B,KAAA,CAAA4C,aAAA,CAAC3C,IAAI;QAAC8C,KAAK,EAAE,IAAI,CAACC,MAAM,CAACkB;MAAiB,GAAED,QAAQ,CAACnC,GAAU,CAAC,EAC/D,IAAI,CAACqC,iBAAiB,CAACF,QAAQ,CAACG,IAAI,CACjC,CAAC;IACX,CAAC,CAAC,GACA,IACA,CAAC;EAEX;EAEAD,iBAAiBA,CAACE,KAAU,EAAE;IAC5B,MAAMpD,KAAK,GAAG,IAAI,CAACK,KAAK,CAACL,KAAK;IAC9B,oBAAOjB,KAAA,CAAA4C,aAAA,CAAC1C,IAAI,QACTmE,KAAK,IAAIA,KAAK,CAACN,MAAM,GAClBM,KAAK,CAACL,GAAG,CAAC,CAAC7C,IAAS,EAAEqB,KAAU,KAAK,IAAI,CAACD,WAAW,CAACpB,IAAI,EAAEqB,KAAK,CAAC,CAAC,GACnE,IACA,CAAC;EACT;EACA8B,YAAYA,CAACrD,KAAyB,EAAE;IACtC,MAAMoD,KAAK,GAAG,IAAI,CAAC/C,KAAK,CAACM,SAAS;IAClC,oBACE5B,KAAA,CAAA4C,aAAA,CAAC1C,IAAI;MAAC6C,KAAK,EAAE,IAAI,CAACC,MAAM,CAACuB;IAAK,GAC3BtD,KAAK,CAACuD,OAAO,IAAI,IAAI,CAACX,aAAa,CAAC,CAAC,EACrC,CAAC5C,KAAK,CAACuD,OAAO,IAAI,IAAI,CAACL,iBAAiB,CAACE,KAAK,CAC3C,CAAC;EAEX;AACF"}
|
|
@@ -0,0 +1,270 @@
|
|
|
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 { View, TouchableOpacity, Text } from 'react-native';
|
|
7
|
+
import { clone, findIndex, get, isUndefined, pull, forEach, filter, find, isEqual, merge } from 'lodash';
|
|
8
|
+
import WmChipsProps from './chips.props';
|
|
9
|
+
import { DEFAULT_CLASS } from './chips.styles';
|
|
10
|
+
import WmSearch from '@wavemaker/app-rn-runtime/components/basic/search/search.component';
|
|
11
|
+
import { BaseDatasetComponent, BaseDatasetState } from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';
|
|
12
|
+
import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
|
|
13
|
+
import WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';
|
|
14
|
+
export class WmChipsState extends BaseDatasetState {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
_defineProperty(this, "chipsList", []);
|
|
18
|
+
_defineProperty(this, "saturate", void 0);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export default class WmChips extends BaseDatasetComponent {
|
|
22
|
+
constructor(props) {
|
|
23
|
+
super(props, DEFAULT_CLASS, new WmChipsProps(), new WmChipsState());
|
|
24
|
+
_defineProperty(this, "searchRef", null);
|
|
25
|
+
_defineProperty(this, "maxSizeReached", 'Max size reached');
|
|
26
|
+
_defineProperty(this, "isDefaultQuery", true);
|
|
27
|
+
_defineProperty(this, "prevDatavalue", void 0);
|
|
28
|
+
_defineProperty(this, "listener", {
|
|
29
|
+
onComponentInit: c => {
|
|
30
|
+
if (c instanceof WmSearch) {
|
|
31
|
+
this.searchRef = c;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
_defineProperty(this, "toBoolean", val => val && val !== 'false' ? true : false);
|
|
36
|
+
}
|
|
37
|
+
onPropertyChange(name, $new, $old) {
|
|
38
|
+
super.onPropertyChange(name, $new, $old);
|
|
39
|
+
switch (name) {
|
|
40
|
+
case 'datavalue':
|
|
41
|
+
if (!$new || $new.length === 0) {
|
|
42
|
+
this.updateState({
|
|
43
|
+
chipsList: []
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
reset() {
|
|
49
|
+
var _this$searchRef;
|
|
50
|
+
if ((_this$searchRef = this.searchRef) !== null && _this$searchRef !== void 0 && _this$searchRef.state.props.query) {
|
|
51
|
+
this.searchRef.reset();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
onDataItemsUpdate() {
|
|
55
|
+
super.onDataItemsUpdate();
|
|
56
|
+
this.isDefaultQuery = true;
|
|
57
|
+
this.updateDefaultQueryModel();
|
|
58
|
+
}
|
|
59
|
+
addItem($event, widget) {
|
|
60
|
+
var _this$props, _this$props2;
|
|
61
|
+
let newChipList = clone(this.state.chipsList),
|
|
62
|
+
allowAdd;
|
|
63
|
+
newChipList.push(widget.queryModel);
|
|
64
|
+
const isFormFieldWidget = get(this.props, 'formfield');
|
|
65
|
+
if (this.isDuplicate(widget.queryModel)) {
|
|
66
|
+
this.resetSearchModel();
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// @ts-ignore
|
|
71
|
+
allowAdd = isFormFieldWidget ? (_this$props = this.props) === null || _this$props === void 0 ? void 0 : _this$props.invokeEvent('onBeforeadd', [null, this, widget.queryModel]) : this.invokeEventCallback('onBeforeadd', [null, this, widget.queryModel]);
|
|
72
|
+
if (!isUndefined(allowAdd) && !this.toBoolean(allowAdd)) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
this.updateState({
|
|
76
|
+
chipsList: newChipList
|
|
77
|
+
});
|
|
78
|
+
this.setDatavalue(newChipList);
|
|
79
|
+
|
|
80
|
+
// @ts-ignore
|
|
81
|
+
isFormFieldWidget ? (_this$props2 = this.props) === null || _this$props2 === void 0 ? void 0 : _this$props2.invokeEvent('onAdd', [null, this, widget.queryModel]) : this.invokeEventCallback('onAdd', [null, this, widget.queryModel]);
|
|
82
|
+
this.resetSearchModel();
|
|
83
|
+
}
|
|
84
|
+
selectChip(chipItem) {
|
|
85
|
+
if (!chipItem.selected && this.state.props.maxsize > 0 && this.state.chipsList.length === this.state.props.maxsize) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
chipItem.selected = !chipItem.selected;
|
|
89
|
+
const newChipList = [];
|
|
90
|
+
const selectedItem = find(this.state.dataItems, d => isEqual(d.key, chipItem.key));
|
|
91
|
+
selectedItem.selected = chipItem.selected;
|
|
92
|
+
forEach(this.state.dataItems, item => {
|
|
93
|
+
if (item.selected) {
|
|
94
|
+
newChipList.push(item);
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
this.updateState({
|
|
98
|
+
chipsList: newChipList
|
|
99
|
+
});
|
|
100
|
+
this.setDatavalue(newChipList);
|
|
101
|
+
}
|
|
102
|
+
setDatavalue(newChipList) {
|
|
103
|
+
const dataValue = newChipList.map(item => item.datafield);
|
|
104
|
+
this.updateDatavalue(dataValue);
|
|
105
|
+
this.updateMaxSize(newChipList.length);
|
|
106
|
+
if (!this.props.invokeEvent) {
|
|
107
|
+
this.invokeEventCallback('onChange', [null, this, dataValue, this.prevDatavalue]);
|
|
108
|
+
}
|
|
109
|
+
this.prevDatavalue = dataValue;
|
|
110
|
+
}
|
|
111
|
+
// Prepare datavalue object from a string(junk) value when datafield is allFields.
|
|
112
|
+
createCustomDataModel(val) {
|
|
113
|
+
return {
|
|
114
|
+
key: `${this.state.props.name}_item${this.state.chipsList.length}`,
|
|
115
|
+
dataObject: val,
|
|
116
|
+
displayfield: val,
|
|
117
|
+
datafield: val,
|
|
118
|
+
isCustom: true
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
resetSearchModel() {
|
|
122
|
+
this.searchRef.isDefaultQuery = false;
|
|
123
|
+
this.searchRef.clearSearch();
|
|
124
|
+
}
|
|
125
|
+
isDuplicate(item) {
|
|
126
|
+
return findIndex(this.state.chipsList, {
|
|
127
|
+
datafield: item.datafield
|
|
128
|
+
}) > -1;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// Check if max size is reached
|
|
132
|
+
updateMaxSize(chipListLength) {
|
|
133
|
+
const saturate = this.state.props.maxsize > 0 && (chipListLength || this.state.chipsList.length) === this.state.props.maxsize;
|
|
134
|
+
this.updateState({
|
|
135
|
+
saturate: saturate
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
removeItem(item, index) {
|
|
139
|
+
let newChipList = clone(this.state.chipsList);
|
|
140
|
+
const isFormFieldWidget = get(this.props, 'formfield');
|
|
141
|
+
newChipList = pull(newChipList, item);
|
|
142
|
+
// prevent deletion if the before-remove event callback returns false
|
|
143
|
+
// @ts-ignore
|
|
144
|
+
const allowRemove = isFormFieldWidget ? this.props.invokeEvent('onBeforeremove', [null, this, item]) : this.invokeEventCallback('onBeforeremove', [null, this, item]);
|
|
145
|
+
if (!isUndefined(allowRemove) && !this.toBoolean(allowRemove)) {
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
this.updateState({
|
|
149
|
+
chipsList: newChipList
|
|
150
|
+
});
|
|
151
|
+
this.setDatavalue(newChipList);
|
|
152
|
+
// @ts-ignore
|
|
153
|
+
isFormFieldWidget ? this.props.invokeEvent('onRemove', [null, this, item]) : this.invokeEventCallback('onRemove', [null, this, item]);
|
|
154
|
+
}
|
|
155
|
+
isDefaultView() {
|
|
156
|
+
var _this$state$dataItems;
|
|
157
|
+
return !this.state.props.searchable && ((_this$state$dataItems = this.state.dataItems) === null || _this$state$dataItems === void 0 ? void 0 : _this$state$dataItems.length) <= 10;
|
|
158
|
+
}
|
|
159
|
+
renderChip(item, index) {
|
|
160
|
+
const isSelected = this.isDefaultView() ? item.selected : true;
|
|
161
|
+
return /*#__PURE__*/React.createElement(TouchableOpacity, _extends({}, this.getTestPropsForAction('chip' + index), {
|
|
162
|
+
style: [this.styles.chip, isSelected ? this.styles.activeChip : null],
|
|
163
|
+
key: 'chipitem_' + index,
|
|
164
|
+
onPress: () => {
|
|
165
|
+
if (this.state.props.disabled) {
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
if (this.isDefaultView()) {
|
|
169
|
+
this.selectChip(item);
|
|
170
|
+
}
|
|
171
|
+
if (get(this.props, 'formfield')) {
|
|
172
|
+
// @ts-ignore
|
|
173
|
+
this.props.invokeEvent('onChipclick', [null, this, item]);
|
|
174
|
+
// @ts-ignore
|
|
175
|
+
this.props.invokeEvent('onChipselect', [null, this, item]);
|
|
176
|
+
} else {
|
|
177
|
+
this.invokeEventCallback('onChipclick', [null, this, item]);
|
|
178
|
+
this.invokeEventCallback('onChipselect', [null, this, item]);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}), isSelected && this.isDefaultView() ? /*#__PURE__*/React.createElement(WmIcon, {
|
|
182
|
+
iconclass: 'wm-sl-l sl-check',
|
|
183
|
+
iconsize: 16,
|
|
184
|
+
styles: merge({}, this.styles.doneIcon, {
|
|
185
|
+
icon: {
|
|
186
|
+
color: isSelected ? this.styles.activeChipLabel.color : null
|
|
187
|
+
}
|
|
188
|
+
})
|
|
189
|
+
}) : null, /*#__PURE__*/React.createElement(WmPicture, {
|
|
190
|
+
id: this.getTestId('picture'),
|
|
191
|
+
styles: this.styles.imageStyles,
|
|
192
|
+
picturesource: item.imgSrc,
|
|
193
|
+
shape: "circle"
|
|
194
|
+
}), /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForAction('chip' + index + 'label'), {
|
|
195
|
+
style: [this.styles.chipLabel, isSelected ? this.styles.activeChipLabel : null]
|
|
196
|
+
}), item.displayexp || item.displayfield), !this.isDefaultView() && !this.state.props.disabled ? /*#__PURE__*/React.createElement(WmIcon, {
|
|
197
|
+
id: this.getTestId('clearbtn'),
|
|
198
|
+
iconclass: 'wi wi-clear',
|
|
199
|
+
iconsize: 16,
|
|
200
|
+
styles: this.styles.clearIcon,
|
|
201
|
+
onTap: () => this.removeItem(item, index)
|
|
202
|
+
}) : null);
|
|
203
|
+
}
|
|
204
|
+
updateDefaultQueryModel() {
|
|
205
|
+
if (this.state.dataItems && this.state.dataItems.length && this.isDefaultQuery) {
|
|
206
|
+
const selectedItems = filter(this.state.dataItems, item => item.selected);
|
|
207
|
+
if (selectedItems.length) {
|
|
208
|
+
this.updateState({
|
|
209
|
+
chipsList: selectedItems
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
this.isDefaultQuery = false;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
componentDidMount() {
|
|
216
|
+
super.componentDidMount();
|
|
217
|
+
this.updateDefaultQueryModel();
|
|
218
|
+
}
|
|
219
|
+
componentDidUpdate(prevProps, prevState) {
|
|
220
|
+
super.componentDidUpdate(prevProps, prevState);
|
|
221
|
+
if (prevState.chipsList !== this.state.chipsList) {
|
|
222
|
+
var _this$searchRef2;
|
|
223
|
+
(_this$searchRef2 = this.searchRef) === null || _this$searchRef2 === void 0 ? void 0 : _this$searchRef2.computePosition();
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
renderWidget(props) {
|
|
227
|
+
const chips = this.state.chipsList;
|
|
228
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
229
|
+
style: this.styles.root
|
|
230
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
231
|
+
style: this.styles.chipsWrapper
|
|
232
|
+
}, this.isDefaultView() ? this.state.dataItems.map((item, index) => this.renderChip(item, index)) : null, props.searchable || !this.isDefaultView() ? /*#__PURE__*/React.createElement(View, {
|
|
233
|
+
style: [this.styles.searchContainer, {
|
|
234
|
+
flexDirection: props.inputposition === 'first' ? 'column' : 'column-reverse'
|
|
235
|
+
}]
|
|
236
|
+
}, /*#__PURE__*/React.createElement(WmSearch, {
|
|
237
|
+
id: this.getTestId('search'),
|
|
238
|
+
name: "app-chip-search",
|
|
239
|
+
styles: this.styles.search,
|
|
240
|
+
placeholder: this.state.saturate ? this.maxSizeReached : props.placeholder,
|
|
241
|
+
listener: this.listener,
|
|
242
|
+
dataset: props.dataset,
|
|
243
|
+
searchkey: props.searchkey,
|
|
244
|
+
minchars: props.minchars,
|
|
245
|
+
autofocus: props.autofocus,
|
|
246
|
+
disabled: props.disabled || props.readonly || this.state.saturate,
|
|
247
|
+
readonly: props.readonly,
|
|
248
|
+
displayexpression: props.displayexpression,
|
|
249
|
+
getDisplayExpression: props.getDisplayExpression,
|
|
250
|
+
displayimagesrc: props.displayimagesrc,
|
|
251
|
+
displayfield: props.displayfield,
|
|
252
|
+
datafield: props.datafield,
|
|
253
|
+
onSubmit: this.addItem.bind(this),
|
|
254
|
+
onChange: () => {
|
|
255
|
+
var _this$props$listener, _this$props$listener2;
|
|
256
|
+
this.isDefaultQuery = false;
|
|
257
|
+
((_this$props$listener = this.props.listener) === null || _this$props$listener === void 0 ? void 0 : _this$props$listener.onComponentChange) && ((_this$props$listener2 = this.props.listener) === null || _this$props$listener2 === void 0 ? void 0 : _this$props$listener2.onComponentChange(this));
|
|
258
|
+
},
|
|
259
|
+
showSearchIcon: false,
|
|
260
|
+
showclear: false,
|
|
261
|
+
type: props.minchars === 0 ? 'autocomplete' : 'search'
|
|
262
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
263
|
+
style: {
|
|
264
|
+
flexDirection: 'row',
|
|
265
|
+
flexWrap: 'wrap'
|
|
266
|
+
}
|
|
267
|
+
}, chips && chips.length ? chips.map((item, index) => this.renderChip(item, index)) : null)) : null));
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
//# sourceMappingURL=chips.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","TouchableOpacity","Text","clone","findIndex","get","isUndefined","pull","forEach","filter","find","isEqual","merge","WmChipsProps","DEFAULT_CLASS","WmSearch","BaseDatasetComponent","BaseDatasetState","WmIcon","WmPicture","WmChipsState","constructor","arguments","_defineProperty","WmChips","props","onComponentInit","c","searchRef","val","onPropertyChange","name","$new","$old","length","updateState","chipsList","reset","_this$searchRef","state","query","onDataItemsUpdate","isDefaultQuery","updateDefaultQueryModel","addItem","$event","widget","_this$props","_this$props2","newChipList","allowAdd","push","queryModel","isFormFieldWidget","isDuplicate","resetSearchModel","invokeEvent","invokeEventCallback","toBoolean","setDatavalue","selectChip","chipItem","selected","maxsize","selectedItem","dataItems","d","key","item","dataValue","map","datafield","updateDatavalue","updateMaxSize","prevDatavalue","createCustomDataModel","dataObject","displayfield","isCustom","clearSearch","chipListLength","saturate","removeItem","index","allowRemove","isDefaultView","_this$state$dataItems","searchable","renderChip","isSelected","createElement","_extends","getTestPropsForAction","style","styles","chip","activeChip","onPress","disabled","iconclass","iconsize","doneIcon","icon","color","activeChipLabel","id","getTestId","imageStyles","picturesource","imgSrc","shape","chipLabel","displayexp","clearIcon","onTap","selectedItems","componentDidMount","componentDidUpdate","prevProps","prevState","_this$searchRef2","computePosition","renderWidget","chips","root","chipsWrapper","searchContainer","flexDirection","inputposition","search","placeholder","maxSizeReached","listener","dataset","searchkey","minchars","autofocus","readonly","displayexpression","getDisplayExpression","displayimagesrc","onSubmit","bind","onChange","_this$props$listener","_this$props$listener2","onComponentChange","showSearchIcon","showclear","type","flexWrap"],"sources":["chips.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, TouchableOpacity, Text } from 'react-native';\nimport { LifecycleListener } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { clone, findIndex, get, isUndefined, pull, forEach, filter, find, isEqual, merge } from 'lodash';\nimport WmChipsProps from './chips.props';\nimport { DEFAULT_CLASS, WmChipsStyles } from './chips.styles';\nimport WmSearch from '@wavemaker/app-rn-runtime/components/basic/search/search.component';\nimport {\n BaseDatasetComponent,\n BaseDatasetState\n} from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmPicture from '@wavemaker/app-rn-runtime/components/basic/picture/picture.component';\n\nexport class WmChipsState extends BaseDatasetState<WmChipsProps> {\n chipsList: any = [];\n saturate: any;\n}\n\nexport default class WmChips extends BaseDatasetComponent<WmChipsProps, WmChipsState, WmChipsStyles> {\n constructor(props: WmChipsProps) {\n super(props, DEFAULT_CLASS, new WmChipsProps(), new WmChipsState());\n }\n\n private searchRef: WmSearch = null as any;\n private maxSizeReached = 'Max size reached';\n private isDefaultQuery: boolean = true;\n private prevDatavalue: any;\n\n private listener: LifecycleListener = {\n onComponentInit: (c) => {\n if (c instanceof WmSearch) {\n this.searchRef = c;\n }\n }\n };\n\n onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'datavalue':\n if (!$new || $new.length === 0) {\n this.updateState({\n chipsList : []\n } as WmChipsState);\n }\n }\n }\n\n reset() {\n if (this.searchRef?.state.props.query) {\n this.searchRef.reset();\n }\n }\n\n onDataItemsUpdate() {\n super.onDataItemsUpdate();\n this.isDefaultQuery = true;\n this.updateDefaultQueryModel();\n }\n\n addItem($event: any, widget: any) {\n let newChipList = clone(this.state.chipsList),\n allowAdd;\n newChipList.push(widget.queryModel);\n const isFormFieldWidget = get(this.props, 'formfield');\n if (this.isDuplicate(widget.queryModel)) {\n this.resetSearchModel();\n return;\n }\n\n // @ts-ignore\n allowAdd = isFormFieldWidget ? this.props?.invokeEvent('onBeforeadd', [null, this, widget.queryModel]) : this.invokeEventCallback('onBeforeadd', [null, this, widget.queryModel]);\n\n if (!isUndefined(allowAdd) && !this.toBoolean(allowAdd)) {\n return;\n }\n\n this.updateState({\n chipsList: newChipList\n } as WmChipsState);\n\n this.setDatavalue(newChipList);\n\n // @ts-ignore\n isFormFieldWidget ? this.props?.invokeEvent('onAdd', [null, this, widget.queryModel]) : this.invokeEventCallback('onAdd', [null, this, widget.queryModel]);\n this.resetSearchModel();\n }\n\n selectChip(chipItem: any) {\n if (!chipItem.selected && this.state.props.maxsize > 0 && (this.state.chipsList.length === this.state.props.maxsize)) {\n return;\n }\n chipItem.selected = !chipItem.selected;\n const newChipList: any = [];\n const selectedItem = find(this.state.dataItems, d => isEqual(d.key, chipItem.key));\n selectedItem.selected = chipItem.selected;\n forEach(this.state.dataItems, (item) => {\n if (item.selected) {\n newChipList.push(item);\n }\n });\n this.updateState({\n chipsList: newChipList\n } as WmChipsState);\n\n this.setDatavalue(newChipList);\n }\n\n setDatavalue(newChipList: any) {\n const dataValue = newChipList.map((item: any) => item.datafield);\n this.updateDatavalue(dataValue);\n this.updateMaxSize(newChipList.length);\n if (!this.props.invokeEvent) {\n this.invokeEventCallback('onChange', [null, this, dataValue, this.prevDatavalue])\n }\n this.prevDatavalue = dataValue;\n }\n\n toBoolean = (val: any) => ((val && val !== 'false') ? true : false);\n\n // Prepare datavalue object from a string(junk) value when datafield is allFields.\n createCustomDataModel(val: string) {\n return {\n key: `${this.state.props.name}_item${this.state.chipsList.length}`,\n dataObject: val,\n displayfield: val,\n datafield: val,\n isCustom: true\n }\n }\n\n resetSearchModel() {\n (this as any).searchRef.isDefaultQuery = false;\n this.searchRef.clearSearch();\n }\n\n isDuplicate(item: any) {\n return findIndex(this.state.chipsList, {datafield: item.datafield}) > -1;\n }\n\n // Check if max size is reached\n private updateMaxSize(chipListLength: number) {\n const saturate = this.state.props.maxsize > 0 && (chipListLength || this.state.chipsList.length) === this.state.props.maxsize;\n this.updateState({\n saturate: saturate\n } as WmChipsState);\n }\n\n removeItem(item: any, index: any) {\n let newChipList = clone(this.state.chipsList);\n const isFormFieldWidget = get(this.props, 'formfield');\n newChipList = pull(newChipList, item);\n // prevent deletion if the before-remove event callback returns false\n // @ts-ignore\n const allowRemove = isFormFieldWidget ? this.props.invokeEvent('onBeforeremove',[null, this, item]) : this.invokeEventCallback('onBeforeremove',[null, this, item]);\n if (!isUndefined(allowRemove) && !this.toBoolean(allowRemove)) {\n return;\n }\n this.updateState({\n chipsList: newChipList\n } as WmChipsState);\n this.setDatavalue(newChipList);\n // @ts-ignore\n isFormFieldWidget ? this.props.invokeEvent('onRemove', [null, this, item]) : this.invokeEventCallback('onRemove', [null, this, item]);\n }\n\n private isDefaultView() {\n return !this.state.props.searchable && this.state.dataItems?.length <= 10;\n }\n\n renderChip(item: any, index: any) {\n const isSelected = this.isDefaultView() ? item.selected : true;\n return (\n <TouchableOpacity\n {...this.getTestPropsForAction('chip'+ index)}\n style={[this.styles.chip, isSelected ? this.styles.activeChip : null]}\n key={'chipitem_'+ index}\n onPress={() => {\n if (this.state.props.disabled) {\n return;\n }\n if (this.isDefaultView()) {\n this.selectChip(item);\n }\n if (get(this.props, 'formfield')) {\n // @ts-ignore\n this.props.invokeEvent('onChipclick', [null, this, item]);\n // @ts-ignore\n this.props.invokeEvent('onChipselect', [null, this, item]);\n } else {\n this.invokeEventCallback('onChipclick', [null, this, item]);\n this.invokeEventCallback('onChipselect', [null, this, item]);\n }\n }}>\n {isSelected && this.isDefaultView() ? <WmIcon iconclass={'wm-sl-l sl-check'} iconsize={16} styles={merge({}, this.styles.doneIcon, {icon: {color: isSelected ? this.styles.activeChipLabel.color : null}})}></WmIcon> : null}\n <WmPicture id={this.getTestId('picture')} styles={this.styles.imageStyles} picturesource={item.imgSrc} shape='circle'></WmPicture>\n <Text {...this.getTestPropsForAction('chip'+ index+'label')}style={[this.styles.chipLabel, isSelected ? this.styles.activeChipLabel : null]}>{item.displayexp || item.displayfield}</Text>\n {!this.isDefaultView() && !this.state.props.disabled ? <WmIcon id={this.getTestId('clearbtn')} iconclass={'wi wi-clear'} iconsize={16} styles={this.styles.clearIcon} onTap={() => this.removeItem(item, index)}></WmIcon> : null}\n </TouchableOpacity>\n )\n }\n\n updateDefaultQueryModel() {\n if (this.state.dataItems && this.state.dataItems.length && this.isDefaultQuery) {\n const selectedItems = filter(this.state.dataItems, (item) => item.selected);\n if (selectedItems.length) {\n this.updateState({\n chipsList: selectedItems\n } as WmChipsState);\n }\n this.isDefaultQuery = false;\n }\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n this.updateDefaultQueryModel();\n }\n\n componentDidUpdate(prevProps: WmChipsProps, prevState: WmChipsState) {\n super.componentDidUpdate(prevProps, prevState);\n if (prevState.chipsList !== this.state.chipsList) {\n this.searchRef?.computePosition();\n }\n }\n\n renderWidget(props: WmChipsProps) {\n const chips = this.state.chipsList;\n return (<View style={this.styles.root}>\n\n <View style={this.styles.chipsWrapper}>\n {\n this.isDefaultView() ? this.state.dataItems.map((item: any, index: any) => this.renderChip(item, index)) : null\n }\n { props.searchable || !this.isDefaultView() ?\n <View style={[this.styles.searchContainer, {flexDirection: props.inputposition === 'first' ? 'column' : 'column-reverse'}]}>\n <WmSearch\n id={this.getTestId('search')}\n name=\"app-chip-search\"\n styles={this.styles.search}\n placeholder={this.state.saturate ? this.maxSizeReached : props.placeholder}\n listener={this.listener}\n dataset={props.dataset}\n searchkey={props.searchkey}\n minchars={props.minchars}\n autofocus={props.autofocus}\n disabled={props.disabled || props.readonly || this.state.saturate}\n readonly={props.readonly}\n displayexpression={props.displayexpression}\n getDisplayExpression={props.getDisplayExpression}\n displayimagesrc={props.displayimagesrc}\n displayfield={props.displayfield}\n datafield={props.datafield}\n onSubmit={this.addItem.bind(this)}\n onChange={() => {\n this.isDefaultQuery = false;\n this.props.listener?.onComponentChange && this.props.listener?.onComponentChange(this)\n }}\n showSearchIcon={false}\n showclear={false}\n type={props.minchars === 0 ? 'autocomplete' : 'search'}/>\n <View style={{ flexDirection: 'row', flexWrap: 'wrap'}}>\n {chips && chips.length ?\n chips.map((item: any, index: any) => this.renderChip(item, index))\n : null}\n </View>\n </View>\n : null }\n </View>\n </View>);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,QAAQ,cAAc;AAE3D,SAASC,KAAK,EAAEC,SAAS,EAAEC,GAAG,EAAEC,WAAW,EAAEC,IAAI,EAAEC,OAAO,EAAEC,MAAM,EAAEC,IAAI,EAAEC,OAAO,EAAEC,KAAK,QAAQ,QAAQ;AACxG,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAC7D,OAAOC,QAAQ,MAAM,oEAAoE;AACzF,SACEC,oBAAoB,EACpBC,gBAAgB,QACX,8EAA8E;AACrF,OAAOC,MAAM,MAAM,gEAAgE;AACnF,OAAOC,SAAS,MAAM,sEAAsE;AAE5F,OAAO,MAAMC,YAAY,SAASH,gBAAgB,CAAe;EAAAI,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAC9C,EAAE;IAAAA,eAAA;EAAA;AAErB;AAEA,eAAe,MAAMC,OAAO,SAASR,oBAAoB,CAA4C;EACnGK,WAAWA,CAACI,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAEX,aAAa,EAAE,IAAID,YAAY,CAAC,CAAC,EAAE,IAAIO,YAAY,CAAC,CAAC,CAAC;IAACG,eAAA,oBAGxC,IAAI;IAAAA,eAAA,yBACT,kBAAkB;IAAAA,eAAA,yBACT,IAAI;IAAAA,eAAA;IAAAA,eAAA,mBAGA;MACpCG,eAAe,EAAGC,CAAC,IAAK;QACtB,IAAIA,CAAC,YAAYZ,QAAQ,EAAE;UACzB,IAAI,CAACa,SAAS,GAAGD,CAAC;QACpB;MACF;IACF,CAAC;IAAAJ,eAAA,oBAoFYM,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eACzDxI,KAAA,CAAA2F,aAAA,CAAC1F,IAAI;MAAC6F,KAAK,EAAE;QAAEkC,aAAa,EAAE,KAAK;QAAEuB,QAAQ,EAAE;MAAM;IAAE,GACpD3B,KAAK,IAAIA,KAAK,CAACzF,MAAM,GACtByF,KAAK,CAACrD,GAAG,CAAC,CAACF,IAAS,EAAEe,KAAU,KAAK,IAAI,CAACK,UAAU,CAACpB,IAAI,EAAEe,KAAK,CAAC,CAAC,GAChE,IACE,CACJ,CAAC,GACJ,IACD,CACF,CAAC;EACT;AACF"}
|
|
@@ -0,0 +1,93 @@
|
|
|
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-chips';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {
|
|
7
|
+
flexWrap: 'wrap'
|
|
8
|
+
},
|
|
9
|
+
text: {},
|
|
10
|
+
chipsWrapper: {
|
|
11
|
+
flexDirection: 'row',
|
|
12
|
+
flexWrap: 'wrap'
|
|
13
|
+
},
|
|
14
|
+
chip: {
|
|
15
|
+
margin: 2,
|
|
16
|
+
backgroundColor: themeVariables.chipContainerColor,
|
|
17
|
+
borderRadius: 8,
|
|
18
|
+
flexDirection: 'row',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
justifyContent: 'center',
|
|
21
|
+
paddingVertical: 4,
|
|
22
|
+
paddingHorizontal: 4,
|
|
23
|
+
minWidth: 80,
|
|
24
|
+
minHeight: 32,
|
|
25
|
+
borderWidth: 1,
|
|
26
|
+
borderColor: themeVariables.chipborderColor,
|
|
27
|
+
elevation: 1
|
|
28
|
+
},
|
|
29
|
+
chipLabel: {
|
|
30
|
+
fontSize: 14,
|
|
31
|
+
paddingLeft: 8,
|
|
32
|
+
fontFamily: themeVariables.baseFont,
|
|
33
|
+
fontWeight: '500',
|
|
34
|
+
paddingRight: 12,
|
|
35
|
+
color: themeVariables.chipDefaultTextColor,
|
|
36
|
+
borderColor: themeVariables.chipborderColor
|
|
37
|
+
},
|
|
38
|
+
activeChip: {
|
|
39
|
+
backgroundColor: themeVariables.chipSelectedContainerColor,
|
|
40
|
+
borderColor: themeVariables.chipSelectedOutlineColor,
|
|
41
|
+
borderWidth: 0
|
|
42
|
+
},
|
|
43
|
+
activeChipLabel: {
|
|
44
|
+
color: themeVariables.chipActiveTextColor
|
|
45
|
+
},
|
|
46
|
+
searchContainer: {
|
|
47
|
+
width: '100%',
|
|
48
|
+
flexDirection: 'column'
|
|
49
|
+
},
|
|
50
|
+
search: {
|
|
51
|
+
root: {
|
|
52
|
+
marginBottom: 8
|
|
53
|
+
},
|
|
54
|
+
text: {
|
|
55
|
+
borderRightWidth: 1,
|
|
56
|
+
borderTopRightRadius: 4,
|
|
57
|
+
borderBottomRightRadius: 4
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
doneIcon: {
|
|
61
|
+
icon: {
|
|
62
|
+
paddingLeft: 8,
|
|
63
|
+
fontSize: 18,
|
|
64
|
+
color: themeVariables.chipIconColor
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
clearIcon: {
|
|
68
|
+
icon: {
|
|
69
|
+
color: themeVariables.chipIconColor,
|
|
70
|
+
paddingRight: 8,
|
|
71
|
+
fontSize: 18
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
imageStyles: {
|
|
75
|
+
root: {
|
|
76
|
+
width: 32,
|
|
77
|
+
height: 32
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
82
|
+
addStyle(DEFAULT_CLASS + '-disabled', '', {
|
|
83
|
+
chip: {
|
|
84
|
+
opacity: 0.5
|
|
85
|
+
},
|
|
86
|
+
search: {
|
|
87
|
+
root: {
|
|
88
|
+
backgroundColor: themeVariables.inputDisabledBgColor
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
//# sourceMappingURL=chips.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexWrap","text","chipsWrapper","flexDirection","chip","margin","backgroundColor","chipContainerColor","borderRadius","alignItems","justifyContent","paddingVertical","paddingHorizontal","minWidth","minHeight","borderWidth","borderColor","chipborderColor","elevation","chipLabel","fontSize","paddingLeft","fontFamily","baseFont","fontWeight","paddingRight","color","chipDefaultTextColor","activeChip","chipSelectedContainerColor","chipSelectedOutlineColor","activeChipLabel","chipActiveTextColor","searchContainer","width","search","marginBottom","borderRightWidth","borderTopRightRadius","borderBottomRightRadius","doneIcon","icon","chipIconColor","clearIcon","imageStyles","height","opacity","inputDisabledBgColor"],"sources":["chips.styles.ts"],"sourcesContent":["import { TextStyle } from 'react-native';\nimport BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSearchStyles } from '@wavemaker/app-rn-runtime/components/basic/search/search.styles';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\nimport { WmPictureStyles } from '@wavemaker/app-rn-runtime/components/basic/picture/picture.styles';\n\nexport type WmChipsStyles = BaseStyles & {\n chip: AllStyle;\n chipLabel: TextStyle;\n chipsWrapper: AllStyle;\n search: WmSearchStyles;\n searchContainer: AllStyle;\n activeChip: AllStyle;\n activeChipLabel: TextStyle;\n clearIcon: WmIconStyles;\n doneIcon: WmIconStyles;\n imageStyles: WmPictureStyles\n};\n\nexport const DEFAULT_CLASS = 'app-chips';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmChipsStyles = defineStyles({\n root: {\n flexWrap: 'wrap',\n },\n text: {},\n chipsWrapper: {\n flexDirection: 'row',\n flexWrap: 'wrap'\n },\n chip: {\n margin: 2,\n backgroundColor: themeVariables.chipContainerColor,\n borderRadius: 8,\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n paddingVertical: 4,\n paddingHorizontal: 4,\n minWidth: 80,\n minHeight: 32,\n borderWidth: 1,\n borderColor: themeVariables.chipborderColor,\n elevation: 1\n },\n chipLabel : {\n fontSize: 14,\n paddingLeft: 8,\n fontFamily: themeVariables.baseFont,\n fontWeight: '500',\n paddingRight: 12,\n color: themeVariables.chipDefaultTextColor,\n borderColor: themeVariables.chipborderColor\n },\n activeChip: {\n backgroundColor: themeVariables.chipSelectedContainerColor, \n borderColor: themeVariables.chipSelectedOutlineColor,\n borderWidth: 0\n },\n activeChipLabel: {\n color: themeVariables.chipActiveTextColor\n },\n searchContainer: {\n width: '100%',\n flexDirection: 'column'\n },\n search: {\n root: {\n marginBottom: 8\n },\n text: {\n borderRightWidth: 1,\n borderTopRightRadius: 4,\n borderBottomRightRadius: 4\n }\n } as WmSearchStyles,\n doneIcon: {\n icon: {\n paddingLeft: 8,\n fontSize: 18,\n color: themeVariables.chipIconColor,\n }\n } as WmIconStyles,\n clearIcon: {\n icon: {\n color: themeVariables.chipIconColor,\n paddingRight: 8,\n fontSize: 18\n }\n } as WmIconStyles,\n imageStyles: {\n root: {\n width: 32,\n height: 32\n }\n } as WmPictureStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-disabled', '', {\n chip: {\n opacity: 0.5\n },\n search: {\n root : {\n backgroundColor: themeVariables.inputDisabledBgColor\n }\n }\n });\n});\n"],"mappings":"AACA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAkBxF,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,M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AAE,CAAC;QACvBC,uBAAuB,EAAE;MAC3B;IACF,CAAmB;IACnBC,QAAQ,EAAE;MACRC,IAAI,EAAE;QACJpB,WAAW,EAAE,CAAC;QACdD,QAAQ,EAAE,EAAE;QACZM,KAAK,EAAE9B,cAAc,CAAC8C;MACxB;IACF,CAAiB;IACjBC,SAAS,EAAE;MACTF,IAAI,EAAE;QACJf,KAAK,EAAE9B,cAAc,CAAC8C,aAAa;QACnCjB,YAAY,EAAE,CAAC;QACfL,QAAQ,EAAE;MACZ;IACF,CAAiB;IACjBwB,WAAW,EAAE;MACX7C,IAAI,EAAE;QACJmC,KAAK,EAAE,EAAE;QACTW,MAAM,EAAE;MACV;IACF;EACJ,CAAC,CAAC;EAEFhD,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,WAAW,EAAE,EAAE,EAAE;IACxCU,IAAI,EAAE;MACJ0C,OAAO,EAAE;IACX,CAAC;IACDX,MAAM,EAAE;MACNpC,IAAI,EAAG;QACLO,eAAe,EAAEV,cAAc,CAACmD;MAClC;IACF;EACF,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 { View, Text, Platform } from 'react-native';
|
|
7
|
+
import WmCurrencyProps from './currency.props';
|
|
8
|
+
import { CURRENCY_INFO } from '@wavemaker/app-rn-runtime/core/currency-constants';
|
|
9
|
+
import { WMTextInput } from '@wavemaker/app-rn-runtime/core/components/textinput.component';
|
|
10
|
+
import { DEFAULT_CLASS } from './currency.styles';
|
|
11
|
+
import { BaseNumberComponent, BaseNumberState } from '@wavemaker/app-rn-runtime/components/input/basenumber/basenumber.component';
|
|
12
|
+
import { isNull } from "lodash";
|
|
13
|
+
export class WmCurrencyState extends BaseNumberState {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
_defineProperty(this, "currencySymbol", void 0);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export default class WmCurrency extends BaseNumberComponent {
|
|
20
|
+
constructor(props) {
|
|
21
|
+
super(props, DEFAULT_CLASS, new WmCurrencyProps(), new WmCurrencyState());
|
|
22
|
+
}
|
|
23
|
+
onPropertyChange(name, $new, $old) {
|
|
24
|
+
super.onPropertyChange(name, $new, $old);
|
|
25
|
+
switch (name) {
|
|
26
|
+
case 'currency':
|
|
27
|
+
if ($new) {
|
|
28
|
+
this.updateState({
|
|
29
|
+
currencySymbol: CURRENCY_INFO[$new].symbol
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
renderWidget(props) {
|
|
36
|
+
var _this$state$textValue;
|
|
37
|
+
let opts = {};
|
|
38
|
+
const valueExpr = Platform.OS === 'web' ? 'value' : 'defaultValue';
|
|
39
|
+
opts[valueExpr] = ((_this$state$textValue = this.state.textValue) === null || _this$state$textValue === void 0 ? void 0 : _this$state$textValue.toString()) || '';
|
|
40
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
41
|
+
style: this.styles.root
|
|
42
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
43
|
+
style: this.styles.labelWrapper
|
|
44
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
45
|
+
style: this.styles.label
|
|
46
|
+
}, this.state.currencySymbol)), /*#__PURE__*/React.createElement(WMTextInput, _extends({}, this.getTestPropsForInput(), {
|
|
47
|
+
ref: ref => {
|
|
48
|
+
this.widgetRef = ref;
|
|
49
|
+
// @ts-ignore
|
|
50
|
+
if (ref && !isNull(ref.selectionStart) && !isNull(ref.selectionEnd)) {
|
|
51
|
+
// @ts-ignore
|
|
52
|
+
ref.selectionStart = ref.selectionEnd = this.cursor;
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
keyboardType: "numeric",
|
|
56
|
+
placeholderTextColor: this.styles.placeholderText.color,
|
|
57
|
+
style: [this.styles.input, this.styles.text, this.state.isValid ? {} : this.styles.invalid]
|
|
58
|
+
}, opts, {
|
|
59
|
+
editable: props.disabled || props.readonly ? false : true,
|
|
60
|
+
placeholder: props.placeholder,
|
|
61
|
+
onBlur: this.onBlur.bind(this),
|
|
62
|
+
onFocus: this.onFocus.bind(this),
|
|
63
|
+
onKeyPress: this.validateInputEntry.bind(this),
|
|
64
|
+
onChangeText: this.onChangeText.bind(this),
|
|
65
|
+
onChange: this.invokeChange.bind(this),
|
|
66
|
+
allowContentSelection: this.styles.text.userSelect === 'text'
|
|
67
|
+
})));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=currency.component.js.map
|