init component
This commit is contained in:
77
node_modules/buetify/lib/components/tooltip/BTooltip.d.ts
generated
vendored
Executable file
77
node_modules/buetify/lib/components/tooltip/BTooltip.d.ts
generated
vendored
Executable file
@@ -0,0 +1,77 @@
|
||||
import '../../sass/helpers/animations.sass';
|
||||
import './tooltip.sass';
|
||||
import { ColorVariant } from '../../types/ColorVariants';
|
||||
import { SizeVariant } from '../../types/SizeVariants';
|
||||
import { PropType } from 'vue';
|
||||
export declare type TooltipPosition = 'is-top' | 'is-bottom' | 'is-left' | 'is-right';
|
||||
declare const _default: import("vue").DefineComponent<{
|
||||
isActive: {
|
||||
type: PropType<boolean>;
|
||||
};
|
||||
variant: {
|
||||
type: PropType<ColorVariant>;
|
||||
default: "is-primary";
|
||||
};
|
||||
label: {
|
||||
type: PropType<string>;
|
||||
required: true;
|
||||
};
|
||||
position: {
|
||||
type: PropType<TooltipPosition>;
|
||||
default: "is-top";
|
||||
};
|
||||
isAlways: {
|
||||
type: PropType<boolean>;
|
||||
default: boolean;
|
||||
};
|
||||
isAnimated: {
|
||||
type: PropType<boolean>;
|
||||
default: boolean;
|
||||
};
|
||||
isSquare: {
|
||||
type: PropType<boolean>;
|
||||
default: boolean;
|
||||
};
|
||||
isDashed: {
|
||||
type: PropType<boolean>;
|
||||
default: boolean;
|
||||
};
|
||||
isMultiline: {
|
||||
type: PropType<boolean>;
|
||||
default: boolean;
|
||||
};
|
||||
size: {
|
||||
type: PropType<SizeVariant>;
|
||||
default: "is-medium";
|
||||
};
|
||||
tag: {
|
||||
type: PropType<string>;
|
||||
default: string;
|
||||
};
|
||||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
||||
tag: string;
|
||||
variant: ColorVariant;
|
||||
size: SizeVariant;
|
||||
position: TooltipPosition;
|
||||
label: string;
|
||||
isAnimated: boolean;
|
||||
isAlways: boolean;
|
||||
isSquare: boolean;
|
||||
isDashed: boolean;
|
||||
isMultiline: boolean;
|
||||
} & {
|
||||
isActive?: boolean | undefined;
|
||||
}>, {
|
||||
tag: string;
|
||||
variant: ColorVariant;
|
||||
size: SizeVariant;
|
||||
position: TooltipPosition;
|
||||
isAnimated: boolean;
|
||||
isAlways: boolean;
|
||||
isSquare: boolean;
|
||||
isDashed: boolean;
|
||||
isMultiline: boolean;
|
||||
}>;
|
||||
export default _default;
|
||||
69
node_modules/buetify/lib/components/tooltip/BTooltip.js
generated
vendored
Executable file
69
node_modules/buetify/lib/components/tooltip/BTooltip.js
generated
vendored
Executable file
@@ -0,0 +1,69 @@
|
||||
import "../../../src/sass/helpers/animations.sass";
|
||||
import "../../../src/components/tooltip/tooltip.sass";
|
||||
import { h, defineComponent } from 'vue';
|
||||
export default defineComponent({
|
||||
name: 'b-tooltip',
|
||||
props: {
|
||||
isActive: {
|
||||
type: Boolean
|
||||
},
|
||||
variant: {
|
||||
type: String,
|
||||
default: 'is-primary'
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
position: {
|
||||
type: String,
|
||||
default: 'is-top'
|
||||
},
|
||||
isAlways: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
isAnimated: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
isSquare: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
isDashed: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
isMultiline: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
default: 'is-medium'
|
||||
},
|
||||
tag: {
|
||||
type: String,
|
||||
default: 'span'
|
||||
}
|
||||
},
|
||||
|
||||
setup(props, {
|
||||
slots
|
||||
}) {
|
||||
return () => h(props.tag, {
|
||||
class: ['b-tooltip', props.variant, props.size, props.position, {
|
||||
'b-tooltip': props.isActive,
|
||||
'is-always': props.isAlways || props.isActive,
|
||||
'is-animated': props.isAnimated,
|
||||
'is-square': props.isSquare,
|
||||
'is-dashed': props.isDashed,
|
||||
'is-multiline': props.isMultiline
|
||||
}],
|
||||
'data-label': props.label
|
||||
}, slots.default ? slots.default() : undefined);
|
||||
}
|
||||
|
||||
});
|
||||
//# sourceMappingURL=BTooltip.js.map
|
||||
1
node_modules/buetify/lib/components/tooltip/BTooltip.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/tooltip/BTooltip.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/components/tooltip/BTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,2CAAP;AACA,OAAO,8CAAP;AAGA,SAAS,CAAT,EAAY,eAAZ,QAA6C,KAA7C;AAIA,eAAe,eAAe,CAAC;AAC7B,EAAA,IAAI,EAAE,WADuB;AAE7B,EAAA,KAAK,EAAE;AACL,IAAA,QAAQ,EAAE;AACR,MAAA,IAAI,EAAE;AADE,KADL;AAIL,IAAA,OAAO,EAAE;AACP,MAAA,IAAI,EAAE,MADC;AAEP,MAAA,OAAO,EAAE;AAFF,KAJJ;AAQL,IAAA,KAAK,EAAE;AACL,MAAA,IAAI,EAAE,MADD;AAEL,MAAA,QAAQ,EAAE;AAFL,KARF;AAYL,IAAA,QAAQ,EAAE;AACR,MAAA,IAAI,EAAE,MADE;AAER,MAAA,OAAO,EAAE;AAFD,KAZL;AAgBL,IAAA,QAAQ,EAAE;AACR,MAAA,IAAI,EAAE,OADE;AAER,MAAA,OAAO,EAAE;AAFD,KAhBL;AAoBL,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,OADI;AAEV,MAAA,OAAO,EAAE;AAFC,KApBP;AAwBL,IAAA,QAAQ,EAAE;AACR,MAAA,IAAI,EAAE,OADE;AAER,MAAA,OAAO,EAAE;AAFD,KAxBL;AA4BL,IAAA,QAAQ,EAAE;AACR,MAAA,IAAI,EAAE,OADE;AAER,MAAA,OAAO,EAAE;AAFD,KA5BL;AAgCL,IAAA,WAAW,EAAE;AACX,MAAA,IAAI,EAAE,OADK;AAEX,MAAA,OAAO,EAAE;AAFE,KAhCR;AAoCL,IAAA,IAAI,EAAE;AACJ,MAAA,IAAI,EAAE,MADF;AAEJ,MAAA,OAAO,EAAE;AAFL,KApCD;AAwCL,IAAA,GAAG,EAAE;AACH,MAAA,IAAI,EAAE,MADH;AAEH,MAAA,OAAO,EAAE;AAFN;AAxCA,GAFsB;;AA+C7B,EAAA,KAAK,CAAC,KAAD,EAAQ;AAAE,IAAA;AAAF,GAAR,EAAiB;AACpB,WAAO,MACL,CAAC,CACC,KAAK,CAAC,GADP,EAEC;AACE,MAAA,KAAK,EAAE,CACL,WADK,EAEL,KAAK,CAAC,OAFD,EAGL,KAAK,CAAC,IAHD,EAIL,KAAK,CAAC,QAJD,EAKL;AACE,qBAAa,KAAK,CAAC,QADrB;AAEE,qBAAa,KAAK,CAAC,QAAN,IAAkB,KAAK,CAAC,QAFvC;AAGE,uBAAe,KAAK,CAAC,UAHvB;AAIE,qBAAa,KAAK,CAAC,QAJrB;AAKE,qBAAa,KAAK,CAAC,QALrB;AAME,wBAAgB,KAAK,CAAC;AANxB,OALK,CADT;AAeE,oBAAc,KAAK,CAAC;AAftB,KAFD,EAmBC,KAAK,CAAC,OAAN,GAAgB,KAAK,CAAC,OAAN,EAAhB,GAAkC,SAnBnC,CADH;AAsBD;;AAtE4B,CAAD,CAA9B","sourcesContent":["import '../../sass/helpers/animations.sass';\nimport './tooltip.sass';\nimport { ColorVariant } from '../../types/ColorVariants';\nimport { SizeVariant } from '../../types/SizeVariants';\nimport { h, defineComponent, PropType } from 'vue';\n\nexport type TooltipPosition = 'is-top' | 'is-bottom' | 'is-left' | 'is-right';\n\nexport default defineComponent({\n name: 'b-tooltip',\n props: {\n isActive: {\n type: Boolean as PropType<boolean>\n },\n variant: {\n type: String as PropType<ColorVariant>,\n default: 'is-primary' as const\n },\n label: {\n type: String as PropType<string>,\n required: true\n },\n position: {\n type: String as PropType<TooltipPosition>,\n default: 'is-top' as const\n },\n isAlways: {\n type: Boolean as PropType<boolean>,\n default: false\n },\n isAnimated: {\n type: Boolean as PropType<boolean>,\n default: true\n },\n isSquare: {\n type: Boolean as PropType<boolean>,\n default: false\n },\n isDashed: {\n type: Boolean as PropType<boolean>,\n default: false\n },\n isMultiline: {\n type: Boolean as PropType<boolean>,\n default: false\n },\n size: {\n type: String as PropType<SizeVariant>,\n default: 'is-medium' as const\n },\n tag: {\n type: String as PropType<string>,\n default: 'span'\n }\n },\n setup(props, { slots }) {\n return () =>\n h(\n props.tag,\n {\n class: [\n 'b-tooltip',\n props.variant,\n props.size,\n props.position,\n {\n 'b-tooltip': props.isActive,\n 'is-always': props.isAlways || props.isActive,\n 'is-animated': props.isAnimated,\n 'is-square': props.isSquare,\n 'is-dashed': props.isDashed,\n 'is-multiline': props.isMultiline\n }\n ],\n 'data-label': props.label\n },\n slots.default ? slots.default() : undefined\n );\n }\n});\n"],"sourceRoot":"","file":"BTooltip.js"}
|
||||
3
node_modules/buetify/lib/components/tooltip/index.d.ts
generated
vendored
Executable file
3
node_modules/buetify/lib/components/tooltip/index.d.ts
generated
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
import BTooltip from './BTooltip';
|
||||
export { BTooltip };
|
||||
export default BTooltip;
|
||||
4
node_modules/buetify/lib/components/tooltip/index.js
generated
vendored
Executable file
4
node_modules/buetify/lib/components/tooltip/index.js
generated
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
import BTooltip from './BTooltip';
|
||||
export { BTooltip };
|
||||
export default BTooltip;
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/buetify/lib/components/tooltip/index.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/tooltip/index.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAP,MAAqB,YAArB;AAEA,SAAS,QAAT;AAEA,eAAe,QAAf","sourcesContent":["import BTooltip from './BTooltip';\n\nexport { BTooltip };\n\nexport default BTooltip;\n"],"sourceRoot":"","file":"index.js"}
|
||||
Reference in New Issue
Block a user