@webitel/ui-sdk 3.1.89 → 3.1.91
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.
- package/README.md +1 -1
- package/dist/ui-sdk.common.js +74 -2
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +74 -2
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +5 -5
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/index.js +2 -0
- package/src/components/molecules/wt-dummy/__tests__/WtDummy.spec.js +9 -0
- package/src/components/molecules/wt-dummy/wt-dummy.vue +63 -0
- package/src/locale/en/en.js +1 -0
- package/src/locale/ru/ru.js +1 -0
- package/src/locale/ua/ua.js +1 -0
- package/src/mixins/validationMixin/validationMixin.js +1 -0
package/dist/ui-sdk.umd.js
CHANGED
|
@@ -22156,7 +22156,7 @@ function wt_inputvue_type_template_id_726f2324_scoped_true_render(_ctx, _cache,
|
|
|
22156
22156
|
validationText() {
|
|
22157
22157
|
let validationText = '';
|
|
22158
22158
|
if (this.isValidation && this.invalid) {
|
|
22159
|
-
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')}`;
|
|
22159
|
+
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')}`;else if (this.v.regExpValidator?.$invalid) validationText = `${this.$t('validation.regExpValidator')}`;
|
|
22160
22160
|
}
|
|
22161
22161
|
// eslint-disable-next-line no-restricted-syntax
|
|
22162
22162
|
for (const {
|
|
@@ -26081,6 +26081,76 @@ const wt_load_bar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_loa
|
|
|
26081
26081
|
const wt_item_link_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_item_linkvue_type_script_setup_true_lang_js, [['__scopeId',"data-v-7cc26633"]])
|
|
26082
26082
|
|
|
26083
26083
|
/* harmony default export */ var wt_item_link = (wt_item_link_exports_);
|
|
26084
|
+
;// 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/index.js??ruleSet[0].use[0]!./src/components/molecules/wt-dummy/wt-dummy.vue?vue&type=script&setup=true&lang=js
|
|
26085
|
+
|
|
26086
|
+
const wt_dummyvue_type_script_setup_true_lang_js_withScopeId = n => (_pushScopeId("data-v-580049c9"), n = n(), _popScopeId(), n);
|
|
26087
|
+
const wt_dummyvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
26088
|
+
class: "wt-dummy"
|
|
26089
|
+
};
|
|
26090
|
+
const wt_dummyvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
26091
|
+
class: "wt-dummy__img"
|
|
26092
|
+
};
|
|
26093
|
+
const wt_dummyvue_type_script_setup_true_lang_js_hoisted_3 = ["src", "width", "height"];
|
|
26094
|
+
const wt_dummyvue_type_script_setup_true_lang_js_hoisted_4 = {
|
|
26095
|
+
key: 0,
|
|
26096
|
+
class: "wt-dummy__title"
|
|
26097
|
+
};
|
|
26098
|
+
/* harmony default export */ var wt_dummyvue_type_script_setup_true_lang_js = ({
|
|
26099
|
+
__name: 'wt-dummy',
|
|
26100
|
+
props: {
|
|
26101
|
+
src: {
|
|
26102
|
+
type: String
|
|
26103
|
+
},
|
|
26104
|
+
locale: {
|
|
26105
|
+
type: String
|
|
26106
|
+
},
|
|
26107
|
+
showAction: {
|
|
26108
|
+
type: Boolean,
|
|
26109
|
+
default: false
|
|
26110
|
+
},
|
|
26111
|
+
size: {
|
|
26112
|
+
type: [String, Number]
|
|
26113
|
+
}
|
|
26114
|
+
},
|
|
26115
|
+
emits: ['create'],
|
|
26116
|
+
setup(__props, {
|
|
26117
|
+
emit: emits
|
|
26118
|
+
}) {
|
|
26119
|
+
const props = __props;
|
|
26120
|
+
return (_ctx, _cache) => {
|
|
26121
|
+
const _component_wt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("wt-button");
|
|
26122
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", wt_dummyvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", wt_dummyvue_type_script_setup_true_lang_js_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
26123
|
+
src: props.src,
|
|
26124
|
+
width: props.size,
|
|
26125
|
+
height: props.size,
|
|
26126
|
+
alt: "dummy-picture"
|
|
26127
|
+
}, null, 8, wt_dummyvue_type_script_setup_true_lang_js_hoisted_3)]), props.locale ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("h1", wt_dummyvue_type_script_setup_true_lang_js_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(props.locale), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), props.showAction ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_wt_button, {
|
|
26128
|
+
key: 1,
|
|
26129
|
+
onClick: _cache[0] || (_cache[0] = $event => emits('create'))
|
|
26130
|
+
}, {
|
|
26131
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t('reusable.add')), 1)], undefined, true),
|
|
26132
|
+
_: 1
|
|
26133
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
|
|
26134
|
+
};
|
|
26135
|
+
}
|
|
26136
|
+
});
|
|
26137
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-dummy/wt-dummy.vue?vue&type=script&setup=true&lang=js
|
|
26138
|
+
|
|
26139
|
+
;// 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-dummy/wt-dummy.vue?vue&type=style&index=0&id=580049c9&lang=scss&scoped=true
|
|
26140
|
+
// extracted by mini-css-extract-plugin
|
|
26141
|
+
|
|
26142
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-dummy/wt-dummy.vue?vue&type=style&index=0&id=580049c9&lang=scss&scoped=true
|
|
26143
|
+
|
|
26144
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-dummy/wt-dummy.vue
|
|
26145
|
+
|
|
26146
|
+
|
|
26147
|
+
|
|
26148
|
+
;
|
|
26149
|
+
|
|
26150
|
+
|
|
26151
|
+
const wt_dummy_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_dummyvue_type_script_setup_true_lang_js, [['__scopeId',"data-v-580049c9"]])
|
|
26152
|
+
|
|
26153
|
+
/* harmony default export */ var wt_dummy = (wt_dummy_exports_);
|
|
26084
26154
|
;// 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/organisms/wt-app-header/wt-app-header.vue?vue&type=template&id=747a7a52&scoped=true
|
|
26085
26155
|
|
|
26086
26156
|
const wt_app_headervue_type_template_id_747a7a52_scoped_true_withScopeId = n => (_pushScopeId("data-v-747a7a52"), n = n(), _popScopeId(), n);
|
|
@@ -34147,6 +34217,7 @@ const wt_page_header_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_
|
|
|
34147
34217
|
|
|
34148
34218
|
|
|
34149
34219
|
|
|
34220
|
+
|
|
34150
34221
|
|
|
34151
34222
|
|
|
34152
34223
|
const Components = {
|
|
@@ -34202,7 +34273,8 @@ const Components = {
|
|
|
34202
34273
|
WtLoadBar: wt_load_bar,
|
|
34203
34274
|
WtIconAction: wt_icon_action,
|
|
34204
34275
|
WtPageHeader: wt_page_header,
|
|
34205
|
-
WtItemLink: wt_item_link
|
|
34276
|
+
WtItemLink: wt_item_link,
|
|
34277
|
+
WtDummy: wt_dummy
|
|
34206
34278
|
};
|
|
34207
34279
|
/* harmony default export */ var components = (Components);
|
|
34208
34280
|
;// CONCATENATED MODULE: ./src/directives/clickaway/clickaway.js
|