@lokalise/harmony 1.6.0-exp-jwtutils.15 → 1.6.0-exp-jwtutils.17
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/dist/harmony.cjs +1 -1
- package/dist/harmony.mjs +228 -234
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedProjectContributor.d.ts +0 -3
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +0 -3
- package/dist/types/src/features/auth/frontend/hooks/useGetPromotedClassicSessionJwtQuery.d.ts +0 -3
- package/dist/types/src/features/auth/index.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useCreateProjectMutation.d.ts +70 -0
- package/dist/types/src/features/publicApi/hooks/{userGetTeamUsersQuery.d.ts → useGetTeamUsersQuery.d.ts} +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetUserTokenQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListProjectsQuery.d.ts +71 -0
- package/dist/types/src/features/publicApi/hooks/useRetrieveContributorQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useRetrieveProjectQuery.d.ts +62 -0
- package/dist/types/src/features/publicApi/index.d.ts +1 -1
- package/dist/types/src/features/publicApi/projects.d.ts +1541 -0
- package/dist/types/src/features/publicApi/types/language.d.ts +29 -0
- package/dist/types/src/features/publicApi/types/project.d.ts +479 -0
- package/dist/types/src/utils/types/apiMutationOverrides.d.ts +2 -0
- package/dist/types/src/utils/types/apiQueryOverrides.d.ts +1 -1
- package/package.json +1 -1
package/dist/harmony.mjs
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var Ne = (e, t, n) =>
|
1
|
+
var Tt = Object.defineProperty;
|
2
|
+
var wt = (e, t, n) => t in e ? Tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
3
|
+
var Ne = (e, t, n) => wt(e, typeof t != "symbol" ? t + "" : t, n);
|
4
4
|
import { jsx as i, jsxs as _, Fragment as Ve } from "react/jsx-runtime";
|
5
5
|
import * as x from "react";
|
6
|
-
import { useRef as Ye, useState as de, useCallback as ke, useEffect as q, useContext as
|
7
|
-
import { Tooltip as me, Link as Xe, Menu as fe, MenuList as he, CaretUpIcon as
|
6
|
+
import { useRef as Ye, useState as de, useCallback as ke, useEffect as q, useContext as yt, createContext as It, cloneElement as Nt, Fragment as Ze, forwardRef as kt } from "react";
|
7
|
+
import { Tooltip as me, Link as Xe, Menu as fe, MenuList as he, CaretUpIcon as St, UserIcon as et, MenuItem as H, MenuDivider as tt, Tag as Et } from "@lokalise/louis";
|
8
8
|
import { z as s } from "zod";
|
9
|
-
import {
|
10
|
-
import { buildPayloadRoute as
|
9
|
+
import { sendByGetRoute as nt, sendByPayloadRoute as ge } from "@lokalise/frontend-http-client";
|
10
|
+
import { buildPayloadRoute as Pt } from "@lokalise/universal-ts-utils/api-contracts/apiContracts";
|
11
11
|
import { useQuery as be } from "@tanstack/react-query";
|
12
12
|
import { buildGetRoute as rt } from "@lokalise/universal-ts-utils/node";
|
13
13
|
import { format as at } from "date-fns";
|
14
|
-
import { toZonedTime as
|
14
|
+
import { toZonedTime as Ct } from "date-fns-tz";
|
15
15
|
var $ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
16
16
|
function it(e) {
|
17
17
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
@@ -27,7 +27,7 @@ function pe() {
|
|
27
27
|
return K = e, K;
|
28
28
|
}
|
29
29
|
var J, Ee;
|
30
|
-
function
|
30
|
+
function Rt() {
|
31
31
|
if (Ee) return J;
|
32
32
|
Ee = 1;
|
33
33
|
var e = typeof $ == "object" && $ && $.Object === Object && $;
|
@@ -37,11 +37,11 @@ var Q, Pe;
|
|
37
37
|
function ot() {
|
38
38
|
if (Pe) return Q;
|
39
39
|
Pe = 1;
|
40
|
-
var e =
|
40
|
+
var e = Rt(), t = typeof self == "object" && self && self.Object === Object && self, n = e || t || Function("return this")();
|
41
41
|
return Q = n, Q;
|
42
42
|
}
|
43
43
|
var V, Ce;
|
44
|
-
function
|
44
|
+
function jt() {
|
45
45
|
if (Ce) return V;
|
46
46
|
Ce = 1;
|
47
47
|
var e = ot(), t = function() {
|
@@ -50,7 +50,7 @@ function Ot() {
|
|
50
50
|
return V = t, V;
|
51
51
|
}
|
52
52
|
var Y, Re;
|
53
|
-
function
|
53
|
+
function At() {
|
54
54
|
if (Re) return Y;
|
55
55
|
Re = 1;
|
56
56
|
var e = /\s/;
|
@@ -62,10 +62,10 @@ function xt() {
|
|
62
62
|
return Y = t, Y;
|
63
63
|
}
|
64
64
|
var Z, je;
|
65
|
-
function
|
65
|
+
function Lt() {
|
66
66
|
if (je) return Z;
|
67
67
|
je = 1;
|
68
|
-
var e =
|
68
|
+
var e = At(), t = /^\s+/;
|
69
69
|
function n(r) {
|
70
70
|
return r && r.slice(0, e(r) + 1).replace(t, "");
|
71
71
|
}
|
@@ -79,7 +79,7 @@ function st() {
|
|
79
79
|
return X = t, X;
|
80
80
|
}
|
81
81
|
var ee, Le;
|
82
|
-
function
|
82
|
+
function Ot() {
|
83
83
|
if (Le) return ee;
|
84
84
|
Le = 1;
|
85
85
|
var e = st(), t = Object.prototype, n = t.hasOwnProperty, r = t.toString, a = e ? e.toStringTag : void 0;
|
@@ -96,7 +96,7 @@ function Ut() {
|
|
96
96
|
return ee = o, ee;
|
97
97
|
}
|
98
98
|
var te, Oe;
|
99
|
-
function
|
99
|
+
function xt() {
|
100
100
|
if (Oe) return te;
|
101
101
|
Oe = 1;
|
102
102
|
var e = Object.prototype, t = e.toString;
|
@@ -106,17 +106,17 @@ function Mt() {
|
|
106
106
|
return te = n, te;
|
107
107
|
}
|
108
108
|
var ne, xe;
|
109
|
-
function
|
109
|
+
function qt() {
|
110
110
|
if (xe) return ne;
|
111
111
|
xe = 1;
|
112
|
-
var e = st(), t =
|
112
|
+
var e = st(), t = Ot(), n = xt(), r = "[object Null]", a = "[object Undefined]", o = e ? e.toStringTag : void 0;
|
113
113
|
function c(u) {
|
114
114
|
return u == null ? u === void 0 ? a : r : o && o in Object(u) ? t(u) : n(u);
|
115
115
|
}
|
116
116
|
return ne = c, ne;
|
117
117
|
}
|
118
118
|
var re, qe;
|
119
|
-
function
|
119
|
+
function Ut() {
|
120
120
|
if (qe) return re;
|
121
121
|
qe = 1;
|
122
122
|
function e(t) {
|
@@ -125,20 +125,20 @@ function $t() {
|
|
125
125
|
return re = e, re;
|
126
126
|
}
|
127
127
|
var ae, Ue;
|
128
|
-
function
|
128
|
+
function Mt() {
|
129
129
|
if (Ue) return ae;
|
130
130
|
Ue = 1;
|
131
|
-
var e =
|
131
|
+
var e = qt(), t = Ut(), n = "[object Symbol]";
|
132
132
|
function r(a) {
|
133
133
|
return typeof a == "symbol" || t(a) && e(a) == n;
|
134
134
|
}
|
135
135
|
return ae = r, ae;
|
136
136
|
}
|
137
137
|
var ie, Me;
|
138
|
-
function
|
138
|
+
function Bt() {
|
139
139
|
if (Me) return ie;
|
140
140
|
Me = 1;
|
141
|
-
var e =
|
141
|
+
var e = Lt(), t = pe(), n = Mt(), r = NaN, a = /^[-+]0x[0-9a-f]+$/i, o = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt;
|
142
142
|
function d(l) {
|
143
143
|
if (typeof l == "number")
|
144
144
|
return l;
|
@@ -160,7 +160,7 @@ var oe, Be;
|
|
160
160
|
function ct() {
|
161
161
|
if (Be) return oe;
|
162
162
|
Be = 1;
|
163
|
-
var e = pe(), t =
|
163
|
+
var e = pe(), t = jt(), n = Bt(), r = "Expected a function", a = Math.max, o = Math.min;
|
164
164
|
function c(u, d, l) {
|
165
165
|
var m, b, T, w, g, y, N = 0, S = !1, h = !1, k = !0;
|
166
166
|
if (typeof u != "function")
|
@@ -190,10 +190,10 @@ function ct() {
|
|
190
190
|
function ye(f) {
|
191
191
|
return g = void 0, k && m ? v(f) : (m = b = void 0, w);
|
192
192
|
}
|
193
|
-
function
|
193
|
+
function _t() {
|
194
194
|
g !== void 0 && clearTimeout(g), N = 0, m = y = b = g = void 0;
|
195
195
|
}
|
196
|
-
function
|
196
|
+
function vt() {
|
197
197
|
return g === void 0 ? w : ye(t());
|
198
198
|
}
|
199
199
|
function W() {
|
@@ -206,14 +206,14 @@ function ct() {
|
|
206
206
|
}
|
207
207
|
return g === void 0 && (g = setTimeout(B, d)), w;
|
208
208
|
}
|
209
|
-
return W.cancel =
|
209
|
+
return W.cancel = _t, W.flush = vt, W;
|
210
210
|
}
|
211
211
|
return oe = c, oe;
|
212
212
|
}
|
213
|
-
var
|
214
|
-
const
|
213
|
+
var $t = ct();
|
214
|
+
const zt = /* @__PURE__ */ it($t);
|
215
215
|
var se, $e;
|
216
|
-
function
|
216
|
+
function Dt() {
|
217
217
|
if ($e) return se;
|
218
218
|
$e = 1;
|
219
219
|
var e = ct(), t = pe(), n = "Expected a function";
|
@@ -229,17 +229,17 @@ function Gt() {
|
|
229
229
|
}
|
230
230
|
return se = r, se;
|
231
231
|
}
|
232
|
-
var
|
233
|
-
const
|
232
|
+
var Ft = Dt();
|
233
|
+
const Ht = /* @__PURE__ */ it(Ft), Gt = (e, t, n, r) => {
|
234
234
|
switch (t) {
|
235
235
|
case "debounce":
|
236
|
-
return
|
236
|
+
return zt(e, n, r);
|
237
237
|
case "throttle":
|
238
|
-
return
|
238
|
+
return Ht(e, n, r);
|
239
239
|
default:
|
240
240
|
return e;
|
241
241
|
}
|
242
|
-
},
|
242
|
+
}, Wt = (
|
243
243
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
244
244
|
(e) => {
|
245
245
|
const t = x.useRef(e);
|
@@ -250,7 +250,7 @@ const Kt = /* @__PURE__ */ it(Wt), Jt = (e, t, n, r) => {
|
|
250
250
|
return (r = t.current) === null || r === void 0 ? void 0 : r.call(t, ...n);
|
251
251
|
}, []);
|
252
252
|
}
|
253
|
-
),
|
253
|
+
), Kt = (
|
254
254
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
255
255
|
(e) => {
|
256
256
|
const [t, n] = x.useState((e == null ? void 0 : e.current) || null);
|
@@ -267,7 +267,7 @@ const Kt = /* @__PURE__ */ it(Wt), Jt = (e, t, n, r) => {
|
|
267
267
|
}
|
268
268
|
}), [t]), refElement: t, setRefElement: n };
|
269
269
|
}
|
270
|
-
),
|
270
|
+
), Jt = (e, t) => t === "border-box" ? {
|
271
271
|
width: e.borderBoxSize[0].inlineSize,
|
272
272
|
height: e.borderBoxSize[0].blockSize
|
273
273
|
} : t === "content-box" ? {
|
@@ -277,11 +277,11 @@ const Kt = /* @__PURE__ */ it(Wt), Jt = (e, t, n, r) => {
|
|
277
277
|
width: e.contentRect.width,
|
278
278
|
height: e.contentRect.height
|
279
279
|
};
|
280
|
-
function
|
281
|
-
const l = Ye(e), m =
|
280
|
+
function Qt({ skipOnMount: e = !1, refreshMode: t, refreshRate: n = 1e3, refreshOptions: r, handleWidth: a = !0, handleHeight: o = !0, targetRef: c, observerOptions: u, onResize: d } = {}) {
|
281
|
+
const l = Ye(e), m = Wt(d), [b, T] = de({
|
282
282
|
width: void 0,
|
283
283
|
height: void 0
|
284
|
-
}), { refProxy: w, refElement: g } =
|
284
|
+
}), { refProxy: w, refElement: g } = Kt(c), { box: y } = u || {}, N = ke((h) => {
|
285
285
|
if (!a && !o)
|
286
286
|
return;
|
287
287
|
if (l.current) {
|
@@ -290,14 +290,14 @@ function Zt({ skipOnMount: e = !1, refreshMode: t, refreshRate: n = 1e3, refresh
|
|
290
290
|
}
|
291
291
|
const k = (v, p) => a && v.width !== p.width || o && v.height !== p.height;
|
292
292
|
h.forEach((v) => {
|
293
|
-
const p =
|
293
|
+
const p = Jt(v, y);
|
294
294
|
T((M) => k(M, p) ? (m == null || m({
|
295
295
|
width: p.width,
|
296
296
|
height: p.height,
|
297
297
|
entry: v
|
298
298
|
}), p) : M);
|
299
299
|
});
|
300
|
-
}, [a, o, l, y]), S = ke(
|
300
|
+
}, [a, o, l, y]), S = ke(Gt(N, t, n, r), [
|
301
301
|
N,
|
302
302
|
t,
|
303
303
|
n,
|
@@ -328,14 +328,14 @@ function R() {
|
|
328
328
|
for (var e, t, n = 0, r = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = lt(e)) && (r && (r += " "), r += t);
|
329
329
|
return r;
|
330
330
|
}
|
331
|
-
const
|
332
|
-
headerContainer:
|
333
|
-
navigationTabList:
|
334
|
-
navigationTab:
|
335
|
-
headerContent:
|
336
|
-
staticEnabled:
|
337
|
-
},
|
338
|
-
const { ref: n, height: r } =
|
331
|
+
const Vt = "_headerContainer_1cubo_1", Yt = "_navigationTabList_1cubo_8", Zt = "_navigationTab_1cubo_8", Xt = "_headerContent_1cubo_34", en = "_staticEnabled_1cubo_50", A = {
|
332
|
+
headerContainer: Vt,
|
333
|
+
navigationTabList: Yt,
|
334
|
+
navigationTab: Zt,
|
335
|
+
headerContent: Xt,
|
336
|
+
staticEnabled: en
|
337
|
+
}, tn = 77, D = ({ sticky: e, children: t }) => {
|
338
|
+
const { ref: n, height: r } = Qt({
|
339
339
|
refreshMode: "debounce",
|
340
340
|
refreshRate: 0
|
341
341
|
}), [a, o] = de(!1), c = () => a ? !e : !0;
|
@@ -345,7 +345,7 @@ const Xt = "_headerContainer_1cubo_1", en = "_navigationTabList_1cubo_8", tn = "
|
|
345
345
|
};
|
346
346
|
return window.addEventListener("scroll", d), () => window.removeEventListener("scroll", d);
|
347
347
|
}, []);
|
348
|
-
const u = `${r ||
|
348
|
+
const u = `${r || tn}px`;
|
349
349
|
return /* @__PURE__ */ i("div", { style: { minHeight: u }, children: /* @__PURE__ */ i("div", { children: /* @__PURE__ */ _(
|
350
350
|
"div",
|
351
351
|
{
|
@@ -363,14 +363,14 @@ const Xt = "_headerContainer_1cubo_1", en = "_navigationTabList_1cubo_8", tn = "
|
|
363
363
|
};
|
364
364
|
D.Header = ({ children: e }) => /* @__PURE__ */ i("div", { className: A.headerContainer, children: e });
|
365
365
|
D.Tabs = ({ children: e }) => /* @__PURE__ */ i("div", { className: "flex justify-between gap-2 nowrap", children: e });
|
366
|
-
const
|
367
|
-
sidebarContainer:
|
368
|
-
},
|
369
|
-
logoLink:
|
370
|
-
},
|
371
|
-
link:
|
372
|
-
active:
|
373
|
-
},
|
366
|
+
const nn = "_sidebarContainer_bmdti_1", rn = {
|
367
|
+
sidebarContainer: nn
|
368
|
+
}, an = "_logoLink_1baxb_1", on = {
|
369
|
+
logoLink: an
|
370
|
+
}, sn = ({ src: e, href: t = "/", ariaLabel: n = "Home", alt: r = "Lokalise" }) => /* @__PURE__ */ i("a", { className: on.logoLink, href: t, "aria-label": n, children: /* @__PURE__ */ i("img", { src: e, alt: r }) }), cn = "_link_1weq1_1", ln = "_active_1weq1_18", ze = {
|
371
|
+
link: cn,
|
372
|
+
active: ln
|
373
|
+
}, un = ({ label: e, to: t, icon: n }) => /* @__PURE__ */ i(me, { placement: "right", tooltip: e, children: /* @__PURE__ */ i(
|
374
374
|
Xe,
|
375
375
|
{
|
376
376
|
className: R(ze.link, {
|
@@ -379,10 +379,10 @@ const on = "_sidebarContainer_bmdti_1", sn = {
|
|
379
379
|
href: t,
|
380
380
|
children: /* @__PURE__ */ i(n, { size: "25px" })
|
381
381
|
}
|
382
|
-
) }),
|
383
|
-
dropdownButton:
|
384
|
-
dropdownButtonActive:
|
385
|
-
},
|
382
|
+
) }), dn = "_dropdownButton_hwh0c_1", mn = "_dropdownButtonActive_hwh0c_18", De = {
|
383
|
+
dropdownButton: dn,
|
384
|
+
dropdownButtonActive: mn
|
385
|
+
}, fn = ({ children: e, icon: t }) => /* @__PURE__ */ i(
|
386
386
|
fe,
|
387
387
|
{
|
388
388
|
menuButton: ({ opened: n }) => /* @__PURE__ */ i(me, { placement: "right", tooltip: "Help", children: /* @__PURE__ */ i(
|
@@ -397,29 +397,29 @@ const on = "_sidebarContainer_bmdti_1", sn = {
|
|
397
397
|
) }),
|
398
398
|
children: /* @__PURE__ */ i(he, { placement: "right-start", children: e })
|
399
399
|
}
|
400
|
-
),
|
401
|
-
iconContainer:
|
400
|
+
), hn = "_iconContainer_nz34m_1", gn = {
|
401
|
+
iconContainer: hn
|
402
402
|
}, ut = ({ className: e = "" }) => /* @__PURE__ */ i(
|
403
403
|
"div",
|
404
404
|
{
|
405
405
|
"aria-label": "Upgrade Icon",
|
406
406
|
className: R(
|
407
|
-
|
407
|
+
gn.iconContainer,
|
408
408
|
"flex-row",
|
409
409
|
"items-center",
|
410
410
|
"justify-center",
|
411
411
|
e
|
412
412
|
),
|
413
|
-
children: /* @__PURE__ */ i(
|
413
|
+
children: /* @__PURE__ */ i(St, {})
|
414
414
|
}
|
415
|
-
),
|
416
|
-
menuContainer:
|
417
|
-
profileButton:
|
418
|
-
profileImage:
|
419
|
-
profileImageHighlight:
|
420
|
-
profileImageUpgradeIcon:
|
421
|
-
userIconWrapper:
|
422
|
-
}, dt =
|
415
|
+
), bn = "_menuContainer_wbu3u_5", pn = "_profileButton_wbu3u_16", _n = "_profileImage_wbu3u_29", vn = "_profileImageHighlight_wbu3u_37", Tn = "_profileImageUpgradeIcon_wbu3u_41", wn = "_userIconWrapper_wbu3u_47", P = {
|
416
|
+
menuContainer: bn,
|
417
|
+
profileButton: pn,
|
418
|
+
profileImage: _n,
|
419
|
+
profileImageHighlight: vn,
|
420
|
+
profileImageUpgradeIcon: Tn,
|
421
|
+
userIconWrapper: wn
|
422
|
+
}, dt = It({}), U = () => yt(dt), yn = ({ children: e }) => {
|
423
423
|
const {
|
424
424
|
currentTeam: t,
|
425
425
|
otherTeams: n,
|
@@ -468,7 +468,7 @@ const on = "_sidebarContainer_bmdti_1", sn = {
|
|
468
468
|
}) })
|
469
469
|
}
|
470
470
|
);
|
471
|
-
}, mt = 0,
|
471
|
+
}, mt = 0, In = 9999, Nn = [150, 151, 250, 251], kn = [152, 153, 252, 253], Sn = [154, 155, 157, 158, 254, 255, 258, 354, 355, 358], En = [156, 159, 160, 256, 259, 260], ft = 9998, _e = (e) => e === mt, ht = (e) => e === In, Ur = (e) => Nn.includes(e), Mr = (e) => kn.includes(e), Br = (e) => Sn.includes(e), $r = (e) => En.includes(e), zr = (e) => e > mt && e < ft, Dr = (e) => e === ft, Pn = /\n/, Fe = (e, t, n) => e.split(t).flatMap((r, a) => a !== 0 ? [Nt(n, { key: Math.random().toString(32).slice(0, 10) }), r] : r), Cn = (e, t, n) => typeof e == "string" ? Fe(e, t, n) : e.flatMap((r) => typeof r == "string" ? Fe(r, t, n) : r), Fr = (e) => Cn(e, Pn, /* @__PURE__ */ i("br", {})), Rn = /(\b(https?|):\/\/[-a-zA-Zа-яА-Я0-9+&@#/%?=~_|!:,.;]*[-a-zA-Zа-яА-Я0-9+&@#/%=~_|])/gi, jn = (e) => e.match(Rn) ?? [], He = (e, t, n) => {
|
472
472
|
const r = e.split(t);
|
473
473
|
if (r.length === 1)
|
474
474
|
return e;
|
@@ -477,11 +477,11 @@ const on = "_sidebarContainer_bmdti_1", sn = {
|
|
477
477
|
/* @__PURE__ */ i("a", { href: t, target: "_blank", rel: "noreferrer noopener", children: t }, t + n)
|
478
478
|
), a.push(r.join(t)), a.filter((o) => o !== "");
|
479
479
|
}, Ge = (e) => {
|
480
|
-
const t =
|
480
|
+
const t = jn(e);
|
481
481
|
return t != null && t.length ? t.reduce((n, r, a) => typeof n == "string" ? He(n, r, a) : n.flatMap((o) => typeof o == "string" ? He(o, r, a) : o), e) : e;
|
482
|
-
}, Hr = (e) => typeof e == "string" ? Ge(e) : e.flatMap((t) => typeof t == "string" ? Ge(t) : t, e), Gr = (e, t = "PP") => at(e, t), Wr = (e, t, n = "PP") => at(
|
482
|
+
}, Hr = (e) => typeof e == "string" ? Ge(e) : e.flatMap((t) => typeof t == "string" ? Ge(t) : t, e), Gr = (e, t = "PP") => at(e, t), Wr = (e, t, n = "PP") => at(Ct(e, t), n), Kr = (e) => {
|
483
483
|
q(e, []);
|
484
|
-
},
|
484
|
+
}, An = ({ children: e, config: t }) => {
|
485
485
|
const {
|
486
486
|
teams: n,
|
487
487
|
currentTeamId: r,
|
@@ -501,10 +501,10 @@ const on = "_sidebarContainer_bmdti_1", sn = {
|
|
501
501
|
allowTeamCreation: !o && !d
|
502
502
|
};
|
503
503
|
return /* @__PURE__ */ i(dt.Provider, { value: S, children: e });
|
504
|
-
},
|
505
|
-
container:
|
506
|
-
profileEmail:
|
507
|
-
},
|
504
|
+
}, Ln = ({ config: e, children: t }) => /* @__PURE__ */ i(An, { config: e, children: /* @__PURE__ */ i(yn, { children: t }) }), On = "_container_q5pot_1", xn = "_profileEmail_q5pot_5", We = {
|
505
|
+
container: On,
|
506
|
+
profileEmail: xn
|
507
|
+
}, qn = ({
|
508
508
|
href: e,
|
509
509
|
onClick: t,
|
510
510
|
userEmail: n,
|
@@ -527,13 +527,13 @@ const on = "_sidebarContainer_bmdti_1", sn = {
|
|
527
527
|
),
|
528
528
|
!r && /* @__PURE__ */ i(tt, {})
|
529
529
|
] });
|
530
|
-
},
|
531
|
-
wrapper:
|
532
|
-
profileImage:
|
533
|
-
teamName:
|
534
|
-
planLabel:
|
535
|
-
membership:
|
536
|
-
defaultProfileImage:
|
530
|
+
}, Un = "_wrapper_15d85_1", Mn = "_profileImage_15d85_14", Bn = "_teamName_15d85_22", $n = "_planLabel_15d85_29", zn = "_membership_15d85_38", Dn = "_defaultProfileImage_15d85_44", j = {
|
531
|
+
wrapper: Un,
|
532
|
+
profileImage: Mn,
|
533
|
+
teamName: Bn,
|
534
|
+
planLabel: $n,
|
535
|
+
membership: zn,
|
536
|
+
defaultProfileImage: Dn
|
537
537
|
}, gt = ({ team: e, onClick: t, hidePlanLabel: n }) => {
|
538
538
|
const { currentTeam: r, planId: a } = U(), o = e || r;
|
539
539
|
if (!o)
|
@@ -556,16 +556,16 @@ const on = "_sidebarContainer_bmdti_1", sn = {
|
|
556
556
|
]
|
557
557
|
}
|
558
558
|
);
|
559
|
-
},
|
560
|
-
teamsContainer:
|
561
|
-
},
|
559
|
+
}, Fn = "_teamsContainer_1t68g_1", Hn = {
|
560
|
+
teamsContainer: Fn
|
561
|
+
}, Gn = ({ onSwitchTeam: e }) => {
|
562
562
|
const { otherTeams: t } = U();
|
563
|
-
return t.length === 0 ? null : /* @__PURE__ */ i("div", { className: `flex-col items-stretch ${
|
564
|
-
},
|
565
|
-
container:
|
566
|
-
planCta:
|
567
|
-
upgradeIconWrapper:
|
568
|
-
},
|
563
|
+
return t.length === 0 ? null : /* @__PURE__ */ i("div", { className: `flex-col items-stretch ${Hn.teamsContainer}`, children: t.map((n) => /* @__PURE__ */ i(gt, { team: n, onClick: e, hidePlanLabel: !0 }, n.id)) });
|
564
|
+
}, Wn = "_container_1u995_1", Kn = "_planCta_1u995_15", Jn = "_upgradeIconWrapper_1u995_19", ce = {
|
565
|
+
container: Wn,
|
566
|
+
planCta: Kn,
|
567
|
+
upgradeIconWrapper: Jn
|
568
|
+
}, Qn = ({ upgradeOptionHref: e }) => {
|
569
569
|
const { planId: t, trialDaysLeft: n, showUpgradeCta: r } = U();
|
570
570
|
if (!r)
|
571
571
|
return null;
|
@@ -577,40 +577,40 @@ const on = "_sidebarContainer_bmdti_1", sn = {
|
|
577
577
|
/* @__PURE__ */ i("span", { children: "See upgrade options" })
|
578
578
|
] })
|
579
579
|
] });
|
580
|
-
}, I = ({ children: e, ...t }) => /* @__PURE__ */ i("nav", { ...t, className:
|
580
|
+
}, I = ({ children: e, ...t }) => /* @__PURE__ */ i("nav", { ...t, className: rn.sidebarContainer, children: e });
|
581
581
|
I.Top = ({ children: e }) => /* @__PURE__ */ i("div", { children: e });
|
582
582
|
I.Bottom = ({ children: e }) => /* @__PURE__ */ i("div", { children: e });
|
583
|
-
I.Avatar =
|
584
|
-
I.IconLink =
|
585
|
-
I.Menu =
|
586
|
-
I.ProfileMenu =
|
587
|
-
I.TeamSwitch =
|
583
|
+
I.Avatar = sn;
|
584
|
+
I.IconLink = un;
|
585
|
+
I.Menu = fn;
|
586
|
+
I.ProfileMenu = Ln;
|
587
|
+
I.TeamSwitch = Gn;
|
588
588
|
I.TeamMenuItem = gt;
|
589
|
-
I.UpgradeMenuItem =
|
590
|
-
I.ProfileSettingsMenuItem =
|
591
|
-
const
|
592
|
-
breadcrumbsItem:
|
593
|
-
breadcrumbs:
|
589
|
+
I.UpgradeMenuItem = Qn;
|
590
|
+
I.ProfileSettingsMenuItem = qn;
|
591
|
+
const Vn = "_breadcrumbsItem_1hm6a_1", Yn = "_breadcrumbs_1hm6a_1", Ke = {
|
592
|
+
breadcrumbsItem: Vn,
|
593
|
+
breadcrumbs: Yn
|
594
594
|
}, Jr = ({ items: e }) => /* @__PURE__ */ i("nav", { "aria-label": "breadcrumb", className: Ke.breadcrumbs, children: e.map((t, n) => /* @__PURE__ */ _(Ze, { children: [
|
595
595
|
/* @__PURE__ */ i(Xe, { className: Ke.breadcrumbsItem, href: t.link, rel: "noreferrer", children: t.name }),
|
596
596
|
n < e.length - 1 && /* @__PURE__ */ i("span", { children: " — " })
|
597
|
-
] }, `${t.link}-${t.name}`)) }),
|
597
|
+
] }, `${t.link}-${t.name}`)) }), Zn = ({ items: e }) => /* @__PURE__ */ i(Ve, { children: e.map((t, n) => /* @__PURE__ */ _(Ze, { children: [
|
598
598
|
!!n && t.some((r) => r.visible) && /* @__PURE__ */ i(tt, {}),
|
599
599
|
t.filter(({ visible: r }) => r).map(({ link: r, label: a, onClick: o }) => /* @__PURE__ */ i(H, { href: r || "#", "aria-label": a, onClick: o, children: a }, a))
|
600
|
-
] }, t[0].label)) }),
|
601
|
-
badge:
|
602
|
-
tag:
|
603
|
-
withNavLinkStyle:
|
604
|
-
disabled:
|
605
|
-
projectNavigationItem:
|
606
|
-
projectNavigationItemDisabled:
|
600
|
+
] }, t[0].label)) }), Xn = "_badge_1pc1v_1", er = "_tag_1pc1v_15", tr = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21", nr = "_disabled_1pc1v_57", rr = "_projectNavigationItem_1pc1v_61", ar = "_projectNavigationItemDisabled_1pc1v_67", C = {
|
601
|
+
badge: Xn,
|
602
|
+
tag: er,
|
603
|
+
withNavLinkStyle: tr,
|
604
|
+
disabled: nr,
|
605
|
+
projectNavigationItem: rr,
|
606
|
+
projectNavigationItemDisabled: ar
|
607
607
|
}, Je = ({ label: e, badge: t, novel: n }) => /* @__PURE__ */ _("div", { className: "flex gap-1", children: [
|
608
608
|
/* @__PURE__ */ _("div", { children: [
|
609
609
|
/* @__PURE__ */ i("span", { children: e }),
|
610
610
|
!!t && /* @__PURE__ */ i("div", { className: C.badge, "aria-label": `${t} items requiring attention`, children: t > 9 ? "9+" : t })
|
611
611
|
] }),
|
612
|
-
!!n && /* @__PURE__ */ i(
|
613
|
-
] }), le =
|
612
|
+
!!n && /* @__PURE__ */ i(Et, { className: C.tag, children: n })
|
613
|
+
] }), le = kt(
|
614
614
|
({ label: e, href: t = "", disabled: n = !1, badge: r, onClick: a, novel: o }, c) => /* @__PURE__ */ i(me, { tooltip: "You do not have access to this function", show: n, children: /* @__PURE__ */ i(
|
615
615
|
"div",
|
616
616
|
{
|
@@ -632,7 +632,7 @@ const Xn = "_breadcrumbsItem_1hm6a_1", er = "_breadcrumbs_1hm6a_1", Ke = {
|
|
632
632
|
) })
|
633
633
|
);
|
634
634
|
le.displayName = "NavigationTabsItem";
|
635
|
-
const
|
635
|
+
const ir = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible))) ?? !1, or = (e) => e.visible && (!e.dropdown || ir(e.dropdown)), Qr = ({ navigation: e, activeItem: t }) => /* @__PURE__ */ i("nav", { "aria-label": "Project", children: /* @__PURE__ */ i("ul", { className: A.navigationTabList, "aria-orientation": "horizontal", children: e.filter(or).map((n) => {
|
636
636
|
var r, a, o;
|
637
637
|
return n.dropdown ? /* @__PURE__ */ i(
|
638
638
|
"li",
|
@@ -644,7 +644,7 @@ const cr = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
|
|
644
644
|
fe,
|
645
645
|
{
|
646
646
|
menuButton: ({ opened: c }) => /* @__PURE__ */ i(le, { label: n.label, disabled: n.disabled, active: c }),
|
647
|
-
children: /* @__PURE__ */ i(he, { children: /* @__PURE__ */ i(
|
647
|
+
children: /* @__PURE__ */ i(he, { children: /* @__PURE__ */ i(Zn, { items: n.dropdown }) })
|
648
648
|
}
|
649
649
|
)
|
650
650
|
},
|
@@ -670,10 +670,54 @@ const cr = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
|
|
670
670
|
},
|
671
671
|
n.key
|
672
672
|
);
|
673
|
-
}) }) }),
|
673
|
+
}) }) }), sr = s.object({
|
674
|
+
lang_id: s.number(),
|
675
|
+
lang_iso: s.string(),
|
676
|
+
lang_name: s.string(),
|
677
|
+
is_writable: s.union([s.literal(0), s.literal(1)])
|
678
|
+
}), cr = s.object({
|
679
|
+
user_id: s.number(),
|
680
|
+
email: s.string().email(),
|
681
|
+
fullname: s.string(),
|
682
|
+
created_at: s.string(),
|
683
|
+
created_at_timestamp: s.number(),
|
684
|
+
admin_rights: s.array(s.string()),
|
685
|
+
languages: s.array(sr),
|
686
|
+
// TODO nic: Do I need this?
|
687
|
+
is_admin: s.boolean(),
|
688
|
+
is_reviewer: s.boolean()
|
689
|
+
}), lr = s.object({
|
690
|
+
project_id: s.string(),
|
691
|
+
contributors: s.array(cr)
|
692
|
+
}), ur = rt({
|
693
|
+
description: "Get the details of a project contributor",
|
694
|
+
requestPathParamsSchema: s.object({ projectId: s.string(), contributorId: s.number() }),
|
695
|
+
pathResolver: ({ projectId: e, contributorId: t }) => `/projects/${e}/contributors/${t}`,
|
696
|
+
successResponseBodySchema: lr
|
697
|
+
}), bt = s.union([
|
698
|
+
s.literal("owner"),
|
699
|
+
s.literal("admin"),
|
700
|
+
s.literal("biller"),
|
701
|
+
s.literal("member")
|
702
|
+
]), dr = s.object({
|
703
|
+
user_id: s.number(),
|
704
|
+
email: s.string().email(),
|
705
|
+
fullname: s.string(),
|
706
|
+
created_at: s.string(),
|
707
|
+
created_at_timestamp: s.number(),
|
708
|
+
role: bt
|
709
|
+
}), mr = s.object({
|
710
|
+
team_id: s.number(),
|
711
|
+
team_user: dr
|
712
|
+
}), fr = rt({
|
713
|
+
description: "Get the details of a team user",
|
714
|
+
requestPathParamsSchema: s.object({ teamId: s.number(), userId: s.number() }),
|
715
|
+
pathResolver: ({ teamId: e, userId: t }) => `/teams/${e}/users/${t}`,
|
716
|
+
successResponseBodySchema: mr
|
717
|
+
}), hr = s.object({
|
674
718
|
accessToken: s.string(),
|
675
719
|
refreshToken: s.string()
|
676
|
-
}), ve =
|
720
|
+
}), ve = Pt({
|
677
721
|
description: "Takes a teamId and returns a JWT token access and refresh token for the user",
|
678
722
|
method: "post",
|
679
723
|
requestPathParamsSchema: s.object({ teamId: s.number() }),
|
@@ -683,26 +727,32 @@ const cr = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
|
|
683
727
|
"x-csrf-token": s.string().optional()
|
684
728
|
}),
|
685
729
|
requestBodySchema: s.undefined(),
|
686
|
-
successResponseBodySchema:
|
687
|
-
}),
|
730
|
+
successResponseBodySchema: hr
|
731
|
+
}), gr = {
|
732
|
+
teamUserKey: (e, t) => ["GetTeamUsers", e, t]
|
733
|
+
}, br = (e, t) => be({
|
734
|
+
...t,
|
735
|
+
queryFn: ({ queryKey: [n, r, a] }) => nt(e, fr, { pathParams: { teamId: r, userId: a } })
|
736
|
+
}), pr = {
|
688
737
|
teamKey: (e) => ["getUserToken", e]
|
689
|
-
},
|
690
|
-
...
|
691
|
-
queryFn: ({ queryKey: [
|
692
|
-
pathParams: { teamId:
|
738
|
+
}, _r = (e, t) => be({
|
739
|
+
...t,
|
740
|
+
queryFn: ({ queryKey: [n, r] }) => ge(e, ve, {
|
741
|
+
pathParams: { teamId: r },
|
693
742
|
headers: {}
|
694
|
-
})
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
743
|
+
})
|
744
|
+
}), vr = {
|
745
|
+
projectUserKey: (e, t) => ["RetrieveContributor", e, t]
|
746
|
+
}, Tr = (e, t) => be({
|
747
|
+
...t,
|
748
|
+
queryFn: ({ queryKey: [n, r, a] }) => nt(e, ur, {
|
749
|
+
pathParams: { projectId: r, contributorId: a }
|
750
|
+
})
|
751
|
+
}), wr = s.object({
|
702
752
|
userId: s.number(),
|
703
753
|
userUuid: s.string(),
|
704
754
|
teamId: s.number(),
|
705
|
-
userTeamRole:
|
755
|
+
userTeamRole: bt,
|
706
756
|
userEmail: s.string().email(),
|
707
757
|
userName: s.string(),
|
708
758
|
userCurrentTeamId: s.number(),
|
@@ -715,7 +765,7 @@ const cr = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
|
|
715
765
|
function G(e) {
|
716
766
|
try {
|
717
767
|
const t = e.split(".")[1], n = atob(t);
|
718
|
-
return
|
768
|
+
return wr.parse(JSON.parse(n));
|
719
769
|
} catch {
|
720
770
|
return;
|
721
771
|
}
|
@@ -729,9 +779,10 @@ const F = class F extends CustomEvent {
|
|
729
779
|
};
|
730
780
|
Ne(F, "eventName", "new-jwt-issued");
|
731
781
|
let L = F;
|
732
|
-
|
733
|
-
|
734
|
-
|
782
|
+
function Vr(e, t) {
|
783
|
+
const n = _r(e, {
|
784
|
+
queryKey: pr.teamKey(t)
|
785
|
+
}), r = Ye();
|
735
786
|
return q(() => {
|
736
787
|
n.data && n.data.accessToken !== r.current && (window.dispatchEvent(new L(n.data)), r.current = n.data.accessToken);
|
737
788
|
}, [n.data]), n;
|
@@ -740,14 +791,14 @@ function Te() {
|
|
740
791
|
const e = ue(document.cookie, "accessToken"), t = ue(document.cookie, "refreshToken");
|
741
792
|
return !e || !t ? Promise.resolve(void 0) : Promise.resolve({ accessToken: e, refreshToken: t });
|
742
793
|
}
|
743
|
-
function
|
794
|
+
function yr() {
|
744
795
|
return Promise.resolve(ue(document.cookie, "csrf_token"));
|
745
796
|
}
|
746
797
|
function ue(e, t) {
|
747
798
|
var n, r;
|
748
799
|
return (r = (n = e.split(";").find((a) => a.trim().startsWith(`${t}=`))) == null ? void 0 : n.trim()) == null ? void 0 : r.substring(t.length + 1);
|
749
800
|
}
|
750
|
-
function
|
801
|
+
function pt() {
|
751
802
|
const [e, t] = de();
|
752
803
|
return q(() => {
|
753
804
|
let n = !1;
|
@@ -761,74 +812,20 @@ function _t() {
|
|
761
812
|
};
|
762
813
|
}, []), e;
|
763
814
|
}
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
created_at: s.string(),
|
769
|
-
created_at_timestamp: s.number(),
|
770
|
-
role: pt
|
771
|
-
}), gr = s.object({
|
772
|
-
team_id: s.number(),
|
773
|
-
team_user: hr
|
774
|
-
}), br = rt({
|
775
|
-
description: "Get the details of a team user",
|
776
|
-
requestPathParamsSchema: s.object({ teamId: s.number(), userId: s.number() }),
|
777
|
-
pathResolver: ({ teamId: e, userId: t }) => `/teams/${e}/users/${t}`,
|
778
|
-
successResponseBodySchema: gr
|
779
|
-
}), vt = {
|
780
|
-
teamUserKey: (e, t) => ["GetTeamUsers", e, t]
|
781
|
-
}, pr = (e, t, n, r) => be({
|
782
|
-
...r,
|
783
|
-
queryKey: vt.teamUserKey(t, n),
|
784
|
-
queryFn: ({ queryKey: [a, o, c] }) => nt(e, br, { pathParams: { teamId: o, userId: c } })
|
785
|
-
}), Zr = vt;
|
786
|
-
function Xr(e) {
|
787
|
-
const t = _t();
|
788
|
-
return pr(e, (t == null ? void 0 : t.teamId) ?? 0, (t == null ? void 0 : t.userId) ?? 0, {
|
789
|
-
enabled: t !== void 0
|
815
|
+
function Yr(e) {
|
816
|
+
const t = pt();
|
817
|
+
return br(e, {
|
818
|
+
queryKey: gr.teamUserKey((t == null ? void 0 : t.teamId) ?? 0, (t == null ? void 0 : t.userId) ?? 0)
|
790
819
|
});
|
791
820
|
}
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
is_writable: s.union([s.literal(0), s.literal(1)])
|
797
|
-
}), vr = s.object({
|
798
|
-
user_id: s.number(),
|
799
|
-
email: s.string().email(),
|
800
|
-
fullname: s.string(),
|
801
|
-
created_at: s.string(),
|
802
|
-
created_at_timestamp: s.number(),
|
803
|
-
admin_rights: s.array(s.string()),
|
804
|
-
languages: s.array(_r),
|
805
|
-
// TODO nic: Do I need this?
|
806
|
-
is_admin: s.boolean(),
|
807
|
-
is_reviewer: s.boolean()
|
808
|
-
}), Tr = s.object({
|
809
|
-
project_id: s.string(),
|
810
|
-
contributors: s.array(vr)
|
811
|
-
}), wr = rt({
|
812
|
-
description: "Get the details of a project contributor",
|
813
|
-
requestPathParamsSchema: s.object({ projectId: s.string(), contributorId: s.number() }),
|
814
|
-
pathResolver: ({ projectId: e, contributorId: t }) => `/projects/${e}/contributors/${t}`,
|
815
|
-
successResponseBodySchema: Tr
|
816
|
-
}), Tt = {
|
817
|
-
projectUserKey: (e, t) => ["RetrieveContributor", e, t]
|
818
|
-
}, yr = (e, t, n, r) => be({
|
819
|
-
...r,
|
820
|
-
queryKey: Tt.projectUserKey(n, t),
|
821
|
-
queryFn: ({ queryKey: [a, o, c] }) => nt(e, wr, {
|
822
|
-
pathParams: { projectId: o, contributorId: c }
|
823
|
-
})
|
824
|
-
}), ea = Tt;
|
825
|
-
function ta(e, t) {
|
826
|
-
const n = _t();
|
827
|
-
return yr(e, (n == null ? void 0 : n.userId) ?? 0, t, {
|
821
|
+
function Zr(e, t) {
|
822
|
+
const n = pt();
|
823
|
+
return Tr(e, {
|
824
|
+
queryKey: vr.projectUserKey(t, (n == null ? void 0 : n.userId) ?? 0),
|
828
825
|
enabled: n !== void 0
|
829
826
|
});
|
830
827
|
}
|
831
|
-
async function
|
828
|
+
async function Xr() {
|
832
829
|
const e = await Te();
|
833
830
|
if (!e)
|
834
831
|
return Promise.resolve(void 0);
|
@@ -889,7 +886,7 @@ function kr(e, t) {
|
|
889
886
|
});
|
890
887
|
};
|
891
888
|
}
|
892
|
-
const
|
889
|
+
const ea = {
|
893
890
|
wretch: {
|
894
891
|
lokaliseAuth(e = {}) {
|
895
892
|
return this.addon(Nr).lokaliseAuth(Qe(e));
|
@@ -904,7 +901,7 @@ function Qe(e) {
|
|
904
901
|
return {
|
905
902
|
...e,
|
906
903
|
getCachedJwtToken: e.getCachedJwtToken ?? Te,
|
907
|
-
getCsrfToken: "getCsrfToken" in e ? e.getCsrfToken :
|
904
|
+
getCsrfToken: "getCsrfToken" in e ? e.getCsrfToken : yr,
|
908
905
|
onNewJwtTokenIssued: (t) => {
|
909
906
|
var n;
|
910
907
|
return window.dispatchEvent(new L(t)), ((n = e.onNewJwtTokenIssued) == null ? void 0 : n.call(e, t)) ?? Promise.resolve();
|
@@ -914,30 +911,27 @@ function Qe(e) {
|
|
914
911
|
export {
|
915
912
|
Jr as Breadcrumbs,
|
916
913
|
ft as ENTERPRISE_OPENSOURCE_PLAN_ID,
|
917
|
-
|
918
|
-
|
914
|
+
En as ENTERPRISE_PLAN_IDS,
|
915
|
+
kn as ESSENTIAL_PLAN_IDS,
|
919
916
|
mt as FREE_PLAN_ID,
|
920
|
-
|
917
|
+
hr as JWT_TOKEN_SCHEMA,
|
921
918
|
Nr as LokaliseAuthAddon,
|
922
|
-
|
919
|
+
ea as LokaliseAuthBrowserAddon,
|
923
920
|
D as NavigationPanel,
|
924
921
|
Qr as NavigationTabs,
|
925
|
-
|
926
|
-
|
922
|
+
Sn as PRO_PLAN_IDS,
|
923
|
+
Nn as START_PLAN_IDS,
|
927
924
|
I as Sidebar,
|
928
|
-
|
929
|
-
|
930
|
-
ea as authenticatedContributorKeys,
|
931
|
-
Zr as authenticatedUserKeys,
|
925
|
+
dr as TEAM_USER_SCHEMA,
|
926
|
+
In as TRIAL_PLAN_ID,
|
932
927
|
Fr as convertNewLineToBreakTag,
|
933
928
|
Gr as formatDate,
|
934
929
|
Wr as formatDateTz,
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
vt as getTeamUsersQueryKey,
|
930
|
+
Xr as getAuthenticatedSessionDetailFromRequest,
|
931
|
+
fr as getTeamUser,
|
932
|
+
gr as getTeamUsersQueryKey,
|
939
933
|
ve as getUserToken,
|
940
|
-
|
934
|
+
pr as getUserTokenKey,
|
941
935
|
Dr as isEnterpriseOpenSourcePlan,
|
942
936
|
$r as isEnterprisePlan,
|
943
937
|
Mr as isEssentialPlan,
|
@@ -948,14 +942,14 @@ export {
|
|
948
942
|
ht as isTrialPlan,
|
949
943
|
Hr as makeUrlClickable,
|
950
944
|
G as parseJwtTokenPayload,
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
945
|
+
ur as retrieveContributor,
|
946
|
+
vr as retrieveContributorKeys,
|
947
|
+
Zr as useAuthenticatedProjectContributor,
|
948
|
+
pt as useAuthenticatedSessionPayload,
|
949
|
+
Yr as useAuthenticatedUser,
|
956
950
|
Kr as useEffectOnce,
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
951
|
+
Vr as useGetPromotedClassicSessionJwtQuery,
|
952
|
+
br as useGetTeamUsersQuery,
|
953
|
+
_r as useGetUserTokenQuery,
|
954
|
+
Tr as useRetrieveContributorQuery
|
961
955
|
};
|