@webitel/ui-sdk 26.2.111 → 26.2.113

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.
Files changed (60) hide show
  1. package/dist/{index-BnbykfBX.js → index-3dWNCl4e.js} +1 -1
  2. package/dist/{index-C4i9dDex.js → index-BigvF9uT.js} +1 -1
  3. package/dist/{install-BbD3UZOM.js → install-WElrGyXG.js} +3029 -3014
  4. package/dist/{isObject-D6oLeanu.js → isObject-CMB2kMO2.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +1646 -1639
  8. package/dist/{vidstack-Bq6c3Bam-BtLWzZ06.js → vidstack-Bq6c3Bam-Bugju7bQ.js} +2 -2
  9. package/dist/{vidstack-D2pY00kU-DMzoDFFo.js → vidstack-D2pY00kU-DQTj_NFe.js} +2 -2
  10. package/dist/{vidstack-DDXt6fpN-Bvx03vSv.js → vidstack-DDXt6fpN-Db5m_35k.js} +1 -1
  11. package/dist/{vidstack-D_-9AA6_-C4A-rsuO.js → vidstack-D_-9AA6_-B6qsyJor.js} +1 -1
  12. package/dist/{vidstack-DqAw8m9J-C5MG19NH.js → vidstack-DqAw8m9J-C_FaESV2.js} +1 -1
  13. package/dist/{vidstack-audio-Cf-juyzz.js → vidstack-audio-C_4jAdZN.js} +2 -2
  14. package/dist/{vidstack-dash-BPo270Fm.js → vidstack-dash-rflx8ZpW.js} +3 -3
  15. package/dist/{vidstack-google-cast-BsiefLPA.js → vidstack-google-cast-CCYzUtbZ.js} +3 -3
  16. package/dist/{vidstack-hls-DIuTAETy.js → vidstack-hls-D2MM01nC.js} +3 -3
  17. package/dist/{vidstack-video-U7hJsPdf.js → vidstack-video-DXm1kFwt.js} +2 -2
  18. package/dist/{vidstack-vimeo-BBBFv4ma.js → vidstack-vimeo-BqAXVToL.js} +3 -3
  19. package/dist/{vidstack-youtube-B7tDy_C1.js → vidstack-youtube-B9WwNdQK.js} +2 -2
  20. package/dist/{wt-action-bar-B7QW1n9H.js → wt-action-bar-2RwJQm9r.js} +1 -1
  21. package/dist/{wt-button-select-C-jvE_kI.js → wt-button-select-CU0j0oII.js} +1 -1
  22. package/dist/{wt-chat-emoji-BAW0V3cR.js → wt-chat-emoji-qkmzm33N.js} +2 -2
  23. package/dist/{wt-confirm-dialog-DDHglqik.js → wt-confirm-dialog-C6LYWXP-.js} +1 -1
  24. package/dist/{wt-context-menu-CLyWvpfs.js → wt-context-menu-CtEzGzyS.js} +1 -1
  25. package/dist/{wt-copy-action-Cbntx7N7.js → wt-copy-action-BPVtUDTM.js} +1 -1
  26. package/dist/{wt-datepicker-CwIfiilR.js → wt-datepicker-BlGhcr5_.js} +1 -1
  27. package/dist/{wt-display-chip-items-C4aBHTAZ.js → wt-display-chip-items-Dvj8amOI.js} +1 -1
  28. package/dist/{wt-dual-panel-Cn_x8kY6.js → wt-dual-panel-CLjIY2HU.js} +1 -1
  29. package/dist/{wt-dummy-Dvv-gXhB.js → wt-dummy-uQtM_rFO.js} +1 -1
  30. package/dist/{wt-error-page-B6567HNl.js → wt-error-page-BGP4zHst.js} +1 -1
  31. package/dist/{wt-expansion-card-DHKMLUyj.js → wt-expansion-card-CIfTuzYA.js} +1 -1
  32. package/dist/{wt-expansion-panel-yQmFyovZ.js → wt-expansion-panel-BBZ0QD9o.js} +1 -1
  33. package/dist/{wt-filters-panel-wrapper-B3pi9a2m.js → wt-filters-panel-wrapper-CDqr352l.js} +1 -1
  34. package/dist/{wt-galleria-DetKoh1W.js → wt-galleria-BRfym60p.js} +1 -1
  35. package/dist/{wt-navigation-menu-DerCB1JU.js → wt-navigation-menu-DwRb5f4r.js} +1 -1
  36. package/dist/{wt-notifications-bar-C7W_ryZD.js → wt-notifications-bar-EkB6frIm.js} +2 -2
  37. package/dist/{wt-page-header-DVxiKjry.js → wt-page-header-C9AKs12m.js} +1 -1
  38. package/dist/{wt-pagination-4q_wT2pw.js → wt-pagination-BtMVKc_c.js} +1 -1
  39. package/dist/{wt-player-xmfWQ7m1.js → wt-player-Cclr--nQ.js} +1 -1
  40. package/dist/{wt-search-bar-DYBt34aT.js → wt-search-bar-Au9ztxeG.js} +1 -1
  41. package/dist/{wt-selection-popup-BO9aGiA6.js → wt-selection-popup-CVPDmq6s.js} +1 -1
  42. package/dist/{wt-start-page-BzKks3wJ.js → wt-start-page-Dk34GrRQ.js} +1 -1
  43. package/dist/{wt-status-select-DO6y4CnC.js → wt-status-select-C2a5Y_EQ.js} +1 -1
  44. package/dist/{wt-stepper-CM1-8kXB.js → wt-stepper-BP-ppz5h.js} +1 -1
  45. package/dist/{wt-table-Dq8pmowd.js → wt-table-BBYssqK0.js} +1 -1
  46. package/dist/{wt-table-actions-Bga4fmrX.js → wt-table-actions-i5UkDCAI.js} +1 -1
  47. package/dist/{wt-table-column-select-CEXylH3U.js → wt-table-column-select-UugVH2vQ.js} +2 -2
  48. package/dist/{wt-tabs-CY3PzmaV.js → wt-tabs-BOOsWIw3.js} +1 -1
  49. package/dist/{wt-tags-input-BV7ll41e.js → wt-tags-input-Bo4bGfUu.js} +2 -2
  50. package/dist/{wt-timepicker-BXXEMQPt.js → wt-timepicker-FcBJ7vOD.js} +1 -1
  51. package/dist/{wt-tree-iAP9726y.js → wt-tree-BxZxY9Qv.js} +2 -2
  52. package/dist/{wt-tree-table-BGeOCv5t.js → wt-tree-table-DVzLttvQ.js} +1 -1
  53. package/dist/{wt-type-extension-value-input-CI8Ecc92.js → wt-type-extension-value-input-3XWUF4aQ.js} +34001 -33958
  54. package/dist/{wt-vidstack-player-DY55ss_e.js → wt-vidstack-player-DZJeRrHv.js} +9 -9
  55. package/package.json +1 -1
  56. package/src/assets/icons/sprite/import-csv.svg +7 -0
  57. package/src/assets/icons/sprite/index.ts +2 -0
  58. package/src/components/on-demand/wt-upload-file-icon-btn/wt-upload-file-icon-btn.vue +2 -2
  59. package/src/modules/AgentPdfs/components/agent-pdfs-tab.vue +10 -12
  60. package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +5 -9
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as qe, createElementBlock as Ie, openBlock as gt, createVNode as ie, useTemplateRef as ha, inject as nn, onMounted as ca, onBeforeUnmount as ua, normalizeClass as Xs, unref as Js, createElementVNode as yt, createBlock as is, createCommentVNode as ve, toDisplayString as da, renderSlot as os, ref as Ci, provide as pa, computed as Pi, withCtx as xi } from "vue";
2
- import { R as fa, S as ma, T as ga, U as ya, P as Ce, _ as Oe, V as ba, C as at } from "./install-BbD3UZOM.js";
2
+ import { R as fa, S as ma, T as ga, U as ya, P as Ce, _ as Oe, V as ba, C as at } from "./install-WElrGyXG.js";
3
3
  const dt = /* @__PURE__ */ Symbol(0);
4
4
  let ls = !1, Fs = !1, ot = null, ee = null, et = null, X = 0, te = [], Zs = {};
5
5
  const $a = () => {
@@ -3263,7 +3263,7 @@ class To {
3263
3263
  return "audio";
3264
3264
  }
3265
3265
  async load(t) {
3266
- return new (await import("./vidstack-audio-Cf-juyzz.js")).AudioProvider(this.target, t);
3266
+ return new (await import("./vidstack-audio-C_4jAdZN.js")).AudioProvider(this.target, t);
3267
3267
  }
3268
3268
  }
3269
3269
  class di {
@@ -3276,7 +3276,7 @@ class di {
3276
3276
  return "video";
3277
3277
  }
3278
3278
  async load(t) {
3279
- return new (await import("./vidstack-video-U7hJsPdf.js")).VideoProvider(this.target, t);
3279
+ return new (await import("./vidstack-video-DXm1kFwt.js")).VideoProvider(this.target, t);
3280
3280
  }
3281
3281
  }
3282
3282
  class pi extends di {
@@ -3286,7 +3286,7 @@ class pi extends di {
3286
3286
  return pi.supported && De(t);
3287
3287
  }
3288
3288
  async load(t) {
3289
- return new (await import("./vidstack-hls-DIuTAETy.js")).HLSProvider(this.target, t);
3289
+ return new (await import("./vidstack-hls-D2MM01nC.js")).HLSProvider(this.target, t);
3290
3290
  }
3291
3291
  }
3292
3292
  class fi extends di {
@@ -3296,7 +3296,7 @@ class fi extends di {
3296
3296
  return fi.supported && li(t);
3297
3297
  }
3298
3298
  async load(t) {
3299
- return new (await import("./vidstack-dash-BPo270Fm.js")).DASHProvider(this.target, t);
3299
+ return new (await import("./vidstack-dash-rflx8ZpW.js")).DASHProvider(this.target, t);
3300
3300
  }
3301
3301
  }
3302
3302
  class So {
@@ -3318,7 +3318,7 @@ class So {
3318
3318
  return "video";
3319
3319
  }
3320
3320
  async load(t) {
3321
- return new (await import("./vidstack-vimeo-BBBFv4ma.js")).VimeoProvider(this.target, t);
3321
+ return new (await import("./vidstack-vimeo-BqAXVToL.js")).VimeoProvider(this.target, t);
3322
3322
  }
3323
3323
  async loadPoster(t, e, s) {
3324
3324
  const { resolveVimeoVideoId: n, getVimeoVideoInfo: a } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
@@ -3350,7 +3350,7 @@ class ko {
3350
3350
  return "video";
3351
3351
  }
3352
3352
  async load(t) {
3353
- return new (await import("./vidstack-youtube-B7tDy_C1.js")).YouTubeProvider(this.target, t);
3353
+ return new (await import("./vidstack-youtube-B9WwNdQK.js")).YouTubeProvider(this.target, t);
3354
3354
  }
3355
3355
  async loadPoster(t, e, s) {
3356
3356
  const { findYouTubePoster: n, resolveYouTubeVideoId: a } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = v(t.src) && a(t.src);
@@ -3818,7 +3818,7 @@ class Ao extends Qt {
3818
3818
  throw n.code = "CAST_NOT_AVAILABLE", n;
3819
3819
  }
3820
3820
  if (_e("https://www.gstatic.com"), !this.#$) {
3821
- const n = await import("./vidstack-D2pY00kU-DMzoDFFo.js").then((a) => a.v);
3821
+ const n = await import("./vidstack-D2pY00kU-DQTj_NFe.js").then((a) => a.v);
3822
3822
  this.#$ = new n.GoogleCastLoader();
3823
3823
  }
3824
3824
  await this.#$.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
@@ -5511,7 +5511,7 @@ class Bo extends $(HTMLElement, Hn) {
5511
5511
  if (this.#e?.classList.contains("vds-google-cast"))
5512
5512
  return this.#e;
5513
5513
  const t = document.createElement("div");
5514
- return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-C4A-rsuO.js").then(({ insertContent: e }) => {
5514
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-B6qsyJor.js").then(({ insertContent: e }) => {
5515
5515
  e(t, this.#t.$state);
5516
5516
  }), t;
5517
5517
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.2.111",
3
+ "version": "26.2.113",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
@@ -0,0 +1,7 @@
1
+ <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20.9999 3C10.5 3 12 13 11.9999 17M11.9999 17C11.9896 15.0001 14 12.0001 16 12.0001M11.9999 17C11.9896 15.0001 10 12.0001 8 12.0001"
3
+ stroke="#454E68" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd"
5
+ d="M3 17C3.55228 17 4 17.4477 4 18C4 18.34 4.11022 18.8722 4.41153 19.2907C4.67614 19.6582 5.12592 20 6 20C6.08633 20 6.1701 20.0109 6.25 20.0315C6.32991 20.0109 6.41367 20 6.5 20H17.5C17.5863 20 17.6701 20.0109 17.75 20.0315C17.8299 20.0109 17.9137 20 18 20C18.8741 20 19.3239 19.6582 19.5885 19.2907C19.8898 18.8722 20 18.34 20 18C20 17.4477 20.4477 17 21 17C21.5523 17 22 17.4477 22 18C22 18.66 21.8102 19.6278 21.2115 20.4593C20.5761 21.3418 19.5259 22 18 22C17.9137 22 17.8299 21.9891 17.75 21.9685C17.6701 21.9891 17.5863 22 17.5 22H6.5C6.41367 22 6.32991 21.9891 6.25 21.9685C6.1701 21.9891 6.08633 22 6 22C4.47408 22 3.42386 21.3418 2.78847 20.4593C2.18978 19.6278 2 18.66 2 18C2 17.4477 2.44772 17 3 17Z"
6
+ fill="#454E68"/>
7
+ </svg>
@@ -102,6 +102,7 @@ import history from './history.svg?raw';
102
102
  import hold from './hold.svg?raw';
103
103
  import idle from './idle.svg?raw';
104
104
  import impacted from './impacted.svg?raw';
105
+ import importCsv from './import-csv.svg?raw';
105
106
  import instagram from './instagram.svg?raw';
106
107
  import job from './job.svg?raw';
107
108
  import jobAccept from './job--accept.svg?raw';
@@ -340,6 +341,7 @@ export default objCamelToKebab({
340
341
  history,
341
342
  hold,
342
343
  impacted,
344
+ 'import-csv': importCsv,
343
345
  like,
344
346
  link,
345
347
  lock,
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div class="wt-upload-file-icon-btn">
3
3
  <wt-icon-btn
4
- v-tooltip="t('iconHints.upload')"
5
- icon="upload"
4
+ v-tooltip="t('reusable.upload')"
5
+ icon="import-csv"
6
6
  @click="triggerFileInput"
7
7
  />
8
8
 
@@ -23,7 +23,7 @@
23
23
  :headline="textEmpty"
24
24
  />
25
25
 
26
- <div v-if="dataList?.length" class="table-loading-wrapper">
26
+ <div v-if="dataList?.length" class="table-section__table-wrapper">
27
27
  <wt-table
28
28
  v-if="dataList?.length"
29
29
  :data="dataList"
@@ -69,7 +69,7 @@
69
69
  />
70
70
  <wt-icon-action
71
71
  action="delete"
72
- :disabled="isDeleteDisabled(item)"
72
+ :disabled="isDeleteDisabled(item) || !hasDeleteAccess"
73
73
  @click="
74
74
  askDeleteConfirmation({
75
75
  deleted: [item],
@@ -113,26 +113,20 @@ import { storeToRefs } from 'pinia';
113
113
  import { computed } from 'vue';
114
114
  import { DatetimeFormat } from 'vue-i18n';
115
115
 
116
+ import { CrudAction } from '../../../enums';
116
117
  import { FormatDateMode } from '../../../enums/FormatDateMode/FormatDateMode';
117
118
  import { formatDate } from '../../../utils/formatDate';
118
119
  import PdfStatus from './pdf-status.vue';
119
120
  import PdfStatusPreview from './pdf-status-preview.vue';
120
121
 
121
- interface Props {
122
+ const props = defineProps<{
122
123
  store?: any;
123
124
  entityIdKey?: string;
124
125
  entityIdValue?: string | number;
125
126
  isCreatedAtFilter: boolean;
126
127
  onDeleteItem?: (item: WebitelMediaExporterExportRecord) => Promise<void>;
127
- }
128
-
129
- const props = withDefaults(defineProps<Props>(), {
130
- store: undefined,
131
- entityIdKey: undefined,
132
- entityIdValue: undefined,
133
- isCreatedAtFilter: false,
134
- onDeleteItem: undefined,
135
- });
128
+ access?: Partial<Record<CrudAction, boolean>>;
129
+ }>();
136
130
 
137
131
  const tableStore = props.store;
138
132
 
@@ -206,6 +200,10 @@ const isDeleteDisabled = (item: WebitelMediaExporterExportRecord) => {
206
200
  );
207
201
  };
208
202
 
203
+ const hasDeleteAccess = computed(() => {
204
+ return props.access?.delete ?? true;
205
+ });
206
+
209
207
  const {
210
208
  isVisible: isDeleteConfirmationPopup,
211
209
  deleteCount,
@@ -1,11 +1,13 @@
1
1
  import { type WebitelMediaExporterExportRecord } from '@webitel/api-services/gen/models';
2
- interface Props {
2
+ import { CrudAction } from '../../../enums';
3
+ type __VLS_Props = {
3
4
  store?: any;
4
5
  entityIdKey?: string;
5
6
  entityIdValue?: string | number;
6
7
  isCreatedAtFilter: boolean;
7
8
  onDeleteItem?: (item: WebitelMediaExporterExportRecord) => Promise<void>;
8
- }
9
+ access?: Partial<Record<CrudAction, boolean>>;
10
+ };
9
11
  declare var __VLS_1: {
10
12
  selected: any;
11
13
  loadDataList: any;
@@ -15,13 +17,7 @@ declare var __VLS_1: {
15
17
  type __VLS_Slots = {} & {
16
18
  header?: (props: typeof __VLS_1) => any;
17
19
  };
18
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
19
- store: any;
20
- entityIdKey: string;
21
- entityIdValue: string | number;
22
- isCreatedAtFilter: boolean;
23
- onDeleteItem: (item: WebitelMediaExporterExportRecord) => Promise<void>;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
22
  declare const _default: typeof __VLS_export;
27
23
  export default _default;