@wavemaker/app-rn-runtime 11.9.2-rc.5853 → 11.9.3-1.5914
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app-rn-runtime/actions/notification-action.js +1 -1
- app-rn-runtime/actions/timer-action.js +1 -1
- app-rn-runtime/components/advanced/carousel/carousel-content/carousel-content.props.js +1 -1
- app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.props.js +1 -1
- app-rn-runtime/components/advanced/carousel/carousel.component.js +62 -48
- app-rn-runtime/components/advanced/carousel/carousel.component.js.map +1 -1
- app-rn-runtime/components/advanced/carousel/carousel.props.js +2 -2
- app-rn-runtime/components/advanced/carousel/carousel.props.js.map +1 -1
- app-rn-runtime/components/advanced/carousel/carousel.styles.js +7 -9
- app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +1 -1
- app-rn-runtime/components/advanced/login/login.component.js +2 -2
- app-rn-runtime/components/advanced/login/login.props.js +1 -1
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.component.js +2 -2
- app-rn-runtime/components/advanced/network-info-toaster/network-info-toaster.props.js +1 -1
- app-rn-runtime/components/advanced/webview/webview.component.js +2 -2
- app-rn-runtime/components/advanced/webview/webview.props.js +1 -1
- app-rn-runtime/components/basic/anchor/anchor.component.js +1 -1
- app-rn-runtime/components/basic/anchor/anchor.props.js +1 -1
- app-rn-runtime/components/basic/animatedview.component.js +2 -2
- app-rn-runtime/components/basic/audio/audio.component.js +1 -1
- app-rn-runtime/components/basic/audio/audio.props.js +1 -1
- app-rn-runtime/components/basic/button/button.component.js +1 -1
- app-rn-runtime/components/basic/button/button.props.js +1 -1
- app-rn-runtime/components/basic/buttongroup/buttongroup.props.js +1 -1
- app-rn-runtime/components/basic/custom/custom.props.js +1 -1
- app-rn-runtime/components/basic/icon/icon.component.js +2 -2
- app-rn-runtime/components/basic/icon/icon.props.js +1 -1
- app-rn-runtime/components/basic/label/label.component.js +2 -2
- app-rn-runtime/components/basic/label/label.props.js +1 -1
- app-rn-runtime/components/basic/lottie/lottie.component.js +1 -1
- app-rn-runtime/components/basic/lottie/lottie.props.js +1 -1
- app-rn-runtime/components/basic/message/message.component.js +2 -2
- app-rn-runtime/components/basic/message/message.props.js +1 -1
- app-rn-runtime/components/basic/modal/modal.props.js +1 -1
- app-rn-runtime/components/basic/picture/picture.component.js +12 -6
- app-rn-runtime/components/basic/picture/picture.component.js.map +1 -1
- app-rn-runtime/components/basic/picture/picture.props.js +2 -1
- app-rn-runtime/components/basic/picture/picture.props.js.map +1 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js +1 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.component.js.map +1 -1
- app-rn-runtime/components/basic/progress-bar/progress-bar.props.js +1 -1
- app-rn-runtime/components/basic/progress-circle/progress-circle.component.js +2 -2
- app-rn-runtime/components/basic/progress-circle/progress-circle.props.js +1 -1
- app-rn-runtime/components/basic/search/local-data-provider.js +1 -1
- app-rn-runtime/components/basic/search/search.component.js +5 -5
- app-rn-runtime/components/basic/search/search.component.js.map +1 -1
- app-rn-runtime/components/basic/search/search.props.js +1 -1
- app-rn-runtime/components/basic/skeleton/skeleton.component.js +1 -1
- app-rn-runtime/components/basic/skeleton/skeleton.props.js +1 -1
- app-rn-runtime/components/basic/spinner/spinner.component.js +2 -2
- app-rn-runtime/components/basic/spinner/spinner.props.js +1 -1
- app-rn-runtime/components/basic/tooltip/tooltip.props.js +1 -1
- app-rn-runtime/components/basic/video/video.component.js +101 -24
- app-rn-runtime/components/basic/video/video.component.js.map +1 -1
- app-rn-runtime/components/basic/video/video.props.js +8 -1
- app-rn-runtime/components/basic/video/video.props.js.map +1 -1
- app-rn-runtime/components/chart/area-chart/area-chart.component.js +2 -2
- app-rn-runtime/components/chart/area-chart/area-chart.props.js +1 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.component.js +1 -1
- app-rn-runtime/components/chart/bar-chart/bar-chart.props.js +1 -1
- app-rn-runtime/components/chart/basechart.component.js +1 -1
- app-rn-runtime/components/chart/basechart.props.js +1 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.component.js +1 -1
- app-rn-runtime/components/chart/bubble-chart/bubble-chart.props.js +1 -1
- app-rn-runtime/components/chart/donut-chart/donut-chart.props.js +1 -1
- app-rn-runtime/components/chart/line-chart/line-chart.component.js +1 -1
- app-rn-runtime/components/chart/line-chart/line-chart.props.js +1 -1
- app-rn-runtime/components/chart/pie-chart/pie-chart.component.js +2 -2
- app-rn-runtime/components/chart/pie-chart/pie-chart.props.js +1 -1
- app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +2 -2
- app-rn-runtime/components/chart/stack-chart/stack-chart.props.js +1 -1
- app-rn-runtime/components/container/accordion/accordion.component.js +2 -2
- app-rn-runtime/components/container/accordion/accordion.props.js +1 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +1 -1
- app-rn-runtime/components/container/accordion/accordionpane/accordionpane.props.js +1 -1
- app-rn-runtime/components/container/container.component.js +2 -2
- app-rn-runtime/components/container/container.props.js +1 -1
- app-rn-runtime/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +1 -1
- app-rn-runtime/components/container/layoutgrid/gridrow/gridrow.props.js +1 -1
- app-rn-runtime/components/container/layoutgrid/layoutgrid.props.js +1 -1
- app-rn-runtime/components/container/linearlayout/linearlayout.props.js +1 -1
- app-rn-runtime/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +1 -1
- app-rn-runtime/components/container/panel/panel-content/panel-content.props.js +1 -1
- app-rn-runtime/components/container/panel/panel-footer/panel-footer.props.js +1 -1
- app-rn-runtime/components/container/panel/panel.component.js +4 -4
- app-rn-runtime/components/container/panel/panel.component.js.map +1 -1
- app-rn-runtime/components/container/panel/panel.props.js +1 -1
- app-rn-runtime/components/container/partial-host.component.js +1 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js +31 -17
- app-rn-runtime/components/container/tabs/tabheader/tabheader.component.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js +2 -1
- app-rn-runtime/components/container/tabs/tabheader/tabheader.props.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +1 -1
- app-rn-runtime/components/container/tabs/tabpane/tabpane.props.js +1 -1
- app-rn-runtime/components/container/tabs/tabs.component.js +5 -4
- app-rn-runtime/components/container/tabs/tabs.component.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabs.props.js +2 -1
- app-rn-runtime/components/container/tabs/tabs.props.js.map +1 -1
- app-rn-runtime/components/container/tabs/tabs.styles.js.map +1 -1
- app-rn-runtime/components/container/tile/tile.component.js +1 -1
- app-rn-runtime/components/container/tile/tile.props.js +1 -1
- app-rn-runtime/components/container/wizard/wizard.component.js +4 -4
- app-rn-runtime/components/container/wizard/wizard.component.js.map +1 -1
- app-rn-runtime/components/container/wizard/wizard.props.js +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 +1 -1
- app-rn-runtime/components/container/wizard/wizardstep/wizardstep.props.js +1 -1
- app-rn-runtime/components/data/card/card-content/card-content.component.js +1 -1
- app-rn-runtime/components/data/card/card-content/card-content.props.js +1 -1
- app-rn-runtime/components/data/card/card-footer/card-footer.props.js +1 -1
- app-rn-runtime/components/data/card/card.component.js +1 -1
- app-rn-runtime/components/data/card/card.props.js +1 -1
- app-rn-runtime/components/data/form/form-action/form-action.component.js +1 -1
- app-rn-runtime/components/data/form/form-action/form-action.props.js +1 -1
- app-rn-runtime/components/data/form/form-body/form-body.props.js +1 -1
- app-rn-runtime/components/data/form/form-field/form-field.component.js +2 -2
- app-rn-runtime/components/data/form/form-field/form-field.props.js +1 -1
- app-rn-runtime/components/data/form/form-footer/form-footer.props.js +1 -1
- app-rn-runtime/components/data/form/form.component.js +1 -1
- app-rn-runtime/components/data/form/form.props.js +1 -1
- app-rn-runtime/components/data/list/list-action-template/list-action-template.props.js +1 -1
- app-rn-runtime/components/data/list/list-template/list-template.props.js +1 -1
- app-rn-runtime/components/data/list/list.component.js +13 -3
- app-rn-runtime/components/data/list/list.component.js.map +1 -1
- app-rn-runtime/components/data/list/list.props.js +1 -1
- app-rn-runtime/components/data/liveform/liveform.component.js +1 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.component.js +1 -1
- app-rn-runtime/components/device/barcodescanner/barcodescanner.props.js +1 -1
- app-rn-runtime/components/device/camera/camera.component.js +1 -1
- app-rn-runtime/components/device/camera/camera.props.js +1 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.component.js +1 -1
- app-rn-runtime/components/dialogs/alertdialog/alertdialog.props.js +1 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.component.js +1 -1
- app-rn-runtime/components/dialogs/confirmdialog/confirmdialog.props.js +1 -1
- app-rn-runtime/components/dialogs/dialog/dialog.component.js +2 -2
- app-rn-runtime/components/dialogs/dialog/dialog.component.js.map +1 -1
- app-rn-runtime/components/dialogs/dialog/dialog.props.js +1 -1
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.component.js +1 -1
- app-rn-runtime/components/dialogs/dialogactions/dialogactions.props.js +1 -1
- app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.props.js +1 -1
- app-rn-runtime/components/input/basedataset/basedataset.component.js +1 -1
- app-rn-runtime/components/input/basedataset/basedataset.props.js +1 -1
- app-rn-runtime/components/input/baseinput/baseinput.component.js +1 -1
- app-rn-runtime/components/input/baseinput/baseinput.props.js +1 -1
- app-rn-runtime/components/input/basenumber/basenumber.component.js +11 -5
- app-rn-runtime/components/input/basenumber/basenumber.component.js.map +1 -1
- app-rn-runtime/components/input/basenumber/basenumber.props.js +1 -1
- app-rn-runtime/components/input/calendar/calendar.component.js +1 -1
- app-rn-runtime/components/input/calendar/calendar.props.js +1 -1
- app-rn-runtime/components/input/calendar/calendar.styles.js.map +1 -1
- app-rn-runtime/components/input/calendar/views/month-view.js +2 -2
- app-rn-runtime/components/input/calendar/views/month-view.js.map +1 -1
- app-rn-runtime/components/input/checkbox/checkbox.component.js +2 -2
- app-rn-runtime/components/input/checkbox/checkbox.props.js +1 -1
- app-rn-runtime/components/input/checkboxset/checkboxset.component.js +2 -2
- app-rn-runtime/components/input/checkboxset/checkboxset.props.js +1 -1
- app-rn-runtime/components/input/chips/chips.component.js +33 -5
- app-rn-runtime/components/input/chips/chips.component.js.map +1 -1
- app-rn-runtime/components/input/chips/chips.props.js +1 -1
- app-rn-runtime/components/input/composite/composite.props.js +1 -1
- app-rn-runtime/components/input/currency/currency.component.js +2 -2
- app-rn-runtime/components/input/currency/currency.props.js +1 -1
- app-rn-runtime/components/input/epoch/base-datetime.component.js +2 -2
- app-rn-runtime/components/input/epoch/date-picker.component.js +2 -2
- app-rn-runtime/components/input/epoch/date-picker.component.js.map +1 -1
- app-rn-runtime/components/input/epoch/datetime/datetime.props.js +1 -1
- app-rn-runtime/components/input/epoch/time/time.props.js +1 -1
- app-rn-runtime/components/input/epoch/wheel-date-picker.component.js +1 -1
- app-rn-runtime/components/input/epoch/wheel-time-picker.component.js +1 -1
- app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.component.js +1 -1
- app-rn-runtime/components/input/epoch/wheelpicker/wheelpicker.props.js +1 -1
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +1 -1
- app-rn-runtime/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +1 -1
- app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +1 -1
- app-rn-runtime/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +1 -1
- app-rn-runtime/components/input/fileupload/fileupload.component.js +1 -1
- app-rn-runtime/components/input/fileupload/fileupload.props.js +1 -1
- app-rn-runtime/components/input/number/number.component.js +2 -2
- app-rn-runtime/components/input/number/number.props.js +1 -1
- app-rn-runtime/components/input/radioset/radioset.component.js +2 -2
- app-rn-runtime/components/input/radioset/radioset.props.js +1 -1
- app-rn-runtime/components/input/rating/rating.component.js +1 -1
- app-rn-runtime/components/input/rating/rating.props.js +1 -1
- app-rn-runtime/components/input/select/select.component.js +3 -3
- app-rn-runtime/components/input/select/select.component.js.map +1 -1
- app-rn-runtime/components/input/select/select.props.js +1 -1
- app-rn-runtime/components/input/slider/slider.component.js +4 -4
- app-rn-runtime/components/input/slider/slider.component.js.map +1 -1
- app-rn-runtime/components/input/slider/slider.props.js +1 -1
- app-rn-runtime/components/input/switch/switch.component.js +1 -1
- app-rn-runtime/components/input/switch/switch.props.js +1 -1
- app-rn-runtime/components/input/text/text.component.js +1 -1
- app-rn-runtime/components/input/text/text.props.js +1 -1
- app-rn-runtime/components/input/textarea/textarea.component.js +1 -1
- app-rn-runtime/components/input/textarea/textarea.props.js +1 -1
- app-rn-runtime/components/input/toggle/toggle.component.js +2 -2
- app-rn-runtime/components/input/toggle/toggle.props.js +1 -1
- app-rn-runtime/components/navigation/appnavbar/appnavbar.component.js +2 -2
- app-rn-runtime/components/navigation/appnavbar/appnavbar.props.js +1 -1
- app-rn-runtime/components/navigation/basenav/basenav.component.js +1 -1
- app-rn-runtime/components/navigation/basenav/basenav.props.js +1 -1
- app-rn-runtime/components/navigation/menu/menu.component.js +1 -1
- app-rn-runtime/components/navigation/menu/menu.props.js +1 -1
- app-rn-runtime/components/navigation/navbar/navbar.props.js +1 -1
- app-rn-runtime/components/navigation/navitem/navitem.component.js +2 -2
- app-rn-runtime/components/navigation/navitem/navitem.props.js +1 -1
- app-rn-runtime/components/navigation/popover/popover.component.js +2 -2
- app-rn-runtime/components/navigation/popover/popover.props.js +1 -1
- app-rn-runtime/components/page/left-panel/left-panel.component.js +1 -1
- app-rn-runtime/components/page/left-panel/left-panel.props.js +1 -1
- app-rn-runtime/components/page/page-content/page-content.props.js +1 -1
- app-rn-runtime/components/page/page.component.js +2 -2
- app-rn-runtime/components/page/partial-container/partial-container.props.js +1 -1
- app-rn-runtime/components/page/tabbar/tabbar.component.js +3 -3
- app-rn-runtime/components/page/tabbar/tabbar.component.js.map +1 -1
- app-rn-runtime/components/page/tabbar/tabbar.props.js +1 -1
- app-rn-runtime/core/base.component.js +2 -2
- app-rn-runtime/core/components/textinput.component.js +1 -1
- app-rn-runtime/core/constant.service.js +1 -1
- app-rn-runtime/core/event-notifier.js +1 -1
- app-rn-runtime/core/fixed-view.component.js +1 -1
- app-rn-runtime/core/imageSizeEstimator.js +1 -1
- app-rn-runtime/core/key.extractor.js +1 -1
- app-rn-runtime/core/logger.js +1 -1
- app-rn-runtime/core/network.service.js +1 -1
- app-rn-runtime/core/props.provider.js +1 -1
- app-rn-runtime/core/scroll-view.component.js +2 -2
- app-rn-runtime/core/storage.service.js +1 -1
- app-rn-runtime/core/tappable.component.js +2 -2
- app-rn-runtime/core/viewport.js +1 -1
- app-rn-runtime/core/wm-component-tree.js +1 -1
- app-rn-runtime/gestures/swipe.animation.js +1 -1
- app-rn-runtime/package.json +43 -44
- app-rn-runtime/runtime/App.js +13 -5
- app-rn-runtime/runtime/App.js.map +1 -1
- app-rn-runtime/runtime/base-fragment.component.js +6 -2
- app-rn-runtime/runtime/base-fragment.component.js.map +1 -1
- app-rn-runtime/runtime/base-page.component.js +2 -2
- app-rn-runtime/runtime/base-page.component.js.map +1 -1
- app-rn-runtime/runtime/base-partial.component.js +1 -1
- app-rn-runtime/runtime/base-prefab.component.js +1 -1
- app-rn-runtime/runtime/memo.component.js +1 -1
- app-rn-runtime/runtime/navigator/stack.navigator.js +1 -1
- app-rn-runtime/runtime/services/app-display-manager.service.js +1 -1
- app-rn-runtime/runtime/services/app-i18n.service.js +2 -1
- app-rn-runtime/runtime/services/app-i18n.service.js.map +1 -1
- app-rn-runtime/runtime/services/app-modal.service.js +1 -1
- app-rn-runtime/runtime/services/app-security.service.js +1 -1
- app-rn-runtime/runtime/services/app-spinner.service.js +1 -1
- app-rn-runtime/runtime/services/app-toast.service.js +1 -1
- app-rn-runtime/runtime/services/device/camera-service.js +10 -10
- app-rn-runtime/runtime/services/device/camera-service.js.map +1 -1
- app-rn-runtime/runtime/services/device/permissions.js +2 -2
- app-rn-runtime/runtime/services/device/permissions.js.map +1 -1
- app-rn-runtime/runtime/services/device/scan-service.js +35 -9
- app-rn-runtime/runtime/services/device/scan-service.js.map +1 -1
- app-rn-runtime/runtime/services/webprocess.service.js +1 -1
- app-rn-runtime/runtime/watcher.js +1 -1
- app-rn-runtime/styles/background.component.js +2 -2
- app-rn-runtime/styles/background.component.js.map +1 -1
- app-rn-runtime/styles/style-props.js +1 -1
- app-rn-runtime/styles/theme.js +1 -1
- app-rn-runtime/styles/theme.variables.js +2 -2
- app-rn-runtime/styles/theme.variables.js.map +1 -1
- app-rn-runtime/variables/base-variable.js +1 -1
- app-rn-runtime/variables/device/device/network-info.operation.js +1 -1
- app-rn-runtime/variables/live-variable.js +1 -1
- app-rn-runtime/variables/model-variable.js +1 -1
- app-rn-runtime/variables/service-variable.js +1 -1
- app-rn-runtime/variables/utils/inflight-queue.js +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import BaseDatasetProps from '@wavemaker/app-rn-runtime/components/input/basedataset/basedataset.props';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import React from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
2
|
-
function _defineProperty(
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
4
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
5
|
import React from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from "@wavemaker/app-rn-runtime/core/base.component";
|
@@ -1,21 +1,27 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
2
|
-
function _defineProperty(
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
4
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
5
|
import React from 'react';
|
6
|
-
import { View } from 'react-native';
|
7
|
-
import {
|
6
|
+
import { View, Image, TouchableWithoutFeedback } from 'react-native';
|
7
|
+
import { VideoView, createVideoPlayer } from 'expo-video';
|
8
8
|
import { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';
|
9
9
|
import WmVideoProps from './video.props';
|
10
10
|
import { DEFAULT_CLASS } from './video.styles';
|
11
11
|
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
12
12
|
import { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';
|
13
13
|
import { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';
|
14
|
-
export class WmVideoState extends BaseComponentState {
|
14
|
+
export class WmVideoState extends BaseComponentState {
|
15
|
+
constructor(...args) {
|
16
|
+
super(...args);
|
17
|
+
_defineProperty(this, "isVideoReady", false);
|
18
|
+
_defineProperty(this, "playStarted", false);
|
19
|
+
}
|
20
|
+
}
|
15
21
|
export default class WmVideo extends BaseComponent {
|
16
22
|
constructor(props) {
|
17
23
|
super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());
|
18
|
-
_defineProperty(this, "
|
24
|
+
_defineProperty(this, "player", void 0);
|
19
25
|
_defineProperty(this, "handlePlaybackStatus", status => {
|
20
26
|
if ('isPlaying' in status && typeof status === 'object') {
|
21
27
|
console.log(status.isPlaying ? 'Playing' : 'Paused');
|
@@ -24,45 +30,116 @@ export default class WmVideo extends BaseComponent {
|
|
24
30
|
}
|
25
31
|
});
|
26
32
|
}
|
27
|
-
getSource(path) {
|
33
|
+
getSource(path, type) {
|
28
34
|
if (!path) {
|
29
35
|
return null;
|
30
36
|
}
|
31
|
-
const resource = this.loadAsset(path);
|
37
|
+
const resource = this.loadAsset && this.loadAsset(path);
|
32
38
|
if (isFullPathUrl(resource)) {
|
33
39
|
return {
|
34
|
-
uri:
|
40
|
+
uri: path
|
35
41
|
};
|
36
42
|
}
|
37
|
-
return resource;
|
43
|
+
if (type == 'poster') return Number(resource);
|
44
|
+
return {
|
45
|
+
assetId: Number(resource) || 0
|
46
|
+
};
|
47
|
+
}
|
48
|
+
renderVideoPoster(props) {
|
49
|
+
return /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
|
50
|
+
onPress: () => this.player.play()
|
51
|
+
}, /*#__PURE__*/React.createElement(Image, _extends({}, this.getTestProps('video_poster'), {
|
52
|
+
style: {
|
53
|
+
position: 'absolute',
|
54
|
+
top: 0,
|
55
|
+
bottom: 0,
|
56
|
+
left: 0,
|
57
|
+
right: 0,
|
58
|
+
width: '100%',
|
59
|
+
height: '100%'
|
60
|
+
},
|
61
|
+
resizeMode: 'cover',
|
62
|
+
source: this.getSource(props.videoposter, 'poster')
|
63
|
+
}, getAccessibilityProps(AccessibilityWidgetType.PICTURE, props))));
|
38
64
|
}
|
39
65
|
renderSkeleton(props) {
|
40
66
|
return createSkeleton(this.theme, this.styles.skeleton, {
|
41
67
|
...this.styles.root
|
42
68
|
});
|
43
69
|
}
|
70
|
+
playingStatusChange(isPlaying) {
|
71
|
+
if (!this.state.playStarted) {
|
72
|
+
this.updateState({
|
73
|
+
playStarted: isPlaying
|
74
|
+
});
|
75
|
+
}
|
76
|
+
}
|
77
|
+
playerReadyStatusChange(status) {
|
78
|
+
this.updateState({
|
79
|
+
isVideoReady: status == 'readyToPlay'
|
80
|
+
});
|
81
|
+
}
|
82
|
+
componentDidMount() {
|
83
|
+
super.componentDidMount();
|
84
|
+
this.getSource(this.state.props.videoposter, 'poster');
|
85
|
+
const {
|
86
|
+
mp4format,
|
87
|
+
webmformat,
|
88
|
+
autoplay
|
89
|
+
} = this.state.props;
|
90
|
+
const videoSource = this.getSource(mp4format || webmformat, 'video') || {
|
91
|
+
uri: ''
|
92
|
+
};
|
93
|
+
this.player = createVideoPlayer(videoSource);
|
94
|
+
if (autoplay) this.player.play();
|
95
|
+
this.player.addListener('playingChange', this.playingStatusChange.bind(this));
|
96
|
+
this.player.addListener('statusChange', this.playerReadyStatusChange.bind(this));
|
97
|
+
}
|
98
|
+
componentWillUnmount() {
|
99
|
+
super.componentWillUnmount();
|
100
|
+
this.player.removeListener('playingChange', this.playingStatusChange);
|
101
|
+
this.player.removeListener('statusChange', this.playerReadyStatusChange);
|
102
|
+
this.player.release();
|
103
|
+
}
|
44
104
|
renderWidget(props) {
|
105
|
+
const {
|
106
|
+
isLive,
|
107
|
+
loop,
|
108
|
+
muted,
|
109
|
+
playing,
|
110
|
+
showNowPlayingNotification,
|
111
|
+
allowsPictureInPicture,
|
112
|
+
videoposter,
|
113
|
+
onFullscreenEnter,
|
114
|
+
onFullscreenExit,
|
115
|
+
requiresLinearPlayback
|
116
|
+
} = props;
|
117
|
+
const {
|
118
|
+
playStarted,
|
119
|
+
isVideoReady
|
120
|
+
} = this.state;
|
45
121
|
return /*#__PURE__*/React.createElement(View, {
|
46
122
|
style: this.styles.root
|
47
|
-
}, this._background, /*#__PURE__*/React.createElement(
|
48
|
-
ref: video => {
|
49
|
-
this.video = video;
|
50
|
-
},
|
123
|
+
}, this._background, /*#__PURE__*/React.createElement(VideoView, _extends({}, getAccessibilityProps(AccessibilityWidgetType.VIDEO, props), {
|
51
124
|
style: {
|
52
125
|
width: '100%',
|
53
126
|
height: '100%',
|
54
127
|
flex: 1
|
55
128
|
},
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
129
|
+
player: this.player,
|
130
|
+
nativeControls: props.controls,
|
131
|
+
contentFit: 'contain',
|
132
|
+
loop: loop,
|
133
|
+
muted: muted,
|
134
|
+
testID: this.getTestId('video'),
|
135
|
+
allowsPictureInPicture: allowsPictureInPicture,
|
136
|
+
onFullscreenEnter: onFullscreenEnter,
|
137
|
+
onFullscreenExit: onFullscreenExit,
|
138
|
+
requiresLinearPlayback: requiresLinearPlayback,
|
139
|
+
isLive: isLive,
|
140
|
+
playing: playing,
|
141
|
+
showNowPlayingNotification: showNowPlayingNotification
|
142
|
+
})), !playStarted && !isVideoReady && videoposter ? this.renderVideoPoster(props) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
66
143
|
}
|
67
144
|
}
|
68
145
|
//# sourceMappingURL=video.component.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","View","ResizeMode","Video","BaseComponent","BaseComponentState","WmVideoProps","DEFAULT_CLASS","AccessibilityWidgetType","getAccessibilityProps","isFullPathUrl","createSkeleton","WmVideoState","WmVideo","constructor","props","_defineProperty","status","console","log","isPlaying","error","getSource","path","resource","loadAsset","uri","renderSkeleton","theme","styles","skeleton","root","renderWidget","createElement","style","_background","_extends","VIDEO","ref","video","width","height","flex","shouldPlay","autoplay","onPlaybackStatusUpdate","handlePlaybackStatus","source","mp4format","webmformat","posterSource","videoposter","useNativeControls","controls","resizeMode","CONTAIN","isLooping","loop","isMuted","muted","testID","getTestId"],"sources":["video.component.tsx"],"sourcesContent":["import React from 'react';\nimport { Text, View } from 'react-native';\nimport { ResizeMode, Video, AVPlaybackStatus } from 'expo-av';\nimport { BaseComponent, BaseComponentState } from '@wavemaker/app-rn-runtime/core/base.component';\n\nimport WmVideoProps from './video.props';\nimport { DEFAULT_CLASS, WmVideoStyles } from './video.styles';\nimport { isString } from 'lodash-es';\nimport { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility'; \nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmVideoState extends BaseComponentState<WmVideoProps> {}\n\nexport default class WmVideo extends BaseComponent<WmVideoProps, WmVideoState, WmVideoStyles> {\n\n private video: Video | null = null as any;\n\n constructor(props: WmVideoProps) {\n super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());\n }\n\n getSource(path: string) {\n if (!path) {\n return null;\n }\n const resource = this.loadAsset(path);\n if (isFullPathUrl(resource as string)) {\n return {\n uri: resource\n };\n }\n return resource;\n }\n\n handlePlaybackStatus = (status: AVPlaybackStatus) => {\n if ('isPlaying' in status && typeof status === 'object') {\n console.log(status.isPlaying? 'Playing' : 'Paused');\n } else if ('error' in status) {\n console.error(`Encountered a fatal error during playback: ${status.error}`);\n }\n };\n\n public renderSkeleton(props: WmVideoProps): React.ReactNode {\n return createSkeleton(this.theme, this.styles.skeleton , {\n ...this.styles.root\n });\n }\n\n renderWidget(props: WmVideoProps) {\n return (\n <View style={this.styles.root}>\n {this._background}\n <Video\n {...getAccessibilityProps(AccessibilityWidgetType.VIDEO, props)}\n ref={(video) => { this.video = video; }}\n style={{ width: '100%', height: '100%', flex: 1 }}\n shouldPlay={props.autoplay}\n onPlaybackStatusUpdate={this.handlePlaybackStatus}\n source={this.getSource(\n props.mp4format\n || props.webmformat) as any}\n posterSource={ this.getSource(props.videoposter) as any }\n useNativeControls={props.controls}\n resizeMode={ResizeMode.CONTAIN}\n isLooping={props.loop}\n isMuted={props.muted}\n testID={this.getTestId('video')}\n />\n </View>); \n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAeC,IAAI,QAAQ,cAAc;AACzC,SAASC,UAAU,EAAEC,KAAK,QAA0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,GAAG,IAAI,CAACD,MAAM,CAACE;IACjB,CAAC,CAAC;EACJ;EAEAC,YAAYA,CAACjB,KAAmB,EAAE;IAChC,oBACEf,KAAA,CAAAiC,aAAA,CAAChC,IAAI;MAACiC,KAAK,EAAE,IAAI,CAACL,MAAM,CAACE;IAAK,GAC3B,IAAI,CAACI,WAAW,eACjBnC,KAAA,CAAAiC,aAAA,CAAC9B,KAAK,EAAAiC,QAAA,KACA3B,qBAAqB,CAACD,uBAAuB,CAAC6B,KAAK,EAAEtB,KAAK,CAAC;MAC/DuB,GAAG,EAAGC,KAAK,IAAK;QAAE,IAAI,CAACA,KAAK,GAAGA,KAAK;MAAE,CAAE;MACxCL,KAAK,EAAE;QAAEM,KAAK,EAAE,MAAM;QAAEC,MAAM,EAAE,MAAM;QAAEC,IAAI,EAAE;MAAE,CAAE;MAClDC,UAAU,EAAE5B,KAAK,CAAC6B,QAAS;MAC3BC,sBAAsB,EAAE,IAAI,CAACC,oBAAqB;MAClDC,MAAM,EAAE,IAAI,CAACzB,SAAS,CACpBP,KAAK,CAACiC,SAAS,IACZjC,KAAK,CAACkC,UAAU,CAAS;MAC9BC,YAAY,EAAG,IAAI,CAAC5B,SAAS,CAACP,KAAK,CAACoC,WAAW,CAAU;MACzDC,iBAAiB,EAAErC,KAAK,CAACsC,QAAS;MAClCC,UAAU,EAAEpD,UAAU,CAACqD,OAAQ;MAC/BC,SAAS,EAAEzC,KAAK,CAAC0C,IAAK;MACtBC,OAAO,EAAE3C,KAAK,CAAC4C,KAAM;MACrBC,MAAM,EAAE,IAAI,CAACC,SAAS,CAAC,OAAO;IAAE,EACjC,CACG,CAAC;EACX;AACF","ignoreList":[]}
|
1
|
+
{"version":3,"names":["React","View","Image","TouchableWithoutFeedback","VideoView","createVideoPlayer","BaseComponent","BaseComponentState","WmVideoProps","DEFAULT_CLASS","AccessibilityWidgetType","getAccessibilityProps","isFullPathUrl","createSkeleton","WmVideoState","constructor","args","_defineProperty","WmVideo","props","status","console","log","isPlaying","error","getSource","path","type","resource","loadAsset","uri","Number","assetId","renderVideoPoster","createElement","onPress","player","play","_extends","getTestProps","style","position","top","bottom","left","right","width","height","resizeMode","source","videoposter","PICTURE","renderSkeleton","theme","styles","skeleton","root","playingStatusChange","state","playStarted","updateState","playerReadyStatusChange","isVideoReady","componentDidMount","mp4format","webmformat","autoplay","videoSource","addListener","bind","componentWillUnmount","removeListener","release","renderWidget","isLive","loop","muted","playing","showNowPlayingNotification","allowsPictureInPicture","onFullscreenEnter","onFullscreenExit","requiresLinearPlayback","_background","VIDEO","flex","nativeControls","controls","contentFit","testID","getTestId","Fragment"],"sources":["video.component.tsx"],"sourcesContent":["import React from 'react';\nimport { View, Image, TouchableWithoutFeedback } from 'react-native';\nimport { VideoView, createVideoPlayer } from 'expo-video';\nimport {\n BaseComponent,\n BaseComponentState,\n} from '@wavemaker/app-rn-runtime/core/base.component';\nimport WmVideoProps from './video.props';\nimport { DEFAULT_CLASS, WmVideoStyles } from './video.styles';\nimport {\n AccessibilityWidgetType,\n getAccessibilityProps,\n} from '@wavemaker/app-rn-runtime/core/accessibility';\nimport { isFullPathUrl } from '@wavemaker/app-rn-runtime/core/utils';\nimport { createSkeleton } from '@wavemaker/app-rn-runtime/components/basic/skeleton/skeleton.component';\n\nexport class WmVideoState extends BaseComponentState<WmVideoProps> {\n isVideoReady: boolean = false;\n playStarted: boolean = false;\n}\n\nexport default class WmVideo extends BaseComponent<\n WmVideoProps,\n WmVideoState,\n WmVideoStyles\n> {\n private player: any;\n\n constructor(props: WmVideoProps) {\n super(props, DEFAULT_CLASS, new WmVideoProps(), new WmVideoState());\n }\n\n getSource(path: string, type: string) {\n if (!path) {\n return null;\n }\n const resource = this.loadAsset && this.loadAsset(path);\n if (isFullPathUrl(resource as string)) {\n return {\n uri: path,\n };\n }\n if (type == 'poster') return Number(resource);\n return {\n assetId: Number(resource) || 0,\n };\n }\n\n \n\n handlePlaybackStatus = (status: any) => {\n if ('isPlaying' in status && typeof status === 'object') {\n console.log(status.isPlaying ? 'Playing' : 'Paused');\n } else if ('error' in status) {\n console.error(\n `Encountered a fatal error during playback: ${status.error}`\n );\n }\n };\n\n renderVideoPoster(props: WmVideoProps) {\n return (\n <TouchableWithoutFeedback onPress={() => this.player.play()}>\n <Image\n {...this.getTestProps('video_poster')}\n style={{\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n width: '100%',\n height: '100%',\n }}\n resizeMode={'cover'}\n source={this.getSource(props.videoposter, 'poster') as any}\n {...getAccessibilityProps(AccessibilityWidgetType.PICTURE, props)}\n />\n </TouchableWithoutFeedback>\n );\n }\n\n public renderSkeleton(props: WmVideoProps): React.ReactNode {\n return createSkeleton(this.theme, this.styles.skeleton, {\n ...this.styles.root,\n });\n }\n\n public playingStatusChange(isPlaying: boolean) {\n if (!this.state.playStarted) {\n this.updateState({\n playStarted: isPlaying,\n } as WmVideoState);\n }\n }\n\n playerReadyStatusChange(status: string) {\n this.updateState({\n isVideoReady: status == 'readyToPlay',\n } as WmVideoState);\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n this.getSource(this.state.props.videoposter, 'poster')\n const { mp4format, webmformat, autoplay } = this.state.props;\n const videoSource = this.getSource(mp4format || webmformat, 'video') || {\n uri: '',\n };\n this.player = createVideoPlayer(videoSource);\n if (autoplay) this.player.play();\n\n this.player.addListener(\n 'playingChange',\n this.playingStatusChange.bind(this)\n );\n this.player.addListener(\n 'statusChange',\n this.playerReadyStatusChange.bind(this)\n );\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.player.removeListener('playingChange', this.playingStatusChange);\n this.player.removeListener('statusChange', this.playerReadyStatusChange);\n this.player.release();\n }\n\n renderWidget(props: WmVideoProps) {\n const {\n isLive,\n loop,\n muted,\n playing,\n showNowPlayingNotification,\n allowsPictureInPicture,\n videoposter,\n onFullscreenEnter,\n onFullscreenExit,\n requiresLinearPlayback,\n } = props;\n\n const { playStarted, isVideoReady } = this.state;\n\n return (\n <View style={this.styles.root}>\n {this._background}\n <VideoView\n {...getAccessibilityProps(AccessibilityWidgetType.VIDEO, props)}\n style={{ width: '100%', height: '100%', flex: 1 }}\n player={this.player}\n nativeControls={props.controls}\n contentFit={'contain'}\n loop={loop}\n muted={muted}\n testID={this.getTestId('video')}\n allowsPictureInPicture={allowsPictureInPicture}\n onFullscreenEnter={onFullscreenEnter}\n onFullscreenExit={onFullscreenExit}\n requiresLinearPlayback={requiresLinearPlayback}\n isLive={isLive}\n playing={playing}\n showNowPlayingNotification={showNowPlayingNotification}\n />\n {!playStarted && !isVideoReady && videoposter ? (\n this.renderVideoPoster(props)\n ) : (\n <></>\n )}\n </View>\n );\n }\n}\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,EAAEC,wBAAwB,QAAQ,cAAc;AACpE,SAASC,SAAS,EAAEC,iBAAiB,QAAQ,YAAY;AACzD,SACEC,aAAa,EACbC,kBAAkB,QACb,+CAA+C;AACtD,OAAOC,YAAY,MAAM,eAAe;AACxC,SAASC,aAAa,QAAuB,gBAAgB;AAC7D,SACEC,uBAAuB,EACvBC,qBAAqB,QAChB,8CAA8C;AACrD,SAASC,aAAa,QAAQ,sCAAsC;AACpE,SAASC,cAAc,QAAQ,wEAAwE;AAEvG,OAAO,MAAMC,YAAY,SAASP,kBAAkB,CAAe;EAAAQ,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,uBACzC,KAAK;IAAAA,eAAA,sBACN,KAAK;EAAA;AAC9B;AAEA,eAAe,MAAMC,OAAO,SAASZ,aAAa,CAIhD;EAGAS,WAAWA,CAACI,KAAmB,EAAE;IAC/B,KAAK,CAACA,KAAK,EAAEV,aAAa,EAAE,IAAID,YAAY,CAAC,CAAC,EAAE,IAAIM,YAAY,CAAC,CAAC,CAAC;IAACG,eAAA;IAAAA,eAAA,+BAqB9CG,MAAW,IAAK;MACtC,IAAI,WAAW,IAAIA,MAAM,IAAI,OA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,OAAO,CAAE;MAChCX,sBAAsB,EAAEA,sBAAuB;MAC/CC,iBAAiB,EAAEA,iBAAkB;MACrCC,gBAAgB,EAAEA,gBAAiB;MACnCC,sBAAsB,EAAEA,sBAAuB;MAC/CR,MAAM,EAAEA,MAAO;MACfG,OAAO,EAAEA,OAAQ;MACjBC,0BAA0B,EAAEA;IAA2B,EACxD,CAAC,EACD,CAACnB,WAAW,IAAI,CAACG,YAAY,IAAIZ,WAAW,GAC3C,IAAI,CAACjB,iBAAiB,CAACd,KAAK,CAAC,gBAE7BnB,KAAA,CAAAkC,aAAA,CAAAlC,KAAA,CAAA2F,QAAA,MAAI,CAEF,CAAC;EAEX;AACF","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -20,6 +20,13 @@ export default class WmVideoProps extends BaseProps {
|
|
20
20
|
_defineProperty(this, "accessibilitylabel", undefined);
|
21
21
|
_defineProperty(this, "hint", undefined);
|
22
22
|
_defineProperty(this, "accessibilityrole", void 0);
|
23
|
+
_defineProperty(this, "onFullscreenEnter", null);
|
24
|
+
_defineProperty(this, "onFullscreenExit", null);
|
25
|
+
_defineProperty(this, "requiresLinearPlayback", true);
|
26
|
+
_defineProperty(this, "isLive", false);
|
27
|
+
_defineProperty(this, "playing", false);
|
28
|
+
_defineProperty(this, "showNowPlayingNotification", false);
|
29
|
+
_defineProperty(this, "allowsPictureInPicture", false);
|
23
30
|
}
|
24
31
|
}
|
25
32
|
//# sourceMappingURL=video.props.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["BaseProps","WmVideoProps","constructor","args","_defineProperty","undefined"],"sources":["video.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmVideoProps extends BaseProps {\n autoplay = false;\n controls = false;\n loop = false;\n mp4format: string = null as any;\n muted = false;\n oggformat: string = null as any;\n subtitlelang = 'en';\n subtitlesource: string = null as any;\n videoposter = 'resources/images/imagelists/default-image.png';\n videopreload = 'none';\n videosupportmessage = 'Your browser does not support the video tag.';\n webmformat: string = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,YAAY,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,mBACrC,KAAK;IAAAA,eAAA,mBACL,KAAK;IAAAA,eAAA,eACT,KAAK;IAAAA,eAAA,oBACQ,IAAI;IAAAA,eAAA,gBAChB,KAAK;IAAAA,eAAA,oBACO,IAAI;IAAAA,eAAA,uBACT,IAAI;IAAAA,eAAA,yBACM,IAAI;IAAAA,eAAA,sBACf,+CAA+C;IAAAA,eAAA,uBAC9C,MAAM;IAAAA,eAAA,8BACC,8CAA8C;IAAAA,eAAA,qBAC/C,IAAI;IAAAA,eAAA,6BACKC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA;EAAA;
|
1
|
+
{"version":3,"names":["BaseProps","WmVideoProps","constructor","args","_defineProperty","undefined"],"sources":["video.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';\nimport { AccessibilityRole } from 'react-native';\nexport default class WmVideoProps extends BaseProps {\n autoplay = false;\n controls = false;\n loop = false;\n mp4format: string = null as any;\n muted = false;\n oggformat: string = null as any;\n subtitlelang = 'en';\n subtitlesource: string = null as any;\n videoposter = 'resources/images/imagelists/default-image.png';\n videopreload = 'none';\n videosupportmessage = 'Your browser does not support the video tag.';\n webmformat: string = null as any;\n accessibilitylabel?: string = undefined;\n hint?: string = undefined;\n accessibilityrole?: AccessibilityRole;\n onFullscreenEnter: (() => void) | null = null;\n onFullscreenExit: (() => void) | null = null;\n requiresLinearPlayback: boolean = true;\n isLive: boolean = false;\n playing: boolean = false;\n showNowPlayingNotification: boolean = false;\n allowsPictureInPicture: boolean = false;\n}"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,+CAA+C;AAEzE,eAAe,MAAMC,YAAY,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,mBACrC,KAAK;IAAAA,eAAA,mBACL,KAAK;IAAAA,eAAA,eACT,KAAK;IAAAA,eAAA,oBACQ,IAAI;IAAAA,eAAA,gBAChB,KAAK;IAAAA,eAAA,oBACO,IAAI;IAAAA,eAAA,uBACT,IAAI;IAAAA,eAAA,yBACM,IAAI;IAAAA,eAAA,sBACf,+CAA+C;IAAAA,eAAA,uBAC9C,MAAM;IAAAA,eAAA,8BACC,8CAA8C;IAAAA,eAAA,qBAC/C,IAAI;IAAAA,eAAA,6BACKC,SAAS;IAAAD,eAAA,eACvBC,SAAS;IAAAD,eAAA;IAAAA,eAAA,4BAEgB,IAAI;IAAAA,eAAA,2BACL,IAAI;IAAAA,eAAA,iCACV,IAAI;IAAAA,eAAA,iBACpB,KAAK;IAAAA,eAAA,kBACJ,KAAK;IAAAA,eAAA,qCACc,KAAK;IAAAA,eAAA,iCACT,KAAK;EAAA;AAC3C","ignoreList":[]}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
2
|
-
function _defineProperty(
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
4
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
5
|
import React from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import BaseChartComponentProps from "@wavemaker/app-rn-runtime/components/chart/basechart.props";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from 'react';
|
3
3
|
import { View, Text, Platform } from 'react-native';
|
4
4
|
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import BaseChartComponentProps from "@wavemaker/app-rn-runtime/components/chart/basechart.props";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import React from "react";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { SkeletonAnimationProps } from '@wavemaker/app-rn-runtime/runtime/base-fragment.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from 'react';
|
3
3
|
import { Text, View, Platform } from 'react-native';
|
4
4
|
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import BaseChartComponentProps from "@wavemaker/app-rn-runtime/components/chart/basechart.props";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import WmPieChartProps from "@wavemaker/app-rn-runtime/components/chart/pie-chart/pie-chart.props";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from 'react';
|
3
3
|
import { Text, View, Platform } from 'react-native';
|
4
4
|
import { AccessibilityWidgetType, getAccessibilityProps } from '@wavemaker/app-rn-runtime/core/accessibility';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import BaseChartComponentProps from "@wavemaker/app-rn-runtime/components/chart/basechart.props";
|
@@ -1,5 +1,5 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
2
|
-
function _defineProperty(
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
4
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
5
|
import React from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
2
|
-
function _defineProperty(
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
4
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
5
|
import React from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
2
|
-
function _defineProperty(
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
4
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
5
|
import React from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import React from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
2
|
-
function _defineProperty(
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
4
4
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
5
5
|
import React from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { PartialHostProps } from './partial-host.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _defineProperty(
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
4
4
|
import { BaseProps } from '@wavemaker/app-rn-runtime/core/base.component';
|