@webitel/ui-sdk 3.2.29 → 3.2.30

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.
@@ -3454,6 +3454,390 @@ module.exports = function isTypedArray(value) {
3454
3454
  };
3455
3455
 
3456
3456
 
3457
+ /***/ }),
3458
+
3459
+ /***/ 296:
3460
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3461
+
3462
+ /**
3463
+ * lodash (Custom Build) <https://lodash.com/>
3464
+ * Build: `lodash modularize exports="npm" -o ./`
3465
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
3466
+ * Released under MIT license <https://lodash.com/license>
3467
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
3468
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
3469
+ */
3470
+
3471
+ /** Used as the `TypeError` message for "Functions" methods. */
3472
+ var FUNC_ERROR_TEXT = 'Expected a function';
3473
+
3474
+ /** Used as references for various `Number` constants. */
3475
+ var NAN = 0 / 0;
3476
+
3477
+ /** `Object#toString` result references. */
3478
+ var symbolTag = '[object Symbol]';
3479
+
3480
+ /** Used to match leading and trailing whitespace. */
3481
+ var reTrim = /^\s+|\s+$/g;
3482
+
3483
+ /** Used to detect bad signed hexadecimal string values. */
3484
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
3485
+
3486
+ /** Used to detect binary string values. */
3487
+ var reIsBinary = /^0b[01]+$/i;
3488
+
3489
+ /** Used to detect octal string values. */
3490
+ var reIsOctal = /^0o[0-7]+$/i;
3491
+
3492
+ /** Built-in method references without a dependency on `root`. */
3493
+ var freeParseInt = parseInt;
3494
+
3495
+ /** Detect free variable `global` from Node.js. */
3496
+ var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
3497
+
3498
+ /** Detect free variable `self`. */
3499
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
3500
+
3501
+ /** Used as a reference to the global object. */
3502
+ var root = freeGlobal || freeSelf || Function('return this')();
3503
+
3504
+ /** Used for built-in method references. */
3505
+ var objectProto = Object.prototype;
3506
+
3507
+ /**
3508
+ * Used to resolve the
3509
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3510
+ * of values.
3511
+ */
3512
+ var objectToString = objectProto.toString;
3513
+
3514
+ /* Built-in method references for those with the same name as other `lodash` methods. */
3515
+ var nativeMax = Math.max,
3516
+ nativeMin = Math.min;
3517
+
3518
+ /**
3519
+ * Gets the timestamp of the number of milliseconds that have elapsed since
3520
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
3521
+ *
3522
+ * @static
3523
+ * @memberOf _
3524
+ * @since 2.4.0
3525
+ * @category Date
3526
+ * @returns {number} Returns the timestamp.
3527
+ * @example
3528
+ *
3529
+ * _.defer(function(stamp) {
3530
+ * console.log(_.now() - stamp);
3531
+ * }, _.now());
3532
+ * // => Logs the number of milliseconds it took for the deferred invocation.
3533
+ */
3534
+ var now = function() {
3535
+ return root.Date.now();
3536
+ };
3537
+
3538
+ /**
3539
+ * Creates a debounced function that delays invoking `func` until after `wait`
3540
+ * milliseconds have elapsed since the last time the debounced function was
3541
+ * invoked. The debounced function comes with a `cancel` method to cancel
3542
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
3543
+ * Provide `options` to indicate whether `func` should be invoked on the
3544
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
3545
+ * with the last arguments provided to the debounced function. Subsequent
3546
+ * calls to the debounced function return the result of the last `func`
3547
+ * invocation.
3548
+ *
3549
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
3550
+ * invoked on the trailing edge of the timeout only if the debounced function
3551
+ * is invoked more than once during the `wait` timeout.
3552
+ *
3553
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
3554
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
3555
+ *
3556
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
3557
+ * for details over the differences between `_.debounce` and `_.throttle`.
3558
+ *
3559
+ * @static
3560
+ * @memberOf _
3561
+ * @since 0.1.0
3562
+ * @category Function
3563
+ * @param {Function} func The function to debounce.
3564
+ * @param {number} [wait=0] The number of milliseconds to delay.
3565
+ * @param {Object} [options={}] The options object.
3566
+ * @param {boolean} [options.leading=false]
3567
+ * Specify invoking on the leading edge of the timeout.
3568
+ * @param {number} [options.maxWait]
3569
+ * The maximum time `func` is allowed to be delayed before it's invoked.
3570
+ * @param {boolean} [options.trailing=true]
3571
+ * Specify invoking on the trailing edge of the timeout.
3572
+ * @returns {Function} Returns the new debounced function.
3573
+ * @example
3574
+ *
3575
+ * // Avoid costly calculations while the window size is in flux.
3576
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
3577
+ *
3578
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
3579
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
3580
+ * 'leading': true,
3581
+ * 'trailing': false
3582
+ * }));
3583
+ *
3584
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
3585
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
3586
+ * var source = new EventSource('/stream');
3587
+ * jQuery(source).on('message', debounced);
3588
+ *
3589
+ * // Cancel the trailing debounced invocation.
3590
+ * jQuery(window).on('popstate', debounced.cancel);
3591
+ */
3592
+ function debounce(func, wait, options) {
3593
+ var lastArgs,
3594
+ lastThis,
3595
+ maxWait,
3596
+ result,
3597
+ timerId,
3598
+ lastCallTime,
3599
+ lastInvokeTime = 0,
3600
+ leading = false,
3601
+ maxing = false,
3602
+ trailing = true;
3603
+
3604
+ if (typeof func != 'function') {
3605
+ throw new TypeError(FUNC_ERROR_TEXT);
3606
+ }
3607
+ wait = toNumber(wait) || 0;
3608
+ if (isObject(options)) {
3609
+ leading = !!options.leading;
3610
+ maxing = 'maxWait' in options;
3611
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
3612
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
3613
+ }
3614
+
3615
+ function invokeFunc(time) {
3616
+ var args = lastArgs,
3617
+ thisArg = lastThis;
3618
+
3619
+ lastArgs = lastThis = undefined;
3620
+ lastInvokeTime = time;
3621
+ result = func.apply(thisArg, args);
3622
+ return result;
3623
+ }
3624
+
3625
+ function leadingEdge(time) {
3626
+ // Reset any `maxWait` timer.
3627
+ lastInvokeTime = time;
3628
+ // Start the timer for the trailing edge.
3629
+ timerId = setTimeout(timerExpired, wait);
3630
+ // Invoke the leading edge.
3631
+ return leading ? invokeFunc(time) : result;
3632
+ }
3633
+
3634
+ function remainingWait(time) {
3635
+ var timeSinceLastCall = time - lastCallTime,
3636
+ timeSinceLastInvoke = time - lastInvokeTime,
3637
+ result = wait - timeSinceLastCall;
3638
+
3639
+ return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
3640
+ }
3641
+
3642
+ function shouldInvoke(time) {
3643
+ var timeSinceLastCall = time - lastCallTime,
3644
+ timeSinceLastInvoke = time - lastInvokeTime;
3645
+
3646
+ // Either this is the first call, activity has stopped and we're at the
3647
+ // trailing edge, the system time has gone backwards and we're treating
3648
+ // it as the trailing edge, or we've hit the `maxWait` limit.
3649
+ return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
3650
+ (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
3651
+ }
3652
+
3653
+ function timerExpired() {
3654
+ var time = now();
3655
+ if (shouldInvoke(time)) {
3656
+ return trailingEdge(time);
3657
+ }
3658
+ // Restart the timer.
3659
+ timerId = setTimeout(timerExpired, remainingWait(time));
3660
+ }
3661
+
3662
+ function trailingEdge(time) {
3663
+ timerId = undefined;
3664
+
3665
+ // Only invoke if we have `lastArgs` which means `func` has been
3666
+ // debounced at least once.
3667
+ if (trailing && lastArgs) {
3668
+ return invokeFunc(time);
3669
+ }
3670
+ lastArgs = lastThis = undefined;
3671
+ return result;
3672
+ }
3673
+
3674
+ function cancel() {
3675
+ if (timerId !== undefined) {
3676
+ clearTimeout(timerId);
3677
+ }
3678
+ lastInvokeTime = 0;
3679
+ lastArgs = lastCallTime = lastThis = timerId = undefined;
3680
+ }
3681
+
3682
+ function flush() {
3683
+ return timerId === undefined ? result : trailingEdge(now());
3684
+ }
3685
+
3686
+ function debounced() {
3687
+ var time = now(),
3688
+ isInvoking = shouldInvoke(time);
3689
+
3690
+ lastArgs = arguments;
3691
+ lastThis = this;
3692
+ lastCallTime = time;
3693
+
3694
+ if (isInvoking) {
3695
+ if (timerId === undefined) {
3696
+ return leadingEdge(lastCallTime);
3697
+ }
3698
+ if (maxing) {
3699
+ // Handle invocations in a tight loop.
3700
+ timerId = setTimeout(timerExpired, wait);
3701
+ return invokeFunc(lastCallTime);
3702
+ }
3703
+ }
3704
+ if (timerId === undefined) {
3705
+ timerId = setTimeout(timerExpired, wait);
3706
+ }
3707
+ return result;
3708
+ }
3709
+ debounced.cancel = cancel;
3710
+ debounced.flush = flush;
3711
+ return debounced;
3712
+ }
3713
+
3714
+ /**
3715
+ * Checks if `value` is the
3716
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
3717
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
3718
+ *
3719
+ * @static
3720
+ * @memberOf _
3721
+ * @since 0.1.0
3722
+ * @category Lang
3723
+ * @param {*} value The value to check.
3724
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
3725
+ * @example
3726
+ *
3727
+ * _.isObject({});
3728
+ * // => true
3729
+ *
3730
+ * _.isObject([1, 2, 3]);
3731
+ * // => true
3732
+ *
3733
+ * _.isObject(_.noop);
3734
+ * // => true
3735
+ *
3736
+ * _.isObject(null);
3737
+ * // => false
3738
+ */
3739
+ function isObject(value) {
3740
+ var type = typeof value;
3741
+ return !!value && (type == 'object' || type == 'function');
3742
+ }
3743
+
3744
+ /**
3745
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
3746
+ * and has a `typeof` result of "object".
3747
+ *
3748
+ * @static
3749
+ * @memberOf _
3750
+ * @since 4.0.0
3751
+ * @category Lang
3752
+ * @param {*} value The value to check.
3753
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
3754
+ * @example
3755
+ *
3756
+ * _.isObjectLike({});
3757
+ * // => true
3758
+ *
3759
+ * _.isObjectLike([1, 2, 3]);
3760
+ * // => true
3761
+ *
3762
+ * _.isObjectLike(_.noop);
3763
+ * // => false
3764
+ *
3765
+ * _.isObjectLike(null);
3766
+ * // => false
3767
+ */
3768
+ function isObjectLike(value) {
3769
+ return !!value && typeof value == 'object';
3770
+ }
3771
+
3772
+ /**
3773
+ * Checks if `value` is classified as a `Symbol` primitive or object.
3774
+ *
3775
+ * @static
3776
+ * @memberOf _
3777
+ * @since 4.0.0
3778
+ * @category Lang
3779
+ * @param {*} value The value to check.
3780
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
3781
+ * @example
3782
+ *
3783
+ * _.isSymbol(Symbol.iterator);
3784
+ * // => true
3785
+ *
3786
+ * _.isSymbol('abc');
3787
+ * // => false
3788
+ */
3789
+ function isSymbol(value) {
3790
+ return typeof value == 'symbol' ||
3791
+ (isObjectLike(value) && objectToString.call(value) == symbolTag);
3792
+ }
3793
+
3794
+ /**
3795
+ * Converts `value` to a number.
3796
+ *
3797
+ * @static
3798
+ * @memberOf _
3799
+ * @since 4.0.0
3800
+ * @category Lang
3801
+ * @param {*} value The value to process.
3802
+ * @returns {number} Returns the number.
3803
+ * @example
3804
+ *
3805
+ * _.toNumber(3.2);
3806
+ * // => 3.2
3807
+ *
3808
+ * _.toNumber(Number.MIN_VALUE);
3809
+ * // => 5e-324
3810
+ *
3811
+ * _.toNumber(Infinity);
3812
+ * // => Infinity
3813
+ *
3814
+ * _.toNumber('3.2');
3815
+ * // => 3.2
3816
+ */
3817
+ function toNumber(value) {
3818
+ if (typeof value == 'number') {
3819
+ return value;
3820
+ }
3821
+ if (isSymbol(value)) {
3822
+ return NAN;
3823
+ }
3824
+ if (isObject(value)) {
3825
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
3826
+ value = isObject(other) ? (other + '') : other;
3827
+ }
3828
+ if (typeof value != 'string') {
3829
+ return value === 0 ? value : +value;
3830
+ }
3831
+ value = value.replace(reTrim, '');
3832
+ var isBinary = reIsBinary.test(value);
3833
+ return (isBinary || reIsOctal.test(value))
3834
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
3835
+ : (reIsBadHex.test(value) ? NAN : +value);
3836
+ }
3837
+
3838
+ module.exports = debounce;
3839
+
3840
+
3457
3841
  /***/ }),
3458
3842
 
3459
3843
  /***/ 244:
@@ -19730,17 +20114,12 @@ function wt_search_barvue_type_template_id_5f7c84e4_scoped_true_render(_ctx, _ca
19730
20114
  }
19731
20115
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-search-bar/wt-search-bar.vue?vue&type=template&id=5f7c84e4&scoped=true
19732
20116
 
20117
+ // EXTERNAL MODULE: ./node_modules/lodash.debounce/index.js
20118
+ var lodash_debounce = __webpack_require__(296);
20119
+ var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
19733
20120
  ;// CONCATENATED MODULE: ./src/scripts/debounce.js
19734
- const debounce = (method, delay = 1000) => {
19735
- let timer;
19736
- return args => {
19737
- if (timer) clearTimeout(timer);
19738
- timer = setTimeout(() => {
19739
- method(args);
19740
- }, delay);
19741
- };
19742
- };
19743
- /* harmony default export */ var scripts_debounce = (debounce);
20121
+
20122
+ /* harmony default export */ var debounce = ((lodash_debounce_default()));
19744
20123
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-search-bar/wt-search-bar.vue?vue&type=script&lang=js
19745
20124
 
19746
20125
  /* harmony default export */ var wt_search_barvue_type_script_lang_js = ({
@@ -19779,7 +20158,7 @@ const debounce = (method, delay = 1000) => {
19779
20158
  },
19780
20159
  created() {
19781
20160
  if (this.debounce) {
19782
- this.search = scripts_debounce(this.search, this.debounceDelay);
20161
+ this.search = debounce(this.search, this.debounceDelay);
19783
20162
  }
19784
20163
  },
19785
20164
  computed: {
@@ -21770,7 +22149,7 @@ const isEmpty_isEmpty = value => {
21770
22149
  },
21771
22150
  created() {
21772
22151
  this.fetchOptions();
21773
- this.fetchOptions = scripts_debounce(this.fetchOptions, 500);
22152
+ this.fetchOptions = debounce(this.fetchOptions, 500);
21774
22153
  }
21775
22154
  });
21776
22155
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-select/wt-select.vue?vue&type=script&lang=js
@@ -24372,7 +24751,7 @@ function wt_paginationvue_type_template_id_811b3464_scoped_true_render(_ctx, _ca
24372
24751
  defaultSize: '10'
24373
24752
  }),
24374
24753
  created() {
24375
- if (this.debounce) this.changeSize = scripts_debounce(this.changeSize, this.debounceDelay);
24754
+ if (this.debounce) this.changeSize = debounce(this.changeSize, this.debounceDelay);
24376
24755
  },
24377
24756
  methods: {
24378
24757
  inputHandler(value) {