@sbuilder/cli 0.9.1 → 0.12.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 (49) hide show
  1. package/README.md +302 -6
  2. package/README.vi.md +296 -7
  3. package/dist/bin/sb.js +190 -6
  4. package/dist/bin/sb.js.map +1 -1
  5. package/dist/src/agentdocs.js +12 -3
  6. package/dist/src/agentdocs.js.map +1 -1
  7. package/dist/src/components.js +574 -0
  8. package/dist/src/components.js.map +1 -0
  9. package/dist/src/doctor.js +520 -0
  10. package/dist/src/doctor.js.map +1 -0
  11. package/dist/src/envtypes.gen.js +1761 -0
  12. package/dist/src/envtypes.gen.js.map +1 -0
  13. package/dist/src/host.js +414 -22
  14. package/dist/src/host.js.map +1 -1
  15. package/dist/src/hostlink.js +161 -0
  16. package/dist/src/hostlink.js.map +1 -0
  17. package/dist/src/login.js +1 -1
  18. package/dist/src/login.js.map +1 -1
  19. package/dist/src/next.js +82 -6
  20. package/dist/src/next.js.map +1 -1
  21. package/dist/src/repo.js +24 -2
  22. package/dist/src/repo.js.map +1 -1
  23. package/dist/src/roottsconfig.js +154 -0
  24. package/dist/src/roottsconfig.js.map +1 -0
  25. package/dist/src/route.js +18 -1
  26. package/dist/src/route.js.map +1 -1
  27. package/dist/src/site.js +621 -71
  28. package/dist/src/site.js.map +1 -1
  29. package/dist/src/sitedev.js +99 -0
  30. package/dist/src/sitedev.js.map +1 -0
  31. package/dist/src/siteinit.js +76 -0
  32. package/dist/src/siteinit.js.map +1 -1
  33. package/dist/src/sitekinds.js +1048 -0
  34. package/dist/src/sitekinds.js.map +1 -0
  35. package/dist/src/sitepaths.js +12 -0
  36. package/dist/src/sitepaths.js.map +1 -0
  37. package/dist/src/sitestatus.js +104 -0
  38. package/dist/src/sitestatus.js.map +1 -0
  39. package/dist/src/source/meta.js +118 -0
  40. package/dist/src/source/meta.js.map +1 -0
  41. package/dist/src/source/parse.js +21 -2
  42. package/dist/src/source/parse.js.map +1 -1
  43. package/dist/src/starter.js +61 -0
  44. package/dist/src/starter.js.map +1 -0
  45. package/dist/src/vercel.js +379 -0
  46. package/dist/src/vercel.js.map +1 -0
  47. package/package.json +9 -1
  48. package/dist/src/export.js +0 -167
  49. package/dist/src/export.js.map +0 -1
@@ -0,0 +1,1761 @@
1
+ // GENERATED by scripts/gen-env-types.mjs from schema/golden/*.json — do not edit.
2
+ // The text of sbuilder-env.d.ts, one line per entry (`sb site types` writes it into a site repo).
3
+ // prettier-ignore
4
+ export const ENV_DTS = [
5
+ "// Store Builder page types. GENERATED by `sb site types` — do not edit; it is rewritten.",
6
+ "// Data only: these types never change what a page file means, they flag a wrong prop and",
7
+ "// complete the right one in VS Code / Cursor. Unknown props stay valid (the format keeps them).",
8
+ "declare namespace Sb {",
9
+ " type Json = null | boolean | number | string | Json[] | { [key: string]: Json };",
10
+ " type Obj = { [key: string]: Json };",
11
+ " /** CSS-ish: property name (or a `--custom-property`) to its value. */",
12
+ " type Style = { [property: string]: Json };",
13
+ " type Config = { [key: string]: Json };",
14
+ " interface StateSlot { style?: Style; config?: Config }",
15
+ " /** What a breakpoint overrides. Put CSS under `style`, not directly in it. */",
16
+ " interface Slot { style?: Style; config?: Config; states?: { [state: string]: StateSlot } }",
17
+ " interface Event { id: string; name: string; action: string; target?: string; payload?: Obj }",
18
+ " interface Binding {",
19
+ " id: string;",
20
+ " source: string;",
21
+ " field: string;",
22
+ " transform?: string;",
23
+ " target?: { type: string; id: string; kind?: string; action?: string };",
24
+ " }",
25
+ " /** A field the stored node LACKS (rather than holds empty). */",
26
+ " type Absent =",
27
+ " | 'style' | 'config' | 'specials' | 'responsive' | 'events' | 'bindings'",
28
+ " | 'data.isCanvas' | 'data.hidden' | 'data.custom' | 'data.nodes' | 'data.parent';",
29
+ " type Children = JSX.Element | JSX.Element[];",
30
+ " /** What every element takes; an element adds its own specials on top. */",
31
+ " interface BaseProps {",
32
+ " /** The node's identity across syncs. A new element without one gets one on push. */",
33
+ " id?: string;",
34
+ " name?: string;",
35
+ " parent?: string | null;",
36
+ " hidden?: boolean;",
37
+ " /** Only printed when it differs from \"has children\". */",
38
+ " canvas?: boolean;",
39
+ " custom?: Obj;",
40
+ " /** Specials whose name the format owns (`name`, `type`, …) go here. */",
41
+ " specials?: Obj;",
42
+ " style?: Style;",
43
+ " config?: Config;",
44
+ " desktop?: Slot;",
45
+ " laptop?: Slot;",
46
+ " tablet?: Slot;",
47
+ " mobile?: Slot;",
48
+ " /** Only for a responsive object with a key that is not a breakpoint. */",
49
+ " responsive?: { [breakpoint: string]: Slot };",
50
+ " states?: { [state: string]: StateSlot };",
51
+ " on?: Event[];",
52
+ " bind?: Binding[];",
53
+ " absent?: Absent[];",
54
+ " /** Anything the format has no slot for, carried verbatim. */",
55
+ " raw?: Obj;",
56
+ " children?: Children;",
57
+ " }",
58
+ " type Specials<T> = T & { [key: string]: Json };",
59
+ "",
60
+ " /** `export const page = {…}` */",
61
+ " interface PageFacts {",
62
+ " id?: string; name?: string; slug?: string; path?: string; type?: string;",
63
+ " isHomepage?: boolean; defaultTemplate?: boolean; settings?: Obj;",
64
+ " }",
65
+ " /** `export const global = {…}` */",
66
+ " interface GlobalFacts { id?: string; name?: string; kind?: string }",
67
+ " /** `export const overlay = {…}` */",
68
+ " interface OverlayFacts {",
69
+ " id?: string; name?: string; kind?: string; allPages?: boolean; pages?: string[];",
70
+ " }",
71
+ " /** design/theme.json */",
72
+ " interface Theme { colors?: { id: string; name: string; value: string }[]; [key: string]: Json | undefined }",
73
+ " /** design/translations/<locale>.json: entity type, entity id, field. */",
74
+ " interface Translation { value: string; source?: 'human' | 'machine'; sourceHash?: string }",
75
+ " type Translations = { [entityType: string]: { [entityId: string]: { [field: string]: Translation } } };",
76
+ "}",
77
+ "",
78
+ "declare namespace JSX {",
79
+ " interface Element { readonly __sbElement: true }",
80
+ " interface ElementChildrenAttribute { children: {} }",
81
+ " interface IntrinsicElements {}",
82
+ "}",
83
+ "",
84
+ "/** Another occurrence of a node already printed (a child listed twice in one parent). */",
85
+ "declare function Ref(props: { id: string }): JSX.Element;",
86
+ "/** An element whose type has no tag of its own. */",
87
+ "declare function Node(",
88
+ " props: Sb.BaseProps & { type: string; [special: string]: unknown },",
89
+ "): JSX.Element;",
90
+ "",
91
+ "/** Accordion (basic) — type \"accordion\" */",
92
+ "interface AccordionProps extends Sb.BaseProps {",
93
+ " [special: string]: unknown;",
94
+ "}",
95
+ "declare function Accordion(props: AccordionProps): JSX.Element;",
96
+ "",
97
+ "/** Accordion content (basic) — type \"accordion-content\" */",
98
+ "interface AccordionContentProps extends Sb.BaseProps {",
99
+ " /** default: \"Accordion\" */",
100
+ " label?: string;",
101
+ " [special: string]: unknown;",
102
+ "}",
103
+ "declare function AccordionContent(props: AccordionContentProps): JSX.Element;",
104
+ "",
105
+ "/** Accordion header (basic) — type \"accordion-item\" */",
106
+ "interface AccordionItemProps extends Sb.BaseProps {",
107
+ " [special: string]: unknown;",
108
+ "}",
109
+ "declare function AccordionItem(props: AccordionItemProps): JSX.Element;",
110
+ "",
111
+ "/** Account Info (advanced) — type \"account-info\" */",
112
+ "interface AccountInfoProps extends Sb.BaseProps {",
113
+ " /** default: \"\" */",
114
+ " loginHref?: string;",
115
+ " /** default: \"Đăng nhập\" */",
116
+ " loginLabel?: string;",
117
+ " /** default: \"Đăng nhập để xem thông tin tài khoản\" */",
118
+ " promptText?: string;",
119
+ " /** default: true */",
120
+ " showPhone?: boolean;",
121
+ " [special: string]: unknown;",
122
+ "}",
123
+ "declare function AccountInfo(props: AccountInfoProps): JSX.Element;",
124
+ "",
125
+ "/** Address Book (advanced) — type \"address-book\" */",
126
+ "interface AddressBookProps extends Sb.BaseProps {",
127
+ " /** default: \"Thêm địa chỉ\" */",
128
+ " addLabel?: string;",
129
+ " /** default: \"Chưa có địa chỉ nào.\" */",
130
+ " emptyText?: string;",
131
+ " /** default: \"Đăng nhập để quản lý địa chỉ của bạn\" */",
132
+ " signedOutText?: string;",
133
+ " /** default: \"Sổ địa chỉ\" */",
134
+ " title?: string;",
135
+ " [special: string]: unknown;",
136
+ "}",
137
+ "declare function AddressBook(props: AddressBookProps): JSX.Element;",
138
+ "",
139
+ "/** Breadcrumb (basic) — type \"breadcrumb\" */",
140
+ "interface BreadcrumbProps extends Sb.BaseProps {",
141
+ " crumbs?: Sb.Json[];",
142
+ " /** default: \"Home\" */",
143
+ " homeLabel?: string;",
144
+ " /** default: \"p\" */",
145
+ " htmlTag?: string;",
146
+ " /** default: \"ArrowRightSFill\" */",
147
+ " icon?: string;",
148
+ " /** default: true */",
149
+ " showCurrent?: boolean;",
150
+ " /** default: \"auto\" */",
151
+ " source?: string;",
152
+ " [special: string]: unknown;",
153
+ "}",
154
+ "declare function Breadcrumb(props: BreadcrumbProps): JSX.Element;",
155
+ "",
156
+ "/** Combo contents (store) — type \"bundle-items\" */",
157
+ "interface BundleItemsProps extends Sb.BaseProps {",
158
+ " /** default: \"Gồm có\" */",
159
+ " heading?: string;",
160
+ " /** default: \" × \" */",
161
+ " quantitySeparator?: string;",
162
+ " /** default: true */",
163
+ " showHeading?: boolean;",
164
+ " [special: string]: unknown;",
165
+ "}",
166
+ "declare function BundleItems(props: BundleItemsProps): JSX.Element;",
167
+ "",
168
+ "/** Button (basic) — type \"button\" */",
169
+ "interface ButtonProps extends Sb.BaseProps {",
170
+ " /** default: \"button-default\" */",
171
+ " stylePreset?: string;",
172
+ " /** default: \"Button\" */",
173
+ " text?: string;",
174
+ " [special: string]: unknown;",
175
+ "}",
176
+ "declare function Button(props: ButtonProps): JSX.Element;",
177
+ "",
178
+ "/** Carousel (media) — type \"carousel\" */",
179
+ "interface CarouselProps extends Sb.BaseProps {",
180
+ " [special: string]: unknown;",
181
+ "}",
182
+ "declare function Carousel(props: CarouselProps): JSX.Element;",
183
+ "",
184
+ "/** Slide (media) — type \"carousel-slide\" */",
185
+ "interface CarouselSlideProps extends Sb.BaseProps {",
186
+ " [special: string]: unknown;",
187
+ "}",
188
+ "declare function CarouselSlide(props: CarouselSlideProps): JSX.Element;",
189
+ "",
190
+ "/** Cart count (store) — type \"cart-count\" */",
191
+ "interface CartCountProps extends Sb.BaseProps {",
192
+ " /** default: true */",
193
+ " hideWhenEmpty?: boolean;",
194
+ " /** default: \"0\" */",
195
+ " placeholder?: string;",
196
+ " [special: string]: unknown;",
197
+ "}",
198
+ "declare function CartCount(props: CartCountProps): JSX.Element;",
199
+ "",
200
+ "/** Cart drawer (basic) — type \"cart-drawer\" */",
201
+ "interface CartDrawerProps extends Sb.BaseProps {",
202
+ " [special: string]: unknown;",
203
+ "}",
204
+ "declare function CartDrawer(props: CartDrawerProps): JSX.Element;",
205
+ "",
206
+ "/** Cart item (basic) — type \"cart-item\" */",
207
+ "interface CartItemProps extends Sb.BaseProps {",
208
+ " [special: string]: unknown;",
209
+ "}",
210
+ "declare function CartItem(props: CartItemProps): JSX.Element;",
211
+ "",
212
+ "/** Cart order (basic) — type \"cart-order\" */",
213
+ "interface CartOrderProps extends Sb.BaseProps {",
214
+ " /** default: \"Your cart is empty\" */",
215
+ " emptyText?: string;",
216
+ " [special: string]: unknown;",
217
+ "}",
218
+ "declare function CartOrder(props: CartOrderProps): JSX.Element;",
219
+ "",
220
+ "/** Cart total (store) — type \"cart-total\" */",
221
+ "interface CartTotalProps extends Sb.BaseProps {",
222
+ " /** default: \"Tổng cộng\" */",
223
+ " label?: string;",
224
+ " /** default: \"total\" */",
225
+ " part?: string;",
226
+ " /** default: \"0 ₫\" */",
227
+ " placeholder?: string;",
228
+ " [special: string]: unknown;",
229
+ "}",
230
+ "declare function CartTotal(props: CartTotalProps): JSX.Element;",
231
+ "",
232
+ "/** Chat widget (basic) — type \"chat-widget\" */",
233
+ "interface ChatWidgetProps extends Sb.BaseProps {",
234
+ " /** default: \"\" */",
235
+ " launcherIcon?: string;",
236
+ " /** default: \"\" */",
237
+ " launcherText?: string;",
238
+ " /** default: \"Trợ lý\" */",
239
+ " title?: string;",
240
+ " [special: string]: unknown;",
241
+ "}",
242
+ "declare function ChatWidget(props: ChatWidgetProps): JSX.Element;",
243
+ "",
244
+ "/** Code component (media) — type \"code-component\" */",
245
+ "interface CodeComponentProps extends Sb.BaseProps {",
246
+ " /** default: \"\" */",
247
+ " component?: string;",
248
+ " /** default: \"\" */",
249
+ " html?: string;",
250
+ " props?: Sb.Obj;",
251
+ " /** default: 1 */",
252
+ " version?: number;",
253
+ " [special: string]: unknown;",
254
+ "}",
255
+ "declare function CodeComponent(props: CodeComponentProps): JSX.Element;",
256
+ "",
257
+ "/** Collection media (dataset) — type \"collection-media\" */",
258
+ "interface CollectionMediaProps extends Sb.BaseProps {",
259
+ " /** default: \"\" */",
260
+ " alt?: string;",
261
+ " /** default: \"\" */",
262
+ " src?: string;",
263
+ " [special: string]: unknown;",
264
+ "}",
265
+ "declare function CollectionMedia(props: CollectionMediaProps): JSX.Element;",
266
+ "",
267
+ "/** Content list (basic) — type \"content-list\" */",
268
+ "interface ContentListProps extends Sb.BaseProps {",
269
+ " [special: string]: unknown;",
270
+ "}",
271
+ "declare function ContentList(props: ContentListProps): JSX.Element;",
272
+ "",
273
+ "/** Content item (basic) — type \"content-list-item\" */",
274
+ "interface ContentListItemProps extends Sb.BaseProps {",
275
+ " [special: string]: unknown;",
276
+ "}",
277
+ "declare function ContentListItem(props: ContentListItemProps): JSX.Element;",
278
+ "",
279
+ "/** Countdown (store) — type \"countdown\" */",
280
+ "interface CountdownProps extends Sb.BaseProps {",
281
+ " /** default: \"Ngày\" */",
282
+ " dayLabel?: string;",
283
+ " /** default: \"\" */",
284
+ " endsAt?: string;",
285
+ " /** default: \"Chương trình đã kết thúc\" */",
286
+ " expiredText?: string;",
287
+ " /** default: \"Giờ\" */",
288
+ " hourLabel?: string;",
289
+ " /** default: \"Phút\" */",
290
+ " minuteLabel?: string;",
291
+ " /** default: \"Giây\" */",
292
+ " secondLabel?: string;",
293
+ " /** default: \"\" */",
294
+ " sourceCode?: string;",
295
+ " /** default: false */",
296
+ " sourceFlashSale?: boolean;",
297
+ " [special: string]: unknown;",
298
+ "}",
299
+ "declare function Countdown(props: CountdownProps): JSX.Element;",
300
+ "",
301
+ "/** Course Syllabus (advanced) — type \"course-outline\" */",
302
+ "interface CourseOutlineProps extends Sb.BaseProps {",
303
+ " /** default: \"\" */",
304
+ " courseId?: string;",
305
+ " /** default: \"Khoá học này chưa có bài nào.\" */",
306
+ " emptyText?: string;",
307
+ " [special: string]: unknown;",
308
+ "}",
309
+ "declare function CourseOutline(props: CourseOutlineProps): JSX.Element;",
310
+ "",
311
+ "/** Course Player (advanced) — type \"course-player\" */",
312
+ "interface CoursePlayerProps extends Sb.BaseProps {",
313
+ " /** default: true */",
314
+ " autoComplete?: boolean;",
315
+ " /** default: \"Bạn đã hoàn thành khoá học và đạt chứng chỉ.\" */",
316
+ " certificateText?: string;",
317
+ " /** default: \"Đánh dấu hoàn thành\" */",
318
+ " completeLabel?: string;",
319
+ " /** default: \"Đã hoàn thành\" */",
320
+ " completedLabel?: string;",
321
+ " /** default: \"\" */",
322
+ " courseId?: string;",
323
+ " /** default: \"Khoá học này chưa có bài nào.\" */",
324
+ " emptyText?: string;",
325
+ " /** default: \"\" */",
326
+ " lockedHref?: string;",
327
+ " /** default: \"Xem khoá học\" */",
328
+ " lockedLabel?: string;",
329
+ " /** default: \"Bạn chưa có quyền học bài này.\" */",
330
+ " lockedText?: string;",
331
+ " /** default: true */",
332
+ " showOutline?: boolean;",
333
+ " [special: string]: unknown;",
334
+ "}",
335
+ "declare function CoursePlayer(props: CoursePlayerProps): JSX.Element;",
336
+ "",
337
+ "/** Currency Switcher (basic) — type \"currency-switcher\" */",
338
+ "interface CurrencySwitcherProps extends Sb.BaseProps {",
339
+ " /** default: \"\" */",
340
+ " payload?: string;",
341
+ " [special: string]: unknown;",
342
+ "}",
343
+ "declare function CurrencySwitcher(props: CurrencySwitcherProps): JSX.Element;",
344
+ "",
345
+ "/** Custom Code (media) — type \"custom-code\" */",
346
+ "interface CustomCodeProps extends Sb.BaseProps {",
347
+ " /** default: \"\" */",
348
+ " code?: string;",
349
+ " [special: string]: unknown;",
350
+ "}",
351
+ "declare function CustomCode(props: CustomCodeProps): JSX.Element;",
352
+ "",
353
+ "/** Product (dataset) — type \"dataset-block\" */",
354
+ "interface DatasetBlockProps extends Sb.BaseProps {",
355
+ " [special: string]: unknown;",
356
+ "}",
357
+ "declare function DatasetBlock(props: DatasetBlockProps): JSX.Element;",
358
+ "",
359
+ "/** Divider (basic) — type \"divider\" */",
360
+ "interface DividerProps extends Sb.BaseProps {",
361
+ " /** default: \"none\" */",
362
+ " contentType?: string;",
363
+ " /** default: \"StarFill\" */",
364
+ " iconName?: string;",
365
+ " /** default: \"OR\" */",
366
+ " label?: string;",
367
+ " /** default: \"✦\" */",
368
+ " symbolChar?: string;",
369
+ " [special: string]: unknown;",
370
+ "}",
371
+ "declare function Divider(props: DividerProps): JSX.Element;",
372
+ "",
373
+ "/** Dropdown (basic) — type \"dropdown\" */",
374
+ "interface DropdownProps extends Sb.BaseProps {",
375
+ " /** default: false */",
376
+ " openOnHover?: boolean;",
377
+ " [special: string]: unknown;",
378
+ "}",
379
+ "declare function Dropdown(props: DropdownProps): JSX.Element;",
380
+ "",
381
+ "/** Dropdown panel (basic) — type \"dropdown-panel\" */",
382
+ "interface DropdownPanelProps extends Sb.BaseProps {",
383
+ " [special: string]: unknown;",
384
+ "}",
385
+ "declare function DropdownPanel(props: DropdownPanelProps): JSX.Element;",
386
+ "",
387
+ "/** Dropdown trigger (basic) — type \"dropdown-trigger\" */",
388
+ "interface DropdownTriggerProps extends Sb.BaseProps {",
389
+ " [special: string]: unknown;",
390
+ "}",
391
+ "declare function DropdownTrigger(props: DropdownTriggerProps): JSX.Element;",
392
+ "",
393
+ "/** Checkbox (input) — type \"filter-checkbox\" */",
394
+ "interface FilterCheckboxProps extends Sb.BaseProps {",
395
+ " /** default: \"\" */",
396
+ " filterAllLabel?: string;",
397
+ " /** default: \"\" */",
398
+ " filterArity?: string;",
399
+ " /** default: \"\" */",
400
+ " filterAxis?: string;",
401
+ " /** default: \"filter\" */",
402
+ " filterBehavior?: string;",
403
+ " filterColors?: Sb.Obj;",
404
+ " filterExcluded?: Sb.Json[];",
405
+ " /** default: \"\" */",
406
+ " filterGroupKey?: string;",
407
+ " /** default: \"nested\" */",
408
+ " filterHierarchy?: string;",
409
+ " /** default: \"any\" */",
410
+ " filterMatch?: string;",
411
+ " /** default: 0 */",
412
+ " filterMaxDepth?: number;",
413
+ " /** default: 0 */",
414
+ " filterMaxValues?: number;",
415
+ " filterRanges?: Sb.Json[];",
416
+ " /** default: false */",
417
+ " filterShowAll?: boolean;",
418
+ " /** default: false */",
419
+ " filterShowCount?: boolean;",
420
+ " /** default: \"category\" */",
421
+ " filterSource?: string;",
422
+ " filterTargets?: Sb.Json[];",
423
+ " /** default: \"all\" */",
424
+ " filterValueMode?: string;",
425
+ " filterValues?: Sb.Json[];",
426
+ " [special: string]: unknown;",
427
+ "}",
428
+ "declare function FilterCheckbox(props: FilterCheckboxProps): JSX.Element;",
429
+ "",
430
+ "/** Color (input) — type \"filter-color\" */",
431
+ "interface FilterColorProps extends Sb.BaseProps {",
432
+ " /** default: \"\" */",
433
+ " filterAllLabel?: string;",
434
+ " /** default: \"\" */",
435
+ " filterArity?: string;",
436
+ " /** default: \"\" */",
437
+ " filterAxis?: string;",
438
+ " /** default: \"filter\" */",
439
+ " filterBehavior?: string;",
440
+ " filterColors?: Sb.Obj;",
441
+ " filterExcluded?: Sb.Json[];",
442
+ " /** default: \"\" */",
443
+ " filterGroupKey?: string;",
444
+ " /** default: \"nested\" */",
445
+ " filterHierarchy?: string;",
446
+ " /** default: \"any\" */",
447
+ " filterMatch?: string;",
448
+ " /** default: 0 */",
449
+ " filterMaxDepth?: number;",
450
+ " /** default: 0 */",
451
+ " filterMaxValues?: number;",
452
+ " filterRanges?: Sb.Json[];",
453
+ " /** default: false */",
454
+ " filterShowAll?: boolean;",
455
+ " /** default: false */",
456
+ " filterShowCount?: boolean;",
457
+ " /** default: \"category\" */",
458
+ " filterSource?: string;",
459
+ " filterTargets?: Sb.Json[];",
460
+ " /** default: \"all\" */",
461
+ " filterValueMode?: string;",
462
+ " filterValues?: Sb.Json[];",
463
+ " [special: string]: unknown;",
464
+ "}",
465
+ "declare function FilterColor(props: FilterColorProps): JSX.Element;",
466
+ "",
467
+ "/** Radio (input) — type \"filter-radio\" */",
468
+ "interface FilterRadioProps extends Sb.BaseProps {",
469
+ " /** default: \"\" */",
470
+ " filterAllLabel?: string;",
471
+ " /** default: \"\" */",
472
+ " filterArity?: string;",
473
+ " /** default: \"\" */",
474
+ " filterAxis?: string;",
475
+ " /** default: \"filter\" */",
476
+ " filterBehavior?: string;",
477
+ " filterColors?: Sb.Obj;",
478
+ " filterExcluded?: Sb.Json[];",
479
+ " /** default: \"\" */",
480
+ " filterGroupKey?: string;",
481
+ " /** default: \"nested\" */",
482
+ " filterHierarchy?: string;",
483
+ " /** default: \"any\" */",
484
+ " filterMatch?: string;",
485
+ " /** default: 0 */",
486
+ " filterMaxDepth?: number;",
487
+ " /** default: 0 */",
488
+ " filterMaxValues?: number;",
489
+ " filterRanges?: Sb.Json[];",
490
+ " /** default: false */",
491
+ " filterShowAll?: boolean;",
492
+ " /** default: false */",
493
+ " filterShowCount?: boolean;",
494
+ " /** default: \"category\" */",
495
+ " filterSource?: string;",
496
+ " filterTargets?: Sb.Json[];",
497
+ " /** default: \"all\" */",
498
+ " filterValueMode?: string;",
499
+ " filterValues?: Sb.Json[];",
500
+ " [special: string]: unknown;",
501
+ "}",
502
+ "declare function FilterRadio(props: FilterRadioProps): JSX.Element;",
503
+ "",
504
+ "/** Slider (input) — type \"filter-slider\" */",
505
+ "interface FilterSliderProps extends Sb.BaseProps {",
506
+ " /** default: \"price\" */",
507
+ " filterSource?: string;",
508
+ " /** default: 0 */",
509
+ " maxCents?: number;",
510
+ " /** default: 0 */",
511
+ " minCents?: number;",
512
+ " [special: string]: unknown;",
513
+ "}",
514
+ "declare function FilterSlider(props: FilterSliderProps): JSX.Element;",
515
+ "",
516
+ "/** Tag (input) — type \"filter-tag\" */",
517
+ "interface FilterTagProps extends Sb.BaseProps {",
518
+ " /** default: \"\" */",
519
+ " filterAllLabel?: string;",
520
+ " /** default: \"\" */",
521
+ " filterArity?: string;",
522
+ " /** default: \"\" */",
523
+ " filterAxis?: string;",
524
+ " /** default: \"filter\" */",
525
+ " filterBehavior?: string;",
526
+ " filterColors?: Sb.Obj;",
527
+ " filterExcluded?: Sb.Json[];",
528
+ " /** default: \"\" */",
529
+ " filterGroupKey?: string;",
530
+ " /** default: \"nested\" */",
531
+ " filterHierarchy?: string;",
532
+ " /** default: \"any\" */",
533
+ " filterMatch?: string;",
534
+ " /** default: 0 */",
535
+ " filterMaxDepth?: number;",
536
+ " /** default: 0 */",
537
+ " filterMaxValues?: number;",
538
+ " filterRanges?: Sb.Json[];",
539
+ " /** default: false */",
540
+ " filterShowAll?: boolean;",
541
+ " /** default: false */",
542
+ " filterShowCount?: boolean;",
543
+ " /** default: \"category\" */",
544
+ " filterSource?: string;",
545
+ " filterTargets?: Sb.Json[];",
546
+ " /** default: \"all\" */",
547
+ " filterValueMode?: string;",
548
+ " filterValues?: Sb.Json[];",
549
+ " [special: string]: unknown;",
550
+ "}",
551
+ "declare function FilterTag(props: FilterTagProps): JSX.Element;",
552
+ "",
553
+ "/** Flash sale price (dataset) — type \"flash-sale-price\" */",
554
+ "interface FlashSalePriceProps extends Sb.BaseProps {",
555
+ " /** default: true */",
556
+ " showPercent?: boolean;",
557
+ " [special: string]: unknown;",
558
+ "}",
559
+ "declare function FlashSalePrice(props: FlashSalePriceProps): JSX.Element;",
560
+ "",
561
+ "/** Flash sale progress (dataset) — type \"flash-sale-progress\" */",
562
+ "interface FlashSaleProgressProps extends Sb.BaseProps {",
563
+ " /** default: \"Sắp cháy hàng\" */",
564
+ " almostText?: string;",
565
+ " /** default: true */",
566
+ " showCountdown?: boolean;",
567
+ " /** default: \"Đã hết suất\" */",
568
+ " soldOutText?: string;",
569
+ " /** default: \"Đã bán {sold}\" */",
570
+ " soldText?: string;",
571
+ " [special: string]: unknown;",
572
+ "}",
573
+ "declare function FlashSaleProgress(props: FlashSaleProgressProps): JSX.Element;",
574
+ "",
575
+ "/** Block (layout) — type \"flex-block\" */",
576
+ "interface FlexBlockProps extends Sb.BaseProps {",
577
+ " [special: string]: unknown;",
578
+ "}",
579
+ "declare function FlexBlock(props: FlexBlockProps): JSX.Element;",
580
+ "",
581
+ "/** Section (layout) — type \"flex-section\" */",
582
+ "interface FlexSectionProps extends Sb.BaseProps {",
583
+ " /** default: \"container-section\" */",
584
+ " stylePreset?: string;",
585
+ " [special: string]: unknown;",
586
+ "}",
587
+ "declare function FlexSection(props: FlexSectionProps): JSX.Element;",
588
+ "",
589
+ "/** Form (advanced) — type \"form\" */",
590
+ "interface FormProps extends Sb.BaseProps {",
591
+ " /** default: \"\" */",
592
+ " formId?: string;",
593
+ " /** default: \"\" */",
594
+ " formRules?: string;",
595
+ " /** default: \"\" */",
596
+ " segmentId?: string;",
597
+ " [special: string]: unknown;",
598
+ "}",
599
+ "declare function Form(props: FormProps): JSX.Element;",
600
+ "",
601
+ "/** Address (form) — type \"form-address\" */",
602
+ "interface FormAddressProps extends Sb.BaseProps {",
603
+ " /** default: \"\" */",
604
+ " addressGroup?: string;",
605
+ " /** default: true */",
606
+ " addressLink?: boolean;",
607
+ " allowedCodes?: Sb.Json[];",
608
+ " /** default: \"\" */",
609
+ " copyFrom?: string;",
610
+ " /** default: \"VN\" */",
611
+ " country?: string;",
612
+ " /** default: \"\" */",
613
+ " description?: string;",
614
+ " /** default: \"Số nhà, tên đường\" */",
615
+ " detailLabel?: string;",
616
+ " /** default: \"Ví dụ: 12 Nguyễn Huệ\" */",
617
+ " detailPlaceholder?: string;",
618
+ " /** default: \"Địa chỉ\" */",
619
+ " label?: string;",
620
+ " /** default: \"\" */",
621
+ " mapTo?: string;",
622
+ " /** default: \"\" */",
623
+ " part?: string;",
624
+ " /** default: \"\" */",
625
+ " placeholder?: string;",
626
+ " /** default: \"\" */",
627
+ " presetCode?: string;",
628
+ " /** default: \"\" */",
629
+ " provinceField?: string;",
630
+ " /** default: \"Tỉnh / Thành phố\" */",
631
+ " provinceLabel?: string;",
632
+ " /** default: \"Chọn tỉnh / thành phố\" */",
633
+ " provincePlaceholder?: string;",
634
+ " /** default: false */",
635
+ " required?: boolean;",
636
+ " /** default: true */",
637
+ " sameDefault?: boolean;",
638
+ " /** default: true */",
639
+ " showDetail?: boolean;",
640
+ " /** default: true */",
641
+ " showLabel?: boolean;",
642
+ " /** default: \"Phường / Xã\" */",
643
+ " wardLabel?: string;",
644
+ " /** default: \"Chọn phường / xã\" */",
645
+ " wardPlaceholder?: string;",
646
+ " specials?: Sb.Specials<{ name?: string }>;",
647
+ " [special: string]: unknown;",
648
+ "}",
649
+ "declare function FormAddress(props: FormAddressProps): JSX.Element;",
650
+ "",
651
+ "/** Calendar (form) — type \"form-calendar\" */",
652
+ "interface FormCalendarProps extends Sb.BaseProps {",
653
+ " /** default: \"all\" */",
654
+ " acceptedDates?: string;",
655
+ " /** default: \"1,2,3,4,5,6,7\" */",
656
+ " availableDays?: string;",
657
+ " /** default: \"unset\" */",
658
+ " defaultMode?: string;",
659
+ " /** default: \"\" */",
660
+ " description?: string;",
661
+ " /** default: \"\" */",
662
+ " iconName?: string;",
663
+ " /** default: \"Label\" */",
664
+ " label?: string;",
665
+ " /** default: \"\" */",
666
+ " mapTo?: string;",
667
+ " /** default: \"native\" */",
668
+ " picker?: string;",
669
+ " /** default: false */",
670
+ " required?: boolean;",
671
+ " /** default: false */",
672
+ " showIcon?: boolean;",
673
+ " /** default: true */",
674
+ " showLabel?: boolean;",
675
+ " /** default: \"\" */",
676
+ " specificDate?: string;",
677
+ " specials?: Sb.Specials<{ name?: string }>;",
678
+ " [special: string]: unknown;",
679
+ "}",
680
+ "declare function FormCalendar(props: FormCalendarProps): JSX.Element;",
681
+ "",
682
+ "/** Checkbox (form) — type \"form-checkbox\" */",
683
+ "interface FormCheckboxProps extends Sb.BaseProps {",
684
+ " /** default: \"\" */",
685
+ " defaultValue?: string;",
686
+ " /** default: \"\" */",
687
+ " description?: string;",
688
+ " /** default: \"Label\" */",
689
+ " label?: string;",
690
+ " /** default: \"\" */",
691
+ " mapTo?: string;",
692
+ " options?: Sb.Json[];",
693
+ " /** default: false */",
694
+ " required?: boolean;",
695
+ " /** default: true */",
696
+ " showLabel?: boolean;",
697
+ " specials?: Sb.Specials<{ name?: string }>;",
698
+ " [special: string]: unknown;",
699
+ "}",
700
+ "declare function FormCheckbox(props: FormCheckboxProps): JSX.Element;",
701
+ "",
702
+ "/** Date (form) — type \"form-date\" */",
703
+ "interface FormDateProps extends Sb.BaseProps {",
704
+ " /** default: \"Ngày\" */",
705
+ " dayLabel?: string;",
706
+ " /** default: \"Ngày\" */",
707
+ " dayPlaceholder?: string;",
708
+ " /** default: \"\" */",
709
+ " description?: string;",
710
+ " /** default: \"day-month-year\" */",
711
+ " format?: string;",
712
+ " /** default: \"Label\" */",
713
+ " label?: string;",
714
+ " /** default: \"\" */",
715
+ " mapTo?: string;",
716
+ " /** default: \"Tháng\" */",
717
+ " monthLabel?: string;",
718
+ " /** default: \"Tháng\" */",
719
+ " monthPlaceholder?: string;",
720
+ " /** default: false */",
721
+ " required?: boolean;",
722
+ " /** default: true */",
723
+ " showLabel?: boolean;",
724
+ " /** default: true */",
725
+ " showPlaceholder?: boolean;",
726
+ " /** default: \"Giờ\" */",
727
+ " timeLabel?: string;",
728
+ " /** default: \"Năm\" */",
729
+ " yearLabel?: string;",
730
+ " /** default: \"Năm\" */",
731
+ " yearPlaceholder?: string;",
732
+ " specials?: Sb.Specials<{ name?: string }>;",
733
+ " [special: string]: unknown;",
734
+ "}",
735
+ "declare function FormDate(props: FormDateProps): JSX.Element;",
736
+ "",
737
+ "/** Discount code (form) — type \"form-discount-code\" */",
738
+ "interface FormDiscountCodeProps extends Sb.BaseProps {",
739
+ " /** default: \"Đã áp dụng mã giảm giá.\" */",
740
+ " appliedText?: string;",
741
+ " /** default: \"Áp dụng\" */",
742
+ " buttonLabel?: string;",
743
+ " /** default: \"Mã này chưa dùng được cho đơn hàng của bạn.\" */",
744
+ " codeNotUsableText?: string;",
745
+ " /** default: \"\" */",
746
+ " description?: string;",
747
+ " /** default: \"Mã giảm giá\" */",
748
+ " label?: string;",
749
+ " /** default: \"order.discountCode\" */",
750
+ " mapTo?: string;",
751
+ " /** default: \"Nhập mã giảm giá\" */",
752
+ " placeholder?: string;",
753
+ " /** default: \"Chưa kiểm tra được mã. Vui lòng thử lại.\" */",
754
+ " quoteFailedText?: string;",
755
+ " /** default: false */",
756
+ " required?: boolean;",
757
+ " /** default: true */",
758
+ " showLabel?: boolean;",
759
+ " /** default: \"Mã giảm giá không tồn tại.\" */",
760
+ " unknownCodeText?: string;",
761
+ " specials?: Sb.Specials<{ name?: string }>;",
762
+ " [special: string]: unknown;",
763
+ "}",
764
+ "declare function FormDiscountCode(props: FormDiscountCodeProps): JSX.Element;",
765
+ "",
766
+ "/** Estimate (form) — type \"form-estimate\" */",
767
+ "interface FormEstimateProps extends Sb.BaseProps {",
768
+ " /** default: \"Giá dự kiến, chưa phải giá giữ chỗ.\" */",
769
+ " description?: string;",
770
+ " estimateRules?: Sb.Json[];",
771
+ " estimateTerms?: Sb.Json[];",
772
+ " /** default: \"Tạm tính\" */",
773
+ " label?: string;",
774
+ " /** default: \"Chọn phòng và ngày để xem giá dự kiến.\" */",
775
+ " placeholder?: string;",
776
+ " specials?: Sb.Specials<{ name?: string }>;",
777
+ " [special: string]: unknown;",
778
+ "}",
779
+ "declare function FormEstimate(props: FormEstimateProps): JSX.Element;",
780
+ "",
781
+ "/** Upload file (form) — type \"form-file\" */",
782
+ "interface FormFileProps extends Sb.BaseProps {",
783
+ " /** default: false */",
784
+ " allowMultiple?: boolean;",
785
+ " /** default: \"Choose file\" */",
786
+ " buttonLabel?: string;",
787
+ " /** default: \"\" */",
788
+ " description?: string;",
789
+ " /** default: \"image\" */",
790
+ " fileFormat?: string;",
791
+ " /** default: 3 */",
792
+ " fileLimit?: number;",
793
+ " /** default: \"\" */",
794
+ " hintText?: string;",
795
+ " /** default: \"Upload file\" */",
796
+ " label?: string;",
797
+ " /** default: \"\" */",
798
+ " placeholder?: string;",
799
+ " /** default: false */",
800
+ " required?: boolean;",
801
+ " /** default: true */",
802
+ " showLabel?: boolean;",
803
+ " specials?: Sb.Specials<{ name?: string }>;",
804
+ " [special: string]: unknown;",
805
+ "}",
806
+ "declare function FormFile(props: FormFileProps): JSX.Element;",
807
+ "",
808
+ "/** Link (form) — type \"form-link\" */",
809
+ "interface FormLinkProps extends Sb.BaseProps {",
810
+ " /** default: \"\" */",
811
+ " href?: string;",
812
+ " /** default: \"register\" */",
813
+ " linkTarget?: string;",
814
+ " /** default: \"Đăng ký ngay\" */",
815
+ " linkText?: string;",
816
+ " /** default: \"Chưa có tài khoản?\" */",
817
+ " text?: string;",
818
+ " [special: string]: unknown;",
819
+ "}",
820
+ "declare function FormLink(props: FormLinkProps): JSX.Element;",
821
+ "",
822
+ "/** Number input (form) — type \"form-number\" */",
823
+ "interface FormNumberProps extends Sb.BaseProps {",
824
+ " /** default: \"\" */",
825
+ " description?: string;",
826
+ " /** default: false */",
827
+ " hideOnPage?: boolean;",
828
+ " /** default: \"\" */",
829
+ " iconName?: string;",
830
+ " /** default: \"Label\" */",
831
+ " label?: string;",
832
+ " /** default: \"\" */",
833
+ " mapTo?: string;",
834
+ " /** default: 500 */",
835
+ " maxValue?: number;",
836
+ " /** default: 1 */",
837
+ " minValue?: number;",
838
+ " /** default: \"\" */",
839
+ " placeholder?: string;",
840
+ " /** default: \"\" */",
841
+ " prefillValue?: string;",
842
+ " /** default: false */",
843
+ " required?: boolean;",
844
+ " /** default: false */",
845
+ " setRange?: boolean;",
846
+ " /** default: false */",
847
+ " showIcon?: boolean;",
848
+ " /** default: true */",
849
+ " showLabel?: boolean;",
850
+ " /** default: 0 */",
851
+ " step?: number;",
852
+ " /** default: \"\" */",
853
+ " urlParam?: string;",
854
+ " specials?: Sb.Specials<{ name?: string }>;",
855
+ " [special: string]: unknown;",
856
+ "}",
857
+ "declare function FormNumber(props: FormNumberProps): JSX.Element;",
858
+ "",
859
+ "/** Paragraph (form) — type \"form-paragraph\" */",
860
+ "interface FormParagraphProps extends Sb.BaseProps {",
861
+ " /** default: \"Nội dung mô tả.\" */",
862
+ " text?: string;",
863
+ " [special: string]: unknown;",
864
+ "}",
865
+ "declare function FormParagraph(props: FormParagraphProps): JSX.Element;",
866
+ "",
867
+ "/** Payment method (form) — type \"form-payment\" */",
868
+ "interface FormPaymentProps extends Sb.BaseProps {",
869
+ " /** default: \"\" */",
870
+ " defaultValue?: string;",
871
+ " /** default: \"\" */",
872
+ " description?: string;",
873
+ " /** default: \"Phương thức thanh toán\" */",
874
+ " label?: string;",
875
+ " /** default: \"auto\" */",
876
+ " logoShape?: string;",
877
+ " /** default: \"order.paymentMethod\" */",
878
+ " mapTo?: string;",
879
+ " methods?: Sb.Json[];",
880
+ " /** default: true */",
881
+ " required?: boolean;",
882
+ " /** default: true */",
883
+ " showLabel?: boolean;",
884
+ " /** default: true */",
885
+ " showLogos?: boolean;",
886
+ " /** default: true */",
887
+ " showMarker?: boolean;",
888
+ " specials?: Sb.Specials<{ name?: string }>;",
889
+ " [special: string]: unknown;",
890
+ "}",
891
+ "declare function FormPayment(props: FormPaymentProps): JSX.Element;",
892
+ "",
893
+ "/** Radio (form) — type \"form-radio\" */",
894
+ "interface FormRadioProps extends Sb.BaseProps {",
895
+ " /** default: \"\" */",
896
+ " defaultValue?: string;",
897
+ " /** default: \"\" */",
898
+ " description?: string;",
899
+ " /** default: \"Label\" */",
900
+ " label?: string;",
901
+ " /** default: \"\" */",
902
+ " mapTo?: string;",
903
+ " options?: Sb.Json[];",
904
+ " /** default: false */",
905
+ " required?: boolean;",
906
+ " /** default: true */",
907
+ " showLabel?: boolean;",
908
+ " specials?: Sb.Specials<{ name?: string }>;",
909
+ " [special: string]: unknown;",
910
+ "}",
911
+ "declare function FormRadio(props: FormRadioProps): JSX.Element;",
912
+ "",
913
+ "/** Segment (form) — type \"form-segment\" */",
914
+ "interface FormSegmentProps extends Sb.BaseProps {",
915
+ " [special: string]: unknown;",
916
+ "}",
917
+ "declare function FormSegment(props: FormSegmentProps): JSX.Element;",
918
+ "",
919
+ "/** Select (form) — type \"form-select\" */",
920
+ "interface FormSelectProps extends Sb.BaseProps {",
921
+ " /** default: \"\" */",
922
+ " defaultValue?: string;",
923
+ " /** default: \"\" */",
924
+ " description?: string;",
925
+ " /** default: \"Label\" */",
926
+ " label?: string;",
927
+ " /** default: \"\" */",
928
+ " mapTo?: string;",
929
+ " options?: Sb.Json[];",
930
+ " /** default: \"Chọn một mục\" */",
931
+ " placeholder?: string;",
932
+ " /** default: false */",
933
+ " required?: boolean;",
934
+ " /** default: true */",
935
+ " showLabel?: boolean;",
936
+ " /** default: \"\" */",
937
+ " urlParam?: string;",
938
+ " specials?: Sb.Specials<{ name?: string }>;",
939
+ " [special: string]: unknown;",
940
+ "}",
941
+ "declare function FormSelect(props: FormSelectProps): JSX.Element;",
942
+ "",
943
+ "/** Step button (form) — type \"form-step-button\" */",
944
+ "interface FormStepButtonProps extends Sb.BaseProps {",
945
+ " /** default: \"next\" */",
946
+ " dir?: string;",
947
+ " /** default: \"Tiếp tục\" */",
948
+ " text?: string;",
949
+ " [special: string]: unknown;",
950
+ "}",
951
+ "declare function FormStepButton(props: FormStepButtonProps): JSX.Element;",
952
+ "",
953
+ "/** Step counter (form) — type \"form-step-count\" */",
954
+ "interface FormStepCountProps extends Sb.BaseProps {",
955
+ " [special: string]: unknown;",
956
+ "}",
957
+ "declare function FormStepCount(props: FormStepCountProps): JSX.Element;",
958
+ "",
959
+ "/** Step navigation (form) — type \"form-step-nav\" */",
960
+ "interface FormStepNavProps extends Sb.BaseProps {",
961
+ " /** default: \"Tiếp tục\" */",
962
+ " nextText?: string;",
963
+ " /** default: true */",
964
+ " parts?: boolean;",
965
+ " /** default: \"Quay lại\" */",
966
+ " prevText?: string;",
967
+ " /** default: true */",
968
+ " showCount?: boolean;",
969
+ " [special: string]: unknown;",
970
+ "}",
971
+ "declare function FormStepNav(props: FormStepNavProps): JSX.Element;",
972
+ "",
973
+ "/** Submit (form) — type \"form-submit\" */",
974
+ "interface FormSubmitProps extends Sb.BaseProps {",
975
+ " /** default: \"Đang gửi…\" */",
976
+ " submittingText?: string;",
977
+ " /** default: \"Gửi\" */",
978
+ " text?: string;",
979
+ " [special: string]: unknown;",
980
+ "}",
981
+ "declare function FormSubmit(props: FormSubmitProps): JSX.Element;",
982
+ "",
983
+ "/** Text input (form) — type \"form-text\" */",
984
+ "interface FormTextProps extends Sb.BaseProps {",
985
+ " /** default: \"\" */",
986
+ " description?: string;",
987
+ " /** default: false */",
988
+ " hideOnPage?: boolean;",
989
+ " /** default: \"\" */",
990
+ " iconName?: string;",
991
+ " /** default: \"text\" */",
992
+ " inputType?: string;",
993
+ " /** default: \"Label\" */",
994
+ " label?: string;",
995
+ " /** default: false */",
996
+ " limitChars?: boolean;",
997
+ " /** default: \"\" */",
998
+ " mapTo?: string;",
999
+ " /** default: 500 */",
1000
+ " maxChars?: number;",
1001
+ " /** default: 0 */",
1002
+ " minChars?: number;",
1003
+ " /** default: false */",
1004
+ " multiline?: boolean;",
1005
+ " /** default: \"\" */",
1006
+ " pattern?: string;",
1007
+ " patternCountries?: Sb.Json[];",
1008
+ " /** default: \"\" */",
1009
+ " patternPreset?: string;",
1010
+ " /** default: \"\" */",
1011
+ " placeholder?: string;",
1012
+ " /** default: \"\" */",
1013
+ " prefillValue?: string;",
1014
+ " /** default: false */",
1015
+ " required?: boolean;",
1016
+ " /** default: false */",
1017
+ " showIcon?: boolean;",
1018
+ " /** default: true */",
1019
+ " showLabel?: boolean;",
1020
+ " /** default: \"\" */",
1021
+ " urlParam?: string;",
1022
+ " specials?: Sb.Specials<{ name?: string }>;",
1023
+ " [special: string]: unknown;",
1024
+ "}",
1025
+ "declare function FormText(props: FormTextProps): JSX.Element;",
1026
+ "",
1027
+ "/** Time slot (form) — type \"form-timeslot\" */",
1028
+ "interface FormTimeslotProps extends Sb.BaseProps {",
1029
+ " /** default: \"\" */",
1030
+ " breakEnd?: string;",
1031
+ " /** default: \"\" */",
1032
+ " breakStart?: string;",
1033
+ " /** default: \"\" */",
1034
+ " defaultValue?: string;",
1035
+ " /** default: \"\" */",
1036
+ " description?: string;",
1037
+ " /** default: \"18:00\" */",
1038
+ " end?: string;",
1039
+ " /** default: \"Giờ hẹn\" */",
1040
+ " label?: string;",
1041
+ " /** default: \"\" */",
1042
+ " mapTo?: string;",
1043
+ " /** default: true */",
1044
+ " required?: boolean;",
1045
+ " /** default: true */",
1046
+ " showLabel?: boolean;",
1047
+ " /** default: false */",
1048
+ " showMarker?: boolean;",
1049
+ " /** default: \"09:00\" */",
1050
+ " start?: string;",
1051
+ " /** default: 60 */",
1052
+ " step?: number;",
1053
+ " specials?: Sb.Specials<{ name?: string }>;",
1054
+ " [special: string]: unknown;",
1055
+ "}",
1056
+ "declare function FormTimeslot(props: FormTimeslotProps): JSX.Element;",
1057
+ "",
1058
+ "/** Title (form) — type \"form-title\" */",
1059
+ "interface FormTitleProps extends Sb.BaseProps {",
1060
+ " /** default: \"h3\" */",
1061
+ " htmlTag?: string;",
1062
+ " /** default: \"Tiêu đề\" */",
1063
+ " text?: string;",
1064
+ " [special: string]: unknown;",
1065
+ "}",
1066
+ "declare function FormTitle(props: FormTitleProps): JSX.Element;",
1067
+ "",
1068
+ "/** Free shipping bar (store) — type \"free-ship-bar\" */",
1069
+ "interface FreeShipBarProps extends Sb.BaseProps {",
1070
+ " /** default: \"Bạn đã được miễn phí vận chuyển!\" */",
1071
+ " reachedText?: string;",
1072
+ " /** default: \"Mua thêm {amount} để được miễn phí vận chuyển\" */",
1073
+ " remainingText?: string;",
1074
+ " /** default: 50000000 */",
1075
+ " thresholdCents?: number;",
1076
+ " [special: string]: unknown;",
1077
+ "}",
1078
+ "declare function FreeShipBar(props: FreeShipBarProps): JSX.Element;",
1079
+ "",
1080
+ "/** Google Map (media) — type \"google-map\" */",
1081
+ "interface GoogleMapProps extends Sb.BaseProps {",
1082
+ " /** default: \"\" */",
1083
+ " location?: string;",
1084
+ " /** default: \"location\" */",
1085
+ " mapType?: string;",
1086
+ " /** default: \"\" */",
1087
+ " src?: string;",
1088
+ " [special: string]: unknown;",
1089
+ "}",
1090
+ "declare function GoogleMap(props: GoogleMapProps): JSX.Element;",
1091
+ "",
1092
+ "/** Icon menu (basic) — type \"hamburger-menu\" */",
1093
+ "interface HamburgerMenuProps extends Sb.BaseProps {",
1094
+ " [special: string]: unknown;",
1095
+ "}",
1096
+ "declare function HamburgerMenu(props: HamburgerMenuProps): JSX.Element;",
1097
+ "",
1098
+ "/** Heading (basic) — type \"heading\" */",
1099
+ "interface HeadingProps extends Sb.BaseProps {",
1100
+ " /** default: \"h2\" */",
1101
+ " htmlTag?: string;",
1102
+ " /** default: \"heading-default\" */",
1103
+ " stylePreset?: string;",
1104
+ " /** default: \"Heading\" */",
1105
+ " text?: string;",
1106
+ " [special: string]: unknown;",
1107
+ "}",
1108
+ "declare function Heading(props: HeadingProps): JSX.Element;",
1109
+ "",
1110
+ "/** Icon (basic) — type \"icon\" */",
1111
+ "interface IconProps extends Sb.BaseProps {",
1112
+ " /** default: \"icon-default\" */",
1113
+ " stylePreset?: string;",
1114
+ " specials?: Sb.Specials<{ name?: string }>;",
1115
+ " [special: string]: unknown;",
1116
+ "}",
1117
+ "declare function Icon(props: IconProps): JSX.Element;",
1118
+ "",
1119
+ "/** Image (media) — type \"image\" */",
1120
+ "interface ImageProps extends Sb.BaseProps {",
1121
+ " /** default: \"\" */",
1122
+ " alt?: string;",
1123
+ " /** default: \"\" */",
1124
+ " src?: string;",
1125
+ " /** default: \"image-default\" */",
1126
+ " stylePreset?: string;",
1127
+ " [special: string]: unknown;",
1128
+ "}",
1129
+ "declare function Image(props: ImageProps): JSX.Element;",
1130
+ "",
1131
+ "/** Image Compare (media) — type \"image-comparison\" */",
1132
+ "interface ImageComparisonProps extends Sb.BaseProps {",
1133
+ " /** default: \"\" */",
1134
+ " afterAlt?: string;",
1135
+ " /** default: \"\" */",
1136
+ " afterSrc?: string;",
1137
+ " /** default: \"\" */",
1138
+ " beforeAlt?: string;",
1139
+ " /** default: \"\" */",
1140
+ " beforeSrc?: string;",
1141
+ " [special: string]: unknown;",
1142
+ "}",
1143
+ "declare function ImageComparison(props: ImageComparisonProps): JSX.Element;",
1144
+ "",
1145
+ "/** Image marquee (media) — type \"image-marquee\" */",
1146
+ "interface ImageMarqueeProps extends Sb.BaseProps {",
1147
+ " [special: string]: unknown;",
1148
+ "}",
1149
+ "declare function ImageMarquee(props: ImageMarqueeProps): JSX.Element;",
1150
+ "",
1151
+ "/** List (basic) — type \"list\" */",
1152
+ "interface ListProps extends Sb.BaseProps {",
1153
+ " [special: string]: unknown;",
1154
+ "}",
1155
+ "declare function List(props: ListProps): JSX.Element;",
1156
+ "",
1157
+ "/** Product list (dataset) — type \"list-dataset\" */",
1158
+ "interface ListDatasetProps extends Sb.BaseProps {",
1159
+ " collectionIds?: Sb.Json[];",
1160
+ " filterable?: boolean;",
1161
+ " /** default: \"Load more\" */",
1162
+ " loadMoreLabel?: string;",
1163
+ " searchable?: boolean;",
1164
+ " [special: string]: unknown;",
1165
+ "}",
1166
+ "declare function ListDataset(props: ListDatasetProps): JSX.Element;",
1167
+ "",
1168
+ "/** Empty state (basic) — type \"list-empty\" */",
1169
+ "interface ListEmptyProps extends Sb.BaseProps {",
1170
+ " [special: string]: unknown;",
1171
+ "}",
1172
+ "declare function ListEmpty(props: ListEmptyProps): JSX.Element;",
1173
+ "",
1174
+ "/** List item (basic) — type \"list-item\" */",
1175
+ "interface ListItemProps extends Sb.BaseProps {",
1176
+ " /** default: \"StarFill\" */",
1177
+ " icon?: string;",
1178
+ " /** default: \"List item\" */",
1179
+ " text?: string;",
1180
+ " [special: string]: unknown;",
1181
+ "}",
1182
+ "declare function ListItem(props: ListItemProps): JSX.Element;",
1183
+ "",
1184
+ "/** Loading state (basic) — type \"list-loading\" */",
1185
+ "interface ListLoadingProps extends Sb.BaseProps {",
1186
+ " [special: string]: unknown;",
1187
+ "}",
1188
+ "declare function ListLoading(props: ListLoadingProps): JSX.Element;",
1189
+ "",
1190
+ "/** Language Switcher (basic) — type \"locale-switcher\" */",
1191
+ "interface LocaleSwitcherProps extends Sb.BaseProps {",
1192
+ " /** default: \"code\" */",
1193
+ " labelMode?: string;",
1194
+ " /** default: \"Language\" */",
1195
+ " panelTitle?: string;",
1196
+ " /** default: \"\" */",
1197
+ " payload?: string;",
1198
+ " /** default: false */",
1199
+ " showFlag?: boolean;",
1200
+ " /** default: \"inline\" */",
1201
+ " variant?: string;",
1202
+ " [special: string]: unknown;",
1203
+ "}",
1204
+ "declare function LocaleSwitcher(props: LocaleSwitcherProps): JSX.Element;",
1205
+ "",
1206
+ "/** Product media (media) — type \"media-dataset\" */",
1207
+ "interface MediaDatasetProps extends Sb.BaseProps {",
1208
+ " [special: string]: unknown;",
1209
+ "}",
1210
+ "declare function MediaDataset(props: MediaDatasetProps): JSX.Element;",
1211
+ "",
1212
+ "/** Member Field (advanced) — type \"member-field\" */",
1213
+ "interface MemberFieldProps extends Sb.BaseProps {",
1214
+ " /** default: \"name\" */",
1215
+ " field?: string;",
1216
+ " /** default: \"Quý khách\" */",
1217
+ " guestText?: string;",
1218
+ " /** default: \"\" */",
1219
+ " prefix?: string;",
1220
+ " /** default: \"\" */",
1221
+ " suffix?: string;",
1222
+ " [special: string]: unknown;",
1223
+ "}",
1224
+ "declare function MemberField(props: MemberFieldProps): JSX.Element;",
1225
+ "",
1226
+ "/** Member Block (advanced) — type \"member-gate\" */",
1227
+ "interface MemberGateProps extends Sb.BaseProps {",
1228
+ " /** default: \"members\" */",
1229
+ " audience?: string;",
1230
+ " [special: string]: unknown;",
1231
+ "}",
1232
+ "declare function MemberGate(props: MemberGateProps): JSX.Element;",
1233
+ "",
1234
+ "/** Menu (basic) — type \"menu\" */",
1235
+ "interface MenuProps extends Sb.BaseProps {",
1236
+ " /** default: \"\" */",
1237
+ " menuId?: string;",
1238
+ " menuItems?: Sb.Json[];",
1239
+ " [special: string]: unknown;",
1240
+ "}",
1241
+ "declare function Menu(props: MenuProps): JSX.Element;",
1242
+ "",
1243
+ "/** Menu drawer (basic) — type \"menu-drawer\" */",
1244
+ "interface MenuDrawerProps extends Sb.BaseProps {",
1245
+ " [special: string]: unknown;",
1246
+ "}",
1247
+ "declare function MenuDrawer(props: MenuDrawerProps): JSX.Element;",
1248
+ "",
1249
+ "/** Dropdown menu (basic) — type \"menu-dropdown\" */",
1250
+ "interface MenuDropdownProps extends Sb.BaseProps {",
1251
+ " [special: string]: unknown;",
1252
+ "}",
1253
+ "declare function MenuDropdown(props: MenuDropdownProps): JSX.Element;",
1254
+ "",
1255
+ "/** Menu item (basic) — type \"menu-item\" */",
1256
+ "interface MenuItemProps extends Sb.BaseProps {",
1257
+ " [special: string]: unknown;",
1258
+ "}",
1259
+ "declare function MenuItem(props: MenuItemProps): JSX.Element;",
1260
+ "",
1261
+ "/** Dropdown panel (basic) — type \"menu-panel\" */",
1262
+ "interface MenuPanelProps extends Sb.BaseProps {",
1263
+ " [special: string]: unknown;",
1264
+ "}",
1265
+ "declare function MenuPanel(props: MenuPanelProps): JSX.Element;",
1266
+ "",
1267
+ "/** My Courses (advanced) — type \"my-courses\" */",
1268
+ "interface MyCoursesProps extends Sb.BaseProps {",
1269
+ " /** default: \"Tiếp tục học\" */",
1270
+ " continueText?: string;",
1271
+ " /** default: \"Bạn chưa có khoá học nào.\" */",
1272
+ " emptyText?: string;",
1273
+ " /** default: \"/learn\" */",
1274
+ " learnHref?: string;",
1275
+ " /** default: \"Đăng nhập để xem khoá học của bạn.\" */",
1276
+ " signedOutText?: string;",
1277
+ " [special: string]: unknown;",
1278
+ "}",
1279
+ "declare function MyCourses(props: MyCoursesProps): JSX.Element;",
1280
+ "",
1281
+ "/** My tickets (advanced) — type \"my-tickets\" */",
1282
+ "interface MyTicketsProps extends Sb.BaseProps {",
1283
+ " /** default: \"Mở vé\" */",
1284
+ " buttonLabel?: string;",
1285
+ " /** default: \"Bạn chưa có vé nào.\" */",
1286
+ " emptyText?: string;",
1287
+ " /** default: \"Không tải được vé của bạn.\" */",
1288
+ " loadFailedText?: string;",
1289
+ " /** default: \"Đăng nhập để xem vé của bạn\" */",
1290
+ " signedOutText?: string;",
1291
+ " /** default: \"Vé của tôi\" */",
1292
+ " title?: string;",
1293
+ " /** default: \"Đã dùng\" */",
1294
+ " usedText?: string;",
1295
+ " /** default: \"Đã hủy\" */",
1296
+ " voidText?: string;",
1297
+ " [special: string]: unknown;",
1298
+ "}",
1299
+ "declare function MyTickets(props: MyTicketsProps): JSX.Element;",
1300
+ "",
1301
+ "/** My vouchers (advanced) — type \"my-vouchers\" */",
1302
+ "interface MyVouchersProps extends Sb.BaseProps {",
1303
+ " /** default: \"Áp dụng\" */",
1304
+ " buttonLabel?: string;",
1305
+ " /** default: \"Đã sao chép mã!\" */",
1306
+ " copiedText?: string;",
1307
+ " /** default: \"Bạn chưa có voucher nào.\" */",
1308
+ " emptyText?: string;",
1309
+ " /** default: \"Đã hết hạn\" */",
1310
+ " expiredText?: string;",
1311
+ " /** default: \"Không thể sao chép mã, vui lòng thử lại.\" */",
1312
+ " failedText?: string;",
1313
+ " /** default: \"Không tải được voucher của bạn.\" */",
1314
+ " loadFailedText?: string;",
1315
+ " /** default: \"Đăng nhập để xem voucher của bạn\" */",
1316
+ " signedOutText?: string;",
1317
+ " /** default: \"Voucher của tôi\" */",
1318
+ " title?: string;",
1319
+ " /** default: \"Đã dùng\" */",
1320
+ " usedText?: string;",
1321
+ " [special: string]: unknown;",
1322
+ "}",
1323
+ "declare function MyVouchers(props: MyVouchersProps): JSX.Element;",
1324
+ "",
1325
+ "/** Order History (advanced) — type \"order-history\" */",
1326
+ "interface OrderHistoryProps extends Sb.BaseProps {",
1327
+ " /** default: \"Chưa có đơn hàng nào.\" */",
1328
+ " emptyText?: string;",
1329
+ " /** default: \"Tra cứu\" */",
1330
+ " lookupButtonText?: string;",
1331
+ " /** default: \"Số điện thoại hoặc email\" */",
1332
+ " lookupContactPlaceholder?: string;",
1333
+ " /** default: true */",
1334
+ " lookupEnabled?: boolean;",
1335
+ " /** default: \"Mã đơn hàng (VD: #1001)\" */",
1336
+ " lookupNumberPlaceholder?: string;",
1337
+ " /** default: \"Đăng nhập để xem đơn hàng của bạn\" */",
1338
+ " signedOutText?: string;",
1339
+ " /** default: \"Đơn hàng của bạn\" */",
1340
+ " title?: string;",
1341
+ " [special: string]: unknown;",
1342
+ "}",
1343
+ "declare function OrderHistory(props: OrderHistoryProps): JSX.Element;",
1344
+ "",
1345
+ "/** Order receipt (advanced) — type \"order-receipt\" */",
1346
+ "interface OrderReceiptProps extends Sb.BaseProps {",
1347
+ " /** default: \"Còn phải trả\" */",
1348
+ " dueLabel?: string;",
1349
+ " /** default: \"Sản phẩm\" */",
1350
+ " itemsLabel?: string;",
1351
+ " /** default: \"Mã đơn hàng\" */",
1352
+ " numberLabel?: string;",
1353
+ " /** default: \"Ngày đặt\" */",
1354
+ " placedLabel?: string;",
1355
+ " /** default: \"Trạng thái\" */",
1356
+ " statusLabel?: string;",
1357
+ " /** default: \"Chi tiết đơn hàng\" */",
1358
+ " title?: string;",
1359
+ " /** default: \"Tổng cộng\" */",
1360
+ " totalLabel?: string;",
1361
+ " /** default: \"Không tải được chi tiết đơn hàng. Bạn có thể tra cứu bằng mã đơn hàng trong trang tài khoản.\" */",
1362
+ " unavailableText?: string;",
1363
+ " [special: string]: unknown;",
1364
+ "}",
1365
+ "declare function OrderReceipt(props: OrderReceiptProps): JSX.Element;",
1366
+ "",
1367
+ "/** Payment status (advanced) — type \"payment-status\" */",
1368
+ "interface PaymentStatusProps extends Sb.BaseProps {",
1369
+ " /** default: \"Giao dịch không thành công hoặc đã bị hủy. Bạn có thể thử lại.\" */",
1370
+ " failedText?: string;",
1371
+ " /** default: \"Thanh toán chưa hoàn tất\" */",
1372
+ " failedTitle?: string;",
1373
+ " /** default: \"Cảm ơn bạn! Chúng tôi đã nhận được thanh toán và đang xử lý đơn hàng.\" */",
1374
+ " paidText?: string;",
1375
+ " /** default: \"Thanh toán thành công\" */",
1376
+ " paidTitle?: string;",
1377
+ " /** default: \"Chúng tôi chưa nhận được xác nhận từ cổng thanh toán. Đơn hàng sẽ được cập nhật ngay khi có kết quả.\" */",
1378
+ " pendingText?: string;",
1379
+ " /** default: \"Đang chờ xác nhận\" */",
1380
+ " pendingTitle?: string;",
1381
+ " /** default: \"Mã giao dịch\" */",
1382
+ " referenceLabel?: string;",
1383
+ " /** default: \"Thử lại\" */",
1384
+ " retryLabel?: string;",
1385
+ " [special: string]: unknown;",
1386
+ "}",
1387
+ "declare function PaymentStatus(props: PaymentStatusProps): JSX.Element;",
1388
+ "",
1389
+ "/** Points (advanced) — type \"points-card\" */",
1390
+ "interface PointsCardProps extends Sb.BaseProps {",
1391
+ " /** default: \"Đăng nhập để xem điểm của bạn\" */",
1392
+ " signedOutText?: string;",
1393
+ " /** default: \"Điểm thưởng\" */",
1394
+ " title?: string;",
1395
+ " [special: string]: unknown;",
1396
+ "}",
1397
+ "declare function PointsCard(props: PointsCardProps): JSX.Element;",
1398
+ "",
1399
+ "/** Points prompt (advanced) — type \"points-prompt\" */",
1400
+ "interface PointsPromptProps extends Sb.BaseProps {",
1401
+ " [special: string]: unknown;",
1402
+ "}",
1403
+ "declare function PointsPrompt(props: PointsPromptProps): JSX.Element;",
1404
+ "",
1405
+ "/** Popover (basic) — type \"popover\" */",
1406
+ "interface PopoverProps extends Sb.BaseProps {",
1407
+ " /** default: true */",
1408
+ " arrow?: boolean;",
1409
+ " /** default: false */",
1410
+ " openOnHover?: boolean;",
1411
+ " [special: string]: unknown;",
1412
+ "}",
1413
+ "declare function Popover(props: PopoverProps): JSX.Element;",
1414
+ "",
1415
+ "/** Pop-up (basic) — type \"popup\" */",
1416
+ "interface PopupProps extends Sb.BaseProps {",
1417
+ " /** default: \"CloseLine\" */",
1418
+ " closeIcon?: string;",
1419
+ " /** default: \"Close\" */",
1420
+ " closeLabel?: string;",
1421
+ " [special: string]: unknown;",
1422
+ "}",
1423
+ "declare function Popup(props: PopupProps): JSX.Element;",
1424
+ "",
1425
+ "/** Product price (dataset) — type \"pricing-dataset\" */",
1426
+ "interface PricingDatasetProps extends Sb.BaseProps {",
1427
+ " /** default: \"p\" */",
1428
+ " htmlTag?: string;",
1429
+ " [special: string]: unknown;",
1430
+ "}",
1431
+ "declare function PricingDataset(props: PricingDatasetProps): JSX.Element;",
1432
+ "",
1433
+ "/** Feature image (media) — type \"product-image-feature\" */",
1434
+ "interface ProductImageFeatureProps extends Sb.BaseProps {",
1435
+ " /** default: \"\" */",
1436
+ " alt?: string;",
1437
+ " [special: string]: unknown;",
1438
+ "}",
1439
+ "declare function ProductImageFeature(props: ProductImageFeatureProps): JSX.Element;",
1440
+ "",
1441
+ "/** Image list (media) — type \"product-image-list\" */",
1442
+ "interface ProductImageListProps extends Sb.BaseProps {",
1443
+ " [special: string]: unknown;",
1444
+ "}",
1445
+ "declare function ProductImageList(props: ProductImageListProps): JSX.Element;",
1446
+ "",
1447
+ "/** Variant label (dataset) — type \"product-variant-label\" */",
1448
+ "interface ProductVariantLabelProps extends Sb.BaseProps {",
1449
+ " [special: string]: unknown;",
1450
+ "}",
1451
+ "declare function ProductVariantLabel(props: ProductVariantLabelProps): JSX.Element;",
1452
+ "",
1453
+ "/** Variant option (dataset) — type \"product-variant-option\" */",
1454
+ "interface ProductVariantOptionProps extends Sb.BaseProps {",
1455
+ " [special: string]: unknown;",
1456
+ "}",
1457
+ "declare function ProductVariantOption(props: ProductVariantOptionProps): JSX.Element;",
1458
+ "",
1459
+ "/** Product variants (dataset) — type \"product-variants\" */",
1460
+ "interface ProductVariantsProps extends Sb.BaseProps {",
1461
+ " defaultVariant?: Sb.Obj;",
1462
+ " /** default: \"select\" */",
1463
+ " displayType?: string;",
1464
+ " [special: string]: unknown;",
1465
+ "}",
1466
+ "declare function ProductVariants(props: ProductVariantsProps): JSX.Element;",
1467
+ "",
1468
+ "/** QR code (media) — type \"qr-code\" */",
1469
+ "interface QrCodeProps extends Sb.BaseProps {",
1470
+ " /** default: \"\" */",
1471
+ " alt?: string;",
1472
+ " /** default: \"\" */",
1473
+ " boundValue?: string;",
1474
+ " /** default: \"text\" */",
1475
+ " source?: string;",
1476
+ " /** default: \"\" */",
1477
+ " value?: string;",
1478
+ " [special: string]: unknown;",
1479
+ "}",
1480
+ "declare function QrCode(props: QrCodeProps): JSX.Element;",
1481
+ "",
1482
+ "/** Quantity button (dataset) — type \"quantity-button\" */",
1483
+ "interface QuantityButtonProps extends Sb.BaseProps {",
1484
+ " [special: string]: unknown;",
1485
+ "}",
1486
+ "declare function QuantityButton(props: QuantityButtonProps): JSX.Element;",
1487
+ "",
1488
+ "/** Quantity (dataset) — type \"quantity-dataset\" */",
1489
+ "interface QuantityDatasetProps extends Sb.BaseProps {",
1490
+ " /** default: true */",
1491
+ " button?: boolean;",
1492
+ " [special: string]: unknown;",
1493
+ "}",
1494
+ "declare function QuantityDataset(props: QuantityDatasetProps): JSX.Element;",
1495
+ "",
1496
+ "/** Quantity input (dataset) — type \"quantity-input\" */",
1497
+ "interface QuantityInputProps extends Sb.BaseProps {",
1498
+ " /** default: \"quantity-input-default\" */",
1499
+ " stylePreset?: string;",
1500
+ " [special: string]: unknown;",
1501
+ "}",
1502
+ "declare function QuantityInput(props: QuantityInputProps): JSX.Element;",
1503
+ "",
1504
+ "/** Quick view (basic) — type \"quickview\" */",
1505
+ "interface QuickviewProps extends Sb.BaseProps {",
1506
+ " [special: string]: unknown;",
1507
+ "}",
1508
+ "declare function Quickview(props: QuickviewProps): JSX.Element;",
1509
+ "",
1510
+ "/** Rating stars (dataset) — type \"rating-stars\" */",
1511
+ "interface RatingStarsProps extends Sb.BaseProps {",
1512
+ " /** default: \"\" */",
1513
+ " ratingValue?: string;",
1514
+ " [special: string]: unknown;",
1515
+ "}",
1516
+ "declare function RatingStars(props: RatingStarsProps): JSX.Element;",
1517
+ "",
1518
+ "/** Page (system) — type \"root\" */",
1519
+ "interface PageProps extends Sb.BaseProps {",
1520
+ " [special: string]: unknown;",
1521
+ "}",
1522
+ "declare function Page(props: PageProps): JSX.Element;",
1523
+ "",
1524
+ "/** Sale badge (dataset) — type \"sale-badge\" */",
1525
+ "interface SaleBadgeProps extends Sb.BaseProps {",
1526
+ " /** default: \"\" */",
1527
+ " boundCompareCents?: string;",
1528
+ " /** default: \"\" */",
1529
+ " boundPriceCents?: string;",
1530
+ " /** default: \"percent\" */",
1531
+ " mode?: string;",
1532
+ " /** default: \"Sale\" */",
1533
+ " text?: string;",
1534
+ " [special: string]: unknown;",
1535
+ "}",
1536
+ "declare function SaleBadge(props: SaleBadgeProps): JSX.Element;",
1537
+ "",
1538
+ "/** Search (input) — type \"search-input\" */",
1539
+ "interface SearchInputProps extends Sb.BaseProps {",
1540
+ " /** default: \"navigate\" */",
1541
+ " searchBehavior?: string;",
1542
+ " /** default: \"Xoá tìm kiếm\" */",
1543
+ " searchClearLabel?: string;",
1544
+ " /** default: false */",
1545
+ " searchClearSwap?: boolean;",
1546
+ " /** default: 250 */",
1547
+ " searchDebounceMs?: number;",
1548
+ " /** default: \"field\" */",
1549
+ " searchDisplay?: string;",
1550
+ " /** default: \"start\" */",
1551
+ " searchIconPosition?: string;",
1552
+ " /** default: 2 */",
1553
+ " searchMinChars?: number;",
1554
+ " /** default: \"\" */",
1555
+ " searchOnEnter?: string;",
1556
+ " searchPages?: Sb.Json[];",
1557
+ " /** default: \"Tìm kiếm…\" */",
1558
+ " searchPlaceholder?: string;",
1559
+ " /** default: \"page\" */",
1560
+ " searchScope?: string;",
1561
+ " /** default: true */",
1562
+ " searchShowClear?: boolean;",
1563
+ " /** default: \"Tìm kiếm\" */",
1564
+ " searchToggleLabel?: string;",
1565
+ " /** default: \"search-input-default\" */",
1566
+ " stylePreset?: string;",
1567
+ " [special: string]: unknown;",
1568
+ "}",
1569
+ "declare function SearchInput(props: SearchInputProps): JSX.Element;",
1570
+ "",
1571
+ "/** Suggested keywords (input) — type \"search-keywords\" */",
1572
+ "interface SearchKeywordsProps extends Sb.BaseProps {",
1573
+ " /** default: \"navigate\" */",
1574
+ " keywordAction?: string;",
1575
+ " keywordItems?: Sb.Json[];",
1576
+ " [special: string]: unknown;",
1577
+ "}",
1578
+ "declare function SearchKeywords(props: SearchKeywordsProps): JSX.Element;",
1579
+ "",
1580
+ "/** search-result-item (removed) — type \"search-result-item\" */",
1581
+ "interface SearchResultItemProps extends Sb.BaseProps {",
1582
+ " [special: string]: unknown;",
1583
+ "}",
1584
+ "declare function SearchResultItem(props: SearchResultItemProps): JSX.Element;",
1585
+ "",
1586
+ "/** Select (input) — type \"select\" */",
1587
+ "interface SelectProps extends Sb.BaseProps {",
1588
+ " /** default: \"filter\" */",
1589
+ " filterBehavior?: string;",
1590
+ " /** default: \"\" */",
1591
+ " filterGroupKey?: string;",
1592
+ " /** default: \"sort\" */",
1593
+ " filterSource?: string;",
1594
+ " filterTargets?: Sb.Json[];",
1595
+ " filterValues?: Sb.Json[];",
1596
+ " /** default: false */",
1597
+ " openOnHover?: boolean;",
1598
+ " /** default: \"\" */",
1599
+ " placeholder?: string;",
1600
+ " [special: string]: unknown;",
1601
+ "}",
1602
+ "declare function Select(props: SelectProps): JSX.Element;",
1603
+ "",
1604
+ "/** SoundCloud (media) — type \"soundcloud\" */",
1605
+ "interface SoundcloudProps extends Sb.BaseProps {",
1606
+ " /** default: \"\" */",
1607
+ " trackUrl?: string;",
1608
+ " [special: string]: unknown;",
1609
+ "}",
1610
+ "declare function Soundcloud(props: SoundcloudProps): JSX.Element;",
1611
+ "",
1612
+ "/** 3D scene (media) — type \"spline-scene\" */",
1613
+ "interface SplineSceneProps extends Sb.BaseProps {",
1614
+ " /** default: \"\" */",
1615
+ " modelUrl?: string;",
1616
+ " /** default: \"\" */",
1617
+ " posterUrl?: string;",
1618
+ " sceneControls?: Sb.Json[];",
1619
+ " /** default: \"podium\" */",
1620
+ " sceneGallery?: string;",
1621
+ " /** default: \"https://prod.spline.design/HqdfCmOueigtautT/scene.splinecode\" */",
1622
+ " sceneUrl?: string;",
1623
+ " /** default: \"off\" */",
1624
+ " sceneViewer?: string;",
1625
+ " /** default: \"effect\" */",
1626
+ " source?: string;",
1627
+ " [special: string]: unknown;",
1628
+ "}",
1629
+ "declare function SplineScene(props: SplineSceneProps): JSX.Element;",
1630
+ "",
1631
+ "/** Tab (basic) — type \"tab\" */",
1632
+ "interface TabProps extends Sb.BaseProps {",
1633
+ " [special: string]: unknown;",
1634
+ "}",
1635
+ "declare function Tab(props: TabProps): JSX.Element;",
1636
+ "",
1637
+ "/** Tab content (basic) — type \"tab-content\" */",
1638
+ "interface TabContentProps extends Sb.BaseProps {",
1639
+ " /** default: \"Tab\" */",
1640
+ " label?: string;",
1641
+ " [special: string]: unknown;",
1642
+ "}",
1643
+ "declare function TabContent(props: TabContentProps): JSX.Element;",
1644
+ "",
1645
+ "/** Tab item (basic) — type \"tab-item\" */",
1646
+ "interface TabItemProps extends Sb.BaseProps {",
1647
+ " [special: string]: unknown;",
1648
+ "}",
1649
+ "declare function TabItem(props: TabItemProps): JSX.Element;",
1650
+ "",
1651
+ "/** Text (basic) — type \"text\" */",
1652
+ "interface TextProps extends Sb.BaseProps {",
1653
+ " /** default: \"p\" */",
1654
+ " htmlTag?: string;",
1655
+ " /** default: \"text-default\" */",
1656
+ " stylePreset?: string;",
1657
+ " /** default: \"Enter your text here\" */",
1658
+ " text?: string;",
1659
+ " [special: string]: unknown;",
1660
+ "}",
1661
+ "declare function Text(props: TextProps): JSX.Element;",
1662
+ "",
1663
+ "/** Product text (dataset) — type \"text-dataset\" */",
1664
+ "interface TextDatasetProps extends Sb.BaseProps {",
1665
+ " /** default: \"p\" */",
1666
+ " htmlTag?: string;",
1667
+ " /** default: false */",
1668
+ " moreButtonEnabled?: boolean;",
1669
+ " /** default: \"text-dataset-default\" */",
1670
+ " stylePreset?: string;",
1671
+ " [special: string]: unknown;",
1672
+ "}",
1673
+ "declare function TextDataset(props: TextDatasetProps): JSX.Element;",
1674
+ "",
1675
+ "/** Marquee (basic) — type \"text-marquee\" */",
1676
+ "interface TextMarqueeProps extends Sb.BaseProps {",
1677
+ " /** default: \"Announce something…\" */",
1678
+ " text?: string;",
1679
+ " [special: string]: unknown;",
1680
+ "}",
1681
+ "declare function TextMarquee(props: TextMarqueeProps): JSX.Element;",
1682
+ "",
1683
+ "/** Marquee item (basic) — type \"text-marquee-item\" */",
1684
+ "interface TextMarqueeItemProps extends Sb.BaseProps {",
1685
+ " /** default: \"span\" */",
1686
+ " htmlTag?: string;",
1687
+ " /** default: \"StarFill\" */",
1688
+ " icon?: string;",
1689
+ " /** default: false */",
1690
+ " iconEnabled?: boolean;",
1691
+ " /** default: \"Marquee item\" */",
1692
+ " text?: string;",
1693
+ " [special: string]: unknown;",
1694
+ "}",
1695
+ "declare function TextMarqueeItem(props: TextMarqueeItemProps): JSX.Element;",
1696
+ "",
1697
+ "/** Theme Switcher (basic) — type \"theme-switcher\" */",
1698
+ "interface ThemeSwitcherProps extends Sb.BaseProps {",
1699
+ " /** default: \"Dark\" */",
1700
+ " darkLabel?: string;",
1701
+ " /** default: \"Light\" */",
1702
+ " lightLabel?: string;",
1703
+ " /** default: \"icon\" */",
1704
+ " variant?: string;",
1705
+ " [special: string]: unknown;",
1706
+ "}",
1707
+ "declare function ThemeSwitcher(props: ThemeSwitcherProps): JSX.Element;",
1708
+ "",
1709
+ "/** Video (media) — type \"video\" */",
1710
+ "interface VideoProps extends Sb.BaseProps {",
1711
+ " /** default: \"\" */",
1712
+ " poster?: string;",
1713
+ " /** default: \"\" */",
1714
+ " videoSrc?: string;",
1715
+ " [special: string]: unknown;",
1716
+ "}",
1717
+ "declare function Video(props: VideoProps): JSX.Element;",
1718
+ "",
1719
+ "/** Vimeo (media) — type \"vimeo\" */",
1720
+ "interface VimeoProps extends Sb.BaseProps {",
1721
+ " /** default: \"\" */",
1722
+ " videoId?: string;",
1723
+ " [special: string]: unknown;",
1724
+ "}",
1725
+ "declare function Vimeo(props: VimeoProps): JSX.Element;",
1726
+ "",
1727
+ "/** Voucher list (store) — type \"voucher-list\" */",
1728
+ "interface VoucherListProps extends Sb.BaseProps {",
1729
+ " /** default: \"Áp dụng\" */",
1730
+ " buttonLabel?: string;",
1731
+ " /** default: \"Đã sao chép mã!\" */",
1732
+ " copiedText?: string;",
1733
+ " /** default: \"Hiện chưa có mã giảm giá nào.\" */",
1734
+ " emptyText?: string;",
1735
+ " /** default: \"Không thể sao chép mã, vui lòng thử lại.\" */",
1736
+ " failedText?: string;",
1737
+ " /** default: \"Mã giảm giá đang có\" */",
1738
+ " title?: string;",
1739
+ " [special: string]: unknown;",
1740
+ "}",
1741
+ "declare function VoucherList(props: VoucherListProps): JSX.Element;",
1742
+ "",
1743
+ "/** Wishlist (advanced) — type \"wishlist-list\" */",
1744
+ "interface WishlistListProps extends Sb.BaseProps {",
1745
+ " /** default: \"Bạn chưa lưu sản phẩm nào.\" */",
1746
+ " emptyText?: string;",
1747
+ " /** default: \"Đã lưu\" */",
1748
+ " title?: string;",
1749
+ " [special: string]: unknown;",
1750
+ "}",
1751
+ "declare function WishlistList(props: WishlistListProps): JSX.Element;",
1752
+ "",
1753
+ "/** YouTube (media) — type \"youtube\" */",
1754
+ "interface YoutubeProps extends Sb.BaseProps {",
1755
+ " /** default: \"\" */",
1756
+ " videoId?: string;",
1757
+ " [special: string]: unknown;",
1758
+ "}",
1759
+ "declare function Youtube(props: YoutubeProps): JSX.Element;",
1760
+ ].join('\n') + '\n';
1761
+ //# sourceMappingURL=envtypes.gen.js.map