UNPKG

@jiess/plus

Version:

基于Jiess核心库的强化与拓展,为Jiess应用的完整形态

290 lines (289 loc) 10.8 kB
import { Scrollbar, TypeNameMangeConfig } from "../index.js"; import Hook from "./Hook/index.js"; export * from "../../../jiess-core/src/index.js"; export * from "../../../jiess-utils/src/tools/index.js"; import { Env } from "../../../common/enum/index.js"; import { UnObject } from "../../../common/type/index.js"; import Context from "../../../jiess-core/src/core/Context/index.js"; export type $env = Env.React; export declare const $env = Env.React; export { default as $JiessHttp } from "../../../jiess-http/src/index.js"; export { default as $JiessLoading } from "../../../jiess-http/src/Loading/index.js"; export { default as $JiessMidder } from "../../../jiess-utils/src/midder/index.js"; export declare const $initHook: (param?: { ui: {}; }) => Hook; export declare const $TipText: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { text, line, textParam, ...other }: { text: unknown; textParam: UnObject; line: number; }): void; }; export declare const $Area: (this: Context<Env.React>, param: TypeNameMangeConfig) => import("../index.js").AreaBuilder<Env.React>; export declare const $Between: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { left, right, style, leftWidth, rightWidth, leftStyle, rightStyle, ...other }: { [key: string]: unknown; left: { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; } | (() => UnObject); right: { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; } | (() => UnObject); style: UnObject; leftWidth: string; rightWidth: string; leftStyle: UnObject; rightStyle: UnObject; }): void; }; export declare const $Dynamic: { isJiess: boolean; name: string; props(): { ComPlus: { type: string; }; ComMinus: { type: string; }; limit: { type: string; default: number; }; initData: { type: string; }; onChange: { type: string; }; itemStyle: { type: string; default: { display: string; alignItems: string; marginBottom: string; }; }; hasComs: { type: string; default: boolean; }; onLimit: { type: string; }; render: { type: string; required: boolean; }; }; setup(this: Context<Env.React>, { ComPlus, ComMinus, limit, initData, render, itemStyle, hasComs, onChange, onLimit }: { initData: Function; render: Function; onLimit: Function; limit: number; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $Space: { isJiess: boolean; name: string; props: typeof import("../_resource/common/components/JiessSpace/props.js").default; setup(this: Context<Env.React>, { cols, span, gutter, className, style, outerAttrs, padding, innerStyle, innerAttrs, }: { innerStyle: UnObject; innerAttrs: UnObject; outerAttrs: UnObject; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $SpaceItem: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { $span, style, direction, className, ...attrs }: UnObject): void; }; export declare const $ActionButton: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { onClick, tip, pop, icon, text, stop, waitTime, mode, menus, tipParam, popParam, attachParam, permission, isAdmin, points, ...other }: { waitTime: number; tipParam: UnObject; popParam: UnObject; attachParam: UnObject; menus: Array<{ text: string; value: unknown; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }>; permission?: { point: string | Function; mode: "$if" | "disabled"; validate?: boolean; }; points: Array<string> | Function; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $ActionButtons: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { buttons, size, points, ...param }: { size: string; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $Input: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Search: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Password: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $TextArea: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Autocomplete: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $InputNumber: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $DatePicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $TimeSelect: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $TimePicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $ColorPicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Switch: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Checkbox: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Radio: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $RadioButton: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $TreeSelect: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Cascader: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Transfer: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $DateRange: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $TimeRange: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Select: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $CheckboxGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $RadioGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.React>; export declare const $Scrollbar: typeof Scrollbar; export declare const $JiessDialog: { isJiess: boolean; setup(this: Context<Env.React>, props: import("../../../common/type/index.js").AnObject): void; }; export declare const $JiessTable: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { datas, items, create, mounte, update, render, primaryKey, tableProps, pagerProps, initColumns, updateParam, types, }: { types: Array<string>; updateParam: UnObject; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $SuperTable: { name: string; isJiess: boolean; setup(this: Context<Env.React>, { beforeCreate, created, beforeMounte, mounted, beforeUpdate, updated, filter, container, tableProps, tableBoxParam, pagerBoxParam, containerParam, ...baseParam }: { httpTag: string; httpApi: Function; updateParam: import("../index.js").TypeListUpdateConfig; tableProps: UnObject; tableBoxParam: UnObject; pagerBoxParam: UnObject; containerParam: UnObject; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $SwitchEnv: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { envs, env, icon, callback }?: { envs: import("../../../common/type/index.js").AnObject; callback?: Function; icon?: import("../../../common/type/index.js").AnObject; env?: string; }): void; }; export declare const $TableFilter: { name: string; isJiess: boolean; setup(this: Context<Env.React>, { midder, formParam, onReset, onSearch, buttons, onValuesChange, buttonSize, title, resetPlan, ...areaParam }: { formParam: UnObject; onValuesChange: Function; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $TableTabs: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { tables, headParam, onLoaded, defaultKey, onChange, ...other }: { tables: Array<UnObject>; headParam: UnObject; defaultKey: import("../../../common/type/index.js").TypeBase; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $TableTools: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { midder, buttons, custom, ...other }: { buttons: Array<UnObject>; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $SlotTree: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { create, onSelect, onExpand, expandedKeys, selectedKeys, treeData, ...args }: { onSelect: Function; onExpand: Function; create: Function; } & import("./Hook/components/SlotTree/index.js").TypeSlotTreeData & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; }; export declare const $SearchTree: { isJiess: boolean; name: string; setup(this: Context<Env.React>, { filterMethod, filterParam, props, ...other }: { props?: ({ label: string; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }) | undefined; filterParam: UnObject; } & { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; }): void; };