@abyss-project/commons-front-core 11.1.1 → 12.0.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.
Files changed (80) hide show
  1. package/README.md +2 -2
  2. package/catalog/pages/LineChart.tsx +19 -2
  3. package/catalog/pages/StatTile.tsx +16 -0
  4. package/dist/{AbyssCookieConsentProvider-PchfQjs2.js → AbyssCookieConsentProvider-DrciI_3p.js} +1400 -1798
  5. package/dist/{CookieConsentSettings.component-D8G0H6Wl.js → CookieConsentSettings.component-BZ2JenJh.js} +1 -1
  6. package/dist/{Tabs-CZQ1JYlW.js → Tabs-CwVEV4SO.js} +162 -142
  7. package/dist/auth/client/abyss-login.d.ts +2 -2
  8. package/dist/auth/components/AuthHeroLayout/AuthHeroLayout.component.d.ts +2 -2
  9. package/dist/components/data/LineChart/LineChart.d.ts +10 -2
  10. package/dist/components/data/StatTile/StatTile.d.ts +5 -3
  11. package/dist/components/editors/PdfEditor/zoom-scale.d.ts +14 -0
  12. package/dist/components/inputs/DateField/DateField.d.ts +7 -1
  13. package/dist/cookie-consent.js +2 -2
  14. package/dist/{design-theme-DPp0aQVa.js → design-theme-DonQoVoX.js} +5251 -5230
  15. package/dist/{sortable.esm-BYVnqZQ-.js → editors-DkiY6BfJ.js} +31061 -26291
  16. package/dist/editors.js +4 -5272
  17. package/dist/hooks/use-rich-intl.hook.d.ts +36 -414
  18. package/dist/{index-z9-0V3EC.js → index-2l12Iu8k.js} +2 -2
  19. package/dist/{index-B2ZxOr31.js → index-B52OKB4p.js} +3 -3
  20. package/dist/{index-C7XhFFZA.js → index-BacMl_If.js} +2 -2
  21. package/dist/{index-CBIn4IuA.js → index-Bh7buNbj.js} +2 -2
  22. package/dist/{index-Bv63SeVQ.js → index-BoCgQirm.js} +2 -2
  23. package/dist/{index-DNhK2v38.js → index-CXGI5k75.js} +4 -4
  24. package/dist/{index-DzXd6CTA.js → index-Cg6Mv7QT.js} +2 -2
  25. package/dist/{index-DWi7OlB1.js → index-CgIjHnfl.js} +2 -2
  26. package/dist/{index-ZXDv7i0D.js → index-Cl1BSx17.js} +2 -2
  27. package/dist/{index-Bo9YtyKq.js → index-CtMx42h6.js} +2 -2
  28. package/dist/{index-yAKnJ5ME.js → index-CvRSR1eE.js} +2 -2
  29. package/dist/{index-RIO2UT1x.js → index-CwdirjZn.js} +2 -2
  30. package/dist/{index-C2CPAKkL.js → index-D1YeCKtd.js} +4 -4
  31. package/dist/{index-ByTOd2ak.js → index-DMiPquK5.js} +2 -2
  32. package/dist/{index-CS0JFqYy.js → index-DSjH42Mo.js} +3 -3
  33. package/dist/{index-CaWs53z9.js → index-DVsMyd7m.js} +2 -2
  34. package/dist/{index-CE5F7UaD.js → index-DW0z3W_H.js} +1 -1
  35. package/dist/{index-DVg7Zewe.js → index-DmCRAN1O.js} +2 -2
  36. package/dist/{index-CjAqdRJ0.js → index-KH3KmoUw.js} +4 -4
  37. package/dist/{index-CVp3TsdG.js → index-PHSTFO70.js} +3 -3
  38. package/dist/{index-DY51R82n.js → index-orVFXDIv.js} +3 -3
  39. package/dist/index.js +4322 -4303
  40. package/dist/isSymbol-CubIld3H.js +446 -0
  41. package/dist/legacy/components/Inputs/index.d.ts +0 -1
  42. package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +1 -1
  43. package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +10 -8
  44. package/dist/legacy/components/Support/support-service.logic.d.ts +6 -0
  45. package/dist/legacy/components/Support/types.d.ts +7 -7
  46. package/dist/legacy/components/index.d.ts +0 -1
  47. package/dist/legacy/legacy-editors-removed.spec.d.ts +1 -0
  48. package/dist/legacy.js +6158 -12073
  49. package/dist/translations/en.d.ts +7 -206
  50. package/dist/translations/fr.d.ts +7 -206
  51. package/dist/utils/project-link-wording.utils.d.ts +2 -2
  52. package/package.json +4 -4
  53. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.d.ts +0 -14
  54. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/crepe-theme.d.ts +0 -7
  55. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/index.d.ts +0 -1
  56. package/dist/legacy/components/PdfEditor/PdfEditor.d.ts +0 -3
  57. package/dist/legacy/components/PdfEditor/index.d.ts +0 -3
  58. package/dist/legacy/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +0 -10
  59. package/dist/legacy/components/PdfEditor/signature/SignaturePicker.d.ts +0 -19
  60. package/dist/legacy/components/PdfEditor/signature/SignatureSaveButton.d.ts +0 -12
  61. package/dist/legacy/components/PdfEditor/signature/SignatureSavedList.d.ts +0 -13
  62. package/dist/legacy/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +0 -10
  63. package/dist/legacy/components/PdfEditor/signature/resolve-asset.d.ts +0 -20
  64. package/dist/legacy/components/PdfEditor/tools/DrawTool.d.ts +0 -9
  65. package/dist/legacy/components/PdfEditor/tools/FillFieldsTool.d.ts +0 -9
  66. package/dist/legacy/components/PdfEditor/tools/RedactTool.d.ts +0 -8
  67. package/dist/legacy/components/PdfEditor/tools/ShapeTool.d.ts +0 -17
  68. package/dist/legacy/components/PdfEditor/tools/SignatureTool.d.ts +0 -15
  69. package/dist/legacy/components/PdfEditor/tools/TextTool.d.ts +0 -12
  70. package/dist/legacy/components/PdfEditor/tools/Toolbar.d.ts +0 -44
  71. package/dist/legacy/components/PdfEditor/tools/tool-options-ui.d.ts +0 -5
  72. package/dist/legacy/components/PdfEditor/viewer/InsertPagesButton.d.ts +0 -9
  73. package/dist/legacy/components/PdfEditor/viewer/InsertPagesDialog.d.ts +0 -10
  74. package/dist/legacy/components/PdfEditor/viewer/PageOverlay.d.ts +0 -38
  75. package/dist/legacy/components/PdfEditor/viewer/PageSidebar.d.ts +0 -15
  76. package/dist/legacy/components/PdfEditor/viewer/PageThumbnail.d.ts +0 -17
  77. package/dist/legacy/components/PdfEditor/viewer/PdfCanvas.d.ts +0 -26
  78. package/dist/legacy/components/PdfEditor/viewer/ViewerControls.d.ts +0 -21
  79. /package/dist/{legacy/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.spec.d.ts → components/editors/PdfEditor/zoom-scale.spec.d.ts} +0 -0
  80. /package/dist/legacy/components/{PdfEditor/signature/resolve-asset.spec.d.ts → Support/support-service.logic.spec.d.ts} +0 -0
@@ -0,0 +1,446 @@
1
+ function H(t) {
2
+ var r, e, n = "";
3
+ if (typeof t == "string" || typeof t == "number") n += t;
4
+ else if (typeof t == "object") if (Array.isArray(t)) {
5
+ var o = t.length;
6
+ for (r = 0; r < o; r++) t[r] && (e = H(t[r])) && (n && (n += " "), n += e);
7
+ } else for (e in t) t[e] && (n && (n += " "), n += e);
8
+ return n;
9
+ }
10
+ function de() {
11
+ for (var t, r, e = 0, n = "", o = arguments.length; e < o; e++) (t = arguments[e]) && (r = H(t)) && (n && (n += " "), n += r);
12
+ return n;
13
+ }
14
+ var R = typeof global == "object" && global && global.Object === Object && global, et = typeof self == "object" && self && self.Object === Object && self, l = R || et || Function("return this")(), T = l.Symbol, L = Object.prototype, nt = L.hasOwnProperty, at = L.toString, d = T ? T.toStringTag : void 0;
15
+ function ot(t) {
16
+ var r = nt.call(t, d), e = t[d];
17
+ try {
18
+ t[d] = void 0;
19
+ var n = !0;
20
+ } catch {
21
+ }
22
+ var o = at.call(t);
23
+ return n && (r ? t[d] = e : delete t[d]), o;
24
+ }
25
+ var it = Object.prototype, st = it.toString;
26
+ function ct(t) {
27
+ return st.call(t);
28
+ }
29
+ var ut = "[object Null]", ft = "[object Undefined]", w = T ? T.toStringTag : void 0;
30
+ function b(t) {
31
+ return t == null ? t === void 0 ? ft : ut : w && w in Object(t) ? ot(t) : ct(t);
32
+ }
33
+ function pt(t, r) {
34
+ return function(e) {
35
+ return t(r(e));
36
+ };
37
+ }
38
+ var K = pt(Object.getPrototypeOf, Object);
39
+ function _(t) {
40
+ return t != null && typeof t == "object";
41
+ }
42
+ var lt = "[object Object]", ht = Function.prototype, dt = Object.prototype, q = ht.toString, gt = dt.hasOwnProperty, yt = q.call(Object);
43
+ function ge(t) {
44
+ if (!_(t) || b(t) != lt)
45
+ return !1;
46
+ var r = K(t);
47
+ if (r === null)
48
+ return !0;
49
+ var e = gt.call(r, "constructor") && r.constructor;
50
+ return typeof e == "function" && e instanceof e && q.call(e) == yt;
51
+ }
52
+ function bt() {
53
+ this.__data__ = [], this.size = 0;
54
+ }
55
+ function V(t, r) {
56
+ return t === r || t !== t && r !== r;
57
+ }
58
+ function O(t, r) {
59
+ for (var e = t.length; e--; )
60
+ if (V(t[e][0], r))
61
+ return e;
62
+ return -1;
63
+ }
64
+ var _t = Array.prototype, vt = _t.splice;
65
+ function jt(t) {
66
+ var r = this.__data__, e = O(r, t);
67
+ if (e < 0)
68
+ return !1;
69
+ var n = r.length - 1;
70
+ return e == n ? r.pop() : vt.call(r, e, 1), --this.size, !0;
71
+ }
72
+ function Tt(t) {
73
+ var r = this.__data__, e = O(r, t);
74
+ return e < 0 ? void 0 : r[e][1];
75
+ }
76
+ function Ot(t) {
77
+ return O(this.__data__, t) > -1;
78
+ }
79
+ function mt(t, r) {
80
+ var e = this.__data__, n = O(e, t);
81
+ return n < 0 ? (++this.size, e.push([t, r])) : e[n][1] = r, this;
82
+ }
83
+ function s(t) {
84
+ var r = -1, e = t == null ? 0 : t.length;
85
+ for (this.clear(); ++r < e; ) {
86
+ var n = t[r];
87
+ this.set(n[0], n[1]);
88
+ }
89
+ }
90
+ s.prototype.clear = bt;
91
+ s.prototype.delete = jt;
92
+ s.prototype.get = Tt;
93
+ s.prototype.has = Ot;
94
+ s.prototype.set = mt;
95
+ function At() {
96
+ this.__data__ = new s(), this.size = 0;
97
+ }
98
+ function xt(t) {
99
+ var r = this.__data__, e = r.delete(t);
100
+ return this.size = r.size, e;
101
+ }
102
+ function Pt(t) {
103
+ return this.__data__.get(t);
104
+ }
105
+ function $t(t) {
106
+ return this.__data__.has(t);
107
+ }
108
+ function m(t) {
109
+ var r = typeof t;
110
+ return t != null && (r == "object" || r == "function");
111
+ }
112
+ var wt = "[object AsyncFunction]", St = "[object Function]", Ct = "[object GeneratorFunction]", It = "[object Proxy]";
113
+ function X(t) {
114
+ if (!m(t))
115
+ return !1;
116
+ var r = b(t);
117
+ return r == St || r == Ct || r == wt || r == It;
118
+ }
119
+ var x = l["__core-js_shared__"], S = function() {
120
+ var t = /[^.]+$/.exec(x && x.keys && x.keys.IE_PROTO || "");
121
+ return t ? "Symbol(src)_1." + t : "";
122
+ }();
123
+ function Et(t) {
124
+ return !!S && S in t;
125
+ }
126
+ var zt = Function.prototype, Ft = zt.toString;
127
+ function Mt(t) {
128
+ if (t != null) {
129
+ try {
130
+ return Ft.call(t);
131
+ } catch {
132
+ }
133
+ try {
134
+ return t + "";
135
+ } catch {
136
+ }
137
+ }
138
+ return "";
139
+ }
140
+ var Ut = /[\\^$.*+?()[\]{}|]/g, Dt = /^\[object .+?Constructor\]$/, Bt = Function.prototype, Nt = Object.prototype, Gt = Bt.toString, Ht = Nt.hasOwnProperty, Rt = RegExp(
141
+ "^" + Gt.call(Ht).replace(Ut, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
142
+ );
143
+ function Lt(t) {
144
+ if (!m(t) || Et(t))
145
+ return !1;
146
+ var r = X(t) ? Rt : Dt;
147
+ return r.test(Mt(t));
148
+ }
149
+ function Kt(t, r) {
150
+ return t == null ? void 0 : t[r];
151
+ }
152
+ function $(t, r) {
153
+ var e = Kt(t, r);
154
+ return Lt(e) ? e : void 0;
155
+ }
156
+ var J = $(l, "Map"), y = $(Object, "create");
157
+ function qt() {
158
+ this.__data__ = y ? y(null) : {}, this.size = 0;
159
+ }
160
+ function Vt(t) {
161
+ var r = this.has(t) && delete this.__data__[t];
162
+ return this.size -= r ? 1 : 0, r;
163
+ }
164
+ var Xt = "__lodash_hash_undefined__", Jt = Object.prototype, Wt = Jt.hasOwnProperty;
165
+ function Yt(t) {
166
+ var r = this.__data__;
167
+ if (y) {
168
+ var e = r[t];
169
+ return e === Xt ? void 0 : e;
170
+ }
171
+ return Wt.call(r, t) ? r[t] : void 0;
172
+ }
173
+ var Zt = Object.prototype, Qt = Zt.hasOwnProperty;
174
+ function kt(t) {
175
+ var r = this.__data__;
176
+ return y ? r[t] !== void 0 : Qt.call(r, t);
177
+ }
178
+ var tr = "__lodash_hash_undefined__";
179
+ function rr(t, r) {
180
+ var e = this.__data__;
181
+ return this.size += this.has(t) ? 0 : 1, e[t] = y && r === void 0 ? tr : r, this;
182
+ }
183
+ function u(t) {
184
+ var r = -1, e = t == null ? 0 : t.length;
185
+ for (this.clear(); ++r < e; ) {
186
+ var n = t[r];
187
+ this.set(n[0], n[1]);
188
+ }
189
+ }
190
+ u.prototype.clear = qt;
191
+ u.prototype.delete = Vt;
192
+ u.prototype.get = Yt;
193
+ u.prototype.has = kt;
194
+ u.prototype.set = rr;
195
+ function er() {
196
+ this.size = 0, this.__data__ = {
197
+ hash: new u(),
198
+ map: new (J || s)(),
199
+ string: new u()
200
+ };
201
+ }
202
+ function nr(t) {
203
+ var r = typeof t;
204
+ return r == "string" || r == "number" || r == "symbol" || r == "boolean" ? t !== "__proto__" : t === null;
205
+ }
206
+ function A(t, r) {
207
+ var e = t.__data__;
208
+ return nr(r) ? e[typeof r == "string" ? "string" : "hash"] : e.map;
209
+ }
210
+ function ar(t) {
211
+ var r = A(this, t).delete(t);
212
+ return this.size -= r ? 1 : 0, r;
213
+ }
214
+ function or(t) {
215
+ return A(this, t).get(t);
216
+ }
217
+ function ir(t) {
218
+ return A(this, t).has(t);
219
+ }
220
+ function sr(t, r) {
221
+ var e = A(this, t), n = e.size;
222
+ return e.set(t, r), this.size += e.size == n ? 0 : 1, this;
223
+ }
224
+ function h(t) {
225
+ var r = -1, e = t == null ? 0 : t.length;
226
+ for (this.clear(); ++r < e; ) {
227
+ var n = t[r];
228
+ this.set(n[0], n[1]);
229
+ }
230
+ }
231
+ h.prototype.clear = er;
232
+ h.prototype.delete = ar;
233
+ h.prototype.get = or;
234
+ h.prototype.has = ir;
235
+ h.prototype.set = sr;
236
+ var cr = 200;
237
+ function ur(t, r) {
238
+ var e = this.__data__;
239
+ if (e instanceof s) {
240
+ var n = e.__data__;
241
+ if (!J || n.length < cr - 1)
242
+ return n.push([t, r]), this.size = ++e.size, this;
243
+ e = this.__data__ = new h(n);
244
+ }
245
+ return e.set(t, r), this.size = e.size, this;
246
+ }
247
+ function v(t) {
248
+ var r = this.__data__ = new s(t);
249
+ this.size = r.size;
250
+ }
251
+ v.prototype.clear = At;
252
+ v.prototype.delete = xt;
253
+ v.prototype.get = Pt;
254
+ v.prototype.has = $t;
255
+ v.prototype.set = ur;
256
+ var C = function() {
257
+ try {
258
+ var t = $(Object, "defineProperty");
259
+ return t({}, "", {}), t;
260
+ } catch {
261
+ }
262
+ }();
263
+ function W(t, r, e) {
264
+ r == "__proto__" && C ? C(t, r, {
265
+ configurable: !0,
266
+ enumerable: !0,
267
+ value: e,
268
+ writable: !0
269
+ }) : t[r] = e;
270
+ }
271
+ var fr = Object.prototype, pr = fr.hasOwnProperty;
272
+ function lr(t, r, e) {
273
+ var n = t[r];
274
+ (!(pr.call(t, r) && V(n, e)) || e === void 0 && !(r in t)) && W(t, r, e);
275
+ }
276
+ function ye(t, r, e, n) {
277
+ var o = !e;
278
+ e || (e = {});
279
+ for (var f = -1, j = r.length; ++f < j; ) {
280
+ var c = r[f], p = void 0;
281
+ p === void 0 && (p = t[c]), o ? W(e, c, p) : lr(e, c, p);
282
+ }
283
+ return e;
284
+ }
285
+ function hr(t, r) {
286
+ for (var e = -1, n = Array(t); ++e < t; )
287
+ n[e] = r(e);
288
+ return n;
289
+ }
290
+ var dr = "[object Arguments]";
291
+ function I(t) {
292
+ return _(t) && b(t) == dr;
293
+ }
294
+ var Y = Object.prototype, gr = Y.hasOwnProperty, yr = Y.propertyIsEnumerable, br = I(/* @__PURE__ */ function() {
295
+ return arguments;
296
+ }()) ? I : function(t) {
297
+ return _(t) && gr.call(t, "callee") && !yr.call(t, "callee");
298
+ }, _r = Array.isArray;
299
+ function vr() {
300
+ return !1;
301
+ }
302
+ var Z = typeof exports == "object" && exports && !exports.nodeType && exports, E = Z && typeof module == "object" && module && !module.nodeType && module, jr = E && E.exports === Z, z = jr ? l.Buffer : void 0, Tr = z ? z.isBuffer : void 0, Or = Tr || vr, mr = 9007199254740991, Ar = /^(?:0|[1-9]\d*)$/;
303
+ function xr(t, r) {
304
+ var e = typeof t;
305
+ return r = r ?? mr, !!r && (e == "number" || e != "symbol" && Ar.test(t)) && t > -1 && t % 1 == 0 && t < r;
306
+ }
307
+ var Pr = 9007199254740991;
308
+ function Q(t) {
309
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Pr;
310
+ }
311
+ var $r = "[object Arguments]", wr = "[object Array]", Sr = "[object Boolean]", Cr = "[object Date]", Ir = "[object Error]", Er = "[object Function]", zr = "[object Map]", Fr = "[object Number]", Mr = "[object Object]", Ur = "[object RegExp]", Dr = "[object Set]", Br = "[object String]", Nr = "[object WeakMap]", Gr = "[object ArrayBuffer]", Hr = "[object DataView]", Rr = "[object Float32Array]", Lr = "[object Float64Array]", Kr = "[object Int8Array]", qr = "[object Int16Array]", Vr = "[object Int32Array]", Xr = "[object Uint8Array]", Jr = "[object Uint8ClampedArray]", Wr = "[object Uint16Array]", Yr = "[object Uint32Array]", a = {};
312
+ a[Rr] = a[Lr] = a[Kr] = a[qr] = a[Vr] = a[Xr] = a[Jr] = a[Wr] = a[Yr] = !0;
313
+ a[$r] = a[wr] = a[Gr] = a[Sr] = a[Hr] = a[Cr] = a[Ir] = a[Er] = a[zr] = a[Fr] = a[Mr] = a[Ur] = a[Dr] = a[Br] = a[Nr] = !1;
314
+ function Zr(t) {
315
+ return _(t) && Q(t.length) && !!a[b(t)];
316
+ }
317
+ function Qr(t) {
318
+ return function(r) {
319
+ return t(r);
320
+ };
321
+ }
322
+ var k = typeof exports == "object" && exports && !exports.nodeType && exports, g = k && typeof module == "object" && module && !module.nodeType && module, kr = g && g.exports === k, P = kr && R.process, F = function() {
323
+ try {
324
+ var t = g && g.require && g.require("util").types;
325
+ return t || P && P.binding && P.binding("util");
326
+ } catch {
327
+ }
328
+ }(), M = F && F.isTypedArray, te = M ? Qr(M) : Zr, re = Object.prototype, ee = re.hasOwnProperty;
329
+ function ne(t, r) {
330
+ var e = _r(t), n = !e && br(t), o = !e && !n && Or(t), f = !e && !n && !o && te(t), j = e || n || o || f, c = j ? hr(t.length, String) : [], p = c.length;
331
+ for (var i in t)
332
+ (r || ee.call(t, i)) && !(j && // Safari 9 has enumerable `arguments.length` in strict mode.
333
+ (i == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
334
+ o && (i == "offset" || i == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
335
+ f && (i == "buffer" || i == "byteLength" || i == "byteOffset") || // Skip index properties.
336
+ xr(i, p))) && c.push(i);
337
+ return c;
338
+ }
339
+ var ae = Object.prototype;
340
+ function tt(t) {
341
+ var r = t && t.constructor, e = typeof r == "function" && r.prototype || ae;
342
+ return t === e;
343
+ }
344
+ function oe(t) {
345
+ return t != null && Q(t.length) && !X(t);
346
+ }
347
+ function ie(t) {
348
+ var r = [];
349
+ if (t != null)
350
+ for (var e in Object(t))
351
+ r.push(e);
352
+ return r;
353
+ }
354
+ var se = Object.prototype, ce = se.hasOwnProperty;
355
+ function ue(t) {
356
+ if (!m(t))
357
+ return ie(t);
358
+ var r = tt(t), e = [];
359
+ for (var n in t)
360
+ n == "constructor" && (r || !ce.call(t, n)) || e.push(n);
361
+ return e;
362
+ }
363
+ function be(t) {
364
+ return oe(t) ? ne(t, !0) : ue(t);
365
+ }
366
+ var rt = typeof exports == "object" && exports && !exports.nodeType && exports, U = rt && typeof module == "object" && module && !module.nodeType && module, fe = U && U.exports === rt, D = fe ? l.Buffer : void 0, B = D ? D.allocUnsafe : void 0;
367
+ function _e(t, r) {
368
+ if (r)
369
+ return t.slice();
370
+ var e = t.length, n = B ? B(e) : new t.constructor(e);
371
+ return t.copy(n), n;
372
+ }
373
+ function ve(t, r) {
374
+ var e = -1, n = t.length;
375
+ for (r || (r = Array(n)); ++e < n; )
376
+ r[e] = t[e];
377
+ return r;
378
+ }
379
+ var N = l.Uint8Array;
380
+ function pe(t) {
381
+ var r = new t.constructor(t.byteLength);
382
+ return new N(r).set(new N(t)), r;
383
+ }
384
+ function je(t, r) {
385
+ var e = r ? pe(t.buffer) : t.buffer;
386
+ return new t.constructor(e, t.byteOffset, t.length);
387
+ }
388
+ var G = Object.create, le = /* @__PURE__ */ function() {
389
+ function t() {
390
+ }
391
+ return function(r) {
392
+ if (!m(r))
393
+ return {};
394
+ if (G)
395
+ return G(r);
396
+ t.prototype = r;
397
+ var e = new t();
398
+ return t.prototype = void 0, e;
399
+ };
400
+ }();
401
+ function Te(t) {
402
+ return typeof t.constructor == "function" && !tt(t) ? le(K(t)) : {};
403
+ }
404
+ var he = "[object Symbol]";
405
+ function Oe(t) {
406
+ return typeof t == "symbol" || _(t) && b(t) == he;
407
+ }
408
+ export {
409
+ Oe as A,
410
+ ge as B,
411
+ C,
412
+ xr as D,
413
+ V as E,
414
+ W as F,
415
+ te as G,
416
+ br as H,
417
+ X as I,
418
+ J as M,
419
+ T as S,
420
+ ne as a,
421
+ oe as b,
422
+ de as c,
423
+ ye as d,
424
+ _r as e,
425
+ $ as f,
426
+ K as g,
427
+ b as h,
428
+ tt as i,
429
+ pe as j,
430
+ be as k,
431
+ je as l,
432
+ _ as m,
433
+ Qr as n,
434
+ pt as o,
435
+ F as p,
436
+ m as q,
437
+ l as r,
438
+ ve as s,
439
+ Mt as t,
440
+ Or as u,
441
+ _e as v,
442
+ Te as w,
443
+ v as x,
444
+ lr as y,
445
+ h as z
446
+ };
@@ -4,7 +4,6 @@ export * from './DatePeriodPicker';
4
4
  export * from './AbyssDatePicker';
5
5
  export * from './AbyssDateTimePicker';
6
6
  export * from './PasswordInput';
7
- export * from './AbyssMarkdownEditor';
8
7
  export * from './AbyssNumberField';
9
8
  export * from './CloudImport';
10
9
  export * from './DropZone';
@@ -1,5 +1,5 @@
1
1
  export { default as ProjectLinkSelector } from './ProjectLinkSelector.component';
2
- export declare enum ABYSS_LINK {
2
+ export declare enum ProjectLinkMode {
3
3
  NONE = "NONE",
4
4
  PROJECT = "PROJECT"
5
5
  }
@@ -1,22 +1,24 @@
1
1
  import { default as React } from 'react';
2
- import { AbyssService } from '@abyss-project/main';
3
- export declare const SERVICE_CONFIG: Partial<Record<AbyssService, {
2
+ import { ActivatableService } from '@abyss-project/main';
3
+ export declare const SERVICE_CONFIG: Partial<Record<ActivatableService, {
4
4
  logo: string;
5
5
  color: string;
6
6
  }>>;
7
- export declare const getServiceConfig: (service: AbyssService) => {
7
+ /** The name of a service or of a game as a ticket shows it. */
8
+ export declare const getSupportServiceName: (service: ActivatableService) => string;
9
+ export declare const getServiceConfig: (service: ActivatableService) => {
8
10
  logo: string;
9
11
  color: string;
10
12
  };
11
13
  export interface AbyssServiceSelectProps {
12
- value: AbyssService[];
13
- onChange: (value: AbyssService[]) => void;
14
+ value: ActivatableService[];
15
+ onChange: (value: ActivatableService[]) => void;
14
16
  placeholder?: string;
15
17
  sx?: Record<string, unknown>;
16
18
  }
17
19
  export declare const AbyssServiceSelect: React.FC<AbyssServiceSelectProps>;
18
20
  interface AbyssServiceChipProps {
19
- service: AbyssService;
21
+ service: ActivatableService;
20
22
  logo: string;
21
23
  color: string;
22
24
  label: string;
@@ -25,8 +27,8 @@ interface AbyssServiceChipProps {
25
27
  }
26
28
  export declare const AbyssServiceChip: React.FC<AbyssServiceChipProps>;
27
29
  export interface AbyssServiceSingleSelectProps {
28
- value: AbyssService | null;
29
- onChange: (value: AbyssService | null) => void;
30
+ value: ActivatableService | null;
31
+ onChange: (value: ActivatableService | null) => void;
30
32
  label?: string;
31
33
  placeholder?: string;
32
34
  sx?: Record<string, unknown>;
@@ -0,0 +1,6 @@
1
+ import { ActivatableService } from '@abyss-project/main';
2
+ /**
3
+ * The services a support ticket can be about: every offered service and the game Odyssey.
4
+ * AbyssFlow is not offered (it has no surface of its own yet).
5
+ */
6
+ export declare const getSupportTicketServices: () => ActivatableService[];
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { ISupportTicket, ISupportTicketMessage, ISupportTicketActivity, ISupportTicketAttachment, ISupportTicketTag, SupportTicketStatus, SupportTicketCategory, SupportTicketPriority, SupportTicketAction, AbyssService } from '@abyss-project/main';
2
+ import { ISupportTicket, ISupportTicketMessage, ISupportTicketActivity, ISupportTicketAttachment, ISupportTicketTag, SupportTicketStatus, SupportTicketCategory, SupportTicketPriority, SupportTicketAction, ActivatableService } from '@abyss-project/main';
3
3
  import { CloudImportWiring } from '../../../hooks/cloud-picker.types';
4
4
  export interface SupportCloudImportProps {
5
5
  /**
@@ -12,7 +12,7 @@ export interface SupportTicketListFilters {
12
12
  status?: SupportTicketStatus[];
13
13
  categories?: SupportTicketCategory[];
14
14
  priorities?: SupportTicketPriority[];
15
- services?: AbyssService[];
15
+ services?: ActivatableService[];
16
16
  tagIds?: string[];
17
17
  search?: string;
18
18
  startDate?: Date | null;
@@ -65,7 +65,7 @@ export interface SupportTicketCreateValues {
65
65
  category: SupportTicketCategory;
66
66
  priority: SupportTicketPriority;
67
67
  priorityReason?: string;
68
- service?: AbyssService | null;
68
+ service?: ActivatableService | null;
69
69
  }
70
70
  export interface SupportTicketCreateFormProps {
71
71
  onSubmit: (values: SupportTicketCreateValues) => void;
@@ -103,8 +103,8 @@ export interface SupportTicketCreateStepperProps {
103
103
  export interface SupportCategoryGroupCardsProps {
104
104
  value: SupportTicketCategory | null;
105
105
  onChange: (category: SupportTicketCategory) => void;
106
- service?: AbyssService | null;
107
- onServiceChange?: (service: AbyssService | null) => void;
106
+ service?: ActivatableService | null;
107
+ onServiceChange?: (service: ActivatableService | null) => void;
108
108
  }
109
109
  export interface SupportTopBarProps {
110
110
  ticket: ISupportTicket;
@@ -198,7 +198,7 @@ export interface SupportSidebarProps extends SupportCloudImportProps {
198
198
  currentUserId?: string;
199
199
  onChangePriority?: (priority: SupportTicketPriority) => void;
200
200
  onChangeCategory?: (category: SupportTicketCategory) => void;
201
- onChangeService?: (service: AbyssService | null) => void;
201
+ onChangeService?: (service: ActivatableService | null) => void;
202
202
  onAssign?: (userId: string | null) => void;
203
203
  onExecuteAction?: (action: SupportTicketAction, reason?: string) => void;
204
204
  isExecuting?: boolean;
@@ -267,7 +267,7 @@ export interface SupportTicketDetailProps extends SupportCloudImportProps {
267
267
  isExecuting?: boolean;
268
268
  onChangePriority?: (priority: SupportTicketPriority) => void;
269
269
  onChangeCategory?: (category: SupportTicketCategory) => void;
270
- onChangeService?: (service: AbyssService | null) => void;
270
+ onChangeService?: (service: ActivatableService | null) => void;
271
271
  onAssign?: (userId: string | null) => void;
272
272
  adminUsers?: SupportSidebarUser[];
273
273
  activities?: ISupportTicketActivity[];
@@ -14,7 +14,6 @@ export * from './Modals';
14
14
  export * from './Utils';
15
15
  export * from './Support';
16
16
  export * from './Invitations';
17
- export * from './PdfEditor';
18
17
  export * from './QuotaGauge';
19
18
  export * from './QuotaOffer';
20
19
  export * from './QuotaReached';
@@ -0,0 +1 @@
1
+ export {};