UNPKG

ucbuilder

Version:

:Shree Ganeshay Namah: new way app design

45 lines (44 loc) 1.7 kB
import { CommonEvent } from "../global/commonEvent.js"; import { ProjectRowR } from "../common/ipc/enumAndMore.js"; import { CommonRow } from "./buildRow.js"; import { commonParser } from "./commonParser.js"; import { codeFileInfo } from "./codeFileInfo.js"; import { fileWatcher } from "./fileWatcher.js"; import { IHTMLxSource } from "../lib/WrapperHelper.js"; export interface SourceCodeNode { designerCode?: string; jsFileCode?: string; htmlCode?: string; } export declare class builder { private ignoreDirs; project: ProjectRowR; ROOT_DIR: string; private static INSTANCE; static GetInstance(): builder; constructor(); projectDir: string; addToIgnore: (...pathlist: string[]) => void; commonMng: commonParser; filewatcher: fileWatcher; Event: { onSelect_xName: CommonEvent<(ele: HTMLElement, row: CommonRow) => void>; }; getAllDesignerXfiles(): Promise<{ cinfo: codeFileInfo[]; }>; nodex: { dynamicFiles: string[]; htmlFiles: string[]; }; htmlToDynamic(htmlFilePath: string): string; DynamicToHtml(dynamicPath: string): Promise<IHTMLxSource>; counter: number; buildALL(onComplete?: () => void, _fillReplacerPath?: boolean): Promise<void>; _ignoreThis: (pth: string) => boolean; /** @private */ recursive: (parentDir: string, /*ignoreDir = this.ignoreDirs,*/ ignoreThis: (pth: string) => boolean, callback: (path: string) => Promise<void>) => Promise<void>; /** @param {codeFileInfo} fInfo */ buildFiles(fInfos: codeFileInfo[], onComplete?: () => void): Promise<void>; checkFileState(filePath: string, htmlContents?: string): Promise<void>; }