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

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.
@@ -19557,18 +19557,18 @@ var wt_icon_btn_component = componentNormalizer_normalizeComponent(
19557
19557
  )
19558
19558
 
19559
19559
  /* harmony default export */ var wt_icon_btn = (wt_icon_btn_component.exports);
19560
- ;// 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&
19561
- 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:{
19560
+ ;// 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=01c0eede&scoped=true&
19561
+ var wt_inputvue_type_template_id_01c0eede_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wt-input",class:{
19562
19562
  'wt-input--outline': _vm.outline,
19563
19563
  'wt-input--disabled': _vm.disabled,
19564
19564
  'wt-input--invalid': _vm.invalid,
19565
- }},[(_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:{
19565
+ }},[(_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:{
19566
19566
  'wt-input--is-password': _vm.isPassword,
19567
- },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,{
19567
+ },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,{
19568
19568
  isPasswordVisible: _vm.isPasswordVisible,
19569
19569
  switchVisibilityPassword: _vm.switchVisibilityPassword,
19570
19570
  }):_vm._e()],2)]),(_vm.isValidation)?_c('wt-input-info',{attrs:{"invalid":_vm.invalid}},[_vm._v(_vm._s(_vm.validationText)+" ")]):_vm._e()],1)}
19571
- var wt_inputvue_type_template_id_44f87cbc_scoped_true_staticRenderFns = []
19571
+ var wt_inputvue_type_template_id_01c0eede_scoped_true_staticRenderFns = []
19572
19572
 
19573
19573
 
19574
19574
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.async-iterator.js
@@ -20408,23 +20408,20 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
20408
20408
  var _this = this;
20409
20409
 
20410
20410
  return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
20411
- var afterWrapperWidth, inputEl, defaultInputPadding;
20412
20411
  return _regeneratorRuntime().wrap(function _callee$(_context) {
20413
20412
  while (1) {
20414
20413
  switch (_context.prev = _context.next) {
20415
20414
  case 0:
20416
- _context.next = 2;
20417
- return _this.$nextTick();
20418
-
20419
- case 2:
20420
- // cant test this thing cause vue test utils doesnt render elements width :/
20421
- afterWrapperWidth = _this.$refs['after-wrapper'].offsetWidth;
20422
- inputEl = _this.$refs['wt-input'];
20423
- defaultInputPadding = getComputedStyle(document.documentElement).getPropertyValue('--input-padding');
20424
- wt_inputvue_type_script_lang_js_console.info('ipnut:', defaultInputPadding, afterWrapperWidth, defaultInputPadding * 2 + afterWrapperWidth);
20425
- inputEl.style.paddingRight = "calc(".concat(defaultInputPadding, " * 2 + ").concat(afterWrapperWidth, "px)");
20426
-
20427
- case 7:
20415
+ _this.setTimeout(function () {
20416
+ // cant test this thing cause vue test utils doesnt render elements width :/
20417
+ var afterWrapperWidth = _this.$refs['after-wrapper'].offsetWidth;
20418
+ var inputEl = _this.$refs['wt-input'];
20419
+ var defaultInputPadding = getComputedStyle(document.documentElement).getPropertyValue('--input-padding');
20420
+ wt_inputvue_type_script_lang_js_console.info('ipnut:', defaultInputPadding, afterWrapperWidth, defaultInputPadding * 2 + afterWrapperWidth);
20421
+ inputEl.style.paddingRight = "calc(".concat(defaultInputPadding, " * 2 + ").concat(afterWrapperWidth, "px)");
20422
+ }, 100);
20423
+
20424
+ case 1:
20428
20425
  case "end":
20429
20426
  return _context.stop();
20430
20427
  }
@@ -20439,10 +20436,10 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
20439
20436
  });
20440
20437
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=script&lang=js&
20441
20438
  /* harmony default export */ var wt_input_wt_inputvue_type_script_lang_js_ = (wt_inputvue_type_script_lang_js_);
20442
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-63[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-63[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&
20439
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-63[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-63[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=01c0eede&lang=scss&scoped=true&
20443
20440
  // extracted by mini-css-extract-plugin
20444
20441
 
20445
- ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=style&index=0&id=44f87cbc&lang=scss&scoped=true&
20442
+ ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=style&index=0&id=01c0eede&lang=scss&scoped=true&
20446
20443
 
20447
20444
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue
20448
20445
 
@@ -20455,11 +20452,11 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
20455
20452
 
20456
20453
  var wt_input_component = componentNormalizer_normalizeComponent(
20457
20454
  wt_input_wt_inputvue_type_script_lang_js_,
20458
- wt_inputvue_type_template_id_44f87cbc_scoped_true_render,
20459
- wt_inputvue_type_template_id_44f87cbc_scoped_true_staticRenderFns,
20455
+ wt_inputvue_type_template_id_01c0eede_scoped_true_render,
20456
+ wt_inputvue_type_template_id_01c0eede_scoped_true_staticRenderFns,
20460
20457
  false,
20461
20458
  null,
20462
- "44f87cbc",
20459
+ "01c0eede",
20463
20460
  null
20464
20461
 
20465
20462
  )