orbcafe-ui 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +44 -3
- package/dist/index.d.ts +44 -3
- package/dist/index.js +14 -14
- package/dist/index.mjs +13 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,6 +3,7 @@ import React__default, { Dispatch, SetStateAction, ReactNode, HTMLAttributes } f
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
import { TextFieldProps, TableCellProps } from '@mui/material';
|
|
6
7
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
7
8
|
|
|
8
9
|
interface TreeMenuItem {
|
|
@@ -168,6 +169,43 @@ interface CMessageBoxProps {
|
|
|
168
169
|
declare const CMessageBox: React__default.FC<CMessageBoxProps>;
|
|
169
170
|
declare const GlobalMessage: React__default.FC;
|
|
170
171
|
|
|
172
|
+
type CValueHelpPrimitive = string | number;
|
|
173
|
+
type CValueHelpMode = 'single' | 'multiple';
|
|
174
|
+
type CValueHelpRecord = Record<string, unknown>;
|
|
175
|
+
type CValueHelpSelectionValue = CValueHelpPrimitive | CValueHelpPrimitive[] | null;
|
|
176
|
+
interface CValueHelpColumn<TRecord extends CValueHelpRecord = CValueHelpRecord> {
|
|
177
|
+
field: keyof TRecord | string;
|
|
178
|
+
label: string;
|
|
179
|
+
minWidth?: number;
|
|
180
|
+
width?: number | string;
|
|
181
|
+
align?: TableCellProps['align'];
|
|
182
|
+
searchable?: boolean;
|
|
183
|
+
render?: (value: unknown, row: TRecord) => ReactNode;
|
|
184
|
+
}
|
|
185
|
+
interface CValueHelpProps<TRecord extends CValueHelpRecord = CValueHelpRecord> extends Omit<TextFieldProps, 'children' | 'onChange' | 'select' | 'value'> {
|
|
186
|
+
value?: CValueHelpSelectionValue;
|
|
187
|
+
items?: TRecord[];
|
|
188
|
+
columns?: CValueHelpColumn<TRecord>[];
|
|
189
|
+
mode?: CValueHelpMode;
|
|
190
|
+
dialogTitle?: string;
|
|
191
|
+
searchPlaceholder?: string;
|
|
192
|
+
selectLabel?: string;
|
|
193
|
+
clearLabel?: string;
|
|
194
|
+
cancelLabel?: string;
|
|
195
|
+
valueHelpLabel?: string;
|
|
196
|
+
noResultsText?: string;
|
|
197
|
+
loading?: boolean;
|
|
198
|
+
clearable?: boolean;
|
|
199
|
+
selectedItems?: TRecord[];
|
|
200
|
+
displayValue?: string;
|
|
201
|
+
getOptionValue?: (item: TRecord) => CValueHelpPrimitive;
|
|
202
|
+
getOptionLabel?: (item: TRecord) => string;
|
|
203
|
+
getOptionDescription?: (item: TRecord) => string | undefined;
|
|
204
|
+
onChange?: (value: CValueHelpSelectionValue, selection: TRecord | TRecord[] | null) => void;
|
|
205
|
+
onSearch?: (query: string) => Promise<TRecord[] | void> | TRecord[] | void;
|
|
206
|
+
}
|
|
207
|
+
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;
|
|
208
|
+
|
|
171
209
|
interface CustomizeAgentSettings {
|
|
172
210
|
baseUrl: string;
|
|
173
211
|
apiKey: string;
|
|
@@ -509,7 +547,7 @@ interface CVariantManagerProps {
|
|
|
509
547
|
}
|
|
510
548
|
declare const CVariantManager: React__default.FC<CVariantManagerProps>;
|
|
511
549
|
|
|
512
|
-
type FilterType = 'text' | 'number' | 'date' | 'select' | 'multi-select';
|
|
550
|
+
type FilterType = 'text' | 'number' | 'date' | 'select' | 'multi-select' | 'value-help';
|
|
513
551
|
type TextOperator = 'equals' | 'contains' | 'notContains' | 'wildcard';
|
|
514
552
|
type NumberOperator = '=' | '!=' | '>' | '<' | '>=' | '<=' | 'between';
|
|
515
553
|
type SelectOperator = 'equals' | 'anyOf';
|
|
@@ -530,6 +568,8 @@ interface FilterField {
|
|
|
530
568
|
label: string;
|
|
531
569
|
value: any;
|
|
532
570
|
}[];
|
|
571
|
+
isValueHelp?: boolean;
|
|
572
|
+
valueHelp?: Omit<CValueHelpProps<CValueHelpRecord>, 'label' | 'onChange' | 'value'>;
|
|
533
573
|
}
|
|
534
574
|
interface CSmartFilterProps {
|
|
535
575
|
fields: FilterField[];
|
|
@@ -744,13 +784,14 @@ interface ReportColumn {
|
|
|
744
784
|
interface ReportFilter {
|
|
745
785
|
id: string;
|
|
746
786
|
label: string;
|
|
747
|
-
type: 'text' | 'select' | 'date' | 'number' | 'multi-select';
|
|
787
|
+
type: 'text' | 'select' | 'date' | 'number' | 'multi-select' | 'value-help';
|
|
748
788
|
options?: {
|
|
749
789
|
label: string;
|
|
750
790
|
value: any;
|
|
751
791
|
}[];
|
|
752
792
|
placeholder?: string;
|
|
753
793
|
defaultValue?: any;
|
|
794
|
+
isValueHelp?: boolean;
|
|
754
795
|
[key: string]: any;
|
|
755
796
|
}
|
|
756
797
|
interface ReportMetadata {
|
|
@@ -2336,4 +2377,4 @@ declare const PAGE_TRANSITION_PRESETS: {
|
|
|
2336
2377
|
};
|
|
2337
2378
|
};
|
|
2338
2379
|
|
|
2339
|
-
export { type AINavContextValue, AgentPanel, type AgentPanelProps, type AgentPanelStatus, type AgentUICardAction, type AgentUICardHookEvent, type AgentUICardHooks, type AgentUICardType, type AmapEmbedOptions, type AuthForgotPasswordPayload, type AuthLoginPayload, type AuthPageCopy, type AuthPageMode, type AuthRegisterPayload, Button, type ButtonProps, CAINavProvider, type CAINavProviderProps, CAmapChart, type CAmapChartProps, CAppHeader, type CAppHeaderProps, type CAppHeaderUser, type CAppHeaderUserMenuItem, CAppPageLayout, type CAppPageLayoutProps, CAuthPage, type CAuthPageProps, CBarChart, type CBarChartProps, CChartCard, type CChartCardProps, CComboChart, type CComboChartProps, CCustomizeAgent, type CCustomizeAgentProps, CDetailInfoPage, type CDetailInfoPageProps, CDetailSearchAiBar, type CDetailSearchAiBarProps, CDetailSectionCard, type CDetailSectionCardProps, CFishboneChart, type CFishboneChartProps, CGoogleMapChart, type CGoogleMapChartProps, CGraphCharts, CGraphKpiCards, CGraphReport, type CGraphReportProps, CHeatmapChart, type CHeatmapChartProps, CKanbanBoard, type CKanbanBoardProps, CKanbanBucket, type CKanbanBucketProps, CKanbanCard, type CKanbanCardProps, CLayoutManagement, type CLayoutManagementProps, CLayoutManager, type CLayoutManagerProps, CLineChart, type CLineChartProps, CMessageBox, type CMessageBoxProps, type CMessageBoxType, COrbCanvas, type COrbCanvasProps, CPageLayout, type CPageLayoutProps, CPageTransition, type CPageTransitionProps, CPieChart, type CPieChartProps, CPivotTable, type CPivotTableProps, CPlanningGantt, type CPlanningGanttProps, CPlanningLayout, type CPlanningLayoutProps, CSmartFilter, type CSmartFilterProps, CSmartTable, CStandardPage, type CStandardPageProps, CTable, CTableBody, type CTableBodyProps, CTableCell, type CTableCellProps, CTableContainer, type CTableContainerProps, CTableHead, type CTableHeadProps, type CTableProps, type CTableQuickCreateConfig, type CTableQuickDeleteConfig, type CTableQuickEditConfig, CTableRow, type CTableRowProps, CVariantManagement, type CVariantManagementProps, CVariantManager, CVoiceWaveOverlay, type CVoiceWaveOverlayProps, CWaterfallChart, type CWaterfallChartProps, ChatMessage, CodeBlock, type CodeBlockProps, CopilotChat, type CopilotChatProps, type CreateKanbanBoardModelOptions, type CustomizeAgentSavePayload, type CustomizeAgentSettings, type CustomizeAgentTemplateOption, type DateOperator, type DetailInfoAiConfig, type DetailInfoField, type DetailInfoSearchHit, type DetailInfoSearchMode, type DetailInfoSection, type DetailInfoTab, type DetailInfoTableConfig, type FilterField, type FilterOperator, type FilterType, type FilterValue, GlobalMessage, type GoogleMapEmbedOptions, type GraphBarDatum, type GraphComboDatum, type GraphFishboneBranch, type GraphHeatmapDatum, type GraphLineDatum, type GraphMapLocation, type GraphPieDatum, type GraphReportConfig, type GraphReportFieldMapping, type GraphReportInteractionState, type GraphReportKpis, type GraphReportModel, type GraphRow, type GraphTableColumn, type GraphWaterfallDatum, type IVariantService, type KanbanBoardModel, type KanbanBucketDefinition, type KanbanBucketModel, type KanbanCardAssignee, type KanbanCardClickContext, type KanbanCardLookup, type KanbanCardMetric, type KanbanCardMoveEvent, type KanbanCardMoveInput, type KanbanCardPriority, type KanbanCardRecord, type KanbanCardTag, type KanbanCardTone, type LayoutMetadata, MarkdownRenderer, type MarkdownRendererProps, MathBlock, type MathBlockProps, MermaidBlock, type MermaidBlockProps, type MessageContent, type MessageEvent, type MessageOptions, NavigationIsland, type NavigationIslandProps, type NumberOperator, ORBCAFE_I18N_MESSAGES, type OrbcafeI18nContextValue, OrbcafeI18nProvider, type OrbcafeI18nProviderProps, type OrbcafeLocale, type OrbcafeLocaleMessages, type OrbcafeMessageKey, type OrbcafeMessageParams, PAGE_TRANSITION_PRESETS, PAppPageLayout, type PAppPageLayoutProps, PBarcodeScanner, type PBarcodeScannerDetectedValue, type PBarcodeScannerProps, PNavIsland, type PNavIslandProps, PNumericKeypad, type PNumericKeypadProps, type POrientation, PSmartFilter, type PSmartFilterProps, PTable, type PTableProps, PTouchCard, type PTouchCardMetric, type PTouchCardProps, type PTouchCardSwipeAction, PWorkloadNav, type PWorkloadNavItem, type PWorkloadNavProps, type PageTransitionVariant, type ParsedMarkdownTable, type PivotAggregation, type PivotChartConfig, PivotChartPanel, type PivotChartType, type PivotFieldDefinition, type PivotFieldType, type PivotFilterSelections, type PivotLayoutConfig, type PivotTableModel, type PivotTablePreset, type PivotValueFieldConfig, type PivotValueFieldState, type PlanningGanttColumn, type PlanningGanttScale, type PlanningGanttSummaryItem, type PlanningTaskOwner, type PlanningTaskRecord, type PlanningTaskStatus, type ReportColumn, type ReportFilter, type ReportMetadata, type SelectOperator, StdChat, type StdChatProps, type TableAlign, TableBlock, type TableBlockProps, type TextOperator, ThinkBlock, type ThinkBlockProps, TreeMenu, type TreeMenuItem, type UseAmapEmbedUrlOptions, type UseAuthPageOptions, type UseAuthPageResult, type UseDetailInfoOptions, type UseDetailInfoResult, type UseGoogleMapEmbedUrlOptions, type UseGraphChartDataOptions, type UseGraphChartDataResult, type UseGraphInteractionResult, type UseGraphReportOptions, type UseGraphReportResult, type UseKanbanBoardActions, type UseKanbanBoardBindings, type UseKanbanBoardOptions, type UseKanbanBoardResult, type UseNavigationIslandOptions, type UseNavigationIslandResult, type UsePadLayoutOptions, type UsePadLayoutResult, type UsePadRecordEditorOptions, type UsePadRecordEditorResult, type UsePageLayoutOptions, type UsePivotTableOptions, type UsePivotTableResult, type UsePlanningGanttOptions, type UsePlanningGanttResult, type UsePlanningLayoutOptions, type UsePlanningLayoutResult, type UseStandardReportOptions, type UseVoiceInputOptions, type UseVoiceInputResult, type VariantMetadata, type VoiceNavigatorContextValue, VoiceNavigatorProvider, type VoiceNavigatorProviderProps, VoiceWaveOverlay, type VoiceWaveOverlayProps, buildAmapEmbedUrl, buildGoogleMapEmbedUrl, buildGoogleMapIframe, buttonVariants, createKanbanBoardModel, findKanbanCard, message, messageManager, moveKanbanCard, parseMarkdownTable, renderMarkdown, resolveVariantFilters, resolveVariantLayout, useAINav, useAmapEmbedUrl, useAuthPage, useDetailInfo, useGoogleMapEmbedUrl, useGraphChartData, useGraphInteraction, useGraphReport, useKanbanBoard, useNavigationIsland, useOrbcafeI18n, usePadLayout, usePadRecordEditor, usePageLayout, usePivotTable, usePlanningGantt, usePlanningLayout, useStandardReport, useVoiceInput, useVoiceNavigator };
|
|
2380
|
+
export { type AINavContextValue, AgentPanel, type AgentPanelProps, type AgentPanelStatus, type AgentUICardAction, type AgentUICardHookEvent, type AgentUICardHooks, type AgentUICardType, type AmapEmbedOptions, type AuthForgotPasswordPayload, type AuthLoginPayload, type AuthPageCopy, type AuthPageMode, type AuthRegisterPayload, Button, type ButtonProps, CAINavProvider, type CAINavProviderProps, CAmapChart, type CAmapChartProps, CAppHeader, type CAppHeaderProps, type CAppHeaderUser, type CAppHeaderUserMenuItem, CAppPageLayout, type CAppPageLayoutProps, CAuthPage, type CAuthPageProps, CBarChart, type CBarChartProps, CChartCard, type CChartCardProps, CComboChart, type CComboChartProps, CCustomizeAgent, type CCustomizeAgentProps, CDetailInfoPage, type CDetailInfoPageProps, CDetailSearchAiBar, type CDetailSearchAiBarProps, CDetailSectionCard, type CDetailSectionCardProps, CFishboneChart, type CFishboneChartProps, CGoogleMapChart, type CGoogleMapChartProps, CGraphCharts, CGraphKpiCards, CGraphReport, type CGraphReportProps, CHeatmapChart, type CHeatmapChartProps, CKanbanBoard, type CKanbanBoardProps, CKanbanBucket, type CKanbanBucketProps, CKanbanCard, type CKanbanCardProps, CLayoutManagement, type CLayoutManagementProps, CLayoutManager, type CLayoutManagerProps, CLineChart, type CLineChartProps, CMessageBox, type CMessageBoxProps, type CMessageBoxType, COrbCanvas, type COrbCanvasProps, CPageLayout, type CPageLayoutProps, CPageTransition, type CPageTransitionProps, CPieChart, type CPieChartProps, CPivotTable, type CPivotTableProps, CPlanningGantt, type CPlanningGanttProps, CPlanningLayout, type CPlanningLayoutProps, CSmartFilter, type CSmartFilterProps, CSmartTable, CStandardPage, type CStandardPageProps, CTable, CTableBody, type CTableBodyProps, CTableCell, type CTableCellProps, CTableContainer, type CTableContainerProps, CTableHead, type CTableHeadProps, type CTableProps, type CTableQuickCreateConfig, type CTableQuickDeleteConfig, type CTableQuickEditConfig, CTableRow, type CTableRowProps, CValueHelp, type CValueHelpColumn, type CValueHelpMode, type CValueHelpPrimitive, type CValueHelpProps, type CValueHelpRecord, type CValueHelpSelectionValue, CVariantManagement, type CVariantManagementProps, CVariantManager, CVoiceWaveOverlay, type CVoiceWaveOverlayProps, CWaterfallChart, type CWaterfallChartProps, ChatMessage, CodeBlock, type CodeBlockProps, CopilotChat, type CopilotChatProps, type CreateKanbanBoardModelOptions, type CustomizeAgentSavePayload, type CustomizeAgentSettings, type CustomizeAgentTemplateOption, type DateOperator, type DetailInfoAiConfig, type DetailInfoField, type DetailInfoSearchHit, type DetailInfoSearchMode, type DetailInfoSection, type DetailInfoTab, type DetailInfoTableConfig, type FilterField, type FilterOperator, type FilterType, type FilterValue, GlobalMessage, type GoogleMapEmbedOptions, type GraphBarDatum, type GraphComboDatum, type GraphFishboneBranch, type GraphHeatmapDatum, type GraphLineDatum, type GraphMapLocation, type GraphPieDatum, type GraphReportConfig, type GraphReportFieldMapping, type GraphReportInteractionState, type GraphReportKpis, type GraphReportModel, type GraphRow, type GraphTableColumn, type GraphWaterfallDatum, type IVariantService, type KanbanBoardModel, type KanbanBucketDefinition, type KanbanBucketModel, type KanbanCardAssignee, type KanbanCardClickContext, type KanbanCardLookup, type KanbanCardMetric, type KanbanCardMoveEvent, type KanbanCardMoveInput, type KanbanCardPriority, type KanbanCardRecord, type KanbanCardTag, type KanbanCardTone, type LayoutMetadata, MarkdownRenderer, type MarkdownRendererProps, MathBlock, type MathBlockProps, MermaidBlock, type MermaidBlockProps, type MessageContent, type MessageEvent, type MessageOptions, NavigationIsland, type NavigationIslandProps, type NumberOperator, ORBCAFE_I18N_MESSAGES, type OrbcafeI18nContextValue, OrbcafeI18nProvider, type OrbcafeI18nProviderProps, type OrbcafeLocale, type OrbcafeLocaleMessages, type OrbcafeMessageKey, type OrbcafeMessageParams, PAGE_TRANSITION_PRESETS, PAppPageLayout, type PAppPageLayoutProps, PBarcodeScanner, type PBarcodeScannerDetectedValue, type PBarcodeScannerProps, PNavIsland, type PNavIslandProps, PNumericKeypad, type PNumericKeypadProps, type POrientation, PSmartFilter, type PSmartFilterProps, PTable, type PTableProps, PTouchCard, type PTouchCardMetric, type PTouchCardProps, type PTouchCardSwipeAction, PWorkloadNav, type PWorkloadNavItem, type PWorkloadNavProps, type PageTransitionVariant, type ParsedMarkdownTable, type PivotAggregation, type PivotChartConfig, PivotChartPanel, type PivotChartType, type PivotFieldDefinition, type PivotFieldType, type PivotFilterSelections, type PivotLayoutConfig, type PivotTableModel, type PivotTablePreset, type PivotValueFieldConfig, type PivotValueFieldState, type PlanningGanttColumn, type PlanningGanttScale, type PlanningGanttSummaryItem, type PlanningTaskOwner, type PlanningTaskRecord, type PlanningTaskStatus, type ReportColumn, type ReportFilter, type ReportMetadata, type SelectOperator, StdChat, type StdChatProps, type TableAlign, TableBlock, type TableBlockProps, type TextOperator, ThinkBlock, type ThinkBlockProps, TreeMenu, type TreeMenuItem, type UseAmapEmbedUrlOptions, type UseAuthPageOptions, type UseAuthPageResult, type UseDetailInfoOptions, type UseDetailInfoResult, type UseGoogleMapEmbedUrlOptions, type UseGraphChartDataOptions, type UseGraphChartDataResult, type UseGraphInteractionResult, type UseGraphReportOptions, type UseGraphReportResult, type UseKanbanBoardActions, type UseKanbanBoardBindings, type UseKanbanBoardOptions, type UseKanbanBoardResult, type UseNavigationIslandOptions, type UseNavigationIslandResult, type UsePadLayoutOptions, type UsePadLayoutResult, type UsePadRecordEditorOptions, type UsePadRecordEditorResult, type UsePageLayoutOptions, type UsePivotTableOptions, type UsePivotTableResult, type UsePlanningGanttOptions, type UsePlanningGanttResult, type UsePlanningLayoutOptions, type UsePlanningLayoutResult, type UseStandardReportOptions, type UseVoiceInputOptions, type UseVoiceInputResult, type VariantMetadata, type VoiceNavigatorContextValue, VoiceNavigatorProvider, type VoiceNavigatorProviderProps, VoiceWaveOverlay, type VoiceWaveOverlayProps, buildAmapEmbedUrl, buildGoogleMapEmbedUrl, buildGoogleMapIframe, buttonVariants, createKanbanBoardModel, findKanbanCard, message, messageManager, moveKanbanCard, parseMarkdownTable, renderMarkdown, resolveVariantFilters, resolveVariantLayout, useAINav, useAmapEmbedUrl, useAuthPage, useDetailInfo, useGoogleMapEmbedUrl, useGraphChartData, useGraphInteraction, useGraphReport, useKanbanBoard, useNavigationIsland, useOrbcafeI18n, usePadLayout, usePadRecordEditor, usePageLayout, usePivotTable, usePlanningGantt, usePlanningLayout, useStandardReport, useVoiceInput, useVoiceNavigator };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import React__default, { Dispatch, SetStateAction, ReactNode, HTMLAttributes } f
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
import { TextFieldProps, TableCellProps } from '@mui/material';
|
|
6
7
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
7
8
|
|
|
8
9
|
interface TreeMenuItem {
|
|
@@ -168,6 +169,43 @@ interface CMessageBoxProps {
|
|
|
168
169
|
declare const CMessageBox: React__default.FC<CMessageBoxProps>;
|
|
169
170
|
declare const GlobalMessage: React__default.FC;
|
|
170
171
|
|
|
172
|
+
type CValueHelpPrimitive = string | number;
|
|
173
|
+
type CValueHelpMode = 'single' | 'multiple';
|
|
174
|
+
type CValueHelpRecord = Record<string, unknown>;
|
|
175
|
+
type CValueHelpSelectionValue = CValueHelpPrimitive | CValueHelpPrimitive[] | null;
|
|
176
|
+
interface CValueHelpColumn<TRecord extends CValueHelpRecord = CValueHelpRecord> {
|
|
177
|
+
field: keyof TRecord | string;
|
|
178
|
+
label: string;
|
|
179
|
+
minWidth?: number;
|
|
180
|
+
width?: number | string;
|
|
181
|
+
align?: TableCellProps['align'];
|
|
182
|
+
searchable?: boolean;
|
|
183
|
+
render?: (value: unknown, row: TRecord) => ReactNode;
|
|
184
|
+
}
|
|
185
|
+
interface CValueHelpProps<TRecord extends CValueHelpRecord = CValueHelpRecord> extends Omit<TextFieldProps, 'children' | 'onChange' | 'select' | 'value'> {
|
|
186
|
+
value?: CValueHelpSelectionValue;
|
|
187
|
+
items?: TRecord[];
|
|
188
|
+
columns?: CValueHelpColumn<TRecord>[];
|
|
189
|
+
mode?: CValueHelpMode;
|
|
190
|
+
dialogTitle?: string;
|
|
191
|
+
searchPlaceholder?: string;
|
|
192
|
+
selectLabel?: string;
|
|
193
|
+
clearLabel?: string;
|
|
194
|
+
cancelLabel?: string;
|
|
195
|
+
valueHelpLabel?: string;
|
|
196
|
+
noResultsText?: string;
|
|
197
|
+
loading?: boolean;
|
|
198
|
+
clearable?: boolean;
|
|
199
|
+
selectedItems?: TRecord[];
|
|
200
|
+
displayValue?: string;
|
|
201
|
+
getOptionValue?: (item: TRecord) => CValueHelpPrimitive;
|
|
202
|
+
getOptionLabel?: (item: TRecord) => string;
|
|
203
|
+
getOptionDescription?: (item: TRecord) => string | undefined;
|
|
204
|
+
onChange?: (value: CValueHelpSelectionValue, selection: TRecord | TRecord[] | null) => void;
|
|
205
|
+
onSearch?: (query: string) => Promise<TRecord[] | void> | TRecord[] | void;
|
|
206
|
+
}
|
|
207
|
+
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;
|
|
208
|
+
|
|
171
209
|
interface CustomizeAgentSettings {
|
|
172
210
|
baseUrl: string;
|
|
173
211
|
apiKey: string;
|
|
@@ -509,7 +547,7 @@ interface CVariantManagerProps {
|
|
|
509
547
|
}
|
|
510
548
|
declare const CVariantManager: React__default.FC<CVariantManagerProps>;
|
|
511
549
|
|
|
512
|
-
type FilterType = 'text' | 'number' | 'date' | 'select' | 'multi-select';
|
|
550
|
+
type FilterType = 'text' | 'number' | 'date' | 'select' | 'multi-select' | 'value-help';
|
|
513
551
|
type TextOperator = 'equals' | 'contains' | 'notContains' | 'wildcard';
|
|
514
552
|
type NumberOperator = '=' | '!=' | '>' | '<' | '>=' | '<=' | 'between';
|
|
515
553
|
type SelectOperator = 'equals' | 'anyOf';
|
|
@@ -530,6 +568,8 @@ interface FilterField {
|
|
|
530
568
|
label: string;
|
|
531
569
|
value: any;
|
|
532
570
|
}[];
|
|
571
|
+
isValueHelp?: boolean;
|
|
572
|
+
valueHelp?: Omit<CValueHelpProps<CValueHelpRecord>, 'label' | 'onChange' | 'value'>;
|
|
533
573
|
}
|
|
534
574
|
interface CSmartFilterProps {
|
|
535
575
|
fields: FilterField[];
|
|
@@ -744,13 +784,14 @@ interface ReportColumn {
|
|
|
744
784
|
interface ReportFilter {
|
|
745
785
|
id: string;
|
|
746
786
|
label: string;
|
|
747
|
-
type: 'text' | 'select' | 'date' | 'number' | 'multi-select';
|
|
787
|
+
type: 'text' | 'select' | 'date' | 'number' | 'multi-select' | 'value-help';
|
|
748
788
|
options?: {
|
|
749
789
|
label: string;
|
|
750
790
|
value: any;
|
|
751
791
|
}[];
|
|
752
792
|
placeholder?: string;
|
|
753
793
|
defaultValue?: any;
|
|
794
|
+
isValueHelp?: boolean;
|
|
754
795
|
[key: string]: any;
|
|
755
796
|
}
|
|
756
797
|
interface ReportMetadata {
|
|
@@ -2336,4 +2377,4 @@ declare const PAGE_TRANSITION_PRESETS: {
|
|
|
2336
2377
|
};
|
|
2337
2378
|
};
|
|
2338
2379
|
|
|
2339
|
-
export { type AINavContextValue, AgentPanel, type AgentPanelProps, type AgentPanelStatus, type AgentUICardAction, type AgentUICardHookEvent, type AgentUICardHooks, type AgentUICardType, type AmapEmbedOptions, type AuthForgotPasswordPayload, type AuthLoginPayload, type AuthPageCopy, type AuthPageMode, type AuthRegisterPayload, Button, type ButtonProps, CAINavProvider, type CAINavProviderProps, CAmapChart, type CAmapChartProps, CAppHeader, type CAppHeaderProps, type CAppHeaderUser, type CAppHeaderUserMenuItem, CAppPageLayout, type CAppPageLayoutProps, CAuthPage, type CAuthPageProps, CBarChart, type CBarChartProps, CChartCard, type CChartCardProps, CComboChart, type CComboChartProps, CCustomizeAgent, type CCustomizeAgentProps, CDetailInfoPage, type CDetailInfoPageProps, CDetailSearchAiBar, type CDetailSearchAiBarProps, CDetailSectionCard, type CDetailSectionCardProps, CFishboneChart, type CFishboneChartProps, CGoogleMapChart, type CGoogleMapChartProps, CGraphCharts, CGraphKpiCards, CGraphReport, type CGraphReportProps, CHeatmapChart, type CHeatmapChartProps, CKanbanBoard, type CKanbanBoardProps, CKanbanBucket, type CKanbanBucketProps, CKanbanCard, type CKanbanCardProps, CLayoutManagement, type CLayoutManagementProps, CLayoutManager, type CLayoutManagerProps, CLineChart, type CLineChartProps, CMessageBox, type CMessageBoxProps, type CMessageBoxType, COrbCanvas, type COrbCanvasProps, CPageLayout, type CPageLayoutProps, CPageTransition, type CPageTransitionProps, CPieChart, type CPieChartProps, CPivotTable, type CPivotTableProps, CPlanningGantt, type CPlanningGanttProps, CPlanningLayout, type CPlanningLayoutProps, CSmartFilter, type CSmartFilterProps, CSmartTable, CStandardPage, type CStandardPageProps, CTable, CTableBody, type CTableBodyProps, CTableCell, type CTableCellProps, CTableContainer, type CTableContainerProps, CTableHead, type CTableHeadProps, type CTableProps, type CTableQuickCreateConfig, type CTableQuickDeleteConfig, type CTableQuickEditConfig, CTableRow, type CTableRowProps, CVariantManagement, type CVariantManagementProps, CVariantManager, CVoiceWaveOverlay, type CVoiceWaveOverlayProps, CWaterfallChart, type CWaterfallChartProps, ChatMessage, CodeBlock, type CodeBlockProps, CopilotChat, type CopilotChatProps, type CreateKanbanBoardModelOptions, type CustomizeAgentSavePayload, type CustomizeAgentSettings, type CustomizeAgentTemplateOption, type DateOperator, type DetailInfoAiConfig, type DetailInfoField, type DetailInfoSearchHit, type DetailInfoSearchMode, type DetailInfoSection, type DetailInfoTab, type DetailInfoTableConfig, type FilterField, type FilterOperator, type FilterType, type FilterValue, GlobalMessage, type GoogleMapEmbedOptions, type GraphBarDatum, type GraphComboDatum, type GraphFishboneBranch, type GraphHeatmapDatum, type GraphLineDatum, type GraphMapLocation, type GraphPieDatum, type GraphReportConfig, type GraphReportFieldMapping, type GraphReportInteractionState, type GraphReportKpis, type GraphReportModel, type GraphRow, type GraphTableColumn, type GraphWaterfallDatum, type IVariantService, type KanbanBoardModel, type KanbanBucketDefinition, type KanbanBucketModel, type KanbanCardAssignee, type KanbanCardClickContext, type KanbanCardLookup, type KanbanCardMetric, type KanbanCardMoveEvent, type KanbanCardMoveInput, type KanbanCardPriority, type KanbanCardRecord, type KanbanCardTag, type KanbanCardTone, type LayoutMetadata, MarkdownRenderer, type MarkdownRendererProps, MathBlock, type MathBlockProps, MermaidBlock, type MermaidBlockProps, type MessageContent, type MessageEvent, type MessageOptions, NavigationIsland, type NavigationIslandProps, type NumberOperator, ORBCAFE_I18N_MESSAGES, type OrbcafeI18nContextValue, OrbcafeI18nProvider, type OrbcafeI18nProviderProps, type OrbcafeLocale, type OrbcafeLocaleMessages, type OrbcafeMessageKey, type OrbcafeMessageParams, PAGE_TRANSITION_PRESETS, PAppPageLayout, type PAppPageLayoutProps, PBarcodeScanner, type PBarcodeScannerDetectedValue, type PBarcodeScannerProps, PNavIsland, type PNavIslandProps, PNumericKeypad, type PNumericKeypadProps, type POrientation, PSmartFilter, type PSmartFilterProps, PTable, type PTableProps, PTouchCard, type PTouchCardMetric, type PTouchCardProps, type PTouchCardSwipeAction, PWorkloadNav, type PWorkloadNavItem, type PWorkloadNavProps, type PageTransitionVariant, type ParsedMarkdownTable, type PivotAggregation, type PivotChartConfig, PivotChartPanel, type PivotChartType, type PivotFieldDefinition, type PivotFieldType, type PivotFilterSelections, type PivotLayoutConfig, type PivotTableModel, type PivotTablePreset, type PivotValueFieldConfig, type PivotValueFieldState, type PlanningGanttColumn, type PlanningGanttScale, type PlanningGanttSummaryItem, type PlanningTaskOwner, type PlanningTaskRecord, type PlanningTaskStatus, type ReportColumn, type ReportFilter, type ReportMetadata, type SelectOperator, StdChat, type StdChatProps, type TableAlign, TableBlock, type TableBlockProps, type TextOperator, ThinkBlock, type ThinkBlockProps, TreeMenu, type TreeMenuItem, type UseAmapEmbedUrlOptions, type UseAuthPageOptions, type UseAuthPageResult, type UseDetailInfoOptions, type UseDetailInfoResult, type UseGoogleMapEmbedUrlOptions, type UseGraphChartDataOptions, type UseGraphChartDataResult, type UseGraphInteractionResult, type UseGraphReportOptions, type UseGraphReportResult, type UseKanbanBoardActions, type UseKanbanBoardBindings, type UseKanbanBoardOptions, type UseKanbanBoardResult, type UseNavigationIslandOptions, type UseNavigationIslandResult, type UsePadLayoutOptions, type UsePadLayoutResult, type UsePadRecordEditorOptions, type UsePadRecordEditorResult, type UsePageLayoutOptions, type UsePivotTableOptions, type UsePivotTableResult, type UsePlanningGanttOptions, type UsePlanningGanttResult, type UsePlanningLayoutOptions, type UsePlanningLayoutResult, type UseStandardReportOptions, type UseVoiceInputOptions, type UseVoiceInputResult, type VariantMetadata, type VoiceNavigatorContextValue, VoiceNavigatorProvider, type VoiceNavigatorProviderProps, VoiceWaveOverlay, type VoiceWaveOverlayProps, buildAmapEmbedUrl, buildGoogleMapEmbedUrl, buildGoogleMapIframe, buttonVariants, createKanbanBoardModel, findKanbanCard, message, messageManager, moveKanbanCard, parseMarkdownTable, renderMarkdown, resolveVariantFilters, resolveVariantLayout, useAINav, useAmapEmbedUrl, useAuthPage, useDetailInfo, useGoogleMapEmbedUrl, useGraphChartData, useGraphInteraction, useGraphReport, useKanbanBoard, useNavigationIsland, useOrbcafeI18n, usePadLayout, usePadRecordEditor, usePageLayout, usePivotTable, usePlanningGantt, usePlanningLayout, useStandardReport, useVoiceInput, useVoiceNavigator };
|
|
2380
|
+
export { type AINavContextValue, AgentPanel, type AgentPanelProps, type AgentPanelStatus, type AgentUICardAction, type AgentUICardHookEvent, type AgentUICardHooks, type AgentUICardType, type AmapEmbedOptions, type AuthForgotPasswordPayload, type AuthLoginPayload, type AuthPageCopy, type AuthPageMode, type AuthRegisterPayload, Button, type ButtonProps, CAINavProvider, type CAINavProviderProps, CAmapChart, type CAmapChartProps, CAppHeader, type CAppHeaderProps, type CAppHeaderUser, type CAppHeaderUserMenuItem, CAppPageLayout, type CAppPageLayoutProps, CAuthPage, type CAuthPageProps, CBarChart, type CBarChartProps, CChartCard, type CChartCardProps, CComboChart, type CComboChartProps, CCustomizeAgent, type CCustomizeAgentProps, CDetailInfoPage, type CDetailInfoPageProps, CDetailSearchAiBar, type CDetailSearchAiBarProps, CDetailSectionCard, type CDetailSectionCardProps, CFishboneChart, type CFishboneChartProps, CGoogleMapChart, type CGoogleMapChartProps, CGraphCharts, CGraphKpiCards, CGraphReport, type CGraphReportProps, CHeatmapChart, type CHeatmapChartProps, CKanbanBoard, type CKanbanBoardProps, CKanbanBucket, type CKanbanBucketProps, CKanbanCard, type CKanbanCardProps, CLayoutManagement, type CLayoutManagementProps, CLayoutManager, type CLayoutManagerProps, CLineChart, type CLineChartProps, CMessageBox, type CMessageBoxProps, type CMessageBoxType, COrbCanvas, type COrbCanvasProps, CPageLayout, type CPageLayoutProps, CPageTransition, type CPageTransitionProps, CPieChart, type CPieChartProps, CPivotTable, type CPivotTableProps, CPlanningGantt, type CPlanningGanttProps, CPlanningLayout, type CPlanningLayoutProps, CSmartFilter, type CSmartFilterProps, CSmartTable, CStandardPage, type CStandardPageProps, CTable, CTableBody, type CTableBodyProps, CTableCell, type CTableCellProps, CTableContainer, type CTableContainerProps, CTableHead, type CTableHeadProps, type CTableProps, type CTableQuickCreateConfig, type CTableQuickDeleteConfig, type CTableQuickEditConfig, CTableRow, type CTableRowProps, CValueHelp, type CValueHelpColumn, type CValueHelpMode, type CValueHelpPrimitive, type CValueHelpProps, type CValueHelpRecord, type CValueHelpSelectionValue, CVariantManagement, type CVariantManagementProps, CVariantManager, CVoiceWaveOverlay, type CVoiceWaveOverlayProps, CWaterfallChart, type CWaterfallChartProps, ChatMessage, CodeBlock, type CodeBlockProps, CopilotChat, type CopilotChatProps, type CreateKanbanBoardModelOptions, type CustomizeAgentSavePayload, type CustomizeAgentSettings, type CustomizeAgentTemplateOption, type DateOperator, type DetailInfoAiConfig, type DetailInfoField, type DetailInfoSearchHit, type DetailInfoSearchMode, type DetailInfoSection, type DetailInfoTab, type DetailInfoTableConfig, type FilterField, type FilterOperator, type FilterType, type FilterValue, GlobalMessage, type GoogleMapEmbedOptions, type GraphBarDatum, type GraphComboDatum, type GraphFishboneBranch, type GraphHeatmapDatum, type GraphLineDatum, type GraphMapLocation, type GraphPieDatum, type GraphReportConfig, type GraphReportFieldMapping, type GraphReportInteractionState, type GraphReportKpis, type GraphReportModel, type GraphRow, type GraphTableColumn, type GraphWaterfallDatum, type IVariantService, type KanbanBoardModel, type KanbanBucketDefinition, type KanbanBucketModel, type KanbanCardAssignee, type KanbanCardClickContext, type KanbanCardLookup, type KanbanCardMetric, type KanbanCardMoveEvent, type KanbanCardMoveInput, type KanbanCardPriority, type KanbanCardRecord, type KanbanCardTag, type KanbanCardTone, type LayoutMetadata, MarkdownRenderer, type MarkdownRendererProps, MathBlock, type MathBlockProps, MermaidBlock, type MermaidBlockProps, type MessageContent, type MessageEvent, type MessageOptions, NavigationIsland, type NavigationIslandProps, type NumberOperator, ORBCAFE_I18N_MESSAGES, type OrbcafeI18nContextValue, OrbcafeI18nProvider, type OrbcafeI18nProviderProps, type OrbcafeLocale, type OrbcafeLocaleMessages, type OrbcafeMessageKey, type OrbcafeMessageParams, PAGE_TRANSITION_PRESETS, PAppPageLayout, type PAppPageLayoutProps, PBarcodeScanner, type PBarcodeScannerDetectedValue, type PBarcodeScannerProps, PNavIsland, type PNavIslandProps, PNumericKeypad, type PNumericKeypadProps, type POrientation, PSmartFilter, type PSmartFilterProps, PTable, type PTableProps, PTouchCard, type PTouchCardMetric, type PTouchCardProps, type PTouchCardSwipeAction, PWorkloadNav, type PWorkloadNavItem, type PWorkloadNavProps, type PageTransitionVariant, type ParsedMarkdownTable, type PivotAggregation, type PivotChartConfig, PivotChartPanel, type PivotChartType, type PivotFieldDefinition, type PivotFieldType, type PivotFilterSelections, type PivotLayoutConfig, type PivotTableModel, type PivotTablePreset, type PivotValueFieldConfig, type PivotValueFieldState, type PlanningGanttColumn, type PlanningGanttScale, type PlanningGanttSummaryItem, type PlanningTaskOwner, type PlanningTaskRecord, type PlanningTaskStatus, type ReportColumn, type ReportFilter, type ReportMetadata, type SelectOperator, StdChat, type StdChatProps, type TableAlign, TableBlock, type TableBlockProps, type TextOperator, ThinkBlock, type ThinkBlockProps, TreeMenu, type TreeMenuItem, type UseAmapEmbedUrlOptions, type UseAuthPageOptions, type UseAuthPageResult, type UseDetailInfoOptions, type UseDetailInfoResult, type UseGoogleMapEmbedUrlOptions, type UseGraphChartDataOptions, type UseGraphChartDataResult, type UseGraphInteractionResult, type UseGraphReportOptions, type UseGraphReportResult, type UseKanbanBoardActions, type UseKanbanBoardBindings, type UseKanbanBoardOptions, type UseKanbanBoardResult, type UseNavigationIslandOptions, type UseNavigationIslandResult, type UsePadLayoutOptions, type UsePadLayoutResult, type UsePadRecordEditorOptions, type UsePadRecordEditorResult, type UsePageLayoutOptions, type UsePivotTableOptions, type UsePivotTableResult, type UsePlanningGanttOptions, type UsePlanningGanttResult, type UsePlanningLayoutOptions, type UsePlanningLayoutResult, type UseStandardReportOptions, type UseVoiceInputOptions, type UseVoiceInputResult, type VariantMetadata, type VoiceNavigatorContextValue, VoiceNavigatorProvider, type VoiceNavigatorProviderProps, VoiceWaveOverlay, type VoiceWaveOverlayProps, buildAmapEmbedUrl, buildGoogleMapEmbedUrl, buildGoogleMapIframe, buttonVariants, createKanbanBoardModel, findKanbanCard, message, messageManager, moveKanbanCard, parseMarkdownTable, renderMarkdown, resolveVariantFilters, resolveVariantLayout, useAINav, useAmapEmbedUrl, useAuthPage, useDetailInfo, useGoogleMapEmbedUrl, useGraphChartData, useGraphInteraction, useGraphReport, useKanbanBoard, useNavigationIsland, useOrbcafeI18n, usePadLayout, usePadRecordEditor, usePageLayout, usePivotTable, usePlanningGantt, usePlanningLayout, useStandardReport, useVoiceInput, useVoiceNavigator };
|