@wavemaker/app-rn-runtime 12.0.0-next.45104 → 12.0.0-next.45129
Sign up to get free protection for your applications and to get access to all the features.
- app-rn-runtime/components/advanced/carousel/carousel.component.js +31 -5
- app-rn-runtime/components/advanced/carousel/carousel.component.js.map +1 -1
- app-rn-runtime/components/advanced/carousel/carousel.props.js +1 -0
- app-rn-runtime/components/advanced/carousel/carousel.props.js.map +1 -1
- app-rn-runtime/components/advanced/carousel/carousel.styles.js +15 -0
- app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +1 -1
- app-rn-runtime/components/advanced/webview/webview.component.js.map +1 -1
- app-rn-runtime/components/basic/anchor/anchor.component.js +15 -5
- app-rn-runtime/components/basic/anchor/anchor.component.js.map +1 -1
- app-rn-runtime/components/basic/anchor/anchor.styles.js +3 -0
- app-rn-runtime/components/basic/anchor/anchor.styles.js.map +1 -1
- app-rn-runtime/components/basic/animatedview.component.js +6 -2
- app-rn-runtime/components/basic/animatedview.component.js.map +1 -1
- app-rn-runtime/components/basic/audio/audio.component.js.map +1 -1
- app-rn-runtime/components/basic/button/button.component.js +20 -6
- app-rn-runtime/components/basic/button/button.component.js.map +1 -1
- app-rn-runtime/components/basic/icon/icon.component.js +14 -6
- app-rn-runtime/components/basic/icon/icon.component.js.map +1 -1
- app-rn-runtime/components/basic/label/label.component.js +13 -3
- app-rn-runtime/components/basic/label/label.component.js.map +1 -1
- app-rn-runtime/components/basic/label/label.styles.js.map +1 -1
- app-rn-runtime/components/basic/message/message.component.js.map +1 -1
- app-rn-runtime/components/basic/picture/picture.component.js +1 -2
- app-rn-runtime/components/basic/picture/picture.component.js.map +1 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +2 -2
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +1 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +5 -5
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js.map +1 -1
- app-rn-runtime/components/basic/search/search.component.js +9 -0
- app-rn-runtime/components/basic/search/search.component.js.map +1 -1
- app-rn-runtime/components/basic/search/search.props.js +2 -0
- app-rn-runtime/components/basic/search/search.props.js.map +1 -1
- app-rn-runtime/components/basic/search/search.styles.js +5 -0
- app-rn-runtime/components/basic/search/search.styles.js.map +1 -1
- app-rn-runtime/components/basic/skeleton/skeleton.component.js +4 -3
- app-rn-runtime/components/basic/skeleton/skeleton.component.js.map +1 -1
- app-rn-runtime/components/basic/skeleton/skeleton.props.js +9 -1
- app-rn-runtime/components/basic/skeleton/skeleton.props.js.map +1 -1
- app-rn-runtime/components/basic/spinner/spinner.component.js +2 -3
- app-rn-runtime/components/basic/spinner/spinner.component.js.map +1 -1
- app-rn-runtime/components/basic/spinner/spinner.styles.js +3 -2
- app-rn-runtime/components/basic/spinner/spinner.styles.js.map +1 -1
- app-rn-runtime/components/basic/video/video.component.js.map +1 -1
- app-rn-runtime/components/basic/video/video.styles.js +4 -1
- app-rn-runtime/components/basic/video/video.styles.js.map +1 -1
- app-rn-runtime/components/chart/area-chart/area-chart.component.js +2 -1
- app-rn-runtime/components/chart/area-chart/area-chart.component.js.map +1 -1
- app-rn-runtime/components/chart/area-chart/area-chart.styles.js +7 -1
- app-rn-runtime/components/chart/area-chart/area-chart.styles.js.map +1 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.styles.js +7 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.styles.js.map +1 -1
- app-rn-runtime/components/chart/basechart.component.js +54 -2
- app-rn-runtime/components/chart/basechart.component.js.map +1 -1
- app-rn-runtime/components/chart/basechart.props.js +3 -2
- app-rn-runtime/components/chart/basechart.props.js.map +1 -1
- app-rn-runtime/components/chart/basechart.styles.js +4 -0
- app-rn-runtime/components/chart/basechart.styles.js.map +1 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +15 -3
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js.map +1 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.styles.js +7 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -1
- app-rn-runtime/components/chart/column-chart/column-chart.styles.js +7 -1
- app-rn-runtime/components/chart/column-chart/column-chart.styles.js.map +1 -1
- app-rn-runtime/components/chart/donut-chart/donut-chart.styles.js +7 -1
- app-rn-runtime/components/chart/donut-chart/donut-chart.styles.js.map +1 -1
- app-rn-runtime/components/chart/line-chart/line-chart.props.js +2 -0
- app-rn-runtime/components/chart/line-chart/line-chart.props.js.map +1 -1
- app-rn-runtime/components/chart/line-chart/line-chart.styles.js +7 -1
- app-rn-runtime/components/chart/line-chart/line-chart.styles.js.map +1 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +6 -2
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js.map +1 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.styles.js +7 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.styles.js.map +1 -1
- app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +37 -11
- app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +1 -1
- app-rn-runtime/components/container/accordion/accordion.component.js +61 -12
- app-rn-runtime/components/container/accordion/accordion.component.js.map +1 -1
- app-rn-runtime/components/container/accordion/accordion.props.js.map +1 -1
- app-rn-runtime/components/container/accordion/accordion.styles.js +5 -0
- app-rn-runtime/components/container/accordion/accordion.styles.js.map +1 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +11 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
- app-rn-runtime/components/container/container.component.js +36 -2
- app-rn-runtime/components/container/container.component.js.map +1 -1
- app-rn-runtime/components/container/container.styles.js +7 -0
- app-rn-runtime/components/container/container.styles.js.map +1 -1
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js +5 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.styles.js +6 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js +28 -2
- app-rn-runtime/components/container/layoutgrid/layoutgrid.component.js.map +1 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js.map +1 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js +4 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.styles.js.map +1 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.component.js +31 -5
- app-rn-runtime/components/container/linearlayout/linearlayout.component.js.map +1 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.props.js.map +1 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.styles.js +4 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.styles.js.map +1 -1
- app-rn-runtime/components/container/panel/panel.component.js +47 -6
- app-rn-runtime/components/container/panel/panel.component.js.map +1 -1
- app-rn-runtime/components/container/panel/panel.props.js.map +1 -1
- app-rn-runtime/components/container/panel/panel.styles.js +3 -0
- app-rn-runtime/components/container/panel/panel.styles.js.map +1 -1
- app-rn-runtime/components/container/partial-host.component.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +3 -4
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +11 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabs.component.js +41 -5
- app-rn-runtime/components/container/tabs/tabs.component.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabs.props.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabs.styles.js +4 -1
- app-rn-runtime/components/container/tabs/tabs.styles.js.map +1 -1
- app-rn-runtime/components/container/tile/tile.component.js +28 -2
- app-rn-runtime/components/container/tile/tile.component.js.map +1 -1
- app-rn-runtime/components/container/tile/tile.props.js.map +1 -1
- app-rn-runtime/components/container/tile/tile.styles.js +6 -1
- app-rn-runtime/components/container/tile/tile.styles.js.map +1 -1
- app-rn-runtime/components/container/wizard/wizard.component.js +62 -13
- app-rn-runtime/components/container/wizard/wizard.component.js.map +1 -1
- app-rn-runtime/components/container/wizard/wizard.props.js.map +1 -1
- app-rn-runtime/components/container/wizard/wizard.styles.js +3 -0
- app-rn-runtime/components/container/wizard/wizard.styles.js.map +1 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js +4 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -1
- app-rn-runtime/components/data/card/card-content/card-content.component.js +6 -2
- app-rn-runtime/components/data/card/card-content/card-content.component.js.map +1 -1
- app-rn-runtime/components/data/card/card-content/card-content.styles.js +4 -1
- app-rn-runtime/components/data/card/card-content/card-content.styles.js.map +1 -1
- app-rn-runtime/components/data/card/card.component.js +18 -0
- app-rn-runtime/components/data/card/card.component.js.map +1 -1
- app-rn-runtime/components/data/card/card.styles.js +3 -0
- app-rn-runtime/components/data/card/card.styles.js.map +1 -1
- app-rn-runtime/components/data/form/form-field/form-field.component.js.map +1 -1
- app-rn-runtime/components/data/form/form.component.js +1 -1
- app-rn-runtime/components/data/form/form.component.js.map +1 -1
- app-rn-runtime/components/data/form/form.props.js +1 -0
- app-rn-runtime/components/data/form/form.props.js.map +1 -1
- app-rn-runtime/components/data/list/list-template/list-template.component.js +15 -1
- app-rn-runtime/components/data/list/list-template/list-template.component.js.map +1 -1
- app-rn-runtime/components/data/list/list-template/list-template.props.js +1 -0
- app-rn-runtime/components/data/list/list-template/list-template.props.js.map +1 -1
- app-rn-runtime/components/data/list/list-template/list-template.styles.js +11 -1
- app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +1 -1
- app-rn-runtime/components/data/list/list.component.js +54 -33
- app-rn-runtime/components/data/list/list.component.js.map +1 -1
- app-rn-runtime/components/data/list/list.props.js +1 -0
- app-rn-runtime/components/data/list/list.props.js.map +1 -1
- app-rn-runtime/components/data/list/list.styles.js +9 -0
- app-rn-runtime/components/data/list/list.styles.js.map +1 -1
- app-rn-runtime/components/dialogs/dialog/dialog.component.js +5 -3
- app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +1 -1
- app-rn-runtime/components/dialogs/dialog/dialog.styles.js.map +1 -1
- app-rn-runtime/components/input/basedataset/basedataset.component.js.map +1 -1
- app-rn-runtime/components/input/baseinput/baseinput.component.js +11 -4
- app-rn-runtime/components/input/baseinput/baseinput.component.js.map +1 -1
- app-rn-runtime/components/input/baseinput/baseinput.props.js +1 -0
- app-rn-runtime/components/input/baseinput/baseinput.props.js.map +1 -1
- app-rn-runtime/components/input/basenumber/basenumber.component.js +25 -12
- app-rn-runtime/components/input/basenumber/basenumber.component.js.map +1 -1
- app-rn-runtime/components/input/basenumber/basenumber.props.js +2 -0
- app-rn-runtime/components/input/basenumber/basenumber.props.js.map +1 -1
- app-rn-runtime/components/input/checkbox/checkbox.component.js +5 -6
- app-rn-runtime/components/input/checkbox/checkbox.component.js.map +1 -1
- app-rn-runtime/components/input/checkbox/checkbox.styles.js.map +1 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js +24 -3
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js.map +1 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.props.js +1 -0
- app-rn-runtime/components/input/checkboxset/checkboxset.props.js.map +1 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.styles.js +1 -0
- app-rn-runtime/components/input/checkboxset/checkboxset.styles.js.map +1 -1
- app-rn-runtime/components/input/chips/chips.component.js +3 -2
- app-rn-runtime/components/input/chips/chips.component.js.map +1 -1
- app-rn-runtime/components/input/currency/currency.component.js +16 -1
- app-rn-runtime/components/input/currency/currency.component.js.map +1 -1
- app-rn-runtime/components/input/epoch/base-datetime.component.js +22 -5
- app-rn-runtime/components/input/epoch/base-datetime.component.js.map +1 -1
- app-rn-runtime/components/input/epoch/wheel-date-picker.component.js +123 -12
- app-rn-runtime/components/input/epoch/wheel-date-picker.component.js.map +1 -1
- app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -1
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +4 -0
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -1
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +2 -0
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -1
- app-rn-runtime/components/input/fileupload/fileupload.component.js +4 -2
- app-rn-runtime/components/input/fileupload/fileupload.component.js.map +1 -1
- app-rn-runtime/components/input/fileupload/fileupload.props.js +1 -0
- app-rn-runtime/components/input/fileupload/fileupload.props.js.map +1 -1
- app-rn-runtime/components/input/number/number.component.js +6 -3
- app-rn-runtime/components/input/number/number.component.js.map +1 -1
- app-rn-runtime/components/input/radioset/radioset.component.js +27 -7
- app-rn-runtime/components/input/radioset/radioset.component.js.map +1 -1
- app-rn-runtime/components/input/radioset/radioset.props.js +1 -0
- app-rn-runtime/components/input/radioset/radioset.props.js.map +1 -1
- app-rn-runtime/components/input/radioset/radioset.styles.js +1 -0
- app-rn-runtime/components/input/radioset/radioset.styles.js.map +1 -1
- app-rn-runtime/components/input/select/select.component.js +23 -9
- app-rn-runtime/components/input/select/select.component.js.map +1 -1
- app-rn-runtime/components/input/switch/switch.component.js +2 -2
- app-rn-runtime/components/input/switch/switch.component.js.map +1 -1
- app-rn-runtime/components/input/text/text.component.js +21 -0
- app-rn-runtime/components/input/text/text.component.js.map +1 -1
- app-rn-runtime/components/input/text/text.props.js +2 -0
- app-rn-runtime/components/input/text/text.props.js.map +1 -1
- app-rn-runtime/components/input/text/text.styles.js.map +1 -1
- app-rn-runtime/components/input/textarea/textarea.component.js +21 -0
- app-rn-runtime/components/input/textarea/textarea.component.js.map +1 -1
- app-rn-runtime/components/input/textarea/textarea.props.js +2 -0
- app-rn-runtime/components/input/textarea/textarea.props.js.map +1 -1
- app-rn-runtime/components/input/toggle/toggle.component.js +2 -4
- app-rn-runtime/components/input/toggle/toggle.component.js.map +1 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +2 -2
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js.map +1 -1
- app-rn-runtime/components/navigation/basenav/basenav.component.js.map +1 -1
- app-rn-runtime/components/navigation/navitem/navitem.component.js +2 -3
- app-rn-runtime/components/navigation/navitem/navitem.component.js.map +1 -1
- app-rn-runtime/components/navigation/popover/popover.component.js.map +1 -1
- app-rn-runtime/components/page/content/content.component.js +19 -4
- app-rn-runtime/components/page/content/content.component.js.map +1 -1
- app-rn-runtime/components/page/page-content/page-content.component.js +27 -2
- app-rn-runtime/components/page/page-content/page-content.component.js.map +1 -1
- app-rn-runtime/components/page/page-content/page-content.props.js +2 -2
- app-rn-runtime/components/page/page-content/page-content.props.js.map +1 -1
- app-rn-runtime/components/page/page-content/page-content.styles.js +6 -1
- app-rn-runtime/components/page/page-content/page-content.styles.js.map +1 -1
- app-rn-runtime/components/page/page.component.js.map +1 -1
- app-rn-runtime/components/page/page.props.js.map +1 -1
- app-rn-runtime/components/page/page.styles.js +7 -1
- app-rn-runtime/components/page/page.styles.js.map +1 -1
- app-rn-runtime/components/page/partial/partial.component.js +27 -1
- app-rn-runtime/components/page/partial/partial.component.js.map +1 -1
- app-rn-runtime/components/page/partial/partial.props.js.map +1 -1
- app-rn-runtime/components/page/partial/partial.styles.js +6 -1
- app-rn-runtime/components/page/partial/partial.styles.js.map +1 -1
- app-rn-runtime/components/page/tabbar/curve.js.map +1 -1
- app-rn-runtime/components/page/tabbar/tabbar.component.js.map +1 -1
- app-rn-runtime/components/page/tabbar/tabbar.props.js +1 -0
- app-rn-runtime/components/page/tabbar/tabbar.props.js.map +1 -1
- app-rn-runtime/components/prefab/prefab-container.component.js +27 -1
- app-rn-runtime/components/prefab/prefab-container.component.js.map +1 -1
- app-rn-runtime/components/prefab/prefab-container.props.js.map +1 -1
- app-rn-runtime/components/prefab/prefab-container.styles.js +6 -1
- app-rn-runtime/components/prefab/prefab-container.styles.js.map +1 -1
- app-rn-runtime/core/base.component.js +5 -3
- app-rn-runtime/core/base.component.js.map +1 -1
- app-rn-runtime/core/components/textinput.component.js +4 -3
- app-rn-runtime/core/components/textinput.component.js.map +1 -1
- app-rn-runtime/core/formatters.js.map +1 -1
- app-rn-runtime/core/key.extractor.js.map +1 -1
- app-rn-runtime/core/props.provider.js +4 -1
- app-rn-runtime/core/props.provider.js.map +1 -1
- app-rn-runtime/core/storage.service.js.map +1 -1
- app-rn-runtime/core/tappable.component.js +34 -27
- app-rn-runtime/core/tappable.component.js.map +1 -1
- app-rn-runtime/core/ui-preferences.context.js +7 -0
- app-rn-runtime/core/ui-preferences.context.js.map +1 -0
- app-rn-runtime/core/utils.js +87 -4
- app-rn-runtime/core/utils.js.map +1 -1
- app-rn-runtime/package.json +30 -7
- app-rn-runtime/runtime/App.js +4 -8
- app-rn-runtime/runtime/App.js.map +1 -1
- app-rn-runtime/runtime/App.navigator.js.map +1 -1
- app-rn-runtime/runtime/base-fragment.component.js +43 -13
- app-rn-runtime/runtime/base-fragment.component.js.map +1 -1
- app-rn-runtime/runtime/base-page.component.js.map +1 -1
- app-rn-runtime/runtime/base-partial.component.js.map +1 -1
- app-rn-runtime/runtime/base-prefab.component.js.map +1 -1
- app-rn-runtime/runtime/navigator/stack.navigator.js.map +1 -1
- app-rn-runtime/runtime/services/app-i18n.service.js +10 -0
- app-rn-runtime/runtime/services/app-i18n.service.js.map +1 -1
- app-rn-runtime/runtime/services/app-security.service.js +42 -2
- app-rn-runtime/runtime/services/app-security.service.js.map +1 -1
- app-rn-runtime/runtime/services/app-spinner.service.js +1 -1
- app-rn-runtime/runtime/services/app-spinner.service.js.map +1 -1
- app-rn-runtime/runtime/services/webprocess.service.js.map +1 -1
- app-rn-runtime/runtime/watcher.js.map +1 -1
- app-rn-runtime/styles/background.component.js +1 -0
- app-rn-runtime/styles/background.component.js.map +1 -1
- app-rn-runtime/styles/style-prop.validator.js.map +1 -1
- app-rn-runtime/styles/theme.js +5 -0
- app-rn-runtime/styles/theme.js.map +1 -1
- app-rn-runtime/styles/theme.variables.js +1 -0
- app-rn-runtime/styles/theme.variables.js.map +1 -1
- app-rn-runtime/variables/base-variable.js.map +1 -1
- app-rn-runtime/variables/device/file/upload-file.operation.js.map +1 -1
- app-rn-runtime/variables/device-variable.js.map +1 -1
- app-rn-runtime/variables/service-variable.js.map +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["Color","Dimensions","StatusBar","ThemeVariables","constructor","_defineProperty","primaryColor","lighten","rgb","toString","defaultColorF","defaultColor","defaultColorA","get","height","currentHeight","width","transparent","defaultColorE","defaultColor3","primaryContrastColor","defaultColorC","fade","widgetBorderColor","navitemActiveTextColor","defaultTextColor","secondaryColor","successColor","infoColor","warningColor","dangerColor","lightColor","darkColor","widgetBgColor","widgetHeaderBgColor","widgetHeaderTextColor","primaryColor3","tabContentBgColor","defaultColor8","dangerContrastColor","infoContrastColor","successContrastColor","warningContrastColor","muteColor","defaultColor6","badgeColor","badgeContrastColor","defaultColorD","defaultColorB","defaultColor4","defaultColor1","popoverBackgroundColor","listTitleColor","listSubTitleColor","widgetActiveHeaderBgColor","widgetActiveHeaderTextColor","primaryColor1","primaryColor2","defaultColor9","defaultColor7","defaultColor5","networkToastTextColor","_ThemeVariables"],"sources":["theme.variables.ts"],"sourcesContent":["import Color, { rgb } from \"color\";\nimport { Dimensions, StatusBar } from \"react-native\";\n\nexport default class ThemeVariables {\n \n primaryColor = '#4263eb';\n primaryColor1 = Color(this.primaryColor).lighten(0.2).rgb().toString();\n primaryColor2 = Color(this.primaryColor).lighten(0.4).rgb().toString();\n primaryColor3 = Color(this.primaryColor).lighten(0.6).rgb().toString();\n primaryContrastColor = '#ffffff';\n secondaryColor = '#6c757d';\n secondaryContrastColor = '#ffffff';\n successColor = '#28a745';\n successContrastColor = '#ffffff';\n infoColor = '#17a2b8';\n infoContrastColor = '#ffffff';\n warningColor = '#ffc107';\n warningContrastColor = '#ffffff';\n dangerColor = '#dc3545';\n dangerContrastColor = '#ffffff';\n defaultColor = '#000000';\n defaultColor1 = '#111111';\n defaultColor2 = '#222222';\n defaultColor3 = '#333333';\n defaultColor4 = '#444444';\n defaultColor5 = '#555555';\n defaultColor6 = '#666666';\n defaultColor7 = '#777777';\n defaultColor8 = '#888888';\n defaultColor9 = '#999999';\n defaultColorA = '#aaaaaa';\n defaultColorB = '#bbbbbb';\n defaultColorC = '#cccccc';\n defaultColorD = '#dddddd';\n defaultColorE = '#eeeeee';\n defaultColorF = '#ffffff';\n defaultBgColor = this.defaultColorF;\n defaultTextColor = '#151420';\n lightColor = this.defaultColorF;\n darkColor = this.defaultColor;\n muteColor = this.defaultColorA;\n heading1FontSize = 36;\n heading2FontSize = 30;\n heading3FontSize = 24;\n heading4FontSize = 18;\n heading5FontSize = 14;\n heading6FontSize = 12;\n transparent = 'transparent';\n badgeColor = '#6c757d';\n badgeContrastColor = '#ffffff';\n baseFont = 'Roboto';\n tabbarInactiveColor = '#d8d8d8';\n maxModalHeight = Dimensions.get('window').height - 64 - (StatusBar.currentHeight || 0);\n maxWidth = Dimensions.get(\"window\").width; \n\n //rippleColor\n rippleColor = this.transparent\n\n // page\n pageContentBgColor = this.defaultColorE;\n\n // common widget color\n widgetHeaderBgColor = this.defaultColorF;\n widgetHeaderTextColor = this.defaultColor3;\n widgetActiveHeaderBgColor = this.primaryColor;\n widgetActiveHeaderTextColor = this.primaryContrastColor;\n widgetBorderColor = this.defaultColorC;\n widgetBgColor = this.defaultColorF;\n\n //App Navbar\n titleBadgeBackgroundColor = Color('#151420').fade(0.8).rgb().toString();\n titleBadgeTextColor = '#151420';\n\n // Navbar variables\n navbarBackgroundColor = this.defaultColorF;\n navbarBorderColor = this.widgetBorderColor;\n navbarTextColor = '#151420';\n navbarIconSize = 32;\n navbarFontSize = 24;\n navbarImageSize = 32;\n navbarCaretColor = this.primaryColor;\n navitemChildBackgroundColor = this.primaryContrastColor;\n navitemChildTextColor = this.primaryColor;\n navitemChildIconColor = this.primaryColor;\n navitemActiveBackgroundColor = this.primaryColor;\n navitemActiveTextColor = this.primaryContrastColor;\n navitemActiveIconColor = this.navitemActiveTextColor;\n\n //Anchor variables\n linkDefaultColor = this.defaultTextColor;\n linkPrimaryColor = this.primaryColor;\n linkSecondaryColor = this.secondaryColor;\n linkSuccessColor = this.successColor;\n linkInfoColor = this.infoColor;\n linkWarningColor = this.warningColor;\n linkDangerColor = this.dangerColor;\n linkLightColor = this.lightColor;\n linkDarkColor = this.darkColor;\n anchorTextPadding = 2;\n\n //Grid Layout variables\n layoutGridBgColor = this.widgetBgColor;\n layoutGridBorderColor = this.widgetBorderColor;\n layoutGridStripColor1 = Color(this.primaryColor).lighten(0.9).rgb().toString();\n layoutGridHeaderBgColor = this.widgetHeaderBgColor;\n layoutGridHeaderTextColor = this.widgetHeaderTextColor;\n layoutGridStripColor2 = this.transparent;\n gridColumnBorderColor = this.widgetBorderColor;\n\n //Spinner Variables\n spinnerIconColor = this.primaryColor;\n\n //tabbar variables\n tabbarBackgroundColor = this.primaryContrastColor;\n tabbarTextColor = 'var(--tabbarInactiveColor)';\n tabbarIconColor = 'var(--tabbarInactiveColor)';\n tabShadowColor = this.defaultColor;\n tabActiveBackgroundColor = this.primaryColor3;\n tabActiveIconColor = this.primaryColor;\n tabLabelTextColor = this.primaryColor;\n\n centerHubItemColor = 'var(--primaryColor)';\n centerHubIconColor = 'var(--defaultColorF)';\n centerHubLabelColor = 'var(--defaultColorF)';\n\n // tab variables\n tabHeaderBgColor = this.widgetBgColor;\n tabHeaderTextColor = this.defaultColorA;\n tabHeaderIconColor = this.defaultColorA;\n tabActiveHeaderBgColor = this.defaultColorF;\n tabActiveHeaderTextColor = this.primaryColor;\n tabActiveIndicatorBgColor = this.primaryColor;\n tabActiveHeaderIconColor = this.primaryColor;\n tabBorderColor = this.widgetBorderColor;\n tabContentBgColor = this.widgetBgColor;\n tabArrowIndicatorBgColor = this.tabContentBgColor;\n tabArrowIndicatorDotColor = this.primaryColor;\n\n //label Variables\n labelHeaderColor = '#151420';\n labelDefaultColor = this.defaultColor8;\n labelDefaultContrastColor = this.defaultColorF;\n labelDangerColor = this.dangerColor;\n labelDangerContrastColor = this.dangerContrastColor;\n labelInfoColor = this.infoColor;\n labelInfoContrastColor = this.infoContrastColor;\n labelPrimaryColor = this.primaryColor;\n labelPrimaryContrastColor = this.primaryContrastColor;\n labelSuccessColor = this.successColor;\n labelSuccessContrastColor = this.successContrastColor;\n labelWarningColor = this.warningColor;\n labelWarningContrastColor = this.warningContrastColor;\n labelTextSuccessColor = this.successColor;\n labelTextDangerColor = this.dangerColor;\n labelTextInfoColor = this.infoColor;\n labelTextMutedColor = this.muteColor;\n labelTextPrimaryColor = this.primaryColor;\n labelTextWarningColor = this.warningColor;\n labelAsteriskColor = this.dangerColor;\n\n //List\n listHeaderBgColor = this.widgetHeaderBgColor;\n listTitleColor = this.widgetHeaderTextColor;\n listSubTitleColor = this.defaultColor6;\n listDividerColor = this.widgetBorderColor;\n itemBgColor = this.defaultColorF;\n selectedItemBorderColor = this.primaryColor;\n\n //button Variables\n buttonBorderColor = this.widgetBorderColor;\n buttonBadgeBackgroundColor = this.badgeColor;\n buttonBadgeTextColor = this.badgeContrastColor;\n buttonTextPadding = 2;\n buttonSuccessColor = this.successColor;\n buttonDefaultColor = this.defaultColorF;\n buttonPrimaryColor = this.primaryColor;\n buttonSecondaryColor = this.defaultColorF;\n buttonDangerColor = this.dangerColor;\n buttonWarningColor = this.warningColor;\n buttonInfoColor = this.infoColor;\n buttonSuccessTextColor = this.successContrastColor;\n buttonDefaultTextColor = this.defaultTextColor;\n buttonPrimaryTextColor = this.primaryContrastColor;\n buttonSecondaryTextColor = this.primaryColor;\n buttonDangerTextColor = this.dangerContrastColor;\n buttonWarningTextColor = this.warningContrastColor;\n buttonInfoTextColor = this.infoContrastColor;\n buttonLinkColor = this.transparent;\n buttonLinkTextColor = this.primaryColor;\n buttonDarkColor = this.darkColor;\n buttonDarkTextColor = this.lightColor;\n buttonLightColor = this.lightColor;\n buttonLightTextColor = this.darkColor;\n buttonGrpBorderColor = this.widgetBorderColor;\n buttonGrpBgColor = this.defaultColorF;\n\n //picture variables\n pictureThumbBgColor = this.defaultColorF;\n pictureThumbBorderColor = this.defaultColorD;\n\n //input variables\n inputTextColor = this.defaultTextColor;\n inputBorderColor = this.defaultColorD;\n inputBackgroundColor = this.defaultColorF;\n inputDisabledBgColor = '#f6f6f6';\n inputFocusBorderColor = this.primaryColor;\n inputInvalidBorderColor = this.dangerColor;\n inputPlaceholderColor = this.defaultColorB;\n\n //wheel picker variables\n wheelSelectedColor = '#1d1d1b';\n wheelColor = '#737373';\n\n //floating label\n floatingLabelColor = 'var(--inputPlaceholderColor)';\n activeFloatingLabelColor = 'var(--primaryColor)';\n\n //slider variables\n minimumTrackTintColor = this.primaryColor;\n maximumTrackTintColor = this.widgetHeaderBgColor;\n thumbTintColor = this.primaryColor;\n\n //rating color\n ratingIconColor = this.defaultColorA;\n ratingSelectedIconColor = '#eb8600';\n\n //toggle variables\n toggleOnColor = Color(this.primaryColor).lighten(0.4).rgb().toString();\n toggleOffColor = this.defaultColorB;\n toggleHandleColor = this.primaryColor;\n toggleHandleDisableColor = this.defaultColorA;\n toggleOffBorderColor = this.defaultColorB;\n toggleUnselectedTrackbgColor = this.defaultColorC;\n\n // radioset, checkboxset variables\n groupHeadingBgColor = 'var(--transparent)';\n checkedColor = 'var(--primaryColor)';\n checkedDisabledColor = 'var(--defaultColorA)';\n checkedEnabledColor = 'var(--defaultColorF)';\n checkboxBorderColor = 'var(--defaultColor9)';\n checkedBgColor = 'var(--primaryColor)';\n uncheckedBgColor = 'var(--transparent)';\n checkedIconColor = 'var(--defaultColorF)';\n checkedBorderColor = 'var(--primaryColor)';\n uncheckedBorderColor = 'var(--defaultColor9)';\n \n //form\n formBorderColor = this.widgetBorderColor;\n formTitleColor = this.defaultTextColor;\n formSubTitleColor = this.defaultColor6;\n\n //dialog\n dialogBackgroundColor = this.widgetBgColor;\n dialogBorderColor = this.widgetBorderColor;\n dialogCloseIconColor = this.defaultColorA;\n dialogLabelColor = this.defaultColor3;\n dialogIconColor = this.defaultColor4;\n dialogSupportingTextColor = this.defaultColor1;\n\n //alert dialog\n alertMessageColor = this.defaultColor8;\n\n badgeTextColor = this.defaultColorF;\n\n //popover\n popoverBackgroundColor = this.defaultColorF;\n popoverTitleBackgroundColor = this.defaultColorD;\n popoverTitleColor = this.defaultColor1;\n\n //menu\n menuIconColor = this.defaultColor6;\n menuTextColor = this.defaultColor6;\n menuBackgroundColor = this.popoverBackgroundColor;\n menuItemBorderColor = this.widgetBorderColor;\n menuItemIconColor = this.defaultColor6;\n menuItemTextColor = this.defaultColor6;\n\n //tile Variables\n tileDangerColor = this.dangerColor;\n tileInfoColor = this.infoColor;\n tilePrimaryColor = this.primaryColor;\n tileSuccessColor = this.successColor;\n tileWarningColor = this.warningColor;\n tileWellbgColor = this.defaultColorF;\n tileWellBorderColor = this.defaultColorE;\n tilePrimaryTextColor = this.primaryContrastColor;\n\n //switch\n switchBgColor = this.widgetBgColor;\n switchTextColor = this.defaultTextColor;\n switchActiveBgColor = this.primaryColor;\n switchActiveTextColor = this.primaryContrastColor;\n switchBorderColor = this.widgetBorderColor;\n\n //message\n messageSuccessColor = this.successColor;\n messageErrorColor = this.dangerColor;\n messageWarningColor = this.warningColor;\n messageInfoColor = this.infoColor;\n messageLoadingColor = this.infoColor;\n\n //panel\n panelBgColor = this.widgetBgColor;\n panelHeaderBgColor = this.widgetHeaderBgColor;\n panelHeaderTextColor = this.widgetHeaderTextColor;\n panelFooterColor = this.defaultColorD;\n panelBorderColor = this.widgetBorderColor;\n panelDangerColor = this.dangerColor;\n panelDefaultColor = this.defaultColor;\n panelInfoColor = this.infoColor;\n panelPrimaryColor = this.primaryColor;\n panelSuccessColor = this.successColor;\n panelWarningColor = this.warningColor;\n panelTextColor = this.defaultColorF;\n\n //card\n cardHeaderBgColor = this.defaultColorD;\n cardBgColor = this.widgetBgColor;\n cardTitleColor = this.listTitleColor;\n cardShadowColor = this.defaultColor;\n cardSubTitleColor = this.listSubTitleColor;\n cardBorderColor = this.defaultColorD;\n cardContentBgColor = this.defaultColorF;\n cardFooterBgColor = this.defaultColorF;\n cardFooterBorderColor = this.defaultColorD;\n\n //progress bar\n progressBarDefaultColor = this.primaryColor;\n progressBarTrackColor = this.defaultColorD;\n progressBarSuccessColor = this.successColor;\n progressBarDangerColor = this.dangerColor;\n progressBarInfoColor = this.infoColor;\n progressBarWarningColor = this.warningColor;\n\n //progress circle\n progressCircleDefaultColor = this.primaryColor;\n progressCircleSuccessColor = this.successColor;\n progressCircleDangerColor = this.dangerColor;\n progressCircleInfoColor = this.infoColor;\n progressCircleWarningColor = this.warningColor;\n\n //container\n containerOutlineColor = this.defaultColorC;\n\n //accordion\n accordionBgColor = this.widgetBgColor;\n accordionTitleColor = this.widgetHeaderTextColor;\n accordionHeaderBgColor = this.defaultColorF;\n accordionIconColor= this.defaultColorB;\n accordionActiveIconColor= this.defaultColorF;\n accordionActiveHeaderBgColor = this.widgetActiveHeaderBgColor;\n accordionActiveHeaderTextColor = this.widgetActiveHeaderTextColor;\n accordionBorderColor = this.defaultColorE;\n accordionPaneBgColor = this.defaultColorF;\n\n //carousel\n carouselPrevBtnColor=this.defaultColorF;\n carouselPrevBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselNextBtnColor=this.defaultColorF;\n carouselNextBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselDotWrapperBgColor=this.transparent;\n carouselDotColor=this.defaultColorF;\n carouselActiveDotColor=this.defaultColorF;\n\n //calendar\n calendarBgColor = this.defaultColorF;\n calendarHeaderBgColor = this.defaultColorF;\n calendarHeaderTextColor = this.defaultTextColor;\n calendarWeekDayTextColor = this.defaultColorA;\n calendarDateColor = this.defaultColor;\n calendarNotCurrentMonthDateColor = this.defaultColor6;\n calendarHeaderColor = this.defaultColorF;\n calendarPrevYearIconColor = this.defaultColorA;\n calendarNextYearIconColor = this.defaultColorA;\n calendarPrevMonthIconColor = this.defaultColorA;\n calendarNextMonthIconColor = this.defaultColorA;\n calendarDayBgColor = this.defaultColor;\n calendarSelectedDayBgColor = this.primaryColor;\n calendarSelectedDayTextColor = this.defaultColorF;\n calendarTodayBgColor = this.defaultColorE;\n calendarEventDay1Color = this.primaryColor1;\n calendarEventDay2Color = this.primaryColor2;\n calendarEventDay3Color = this.primaryColor3;\n\n //date picker\n datepickerBgColor = this.defaultColorF;\n\n //wizard\n wizardBackgroundColor = this.widgetBgColor;\n wizardStepActiveColor = this.primaryColor;\n wizardStepDoneColor = this.successColor;\n wizardStepDoneTextColor = this.defaultColorF;\n wizardStepIconColor = this.defaultColor9;\n wizardStepColor = this.defaultColor9;\n wizardActiveStepColor = this.defaultColorF;\n wizardDoneStepColor = this.defaultColorF;\n wizardStepTitleColor = this.defaultColorA;\n wizardNextBtnColor= this.primaryColor;\n wizardDoneBtnColor = this.successColor;\n wizardStepConnectorColor = this.defaultColorE;\n wizardStepCounerColor = this.defaultColor9;\n wizardBorderColor = this.widgetBorderColor;\n\n //Search\n searchBorderColor = this.defaultColorD;\n searchButtonColor = this.primaryColor;\n searchButtonTextColor = this.primaryContrastColor;\n searchItemBorderColor = this.defaultColorD;\n searchItemTextColor = this.defaultColor6;\n searchDropdownBackgroundColor = this.defaultColorF;\n searchDataCompleteItemBgColor = this.defaultColorE;\n searchBgContainerColor = this.defaultColorD;\n //Select\n selectBorderColor = this.defaultColorD;\n selecttemBorderColor = this.defaultColorD;\n selectItemTextColor = this.defaultColor6;\n selectDropdownBackgroundColor = this.defaultColorF;\n\n //Chip\n chipActiveTextColor = this.defaultColorF;\n chipDefaultTextColor = this.defaultColorA;\n chipborderColor = this.defaultColorD;\n chipContainerColor = this.defaultColorF; \n chipIconColor = this.primaryColor;\n chipSelectedOutlineColor = this.defaultColor6;\n chipSelectedContainerColor = this.defaultColor7;\n //Login\n loginErrorMsgColor = this.dangerContrastColor;\n loginErrorMsgBgColor = this.dangerColor;\n loginErrorMsgBorderColor = this.dangerColor;\n\n //camera\n cameraBgColor = this.defaultColorF;\n cameraBorderColor = this.widgetBorderColor;\n cameraTextColor = this.defaultTextColor;\n\n //barcode-scanner\n barcodeScannerBgColor = this.defaultColorF;\n barcodeScannerBorderColor = this.widgetBorderColor;\n barcodeScannerTextColor = this.defaultTextColor;\n\n //fileupload\n fileuploadBgColor = this.defaultColorF;\n fileuploadBorderColor = this.widgetBorderColor;\n fileuploadTextColor = this.defaultTextColor;\n\n //charts\n chartLabelColor = this.defaultTextColor;\n chartGraphLinesColor = this.defaultColorC;\n chartLineColor = this.defaultColor8;\n chartLegendBorder = this.defaultColor7;\n chartAxisColor = this.defaultColor5;\n chartAxisPointColor = this.defaultColor9;\n chartTitleColor = this.widgetHeaderTextColor;\n chartSubTitleColor = this.defaultColor6;\n\n // Network Toast\n networkToastBgColor = this.defaultColor3;\n networkToastTextColor = this.defaultColorF;\n networkToastActionTextColor = this.primaryColor;\n networkToastActionSeparatorColor = this.networkToastTextColor;\n\n // Skeleton\n skeletonBgColor = this.defaultColorE;\n skeletonAnimatedBgColor = this.defaultColorE;\n skeletonGradientBgColor = this.defaultColorF;\n skeletonGradientShadowColor = this.defaultColorF;\n skeletonGradientForegroundColor = this.transparent;\n\n // Audio\n audioPlayerBgColor = this.defaultColorF;\n audioPlayerFgColor = this.defaultColor3;\n\n //Tool tip\n tooltipBgColor = \"#e7f9fd\";\n\n // Wheel Picker\n wheelHighlightBorder = 'var(--primaryColor)';\n wheelSelectedTextColor = 'var(--wheelSelectedColor)';\n wheelTextColor = 'var(--wheelColor)';\n\n static INSTANCE = new ThemeVariables();\n}"],"mappings":";;;;AAAA,OAAOA,KAA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c,aAAa;IAAAd,eAAA,gCAChB,IAAI,CAACK,aAAa;IAAAL,eAAA,sCACZ,IAAI,CAACC,YAAY;IAAAD,eAAA,2CACZ,IAAI,CAACwD,qBAAqB;IAE7D;IAAAxD,eAAA,0BACkB,IAAI,CAACa,aAAa;IAAAb,eAAA,kCACV,IAAI,CAACa,aAAa;IAAAb,eAAA,kCAClB,IAAI,CAACK,aAAa;IAAAL,eAAA,sCACd,IAAI,CAACK,aAAa;IAAAL,eAAA,0CACd,IAAI,CAACY,WAAW;IAElD;IAAAZ,eAAA,6BACqB,IAAI,CAACK,aAAa;IAAAL,eAAA,6BAClB,IAAI,CAACc,aAAa;IAEvC;IAAAd,eAAA,yBACiB,SAAS;IAE1B;IAAAA,eAAA,+BACuB,qBAAqB;IAAAA,eAAA,iCACnB,2BAA2B;IAAAA,eAAA,yBACnC,mBAAmB;EAAA;AAGxC;AAACyD,eAAA,GA/doB3D,cAAc;AAAAE,eAAA,CAAdF,cAAc,cA8db,IAAIA,eAAc,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["Color","Dimensions","StatusBar","ThemeVariables","constructor","_defineProperty","primaryColor","lighten","rgb","toString","defaultColorF","defaultColor","defaultColorA","get","height","currentHeight","width","transparent","defaultColorE","defaultColor3","primaryContrastColor","defaultColorC","fade","widgetBorderColor","navitemActiveTextColor","defaultTextColor","secondaryColor","successColor","infoColor","warningColor","dangerColor","lightColor","darkColor","widgetBgColor","widgetHeaderBgColor","widgetHeaderTextColor","primaryColor3","tabContentBgColor","defaultColor8","dangerContrastColor","infoContrastColor","successContrastColor","warningContrastColor","muteColor","defaultColor6","badgeColor","badgeContrastColor","defaultColorD","defaultColorB","defaultColor4","defaultColor1","popoverBackgroundColor","listTitleColor","listSubTitleColor","widgetActiveHeaderBgColor","widgetActiveHeaderTextColor","primaryColor1","primaryColor2","defaultColor9","defaultColor7","defaultColor5","networkToastTextColor","_ThemeVariables"],"sources":["theme.variables.ts"],"sourcesContent":["import Color, { rgb } from \"color\";\nimport { Dimensions, StatusBar } from \"react-native\";\n\nexport default class ThemeVariables {\n \n primaryColor = '#4263eb';\n primaryColor1 = Color(this.primaryColor).lighten(0.2).rgb().toString();\n primaryColor2 = Color(this.primaryColor).lighten(0.4).rgb().toString();\n primaryColor3 = Color(this.primaryColor).lighten(0.6).rgb().toString();\n primaryContrastColor = '#ffffff';\n secondaryColor = '#6c757d';\n secondaryContrastColor = '#ffffff';\n successColor = '#28a745';\n successContrastColor = '#ffffff';\n infoColor = '#17a2b8';\n infoContrastColor = '#ffffff';\n warningColor = '#ffc107';\n warningContrastColor = '#ffffff';\n dangerColor = '#dc3545';\n dangerContrastColor = '#ffffff';\n defaultColor = '#000000';\n defaultColor1 = '#111111';\n defaultColor2 = '#222222';\n defaultColor3 = '#333333';\n defaultColor4 = '#444444';\n defaultColor5 = '#555555';\n defaultColor6 = '#666666';\n defaultColor7 = '#777777';\n defaultColor8 = '#888888';\n defaultColor9 = '#999999';\n defaultColorA = '#aaaaaa';\n defaultColorB = '#bbbbbb';\n defaultColorC = '#cccccc';\n defaultColorD = '#dddddd';\n defaultColorE = '#eeeeee';\n defaultColorF = '#ffffff';\n defaultBgColor = this.defaultColorF;\n defaultTextColor = '#151420';\n lightColor = this.defaultColorF;\n darkColor = this.defaultColor;\n muteColor = this.defaultColorA;\n heading1FontSize = 36;\n heading2FontSize = 30;\n heading3FontSize = 24;\n heading4FontSize = 18;\n heading5FontSize = 14;\n heading6FontSize = 12;\n transparent = 'transparent';\n badgeColor = '#6c757d';\n badgeContrastColor = '#ffffff';\n baseFont = 'Roboto';\n tabbarInactiveColor = '#d8d8d8';\n maxModalHeight = Dimensions.get('window').height - 64 - (StatusBar.currentHeight || 0);\n maxWidth = Dimensions.get(\"window\").width; \n skeletonBackgroundColor = \"#F4F5F8\";\n \n //rippleColor\n rippleColor = this.transparent\n\n // page\n pageContentBgColor = this.defaultColorE;\n\n // common widget color\n widgetHeaderBgColor = this.defaultColorF;\n widgetHeaderTextColor = this.defaultColor3;\n widgetActiveHeaderBgColor = this.primaryColor;\n widgetActiveHeaderTextColor = this.primaryContrastColor;\n widgetBorderColor = this.defaultColorC;\n widgetBgColor = this.defaultColorF;\n\n //App Navbar\n titleBadgeBackgroundColor = Color('#151420').fade(0.8).rgb().toString();\n titleBadgeTextColor = '#151420';\n\n // Navbar variables\n navbarBackgroundColor = this.defaultColorF;\n navbarBorderColor = this.widgetBorderColor;\n navbarTextColor = '#151420';\n navbarIconSize = 32;\n navbarFontSize = 24;\n navbarImageSize = 32;\n navbarCaretColor = this.primaryColor;\n navitemChildBackgroundColor = this.primaryContrastColor;\n navitemChildTextColor = this.primaryColor;\n navitemChildIconColor = this.primaryColor;\n navitemActiveBackgroundColor = this.primaryColor;\n navitemActiveTextColor = this.primaryContrastColor;\n navitemActiveIconColor = this.navitemActiveTextColor;\n\n //Anchor variables\n linkDefaultColor = this.defaultTextColor;\n linkPrimaryColor = this.primaryColor;\n linkSecondaryColor = this.secondaryColor;\n linkSuccessColor = this.successColor;\n linkInfoColor = this.infoColor;\n linkWarningColor = this.warningColor;\n linkDangerColor = this.dangerColor;\n linkLightColor = this.lightColor;\n linkDarkColor = this.darkColor;\n anchorTextPadding = 2;\n\n //Grid Layout variables\n layoutGridBgColor = this.widgetBgColor;\n layoutGridBorderColor = this.widgetBorderColor;\n layoutGridStripColor1 = Color(this.primaryColor).lighten(0.9).rgb().toString();\n layoutGridHeaderBgColor = this.widgetHeaderBgColor;\n layoutGridHeaderTextColor = this.widgetHeaderTextColor;\n layoutGridStripColor2 = this.transparent;\n gridColumnBorderColor = this.widgetBorderColor;\n\n //Spinner Variables\n spinnerIconColor = this.primaryColor;\n\n //tabbar variables\n tabbarBackgroundColor = this.primaryContrastColor;\n tabbarTextColor = 'var(--tabbarInactiveColor)';\n tabbarIconColor = 'var(--tabbarInactiveColor)';\n tabShadowColor = this.defaultColor;\n tabActiveBackgroundColor = this.primaryColor3;\n tabActiveIconColor = this.primaryColor;\n tabLabelTextColor = this.primaryColor;\n\n centerHubItemColor = 'var(--primaryColor)';\n centerHubIconColor = 'var(--defaultColorF)';\n centerHubLabelColor = 'var(--defaultColorF)';\n\n // tab variables\n tabHeaderBgColor = this.widgetBgColor;\n tabHeaderTextColor = this.defaultColorA;\n tabHeaderIconColor = this.defaultColorA;\n tabActiveHeaderBgColor = this.defaultColorF;\n tabActiveHeaderTextColor = this.primaryColor;\n tabActiveIndicatorBgColor = this.primaryColor;\n tabActiveHeaderIconColor = this.primaryColor;\n tabBorderColor = this.widgetBorderColor;\n tabContentBgColor = this.widgetBgColor;\n tabArrowIndicatorBgColor = this.tabContentBgColor;\n tabArrowIndicatorDotColor = this.primaryColor;\n\n //label Variables\n labelHeaderColor = '#151420';\n labelDefaultColor = this.defaultColor8;\n labelDefaultContrastColor = this.defaultColorF;\n labelDangerColor = this.dangerColor;\n labelDangerContrastColor = this.dangerContrastColor;\n labelInfoColor = this.infoColor;\n labelInfoContrastColor = this.infoContrastColor;\n labelPrimaryColor = this.primaryColor;\n labelPrimaryContrastColor = this.primaryContrastColor;\n labelSuccessColor = this.successColor;\n labelSuccessContrastColor = this.successContrastColor;\n labelWarningColor = this.warningColor;\n labelWarningContrastColor = this.warningContrastColor;\n labelTextSuccessColor = this.successColor;\n labelTextDangerColor = this.dangerColor;\n labelTextInfoColor = this.infoColor;\n labelTextMutedColor = this.muteColor;\n labelTextPrimaryColor = this.primaryColor;\n labelTextWarningColor = this.warningColor;\n labelAsteriskColor = this.dangerColor;\n\n //List\n listHeaderBgColor = this.widgetHeaderBgColor;\n listTitleColor = this.widgetHeaderTextColor;\n listSubTitleColor = this.defaultColor6;\n listDividerColor = this.widgetBorderColor;\n itemBgColor = this.defaultColorF;\n selectedItemBorderColor = this.primaryColor;\n\n //button Variables\n buttonBorderColor = this.widgetBorderColor;\n buttonBadgeBackgroundColor = this.badgeColor;\n buttonBadgeTextColor = this.badgeContrastColor;\n buttonTextPadding = 2;\n buttonSuccessColor = this.successColor;\n buttonDefaultColor = this.defaultColorF;\n buttonPrimaryColor = this.primaryColor;\n buttonSecondaryColor = this.defaultColorF;\n buttonDangerColor = this.dangerColor;\n buttonWarningColor = this.warningColor;\n buttonInfoColor = this.infoColor;\n buttonSuccessTextColor = this.successContrastColor;\n buttonDefaultTextColor = this.defaultTextColor;\n buttonPrimaryTextColor = this.primaryContrastColor;\n buttonSecondaryTextColor = this.primaryColor;\n buttonDangerTextColor = this.dangerContrastColor;\n buttonWarningTextColor = this.warningContrastColor;\n buttonInfoTextColor = this.infoContrastColor;\n buttonLinkColor = this.transparent;\n buttonLinkTextColor = this.primaryColor;\n buttonDarkColor = this.darkColor;\n buttonDarkTextColor = this.lightColor;\n buttonLightColor = this.lightColor;\n buttonLightTextColor = this.darkColor;\n buttonGrpBorderColor = this.widgetBorderColor;\n buttonGrpBgColor = this.defaultColorF;\n\n //picture variables\n pictureThumbBgColor = this.defaultColorF;\n pictureThumbBorderColor = this.defaultColorD;\n\n //input variables\n inputTextColor = this.defaultTextColor;\n inputBorderColor = this.defaultColorD;\n inputBackgroundColor = this.defaultColorF;\n inputDisabledBgColor = '#f6f6f6';\n inputFocusBorderColor = this.primaryColor;\n inputInvalidBorderColor = this.dangerColor;\n inputPlaceholderColor = this.defaultColorB;\n\n //wheel picker variables\n wheelSelectedColor = '#1d1d1b';\n wheelColor = '#737373';\n\n //floating label\n floatingLabelColor = 'var(--inputPlaceholderColor)';\n activeFloatingLabelColor = 'var(--primaryColor)';\n\n //slider variables\n minimumTrackTintColor = this.primaryColor;\n maximumTrackTintColor = this.widgetHeaderBgColor;\n thumbTintColor = this.primaryColor;\n\n //rating color\n ratingIconColor = this.defaultColorA;\n ratingSelectedIconColor = '#eb8600';\n\n //toggle variables\n toggleOnColor = Color(this.primaryColor).lighten(0.4).rgb().toString();\n toggleOffColor = this.defaultColorB;\n toggleHandleColor = this.primaryColor;\n toggleHandleDisableColor = this.defaultColorA;\n toggleOffBorderColor = this.defaultColorB;\n toggleUnselectedTrackbgColor = this.defaultColorC;\n\n // radioset, checkboxset variables\n groupHeadingBgColor = 'var(--transparent)';\n checkedColor = 'var(--primaryColor)';\n checkedDisabledColor = 'var(--defaultColorA)';\n checkedEnabledColor = 'var(--defaultColorF)';\n checkboxBorderColor = 'var(--defaultColor9)';\n checkedBgColor = 'var(--primaryColor)';\n uncheckedBgColor = 'var(--transparent)';\n checkedIconColor = 'var(--defaultColorF)';\n checkedBorderColor = 'var(--primaryColor)';\n uncheckedBorderColor = 'var(--defaultColor9)';\n \n //form\n formBorderColor = this.widgetBorderColor;\n formTitleColor = this.defaultTextColor;\n formSubTitleColor = this.defaultColor6;\n\n //dialog\n dialogBackgroundColor = this.widgetBgColor;\n dialogBorderColor = this.widgetBorderColor;\n dialogCloseIconColor = this.defaultColorA;\n dialogLabelColor = this.defaultColor3;\n dialogIconColor = this.defaultColor4;\n dialogSupportingTextColor = this.defaultColor1;\n\n //alert dialog\n alertMessageColor = this.defaultColor8;\n\n badgeTextColor = this.defaultColorF;\n\n //popover\n popoverBackgroundColor = this.defaultColorF;\n popoverTitleBackgroundColor = this.defaultColorD;\n popoverTitleColor = this.defaultColor1;\n\n //menu\n menuIconColor = this.defaultColor6;\n menuTextColor = this.defaultColor6;\n menuBackgroundColor = this.popoverBackgroundColor;\n menuItemBorderColor = this.widgetBorderColor;\n menuItemIconColor = this.defaultColor6;\n menuItemTextColor = this.defaultColor6;\n\n //tile Variables\n tileDangerColor = this.dangerColor;\n tileInfoColor = this.infoColor;\n tilePrimaryColor = this.primaryColor;\n tileSuccessColor = this.successColor;\n tileWarningColor = this.warningColor;\n tileWellbgColor = this.defaultColorF;\n tileWellBorderColor = this.defaultColorE;\n tilePrimaryTextColor = this.primaryContrastColor;\n\n //switch\n switchBgColor = this.widgetBgColor;\n switchTextColor = this.defaultTextColor;\n switchActiveBgColor = this.primaryColor;\n switchActiveTextColor = this.primaryContrastColor;\n switchBorderColor = this.widgetBorderColor;\n\n //message\n messageSuccessColor = this.successColor;\n messageErrorColor = this.dangerColor;\n messageWarningColor = this.warningColor;\n messageInfoColor = this.infoColor;\n messageLoadingColor = this.infoColor;\n\n //panel\n panelBgColor = this.widgetBgColor;\n panelHeaderBgColor = this.widgetHeaderBgColor;\n panelHeaderTextColor = this.widgetHeaderTextColor;\n panelFooterColor = this.defaultColorD;\n panelBorderColor = this.widgetBorderColor;\n panelDangerColor = this.dangerColor;\n panelDefaultColor = this.defaultColor;\n panelInfoColor = this.infoColor;\n panelPrimaryColor = this.primaryColor;\n panelSuccessColor = this.successColor;\n panelWarningColor = this.warningColor;\n panelTextColor = this.defaultColorF;\n\n //card\n cardHeaderBgColor = this.defaultColorD;\n cardBgColor = this.widgetBgColor;\n cardTitleColor = this.listTitleColor;\n cardShadowColor = this.defaultColor;\n cardSubTitleColor = this.listSubTitleColor;\n cardBorderColor = this.defaultColorD;\n cardContentBgColor = this.defaultColorF;\n cardFooterBgColor = this.defaultColorF;\n cardFooterBorderColor = this.defaultColorD;\n\n //progress bar\n progressBarDefaultColor = this.primaryColor;\n progressBarTrackColor = this.defaultColorD;\n progressBarSuccessColor = this.successColor;\n progressBarDangerColor = this.dangerColor;\n progressBarInfoColor = this.infoColor;\n progressBarWarningColor = this.warningColor;\n\n //progress circle\n progressCircleDefaultColor = this.primaryColor;\n progressCircleSuccessColor = this.successColor;\n progressCircleDangerColor = this.dangerColor;\n progressCircleInfoColor = this.infoColor;\n progressCircleWarningColor = this.warningColor;\n\n //container\n containerOutlineColor = this.defaultColorC;\n\n //accordion\n accordionBgColor = this.widgetBgColor;\n accordionTitleColor = this.widgetHeaderTextColor;\n accordionHeaderBgColor = this.defaultColorF;\n accordionIconColor= this.defaultColorB;\n accordionActiveIconColor= this.defaultColorF;\n accordionActiveHeaderBgColor = this.widgetActiveHeaderBgColor;\n accordionActiveHeaderTextColor = this.widgetActiveHeaderTextColor;\n accordionBorderColor = this.defaultColorE;\n accordionPaneBgColor = this.defaultColorF;\n\n //carousel\n carouselPrevBtnColor=this.defaultColorF;\n carouselPrevBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselNextBtnColor=this.defaultColorF;\n carouselNextBgColor=Color(this.defaultColorF).fade(0.6).rgb().toString();\n carouselDotWrapperBgColor=this.transparent;\n carouselDotColor=this.defaultColorF;\n carouselActiveDotColor=this.defaultColorF;\n\n //calendar\n calendarBgColor = this.defaultColorF;\n calendarHeaderBgColor = this.defaultColorF;\n calendarHeaderTextColor = this.defaultTextColor;\n calendarWeekDayTextColor = this.defaultColorA;\n calendarDateColor = this.defaultColor;\n calendarNotCurrentMonthDateColor = this.defaultColor6;\n calendarHeaderColor = this.defaultColorF;\n calendarPrevYearIconColor = this.defaultColorA;\n calendarNextYearIconColor = this.defaultColorA;\n calendarPrevMonthIconColor = this.defaultColorA;\n calendarNextMonthIconColor = this.defaultColorA;\n calendarDayBgColor = this.defaultColor;\n calendarSelectedDayBgColor = this.primaryColor;\n calendarSelectedDayTextColor = this.defaultColorF;\n calendarTodayBgColor = this.defaultColorE;\n calendarEventDay1Color = this.primaryColor1;\n calendarEventDay2Color = this.primaryColor2;\n calendarEventDay3Color = this.primaryColor3;\n\n //date picker\n datepickerBgColor = this.defaultColorF;\n\n //wizard\n wizardBackgroundColor = this.widgetBgColor;\n wizardStepActiveColor = this.primaryColor;\n wizardStepDoneColor = this.successColor;\n wizardStepDoneTextColor = this.defaultColorF;\n wizardStepIconColor = this.defaultColor9;\n wizardStepColor = this.defaultColor9;\n wizardActiveStepColor = this.defaultColorF;\n wizardDoneStepColor = this.defaultColorF;\n wizardStepTitleColor = this.defaultColorA;\n wizardNextBtnColor= this.primaryColor;\n wizardDoneBtnColor = this.successColor;\n wizardStepConnectorColor = this.defaultColorE;\n wizardStepCounerColor = this.defaultColor9;\n wizardBorderColor = this.widgetBorderColor;\n\n //Search\n searchBorderColor = this.defaultColorD;\n searchButtonColor = this.primaryColor;\n searchButtonTextColor = this.primaryContrastColor;\n searchItemBorderColor = this.defaultColorD;\n searchItemTextColor = this.defaultColor6;\n searchDropdownBackgroundColor = this.defaultColorF;\n searchDataCompleteItemBgColor = this.defaultColorE;\n searchBgContainerColor = this.defaultColorD;\n //Select\n selectBorderColor = this.defaultColorD;\n selecttemBorderColor = this.defaultColorD;\n selectItemTextColor = this.defaultColor6;\n selectDropdownBackgroundColor = this.defaultColorF;\n\n //Chip\n chipActiveTextColor = this.defaultColorF;\n chipDefaultTextColor = this.defaultColorA;\n chipborderColor = this.defaultColorD;\n chipContainerColor = this.defaultColorF; \n chipIconColor = this.primaryColor;\n chipSelectedOutlineColor = this.defaultColor6;\n chipSelectedContainerColor = this.defaultColor7;\n //Login\n loginErrorMsgColor = this.dangerContrastColor;\n loginErrorMsgBgColor = this.dangerColor;\n loginErrorMsgBorderColor = this.dangerColor;\n\n //camera\n cameraBgColor = this.defaultColorF;\n cameraBorderColor = this.widgetBorderColor;\n cameraTextColor = this.defaultTextColor;\n\n //barcode-scanner\n barcodeScannerBgColor = this.defaultColorF;\n barcodeScannerBorderColor = this.widgetBorderColor;\n barcodeScannerTextColor = this.defaultTextColor;\n\n //fileupload\n fileuploadBgColor = this.defaultColorF;\n fileuploadBorderColor = this.widgetBorderColor;\n fileuploadTextColor = this.defaultTextColor;\n\n //charts\n chartLabelColor = this.defaultTextColor;\n chartGraphLinesColor = this.defaultColorC;\n chartLineColor = this.defaultColor8;\n chartLegendBorder = this.defaultColor7;\n chartAxisColor = this.defaultColor5;\n chartAxisPointColor = this.defaultColor9;\n chartTitleColor = this.widgetHeaderTextColor;\n chartSubTitleColor = this.defaultColor6;\n\n // Network Toast\n networkToastBgColor = this.defaultColor3;\n networkToastTextColor = this.defaultColorF;\n networkToastActionTextColor = this.primaryColor;\n networkToastActionSeparatorColor = this.networkToastTextColor;\n\n // Skeleton\n skeletonBgColor = this.defaultColorE;\n skeletonAnimatedBgColor = this.defaultColorE;\n skeletonGradientBgColor = this.defaultColorF;\n skeletonGradientShadowColor = this.defaultColorF;\n skeletonGradientForegroundColor = this.transparent;\n\n // Audio\n audioPlayerBgColor = this.defaultColorF;\n audioPlayerFgColor = this.defaultColor3;\n\n //Tool tip\n tooltipBgColor = \"#e7f9fd\";\n\n // Wheel Picker\n wheelHighlightBorder = 'var(--primaryColor)';\n wheelSelectedTextColor = 'var(--wheelSelectedColor)';\n wheelTextColor = 'var(--wheelColor)';\n\n static INSTANCE = new ThemeVariables();\n}"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAe,OAAO;AAClC,SAASC,UAAU,EAAEC,SAAS,QAAQ,cAAc;AAEpD,eAAe,MAAMC,cAAc,CAAC;EAAAC,YAAA;IAAAC,eAAA,uBAEjB,SAAS;IAAAA,eAAA,wBACRL,KAAK,CAAC,IAAI,CAACM,YAAY,CAAC,CAACC,OAAO,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA,wBACtDL,KAAK,CAAC,IAAI,CAACM,YAAY,CAAC,CAACC,OAAO,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA,wBACtDL,KAAK,CAAC,IAAI,CAACM,YAAY,CAAC,CAACC,OAAO,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAAAJ,eAAA,+BAC/C,SAAS;IAAAA,eAAA,yBACf,SAAS;IAAAA,eAAA,iCACD,SAAS;IAAAA,eAAA,uBACnB,SAAS;IAAAA,eAAA,+BACD,SAAS;IAAAA,eAAA,oBACpB,SAAS;IAAAA,eAAA,4BACD,SAAS;IAAAA,eAAA,uBACd,SAAS;IAAAA,eAAA,+BACD,SAAS;IAAAA,eAAA,sBAClB,SAAS;IAAAA,eAAA,8BACD,SAAS;IAAAA,eAAA,uBAChB,SAAS;IAAAA,eAAA,wBACR,SAAS;IAAAA,eAAA,wBACT,SAAS;IAAAA,eAAA,wBACT,SAAS;IAAAA,eAAA,wBACT,SAAS;IAAAA,eAAA,wBACT,SAAS;IAAAA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BACxB,IAAI,CAACiC,aAAa;IAAAjC,eAAA,4BACf,IAAI,CAACsD,aAAa;IAAAtD,eAAA,yBACrB,IAAI,CAACuD,aAAa;IAAAvD,eAAA,8BACb,IAAI,CAACqD,aAAa;IAAArD,eAAA,0BACtB,IAAI,CAAC8B,qBAAqB;IAAA9B,eAAA,6BACvB,IAAI,CAACuC,aAAa;IAEvC;IAAAvC,eAAA,8BACsB,IAAI,CAACc,aAAa;IAAAd,eAAA,gCAChB,IAAI,CAACK,aAAa;IAAAL,eAAA,sCACZ,IAAI,CAACC,YAAY;IAAAD,eAAA,2CACZ,IAAI,CAACwD,qBAAqB;IAE7D;IAAAxD,eAAA,0BACkB,IAAI,CAACa,aAAa;IAAAb,eAAA,kCACV,IAAI,CAACa,aAAa;IAAAb,eAAA,kCAClB,IAAI,CAACK,aAAa;IAAAL,eAAA,sCACd,IAAI,CAACK,aAAa;IAAAL,eAAA,0CACd,IAAI,CAACY,WAAW;IAElD;IAAAZ,eAAA,6BACqB,IAAI,CAACK,aAAa;IAAAL,eAAA,6BAClB,IAAI,CAACc,aAAa;IAEvC;IAAAd,eAAA,yBACiB,SAAS;IAE1B;IAAAA,eAAA,+BACuB,qBAAqB;IAAAA,eAAA,iCACnB,2BAA2B;IAAAA,eAAA,yBACnC,mBAAmB;EAAA;AAGxC;AAACyD,eAAA,GAheoB3D,cAAc;AAAAE,eAAA,CAAdF,cAAc,cA+db,IAAIA,eAAc,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["DatasetUtil","EventNotifier","ROOT_LOGGER","isNumber","isObject","isBoolean","get","isEqual","VariableEvents","VARIABLE_LOGGER","extend","BaseVariable","constructor","config","_defineProperty","name","isList","twoWayBinding","dataSet","subscribe","BEFORE_INVOKE","isExecuting","info","AFTER_INVOKE","invoke","params","onSuccess","onError","paramProvider","Promise","resolve","doNext","reject","invokeOnParamChange","last","latest","getData","setData","isValidDataset","getValue","key","index","setValue","value","getItem","setItem","options","getChildDetails","addItem","removeItem","exactMatch","parentIndex","path","clearData","getValidDataset","getCount","pause","resume","destroy"],"sources":["base-variable.ts"],"sourcesContent":["import DatasetUtil from './utils/dataset-util';\nimport EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';\nimport { ROOT_LOGGER } from '@wavemaker/app-rn-runtime/core/logger';\nimport { isNumber, isObject, isBoolean, get, isEqual } from 'lodash';\nexport interface VariableConfig {\n name: string;\n paramProvider: Function;\n onBefore: Function;\n onComplete: Function;\n onSuccess: Function;\n onError: Function;\n isList: boolean;\n twoWayBinding: boolean;\n service: any;\n operation: string;\n operationId: string;\n operationType: string;\n serviceType: string;\n}\n\nexport enum VariableEvents {\n BEFORE_INVOKE = 'beforeInvoke',\n SUCCESS = 'success',\n ERROR = 'error',\n AFTER_INVOKE = 'afterInvoke'\n};\n\nexport const VARIABLE_LOGGER = ROOT_LOGGER.extend('variable');\n\nexport abstract class BaseVariable<T extends VariableConfig> extends EventNotifier {\n name: string = '';\n params: any = {};\n dataSet: any = {};\n isList: boolean;\n twoWayBinding: boolean;\n isExecuting = false;\n\n constructor(public config: T) {\n super();\n this.name = config.name;\n this.isList = config.isList;\n this.twoWayBinding = config.twoWayBinding;\n this.dataSet = this.isList ? []: this.dataSet;\n this.subscribe(VariableEvents.BEFORE_INVOKE, () => {\n this.isExecuting = true;\n VARIABLE_LOGGER.info(`Before Invoking variable ${this.name}`);\n });\n this.subscribe(VariableEvents.AFTER_INVOKE, () => {\n this.isExecuting = false;\n VARIABLE_LOGGER.info(`After Invoking variable ${this.name}`);\n });\n }\n\n public invoke(params?: {}, onSuccess?: Function, onError?: Function): Promise<BaseVariable<T>> {\n if (!params) {\n this.params = this.config.paramProvider();\n } else {\n this.params = params;\n }\n return Promise.resolve(this);\n }\n\n public doNext(): Promise<BaseVariable<T>> {\n return Promise.reject(this);\n }\n\n public invokeOnParamChange(): Promise<BaseVariable<T>> {\n const last = this.params;\n const latest = this.config.paramProvider();\n if (!isEqual(last, latest)) {\n return this.invoke(latest);\n }\n return Promise.resolve(this);\n }\n\n public getData() {\n return this.dataSet;\n }\n\n public setData(dataSet: any) {\n if (DatasetUtil.isValidDataset(dataSet, this.isList)) {\n this.dataSet = dataSet;\n }\n return this.dataSet;\n }\n\n getValue(key: string, index: number) {\n return DatasetUtil.getValue(this.dataSet, key, index, this.isList);\n }\n\n setValue(key: string, value: any) {\n return DatasetUtil.setValue(this.dataSet, key, value, this.isList);\n }\n\n getItem(index: number) {\n return DatasetUtil.getItem(this.dataSet, index, this.isList);\n }\n\n setItem(index: any, value: any, options?: any) {\n options = DatasetUtil.getChildDetails(this.dataSet, options, this.isList);\n return DatasetUtil.setItem(this.dataSet, index, value, options);\n }\n\n addItem(value: any, options?: any) {\n let index;\n if (isNumber(options)) {\n index = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n index = options.index;\n }\n\n options = DatasetUtil.getChildDetails(this.dataSet, options, this.isList);\n return DatasetUtil.addItem(this.dataSet, value, index, options);\n }\n\n removeItem(index: any, options?: any) {\n let exactMatch, parentIndex;\n if (options) {\n if (isBoolean(options)) {\n exactMatch = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n exactMatch = options.exactMatch;\n if (this.isList) {\n // @ts-ignore\n parentIndex = options.parentIndex || 0;\n }\n }\n }\n return DatasetUtil.removeItem(this.dataSet, index, { exactMatch, path: get(options, 'path'), parentIndex });\n }\n\n clearData() {\n this.dataSet = DatasetUtil.getValidDataset(this.isList);\n return this.dataSet;\n }\n\n getCount() {\n return DatasetUtil.getCount(this.dataSet, this.isList);\n }\n\n pause() {}\n\n resume() {}\n\n destroy() {}\n\n}\n"],"mappings":";;;AAAA,OAAOA,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,aAAa,MAAM,+CAA+C;AACzE,SAASC,WAAW,QAAQ,uCAAuC;AACnE,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,GAAG,EAAEC,OAAO,QAAQ,QAAQ;AAiBpE,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAKzB;AAED,OAAO,MAAMC,eAAe,GAAGP,WAAW,CAACQ,MAAM,CAAC,UAAU,CAAC;AAE7D,OAAO,MAAeC,YAAY,SAAmCV,aAAa,CAAC;EAQ/EW,WAAWA,CAAQC,MAAS,EAAE;IAC5B,KAAK,CAAC,CAAC;IAAC,KADSA,MAAS,GAATA,MAAS;IAAAC,eAAA,eAPb,EAAE;IAAAA,eAAA,iBACH,CAAC,CAAC;IAAAA,eAAA,kBACD,CAAC,CAAC;IAAAA,eAAA;IAAAA,eAAA;IAAAA,eAAA,sBAGH,KAAK;IAIjB,IAAI,CAACC,IAAI,GAAGF,MAAM,CAACE,IAAI;IACvB,IAAI,CAACC,MAAM,GAAGH,MAAM,CAACG,MAAM;IAC3B,IAAI,CAACC,aAAa,GAAGJ,MAAM,CAACI,aAAa;IACzC,IAAI,CAACC,OAAO,GAAG,IAAI,CAACF,MAAM,GAAG,EAAE,GAAE,IAAI,CAACE,OAAO;IAC7C,IAAI,CAACC,SAAS,CAACX,cAAc,CAACY,aAAa,EAAE,MAAM;MACjD,IAAI,CAACC,WAAW,GAAG,IAAI;MACvBZ,eAAe,CAACa,IAAI,
|
1
|
+
{"version":3,"names":["DatasetUtil","EventNotifier","ROOT_LOGGER","isNumber","isObject","isBoolean","get","isEqual","VariableEvents","VARIABLE_LOGGER","extend","BaseVariable","constructor","config","_defineProperty","name","isList","twoWayBinding","dataSet","subscribe","BEFORE_INVOKE","isExecuting","info","AFTER_INVOKE","invoke","params","onSuccess","onError","paramProvider","Promise","resolve","doNext","reject","invokeOnParamChange","last","latest","getData","setData","isValidDataset","getValue","key","index","setValue","value","getItem","setItem","options","getChildDetails","addItem","removeItem","exactMatch","parentIndex","path","clearData","getValidDataset","getCount","pause","resume","destroy"],"sources":["base-variable.ts"],"sourcesContent":["import DatasetUtil from './utils/dataset-util';\nimport EventNotifier from '@wavemaker/app-rn-runtime/core/event-notifier';\nimport { ROOT_LOGGER } from '@wavemaker/app-rn-runtime/core/logger';\nimport { isNumber, isObject, isBoolean, get, isEqual } from 'lodash';\nexport interface VariableConfig {\n name: string;\n paramProvider: Function;\n onBefore: Function;\n onComplete: Function;\n onSuccess: Function;\n onError: Function;\n isList: boolean;\n twoWayBinding: boolean;\n service: any;\n operation: string;\n operationId: string;\n operationType: string;\n serviceType: string;\n}\n\nexport enum VariableEvents {\n BEFORE_INVOKE = 'beforeInvoke',\n SUCCESS = 'success',\n ERROR = 'error',\n AFTER_INVOKE = 'afterInvoke'\n};\n\nexport const VARIABLE_LOGGER = ROOT_LOGGER.extend('variable');\n\nexport abstract class BaseVariable<T extends VariableConfig> extends EventNotifier {\n name: string = '';\n params: any = {};\n dataSet: any = {};\n isList: boolean;\n twoWayBinding: boolean;\n isExecuting = false;\n\n constructor(public config: T) {\n super();\n this.name = config.name;\n this.isList = config.isList;\n this.twoWayBinding = config.twoWayBinding;\n this.dataSet = this.isList ? []: this.dataSet;\n this.subscribe(VariableEvents.BEFORE_INVOKE, () => {\n this.isExecuting = true;\n VARIABLE_LOGGER.info(`Before Invoking variable ${this.name}`);\n });\n this.subscribe(VariableEvents.AFTER_INVOKE, () => {\n this.isExecuting = false;\n VARIABLE_LOGGER.info(`After Invoking variable ${this.name}`);\n });\n }\n\n public invoke(params?: {}, onSuccess?: Function, onError?: Function): Promise<BaseVariable<T>> {\n if (!params) {\n this.params = this.config.paramProvider();\n } else {\n this.params = params;\n }\n return Promise.resolve(this);\n }\n\n public doNext(): Promise<BaseVariable<T>> {\n return Promise.reject(this);\n }\n\n public invokeOnParamChange(): Promise<BaseVariable<T>> {\n const last = this.params;\n const latest = this.config.paramProvider();\n if (!isEqual(last, latest)) {\n return this.invoke(latest);\n }\n return Promise.resolve(this);\n }\n\n public getData() {\n return this.dataSet;\n }\n\n public setData(dataSet: any) {\n if (DatasetUtil.isValidDataset(dataSet, this.isList)) {\n this.dataSet = dataSet;\n }\n return this.dataSet;\n }\n\n getValue(key: string, index: number) {\n return DatasetUtil.getValue(this.dataSet, key, index, this.isList);\n }\n\n setValue(key: string, value: any) {\n return DatasetUtil.setValue(this.dataSet, key, value, this.isList);\n }\n\n getItem(index: number) {\n return DatasetUtil.getItem(this.dataSet, index, this.isList);\n }\n\n setItem(index: any, value: any, options?: any) {\n options = DatasetUtil.getChildDetails(this.dataSet, options, this.isList);\n return DatasetUtil.setItem(this.dataSet, index, value, options);\n }\n\n addItem(value: any, options?: any) {\n let index;\n if (isNumber(options)) {\n index = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n index = options.index;\n }\n\n options = DatasetUtil.getChildDetails(this.dataSet, options, this.isList);\n return DatasetUtil.addItem(this.dataSet, value, index, options);\n }\n\n removeItem(index: any, options?: any) {\n let exactMatch, parentIndex;\n if (options) {\n if (isBoolean(options)) {\n exactMatch = options;\n }\n if (isObject(options)) {\n // @ts-ignore\n exactMatch = options.exactMatch;\n if (this.isList) {\n // @ts-ignore\n parentIndex = options.parentIndex || 0;\n }\n }\n }\n return DatasetUtil.removeItem(this.dataSet, index, { exactMatch, path: get(options, 'path'), parentIndex });\n }\n\n clearData() {\n this.dataSet = DatasetUtil.getValidDataset(this.isList);\n return this.dataSet;\n }\n\n getCount() {\n return DatasetUtil.getCount(this.dataSet, this.isList);\n }\n\n pause() {}\n\n resume() {}\n\n destroy() {}\n\n}\n"],"mappings":";;;AAAA,OAAOA,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,aAAa,MAAM,+CAA+C;AACzE,SAASC,WAAW,QAAQ,uCAAuC;AACnE,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,GAAG,EAAEC,OAAO,QAAQ,QAAQ;AAiBpE,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAKzB;AAED,OAAO,MAAM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CAAC;EAC7G;EAEAE,SAASA,CAAA,EAAG;IACV,IAAI,CAACnC,OAAO,GAAGlB,WAAW,CAACsD,eAAe,CAAC,IAAI,CAACtC,MAAM,CAAC;IACvD,OAAO,IAAI,CAACE,OAAO;EACrB;EAEAqC,QAAQA,CAAA,EAAG;IACT,OAAOvD,WAAW,CAACuD,QAAQ,CAAC,IAAI,CAACrC,OAAO,EAAE,IAAI,CAACF,MAAM,CAAC;EACxD;EAEAwC,KAAKA,CAAA,EAAG,CAAC;EAETC,MAAMA,CAAA,EAAG,CAAC;EAEVC,OAAOA,CAAA,EAAG,CAAC;AAEf","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["axios","Platform","endsWith","DocumentPicker","FileExtensionTypesMap","namedParameters","copyToCacheDirectory","multiple","type","UploadFileOperation","chooseFile","getDocumentAsync","then","response","OS","file","uri","invoke","params","serverUrl","remoteFolder","Promise","resolve","localFile","browse","filePath","fileName","split","pop","arr","fileExtension","length","fileObj","name","formData","FormData","append","url","method","headers","data","error"],"sources":["upload-file.operation.tsx"],"sourcesContent":["import axios from 'axios';\nimport { Platform } from 'react-native';\nimport { endsWith } from 'lodash-es';\nimport * as DocumentPicker from 'expo-document-picker';\n\nimport { Operation } from '@wavemaker/app-rn-runtime/variables/device/operation.provider';\nimport { FileExtensionTypesMap } from '@wavemaker/app-rn-runtime/core/file-extension-types';\n\nexport interface UploadFileInput {\n localFile: string;\n remoteFolder: string;\n serverUrl: string;\n browse: boolean;\n}\n\nexport interface UploadFileOutput {\n fileName: string;\n path: string;\n length: number;\n success: boolean;\n inlinePath: string;\n errorMessage: string;\n}\n\nconst namedParameters = {\n copyToCacheDirectory: false,\n multiple: false,\n type: '*/*'\n};\n\nexport class UploadFileOperation implements Operation {\n\n public chooseFile() {\n return DocumentPicker.getDocumentAsync(namedParameters).then((response: any) => {\n return Platform.OS === 'web' ? response.file : response.uri;\n });\n }\n\n public invoke(params: UploadFileInput): Promise<UploadFileOutput> {\n params.serverUrl = endsWith(params.serverUrl, '/') ? params.serverUrl : params.serverUrl + '/';\n let serverUrl = params.serverUrl + 'services/file/uploadFile';\n if (params.remoteFolder) {\n serverUrl = serverUrl + '?relativePath=' + params.remoteFolder\n }\n return Promise.resolve().then(() => {\n if (!params.localFile && params.browse) {\n return this.chooseFile();\n } else {\n return params.localFile;\n }\n }).then((filePath: string) => {\n if (!filePath) {\n return;\n }\n const fileName: string | undefined = filePath.split('/').pop() || '';\n const arr: any = fileName.split('.');\n const fileExtension: string = '.' + arr[arr.length - 1];\n let fileObj = {\n uri: filePath,\n type: FileExtensionTypesMap[fileExtension],\n name: fileName,\n };\n\n let formData = new FormData();\n formData.append('files', fileObj);\n return axios({\n url: serverUrl,\n method: 'POST',\n headers: {\n 'Content-Type': 'multipart/form-data'\n },\n data: formData\n }).then(\n (response) => {\n return response.data[0];\n }, error => error);\n });\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,QAAQ,QAAQ,WAAW;AACpC,OAAO,KAAKC,cAAc,MAAM,sBAAsB;AAGtD,SAASC,qBAAqB,QAAQ,qDAAqD;AAkB3F,MAAMC,eAAe,GAAG;EACtBC,oBAAoB,EAAE,KAAK;EAC3BC,QAAQ,EAAE,KAAK;EACfC,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAMC,mBAAmB,CAAsB;EAE7CC,UAAUA,CAAA,EAAG;IAClB,OAAOP,cAAc,CAACQ,gBAAgB,CAACN,eAAe,CAAC,CAACO,IAAI,CAAEC,QAAa,IAAK;MAC9E,OAAOZ,QAAQ,CAACa,EAAE,KAAK,KAAK,GAAGD,QAAQ,CAACE,IAAI,GAAGF,QAAQ,CAACG,GAAG;IAC7D,CAAC,CAAC;EACJ;EAEOC,MAAMA,CAACC,MAAuB,EAA6B;IAChEA,MAAM,CAACC,SAAS,GAAGjB,QAAQ,CAACgB,MAAM,CAACC,SAAS,EAAE,GAAG,CAAC,GAAGD,MAAM,CAACC,SAAS,GAAGD,MAAM,CAACC,SAAS,GAAG,GAAG;IAC9F,IAAIA,SAAS,GAAGD,MAAM,CAACC,SAAS,GAAG,0BAA0B;IAC7D,IAAID,MAAM,CAACE,YAAY,EAAE;MACvBD,SAAS,GAAGA,SAAS,GAAG,gBAAgB,GAAGD,MAAM,CAACE,YAAY;IAChE;IACA,OAAOC,OAAO,CAACC,OAAO,CAAC,CAAC,CAACV,IAAI,CAAC,MAAM;MAClC,IAAI,CAACM,MAAM,CAACK,SAAS,IAAIL,MAAM,CAACM,MAAM,EAAE;QACtC,OAAO,IAAI,CAACd,UAAU,CAAC,CAAC;MAC1B,CAAC,MAAM;QACL,OAAOQ,MAAM,CAACK,SAAS;MACzB;IACF,CAAC,CAAC,CAACX,IAAI,CAAEa,QAAgB,IAAK;MAC5B,IAAI,CAACA,QAAQ,EAAE;QACb;MACF;MACA,MAAMC,QAA4B,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,IAAI,EAAE;MACpE,MAAMC,GAAQ,GAAGH,QAAQ,CAACC,KAAK,CAAC,GAAG,CAAC;MACpC,MAAMG,aAAqB,GAAG,GAAG,GAAGD,GAAG,CAACA,GAAG,CAACE,MAAM,GAAG,CAAC,CAAC;MACvD,IAAIC,OAAO,GAAG;QACZhB,GAAG,EAAES,QAAQ;QACbjB,IAAI,EAAEJ,qBAAqB,CAAC0B,aAAa,CAAC;QAC1CG,IAAI,EAAEP;MACR,CAAC;MAED,IAAIQ,QAAQ,GAAG,IAAIC,QAAQ,CAAC,CAAC;MAC7BD,QAAQ,CAACE,MAAM,CAAC,OAAO,EAAEJ,
|
1
|
+
{"version":3,"names":["axios","Platform","endsWith","DocumentPicker","FileExtensionTypesMap","namedParameters","copyToCacheDirectory","multiple","type","UploadFileOperation","chooseFile","getDocumentAsync","then","response","OS","file","uri","invoke","params","serverUrl","remoteFolder","Promise","resolve","localFile","browse","filePath","fileName","split","pop","arr","fileExtension","length","fileObj","name","formData","FormData","append","url","method","headers","data","error"],"sources":["upload-file.operation.tsx"],"sourcesContent":["import axios from 'axios';\nimport { Platform } from 'react-native';\nimport { endsWith } from 'lodash-es';\nimport * as DocumentPicker from 'expo-document-picker';\n\nimport { Operation } from '@wavemaker/app-rn-runtime/variables/device/operation.provider';\nimport { FileExtensionTypesMap } from '@wavemaker/app-rn-runtime/core/file-extension-types';\n\nexport interface UploadFileInput {\n localFile: string;\n remoteFolder: string;\n serverUrl: string;\n browse: boolean;\n}\n\nexport interface UploadFileOutput {\n fileName: string;\n path: string;\n length: number;\n success: boolean;\n inlinePath: string;\n errorMessage: string;\n}\n\nconst namedParameters = {\n copyToCacheDirectory: false,\n multiple: false,\n type: '*/*'\n};\n\nexport class UploadFileOperation implements Operation {\n\n public chooseFile() {\n return DocumentPicker.getDocumentAsync(namedParameters).then((response: any) => {\n return Platform.OS === 'web' ? response.file : response.uri;\n });\n }\n\n public invoke(params: UploadFileInput): Promise<UploadFileOutput> {\n params.serverUrl = endsWith(params.serverUrl, '/') ? params.serverUrl : params.serverUrl + '/';\n let serverUrl = params.serverUrl + 'services/file/uploadFile';\n if (params.remoteFolder) {\n serverUrl = serverUrl + '?relativePath=' + params.remoteFolder\n }\n return Promise.resolve().then(() => {\n if (!params.localFile && params.browse) {\n return this.chooseFile();\n } else {\n return params.localFile;\n }\n }).then((filePath: string) => {\n if (!filePath) {\n return;\n }\n const fileName: string | undefined = filePath.split('/').pop() || '';\n const arr: any = fileName.split('.');\n const fileExtension: string = '.' + arr[arr.length - 1];\n let fileObj = {\n uri: filePath,\n type: FileExtensionTypesMap[fileExtension],\n name: fileName,\n };\n\n let formData = new FormData();\n formData.append('files', fileObj as any);\n return axios({\n url: serverUrl,\n method: 'POST',\n headers: {\n 'Content-Type': 'multipart/form-data'\n },\n data: formData\n }).then(\n (response) => {\n return response.data[0];\n }, error => error);\n });\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAA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D,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,IAAI,EAAE;MACpE,MAAMC,GAAQ,GAAGH,QAAQ,CAACC,KAAK,CAAC,GAAG,CAAC;MACpC,MAAMG,aAAqB,GAAG,GAAG,GAAGD,GAAG,CAACA,GAAG,CAACE,MAAM,GAAG,CAAC,CAAC;MACvD,IAAIC,OAAO,GAAG;QACZhB,GAAG,EAAES,QAAQ;QACbjB,IAAI,EAAEJ,qBAAqB,CAAC0B,aAAa,CAAC;QAC1CG,IAAI,EAAEP;MACR,CAAC;MAED,IAAIQ,QAAQ,GAAG,IAAIC,QAAQ,CAAC,CAAC;MAC7BD,QAAQ,CAACE,MAAM,CAAC,OAAO,EAAEJ,OAAc,CAAC;MACxC,OAAOhC,KAAK,CAAC;QACXqC,GAAG,EAAElB,SAAS;QACdmB,MAAM,EAAE,MAAM;QACdC,OAAO,EAAE;UACP,cAAc,EAAE;QAClB,CAAC;QACDC,IAAI,EAAEN;MACR,CAAC,CAAC,CAACtB,IAAI,CACJC,QAAQ,IAAK;QACd,OAAOA,QAAQ,CAAC2B,IAAI,CAAC,CAAC,CAAC;MACzB,CAAC,EAAEC,KAAK,IAAIA,KAAK,CAAC;IACpB,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["BaseVariable","VariableEvents","OperationProvider","DeviceVariable","constructor","config","dataSet","isList","invoke","params","onSuccess","onError","operation","get","service","Promise","resolve","notify","BEFORE_INVOKE","then","data","SUCCESS","err","ERROR","AFTER_INVOKE"],"sources":["device-variable.ts"],"sourcesContent":["import { BaseVariable, VariableConfig, VariableEvents } from '@wavemaker/app-rn-runtime/variables/base-variable';\nimport OperationProvider, { Input, Output } from './device/operation.provider';\n\nexport interface DeviceVariableConfig extends VariableConfig {\n service: string;\n operation: string;\n}\n\nexport class DeviceVariable extends BaseVariable<DeviceVariableConfig> {\n\n constructor(config: DeviceVariableConfig) {\n super(config);\n this.dataSet = this.isList ? [] : {};\n }\n\n invoke(params: any, onSuccess?: Function, onError?: Function): Promise<DeviceVariable> {\n super.invoke(params, onSuccess, onError);\n const operation = OperationProvider.get(`${this.config.service}.${this.config.operation}`);\n if (!operation) {\n return Promise.resolve(this);\n }\n this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);\n\n return operation.invoke(this.params as Input, onSuccess, onError, this.config.operation, this)\n .then((data: Output) => {\n this.dataSet = data;\n this.config.onSuccess && this.config.onSuccess(this, this.dataSet);\n this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);\n }, (err: Output) => {\n this.config.onError && this.config.onError(this, null);\n this.notify(VariableEvents.ERROR, [this, this.dataSet]);\n }).then(() => {\n this.notify(VariableEvents.AFTER_INVOKE, [this, this.dataSet]);\n return this;\n });\n }\n}\n"],"mappings":"AAAA,SAASA,YAAY,EAAkBC,cAAc,QAAQ,mDAAmD;AAChH,OAAOC,iBAAiB,MAAyB,6BAA6B;AAO9E,OAAO,MAAMC,cAAc,SAASH,YAAY,CAAuB;EAErEI,WAAWA,CAACC,MAA4B,EAAE;IACxC,KAAK,CAACA,MAAM,CAAC;IACb,IAAI,CAACC,OAAO,GAAG,IAAI,CAACC,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;EACtC;EAEAC,MAAMA,CAACC,MAAW,EAAEC,SAAoB,EAAEC,OAAkB,EAA2B;IACrF,KAAK,CAACH,MAAM,CAACC,MAAM,EAAEC,SAAS,EAAEC,OAAO,CAAC;IACxC,MAAMC,SAAS,GAAGV,iBAAiB,CAACW,GAAG,
|
1
|
+
{"version":3,"names":["BaseVariable","VariableEvents","OperationProvider","DeviceVariable","constructor","config","dataSet","isList","invoke","params","onSuccess","onError","operation","get","service","Promise","resolve","notify","BEFORE_INVOKE","then","data","SUCCESS","err","ERROR","AFTER_INVOKE"],"sources":["device-variable.ts"],"sourcesContent":["import { BaseVariable, VariableConfig, VariableEvents } from '@wavemaker/app-rn-runtime/variables/base-variable';\nimport OperationProvider, { Input, Output } from './device/operation.provider';\n\nexport interface DeviceVariableConfig extends VariableConfig {\n service: string;\n operation: string;\n}\n\nexport class DeviceVariable extends BaseVariable<DeviceVariableConfig> {\n\n constructor(config: DeviceVariableConfig) {\n super(config);\n this.dataSet = this.isList ? [] : {};\n }\n\n invoke(params: any, onSuccess?: Function, onError?: Function): Promise<DeviceVariable> {\n super.invoke(params, onSuccess, onError);\n const operation = OperationProvider.get(`${this.config.service}.${this.config.operation}`);\n if (!operation) {\n return Promise.resolve(this);\n }\n this.notify(VariableEvents.BEFORE_INVOKE, [this, this.dataSet]);\n\n return operation.invoke(this.params as Input, onSuccess, onError, this.config.operation, this)\n .then((data: Output) => {\n this.dataSet = data;\n this.config.onSuccess && this.config.onSuccess(this, this.dataSet);\n this.notify(VariableEvents.SUCCESS, [this, this.dataSet]);\n }, (err: Output) => {\n this.config.onError && this.config.onError(this, null);\n this.notify(VariableEvents.ERROR, [this, this.dataSet]);\n }).then(() => {\n this.notify(VariableEvents.AFTER_INVOKE, [this, this.dataSet]);\n return this;\n });\n }\n}\n"],"mappings":"AAAA,SAASA,YAAY,EAAkBC,cAAc,QAAQ,mDAAmD;AAChH,OAAOC,iBAAiB,MAAyB,6BAA6B;AAO9E,OAAO,MAAMC,cAAc,SAASH,YAAY,CAAuB;EAErEI,WAAWA,CAACC,MAA4B,EAAE;IACxC,KAAK,CAACA,MAAM,CAAC;IACb,IAAI,CAACC,OAAO,GAAG,IAAI,CAACC,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;EACtC;EAEAC,MAAMA,CAACC,MAAW,EAAEC,SAAoB,EAAEC,OAAkB,EAA2B;IACrF,KAAK,CAACH,MAAM,CAACC,MAAM,EAAEC,SAAS,EAAEC,OAAO,CAAC;IACxC,MAAMC,SAAS,GAAGV,iBAAiB,CAACW,GAAG,CAAC,GAAG,IAAI,CAACR,MAAM,CAACS,OAAO,IAAI,IAAI,CAACT,MAAM,CAACO,SAAS,EAAE,CAAC;IAC1F,IAAI,CAACA,SAAS,EAAE;MACd,OAAOG,OAAO,CAACC,OAAO,CAAC,IAAI,CAAC;IAC9B;IACA,IAAI,CAACC,MAAM,CAAChB,cAAc,CAACiB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,CAACZ,OAAO,CAAC,CAAC;IAE/D,OAAOM,SAAS,CAACJ,MAAM,CAAC,IAAI,CAACC,MAAM,EAAWC,SAAS,EAAEC,OAAO,EAAE,IAAI,CAACN,MAAM,CAACO,SAAS,EAAE,IAAI,CAAC,CAC3FO,IAAI,CAAEC,IAAY,IAAK;MACtB,IAAI,CAACd,OAAO,GAAGc,IAAI;MACnB,IAAI,CAACf,MAAM,CAACK,SAAS,IAAI,IAAI,CAACL,MAAM,CAACK,SAAS,CAAC,IAAI,EAAE,IAAI,CAACJ,OAAO,CAAC;MAClE,IAAI,CAACW,MAAM,CAAChB,cAAc,CAACoB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAACf,OAAO,CAAC,CAAC;IAC3D,CAAC,EAAGgB,GAAW,IAAK;MAClB,IAAI,CAACjB,MAAM,CAACM,OAAO,IAAI,IAAI,CAACN,MAAM,CAACM,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;MACtD,IAAI,CAACM,MAAM,CAAChB,cAAc,CAACsB,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,CAACjB,OAAO,CAAC,CAAC;IACzD,CAAC,CAAC,CAACa,IAAI,CAAC,MAAM;MACZ,IAAI,CAACF,MAAM,CAAChB,cAAc,CAACuB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,CAAClB,OAAO,CAAC,CAAC;MAC9D,OAAO,IAAI;IACf,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["VariableEvents","isEqual","isString","deepCopy","ServiceVariable","_ServiceVariable","httpService","injector","_ServiceVariableEvents","constructor","config","variableConfig","name","dataSet","paramProvider","dataBinding","isList","service","serviceType","maxResults","_context","operation","operationId","operationType","controller","serviceInfo","getServiceInfo","httpClientService","inFlightBehavior","onSuccess","context","args","notify","AFTER_INVOKE","variable","data","options","SUCCESS","onError","ERROR","onCanUpdate","onBeforeUpdate","BEFORE_INVOKE","inputData","onResult","onBeforeDatasetReady","_defineProperty","get","subscribe","init","invokeOnParamChange","last","params","latest","invoke","Promise","resolve","doNext","page","pagination","parseInt","reject","dataset","onDataUpdated","appConfig","refresh","inputFields","console","error"],"sources":["service-variable.ts"],"sourcesContent":["import { VariableConfig, VariableEvents } from './base-variable';\nimport { isEqual, assignIn, isString } from 'lodash';\nimport AppConfig from '@wavemaker/app-rn-runtime/core/AppConfig';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { ServiceVariable as _ServiceVariable } from '@wavemaker/variables/src/model/variable/service-variable';\nimport httpService from '@wavemaker/app-rn-runtime/variables/http.service';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\n\nexport interface ServiceVariableConfig extends VariableConfig {\n baseUrl: string;\n maxResults: number;\n _context: any;\n serviceType: string;\n onCanUpdate: any;\n onBeforeUpdate: any;\n onResult: any;\n onBeforeDatasetReady: any;\n inFlightBehavior: string;\n controller: string;\n getServiceInfo: Function;\n}\n\nenum _ServiceVariableEvents {\n BEFORE_INVOKE = 'beforeInvoke'\n}\nexport type ServiceVariableEvents = _ServiceVariableEvents | VariableEvents;\n\nexport class ServiceVariable extends _ServiceVariable {\n private cancelTokenSource: any;\n params: any = {};\n public appConfig = injector.get<AppConfig>('APP_CONFIG');\n\n constructor(public config: ServiceVariableConfig) {\n let variableConfig: any = {\n name: config.name,\n dataSet: config.paramProvider(),\n dataBinding: {},\n isList: config.isList,\n service: config.service,\n serviceType: config.serviceType,\n maxResults: config.maxResults,\n _context: config._context,\n operation: config.operation,\n operationId: config.operationId,\n operationType: config.operationType,\n controller: config.controller,\n serviceInfo: config.getServiceInfo(),\n httpClientService: httpService,\n inFlightBehavior: config.inFlightBehavior,\n onSuccess: (context: any, args: any) => {\n this.notify(VariableEvents.AFTER_INVOKE, [args.variable, args.data, args.options]);\n this.notify(VariableEvents.SUCCESS, [args.variable, args.data, args.options]);\n return config.onSuccess && config.onSuccess(args.variable, args.data, args.options);\n },\n onError: (context: any, args: any) => {\n this.notify(VariableEvents.AFTER_INVOKE, [args.variable, args.data, args.options]);\n this.notify(VariableEvents.ERROR, [args.variable, args.data, args.options]);\n return config.onError && config.onError(args.variable, args.data, args.options);\n },\n onCanUpdate: (context: any, args: any) => {\n return config.onCanUpdate && config.onCanUpdate(args.variable, args.data, args.options);\n },\n onBeforeUpdate: (context: any, args: any) => {\n this.notify(VariableEvents.BEFORE_INVOKE, [args.variable, args.inputData, args.options]);\n return config.onBeforeUpdate && config.onBeforeUpdate(args.variable, args.inputData, args.options);\n },\n onResult: (context: any, args: any) => {\n return config.onResult && config.onResult(args.variable, args.data, args.options);\n },\n onBeforeDatasetReady: (context: any, args: any) => {\n return config.onBeforeDatasetReady && config.onBeforeDatasetReady(args.variable, args.data, args.options);\n }\n }\n if (config.onError) {\n variableConfig.onError = (context: any, args: any) => {\n return config.onError && config.onError(args.variable, args.data, args.options);\n };\n }\n super(variableConfig);\n this.subscribe(VariableEvents.AFTER_INVOKE, () => {\n this.dataBinding = {};\n });\n this.init();\n }\n\n invokeOnParamChange() {\n const last = this.params;\n const latest = this.config.paramProvider();\n if (!isEqual(last, latest)) {\n this.invoke(latest);\n }\n return Promise.resolve(this);\n }\n\n public async doNext() {\n let page = 0 as any;\n if (isString(this.pagination.page)) {\n page = (parseInt(this.pagination.page) + 1) + '';\n } else {\n page = this.pagination.page + 1;\n }\n return new Promise((resolve, reject) => {\n this.invoke({\n page: page\n },\n (dataset: any) => resolve(dataset),\n reject);\n });\n }\n\n onDataUpdated() {\n this.appConfig.refresh(false);\n }\n\n invoke(options? : any, onSuccess?: Function, onError?: Function) {\n this.params = this.config.paramProvider();\n this.params = deepCopy({} as any, this.params, this.dataBinding);\n if (options) {\n this.params = deepCopy({} as any, this.params, options.inputFields ? options.inputFields : options);\n }\n options = options || {};\n options.inputFields = this.params;\n // service definitions data depends on whether user logged in or not\n // Try to get the latest definition\n this.serviceInfo = this.config.getServiceInfo();\n if (!this.serviceInfo) {\n console.error(`Service Info is missing for (${this.name}) variable.`)\n }\n return super.invoke(options, onSuccess, onError);\n }\n\n // cancel($file?: any) {\n // // CHecks if there is any pending requests in the queue\n // if ($queue.requestsQueue.has(this)) {\n // // If the request is a File upload request then modify the elements associated with file upload\n // // else unsubscribe from the observable on the variable.\n // if (false) {\n // // $file._uploadProgress.unsubscribe();\n // // $file.status = 'abort';\n // // this.totalFilesCount--;\n // // initiateCallback(VARIABLE_CONSTANTS.EVENT.ABORT, variable, $file);\n // // if (!this.isFileUploadInProgress(variable.dataBinding) && this.totalFilesCount === 0) {\n // // $queue.process(variable);\n // // // notify inflight variable\n // // this.notifyInflight(variable, false);\n // // }\n // } else {\n // if (true) {\n // this.cancelTokenSource.cancel();\n // $queue.process(this);\n // // notify inflight variable\n // //this.notifyInflight(variable, false);\n // }\n // }\n // }\n // }\n\n // setInput(key: any, val?: any, options?: any) {\n // this.params = merge({}, this.config.paramProvider(), _setInput(this.params, key, val, options));\n // return this.params;\n // }\n}\n"],"mappings":";;;AAAA,SAAyBA,cAAc,QAAQ,iBAAiB;AAChE,SAASC,OAAO,EAAYC,QAAQ,QAAQ,QAAQ;AAEpD,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,SAASC,eAAe,IAAIC,gBAAgB,QAAQ,0DAA0D;AAC9G,OAAOC,WAAW,MAAM,kDAAkD;AAC1E,OAAOC,QAAQ,MAAM,yCAAyC;AAAC,IAgB1DC,sBAAsB,0BAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAA,OAAtBA,sBAAsB;AAAA,EAAtBA,sBAAsB;AAK3B,OAAO,MAAMJ,eAAe,SAASC,gBAAgB,CAAC;EAKpDI,WAAWA,CAAQC,MAA6B,EAAE;IAChD,IAAIC,cAAmB,GAAG;MACxBC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P,SAAS,EAAES,OAAO,CAAC;EAClD;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;AACF","ignoreList":[]}
|
1
|
+
{"version":3,"names":["VariableEvents","isEqual","isString","deepCopy","ServiceVariable","_ServiceVariable","httpService","injector","_ServiceVariableEvents","constructor","config","variableConfig","name","dataSet","paramProvider","dataBinding","isList","service","serviceType","maxResults","_context","operation","operationId","operationType","controller","serviceInfo","getServiceInfo","httpClientService","inFlightBehavior","onSuccess","context","args","notify","AFTER_INVOKE","variable","data","options","SUCCESS","onError","ERROR","onCanUpdate","onBeforeUpdate","BEFORE_INVOKE","inputData","onResult","onBeforeDatasetReady","_defineProperty","get","subscribe","init","invokeOnParamChange","last","params","latest","invoke","Promise","resolve","doNext","page","pagination","parseInt","reject","dataset","onDataUpdated","appConfig","refresh","inputFields","console","error"],"sources":["service-variable.ts"],"sourcesContent":["import { VariableConfig, VariableEvents } from './base-variable';\nimport { isEqual, assignIn, isString } from 'lodash';\nimport AppConfig from '@wavemaker/app-rn-runtime/core/AppConfig';\nimport { deepCopy } from '@wavemaker/app-rn-runtime/core/utils';\nimport { ServiceVariable as _ServiceVariable } from '@wavemaker/variables/src/model/variable/service-variable';\nimport httpService from '@wavemaker/app-rn-runtime/variables/http.service';\nimport injector from '@wavemaker/app-rn-runtime/core/injector';\n\nexport interface ServiceVariableConfig extends VariableConfig {\n baseUrl: string;\n maxResults: number;\n _context: any;\n serviceType: string;\n onCanUpdate: any;\n onBeforeUpdate: any;\n onResult: any;\n onBeforeDatasetReady: any;\n inFlightBehavior: string;\n controller: string;\n getServiceInfo: Function;\n}\n\nenum _ServiceVariableEvents {\n BEFORE_INVOKE = 'beforeInvoke'\n}\nexport type ServiceVariableEvents = _ServiceVariableEvents | VariableEvents;\n\nexport class ServiceVariable extends _ServiceVariable {\n private cancelTokenSource: any;\n params: any = {};\n public appConfig = injector.get<AppConfig>('APP_CONFIG');\n\n constructor(public config: ServiceVariableConfig) {\n let variableConfig: any = {\n name: config.name,\n dataSet: config.paramProvider(),\n dataBinding: {},\n isList: config.isList,\n service: config.service,\n serviceType: config.serviceType,\n maxResults: config.maxResults,\n _context: config._context,\n operation: config.operation,\n operationId: config.operationId,\n operationType: config.operationType,\n controller: config.controller,\n serviceInfo: config.getServiceInfo(),\n httpClientService: httpService,\n inFlightBehavior: config.inFlightBehavior,\n onSuccess: (context: any, args: any) => {\n this.notify(VariableEvents.AFTER_INVOKE, [args.variable, args.data, args.options]);\n this.notify(VariableEvents.SUCCESS, [args.variable, args.data, args.options]);\n return config.onSuccess && config.onSuccess(args.variable, args.data, args.options);\n },\n onError: (context: any, args: any) => {\n this.notify(VariableEvents.AFTER_INVOKE, [args.variable, args.data, args.options]);\n this.notify(VariableEvents.ERROR, [args.variable, args.data, args.options]);\n return config.onError && config.onError(args.variable, args.data, args.options);\n },\n onCanUpdate: (context: any, args: any) => {\n return config.onCanUpdate && config.onCanUpdate(args.variable, args.data, args.options);\n },\n onBeforeUpdate: (context: any, args: any) => {\n this.notify(VariableEvents.BEFORE_INVOKE, [args.variable, args.inputData, args.options]);\n return config.onBeforeUpdate && config.onBeforeUpdate(args.variable, args.inputData, args.options);\n },\n onResult: (context: any, args: any) => {\n return config.onResult && config.onResult(args.variable, args.data, args.options);\n },\n onBeforeDatasetReady: (context: any, args: any) => {\n return config.onBeforeDatasetReady && config.onBeforeDatasetReady(args.variable, args.data, args.options);\n }\n }\n if (config.onError) {\n variableConfig.onError = (context: any, args: any) => {\n return config.onError && config.onError(args.variable, args.data, args.options);\n };\n }\n super(variableConfig);\n this.subscribe(VariableEvents.AFTER_INVOKE, () => {\n this.dataBinding = {};\n });\n this.init();\n }\n\n invokeOnParamChange() {\n const last = this.params;\n const latest = this.config.paramProvider();\n if (!isEqual(last, latest)) {\n this.invoke(latest);\n }\n return Promise.resolve(this);\n }\n\n public async doNext() {\n let page = 0 as any;\n if (isString(this.pagination.page)) {\n page = (parseInt(this.pagination.page) + 1) + '';\n } else {\n page = this.pagination.page + 1;\n }\n return new Promise((resolve, reject) => {\n this.invoke({\n page: page\n },\n (dataset: any) => resolve(dataset),\n reject);\n });\n }\n\n onDataUpdated() {\n this.appConfig.refresh(false);\n }\n\n invoke(options? : any, onSuccess?: Function, onError?: Function) {\n this.params = this.config.paramProvider();\n this.params = deepCopy({} as any, this.params, this.dataBinding);\n if (options) {\n this.params = deepCopy({} as any, this.params, options.inputFields ? options.inputFields : options);\n }\n options = options || {};\n options.inputFields = this.params;\n // service definitions data depends on whether user logged in or not\n // Try to get the latest definition\n this.serviceInfo = this.config.getServiceInfo();\n if (!this.serviceInfo) {\n console.error(`Service Info is missing for (${this.name}) variable.`)\n }\n return super.invoke(options, onSuccess, onError);\n }\n\n // cancel($file?: any) {\n // // CHecks if there is any pending requests in the queue\n // if ($queue.requestsQueue.has(this)) {\n // // If the request is a File upload request then modify the elements associated with file upload\n // // else unsubscribe from the observable on the variable.\n // if (false) {\n // // $file._uploadProgress.unsubscribe();\n // // $file.status = 'abort';\n // // this.totalFilesCount--;\n // // initiateCallback(VARIABLE_CONSTANTS.EVENT.ABORT, variable, $file);\n // // if (!this.isFileUploadInProgress(variable.dataBinding) && this.totalFilesCount === 0) {\n // // $queue.process(variable);\n // // // notify inflight variable\n // // this.notifyInflight(variable, false);\n // // }\n // } else {\n // if (true) {\n // this.cancelTokenSource.cancel();\n // $queue.process(this);\n // // notify inflight variable\n // //this.notifyInflight(variable, false);\n // }\n // }\n // }\n // }\n\n // setInput(key: any, val?: any, options?: any) {\n // this.params = merge({}, this.config.paramProvider(), _setInput(this.params, key, val, options));\n // return this.params;\n // }\n}\n"],"mappings":";;;AAAA,SAAyBA,cAAc,QAAQ,iBAAiB;AAChE,SAASC,OAAO,EAAYC,QAAQ,QAAQ,QAAQ;AAEpD,SAASC,QAAQ,QAAQ,sCAAsC;AAC/D,S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