app-v3-scripts-editor 1.24.2 → 1.24.5
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/app-v3-scripts-editor.css +1 -1
- package/dist/app-v3-scripts-editor.es.js +36033 -35842
- package/dist/app-v3-scripts-editor.umd.js +180 -180
- package/dist/src/lib/components/Scripts/index.d.ts +1 -1
- package/dist/src/lib/components/Shared/FieldSetting/index.css.d.ts +1 -0
- package/dist/src/lib/components/Shared/FieldSetting/inputByType.d.ts +6 -6
- package/dist/src/lib/components/Shared/SuggestVariableNode/type.d.ts +4 -1
- package/dist/src/lib/components/Shared/Tiptap/index.css.d.ts +3 -0
- package/dist/src/lib/components/Shared/VariableSuggestSelect/VariableTabMenu.d.ts +2 -1
- package/dist/src/lib/components/Shared/VariableTag/index.css.d.ts +6 -1
- package/dist/src/lib/components/Sidebar/AutoFlowSidebar.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { InstanceScriptEditorProps } from '../../provider/instance-context';
|
|
3
3
|
import { ScriptEditorInterface } from './types';
|
|
4
|
-
export declare const ScriptEditor: React.
|
|
4
|
+
export declare const ScriptEditor: React.NamedExoticComponent<InstanceScriptEditorProps & React.RefAttributes<ScriptEditorInterface>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FormItemProps } from 'antd/es/form';
|
|
2
1
|
import { default as React } from 'react';
|
|
3
2
|
import { IPropertyV2 } from '../../../../services';
|
|
4
|
-
type
|
|
5
|
-
property
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
type InputByTypeProps = {
|
|
4
|
+
property?: IPropertyV2;
|
|
5
|
+
name: (string | number)[];
|
|
6
|
+
};
|
|
7
|
+
declare const InputByType: React.FC<InputByTypeProps>;
|
|
8
|
+
export default InputByType;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
1
2
|
import { BlockType } from '../../../constants';
|
|
2
3
|
import { DATA_TYPE_PROPERTY, OUTPUT_MODE } from '../../../constants/common';
|
|
3
4
|
export interface VariableLeaf {
|
|
@@ -19,13 +20,15 @@ export interface VariableOption {
|
|
|
19
20
|
data: VariableLeaf;
|
|
20
21
|
}
|
|
21
22
|
export interface UseVariableSuggestOptions {
|
|
22
|
-
value?: string;
|
|
23
|
+
value?: string | Dayjs | null;
|
|
23
24
|
onChange?: (value: string) => void;
|
|
24
25
|
isCheckPrefix?: boolean;
|
|
25
26
|
filterTypes?: DATA_TYPE_PROPERTY[];
|
|
26
27
|
placeholder?: string;
|
|
27
28
|
rows?: number;
|
|
28
29
|
onMultiSelect?: (value: string[]) => void;
|
|
30
|
+
inputMode?: "string" | "number" | "date" | "datetime";
|
|
31
|
+
inputFormat?: string;
|
|
29
32
|
}
|
|
30
33
|
export interface VariableGroupOption {
|
|
31
34
|
id?: string;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export declare const editorWrapper: string;
|
|
2
2
|
export declare const WrapperStyled: string;
|
|
3
|
+
export declare const actionButton: string;
|
|
4
|
+
export declare const hiddenPickerAnchor: string;
|
|
5
|
+
export declare const hiddenPickerInput: string;
|
|
3
6
|
export declare const MenuStyled: string;
|
|
4
7
|
export declare const tiptap: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { MenuProps } from 'antd';
|
|
2
2
|
type VariableTabMenuProps = {
|
|
3
3
|
items?: MenuProps["items"];
|
|
4
|
+
openKeys?: string[];
|
|
4
5
|
onClick: MenuProps["onClick"];
|
|
5
6
|
onOpenChange: NonNullable<MenuProps["onOpenChange"]>;
|
|
6
7
|
};
|
|
7
|
-
export declare const VariableTabMenu: ({ items, onClick, onOpenChange, }: VariableTabMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const VariableTabMenu: ({ items, openKeys, onClick, onOpenChange, }: VariableTabMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export default _default;
|