功能:支持切割函数

This commit is contained in:
ChenX
2023-05-08 12:01:37 +08:00
parent ee08cb516b
commit d92ad67a75
829 changed files with 6049 additions and 151 deletions

11
types/Add-on/showModal/GrooveInfo.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
import { Board } from "../../DatabaseServices/Entity/Board";
import { ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude";
export declare class GrooveInfo {
parentBoard: Board;
groove: ExtrudeSolid;
isRelation: boolean;
isChange: boolean;
isCheck: boolean;
constructor(parentBoard?: Board, groove?: ExtrudeSolid, isRelation?: boolean, isChange?: boolean, isCheck?: boolean);
}
//# sourceMappingURL=GrooveInfo.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GrooveInfo.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/showModal/GrooveInfo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGrE,qBAAa,UAAU;IAEnB,WAAW,EAAE,KAAK,CAAC;IACnB,MAAM,EAAE,YAAY,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IACN,OAAO,EAAE,OAAO,CAAC;gBAEjB,WAAW,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO;CAQtH"}

View File

@@ -0,0 +1,21 @@
import React from "react";
import { Board } from "../../DatabaseServices/Entity/Board";
import { ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude";
interface DataProps {
dataProps: {
parentBoard: Board;
groove: ExtrudeSolid;
isRelation: boolean;
isChange: boolean;
isCheck: boolean;
};
dataIndex: number;
refs: React.RefObject<any>;
inputEls: React.RefObject<any>[];
}
export declare class GroovesModal extends React.Component<DataProps, {}> {
handleLiClick: () => void;
render(): JSX.Element;
}
export {};
//# sourceMappingURL=GroovesModal.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GroovesModal.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/showModal/GroovesModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGrE,UAAU,SAAS;IAEf,SAAS,EAAE;QAAE,WAAW,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,YAAY,CAAC;QAAC,UAAU,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;KAAE,CAAC;IACnH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;CACpC;AAED,qBACa,YAAa,SAAQ,KAAK,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,CAAC;IAE5D,aAAa,aA0BX;IAEF,MAAM;CAqDT"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_GroovesModify implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=GroovesModify.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GroovesModify.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/showModal/GroovesModify.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAOtD,qBAAa,qBAAsB,YAAW,OAAO;IAE3C,IAAI;CAqBb"}

View File

@@ -0,0 +1,28 @@
import React from "react";
import { Board } from "../../DatabaseServices/Entity/Board";
import { Entity } from "../../DatabaseServices/Entity/Entity";
import { ICommonOptionProps } from "../../UI/Components/Board/CommonBoardOption";
import { GrooveInfo } from "./GrooveInfo";
import "./groove.less";
interface BoardProps {
BoardProps: Board[];
}
export declare class GroovesModifyModal extends React.Component<BoardProps, ICommonOptionProps, {}> {
_GrooveInfo: GrooveInfo[][];
_Refs: React.RefObject<any>[];
_InputEls: React.RefObject<any>[][];
_InputEl1: React.RefObject<HTMLInputElement>;
_InputEl2: React.RefObject<HTMLInputElement>;
_InputEl3: React.RefObject<HTMLInputElement>;
_InputEl4: React.RefObject<HTMLInputElement>;
_IsCheckAll: boolean;
_GetExtrudeSolidList(board: Board, grooves: GrooveInfo[][]): GrooveInfo[];
_ModifyOfPart(grooves: GrooveInfo[][], inputEls: React.RefObject<any>[][], needUpdateEnts: Set<Entity>): void;
_ModifyOfCheck: (e: GrooveInfo[][], needUpdateEnts: Set<Entity>) => void;
_ChangeValue: () => Promise<void>;
_CheckNum(e: React.ChangeEvent<HTMLInputElement>, isKnifeRadius?: boolean): void;
onKeyDown(e: React.KeyboardEvent<HTMLInputElement>): void;
render(): JSX.Element;
}
export {};
//# sourceMappingURL=GroovesModifyModal.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GroovesModifyModal.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/showModal/GroovesModifyModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAEjF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,eAAe,CAAC;AAEvB,UAAU,UAAU;IAEhB,UAAU,EAAE,KAAK,EAAE,CAAC;CACvB;AAED,qBACa,kBAAmB,SAAQ,KAAK,CAAC,SAAS,CAAC,UAAU,EAAE,kBAAkB,EAAE,EAAE,CAAC;IAEvF,WAAW,EAAE,UAAU,EAAE,EAAE,CAAM;IACjC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAM;IACnC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,CAAM;IACzC,SAAS,oCAAuC;IAChD,SAAS,oCAAuC;IAChD,SAAS,oCAAuC;IAChD,SAAS,oCAAuC;IACpC,WAAW,EAAE,OAAO,CAAS;IAEzC,oBAAoB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE;IA4B1D,aAAa,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC;IAgCtG,cAAc,MAAO,UAAU,EAAE,EAAE,kBAAkB,IAAI,MAAM,CAAC,UAuB9D;IAEF,YAAY,sBAuBV;IAEF,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAAE,aAAa,UAAQ;IAUvE,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;IASlD,MAAM;CA2FT"}

23
types/Add-on/showModal/InputEl.d.ts vendored Normal file
View File

@@ -0,0 +1,23 @@
import React from "react";
import { Board } from "../../DatabaseServices/Entity/Board";
import { ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude";
interface InputElProp {
num: number;
value: number;
dataProps: {
parentBoard: Board;
groove: ExtrudeSolid;
isRelation: boolean;
isChange: boolean;
isCheck: boolean;
};
inputEls: React.RefObject<any>[];
}
export declare class InputEl extends React.Component<InputElProp, {}> {
_inputEl: React.RefObject<HTMLInputElement>;
_CheckNum(e: React.ChangeEvent<HTMLInputElement>): boolean;
onKeyDown(e: React.KeyboardEvent<HTMLInputElement>): void;
render(): JSX.Element;
}
export {};
//# sourceMappingURL=InputEl.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"InputEl.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/showModal/InputEl.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGrE,UAAU,WAAW;IAEjB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE;QAAE,WAAW,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,YAAY,CAAC;QAAC,UAAU,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;KAAE,CAAC;IACnH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;CACpC;AAGD,qBACa,OAAQ,SAAQ,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,CAAC;IAEzD,QAAQ,oCAAuC;IAE/C,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC;IAmChD,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;IAUlD,MAAM;CA+BT"}

View File

@@ -0,0 +1,5 @@
import { Command } from './../../Editor/CommandMachine';
export declare class ShowKinfeManageModal implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=ShowKnifeManageModal.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ShowKnifeManageModal.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/showModal/ShowKnifeManageModal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAKxD,qBAAa,oBAAqB,YAAW,OAAO;IAE1C,IAAI;CAIb"}

5
types/Add-on/showModal/ShowModal.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class ShowEditorBBS implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=ShowModal.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ShowModal.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/showModal/ShowModal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;CAIb"}