@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/README.md
CHANGED
package/dist/ui-sdk.common.js
CHANGED
|
@@ -22138,7 +22138,7 @@ function wt_inputvue_type_template_id_726f2324_scoped_true_render(_ctx, _cache,
|
|
|
22138
22138
|
validationText() {
|
|
22139
22139
|
let validationText = '';
|
|
22140
22140
|
if (this.isValidation && this.invalid) {
|
|
22141
|
-
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')}`;
|
|
22141
|
+
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')}`;
|
|
22142
22142
|
}
|
|
22143
22143
|
// eslint-disable-next-line no-restricted-syntax
|
|
22144
22144
|
for (const {
|
|
@@ -26063,6 +26063,76 @@ const wt_load_bar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_loa
|
|
|
26063
26063
|
const wt_item_link_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_item_linkvue_type_script_setup_true_lang_js, [['__scopeId',"data-v-7cc26633"]])
|
|
26064
26064
|
|
|
26065
26065
|
/* harmony default export */ var wt_item_link = (wt_item_link_exports_);
|
|
26066
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
26067
|
+
|
|
26068
|
+
const wt_dummyvue_type_script_setup_true_lang_js_withScopeId = n => (_pushScopeId("data-v-580049c9"), n = n(), _popScopeId(), n);
|
|
26069
|
+
const wt_dummyvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
26070
|
+
class: "wt-dummy"
|
|
26071
|
+
};
|
|
26072
|
+
const wt_dummyvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
26073
|
+
class: "wt-dummy__img"
|
|
26074
|
+
};
|
|
26075
|
+
const wt_dummyvue_type_script_setup_true_lang_js_hoisted_3 = ["src", "width", "height"];
|
|
26076
|
+
const wt_dummyvue_type_script_setup_true_lang_js_hoisted_4 = {
|
|
26077
|
+
key: 0,
|
|
26078
|
+
class: "wt-dummy__title"
|
|
26079
|
+
};
|
|
26080
|
+
/* harmony default export */ var wt_dummyvue_type_script_setup_true_lang_js = ({
|
|
26081
|
+
__name: 'wt-dummy',
|
|
26082
|
+
props: {
|
|
26083
|
+
src: {
|
|
26084
|
+
type: String
|
|
26085
|
+
},
|
|
26086
|
+
locale: {
|
|
26087
|
+
type: String
|
|
26088
|
+
},
|
|
26089
|
+
showAction: {
|
|
26090
|
+
type: Boolean,
|
|
26091
|
+
default: false
|
|
26092
|
+
},
|
|
26093
|
+
size: {
|
|
26094
|
+
type: [String, Number]
|
|
26095
|
+
}
|
|
26096
|
+
},
|
|
26097
|
+
emits: ['create'],
|
|
26098
|
+
setup(__props, {
|
|
26099
|
+
emit: emits
|
|
26100
|
+
}) {
|
|
26101
|
+
const props = __props;
|
|
26102
|
+
return (_ctx, _cache) => {
|
|
26103
|
+
const _component_wt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("wt-button");
|
|
26104
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", wt_dummyvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", wt_dummyvue_type_script_setup_true_lang_js_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("img", {
|
|
26105
|
+
src: props.src,
|
|
26106
|
+
width: props.size,
|
|
26107
|
+
height: props.size,
|
|
26108
|
+
alt: "dummy-picture"
|
|
26109
|
+
}, null, 8, wt_dummyvue_type_script_setup_true_lang_js_hoisted_3)]), props.locale ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("h1", wt_dummyvue_type_script_setup_true_lang_js_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(props.locale), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), props.showAction ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_wt_button, {
|
|
26110
|
+
key: 1,
|
|
26111
|
+
onClick: _cache[0] || (_cache[0] = $event => emits('create'))
|
|
26112
|
+
}, {
|
|
26113
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(_ctx.$t('reusable.add')), 1)], undefined, true),
|
|
26114
|
+
_: 1
|
|
26115
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
26116
|
+
};
|
|
26117
|
+
}
|
|
26118
|
+
});
|
|
26119
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-dummy/wt-dummy.vue?vue&type=script&setup=true&lang=js
|
|
26120
|
+
|
|
26121
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
26122
|
+
// extracted by mini-css-extract-plugin
|
|
26123
|
+
|
|
26124
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-dummy/wt-dummy.vue?vue&type=style&index=0&id=580049c9&lang=scss&scoped=true
|
|
26125
|
+
|
|
26126
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-dummy/wt-dummy.vue
|
|
26127
|
+
|
|
26128
|
+
|
|
26129
|
+
|
|
26130
|
+
;
|
|
26131
|
+
|
|
26132
|
+
|
|
26133
|
+
const wt_dummy_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_dummyvue_type_script_setup_true_lang_js, [['__scopeId',"data-v-580049c9"]])
|
|
26134
|
+
|
|
26135
|
+
/* harmony default export */ var wt_dummy = (wt_dummy_exports_);
|
|
26066
26136
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
26067
26137
|
|
|
26068
26138
|
const wt_app_headervue_type_template_id_747a7a52_scoped_true_withScopeId = n => (_pushScopeId("data-v-747a7a52"), n = n(), _popScopeId(), n);
|
|
@@ -34129,6 +34199,7 @@ const wt_page_header_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_
|
|
|
34129
34199
|
|
|
34130
34200
|
|
|
34131
34201
|
|
|
34202
|
+
|
|
34132
34203
|
|
|
34133
34204
|
|
|
34134
34205
|
const Components = {
|
|
@@ -34184,7 +34255,8 @@ const Components = {
|
|
|
34184
34255
|
WtLoadBar: wt_load_bar,
|
|
34185
34256
|
WtIconAction: wt_icon_action,
|
|
34186
34257
|
WtPageHeader: wt_page_header,
|
|
34187
|
-
WtItemLink: wt_item_link
|
|
34258
|
+
WtItemLink: wt_item_link,
|
|
34259
|
+
WtDummy: wt_dummy
|
|
34188
34260
|
};
|
|
34189
34261
|
/* harmony default export */ var components = (Components);
|
|
34190
34262
|
;// CONCATENATED MODULE: ./src/directives/clickaway/clickaway.js
|