@webitel/ui-sdk 2.0.5-3 → 2.0.5-6

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.
@@ -19539,18 +19539,18 @@ var wt_icon_btn_component = componentNormalizer_normalizeComponent(
19539
19539
  )
19540
19540
 
19541
19541
  /* harmony default export */ var wt_icon_btn = (wt_icon_btn_component.exports);
19542
- ;// 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-input/wt-input.vue?vue&type=template&id=44f87cbc&scoped=true&
19543
- var wt_inputvue_type_template_id_44f87cbc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wt-input",class:{
19542
+ ;// 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-input/wt-input.vue?vue&type=template&id=6c8200b8&scoped=true&
19543
+ var wt_inputvue_type_template_id_6c8200b8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wt-input",class:{
19544
19544
  'wt-input--outline': _vm.outline,
19545
19545
  'wt-input--disabled': _vm.disabled,
19546
19546
  'wt-input--invalid': _vm.invalid,
19547
- }},[(_vm.hasLabel)?_c('wt-label',_vm._b({attrs:{"for":_vm.name,"outline":_vm.outline,"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('div',{staticClass:"wt-input__wrapper"},[_c('input',_vm._g({ref:"wt-input",staticClass:"wt-input__input",class:{
19547
+ }},[(_vm.hasLabel)?_c('wt-label',_vm._b({attrs:{"disabled":_vm.disabled,"for":_vm.name,"invalid":_vm.invalid,"outline":_vm.outline}},'wt-label',_vm.labelProps,false),[_vm._t("label",function(){return [_vm._v(_vm._s(_vm.requiredLabel))]},null,{ label: _vm.label })],2):_vm._e(),_c('div',{staticClass:"wt-input__wrapper"},[_c('input',_vm._g({ref:"wt-input",staticClass:"wt-input__input",class:{
19548
19548
  'wt-input--is-password': _vm.isPassword,
19549
- },attrs:{"id":_vm.name,"type":_vm.inputType,"placeholder":_vm.placeholder || _vm.label,"disabled":_vm.disabled,"min":_vm.numberMin,"max":_vm.numberMax},domProps:{"value":_vm.value}},_vm.listeners)),_c('div',{ref:"after-wrapper",staticClass:"wt-input__after-wrapper"},[_vm._t("after-input"),(_vm.isPassword)?_vm._t("show-password",function(){return [_c('wt-icon-btn',{staticClass:"wt-input__password-button",attrs:{"icon":_vm.showPasswordIcon},nativeOn:{"click":function($event){return _vm.switchVisibilityPassword.apply(null, arguments)}}})]},null,{
19549
+ },attrs:{"id":_vm.name,"disabled":_vm.disabled,"max":_vm.numberMax,"min":_vm.numberMin,"placeholder":_vm.placeholder || _vm.label,"type":_vm.inputType},domProps:{"value":_vm.value}},_vm.listeners)),_c('div',{ref:"after-wrapper",staticClass:"wt-input__after-wrapper"},[_vm._t("after-input"),(_vm.isPassword)?_vm._t("show-password",function(){return [_c('wt-icon-btn',{staticClass:"wt-input__password-button",attrs:{"icon":_vm.showPasswordIcon},nativeOn:{"click":function($event){return _vm.switchVisibilityPassword.apply(null, arguments)}}})]},null,{
19550
19550
  isPasswordVisible: _vm.isPasswordVisible,
19551
19551
  switchVisibilityPassword: _vm.switchVisibilityPassword,
19552
19552
  }):_vm._e()],2)]),(_vm.isValidation)?_c('wt-input-info',{attrs:{"invalid":_vm.invalid}},[_vm._v(_vm._s(_vm.validationText)+" ")]):_vm._e()],1)}
19553
- var wt_inputvue_type_template_id_44f87cbc_scoped_true_staticRenderFns = []
19553
+ var wt_inputvue_type_template_id_6c8200b8_scoped_true_staticRenderFns = []
19554
19554
 
19555
19555
 
19556
19556
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.async-iterator.js
@@ -20390,23 +20390,21 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
20390
20390
  var _this = this;
20391
20391
 
20392
20392
  return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
20393
- var afterWrapperWidth, inputEl, defaultInputPadding;
20394
20393
  return _regeneratorRuntime().wrap(function _callee$(_context) {
20395
20394
  while (1) {
20396
20395
  switch (_context.prev = _context.next) {
20397
20396
  case 0:
20398
- _context.next = 2;
20399
- return _this.$nextTick();
20397
+ wt_inputvue_type_script_lang_js_console.info(1);
20398
+ setTimeout(function () {
20399
+ // cant test this thing cause vue test utils doesnt render elements width :/
20400
+ var afterWrapperWidth = _this.$refs['after-wrapper'].offsetWidth;
20401
+ var inputEl = _this.$refs['wt-input'];
20402
+ var defaultInputPadding = getComputedStyle(document.documentElement).getPropertyValue('--input-padding');
20403
+ wt_inputvue_type_script_lang_js_console.info('ipnut:', defaultInputPadding, afterWrapperWidth, defaultInputPadding * 2 + afterWrapperWidth);
20404
+ inputEl.style.paddingRight = "calc(".concat(defaultInputPadding, " * 2 + ").concat(afterWrapperWidth, "px)");
20405
+ }, 100);
20400
20406
 
20401
20407
  case 2:
20402
- // cant test this thing cause vue test utils doesnt render elements width :/
20403
- afterWrapperWidth = _this.$refs['after-wrapper'].offsetWidth;
20404
- inputEl = _this.$refs['wt-input'];
20405
- defaultInputPadding = getComputedStyle(document.documentElement).getPropertyValue('--input-padding');
20406
- wt_inputvue_type_script_lang_js_console.info('ipnut:', defaultInputPadding, afterWrapperWidth, defaultInputPadding * 2 + afterWrapperWidth);
20407
- inputEl.style.paddingRight = "calc(".concat(defaultInputPadding, " * 2 + ").concat(afterWrapperWidth, "px)");
20408
-
20409
- case 7:
20410
20408
  case "end":
20411
20409
  return _context.stop();
20412
20410
  }
@@ -20421,10 +20419,10 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
20421
20419
  });
20422
20420
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=script&lang=js&
20423
20421
  /* harmony default export */ var wt_input_wt_inputvue_type_script_lang_js_ = (wt_inputvue_type_script_lang_js_);
20424
- ;// 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-input/wt-input.vue?vue&type=style&index=0&id=44f87cbc&lang=scss&scoped=true&
20422
+ ;// 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-input/wt-input.vue?vue&type=style&index=0&id=6c8200b8&lang=scss&scoped=true&
20425
20423
  // extracted by mini-css-extract-plugin
20426
20424
 
20427
- ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=style&index=0&id=44f87cbc&lang=scss&scoped=true&
20425
+ ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=style&index=0&id=6c8200b8&lang=scss&scoped=true&
20428
20426
 
20429
20427
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue
20430
20428
 
@@ -20437,11 +20435,11 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
20437
20435
 
20438
20436
  var wt_input_component = componentNormalizer_normalizeComponent(
20439
20437
  wt_input_wt_inputvue_type_script_lang_js_,
20440
- wt_inputvue_type_template_id_44f87cbc_scoped_true_render,
20441
- wt_inputvue_type_template_id_44f87cbc_scoped_true_staticRenderFns,
20438
+ wt_inputvue_type_template_id_6c8200b8_scoped_true_render,
20439
+ wt_inputvue_type_template_id_6c8200b8_scoped_true_staticRenderFns,
20442
20440
  false,
20443
20441
  null,
20444
- "44f87cbc",
20442
+ "6c8200b8",
20445
20443
  null
20446
20444
 
20447
20445
  )