@leatcom/portal-sessions 0.0.106 → 0.0.109
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/portal-sessions.es.js +19 -18
- package/dist/portal-sessions.umd.js +10 -10
- package/package.json +1 -1
- package/dist/calendar-DatiUSvc.js.map +0 -1
- package/dist/camera-switch-BG4ghgtr.js.map +0 -1
- package/dist/caret-left-BzIJ4OR3.js.map +0 -1
- package/dist/close-BOnvojez.js.map +0 -1
- package/dist/crossBlack-D3AScCz7.js.map +0 -1
- package/dist/dollar-BiByq0t0.js.map +0 -1
- package/dist/edit-GxItFJF8.js.map +0 -1
- package/dist/home-BRXF8Ydg.js.map +0 -1
- package/dist/information-kCveus0e.js.map +0 -1
- package/dist/mail-Dn-PppcI.js.map +0 -1
- package/dist/notificationErrorV2-BT7C7lnC.js.map +0 -1
- package/dist/notificationSuccessV2-CD4Nzkx1.js.map +0 -1
- package/dist/notificationWarningV2-Ce-MU9nv.js.map +0 -1
- package/dist/portal-sessions.es.js.map +0 -1
- package/dist/portal-sessions.umd.js.map +0 -1
- package/dist/qr-scanner-worker.min-BT9FO00c.js.map +0 -1
- package/dist/settings-iI_Z4aYk.js.map +0 -1
- package/dist/shopping-bag-gCcU6Sk5.js.map +0 -1
- package/dist/star-B5vZfVjf.js.map +0 -1
- package/dist/user-CefiGOdl.js.map +0 -1
|
@@ -6,7 +6,7 @@ import Se, { createContext as sa, useContext as Qo, useEffect as je, useLayoutEf
|
|
|
6
6
|
import { unstable_batchedUpdates as WE } from "react-dom";
|
|
7
7
|
try {
|
|
8
8
|
let t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, e = new t.Error().stack;
|
|
9
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "
|
|
9
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "0ded05d6-62eb-4d4f-bf47-758f56cd8d2f", t._sentryDebugIdIdentifier = "sentry-dbid-0ded05d6-62eb-4d4f-bf47-758f56cd8d2f");
|
|
10
10
|
} catch {
|
|
11
11
|
}
|
|
12
12
|
{
|
|
@@ -35,7 +35,7 @@ function YE(t, e) {
|
|
|
35
35
|
}
|
|
36
36
|
{
|
|
37
37
|
let t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
38
|
-
t.SENTRY_RELEASE = { id: "
|
|
38
|
+
t.SENTRY_RELEASE = { id: "4264ea7762a4f3a3276999f5aa1c78ca85aef1d3" };
|
|
39
39
|
}
|
|
40
40
|
var pi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
41
41
|
function Dd(t) {
|
|
@@ -10121,11 +10121,12 @@ function HC({ option: { label: t }, checked: e, onChange: n }) {
|
|
|
10121
10121
|
] });
|
|
10122
10122
|
}
|
|
10123
10123
|
function $C(t) {
|
|
10124
|
+
var f;
|
|
10124
10125
|
const { t: e } = qe(), n = Ye(null), [r, o] = ve(!1);
|
|
10125
10126
|
Nm(n, o);
|
|
10126
|
-
const [i, a] = ve(""), [s, c] = ve(t.value.split(";")), { name: l, onChange: d } = t, h = (
|
|
10127
|
-
let
|
|
10128
|
-
|
|
10127
|
+
const [i, a] = ve(""), [s, c] = ve(((f = t.value) == null ? void 0 : f.split(";")) ?? []), { name: l, onChange: d } = t, h = (p, u) => {
|
|
10128
|
+
let g = [];
|
|
10129
|
+
p ? g = [...s, u] : g = s.filter((m) => m !== u), c(g), d && d(l ?? "", g.join(";"));
|
|
10129
10130
|
};
|
|
10130
10131
|
return /* @__PURE__ */ v.jsxs("div", { ref: n, className: "flex flex-col gap-2 antialiased", children: [
|
|
10131
10132
|
/* @__PURE__ */ v.jsx(Qn, { disabled: t.disabled, htmlFor: t.id, required: t.required, children: t.label }),
|
|
@@ -10140,26 +10141,26 @@ function $C(t) {
|
|
|
10140
10141
|
"div",
|
|
10141
10142
|
{
|
|
10142
10143
|
className: `flex gap-1 overflow-hidden text-sm ${t.disabled ? "text-core-gray-300" : "text-core-gray-800"}`,
|
|
10143
|
-
children: s.map((
|
|
10144
|
-
var
|
|
10145
|
-
const
|
|
10144
|
+
children: s.map((p) => {
|
|
10145
|
+
var g;
|
|
10146
|
+
const u = (g = t.options.find((m) => m.value === p)) == null ? void 0 : g.label;
|
|
10146
10147
|
return /* @__PURE__ */ v.jsxs(
|
|
10147
10148
|
"div",
|
|
10148
10149
|
{
|
|
10149
10150
|
className: "pointer-events-none flex items-center overflow-hidden rounded bg-core-gray-100 px-1.5 py-0.5",
|
|
10150
10151
|
children: [
|
|
10151
|
-
/* @__PURE__ */ v.jsx("p", { className: "truncate", children:
|
|
10152
|
+
/* @__PURE__ */ v.jsx("p", { className: "truncate", children: u }),
|
|
10152
10153
|
/* @__PURE__ */ v.jsx(
|
|
10153
10154
|
"span",
|
|
10154
10155
|
{
|
|
10155
10156
|
className: "pointer-events-auto cursor-pointer",
|
|
10156
|
-
onClick: () => h(!1,
|
|
10157
|
+
onClick: () => h(!1, p),
|
|
10157
10158
|
children: /* @__PURE__ */ v.jsx(Pn, { icon: "close" })
|
|
10158
10159
|
}
|
|
10159
10160
|
)
|
|
10160
10161
|
]
|
|
10161
10162
|
},
|
|
10162
|
-
|
|
10163
|
+
p
|
|
10163
10164
|
);
|
|
10164
10165
|
})
|
|
10165
10166
|
}
|
|
@@ -10173,17 +10174,17 @@ function $C(t) {
|
|
|
10173
10174
|
{
|
|
10174
10175
|
className: `absolute left-0 right-0 top-11 z-50 rounded border bg-core-white-900 shadow-xl ${!r && "hidden"} py-2`,
|
|
10175
10176
|
children: [
|
|
10176
|
-
t.options.length > 6 && /* @__PURE__ */ v.jsx("div", { className: "px-4", children: /* @__PURE__ */ v.jsx(Ni, { placeholder: `${e("search")}...`, onChange: (
|
|
10177
|
-
t.options.map((
|
|
10178
|
-
if (!(i && !
|
|
10177
|
+
t.options.length > 6 && /* @__PURE__ */ v.jsx("div", { className: "px-4", children: /* @__PURE__ */ v.jsx(Ni, { placeholder: `${e("search")}...`, onChange: (p) => a(p.target.value) }) }),
|
|
10178
|
+
t.options.map((p) => {
|
|
10179
|
+
if (!(i && !p.label.toLowerCase().includes(i.toLowerCase())))
|
|
10179
10180
|
return /* @__PURE__ */ v.jsx(
|
|
10180
10181
|
HC,
|
|
10181
10182
|
{
|
|
10182
|
-
option:
|
|
10183
|
-
checked: s.includes(
|
|
10184
|
-
onChange: (
|
|
10183
|
+
option: p,
|
|
10184
|
+
checked: s.includes(p.value),
|
|
10185
|
+
onChange: (u) => h(u, p.value)
|
|
10185
10186
|
},
|
|
10186
|
-
`${
|
|
10187
|
+
`${p.value}_${s.includes(p.value) ? "checked" : "unchecked"}`
|
|
10187
10188
|
);
|
|
10188
10189
|
})
|
|
10189
10190
|
]
|