UNPKG

@vendasta/store

Version:

Components and data for Store

577 lines (402 loc) 14.5 kB
CHANGE LOG ========== ## 12.11.0 - update `VaPackageDropdownComponent` to support products (with optional editionID) ## 12.10.0 - Add `usesEditions` and `editionIds` to `ResellerItem` ## 12.9.0 - update `VaAddonListComponent` to no longer take in a product, and instead read the currency from the addon ## 12.8.0 - allow ng-content in va-order-form-section ## 12.7.0 - add `usesActivationSpecificEntryUrl` to reseller item definition. ## 12.6.0 - add `disabled` field to order form fields ## 12.5.2 - PackageDropDown fix; packages that contained a mix of addons with and without parent apps would just shimmer. ## 12.5.1 - Internal change only. `Package` now uses the exported `Price` and `Pricing` types. ## 12.5.0 - Support ng 7 ## 12.4.4 - addon -> add-on ## 12.4.3 - header-container fix, switch to use 2 seperate buttons instead of one button with 2 functions. ## 12.4.2 - fix addon-details to make enable button not disabled ## 12.4.1 - fix showEnableAddon to work pass in actionLabel ## 12.4.0 - Add showEnableAddon input to addon-details and default to not show - Add showEnableAddon to va-header-container and default to not show ## 12.3.0 - Display 'Starting at' prefix according to the flag in billedProduct ## 12.2.1 - Styling fix for pricing component ## 12.2.0 - Update package-details component and va-pricing to handle `isStartingPrice` on Prices and display the 'Starting at' prefix ## 12.1.0 - Remove price tag icon from header container in product details Contact Us ## 12.0.3 - Make `StoreCardComponent` banner fill its containing div ## 12.0.2 - `@vendasta/core` no longer supports deep imports ## 12.0.1 - Fix the bug where commitments in addon-list not showing up ## 12.0.0 - Refactor Package Details Component to obey product_order ## 11.1.0 - Update `VaHeaderComponent` to send commitment info to VaPricing ## 11.0.0 - BREAKING CHANGE: Add PartnerID input to product-details and addon-list components for use with billing APIs ## 10.3.0 - Update addon-list to call BillingService.getMultiProductPricing ## 10.2.0 - Update `VaPricingComponent` to display Commitment ## 10.1.0 - Update `FieldBase` to have `regexValidator` and `regexErrorMessage` ## 10.0.2 - Add space between "Requires" and addon name in product-nav.component ## 10.0.1 - Fix a bug where `User` did not export from `order-form`. ## 10.0.0 - Follow Angular package format BREAKING CHANGES: - No longer support deep imports from library eg. `import { blah } from '@vendata/store/blah` should be changed to `import { blah } from '@vendasta/store`. ## 9.1.0 - Add new order form field type `VBCUserField` ## 9.0.1 - Show non-tiered pricing for the 1-infinity range ## 9.0.0 - Add support for rxjs 6 ## 8.20.0 - Update `package-dropdown` to give each addon its own section ## 8.19.0 - Update `package-dropdown` to the include quantity in the addons name ## 8.18.0 - Update store to work with @vendasta/core 14.0.0 - Add billingId to Product constructor ## 8.17.0 - Add `billingId` in `ResellerItem` model ## 8.16.0 - Extend FieldBase model to have prefix and suffix values ## 8.15.0 - Support prefix and suffix in a textbox ### 8.14.0 - Support a disabled option in a dropdown ### 8.13.1 - Updated product-details component to cache the addons ### 8.13.0 - Updated Core dependency and updated GetSrcSet functions to use the ImageTransformationService. ### 8.12.2 - Add-on list styles to support longer taglines, style cleanup ### 8.12.1 - Remove duplicate inputs ### 8.12.0 - Add a `showPricing` input field to addon details component ### 8.11.0 - Add pricing field to StoreItem object - Update va-store-card to utilize va-pricing if pricing is provided ### 8.10.2 - Make Addon List component not duplicate network calls - Fix stencil by giving a minimum width ### 8.10.1 - Give package details and store card explicit font color ### 8.10.0 - Update Addon List component to display contract prices ### 8.9.2 - Fixes to `va-package-dropdown` to handle loading within the component ### 8.9.1 - Minor style fixes for the va-pricing component ### 8.9.0 - Add tooltip for pricing models in VaHeaderContainerComponent ### 8.8.0 - Display stencil before data is loaded in va-pricing ### 8.7.0 - Update the price display string in va-pricing - Show pricing model in VaHeaderContainerComponent ### 8.6.0 - Show the contract prices when asked to ### 8.5.0 - Don't show contract prices ever for the time being ### 8.4.0 - Add `billedProduct` and `hasVerifiedContract` Inputs in the addon and product details components ### 8.3.1 - Make the first letter of frequency a capital ### 8.3.0 - Added display variations to the va-pricing component - Added highlight-pricing and table-pricing components as children of va-pricing ### 8.2.0 - Allow input of custom "Get It Now" package button text ### 8.1.0 - Add `activationRequiresApproval` boolean to ResellerItem model. ### 8.0.2 - Small bugfix to display default parent icon on addon if parent icon does not exist on `va-package-dropdown`. ### 8.0.1 - bugfixes for `va-package-dropdown`. - fixed addons appearing in associated product package - visual fix for addons va-icon ### 8.0.0 - Breaking change with `va-package-dropdown`. `ProductActivationStatus` has been changed to `PackageItemActivationStatus` to support addons ### 7.2.3 - Update `core` peer dependency - Add `flag-icon-css` peer dependency ### 7.2.2 - Fixed some build issues ### 7.2.1 - Whitelist is one word not two ### 7.2.0 - Add a `Supported Countries` section in the product details - Must add `../node_modules/flag-icon-css/sass/flag-icon.scss` to sytles in angular-cli.json file ### 7.1.1 - Change cursor to hand on hover over Addon-list ### 7.1.0 - Add addon_keys to Package class in package-details ### 7.0.0 - No longer compatiable with angular 4 ### 6.3.4 - Handle all negative prices as Contact sales ### 6.3.3 - Bug fix to change the padding in the order-form-section from the tagline to the description ### 6.3.2 - Fix for 0 coming in as undefined from the protos ### 6.3.1 - Bug fix to change the value of contact sales to -1 in the pricing component ### 6.3.0 - Add change detection to Package Details. Changes can now be made to the inputs after initialization. ### 6.2.1 - Bug fixes to package dropdown and minor style changes ### 6.2.0 - Add a action new button in the header component, and surface it in the product details component. The button is to start a workflow in partner center for getting partners to negotiate an app price with a vendor. ### 6.1.0 - Reworked package-dropdown to support activation statuses. ### 6.0.0 - Fix the bug that prepopulated data could not be shown correctly in DropdownFields * Type of value got from DropdownField is changed from `Option` to `string` * Must update usages of DropdownField to expect the value with `field.value` instead of `field.value.value` ### 5.11.0 - Add support for angular 5 ### 5.10.0 - pass the showPricing input from the product-detail component into the addon-list component ### 5.9.0 - Update shimmer and fade styles to be stencil-shimmer and stencil-fade to use the newly named styles in uikit ### 5.8.1 - Make row not private for aot (bugfix) ### 5.8.0 - Add list stencil - Add stencil doc tab - Add all stencils to the stencil-doc component ### 5.7.0 - Add card stencil - Add card list stencil - Add search bar stencil - Update docs to use stencils ### 5.6.0 - Add requirement for parent product in single addon package ### 5.5.0 - Add entryUrl property to ResellerItem ### 5.4.0 - Add usesCustomizationForm property to ResellerItem ### 5.3.1 - Proper pluralization wording around product(s) in a package ### 5.3.0 - Add stencil module for store components ### 5.2.1 - Add asterisk to required file upload field ### 5.2.0 - Add optional `expandable` functionality to the dropdown-form-section and order-form-section ### 5.1.2 - Fix boolean and number comparison bug ### 5.1.1 - Removed unnecessary style class. ### 5.1.0 - Added allowMultipleActivations field to ResellerItem. ### 5.0.0 - Delete the shared object for addon. Use the one in @vendasta/core/marketplace-apps instead. ### 4.2.2 - Remove flex-layout ### 4.2.1 - Add flex-layout dependency ### 4.2.0 - Add VaPackageDropdownComponent ### 4.1.3 - Fixed display issues with dropdown fields. ### 4.1.2 - Fix the bug where addon price shows as NaN in product details page ### 4.1.1 - Bug fix to not display Faqs section in single Addon pkg when it's undefined ### 4.1.0 - Add quantity field to ResellerItem ### 4.0.2 - Bug fix to get abbreviated addon name when no icon available ### 4.0.1 - Missed one old Material import in addon-details - Changed to MatProgressSpinnerModule ### 4.0.0 - Prepare for Angular Material beta 12 version - Upgraded to use "Mat" prefixes for Angular material components. - Follow https://www.npmjs.com/package/angular-material-prefix-updater to update your project ### 3.4.0 - Add orderForm field to ResellerItem model ### 3.3.5 - Removed mdTextareaAutosize from text-area field ### 3.3.4 - Add `enabled` and `isCustom` properties to reseller item definition ### 3.3.3 - Missing description on checkbox ### 3.3.2 - Minor UI styling/text fixes. ### 3.3.1 - Fix bug around NaN prices showing up in the addons list ### 3.3.0 - Logic for single Addon package details - PackageDetails doc component only contains relevant fields ### 3.2.2 - Remove space between expanded DropdownFormSections. ### 3.2.1 - Update the pricing component to handle an undefined price as well. ### 3.2.0 - Add constructor to ResellerItem ### 3.1.1 - Displays addon title in nav properly - Removed unused input in addon-details ### 3.1.0 - Add Addon details component - Remove shared Addon model ### 3.0.0 - Removed FileGroupUpload component and replaced it with the version from @vendasta/forms. ### 2.15.2 - Change to make sure it's an array in both input types. ### 2.15.1 - Update core dependency to 1.1.1 ### 2.15.0 - New Addon definition used in all Store components - Changed all imports to eliminate risk of circular dependencies - Removed link to parent product in Nav component ### 2.14.0 - Add swipe actions and tweak a few styles of store/products-nav ### 2.13.2 - Fix the issue where the text for default header container icon disappear for mobile view ### 2.13.1 - Fix to render "Contact Sales" if price is null, instead of "Free" (0 price means Free) ### 2.13.0 - Update icon logic for dropdown form section - form id bug fix for dropdown form section - add file upload support for dropdown form section ### 2.12.0 - Update use of shimmer in stencil components ### 2.11.3 - Fix the width of the carousel component - add a cursor pointer on the carousel ### 2.11.2 - Adjust addon section bottom padding ### 2.11.1 - Adjust addon section padding - files section indent the extra line of file name ### 2.11.0 - Use the standardized, smaller marketplace colors for various needs, as opposed to just color names. - Change to default font size on package and product detail's left column - Change to the FAQ colouring to ensure the question is darker than the answer. ### 2.10.5 - update look and feel of va-field's ### 2.10.4 - update uikit dependency ### 2.10.3 - Fixed circular imports and updated angular to 4.4.3. ### 2.10.2 - Update header container button - remove centering on header ### 2.10.1 - Updated the label logic for the product details component. # 2.10.0 - Added ability to seed if a field is required. - getLabel is used where you need to indicate a required question - The order form response wants the raw label ### 2.9.0 - Add file upload to va-field ### 2.8.1 - Fixed bug with VaOrderFormSectionComponent FormGroup validation. ### 2.8.0 - Added VaOrderFormSectionComponent along with demo page. ### 2.7.1 - Add stenciling to header-container - Add shimmer styling to store module ### 2.7.1 - Use correct input name to fix bug in products-nav ### 2.7.0 - Allowing discoverable addons to be viewable in muti-product packages - Add constructor to Product ### 2.6.1 - Remove unused styling classes ### 2.6.0 - Update VaProductDetailsComponent to propagate an addon click event. - Updated docs for VaProductDetailsComponent. ### 2.5.2 - Fix load salesperson-details bug ### 2.5.1 - Updated docs and changed styling for salesperson details ### 2.5.0 - Updated addon-list to have a click output. - Fixed a minor import issue in the dropdown form styles. ### 2.4.3 - Fix getLmiCategoryNames only replay first `_` problem, it should replace all ### 2.4.2 - Add subscriptions to field values in dropdown-form-section. ### 2.4.1 - Pass in boolean to hide pricing component in header-container ### 2.4.0 - Change the lowerToTitleCase to not uppercase "non-primary" words - Change product details to use the lmi conversion function - replace _ with space before title casing lmi categories. - Pass the show action button on to the product details, defaults to false ### 2.3.3 - Update dropdown-form-section's editing hint location and color ### 2.3.2 - Change the lmi category names to title case. ### 2.3.1 - Added prerequisite variables as inputs to va-header-container for addons - Refactor input names ### 2.3.0 - Restored order-form as a new minor version. ### 2.2.6 - Reverted order-form entirely as it seems its material imports are a breaking change. ### 2.2.5 - Restructured order-form-related components into their own subdirectory. Everything still exposed via the store module so this shouldn't be a breaking change. ### 2.2.4 - Change the product-detail page to show `Wholesale Price` instead of `Pricing` ### 2.2.3 - Remove internal margin and padding styling for product and package detail component ### 2.2.2 - Restyling the header price box to always show the string 'Pricing' ### 2.2.1 - Check length of screenshot in product-detail instead of just screenshot ### 2.2.0 - Added dropdown-form component ### 2.1.0 - Added Addon Component - Various Styling changes ### 2.0.2 - Turn snake case to camel case to properly parse product data ### 2.0.1 - Export VaProductDetailsModule from index.ts - Styling fixes ### 2.0.0 - Modular components ### 1.2.2 - Remove H1 tag from store ### 1.2.1 - Use version 2.4.4 of uikit. - This fixes the weird image resizing on mobile for the gallery. ### 1.2.0 - add lmi categories definition to store. ### 1.0.6 to 1.1.2 - lucky charms additions ### 1.0.5 - add margin between search-box and package cards ### 1.0.0 to 1.0.4 - tmills shenanigans