@wavemaker/app-rn-runtime 11.4.3-next.30202 → 11.4.3-patch.2
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/animatedview.component.js +214 -0
- package/components/basic/animatedview.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 +198 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js +19 -0
- package/components/basic/icon/icon.props.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/chart/pie-chart/pie-chart.component.js +212 -0
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.js +14 -0
- package/components/chart/pie-chart/pie-chart.props.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 +185 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.styles.js +101 -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/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 +485 -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/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/animatedview.component.js +0 -164
- app-rn-runtime/components/basic/animatedview.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/icon/icon.props.js +0 -18
- app-rn-runtime/components/basic/icon/icon.props.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/chart/pie-chart/pie-chart.component.js +0 -191
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +0 -13
- app-rn-runtime/components/chart/pie-chart/pie-chart.props.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/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.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.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","View","BaseComponent","BaseComponentState","isDefined","debounce","find","forEach","get","set","WmLabel","WmIcon","WmMessage","ToastConsumer","WmFormProps","DEFAULT_CLASS","isDataSetWidget","WmFormState","constructor","arguments","_defineProperty","WmForm","props","handleSubmit","componentDidMount","getParentFormRef","parentForm","pformName","current","parent","parentFormRef","setReadonlyFields","_this$formFields","formFields","field","setReadOnlyState","state","isUpdateMode","setReadonlyState","updateMode","updateState","setTimeout","showActions","edit","new","cancel","delete","registerFormFields","formWidgets","w","form","formwidget","formKey","name","f","formfields","applyFormData","applyDefaultValue","formdataoutput","datavalue","dataoutput","_this$buttonArray","buttonArray","action","show","registerFormActions","formActions","_updateFieldOnDataSourceChange","isDataSetBound","widget","isRelated","relatedData","_this$parentFormRef","formData","formdata","formField","_formField$props","fw","key","setState","isDefault","updateFormFieldDefaultValue","dv","defaultvalue","_formField$props2","invokeEventCallback","bind","undefined","formreset","ff","id","_widget","isValid","reset","submit","_debouncedSubmitForm","onPropertyChange","$new","$old","_this$formFields2","setPrimaryKey","fieldName","primaryKey","indexOf","push","validateFieldsOnSubmit","val","onValidate","required","generator","msg","defaultValidatorMessages","validationmessage","validate","event","preventDefault","onBeforesubmit","proxy","formSubmit","data","onResultCb","error","response","status","onSuccess","postmessage","toggleMessage","onError","errormessage","updateDataOutput","Object","assign","type","message","messagelayout","showInlineMsg","toaster","showToast","placement","styles","bottom","text","hideOnClick","onMsgClose","renderWidget","createElement","toastService","style","root","_background","iconclass","title","subheading","heading","flex","flexDirection","getTestId","listIcon","caption","hideclose","onClose","children"],"sources":["form.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { isDefined, widgetsWithUndefinedValue } from '@wavemaker/app-rn-runtime/core/utils';\nimport { debounce, find, forEach, get, set } from 'lodash';\n\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\nimport WmFormField, { WmFormFieldState } from '@wavemaker/app-rn-runtime/components/data/form/form-field/form-field.component';\nimport WmMessage from '@wavemaker/app-rn-runtime/components/basic/message/message.component';\nimport { ToastConsumer, ToastService } from '@wavemaker/app-rn-runtime/core/toast.service';\n\nimport WmFormProps from './form.props';\nimport { DEFAULT_CLASS, WmFormStyles } from './form.styles';\nimport WmSkeleton, { createSkeleton } from '../../basic/skeleton/skeleton.component';\nimport { WmSkeletonStyles } from '../../basic/skeleton/skeleton.styles';\nimport { isDataSetWidget } from '@wavemaker/app-rn-runtime/core/utils';\nimport WmFormAction, {\n WmFormActionState\n} from '@wavemaker/app-rn-runtime/components/data/form/form-action/form-action.component';\n\nexport class WmFormState extends BaseComponentState<WmFormProps> {\n isValid = false;\n type: 'success' | 'warning' | 'error' | 'info' | 'loading' | undefined = 'success';\n message: string = '';\n showInlineMsg: boolean = false;\n isUpdateMode: boolean = true;\n}\nexport default class WmForm extends BaseComponent<WmFormProps, WmFormState, WmFormStyles> {\n public formFields: Array<WmFormField> = []; // contains array of direct widget elements [WmText, WmNumber, WmCurrent]\n public parentFormRef: any;\n public formfields: {[key: string]: WmFormField} = {};\n public formdataoutput: any;\n private toaster: any;\n public formActions: Array<WmFormAction> = [];\n primaryKey = [];\n buttonArray: Array<WmFormAction> = [];\n formWidgets: { [key: string]: BaseComponent<any, any, any> } = {}; // object containing key as name of formField and value as WmFormField proxy.\n constructor(props: WmFormProps) {\n super(props, DEFAULT_CLASS, new WmFormProps(), new WmFormState());\n }\n\n private _debouncedSubmitForm = debounce(this.handleSubmit, 250);\n\n componentDidMount() {\n super.componentDidMount();\n this.getParentFormRef(this.props.parentForm);\n }\n\n getParentFormRef(pformName: string) {\n let current = this.parent;\n while (current) {\n if (get(current, 'props.name') === pformName) {\n this.parentFormRef = current;\n break;\n }\n current = current.parent;\n }\n }\n\n setReadonlyFields() {\n this.formFields?.forEach((field: any) => {\n field.setReadOnlyState(this.state.isUpdateMode);\n });\n }\n\n setReadonlyState(updateMode: any) {\n this.updateState({\n isUpdateMode: updateMode,\n } as WmFormState);\n setTimeout(() => {\n this.showActions();\n this.setReadonlyFields();\n }, 100);\n }\n\n edit() {\n this.setReadonlyState(true);\n }\n\n new() {\n this.setReadonlyState(true);\n }\n\n cancel() {\n this.setReadonlyState(false);\n }\n\n delete() { }\n\n registerFormFields(\n formFields: Array<WmFormField>,\n formWidgets: { [key: string]: BaseComponent<any, any, any> }\n ) {\n forEach(formFields, (w: WmFormField) => {\n if (!w.form) {\n w.form = this;\n w.formwidget = (w.props.formKey && formWidgets[w.props.formKey])\n || (w.props.name && formWidgets[w.props.name]);\n }\n });\n\n this.formFields = formFields;\n this.formWidgets = formWidgets;\n\n formFields.forEach((f: WmFormField) => {\n if (f.props.name) {\n set(this.formfields, f.props.name, f);\n }\n })\n\n this.setReadonlyFields();\n\n this.applyFormData();\n this.applyDefaultValue();\n\n // setting default form dataoutput.\n if (!this.formdataoutput) {\n this.formdataoutput = {};\n formFields.forEach((w: WmFormField) => {\n const name = get(w.props, 'formKey') || w.props.name;\n if (name) {\n set(this.formdataoutput, name, w.props.datavalue);\n }\n });\n this.updateState({\n props: {\n dataoutput: this.formdataoutput\n }\n } as WmFormState);\n }\n }\n\n showActions () {\n this.buttonArray?.forEach((action: any) => {\n action.updateState({\n props: {\n show: action.updateMode === this.state.isUpdateMode\n }} as WmFormActionState);\n });\n }\n\n registerFormActions(formActions: Array<WmFormAction>) {\n this.buttonArray = formActions;\n this.showActions();\n }\n\n private _updateFieldOnDataSourceChange(field: WmFormField, formFields: Array<WmFormField>) {\n if (!field.state.props.isDataSetBound && isDataSetWidget(field.props.widget)) {\n if (field.state.props.isRelated) {\n field.updateState({\n props: {\n isDataSetBound: true\n }} as WmFormFieldState);\n this.props.relatedData && this.props.relatedData(field);\n }\n }\n }\n\n applyFormData() {\n let formData = this.state.props.formdata || this.parentFormRef?.state.props.formdata;\n if (!formData || (this.parentFormRef && this.state.props.formdata)) {\n return;\n }\n forEach(this.formFields, (formField: WmFormField) => {\n let fw = formField.props?.name && this.formWidgets[formField.props.name];\n if (!fw) {\n fw = find(this.formWidgets, (fw: BaseComponent<any, any, any>) => {\n return get(fw, 'formfieldname') === formField.props.name\n });\n }\n let key = get(formField, 'formKey') || get(fw, 'props.name');\n fw && fw.setState({ isDefault: true });\n formField.updateState({\n props: {\n datavalue: get(formData, key)\n }\n } as WmFormFieldState);\n });\n }\n\n updateFormFieldDefaultValue(formField: WmFormField) {\n if (formField) {\n const dv = formField.state.props.defaultvalue;\n if (isDefined(dv) && dv !== null && this.formFields) {\n let field = formField.props?.name && this.formWidgets[formField.props.name];\n if (!field) {\n field = find(this.formWidgets, (fw: BaseComponent<any, any, any>) => {\n return get(fw, 'formfieldname') === formField.props.name\n });\n }\n if (field) {\n field.setState({ isDefault: true });\n field.updateState({\n props: {\n datavalue: dv\n }\n }, this.invokeEventCallback.bind(formField, 'onFieldChange', [undefined, formField, dv]));\n }\n }\n }\n }\n\n get dataoutput() {\n return this.formdataoutput;\n }\n\n applyDefaultValue(formField?: WmFormField) {\n if (formField) {\n this.updateFormFieldDefaultValue(formField);\n return;\n }\n forEach(this.formFields, (w: WmFormField) => {\n this.updateFormFieldDefaultValue(w);\n });\n }\n\n formreset() {\n forEach(this.formFields, (ff: WmFormField) => {\n ff.updateState({\n props : {\n datavalue: ''\n }\n } as WmFormFieldState, () => {\n const id = ff.props.formKey || ff.props.name;\n if (id) {\n let widget: BaseComponent<any, any, any> | undefined | any = this.formWidgets[id];\n if (!widget) {\n widget = find(this.formWidgets, (fw: BaseComponent<any, any, any>) => {\n return get(fw, 'formfieldname') === ff.props.name\n });\n }\n widget.updateState({\n isValid: true,\n props : {\n datavalue: ''\n }\n }, () => ff.updateState({\n isValid: true\n } as WmFormFieldState));\n widget?.reset();\n }\n }\n );\n });\n }\n\n submit() {\n this._debouncedSubmitForm();\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'formdata':\n if ($new) {\n this.applyFormData();\n }\n break;\n case 'defaultmode':\n this.updateState({\n isUpdateMode: $new && $new === 'Edit' ? true : false,\n } as WmFormState);\n break;\n case 'dataset':\n this.formFields?.forEach((w: WmFormField) => {\n this._updateFieldOnDataSourceChange(w, this.formFields);\n });\n break;\n }\n }\n setPrimaryKey(fieldName: string) {\n /*Store the primary key of data*/\n this.primaryKey = this.primaryKey || [];\n // @ts-ignore\n if (this.primaryKey.indexOf(fieldName) === -1) {\n // @ts-ignore\n this.primaryKey.push(fieldName);\n }\n }\n // Disable the form submit if form is in invalid state. Highlight all the invalid fields if validation type is default\n validateFieldsOnSubmit() {\n let isValid = true;\n forEach(this.formFields, (field) => {\n const val = field?.state.props.datavalue;\n\n const onValidate = get(field, 'props.onValidate');\n onValidate && onValidate(field);\n if (!val && field?.state.props.required && field.state.props.generator === 'assigned') {\n isValid = false;\n const msg = get(field.defaultValidatorMessages, 'required') || field.state.props.validationmessage;\n field.updateState({ isValid: isValid, props: {\n validationmessage: msg\n }} as WmFormFieldState);\n field.formwidget.validate && field.formwidget.validate(val);\n }\n // check for isvalid state of formwidget\n if (field.formwidget.state.isValid === false) {\n isValid = false;\n }\n });\n return isValid;\n }\n\n // @ts-ignore\n handleSubmit(event?: any) {\n event?.preventDefault();\n const formData = this.state.props.dataoutput || this.formdataoutput;\n\n if (!this.validateFieldsOnSubmit()) {\n return false;\n }\n if (this.props.onBeforesubmit) {\n this.invokeEventCallback('onBeforesubmit', [ null, this.proxy, formData ]);\n }\n if (this.props.formSubmit) {\n this.props.formSubmit(formData, ((data: any) => {\n this.invokeEventCallback('onSubmit', [ null, this.proxy, formData ]);\n this.onResultCb(get(data, 'params'), 'success');\n }), ((error: any) => {\n this.invokeEventCallback('onSubmit', [ null, this.proxy, formData ]);\n this.onResultCb(error, '');\n }));\n } else {\n this.invokeEventCallback('onSubmit', [ null, this.proxy, formData ]);\n }\n }\n\n onResultCb(response: any, status: string, event?: any) {\n this.invokeEventCallback('onResult', [ null, this.proxy, response ]);\n if (status) {\n this.invokeEventCallback('onSuccess', [ null, this.proxy, response ]);\n !this.props.onSuccess && this.state.props.postmessage && this.toggleMessage('success', this.state.props.postmessage);\n } else {\n this.invokeEventCallback('onError', [ null, this.proxy, response ]);\n !this.props.onError && this.toggleMessage('error', this.state.props.errormessage || get(response, 'message'));\n }\n }\n\n updateDataOutput(key: string, val: any) {\n const current = this.formdataoutput || {};\n if (key) {\n set(current, key, val);\n } else {\n Object.assign(current, val)\n }\n this.formdataoutput = current;\n this.updateState({ props: { dataoutput: current }} as WmFormState);\n this.parentFormRef && this.parentFormRef.updateDataOutput(undefined, this.formdataoutput);\n this.updateState({\n props: {\n dataoutput: this.formdataoutput\n }\n } as WmFormState);\n }\n\n toggleMessage(\n type: 'success' | 'warning' | 'error' | 'info' | 'loading' | undefined,\n message: string\n ) {\n if (this.state.props.messagelayout === 'Inline') {\n this.setState({\n type: type,\n message: message,\n showInlineMsg: true\n } as WmFormState)\n return;\n }\n this.toaster.showToast({\n name: this, placement: \"\", styles: {bottom: 0},\n text: message,\n type: type,\n hideOnClick: true\n });\n }\n\n onMsgClose() {\n this.setState({\n showInlineMsg: false\n } as WmFormState)\n }\n\n renderWidget(props: WmFormProps) {\n return (\n <ToastConsumer>\n {(toastService: ToastService) => {\n this.toaster = toastService;\n return <View style={this.styles.root}>\n {this._background}\n {props.iconclass || props.title || props.subheading ? (\n <View style={this.styles.heading}>\n <View style={{flex: 1, flexDirection: 'row'}}>\n <WmIcon id={this.getTestId('icon')} styles={this.styles.listIcon} iconclass={props.iconclass}></WmIcon>\n <View>\n <WmLabel id={this.getTestId('title')} styles={this.styles.title} caption={props.title}></WmLabel>\n <WmLabel id={this.getTestId('description')} styles={this.styles.subheading} caption={props.subheading}></WmLabel>\n </View>\n </View>\n </View>\n ) : null}\n {this.state.showInlineMsg ? <WmMessage type={this.state.type} caption={this.state.message} hideclose={false} onClose={this.onMsgClose.bind(this)}></WmMessage> : null\n }\n {props.children}\n </View>\n }\n }\n </ToastConsumer>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,SAAS,QAAmC,sCAAsC;AAC3F,SAASC,QAAQ,EAAEC,IAAI,EAAEC,OAAO,EAAEC,GAAG,EAAEC,GAAG,QAAQ,QAAQ;AAE1D,OAAOC,OAAO,MAAM,kEAAkE;AACtF,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,OAAOC,SAAS,MAAM,sEAAsE;AAC5F,SAASC,aAAa,QAAsB,8CAA8C;AAE1F,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAG3D,SAASC,eAAe,QAA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ACP,SAAS,EAAEhI,KAAK,CAACgI;MAAU,CAAS,CAAC,eACxGtJ,KAAA,CAAAiJ,aAAA,CAAChJ,IAAI,qBACHD,KAAA,CAAAiJ,aAAA,CAACvI,OAAO;QAACgF,EAAE,EAAE,IAAI,CAACkE,SAAS,CAAC,OAAO,CAAE;QAACjB,MAAM,EAAE,IAAI,CAACA,MAAM,CAACY,KAAM;QAACO,OAAO,EAAExI,KAAK,CAACiI;MAAM,CAAU,CAAC,eACjGvJ,KAAA,CAAAiJ,aAAA,CAACvI,OAAO;QAACgF,EAAE,EAAE,IAAI,CAACkE,SAAS,CAAC,aAAa,CAAE;QAACjB,MAAM,EAAE,IAAI,CAACA,MAAM,CAACa,UAAW;QAACM,OAAO,EAAExI,KAAK,CAACkI;MAAW,CAAU,CAC5G,CACF,CACF,CAAC,GACL,IAAI,EACP,IAAI,CAACpH,KAAK,CAACmG,aAAa,gBAAGvI,KAAA,CAAAiJ,aAAA,CAACrI,SAAS;QAACwH,IAAI,EAAE,IAAI,CAAChG,KAAK,CAACgG,IAAK;QAAC0B,OAAO,EAAE,IAAI,CAAC1H,KAAK,CAACiG,OAAQ;QAAC0B,SAAS,EAAE,KAAM;QAACC,OAAO,EAAE,IAAI,CAACjB,UAAU,CAACzD,IAAI,CAAC,IAAI;MAAE,CAAY,CAAC,GAAG,IAAI,EAEpKhE,KAAK,CAAC2I,QACH,CAAC;IACT,CAEa,CAAC;EAEpB;AACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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-list-template';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {
|
|
7
|
+
backgroundColor: themeVariables.listHeaderBgColor
|
|
8
|
+
},
|
|
9
|
+
text: {}
|
|
10
|
+
});
|
|
11
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
12
|
+
addStyle('list-card-template', '', {
|
|
13
|
+
root: {
|
|
14
|
+
borderBottomWidth: 0
|
|
15
|
+
// marginLeft: 35,
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
addStyle('horizontal-list-template', '', {
|
|
20
|
+
root: {}
|
|
21
|
+
});
|
|
22
|
+
addStyle('vertical-list-template', '', {
|
|
23
|
+
root: {}
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=list-template.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","backgroundColor","listHeaderBgColor","text","borderBottomWidth"],"sources":["list-template.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\n\nexport type WmListTemplateStyles = BaseStyles & {};\n\nexport const DEFAULT_CLASS = 'app-list-template';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmListTemplateStyles = defineStyles<WmListTemplateStyles>({\n root: {\n backgroundColor: themeVariables.listHeaderBgColor,\n },\n text: {}\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle('list-card-template', '', {\n root : {\n borderBottomWidth: 0,\n // marginLeft: 35,\n }\n } as WmListTemplateStyles);\n addStyle('horizontal-list-template', '', {\n root : {}\n } as WmListTemplateStyles);\n addStyle('vertical-list-template', '', {\n root : {\n }\n } as WmListTemplateStyles);\n});"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAIxF,OAAO,MAAMC,aAAa,GAAG,mBAAmB;AAChDF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAAmC,GAAGL,YAAY,CAAuB;IAC3EM,IAAI,EAAE;MACFC,eAAe,EAAEJ,cAAc,CAACK;IACpC,CAAC;IACDC,IAAI,EAAE,CAAC;EACX,CAAC,CAAC;EAEFL,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAAC,oBAAoB,EAAE,EAAE,EAAE;IAC/BE,IAAI,EAAG;MACHI,iBAAiB,EAAE;MACnB;IACJ;EACJ,CAAyB,CAAC;;EAC1BN,QAAQ,CAAC,0BAA0B,EAAE,EAAE,EAAE;IACrCE,IAAI,EAAG,CAAC;EACZ,CAAyB,CAAC;EAC1BF,QAAQ,CAAC,wBAAwB,EAAE,EAAE,EAAE;IACnCE,IAAI,EAAG,CACP;EACJ,CAAyB,CAAC;AAC9B,CAAC,CAAC"}
|
|
@@ -0,0 +1,313 @@
|
|
|
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 { SectionList, Text, View } from 'react-native';
|
|
7
|
+
import { FlatList } from 'react-native-gesture-handler';
|
|
8
|
+
import { isArray, isNil, round } from 'lodash-es';
|
|
9
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
10
|
+
import { getGroupedData, isDefined } from "@wavemaker/app-rn-runtime/core/utils";
|
|
11
|
+
import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
|
12
|
+
import { DefaultKeyExtractor } from '@wavemaker/app-rn-runtime/core/key.extractor';
|
|
13
|
+
import WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';
|
|
14
|
+
import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
|
|
15
|
+
import WmListProps from './list.props';
|
|
16
|
+
import { DEFAULT_CLASS } from './list.styles';
|
|
17
|
+
export class WmListState extends BaseComponentState {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
_defineProperty(this, "selectedindex", void 0);
|
|
21
|
+
_defineProperty(this, "groupedData", []);
|
|
22
|
+
_defineProperty(this, "currentPage", 1);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export default class WmList extends BaseComponent {
|
|
26
|
+
constructor(props) {
|
|
27
|
+
super(props, DEFAULT_CLASS, new WmListProps(), new WmListState());
|
|
28
|
+
_defineProperty(this, "itemWidgets", []);
|
|
29
|
+
_defineProperty(this, "selectedItemWidgets", {});
|
|
30
|
+
_defineProperty(this, "keyExtractor", new DefaultKeyExtractor());
|
|
31
|
+
}
|
|
32
|
+
isSelected($item) {
|
|
33
|
+
const selectedItem = this.state.props.selecteditem;
|
|
34
|
+
if (isArray(selectedItem)) {
|
|
35
|
+
return selectedItem.indexOf($item) >= 0;
|
|
36
|
+
}
|
|
37
|
+
return selectedItem === $item;
|
|
38
|
+
}
|
|
39
|
+
onSelect($item, $index) {
|
|
40
|
+
let triggerTapEvent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
41
|
+
const props = this.state.props;
|
|
42
|
+
let selectedItem = null;
|
|
43
|
+
if (props.disableitem !== true && (typeof props.disableitem !== 'function' || !props.disableitem($item, $index))) {
|
|
44
|
+
if (props.multiselect) {
|
|
45
|
+
selectedItem = [...(props.selecteditem || [])];
|
|
46
|
+
const index = selectedItem.indexOf($item);
|
|
47
|
+
if (index < 0) {
|
|
48
|
+
if (!props.selectionlimit || props.selectionlimit < 0 || selectedItem.length < props.selectionlimit) {
|
|
49
|
+
selectedItem.push($item);
|
|
50
|
+
} else {
|
|
51
|
+
this.invokeEventCallback('onSelectionlimitexceed', [null, this]);
|
|
52
|
+
}
|
|
53
|
+
} else {
|
|
54
|
+
selectedItem.splice(index, 1);
|
|
55
|
+
}
|
|
56
|
+
} else {
|
|
57
|
+
if (props.selecteditem === $item) {
|
|
58
|
+
selectedItem = null;
|
|
59
|
+
} else {
|
|
60
|
+
selectedItem = $item;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
this.selectedItemWidgets = this.itemWidgets[$index];
|
|
64
|
+
this.updateState({
|
|
65
|
+
props: {
|
|
66
|
+
selecteditem: selectedItem
|
|
67
|
+
},
|
|
68
|
+
selectedindex: $index
|
|
69
|
+
}, () => {
|
|
70
|
+
this.invokeEventCallback('onSelect', [this.proxy, $item]);
|
|
71
|
+
triggerTapEvent && this.invokeEventCallback('onTap', [null, this.proxy]);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
selectFirstItem() {
|
|
76
|
+
const props = this.state.props;
|
|
77
|
+
if (this.initialized && props.dataset && props.dataset.length) {
|
|
78
|
+
const index = props.groupby ? '00' : 0;
|
|
79
|
+
this.onSelect(props.dataset[0], index);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
deselectAll() {
|
|
83
|
+
this.updateState({
|
|
84
|
+
props: {
|
|
85
|
+
selecteditem: null
|
|
86
|
+
},
|
|
87
|
+
selectedindex: -1
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
setGroupData(items) {
|
|
91
|
+
const dataItems = items;
|
|
92
|
+
const props = this.state.props;
|
|
93
|
+
if (props.groupby) {
|
|
94
|
+
const groupedData = dataItems && getGroupedData(dataItems, props.groupby, props.match, props.orderby, props.dateformat, this);
|
|
95
|
+
this.updateState({
|
|
96
|
+
groupedData: groupedData
|
|
97
|
+
}, () => {
|
|
98
|
+
var _this$keyExtractor;
|
|
99
|
+
(_this$keyExtractor = this.keyExtractor) === null || _this$keyExtractor === void 0 ? void 0 : _this$keyExtractor.clear();
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
onPropertyChange(name, $new, $old) {
|
|
104
|
+
super.onPropertyChange(name, $new, $old);
|
|
105
|
+
const props = this.state.props;
|
|
106
|
+
switch (name) {
|
|
107
|
+
case 'selectfirstitem':
|
|
108
|
+
if ($new) {
|
|
109
|
+
this.selectFirstItem();
|
|
110
|
+
}
|
|
111
|
+
break;
|
|
112
|
+
case 'dataset':
|
|
113
|
+
if (this.state.props.groupby) {
|
|
114
|
+
this.setGroupData($new);
|
|
115
|
+
} else {
|
|
116
|
+
const data = isArray($new) ? $new : isDefined($new) ? [$new] : [];
|
|
117
|
+
this.updateState({
|
|
118
|
+
groupedData: data[0] || props.direction === 'horizontal' ? [{
|
|
119
|
+
key: '',
|
|
120
|
+
data: data
|
|
121
|
+
}] : []
|
|
122
|
+
}, () => {
|
|
123
|
+
var _this$keyExtractor2;
|
|
124
|
+
(_this$keyExtractor2 = this.keyExtractor) === null || _this$keyExtractor2 === void 0 ? void 0 : _this$keyExtractor2.clear();
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
this.itemWidgets = [];
|
|
128
|
+
if (props.selectfirstitem) {
|
|
129
|
+
this.selectFirstItem();
|
|
130
|
+
} else {
|
|
131
|
+
this.deselectAll();
|
|
132
|
+
}
|
|
133
|
+
break;
|
|
134
|
+
case 'groupby':
|
|
135
|
+
case 'match':
|
|
136
|
+
this.setGroupData(this.state.props.dataset);
|
|
137
|
+
break;
|
|
138
|
+
case 'multiselect':
|
|
139
|
+
if ($new) {
|
|
140
|
+
if (!isArray(this.state.props.selecteditem)) {
|
|
141
|
+
this.state.props.selecteditem = this.state.props.selecteditem ? [this.state.props.selecteditem] : [];
|
|
142
|
+
}
|
|
143
|
+
} else if (isArray(this.state.props.selecteditem)) {
|
|
144
|
+
this.state.props.selecteditem = this.state.props.selecteditem.pop();
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
componentDidMount() {
|
|
149
|
+
var _props$dataset;
|
|
150
|
+
const props = this.state.props;
|
|
151
|
+
if (this.state.props.selectfirstitem && (_props$dataset = props.dataset) !== null && _props$dataset !== void 0 && _props$dataset.length) {
|
|
152
|
+
setTimeout(() => {
|
|
153
|
+
this.onSelect(props.dataset[0], 0);
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
super.componentDidMount();
|
|
157
|
+
}
|
|
158
|
+
componentDidUpdate(prevProps, prevState, snapshot) {
|
|
159
|
+
super.componentDidUpdate && super.componentDidUpdate(prevProps, prevState, snapshot);
|
|
160
|
+
this.invokeEventCallback('onRender', [this, this.state.props.dataset]);
|
|
161
|
+
}
|
|
162
|
+
getDefaultStyles() {
|
|
163
|
+
const isHorizontal = this.state.props.direction === 'horizontal';
|
|
164
|
+
return this.theme.getStyle(`${this.defaultClass} ${isHorizontal ? 'app-horizontal-list' : 'app-vertical-list'}`);
|
|
165
|
+
}
|
|
166
|
+
getIndex(item) {
|
|
167
|
+
return this.state.props.dataset.indexOf(item);
|
|
168
|
+
}
|
|
169
|
+
generateItemKey(item, index, props) {
|
|
170
|
+
if (props.itemkey && item && !this._showSkeleton) {
|
|
171
|
+
return props.itemkey(item, index);
|
|
172
|
+
}
|
|
173
|
+
return 'list_item_' + this.keyExtractor.getKey(item, true);
|
|
174
|
+
}
|
|
175
|
+
renderItem(item, index, props) {
|
|
176
|
+
const cols = this.getNoOfColumns();
|
|
177
|
+
const isHorizontal = props.direction === 'horizontal';
|
|
178
|
+
return /*#__PURE__*/React.createElement(Tappable, _extends({}, this.getTestPropsForAction(`item${index}`), {
|
|
179
|
+
onTap: () => this.onSelect(item, index, true),
|
|
180
|
+
onLongTap: () => this.invokeEventCallback('onLongtap', [null, this.proxy]),
|
|
181
|
+
onDoubleTap: () => this.invokeEventCallback('onDoubletap', [null, this.proxy]),
|
|
182
|
+
styles: [cols ? {
|
|
183
|
+
width: round(100 / cols, 2) + '%'
|
|
184
|
+
} : null, cols || isHorizontal ? {
|
|
185
|
+
paddingRight: (isNil(this.styles.item.marginRight) ? this.styles.item.margin : this.styles.item.marginRight) || 4
|
|
186
|
+
} : null]
|
|
187
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
188
|
+
style: [this.styles.item, props.itemclass ? this.theme.getStyle(props.itemclass(item, index)) : null, this.isSelected(item) ? this.styles.selectedItem : {}]
|
|
189
|
+
}, props.renderItem(item, index, this), this.isSelected(item) ? /*#__PURE__*/React.createElement(WmIcon, {
|
|
190
|
+
id: this.getTestId('icon' + index),
|
|
191
|
+
iconclass: "wi wi-check-circle",
|
|
192
|
+
styles: this.styles.selectedIcon
|
|
193
|
+
}) : null));
|
|
194
|
+
}
|
|
195
|
+
renderHeader(props, title) {
|
|
196
|
+
return props.groupby ? /*#__PURE__*/React.createElement(Text, {
|
|
197
|
+
style: this.styles.groupHeading
|
|
198
|
+
}, title) : props.iconclass || props.title || props.subheading ? /*#__PURE__*/React.createElement(View, {
|
|
199
|
+
style: this.styles.heading
|
|
200
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
201
|
+
style: {
|
|
202
|
+
flex: 1,
|
|
203
|
+
flexDirection: 'row'
|
|
204
|
+
}
|
|
205
|
+
}, /*#__PURE__*/React.createElement(WmIcon, {
|
|
206
|
+
id: this.getTestId('icon'),
|
|
207
|
+
styles: this.styles.listIcon,
|
|
208
|
+
iconclass: props.iconclass
|
|
209
|
+
}), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(WmLabel, {
|
|
210
|
+
id: this.getTestId('title'),
|
|
211
|
+
styles: this.styles.title,
|
|
212
|
+
caption: props.title
|
|
213
|
+
}), /*#__PURE__*/React.createElement(WmLabel, {
|
|
214
|
+
id: this.getTestId('subheading'),
|
|
215
|
+
styles: this.styles.subheading,
|
|
216
|
+
caption: props.subheading
|
|
217
|
+
})))) : null;
|
|
218
|
+
}
|
|
219
|
+
renderEmptyMessage(isHorizontal, item, index, props) {
|
|
220
|
+
return /*#__PURE__*/React.createElement(WmLabel, {
|
|
221
|
+
id: this.getTestId('emptymsg'),
|
|
222
|
+
styles: this.styles.emptyMessage,
|
|
223
|
+
caption: props.nodatamessage
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
renderLoadingIcon(props) {
|
|
227
|
+
return /*#__PURE__*/React.createElement(WmIcon, {
|
|
228
|
+
id: this.getTestId('loadingicon'),
|
|
229
|
+
styles: this.styles.loadingIcon,
|
|
230
|
+
iconclass: props.loadingicon,
|
|
231
|
+
caption: props.loadingdatamsg
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
getNoOfColumns() {
|
|
235
|
+
const props = this.state.props;
|
|
236
|
+
if (props.direction === 'vertical') {
|
|
237
|
+
return props.itemsperrow.xs;
|
|
238
|
+
}
|
|
239
|
+
return 0;
|
|
240
|
+
}
|
|
241
|
+
renderWithFlatList(props) {
|
|
242
|
+
let isHorizontal = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
243
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
244
|
+
style: this.styles.root
|
|
245
|
+
}, this.state.groupedData ? this.state.groupedData.map((v, i) => /*#__PURE__*/React.createElement(View, {
|
|
246
|
+
style: {
|
|
247
|
+
marginBottom: 16
|
|
248
|
+
},
|
|
249
|
+
key: v.key || this.keyExtractor.getKey(v, true)
|
|
250
|
+
}, this.renderHeader(props, v.key), /*#__PURE__*/React.createElement(FlatList, _extends({
|
|
251
|
+
key: props.name + '_' + (isHorizontal ? 'H' : 'V') + props.itemsperrow.xs,
|
|
252
|
+
keyExtractor: (item, i) => this.generateItemKey(item, i, props),
|
|
253
|
+
horizontal: isHorizontal,
|
|
254
|
+
data: v.data || [],
|
|
255
|
+
ListEmptyComponent: itemInfo => this.renderEmptyMessage(isHorizontal, itemInfo.item, itemInfo.index, props),
|
|
256
|
+
renderItem: itemInfo => this.renderItem(itemInfo.item, itemInfo.index, props)
|
|
257
|
+
}, isHorizontal ? {} : {
|
|
258
|
+
numColumns: this.getNoOfColumns()
|
|
259
|
+
})))) : null);
|
|
260
|
+
}
|
|
261
|
+
getSectionListData() {
|
|
262
|
+
if (this._showSkeleton) {
|
|
263
|
+
return [{
|
|
264
|
+
key: '',
|
|
265
|
+
data: [{}, {}, {}]
|
|
266
|
+
}];
|
|
267
|
+
} else if (this.state.groupedData && this.state.groupedData[0] && this.state.groupedData[0]['data'].length) {
|
|
268
|
+
return this.state.groupedData;
|
|
269
|
+
}
|
|
270
|
+
return [];
|
|
271
|
+
}
|
|
272
|
+
renderWithSectionList(props) {
|
|
273
|
+
let isHorizontal = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
274
|
+
return /*#__PURE__*/React.createElement(SectionList, {
|
|
275
|
+
keyExtractor: (item, i) => this.generateItemKey(item, i, props),
|
|
276
|
+
horizontal: isHorizontal,
|
|
277
|
+
onEndReached: _ref => {
|
|
278
|
+
let {
|
|
279
|
+
distanceFromEnd
|
|
280
|
+
} = _ref;
|
|
281
|
+
this.setState({
|
|
282
|
+
currentPage: this.state.currentPage + 1
|
|
283
|
+
});
|
|
284
|
+
this.invokeEventCallback('onEndReached', [null, this]);
|
|
285
|
+
},
|
|
286
|
+
contentContainerStyle: this.styles.root,
|
|
287
|
+
onEndReachedThreshold: 0.3,
|
|
288
|
+
sections: this.getSectionListData(),
|
|
289
|
+
renderSectionHeader: _ref2 => {
|
|
290
|
+
let {
|
|
291
|
+
section: {
|
|
292
|
+
key,
|
|
293
|
+
data
|
|
294
|
+
}
|
|
295
|
+
} = _ref2;
|
|
296
|
+
return this.renderHeader(props, key);
|
|
297
|
+
},
|
|
298
|
+
renderSectionFooter: () => props.loadingdata ? this.renderLoadingIcon(props) : null,
|
|
299
|
+
ListEmptyComponent: itemInfo => this.renderEmptyMessage(isHorizontal, itemInfo.item, itemInfo.index, props),
|
|
300
|
+
renderItem: itemInfo => this.renderItem(itemInfo.item, itemInfo.index, props)
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
renderWidget(props) {
|
|
304
|
+
this.invokeEventCallback('onBeforedatarender', [this, this.state.props.dataset]);
|
|
305
|
+
const isHorizontal = props.direction === 'horizontal';
|
|
306
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
307
|
+
style: isHorizontal ? null : {
|
|
308
|
+
width: '100%'
|
|
309
|
+
}
|
|
310
|
+
}, this._background, isHorizontal || !props.groupby ? this.renderWithFlatList(props, isHorizontal) : this.renderWithSectionList(props, isHorizontal));
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
//# sourceMappingURL=list.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","SectionList","Text","View","FlatList","isArray","isNil","round","BaseComponent","BaseComponentState","getGroupedData","isDefined","Tappable","DefaultKeyExtractor","WmLabel","WmIcon","WmListProps","DEFAULT_CLASS","WmListState","constructor","arguments","_defineProperty","WmList","props","isSelected","$item","selectedItem","state","selecteditem","indexOf","onSelect","$index","triggerTapEvent","length","undefined","disableitem","multiselect","index","selectionlimit","push","invokeEventCallback","splice","selectedItemWidgets","itemWidgets","updateState","selectedindex","proxy","selectFirstItem","initialized","dataset","groupby","deselectAll","setGroupData","items","dataItems","groupedData","match","orderby","dateformat","_this$keyExtractor","keyExtractor","clear","onPropertyChange","name","$new","$old","data","direction","key","_this$keyExtractor2","selectfirstitem","pop","componentDidMount","_props$dataset","setTimeout","componentDidUpdate","prevProps","prevState","snapshot","getDefaultStyles","isHorizontal","theme","getStyle","defaultClass","getIndex","item","generateItemKey","itemkey","_showSkeleton","getKey","renderItem","cols","getNoOfColumns","createElement","_extends","getTestPropsForAction","onTap","onLongTap","onDoubleTap","styles","width","paddingRight","marginRight","margin","style","itemclass","id","getTestId","iconclass","selectedIcon","renderHeader","title","groupHeading","subheading","heading","flex","flexDirection","listIcon","caption","renderEmptyMessage","emptyMessage","nodatamessage","renderLoadingIcon","loadingIcon","loadingicon","loadingdatamsg","itemsperrow","xs","renderWithFlatList","root","map","v","i","marginBottom","horizontal","ListEmptyComponent","itemInfo","numColumns","getSectionListData","renderWithSectionList","onEndReached","_ref","distanceFromEnd","setState","currentPage","contentContainerStyle","onEndReachedThreshold","sections","renderSectionHeader","_ref2","section","renderSectionFooter","loadingdata","renderWidget","_background"],"sources":["list.component.tsx"],"sourcesContent":["import React from 'react';\nimport { SectionList, Text, View, TouchableWithoutFeedback } from 'react-native';\nimport { FlatList } from 'react-native-gesture-handler';\nimport { isArray, isNil, round } from 'lodash-es';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport {getGroupedData, isDefined} from \"@wavemaker/app-rn-runtime/core/utils\";\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { DefaultKeyExtractor } from '@wavemaker/app-rn-runtime/core/key.extractor';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\n\nimport WmListProps from './list.props';\nimport { DEFAULT_CLASS, WmListStyles } from './list.styles';\n\n\nexport class WmListState extends BaseComponentState<WmListProps> {\n public selectedindex: any;\n groupedData: Array<any> = [];\n currentPage: number = 1;\n}\n\nexport default class WmList extends BaseComponent<WmListProps, WmListState, WmListStyles> {\n\n private itemWidgets = [] as any[];\n private selectedItemWidgets = {} as any;\n private keyExtractor = new DefaultKeyExtractor();\n \n constructor(props: WmListProps) {\n super(props, DEFAULT_CLASS, new WmListProps(), new WmListState());\n }\n\n private isSelected($item: any) {\n const selectedItem = this.state.props.selecteditem;\n if (isArray(selectedItem)) {\n return selectedItem.indexOf($item) >= 0;\n }\n return selectedItem === $item;\n }\n\n private onSelect($item: any, $index: number | string, triggerTapEvent = false) {\n const props = this.state.props;\n let selectedItem = null as any;\n if (props.disableitem !== true \n && (typeof props.disableitem !== 'function' || !props.disableitem($item, $index))) {\n if (props.multiselect) {\n selectedItem = [...(props.selecteditem || [])];\n const index = selectedItem.indexOf($item);\n if (index < 0) {\n if ((!props.selectionlimit)\n || props.selectionlimit < 0\n || selectedItem.length < props.selectionlimit) {\n selectedItem.push($item);\n } else {\n this.invokeEventCallback('onSelectionlimitexceed', [null, this]);\n }\n } else {\n selectedItem.splice(index, 1);\n }\n } else {\n if (props.selecteditem === $item) {\n selectedItem = null;\n } else {\n selectedItem = $item;\n }\n }\n this.selectedItemWidgets = this.itemWidgets[$index as number];\n this.updateState({\n props: { selecteditem: selectedItem },\n selectedindex: $index\n } as WmListState, () => {\n this.invokeEventCallback('onSelect', [this.proxy, $item]);\n triggerTapEvent && this.invokeEventCallback('onTap', [null, this.proxy]);\n });\n }\n }\n\n private selectFirstItem() {\n const props = this.state.props;\n if (this.initialized\n && props.dataset\n && props.dataset.length) {\n const index = props.groupby ? '00': 0;\n this.onSelect(props.dataset[0], index);\n }\n }\n\n private deselectAll() {\n this.updateState({\n props: { selecteditem: null },\n selectedindex: -1\n } as WmListState);\n }\n\n setGroupData(items: any) {\n const dataItems = items;\n const props = this.state.props;\n if (props.groupby) {\n const groupedData = dataItems && getGroupedData(dataItems, props.groupby, props.match, props.orderby, props.dateformat, this);\n this.updateState({\n groupedData: groupedData\n } as WmListState, () => {\n this.keyExtractor?.clear();\n });\n }\n }\n\n public onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n const props = this.state.props;\n switch(name) {\n case 'selectfirstitem':\n if ($new) {\n this.selectFirstItem();\n }\n break;\n case 'dataset':\n if (this.state.props.groupby) {\n this.setGroupData($new);\n } else {\n const data = isArray($new) ? $new : (isDefined($new) ? [$new] : []);\n this.updateState({\n groupedData: (data[0] || props.direction === 'horizontal' ? [{\n key: '',\n data: data\n }] : [])\n } as WmListState, () => {\n this.keyExtractor?.clear();\n });\n }\n this.itemWidgets = [];\n if (props.selectfirstitem) {\n this.selectFirstItem();\n } else {\n this.deselectAll();\n }\n break;\n case 'groupby':\n case 'match':\n this.setGroupData(this.state.props.dataset);\n break;\n case 'multiselect':\n if ($new) {\n if (!isArray(this.state.props.selecteditem)) {\n this.state.props.selecteditem = this.state.props.selecteditem ? \n [this.state.props.selecteditem] : [];\n }\n } else if (isArray(this.state.props.selecteditem)) {\n this.state.props.selecteditem = this.state.props.selecteditem.pop();\n }\n }\n }\n\n componentDidMount() {\n const props = this.state.props;\n if (this.state.props.selectfirstitem && props.dataset?.length) {\n setTimeout(() => {\n this.onSelect(props.dataset[0], 0);\n });\n }\n super.componentDidMount();\n }\n\n componentDidUpdate(prevProps: WmListProps, prevState: WmListState, snapshot?: any) {\n super.componentDidUpdate && super.componentDidUpdate(prevProps, prevState, snapshot);\n this.invokeEventCallback('onRender', [this, this.state.props.dataset]);\n }\n\n getDefaultStyles() {\n const isHorizontal = this.state.props.direction === 'horizontal';\n return this.theme.getStyle(`${this.defaultClass} ${isHorizontal ? 'app-horizontal-list' : 'app-vertical-list'}`);\n }\n\n getIndex(item: any) {\n return this.state.props.dataset.indexOf(item);\n }\n\n private generateItemKey(item: any, index: number, props: WmListProps) {\n if (props.itemkey && item && !this._showSkeleton) {\n return props.itemkey(item, index);\n }\n return 'list_item_' + this.keyExtractor.getKey(item, true);\n }\n\n private renderItem(item: any, index: number, props: WmListProps) {\n const cols = this. getNoOfColumns();\n const isHorizontal = (props.direction === 'horizontal');\n return ( \n <Tappable\n {...this.getTestPropsForAction(`item${index}`)}\n onTap={() => this.onSelect(item, index, true)}\n onLongTap={() => this.invokeEventCallback('onLongtap', [null, this.proxy])}\n onDoubleTap={() => this.invokeEventCallback('onDoubletap', [null, this.proxy])}\n styles={\n [\n cols ? {\n width: round(100/cols, 2) + '%'\n } : null,\n cols || isHorizontal? {\n paddingRight: (isNil(this.styles.item.marginRight) \n ? this.styles.item.margin : this.styles.item.marginRight) || 4\n }: null\n ]\n }>\n <View style={[\n this.styles.item,\n props.itemclass ? this.theme.getStyle(props.itemclass(item, index)) : null,\n this.isSelected(item) ? this.styles.selectedItem : {}]}>\n { props.renderItem(item, index, this)}\n { this.isSelected(item) ? (\n <WmIcon id={this.getTestId('icon' + index)}iconclass='wi wi-check-circle' styles={this.styles.selectedIcon} />\n ) : null}\n </View>\n </Tappable>\n );\n }\n\n private renderHeader(props: WmListProps, title: string) {\n return props.groupby ? (\n <Text style={this.styles.groupHeading}>{title}</Text>\n ) : (props.iconclass || props.title || props.subheading) ? (\n <View style={this.styles.heading}>\n <View style={{flex: 1, flexDirection: 'row'}}>\n <WmIcon id={this.getTestId('icon')} styles={this.styles.listIcon} iconclass={props.iconclass}></WmIcon>\n <View>\n <WmLabel id={this.getTestId('title')} styles={this.styles.title} caption={props.title}></WmLabel>\n <WmLabel id={this.getTestId('subheading')} styles={this.styles.subheading} caption={props.subheading}></WmLabel>\n </View>\n </View>\n </View>) : null;\n }\n\n private renderEmptyMessage(isHorizontal: boolean, item: any, index: any, props: WmListProps) {\n return (<WmLabel id={this.getTestId('emptymsg')} styles={this.styles.emptyMessage} caption={props.nodatamessage}></WmLabel>);\n }\n\n private renderLoadingIcon(props: WmListProps) {\n return (<WmIcon\n id={this.getTestId('loadingicon')}\n styles={this.styles.loadingIcon}\n iconclass={props.loadingicon}\n caption={props.loadingdatamsg}></WmIcon>)\n }\n\n public getNoOfColumns() {\n const props = this.state.props;\n if(props.direction === 'vertical') {\n return props.itemsperrow.xs;\n }\n return 0;\n }\n\n private renderWithFlatList(props: WmListProps, isHorizontal = false) {\n return (\n <View style={this.styles.root}>\n {this.state.groupedData ? this.state.groupedData.map((v: any, i) => ((\n <View style={{marginBottom: 16}} key={v.key || this.keyExtractor.getKey(v, true)}>\n {this.renderHeader(props, v.key)}\n <FlatList\n key={props.name + '_' + (isHorizontal ? 'H' : 'V') + props.itemsperrow.xs}\n keyExtractor={(item, i) => this.generateItemKey(item, i, props)}\n horizontal = {isHorizontal}\n data={v.data || []}\n ListEmptyComponent = {(itemInfo) => this.renderEmptyMessage(isHorizontal, itemInfo.item, itemInfo.index, props)}\n renderItem={(itemInfo) => this.renderItem(itemInfo.item, itemInfo.index, props)} \n {...(isHorizontal ? {} : {numColumns : this.getNoOfColumns()})}> \n </FlatList>\n </View>\n ))) : null\n }\n </View>);\n }\n\n private getSectionListData() {\n if (this._showSkeleton) {\n return [{\n key: '',\n data: [{}, {}, {}]\n }];\n } else if (this.state.groupedData \n && this.state.groupedData[0] \n && this.state.groupedData[0]['data'].length) {\n return this.state.groupedData;\n }\n return [];\n }\n\n private renderWithSectionList(props: WmListProps, isHorizontal = false) { \n return (\n <SectionList\n keyExtractor={(item, i) => this.generateItemKey(item, i, props)}\n horizontal = {isHorizontal}\n onEndReached={({distanceFromEnd}) => {\n this.setState({ currentPage: this.state.currentPage + 1 } as WmListState);\n this.invokeEventCallback('onEndReached', [null, this]);\n }}\n contentContainerStyle={this.styles.root}\n onEndReachedThreshold={0.3}\n sections={this.getSectionListData()}\n renderSectionHeader={({ section: {key, data}}) => {\n return this.renderHeader(props, key);\n }}\n renderSectionFooter={() => props.loadingdata ? this.renderLoadingIcon(props) : null}\n ListEmptyComponent = {(itemInfo) => this.renderEmptyMessage(isHorizontal, itemInfo.item, itemInfo.index, props)}\n renderItem={(itemInfo) => this.renderItem(itemInfo.item, itemInfo.index, props)}>\n </SectionList>\n );\n }\n\n renderWidget(props: WmListProps) {\n this.invokeEventCallback('onBeforedatarender', [this, this.state.props.dataset]);\n const isHorizontal = (props.direction === 'horizontal');\n return (\n <View style={isHorizontal ? null : { width: '100%' }}>\n {this._background}\n {(isHorizontal || !props.groupby) ?\n this.renderWithFlatList(props, isHorizontal)\n : this.renderWithSectionList(props, isHorizontal)}\n </View>);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA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{ defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
export const DEFAULT_CLASS = 'app-list';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {},
|
|
7
|
+
text: {},
|
|
8
|
+
listIcon: {
|
|
9
|
+
root: {
|
|
10
|
+
marginTop: 10,
|
|
11
|
+
marginRight: 8
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
groupHeading: {
|
|
15
|
+
backgroundColor: themeVariables.groupHeadingBgColor,
|
|
16
|
+
fontSize: 16,
|
|
17
|
+
paddingLeft: 8,
|
|
18
|
+
paddingRight: 8,
|
|
19
|
+
lineHeight: 40,
|
|
20
|
+
fontFamily: themeVariables.baseFont
|
|
21
|
+
},
|
|
22
|
+
loadingIcon: {
|
|
23
|
+
root: {
|
|
24
|
+
flex: 1,
|
|
25
|
+
alignSelf: 'center',
|
|
26
|
+
justifyContent: 'center',
|
|
27
|
+
fontSize: 16
|
|
28
|
+
},
|
|
29
|
+
text: {
|
|
30
|
+
color: themeVariables.listSubTitleColor
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
heading: {
|
|
34
|
+
padding: 8,
|
|
35
|
+
marginBottom: 6,
|
|
36
|
+
backgroundColor: themeVariables.listHeaderBgColor
|
|
37
|
+
},
|
|
38
|
+
title: {
|
|
39
|
+
text: {
|
|
40
|
+
color: themeVariables.listTitleColor,
|
|
41
|
+
fontSize: 16,
|
|
42
|
+
fontFamily: themeVariables.baseFont,
|
|
43
|
+
lineHeight: 24,
|
|
44
|
+
fontWeight: '400'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
subheading: {
|
|
48
|
+
text: {
|
|
49
|
+
fontSize: 14,
|
|
50
|
+
lineHeight: 20,
|
|
51
|
+
fontFamily: themeVariables.baseFont,
|
|
52
|
+
fontWeight: '400',
|
|
53
|
+
color: themeVariables.listSubTitleColor
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
emptyMessage: {
|
|
57
|
+
root: {
|
|
58
|
+
flex: 1,
|
|
59
|
+
alignSelf: 'center',
|
|
60
|
+
fontSize: 16,
|
|
61
|
+
lineHeight: 18,
|
|
62
|
+
color: themeVariables.listSubTitleColor
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
item: {
|
|
66
|
+
...BASE_THEME.getStyle('elevate1').root,
|
|
67
|
+
shadowColor: 'rgba(0, 0, 0, 0.3)',
|
|
68
|
+
flexDirection: 'row',
|
|
69
|
+
flex: 1,
|
|
70
|
+
paddingLeft: 4,
|
|
71
|
+
paddingRight: 4,
|
|
72
|
+
paddingTop: 4,
|
|
73
|
+
paddingBottom: 4,
|
|
74
|
+
minHeight: 56,
|
|
75
|
+
backgroundColor: themeVariables.itemBgColor,
|
|
76
|
+
borderColor: themeVariables.selectedItemBorderColor,
|
|
77
|
+
borderRadius: 6,
|
|
78
|
+
borderStyle: 'solid'
|
|
79
|
+
},
|
|
80
|
+
selectedItem: {},
|
|
81
|
+
selectedIcon: {
|
|
82
|
+
root: {
|
|
83
|
+
position: 'absolute',
|
|
84
|
+
right: 0,
|
|
85
|
+
top: 0
|
|
86
|
+
},
|
|
87
|
+
text: {
|
|
88
|
+
color: themeVariables.primaryColor,
|
|
89
|
+
fontSize: 16
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
94
|
+
addStyle('app-horizontal-list', '', {
|
|
95
|
+
groupHeading: {
|
|
96
|
+
minWidth: 120,
|
|
97
|
+
backgroundColor: themeVariables.groupHeadingBgColor
|
|
98
|
+
},
|
|
99
|
+
item: {
|
|
100
|
+
marginRight: 6,
|
|
101
|
+
borderColor: themeVariables.selectedItemBorderColor
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
addStyle('app-vertical-list', '', {
|
|
105
|
+
item: {
|
|
106
|
+
marginBottom: 6,
|
|
107
|
+
width: '100%',
|
|
108
|
+
borderBottomWidth: 0,
|
|
109
|
+
borderBottomColor: themeVariables.listDividerColor
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
addStyle('app-horizontal-list-dense', '', {
|
|
113
|
+
item: {
|
|
114
|
+
marginRight: 0,
|
|
115
|
+
borderRadius: 0,
|
|
116
|
+
borderRightWidth: 1,
|
|
117
|
+
borderRightColor: 'rgba(0,0,0,0.05)'
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
addStyle('app-list-dense', '', {
|
|
121
|
+
item: {
|
|
122
|
+
marginBottom: 0,
|
|
123
|
+
borderRadius: 0,
|
|
124
|
+
borderBottomWidth: 1,
|
|
125
|
+
borderBottomColor: 'rgba(0,0,0,0.05)'
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
//# sourceMappingURL=list.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","listIcon","marginTop","marginRight","groupHeading","backgroundColor","groupHeadingBgColor","fontSize","paddingLeft","paddingRight","lineHeight","fontFamily","baseFont","loadingIcon","flex","alignSelf","justifyContent","color","listSubTitleColor","heading","padding","marginBottom","listHeaderBgColor","title","listTitleColor","fontWeight","subheading","emptyMessage","item","getStyle","shadowColor","flexDirection","paddingTop","paddingBottom","minHeight","itemBgColor","borderColor","selectedItemBorderColor","borderRadius","borderStyle","selectedItem","selectedIcon","position","right","top","primaryColor","minWidth","width","borderBottomWidth","borderBottomColor","listDividerColor","borderRightWidth","borderRightColor"],"sources":["list.styles.ts"],"sourcesContent":["import { TextStyle, ViewStyle } 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 { WmLabelStyles } from '@wavemaker/app-rn-runtime/components/basic/label/label.styles';\nimport { WmIconStyles } from '@wavemaker/app-rn-runtime/components/basic/icon/icon.styles';\n\nexport type WmListStyles = BaseStyles & {\n heading: AllStyle,\n groupHeading: TextStyle,\n listIcon: WmIconStyles,\n loadingIcon: WmIconStyles,\n title: WmLabelStyles,\n subheading: WmLabelStyles,\n emptyMessage: WmLabelStyles,\n item: AllStyle,\n selectedItem: AllStyle,\n selectedIcon: WmIconStyles\n};\n\nexport const DEFAULT_CLASS = 'app-list';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmListStyles = defineStyles({\n root: {},\n text: {},\n listIcon: {\n root: {\n marginTop: 10,\n marginRight: 8\n }\n } as WmIconStyles,\n groupHeading: {\n backgroundColor: themeVariables.groupHeadingBgColor,\n fontSize: 16,\n paddingLeft: 8,\n paddingRight: 8,\n lineHeight: 40,\n fontFamily: themeVariables.baseFont\n },\n loadingIcon: {\n root: {\n flex: 1,\n alignSelf: 'center',\n justifyContent: 'center',\n fontSize: 16\n },\n text: {\n color: themeVariables.listSubTitleColor\n }\n } as WmIconStyles,\n heading : {\n padding: 8,\n marginBottom: 6,\n backgroundColor: themeVariables.listHeaderBgColor\n },\n title: {\n text: {\n color: themeVariables.listTitleColor,\n fontSize: 16,\n fontFamily: themeVariables.baseFont,\n lineHeight: 24,\n fontWeight: '400' \n }\n } as WmLabelStyles,\n subheading: {\n text: {\n fontSize: 14,\n lineHeight: 20,\n fontFamily: themeVariables.baseFont,\n fontWeight: '400',\n color: themeVariables.listSubTitleColor\n }\n } as WmLabelStyles,\n emptyMessage: {\n root: {\n flex: 1,\n alignSelf: 'center',\n fontSize: 16,\n lineHeight: 18,\n color: themeVariables.listSubTitleColor\n }\n } as WmLabelStyles,\n item: {\n ...BASE_THEME.getStyle('elevate1').root,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n flexDirection: 'row',\n flex: 1,\n paddingLeft: 4,\n paddingRight: 4,\n paddingTop: 4,\n paddingBottom: 4,\n minHeight: 56,\n backgroundColor: themeVariables.itemBgColor,\n borderColor: themeVariables.selectedItemBorderColor,\n borderRadius: 6,\n borderStyle: 'solid',\n },\n selectedItem : {} as AllStyle,\n selectedIcon : {\n root: {\n position: 'absolute',\n right: 0,\n top: 0\n },\n text: {\n color: themeVariables.primaryColor,\n fontSize: 16\n }\n } as WmIconStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n\n addStyle('app-horizontal-list', '', {\n groupHeading: {\n minWidth: 120,\n backgroundColor: themeVariables.groupHeadingBgColor,\n },\n item: {\n marginRight: 6,\n borderColor: themeVariables.selectedItemBorderColor,\n }\n } as WmListStyles);\n\n addStyle('app-vertical-list', '', {\n item: {\n marginBottom: 6,\n width: '100%',\n borderBottomWidth: 0,\n borderBottomColor: themeVariables.listDividerColor,\n }\n } as any as WmListStyles);\n\n addStyle('app-horizontal-list-dense', '', {\n item: {\n marginRight: 0,\n borderRadius: 0,\n borderRightWidth: 1,\n borderRightColor: 'rgba(0,0,0,0.05)'\n } as ViewStyle\n } as WmListStyles);\n\n addStyle('app-list-dense', '', {\n item: {\n marginBottom: 0,\n borderRadius: 0,\n borderBottomWidth: 1,\n borderBottomColor: 'rgba(0,0,0,0.05)'\n } as ViewStyle\n } as WmListStyles);\n});\n"],"mappings":"AACA,OAAOA,UAAU,MAAoB,wCAAwC;AAC7E,SAAqBC,YAAY,QAAQ,+CAA+C;AAiBxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA2B,GAAGL,YAAY,CAAC;IAC7CM,IAAI,EAAE,CAAC,CAAC;IACRC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACNF,IAAI,EAAE;QACFG,SAAS,EAAE,EAAE;QACbC,WAAW,EAAE;MACjB;IACJ,CAAiB;IACjBC,YAAY,EAAE;MACVC,eAAe,EAAET,cAAc,CAACU,mBAAmB;MACnDC,QAAQ,EAA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