@wavemaker/app-rn-runtime 11.6.1-rc.5499 → 11.7.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/advanced/carousel/carousel.component.js +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 +87 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/anchor/anchor.props.js +31 -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 +38 -0
- package/components/container/container.component.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 +68 -0
- package/components/container/tabs/tabpane/tabpane.component.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 +240 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form-field/form-field.props.js +31 -0
- package/components/data/form/form-field/form-field.props.js.map +1 -0
- package/components/data/form/form.component.js +424 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/form/form.props.js +29 -0
- package/components/data/form/form.props.js.map +1 -0
- package/components/data/list/list.component.js +427 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +46 -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 +114 -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.component.js +154 -0
- package/components/input/slider/slider.component.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 +139 -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 +452 -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 +60 -0
- package/core/event-notifier.js.map +1 -0
- package/core/formatters.js +74 -0
- package/core/formatters.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 +502 -0
- package/runtime/App.js.map +1 -0
- package/runtime/base-fragment.component.js +355 -0
- package/runtime/base-fragment.component.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 +309 -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/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/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/form/form-field/form-field.props.js +0 -30
- app-rn-runtime/components/data/form/form-field/form-field.props.js.map +0 -1
- app-rn-runtime/components/data/form/form.component.js +0 -402
- app-rn-runtime/components/data/form/form.component.js.map +0 -1
- app-rn-runtime/components/data/form/form.props.js +0 -26
- app-rn-runtime/components/data/form/form.props.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.component.js +0 -153
- app-rn-runtime/components/input/slider/slider.component.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/formatters.js +0 -61
- app-rn-runtime/core/formatters.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-fragment.component.js +0 -351
- app-rn-runtime/runtime/base-fragment.component.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.props.js +0 -0
- {app-rn-runtime → package}/components/container/container.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js +0 -0
- {app-rn-runtime → package}/components/container/container.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/gridrow/gridrow.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js +0 -0
- {app-rn-runtime → package}/components/container/layoutgrid/layoutgrid.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayout.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +0 -0
- {app-rn-runtime → package}/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/panel/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.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabpane/tabpane.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.props.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.props.js.map +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.styles.js +0 -0
- {app-rn-runtime → package}/components/container/tabs/tabs.styles.js.map +0 -0
- {app-rn-runtime → package}/components/container/tile/tile.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.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.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.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/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-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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Animated","Easing","Text","Image","View","FontAwesome","BaseComponent","BaseComponentState","isFullPathUrl","AccessibilityWidgetType","getAccessibilityProps","WmIconProps","DEFAULT_CLASS","WavIcon","StreamlineLightIcon","StreamlineRegularIcon","Tappable","Animatedview","createSkeleton","ICON_SIZES","Map","ICON_ROTATTION","WmIconState","constructor","arguments","_defineProperty","WmIcon","props","Value","getIconDef","iconClass","iconDef","rotate","splits","split","isFontAwesome","find","v","isStreamlineLightIcon","isStreamlineRegularIcon","_splits$find","type","startsWith","substring","_splits$find2","_splits$find3","_splits$find4","isWavIcon","indexOf","animation","size","map","get","spin","stopAnimation","spinValue","setValue","timing","toValue","duration","easing","linear","useNativeDriver","start","componentDidMount","componentWillUnmount","onPropertyChange","name","$new","$old","updateState","getCustomIcon","style","_this$theme$getStyle","customIcon","theme","mergeStyle","getStyle","iconclass","icon","styles","customIconContent","content","createElement","fontFamily","decodeURIComponent","renderSkeleton","skeleton","root","width","skeletonwidth","iconsize","height","skeletonheight","getElementToShow","iconSrc","iconmargin","iconheight","iconwidth","elementToshow","source","uri","testID","getTestId","margin","loadIcon","iconImage","loadAsset","iconImageSrc","renderIcon","iconJsx","_iconSource","iconurl","state","text","color","transform","iconSize","fontSize","show","_this$styles$icon","WMCustomIcon","interpolate","inputRange","outputRange","opacity","ICON","renderWidget","iterationCount","iterationcount","parseInt","undefined","_extends","target","rippleColor","getTestPropsForAction","entryanimation","_background","iconposition","caption","getTestPropsForLabel"],"sources":["icon.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Animated, DimensionValue, Easing, Text, Image, View } from 'react-native';\nimport { FontAwesome } from '@expo/vector-icons';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils'; \nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmIconProps from './icon.props';\nimport { DEFAULT_CLASS, WmIconStyles } from './icon.styles';\nimport WavIcon from './wavicon/wavicon.component';\nimport StreamlineLightIcon from './streamline-light-icon/streamline-light-icon.component';\nimport StreamlineRegularIcon from './streamline-regular-icon/streamline-regular-icon.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\ninterface IconDef {\n isFontAwesome: boolean;\n isWavIcon: boolean;\n isStreamlineLightIcon: boolean;\n isStreamlineRegularIcon: boolean;\n type: string;\n rotate: string;\n size: number;\n animation: string;\n}\n\nconst ICON_SIZES = new Map([\n ['fa-lg', 24],\n ['fa-2x', 36],\n ['fa-3x', 48],\n ['fa-4x', 60],\n ['fa-5x', 72]\n]);\n\nconst ICON_ROTATTION = new Map([\n ['fa-rotate-90', '90deg'],\n ['fa-rotate-180', '180deg'],\n ['fa-rotate-270', '270deg']\n]);\n\nexport class WmIconState extends BaseComponentState<WmIconProps> {\n public iconDef = {} as IconDef;\n}\n\nexport default class WmIcon extends BaseComponent<WmIconProps, WmIconState, WmIconStyles> {\n spinValue = new Animated.Value(0);\n pulseValue = new Animated.Value(0);\n public stopAnimation = true; \n private _iconSource = null as any;\n\n constructor(props: WmIconProps) {\n super(props, DEFAULT_CLASS, new WmIconProps());\n }\n\n getIconDef(iconClass: string): IconDef {\n const iconDef = {\n rotate: '0'\n } as IconDef;\n const splits = iconClass.split(' ');\n iconDef.isFontAwesome = !!splits.find(v => v === 'fa');\n iconDef.isStreamlineLightIcon = !!splits.find(v => v === 'wm-sl-l');\n iconDef.isStreamlineRegularIcon = !!splits.find(v => v === 'wm-sl-r');\n if (iconDef.isFontAwesome) {\n iconDef.type = splits.find(v => v.startsWith('fa-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineLightIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else if (iconDef.isStreamlineRegularIcon) {\n iconDef.type = splits.find(v => v.startsWith('sl-'))?.substring(3) || '';\n } else {\n iconDef.isWavIcon = !iconDef.isFontAwesome && !!splits.find(v => v === 'wi');\n iconDef.type = (iconDef.isWavIcon && splits.find(v => v.startsWith('wi-'))?.substring(3)) || '';\n }\n if (iconClass.indexOf('fa-spin') >= 0) {\n iconDef.animation = 'spin';\n } else if (iconClass.indexOf('fa-pulse') >= 0) {\n iconDef.animation = 'pulse';\n }\n iconDef.size = splits.map(v => ICON_SIZES.get(v)).find(v => !!v) || 12;\n iconDef.rotate = splits.map(v => ICON_ROTATTION.get(v)).find(v => !!v) || '0deg';\n return iconDef;\n }\n\n private spin () {\n if (this.stopAnimation) {\n return;\n }\n this.spinValue.setValue(0);\n Animated.timing(\n this.spinValue,\n {\n toValue: 1,\n duration: 1000,\n easing: Easing.linear,\n useNativeDriver: true\n }\n ).start(() => this.spin());\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.spin();\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.stopAnimation = true;\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n super.onPropertyChange(name, $new, $old);\n switch(name) {\n case 'iconclass':\n $new && this.updateState({iconDef: this.getIconDef($new)} as WmIconState);\n break;\n }\n }\n\n private getCustomIcon(props: WmIconProps, style: any) {\n const customIcon = this.theme.mergeStyle({}, this.theme.getStyle(props?.iconclass || '')?.icon || this.styles.icon);\n const customIconContent = customIcon?.content;\n if (customIconContent) {\n delete customIcon.content;\n return (<Text\n style={[style, customIcon.fontFamily ? {fontFamily: customIcon.fontFamily}: null]}>\n {decodeURIComponent(customIconContent)}\n </Text>);\n }\n return null;\n }\n\n public renderSkeleton(props: WmIconProps) {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: (this.props.skeletonwidth || this.props.iconsize || this.styles.root.width) as DimensionValue,\n height: (this.props.skeletonheight || this.props.iconsize || this.styles.root.height) as DimensionValue\n });\n }\n\n getElementToShow(props: WmIconProps, iconSrc: any) {\n\n const { iconmargin, iconheight, iconwidth } = props;\n let width, height;\n let elementToshow, source;\n\n if (iconwidth) width = iconwidth;\n else if (iconheight) width = iconheight;\n else width = 12;\n if (iconheight) height = iconheight;\n else if (iconwidth) height = iconwidth;\n else height = 12;\n\n if (isFullPathUrl(iconSrc)) {\n source = {\n uri: iconSrc\n };\n } else {\n source = iconSrc;\n }\n elementToshow = <Image testID={this.getTestId('icon')}\n style={{\n margin: iconmargin ?? 0,\n height: height,\n width: width\n }}\n source={source}/>;\n return elementToshow;\n }\n\n loadIcon(iconImage: string | undefined) {\n if (!iconImage || !this.loadAsset) {\n return null;\n }\n const iconImageSrc = this.loadAsset(iconImage);\n if (iconImageSrc && typeof iconImageSrc !== 'function') {\n return iconImageSrc;\n }\n return null;\n }\n\n renderIcon(props: WmIconProps) {\n let iconJsx = null;\n this._iconSource = this._iconSource || this.loadIcon(props.iconurl);\n const iconSrc: any = this._iconSource \n if (iconSrc) {\n return this.getElementToShow(props, iconSrc);\n }\n const iconDef = this.state.iconDef;\n if (!iconDef) {\n return null;\n }\n const { root, text, icon } = this.styles;\n const style = [{ color: root.color || text.color },\n icon,\n { transform: [{ rotate: iconDef.rotate }] }];\n\n const customIcon = this.getCustomIcon(props, style);\n const iconSize = props.iconsize || this.styles.root.fontSize || this.styles.text.fontSize || iconDef.size;\n if (props.show && iconDef && iconDef.isFontAwesome) {\n //@ts-ignore type information is not matching\n iconJsx = (<FontAwesome name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}>\n {customIcon}\n </FontAwesome>);\n } else if (props.show && iconDef) {\n let WMCustomIcon = WavIcon as unknown;\n if (iconDef.isStreamlineLightIcon) {\n WMCustomIcon = StreamlineLightIcon;\n } else if (iconDef.isStreamlineRegularIcon) {\n WMCustomIcon = StreamlineRegularIcon;\n } else if (!iconDef.isWavIcon && !customIcon && !this.styles.icon?.fontFamily) {\n return null;\n }\n //@ts-ignore type information is not matching\n iconJsx = WMCustomIcon ? (<WMCustomIcon name={customIcon ? '' : iconDef.type}\n style={style}\n size={iconSize}>\n {customIcon}\n </WMCustomIcon>) : null;\n }\n if (iconJsx && iconDef.animation === 'spin') {\n const rotate = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: ['0deg', '360deg']});\n const animation = { transform: [{ rotate }] };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{iconJsx}</Animated.View>);\n } else if (iconJsx && iconDef.animation === 'pulse') {\n const opacity = this.spinValue.interpolate({ inputRange: [0, 1], outputRange: [0, 1]});\n const animation = { opacity: opacity };\n this.stopAnimation = false;\n return (<Animated.View style={animation}>{iconJsx}</Animated.View>);\n } else {\n this.stopAnimation = true;\n }\n return (\n <View\n {...getAccessibilityProps(AccessibilityWidgetType.ICON, this.props)}\n >\n {iconJsx}\n </View>\n );\n }\n\n renderWidget(props: WmIconProps) {\n let icon = this.renderIcon(props);\n let iterationCount: any = props.iterationcount ? (props.iterationcount != 'infinite' ? parseInt(props.iterationcount): 'infinite') : undefined;\n return (\n <Tappable target={this} rippleColor = {this.styles.root.rippleColor} {...this.getTestPropsForAction()}> \n <Animatedview entryanimation={props.animation} style={this.styles.root} iterationCount={iterationCount}>\n {this._background}\n {(props.iconposition === 'left' && icon) || null}\n {(props.caption && (<Text {...this.getTestPropsForLabel('caption')}style={this.styles.text}>{props.caption}</Text>)) || null}\n {(props.iconposition === 'right' && icon) || null}\n </Animatedview>\n </Tappable>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAkBC,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAEC,IAAI,QAAQ,cAAc;AAClF,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AACjG,SAASC,aAAa,QAAQ,sCAAsC;AACpE,SAASC,uBAAuB,EAAEC,qBAAqB,QAAQ,8CAA8C;AAE7G,OAAOC,WAAW,MAAM,cAAc;AACtC,SAASC,aAAa,QAAsB,eAAe;AAC3D,OAAOC,OAAO,MAAM,6BAA6B;AACjD,OAAOC,mBAAmB,MAAM,yDAAyD;AACzF,OAAOC,qBAAqB,MAAM,6DAA6D;AAC/F,SAASC,QAAQ,QAAQ,mDAAmD;AAC5E,SAASC,YAAY,QAAQ,mEAAmE;AAChG,SAAqBC,cAAc,QAAQ,gCAAgC;AAa3E,MAAMC,UAAU,GAAG,IAAIC,GAAG,CAAC,CACzB,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,EACb,CAAC,OAAO,EAAE,EAAE,CAAC,CACd,CAAC;AAEF,MAAMC,cAAc,GAAG,IAAID,GAAG,CAAC,CAC7B,CAAC,cAAc,EAAE,OAAO,CAAC,EACzB,CAAC,eAAe,EAAE,QAAQ,CAAC,EAC3B,CAAC,eAAe,EAAE,QAAQ,CAAC,CAC5B,CAAC;AAEF,OAAO,MAAME,WAAW,SAASf,kBAAkB,CAAc;EAAAgB,YAA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D,IAAI,IAAK,IAAI,EAC9CpD,KAAK,CAACgH,OAAO,iBAAK5I,KAAA,CAAAoF,aAAA,CAACjF,IAAI,EAAAkI,QAAA,KAAK,IAAI,CAACQ,oBAAoB,CAAC,SAAS,CAAC;MAACpE,KAAK,EAAE,IAAI,CAACQ,MAAM,CAACkC;IAAK,IAAEvF,KAAK,CAACgH,OAAc,CAAE,IAAK,IAAI,EAC1HhH,KAAK,CAAC+G,YAAY,KAAK,OAAO,IAAI3D,IAAI,IAAK,IACjC,CACN,CAAC;EAEf;AACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class WmIconProps extends BaseProps {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
_defineProperty(this, "animation", null);
|
|
9
|
+
_defineProperty(this, "iterationcount", void 0);
|
|
10
|
+
_defineProperty(this, "iconclass", 'wm-sl-l sl-user');
|
|
11
|
+
_defineProperty(this, "iconposition", 'left');
|
|
12
|
+
_defineProperty(this, "caption", '');
|
|
13
|
+
_defineProperty(this, "iconsize", 0);
|
|
14
|
+
_defineProperty(this, "onTap", void 0);
|
|
15
|
+
_defineProperty(this, "skeletonheight", null);
|
|
16
|
+
_defineProperty(this, "skeletonwidth", null);
|
|
17
|
+
_defineProperty(this, "iconurl", null);
|
|
18
|
+
_defineProperty(this, "iconheight", null);
|
|
19
|
+
_defineProperty(this, "iconwidth", null);
|
|
20
|
+
_defineProperty(this, "iconmargin", null);
|
|
21
|
+
_defineProperty(this, "accessibilitylabel", undefined);
|
|
22
|
+
_defineProperty(this, "hint", undefined);
|
|
23
|
+
_defineProperty(this, "accessibilityrole", 'none');
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=icon.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmIconProps","constructor","arguments","_defineProperty","undefined"],"sources":["icon.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmIconProps extends BaseProps {\n animation?: string = null as any;\n iterationcount?: any;\n iconclass?: string = 'wm-sl-l sl-user';\n iconposition? = 'left';\n caption? = '';\n iconsize? = 0;\n onTap?: Function;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n iconurl?: string = null as any;\n iconheight?: number = null as any;\n iconwidth?: number = null as any;\n iconmargin?: number = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'none';\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,WAAW,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAC5B,IAAI;IAAAA,eAAA;IAAAA,eAAA,oBAEJ,iBAAiB;IAAAA,eAAA,uBACtB,MAAM;IAAAA,eAAA,kBACX,EAAE;IAAAA,eAAA,mBACD,CAAC;IAAAA,eAAA;IAAAA,eAAA,yBAEa,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,kBACV,IAAI;IAAAA,eAAA,qBACD,IAAI;IAAAA,eAAA,oBACL,IAAI;IAAAA,eAAA,qBACH,IAAI;IAAAA,eAAA,6BACIC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,MAAM;EAAA;AAChD"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
+
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
3
|
+
export const DEFAULT_CLASS = 'app-icon';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
alignSelf: 'flex-start',
|
|
9
|
+
alignItems: 'center'
|
|
10
|
+
},
|
|
11
|
+
icon: {
|
|
12
|
+
paddingLeft: 0,
|
|
13
|
+
paddingRight: 8
|
|
14
|
+
},
|
|
15
|
+
text: {
|
|
16
|
+
paddingLeft: 8
|
|
17
|
+
},
|
|
18
|
+
skeleton: {
|
|
19
|
+
root: {
|
|
20
|
+
width: 32,
|
|
21
|
+
height: 32,
|
|
22
|
+
borderRadius: 4
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
27
|
+
addStyle(DEFAULT_CLASS + '-rtl', '', {
|
|
28
|
+
text: {
|
|
29
|
+
paddingRight: 8
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=icon.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","flexDirection","alignSelf","alignItems","icon","paddingLeft","paddingRight","text","skeleton","width","height","borderRadius"],"sources":["icon.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\n\nexport type WmIconStyles = BaseStyles & {\n icon?: AllStyle,\n skeleton: WmSkeletonStyles\n};\nexport const DEFAULT_CLASS = 'app-icon';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmIconStyles = defineStyles({\n root: {\n flexDirection: 'row',\n alignSelf: 'flex-start',\n alignItems: 'center'\n },\n icon: {\n paddingLeft: 0,\n paddingRight: 8\n },\n text: {\n paddingLeft: 8\n },\n skeleton:{\n root: {\n width: 32,\n height: 32,\n borderRadius: 4\n }\n } as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n text: {\n paddingRight: 8 \n }\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAAqBC,YAAY,QAAQ,+CAA+C;AAOxF,OAAO,MAAMC,aAAa,GAAG,UAAU;AACvCF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA2B,GAAGL,YAAY,CAAC;IAC7CM,IAAI,EAAE;MACFC,aAAa,EAAE,KAAK;MACpBC,SAAS,EAAE,YAAY;MACvBC,UAAU,EAAE;IAChB,CAAC;IACDC,IAAI,EAAE;MACFC,WAAW,EAAE,CAAC;MACdC,YAAY,EAAE;IAClB,CAAC;IACDC,IAAI,EAAE;MACFF,WAAW,EAAE;IACjB,CAAC;IACDG,QAAQ,EAAC;MACLR,IAAI,EAAE;QACFS,KAAK,EAAE,EAAE;QACTC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAClB;IACJ;EACJ,CAAC,CAAC;EAEFb,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACjCY,IAAI,EAAE;MACFD,YAAY,EAAE;IAClB;EACJ,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
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 { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';
|
|
9
|
+
import { NavigationServiceConsumer } from '@wavemaker/app-rn-runtime/core/navigation.service';
|
|
10
|
+
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
|
11
|
+
import WmLabelProps from './label.props';
|
|
12
|
+
import { DEFAULT_CLASS } from './label.styles';
|
|
13
|
+
import { isNil, toString } from 'lodash-es';
|
|
14
|
+
import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
|
|
15
|
+
import { createSkeleton } from '../skeleton/skeleton.component';
|
|
16
|
+
export class WmLabelState extends BaseComponentState {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
_defineProperty(this, "parts", []);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export default class WmLabel extends BaseComponent {
|
|
23
|
+
constructor(props) {
|
|
24
|
+
super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());
|
|
25
|
+
}
|
|
26
|
+
getAsterisk() {
|
|
27
|
+
return /*#__PURE__*/React.createElement(Text, {
|
|
28
|
+
style: this.styles.asterisk
|
|
29
|
+
}, "*");
|
|
30
|
+
}
|
|
31
|
+
onPropertyChange(name, $new, $old) {
|
|
32
|
+
super.onPropertyChange(name, $new, $old);
|
|
33
|
+
switch (name) {
|
|
34
|
+
case "caption":
|
|
35
|
+
this.updateState({
|
|
36
|
+
parts: this.parseCaption($new)
|
|
37
|
+
});
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
getMultilineSkeleton(width, height) {
|
|
42
|
+
const styles = {
|
|
43
|
+
borderRadius: 4,
|
|
44
|
+
marginBottom: 10,
|
|
45
|
+
height: height
|
|
46
|
+
};
|
|
47
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
48
|
+
...styles,
|
|
49
|
+
width: width,
|
|
50
|
+
height: height
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
parseCaption(caption) {
|
|
54
|
+
if (!caption) {
|
|
55
|
+
return [];
|
|
56
|
+
}
|
|
57
|
+
caption += '';
|
|
58
|
+
caption = caption.replace(/\s*\(\s*\$event,\s*\$widget\s*\)\s*/, '');
|
|
59
|
+
caption = caption.replace(/\(\s*\)/, '(#/__EMPTY__)');
|
|
60
|
+
const pattern = /\[([^\]]+)\]\(([^)]*)\)/g;
|
|
61
|
+
const linkRegex = /^(((http|https):\/\/)|javascript:|#).+$/;
|
|
62
|
+
const captionSplit = caption.split(pattern);
|
|
63
|
+
let parts = [];
|
|
64
|
+
for (let i = 0; i < captionSplit.length; i++) {
|
|
65
|
+
const isLink = linkRegex.test(captionSplit[i]);
|
|
66
|
+
let part = {};
|
|
67
|
+
const isNextTextALink = linkRegex.test(captionSplit[i + 1]);
|
|
68
|
+
if (isLink) {
|
|
69
|
+
part.text = captionSplit[i - 1] ?? '';
|
|
70
|
+
part.link = captionSplit[i] === '#/__EMPTY__' ? '' : captionSplit[i];
|
|
71
|
+
} else {
|
|
72
|
+
part.text = isNextTextALink ? "" : captionSplit[i];
|
|
73
|
+
}
|
|
74
|
+
;
|
|
75
|
+
if (part.text) {
|
|
76
|
+
parts.push(part);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return parts;
|
|
80
|
+
}
|
|
81
|
+
renderSkeleton(props) {
|
|
82
|
+
var _this$styles$root, _this$styles$root2;
|
|
83
|
+
const skeletonWidth = this.props.skeletonwidth || ((_this$styles$root = this.styles.root) === null || _this$styles$root === void 0 ? void 0 : _this$styles$root.width);
|
|
84
|
+
const skeletonHeight = this.props.skeletonheight || ((_this$styles$root2 = this.styles.root) === null || _this$styles$root2 === void 0 ? void 0 : _this$styles$root2.height) || this.styles.text.fontSize;
|
|
85
|
+
if (this.props.multilineskeleton) {
|
|
86
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
87
|
+
style: {
|
|
88
|
+
width: skeletonWidth
|
|
89
|
+
}
|
|
90
|
+
}, this.getMultilineSkeleton('100%', skeletonHeight), this.getMultilineSkeleton('70%', skeletonHeight), this.getMultilineSkeleton('40%', skeletonHeight));
|
|
91
|
+
} else {
|
|
92
|
+
return createSkeleton(this.theme, this.styles.skeleton, {
|
|
93
|
+
...this.styles.root,
|
|
94
|
+
width: skeletonWidth,
|
|
95
|
+
height: skeletonHeight
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
renderWidget(props) {
|
|
100
|
+
const linkStyles = this.theme.mergeStyle({
|
|
101
|
+
text: this.styles.text
|
|
102
|
+
}, this.styles.link);
|
|
103
|
+
return !isNil(props.caption) ? /*#__PURE__*/React.createElement(Animatedview, {
|
|
104
|
+
entryanimation: props.animation,
|
|
105
|
+
style: this.styles.root
|
|
106
|
+
}, this._background, /*#__PURE__*/React.createElement(NavigationServiceConsumer, null, navigationService => {
|
|
107
|
+
var _this$state$parts, _this$state$parts2;
|
|
108
|
+
return /*#__PURE__*/React.createElement(Tappable, {
|
|
109
|
+
target: this
|
|
110
|
+
}, /*#__PURE__*/React.createElement(Text, _extends({
|
|
111
|
+
style: this.state.parts.length <= 1 ? this.styles.text : {
|
|
112
|
+
flexWrap: "wrap",
|
|
113
|
+
textAlign: this.styles.text.textAlign
|
|
114
|
+
}
|
|
115
|
+
}, this.state.parts.length <= 1 ? this.getTestPropsForLabel('caption') : {}, {
|
|
116
|
+
numberOfLines: props.nooflines,
|
|
117
|
+
ellipsizeMode: "tail"
|
|
118
|
+
}), ((_this$state$parts = this.state.parts) === null || _this$state$parts === void 0 ? void 0 : _this$state$parts.length) === 1 ? this.state.props.caption : (_this$state$parts2 = this.state.parts) === null || _this$state$parts2 === void 0 ? void 0 : _this$state$parts2.map((part, index) => {
|
|
119
|
+
const isLink = !isNil(part.link);
|
|
120
|
+
return /*#__PURE__*/React.createElement(Text, _extends({
|
|
121
|
+
key: `part_${index}`,
|
|
122
|
+
style: [this.styles.text, isLink ? this.styles.link.text : null, props.isValid ? null : {
|
|
123
|
+
color: 'red'
|
|
124
|
+
}]
|
|
125
|
+
}, this.getTestPropsForLabel(isLink ? `link_${index}` : `caption_${index}`), {
|
|
126
|
+
selectable: this.styles.text.userSelect === 'text',
|
|
127
|
+
onPress: () => {
|
|
128
|
+
if (part.link) {
|
|
129
|
+
if (part.link.startsWith('http:') || part.link.startsWith('https:') || part.link.startsWith('#')) {
|
|
130
|
+
navigationService.openUrl(part.link, '_blank');
|
|
131
|
+
} else if (part.link.startsWith('javascript:')) {
|
|
132
|
+
const eventName = part.link.substring(11);
|
|
133
|
+
this.invokeEventCallback(eventName, [null, this.proxy]);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
this.invokeEventCallback('onTap', [null, this.proxy]);
|
|
137
|
+
}
|
|
138
|
+
}, getAccessibilityProps(AccessibilityWidgetType.LABEL, props)), toString(part.text), props.required && this.getAsterisk());
|
|
139
|
+
})));
|
|
140
|
+
})) : null;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=label.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Text","View","BaseComponent","BaseComponentState","Tappable","NavigationServiceConsumer","AccessibilityWidgetType","getAccessibilityProps","WmLabelProps","DEFAULT_CLASS","isNil","toString","Animatedview","createSkeleton","WmLabelState","constructor","arguments","_defineProperty","WmLabel","props","getAsterisk","createElement","style","styles","asterisk","onPropertyChange","name","$new","$old","updateState","parts","parseCaption","getMultilineSkeleton","width","height","borderRadius","marginBottom","theme","skeleton","caption","replace","pattern","linkRegex","captionSplit","split","i","length","isLink","test","part","isNextTextALink","text","link","push","renderSkeleton","_this$styles$root","_this$styles$root2","skeletonWidth","skeletonwidth","root","skeletonHeight","skeletonheight","fontSize","multilineskeleton","renderWidget","linkStyles","mergeStyle","entryanimation","animation","_background","navigationService","_this$state$parts","_this$state$parts2","target","_extends","state","flexWrap","textAlign","getTestPropsForLabel","numberOfLines","nooflines","ellipsizeMode","map","index","key","isValid","color","selectable","userSelect","onPress","startsWith","openUrl","eventName","substring","invokeEventCallback","proxy","LABEL","required"],"sources":["label.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, Text, View } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { Tappable } from '@wavemaker/app-rn-runtime/core/tappable.component';\nimport NavigationService, { NavigationServiceConsumer } from '@wavemaker/app-rn-runtime/core/navigation.service';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nimport WmLabelProps from './label.props';\nimport { DEFAULT_CLASS, WmLabelStyles } from './label.styles';\nimport { isNil, toString } from 'lodash-es';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport WmSkeleton, { createSkeleton } from '../skeleton/skeleton.component';\n\ntype PartType = {\n text?: string,\n link?: string,\n};\n\nexport class WmLabelState extends BaseComponentState<WmLabelProps> {\n parts: PartType[] = []\n}\n\nexport default class WmLabel extends BaseComponent<WmLabelProps, WmLabelState, WmLabelStyles> {\n\n constructor(props: WmLabelProps) {\n super(props, DEFAULT_CLASS, new WmLabelProps(), new WmLabelState());\n }\n\n private getAsterisk () {\n return <Text style={this.styles.asterisk}>*</Text>;\n }\n\n public onPropertyChange(name: string, $new: any, $old: any): void {\n super.onPropertyChange(name, $new, $old);\n\n switch(name) {\n case \"caption\":\n this.updateState({\n parts: this.parseCaption($new)\n } as WmLabelState);\n break;\n }\n }\n private getMultilineSkeleton(width: any, height: any) {\n const styles = {\n borderRadius:4,\n marginBottom: 10,\n height: height\n };\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...styles,\n width: width,\n height: height\n });\n }\n\n parseCaption(caption: string) {\n if (!caption) {\n return [];\n }\n caption += '';\n caption = caption.replace(/\\s*\\(\\s*\\$event,\\s*\\$widget\\s*\\)\\s*/, '');\n caption = caption.replace(/\\(\\s*\\)/, '(#/__EMPTY__)');\n const pattern = /\\[([^\\]]+)\\]\\(([^)]*)\\)/g;\n const linkRegex = /^(((http|https):\\/\\/)|javascript:|#).+$/;\n const captionSplit = caption.split(pattern);\n\n let parts = [];\n\n for (let i = 0; i < captionSplit.length; i++) {\n const isLink = linkRegex.test(captionSplit[i]);\n let part: PartType = {};\n \n const isNextTextALink = linkRegex.test(captionSplit[i + 1]);\n if (isLink) {\n part.text = captionSplit[i - 1] ?? '';\n part.link = captionSplit[i] === '#/__EMPTY__' ? '' : captionSplit[i];\n } else {\n part.text = isNextTextALink ? \"\" : captionSplit[i];\n };\n\n if (part.text) {\n parts.push(part);\n }\n }\n\n return parts;\n }\n\n public renderSkeleton(props: WmLabelProps){\n const skeletonWidth = this.props.skeletonwidth || this.styles.root?.width;\n const skeletonHeight = this.props.skeletonheight || this.styles.root?.height || this.styles.text.fontSize;\n if(this.props.multilineskeleton) {\n return (<View style={{\n width: skeletonWidth as DimensionValue\n }}>\n {this.getMultilineSkeleton('100%', skeletonHeight)}\n {this.getMultilineSkeleton('70%', skeletonHeight)}\n {this.getMultilineSkeleton('40%', skeletonHeight)}\n </View>)\n }\n else{\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n width: skeletonWidth as DimensionValue,\n height: skeletonHeight as DimensionValue\n }); \n }\n }\n\n renderWidget(props: WmLabelProps) {\n const linkStyles = this.theme.mergeStyle({text: this.styles.text}, this.styles.link);\n return !isNil(props.caption) ? (\n <Animatedview entryanimation={props.animation} style={this.styles.root}>\n {this._background}\n <NavigationServiceConsumer>\n {(navigationService: NavigationService) => {\n return (<Tappable target={this}>\n <Text style={ this.state.parts.length <= 1 ? this.styles.text : {flexWrap: \"wrap\", textAlign: this.styles.text.textAlign}}\n {...this.state.parts.length <= 1 ? this.getTestPropsForLabel('caption') : {}}\n numberOfLines={props.nooflines} ellipsizeMode=\"tail\">\n {this.state.parts?.length === 1 ? this.state.props.caption : this.state.parts?.map((part, index) => {\n const isLink = !isNil(part.link);\n return (\n <Text\n key={`part_${index}`}\n style={[\n this.styles.text,\n isLink ? this.styles.link.text : null,\n props.isValid ? null : { color: 'red'}\n ]}\n {...this.getTestPropsForLabel(isLink ? `link_${index}` : `caption_${index}`)}\n selectable={this.styles.text.userSelect === 'text'}\n onPress={() => {\n if (part.link) { \n if (part.link.startsWith('http:')\n || part.link.startsWith('https:')\n || part.link.startsWith('#')) {\n navigationService.openUrl(part.link, '_blank');\n } else if (part.link.startsWith('javascript:')) {\n const eventName = part.link.substring(11);\n this.invokeEventCallback(eventName, [null, this.proxy]);\n }\n }\n this.invokeEventCallback('onTap', [null, this.proxy]);\n }}\n {...getAccessibilityProps(AccessibilityWidgetType.LABEL, props)}\n >\n {toString(part.text)}\n {props.required && this.getAsterisk()}\n </Text>\n );\n })}\n </Text>\n </Tappable>)}}\n </NavigationServiceConsumer>\n </Animatedview>\n )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C,EAAE,CAAC;gBACzC,IAAI,CAACC,mBAAmB,CAACF,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,CAACG,KAAK,CAAC,CAAC;cACzD;YACF;YACA,IAAI,CAACD,mBAAmB,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAACC,KAAK,CAAC,CAAC;UACvD;QAAE,GACExF,qBAAqB,CAACD,uBAAuB,CAAC0F,KAAK,EAAE7E,KAAK,CAAC,GAE9DR,QAAQ,CAACsC,IAAI,CAACE,IAAI,CAAC,EACnBhC,KAAK,CAAC8E,QAAQ,IAAI,IAAI,CAAC7E,WAAW,CAAC,CAChC,CAAC;MAEX,CAAC,CACG,CACE,CAAC;IAAC,CACa,CACf,CAAC,GACb,IAAI;EACV;AACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class WmLabelProps extends BaseProps {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
_defineProperty(this, "animation", null);
|
|
9
|
+
_defineProperty(this, "caption", 'Label');
|
|
10
|
+
_defineProperty(this, "required", null);
|
|
11
|
+
_defineProperty(this, "isValid", true);
|
|
12
|
+
_defineProperty(this, "wrap", true);
|
|
13
|
+
_defineProperty(this, "nooflines", undefined);
|
|
14
|
+
_defineProperty(this, "skeletonheight", null);
|
|
15
|
+
_defineProperty(this, "skeletonwidth", null);
|
|
16
|
+
_defineProperty(this, "multilineskeleton", false);
|
|
17
|
+
_defineProperty(this, "accessibilitylabel", undefined);
|
|
18
|
+
_defineProperty(this, "hint", undefined);
|
|
19
|
+
_defineProperty(this, "accessibilityrole", 'text');
|
|
20
|
+
_defineProperty(this, "onTap", null);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=label.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmLabelProps","constructor","arguments","_defineProperty","undefined"],"sources":["label.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmLabelProps extends BaseProps {\n animation?: string = null as any;\n caption?: string = 'Label';\n required?: boolean = null as any;\n isValid?: boolean = true;\n wrap?: boolean = true;\n nooflines?: any = undefined;\n skeletonheight?: string = null as any;\n skeletonwidth?: string = null as any;\n multilineskeleton?: boolean = false;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'text';\n onTap?: Function = null as any;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,YAAY,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAC3B,IAAI;IAAAA,eAAA,kBACN,OAAO;IAAAA,eAAA,mBACL,IAAI;IAAAA,eAAA,kBACL,IAAI;IAAAA,eAAA,eACP,IAAI;IAAAA,eAAA,oBACHC,SAAS;IAAAD,eAAA,yBACD,IAAI;IAAAA,eAAA,wBACL,IAAI;IAAAA,eAAA,4BACC,KAAK;IAAAA,eAAA,6BACLC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,MAAM;IAAAA,eAAA,gBAC3B,IAAI;EAAA;AAC3B"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
|
|
2
|
+
import { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';
|
|
3
|
+
import { defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
4
|
+
export const DEFAULT_CLASS = 'app-label';
|
|
5
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
6
|
+
const defaultStyles = defineStyles({
|
|
7
|
+
root: {
|
|
8
|
+
alignSelf: 'flex-start'
|
|
9
|
+
},
|
|
10
|
+
text: {
|
|
11
|
+
fontSize: 16,
|
|
12
|
+
color: themeVariables.labelDefaultColor
|
|
13
|
+
},
|
|
14
|
+
asterisk: {
|
|
15
|
+
color: themeVariables.labelAsteriskColor,
|
|
16
|
+
marginLeft: 2
|
|
17
|
+
},
|
|
18
|
+
skeleton: {
|
|
19
|
+
root: {
|
|
20
|
+
width: '100%',
|
|
21
|
+
height: 16,
|
|
22
|
+
borderRadius: 4
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
link: {
|
|
26
|
+
text: {
|
|
27
|
+
textDecorationLine: 'underline'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
32
|
+
addStyle(DEFAULT_CLASS + '-rtl', '', {
|
|
33
|
+
root: {
|
|
34
|
+
flexDirection: 'row',
|
|
35
|
+
textAlign: 'right'
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
const getLabelStyles = (color, textColor) => {
|
|
39
|
+
return {
|
|
40
|
+
root: {
|
|
41
|
+
backgroundColor: color,
|
|
42
|
+
paddingLeft: 32,
|
|
43
|
+
paddingTop: 16,
|
|
44
|
+
paddingRight: 32,
|
|
45
|
+
paddingBottom: 16,
|
|
46
|
+
borderRadius: 6
|
|
47
|
+
},
|
|
48
|
+
text: {
|
|
49
|
+
color: textColor,
|
|
50
|
+
fontWeight: 'bold'
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));
|
|
55
|
+
addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));
|
|
56
|
+
addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));
|
|
57
|
+
addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));
|
|
58
|
+
addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));
|
|
59
|
+
addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));
|
|
60
|
+
addStyle('label-test', '', getLabelStyles('yellow', 'red'));
|
|
61
|
+
addStyle('label-test1', '', getLabelStyles('blue', 'orange'));
|
|
62
|
+
const getTextStyles = color => {
|
|
63
|
+
return {
|
|
64
|
+
text: {
|
|
65
|
+
color: color
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));
|
|
70
|
+
addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));
|
|
71
|
+
addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));
|
|
72
|
+
addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));
|
|
73
|
+
addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));
|
|
74
|
+
addStyle('text-center', '', {
|
|
75
|
+
root: {
|
|
76
|
+
textAlign: 'center'
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
addStyle('text-left', '', {
|
|
80
|
+
root: {
|
|
81
|
+
textAlign: 'left'
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
addStyle('text-right', '', {
|
|
85
|
+
root: {
|
|
86
|
+
textAlign: 'right'
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
const getHeadingStyles = (fontSize, overrides) => {
|
|
90
|
+
return deepCopy({
|
|
91
|
+
text: {
|
|
92
|
+
fontWeight: '400',
|
|
93
|
+
fontSize: fontSize,
|
|
94
|
+
margin: 4,
|
|
95
|
+
color: themeVariables.labelHeaderColor
|
|
96
|
+
}
|
|
97
|
+
}, overrides);
|
|
98
|
+
};
|
|
99
|
+
addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {
|
|
100
|
+
text: {
|
|
101
|
+
fontWeight: 'bold'
|
|
102
|
+
}
|
|
103
|
+
}));
|
|
104
|
+
addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {
|
|
105
|
+
text: {
|
|
106
|
+
fontWeight: '500'
|
|
107
|
+
}
|
|
108
|
+
}));
|
|
109
|
+
addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));
|
|
110
|
+
addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));
|
|
111
|
+
addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));
|
|
112
|
+
addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));
|
|
113
|
+
addStyle('media-heading', '', {
|
|
114
|
+
text: {
|
|
115
|
+
fontSize: 16
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
addStyle('text-muted', '', {
|
|
119
|
+
text: {
|
|
120
|
+
color: themeVariables.labelTextMutedColor
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
addStyle('p', '', {
|
|
124
|
+
text: {
|
|
125
|
+
fontSize: 12
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
//# sourceMappingURL=label.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","deepCopy","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","alignSelf","text","fontSize","color","labelDefaultColor","asterisk","labelAsteriskColor","marginLeft","skeleton","width","height","borderRadius","link","textDecorationLine","flexDirection","textAlign","getLabelStyles","textColor","backgroundColor","paddingLeft","paddingTop","paddingRight","paddingBottom","fontWeight","labelDangerColor","labelDangerContrastColor","labelDefaultContrastColor","labelInfoColor","labelInfoContrastColor","labelPrimaryColor","labelPrimaryContrastColor","labelSuccessColor","labelSuccessContrastColor","labelWarningColor","labelWarningContrastColor","getTextStyles","labelTextDangerColor","labelTextInfoColor","labelTextPrimaryColor","labelTextSuccessColor","labelTextWarningColor","getHeadingStyles","overrides","margin","labelHeaderColor","heading1FontSize","heading2FontSize","heading3FontSize","heading4FontSize","heading5FontSize","heading6FontSize","labelTextMutedColor"],"sources":["label.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker/app-rn-runtime/styles/theme';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { WmSkeletonStyles } from '../skeleton/skeleton.styles';\nimport { WmAnchorStyles } from '../anchor/anchor.styles';\n\nexport type WmLabelStyles = BaseStyles & {\n asterisk: AllStyle,\n skeleton: WmSkeletonStyles \n link: WmAnchorStyles\n};\n\nexport const DEFAULT_CLASS = 'app-label';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmLabelStyles = defineStyles({\n root: {\n alignSelf: 'flex-start'\n },\n text: {\n fontSize: 16,\n color: themeVariables.labelDefaultColor\n },\n asterisk: {\n color: themeVariables.labelAsteriskColor,\n marginLeft: 2\n },\n skeleton: {\n root:{\n width: '100%',\n height: 16,\n borderRadius: 4\n }\n } as any as WmSkeletonStyles,\n link: {\n text: {\n textDecorationLine: 'underline'\n }\n } as WmAnchorStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n root : {\n flexDirection: 'row',\n textAlign: 'right'\n }\n });\n const getLabelStyles = (color: string, textColor: string): WmLabelStyles => {\n return {\n root: {\n backgroundColor: color,\n paddingLeft: 32,\n paddingTop: 16,\n paddingRight: 32,\n paddingBottom: 16,\n borderRadius: 6\n },\n text: {\n color: textColor,\n fontWeight: 'bold'\n }\n } as WmLabelStyles;\n };\n\n addStyle('label-danger', '', getLabelStyles(themeVariables.labelDangerColor, themeVariables.labelDangerContrastColor));\n addStyle('label-default', '', getLabelStyles(themeVariables.labelDefaultColor, themeVariables.labelDefaultContrastColor));\n addStyle('label-info', '', getLabelStyles(themeVariables.labelInfoColor, themeVariables.labelInfoContrastColor));\n addStyle('label-primary', '', getLabelStyles(themeVariables.labelPrimaryColor, themeVariables.labelPrimaryContrastColor));\n addStyle('label-success', '', getLabelStyles(themeVariables.labelSuccessColor, themeVariables.labelSuccessContrastColor));\n addStyle('label-warning', '', getLabelStyles(themeVariables.labelWarningColor, themeVariables.labelWarningContrastColor));\n addStyle('label-test', '', getLabelStyles('yellow', 'red'));\n addStyle('label-test1', '', getLabelStyles('blue', 'orange'));\n\n const getTextStyles = (color: string) => {\n return {\n text: {\n color: color\n }\n } as WmLabelStyles;\n };\n\n addStyle('text-danger', '', getTextStyles(themeVariables.labelTextDangerColor));\n addStyle('text-info', '', getTextStyles(themeVariables.labelTextInfoColor));\n addStyle('text-primary', '', getTextStyles(themeVariables.labelTextPrimaryColor));\n addStyle('text-success', '', getTextStyles(themeVariables.labelTextSuccessColor));\n addStyle('text-warning', '', getTextStyles(themeVariables.labelTextWarningColor));\n addStyle('text-center', '', {\n root: {\n textAlign: 'center'\n }\n } as WmLabelStyles);\n addStyle('text-left', '', {\n root: {\n textAlign: 'left'\n }\n } as WmLabelStyles);\n addStyle('text-right', '', {\n root: {\n textAlign: 'right'\n }\n } as WmLabelStyles);\n\n\n const getHeadingStyles = (fontSize: number, overrides?: WmLabelStyles) => {\n return deepCopy({\n text: {\n fontWeight: '400',\n fontSize: fontSize,\n margin: 4,\n color: themeVariables.labelHeaderColor\n }\n } as WmLabelStyles, overrides);\n };\n addStyle('h1', '', getHeadingStyles(themeVariables.heading1FontSize, {text: {fontWeight: 'bold'}} as WmLabelStyles));\n addStyle('h2', '', getHeadingStyles(themeVariables.heading2FontSize, {text: {fontWeight: '500'}} as WmLabelStyles));\n addStyle('h3', '', getHeadingStyles(themeVariables.heading3FontSize));\n addStyle('h4', '', getHeadingStyles(themeVariables.heading4FontSize));\n addStyle('h5', '', getHeadingStyles(themeVariables.heading5FontSize));\n addStyle('h6', '', getHeadingStyles(themeVariables.heading6FontSize));\n addStyle('media-heading', '', {\n text : {\n fontSize: 16\n }\n } as WmLabelStyles);\n addStyle('text-muted', '', {\n text : {\n color: themeVariables.labelTextMutedColor\n }\n } as WmLabelStyles);\n addStyle('p', '', {\n text : {\n fontSize: 12\n }\n } as WmLabelStyles);\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAqB,wCAAwC;AAC9E,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,SAAqBC,YAAY,QAAQ,+CAA+C;AAUxF,OAAO,MAAMC,aAAa,GAAG,WAAW;AACxCH,UAAU,CAACI,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrD,MAAMC,aAA4B,GAAGL,YAAY,CAAC;IAC9CM,IAAI,EAAE;MACJC,SAAS,EAAE;IACb,CAAC;IACDC,IAAI,EAAE;MACJC,QAAQ,EAAE,EAAE;MACZC,KAAK,EAAEP,cAAc,CAACQ;IACxB,CAAC;IACDC,QAAQ,EAAE;MACRF,KAAK,EAAEP,cAAc,CAACU,kBAAkB;MACxCC,UAAU,EAAE;IACd,CAAC;IACDC,QAAQ,EAAE;MACRT,IAAI,EAAC;QACHU,KAAK,EAAE,MAAM;QACbC,MAAM,EAAE,EAAE;QACVC,YAAY,EAAE;MAChB;IACF,CAA4B;IAC5BC,IAAI,EAAE;MACJX,IAAI,EAAE;QACJY,kBAAkB,EAAE;MACtB;IACF;EACJ,CAAC,CAAC;EAEFhB,QAAQ,CAACH,aAAa,EA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ACrB,CAAC,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
4
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { View, Text } from 'react-native';
|
|
7
|
+
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
8
|
+
import WmMessageProps from './message.props';
|
|
9
|
+
import { DEFAULT_CLASS } from './message.styles';
|
|
10
|
+
import WmIcon from '../icon/icon.component';
|
|
11
|
+
import WmButton from '../button/button.component';
|
|
12
|
+
import { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';
|
|
13
|
+
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
|
14
|
+
export class WmMessageState extends BaseComponentState {}
|
|
15
|
+
const MESSAGE_ICONS = {
|
|
16
|
+
'success': 'wm-sl-l sl-check',
|
|
17
|
+
'warning': 'wm-sl-l sl-alarm-bell',
|
|
18
|
+
'error': 'fa fa-times-circle',
|
|
19
|
+
'info': 'wi wi-info',
|
|
20
|
+
'loading': 'fa fa-spinner fa-spin'
|
|
21
|
+
};
|
|
22
|
+
const DEFAULT_TITLE = {
|
|
23
|
+
'success': 'Success',
|
|
24
|
+
'warning': 'Warning',
|
|
25
|
+
'error': 'Error',
|
|
26
|
+
'info': 'Info',
|
|
27
|
+
'loading': 'Processing'
|
|
28
|
+
};
|
|
29
|
+
export default class WmMessage extends BaseComponent {
|
|
30
|
+
constructor(props) {
|
|
31
|
+
super(props, DEFAULT_CLASS, new WmMessageProps());
|
|
32
|
+
_defineProperty(this, "close", () => {
|
|
33
|
+
this.updateState({
|
|
34
|
+
props: {
|
|
35
|
+
show: false
|
|
36
|
+
}
|
|
37
|
+
}, () => this.invokeEventCallback('onClose', [null, this]));
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
showMessage() {
|
|
41
|
+
this.updateState({
|
|
42
|
+
props: {
|
|
43
|
+
show: true
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
hideMessage() {
|
|
48
|
+
this.updateState({
|
|
49
|
+
props: {
|
|
50
|
+
show: false
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
renderWidget(props) {
|
|
55
|
+
const styles = this.theme.mergeStyle(this.theme.getStyle(`${props.type}-${props.variant}-message`), this.styles);
|
|
56
|
+
return /*#__PURE__*/React.createElement(Animatedview, {
|
|
57
|
+
entryanimation: props.animation,
|
|
58
|
+
style: styles.root
|
|
59
|
+
}, this._background, /*#__PURE__*/React.createElement(WmIcon, {
|
|
60
|
+
id: this.getTestId('icon'),
|
|
61
|
+
iconclass: props.type && MESSAGE_ICONS[props.type],
|
|
62
|
+
styles: styles.icon
|
|
63
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
64
|
+
style: styles.message
|
|
65
|
+
}, /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('title'), {
|
|
66
|
+
style: styles.title
|
|
67
|
+
}, getAccessibilityProps(AccessibilityWidgetType.MESSAGE, props)), props.title || DEFAULT_TITLE[props.type || '']), /*#__PURE__*/React.createElement(Text, _extends({}, this.getTestPropsForLabel('caption'), {
|
|
68
|
+
style: styles.text
|
|
69
|
+
}, getAccessibilityProps(AccessibilityWidgetType.MESSAGE, props)), props.caption)), props.hideclose ? null : /*#__PURE__*/React.createElement(WmButton, {
|
|
70
|
+
id: this.getTestId('close'),
|
|
71
|
+
iconclass: "wi wi-close",
|
|
72
|
+
styles: styles.closeBtn,
|
|
73
|
+
onTap: this.close
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=message.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","BaseComponent","BaseComponentState","WmMessageProps","DEFAULT_CLASS","WmIcon","WmButton","Animatedview","AccessibilityWidgetType","getAccessibilityProps","WmMessageState","MESSAGE_ICONS","DEFAULT_TITLE","WmMessage","constructor","props","_defineProperty","updateState","show","invokeEventCallback","showMessage","hideMessage","renderWidget","styles","theme","mergeStyle","getStyle","type","variant","createElement","entryanimation","animation","style","root","_background","id","getTestId","iconclass","icon","message","_extends","getTestPropsForLabel","title","MESSAGE","text","caption","hideclose","closeBtn","onTap","close"],"sources":["message.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Text } from 'react-native';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmMessageProps from './message.props';\nimport { DEFAULT_CLASS, WmMessageStyles } from './message.styles';\nimport WmIcon from '../icon/icon.component';\nimport WmButton from '../button/button.component';\nimport { Animatedview } from '@wavemaker/app-rn-runtime/components/basic/animatedview.component';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';\n\nexport class WmMessageState extends BaseComponentState<WmMessageProps> {}\n\nconst MESSAGE_ICONS = {\n 'success': 'wm-sl-l sl-check',\n 'warning': 'wm-sl-l sl-alarm-bell',\n 'error': 'fa fa-times-circle',\n 'info': 'wi wi-info',\n 'loading': 'fa fa-spinner fa-spin'\n};\n\nconst DEFAULT_TITLE = {\n 'success': 'Success',\n 'warning': 'Warning',\n 'error': 'Error',\n 'info': 'Info',\n 'loading': 'Processing'\n} as any;\n\nexport default class WmMessage extends BaseComponent<WmMessageProps, WmMessageState, WmMessageStyles> {\n\n constructor(props: WmMessageProps) {\n super(props, DEFAULT_CLASS, new WmMessageProps());\n }\n\n showMessage() {\n this.updateState({\n props: {\n show: true\n }\n } as WmMessageState);\n }\n\n hideMessage() {\n this.updateState({\n props: {\n show: false\n }\n } as WmMessageState);\n }\n\n close = () => {\n this.updateState({props: {\n show : false\n }}, () => this.invokeEventCallback('onClose', [null, this]));\n }\n\n renderWidget(props: WmMessageProps) {\n const styles = this.theme.mergeStyle(this.theme.getStyle(`${props.type}-${props.variant}-message`), this.styles);\n return (<Animatedview entryanimation={props.animation} style={styles.root}>\n {this._background}\n <WmIcon\n id={this.getTestId('icon')}\n iconclass={props.type && MESSAGE_ICONS[props.type]}\n styles={styles.icon}></WmIcon>\n <View style={styles.message}>\n <Text {...this.getTestPropsForLabel('title')} style={styles.title} {...getAccessibilityProps(AccessibilityWidgetType.MESSAGE, props)}>{props.title || DEFAULT_TITLE[props.type || '']}</Text>\n <Text {...this.getTestPropsForLabel('caption')} style={styles.text} {...getAccessibilityProps(AccessibilityWidgetType.MESSAGE, props)}>{props.caption}</Text>\n </View>\n {props.hideclose ? null : (\n <WmButton\n id={this.getTestId('close')}\n iconclass=\"wi wi-close\"\n styles={styles.closeBtn}\n onTap={this.close}></WmButton>\n )}\n </Animatedview>);\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,+CAA+C;AAEjG,OAAOC,cAAc,MAAM,iBAAiB;AAC5C,SAASC,aAAa,QAAyB,kBAAkB;AACjE,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,OAAOC,QAAQ,MAAM,4BAA4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AAC,aAAa;MACvBd,MAAM,EAAEA,MAAM,CAACwB,QAAS;MACxBC,KAAK,EAAE,IAAI,CAACC;IAAM,CAAW,CAErB,CAAC;EACjB;AACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
|
+
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class WmMessageProps extends BaseProps {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
_defineProperty(this, "animation", 'fadeIn');
|
|
9
|
+
_defineProperty(this, "title", '');
|
|
10
|
+
_defineProperty(this, "variant", 'dark');
|
|
11
|
+
_defineProperty(this, "caption", 'Message');
|
|
12
|
+
_defineProperty(this, "type", 'success');
|
|
13
|
+
_defineProperty(this, "hideclose", false);
|
|
14
|
+
_defineProperty(this, "accessibilitylabel", undefined);
|
|
15
|
+
_defineProperty(this, "hint", undefined);
|
|
16
|
+
_defineProperty(this, "accessibilityrole", 'alert');
|
|
17
|
+
_defineProperty(this, "onClose", void 0);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=message.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmMessageProps","constructor","arguments","_defineProperty","undefined"],"sources":["message.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmMessageProps extends BaseProps {\n animation?: string = 'fadeIn';\n title?: string = '';\n variant?: string = 'dark'\n caption? = 'Message';\n type?: 'success' | 'warning' | 'error' | 'info' | 'loading' = 'success';\n hideclose? = false;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole = 'alert';\n onClose?: () => void;\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,cAAc,SAASD,SAAS,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,oBAC/B,QAAQ;IAAAA,eAAA,gBACZ,EAAE;IAAAA,eAAA,kBACA,MAAM;IAAAA,eAAA,kBACd,SAAS;IAAAA,eAAA,eAC0C,SAAS;IAAAA,eAAA,oBAC1D,KAAK;IAAAA,eAAA,6BACYC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA,4BACe,OAAO;IAAAA,eAAA;EAAA;AAEjD"}
|