sti-antd-package 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DataGrid/Component.d.ts +2 -1
- package/dist/components/DataGrid/Filter/Input/Component.d.ts +3 -0
- package/dist/components/DataGrid/Filter/Input/index.d.ts +2 -0
- package/dist/components/DataGrid/Filter/Input/types.d.ts +2 -0
- package/dist/components/DataGrid/Filter/Renderer/Component.d.ts +3 -0
- package/dist/components/DataGrid/Filter/Renderer/index.d.ts +2 -0
- package/dist/components/DataGrid/Filter/Renderer/types.d.ts +9 -0
- package/dist/components/DataGrid/SelectAsync/Component.d.ts +2 -0
- package/dist/components/DataGrid/types.d.ts +11 -4
- package/dist/components/DatePicker/types.d.ts +5 -5
- package/dist/components/DateRangePicker/types.d.ts +5 -5
- package/dist/components/Input/types.d.ts +1 -0
- package/dist/components/NumberFormat/types.d.ts +1 -1
- package/dist/components/Table/Async/Search/types.d.ts +14 -6
- package/dist/components/Table/types.d.ts +1 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/constants/datePickerFormat.d.ts +7 -3
- package/dist/constants/index.d.ts +1 -0
- package/dist/context/DataGrid/Context.d.ts +2 -2
- package/dist/context/DataGrid/Provider.d.ts +4 -2
- package/dist/context/DataGrid/types.d.ts +60 -10
- package/dist/context/TableAsyncSearch/types.d.ts +3 -4
- package/dist/context/index.d.ts +1 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/index.d.ts +240 -184
- package/dist/index.esm.js +4259 -4054
- package/dist/index.js +4257 -4053
- package/package.json +1 -1
- package/dist/components/DataGrid/FilterRenderer/Component.d.ts +0 -4
- package/dist/components/DataGrid/FilterRenderer/types.d.ts +0 -6
- package/dist/hooks/useFocus/hooks.d.ts +0 -7
- package/dist/hooks/useFocus/index.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from 'antd/es/button';
|
|
2
2
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
3
|
import { TooltipPlacement } from 'antd/es/tooltip';
|
|
4
|
-
import
|
|
5
|
-
import React__default, { Ref, JSXElementConstructor } from 'react';
|
|
4
|
+
import React$1, { Ref, JSXElementConstructor } from 'react';
|
|
6
5
|
import { CardProps, CheckboxChangeEvent, CheckboxOptionType, DatePickerProps as DatePickerProps$1, DatePicker, DropDownProps, RadioChangeEvent, SelectProps, ThemeConfig, TablePaginationConfig as TablePaginationConfig$1, FormInstance, TagProps } from 'antd';
|
|
7
6
|
export { Form } from 'antd';
|
|
8
7
|
import { CardSize } from 'antd/es/card/Card';
|
|
@@ -13,6 +12,9 @@ import { Rule, RuleObject } from 'rc-field-form/es/interface';
|
|
|
13
12
|
import { NamePath, Rule as Rule$1, RuleObject as RuleObject$1, StoreValue, Store } from 'rc-field-form/lib/interface';
|
|
14
13
|
import { ShouldUpdate } from 'rc-field-form/lib/Field';
|
|
15
14
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
15
|
+
import { AnyObject } from 'antd/es/_util/type';
|
|
16
|
+
import { AxiosResponse } from 'axios';
|
|
17
|
+
import { ColumnOrColumnGroup } from 'react-data-grid';
|
|
16
18
|
import { DatePickerProps, RangePickerProps } from 'antd/es/date-picker';
|
|
17
19
|
import { Rule as Rule$2, RuleObject as RuleObject$2 } from 'antd/es/form';
|
|
18
20
|
import dayjs, { Dayjs } from 'dayjs';
|
|
@@ -23,19 +25,15 @@ import { OnValueChange } from 'react-number-format';
|
|
|
23
25
|
import { RadioGroupButtonStyle, RadioGroupOptionType } from 'antd/lib/radio';
|
|
24
26
|
import { DefaultOptionType as DefaultOptionType$1 } from 'antd/es/select';
|
|
25
27
|
import { ClassTransformOptions } from 'class-transformer';
|
|
26
|
-
import {
|
|
27
|
-
import { TableRowSelection, ColumnsType, TablePaginationConfig, FilterValue, SorterResult, TableCurrentDataSource, ColumnType as ColumnType$1, ColumnGroupType } from 'antd/es/table/interface';
|
|
28
|
+
import { TableRowSelection, ColumnsType, TablePaginationConfig, FilterValue, SorterResult, TableCurrentDataSource, ColumnType, ColumnGroupType } from 'antd/es/table/interface';
|
|
28
29
|
import { TableProps } from 'rc-table';
|
|
29
30
|
import { GetRowKey, ExpandableConfig } from 'rc-table/lib/interface';
|
|
30
|
-
import { AxiosResponse } from 'axios';
|
|
31
31
|
import { TabsType, TabsPosition, TabsProps } from 'antd/es/tabs';
|
|
32
32
|
import { MessageInstance } from 'antd/es/message/interface';
|
|
33
33
|
import { HookAPI } from 'antd/es/modal/useModal';
|
|
34
34
|
import { NotificationInstance } from 'antd/es/notification/interface';
|
|
35
35
|
import { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
|
|
36
36
|
import { ColSize } from 'antd/es/grid';
|
|
37
|
-
import { InputRef } from 'rc-input';
|
|
38
|
-
import { BaseSelectRef } from 'rc-select';
|
|
39
37
|
|
|
40
38
|
declare const styleCSS: Record<string, string>;
|
|
41
39
|
|
|
@@ -46,14 +44,14 @@ declare const TransformDayjs: () => Function;
|
|
|
46
44
|
declare const TransformNumber: () => Function;
|
|
47
45
|
|
|
48
46
|
interface ButtonComponentRef {
|
|
49
|
-
setLoading:
|
|
47
|
+
setLoading: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
50
48
|
}
|
|
51
49
|
interface ButtonComponentProps {
|
|
52
50
|
tooltip?: {
|
|
53
|
-
title?: string |
|
|
51
|
+
title?: string | React$1.ReactNode;
|
|
54
52
|
placement?: TooltipPlacement;
|
|
55
53
|
};
|
|
56
|
-
icon?:
|
|
54
|
+
icon?: React$1.ReactNode;
|
|
57
55
|
href?: string;
|
|
58
56
|
htmlType?: ButtonHTMLType;
|
|
59
57
|
shape?: ButtonShape;
|
|
@@ -64,17 +62,21 @@ interface ButtonComponentProps {
|
|
|
64
62
|
classNames?: string[];
|
|
65
63
|
disabled?: boolean;
|
|
66
64
|
loading?: boolean;
|
|
67
|
-
onClick?:
|
|
68
|
-
style?:
|
|
69
|
-
children?:
|
|
65
|
+
onClick?: React$1.MouseEventHandler<HTMLElement>;
|
|
66
|
+
style?: React$1.CSSProperties;
|
|
67
|
+
children?: React$1.ReactNode;
|
|
70
68
|
ref?: Ref<ButtonComponentRef>;
|
|
71
69
|
}
|
|
72
70
|
|
|
73
|
-
declare const ButtonComponent:
|
|
71
|
+
declare const ButtonComponent: React$1.FC<ButtonComponentProps>;
|
|
74
72
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
type DatePickerFormatType = "default" | "month" | "year";
|
|
74
|
+
interface DatePickerFormat {
|
|
75
|
+
default: string;
|
|
76
|
+
month: string;
|
|
77
|
+
year: string;
|
|
78
|
+
}
|
|
79
|
+
declare const datePickerFormat: DatePickerFormat;
|
|
78
80
|
|
|
79
81
|
type FormColSizeSpan = {
|
|
80
82
|
xs?: {
|
|
@@ -140,7 +142,7 @@ interface ButtonGroupEditComponentProps {
|
|
|
140
142
|
};
|
|
141
143
|
}
|
|
142
144
|
|
|
143
|
-
declare const ButtonGroupEditComponent:
|
|
145
|
+
declare const ButtonGroupEditComponent: React$1.FC<ButtonGroupEditComponentProps>;
|
|
144
146
|
|
|
145
147
|
interface CardComponentProps {
|
|
146
148
|
size?: CardSize;
|
|
@@ -153,7 +155,7 @@ interface CardComponentProps {
|
|
|
153
155
|
children?: React.ReactNode;
|
|
154
156
|
}
|
|
155
157
|
|
|
156
|
-
declare const CardComponent:
|
|
158
|
+
declare const CardComponent: React$1.FC<CardComponentProps>;
|
|
157
159
|
|
|
158
160
|
interface CascaderComponentRef<OptionType extends DefaultOptionType, ValueField extends keyof OptionType> {
|
|
159
161
|
value: () => CascaderProps<OptionType, ValueField>['value'];
|
|
@@ -187,7 +189,7 @@ interface CascaderComponentProps<OptionType extends DefaultOptionType, ValueFiel
|
|
|
187
189
|
ref?: Ref<CascaderComponentRef<OptionType, ValueField>>;
|
|
188
190
|
}
|
|
189
191
|
|
|
190
|
-
declare const CascaderComponent: <OptionType extends DefaultOptionType, ValueField extends keyof OptionType>({ noItem, size, classNames, variant, expandTrigger, open, disabled, suffixIcon, placeholder, value, defaultValue, options, displayRender, onChange, onSearch, formColLayout, name, label, required, rules, ruleType, ruleMessage, validateStatus, help, ref, }: CascaderComponentProps<OptionType, ValueField>) =>
|
|
192
|
+
declare const CascaderComponent: <OptionType extends DefaultOptionType, ValueField extends keyof OptionType>({ noItem, size, classNames, variant, expandTrigger, open, disabled, suffixIcon, placeholder, value, defaultValue, options, displayRender, onChange, onSearch, formColLayout, name, label, required, rules, ruleType, ruleMessage, validateStatus, help, ref, }: CascaderComponentProps<OptionType, ValueField>) => React$1.ReactElement;
|
|
191
193
|
|
|
192
194
|
interface CheckboxComponentRef {
|
|
193
195
|
checked: () => boolean;
|
|
@@ -218,11 +220,11 @@ interface CheckboxForm {
|
|
|
218
220
|
}
|
|
219
221
|
type CheckboxComponentProps = Checkbox & CheckboxForm;
|
|
220
222
|
|
|
221
|
-
declare const CheckboxComponent$1:
|
|
223
|
+
declare const CheckboxComponent$1: React$1.FC<CheckboxComponentProps>;
|
|
222
224
|
|
|
223
225
|
interface CheckboxGroupComponentRef<T> {
|
|
224
226
|
value: () => T[];
|
|
225
|
-
setValue:
|
|
227
|
+
setValue: React$1.Dispatch<React$1.SetStateAction<T[]>>;
|
|
226
228
|
}
|
|
227
229
|
interface CheckboxGroup<T> {
|
|
228
230
|
options?: (CheckboxOptionType<T> | string | number)[];
|
|
@@ -235,15 +237,141 @@ type CheckboxGroupComponentProps<T> = CheckboxGroup<T> & CheckboxForm;
|
|
|
235
237
|
|
|
236
238
|
declare const CheckboxComponent: <T>({ noItem, loading, disabled, options, value, defaultValue, onChange, removeError, formColLayout, name, label, required, rules, ruleType, ruleMessage, validateStatus, help, shouldUpdate, ref, }: CheckboxGroupComponentProps<T>) => react_jsx_runtime.JSX.Element;
|
|
237
239
|
|
|
240
|
+
declare const colInline: (col: {
|
|
241
|
+
[key: string]: any;
|
|
242
|
+
}) => {
|
|
243
|
+
[key: string]: any;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
declare const colLayout: ({ labelCol, wrapperCol }: FormColLayout) => {
|
|
247
|
+
xs?: ColSize;
|
|
248
|
+
sm?: ColSize;
|
|
249
|
+
md?: ColSize;
|
|
250
|
+
lg?: ColSize;
|
|
251
|
+
xl?: ColSize;
|
|
252
|
+
xxl?: ColSize;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
declare const getTableAsyncName: (name: string | string[], isName?: boolean) => string;
|
|
256
|
+
|
|
257
|
+
declare const getTableFilterStorage: (name?: string) => {
|
|
258
|
+
[key: string]: any;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
interface SelectAsyncFormat {
|
|
262
|
+
[key: string]: any;
|
|
263
|
+
value: string | number | ((data: AnyObject) => string | number);
|
|
264
|
+
label?: string | ((data: AnyObject) => string | React.ReactNode);
|
|
265
|
+
text?: string | ((data: AnyObject) => string | React.ReactNode);
|
|
266
|
+
}
|
|
267
|
+
interface SelectAsyncProps {
|
|
268
|
+
format: SelectAsyncFormat;
|
|
269
|
+
request: (search: string) => Promise<AxiosResponse>;
|
|
270
|
+
initData?: AnyObject | AnyObject[];
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
declare const selectAsync: ({ format, request, initData, }: SelectAsyncProps) => [fetchList: (search: string) => Promise<any>, initOptions: AnyObject[], formatOptions: (data: AnyObject) => {
|
|
274
|
+
[key: string]: any;
|
|
275
|
+
encryption_id: any;
|
|
276
|
+
}];
|
|
277
|
+
|
|
278
|
+
declare const toCamel: (string: string) => string;
|
|
279
|
+
|
|
280
|
+
type DataGridColumnType = "text" | "select" | "date-picker";
|
|
281
|
+
interface DataGrridColumnText {
|
|
282
|
+
type: "text";
|
|
283
|
+
}
|
|
284
|
+
interface DataGridColumnSelect {
|
|
285
|
+
type: "select";
|
|
286
|
+
selectedOptions?: (data: any) => SelectAsyncFormat;
|
|
287
|
+
}
|
|
288
|
+
interface DataGridColumnDatePicker {
|
|
289
|
+
type: "date-picker";
|
|
290
|
+
format: string;
|
|
291
|
+
}
|
|
292
|
+
type DataGridColumn<Row, SummaryRow = unknown> = ColumnOrColumnGroup<Row, SummaryRow> & {
|
|
293
|
+
key: string;
|
|
294
|
+
dataIndex?: string | string[];
|
|
295
|
+
defaultValue?: any;
|
|
296
|
+
hide?: boolean;
|
|
297
|
+
} & (DataGrridColumnText | DataGridColumnSelect | DataGridColumnDatePicker);
|
|
298
|
+
type DataGridFilterColumnType = "text" | "select";
|
|
299
|
+
type DataGridFilterColumnSelectOptionKeyType = "value" | "label";
|
|
300
|
+
interface DataGridFilterColumn {
|
|
301
|
+
type: DataGridFilterColumnType;
|
|
302
|
+
value: string;
|
|
303
|
+
selectOptionKey?: DataGridFilterColumnSelectOptionKeyType;
|
|
304
|
+
}
|
|
305
|
+
interface DataGridFilter {
|
|
306
|
+
[key: string]: DataGridFilterColumn;
|
|
307
|
+
}
|
|
308
|
+
interface DataGridRow<Key> {
|
|
309
|
+
index: Key;
|
|
310
|
+
read: boolean;
|
|
311
|
+
extraData?: {
|
|
312
|
+
[key: string]: any;
|
|
313
|
+
};
|
|
314
|
+
originalData?: {
|
|
315
|
+
[key: string]: any;
|
|
316
|
+
};
|
|
317
|
+
[key: string]: any;
|
|
318
|
+
}
|
|
319
|
+
interface DataGridExtraData {
|
|
320
|
+
[key: string]: (data: any) => any;
|
|
321
|
+
}
|
|
322
|
+
type AddRow<Row> = (index: number, data?: {
|
|
323
|
+
[key: string]: any;
|
|
324
|
+
}) => Row;
|
|
325
|
+
type InitRows = (data?: any[]) => void;
|
|
326
|
+
interface DataGridContextType<Row extends DataGridRow<Key>, SummaryRow = unknown, Key extends React$1.Key = React$1.Key> {
|
|
327
|
+
rows?: Row[];
|
|
328
|
+
setRows?: React$1.Dispatch<React$1.SetStateAction<Row[]>>;
|
|
329
|
+
extraData?: DataGridExtraData;
|
|
330
|
+
setExtraData?: React$1.Dispatch<React$1.SetStateAction<DataGridExtraData>>;
|
|
331
|
+
filterHeader?: boolean;
|
|
332
|
+
filter?: DataGridFilter;
|
|
333
|
+
setFilter?: React$1.Dispatch<React$1.SetStateAction<DataGridFilter>>;
|
|
334
|
+
loading?: boolean;
|
|
335
|
+
setLoading?: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
336
|
+
selectedRows?: ReadonlySet<Key>;
|
|
337
|
+
setSelectedRows?: React$1.Dispatch<React$1.SetStateAction<ReadonlySet<Key> | undefined>>;
|
|
338
|
+
inputStopPropagation?: (event: React$1.KeyboardEvent<HTMLInputElement>) => void;
|
|
339
|
+
selectStopPropagation?: (event: React$1.KeyboardEvent<HTMLDivElement>) => void;
|
|
340
|
+
columns?: DataGridColumn<Row, SummaryRow>[];
|
|
341
|
+
addRow?: AddRow<Row>;
|
|
342
|
+
initRows?: InitRows;
|
|
343
|
+
}
|
|
344
|
+
interface DataGridProviderProps<Row, SummaryRow = unknown> {
|
|
345
|
+
filterHeader?: boolean;
|
|
346
|
+
columns: DataGridColumn<Row, SummaryRow>[];
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
declare const useDataGrid: <Row extends DataGridRow<Key>, SummaryRow = unknown, Key extends React.Key = React.Key>() => DataGridContextType<Row, SummaryRow, Key>;
|
|
350
|
+
|
|
351
|
+
interface DataGridComponentRef {
|
|
352
|
+
setLoading: React$1.Dispatch<React$1.SetStateAction<boolean>> | undefined;
|
|
353
|
+
filter: () => DataGridFilter | undefined;
|
|
354
|
+
setFilter: (filter: DataGridFilter) => void;
|
|
355
|
+
}
|
|
356
|
+
type DataGridComponentProps = {
|
|
357
|
+
addRows?: boolean;
|
|
358
|
+
extraLeft?: React$1.ReactNode;
|
|
359
|
+
data: any;
|
|
360
|
+
ref?: Ref<DataGridComponentRef>;
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
declare const DataGridComponent: <Row extends DataGridRow<Key>, SummaryRow = unknown, Key extends React$1.Key = React$1.Key>({ filterHeader, columns, ...props }: DataGridProviderProps<Row, SummaryRow> & DataGridComponentProps) => react_jsx_runtime.JSX.Element;
|
|
364
|
+
|
|
238
365
|
interface DatePickerComponentRef {
|
|
239
|
-
value: () => Dayjs | null
|
|
240
|
-
setValue: React.Dispatch<React.SetStateAction<Dayjs | null
|
|
366
|
+
value: () => Dayjs | null;
|
|
367
|
+
setValue: React.Dispatch<React.SetStateAction<Dayjs | null>>;
|
|
241
368
|
}
|
|
242
369
|
interface DatePickerComponentProps {
|
|
243
370
|
noItem?: boolean;
|
|
244
371
|
size?: SizeType;
|
|
245
372
|
variant?: Variant;
|
|
246
373
|
picker?: DatePickerProps['picker'];
|
|
374
|
+
format?: DatePickerFormatType;
|
|
247
375
|
loading?: boolean;
|
|
248
376
|
disabled?: boolean;
|
|
249
377
|
disabledDate?: DatePickerProps['disabledDate'];
|
|
@@ -260,7 +388,6 @@ interface DatePickerComponentProps {
|
|
|
260
388
|
className?: Partial<Record<SemanticStructure, string>>;
|
|
261
389
|
required?: boolean;
|
|
262
390
|
rules?: Rule$2[];
|
|
263
|
-
ruleType?: RuleObject$2['type'];
|
|
264
391
|
ruleMessage?: string;
|
|
265
392
|
validateStatus?: ValidateStatus;
|
|
266
393
|
help?: React.ReactNode;
|
|
@@ -268,17 +395,18 @@ interface DatePickerComponentProps {
|
|
|
268
395
|
ref?: Ref<DatePickerComponentRef>;
|
|
269
396
|
}
|
|
270
397
|
|
|
271
|
-
declare const DatePickerComponent:
|
|
398
|
+
declare const DatePickerComponent: React$1.FC<DatePickerComponentProps>;
|
|
272
399
|
|
|
273
400
|
interface DateRangePickerComponentRef {
|
|
274
|
-
value: () => RangeValueType<dayjs.Dayjs> | null
|
|
275
|
-
setValue: React.Dispatch<React.SetStateAction<RangeValueType<dayjs.Dayjs> | null
|
|
401
|
+
value: () => RangeValueType<dayjs.Dayjs> | null;
|
|
402
|
+
setValue: React.Dispatch<React.SetStateAction<RangeValueType<dayjs.Dayjs> | null>>;
|
|
276
403
|
}
|
|
277
404
|
interface DateRangePickerComponentProps {
|
|
278
405
|
noItem?: boolean;
|
|
279
406
|
size?: SizeType;
|
|
280
407
|
variant?: Variant;
|
|
281
408
|
picker?: DatePickerProps$1['picker'];
|
|
409
|
+
format?: DatePickerFormatType;
|
|
282
410
|
loading?: boolean;
|
|
283
411
|
disabled?: boolean;
|
|
284
412
|
disabledDate?: RangePickerProps['disabledDate'];
|
|
@@ -295,7 +423,6 @@ interface DateRangePickerComponentProps {
|
|
|
295
423
|
className?: Partial<Record<SemanticStructure, string>>;
|
|
296
424
|
required?: boolean;
|
|
297
425
|
rules?: Rule$1[];
|
|
298
|
-
ruleType?: RuleObject$1['type'];
|
|
299
426
|
ruleMessage?: string;
|
|
300
427
|
validateStatus?: ValidateStatus;
|
|
301
428
|
help?: React.ReactNode;
|
|
@@ -303,7 +430,7 @@ interface DateRangePickerComponentProps {
|
|
|
303
430
|
ref?: Ref<DateRangePickerComponentRef>;
|
|
304
431
|
}
|
|
305
432
|
|
|
306
|
-
declare const DateRangePickerComponent:
|
|
433
|
+
declare const DateRangePickerComponent: React$1.FC<DateRangePickerComponentProps>;
|
|
307
434
|
|
|
308
435
|
interface DropdownButtonMenuItem<T> {
|
|
309
436
|
key: string;
|
|
@@ -321,13 +448,13 @@ interface DropdownButtonComponentProps<T> {
|
|
|
321
448
|
data?: T;
|
|
322
449
|
}
|
|
323
450
|
|
|
324
|
-
declare const DropdownButtonComponent: <T>({ trigger, placement, menuItems, disabled, data, }: DropdownButtonComponentProps<T>) =>
|
|
451
|
+
declare const DropdownButtonComponent: <T>({ trigger, placement, menuItems, disabled, data, }: DropdownButtonComponentProps<T>) => React$1.ReactElement;
|
|
325
452
|
|
|
326
453
|
interface FormItemComponentProps {
|
|
327
454
|
noItem?: boolean;
|
|
328
455
|
formColLayout?: typeof _default;
|
|
329
456
|
name?: NamePath;
|
|
330
|
-
label?:
|
|
457
|
+
label?: React$1.ReactNode;
|
|
331
458
|
normalize?: (value: StoreValue, prevValue: StoreValue, allValues: Store) => StoreValue;
|
|
332
459
|
required?: boolean;
|
|
333
460
|
rules?: Rule$1[];
|
|
@@ -338,12 +465,12 @@ interface FormItemComponentProps {
|
|
|
338
465
|
ruleMax?: number;
|
|
339
466
|
valuePropName?: string;
|
|
340
467
|
validateStatus?: ValidateStatus;
|
|
341
|
-
help?:
|
|
468
|
+
help?: React$1.ReactNode;
|
|
342
469
|
shouldUpdate?: ShouldUpdate<string | string[]>;
|
|
343
|
-
children?:
|
|
470
|
+
children?: React$1.ReactNode;
|
|
344
471
|
}
|
|
345
472
|
|
|
346
|
-
declare const FormItemComponent:
|
|
473
|
+
declare const FormItemComponent: React$1.FC<FormItemComponentProps>;
|
|
347
474
|
|
|
348
475
|
interface IconCheckOrCloseProps {
|
|
349
476
|
check: boolean;
|
|
@@ -351,7 +478,7 @@ interface IconCheckOrCloseProps {
|
|
|
351
478
|
style?: React.CSSProperties;
|
|
352
479
|
}
|
|
353
480
|
|
|
354
|
-
declare const IconCheckOrClose:
|
|
481
|
+
declare const IconCheckOrClose: React$1.FC<IconCheckOrCloseProps>;
|
|
355
482
|
|
|
356
483
|
interface InputComponentRef {
|
|
357
484
|
value: () => valueType;
|
|
@@ -367,6 +494,7 @@ interface InputComponentProps {
|
|
|
367
494
|
size?: SizeType;
|
|
368
495
|
classNames?: string[];
|
|
369
496
|
variant?: Variant;
|
|
497
|
+
autoCompleteOff?: boolean;
|
|
370
498
|
loading?: boolean;
|
|
371
499
|
disabled?: boolean;
|
|
372
500
|
readOnly?: boolean;
|
|
@@ -404,14 +532,14 @@ interface InputComponentProps {
|
|
|
404
532
|
ref?: Ref<InputComponentRef>;
|
|
405
533
|
}
|
|
406
534
|
|
|
407
|
-
declare const InputComponent:
|
|
535
|
+
declare const InputComponent: React$1.FC<InputComponentProps>;
|
|
408
536
|
|
|
409
537
|
interface LinkComponentProps {
|
|
410
538
|
href: string;
|
|
411
539
|
children?: React.ReactNode;
|
|
412
540
|
}
|
|
413
541
|
|
|
414
|
-
declare const LinkComponent:
|
|
542
|
+
declare const LinkComponent: React$1.FC<LinkComponentProps>;
|
|
415
543
|
|
|
416
544
|
interface NumberFormatComponentRef {
|
|
417
545
|
value: () => valueType;
|
|
@@ -435,7 +563,7 @@ interface NumberFormatComponentProps {
|
|
|
435
563
|
defaultValue?: valueType;
|
|
436
564
|
removeError?: (name?: NamePath) => void;
|
|
437
565
|
onValueChange?: OnValueChange;
|
|
438
|
-
onChange?: (
|
|
566
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
439
567
|
style?: React.CSSProperties;
|
|
440
568
|
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
441
569
|
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
@@ -457,7 +585,7 @@ interface NumberFormatComponentProps {
|
|
|
457
585
|
ref?: Ref<NumberFormatComponentRef>;
|
|
458
586
|
}
|
|
459
587
|
|
|
460
|
-
declare const NumberFormatComponent:
|
|
588
|
+
declare const NumberFormatComponent: React$1.FC<NumberFormatComponentProps>;
|
|
461
589
|
|
|
462
590
|
interface RadioComponentProps<T> {
|
|
463
591
|
buttonStyle?: RadioGroupButtonStyle;
|
|
@@ -523,47 +651,7 @@ interface SelectComponentProps {
|
|
|
523
651
|
help?: React.ReactNode;
|
|
524
652
|
}
|
|
525
653
|
|
|
526
|
-
declare const SelectComponent:
|
|
527
|
-
|
|
528
|
-
declare const colInline: (col: {
|
|
529
|
-
[key: string]: any;
|
|
530
|
-
}) => {
|
|
531
|
-
[key: string]: any;
|
|
532
|
-
};
|
|
533
|
-
|
|
534
|
-
declare const colLayout: ({ labelCol, wrapperCol }: FormColLayout) => {
|
|
535
|
-
xs?: ColSize;
|
|
536
|
-
sm?: ColSize;
|
|
537
|
-
md?: ColSize;
|
|
538
|
-
lg?: ColSize;
|
|
539
|
-
xl?: ColSize;
|
|
540
|
-
xxl?: ColSize;
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
declare const getTableAsyncName: (name: string | string[], isName?: boolean) => string;
|
|
544
|
-
|
|
545
|
-
declare const getTableFilterStorage: (name?: string) => {
|
|
546
|
-
[key: string]: any;
|
|
547
|
-
};
|
|
548
|
-
|
|
549
|
-
interface SelectAsyncFormat {
|
|
550
|
-
[key: string]: any;
|
|
551
|
-
value: string | number | ((data: AnyObject) => string | number);
|
|
552
|
-
label?: string | ((data: AnyObject) => string | React.ReactNode);
|
|
553
|
-
text?: string | ((data: AnyObject) => string | React.ReactNode);
|
|
554
|
-
}
|
|
555
|
-
interface SelectAsyncProps {
|
|
556
|
-
format: SelectAsyncFormat;
|
|
557
|
-
request: (search: string) => Promise<AxiosResponse>;
|
|
558
|
-
initData?: AnyObject | AnyObject[];
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
declare const selectAsync: ({ format, request, initData, }: SelectAsyncProps) => [fetchList: (search: string) => Promise<any>, initOptions: AnyObject[], formatOptions: (data: AnyObject) => {
|
|
562
|
-
[key: string]: any;
|
|
563
|
-
encryption_id: any;
|
|
564
|
-
}];
|
|
565
|
-
|
|
566
|
-
declare const toCamel: (string: string) => string;
|
|
654
|
+
declare const SelectComponent: React$1.FC<SelectComponentProps>;
|
|
567
655
|
|
|
568
656
|
interface SelectAsyncComponentRef {
|
|
569
657
|
setIsInit: React.Dispatch<React.SetStateAction<boolean>>;
|
|
@@ -580,32 +668,32 @@ type SelectAsyncComponentProps = SelectComponentProps & {
|
|
|
580
668
|
ref?: Ref<SelectAsyncComponentRef>;
|
|
581
669
|
};
|
|
582
670
|
|
|
583
|
-
declare const SelectAsyncComponent:
|
|
671
|
+
declare const SelectAsyncComponent: React$1.FC<SelectAsyncComponentProps>;
|
|
584
672
|
|
|
585
673
|
interface SwitchComponentProps {
|
|
586
674
|
noItem?: boolean;
|
|
587
675
|
icon?: boolean;
|
|
588
|
-
checkedChildren?:
|
|
589
|
-
unCheckedChildren?:
|
|
676
|
+
checkedChildren?: React$1.ReactNode;
|
|
677
|
+
unCheckedChildren?: React$1.ReactNode;
|
|
590
678
|
loading?: boolean;
|
|
591
679
|
disabled?: boolean;
|
|
592
680
|
checked?: boolean;
|
|
593
681
|
defaultChecked?: boolean;
|
|
594
682
|
removeError?: (name?: NamePath) => void;
|
|
595
|
-
onChange?: (checked: boolean, event:
|
|
683
|
+
onChange?: (checked: boolean, event: React$1.MouseEvent<HTMLButtonElement> | React$1.KeyboardEvent<HTMLButtonElement>) => void;
|
|
596
684
|
formColLayout?: typeof _default;
|
|
597
685
|
name?: NamePath;
|
|
598
|
-
label?:
|
|
686
|
+
label?: React$1.ReactNode;
|
|
599
687
|
required?: boolean;
|
|
600
688
|
rules?: Rule$1[];
|
|
601
689
|
ruleType?: RuleObject$1['type'];
|
|
602
690
|
ruleMessage?: string;
|
|
603
691
|
validateStatus?: ValidateStatus;
|
|
604
692
|
shouldUpdate?: ShouldUpdate<string | string[]>;
|
|
605
|
-
help?:
|
|
693
|
+
help?: React$1.ReactNode;
|
|
606
694
|
}
|
|
607
695
|
|
|
608
|
-
declare const SwitchComponent:
|
|
696
|
+
declare const SwitchComponent: React$1.FC<SwitchComponentProps>;
|
|
609
697
|
|
|
610
698
|
interface BaseModelInterface<T> {
|
|
611
699
|
setFromJSON: (model: Partial<T>, options?: ClassTransformOptions) => T;
|
|
@@ -617,6 +705,7 @@ declare abstract class BaseModel<T> implements BaseModelInterface<T> {
|
|
|
617
705
|
}
|
|
618
706
|
|
|
619
707
|
interface TableButtonMiddle {
|
|
708
|
+
classNames?: string[];
|
|
620
709
|
component: React.ReactElement<any, string | JSXElementConstructor<any>>;
|
|
621
710
|
}
|
|
622
711
|
interface TableComponentProps<T extends (BaseModel<T> | AnyObject)> {
|
|
@@ -683,32 +772,8 @@ declare const ConfigProvider: React.FC<ConfigProviderProps>;
|
|
|
683
772
|
|
|
684
773
|
declare const useConfig: () => ConfigContextType;
|
|
685
774
|
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
type: ColumnType;
|
|
689
|
-
value: string;
|
|
690
|
-
}
|
|
691
|
-
interface Filter {
|
|
692
|
-
[key: string]: FilterColumn;
|
|
693
|
-
}
|
|
694
|
-
interface DataGridContextType<Key extends React__default.Key> {
|
|
695
|
-
filterHeader?: boolean;
|
|
696
|
-
filter?: Filter;
|
|
697
|
-
setFilter?: React__default.Dispatch<React__default.SetStateAction<Filter>>;
|
|
698
|
-
loading?: boolean;
|
|
699
|
-
setLoading?: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
700
|
-
selectedRows?: ReadonlySet<Key>;
|
|
701
|
-
setSelectedRows?: React__default.Dispatch<React__default.SetStateAction<ReadonlySet<Key> | undefined>>;
|
|
702
|
-
}
|
|
703
|
-
interface DataGridProviderProps {
|
|
704
|
-
filterHeader?: boolean;
|
|
705
|
-
children?: React__default.ReactNode;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
declare const useDataGrid: <Key extends React.Key>() => DataGridContextType<Key>;
|
|
709
|
-
|
|
710
|
-
declare const FeedbackProvider: React__default.FC<{
|
|
711
|
-
children?: React__default.ReactNode;
|
|
775
|
+
declare const FeedbackProvider: React$1.FC<{
|
|
776
|
+
children?: React$1.ReactNode;
|
|
712
777
|
}>;
|
|
713
778
|
|
|
714
779
|
interface FeedbackContextType {
|
|
@@ -720,59 +785,6 @@ interface FeedbackContextType {
|
|
|
720
785
|
|
|
721
786
|
declare const useFeedback: () => FeedbackContextType;
|
|
722
787
|
|
|
723
|
-
type TableAsyncSearchItemType = "text" | "select" | "select-multiple" | "switch" | "checkbox" | "date" | "date-range";
|
|
724
|
-
interface BaseAsyncSearchItem {
|
|
725
|
-
name: string;
|
|
726
|
-
label?: string;
|
|
727
|
-
space?: 1 | 2;
|
|
728
|
-
initValue?: any;
|
|
729
|
-
type: TableAsyncSearchItemType;
|
|
730
|
-
}
|
|
731
|
-
type TableAsyncSearchText = BaseAsyncSearchItem & {
|
|
732
|
-
type: "text";
|
|
733
|
-
};
|
|
734
|
-
type TableAsyncSearchSelect = BaseAsyncSearchItem & {
|
|
735
|
-
type: "select";
|
|
736
|
-
options?: SelectOption[];
|
|
737
|
-
};
|
|
738
|
-
type TableAsyncSearchLocalSelectMultiple = BaseAsyncSearchItem & {
|
|
739
|
-
type: "select-multiple";
|
|
740
|
-
static: true;
|
|
741
|
-
options: SelectOption[];
|
|
742
|
-
};
|
|
743
|
-
type TableAsyncSearchFetchSelectMultiple = BaseAsyncSearchItem & {
|
|
744
|
-
type: "select-multiple";
|
|
745
|
-
static?: false;
|
|
746
|
-
fetchOptions?: ((search: string) => Promise<any[]>);
|
|
747
|
-
};
|
|
748
|
-
type TableAsyncSearchSelectMultiple = TableAsyncSearchLocalSelectMultiple | TableAsyncSearchFetchSelectMultiple;
|
|
749
|
-
type TableAsyncSearchSwitch = BaseAsyncSearchItem & {
|
|
750
|
-
type: "switch";
|
|
751
|
-
};
|
|
752
|
-
type TableAsyncSearchCheckbox = BaseAsyncSearchItem & {
|
|
753
|
-
type: "checkbox";
|
|
754
|
-
children?: React__default.ReactNode;
|
|
755
|
-
};
|
|
756
|
-
type TableAsyncSearchDate = BaseAsyncSearchItem & {
|
|
757
|
-
type: "date";
|
|
758
|
-
picker?: DatePickerProps$1['picker'];
|
|
759
|
-
};
|
|
760
|
-
type TableAsyncSearchDateRange = BaseAsyncSearchItem & {
|
|
761
|
-
type: "date-range";
|
|
762
|
-
picker?: DatePickerProps$1['picker'];
|
|
763
|
-
};
|
|
764
|
-
type TableAsyncSearchItem = TableAsyncSearchText | TableAsyncSearchSelect | TableAsyncSearchSelectMultiple | TableAsyncSearchSwitch | TableAsyncSearchCheckbox | TableAsyncSearchDate | TableAsyncSearchDateRange;
|
|
765
|
-
interface TableAsyncSearchComponentProps {
|
|
766
|
-
noInitSubmit?: boolean;
|
|
767
|
-
noButton?: boolean;
|
|
768
|
-
name?: string;
|
|
769
|
-
items?: TableAsyncSearchItem[];
|
|
770
|
-
header?: React__default.ReactNode;
|
|
771
|
-
style?: React__default.CSSProperties;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
declare const TableAsyncSearchComponent: React__default.FC<TableAsyncSearchComponentProps>;
|
|
775
|
-
|
|
776
788
|
interface TableAsyncSearchContextType {
|
|
777
789
|
loading?: boolean;
|
|
778
790
|
setLoading?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
@@ -798,10 +810,10 @@ interface TableAsyncSearchContextType {
|
|
|
798
810
|
drawerOpen?: boolean;
|
|
799
811
|
setDrawerOpen?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
800
812
|
multiSelectedOptions?: {
|
|
801
|
-
[key: string]:
|
|
813
|
+
[key: string]: SelectOption[];
|
|
802
814
|
};
|
|
803
815
|
setMultiSelectedOptions?: React.Dispatch<React.SetStateAction<{
|
|
804
|
-
[key: string]:
|
|
816
|
+
[key: string]: SelectOption[];
|
|
805
817
|
}>>;
|
|
806
818
|
}
|
|
807
819
|
type TableAsyncType = "default" | "yajra";
|
|
@@ -839,11 +851,60 @@ interface TableRowProviderProps extends React.HTMLAttributes<HTMLTableRowElement
|
|
|
839
851
|
'data-row-key': string;
|
|
840
852
|
}
|
|
841
853
|
|
|
842
|
-
declare const TableRowProvider:
|
|
854
|
+
declare const TableRowProvider: React$1.FC<TableRowProviderProps>;
|
|
843
855
|
|
|
844
856
|
declare const useTableRow: () => TableRowContextType;
|
|
845
857
|
|
|
846
|
-
type
|
|
858
|
+
type TableAsyncSearchItemType = "text" | "select" | "select-multiple" | "switch" | "checkbox" | "date" | "date-range";
|
|
859
|
+
interface BaseAsyncSearchItem {
|
|
860
|
+
name: string;
|
|
861
|
+
label?: string;
|
|
862
|
+
space?: 1 | 2;
|
|
863
|
+
}
|
|
864
|
+
type TableAsyncSearchText = BaseAsyncSearchItem & {
|
|
865
|
+
type: "text";
|
|
866
|
+
initValue?: string;
|
|
867
|
+
};
|
|
868
|
+
type TableAsyncSearchSelect = BaseAsyncSearchItem & {
|
|
869
|
+
type: "select";
|
|
870
|
+
options?: SelectOption[];
|
|
871
|
+
initValue?: valueType;
|
|
872
|
+
};
|
|
873
|
+
type TableAsyncSearchLocalSelectMultiple = BaseAsyncSearchItem & {
|
|
874
|
+
type: "select-multiple";
|
|
875
|
+
static: true;
|
|
876
|
+
options: SelectOption[];
|
|
877
|
+
};
|
|
878
|
+
type TableAsyncSearchFetchSelectMultiple = BaseAsyncSearchItem & {
|
|
879
|
+
type: "select-multiple";
|
|
880
|
+
static?: false;
|
|
881
|
+
fetchOptions?: ((search: string) => Promise<any[]>);
|
|
882
|
+
};
|
|
883
|
+
type TableAsyncSearchSelectMultiple = (TableAsyncSearchLocalSelectMultiple | TableAsyncSearchFetchSelectMultiple) & {
|
|
884
|
+
initValue?: valueType[];
|
|
885
|
+
};
|
|
886
|
+
type TableAsyncSearchSwitch = BaseAsyncSearchItem & {
|
|
887
|
+
type: "switch";
|
|
888
|
+
initValue?: boolean;
|
|
889
|
+
};
|
|
890
|
+
type TableAsyncSearchCheckbox = BaseAsyncSearchItem & {
|
|
891
|
+
type: "checkbox";
|
|
892
|
+
children?: React$1.ReactNode;
|
|
893
|
+
initValue?: boolean;
|
|
894
|
+
};
|
|
895
|
+
type TableAsyncSearchDate = BaseAsyncSearchItem & {
|
|
896
|
+
type: "date";
|
|
897
|
+
format?: DatePickerFormatType;
|
|
898
|
+
initValue?: Dayjs;
|
|
899
|
+
};
|
|
900
|
+
type TableAsyncSearchDateRange = BaseAsyncSearchItem & {
|
|
901
|
+
type: "date-range";
|
|
902
|
+
format?: DatePickerFormatType;
|
|
903
|
+
initValue?: [Dayjs, Dayjs];
|
|
904
|
+
};
|
|
905
|
+
type TableAsyncSearchItem = TableAsyncSearchText | TableAsyncSearchSelect | TableAsyncSearchSelectMultiple | TableAsyncSearchSwitch | TableAsyncSearchCheckbox | TableAsyncSearchDate | TableAsyncSearchDateRange;
|
|
906
|
+
|
|
907
|
+
type DefaultColumn = (ColumnType | ColumnGroupType);
|
|
847
908
|
interface DefaultParams {
|
|
848
909
|
page?: number;
|
|
849
910
|
per_page?: number;
|
|
@@ -851,7 +912,7 @@ interface DefaultParams {
|
|
|
851
912
|
sort_order?: 'asc' | 'desc';
|
|
852
913
|
q?: string;
|
|
853
914
|
}
|
|
854
|
-
type YajraColumn = ColumnType
|
|
915
|
+
type YajraColumn = ColumnType & {
|
|
855
916
|
dataIndex?: string | string[];
|
|
856
917
|
dataIndexName?: string | string[];
|
|
857
918
|
searchable?: boolean;
|
|
@@ -907,7 +968,7 @@ type TableAsyncComponentProps = TableComponentProps<AnyObject> & {
|
|
|
907
968
|
ref?: Ref<TableAsyncComponentRef>;
|
|
908
969
|
};
|
|
909
970
|
|
|
910
|
-
declare const TableAsyncComponent:
|
|
971
|
+
declare const TableAsyncComponent: React$1.FC<TableAsyncComponentProps & TableAsyncSearchProviderProps>;
|
|
911
972
|
|
|
912
973
|
interface TableCellEditableProps<T> {
|
|
913
974
|
title: React.ReactNode;
|
|
@@ -937,7 +998,7 @@ interface TabsComponentProps {
|
|
|
937
998
|
}[];
|
|
938
999
|
}
|
|
939
1000
|
|
|
940
|
-
declare const TabsComponent:
|
|
1001
|
+
declare const TabsComponent: React$1.FC<TabsComponentProps>;
|
|
941
1002
|
|
|
942
1003
|
interface TagComponentProps {
|
|
943
1004
|
strong?: boolean;
|
|
@@ -945,10 +1006,10 @@ interface TagComponentProps {
|
|
|
945
1006
|
tags?: {
|
|
946
1007
|
value: string;
|
|
947
1008
|
}[];
|
|
948
|
-
children?:
|
|
1009
|
+
children?: React$1.ReactNode;
|
|
949
1010
|
}
|
|
950
1011
|
|
|
951
|
-
declare const TagComponent:
|
|
1012
|
+
declare const TagComponent: React$1.FC<TagComponentProps>;
|
|
952
1013
|
|
|
953
1014
|
interface TextAreaComponentRef {
|
|
954
1015
|
value: () => valueType;
|
|
@@ -982,7 +1043,7 @@ interface TextAreaComponentProps {
|
|
|
982
1043
|
ref?: Ref<TextAreaComponentRef>;
|
|
983
1044
|
}
|
|
984
1045
|
|
|
985
|
-
declare const TextAreaComponent:
|
|
1046
|
+
declare const TextAreaComponent: React$1.FC<TextAreaComponentProps>;
|
|
986
1047
|
|
|
987
1048
|
declare enum DateFormat {
|
|
988
1049
|
date = "DD/MM/YYYY",
|
|
@@ -991,14 +1052,9 @@ declare enum DateFormat {
|
|
|
991
1052
|
timeLong = "HH:mm:ss"
|
|
992
1053
|
}
|
|
993
1054
|
|
|
994
|
-
declare const useFocus: (selected: boolean) => {
|
|
995
|
-
ref: React$1.RefObject<InputRef | BaseSelectRef | null>;
|
|
996
|
-
tabIndex: number;
|
|
997
|
-
};
|
|
998
|
-
|
|
999
1055
|
declare const useRemoveError: (setInputErrors: React.Dispatch<React.SetStateAction<{
|
|
1000
1056
|
[key: string]: any;
|
|
1001
1057
|
}>>) => (name?: string) => void;
|
|
1002
1058
|
|
|
1003
|
-
export { BaseModel, ButtonComponent, ButtonGroupAddComponent, ButtonGroupEditComponent, CardComponent, CascaderComponent, CheckboxComponent$1 as CheckboxComponent, CheckboxComponent as CheckboxGroupComponent, ConfigProvider, DateFormat, DatePickerComponent, DateRangePickerComponent, DropdownButtonComponent, FeedbackProvider, FormItemComponent, IconCheckOrClose, InputComponent, LinkComponent, NumberFormatComponent, RadioComponent, SelectAsyncComponent, SelectComponent, SwitchComponent, TableAsyncComponent,
|
|
1004
|
-
export type { ButtonComponentProps, ButtonComponentRef, ButtonGroupAddComponentProps, ButtonGroupEditComponentProps, CardComponentProps, CascaderComponentProps, CascaderComponentRef, CheckboxComponentProps, CheckboxComponentRef, CheckboxGroupComponentProps, CheckboxGroupComponentRef, ConfigContextType, ConfigProviderProps, DataGridContextType,
|
|
1059
|
+
export { BaseModel, ButtonComponent, ButtonGroupAddComponent, ButtonGroupEditComponent, CardComponent, CascaderComponent, CheckboxComponent$1 as CheckboxComponent, CheckboxComponent as CheckboxGroupComponent, ConfigProvider, DataGridComponent, DateFormat, DatePickerComponent, DateRangePickerComponent, DropdownButtonComponent, FeedbackProvider, FormItemComponent, IconCheckOrClose, InputComponent, LinkComponent, NumberFormatComponent, RadioComponent, SelectAsyncComponent, SelectComponent, SwitchComponent, TableAsyncComponent, TableCellEditableComponent, TableComponent, TableRowProvider, TabsComponent, TagComponent, TextAreaComponent, TransformBoolean, TransformDayjs, TransformNumber, colInline, colLayout, datePickerFormat, _default as formColLayout, getTableAsyncName, getTableFilterStorage, selectAsync, styleCSS, toCamel, useConfig, useDataGrid, useFeedback, useRemoveError, useTableAsyncSearch, useTableRow };
|
|
1060
|
+
export type { ButtonComponentProps, ButtonComponentRef, ButtonGroupAddComponentProps, ButtonGroupEditComponentProps, CardComponentProps, CascaderComponentProps, CascaderComponentRef, CheckboxComponentProps, CheckboxComponentRef, CheckboxGroupComponentProps, CheckboxGroupComponentRef, ConfigContextType, ConfigProviderProps, DataGridColumn, DataGridColumnType, DataGridComponentProps, DataGridComponentRef, DataGridContextType, DataGridFilter, DataGridFilterColumn, DataGridRow, DatePickerComponentProps, DatePickerComponentRef, DatePickerFormat, DatePickerFormatType, DateRangePickerComponentProps, DateRangePickerComponentRef, DefaultColumn, DefaultParams, DropdownButtonComponentProps, DropdownButtonMenuItem, FeedbackContextType, FormColLayout, FormColSizeSpan, FormItemComponentProps, IconCheckOrCloseProps, InputComponentProps, InputComponentRef, LinkComponentProps, LinkType, NumberFormatComponentProps, NumberFormatComponentRef, RadioComponentProps, SelectAsyncComponentProps, SelectAsyncComponentRef, SelectAsyncFormat, SelectAsyncProps, SelectComponentProps, SelectOption, SwitchComponentProps, TableAsyncComponentProps, TableAsyncComponentRef, TableAsyncSearchCheckbox, TableAsyncSearchContextType, TableAsyncSearchDate, TableAsyncSearchDateRange, TableAsyncSearchFetchSelectMultiple, TableAsyncSearchItem, TableAsyncSearchItemType, TableAsyncSearchLocalSelectMultiple, TableAsyncSearchProviderProps, TableAsyncSearchSelect, TableAsyncSearchSelectMultiple, TableAsyncSearchSwitch, TableAsyncSearchText, TableAsyncType, TableButtonMiddle, TableCellEditableProps, TableComponentProps, TableParams, TableParamsFormatter, TableRowContextType, TableRowProviderProps, TabsComponentProps, TagComponentProps, TextAreaComponentProps, TextAreaComponentRef, YajraColumn, YajraColumnParams, YajraOrderParams, YajraParams, YajraSearchParams };
|