@webitel/ui-sdk 24.10.57 → 24.10.59

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.10.57",
3
+ "version": "24.10.59",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -98,7 +98,6 @@
98
98
  "src/plugins/*",
99
99
  "src/store/*",
100
100
  "src/tests/*",
101
- "src/install.js",
102
101
  "CHANGELOG.md"
103
102
  ],
104
103
  "dependencies": {
@@ -1,5 +1,6 @@
1
1
  const CrmSections = Object.freeze({
2
2
  CONTACTS: 'contacts',
3
+ CASES: 'cases',
3
4
 
4
5
  // CONFIGURATION - LOOKUPS
5
6
  SLAS: 'slas',
@@ -391,23 +391,6 @@ export default {
391
391
  dummy: {
392
392
  text: 'There are no records yet',
393
393
  },
394
- empty: {
395
- filters: {
396
- headline: '',
397
- title: '',
398
- text: 'No results for the filters',
399
- },
400
- error: {
401
- headline: '',
402
- title: '',
403
- text: '',
404
- },
405
- empty: {
406
- headline: '',
407
- title: '',
408
- text: 'No results were found',
409
- },
410
- },
411
394
  agentStatusSelect: {
412
395
  pauseCausePopup: {
413
396
  title: 'Select a pause cause',
@@ -389,23 +389,6 @@ export default {
389
389
  dummy: {
390
390
  text: 'Записи в разделе еще не созданы',
391
391
  },
392
- empty: {
393
- filters: {
394
- headline: '',
395
- title: '',
396
- text: 'Нет результатов по фильтрам',
397
- },
398
- error: {
399
- headline: '',
400
- title: '',
401
- text: '',
402
- },
403
- empty: {
404
- headline: '',
405
- title: '',
406
- text: 'Поиск не дал результата',
407
- },
408
- },
409
392
  agentStatusSelect: {
410
393
  pauseCausePopup: {
411
394
  title: 'Выберите причину паузы',
@@ -389,23 +389,6 @@ export default {
389
389
  dummy: {
390
390
  text: 'Записи у розділі ще не створені',
391
391
  },
392
- empty: {
393
- filters: {
394
- headline: '',
395
- title: '',
396
- text: 'Немає результатів за фільтрами',
397
- },
398
- error: {
399
- headline: '',
400
- title: '',
401
- text: '',
402
- },
403
- empty: {
404
- headline: '',
405
- title: '',
406
- text: 'Пошук не дав результату',
407
- },
408
- },
409
392
  agentStatusSelect: {
410
393
  pauseCausePopup: {
411
394
  title: 'Виберіть причину паузи',
@@ -27,19 +27,19 @@ export const useTableEmpty = ({ dataList, filters, error, isLoading }, overrides
27
27
  },
28
28
  },
29
29
  headline: {
30
- filters: t('webitelUI.empty.filters.headline'),
31
- error: t('webitelUI.empty.error.headline'),
32
- empty: t('webitelUI.empty.empty.headline'),
30
+ filters: t(''),
31
+ error: t(''),
32
+ empty: t(''),
33
33
  },
34
34
  title: {
35
- filters: t('webitelUI.empty.filters.title'),
36
- error: t('webitelUI.empty.error.title'),
37
- empty: t('webitelUI.empty.empty.title'),
35
+ filters: t(''),
36
+ error: t(''),
37
+ empty: t(''),
38
38
  },
39
39
  text: {
40
- filters: t('webitelUI.empty.filters.text'),
41
- error: t('webitelUI.empty.error.text'),
42
- empty: t('webitelUI.empty.empty.text'),
40
+ filters: t('web'),
41
+ error: t(''),
42
+ empty: t(''),
43
43
  },
44
44
  primaryActionText: {
45
45
  filters: t(''),
package/src/install.js DELETED
@@ -1,27 +0,0 @@
1
- import './css/main.scss';
2
- import 'vue-multiselect/dist/vue-multiselect.css';
3
- import generateInstance from './api/axios/generateInstance.js';
4
- import Components from './components/index.js'; // init all components
5
- import Directives from './directives/index.js'; // init all directives
6
- import './css/styleguide/fonts/_fonts.scss';
7
- import './assets/icons/sprite/index.js';
8
-
9
- export default {
10
- install(app, { eventBus, router, globals = {} }) {
11
- Object.keys(Directives).forEach((name) => {
12
- app.directive(name, Directives[name]);
13
- });
14
- Object.keys(Components).forEach((name) => {
15
- app.component(name, Components[name]);
16
- });
17
- // Vue.prototype.$webitelUI = {
18
- // // locale: this.$i18n.locale,
19
- // };
20
- Object.keys(globals).forEach((globalKey) => {
21
- app.provide(globalKey, globals[globalKey]);
22
- });
23
- app.provide('$eventBus', eventBus);
24
- if (router) app.use(router);
25
- },
26
- generateInstance,
27
- };