功能:支持切割函数
This commit is contained in:
8
types/Add-on/CustomNumber/Command_CustomNumber.d.ts
vendored
Normal file
8
types/Add-on/CustomNumber/Command_CustomNumber.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class Command_CustomNumber implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class Command_CleanCustomNumber implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Command_CustomNumber.d.ts.map
|
1
types/Add-on/CustomNumber/Command_CustomNumber.d.ts.map
Normal file
1
types/Add-on/CustomNumber/Command_CustomNumber.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Command_CustomNumber.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/CustomNumber/Command_CustomNumber.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAMtD,qBAAa,oBAAqB,YAAW,OAAO;IAE1C,IAAI;CAoEb;AAED,qBAAa,yBAA0B,YAAW,OAAO;IAE/C,IAAI;CAab"}
|
15
types/Add-on/CustomNumber/CustomNumCard.d.ts
vendored
Normal file
15
types/Add-on/CustomNumber/CustomNumCard.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { FC } from 'react';
|
||||
export declare const ItemTypes: {
|
||||
CARD: string;
|
||||
};
|
||||
export interface CardProps {
|
||||
id: any;
|
||||
label: string;
|
||||
orderName: string;
|
||||
value: string;
|
||||
index: number;
|
||||
moveCard: (dragIndex: number, hoverIndex: number) => void;
|
||||
onDoubleClick: (id: number) => void;
|
||||
}
|
||||
export declare const CustomNumCard: FC<CardProps>;
|
||||
//# sourceMappingURL=CustomNumCard.d.ts.map
|
1
types/Add-on/CustomNumber/CustomNumCard.d.ts.map
Normal file
1
types/Add-on/CustomNumber/CustomNumCard.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CustomNumCard.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/CustomNumber/CustomNumCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,eAAO,MAAM,SAAS;;CAErB,CAAC;AAEF,MAAM,WAAW,SAAS;IAEtB,EAAE,EAAE,GAAG,CAAC;IACR,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAOD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,SAAS,CAgGvC,CAAC"}
|
10
types/Add-on/CustomNumber/CustomNumContainer.d.ts
vendored
Normal file
10
types/Add-on/CustomNumber/CustomNumContainer.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { FC } from 'react';
|
||||
import { CustomNumberStore } from './CustomNumberPanel';
|
||||
export interface CustomNumberItem {
|
||||
id: number;
|
||||
text: string;
|
||||
}
|
||||
export declare const CustomNumContainer: FC<{
|
||||
state: CustomNumberStore;
|
||||
}>;
|
||||
//# sourceMappingURL=CustomNumContainer.d.ts.map
|
1
types/Add-on/CustomNumber/CustomNumContainer.d.ts.map
Normal file
1
types/Add-on/CustomNumber/CustomNumContainer.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CustomNumContainer.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/CustomNumber/CustomNumContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAOxD,MAAM,WAAW,gBAAgB;IAE7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,iBAAiB,CAAC;CAAE,CA2ChE,CAAC"}
|
20
types/Add-on/CustomNumber/CustomNumberPanel.d.ts
vendored
Normal file
20
types/Add-on/CustomNumber/CustomNumberPanel.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from "react";
|
||||
import "./CustomNumberPanelCss.less";
|
||||
import { CustomNumberItem } from "./CustomNumContainer";
|
||||
export declare class CustomNumberPanel extends React.Component<{
|
||||
store: CustomNumberStore;
|
||||
}> {
|
||||
render(): JSX.Element;
|
||||
}
|
||||
export declare class CustomNumberStore {
|
||||
title: string;
|
||||
label: string;
|
||||
orderName: string;
|
||||
option: React.PropsWithChildren<{
|
||||
items: CustomNumberItem[];
|
||||
}>;
|
||||
onChange: (items: CustomNumberItem[], dragIndex: number, hoverIndex: number) => void;
|
||||
onDoubleClick: (id: number) => void;
|
||||
onOk: () => Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=CustomNumberPanel.d.ts.map
|
1
types/Add-on/CustomNumber/CustomNumberPanel.d.ts.map
Normal file
1
types/Add-on/CustomNumber/CustomNumberPanel.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CustomNumberPanel.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/CustomNumber/CustomNumberPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAsB,MAAM,sBAAsB,CAAC;AAE5E,qBACa,iBAAkB,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,KAAK,EAAE,iBAAiB,CAAC;CAAE,CAAC;IAEjF,MAAM;CAgDT;AAGD,qBAAa,iBAAiB;IAE1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC5B,KAAK,EAAE,gBAAgB,EAAE,CAAC;KAC7B,CAAC,CAAiB;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,gBAAgB,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACrF,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7B"}
|
Reference in New Issue
Block a user