@selectwin/kit 0.1.160 → 0.1.162
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/SelectMail.d.ts +9 -3
- package/dist/icons.d.ts +6 -4
- package/dist/index.js +81 -55
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/SelectMail.d.ts
CHANGED
|
@@ -88,9 +88,11 @@ export interface SelectMailListItemProps {
|
|
|
88
88
|
active?: boolean;
|
|
89
89
|
/** Tem mensagem não lida (0.1.149): quem, o assunto e a hora em destaque, e o ponto. */
|
|
90
90
|
unread?: boolean;
|
|
91
|
+
/** 0.1.161: alguma mensagem da conversa tem estrela — a estrela cheia ao lado da hora. */
|
|
92
|
+
flagged?: boolean;
|
|
91
93
|
onClick: () => void;
|
|
92
94
|
}
|
|
93
|
-
export declare function SelectMailListItem({ from, avatar, subject, snippet, date, count, attachments, active, unread, onClick }: SelectMailListItemProps): import("react").JSX.Element;
|
|
95
|
+
export declare function SelectMailListItem({ from, avatar, subject, snippet, date, count, attachments, active, unread, flagged, onClick }: SelectMailListItemProps): import("react").JSX.Element;
|
|
94
96
|
/** As linhas fantasmas enquanto a caixa chega. */
|
|
95
97
|
export declare function SelectMailListSkeleton({ rows }: {
|
|
96
98
|
rows?: number;
|
|
@@ -123,6 +125,8 @@ export interface SelectMailMessageProps {
|
|
|
123
125
|
from: SelectMailAddress | null;
|
|
124
126
|
to?: SelectMailAddress[];
|
|
125
127
|
cc?: SelectMailAddress[];
|
|
128
|
+
/** 0.1.161: a cópia oculta — só quem enviou a vê (a mensagem entregue não leva o cabeçalho). */
|
|
129
|
+
bcc?: SelectMailAddress[];
|
|
126
130
|
/** O endereço de quem lê: vira "você" nos destinatários e "Você" na mensagem recolhida. */
|
|
127
131
|
selfAddress?: string;
|
|
128
132
|
/** Quando — já formatado. */
|
|
@@ -148,7 +152,7 @@ export interface SelectMailMessageProps {
|
|
|
148
152
|
/** Abre a recolhida; recolhe a aberta (o botão só aparece com ele). */
|
|
149
153
|
onToggle?: () => void;
|
|
150
154
|
}
|
|
151
|
-
export declare function SelectMailMessage({ from, to, cc, selfAddress, date, dateTitle, actions, notice, text, children, attachments, collapsed, snippet, hasAttachments, onToggle, }: SelectMailMessageProps): import("react").JSX.Element;
|
|
155
|
+
export declare function SelectMailMessage({ from, to, cc, bcc, selfAddress, date, dateTitle, actions, notice, text, children, attachments, collapsed, snippet, hasAttachments, onToggle, }: SelectMailMessageProps): import("react").JSX.Element;
|
|
152
156
|
/** Um aviso sobre o corpo da mensagem: as imagens externas bloqueadas (`info`), a mensagem grande demais (`warning`). */
|
|
153
157
|
export declare function SelectMailNotice({ tone, icon, children }: {
|
|
154
158
|
tone?: 'info' | 'warning';
|
|
@@ -192,6 +196,8 @@ export interface SelectMailComposerProps {
|
|
|
192
196
|
onToggleMinimize?: () => void;
|
|
193
197
|
/** Fechar (e descartar) a janela. */
|
|
194
198
|
onClose?: () => void;
|
|
199
|
+
/** 0.1.161: o nome do botão de fechar — quando fechar guarda o rascunho, ele não "descarta". */
|
|
200
|
+
closeLabel?: string;
|
|
195
201
|
/** A recusa (de validação ou do servidor), sobre o rodapé. */
|
|
196
202
|
error?: ReactNode;
|
|
197
203
|
/** Sob a mensagem (0.1.149): os anexos (`SelectMailComposerAttachments`). */
|
|
@@ -204,7 +210,7 @@ export interface SelectMailComposerProps {
|
|
|
204
210
|
children: ReactNode;
|
|
205
211
|
'aria-label'?: string;
|
|
206
212
|
}
|
|
207
|
-
export declare function SelectMailComposer({ variant, title, minimized, onToggleMinimize, onClose, error, attachments, onFiles, dropLabel, footer, children, 'aria-label': ariaLabel, }: SelectMailComposerProps): import("react").JSX.Element;
|
|
213
|
+
export declare function SelectMailComposer({ variant, title, minimized, onToggleMinimize, onClose, closeLabel, error, attachments, onFiles, dropLabel, footer, children, 'aria-label': ariaLabel, }: SelectMailComposerProps): import("react").JSX.Element;
|
|
208
214
|
/** Uma linha do compositor: o rótulo ("Para", "Cc", "Assunto"), o campo e uma ação à direita ("Cc"). */
|
|
209
215
|
export declare function SelectMailComposerRow({ label, children, action }: {
|
|
210
216
|
label?: ReactNode;
|
package/dist/icons.d.ts
CHANGED
|
@@ -172,8 +172,9 @@ export declare function LocationIcon(): import("react").JSX.Element;
|
|
|
172
172
|
export declare function CloseCircleIcon(): import("react").JSX.Element;
|
|
173
173
|
/** Raio (Iconsax flash) — o que é instantâneo: oferecer Pix no lugar do cartão. */
|
|
174
174
|
export declare function FlashIcon(): import("react").JSX.Element;
|
|
175
|
-
/** Documento com texto (Iconsax document-text) — nota fiscal, documento anexado.
|
|
176
|
-
|
|
175
|
+
/** Documento com texto (Iconsax document-text) — nota fiscal, documento anexado; o app de Notas Fiscais. `solid` = o
|
|
176
|
+
* gêmeo cheio, o do dock de apps. */
|
|
177
|
+
export declare function DocumentTextIcon({ solid }?: IconSolidProps): import("react").JSX.Element;
|
|
177
178
|
/** O Lince — o olho de felino (a pupila em fenda). Desenho próprio: a marca do motor de inteligência do lojista. */
|
|
178
179
|
export declare function LinceIcon(): import("react").JSX.Element;
|
|
179
180
|
export declare function TrendUpIcon(): import("react").JSX.Element;
|
|
@@ -181,8 +182,9 @@ export declare function LampIcon(): import("react").JSX.Element;
|
|
|
181
182
|
export declare function DatabaseIcon(): import("react").JSX.Element;
|
|
182
183
|
/** Câmera (Iconsax camera) — a selfie e a foto do documento tiradas na hora. */
|
|
183
184
|
export declare function CameraIcon(): import("react").JSX.Element;
|
|
184
|
-
/** Documento com foto (Iconsax personalcard) — RG, CNH.
|
|
185
|
-
|
|
185
|
+
/** Documento com foto (Iconsax personalcard) — RG, CNH; e o app de CRM (o cartão do contato). `solid` = o gêmeo
|
|
186
|
+
* cheio, o do dock de apps. */
|
|
187
|
+
export declare function IdCardIcon({ solid }?: IconSolidProps): import("react").JSX.Element;
|
|
186
188
|
/** Escudo com visto (Iconsax shield-tick) — o que foi preenchido está guardado. Não é o `ShieldIcon`
|
|
187
189
|
* (a verificação em duas etapas). */
|
|
188
190
|
export declare function ShieldTickIcon(): import("react").JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -2178,8 +2178,16 @@ function Lt() {
|
|
|
2178
2178
|
function Rt() {
|
|
2179
2179
|
return kt(["M6.09 13.28h3.09v7.2c0 1.68.91 2.02 2.02.76l7.57-8.6c.93-1.05.54-1.92-.87-1.92h-3.09v-7.2c0-1.68-.91-2.02-2.02-.76l-7.57 8.6c-.92 1.06-.53 1.92.87 1.92Z"]);
|
|
2180
2180
|
}
|
|
2181
|
-
function zt() {
|
|
2182
|
-
return
|
|
2181
|
+
function zt({ solid: e = !1 } = {}) {
|
|
2182
|
+
return e ? /* @__PURE__ */ h("svg", {
|
|
2183
|
+
viewBox: "0 0 24 24",
|
|
2184
|
+
fill: "currentColor",
|
|
2185
|
+
"aria-hidden": "true",
|
|
2186
|
+
children: /* @__PURE__ */ h("path", {
|
|
2187
|
+
fillRule: "evenodd",
|
|
2188
|
+
d: "M16 2H8C4.5 2 3 4 3 7v10c0 3 1.5 5 5 5h8c3.5 0 5-2 5-5V7c0-3-1.5-5-5-5ZM8 8.25h3a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1 0-1.5Zm0 4h4a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1 0-1.5Zm0 4h8a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1 0-1.5Z"
|
|
2189
|
+
})
|
|
2190
|
+
}) : kt(["M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z", "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8"]);
|
|
2183
2191
|
}
|
|
2184
2192
|
function Bt() {
|
|
2185
2193
|
return /* @__PURE__ */ g("svg", {
|
|
@@ -2243,8 +2251,16 @@ function Ut() {
|
|
|
2243
2251
|
function Wt() {
|
|
2244
2252
|
return kt(["M6.76 22h10.48c2.76 0 3.86-1.69 3.99-3.75l.52-8.26A3.753 3.753 0 0 0 17.5 6c-.61 0-1.17-.35-1.45-.89l-.72-1.45C14.87 2.75 13.67 2 12.65 2h-2.29c-1.03 0-2.23.75-2.69 1.66l-.72 1.45C6.67 5.65 6.11 6 5.5 6 3.33 6 1.61 7.83 1.75 9.99l.52 8.26C2.39 20.31 3.5 22 6.26 22ZM10.5 8h3", "M12 18a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5Z"]);
|
|
2245
2253
|
}
|
|
2246
|
-
function Gt() {
|
|
2247
|
-
return
|
|
2254
|
+
function Gt({ solid: e = !1 } = {}) {
|
|
2255
|
+
return e ? /* @__PURE__ */ h("svg", {
|
|
2256
|
+
viewBox: "0 0 24 24",
|
|
2257
|
+
fill: "currentColor",
|
|
2258
|
+
"aria-hidden": "true",
|
|
2259
|
+
children: /* @__PURE__ */ h("path", {
|
|
2260
|
+
fillRule: "evenodd",
|
|
2261
|
+
d: "M17 3H7C3 3 2 4 2 8v8c0 4 1 5 5 5h10c4 0 5-1 5-5V8c0-4-1-5-5-5ZM14 7.25h5a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1 0-1.5Zm1 4h4a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1 0-1.5Zm2 4h2a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5ZM8.5 7.71a1.79 1.79 0 1 1 0 3.58 1.79 1.79 0 0 1 0-3.58Zm-3.3 8.89c.3-1.7 1.6-2.9 3.3-2.9s3 1.2 3.3 2.9H5.2Z"
|
|
2262
|
+
})
|
|
2263
|
+
}) : kt(["M17 21H7c-4 0-5-1-5-5V8c0-4 1-5 5-5h10c4 0 5 1 5 5v8c0 4-1 5-5 5ZM14 8h5M15 12h4M17 16h2", "M8.5 11.29a1.79 1.79 0 1 0 0-3.58 1.79 1.79 0 0 0 0 3.58ZM12 16.33a3.8 3.8 0 0 0-3.4-3.35 9.8 9.8 0 0 0-2.4 0 3.8 3.8 0 0 0-3.4 3.35"]);
|
|
2248
2264
|
}
|
|
2249
2265
|
function Kt() {
|
|
2250
2266
|
return kt(["M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z", "m9.05 11.87 1.61 1.61 4.3-4.3"]);
|
|
@@ -8626,15 +8642,15 @@ function Ts({ label: e, children: t }) {
|
|
|
8626
8642
|
})]
|
|
8627
8643
|
});
|
|
8628
8644
|
}
|
|
8629
|
-
function Es({ from: e, avatar: t, subject: n, snippet: r, date: i, count: a, attachments: o, active: s = !1, unread: c = !1,
|
|
8630
|
-
let
|
|
8645
|
+
function Es({ from: e, avatar: t, subject: n, snippet: r, date: i, count: a, attachments: o, active: s = !1, unread: c = !1, flagged: l = !1, onClick: u }) {
|
|
8646
|
+
let d = t === !1 ? void 0 : t ?? (typeof e == "string" ? e : void 0);
|
|
8631
8647
|
return /* @__PURE__ */ g("button", {
|
|
8632
8648
|
type: "button",
|
|
8633
8649
|
className: vs("select-maillist__row", s && "is-active", c && "is-unread"),
|
|
8634
8650
|
"aria-current": s || void 0,
|
|
8635
|
-
onClick:
|
|
8651
|
+
onClick: u,
|
|
8636
8652
|
children: [t === !1 ? null : /* @__PURE__ */ h($i, {
|
|
8637
|
-
name:
|
|
8653
|
+
name: d,
|
|
8638
8654
|
initials: 2,
|
|
8639
8655
|
className: "select-maillist__avatar"
|
|
8640
8656
|
}), /* @__PURE__ */ g("span", {
|
|
@@ -8660,6 +8676,12 @@ function Es({ from: e, avatar: t, subject: n, snippet: r, date: i, count: a, att
|
|
|
8660
8676
|
className: "select-maillist__dot",
|
|
8661
8677
|
"aria-hidden": "true"
|
|
8662
8678
|
}) : null,
|
|
8679
|
+
l ? /* @__PURE__ */ h("span", {
|
|
8680
|
+
className: "select-maillist__star",
|
|
8681
|
+
role: "img",
|
|
8682
|
+
"aria-label": "Com estrela",
|
|
8683
|
+
children: /* @__PURE__ */ h(he, { filled: !0 })
|
|
8684
|
+
}) : null,
|
|
8663
8685
|
i ? /* @__PURE__ */ h("span", {
|
|
8664
8686
|
className: "select-maillist__date",
|
|
8665
8687
|
children: i
|
|
@@ -8766,28 +8788,28 @@ function ks({ title: e, meta: t, actions: n, tools: r, onBack: i, children: a, f
|
|
|
8766
8788
|
]
|
|
8767
8789
|
});
|
|
8768
8790
|
}
|
|
8769
|
-
function As({ from: e, to: t, cc: n,
|
|
8770
|
-
let
|
|
8771
|
-
if (
|
|
8791
|
+
function As({ from: e, to: t, cc: n, bcc: r, selfAddress: i, date: a, dateTitle: o, actions: s, notice: c, text: l, children: u, attachments: d, collapsed: f = !1, snippet: p, hasAttachments: m = !1, onToggle: _ }) {
|
|
8792
|
+
let v = (e) => !!e && !!i && e.address.toLowerCase() === i.toLowerCase(), y = (e) => (e ?? []).map((e) => v(e) ? "você" : _s(e)).join(", "), b = _s(e);
|
|
8793
|
+
if (f) return /* @__PURE__ */ g("button", {
|
|
8772
8794
|
type: "button",
|
|
8773
8795
|
className: "select-mailmsg select-mailmsg--collapsed",
|
|
8774
8796
|
"aria-expanded": !1,
|
|
8775
|
-
onClick:
|
|
8797
|
+
onClick: _,
|
|
8776
8798
|
children: [
|
|
8777
8799
|
/* @__PURE__ */ h($i, {
|
|
8778
|
-
name:
|
|
8800
|
+
name: b,
|
|
8779
8801
|
initials: 2,
|
|
8780
8802
|
className: "select-mailmsg__avatar select-mailmsg__avatar--sm"
|
|
8781
8803
|
}),
|
|
8782
8804
|
/* @__PURE__ */ h("span", {
|
|
8783
8805
|
className: "select-mailmsg__from",
|
|
8784
|
-
children:
|
|
8806
|
+
children: v(e) ? "Você" : b
|
|
8785
8807
|
}),
|
|
8786
8808
|
/* @__PURE__ */ h("span", {
|
|
8787
8809
|
className: "select-mailmsg__snippet",
|
|
8788
|
-
children:
|
|
8810
|
+
children: p
|
|
8789
8811
|
}),
|
|
8790
|
-
|
|
8812
|
+
m ? /* @__PURE__ */ h("span", {
|
|
8791
8813
|
className: "select-mailmsg__clip",
|
|
8792
8814
|
role: "img",
|
|
8793
8815
|
"aria-label": "Com anexo",
|
|
@@ -8795,12 +8817,16 @@ function As({ from: e, to: t, cc: n, selfAddress: r, date: i, dateTitle: a, acti
|
|
|
8795
8817
|
}) : null,
|
|
8796
8818
|
/* @__PURE__ */ h("span", {
|
|
8797
8819
|
className: "select-mailmsg__date",
|
|
8798
|
-
title:
|
|
8799
|
-
children:
|
|
8820
|
+
title: o,
|
|
8821
|
+
children: a
|
|
8800
8822
|
})
|
|
8801
8823
|
]
|
|
8802
8824
|
});
|
|
8803
|
-
let
|
|
8825
|
+
let x = [
|
|
8826
|
+
t != null && t.length ? `para ${y(t)}` : "",
|
|
8827
|
+
n != null && n.length ? `cc ${y(n)}` : "",
|
|
8828
|
+
r != null && r.length ? `cco ${y(r)}` : ""
|
|
8829
|
+
].filter(Boolean).join(" · ");
|
|
8804
8830
|
return /* @__PURE__ */ g("article", {
|
|
8805
8831
|
className: "select-mailmsg",
|
|
8806
8832
|
children: [
|
|
@@ -8808,7 +8834,7 @@ function As({ from: e, to: t, cc: n, selfAddress: r, date: i, dateTitle: a, acti
|
|
|
8808
8834
|
className: "select-mailmsg__head",
|
|
8809
8835
|
children: [
|
|
8810
8836
|
/* @__PURE__ */ h($i, {
|
|
8811
|
-
name:
|
|
8837
|
+
name: b,
|
|
8812
8838
|
initials: 2,
|
|
8813
8839
|
className: "select-mailmsg__avatar"
|
|
8814
8840
|
}),
|
|
@@ -8818,14 +8844,14 @@ function As({ from: e, to: t, cc: n, selfAddress: r, date: i, dateTitle: a, acti
|
|
|
8818
8844
|
className: "select-mailmsg__line",
|
|
8819
8845
|
children: [/* @__PURE__ */ h("span", {
|
|
8820
8846
|
className: "select-mailmsg__from",
|
|
8821
|
-
children:
|
|
8847
|
+
children: b
|
|
8822
8848
|
}), e != null && e.name ? /* @__PURE__ */ h("span", {
|
|
8823
8849
|
className: "select-mailmsg__address",
|
|
8824
8850
|
children: e.address
|
|
8825
8851
|
}) : null]
|
|
8826
|
-
}),
|
|
8852
|
+
}), x ? /* @__PURE__ */ h("span", {
|
|
8827
8853
|
className: "select-mailmsg__to",
|
|
8828
|
-
children:
|
|
8854
|
+
children: x
|
|
8829
8855
|
}) : null]
|
|
8830
8856
|
}),
|
|
8831
8857
|
/* @__PURE__ */ g("div", {
|
|
@@ -8833,35 +8859,35 @@ function As({ from: e, to: t, cc: n, selfAddress: r, date: i, dateTitle: a, acti
|
|
|
8833
8859
|
children: [
|
|
8834
8860
|
/* @__PURE__ */ h("span", {
|
|
8835
8861
|
className: "select-mailmsg__date",
|
|
8836
|
-
title:
|
|
8837
|
-
children:
|
|
8862
|
+
title: o,
|
|
8863
|
+
children: a
|
|
8838
8864
|
}),
|
|
8839
|
-
|
|
8840
|
-
|
|
8865
|
+
s,
|
|
8866
|
+
_ ? /* @__PURE__ */ h(Y, {
|
|
8841
8867
|
icon: /* @__PURE__ */ h(it, {}),
|
|
8842
8868
|
label: "Recolher a mensagem",
|
|
8843
8869
|
size: "sm",
|
|
8844
|
-
onClick:
|
|
8870
|
+
onClick: _,
|
|
8845
8871
|
"aria-expanded": !0
|
|
8846
8872
|
}) : null
|
|
8847
8873
|
]
|
|
8848
8874
|
})
|
|
8849
8875
|
]
|
|
8850
8876
|
}),
|
|
8851
|
-
|
|
8877
|
+
c ? /* @__PURE__ */ h("div", {
|
|
8852
8878
|
className: "select-mailmsg__notices",
|
|
8853
|
-
children:
|
|
8879
|
+
children: c
|
|
8854
8880
|
}) : null,
|
|
8855
|
-
|
|
8881
|
+
u ? /* @__PURE__ */ h("div", {
|
|
8856
8882
|
className: "select-mailmsg__body",
|
|
8857
|
-
children:
|
|
8858
|
-
}) :
|
|
8883
|
+
children: u
|
|
8884
|
+
}) : l ? /* @__PURE__ */ h("div", {
|
|
8859
8885
|
className: "select-mailmsg__text",
|
|
8860
|
-
children:
|
|
8886
|
+
children: l
|
|
8861
8887
|
}) : null,
|
|
8862
|
-
|
|
8888
|
+
d ? /* @__PURE__ */ h("div", {
|
|
8863
8889
|
className: "select-mailmsg__attachments",
|
|
8864
|
-
children:
|
|
8890
|
+
children: d
|
|
8865
8891
|
}) : null
|
|
8866
8892
|
]
|
|
8867
8893
|
});
|
|
@@ -8957,31 +8983,31 @@ var Rs = (e) => {
|
|
|
8957
8983
|
var t;
|
|
8958
8984
|
return Array.from(((t = e.dataTransfer) == null ? void 0 : t.types) ?? []).includes("Files");
|
|
8959
8985
|
};
|
|
8960
|
-
function zs({ variant: e = "inline", title: t, minimized: n = !1, onToggleMinimize: r, onClose: i,
|
|
8961
|
-
let
|
|
8986
|
+
function zs({ variant: e = "inline", title: t, minimized: n = !1, onToggleMinimize: r, onClose: i, closeLabel: a = "Fechar e descartar", error: o, attachments: s, onFiles: c, dropLabel: l = "Solte para anexar", footer: u, children: p, "aria-label": _ }) {
|
|
8987
|
+
let v = e === "dock", [y, b] = f(!1), x = d(0), S = c ? {
|
|
8962
8988
|
onDragEnter: (e) => {
|
|
8963
|
-
Rs(e) && (e.preventDefault(),
|
|
8989
|
+
Rs(e) && (e.preventDefault(), x.current += 1, b(!0));
|
|
8964
8990
|
},
|
|
8965
8991
|
onDragOver: (e) => {
|
|
8966
8992
|
Rs(e) && e.preventDefault();
|
|
8967
8993
|
},
|
|
8968
8994
|
onDragLeave: (e) => {
|
|
8969
|
-
Rs(e) && (
|
|
8995
|
+
Rs(e) && (x.current = Math.max(0, x.current - 1), x.current === 0 && b(!1));
|
|
8970
8996
|
},
|
|
8971
8997
|
onDrop: (e) => {
|
|
8972
8998
|
if (!Rs(e)) return;
|
|
8973
|
-
e.preventDefault(),
|
|
8999
|
+
e.preventDefault(), x.current = 0, b(!1);
|
|
8974
9000
|
let t = Array.from(e.dataTransfer.files);
|
|
8975
|
-
t.length &&
|
|
9001
|
+
t.length && c(t);
|
|
8976
9002
|
}
|
|
8977
9003
|
} : {};
|
|
8978
9004
|
return /* @__PURE__ */ g("div", {
|
|
8979
|
-
className: vs("select-mailcomposer", `select-mailcomposer--${e}`, n && "is-minimized",
|
|
8980
|
-
role:
|
|
8981
|
-
"aria-label":
|
|
8982
|
-
...
|
|
9005
|
+
className: vs("select-mailcomposer", `select-mailcomposer--${e}`, n && "is-minimized", y && "is-dragging"),
|
|
9006
|
+
role: v ? "dialog" : "group",
|
|
9007
|
+
"aria-label": _,
|
|
9008
|
+
...S,
|
|
8983
9009
|
children: [
|
|
8984
|
-
|
|
9010
|
+
v ? /* @__PURE__ */ g("div", {
|
|
8985
9011
|
className: "select-mailcomposer__bar",
|
|
8986
9012
|
children: [
|
|
8987
9013
|
/* @__PURE__ */ h("span", {
|
|
@@ -8996,34 +9022,34 @@ function zs({ variant: e = "inline", title: t, minimized: n = !1, onToggleMinimi
|
|
|
8996
9022
|
}) : null,
|
|
8997
9023
|
i ? /* @__PURE__ */ h(Y, {
|
|
8998
9024
|
icon: /* @__PURE__ */ h(le, {}),
|
|
8999
|
-
label:
|
|
9025
|
+
label: a,
|
|
9000
9026
|
size: "sm",
|
|
9001
9027
|
onClick: i
|
|
9002
9028
|
}) : null
|
|
9003
9029
|
]
|
|
9004
9030
|
}) : null,
|
|
9005
|
-
|
|
9031
|
+
y && !n ? /* @__PURE__ */ g("div", {
|
|
9006
9032
|
className: "select-mailcomposer__drop",
|
|
9007
9033
|
"aria-hidden": "true",
|
|
9008
|
-
children: [/* @__PURE__ */ h(an, {}), /* @__PURE__ */ h("span", { children:
|
|
9034
|
+
children: [/* @__PURE__ */ h(an, {}), /* @__PURE__ */ h("span", { children: l })]
|
|
9009
9035
|
}) : null,
|
|
9010
9036
|
n ? null : /* @__PURE__ */ g(m, { children: [
|
|
9011
9037
|
/* @__PURE__ */ h("div", {
|
|
9012
9038
|
className: "select-mailcomposer__fields",
|
|
9013
|
-
children:
|
|
9039
|
+
children: p
|
|
9014
9040
|
}),
|
|
9015
|
-
|
|
9016
|
-
|
|
9041
|
+
s,
|
|
9042
|
+
o ? /* @__PURE__ */ g("div", {
|
|
9017
9043
|
className: "select-mailcomposer__error",
|
|
9018
9044
|
role: "alert",
|
|
9019
9045
|
children: [/* @__PURE__ */ h("span", {
|
|
9020
9046
|
"aria-hidden": "true",
|
|
9021
9047
|
children: /* @__PURE__ */ h(ye, {})
|
|
9022
|
-
}), /* @__PURE__ */ h("span", { children:
|
|
9048
|
+
}), /* @__PURE__ */ h("span", { children: o })]
|
|
9023
9049
|
}) : null,
|
|
9024
9050
|
/* @__PURE__ */ h("div", {
|
|
9025
9051
|
className: "select-mailcomposer__footer",
|
|
9026
|
-
children:
|
|
9052
|
+
children: u
|
|
9027
9053
|
})
|
|
9028
9054
|
] })
|
|
9029
9055
|
]
|