@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
246 lines (245 loc) • 9.97 kB
TypeScript
/** @format */
import TagGroup from './src/tag-group';
export { TagGroup };
declare const _default: {
new (...args: any[]): {
$: import("vue").ComponentInternalInstance;
$data: {};
$props: Partial<{
value: import("./src/types").TagOptionItem[];
prefixCls: string;
color: string;
disabled: boolean;
maxTagCount: number;
maxTagTextLength: number;
closable: boolean;
overlayClassName: any;
createPlaceholder: string;
createable: boolean;
createInputable: boolean;
createLoading: boolean;
removeLoading: boolean;
closeEmitAble: boolean;
nameLabel: string;
showSelected: boolean;
createBordered: boolean;
createIcon: boolean;
}> & Omit<Readonly<{
value: import("./src/types").TagOptionItem[];
prefixCls: string;
color: string;
disabled: boolean;
maxTagCount: number;
maxTagTextLength: number;
closable: boolean;
overlayClassName: any;
createPlaceholder: string;
createable: boolean;
createInputable: boolean;
createLoading: boolean;
removeLoading: boolean;
closeEmitAble: boolean;
nameLabel: string;
showSelected: boolean;
createBordered: boolean;
createIcon: boolean;
} & {
className?: any;
tagStyle?: import("vue").CSSProperties;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "value" | "prefixCls" | "color" | "disabled" | "maxTagCount" | "maxTagTextLength" | "closable" | "overlayClassName" | "createPlaceholder" | "createable" | "createInputable" | "createLoading" | "removeLoading" | "closeEmitAble" | "nameLabel" | "showSelected" | "createBordered" | "createIcon">;
$attrs: {
[x: string]: unknown;
};
$refs: {
[x: string]: unknown;
};
$slots: Readonly<{
[name: string]: import("vue").Slot;
}>;
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
$emit: (event: "change" | "create-click" | "close-click", ...args: any[]) => void;
$el: any;
$options: import("vue").ComponentOptionsBase<Readonly<{
value: import("./src/types").TagOptionItem[];
prefixCls: string;
color: string;
disabled: boolean;
maxTagCount: number;
maxTagTextLength: number;
closable: boolean;
overlayClassName: any;
createPlaceholder: string;
createable: boolean;
createInputable: boolean;
createLoading: boolean;
removeLoading: boolean;
closeEmitAble: boolean;
nameLabel: string;
showSelected: boolean;
createBordered: boolean;
createIcon: boolean;
} & {
className?: any;
tagStyle?: import("vue").CSSProperties;
}>, {
state: import("vue").WritableComputedRef<unknown> | {
readonly value: any;
} | ((val: any) => void) | import("vue").ToRefs<{
value: any;
}>;
stateTruer: import("vue").Ref<any[]>;
options: import("vue").Ref<{
id: string | number;
name: string;
}[]>;
removeIdx: import("vue").Ref<string | number>;
handleClose: (removedTag: import("./src/types").TagOptionItem, id: string | number) => void;
showInput: (ev: MouseEvent) => void;
handleInputConfirm: () => void;
handleInputEnterConfirm: (ev: any) => void;
handleInputChange: (ev: any) => void;
inputRef: import("vue").Ref<any>;
prefixClsNew: import("vue").ComputedRef<string>;
getStrLength: (str?: unknown, replaceValue?: string) => number;
configProvider: import("../config-provider").ConfigConsumerProps;
inputVisible: import("vue").Ref<boolean>;
inputValue: import("vue").Ref<string>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "create-click" | "close-click")[], string, {
value: import("./src/types").TagOptionItem[];
prefixCls: string;
color: string;
disabled: boolean;
maxTagCount: number;
maxTagTextLength: number;
closable: boolean;
overlayClassName: any;
createPlaceholder: string;
createable: boolean;
createInputable: boolean;
createLoading: boolean;
removeLoading: boolean;
closeEmitAble: boolean;
nameLabel: string;
showSelected: boolean;
createBordered: boolean;
createIcon: boolean;
}>;
$forceUpdate: import("vue").ReactiveEffect<any>;
$nextTick: typeof import("vue").nextTick;
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
} & Readonly<{
value: import("./src/types").TagOptionItem[];
prefixCls: string;
color: string;
disabled: boolean;
maxTagCount: number;
maxTagTextLength: number;
closable: boolean;
overlayClassName: any;
createPlaceholder: string;
createable: boolean;
createInputable: boolean;
createLoading: boolean;
removeLoading: boolean;
closeEmitAble: boolean;
nameLabel: string;
showSelected: boolean;
createBordered: boolean;
createIcon: boolean;
} & {
className?: any;
tagStyle?: import("vue").CSSProperties;
}> & import("vue").ShallowUnwrapRef<{
state: import("vue").WritableComputedRef<unknown> | {
readonly value: any;
} | ((val: any) => void) | import("vue").ToRefs<{
value: any;
}>;
stateTruer: import("vue").Ref<any[]>;
options: import("vue").Ref<{
id: string | number;
name: string;
}[]>;
removeIdx: import("vue").Ref<string | number>;
handleClose: (removedTag: import("./src/types").TagOptionItem, id: string | number) => void;
showInput: (ev: MouseEvent) => void;
handleInputConfirm: () => void;
handleInputEnterConfirm: (ev: any) => void;
handleInputChange: (ev: any) => void;
inputRef: import("vue").Ref<any>;
prefixClsNew: import("vue").ComputedRef<string>;
getStrLength: (str?: unknown, replaceValue?: string) => number;
configProvider: import("../config-provider").ConfigConsumerProps;
inputVisible: import("vue").Ref<boolean>;
inputValue: import("vue").Ref<string>;
}> & {} & {} & import("vue").ComponentCustomProperties;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<{
value: import("./src/types").TagOptionItem[];
prefixCls: string;
color: string;
disabled: boolean;
maxTagCount: number;
maxTagTextLength: number;
closable: boolean;
overlayClassName: any;
createPlaceholder: string;
createable: boolean;
createInputable: boolean;
createLoading: boolean;
removeLoading: boolean;
closeEmitAble: boolean;
nameLabel: string;
showSelected: boolean;
createBordered: boolean;
createIcon: boolean;
} & {
className?: any;
tagStyle?: import("vue").CSSProperties;
}>, {
state: import("vue").WritableComputedRef<unknown> | {
readonly value: any;
} | ((val: any) => void) | import("vue").ToRefs<{
value: any;
}>;
stateTruer: import("vue").Ref<any[]>;
options: import("vue").Ref<{
id: string | number;
name: string;
}[]>;
removeIdx: import("vue").Ref<string | number>;
handleClose: (removedTag: import("./src/types").TagOptionItem, id: string | number) => void;
showInput: (ev: MouseEvent) => void;
handleInputConfirm: () => void;
handleInputEnterConfirm: (ev: any) => void;
handleInputChange: (ev: any) => void;
inputRef: import("vue").Ref<any>;
prefixClsNew: import("vue").ComputedRef<string>;
getStrLength: (str?: unknown, replaceValue?: string) => number;
configProvider: import("../config-provider").ConfigConsumerProps;
inputVisible: import("vue").Ref<boolean>;
inputValue: import("vue").Ref<string>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "create-click" | "close-click")[], "change" | "create-click" | "close-click", {
value: import("./src/types").TagOptionItem[];
prefixCls: string;
color: string;
disabled: boolean;
maxTagCount: number;
maxTagTextLength: number;
closable: boolean;
overlayClassName: any;
createPlaceholder: string;
createable: boolean;
createInputable: boolean;
createLoading: boolean;
removeLoading: boolean;
closeEmitAble: boolean;
nameLabel: string;
showSelected: boolean;
createBordered: boolean;
createIcon: boolean;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
export default _default;