@alfadocs/ui-kit 1.49.2 → 1.50.1

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 (74) hide show
  1. package/dist/_chunks/appointment-peek-Dk11UOVW.js +123 -0
  2. package/dist/_chunks/{calendar-Bt44KMNO.js → calendar-E6Yu4lzC.js} +437 -396
  3. package/dist/_chunks/calendar-event-card-DyFSIehr.js +603 -0
  4. package/dist/_chunks/calendar-workspace-DjbGFjg1.js +10584 -0
  5. package/dist/agent-catalog.json +2 -2
  6. package/dist/agent-i18n/en.json +1 -1
  7. package/dist/components/appointment-peek/appointment-peek.d.ts +2 -0
  8. package/dist/components/appointment-peek/index.js +1 -1
  9. package/dist/components/calendar/calendar.d.ts +21 -0
  10. package/dist/components/calendar/index.js +1 -1
  11. package/dist/components/calendar-event-card/calendar-event-card.d.ts +52 -4
  12. package/dist/components/calendar-event-card/index.js +1 -1
  13. package/dist/i18n/locales/ar.d.ts +12 -0
  14. package/dist/i18n/locales/ar.js +12 -0
  15. package/dist/i18n/locales/de.d.ts +12 -0
  16. package/dist/i18n/locales/de.js +12 -0
  17. package/dist/i18n/locales/el.d.ts +12 -0
  18. package/dist/i18n/locales/el.js +12 -0
  19. package/dist/i18n/locales/en.d.ts +12 -0
  20. package/dist/i18n/locales/en.js +12 -0
  21. package/dist/i18n/locales/es.d.ts +12 -0
  22. package/dist/i18n/locales/es.js +12 -0
  23. package/dist/i18n/locales/fr.d.ts +12 -0
  24. package/dist/i18n/locales/fr.js +12 -0
  25. package/dist/i18n/locales/hi.d.ts +12 -0
  26. package/dist/i18n/locales/hi.js +12 -0
  27. package/dist/i18n/locales/it.d.ts +12 -0
  28. package/dist/i18n/locales/it.js +12 -0
  29. package/dist/i18n/locales/ja.d.ts +12 -0
  30. package/dist/i18n/locales/ja.js +12 -0
  31. package/dist/i18n/locales/nl.d.ts +12 -0
  32. package/dist/i18n/locales/nl.js +12 -0
  33. package/dist/i18n/locales/pl.d.ts +12 -0
  34. package/dist/i18n/locales/pl.js +12 -0
  35. package/dist/i18n/locales/pt.d.ts +12 -0
  36. package/dist/i18n/locales/pt.js +12 -0
  37. package/dist/i18n/locales/ro.d.ts +12 -0
  38. package/dist/i18n/locales/ro.js +12 -0
  39. package/dist/i18n/locales/ru.d.ts +12 -0
  40. package/dist/i18n/locales/ru.js +12 -0
  41. package/dist/i18n/locales/sq.d.ts +12 -0
  42. package/dist/i18n/locales/sq.js +12 -0
  43. package/dist/i18n/locales/sv.d.ts +12 -0
  44. package/dist/i18n/locales/sv.js +12 -0
  45. package/dist/i18n/locales/tr.d.ts +12 -0
  46. package/dist/i18n/locales/tr.js +12 -0
  47. package/dist/i18n/locales/zh.d.ts +12 -0
  48. package/dist/i18n/locales/zh.js +12 -0
  49. package/dist/index.js +4 -4
  50. package/dist/locales/ar.json +12 -0
  51. package/dist/locales/de.json +12 -0
  52. package/dist/locales/el.json +12 -0
  53. package/dist/locales/en.json +12 -0
  54. package/dist/locales/es.json +12 -0
  55. package/dist/locales/fr.json +12 -0
  56. package/dist/locales/hi.json +12 -0
  57. package/dist/locales/it.json +12 -0
  58. package/dist/locales/ja.json +12 -0
  59. package/dist/locales/nl.json +12 -0
  60. package/dist/locales/pl.json +12 -0
  61. package/dist/locales/pt.json +12 -0
  62. package/dist/locales/ro.json +12 -0
  63. package/dist/locales/ru.json +12 -0
  64. package/dist/locales/sq.json +12 -0
  65. package/dist/locales/sv.json +12 -0
  66. package/dist/locales/tr.json +12 -0
  67. package/dist/locales/zh.json +12 -0
  68. package/dist/patterns/calendar/calendar.model.d.ts +7 -1
  69. package/dist/patterns/calendar/index.js +1 -1
  70. package/dist/tokens.css +45 -42
  71. package/package.json +1 -1
  72. package/dist/_chunks/appointment-peek-BDiCIBb-.js +0 -115
  73. package/dist/_chunks/calendar-event-card-BUbKBPv_.js +0 -403
  74. package/dist/_chunks/calendar-workspace-iwyXajja.js +0 -10469
@@ -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-DjbGFjg1.js";
2
2
  export {
3
3
  s as CALENDAR_PREFERENCE_KEYS,
4
4
  r as CalendarDataProvider,