@lmb-it/kitsconcerto-native 0.1.247 → 0.1.248
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/form-renderer/components/SubmitButton.cjs.map +1 -1
- package/form-renderer/components/SubmitButton.js.map +1 -1
- package/hooks/useComponentDefaults.cjs +10 -0
- package/hooks/useComponentDefaults.cjs.map +1 -1
- package/hooks/useComponentDefaults.js +10 -0
- package/hooks/useComponentDefaults.js.map +1 -1
- package/index.d.ts +222 -7
- package/package.json +1 -1
- package/packages/types/src/Theme/defaultTheme.cjs +73 -9
- package/packages/types/src/Theme/defaultTheme.cjs.map +1 -1
- package/packages/types/src/Theme/defaultTheme.js +73 -9
- package/packages/types/src/Theme/defaultTheme.js.map +1 -1
package/index.d.ts
CHANGED
|
@@ -904,6 +904,18 @@ export interface ICardElementSlots {
|
|
|
904
904
|
}
|
|
905
905
|
/** Element slots for Table (PrimeReact DataTable styling) */
|
|
906
906
|
export interface ITableElementSlots {
|
|
907
|
+
/**
|
|
908
|
+
* The outermost element — wraps the top bar, the filter toolbar, the
|
|
909
|
+
* grid, and the paginator. This is the slot that owns the "card" look
|
|
910
|
+
* (outer border, radius, shadow); `root` only covers the grid itself.
|
|
911
|
+
*/
|
|
912
|
+
container?: IElementSlotConfig;
|
|
913
|
+
/** Consumer-supplied strip above the filter toolbar (tabs, counts, …) */
|
|
914
|
+
topBar?: IElementSlotConfig;
|
|
915
|
+
/** Bulk-action bar shown while rows are selected */
|
|
916
|
+
bulkBar?: IElementSlotConfig;
|
|
917
|
+
/** "N selected" caption inside the bulk-action bar */
|
|
918
|
+
bulkBarText?: IElementSlotConfig;
|
|
907
919
|
/** Outer table wrapper — border, border-radius, overflow */
|
|
908
920
|
root?: IElementSlotConfig;
|
|
909
921
|
/** Toolbar area above the table — search, column picker, export buttons */
|
|
@@ -942,6 +954,15 @@ export interface ITableElementSlots {
|
|
|
942
954
|
paginatorPageButton?: IElementSlotConfig;
|
|
943
955
|
/** Numbered page link buttons (1, 2, 3 …) — distinct from nav buttons */
|
|
944
956
|
paginatorPageLink?: IElementSlotConfig;
|
|
957
|
+
/**
|
|
958
|
+
* The container holding the numbered page links.
|
|
959
|
+
*
|
|
960
|
+
* PrimeReact renders it as a `display: block` span, so the page buttons
|
|
961
|
+
* sit inline with no spacing hook of their own — this slot is the only
|
|
962
|
+
* way to put a gap between them. The `paginatorPageGap` flat config
|
|
963
|
+
* feeds into it.
|
|
964
|
+
*/
|
|
965
|
+
paginatorPages?: IElementSlotConfig;
|
|
945
966
|
/** Active/current page number button in the paginator */
|
|
946
967
|
paginatorActivePageButton?: IElementSlotConfig;
|
|
947
968
|
/** "Showing X to Y of Z" caption */
|
|
@@ -976,6 +997,28 @@ export interface ITableElementSlots {
|
|
|
976
997
|
filterBar?: IElementSlotConfig;
|
|
977
998
|
/** Each filter input wrapper (search, dropdowns, multi-selects) */
|
|
978
999
|
filterInput?: IElementSlotConfig;
|
|
1000
|
+
/**
|
|
1001
|
+
* Every interactive control in the toolbar at once — the global search
|
|
1002
|
+
* box, each external filter, and the column picker — targeting the
|
|
1003
|
+
* control element itself rather than its wrapper.
|
|
1004
|
+
*
|
|
1005
|
+
* This is what makes controls a uniform size: a height set on a wrapper
|
|
1006
|
+
* leaves the input at its intrinsic height, so it has to land here. The
|
|
1007
|
+
* `filterControl*` flat config feeds into this slot; anything set here
|
|
1008
|
+
* explicitly wins over it.
|
|
1009
|
+
*/
|
|
1010
|
+
toolbarControl?: IElementSlotConfig;
|
|
1011
|
+
/**
|
|
1012
|
+
* Placeholder text inside every toolbar control — the global search box
|
|
1013
|
+
* and each external filter, whether it is a text input, a dropdown, or
|
|
1014
|
+
* a multi-select.
|
|
1015
|
+
*
|
|
1016
|
+
* This exists because a placeholder cannot be reached with an inline
|
|
1017
|
+
* style: text inputs need `::placeholder`, while PrimeReact's selects
|
|
1018
|
+
* paint theirs on a `.p-placeholder` label element. Setting `color` /
|
|
1019
|
+
* `opacity` / `fontStyle` here covers all of them at once.
|
|
1020
|
+
*/
|
|
1021
|
+
filterPlaceholder?: IElementSlotConfig;
|
|
979
1022
|
/** "TYPE:" / "STATUS:" labels next to each filter */
|
|
980
1023
|
filterLabel?: IElementSlotConfig;
|
|
981
1024
|
/** The right-aligned config group (column picker, export, etc.) */
|
|
@@ -1040,13 +1083,68 @@ export interface ITableFlatConfig {
|
|
|
1040
1083
|
rowsPerPageOptions?: number[];
|
|
1041
1084
|
/** PrimeReact `tableStyle.minWidth`. */
|
|
1042
1085
|
tableMinWidth?: string | number;
|
|
1086
|
+
/**
|
|
1087
|
+
* Horizontal distribution of the paginator's parts.
|
|
1088
|
+
* `'between'` pins the current-page report to the leading edge and
|
|
1089
|
+
* everything else to the trailing edge — the split layout a plain
|
|
1090
|
+
* `justify-content` cannot produce. Defaults to `'between'`.
|
|
1091
|
+
*/
|
|
1092
|
+
paginatorAlign?: "left" | "center" | "right" | "between";
|
|
1093
|
+
/**
|
|
1094
|
+
* Word labels for the paginator's navigation buttons. PrimeReact
|
|
1095
|
+
* renders these icon-only; supplying a label swaps in the text.
|
|
1096
|
+
* e.g. `{ prev: 'Prev', next: 'Next' }`.
|
|
1097
|
+
*/
|
|
1098
|
+
paginatorLabels?: {
|
|
1099
|
+
first?: string;
|
|
1100
|
+
prev?: string;
|
|
1101
|
+
next?: string;
|
|
1102
|
+
last?: string;
|
|
1103
|
+
};
|
|
1104
|
+
/**
|
|
1105
|
+
* Gap between the paginator's top-level parts — the current-page report,
|
|
1106
|
+
* each navigation button, the block of numbered page links, and the
|
|
1107
|
+
* rows-per-page dropdown. This is what separates `Prev` and `Next` from
|
|
1108
|
+
* the page numbers between them.
|
|
1109
|
+
*/
|
|
1110
|
+
paginatorGap?: string | number;
|
|
1111
|
+
/**
|
|
1112
|
+
* Gap between the numbered page links themselves (1 · 2 · 3).
|
|
1113
|
+
*
|
|
1114
|
+
* Needs its own key because PrimeReact renders the page links inside a
|
|
1115
|
+
* `display: block` span, so there is nothing to apply a flex gap to
|
|
1116
|
+
* until the container is given one — see the `paginatorPages` slot.
|
|
1117
|
+
*/
|
|
1118
|
+
paginatorPageGap?: string | number;
|
|
1119
|
+
/** How toolbar controls are distributed — `'grid'` gives equal tracks. */
|
|
1120
|
+
filtersLayout?: "flex" | "grid";
|
|
1121
|
+
/** Track count for `filtersLayout: 'grid'`. Defaults to auto-fit. */
|
|
1122
|
+
filterColumns?: number;
|
|
1123
|
+
/** Shared width for the search box and each external filter. */
|
|
1124
|
+
filterControlWidth?: string | number;
|
|
1125
|
+
/** Shared minimum width — the floor when controls flex. */
|
|
1126
|
+
filterControlMinWidth?: string | number;
|
|
1127
|
+
/** Shared height, applied to the control itself, not just its wrapper. */
|
|
1128
|
+
filterControlHeight?: string | number;
|
|
1129
|
+
/** Size variant handed to the underlying kits inputs. Defaults to `'sm'`. */
|
|
1130
|
+
filterInputSize?: "sm" | "md" | "lg";
|
|
1131
|
+
/**
|
|
1132
|
+
* Default label mode for external filters — `'placeholder'` folds each
|
|
1133
|
+
* filter's label into its control instead of rendering a caption beside
|
|
1134
|
+
* it. Overridden per column by `externalFilterLabelMode`.
|
|
1135
|
+
*/
|
|
1136
|
+
externalFilterLabelMode?: "label" | "placeholder" | "hidden";
|
|
1137
|
+
/** Vertical alignment of body cells — `'top'` suits multi-line rows. */
|
|
1138
|
+
cellVerticalAlign?: "top" | "middle" | "bottom";
|
|
1139
|
+
/** `white-space` for body cells. `'normal'` lets long text wrap. */
|
|
1140
|
+
cellWhiteSpace?: "normal" | "nowrap" | "pre-wrap";
|
|
1141
|
+
/** Minimum row height — keeps wrapped and single-line rows consistent. */
|
|
1142
|
+
rowMinHeight?: string | number;
|
|
1043
1143
|
}
|
|
1044
1144
|
/** Element slots for Group (repeatable field array) */
|
|
1045
1145
|
export interface IGroupElementSlots {
|
|
1046
1146
|
/** Outermost wrapper of the entire group */
|
|
1047
1147
|
root?: IElementSlotConfig;
|
|
1048
|
-
/** Header area (label + divider) */
|
|
1049
|
-
header?: IElementSlotConfig;
|
|
1050
1148
|
/** Container wrapping all repeated rows */
|
|
1051
1149
|
body?: IElementSlotConfig;
|
|
1052
1150
|
/** Each individual repeated row */
|
|
@@ -1505,12 +1603,28 @@ export interface IElementBase<T extends FieldValues> {
|
|
|
1505
1603
|
id: keyof T | string;
|
|
1506
1604
|
/** The label displayed for the field. */
|
|
1507
1605
|
label?: DynamicValue<T, ILabelElement>;
|
|
1508
|
-
/**
|
|
1509
|
-
|
|
1606
|
+
/**
|
|
1607
|
+
* A list of field IDs to watch for changes. Three forms resolve:
|
|
1608
|
+
* - an absolute field path, e.g. `"country"` or `"address.city"`;
|
|
1609
|
+
* - `"*"` — watch every field in the form;
|
|
1610
|
+
* - row-relative, inside a Group row: `"<groupId>.current.<field>"`,
|
|
1611
|
+
* rewritten at runtime to `"<groupId>.<rowIndex>.<field>"` for the
|
|
1612
|
+
* row being rendered (FieldWrapper's resolveDepPath). This is what
|
|
1613
|
+
* makes per-row conditional visibility work: a row's `show` can
|
|
1614
|
+
* depend on that row's own values, e.g.
|
|
1615
|
+
* `deps: ['blocks.current.type'], show: ([type]) => type === 'heading'`.
|
|
1616
|
+
*
|
|
1617
|
+
* The former `'*.current'` literal was removed from this type: the
|
|
1618
|
+
* resolver requires the group's own id as the first segment, so that
|
|
1619
|
+
* exact string could never resolve to anything.
|
|
1620
|
+
*/
|
|
1621
|
+
deps?: string[];
|
|
1510
1622
|
onDepsChange?: LogicFunction<T, void>;
|
|
1511
1623
|
/** Advanced logic for dynamic properties, an alternative to individual function props. */
|
|
1512
1624
|
logic?: {
|
|
1513
|
-
deps
|
|
1625
|
+
/** Same forms as the top-level `deps` (see above), including the
|
|
1626
|
+
* row-relative `"<groupId>.current.<field>"` rewrite. */
|
|
1627
|
+
deps?: string[];
|
|
1514
1628
|
show?: LogicFunction<T, boolean>;
|
|
1515
1629
|
disable?: LogicFunction<T, boolean>;
|
|
1516
1630
|
colSpan?: LogicFunction<T, IStyleClasses["colSpan"]>;
|
|
@@ -1830,7 +1944,17 @@ export type GroupFieldConfigs<T extends FieldValues> = {
|
|
|
1830
1944
|
};
|
|
1831
1945
|
};
|
|
1832
1946
|
export type OnSubmitHandler<T extends FieldValues | FormData> = ((data: T, setIsSubmitting: (isSubmitting: boolean) => void, formContext?: UseFormReturn<T>) => void);
|
|
1833
|
-
export type CustomSubmitButtonProps = "none" | ReactElement | ((onSubmit: () => void, isSubmitting: boolean, formContext?: UseFormReturn<any>) => ReactNode)
|
|
1947
|
+
export type CustomSubmitButtonProps = "none" | ReactElement | ((onSubmit: () => void, isSubmitting: boolean, formContext?: UseFormReturn<any>) => ReactNode)
|
|
1948
|
+
/**
|
|
1949
|
+
* Object variant: `loading` and `disabled` are OWNED BY THE RUNTIME —
|
|
1950
|
+
* SubmitButton always renders them from the form's internal
|
|
1951
|
+
* `isSubmitting`, which only the consumer moves by calling the
|
|
1952
|
+
* `setIsSubmitting` callback passed as `onSubmit`'s second argument.
|
|
1953
|
+
* They are omitted here so passing them is a compile error instead of
|
|
1954
|
+
* a silently ignored prop. Need full control? Use the function variant,
|
|
1955
|
+
* which receives `isSubmitting` directly.
|
|
1956
|
+
*/
|
|
1957
|
+
| Omit<IButtonProps<any>, "onClick" | "loading" | "disabled">;
|
|
1834
1958
|
export interface UseFormManagerEvents<T extends FieldValues> {
|
|
1835
1959
|
onInvalidSubmit?: SubmitErrorHandler<T>;
|
|
1836
1960
|
onChange?: (data: {
|
|
@@ -2086,6 +2210,44 @@ export interface ITextFilter {
|
|
|
2086
2210
|
}
|
|
2087
2211
|
export type IFilters = IMultiselectFilter | IRangeFilter | IDropdownFilter | IButtonsFilter | ICheckboxFilter | ITriStateFilter | IDateFilter | INumberFilter | ITextFilter | IPhoneFilter;
|
|
2088
2212
|
export type IEditors = IMultiselectFilter | IRangeFilter | IDropdownFilter | IButtonsFilter | ICheckboxFilter | ITriStateFilter | IDateFilter | INumberFilter | ITextFilter | IPhoneFilter;
|
|
2213
|
+
/**
|
|
2214
|
+
* How an external filter announces what it filters.
|
|
2215
|
+
*
|
|
2216
|
+
* - `"label"` — a separate caption is rendered beside the control
|
|
2217
|
+
* (e.g. `STATUS:` then the dropdown). Default.
|
|
2218
|
+
* - `"placeholder"` — no caption; the label text becomes the control's
|
|
2219
|
+
* placeholder, so the control reads `Status ⌄` until
|
|
2220
|
+
* a value is picked. This is the compact toolbar look.
|
|
2221
|
+
* - `"hidden"` — neither caption nor placeholder. Use when the
|
|
2222
|
+
* control is self-describing (e.g. a date range).
|
|
2223
|
+
*/
|
|
2224
|
+
export type TExternalFilterLabelMode = "label" | "placeholder" | "hidden";
|
|
2225
|
+
/**
|
|
2226
|
+
* How external filter controls are distributed across the toolbar row.
|
|
2227
|
+
*
|
|
2228
|
+
* - `"flex"` — controls size to their content, wrapping when narrow. Default.
|
|
2229
|
+
* - `"grid"` — controls occupy equal-width tracks, so the search box and
|
|
2230
|
+
* every filter line up on a shared grid.
|
|
2231
|
+
*/
|
|
2232
|
+
export type TFiltersLayout = "flex" | "grid";
|
|
2233
|
+
/**
|
|
2234
|
+
* Horizontal distribution of paginator elements.
|
|
2235
|
+
*
|
|
2236
|
+
* `"between"` splits the paginator: the current-page report is pushed to
|
|
2237
|
+
* the leading edge and everything else to the trailing edge. A plain
|
|
2238
|
+
* `justify-content` cannot express that, which is why this is its own mode.
|
|
2239
|
+
*/
|
|
2240
|
+
export type TPaginatorAlign = "left" | "center" | "right" | "between";
|
|
2241
|
+
/**
|
|
2242
|
+
* Word labels for paginator navigation buttons. PrimeReact renders these
|
|
2243
|
+
* icon-only by default; supplying a label renders the text instead.
|
|
2244
|
+
*/
|
|
2245
|
+
export interface IPaginatorLabels {
|
|
2246
|
+
first?: string;
|
|
2247
|
+
prev?: string;
|
|
2248
|
+
next?: string;
|
|
2249
|
+
last?: string;
|
|
2250
|
+
}
|
|
2089
2251
|
export interface IMessages {
|
|
2090
2252
|
emptyMessage?: string;
|
|
2091
2253
|
clearFilter?: string;
|
|
@@ -2094,6 +2256,15 @@ export interface IMessages {
|
|
|
2094
2256
|
globalFilterPlaceholder?: string;
|
|
2095
2257
|
exportAsPdf?: string;
|
|
2096
2258
|
exportAsCSV?: string;
|
|
2259
|
+
/** Column-picker placeholder. */
|
|
2260
|
+
columnsPicker?: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* Caption shown in the bulk-action bar while rows are selected.
|
|
2263
|
+
* `{count}` is replaced with the number of selected rows.
|
|
2264
|
+
*/
|
|
2265
|
+
selectionSummary?: string;
|
|
2266
|
+
/** Label of the "deselect everything" control in the bulk bar. */
|
|
2267
|
+
clearSelection?: string;
|
|
2097
2268
|
filter?: {
|
|
2098
2269
|
key?: string;
|
|
2099
2270
|
value?: string;
|
|
@@ -2156,6 +2327,8 @@ export interface ColumnBodyOptions {
|
|
|
2156
2327
|
expanded?: boolean;
|
|
2157
2328
|
selected?: boolean;
|
|
2158
2329
|
}
|
|
2330
|
+
/** See the web counterpart for the full contract. */
|
|
2331
|
+
export type IBodyTemplateIcon = ReactNode | string | ((value: any) => ReactNode | string);
|
|
2159
2332
|
export type IBodyTemplate = {
|
|
2160
2333
|
type: "avatar";
|
|
2161
2334
|
size?: "normal" | "large" | "xlarge";
|
|
@@ -2163,16 +2336,34 @@ export type IBodyTemplate = {
|
|
|
2163
2336
|
} | {
|
|
2164
2337
|
type: "badge";
|
|
2165
2338
|
severity?: ((value: any) => BadgeSeverity$1) | BadgeSeverity$1;
|
|
2339
|
+
variant?: "solid" | "soft" | "outlined";
|
|
2340
|
+
icon?: IBodyTemplateIcon;
|
|
2166
2341
|
customStyle?: CSSProperties | ((value: any) => CSSProperties);
|
|
2167
2342
|
} | {
|
|
2168
2343
|
type: "tag";
|
|
2169
2344
|
severity?: ((value: any) => TagSeverity) | TagSeverity;
|
|
2170
2345
|
rounded?: boolean;
|
|
2346
|
+
variant?: "solid" | "soft" | "outlined";
|
|
2347
|
+
icon?: IBodyTemplateIcon;
|
|
2171
2348
|
customStyle?: CSSProperties | ((value: any) => CSSProperties);
|
|
2172
2349
|
} | {
|
|
2173
2350
|
type: "progress";
|
|
2174
2351
|
color?: string | ((value: any) => string);
|
|
2175
2352
|
customStyle?: CSSProperties | ((value: any) => CSSProperties);
|
|
2353
|
+
} | {
|
|
2354
|
+
type: "iconText";
|
|
2355
|
+
icon?: IBodyTemplateIcon;
|
|
2356
|
+
iconColor?: string | ((value: any) => string | undefined);
|
|
2357
|
+
iconSize?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | number;
|
|
2358
|
+
gap?: number | string;
|
|
2359
|
+
customStyle?: CSSProperties | ((value: any) => CSSProperties);
|
|
2360
|
+
} | {
|
|
2361
|
+
type: "stacked";
|
|
2362
|
+
primary?: (value: any, row: any) => ReactNode;
|
|
2363
|
+
secondary?: (value: any, row: any) => ReactNode;
|
|
2364
|
+
gap?: number | string;
|
|
2365
|
+
customStyle?: CSSProperties | ((value: any) => CSSProperties);
|
|
2366
|
+
secondaryStyle?: CSSProperties;
|
|
2176
2367
|
};
|
|
2177
2368
|
export interface IColumnBase {
|
|
2178
2369
|
field?: string;
|
|
@@ -2192,6 +2383,14 @@ export interface IColumnBase {
|
|
|
2192
2383
|
label?: string;
|
|
2193
2384
|
labelTooltip?: string;
|
|
2194
2385
|
bodyTemplate?: IBodyTemplate;
|
|
2386
|
+
/** See the web counterpart — external filters share one filter state. */
|
|
2387
|
+
externalFilter?: IFilters;
|
|
2388
|
+
externalFilterLabel?: string;
|
|
2389
|
+
externalFilterLabelMode?: TExternalFilterLabelMode;
|
|
2390
|
+
externalFilterPlaceholder?: string;
|
|
2391
|
+
externalFilterWidth?: string | number;
|
|
2392
|
+
externalFilterOrder?: number;
|
|
2393
|
+
emptyValue?: ReactNode;
|
|
2195
2394
|
editor?: IEditors;
|
|
2196
2395
|
globalStyle?: CSSProperties;
|
|
2197
2396
|
headerStyle?: CSSProperties;
|
|
@@ -2224,15 +2423,21 @@ export interface IDataTableProps<T extends Record<string, any> = any> {
|
|
|
2224
2423
|
columns: IColumn<T>[];
|
|
2225
2424
|
scrollHeight?: string | 'auto';
|
|
2226
2425
|
tableTitle?: string;
|
|
2426
|
+
topBar?: ReactNode | ((context: IDatatableRefValues<T>) => ReactNode);
|
|
2427
|
+
selectionMode?: "single" | "radiobutton" | "checkbox" | "multiple";
|
|
2227
2428
|
onSelectChange?: (event: DataTableSelectionSingleChangeEvent<T[]>) => void;
|
|
2429
|
+
onSelectionChange?: (rows: T[]) => void;
|
|
2430
|
+
bulkActions?: (selected: T[], clear: () => void) => ReactNode;
|
|
2228
2431
|
tableSize?: "small" | "normal" | "large";
|
|
2229
2432
|
debounceFilterWaitTime?: number;
|
|
2230
2433
|
filterMode?: 'enter' | 'debounce';
|
|
2434
|
+
externalFilterLabelMode?: TExternalFilterLabelMode;
|
|
2231
2435
|
skeleton?: boolean;
|
|
2232
2436
|
stateful?: boolean;
|
|
2233
2437
|
columnsPicker?: boolean;
|
|
2234
2438
|
globalSearch?: boolean;
|
|
2235
2439
|
headless?: boolean;
|
|
2440
|
+
rowClickable?: boolean;
|
|
2236
2441
|
rowLockable?: boolean;
|
|
2237
2442
|
service?: (paginationRequest: IPaginationRequest) => Promise<ServerResponse<IPaginationResponse<T[]>>>;
|
|
2238
2443
|
serviceRevalidateDeps?: any;
|
|
@@ -2283,6 +2488,16 @@ export interface IDataTableContextValues<T extends Record<string, any> = any> {
|
|
|
2283
2488
|
pagination?: PaginationState;
|
|
2284
2489
|
onClearFilter(): void;
|
|
2285
2490
|
onClearCache(): void;
|
|
2491
|
+
/** Set a single column's filter value — used by the external filter bar. */
|
|
2492
|
+
setSingleFilter(name: string, value: any): void;
|
|
2493
|
+
/** Toggle column visibility; receives the ordered visible column names. */
|
|
2494
|
+
onColumnToggle(selectedNames: string[]): void;
|
|
2495
|
+
/** Whether the column picker control should be rendered. */
|
|
2496
|
+
columnsPicker?: boolean;
|
|
2497
|
+
externalFilterLabelMode: TExternalFilterLabelMode;
|
|
2498
|
+
selections: T[];
|
|
2499
|
+
clearSelections(): void;
|
|
2500
|
+
bulkActions?: (selected: T[], clear: () => void) => ReactNode;
|
|
2286
2501
|
refValues: IDatatableRefValues<T>;
|
|
2287
2502
|
fileName: string;
|
|
2288
2503
|
buttons?: {
|
|
@@ -14596,4 +14811,4 @@ declare const localeFiles: {
|
|
|
14596
14811
|
};
|
|
14597
14812
|
|
|
14598
14813
|
export { ALPHA_COLOR_VARS, ALPHA_STEPS, ALPHA_TOKEN_NAMES, AccentEdge, CustomAccordion as Accordion, ActionCard, Alert, AlertDescription, AlertIcon, AlertTitle, KitsAnimatePresence as AnimatePresence, AnyFile, Avatar, AvatarStack, Badge, Banner, BottomTabBar, Box, BreadCrumb, Button, Card, Carousel, Center, ChatBubble, Chip, CircularProgress, Collapse, CommandPalette, Container, CustomPopover, DEFAULT_NATIVE_SHADOWS, DataView, DataViewContext, DateSeparator, Delta, DetailList as DetailsList, Divider, Donut, DotGrid, EDateFormat, EKeyFilter, Editable, EmptyState, FIELD_LABEL_MARGIN, FIELD_MARGIN, Flex, Form, FormSelect, GUTTER, Gallery, Gauge, Form as GoForm, Datatable as GoTable, KitsGrid as Grid, KitsGridItem as GridItem, GroupedBars, HELPER_TEXT_MARGIN, HStack, Heading, Icon, IconMap, Image, KitsInputSwitch as InputSwitch, KeyboardNavContext, KitsAutoComplete, KitsBarChart, KitsCascadeSelect, KitsCheckbox as KitsCheckboxes, KitsConfirm, KitsConfirmPopup, KitsContainer, KitsInputCalendar as KitsDatepicker, KitsDialogControlled as KitsDialog, KitsDropdown, FilePicker as KitsFilePicker, KitsInputColorPicker, KitsInputLocation, KitsInputMask, KitsInputNumber, KitsInputPassword, KitsInputText, KitsInputTextarea, KitsLineChart, KitsListBox, KitsMultiSelect, KitsPhoneComponent, KitsRadar, KitsRadio as KitsRadios, RadiusPicker as KitsRadiusPicker, KitsSliders, KitsThemeProvider, KitsToast, KitsTreeSelect, Label, Legend, Link, List, ListItem, Loader, LocaleContext, LocaleContextProvider, MainContext, MainContextProvider, MapTile, MessageComposer, MessageReceipt, MetricCard, KitsMultiSelect as MultiSelect, PersonCard, ProgressBar, RadiusPicker, RankedList, ReducedMotionProvider, Rise, SHADOW_PRESET_KEYS, SPACER, KitsScrollView as ScrollView, SegmentedControl, FormSelect as Select, SelectButton, Skeleton$1 as Skeleton, SkeletonRows, Skeleton as SkeletonText, Sparkline, StackedBars, StatCard, StatGroup, StatePill, StatusCard, Stepper, Striped, Svg, TableContext, Tabs, Text, ThemeContextProvider, Timeline, Tip, Tooltip, Translate, KitsTreeSelect as TreeSelect, TreeView, TriStateCheckbox, TypingIndicator, VStack, Wash, WidgetPanel, borderProperties, breakpoints, capitalizeFirstLetter, checkExtAgainstAccepted, checkNameDuplication, colorWithAlpha, dateTimeFormat, deepMerge, defaultSeverityTheme, defaultTheme, downloadCanvas, dynamicList, expandShadowNative, extendTheme, fileTypeIcon, fileValidation, filesExt, filesMemes, filesTypes, flattenSlotStyles, fontSizeMapping, formFileValidation, formatNumber, getActiveNativeShadows, getCombinedChildIds, getCustomDateTime, getDateElements, getDefaultValues, getMeme, getParams, getPropertyByPath, getType, getTypes, getURLParams, imagesExt, imagesMemes, imagesTypes, isAlphaToken, isNumber, isSemanticToken, isShadowPreset, isThemeToken, isToday, isValidURL, kitsMotion, listingProperties, localeFiles, allProperties as mapCssProperties, mergeRefs, nonPxProperties, propertiesWithoutCssEquivalent, pxProperties, resolveStyleRecord, resolveTokenValue, schemaBuilder, setActiveNativeShadows, shadowNative, shadowWeb, sizeMapping, sizingProperties, timeAgo, timeSince, toMemes, useAllSeverityColors, useComponentDefaults, useCountUp, useDataView, useDialog, useDisclosure, useEnter, useFieldLogic, useFocusStyles, useFormFieldKeyboardNav, useFormManager, useKeyboardNav, useKeyboardNavProvider, useKitsColorScheme, useKitsConcerto, useKitsTheme, useLanguage, useMeasuredWidth, useNativeColorMap, usePopup, useReducedMotion, useResolvedElementStyles, useResolvedStyle, useRtlLineHeight, useScrollState, useSelectionController, useSeverityColors, useTable, useTheme, useThemedFont, useToast };
|
|
14599
|
-
export type { AlignmentsValues, AllSlotKeys, AnimationsValues, AvatarShape, AvatarSize, AvatarStatus, BannerAction, BannerStatus, BaseFieldProps, Booleanish, Breakpoint, CallbackProps, ChatBubbleTone, ChatBubbleVariant, ChipSeverity, ChipSize, ColorMode, ColorScale, ColorValue, Colors, ColorsType, ComponentSize, CustomSubmitButtonProps, DataTableFilterMeta, DataTableFilterMetaData, DataTableOperatorFilterMetaData, DataTableSelectionSingleChangeEvent, DataTableSortMeta, DeepPartial, DetailItemInputType, DynamicValue, ElementProps, EnteringAnimation, ExitingAnimation, ExpandedKeys, FetchError, FetchSuccess, FetchTableDataRes, FetchTablePaginationData, FieldWrapperProps, File$1 as File, FileUploaderTemplate, FileUploaderTemplateParams, FlexAlignmentsValues, FlexValues, FormBooleanEvent, FormBooleanTarget, FormEvent, FormTarget, GroupFieldConfigs, HighSizingValue, IAccentEdgeProps, IAccordionElementSlots, IAccordionProps, IActionCardProps, IAddressComponentValue, IAddressExperianFormat, IAddressFormat, IAddressFormatResults, IAddressSearchResults, IAlertComponent, IAlertProps, IAlignment, IAnimation, IAutoCompleteCore, IAutoCompleteElement, IAvatarElementSlots, IAvatarProps, IAvatarStackElementSlots, IAvatarStackProps, IBadgeProps, IBannerProps, IBarChartProps, IBaseValidation, IBasicSectionProps, IBg, IBodyTemplate, IBorder, IBottomTabBarElementSlots, IBottomTabBarProps, IBoxComponent, IBuilderAddressField, IBuilderCheckboxField, IBuilderContainerField, IBuilderDateField, IBuilderField, IBuilderFieldBase, IBuilderFieldExport, IBuilderFileField, IBuilderGroupField, IBuilderMultiselectField, IBuilderNumberField, IBuilderPhoneField, IBuilderRadiosField, IBuilderRadiusPickerField, IBuilderSectionField, IBuilderSelectField, IBuilderSwitchField, IBuilderTagsField, IBuilderTextField, IBuilderTextareaField, IButton, IButtonElementSlots, IButtonParams, IButtonProps, IButtonState, IButtonsFilter, ICanvasProps, ICardComponent, ICardElementSlots, ICarouselElementSlots, ICarouselProps, ICascadeSelect, ICascadeSelectCore, IChatBubbleElementSlots, IChatBubbleProps, ICheckbox, ICheckboxFilter, ICheckboxSlots, IChildren, IChildrenParams, IChipProps, ICircularProgressProps, ICollapseProps, IColorPicker, IColumn, IColumnBase, ICombined, ICommandPaletteGroup, ICommandPaletteItem, ICommandPaletteProps, IComponentThemeConfig, IConditionGroupProps, IConditionRowProps, IConditionRule, IConditionsSectionProps, IConfirmDialogProps, IConfirmPopupProps, IContainer, IContainerCardProps, IContainerProps, IContextValues, ICountrySearchResults, ICssStyling, IDVButtonsFilter, IDVCheckboxFilter, IDVDateFilter, IDVDropdownFilter, IDVFilters, IDVMessages, IDVMultiselectFilter, IDVNumberFilter, IDVPaginationRequest, IDVPaginationResponse, IDVPaginationState, IDVPhoneFilter, IDVRangeFilter, IDVTextFilter, IDVTriStateFilter, IDataTableContextValues, IDataTableProps, IDataViewContextValues, IDataViewProps, IDataViewRefValues, IDatatableRefValues, IDate, IDateFilter, IDateProps, IDateSeparatorElementSlots, IDateSeparatorProps, IDateValidation, IDatepickerSlots, IDeltaProps, IDetailItem, IDetailListProps, IDialogButton, IDialogProps, IDialogRef, IDialogState, IDisplay, IDividerComponent, IDonutProps, IDonutSegment, IDotGridProps, IDoughnutChartProps, IDropdownCore, IDropdownFilter, IDropdownSelect, IEditableProps, IEditors, IEffects, IElementBase, IElementSlotConfig, IElementStyle, IEmail, IEmailSearchResults, IEmptyStateElementSlots, IEmptyStateProps, IFieldCardProps, IFieldCondition, IFieldPreviewProps, IFile, IFileUploader, IFileUploaderElement, IFileUploaderTypes, IFileValidation, IFilesExtTypeKeys, IFilters, IFlexAlignment, IFlexComponent, IFormAddon, IFormBuilderInternalState, IFormBuilderMeta, IFormBuilderPayload, IFormBuilderProps, IFormComponent, IFormElement, IFormElementBaseSlots, IFormElementSlots, IFormGrid, IFormListsElements, IFormSelect, IFormSelectElements, IFormSingleElement, IGalleryElementSlots, IGalleryItem, IGalleryProps, IGaugeProps, IGrid, IGridComponent, IGridItem, IGridItemComponent, IGroup, IGroupCardProps, IGroupElementSlots, IGroupSettings, IGroupedBarsDatum, IGroupedBarsProps, IHeaderElementSlots, IHeadingComponent, IIconProps, IImageComponent, IImagesExtTypeKeys, IInteractivity, IKeyedColumn, IKitsAnimation, IKitsBarChartDatum, IKitsBarChartProps, IKitsCheckboxProps, IKitsComponentDefaults, IKitsContainer, IKitsDialogControlled, IKitsInputCalendar, IKitsInputColorPicker, IKitsInputLocation, IKitsInputMask, IKitsInputNumber, IKitsInputPassword, IKitsInputRating, IKitsInputSwitch, IKitsInputText, IKitsInputTextarea, IKitsLineChartProps, IKitsLineChartSeries, IKitsPhoneInput, IKitsRadioProps, IKitsTheme, IKitsThemeColors, IKitsThemeConfig, IKitsThemeContextValues, IKitsThemeFontSizes, IKitsThemeFontWeights, IKitsThemeFonts, IKitsThemeLineHeights, IKitsThemeRadii, IKitsThemeShadows, IKitsThemeSpacing, IKitsToastRef, ILabelElement, ILabelProps, ILanguage, ILayout, ILegendItem, ILegendProps, ILineChartProps, ILinkComponent, ILinkOverrides, IList, IListBoxCore, IListBoxElement, IListBoxSelect, IListItem, IListing, ILoaderProps, ILoadingIndicatorContext, ILocaleContextProps, ILocaleContextValues, ILocation, ILocationDetailsResponse, ILocationResponse, IMainContextProps, IMainContextValues, IMapTilePoint, IMapTileProps, IMemes, IMenuItem, IMessageComposerElementSlots, IMessageComposerProps, IMessageReceiptElementSlots, IMessageReceiptProps, IMessages, IMetricCardProps, IMinusButton, IModalComponent, IModalFormProps, IMultiSelect, IMultiSelectCore, IMultiSelectSlots, IMultiselect, IMultiselectFilter, INativeShadow, INonCrossPlatformTypes, INumberFilter, INumberInput, INumberProps, INumberValidation, IObjectGroup, IOneOfTypes, IOptionItem, IOptionsEditorProps, IOptionsSource, IPageISection, IPaginationRequest, IPaginationResponse, IPaletteItemProps, IPaletteProps, IPanelCustomSlot, IPassword, IPasswordProps, IPersonCardProps, IPhone, IPhoneFilter, IPhoneObjectValue, IPhoneValidationResults, IPhoneValue, IPieChartProps, IPlusButton, IPolarAreaChartProps, IPopoverProps, IProgressBarElementSlots, IProgressBarProps, IPropertiesPanelProps, IRTLDetection, IRadarChartProps, IRadarProps, IRadarSeries, IRadioCheckboxListItem, IRadioGroup, IRadioSlots, IRadiusPickerEvents, IRadiusPickerField, IRadiusPickerI18n, IRadiusPickerProps, IRangeFilter, IRankedListProps, IRankedListRow, IRef, IRepeatableSettings, IResponsiveElement, IRiseProps, ISVGComponent, IScrollViewComponent, ISegmentedControlOption, ISegmentedControlProps, ISelect, ISelectBase, ISelectCore, ISelectElement, ISelectSlots, ISelectType, ISelectedFile, ISelectedFileType, ISelectionValidation, ISeverityColorSlots, ISeverityThemeMap, IShadowDefinition, IShadowValue, ISidebarElementSlots, ISizing, ISkeleton, ISkeletonRowsProps, ISkeletonText, ISliderProps, ISpacing, ISparklineProps, IStackProps, IStackedBarsDatum, IStackedBarsProps, IStatCardElementSlots, IStatCardProps, IStatGroupElementSlots, IStatGroupProps, IStatePillProps, IStatisticsProps, IStats, IStatusCardProps, IStepperElementSlots, IStepperProps, IStripedProps, IStyleClasses, ISwitch, ISwitchSlots, ITabBarItem, ITabItem, ITableElementSlots, ITableFlatConfig, ITabsElementSlots, ITabsProps, ITags, IText, ITextComponent, ITextFieldProps, ITextFilter, ITextInput, ITextInputProps, ITextInputSlots, ITextValidation, ITextarea, IThemeContextProps, IThemeContextValues, ITimelineElementSlots, ITimelineItem, ITimelineProps, ITipProps, IToastAction, IToastFunction, IToastOptions, IToastParams, IToolbarProps, ITransforms, ITransition, ITranslatableInputProps, ITranslatableText, ITranslateComponent, ITreeItem, ITreeSelect, ITreeSelectCore, ITreeSelectElement, ITreeSelectNode, ITreeViewProps, ITriStateFilter, ITypingIndicatorElementSlots, ITypingIndicatorProps, IUnkeyedColumn, IUseCountUpOptions, IUseFormReturn, IUserAvatar, IValidationSectionProps, IWashProps, IWidgetBarIncomingProp, IWidgetChartContextProps, IWidgetChartProp, IWidgetData, IWidgetDoughnutIncomingProp, IWidgetLineIncomingProp, IWidgetPanelProps, IWidgetPieIncomingProp, IWidgetPolarAreaIncomingProp, IWidgetRadarIncomingProp, IconName, IconType, InputTextFieldProps, KitsBreakpoint, KitsConditionalObject, KitsDevice, KitsMotion, KitsOrientation, KitsPlatform, KitsResponsiveObject, KitsResponsiveValue, KitsThemeOverride, LabelVariant, LatLng, LoadMode, LoadingIndicatorRenderer, LogicFunction, MapInteraction, MeasurementValues, MessageReceiptState, Nullable, Numbering0_12, Numbering0_32, Numberish, OnCenterChange, OnLocationError, OnLocationFound, OnRadiusChange, OnRadiusValueChange, OnSubmitHandler, OnUnitChange, Orientation, PaginationState, PaginatorPageChangeEvent$1 as PaginatorPageChangeEvent, Permissions, PlatformKey, RadiusPickerDisplay, RadiusPickerLayout, RadiusPickerSize, RadiusUnit, RadiusValue, RenderLocationButtonProps, RenderMapProps, RenderSearchBoxProps, SelectFieldProps, SemanticColorTokens, ServerMethod, ServerResponse, ServerSideProps, SetManyOpts, Severity, Shades, ShadowPreset, Shapes, SidesValues, SizingNumbering, SizingValue, StatePillState, StepperVariant, TAcceptedFileType, TBuilderFieldType, TCheckboxRadioMode, TCheckboxRadioSize, TConditionAction, TConditionMatch, TConditionOperator, TDateBoundary, TDynamicFlag, TIsoFormat, TItemsPerRow, TKeyFilter, TLocationProvider, TextLabels, TextProps, ThemedFontKind, TimelineItemStatus, Timeout, TimingNumbering, ToastPosition, ToastSeverity, ToastSize, TooltipDataAttributes, TooltipProps, TreeChangeProps, TreeCheckboxSelectionKeyType, TreeCheckboxSelectionKeys, TreeNode, TreeNodeClickEvent, TreeNodeTemplateOptions, TreeProps, TreeRef, TreeSelectionEvent, Types, UseComponentDefaultsResult, UseDisclosureReturnType, UseFieldLogicElementProps, UseFieldLogicProps, UseFieldLogicReturn, UseFormManagerEvents, UseFormManagerReturn, UseToastApi, ValidationProps, children, clearFunction, downloadableFileResponse, settings1, settings2 };
|
|
14814
|
+
export type { AlignmentsValues, AllSlotKeys, AnimationsValues, AvatarShape, AvatarSize, AvatarStatus, BannerAction, BannerStatus, BaseFieldProps, Booleanish, Breakpoint, CallbackProps, ChatBubbleTone, ChatBubbleVariant, ChipSeverity, ChipSize, ColorMode, ColorScale, ColorValue, Colors, ColorsType, ComponentSize, CustomSubmitButtonProps, DataTableFilterMeta, DataTableFilterMetaData, DataTableOperatorFilterMetaData, DataTableSelectionSingleChangeEvent, DataTableSortMeta, DeepPartial, DetailItemInputType, DynamicValue, ElementProps, EnteringAnimation, ExitingAnimation, ExpandedKeys, FetchError, FetchSuccess, FetchTableDataRes, FetchTablePaginationData, FieldWrapperProps, File$1 as File, FileUploaderTemplate, FileUploaderTemplateParams, FlexAlignmentsValues, FlexValues, FormBooleanEvent, FormBooleanTarget, FormEvent, FormTarget, GroupFieldConfigs, HighSizingValue, IAccentEdgeProps, IAccordionElementSlots, IAccordionProps, IActionCardProps, IAddressComponentValue, IAddressExperianFormat, IAddressFormat, IAddressFormatResults, IAddressSearchResults, IAlertComponent, IAlertProps, IAlignment, IAnimation, IAutoCompleteCore, IAutoCompleteElement, IAvatarElementSlots, IAvatarProps, IAvatarStackElementSlots, IAvatarStackProps, IBadgeProps, IBannerProps, IBarChartProps, IBaseValidation, IBasicSectionProps, IBg, IBodyTemplate, IBodyTemplateIcon, IBorder, IBottomTabBarElementSlots, IBottomTabBarProps, IBoxComponent, IBuilderAddressField, IBuilderCheckboxField, IBuilderContainerField, IBuilderDateField, IBuilderField, IBuilderFieldBase, IBuilderFieldExport, IBuilderFileField, IBuilderGroupField, IBuilderMultiselectField, IBuilderNumberField, IBuilderPhoneField, IBuilderRadiosField, IBuilderRadiusPickerField, IBuilderSectionField, IBuilderSelectField, IBuilderSwitchField, IBuilderTagsField, IBuilderTextField, IBuilderTextareaField, IButton, IButtonElementSlots, IButtonParams, IButtonProps, IButtonState, IButtonsFilter, ICanvasProps, ICardComponent, ICardElementSlots, ICarouselElementSlots, ICarouselProps, ICascadeSelect, ICascadeSelectCore, IChatBubbleElementSlots, IChatBubbleProps, ICheckbox, ICheckboxFilter, ICheckboxSlots, IChildren, IChildrenParams, IChipProps, ICircularProgressProps, ICollapseProps, IColorPicker, IColumn, IColumnBase, ICombined, ICommandPaletteGroup, ICommandPaletteItem, ICommandPaletteProps, IComponentThemeConfig, IConditionGroupProps, IConditionRowProps, IConditionRule, IConditionsSectionProps, IConfirmDialogProps, IConfirmPopupProps, IContainer, IContainerCardProps, IContainerProps, IContextValues, ICountrySearchResults, ICssStyling, IDVButtonsFilter, IDVCheckboxFilter, IDVDateFilter, IDVDropdownFilter, IDVFilters, IDVMessages, IDVMultiselectFilter, IDVNumberFilter, IDVPaginationRequest, IDVPaginationResponse, IDVPaginationState, IDVPhoneFilter, IDVRangeFilter, IDVTextFilter, IDVTriStateFilter, IDataTableContextValues, IDataTableProps, IDataViewContextValues, IDataViewProps, IDataViewRefValues, IDatatableRefValues, IDate, IDateFilter, IDateProps, IDateSeparatorElementSlots, IDateSeparatorProps, IDateValidation, IDatepickerSlots, IDeltaProps, IDetailItem, IDetailListProps, IDialogButton, IDialogProps, IDialogRef, IDialogState, IDisplay, IDividerComponent, IDonutProps, IDonutSegment, IDotGridProps, IDoughnutChartProps, IDropdownCore, IDropdownFilter, IDropdownSelect, IEditableProps, IEditors, IEffects, IElementBase, IElementSlotConfig, IElementStyle, IEmail, IEmailSearchResults, IEmptyStateElementSlots, IEmptyStateProps, IFieldCardProps, IFieldCondition, IFieldPreviewProps, IFile, IFileUploader, IFileUploaderElement, IFileUploaderTypes, IFileValidation, IFilesExtTypeKeys, IFilters, IFlexAlignment, IFlexComponent, IFormAddon, IFormBuilderInternalState, IFormBuilderMeta, IFormBuilderPayload, IFormBuilderProps, IFormComponent, IFormElement, IFormElementBaseSlots, IFormElementSlots, IFormGrid, IFormListsElements, IFormSelect, IFormSelectElements, IFormSingleElement, IGalleryElementSlots, IGalleryItem, IGalleryProps, IGaugeProps, IGrid, IGridComponent, IGridItem, IGridItemComponent, IGroup, IGroupCardProps, IGroupElementSlots, IGroupSettings, IGroupedBarsDatum, IGroupedBarsProps, IHeaderElementSlots, IHeadingComponent, IIconProps, IImageComponent, IImagesExtTypeKeys, IInteractivity, IKeyedColumn, IKitsAnimation, IKitsBarChartDatum, IKitsBarChartProps, IKitsCheckboxProps, IKitsComponentDefaults, IKitsContainer, IKitsDialogControlled, IKitsInputCalendar, IKitsInputColorPicker, IKitsInputLocation, IKitsInputMask, IKitsInputNumber, IKitsInputPassword, IKitsInputRating, IKitsInputSwitch, IKitsInputText, IKitsInputTextarea, IKitsLineChartProps, IKitsLineChartSeries, IKitsPhoneInput, IKitsRadioProps, IKitsTheme, IKitsThemeColors, IKitsThemeConfig, IKitsThemeContextValues, IKitsThemeFontSizes, IKitsThemeFontWeights, IKitsThemeFonts, IKitsThemeLineHeights, IKitsThemeRadii, IKitsThemeShadows, IKitsThemeSpacing, IKitsToastRef, ILabelElement, ILabelProps, ILanguage, ILayout, ILegendItem, ILegendProps, ILineChartProps, ILinkComponent, ILinkOverrides, IList, IListBoxCore, IListBoxElement, IListBoxSelect, IListItem, IListing, ILoaderProps, ILoadingIndicatorContext, ILocaleContextProps, ILocaleContextValues, ILocation, ILocationDetailsResponse, ILocationResponse, IMainContextProps, IMainContextValues, IMapTilePoint, IMapTileProps, IMemes, IMenuItem, IMessageComposerElementSlots, IMessageComposerProps, IMessageReceiptElementSlots, IMessageReceiptProps, IMessages, IMetricCardProps, IMinusButton, IModalComponent, IModalFormProps, IMultiSelect, IMultiSelectCore, IMultiSelectSlots, IMultiselect, IMultiselectFilter, INativeShadow, INonCrossPlatformTypes, INumberFilter, INumberInput, INumberProps, INumberValidation, IObjectGroup, IOneOfTypes, IOptionItem, IOptionsEditorProps, IOptionsSource, IPageISection, IPaginationRequest, IPaginationResponse, IPaginatorLabels, IPaletteItemProps, IPaletteProps, IPanelCustomSlot, IPassword, IPasswordProps, IPersonCardProps, IPhone, IPhoneFilter, IPhoneObjectValue, IPhoneValidationResults, IPhoneValue, IPieChartProps, IPlusButton, IPolarAreaChartProps, IPopoverProps, IProgressBarElementSlots, IProgressBarProps, IPropertiesPanelProps, IRTLDetection, IRadarChartProps, IRadarProps, IRadarSeries, IRadioCheckboxListItem, IRadioGroup, IRadioSlots, IRadiusPickerEvents, IRadiusPickerField, IRadiusPickerI18n, IRadiusPickerProps, IRangeFilter, IRankedListProps, IRankedListRow, IRef, IRepeatableSettings, IResponsiveElement, IRiseProps, ISVGComponent, IScrollViewComponent, ISegmentedControlOption, ISegmentedControlProps, ISelect, ISelectBase, ISelectCore, ISelectElement, ISelectSlots, ISelectType, ISelectedFile, ISelectedFileType, ISelectionValidation, ISeverityColorSlots, ISeverityThemeMap, IShadowDefinition, IShadowValue, ISidebarElementSlots, ISizing, ISkeleton, ISkeletonRowsProps, ISkeletonText, ISliderProps, ISpacing, ISparklineProps, IStackProps, IStackedBarsDatum, IStackedBarsProps, IStatCardElementSlots, IStatCardProps, IStatGroupElementSlots, IStatGroupProps, IStatePillProps, IStatisticsProps, IStats, IStatusCardProps, IStepperElementSlots, IStepperProps, IStripedProps, IStyleClasses, ISwitch, ISwitchSlots, ITabBarItem, ITabItem, ITableElementSlots, ITableFlatConfig, ITabsElementSlots, ITabsProps, ITags, IText, ITextComponent, ITextFieldProps, ITextFilter, ITextInput, ITextInputProps, ITextInputSlots, ITextValidation, ITextarea, IThemeContextProps, IThemeContextValues, ITimelineElementSlots, ITimelineItem, ITimelineProps, ITipProps, IToastAction, IToastFunction, IToastOptions, IToastParams, IToolbarProps, ITransforms, ITransition, ITranslatableInputProps, ITranslatableText, ITranslateComponent, ITreeItem, ITreeSelect, ITreeSelectCore, ITreeSelectElement, ITreeSelectNode, ITreeViewProps, ITriStateFilter, ITypingIndicatorElementSlots, ITypingIndicatorProps, IUnkeyedColumn, IUseCountUpOptions, IUseFormReturn, IUserAvatar, IValidationSectionProps, IWashProps, IWidgetBarIncomingProp, IWidgetChartContextProps, IWidgetChartProp, IWidgetData, IWidgetDoughnutIncomingProp, IWidgetLineIncomingProp, IWidgetPanelProps, IWidgetPieIncomingProp, IWidgetPolarAreaIncomingProp, IWidgetRadarIncomingProp, IconName, IconType, InputTextFieldProps, KitsBreakpoint, KitsConditionalObject, KitsDevice, KitsMotion, KitsOrientation, KitsPlatform, KitsResponsiveObject, KitsResponsiveValue, KitsThemeOverride, LabelVariant, LatLng, LoadMode, LoadingIndicatorRenderer, LogicFunction, MapInteraction, MeasurementValues, MessageReceiptState, Nullable, Numbering0_12, Numbering0_32, Numberish, OnCenterChange, OnLocationError, OnLocationFound, OnRadiusChange, OnRadiusValueChange, OnSubmitHandler, OnUnitChange, Orientation, PaginationState, PaginatorPageChangeEvent$1 as PaginatorPageChangeEvent, Permissions, PlatformKey, RadiusPickerDisplay, RadiusPickerLayout, RadiusPickerSize, RadiusUnit, RadiusValue, RenderLocationButtonProps, RenderMapProps, RenderSearchBoxProps, SelectFieldProps, SemanticColorTokens, ServerMethod, ServerResponse, ServerSideProps, SetManyOpts, Severity, Shades, ShadowPreset, Shapes, SidesValues, SizingNumbering, SizingValue, StatePillState, StepperVariant, TAcceptedFileType, TBuilderFieldType, TCheckboxRadioMode, TCheckboxRadioSize, TConditionAction, TConditionMatch, TConditionOperator, TDateBoundary, TDynamicFlag, TExternalFilterLabelMode, TFiltersLayout, TIsoFormat, TItemsPerRow, TKeyFilter, TLocationProvider, TPaginatorAlign, TextLabels, TextProps, ThemedFontKind, TimelineItemStatus, Timeout, TimingNumbering, ToastPosition, ToastSeverity, ToastSize, TooltipDataAttributes, TooltipProps, TreeChangeProps, TreeCheckboxSelectionKeyType, TreeCheckboxSelectionKeys, TreeNode, TreeNodeClickEvent, TreeNodeTemplateOptions, TreeProps, TreeRef, TreeSelectionEvent, Types, UseComponentDefaultsResult, UseDisclosureReturnType, UseFieldLogicElementProps, UseFieldLogicProps, UseFieldLogicReturn, UseFormManagerEvents, UseFormManagerReturn, UseToastApi, ValidationProps, children, clearFunction, downloadableFileResponse, settings1, settings2 };
|
package/package.json
CHANGED
|
@@ -905,6 +905,56 @@ const defaultTheme = {
|
|
|
905
905
|
paginatorTemplate: "PrevPageLink PageLinks NextPageLink CurrentPageReport RowsPerPageDropdown",
|
|
906
906
|
currentPageReportTemplate: "Showing {first}\u2013{last} of {totalRecords}",
|
|
907
907
|
rowsPerPageOptions: [10, 25, 50, 100],
|
|
908
|
+
// NOTE: `paginatorAlign` and `paginatorLabels` are deliberately
|
|
909
|
+
// left unset. Both change the paginator's layout for every
|
|
910
|
+
// existing consumer, so they stay opt-in:
|
|
911
|
+
// paginatorAlign: 'between' → report leading, nav trailing
|
|
912
|
+
// paginatorLabels: { prev: 'Prev', next: 'Next' } → word buttons
|
|
913
|
+
// Spacing. `paginatorGap` separates the report, the nav buttons
|
|
914
|
+
// and the block of page links; `paginatorPageGap` separates the
|
|
915
|
+
// numbered links from each other. The latter also makes their
|
|
916
|
+
// container a flex box — PrimeReact ships it as a plain block
|
|
917
|
+
// span, so without this there is nothing for a gap to act on.
|
|
918
|
+
paginatorGap: 8,
|
|
919
|
+
paginatorPageGap: 4,
|
|
920
|
+
// Every toolbar control — search box included — shares one
|
|
921
|
+
// height and floor width, so a text input and a dropdown line up.
|
|
922
|
+
filtersLayout: "flex",
|
|
923
|
+
filterControlHeight: "2.5rem",
|
|
924
|
+
filterControlMinWidth: 150,
|
|
925
|
+
filterInputSize: "sm",
|
|
926
|
+
externalFilterLabelMode: "label",
|
|
927
|
+
cellVerticalAlign: "middle",
|
|
928
|
+
// `container` spans the top bar, toolbar, grid and paginator.
|
|
929
|
+
// Left unstyled on purpose: the default look keeps a detached
|
|
930
|
+
// filter bar above a bordered grid (`filterBar` + `root`). To get
|
|
931
|
+
// the single-card look instead, move the border/radius here and
|
|
932
|
+
// clear them from `root` and `filterBar`.
|
|
933
|
+
container: {},
|
|
934
|
+
topBar: {
|
|
935
|
+
style: {
|
|
936
|
+
paddingLeft: 20,
|
|
937
|
+
paddingRight: 20,
|
|
938
|
+
borderBottom: "1px solid",
|
|
939
|
+
borderColor: "bg-accent",
|
|
940
|
+
backgroundColor: "surface-card"
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
bulkBar: {
|
|
944
|
+
style: {
|
|
945
|
+
paddingLeft: 20,
|
|
946
|
+
paddingRight: 20,
|
|
947
|
+
paddingTop: 10,
|
|
948
|
+
paddingBottom: 10,
|
|
949
|
+
gap: 12,
|
|
950
|
+
backgroundColor: "bg-subtle",
|
|
951
|
+
borderBottom: "1px solid",
|
|
952
|
+
borderColor: "bg-accent"
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
bulkBarText: {
|
|
956
|
+
style: { fontSize: 13, fontWeight: "600", color: "text-primary" }
|
|
957
|
+
},
|
|
908
958
|
root: {
|
|
909
959
|
style: {
|
|
910
960
|
borderRadius: 16,
|
|
@@ -994,9 +1044,16 @@ const defaultTheme = {
|
|
|
994
1044
|
marginBottom: 12
|
|
995
1045
|
}
|
|
996
1046
|
},
|
|
997
|
-
|
|
1047
|
+
/* Chrome shared by every toolbar control — the search box, each
|
|
1048
|
+
external filter and the column picker. It lives here rather
|
|
1049
|
+
than on `filterInput` / `searchInput` so `toolbarControl` is
|
|
1050
|
+
genuinely the one knob for "restyle all of them": a value on a
|
|
1051
|
+
more specific slot wins, so duplicating this chrome there would
|
|
1052
|
+
mean a consumer's `toolbarControl` override was silently beaten
|
|
1053
|
+
by a default it never set. Per-control slots stay free for
|
|
1054
|
+
genuine per-control differences. */
|
|
1055
|
+
toolbarControl: {
|
|
998
1056
|
style: {
|
|
999
|
-
height: "2.5rem",
|
|
1000
1057
|
backgroundColor: "bg-input",
|
|
1001
1058
|
borderRadius: 8,
|
|
1002
1059
|
// AM.r.sm
|
|
@@ -1005,6 +1062,7 @@ const defaultTheme = {
|
|
|
1005
1062
|
borderColor: "bg-accent"
|
|
1006
1063
|
}
|
|
1007
1064
|
},
|
|
1065
|
+
filterInput: {},
|
|
1008
1066
|
filterLabel: {
|
|
1009
1067
|
style: {
|
|
1010
1068
|
fontSize: 11,
|
|
@@ -1014,15 +1072,20 @@ const defaultTheme = {
|
|
|
1014
1072
|
textTransform: "uppercase"
|
|
1015
1073
|
}
|
|
1016
1074
|
},
|
|
1075
|
+
/* Placeholder text across every toolbar control — text inputs
|
|
1076
|
+
(::placeholder) and PrimeReact selects (.p-placeholder) alike. */
|
|
1077
|
+
filterPlaceholder: {
|
|
1078
|
+
style: {
|
|
1079
|
+
color: "text-secondary",
|
|
1080
|
+
opacity: 1
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
/* Sizing only — the search box's chrome comes from
|
|
1084
|
+
`toolbarControl` along with every other control's. */
|
|
1017
1085
|
searchInput: {
|
|
1018
1086
|
style: {
|
|
1019
1087
|
minWidth: 260,
|
|
1020
|
-
maxWidth: 460
|
|
1021
|
-
backgroundColor: "bg-input",
|
|
1022
|
-
borderRadius: 8,
|
|
1023
|
-
borderWidth: 1,
|
|
1024
|
-
borderStyle: "solid",
|
|
1025
|
-
borderColor: "bg-accent"
|
|
1088
|
+
maxWidth: 460
|
|
1026
1089
|
}
|
|
1027
1090
|
},
|
|
1028
1091
|
toolbarRight: { style: { gap: 8 } },
|
|
@@ -1189,7 +1252,8 @@ const defaultTheme = {
|
|
|
1189
1252
|
// ─── Group (repeatable field array) ───────────────────
|
|
1190
1253
|
Group: {
|
|
1191
1254
|
root: { style: { gap: 12 } },
|
|
1192
|
-
header
|
|
1255
|
+
// No `header` slot — it was removed from IGroupElementSlots
|
|
1256
|
+
// because nothing ever rendered it (see the note on that type).
|
|
1193
1257
|
body: { style: { gap: 8 } },
|
|
1194
1258
|
row: { style: { gap: 8, paddingBottom: 8 } },
|
|
1195
1259
|
addButton: { props: { severity: "success", size: "sm", outlined: true } },
|