@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.
- package/dist/_chunks/appointment-peek-Dk11UOVW.js +123 -0
- package/dist/_chunks/{calendar-Bt44KMNO.js → calendar-E6Yu4lzC.js} +437 -396
- package/dist/_chunks/calendar-event-card-DyFSIehr.js +603 -0
- package/dist/_chunks/calendar-workspace-DjbGFjg1.js +10584 -0
- package/dist/agent-catalog.json +2 -2
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/appointment-peek/appointment-peek.d.ts +2 -0
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +21 -0
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/calendar-event-card.d.ts +52 -4
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +12 -0
- package/dist/i18n/locales/ar.js +12 -0
- package/dist/i18n/locales/de.d.ts +12 -0
- package/dist/i18n/locales/de.js +12 -0
- package/dist/i18n/locales/el.d.ts +12 -0
- package/dist/i18n/locales/el.js +12 -0
- package/dist/i18n/locales/en.d.ts +12 -0
- package/dist/i18n/locales/en.js +12 -0
- package/dist/i18n/locales/es.d.ts +12 -0
- package/dist/i18n/locales/es.js +12 -0
- package/dist/i18n/locales/fr.d.ts +12 -0
- package/dist/i18n/locales/fr.js +12 -0
- package/dist/i18n/locales/hi.d.ts +12 -0
- package/dist/i18n/locales/hi.js +12 -0
- package/dist/i18n/locales/it.d.ts +12 -0
- package/dist/i18n/locales/it.js +12 -0
- package/dist/i18n/locales/ja.d.ts +12 -0
- package/dist/i18n/locales/ja.js +12 -0
- package/dist/i18n/locales/nl.d.ts +12 -0
- package/dist/i18n/locales/nl.js +12 -0
- package/dist/i18n/locales/pl.d.ts +12 -0
- package/dist/i18n/locales/pl.js +12 -0
- package/dist/i18n/locales/pt.d.ts +12 -0
- package/dist/i18n/locales/pt.js +12 -0
- package/dist/i18n/locales/ro.d.ts +12 -0
- package/dist/i18n/locales/ro.js +12 -0
- package/dist/i18n/locales/ru.d.ts +12 -0
- package/dist/i18n/locales/ru.js +12 -0
- package/dist/i18n/locales/sq.d.ts +12 -0
- package/dist/i18n/locales/sq.js +12 -0
- package/dist/i18n/locales/sv.d.ts +12 -0
- package/dist/i18n/locales/sv.js +12 -0
- package/dist/i18n/locales/tr.d.ts +12 -0
- package/dist/i18n/locales/tr.js +12 -0
- package/dist/i18n/locales/zh.d.ts +12 -0
- package/dist/i18n/locales/zh.js +12 -0
- package/dist/index.js +4 -4
- package/dist/locales/ar.json +12 -0
- package/dist/locales/de.json +12 -0
- package/dist/locales/el.json +12 -0
- package/dist/locales/en.json +12 -0
- package/dist/locales/es.json +12 -0
- package/dist/locales/fr.json +12 -0
- package/dist/locales/hi.json +12 -0
- package/dist/locales/it.json +12 -0
- package/dist/locales/ja.json +12 -0
- package/dist/locales/nl.json +12 -0
- package/dist/locales/pl.json +12 -0
- package/dist/locales/pt.json +12 -0
- package/dist/locales/ro.json +12 -0
- package/dist/locales/ru.json +12 -0
- package/dist/locales/sq.json +12 -0
- package/dist/locales/sv.json +12 -0
- package/dist/locales/tr.json +12 -0
- package/dist/locales/zh.json +12 -0
- package/dist/patterns/calendar/calendar.model.d.ts +7 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/tokens.css +45 -42
- package/package.json +1 -1
- package/dist/_chunks/appointment-peek-BDiCIBb-.js +0 -115
- package/dist/_chunks/calendar-event-card-BUbKBPv_.js +0 -403
- package/dist/_chunks/calendar-workspace-iwyXajja.js +0 -10469
package/dist/locales/zh.json
CHANGED
|
@@ -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]
|
|
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-
|
|
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,
|