ably-ui 8.7.0.dev.7021bee → 8.7.0.dev.7072b07
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +15 -4
- data/lib/ably_ui/core/code/component.css +2 -0
- data/lib/ably_ui/core/code/component.js +739 -1
- data/lib/ably_ui/core/company_autocomplete/component.css +2 -0
- data/lib/ably_ui/core/company_autocomplete/component.js +1161 -1
- data/lib/ably_ui/core/connect_state_wrapper/component.js +22 -1
- data/lib/ably_ui/core/contact_footer/component.css +2 -0
- data/lib/ably_ui/core/contact_footer/component.js +211 -1
- data/lib/ably_ui/core/cookie_message/component.css +2 -0
- data/lib/ably_ui/core/cookie_message/component.js +82 -1
- data/lib/ably_ui/core/core.rb +12 -4
- data/lib/ably_ui/core/customer_logos/component.js +22 -1
- data/lib/ably_ui/core/dropdown_menu/component.js +22 -1
- data/lib/ably_ui/core/feature_footer/component.css +2 -0
- data/lib/ably_ui/core/feature_footer/component.js +211 -1
- data/lib/ably_ui/core/featured_link/component.css +2 -0
- data/lib/ably_ui/core/featured_link/component.js +82 -1
- data/lib/ably_ui/core/flash/component.css +2 -0
- data/lib/ably_ui/core/flash/component.js +82 -1
- data/lib/ably_ui/core/footer/component.css +23 -1
- data/lib/ably_ui/core/footer/component.js +82 -1
- data/lib/ably_ui/core/footer/footer.html.erb +120 -63
- data/lib/ably_ui/core/icon/component.js +22 -1
- data/lib/ably_ui/core/images/best-support-2023.svg +1 -0
- data/lib/ably_ui/core/images/fastest-implementation-2023.svg +1 -0
- data/lib/ably_ui/core/images/high-performer-2022.png +0 -0
- data/lib/ably_ui/core/images/high-performer-2023.svg +1 -0
- data/lib/ably_ui/core/images/highest-user-adoption-2022.png +0 -0
- data/lib/ably_ui/core/images/highest-user-adoption-2023.svg +1 -0
- data/lib/ably_ui/core/images/users-love-us-2022.png +0 -0
- data/lib/ably_ui/core/loader/component.js +22 -1
- data/lib/ably_ui/core/logo/component.js +22 -1
- data/lib/ably_ui/core/meganav/component.css +3 -3
- data/lib/ably_ui/core/meganav/component.js +992 -1
- data/lib/ably_ui/core/meganav/component.json +2 -2
- data/lib/ably_ui/core/meganav/meganav.rb +6 -6
- data/lib/ably_ui/core/meganav_blog_posts_list/component.js +1159 -1
- data/lib/ably_ui/core/meganav_content_company/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_company/meganav_content_company.html.erb +9 -0
- data/lib/ably_ui/core/meganav_content_developers/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_developers/meganav_content_developers.html.erb +30 -14
- data/lib/ably_ui/core/meganav_content_products/component.js +22 -0
- data/lib/ably_ui/core/{meganav_content_platform/meganav_content_platform.html.erb → meganav_content_products/meganav_content_products.html.erb} +15 -33
- data/lib/ably_ui/core/{meganav_content_platform/meganav_content_platform.rb → meganav_content_products/meganav_content_products.rb} +1 -1
- data/lib/ably_ui/core/meganav_content_use_cases/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_use_cases/meganav_content_use_cases.html.erb +42 -38
- data/lib/ably_ui/core/meganav_control/component.js +241 -1
- data/lib/ably_ui/core/meganav_control_mobile_dropdown/component.js +180 -1
- data/lib/ably_ui/core/meganav_control_mobile_panel_close/component.js +142 -1
- data/lib/ably_ui/core/meganav_control_mobile_panel_open/component.js +170 -1
- data/lib/ably_ui/core/meganav_items_desktop/component.js +22 -1
- data/lib/ably_ui/core/meganav_items_desktop/meganav_items_desktop.rb +1 -1
- data/lib/ably_ui/core/meganav_items_mobile/component.js +22 -1
- data/lib/ably_ui/core/meganav_items_signed_in/component.js +22 -1
- data/lib/ably_ui/core/meganav_search/component.js +22 -1
- data/lib/ably_ui/core/meganav_search_autocomplete/component.js +295 -1
- data/lib/ably_ui/core/meganav_search_panel/component.js +22 -1
- data/lib/ably_ui/core/meganav_search_suggestions/component.js +258 -1
- data/lib/ably_ui/core/notice/component.css +2 -0
- data/lib/ably_ui/core/notice/component.js +872 -1
- data/lib/ably_ui/core/scripts.js +1465 -1
- data/lib/ably_ui/core/showcase/component.css +2 -0
- data/lib/ably_ui/core/showcase/component.js +343 -1
- data/lib/ably_ui/core/sign_out_link/component.js +22 -1
- data/lib/ably_ui/core/slider/component.css +2 -0
- data/lib/ably_ui/core/slider/component.js +255 -1
- data/lib/ably_ui/core/sprites.svg +99 -0
- data/lib/ably_ui/core/styles.css +3 -7
- data/lib/ably_ui/core/uptime/component.css +2 -0
- data/lib/ably_ui/core/uptime/component.js +82 -1
- data/lib/ably_ui/reset/scripts.js +1 -1
- data/lib/ably_ui/reset/styles.css +1 -11
- data/lib/ably_ui/version.rb +1 -1
- metadata +12 -7
- data/lib/ably_ui/core/meganav_content_platform/component.js +0 -1
- data/lib/ably_ui/react/connect_state_wrapper/component.js +0 -1
- data/lib/ably_ui/react/scripts.js +0 -1
@@ -29,3 +29,5 @@
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
|
32
|
+
|
33
|
+
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS9TaG93Y2FzZS9jb21wb25lbnQuY3NzIiwibWFwcGluZ3MiOiJBQUFBO0VBQ0U7SUFDRSx3QkFBd0IsRUFBRSwwQkFBMEI7SUFDcEQscUJBQXFCLEVBQUUsWUFBWTs7SUFFbkMsc0JBQXNCO0VBQ3hCOztFQUVBO0lBQ0UsYUFBYSxFQUFFLHNCQUFzQjtFQUN2Qzs7RUFFQTtJQUNFLG9CQUFvQjtFQUN0Qjs7RUFFQTtJQUNFLG1EQUFtRDtJQUNuRCwwREFBMEQ7RUFDNUQ7O0VBRUE7SUFDRSxtREFBbUQ7SUFDbkQsYUFBYTtFQUNmOztFQUVBO0lBQ0Usa0JBQWtCO0VBQ3BCO0FBQ0YiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9BYmx5VWkuQ29yZS8uL3NyYy9jb3JlL1Nob3djYXNlL2NvbXBvbmVudC5jc3MiXSwic291cmNlc0NvbnRlbnQiOlsiQGxheWVyIGNvbXBvbmVudHMge1xuICAudWktc2hvd2Nhc2Utb3ZlcmZsb3ctY29udGFpbmVyIHtcbiAgICAtbXMtb3ZlcmZsb3ctc3R5bGU6IG5vbmU7IC8qIEludGVybmV0IEV4cGxvcmVyIDEwKyAqL1xuICAgIHNjcm9sbGJhci13aWR0aDogbm9uZTsgLyogRmlyZWZveCAqL1xuXG4gICAgQGFwcGx5IG92ZXJmbG93LXgtYXV0bztcbiAgfVxuXG4gIC51aS1zaG93Y2FzZS1vdmVyZmxvdy1jb250YWluZXI6Oi13ZWJraXQtc2Nyb2xsYmFyIHtcbiAgICBAYXBwbHkgaGlkZGVuOyAvKiBTYWZhcmkgYW5kIENocm9tZSAqL1xuICB9XG5cbiAgLnVpLXNob3djYXNlLWxvZ28td3JhcHBlciB7XG4gICAgQGFwcGx5IGZsZXggYmctd2hpdGU7XG4gIH1cblxuICAudWktc2hvd2Nhc2UtbG9nbyB7XG4gICAgbWluLXdpZHRoOiB2YXIoLS11aS1zaG93Y2FzZS1jbGllbnQtbG9nby1taW4td2lkdGgpO1xuICAgIEBhcHBseSB3LWZ1bGwgcHktMTYgcHgtMTIgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXI7XG4gIH1cblxuICAudWktc2hvd2Nhc2UtbG9nby1pbWcge1xuICAgIG1heC13aWR0aDogdmFyKC0tdWktc2hvd2Nhc2UtY2xpZW50LWxvZ28tbWF4LXdpZHRoKTtcbiAgICBAYXBwbHkgdy1mdWxsO1xuICB9XG5cbiAgLnVpLXNob3djYXNlLWluZGV4LWJhciB7XG4gICAgQGFwcGx5IGJnLW1pZC1ncmV5O1xuICB9XG59XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=*/
|
@@ -1 +1,343 @@
|
|
1
|
-
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory();
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define([], factory);
|
6
|
+
else if(typeof exports === 'object')
|
7
|
+
exports["AblyUi"] = factory();
|
8
|
+
else
|
9
|
+
root["AblyUi"] = root["AblyUi"] || {}, root["AblyUi"]["Core"] = root["AblyUi"]["Core"] || {}, root["AblyUi"]["Core"]["Showcase"] = factory();
|
10
|
+
})(this, () => {
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
14
|
+
|
15
|
+
/***/ "./src/core/css.js":
|
16
|
+
/*!*************************!*\
|
17
|
+
!*** ./src/core/css.js ***!
|
18
|
+
\*************************/
|
19
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
20
|
+
|
21
|
+
__webpack_require__.r(__webpack_exports__);
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ "remsToPixelValue": () => (/* binding */ remsToPixelValue)
|
24
|
+
/* harmony export */ });
|
25
|
+
var remsToPixelValue = function remsToPixelValue(remString) {
|
26
|
+
return parseFloat(remString) * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
27
|
+
};
|
28
|
+
|
29
|
+
/***/ }),
|
30
|
+
|
31
|
+
/***/ "./src/core/dom-query.js":
|
32
|
+
/*!*******************************!*\
|
33
|
+
!*** ./src/core/dom-query.js ***!
|
34
|
+
\*******************************/
|
35
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
36
|
+
|
37
|
+
__webpack_require__.r(__webpack_exports__);
|
38
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
39
|
+
/* harmony export */ "queryId": () => (/* binding */ queryId),
|
40
|
+
/* harmony export */ "queryIdAll": () => (/* binding */ queryIdAll)
|
41
|
+
/* harmony export */ });
|
42
|
+
var queryId = function queryId(val) {
|
43
|
+
var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
|
44
|
+
return root.querySelector("[data-id=".concat(val, "]"));
|
45
|
+
};
|
46
|
+
var queryIdAll = function queryIdAll(val) {
|
47
|
+
var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
|
48
|
+
return root.querySelectorAll("[data-id=".concat(val, "]"));
|
49
|
+
};
|
50
|
+
|
51
|
+
/***/ }),
|
52
|
+
|
53
|
+
/***/ "./src/core/Showcase/component.css":
|
54
|
+
/*!*****************************************!*\
|
55
|
+
!*** ./src/core/Showcase/component.css ***!
|
56
|
+
\*****************************************/
|
57
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
58
|
+
|
59
|
+
__webpack_require__.r(__webpack_exports__);
|
60
|
+
// extracted by mini-css-extract-plugin
|
61
|
+
|
62
|
+
|
63
|
+
/***/ })
|
64
|
+
|
65
|
+
/******/ });
|
66
|
+
/************************************************************************/
|
67
|
+
/******/ // The module cache
|
68
|
+
/******/ var __webpack_module_cache__ = {};
|
69
|
+
/******/
|
70
|
+
/******/ // The require function
|
71
|
+
/******/ function __webpack_require__(moduleId) {
|
72
|
+
/******/ // Check if module is in cache
|
73
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
74
|
+
/******/ if (cachedModule !== undefined) {
|
75
|
+
/******/ return cachedModule.exports;
|
76
|
+
/******/ }
|
77
|
+
/******/ // Create a new module (and put it into the cache)
|
78
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
79
|
+
/******/ // no module.id needed
|
80
|
+
/******/ // no module.loaded needed
|
81
|
+
/******/ exports: {}
|
82
|
+
/******/ };
|
83
|
+
/******/
|
84
|
+
/******/ // Execute the module function
|
85
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
86
|
+
/******/
|
87
|
+
/******/ // Return the exports of the module
|
88
|
+
/******/ return module.exports;
|
89
|
+
/******/ }
|
90
|
+
/******/
|
91
|
+
/************************************************************************/
|
92
|
+
/******/ /* webpack/runtime/define property getters */
|
93
|
+
/******/ (() => {
|
94
|
+
/******/ // define getter functions for harmony exports
|
95
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
96
|
+
/******/ for(var key in definition) {
|
97
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
98
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
99
|
+
/******/ }
|
100
|
+
/******/ }
|
101
|
+
/******/ };
|
102
|
+
/******/ })();
|
103
|
+
/******/
|
104
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
105
|
+
/******/ (() => {
|
106
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
107
|
+
/******/ })();
|
108
|
+
/******/
|
109
|
+
/******/ /* webpack/runtime/make namespace object */
|
110
|
+
/******/ (() => {
|
111
|
+
/******/ // define __esModule on exports
|
112
|
+
/******/ __webpack_require__.r = (exports) => {
|
113
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
114
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
115
|
+
/******/ }
|
116
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
117
|
+
/******/ };
|
118
|
+
/******/ })();
|
119
|
+
/******/
|
120
|
+
/************************************************************************/
|
121
|
+
var __webpack_exports__ = {};
|
122
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
123
|
+
(() => {
|
124
|
+
/*!****************************************!*\
|
125
|
+
!*** ./src/core/Showcase/component.js ***!
|
126
|
+
\****************************************/
|
127
|
+
__webpack_require__.r(__webpack_exports__);
|
128
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
129
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
130
|
+
/* harmony export */ });
|
131
|
+
/* harmony import */ var _dom_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-query */ "./src/core/dom-query.js");
|
132
|
+
/* harmony import */ var _css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../css */ "./src/core/css.js");
|
133
|
+
/* harmony import */ var _component_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./component.css */ "./src/core/Showcase/component.css");
|
134
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
135
|
+
|
136
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
137
|
+
|
138
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
139
|
+
|
140
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
141
|
+
|
142
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
143
|
+
|
144
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
var SLIDE_SHOW_INTERVAL = 5000;
|
150
|
+
|
151
|
+
var updateLogoOpacity = function updateLogoOpacity(logos, currentIndex) {
|
152
|
+
var visible = ["filter-grayscale", "filter-none"];
|
153
|
+
var opaque = [].concat(visible).reverse();
|
154
|
+
logos.forEach(function (logo, i) {
|
155
|
+
var _logo$classList;
|
156
|
+
|
157
|
+
(_logo$classList = logo.classList).replace.apply(_logo$classList, _toConsumableArray(i === currentIndex ? visible : opaque));
|
158
|
+
});
|
159
|
+
};
|
160
|
+
|
161
|
+
var translateX = function translateX(el, currentIndex) {
|
162
|
+
var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
163
|
+
var percent = currentIndex * 100 * direction;
|
164
|
+
el.style.transform = "translateX(".concat(percent, "%)");
|
165
|
+
};
|
166
|
+
|
167
|
+
var moveControlsContainer = function moveControlsContainer(controlsContainer, currentIndex) {
|
168
|
+
var parentNode = controlsContainer.parentNode,
|
169
|
+
children = controlsContainer.children;
|
170
|
+
var parentCenter = parentNode.clientWidth / 2;
|
171
|
+
var countChildren = children.length;
|
172
|
+
var widthChildren = Array.from(children).map(function (el) {
|
173
|
+
return el.clientWidth;
|
174
|
+
}).reduce(function (a, c) {
|
175
|
+
return a + c;
|
176
|
+
});
|
177
|
+
var width = widthChildren / countChildren;
|
178
|
+
var firstOrLast = !currentIndex || !(countChildren - currentIndex - 1);
|
179
|
+
var offsetLeft = !firstOrLast ? parentCenter - width / 2 : 0;
|
180
|
+
var left = currentIndex * width - (offsetLeft >> 0);
|
181
|
+
parentNode.scrollTo({
|
182
|
+
left: left,
|
183
|
+
behavior: "smooth"
|
184
|
+
});
|
185
|
+
};
|
186
|
+
|
187
|
+
var propertyValue = function propertyValue(string) {
|
188
|
+
return window.getComputedStyle(document.documentElement).getPropertyValue(string);
|
189
|
+
};
|
190
|
+
|
191
|
+
var mobileBreakpoint = function mobileBreakpoint(pixelWidth) {
|
192
|
+
if (typeof window === "undefined") return false; // Margin for small breakpoint, but could be different in practice
|
193
|
+
|
194
|
+
var estimatedMargin = 64;
|
195
|
+
var breakpointEstimate = "".concat(pixelWidth + estimatedMargin, "px");
|
196
|
+
return !window.matchMedia("(min-width: ".concat(breakpointEstimate, ")")).matches;
|
197
|
+
};
|
198
|
+
|
199
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (node, enableSlideshow) {
|
200
|
+
var container = node || (0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("showcase");
|
201
|
+
var controls = Array.from((0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryIdAll)("showcase-control", container));
|
202
|
+
var logos = controls.map(function (control) {
|
203
|
+
return control.querySelector("img");
|
204
|
+
});
|
205
|
+
var controlsContainer = (0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("showcase-controls", container);
|
206
|
+
var indexBar = (0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("showcase-index-bar", container);
|
207
|
+
var slides = (0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("showcase-slides", container);
|
208
|
+
var slideCount = slides.children.length;
|
209
|
+
var logoWidth = propertyValue("--ui-showcase-client-logo-min-width");
|
210
|
+
var pixelWidth = (0,_css__WEBPACK_IMPORTED_MODULE_1__.remsToPixelValue)(logoWidth) * slideCount; // dynamically adjust container width
|
211
|
+
|
212
|
+
[".ui-showcase-logo-wrapper", ".ui-showcase-index-bar"].forEach(function (s) {
|
213
|
+
var el = container.querySelector(s);
|
214
|
+
var minWidth = "".concat(pixelWidth, "px");
|
215
|
+
el.style.minWidth = minWidth;
|
216
|
+
});
|
217
|
+
var currentIndex = 0;
|
218
|
+
var mouseover = false;
|
219
|
+
var updateSlideTimeoutId;
|
220
|
+
|
221
|
+
var updateSlide = function updateSlide(index) {
|
222
|
+
translateX(slides, index, -1);
|
223
|
+
translateX(indexBar, index, 1);
|
224
|
+
updateLogoOpacity(logos, index);
|
225
|
+
|
226
|
+
if (mobileBreakpoint(pixelWidth)) {
|
227
|
+
moveControlsContainer(controlsContainer, index);
|
228
|
+
}
|
229
|
+
};
|
230
|
+
|
231
|
+
var scheduleSlideMove = function scheduleSlideMove() {
|
232
|
+
return updateSlideTimeoutId = setTimeout(function () {
|
233
|
+
if (mouseover) return;
|
234
|
+
if (mobileBreakpoint(pixelWidth)) return;
|
235
|
+
currentIndex = (currentIndex + 1) % controls.length;
|
236
|
+
updateSlide(currentIndex);
|
237
|
+
scheduleSlideMove();
|
238
|
+
}, SLIDE_SHOW_INTERVAL);
|
239
|
+
};
|
240
|
+
|
241
|
+
var logoClick = function logoClick() {
|
242
|
+
var clickHandler = function clickHandler(index) {
|
243
|
+
return function () {
|
244
|
+
currentIndex = index;
|
245
|
+
updateSlide(currentIndex);
|
246
|
+
};
|
247
|
+
};
|
248
|
+
|
249
|
+
var handlers = controls.map(function (control, index) {
|
250
|
+
var handler = clickHandler(index);
|
251
|
+
control.addEventListener("click", handler);
|
252
|
+
return handler;
|
253
|
+
});
|
254
|
+
return function () {
|
255
|
+
handlers.forEach(function (handler, i) {
|
256
|
+
return controls[i].removeEventListener("click", handler);
|
257
|
+
});
|
258
|
+
};
|
259
|
+
};
|
260
|
+
|
261
|
+
var pointerOverContainer = function pointerOverContainer() {
|
262
|
+
var handler = function handler() {
|
263
|
+
mouseover = true;
|
264
|
+
clearTimeout(updateSlideTimeoutId);
|
265
|
+
};
|
266
|
+
|
267
|
+
container.addEventListener("mouseover", handler);
|
268
|
+
return function () {
|
269
|
+
return container.removeEventListener("mouseover", handler);
|
270
|
+
};
|
271
|
+
};
|
272
|
+
|
273
|
+
var pointerLeftContainer = function pointerLeftContainer() {
|
274
|
+
var handler = function handler() {
|
275
|
+
mouseover = false;
|
276
|
+
scheduleSlideMove();
|
277
|
+
};
|
278
|
+
|
279
|
+
container.addEventListener("mouseleave", handler);
|
280
|
+
return function () {
|
281
|
+
return container.removeEventListener("mouseleave", handler);
|
282
|
+
};
|
283
|
+
};
|
284
|
+
|
285
|
+
var viewportResized = function viewportResized() {
|
286
|
+
var handler = function handler() {
|
287
|
+
clearTimeout(updateSlideTimeoutId);
|
288
|
+
scheduleSlideMove();
|
289
|
+
};
|
290
|
+
|
291
|
+
document.addEventListener("resize", handler);
|
292
|
+
return function () {
|
293
|
+
return document.removeEventListener("resize", handler);
|
294
|
+
};
|
295
|
+
};
|
296
|
+
|
297
|
+
var scrollOverContainer = function scrollOverContainer() {
|
298
|
+
var handler = function handler(event) {
|
299
|
+
return event.preventDefault();
|
300
|
+
};
|
301
|
+
|
302
|
+
controlsContainer.parentNode.addEventListener("wheel", handler);
|
303
|
+
return function () {
|
304
|
+
return controlsContainer.parentNode.removeEventListener("wheel", handler);
|
305
|
+
};
|
306
|
+
};
|
307
|
+
|
308
|
+
var logoClickTeardown = logoClick();
|
309
|
+
var scrollOverContainerTeardown = scrollOverContainer();
|
310
|
+
|
311
|
+
var slideshowInit = function slideshowInit() {
|
312
|
+
if (enableSlideshow) {
|
313
|
+
scheduleSlideMove();
|
314
|
+
container.setAttribute("aria-live", "polite");
|
315
|
+
var teardowns = [pointerOverContainer(), pointerLeftContainer(), viewportResized()];
|
316
|
+
return function () {
|
317
|
+
return teardowns.forEach(function (t) {
|
318
|
+
return t();
|
319
|
+
});
|
320
|
+
};
|
321
|
+
} else {
|
322
|
+
return function () {};
|
323
|
+
}
|
324
|
+
};
|
325
|
+
|
326
|
+
var slideshowTeardown = slideshowInit();
|
327
|
+
return function teardown() {
|
328
|
+
// Restore initial position
|
329
|
+
updateSlide(0);
|
330
|
+
clearTimeout(updateSlideTimeoutId);
|
331
|
+
logoClickTeardown();
|
332
|
+
slideshowTeardown();
|
333
|
+
scrollOverContainerTeardown();
|
334
|
+
};
|
335
|
+
});
|
336
|
+
})();
|
337
|
+
|
338
|
+
__webpack_exports__ = __webpack_exports__["default"];
|
339
|
+
/******/ return __webpack_exports__;
|
340
|
+
/******/ })()
|
341
|
+
;
|
342
|
+
});
|
343
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS9TaG93Y2FzZS9jb21wb25lbnQuanMiLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLHVDQUF1Qyx1REFBdUQ7QUFDOUYsQ0FBQztBQUNELE87Ozs7Ozs7Ozs7Ozs7O0FDVk8sSUFBTUEsZ0JBQWdCLEdBQUcsU0F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zZXRUaW1lb3V0IiwibG9nb0NsaWNrIiwiY2xpY2tIYW5kbGVyIiwiaGFuZGxlcnMiLCJoYW5kbGVyIiwiYWRkRXZlbnRMaXN0ZW5lciIsInJlbW92ZUV2ZW50TGlzdGVuZXIiLCJwb2ludGVyT3ZlckNvbnRhaW5lciIsImNsZWFyVGltZW91dCIsInBvaW50ZXJMZWZ0Q29udGFpbmVyIiwidmlld3BvcnRSZXNpemVkIiwic2Nyb2xsT3ZlckNvbnRhaW5lciIsImV2ZW50IiwicHJldmVudERlZmF1bHQiLCJsb2dvQ2xpY2tUZWFyZG93biIsInNjcm9sbE92ZXJDb250YWluZXJUZWFyZG93biIsInNsaWRlc2hvd0luaXQiLCJzZXRBdHRyaWJ1dGUiLCJ0ZWFyZG93bnMiLCJ0Iiwic2xpZGVzaG93VGVhcmRvd24iLCJ0ZWFyZG93biJdLCJzb3VyY2VSb290IjoiIn0=
|
@@ -1 +1,22 @@
|
|
1
|
-
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory();
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define([], factory);
|
6
|
+
else if(typeof exports === 'object')
|
7
|
+
exports["AblyUi"] = factory();
|
8
|
+
else
|
9
|
+
root["AblyUi"] = root["AblyUi"] || {}, root["AblyUi"]["Core"] = root["AblyUi"]["Core"] || {}, root["AblyUi"]["Core"]["SignOutLink"] = factory();
|
10
|
+
})(this, () => {
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
12
|
+
var __webpack_exports__ = {};
|
13
|
+
/*!*******************************************!*\
|
14
|
+
!*** ./src/core/SignOutLink/component.js ***!
|
15
|
+
\*******************************************/
|
16
|
+
|
17
|
+
__webpack_exports__ = __webpack_exports__["default"];
|
18
|
+
/******/ return __webpack_exports__;
|
19
|
+
/******/ })()
|
20
|
+
;
|
21
|
+
});
|
22
|
+
//# sourceMappingURL=data:application/json;charset=ut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