@openway/ui 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/dist/chunk-XM7AABEU.js +3 -0
- package/dist/chunk-XM7AABEU.js.map +1 -0
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +158 -74
- package/dist/index.d.ts +158 -74
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +1 -1
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +13 -5
- package/dist/query.d.ts +13 -5
- package/dist/query.js +1 -1
- package/dist/query.js.map +1 -1
- package/dist/styles.css +424 -0
- package/dist/{useInfiniteScroll-D9AW6cQV.d.cts → useInfiniteScroll-C5t7bvLu.d.cts} +40 -10
- package/dist/{useInfiniteScroll-D9AW6cQV.d.ts → useInfiniteScroll-C5t7bvLu.d.ts} +40 -10
- package/docs/AGENTS.md +0 -2
- package/docs/README.md +0 -1
- package/docs/components/carousel.md +5 -5
- package/docs/components/input.md +0 -6
- package/docs/components/select.md +2 -2
- package/docs/components/slider.md +2 -2
- package/docs/components/table.md +114 -1
- package/docs/hooks/useInfiniteScroll.md +1 -1
- package/docs/hooks/useMutationApp.md +242 -242
- package/docs/hooks/useTableQuery.md +5 -0
- package/package.json +3 -2
- package/dist/chunk-X4LIYOS5.js +0 -3
- package/dist/chunk-X4LIYOS5.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import react, { ButtonHTMLAttributes, Ref, ReactNode, HTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, SVGProps, ReactElement, CSSProperties, HTMLProps, RefObject, MouseEvent, TdHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
3
3
|
import { TextareaAutosizeProps } from 'react-textarea-autosize';
|
|
4
|
-
import { A as AlertProps, T as ToasterProps, a as ToastOptions, b as ToastPromiseOptions, E as EmptyProps, c as EmptyPresetImage, S as SelectProps, M as MultiSelectProps, d as SelectOptionItem, e as SelectSize, f as SelectVariant, g as SelectColor, h as SelectRadius, i as SelectSearchPlacement, j as SelectFilterField, k as SelectFilterLayout } from './useInfiniteScroll-
|
|
5
|
-
export { l as AlertColor, m as AlertRadius, n as AlertSize, o as AlertVariant, B as BaseSelectProps, p as EmptyLayout, q as EmptySize, r as SelectFilterType, s as SelectSearchMode, t as SingleSelectProps, u as ToastMessageObject, v as ToastMessageResult, w as ToastPosition, x as ToastPromiseFunction, U as UseInfiniteScrollOptions, y as UseInfiniteScrollReturn, z as useInfiniteScroll } from './useInfiniteScroll-
|
|
4
|
+
import { A as AlertProps, T as ToasterProps, a as ToastOptions, b as ToastPromiseOptions, E as EmptyProps, c as EmptyPresetImage, S as SelectProps, M as MultiSelectProps, d as SelectOptionItem, e as SelectSize, f as SelectVariant, g as SelectColor, h as SelectRadius, i as SelectSearchPlacement, j as SelectFilterField, k as SelectFilterLayout } from './useInfiniteScroll-C5t7bvLu.js';
|
|
5
|
+
export { l as AlertColor, m as AlertRadius, n as AlertSize, o as AlertVariant, B as BaseSelectProps, p as EmptyLayout, q as EmptySize, r as SelectFilterType, s as SelectSearchMode, t as SingleSelectProps, u as ToastMessageObject, v as ToastMessageResult, w as ToastPosition, x as ToastPromiseFunction, U as UseInfiniteScrollOptions, y as UseInfiniteScrollReturn, z as useInfiniteScroll } from './useInfiniteScroll-C5t7bvLu.js';
|
|
6
6
|
import { Placement, ExtendedRefs, ReferenceType, FloatingContext } from '@floating-ui/react';
|
|
7
7
|
import { Accept, DropzoneRootProps } from 'react-dropzone';
|
|
8
8
|
import { ImageProps } from 'next/image';
|
|
9
9
|
import * as _tanstack_react_table from '@tanstack/react-table';
|
|
10
|
-
import { TableFeatures, FilterFn, RowData, TableOptions, ColumnHelper, ReactTable, ColumnDef, Row, PaginationState, OnChangeFn, SortingState, RowSelectionState, ColumnVisibilityState, FilterFnOption, ColumnFiltersState, Header, Column } from '@tanstack/react-table';
|
|
11
|
-
export { Column, ColumnDef, ColumnFiltersState, ColumnHelper, ColumnVisibilityState, Header, OnChangeFn, PaginationState, ReactTable, Row, RowData, RowSelectionState, SortingState } from '@tanstack/react-table';
|
|
10
|
+
import { TableFeatures, FilterFn, RowData, TableOptions, ColumnHelper, ReactTable, ColumnDef, Row, PaginationState, OnChangeFn, SortingState, RowSelectionState, ColumnVisibilityState, FilterFnOption, ColumnFiltersState, ExpandedState, Header, Column } from '@tanstack/react-table';
|
|
11
|
+
export { Column, ColumnDef, ColumnFiltersState, ColumnHelper, ColumnVisibilityState, ExpandedState, FilterFnOption, Header, OnChangeFn, PaginationState, ReactTable, Row, RowData, RowSelectionState, SortingState } from '@tanstack/react-table';
|
|
12
12
|
import { RankingInfo } from '@tanstack/match-sorter-utils';
|
|
13
13
|
export { RankingInfo } from '@tanstack/match-sorter-utils';
|
|
14
14
|
import 'sonner';
|
|
@@ -239,7 +239,7 @@ interface InputConfig {
|
|
|
239
239
|
isClearable?: boolean;
|
|
240
240
|
/**
|
|
241
241
|
* Mở rộng chiều rộng 100% của container chứa
|
|
242
|
-
* @default
|
|
242
|
+
* @default true
|
|
243
243
|
*/
|
|
244
244
|
isFullWidth?: boolean;
|
|
245
245
|
}
|
|
@@ -294,11 +294,6 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"
|
|
|
294
294
|
* @default 'floating'
|
|
295
295
|
*/
|
|
296
296
|
labelPlacement?: LabelPlacement;
|
|
297
|
-
/**
|
|
298
|
-
* Đánh dấu trường bắt buộc nhập (hiển thị dấu * đỏ cạnh label)
|
|
299
|
-
* @default false
|
|
300
|
-
*/
|
|
301
|
-
isRequired?: boolean;
|
|
302
297
|
/**
|
|
303
298
|
* Đoạn văn bản hướng dẫn/chú thích bên dưới input
|
|
304
299
|
*/
|
|
@@ -307,21 +302,6 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"
|
|
|
307
302
|
* Thông báo lỗi hiển thị bên dưới input (khi có errorMessage sẽ tự động kích hoạt trạng thái báo lỗi)
|
|
308
303
|
*/
|
|
309
304
|
errorMessage?: ReactNode;
|
|
310
|
-
/**
|
|
311
|
-
* Trạng thái báo lỗi (viền đỏ, aria-invalid="true")
|
|
312
|
-
* @default false
|
|
313
|
-
*/
|
|
314
|
-
isInvalid?: boolean;
|
|
315
|
-
/**
|
|
316
|
-
* Trạng thái đang tải (vô hiệu hóa tương tác)
|
|
317
|
-
* @default false
|
|
318
|
-
*/
|
|
319
|
-
isLoading?: boolean;
|
|
320
|
-
/**
|
|
321
|
-
* Hiển thị biểu tượng xoay spinner khi đang ở trạng thái loading
|
|
322
|
-
* @default false
|
|
323
|
-
*/
|
|
324
|
-
showSpinner?: boolean;
|
|
325
305
|
/**
|
|
326
306
|
* Icon hoặc phần tử hiển thị ở đầu ô input
|
|
327
307
|
*/
|
|
@@ -338,20 +318,10 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"
|
|
|
338
318
|
* Addon / suffix cố định hiển thị ở cuối ô input (vd: '.com', 'kg')
|
|
339
319
|
*/
|
|
340
320
|
rightAddon?: ReactNode;
|
|
341
|
-
/**
|
|
342
|
-
* Hiển thị nút xóa nhanh nội dung khi input có giá trị
|
|
343
|
-
* @default false
|
|
344
|
-
*/
|
|
345
|
-
isClearable?: boolean;
|
|
346
321
|
/**
|
|
347
322
|
* Callback khi người dùng nhấn nút xóa nội dung
|
|
348
323
|
*/
|
|
349
324
|
onClear?: () => void;
|
|
350
|
-
/**
|
|
351
|
-
* Mở rộng chiều rộng 100% của container chứa
|
|
352
|
-
* @default false
|
|
353
|
-
*/
|
|
354
|
-
isFullWidth?: boolean;
|
|
355
325
|
/**
|
|
356
326
|
* Tùy biến className cho container bọc toàn bộ (bao gồm label, input wrapper, helper/error text)
|
|
357
327
|
*/
|
|
@@ -663,7 +633,7 @@ interface MultiInputConfig {
|
|
|
663
633
|
isClearable?: boolean;
|
|
664
634
|
/**
|
|
665
635
|
* Chiếm toàn bộ chiều rộng 100% của container cha
|
|
666
|
-
* @default
|
|
636
|
+
* @default true
|
|
667
637
|
*/
|
|
668
638
|
isFullWidth?: boolean;
|
|
669
639
|
}
|
|
@@ -991,7 +961,7 @@ interface TextAreaConfig {
|
|
|
991
961
|
showCount?: boolean;
|
|
992
962
|
/**
|
|
993
963
|
* Chiếm toàn bộ chiều rộng 100% của container cha
|
|
994
|
-
* @default
|
|
964
|
+
* @default true
|
|
995
965
|
*/
|
|
996
966
|
isFullWidth?: boolean;
|
|
997
967
|
}
|
|
@@ -1036,10 +1006,10 @@ interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
|
1036
1006
|
label?: ReactNode;
|
|
1037
1007
|
/**
|
|
1038
1008
|
* Vị trí của nhãn:
|
|
1039
|
-
* - '
|
|
1009
|
+
* - 'floating': nằm cố định chính giữa viền trên (mặc định)
|
|
1010
|
+
* - 'top': nằm phía trên textarea
|
|
1040
1011
|
* - 'left': nằm bên trái textarea
|
|
1041
|
-
*
|
|
1042
|
-
* @default 'top'
|
|
1012
|
+
* @default 'floating'
|
|
1043
1013
|
*/
|
|
1044
1014
|
labelPlacement?: TextAreaLabelPlacement;
|
|
1045
1015
|
/**
|
|
@@ -4302,7 +4272,7 @@ interface DatePickerConfig {
|
|
|
4302
4272
|
isClearable?: boolean;
|
|
4303
4273
|
/**
|
|
4304
4274
|
* Chiếm toàn bộ 100% chiều rộng container
|
|
4305
|
-
* @default
|
|
4275
|
+
* @default true
|
|
4306
4276
|
*/
|
|
4307
4277
|
isFullWidth?: boolean;
|
|
4308
4278
|
/**
|
|
@@ -4421,7 +4391,7 @@ interface DatePickerProps {
|
|
|
4421
4391
|
label?: ReactNode;
|
|
4422
4392
|
/**
|
|
4423
4393
|
* Vị trí hiển thị của label ('top' | 'left' | 'floating')
|
|
4424
|
-
* @default '
|
|
4394
|
+
* @default 'floating'
|
|
4425
4395
|
*/
|
|
4426
4396
|
labelPlacement?: LabelPlacement;
|
|
4427
4397
|
/**
|
|
@@ -4864,7 +4834,7 @@ interface DateRangePickerConfig {
|
|
|
4864
4834
|
isClearable?: boolean;
|
|
4865
4835
|
/**
|
|
4866
4836
|
* Mở rộng chiếm toàn bộ 100% chiều ngang container cha
|
|
4867
|
-
* @default
|
|
4837
|
+
* @default true
|
|
4868
4838
|
*/
|
|
4869
4839
|
isFullWidth?: boolean;
|
|
4870
4840
|
/**
|
|
@@ -4988,7 +4958,7 @@ interface DateRangePickerProps {
|
|
|
4988
4958
|
label?: ReactNode;
|
|
4989
4959
|
/**
|
|
4990
4960
|
* Vị trí hiển thị của nhãn tiêu đề
|
|
4991
|
-
* @default "
|
|
4961
|
+
* @default "floating"
|
|
4992
4962
|
*/
|
|
4993
4963
|
labelPlacement?: LabelPlacement;
|
|
4994
4964
|
/**
|
|
@@ -5215,7 +5185,10 @@ interface TimePickerConfig {
|
|
|
5215
5185
|
showSpinner?: boolean;
|
|
5216
5186
|
/** Hiển thị nút xóa nhanh thời gian đã chọn */
|
|
5217
5187
|
isClearable?: boolean;
|
|
5218
|
-
/**
|
|
5188
|
+
/**
|
|
5189
|
+
* Mở rộng chiều ngang 100% container cha
|
|
5190
|
+
* @default true
|
|
5191
|
+
*/
|
|
5219
5192
|
isFullWidth?: boolean;
|
|
5220
5193
|
/** Tự động đóng popover sau khi người dùng chọn xong */
|
|
5221
5194
|
closeOnSelect?: boolean;
|
|
@@ -5268,7 +5241,10 @@ interface TimePickerProps {
|
|
|
5268
5241
|
radius?: TimePickerRadius;
|
|
5269
5242
|
/** Nhãn tiêu đề hiển thị cho ô nhập */
|
|
5270
5243
|
label?: ReactNode;
|
|
5271
|
-
/**
|
|
5244
|
+
/**
|
|
5245
|
+
* Vị trí đặt nhãn tiêu đề
|
|
5246
|
+
* @default 'floating'
|
|
5247
|
+
*/
|
|
5272
5248
|
labelPlacement?: LabelPlacement;
|
|
5273
5249
|
/** Văn bản giữ chỗ khi ô input rỗng */
|
|
5274
5250
|
placeholder?: string;
|
|
@@ -5290,8 +5266,6 @@ interface TimePickerProps {
|
|
|
5290
5266
|
onClear?: () => void;
|
|
5291
5267
|
/** Vị trí hiển thị của popover chọn giờ */
|
|
5292
5268
|
placement?: Placement;
|
|
5293
|
-
/** Render popover qua FloatingPortal vào body (mặc định true) */
|
|
5294
|
-
portal?: boolean;
|
|
5295
5269
|
/** Class CSS tùy biến cho thẻ input */
|
|
5296
5270
|
className?: string;
|
|
5297
5271
|
/** Class CSS tùy biến cho wrapper ngoài cùng */
|
|
@@ -5450,7 +5424,10 @@ interface TimeRangePickerConfig {
|
|
|
5450
5424
|
showSpinner?: boolean;
|
|
5451
5425
|
/** Hiển thị nút xóa nhanh khoảng thời gian đã chọn */
|
|
5452
5426
|
isClearable?: boolean;
|
|
5453
|
-
/**
|
|
5427
|
+
/**
|
|
5428
|
+
* Mở rộng chiều ngang 100% container cha
|
|
5429
|
+
* @default true
|
|
5430
|
+
*/
|
|
5454
5431
|
isFullWidth?: boolean;
|
|
5455
5432
|
/** Tự động đóng popover sau khi người dùng chọn xong cả 2 mốc */
|
|
5456
5433
|
closeOnSelect?: boolean;
|
|
@@ -5509,7 +5486,10 @@ interface TimeRangePickerProps {
|
|
|
5509
5486
|
radius?: TimeRangePickerRadius;
|
|
5510
5487
|
/** Nhãn tiêu đề hiển thị cho ô nhập */
|
|
5511
5488
|
label?: ReactNode;
|
|
5512
|
-
/**
|
|
5489
|
+
/**
|
|
5490
|
+
* Vị trí đặt nhãn tiêu đề
|
|
5491
|
+
* @default 'floating'
|
|
5492
|
+
*/
|
|
5513
5493
|
labelPlacement?: LabelPlacement;
|
|
5514
5494
|
/** Văn bản giữ chỗ khi ô input rỗng */
|
|
5515
5495
|
placeholder?: string;
|
|
@@ -5533,8 +5513,6 @@ interface TimeRangePickerProps {
|
|
|
5533
5513
|
onClear?: () => void;
|
|
5534
5514
|
/** Vị trí hiển thị của popover */
|
|
5535
5515
|
placement?: Placement;
|
|
5536
|
-
/** Render popover qua FloatingPortal vào body (mặc định true) */
|
|
5537
|
-
portal?: boolean;
|
|
5538
5516
|
/** Class CSS tùy biến cho thẻ input */
|
|
5539
5517
|
className?: string;
|
|
5540
5518
|
/** Class CSS tùy biến cho wrapper ngoài cùng */
|
|
@@ -5626,7 +5604,7 @@ interface DateTimePickerConfig {
|
|
|
5626
5604
|
isClearable?: boolean;
|
|
5627
5605
|
/**
|
|
5628
5606
|
* Chiếm toàn bộ 100% chiều rộng container
|
|
5629
|
-
* @default
|
|
5607
|
+
* @default true
|
|
5630
5608
|
*/
|
|
5631
5609
|
isFullWidth?: boolean;
|
|
5632
5610
|
/**
|
|
@@ -5785,7 +5763,7 @@ interface DateTimePickerProps {
|
|
|
5785
5763
|
label?: ReactNode;
|
|
5786
5764
|
/**
|
|
5787
5765
|
* Vị trí nhãn ('top' | 'left' | 'floating')
|
|
5788
|
-
* @default '
|
|
5766
|
+
* @default 'floating'
|
|
5789
5767
|
*/
|
|
5790
5768
|
labelPlacement?: LabelPlacement;
|
|
5791
5769
|
/**
|
|
@@ -5904,7 +5882,7 @@ interface DateTimeRangePickerConfig {
|
|
|
5904
5882
|
isClearable?: boolean;
|
|
5905
5883
|
/**
|
|
5906
5884
|
* Chiếm toàn bộ 100% chiều rộng container
|
|
5907
|
-
* @default
|
|
5885
|
+
* @default true
|
|
5908
5886
|
*/
|
|
5909
5887
|
isFullWidth?: boolean;
|
|
5910
5888
|
/**
|
|
@@ -6078,7 +6056,7 @@ interface DateTimeRangePickerProps {
|
|
|
6078
6056
|
label?: ReactNode;
|
|
6079
6057
|
/**
|
|
6080
6058
|
* Vị trí nhãn ('top' | 'left' | 'floating')
|
|
6081
|
-
* @default '
|
|
6059
|
+
* @default 'floating'
|
|
6082
6060
|
*/
|
|
6083
6061
|
labelPlacement?: LabelPlacement;
|
|
6084
6062
|
/**
|
|
@@ -6149,9 +6127,9 @@ interface EmptyIllustrationProps extends SVGProps<SVGSVGElement> {
|
|
|
6149
6127
|
}
|
|
6150
6128
|
declare function EmptyIllustration({ preset, ...props }: EmptyIllustrationProps): react_jsx_runtime.JSX.Element;
|
|
6151
6129
|
|
|
6152
|
-
declare function Select<TData = unknown, TFilters extends Record<string, unknown> = Record<string, unknown>>({ ref, options, value, defaultValue, onChange, size, variant, color, radius, id: idProp, label, labelPlacement, placeholder, helperText, errorMessage,
|
|
6130
|
+
declare function Select<TData = unknown, TFilters extends Record<string, unknown> = Record<string, unknown>>({ ref, options, value, defaultValue, onChange, size, variant, color, radius, id: idProp, label, labelPlacement, placeholder, helperText, errorMessage, isDisabled, readOnly, name, searchable, searchMode, searchPlacement, searchPlaceholder, searchField, searchValue: searchValueProp, onSearchChange, menuFilters, menuFilterValues: controlledFilterValues, menuFilterLayout, menuFilterGridCols, showResetFilters, resetFiltersText, onMenuFilterChange, menuHeader, menuFooter, listFooter, onSearch, debounceMs, filterFn, emptyText, emptyProps, portal, portalRoot, placement, maxMenuHeight, animated, animationDuration, startContent, endContent, renderValue, renderOption, config, className, triggerClassName, menuClassName, labelClassName, helperClassName, ...props }: SelectProps<TData, TFilters>): react_jsx_runtime.JSX.Element;
|
|
6153
6131
|
|
|
6154
|
-
declare function MultiSelect<TData = unknown, TFilters extends Record<string, unknown> = Record<string, unknown>>({ ref, options, value: valueProp, defaultValue, onChange, size, variant, color, radius, id: idProp, label, labelPlacement, placeholder, helperText, errorMessage,
|
|
6132
|
+
declare function MultiSelect<TData = unknown, TFilters extends Record<string, unknown> = Record<string, unknown>>({ ref, options, value: valueProp, defaultValue, onChange, size, variant, color, radius, id: idProp, label, labelPlacement, placeholder, helperText, errorMessage, isDisabled, readOnly, name, maxTagCount, searchable, searchMode, searchPlacement, searchPlaceholder, searchField, preserveSelected, searchValue: searchValueProp, onSearchChange, menuFilters, menuFilterValues: controlledFilterValues, menuFilterLayout, menuFilterGridCols, showResetFilters, resetFiltersText, onMenuFilterChange, menuHeader, menuFooter, listFooter, onSearch, debounceMs, filterFn, emptyText, emptyProps, portal, portalRoot, placement, maxMenuHeight, animated, animationDuration, startContent, endContent, renderValue, renderOption, config, className, triggerClassName, menuClassName, labelClassName, helperClassName, ...props }: MultiSelectProps<TData, TFilters>): react_jsx_runtime.JSX.Element;
|
|
6155
6133
|
|
|
6156
6134
|
interface SingleSelectTriggerProps<TData = unknown> {
|
|
6157
6135
|
id?: string;
|
|
@@ -6172,6 +6150,7 @@ interface SingleSelectTriggerProps<TData = unknown> {
|
|
|
6172
6150
|
onClear?: (e: react.MouseEvent) => void;
|
|
6173
6151
|
clearable?: boolean;
|
|
6174
6152
|
isLoading?: boolean;
|
|
6153
|
+
showSpinner?: boolean;
|
|
6175
6154
|
startContent?: ReactNode;
|
|
6176
6155
|
endContent?: ReactNode;
|
|
6177
6156
|
renderValue?: (selected: SelectOptionItem<TData>) => ReactNode;
|
|
@@ -6180,7 +6159,7 @@ interface SingleSelectTriggerProps<TData = unknown> {
|
|
|
6180
6159
|
onKeyDown?: (e: react.KeyboardEvent<HTMLInputElement>) => void;
|
|
6181
6160
|
className?: string;
|
|
6182
6161
|
}
|
|
6183
|
-
declare function SingleSelectTrigger<TData = unknown>({ id, selectedOption, isOpen, size, variant, color, radius, placeholder, disabled, readOnly, isInvalid, searchable, searchPlacement, searchValue, onSearchChange, onClear, clearable, isLoading, startContent, endContent, renderValue, triggerRef, getReferenceProps, onKeyDown, className, }: SingleSelectTriggerProps<TData>): react_jsx_runtime.JSX.Element;
|
|
6162
|
+
declare function SingleSelectTrigger<TData = unknown>({ id, selectedOption, isOpen, size, variant, color, radius, placeholder, disabled, readOnly, isInvalid, searchable, searchPlacement, searchValue, onSearchChange, onClear, clearable, isLoading, showSpinner, startContent, endContent, renderValue, triggerRef, getReferenceProps, onKeyDown, className, }: SingleSelectTriggerProps<TData>): react_jsx_runtime.JSX.Element;
|
|
6184
6163
|
|
|
6185
6164
|
interface MultiSelectTriggerProps<TData = unknown> {
|
|
6186
6165
|
id?: string;
|
|
@@ -6203,6 +6182,7 @@ interface MultiSelectTriggerProps<TData = unknown> {
|
|
|
6203
6182
|
onClear?: (e: react.MouseEvent) => void;
|
|
6204
6183
|
clearable?: boolean;
|
|
6205
6184
|
isLoading?: boolean;
|
|
6185
|
+
showSpinner?: boolean;
|
|
6206
6186
|
startContent?: ReactNode;
|
|
6207
6187
|
endContent?: ReactNode;
|
|
6208
6188
|
renderValue?: (selected: SelectOptionItem<TData>[]) => ReactNode;
|
|
@@ -6211,7 +6191,7 @@ interface MultiSelectTriggerProps<TData = unknown> {
|
|
|
6211
6191
|
onKeyDown?: (e: react.KeyboardEvent<HTMLInputElement>) => void;
|
|
6212
6192
|
className?: string;
|
|
6213
6193
|
}
|
|
6214
|
-
declare function MultiSelectTrigger<TData = unknown>({ id, selectedOptions, isOpen, size, variant, color, radius, placeholder, disabled, readOnly, isInvalid, maxTagCount, searchable, searchPlacement, searchValue, onSearchChange, onRemoveTag, onClear, clearable, isLoading, startContent, endContent, renderValue, triggerRef, getReferenceProps, onKeyDown, className, }: MultiSelectTriggerProps<TData>): react_jsx_runtime.JSX.Element;
|
|
6194
|
+
declare function MultiSelectTrigger<TData = unknown>({ id, selectedOptions, isOpen, size, variant, color, radius, placeholder, disabled, readOnly, isInvalid, maxTagCount, searchable, searchPlacement, searchValue, onSearchChange, onRemoveTag, onClear, clearable, isLoading, showSpinner, startContent, endContent, renderValue, triggerRef, getReferenceProps, onKeyDown, className, }: MultiSelectTriggerProps<TData>): react_jsx_runtime.JSX.Element;
|
|
6215
6195
|
|
|
6216
6196
|
interface SelectMenuProps<TData = unknown, TFilters extends Record<string, unknown> = Record<string, unknown>> {
|
|
6217
6197
|
isOpen: boolean;
|
|
@@ -6226,6 +6206,7 @@ interface SelectMenuProps<TData = unknown, TFilters extends Record<string, unkno
|
|
|
6226
6206
|
radius?: SelectRadius;
|
|
6227
6207
|
isLoading?: boolean;
|
|
6228
6208
|
portal?: boolean;
|
|
6209
|
+
portalRoot?: HTMLElement | null | react.RefObject<HTMLElement | null>;
|
|
6229
6210
|
maxMenuHeight?: number | string;
|
|
6230
6211
|
emptyText?: ReactNode;
|
|
6231
6212
|
emptyProps?: Partial<EmptyProps>;
|
|
@@ -6252,7 +6233,7 @@ interface SelectMenuProps<TData = unknown, TFilters extends Record<string, unkno
|
|
|
6252
6233
|
listElementsRef: react.RefObject<(HTMLElement | null)[]>;
|
|
6253
6234
|
className?: string;
|
|
6254
6235
|
}
|
|
6255
|
-
declare function SelectMenu<TData = unknown, TFilters extends Record<string, unknown> = Record<string, unknown>>({ isOpen, isMounted, animated, transitionStyles, options, selectedValues, activeIndex, size, color, radius, isLoading, portal, maxMenuHeight, emptyText, emptyProps, menuHeader, menuFooter, listFooter, menuFilters, menuFilterValues, menuFilterLayout, menuFilterGridCols, showResetFilters, resetFiltersText, onMenuFilterChange, onResetFilters, renderOption, onSelectOption, onOptionMouseEnter, floatingStyles, floatingRef, getFloatingProps, listElementsRef, className, }: SelectMenuProps<TData, TFilters>): react_jsx_runtime.JSX.Element | null;
|
|
6236
|
+
declare function SelectMenu<TData = unknown, TFilters extends Record<string, unknown> = Record<string, unknown>>({ isOpen, isMounted, animated, transitionStyles, options, selectedValues, activeIndex, size, color, radius, isLoading, portal, portalRoot, maxMenuHeight, emptyText, emptyProps, menuHeader, menuFooter, listFooter, menuFilters, menuFilterValues, menuFilterLayout, menuFilterGridCols, showResetFilters, resetFiltersText, onMenuFilterChange, onResetFilters, renderOption, onSelectOption, onOptionMouseEnter, floatingStyles, floatingRef, getFloatingProps, listElementsRef, className, }: SelectMenuProps<TData, TFilters>): react_jsx_runtime.JSX.Element | null;
|
|
6256
6237
|
|
|
6257
6238
|
interface SelectMenuFilterProps<TFilters extends Record<string, unknown> = Record<string, unknown>> {
|
|
6258
6239
|
filters: SelectFilterField<unknown>[];
|
|
@@ -6547,6 +6528,14 @@ interface ModalContainerProps extends HTMLAttributes<HTMLDialogElement> {
|
|
|
6547
6528
|
* Class tùy biến CSS cho container bao ngoài dialog
|
|
6548
6529
|
*/
|
|
6549
6530
|
className?: string;
|
|
6531
|
+
/**
|
|
6532
|
+
* Tự động nhúng Toaster bên trong Modal (Top Layer) để hiển thị thông báo toast nổi trên modal.
|
|
6533
|
+
* - `true` (mặc định): Tự động hiển thị Toaster ở góc trên bên phải (top-right).
|
|
6534
|
+
* - `false`: Tắt Toaster bên trong modal.
|
|
6535
|
+
* - `ToasterProps`: Truyền cấu hình tùy biến cho Toaster.
|
|
6536
|
+
* @default true
|
|
6537
|
+
*/
|
|
6538
|
+
toaster?: boolean | ToasterProps;
|
|
6550
6539
|
/**
|
|
6551
6540
|
* Nội dung bên trong container (thường là component `<Modal>`)
|
|
6552
6541
|
*/
|
|
@@ -8334,6 +8323,14 @@ interface ConfirmContainerProps extends HTMLAttributes<HTMLDialogElement> {
|
|
|
8334
8323
|
* Class tùy biến CSS cho container bao ngoài dialog
|
|
8335
8324
|
*/
|
|
8336
8325
|
className?: string;
|
|
8326
|
+
/**
|
|
8327
|
+
* Tự động nhúng Toaster bên trong Confirm dialog (Top Layer) để hiển thị thông báo toast nổi trên confirm.
|
|
8328
|
+
* - `true` (mặc định): Tự động hiển thị Toaster ở góc trên bên phải (top-right).
|
|
8329
|
+
* - `false`: Tắt Toaster bên trong confirm dialog.
|
|
8330
|
+
* - `ToasterProps`: Truyền cấu hình tùy biến cho Toaster.
|
|
8331
|
+
* @default true
|
|
8332
|
+
*/
|
|
8333
|
+
toaster?: boolean | ToasterProps;
|
|
8337
8334
|
/**
|
|
8338
8335
|
* Nội dung bên trong container (thường là component `<Confirm>`)
|
|
8339
8336
|
*/
|
|
@@ -8361,7 +8358,7 @@ interface ConfirmCloseProps extends HTMLAttributes<HTMLElement> {
|
|
|
8361
8358
|
*/
|
|
8362
8359
|
declare function Confirm({ size, radius, className, children, ref, ...props }: ConfirmProps): react_jsx_runtime.JSX.Element;
|
|
8363
8360
|
|
|
8364
|
-
declare function ConfirmContainer({ open, size, color, isLoading, closeOnOverlayClick, closeOnEsc, lockScroll, overlayClassName, className, children, onClose, ...props }: ConfirmContainerProps): react_jsx_runtime.JSX.Element | null;
|
|
8361
|
+
declare function ConfirmContainer({ open, size, color, isLoading, closeOnOverlayClick, closeOnEsc, lockScroll, overlayClassName, className, toaster, children, onClose, ...props }: ConfirmContainerProps): react_jsx_runtime.JSX.Element | null;
|
|
8365
8362
|
|
|
8366
8363
|
/**
|
|
8367
8364
|
* Phần đầu của hộp thoại Confirm (Hiển thị icon badge, tiêu đề và nút đóng X)
|
|
@@ -8405,6 +8402,10 @@ interface ConfirmContextValue {
|
|
|
8405
8402
|
* Chủ đề màu sắc của Confirm
|
|
8406
8403
|
*/
|
|
8407
8404
|
color?: ConfirmColor;
|
|
8405
|
+
/**
|
|
8406
|
+
* Ref trỏ tới phần tử dialog HTML của ConfirmContainer
|
|
8407
|
+
*/
|
|
8408
|
+
dialogRef?: React.RefObject<HTMLDialogElement | null>;
|
|
8408
8409
|
}
|
|
8409
8410
|
/**
|
|
8410
8411
|
* Hook truy xuất context của Confirm từ bên trong `<ConfirmContainer>` hoặc `<Confirm>`
|
|
@@ -8413,7 +8414,7 @@ declare const useConfirmContext: () => ConfirmContextValue | null;
|
|
|
8413
8414
|
|
|
8414
8415
|
declare function Modal({ size, radius, className, children, ref, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
8415
8416
|
|
|
8416
|
-
declare function ModalContainer({ open, id, size, isLoading, closeOnOverlayClick, closeOnEsc, lockScroll, overlayClassName, className, children, onClose, ...props }: ModalContainerProps): react_jsx_runtime.JSX.Element | null;
|
|
8417
|
+
declare function ModalContainer({ open, id, size, isLoading, closeOnOverlayClick, closeOnEsc, lockScroll, overlayClassName, className, toaster, children, onClose, ...props }: ModalContainerProps): react_jsx_runtime.JSX.Element | null;
|
|
8417
8418
|
|
|
8418
8419
|
declare function ModalHeader({ size, title, description, titleClassName, descriptionClassName, showCloseButton, onClose, closeButtonClassName, className, children, ...props }: ModalHeaderProps): react_jsx_runtime.JSX.Element;
|
|
8419
8420
|
|
|
@@ -8427,6 +8428,7 @@ interface ModalContextValue {
|
|
|
8427
8428
|
onClose: () => void;
|
|
8428
8429
|
isLoading?: boolean;
|
|
8429
8430
|
size?: ModalSize;
|
|
8431
|
+
dialogRef?: React.RefObject<HTMLDialogElement | null>;
|
|
8430
8432
|
}
|
|
8431
8433
|
declare const useModalContext: () => ModalContextValue | null;
|
|
8432
8434
|
|
|
@@ -8587,22 +8589,13 @@ interface FuzzyFilterMeta {
|
|
|
8587
8589
|
type FuzzyFeatures = TableFeatures & {
|
|
8588
8590
|
filterMeta: FuzzyFilterMeta;
|
|
8589
8591
|
};
|
|
8590
|
-
/**
|
|
8591
|
-
* Thuật toán lọc Fuzzy (Fuzzy Filter) sử dụng `@tanstack/match-sorter-utils`.
|
|
8592
|
-
*
|
|
8593
|
-
* Tính năng:
|
|
8594
|
-
* - Chuẩn hóa và so khớp gần đúng (Equal, StartsWith, WordStartsWith, Contains, Acronym, Matches)
|
|
8595
|
-
* - Tự động loại bỏ dấu tiếng Việt / diacritics
|
|
8596
|
-
* - Không phân biệt chữ hoa / chữ thường (Case-insensitive)
|
|
8597
|
-
* - Đính kèm thông tin `RankingInfo` vào metadata qua `addMeta` để hỗ trợ sắp xếp theo độ liên quan
|
|
8598
|
-
*/
|
|
8599
8592
|
declare const fuzzyFilter: FilterFn<FuzzyFeatures, RowData>;
|
|
8600
8593
|
|
|
8601
8594
|
/**
|
|
8602
8595
|
* Bộ features tiêu chuẩn của @openway/ui dành cho TanStack Table v9.
|
|
8603
8596
|
* Bao gồm: Sắp xếp (Sorting), Phân trang (Pagination), Chọn dòng (Row Selection),
|
|
8604
8597
|
* Lọc cột & Lọc toàn bảng (Column & Global Filtering), Ẩn/hiện cột (Visibility),
|
|
8605
|
-
* Ghim cột (Pinning),
|
|
8598
|
+
* Ghim cột (Pinning), Sắp xếp thứ tự cột (Column Ordering), và Mở rộng dòng (Row Expanding).
|
|
8606
8599
|
*/
|
|
8607
8600
|
declare const defaultTableFeatures: {
|
|
8608
8601
|
rowSortingFeature: _tanstack_react_table.TableFeature;
|
|
@@ -8613,9 +8606,11 @@ declare const defaultTableFeatures: {
|
|
|
8613
8606
|
columnVisibilityFeature: _tanstack_react_table.TableFeature;
|
|
8614
8607
|
columnPinningFeature: _tanstack_react_table.TableFeature;
|
|
8615
8608
|
columnOrderingFeature: _tanstack_react_table.TableFeature;
|
|
8609
|
+
rowExpandingFeature: _tanstack_react_table.TableFeature;
|
|
8616
8610
|
sortedRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
|
|
8617
8611
|
paginatedRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
|
|
8618
8612
|
filteredRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
|
|
8613
|
+
expandedRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
|
|
8619
8614
|
filterFns: {
|
|
8620
8615
|
fuzzy: _tanstack_react_table.FilterFn<FuzzyFeatures, RowData>;
|
|
8621
8616
|
};
|
|
@@ -8922,6 +8917,10 @@ interface TableFilterDef<TValue = unknown> {
|
|
|
8922
8917
|
* Thuộc tính tùy biến truyền bổ sung vào component editor (DateRangePicker, DatePicker, CheckboxGroup...)
|
|
8923
8918
|
*/
|
|
8924
8919
|
props?: Record<string, unknown>;
|
|
8920
|
+
/**
|
|
8921
|
+
* Thời gian trì hoãn debounce (ms) riêng cho trường lọc này ở chế độ server (tùy chọn)
|
|
8922
|
+
*/
|
|
8923
|
+
debounceMs?: number;
|
|
8925
8924
|
/**
|
|
8926
8925
|
* Hàm render component tùy biến khi `type: 'custom'`
|
|
8927
8926
|
*/
|
|
@@ -9113,6 +9112,13 @@ interface DataTableProps<TData extends RowData = RowData> {
|
|
|
9113
9112
|
* @default false
|
|
9114
9113
|
*/
|
|
9115
9114
|
manualFiltering?: boolean;
|
|
9115
|
+
/**
|
|
9116
|
+
* Thời gian trì hoãn debounce (ms) khi thay đổi bộ lọc hoặc tìm kiếm ở chế độ server (`manualFiltering: true`).
|
|
9117
|
+
* Áp dụng cho toàn bộ các trường Input, NumberInput, DatePicker, DateRangePicker, CheckboxGroup/Select, custom và tìm kiếm toàn bảng.
|
|
9118
|
+
* Đặt 0 để tắt debounce (gọi ngay lập tức).
|
|
9119
|
+
* @default 300
|
|
9120
|
+
*/
|
|
9121
|
+
debounceMs?: number;
|
|
9116
9122
|
/**
|
|
9117
9123
|
* Tổng số trang trả về từ máy chủ (bắt buộc khi dùng `manualPagination={true}`)
|
|
9118
9124
|
*/
|
|
@@ -9186,6 +9192,84 @@ interface DataTableProps<TData extends RowData = RowData> {
|
|
|
9186
9192
|
* Callback khi trạng thái bộ lọc cột thay đổi (trả về mảng ColumnFiltersState của TanStack Table)
|
|
9187
9193
|
*/
|
|
9188
9194
|
onColumnFiltersChange?: ((filters: ColumnFiltersState) => void) | OnChangeFn<ColumnFiltersState>;
|
|
9195
|
+
/**
|
|
9196
|
+
* Bật tính năng mở rộng dòng (tự động bật nếu có `renderExpandedRow`, `getSubRows`, hoặc `expanded`)
|
|
9197
|
+
* @default false
|
|
9198
|
+
*/
|
|
9199
|
+
enableExpanding?: boolean;
|
|
9200
|
+
/**
|
|
9201
|
+
* Bật hiệu ứng mở rộng mượt mà (smooth slide down, fade in và hiệu ứng chuyển động)
|
|
9202
|
+
* @default true
|
|
9203
|
+
*/
|
|
9204
|
+
enableExpandingAnimation?: boolean;
|
|
9205
|
+
/**
|
|
9206
|
+
* Trạng thái dòng mở rộng điều khiển ngoài (Controlled state): `Record<rowId, boolean> | true`
|
|
9207
|
+
*/
|
|
9208
|
+
expanded?: ExpandedState;
|
|
9209
|
+
/**
|
|
9210
|
+
* Callback khi trạng thái mở rộng dòng thay đổi
|
|
9211
|
+
*/
|
|
9212
|
+
onExpandedChange?: ((expanded: ExpandedState) => void) | OnChangeFn<ExpandedState>;
|
|
9213
|
+
/**
|
|
9214
|
+
* Hàm trích xuất dữ liệu con cho cấu trúc cây phân cấp (Tree Data đa tầng)
|
|
9215
|
+
*/
|
|
9216
|
+
getSubRows?: (originalRow: TData, index: number) => undefined | TData[];
|
|
9217
|
+
/**
|
|
9218
|
+
* Điều kiện tùy biến xác định dòng nào có thể mở rộng được
|
|
9219
|
+
*/
|
|
9220
|
+
getRowCanExpand?: (row: Row<DefaultTableFeatures, TData>) => boolean;
|
|
9221
|
+
/**
|
|
9222
|
+
* Bật chế độ mở rộng thủ công từ máy chủ (Server-side expanding)
|
|
9223
|
+
* @default false
|
|
9224
|
+
*/
|
|
9225
|
+
manualExpanding?: boolean;
|
|
9226
|
+
/**
|
|
9227
|
+
* Tự động thu gọn các dòng đã mở rộng khi dữ liệu thay đổi hoặc phân trang
|
|
9228
|
+
* @default true
|
|
9229
|
+
*/
|
|
9230
|
+
autoResetExpanded?: boolean;
|
|
9231
|
+
/**
|
|
9232
|
+
* Phân trang các dòng con cùng với các dòng chính của bảng
|
|
9233
|
+
* @default true
|
|
9234
|
+
*/
|
|
9235
|
+
paginateExpandedRows?: boolean;
|
|
9236
|
+
/**
|
|
9237
|
+
* Hàm render giao diện tùy biến (Detail Panel gộp colSpan) bên dưới dòng cha khi mở rộng
|
|
9238
|
+
*/
|
|
9239
|
+
renderExpandedRow?: (row: Row<DefaultTableFeatures, TData>) => ReactNode;
|
|
9240
|
+
/**
|
|
9241
|
+
* Tự động hiển thị nút mở rộng dòng
|
|
9242
|
+
* @default true (khi tính năng expanding được kích hoạt)
|
|
9243
|
+
*/
|
|
9244
|
+
showExpandColumn?: boolean;
|
|
9245
|
+
/**
|
|
9246
|
+
* Chế độ hiển thị nút mở rộng dòng:
|
|
9247
|
+
* - 'integrated': Tích hợp trực tiếp nút mở rộng và thụt lề vào cột dữ liệu đầu tiên (mặc định, không tách riêng cột)
|
|
9248
|
+
* - 'standalone': Tách thành một cột riêng biệt `_expand`
|
|
9249
|
+
* - 'none': Không tự động render UI nút mở rộng
|
|
9250
|
+
* @default 'integrated'
|
|
9251
|
+
*/
|
|
9252
|
+
expandColumnMode?: "integrated" | "standalone" | "none";
|
|
9253
|
+
/**
|
|
9254
|
+
* ID cột được tích hợp nút mở rộng khi dùng chế độ `expandColumnMode='integrated'`.
|
|
9255
|
+
* Mặc định tự động gắn vào cột nội dung đầu tiên (sau cột `_select`).
|
|
9256
|
+
*/
|
|
9257
|
+
expandColumnId?: string;
|
|
9258
|
+
/**
|
|
9259
|
+
* Vị trí đặt cột nút mở rộng dòng khi ở chế độ `expandColumnMode='standalone'` ('start' ở đầu bảng, 'end' ở cuối bảng)
|
|
9260
|
+
* @default 'start'
|
|
9261
|
+
*/
|
|
9262
|
+
expandColumnPosition?: "start" | "end";
|
|
9263
|
+
/**
|
|
9264
|
+
* Mức độ thụt đầu dòng tối đa cho dữ liệu dạng cây (tránh thụt quá sâu làm vỡ layout)
|
|
9265
|
+
* @default 4
|
|
9266
|
+
*/
|
|
9267
|
+
maxIndentDepth?: number;
|
|
9268
|
+
/**
|
|
9269
|
+
* Khoảng cách thụt lề cho mỗi cấp độ sâu (tính bằng rem)
|
|
9270
|
+
* @default 1.25
|
|
9271
|
+
*/
|
|
9272
|
+
indentSize?: number;
|
|
9189
9273
|
/**
|
|
9190
9274
|
* Callback được kích hoạt khi người dùng click vào một dòng trong bảng
|
|
9191
9275
|
*/
|
|
@@ -9232,6 +9316,6 @@ declare function TablePagination<TData extends RowData = RowData>({ table, pageS
|
|
|
9232
9316
|
|
|
9233
9317
|
declare function TableToolbar<TData extends RowData = RowData>({ table, searchPlaceholder, enableGlobalFilter, enableColumnVisibility, isRefresh, onRefresh, actions, selectedActions, filters, filterValues, onFilterChange, onFilterReset, className, }: TableToolbarProps<TData>): react_jsx_runtime.JSX.Element;
|
|
9234
9318
|
|
|
9235
|
-
declare function DataTable<TData extends RowData = RowData>({ columns, data, variant, size, isLoading, isRefresh, onRefresh, loadingRowsCount, emptyText, emptyIllustration, enableSorting, enableFiltering, enablePagination, enableRowSelection, enableColumnVisibility, enableColumnOrdering, filters, searchPlaceholder, toolbarActions, renderBulkActions, pageSizeOptions, initialPageSize, manualPagination, manualSorting, manualFiltering, pageCount, rowCount, pagination: controlledPagination, onPaginationChange, sorting: controlledSorting, onSortingChange, rowSelection: controlledRowSelection, onRowSelectionChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange, columnOrder: controlledColumnOrder, onColumnOrderChange, globalFilter: controlledGlobalFilter, onGlobalFilterChange, globalFilterFn: controlledGlobalFilterFn, columnFilters: controlledColumnFilters, onColumnFiltersChange, onRowClick, className, containerClassName, }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
9319
|
+
declare function DataTable<TData extends RowData = RowData>({ columns, data, variant, size, isLoading, isRefresh, onRefresh, loadingRowsCount, emptyText, emptyIllustration, enableSorting, enableFiltering, enablePagination, enableRowSelection, enableColumnVisibility, enableColumnOrdering, enableExpanding, enableExpandingAnimation, expanded: controlledExpanded, onExpandedChange, getSubRows, getRowCanExpand, manualExpanding, autoResetExpanded, paginateExpandedRows, renderExpandedRow, showExpandColumn, expandColumnMode, expandColumnId, expandColumnPosition, maxIndentDepth, indentSize, filters, searchPlaceholder, toolbarActions, renderBulkActions, pageSizeOptions, initialPageSize, manualPagination, manualSorting, manualFiltering, pageCount, rowCount, debounceMs, pagination: controlledPagination, onPaginationChange, sorting: controlledSorting, onSortingChange, rowSelection: controlledRowSelection, onRowSelectionChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange, columnOrder: controlledColumnOrder, onColumnOrderChange, globalFilter: controlledGlobalFilter, onGlobalFilterChange, globalFilterFn: controlledGlobalFilterFn, columnFilters: controlledColumnFilters, onColumnFiltersChange, onRowClick, className, containerClassName, }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
9236
9320
|
|
|
9237
9321
|
export { AUDIO_EXTENSIONS, Alert, AlertCircleIcon, AlertProps, AlertTriangleIcon, ArrowDownIcon, ArrowUpDownIcon, ArrowUpIcon, AvatarIcon, type AvatarIconProps, Badge, type BadgeColor, type BadgeProps, type BadgeRadius, type BadgeSize, type BadgeVariant, Button, type ButtonColor, type ButtonProps, type ButtonRadius, type ButtonSize, type ButtonVariant, Calendar, type CalendarDay, CalendarHeader, type CalendarHeaderProps, CalendarIcon, type CalendarProps, type CalendarView, Carousel, type CarouselArrowPosition, CarouselContent, type CarouselContentProps, type CarouselContextValue, type CarouselNavigationProps, type CarouselNavigationVariant, CarouselNext, CarouselPagination, type CarouselPaginationProps, type CarouselPaginationType, CarouselPrevious, type CarouselProps, type CarouselRadius, type CarouselSize, CarouselSlide, type CarouselSlideProps, CheckCircleIcon, CheckIcon, Checkbox, type CheckboxColor, type CheckboxConfig, CheckboxGroup, type CheckboxGroupConfig, type CheckboxGroupOrientation, type CheckboxGroupProps, type CheckboxLabelPlacement, type CheckboxOptionItem, type CheckboxProps, type CheckboxRadius, type CheckboxSearchMode, type CheckboxSize, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ClockIcon, CloseIcon, Collapse, type CollapseActiveKey, type CollapseColor, CollapseContent, type CollapseContentProps, type CollapseContextValue$1 as CollapseContextValue, type CollapseExpandIconPosition, CollapseHeader, type CollapseHeaderProps, CollapsePanel, type CollapsePanelContextValue$1 as CollapsePanelContextValue, type CollapsePanelProps, type CollapseProps, type CollapseRadius, type CollapseSize, type CollapseVariant, Collapsible, type CollapsibleProps, type ColumnOrderState, Confirm, ConfirmBody, type ConfirmBodyProps, ConfirmClose, type ConfirmCloseProps, type ConfirmColor, ConfirmContainer, type ConfirmContainerProps, ConfirmFooter, type ConfirmFooterProps, ConfirmHeader, type ConfirmHeaderProps, type ConfirmProps, type ConfirmRadius, type ConfirmSize, CropIcon, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_TOAST_DURATION, DOCUMENT_EXTENSIONS, DataTable, type DataTableProps, DatePicker, type DatePickerColor, type DatePickerConfig, type DatePickerProps, type DatePickerRadius, type DatePickerSize, type DatePickerVariant, type DateRange, DateRangeCalendar, type DateRangeCalendarDay, type DateRangeCalendarProps, DateRangeDayGrid, type DateRangeDayGridProps, DateRangeHeader, type DateRangeHeaderProps, DateRangeMonthGrid, type DateRangeMonthGridProps, DateRangePicker, type DateRangePickerColor, type DateRangePickerConfig, type DateRangePickerProps, type DateRangePickerRadius, type DateRangePickerSize, type DateRangePickerVariant, type DateRangeValue, DateRangeYearGrid, type DateRangeYearGridProps, DateTimePicker, type DateTimePickerColor, type DateTimePickerConfig, type DateTimePickerLayout, type DateTimePickerProps, type DateTimePickerRadius, type DateTimePickerSize, type DateTimePickerVariant, type DateTimeRange, DateTimeRangePicker, type DateTimeRangePickerColor, type DateTimeRangePickerConfig, type DateTimeRangePickerLayout, type DateTimeRangePickerProps, type DateTimeRangePickerRadius, type DateTimeRangePickerSize, type DateTimeRangePickerVariant, type DateTimeRangeValue, type DateTimeValue, type DateValue, DayGrid, type DayGridProps, type DefaultTableFeatures, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadIcon, type DraggableTableHeadProps, Dropdown, type DropdownColor, type DropdownContextValue, DropdownGroup, type DropdownGroupProps, DropdownHeader, type DropdownHeaderProps, DropdownItem, type DropdownItemProps, DropdownMenu, type DropdownMenuProps, type DropdownPlacement, type DropdownProps, type DropdownRadius, DropdownSeparator, type DropdownSeparatorProps, type DropdownSize, DropdownTrigger, type DropdownTriggerProps, type DropdownTriggerType, Empty, EmptyDefaultIcon, EmptyErrorIcon, EmptyFolderIcon, EmptyIllustration, EmptyPresetImage, EmptyProps, EmptySearchIcon, EmptySimpleIcon, EyeIcon, type FileCategory, FileContainer, type FileContainerProps, FileIcon, type FileIconProps, FilePreview, type FilePreviewProps, type FileType, FlipHorizontalIcon, IMAGE_EXTENSIONS, IconButton, type IconButtonProps, ImageIcon, type ImageItem, ImagePreview, type ImagePreviewProps, ImagePreviewToolbar, type ImagePreviewToolbarProps, InfoCircleIcon, Input, type InputColor, type InputConfig, type InputProps, type InputRadius, type InputSize, type InputVariant, type LabelPlacement, LoadingImage, type LoadingImageProps, type LocaleConfig, MinusIcon, Modal, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalContainer, type ModalContainerProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalRadius, type ModalSize, MonthGrid, type MonthGridProps, MultiInput, type MultiInputConfig, type MultiInputProps, MultiSelect, MultiSelectProps, MultiSelectTrigger, NumberInput, type NumberInputProps, OtpInput, type OtpInputConfig, type OtpInputProps, type OtpInputRef, type OtpInputType, PDF_EXTENSIONS, PasswordInput, type PasswordInputProps, PlusIcon, Popover, PopoverBody, type PopoverBodyProps, PopoverClose, type PopoverCloseProps, type PopoverColor, PopoverContent, type PopoverContentProps, type PopoverContextValue, PopoverFooter, type PopoverFooterProps, PopoverHeader, type PopoverHeaderProps, type PopoverPlacement, type PopoverProps, type PopoverRadius, type PopoverSize, PopoverTrigger, type PopoverTriggerProps, type PopoverTriggerType, type PreviewFile, Radio, type RadioColor, type RadioConfig, RadioDotIcon, RadioGroup, type RadioGroupConfig, type RadioGroupOrientation, type RadioGroupProps, type RadioLabelPlacement, type RadioOptionItem, type RadioProps, type RadioSearchMode, type RadioSize, type RadioVariant, ResetIcon, RotateCcwIcon, RotateCwIcon, SearchIcon, Select, SelectColor, Select as SelectComponent, SelectFilterField, SelectFilterLayout, SelectMenu, SelectMenuFilter, SelectOption, SelectOptionItem, SelectProps, SelectRadius, SelectSearchPlacement, SelectSize, SingleSelectTrigger as SelectTrigger, SelectVariant, type ServerFile, SingleSelectTrigger, Skeleton, type SkeletonObjectFit, type SkeletonProps, type SkeletonRadius, type SkeletonShape, type SkeletonVariant, Slider, type SliderColor, type SliderConfig, type SliderLabelPlacement, type SliderMark, SliderMarks, type SliderOrientation, type SliderProps, type SliderRadius, type SliderSize, SliderStepDots, SliderThumb, type SliderTooltipMode, type SliderTooltipPlacement, type SliderValue, type SliderVariant, SlidersHorizontalIcon, Spinner, Tab, type TabColor, TabList, type TabListProps, type TabOrientation, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabPlacement, type TabProps, type TabRadius, type TabSize, type TabVariant, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableColumnHeader, type TableColumnHeaderProps, type TableFilterDef, type TableFilterOption, type TableFilterType, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TablePagination, type TablePaginationProps, type TableProps, TableRow, type TableRowProps, type TableSize, TableToolbar, type TableToolbarProps, type TableVariant, Tabs, type TabsProps, type TagRenderProps, TextArea, type TextAreaColor, type TextAreaConfig, type TextAreaLabelPlacement, type TextAreaProps, type TextAreaRadius, type TextAreaResize, type TextAreaSize, type TextAreaVariant, TimeColumn, type TimeColumnItem, type TimeColumnProps, type TimeObject, type TimePeriod, TimePicker, type TimePickerColor, type TimePickerConfig, type TimePickerProps, type TimePickerRadius, type TimePickerSize, type TimePickerVariant, type TimeRange, TimeRangePicker, type TimeRangePickerColor, type TimeRangePickerConfig, type TimeRangePickerProps, type TimeRangePickerRadius, type TimeRangePickerSize, type TimeRangePickerVariant, type TimeRangeValue, type TimeValue, TimeView, type TimeViewProps, ToastOptions, ToastPromiseOptions, Toaster, ToasterProps, Toggle, type ToggleColor, type ToggleConfig, type ToggleLabelPlacement, type ToggleProps, type ToggleRadius, type ToggleSize, type ToggleVariant, type ToolbarToolsConfig, Tooltip, type TooltipColor, type TooltipPlacement, type TooltipProps, type TooltipRadius, type TooltipSize, type TooltipVariant, TrashIcon, UploadAvatar, type UploadAvatarColor, type UploadAvatarConfig, UploadAvatarCropContent, UploadAvatarCropModal, type UploadAvatarCropOptions, type UploadAvatarLabelPlacement, type UploadAvatarProps, type UploadAvatarRadius, type UploadAvatarShape, type UploadAvatarSize, type UploadAvatarVariant, UploadFile, type UploadFileColor, type UploadFileConfig, type UploadFileDragStatus, UploadFileDropzone, type UploadFileDropzoneProps, UploadFileItemRow, type UploadFileItemRowProps, UploadFileList, type UploadFileListProps, type UploadFileListType, type UploadFileProps, type UploadFileRadius, type UploadFileShape, type UploadFileSize, type UploadFileVariant, type UploadFileViewMode, UploadIcon, UploadImage, type UploadImageColor, type UploadImageDragStatus, UploadImageDropzone, type UploadImageDropzoneProps, UploadImageList, type UploadImageListProps, type UploadImageObjectFit, type UploadImageProps, type UploadImageRadius, type UploadImageShape, type UploadImageSize, type UploadImageVariant, type UploadImageViewMode, type UseDataTableOptions, type UseFloatingTransitionOptions, VIDEO_EXTENSIONS, YearGrid, type YearGridProps, ZoomInIcon, ZoomOutIcon, checkIsDisabled, clamp, combineDateTime, createDateWithTime, createTableColumnHelper, defaultTableFeatures, downloadFile, formatBytes, formatDate, formatDateTime, formatNumberString, formatTime, fuzzyFilter, generateCalendarGrid, generateRangeCalendarGrid, getDefaultDateTimeFormat, getDefaultFormat, getFileCategory, getFileExtension, getFileName, getFileType, getISOWeekNumber, getPercentage, getSafeConfig, isDateAfter, isDateBefore, isSameDay, isSameMonth, isSameTime, isTimeAfter, isTimeBefore, isTimeInRange, isValidOtpChar, normalizePreviewFile, padZero, parseDate, parseDateTime, parseNumber, parseRawNumberString, parseTimeToDate, rankAndFilterItems, resolveLocale, sanitizeOtpString, splitTagsFromText, toDate, toDateTime, toTimeObject, toast, useAnimatedError, useCarousel, useCarouselContext, useCollapseContext, useCollapsePanelContext, useConfirmContext, useDataTable, useDebounce, useDebouncedCallback, useDropdownContext, useFileContext, useFloatingTransition, useModalContext, usePopoverContext, useTableStyles, useTabsContext };
|