init component
This commit is contained in:
12
node_modules/buetify/lib/components/image/BImage.d.ts
generated
vendored
Executable file
12
node_modules/buetify/lib/components/image/BImage.d.ts
generated
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
import 'bulma/sass/elements/image.sass';
|
||||
import { Classes } from '../../utils/mergeClasses';
|
||||
import { SetupContext } from 'vue';
|
||||
export interface BImageProps {
|
||||
src: string;
|
||||
alt: string;
|
||||
isRounded?: boolean;
|
||||
imgClass?: Classes;
|
||||
}
|
||||
export default function BImage(props: BImageProps, { attrs }: SetupContext): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>;
|
||||
16
node_modules/buetify/lib/components/image/BImage.js
generated
vendored
Executable file
16
node_modules/buetify/lib/components/image/BImage.js
generated
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
import 'bulma/sass/elements/image.sass';
|
||||
import { h } from 'vue';
|
||||
export default function BImage(props, {
|
||||
attrs
|
||||
}) {
|
||||
return h('figure', { ...attrs,
|
||||
class: 'image'
|
||||
}, [h('img', {
|
||||
class: [props.imgClass, {
|
||||
'is-rounded': props.isRounded
|
||||
}],
|
||||
src: props.src,
|
||||
alt: props.alt
|
||||
})]);
|
||||
}
|
||||
//# sourceMappingURL=BImage.js.map
|
||||
1
node_modules/buetify/lib/components/image/BImage.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/image/BImage.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/components/image/BImage.ts"],"names":[],"mappings":"AAAA,OAAO,gCAAP;AAEA,SAAuB,CAAvB,QAAgC,KAAhC;AASA,eAAc,SAAU,MAAV,CAAiB,KAAjB,EAAqC;AAAE,EAAA;AAAF,CAArC,EAA4D;AACxE,SAAO,CAAC,CACN,QADM,EAEN,EACE,GAAG,KADL;AAEE,IAAA,KAAK,EAAE;AAFT,GAFM,EAMN,CACE,CAAC,CAAC,KAAD,EAAQ;AACP,IAAA,KAAK,EAAE,CACL,KAAK,CAAC,QADD,EAEL;AACE,oBAAc,KAAK,CAAC;AADtB,KAFK,CADA;AAOP,IAAA,GAAG,EAAE,KAAK,CAAC,GAPJ;AAQP,IAAA,GAAG,EAAE,KAAK,CAAC;AARJ,GAAR,CADH,CANM,CAAR;AAmBD","sourcesContent":["import 'bulma/sass/elements/image.sass';\nimport { Classes } from '../../utils/mergeClasses';\nimport { SetupContext, h } from 'vue';\n\nexport interface BImageProps {\n src: string;\n alt: string;\n isRounded?: boolean;\n imgClass?: Classes;\n}\n\nexport default function BImage(props: BImageProps, { attrs }: SetupContext) {\n return h(\n 'figure',\n {\n ...attrs,\n class: 'image'\n },\n [\n h('img', {\n class: [\n props.imgClass,\n {\n 'is-rounded': props.isRounded\n }\n ],\n src: props.src,\n alt: props.alt\n })\n ]\n );\n}\n"],"sourceRoot":"","file":"BImage.js"}
|
||||
3
node_modules/buetify/lib/components/image/index.d.ts
generated
vendored
Executable file
3
node_modules/buetify/lib/components/image/index.d.ts
generated
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
import BImage from './BImage';
|
||||
export { BImage };
|
||||
export default BImage;
|
||||
4
node_modules/buetify/lib/components/image/index.js
generated
vendored
Executable file
4
node_modules/buetify/lib/components/image/index.js
generated
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
import BImage from './BImage';
|
||||
export { BImage };
|
||||
export default BImage;
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/buetify/lib/components/image/index.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/image/index.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/components/image/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAP,MAAmB,UAAnB;AAEA,SAAS,MAAT;AACA,eAAe,MAAf","sourcesContent":["import BImage from './BImage';\n\nexport { BImage };\nexport default BImage;\n"],"sourceRoot":"","file":"index.js"}
|
||||
Reference in New Issue
Block a user