init component
This commit is contained in:
10
node_modules/buetify/lib/components/pricingTable/BPricingPlan.d.ts
generated
vendored
Executable file
10
node_modules/buetify/lib/components/pricingTable/BPricingPlan.d.ts
generated
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
import './pricing-table.sass';
|
||||
import { VNode, SetupContext } from 'vue';
|
||||
export interface BPricingPlanProps {
|
||||
isActive?: boolean;
|
||||
amount: number;
|
||||
interval: number;
|
||||
}
|
||||
export default function BPricingPlan(props: BPricingPlanProps, { attrs, slots }: SetupContext): VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>;
|
||||
35
node_modules/buetify/lib/components/pricingTable/BPricingPlan.js
generated
vendored
Executable file
35
node_modules/buetify/lib/components/pricingTable/BPricingPlan.js
generated
vendored
Executable file
@@ -0,0 +1,35 @@
|
||||
import "../../../src/components/pricingTable/pricing-table.sass";
|
||||
import BPricingPlanPrice from './BPricingPlanPrice';
|
||||
import { h } from 'vue';
|
||||
export default function BPricingPlan(props, {
|
||||
attrs,
|
||||
slots
|
||||
}) {
|
||||
const nodes = [];
|
||||
|
||||
if (slots.header) {
|
||||
nodes.push(h('div', {
|
||||
class: 'plan-header'
|
||||
}, slots.header()));
|
||||
}
|
||||
|
||||
nodes.push(h('div', {
|
||||
class: 'plan-pricing-container'
|
||||
}, slots.price ? slots.price(props) : h(BPricingPlanPrice, props)));
|
||||
nodes.push(h('div', {
|
||||
class: 'plan-items'
|
||||
}, slots.items && slots.items()));
|
||||
|
||||
if (slots.footer) {
|
||||
nodes.push(h('div', {
|
||||
class: 'plan-footer'
|
||||
}, slots.footer()));
|
||||
}
|
||||
|
||||
return h('section', { ...attrs,
|
||||
class: ['pricing-plan', {
|
||||
'is-active': !!props.isActive
|
||||
}]
|
||||
}, nodes);
|
||||
}
|
||||
//# sourceMappingURL=BPricingPlan.js.map
|
||||
1
node_modules/buetify/lib/components/pricingTable/BPricingPlan.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/p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AsF,KAAtF,CAAR;AACD","sourcesContent":["import './pricing-table.sass';\nimport BPricingPlanPrice from './BPricingPlanPrice';\nimport { VNode, h, SetupContext } from 'vue';\n\nexport interface BPricingPlanProps {\n isActive?: boolean;\n amount: number;\n interval: number;\n}\n\nexport default function BPricingPlan(props: BPricingPlanProps, { attrs, slots }: SetupContext) {\n const nodes: VNode[] = [];\n if (slots.header) {\n nodes.push(h('div', { class: 'plan-header' }, slots.header()));\n }\n nodes.push(\n h('div', { class: 'plan-pricing-container' }, slots.price ? slots.price(props) : h(BPricingPlanPrice, props))\n );\n nodes.push(h('div', { class: 'plan-items' }, slots.items && slots.items()));\n if (slots.footer) {\n nodes.push(h('div', { class: 'plan-footer' }, slots.footer()));\n }\n return h('section', { ...attrs, class: ['pricing-plan', { 'is-active': !!props.isActive }] }, nodes);\n}\n"],"sourceRoot":"","file":"BPricingPlan.js"}
|
||||
4
node_modules/buetify/lib/components/pricingTable/BPricingPlanItem.d.ts
generated
vendored
Executable file
4
node_modules/buetify/lib/components/pricingTable/BPricingPlanItem.d.ts
generated
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
declare const _default: import("vue").FunctionalComponent<{
|
||||
tag?: string | undefined;
|
||||
}, {}>;
|
||||
export default _default;
|
||||
3
node_modules/buetify/lib/components/pricingTable/BPricingPlanItem.js
generated
vendored
Executable file
3
node_modules/buetify/lib/components/pricingTable/BPricingPlanItem.js
generated
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
import { getSimpleFunctionalComponent } from '../../utils/getSimpleFunctionalComponent';
|
||||
export default getSimpleFunctionalComponent('plan-item');
|
||||
//# sourceMappingURL=BPricingPlanItem.js.map
|
||||
1
node_modules/buetify/lib/components/pricingTable/BPricingPlanItem.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/pricingTable/BPricingPlanItem.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/components/pricingTable/BPricingPlanItem.ts"],"names":[],"mappings":"AAAA,SAAS,4BAAT,QAA6C,0CAA7C;AAEA,eAAe,4BAA4B,CAAC,WAAD,CAA3C","sourcesContent":["import { getSimpleFunctionalComponent } from '../../utils/getSimpleFunctionalComponent';\n\nexport default getSimpleFunctionalComponent('plan-item');\n"],"sourceRoot":"","file":"BPricingPlanItem.js"}
|
||||
6
node_modules/buetify/lib/components/pricingTable/BPricingPlanPrice.d.ts
generated
vendored
Executable file
6
node_modules/buetify/lib/components/pricingTable/BPricingPlanPrice.d.ts
generated
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
import { SetupContext } from 'vue';
|
||||
import { BPricingPlanProps } from './BPricingPlan';
|
||||
export declare type BPricingPlanPriceProps = Omit<BPricingPlanProps, 'isActive'>;
|
||||
export default function BPricingPlanPrice(props: BPricingPlanPriceProps, { attrs, slots }: SetupContext): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>;
|
||||
14
node_modules/buetify/lib/components/pricingTable/BPricingPlanPrice.js
generated
vendored
Executable file
14
node_modules/buetify/lib/components/pricingTable/BPricingPlanPrice.js
generated
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
import { h } from 'vue';
|
||||
export default function BPricingPlanPrice(props, {
|
||||
attrs,
|
||||
slots
|
||||
}) {
|
||||
return h('div', { ...attrs,
|
||||
class: 'plan-price'
|
||||
}, [h('span', {
|
||||
class: 'plan-price-amount'
|
||||
}, [h('span', {
|
||||
class: 'plan-price-currency'
|
||||
}, slots.currency ? slots.currency() : '$'), `${props.amount}`]), `/${props.interval}`]);
|
||||
}
|
||||
//# sourceMappingURL=BPricingPlanPrice.js.map
|
||||
1
node_modules/buetify/lib/components/pricingTable/BPricingPlanPrice.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/pricingTable/BPricingPlanPrice.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/components/pricingTable/BPricingPlanPrice.ts"],"names":[],"mappings":"AAAA,SAAuB,CAAvB,QAAgC,KAAhC;AAKA,eAAc,SAAU,iBAAV,CAA4B,KAA5B,EAA2D;AAAE,EAAA,KAAF;AAAS,EAAA;AAAT,CAA3D,EAAyF;AACrG,SAAO,CAAC,CAAC,KAAD,EAAQ,EAAE,GAAG,KAAL;AAAY,IAAA,KAAK,EAAE;AAAnB,GAAR,EAA2C,CACjD,CAAC,CAAC,MAAD,EAAS;AAAE,IAAA,KAAK,EAAE;AAAT,GAAT,EAAyC,CACxC,CAAC,CAAC,MAAD,EAAS;AAAE,IAAA,KAAK,EAAE;AAAT,GAAT,EAA2C,KAAK,CAAC,QAAN,GAAiB,KAAK,CAAC,QAAN,EAAjB,GAAoC,GAA/E,CADuC,EAExC,GAAG,KAAK,CAAC,MAAM,EAFyB,CAAzC,CADgD,EAKjD,IAAI,KAAK,CAAC,QAAQ,EAL+B,CAA3C,CAAR;AAOD","sourcesContent":["import { SetupContext, h } from 'vue';\nimport { BPricingPlanProps } from './BPricingPlan';\n\nexport type BPricingPlanPriceProps = Omit<BPricingPlanProps, 'isActive'>;\n\nexport default function BPricingPlanPrice(props: BPricingPlanPriceProps, { attrs, slots }: SetupContext) {\n return h('div', { ...attrs, class: 'plan-price' }, [\n h('span', { class: 'plan-price-amount' }, [\n h('span', { class: 'plan-price-currency' }, slots.currency ? slots.currency() : '$'),\n `${props.amount}`\n ]),\n `/${props.interval}`\n ]);\n}\n"],"sourceRoot":"","file":"BPricingPlanPrice.js"}
|
||||
4
node_modules/buetify/lib/components/pricingTable/BPricingTable.d.ts
generated
vendored
Executable file
4
node_modules/buetify/lib/components/pricingTable/BPricingTable.d.ts
generated
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
declare const _default: import("vue").FunctionalComponent<{
|
||||
tag?: string | undefined;
|
||||
}, {}>;
|
||||
export default _default;
|
||||
3
node_modules/buetify/lib/components/pricingTable/BPricingTable.js
generated
vendored
Executable file
3
node_modules/buetify/lib/components/pricingTable/BPricingTable.js
generated
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
import { getSimpleFunctionalComponent } from '../../utils/getSimpleFunctionalComponent';
|
||||
export default getSimpleFunctionalComponent('pricing-table', 'article');
|
||||
//# sourceMappingURL=BPricingTable.js.map
|
||||
1
node_modules/buetify/lib/components/pricingTable/BPricingTable.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/pricingTable/BPricingTable.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/components/pricingTable/BPricingTable.ts"],"names":[],"mappings":"AAAA,SAAS,4BAAT,QAA6C,0CAA7C;AAEA,eAAe,4BAA4B,CAAC,eAAD,EAAkB,SAAlB,CAA3C","sourcesContent":["import { getSimpleFunctionalComponent } from '../../utils/getSimpleFunctionalComponent';\n\nexport default getSimpleFunctionalComponent('pricing-table', 'article');\n"],"sourceRoot":"","file":"BPricingTable.js"}
|
||||
5
node_modules/buetify/lib/components/pricingTable/index.d.ts
generated
vendored
Executable file
5
node_modules/buetify/lib/components/pricingTable/index.d.ts
generated
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
import BPricingPlan from './BPricingPlan';
|
||||
import BPricingPlanItem from './BPricingPlanItem';
|
||||
import BPricingPlanPrice from './BPricingPlanPrice';
|
||||
import BPricingTable from './BPricingTable';
|
||||
export { BPricingPlanPrice, BPricingTable, BPricingPlanItem, BPricingPlan };
|
||||
6
node_modules/buetify/lib/components/pricingTable/index.js
generated
vendored
Executable file
6
node_modules/buetify/lib/components/pricingTable/index.js
generated
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
import BPricingPlan from './BPricingPlan';
|
||||
import BPricingPlanItem from './BPricingPlanItem';
|
||||
import BPricingPlanPrice from './BPricingPlanPrice';
|
||||
import BPricingTable from './BPricingTable';
|
||||
export { BPricingPlanPrice, BPricingTable, BPricingPlanItem, BPricingPlan };
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/buetify/lib/components/pricingTable/index.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/components/pricingTable/index.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/components/pricingTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAP,MAAyB,gBAAzB;AACA,OAAO,gBAAP,MAA6B,oBAA7B;AACA,OAAO,iBAAP,MAA8B,qBAA9B;AACA,OAAO,aAAP,MAA0B,iBAA1B;AAEA,SAAS,iBAAT,EAA4B,aAA5B,EAA2C,gBAA3C,EAA6D,YAA7D","sourcesContent":["import BPricingPlan from './BPricingPlan';\nimport BPricingPlanItem from './BPricingPlanItem';\nimport BPricingPlanPrice from './BPricingPlanPrice';\nimport BPricingTable from './BPricingTable';\n\nexport { BPricingPlanPrice, BPricingTable, BPricingPlanItem, BPricingPlan };\n"],"sourceRoot":"","file":"index.js"}
|
||||
Reference in New Issue
Block a user