@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
58 lines (57 loc) • 2.12 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';
export interface ButtonAppearance {
class: string;
}
export interface ButtonConfig {
id: string;
disabled: boolean;
title: string;
click: any;
appearance: ButtonAppearance;
visible?: boolean;
}
export type ButtonPosition = 'inHead' | 'inContent';
export declare const sectionProps: Record<string, any>;
export type SectionProps = ExtractPropTypes<typeof sectionProps>;
export declare const propsResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;
export declare const eventHandlerResolver: import("../../dynamic-resolver").EventHandlerResolver;
export declare const sectionDesignProps: Record<string, any> & {
componentId: {
type: StringConstructor;
default: string;
};
headerTitleHtml: {
type: StringConstructor;
default: string;
};
headerHtml: {
type: StringConstructor;
default: string;
};
headerContentHtml: {
type: StringConstructor;
default: string;
};
toolbarHtml: {
type: StringConstructor;
default: string;
};
};
export type SectionDesignProps = ExtractPropTypes<typeof sectionDesignProps>;
export declare const sectionToolbarPropsResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;
export declare const propsDesignResolver: (schemaValue?: Record<string, any>, mergeDefaults?: boolean) => Record<string, any>;