@iclips/ui 1.0.53 → 1.0.54
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/components/print-templates/shared/PrintHeader.d.ts.map +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +149 -149
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as l, jsxs as b, Fragment as
|
|
1
|
+
import { jsx as l, jsxs as b, Fragment as Ve } from "react/jsx-runtime";
|
|
2
2
|
import * as xa from "@radix-ui/react-accordion";
|
|
3
3
|
import { ChevronDownIcon as qs, Home as B4, Folder as H4, Users as U4, Calendar as pi, BarChart3 as F4, Settings as I1, Pin as T1, Plus as Xn, LayoutGrid as J4, FileText as j1, Star as D1, MessageSquare as _c, Download as Gc, Sparkles as Y4, ChevronRight as en, Zap as Q4, PanelLeftClose as Ks, PanelLeft as V4, Bell as _4, CheckIcon as Xs, CircleIcon as Wc, ChevronRightIcon as ef, User as tf, HelpCircle as G4, LogOut as W4, ChevronDown as qa, MoreHorizontal as E1, ChevronLeft as nf, Printer as $4, Eye as A1, ArrowRight as z1, ArrowLeft as Z4, Check as O1, Smile as P1, Trash2 as R1, AlertCircle as vr, Paperclip as Ca, X as La, Type as q4, Send as K4, Bold as B1, Italic as H1, Underline as U1, List as F1, ListOrdered as J1, Link as Y1, ChevronUpIcon as X4, Clock as oi, CalendarIcon as Zo, MoreVertical as ev, CheckSquare as tv, Activity as nv, TrendingUp as rv, TrendingDown as iv, XIcon as Q1, SearchIcon as av, Undo as ov, Redo as sv, Heading1 as fv, Heading2 as lv, Heading3 as cv, Strikethrough as dv, AlignLeft as uv, AlignCenter as hv, AlignRight as pv, Quote as mv, Image as gv, PanelLeftOpen as $c, Youtube as bv, Twitter as vv, Facebook as wv, Linkedin as yv, Instagram as Mv, GripVertical as xv, CheckCircle2 as Cv, Circle as V1, Edit as _l, MinusIcon as Lv, ChevronUp as Nv, EyeOff as kv, Euro as Sv, DollarSign as Iv, Coins as Tv, MoreHorizontalIcon as jv, ChevronLeftIcon as Dv, GripVerticalIcon as Ev, PanelLeftIcon as Av, Github as zv, ChevronsLeft as Ov, ChevronsRight as Pv, Filter as _1, Search as G1, ArrowUpDown as Rv, Link2 as Bv, Pencil as Hv, RefreshCw as Uv, PlusCircle as Fv } from "lucide-react";
|
|
4
4
|
import { clsx as Jv } from "clsx";
|
|
@@ -9,7 +9,7 @@ import * as sn from "@radix-ui/react-alert-dialog";
|
|
|
9
9
|
import { Slot as Tn } from "@radix-ui/react-slot";
|
|
10
10
|
import { cva as fn } from "class-variance-authority";
|
|
11
11
|
import * as ta from "@radix-ui/react-scroll-area";
|
|
12
|
-
import * as
|
|
12
|
+
import * as Ge from "@radix-ui/react-dropdown-menu";
|
|
13
13
|
import * as Xc from "@radix-ui/react-avatar";
|
|
14
14
|
import * as Wv from "@radix-ui/react-aspect-ratio";
|
|
15
15
|
import { DayPicker as $v } from "react-day-picker";
|
|
@@ -30,14 +30,14 @@ import * as st from "@radix-ui/react-select";
|
|
|
30
30
|
import * as Ou from "@radix-ui/react-progress";
|
|
31
31
|
import { Command as zr } from "cmdk";
|
|
32
32
|
import * as je from "@radix-ui/react-dialog";
|
|
33
|
-
import * as
|
|
33
|
+
import * as We from "@radix-ui/react-context-menu";
|
|
34
34
|
import * as sw from "@radix-ui/react-toggle";
|
|
35
35
|
import { Drawer as er } from "vaul";
|
|
36
36
|
import * as of from "@radix-ui/react-tabs";
|
|
37
37
|
import { FormProvider as fw, Controller as lw, useFormContext as cw, useFormState as dw } from "react-hook-form";
|
|
38
38
|
import * as Xo from "@radix-ui/react-hover-card";
|
|
39
39
|
import { OTPInput as uw, OTPInputContext as hw } from "input-otp";
|
|
40
|
-
import * as
|
|
40
|
+
import * as $e from "@radix-ui/react-menubar";
|
|
41
41
|
import * as Or from "@radix-ui/react-navigation-menu";
|
|
42
42
|
import * as Gl from "@radix-ui/react-radio-group";
|
|
43
43
|
import * as rd from "react-resizable-panels";
|
|
@@ -650,18 +650,18 @@ function qA({
|
|
|
650
650
|
function sf({
|
|
651
651
|
...t
|
|
652
652
|
}) {
|
|
653
|
-
return /* @__PURE__ */ l(
|
|
653
|
+
return /* @__PURE__ */ l(Ge.Root, { "data-slot": "dropdown-menu", ...t });
|
|
654
654
|
}
|
|
655
655
|
function KA({
|
|
656
656
|
...t
|
|
657
657
|
}) {
|
|
658
|
-
return /* @__PURE__ */ l(
|
|
658
|
+
return /* @__PURE__ */ l(Ge.Portal, { "data-slot": "dropdown-menu-portal", ...t });
|
|
659
659
|
}
|
|
660
660
|
function ff({
|
|
661
661
|
...t
|
|
662
662
|
}) {
|
|
663
663
|
return /* @__PURE__ */ l(
|
|
664
|
-
|
|
664
|
+
Ge.Trigger,
|
|
665
665
|
{
|
|
666
666
|
"data-slot": "dropdown-menu-trigger",
|
|
667
667
|
...t
|
|
@@ -673,8 +673,8 @@ function lf({
|
|
|
673
673
|
sideOffset: e = 4,
|
|
674
674
|
...n
|
|
675
675
|
}) {
|
|
676
|
-
return /* @__PURE__ */ l(
|
|
677
|
-
|
|
676
|
+
return /* @__PURE__ */ l(Ge.Portal, { children: /* @__PURE__ */ l(
|
|
677
|
+
Ge.Content,
|
|
678
678
|
{
|
|
679
679
|
"data-slot": "dropdown-menu-content",
|
|
680
680
|
sideOffset: e,
|
|
@@ -689,7 +689,7 @@ function lf({
|
|
|
689
689
|
function xw({
|
|
690
690
|
...t
|
|
691
691
|
}) {
|
|
692
|
-
return /* @__PURE__ */ l(
|
|
692
|
+
return /* @__PURE__ */ l(Ge.Group, { "data-slot": "dropdown-menu-group", ...t });
|
|
693
693
|
}
|
|
694
694
|
function li({
|
|
695
695
|
className: t,
|
|
@@ -698,7 +698,7 @@ function li({
|
|
|
698
698
|
...r
|
|
699
699
|
}) {
|
|
700
700
|
return /* @__PURE__ */ l(
|
|
701
|
-
|
|
701
|
+
Ge.Item,
|
|
702
702
|
{
|
|
703
703
|
"data-slot": "dropdown-menu-item",
|
|
704
704
|
"data-inset": e,
|
|
@@ -718,7 +718,7 @@ function XA({
|
|
|
718
718
|
...r
|
|
719
719
|
}) {
|
|
720
720
|
return /* @__PURE__ */ b(
|
|
721
|
-
|
|
721
|
+
Ge.CheckboxItem,
|
|
722
722
|
{
|
|
723
723
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
724
724
|
className: M(
|
|
@@ -728,7 +728,7 @@ function XA({
|
|
|
728
728
|
checked: n,
|
|
729
729
|
...r,
|
|
730
730
|
children: [
|
|
731
|
-
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(
|
|
731
|
+
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(Ge.ItemIndicator, { children: /* @__PURE__ */ l(Xs, { className: "size-4" }) }) }),
|
|
732
732
|
e
|
|
733
733
|
]
|
|
734
734
|
}
|
|
@@ -738,7 +738,7 @@ function e8({
|
|
|
738
738
|
...t
|
|
739
739
|
}) {
|
|
740
740
|
return /* @__PURE__ */ l(
|
|
741
|
-
|
|
741
|
+
Ge.RadioGroup,
|
|
742
742
|
{
|
|
743
743
|
"data-slot": "dropdown-menu-radio-group",
|
|
744
744
|
...t
|
|
@@ -751,7 +751,7 @@ function t8({
|
|
|
751
751
|
...n
|
|
752
752
|
}) {
|
|
753
753
|
return /* @__PURE__ */ b(
|
|
754
|
-
|
|
754
|
+
Ge.RadioItem,
|
|
755
755
|
{
|
|
756
756
|
"data-slot": "dropdown-menu-radio-item",
|
|
757
757
|
className: M(
|
|
@@ -760,7 +760,7 @@ function t8({
|
|
|
760
760
|
),
|
|
761
761
|
...n,
|
|
762
762
|
children: [
|
|
763
|
-
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(
|
|
763
|
+
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(Ge.ItemIndicator, { children: /* @__PURE__ */ l(Wc, { className: "size-2 fill-current" }) }) }),
|
|
764
764
|
e
|
|
765
765
|
]
|
|
766
766
|
}
|
|
@@ -772,7 +772,7 @@ function Cw({
|
|
|
772
772
|
...n
|
|
773
773
|
}) {
|
|
774
774
|
return /* @__PURE__ */ l(
|
|
775
|
-
|
|
775
|
+
Ge.Label,
|
|
776
776
|
{
|
|
777
777
|
"data-slot": "dropdown-menu-label",
|
|
778
778
|
"data-inset": e,
|
|
@@ -789,7 +789,7 @@ function Wl({
|
|
|
789
789
|
...e
|
|
790
790
|
}) {
|
|
791
791
|
return /* @__PURE__ */ l(
|
|
792
|
-
|
|
792
|
+
Ge.Separator,
|
|
793
793
|
{
|
|
794
794
|
"data-slot": "dropdown-menu-separator",
|
|
795
795
|
className: M("bg-border -mx-1 my-1 h-px", t),
|
|
@@ -816,7 +816,7 @@ function n8({
|
|
|
816
816
|
function r8({
|
|
817
817
|
...t
|
|
818
818
|
}) {
|
|
819
|
-
return /* @__PURE__ */ l(
|
|
819
|
+
return /* @__PURE__ */ l(Ge.Sub, { "data-slot": "dropdown-menu-sub", ...t });
|
|
820
820
|
}
|
|
821
821
|
function i8({
|
|
822
822
|
className: t,
|
|
@@ -825,7 +825,7 @@ function i8({
|
|
|
825
825
|
...r
|
|
826
826
|
}) {
|
|
827
827
|
return /* @__PURE__ */ b(
|
|
828
|
-
|
|
828
|
+
Ge.SubTrigger,
|
|
829
829
|
{
|
|
830
830
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
831
831
|
"data-inset": e,
|
|
@@ -846,7 +846,7 @@ function a8({
|
|
|
846
846
|
...e
|
|
847
847
|
}) {
|
|
848
848
|
return /* @__PURE__ */ l(
|
|
849
|
-
|
|
849
|
+
Ge.SubContent,
|
|
850
850
|
{
|
|
851
851
|
"data-slot": "dropdown-menu-sub-content",
|
|
852
852
|
className: M(
|
|
@@ -1049,7 +1049,7 @@ function o8({
|
|
|
1049
1049
|
),
|
|
1050
1050
|
children: [
|
|
1051
1051
|
/* @__PURE__ */ l(x, { className: "h-4 w-4 shrink-0" }),
|
|
1052
|
-
m && /* @__PURE__ */ b(
|
|
1052
|
+
m && /* @__PURE__ */ b(Ve, { children: [
|
|
1053
1053
|
/* @__PURE__ */ l("span", { className: "flex-1 text-left", children: w.label }),
|
|
1054
1054
|
L && /* @__PURE__ */ l(
|
|
1055
1055
|
qa,
|
|
@@ -1985,7 +1985,7 @@ function ip({
|
|
|
1985
1985
|
className: "w-full h-full object-contain"
|
|
1986
1986
|
}
|
|
1987
1987
|
) }),
|
|
1988
|
-
/* @__PURE__ */ l("div", { className: "
|
|
1988
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-0.5", children: n ? /* @__PURE__ */ l(Ve, { children: n.split(/\n|\|/).map((s) => s.trim()).filter((s) => s.length > 0).map((s, f) => /* @__PURE__ */ l("p", { className: "text-sm text-gray-700 m-0 leading-relaxed", children: s }, f)) }) : /* @__PURE__ */ b(Ve, { children: [
|
|
1989
1989
|
/* @__PURE__ */ l("h2", { className: "text-xl font-semibold text-primary", children: e }),
|
|
1990
1990
|
r && /* @__PURE__ */ b("div", { className: "text-xs text-gray-600 space-y-0.5", children: [
|
|
1991
1991
|
r.address && /* @__PURE__ */ l("p", { children: r.address }),
|
|
@@ -3010,7 +3010,7 @@ function y8({
|
|
|
3010
3010
|
"[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
|
|
3011
3011
|
r === "dot" && "items-center"
|
|
3012
3012
|
),
|
|
3013
|
-
children: c && (v == null ? void 0 : v.value) !== void 0 && v.name ? c(v.value, v.name, v, w, v.payload) : /* @__PURE__ */ b(
|
|
3013
|
+
children: c && (v == null ? void 0 : v.value) !== void 0 && v.name ? c(v.value, v.name, v, w, v.payload) : /* @__PURE__ */ b(Ve, { children: [
|
|
3014
3014
|
L != null && L.icon ? /* @__PURE__ */ l(L.icon, {}) : !a && /* @__PURE__ */ l(
|
|
3015
3015
|
"div",
|
|
3016
3016
|
{
|
|
@@ -3169,7 +3169,7 @@ function $n({ className: t, type: e, ...n }) {
|
|
|
3169
3169
|
}
|
|
3170
3170
|
);
|
|
3171
3171
|
}
|
|
3172
|
-
function
|
|
3172
|
+
function Ke({
|
|
3173
3173
|
className: t,
|
|
3174
3174
|
...e
|
|
3175
3175
|
}) {
|
|
@@ -3205,7 +3205,7 @@ function C8({
|
|
|
3205
3205
|
o(h), p.length === 6 && (e == null || e(h));
|
|
3206
3206
|
};
|
|
3207
3207
|
return /* @__PURE__ */ b("div", { className: M("space-y-2", r), children: [
|
|
3208
|
-
n && /* @__PURE__ */ l(
|
|
3208
|
+
n && /* @__PURE__ */ l(Ke, { children: n }),
|
|
3209
3209
|
/* @__PURE__ */ b("div", { className: "flex gap-2", children: [
|
|
3210
3210
|
/* @__PURE__ */ b(ut, { open: s, onOpenChange: f, children: [
|
|
3211
3211
|
/* @__PURE__ */ l(at, { asChild: !0, children: /* @__PURE__ */ l(
|
|
@@ -3230,7 +3230,7 @@ function C8({
|
|
|
3230
3230
|
}
|
|
3231
3231
|
),
|
|
3232
3232
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
3233
|
-
/* @__PURE__ */ l(
|
|
3233
|
+
/* @__PURE__ */ l(Ke, { className: "text-xs", children: "Código Hexadecimal" }),
|
|
3234
3234
|
/* @__PURE__ */ b("div", { className: "flex gap-2", children: [
|
|
3235
3235
|
/* @__PURE__ */ b("div", { className: "relative flex-1", children: [
|
|
3236
3236
|
/* @__PURE__ */ l("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-sm text-muted-foreground", children: "#" }),
|
|
@@ -3255,7 +3255,7 @@ function C8({
|
|
|
3255
3255
|
] })
|
|
3256
3256
|
] }),
|
|
3257
3257
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
3258
|
-
/* @__PURE__ */ l(
|
|
3258
|
+
/* @__PURE__ */ l(Ke, { className: "text-xs", children: "Cores Rápidas" }),
|
|
3259
3259
|
/* @__PURE__ */ l("div", { className: "grid grid-cols-8 gap-1", children: [
|
|
3260
3260
|
"#7F26BF",
|
|
3261
3261
|
"#5B158C",
|
|
@@ -11471,7 +11471,7 @@ class ls {
|
|
|
11471
11471
|
}
|
|
11472
11472
|
map(e, n, r, i) {
|
|
11473
11473
|
let { pos: a, deleted: o } = e.mapResult(n.from + i, this.side < 0 ? -1 : 1);
|
|
11474
|
-
return o ? null : new
|
|
11474
|
+
return o ? null : new Xe(a - r, a - r, this);
|
|
11475
11475
|
}
|
|
11476
11476
|
valid() {
|
|
11477
11477
|
return !0;
|
|
@@ -11489,7 +11489,7 @@ class Gn {
|
|
|
11489
11489
|
}
|
|
11490
11490
|
map(e, n, r, i) {
|
|
11491
11491
|
let a = e.map(n.from + i, this.spec.inclusiveStart ? -1 : 1) - r, o = e.map(n.to + i, this.spec.inclusiveEnd ? 1 : -1) - r;
|
|
11492
|
-
return a >= o ? null : new
|
|
11492
|
+
return a >= o ? null : new Xe(a, o, this);
|
|
11493
11493
|
}
|
|
11494
11494
|
valid(e, n) {
|
|
11495
11495
|
return n.from < n.to;
|
|
@@ -11512,7 +11512,7 @@ class Md {
|
|
|
11512
11512
|
if (a.deleted)
|
|
11513
11513
|
return null;
|
|
11514
11514
|
let o = e.mapResult(n.to + i, -1);
|
|
11515
|
-
return o.deleted || o.pos <= a.pos ? null : new
|
|
11515
|
+
return o.deleted || o.pos <= a.pos ? null : new Xe(a.pos - r, o.pos - r, this);
|
|
11516
11516
|
}
|
|
11517
11517
|
valid(e, n) {
|
|
11518
11518
|
let { index: r, offset: i } = e.content.findIndex(n.from), a;
|
|
@@ -11524,7 +11524,7 @@ class Md {
|
|
|
11524
11524
|
destroy() {
|
|
11525
11525
|
}
|
|
11526
11526
|
}
|
|
11527
|
-
class
|
|
11527
|
+
class Xe {
|
|
11528
11528
|
/**
|
|
11529
11529
|
@internal
|
|
11530
11530
|
*/
|
|
@@ -11535,7 +11535,7 @@ class Ke {
|
|
|
11535
11535
|
@internal
|
|
11536
11536
|
*/
|
|
11537
11537
|
copy(e, n) {
|
|
11538
|
-
return new
|
|
11538
|
+
return new Xe(e, n, this.type);
|
|
11539
11539
|
}
|
|
11540
11540
|
/**
|
|
11541
11541
|
@internal
|
|
@@ -11558,14 +11558,14 @@ class Ke {
|
|
|
11558
11558
|
widget's current document position.
|
|
11559
11559
|
*/
|
|
11560
11560
|
static widget(e, n, r) {
|
|
11561
|
-
return new
|
|
11561
|
+
return new Xe(e, e, new ls(n, r));
|
|
11562
11562
|
}
|
|
11563
11563
|
/**
|
|
11564
11564
|
Creates an inline decoration, which adds the given attributes to
|
|
11565
11565
|
each inline node between `from` and `to`.
|
|
11566
11566
|
*/
|
|
11567
11567
|
static inline(e, n, r, i) {
|
|
11568
|
-
return new
|
|
11568
|
+
return new Xe(e, n, new Gn(r, i));
|
|
11569
11569
|
}
|
|
11570
11570
|
/**
|
|
11571
11571
|
Creates a node decoration. `from` and `to` should point precisely
|
|
@@ -11573,7 +11573,7 @@ class Ke {
|
|
|
11573
11573
|
node, will receive the given attributes.
|
|
11574
11574
|
*/
|
|
11575
11575
|
static node(e, n, r, i) {
|
|
11576
|
-
return new
|
|
11576
|
+
return new Xe(e, n, new Md(r, i));
|
|
11577
11577
|
}
|
|
11578
11578
|
/**
|
|
11579
11579
|
The spec provided when creating this decoration. Can be useful
|
|
@@ -11609,7 +11609,7 @@ class be {
|
|
|
11609
11609
|
you must make a copy if you want need to preserve that.
|
|
11610
11610
|
*/
|
|
11611
11611
|
static create(e, n) {
|
|
11612
|
-
return n.length ? cs(n, e, 0, xr) :
|
|
11612
|
+
return n.length ? cs(n, e, 0, xr) : qe;
|
|
11613
11613
|
}
|
|
11614
11614
|
/**
|
|
11615
11615
|
Find all decorations in this set which touch the given range
|
|
@@ -11639,7 +11639,7 @@ class be {
|
|
|
11639
11639
|
document.
|
|
11640
11640
|
*/
|
|
11641
11641
|
map(e, n, r) {
|
|
11642
|
-
return this ==
|
|
11642
|
+
return this == qe || e.maps.length == 0 ? this : this.mapInner(e, n, 0, 0, r || xr);
|
|
11643
11643
|
}
|
|
11644
11644
|
/**
|
|
11645
11645
|
@internal
|
|
@@ -11650,7 +11650,7 @@ class be {
|
|
|
11650
11650
|
let f = this.local[s].map(e, r, i);
|
|
11651
11651
|
f && f.type.valid(n, f) ? (o || (o = [])).push(f) : a.onRemove && a.onRemove(this.local[s].spec);
|
|
11652
11652
|
}
|
|
11653
|
-
return this.children.length ? nx(this.children, o || [], e, n, r, i, a) : o ? new be(o.sort(Cr), ei) :
|
|
11653
|
+
return this.children.length ? nx(this.children, o || [], e, n, r, i, a) : o ? new be(o.sort(Cr), ei) : qe;
|
|
11654
11654
|
}
|
|
11655
11655
|
/**
|
|
11656
11656
|
Add the given array of decorations to the ones in the set,
|
|
@@ -11659,7 +11659,7 @@ class be {
|
|
|
11659
11659
|
structure.
|
|
11660
11660
|
*/
|
|
11661
11661
|
add(e, n) {
|
|
11662
|
-
return n.length ? this ==
|
|
11662
|
+
return n.length ? this == qe ? be.create(e, n) : this.addInner(e, n, 0) : this;
|
|
11663
11663
|
}
|
|
11664
11664
|
addInner(e, n, r) {
|
|
11665
11665
|
let i, a = 0;
|
|
@@ -11681,7 +11681,7 @@ class be {
|
|
|
11681
11681
|
the ones in the given array.
|
|
11682
11682
|
*/
|
|
11683
11683
|
remove(e) {
|
|
11684
|
-
return e.length == 0 || this ==
|
|
11684
|
+
return e.length == 0 || this == qe ? this : this.removeInner(e, 0);
|
|
11685
11685
|
}
|
|
11686
11686
|
removeInner(e, n) {
|
|
11687
11687
|
let r = this.children, i = this.local;
|
|
@@ -11693,7 +11693,7 @@ class be {
|
|
|
11693
11693
|
continue;
|
|
11694
11694
|
r == this.children && (r = this.children.slice());
|
|
11695
11695
|
let c = r[a + 2].removeInner(o, s + 1);
|
|
11696
|
-
c !=
|
|
11696
|
+
c != qe ? r[a + 2] = c : (r.splice(a, 3), a -= 3);
|
|
11697
11697
|
}
|
|
11698
11698
|
if (i.length) {
|
|
11699
11699
|
for (let a = 0, o; a < e.length; a++)
|
|
@@ -11701,10 +11701,10 @@ class be {
|
|
|
11701
11701
|
for (let s = 0; s < i.length; s++)
|
|
11702
11702
|
i[s].eq(o, n) && (i == this.local && (i = this.local.slice()), i.splice(s--, 1));
|
|
11703
11703
|
}
|
|
11704
|
-
return r == this.children && i == this.local ? this : i.length || r.length ? new be(i, r) :
|
|
11704
|
+
return r == this.children && i == this.local ? this : i.length || r.length ? new be(i, r) : qe;
|
|
11705
11705
|
}
|
|
11706
11706
|
forChild(e, n) {
|
|
11707
|
-
if (this ==
|
|
11707
|
+
if (this == qe)
|
|
11708
11708
|
return this;
|
|
11709
11709
|
if (n.isLeaf)
|
|
11710
11710
|
return be.empty;
|
|
@@ -11726,7 +11726,7 @@ class be {
|
|
|
11726
11726
|
let s = new be(i.sort(Cr), ei);
|
|
11727
11727
|
return r ? new Hn([s, r]) : s;
|
|
11728
11728
|
}
|
|
11729
|
-
return r ||
|
|
11729
|
+
return r || qe;
|
|
11730
11730
|
}
|
|
11731
11731
|
/**
|
|
11732
11732
|
@internal
|
|
@@ -11754,7 +11754,7 @@ class be {
|
|
|
11754
11754
|
@internal
|
|
11755
11755
|
*/
|
|
11756
11756
|
localsInner(e) {
|
|
11757
|
-
if (this ==
|
|
11757
|
+
if (this == qe)
|
|
11758
11758
|
return ei;
|
|
11759
11759
|
if (e.inlineContent || !this.local.some(Gn.is))
|
|
11760
11760
|
return this.local;
|
|
@@ -11769,7 +11769,7 @@ class be {
|
|
|
11769
11769
|
}
|
|
11770
11770
|
be.empty = new be([], []);
|
|
11771
11771
|
be.removeOverlap = xd;
|
|
11772
|
-
const
|
|
11772
|
+
const qe = be.empty;
|
|
11773
11773
|
class Hn {
|
|
11774
11774
|
constructor(e) {
|
|
11775
11775
|
this.members = e;
|
|
@@ -11784,7 +11784,7 @@ class Hn {
|
|
|
11784
11784
|
let r = [];
|
|
11785
11785
|
for (let i = 0; i < this.members.length; i++) {
|
|
11786
11786
|
let a = this.members[i].forChild(e, n);
|
|
11787
|
-
a !=
|
|
11787
|
+
a != qe && (a instanceof Hn ? r = r.concat(a.members) : r.push(a));
|
|
11788
11788
|
}
|
|
11789
11789
|
return Hn.from(r);
|
|
11790
11790
|
}
|
|
@@ -11816,7 +11816,7 @@ class Hn {
|
|
|
11816
11816
|
static from(e) {
|
|
11817
11817
|
switch (e.length) {
|
|
11818
11818
|
case 0:
|
|
11819
|
-
return
|
|
11819
|
+
return qe;
|
|
11820
11820
|
case 1:
|
|
11821
11821
|
return e[0];
|
|
11822
11822
|
default:
|
|
@@ -11859,7 +11859,7 @@ function nx(t, e, n, r, i, a, o) {
|
|
|
11859
11859
|
let p = n.map(t[c + 1] + a, -1), h = p - i, { index: m, offset: g } = r.content.findIndex(u), v = r.maybeChild(m);
|
|
11860
11860
|
if (v && g == u && g + v.nodeSize == h) {
|
|
11861
11861
|
let w = s[c + 2].mapInner(n, v, d + 1, t[c] + a + 1, o);
|
|
11862
|
-
w !=
|
|
11862
|
+
w != qe ? (s[c] = u, s[c + 1] = h, s[c + 2] = w) : (s[c + 1] = -2, f = !0);
|
|
11863
11863
|
} else
|
|
11864
11864
|
f = !0;
|
|
11865
11865
|
}
|
|
@@ -11883,7 +11883,7 @@ function Pm(t, e) {
|
|
|
11883
11883
|
let n = [];
|
|
11884
11884
|
for (let r = 0; r < t.length; r++) {
|
|
11885
11885
|
let i = t[r];
|
|
11886
|
-
n.push(new
|
|
11886
|
+
n.push(new Xe(i.from + e, i.to + e, i.type));
|
|
11887
11887
|
}
|
|
11888
11888
|
return n;
|
|
11889
11889
|
}
|
|
@@ -11921,13 +11921,13 @@ function cs(t, e, n, r) {
|
|
|
11921
11921
|
if (c) {
|
|
11922
11922
|
a = !0;
|
|
11923
11923
|
let d = cs(c, s, n + f + 1, r);
|
|
11924
|
-
d !=
|
|
11924
|
+
d != qe && i.push(f, f + s.nodeSize, d);
|
|
11925
11925
|
}
|
|
11926
11926
|
});
|
|
11927
11927
|
let o = Pm(a ? Bm(t) : t, -n).sort(Cr);
|
|
11928
11928
|
for (let s = 0; s < o.length; s++)
|
|
11929
11929
|
o[s].type.valid(e, o[s]) || (r.onRemove && r.onRemove(o[s].spec), o.splice(s--, 1));
|
|
11930
|
-
return o.length || i.length ? new be(o, i) :
|
|
11930
|
+
return o.length || i.length ? new be(o, i) : qe;
|
|
11931
11931
|
}
|
|
11932
11932
|
function Cr(t, e) {
|
|
11933
11933
|
return t.from - e.from || t.to - e.to;
|
|
@@ -11959,7 +11959,7 @@ function pl(t) {
|
|
|
11959
11959
|
let e = [];
|
|
11960
11960
|
return t.someProp("decorations", (n) => {
|
|
11961
11961
|
let r = n(t.state);
|
|
11962
|
-
r && r !=
|
|
11962
|
+
r && r != qe && e.push(r);
|
|
11963
11963
|
}), t.cursorWrapper && e.push(be.create(t.state.doc, [t.cursorWrapper.deco])), Hn.from(e);
|
|
11964
11964
|
}
|
|
11965
11965
|
const ix = {
|
|
@@ -12699,12 +12699,12 @@ function z0(t) {
|
|
|
12699
12699
|
if (typeof n == "function" && (n = n(t.state)), n)
|
|
12700
12700
|
for (let r in n)
|
|
12701
12701
|
r == "class" ? e.class += " " + n[r] : r == "style" ? e.style = (e.style ? e.style + ";" : "") + n[r] : !e[r] && r != "contenteditable" && r != "nodeName" && (e[r] = String(n[r]));
|
|
12702
|
-
}), e.translate || (e.translate = "no"), [
|
|
12702
|
+
}), e.translate || (e.translate = "no"), [Xe.node(0, t.state.doc.content.size, e)];
|
|
12703
12703
|
}
|
|
12704
12704
|
function O0(t) {
|
|
12705
12705
|
if (t.markCursor) {
|
|
12706
12706
|
let e = document.createElement("img");
|
|
12707
|
-
e.className = "ProseMirror-separator", e.setAttribute("mark-placeholder", "true"), e.setAttribute("alt", ""), t.cursorWrapper = { dom: e, deco:
|
|
12707
|
+
e.className = "ProseMirror-separator", e.setAttribute("mark-placeholder", "true"), e.setAttribute("alt", ""), t.cursorWrapper = { dom: e, deco: Xe.widget(t.state.selection.from, e, { raw: !0, marks: t.markCursor }) };
|
|
12708
12708
|
} else
|
|
12709
12709
|
t.cursorWrapper = null;
|
|
12710
12710
|
}
|
|
@@ -16958,7 +16958,7 @@ var dL = (...t) => (e) => {
|
|
|
16958
16958
|
t.getSnapshot,
|
|
16959
16959
|
t.getServerSnapshot
|
|
16960
16960
|
);
|
|
16961
|
-
return /* @__PURE__ */ l(
|
|
16961
|
+
return /* @__PURE__ */ l(Ve, { children: Object.values(e) });
|
|
16962
16962
|
};
|
|
16963
16963
|
function hL() {
|
|
16964
16964
|
const t = /* @__PURE__ */ new Set();
|
|
@@ -17044,7 +17044,7 @@ var pL = class extends ht.Component {
|
|
|
17044
17044
|
}
|
|
17045
17045
|
render() {
|
|
17046
17046
|
const { editor: t, innerRef: e, ...n } = this.props;
|
|
17047
|
-
return /* @__PURE__ */ b(
|
|
17047
|
+
return /* @__PURE__ */ b(Ve, { children: [
|
|
17048
17048
|
/* @__PURE__ */ l("div", { ref: dL(e, this.editorContentRef), ...n }),
|
|
17049
17049
|
(t == null ? void 0 : t.contentComponent) && /* @__PURE__ */ l(uL, { contentComponent: t.contentComponent })
|
|
17050
17050
|
] });
|
|
@@ -20147,7 +20147,7 @@ function GN(t) {
|
|
|
20147
20147
|
if (!(t.selection instanceof Ne))
|
|
20148
20148
|
return null;
|
|
20149
20149
|
let e = document.createElement("div");
|
|
20150
|
-
return e.className = "ProseMirror-gapcursor", be.create(t.doc, [
|
|
20150
|
+
return e.className = "ProseMirror-gapcursor", be.create(t.doc, [Xe.widget(t.selection.head, e, { key: "gapcursor" })]);
|
|
20151
20151
|
}
|
|
20152
20152
|
var Js = 200, Ue = function() {
|
|
20153
20153
|
};
|
|
@@ -20600,7 +20600,7 @@ ke.create({
|
|
|
20600
20600
|
if (s += 1, this.options.mode === "deepest" && o - s > 0 || this.options.mode === "shallowest" && s > 1)
|
|
20601
20601
|
return this.options.mode === "deepest";
|
|
20602
20602
|
a.push(
|
|
20603
|
-
|
|
20603
|
+
Xe.node(c, c + f.nodeSize, {
|
|
20604
20604
|
class: this.options.className
|
|
20605
20605
|
})
|
|
20606
20606
|
);
|
|
@@ -20654,7 +20654,7 @@ var ik = ke.create({
|
|
|
20654
20654
|
if ((f || !this.options.showOnlyCurrent) && c) {
|
|
20655
20655
|
const d = [this.options.emptyNodeClass];
|
|
20656
20656
|
a && d.push(this.options.emptyEditorClass);
|
|
20657
|
-
const u =
|
|
20657
|
+
const u = Xe.node(s, s + o.nodeSize, {
|
|
20658
20658
|
class: d.join(" "),
|
|
20659
20659
|
"data-placeholder": typeof this.options.placeholder == "function" ? this.options.placeholder({
|
|
20660
20660
|
editor: this.editor,
|
|
@@ -20688,7 +20688,7 @@ ke.create({
|
|
|
20688
20688
|
props: {
|
|
20689
20689
|
decorations(n) {
|
|
20690
20690
|
return n.selection.empty || t.isFocused || !t.isEditable || ng(n.selection) || t.view.dragging ? null : be.create(n.doc, [
|
|
20691
|
-
|
|
20691
|
+
Xe.inline(n.selection.from, n.selection.to, {
|
|
20692
20692
|
class: e.className
|
|
20693
20693
|
})
|
|
20694
20694
|
]);
|
|
@@ -21075,7 +21075,7 @@ function hk({
|
|
|
21075
21075
|
return null;
|
|
21076
21076
|
const H = !(D != null && D.length), J = [f];
|
|
21077
21077
|
return H && J.push(d), be.create(C.doc, [
|
|
21078
|
-
|
|
21078
|
+
Xe.inline(S.from, S.to, {
|
|
21079
21079
|
nodeName: s,
|
|
21080
21080
|
class: J.join(" "),
|
|
21081
21081
|
"data-decoration-id": I,
|
|
@@ -21956,7 +21956,7 @@ function l9(t) {
|
|
|
21956
21956
|
var P, F = y === "y" ? mt : gt, A = y === "y" ? Ut : Ft, _ = y === "y" ? "height" : "width", q = C[y], se = q + v[F], Ee = q - v[A], G = h ? -S[_] / 2 : 0, Ce = x === Ci ? k[_] : S[_], he = x === Ci ? -S[_] : -k[_], Ae = e.elements.arrow, ze = h && Ae ? Wd(Ae) : {
|
|
21957
21957
|
width: 0,
|
|
21958
21958
|
height: 0
|
|
21959
|
-
}, R = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : o2(), Z = R[F], ue = R[A], Oe = ga(0, k[_], ze[_]), ln = L ? k[_] / 2 - G - Oe - Z - D.mainAxis : Ce - Oe - Z - D.mainAxis, Yt = L ? -k[_] / 2 + G + Oe + ue + D.mainAxis : he + Oe + ue + D.mainAxis,
|
|
21959
|
+
}, R = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : o2(), Z = R[F], ue = R[A], Oe = ga(0, k[_], ze[_]), ln = L ? k[_] / 2 - G - Oe - Z - D.mainAxis : Ce - Oe - Z - D.mainAxis, Yt = L ? -k[_] / 2 + G + Oe + ue + D.mainAxis : he + Oe + ue + D.mainAxis, Ze = e.elements.arrow && ro(e.elements.arrow), cn = Ze ? y === "y" ? Ze.clientTop || 0 : Ze.clientLeft || 0 : 0, En = (P = H == null ? void 0 : H[y]) != null ? P : 0, Vr = q + ln - En - cn, lo = q + Yt - En, Ri = ga(h ? Ys(se, Vr) : se, q, h ? Nr(Ee, lo) : Ee);
|
|
21960
21960
|
C[y] = Ri, J[y] = Ri - q;
|
|
21961
21961
|
}
|
|
21962
21962
|
if (s) {
|
|
@@ -22567,7 +22567,7 @@ function $9(t, e) {
|
|
|
22567
22567
|
var S = x.map(function(j) {
|
|
22568
22568
|
return j.fn(y);
|
|
22569
22569
|
}), I = t.hasAttribute("aria-expanded");
|
|
22570
|
-
return
|
|
22570
|
+
return Ze(), G(), q(), se("onCreate", [y]), n.showOnCreate && Hi(), C.addEventListener("mouseenter", function() {
|
|
22571
22571
|
y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
|
|
22572
22572
|
}), C.addEventListener("mouseleave", function() {
|
|
22573
22573
|
y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && F().addEventListener("mousemove", m);
|
|
@@ -22695,7 +22695,7 @@ function $9(t, e) {
|
|
|
22695
22695
|
});
|
|
22696
22696
|
});
|
|
22697
22697
|
}
|
|
22698
|
-
function
|
|
22698
|
+
function Ze() {
|
|
22699
22699
|
H() && (Yt("touchstart", En, {
|
|
22700
22700
|
passive: !0
|
|
22701
22701
|
}), Yt("touchend", lo, {
|
|
@@ -22869,7 +22869,7 @@ function $9(t, e) {
|
|
|
22869
22869
|
var Y = y.props, W = Ph(t, Object.assign({}, Y, Dh(j), {
|
|
22870
22870
|
ignoreAttributes: !0
|
|
22871
22871
|
}));
|
|
22872
|
-
y.props = W,
|
|
22872
|
+
y.props = W, Ze(), Y.interactiveDebounce !== W.interactiveDebounce && (Ce(), m = Th(Vr, W.interactiveDebounce)), Y.triggerTarget && !W.triggerTarget ? ri(Y.triggerTarget).forEach(function(fe) {
|
|
22873
22873
|
fe.removeAttribute("aria-expanded");
|
|
22874
22874
|
}) : W.triggerTarget && t.removeAttribute("aria-expanded"), G(), q(), k && k(Y, W), y.popperInstance && (co(), An().forEach(function(fe) {
|
|
22875
22875
|
requestAnimationFrame(fe._tippy.popperInstance.forceUpdate);
|
|
@@ -23419,7 +23419,7 @@ function O2(t) {
|
|
|
23419
23419
|
var e = oo(t).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g, "").split("");
|
|
23420
23420
|
e.forEach(function(n) {
|
|
23421
23421
|
var r;
|
|
23422
|
-
wa[n] = (r = wa[n]) != null ? r : {}, wa[n][
|
|
23422
|
+
wa[n] = (r = wa[n]) != null ? r : {}, wa[n][_e(t)] = t;
|
|
23423
23423
|
});
|
|
23424
23424
|
}
|
|
23425
23425
|
function Fh(t, e) {
|
|
@@ -23446,14 +23446,14 @@ function P2() {
|
|
|
23446
23446
|
return we(function() {
|
|
23447
23447
|
var n = parseFloat("" + e);
|
|
23448
23448
|
return !e || Number.isNaN(n) ? t.current : Ef.reduce(function(r, i) {
|
|
23449
|
-
return hS(i, n) && (r[
|
|
23449
|
+
return hS(i, n) && (r[_e(i)] = !0), r;
|
|
23450
23450
|
}, t.current);
|
|
23451
23451
|
}, [e]);
|
|
23452
23452
|
}
|
|
23453
23453
|
function uS() {
|
|
23454
23454
|
var t = P2(), e = dS();
|
|
23455
23455
|
return function(r) {
|
|
23456
|
-
var i = ou(
|
|
23456
|
+
var i = ou(_e(r));
|
|
23457
23457
|
return !!(t[i] || e(i));
|
|
23458
23458
|
};
|
|
23459
23459
|
}
|
|
@@ -40494,7 +40494,7 @@ function Q2(t) {
|
|
|
40494
40494
|
}
|
|
40495
40495
|
}
|
|
40496
40496
|
function PS(t, e) {
|
|
40497
|
-
var n = Q2(), r =
|
|
40497
|
+
var n = Q2(), r = _e(t, e), i = _e(t), a = n.find(function(f) {
|
|
40498
40498
|
var c = f.unified;
|
|
40499
40499
|
return c === r;
|
|
40500
40500
|
}), o;
|
|
@@ -40525,7 +40525,7 @@ function ou(t) {
|
|
|
40525
40525
|
var e = t.split("-"), n = e.splice(1, 1), r = n[0];
|
|
40526
40526
|
return OS[r] ? e.join("-") : t;
|
|
40527
40527
|
}
|
|
40528
|
-
function
|
|
40528
|
+
function _e(t, e) {
|
|
40529
40529
|
var n, r = t[Ot.unified];
|
|
40530
40530
|
return !e || !Ai(t) ? r : (n = BS(t, e)) != null ? n : r;
|
|
40531
40531
|
}
|
|
@@ -40558,7 +40558,7 @@ function Ai(t) {
|
|
|
40558
40558
|
function BS(t, e) {
|
|
40559
40559
|
return e ? so(t).find(function(n) {
|
|
40560
40560
|
return n.includes(e);
|
|
40561
|
-
}) :
|
|
40561
|
+
}) : _e(t);
|
|
40562
40562
|
}
|
|
40563
40563
|
function Ii(t) {
|
|
40564
40564
|
if (t) {
|
|
@@ -40584,7 +40584,7 @@ function US(t) {
|
|
|
40584
40584
|
var ui = {};
|
|
40585
40585
|
setTimeout(function() {
|
|
40586
40586
|
Ef.reduce(function(t, e) {
|
|
40587
|
-
return t[
|
|
40587
|
+
return t[_e(e)] = e, Ai(e) && so(e).forEach(function(n) {
|
|
40588
40588
|
t[n] = e;
|
|
40589
40589
|
}), t;
|
|
40590
40590
|
}, ui);
|
|
@@ -41406,7 +41406,7 @@ function _I(t) {
|
|
|
41406
41406
|
}
|
|
41407
41407
|
function GI(t, e, n, r, i, a, o, s) {
|
|
41408
41408
|
if (t && e !== wt.NATIVE) {
|
|
41409
|
-
var f =
|
|
41409
|
+
var f = _e(t);
|
|
41410
41410
|
Oc.has(f) || !a || !o || setTimeout(function() {
|
|
41411
41411
|
var c = i + a.top, d = n + r, u = c >= d && c < d + o.emojiSize * 2;
|
|
41412
41412
|
u && yb(s, t, e);
|
|
@@ -41415,7 +41415,7 @@ function GI(t, e, n, r, i, a, o, s) {
|
|
|
41415
41415
|
}
|
|
41416
41416
|
function yb(t, e, n) {
|
|
41417
41417
|
if (e) {
|
|
41418
|
-
var r =
|
|
41418
|
+
var r = _e(e);
|
|
41419
41419
|
Oc.has(r) || (Oc.add(r), so(e).concat(r).forEach(function(i) {
|
|
41420
41420
|
var a = t(i, n);
|
|
41421
41421
|
WI(a);
|
|
@@ -41821,7 +41821,7 @@ function Kh(t) {
|
|
|
41821
41821
|
function fT(t, e, n, r) {
|
|
41822
41822
|
var i = oo(t);
|
|
41823
41823
|
if (zb(t)) {
|
|
41824
|
-
var a =
|
|
41824
|
+
var a = _e(t);
|
|
41825
41825
|
return {
|
|
41826
41826
|
activeSkinTone: e,
|
|
41827
41827
|
emoji: a,
|
|
@@ -41835,7 +41835,7 @@ function fT(t, e, n, r) {
|
|
|
41835
41835
|
unifiedWithoutSkinTone: a
|
|
41836
41836
|
};
|
|
41837
41837
|
}
|
|
41838
|
-
var o =
|
|
41838
|
+
var o = _e(t, e);
|
|
41839
41839
|
return {
|
|
41840
41840
|
activeSkinTone: e,
|
|
41841
41841
|
emoji: Ab(o),
|
|
@@ -41846,7 +41846,7 @@ function fT(t, e, n, r) {
|
|
|
41846
41846
|
isCustom: !1,
|
|
41847
41847
|
names: i,
|
|
41848
41848
|
unified: o,
|
|
41849
|
-
unifiedWithoutSkinTone:
|
|
41849
|
+
unifiedWithoutSkinTone: _e(t)
|
|
41850
41850
|
};
|
|
41851
41851
|
}
|
|
41852
41852
|
function fo(t) {
|
|
@@ -42219,7 +42219,7 @@ function CT(t) {
|
|
|
42219
42219
|
function LT() {
|
|
42220
42220
|
var t = R2(), e = t[0], n = OI();
|
|
42221
42221
|
return function(r) {
|
|
42222
|
-
var i =
|
|
42222
|
+
var i = _e(r), a = e.has(i), o = n(i);
|
|
42223
42223
|
return {
|
|
42224
42224
|
failedToLoad: a,
|
|
42225
42225
|
filteredOut: o,
|
|
@@ -42245,7 +42245,7 @@ function NT(t) {
|
|
|
42245
42245
|
dimensions: w
|
|
42246
42246
|
});
|
|
42247
42247
|
}, L = v.reduce(function(y, N, C) {
|
|
42248
|
-
var k =
|
|
42248
|
+
var k = _e(N, d), S = MT(w, C);
|
|
42249
42249
|
if (x(S)) {
|
|
42250
42250
|
var I, D;
|
|
42251
42251
|
return g++, GI(N, f, i, (I = (D = m.current) == null ? void 0 : D.clientHeight) != null ? I : 0, n, S, w, p), y;
|
|
@@ -42325,7 +42325,7 @@ function ST() {
|
|
|
42325
42325
|
d.current && c(d.current.clientHeight);
|
|
42326
42326
|
}), f)
|
|
42327
42327
|
return null;
|
|
42328
|
-
var u = t[0], p = e(Df(u))[0], h = p ?
|
|
42328
|
+
var u = t[0], p = e(Df(u))[0], h = p ? _e(p, o) : "";
|
|
42329
42329
|
return p ? O("div", {
|
|
42330
42330
|
ref: d
|
|
42331
42331
|
}, O(Hf, {
|
|
@@ -42410,7 +42410,7 @@ function ET() {
|
|
|
42410
42410
|
style: {
|
|
42411
42411
|
top: h
|
|
42412
42412
|
}
|
|
42413
|
-
}, p && r ? [
|
|
42413
|
+
}, p && r ? [_e(r)].concat(so(r)).slice(0, 6).map(function(g) {
|
|
42414
42414
|
return O(Hf, {
|
|
42415
42415
|
key: g,
|
|
42416
42416
|
emoji: r,
|
|
@@ -42817,7 +42817,7 @@ function VT() {
|
|
|
42817
42817
|
getEmojiUrl: f,
|
|
42818
42818
|
className: re(ya.emoji)
|
|
42819
42819
|
}) : p ? O(Rc, {
|
|
42820
|
-
unified:
|
|
42820
|
+
unified: _e(p),
|
|
42821
42821
|
emoji: p,
|
|
42822
42822
|
emojiStyle: a,
|
|
42823
42823
|
size: 45,
|
|
@@ -44031,7 +44031,7 @@ function Zs({
|
|
|
44031
44031
|
const w = a1(n), x = o1(r);
|
|
44032
44032
|
return /* @__PURE__ */ b("div", { className: M("flex items-center gap-2", f), children: [
|
|
44033
44033
|
c && /* @__PURE__ */ l(oi, { className: "size-4 text-muted-foreground" }),
|
|
44034
|
-
/* @__PURE__ */ l(
|
|
44034
|
+
/* @__PURE__ */ l(Ke, { className: "text-sm text-muted-foreground", children: "Horário:" }),
|
|
44035
44035
|
/* @__PURE__ */ b(
|
|
44036
44036
|
Mn,
|
|
44037
44037
|
{
|
|
@@ -44983,33 +44983,33 @@ function B8({
|
|
|
44983
44983
|
function H8({
|
|
44984
44984
|
...t
|
|
44985
44985
|
}) {
|
|
44986
|
-
return /* @__PURE__ */ l(
|
|
44986
|
+
return /* @__PURE__ */ l(We.Root, { "data-slot": "context-menu", ...t });
|
|
44987
44987
|
}
|
|
44988
44988
|
function U8({
|
|
44989
44989
|
...t
|
|
44990
44990
|
}) {
|
|
44991
|
-
return /* @__PURE__ */ l(
|
|
44991
|
+
return /* @__PURE__ */ l(We.Trigger, { "data-slot": "context-menu-trigger", ...t });
|
|
44992
44992
|
}
|
|
44993
44993
|
function F8({
|
|
44994
44994
|
...t
|
|
44995
44995
|
}) {
|
|
44996
|
-
return /* @__PURE__ */ l(
|
|
44996
|
+
return /* @__PURE__ */ l(We.Group, { "data-slot": "context-menu-group", ...t });
|
|
44997
44997
|
}
|
|
44998
44998
|
function J8({
|
|
44999
44999
|
...t
|
|
45000
45000
|
}) {
|
|
45001
|
-
return /* @__PURE__ */ l(
|
|
45001
|
+
return /* @__PURE__ */ l(We.Portal, { "data-slot": "context-menu-portal", ...t });
|
|
45002
45002
|
}
|
|
45003
45003
|
function Y8({
|
|
45004
45004
|
...t
|
|
45005
45005
|
}) {
|
|
45006
|
-
return /* @__PURE__ */ l(
|
|
45006
|
+
return /* @__PURE__ */ l(We.Sub, { "data-slot": "context-menu-sub", ...t });
|
|
45007
45007
|
}
|
|
45008
45008
|
function Q8({
|
|
45009
45009
|
...t
|
|
45010
45010
|
}) {
|
|
45011
45011
|
return /* @__PURE__ */ l(
|
|
45012
|
-
|
|
45012
|
+
We.RadioGroup,
|
|
45013
45013
|
{
|
|
45014
45014
|
"data-slot": "context-menu-radio-group",
|
|
45015
45015
|
...t
|
|
@@ -45023,7 +45023,7 @@ function V8({
|
|
|
45023
45023
|
...r
|
|
45024
45024
|
}) {
|
|
45025
45025
|
return /* @__PURE__ */ b(
|
|
45026
|
-
|
|
45026
|
+
We.SubTrigger,
|
|
45027
45027
|
{
|
|
45028
45028
|
"data-slot": "context-menu-sub-trigger",
|
|
45029
45029
|
"data-inset": e,
|
|
@@ -45044,7 +45044,7 @@ function _8({
|
|
|
45044
45044
|
...e
|
|
45045
45045
|
}) {
|
|
45046
45046
|
return /* @__PURE__ */ l(
|
|
45047
|
-
|
|
45047
|
+
We.SubContent,
|
|
45048
45048
|
{
|
|
45049
45049
|
"data-slot": "context-menu-sub-content",
|
|
45050
45050
|
className: M(
|
|
@@ -45059,8 +45059,8 @@ function G8({
|
|
|
45059
45059
|
className: t,
|
|
45060
45060
|
...e
|
|
45061
45061
|
}) {
|
|
45062
|
-
return /* @__PURE__ */ l(
|
|
45063
|
-
|
|
45062
|
+
return /* @__PURE__ */ l(We.Portal, { children: /* @__PURE__ */ l(
|
|
45063
|
+
We.Content,
|
|
45064
45064
|
{
|
|
45065
45065
|
"data-slot": "context-menu-content",
|
|
45066
45066
|
className: M(
|
|
@@ -45078,7 +45078,7 @@ function W8({
|
|
|
45078
45078
|
...r
|
|
45079
45079
|
}) {
|
|
45080
45080
|
return /* @__PURE__ */ l(
|
|
45081
|
-
|
|
45081
|
+
We.Item,
|
|
45082
45082
|
{
|
|
45083
45083
|
"data-slot": "context-menu-item",
|
|
45084
45084
|
"data-inset": e,
|
|
@@ -45098,7 +45098,7 @@ function $8({
|
|
|
45098
45098
|
...r
|
|
45099
45099
|
}) {
|
|
45100
45100
|
return /* @__PURE__ */ b(
|
|
45101
|
-
|
|
45101
|
+
We.CheckboxItem,
|
|
45102
45102
|
{
|
|
45103
45103
|
"data-slot": "context-menu-checkbox-item",
|
|
45104
45104
|
className: M(
|
|
@@ -45108,7 +45108,7 @@ function $8({
|
|
|
45108
45108
|
checked: n,
|
|
45109
45109
|
...r,
|
|
45110
45110
|
children: [
|
|
45111
|
-
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(
|
|
45111
|
+
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(We.ItemIndicator, { children: /* @__PURE__ */ l(Xs, { className: "size-4" }) }) }),
|
|
45112
45112
|
e
|
|
45113
45113
|
]
|
|
45114
45114
|
}
|
|
@@ -45120,7 +45120,7 @@ function Z8({
|
|
|
45120
45120
|
...n
|
|
45121
45121
|
}) {
|
|
45122
45122
|
return /* @__PURE__ */ b(
|
|
45123
|
-
|
|
45123
|
+
We.RadioItem,
|
|
45124
45124
|
{
|
|
45125
45125
|
"data-slot": "context-menu-radio-item",
|
|
45126
45126
|
className: M(
|
|
@@ -45129,7 +45129,7 @@ function Z8({
|
|
|
45129
45129
|
),
|
|
45130
45130
|
...n,
|
|
45131
45131
|
children: [
|
|
45132
|
-
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(
|
|
45132
|
+
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(We.ItemIndicator, { children: /* @__PURE__ */ l(Wc, { className: "size-2 fill-current" }) }) }),
|
|
45133
45133
|
e
|
|
45134
45134
|
]
|
|
45135
45135
|
}
|
|
@@ -45141,7 +45141,7 @@ function q8({
|
|
|
45141
45141
|
...n
|
|
45142
45142
|
}) {
|
|
45143
45143
|
return /* @__PURE__ */ l(
|
|
45144
|
-
|
|
45144
|
+
We.Label,
|
|
45145
45145
|
{
|
|
45146
45146
|
"data-slot": "context-menu-label",
|
|
45147
45147
|
"data-inset": e,
|
|
@@ -45158,7 +45158,7 @@ function K8({
|
|
|
45158
45158
|
...e
|
|
45159
45159
|
}) {
|
|
45160
45160
|
return /* @__PURE__ */ l(
|
|
45161
|
-
|
|
45161
|
+
We.Separator,
|
|
45162
45162
|
{
|
|
45163
45163
|
"data-slot": "context-menu-separator",
|
|
45164
45164
|
className: M("bg-border -mx-1 my-1 h-px", t),
|
|
@@ -45300,7 +45300,7 @@ const it = ({
|
|
|
45300
45300
|
/* @__PURE__ */ l(B, { variant: "ghost", size: "icon", className: "h-8 w-8", onClick: () => t.chain().focus().redo().run(), disabled: !t.can().redo(), children: /* @__PURE__ */ l(sv, { className: "h-4 w-4" }) })
|
|
45301
45301
|
] }),
|
|
45302
45302
|
/* @__PURE__ */ l(ur, { orientation: "vertical", className: "h-6 mx-1" }),
|
|
45303
|
-
e === "full" && /* @__PURE__ */ b(
|
|
45303
|
+
e === "full" && /* @__PURE__ */ b(Ve, { children: [
|
|
45304
45304
|
/* @__PURE__ */ l(it, { onClick: () => t.chain().focus().toggleHeading({ level: 1 }).run(), isActive: t.isActive("heading", { level: 1 }), title: "Título 1", children: /* @__PURE__ */ l(fv, { className: "h-4 w-4" }) }),
|
|
45305
45305
|
/* @__PURE__ */ l(it, { onClick: () => t.chain().focus().toggleHeading({ level: 2 }).run(), isActive: t.isActive("heading", { level: 2 }), title: "Título 2", children: /* @__PURE__ */ l(lv, { className: "h-4 w-4" }) }),
|
|
45306
45306
|
/* @__PURE__ */ l(it, { onClick: () => t.chain().focus().toggleHeading({ level: 3 }).run(), isActive: t.isActive("heading", { level: 3 }), title: "Título 3", children: /* @__PURE__ */ l(cv, { className: "h-4 w-4" }) }),
|
|
@@ -45313,7 +45313,7 @@ const it = ({
|
|
|
45313
45313
|
/* @__PURE__ */ l(ur, { orientation: "vertical", className: "h-6 mx-1" }),
|
|
45314
45314
|
/* @__PURE__ */ l(it, { onClick: () => t.chain().focus().toggleBulletList().run(), isActive: t.isActive("bulletList"), title: "Lista com marcadores", children: /* @__PURE__ */ l(F1, { className: "h-4 w-4" }) }),
|
|
45315
45315
|
/* @__PURE__ */ l(it, { onClick: () => t.chain().focus().toggleOrderedList().run(), isActive: t.isActive("orderedList"), title: "Lista numerada", children: /* @__PURE__ */ l(J1, { className: "h-4 w-4" }) }),
|
|
45316
|
-
e === "full" && /* @__PURE__ */ b(
|
|
45316
|
+
e === "full" && /* @__PURE__ */ b(Ve, { children: [
|
|
45317
45317
|
/* @__PURE__ */ l(it, { onClick: () => t.chain().focus().setTextAlign("left").run(), isActive: t.isActive({ textAlign: "left" }), title: "Alinhar à esquerda", children: /* @__PURE__ */ l(uv, { className: "h-4 w-4" }) }),
|
|
45318
45318
|
/* @__PURE__ */ l(it, { onClick: () => t.chain().focus().setTextAlign("center").run(), isActive: t.isActive({ textAlign: "center" }), title: "Centralizar", children: /* @__PURE__ */ l(hv, { className: "h-4 w-4" }) }),
|
|
45319
45319
|
/* @__PURE__ */ l(it, { onClick: () => t.chain().focus().setTextAlign("right").run(), isActive: t.isActive({ textAlign: "right" }), title: "Alinhar à direita", children: /* @__PURE__ */ l(pv, { className: "h-4 w-4" }) })
|
|
@@ -45540,11 +45540,11 @@ function Jj({
|
|
|
45540
45540
|
[v, n]
|
|
45541
45541
|
), J = T.useCallback(() => {
|
|
45542
45542
|
L(!1), w(null), r == null || r();
|
|
45543
|
-
}, [r]), P = T.useCallback(() => p && S ? p(t, S) : S ? /* @__PURE__ */ b(
|
|
45543
|
+
}, [r]), P = T.useCallback(() => p && S ? p(t, S) : S ? /* @__PURE__ */ b(Ve, { children: [
|
|
45544
45544
|
S.icon,
|
|
45545
45545
|
S.label
|
|
45546
45546
|
] }) : t, [p, t, S]), F = (S == null ? void 0 : S.variant) || a;
|
|
45547
|
-
return i ? /* @__PURE__ */ l("div", { ref: g, className: M("inline-flex", h), ...m, children: /* @__PURE__ */ l(ve, { variant: F, children: P() }) }) : /* @__PURE__ */ b(
|
|
45547
|
+
return i ? /* @__PURE__ */ l("div", { ref: g, className: M("inline-flex", h), ...m, children: /* @__PURE__ */ l(ve, { variant: F, children: P() }) }) : /* @__PURE__ */ b(Ve, { children: [
|
|
45548
45548
|
/* @__PURE__ */ l("div", { ref: g, className: M("inline-flex", h), ...m, children: /* @__PURE__ */ b(sf, { open: y, onOpenChange: N, children: [
|
|
45549
45549
|
/* @__PURE__ */ l(ff, { asChild: !0, disabled: u, children: /* @__PURE__ */ b(
|
|
45550
45550
|
ve,
|
|
@@ -48823,7 +48823,7 @@ function c7({
|
|
|
48823
48823
|
}) {
|
|
48824
48824
|
const { error: n, formItemId: r } = Kf();
|
|
48825
48825
|
return /* @__PURE__ */ l(
|
|
48826
|
-
|
|
48826
|
+
Ke,
|
|
48827
48827
|
{
|
|
48828
48828
|
"data-slot": "form-label",
|
|
48829
48829
|
"data-error": !!n,
|
|
@@ -49755,7 +49755,7 @@ function N7({
|
|
|
49755
49755
|
...e
|
|
49756
49756
|
}) {
|
|
49757
49757
|
return /* @__PURE__ */ l(
|
|
49758
|
-
|
|
49758
|
+
$e.Root,
|
|
49759
49759
|
{
|
|
49760
49760
|
"data-slot": "menubar",
|
|
49761
49761
|
className: M(
|
|
@@ -49769,29 +49769,29 @@ function N7({
|
|
|
49769
49769
|
function k7({
|
|
49770
49770
|
...t
|
|
49771
49771
|
}) {
|
|
49772
|
-
return /* @__PURE__ */ l(
|
|
49772
|
+
return /* @__PURE__ */ l($e.Menu, { "data-slot": "menubar-menu", ...t });
|
|
49773
49773
|
}
|
|
49774
49774
|
function S7({
|
|
49775
49775
|
...t
|
|
49776
49776
|
}) {
|
|
49777
|
-
return /* @__PURE__ */ l(
|
|
49777
|
+
return /* @__PURE__ */ l($e.Group, { "data-slot": "menubar-group", ...t });
|
|
49778
49778
|
}
|
|
49779
49779
|
function wE({
|
|
49780
49780
|
...t
|
|
49781
49781
|
}) {
|
|
49782
|
-
return /* @__PURE__ */ l(
|
|
49782
|
+
return /* @__PURE__ */ l($e.Portal, { "data-slot": "menubar-portal", ...t });
|
|
49783
49783
|
}
|
|
49784
49784
|
function I7({
|
|
49785
49785
|
...t
|
|
49786
49786
|
}) {
|
|
49787
|
-
return /* @__PURE__ */ l(
|
|
49787
|
+
return /* @__PURE__ */ l($e.RadioGroup, { "data-slot": "menubar-radio-group", ...t });
|
|
49788
49788
|
}
|
|
49789
49789
|
function T7({
|
|
49790
49790
|
className: t,
|
|
49791
49791
|
...e
|
|
49792
49792
|
}) {
|
|
49793
49793
|
return /* @__PURE__ */ l(
|
|
49794
|
-
|
|
49794
|
+
$e.Trigger,
|
|
49795
49795
|
{
|
|
49796
49796
|
"data-slot": "menubar-trigger",
|
|
49797
49797
|
className: M(
|
|
@@ -49810,7 +49810,7 @@ function j7({
|
|
|
49810
49810
|
...i
|
|
49811
49811
|
}) {
|
|
49812
49812
|
return /* @__PURE__ */ l(wE, { children: /* @__PURE__ */ l(
|
|
49813
|
-
|
|
49813
|
+
$e.Content,
|
|
49814
49814
|
{
|
|
49815
49815
|
"data-slot": "menubar-content",
|
|
49816
49816
|
align: e,
|
|
@@ -49831,7 +49831,7 @@ function D7({
|
|
|
49831
49831
|
...r
|
|
49832
49832
|
}) {
|
|
49833
49833
|
return /* @__PURE__ */ l(
|
|
49834
|
-
|
|
49834
|
+
$e.Item,
|
|
49835
49835
|
{
|
|
49836
49836
|
"data-slot": "menubar-item",
|
|
49837
49837
|
"data-inset": e,
|
|
@@ -49851,7 +49851,7 @@ function E7({
|
|
|
49851
49851
|
...r
|
|
49852
49852
|
}) {
|
|
49853
49853
|
return /* @__PURE__ */ b(
|
|
49854
|
-
|
|
49854
|
+
$e.CheckboxItem,
|
|
49855
49855
|
{
|
|
49856
49856
|
"data-slot": "menubar-checkbox-item",
|
|
49857
49857
|
className: M(
|
|
@@ -49861,7 +49861,7 @@ function E7({
|
|
|
49861
49861
|
checked: n,
|
|
49862
49862
|
...r,
|
|
49863
49863
|
children: [
|
|
49864
|
-
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(
|
|
49864
|
+
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l($e.ItemIndicator, { children: /* @__PURE__ */ l(Xs, { className: "size-4" }) }) }),
|
|
49865
49865
|
e
|
|
49866
49866
|
]
|
|
49867
49867
|
}
|
|
@@ -49873,7 +49873,7 @@ function A7({
|
|
|
49873
49873
|
...n
|
|
49874
49874
|
}) {
|
|
49875
49875
|
return /* @__PURE__ */ b(
|
|
49876
|
-
|
|
49876
|
+
$e.RadioItem,
|
|
49877
49877
|
{
|
|
49878
49878
|
"data-slot": "menubar-radio-item",
|
|
49879
49879
|
className: M(
|
|
@@ -49882,7 +49882,7 @@ function A7({
|
|
|
49882
49882
|
),
|
|
49883
49883
|
...n,
|
|
49884
49884
|
children: [
|
|
49885
|
-
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(
|
|
49885
|
+
/* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l($e.ItemIndicator, { children: /* @__PURE__ */ l(Wc, { className: "size-2 fill-current" }) }) }),
|
|
49886
49886
|
e
|
|
49887
49887
|
]
|
|
49888
49888
|
}
|
|
@@ -49894,7 +49894,7 @@ function z7({
|
|
|
49894
49894
|
...n
|
|
49895
49895
|
}) {
|
|
49896
49896
|
return /* @__PURE__ */ l(
|
|
49897
|
-
|
|
49897
|
+
$e.Label,
|
|
49898
49898
|
{
|
|
49899
49899
|
"data-slot": "menubar-label",
|
|
49900
49900
|
"data-inset": e,
|
|
@@ -49911,7 +49911,7 @@ function O7({
|
|
|
49911
49911
|
...e
|
|
49912
49912
|
}) {
|
|
49913
49913
|
return /* @__PURE__ */ l(
|
|
49914
|
-
|
|
49914
|
+
$e.Separator,
|
|
49915
49915
|
{
|
|
49916
49916
|
"data-slot": "menubar-separator",
|
|
49917
49917
|
className: M("bg-border -mx-1 my-1 h-px", t),
|
|
@@ -49938,7 +49938,7 @@ function P7({
|
|
|
49938
49938
|
function R7({
|
|
49939
49939
|
...t
|
|
49940
49940
|
}) {
|
|
49941
|
-
return /* @__PURE__ */ l(
|
|
49941
|
+
return /* @__PURE__ */ l($e.Sub, { "data-slot": "menubar-sub", ...t });
|
|
49942
49942
|
}
|
|
49943
49943
|
function B7({
|
|
49944
49944
|
className: t,
|
|
@@ -49947,7 +49947,7 @@ function B7({
|
|
|
49947
49947
|
...r
|
|
49948
49948
|
}) {
|
|
49949
49949
|
return /* @__PURE__ */ b(
|
|
49950
|
-
|
|
49950
|
+
$e.SubTrigger,
|
|
49951
49951
|
{
|
|
49952
49952
|
"data-slot": "menubar-sub-trigger",
|
|
49953
49953
|
"data-inset": e,
|
|
@@ -49968,7 +49968,7 @@ function H7({
|
|
|
49968
49968
|
...e
|
|
49969
49969
|
}) {
|
|
49970
49970
|
return /* @__PURE__ */ l(
|
|
49971
|
-
|
|
49971
|
+
$e.SubContent,
|
|
49972
49972
|
{
|
|
49973
49973
|
"data-slot": "menubar-sub-content",
|
|
49974
49974
|
className: M(
|
|
@@ -51618,7 +51618,7 @@ function KE({ label: t, value: e, onRemove: n, className: r }) {
|
|
|
51618
51618
|
children: [
|
|
51619
51619
|
/* @__PURE__ */ b("span", { className: "text-sm", children: [
|
|
51620
51620
|
t,
|
|
51621
|
-
e && /* @__PURE__ */ b(
|
|
51621
|
+
e && /* @__PURE__ */ b(Ve, { children: [
|
|
51622
51622
|
": ",
|
|
51623
51623
|
/* @__PURE__ */ l("span", { className: "font-semibold", children: e })
|
|
51624
51624
|
] })
|
|
@@ -51660,7 +51660,7 @@ function XE({
|
|
|
51660
51660
|
]
|
|
51661
51661
|
}
|
|
51662
51662
|
),
|
|
51663
|
-
a && /* @__PURE__ */ b(
|
|
51663
|
+
a && /* @__PURE__ */ b(Ve, { children: [
|
|
51664
51664
|
/* @__PURE__ */ l("div", { className: "h-4 w-px bg-border" }),
|
|
51665
51665
|
t.map((o) => /* @__PURE__ */ l(
|
|
51666
51666
|
KE,
|
|
@@ -51831,7 +51831,7 @@ function tA({
|
|
|
51831
51831
|
g.value
|
|
51832
51832
|
)) }) })
|
|
51833
51833
|
] }),
|
|
51834
|
-
f && /* @__PURE__ */ b(
|
|
51834
|
+
f && /* @__PURE__ */ b(Ve, { children: [
|
|
51835
51835
|
a != null && a.options ? (
|
|
51836
51836
|
// Select field with options
|
|
51837
51837
|
/* @__PURE__ */ b(ut, { onOpenChange: (g) => !g && d(""), children: [
|
|
@@ -51851,7 +51851,7 @@ function tA({
|
|
|
51851
51851
|
}
|
|
51852
51852
|
) }),
|
|
51853
51853
|
/* @__PURE__ */ l(ot, { className: "w-[240px] p-3", align: "start", children: /* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
51854
|
-
/* @__PURE__ */ l(
|
|
51854
|
+
/* @__PURE__ */ l(Ke, { className: "text-xs text-muted-foreground", children: s ? "Selecionar valores" : "Selecionar valor" }),
|
|
51855
51855
|
/* @__PURE__ */ b("div", { className: "relative", children: [
|
|
51856
51856
|
/* @__PURE__ */ l(G1, { className: "absolute left-2 top-2.5 h-4 w-4 text-muted-foreground" }),
|
|
51857
51857
|
/* @__PURE__ */ l(
|
|
@@ -51876,7 +51876,7 @@ function tA({
|
|
|
51876
51876
|
"div",
|
|
51877
51877
|
{
|
|
51878
51878
|
className: "flex items-center space-x-2",
|
|
51879
|
-
children: s ? /* @__PURE__ */ b(
|
|
51879
|
+
children: s ? /* @__PURE__ */ b(Ve, { children: [
|
|
51880
51880
|
/* @__PURE__ */ l(
|
|
51881
51881
|
wy,
|
|
51882
51882
|
{
|
|
@@ -51943,7 +51943,7 @@ function tA({
|
|
|
51943
51943
|
}
|
|
51944
51944
|
) }),
|
|
51945
51945
|
/* @__PURE__ */ l(ot, { className: "w-[240px] p-3", align: "start", children: /* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
51946
|
-
/* @__PURE__ */ l(
|
|
51946
|
+
/* @__PURE__ */ l(Ke, { className: "text-xs text-muted-foreground", children: "Inserir valor" }),
|
|
51947
51947
|
/* @__PURE__ */ l(
|
|
51948
51948
|
$n,
|
|
51949
51949
|
{
|
|
@@ -52097,18 +52097,18 @@ function nA({
|
|
|
52097
52097
|
entre: "entre"
|
|
52098
52098
|
})[R] || R, _ = S.map((R) => {
|
|
52099
52099
|
var ln, Yt;
|
|
52100
|
-
const Z = a.find((
|
|
52100
|
+
const Z = a.find((Ze) => Ze.value === R.field), ue = A(R.operator);
|
|
52101
52101
|
let Oe;
|
|
52102
|
-
return Array.isArray(R.value) ? Oe = R.value.map((
|
|
52102
|
+
return Array.isArray(R.value) ? Oe = R.value.map((Ze) => {
|
|
52103
52103
|
var cn, En;
|
|
52104
|
-
return ((En = (cn = Z == null ? void 0 : Z.options) == null ? void 0 : cn.find((Vr) => Vr.value ===
|
|
52105
|
-
}).join(", ") : (Z == null ? void 0 : Z.type) === "date" ? Oe = F(R.value) : Oe = ((Yt = (ln = Z == null ? void 0 : Z.options) == null ? void 0 : ln.find((
|
|
52104
|
+
return ((En = (cn = Z == null ? void 0 : Z.options) == null ? void 0 : cn.find((Vr) => Vr.value === Ze)) == null ? void 0 : En.label) || Ze;
|
|
52105
|
+
}).join(", ") : (Z == null ? void 0 : Z.type) === "date" ? Oe = F(R.value) : Oe = ((Yt = (ln = Z == null ? void 0 : Z.options) == null ? void 0 : ln.find((Ze) => Ze.value === R.value)) == null ? void 0 : Yt.label) || R.value, {
|
|
52106
52106
|
id: R.id,
|
|
52107
52107
|
label: (Z == null ? void 0 : Z.label) || R.field,
|
|
52108
52108
|
value: ue ? `${ue} ${Oe}` : Oe,
|
|
52109
52109
|
onRemove: () => {
|
|
52110
|
-
const
|
|
52111
|
-
I(
|
|
52110
|
+
const Ze = S.filter((cn) => cn.id !== R.id);
|
|
52111
|
+
I(Ze), J(Ze);
|
|
52112
52112
|
}
|
|
52113
52113
|
};
|
|
52114
52114
|
}), q = () => {
|
|
@@ -52335,8 +52335,8 @@ function Dz({
|
|
|
52335
52335
|
")"
|
|
52336
52336
|
] })
|
|
52337
52337
|
] }) }),
|
|
52338
|
-
/* @__PURE__ */ l(lf, { align: "start", className: "w-[280px]", children: t.length === 0 ? /* @__PURE__ */ l("div", { className: "px-2 py-6 text-center text-sm text-muted-foreground", children: "No saved filters yet" }) : /* @__PURE__ */ b(
|
|
52339
|
-
a.length > 0 && /* @__PURE__ */ b(
|
|
52338
|
+
/* @__PURE__ */ l(lf, { align: "start", className: "w-[280px]", children: t.length === 0 ? /* @__PURE__ */ l("div", { className: "px-2 py-6 text-center text-sm text-muted-foreground", children: "No saved filters yet" }) : /* @__PURE__ */ b(Ve, { children: [
|
|
52339
|
+
a.length > 0 && /* @__PURE__ */ b(Ve, { children: [
|
|
52340
52340
|
/* @__PURE__ */ l("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground", children: "Favorites" }),
|
|
52341
52341
|
a.map((s) => /* @__PURE__ */ l(
|
|
52342
52342
|
S1,
|
|
@@ -52350,7 +52350,7 @@ function Dz({
|
|
|
52350
52350
|
)),
|
|
52351
52351
|
o.length > 0 && /* @__PURE__ */ l(Wl, {})
|
|
52352
52352
|
] }),
|
|
52353
|
-
o.length > 0 && /* @__PURE__ */ b(
|
|
52353
|
+
o.length > 0 && /* @__PURE__ */ b(Ve, { children: [
|
|
52354
52354
|
a.length > 0 && /* @__PURE__ */ l("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground", children: "Todos filtros" }),
|
|
52355
52355
|
o.map((s) => /* @__PURE__ */ l(
|
|
52356
52356
|
S1,
|
|
@@ -52458,7 +52458,7 @@ function Ez({
|
|
|
52458
52458
|
] }),
|
|
52459
52459
|
/* @__PURE__ */ b("div", { className: "space-y-6 py-4", children: [
|
|
52460
52460
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
52461
|
-
/* @__PURE__ */ l(
|
|
52461
|
+
/* @__PURE__ */ l(Ke, { htmlFor: "task-name", children: "Nome da Tarefa *" }),
|
|
52462
52462
|
/* @__PURE__ */ l(
|
|
52463
52463
|
$n,
|
|
52464
52464
|
{
|
|
@@ -52470,7 +52470,7 @@ function Ez({
|
|
|
52470
52470
|
)
|
|
52471
52471
|
] }),
|
|
52472
52472
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
52473
|
-
/* @__PURE__ */ l(
|
|
52473
|
+
/* @__PURE__ */ l(Ke, { htmlFor: "task-description", children: "Descrição" }),
|
|
52474
52474
|
/* @__PURE__ */ l(
|
|
52475
52475
|
y4,
|
|
52476
52476
|
{
|
|
@@ -52484,7 +52484,7 @@ function Ez({
|
|
|
52484
52484
|
] }),
|
|
52485
52485
|
/* @__PURE__ */ b("div", { className: "grid sm:grid-cols-2 gap-4", children: [
|
|
52486
52486
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
52487
|
-
/* @__PURE__ */ l(
|
|
52487
|
+
/* @__PURE__ */ l(Ke, { children: "Data de Início *" }),
|
|
52488
52488
|
/* @__PURE__ */ b(ut, { open: f, onOpenChange: c, children: [
|
|
52489
52489
|
/* @__PURE__ */ l(at, { asChild: !0, children: /* @__PURE__ */ b(
|
|
52490
52490
|
B,
|
|
@@ -52514,7 +52514,7 @@ function Ez({
|
|
|
52514
52514
|
] })
|
|
52515
52515
|
] }),
|
|
52516
52516
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
52517
|
-
/* @__PURE__ */ l(
|
|
52517
|
+
/* @__PURE__ */ l(Ke, { children: "Data de Término *" }),
|
|
52518
52518
|
/* @__PURE__ */ b(ut, { open: d, onOpenChange: u, children: [
|
|
52519
52519
|
/* @__PURE__ */ l(at, { asChild: !0, children: /* @__PURE__ */ b(
|
|
52520
52520
|
B,
|
|
@@ -52551,7 +52551,7 @@ function Ez({
|
|
|
52551
52551
|
] }),
|
|
52552
52552
|
/* @__PURE__ */ b("div", { className: "grid sm:grid-cols-2 gap-4", children: [
|
|
52553
52553
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
52554
|
-
/* @__PURE__ */ l(
|
|
52554
|
+
/* @__PURE__ */ l(Ke, { htmlFor: "task-status", children: "Status" }),
|
|
52555
52555
|
/* @__PURE__ */ b(
|
|
52556
52556
|
Mn,
|
|
52557
52557
|
{
|
|
@@ -52568,7 +52568,7 @@ function Ez({
|
|
|
52568
52568
|
)
|
|
52569
52569
|
] }),
|
|
52570
52570
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
52571
|
-
/* @__PURE__ */ l(
|
|
52571
|
+
/* @__PURE__ */ l(Ke, { htmlFor: "task-assignee", children: "Responsável" }),
|
|
52572
52572
|
/* @__PURE__ */ b(
|
|
52573
52573
|
Mn,
|
|
52574
52574
|
{
|
|
@@ -52590,7 +52590,7 @@ function Ez({
|
|
|
52590
52590
|
] }),
|
|
52591
52591
|
/* @__PURE__ */ b("div", { className: "space-y-3", children: [
|
|
52592
52592
|
/* @__PURE__ */ b("div", { className: "flex items-center justify-between", children: [
|
|
52593
|
-
/* @__PURE__ */ l(
|
|
52593
|
+
/* @__PURE__ */ l(Ke, { children: "Progresso" }),
|
|
52594
52594
|
/* @__PURE__ */ b("span", { className: "text-sm font-medium", children: [
|
|
52595
52595
|
o.progress,
|
|
52596
52596
|
"%"
|
|
@@ -52614,7 +52614,7 @@ function Ez({
|
|
|
52614
52614
|
] }),
|
|
52615
52615
|
/* @__PURE__ */ b("div", { className: "flex items-center justify-between p-4 rounded-lg border", children: [
|
|
52616
52616
|
/* @__PURE__ */ b("div", { className: "space-y-0.5", children: [
|
|
52617
|
-
/* @__PURE__ */ l(
|
|
52617
|
+
/* @__PURE__ */ l(Ke, { htmlFor: "milestone-toggle", className: "cursor-pointer", children: "Marco Importante (Milestone)" }),
|
|
52618
52618
|
/* @__PURE__ */ l("p", { className: "text-sm text-muted-foreground", children: "Marcos aparecem como losangos no cronograma" })
|
|
52619
52619
|
] }),
|
|
52620
52620
|
/* @__PURE__ */ l(
|
|
@@ -52629,7 +52629,7 @@ function Ez({
|
|
|
52629
52629
|
g.length > 0 && /* @__PURE__ */ b("div", { className: "space-y-3", children: [
|
|
52630
52630
|
/* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
|
|
52631
52631
|
/* @__PURE__ */ l(Bv, { className: "size-4 text-muted-foreground" }),
|
|
52632
|
-
/* @__PURE__ */ l(
|
|
52632
|
+
/* @__PURE__ */ l(Ke, { children: "Dependências" })
|
|
52633
52633
|
] }),
|
|
52634
52634
|
/* @__PURE__ */ l("p", { className: "text-sm text-muted-foreground", children: "Selecione as tarefas que precisam ser concluídas antes desta" }),
|
|
52635
52635
|
/* @__PURE__ */ l("div", { className: "space-y-2 max-h-48 overflow-y-auto border rounded-lg p-3", children: g.map((x) => {
|
|
@@ -53365,7 +53365,7 @@ export {
|
|
|
53365
53365
|
w7 as InputOTPSlot,
|
|
53366
53366
|
Ij as KPICard,
|
|
53367
53367
|
Sj as KanbanCard,
|
|
53368
|
-
|
|
53368
|
+
Ke as Label,
|
|
53369
53369
|
x2 as MentionList,
|
|
53370
53370
|
N7 as Menubar,
|
|
53371
53371
|
E7 as MenubarCheckboxItem,
|