@webitel/ui-sdk 2.0.0 → 2.0.2

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.
@@ -2371,7 +2371,7 @@ module.exports = function (argument) {
2371
2371
 
2372
2372
  var wellKnownSymbol = __webpack_require__(5112);
2373
2373
  var create = __webpack_require__(30);
2374
- var definePropertyModule = __webpack_require__(3070);
2374
+ var defineProperty = (__webpack_require__(3070).f);
2375
2375
 
2376
2376
  var UNSCOPABLES = wellKnownSymbol('unscopables');
2377
2377
  var ArrayPrototype = Array.prototype;
@@ -2379,7 +2379,7 @@ var ArrayPrototype = Array.prototype;
2379
2379
  // Array.prototype[@@unscopables]
2380
2380
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2381
2381
  if (ArrayPrototype[UNSCOPABLES] == undefined) {
2382
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
2382
+ defineProperty(ArrayPrototype, UNSCOPABLES, {
2383
2383
  configurable: true,
2384
2384
  value: create(null)
2385
2385
  });
@@ -3100,30 +3100,44 @@ module.exports = function (object, key, value) {
3100
3100
  /***/ 8052:
3101
3101
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3102
3102
 
3103
- var global = __webpack_require__(7854);
3104
3103
  var isCallable = __webpack_require__(614);
3105
3104
  var createNonEnumerableProperty = __webpack_require__(8880);
3106
3105
  var makeBuiltIn = __webpack_require__(6339);
3107
- var setGlobal = __webpack_require__(3505);
3106
+ var defineGlobalProperty = __webpack_require__(3072);
3108
3107
 
3109
3108
  module.exports = function (O, key, value, options) {
3110
- var unsafe = options ? !!options.unsafe : false;
3111
- var simple = options ? !!options.enumerable : false;
3112
- var noTargetGet = options ? !!options.noTargetGet : false;
3113
- var name = options && options.name !== undefined ? options.name : key;
3109
+ if (!options) options = {};
3110
+ var simple = options.enumerable;
3111
+ var name = options.name !== undefined ? options.name : key;
3114
3112
  if (isCallable(value)) makeBuiltIn(value, name, options);
3115
- if (O === global) {
3113
+ if (options.global) {
3116
3114
  if (simple) O[key] = value;
3117
- else setGlobal(key, value);
3118
- return O;
3119
- } else if (!unsafe) {
3120
- delete O[key];
3121
- } else if (!noTargetGet && O[key]) {
3122
- simple = true;
3123
- }
3124
- if (simple) O[key] = value;
3125
- else createNonEnumerableProperty(O, key, value);
3126
- return O;
3115
+ else defineGlobalProperty(key, value);
3116
+ } else {
3117
+ if (!options.unsafe) delete O[key];
3118
+ else if (O[key]) simple = true;
3119
+ if (simple) O[key] = value;
3120
+ else createNonEnumerableProperty(O, key, value);
3121
+ } return O;
3122
+ };
3123
+
3124
+
3125
+ /***/ }),
3126
+
3127
+ /***/ 3072:
3128
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3129
+
3130
+ var global = __webpack_require__(7854);
3131
+
3132
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
3133
+ var defineProperty = Object.defineProperty;
3134
+
3135
+ module.exports = function (key, value) {
3136
+ try {
3137
+ defineProperty(global, key, { value: value, configurable: true, writable: true });
3138
+ } catch (error) {
3139
+ global[key] = value;
3140
+ } return value;
3127
3141
  };
3128
3142
 
3129
3143
 
@@ -3510,24 +3524,24 @@ var global = __webpack_require__(7854);
3510
3524
  var getOwnPropertyDescriptor = (__webpack_require__(1236).f);
3511
3525
  var createNonEnumerableProperty = __webpack_require__(8880);
3512
3526
  var defineBuiltIn = __webpack_require__(8052);
3513
- var setGlobal = __webpack_require__(3505);
3527
+ var defineGlobalProperty = __webpack_require__(3072);
3514
3528
  var copyConstructorProperties = __webpack_require__(9920);
3515
3529
  var isForced = __webpack_require__(4705);
3516
3530
 
3517
3531
  /*
3518
- options.target - name of the target object
3519
- options.global - target is the global object
3520
- options.stat - export as static methods of target
3521
- options.proto - export as prototype methods of target
3522
- options.real - real prototype method for the `pure` version
3523
- options.forced - export even if the native feature is available
3524
- options.bind - bind methods to the target, required for the `pure` version
3525
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
3526
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
3527
- options.sham - add a flag to not completely full polyfills
3528
- options.enumerable - export as enumerable property
3529
- options.noTargetGet - prevent calling a getter on target
3530
- options.name - the .name of the function if it does not match the key
3532
+ options.target - name of the target object
3533
+ options.global - target is the global object
3534
+ options.stat - export as static methods of target
3535
+ options.proto - export as prototype methods of target
3536
+ options.real - real prototype method for the `pure` version
3537
+ options.forced - export even if the native feature is available
3538
+ options.bind - bind methods to the target, required for the `pure` version
3539
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
3540
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
3541
+ options.sham - add a flag to not completely full polyfills
3542
+ options.enumerable - export as enumerable property
3543
+ options.dontCallGetSet - prevent calling a getter on target
3544
+ options.name - the .name of the function if it does not match the key
3531
3545
  */
3532
3546
  module.exports = function (options, source) {
3533
3547
  var TARGET = options.target;
@@ -3537,13 +3551,13 @@ module.exports = function (options, source) {
3537
3551
  if (GLOBAL) {
3538
3552
  target = global;
3539
3553
  } else if (STATIC) {
3540
- target = global[TARGET] || setGlobal(TARGET, {});
3554
+ target = global[TARGET] || defineGlobalProperty(TARGET, {});
3541
3555
  } else {
3542
3556
  target = (global[TARGET] || {}).prototype;
3543
3557
  }
3544
3558
  if (target) for (key in source) {
3545
3559
  sourceProperty = source[key];
3546
- if (options.noTargetGet) {
3560
+ if (options.dontCallGetSet) {
3547
3561
  descriptor = getOwnPropertyDescriptor(target, key);
3548
3562
  targetProperty = descriptor && descriptor.value;
3549
3563
  } else targetProperty = target[key];
@@ -4662,11 +4676,12 @@ var makeBuiltIn = module.exports = function (value, name, options) {
4662
4676
  if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
4663
4677
  defineProperty(value, 'length', { value: options.arity });
4664
4678
  }
4665
- if (options && hasOwn(options, 'constructor') && options.constructor) {
4666
- if (DESCRIPTORS) try {
4667
- defineProperty(value, 'prototype', { writable: false });
4668
- } catch (error) { /* empty */ }
4669
- } else value.prototype = undefined;
4679
+ try {
4680
+ if (options && hasOwn(options, 'constructor') && options.constructor) {
4681
+ if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
4682
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
4683
+ } else if (value.prototype) value.prototype = undefined;
4684
+ } catch (error) { /* empty */ }
4670
4685
  var state = enforceInternalState(value);
4671
4686
  if (!hasOwn(state, 'source')) {
4672
4687
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -4680,6 +4695,23 @@ Function.prototype.toString = makeBuiltIn(function toString() {
4680
4695
  }, 'toString');
4681
4696
 
4682
4697
 
4698
+ /***/ }),
4699
+
4700
+ /***/ 4758:
4701
+ /***/ (function(module) {
4702
+
4703
+ var ceil = Math.ceil;
4704
+ var floor = Math.floor;
4705
+
4706
+ // `Math.trunc` method
4707
+ // https://tc39.es/ecma262/#sec-math.trunc
4708
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
4709
+ module.exports = Math.trunc || function trunc(x) {
4710
+ var n = +x;
4711
+ return (n > 0 ? floor : ceil)(n);
4712
+ };
4713
+
4714
+
4683
4715
  /***/ }),
4684
4716
 
4685
4717
  /***/ 5948:
@@ -5795,25 +5827,6 @@ module.exports = Object.is || function is(x, y) {
5795
5827
  };
5796
5828
 
5797
5829
 
5798
- /***/ }),
5799
-
5800
- /***/ 3505:
5801
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5802
-
5803
- var global = __webpack_require__(7854);
5804
-
5805
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
5806
- var defineProperty = Object.defineProperty;
5807
-
5808
- module.exports = function (key, value) {
5809
- try {
5810
- defineProperty(global, key, { value: value, configurable: true, writable: true });
5811
- } catch (error) {
5812
- global[key] = value;
5813
- } return value;
5814
- };
5815
-
5816
-
5817
5830
  /***/ }),
5818
5831
 
5819
5832
  /***/ 6340:
@@ -5881,10 +5894,10 @@ module.exports = function (key) {
5881
5894
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5882
5895
 
5883
5896
  var global = __webpack_require__(7854);
5884
- var setGlobal = __webpack_require__(3505);
5897
+ var defineGlobalProperty = __webpack_require__(3072);
5885
5898
 
5886
5899
  var SHARED = '__core-js_shared__';
5887
- var store = global[SHARED] || setGlobal(SHARED, {});
5900
+ var store = global[SHARED] || defineGlobalProperty(SHARED, {});
5888
5901
 
5889
5902
  module.exports = store;
5890
5903
 
@@ -5900,10 +5913,10 @@ var store = __webpack_require__(5465);
5900
5913
  (module.exports = function (key, value) {
5901
5914
  return store[key] || (store[key] = value !== undefined ? value : {});
5902
5915
  })('versions', []).push({
5903
- version: '3.22.5',
5916
+ version: '3.22.7',
5904
5917
  mode: IS_PURE ? 'pure' : 'global',
5905
5918
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
5906
- license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
5919
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.7/LICENSE',
5907
5920
  source: 'https://github.com/zloirock/core-js'
5908
5921
  });
5909
5922
 
@@ -6229,17 +6242,16 @@ module.exports = function (it) {
6229
6242
  /***/ }),
6230
6243
 
6231
6244
  /***/ 9303:
6232
- /***/ (function(module) {
6245
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
6233
6246
 
6234
- var ceil = Math.ceil;
6235
- var floor = Math.floor;
6247
+ var trunc = __webpack_require__(4758);
6236
6248
 
6237
6249
  // `ToIntegerOrInfinity` abstract operation
6238
6250
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
6239
6251
  module.exports = function (argument) {
6240
6252
  var number = +argument;
6241
- // eslint-disable-next-line no-self-compare -- safe
6242
- return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
6253
+ // eslint-disable-next-line no-self-compare -- NaN check
6254
+ return number !== number || number === 0 ? 0 : trunc(number);
6243
6255
  };
6244
6256
 
6245
6257
 
@@ -13954,7 +13966,7 @@ var PrivatePopper = () => ({
13954
13966
  }
13955
13967
  this.$emit("update:shown", true);
13956
13968
  },
13957
- hide({ event = null, skipDelay = false } = {}) {
13969
+ hide({ event = null, skipDelay = false, skipAiming = false } = {}) {
13958
13970
  var _a;
13959
13971
  if (this.$_hideInProgress)
13960
13972
  return;
@@ -13962,7 +13974,7 @@ var PrivatePopper = () => ({
13962
13974
  this.$_pendingHide = true;
13963
13975
  return;
13964
13976
  }
13965
- if (this.hasPopperShowTriggerHover && this.$_isAimingPopper()) {
13977
+ if (!skipAiming && this.hasPopperShowTriggerHover && this.$_isAimingPopper()) {
13966
13978
  if (this.parentPopper) {
13967
13979
  this.parentPopper.lockedChild = this;
13968
13980
  clearTimeout(this.parentPopper.lockedChildTimer);
@@ -14314,14 +14326,14 @@ var PrivatePopper = () => ({
14314
14326
  };
14315
14327
  this.$_registerTriggerListeners(this.$_targetNodes, SHOW_EVENT_MAP, this.triggers, this.showTriggers, handleShow);
14316
14328
  this.$_registerTriggerListeners([this.$_popperNode], SHOW_EVENT_MAP, this.popperTriggers, this.popperShowTriggers, handleShow);
14317
- const handleHide = (event) => {
14329
+ const handleHide = (skipAiming) => (event) => {
14318
14330
  if (event.usedByTooltip) {
14319
14331
  return;
14320
14332
  }
14321
- this.hide({ event });
14333
+ this.hide({ event, skipAiming });
14322
14334
  };
14323
- this.$_registerTriggerListeners(this.$_targetNodes, HIDE_EVENT_MAP, this.triggers, this.hideTriggers, handleHide);
14324
- this.$_registerTriggerListeners([this.$_popperNode], HIDE_EVENT_MAP, this.popperTriggers, this.popperHideTriggers, handleHide);
14335
+ this.$_registerTriggerListeners(this.$_targetNodes, HIDE_EVENT_MAP, this.triggers, this.hideTriggers, handleHide(false));
14336
+ this.$_registerTriggerListeners([this.$_popperNode], HIDE_EVENT_MAP, this.popperTriggers, this.popperHideTriggers, handleHide(true));
14325
14337
  },
14326
14338
  $_registerEventListeners(targetNodes, eventType, handler) {
14327
14339
  this.$_events.push({ targetNodes, eventType, handler });
@@ -15326,7 +15338,7 @@ function install(app, options2 = {}) {
15326
15338
  app.component("VMenu", PrivateMenu);
15327
15339
  }
15328
15340
  const floating_vue_es_plugin = {
15329
- version: "1.0.0-beta.17",
15341
+ version: "1.0.0-beta.18",
15330
15342
  install,
15331
15343
  options: config
15332
15344
  };
@@ -16045,13 +16057,13 @@ var wt_divider_component = componentNormalizer_normalizeComponent(
16045
16057
  )
16046
16058
 
16047
16059
  /* harmony default export */ var wt_divider = (wt_divider_component.exports);
16048
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/atoms/wt-tooltip/wt-tooltip.vue?vue&type=template&id=4c8423b3&scoped=true&
16049
- var wt_tooltipvue_type_template_id_4c8423b3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-tooltip',{staticClass:"wt-tooltip",class:{
16060
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/atoms/wt-tooltip/wt-tooltip.vue?vue&type=template&id=f65255ba&scoped=true&
16061
+ var wt_tooltipvue_type_template_id_f65255ba_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-tooltip',{staticClass:"wt-tooltip",class:{
16050
16062
  'wt-tooltip--contrast': _vm.contrast
16051
16063
  },attrs:{"placement":_vm.placement,"popper-class":[
16052
16064
  'wt-tooltip__popper',
16053
- { 'wt-tooltip--contrast__popper': _vm.contrast } ]},scopedSlots:_vm._u([{key:"popper",fn:function(){return [_vm._t("default")]},proxy:true}],null,true)},[_vm._t("activator")],2)}
16054
- var wt_tooltipvue_type_template_id_4c8423b3_scoped_true_staticRenderFns = []
16065
+ { 'wt-tooltip--contrast__popper': _vm.contrast } ],"triggers":['hover', 'focus', 'touch']},scopedSlots:_vm._u([{key:"popper",fn:function(){return [_vm._t("default")]},proxy:true}],null,true)},[_vm._t("activator")],2)}
16066
+ var wt_tooltipvue_type_template_id_f65255ba_scoped_true_staticRenderFns = []
16055
16067
 
16056
16068
 
16057
16069
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/atoms/wt-tooltip/wt-tooltip.vue?vue&type=script&lang=js&
@@ -16074,6 +16086,7 @@ var wt_tooltipvue_type_template_id_4c8423b3_scoped_true_staticRenderFns = []
16074
16086
  //
16075
16087
  //
16076
16088
  //
16089
+ //
16077
16090
  /* harmony default export */ var wt_tooltipvue_type_script_lang_js_ = ({
16078
16091
  name: 'wt-tooltip',
16079
16092
  props: {
@@ -16089,10 +16102,10 @@ var wt_tooltipvue_type_template_id_4c8423b3_scoped_true_staticRenderFns = []
16089
16102
  });
16090
16103
  ;// CONCATENATED MODULE: ./src/components/atoms/wt-tooltip/wt-tooltip.vue?vue&type=script&lang=js&
16091
16104
  /* harmony default export */ var wt_tooltip_wt_tooltipvue_type_script_lang_js_ = (wt_tooltipvue_type_script_lang_js_);
16092
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/atoms/wt-tooltip/wt-tooltip.vue?vue&type=style&index=0&id=4c8423b3&lang=scss&scoped=true&
16105
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/atoms/wt-tooltip/wt-tooltip.vue?vue&type=style&index=0&id=f65255ba&lang=scss&scoped=true&
16093
16106
  // extracted by mini-css-extract-plugin
16094
16107
 
16095
- ;// CONCATENATED MODULE: ./src/components/atoms/wt-tooltip/wt-tooltip.vue?vue&type=style&index=0&id=4c8423b3&lang=scss&scoped=true&
16108
+ ;// CONCATENATED MODULE: ./src/components/atoms/wt-tooltip/wt-tooltip.vue?vue&type=style&index=0&id=f65255ba&lang=scss&scoped=true&
16096
16109
 
16097
16110
  ;// CONCATENATED MODULE: ./src/components/atoms/wt-tooltip/wt-tooltip.vue
16098
16111
 
@@ -16105,11 +16118,11 @@ var wt_tooltipvue_type_template_id_4c8423b3_scoped_true_staticRenderFns = []
16105
16118
 
16106
16119
  var wt_tooltip_component = componentNormalizer_normalizeComponent(
16107
16120
  wt_tooltip_wt_tooltipvue_type_script_lang_js_,
16108
- wt_tooltipvue_type_template_id_4c8423b3_scoped_true_render,
16109
- wt_tooltipvue_type_template_id_4c8423b3_scoped_true_staticRenderFns,
16121
+ wt_tooltipvue_type_template_id_f65255ba_scoped_true_render,
16122
+ wt_tooltipvue_type_template_id_f65255ba_scoped_true_staticRenderFns,
16110
16123
  false,
16111
16124
  null,
16112
- "4c8423b3",
16125
+ "f65255ba",
16113
16126
  null
16114
16127
 
16115
16128
  )
@@ -20472,22 +20485,22 @@ var wt_search_bar_component = componentNormalizer_normalizeComponent(
20472
20485
  )
20473
20486
 
20474
20487
  /* harmony default export */ var wt_search_bar = (wt_search_bar_component.exports);
20475
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/molecules/wt-select/wt-select.vue?vue&type=template&id=5e1ce59d&scoped=true&
20476
- var wt_selectvue_type_template_id_5e1ce59d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wt-select",class:{
20488
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/molecules/wt-select/wt-select.vue?vue&type=template&id=0fac7f12&scoped=true&
20489
+ var wt_selectvue_type_template_id_0fac7f12_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wt-select",class:{
20477
20490
  'wt-select--disabled': _vm.disabled,
20478
20491
  'wt-select--invalid': _vm.invalid,
20479
20492
  'wt-select--clearable': _vm.clearable,
20480
20493
  'wt-select--loading': _vm.isLoading,
20481
- }},[(_vm.hasLabel)?_c('wt-label',_vm._b({staticClass:"wt-select__label",attrs:{"disabled":_vm.disabled,"invalid":_vm.invalid}},'wt-label',_vm.labelProps,false),[_vm._t("label",function(){return [_vm._v(_vm._s(_vm.requiredLabel))]},null,{ label: _vm.label })],2):_vm._e(),_c('vue-multiselect',_vm._g(_vm._b({ref:"vue-multiselect",staticClass:"wt-select__select",attrs:{"value":_vm.selectValue,"options":_vm.selectOptions,"placeholder":_vm.placeholder || _vm.label,"limit":1,"label":_vm.optionLabel,"track-by":_vm.trackBy,"limit-text":function (count) { return ("+" + count); },"loading":false,"internal-search":!_vm.searchMethod,"disabled":_vm.disabled,"allow-empty":_vm.allowEmpty},scopedSlots:_vm._u([{key:"tag",fn:function(ref){
20494
+ }},[(_vm.hasLabel)?_c('wt-label',_vm._b({staticClass:"wt-select__label",attrs:{"disabled":_vm.disabled,"invalid":_vm.invalid}},'wt-label',_vm.labelProps,false),[_vm._t("label",function(){return [_vm._v(_vm._s(_vm.requiredLabel))]},null,{ label: _vm.label })],2):_vm._e(),_c('vue-multiselect',_vm._g(_vm._b({ref:"vue-multiselect",staticClass:"wt-select__select",attrs:{"allow-empty":_vm.allowEmpty,"disabled":_vm.disabled,"internal-search":!_vm.searchMethod,"label":_vm.optionLabel,"limit":1,"limit-text":function (count) { return ("+" + count); },"loading":false,"options":_vm.selectOptions,"placeholder":_vm.placeholder || _vm.label,"track-by":_vm.trackBy,"value":_vm.selectValue},scopedSlots:_vm._u([{key:"tag",fn:function(ref){
20482
20495
  var option = ref.option;
20483
20496
  return [_c('span',{staticClass:"multiselect__custom-tag"},[_vm._v(" "+_vm._s(option[_vm.optionLabel] || option)+" ")])]}},{key:"singleLabel",fn:function(ref){
20484
20497
  var option = ref.option;
20485
- return [_vm._t("singleLabel",function(){return [_c('span',{staticClass:"multiselect__single-label"},[_vm._v(" "+_vm._s(_vm.$te(option.locale) ? _vm.$t(option.locale) : (option[_vm.optionLabel] || option))+" ")])]},null,{ option: option, optionLabel: _vm.optionLabel })]}},{key:"option",fn:function(ref){
20498
+ return [_vm._t("singleLabel",function(){return [_c('span',{staticClass:"multiselect__single-label"},[_vm._v(" "+_vm._s(_vm.getOptionLabel({ option: option, optionLabel: _vm.optionLabel }))+" ")])]},null,{ option: option, optionLabel: _vm.optionLabel })]}},{key:"option",fn:function(ref){
20486
20499
  var option = ref.option;
20487
- return [_vm._t("option",function(){return [_c('span',[_vm._v(" "+_vm._s(_vm.$te(option.locale) ? _vm.$t(option.locale) : (option[_vm.optionLabel] || option))+" ")])]},null,{ option: option, optionLabel: _vm.optionLabel })]}},{key:"caret",fn:function(ref){
20500
+ return [_vm._t("option",function(){return [_c('span',[_vm._v(" "+_vm._s(_vm.getOptionLabel({ option: option, optionLabel: _vm.optionLabel }))+" ")])]},null,{ option: option, optionLabel: _vm.optionLabel })]}},{key:"caret",fn:function(ref){
20488
20501
  var toggle = ref.toggle;
20489
- return [_c('wt-icon-btn',{staticClass:"wt-select__arrow-caret",attrs:{"icon":"arrow-down","disabled":_vm.disabled},nativeOn:{"mousedown":function($event){$event.preventDefault();$event.stopPropagation();return toggle.apply(null, arguments)}}})]}},{key:"clear",fn:function(ref){return [(_vm.clearable)?_c('wt-icon-btn',{staticClass:"wt-select__clear",class:{ 'hidden': !_vm.isValue },attrs:{"disabled":_vm.disabled,"icon":"close"},on:{"click":_vm.clearValue}}):_vm._e()]}}],null,true)},'vue-multiselect',_vm.$attrs,false),_vm.listeners),[_c('template',{slot:"beforeList"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isLoading),expression:"isLoading"}],staticClass:"wt-select__loading-wrapper"},[_c('wt-loader',{attrs:{"size":"sm"}})],1)]),(_vm.showIntersectionObserver)?_c('template',{slot:"afterList"},[_c('div',{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:(_vm.handleAfterListIntersect),expression:"handleAfterListIntersect"}]})]):_vm._e()],2),(_vm.isValidation)?_c('wt-input-info',{attrs:{"invalid":_vm.invalid}},[_vm._v(_vm._s(_vm.validationText)+" ")]):_vm._e()],1)}
20490
- var wt_selectvue_type_template_id_5e1ce59d_scoped_true_staticRenderFns = []
20502
+ return [_c('wt-icon-btn',{staticClass:"wt-select__arrow-caret",attrs:{"disabled":_vm.disabled,"icon":"arrow-down"},nativeOn:{"mousedown":function($event){$event.preventDefault();$event.stopPropagation();return toggle.apply(null, arguments)}}})]}},{key:"clear",fn:function(ref){return [(_vm.clearable)?_c('wt-icon-btn',{staticClass:"wt-select__clear",class:{ 'hidden': !_vm.isValue },attrs:{"disabled":_vm.disabled,"icon":"close"},on:{"click":_vm.clearValue}}):_vm._e()]}}],null,true)},'vue-multiselect',_vm.$attrs,false),_vm.listeners),[_c('template',{slot:"beforeList"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isLoading),expression:"isLoading"}],staticClass:"wt-select__loading-wrapper"},[_c('wt-loader',{attrs:{"size":"sm"}})],1)]),(_vm.showIntersectionObserver)?_c('template',{slot:"afterList"},[_c('div',{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:(_vm.handleAfterListIntersect),expression:"handleAfterListIntersect"}]})]):_vm._e()],2),(_vm.isValidation)?_c('wt-input-info',{attrs:{"invalid":_vm.invalid}},[_vm._v(_vm._s(_vm.validationText)+" ")]):_vm._e()],1)}
20503
+ var wt_selectvue_type_template_id_0fac7f12_scoped_true_staticRenderFns = []
20491
20504
 
20492
20505
 
20493
20506
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
@@ -21257,6 +21270,7 @@ var isEmpty = function isEmpty(value) {
21257
21270
 
21258
21271
 
21259
21272
 
21273
+
21260
21274
  //
21261
21275
  //
21262
21276
  //
@@ -21472,6 +21486,17 @@ var isEmpty = function isEmpty(value) {
21472
21486
  }
21473
21487
  },
21474
21488
  methods: {
21489
+ getOptionLabel: function getOptionLabel(_ref) {
21490
+ var option = _ref.option,
21491
+ optionLabel = _ref.optionLabel;
21492
+
21493
+ if (option.locale) {
21494
+ if (Array.isArray(option.locale)) return this.$tc.apply(this, _toConsumableArray(option.locale));
21495
+ return this.$t(option.locale);
21496
+ }
21497
+
21498
+ return option[optionLabel] || option;
21499
+ },
21475
21500
  handleSearchChange: function handleSearchChange(search) {
21476
21501
  if (!this.isApiMode) return;
21477
21502
  this.isLoading = true;
@@ -21491,13 +21516,13 @@ var isEmpty = function isEmpty(value) {
21491
21516
  _this2 = this;
21492
21517
 
21493
21518
  return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21494
- var _ref, search, page, _yield$_this2$searchM, items, next;
21519
+ var _ref2, search, page, _yield$_this2$searchM, items, next;
21495
21520
 
21496
21521
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21497
21522
  while (1) {
21498
21523
  switch (_context.prev = _context.next) {
21499
21524
  case 0:
21500
- _ref = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : _this2.searchParams, search = _ref.search, page = _ref.page;
21525
+ _ref2 = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : _this2.searchParams, search = _ref2.search, page = _ref2.page;
21501
21526
 
21502
21527
  if (_this2.isApiMode) {
21503
21528
  _context.next = 3;
@@ -21549,10 +21574,10 @@ var isEmpty = function isEmpty(value) {
21549
21574
  });
21550
21575
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-select/wt-select.vue?vue&type=script&lang=js&
21551
21576
  /* harmony default export */ var wt_select_wt_selectvue_type_script_lang_js_ = (wt_selectvue_type_script_lang_js_);
21552
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/molecules/wt-select/wt-select.vue?vue&type=style&index=0&id=5e1ce59d&lang=scss&scoped=true&
21577
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/molecules/wt-select/wt-select.vue?vue&type=style&index=0&id=0fac7f12&lang=scss&scoped=true&
21553
21578
  // extracted by mini-css-extract-plugin
21554
21579
 
21555
- ;// CONCATENATED MODULE: ./src/components/molecules/wt-select/wt-select.vue?vue&type=style&index=0&id=5e1ce59d&lang=scss&scoped=true&
21580
+ ;// CONCATENATED MODULE: ./src/components/molecules/wt-select/wt-select.vue?vue&type=style&index=0&id=0fac7f12&lang=scss&scoped=true&
21556
21581
 
21557
21582
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-select/wt-select.vue
21558
21583
 
@@ -21565,11 +21590,11 @@ var isEmpty = function isEmpty(value) {
21565
21590
 
21566
21591
  var wt_select_component = componentNormalizer_normalizeComponent(
21567
21592
  wt_select_wt_selectvue_type_script_lang_js_,
21568
- wt_selectvue_type_template_id_5e1ce59d_scoped_true_render,
21569
- wt_selectvue_type_template_id_5e1ce59d_scoped_true_staticRenderFns,
21593
+ wt_selectvue_type_template_id_0fac7f12_scoped_true_render,
21594
+ wt_selectvue_type_template_id_0fac7f12_scoped_true_staticRenderFns,
21570
21595
  false,
21571
21596
  null,
21572
- "5e1ce59d",
21597
+ "0fac7f12",
21573
21598
  null
21574
21599
 
21575
21600
  )
@@ -24689,9 +24714,9 @@ var wt_table_component = componentNormalizer_normalizeComponent(
24689
24714
  )
24690
24715
 
24691
24716
  /* harmony default export */ var wt_table = (wt_table_component.exports);
24692
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/organisms/wt-table-actions/wt-table-actions.vue?vue&type=template&id=18266cec&scoped=true&
24693
- var wt_table_actionsvue_type_template_id_18266cec_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"wt-table-actions"},[_vm._t("default"),_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [(_vm.isImport)?_c('wt-icon-btn',{attrs:{"icon":"download"},on:{"click":function($event){return _vm.$emit('input', 'import')}}}):_vm._e()]},proxy:true}])},[_vm._v(" "+_vm._s(_vm.$t('reusable.import'))+" ")]),_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [(_vm.isExport)?_c('wt-icon-btn',{attrs:{"icon":"upload"},on:{"click":function($event){return _vm.$emit('input', 'export')}}}):_vm._e()]},proxy:true}])},[_vm._v(" "+_vm._s(_vm.$t('reusable.export'))+" ")]),_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [(_vm.isFilterReset)?_c('wt-icon-btn',{attrs:{"icon":"clear"},on:{"click":function($event){return _vm.$emit('input', 'filterReset')}}}):_vm._e()]},proxy:true}])},[_vm._v(" "+_vm._s(_vm.$t('webitelUI.tableActions.filterReset'))+" ")]),_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [(_vm.isColumnSelect)?_c('wt-icon-btn',{attrs:{"icon":"column-select"},on:{"click":function($event){return _vm.$emit('input', 'columnSelect')}}}):_vm._e()]},proxy:true}])},[_vm._v(" "+_vm._s(_vm.$t('webitelUI.tableActions.columnSelect'))+" ")]),_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [(_vm.isRefresh)?_c('wt-icon-btn',{attrs:{"icon":"refresh"},on:{"click":function($event){return _vm.$emit('input', 'refresh')}}}):_vm._e()]},proxy:true}])},[_vm._v(" "+_vm._s(_vm.$t('webitelUI.tableActions.refreshTable'))+" ")]),_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [(_vm.isSettings)?_c('wt-icon-btn',{class:{'active': _vm.isSettingsActive},attrs:{"icon":"filter"},on:{"click":function($event){return _vm.$emit('input', 'settings')}}}):_vm._e()]},proxy:true}])},[_vm._v(" "+_vm._s(_vm.$t('webitelUI.tableActions.expandFilters'))+" ")])],2)}
24694
- var wt_table_actionsvue_type_template_id_18266cec_scoped_true_staticRenderFns = []
24717
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/organisms/wt-table-actions/wt-table-actions.vue?vue&type=template&id=2645d022&scoped=true&
24718
+ var wt_table_actionsvue_type_template_id_2645d022_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"wt-table-actions"},[_vm._t("default"),(_vm.isImport)?_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [_c('wt-icon-btn',{attrs:{"icon":"download"},on:{"click":function($event){return _vm.$emit('input', 'import')}}})]},proxy:true}],null,false,2126024255)},[_vm._v(" "+_vm._s(_vm.$t('reusable.import'))+" ")]):_vm._e(),(_vm.isExport)?_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [_c('wt-icon-btn',{attrs:{"icon":"upload"},on:{"click":function($event){return _vm.$emit('input', 'export')}}})]},proxy:true}],null,false,42249425)},[_vm._v(" "+_vm._s(_vm.$t('reusable.export'))+" ")]):_vm._e(),(_vm.isFilterReset)?_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [_c('wt-icon-btn',{attrs:{"icon":"clear"},on:{"click":function($event){return _vm.$emit('input', 'filterReset')}}})]},proxy:true}],null,false,2792737498)},[_vm._v(" "+_vm._s(_vm.$t('webitelUI.tableActions.filterReset'))+" ")]):_vm._e(),(_vm.isColumnSelect)?_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [_c('wt-icon-btn',{attrs:{"icon":"column-select"},on:{"click":function($event){return _vm.$emit('input', 'columnSelect')}}})]},proxy:true}],null,false,2418030907)},[_vm._v(" "+_vm._s(_vm.$t('webitelUI.tableActions.columnSelect'))+" ")]):_vm._e(),(_vm.isRefresh)?_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [_c('wt-icon-btn',{attrs:{"icon":"refresh"},on:{"click":function($event){return _vm.$emit('input', 'refresh')}}})]},proxy:true}],null,false,3218732278)},[_vm._v(" "+_vm._s(_vm.$t('webitelUI.tableActions.refreshTable'))+" ")]):_vm._e(),(_vm.isSettings)?_c('wt-tooltip',{scopedSlots:_vm._u([{key:"activator",fn:function(){return [_c('wt-icon-btn',{class:{'active': _vm.isSettingsActive},attrs:{"icon":"filter"},on:{"click":function($event){return _vm.$emit('input', 'settings')}}})]},proxy:true}],null,false,3871527912)},[_vm._v(" "+_vm._s(_vm.$t('webitelUI.tableActions.expandFilters'))+" ")]):_vm._e()],2)}
24719
+ var wt_table_actionsvue_type_template_id_2645d022_scoped_true_staticRenderFns = []
24695
24720
 
24696
24721
 
24697
24722
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/organisms/wt-table-actions/wt-table-actions.vue?vue&type=script&lang=js&
@@ -24756,12 +24781,6 @@ var wt_table_actionsvue_type_template_id_18266cec_scoped_true_staticRenderFns =
24756
24781
  //
24757
24782
  //
24758
24783
  //
24759
- //
24760
- //
24761
- //
24762
- //
24763
- //
24764
- //
24765
24784
  /* harmony default export */ var wt_table_actionsvue_type_script_lang_js_ = ({
24766
24785
  name: 'wt-table-actions',
24767
24786
  props: {
@@ -24799,10 +24818,10 @@ var wt_table_actionsvue_type_template_id_18266cec_scoped_true_staticRenderFns =
24799
24818
  });
24800
24819
  ;// CONCATENATED MODULE: ./src/components/organisms/wt-table-actions/wt-table-actions.vue?vue&type=script&lang=js&
24801
24820
  /* harmony default export */ var wt_table_actions_wt_table_actionsvue_type_script_lang_js_ = (wt_table_actionsvue_type_script_lang_js_);
24802
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/organisms/wt-table-actions/wt-table-actions.vue?vue&type=style&index=0&id=18266cec&lang=scss&scoped=true&
24821
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/organisms/wt-table-actions/wt-table-actions.vue?vue&type=style&index=0&id=2645d022&lang=scss&scoped=true&
24803
24822
  // extracted by mini-css-extract-plugin
24804
24823
 
24805
- ;// CONCATENATED MODULE: ./src/components/organisms/wt-table-actions/wt-table-actions.vue?vue&type=style&index=0&id=18266cec&lang=scss&scoped=true&
24824
+ ;// CONCATENATED MODULE: ./src/components/organisms/wt-table-actions/wt-table-actions.vue?vue&type=style&index=0&id=2645d022&lang=scss&scoped=true&
24806
24825
 
24807
24826
  ;// CONCATENATED MODULE: ./src/components/organisms/wt-table-actions/wt-table-actions.vue
24808
24827
 
@@ -24815,11 +24834,11 @@ var wt_table_actionsvue_type_template_id_18266cec_scoped_true_staticRenderFns =
24815
24834
 
24816
24835
  var wt_table_actions_component = componentNormalizer_normalizeComponent(
24817
24836
  wt_table_actions_wt_table_actionsvue_type_script_lang_js_,
24818
- wt_table_actionsvue_type_template_id_18266cec_scoped_true_render,
24819
- wt_table_actionsvue_type_template_id_18266cec_scoped_true_staticRenderFns,
24837
+ wt_table_actionsvue_type_template_id_2645d022_scoped_true_render,
24838
+ wt_table_actionsvue_type_template_id_2645d022_scoped_true_staticRenderFns,
24820
24839
  false,
24821
24840
  null,
24822
- "18266cec",
24841
+ "2645d022",
24823
24842
  null
24824
24843
 
24825
24844
  )