@manifoldco/component-plan-matrix
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -236,2 +236,8 @@ 'use strict'; | ||
})(ProductCredentialsSupportType || (ProductCredentialsSupportType = {})); | ||
var ProductFeatureType; | ||
(function (ProductFeatureType) { | ||
ProductFeatureType["Boolean"] = "BOOLEAN"; | ||
ProductFeatureType["String"] = "STRING"; | ||
ProductFeatureType["Number"] = "NUMBER"; | ||
})(ProductFeatureType || (ProductFeatureType = {})); | ||
var ProductFixedFeaturesOrderByField; | ||
@@ -583,3 +589,3 @@ (function (ProductFixedFeaturesOrderByField) { | ||
// fetch plan cost for this configurable plan | ||
fetchPlanCost({ planID, selection, url: GATEWAY_ENDPOINT }).then(cost => { | ||
fetchPlanCost({ planID, selection, url: this.gatewayUrl || GATEWAY_ENDPOINT }).then(cost => { | ||
if (typeof cost === 'number') { | ||
@@ -586,0 +592,0 @@ clearTimeout(flickerStopper); |
@@ -109,3 +109,3 @@ import { h } from "@stencil/core"; | ||
// fetch plan cost for this configurable plan | ||
fetchPlanCost({ planID, selection, url: GATEWAY_ENDPOINT }).then(cost => { | ||
fetchPlanCost({ planID, selection, url: this.gatewayUrl || GATEWAY_ENDPOINT }).then(cost => { | ||
if (typeof cost === 'number') { | ||
@@ -112,0 +112,0 @@ clearTimeout(flickerStopper); |
@@ -95,2 +95,8 @@ export var CalculationType; | ||
})(ProductCredentialsSupportType || (ProductCredentialsSupportType = {})); | ||
export var ProductFeatureType; | ||
(function (ProductFeatureType) { | ||
ProductFeatureType["Boolean"] = "BOOLEAN"; | ||
ProductFeatureType["String"] = "STRING"; | ||
ProductFeatureType["Number"] = "NUMBER"; | ||
})(ProductFeatureType || (ProductFeatureType = {})); | ||
export var ProductFixedFeaturesOrderByField; | ||
@@ -97,0 +103,0 @@ (function (ProductFixedFeaturesOrderByField) { |
@@ -254,2 +254,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
})(ProductCredentialsSupportType || (ProductCredentialsSupportType = {})); | ||
var ProductFeatureType; | ||
(function (ProductFeatureType) { | ||
ProductFeatureType["Boolean"] = "BOOLEAN"; | ||
ProductFeatureType["String"] = "STRING"; | ||
ProductFeatureType["Number"] = "NUMBER"; | ||
})(ProductFeatureType || (ProductFeatureType = {})); | ||
var ProductFixedFeaturesOrderByField; | ||
@@ -610,3 +616,3 @@ (function (ProductFixedFeaturesOrderByField) { | ||
// fetch plan cost for this configurable plan | ||
fetchPlanCost({ planID: planID, selection: selection, url: GATEWAY_ENDPOINT }).then(function (cost) { | ||
fetchPlanCost({ planID: planID, selection: selection, url: _this.gatewayUrl || GATEWAY_ENDPOINT }).then(function (cost) { | ||
var _a, _b; | ||
@@ -613,0 +619,0 @@ if (typeof cost === 'number') { |
@@ -232,2 +232,8 @@ import { h, r as registerInstance } from './core-865c45ad.js'; | ||
})(ProductCredentialsSupportType || (ProductCredentialsSupportType = {})); | ||
var ProductFeatureType; | ||
(function (ProductFeatureType) { | ||
ProductFeatureType["Boolean"] = "BOOLEAN"; | ||
ProductFeatureType["String"] = "STRING"; | ||
ProductFeatureType["Number"] = "NUMBER"; | ||
})(ProductFeatureType || (ProductFeatureType = {})); | ||
var ProductFixedFeaturesOrderByField; | ||
@@ -579,3 +585,3 @@ (function (ProductFixedFeaturesOrderByField) { | ||
// fetch plan cost for this configurable plan | ||
fetchPlanCost({ planID, selection, url: GATEWAY_ENDPOINT }).then(cost => { | ||
fetchPlanCost({ planID, selection, url: this.gatewayUrl || GATEWAY_ENDPOINT }).then(cost => { | ||
if (typeof cost === 'number') { | ||
@@ -582,0 +588,0 @@ clearTimeout(flickerStopper); |
@@ -1,1 +0,1 @@ | ||
import{p as a,b as t}from"./p-932bdcd6.js";a().then(a=>t([["p-a3ken2ha",[[0,"manifold-plan-matrix",{gatewayUrl:[1,"gateway-url"],graphqlUrl:[1,"graphql-url"],productId:[1,"product-id"],clientId:[1,"client-id"],baseUrl:[1,"base-url"],ctaText:[1,"cta-text"],product:[32],productFeatures:[32],planCosts:[32],planFeatures:[32],userSelection:[32]}]]]],a)); | ||
import{p as a,b as t}from"./p-932bdcd6.js";a().then(a=>t([["p-q0kzjmi8",[[0,"manifold-plan-matrix",{gatewayUrl:[1,"gateway-url"],graphqlUrl:[1,"graphql-url"],productId:[1,"product-id"],clientId:[1,"client-id"],baseUrl:[1,"base-url"],ctaText:[1,"cta-text"],product:[32],productFeatures:[32],planCosts:[32],planFeatures:[32],userSelection:[32]}]]]],a)); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-226ed80d.system.js"],(function(){"use strict";var t,e;return{setters:[function(r){t=r.p;e=r.b}],execute:function(){t().then((function(t){return e([["p-kbqke11b.system",[[0,"manifold-plan-matrix",{gatewayUrl:[1,"gateway-url"],graphqlUrl:[1,"graphql-url"],productId:[1,"product-id"],clientId:[1,"client-id"],baseUrl:[1,"base-url"],ctaText:[1,"cta-text"],product:[32],productFeatures:[32],planCosts:[32],planFeatures:[32],userSelection:[32]}]]]],t)}))}}})); | ||
System.register(["./p-226ed80d.system.js"],(function(){"use strict";var t,e;return{setters:[function(r){t=r.p;e=r.b}],execute:function(){t().then((function(t){return e([["p-lvbeiou3.system",[[0,"manifold-plan-matrix",{gatewayUrl:[1,"gateway-url"],graphqlUrl:[1,"graphql-url"],productId:[1,"product-id"],clientId:[1,"client-id"],baseUrl:[1,"base-url"],ctaText:[1,"cta-text"],product:[32],productFeatures:[32],planCosts:[32],planFeatures:[32],userSelection:[32]}]]]],t)}))}}})); |
@@ -495,2 +495,3 @@ export declare type Maybe<T> = T; | ||
displayName: Scalars['String']; | ||
type: ProductFeatureType; | ||
featureOptions?: Maybe<Array<ProductConfigurableFeatureOption>>; | ||
@@ -501,2 +502,3 @@ }; | ||
displayName: Scalars['String']; | ||
type: ProductFeatureType; | ||
}; | ||
@@ -560,2 +562,7 @@ export declare type ProductConfigurableFeatureConnection = { | ||
}; | ||
export declare enum ProductFeatureType { | ||
Boolean = "BOOLEAN", | ||
String = "STRING", | ||
Number = "NUMBER" | ||
} | ||
export declare type ProductFixedFeature = Node & { | ||
@@ -636,2 +643,3 @@ __typename?: 'ProductFixedFeature'; | ||
displayName: Scalars['String']; | ||
type: ProductFeatureType; | ||
numericOptions?: Maybe<Array<ProductConfigurableFeatureNumericOptions>>; | ||
@@ -667,2 +675,3 @@ }; | ||
displayName: Scalars['String']; | ||
type: ProductFeatureType; | ||
featureOptions?: Maybe<Array<ProductConfigurableFeatureOption>>; | ||
@@ -1011,2 +1020,14 @@ }; | ||
node: ({ | ||
__typename?: 'ProductBooleanConfigurableFeature'; | ||
} & Pick<ProductBooleanConfigurableFeature, 'label' | 'displayName'> & { | ||
featureOptions: Maybe<Array<({ | ||
__typename?: 'ProductConfigurableFeatureOption'; | ||
} & Pick<ProductConfigurableFeatureOption, 'cost' | 'displayName' | 'value'>)>>; | ||
}) | ({ | ||
__typename?: 'ProductStringConfigurableFeature'; | ||
} & Pick<ProductStringConfigurableFeature, 'label' | 'displayName'> & { | ||
featureOptions: Maybe<Array<({ | ||
__typename?: 'ProductConfigurableFeatureOption'; | ||
} & Pick<ProductConfigurableFeatureOption, 'cost' | 'displayName' | 'value'>)>>; | ||
}) | ({ | ||
__typename?: 'ProductNumberConfigurableFeature'; | ||
@@ -1025,14 +1046,2 @@ } & Pick<ProductNumberConfigurableFeature, 'label' | 'displayName'> & { | ||
})>>; | ||
}) | ({ | ||
__typename?: 'ProductStringConfigurableFeature'; | ||
} & Pick<ProductStringConfigurableFeature, 'label' | 'displayName'> & { | ||
featureOptions: Maybe<Array<({ | ||
__typename?: 'ProductConfigurableFeatureOption'; | ||
} & Pick<ProductConfigurableFeatureOption, 'cost' | 'displayName' | 'value'>)>>; | ||
}) | ({ | ||
__typename?: 'ProductBooleanConfigurableFeature'; | ||
} & Pick<ProductBooleanConfigurableFeature, 'label' | 'displayName'> & { | ||
featureOptions: Maybe<Array<({ | ||
__typename?: 'ProductConfigurableFeatureOption'; | ||
} & Pick<ProductConfigurableFeatureOption, 'cost' | 'displayName' | 'value'>)>>; | ||
}); | ||
@@ -1039,0 +1048,0 @@ })>; |
{ | ||
"name": "@manifoldco/component-plan-matrix", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"private": false, | ||
@@ -15,23 +15,2 @@ "description": "Stencil Component Starter", | ||
"license": "MIT", | ||
"files": [ | ||
"dist/", | ||
"loader/" | ||
], | ||
"scripts": { | ||
"build": "stencil build", | ||
"build:watch": "stencil build --watch", | ||
"dev": "npm run build:watch & rm -rf dist loader && wait-on loader/index.cjs.js && npm run storybook", | ||
"happo": "npm run build && npm run generate:gql && happo run", | ||
"generate": "stencil generate", | ||
"generate:gql": "graphql-codegen --config codegen.yml", | ||
"lint": "npm run lint:js && npm run lint:css", | ||
"lint:css": "stylelint 'src/**/*.css'", | ||
"lint:js": "eslint --ext .js,.ts,.tsx src", | ||
"prepare": "node scripts/version-from-git", | ||
"prepublishOnly": "npm run build", | ||
"start": "stencil build --dev --watch --serve", | ||
"storybook": "start-storybook -p 6006", | ||
"test": "stencil test --spec", | ||
"test:watch": "stencil test --spec --watchAll" | ||
}, | ||
"dependencies": {}, | ||
@@ -76,2 +55,2 @@ "devDependencies": { | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
994657
15446