@cling-se/widget 0.14.4 → 0.14.5

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 (134) hide show
  1. package/.eslintrc.cjs +4 -4
  2. package/README.md +40 -40
  3. package/dist/AddClientCallout-BMc-v9rJ.js +46 -0
  4. package/dist/AnswerModal-Cu0Ke5pl.js +3874 -0
  5. package/dist/AttachmentItem-Co8pVvtv.js +78 -0
  6. package/dist/BaseDatePicker-P5iq-XAp.js +3183 -0
  7. package/dist/BaseUpload-BDWnWTxr.js +1977 -0
  8. package/dist/BlockMedia-B_UiePCr.js +76 -0
  9. package/dist/CCallout-Bbp9ya9n.js +59 -0
  10. package/dist/CCurrencyDropdown-Cw39vJWw.js +246 -0
  11. package/dist/CDropdownItem-BjYnhZJr.js +538 -0
  12. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +1 -0
  13. package/dist/CFormField-CeJ58aN2.js +241 -0
  14. package/dist/CPhoneFormat-BZnmeEeW.js +62 -0
  15. package/dist/CPriceInput-B07d19qq.js +112 -0
  16. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
  17. package/dist/ClientAutocomplete-9iM1pR9l.js +78 -0
  18. package/dist/ClientModal-fw8f6UvL.js +625 -0
  19. package/dist/ColorPicker-uu6vKe8o.js +2879 -0
  20. package/dist/CompanyModal-5t4yhKL4.js +141 -0
  21. package/dist/ContentWrapper-DwcOQ21l.js +183 -0
  22. package/dist/CoverBlockSettings-cCCXzAZ0.js +275 -0
  23. package/dist/DocAnswer-9lbgqHRX.js +36 -0
  24. package/dist/DocDetails-CoLL_tHs.js +246 -0
  25. package/dist/DocForm-DUjcuHJe.js +7273 -0
  26. package/dist/DocFormSend-LawcXcM2.js +143 -0
  27. package/dist/DocLinks-pJT9HpjR.js +38 -0
  28. package/dist/DocModalBase-xUoskL63.js +28 -0
  29. package/dist/DocPrint-ClEJBiAg.js +240 -0
  30. package/dist/DocReceipt-x_YsXPnG.js +210 -0
  31. package/dist/DocSendReminder-Dbz8CkAz.js +137 -0
  32. package/dist/DocTextEditor-AqBE7jZj.js +17181 -0
  33. package/dist/DocTimeline-hq2asPzr.js +481 -0
  34. package/dist/DocumentClient-TmtHqfiw.js +136 -0
  35. package/dist/DocumentLayout-CRAp8mfk.js +4909 -0
  36. package/dist/DocumentLogotype-emSjQ21f.js +87 -0
  37. package/dist/DocumentVoided-BOjiWBK6.js +25 -0
  38. package/dist/EmbedInput-B3LFGEee.js +113 -0
  39. package/dist/EmbedSettings-BYPJTGQf.js +72 -0
  40. package/dist/ErrorCallout-CwgYHBkg.js +28 -0
  41. package/dist/FilePreviewModal-81sSrDGg.js +81 -0
  42. package/dist/Flag-DGFvUTQZ.js +114 -0
  43. package/dist/HeaderSettings-BGpkzcbj.js +392 -0
  44. package/dist/ImageSelectModal-Cimviyuy.js +84 -0
  45. package/dist/ImageUploadWrapper-qJDHCf8T.js +1604 -0
  46. package/dist/Index-18w_qMQH.js +25 -0
  47. package/dist/Index-9_R8_myc.js +77 -0
  48. package/dist/Index-BKoXW7GK.js +84 -0
  49. package/dist/Index-BL3-tRGt.js +642 -0
  50. package/dist/Index-BNfAA-ZJ.js +154 -0
  51. package/dist/Index-BOxSvAug.js +144 -0
  52. package/dist/Index-BQgW1jlH.js +45 -0
  53. package/dist/Index-BXAqgXVi.js +150 -0
  54. package/dist/Index-BgK_WC0d.js +140 -0
  55. package/dist/Index-BkUzlQaQ.js +107 -0
  56. package/dist/Index-BpyYa9LR.js +171 -0
  57. package/dist/Index-ByzGXUoc.js +292 -0
  58. package/dist/Index-C1lsSfnX.js +52 -0
  59. package/dist/Index-C9sq_RDg.js +223 -0
  60. package/dist/Index-CDEh3GAi.js +26 -0
  61. package/dist/Index-CEG-Hiv6.js +69 -0
  62. package/dist/Index-CMUg61_b.js +33 -0
  63. package/dist/Index-CObGPoQv.js +62 -0
  64. package/dist/Index-CPNUsaOS.js +57 -0
  65. package/dist/Index-CegW1Rim.js +98 -0
  66. package/dist/Index-CoSt-Bws.js +31 -0
  67. package/dist/Index-CpDgldnz.js +70 -0
  68. package/dist/Index-CqImx-rG.js +55 -0
  69. package/dist/Index-CrOD4_xj.js +58 -0
  70. package/dist/Index-DBCNVVm5.js +24 -0
  71. package/dist/Index-DGG1S8uJ.js +559 -0
  72. package/dist/Index-DRWS2z82.js +2402 -0
  73. package/dist/Index-DXRgZZNj.js +61 -0
  74. package/dist/Index-DY5gAUnE.js +754 -0
  75. package/dist/Index-Dr7mVlBb.js +49 -0
  76. package/dist/Index-Dx944wv-.js +21 -0
  77. package/dist/Index-Eq3JlTKK.js +46 -0
  78. package/dist/Index-Sr3emNkE.js +25 -0
  79. package/dist/Index-VshOfaom.js +32 -0
  80. package/dist/InputToggleRow-CQsaayf-.js +57 -0
  81. package/dist/ManualPopover-CFXm5cQy.js +58 -0
  82. package/dist/MediaWrapper-Cn0Yr4ce.js +23 -0
  83. package/dist/NotBindingText-CNiszGqn.js +32 -0
  84. package/dist/PackageGroup-BVys9ouj.js +699 -0
  85. package/dist/PdfTerms-Bbns-jMY.js +36 -0
  86. package/dist/PdfViewer-B1zzZU4Y.js +374 -0
  87. package/dist/PlainHtml-CARRbTxi.js +20 -0
  88. package/dist/PriceHeader-CqeC9Lhb.js +339 -0
  89. package/dist/SearchApi-bB9FLxUq.js +161 -0
  90. package/dist/Setup-p3Du_uf8.js +50 -0
  91. package/dist/SmartList-P5ZfTWBb.js +83 -0
  92. package/dist/TermsSettings-CQ8TGwBV.js +102 -0
  93. package/dist/ThemeColorRow-DMWVlFRU.js +67 -0
  94. package/dist/ToggleBinding-BPaYWgqP.js +38 -0
  95. package/dist/UploadModal-9O4HTVZm.js +95 -0
  96. package/dist/VideoPlayerInput-5KybfY7N.js +93 -0
  97. package/dist/VideoPlayerSettings-xSW8tcTZ.js +61 -0
  98. package/dist/VideoSelectModal-BbaNAxGH.js +100 -0
  99. package/dist/anime.es-BrPTThYb.js +858 -0
  100. package/dist/answerDocumentMixin-S-Bmv15G.js +51 -0
  101. package/dist/color-TdtKxwVa.js +19 -0
  102. package/dist/debounce-B_0g8OVh.js +84 -0
  103. package/dist/dom-CJxkno7i.js +91 -0
  104. package/dist/favicon.ico +0 -0
  105. package/dist/focusDrawerMixin-DhsqWZUo.js +22 -0
  106. package/dist/formComponentsInstall-UG7a9vjZ.js +2499 -0
  107. package/dist/formDrawerState-BMQrWaBt.js +20 -0
  108. package/dist/formValidationMixin-DUu0omWT.js +49 -0
  109. package/dist/i18nMessages-Chz_lxGG.js +17 -0
  110. package/dist/index-B3R_uKML.js +347 -0
  111. package/dist/index-B4aiQXsr.js +166 -0
  112. package/dist/index-C50JSDKO.js +3916 -0
  113. package/dist/index-CJ9AvuZH.js +102 -0
  114. package/dist/index-Czyda2Ej.js +492 -0
  115. package/dist/index-myOYAnwV.js +81 -0
  116. package/dist/index.es.js +35 -0
  117. package/dist/index.umd.js +3148 -0
  118. package/dist/main-B9t0ybqW.js +56739 -0
  119. package/dist/mapFormMixin-ETYhBLl2.js +72 -0
  120. package/dist/omit-DtTfKAed.js +31 -0
  121. package/dist/publicSenderState-DD1lN9CR.js +21 -0
  122. package/dist/splitpanes-BHUVsCZF.js +382 -0
  123. package/dist/style.css +4 -0
  124. package/dist/throttle-qziKkJJX.js +18 -0
  125. package/dist/tinycolor-CMC8Xp7x.js +633 -0
  126. package/dist/tippy.esm-DjbYjfS2.js +1799 -0
  127. package/dist/utils-C5Rg0fQC.js +108 -0
  128. package/dist/vuedraggable.umd-CE3WmaEQ.js +3161 -0
  129. package/dist/vuex.esm-DKGl8mcw.js +467 -0
  130. package/package.json +1 -1
  131. package/tsconfig.json +26 -26
  132. package/tsconfig.node.json +10 -10
  133. package/tsconfig.paths.json +17 -17
  134. package/vite.config.ts +61 -61
@@ -0,0 +1,467 @@
1
+ /*!
2
+ * vuex v3.6.2
3
+ * (c) 2021 Evan You
4
+ * @license MIT
5
+ */
6
+ function L(e) {
7
+ var t = Number(e.version.split(".")[0]);
8
+ if (t >= 2)
9
+ e.mixin({ beforeCreate: i });
10
+ else {
11
+ var r = e.prototype._init;
12
+ e.prototype._init = function(n) {
13
+ n === void 0 && (n = {}), n.init = n.init ? [i].concat(n.init) : i, r.call(this, n);
14
+ };
15
+ }
16
+ function i() {
17
+ var n = this.$options;
18
+ n.store ? this.$store = typeof n.store == "function" ? n.store() : n.store : n.parent && n.parent.$store && (this.$store = n.parent.$store);
19
+ }
20
+ }
21
+ var P = typeof window < "u" ? window : typeof global < "u" ? global : {}, _ = P.__VUE_DEVTOOLS_GLOBAL_HOOK__;
22
+ function H(e) {
23
+ _ && (e._devtoolHook = _, _.emit("vuex:init", e), _.on("vuex:travel-to-state", function(t) {
24
+ e.replaceState(t);
25
+ }), e.subscribe(function(t, r) {
26
+ _.emit("vuex:mutation", t, r);
27
+ }, { prepend: !0 }), e.subscribeAction(function(t, r) {
28
+ _.emit("vuex:action", t, r);
29
+ }, { prepend: !0 }));
30
+ }
31
+ function y(e, t) {
32
+ Object.keys(e).forEach(function(r) {
33
+ return t(e[r], r);
34
+ });
35
+ }
36
+ function G(e) {
37
+ return e !== null && typeof e == "object";
38
+ }
39
+ function V(e) {
40
+ return e && typeof e.then == "function";
41
+ }
42
+ function T(e, t) {
43
+ return function() {
44
+ return e(t);
45
+ };
46
+ }
47
+ var m = function(t, r) {
48
+ this.runtime = r, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = t;
49
+ var i = t.state;
50
+ this.state = (typeof i == "function" ? i() : i) || {};
51
+ }, j = { namespaced: { configurable: !0 } };
52
+ j.namespaced.get = function() {
53
+ return !!this._rawModule.namespaced;
54
+ };
55
+ m.prototype.addChild = function(t, r) {
56
+ this._children[t] = r;
57
+ };
58
+ m.prototype.removeChild = function(t) {
59
+ delete this._children[t];
60
+ };
61
+ m.prototype.getChild = function(t) {
62
+ return this._children[t];
63
+ };
64
+ m.prototype.hasChild = function(t) {
65
+ return t in this._children;
66
+ };
67
+ m.prototype.update = function(t) {
68
+ this._rawModule.namespaced = t.namespaced, t.actions && (this._rawModule.actions = t.actions), t.mutations && (this._rawModule.mutations = t.mutations), t.getters && (this._rawModule.getters = t.getters);
69
+ };
70
+ m.prototype.forEachChild = function(t) {
71
+ y(this._children, t);
72
+ };
73
+ m.prototype.forEachGetter = function(t) {
74
+ this._rawModule.getters && y(this._rawModule.getters, t);
75
+ };
76
+ m.prototype.forEachAction = function(t) {
77
+ this._rawModule.actions && y(this._rawModule.actions, t);
78
+ };
79
+ m.prototype.forEachMutation = function(t) {
80
+ this._rawModule.mutations && y(this._rawModule.mutations, t);
81
+ };
82
+ Object.defineProperties(m.prototype, j);
83
+ var g = function(t) {
84
+ this.register([], t, !1);
85
+ };
86
+ g.prototype.get = function(t) {
87
+ return t.reduce(function(r, i) {
88
+ return r.getChild(i);
89
+ }, this.root);
90
+ };
91
+ g.prototype.getNamespace = function(t) {
92
+ var r = this.root;
93
+ return t.reduce(function(i, n) {
94
+ return r = r.getChild(n), i + (r.namespaced ? n + "/" : "");
95
+ }, "");
96
+ };
97
+ g.prototype.update = function(t) {
98
+ x([], this.root, t);
99
+ };
100
+ g.prototype.register = function(t, r, i) {
101
+ var n = this;
102
+ i === void 0 && (i = !0);
103
+ var o = new m(r, i);
104
+ if (t.length === 0)
105
+ this.root = o;
106
+ else {
107
+ var u = this.get(t.slice(0, -1));
108
+ u.addChild(t[t.length - 1], o);
109
+ }
110
+ r.modules && y(r.modules, function(s, a) {
111
+ n.register(t.concat(a), s, i);
112
+ });
113
+ };
114
+ g.prototype.unregister = function(t) {
115
+ var r = this.get(t.slice(0, -1)), i = t[t.length - 1], n = r.getChild(i);
116
+ n && n.runtime && r.removeChild(i);
117
+ };
118
+ g.prototype.isRegistered = function(t) {
119
+ var r = this.get(t.slice(0, -1)), i = t[t.length - 1];
120
+ return r ? r.hasChild(i) : !1;
121
+ };
122
+ function x(e, t, r) {
123
+ if (t.update(r), r.modules)
124
+ for (var i in r.modules) {
125
+ if (!t.getChild(i))
126
+ return;
127
+ x(
128
+ e.concat(i),
129
+ t.getChild(i),
130
+ r.modules[i]
131
+ );
132
+ }
133
+ }
134
+ var p, v = function(t) {
135
+ var r = this;
136
+ t === void 0 && (t = {}), !p && typeof window < "u" && window.Vue && K(window.Vue);
137
+ var i = t.plugins;
138
+ i === void 0 && (i = []);
139
+ var n = t.strict;
140
+ n === void 0 && (n = !1), this._committing = !1, this._actions = /* @__PURE__ */ Object.create(null), this._actionSubscribers = [], this._mutations = /* @__PURE__ */ Object.create(null), this._wrappedGetters = /* @__PURE__ */ Object.create(null), this._modules = new g(t), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._watcherVM = new p(), this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
141
+ var o = this, u = this, s = u.dispatch, a = u.commit;
142
+ this.dispatch = function(d, h) {
143
+ return s.call(o, d, h);
144
+ }, this.commit = function(d, h, N) {
145
+ return a.call(o, d, h, N);
146
+ }, this.strict = n;
147
+ var l = this._modules.root.state;
148
+ $(this, l, [], this._modules.root), C(this, l), i.forEach(function(f) {
149
+ return f(r);
150
+ });
151
+ var c = t.devtools !== void 0 ? t.devtools : p.config.devtools;
152
+ c && H(this);
153
+ }, w = { state: { configurable: !0 } };
154
+ w.state.get = function() {
155
+ return this._vm._data.$$state;
156
+ };
157
+ w.state.set = function(e) {
158
+ };
159
+ v.prototype.commit = function(t, r, i) {
160
+ var n = this, o = b(t, r, i), u = o.type, s = o.payload, a = { type: u, payload: s }, l = this._mutations[u];
161
+ l && (this._withCommit(function() {
162
+ l.forEach(function(f) {
163
+ f(s);
164
+ });
165
+ }), this._subscribers.slice().forEach(function(c) {
166
+ return c(a, n.state);
167
+ }));
168
+ };
169
+ v.prototype.dispatch = function(t, r) {
170
+ var i = this, n = b(t, r), o = n.type, u = n.payload, s = { type: o, payload: u }, a = this._actions[o];
171
+ if (a) {
172
+ try {
173
+ this._actionSubscribers.slice().filter(function(c) {
174
+ return c.before;
175
+ }).forEach(function(c) {
176
+ return c.before(s, i.state);
177
+ });
178
+ } catch {
179
+ }
180
+ var l = a.length > 1 ? Promise.all(a.map(function(c) {
181
+ return c(u);
182
+ })) : a[0](u);
183
+ return new Promise(function(c, f) {
184
+ l.then(function(d) {
185
+ try {
186
+ i._actionSubscribers.filter(function(h) {
187
+ return h.after;
188
+ }).forEach(function(h) {
189
+ return h.after(s, i.state);
190
+ });
191
+ } catch {
192
+ }
193
+ c(d);
194
+ }, function(d) {
195
+ try {
196
+ i._actionSubscribers.filter(function(h) {
197
+ return h.error;
198
+ }).forEach(function(h) {
199
+ return h.error(s, i.state, d);
200
+ });
201
+ } catch {
202
+ }
203
+ f(d);
204
+ });
205
+ });
206
+ }
207
+ };
208
+ v.prototype.subscribe = function(t, r) {
209
+ return A(t, this._subscribers, r);
210
+ };
211
+ v.prototype.subscribeAction = function(t, r) {
212
+ var i = typeof t == "function" ? { before: t } : t;
213
+ return A(i, this._actionSubscribers, r);
214
+ };
215
+ v.prototype.watch = function(t, r, i) {
216
+ var n = this;
217
+ return this._watcherVM.$watch(function() {
218
+ return t(n.state, n.getters);
219
+ }, r, i);
220
+ };
221
+ v.prototype.replaceState = function(t) {
222
+ var r = this;
223
+ this._withCommit(function() {
224
+ r._vm._data.$$state = t;
225
+ });
226
+ };
227
+ v.prototype.registerModule = function(t, r, i) {
228
+ i === void 0 && (i = {}), typeof t == "string" && (t = [t]), this._modules.register(t, r), $(this, this.state, t, this._modules.get(t), i.preserveState), C(this, this.state);
229
+ };
230
+ v.prototype.unregisterModule = function(t) {
231
+ var r = this;
232
+ typeof t == "string" && (t = [t]), this._modules.unregister(t), this._withCommit(function() {
233
+ var i = M(r.state, t.slice(0, -1));
234
+ p.delete(i, t[t.length - 1]);
235
+ }), k(this);
236
+ };
237
+ v.prototype.hasModule = function(t) {
238
+ return typeof t == "string" && (t = [t]), this._modules.isRegistered(t);
239
+ };
240
+ v.prototype.hotUpdate = function(t) {
241
+ this._modules.update(t), k(this, !0);
242
+ };
243
+ v.prototype._withCommit = function(t) {
244
+ var r = this._committing;
245
+ this._committing = !0, t(), this._committing = r;
246
+ };
247
+ Object.defineProperties(v.prototype, w);
248
+ function A(e, t, r) {
249
+ return t.indexOf(e) < 0 && (r && r.prepend ? t.unshift(e) : t.push(e)), function() {
250
+ var i = t.indexOf(e);
251
+ i > -1 && t.splice(i, 1);
252
+ };
253
+ }
254
+ function k(e, t) {
255
+ e._actions = /* @__PURE__ */ Object.create(null), e._mutations = /* @__PURE__ */ Object.create(null), e._wrappedGetters = /* @__PURE__ */ Object.create(null), e._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
256
+ var r = e.state;
257
+ $(e, r, [], e._modules.root, !0), C(e, r, t);
258
+ }
259
+ function C(e, t, r) {
260
+ var i = e._vm;
261
+ e.getters = {}, e._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
262
+ var n = e._wrappedGetters, o = {};
263
+ y(n, function(s, a) {
264
+ o[a] = T(s, e), Object.defineProperty(e.getters, a, {
265
+ get: function() {
266
+ return e._vm[a];
267
+ },
268
+ enumerable: !0
269
+ // for local getters
270
+ });
271
+ });
272
+ var u = p.config.silent;
273
+ p.config.silent = !0, e._vm = new p({
274
+ data: {
275
+ $$state: t
276
+ },
277
+ computed: o
278
+ }), p.config.silent = u, e.strict && I(e), i && (r && e._withCommit(function() {
279
+ i._data.$$state = null;
280
+ }), p.nextTick(function() {
281
+ return i.$destroy();
282
+ }));
283
+ }
284
+ function $(e, t, r, i, n) {
285
+ var o = !r.length, u = e._modules.getNamespace(r);
286
+ if (i.namespaced && (e._modulesNamespaceMap[u], e._modulesNamespaceMap[u] = i), !o && !n) {
287
+ var s = M(t, r.slice(0, -1)), a = r[r.length - 1];
288
+ e._withCommit(function() {
289
+ p.set(s, a, i.state);
290
+ });
291
+ }
292
+ var l = i.context = R(e, u, r);
293
+ i.forEachMutation(function(c, f) {
294
+ var d = u + f;
295
+ U(e, d, c, l);
296
+ }), i.forEachAction(function(c, f) {
297
+ var d = c.root ? f : u + f, h = c.handler || c;
298
+ z(e, d, h, l);
299
+ }), i.forEachGetter(function(c, f) {
300
+ var d = u + f;
301
+ B(e, d, c, l);
302
+ }), i.forEachChild(function(c, f) {
303
+ $(e, t, r.concat(f), c, n);
304
+ });
305
+ }
306
+ function R(e, t, r) {
307
+ var i = t === "", n = {
308
+ dispatch: i ? e.dispatch : function(o, u, s) {
309
+ var a = b(o, u, s), l = a.payload, c = a.options, f = a.type;
310
+ return (!c || !c.root) && (f = t + f), e.dispatch(f, l);
311
+ },
312
+ commit: i ? e.commit : function(o, u, s) {
313
+ var a = b(o, u, s), l = a.payload, c = a.options, f = a.type;
314
+ (!c || !c.root) && (f = t + f), e.commit(f, l, c);
315
+ }
316
+ };
317
+ return Object.defineProperties(n, {
318
+ getters: {
319
+ get: i ? function() {
320
+ return e.getters;
321
+ } : function() {
322
+ return D(e, t);
323
+ }
324
+ },
325
+ state: {
326
+ get: function() {
327
+ return M(e.state, r);
328
+ }
329
+ }
330
+ }), n;
331
+ }
332
+ function D(e, t) {
333
+ if (!e._makeLocalGettersCache[t]) {
334
+ var r = {}, i = t.length;
335
+ Object.keys(e.getters).forEach(function(n) {
336
+ if (n.slice(0, i) === t) {
337
+ var o = n.slice(i);
338
+ Object.defineProperty(r, o, {
339
+ get: function() {
340
+ return e.getters[n];
341
+ },
342
+ enumerable: !0
343
+ });
344
+ }
345
+ }), e._makeLocalGettersCache[t] = r;
346
+ }
347
+ return e._makeLocalGettersCache[t];
348
+ }
349
+ function U(e, t, r, i) {
350
+ var n = e._mutations[t] || (e._mutations[t] = []);
351
+ n.push(function(u) {
352
+ r.call(e, i.state, u);
353
+ });
354
+ }
355
+ function z(e, t, r, i) {
356
+ var n = e._actions[t] || (e._actions[t] = []);
357
+ n.push(function(u) {
358
+ var s = r.call(e, {
359
+ dispatch: i.dispatch,
360
+ commit: i.commit,
361
+ getters: i.getters,
362
+ state: i.state,
363
+ rootGetters: e.getters,
364
+ rootState: e.state
365
+ }, u);
366
+ return V(s) || (s = Promise.resolve(s)), e._devtoolHook ? s.catch(function(a) {
367
+ throw e._devtoolHook.emit("vuex:error", a), a;
368
+ }) : s;
369
+ });
370
+ }
371
+ function B(e, t, r, i) {
372
+ e._wrappedGetters[t] || (e._wrappedGetters[t] = function(o) {
373
+ return r(
374
+ i.state,
375
+ // local state
376
+ i.getters,
377
+ // local getters
378
+ o.state,
379
+ // root state
380
+ o.getters
381
+ // root getters
382
+ );
383
+ });
384
+ }
385
+ function I(e) {
386
+ e._vm.$watch(function() {
387
+ return this._data.$$state;
388
+ }, function() {
389
+ }, { deep: !0, sync: !0 });
390
+ }
391
+ function M(e, t) {
392
+ return t.reduce(function(r, i) {
393
+ return r[i];
394
+ }, e);
395
+ }
396
+ function b(e, t, r) {
397
+ return G(e) && e.type && (r = t, t = e, e = e.type), { type: e, payload: t, options: r };
398
+ }
399
+ function K(e) {
400
+ p && e === p || (p = e, L(p));
401
+ }
402
+ var F = E(function(e, t) {
403
+ var r = {};
404
+ return O(t).forEach(function(i) {
405
+ var n = i.key, o = i.val;
406
+ r[n] = function() {
407
+ var s = this.$store.state, a = this.$store.getters;
408
+ if (e) {
409
+ var l = S(this.$store, "mapState", e);
410
+ if (!l)
411
+ return;
412
+ s = l.context.state, a = l.context.getters;
413
+ }
414
+ return typeof o == "function" ? o.call(this, s, a) : s[o];
415
+ }, r[n].vuex = !0;
416
+ }), r;
417
+ }), J = E(function(e, t) {
418
+ var r = {};
419
+ return O(t).forEach(function(i) {
420
+ var n = i.key, o = i.val;
421
+ o = e + o, r[n] = function() {
422
+ if (!(e && !S(this.$store, "mapGetters", e)))
423
+ return this.$store.getters[o];
424
+ }, r[n].vuex = !0;
425
+ }), r;
426
+ }), Q = E(function(e, t) {
427
+ var r = {};
428
+ return O(t).forEach(function(i) {
429
+ var n = i.key, o = i.val;
430
+ r[n] = function() {
431
+ for (var s = [], a = arguments.length; a--; )
432
+ s[a] = arguments[a];
433
+ var l = this.$store.dispatch;
434
+ if (e) {
435
+ var c = S(this.$store, "mapActions", e);
436
+ if (!c)
437
+ return;
438
+ l = c.context.dispatch;
439
+ }
440
+ return typeof o == "function" ? o.apply(this, [l].concat(s)) : l.apply(this.$store, [o].concat(s));
441
+ };
442
+ }), r;
443
+ });
444
+ function O(e) {
445
+ return q(e) ? Array.isArray(e) ? e.map(function(t) {
446
+ return { key: t, val: t };
447
+ }) : Object.keys(e).map(function(t) {
448
+ return { key: t, val: e[t] };
449
+ }) : [];
450
+ }
451
+ function q(e) {
452
+ return Array.isArray(e) || G(e);
453
+ }
454
+ function E(e) {
455
+ return function(t, r) {
456
+ return typeof t != "string" ? (r = t, t = "") : t.charAt(t.length - 1) !== "/" && (t += "/"), e(t, r);
457
+ };
458
+ }
459
+ function S(e, t, r) {
460
+ var i = e._modulesNamespaceMap[r];
461
+ return i;
462
+ }
463
+ export {
464
+ Q as a,
465
+ F as b,
466
+ J as m
467
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cling-se/widget",
3
- "version": "0.14.4",
3
+ "version": "0.14.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
package/tsconfig.json CHANGED
@@ -1,26 +1,26 @@
1
- {
2
- "extends": "./tsconfig.paths.json",
3
- "compilerOptions": {
4
- "target": "ES2020",
5
- "useDefineForClassFields": true,
6
- "lib": ["ES2020", "DOM"],
7
- "module": "ES2020",
8
- "skipLibCheck": true,
9
- "allowJs": true,
10
-
11
- // Bundler mode
12
- "moduleResolution": "bundler",
13
- "resolveJsonModule": true,
14
- "isolatedModules": true,
15
- "noEmit": true,
16
-
17
- // Linting
18
- "strict": true,
19
- "noUnusedLocals": true,
20
- "noUnusedParameters": true,
21
- "noFallthroughCasesInSwitch": true
22
- },
23
- "include": ["src/**/*"],
24
- "exclude": ["node_modules", "../node_modules", "./dist/**/*"],
25
- "references": [{ "path": "./tsconfig.node.json" }]
26
- }
1
+ {
2
+ "extends": "./tsconfig.paths.json",
3
+ "compilerOptions": {
4
+ "target": "ES2020",
5
+ "useDefineForClassFields": true,
6
+ "lib": ["ES2020", "DOM"],
7
+ "module": "ES2020",
8
+ "skipLibCheck": true,
9
+ "allowJs": true,
10
+
11
+ // Bundler mode
12
+ "moduleResolution": "bundler",
13
+ "resolveJsonModule": true,
14
+ "isolatedModules": true,
15
+ "noEmit": true,
16
+
17
+ // Linting
18
+ "strict": true,
19
+ "noUnusedLocals": true,
20
+ "noUnusedParameters": true,
21
+ "noFallthroughCasesInSwitch": true
22
+ },
23
+ "include": ["src/**/*"],
24
+ "exclude": ["node_modules", "../node_modules", "./dist/**/*"],
25
+ "references": [{ "path": "./tsconfig.node.json" }]
26
+ }
@@ -1,10 +1,10 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true,
4
- "skipLibCheck": true,
5
- "module": "ESNext",
6
- "moduleResolution": "bundler",
7
- "allowSyntheticDefaultImports": true
8
- },
9
- "include": ["./vite.config.ts"]
10
- }
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "skipLibCheck": true,
5
+ "module": "ESNext",
6
+ "moduleResolution": "bundler",
7
+ "allowSyntheticDefaultImports": true
8
+ },
9
+ "include": ["./vite.config.ts"]
10
+ }
@@ -1,17 +1,17 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": "./src",
4
- "paths": {
5
- "@/*": ["*"],
6
- "@/assets/*": ["assets/*"],
7
- "@/components/*": ["components/*"],
8
- "@/models": ["models/*"],
9
- "@/plugins/*": ["plugins/*"],
10
- "@/router/*": ["router/*"],
11
- "@/store/*": ["store/*"],
12
- "@/ui/*": ["ui/*"],
13
- "@/utils": ["utils/*"],
14
- "@/views/*": ["views/*"]
15
- }
16
- }
17
- }
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": "./src",
4
+ "paths": {
5
+ "@/*": ["*"],
6
+ "@/assets/*": ["assets/*"],
7
+ "@/components/*": ["components/*"],
8
+ "@/models": ["models/*"],
9
+ "@/plugins/*": ["plugins/*"],
10
+ "@/router/*": ["router/*"],
11
+ "@/store/*": ["store/*"],
12
+ "@/ui/*": ["ui/*"],
13
+ "@/utils": ["utils/*"],
14
+ "@/views/*": ["views/*"]
15
+ }
16
+ }
17
+ }