UNPKG

@jiess/plus

Version:

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

303 lines (302 loc) 11.2 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.Vue2; export declare const $env = Env.Vue2; 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.Vue2>, { text, line, textParam, ...other }: { text: unknown; textParam: UnObject; line: number; }): void; }; export declare const $Area: (this: Context<Env.Vue2>, param: TypeNameMangeConfig) => import("../index.js").AreaBuilder<Env.Vue2>; export declare const $Between: { isJiess: boolean; name: string; setup(this: Context<Env.Vue2>, { 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.Vue2>, { 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.Vue2>, { 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.Vue2>, { $span, style, direction, className, ...attrs }: UnObject): void; }; export declare const $ActionButton: { isJiess: boolean; name: string; setup(this: Context<Env.Vue2>, { 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.Vue2>, { 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.Vue2>; export declare const $Autocomplete: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $InputNumber: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $DatePicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $TimeSelect: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $TimePicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $ColorPicker: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $Switch: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $Checkbox: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $CheckboxButton: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $Radio: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $RadioButton: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $Cascader: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $CascaderPanel: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $Transfer: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $Select: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $SelectGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $CheckboxGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $CheckboxButtonGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $RadioGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $RadioButtonGroup: (info: UnObject) => import("../index.js").ItemBuilder<Env.Vue2>; export declare const $Scrollbar: typeof Scrollbar; export declare const $JiessDialog: { isJiess: boolean; setup(this: Context<Env.Vue2>, props: import("../../../common/type/index.js").AnObject): void; }; export declare const $JiessTable: { isJiess: boolean; name: string; setup(this: Context<Env.Vue2>, { 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.Vue2>, { 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.Vue2>, { 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.Vue2>, { envs, env, icon, callback }?: { envs: import("../../../common/type/index.js").AnObject; callback?: Function; icon?: string; env?: string; }): void; }; export declare const $TableFilter: { isJiess: boolean; name: string; setup(this: Context<Env.Vue2>, { 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.Vue2>, { 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.Vue2>, { midder, permissions, 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.Vue2>, { create, onSelect, onExpand, expandedKeys, selectedKeys, treeData, ...other }: { 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.Vue2>, { 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; };