@wavemaker/app-rn-runtime 11.6.1-rc.5496 → 11.7.0-dev.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 +295 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/carousel/carousel.styles.js +165 -0
- package/components/advanced/carousel/carousel.styles.js.map +1 -0
- package/components/advanced/webview/webview.component.js +149 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/advanced/webview/webview.props.js +16 -0
- package/components/advanced/webview/webview.props.js.map +1 -0
- package/components/basic/anchor/anchor.component.js +85 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/anchor/anchor.props.js +30 -0
- package/components/basic/anchor/anchor.props.js.map +1 -0
- package/components/basic/anchor/anchor.styles.js +80 -0
- package/components/basic/anchor/anchor.styles.js.map +1 -0
- package/components/basic/animatedview.component.js +216 -0
- package/components/basic/animatedview.component.js.map +1 -0
- package/components/basic/button/button.component.js +86 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.props.js +26 -0
- package/components/basic/button/button.props.js.map +1 -0
- package/components/basic/button/button.styles.js +133 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.js +59 -0
- package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
- package/components/basic/icon/icon.component.js +250 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js +26 -0
- package/components/basic/icon/icon.props.js.map +1 -0
- package/components/basic/icon/icon.styles.js +33 -0
- package/components/basic/icon/icon.styles.js.map +1 -0
- package/components/basic/label/label.component.js +143 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.props.js +23 -0
- package/components/basic/label/label.props.js.map +1 -0
- package/components/basic/label/label.styles.js +129 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/message/message.component.js +77 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/message/message.props.js +20 -0
- package/components/basic/message/message.props.js.map +1 -0
- package/components/basic/message/message.styles.js +117 -0
- package/components/basic/message/message.styles.js.map +1 -0
- package/components/basic/picture/picture.component.js +191 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/picture/picture.props.js +21 -0
- package/components/basic/picture/picture.props.js.map +1 -0
- package/components/basic/picture/picture.styles.js +43 -0
- package/components/basic/picture/picture.styles.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js +37 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.js +16 -0
- package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js +77 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.js +19 -0
- package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components/basic/search/search.component.js +424 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.props.js +33 -0
- package/components/basic/search/search.props.js.map +1 -0
- package/components/basic/search/search.styles.js +173 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/skeleton/skeleton.component.js +148 -0
- package/components/basic/skeleton/skeleton.component.js.map +1 -0
- package/components/basic/video/video.component.js +59 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/basic/video/video.props.js +25 -0
- package/components/basic/video/video.props.js.map +1 -0
- package/components/chart/area-chart/area-chart.component.js +137 -0
- package/components/chart/area-chart/area-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.js +109 -0
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js +13 -0
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
- package/components/chart/basechart.component.js +605 -0
- package/components/chart/basechart.component.js.map +1 -0
- package/components/chart/basechart.props.js +66 -0
- package/components/chart/basechart.props.js.map +1 -0
- package/components/chart/basechart.styles.js +76 -0
- package/components/chart/basechart.styles.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.js +84 -0
- package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.component.js +98 -0
- package/components/chart/line-chart/line-chart.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.props.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.component.js +216 -0
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.component.js +277 -0
- package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.props.js +17 -0
- package/components/chart/stack-chart/stack-chart.props.js.map +1 -0
- package/components/chart/staticdata.js +215 -0
- package/components/chart/staticdata.js.map +1 -0
- package/components/container/container.component.js +47 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/container.props.js +13 -0
- package/components/container/container.props.js.map +1 -0
- package/components/container/panel/panel.component.js +113 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.props.js +24 -0
- package/components/container/panel/panel.props.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.js +196 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.js +69 -0
- package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.js +74 -0
- package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.js +16 -0
- package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
- package/components/container/tabs/tabs.component.js +240 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/wizard/wizard.component.js +293 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +308 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js +77 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js +22 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
- package/components/data/card/card.component.js +72 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/card/card.props.js +27 -0
- package/components/data/card/card.props.js.map +1 -0
- package/components/data/form/form-action/form-action.component.js +35 -0
- package/components/data/form/form-action/form-action.component.js.map +1 -0
- package/components/data/form/form-action/form-action.props.js +18 -0
- package/components/data/form/form-action/form-action.props.js.map +1 -0
- package/components/data/form/form-action/form-action.styles.js +34 -0
- package/components/data/form/form-action/form-action.styles.js.map +1 -0
- package/components/data/form/form-field/form-field.component.js +231 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/list/list.component.js +420 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +44 -0
- package/components/data/list/list.props.js.map +1 -0
- package/components/data/list/list.styles.js +142 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.js +50 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.js +18 -0
- package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.styles.js +38 -0
- package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
- package/components/device/camera/camera.component.js +68 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.props.js +23 -0
- package/components/device/camera/camera.props.js.map +1 -0
- package/components/device/camera/camera.styles.js +39 -0
- package/components/device/camera/camera.styles.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js +71 -0
- package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.props.js +23 -0
- package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js +34 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js +77 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js +23 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
- package/components/dialogs/dialog/dialog.component.js +98 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.props.js +24 -0
- package/components/dialogs/dialog/dialog.props.js.map +1 -0
- package/components/dialogs/dialog/dialog.styles.js +79 -0
- package/components/dialogs/dialog/dialog.styles.js.map +1 -0
- package/components/input/basedataset/basedataset.props.js +31 -0
- package/components/input/basedataset/basedataset.props.js.map +1 -0
- package/components/input/baseinput/baseinput.component.js +151 -0
- package/components/input/baseinput/baseinput.component.js.map +1 -0
- package/components/input/baseinput/baseinput.props.js +27 -0
- package/components/input/baseinput/baseinput.props.js.map +1 -0
- package/components/input/basenumber/basenumber.component.js +317 -0
- package/components/input/basenumber/basenumber.component.js.map +1 -0
- package/components/input/basenumber/basenumber.props.js +25 -0
- package/components/input/basenumber/basenumber.props.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js +102 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkbox/checkbox.styles.js +66 -0
- package/components/input/checkbox/checkbox.styles.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js +111 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.props.js +14 -0
- package/components/input/checkboxset/checkboxset.props.js.map +1 -0
- package/components/input/checkboxset/checkboxset.styles.js +75 -0
- package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
- package/components/input/chips/chips.component.js +281 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/composite/composite.component.js +24 -0
- package/components/input/composite/composite.component.js.map +1 -0
- package/components/input/composite/composite.props.js +12 -0
- package/components/input/composite/composite.props.js.map +1 -0
- package/components/input/currency/currency.component.js +88 -0
- package/components/input/currency/currency.component.js.map +1 -0
- package/components/input/currency/currency.props.js +13 -0
- package/components/input/currency/currency.props.js.map +1 -0
- package/components/input/currency/currency.styles.js +90 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +353 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/epoch/date/date.component.js +20 -0
- package/components/input/epoch/date/date.component.js.map +1 -0
- package/components/input/epoch/date/date.styles.js +37 -0
- package/components/input/epoch/date/date.styles.js.map +1 -0
- package/components/input/epoch/datetime/datetime.component.js +20 -0
- package/components/input/epoch/datetime/datetime.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.props.js +27 -0
- package/components/input/epoch/datetime/datetime.props.js.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.js +119 -0
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
- package/components/input/epoch/time/time.component.js +26 -0
- package/components/input/epoch/time/time.component.js.map +1 -0
- package/components/input/epoch/time/time.styles.js +37 -0
- package/components/input/epoch/time/time.styles.js.map +1 -0
- package/components/input/fileupload/fileupload.component.js +58 -0
- package/components/input/fileupload/fileupload.component.js.map +1 -0
- package/components/input/fileupload/fileupload.props.js +16 -0
- package/components/input/fileupload/fileupload.props.js.map +1 -0
- package/components/input/fileupload/fileupload.styles.js +27 -0
- package/components/input/fileupload/fileupload.styles.js.map +1 -0
- package/components/input/number/number.component.js +66 -0
- package/components/input/number/number.component.js.map +1 -0
- package/components/input/number/number.props.js +13 -0
- package/components/input/number/number.props.js.map +1 -0
- package/components/input/number/number.styles.js +59 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +94 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/radioset/radioset.props.js +18 -0
- package/components/input/radioset/radioset.props.js.map +1 -0
- package/components/input/radioset/radioset.styles.js +82 -0
- package/components/input/radioset/radioset.styles.js.map +1 -0
- package/components/input/select/select.component.js +189 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.styles.js +105 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.styles.js +60 -0
- package/components/input/slider/slider.styles.js.map +1 -0
- package/components/input/switch/switch.component.js +81 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.styles.js +122 -0
- package/components/input/switch/switch.styles.js.map +1 -0
- package/components/input/text/text.component.js +59 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.props.js +12 -0
- package/components/input/text/text.props.js.map +1 -0
- package/components/input/text/text.styles.js +65 -0
- package/components/input/text/text.styles.js.map +1 -0
- package/components/input/textarea/textarea.component.js +60 -0
- package/components/input/textarea/textarea.component.js.map +1 -0
- package/components/input/textarea/textarea.props.js +12 -0
- package/components/input/textarea/textarea.props.js.map +1 -0
- package/components/input/textarea/textarea.styles.js +63 -0
- package/components/input/textarea/textarea.styles.js.map +1 -0
- package/components/input/toggle/toggle.component.js +138 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.props.js +20 -0
- package/components/input/toggle/toggle.props.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +48 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js +70 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.js +21 -0
- package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js +169 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/basenav/basenav.component.js +76 -0
- package/components/navigation/basenav/basenav.component.js.map +1 -0
- package/components/navigation/menu/menu.styles.js +74 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navitem/navitem.component.js +68 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.props.js +19 -0
- package/components/navigation/navitem/navitem.props.js.map +1 -0
- package/components/navigation/popover/popover.component.js +136 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.props.js +30 -0
- package/components/navigation/popover/popover.props.js.map +1 -0
- package/components/navigation/popover/popover.styles.js +81 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/page-content/page-content.component.js +36 -0
- package/components/page/page-content/page-content.component.js.map +1 -0
- package/components/page/tabbar/curve.js +84 -0
- package/components/page/tabbar/curve.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js +137 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/components/page/tabbar/tabbar.styles.js +167 -0
- package/components/page/tabbar/tabbar.styles.js.map +1 -0
- package/core/accessibility.js +149 -0
- package/core/accessibility.js.map +1 -0
- package/core/base.component.js +443 -0
- package/core/base.component.js.map +1 -0
- package/core/components/flatlist.component.js +38 -0
- package/core/components/flatlist.component.js.map +1 -0
- package/core/components/floatinglabel.component.js +45 -0
- package/core/components/floatinglabel.component.js.map +1 -0
- package/core/components/textinput.component.js +60 -0
- package/core/components/textinput.component.js.map +1 -0
- package/core/event-notifier.js +50 -0
- package/core/event-notifier.js.map +1 -0
- package/core/tappable.component.js +109 -0
- package/core/tappable.component.js.map +1 -0
- package/core/utils.js +343 -0
- package/core/utils.js.map +1 -0
- package/gestures/swipe.animation.js +217 -0
- package/gestures/swipe.animation.js.map +1 -0
- package/package.json +246 -0
- package/runtime/App.js +500 -0
- package/runtime/App.js.map +1 -0
- package/runtime/base-page.component.js +163 -0
- package/runtime/base-page.component.js.map +1 -0
- package/runtime/services/app-security.service.js +201 -0
- package/runtime/services/app-security.service.js.map +1 -0
- package/runtime/services/webprocess.service.js +109 -0
- package/runtime/services/webprocess.service.js.map +1 -0
- package/styles/background.component.js +304 -0
- package/styles/background.component.js.map +1 -0
- package/styles/theme.js +396 -0
- package/styles/theme.js.map +1 -0
- package/styles/theme.variables.js +430 -0
- package/styles/theme.variables.js.map +1 -0
- package/variables/model-variable.js +47 -0
- package/variables/model-variable.js.map +1 -0
- package/variables/service-variable.js +141 -0
- package/variables/service-variable.js.map +1 -0
- app-rn-runtime/components/advanced/carousel/carousel.component.js +0 -290
- app-rn-runtime/components/advanced/carousel/carousel.component.js.map +0 -1
- app-rn-runtime/components/advanced/carousel/carousel.styles.js +0 -162
- app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.component.js +0 -130
- app-rn-runtime/components/advanced/webview/webview.component.js.map +0 -1
- app-rn-runtime/components/advanced/webview/webview.props.js +0 -14
- app-rn-runtime/components/advanced/webview/webview.props.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.component.js +0 -71
- app-rn-runtime/components/basic/anchor/anchor.component.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.props.js +0 -23
- app-rn-runtime/components/basic/anchor/anchor.props.js.map +0 -1
- app-rn-runtime/components/basic/anchor/anchor.styles.js +0 -78
- app-rn-runtime/components/basic/anchor/anchor.styles.js.map +0 -1
- app-rn-runtime/components/basic/animatedview.component.js +0 -214
- app-rn-runtime/components/basic/animatedview.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.component.js +0 -53
- app-rn-runtime/components/basic/button/button.component.js.map +0 -1
- app-rn-runtime/components/basic/button/button.props.js +0 -19
- app-rn-runtime/components/basic/button/button.props.js.map +0 -1
- app-rn-runtime/components/basic/button/button.styles.js +0 -134
- app-rn-runtime/components/basic/button/button.styles.js.map +0 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js +0 -51
- app-rn-runtime/components/basic/buttongroup/buttongroup.styles.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.component.js +0 -198
- app-rn-runtime/components/basic/icon/icon.component.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.props.js +0 -19
- app-rn-runtime/components/basic/icon/icon.props.js.map +0 -1
- app-rn-runtime/components/basic/icon/icon.styles.js +0 -32
- app-rn-runtime/components/basic/icon/icon.styles.js.map +0 -1
- app-rn-runtime/components/basic/label/label.component.js +0 -126
- app-rn-runtime/components/basic/label/label.component.js.map +0 -1
- app-rn-runtime/components/basic/label/label.props.js +0 -19
- app-rn-runtime/components/basic/label/label.props.js.map +0 -1
- app-rn-runtime/components/basic/label/label.styles.js +0 -130
- app-rn-runtime/components/basic/label/label.styles.js.map +0 -1
- app-rn-runtime/components/basic/message/message.component.js +0 -76
- app-rn-runtime/components/basic/message/message.component.js.map +0 -1
- app-rn-runtime/components/basic/message/message.props.js +0 -17
- app-rn-runtime/components/basic/message/message.props.js.map +0 -1
- app-rn-runtime/components/basic/message/message.styles.js +0 -115
- app-rn-runtime/components/basic/message/message.styles.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.component.js +0 -189
- app-rn-runtime/components/basic/picture/picture.component.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.props.js +0 -18
- app-rn-runtime/components/basic/picture/picture.props.js.map +0 -1
- app-rn-runtime/components/basic/picture/picture.styles.js +0 -41
- app-rn-runtime/components/basic/picture/picture.styles.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +0 -37
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.props.js +0 -14
- app-rn-runtime/components/basic/progress-bar/progress-bar.props.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +0 -76
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +0 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.props.js +0 -17
- app-rn-runtime/components/basic/progress-circle/progress-circle.props.js.map +0 -1
- app-rn-runtime/components/basic/search/search.component.js +0 -417
- app-rn-runtime/components/basic/search/search.component.js.map +0 -1
- app-rn-runtime/components/basic/search/search.props.js +0 -29
- app-rn-runtime/components/basic/search/search.props.js.map +0 -1
- app-rn-runtime/components/basic/search/search.styles.js +0 -172
- app-rn-runtime/components/basic/search/search.styles.js.map +0 -1
- app-rn-runtime/components/basic/skeleton/skeleton.component.js +0 -149
- app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +0 -1
- app-rn-runtime/components/basic/video/video.component.js +0 -57
- app-rn-runtime/components/basic/video/video.component.js.map +0 -1
- app-rn-runtime/components/basic/video/video.props.js +0 -22
- app-rn-runtime/components/basic/video/video.props.js.map +0 -1
- app-rn-runtime/components/chart/area-chart/area-chart.component.js +0 -127
- app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.component.js +0 -96
- app-rn-runtime/components/chart/bar-chart/bar-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.props.js +0 -15
- app-rn-runtime/components/chart/bar-chart/bar-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/basechart.component.js +0 -579
- app-rn-runtime/components/chart/basechart.component.js.map +0 -1
- app-rn-runtime/components/chart/basechart.props.js +0 -61
- app-rn-runtime/components/chart/basechart.props.js.map +0 -1
- app-rn-runtime/components/chart/basechart.styles.js +0 -69
- app-rn-runtime/components/chart/basechart.styles.js.map +0 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +0 -82
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/line-chart/line-chart.component.js +0 -91
- app-rn-runtime/components/chart/line-chart/line-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +0 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +0 -213
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +0 -254
- app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +0 -1
- app-rn-runtime/components/chart/stack-chart/stack-chart.props.js +0 -16
- app-rn-runtime/components/chart/stack-chart/stack-chart.props.js.map +0 -1
- app-rn-runtime/components/container/container.component.js +0 -38
- app-rn-runtime/components/container/container.component.js.map +0 -1
- app-rn-runtime/components/container/container.props.js +0 -12
- app-rn-runtime/components/container/container.props.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.component.js +0 -109
- app-rn-runtime/components/container/panel/panel.component.js.map +0 -1
- app-rn-runtime/components/container/panel/panel.props.js +0 -20
- app-rn-runtime/components/container/panel/panel.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +0 -196
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js +0 -69
- app-rn-runtime/components/container/tabs/tabheader/tabheader.styles.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +0 -55
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js +0 -15
- app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +0 -1
- app-rn-runtime/components/container/tabs/tabs.component.js +0 -237
- app-rn-runtime/components/container/tabs/tabs.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.component.js +0 -290
- app-rn-runtime/components/container/wizard/wizard.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizard.styles.js +0 -292
- app-rn-runtime/components/container/wizard/wizard.styles.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js +0 -52
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +0 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js +0 -16
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js.map +0 -1
- app-rn-runtime/components/data/card/card.component.js +0 -68
- app-rn-runtime/components/data/card/card.component.js.map +0 -1
- app-rn-runtime/components/data/card/card.props.js +0 -23
- app-rn-runtime/components/data/card/card.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.component.js +0 -34
- app-rn-runtime/components/data/form/form-action/form-action.component.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.props.js +0 -17
- app-rn-runtime/components/data/form/form-action/form-action.props.js.map +0 -1
- app-rn-runtime/components/data/form/form-action/form-action.styles.js +0 -33
- app-rn-runtime/components/data/form/form-action/form-action.styles.js.map +0 -1
- app-rn-runtime/components/data/form/form-field/form-field.component.js +0 -227
- app-rn-runtime/components/data/form/form-field/form-field.component.js.map +0 -1
- app-rn-runtime/components/data/list/list.component.js +0 -312
- app-rn-runtime/components/data/list/list.component.js.map +0 -1
- app-rn-runtime/components/data/list/list.props.js +0 -41
- app-rn-runtime/components/data/list/list.props.js.map +0 -1
- app-rn-runtime/components/data/list/list.styles.js +0 -129
- app-rn-runtime/components/data/list/list.styles.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +0 -47
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js +0 -15
- app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js.map +0 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js +0 -31
- app-rn-runtime/components/device/barcodescanner/barcodescanner.styles.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.component.js +0 -65
- app-rn-runtime/components/device/camera/camera.component.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.props.js +0 -20
- app-rn-runtime/components/device/camera/camera.props.js.map +0 -1
- app-rn-runtime/components/device/camera/camera.styles.js +0 -31
- app-rn-runtime/components/device/camera/camera.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +0 -67
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js +0 -19
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js +0 -33
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.styles.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +0 -73
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js +0 -19
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.component.js +0 -94
- app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.props.js +0 -20
- app-rn-runtime/components/dialogs/dialog/dialog.props.js.map +0 -1
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js +0 -70
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +0 -1
- app-rn-runtime/components/input/basedataset/basedataset.props.js +0 -27
- app-rn-runtime/components/input/basedataset/basedataset.props.js.map +0 -1
- app-rn-runtime/components/input/baseinput/baseinput.component.js +0 -151
- app-rn-runtime/components/input/baseinput/baseinput.component.js.map +0 -1
- app-rn-runtime/components/input/baseinput/baseinput.props.js +0 -23
- app-rn-runtime/components/input/baseinput/baseinput.props.js.map +0 -1
- app-rn-runtime/components/input/basenumber/basenumber.component.js +0 -311
- app-rn-runtime/components/input/basenumber/basenumber.component.js.map +0 -1
- app-rn-runtime/components/input/basenumber/basenumber.props.js +0 -21
- app-rn-runtime/components/input/basenumber/basenumber.props.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/checkbox/checkbox.styles.js +0 -36
- app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js +0 -98
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.props.js +0 -13
- app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +0 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.styles.js +0 -46
- app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +0 -1
- app-rn-runtime/components/input/chips/chips.component.js +0 -277
- app-rn-runtime/components/input/chips/chips.component.js.map +0 -1
- app-rn-runtime/components/input/composite/composite.component.js +0 -24
- app-rn-runtime/components/input/composite/composite.component.js.map +0 -1
- app-rn-runtime/components/input/composite/composite.props.js +0 -12
- app-rn-runtime/components/input/composite/composite.props.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.component.js +0 -73
- app-rn-runtime/components/input/currency/currency.component.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.props.js +0 -12
- app-rn-runtime/components/input/currency/currency.props.js.map +0 -1
- app-rn-runtime/components/input/currency/currency.styles.js +0 -72
- app-rn-runtime/components/input/currency/currency.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/base-datetime.component.js +0 -287
- app-rn-runtime/components/input/epoch/base-datetime.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.component.js +0 -12
- app-rn-runtime/components/input/epoch/date/date.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/date/date.styles.js +0 -21
- app-rn-runtime/components/input/epoch/date/date.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.component.js +0 -12
- app-rn-runtime/components/input/epoch/datetime/datetime.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.props.js +0 -22
- app-rn-runtime/components/input/epoch/datetime/datetime.props.js.map +0 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.styles.js +0 -71
- app-rn-runtime/components/input/epoch/datetime/datetime.styles.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.component.js +0 -18
- app-rn-runtime/components/input/epoch/time/time.component.js.map +0 -1
- app-rn-runtime/components/input/epoch/time/time.styles.js +0 -21
- app-rn-runtime/components/input/epoch/time/time.styles.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.component.js +0 -56
- app-rn-runtime/components/input/fileupload/fileupload.component.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.props.js +0 -14
- app-rn-runtime/components/input/fileupload/fileupload.props.js.map +0 -1
- app-rn-runtime/components/input/fileupload/fileupload.styles.js +0 -27
- app-rn-runtime/components/input/fileupload/fileupload.styles.js.map +0 -1
- app-rn-runtime/components/input/number/number.component.js +0 -55
- app-rn-runtime/components/input/number/number.component.js.map +0 -1
- app-rn-runtime/components/input/number/number.props.js +0 -12
- app-rn-runtime/components/input/number/number.props.js.map +0 -1
- app-rn-runtime/components/input/number/number.styles.js +0 -42
- app-rn-runtime/components/input/number/number.styles.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.component.js +0 -63
- app-rn-runtime/components/input/radioset/radioset.component.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.props.js +0 -17
- app-rn-runtime/components/input/radioset/radioset.props.js.map +0 -1
- app-rn-runtime/components/input/radioset/radioset.styles.js +0 -49
- app-rn-runtime/components/input/radioset/radioset.styles.js.map +0 -1
- app-rn-runtime/components/input/select/select.component.js +0 -185
- app-rn-runtime/components/input/select/select.component.js.map +0 -1
- app-rn-runtime/components/input/select/select.styles.js +0 -101
- app-rn-runtime/components/input/select/select.styles.js.map +0 -1
- app-rn-runtime/components/input/slider/slider.styles.js +0 -60
- app-rn-runtime/components/input/slider/slider.styles.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.component.js +0 -74
- app-rn-runtime/components/input/switch/switch.component.js.map +0 -1
- app-rn-runtime/components/input/switch/switch.styles.js +0 -117
- 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.props.js +0 -11
- app-rn-runtime/components/input/text/text.props.js.map +0 -1
- app-rn-runtime/components/input/text/text.styles.js +0 -48
- 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/textarea/textarea.props.js +0 -11
- app-rn-runtime/components/input/textarea/textarea.props.js.map +0 -1
- app-rn-runtime/components/input/textarea/textarea.styles.js +0 -46
- app-rn-runtime/components/input/textarea/textarea.styles.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.component.js +0 -95
- app-rn-runtime/components/input/toggle/toggle.component.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.props.js +0 -16
- app-rn-runtime/components/input/toggle/toggle.props.js.map +0 -1
- app-rn-runtime/components/input/toggle/toggle.styles.js +0 -55
- app-rn-runtime/components/input/toggle/toggle.styles.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +0 -65
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +0 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js +0 -20
- app-rn-runtime/components/navigation/appnavbar/appnavbar.props.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/basenav/basenav.component.js +0 -77
- app-rn-runtime/components/navigation/basenav/basenav.component.js.map +0 -1
- app-rn-runtime/components/navigation/menu/menu.styles.js +0 -71
- app-rn-runtime/components/navigation/menu/menu.styles.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.component.js +0 -65
- app-rn-runtime/components/navigation/navitem/navitem.component.js.map +0 -1
- app-rn-runtime/components/navigation/navitem/navitem.props.js +0 -16
- app-rn-runtime/components/navigation/navitem/navitem.props.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.component.js +0 -129
- app-rn-runtime/components/navigation/popover/popover.component.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.props.js +0 -23
- app-rn-runtime/components/navigation/popover/popover.props.js.map +0 -1
- app-rn-runtime/components/navigation/popover/popover.styles.js +0 -75
- app-rn-runtime/components/navigation/popover/popover.styles.js.map +0 -1
- app-rn-runtime/components/page/page-content/page-content.component.js +0 -30
- app-rn-runtime/components/page/page-content/page-content.component.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.component.js +0 -103
- app-rn-runtime/components/page/tabbar/tabbar.component.js.map +0 -1
- app-rn-runtime/components/page/tabbar/tabbar.styles.js +0 -100
- app-rn-runtime/components/page/tabbar/tabbar.styles.js.map +0 -1
- app-rn-runtime/core/base.component.js +0 -425
- app-rn-runtime/core/base.component.js.map +0 -1
- app-rn-runtime/core/components/textinput.component.js +0 -37
- app-rn-runtime/core/components/textinput.component.js.map +0 -1
- app-rn-runtime/core/event-notifier.js +0 -25
- app-rn-runtime/core/event-notifier.js.map +0 -1
- app-rn-runtime/core/tappable.component.js +0 -82
- app-rn-runtime/core/tappable.component.js.map +0 -1
- app-rn-runtime/core/utils.js +0 -332
- app-rn-runtime/core/utils.js.map +0 -1
- app-rn-runtime/gestures/swipe.animation.js +0 -184
- app-rn-runtime/gestures/swipe.animation.js.map +0 -1
- app-rn-runtime/package.json +0 -244
- app-rn-runtime/runtime/App.js +0 -495
- app-rn-runtime/runtime/App.js.map +0 -1
- app-rn-runtime/runtime/base-page.component.js +0 -163
- app-rn-runtime/runtime/base-page.component.js.map +0 -1
- app-rn-runtime/runtime/services/app-security.service.js +0 -200
- app-rn-runtime/runtime/services/app-security.service.js.map +0 -1
- app-rn-runtime/runtime/services/webprocess.service.js +0 -110
- app-rn-runtime/runtime/services/webprocess.service.js.map +0 -1
- app-rn-runtime/styles/background.component.js +0 -298
- app-rn-runtime/styles/background.component.js.map +0 -1
- app-rn-runtime/styles/theme.js +0 -353
- app-rn-runtime/styles/theme.js.map +0 -1
- app-rn-runtime/styles/theme.variables.js +0 -406
- app-rn-runtime/styles/theme.variables.js.map +0 -1
- app-rn-runtime/variables/model-variable.js +0 -46
- app-rn-runtime/variables/model-variable.js.map +0 -1
- app-rn-runtime/variables/service-variable.js +0 -133
- app-rn-runtime/variables/service-variable.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/login/login.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/login/login.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/advanced/network-info-toaster/network-info-toaster.component.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.styles.js +0 -0
- {app-rn-runtime → package}/components/advanced/webview/webview.styles.js.map +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.component.js +0 -0
- {app-rn-runtime → package}/components/basic/audio/audio.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/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/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/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/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/progress-bar/progress-bar.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/progress-bar/progress-bar.styles.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/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.component.js +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.component.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/spinner/spinner.styles.js +0 -0
- {app-rn-runtime → package}/components/basic/spinner/spinner.styles.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.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.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/bar-chart/bar-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/bubble-chart/bubble-chart.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.props.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js +0 -0
- {app-rn-runtime → package}/components/chart/line-chart/line-chart.styles.js.map +0 -0
- {app-rn-runtime → package}/components/chart/pie-chart/pie-chart.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.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.component.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordion.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/container/accordion/accordionpane/accordionpane.component.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.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/collapsible-pane.component.js +0 -0
- {app-rn-runtime → package}/components/container/panel/collapsible-pane.component.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.styles.js +0 -0
- {app-rn-runtime → package}/components/container/panel/panel.styles.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.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.component.js +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.component.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.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.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-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.component.js +0 -0
- {app-rn-runtime → package}/components/data/form/form.component.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-template/list-template.styles.js +0 -0
- {app-rn-runtime → package}/components/data/list/list-template/list-template.styles.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/dialogs/confirmdialog/confirmdialog.styles.js +0 -0
- {app-rn-runtime → package}/components/dialogs/confirmdialog/confirmdialog.styles.js.map +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.component.js +0 -0
- {app-rn-runtime → package}/components/dialogs/dialogactions/dialogactions.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.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.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.styles.js +0 -0
- {app-rn-runtime → package}/components/input/basenumber/basenumber.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.component.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.component.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/calendar.styles.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/calendar.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/calendar/views/month-view.js +0 -0
- {app-rn-runtime → package}/components/input/calendar/views/month-view.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/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/chips/chips.styles.js +0 -0
- {app-rn-runtime → package}/components/input/chips/chips.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js +0 -0
- {app-rn-runtime → package}/components/input/composite/composite.styles.js.map +0 -0
- {app-rn-runtime → package}/components/input/epoch/date/date.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-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/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/rating/rating.component.js +0 -0
- {app-rn-runtime → package}/components/input/rating/rating.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/input/slider/slider.component.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/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.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/menu/menu.component.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.component.js +0 -0
- {app-rn-runtime → package}/components/navigation/navbar/navbar.component.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.styles.js +0 -0
- {app-rn-runtime → package}/components/navigation/navitem/navitem.styles.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/left-panel/left-panel.styles.js +0 -0
- {app-rn-runtime → package}/components/page/left-panel/left-panel.styles.js.map +0 -0
- {app-rn-runtime → package}/components/page/page-content/page-content.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/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/constant.service.js +0 -0
- {app-rn-runtime → package}/core/constant.service.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/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/formatters.js +0 -0
- {app-rn-runtime → package}/core/formatters.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/testid.provider.js +0 -0
- {app-rn-runtime → package}/core/testid.provider.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/viewport.js +0 -0
- {app-rn-runtime → package}/core/viewport.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-fragment.component.js +0 -0
- {app-rn-runtime → package}/runtime/base-fragment.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-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/camera-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/camera-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/device/scan-service.js +0 -0
- {app-rn-runtime → package}/runtime/services/device/scan-service.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/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/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}/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/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
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
4
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { Text, View } from 'react-native';
|
|
7
|
-
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
8
|
-
import { isEqual, get, find, cloneDeep, forEach, keys } from 'lodash';
|
|
9
|
-
import WmFormFieldProps from './form-field.props';
|
|
10
|
-
import { DEFAULT_CLASS } from './form-field.styles';
|
|
11
|
-
import { PERFORMANCE_LOGGER } from "@wavemaker/app-rn-runtime/core/logger";
|
|
12
|
-
export class WmFormFieldState extends BaseComponentState {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
_defineProperty(this, "isValid", true);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export default class WmFormField extends BaseComponent {
|
|
19
|
-
constructor(props) {
|
|
20
|
-
super(props, DEFAULT_CLASS, new WmFormFieldProps(), new WmFormFieldState());
|
|
21
|
-
_defineProperty(this, "form", void 0);
|
|
22
|
-
_defineProperty(this, "formwidget", void 0);
|
|
23
|
-
_defineProperty(this, "_syncValidators", void 0);
|
|
24
|
-
_defineProperty(this, "defaultValidatorMessages", []);
|
|
25
|
-
_defineProperty(this, "notifyForFields", []);
|
|
26
|
-
_defineProperty(this, "_asyncValidatorFn", void 0);
|
|
27
|
-
}
|
|
28
|
-
onFieldChangeEvt(name, $new, $old, isDefault) {
|
|
29
|
-
this.notifyChanges();
|
|
30
|
-
this.validateFormField();
|
|
31
|
-
if (!isEqual($old, $new)) {
|
|
32
|
-
this.updateState({
|
|
33
|
-
props: {
|
|
34
|
-
datavalue: $new
|
|
35
|
-
}
|
|
36
|
-
}, () => {
|
|
37
|
-
!isDefault && this.invokeEventCallback('onChange', [undefined, this, $new, $old]);
|
|
38
|
-
});
|
|
39
|
-
if (this.form) {
|
|
40
|
-
this.form.updateDataOutput.call(this.form, get(this.props, 'formKey', this.props.name), $new);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Registers observer of validation fields
|
|
46
|
-
observeOn(fields) {
|
|
47
|
-
forEach(fields, field => {
|
|
48
|
-
const formfield = find(this.form.formFields, f => f.proxy.name === field);
|
|
49
|
-
if (formfield) {
|
|
50
|
-
formfield.notifyForFields.push(this);
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// Notifies changes to observing validation fields
|
|
56
|
-
notifyChanges() {
|
|
57
|
-
forEach(this.notifyForFields, field => {
|
|
58
|
-
field.formwidget.validate(field.formwidget.datavalue);
|
|
59
|
-
setTimeout(() => field.validateFormField());
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
getPromiseList(validators) {
|
|
63
|
-
const arr = [];
|
|
64
|
-
forEach(validators, fn => {
|
|
65
|
-
let promise = fn;
|
|
66
|
-
if (fn instanceof Function && fn.bind) {
|
|
67
|
-
promise = fn(this.formwidget.proxy, this.form);
|
|
68
|
-
}
|
|
69
|
-
if (promise instanceof Promise) {
|
|
70
|
-
arr.push(promise);
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
return arr;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// this method sets the asyncValidation on the form field. Assigns validationmessages from the returned response
|
|
77
|
-
setAsyncValidators(validators) {
|
|
78
|
-
this._asyncValidatorFn = () => {
|
|
79
|
-
return Promise.all(this.getPromiseList(validators)).then(() => {
|
|
80
|
-
return null;
|
|
81
|
-
}, err => {
|
|
82
|
-
let validationMsg;
|
|
83
|
-
// if err obj has validationMessage key, then set validationMessage using this value
|
|
84
|
-
// else return the value of the first key in the err object as validation message.
|
|
85
|
-
if (err.hasOwnProperty('errorMessage')) {
|
|
86
|
-
validationMsg = get(err, 'errorMessage');
|
|
87
|
-
} else {
|
|
88
|
-
const messageKeys = keys(err);
|
|
89
|
-
validationMsg = err[messageKeys[0]].toString();
|
|
90
|
-
}
|
|
91
|
-
this.setInvalidState(validationMsg);
|
|
92
|
-
return err;
|
|
93
|
-
});
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// sets the default validation on the form field
|
|
98
|
-
setValidators(validators) {
|
|
99
|
-
let _cloneValidators = cloneDeep(validators);
|
|
100
|
-
this._syncValidators = [];
|
|
101
|
-
forEach(_cloneValidators, (obj, index) => {
|
|
102
|
-
// custom validation is bound to function.
|
|
103
|
-
if (obj && obj instanceof Function) {
|
|
104
|
-
// passing formwidget and form as arguments to the obj (i.e. validator function)
|
|
105
|
-
_cloneValidators[index] = obj.bind(undefined, this.formwidget.proxy, this.form);
|
|
106
|
-
this._syncValidators.push(_cloneValidators[index]);
|
|
107
|
-
} else {
|
|
108
|
-
// checks for default validator like required, maxchars etc.
|
|
109
|
-
const key = get(obj, 'type');
|
|
110
|
-
this.defaultValidatorMessages[key] = get(obj, 'errorMessage');
|
|
111
|
-
const value = get(obj, 'validator');
|
|
112
|
-
let propsObj = {
|
|
113
|
-
props: {}
|
|
114
|
-
};
|
|
115
|
-
propsObj.props[key] = value;
|
|
116
|
-
key === 'required' && this.updateState(propsObj);
|
|
117
|
-
this.formwidget.updateState(propsObj);
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
updateFormWidgetDataset(res, displayField) {
|
|
122
|
-
this.formwidget.updateState({
|
|
123
|
-
props: {
|
|
124
|
-
dataset: res.data,
|
|
125
|
-
datafield: 'All Fields',
|
|
126
|
-
displayfield: this.formwidget.state.props.displayfield || displayField
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
setInvalidState(msg) {
|
|
131
|
-
this.updateState({
|
|
132
|
-
isValid: false,
|
|
133
|
-
props: {
|
|
134
|
-
validationmessage: msg
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
this.formwidget.updateState({
|
|
138
|
-
isValid: false,
|
|
139
|
-
props: {
|
|
140
|
-
validationmessage: msg
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
onPropertyChange(name, $new, $old) {
|
|
145
|
-
switch (name) {
|
|
146
|
-
case 'datavalue':
|
|
147
|
-
if (!isEqual($old, $new)) {
|
|
148
|
-
PERFORMANCE_LOGGER.debug(`form field ${this.props.name} changed from ${$old} to ${$new}`);
|
|
149
|
-
}
|
|
150
|
-
break;
|
|
151
|
-
case 'defaultvalue':
|
|
152
|
-
if (!isEqual($old, $new)) {
|
|
153
|
-
get(this, 'form') && this.form.applyDefaultValue(this);
|
|
154
|
-
}
|
|
155
|
-
break;
|
|
156
|
-
case 'primary-key':
|
|
157
|
-
if ($new) {
|
|
158
|
-
this.form.setPrimaryKey(this.props.name);
|
|
159
|
-
}
|
|
160
|
-
break;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
setReadOnlyState(updateMode) {
|
|
164
|
-
var _this$formwidget;
|
|
165
|
-
(_this$formwidget = this.formwidget) === null || _this$formwidget === void 0 ? void 0 : _this$formwidget.updateState({
|
|
166
|
-
props: {
|
|
167
|
-
readonly: !updateMode
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
validateFormField() {
|
|
172
|
-
var _this$formwidget2, _this$_syncValidators;
|
|
173
|
-
if (((_this$formwidget2 = this.formwidget) === null || _this$formwidget2 === void 0 ? void 0 : _this$formwidget2.state.isValid) === false) {
|
|
174
|
-
var _this$formwidget3;
|
|
175
|
-
const errorType = (_this$formwidget3 = this.formwidget) === null || _this$formwidget3 === void 0 || (_this$formwidget3 = _this$formwidget3.state) === null || _this$formwidget3 === void 0 ? void 0 : _this$formwidget3.errorType;
|
|
176
|
-
let validationMsg = get(this.defaultValidatorMessages, errorType);
|
|
177
|
-
if (validationMsg) {
|
|
178
|
-
if (validationMsg instanceof Function) {
|
|
179
|
-
// passing formwidget and form as arguments to the errorMessage function.
|
|
180
|
-
validationMsg = validationMsg(this.formwidget.proxy, this.form);
|
|
181
|
-
}
|
|
182
|
-
this.updateState({
|
|
183
|
-
props: {
|
|
184
|
-
validationmessage: validationMsg
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
this.updateState({
|
|
189
|
-
isValid: false
|
|
190
|
-
});
|
|
191
|
-
} else {
|
|
192
|
-
this.updateState({
|
|
193
|
-
isValid: true
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
(_this$_syncValidators = this._syncValidators) === null || _this$_syncValidators === void 0 ? void 0 : _this$_syncValidators.forEach(fn => {
|
|
197
|
-
const errormsg = fn();
|
|
198
|
-
let validationMsg = errormsg === null || errormsg === void 0 ? void 0 : errormsg.errorMessage;
|
|
199
|
-
if (validationMsg) {
|
|
200
|
-
if (validationMsg instanceof Function) {
|
|
201
|
-
// passing formwidget and form as arguments to the errorMessage function.
|
|
202
|
-
validationMsg = validationMsg(this.formwidget.proxy, this.form);
|
|
203
|
-
}
|
|
204
|
-
this.setInvalidState(validationMsg);
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
this._asyncValidatorFn && this._asyncValidatorFn();
|
|
208
|
-
}
|
|
209
|
-
renderWidget(props) {
|
|
210
|
-
var childrenWithProps = React.Children.map(props.renderFormFields(this.proxy).props.children, child => {
|
|
211
|
-
return /*#__PURE__*/React.cloneElement(child, {
|
|
212
|
-
datavalue: props.datavalue,
|
|
213
|
-
isValid: this.state.isValid,
|
|
214
|
-
invokeEvent: this.invokeEventCallback.bind(this),
|
|
215
|
-
triggerValidation: this.validateFormField.bind(this),
|
|
216
|
-
onFieldChange: this.onFieldChangeEvt.bind(this),
|
|
217
|
-
formRef: props.formRef
|
|
218
|
-
});
|
|
219
|
-
});
|
|
220
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
221
|
-
style: this.styles.root
|
|
222
|
-
}, this._background, childrenWithProps, this.state.isValid === false && /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('error_msg'), {
|
|
223
|
-
style: this.styles.errorMsg
|
|
224
|
-
}), props.validationmessage));
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
//# sourceMappingURL=form-field.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","isEqual","get","find","cloneDeep","forEach","keys","WmFormFieldProps","DEFAULT_CLASS","PERFORMANCE_LOGGER","WmFormFieldState","constructor","arguments","_defineProperty","WmFormField","props","onFieldChangeEvt","name","$new","$old","isDefault","notifyChanges","validateFormField","updateState","datavalue","invokeEventCallback","undefined","form","updateDataOutput","call","observeOn","fields","field","formfield","formFields","f","proxy","notifyForFields","push","formwidget","validate","setTimeout","getPromiseList","validators","arr","fn","promise","Function","bind","Promise","setAsyncValidators","_asyncValidatorFn","all","then","err","validationMsg","hasOwnProperty","messageKeys","toString","setInvalidState","setValidators","_cloneValidators","_syncValidators","obj","index","key","defaultValidatorMessages","value","propsObj","updateFormWidgetDataset","res","displayField","dataset","data","datafield","displayfield","state","msg","isValid","validationmessage","onPropertyChange","debug","applyDefaultValue","setPrimaryKey","setReadOnlyState","updateMode","_this$formwidget","readonly","_this$formwidget2","_this$_syncValidators","_this$formwidget3","errorType","errormsg","errorMessage","renderWidget","childrenWithProps","Children","map","renderFormFields","children","child","cloneElement","invokeEvent","triggerValidation","onFieldChange","formRef","createElement","style","styles","root","_background","_extends","getTestPropsForLabel","errorMsg"],"sources":["form-field.component.tsx"],"sourcesContent":["import React from 'react';\nimport {Text, View} from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { widgetsWithUndefinedValue } from '@wavemaker/app-rn-runtime/core/utils';\nimport { isEqual, get, find, cloneDeep, forEach, keys } from 'lodash';\n\nimport WmFormFieldProps from './form-field.props';\nimport { DEFAULT_CLASS, WmFormFieldStyles } from './form-field.styles';\nimport {PERFORMANCE_LOGGER} from \"@wavemaker/app-rn-runtime/core/logger\";\n\nexport class WmFormFieldState extends BaseComponentState<WmFormFieldProps> {\n isValid = true;\n}\n\nexport default class WmFormField extends BaseComponent<WmFormFieldProps, WmFormFieldState, WmFormFieldStyles> {\n public form: any;\n public formwidget: any;\n public _syncValidators: any;\n public defaultValidatorMessages: any = [];\n private notifyForFields: any = [];\n private _asyncValidatorFn: any;\n constructor(props: WmFormFieldProps) {\n super(props, DEFAULT_CLASS, new WmFormFieldProps(), new WmFormFieldState());\n }\n\n onFieldChangeEvt(name: string, $new: any, $old: any, isDefault: boolean) {\n this.notifyChanges();\n this.validateFormField();\n if (!isEqual($old, $new)) {\n this.updateState({ props: { datavalue: $new }} as WmFormFieldState, () => {\n !isDefault && this.invokeEventCallback('onChange', [undefined, this, $new, $old]);\n });\n if (this.form) {\n this.form.updateDataOutput.call(this.form, get(this.props, 'formKey', this.props.name), $new);\n }\n }\n }\n\n // Registers observer of validation fields\n observeOn(fields: any) {\n forEach(fields, (field) => {\n const formfield = find(this.form.formFields, (f) => f.proxy.name === field);\n if (formfield) {\n formfield.notifyForFields.push(this);\n }\n });\n }\n\n // Notifies changes to observing validation fields\n notifyChanges() {\n forEach(this.notifyForFields, (field) => {\n field.formwidget.validate(field.formwidget.datavalue);\n setTimeout(() => field.validateFormField());\n });\n }\n\n getPromiseList(validators: any) {\n const arr: any = [];\n forEach(validators, (fn) => {\n let promise = fn;\n if (fn instanceof Function && fn.bind) {\n promise = fn(this.formwidget.proxy, this.form);\n }\n if (promise instanceof Promise) {\n arr.push(promise);\n }\n });\n return arr;\n }\n\n // this method sets the asyncValidation on the form field. Assigns validationmessages from the returned response\n setAsyncValidators(validators: any) {\n this._asyncValidatorFn = () => {\n return Promise.all(this.getPromiseList(validators)).then(() => {\n return null;\n }, err => {\n let validationMsg: string;\n // if err obj has validationMessage key, then set validationMessage using this value\n // else return the value of the first key in the err object as validation message.\n if (err.hasOwnProperty('errorMessage')) {\n validationMsg = get(err, 'errorMessage');\n } else {\n const messageKeys = keys(err);\n validationMsg = (err[messageKeys[0]]).toString();\n }\n this.setInvalidState(validationMsg);\n return err;\n })\n };\n }\n\n // sets the default validation on the form field\n setValidators(validators: any) {\n let _cloneValidators = cloneDeep(validators);\n this._syncValidators = [];\n forEach(_cloneValidators, (obj, index) => {\n // custom validation is bound to function.\n if (obj && obj instanceof Function) {\n // passing formwidget and form as arguments to the obj (i.e. validator function)\n _cloneValidators[index] = obj.bind(undefined, this.formwidget.proxy, this.form);\n this._syncValidators.push(_cloneValidators[index]);\n } else {\n // checks for default validator like required, maxchars etc.\n const key = get(obj, 'type');\n this.defaultValidatorMessages[key] = get(obj, 'errorMessage');\n const value = get(obj, 'validator');\n let propsObj: any = {\n props: {}\n };\n propsObj.props[key] = value;\n key === 'required' && this.updateState(propsObj as WmFormFieldState);\n this.formwidget.updateState(propsObj as WmFormFieldState);\n }\n });\n }\n\n updateFormWidgetDataset(res: any, displayField: string) {\n this.formwidget.updateState({\n props: {\n dataset: res.data,\n datafield: 'All Fields',\n displayfield: this.formwidget.state.props.displayfield || displayField,\n }\n } as WmFormFieldState);\n }\n\n setInvalidState(msg: string) {\n this.updateState({\n isValid: false,\n props: {\n validationmessage: msg\n }\n } as WmFormFieldState)\n this.formwidget.updateState({\n isValid: false,\n props: {\n validationmessage: msg\n }\n } as WmFormFieldState);\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch (name) {\n case 'datavalue':\n if (!isEqual($old, $new)) {\n PERFORMANCE_LOGGER.debug(`form field ${this.props.name} changed from ${$old} to ${$new}`);\n }\n break;\n case 'defaultvalue':\n if (!isEqual($old, $new)) {\n get(this, 'form') && this.form.applyDefaultValue(this);\n }\n break;\n case 'primary-key':\n if ($new) {\n this.form.setPrimaryKey(this.props.name);\n }\n break;\n }\n }\n\n setReadOnlyState(updateMode: any) {\n this.formwidget?.updateState({\n props: {\n readonly: !updateMode,\n }\n } as WmFormFieldState);\n }\n\n validateFormField() {\n if (this.formwidget?.state.isValid === false) {\n const errorType = this.formwidget?.state?.errorType;\n let validationMsg = get(this.defaultValidatorMessages, errorType);\n if (validationMsg) {\n if (validationMsg instanceof Function) {\n // passing formwidget and form as arguments to the errorMessage function.\n validationMsg = validationMsg(this.formwidget.proxy, this.form);\n }\n this.updateState({ props: {\n validationmessage: validationMsg\n }} as WmFormFieldState);\n }\n this.updateState({ isValid: false} as WmFormFieldState);\n } else {\n this.updateState({ isValid: true } as WmFormFieldState);\n }\n\n this._syncValidators?.forEach((fn: any) => {\n const errormsg = fn();\n let validationMsg = errormsg?.errorMessage;\n if (validationMsg) {\n if (validationMsg instanceof Function) {\n // passing formwidget and form as arguments to the errorMessage function.\n validationMsg = validationMsg(this.formwidget.proxy, this.form);\n }\n this.setInvalidState(validationMsg);\n }\n })\n\n this._asyncValidatorFn && this._asyncValidatorFn();\n\n }\n\n renderWidget(props: WmFormFieldProps) {\n var childrenWithProps = React.Children.map(props.renderFormFields(this.proxy).props.children, (child) => {\n return React.cloneElement(child, {\n datavalue: props.datavalue,\n isValid: this.state.isValid,\n invokeEvent: this.invokeEventCallback.bind(this),\n triggerValidation: this.validateFormField.bind(this),\n onFieldChange: this.onFieldChangeEvt.bind(this),\n formRef: props.formRef });\n });\n return (\n <View style={this.styles.root}>{this._background}{childrenWithProps}\n {this.state.isValid === false && <Text {...this.getTestPropsForLabel('error_msg')} style={this.styles.errorMsg}>{props.validationmessage}</Text>}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,IAAI,EAAEC,IAAI,QAAO,cAAc;AACvC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,SAASC,OAAO,EAAEC,GAAG,EAAEC,IAAI,EAAEC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,QAAQ;AAErE,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,SAASC,aAAa,QAA2B,qBAAqB;AACtE,SAAQC,kBAAkB,QAAO,uCAAuC;AAExE,OAAO,MAAMC,gBAAgB,SAASV,kBAAkB,CAAmB;EAAAW,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,kBAC/D,IAAI;EAAA;AAChB;AAEA,eAAe,MAAMC,WAAW,SAASf,aAAa,CAAwD;EAO5GY,WAAWA,CAACI,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,EAAEP,aAAa,EAAE,IAAID,gBAAgB,CAAC,CAAC,EAAE,IAAIG,gBAAgB,CAAC,CAAC,CAAC;IAACG,eAAA;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,mCAJvC,EAAE;IAAAA,eAAA,0BACV,EAAE;IAAAA,eAAA;EAIjC;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= Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
4
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { SectionList, Text, View, FlatList } from 'react-native';
|
|
7
|
-
import { isArray, isEmpty, isNil, round } from 'lodash-es';
|
|
8
|
-
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
9
|
-
import { getGroupedData, isDefined } from "@wavemaker/app-rn-runtime/core/utils";
|
|
10
|
-
import { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
|
11
|
-
import { DefaultKeyExtractor } from '@wavemaker/app-rn-runtime/core/key.extractor';
|
|
12
|
-
import WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';
|
|
13
|
-
import WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';
|
|
14
|
-
import WmListProps from './list.props';
|
|
15
|
-
import { DEFAULT_CLASS } from './list.styles';
|
|
16
|
-
export class WmListState extends BaseComponentState {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments);
|
|
19
|
-
_defineProperty(this, "selectedindex", void 0);
|
|
20
|
-
_defineProperty(this, "groupedData", []);
|
|
21
|
-
_defineProperty(this, "currentPage", 1);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export default class WmList extends BaseComponent {
|
|
25
|
-
constructor(props) {
|
|
26
|
-
super(props, DEFAULT_CLASS, new WmListProps(), new WmListState());
|
|
27
|
-
_defineProperty(this, "itemWidgets", []);
|
|
28
|
-
_defineProperty(this, "selectedItemWidgets", {});
|
|
29
|
-
_defineProperty(this, "keyExtractor", new DefaultKeyExtractor());
|
|
30
|
-
}
|
|
31
|
-
isSelected($item) {
|
|
32
|
-
const selectedItem = this.state.props.selecteditem;
|
|
33
|
-
if (isArray(selectedItem)) {
|
|
34
|
-
return selectedItem.indexOf($item) >= 0;
|
|
35
|
-
}
|
|
36
|
-
return selectedItem === $item;
|
|
37
|
-
}
|
|
38
|
-
onSelect($item, $index) {
|
|
39
|
-
let triggerTapEvent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
40
|
-
const props = this.state.props;
|
|
41
|
-
let selectedItem = null;
|
|
42
|
-
if (props.disableitem !== true && (typeof props.disableitem !== 'function' || !props.disableitem($item, $index))) {
|
|
43
|
-
if (props.multiselect) {
|
|
44
|
-
selectedItem = [...(props.selecteditem || [])];
|
|
45
|
-
const index = selectedItem.indexOf($item);
|
|
46
|
-
if (index < 0) {
|
|
47
|
-
if (!props.selectionlimit || props.selectionlimit < 0 || selectedItem.length < props.selectionlimit) {
|
|
48
|
-
selectedItem.push($item);
|
|
49
|
-
} else {
|
|
50
|
-
this.invokeEventCallback('onSelectionlimitexceed', [null, this]);
|
|
51
|
-
}
|
|
52
|
-
} else {
|
|
53
|
-
selectedItem.splice(index, 1);
|
|
54
|
-
}
|
|
55
|
-
} else {
|
|
56
|
-
if (props.selecteditem === $item) {
|
|
57
|
-
selectedItem = null;
|
|
58
|
-
} else {
|
|
59
|
-
selectedItem = $item;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
this.selectedItemWidgets = this.itemWidgets[$index];
|
|
63
|
-
this.updateState({
|
|
64
|
-
props: {
|
|
65
|
-
selecteditem: selectedItem
|
|
66
|
-
},
|
|
67
|
-
selectedindex: $index
|
|
68
|
-
}, () => {
|
|
69
|
-
this.invokeEventCallback('onSelect', [this.proxy, $item]);
|
|
70
|
-
triggerTapEvent && this.invokeEventCallback('onTap', [null, this.proxy]);
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
selectFirstItem() {
|
|
75
|
-
const props = this.state.props;
|
|
76
|
-
if (this.initialized && props.dataset && props.dataset.length) {
|
|
77
|
-
const index = props.groupby ? '00' : 0;
|
|
78
|
-
this.onSelect(props.dataset[0], index);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
deselectAll() {
|
|
82
|
-
this.updateState({
|
|
83
|
-
props: {
|
|
84
|
-
selecteditem: null
|
|
85
|
-
},
|
|
86
|
-
selectedindex: -1
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
setGroupData(items) {
|
|
90
|
-
const dataItems = items;
|
|
91
|
-
const props = this.state.props;
|
|
92
|
-
if (props.groupby) {
|
|
93
|
-
const groupedData = dataItems && getGroupedData(dataItems, props.groupby, props.match, props.orderby, props.dateformat, this);
|
|
94
|
-
this.updateState({
|
|
95
|
-
groupedData: groupedData
|
|
96
|
-
}, () => {
|
|
97
|
-
var _this$keyExtractor;
|
|
98
|
-
(_this$keyExtractor = this.keyExtractor) === null || _this$keyExtractor === void 0 ? void 0 : _this$keyExtractor.clear();
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
onPropertyChange(name, $new, $old) {
|
|
103
|
-
super.onPropertyChange(name, $new, $old);
|
|
104
|
-
const props = this.state.props;
|
|
105
|
-
switch (name) {
|
|
106
|
-
case 'selectfirstitem':
|
|
107
|
-
if ($new) {
|
|
108
|
-
this.selectFirstItem();
|
|
109
|
-
}
|
|
110
|
-
break;
|
|
111
|
-
case 'dataset':
|
|
112
|
-
if (this.state.props.groupby) {
|
|
113
|
-
this.setGroupData($new);
|
|
114
|
-
} else {
|
|
115
|
-
const data = isArray($new) ? $new : !isEmpty($new) && isDefined($new) ? [$new] : [];
|
|
116
|
-
this.updateState({
|
|
117
|
-
groupedData: data[0] || props.direction === 'horizontal' ? [{
|
|
118
|
-
key: '',
|
|
119
|
-
data: data
|
|
120
|
-
}] : []
|
|
121
|
-
}, () => {
|
|
122
|
-
var _this$keyExtractor2;
|
|
123
|
-
(_this$keyExtractor2 = this.keyExtractor) === null || _this$keyExtractor2 === void 0 ? void 0 : _this$keyExtractor2.clear();
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
this.itemWidgets = [];
|
|
127
|
-
if (props.selectfirstitem) {
|
|
128
|
-
this.selectFirstItem();
|
|
129
|
-
} else {
|
|
130
|
-
this.deselectAll();
|
|
131
|
-
}
|
|
132
|
-
break;
|
|
133
|
-
case 'groupby':
|
|
134
|
-
case 'match':
|
|
135
|
-
this.setGroupData(this.state.props.dataset);
|
|
136
|
-
break;
|
|
137
|
-
case 'multiselect':
|
|
138
|
-
if ($new) {
|
|
139
|
-
if (!isArray(this.state.props.selecteditem)) {
|
|
140
|
-
this.state.props.selecteditem = this.state.props.selecteditem ? [this.state.props.selecteditem] : [];
|
|
141
|
-
}
|
|
142
|
-
} else if (isArray(this.state.props.selecteditem)) {
|
|
143
|
-
this.state.props.selecteditem = this.state.props.selecteditem.pop();
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
componentDidMount() {
|
|
148
|
-
var _props$dataset;
|
|
149
|
-
const props = this.state.props;
|
|
150
|
-
if (this.state.props.selectfirstitem && (_props$dataset = props.dataset) !== null && _props$dataset !== void 0 && _props$dataset.length) {
|
|
151
|
-
setTimeout(() => {
|
|
152
|
-
this.onSelect(props.dataset[0], 0);
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
super.componentDidMount();
|
|
156
|
-
}
|
|
157
|
-
componentDidUpdate(prevProps, prevState, snapshot) {
|
|
158
|
-
super.componentDidUpdate && super.componentDidUpdate(prevProps, prevState, snapshot);
|
|
159
|
-
this.invokeEventCallback('onRender', [this, this.state.props.dataset]);
|
|
160
|
-
}
|
|
161
|
-
getDefaultStyles() {
|
|
162
|
-
const isHorizontal = this.state.props.direction === 'horizontal';
|
|
163
|
-
return this.theme.getStyle(`${this.defaultClass} ${isHorizontal ? 'app-horizontal-list' : 'app-vertical-list'}`);
|
|
164
|
-
}
|
|
165
|
-
getIndex(item) {
|
|
166
|
-
return this.state.props.dataset.indexOf(item);
|
|
167
|
-
}
|
|
168
|
-
generateItemKey(item, index, props) {
|
|
169
|
-
if (props.itemkey && item && !this._showSkeleton) {
|
|
170
|
-
return props.itemkey(item, index);
|
|
171
|
-
}
|
|
172
|
-
return 'list_item_' + this.keyExtractor.getKey(item, true);
|
|
173
|
-
}
|
|
174
|
-
renderItem(item, index, props) {
|
|
175
|
-
const cols = this.getNoOfColumns();
|
|
176
|
-
const isHorizontal = props.direction === 'horizontal';
|
|
177
|
-
return /*#__PURE__*/React.createElement(Tappable, _extends({}, this.getTestPropsForAction(`item${index}`), {
|
|
178
|
-
onTap: () => this.onSelect(item, index, true),
|
|
179
|
-
onLongTap: () => this.invokeEventCallback('onLongtap', [null, this.proxy]),
|
|
180
|
-
onDoubleTap: () => this.invokeEventCallback('onDoubletap', [null, this.proxy]),
|
|
181
|
-
styles: [cols ? {
|
|
182
|
-
width: round(100 / cols, 2) + '%'
|
|
183
|
-
} : null, cols || isHorizontal ? {
|
|
184
|
-
paddingRight: (isNil(this.styles.item.marginRight) ? this.styles.item.margin : this.styles.item.marginRight) || 4
|
|
185
|
-
} : null]
|
|
186
|
-
}), /*#__PURE__*/React.createElement(View, {
|
|
187
|
-
style: [this.styles.item, props.itemclass ? this.theme.getStyle(props.itemclass(item, index)) : null, this.isSelected(item) ? this.styles.selectedItem : {}]
|
|
188
|
-
}, props.renderItem(item, index, this), this.isSelected(item) ? /*#__PURE__*/React.createElement(WmIcon, {
|
|
189
|
-
id: this.getTestId('icon' + index),
|
|
190
|
-
iconclass: "wi wi-check-circle",
|
|
191
|
-
styles: this.styles.selectedIcon
|
|
192
|
-
}) : null));
|
|
193
|
-
}
|
|
194
|
-
renderHeader(props, title) {
|
|
195
|
-
return props.groupby ? /*#__PURE__*/React.createElement(Text, {
|
|
196
|
-
style: this.styles.groupHeading
|
|
197
|
-
}, title) : props.iconclass || props.title || props.subheading ? /*#__PURE__*/React.createElement(View, {
|
|
198
|
-
style: this.styles.heading
|
|
199
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
200
|
-
style: {
|
|
201
|
-
flex: 1,
|
|
202
|
-
flexDirection: 'row'
|
|
203
|
-
}
|
|
204
|
-
}, /*#__PURE__*/React.createElement(WmIcon, {
|
|
205
|
-
id: this.getTestId('icon'),
|
|
206
|
-
styles: this.styles.listIcon,
|
|
207
|
-
iconclass: props.iconclass
|
|
208
|
-
}), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(WmLabel, {
|
|
209
|
-
id: this.getTestId('title'),
|
|
210
|
-
styles: this.styles.title,
|
|
211
|
-
caption: props.title
|
|
212
|
-
}), /*#__PURE__*/React.createElement(WmLabel, {
|
|
213
|
-
id: this.getTestId('subheading'),
|
|
214
|
-
styles: this.styles.subheading,
|
|
215
|
-
caption: props.subheading
|
|
216
|
-
})))) : null;
|
|
217
|
-
}
|
|
218
|
-
renderEmptyMessage(isHorizontal, item, index, props) {
|
|
219
|
-
return /*#__PURE__*/React.createElement(WmLabel, {
|
|
220
|
-
id: this.getTestId('emptymsg'),
|
|
221
|
-
styles: this.styles.emptyMessage,
|
|
222
|
-
caption: props.nodatamessage
|
|
223
|
-
});
|
|
224
|
-
}
|
|
225
|
-
renderLoadingIcon(props) {
|
|
226
|
-
return /*#__PURE__*/React.createElement(WmIcon, {
|
|
227
|
-
id: this.getTestId('loadingicon'),
|
|
228
|
-
styles: this.styles.loadingIcon,
|
|
229
|
-
iconclass: props.loadingicon,
|
|
230
|
-
caption: props.loadingdatamsg
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
getNoOfColumns() {
|
|
234
|
-
const props = this.state.props;
|
|
235
|
-
if (props.direction === 'vertical') {
|
|
236
|
-
return props.itemsperrow.xs;
|
|
237
|
-
}
|
|
238
|
-
return 0;
|
|
239
|
-
}
|
|
240
|
-
renderWithFlatList(props) {
|
|
241
|
-
let isHorizontal = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
242
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
243
|
-
style: this.styles.root
|
|
244
|
-
}, !isEmpty(this.state.groupedData) ? this.state.groupedData.map((v, i) => /*#__PURE__*/React.createElement(View, {
|
|
245
|
-
style: {
|
|
246
|
-
marginBottom: 16
|
|
247
|
-
},
|
|
248
|
-
key: v.key || this.keyExtractor.getKey(v, true)
|
|
249
|
-
}, this.renderHeader(props, v.key), /*#__PURE__*/React.createElement(FlatList, _extends({
|
|
250
|
-
key: props.name + '_' + (isHorizontal ? 'H' : 'V') + props.itemsperrow.xs,
|
|
251
|
-
keyExtractor: (item, i) => this.generateItemKey(item, i, props),
|
|
252
|
-
horizontal: isHorizontal,
|
|
253
|
-
data: v.data || [],
|
|
254
|
-
ListEmptyComponent: itemInfo => this.renderEmptyMessage(isHorizontal, itemInfo.item, itemInfo.index, props),
|
|
255
|
-
renderItem: itemInfo => this.renderItem(itemInfo.item, itemInfo.index, props)
|
|
256
|
-
}, isHorizontal ? {} : {
|
|
257
|
-
numColumns: this.getNoOfColumns()
|
|
258
|
-
})))) : this.renderEmptyMessage(isHorizontal, null, null, props));
|
|
259
|
-
}
|
|
260
|
-
getSectionListData() {
|
|
261
|
-
if (this._showSkeleton) {
|
|
262
|
-
return [{
|
|
263
|
-
key: '',
|
|
264
|
-
data: [{}, {}, {}]
|
|
265
|
-
}];
|
|
266
|
-
} else if (this.state.groupedData && this.state.groupedData[0] && this.state.groupedData[0]['data'].length) {
|
|
267
|
-
return this.state.groupedData;
|
|
268
|
-
}
|
|
269
|
-
return [];
|
|
270
|
-
}
|
|
271
|
-
renderWithSectionList(props) {
|
|
272
|
-
let isHorizontal = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
273
|
-
return /*#__PURE__*/React.createElement(SectionList, {
|
|
274
|
-
keyExtractor: (item, i) => this.generateItemKey(item, i, props),
|
|
275
|
-
horizontal: isHorizontal,
|
|
276
|
-
onEndReached: _ref => {
|
|
277
|
-
let {
|
|
278
|
-
distanceFromEnd
|
|
279
|
-
} = _ref;
|
|
280
|
-
this.setState({
|
|
281
|
-
currentPage: this.state.currentPage + 1
|
|
282
|
-
});
|
|
283
|
-
this.invokeEventCallback('onEndReached', [null, this]);
|
|
284
|
-
},
|
|
285
|
-
contentContainerStyle: this.styles.root,
|
|
286
|
-
onEndReachedThreshold: 0.3,
|
|
287
|
-
sections: this.getSectionListData(),
|
|
288
|
-
renderSectionHeader: _ref2 => {
|
|
289
|
-
let {
|
|
290
|
-
section: {
|
|
291
|
-
key,
|
|
292
|
-
data
|
|
293
|
-
}
|
|
294
|
-
} = _ref2;
|
|
295
|
-
return this.renderHeader(props, key);
|
|
296
|
-
},
|
|
297
|
-
renderSectionFooter: () => props.loadingdata ? this.renderLoadingIcon(props) : null,
|
|
298
|
-
ListEmptyComponent: itemInfo => this.renderEmptyMessage(isHorizontal, itemInfo.item, itemInfo.index, props),
|
|
299
|
-
renderItem: itemInfo => this.renderItem(itemInfo.item, itemInfo.index, props)
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
renderWidget(props) {
|
|
303
|
-
this.invokeEventCallback('onBeforedatarender', [this, this.state.props.dataset]);
|
|
304
|
-
const isHorizontal = props.direction === 'horizontal';
|
|
305
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
306
|
-
style: isHorizontal ? null : {
|
|
307
|
-
width: '100%'
|
|
308
|
-
}
|
|
309
|
-
}, this._background, isHorizontal || !props.groupby ? this.renderWithFlatList(props, isHorizontal) : this.renderWithSectionList(props, isHorizontal));
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
//# sourceMappingURL=list.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","SectionList","Text","View","FlatList","isArray","isEmpty","isNil","round","BaseComponent","BaseComponentState","getGroupedData","isDefined","Tappable","DefaultKeyExtractor","WmLabel","WmIcon","WmListProps","DEFAULT_CLASS","WmListState","constructor","arguments","_defineProperty","WmList","props","isSelected","$item","selectedItem","state","selecteditem","indexOf","onSelect","$index","triggerTapEvent","length","undefined","disableitem","multiselect","index","selectionlimit","push","invokeEventCallback","splice","selectedItemWidgets","itemWidgets","updateState","selectedindex","proxy","selectFirstItem","initialized","dataset","groupby","deselectAll","setGroupData","items","dataItems","groupedData","match","orderby","dateformat","_this$keyExtractor","keyExtractor","clear","onPropertyChange","name","$new","$old","data","direction","key","_this$keyExtractor2","selectfirstitem","pop","componentDidMount","_props$dataset","setTimeout","componentDidUpdate","prevProps","prevState","snapshot","getDefaultStyles","isHorizontal","theme","getStyle","defaultClass","getIndex","item","generateItemKey","itemkey","_showSkeleton","getKey","renderItem","cols","getNoOfColumns","createElement","_extends","getTestPropsForAction","onTap","onLongTap","onDoubleTap","styles","width","paddingRight","marginRight","margin","style","itemclass","id","getTestId","iconclass","selectedIcon","renderHeader","title","groupHeading","subheading","heading","flex","flexDirection","listIcon","caption","renderEmptyMessage","emptyMessage","nodatamessage","renderLoadingIcon","loadingIcon","loadingicon","loadingdatamsg","itemsperrow","xs","renderWithFlatList","root","map","v","i","marginBottom","horizontal","ListEmptyComponent","itemInfo","numColumns","getSectionListData","renderWithSectionList","onEndReached","_ref","distanceFromEnd","setState","currentPage","contentContainerStyle","onEndReachedThreshold","sections","renderSectionHeader","_ref2","section","renderSectionFooter","loadingdata","renderWidget","_background"],"sources":["list.component.tsx"],"sourcesContent":["import React from 'react';\nimport { SectionList, Text, View, TouchableWithoutFeedback, FlatList } from 'react-native';\nimport { isArray, isEmpty, isNil, round } from 'lodash-es';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport {getGroupedData, isDefined} from \"@wavemaker/app-rn-runtime/core/utils\";\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { DefaultKeyExtractor } from '@wavemaker/app-rn-runtime/core/key.extractor';\nimport WmLabel from '@wavemaker/app-rn-runtime/components/basic/label/label.component';\nimport WmIcon from '@wavemaker/app-rn-runtime/components/basic/icon/icon.component';\n\nimport WmListProps from './list.props';\nimport { DEFAULT_CLASS, WmListStyles } from './list.styles';\n\n\nexport class WmListState extends BaseComponentState<WmListProps> {\n public selectedindex: any;\n groupedData: Array<any> = [];\n currentPage: number = 1;\n}\n\nexport default class WmList extends BaseComponent<WmListProps, WmListState, WmListStyles> {\n\n private itemWidgets = [] as any[];\n private selectedItemWidgets = {} as any;\n private keyExtractor = new DefaultKeyExtractor();\n \n constructor(props: WmListProps) {\n super(props, DEFAULT_CLASS, new WmListProps(), new WmListState());\n }\n\n private isSelected($item: any) {\n const selectedItem = this.state.props.selecteditem;\n if (isArray(selectedItem)) {\n return selectedItem.indexOf($item) >= 0;\n }\n return selectedItem === $item;\n }\n\n private onSelect($item: any, $index: number | string, triggerTapEvent = false) {\n const props = this.state.props;\n let selectedItem = null as any;\n if (props.disableitem !== true \n && (typeof props.disableitem !== 'function' || !props.disableitem($item, $index))) {\n if (props.multiselect) {\n selectedItem = [...(props.selecteditem || [])];\n const index = selectedItem.indexOf($item);\n if (index < 0) {\n if ((!props.selectionlimit)\n || props.selectionlimit < 0\n || selectedItem.length < props.selectionlimit) {\n selectedItem.push($item);\n } else {\n this.invokeEventCallback('onSelectionlimitexceed', [null, this]);\n }\n } else {\n selectedItem.splice(index, 1);\n }\n } else {\n if (props.selecteditem === $item) {\n selectedItem = null;\n } else {\n selectedItem = $item;\n }\n }\n this.selectedItemWidgets = this.itemWidgets[$index as number];\n this.updateState({\n props: { selecteditem: selectedItem },\n selectedindex: $index\n } as WmListState, () => {\n this.invokeEventCallback('onSelect', [this.proxy, $item]);\n triggerTapEvent && this.invokeEventCallback('onTap', [null, this.proxy]);\n });\n }\n }\n\n private selectFirstItem() {\n const props = this.state.props;\n if (this.initialized\n && props.dataset\n && props.dataset.length) {\n const index = props.groupby ? '00': 0;\n this.onSelect(props.dataset[0], index);\n }\n }\n\n private deselectAll() {\n this.updateState({\n props: { selecteditem: null },\n selectedindex: -1\n } as WmListState);\n }\n\n setGroupData(items: any) {\n const dataItems = items;\n const props = this.state.props;\n if (props.groupby) {\n const groupedData = dataItems && getGroupedData(dataItems, props.groupby, props.match, props.orderby, props.dateformat, this);\n this.updateState({\n groupedData: groupedData\n } as WmListState, () => {\n this.keyExtractor?.clear();\n });\n }\n }\n\n public onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n const props = this.state.props;\n switch(name) {\n case 'selectfirstitem':\n if ($new) {\n this.selectFirstItem();\n }\n break;\n case 'dataset':\n if (this.state.props.groupby) {\n this.setGroupData($new);\n } else {\n const data = isArray($new) ? $new : (!isEmpty($new) && isDefined($new) ? [$new] : []);\n this.updateState({\n groupedData: (data[0] || props.direction === 'horizontal' ? [{\n key: '',\n data: data\n }] : [])\n } as WmListState, () => {\n this.keyExtractor?.clear();\n });\n }\n this.itemWidgets = [];\n if (props.selectfirstitem) {\n this.selectFirstItem();\n } else {\n this.deselectAll();\n }\n break;\n case 'groupby':\n case 'match':\n this.setGroupData(this.state.props.dataset);\n break;\n case 'multiselect':\n if ($new) {\n if (!isArray(this.state.props.selecteditem)) {\n this.state.props.selecteditem = this.state.props.selecteditem ? \n [this.state.props.selecteditem] : [];\n }\n } else if (isArray(this.state.props.selecteditem)) {\n this.state.props.selecteditem = this.state.props.selecteditem.pop();\n }\n }\n }\n\n componentDidMount() {\n const props = this.state.props;\n if (this.state.props.selectfirstitem && props.dataset?.length) {\n setTimeout(() => {\n this.onSelect(props.dataset[0], 0);\n });\n }\n super.componentDidMount();\n }\n\n componentDidUpdate(prevProps: WmListProps, prevState: WmListState, snapshot?: any) {\n super.componentDidUpdate && super.componentDidUpdate(prevProps, prevState, snapshot);\n this.invokeEventCallback('onRender', [this, this.state.props.dataset]);\n }\n\n getDefaultStyles() {\n const isHorizontal = this.state.props.direction === 'horizontal';\n return this.theme.getStyle(`${this.defaultClass} ${isHorizontal ? 'app-horizontal-list' : 'app-vertical-list'}`);\n }\n\n getIndex(item: any) {\n return this.state.props.dataset.indexOf(item);\n }\n\n private generateItemKey(item: any, index: number, props: WmListProps) {\n if (props.itemkey && item && !this._showSkeleton) {\n return props.itemkey(item, index);\n }\n return 'list_item_' + this.keyExtractor.getKey(item, true);\n }\n\n private renderItem(item: any, index: number, props: WmListProps) {\n const cols = this. getNoOfColumns();\n const isHorizontal = (props.direction === 'horizontal');\n return ( \n <Tappable\n {...this.getTestPropsForAction(`item${index}`)}\n onTap={() => this.onSelect(item, index, true)}\n onLongTap={() => this.invokeEventCallback('onLongtap', [null, this.proxy])}\n onDoubleTap={() => this.invokeEventCallback('onDoubletap', [null, this.proxy])}\n styles={\n [\n cols ? {\n width: round(100/cols, 2) + '%'\n } : null,\n cols || isHorizontal? {\n paddingRight: (isNil(this.styles.item.marginRight) \n ? this.styles.item.margin : this.styles.item.marginRight) || 4\n }: null\n ]\n }>\n <View style={[\n this.styles.item,\n props.itemclass ? this.theme.getStyle(props.itemclass(item, index)) : null,\n this.isSelected(item) ? this.styles.selectedItem : {}]}>\n { props.renderItem(item, index, this)}\n { this.isSelected(item) ? (\n <WmIcon id={this.getTestId('icon' + index)}iconclass='wi wi-check-circle' styles={this.styles.selectedIcon} />\n ) : null}\n </View>\n </Tappable>\n );\n }\n\n private renderHeader(props: WmListProps, title: string) {\n return props.groupby ? (\n <Text style={this.styles.groupHeading}>{title}</Text>\n ) : (props.iconclass || props.title || props.subheading) ? (\n <View style={this.styles.heading}>\n <View style={{flex: 1, flexDirection: 'row'}}>\n <WmIcon id={this.getTestId('icon')} styles={this.styles.listIcon} iconclass={props.iconclass}></WmIcon>\n <View>\n <WmLabel id={this.getTestId('title')} styles={this.styles.title} caption={props.title}></WmLabel>\n <WmLabel id={this.getTestId('subheading')} styles={this.styles.subheading} caption={props.subheading}></WmLabel>\n </View>\n </View>\n </View>) : null;\n }\n\n private renderEmptyMessage(isHorizontal: boolean, item: any, index: any, props: WmListProps) {\n return (<WmLabel id={this.getTestId('emptymsg')} styles={this.styles.emptyMessage} caption={props.nodatamessage}></WmLabel>);\n }\n\n private renderLoadingIcon(props: WmListProps) {\n return (<WmIcon\n id={this.getTestId('loadingicon')}\n styles={this.styles.loadingIcon}\n iconclass={props.loadingicon}\n caption={props.loadingdatamsg}></WmIcon>)\n }\n\n public getNoOfColumns() {\n const props = this.state.props;\n if(props.direction === 'vertical') {\n return props.itemsperrow.xs;\n }\n return 0;\n }\n\n private renderWithFlatList(props: WmListProps, isHorizontal = false) {\n return (\n <View style={this.styles.root}>\n {!isEmpty(this.state.groupedData) ? this.state.groupedData.map((v: any, i) => ((\n <View style={{marginBottom: 16}} key={v.key || this.keyExtractor.getKey(v, true)}>\n {this.renderHeader(props, v.key)}\n <FlatList\n key={props.name + '_' + (isHorizontal ? 'H' : 'V') + props.itemsperrow.xs}\n keyExtractor={(item, i) => this.generateItemKey(item, i, props)}\n horizontal = {isHorizontal}\n data={v.data || []}\n ListEmptyComponent = {(itemInfo) => this.renderEmptyMessage(isHorizontal, itemInfo.item, itemInfo.index, props)}\n renderItem={(itemInfo) => this.renderItem(itemInfo.item, itemInfo.index, props)} \n {...(isHorizontal ? {} : {numColumns : this.getNoOfColumns()})}> \n </FlatList>\n </View>\n ))) : this.renderEmptyMessage(isHorizontal, null, null,props)\n }\n </View>);\n }\n\n private getSectionListData() {\n if (this._showSkeleton) {\n return [{\n key: '',\n data: [{}, {}, {}]\n }];\n } else if (this.state.groupedData \n && this.state.groupedData[0] \n && this.state.groupedData[0]['data'].length) {\n return this.state.groupedData;\n }\n return [];\n }\n\n private renderWithSectionList(props: WmListProps, isHorizontal = false) { \n return (\n <SectionList\n keyExtractor={(item, i) => this.generateItemKey(item, i, props)}\n horizontal = {isHorizontal}\n onEndReached={({distanceFromEnd}) => {\n this.setState({ currentPage: this.state.currentPage + 1 } as WmListState);\n this.invokeEventCallback('onEndReached', [null, this]);\n }}\n contentContainerStyle={this.styles.root}\n onEndReachedThreshold={0.3}\n sections={this.getSectionListData()}\n renderSectionHeader={({ section: {key, data}}) => {\n return this.renderHeader(props, key);\n }}\n renderSectionFooter={() => props.loadingdata ? this.renderLoadingIcon(props) : null}\n ListEmptyComponent = {(itemInfo) => this.renderEmptyMessage(isHorizontal, itemInfo.item, itemInfo.index, props)}\n renderItem={(itemInfo) => this.renderItem(itemInfo.item, itemInfo.index, props)}>\n </SectionList>\n );\n }\n\n renderWidget(props: WmListProps) {\n this.invokeEventCallback('onBeforedatarender', [this, this.state.props.dataset]);\n const isHorizontal = (props.direction === 'horizontal');\n return (\n <View style={isHorizontal ? null : { width: '100%' }}>\n {this._background}\n {(isHorizontal || !props.groupby) ?\n this.renderWithFlatList(props, isHorizontal)\n : this.renderWithSectionList(props, isHorizontal)}\n </View>);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,WAAW,EAAEC,IAAI,EAAEC,IAAI,EAA4BC,QAAQ,QAAQ,cAAc;AAC1F,SAASC,OAAO,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAQ,WAAW;AAC1D,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAAQC,cAAc,EAAEC,SAAS,QAAO,sCAAsC;AAC9E,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,mBAAmB,QAAQ,8CAA8C;AAClF,OAAOC,OAAO,MAAM,kEAAkE;AACtF,OAAOC,MAAM,MAAM,gEAAgE;AAEnF,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAG3D,OAAO,MAAMC,WAAW,SAAST,kBAAkB,CAAc;EAAAU,YAAA;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