@selectwin/kit 0.1.257 → 0.1.259

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.
Files changed (67) hide show
  1. package/README.md +75 -0
  2. package/dist/SelectActionBar.d.ts +29 -0
  3. package/dist/SelectActionBar.js +101 -0
  4. package/dist/SelectActionList.d.ts +5 -0
  5. package/dist/SelectActionList.js +55 -39
  6. package/dist/SelectAppFrame.d.ts +8 -2
  7. package/dist/SelectAppFrame.js +124 -119
  8. package/dist/SelectAvatarGroup.d.ts +31 -0
  9. package/dist/SelectAvatarGroup.js +39 -0
  10. package/dist/SelectBadge.d.ts +10 -1
  11. package/dist/SelectBadge.js +26 -12
  12. package/dist/SelectBulkBar.d.ts +21 -0
  13. package/dist/SelectBulkBar.js +40 -0
  14. package/dist/SelectChannelPreview.d.ts +35 -5
  15. package/dist/SelectChannelPreview.js +127 -60
  16. package/dist/SelectColorField.d.ts +1 -5
  17. package/dist/SelectColorField.js +83 -101
  18. package/dist/SelectCombobox.d.ts +5 -0
  19. package/dist/SelectCombobox.js +52 -49
  20. package/dist/SelectDataTable.d.ts +17 -1
  21. package/dist/SelectDataTable.js +100 -90
  22. package/dist/SelectDeadlineBadge.d.ts +32 -0
  23. package/dist/SelectDeadlineBadge.js +73 -0
  24. package/dist/SelectFieldset.d.ts +14 -0
  25. package/dist/SelectFieldset.js +27 -0
  26. package/dist/SelectFilterBar.d.ts +6 -1
  27. package/dist/SelectFilterBar.js +155 -125
  28. package/dist/SelectImageUploadField.d.ts +5 -3
  29. package/dist/SelectImageUploadField.js +26 -26
  30. package/dist/SelectKanban.d.ts +13 -1
  31. package/dist/SelectKanban.js +72 -50
  32. package/dist/SelectListCard.d.ts +27 -1
  33. package/dist/SelectListCard.js +47 -22
  34. package/dist/SelectLocale.d.ts +96 -0
  35. package/dist/SelectLocale.js +733 -521
  36. package/dist/SelectMail.d.ts +9 -1
  37. package/dist/SelectMail.js +234 -207
  38. package/dist/SelectModal.d.ts +10 -4
  39. package/dist/SelectModal.js +158 -137
  40. package/dist/SelectSection.d.ts +4 -4
  41. package/dist/SelectSection.js +77 -8
  42. package/dist/SelectSegmented.d.ts +7 -0
  43. package/dist/SelectSegmented.js +51 -43
  44. package/dist/SelectSideNav.d.ts +2 -1
  45. package/dist/SelectSideNav.js +156 -135
  46. package/dist/SelectSortable.d.ts +47 -1
  47. package/dist/SelectSortable.js +138 -19
  48. package/dist/SelectSteps.d.ts +3 -0
  49. package/dist/SelectSteps.js +42 -31
  50. package/dist/SelectTable.d.ts +13 -1
  51. package/dist/SelectTable.js +88 -79
  52. package/dist/SelectTabs.d.ts +10 -0
  53. package/dist/SelectTabs.js +68 -30
  54. package/dist/SelectTimeline.d.ts +4 -0
  55. package/dist/SelectTimeline.js +20 -9
  56. package/dist/SelectWeekHours.d.ts +64 -0
  57. package/dist/SelectWeekHours.js +338 -0
  58. package/dist/index.d.ts +19 -2
  59. package/dist/index.js +191 -184
  60. package/dist/internal/color.d.ts +15 -0
  61. package/dist/internal/color.js +40 -0
  62. package/dist/internal/navCount.d.ts +21 -0
  63. package/dist/internal/navCount.js +27 -0
  64. package/dist/internal/safeHref.d.ts +7 -0
  65. package/dist/internal/safeHref.js +12 -1
  66. package/dist/style.css +1 -1
  67. package/package.json +1 -1
@@ -1,72 +1,94 @@
1
- import { SelectBadge as e } from "./SelectBadge.js";
2
- import { createContext as t, useContext as n, useState as r } from "react";
3
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
1
+ import { LockIcon as e } from "./icons.js";
2
+ import { useSelectMessages as t } from "./SelectLocale.js";
3
+ import { SelectBadge as n } from "./SelectBadge.js";
4
+ import { SelectScrollArea as r } from "./SelectScrollArea.js";
5
+ import { createContext as i, useContext as a, useState as o } from "react";
6
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
4
7
  //#region src/SelectKanban.tsx
5
- var o = t(null), s = t("");
6
- function c({ columns: t, onMove: n, className: c, "aria-label": l }) {
7
- let [u, d] = r(null), [f, p] = r(null), m = (e) => !!(u && e.droppable && e.id !== u.from);
8
- return /* @__PURE__ */ i(o.Provider, {
8
+ var u = i(null), d = i({
9
+ id: "",
10
+ locked: !1
11
+ });
12
+ function f({ columns: i, onMove: a, fill: f = !1, className: p, "aria-label": m }) {
13
+ let h = t(), [g, _] = o(null), [v, y] = o(null), b = (e) => !!(g && e.droppable && !e.locked && e.id !== g.from);
14
+ return /* @__PURE__ */ c(u.Provider, {
9
15
  value: {
10
- dragging: u,
11
- setDragging: d,
12
- movable: !!n
16
+ dragging: g,
17
+ setDragging: _,
18
+ movable: !!a
13
19
  },
14
- children: /* @__PURE__ */ i("div", {
15
- className: `select-kanban${u ? " is-dragging" : ""}${c ? " " + c : ""}`,
20
+ children: /* @__PURE__ */ c(r, {
21
+ axis: "x",
22
+ className: `select-kanban${f ? " select-kanban--fill" : ""}${g ? " is-dragging" : ""}${p ? " " + p : ""}`,
16
23
  role: "list",
17
- "aria-label": l,
18
- children: t.map((t) => {
19
- let r = m(t), o = !!u && !r && t.id !== (u == null ? void 0 : u.from), c = Array.isArray(t.children) ? t.children.some(Boolean) : !!t.children;
20
- return /* @__PURE__ */ a("section", {
24
+ "aria-label": m,
25
+ children: i.map((t) => {
26
+ let i = b(t), o = !!g && !i && t.id !== (g == null ? void 0 : g.from), u = Array.isArray(t.children) ? t.children.some(Boolean) : !!t.children, p = !!t.locked, m = u ? t.children : t.empty ? /* @__PURE__ */ c("div", {
27
+ className: "select-kanban__empty",
28
+ children: t.empty
29
+ }) : null;
30
+ return /* @__PURE__ */ l("section", {
21
31
  role: "listitem",
22
32
  "aria-label": typeof t.title == "string" ? t.title : void 0,
23
- className: `select-kanban__col${r ? " select-kanban__col--target" : ""}${r && f === t.id ? " select-kanban__col--over" : ""}${o ? " select-kanban__col--blocked" : ""}`,
33
+ className: `select-kanban__col${p ? " select-kanban__col--locked" : ""}${i ? " select-kanban__col--target" : ""}${i && v === t.id ? " select-kanban__col--over" : ""}${o ? " select-kanban__col--blocked" : ""}`,
24
34
  onDragOver: (e) => {
25
- r && (e.preventDefault(), e.dataTransfer.dropEffect = "move", f !== t.id && p(t.id));
35
+ i && (e.preventDefault(), e.dataTransfer.dropEffect = "move", v !== t.id && y(t.id));
26
36
  },
27
37
  onDragLeave: (e) => {
28
- e.currentTarget.contains(e.relatedTarget) || f === t.id && p(null);
38
+ e.currentTarget.contains(e.relatedTarget) || v === t.id && y(null);
29
39
  },
30
40
  onDrop: (e) => {
31
- r && u && (e.preventDefault(), n == null || n(u.cardId, u.from, t.id), d(null), p(null));
41
+ i && g && (e.preventDefault(), a == null || a(g.cardId, g.from, t.id), _(null), y(null));
32
42
  },
33
43
  children: [
34
- /* @__PURE__ */ a("header", {
44
+ /* @__PURE__ */ l("header", {
35
45
  className: "select-kanban__colhead",
36
- children: [/* @__PURE__ */ a("h3", {
46
+ children: [/* @__PURE__ */ l("h3", {
37
47
  className: "select-kanban__coltitle",
38
48
  children: [
39
- /* @__PURE__ */ i("span", {
49
+ /* @__PURE__ */ c("span", {
40
50
  className: `select-kanban__dot select-kanban__dot--${t.tone ?? "neutral"}`,
41
51
  "aria-hidden": "true"
42
52
  }),
43
- /* @__PURE__ */ i("span", {
53
+ /* @__PURE__ */ c("span", {
44
54
  className: "select-kanban__colname",
45
55
  children: t.title
46
56
  }),
47
- typeof t.count == "number" ? /* @__PURE__ */ i(e, {
57
+ p ? /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c("span", {
58
+ className: "select-kanban__lock",
59
+ "aria-hidden": "true",
60
+ children: /* @__PURE__ */ c(e, {})
61
+ }), /* @__PURE__ */ l("span", {
62
+ className: "select-visually-hidden",
63
+ children: [
64
+ "(",
65
+ t.lockedLabel ?? h.lock.label,
66
+ ")"
67
+ ]
68
+ })] }) : null,
69
+ typeof t.count == "number" ? /* @__PURE__ */ c(n, {
48
70
  size: "sm",
49
71
  tone: "neutral",
50
72
  children: t.count
51
73
  }) : null
52
74
  ]
53
- }), t.description ? /* @__PURE__ */ i("p", {
75
+ }), t.description ? /* @__PURE__ */ c("p", {
54
76
  className: "select-kanban__coldesc",
55
77
  children: t.description
56
78
  }) : null]
57
79
  }),
58
- /* @__PURE__ */ i(s.Provider, {
59
- value: t.id,
60
- children: /* @__PURE__ */ i("div", {
80
+ /* @__PURE__ */ c(d.Provider, {
81
+ value: {
82
+ id: t.id,
83
+ locked: p
84
+ },
85
+ children: c(f ? r : "div", {
61
86
  className: "select-kanban__cards",
62
87
  role: "list",
63
- children: c ? t.children : t.empty ? /* @__PURE__ */ i("div", {
64
- className: "select-kanban__empty",
65
- children: t.empty
66
- }) : null
88
+ children: m
67
89
  })
68
90
  }),
69
- t.footer ? /* @__PURE__ */ i("div", {
91
+ t.footer ? /* @__PURE__ */ c("div", {
70
92
  className: "select-kanban__foot",
71
93
  children: t.footer
72
94
  }) : null
@@ -76,49 +98,49 @@ function c({ columns: t, onMove: n, className: c, "aria-label": l }) {
76
98
  })
77
99
  });
78
100
  }
79
- function l({ id: e, title: t, subtitle: r, meta: c, actions: l, onOpen: u, locked: d = !1 }) {
101
+ function p({ id: e, title: t, subtitle: n, meta: r, actions: i, onOpen: o, locked: s = !1 }) {
80
102
  var f;
81
- let p = n(o), m = n(s), h = !!(p != null && p.movable) && !d, g = (p == null || (f = p.dragging) == null ? void 0 : f.cardId) === e;
82
- return /* @__PURE__ */ a("article", {
103
+ let p = a(u), m = a(d), h = !!(p != null && p.movable) && !s && !m.locked, g = (p == null || (f = p.dragging) == null ? void 0 : f.cardId) === e;
104
+ return /* @__PURE__ */ l("article", {
83
105
  role: "listitem",
84
- className: `select-kanban__card${u ? " select-kanban__card--open" : ""}${h ? " select-kanban__card--draggable" : ""}${g ? " is-dragging" : ""}`,
106
+ className: `select-kanban__card${o ? " select-kanban__card--open" : ""}${h ? " select-kanban__card--draggable" : ""}${g ? " is-dragging" : ""}`,
85
107
  draggable: h || void 0,
86
108
  onDragStart: (t) => {
87
109
  h && (t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e), p == null || p.setDragging({
88
110
  cardId: e,
89
- from: m
111
+ from: m.id
90
112
  }));
91
113
  },
92
114
  onDragEnd: () => p == null ? void 0 : p.setDragging(null),
93
- onClick: u,
115
+ onClick: o,
94
116
  children: [
95
- /* @__PURE__ */ a("div", {
117
+ /* @__PURE__ */ l("div", {
96
118
  className: "select-kanban__cardhead",
97
- children: [u ? /* @__PURE__ */ i("button", {
119
+ children: [o ? /* @__PURE__ */ c("button", {
98
120
  type: "button",
99
121
  className: "select-kanban__cardtitle",
100
122
  children: t
101
- }) : /* @__PURE__ */ i("span", {
123
+ }) : /* @__PURE__ */ c("span", {
102
124
  className: "select-kanban__cardtitle",
103
125
  children: t
104
- }), l ? /* @__PURE__ */ i("div", {
126
+ }), i ? /* @__PURE__ */ c("div", {
105
127
  className: "select-kanban__cardactions",
106
128
  onClick: (e) => e.stopPropagation(),
107
- children: l
129
+ children: i
108
130
  }) : null]
109
131
  }),
110
- r ? /* @__PURE__ */ i("p", {
132
+ n ? /* @__PURE__ */ c("p", {
111
133
  className: "select-kanban__cardsub",
112
- children: r
134
+ children: n
113
135
  }) : null,
114
- c ? /* @__PURE__ */ i("div", {
136
+ r ? /* @__PURE__ */ c("div", {
115
137
  className: "select-kanban__cardmeta",
116
- children: c
138
+ children: r
117
139
  }) : null
118
140
  ]
119
141
  });
120
142
  }
121
143
  //#endregion
122
- export { c as SelectKanban, l as SelectKanbanCard };
144
+ export { f as SelectKanban, p as SelectKanbanCard };
123
145
 
124
146
  //# sourceMappingURL=SelectKanban.js.map
@@ -34,7 +34,26 @@ type SelectListCardOwnProps = {
34
34
  };
35
35
  export type SelectListCardProps = SelectListCardOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectListCardOwnProps>;
36
36
  export declare const SelectListCard: import('react').ForwardRefExoticComponent<SelectListCardOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof SelectListCardOwnProps> & import('react').RefAttributes<HTMLDivElement>>;
37
- export declare function SelectListRow({ media, mediaSize, title, secondary, action, muted, wrap, onClick, href, }: {
37
+ /**
38
+ * 0.1.259: uma coluna da linha (`SelectListRow columns`) — o registro, o prazo, o dono de uma tarefa. A linha não tem
39
+ * cabeçalho: o `label` diz ao leitor de tela o que a coluna é ("Prazo: amanhã").
40
+ */
41
+ export interface SelectListRowColumn {
42
+ /** O que vai na coluna. */
43
+ content: ReactNode;
44
+ /**
45
+ * A largura no largo (um comprimento CSS, `'12rem'`): com ela, as colunas de todas as linhas ficam alinhadas e cedem
46
+ * juntas quando falta lugar. Sem ela, a coluna tem a medida do conteúdo.
47
+ */
48
+ width?: string;
49
+ /** O nome da coluna para o leitor de tela (fora da vista). */
50
+ label?: string;
51
+ /** No largo: `end` encosta à direita (um valor, uma data curta). */
52
+ align?: 'start' | 'end';
53
+ /** A chave da coluna na lista (sem ela, a posição). */
54
+ key?: string;
55
+ }
56
+ export declare function SelectListRow({ media, mediaSize, title, secondary, action, columns, muted, wrap, onClick, href, }: {
38
57
  /** Leading visual — an icon or SelectAvatar. */
39
58
  media?: ReactNode;
40
59
  /** `icon` (padrão) encaixa um glifo cru numa caixa de 1.25rem; `auto` deixa o visual com o
@@ -45,6 +64,13 @@ export declare function SelectListRow({ media, mediaSize, title, secondary, acti
45
64
  secondary?: ReactNode;
46
65
  /** Trailing slot — a link, button or badge. */
47
66
  action?: ReactNode;
67
+ /**
68
+ * 0.1.259: as colunas da linha, depois do título (a lista das Tarefas: o registro, o prazo e o dono). No largo, cada
69
+ * uma na largura dela, alinhadas de linha a linha e cortando com reticências; quando a linha fica estreita (abaixo de
70
+ * 32rem, pela largura da própria linha, não da janela), elas descem para baixo do título, numa linha só com o "·"
71
+ * entre elas. Sem `columns`, a linha de antes.
72
+ */
73
+ columns?: readonly SelectListRowColumn[];
48
74
  /** Dim the title/media (e.g. a disabled field). */
49
75
  muted?: boolean;
50
76
  /**
@@ -44,42 +44,67 @@ var l = a(function({ title: e, headingLevel: n, help: a, description: o, headerA
44
44
  });
45
45
  });
46
46
  n(l);
47
- function u({ media: t, mediaSize: n = "icon", title: r, secondary: i, action: a, muted: l = !1, wrap: u = !1, onClick: d, href: f }) {
48
- let p = /* @__PURE__ */ c(o, { children: [
47
+ function u({ media: t, mediaSize: n = "icon", title: r, secondary: i, action: a, columns: l, muted: u = !1, wrap: d = !1, onClick: f, href: p }) {
48
+ let m = /* @__PURE__ */ c("span", {
49
+ className: "select-listrow__text",
50
+ children: [/* @__PURE__ */ s("span", {
51
+ className: "select-listrow__title",
52
+ children: r
53
+ }), i && /* @__PURE__ */ s("span", {
54
+ className: "select-listrow__secondary",
55
+ children: i
56
+ })]
57
+ }), h = l != null && l.length > 0, g = h && l.every((e) => e.width) ? `calc(${l.map((e) => e.width).join(" + ")} + ${l.length - 1} * var(--select-sp-6))` : void 0, _ = /* @__PURE__ */ c(o, { children: [
49
58
  t && /* @__PURE__ */ s("span", {
50
59
  className: `select-listrow__media${n === "auto" ? " select-listrow__media--auto" : ""}`,
51
60
  "aria-hidden": "true",
52
61
  children: t
53
62
  }),
54
- /* @__PURE__ */ c("span", {
55
- className: "select-listrow__text",
56
- children: [/* @__PURE__ */ s("span", {
57
- className: "select-listrow__title",
58
- children: r
59
- }), i && /* @__PURE__ */ s("span", {
60
- className: "select-listrow__secondary",
61
- children: i
63
+ h ? /* @__PURE__ */ c("span", {
64
+ className: "select-listrow__main",
65
+ children: [m, /* @__PURE__ */ s("span", {
66
+ className: "select-listrow__cols",
67
+ style: g ? { "--select-listrow-cols": g } : void 0,
68
+ children: l.map((e, t) => /* @__PURE__ */ c("span", {
69
+ className: `select-listrow__col${e.align === "end" ? " select-listrow__col--end" : ""}`,
70
+ style: e.width ? { "--select-listrow-col": e.width } : void 0,
71
+ children: [
72
+ e.label && /* @__PURE__ */ s("span", {
73
+ className: "select-visually-hidden",
74
+ children: `${e.label}: `
75
+ }),
76
+ /* @__PURE__ */ s("span", {
77
+ className: "select-listrow__colvalue",
78
+ children: e.content
79
+ }),
80
+ t < l.length - 1 && /* @__PURE__ */ s("span", {
81
+ className: "select-listrow__sep",
82
+ "aria-hidden": "true",
83
+ children: "·"
84
+ })
85
+ ]
86
+ }, e.key ?? t))
62
87
  })]
63
- }),
88
+ }) : m,
64
89
  a && /* @__PURE__ */ s("span", {
65
90
  className: "select-listrow__action",
66
91
  children: a
67
92
  })
68
- ] }), m = `select-listrow${l ? " select-listrow--muted" : ""}${u ? " select-listrow--wrap" : ""}`, h = e(f);
69
- return h ? /* @__PURE__ */ s("a", {
70
- className: `${m} select-listrow--clickable`,
71
- href: h,
93
+ ] }), v = `select-listrow${u ? " select-listrow--muted" : ""}${d ? " select-listrow--wrap" : ""}${h ? " select-listrow--columns" : ""}`, y = e(p);
94
+ return y ? /* @__PURE__ */ s("a", {
95
+ className: `${v} select-listrow--clickable`,
96
+ href: y,
72
97
  target: "_blank",
73
98
  rel: "noreferrer",
74
- children: p
75
- }) : d ? /* @__PURE__ */ s("button", {
99
+ children: _
100
+ }) : f ? /* @__PURE__ */ s("button", {
76
101
  type: "button",
77
- className: `${m} select-listrow--clickable`,
78
- onClick: d,
79
- children: p
102
+ className: `${v} select-listrow--clickable`,
103
+ onClick: f,
104
+ children: _
80
105
  }) : /* @__PURE__ */ s("div", {
81
- className: m,
82
- children: p
106
+ className: v,
107
+ children: _
83
108
  });
84
109
  }
85
110
  function d({ children: e }) {
@@ -48,6 +48,9 @@ export interface SelectKitMessages {
48
48
  clearSearch: string;
49
49
  searchOption: string;
50
50
  removeFilter: (label: string) => string;
51
+ /** 0.1.258: o selo da faceta que é um campo personalizado ("campo") e o que o leitor de tela ouve no lugar dele. */
52
+ customField: string;
53
+ customFieldLabel: string;
51
54
  };
52
55
  dataTable: {
53
56
  columns: string;
@@ -264,6 +267,99 @@ export interface SelectKitMessages {
264
267
  loadFailed: string;
265
268
  retry: string;
266
269
  };
270
+ /**
271
+ * 0.1.258: o grupo de avatares (SelectAvatarGroup) — o rótulo para o leitor de tela: os nomes à vista e o resto
272
+ * ("Ana, Bruno e mais 3"); sem nome nenhum, só a conta ("5 pessoas").
273
+ */
274
+ avatarGroup: {
275
+ label: (names: readonly string[], more: number) => string;
276
+ };
277
+ /**
278
+ * 0.1.258: o cadeado da etapa que anda sozinha (o passo do `SelectSteps` e a coluna do `SelectKanban` com `locked`) —
279
+ * o que o leitor de tela ouve no lugar do desenho.
280
+ */
281
+ lock: {
282
+ label: string;
283
+ };
284
+ /** 0.1.258: a moldura da página inteira (`SelectDeviceFrame variant="page"`): o nome da área que rola. */
285
+ deviceFrame: {
286
+ page: string;
287
+ };
288
+ /**
289
+ * 0.1.258: a lista que se ordena (`useSelectSortable`): o nome do item sem nome, o da alça, as instruções do teclado e
290
+ * o que o leitor de tela ouve ao pegar, mover, soltar e cancelar.
291
+ */
292
+ sortable: {
293
+ item: (position: number) => string;
294
+ handle: (name: string) => string;
295
+ instructions: string;
296
+ grabbed: (name: string, position: number, total: number) => string;
297
+ moved: (name: string, position: number, total: number) => string;
298
+ dropped: (name: string, position: number, total: number) => string;
299
+ canceled: (name: string, position: number) => string;
300
+ };
301
+ /** 0.1.259: a etiqueta que se tira (`SelectBadge onRemove`): o nome do "x" ("Tirar VIP"; sem o texto, "Tirar a etiqueta"). */
302
+ badge: {
303
+ remove: (name: string) => string;
304
+ };
305
+ /**
306
+ * 0.1.259: o editor das faixas da semana (`SelectWeekHours`): os dias (o nome inteiro, o curto das frases e o "na
307
+ * segunda-feira"), as faixas, o copiar, os problemas, os feriados e as frases do resumo ("Segunda a sexta").
308
+ */
309
+ weekHours: {
310
+ label: string;
311
+ days: Record<'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' | 'sun', string>;
312
+ span: Record<'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' | 'sun', string>;
313
+ openOn: (day: 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' | 'sun') => string;
314
+ closed: string;
315
+ from: string;
316
+ to: string;
317
+ until: string;
318
+ rangeLabel: (day: string, n: number) => string;
319
+ removeRange: (from: string, to: string) => string;
320
+ addRange: string;
321
+ copyMenu: (day: string) => string;
322
+ copyWorkdays: string;
323
+ copyAll: string;
324
+ workdays: string;
325
+ everyDay: string;
326
+ copied: (day: string, target: string) => string;
327
+ problems: Record<'empty' | 'order' | 'overlap' | 'many', string>;
328
+ holidays: string;
329
+ holiday: (date: string, name: string) => string;
330
+ removeHoliday: (holiday: string) => string;
331
+ noHolidays: string;
332
+ date: string;
333
+ name: string;
334
+ addHoliday: string;
335
+ range: (from: string, to: string) => string;
336
+ pair: (a: string, b: string) => string;
337
+ through: (a: string, b: string) => string;
338
+ };
339
+ /** 0.1.259: a fileira de ações que nunca corta (`SelectActionBar`): o nome do menu das que não cabem. */
340
+ actionBar: {
341
+ more: string;
342
+ };
343
+ /**
344
+ * 0.1.259: o selo do prazo (`SelectDeadlineBadge`): a duração ("17 h úteis", "3 dias"), as frases de cada estado
345
+ * ("Faltam 17 h úteis", "Vencido há 2 h"), o estado sem a duração e o que o leitor de tela ouve depois do texto.
346
+ */
347
+ deadline: {
348
+ duration: (hours: number, minutes: number, business: boolean) => string;
349
+ days: (days: number) => string;
350
+ left: (duration: string, one: boolean) => string;
351
+ overdue: (duration: string) => string;
352
+ met: (duration: string) => string;
353
+ paused: (duration: string) => string;
354
+ bare: Record<'running' | 'near' | 'overdue' | 'met' | 'paused', string>;
355
+ state: Record<'running' | 'near', string>;
356
+ };
357
+ /** 0.1.259: a barra do lote (`SelectBulkBar`): o nome da região, a conta e o limpar. */
358
+ bulkBar: {
359
+ label: string;
360
+ count: (count: number) => string;
361
+ clear: string;
362
+ };
267
363
  }
268
364
  /** Os dicionários do kit, para quem quer conferir ou montar um texto do mesmo jeito. */
269
365
  export declare const selectKitMessages: Readonly<Record<SelectLocaleCode, SelectKitMessages>>;