UNPKG

7.42 kBJSONView Raw
1[{"__symbolic":"module","version":3,"metadata":{"VaProductDetailsComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"va-product-details","template":"<div class=\"page\"> <va-header-container [iconUrl]=\"product.iconUrl\" [title]=\"product.name\" [tagline]=\"product.tagline\" [chipLabels]=\"product.getLmiCategoryNames()\" [pricing]=\"price\" [pricingLabel]=\"'Wholesale Price'\" [actionLabel]=\"getActionLabel()\" [actionEnabled]=\"product.isArchived\" [showAction]=\"showActionButton\" [showPricing]=\"showPricing\" (actionSelected)=\"emitEnableButtonClicked()\"> </va-header-container> <div class=\"product-details product-content\"> <div class=\"left-column\"> <ng-container *ngIf=\"product.description || product.keySellingPoints\"> <va-selling-info [description]=\"product.description\" [keySellingPoints]=\"product.keySellingPoints\"></va-selling-info> </ng-container> <section *ngIf=\"product.addons?.length > 0\"> <h2 class=\"va-component-title\">Add-Ons</h2> <va-addon-list (addonSelected)=\"onAddonSelected($event)\" [addons]=\"addons\" [product]=\"product\"></va-addon-list> </section> <section *ngIf=\"product.faqs?.length > 0\"> <h2 class=\"va-component-title\">FAQs</h2> <va-faqs [faqs]=\"product.faqs\"></va-faqs> </section> </div> <div class=\"right-column\"> <section *ngIf=\"product.screenshotUrls?.length > 0\"> <h2 class=\"va-component-title\">Gallery</h2> <va-image-gallery [imageUrls]=\"product.screenshotUrls\"></va-image-gallery> </section> <section *ngIf=\"product.files?.length > 0\"> <h2 class=\"va-component-title\">Files</h2> <va-files [files]=\"product.files\"></va-files> </section> </div> </div> </div> ","styles":[":host { display: block; font-size: 14px; line-height: 1.4; } :host * { box-sizing: border-box; } .va-component-title { font-size: 24px; font-weight: 300; margin-top: 0; } @media screen and (min-width: 600px) { .va-component-title { font-size: 32px; } } img { max-width: 100%; } va-icon { display: inline-block; } .sales-person-details { max-height: 430px; overflow: hidden; } .page { position: relative; margin: 0 auto 20px; background: #ffffff; box-shadow: 0 3px 10px rgba(33, 33, 33, 0.3); overflow: hidden; font-size: 16px; } .page .item-amount { color: #9e9e9e; font-size: 14px; text-align: right; margin: 0 24px 8px; } section { padding: 24px; } .left-column { width: 66%; } @media screen and (max-width: 600px) { .left-column { width: 100%; } } .right-column { width: 34%; } @media screen and (max-width: 600px) { .right-column { width: 100%; } } .product-content { display: flex; } @media screen and (max-width: 600px) { .product-content { flex-direction: column; } } "]}]}],"members":{"product":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"showActionButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"showPricing":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"enableClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"addonSelected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"emitEnableButtonClicked":[{"__symbolic":"method"}],"getActionLabel":[{"__symbolic":"method"}],"onAddonSelected":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"VaProductDetailsComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"va-product-details","template":"<div class=\"page\"> <va-header-container [iconUrl]=\"product.iconUrl\" [title]=\"product.name\" [tagline]=\"product.tagline\" [chipLabels]=\"product.getLmiCategoryNames()\" [pricing]=\"price\" [pricingLabel]=\"'Wholesale Price'\" [actionLabel]=\"getActionLabel()\" [actionEnabled]=\"product.isArchived\" [showAction]=\"showActionButton\" [showPricing]=\"showPricing\" (actionSelected)=\"emitEnableButtonClicked()\"> </va-header-container> <div class=\"product-details product-content\"> <div class=\"left-column\"> <ng-container *ngIf=\"product.description || product.keySellingPoints\"> <va-selling-info [description]=\"product.description\" [keySellingPoints]=\"product.keySellingPoints\"></va-selling-info> </ng-container> <section *ngIf=\"product.addons?.length > 0\"> <h2 class=\"va-component-title\">Add-Ons</h2> <va-addon-list (addonSelected)=\"onAddonSelected($event)\" [addons]=\"addons\" [product]=\"product\"></va-addon-list> </section> <section *ngIf=\"product.faqs?.length > 0\"> <h2 class=\"va-component-title\">FAQs</h2> <va-faqs [faqs]=\"product.faqs\"></va-faqs> </section> </div> <div class=\"right-column\"> <section *ngIf=\"product.screenshotUrls?.length > 0\"> <h2 class=\"va-component-title\">Gallery</h2> <va-image-gallery [imageUrls]=\"product.screenshotUrls\"></va-image-gallery> </section> <section *ngIf=\"product.files?.length > 0\"> <h2 class=\"va-component-title\">Files</h2> <va-files [files]=\"product.files\"></va-files> </section> </div> </div> </div> ","styles":[":host { display: block; font-size: 14px; line-height: 1.4; } :host * { box-sizing: border-box; } .va-component-title { font-size: 24px; font-weight: 300; margin-top: 0; } @media screen and (min-width: 600px) { .va-component-title { font-size: 32px; } } img { max-width: 100%; } va-icon { display: inline-block; } .sales-person-details { max-height: 430px; overflow: hidden; } .page { position: relative; margin: 0 auto 20px; background: #ffffff; box-shadow: 0 3px 10px rgba(33, 33, 33, 0.3); overflow: hidden; font-size: 16px; } .page .item-amount { color: #9e9e9e; font-size: 14px; text-align: right; margin: 0 24px 8px; } section { padding: 24px; } .left-column { width: 66%; } @media screen and (max-width: 600px) { .left-column { width: 100%; } } .right-column { width: 34%; } @media screen and (max-width: 600px) { .right-column { width: 100%; } } .product-content { display: flex; } @media screen and (max-width: 600px) { .product-content { flex-direction: column; } } "]}]}],"members":{"product":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"showActionButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"showPricing":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"enableClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"addonSelected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"emitEnableButtonClicked":[{"__symbolic":"method"}],"getActionLabel":[{"__symbolic":"method"}],"onAddonSelected":[{"__symbolic":"method"}]}}}}]
\No newline at end of file