@hxdhxd/harmony-flow-ui 0.3.0 → 0.4.0
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/README.md +25 -1
- package/dist/index.cjs +1535 -1319
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +325 -103
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +12 -9
- package/dist/index.d.ts +12 -9
- package/dist/index.js +1520 -1304
- package/dist/index.js.map +1 -1
- package/dist/monaco-assets/LICENSE.monaco.txt +21 -0
- package/dist/monaco-assets/ThirdPartyNotices.txt +448 -0
- package/dist/monaco-assets/chunks/chunk-2KWDR4W3.js +1 -0
- package/dist/monaco-assets/chunks/chunk-2KWDR4W3.js.gz +0 -0
- package/dist/monaco-assets/chunks/chunk-6CWAYXCI.js +870 -0
- package/dist/monaco-assets/chunks/chunk-6CWAYXCI.js.gz +0 -0
- package/dist/monaco-assets/chunks/chunk-AD5KIREA.js +61 -0
- package/dist/monaco-assets/chunks/chunk-AD5KIREA.js.gz +0 -0
- package/dist/monaco-assets/chunks/chunk-NYAGVHXV.js +1 -0
- package/dist/monaco-assets/chunks/chunk-NYAGVHXV.js.gz +0 -0
- package/dist/monaco-assets/chunks/javascript-Q5O4BLC5.css +1 -0
- package/dist/monaco-assets/chunks/javascript-Q5O4BLC5.css.gz +0 -0
- package/dist/monaco-assets/chunks/javascript-R6AQIXSX.js +1 -0
- package/dist/monaco-assets/chunks/javascript-R6AQIXSX.js.gz +0 -0
- package/dist/monaco-assets/chunks/jsonMode-I4YAYKCC.css +1 -0
- package/dist/monaco-assets/chunks/jsonMode-I4YAYKCC.css.gz +0 -0
- package/dist/monaco-assets/chunks/jsonMode-PVXHFVY4.js +10 -0
- package/dist/monaco-assets/chunks/jsonMode-PVXHFVY4.js.gz +0 -0
- package/dist/monaco-assets/chunks/tsMode-4CIG5YX5.js +11 -0
- package/dist/monaco-assets/chunks/tsMode-4CIG5YX5.js.gz +0 -0
- package/dist/monaco-assets/chunks/tsMode-LEY4YWTP.css +1 -0
- package/dist/monaco-assets/chunks/tsMode-LEY4YWTP.css.gz +0 -0
- package/dist/monaco-assets/chunks/typescript-DYIPN6WN.js +1 -0
- package/dist/monaco-assets/chunks/typescript-DYIPN6WN.js.gz +0 -0
- package/dist/monaco-assets/chunks/typescript-Z6MD7EEQ.css +1 -0
- package/dist/monaco-assets/chunks/typescript-Z6MD7EEQ.css.gz +0 -0
- package/dist/monaco-assets/editor.worker.js +30 -0
- package/dist/monaco-assets/editor.worker.js.gz +0 -0
- package/dist/monaco-assets/fonts/codicon-KP4OV2OO.ttf +0 -0
- package/dist/monaco-assets/json.worker.js +62 -0
- package/dist/monaco-assets/json.worker.js.gz +0 -0
- package/dist/monaco-assets/manifest.json +5 -0
- package/dist/monaco-assets/runtime.css +1 -0
- package/dist/monaco-assets/runtime.css.gz +0 -0
- package/dist/monaco-assets/runtime.js +1 -0
- package/dist/monaco-assets/runtime.js.gz +0 -0
- package/dist/monaco-assets/typescript.worker.js +67740 -0
- package/dist/monaco-assets/typescript.worker.js.gz +0 -0
- package/dist/monaco.cjs +521 -0
- package/dist/monaco.cjs.map +1 -0
- package/dist/monaco.css +35 -0
- package/dist/monaco.css.map +1 -0
- package/dist/monaco.d.cts +22 -0
- package/dist/monaco.d.ts +22 -0
- package/dist/monaco.js +494 -0
- package/dist/monaco.js.map +1 -0
- package/package.json +11 -3
package/dist/index.d.cts
CHANGED
|
@@ -374,6 +374,16 @@ interface ContextMenuProps {
|
|
|
374
374
|
}
|
|
375
375
|
declare function ContextMenu({ items, onSelect, label, children }: PropsWithChildren<ContextMenuProps>): react.JSX.Element;
|
|
376
376
|
|
|
377
|
+
interface CodeEditorProps {
|
|
378
|
+
value: string;
|
|
379
|
+
onChange: (value: string) => void;
|
|
380
|
+
language?: string;
|
|
381
|
+
label?: string;
|
|
382
|
+
readOnly?: boolean;
|
|
383
|
+
height?: number;
|
|
384
|
+
}
|
|
385
|
+
declare function CodeEditor({ value, onChange, language, label, readOnly, height }: CodeEditorProps): react.JSX.Element;
|
|
386
|
+
|
|
377
387
|
interface RichTextEditorProps {
|
|
378
388
|
value: string;
|
|
379
389
|
onChange: (html: string) => void;
|
|
@@ -396,15 +406,6 @@ interface MentionInputProps {
|
|
|
396
406
|
disabled?: boolean;
|
|
397
407
|
}
|
|
398
408
|
declare function MentionInput({ value, onChange, options, label, placeholder, disabled }: MentionInputProps): react.JSX.Element;
|
|
399
|
-
interface CodeEditorProps {
|
|
400
|
-
value: string;
|
|
401
|
-
onChange: (value: string) => void;
|
|
402
|
-
language?: string;
|
|
403
|
-
label?: string;
|
|
404
|
-
readOnly?: boolean;
|
|
405
|
-
height?: number;
|
|
406
|
-
}
|
|
407
|
-
declare function CodeEditor({ value, onChange, language, label, readOnly, height }: CodeEditorProps): react.JSX.Element;
|
|
408
409
|
|
|
409
410
|
interface ChatMessageProps {
|
|
410
411
|
role: 'user' | 'assistant' | 'system';
|
|
@@ -667,6 +668,7 @@ declare function FileExplorer({ items, selectedId, onSelect, empty }: {
|
|
|
667
668
|
onSelect?: (id: string) => void;
|
|
668
669
|
empty?: ReactNode;
|
|
669
670
|
}): react.JSX.Element;
|
|
671
|
+
|
|
670
672
|
declare function FilePreview({ name, type, children, size, modified, actions, empty }: {
|
|
671
673
|
name?: ReactNode;
|
|
672
674
|
type?: string;
|
|
@@ -676,6 +678,7 @@ declare function FilePreview({ name, type, children, size, modified, actions, em
|
|
|
676
678
|
actions?: ReactNode;
|
|
677
679
|
empty?: ReactNode;
|
|
678
680
|
}): react.JSX.Element;
|
|
681
|
+
|
|
679
682
|
interface VersionItem {
|
|
680
683
|
id: string;
|
|
681
684
|
version: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -374,6 +374,16 @@ interface ContextMenuProps {
|
|
|
374
374
|
}
|
|
375
375
|
declare function ContextMenu({ items, onSelect, label, children }: PropsWithChildren<ContextMenuProps>): react.JSX.Element;
|
|
376
376
|
|
|
377
|
+
interface CodeEditorProps {
|
|
378
|
+
value: string;
|
|
379
|
+
onChange: (value: string) => void;
|
|
380
|
+
language?: string;
|
|
381
|
+
label?: string;
|
|
382
|
+
readOnly?: boolean;
|
|
383
|
+
height?: number;
|
|
384
|
+
}
|
|
385
|
+
declare function CodeEditor({ value, onChange, language, label, readOnly, height }: CodeEditorProps): react.JSX.Element;
|
|
386
|
+
|
|
377
387
|
interface RichTextEditorProps {
|
|
378
388
|
value: string;
|
|
379
389
|
onChange: (html: string) => void;
|
|
@@ -396,15 +406,6 @@ interface MentionInputProps {
|
|
|
396
406
|
disabled?: boolean;
|
|
397
407
|
}
|
|
398
408
|
declare function MentionInput({ value, onChange, options, label, placeholder, disabled }: MentionInputProps): react.JSX.Element;
|
|
399
|
-
interface CodeEditorProps {
|
|
400
|
-
value: string;
|
|
401
|
-
onChange: (value: string) => void;
|
|
402
|
-
language?: string;
|
|
403
|
-
label?: string;
|
|
404
|
-
readOnly?: boolean;
|
|
405
|
-
height?: number;
|
|
406
|
-
}
|
|
407
|
-
declare function CodeEditor({ value, onChange, language, label, readOnly, height }: CodeEditorProps): react.JSX.Element;
|
|
408
409
|
|
|
409
410
|
interface ChatMessageProps {
|
|
410
411
|
role: 'user' | 'assistant' | 'system';
|
|
@@ -667,6 +668,7 @@ declare function FileExplorer({ items, selectedId, onSelect, empty }: {
|
|
|
667
668
|
onSelect?: (id: string) => void;
|
|
668
669
|
empty?: ReactNode;
|
|
669
670
|
}): react.JSX.Element;
|
|
671
|
+
|
|
670
672
|
declare function FilePreview({ name, type, children, size, modified, actions, empty }: {
|
|
671
673
|
name?: ReactNode;
|
|
672
674
|
type?: string;
|
|
@@ -676,6 +678,7 @@ declare function FilePreview({ name, type, children, size, modified, actions, em
|
|
|
676
678
|
actions?: ReactNode;
|
|
677
679
|
empty?: ReactNode;
|
|
678
680
|
}): react.JSX.Element;
|
|
681
|
+
|
|
679
682
|
interface VersionItem {
|
|
680
683
|
id: string;
|
|
681
684
|
version: string;
|