@selectwin/kit 0.1.265 → 0.1.267
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/README.md +21 -5
- package/dist/SelectCalendar.d.ts +7 -1
- package/dist/SelectCalendar.js +36 -36
- package/dist/SelectKpiBand.d.ts +3 -1
- package/dist/SelectKpiBand.js +14 -9
- package/dist/SelectLocale.d.ts +17 -0
- package/dist/SelectLocale.js +18 -0
- package/dist/SelectMail.d.ts +21 -3
- package/dist/SelectMail.js +61 -57
- package/dist/SelectWhenField.d.ts +26 -0
- package/dist/SelectWhenField.js +192 -0
- package/dist/icons.d.ts +4 -0
- package/dist/icons.js +7 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +252 -251
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/SelectMail.js
CHANGED
|
@@ -216,7 +216,7 @@ function H({ tone: e, children: t }) {
|
|
|
216
216
|
})]
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function U({ icon: e, title: t, children: n, details: r, action: i, tone: a = "neutral" }) {
|
|
220
220
|
return /* @__PURE__ */ F("div", {
|
|
221
221
|
className: `select-inbox-empty select-inbox-empty--${a}`,
|
|
222
222
|
children: [
|
|
@@ -244,14 +244,14 @@ function ee({ icon: e, title: t, children: n, details: r, action: i, tone: a = "
|
|
|
244
244
|
]
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function W({ children: e, "aria-label": t }) {
|
|
248
248
|
return /* @__PURE__ */ P("div", {
|
|
249
249
|
className: "select-maillist",
|
|
250
250
|
"aria-label": t,
|
|
251
251
|
children: e
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function G({ label: e, children: t }) {
|
|
255
255
|
return /* @__PURE__ */ F("div", {
|
|
256
256
|
className: "select-maillist__group",
|
|
257
257
|
role: "group",
|
|
@@ -266,14 +266,14 @@ function ne({ label: e, children: t }) {
|
|
|
266
266
|
})]
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
|
-
var
|
|
269
|
+
var K = {
|
|
270
270
|
whatsapp: y,
|
|
271
271
|
email: l,
|
|
272
272
|
instagram: c,
|
|
273
273
|
messenger: u,
|
|
274
274
|
sms: h
|
|
275
275
|
};
|
|
276
|
-
function
|
|
276
|
+
function q({ from: e, avatar: t, subject: n, snippet: r, date: i, count: a, attachments: o, active: s = !1, unread: c = !1, flagged: l = !1, unreadCount: u, channel: f, avatarTone: p = "neutral", avatarRound: m = !1, onFlagToggle: h, flagLabel: _, unflagLabel: v, badge: y, pending: x = !1, pendingLabel: S, onClick: C }) {
|
|
277
277
|
let w = b().inbox, E = h != null, D = y != null && y !== !1, O = u != null && u > 0, k = c || O, A = t === !1 ? null : /* @__PURE__ */ P(T, {
|
|
278
278
|
name: t === !1 ? void 0 : t ?? (typeof e == "string" ? e : void 0),
|
|
279
279
|
initials: 2,
|
|
@@ -292,7 +292,7 @@ function ie({ from: e, avatar: t, subject: n, snippet: r, date: i, count: a, att
|
|
|
292
292
|
onClick: C,
|
|
293
293
|
children: [f && A ? /* @__PURE__ */ F("span", {
|
|
294
294
|
className: "select-maillist__face",
|
|
295
|
-
children: [A, /* @__PURE__ */ P(
|
|
295
|
+
children: [A, /* @__PURE__ */ P(J, {
|
|
296
296
|
channel: f,
|
|
297
297
|
label: w.channel[f]
|
|
298
298
|
})]
|
|
@@ -372,8 +372,8 @@ function ie({ from: e, avatar: t, subject: n, snippet: r, date: i, count: a, att
|
|
|
372
372
|
})]
|
|
373
373
|
}) : M;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
let i =
|
|
375
|
+
function J({ channel: e, label: t, inline: n, className: r }) {
|
|
376
|
+
let i = K[e];
|
|
377
377
|
return /* @__PURE__ */ P("span", {
|
|
378
378
|
className: L("select-maillist__channel", `select-maillist__channel--${e}`, n && "select-maillist__channel--inline", r),
|
|
379
379
|
role: "img",
|
|
@@ -381,16 +381,16 @@ function U({ channel: e, label: t, inline: n, className: r }) {
|
|
|
381
381
|
children: /* @__PURE__ */ P(i, {})
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function Y({ channel: e, label: t, className: n }) {
|
|
385
385
|
let r = b().inbox;
|
|
386
|
-
return /* @__PURE__ */ P(
|
|
386
|
+
return /* @__PURE__ */ P(J, {
|
|
387
387
|
channel: e,
|
|
388
388
|
label: t ?? r.channel[e],
|
|
389
389
|
inline: !0,
|
|
390
390
|
className: n
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function ee({ rows: e = 6 }) {
|
|
394
394
|
return /* @__PURE__ */ P("div", {
|
|
395
395
|
className: "select-maillist__skeleton",
|
|
396
396
|
"aria-hidden": "true",
|
|
@@ -409,13 +409,13 @@ function G({ rows: e = 6 }) {
|
|
|
409
409
|
}, t))
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function te({ children: e, tone: t = "muted" }) {
|
|
413
413
|
return /* @__PURE__ */ P("div", {
|
|
414
414
|
className: `select-maillist__note select-maillist__note--${t}`,
|
|
415
415
|
children: e
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function ne({ title: t, meta: n, actions: r, tools: i, onBack: a, children: o, footer: s, variant: c = "mail", avatar: l, threadMin: u, context: d }) {
|
|
419
419
|
let f = b().inbox;
|
|
420
420
|
return /* @__PURE__ */ F("div", {
|
|
421
421
|
className: L("select-mailreader", c === "chat" && "select-mailreader--chat"),
|
|
@@ -481,7 +481,7 @@ function q({ title: t, meta: n, actions: r, tools: i, onBack: a, children: o, fo
|
|
|
481
481
|
]
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function re({ from: e, to: t, cc: n, bcc: i, selfAddress: a, date: o, dateTitle: s, actions: c, notice: l, text: u, children: f, attachments: p, collapsed: m = !1, snippet: h, hasAttachments: g = !1, onToggle: _ }) {
|
|
485
485
|
let v = (e) => !!e && !!a && e.address.toLowerCase() === a.toLowerCase(), y = (e) => (e ?? []).map((e) => v(e) ? "você" : I(e)).join(", "), b = I(e);
|
|
486
486
|
if (m) return /* @__PURE__ */ F("button", {
|
|
487
487
|
type: "button",
|
|
@@ -585,7 +585,7 @@ function J({ from: e, to: t, cc: n, bcc: i, selfAddress: a, date: o, dateTitle:
|
|
|
585
585
|
]
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function ie({ tone: e = "info", icon: t, children: n }) {
|
|
589
589
|
return /* @__PURE__ */ F("div", {
|
|
590
590
|
className: `select-mailnotice select-mailnotice--${e}`,
|
|
591
591
|
children: [/* @__PURE__ */ P("span", {
|
|
@@ -595,7 +595,7 @@ function ae({ tone: e = "info", icon: t, children: n }) {
|
|
|
595
595
|
}), /* @__PURE__ */ P("span", { children: n })]
|
|
596
596
|
});
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function ae({ name: e, size: t, state: n = "idle", onClick: r, loadingLabel: i, readyLabel: s, failedLabel: c, downloadOnly: l = !1 }) {
|
|
599
599
|
let u = b().inbox, d = D(e), f = n === "loading" ? i ?? u.attachmentLoading : n === "ready" ? s ?? (l ? u.download : u.attachmentReady) : n === "failed" ? c ?? u.attachmentFailed : t, p = n === "ready" ? l ? u.attachmentDownload(e) : u.attachmentOpen(e) : n === "loading" ? u.attachmentBusy(e) : l && n === "idle" ? u.attachmentDownloadGet(e) : u.attachmentGet(e);
|
|
600
600
|
return /* @__PURE__ */ F("button", {
|
|
601
601
|
type: "button",
|
|
@@ -632,7 +632,7 @@ function oe({ name: e, size: t, state: n = "idle", onClick: r, loadingLabel: i,
|
|
|
632
632
|
]
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function oe({ children: e, onClick: n, variant: r = "link", title: i }) {
|
|
636
636
|
return /* @__PURE__ */ F("button", {
|
|
637
637
|
type: "button",
|
|
638
638
|
className: `select-leadchip select-leadchip--${r}`,
|
|
@@ -656,34 +656,34 @@ function se({ children: e, onClick: n, variant: r = "link", title: i }) {
|
|
|
656
656
|
]
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
var
|
|
659
|
+
var X = (e) => {
|
|
660
660
|
var t;
|
|
661
661
|
return Array.from(((t = e.dataTransfer) == null ? void 0 : t.types) ?? []).includes("Files");
|
|
662
662
|
};
|
|
663
|
-
function
|
|
664
|
-
let
|
|
663
|
+
function se({ variant: e = "inline", title: t, minimized: a = !1, onToggleMinimize: o, onClose: c, closeLabel: l, error: u, attachments: f, onFiles: p, dropLabel: m, footer: h, start: g, end: _, hint: v, hintEnd: y, shape: C = "box", narrow: T = !1, fill: E = !1, children: D, "aria-label": O }) {
|
|
664
|
+
let k = b().inbox, A = e === "dock", I = e === "chat", R = S(I && C === "auto" ? x : void 0), z = I && (C === "pill" || C === "auto" && R), [B, V] = M(!1), H = j(0), U = p ? {
|
|
665
665
|
onDragEnter: (e) => {
|
|
666
|
-
|
|
666
|
+
X(e) && (e.preventDefault(), H.current += 1, V(!0));
|
|
667
667
|
},
|
|
668
668
|
onDragOver: (e) => {
|
|
669
|
-
|
|
669
|
+
X(e) && e.preventDefault();
|
|
670
670
|
},
|
|
671
671
|
onDragLeave: (e) => {
|
|
672
|
-
|
|
672
|
+
X(e) && (H.current = Math.max(0, H.current - 1), H.current === 0 && V(!1));
|
|
673
673
|
},
|
|
674
674
|
onDrop: (e) => {
|
|
675
|
-
if (!
|
|
676
|
-
e.preventDefault(),
|
|
675
|
+
if (!X(e)) return;
|
|
676
|
+
e.preventDefault(), H.current = 0, V(!1);
|
|
677
677
|
let t = Array.from(e.dataTransfer.files);
|
|
678
678
|
t.length && p(t);
|
|
679
679
|
}
|
|
680
|
-
} : {},
|
|
681
|
-
className: L("select-mailcomposer", `select-mailcomposer--${e}`,
|
|
682
|
-
role:
|
|
683
|
-
"aria-label":
|
|
684
|
-
...
|
|
680
|
+
} : {}, W = /* @__PURE__ */ F("div", {
|
|
681
|
+
className: L("select-mailcomposer", `select-mailcomposer--${e}`, z && "select-mailcomposer--pill", I && T === "auto" && "select-mailcomposer--narrow-auto", I && T === !0 && "select-mailcomposer--narrow", E && "select-mailcomposer--fill", a && "is-minimized", B && "is-dragging"),
|
|
682
|
+
role: A ? "dialog" : "group",
|
|
683
|
+
"aria-label": O,
|
|
684
|
+
...U,
|
|
685
685
|
children: [
|
|
686
|
-
|
|
686
|
+
A ? /* @__PURE__ */ F("div", {
|
|
687
687
|
className: "select-mailcomposer__bar",
|
|
688
688
|
children: [
|
|
689
689
|
/* @__PURE__ */ P("span", {
|
|
@@ -692,24 +692,24 @@ function ce({ variant: e = "inline", title: t, minimized: a = !1, onToggleMinimi
|
|
|
692
692
|
}),
|
|
693
693
|
o ? /* @__PURE__ */ P(w, {
|
|
694
694
|
icon: P(a ? r : n, {}),
|
|
695
|
-
label: a ?
|
|
695
|
+
label: a ? k.open : k.minimize,
|
|
696
696
|
size: "sm",
|
|
697
697
|
onClick: o
|
|
698
698
|
}) : null,
|
|
699
699
|
c ? /* @__PURE__ */ P(w, {
|
|
700
700
|
icon: /* @__PURE__ */ P(i, {}),
|
|
701
|
-
label: l ??
|
|
701
|
+
label: l ?? k.close,
|
|
702
702
|
size: "sm",
|
|
703
703
|
onClick: c
|
|
704
704
|
}) : null
|
|
705
705
|
]
|
|
706
706
|
}) : null,
|
|
707
|
-
|
|
707
|
+
B && !a ? /* @__PURE__ */ F("div", {
|
|
708
708
|
className: "select-mailcomposer__drop",
|
|
709
709
|
"aria-hidden": "true",
|
|
710
|
-
children: [/* @__PURE__ */ P(d, {}), /* @__PURE__ */ P("span", { children: m ??
|
|
710
|
+
children: [/* @__PURE__ */ P(d, {}), /* @__PURE__ */ P("span", { children: m ?? k.drop })]
|
|
711
711
|
}) : null,
|
|
712
|
-
a ? null :
|
|
712
|
+
a ? null : I ? /* @__PURE__ */ F(N, { children: [
|
|
713
713
|
f,
|
|
714
714
|
u ? /* @__PURE__ */ F("div", {
|
|
715
715
|
className: "select-mailcomposer__error",
|
|
@@ -728,7 +728,7 @@ function ce({ variant: e = "inline", title: t, minimized: a = !1, onToggleMinimi
|
|
|
728
728
|
}) : null,
|
|
729
729
|
/* @__PURE__ */ P("div", {
|
|
730
730
|
className: "select-mailcomposer__fields",
|
|
731
|
-
children:
|
|
731
|
+
children: D
|
|
732
732
|
}),
|
|
733
733
|
_ != null && _ !== !1 ? /* @__PURE__ */ P("div", {
|
|
734
734
|
className: "select-mailcomposer__end",
|
|
@@ -743,7 +743,7 @@ function ce({ variant: e = "inline", title: t, minimized: a = !1, onToggleMinimi
|
|
|
743
743
|
] }) : /* @__PURE__ */ F(N, { children: [
|
|
744
744
|
/* @__PURE__ */ P("div", {
|
|
745
745
|
className: "select-mailcomposer__fields",
|
|
746
|
-
children:
|
|
746
|
+
children: D
|
|
747
747
|
}),
|
|
748
748
|
f,
|
|
749
749
|
u ? /* @__PURE__ */ F("div", {
|
|
@@ -761,12 +761,12 @@ function ce({ variant: e = "inline", title: t, minimized: a = !1, onToggleMinimi
|
|
|
761
761
|
] })
|
|
762
762
|
]
|
|
763
763
|
});
|
|
764
|
-
return !
|
|
764
|
+
return !I || (v == null || v === !1) && (y == null || y === !1) ? W : /* @__PURE__ */ F(N, { children: [W, /* @__PURE__ */ F("div", {
|
|
765
765
|
className: "select-mailcomposer__hint",
|
|
766
766
|
children: [/* @__PURE__ */ P("span", { children: v }), y != null && y !== !1 ? /* @__PURE__ */ P("span", { children: y }) : null]
|
|
767
767
|
})] });
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function ce({ label: e, children: t, action: n }) {
|
|
770
770
|
return /* @__PURE__ */ F("div", {
|
|
771
771
|
className: "select-mailcomposer__row",
|
|
772
772
|
children: [
|
|
@@ -785,7 +785,7 @@ function le({ label: e, children: t, action: n }) {
|
|
|
785
785
|
]
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function le({ value: e, onChange: t, placeholder: n, "aria-label": r, maxLength: i }) {
|
|
789
789
|
return /* @__PURE__ */ P("input", {
|
|
790
790
|
className: "select-mailcomposer__input",
|
|
791
791
|
value: e,
|
|
@@ -795,19 +795,19 @@ function ue({ value: e, onChange: t, placeholder: n, "aria-label": r, maxLength:
|
|
|
795
795
|
maxLength: i
|
|
796
796
|
});
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function Z(e, t, n) {
|
|
799
799
|
let r = getComputedStyle(e), i = parseFloat(r.lineHeight) || 22, a = (parseFloat(r.paddingTop) || 0) + (parseFloat(r.paddingBottom) || 0) + (parseFloat(r.borderTopWidth) || 0) + (parseFloat(r.borderBottomWidth) || 0), o = i * t + a, s = i * n + a;
|
|
800
800
|
e.style.height = "auto";
|
|
801
801
|
let c = e.scrollHeight + (parseFloat(r.borderTopWidth) || 0) + (parseFloat(r.borderBottomWidth) || 0);
|
|
802
802
|
e.style.height = `${Math.round(Math.min(s, Math.max(o, c)))}px`, e.style.overflowY = c > s ? "auto" : "hidden";
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function ue({ value: e, onChange: t, placeholder: n, rows: r = 6, autoGrow: i = !1, minRows: a = 3, maxRows: o = 12, "aria-label": s, maxLength: c, onEnter: l, id: u, textareaRef: d, onKeyDown: f, onSelect: p, fieldProps: m }) {
|
|
805
805
|
let h = b().inbox, g = j(null), _ = k((e) => {
|
|
806
806
|
g.current = e, typeof d == "function" ? d(e) : d && (d.current = e);
|
|
807
807
|
}, [d]);
|
|
808
808
|
return A(() => {
|
|
809
809
|
let e = g.current;
|
|
810
|
-
i && e &&
|
|
810
|
+
i && e && Z(e, a, o);
|
|
811
811
|
}, [
|
|
812
812
|
i,
|
|
813
813
|
e,
|
|
@@ -817,7 +817,7 @@ function de({ value: e, onChange: t, placeholder: n, rows: r = 6, autoGrow: i =
|
|
|
817
817
|
let e = g.current;
|
|
818
818
|
if (!i || !e || typeof ResizeObserver > "u") return;
|
|
819
819
|
let t = e.clientWidth, n = new ResizeObserver(() => {
|
|
820
|
-
e.clientWidth !== t && (t = e.clientWidth,
|
|
820
|
+
e.clientWidth !== t && (t = e.clientWidth, Z(e, a, o));
|
|
821
821
|
});
|
|
822
822
|
return n.observe(e), () => n.disconnect();
|
|
823
823
|
}, [
|
|
@@ -841,7 +841,7 @@ function de({ value: e, onChange: t, placeholder: n, rows: r = 6, autoGrow: i =
|
|
|
841
841
|
maxLength: c
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
|
-
function
|
|
844
|
+
function de({ onFiles: e, accept: t, multiple: n = !0, disabled: r = !1, label: i = "Anexar arquivo" }) {
|
|
845
845
|
let a = j(null);
|
|
846
846
|
return /* @__PURE__ */ F(N, { children: [/* @__PURE__ */ P(w, {
|
|
847
847
|
icon: /* @__PURE__ */ P(d, {}),
|
|
@@ -866,7 +866,7 @@ function fe({ onFiles: e, accept: t, multiple: n = !0, disabled: r = !1, label:
|
|
|
866
866
|
}
|
|
867
867
|
})] });
|
|
868
868
|
}
|
|
869
|
-
function
|
|
869
|
+
function fe({ children: e, note: t }) {
|
|
870
870
|
return /* @__PURE__ */ F("div", {
|
|
871
871
|
className: "select-mailcomposer__attachments",
|
|
872
872
|
role: "list",
|
|
@@ -877,7 +877,7 @@ function pe({ children: e, note: t }) {
|
|
|
877
877
|
}) : null]
|
|
878
878
|
});
|
|
879
879
|
}
|
|
880
|
-
function
|
|
880
|
+
function pe({ name: e, size: t, state: n = "done", progress: r, error: a, onRemove: o, onRetry: s }) {
|
|
881
881
|
let c = D(e), l = r == null ? null : Math.round(Math.min(1, Math.max(0, r)) * 100), u = n === "uploading" ? l == null ? "Subindo…" : `Subindo… ${l}%` : n === "failed" ? a ?? "Não subiu" : t;
|
|
882
882
|
return /* @__PURE__ */ F("span", {
|
|
883
883
|
className: `select-mailupload select-mailupload--${n}`,
|
|
@@ -927,25 +927,29 @@ function me({ name: e, size: t, state: n = "done", progress: r, error: a, onRemo
|
|
|
927
927
|
]
|
|
928
928
|
});
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function me({ above: e, start: t, note: n, end: r }) {
|
|
931
931
|
return /* @__PURE__ */ F(N, { children: [
|
|
932
|
-
e ? /* @__PURE__ */ P("div", {
|
|
933
|
-
className: "select-
|
|
932
|
+
e != null && e !== !1 ? /* @__PURE__ */ P("div", {
|
|
933
|
+
className: "select-mailcomposer__above",
|
|
934
934
|
children: e
|
|
935
935
|
}) : null,
|
|
936
|
+
t ? /* @__PURE__ */ P("div", {
|
|
937
|
+
className: "select-mailcomposer__start",
|
|
938
|
+
children: t
|
|
939
|
+
}) : null,
|
|
936
940
|
/* @__PURE__ */ P("span", {
|
|
937
941
|
className: "select-mailcomposer__note",
|
|
938
|
-
children:
|
|
942
|
+
children: n
|
|
939
943
|
}),
|
|
940
|
-
|
|
944
|
+
r ? /* @__PURE__ */ P("div", {
|
|
941
945
|
className: "select-mailcomposer__end",
|
|
942
|
-
children:
|
|
946
|
+
children: r
|
|
943
947
|
}) : null
|
|
944
948
|
] });
|
|
945
949
|
}
|
|
946
|
-
var
|
|
950
|
+
var he = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Q = /[\s,;]+/;
|
|
947
951
|
function $(e) {
|
|
948
|
-
return
|
|
952
|
+
return he.test(e);
|
|
949
953
|
}
|
|
950
954
|
function ge({ value: e, onChange: t, labels: n, validate: r = $, placeholder: a, "aria-label": o }) {
|
|
951
955
|
let [s, c] = M(""), l = j(null), u = (n) => {
|
|
@@ -1040,6 +1044,6 @@ function _e({ open: e, onClose: t, activator: n, templates: r, onPick: i, hint:
|
|
|
1040
1044
|
});
|
|
1041
1045
|
}
|
|
1042
1046
|
//#endregion
|
|
1043
|
-
export {
|
|
1047
|
+
export { Y as SelectChannelBadge, z as SelectInbox, B as SelectInboxBanner, U as SelectInboxEmpty, V as SelectInboxToolbar, oe as SelectLeadChip, de as SelectMailAttachButton, ae as SelectMailAttachment, se as SelectMailComposer, fe as SelectMailComposerAttachments, ue as SelectMailComposerBody, me as SelectMailComposerFooter, le as SelectMailComposerInput, ce as SelectMailComposerRow, W as SelectMailList, G as SelectMailListGroup, q as SelectMailListItem, te as SelectMailListNote, ee as SelectMailListSkeleton, re as SelectMailMessage, ie as SelectMailNotice, ne as SelectMailReader, pe as SelectMailUpload, H as SelectMailboxStatus, ge as SelectRecipientInput, _e as SelectTemplateMenu, D as attachmentExt, $ as isMailAddress, I as mailName };
|
|
1044
1048
|
|
|
1045
1049
|
//# sourceMappingURL=SelectMail.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** O "Quando": o começo no relógio da parede e a duração. */
|
|
2
|
+
export interface SelectWhenValue {
|
|
3
|
+
/** O começo, 'YYYY-MM-DDTHH:mm' (sem fuso: o relógio da parede de quem usa); '' enquanto não há dia. */
|
|
4
|
+
start: string;
|
|
5
|
+
/** A duração, em minutos (o fim é o começo mais ela). */
|
|
6
|
+
minutes: number;
|
|
7
|
+
}
|
|
8
|
+
/** As durações do "Termina", em minutos, quando o app não passa as dele. */
|
|
9
|
+
export declare const SELECT_WHEN_DURATIONS: readonly number[];
|
|
10
|
+
export interface SelectWhenFieldProps {
|
|
11
|
+
label?: string;
|
|
12
|
+
value: SelectWhenValue;
|
|
13
|
+
onChange: (value: SelectWhenValue) => void;
|
|
14
|
+
/** As durações do "Termina", em minutos (padrão: `SELECT_WHEN_DURATIONS`). A do `value` entra quando não está aqui. */
|
|
15
|
+
durations?: readonly number[];
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
error?: string;
|
|
20
|
+
hint?: string;
|
|
21
|
+
/** O primeiro e o último dia que se escolhem (inclusive); os de fora ficam apagados. */
|
|
22
|
+
minDate?: Date | null;
|
|
23
|
+
maxDate?: Date | null;
|
|
24
|
+
id?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const SelectWhenField: import('react').ForwardRefExoticComponent<SelectWhenFieldProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof SelectWhenFieldProps> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { SelectButton as e } from "./SelectButton.js";
|
|
3
|
+
import { CalendarIcon as t, ChevronLeftIcon as n, ChevronRightIcon as r } from "./icons.js";
|
|
4
|
+
import { useSelectLocale as i, useSelectMessages as a } from "./SelectLocale.js";
|
|
5
|
+
import { SelectField as o, SelectLabelRow as ee } from "./SelectField.js";
|
|
6
|
+
import { SelectSelect as te } from "./SelectSelect.js";
|
|
7
|
+
import { SelectPopover as ne } from "./SelectPopover.js";
|
|
8
|
+
import { selectDurationText as s } from "./SelectDeadlineBadge.js";
|
|
9
|
+
import { forwardRef as c, useId as l, useState as u } from "react";
|
|
10
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
11
|
+
//#region src/SelectWhenField.tsx
|
|
12
|
+
var p = [
|
|
13
|
+
15,
|
|
14
|
+
30,
|
|
15
|
+
45,
|
|
16
|
+
60,
|
|
17
|
+
90,
|
|
18
|
+
120
|
|
19
|
+
], m = (e) => String(e).padStart(2, "0"), h = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), g = (e) => new Date(e.getFullYear(), e.getMonth(), 1), _ = (e, t) => new Date(e.getFullYear(), e.getMonth(), e.getDate() + t), v = (e, t) => new Date(e.getFullYear(), e.getMonth() + t, 1), y = (e, t) => e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), b = (e) => `${m(e.getHours())}:${m(e.getMinutes())}`, x = (e) => e.charAt(0).toUpperCase() + e.slice(1);
|
|
20
|
+
function re(e) {
|
|
21
|
+
let t = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}))?/.exec(e || "");
|
|
22
|
+
return t ? new Date(Number(t[1]), Number(t[2]) - 1, Number(t[3]), Number(t[4] ?? 0), Number(t[5] ?? 0)) : null;
|
|
23
|
+
}
|
|
24
|
+
var ie = (e) => `${e.getFullYear()}-${m(e.getMonth() + 1)}-${m(e.getDate())}T${b(e)}`, S = (e, t) => new Date(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes() + t), C = c(function({ label: c, value: m, onChange: C, durations: w = p, placeholder: T, required: E, disabled: D, error: O, hint: k, minDate: A, maxDate: j, id: ae, className: M, ...oe }, se) {
|
|
25
|
+
let N = a(), P = N.whenField, F = N.calendar, I = i(), L = (e) => s(e, !1, I), R = l(), z = ae ?? R, [B, V] = u(!1), H = re(m.start), U = A ? h(A) : null, W = j ? h(j) : null, G = (e) => !!U && h(e) < U || !!W && h(e) > W, K = () => {
|
|
26
|
+
if (H) return H;
|
|
27
|
+
let e = /* @__PURE__ */ new Date();
|
|
28
|
+
return W && e > W ? W : U && e < U ? U : e;
|
|
29
|
+
}, [q, J] = u(() => g(K())), Y = h(/* @__PURE__ */ new Date()), ce = _(g(q), -g(q).getDay()), le = Array.from({ length: 42 }, (e, t) => _(ce, t)), ue = [.../* @__PURE__ */ new Set([...w, m.minutes])].filter((e) => Number.isFinite(e) && e > 0).sort((e, t) => e - t), de = O ? `${z}-err` : k ? `${z}-hint` : void 0, X = (e) => P.day(e.getFullYear(), e.getMonth() + 1, e.getDate(), e.getFullYear() !== Y.getFullYear()), Z = (() => {
|
|
30
|
+
if (!H) return null;
|
|
31
|
+
if (!(m.minutes > 0)) return `${X(H)}, ${b(H)}`;
|
|
32
|
+
let e = S(H, m.minutes);
|
|
33
|
+
return P.value(X(H), b(H), y(H, e) ? b(e) : `${X(e)}, ${b(e)}`);
|
|
34
|
+
})(), Q = (e, t = m.minutes) => C({
|
|
35
|
+
start: e ? ie(e) : "",
|
|
36
|
+
minutes: t
|
|
37
|
+
}), fe = () => {
|
|
38
|
+
D || (J(g(K())), V((e) => !e));
|
|
39
|
+
}, $ = (e) => {
|
|
40
|
+
G(e) || Q(new Date(e.getFullYear(), e.getMonth(), e.getDate(), (H == null ? void 0 : H.getHours()) ?? 0, (H == null ? void 0 : H.getMinutes()) ?? 0));
|
|
41
|
+
}, pe = (e) => {
|
|
42
|
+
let t = /^(\d{1,2}):(\d{2})/.exec(e);
|
|
43
|
+
if (!t) return;
|
|
44
|
+
let n = H ?? Y;
|
|
45
|
+
Q(new Date(n.getFullYear(), n.getMonth(), n.getDate(), Number(t[1]), Number(t[2])));
|
|
46
|
+
}, me = /* @__PURE__ */ f("div", {
|
|
47
|
+
className: `select-input-wrap${O ? " select-input-wrap--error" : ""}`,
|
|
48
|
+
children: [/* @__PURE__ */ d("button", {
|
|
49
|
+
id: z,
|
|
50
|
+
type: "button",
|
|
51
|
+
className: `select-input select-datefield__activator select-whenfield__activator${O ? " select-input--error" : ""}`,
|
|
52
|
+
onClick: fe,
|
|
53
|
+
disabled: D,
|
|
54
|
+
"aria-haspopup": "dialog",
|
|
55
|
+
"aria-expanded": B,
|
|
56
|
+
"aria-invalid": O ? !0 : void 0,
|
|
57
|
+
"aria-describedby": de,
|
|
58
|
+
children: Z ?? /* @__PURE__ */ d("span", {
|
|
59
|
+
className: "select-datefield__ph",
|
|
60
|
+
children: T ?? P.placeholder
|
|
61
|
+
})
|
|
62
|
+
}), /* @__PURE__ */ d("span", {
|
|
63
|
+
className: "select-datefield__icon",
|
|
64
|
+
"aria-hidden": "true",
|
|
65
|
+
children: /* @__PURE__ */ d(t, {})
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
68
|
+
return /* @__PURE__ */ f("div", {
|
|
69
|
+
ref: se,
|
|
70
|
+
...oe,
|
|
71
|
+
className: `select-field select-whenfield${M ? " " + M : ""}`,
|
|
72
|
+
children: [
|
|
73
|
+
c && /* @__PURE__ */ d(ee, {
|
|
74
|
+
htmlFor: z,
|
|
75
|
+
label: E ? `${c} *` : c
|
|
76
|
+
}),
|
|
77
|
+
/* @__PURE__ */ d("div", {
|
|
78
|
+
className: "select-datefield",
|
|
79
|
+
children: /* @__PURE__ */ d(ne, {
|
|
80
|
+
active: B,
|
|
81
|
+
onClose: () => V(!1),
|
|
82
|
+
placement: "bottom-start",
|
|
83
|
+
role: "dialog",
|
|
84
|
+
activator: me,
|
|
85
|
+
children: /* @__PURE__ */ f("div", {
|
|
86
|
+
className: "select-datefield__pop select-whenfield__pop",
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ f("div", {
|
|
89
|
+
className: "select-datepicker__calhead",
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ d("button", {
|
|
92
|
+
type: "button",
|
|
93
|
+
className: "select-datepicker__nav",
|
|
94
|
+
"aria-label": F.prevMonth,
|
|
95
|
+
onClick: () => J((e) => v(e, -1)),
|
|
96
|
+
children: /* @__PURE__ */ d(n, {})
|
|
97
|
+
}),
|
|
98
|
+
/* @__PURE__ */ d("span", {
|
|
99
|
+
className: "select-datepicker__monthlabel",
|
|
100
|
+
"aria-live": "polite",
|
|
101
|
+
children: x(F.monthTitle(q.getMonth() + 1, q.getFullYear()))
|
|
102
|
+
}),
|
|
103
|
+
/* @__PURE__ */ d("button", {
|
|
104
|
+
type: "button",
|
|
105
|
+
className: "select-datepicker__nav",
|
|
106
|
+
"aria-label": F.nextMonth,
|
|
107
|
+
onClick: () => J((e) => v(e, 1)),
|
|
108
|
+
children: /* @__PURE__ */ d(r, {})
|
|
109
|
+
})
|
|
110
|
+
]
|
|
111
|
+
}),
|
|
112
|
+
/* @__PURE__ */ f("div", {
|
|
113
|
+
className: "select-datepicker__grid",
|
|
114
|
+
children: [F.dow.map((e) => /* @__PURE__ */ d("div", {
|
|
115
|
+
className: "select-datepicker__weekday",
|
|
116
|
+
"aria-hidden": "true",
|
|
117
|
+
children: x(e)
|
|
118
|
+
}, e)), le.map((e) => {
|
|
119
|
+
let t = !!H && y(e, H), n = y(e, Y), r = "select-datepicker__daybtn" + (t ? " is-selected" : "") + (n && !t ? " is-today" : "") + (e.getMonth() === q.getMonth() ? "" : " is-outside");
|
|
120
|
+
return /* @__PURE__ */ d("div", {
|
|
121
|
+
className: "select-datepicker__day",
|
|
122
|
+
children: /* @__PURE__ */ d("button", {
|
|
123
|
+
type: "button",
|
|
124
|
+
className: r,
|
|
125
|
+
disabled: G(e),
|
|
126
|
+
"aria-label": F.dayLabel(e.getMonth() + 1, e.getDate()),
|
|
127
|
+
"aria-pressed": t,
|
|
128
|
+
"aria-current": n ? "date" : void 0,
|
|
129
|
+
onClick: () => $(e),
|
|
130
|
+
children: e.getDate()
|
|
131
|
+
})
|
|
132
|
+
}, e.getTime());
|
|
133
|
+
})]
|
|
134
|
+
}),
|
|
135
|
+
/* @__PURE__ */ f("div", {
|
|
136
|
+
className: "select-whenfield__times",
|
|
137
|
+
children: [/* @__PURE__ */ d(o, {
|
|
138
|
+
size: "sm",
|
|
139
|
+
type: "time",
|
|
140
|
+
label: P.start,
|
|
141
|
+
value: H ? b(H) : "",
|
|
142
|
+
onChange: pe
|
|
143
|
+
}), /* @__PURE__ */ d(te, {
|
|
144
|
+
size: "sm",
|
|
145
|
+
label: P.end,
|
|
146
|
+
value: String(m.minutes),
|
|
147
|
+
onChange: (e) => Q(H, Number(e)),
|
|
148
|
+
options: ue.map((e) => ({
|
|
149
|
+
value: String(e),
|
|
150
|
+
label: H ? P.endOption(b(S(H, e)), L(e)) : L(e)
|
|
151
|
+
}))
|
|
152
|
+
})]
|
|
153
|
+
}),
|
|
154
|
+
/* @__PURE__ */ f("div", {
|
|
155
|
+
className: "select-datefield__footer",
|
|
156
|
+
children: [/* @__PURE__ */ d("span", {}), /* @__PURE__ */ f("div", {
|
|
157
|
+
className: "select-datefield__footer-right",
|
|
158
|
+
children: [!G(Y) && /* @__PURE__ */ d(e, {
|
|
159
|
+
variant: "secondary",
|
|
160
|
+
inline: !0,
|
|
161
|
+
onClick: () => {
|
|
162
|
+
J(g(Y)), $(Y);
|
|
163
|
+
},
|
|
164
|
+
children: F.today
|
|
165
|
+
}), /* @__PURE__ */ d(e, {
|
|
166
|
+
variant: "primary",
|
|
167
|
+
inline: !0,
|
|
168
|
+
onClick: () => V(!1),
|
|
169
|
+
children: P.done
|
|
170
|
+
})]
|
|
171
|
+
})]
|
|
172
|
+
})
|
|
173
|
+
]
|
|
174
|
+
})
|
|
175
|
+
})
|
|
176
|
+
}),
|
|
177
|
+
O ? /* @__PURE__ */ d("p", {
|
|
178
|
+
id: `${z}-err`,
|
|
179
|
+
className: "select-field__error",
|
|
180
|
+
children: O
|
|
181
|
+
}) : k ? /* @__PURE__ */ d("p", {
|
|
182
|
+
id: `${z}-hint`,
|
|
183
|
+
className: "select-field__hint",
|
|
184
|
+
children: k
|
|
185
|
+
}) : null
|
|
186
|
+
]
|
|
187
|
+
});
|
|
188
|
+
});
|
|
189
|
+
//#endregion
|
|
190
|
+
export { p as SELECT_WHEN_DURATIONS, C as SelectWhenField };
|
|
191
|
+
|
|
192
|
+
//# sourceMappingURL=SelectWhenField.js.map
|
package/dist/icons.d.ts
CHANGED
|
@@ -271,4 +271,8 @@ export declare function CallIcon(): import("react").JSX.Element;
|
|
|
271
271
|
export declare function ButtonsIcon(): import("react").JSX.Element;
|
|
272
272
|
/** O modelo aprovado (desenhado à mão): o quadro com a faixa de cima e a coluna — o modelo do WhatsApp. */
|
|
273
273
|
export declare function TemplateIcon(): import("react").JSX.Element;
|
|
274
|
+
/** Desfazer (0.1.266) — a seta curva para a esquerda (o histórico de um editor). */
|
|
275
|
+
export declare function UndoIcon(): import("react").JSX.Element;
|
|
276
|
+
/** Refazer (0.1.266) — o espelho do `UndoIcon`. */
|
|
277
|
+
export declare function RedoIcon(): import("react").JSX.Element;
|
|
274
278
|
export {};
|
package/dist/icons.js
CHANGED
|
@@ -1806,7 +1806,13 @@ function Lt() {
|
|
|
1806
1806
|
"M9 9v13"
|
|
1807
1807
|
]);
|
|
1808
1808
|
}
|
|
1809
|
+
function Rt() {
|
|
1810
|
+
return $(["M9 14 4 9l5-5", "M4 9h10.5a5.5 5.5 0 0 1 0 11H11"]);
|
|
1811
|
+
}
|
|
1812
|
+
function zt() {
|
|
1813
|
+
return $(["m15 14 5-5-5-5", "M20 9H9.5a5.5 5.5 0 0 0 0 11H13"]);
|
|
1814
|
+
}
|
|
1809
1815
|
//#endregion
|
|
1810
|
-
export { z as AppleIcon, Te as AppsIcon, _t as ArchiveIcon, ne as ArrowLeftIcon, V as ArrowRightIcon, tt as ArrowUpRightIcon, q as AtIcon, I as AuthAppIcon, Me as AwardIcon, nt as BagIcon, pe as BankIcon, T as BellIcon, Ae as BookIcon, h as BookmarkIcon, be as BroadcastIcon, Y as BuildingIcon, It as ButtonsIcon, ue as CalendarIcon, Ft as CallIcon, Qe as CameraIcon, De as CartIcon, Ce as ChartLineIcon, Ve as ChatIcon, K as CheckCircleIcon, U as CheckIcon, te as ChevronDownIcon, ee as ChevronLeftIcon, a as ChevronRightIcon, de as ChevronUpIcon, Et as ClearFormatIcon, ge as ClipboardIcon, m as ClockIcon, Ge as CloseCircleIcon, d as CloseIcon, l as CopyIcon, oe as CreditCardIcon, O as CubeIcon, Ze as DatabaseIcon, ve as DiscountIcon, qe as DocumentTextIcon, f as DotsHorizontalIcon, At as DownloadIcon, se as EditIcon, Ot as EmojiHappyIcon, Ie as ExpandIcon, fe as ExportIcon, u as ExternalLinkIcon, W as EyeIcon, G as EyeOffIcon, R as FacebookIcon, je as FileDownloadIcon, o as FilterIcon, Ue as FlagIcon, Ke as FlashIcon, Pt as ForwardIcon, at as GiftIcon, i as GithubIcon, y as GlobeIcon, r as GoogleIcon, ft as GripIcon, ot as HeadsetIcon, S as HelpIcon, re as HomeIcon, $e as IdCardIcon, dt as ImageIcon, x as InfoIcon, lt as InstagramIcon, X as KeyIcon, Xe as LampIcon, rt as LayoutIcon, Je as LinceIcon, Se as LinkIcon, Ct as ListBulletIcon, wt as ListNumberIcon, We as LocationIcon, le as LockIcon, L as MailIcon, vt as MailUnreadIcon, Q as MenuIcon, ut as MessengerIcon, Dt as MicrophoneIcon, Ee as MinusCircleIcon, M as MobileIcon, he as MoneyReceiveIcon, me as MoneySendIcon, j as MonitorIcon, A as MoonIcon, jt as MusicIcon, _e as NoteIcon, Pe as PaletteIcon, ht as PaperclipIcon, B as PasskeyIcon, Re as PauseIcon, F as PhoneIcon, g as PinIcon, ke as PlayCircleIcon, Fe as PlayIcon, P as PlusIcon, Be as ReceiptIcon, N as RefreshIcon, ze as RefundIcon, mt as ReplyAllIcon, pt as ReplyIcon, D as RocketIcon, s as SearchIcon, b as SelectorIcon, ce as SendIcon, p as Setting4Icon, ie as SettingsIcon, H as ShieldIcon, et as ShieldTickIcon, Le as ShrinkIcon, gt as SidebarIcon, ct as SmsIcon, He as SparkleIcon, v as SplitIcon, _ as StarIcon, Nt as StickerIcon, we as StoreIcon, Oe as StorefrontIcon, k as SunIcon, it as TargetIcon, Lt as TemplateIcon, E as TerminalIcon, yt as TextBoldIcon, bt as TextItalicIcon, Tt as TextQuoteIcon, St as TextStrikeIcon, xt as TextUnderlineIcon, kt as TickDoubleIcon, ye as TicketDiscountIcon, Z as TrashIcon, Ye as TrendUpIcon, xe as TruckIcon, c as UploadIcon, w as UserIcon, Ne as UsersIcon, Mt as VideoIcon, ae as WalletIcon, C as WarningIcon, J as Web3Icon, st as WhatsAppIcon };
|
|
1816
|
+
export { z as AppleIcon, Te as AppsIcon, _t as ArchiveIcon, ne as ArrowLeftIcon, V as ArrowRightIcon, tt as ArrowUpRightIcon, q as AtIcon, I as AuthAppIcon, Me as AwardIcon, nt as BagIcon, pe as BankIcon, T as BellIcon, Ae as BookIcon, h as BookmarkIcon, be as BroadcastIcon, Y as BuildingIcon, It as ButtonsIcon, ue as CalendarIcon, Ft as CallIcon, Qe as CameraIcon, De as CartIcon, Ce as ChartLineIcon, Ve as ChatIcon, K as CheckCircleIcon, U as CheckIcon, te as ChevronDownIcon, ee as ChevronLeftIcon, a as ChevronRightIcon, de as ChevronUpIcon, Et as ClearFormatIcon, ge as ClipboardIcon, m as ClockIcon, Ge as CloseCircleIcon, d as CloseIcon, l as CopyIcon, oe as CreditCardIcon, O as CubeIcon, Ze as DatabaseIcon, ve as DiscountIcon, qe as DocumentTextIcon, f as DotsHorizontalIcon, At as DownloadIcon, se as EditIcon, Ot as EmojiHappyIcon, Ie as ExpandIcon, fe as ExportIcon, u as ExternalLinkIcon, W as EyeIcon, G as EyeOffIcon, R as FacebookIcon, je as FileDownloadIcon, o as FilterIcon, Ue as FlagIcon, Ke as FlashIcon, Pt as ForwardIcon, at as GiftIcon, i as GithubIcon, y as GlobeIcon, r as GoogleIcon, ft as GripIcon, ot as HeadsetIcon, S as HelpIcon, re as HomeIcon, $e as IdCardIcon, dt as ImageIcon, x as InfoIcon, lt as InstagramIcon, X as KeyIcon, Xe as LampIcon, rt as LayoutIcon, Je as LinceIcon, Se as LinkIcon, Ct as ListBulletIcon, wt as ListNumberIcon, We as LocationIcon, le as LockIcon, L as MailIcon, vt as MailUnreadIcon, Q as MenuIcon, ut as MessengerIcon, Dt as MicrophoneIcon, Ee as MinusCircleIcon, M as MobileIcon, he as MoneyReceiveIcon, me as MoneySendIcon, j as MonitorIcon, A as MoonIcon, jt as MusicIcon, _e as NoteIcon, Pe as PaletteIcon, ht as PaperclipIcon, B as PasskeyIcon, Re as PauseIcon, F as PhoneIcon, g as PinIcon, ke as PlayCircleIcon, Fe as PlayIcon, P as PlusIcon, Be as ReceiptIcon, zt as RedoIcon, N as RefreshIcon, ze as RefundIcon, mt as ReplyAllIcon, pt as ReplyIcon, D as RocketIcon, s as SearchIcon, b as SelectorIcon, ce as SendIcon, p as Setting4Icon, ie as SettingsIcon, H as ShieldIcon, et as ShieldTickIcon, Le as ShrinkIcon, gt as SidebarIcon, ct as SmsIcon, He as SparkleIcon, v as SplitIcon, _ as StarIcon, Nt as StickerIcon, we as StoreIcon, Oe as StorefrontIcon, k as SunIcon, it as TargetIcon, Lt as TemplateIcon, E as TerminalIcon, yt as TextBoldIcon, bt as TextItalicIcon, Tt as TextQuoteIcon, St as TextStrikeIcon, xt as TextUnderlineIcon, kt as TickDoubleIcon, ye as TicketDiscountIcon, Z as TrashIcon, Ye as TrendUpIcon, xe as TruckIcon, Rt as UndoIcon, c as UploadIcon, w as UserIcon, Ne as UsersIcon, Mt as VideoIcon, ae as WalletIcon, C as WarningIcon, J as Web3Icon, st as WhatsAppIcon };
|
|
1811
1817
|
|
|
1812
1818
|
//# sourceMappingURL=icons.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -325,6 +325,8 @@ export { selectRangeDays } from './SelectDatePicker';
|
|
|
325
325
|
export { SelectDateRangeField } from './SelectDateRangeField';
|
|
326
326
|
export { SelectDateField } from './SelectDateField';
|
|
327
327
|
export type { SelectDateFieldProps } from './SelectDateField';
|
|
328
|
+
export { SelectWhenField, SELECT_WHEN_DURATIONS } from './SelectWhenField';
|
|
329
|
+
export type { SelectWhenFieldProps, SelectWhenValue } from './SelectWhenField';
|
|
328
330
|
export { SelectRating } from './SelectRating';
|
|
329
331
|
export { SelectNumberField } from './SelectNumberField';
|
|
330
332
|
export { SelectQuantityField } from './SelectQuantityField';
|