@jiess/plus
Version:
基于Jiess核心库的强化与拓展,为Jiess应用的完整形态
298 lines (297 loc) • 11.3 kB
TypeScript
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.Vue3;
export declare const $env = Env.Vue3;
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.Vue3>, { text, line, textParam, ...other }: {
text: unknown;
textParam: UnObject;
line: number;
}): void;
};
export declare const $Area: (this: Context<Env.Vue3>, param: TypeNameMangeConfig) => import("../index.js").AreaBuilder<Env.Vue3>;
export declare const $Between: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { 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.Vue3>, { 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.Vue3>, { 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.Vue3>, { $span, style, direction, className, ...attrs }: UnObject): void;
};
export declare const $ActionButton: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { 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;
}): Promise<void>;
};
export declare const $ActionButtons: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { 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.Vue3>;
export declare const $Autocomplete: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $InputNumber: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $DatePicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $TimeSelect: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $TimePicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $ColorPicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $Switch: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $Checkbox: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $CheckboxButton: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $Radio: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $RadioButton: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $SelectV2: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $TreeSelect: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $Cascader: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $CascaderPanel: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $Transfer: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $Select: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $SelectGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $CheckboxGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $CheckboxButtonGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $RadioGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $RadioButtonGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue3>;
export declare const $Scrollbar: typeof Scrollbar;
export declare const $JiessDialog: {
isJiess: boolean;
setup(this: Context<Env.Vue3>, props: import("../../../common/type/index.js").AnObject): void;
};
export declare const $JiessTable: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { 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 $ExpandFilter: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { midder, onReset, onSearch, span, formParam, layoutParam, resetPlan, initialValues, filterItems, onValuesChange, areaDefaultParam, areaExpandParam, ...areaParam }?: {
span: number;
layoutParam: UnObject;
areaDefaultParam: UnObject;
areaExpandParam: UnObject;
onValuesChange: Function;
} & {
[key: string]: unknown;
[key: number]: unknown;
[key: symbol]: unknown;
}): void;
};
export declare const $SuperTable: {
name: string;
isJiess: boolean;
setup(this: Context<Env.Vue3>, { beforeCreate, created, beforeMounte, mounted, beforeUpdate, updated, filter, container, tableProps, tableBoxParam, pagerBoxParam, containerParam, ...baseParam }: {
httpTag: string;
httpApi: Function;
tableBoxParam: UnObject;
pagerBoxParam: UnObject;
containerParam: UnObject;
updateParam: import("../index.js").TypeListUpdateConfig;
} & {
[key: string]: unknown;
[key: number]: unknown;
[key: symbol]: unknown;
}): void;
};
export declare const $SwitchEnv: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { 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: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { midder, onReset, onSearch, buttons, onValuesChange, buttonSize, title, resetPlan, ...areaParam }: {
onValuesChange: Function;
} & {
[key: string]: unknown;
[key: number]: unknown;
[key: symbol]: unknown;
}): void;
};
export declare const $TableTabs: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { tables, headParam, onLoaded, defaultKey, onChange, ...other }: {
tables: Array<UnObject>;
headParam: UnObject;
defaultKey: string | number;
} & {
[key: string]: unknown;
[key: number]: unknown;
[key: symbol]: unknown;
}): void;
};
export declare const $TableTools: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { midder, buttons, custom, ...other }: {
midder: import("../../../jiess-utils/src/midder/index.js").default;
buttons: Array<import("../../../common/type/index.js").TypeBase>;
} & {
[key: string]: unknown;
[key: number]: unknown;
[key: symbol]: unknown;
}): void;
};
export declare const $SlotTree: {
isJiess: boolean;
name: string;
setup(this: Context<Env.Vue3>, { onSelect, onExpand, expandedKeys, selectedKeys, treeData, treeSlots, ...other }: {
onSelect: Function;
onExpand: 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.Vue3>, { filterMethod, filterParam, props, ...other }: {
props?: import("../../../common/type/index.js").AnObject;
filterParam: UnObject;
} & {
[key: string]: unknown;
[key: number]: unknown;
[key: symbol]: unknown;
}): void;
};