@webitel/ui-sdk 3.1.0-2 → 3.1.0
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/dist/ui-sdk.common.js +1 -106
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.umd.js +4 -109
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +3 -3
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/index.js +0 -2
- package/src/components/organisms/wt-table/__tests__/WtTableDeleteAction.spec.js +9 -0
- package/src/components/organisms/wt-table/__tests__/WtTableEditAction.spec.js +9 -0
- package/src/components/organisms/{wt-icon-action/_internals/wt-delete-icon-action.vue → wt-table/table-cells/wt-table-delete-action.vue} +2 -2
- package/src/components/organisms/{wt-icon-action/_internals/wt-edit-icon-action.vue → wt-table/table-cells/wt-table-edit-action.vue} +2 -2
- package/src/locale/en/en.js +7 -7
- package/src/locale/es/es.js +265 -265
- package/src/locale/ru/ru.js +8 -9
- package/src/locale/ua/ua.js +8 -9
- package/src/modules/QueryFilters/mixins/_urlControllerMixin/_urlControllerMixin.js +2 -2
- package/src/store/BaseStoreModules/ApiStoreModule.js +6 -6
- package/src/store/BaseStoreModules/ObjectStoreModule.js +4 -0
- package/src/store/BaseStoreModules/TableStoreModule.js +3 -3
- package/src/components/organisms/wt-icon-action/__tests__/WtIconAction.spec.js +0 -9
- package/src/components/organisms/wt-icon-action/_internals/__tests__/WtDeleteIconAction.spec.js +0 -9
- package/src/components/organisms/wt-icon-action/_internals/__tests__/WtEditIconAction.spec.js +0 -9
- package/src/components/organisms/wt-icon-action/wt-icon-action.vue +0 -31
package/dist/ui-sdk.umd.js
CHANGED
|
@@ -3405,7 +3405,7 @@ module.exports = function shimNumberIsNaN() {
|
|
|
3405
3405
|
|
|
3406
3406
|
|
|
3407
3407
|
var forEach = __webpack_require__(29);
|
|
3408
|
-
var availableTypedArrays = __webpack_require__(
|
|
3408
|
+
var availableTypedArrays = __webpack_require__(926);
|
|
3409
3409
|
var callBound = __webpack_require__(924);
|
|
3410
3410
|
|
|
3411
3411
|
var $toString = callBound('Object.prototype.toString');
|
|
@@ -5059,7 +5059,7 @@ exports.Z = (sfc, props) => {
|
|
|
5059
5059
|
|
|
5060
5060
|
|
|
5061
5061
|
var forEach = __webpack_require__(29);
|
|
5062
|
-
var availableTypedArrays = __webpack_require__(
|
|
5062
|
+
var availableTypedArrays = __webpack_require__(926);
|
|
5063
5063
|
var callBound = __webpack_require__(924);
|
|
5064
5064
|
|
|
5065
5065
|
var $toString = callBound('Object.prototype.toString');
|
|
@@ -5123,7 +5123,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__203__;
|
|
|
5123
5123
|
|
|
5124
5124
|
/***/ }),
|
|
5125
5125
|
|
|
5126
|
-
/***/
|
|
5126
|
+
/***/ 926:
|
|
5127
5127
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5128
5128
|
|
|
5129
5129
|
"use strict";
|
|
@@ -18370,109 +18370,6 @@ var deep_copy_default = /*#__PURE__*/__webpack_require__.n(deep_copy);
|
|
|
18370
18370
|
const wt_table_column_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_table_column_selectvue_type_script_lang_js, [['render',wt_table_column_selectvue_type_template_id_46edd7da_scoped_true_render],['__scopeId',"data-v-46edd7da"]])
|
|
18371
18371
|
|
|
18372
18372
|
/* harmony default export */ var wt_table_column_select = (wt_table_column_select_exports_);
|
|
18373
|
-
;// 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-icon-action/_internals/wt-delete-icon-action.vue?vue&type=template&id=47504e35
|
|
18374
|
-
|
|
18375
|
-
function wt_delete_icon_actionvue_type_template_id_47504e35_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18376
|
-
const _component_wt_icon_btn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("wt-icon-btn");
|
|
18377
|
-
const _component_wt_tooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("wt-tooltip");
|
|
18378
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_wt_tooltip, null, {
|
|
18379
|
-
activator: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_wt_icon_btn, {
|
|
18380
|
-
icon: "bucket",
|
|
18381
|
-
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click'))
|
|
18382
|
-
})]),
|
|
18383
|
-
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('webitelUI.iconAction.deleteActionHint')), 1)], undefined, true),
|
|
18384
|
-
_: 1
|
|
18385
|
-
});
|
|
18386
|
-
}
|
|
18387
|
-
;// CONCATENATED MODULE: ./src/components/organisms/wt-icon-action/_internals/wt-delete-icon-action.vue?vue&type=template&id=47504e35
|
|
18388
|
-
|
|
18389
|
-
;// 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/organisms/wt-icon-action/_internals/wt-delete-icon-action.vue?vue&type=script&lang=js
|
|
18390
|
-
/* harmony default export */ var wt_delete_icon_actionvue_type_script_lang_js = ({
|
|
18391
|
-
name: 'wt-delete-icon-action'
|
|
18392
|
-
});
|
|
18393
|
-
;// CONCATENATED MODULE: ./src/components/organisms/wt-icon-action/_internals/wt-delete-icon-action.vue?vue&type=script&lang=js
|
|
18394
|
-
|
|
18395
|
-
;// CONCATENATED MODULE: ./src/components/organisms/wt-icon-action/_internals/wt-delete-icon-action.vue
|
|
18396
|
-
|
|
18397
|
-
|
|
18398
|
-
|
|
18399
|
-
|
|
18400
|
-
;
|
|
18401
|
-
const wt_delete_icon_action_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_delete_icon_actionvue_type_script_lang_js, [['render',wt_delete_icon_actionvue_type_template_id_47504e35_render]])
|
|
18402
|
-
|
|
18403
|
-
/* harmony default export */ var wt_delete_icon_action = (wt_delete_icon_action_exports_);
|
|
18404
|
-
;// 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-icon-action/_internals/wt-edit-icon-action.vue?vue&type=template&id=7ecf611c
|
|
18405
|
-
|
|
18406
|
-
function wt_edit_icon_actionvue_type_template_id_7ecf611c_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18407
|
-
const _component_wt_icon_btn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("wt-icon-btn");
|
|
18408
|
-
const _component_wt_tooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("wt-tooltip");
|
|
18409
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_wt_tooltip, null, {
|
|
18410
|
-
activator: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_wt_icon_btn, {
|
|
18411
|
-
class: "table-action",
|
|
18412
|
-
icon: "edit",
|
|
18413
|
-
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click'))
|
|
18414
|
-
})]),
|
|
18415
|
-
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('webitelUI.iconAction.editActionHint')), 1)], undefined, true),
|
|
18416
|
-
_: 1
|
|
18417
|
-
});
|
|
18418
|
-
}
|
|
18419
|
-
;// CONCATENATED MODULE: ./src/components/organisms/wt-icon-action/_internals/wt-edit-icon-action.vue?vue&type=template&id=7ecf611c
|
|
18420
|
-
|
|
18421
|
-
;// 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/organisms/wt-icon-action/_internals/wt-edit-icon-action.vue?vue&type=script&lang=js
|
|
18422
|
-
/* harmony default export */ var wt_edit_icon_actionvue_type_script_lang_js = ({
|
|
18423
|
-
name: 'wt-edit-icon-action'
|
|
18424
|
-
});
|
|
18425
|
-
;// CONCATENATED MODULE: ./src/components/organisms/wt-icon-action/_internals/wt-edit-icon-action.vue?vue&type=script&lang=js
|
|
18426
|
-
|
|
18427
|
-
;// CONCATENATED MODULE: ./src/components/organisms/wt-icon-action/_internals/wt-edit-icon-action.vue
|
|
18428
|
-
|
|
18429
|
-
|
|
18430
|
-
|
|
18431
|
-
|
|
18432
|
-
;
|
|
18433
|
-
const wt_edit_icon_action_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(wt_edit_icon_actionvue_type_script_lang_js, [['render',wt_edit_icon_actionvue_type_template_id_7ecf611c_render]])
|
|
18434
|
-
|
|
18435
|
-
/* harmony default export */ var wt_edit_icon_action = (wt_edit_icon_action_exports_);
|
|
18436
|
-
;// 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/organisms/wt-icon-action/wt-icon-action.vue?vue&type=script&setup=true&lang=js
|
|
18437
|
-
|
|
18438
|
-
|
|
18439
|
-
|
|
18440
|
-
|
|
18441
|
-
/* harmony default export */ var wt_icon_actionvue_type_script_setup_true_lang_js = ({
|
|
18442
|
-
__name: 'wt-icon-action',
|
|
18443
|
-
props: {
|
|
18444
|
-
action: {
|
|
18445
|
-
type: String,
|
|
18446
|
-
required: true,
|
|
18447
|
-
options: ['delete', 'edit']
|
|
18448
|
-
}
|
|
18449
|
-
},
|
|
18450
|
-
setup(__props) {
|
|
18451
|
-
const props = __props;
|
|
18452
|
-
const actionComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
18453
|
-
switch (props.action) {
|
|
18454
|
-
case 'edit':
|
|
18455
|
-
return wt_edit_icon_action;
|
|
18456
|
-
case 'delete':
|
|
18457
|
-
return wt_delete_icon_action;
|
|
18458
|
-
default:
|
|
18459
|
-
return wt_edit_icon_action;
|
|
18460
|
-
}
|
|
18461
|
-
});
|
|
18462
|
-
return (_ctx, _cache) => {
|
|
18463
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveDynamicComponent)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(actionComponent)));
|
|
18464
|
-
};
|
|
18465
|
-
}
|
|
18466
|
-
});
|
|
18467
|
-
;// CONCATENATED MODULE: ./src/components/organisms/wt-icon-action/wt-icon-action.vue?vue&type=script&setup=true&lang=js
|
|
18468
|
-
|
|
18469
|
-
;// CONCATENATED MODULE: ./src/components/organisms/wt-icon-action/wt-icon-action.vue
|
|
18470
|
-
|
|
18471
|
-
|
|
18472
|
-
|
|
18473
|
-
const wt_icon_action_exports_ = wt_icon_actionvue_type_script_setup_true_lang_js;
|
|
18474
|
-
|
|
18475
|
-
/* harmony default export */ var wt_icon_action = (wt_icon_action_exports_);
|
|
18476
18373
|
;// CONCATENATED MODULE: ./src/components/index.js
|
|
18477
18374
|
|
|
18478
18375
|
|
|
@@ -18524,7 +18421,6 @@ const wt_icon_action_exports_ = wt_icon_actionvue_type_script_setup_true_lang_js
|
|
|
18524
18421
|
|
|
18525
18422
|
|
|
18526
18423
|
|
|
18527
|
-
|
|
18528
18424
|
|
|
18529
18425
|
|
|
18530
18426
|
const Components = {
|
|
@@ -18578,8 +18474,7 @@ const Components = {
|
|
|
18578
18474
|
WtButtonSelect: wt_button_select,
|
|
18579
18475
|
WtContextMenu: wt_context_menu,
|
|
18580
18476
|
WtCopyAction: wt_copy_action,
|
|
18581
|
-
WtLoadBar: wt_load_bar
|
|
18582
|
-
WtIconAction: wt_icon_action
|
|
18477
|
+
WtLoadBar: wt_load_bar
|
|
18583
18478
|
};
|
|
18584
18479
|
/* harmony default export */ var components = (Components);
|
|
18585
18480
|
;// CONCATENATED MODULE: ./src/directives/clickaway/clickaway.js
|