@webitel/ui-sdk 26.8.112 → 26.8.114

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 (68) hide show
  1. package/dist/{caseConverters-6cy_SaV5.js → caseConverters-DGri4uJo.js} +1 -1
  2. package/dist/{clients-Be8f1qoM.js → clients-CWniSi77.js} +255 -163
  3. package/dist/{components-GY1xFZWr.js → components-DJVzkzrr.js} +301 -301
  4. package/dist/{composables-Vg-QfE_2.js → composables-BeyROIj_.js} +2 -2
  5. package/dist/{convertDuration-heRoQzks.js → convertDuration-BOe9PsRT.js} +1 -1
  6. package/dist/{deep-copy-7O5ej7vT.js → deep-copy-BJdHBMNZ.js} +1 -1
  7. package/dist/{dist-DJZOILzq.js → dist-CnyqtIg9.js} +1 -1
  8. package/dist/{dist-DB8lC4KJ.js → dist-EXdgfpvN.js} +44 -44
  9. package/dist/{enums-BDtfwdQu.js → enums-CsINFPBu.js} +133 -11
  10. package/dist/{genClient-5JkKKac8.js → genClient-CvWlQ0TZ.js} +2 -2
  11. package/dist/ui-sdk.js +16 -16
  12. package/dist/ui-sdk.umd.cjs +691 -656
  13. package/dist/{useValidation-B4q8qUvG.js → useValidation-KcXmMBtR.js} +2 -2
  14. package/dist/{useWtTable-CUpN0LZ5.js → useWtTable-AYb1yHre.js} +1 -1
  15. package/dist/{utils-DaacyMAw.js → utils-DHSDTqJG.js} +1 -1
  16. package/dist/vue-i18n-VBiROMZ4.js +3031 -0
  17. package/dist/{vue-router-CobN9tLi.js → vue-router-C9sRzLyg.js} +1 -1
  18. package/dist/{wt-action-bar-DJ_xvqhE.js → wt-action-bar-TwclxZyb.js} +3 -3
  19. package/dist/{wt-badge-C8O4Oarp.js → wt-badge-DbplVXor.js} +1 -1
  20. package/dist/{wt-button-BmBqpEkp.js → wt-button-rUZKbswL.js} +4 -4
  21. package/dist/{wt-chat-emoji-E6MiDOCz.js → wt-chat-emoji-BATwPh2q.js} +4 -4
  22. package/dist/{wt-datepicker-C1kACub3.js → wt-datepicker-C4wrYXt9.js} +11 -11
  23. package/dist/{wt-display-chip-items-Dr6QjwFR.js → wt-display-chip-items-N20vx27z.js} +2 -2
  24. package/dist/{wt-dual-panel-D5TCilWN.js → wt-dual-panel-CjWwG7y6.js} +7 -7
  25. package/dist/{wt-expansion-card-2wdr_Hpi.js → wt-expansion-card-vv5ctpfw.js} +2 -2
  26. package/dist/{wt-expansion-panel-DP8zz2tS.js → wt-expansion-panel-3tx3DGUp.js} +1 -1
  27. package/dist/{wt-galleria-iRpRiDc6.js → wt-galleria-DcZRuekj.js} +2 -2
  28. package/dist/{wt-icon-CZlhT7Yb.js → wt-icon-B4wxzcVG.js} +4 -4
  29. package/dist/{wt-icon-action-BXg3jVf6.js → wt-icon-action-CTPCemTs.js} +2 -2
  30. package/dist/{wt-icon-btn-C8xuTCJR.js → wt-icon-btn-D3lG7Acn.js} +1 -1
  31. package/dist/{wt-notifications-bar-BDOKlHao.js → wt-notifications-bar-BMV-0Vmo.js} +2 -2
  32. package/dist/{wt-player-Dqlccj2F.js → wt-player-DBsbjt_l.js} +5 -5
  33. package/dist/{wt-popover-DuZFw3bg.js → wt-popover-BI6YyXy0.js} +1 -1
  34. package/dist/{wt-screen-recordings-action-biHVl6lR.js → wt-screen-recordings-action-D2PKGnNl.js} +1 -1
  35. package/dist/{wt-search-bar-ByF2Wjsg.js → wt-search-bar-CFANAMNQ.js} +1 -1
  36. package/dist/{wt-selection-popup-Bd4EuLl-.js → wt-selection-popup-Dei_JZah.js} +1 -1
  37. package/dist/{wt-send-message-popup-BL9aJz5t.js → wt-send-message-popup-DSZ7srx4.js} +7 -7
  38. package/dist/{wt-slider-Co6hZQu_.js → wt-slider-x-Tch7RT.js} +1 -1
  39. package/dist/{wt-start-page-Bp7b0ir-.js → wt-start-page-2Bdzg5V5.js} +1 -1
  40. package/dist/{wt-status-select-BOmAd__4.js → wt-status-select-Bgtu5WrX.js} +11 -11
  41. package/dist/{wt-table-RK0pOlzR.js → wt-table-DMEjT0xF.js} +6 -6
  42. package/dist/{wt-table-column-select-BtFhZKPT.js → wt-table-column-select-DzXaRs03.js} +3 -3
  43. package/dist/{wt-timepicker-C4kMPkNd.js → wt-timepicker-B-ZZUyDZ.js} +5 -5
  44. package/dist/{wt-toast-DbYB-u-k.js → wt-toast-pXV44Y3v.js} +10 -10
  45. package/dist/{wt-tree-BH2o2iCt.js → wt-tree-Cu_yRDjp.js} +98 -98
  46. package/dist/{wt-tree-table-CCaiVeY_.js → wt-tree-table-BET1GUgf.js} +2 -2
  47. package/dist/wt-type-extension-value-input-B1-ScgJm.js +14743 -0
  48. package/dist/{wt-vidstack-player-u4R9q51f.js → wt-vidstack-player-C_EdEZ8v.js} +6 -6
  49. package/package.json +1 -1
  50. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +19 -5
  51. package/src/modules/Userinfo/composables/useLookupFieldReadAccess.ts +54 -0
  52. package/src/modules/Userinfo/index.ts +10 -0
  53. package/src/modules/Userinfo/injection/filterReadAccess.ts +21 -0
  54. package/src/modules/Userinfo/mappings/lookupPathToScopeClass.ts +53 -0
  55. package/src/modules/Userinfo/scripts/typeObjectClass.ts +55 -0
  56. package/src/modules/Userinfo/stores/userinfoStore.ts +13 -2
  57. package/types/.tsbuildinfo +1 -1
  58. package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +11 -4
  59. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +1 -1
  60. package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +5 -5
  61. package/types/modules/Userinfo/composables/useLookupFieldReadAccess.d.ts +14 -0
  62. package/types/modules/Userinfo/index.d.ts +2 -0
  63. package/types/modules/Userinfo/injection/filterReadAccess.d.ts +7 -0
  64. package/types/modules/Userinfo/mappings/lookupPathToScopeClass.d.ts +3 -0
  65. package/types/modules/Userinfo/scripts/typeObjectClass.d.ts +2 -0
  66. package/types/modules/Userinfo/stores/userinfoStore.d.ts +25 -15
  67. package/dist/vue-i18n-B88GcHzn.js +0 -2275
  68. package/dist/wt-type-extension-value-input-DaSIbXbu.js +0 -109
@@ -1,109 +0,0 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-GY1xFZWr.js";
2
- import { t as i } from "./clients-Be8f1qoM.js";
3
- import { t as a } from "./enums-BDtfwdQu.js";
4
- import { t as o } from "./vue-i18n-B88GcHzn.js";
5
- import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
6
- //#endregion
7
- //#region src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue
8
- var y = /* @__PURE__ */ d({
9
- __name: "wt-type-extension-value-input",
10
- props: /*@__PURE__*/ f({
11
- field: {},
12
- label: {},
13
- required: { type: Boolean },
14
- v: { type: [
15
- Object,
16
- null,
17
- Boolean
18
- ] }
19
- }, {
20
- modelValue: {},
21
- modelModifiers: {}
22
- }),
23
- emits: ["update:modelValue"],
24
- setup(d) {
25
- let f = v(d, "modelValue"), y = d;
26
- y.v?.$touch?.();
27
- let { t: b } = o(), x = s(() => y.label || b(y.field?.name || "vocabulary.labels")), S = s(() => y.required ?? y.field.required), C = s(() => f.value), w = s(() => ({
28
- label: x.value,
29
- required: S.value,
30
- v: y.v
31
- })), T = s(() => ({
32
- clearable: !0,
33
- dataKey: "id",
34
- searchMethod: O(y.field.lookup)
35
- })), E = s(() => ({ ...T.value })), D = (e) => {
36
- f.value = e;
37
- }, O = ({ path: e = "", display: t = "", primary: n = "" } = {}) => (r) => i.getLookup({
38
- ...r,
39
- path: e,
40
- display: t,
41
- primary: n
42
- }), k = (e) => {
43
- let t = e ?? {};
44
- if (Object.values(t).length === 0) return D(null);
45
- D({
46
- id: t.id,
47
- name: t.name
48
- });
49
- }, A = (e) => {
50
- D(e.map((e) => ({
51
- id: e.id,
52
- name: e.name
53
- })));
54
- };
55
- return (i, o) => {
56
- let s = g("wt-input-text"), f = g("wt-input-number");
57
- return d.field.kind === _(a).Text ? (m(), c(s, p({ key: 0 }, w.value, {
58
- "model-value": C.value,
59
- "onUpdate:modelValue": D
60
- }), null, 16, ["model-value"])) : d.field.kind === _(a).Number ? (m(), c(f, p({ key: 1 }, w.value, {
61
- "model-value": C.value,
62
- "onUpdate:modelValue": D
63
- }), null, 16, ["model-value"])) : d.field.kind === _(a).Boolean ? h(i.$slots, _(a).Boolean, {
64
- key: 2,
65
- defaultProps: { ...w.value }
66
- }, () => [u(_(e), p(w.value, {
67
- "model-value": C.value,
68
- "onUpdate:modelValue": D
69
- }), null, 16, ["model-value"])]) : d.field.kind === _(a).Select ? h(i.$slots, _(a).Select, {
70
- key: 3,
71
- defaultProps: {
72
- ...w.value,
73
- ...T.value,
74
- value: C.value
75
- }
76
- }, () => [u(_(t), p(w.value, {
77
- "model-value": C.value,
78
- "search-method": O(d.field.lookup),
79
- "data-key": "id",
80
- "onUpdate:modelValue": k
81
- }), null, 16, ["model-value", "search-method"])]) : d.field.kind === _(a).Multiselect ? h(i.$slots, _(a).Multiselect, {
82
- key: 4,
83
- defaultProps: {
84
- ...w.value,
85
- ...E.value,
86
- value: C.value
87
- }
88
- }, () => [u(_(r), p({
89
- ...w.value,
90
- ...E.value
91
- }, {
92
- "model-value": C.value,
93
- "onUpdate:modelValue": A
94
- }), null, 16, ["model-value"])]) : d.field.kind === _(a).Calendar ? h(i.$slots, _(a).Calendar, {
95
- key: 5,
96
- defaultProps: {
97
- ...w.value,
98
- value: C.value
99
- }
100
- }, () => [u(_(n), p(w.value, {
101
- "model-value": C.value,
102
- "show-time": "",
103
- "onUpdate:modelValue": D
104
- }), null, 16, ["model-value"])]) : l("", !0);
105
- };
106
- }
107
- });
108
- //#endregion
109
- export { y as default };