Template
Migrate old admin modules and local crud deps
Port pages for data forms, score admin, student maintenance, vacation records, menu routing, and workbench. Add team switching, dynamic menu loading, viewport scaling, and bundled local fast-crud packages.
This commit is contained in:
@@ -0,0 +1,166 @@
|
||||
import "./fs-button.less";
|
||||
/**
|
||||
* 按钮,支持el-button/a-button的配置
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 文字
|
||||
*/
|
||||
text: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
icon: {
|
||||
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 右边的图标
|
||||
*/
|
||||
iconRight: {
|
||||
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 是否圆形按钮,text需配置为null
|
||||
*/
|
||||
circle: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* tooltip配置,为空不显示tooltip
|
||||
*/
|
||||
tooltip: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* badge配置,为空不显示badge
|
||||
* `{count:0,dot:"show"}`
|
||||
*/
|
||||
badge: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* x-button的配置,当x-button的配置与fs-button的配置有冲突时可以配置在此处
|
||||
* 比如:n-button的text
|
||||
*/
|
||||
buttonProps: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* 自定义的className
|
||||
*/
|
||||
className: {
|
||||
type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 是否加载中
|
||||
*/
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 文字
|
||||
*/
|
||||
text: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
icon: {
|
||||
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 右边的图标
|
||||
*/
|
||||
iconRight: {
|
||||
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 是否圆形按钮,text需配置为null
|
||||
*/
|
||||
circle: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* tooltip配置,为空不显示tooltip
|
||||
*/
|
||||
tooltip: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* badge配置,为空不显示badge
|
||||
* `{count:0,dot:"show"}`
|
||||
*/
|
||||
badge: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* x-button的配置,当x-button的配置与fs-button的配置有冲突时可以配置在此处
|
||||
* 比如:n-button的text
|
||||
*/
|
||||
buttonProps: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* 自定义的className
|
||||
*/
|
||||
className: {
|
||||
type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 是否加载中
|
||||
*/
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
}>> & Readonly<{
|
||||
onClick?: (...args: any[]) => any;
|
||||
}>, {
|
||||
circle: boolean;
|
||||
text: string;
|
||||
icon: string | Function | Record<string, any>;
|
||||
iconRight: string | Function | Record<string, any>;
|
||||
tooltip: Record<string, any>;
|
||||
badge: Record<string, any>;
|
||||
buttonProps: Record<string, any>;
|
||||
className: string | Record<string, any> | unknown[];
|
||||
loading: boolean;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
@@ -0,0 +1,44 @@
|
||||
/**
|
||||
* icon组件
|
||||
* antdv的icon需要手动引入才能生效
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* icon名称
|
||||
*/
|
||||
icon: {
|
||||
type: StringConstructor;
|
||||
default: any;
|
||||
require: boolean;
|
||||
};
|
||||
baseUrl: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
size: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* icon名称
|
||||
*/
|
||||
icon: {
|
||||
type: StringConstructor;
|
||||
default: any;
|
||||
require: boolean;
|
||||
};
|
||||
baseUrl: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
size: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
}>> & Readonly<{}>, {
|
||||
size: string;
|
||||
icon: string;
|
||||
baseUrl: string;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
@@ -0,0 +1,22 @@
|
||||
import "./fs-dialog.less";
|
||||
/**
|
||||
* 对话框
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
open: {};
|
||||
fullscreen: {};
|
||||
zIndex: {};
|
||||
appendTo: {};
|
||||
}>, () => string, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "mounted" | "opened" | "closed" | "inner-change")[], "open" | "mounted" | "opened" | "closed" | "inner-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
open: {};
|
||||
fullscreen: {};
|
||||
zIndex: {};
|
||||
appendTo: {};
|
||||
}>> & Readonly<{
|
||||
onMounted?: (...args: any[]) => any;
|
||||
onOpen?: (...args: any[]) => any;
|
||||
onOpened?: (...args: any[]) => any;
|
||||
onClosed?: (...args: any[]) => any;
|
||||
"onInner-change"?: (...args: any[]) => any;
|
||||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
@@ -0,0 +1,45 @@
|
||||
import { PropType } from "vue";
|
||||
import { EditableCell, EditableProps } from "../../../d";
|
||||
/**
|
||||
* 可编辑单元格组件
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 组件配置
|
||||
*/
|
||||
item: {};
|
||||
scope: {};
|
||||
index: {};
|
||||
editableId: {};
|
||||
columnKey: {};
|
||||
editableCell: {
|
||||
type: PropType<EditableCell>;
|
||||
};
|
||||
editableOpts: {
|
||||
type: PropType<EditableProps>;
|
||||
};
|
||||
slots: {};
|
||||
disabled: {};
|
||||
readonly: {};
|
||||
}>, () => void, {}, {}, {
|
||||
getTargetRef(): any;
|
||||
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 组件配置
|
||||
*/
|
||||
item: {};
|
||||
scope: {};
|
||||
index: {};
|
||||
editableId: {};
|
||||
columnKey: {};
|
||||
editableCell: {
|
||||
type: PropType<EditableCell>;
|
||||
};
|
||||
editableOpts: {
|
||||
type: PropType<EditableProps>;
|
||||
};
|
||||
slots: {};
|
||||
disabled: {};
|
||||
readonly: {};
|
||||
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { EditableTable } from "../../../d";
|
||||
export declare function useEditable(props: any, ctx: any, tableRef: any): {
|
||||
editable: EditableTable;
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
import Schema from "async-validator";
|
||||
import { EditableCell } from "../../../d";
|
||||
export declare function createValidator(editableCells: Record<string, EditableCell>): Schema;
|
||||
@@ -0,0 +1,45 @@
|
||||
import { PropType } from "vue";
|
||||
import { ConditionalRenderProps } from "../../d";
|
||||
/**
|
||||
* 单元格显示组件
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
item: {};
|
||||
/**
|
||||
* scope
|
||||
*/
|
||||
scope: {
|
||||
default(): {};
|
||||
};
|
||||
/**
|
||||
* 插槽
|
||||
*/
|
||||
slots: {};
|
||||
/**
|
||||
* 条件渲染,符合条件的情况下优先渲染
|
||||
*/
|
||||
conditionalRender: {
|
||||
type: PropType<ConditionalRenderProps<any>>;
|
||||
};
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
item: {};
|
||||
/**
|
||||
* scope
|
||||
*/
|
||||
scope: {
|
||||
default(): {};
|
||||
};
|
||||
/**
|
||||
* 插槽
|
||||
*/
|
||||
slots: {};
|
||||
/**
|
||||
* 条件渲染,符合条件的情况下优先渲染
|
||||
*/
|
||||
conditionalRender: {
|
||||
type: PropType<ConditionalRenderProps<any>>;
|
||||
};
|
||||
}>> & Readonly<{}>, {
|
||||
scope: unknown;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
@@ -0,0 +1,72 @@
|
||||
import "./fs-form-wrapper.less";
|
||||
/**
|
||||
* 表单对话框|抽屉
|
||||
* 暴露方法:
|
||||
* open(options)
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 表单配置
|
||||
* {
|
||||
* wrapper:{ //表单包装配置
|
||||
* is: 'el-dialog'//el-dialog|a-modal|el-drawer|a-drawer,
|
||||
* draggable: false, //是否支持拖动
|
||||
* inner:false //是否在页面内部打开
|
||||
* }
|
||||
* ...FsForm配置
|
||||
* }
|
||||
*/
|
||||
options: {};
|
||||
/**
|
||||
* 插槽
|
||||
*/
|
||||
slots: {};
|
||||
/**
|
||||
* 是否在内部打开对话框
|
||||
*/
|
||||
inner: {};
|
||||
/**
|
||||
* 内部打开对话框的wrapper
|
||||
*/
|
||||
innerWrapper: {};
|
||||
id: {};
|
||||
zIndex: {};
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit" | "open" | "mounted" | "validationError" | "value-change" | "opened" | "closed" | "inner-change")[], "reset" | "submit" | "open" | "mounted" | "validationError" | "value-change" | "opened" | "closed" | "inner-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 表单配置
|
||||
* {
|
||||
* wrapper:{ //表单包装配置
|
||||
* is: 'el-dialog'//el-dialog|a-modal|el-drawer|a-drawer,
|
||||
* draggable: false, //是否支持拖动
|
||||
* inner:false //是否在页面内部打开
|
||||
* }
|
||||
* ...FsForm配置
|
||||
* }
|
||||
*/
|
||||
options: {};
|
||||
/**
|
||||
* 插槽
|
||||
*/
|
||||
slots: {};
|
||||
/**
|
||||
* 是否在内部打开对话框
|
||||
*/
|
||||
inner: {};
|
||||
/**
|
||||
* 内部打开对话框的wrapper
|
||||
*/
|
||||
innerWrapper: {};
|
||||
id: {};
|
||||
zIndex: {};
|
||||
}>> & Readonly<{
|
||||
onReset?: (...args: any[]) => any;
|
||||
onSubmit?: (...args: any[]) => any;
|
||||
onMounted?: (...args: any[]) => any;
|
||||
onOpen?: (...args: any[]) => any;
|
||||
onValidationError?: (...args: any[]) => any;
|
||||
"onValue-change"?: (...args: any[]) => any;
|
||||
onOpened?: (...args: any[]) => any;
|
||||
onClosed?: (...args: any[]) => any;
|
||||
"onInner-change"?: (...args: any[]) => any;
|
||||
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
import { PropType } from "vue";
|
||||
import "./fs-table.less";
|
||||
import { ConditionalRenderProps, EditableProps, TableColumnsProps } from "../../d";
|
||||
/**
|
||||
* fs-table,表格封装
|
||||
* 支持el-table/a-table的参数
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
tableVersion: {
|
||||
type: PropType<string>;
|
||||
};
|
||||
/**
|
||||
* table插槽
|
||||
*/
|
||||
slots: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
/**
|
||||
* 单元格插槽
|
||||
*/
|
||||
cellSlots: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
/**
|
||||
* 列配置,支持el-table-column|a-table-column配置
|
||||
*/
|
||||
columns: {
|
||||
type: PropType<TableColumnsProps>;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* 操作列
|
||||
*/
|
||||
rowHandle: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
/**
|
||||
* 是否显示表格
|
||||
*/
|
||||
show: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
/**
|
||||
* 表格数据
|
||||
*/
|
||||
data: {
|
||||
type: ArrayConstructor;
|
||||
default: () => any[];
|
||||
};
|
||||
conditionalRender: {
|
||||
type: PropType<ConditionalRenderProps>;
|
||||
};
|
||||
/**
|
||||
* 行编辑,批量编辑
|
||||
*/
|
||||
editable: {
|
||||
type: PropType<EditableProps>;
|
||||
default(): {};
|
||||
};
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
/**
|
||||
* 当前sort状态
|
||||
*/
|
||||
sort: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
request: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
rowKey: {
|
||||
type: (FunctionConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
};
|
||||
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("value-change" | "row-handle" | "pagination-change" | "filter-change" | "sort-change" | "data-change")[], "value-change" | "row-handle" | "pagination-change" | "filter-change" | "sort-change" | "data-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
tableVersion: {
|
||||
type: PropType<string>;
|
||||
};
|
||||
/**
|
||||
* table插槽
|
||||
*/
|
||||
slots: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
/**
|
||||
* 单元格插槽
|
||||
*/
|
||||
cellSlots: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
/**
|
||||
* 列配置,支持el-table-column|a-table-column配置
|
||||
*/
|
||||
columns: {
|
||||
type: PropType<TableColumnsProps>;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* 操作列
|
||||
*/
|
||||
rowHandle: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
/**
|
||||
* 是否显示表格
|
||||
*/
|
||||
show: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
/**
|
||||
* 表格数据
|
||||
*/
|
||||
data: {
|
||||
type: ArrayConstructor;
|
||||
default: () => any[];
|
||||
};
|
||||
conditionalRender: {
|
||||
type: PropType<ConditionalRenderProps>;
|
||||
};
|
||||
/**
|
||||
* 行编辑,批量编辑
|
||||
*/
|
||||
editable: {
|
||||
type: PropType<EditableProps>;
|
||||
default(): {};
|
||||
};
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
/**
|
||||
* 当前sort状态
|
||||
*/
|
||||
sort: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
request: {
|
||||
type: PropType<any>;
|
||||
};
|
||||
rowKey: {
|
||||
type: (FunctionConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
};
|
||||
}>> & Readonly<{
|
||||
"onValue-change"?: (...args: any[]) => any;
|
||||
"onRow-handle"?: (...args: any[]) => any;
|
||||
"onPagination-change"?: (...args: any[]) => any;
|
||||
"onFilter-change"?: (...args: any[]) => any;
|
||||
"onSort-change"?: (...args: any[]) => any;
|
||||
"onData-change"?: (...args: any[]) => any;
|
||||
}>, {
|
||||
data: unknown[];
|
||||
columns: TableColumnsProps;
|
||||
loading: boolean;
|
||||
show: boolean;
|
||||
editable: EditableProps;
|
||||
rowKey: string | Function;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
@@ -0,0 +1,9 @@
|
||||
import { Ref } from "vue";
|
||||
export declare function useComponentRefProvider(componentsRef: Ref): {
|
||||
getter: (index: number, key: string) => any;
|
||||
setter: (index: number, key: string, value: any) => Ref<any, any>;
|
||||
};
|
||||
export declare function useComponentRefInject(): {
|
||||
getter: unknown;
|
||||
setter: unknown;
|
||||
};
|
||||
@@ -0,0 +1,4 @@
|
||||
import { Slot, Slots } from "vue";
|
||||
export type CrudSlots = Record<string, Slot | undefined>;
|
||||
export declare function mergeCrudSlots(configuredSlots: CrudSlots | undefined, templateSlots: Slots): Slots;
|
||||
export declare function filterCrudSlots(slots: Slots, keyPrefix: string): Slots;
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
import FsPage from "./container/fs-page.vue";
|
||||
import FsContainer from "./container/fs-container.vue";
|
||||
import FsLayoutDefault from "./container/fs-layout-default.vue";
|
||||
import FsLayoutCard from "./container/fs-layout-card.vue";
|
||||
import FsButton from "./basic/fs-button";
|
||||
import FsIcon from "./basic/fs-icon";
|
||||
import FsIconify from "./basic/fs-iconify.vue";
|
||||
import FsIconSvg from "./basic/fs-icon-svg.vue";
|
||||
import FsLabel from "./basic/fs-label.vue";
|
||||
import FsLoading from "./basic/fs-loading.vue";
|
||||
import FsBox from "./basic/fs-box.vue";
|
||||
import FsComponentRender from "./render/fs-component-render.js";
|
||||
import FsSlotRender from "./render/fs-slot-render.js";
|
||||
import FsRender from "./render/fs-render.js";
|
||||
import FsForm from "./crud/fs-form.vue";
|
||||
import FsFormItem from "./crud/fs-form-item.vue";
|
||||
import FsFormItemCol from "./crud/fs-form-item-col.vue";
|
||||
import FsFormHelper from "./crud/fs-form-helper.vue";
|
||||
import FsFormWrapper from "./crud/fs-form-wrapper.jsx";
|
||||
import FsFormProvider from "./crud/fs-form-provider.vue";
|
||||
import FsCrud from "./fs-crud.vue";
|
||||
import FsRowHandle from "./crud/fs-row-handle.vue";
|
||||
import FsTable from "./crud/fs-table.js";
|
||||
import FsCell from "./crud/fs-cell";
|
||||
import FsEditableCell from "./crud/editable/fs-editable-cell";
|
||||
import FsEditable from "./crud/editable/fs-editable.vue";
|
||||
import FsActionbar from "./actionbar/index.vue";
|
||||
import FsToolbar from "./toolbar/index.vue";
|
||||
import FsColumnsFilterLayoutDefault from "./toolbar/fs-table-columns-filter/fs-columns-filter-layout-default.vue";
|
||||
import fsColumnsFilterNestList from "./toolbar/fs-table-columns-filter/fs-columns-filter-nest-list.vue";
|
||||
import FsTableColumnsFixedController from "./toolbar/fs-table-columns-filter/fs-table-columns-fixed-controller/index.vue";
|
||||
import FsSearch from "./search/index.vue";
|
||||
import FsSearchV1 from "./search/search_v1.vue";
|
||||
import FsSearchLayoutDefault from "./search/layout-default.vue";
|
||||
import FsTabsFilter from "./search/tabs-filter.vue";
|
||||
import FsIconSelector from "./extends/fs-icon-selector/index.vue";
|
||||
import FsDictRadio from "./extends/fs-dict-radio.vue";
|
||||
import FsDictSelect from "./extends/fs-dict-select.vue";
|
||||
import FsValuesFormat from "./extends/fs-values-format.vue";
|
||||
import FsDictCascaderFormat from "./extends/fs-dict-cascader-format.vue";
|
||||
import FsDictCascader from "./extends/fs-dict-cascader.vue";
|
||||
import FsDictCheckbox from "./extends/fs-dict-checkbox.vue";
|
||||
import FsDictSwitch from "./extends/fs-dict-switch.vue";
|
||||
import FsDateFormat from "./extends/fs-date-format.vue";
|
||||
import FsDictTree from "./extends/fs-dict-tree.vue";
|
||||
import FsTableSelect from "./extends/fs-table-select.vue";
|
||||
import FsEditableSelect from "./extends/fs-editable-select.vue";
|
||||
export { FsPage, FsContainer, FsLayoutDefault, FsLayoutCard, FsComponentRender, FsSlotRender, FsRender, FsButton, FsLoading, FsIcon, FsIconify, FsIconSvg, FsIconSelector, FsLabel, FsForm, FsFormItem, FsFormItemCol, FsFormHelper, FsFormWrapper, FsFormProvider, FsCrud, FsTable, FsCell, FsEditableCell, FsEditable, FsRowHandle, FsSearch, FsSearchV1, FsSearchLayoutDefault, FsTabsFilter, FsActionbar, FsToolbar, FsColumnsFilterLayoutDefault, fsColumnsFilterNestList, FsTableColumnsFixedController, FsDictRadio, FsDictSelect, FsValuesFormat, FsDictCascaderFormat, FsDictCascader, FsDictCheckbox, FsDictSwitch, FsDateFormat, FsBox, FsDictTree, FsTableSelect, FsEditableSelect };
|
||||
@@ -0,0 +1,131 @@
|
||||
/**
|
||||
* 组件动态渲染组件
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* modelValue
|
||||
*/
|
||||
modelValue: {};
|
||||
/**
|
||||
* 组件名称
|
||||
*/
|
||||
name: {};
|
||||
/**
|
||||
* 插槽
|
||||
*/
|
||||
slots: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* 子元素,同slots
|
||||
*/
|
||||
children: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* 事件监听
|
||||
*/
|
||||
on: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* 同 on
|
||||
*/
|
||||
events: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* 上下文scope
|
||||
*/
|
||||
scope: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* modelValue的属性名
|
||||
*/
|
||||
vModel: {
|
||||
type: (ObjectConstructor | StringConstructor)[];
|
||||
};
|
||||
/**
|
||||
* 组件参数,会与attrs合并
|
||||
*/
|
||||
props: {};
|
||||
/**
|
||||
* 自定义render
|
||||
*/
|
||||
render: {};
|
||||
/**
|
||||
* 当输入框的值上报为undefine时,转为null
|
||||
*/
|
||||
undefineToNull: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:dict" | "update:modelValue" | "mounted")[], "update:dict" | "update:modelValue" | "mounted", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* modelValue
|
||||
*/
|
||||
modelValue: {};
|
||||
/**
|
||||
* 组件名称
|
||||
*/
|
||||
name: {};
|
||||
/**
|
||||
* 插槽
|
||||
*/
|
||||
slots: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* 子元素,同slots
|
||||
*/
|
||||
children: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* 事件监听
|
||||
*/
|
||||
on: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* 同 on
|
||||
*/
|
||||
events: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* 上下文scope
|
||||
*/
|
||||
scope: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
/**
|
||||
* modelValue的属性名
|
||||
*/
|
||||
vModel: {
|
||||
type: (ObjectConstructor | StringConstructor)[];
|
||||
};
|
||||
/**
|
||||
* 组件参数,会与attrs合并
|
||||
*/
|
||||
props: {};
|
||||
/**
|
||||
* 自定义render
|
||||
*/
|
||||
render: {};
|
||||
/**
|
||||
* 当输入框的值上报为undefine时,转为null
|
||||
*/
|
||||
undefineToNull: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
}>> & Readonly<{
|
||||
"onUpdate:dict"?: (...args: any[]) => any;
|
||||
"onUpdate:modelValue"?: (...args: any[]) => any;
|
||||
onMounted?: (...args: any[]) => any;
|
||||
}>, {
|
||||
undefineToNull: boolean;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* 自定义render组件
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
renderFunc: {
|
||||
type: FunctionConstructor;
|
||||
};
|
||||
scope: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
renderFunc: {
|
||||
type: FunctionConstructor;
|
||||
};
|
||||
scope: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* 插槽render组件
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 插槽
|
||||
*/
|
||||
slots: {
|
||||
type: FunctionConstructor;
|
||||
};
|
||||
/**
|
||||
* 上下文
|
||||
*/
|
||||
scope: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 插槽
|
||||
*/
|
||||
slots: {
|
||||
type: FunctionConstructor;
|
||||
};
|
||||
/**
|
||||
* 上下文
|
||||
*/
|
||||
scope: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
Reference in New Issue
Block a user