@techui/scifi
Version:
TechUI Scifi is a sci-fi SVG component library developed based on Vue3. It uses dynamically calculated SVG elements to generate a variety of cool, futuristic, and technological components.
275 lines (270 loc) • 15 kB
TypeScript
/* tslint:disable */
/* eslint-disable */
export function adptCalc(config_js: any): any;
export function t3dUpdateRotate(mode: string, coeff: number, e: MouseEvent, el: DOMRect, dh: number, dw: number): any;
export function t3dCoeffCalc(coeff_ori: number, shadow_coeff_ori: number, dw: number): any;
export function t3dUpdateOrient(event: object, fix_alpha: number, ues_alpha: boolean): object;
export function pieArcPathGen(cx: number, cy: number, base_radius: number, base_inner_radius: number, start_angle_rad: number, end_angle_rad: number, corner_radius: number, gap_distance: number): string;
export function bar3DPathGen(shape: string, width: number, height: number, top_margin: number, max_height: number, percent: number, view_deep: number): any;
export function svgPatTest(): string;
export function svgPatBlocks(): string;
export function svgPatCircuitDiagram(): string;
export function svgPatCircularOverlayA(): string;
export function svgPatCircularOverlayB(): string;
export function svgPatContourLine(): string;
export function svgPatCrosshairA(): string;
export function svgPatCrosshairB(): string;
export function svgPatCubeA(): string;
export function svgPatCubeB(): string;
export function svgPatCubeC(): string;
export function svgPatDiamondFlipped(): string;
export function svgPatDiamondLattice(): string;
export function svgPatDiamondPixel(): string;
export function svgPatDiamondWeaving(): string;
export function svgPatDots(): string;
export function svgPatHexagonA(): string;
export function svgPatHexagonB(): string;
export function svgPatHexagonC(): string;
export function svgPatHexagonD(): string;
export function svgPatHexagonCurved(): string;
export function svgPatLineGrid(): string;
export function svgPatLineWeaving(): string;
export function svgPatMazeA(): string;
export function svgPatMazeB(): string;
export function svgPatMazeC(): string;
export function svgPatMountains(): string;
export function svgPatRain(): string;
export function svgPatRectWeavingA(): string;
export function svgPatRectWeavingB(): string;
export function svgPatRectWeavingC(): string;
export function svgPatShellA(): string;
export function svgPatShellB(): string;
export function svgPatSlashParallel(): string;
export function svgPatTotem(): string;
export function svgPatTriangleA(): string;
export function svgPatTriangleB(): string;
export function svgPatWaveA(): string;
export function svgPatWaveB(): string;
export function svgPatZigzagA(): string;
export function svgPatZigzagB(): string;
export function svgSpinBarsA(): string;
export function svgSpinBarsB(): string;
export function svgSpinBarsC(): string;
export function svgSpinBlocksA(): string;
export function svgSpinBlocksB(): string;
export function svgSpinBlocksC(): string;
export function svgSpinClock(): string;
export function svgSpinPointA(): string;
export function svgSpinPointB(): string;
export function svgSpinPointC(): string;
export function svgSpinPulseDotA(): string;
export function svgSpinPulseDotB(): string;
export function svgSpinPulseDotC(): string;
export function svgSpinPulseRingA(): string;
export function svgSpinPulseRingB(): string;
export function svgSpinPulseRingC(): string;
export function svgSpinRingA(): string;
export function svgSpinRingB(): string;
export function svgSpinRingC(): string;
export function scifiButtonA1(width: number): string;
export function scifiButtonA2(width: number): string;
export function scifiButtonA3(width: number): string;
export function scifiButtonA4(width: number): string;
export function scifiButtonA5(width: number): string;
export function scifiDecoA1(): string;
export function scifiDecoB1(): string;
export function scifiDecoB2(): string;
export function scifiDecoB3(): string;
export function scifiDecoD1(): string;
export function scifiGeomHexagon(width: number, height: number): string;
export function scifiGeomeParallelogram(width: number, height: number): string;
export function scifiGeomeRectangle(width: number, height: number): string;
export function scifiGeomeTrapezoid(width: number, height: number): string;
export function scifiGeomeTriangle(width: number, height: number): string;
export function scifiHeaderA1(width: number): string;
export function scifiHeaderA2(width: number): string;
export function scifiHeaderA3(width: number): string;
export function scifiHeaderA4(width: number): string;
export function scifiPanelTitleA1(width: number): string;
export function scifiPanelTitleA2(): string;
export function scifiPanelTitleA3(): string;
export function scifiPanelA1(width: number, height: number, twidth: number): string;
export function scifiPanelA2(width: number, height: number): string;
export function scifiPanelA3(width: number, height: number, twidth: number): string;
export function scifiPanelB1(width: number, height: number): string;
export function scifiPanelB2(width: number, height: number): string;
export function scifiPanelB3(width: number, height: number): string;
export function scifiPanelB4(width: number, height: number): string;
export function scifiPanelDV1(width: number, height: number, twidth: number): string;
export function scifiPanelDV2(width: number, height: number): string;
export function scifiPanelDV3(width: number, height: number): string;
export function scifiPanelDV4(width: number, height: number): string;
export function scifiPanelDV5(width: number, height: number): string;
export function scifiPanelDV6(width: number, height: number): string;
export function scifiPanelDV7(width: number, height: number): string;
export function scifiPanelDV8(width: number, height: number): string;
export function scifiPanelDV9(width: number, height: number): string;
export function rdmStr(length: number, has_digits: boolean): string;
export function md5Enc(input: string): string;
export function openEnc(plaintext: string, key_type: string): string;
export function openDec(ciphertext: string, key_type: string): string;
export function getEnv(): string;
export function getVer(): string;
export function cssVarGen(prefix: string, style_obj: object): string;
export function coreConsoleError(errstr: string, msg: string): void;
export function coreConsoleWarn(warnstr: string, msg: string): void;
export function coreConsoleInfo(infostr: string, msg: string): void;
export function coreInfo(input: any): any;
export function cidGen(input: string): string;
export function cidVaild(uid: string, classname: string): boolean;
export function floatInfo(): void;
export function techuiCoreInit(li_str: string | null | undefined, sub_str: string | null | undefined, core_init_str: string | null | undefined, npmkeys: any): void;
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
export interface InitOutput {
readonly memory: WebAssembly.Memory;
readonly adptCalc: (a: number) => number;
readonly t3dUpdateRotate: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
readonly t3dCoeffCalc: (a: number, b: number, c: number) => number;
readonly t3dUpdateOrient: (a: number, b: number, c: number) => number;
readonly pieArcPathGen: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
readonly bar3DPathGen: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
readonly svgPatBlocks: (a: number) => void;
readonly svgPatCircuitDiagram: (a: number) => void;
readonly svgPatCircularOverlayA: (a: number) => void;
readonly svgPatCircularOverlayB: (a: number) => void;
readonly svgPatContourLine: (a: number) => void;
readonly svgPatCrosshairA: (a: number) => void;
readonly svgPatCrosshairB: (a: number) => void;
readonly svgPatCubeA: (a: number) => void;
readonly svgPatCubeB: (a: number) => void;
readonly svgPatCubeC: (a: number) => void;
readonly svgPatDiamondFlipped: (a: number) => void;
readonly svgPatDiamondLattice: (a: number) => void;
readonly svgPatDiamondPixel: (a: number) => void;
readonly svgPatDiamondWeaving: (a: number) => void;
readonly svgPatDots: (a: number) => void;
readonly svgPatHexagonA: (a: number) => void;
readonly svgPatHexagonB: (a: number) => void;
readonly svgPatHexagonC: (a: number) => void;
readonly svgPatHexagonD: (a: number) => void;
readonly svgPatHexagonCurved: (a: number) => void;
readonly svgPatLineGrid: (a: number) => void;
readonly svgPatLineWeaving: (a: number) => void;
readonly svgPatMazeA: (a: number) => void;
readonly svgPatMazeB: (a: number) => void;
readonly svgPatMazeC: (a: number) => void;
readonly svgPatMountains: (a: number) => void;
readonly svgPatRain: (a: number) => void;
readonly svgPatRectWeavingA: (a: number) => void;
readonly svgPatRectWeavingB: (a: number) => void;
readonly svgPatRectWeavingC: (a: number) => void;
readonly svgPatShellA: (a: number) => void;
readonly svgPatShellB: (a: number) => void;
readonly svgPatSlashParallel: (a: number) => void;
readonly svgPatTotem: (a: number) => void;
readonly svgPatTriangleA: (a: number) => void;
readonly svgPatTriangleB: (a: number) => void;
readonly svgPatWaveA: (a: number) => void;
readonly svgPatWaveB: (a: number) => void;
readonly svgPatZigzagA: (a: number) => void;
readonly svgPatZigzagB: (a: number) => void;
readonly svgSpinBarsA: (a: number) => void;
readonly svgSpinBarsB: (a: number) => void;
readonly svgSpinBarsC: (a: number) => void;
readonly svgSpinBlocksA: (a: number) => void;
readonly svgSpinBlocksB: (a: number) => void;
readonly svgSpinBlocksC: (a: number) => void;
readonly svgSpinClock: (a: number) => void;
readonly svgSpinPointA: (a: number) => void;
readonly svgSpinPointB: (a: number) => void;
readonly svgSpinPointC: (a: number) => void;
readonly svgSpinPulseDotA: (a: number) => void;
readonly svgSpinPulseDotB: (a: number) => void;
readonly svgSpinPulseDotC: (a: number) => void;
readonly svgSpinPulseRingA: (a: number) => void;
readonly svgSpinPulseRingB: (a: number) => void;
readonly svgSpinPulseRingC: (a: number) => void;
readonly svgSpinRingA: (a: number) => void;
readonly svgSpinRingB: (a: number) => void;
readonly svgSpinRingC: (a: number) => void;
readonly scifiButtonA1: (a: number, b: number) => void;
readonly scifiButtonA2: (a: number, b: number) => void;
readonly scifiButtonA3: (a: number, b: number) => void;
readonly scifiButtonA4: (a: number, b: number) => void;
readonly scifiButtonA5: (a: number, b: number) => void;
readonly scifiDecoA1: (a: number) => void;
readonly scifiDecoB1: (a: number) => void;
readonly scifiDecoB2: (a: number) => void;
readonly scifiDecoB3: (a: number) => void;
readonly scifiDecoD1: (a: number) => void;
readonly scifiGeomHexagon: (a: number, b: number, c: number) => void;
readonly scifiGeomeParallelogram: (a: number, b: number, c: number) => void;
readonly scifiGeomeRectangle: (a: number, b: number, c: number) => void;
readonly scifiGeomeTrapezoid: (a: number, b: number, c: number) => void;
readonly scifiGeomeTriangle: (a: number, b: number, c: number) => void;
readonly scifiHeaderA1: (a: number, b: number) => void;
readonly scifiHeaderA2: (a: number, b: number) => void;
readonly scifiHeaderA3: (a: number, b: number) => void;
readonly scifiHeaderA4: (a: number, b: number) => void;
readonly scifiPanelTitleA1: (a: number, b: number) => void;
readonly scifiPanelTitleA2: (a: number) => void;
readonly scifiPanelTitleA3: (a: number) => void;
readonly scifiPanelA1: (a: number, b: number, c: number, d: number) => void;
readonly scifiPanelA2: (a: number, b: number, c: number) => void;
readonly scifiPanelA3: (a: number, b: number, c: number, d: number) => void;
readonly scifiPanelB1: (a: number, b: number, c: number) => void;
readonly scifiPanelB2: (a: number, b: number, c: number) => void;
readonly scifiPanelB3: (a: number, b: number, c: number) => void;
readonly scifiPanelB4: (a: number, b: number, c: number) => void;
readonly scifiPanelDV1: (a: number, b: number, c: number, d: number) => void;
readonly scifiPanelDV2: (a: number, b: number, c: number) => void;
readonly scifiPanelDV3: (a: number, b: number, c: number) => void;
readonly scifiPanelDV4: (a: number, b: number, c: number) => void;
readonly scifiPanelDV5: (a: number, b: number, c: number) => void;
readonly scifiPanelDV6: (a: number, b: number, c: number) => void;
readonly scifiPanelDV7: (a: number, b: number, c: number) => void;
readonly scifiPanelDV8: (a: number, b: number, c: number) => void;
readonly scifiPanelDV9: (a: number, b: number, c: number) => void;
readonly rdmStr: (a: number, b: number, c: number) => void;
readonly md5Enc: (a: number, b: number, c: number) => void;
readonly openEnc: (a: number, b: number, c: number, d: number, e: number) => void;
readonly openDec: (a: number, b: number, c: number, d: number, e: number) => void;
readonly getEnv: (a: number) => void;
readonly getVer: (a: number) => void;
readonly cssVarGen: (a: number, b: number, c: number, d: number) => void;
readonly coreConsoleError: (a: number, b: number, c: number, d: number) => void;
readonly coreConsoleWarn: (a: number, b: number, c: number, d: number) => void;
readonly coreConsoleInfo: (a: number, b: number, c: number, d: number) => void;
readonly coreInfo: (a: number) => number;
readonly cidGen: (a: number, b: number, c: number) => void;
readonly cidVaild: (a: number, b: number, c: number, d: number) => number;
readonly floatInfo: () => void;
readonly techuiCoreInit: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
readonly svgPatTest: (a: number) => void;
readonly __wbindgen_export_0: (a: number) => void;
readonly __wbindgen_export_1: (a: number, b: number) => number;
readonly __wbindgen_export_2: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_3: WebAssembly.Table;
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
readonly __wbindgen_export_4: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_5: (a: number, b: number) => void;
}
export type SyncInitInput = BufferSource | WebAssembly.Module;
/**
* Instantiates the given `module`, which can either be bytes or
* a precompiled `WebAssembly.Module`.
*
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
*
* @returns {InitOutput}
*/
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
/**
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
* for everything else, calls `WebAssembly.instantiate` directly.
*
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
*
* @returns {Promise<InitOutput>}
*/
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;