@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
74 lines (73 loc) • 2.9 kB
TypeScript
/**
* Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { ExtractPropTypes } from 'vue';
import { FieldConfig, Condition } from './types';
export declare const conditionProps: {
conditions: {
type: {
(arrayLength: number): Condition[];
(...items: Condition[]): Condition[];
new (arrayLength: number): Condition[];
new (...items: Condition[]): Condition[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
of<T_4>(...items: T_4[]): T_4[];
readonly [Symbol.species]: ArrayConstructor;
};
default: never[];
};
fields: {
type: {
(arrayLength: number): FieldConfig[];
(...items: FieldConfig[]): FieldConfig[];
new (arrayLength: number): FieldConfig[];
new (...items: FieldConfig[]): FieldConfig[];
isArray(arg: any): arg is any[];
readonly prototype: any[];
from<T>(arrayLike: ArrayLike<T>): T[];
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
of<T_4>(...items: T_4[]): T_4[];
readonly [Symbol.species]: ArrayConstructor;
};
default: never[];
};
key: {
type: StringConstructor;
default: string;
};
/**
* 控间标签同行展示
*/
isControlInline: {
type: (BooleanConstructor | StringConstructor)[];
default: string;
validator: (value: any) => boolean;
};
/**
* 条件项统一的样式
*/
itemClass: {
type: BooleanConstructor;
default: string;
};
};
export type ConditionProps = ExtractPropTypes<typeof conditionProps>;