@fayz-ai/plugin-agenda 0.23.2 → 0.23.4
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/index.js +7 -28
- package/dist/index.js.map +1 -1
- package/dist/views/CalendarView.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -420,7 +420,7 @@ var css = (
|
|
|
420
420
|
|
|
421
421
|
/* Today's column header */
|
|
422
422
|
.agenda-calendar .fc-day-today .fc-col-header-cell-cushion {
|
|
423
|
-
color: hsl(var(--primary));
|
|
423
|
+
color: hsl(var(--primary-ink, var(--primary)));
|
|
424
424
|
font-weight: 600;
|
|
425
425
|
}
|
|
426
426
|
|
|
@@ -648,7 +648,7 @@ var css = (
|
|
|
648
648
|
font-weight: 600;
|
|
649
649
|
font-size: 0.68rem;
|
|
650
650
|
letter-spacing: 0.08em;
|
|
651
|
-
color: hsl(var(--primary));
|
|
651
|
+
color: hsl(var(--primary-ink, var(--primary)));
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
.agenda-calendar .fc-day-today.fc-col-header-cell[data-date] > .fc-scrollgrid-sync-inner {
|
|
@@ -5389,32 +5389,11 @@ function CalendarView() {
|
|
|
5389
5389
|
/* @__PURE__ */ jsx(AgendaRailColumn, { children: /* @__PURE__ */ jsx(
|
|
5390
5390
|
AgendaFilterRail,
|
|
5391
5391
|
{
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
onClick: () => setBlockFor({ professionalId: null, date: null }),
|
|
5398
|
-
className: "flex w-full items-center gap-2 rounded-button border border-border bg-card px-2.5 py-2 text-sm font-medium text-foreground shadow-sm transition-colors hover:bg-muted hover:border-foreground/20",
|
|
5399
|
-
children: [
|
|
5400
|
-
/* @__PURE__ */ jsx(Ban, { className: "h-4 w-4 shrink-0 text-muted-foreground" }),
|
|
5401
|
-
t2("agenda.sidebar.block")
|
|
5402
|
-
]
|
|
5403
|
-
}
|
|
5404
|
-
),
|
|
5405
|
-
config.capabilities.professional && /* @__PURE__ */ jsxs(
|
|
5406
|
-
"button",
|
|
5407
|
-
{
|
|
5408
|
-
type: "button",
|
|
5409
|
-
onClick: () => setSchedulesOpen(true),
|
|
5410
|
-
className: "flex w-full items-center gap-2 rounded-button border border-border bg-card px-2.5 py-2 text-sm font-medium text-foreground shadow-sm transition-colors hover:bg-muted hover:border-foreground/20",
|
|
5411
|
-
children: [
|
|
5412
|
-
/* @__PURE__ */ jsx(Clock3, { className: "h-4 w-4 shrink-0 text-muted-foreground" }),
|
|
5413
|
-
t2("agenda.sidebar.workingHours")
|
|
5414
|
-
]
|
|
5415
|
-
}
|
|
5416
|
-
)
|
|
5417
|
-
] }),
|
|
5392
|
+
quickActions: [
|
|
5393
|
+
{ id: "block", label: t2("agenda.sidebar.block"), icon: Ban, onClick: () => setBlockFor({ professionalId: null, date: null }) },
|
|
5394
|
+
...config.capabilities.professional ? [{ id: "working-hours", label: t2("agenda.sidebar.workingHours"), icon: Clock3, onClick: () => setSchedulesOpen(true) }] : []
|
|
5395
|
+
],
|
|
5396
|
+
beforeMark: { label: "Calend\xE1rio" },
|
|
5418
5397
|
before: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5419
5398
|
/* @__PURE__ */ jsx(MiniCalendar, { selectedDate, onDateSelect: handleMiniDateSelect }),
|
|
5420
5399
|
/* @__PURE__ */ jsx(
|