@webitel/ui-sdk 3.2.141 → 3.2.142
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/dist/ui-sdk.common.js +44 -41
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.umd.js +44 -41
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +1 -1
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +2 -2
package/dist/ui-sdk.umd.js
CHANGED
|
@@ -21844,7 +21844,11 @@ script.render = vue_multiselect_esm_render;
|
|
|
21844
21844
|
|
|
21845
21845
|
;// CONCATENATED MODULE: ./node_modules/vue-observe-visibility/dist/vue-observe-visibility.esm.js
|
|
21846
21846
|
/* provided dependency */ var vue_observe_visibility_esm_console = __webpack_require__(108);
|
|
21847
|
+
|
|
21848
|
+
|
|
21847
21849
|
function vue_observe_visibility_esm_typeof(obj) {
|
|
21850
|
+
"@babel/helpers - typeof";
|
|
21851
|
+
|
|
21848
21852
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
21849
21853
|
vue_observe_visibility_esm_typeof = function (obj) {
|
|
21850
21854
|
return typeof obj;
|
|
@@ -21881,23 +21885,36 @@ function vue_observe_visibility_esm_createClass(Constructor, protoProps, staticP
|
|
|
21881
21885
|
}
|
|
21882
21886
|
|
|
21883
21887
|
function _toConsumableArray(arr) {
|
|
21884
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
|
|
21888
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || vue_observe_visibility_esm_unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
21885
21889
|
}
|
|
21886
21890
|
|
|
21887
21891
|
function _arrayWithoutHoles(arr) {
|
|
21888
|
-
if (Array.isArray(arr))
|
|
21889
|
-
for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
|
|
21890
|
-
|
|
21891
|
-
return arr2;
|
|
21892
|
-
}
|
|
21892
|
+
if (Array.isArray(arr)) return vue_observe_visibility_esm_arrayLikeToArray(arr);
|
|
21893
21893
|
}
|
|
21894
21894
|
|
|
21895
21895
|
function _iterableToArray(iter) {
|
|
21896
|
-
if (Symbol.iterator in Object(iter)
|
|
21896
|
+
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
|
21897
|
+
}
|
|
21898
|
+
|
|
21899
|
+
function vue_observe_visibility_esm_unsupportedIterableToArray(o, minLen) {
|
|
21900
|
+
if (!o) return;
|
|
21901
|
+
if (typeof o === "string") return vue_observe_visibility_esm_arrayLikeToArray(o, minLen);
|
|
21902
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
21903
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
21904
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
21905
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return vue_observe_visibility_esm_arrayLikeToArray(o, minLen);
|
|
21906
|
+
}
|
|
21907
|
+
|
|
21908
|
+
function vue_observe_visibility_esm_arrayLikeToArray(arr, len) {
|
|
21909
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
21910
|
+
|
|
21911
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
21912
|
+
|
|
21913
|
+
return arr2;
|
|
21897
21914
|
}
|
|
21898
21915
|
|
|
21899
21916
|
function _nonIterableSpread() {
|
|
21900
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
21917
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21901
21918
|
}
|
|
21902
21919
|
|
|
21903
21920
|
function processOptions(value) {
|
|
@@ -21969,9 +21986,7 @@ function deepEqual(val1, val2) {
|
|
|
21969
21986
|
return false;
|
|
21970
21987
|
}
|
|
21971
21988
|
|
|
21972
|
-
var VisibilityState =
|
|
21973
|
-
/*#__PURE__*/
|
|
21974
|
-
function () {
|
|
21989
|
+
var VisibilityState = /*#__PURE__*/function () {
|
|
21975
21990
|
function VisibilityState(el, options, vnode) {
|
|
21976
21991
|
vue_observe_visibility_esm_classCallCheck(this, VisibilityState);
|
|
21977
21992
|
|
|
@@ -22039,7 +22054,7 @@ function () {
|
|
|
22039
22054
|
}
|
|
22040
22055
|
}, this.options.intersection); // Wait for the element to be in document
|
|
22041
22056
|
|
|
22042
|
-
|
|
22057
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(function () {
|
|
22043
22058
|
if (_this.observer) {
|
|
22044
22059
|
_this.observer.observe(_this.el);
|
|
22045
22060
|
}
|
|
@@ -22070,7 +22085,7 @@ function () {
|
|
|
22070
22085
|
return VisibilityState;
|
|
22071
22086
|
}();
|
|
22072
22087
|
|
|
22073
|
-
function
|
|
22088
|
+
function beforeMount(el, _ref2, vnode) {
|
|
22074
22089
|
var value = _ref2.value;
|
|
22075
22090
|
if (!value) return;
|
|
22076
22091
|
|
|
@@ -22082,27 +22097,27 @@ function bind(el, _ref2, vnode) {
|
|
|
22082
22097
|
}
|
|
22083
22098
|
}
|
|
22084
22099
|
|
|
22085
|
-
function
|
|
22100
|
+
function updated(el, _ref3, vnode) {
|
|
22086
22101
|
var value = _ref3.value,
|
|
22087
22102
|
oldValue = _ref3.oldValue;
|
|
22088
22103
|
if (deepEqual(value, oldValue)) return;
|
|
22089
22104
|
var state = el._vue_visibilityState;
|
|
22090
22105
|
|
|
22091
22106
|
if (!value) {
|
|
22092
|
-
|
|
22107
|
+
unmounted(el);
|
|
22093
22108
|
return;
|
|
22094
22109
|
}
|
|
22095
22110
|
|
|
22096
22111
|
if (state) {
|
|
22097
22112
|
state.createObserver(value, vnode);
|
|
22098
22113
|
} else {
|
|
22099
|
-
|
|
22114
|
+
beforeMount(el, {
|
|
22100
22115
|
value: value
|
|
22101
22116
|
}, vnode);
|
|
22102
22117
|
}
|
|
22103
22118
|
}
|
|
22104
22119
|
|
|
22105
|
-
function
|
|
22120
|
+
function unmounted(el) {
|
|
22106
22121
|
var state = el._vue_visibilityState;
|
|
22107
22122
|
|
|
22108
22123
|
if (state) {
|
|
@@ -22112,13 +22127,13 @@ function unbind(el) {
|
|
|
22112
22127
|
}
|
|
22113
22128
|
|
|
22114
22129
|
var ObserveVisibility = {
|
|
22115
|
-
|
|
22116
|
-
|
|
22117
|
-
|
|
22130
|
+
beforeMount: beforeMount,
|
|
22131
|
+
updated: updated,
|
|
22132
|
+
unmounted: unmounted
|
|
22118
22133
|
};
|
|
22119
22134
|
|
|
22120
|
-
function vue_observe_visibility_esm_install(
|
|
22121
|
-
|
|
22135
|
+
function vue_observe_visibility_esm_install(app) {
|
|
22136
|
+
app.directive('observe-visibility', ObserveVisibility);
|
|
22122
22137
|
/* -- Add more components here -- */
|
|
22123
22138
|
}
|
|
22124
22139
|
/* -- Plugin definition & Auto-install -- */
|
|
@@ -22128,22 +22143,10 @@ function vue_observe_visibility_esm_install(Vue) {
|
|
|
22128
22143
|
|
|
22129
22144
|
var vue_observe_visibility_esm_plugin = {
|
|
22130
22145
|
// eslint-disable-next-line no-undef
|
|
22131
|
-
version: "
|
|
22146
|
+
version: "2.0.0-alpha.1",
|
|
22132
22147
|
install: vue_observe_visibility_esm_install
|
|
22133
22148
|
};
|
|
22134
22149
|
|
|
22135
|
-
var GlobalVue = null;
|
|
22136
|
-
|
|
22137
|
-
if (typeof window !== 'undefined') {
|
|
22138
|
-
GlobalVue = window.Vue;
|
|
22139
|
-
} else if (typeof __webpack_require__.g !== 'undefined') {
|
|
22140
|
-
GlobalVue = __webpack_require__.g.Vue;
|
|
22141
|
-
}
|
|
22142
|
-
|
|
22143
|
-
if (GlobalVue) {
|
|
22144
|
-
GlobalVue.use(vue_observe_visibility_esm_plugin);
|
|
22145
|
-
}
|
|
22146
|
-
|
|
22147
22150
|
/* harmony default export */ var vue_observe_visibility_esm = ((/* unused pure expression or super */ null && (vue_observe_visibility_esm_plugin)));
|
|
22148
22151
|
|
|
22149
22152
|
|
|
@@ -26519,8 +26522,8 @@ const Components = {
|
|
|
26519
26522
|
/* eslint-disable */
|
|
26520
26523
|
|
|
26521
26524
|
const HANDLER = '_vue_clickaway_handler';
|
|
26522
|
-
function
|
|
26523
|
-
|
|
26525
|
+
function bind(el, binding, vnode) {
|
|
26526
|
+
unbind(el);
|
|
26524
26527
|
const vm = vnode.context;
|
|
26525
26528
|
const callback = binding.value;
|
|
26526
26529
|
|
|
@@ -26548,17 +26551,17 @@ function clickaway_bind(el, binding, vnode) {
|
|
|
26548
26551
|
};
|
|
26549
26552
|
document.documentElement.addEventListener('click', el[HANDLER], false);
|
|
26550
26553
|
}
|
|
26551
|
-
function
|
|
26554
|
+
function unbind(el) {
|
|
26552
26555
|
document.documentElement.removeEventListener('click', el[HANDLER], false);
|
|
26553
26556
|
delete el[HANDLER];
|
|
26554
26557
|
}
|
|
26555
26558
|
const clickaway = {
|
|
26556
|
-
bind
|
|
26559
|
+
bind,
|
|
26557
26560
|
update(el, binding) {
|
|
26558
26561
|
if (binding.value === binding.oldValue) return;
|
|
26559
|
-
|
|
26562
|
+
bind(el, binding);
|
|
26560
26563
|
},
|
|
26561
|
-
unbind
|
|
26564
|
+
unbind
|
|
26562
26565
|
};
|
|
26563
26566
|
/* harmony default export */ var clickaway_clickaway = (clickaway);
|
|
26564
26567
|
;// CONCATENATED MODULE: ./src/directives/index.js
|