@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,300 +0,0 @@
1
- import { D as DatePickerLocalePreset } from './datepicker-DXzS_8l8.cjs';
2
-
3
- /** TimePicker shared types */
4
-
5
- type TimePickerSize = 'sm' | 'md' | 'lg';
6
- type TimeFormat = '12' | '24';
7
- type TimePickerSingleValue = string | null;
8
- type TimePickerRangeValue = [string | null, string | null];
9
- type TimePickerModelValue = TimePickerSingleValue | TimePickerRangeValue;
10
- interface TimePickerLabels {
11
- hour: string;
12
- minute: string;
13
- second: string;
14
- now: string;
15
- ok: string;
16
- start: string;
17
- end: string;
18
- clear: string;
19
- toggle: string;
20
- dialog: string;
21
- selectTime: string;
22
- selectTimeRange: string;
23
- }
24
- interface TimePickerProps {
25
- /**
26
- * Locale used for UI labels (e.g. AM/PM) and display formatting.
27
- * Example: 'zh-CN', 'en-US', or a Tigercat locale object.
28
- */
29
- locale?: string | Partial<TigerLocale>;
30
- /**
31
- * UI labels for i18n.
32
- * When provided, merges with locale-based defaults.
33
- */
34
- labels?: Partial<TimePickerLabels>;
35
- /**
36
- * TimePicker size
37
- * @default 'md'
38
- */
39
- size?: TimePickerSize;
40
- /** Controlled value. Format: 'HH:mm' or 'HH:mm:ss' */
41
- value?: TimePickerModelValue;
42
- /** Uncontrolled default value. Format: 'HH:mm' or 'HH:mm:ss' */
43
- defaultValue?: TimePickerModelValue;
44
- /**
45
- * Enable range selection (start/end).
46
- * When true, value/defaultValue use a tuple: [start, end].
47
- * @default false
48
- */
49
- range?: boolean;
50
- /**
51
- * Time format (12-hour or 24-hour)
52
- * @default '24'
53
- */
54
- format?: TimeFormat;
55
- /**
56
- * Whether to show seconds
57
- * @default false
58
- */
59
- showSeconds?: boolean;
60
- /**
61
- * Hour step
62
- * @default 1
63
- */
64
- hourStep?: number;
65
- /**
66
- * Minute step
67
- * @default 1
68
- */
69
- minuteStep?: number;
70
- /**
71
- * Second step
72
- * @default 1
73
- */
74
- secondStep?: number;
75
- /**
76
- * Placeholder text
77
- * @default 'Select time'
78
- */
79
- placeholder?: string;
80
- /**
81
- * Whether the timepicker is disabled
82
- * @default false
83
- */
84
- disabled?: boolean;
85
- /**
86
- * Whether the timepicker is readonly
87
- * @default false
88
- */
89
- readonly?: boolean;
90
- /**
91
- * Whether the timepicker is required
92
- * @default false
93
- */
94
- required?: boolean;
95
- /**
96
- * Minimum selectable time (HH:mm format)
97
- */
98
- minTime?: string | null;
99
- /**
100
- * Maximum selectable time (HH:mm format)
101
- */
102
- maxTime?: string | null;
103
- /**
104
- * Whether to show the clear button
105
- * @default true
106
- */
107
- clearable?: boolean;
108
- /**
109
- * Input name attribute
110
- */
111
- name?: string;
112
- /**
113
- * Input id attribute
114
- */
115
- id?: string;
116
- }
117
-
118
- type TigerLocaleDirection = 'ltr' | 'rtl';
119
- interface TigerLocaleCommon {
120
- okText?: string;
121
- cancelText?: string;
122
- closeText?: string;
123
- loadingText?: string;
124
- emptyText?: string;
125
- /** Default "no more items" text for infinite-scroll end state */
126
- noMoreText?: string;
127
- /** Default placeholder for in-component search inputs (Select/Tree/Transfer/Cascader…) */
128
- searchPlaceholder?: string;
129
- /** Default label for clear actions */
130
- clearText?: string;
131
- }
132
- interface TigerLocaleModal {
133
- closeAriaLabel?: string;
134
- okText?: string;
135
- cancelText?: string;
136
- }
137
- interface TigerLocaleDrawer {
138
- closeAriaLabel?: string;
139
- }
140
- interface TigerLocaleUpload {
141
- /** Drag area aria-label */
142
- dragAreaAriaLabel?: string;
143
- /** Upload button aria-label (non-drag mode) */
144
- buttonAriaLabel?: string;
145
- /** Main drag-area instruction (emphasized part) */
146
- clickToUploadText?: string;
147
- /** Secondary drag-area instruction */
148
- dragAndDropText?: string;
149
- /** Template: supports {accept} */
150
- acceptInfoText?: string;
151
- /** Template: supports {maxSize} */
152
- maxSizeInfoText?: string;
153
- /** Default non-drag button text */
154
- selectFileText?: string;
155
- /** File list aria-label */
156
- uploadedFilesAriaLabel?: string;
157
- /** Status aria-labels */
158
- successAriaLabel?: string;
159
- errorAriaLabel?: string;
160
- uploadingAriaLabel?: string;
161
- /** Templates: support {fileName} */
162
- removeFileAriaLabel?: string;
163
- previewFileAriaLabel?: string;
164
- }
165
- interface TigerLocalePagination {
166
- /** Total text template: supports {total}, {start}, {end} */
167
- totalText?: string;
168
- /** Items per page text */
169
- itemsPerPageText?: string;
170
- /** Quick jumper label */
171
- jumpToText?: string;
172
- /** Page text (after number) */
173
- pageText?: string;
174
- /** Previous page button aria-label */
175
- prevPageAriaLabel?: string;
176
- /** Next page button aria-label */
177
- nextPageAriaLabel?: string;
178
- /** Page button aria-label template: supports {page} */
179
- pageAriaLabel?: string;
180
- /** Simple pagination page indicator template: supports {current}, {total} */
181
- pageIndicatorText?: string;
182
- }
183
- interface TigerLocaleTable {
184
- emptyText?: string;
185
- loadingText?: string;
186
- expandText?: string;
187
- collapseText?: string;
188
- selectAllText?: string;
189
- /** Template: supports {row} */
190
- selectRowAriaLabel?: string;
191
- /** Template: supports {column} */
192
- sortByText?: string;
193
- clearSortText?: string;
194
- toolbarAriaLabel?: string;
195
- searchPlaceholder?: string;
196
- searchButtonText?: string;
197
- selectedText?: string;
198
- selectedItemsText?: string;
199
- /** Column-settings panel title / trigger label */
200
- columnSettingsText?: string;
201
- /** Aria label for the column-settings trigger button */
202
- columnSettingsAriaLabel?: string;
203
- /** Lock-column button aria-label. Template: supports {column} */
204
- lockColumnAriaLabel?: string;
205
- /** Unlock-column button aria-label. Template: supports {column} */
206
- unlockColumnAriaLabel?: string;
207
- }
208
- interface TigerLocaleFormWizard {
209
- prevText?: string;
210
- nextText?: string;
211
- finishText?: string;
212
- }
213
- type TigerLocaleTimePicker = Partial<TimePickerLabels>;
214
- interface TigerLocaleTaskBoard {
215
- /** Placeholder shown inside an empty column */
216
- emptyColumnText?: string;
217
- /** Label for the add-card button */
218
- addCardText?: string;
219
- /** Template: supports {limit} */
220
- wipLimitText?: string;
221
- /** Aria hint for draggable items */
222
- dragHintText?: string;
223
- /** Aria label for the board root region */
224
- boardAriaLabel?: string;
225
- }
226
- /**
227
- * Built-in form-validation messages.
228
- *
229
- * Used by `validateRule`/`validateField`/`validateForm` to localize the
230
- * default error messages. A per-rule `message` always takes precedence over
231
- * these. Range messages support `{min}` / `{max}` placeholders.
232
- */
233
- interface TigerLocaleFormValidation {
234
- /** Required-field message */
235
- required?: string;
236
- /** Type errors */
237
- typeString?: string;
238
- typeNumber?: string;
239
- typeBoolean?: string;
240
- typeArray?: string;
241
- typeObject?: string;
242
- /** Preset type errors */
243
- email?: string;
244
- phone?: string;
245
- url?: string;
246
- date?: string;
247
- idCard?: string;
248
- /** Range errors — template: supports {min} */
249
- minLength?: string;
250
- /** Template: supports {max} */
251
- maxLength?: string;
252
- /** Template: supports {min} */
253
- minValue?: string;
254
- /** Template: supports {max} */
255
- maxValue?: string;
256
- /** Template: supports {min} */
257
- minItems?: string;
258
- /** Template: supports {max} */
259
- maxItems?: string;
260
- /** Pattern mismatch message */
261
- patternMismatch?: string;
262
- /** Custom validator returned false */
263
- validatorFailed?: string;
264
- /** Custom validator threw */
265
- validatorError?: string;
266
- }
267
- interface TigerLocale {
268
- /** BCP 47 locale identifier, for Intl formatting and direction inference. */
269
- locale?: string;
270
- /** Text/layout direction. RTL locales should set this to `rtl`. */
271
- direction?: TigerLocaleDirection;
272
- common?: TigerLocaleCommon;
273
- modal?: TigerLocaleModal;
274
- drawer?: TigerLocaleDrawer;
275
- upload?: TigerLocaleUpload;
276
- pagination?: TigerLocalePagination;
277
- table?: TigerLocaleTable;
278
- datePicker?: Partial<DatePickerLocalePreset>;
279
- timePicker?: TigerLocaleTimePicker;
280
- formWizard?: TigerLocaleFormWizard;
281
- taskBoard?: TigerLocaleTaskBoard;
282
- formValidation?: TigerLocaleFormValidation;
283
- }
284
- /**
285
- * Flat custom-text overlay for single-language projects that do not need i18n.
286
- *
287
- * Same shape as `TigerLocale` but without the `locale` code / `direction`
288
- * fields — it carries only the component text. Pass it to
289
- * `<ConfigProvider locale={defineText({...})} />` for app-wide custom text, or
290
- * to a component's `labels` prop for a one-off override. No locale data files
291
- * are pulled in, so the bundle stays small.
292
- */
293
- type TigerText = Omit<Partial<TigerLocale>, 'locale' | 'direction'>;
294
- type TigerLocaleLazyModule = Partial<TigerLocale> | {
295
- default?: Partial<TigerLocale>;
296
- } | Record<string, unknown>;
297
- type TigerLocaleLoader = () => PromiseLike<TigerLocaleLazyModule>;
298
- type TigerLocaleInput = Partial<TigerLocale> | PromiseLike<TigerLocaleLazyModule> | TigerLocaleLoader;
299
-
300
- export type { TigerLocale as T, TigerLocaleInput as a, TigerLocaleLazyModule as b, TigerLocaleLoader as c, TigerLocaleDirection as d, TigerLocalePagination as e, TigerLocaleFormWizard as f, TigerLocaleTable as g, TigerLocaleTaskBoard as h, TigerLocaleFormValidation as i, TimePickerLabels as j, TigerText as k, TimeFormat as l, TigerLocaleDrawer as m, TigerLocaleModal as n, TimePickerSize as o, TimePickerSingleValue as p, TimePickerRangeValue as q, TimePickerModelValue as r, TimePickerProps as s, TigerLocaleCommon as t, TigerLocaleUpload as u, TigerLocaleTimePicker as v };
@@ -1,254 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/utils/i18n/locales/ar-SA.ts
21
- var ar_SA_exports = {};
22
- __export(ar_SA_exports, {
23
- arSA: () => arSA,
24
- default: () => ar_SA_default
25
- });
26
- module.exports = __toCommonJS(ar_SA_exports);
27
-
28
- // src/utils/locale-utils.ts
29
- var DEFAULT_TIME_PICKER_LABELS = {
30
- hour: "Hour",
31
- minute: "Min",
32
- second: "Sec",
33
- now: "Now",
34
- ok: "OK",
35
- start: "Start",
36
- end: "End",
37
- clear: "Clear time",
38
- toggle: "Toggle time picker",
39
- dialog: "Time picker",
40
- selectTime: "Select time",
41
- selectTimeRange: "Select time range"
42
- };
43
- var DEFAULT_UPLOAD_LABELS = {
44
- dragAreaAriaLabel: "Upload file by clicking or dragging",
45
- buttonAriaLabel: "Upload file",
46
- clickToUploadText: "Click to upload",
47
- dragAndDropText: "or drag and drop",
48
- acceptInfoText: "Accepted: {accept}",
49
- maxSizeInfoText: "Max size: {maxSize}",
50
- selectFileText: "Select File",
51
- uploadedFilesAriaLabel: "Uploaded files",
52
- successAriaLabel: "Success",
53
- errorAriaLabel: "Error",
54
- uploadingAriaLabel: "Uploading",
55
- removeFileAriaLabel: "Remove {fileName}",
56
- previewFileAriaLabel: "Preview {fileName}"
57
- };
58
-
59
- // src/utils/i18n/locales/en-US.ts
60
- var enUS = {
61
- locale: "en-US",
62
- direction: "ltr",
63
- common: {
64
- okText: "OK",
65
- cancelText: "Cancel",
66
- closeText: "Close",
67
- loadingText: "Loading...",
68
- emptyText: "No data",
69
- noMoreText: "No more data",
70
- searchPlaceholder: "Search",
71
- clearText: "Clear"
72
- },
73
- modal: {
74
- closeAriaLabel: "Close",
75
- okText: "OK",
76
- cancelText: "Cancel"
77
- },
78
- drawer: {
79
- closeAriaLabel: "Close"
80
- },
81
- upload: DEFAULT_UPLOAD_LABELS,
82
- pagination: {
83
- totalText: "Total {total} items",
84
- itemsPerPageText: "/ page",
85
- jumpToText: "Go to",
86
- pageText: "page",
87
- prevPageAriaLabel: "Previous page",
88
- nextPageAriaLabel: "Next page",
89
- pageAriaLabel: "Page {page}",
90
- pageIndicatorText: "Page {current} of {total}"
91
- },
92
- table: {
93
- emptyText: "No data",
94
- loadingText: "Loading",
95
- expandText: "Expand",
96
- collapseText: "Collapse",
97
- selectAllText: "Select all",
98
- selectRowAriaLabel: "Select row {row}",
99
- sortByText: "Sort by {column}",
100
- clearSortText: "Clear sort",
101
- toolbarAriaLabel: "Data table toolbar",
102
- searchPlaceholder: "Search",
103
- searchButtonText: "Search",
104
- selectedText: "Selected",
105
- selectedItemsText: "items",
106
- columnSettingsText: "Column settings",
107
- columnSettingsAriaLabel: "Column settings",
108
- lockColumnAriaLabel: "Lock column {column}",
109
- unlockColumnAriaLabel: "Unlock column {column}"
110
- },
111
- timePicker: DEFAULT_TIME_PICKER_LABELS,
112
- formWizard: {
113
- prevText: "Previous",
114
- nextText: "Next",
115
- finishText: "Finish"
116
- },
117
- taskBoard: {
118
- emptyColumnText: "No tasks",
119
- addCardText: "Add task",
120
- wipLimitText: "WIP limit: {limit}",
121
- dragHintText: "Drag to move",
122
- boardAriaLabel: "Task Board"
123
- },
124
- formValidation: {
125
- required: "This field is required",
126
- typeString: "Value must be a string",
127
- typeNumber: "Value must be a number",
128
- typeBoolean: "Value must be a boolean",
129
- typeArray: "Value must be an array",
130
- typeObject: "Value must be an object",
131
- email: "Please enter a valid email address",
132
- phone: "Please enter a valid phone number",
133
- url: "Please enter a valid URL",
134
- date: "Please enter a valid date",
135
- idCard: "Please enter a valid ID card number",
136
- minLength: "Minimum length is {min} characters",
137
- maxLength: "Maximum length is {max} characters",
138
- minValue: "Minimum value is {min}",
139
- maxValue: "Maximum value is {max}",
140
- minItems: "Minimum {min} items required",
141
- maxItems: "Maximum {max} items allowed",
142
- patternMismatch: "Value does not match the required pattern",
143
- validatorFailed: "Validation failed",
144
- validatorError: "Validation error occurred"
145
- }
146
- };
147
-
148
- // src/utils/i18n/define-locale.ts
149
- function isPlainObject(value) {
150
- if (value === null || typeof value !== "object") return false;
151
- const proto = Object.getPrototypeOf(value);
152
- return proto === Object.prototype || proto === null;
153
- }
154
- function deepMerge(base, override) {
155
- if (!override) return { ...base };
156
- const out = { ...base };
157
- for (const key of Object.keys(override)) {
158
- const next = override[key];
159
- if (next === void 0) continue;
160
- const prev = base[key];
161
- if (isPlainObject(prev) && isPlainObject(next)) {
162
- out[key] = deepMerge(prev, next);
163
- } else {
164
- out[key] = next;
165
- }
166
- }
167
- return out;
168
- }
169
- function defineLocale(overrides = {}) {
170
- return deepMerge(enUS, overrides);
171
- }
172
-
173
- // src/utils/i18n/locales/ar-SA.ts
174
- var arSA = defineLocale({
175
- locale: "ar-SA",
176
- direction: "rtl",
177
- common: {
178
- okText: "\u0645\u0648\u0627\u0641\u0642",
179
- cancelText: "\u0625\u0644\u063A\u0627\u0621",
180
- closeText: "\u0625\u063A\u0644\u0627\u0642",
181
- loadingText: "\u062C\u0627\u0631 \u0627\u0644\u062A\u062D\u0645\u064A\u0644...",
182
- emptyText: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A",
183
- noMoreText: "\u0644\u0627 \u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A"
184
- },
185
- modal: {
186
- closeAriaLabel: "\u0625\u063A\u0644\u0627\u0642",
187
- okText: "\u0645\u0648\u0627\u0641\u0642",
188
- cancelText: "\u0625\u0644\u063A\u0627\u0621"
189
- },
190
- drawer: {
191
- closeAriaLabel: "\u0625\u063A\u0644\u0627\u0642"
192
- },
193
- upload: {
194
- dragAreaAriaLabel: "\u0631\u0641\u0639 \u0645\u0644\u0641 \u0628\u0627\u0644\u0646\u0642\u0631 \u0623\u0648 \u0627\u0644\u0633\u062D\u0628",
195
- buttonAriaLabel: "\u0631\u0641\u0639 \u0645\u0644\u0641",
196
- clickToUploadText: "\u0627\u0646\u0642\u0631 \u0644\u0644\u0631\u0641\u0639",
197
- dragAndDropText: "\u0623\u0648 \u0627\u0633\u062D\u0628 \u0648\u0623\u0641\u0644\u062A",
198
- acceptInfoText: "\u0627\u0644\u0645\u0642\u0628\u0648\u0644: {accept}",
199
- maxSizeInfoText: "\u0627\u0644\u062D\u062C\u0645 \u0627\u0644\u0623\u0642\u0635\u0649: {maxSize}",
200
- selectFileText: "\u0627\u062E\u062A\u0631 \u0645\u0644\u0641\u064B\u0627",
201
- uploadedFilesAriaLabel: "\u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0627\u0644\u0645\u0631\u0641\u0648\u0639\u0629",
202
- successAriaLabel: "\u0646\u062C\u0627\u062D",
203
- errorAriaLabel: "\u062E\u0637\u0623",
204
- uploadingAriaLabel: "\u062C\u0627\u0631 \u0627\u0644\u0631\u0641\u0639",
205
- removeFileAriaLabel: "\u0625\u0632\u0627\u0644\u0629 {fileName}",
206
- previewFileAriaLabel: "\u0645\u0639\u0627\u064A\u0646\u0629 {fileName}"
207
- },
208
- pagination: {
209
- totalText: "\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A {total} \u0639\u0646\u0635\u0631\u064B\u0627",
210
- itemsPerPageText: "/ \u0635\u0641\u062D\u0629",
211
- jumpToText: "\u0627\u0646\u062A\u0642\u0644 \u0625\u0644\u0649",
212
- pageText: "\u0635\u0641\u062D\u0629",
213
- prevPageAriaLabel: "\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",
214
- nextPageAriaLabel: "\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",
215
- pageAriaLabel: "\u0627\u0644\u0635\u0641\u062D\u0629 {page}",
216
- pageIndicatorText: "\u0627\u0644\u0635\u0641\u062D\u0629 {current} \u0645\u0646 {total}"
217
- },
218
- table: {
219
- emptyText: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A",
220
- loadingText: "\u062C\u0627\u0631 \u0627\u0644\u062A\u062D\u0645\u064A\u0644",
221
- expandText: "\u062A\u0648\u0633\u064A\u0639",
222
- collapseText: "\u0637\u064A",
223
- selectAllText: "\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",
224
- selectRowAriaLabel: "\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0635\u0641 {row}",
225
- sortByText: "\u0641\u0631\u0632 \u062D\u0633\u0628 {column}",
226
- clearSortText: "\u0645\u0633\u062D \u0627\u0644\u0641\u0631\u0632",
227
- toolbarAriaLabel: "\u0634\u0631\u064A\u0637 \u0623\u062F\u0648\u0627\u062A \u062C\u062F\u0648\u0644 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",
228
- searchPlaceholder: "\u0628\u062D\u062B",
229
- searchButtonText: "\u0628\u062D\u062B",
230
- selectedText: "\u0645\u062D\u062F\u062F",
231
- selectedItemsText: "\u0639\u0646\u0627\u0635\u0631",
232
- columnSettingsText: "\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0623\u0639\u0645\u062F\u0629",
233
- columnSettingsAriaLabel: "\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0623\u0639\u0645\u062F\u0629",
234
- lockColumnAriaLabel: "\u062A\u062B\u0628\u064A\u062A \u0627\u0644\u0639\u0645\u0648\u062F {column}",
235
- unlockColumnAriaLabel: "\u0625\u0644\u063A\u0627\u0621 \u062A\u062B\u0628\u064A\u062A \u0627\u0644\u0639\u0645\u0648\u062F {column}"
236
- },
237
- formWizard: {
238
- prevText: "\u0627\u0644\u0633\u0627\u0628\u0642",
239
- nextText: "\u0627\u0644\u062A\u0627\u0644\u064A",
240
- finishText: "\u0625\u0646\u0647\u0627\u0621"
241
- },
242
- taskBoard: {
243
- emptyColumnText: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0647\u0627\u0645",
244
- addCardText: "\u0625\u0636\u0627\u0641\u0629 \u0645\u0647\u0645\u0629",
245
- wipLimitText: "\u062D\u062F \u0627\u0644\u0639\u0645\u0644 \u0627\u0644\u062C\u0627\u0631\u064A: {limit}",
246
- dragHintText: "\u0627\u0633\u062D\u0628 \u0644\u0644\u0646\u0642\u0644",
247
- boardAriaLabel: "\u0644\u0648\u062D\u0629 \u0627\u0644\u0645\u0647\u0627\u0645"
248
- }
249
- });
250
- var ar_SA_default = arSA;
251
- // Annotate the CommonJS export names for ESM import in node:
252
- 0 && (module.exports = {
253
- arSA
254
- });
@@ -1,10 +0,0 @@
1
- import { T as TigerLocale } from '../locale-DxwhmqfF.cjs';
2
- import '../datepicker-DXzS_8l8.cjs';
3
-
4
- /**
5
- * Arabic (Saudi Arabia) (ar-SA).
6
- */
7
-
8
- declare const arSA: TigerLocale;
9
-
10
- export { arSA, arSA as default };