@expcat/tigercat-core 1.4.0 → 2.0.0-preview.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 (133) hide show
  1. package/dist/{datepicker-DXzS_8l8.d.cts → datepicker-ZdzYUqm5.d.ts} +77 -11
  2. package/dist/datepicker-locales/ar-SA.d.ts +1 -1
  3. package/dist/datepicker-locales/de-DE.d.ts +1 -1
  4. package/dist/datepicker-locales/en-US.d.ts +1 -1
  5. package/dist/datepicker-locales/es-ES.d.ts +1 -1
  6. package/dist/datepicker-locales/fr-FR.d.ts +1 -1
  7. package/dist/datepicker-locales/id-ID.d.ts +1 -1
  8. package/dist/datepicker-locales/ja-JP.d.ts +1 -1
  9. package/dist/datepicker-locales/ko-KR.d.ts +1 -1
  10. package/dist/datepicker-locales/pt-BR.d.ts +1 -1
  11. package/dist/datepicker-locales/registry.d.ts +7 -0
  12. package/dist/datepicker-locales/registry.js +224 -0
  13. package/dist/datepicker-locales/th-TH.d.ts +1 -1
  14. package/dist/datepicker-locales/vi-VN.d.ts +1 -1
  15. package/dist/datepicker-locales/zh-CN.d.ts +1 -1
  16. package/dist/datepicker-locales/zh-TW.d.ts +1 -1
  17. package/dist/icons/picker.d.ts +1 -13
  18. package/dist/icons/picker.js +0 -12
  19. package/dist/index.d.ts +12341 -12244
  20. package/dist/index.js +1482 -659
  21. package/dist/{locale-9tTj1QdZ.d.ts → locale-44p_QYnH.d.ts} +96 -7
  22. package/dist/locales/ar-SA.d.ts +2 -2
  23. package/dist/locales/ar-SA.js +122 -1
  24. package/dist/locales/de-DE.d.ts +2 -2
  25. package/dist/locales/de-DE.js +122 -1
  26. package/dist/locales/en-US.d.ts +2 -2
  27. package/dist/locales/en-US.js +98 -1
  28. package/dist/locales/es-ES.d.ts +2 -2
  29. package/dist/locales/es-ES.js +122 -1
  30. package/dist/locales/fr-FR.d.ts +2 -2
  31. package/dist/locales/fr-FR.js +122 -1
  32. package/dist/locales/id-ID.d.ts +2 -2
  33. package/dist/locales/id-ID.js +268 -2
  34. package/dist/locales/ja-JP.d.ts +2 -2
  35. package/dist/locales/ja-JP.js +268 -2
  36. package/dist/locales/ko-KR.d.ts +2 -2
  37. package/dist/locales/ko-KR.js +268 -2
  38. package/dist/locales/pt-BR.d.ts +2 -2
  39. package/dist/locales/pt-BR.js +122 -1
  40. package/dist/locales/th-TH.d.ts +2 -2
  41. package/dist/locales/th-TH.js +268 -2
  42. package/dist/locales/vi-VN.d.ts +2 -2
  43. package/dist/locales/vi-VN.js +268 -2
  44. package/dist/locales/zh-CN.d.ts +2 -2
  45. package/dist/locales/zh-CN.js +98 -1
  46. package/dist/locales/zh-TW.d.ts +2 -2
  47. package/dist/locales/zh-TW.js +268 -2
  48. package/dist/{table-export-GRimhvlM.d.ts → table-export-CzPmX1b6.d.ts} +3 -9
  49. package/dist/tailwind/modern.d.ts +2 -3
  50. package/dist/tailwind/modern.js +75 -80
  51. package/dist/{tailwind-entry-D4_sseNi.d.ts → tailwind-entry-CNBAH7iv.d.ts} +7 -41
  52. package/dist/tailwind.d.ts +2 -3
  53. package/dist/tailwind.js +123 -70
  54. package/dist/utils/table-export.d.ts +3 -3
  55. package/package.json +43 -73
  56. package/tokens/tailwind-tokens.js +6 -3
  57. package/tokens/tokens.css +8 -322
  58. package/dist/datepicker-DXzS_8l8.d.ts +0 -130
  59. package/dist/datepicker-locales/ar-SA.cjs +0 -46
  60. package/dist/datepicker-locales/ar-SA.d.cts +0 -6
  61. package/dist/datepicker-locales/de-DE.cjs +0 -46
  62. package/dist/datepicker-locales/de-DE.d.cts +0 -6
  63. package/dist/datepicker-locales/en-US.cjs +0 -46
  64. package/dist/datepicker-locales/en-US.d.cts +0 -6
  65. package/dist/datepicker-locales/es-ES.cjs +0 -46
  66. package/dist/datepicker-locales/es-ES.d.cts +0 -6
  67. package/dist/datepicker-locales/fr-FR.cjs +0 -46
  68. package/dist/datepicker-locales/fr-FR.d.cts +0 -6
  69. package/dist/datepicker-locales/id-ID.cjs +0 -46
  70. package/dist/datepicker-locales/id-ID.d.cts +0 -6
  71. package/dist/datepicker-locales/ja-JP.cjs +0 -46
  72. package/dist/datepicker-locales/ja-JP.d.cts +0 -6
  73. package/dist/datepicker-locales/ko-KR.cjs +0 -46
  74. package/dist/datepicker-locales/ko-KR.d.cts +0 -6
  75. package/dist/datepicker-locales/pt-BR.cjs +0 -46
  76. package/dist/datepicker-locales/pt-BR.d.cts +0 -6
  77. package/dist/datepicker-locales/th-TH.cjs +0 -46
  78. package/dist/datepicker-locales/th-TH.d.cts +0 -6
  79. package/dist/datepicker-locales/vi-VN.cjs +0 -46
  80. package/dist/datepicker-locales/vi-VN.d.cts +0 -6
  81. package/dist/datepicker-locales/zh-CN.cjs +0 -46
  82. package/dist/datepicker-locales/zh-CN.d.cts +0 -6
  83. package/dist/datepicker-locales/zh-TW.cjs +0 -46
  84. package/dist/datepicker-locales/zh-TW.d.cts +0 -6
  85. package/dist/icons/common.cjs +0 -54
  86. package/dist/icons/common.d.cts +0 -20
  87. package/dist/icons/picker.cjs +0 -75
  88. package/dist/icons/picker.d.cts +0 -53
  89. package/dist/icons/registry.cjs +0 -172
  90. package/dist/icons/registry.d.cts +0 -102
  91. package/dist/icons/status.cjs +0 -47
  92. package/dist/icons/status.d.cts +0 -13
  93. package/dist/icons/table.cjs +0 -48
  94. package/dist/icons/table.d.cts +0 -25
  95. package/dist/index.cjs +0 -21268
  96. package/dist/index.d.cts +0 -20129
  97. package/dist/locale-DxwhmqfF.d.cts +0 -300
  98. package/dist/locales/ar-SA.cjs +0 -254
  99. package/dist/locales/ar-SA.d.cts +0 -10
  100. package/dist/locales/de-DE.cjs +0 -254
  101. package/dist/locales/de-DE.d.cts +0 -10
  102. package/dist/locales/en-US.cjs +0 -149
  103. package/dist/locales/en-US.d.cts +0 -10
  104. package/dist/locales/es-ES.cjs +0 -254
  105. package/dist/locales/es-ES.d.cts +0 -10
  106. package/dist/locales/fr-FR.cjs +0 -254
  107. package/dist/locales/fr-FR.d.cts +0 -10
  108. package/dist/locales/id-ID.cjs +0 -90
  109. package/dist/locales/id-ID.d.cts +0 -10
  110. package/dist/locales/ja-JP.cjs +0 -90
  111. package/dist/locales/ja-JP.d.cts +0 -10
  112. package/dist/locales/ko-KR.cjs +0 -90
  113. package/dist/locales/ko-KR.d.cts +0 -10
  114. package/dist/locales/pt-BR.cjs +0 -254
  115. package/dist/locales/pt-BR.d.cts +0 -10
  116. package/dist/locales/th-TH.cjs +0 -90
  117. package/dist/locales/th-TH.d.cts +0 -10
  118. package/dist/locales/vi-VN.cjs +0 -90
  119. package/dist/locales/vi-VN.d.cts +0 -10
  120. package/dist/locales/zh-CN.cjs +0 -149
  121. package/dist/locales/zh-CN.d.cts +0 -10
  122. package/dist/locales/zh-TW.cjs +0 -90
  123. package/dist/locales/zh-TW.d.cts +0 -10
  124. package/dist/table-export-BMBH75rj.d.cts +0 -882
  125. package/dist/tailwind/modern.cjs +0 -368
  126. package/dist/tailwind/modern.d.cts +0 -6
  127. package/dist/tailwind-entry-DUchHtjs.d.cts +0 -218
  128. package/dist/tailwind.cjs +0 -221
  129. package/dist/tailwind.d.cts +0 -3
  130. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +0 -126
  131. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +0 -126
  132. package/dist/utils/table-export.cjs +0 -119
  133. package/dist/utils/table-export.d.cts +0 -3
@@ -1,12 +1,82 @@
1
+ /**
2
+ * Base shared prop interfaces
3
+ *
4
+ * These provide common prop shapes for interactive, form-control,
5
+ * and layout components. Component-specific Props should extend or
6
+ * pick from these as needed.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * import type { BaseInteractiveProps } from '@expcat/tigercat-core'
11
+ *
12
+ * export interface MyButtonProps extends BaseInteractiveProps {
13
+ * variant?: 'primary' | 'secondary'
14
+ * }
15
+ * ```
16
+ */
17
+ /**
18
+ * Standard component size values.
19
+ * Individual components may extend this union (e.g. add 'xs' | 'xl').
20
+ */
21
+ type ComponentSize = 'sm' | 'md' | 'lg';
22
+ /**
23
+ * Base props shared by interactive (clickable / focusable) components.
24
+ *
25
+ * Covers: Button, Link, Tag, Card, Badge, etc.
26
+ */
27
+ interface BaseInteractiveProps {
28
+ /** Whether the component is disabled */
29
+ disabled?: boolean;
30
+ /** Component size */
31
+ size?: ComponentSize;
32
+ /** Whether the component shows a loading indicator */
33
+ loading?: boolean;
34
+ }
35
+ /**
36
+ * Base props shared by form-control components.
37
+ *
38
+ * Covers: Input, Select, Checkbox, Radio, Switch, DatePicker, etc.
39
+ *
40
+ * Uses generics so each component can specify its own value type.
41
+ */
42
+ interface BaseFormControlProps<T = unknown> {
43
+ /** Controlled value */
44
+ value?: T;
45
+ /** Default (uncontrolled) value */
46
+ defaultValue?: T;
47
+ /** Form field name attribute */
48
+ name?: string;
49
+ /** Whether the field is required */
50
+ required?: boolean;
51
+ /** Whether the field is disabled */
52
+ disabled?: boolean;
53
+ /** Component size */
54
+ size?: ComponentSize;
55
+ /** Placeholder text */
56
+ placeholder?: string;
57
+ }
58
+ /**
59
+ * Base props shared by layout / spacing components.
60
+ *
61
+ * Covers: Space, Row/Col, Container, etc.
62
+ */
63
+ interface BaseLayoutProps {
64
+ /** Layout direction */
65
+ direction?: 'horizontal' | 'vertical';
66
+ /** Cross-axis alignment */
67
+ align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
68
+ /** Main-axis justification */
69
+ justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
70
+ /** Whether children should wrap */
71
+ wrap?: boolean;
72
+ }
73
+
1
74
  /**
2
75
  * DatePicker component types and interfaces
3
76
  */
77
+
4
78
  type DatePickerInputDate = Date | string;
5
- type DatePickerSingleModelValue = DatePickerInputDate | null;
6
- type DatePickerRangeModelValue = [DatePickerInputDate | null, DatePickerInputDate | null];
7
- type DatePickerModelValue = DatePickerSingleModelValue | DatePickerRangeModelValue;
8
- type DatePickerSingleValue = Date | null;
9
- type DatePickerRangeValue = [Date | null, Date | null];
79
+ type DatePickerModelValue = DatePickerInputDate | null | [DatePickerInputDate | null, DatePickerInputDate | null];
10
80
  interface DatePickerLabels {
11
81
  today: string;
12
82
  ok: string;
@@ -24,10 +94,6 @@ interface DatePickerLocaleConfig {
24
94
  datePicker?: Partial<DatePickerLocalePreset>;
25
95
  }
26
96
  type DatePickerLocaleInput = string | Partial<DatePickerLocalePreset> | DatePickerLocaleConfig;
27
- /**
28
- * DatePicker size types
29
- */
30
- type DatePickerSize = 'sm' | 'md' | 'lg';
31
97
  /**
32
98
  * Date format types
33
99
  */
@@ -50,7 +116,7 @@ interface DatePickerProps {
50
116
  * DatePicker size
51
117
  * @default 'md'
52
118
  */
53
- size?: DatePickerSize;
119
+ size?: ComponentSize;
54
120
  /**
55
121
  * Selected date value (for controlled mode)
56
122
  */
@@ -127,4 +193,4 @@ interface DatePickerShortcut {
127
193
  value: DatePickerModelValue | (() => DatePickerModelValue);
128
194
  }
129
195
 
130
- export type { DatePickerLocalePreset as D, DatePickerLocaleInput as a, DatePickerLabels as b, DateFormat as c, DatePickerSize as d, DatePickerInputDate as e, DatePickerSingleModelValue as f, DatePickerRangeModelValue as g, DatePickerModelValue as h, DatePickerSingleValue as i, DatePickerRangeValue as j, DatePickerLocaleConfig as k, DatePickerProps as l, DatePickerShortcut as m };
196
+ export type { BaseLayoutProps as B, ComponentSize as C, DatePickerLocalePreset as D, DatePickerLabels as a, DatePickerLocaleInput as b, DateFormat as c, BaseFormControlProps as d, BaseInteractiveProps as e, DatePickerInputDate as f, DatePickerLocaleConfig as g, DatePickerModelValue as h, DatePickerProps as i, DatePickerShortcut as j };
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const AR_SA_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const arSADatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const DE_DE_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const deDEDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const EN_US_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const enUSDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const ES_ES_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const esESDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const FR_FR_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const frFRDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const ID_ID_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const idIDDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const JA_JP_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const jaJPDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const KO_KR_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const koKRDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const PT_BR_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const ptBRDatePickerLocale: DatePickerLocalePreset;
@@ -0,0 +1,7 @@
1
+ import { D as DatePickerLocalePreset, a as DatePickerLabels } from '../datepicker-ZdzYUqm5.js';
2
+
3
+ declare const DATEPICKER_LOCALES: readonly DatePickerLocalePreset[];
4
+ declare function getDatePickerLocalePreset(locale?: string): DatePickerLocalePreset | undefined;
5
+ declare function getDatePickerLabelsFromLocale(locale?: string, overrides?: Partial<DatePickerLabels>): DatePickerLabels;
6
+
7
+ export { DATEPICKER_LOCALES, getDatePickerLabelsFromLocale, getDatePickerLocalePreset };
@@ -0,0 +1,224 @@
1
+ // src/utils/i18n/datepicker-locales/ar-SA.ts
2
+ var AR_SA_DATEPICKER_LOCALE = {
3
+ locale: "ar-SA",
4
+ labels: {
5
+ today: "\u0627\u0644\u064A\u0648\u0645",
6
+ ok: "\u0645\u0648\u0627\u0641\u0642",
7
+ calendar: "\u0627\u0644\u062A\u0642\u0648\u064A\u0645",
8
+ toggleCalendar: "\u0641\u062A\u062D \u0627\u0644\u062A\u0642\u0648\u064A\u0645",
9
+ clearDate: "\u0645\u0633\u062D \u0627\u0644\u062A\u0627\u0631\u064A\u062E",
10
+ previousMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642",
11
+ nextMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u062A\u0627\u0644\u064A"
12
+ }
13
+ };
14
+
15
+ // src/utils/i18n/datepicker-locales/de-DE.ts
16
+ var DE_DE_DATEPICKER_LOCALE = {
17
+ locale: "de-DE",
18
+ labels: {
19
+ today: "Heute",
20
+ ok: "OK",
21
+ calendar: "Kalender",
22
+ toggleCalendar: "Kalender \xF6ffnen",
23
+ clearDate: "Datum l\xF6schen",
24
+ previousMonth: "Vorheriger Monat",
25
+ nextMonth: "N\xE4chster Monat"
26
+ }
27
+ };
28
+
29
+ // src/utils/i18n/datepicker-locales/en-US.ts
30
+ var EN_US_DATEPICKER_LOCALE = {
31
+ locale: "en-US",
32
+ labels: {
33
+ today: "Today",
34
+ ok: "OK",
35
+ calendar: "Calendar",
36
+ toggleCalendar: "Toggle calendar",
37
+ clearDate: "Clear date",
38
+ previousMonth: "Previous month",
39
+ nextMonth: "Next month"
40
+ }
41
+ };
42
+
43
+ // src/utils/i18n/datepicker-locales/es-ES.ts
44
+ var ES_ES_DATEPICKER_LOCALE = {
45
+ locale: "es-ES",
46
+ labels: {
47
+ today: "Hoy",
48
+ ok: "Aceptar",
49
+ calendar: "Calendario",
50
+ toggleCalendar: "Abrir calendario",
51
+ clearDate: "Borrar fecha",
52
+ previousMonth: "Mes anterior",
53
+ nextMonth: "Mes siguiente"
54
+ }
55
+ };
56
+
57
+ // src/utils/i18n/datepicker-locales/fr-FR.ts
58
+ var FR_FR_DATEPICKER_LOCALE = {
59
+ locale: "fr-FR",
60
+ labels: {
61
+ today: "Aujourd'hui",
62
+ ok: "OK",
63
+ calendar: "Calendrier",
64
+ toggleCalendar: "Ouvrir le calendrier",
65
+ clearDate: "Effacer la date",
66
+ previousMonth: "Mois pr\xE9c\xE9dent",
67
+ nextMonth: "Mois suivant"
68
+ }
69
+ };
70
+
71
+ // src/utils/i18n/datepicker-locales/id-ID.ts
72
+ var ID_ID_DATEPICKER_LOCALE = {
73
+ locale: "id-ID",
74
+ labels: {
75
+ today: "Hari ini",
76
+ ok: "OK",
77
+ calendar: "Kalender",
78
+ toggleCalendar: "Buka kalender",
79
+ clearDate: "Hapus tanggal",
80
+ previousMonth: "Bulan sebelumnya",
81
+ nextMonth: "Bulan berikutnya"
82
+ }
83
+ };
84
+
85
+ // src/utils/i18n/datepicker-locales/ja-JP.ts
86
+ var JA_JP_DATEPICKER_LOCALE = {
87
+ locale: "ja-JP",
88
+ labels: {
89
+ today: "\u4ECA\u65E5",
90
+ ok: "OK",
91
+ calendar: "\u30AB\u30EC\u30F3\u30C0\u30FC",
92
+ toggleCalendar: "\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u958B\u304F",
93
+ clearDate: "\u65E5\u4ED8\u3092\u30AF\u30EA\u30A2",
94
+ previousMonth: "\u524D\u306E\u6708",
95
+ nextMonth: "\u6B21\u306E\u6708"
96
+ }
97
+ };
98
+
99
+ // src/utils/i18n/datepicker-locales/ko-KR.ts
100
+ var KO_KR_DATEPICKER_LOCALE = {
101
+ locale: "ko-KR",
102
+ labels: {
103
+ today: "\uC624\uB298",
104
+ ok: "\uD655\uC778",
105
+ calendar: "\uB2EC\uB825",
106
+ toggleCalendar: "\uB2EC\uB825 \uC5F4\uAE30",
107
+ clearDate: "\uB0A0\uC9DC \uC9C0\uC6B0\uAE30",
108
+ previousMonth: "\uC774\uC804 \uB2EC",
109
+ nextMonth: "\uB2E4\uC74C \uB2EC"
110
+ }
111
+ };
112
+
113
+ // src/utils/i18n/datepicker-locales/pt-BR.ts
114
+ var PT_BR_DATEPICKER_LOCALE = {
115
+ locale: "pt-BR",
116
+ labels: {
117
+ today: "Hoje",
118
+ ok: "OK",
119
+ calendar: "Calend\xE1rio",
120
+ toggleCalendar: "Abrir calend\xE1rio",
121
+ clearDate: "Limpar data",
122
+ previousMonth: "M\xEAs anterior",
123
+ nextMonth: "Pr\xF3ximo m\xEAs"
124
+ }
125
+ };
126
+
127
+ // src/utils/i18n/datepicker-locales/th-TH.ts
128
+ var TH_TH_DATEPICKER_LOCALE = {
129
+ locale: "th-TH",
130
+ labels: {
131
+ today: "\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49",
132
+ ok: "\u0E15\u0E01\u0E25\u0E07",
133
+ calendar: "\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
134
+ toggleCalendar: "\u0E40\u0E1B\u0E34\u0E14\u0E1B\u0E0F\u0E34\u0E17\u0E34\u0E19",
135
+ clearDate: "\u0E25\u0E49\u0E32\u0E07\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48",
136
+ previousMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
137
+ nextMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B"
138
+ }
139
+ };
140
+
141
+ // src/utils/i18n/datepicker-locales/vi-VN.ts
142
+ var VI_VN_DATEPICKER_LOCALE = {
143
+ locale: "vi-VN",
144
+ labels: {
145
+ today: "H\xF4m nay",
146
+ ok: "OK",
147
+ calendar: "L\u1ECBch",
148
+ toggleCalendar: "M\u1EDF l\u1ECBch",
149
+ clearDate: "X\xF3a ng\xE0y",
150
+ previousMonth: "Th\xE1ng tr\u01B0\u1EDBc",
151
+ nextMonth: "Th\xE1ng sau"
152
+ }
153
+ };
154
+
155
+ // src/utils/i18n/datepicker-locales/zh-CN.ts
156
+ var ZH_CN_DATEPICKER_LOCALE = {
157
+ locale: "zh-CN",
158
+ labels: {
159
+ today: "\u4ECA\u5929",
160
+ ok: "\u786E\u5B9A",
161
+ calendar: "\u65E5\u5386",
162
+ toggleCalendar: "\u6253\u5F00\u65E5\u5386",
163
+ clearDate: "\u6E05\u9664\u65E5\u671F",
164
+ previousMonth: "\u4E0A\u4E2A\u6708",
165
+ nextMonth: "\u4E0B\u4E2A\u6708"
166
+ }
167
+ };
168
+
169
+ // src/utils/i18n/datepicker-locales/zh-TW.ts
170
+ var ZH_TW_DATEPICKER_LOCALE = {
171
+ locale: "zh-TW",
172
+ labels: {
173
+ today: "\u4ECA\u5929",
174
+ ok: "\u78BA\u5B9A",
175
+ calendar: "\u65E5\u66C6",
176
+ toggleCalendar: "\u958B\u555F\u65E5\u66C6",
177
+ clearDate: "\u6E05\u9664\u65E5\u671F",
178
+ previousMonth: "\u4E0A\u500B\u6708",
179
+ nextMonth: "\u4E0B\u500B\u6708"
180
+ }
181
+ };
182
+
183
+ // src/utils/i18n/datepicker-locales/registry.ts
184
+ var DATEPICKER_LOCALES = [
185
+ EN_US_DATEPICKER_LOCALE,
186
+ ZH_CN_DATEPICKER_LOCALE,
187
+ ZH_TW_DATEPICKER_LOCALE,
188
+ JA_JP_DATEPICKER_LOCALE,
189
+ KO_KR_DATEPICKER_LOCALE,
190
+ TH_TH_DATEPICKER_LOCALE,
191
+ VI_VN_DATEPICKER_LOCALE,
192
+ ID_ID_DATEPICKER_LOCALE,
193
+ ES_ES_DATEPICKER_LOCALE,
194
+ FR_FR_DATEPICKER_LOCALE,
195
+ DE_DE_DATEPICKER_LOCALE,
196
+ PT_BR_DATEPICKER_LOCALE,
197
+ AR_SA_DATEPICKER_LOCALE
198
+ ];
199
+ var DATEPICKER_LOCALE_BY_ID = new Map(
200
+ DATEPICKER_LOCALES.map((preset) => [preset.locale.toLowerCase(), preset])
201
+ );
202
+ var DATEPICKER_LOCALE_BY_LANGUAGE = /* @__PURE__ */ new Map();
203
+ for (const preset of DATEPICKER_LOCALES) {
204
+ const language = preset.locale.split("-")[0]?.toLowerCase();
205
+ if (language && !DATEPICKER_LOCALE_BY_LANGUAGE.has(language)) {
206
+ DATEPICKER_LOCALE_BY_LANGUAGE.set(language, preset);
207
+ }
208
+ }
209
+ function getDatePickerLocalePreset(locale) {
210
+ const lc = (locale ?? "").toLowerCase();
211
+ const language = lc.split("-")[0];
212
+ return DATEPICKER_LOCALE_BY_ID.get(lc) ?? DATEPICKER_LOCALE_BY_LANGUAGE.get(language);
213
+ }
214
+ function getDatePickerLabelsFromLocale(locale, overrides) {
215
+ return {
216
+ ...getDatePickerLocalePreset(locale)?.labels ?? EN_US_DATEPICKER_LOCALE.labels,
217
+ ...overrides ?? {}
218
+ };
219
+ }
220
+ export {
221
+ DATEPICKER_LOCALES,
222
+ getDatePickerLabelsFromLocale,
223
+ getDatePickerLocalePreset
224
+ };
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const TH_TH_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const thTHDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const VI_VN_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const viVNDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const ZH_CN_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const zhCNDatePickerLocale: DatePickerLocalePreset;
@@ -1,4 +1,4 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.js';
1
+ import { D as DatePickerLocalePreset } from '../datepicker-ZdzYUqm5.js';
2
2
 
3
3
  declare const ZH_TW_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
4
  declare const zhTWDatePickerLocale: DatePickerLocalePreset;
@@ -37,17 +37,5 @@ declare const checkSolidIcon20PathD = "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0
37
37
  */
38
38
  declare const successCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z";
39
39
  declare const errorCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z";
40
- /**
41
- * DatePicker icon aliases (re-exports for backward compatibility)
42
- */
43
- declare const CalendarIconPath = "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z";
44
- declare const CloseIconPath = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
45
- declare const ChevronLeftIconPath = "M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z";
46
- declare const ChevronRightIconPath = "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z";
47
- /**
48
- * TimePicker icon aliases (re-exports for backward compatibility)
49
- */
50
- declare const ClockIconPath = "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z";
51
- declare const TimePickerCloseIconPath = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
52
40
 
53
- export { CalendarIconPath, ChevronLeftIconPath, ChevronRightIconPath, ClockIconPath, CloseIconPath, TimePickerCloseIconPath, calendarSolidIcon20PathD, checkSolidIcon20PathD, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clockSolidIcon20PathD, closeSolidIcon20PathD, errorCircleSolidIcon20PathD, icon20ViewBox, successCircleSolidIcon20PathD };
41
+ export { calendarSolidIcon20PathD, checkSolidIcon20PathD, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clockSolidIcon20PathD, closeSolidIcon20PathD, errorCircleSolidIcon20PathD, icon20ViewBox, successCircleSolidIcon20PathD };
@@ -9,19 +9,7 @@ var chevronDownSolidIcon20PathD = "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-
9
9
  var checkSolidIcon20PathD = "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z";
10
10
  var successCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z";
11
11
  var errorCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z";
12
- var CalendarIconPath = calendarSolidIcon20PathD;
13
- var CloseIconPath = closeSolidIcon20PathD;
14
- var ChevronLeftIconPath = chevronLeftSolidIcon20PathD;
15
- var ChevronRightIconPath = chevronRightSolidIcon20PathD;
16
- var ClockIconPath = clockSolidIcon20PathD;
17
- var TimePickerCloseIconPath = closeSolidIcon20PathD;
18
12
  export {
19
- CalendarIconPath,
20
- ChevronLeftIconPath,
21
- ChevronRightIconPath,
22
- ClockIconPath,
23
- CloseIconPath,
24
- TimePickerCloseIconPath,
25
13
  calendarSolidIcon20PathD,
26
14
  checkSolidIcon20PathD,
27
15
  chevronDownSolidIcon20PathD,