@qratilabs/qrati-connect 1.12.0 → 1.13.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.
- package/AuthLayout-Bs1RLdvQ.js +42 -0
- package/AuthLayout-dF-iIwRH.js +43 -0
- package/CHANGELOG.md +12 -0
- package/{CPIOZS5X-BorecCp-.js → CPIOZS5X-ChJTjnx0.js} +1 -1
- package/{CPIOZS5X-DANHoUMH.js → CPIOZS5X-DJWVNckH.js} +2 -2
- package/{ContentsPage-DVQahVsy.js → ContentsPage-BffPvwo3.js} +4 -4
- package/{ContentsPage-CZHv2q4p.js → ContentsPage-BmyukIAZ.js} +4 -4
- package/CuratePage-D_cKsfYh.js +586 -0
- package/CuratePage-Dl-MU2gJ.js +587 -0
- package/{Dialog-Cv43KmPi.js → Dialog-Bs4eqKx1.js} +17 -17
- package/{Dialog-CgGoiE6_.js → Dialog-DcunCxOe.js} +26 -26
- package/{DotLottiePlayer-BomLEsxz.js → DotLottiePlayer-Qv7eCaWS.js} +1 -1
- package/{DotLottiePlayer-CFEx0sKD.js → DotLottiePlayer-mRqwkycQ.js} +1 -1
- package/ForgotPasswordPage-C8aVLBUy.js +417 -0
- package/ForgotPasswordPage-aHSXZbnP.js +416 -0
- package/{LazyLoadImage-BCbT8tZG.js → LazyLoadImage-Bu3H9BYF.js} +1 -1
- package/{LazyLoadImage-CMDdqI0N.js → LazyLoadImage-C4DrWhgv.js} +1 -1
- package/{LeaderboardPage-yea5g0IT.js → LeaderboardPage-CJb2f2J3.js} +37 -46
- package/{LeaderboardPage-Dp-unzO-.js → LeaderboardPage-Du83m7s6.js} +34 -43
- package/{LoginPage-dIFEWgtl.js → LoginPage-CdkQbaYh.js} +24 -24
- package/{LoginPage-BqFXPRQ6.js → LoginPage-dUv3BunJ.js} +18 -18
- package/{MediaGallery-D4KjZC3u.js → MediaGallery-Dz3a_sTA.js} +132 -131
- package/{MediaGallery-BrWVzHw3.js → MediaGallery-tTSBNtL4.js} +141 -140
- package/{OKF6E45R-DJ8Nk9Om.js → OKF6E45R-YseNpL64.js} +2 -2
- package/PublicEvents-Ctiea8xP.js +85 -0
- package/PublicEvents-DTexNwNy.js +86 -0
- package/{RegisterPage-D1bFgjmw.js → RegisterPage-CAEzZD-F.js} +32 -30
- package/{RegisterPage-DJb8u766.js → RegisterPage-rkC8UwqD.js} +53 -53
- package/{SocialLoginButton-DYoP_6hE.js → SocialLoginButton-BngjIjbF.js} +1 -1
- package/{SocialLoginButton-D84qIMBs.js → SocialLoginButton-D_OTbZmM.js} +1 -1
- package/{UploadPage-LiXqxvz2.js → UploadPage-CLU2vCbM.js} +2769 -2778
- package/{UploadPage-TUhrm8nm.js → UploadPage-CultBfQr.js} +3005 -3014
- package/{VideoPlayer-W1iQJ188.js → VideoPlayer-BVmS1z9L.js} +1 -1
- package/{VideoPlayer-eG5fGmeF.js → VideoPlayer-C4Zuy6-h.js} +1 -1
- package/{WXAWMS3D-CM6g8uiV.js → WXAWMS3D-D8CAMzKF.js} +1 -1
- package/{_commonjsHelpers-BItOPCY9.js → _commonjsHelpers-B4e78b8K.js} +2 -2
- package/element.es.js +1 -1
- package/{heic2any-CfcEtxYJ.js → heic2any-Dw-psmnv.js} +1 -1
- package/{heic2any-DmuwhcfW.js → heic2any-Po6wRjoV.js} +1 -1
- package/{index-Cpnhn0qY.js → index-BNUsJeuN.js} +4584 -4054
- package/{index-Cr2lQ20J.js → index-ChzsjYLR.js} +1 -1
- package/{index-Cxh1oACO.js → index-DDegEMhn.js} +15019 -14486
- package/{index-rIZclAGD.js → index-O4xJCcGD.js} +1 -1
- package/{index.esm-BuyJTnRt.js → index.esm-BASZTpmc.js} +2 -2
- package/{index.esm-D5I3rEz4.js → index.esm-Bf-WsYLs.js} +3 -3
- package/package.json +8 -9
- package/{photoswipe-DBzOkmWq.js → photoswipe-DW9dMXRX.js} +1 -1
- package/{photoswipe-CptzYZiR.js → photoswipe-U18MJHcG.js} +1 -1
- package/qrati-connect.css +1 -1
- package/react.es.js +1 -1
- package/styles.css +1 -2083
- package/web.es.js +1 -1
- package/AuthLayout-C2VNuOBg.js +0 -38
- package/AuthLayout-CeeW8xpE.js +0 -37
- package/CuratePage-CL_yVt7d.js +0 -608
- package/CuratePage-DRt6otwq.js +0 -609
- package/ForgotPasswordPage-CFX6YV5p.js +0 -1800
- package/ForgotPasswordPage-DIowNaGR.js +0 -1797
- package/PublicEvents-D00aVRFr.js +0 -409
- package/PublicEvents-g3Q8ytbg.js +0 -408
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { a as x, u as l, j as e, S as a, N as o, e as t, c as n, P as r, T as q, U as h } from "./index-DDegEMhn.js";
|
|
2
|
+
const j = () => {
|
|
3
|
+
var c;
|
|
4
|
+
const s = x(), { user: i, organizationLoading: d, loadingUser: m } = l();
|
|
5
|
+
return d || m ? /* @__PURE__ */ e.jsxs("div", { className: "qc-mx-auto qc-min-h-screen qc-max-w-lg qc-space-y-8 qc-py-8", children: [
|
|
6
|
+
/* @__PURE__ */ e.jsx(a, { className: "qc-h-8" }),
|
|
7
|
+
/* @__PURE__ */ e.jsx(a, { className: "qc-h-8" }),
|
|
8
|
+
/* @__PURE__ */ e.jsx(a, { className: "qc-h-8" }),
|
|
9
|
+
/* @__PURE__ */ e.jsx(a, { className: "qc-h-8" })
|
|
10
|
+
] }) : i ? /* @__PURE__ */ e.jsx(o, { replace: !0, to: ((c = s == null ? void 0 : s.state) == null ? void 0 : c.referrer) || "/" }) : /* @__PURE__ */ e.jsxs("div", { className: "qc-bg-primary qc-mx-auto qc-min-h-96 qc-max-w-md", children: [
|
|
11
|
+
/* @__PURE__ */ e.jsxs("div", { className: "qc-my-8 qc-flex qc-w-full qc-justify-around", children: [
|
|
12
|
+
/* @__PURE__ */ e.jsx(
|
|
13
|
+
t,
|
|
14
|
+
{
|
|
15
|
+
to: r.LOGIN,
|
|
16
|
+
state: s == null ? void 0 : s.state,
|
|
17
|
+
className: n(
|
|
18
|
+
s.pathname === r.LOGIN ? "qc-border-brand" : "qc-border-primary",
|
|
19
|
+
"qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
|
|
20
|
+
),
|
|
21
|
+
children: /* @__PURE__ */ e.jsx(q, { variant: "h5", align: "center", children: "Login" })
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ e.jsx(
|
|
25
|
+
t,
|
|
26
|
+
{
|
|
27
|
+
to: r.REGISTER,
|
|
28
|
+
state: s == null ? void 0 : s.state,
|
|
29
|
+
className: n(
|
|
30
|
+
s.pathname === r.REGISTER ? "qc-border-brand" : "qc-border-primary",
|
|
31
|
+
"qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
|
|
32
|
+
),
|
|
33
|
+
children: /* @__PURE__ */ e.jsx(q, { variant: "h5", align: "center", children: "Register" })
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ e.jsx(h, {})
|
|
38
|
+
] });
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
j as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { a as x, u as o, j as e, S as r, N as l, e as t, c as n, P as a, T as i, O as h } from "./index-BNUsJeuN.js";
|
|
2
|
+
import "react";
|
|
3
|
+
const p = () => {
|
|
4
|
+
var c;
|
|
5
|
+
const s = x(), { user: q, organizationLoading: m, loadingUser: d } = o();
|
|
6
|
+
return m || d ? /* @__PURE__ */ e.jsxs("div", { className: "qc-mx-auto qc-min-h-screen qc-max-w-lg qc-space-y-8 qc-py-8", children: [
|
|
7
|
+
/* @__PURE__ */ e.jsx(r, { className: "qc-h-8" }),
|
|
8
|
+
/* @__PURE__ */ e.jsx(r, { className: "qc-h-8" }),
|
|
9
|
+
/* @__PURE__ */ e.jsx(r, { className: "qc-h-8" }),
|
|
10
|
+
/* @__PURE__ */ e.jsx(r, { className: "qc-h-8" })
|
|
11
|
+
] }) : q ? /* @__PURE__ */ e.jsx(l, { replace: !0, to: ((c = s == null ? void 0 : s.state) == null ? void 0 : c.referrer) || "/" }) : /* @__PURE__ */ e.jsxs("div", { className: "qc-bg-primary qc-mx-auto qc-min-h-96 qc-max-w-md", children: [
|
|
12
|
+
/* @__PURE__ */ e.jsxs("div", { className: "qc-my-8 qc-flex qc-w-full qc-justify-around", children: [
|
|
13
|
+
/* @__PURE__ */ e.jsx(
|
|
14
|
+
t,
|
|
15
|
+
{
|
|
16
|
+
to: a.LOGIN,
|
|
17
|
+
state: s == null ? void 0 : s.state,
|
|
18
|
+
className: n(
|
|
19
|
+
s.pathname === a.LOGIN ? "qc-border-brand" : "qc-border-primary",
|
|
20
|
+
"qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
|
|
21
|
+
),
|
|
22
|
+
children: /* @__PURE__ */ e.jsx(i, { variant: "h5", align: "center", children: "Login" })
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ e.jsx(
|
|
26
|
+
t,
|
|
27
|
+
{
|
|
28
|
+
to: a.REGISTER,
|
|
29
|
+
state: s == null ? void 0 : s.state,
|
|
30
|
+
className: n(
|
|
31
|
+
s.pathname === a.REGISTER ? "qc-border-brand" : "qc-border-primary",
|
|
32
|
+
"qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
|
|
33
|
+
),
|
|
34
|
+
children: /* @__PURE__ */ e.jsx(i, { variant: "h5", align: "center", children: "Register" })
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
] }),
|
|
38
|
+
/* @__PURE__ */ e.jsx(h, {})
|
|
39
|
+
] });
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
p as default
|
|
43
|
+
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [1.12.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.11.6...v1.12.0) (2025-04-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update organizationId in Demo component; simplify ForgotPassword link styling; handle potential undefined email in ForgotPasswordStep1 ([01d0bd9](https://github.com/qrati-labs/qrati-connect-js/commit/01d0bd9998f0370709a24232f8ee51744e83bbb9))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add ForgotPasswordPage component and routing; include ProgressDots for step navigation; update styles for OTP input ([a5b93a2](https://github.com/qrati-labs/qrati-connect-js/commit/a5b93a2c8d039eceabf5eabf9fd4b11a565d818f))
|
|
12
|
+
|
|
1
13
|
## [1.11.6](https://github.com/qrati-labs/qrati-connect-js/compare/v1.11.5...v1.11.6) (2025-04-04)
|
|
2
14
|
|
|
3
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ps = Object.defineProperty;
|
|
2
2
|
var ws = (e, t, n) => t in e ? ps(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var _e = (e, t, n) => ws(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import {
|
|
4
|
+
import { X as we, Y as z, Z as Nt, _ as U, $ as D, a0 as y, a1 as Oo, a2 as K, a3 as _, a4 as k, a5 as V, a6 as F, a7 as xs, a8 as rr, a9 as xe, aa as j, ab as Vn, ac as Gn, ad as ut, ae as A, af as $s, ag as Dn, ah as Ne, ai as Cs, aj as Pt, ak as qt, al as Ss, am as ks, an as pn, ao as Es, ap as Rr, aq as Rt, ar as _o, as as Ds, at as Ms, au as W, av as zr, aw as As, ax as Fs, ay as or, az as Ts, aA as Is, aB as Rn, aC as Ls, aD as Ps, aE as oe, aF as Os, aG as _s, aH as qs } from "./index-DDegEMhn.js";
|
|
5
5
|
var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
|
|
6
6
|
function Ks(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./WXAWMS3D-
|
|
2
|
-
import {
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./WXAWMS3D-D8CAMzKF.js";
|
|
2
|
+
import { M as d, U as f, V as e } from "./index-BNUsJeuN.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as X, i as G, h as Z, f as tt, g as et, l as v, b as O, u as D, m as w, k as _, A as N, n as j, D as L, o as z, p as rt, C, q as nt, j as s, c as P, s as at, t as W, v as st, w as T, R as S, x as ot, y as it, S as lt, z as ct, P as ft, E as ht } from "./index-
|
|
1
|
+
import { Q as X, i as G, h as Z, f as tt, g as et, l as v, b as O, u as D, m as w, k as _, A as N, n as j, D as L, o as z, p as rt, C, q as nt, j as s, c as P, s as at, t as W, v as st, w as T, R as S, x as ot, y as it, S as lt, z as ct, P as ft, E as ht } from "./index-DDegEMhn.js";
|
|
2
2
|
var ut = class extends X {
|
|
3
3
|
constructor(r, n) {
|
|
4
4
|
super(r, n);
|
|
@@ -359,7 +359,7 @@ const yt = () => {
|
|
|
359
359
|
}, jt = ({
|
|
360
360
|
engagementStyle: r,
|
|
361
361
|
sort: n = L,
|
|
362
|
-
|
|
362
|
+
order: e = z,
|
|
363
363
|
onSortChange: t,
|
|
364
364
|
onSortOrderChange: a
|
|
365
365
|
}) => {
|
|
@@ -566,11 +566,11 @@ var Ct = (
|
|
|
566
566
|
}, n;
|
|
567
567
|
}(v.Component)
|
|
568
568
|
);
|
|
569
|
-
const Rt = v.lazy(() => import("./MediaGallery-
|
|
569
|
+
const Rt = v.lazy(() => import("./MediaGallery-tTSBNtL4.js").then((r) => r.M)), qt = () => {
|
|
570
570
|
const { eventSlug: r } = ot(), { loadingUser: n } = D(), [e, t] = v.useState(L), [a, o] = v.useState(z), { event: l, ads: i } = it({ eventSlug: r }), { loading: f, contentsWithAds: c, hasNextPage: u, fetchNextPage: h } = bt({ event: l, ads: i, sort: e, order: a }), { incrementEventView: x } = yt();
|
|
571
571
|
return v.useEffect(() => {
|
|
572
572
|
l && x(l == null ? void 0 : l.slug);
|
|
573
|
-
}, [l]), /* @__PURE__ */ s.jsxs("div", { className: "qc-mx-auto qc-mt-6 qc-space-y-6", children: [
|
|
573
|
+
}, [l]), /* @__PURE__ */ s.jsxs("div", { className: "qc-mx-auto qc-mt-6 qc-min-h-96 qc-space-y-6", children: [
|
|
574
574
|
/* @__PURE__ */ s.jsx("div", { className: "qc-flex qc-justify-end", children: /* @__PURE__ */ s.jsx(
|
|
575
575
|
jt,
|
|
576
576
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as Z, i as G, h as tt, f as et, g as rt, b as O, u as D, l as v, k as _, A as j, m as A, D as L, n as z, o as nt, C as N, p as at, j as s, c as b, q as st, r as Q, s as ot, t as E, v as it, w as lt, S as ct, x as ft, P as ht, E as ut } from "./index-
|
|
1
|
+
import { Q as Z, i as G, h as tt, f as et, g as rt, b as O, u as D, l as v, k as _, A as j, m as A, D as L, n as z, o as nt, C as N, p as at, j as s, c as b, q as st, r as Q, s as ot, t as E, v as it, w as lt, S as ct, x as ft, P as ht, E as ut } from "./index-BNUsJeuN.js";
|
|
2
2
|
import T, { useRef as dt, useMemo as C, Component as mt, useState as H, useEffect as pt, lazy as xt } from "react";
|
|
3
3
|
var gt = class extends Z {
|
|
4
4
|
constructor(r, n) {
|
|
@@ -360,7 +360,7 @@ const Pt = () => {
|
|
|
360
360
|
}, qt = ({
|
|
361
361
|
engagementStyle: r,
|
|
362
362
|
sort: n = L,
|
|
363
|
-
|
|
363
|
+
order: e = z,
|
|
364
364
|
onSortChange: t,
|
|
365
365
|
onSortOrderChange: a
|
|
366
366
|
}) => {
|
|
@@ -567,11 +567,11 @@ var Lt = (
|
|
|
567
567
|
}, n;
|
|
568
568
|
}(mt)
|
|
569
569
|
);
|
|
570
|
-
const zt = xt(() => import("./MediaGallery-
|
|
570
|
+
const zt = xt(() => import("./MediaGallery-Dz3a_sTA.js").then((r) => r.M)), It = () => {
|
|
571
571
|
const { eventSlug: r } = it(), { loadingUser: n } = D(), [e, t] = H(L), [a, o] = H(z), { event: l, ads: i } = lt({ eventSlug: r }), { loading: f, contentsWithAds: c, hasNextPage: u, fetchNextPage: h } = Nt({ event: l, ads: i, sort: e, order: a }), { incrementEventView: x } = Pt();
|
|
572
572
|
return pt(() => {
|
|
573
573
|
l && x(l == null ? void 0 : l.slug);
|
|
574
|
-
}, [l]), /* @__PURE__ */ s.jsxs("div", { className: "qc-mx-auto qc-mt-6 qc-space-y-6", children: [
|
|
574
|
+
}, [l]), /* @__PURE__ */ s.jsxs("div", { className: "qc-mx-auto qc-mt-6 qc-min-h-96 qc-space-y-6", children: [
|
|
575
575
|
/* @__PURE__ */ s.jsx("div", { className: "qc-flex qc-justify-end", children: /* @__PURE__ */ s.jsx(
|
|
576
576
|
qt,
|
|
577
577
|
{
|