orbcafe-ui 1.4.1 → 1.4.2
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/index.d.mts +29 -5
- package/dist/index.d.ts +29 -5
- package/dist/index.js +17 -17
- package/dist/index.mjs +15 -15
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -204,6 +204,9 @@ interface CValueHelpProps<TRecord extends CValueHelpRecord = CValueHelpRecord> e
|
|
|
204
204
|
noResultsText?: string;
|
|
205
205
|
loading?: boolean;
|
|
206
206
|
clearable?: boolean;
|
|
207
|
+
allowManualInput?: boolean;
|
|
208
|
+
validateManualInput?: boolean;
|
|
209
|
+
manualInputErrorText?: string;
|
|
207
210
|
selectedItems?: TRecord[];
|
|
208
211
|
displayValue?: string;
|
|
209
212
|
getOptionValue?: (item: TRecord) => CValueHelpPrimitive;
|
|
@@ -212,7 +215,7 @@ interface CValueHelpProps<TRecord extends CValueHelpRecord = CValueHelpRecord> e
|
|
|
212
215
|
onChange?: (value: CValueHelpSelectionValue, selection: TRecord | TRecord[] | null) => void;
|
|
213
216
|
onSearch?: (query: string) => Promise<TRecord[] | void> | TRecord[] | void;
|
|
214
217
|
}
|
|
215
|
-
declare const CValueHelp: <TRecord extends CValueHelpRecord = CValueHelpRecord>({ value, items, columns, mode, dialogTitle, searchPlaceholder, selectLabel, clearLabel, cancelLabel, valueHelpLabel, noResultsText, loading, clearable, selectedItems, displayValue, getOptionValue, getOptionLabel, getOptionDescription, onChange, onSearch, disabled, InputProps, onKeyDown, ...textFieldProps }: CValueHelpProps<TRecord>) => react_jsx_runtime.JSX.Element;
|
|
218
|
+
declare const CValueHelp: <TRecord extends CValueHelpRecord = CValueHelpRecord>({ value, items, columns, mode, dialogTitle, searchPlaceholder, selectLabel, clearLabel, cancelLabel, valueHelpLabel, noResultsText, loading, clearable, allowManualInput, validateManualInput, manualInputErrorText, selectedItems, displayValue, getOptionValue, getOptionLabel, getOptionDescription, onChange, onSearch, disabled, InputProps, onFocus, onBlur, onKeyDown, error, helperText, ...textFieldProps }: CValueHelpProps<TRecord>) => react_jsx_runtime.JSX.Element;
|
|
216
219
|
|
|
217
220
|
interface CustomizeAgentSettings {
|
|
218
221
|
baseUrl: string;
|
|
@@ -2266,6 +2269,9 @@ interface PlanningGanttSummaryItem {
|
|
|
2266
2269
|
tone?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
2267
2270
|
}
|
|
2268
2271
|
interface CPlanningGanttProps {
|
|
2272
|
+
appId?: string;
|
|
2273
|
+
tableKey?: string;
|
|
2274
|
+
serviceUrl?: string;
|
|
2269
2275
|
title?: string;
|
|
2270
2276
|
subtitle?: string;
|
|
2271
2277
|
extraTools?: ReactNode | ReactNode[];
|
|
@@ -2289,6 +2295,11 @@ interface CPlanningGanttProps {
|
|
|
2289
2295
|
activeTask: PlanningTaskRecord;
|
|
2290
2296
|
targetTask: PlanningTaskRecord;
|
|
2291
2297
|
}) => void;
|
|
2298
|
+
layout?: any;
|
|
2299
|
+
layoutVariant?: any;
|
|
2300
|
+
layoutVariantLoadKey?: number;
|
|
2301
|
+
onLayoutIdChange?: (layoutId: string) => void;
|
|
2302
|
+
onLayoutSave?: (layout: any) => void;
|
|
2292
2303
|
summaryItems?: PlanningGanttSummaryItem[];
|
|
2293
2304
|
emptyLabel?: string;
|
|
2294
2305
|
sx?: SxProps<Theme>;
|
|
@@ -2296,12 +2307,23 @@ interface CPlanningGanttProps {
|
|
|
2296
2307
|
|
|
2297
2308
|
interface UsePlanningGanttOptions {
|
|
2298
2309
|
tasks: PlanningTaskRecord[];
|
|
2310
|
+
appId?: string;
|
|
2311
|
+
tableKey?: string;
|
|
2299
2312
|
defaultScale?: PlanningGanttScale;
|
|
2300
2313
|
defaultSelectedTaskId?: string;
|
|
2301
2314
|
initialFilters?: Record<string, FilterValue>;
|
|
2302
2315
|
filterFields?: FilterField[];
|
|
2316
|
+
/**
|
|
2317
|
+
* @deprecated Use appId so SmartFilter variants and table layouts share one persistence namespace.
|
|
2318
|
+
*/
|
|
2303
2319
|
filterAppId?: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* @deprecated Use tableKey so SmartFilter variants and table layouts share one persistence scope.
|
|
2322
|
+
*/
|
|
2304
2323
|
filterTableKey?: string;
|
|
2324
|
+
serviceUrl?: CSmartFilterProps['serviceUrl'];
|
|
2325
|
+
variantService?: CSmartFilterProps['variantService'];
|
|
2326
|
+
layout?: CPlanningGanttProps['layout'];
|
|
2305
2327
|
columns?: CPlanningGanttProps['columns'];
|
|
2306
2328
|
page?: CPlanningGanttProps['page'];
|
|
2307
2329
|
rowsPerPage?: CPlanningGanttProps['rowsPerPage'];
|
|
@@ -2313,6 +2335,8 @@ interface UsePlanningGanttOptions {
|
|
|
2313
2335
|
onFilterVariantLoad?: CSmartFilterProps['onVariantLoad'];
|
|
2314
2336
|
enableRowReorder?: CPlanningGanttProps['enableRowReorder'];
|
|
2315
2337
|
onTaskReorder?: CPlanningGanttProps['onTaskReorder'];
|
|
2338
|
+
onLayoutIdChange?: CPlanningGanttProps['onLayoutIdChange'];
|
|
2339
|
+
onLayoutSave?: CPlanningGanttProps['onLayoutSave'];
|
|
2316
2340
|
}
|
|
2317
2341
|
interface UsePlanningGanttResult {
|
|
2318
2342
|
scale: PlanningGanttScale;
|
|
@@ -2322,10 +2346,10 @@ interface UsePlanningGanttResult {
|
|
|
2322
2346
|
filters: Record<string, FilterValue>;
|
|
2323
2347
|
setFilters: (filters: Record<string, FilterValue>) => void;
|
|
2324
2348
|
filteredTasks: PlanningTaskRecord[];
|
|
2325
|
-
smartFilterProps: Pick<CSmartFilterProps, 'fields' | 'filters' | 'onFilterChange' | 'onVariantLoad' | 'onSearch' | 'appId' | 'tableKey'>;
|
|
2326
|
-
planningGanttProps: Pick<CPlanningGanttProps, 'tasks' | 'columns' | 'scale' | 'onScaleChange' | 'page' | 'rowsPerPage' | 'rowsPerPageOptions' | 'count' | 'onPageChange' | 'onRowsPerPageChange' | 'selectedTaskId' | 'onTaskSelect' | 'enableRowReorder' | 'onTaskReorder'>;
|
|
2349
|
+
smartFilterProps: Pick<CSmartFilterProps, 'fields' | 'filters' | 'onFilterChange' | 'onVariantLoad' | 'onSearch' | 'appId' | 'tableKey' | 'currentLayoutId' | 'layoutRefs' | 'variantService' | 'serviceUrl'>;
|
|
2350
|
+
planningGanttProps: Pick<CPlanningGanttProps, 'appId' | 'tableKey' | 'serviceUrl' | 'tasks' | 'columns' | 'scale' | 'onScaleChange' | 'page' | 'rowsPerPage' | 'rowsPerPageOptions' | 'count' | 'onPageChange' | 'onRowsPerPageChange' | 'selectedTaskId' | 'onTaskSelect' | 'enableRowReorder' | 'onTaskReorder' | 'layout' | 'layoutVariant' | 'layoutVariantLoadKey' | 'onLayoutIdChange' | 'onLayoutSave'>;
|
|
2327
2351
|
}
|
|
2328
|
-
declare const usePlanningGantt: ({ tasks, defaultScale, defaultSelectedTaskId, initialFilters, filterFields, filterAppId, filterTableKey, columns, page, rowsPerPage, rowsPerPageOptions, count, onPageChange, onRowsPerPageChange, onFilterSearch, onFilterVariantLoad, enableRowReorder, onTaskReorder, }: UsePlanningGanttOptions) => UsePlanningGanttResult;
|
|
2352
|
+
declare const usePlanningGantt: ({ tasks, appId, tableKey, defaultScale, defaultSelectedTaskId, initialFilters, filterFields, filterAppId, filterTableKey, serviceUrl, variantService, layout, columns, page, rowsPerPage, rowsPerPageOptions, count, onPageChange, onRowsPerPageChange, onFilterSearch, onFilterVariantLoad, enableRowReorder, onTaskReorder, onLayoutIdChange, onLayoutSave, }: UsePlanningGanttOptions) => UsePlanningGanttResult;
|
|
2329
2353
|
|
|
2330
2354
|
interface CPlanningLayoutProps {
|
|
2331
2355
|
filterProps: CSmartFilterProps;
|
|
@@ -2343,7 +2367,7 @@ interface UsePlanningLayoutResult extends UsePlanningGanttResult {
|
|
|
2343
2367
|
}
|
|
2344
2368
|
declare const usePlanningLayout: (options: UsePlanningLayoutOptions) => UsePlanningLayoutResult;
|
|
2345
2369
|
|
|
2346
|
-
declare const CPlanningGantt: ({ title, extraTools, bodyHeight, tasks, columns, scale, onScaleChange, page, rowsPerPage, rowsPerPageOptions, count, onPageChange, onRowsPerPageChange, timelineStart, timelineEnd, selectedTaskId, onTaskSelect, enableRowReorder, onTaskReorder, emptyLabel, sx, }: CPlanningGanttProps) => react_jsx_runtime.JSX.Element;
|
|
2370
|
+
declare const CPlanningGantt: ({ appId, tableKey, serviceUrl, title, extraTools, bodyHeight, tasks, columns, scale, onScaleChange, page, rowsPerPage, rowsPerPageOptions, count, onPageChange, onRowsPerPageChange, timelineStart, timelineEnd, selectedTaskId, onTaskSelect, enableRowReorder, onTaskReorder, layout, layoutVariant, layoutVariantLoadKey, onLayoutIdChange, onLayoutSave, emptyLabel, sx, }: CPlanningGanttProps) => react_jsx_runtime.JSX.Element;
|
|
2347
2371
|
|
|
2348
2372
|
interface MarkdownRendererProps {
|
|
2349
2373
|
markdown?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -204,6 +204,9 @@ interface CValueHelpProps<TRecord extends CValueHelpRecord = CValueHelpRecord> e
|
|
|
204
204
|
noResultsText?: string;
|
|
205
205
|
loading?: boolean;
|
|
206
206
|
clearable?: boolean;
|
|
207
|
+
allowManualInput?: boolean;
|
|
208
|
+
validateManualInput?: boolean;
|
|
209
|
+
manualInputErrorText?: string;
|
|
207
210
|
selectedItems?: TRecord[];
|
|
208
211
|
displayValue?: string;
|
|
209
212
|
getOptionValue?: (item: TRecord) => CValueHelpPrimitive;
|
|
@@ -212,7 +215,7 @@ interface CValueHelpProps<TRecord extends CValueHelpRecord = CValueHelpRecord> e
|
|
|
212
215
|
onChange?: (value: CValueHelpSelectionValue, selection: TRecord | TRecord[] | null) => void;
|
|
213
216
|
onSearch?: (query: string) => Promise<TRecord[] | void> | TRecord[] | void;
|
|
214
217
|
}
|
|
215
|
-
declare const CValueHelp: <TRecord extends CValueHelpRecord = CValueHelpRecord>({ value, items, columns, mode, dialogTitle, searchPlaceholder, selectLabel, clearLabel, cancelLabel, valueHelpLabel, noResultsText, loading, clearable, selectedItems, displayValue, getOptionValue, getOptionLabel, getOptionDescription, onChange, onSearch, disabled, InputProps, onKeyDown, ...textFieldProps }: CValueHelpProps<TRecord>) => react_jsx_runtime.JSX.Element;
|
|
218
|
+
declare const CValueHelp: <TRecord extends CValueHelpRecord = CValueHelpRecord>({ value, items, columns, mode, dialogTitle, searchPlaceholder, selectLabel, clearLabel, cancelLabel, valueHelpLabel, noResultsText, loading, clearable, allowManualInput, validateManualInput, manualInputErrorText, selectedItems, displayValue, getOptionValue, getOptionLabel, getOptionDescription, onChange, onSearch, disabled, InputProps, onFocus, onBlur, onKeyDown, error, helperText, ...textFieldProps }: CValueHelpProps<TRecord>) => react_jsx_runtime.JSX.Element;
|
|
216
219
|
|
|
217
220
|
interface CustomizeAgentSettings {
|
|
218
221
|
baseUrl: string;
|
|
@@ -2266,6 +2269,9 @@ interface PlanningGanttSummaryItem {
|
|
|
2266
2269
|
tone?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
2267
2270
|
}
|
|
2268
2271
|
interface CPlanningGanttProps {
|
|
2272
|
+
appId?: string;
|
|
2273
|
+
tableKey?: string;
|
|
2274
|
+
serviceUrl?: string;
|
|
2269
2275
|
title?: string;
|
|
2270
2276
|
subtitle?: string;
|
|
2271
2277
|
extraTools?: ReactNode | ReactNode[];
|
|
@@ -2289,6 +2295,11 @@ interface CPlanningGanttProps {
|
|
|
2289
2295
|
activeTask: PlanningTaskRecord;
|
|
2290
2296
|
targetTask: PlanningTaskRecord;
|
|
2291
2297
|
}) => void;
|
|
2298
|
+
layout?: any;
|
|
2299
|
+
layoutVariant?: any;
|
|
2300
|
+
layoutVariantLoadKey?: number;
|
|
2301
|
+
onLayoutIdChange?: (layoutId: string) => void;
|
|
2302
|
+
onLayoutSave?: (layout: any) => void;
|
|
2292
2303
|
summaryItems?: PlanningGanttSummaryItem[];
|
|
2293
2304
|
emptyLabel?: string;
|
|
2294
2305
|
sx?: SxProps<Theme>;
|
|
@@ -2296,12 +2307,23 @@ interface CPlanningGanttProps {
|
|
|
2296
2307
|
|
|
2297
2308
|
interface UsePlanningGanttOptions {
|
|
2298
2309
|
tasks: PlanningTaskRecord[];
|
|
2310
|
+
appId?: string;
|
|
2311
|
+
tableKey?: string;
|
|
2299
2312
|
defaultScale?: PlanningGanttScale;
|
|
2300
2313
|
defaultSelectedTaskId?: string;
|
|
2301
2314
|
initialFilters?: Record<string, FilterValue>;
|
|
2302
2315
|
filterFields?: FilterField[];
|
|
2316
|
+
/**
|
|
2317
|
+
* @deprecated Use appId so SmartFilter variants and table layouts share one persistence namespace.
|
|
2318
|
+
*/
|
|
2303
2319
|
filterAppId?: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* @deprecated Use tableKey so SmartFilter variants and table layouts share one persistence scope.
|
|
2322
|
+
*/
|
|
2304
2323
|
filterTableKey?: string;
|
|
2324
|
+
serviceUrl?: CSmartFilterProps['serviceUrl'];
|
|
2325
|
+
variantService?: CSmartFilterProps['variantService'];
|
|
2326
|
+
layout?: CPlanningGanttProps['layout'];
|
|
2305
2327
|
columns?: CPlanningGanttProps['columns'];
|
|
2306
2328
|
page?: CPlanningGanttProps['page'];
|
|
2307
2329
|
rowsPerPage?: CPlanningGanttProps['rowsPerPage'];
|
|
@@ -2313,6 +2335,8 @@ interface UsePlanningGanttOptions {
|
|
|
2313
2335
|
onFilterVariantLoad?: CSmartFilterProps['onVariantLoad'];
|
|
2314
2336
|
enableRowReorder?: CPlanningGanttProps['enableRowReorder'];
|
|
2315
2337
|
onTaskReorder?: CPlanningGanttProps['onTaskReorder'];
|
|
2338
|
+
onLayoutIdChange?: CPlanningGanttProps['onLayoutIdChange'];
|
|
2339
|
+
onLayoutSave?: CPlanningGanttProps['onLayoutSave'];
|
|
2316
2340
|
}
|
|
2317
2341
|
interface UsePlanningGanttResult {
|
|
2318
2342
|
scale: PlanningGanttScale;
|
|
@@ -2322,10 +2346,10 @@ interface UsePlanningGanttResult {
|
|
|
2322
2346
|
filters: Record<string, FilterValue>;
|
|
2323
2347
|
setFilters: (filters: Record<string, FilterValue>) => void;
|
|
2324
2348
|
filteredTasks: PlanningTaskRecord[];
|
|
2325
|
-
smartFilterProps: Pick<CSmartFilterProps, 'fields' | 'filters' | 'onFilterChange' | 'onVariantLoad' | 'onSearch' | 'appId' | 'tableKey'>;
|
|
2326
|
-
planningGanttProps: Pick<CPlanningGanttProps, 'tasks' | 'columns' | 'scale' | 'onScaleChange' | 'page' | 'rowsPerPage' | 'rowsPerPageOptions' | 'count' | 'onPageChange' | 'onRowsPerPageChange' | 'selectedTaskId' | 'onTaskSelect' | 'enableRowReorder' | 'onTaskReorder'>;
|
|
2349
|
+
smartFilterProps: Pick<CSmartFilterProps, 'fields' | 'filters' | 'onFilterChange' | 'onVariantLoad' | 'onSearch' | 'appId' | 'tableKey' | 'currentLayoutId' | 'layoutRefs' | 'variantService' | 'serviceUrl'>;
|
|
2350
|
+
planningGanttProps: Pick<CPlanningGanttProps, 'appId' | 'tableKey' | 'serviceUrl' | 'tasks' | 'columns' | 'scale' | 'onScaleChange' | 'page' | 'rowsPerPage' | 'rowsPerPageOptions' | 'count' | 'onPageChange' | 'onRowsPerPageChange' | 'selectedTaskId' | 'onTaskSelect' | 'enableRowReorder' | 'onTaskReorder' | 'layout' | 'layoutVariant' | 'layoutVariantLoadKey' | 'onLayoutIdChange' | 'onLayoutSave'>;
|
|
2327
2351
|
}
|
|
2328
|
-
declare const usePlanningGantt: ({ tasks, defaultScale, defaultSelectedTaskId, initialFilters, filterFields, filterAppId, filterTableKey, columns, page, rowsPerPage, rowsPerPageOptions, count, onPageChange, onRowsPerPageChange, onFilterSearch, onFilterVariantLoad, enableRowReorder, onTaskReorder, }: UsePlanningGanttOptions) => UsePlanningGanttResult;
|
|
2352
|
+
declare const usePlanningGantt: ({ tasks, appId, tableKey, defaultScale, defaultSelectedTaskId, initialFilters, filterFields, filterAppId, filterTableKey, serviceUrl, variantService, layout, columns, page, rowsPerPage, rowsPerPageOptions, count, onPageChange, onRowsPerPageChange, onFilterSearch, onFilterVariantLoad, enableRowReorder, onTaskReorder, onLayoutIdChange, onLayoutSave, }: UsePlanningGanttOptions) => UsePlanningGanttResult;
|
|
2329
2353
|
|
|
2330
2354
|
interface CPlanningLayoutProps {
|
|
2331
2355
|
filterProps: CSmartFilterProps;
|
|
@@ -2343,7 +2367,7 @@ interface UsePlanningLayoutResult extends UsePlanningGanttResult {
|
|
|
2343
2367
|
}
|
|
2344
2368
|
declare const usePlanningLayout: (options: UsePlanningLayoutOptions) => UsePlanningLayoutResult;
|
|
2345
2369
|
|
|
2346
|
-
declare const CPlanningGantt: ({ title, extraTools, bodyHeight, tasks, columns, scale, onScaleChange, page, rowsPerPage, rowsPerPageOptions, count, onPageChange, onRowsPerPageChange, timelineStart, timelineEnd, selectedTaskId, onTaskSelect, enableRowReorder, onTaskReorder, emptyLabel, sx, }: CPlanningGanttProps) => react_jsx_runtime.JSX.Element;
|
|
2370
|
+
declare const CPlanningGantt: ({ appId, tableKey, serviceUrl, title, extraTools, bodyHeight, tasks, columns, scale, onScaleChange, page, rowsPerPage, rowsPerPageOptions, count, onPageChange, onRowsPerPageChange, timelineStart, timelineEnd, selectedTaskId, onTaskSelect, enableRowReorder, onTaskReorder, layout, layoutVariant, layoutVariantLoadKey, onLayoutIdChange, onLayoutSave, emptyLabel, sx, }: CPlanningGanttProps) => react_jsx_runtime.JSX.Element;
|
|
2347
2371
|
|
|
2348
2372
|
interface MarkdownRendererProps {
|
|
2349
2373
|
markdown?: string;
|