@ebay/ui-core-react 7.0.2 → 7.1.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/array.polyfill.flat-5BAolFdk.js +1 -0
- package/badge-CoHKfiPt.js +1 -0
- package/button-o4ao46WM.js +1 -0
- package/calendar-CPKqwJVQ.js +1 -0
- package/debounce-BQsYxxOL.js +1 -0
- package/dialog-previous-button-7ePoYWyj.js +1 -0
- package/drawer-BxxlJwkZ.js +1 -0
- package/ebay-alert-dialog.js +1 -0
- package/ebay-badge.js +1 -0
- package/ebay-breadcrumbs.js +1 -0
- package/ebay-button.js +1 -0
- package/ebay-calendar.js +1 -0
- package/ebay-carousel.js +1 -0
- package/ebay-checkbox.js +1 -0
- package/ebay-confirm-dialog.js +1 -0
- package/ebay-cta-button.js +1 -0
- package/ebay-date-textbox.js +1 -0
- package/ebay-dialog-base.js +1 -0
- package/ebay-drawer-dialog.js +1 -0
- package/ebay-eek.js +1 -0
- package/ebay-fake-menu-button.js +1 -0
- package/ebay-fake-menu.js +1 -0
- package/ebay-fake-tabs.js +1 -0
- package/ebay-field.js +1 -0
- package/ebay-fullscreen-dialog.js +1 -0
- package/ebay-icon-button.js +1 -0
- package/ebay-icon.js +1 -0
- package/ebay-infotip.js +1 -0
- package/ebay-inline-notice.js +1 -0
- package/ebay-lightbox-dialog.js +1 -0
- package/ebay-listbox-button.js +2 -0
- package/ebay-menu/menu.d.ts +1 -1
- package/ebay-menu/menu.d.ts.map +1 -1
- package/ebay-menu-button.js +1 -0
- package/ebay-menu.js +1 -0
- package/ebay-notice-base.js +1 -0
- package/ebay-page-notice.js +1 -0
- package/ebay-pagination.js +1 -0
- package/ebay-panel-dialog.js +1 -0
- package/ebay-progress-bar.js +1 -0
- package/ebay-progress-spinner.js +1 -0
- package/ebay-progress-stepper.js +1 -0
- package/ebay-radio.js +1 -0
- package/ebay-section-notice.js +1 -0
- package/ebay-section-title/index.d.ts.map +1 -1
- package/ebay-section-title.js +1 -0
- package/ebay-select.js +1 -0
- package/ebay-signal.js +1 -0
- package/ebay-snackbar-dialog.js +1 -0
- package/ebay-split-button.js +1 -0
- package/ebay-star-rating-select.js +1 -0
- package/ebay-star-rating.js +1 -0
- package/ebay-svg.js +1 -0
- package/ebay-switch.js +1 -0
- package/ebay-tabs.js +1 -0
- package/ebay-textbox.js +1 -0
- package/ebay-toast-dialog.js +1 -0
- package/ebay-tooltip.js +1 -0
- package/ebay-tourtip.js +1 -0
- package/ebay-video.js +1 -0
- package/hooks-Ctier7Yv.js +1 -0
- package/icon-DK6eEQD8.js +1 -0
- package/icon-button-BB6GFLm7.js +1 -0
- package/index-DbjwTbDP.js +1 -0
- package/label-CnrpYJ-g.js +1 -0
- package/menu-DZU8jEPV.js +1 -0
- package/menu-button-label-BcgasGA4.js +1 -0
- package/menu-item-DBi1NcrM.js +1 -0
- package/notice-content-9iF4T8uB.js +1 -0
- package/notice-content-C0ZStfuX.js +1 -0
- package/notice-footer-Cw1DMzoB.js +1 -0
- package/package.json +19 -8
- package/progress-spinner-CDgxI8R_.js +1 -0
- package/range-DOsPN0h5.js +1 -0
- package/textbox-WnB-9F4y.js +1 -0
- package/use-tooltip-BavqG36Z.js +1 -0
- package/utils-C9NL3q0j.js +1 -0
- package/common/component-utils/array.polyfill.flat.js +0 -32
- package/common/component-utils/forwardRef.js +0 -37
- package/common/component-utils/index.js +0 -18
- package/common/component-utils/usePrevious.js +0 -12
- package/common/component-utils/utils.js +0 -26
- package/common/debounce.js +0 -11
- package/common/event-utils/index.js +0 -123
- package/common/event-utils/types.js +0 -14
- package/common/event-utils/use-key-press.js +0 -33
- package/common/event-utils/use-roving-index.js +0 -35
- package/common/floating-label-utils/hooks.js +0 -133
- package/common/notice-utils/notice-content.js +0 -12
- package/common/notice-utils/notice-cta.js +0 -23
- package/common/notice-utils/notice-footer.js +0 -23
- package/common/notice-utils/notice-title.js +0 -24
- package/common/random-id.js +0 -5
- package/common/range.js +0 -5
- package/common/tooltip-utils/constants.js +0 -95
- package/common/tooltip-utils/index.js +0 -19
- package/common/tooltip-utils/tooltip-close-button.js +0 -8
- package/common/tooltip-utils/tooltip-content.js +0 -25
- package/common/tooltip-utils/tooltip-footer.js +0 -9
- package/common/tooltip-utils/tooltip-host.js +0 -24
- package/common/tooltip-utils/tooltip.js +0 -60
- package/common/tooltip-utils/types.js +0 -2
- package/common/tooltip-utils/use-tooltip.js +0 -27
- package/ebay-alert-dialog/alert-dialog.js +0 -55
- package/ebay-alert-dialog/index.js +0 -8
- package/ebay-badge/badge.js +0 -25
- package/ebay-badge/index.js +0 -8
- package/ebay-breadcrumbs/breadcrumb-item.js +0 -27
- package/ebay-breadcrumbs/breadcrumbs.js +0 -64
- package/ebay-breadcrumbs/index.js +0 -10
- package/ebay-button/button-cell.js +0 -29
- package/ebay-button/button-expand.js +0 -13
- package/ebay-button/button-loading.js +0 -11
- package/ebay-button/button-text.js +0 -9
- package/ebay-button/button.js +0 -95
- package/ebay-button/index.js +0 -10
- package/ebay-button/types.js +0 -2
- package/ebay-calendar/calendar.js +0 -306
- package/ebay-calendar/date-utils.js +0 -58
- package/ebay-calendar/index.js +0 -8
- package/ebay-carousel/carousel-control-button.js +0 -24
- package/ebay-carousel/carousel-item.js +0 -59
- package/ebay-carousel/carousel-list.js +0 -81
- package/ebay-carousel/carousel.js +0 -109
- package/ebay-carousel/helpers.js +0 -123
- package/ebay-carousel/index.js +0 -10
- package/ebay-carousel/scroll-to-transition.js +0 -102
- package/ebay-carousel/types.js +0 -2
- package/ebay-checkbox/checkbox.js +0 -77
- package/ebay-checkbox/index.js +0 -8
- package/ebay-confirm-dialog/confirm-dialog.js +0 -56
- package/ebay-confirm-dialog/index.js +0 -8
- package/ebay-cta-button/cta-button.js +0 -30
- package/ebay-cta-button/index.js +0 -8
- package/ebay-date-textbox/date-textbox.js +0 -179
- package/ebay-date-textbox/index.js +0 -8
- package/ebay-dialog-base/components/animation.js +0 -96
- package/ebay-dialog-base/components/dialog-actions.js +0 -8
- package/ebay-dialog-base/components/dialog-close-button.js +0 -8
- package/ebay-dialog-base/components/dialog-footer.js +0 -8
- package/ebay-dialog-base/components/dialog-header.js +0 -22
- package/ebay-dialog-base/components/dialog-previous-button.js +0 -24
- package/ebay-dialog-base/components/dialogBase.js +0 -152
- package/ebay-dialog-base/dialog-base-with-state.js +0 -63
- package/ebay-dialog-base/index.js +0 -18
- package/ebay-drawer-dialog/components/drawer.js +0 -104
- package/ebay-drawer-dialog/index.js +0 -8
- package/ebay-eek/eek-rating.js +0 -23
- package/ebay-eek/eek-util.js +0 -34
- package/ebay-eek/index.js +0 -8
- package/ebay-fake-menu/index.js +0 -12
- package/ebay-fake-menu/menu-item-separator.js +0 -23
- package/ebay-fake-menu/menu-item.js +0 -72
- package/ebay-fake-menu/menu.js +0 -57
- package/ebay-fake-menu-button/index.js +0 -14
- package/ebay-fake-menu-button/menu-button-item.js +0 -5
- package/ebay-fake-menu-button/menu-button-label.js +0 -8
- package/ebay-fake-menu-button/menu-button-separator.js +0 -23
- package/ebay-fake-menu-button/menu-button.js +0 -105
- package/ebay-fake-tabs/fake-tabs.js +0 -54
- package/ebay-fake-tabs/index.js +0 -10
- package/ebay-fake-tabs/tab.js +0 -24
- package/ebay-field/description.js +0 -26
- package/ebay-field/field.js +0 -12
- package/ebay-field/index.js +0 -12
- package/ebay-field/label.js +0 -29
- package/ebay-field/types.js +0 -2
- package/ebay-fullscreen-dialog/fullscreen-dialog.js +0 -25
- package/ebay-fullscreen-dialog/index.js +0 -8
- package/ebay-icon/icon.js +0 -98
- package/ebay-icon/index.js +0 -8
- package/ebay-icon/types.js +0 -3
- package/ebay-icon-button/icon-button.js +0 -40
- package/ebay-icon-button/index.js +0 -8
- package/ebay-infotip/ebay-infotip-content.js +0 -12
- package/ebay-infotip/ebay-infotip-heading.js +0 -23
- package/ebay-infotip/ebay-infotip-host.js +0 -28
- package/ebay-infotip/ebay-infotip.js +0 -79
- package/ebay-infotip/index.js +0 -14
- package/ebay-infotip/types.js +0 -2
- package/ebay-inline-notice/index.js +0 -10
- package/ebay-inline-notice/inline-notice.js +0 -66
- package/ebay-inline-notice/types.js +0 -2
- package/ebay-lightbox-dialog/index.js +0 -8
- package/ebay-lightbox-dialog/lightbox-dialog.js +0 -27
- package/ebay-listbox-button/index.js +0 -10
- package/ebay-listbox-button/listbox-button-option.js +0 -27
- package/ebay-listbox-button/listbox-button.js +0 -252
- package/ebay-menu/index.js +0 -27
- package/ebay-menu/menu-item-separator.js +0 -23
- package/ebay-menu/menu-item.js +0 -67
- package/ebay-menu/menu.js +0 -149
- package/ebay-menu/types.js +0 -2
- package/ebay-menu-button/index.js +0 -29
- package/ebay-menu-button/menu-button-item.js +0 -5
- package/ebay-menu-button/menu-button-label.js +0 -8
- package/ebay-menu-button/menu-button-separator.js +0 -23
- package/ebay-menu-button/menu-button.js +0 -132
- package/ebay-menu-button/types.js +0 -2
- package/ebay-notice-base/components/ebay-notice-content/index.js +0 -8
- package/ebay-notice-base/components/ebay-notice-content/notice-content.js +0 -4
- package/ebay-notice-base/components/ebay-notice-title/index.js +0 -8
- package/ebay-notice-base/components/ebay-notice-title/notice-title.js +0 -8
- package/ebay-notice-base/index.js +0 -7
- package/ebay-page-notice/index.js +0 -16
- package/ebay-page-notice/page-notice-cta.js +0 -9
- package/ebay-page-notice/page-notice-footer.js +0 -9
- package/ebay-page-notice/page-notice-title.js +0 -23
- package/ebay-page-notice/page-notice.js +0 -66
- package/ebay-pagination/const.js +0 -8
- package/ebay-pagination/helpers.js +0 -92
- package/ebay-pagination/index.js +0 -10
- package/ebay-pagination/pagination-item.js +0 -55
- package/ebay-pagination/pagination.js +0 -146
- package/ebay-pagination/types.js +0 -2
- package/ebay-panel-dialog/index.js +0 -8
- package/ebay-panel-dialog/panel-dialog.js +0 -27
- package/ebay-progress-bar/index.js +0 -8
- package/ebay-progress-bar/progress-bar.js +0 -23
- package/ebay-progress-spinner/index.js +0 -8
- package/ebay-progress-spinner/progress-spinner.js +0 -35
- package/ebay-progress-stepper/ebay-progress-step.js +0 -64
- package/ebay-progress-stepper/ebay-progress-stepper.js +0 -70
- package/ebay-progress-stepper/ebay-progress-title.js +0 -5
- package/ebay-progress-stepper/index.js +0 -12
- package/ebay-progress-stepper/types.js +0 -2
- package/ebay-radio/index.js +0 -8
- package/ebay-radio/radio.js +0 -71
- package/ebay-section-notice/index.js +0 -14
- package/ebay-section-notice/section-notice-footer.js +0 -9
- package/ebay-section-notice/section-notice-title.js +0 -23
- package/ebay-section-notice/section-notice.js +0 -82
- package/ebay-section-title/cta.js +0 -26
- package/ebay-section-title/index.js +0 -16
- package/ebay-section-title/info.js +0 -23
- package/ebay-section-title/overflow.js +0 -23
- package/ebay-section-title/section-title.js +0 -35
- package/ebay-section-title/subtitle.js +0 -23
- package/ebay-section-title/title.js +0 -23
- package/ebay-select/ebay-select-option.js +0 -22
- package/ebay-select/ebay-select.js +0 -129
- package/ebay-select/index.js +0 -10
- package/ebay-signal/index.js +0 -8
- package/ebay-signal/signal.js +0 -24
- package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.js +0 -24
- package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.js +0 -122
- package/ebay-snackbar-dialog/index.js +0 -7
- package/ebay-split-button/index.js +0 -23
- package/ebay-split-button/split-button.js +0 -30
- package/ebay-split-button/types.js +0 -2
- package/ebay-star-rating/index.js +0 -23
- package/ebay-star-rating/star-rating.js +0 -26
- package/ebay-star-rating-select/index.js +0 -23
- package/ebay-star-rating-select/star-rating-select.js +0 -82
- package/ebay-svg/index.js +0 -8
- package/ebay-svg/svg.js +0 -2548
- package/ebay-switch/ebay-switch.js +0 -61
- package/ebay-switch/index.js +0 -8
- package/ebay-tabs/index.js +0 -12
- package/ebay-tabs/tab-panel.js +0 -24
- package/ebay-tabs/tab.js +0 -24
- package/ebay-tabs/tabs.js +0 -90
- package/ebay-tabs/types.js +0 -2
- package/ebay-textbox/index.js +0 -16
- package/ebay-textbox/postfix-icon.js +0 -26
- package/ebay-textbox/postfix-text.js +0 -8
- package/ebay-textbox/prefix-icon.js +0 -23
- package/ebay-textbox/prefix-text.js +0 -8
- package/ebay-textbox/textbox.js +0 -147
- package/ebay-textbox/types.js +0 -2
- package/ebay-toast-dialog/components/toast.js +0 -26
- package/ebay-toast-dialog/index.js +0 -8
- package/ebay-tooltip/ebay-tooltip-content.js +0 -8
- package/ebay-tooltip/ebay-tooltip-host.js +0 -8
- package/ebay-tooltip/ebay-tooltip.js +0 -85
- package/ebay-tooltip/index.js +0 -14
- package/ebay-tourtip/ebay-tourtip-content.js +0 -8
- package/ebay-tourtip/ebay-tourtip-footer.js +0 -10
- package/ebay-tourtip/ebay-tourtip-heading.js +0 -24
- package/ebay-tourtip/ebay-tourtip-host.js +0 -8
- package/ebay-tourtip/ebay-tourtip.js +0 -70
- package/ebay-tourtip/index.js +0 -18
- package/ebay-video/const.js +0 -19
- package/ebay-video/controls.js +0 -40
- package/ebay-video/index.js +0 -25
- package/ebay-video/reportButton.js +0 -12
- package/ebay-video/source.js +0 -22
- package/ebay-video/types.js +0 -2
- package/ebay-video/video.js +0 -210
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const EbayTourtipFooter = ({ index, children }) => (react_1.default.createElement(react_1.default.Fragment, null,
|
|
8
|
-
index !== undefined && (react_1.default.createElement("span", { className: "tourtip__index" }, index)),
|
|
9
|
-
children));
|
|
10
|
-
exports.default = EbayTourtipFooter;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = __importDefault(require("react"));
|
|
18
|
-
const classnames_1 = __importDefault(require("classnames"));
|
|
19
|
-
const EbayTourtipHeading = (_a) => {
|
|
20
|
-
var { as, children, className } = _a, props = __rest(_a, ["as", "children", "className"]);
|
|
21
|
-
const HeadingTag = as || 'h2';
|
|
22
|
-
return (react_1.default.createElement(HeadingTag, Object.assign({}, props, { className: (0, classnames_1.default)(`tourtip__heading`, className) }), children));
|
|
23
|
-
};
|
|
24
|
-
exports.default = EbayTourtipHeading;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* This Component is used only for finding it as a child of EbayTooltip
|
|
5
|
-
* and pass the properties to TourtipHost
|
|
6
|
-
*/
|
|
7
|
-
const EbayTourtipHost = () => null;
|
|
8
|
-
exports.default = EbayTourtipHost;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
26
|
-
var t = {};
|
|
27
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
|
-
t[p] = s[p];
|
|
29
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
31
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
32
|
-
t[p[i]] = s[p[i]];
|
|
33
|
-
}
|
|
34
|
-
return t;
|
|
35
|
-
};
|
|
36
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
const react_1 = __importStar(require("react"));
|
|
41
|
-
const component_utils_1 = require("../common/component-utils");
|
|
42
|
-
const tooltip_utils_1 = require("../common/tooltip-utils");
|
|
43
|
-
const ebay_tourtip_content_1 = __importDefault(require("./ebay-tourtip-content"));
|
|
44
|
-
const ebay_tourtip_host_1 = __importDefault(require("./ebay-tourtip-host"));
|
|
45
|
-
const ebay_tourtip_footer_1 = __importDefault(require("./ebay-tourtip-footer"));
|
|
46
|
-
const ebay_tourtip_heading_1 = __importDefault(require("./ebay-tourtip-heading"));
|
|
47
|
-
const EbayTourtip = (_a) => {
|
|
48
|
-
var { a11yCloseText, 'aria-label': ariaLabel, className, children, onCollapse, onExpand, overlayStyle, pointer } = _a, rest = __rest(_a, ["a11yCloseText", 'aria-label', "className", "children", "onCollapse", "onExpand", "overlayStyle", "pointer"]);
|
|
49
|
-
const hostRef = (0, react_1.useRef)();
|
|
50
|
-
const { isExpanded, collapseTooltip } = (0, tooltip_utils_1.useTooltip)({ onExpand, onCollapse, initialExpanded: true, hostRef });
|
|
51
|
-
const containerRef = (0, react_1.useRef)();
|
|
52
|
-
const content = (0, component_utils_1.findComponent)(children, ebay_tourtip_content_1.default);
|
|
53
|
-
if (!content) {
|
|
54
|
-
throw new Error(`EbayTourtip: Please use a EbayTourtipContent that defines the content of the tourtip`);
|
|
55
|
-
}
|
|
56
|
-
const { children: contentChildren, contentProps } = content.props;
|
|
57
|
-
const host = (0, component_utils_1.findComponent)(children, ebay_tourtip_host_1.default);
|
|
58
|
-
if (!host) {
|
|
59
|
-
throw new Error(`EbayTourtip: Please use a EbayTourtipHost that defines the host of the tourtip`);
|
|
60
|
-
}
|
|
61
|
-
const heading = (0, component_utils_1.findComponent)(children, ebay_tourtip_heading_1.default);
|
|
62
|
-
const footer = (0, component_utils_1.findComponent)(children, ebay_tourtip_footer_1.default);
|
|
63
|
-
return (react_1.default.createElement(tooltip_utils_1.Tooltip, Object.assign({}, rest, { className: className, type: "tourtip", isExpanded: isExpanded, ref: containerRef }),
|
|
64
|
-
react_1.default.createElement(tooltip_utils_1.TooltipHost, Object.assign({}, host.props, { forwardedRef: hostRef, "aria-label": ariaLabel, "aria-expanded": isExpanded })),
|
|
65
|
-
react_1.default.createElement(tooltip_utils_1.TooltipContent, Object.assign({}, contentProps, { a11yCloseText: a11yCloseText, onClose: collapseTooltip, pointer: pointer, showCloseButton: true, style: overlayStyle, type: "tourtip" }),
|
|
66
|
-
heading,
|
|
67
|
-
contentChildren,
|
|
68
|
-
footer && (react_1.default.createElement(tooltip_utils_1.TooltipFooter, { type: "tourtip" }, footer)))));
|
|
69
|
-
};
|
|
70
|
-
exports.default = EbayTourtip;
|
package/ebay-tourtip/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Tooltip = exports.EbayTourtipFooter = exports.EbayTourtipHeading = exports.EbayTourtipHost = exports.EbayTourtipContent = exports.EbayTourtip = void 0;
|
|
7
|
-
var ebay_tourtip_1 = require("./ebay-tourtip");
|
|
8
|
-
Object.defineProperty(exports, "EbayTourtip", { enumerable: true, get: function () { return __importDefault(ebay_tourtip_1).default; } });
|
|
9
|
-
var ebay_tourtip_content_1 = require("./ebay-tourtip-content");
|
|
10
|
-
Object.defineProperty(exports, "EbayTourtipContent", { enumerable: true, get: function () { return __importDefault(ebay_tourtip_content_1).default; } });
|
|
11
|
-
var ebay_tourtip_host_1 = require("./ebay-tourtip-host");
|
|
12
|
-
Object.defineProperty(exports, "EbayTourtipHost", { enumerable: true, get: function () { return __importDefault(ebay_tourtip_host_1).default; } });
|
|
13
|
-
var ebay_tourtip_heading_1 = require("./ebay-tourtip-heading");
|
|
14
|
-
Object.defineProperty(exports, "EbayTourtipHeading", { enumerable: true, get: function () { return __importDefault(ebay_tourtip_heading_1).default; } });
|
|
15
|
-
var ebay_tourtip_footer_1 = require("./ebay-tourtip-footer");
|
|
16
|
-
Object.defineProperty(exports, "EbayTourtipFooter", { enumerable: true, get: function () { return __importDefault(ebay_tourtip_footer_1).default; } });
|
|
17
|
-
var tooltip_utils_1 = require("../common/tooltip-utils");
|
|
18
|
-
Object.defineProperty(exports, "Tooltip", { enumerable: true, get: function () { return tooltip_utils_1.Tooltip; } });
|
package/ebay-video/const.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultVideoConfig = exports.ERROR_NO_PLAYER = exports.ERROR_ANOTHER_LOAD = void 0;
|
|
4
|
-
exports.ERROR_ANOTHER_LOAD = 7000;
|
|
5
|
-
exports.ERROR_NO_PLAYER = 11;
|
|
6
|
-
exports.defaultVideoConfig = {
|
|
7
|
-
addBigPlayButton: false,
|
|
8
|
-
addSeekBar: true,
|
|
9
|
-
controlPanelElements: [
|
|
10
|
-
'play_pause',
|
|
11
|
-
'time_and_duration',
|
|
12
|
-
'spacer',
|
|
13
|
-
'mute',
|
|
14
|
-
'report',
|
|
15
|
-
'captions',
|
|
16
|
-
// 'quality', // uncomment this to show a gear icon for video quality control
|
|
17
|
-
'fullscreen'
|
|
18
|
-
]
|
|
19
|
-
};
|
package/ebay-video/controls.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.customControls = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const client_1 = require("react-dom/client");
|
|
9
|
-
// need that for broken definitions workaround
|
|
10
|
-
// @ts-ignore
|
|
11
|
-
const shaka_player_ui_1 = require("shaka-player/dist/shaka-player.ui");
|
|
12
|
-
const reportButton_1 = require("./reportButton");
|
|
13
|
-
function customControls(onReport = () => { }) {
|
|
14
|
-
// Have to contain in order to not execute until shaka is downloaded
|
|
15
|
-
// eslint-disable-next-line no-extra-parens
|
|
16
|
-
const Report = class extends shaka_player_ui_1.ui.Element {
|
|
17
|
-
constructor(parent, controls, text) {
|
|
18
|
-
super(parent, controls);
|
|
19
|
-
const tempEl = document.createElement('div');
|
|
20
|
-
const buttonCallback = () => {
|
|
21
|
-
const reportButton = tempEl.firstChild;
|
|
22
|
-
parent.appendChild(reportButton);
|
|
23
|
-
tempEl.remove();
|
|
24
|
-
// have to listen to clicks this way (React onClick will not work):
|
|
25
|
-
this.eventManager.listen(reportButton, 'click', onReport);
|
|
26
|
-
};
|
|
27
|
-
(0, client_1.createRoot)(tempEl).render(react_1.default.createElement(reportButton_1.ReportButton, { callback: buttonCallback }, text));
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
Report.Factory = class {
|
|
31
|
-
constructor(reportText) {
|
|
32
|
-
this.reportText = reportText;
|
|
33
|
-
}
|
|
34
|
-
create(rootElement, controls) {
|
|
35
|
-
return new Report(rootElement, controls, this.reportText);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
return { Report };
|
|
39
|
-
}
|
|
40
|
-
exports.customControls = customControls;
|
package/ebay-video/index.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
-
};
|
|
19
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.EbayVideoSource = exports.EbayVideo = void 0;
|
|
21
|
-
var video_1 = require("./video");
|
|
22
|
-
Object.defineProperty(exports, "EbayVideo", { enumerable: true, get: function () { return __importDefault(video_1).default; } });
|
|
23
|
-
var source_1 = require("./source");
|
|
24
|
-
Object.defineProperty(exports, "EbayVideoSource", { enumerable: true, get: function () { return __importDefault(source_1).default; } });
|
|
25
|
-
__exportStar(require("./types"), exports);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ReportButton = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const ebay_icon_1 = require("../ebay-icon");
|
|
9
|
-
const ReportButton = ({ callback, children }) => (react_1.default.createElement("button", { className: "video-player__report-button", ref: callback },
|
|
10
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "flag24" }),
|
|
11
|
-
children));
|
|
12
|
-
exports.ReportButton = ReportButton;
|
package/ebay-video/source.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = __importDefault(require("react"));
|
|
18
|
-
const EbayVideoSource = (_a) => {
|
|
19
|
-
var rest = __rest(_a, []);
|
|
20
|
-
return react_1.default.createElement("source", Object.assign({}, rest));
|
|
21
|
-
};
|
|
22
|
-
exports.default = EbayVideoSource;
|
package/ebay-video/types.js
DELETED
package/ebay-video/video.js
DELETED
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
26
|
-
var t = {};
|
|
27
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
|
-
t[p] = s[p];
|
|
29
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
31
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
32
|
-
t[p[i]] = s[p[i]];
|
|
33
|
-
}
|
|
34
|
-
return t;
|
|
35
|
-
};
|
|
36
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
const react_1 = __importStar(require("react"));
|
|
41
|
-
const classnames_1 = __importDefault(require("classnames"));
|
|
42
|
-
// need that for broken definitions workaround
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
const shaka_player_ui_1 = __importDefault(require("shaka-player/dist/shaka-player.ui"));
|
|
45
|
-
const component_utils_1 = require("../common/component-utils");
|
|
46
|
-
const ebay_icon_1 = require("../ebay-icon");
|
|
47
|
-
const ebay_progress_spinner_1 = require("../ebay-progress-spinner");
|
|
48
|
-
const source_1 = __importDefault(require("./source"));
|
|
49
|
-
const const_1 = require("./const");
|
|
50
|
-
const controls_1 = require("./controls");
|
|
51
|
-
const EbayVideo = (_a) => {
|
|
52
|
-
var { width, height, thumbnail, action, muted, playView = 'inline', a11yLoadText, a11yPlayText, reportText, volumeSlider, volume = 1, hideReportButton, errorText, onVolumeChange = () => {
|
|
53
|
-
}, onLoadError = () => {
|
|
54
|
-
}, onPlay = () => {
|
|
55
|
-
}, onReport = () => {
|
|
56
|
-
}, children } = _a, rest = __rest(_a, ["width", "height", "thumbnail", "action", "muted", "playView", "a11yLoadText", "a11yPlayText", "reportText", "volumeSlider", "volume", "hideReportButton", "errorText", "onVolumeChange", "onLoadError", "onPlay", "onReport", "children"]);
|
|
57
|
-
const [loaded, setLoaded] = (0, react_1.useState)();
|
|
58
|
-
const [buffering, setBuffering] = (0, react_1.useState)();
|
|
59
|
-
const [playing, setPlaying] = (0, react_1.useState)();
|
|
60
|
-
const [failed, setFailed] = (0, react_1.useState)();
|
|
61
|
-
const containerRef = (0, react_1.useRef)(null);
|
|
62
|
-
const videoRef = (0, react_1.useRef)(null);
|
|
63
|
-
const playerRef = (0, react_1.useRef)(null);
|
|
64
|
-
const uiRef = (0, react_1.useRef)(null);
|
|
65
|
-
const sources = (0, component_utils_1.filterByType)(children, source_1.default).map(({ props }) => props);
|
|
66
|
-
const handleError = (err) => {
|
|
67
|
-
setLoaded(true);
|
|
68
|
-
setFailed(true);
|
|
69
|
-
onLoadError(err);
|
|
70
|
-
};
|
|
71
|
-
const loadSource = (index = 0) => {
|
|
72
|
-
var _a;
|
|
73
|
-
if (!sources.length || !playerRef.current)
|
|
74
|
-
return;
|
|
75
|
-
setLoaded(false);
|
|
76
|
-
playerRef.current
|
|
77
|
-
.load((_a = sources[index]) === null || _a === void 0 ? void 0 : _a.src)
|
|
78
|
-
.then(() => {
|
|
79
|
-
setFailed(false);
|
|
80
|
-
})
|
|
81
|
-
.catch(err => {
|
|
82
|
-
console.error(err);
|
|
83
|
-
switch (err.code) {
|
|
84
|
-
case const_1.ERROR_ANOTHER_LOAD:
|
|
85
|
-
return;
|
|
86
|
-
case const_1.ERROR_NO_PLAYER:
|
|
87
|
-
setTimeout(() => loadSource(index), 0);
|
|
88
|
-
break;
|
|
89
|
-
default: {
|
|
90
|
-
const nextIndex = sources.length > index + 1 && index + 1;
|
|
91
|
-
if (nextIndex) {
|
|
92
|
-
setTimeout(() => loadSource(nextIndex), 0);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
handleError(err);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
})
|
|
100
|
-
.finally(() => {
|
|
101
|
-
setLoaded(true);
|
|
102
|
-
});
|
|
103
|
-
};
|
|
104
|
-
(0, react_1.useEffect)(() => {
|
|
105
|
-
const video = videoRef.current;
|
|
106
|
-
const container = containerRef.current;
|
|
107
|
-
if (!video || !container)
|
|
108
|
-
return;
|
|
109
|
-
video.volume = volume;
|
|
110
|
-
shaka_player_ui_1.default.polyfill.installAll(); // todo: check if we need that
|
|
111
|
-
playerRef.current = new shaka_player_ui_1.default.Player(video);
|
|
112
|
-
if (!playerRef.current)
|
|
113
|
-
return;
|
|
114
|
-
playerRef.current.addEventListener('error', handleError);
|
|
115
|
-
playerRef.current.addEventListener('buffering', (e) => {
|
|
116
|
-
setBuffering(e.buffering);
|
|
117
|
-
});
|
|
118
|
-
uiRef.current = new shaka_player_ui_1.default.ui.Overlay(playerRef.current, container, video, reportText);
|
|
119
|
-
uiRef.current.configure({
|
|
120
|
-
addBigPlayButton: true,
|
|
121
|
-
controlPanelElements: [],
|
|
122
|
-
addSeekBar: false
|
|
123
|
-
});
|
|
124
|
-
if (!hideReportButton) {
|
|
125
|
-
const { Report } = (0, controls_1.customControls)(onReport);
|
|
126
|
-
shaka_player_ui_1.default.ui.Controls.registerElement('report', new Report.Factory(reportText));
|
|
127
|
-
}
|
|
128
|
-
loadSource();
|
|
129
|
-
hideSpinner(container);
|
|
130
|
-
// return () => {
|
|
131
|
-
// playerRef.current.destroy()
|
|
132
|
-
// uiRef.current.destroy()
|
|
133
|
-
// }
|
|
134
|
-
}, []);
|
|
135
|
-
(0, react_1.useEffect)(() => {
|
|
136
|
-
switch (action) {
|
|
137
|
-
case 'play':
|
|
138
|
-
videoRef.current.play();
|
|
139
|
-
break;
|
|
140
|
-
case 'pause':
|
|
141
|
-
videoRef.current.pause();
|
|
142
|
-
break;
|
|
143
|
-
default:
|
|
144
|
-
}
|
|
145
|
-
}, [action]);
|
|
146
|
-
const showControls = () => {
|
|
147
|
-
if (!uiRef.current)
|
|
148
|
-
return;
|
|
149
|
-
const updatedControls = volumeSlider ? {
|
|
150
|
-
controlPanelElements: withVolumeControl(const_1.defaultVideoConfig.controlPanelElements)
|
|
151
|
-
} : {};
|
|
152
|
-
uiRef.current.configure(Object.assign(Object.assign({}, const_1.defaultVideoConfig), updatedControls));
|
|
153
|
-
videoRef.current.controls = false;
|
|
154
|
-
};
|
|
155
|
-
const handlePlaying = (e) => {
|
|
156
|
-
e.stopPropagation();
|
|
157
|
-
showControls();
|
|
158
|
-
if (playView === 'fullscreen') {
|
|
159
|
-
videoRef.current.requestFullscreen();
|
|
160
|
-
}
|
|
161
|
-
setPlaying(true);
|
|
162
|
-
onPlay(e, { player: playerRef.current });
|
|
163
|
-
};
|
|
164
|
-
const handleOnPlayClick = () => {
|
|
165
|
-
videoRef.current.play();
|
|
166
|
-
};
|
|
167
|
-
const handleVolumeChange = (e) => {
|
|
168
|
-
const eventTarget = e.currentTarget;
|
|
169
|
-
onVolumeChange(e, {
|
|
170
|
-
volume: Math.round((eventTarget.volume + Number.EPSILON) * 100) / 100,
|
|
171
|
-
muted: eventTarget.muted
|
|
172
|
-
});
|
|
173
|
-
};
|
|
174
|
-
const handleOnPause = () => {
|
|
175
|
-
// On IOS, the controls force showing up if the video exist fullscreen while playing.
|
|
176
|
-
// This forces the controls to always hide
|
|
177
|
-
videoRef.current.controls = false;
|
|
178
|
-
};
|
|
179
|
-
const style = {
|
|
180
|
-
width: width ? `${width}px` : undefined,
|
|
181
|
-
height: height ? `${height}px` : undefined
|
|
182
|
-
};
|
|
183
|
-
return (react_1.default.createElement("div", { style: style, className: (0, classnames_1.default)('video-player', { 'video-player--poster': !playing }) },
|
|
184
|
-
!playing && loaded && !failed && !buffering &&
|
|
185
|
-
react_1.default.createElement("div", { className: "shaka-play-button-container" },
|
|
186
|
-
react_1.default.createElement("button", { onClick: handleOnPlayClick, className: "shaka-play-button", style: { opacity: 1, zIndex: 999 }, "aria-label": a11yPlayText },
|
|
187
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "playFilled64Colored" }))),
|
|
188
|
-
react_1.default.createElement("div", { className: "video-player__container", ref: containerRef },
|
|
189
|
-
react_1.default.createElement("video", Object.assign({ ref: videoRef, style: style, poster: thumbnail, muted: muted || false, onPlaying: handlePlaying, onPause: handleOnPause, onVolumeChange: handleVolumeChange }, rest), sources.map((source, i) => react_1.default.createElement("source", Object.assign({ key: i }, source))))),
|
|
190
|
-
react_1.default.createElement("div", { className: (0, classnames_1.default)('video-player__overlay', { 'video-player__overlay--hidden': !failed }) },
|
|
191
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "attention64" }),
|
|
192
|
-
react_1.default.createElement("div", { className: "video-player__overlay-text" }, errorText)),
|
|
193
|
-
react_1.default.createElement("div", { className: (0, classnames_1.default)('video-player__overlay', {
|
|
194
|
-
'video-player__overlay--hidden': loaded && (failed || !buffering)
|
|
195
|
-
}) },
|
|
196
|
-
react_1.default.createElement(ebay_progress_spinner_1.EbayProgressSpinner, { size: "large", "aria-label": a11yLoadText }))));
|
|
197
|
-
};
|
|
198
|
-
function withVolumeControl(controls) {
|
|
199
|
-
const insertAt = controls.length - 2 > 0 ? controls.length - 2 : controls.length;
|
|
200
|
-
const controlsWithVolume = [...controls];
|
|
201
|
-
controlsWithVolume.splice(insertAt, 0, 'volume');
|
|
202
|
-
return controlsWithVolume;
|
|
203
|
-
}
|
|
204
|
-
function hideSpinner(container) {
|
|
205
|
-
const shakaSpinner = container.querySelectorAll('.shaka-spinner')[0];
|
|
206
|
-
if (shakaSpinner) {
|
|
207
|
-
shakaSpinner.setAttribute('hidden', '');
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
exports.default = EbayVideo;
|