@wavemaker/app-rn-runtime 11.4.3-next.30202 → 11.4.3-patch.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/advanced/carousel/carousel.component.js +209 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/login/login.component.js +39 -0
- package/components/advanced/login/login.component.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js +114 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
- package/components/advanced/webview/webview.component.js +130 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/basic/anchor/anchor.component.js +71 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/audio/audio.component.js +245 -0
- package/components/basic/audio/audio.component.js.map +1 -0
- package/components/basic/button/button.component.js +53 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.styles.js +134 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.js +51 -0
- package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
- package/components/basic/icon/icon.component.js +196 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/label/label.component.js +122 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.styles.js +123 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/message/message.component.js +76 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/picture/picture.component.js +189 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js +38 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.js +29 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js +76 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/search/search.component.js +417 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.styles.js +172 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/spinner/spinner.component.js +91 -0
- package/components/basic/spinner/spinner.component.js.map +1 -0
- package/components/basic/spinner/spinner.styles.js +40 -0
- package/components/basic/spinner/spinner.styles.js.map +1 -0
- package/components/basic/video/video.component.js +57 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/container/accordion/accordion.component.js +145 -0
- package/components/container/accordion/accordion.component.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js +75 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
- package/components/container/container.component.js +38 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/panel/collapsible-pane.component.js +26 -0
- package/components/container/panel/collapsible-pane.component.js.map +1 -0
- package/components/container/panel/panel.component.js +109 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.styles.js +105 -0
- package/components/container/panel/panel.styles.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.js +184 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.js +68 -0
- package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
- package/components/container/tabs/tabs.component.js +230 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/tile/tile.component.js +22 -0
- package/components/container/tile/tile.component.js.map +1 -0
- package/components/container/wizard/wizard.component.js +181 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +194 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/data/card/card.component.js +68 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/form/form-action/form-action.component.js +34 -0
- package/components/data/form/form-action/form-action.component.js.map +1 -0
- package/components/data/form/form-field/form-field.component.js +226 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form.component.js +399 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/list/list-template/list-template.styles.js +26 -0
- package/components/data/list/list-template/list-template.styles.js.map +1 -0
- package/components/data/list/list.component.js +313 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.styles.js +129 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.js +47 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.styles.js +31 -0
- package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
- package/components/device/camera/camera.component.js +65 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.styles.js +31 -0
- package/components/device/camera/camera.styles.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js +67 -0
- package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js +33 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js +73 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
- package/components/dialogs/dialog/dialog.component.js +94 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.styles.js +70 -0
- package/components/dialogs/dialog/dialog.styles.js.map +1 -0
- package/components/input/calendar/calendar.component.js +139 -0
- package/components/input/calendar/calendar.component.js.map +1 -0
- package/components/input/calendar/calendar.styles.js +143 -0
- package/components/input/calendar/calendar.styles.js.map +1 -0
- package/components/input/calendar/views/month-view.js +195 -0
- package/components/input/calendar/views/month-view.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js +95 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js +92 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/chips/chips.component.js +270 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.styles.js +93 -0
- package/components/input/chips/chips.styles.js.map +1 -0
- package/components/input/currency/currency.component.js +70 -0
- package/components/input/currency/currency.component.js.map +1 -0
- package/components/input/currency/currency.styles.js +72 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +274 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/fileupload/fileupload.component.js +56 -0
- package/components/input/fileupload/fileupload.component.js.map +1 -0
- package/components/input/number/number.component.js +52 -0
- package/components/input/number/number.component.js.map +1 -0
- package/components/input/number/number.styles.js +42 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +61 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/rating/rating.component.js +144 -0
- package/components/input/rating/rating.component.js.map +1 -0
- package/components/input/select/select.component.js +184 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.styles.js +99 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +148 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.styles.js +58 -0
- package/components/input/slider/slider.styles.js.map +1 -0
- package/components/input/switch/switch.component.js +73 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.styles.js +117 -0
- package/components/input/switch/switch.styles.js.map +1 -0
- package/components/input/text/text.component.js +47 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.styles.js +48 -0
- package/components/input/text/text.styles.js.map +1 -0
- package/components/input/textarea/textarea.component.js +48 -0
- package/components/input/textarea/textarea.component.js.map +1 -0
- package/components/input/toggle/toggle.component.js +95 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +55 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js +57 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js +160 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/menu/menu.component.js +63 -0
- package/components/navigation/menu/menu.component.js.map +1 -0
- package/components/navigation/menu/menu.styles.js +71 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navbar/navbar.component.js +77 -0
- package/components/navigation/navbar/navbar.component.js.map +1 -0
- package/components/navigation/navitem/navitem.component.js +66 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.styles.js +80 -0
- package/components/navigation/navitem/navitem.styles.js.map +1 -0
- package/components/navigation/popover/popover.component.js +129 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.styles.js +75 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/left-panel/left-panel.styles.js +18 -0
- package/components/page/left-panel/left-panel.styles.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js +103 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/core/base.component.js +425 -0
- package/core/base.component.js.map +1 -0
- package/core/change.queue.js +26 -0
- package/core/change.queue.js.map +1 -0
- package/core/formatters.js +61 -0
- package/core/formatters.js.map +1 -0
- package/core/tappable.component.js +82 -0
- package/core/tappable.component.js.map +1 -0
- package/core/testid.provider.js +5 -0
- package/core/testid.provider.js.map +1 -0
- package/package.json +244 -0
- package/runtime/App.js +480 -0
- package/runtime/App.js.map +1 -0
- package/runtime/base-fragment.component.js +340 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/services/device/camera-service.js +349 -0
- package/runtime/services/device/camera-service.js.map +1 -0
- package/runtime/services/device/scan-service.js +136 -0
- package/runtime/services/device/scan-service.js.map +1 -0
- package/styles/fdfd.css +56 -0
- package/styles/theme.variables.js +403 -0
- package/styles/theme.variables.js.map +1 -0
- app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -201
- app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
- app-rn-runtime/components/advanced/login/login.component.js +0 -38
- app-rn-runtime/components/advanced/login/login.component.js.map +0 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +0 -113
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.component.js +0 -129
- app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.component.js +0 -69
- app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
- app-rn-runtime/components/basic/audio/audio.component.js +0 -240
- app-rn-runtime/components/basic/audio/audio.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.component.js +0 -52
- app-rn-runtime/components/basic/button/button.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.styles.js +0 -124
- app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js +0 -50
- app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.component.js +0 -195
- app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
- app-rn-runtime/components/basic/label/label.component.js +0 -65
- app-rn-runtime/components/basic/label/label.component.js.map +0 -1
- app-rn-runtime/components/basic/label/label.styles.js +0 -122
- app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
- app-rn-runtime/components/basic/message/message.component.js +0 -73
- app-rn-runtime/components/basic/message/message.component.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.component.js +0 -187
- app-rn-runtime/components/basic/picture/picture.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +0 -36
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js +0 -29
- app-rn-runtime/components/basic/progress-bar/progress-bar.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +0 -75
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +0 -1
- app-rn-runtime/components/basic/search/search.component.js +0 -413
- app-rn-runtime/components/basic/search/search.component.js.map +0 -1
- app-rn-runtime/components/basic/search/search.styles.js +0 -171
- app-rn-runtime/components/basic/search/search.styles.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.component.js +0 -87
- app-rn-runtime/components/basic/spinner/spinner.component.js.map +0 -1
- app-rn-runtime/components/basic/spinner/spinner.styles.js +0 -39
- app-rn-runtime/components/basic/spinner/spinner.styles.js.map +0 -1
- app-rn-runtime/components/basic/video/video.component.js +0 -56
- app-rn-runtime/components/basic/video/video.component.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordion.component.js +0 -142
- app-rn-runtime/components/container/accordion/accordion.component.js.map +0 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +0 -94
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +0 -1
- app-rn-runtime/components/container/container.component.js +0 -37
- app-rn-runtime/components/container/container.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.component.js +0 -127
- app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.styles.js +0 -98
- app-rn-runtime/components/container/panel/panel.styles.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +0 -182
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +0 -64
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.component.js +0 -229
- app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
- app-rn-runtime/components/container/tile/tile.component.js +0 -21
- app-rn-runtime/components/container/tile/tile.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.component.js +0 -176
- app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.styles.js +0 -183
- app-rn-runtime/components/container/wizard/wizard.styles.js.map +0 -1
- app-rn-runtime/components/data/card/card.component.js +0 -67
- app-rn-runtime/components/data/card/card.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -33
- app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.component.js +0 -225
- app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
- app-rn-runtime/components/data/form/form.component.js +0 -396
- app-rn-runtime/components/data/form/form.component.js.map +0 -1
- app-rn-runtime/components/data/list/list-template/list-template.styles.js +0 -22
- app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +0 -1
- app-rn-runtime/components/data/list/list.component.js +0 -307
- app-rn-runtime/components/data/list/list.component.js.map +0 -1
- app-rn-runtime/components/data/list/list.styles.js +0 -122
- app-rn-runtime/components/data/list/list.styles.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +0 -46
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js +0 -30
- app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.component.js +0 -64
- app-rn-runtime/components/device/camera/camera.component.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.styles.js +0 -30
- app-rn-runtime/components/device/camera/camera.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +0 -64
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js +0 -27
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +0 -69
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js +0 -58
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.component.js +0 -92
- app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js +0 -61
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.component.js +0 -135
- app-rn-runtime/components/input/calendar/calendar.component.js.map +0 -1
- app-rn-runtime/components/input/calendar/calendar.styles.js +0 -132
- app-rn-runtime/components/input/calendar/calendar.styles.js.map +0 -1
- app-rn-runtime/components/input/calendar/views/month-view.js +0 -191
- app-rn-runtime/components/input/calendar/views/month-view.js.map +0 -1
- app-rn-runtime/components/input/checkbox/checkbox.component.js +0 -95
- app-rn-runtime/components/input/checkbox/checkbox.component.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js +0 -91
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.component.js +0 -266
- app-rn-runtime/components/input/chips/chips.component.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.styles.js +0 -85
- app-rn-runtime/components/input/chips/chips.styles.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.component.js +0 -70
- app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.styles.js +0 -64
- app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -272
- app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.component.js +0 -55
- app-rn-runtime/components/input/fileupload/fileupload.component.js.map +0 -1
- app-rn-runtime/components/input/number/number.component.js +0 -52
- app-rn-runtime/components/input/number/number.component.js.map +0 -1
- app-rn-runtime/components/input/number/number.styles.js +0 -38
- app-rn-runtime/components/input/number/number.styles.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.component.js +0 -60
- app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
- app-rn-runtime/components/input/rating/rating.component.js +0 -142
- app-rn-runtime/components/input/rating/rating.component.js.map +0 -1
- app-rn-runtime/components/input/select/select.component.js +0 -181
- app-rn-runtime/components/input/select/select.component.js.map +0 -1
- app-rn-runtime/components/input/select/select.styles.js +0 -98
- app-rn-runtime/components/input/select/select.styles.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.component.js +0 -77
- app-rn-runtime/components/input/slider/slider.component.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.styles.js +0 -33
- app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.component.js +0 -71
- app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.styles.js +0 -115
- app-rn-runtime/components/input/switch/switch.styles.js.map +0 -1
- app-rn-runtime/components/input/text/text.component.js +0 -47
- app-rn-runtime/components/input/text/text.component.js.map +0 -1
- app-rn-runtime/components/input/text/text.styles.js +0 -44
- app-rn-runtime/components/input/text/text.styles.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.component.js +0 -48
- app-rn-runtime/components/input/textarea/textarea.component.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.component.js +0 -94
- app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.styles.js +0 -43
- app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +0 -52
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js +0 -160
- app-rn-runtime/components/navigation/appnavbar/appnavbar.styles.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.component.js +0 -61
- app-rn-runtime/components/navigation/menu/menu.component.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.styles.js +0 -67
- app-rn-runtime/components/navigation/menu/menu.styles.js.map +0 -1
- app-rn-runtime/components/navigation/navbar/navbar.component.js +0 -74
- app-rn-runtime/components/navigation/navbar/navbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.component.js +0 -62
- app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.styles.js +0 -76
- app-rn-runtime/components/navigation/navitem/navitem.styles.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.component.js +0 -126
- app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.styles.js +0 -69
- app-rn-runtime/components/navigation/popover/popover.styles.js.map +0 -1
- app-rn-runtime/components/page/left-panel/left-panel.styles.js +0 -13
- app-rn-runtime/components/page/left-panel/left-panel.styles.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.component.js +0 -102
- app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
- app-rn-runtime/core/base.component.js +0 -382
- app-rn-runtime/core/base.component.js.map +0 -1
- app-rn-runtime/core/formatters.js +0 -54
- app-rn-runtime/core/formatters.js.map +0 -1
- app-rn-runtime/core/tappable.component.js +0 -72
- app-rn-runtime/core/tappable.component.js.map +0 -1
- app-rn-runtime/package.json +0 -243
- app-rn-runtime/runtime/App.js +0 -465
- app-rn-runtime/runtime/App.js.map +0 -1
- app-rn-runtime/runtime/base-fragment.component.js +0 -330
- app-rn-runtime/runtime/base-fragment.component.js.map +0 -1
- app-rn-runtime/runtime/services/device/camera-service.js +0 -332
- app-rn-runtime/runtime/services/device/camera-service.js.map +0 -1
- app-rn-runtime/runtime/services/device/scan-service.js +0 -122
- app-rn-runtime/runtime/services/device/scan-service.js.map +0 -1
- app-rn-runtime/styles/theme.variables.js +0 -392
- app-rn-runtime/styles/theme.variables.js.map +0 -1
- {app-rn-runtime → package}/actions/base-action.js +0 -0
- {app-rn-runtime → package}/actions/base-action.js.map +0 -0
- {app-rn-runtime → package}/actions/index.js +0 -0
- {app-rn-runtime → package}/actions/index.js.map +0 -0
- {app-rn-runtime → package}/actions/login-action.js +0 -0
- {app-rn-runtime → package}/actions/login-action.js.map +0 -0
- {app-rn-runtime → package}/actions/logout-action.js +0 -0
- {app-rn-runtime → package}/actions/logout-action.js.map +0 -0
- {app-rn-runtime → package}/actions/navigation-action.js +0 -0
- {app-rn-runtime → package}/actions/navigation-action.js.map +0 -0
- {app-rn-runtime → package}/actions/notification-action.js +0 -0
- {app-rn-runtime → package}/actions/notification-action.js.map +0 -0
- {app-rn-runtime → package}/actions/timer-action.js +0 -0
- {app-rn-runtime → package}/actions/timer-action.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.component.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/carousel/carousel.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.props.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.props.js.map +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.props.js +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/anchor/anchor.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/animatedview.component.js +0 -0
- {app-rn-runtime → package}/components/basic/animatedview.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.props.js +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/button/button.props.js +0 -0
- {app-rn-runtime → package}/components/basic/button/button.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js +0 -0
- {app-rn-runtime → package}/components/basic/buttongroup/buttongroup.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.component.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.props.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/custom/custom.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.props.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/icon.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/icon/wavicon/wavicon.ttf +0 -0
- {app-rn-runtime → package}/components/basic/label/label.props.js +0 -0
- {app-rn-runtime → package}/components/basic/label/label.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.component.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.props.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/lottie/lottie.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/message/message.props.js +0 -0
- {app-rn-runtime → package}/components/basic/message/message.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/message/message.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/message/message.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.component.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.props.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/modal/modal.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.props.js +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/picture/picture.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-circle/progress-circle.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/search/local-data-provider.js +0 -0
- {app-rn-runtime → package}/components/basic/search/local-data-provider.js.map +0 -0
- {app-rn-runtime → package}/components/basic/search/search.props.js +0 -0
- {app-rn-runtime → package}/components/basic/search/search.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.component.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/skeleton/skeleton.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.props.js +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/video/video.props.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.props.js.map +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/video/video.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/area-chart/area-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/basechart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/basechart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/basechart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/basechart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/basechart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/basechart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/column-chart/column-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/donut-chart/donut-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/legend/legend.component.js +0 -0
- {app-rn-runtime → package}/components/chart/legend/legend.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.component.js.map +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.props.js.map +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/stack-chart/stack-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/theme/chart.theme.js +0 -0
- {app-rn-runtime → package}/components/chart/theme/chart.theme.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.props.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.styles.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/container.props.js +0 -0
- {app-rn-runtime → package}/components/container/container.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-content/panel-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel-footer/panel-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.props.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/partial-host.component.js +0 -0
- {app-rn-runtime → package}/components/container/partial-host.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabheader/tabheader.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.props.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizard.props.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizard.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js +0 -0
- {app-rn-runtime → package}/components/container/wizard/wizardstep/wizardstep.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-content/card-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card-footer/card-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card.props.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/card/card.styles.js +0 -0
- {app-rn-runtime → package}/components/data/card/card.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-action/form-action.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-body/form-body.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-field/form-field.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form-footer/form-footer.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form.props.js +0 -0
- {app-rn-runtime → package}/components/data/form/form.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/form/form.styles.js +0 -0
- {app-rn-runtime → package}/components/data/form/form.styles.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.component.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/list/list.props.js +0 -0
- {app-rn-runtime → package}/components/data/list/list.props.js.map +0 -0
- {app-rn-runtime → package}/components/data/liveform/liveform.component.js +0 -0
- {app-rn-runtime → package}/components/data/liveform/liveform.component.js.map +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js +0 -0
- {app-rn-runtime → package}/components/device/barcodescanner/barcodescanner.props.js.map +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.props.js +0 -0
- {app-rn-runtime → package}/components/device/camera/camera.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/alertdialog/alertdialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialog/dialog.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.component.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.props.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogcontent/dialogcontent.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basedataset/basedataset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js +0 -0
- {app-rn-runtime → package}/components/input/baseinput/baseinput.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.props.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/views/month-view.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkbox/checkbox.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/checkboxset/checkboxset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.props.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.component.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.props.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/currency/currency.props.js +0 -0
- {app-rn-runtime → package}/components/input/currency/currency.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date-picker.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/date-picker.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/datetime/datetime.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.component.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.component.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.props.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.styles.js +0 -0
- {app-rn-runtime → package}/components/input/epoch/time/time.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js +0 -0
- {app-rn-runtime → package}/components/input/fileupload/fileupload.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/number/number.props.js +0 -0
- {app-rn-runtime → package}/components/input/number/number.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.props.js +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.styles.js +0 -0
- {app-rn-runtime → package}/components/input/radioset/radioset.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.props.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/select/select.props.js +0 -0
- {app-rn-runtime → package}/components/input/select/select.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.props.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.props.js +0 -0
- {app-rn-runtime → package}/components/input/switch/switch.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/text/text.props.js +0 -0
- {app-rn-runtime → package}/components/input/text/text.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.props.js +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.props.js.map +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.styles.js +0 -0
- {app-rn-runtime → package}/components/input/textarea/textarea.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.props.js +0 -0
- {app-rn-runtime → package}/components/input/toggle/toggle.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/appnavbar/appnavbar.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.component.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/basenav/basenav.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.props.js.map +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.props.js +0 -0
- {app-rn-runtime → package}/components/navigation/popover/popover.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.component.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/content/content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.component.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.props.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.component.js +0 -0
- {app-rn-runtime → package}/components/page/page.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.props.js +0 -0
- {app-rn-runtime → package}/components/page/page.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js +0 -0
- {app-rn-runtime → package}/components/page/page.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial/partial.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.component.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js +0 -0
- {app-rn-runtime → package}/components/page/partial-container/partial-container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.props.js.map +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js +0 -0
- {app-rn-runtime → package}/components/page/tabbar/tabbar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.component.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.component.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.props.js.map +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js +0 -0
- {app-rn-runtime → package}/components/prefab/prefab-container.styles.js.map +0 -0
- {app-rn-runtime → package}/core/AppConfig.js +0 -0
- {app-rn-runtime → package}/core/AppConfig.js.map +0 -0
- {app-rn-runtime → package}/core/asset.provider.js +0 -0
- {app-rn-runtime → package}/core/asset.provider.js.map +0 -0
- {app-rn-runtime → package}/core/components/textinput.component.js +0 -0
- {app-rn-runtime → package}/core/components/textinput.component.js.map +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/constants/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/currency-constants.js +0 -0
- {app-rn-runtime → package}/core/currency-constants.js.map +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/core/device/calendar-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/camera-service.js +0 -0
- {app-rn-runtime → package}/core/device/camera-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/core/device/contacts-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/location-service.js +0 -0
- {app-rn-runtime → package}/core/device/location-service.js.map +0 -0
- {app-rn-runtime → package}/core/device/scan-service.js +0 -0
- {app-rn-runtime → package}/core/device/scan-service.js.map +0 -0
- {app-rn-runtime → package}/core/display.manager.js +0 -0
- {app-rn-runtime → package}/core/display.manager.js.map +0 -0
- {app-rn-runtime → package}/core/event-notifier.js +0 -0
- {app-rn-runtime → package}/core/event-notifier.js.map +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js +0 -0
- {app-rn-runtime → package}/core/file-extension-types.js.map +0 -0
- {app-rn-runtime → package}/core/fixed-view.component.js +0 -0
- {app-rn-runtime → package}/core/fixed-view.component.js.map +0 -0
- {app-rn-runtime → package}/core/i18n.service.js +0 -0
- {app-rn-runtime → package}/core/i18n.service.js.map +0 -0
- {app-rn-runtime → package}/core/if.component.js +0 -0
- {app-rn-runtime → package}/core/if.component.js.map +0 -0
- {app-rn-runtime → package}/core/imageSizeEstimator.js +0 -0
- {app-rn-runtime → package}/core/imageSizeEstimator.js.map +0 -0
- {app-rn-runtime → package}/core/injector.js +0 -0
- {app-rn-runtime → package}/core/injector.js.map +0 -0
- {app-rn-runtime → package}/core/key.extractor.js +0 -0
- {app-rn-runtime → package}/core/key.extractor.js.map +0 -0
- {app-rn-runtime → package}/core/logger.js +0 -0
- {app-rn-runtime → package}/core/logger.js.map +0 -0
- {app-rn-runtime → package}/core/modal.service.js +0 -0
- {app-rn-runtime → package}/core/modal.service.js.map +0 -0
- {app-rn-runtime → package}/core/navigation.service.js +0 -0
- {app-rn-runtime → package}/core/navigation.service.js.map +0 -0
- {app-rn-runtime → package}/core/network.service.js +0 -0
- {app-rn-runtime → package}/core/network.service.js.map +0 -0
- {app-rn-runtime → package}/core/partial.service.js +0 -0
- {app-rn-runtime → package}/core/partial.service.js.map +0 -0
- {app-rn-runtime → package}/core/props.provider.js +0 -0
- {app-rn-runtime → package}/core/props.provider.js.map +0 -0
- {app-rn-runtime → package}/core/scroll-view.component.js +0 -0
- {app-rn-runtime → package}/core/scroll-view.component.js.map +0 -0
- {app-rn-runtime → package}/core/security.service.js +0 -0
- {app-rn-runtime → package}/core/security.service.js.map +0 -0
- {app-rn-runtime → package}/core/spinner.service.js +0 -0
- {app-rn-runtime → package}/core/spinner.service.js.map +0 -0
- {app-rn-runtime → package}/core/storage.service.js +0 -0
- {app-rn-runtime → package}/core/storage.service.js.map +0 -0
- {app-rn-runtime → package}/core/toast.service.js +0 -0
- {app-rn-runtime → package}/core/toast.service.js.map +0 -0
- {app-rn-runtime → package}/core/utils.js +0 -0
- {app-rn-runtime → package}/core/utils.js.map +0 -0
- {app-rn-runtime → package}/core/viewport.js +0 -0
- {app-rn-runtime → package}/core/viewport.js.map +0 -0
- {app-rn-runtime → package}/gestures/swipe.animation.js +0 -0
- {app-rn-runtime → package}/gestures/swipe.animation.js.map +0 -0
- {app-rn-runtime → package}/index.js +0 -0
- {app-rn-runtime → package}/index.js.map +0 -0
- {app-rn-runtime → package}/runtime/App.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/App.navigator.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-page.component.js +0 -0
- {app-rn-runtime → package}/runtime/base-page.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-partial.component.js +0 -0
- {app-rn-runtime → package}/runtime/base-partial.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/base-prefab.component.js +0 -0
- {app-rn-runtime → package}/runtime/base-prefab.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/lib-patch.js +0 -0
- {app-rn-runtime → package}/runtime/lib-patch.js.map +0 -0
- {app-rn-runtime → package}/runtime/memo.component.js +0 -0
- {app-rn-runtime → package}/runtime/memo.component.js.map +0 -0
- {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/drawer.navigator.js.map +0 -0
- {app-rn-runtime → package}/runtime/navigator/stack.navigator.js +0 -0
- {app-rn-runtime → package}/runtime/navigator/stack.navigator.js.map +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js +0 -0
- {app-rn-runtime → package}/runtime/platform.api.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-display-manager.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-display-manager.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-i18n.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-i18n.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-modal.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-modal.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-security.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-security.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-spinner.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-spinner.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/app-toast.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/app-toast.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/calendar-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/calendar-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/contacts-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/contacts-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/location-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/location-service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/device/permissions.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/permissions.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/partial.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/partial.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/services/webprocess.service.js +0 -0
- {app-rn-runtime → package}/runtime/services/webprocess.service.js.map +0 -0
- {app-rn-runtime → package}/runtime/watcher.js +0 -0
- {app-rn-runtime → package}/runtime/watcher.js.map +0 -0
- {app-rn-runtime → package}/styles/MediaQueryList.js +0 -0
- {app-rn-runtime → package}/styles/MediaQueryList.js.map +0 -0
- {app-rn-runtime → package}/styles/background.component.js +0 -0
- {app-rn-runtime → package}/styles/background.component.js.map +0 -0
- {app-rn-runtime → package}/styles/style-prop.validator.js +0 -0
- {app-rn-runtime → package}/styles/style-prop.validator.js.map +0 -0
- {app-rn-runtime → package}/styles/style-props.js +0 -0
- {app-rn-runtime → package}/styles/style-props.js.map +0 -0
- {app-rn-runtime → package}/styles/theme.js +0 -0
- {app-rn-runtime → package}/styles/theme.js.map +0 -0
- {app-rn-runtime → package}/variables/base-variable.js +0 -0
- {app-rn-runtime → package}/variables/base-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/create-event.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/delete-event.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/calendar/get-events.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-image.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/camera/capture-video.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/contacts/get-contacts.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/app-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/app-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/current-geo-position.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/device-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/device-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/network-info.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/network-info.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/device/vibrate.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/device/vibrate.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/file/upload-file.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/file/upload-file.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device/operation.provider.js +0 -0
- {app-rn-runtime → package}/variables/device/operation.provider.js.map +0 -0
- {app-rn-runtime → package}/variables/device/scan/scan.operation.js +0 -0
- {app-rn-runtime → package}/variables/device/scan/scan.operation.js.map +0 -0
- {app-rn-runtime → package}/variables/device-variable.js +0 -0
- {app-rn-runtime → package}/variables/device-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/http.service.js +0 -0
- {app-rn-runtime → package}/variables/http.service.js.map +0 -0
- {app-rn-runtime → package}/variables/live-variable.js +0 -0
- {app-rn-runtime → package}/variables/live-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/model-variable.js +0 -0
- {app-rn-runtime → package}/variables/model-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/service-variable.js +0 -0
- {app-rn-runtime → package}/variables/service-variable.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/dataset-util.js +0 -0
- {app-rn-runtime → package}/variables/utils/dataset-util.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/inflight-queue.js +0 -0
- {app-rn-runtime → package}/variables/utils/inflight-queue.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.constants.js.map +0 -0
- {app-rn-runtime → package}/variables/utils/variable.utils.js +0 -0
- {app-rn-runtime → package}/variables/utils/variable.utils.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","borderRadius","borderWidth","borderStyle","borderColor","buttonGrpBorderColor","backgroundColor","buttonGrpBgColor","text","skeleton","width","height","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","flex","color","defaultColor9"],"sources":["buttongroup.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmButtonStyles } from '../button/button.styles';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmButtongroupStyles = BaseStyles & {\n skeleton: WmSkeletonStyles\n};\n\nexport const DEFAULT_CLASS = 'app-buttongroup';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmButtongroupStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center',\n borderRadius: 100,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: themeVariables.buttonGrpBorderColor,\n backgroundColor: themeVariables.buttonGrpBgColor\n }, \n text: {},\n skeleton: {\n root : {\n width: '100%',\n height: 48,\n borderRadius: 4,\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as any as WmSkeletonStyles\n });\n\n\n addStyle('btn-group-child', '', {\n root: {\n borderTopWidth: 0,\n borderBottomWidth: 0,\n borderLeftWidth: 1,\n borderRightWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n flex: 1,\n borderColor: themeVariables.buttonGrpBorderColor,\n },\n text: {\n color: themeVariables.defaultColor9,\n }\n } as WmButtonStyles);\n addStyle('btn-group-first-child', '', {\n root: {\n borderLeftWidth: 0,\n borderRadius: 0,\n backgroundColor: 'transparent',\n borderColor: themeVariables.buttonGrpBorderColor\n }\n } as WmButtonStyles);\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAQxF,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAAkC,GAAGL,YAAY,CAAC;IACpDM,IAAI,EAAE;MACJC,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE,YAAY;MACvBC,UAAU,EAAE,QAAQ;MACpBC,YAAY,EAAE,GAAG;MACjBC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,WAAW,EAAEV,cAAc,CAACW,oBAAoB;MAChDC,eAAe,EAAEZ,cAAc,CAACa;IAClC,CAAC;IACDC,IAAI,EAAE,CAAC,CAAC;IACRC,QAAQ,EAAE;MACRZ,IAAI,EAAG;QACLa,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVV,YAAY,EAAE,CAAC;QACfG,WAAW,EAAEV,cAAc,CAACW;MAC9B;IACF;EACJ,CAAC,CAAC;EAGFV,QAAQ,CAAC,iBAAiB,EAAE,EAAE,EAAE;IAC9BE,IAAI,EAAE;MACJe,cAAc,EAAE,CAAC;MACjBC,iBAAiB,EAAE,CAAC;MACpBC,eAAe,EAAE,CAAC;MAClBC,gBAAgB,EAAE,CAAC;MACnBd,YAAY,EAAE,CAAC;MACfK,eAAe,EAAE,aAAa;MAC9BU,IAAI,EAAE,CAAC;MACPZ,WAAW,EAAEV,cAAc,CAACW;IAC9B,CAAC;IACDG,IAAI,EAAE;MACJS,KAAK,EAAEvB,cAAc,CAACwB;IACxB;EACF,CAAmB,CAAC;EACpBvB,QAAQ,CAAC,uBAAuB,EAAE,EAAE,EAAE;IACpCE,IAAI,EAAE;MACJiB,eAAe,EAAE,CAAC;MAClBb,YAAY,EAAE,CAAC;MACfK,eAAe,EAAE,aAAa;MAC9BF,WAAW,EAAEV,cAAc,CAACW;IAC9B;EACF,CAAmB,CAAC;EACpBV,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;AAC5C,CAAC,CAAC"}
|
|
@@ -0,0 +1,196 @@
|
|
|
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 { Animated, Easing, Text } from 'react-native';
|
|
7
|
+
import { FontAwesome } from '@expo/vector-icons';
|
|
8
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
9
|
+
import WmIconProps from './icon.props';
|
|
10
|
+
import { DEFAULT_CLASS } from './icon.styles';
|
|
11
|
+
import WavIcon from './wavicon/wavicon.component';
|
|
12
|
+
import StreamlineLightIcon from './streamline-light-icon/streamline-light-icon.component';
|
|
13
|
+
import StreamlineRegularIcon from './streamline-regular-icon/streamline-regular-icon.component';
|
|
14
|
+
import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
|
15
|
+
import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
|
|
16
|
+
import { createSkeleton } from '../skeleton/skeleton.component';
|
|
17
|
+
const ICON_SIZES = new Map([['fa-lg', 24], ['fa-2x', 36], ['fa-3x', 48], ['fa-4x', 60], ['fa-5x', 72]]);
|
|
18
|
+
const ICON_ROTATTION = new Map([['fa-rotate-90', '90deg'], ['fa-rotate-180', '180deg'], ['fa-rotate-270', '270deg']]);
|
|
19
|
+
export class WmIconState extends BaseComponentState {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
_defineProperty(this, "iconDef", {});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export default class WmIcon extends BaseComponent {
|
|
26
|
+
constructor(props) {
|
|
27
|
+
super(props, DEFAULT_CLASS, new WmIconProps());
|
|
28
|
+
_defineProperty(this, "spinValue", new Animated.Value(0));
|
|
29
|
+
_defineProperty(this, "pulseValue", new Animated.Value(0));
|
|
30
|
+
_defineProperty(this, "stopAnimation", true);
|
|
31
|
+
}
|
|
32
|
+
getIconDef(iconClass) {
|
|
33
|
+
const iconDef = {
|
|
34
|
+
rotate: '0'
|
|
35
|
+
};
|
|
36
|
+
const splits = iconClass.split(' ');
|
|
37
|
+
iconDef.isFontAwesome = !!splits.find(v => v === 'fa');
|
|
38
|
+
iconDef.isStreamlineLightIcon = !!splits.find(v => v === 'wm-sl-l');
|
|
39
|
+
iconDef.isStreamlineRegularIcon = !!splits.find(v => v === 'wm-sl-r');
|
|
40
|
+
if (iconDef.isFontAwesome) {
|
|
41
|
+
var _splits$find;
|
|
42
|
+
iconDef.type = ((_splits$find = splits.find(v => v.startsWith('fa-'))) === null || _splits$find === void 0 ? void 0 : _splits$find.substring(3)) || '';
|
|
43
|
+
} else if (iconDef.isStreamlineLightIcon) {
|
|
44
|
+
var _splits$find2;
|
|
45
|
+
iconDef.type = ((_splits$find2 = splits.find(v => v.startsWith('sl-'))) === null || _splits$find2 === void 0 ? void 0 : _splits$find2.substring(3)) || '';
|
|
46
|
+
} else if (iconDef.isStreamlineRegularIcon) {
|
|
47
|
+
var _splits$find3;
|
|
48
|
+
iconDef.type = ((_splits$find3 = splits.find(v => v.startsWith('sl-'))) === null || _splits$find3 === void 0 ? void 0 : _splits$find3.substring(3)) || '';
|
|
49
|
+
} else {
|
|
50
|
+
var _splits$find4;
|
|
51
|
+
iconDef.isWavIcon = !iconDef.isFontAwesome && !!splits.find(v => v === 'wi');
|
|
52
|
+
iconDef.type = iconDef.isWavIcon && ((_splits$find4 = splits.find(v => v.startsWith('wi-'))) === null || _splits$find4 === void 0 ? void 0 : _splits$find4.substring(3)) || '';
|
|
53
|
+
}
|
|
54
|
+
if (iconClass.indexOf('fa-spin') >= 0) {
|
|
55
|
+
iconDef.animation = 'spin';
|
|
56
|
+
} else if (iconClass.indexOf('fa-pulse') >= 0) {
|
|
57
|
+
iconDef.animation = 'pulse';
|
|
58
|
+
}
|
|
59
|
+
iconDef.size = splits.map(v => ICON_SIZES.get(v)).find(v => !!v) || 12;
|
|
60
|
+
iconDef.rotate = splits.map(v => ICON_ROTATTION.get(v)).find(v => !!v) || '0deg';
|
|
61
|
+
return iconDef;
|
|
62
|
+
}
|
|
63
|
+
spin() {
|
|
64
|
+
if (this.stopAnimation) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
this.spinValue.setValue(0);
|
|
68
|
+
Animated.timing(this.spinValue, {
|
|
69
|
+
toValue: 1,
|
|
70
|
+
duration: 1000,
|
|
71
|
+
easing: Easing.linear,
|
|
72
|
+
useNativeDriver: true
|
|
73
|
+
}).start(() => this.spin());
|
|
74
|
+
}
|
|
75
|
+
componentDidMount() {
|
|
76
|
+
super.componentDidMount();
|
|
77
|
+
this.spin();
|
|
78
|
+
}
|
|
79
|
+
componentWillUnmount() {
|
|
80
|
+
super.componentWillUnmount();
|
|
81
|
+
this.stopAnimation = true;
|
|
82
|
+
}
|
|
83
|
+
onPropertyChange(name, $new, $old) {
|
|
84
|
+
super.onPropertyChange(name, $new, $old);
|
|
85
|
+
switch (name) {
|
|
86
|
+
case 'iconclass':
|
|
87
|
+
$new && this.updateState({
|
|
88
|
+
iconDef: this.getIconDef($new)
|
|
89
|
+
});
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
getCustomIcon(props, style) {
|
|
94
|
+
var _this$theme$getStyle;
|
|
95
|
+
const customIcon = this.theme.mergeStyle({}, ((_this$theme$getStyle = this.theme.getStyle((props === null || props === void 0 ? void 0 : props.iconclass) || '')) === null || _this$theme$getStyle === void 0 ? void 0 : _this$theme$getStyle.icon) || this.styles.icon);
|
|
96
|
+
const customIconContent = customIcon === null || customIcon === void 0 ? void 0 : customIcon.content;
|
|
97
|
+
if (customIconContent) {
|
|
98
|
+
delete customIcon.content;
|
|
99
|
+
return /*#__PURE__*/React.createElement(Text, {
|
|
100
|
+
style: [style, customIcon.fontFamily ? {
|
|
101
|
+
fontFamily: customIcon.fontFamily
|
|
102
|
+
} : null]
|
|
103
|
+
}, decodeURIComponent(customIconContent));
|
|
104
|
+
}
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
renderSkeleton(props) {
|
|
108
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
109
|
+
...this.styles.root,
|
|
110
|
+
width: this.props.skeletonwidth || this.props.iconsize || this.styles.root.width,
|
|
111
|
+
height: this.props.skeletonheight || this.props.iconsize || this.styles.root.height
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
renderIcon(props) {
|
|
115
|
+
const iconDef = this.state.iconDef;
|
|
116
|
+
if (!iconDef) {
|
|
117
|
+
return null;
|
|
118
|
+
}
|
|
119
|
+
let icon = null;
|
|
120
|
+
const style = [{
|
|
121
|
+
color: this.styles.root.color || this.styles.text.color
|
|
122
|
+
}, this.styles.icon, {
|
|
123
|
+
transform: [{
|
|
124
|
+
rotate: iconDef.rotate
|
|
125
|
+
}]
|
|
126
|
+
}];
|
|
127
|
+
const customIcon = this.getCustomIcon(props, style);
|
|
128
|
+
const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;
|
|
129
|
+
if (props.show && iconDef && iconDef.isFontAwesome) {
|
|
130
|
+
//@ts-ignore type information is not matching
|
|
131
|
+
icon = /*#__PURE__*/React.createElement(FontAwesome, {
|
|
132
|
+
name: customIcon ? '' : iconDef.type,
|
|
133
|
+
style: style,
|
|
134
|
+
size: iconSize
|
|
135
|
+
}, customIcon);
|
|
136
|
+
} else if (props.show && iconDef) {
|
|
137
|
+
var _this$styles$icon;
|
|
138
|
+
let WMCustomIcon = WavIcon;
|
|
139
|
+
if (iconDef.isStreamlineLightIcon) {
|
|
140
|
+
WMCustomIcon = StreamlineLightIcon;
|
|
141
|
+
} else if (iconDef.isStreamlineRegularIcon) {
|
|
142
|
+
WMCustomIcon = StreamlineRegularIcon;
|
|
143
|
+
} else if (!iconDef.isWavIcon && !customIcon && !((_this$styles$icon = this.styles.icon) !== null && _this$styles$icon !== void 0 && _this$styles$icon.fontFamily)) {
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
146
|
+
//@ts-ignore type information is not matching
|
|
147
|
+
icon = WMCustomIcon ? /*#__PURE__*/React.createElement(WMCustomIcon, {
|
|
148
|
+
name: customIcon ? '' : iconDef.type,
|
|
149
|
+
style: style,
|
|
150
|
+
size: iconSize
|
|
151
|
+
}, customIcon) : null;
|
|
152
|
+
}
|
|
153
|
+
if (icon && iconDef.animation === 'spin') {
|
|
154
|
+
const rotate = this.spinValue.interpolate({
|
|
155
|
+
inputRange: [0, 1],
|
|
156
|
+
outputRange: ['0deg', '360deg']
|
|
157
|
+
});
|
|
158
|
+
const animation = {
|
|
159
|
+
transform: [{
|
|
160
|
+
rotate
|
|
161
|
+
}]
|
|
162
|
+
};
|
|
163
|
+
this.stopAnimation = false;
|
|
164
|
+
return /*#__PURE__*/React.createElement(Animated.View, {
|
|
165
|
+
style: animation
|
|
166
|
+
}, icon);
|
|
167
|
+
} else if (icon && iconDef.animation === 'pulse') {
|
|
168
|
+
const opacity = this.spinValue.interpolate({
|
|
169
|
+
inputRange: [0, 1],
|
|
170
|
+
outputRange: [0, 1]
|
|
171
|
+
});
|
|
172
|
+
const animation = {
|
|
173
|
+
opacity: opacity
|
|
174
|
+
};
|
|
175
|
+
this.stopAnimation = false;
|
|
176
|
+
return /*#__PURE__*/React.createElement(Animated.View, {
|
|
177
|
+
style: animation
|
|
178
|
+
}, icon);
|
|
179
|
+
} else {
|
|
180
|
+
this.stopAnimation = true;
|
|
181
|
+
}
|
|
182
|
+
return icon;
|
|
183
|
+
}
|
|
184
|
+
renderWidget(props) {
|
|
185
|
+
let icon = this.renderIcon(props);
|
|
186
|
+
return /*#__PURE__*/React.createElement(Tappable, _extends({
|
|
187
|
+
target: this
|
|
188
|
+
}, this.getTestPropsForAction()), /*#__PURE__*/React.createElement(Animatedview, {
|
|
189
|
+
entryanimation: props.animation,
|
|
190
|
+
style: this.styles.root
|
|
191
|
+
}, this._background, props.iconposition === 'left' && icon || null, props.caption && /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('caption'), {
|
|
192
|
+
style: this.styles.text
|
|
193
|
+
}), props.caption) || null, props.iconposition === 'right' && icon || null));
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=icon.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Animated","Easing","Text","FontAwesome","BaseComponent","BaseComponentState","WmIconProps","DEFAULT_CLASS","WavIcon","StreamlineLightIcon","StreamlineRegularIcon","Tappable","Animatedview","createSkeleton","ICON_SIZES","Map","ICON_ROTATTION","WmIconState","constructor","arguments","_defineProperty","WmIcon","props","Value","getIconDef","iconClass","iconDef","rotate","splits","split","isFontAwesome","find","v","isStreamlineLightIcon","isStreamlineRegularIcon","_splits$find","type","startsWith","substring","_splits$find2","_splits$find3","_splits$find4","isWavIcon","indexOf","animation","size","map","get","spin","stopAnimation","spinValue","setValue","timing","toValue","duration","easing","linear","useNativeDriver","start","componentDidMount","componentWillUnmount","onPropertyChange","name","$new","$old","updateState","getCustomIcon","style","_this$theme$getStyle","customIcon","theme","mergeStyle","getStyle","iconclass","icon","styles","customIconContent","content","createElement","fontFamily","decodeURIComponent","renderSkeleton","skeleton","root","width","skeletonwidth","iconsize","height","skeletonheight","renderIcon","state","color","text","transform","iconSize","fontSize","show","_this$styles$icon","WMCustomIcon","interpolate","inputRange","outputRange","View","opacity","renderWidget","_extends","target","getTestPropsForAction","entryanimation","_background","iconposition","caption","getTestPropsForLabel"],"sources":["icon.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, DimensionValue, Easing, Text } from 'react-native';\nimport { FontAwesome } from '@expo/vector-icons';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmIconProps from './icon.props';\nimport { DEFAULT_CLASS, WmIconStyles } from './icon.styles';\nimport WavIcon from './wavicon/wavicon.component';\nimport StreamlineLightIcon from './streamline-light-icon/streamline-light-icon.component';\nimport StreamlineRegularIcon from './streamline-regular-icon/streamline-regular-icon.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\ninterface IconDef {\n isFontAwesome: boolean;\n isWavIcon: boolean;\n isStreamlineLightIcon: boolean;\n isStreamlineRegularIcon: boolean;\n type: string;\n rotate: string;\n size: number;\n animation: string;\n}\n\nconst ICON_SIZES = new Map([\n ['fa-lg', 24],\n ['fa-2x', 36],\n ['fa-3x', 48],\n ['fa-4x', 60],\n ['fa-5x', 72]\n]);\n\nconst ICON_ROTATTION = new Map([\n ['fa-rotate-90', '90deg'],\n ['fa-rotate-180', '180deg'],\n ['fa-rotate-270', '270deg']\n]);\n\nexport class WmIconState extends BaseComponentState<WmIconProps> {\n public iconDef = {} as IconDef;\n}\n\nexport default class WmIcon extends BaseComponent<WmIconProps, WmIconState, WmIconStyles> {\n spinValue = new Animated.Value(0);\n pulseValue = new Animated.Value(0);\n public stopAnimation = true; \n\n constructor(props: WmIconProps) {\n super(props, DEFAULT_CLASS, new WmIconProps());\n }\n\n getIconDef(iconClass: string): IconDef {\n const iconDef = {\n rotate: '0'\n } as IconDef;\n const splits = iconClass.split(' ');\n iconDef.isFontAwesome = !!splits.find(v => v === 'fa');\n iconDef.isStreamlineLightIcon = !!splits.find(v => v === 'wm-sl-l');\n iconDef.isStreamlineRegularIcon = !!splits.find(v => v === 'wm-sl-r');\n if (iconDef.isFontAwesome) {\n iconDef.type = splits.find(v => v.startsWith('fa-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineLightIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineRegularIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else {\n iconDef.isWavIcon = !iconDef.isFontAwesome && !!splits.find(v => v === 'wi');\n iconDef.type = (iconDef.isWavIcon && splits.find(v => v.startsWith('wi-'))?.substring(3)) || '';\n }\n if (iconClass.indexOf('fa-spin') >= 0) {\n iconDef.animation = 'spin';\n } else if (iconClass.indexOf('fa-pulse') >= 0) {\n iconDef.animation = 'pulse';\n }\n iconDef.size = splits.map(v => ICON_SIZES.get(v)).find(v => !!v) || 12;\n iconDef.rotate = splits.map(v => ICON_ROTATTION.get(v)).find(v => !!v) || '0deg';\n return iconDef;\n }\n\n private spin () {\n if (this.stopAnimation) {\n return;\n }\n this.spinValue.setValue(0);\n Animated.timing(\n this.spinValue,\n {\n toValue: 1,\n duration: 1000,\n easing: Easing.linear,\n useNativeDriver: true\n }\n ).start(() => this.spin());\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.spin();\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.stopAnimation = true;\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'iconclass':\n $new && this.updateState({iconDef: this.getIconDef($new)} as WmIconState);\n break;\n }\n }\n\n private getCustomIcon(props: WmIconProps, style: any) {\n const customIcon = this.theme.mergeStyle({}, this.theme.getStyle(props?.iconclass || '')?.icon || this.styles.icon);\n const customIconContent = customIcon?.content;\n if (customIconContent) {\n delete customIcon.content;\n return (<Text\n style={[style, customIcon.fontFamily ? {fontFamily: customIcon.fontFamily}: null]}>\n {decodeURIComponent(customIconContent)}\n </Text>);\n }\n return null;\n }\n\n public renderSkeleton(props: WmIconProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.props.iconsize || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.props.iconsize || this.styles.root.height) as DimensionValue\n });\n }\n\n renderIcon(props: WmIconProps) {\n const iconDef = this.state.iconDef;\n if (!iconDef) {\n return null;\n }\n let icon = null;\n const style = [{\n color: this.styles.root.color || this.styles.text.color\n }, this.styles.icon, {transform: [{rotate: iconDef.rotate}]}];\n const customIcon = this.getCustomIcon(props, style);\n const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;\n if (props.show && iconDef && iconDef.isFontAwesome) {\n //@ts-ignore type information is not matching\n icon = (<FontAwesome name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}>\n {customIcon}\n </FontAwesome>);\n } else if (props.show && iconDef) {\n let WMCustomIcon = WavIcon as unknown;\n if (iconDef.isStreamlineLightIcon) {\n WMCustomIcon = StreamlineLightIcon;\n } else if (iconDef.isStreamlineRegularIcon) {\n WMCustomIcon = StreamlineRegularIcon;\n } else if (!iconDef.isWavIcon && !customIcon && !this.styles.icon?.fontFamily) {\n return null;\n }\n //@ts-ignore type information is not matching\n icon = WMCustomIcon ? (<WMCustomIcon name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}>\n {customIcon}\n </WMCustomIcon>) : null;\n }\n if (icon && iconDef.animation === 'spin') {\n const rotate = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: ['0deg', '360deg']});\n const animation = { transform: [{ rotate }] };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{icon}</Animated.View>);\n } else if (icon && iconDef.animation === 'pulse') {\n const opacity = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: [0, 1]});\n const animation = { opacity: opacity };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{icon}</Animated.View>);\n } else {\n this.stopAnimation = true;\n }\n return icon;\n }\n\n renderWidget(props: WmIconProps) {\n let icon = this.renderIcon(props);\n return (\n <Tappable target={this} {...this.getTestPropsForAction()}>\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n {(props.iconposition === 'left' && icon) || null}\n {(props.caption && (<Text {...this.getTestPropsForLabel('caption')}style={this.styles.text}>{props.caption}</Text>)) || null}\n {(props.iconposition === 'right' && icon) || null}\n </Animatedview>\n </Tappable>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAkBC,MAAM,EAAEC,IAAI,QAAQ,cAAc;AACrE,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,aAAa,EAAEC,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tF,KAAK,CAACsB,SAAU;MAACuB,KAAK,EAAE,IAAI,CAACQ,MAAM,CAACQ;IAAK,GACpE,IAAI,CAAC0B,WAAW,EACfvF,KAAK,CAACwF,YAAY,KAAK,MAAM,IAAIpC,IAAI,IAAK,IAAI,EAC9CpD,KAAK,CAACyF,OAAO,iBAAKhH,KAAA,CAAA+E,aAAA,CAAC5E,IAAI,EAAAuG,QAAA,KAAK,IAAI,CAACO,oBAAoB,CAAC,SAAS,CAAC;MAAC7C,KAAK,EAAE,IAAI,CAACQ,MAAM,CAACiB;IAAK,IAAEtE,KAAK,CAACyF,OAAc,CAAE,IAAK,IAAI,EAC1HzF,KAAK,CAACwF,YAAY,KAAK,OAAO,IAAIpC,IAAI,IAAK,IACjC,CACN,CAAC;EAEf;AACF"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { Text, View } from 'react-native';
|
|
6
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
7
|
+
import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
|
8
|
+
import WmLabelProps from './label.props';
|
|
9
|
+
import { DEFAULT_CLASS } from './label.styles';
|
|
10
|
+
import { isNil, toString } from 'lodash-es';
|
|
11
|
+
import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
|
|
12
|
+
import { createSkeleton } from '../skeleton/skeleton.component';
|
|
13
|
+
import WmAnchor from '../anchor/anchor.component';
|
|
14
|
+
export class WmLabelState extends BaseComponentState {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
_defineProperty(this, "parts", []);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export default class WmLabel extends BaseComponent {
|
|
21
|
+
constructor(props) {
|
|
22
|
+
super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());
|
|
23
|
+
}
|
|
24
|
+
getAsterisk() {
|
|
25
|
+
return /*#__PURE__*/React.createElement(Text, {
|
|
26
|
+
style: this.styles.asterisk
|
|
27
|
+
}, "*");
|
|
28
|
+
}
|
|
29
|
+
onPropertyChange(name, $new, $old) {
|
|
30
|
+
super.onPropertyChange(name, $new, $old);
|
|
31
|
+
switch (name) {
|
|
32
|
+
case "caption":
|
|
33
|
+
this.updateState({
|
|
34
|
+
parts: this.parseCaption($new)
|
|
35
|
+
});
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
getMultilineSkeleton(width, height) {
|
|
40
|
+
const styles = {
|
|
41
|
+
borderRadius: 4,
|
|
42
|
+
marginBottom: 10,
|
|
43
|
+
height: height
|
|
44
|
+
};
|
|
45
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
46
|
+
...styles,
|
|
47
|
+
width: width,
|
|
48
|
+
height: height
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
parseCaption(caption) {
|
|
52
|
+
if (!caption) {
|
|
53
|
+
return [];
|
|
54
|
+
}
|
|
55
|
+
caption += '';
|
|
56
|
+
const pattern = /\[([^\]]+)\]\((http.*?[^)])\)/g;
|
|
57
|
+
const linkRegex = /^(http|https):\/\/[^ "]+$/;
|
|
58
|
+
const captionSplit = caption.split(pattern);
|
|
59
|
+
let parts = [];
|
|
60
|
+
for (let i = 0; i < captionSplit.length; i++) {
|
|
61
|
+
const isLink = linkRegex.test(captionSplit[i]);
|
|
62
|
+
let part = {};
|
|
63
|
+
const isNextTextALink = linkRegex.test(captionSplit[i + 1]) || false;
|
|
64
|
+
if (isLink) {
|
|
65
|
+
part.text = captionSplit[i - 1] ?? '';
|
|
66
|
+
part.link = captionSplit[i];
|
|
67
|
+
} else {
|
|
68
|
+
part.text = isNextTextALink ? "" : captionSplit[i];
|
|
69
|
+
}
|
|
70
|
+
;
|
|
71
|
+
if (part.text) {
|
|
72
|
+
parts.push(part);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return parts;
|
|
76
|
+
}
|
|
77
|
+
renderSkeleton(props) {
|
|
78
|
+
var _this$styles$root, _this$styles$root2;
|
|
79
|
+
const skeletonWidth = this.props.skeletonwidth || ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width);
|
|
80
|
+
const skeletonHeight = this.props.skeletonheight || ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) || this.styles.text.fontSize;
|
|
81
|
+
if (this.props.multilineskeleton) {
|
|
82
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
83
|
+
style: {
|
|
84
|
+
width: skeletonWidth
|
|
85
|
+
}
|
|
86
|
+
}, this.getMultilineSkeleton('100%', skeletonHeight), this.getMultilineSkeleton('70%', skeletonHeight), this.getMultilineSkeleton('40%', skeletonHeight));
|
|
87
|
+
} else {
|
|
88
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
89
|
+
...this.styles.root,
|
|
90
|
+
width: skeletonWidth,
|
|
91
|
+
height: skeletonHeight
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
renderWidget(props) {
|
|
96
|
+
var _this$state$parts;
|
|
97
|
+
return !isNil(props.caption) ? /*#__PURE__*/React.createElement(Animatedview, {
|
|
98
|
+
entryanimation: props.animation,
|
|
99
|
+
style: this.styles.root
|
|
100
|
+
}, this._background, /*#__PURE__*/React.createElement(Tappable, {
|
|
101
|
+
target: this
|
|
102
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
103
|
+
style: {
|
|
104
|
+
flex: 1,
|
|
105
|
+
flexWrap: "wrap"
|
|
106
|
+
}
|
|
107
|
+
}, (_this$state$parts = this.state.parts) === null || _this$state$parts === void 0 ? void 0 : _this$state$parts.map((part, index) => /*#__PURE__*/React.createElement(React.Fragment, {
|
|
108
|
+
key: `part_${index}`
|
|
109
|
+
}, part.link ? /*#__PURE__*/React.createElement(WmAnchor, {
|
|
110
|
+
styles: this.styles.link,
|
|
111
|
+
caption: part.text,
|
|
112
|
+
hyperlink: part.link
|
|
113
|
+
}) : /*#__PURE__*/React.createElement(Text, {
|
|
114
|
+
style: [this.styles.text, {
|
|
115
|
+
color: props.isValid === false ? 'red' : this.styles.text.color
|
|
116
|
+
}],
|
|
117
|
+
numberOfLines: props.wrap ? undefined : 1,
|
|
118
|
+
selectable: this.styles.text.userSelect === 'text'
|
|
119
|
+
}, toString(part.text), props.required && this.getAsterisk())))))) : null;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=label.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","WmLabelProps","DEFAULT_CLASS","isNil","toString","Animatedview","createSkeleton","WmAnchor","WmLabelState","constructor","arguments","_defineProperty","WmLabel","props","getAsterisk","createElement","style","styles","asterisk","onPropertyChange","name","$new","$old","updateState","parts","parseCaption","getMultilineSkeleton","width","height","borderRadius","marginBottom","theme","skeleton","caption","pattern","linkRegex","captionSplit","split","i","length","isLink","test","part","isNextTextALink","text","link","push","renderSkeleton","_this$styles$root","_this$styles$root2","skeletonWidth","skeletonwidth","root","skeletonHeight","skeletonheight","fontSize","multilineskeleton","renderWidget","_this$state$parts","entryanimation","animation","_background","target","flex","flexWrap","state","map","index","Fragment","key","hyperlink","color","isValid","numberOfLines","wrap","undefined","selectable","userSelect","required"],"sources":["label.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\n\nimport WmLabelProps from './label.props';\nimport { DEFAULT_CLASS, WmLabelStyles } from './label.styles';\nimport { isNil, toString } from 'lodash-es';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\nimport { totalMonths } from 'react-native-paper-dates/lib/typescript/Date/dateUtils';\nimport WmAnchor from '../anchor/anchor.component';\n\ntype PartType = {\n text?: string,\n link?: string,\n};\n\nexport class WmLabelState extends BaseComponentState<WmLabelProps> {\n parts: PartType[] = []\n}\n\nexport default class WmLabel extends BaseComponent<WmLabelProps, WmLabelState, WmLabelStyles> {\n\n constructor(props: WmLabelProps) {\n super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());\n }\n\n private getAsterisk () {\n return <Text style={this.styles.asterisk}>*</Text>;\n }\n\n public onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n\n switch(name) {\n case \"caption\":\n this.updateState({\n parts: this.parseCaption($new)\n } as WmLabelState);\n break;\n }\n }\n private getMultilineSkeleton(width: any, height: any) {\n const styles = {\n borderRadius:4,\n marginBottom: 10,\n height: height\n };\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...styles,\n width: width,\n height: height\n });\n }\n\n parseCaption(caption: string) {\n if (!caption) {\n return [];\n }\n caption += '';\n const pattern = /\\[([^\\]]+)\\]\\((http.*?[^)])\\)/g;\n const linkRegex = /^(http|https):\\/\\/[^ \"]+$/;\n const captionSplit = caption.split(pattern);\n\n let parts = [];\n\n for (let i = 0; i < captionSplit.length; i++) {\n const isLink = linkRegex.test(captionSplit[i]);\n let part: PartType = {};\n \n const isNextTextALink = linkRegex.test(captionSplit[i + 1]) || false;\n if (isLink) {\n part.text = captionSplit[i - 1] ?? '';\n part.link = captionSplit[i];\n } else {\n part.text = isNextTextALink ? \"\" : captionSplit[i];\n };\n\n if (part.text) {\n parts.push(part);\n }\n }\n\n return parts;\n }\n\n public renderSkeleton(props: WmLabelProps){\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || this.styles.text.fontSize;\n if(this.props.multilineskeleton) {\n return (<View style={{\n width: skeletonWidth as DimensionValue\n }}>\n {this.getMultilineSkeleton('100%', skeletonHeight)}\n {this.getMultilineSkeleton('70%', skeletonHeight)}\n {this.getMultilineSkeleton('40%', skeletonHeight)}\n </View>)\n }\n else{\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n }); \n }\n }\n\n renderWidget(props: WmLabelProps) {\n return !isNil(props.caption) ? (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <Tappable target={this}>\n <Text style={{flex: 1, flexWrap: \"wrap\"}}>\n {this.state.parts?.map((part, index) => (\n <React.Fragment key={`part_${index}`}>\n {part.link ? (\n <WmAnchor styles={this.styles.link} caption={part.text} hyperlink={part.link} />\n ) : (\n <Text\n style={[\n this.styles.text,\n {\n color:\n props.isValid === false\n ? 'red'\n : this.styles.text.color,\n },\n ]}\n numberOfLines={props.wrap ? undefined : 1}\n selectable={this.styles.text.userSelect === 'text'}\n >\n {toString(part.text)}\n {props.required && this.getAsterisk()}\n </Text>\n )}\n </React.Fragment>\n ))}\n </Text>\n </Tappable>\n </Animatedview>\n ) : null;\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,QAAQ,QAAQ,mDAAmD;AAE5E,OAAOC,Y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,IAAI,EAAE,CAAC;QAAEC,QAAQ,EAAE;MAAM;IAAE,IAAAN,iBAAA,GACtC,IAAI,CAACO,KAAK,CAACzC,KAAK,cAAAkC,iBAAA,uBAAhBA,iBAAA,CAAkBQ,GAAG,CAAC,CAACxB,IAAI,EAAEyB,KAAK,kBACjCxE,KAAA,CAAAoB,aAAA,CAACpB,KAAK,CAACyE,QAAQ;MAACC,GAAG,EAAG,QAAOF,KAAM;IAAE,GAClCzB,IAAI,CAACG,IAAI,gBACRlD,KAAA,CAAAoB,aAAA,CAACR,QAAQ;MAACU,MAAM,EAAE,IAAI,CAACA,MAAM,CAAC4B,IAAK;MAACZ,OAAO,EAAES,IAAI,CAACE,IAAK;MAAC0B,SAAS,EAAE5B,IAAI,CAACG;IAAK,CAAE,CAAC,gBAEhFlD,KAAA,CAAAoB,aAAA,CAACnB,IAAI;MACHoB,KAAK,EAAE,CACL,IAAI,CAACC,MAAM,CAAC2B,IAAI,EAChB;QACE2B,KAAK,EACH1D,KAAK,CAAC2D,OAAO,KAAK,KAAK,GACnB,KAAK,GACL,IAAI,CAACvD,MAAM,CAAC2B,IAAI,CAAC2B;MACzB,CAAC,CACD;MACFE,aAAa,EAAE5D,KAAK,CAAC6D,IAAI,GAAGC,SAAS,GAAG,CAAE;MAC1CC,UAAU,EAAE,IAAI,CAAC3D,MAAM,CAAC2B,IAAI,CAACiC,UAAU,KAAK;IAAO,GAElDzE,QAAQ,CAACsC,IAAI,CAACE,IAAI,CAAC,EACnB/B,KAAK,CAACiE,QAAQ,IAAI,IAAI,CAAChE,WAAW,CAAC,CAChC,CAEM,CACjB,CACG,CACE,CACE,CAAC,GACb,IAAI;EACV;AACF"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
+
import { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';
|
|
3
|
+
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
4
|
+
export const DEFAULT_CLASS = 'app-label';
|
|
5
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
6
|
+
const defaultStyles = defineStyles({
|
|
7
|
+
root: {},
|
|
8
|
+
text: {
|
|
9
|
+
fontSize: 16,
|
|
10
|
+
color: themeVariables.labelDefaultColor
|
|
11
|
+
},
|
|
12
|
+
asterisk: {
|
|
13
|
+
color: themeVariables.labelAsteriskColor,
|
|
14
|
+
marginLeft: 2
|
|
15
|
+
},
|
|
16
|
+
skeleton: {
|
|
17
|
+
root: {
|
|
18
|
+
width: '100%',
|
|
19
|
+
height: 16,
|
|
20
|
+
borderRadius: 4
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
link: {}
|
|
24
|
+
});
|
|
25
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
26
|
+
addStyle(DEFAULT_CLASS + '-rtl', '', {
|
|
27
|
+
root: {
|
|
28
|
+
flexDirection: 'row',
|
|
29
|
+
textAlign: 'right'
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
const getLabelStyles = (color, textColor) => {
|
|
33
|
+
return {
|
|
34
|
+
root: {
|
|
35
|
+
backgroundColor: color,
|
|
36
|
+
paddingLeft: 32,
|
|
37
|
+
paddingTop: 16,
|
|
38
|
+
paddingRight: 32,
|
|
39
|
+
paddingBottom: 16,
|
|
40
|
+
borderRadius: 6
|
|
41
|
+
},
|
|
42
|
+
text: {
|
|
43
|
+
color: textColor,
|
|
44
|
+
fontWeight: 'bold'
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));
|
|
49
|
+
addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));
|
|
50
|
+
addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));
|
|
51
|
+
addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));
|
|
52
|
+
addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));
|
|
53
|
+
addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));
|
|
54
|
+
addStyle('label-test', '', getLabelStyles('yellow', 'red'));
|
|
55
|
+
addStyle('label-test1', '', getLabelStyles('blue', 'orange'));
|
|
56
|
+
const getTextStyles = color => {
|
|
57
|
+
return {
|
|
58
|
+
text: {
|
|
59
|
+
color: color
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));
|
|
64
|
+
addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));
|
|
65
|
+
addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));
|
|
66
|
+
addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));
|
|
67
|
+
addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));
|
|
68
|
+
addStyle('text-center', '', {
|
|
69
|
+
root: {
|
|
70
|
+
textAlign: 'center'
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
addStyle('text-left', '', {
|
|
74
|
+
root: {
|
|
75
|
+
textAlign: 'left'
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
addStyle('text-right', '', {
|
|
79
|
+
root: {
|
|
80
|
+
textAlign: 'right'
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
const getHeadingStyles = (fontSize, overrides) => {
|
|
84
|
+
return deepCopy({
|
|
85
|
+
text: {
|
|
86
|
+
fontWeight: '400',
|
|
87
|
+
fontSize: fontSize,
|
|
88
|
+
margin: 4,
|
|
89
|
+
color: themeVariables.labelHeaderColor
|
|
90
|
+
}
|
|
91
|
+
}, overrides);
|
|
92
|
+
};
|
|
93
|
+
addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {
|
|
94
|
+
text: {
|
|
95
|
+
fontWeight: 'bold'
|
|
96
|
+
}
|
|
97
|
+
}));
|
|
98
|
+
addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {
|
|
99
|
+
text: {
|
|
100
|
+
fontWeight: '500'
|
|
101
|
+
}
|
|
102
|
+
}));
|
|
103
|
+
addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));
|
|
104
|
+
addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));
|
|
105
|
+
addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));
|
|
106
|
+
addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));
|
|
107
|
+
addStyle('media-heading', '', {
|
|
108
|
+
text: {
|
|
109
|
+
fontSize: 16
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
addStyle('text-muted', '', {
|
|
113
|
+
text: {
|
|
114
|
+
color: themeVariables.labelTextMutedColor
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
addStyle('p', '', {
|
|
118
|
+
text: {
|
|
119
|
+
fontSize: 12
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
//# sourceMappingURL=label.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","deepCopy","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","text","fontSize","color","labelDefaultColor","asterisk","labelAsteriskColor","marginLeft","skeleton","width","height","borderRadius","link","flexDirection","textAlign","getLabelStyles","textColor","backgroundColor","paddingLeft","paddingTop","paddingRight","paddingBottom","fontWeight","labelDangerColor","labelDangerContrastColor","labelDefaultContrastColor","labelInfoColor","labelInfoContrastColor","labelPrimaryColor","labelPrimaryContrastColor","labelSuccessColor","labelSuccessContrastColor","labelWarningColor","labelWarningContrastColor","getTextStyles","labelTextDangerColor","labelTextInfoColor","labelTextPrimaryColor","labelTextSuccessColor","labelTextWarningColor","getHeadingStyles","overrides","margin","labelHeaderColor","heading1FontSize","heading2FontSize","heading3FontSize","heading4FontSize","heading5FontSize","heading6FontSize","labelTextMutedColor"],"sources":["label.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\nimport { WmAnchorStyles } from '../anchor/anchor.styles';\n\nexport type WmLabelStyles = BaseStyles & {\n asterisk: AllStyle,\n skeleton: WmSkeletonStyles \n link: WmAnchorStyles\n};\n\nexport const DEFAULT_CLASS = 'app-label';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmLabelStyles = defineStyles({\n root: {\n },\n text: {\n fontSize: 16,\n color: themeVariables.labelDefaultColor\n },\n asterisk: {\n color: themeVariables.labelAsteriskColor,\n marginLeft: 2\n },\n skeleton: {\n root:{\n width: '100%',\n height: 16,\n borderRadius: 4\n }\n } as any as WmSkeletonStyles,\n link: {} as WmAnchorStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n flexDirection: 'row',\n textAlign: 'right'\n }\n });\n const getLabelStyles = (color: string, textColor: string): WmLabelStyles => {\n return {\n root: {\n backgroundColor: color,\n paddingLeft: 32,\n paddingTop: 16,\n paddingRight: 32,\n paddingBottom: 16,\n borderRadius: 6\n },\n text: {\n color: textColor,\n fontWeight: 'bold'\n }\n } as WmLabelStyles;\n };\n\n addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));\n addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));\n addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));\n addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));\n addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));\n addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));\n addStyle('label-test', '', getLabelStyles('yellow', 'red'));\n addStyle('label-test1', '', getLabelStyles('blue', 'orange'));\n\n const getTextStyles = (color: string) => {\n return {\n text: {\n color: color\n }\n } as WmLabelStyles;\n };\n\n addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));\n addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));\n addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));\n addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));\n addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));\n addStyle('text-center', '', {\n root: {\n textAlign: 'center'\n }\n } as WmLabelStyles);\n addStyle('text-left', '', {\n root: {\n textAlign: 'left'\n }\n } as WmLabelStyles);\n addStyle('text-right', '', {\n root: {\n textAlign: 'right'\n }\n } as WmLabelStyles);\n\n\n const getHeadingStyles = (fontSize: number, overrides?: WmLabelStyles) => {\n return deepCopy({\n text: {\n fontWeight: '400',\n fontSize: fontSize,\n margin: 4,\n color: themeVariables.labelHeaderColor\n }\n } as WmLabelStyles, overrides);\n };\n addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {text: {fontWeight: 'bold'}} as WmLabelStyles));\n addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {text: {fontWeight: '500'}} as WmLabelStyles));\n addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));\n addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));\n addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));\n addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));\n addStyle('media-heading', '', {\n text : {\n fontSize: 16\n }\n } as WmLabelStyles);\n addStyle('text-muted', '', {\n text : {\n color: themeVariables.labelTextMutedColor\n }\n } as WmLabelStyles);\n addStyle('p', '', {\n text : {\n fontSize: 12\n }\n } as WmLabelStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCH,UAAU,CAACI,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA4B,GAAGL,YAAY,CAAC;IAC9CM,IAAI,EAAE,CACN,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,KAAK,EAAEN,cAAc,CAACO;IACxB,CAAC;IACDC,QAAQ,EAAE;MACRF,KAAK,EAAEN,cAAc,CAACS,kBAAkB;MACxCC,UAAU,EAAE;IACd,CAAC;IACDC,QAAQ,EAAE;MACRR,IAAI,EAAC;QACHS,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAChB;IACF,CAA4B;IAC5BC,IAAI,EAAE,CAAC;EACX,CAAC,CAAC;EAEFd,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACnCK,IAAI,EAAG;MACLa,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE;IACb;EACF,CAAC,CAAC;EACF,MAAMC,cAAc,GAAGA,CAACZ,KAAa,EAAEa,SAAiB,KAAoB;IAC1E,OAAO;MACLhB,IAAI,EAAE;QACJiB,eAAe,EAAEd,KAAK;QACtBe,WAAW,EAAE,EAAE;QACfC,UAAU,EAAE,EAAE;QACdC,YAAY,EAAE,EAAE;QAChBC,aAAa,EAAE,EAAE;QACjBV,YAAY,EAAE;MAChB,CAAC;MACDV,I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EAAE;IAAC5C,IAAI,EAAE;MAACqB,UAAU,EAAE;IAAK;EAAC,CAAkB,CAAC,CAAC;EACnHxB,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE0C,gBAAgB,CAAC3C,cAAc,CAACiD,gBAAgB,CAAC,CAAC;EACrEhD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE0C,gBAAgB,CAAC3C,cAAc,CAACkD,gBAAgB,CAAC,CAAC;EACrEjD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE0C,gBAAgB,CAAC3C,cAAc,CAACmD,gBAAgB,CAAC,CAAC;EACrElD,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE0C,gBAAgB,CAAC3C,cAAc,CAACoD,gBAAgB,CAAC,CAAC;EACrEnD,QAAQ,CAAC,eAAe,EAAE,EAAE,EAAE;IAC5BG,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;EACnBJ,QAAQ,CAAC,YAAY,EAAE,EAAE,EAAE;IACzBG,IAAI,EAAG;MACLE,KAAK,EAAEN,cAAc,CAACqD;IACxB;EACF,CAAkB,CAAC;EACnBpD,QAAQ,CAAC,GAAG,EAAE,EAAE,EAAE;IAChBG,IAAI,EAAG;MACLC,QAAQ,EAAE;IACZ;EACF,CAAkB,CAAC;AACrB,CAAC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
4
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { View, Text } from 'react-native';
|
|
7
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
8
|
+
import WmMessageProps from './message.props';
|
|
9
|
+
import { DEFAULT_CLASS } from './message.styles';
|
|
10
|
+
import WmIcon from '../icon/icon.component';
|
|
11
|
+
import WmButton from '../button/button.component';
|
|
12
|
+
import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
|
|
13
|
+
export class WmMessageState extends BaseComponentState {}
|
|
14
|
+
const MESSAGE_ICONS = {
|
|
15
|
+
'success': 'wm-sl-l sl-check',
|
|
16
|
+
'warning': 'wm-sl-l sl-alarm-bell',
|
|
17
|
+
'error': 'fa fa-times-circle',
|
|
18
|
+
'info': 'wi wi-info',
|
|
19
|
+
'loading': 'fa fa-spinner fa-spin'
|
|
20
|
+
};
|
|
21
|
+
const DEFAULT_TITLE = {
|
|
22
|
+
'success': 'Success',
|
|
23
|
+
'warning': 'Warning',
|
|
24
|
+
'error': 'Error',
|
|
25
|
+
'info': 'Info',
|
|
26
|
+
'loading': 'Processing'
|
|
27
|
+
};
|
|
28
|
+
export default class WmMessage extends BaseComponent {
|
|
29
|
+
constructor(props) {
|
|
30
|
+
super(props, DEFAULT_CLASS, new WmMessageProps());
|
|
31
|
+
_defineProperty(this, "close", () => {
|
|
32
|
+
this.updateState({
|
|
33
|
+
props: {
|
|
34
|
+
show: false
|
|
35
|
+
}
|
|
36
|
+
}, () => this.invokeEventCallback('onClose', [null, this]));
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
showMessage() {
|
|
40
|
+
this.updateState({
|
|
41
|
+
props: {
|
|
42
|
+
show: true
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
hideMessage() {
|
|
47
|
+
this.updateState({
|
|
48
|
+
props: {
|
|
49
|
+
show: false
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
renderWidget(props) {
|
|
54
|
+
const styles = this.theme.mergeStyle(this.theme.getStyle(`${props.type}-${props.variant}-message`), this.styles);
|
|
55
|
+
return /*#__PURE__*/React.createElement(Animatedview, {
|
|
56
|
+
entryanimation: props.animation,
|
|
57
|
+
style: styles.root
|
|
58
|
+
}, this._background, /*#__PURE__*/React.createElement(WmIcon, {
|
|
59
|
+
id: this.getTestId('icon'),
|
|
60
|
+
iconclass: props.type && MESSAGE_ICONS[props.type],
|
|
61
|
+
styles: styles.icon
|
|
62
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
63
|
+
style: styles.message
|
|
64
|
+
}, /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('title'), {
|
|
65
|
+
style: styles.title
|
|
66
|
+
}), props.title || DEFAULT_TITLE[props.type || '']), /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('caption'), {
|
|
67
|
+
style: styles.text
|
|
68
|
+
}), props.caption)), props.hideclose ? null : /*#__PURE__*/React.createElement(WmButton, {
|
|
69
|
+
id: this.getTestId('close'),
|
|
70
|
+
iconclass: "wi wi-close",
|
|
71
|
+
styles: styles.closeBtn,
|
|
72
|
+
onTap: this.close
|
|
73
|
+
}));
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=message.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","BaseComponent","BaseComponentState","WmMessageProps","DEFAULT_CLASS","WmIcon","WmButton","Animatedview","WmMessageState","MESSAGE_ICONS","DEFAULT_TITLE","WmMessage","constructor","props","_defineProperty","updateState","show","invokeEventCallback","showMessage","hideMessage","renderWidget","styles","theme","mergeStyle","getStyle","type","variant","createElement","entryanimation","animation","style","root","_background","id","getTestId","iconclass","icon","message","_extends","getTestPropsForLabel","title","text","caption","hideclose","closeBtn","onTap","close"],"sources":["message.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Text } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmMessageProps from './message.props';\nimport { DEFAULT_CLASS, WmMessageStyles } from './message.styles';\nimport WmIcon from '../icon/icon.component';\nimport WmButton from '../button/button.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\n\nexport class WmMessageState extends BaseComponentState<WmMessageProps> {}\n\nconst MESSAGE_ICONS = {\n 'success': 'wm-sl-l sl-check',\n 'warning': 'wm-sl-l sl-alarm-bell',\n 'error': 'fa fa-times-circle',\n 'info': 'wi wi-info',\n 'loading': 'fa fa-spinner fa-spin'\n};\n\nconst DEFAULT_TITLE = {\n 'success': 'Success',\n 'warning': 'Warning',\n 'error': 'Error',\n 'info': 'Info',\n 'loading': 'Processing'\n} as any;\n\nexport default class WmMessage extends BaseComponent<WmMessageProps, WmMessageState, WmMessageStyles> {\n\n constructor(props: WmMessageProps) {\n super(props, DEFAULT_CLASS, new WmMessageProps());\n }\n\n showMessage() {\n this.updateState({\n props: {\n show: true\n }\n } as WmMessageState);\n }\n\n hideMessage() {\n this.updateState({\n props: {\n show: false\n }\n } as WmMessageState);\n }\n\n close = () => {\n this.updateState({props: {\n show : false\n }}, () => this.invokeEventCallback('onClose', [null, this]));\n }\n\n renderWidget(props: WmMessageProps) {\n const styles = this.theme.mergeStyle(this.theme.getStyle(`${props.type}-${props.variant}-message`), this.styles);\n return (<Animatedview entryanimation={props.animation} style={styles.root}>\n {this._background}\n <WmIcon\n id={this.getTestId('icon')}\n iconclass={props.type && MESSAGE_ICONS[props.type]}\n styles={styles.icon}></WmIcon>\n <View style={styles.message}>\n <Text {...this.getTestPropsForLabel('title')} style={styles.title}>{props.title || DEFAULT_TITLE[props.type || '']}</Text>\n <Text {...this.getTestPropsForLabel('caption')} style={styles.text}>{props.caption}</Text>\n </View>\n {props.hideclose ? null : (\n <WmButton\n id={this.getTestId('close')}\n iconclass=\"wi wi-close\"\n styles={styles.closeBtn}\n onTap={this.close}></WmButton>\n )}\n </Animatedview>);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,OAAOC,QAAQ,MAAM,4BAA4B;AACjD,SAASC,YAAY,QAAQ,mEAAmE;AAEhG,OAAO,MAAMC,cAAc,SAASN,kBAAkB,CAAiB;AAEvE,MAAMO,aAAa,GAAG;EACpB,SAAS,EAAE,kBAAkB;EAC7B,SAAS,EAAE,uBAAuB;EAClC,OAAO,EAAE,oBAAoB;EAC7B,MAAM,EAAE,YAAY;EACpB,SAAS,EAAE;AACb,CAAC;AAED,MAAMC,aAAa,GAAG;EACpB,SAAS,EAAE,SAAS;EACpB,SAAS,EAAE,SAAS;EACpB,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,MAAM;EACd,SAAS,EAAE;AACb,CAAQ;AAER,eAAe,MAAMC,SAAS,SAASV,aAAa,CAAkD;EAEpGW,WAAWA,CAACC,KAAqB,EAAE;IACjC,KAAK,CAACA,KAAK,EAAET,aAAa,EAAE,IAAID,cAAc,CAAC,CAAC,CAAC;IAACW,eAAA,gBAmB5C,MAAM;MACZ,IAAI,CAACC,WAAW,CAAC;QAACF,KAAK,EAAE;UACvBG,IAAI,EAAG;QACT;MAAC,CAAC,EAAE,MAAM,IAAI,CAACC,mBAAmB,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;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