@webitel/ui-sdk 3.1.60 → 3.1.61

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.
@@ -22057,18 +22057,18 @@ function wt_icon_btnvue_type_template_id_72cf0ee8_scoped_true_render(_ctx, _cach
22057
22057
  const wt_icon_btn_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_icon_btnvue_type_script_lang_js, [['render',wt_icon_btnvue_type_template_id_72cf0ee8_scoped_true_render],['__scopeId',"data-v-72cf0ee8"]])
22058
22058
 
22059
22059
  /* harmony default export */ var wt_icon_btn = (wt_icon_btn_exports_);
22060
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-input/wt-input.vue?vue&type=template&id=10f8ff82&scoped=true
22060
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-input/wt-input.vue?vue&type=template&id=726f2324&scoped=true
22061
22061
 
22062
- const wt_inputvue_type_template_id_10f8ff82_scoped_true_withScopeId = n => (_pushScopeId("data-v-10f8ff82"), n = n(), _popScopeId(), n);
22063
- const wt_inputvue_type_template_id_10f8ff82_scoped_true_hoisted_1 = {
22062
+ const wt_inputvue_type_template_id_726f2324_scoped_true_withScopeId = n => (_pushScopeId("data-v-726f2324"), n = n(), _popScopeId(), n);
22063
+ const wt_inputvue_type_template_id_726f2324_scoped_true_hoisted_1 = {
22064
22064
  class: "wt-input__wrapper"
22065
22065
  };
22066
- const wt_inputvue_type_template_id_10f8ff82_scoped_true_hoisted_2 = ["id", "disabled", "max", "min", "placeholder", "type", "value"];
22067
- const wt_inputvue_type_template_id_10f8ff82_scoped_true_hoisted_3 = {
22066
+ const wt_inputvue_type_template_id_726f2324_scoped_true_hoisted_2 = ["id", "disabled", "max", "min", "placeholder", "type", "value"];
22067
+ const wt_inputvue_type_template_id_726f2324_scoped_true_hoisted_3 = {
22068
22068
  ref: "after-wrapper",
22069
22069
  class: "wt-input__after-wrapper"
22070
22070
  };
22071
- function wt_inputvue_type_template_id_10f8ff82_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
22071
+ function wt_inputvue_type_template_id_726f2324_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
22072
22072
  const _component_wt_label = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("wt-label");
22073
22073
  const _component_wt_icon_btn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("wt-icon-btn");
22074
22074
  const _component_wt_input_info = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("wt-input-info");
@@ -22090,7 +22090,7 @@ function wt_inputvue_type_template_id_10f8ff82_scoped_true_render(_ctx, _cache,
22090
22090
  label: $props.label
22091
22091
  })), () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($options.requiredLabel), 1)], true)], undefined, true),
22092
22092
  _: 3
22093
- }, 16, ["disabled", "for", "invalid", "outline"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", wt_inputvue_type_template_id_10f8ff82_scoped_true_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("input", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)(_ctx.$attrs, {
22093
+ }, 16, ["disabled", "for", "invalid", "outline"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", wt_inputvue_type_template_id_726f2324_scoped_true_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("input", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)(_ctx.$attrs, {
22094
22094
  id: $props.name,
22095
22095
  ref: "wt-input"
22096
22096
  }, {
@@ -22105,7 +22105,7 @@ function wt_inputvue_type_template_id_10f8ff82_scoped_true_render(_ctx, _cache,
22105
22105
  value: $props.value || $props.modelValue,
22106
22106
  onInput: _cache[0] || (_cache[0] = (...args) => $options.inputHandler && $options.inputHandler(...args)),
22107
22107
  onKeyup: _cache[1] || (_cache[1] = $event => _ctx.$emit('keyup', $event))
22108
- }), null, 16, wt_inputvue_type_template_id_10f8ff82_scoped_true_hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", wt_inputvue_type_template_id_10f8ff82_scoped_true_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "after-input", {}, undefined, true), $options.isPassword ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "show-password", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
22108
+ }), null, 16, wt_inputvue_type_template_id_726f2324_scoped_true_hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", wt_inputvue_type_template_id_726f2324_scoped_true_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "after-input", {}, undefined, true), $options.isPassword ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "show-password", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
22109
22109
  key: 0
22110
22110
  }, {
22111
22111
  isPasswordVisible: _ctx.isPasswordVisible,
@@ -22122,7 +22122,7 @@ function wt_inputvue_type_template_id_10f8ff82_scoped_true_render(_ctx, _cache,
22122
22122
  _: 1
22123
22123
  }, 8, ["invalid"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 2);
22124
22124
  }
22125
- ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=template&id=10f8ff82&scoped=true
22125
+ ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=template&id=726f2324&scoped=true
22126
22126
 
22127
22127
  ;// CONCATENATED MODULE: ./src/mixins/validationMixin/validationMixin.js
22128
22128
  /* harmony default export */ var validationMixin = ({
@@ -22146,14 +22146,14 @@ function wt_inputvue_type_template_id_10f8ff82_scoped_true_render(_ctx, _cache,
22146
22146
  validationText() {
22147
22147
  let validationText = '';
22148
22148
  if (this.isValidation && this.invalid) {
22149
- if (this.v.required.$invalid) validationText = this.$t('validation.required');else if (this.v.numeric.$invalid) validationText = this.$t('validation.numeric');else if (this.v.email.$invalid) validationText = this.$t('validation.email');else if (this.v.gatewayHostValidator.$invalid) validationText = this.$t('validation.gatewayHostValidator');else if (this.v.ipValidator.$invalid) validationText = this.$t('validation.ipValidator');else if (this.v.macValidator.$invalid) validationText = this.$t('validation.macValidator');else if (this.v.minValue.$invalid) validationText = `${this.$t('validation.minValue')} ${this.v.$params.minValue.min}`;else if (this.v.maxValue.$invalid) validationText = `${this.$t('validation.maxValue')} ${this.v.$params.maxValue.max}`;else if (this.v.sipAccountValidator.$invalid) validationText = this.$t('validation.sipAccountValidator');else if (this.v.minLength.$invalid) validationText = `${this.$t('validation.minLength')} ${this.v.$params.minLength.min}`;else if (this.v.url.$invalid) validationText = `${this.$t('validation.url')}`;
22149
+ if (this.v.required?.$invalid) validationText = this.$t('validation.required');else if (this.v.numeric?.$invalid) validationText = this.$t('validation.numeric');else if (this.v.email?.$invalid) validationText = this.$t('validation.email');else if (this.v.gatewayHostValidator?.$invalid) validationText = this.$t('validation.gatewayHostValidator');else if (this.v.ipValidator?.$invalid) validationText = this.$t('validation.ipValidator');else if (this.v.macValidator?.$invalid) validationText = this.$t('validation.macValidator');else if (this.v.minValue?.$invalid) validationText = `${this.$t('validation.minValue')} ${this.v.minValue.$params.min}`;else if (this.v.maxValue?.$invalid) validationText = `${this.$t('validation.maxValue')} ${this.v.maxValue.$params.max}`;else if (this.v.sipAccountValidator?.$invalid) validationText = this.$t('validation.sipAccountValidator');else if (this.v.minLength?.$invalid) validationText = `${this.$t('validation.minLength')} ${this.v.minLength.$params.min}`;else if (this.v.url?.$invalid) validationText = `${this.$t('validation.url')}`;
22150
22150
  }
22151
22151
  // eslint-disable-next-line no-restricted-syntax
22152
22152
  for (const {
22153
22153
  name,
22154
22154
  text
22155
22155
  } of this.customValidators) {
22156
- if (this.v[name].$invalid) validationText = text;
22156
+ if (this.v[name]?.$invalid) validationText = text;
22157
22157
  }
22158
22158
  return validationText;
22159
22159
  }
@@ -22257,7 +22257,7 @@ function wt_inputvue_type_template_id_10f8ff82_scoped_true_render(_ctx, _cache,
22257
22257
  default: false
22258
22258
  }
22259
22259
  },
22260
- emits: ['update:modelValue', 'input'],
22260
+ emits: ['update:modelValue', 'input', 'keyup'],
22261
22261
  data: () => ({
22262
22262
  inputType: '',
22263
22263
  isPasswordVisible: false
@@ -22318,10 +22318,10 @@ function wt_inputvue_type_template_id_10f8ff82_scoped_true_render(_ctx, _cache,
22318
22318
  });
22319
22319
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=script&lang=js
22320
22320
 
22321
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-input/wt-input.vue?vue&type=style&index=0&id=10f8ff82&lang=scss&scoped=true
22321
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-input/wt-input.vue?vue&type=style&index=0&id=726f2324&lang=scss&scoped=true
22322
22322
  // extracted by mini-css-extract-plugin
22323
22323
 
22324
- ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=style&index=0&id=10f8ff82&lang=scss&scoped=true
22324
+ ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue?vue&type=style&index=0&id=726f2324&lang=scss&scoped=true
22325
22325
 
22326
22326
  ;// CONCATENATED MODULE: ./src/components/molecules/wt-input/wt-input.vue
22327
22327
 
@@ -22331,7 +22331,7 @@ function wt_inputvue_type_template_id_10f8ff82_scoped_true_render(_ctx, _cache,
22331
22331
  ;
22332
22332
 
22333
22333
 
22334
- const wt_input_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_inputvue_type_script_lang_js, [['render',wt_inputvue_type_template_id_10f8ff82_scoped_true_render],['__scopeId',"data-v-10f8ff82"]])
22334
+ const wt_input_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_inputvue_type_script_lang_js, [['render',wt_inputvue_type_template_id_726f2324_scoped_true_render],['__scopeId',"data-v-726f2324"]])
22335
22335
 
22336
22336
  /* harmony default export */ var wt_input = (wt_input_exports_);
22337
22337
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-notification/wt-notification.vue?vue&type=template&id=7981c292&scoped=true