@alfadocs/ui-kit 1.49.1 → 1.50.0

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 (80) hide show
  1. package/dist/_chunks/appointment-peek-Dk11UOVW.js +123 -0
  2. package/dist/_chunks/{booking-BF9pVa2n.js → booking-Cdzd8kyY.js} +1515 -1400
  3. package/dist/_chunks/calendar-event-card-DplPh1wv.js +600 -0
  4. package/dist/_chunks/{calendar-workspace-iwyXajja.js → calendar-workspace-CWRH4x15.js} +3937 -3829
  5. package/dist/_chunks/{calendar-Bt44KMNO.js → calendar-zpE9qTM4.js} +437 -399
  6. package/dist/agent-catalog.json +2 -2
  7. package/dist/agent-i18n/en.json +1 -1
  8. package/dist/components/appointment-peek/appointment-peek.d.ts +2 -0
  9. package/dist/components/appointment-peek/index.js +1 -1
  10. package/dist/components/booking/booking-types.d.ts +36 -0
  11. package/dist/components/booking/booking.d.ts +1 -1
  12. package/dist/components/booking/details-form.d.ts +8 -2
  13. package/dist/components/booking/index.d.ts +1 -1
  14. package/dist/components/booking/index.js +1 -1
  15. package/dist/components/booking/linkify.d.ts +11 -0
  16. package/dist/components/calendar/calendar.d.ts +15 -0
  17. package/dist/components/calendar/index.js +1 -1
  18. package/dist/components/calendar-event-card/calendar-event-card.d.ts +46 -4
  19. package/dist/components/calendar-event-card/index.js +1 -1
  20. package/dist/i18n/locales/ar.d.ts +12 -0
  21. package/dist/i18n/locales/ar.js +12 -0
  22. package/dist/i18n/locales/de.d.ts +12 -0
  23. package/dist/i18n/locales/de.js +12 -0
  24. package/dist/i18n/locales/el.d.ts +12 -0
  25. package/dist/i18n/locales/el.js +12 -0
  26. package/dist/i18n/locales/en.d.ts +12 -0
  27. package/dist/i18n/locales/en.js +12 -0
  28. package/dist/i18n/locales/es.d.ts +12 -0
  29. package/dist/i18n/locales/es.js +12 -0
  30. package/dist/i18n/locales/fr.d.ts +12 -0
  31. package/dist/i18n/locales/fr.js +12 -0
  32. package/dist/i18n/locales/hi.d.ts +12 -0
  33. package/dist/i18n/locales/hi.js +12 -0
  34. package/dist/i18n/locales/it.d.ts +12 -0
  35. package/dist/i18n/locales/it.js +12 -0
  36. package/dist/i18n/locales/ja.d.ts +12 -0
  37. package/dist/i18n/locales/ja.js +12 -0
  38. package/dist/i18n/locales/nl.d.ts +12 -0
  39. package/dist/i18n/locales/nl.js +12 -0
  40. package/dist/i18n/locales/pl.d.ts +12 -0
  41. package/dist/i18n/locales/pl.js +12 -0
  42. package/dist/i18n/locales/pt.d.ts +12 -0
  43. package/dist/i18n/locales/pt.js +12 -0
  44. package/dist/i18n/locales/ro.d.ts +12 -0
  45. package/dist/i18n/locales/ro.js +12 -0
  46. package/dist/i18n/locales/ru.d.ts +12 -0
  47. package/dist/i18n/locales/ru.js +12 -0
  48. package/dist/i18n/locales/sq.d.ts +12 -0
  49. package/dist/i18n/locales/sq.js +12 -0
  50. package/dist/i18n/locales/sv.d.ts +12 -0
  51. package/dist/i18n/locales/sv.js +12 -0
  52. package/dist/i18n/locales/tr.d.ts +12 -0
  53. package/dist/i18n/locales/tr.js +12 -0
  54. package/dist/i18n/locales/zh.d.ts +12 -0
  55. package/dist/i18n/locales/zh.js +12 -0
  56. package/dist/index.js +5 -5
  57. package/dist/locales/ar.json +12 -0
  58. package/dist/locales/de.json +12 -0
  59. package/dist/locales/el.json +12 -0
  60. package/dist/locales/en.json +12 -0
  61. package/dist/locales/es.json +12 -0
  62. package/dist/locales/fr.json +12 -0
  63. package/dist/locales/hi.json +12 -0
  64. package/dist/locales/it.json +12 -0
  65. package/dist/locales/ja.json +12 -0
  66. package/dist/locales/nl.json +12 -0
  67. package/dist/locales/pl.json +12 -0
  68. package/dist/locales/pt.json +12 -0
  69. package/dist/locales/ro.json +12 -0
  70. package/dist/locales/ru.json +12 -0
  71. package/dist/locales/sq.json +12 -0
  72. package/dist/locales/sv.json +12 -0
  73. package/dist/locales/tr.json +12 -0
  74. package/dist/locales/zh.json +12 -0
  75. package/dist/patterns/calendar/calendar.model.d.ts +7 -1
  76. package/dist/patterns/calendar/index.js +1 -1
  77. package/dist/tokens.css +45 -42
  78. package/package.json +1 -1
  79. package/dist/_chunks/appointment-peek-BDiCIBb-.js +0 -115
  80. package/dist/_chunks/calendar-event-card-BUbKBPv_.js +0 -403
@@ -1678,6 +1678,18 @@
1678
1678
  }
1679
1679
  },
1680
1680
  "calendar": {
1681
+ "card": {
1682
+ "slotDensity": "Densidade das linhas",
1683
+ "compact": "Compacta",
1684
+ "comfortable": "Confortável",
1685
+ "eventColorStyle": "Intensidade da cor",
1686
+ "tinted": "Suave",
1687
+ "solid": "Sólida",
1688
+ "showContext": "Mostrar profissional ou cadeira nos cartões",
1689
+ "legend": "Legenda dos ícones das consultas",
1690
+ "moreLegend": "+N indica mais marcadores; o ponto num cartão estreito indica mais detalhes.",
1691
+ "more": "+{{number}}"
1692
+ },
1681
1693
  "ariaLabel": "Calendário",
1682
1694
  "today": "Hoje",
1683
1695
  "month": "Mês",
@@ -1678,6 +1678,18 @@
1678
1678
  }
1679
1679
  },
1680
1680
  "calendar": {
1681
+ "card": {
1682
+ "slotDensity": "Densitatea rândurilor",
1683
+ "compact": "Compactă",
1684
+ "comfortable": "Aerisit",
1685
+ "eventColorStyle": "Intensitatea culorii",
1686
+ "tinted": "Nuanțată",
1687
+ "solid": "Plină",
1688
+ "showContext": "Arată medicul sau scaunul pe fișe",
1689
+ "legend": "Legenda pictogramelor programărilor",
1690
+ "moreLegend": "+N indică marcaje suplimentare; punctul de pe o fișă îngustă indică detalii suplimentare.",
1691
+ "more": "+{{number}}"
1692
+ },
1681
1693
  "ariaLabel": "Calendar",
1682
1694
  "today": "Astăzi",
1683
1695
  "month": "Lună",
@@ -1678,6 +1678,18 @@
1678
1678
  }
1679
1679
  },
1680
1680
  "calendar": {
1681
+ "card": {
1682
+ "slotDensity": "Плотность строк",
1683
+ "compact": "Компактная",
1684
+ "comfortable": "Комфортная",
1685
+ "eventColorStyle": "Насыщенность цвета",
1686
+ "tinted": "Оттенок",
1687
+ "solid": "Сплошной",
1688
+ "showContext": "Показывать врача или кресло на карточках",
1689
+ "legend": "Обозначения значков записи",
1690
+ "moreLegend": "+N означает дополнительные маркеры; точка на узкой карточке означает дополнительные сведения.",
1691
+ "more": "+{{number}}"
1692
+ },
1681
1693
  "ariaLabel": "Календарь",
1682
1694
  "today": "Сегодня",
1683
1695
  "month": "Месяц",
@@ -1678,6 +1678,18 @@
1678
1678
  }
1679
1679
  },
1680
1680
  "calendar": {
1681
+ "card": {
1682
+ "slotDensity": "Dendësia e rreshtave",
1683
+ "compact": "Kompakte",
1684
+ "comfortable": "E rehatshme",
1685
+ "eventColorStyle": "Intensiteti i ngjyrës",
1686
+ "tinted": "E zbehtë",
1687
+ "solid": "E plotë",
1688
+ "showContext": "Shfaq mjekun ose karrigen në karta",
1689
+ "legend": "Legjenda e ikonave të takimeve",
1690
+ "moreLegend": "+N tregon më shumë shënues; pika në një kartë të ngushtë tregon më shumë hollësi.",
1691
+ "more": "+{{number}}"
1692
+ },
1681
1693
  "ariaLabel": "Kalendar",
1682
1694
  "today": "Sot",
1683
1695
  "month": "Muaj",
@@ -1678,6 +1678,18 @@
1678
1678
  }
1679
1679
  },
1680
1680
  "calendar": {
1681
+ "card": {
1682
+ "slotDensity": "Radtäthet",
1683
+ "compact": "Kompakt",
1684
+ "comfortable": "Luftig",
1685
+ "eventColorStyle": "Färgstyrka",
1686
+ "tinted": "Tonad",
1687
+ "solid": "Helfärgad",
1688
+ "showContext": "Visa behandlare eller stol på korten",
1689
+ "legend": "Förklaring av bokningsikoner",
1690
+ "moreLegend": "+N betyder fler markörer; punkten på ett smalt kort betyder fler detaljer.",
1691
+ "more": "+{{number}}"
1692
+ },
1681
1693
  "ariaLabel": "Kalender",
1682
1694
  "today": "Idag",
1683
1695
  "month": "Månad",
@@ -1678,6 +1678,18 @@
1678
1678
  }
1679
1679
  },
1680
1680
  "calendar": {
1681
+ "card": {
1682
+ "slotDensity": "Satır yoğunluğu",
1683
+ "compact": "Sıkışık",
1684
+ "comfortable": "Rahat",
1685
+ "eventColorStyle": "Renk yoğunluğu",
1686
+ "tinted": "Hafif",
1687
+ "solid": "Düz",
1688
+ "showContext": "Kartlarda hekim veya koltuğu göster",
1689
+ "legend": "Randevu simgeleri açıklaması",
1690
+ "moreLegend": "+N daha fazla işaret olduğunu; dar karttaki nokta daha fazla ayrıntı olduğunu belirtir.",
1691
+ "more": "+{{number}}"
1692
+ },
1681
1693
  "ariaLabel": "Takvim",
1682
1694
  "today": "Bugün",
1683
1695
  "month": "Ay",
@@ -1678,6 +1678,18 @@
1678
1678
  }
1679
1679
  },
1680
1680
  "calendar": {
1681
+ "card": {
1682
+ "slotDensity": "行密度",
1683
+ "compact": "紧凑",
1684
+ "comfortable": "舒适",
1685
+ "eventColorStyle": "颜色强度",
1686
+ "tinted": "浅色",
1687
+ "solid": "实色",
1688
+ "showContext": "在卡片上显示医生或诊疗椅",
1689
+ "legend": "预约图标说明",
1690
+ "moreLegend": "+N 表示还有其他标记;窄卡片上的圆点表示还有更多详情。",
1691
+ "more": "+{{number}}"
1692
+ },
1681
1693
  "ariaLabel": "日历",
1682
1694
  "today": "今天",
1683
1695
  "month": "月",
@@ -102,6 +102,12 @@ export interface DisplaySettings {
102
102
  orientation: 'vertical' | 'horizontal';
103
103
  zebraRows: boolean;
104
104
  showTime: boolean;
105
+ /** Optional for saved preferences and older consumers. @default 'compact' */
106
+ slotDensity?: 'compact' | 'comfortable';
107
+ /** Picker colour strength. @default 'tinted' */
108
+ eventColorStyle?: 'solid' | 'tinted';
109
+ /** Show the opposite resource on tall cards. @default false */
110
+ showCardContext?: boolean;
105
111
  slotDuration: '00:15' | '00:30' | '01:00';
106
112
  window: 'working' | 'extended' | 'full';
107
113
  /** How the card describes its cares (platform care visualization). */
@@ -113,7 +119,7 @@ export declare const DEFAULT_DISPLAY: DisplaySettings;
113
119
  /** A remembered range view, only while the segment still exists. */
114
120
  export declare function readViewOptionId(raw: unknown): ViewOptionId | undefined;
115
121
  export declare const DISPLAY_READERS: {
116
- [K in keyof DisplaySettings]: (raw: unknown) => DisplaySettings[K] | undefined;
122
+ [K in keyof DisplaySettings]-?: (raw: unknown) => DisplaySettings[K] | undefined;
117
123
  };
118
124
  export declare function readDisplayField<K extends keyof DisplaySettings>(target: DisplaySettings, field: K, raw: unknown): void;
119
125
  /**
@@ -1,4 +1,4 @@
1
- import { C as s, a as r, b as E, c as P, D as S, d as o, S as C, V as t, W as d, e as A, i, m as n, r as D, u as W, f as _, g as c } from "../../_chunks/calendar-workspace-iwyXajja.js";
1
+ import { C as s, a as r, b as E, c as P, D as S, d as o, S as C, V as t, W as d, e as A, i, m as n, r as D, u as W, f as _, g as c } from "../../_chunks/calendar-workspace-CWRH4x15.js";
2
2
  export {
3
3
  s as CALENDAR_PREFERENCE_KEYS,
4
4
  r as CalendarDataProvider,