@qratilabs/qrati-connect 1.2.0 → 1.3.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.
@@ -1,5 +1,5 @@
1
- import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./67EVQ76A-DSDu-UYo.js";
2
- import { J as v, K as C, L as e } from "./index-CBXvffZO.js";
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./67EVQ76A-DvblM30l.js";
2
+ import { J as v, K as C, L as e } from "./index-GXMWQf1x.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,7 +1,7 @@
1
1
  var bs = Object.defineProperty;
2
2
  var ps = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var _e = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { M as xe, O as z, P as Tt, T as U, K as D, L as m, U as qo, V as B, W as _, X as k, Y as V, Z as T, $ as ws, a0 as rr, a1 as $e, a2 as j, a3 as Vn, a4 as Gn, a5 as ut, a6 as A, a7 as xs, a8 as ln, a9 as Ne, aa as $s, ab as _t, ac as zt, ad as Cs, ae as Ss, af as xn, ag as ks, ah as Kr, ai as Kt, aj as Ro, ak as Es, al as Ds, am as W, an as Br, ao as Ms, ap as As, aq as or, ar as Ts, as as Fs, at as Rn, au as Is, av as Ps, aw as oe, ax as Ls, ay as Os } from "./index-CBXvffZO.js";
4
+ import { M as xe, O as z, P as Tt, T as U, K as D, L as m, U as qo, V as B, W as _, X as k, Y as V, Z as T, $ as ws, a0 as rr, a1 as $e, a2 as j, a3 as Vn, a4 as Gn, a5 as ut, a6 as A, a7 as xs, a8 as ln, a9 as Ne, aa as $s, ab as _t, ac as zt, ad as Cs, ae as Ss, af as xn, ag as ks, ah as Kr, ai as Kt, aj as Ro, ak as Es, al as Ds, am as W, an as Br, ao as Ms, ap as As, aq as or, ar as Ts, as as Fs, at as Rn, au as Is, av as Ps, aw as oe, ax as Ls, ay as Os } from "./index-GXMWQf1x.js";
5
5
  var _s = (e) => e != null, qs = (e) => e.filter(_s);
6
6
  function Rs(e) {
7
7
  return (...t) => {
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # [1.2.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.1.0...v1.2.0) (2025-03-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * add console log for props in QratiConnect component for debugging purposes ([d8616ac](https://github.com/qrati-labs/qrati-connect-js/commit/d8616ac6286e0dee19367ee385d7d03f36129280))
7
+ * add DemoPage component and update index.js to export it ([4425db0](https://github.com/qrati-labs/qrati-connect-js/commit/4425db0e0f988201a766ef96d66774228bcdb10a))
8
+ * update DemoPage component text to indicate it has been updated ([31a4782](https://github.com/qrati-labs/qrati-connect-js/commit/31a4782cafc7b641f2eeb80dc6c86eb85a0a9339))
9
+ * update DemoPage text and disable minification in Vite config ([5310692](https://github.com/qrati-labs/qrati-connect-js/commit/53106925509a5304f6338a43f874d8697e1bc5fa))
10
+ * update index.js to export QratiConnect and remove minification in Vite config ([0abc60a](https://github.com/qrati-labs/qrati-connect-js/commit/0abc60ad87805f9c96689b69be04b858964bcf8c))
11
+
1
12
  # [1.1.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.0.1...v1.1.0) (2025-03-20)
2
13
 
3
14
 
@@ -1,6 +1,6 @@
1
1
  import * as i from "react";
2
2
  import { useState as Re } from "react";
3
- import { j as L, r as Ae, q as $, _ as A, H as he, I as Te } from "./index-CBXvffZO.js";
3
+ import { j as L, r as Ae, q as $, _ as A, H as he, I as Te } from "./index-GXMWQf1x.js";
4
4
  import * as Le from "react-dom";
5
5
  import Oe from "react-dom";
6
6
  function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
@@ -1,8 +1,8 @@
1
- import { Q as Hn, i as St, h as Vn, b as Un, d as Yn, j as m, c as re, e as Wn, C as Ye, f as Le, g as Gn, D as zt, l as _e, m as $t, n as Y, N as Zn, o as Kn, p as et, k as Bt, q as je, r as Xn, u as tt, s as Qn, G as He, t as Jn, v as ei, S as ti, E as ni, w as ii } from "./index-CBXvffZO.js";
1
+ import { Q as Hn, i as St, h as Vn, b as Un, d as Yn, j as m, c as re, e as Wn, C as Ye, f as Le, g as Gn, D as zt, l as _e, m as $t, n as Y, N as Zn, o as Kn, p as et, k as Bt, q as je, r as Xn, u as tt, s as Qn, G as He, t as Jn, v as ei, S as ti, E as ni, w as ii } from "./index-GXMWQf1x.js";
2
2
  import * as b from "react";
3
3
  import Ae, { useMemo as ee, useReducer as si, useRef as nt, useCallback as oi, forwardRef as he, createElement as ri, Fragment as ai, useLayoutEffect as li, useEffect as Ht, useState as We, Component as ci } from "react";
4
- import { L as di } from "./LazyLoadImage-DFjKGE4F.js";
5
- import { P as Ee, u as Ge, c as Vt, a as ui, b as Ut, d as hi, h as fi, R as pi, e as we, f as mi, F as gi, D as yi, g as wi, i as vi } from "./Combination-yA87--ta.js";
4
+ import { L as di } from "./LazyLoadImage-Z6QBjq9z.js";
5
+ import { P as Ee, u as Ge, c as Vt, a as ui, b as Ut, d as hi, h as fi, R as pi, e as we, f as mi, F as gi, D as yi, g as wi, i as vi } from "./Combination-DzvtWD5j.js";
6
6
  import * as xi from "react-dom";
7
7
  var bi = class extends Hn {
8
8
  constructor(t, e) {
@@ -3823,7 +3823,7 @@ const er = ({ eventId: t, contentId: e, emojis: n = [], counts: i = {}, userReac
3823
3823
  wheelToZoom: !0,
3824
3824
  pinchToClose: !0,
3825
3825
  zoom: !1,
3826
- pswpModule: () => import("./photoswipe-mKv4LDH_.js")
3826
+ pswpModule: () => import("./photoswipe-DoGNFlYF.js")
3827
3827
  });
3828
3828
  a.current = d, new bs(d), new Ts(d), new Ps(d), new Cs(d), d.init();
3829
3829
  }
@@ -1,4 +1,4 @@
1
- import { j as T1, c as B3 } from "./index-CBXvffZO.js";
1
+ import { j as T1, c as B3 } from "./index-GXMWQf1x.js";
2
2
  import { useState as G2, useRef as x1, useEffect as R, useCallback as H3 } from "react";
3
3
  var N3 = Object.defineProperty, V3 = Object.defineProperties, J3 = Object.getOwnPropertyDescriptors, N1 = Object.getOwnPropertySymbols, X2 = Object.prototype.hasOwnProperty, Y2 = Object.prototype.propertyIsEnumerable, p2 = (h, n, i) => n in h ? N3(h, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : h[n] = i, z = (h, n) => {
4
4
  for (var i in n || (n = {})) X2.call(n, i) && p2(h, i, n[i]);
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./67EVQ76A-DSDu-UYo.js";
2
- import { J as d, K as f, L as e } from "./index-CBXvffZO.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./67EVQ76A-DvblM30l.js";
2
+ import { J as d, K as f, L as e } from "./index-GXMWQf1x.js";
3
3
  var p = (a) => {
4
4
  const [r, t] = c({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { j as V, c as k } from "./index-CBXvffZO.js";
1
+ import { j as V, c as k } from "./index-GXMWQf1x.js";
2
2
  import * as p from "react";
3
3
  import { useRef as z, useState as D } from "react";
4
4
  var B = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "#", "$", "%", "*", "+", ",", "-", ".", ":", ";", "=", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~"], g = (e) => {
@@ -1,4 +1,4 @@
1
- import { j as c, t as N, u as y, v as g, k as v, c as b, f as m } from "./index-CBXvffZO.js";
1
+ import { j as c, t as N, u as y, v as g, k as v, c as b, f as m } from "./index-GXMWQf1x.js";
2
2
  import { useState as f, useEffect as w, Fragment as S } from "react";
3
3
  const u = ({ title: q, entries: s = [], showFloatingPoint: a = !1, hidePictures: d = !0 }) => {
4
4
  var i, l, o, e, n, x;
@@ -1,6 +1,6 @@
1
- import { u as m, a as u, j as s, S as q, N as h, E as l, c as g, k as n } from "./index-CBXvffZO.js";
1
+ import { u as m, a as u, j as s, S as q, N as h, E as l, c as g, k as n } from "./index-GXMWQf1x.js";
2
2
  import "react";
3
- import { L as t } from "./LazyLoadImage-DFjKGE4F.js";
3
+ import { L as t } from "./LazyLoadImage-Z6QBjq9z.js";
4
4
  const p = (r) => r === l.UPCOMING ? "qc-bg-warning" : r === l.CLOSED ? "qc-bg-error" : "qc-bg-success", b = () => {
5
5
  const { organizationId: r } = m(), { isLoading: d, data: a } = u({
6
6
  queryKey: [`public-events-${r}`],
@@ -1,9 +1,9 @@
1
- import { j as t, q as re, r as Ge, u as pe, s as We, c as A, R as Z, t as Be, p as Ve, v as Ue, k as V, A as de, S as J, E as Q, n as ue, B as He, F as Ye } from "./index-CBXvffZO.js";
1
+ import { j as t, q as re, r as Ge, u as pe, s as We, c as A, R as Z, t as Be, p as Ve, v as Ue, k as V, A as de, S as J, E as Q, n as ue, B as He, F as Ye } from "./index-GXMWQf1x.js";
2
2
  import * as x from "react";
3
3
  import { useState as T, useEffect as ce, lazy as se } from "react";
4
- import { g as Xe, c as Ke, i as ee, b as oe, d as Ze, P as H, e as U, h as Je, R as Qe, f as et, F as tt, D as rt, j as ct } from "./Combination-yA87--ta.js";
5
- import { L as st } from "./LazyLoadImage-DFjKGE4F.js";
6
- import { V as ot } from "./VideoPlayer-nPNshCFq.js";
4
+ import { g as Xe, c as Ke, i as ee, b as oe, d as Ze, P as H, e as U, h as Je, R as Qe, f as et, F as tt, D as rt, j as ct } from "./Combination-DzvtWD5j.js";
5
+ import { L as st } from "./LazyLoadImage-Z6QBjq9z.js";
6
+ import { V as ot } from "./VideoPlayer-JRYIlnur.js";
7
7
  var ae = "Dialog", [xe, Ft] = Ke(ae), [at, I] = xe(ae), he = (e) => {
8
8
  const {
9
9
  __scopeDialog: r,
@@ -387,7 +387,7 @@ const qe = (e, r) => `${Number.parseFloat((e == null ? void 0 : e.toFixed(r)) ??
387
387
  }
388
388
  )
389
389
  ] });
390
- }, jt = se(() => import("./index-O4xJCcGD.js").then((e) => e.i)), wt = se(() => import("./DotLottiePlayer-BDkvIJTA.js")), bt = ({ feedback: e }) => {
390
+ }, jt = se(() => import("./index-O4xJCcGD.js").then((e) => e.i)), wt = se(() => import("./DotLottiePlayer-Bscq3rg6.js")), bt = ({ feedback: e }) => {
391
391
  const r = "#374151", [s, o] = T(10);
392
392
  return ce(() => {
393
393
  const c = (e && e.parameters || []).reduce((a, n) => a + Math.abs(parseFloat(n.crowdRating) - parseFloat(n.userRating)), 0);
@@ -438,7 +438,7 @@ const qe = (e, r) => `${Number.parseFloat((e == null ? void 0 : e.toFixed(r)) ??
438
438
  /* @__PURE__ */ t.jsx("div", { className: "qc-absolute qc-inset-0 qc-flex qc-items-center", children: /* @__PURE__ */ t.jsx("div", { className: "qc-h-[0.05rem] qc-w-full qc-bg-gradient-to-r qc-from-transparent qc-via-text-primary-light qc-to-transparent dark:qc-via-text-primary-dark" }) }),
439
439
  !!r && /* @__PURE__ */ t.jsx("div", { className: "qc-relative qc-flex qc-justify-center", children: /* @__PURE__ */ t.jsx("span", { className: A("qc-text-primary qc-px-2 qc-font-medium", o), children: r }) })
440
440
  ] });
441
- }, _t = se(() => import("./DotLottiePlayer-BDkvIJTA.js")), Rt = ({ parameter: e, selected: r, onChange: s, showValues: o = !0 }) => /* @__PURE__ */ t.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
441
+ }, _t = se(() => import("./DotLottiePlayer-Bscq3rg6.js")), Rt = ({ parameter: e, selected: r, onChange: s, showValues: o = !0 }) => /* @__PURE__ */ t.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
442
442
  /* @__PURE__ */ t.jsx(
443
443
  Ct,
444
444
  {
@@ -1,7 +1,7 @@
1
- import { j as q, n as qn, c as Dt, x as ct, y as Be, t as Cd, u as Fd, p as wd, v as _d, k as Fo, z as Je, E as Rd, S as Dd } from "./index-CBXvffZO.js";
1
+ import { j as q, n as qn, c as Dt, x as ct, y as Be, t as Cd, u as Fd, p as wd, v as _d, k as Fo, z as Je, E as Rd, S as Dd } from "./index-GXMWQf1x.js";
2
2
  import * as ws from "react";
3
3
  import Hn, { useDebugValue as wo, createElement as mu, useRef as He, useContext as Ae, useState as De, useCallback as St, useEffect as Bt, createContext as Sn, useLayoutEffect as Md, useId as _s, useInsertionEffect as gu, useMemo as it, Children as Od, isValidElement as Nd, forwardRef as Ld, Fragment as Rs, Component as Ud } from "react";
4
- import { V as kd } from "./VideoPlayer-nPNshCFq.js";
4
+ import { V as kd } from "./VideoPlayer-JRYIlnur.js";
5
5
  const Te = [];
6
6
  for (let e = 0; e < 256; ++e)
7
7
  Te.push((e + 256).toString(16).slice(1));
@@ -724,7 +724,7 @@ var fh = {
724
724
  strokeMiterlimit: 1,
725
725
  strokeOpacity: 1,
726
726
  strokeWidth: 1
727
- }, $t = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Iu = "active", Pu = "data-styled-version", Yr = "6.1.15", Os = `/*!sc*/
727
+ }, $t = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Iu = "active", Pu = "data-styled-version", Yr = "6.1.16", Os = `/*!sc*/
728
728
  `, _r = typeof window < "u" && "HTMLElement" in window, dh = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), No = /invalid hook call/i, sr = /* @__PURE__ */ new Set(), hh = function(e, t) {
729
729
  if (process.env.NODE_ENV !== "production") {
730
730
  var n = t ? ' with the id of "'.concat(t, '"') : "", r = "The component ".concat(e).concat(n, ` has been created dynamically.
@@ -1,4 +1,4 @@
1
- import { j as t, c as R } from "./index-CBXvffZO.js";
1
+ import { j as t, c as R } from "./index-GXMWQf1x.js";
2
2
  import { useRef as i, useState as g, useCallback as h, useEffect as d } from "react";
3
3
  const k = ({
4
4
  src: m,