@fileverse-dev/ddoc 2.3.0-patch-8 → 2.3.0-patch-9
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,4 +1,4 @@
|
|
1
|
-
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-
|
1
|
+
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-Cn3WcLd1.mjs";
|
2
2
|
class S extends p {
|
3
3
|
constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
|
4
4
|
var o;
|
@@ -89048,7 +89048,7 @@ async function t5(e, t) {
|
|
89048
89048
|
});
|
89049
89049
|
return J === "0x" ? { data: void 0 } : { data: J };
|
89050
89050
|
} catch (U) {
|
89051
|
-
const z = C7t(U), { offchainLookup: O, offchainLookupSignature: H } = await import("./ccip-
|
89051
|
+
const z = C7t(U), { offchainLookup: O, offchainLookupSignature: H } = await import("./ccip-BH8NAmYB.mjs");
|
89052
89052
|
if (e.ccipRead !== !1 && (z == null ? void 0 : z.slice(0, 10)) === H && x)
|
89053
89053
|
return { data: await O(e, { data: z, to: x }) };
|
89054
89054
|
throw D && (z == null ? void 0 : z.slice(0, 10)) === "0x101bb98d" ? new Tkt({ factory: u }) : mQ(U, {
|
@@ -103642,7 +103642,7 @@ const aSt = /* @__PURE__ */ q1(iSt), dh = () => {
|
|
103642
103642
|
});
|
103643
103643
|
const w = /* @__PURE__ */ F.jsxs("div", { className: "px-4 py-2 min-w-[300px] color-bg-default rounded-lg shadow-elevation-3 space-y-3 border color-border-default", children: [
|
103644
103644
|
/* @__PURE__ */ F.jsxs("div", { className: "flex justify-between items-center", children: [
|
103645
|
-
/* @__PURE__ */ F.jsx("h3", { className: "text-heading-xsm", children: "Create reminder" }),
|
103645
|
+
/* @__PURE__ */ F.jsx("h3", { className: "text-heading-xsm", children: "Create a reminder" }),
|
103646
103646
|
/* @__PURE__ */ F.jsx(
|
103647
103647
|
pn,
|
103648
103648
|
{
|
@@ -103699,7 +103699,7 @@ const aSt = /* @__PURE__ */ q1(iSt), dh = () => {
|
|
103699
103699
|
)
|
103700
103700
|
] }),
|
103701
103701
|
/* @__PURE__ */ F.jsx("hr", { className: "my-2 h-1 w-full" }),
|
103702
|
-
/* @__PURE__ */ F.jsx("h3", { className: "text-heading-xsm", children: "Custom" }),
|
103702
|
+
/* @__PURE__ */ F.jsx("h3", { className: "text-heading-xsm", children: "Custom date & time" }),
|
103703
103703
|
/* @__PURE__ */ F.jsxs("div", { className: "flex gap-2", children: [
|
103704
103704
|
/* @__PURE__ */ F.jsx(
|
103705
103705
|
ur,
|
@@ -103763,7 +103763,7 @@ const aSt = /* @__PURE__ */ q1(iSt), dh = () => {
|
|
103763
103763
|
}
|
103764
103764
|
),
|
103765
103765
|
/* @__PURE__ */ F.jsx(Al, { className: "my-2 w-full" }),
|
103766
|
-
/* @__PURE__ */ F.jsx("div", { className: "flex justify-between items-center pb-1", children: /* @__PURE__ */ F.jsx("span", { className: "text-helper-text-sm font-normal color-text-secondary", children: "
|
103766
|
+
/* @__PURE__ */ F.jsx("div", { className: "flex justify-between items-center pb-1", children: /* @__PURE__ */ F.jsx("span", { className: "text-helper-text-sm font-normal color-text-secondary", children: "Allow push notifications. We’ll send you reminders through browser notifications — no spam, just what you asked for." }) })
|
103767
103767
|
] });
|
103768
103768
|
return h ? /* @__PURE__ */ F.jsx(
|
103769
103769
|
e$,
|
@@ -223242,7 +223242,7 @@ const JXt = ({
|
|
223242
223242
|
},
|
223243
223243
|
{
|
223244
223244
|
title: "Reminder",
|
223245
|
-
description: n ? "
|
223245
|
+
description: n ? "Set a reminder and we'll notify you right on time." : "Log-in to start creating reminders.",
|
223246
223246
|
searchTerms: ["reminder", "alert", "notification"],
|
223247
223247
|
icon: /* @__PURE__ */ F.jsx(
|
223248
223248
|
Be,
|
@@ -223498,19 +223498,30 @@ const JXt = ({
|
|
223498
223498
|
id: "slash-command",
|
223499
223499
|
ref: h,
|
223500
223500
|
className: "z-50 h-auto max-h-[330px] w-72 overflow-y-auto scroll-smooth rounded-lg border color-border-default color-bg-default p-2 shadow-elevation-3 transition-all",
|
223501
|
-
children: i.
|
223501
|
+
children: i.map((p, m) => /* @__PURE__ */ F.jsxs(
|
223502
223502
|
"button",
|
223503
223503
|
{
|
223504
223504
|
className: xe(
|
223505
|
-
"flex w-full items-center space-x-2 rounded-md px-2 py-1 text-left text-sm
|
223506
|
-
m === r && "color-bg-default-hover"
|
223505
|
+
"flex w-full items-center space-x-2 rounded-md px-2 py-1 text-left text-sm border border-transparent transition-all",
|
223506
|
+
m === r && "color-bg-default-hover",
|
223507
|
+
p.isDisabled ? "cursor-not-allowed color-text-disabled" : "hover:color-bg-default-hover cursor-pointer"
|
223507
223508
|
),
|
223508
|
-
onClick: () => f(m),
|
223509
|
+
onClick: () => !p.isDisabled && f(m),
|
223510
|
+
disabled: p.isDisabled,
|
223509
223511
|
children: [
|
223510
223512
|
/* @__PURE__ */ F.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border color-border-default color-bg-default", children: p.icon }),
|
223511
223513
|
/* @__PURE__ */ F.jsxs("div", { className: "flex-1 min-w-0", children: [
|
223512
223514
|
/* @__PURE__ */ F.jsx("p", { className: "font-medium", children: p.title }),
|
223513
|
-
/* @__PURE__ */ F.jsx(
|
223515
|
+
/* @__PURE__ */ F.jsx(
|
223516
|
+
"p",
|
223517
|
+
{
|
223518
|
+
className: xe(
|
223519
|
+
"text-xs",
|
223520
|
+
p.isDisabled && "color-text-disabled"
|
223521
|
+
),
|
223522
|
+
children: p.description
|
223523
|
+
}
|
223524
|
+
)
|
223514
223525
|
] })
|
223515
223526
|
]
|
223516
223527
|
},
|
package/dist/index.es.js
CHANGED