
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@heseya/store-vue
Advanced tools
$ yarn add @heseya/store-core @heseya/store-vue
// or
$ npm i @heseya/store-core @heseya/store-vue
TODO
You need to add following code to your root css stylesheet. There you can set colors to be used by library
:root {
--primary-color: #aaa;
--secondary-color: #aaa;
--gray: #aaa;
--error-color: #aaa;
--header-font-family-family: 'Lato';
--text-font-family: 'Lato';
}
If You'd like to change default colors of texts and buttons/boxes in <hs-checkout> component, please add this variable set to :root selector
:root {
--hs-checkout-price-initial-color: #aaa;
--hs-checkout-price-discount-color: #aaa;
--hs-checkout-price-color: #aaa;
--hs-checkout-label-color: #aaa;
--hs-checkout-value-color: #aaa;
--hs-checkout-submit-background: #aaa;
--hs-checkout-submit-background-hover: #aaa;
--hs-checkout-submit-color: #aaa;
--hs-checkout-submit-color-hover: #aaa;
--hs-checkout-button-link-background: #aaa;
--hs-checkout-button-link-background-hover: #aaa;
--hs-checkout-button-link-color: #aaa;
--hs-checkout-button-link-color-hover: #aaa;
--hs-checkout-sale-background: #aaa;
--hs-checkout-sale-color: #aaa;
--hs-checkout-sale-button-background: #aaa;
--hs-checkout-sale-button-background-hover: #aaa;
--hs-checkout-sale-button-color: #aaa;
--hs-checkout-sale-button-color-hover: #aaa;
}
<hs-checkout> customizationEvery section of <hs-checkout> component can be replace with a custom one just by placing it in <template #section-name>.
Here's list of every customizable section and explanation of its props:
delivery-country receives:
value - value of currently choosen country e.g. PLcountries - list of all avaiable countries (array)l - translations for noCountrySelected and deliveryCountry (object)change - event for change currently choosen country, takes country code as parameter e.g. PLdelivery-methods receives:
value - id of currently choosen delivery method e.g. afc3d72a-68f7-46d9-9c09-2dee35a49816methods - list of available shipping methods (array)l - translations for deliveryMethod, noDeliveryMethods, deliveryIn, days (object)change - event for change currently choosen shipping method, takes id as parameterdelivery-address receives:
value - whole form objectallowInvoice - true if invoice is allowed, false otherwayisInvoice - currently state of isInvoice (boolean)l - translations with structure of: address, invoice, form: { name, address: formAddress, postCode, city, email, phone, comment }update - event for update delivery address, takes form objectswitchInvoice - event for switch visibility of invoice form, takes no argumentsdelivery-address-invoice receives:
formData - whole form.invoiceAddress objectl - translations with structure of: invoiceDetails, form: { companyName, companyAddress, postCode, city, vat }update - event for update invoice address, takes form.invoiceAddress objectdelivery-state-checkout receives:
isAccepted - value of isStatuteAccepted (boolean)l - translations with structure of: consets, statute: { accept, statute }switch - event for switch statute acceptation, takes no argumentsitems receives:
items - list of products in the cart (array)lock - true if child component(<cart-item>) is not allowed to be removed or its quantity can't be modified, false otherwaycoupon-code receives:
coupon-code - coupon code e.g. 301H8WWC (string)cartValue - total value of products in the cart (with sales applied)l - translations with structure of: { label, applied, codeDoesNotExists, codeUnavaliable} coupon - event for coupon apply, takes coupon objectsummary-coupons receives:
coupons - list of applied coupons (array of coupon objects)title - translation of appliedCouponscouponRemove - event for coupon remove, takes id of coupon e.g. 07133fe8-6b42-4527-8edf-66df8c064874 (string)summary-sales receives:
sales - list of sales (array)title - translation of appliedSalessummary-details receives:
cartTotalInitial - total value of products in the cart (without sales applied)cartTotalDiscount - total value of discountshippingPriceInitial - initial value of shippingshippingPriceDiscount - discounted value of shippingtotalOrderAmount - final value of orderl - translation with structure of: { cart, discount, delivery, total }summary-buttons receives:
isLoading - (boolean)disabled - (boolean)backToShopLink - URL to main pagel - translation with structure of: { buy, return: returnToShopUrl }FAQs
## Instalation
We found that @heseya/store-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.