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.
@@ -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.ForwardRefExoticComponent<InstanceScriptEditorProps & React.RefAttributes<ScriptEditorInterface>>;
4
+ export declare const ScriptEditor: React.NamedExoticComponent<InstanceScriptEditorProps & React.RefAttributes<ScriptEditorInterface>>;
@@ -1,2 +1,3 @@
1
1
  export declare const DropdownOverlay: string;
2
+ export declare const FormListWrapper: string;
2
3
  export declare const ButtonStyle: string;
@@ -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 InputByTypeContainerProps = {
5
- property: IPropertyV2;
6
- } & FormItemProps;
7
- declare const InputByTypeContainer: React.FC<InputByTypeContainerProps>;
8
- export default InputByTypeContainer;
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 +1,6 @@
1
- export {};
1
+ export declare const TagRoot: string;
2
+ export declare const TooltipTrigger: string;
3
+ export declare const TagContent: string;
4
+ export declare const FixedItem: string;
5
+ export declare const TextEllipsis: string;
6
+ export declare const NameText: string;
@@ -1,2 +1,3 @@
1
- declare const AutoFlowSidebar: () => import("react/jsx-runtime").JSX.Element;
2
- export default AutoFlowSidebar;
1
+ import { default as React } from 'react';
2
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
3
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "app-v3-scripts-editor",
3
3
  "private": false,
4
- "version": "1.24.2",
4
+ "version": "1.24.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ucall-asia/app-v3-scripts-editor.git"