@nice2dev/ui-ai 1.0.29 → 1.1.6
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/CHANGELOG.md +8 -0
- package/dist/NiceAIHintBubble.d.ts +0 -2
- package/dist/NiceAIProvider.d.ts +0 -2
- package/dist/NiceAccessibilityAI.d.ts +0 -2
- package/dist/NiceChartAI.d.ts +0 -2
- package/dist/NiceCodeEditorAI.d.ts +0 -2
- package/dist/NiceDataGridAI.d.ts +0 -2
- package/dist/NiceDataLabeler.d.ts +0 -2
- package/dist/NiceFormBuilderAI.d.ts +0 -2
- package/dist/NiceIconSuggestorAI.d.ts +0 -2
- package/dist/NiceLayoutAI.d.ts +0 -2
- package/dist/NiceMLStudio.d.ts +0 -2
- package/dist/NiceModelInference.d.ts +0 -2
- package/dist/NiceReportBuilderAI.d.ts +0 -2
- package/dist/NiceThemeGeneratorAI.d.ts +0 -2
- package/dist/NiceWorkflowDesignerAI.d.ts +0 -2
- package/dist/cost-tracker.d.ts +0 -1
- package/dist/fallback-strategies.d.ts +0 -2
- package/dist/index.cjs +109 -135
- package/dist/index.d.ts +0 -2
- package/dist/index.mjs +2620 -4674
- package/dist/integrations.d.ts +0 -2
- package/dist/llm-providers.d.ts +0 -2
- package/dist/ml-types.d.ts +0 -2
- package/dist/prompt-templates.d.ts +0 -1
- package/dist/rateLimiter.d.ts +0 -2
- package/dist/streaming.d.ts +0 -2
- package/dist/types.d.ts +0 -1
- package/dist/ui-ai.css +1 -0
- package/dist/useNiceAIHint.d.ts +0 -2
- package/dist/wrappers.d.ts +0 -2
- package/package.json +16 -14
package/CHANGELOG.md
CHANGED
package/dist/NiceAIProvider.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { RateLimiter } from './rateLimiter';
|
|
3
3
|
import { NiceAIConfig, RateLimitConfig, RateLimitStatus } from './types';
|
|
4
|
-
|
|
5
4
|
export interface NiceAIProviderProps {
|
|
6
5
|
/** AI endpoint configuration. */
|
|
7
6
|
config: NiceAIConfig;
|
|
@@ -26,4 +25,3 @@ export declare function NiceAIProvider({ config, rateLimits, enabled, onRateLimi
|
|
|
26
25
|
*/
|
|
27
26
|
export declare function useAIContext(): AIContextValue | null;
|
|
28
27
|
export {};
|
|
29
|
-
//# sourceMappingURL=NiceAIProvider.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NiceAIConfig } from './types';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
3
|
/** WCAG conformance level */
|
|
5
4
|
export type WCAGLevel = 'A' | 'AA' | 'AAA';
|
|
6
5
|
/** Accessibility issue severity */
|
|
@@ -95,4 +94,3 @@ export interface NiceAccessibilityAIProps {
|
|
|
95
94
|
renderIssue?: (issue: AIAccessibilityIssue) => ReactNode;
|
|
96
95
|
}
|
|
97
96
|
export declare function NiceAccessibilityAI({ config, wcagLevel, onAuditComplete, showContrastChecker, className, style, renderIssue, }: NiceAccessibilityAIProps): import("react").JSX.Element;
|
|
98
|
-
//# sourceMappingURL=NiceAccessibilityAI.d.ts.map
|
package/dist/NiceChartAI.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NiceAIConfig } from './types';
|
|
3
|
-
|
|
4
3
|
/** Chart type */
|
|
5
4
|
export type AIChartType = 'line' | 'area' | 'bar' | 'column' | 'pie' | 'donut' | 'scatter' | 'bubble' | 'heatmap' | 'treemap' | 'funnel' | 'radar' | 'polar' | 'gauge' | 'candlestick' | 'sankey';
|
|
6
5
|
/** Data field definition */
|
|
@@ -109,4 +108,3 @@ export interface NiceChartAIProps {
|
|
|
109
108
|
renderChart?: (config: AIChartConfig) => ReactNode;
|
|
110
109
|
}
|
|
111
110
|
export declare function NiceChartAI({ config, dataFields, context, onGenerate, placeholder, showTypeSelector, showPreview, className, style, renderChart, }: NiceChartAIProps): import("react").JSX.Element;
|
|
112
|
-
//# sourceMappingURL=NiceChartAI.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NiceAIConfig } from './types';
|
|
3
|
-
|
|
4
3
|
/** Supported programming languages */
|
|
5
4
|
export type AIProgrammingLanguage = 'javascript' | 'typescript' | 'python' | 'java' | 'csharp' | 'cpp' | 'go' | 'rust' | 'ruby' | 'php' | 'swift' | 'kotlin' | 'dart' | 'sql' | 'html' | 'css' | 'json' | 'yaml' | 'markdown' | 'shell' | 'powershell';
|
|
6
5
|
/** Completion type */
|
|
@@ -111,4 +110,3 @@ export interface NiceCodeEditorAIProps {
|
|
|
111
110
|
}) => ReactNode;
|
|
112
111
|
}
|
|
113
112
|
export declare function NiceCodeEditorAI({ code: initialCode, language, config, onChange, onAcceptSuggestion, showToolbar, enableInlineSuggestions, placeholder, className, style, renderEditor, }: NiceCodeEditorAIProps): import("react").JSX.Element;
|
|
114
|
-
//# sourceMappingURL=NiceCodeEditorAI.d.ts.map
|
package/dist/NiceDataGridAI.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NiceAIConfig } from './types';
|
|
3
|
-
|
|
4
3
|
/** Column definition for AI processing */
|
|
5
4
|
export interface AIColumnDef {
|
|
6
5
|
id: string;
|
|
@@ -82,4 +81,3 @@ export interface NiceDataGridAIProps {
|
|
|
82
81
|
children?: ReactNode;
|
|
83
82
|
}
|
|
84
83
|
export declare function NiceDataGridAI({ columns, config, onFilter, onSort, placeholder, showHistory, showSuggestions, className, style, }: NiceDataGridAIProps): import("react").JSX.Element;
|
|
85
|
-
//# sourceMappingURL=NiceDataGridAI.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NiceAIConfig } from './types';
|
|
3
|
-
|
|
4
3
|
/** Form field definition */
|
|
5
4
|
export interface AIFormField {
|
|
6
5
|
id: string;
|
|
@@ -104,4 +103,3 @@ export interface NiceFormBuilderAIProps {
|
|
|
104
103
|
renderForm?: (config: AIFormConfig) => ReactNode;
|
|
105
104
|
}
|
|
106
105
|
export declare function NiceFormBuilderAI({ config, schema, context, onGenerate, placeholder, showExamples, showPreview, className, style, renderForm, }: NiceFormBuilderAIProps): import("react").JSX.Element;
|
|
107
|
-
//# sourceMappingURL=NiceFormBuilderAI.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { NiceAIConfig } from './types';
|
|
2
|
-
|
|
3
2
|
/** Icon style */
|
|
4
3
|
export type AIIconStyle = 'outline' | 'solid' | 'duotone' | 'light' | 'regular' | 'bold';
|
|
5
4
|
/** Icon category */
|
|
@@ -78,4 +77,3 @@ export interface NiceIconSuggestorAIProps {
|
|
|
78
77
|
style?: React.CSSProperties;
|
|
79
78
|
}
|
|
80
79
|
export declare function NiceIconSuggestorAI({ config, defaultLibrary, defaultStyle, maxSuggestions, onSelect, showCategories, showPreview, className, style, }: NiceIconSuggestorAIProps): import("react").JSX.Element;
|
|
81
|
-
//# sourceMappingURL=NiceIconSuggestorAI.d.ts.map
|
package/dist/NiceLayoutAI.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NiceAIConfig } from './types';
|
|
3
|
-
|
|
4
3
|
/** Layout type */
|
|
5
4
|
export type AILayoutType = 'dashboard' | 'form' | 'list' | 'detail' | 'landing' | 'settings' | 'wizard' | 'split' | 'grid' | 'kanban' | 'timeline';
|
|
6
5
|
/** Layout direction */
|
|
@@ -100,4 +99,3 @@ export interface NiceLayoutAIProps {
|
|
|
100
99
|
renderLayout?: (layout: AILayoutDefinition) => ReactNode;
|
|
101
100
|
}
|
|
102
101
|
export declare function NiceLayoutAI({ config, targetDevice, onGenerate, showTypeSelector, showPreview, className, style, renderLayout, }: NiceLayoutAIProps): import("react").JSX.Element;
|
|
103
|
-
//# sourceMappingURL=NiceLayoutAI.d.ts.map
|
package/dist/NiceMLStudio.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NiceAIConfig } from './types';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
3
|
/** Report section types */
|
|
5
4
|
export type AIReportSectionType = 'header' | 'summary' | 'kpi' | 'table' | 'chart' | 'text' | 'image' | 'divider' | 'spacer' | 'pageBreak' | 'footer' | 'toc' | 'customBlock';
|
|
6
5
|
/** Chart types for reports */
|
|
@@ -173,4 +172,3 @@ export interface NiceReportBuilderAIProps {
|
|
|
173
172
|
renderReport?: (layout: AIReportLayout) => ReactNode;
|
|
174
173
|
}
|
|
175
174
|
export declare function NiceReportBuilderAI({ config, dataSources, context, onGenerate, placeholder, showTemplates, showPreview, className, style, renderReport, }: NiceReportBuilderAIProps): import("react").JSX.Element;
|
|
176
|
-
//# sourceMappingURL=NiceReportBuilderAI.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { NiceAIConfig } from './types';
|
|
2
|
-
|
|
3
2
|
/** Color palette */
|
|
4
3
|
export interface AIColorPalette {
|
|
5
4
|
primary: string;
|
|
@@ -183,4 +182,3 @@ export interface NiceThemeGeneratorAIProps {
|
|
|
183
182
|
style?: React.CSSProperties;
|
|
184
183
|
}
|
|
185
184
|
export declare function NiceThemeGeneratorAI({ config, generateDarkMode, onGenerate, showPresets, showPreview, className, style, }: NiceThemeGeneratorAIProps): import("react").JSX.Element;
|
|
186
|
-
//# sourceMappingURL=NiceThemeGeneratorAI.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NiceAIConfig } from './types';
|
|
3
|
-
|
|
4
3
|
/** BPMN Node types */
|
|
5
4
|
export type AIWorkflowNodeType = 'start' | 'end' | 'task' | 'userTask' | 'serviceTask' | 'scriptTask' | 'businessRuleTask' | 'sendTask' | 'receiveTask' | 'manualTask' | 'gateway-exclusive' | 'gateway-parallel' | 'gateway-inclusive' | 'gateway-event' | 'subProcess' | 'callActivity' | 'event-intermediate' | 'event-timer' | 'event-message' | 'event-signal' | 'event-error' | 'event-escalation';
|
|
6
5
|
/** Workflow node */
|
|
@@ -105,4 +104,3 @@ export interface NiceWorkflowDesignerAIProps {
|
|
|
105
104
|
renderWorkflow?: (workflow: AIWorkflowDefinition) => ReactNode;
|
|
106
105
|
}
|
|
107
106
|
export declare function NiceWorkflowDesignerAI({ config, context, roles, onGenerate, placeholder, showExamples, showPreview, className, style, renderWorkflow, }: NiceWorkflowDesignerAIProps): import("react").JSX.Element;
|
|
108
|
-
//# sourceMappingURL=NiceWorkflowDesignerAI.d.ts.map
|
package/dist/cost-tracker.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ILLMProvider, LLMChatRequest, LLMChatResponse, LLMProviderConfig } from './llm-providers';
|
|
2
|
-
|
|
3
2
|
/** Fallback strategy type */
|
|
4
3
|
export type FallbackStrategy = 'retry' | 'failover' | 'cache' | 'offline' | 'graceful-degrade' | 'circuit-breaker';
|
|
5
4
|
/** Fallback configuration */
|
|
@@ -117,4 +116,3 @@ export declare function createResilientClient(primaryConfig: LLMProviderConfig,
|
|
|
117
116
|
*/
|
|
118
117
|
export declare function createResilientClientWithDefaults(primaryConfig: LLMProviderConfig, backupConfig?: LLMProviderConfig): ResilientLLMClient;
|
|
119
118
|
export {};
|
|
120
|
-
//# sourceMappingURL=fallback-strategies.d.ts.map
|