@webitel/ui-sdk 3.2.141 → 3.2.143
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/src/locale/en/en.js +1 -1
- package/src/locale/ru/ru.js +1 -1
package/dist/ui-sdk.common.js
CHANGED
|
@@ -21826,7 +21826,11 @@ script.render = vue_multiselect_esm_render;
|
|
|
21826
21826
|
|
|
21827
21827
|
;// CONCATENATED MODULE: ./node_modules/vue-observe-visibility/dist/vue-observe-visibility.esm.js
|
|
21828
21828
|
/* provided dependency */ var vue_observe_visibility_esm_console = __webpack_require__(108);
|
|
21829
|
+
|
|
21830
|
+
|
|
21829
21831
|
function vue_observe_visibility_esm_typeof(obj) {
|
|
21832
|
+
"@babel/helpers - typeof";
|
|
21833
|
+
|
|
21830
21834
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
21831
21835
|
vue_observe_visibility_esm_typeof = function (obj) {
|
|
21832
21836
|
return typeof obj;
|
|
@@ -21863,23 +21867,36 @@ function vue_observe_visibility_esm_createClass(Constructor, protoProps, staticP
|
|
|
21863
21867
|
}
|
|
21864
21868
|
|
|
21865
21869
|
function _toConsumableArray(arr) {
|
|
21866
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
|
|
21870
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || vue_observe_visibility_esm_unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
21867
21871
|
}
|
|
21868
21872
|
|
|
21869
21873
|
function _arrayWithoutHoles(arr) {
|
|
21870
|
-
if (Array.isArray(arr))
|
|
21871
|
-
for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
|
|
21872
|
-
|
|
21873
|
-
return arr2;
|
|
21874
|
-
}
|
|
21874
|
+
if (Array.isArray(arr)) return vue_observe_visibility_esm_arrayLikeToArray(arr);
|
|
21875
21875
|
}
|
|
21876
21876
|
|
|
21877
21877
|
function _iterableToArray(iter) {
|
|
21878
|
-
if (Symbol.iterator in Object(iter)
|
|
21878
|
+
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
|
21879
|
+
}
|
|
21880
|
+
|
|
21881
|
+
function vue_observe_visibility_esm_unsupportedIterableToArray(o, minLen) {
|
|
21882
|
+
if (!o) return;
|
|
21883
|
+
if (typeof o === "string") return vue_observe_visibility_esm_arrayLikeToArray(o, minLen);
|
|
21884
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
21885
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
21886
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
21887
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return vue_observe_visibility_esm_arrayLikeToArray(o, minLen);
|
|
21888
|
+
}
|
|
21889
|
+
|
|
21890
|
+
function vue_observe_visibility_esm_arrayLikeToArray(arr, len) {
|
|
21891
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
21892
|
+
|
|
21893
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
21894
|
+
|
|
21895
|
+
return arr2;
|
|
21879
21896
|
}
|
|
21880
21897
|
|
|
21881
21898
|
function _nonIterableSpread() {
|
|
21882
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
21899
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21883
21900
|
}
|
|
21884
21901
|
|
|
21885
21902
|
function processOptions(value) {
|
|
@@ -21951,9 +21968,7 @@ function deepEqual(val1, val2) {
|
|
|
21951
21968
|
return false;
|
|
21952
21969
|
}
|
|
21953
21970
|
|
|
21954
|
-
var VisibilityState =
|
|
21955
|
-
/*#__PURE__*/
|
|
21956
|
-
function () {
|
|
21971
|
+
var VisibilityState = /*#__PURE__*/function () {
|
|
21957
21972
|
function VisibilityState(el, options, vnode) {
|
|
21958
21973
|
vue_observe_visibility_esm_classCallCheck(this, VisibilityState);
|
|
21959
21974
|
|
|
@@ -22021,7 +22036,7 @@ function () {
|
|
|
22021
22036
|
}
|
|
22022
22037
|
}, this.options.intersection); // Wait for the element to be in document
|
|
22023
22038
|
|
|
22024
|
-
|
|
22039
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.nextTick)(function () {
|
|
22025
22040
|
if (_this.observer) {
|
|
22026
22041
|
_this.observer.observe(_this.el);
|
|
22027
22042
|
}
|
|
@@ -22052,7 +22067,7 @@ function () {
|
|
|
22052
22067
|
return VisibilityState;
|
|
22053
22068
|
}();
|
|
22054
22069
|
|
|
22055
|
-
function
|
|
22070
|
+
function beforeMount(el, _ref2, vnode) {
|
|
22056
22071
|
var value = _ref2.value;
|
|
22057
22072
|
if (!value) return;
|
|
22058
22073
|
|
|
@@ -22064,27 +22079,27 @@ function bind(el, _ref2, vnode) {
|
|
|
22064
22079
|
}
|
|
22065
22080
|
}
|
|
22066
22081
|
|
|
22067
|
-
function
|
|
22082
|
+
function updated(el, _ref3, vnode) {
|
|
22068
22083
|
var value = _ref3.value,
|
|
22069
22084
|
oldValue = _ref3.oldValue;
|
|
22070
22085
|
if (deepEqual(value, oldValue)) return;
|
|
22071
22086
|
var state = el._vue_visibilityState;
|
|
22072
22087
|
|
|
22073
22088
|
if (!value) {
|
|
22074
|
-
|
|
22089
|
+
unmounted(el);
|
|
22075
22090
|
return;
|
|
22076
22091
|
}
|
|
22077
22092
|
|
|
22078
22093
|
if (state) {
|
|
22079
22094
|
state.createObserver(value, vnode);
|
|
22080
22095
|
} else {
|
|
22081
|
-
|
|
22096
|
+
beforeMount(el, {
|
|
22082
22097
|
value: value
|
|
22083
22098
|
}, vnode);
|
|
22084
22099
|
}
|
|
22085
22100
|
}
|
|
22086
22101
|
|
|
22087
|
-
function
|
|
22102
|
+
function unmounted(el) {
|
|
22088
22103
|
var state = el._vue_visibilityState;
|
|
22089
22104
|
|
|
22090
22105
|
if (state) {
|
|
@@ -22094,13 +22109,13 @@ function unbind(el) {
|
|
|
22094
22109
|
}
|
|
22095
22110
|
|
|
22096
22111
|
var ObserveVisibility = {
|
|
22097
|
-
|
|
22098
|
-
|
|
22099
|
-
|
|
22112
|
+
beforeMount: beforeMount,
|
|
22113
|
+
updated: updated,
|
|
22114
|
+
unmounted: unmounted
|
|
22100
22115
|
};
|
|
22101
22116
|
|
|
22102
|
-
function vue_observe_visibility_esm_install(
|
|
22103
|
-
|
|
22117
|
+
function vue_observe_visibility_esm_install(app) {
|
|
22118
|
+
app.directive('observe-visibility', ObserveVisibility);
|
|
22104
22119
|
/* -- Add more components here -- */
|
|
22105
22120
|
}
|
|
22106
22121
|
/* -- Plugin definition & Auto-install -- */
|
|
@@ -22110,22 +22125,10 @@ function vue_observe_visibility_esm_install(Vue) {
|
|
|
22110
22125
|
|
|
22111
22126
|
var vue_observe_visibility_esm_plugin = {
|
|
22112
22127
|
// eslint-disable-next-line no-undef
|
|
22113
|
-
version: "
|
|
22128
|
+
version: "2.0.0-alpha.1",
|
|
22114
22129
|
install: vue_observe_visibility_esm_install
|
|
22115
22130
|
};
|
|
22116
22131
|
|
|
22117
|
-
var GlobalVue = null;
|
|
22118
|
-
|
|
22119
|
-
if (typeof window !== 'undefined') {
|
|
22120
|
-
GlobalVue = window.Vue;
|
|
22121
|
-
} else if (typeof __webpack_require__.g !== 'undefined') {
|
|
22122
|
-
GlobalVue = __webpack_require__.g.Vue;
|
|
22123
|
-
}
|
|
22124
|
-
|
|
22125
|
-
if (GlobalVue) {
|
|
22126
|
-
GlobalVue.use(vue_observe_visibility_esm_plugin);
|
|
22127
|
-
}
|
|
22128
|
-
|
|
22129
22132
|
/* harmony default export */ var vue_observe_visibility_esm = ((/* unused pure expression or super */ null && (vue_observe_visibility_esm_plugin)));
|
|
22130
22133
|
|
|
22131
22134
|
|
|
@@ -26501,8 +26504,8 @@ const Components = {
|
|
|
26501
26504
|
/* eslint-disable */
|
|
26502
26505
|
|
|
26503
26506
|
const HANDLER = '_vue_clickaway_handler';
|
|
26504
|
-
function
|
|
26505
|
-
|
|
26507
|
+
function bind(el, binding, vnode) {
|
|
26508
|
+
unbind(el);
|
|
26506
26509
|
const vm = vnode.context;
|
|
26507
26510
|
const callback = binding.value;
|
|
26508
26511
|
|
|
@@ -26530,17 +26533,17 @@ function clickaway_bind(el, binding, vnode) {
|
|
|
26530
26533
|
};
|
|
26531
26534
|
document.documentElement.addEventListener('click', el[HANDLER], false);
|
|
26532
26535
|
}
|
|
26533
|
-
function
|
|
26536
|
+
function unbind(el) {
|
|
26534
26537
|
document.documentElement.removeEventListener('click', el[HANDLER], false);
|
|
26535
26538
|
delete el[HANDLER];
|
|
26536
26539
|
}
|
|
26537
26540
|
const clickaway = {
|
|
26538
|
-
bind
|
|
26541
|
+
bind,
|
|
26539
26542
|
update(el, binding) {
|
|
26540
26543
|
if (binding.value === binding.oldValue) return;
|
|
26541
|
-
|
|
26544
|
+
bind(el, binding);
|
|
26542
26545
|
},
|
|
26543
|
-
unbind
|
|
26546
|
+
unbind
|
|
26544
26547
|
};
|
|
26545
26548
|
/* harmony default export */ var clickaway_clickaway = (clickaway);
|
|
26546
26549
|
;// CONCATENATED MODULE: ./src/directives/index.js
|