@sc-360-v2/storefront-cms-library 0.3.64 → 0.3.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/website.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["storefront-cms-library"]=e():t["storefront-cms-library"]=e()}(this,(()=>(()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{dataConnectorContants:()=>n,ssrFunctions:()=>r});var r={};t.r(r),t.d(r,{createQueryStringForCollection:()=>i,parseThemeSettings:()=>d});var n={};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,u,a,i=[],l=!0,c=!1;try{if(u=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=u.call(r)).done)&&(i.push(n.value),i.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t){return Object.entries(t).filter((function(t){var e=a(t,2);return null!=(e[0],e[1])})).map((function(t){var e=a(t,2),r=e[0],n=e[1];return"".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n))})).join("&")}t.r(n),t.d(n,{DATA_CONNECTOR_ITEMS_LIST:()=>S,dataConnectorApisData:()=>_});var l,c,E,d=function(t){var e=Object.assign({},t);return["layout","colors","typography","buttons","animations","loaders"].forEach((function(t){if("string"==typeof e[t]&&e[t].length>0)try{e[t]=JSON.parse(e[t])}catch(t){}else"object"===o(e[t])&&null!==e[t]&&(e[t]=JSON.stringify(e[t]))})),e};function B(t,e,r){return(e=function(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE"}(l||(l={})),function(t){t.PRODUST="PRODUST",t.CATEGORIES="CATEGORIES",t.BRANDS="BRANDS",t.PRODUCT_BY_ID="PRODUCT_BY_ID",t.CATEGORY_BY_ID="CATegory_BY_ID",t.BRAND_BY_ID="BRAND_BY_ID",t.SUB_CATEGORY="SUB_CATEGORY",t.MARCHANDISER_SETS="MARCHANDISER_SETS",t.BUNDLES="BUNDLES",t.BUNLES_BY_ID="BUNLES_BY_ID",t.BUNDLE_BY_TYPE="BUNDLE_BY_TYPE",t.PRODUCT_BUNDLE_DETAILS="PRODUCT_BUNDLE_DETAILS",t.CATEGORY_BUNDLE_DETAILS="CATEGORY_BUNDLE_DETAILS"}(c||(c={}));var S,_=(B(B(B(B(B(B(B(B(B(B(E={},c.PRODUST,{url:"/search/product/getall",method:l.POST}),c.PRODUCT_BY_ID,{url:"/api/pd/get",method:l.GET}),c.CATEGORIES,{url:"/search/category/getall",method:l.POST}),c.CATEGORY_BY_ID,{url:"/search/category/getbyid",method:l.GET}),c.BRANDS,{url:"/search/brand/getall",method:l.POST}),c.BRAND_BY_ID,{url:"/search/brand/getbyid",method:l.GET}),c.SUB_CATEGORY,{url:"/search/category/getsubcategories",method:l.GET}),c.MARCHANDISER_SETS,{url:"/ms/get",method:l.GET}),c.BUNDLES,{url:"/api/bnp/get-all",method:l.GET}),c.BUNLES_BY_ID,{url:"/api/bnp/get-product-bundle",method:l.GET}),B(B(B(E,c.BUNDLE_BY_TYPE,{url:"/api/bnp/get-bundles",method:l.POST}),c.PRODUCT_BUNDLE_DETAILS,{url:"/api/bnp/get-product-bundle",method:l.GET}),c.CATEGORY_BUNDLE_DETAILS,{url:"/api/bnp/get-category-bundle",method:l.GET}));return function(t){t.PRODUCT_BY_ID="Product By Id",t.PRODUCTS_BY_BRAND="Products By Brand",t.PRODUCTS_BY_MERCHANDISER_SETS="Products By Merchandiser Sets",t.PRODUCTS_BY_CATEGORY="Products By Category",t.CATEGORIES="Categories",t.CATEGORY_BY_ID="Category By Id",t.BUNDLES="Bundles",t.BUNDLE_BY_ID="Bundle By Id",t.BUNDLE_DETAILS="Bundle Details",t.PRODUCT_BUNDLE_BY_KEY="Product Bundle By Key",t.CATEGORY_BUNDLE_BY_KEY="Category Bundle By Key",t.SUB_CATEGORIES="Subcategories",t.BRANDS="Brands",t.BRAND_BY_ID="Brand By Id",t.PRODUCTS="Products",t.BUNDLES_BY_ID="Bundles By Id"}(S||(S={})),e})()));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["storefront-cms-library"]=e():t["storefront-cms-library"]=e()}(this,(()=>(()=>{"use strict";var t={d:(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{dataConnectorContants:()=>o,ssrFunctions:()=>r});var r={};t.r(r),t.d(r,{createQueryStringForCollection:()=>i,parseThemeSettings:()=>_});var o={};function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,n,a,u,i=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(o=a.call(r)).done)&&(i.push(o.value),i.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw n}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t){return Object.entries(t).filter((function(t){var e=u(t,2);return null!=(e[0],e[1])})).map((function(t){var e=u(t,2),r=e[0],o=e[1];return"".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(o))})).join("&")}t.r(o),t.d(o,{DATA_CONNECTOR_ITEMS_LIST:()=>T,dataConnectorApisData:()=>d});var l,c,E,_=function(t){var e=Object.assign({},t);return["layout","colors","typography","buttons","animations","loaders"].forEach((function(t){if("string"==typeof e[t]&&e[t].length>0)try{e[t]=JSON.parse(e[t])}catch(t){}else"object"===n(e[t])&&null!==e[t]&&(e[t]=JSON.stringify(e[t]))})),e};function S(t,e,r){return(e=function(t){var e=function(t){if("object"!=n(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE"}(l||(l={})),function(t){t.PRODUST="PRODUST",t.CATEGORIES="CATEGORIES",t.BRANDS="BRANDS",t.PRODUCT_BY_ID="PRODUCT_BY_ID",t.CATEGORY_BY_ID="CATegory_BY_ID",t.BRAND_BY_ID="BRAND_BY_ID",t.SUB_CATEGORY="SUB_CATEGORY",t.MARCHANDISER_SETS="MARCHANDISER_SETS",t.BUNDLES="BUNDLES",t.BUNLES_BY_ID="BUNLES_BY_ID",t.BUNDLE_BY_TYPE="BUNDLE_BY_TYPE",t.PRODUCT_BUNDLE_DETAILS="PRODUCT_BUNDLE_DETAILS",t.CATEGORY_BUNDLE_DETAILS="CATEGORY_BUNDLE_DETAILS",t.CATEGORY_GROUPS="CATEGORY_GROUPS",t.CATEGORIES_BY_GROUP_ID="CATEGORIES_BY_GROUP_ID"}(c||(c={}));var T,d=(S(S(S(S(S(S(S(S(S(S(E={},c.PRODUST,{url:"/search/product/getall",method:l.POST}),c.PRODUCT_BY_ID,{url:"/api/pd/get",method:l.GET}),c.CATEGORIES,{url:"/search/category/getall",method:l.POST}),c.CATEGORY_BY_ID,{url:"/search/category/getbyid",method:l.GET}),c.BRANDS,{url:"/search/brand/getall",method:l.POST}),c.BRAND_BY_ID,{url:"/search/brand/getbyid",method:l.GET}),c.SUB_CATEGORY,{url:"/search/category/getsubcategories",method:l.GET}),c.MARCHANDISER_SETS,{url:"/ms/get",method:l.GET}),c.BUNDLES,{url:"/api/bnp/get-all",method:l.GET}),c.BUNLES_BY_ID,{url:"/api/bnp/get-product-bundle",method:l.GET}),S(S(S(S(S(E,c.BUNDLE_BY_TYPE,{url:"/api/bnp/get-bundles",method:l.POST}),c.PRODUCT_BUNDLE_DETAILS,{url:"/api/bnp/get-product-bundle",method:l.GET}),c.CATEGORY_BUNDLE_DETAILS,{url:"/api/bnp/get-category-bundle",method:l.GET}),c.CATEGORY_GROUPS,{url:"/search/category/get-category-groups",method:l.GET}),c.CATEGORIES_BY_GROUP_ID,{url:"/search/category/get-group-details",method:l.POST}));return function(t){t.PRODUCT_BY_ID="Product By Id",t.PRODUCTS_BY_BRAND="Products By Brand",t.PRODUCTS_BY_MERCHANDISER_SETS="Products By Merchandiser Sets",t.PRODUCTS_BY_CATEGORY="Products By Category",t.CATEGORIES="Categories",t.CATEGORY_BY_ID="Category By Id",t.BUNDLES="Bundles",t.BUNDLE_BY_ID="Bundle By Id",t.BUNDLE_DETAILS="Bundle Details",t.PRODUCT_BUNDLE_BY_KEY="Product Bundle By Key",t.CATEGORY_BUNDLE_BY_KEY="Category Bundle By Key",t.SUB_CATEGORIES="Subcategories",t.BRANDS="Brands",t.BRAND_BY_ID="Brand By Id",t.PRODUCTS="Products",t.BUNDLES_BY_ID="Bundles By Id",t.CATEGORY_GROUPS="Category Groups",t.CATEGORIES_BY_GROUP_ID="Categories By Group Id"}(T||(T={})),e})()));
package/dist/widget.scss CHANGED
@@ -127,6 +127,7 @@
127
127
  @use "./mega-menu-container.scss";
128
128
  @use "./simple-list.scss";
129
129
  @use "./cart-wrapper.scss";
130
- @use "./image-for-product.scss";
130
+ @use "./option-bar.scss";
131
+ @use "./my-templates.scss";
132
+ @use "./request-for-quotes.scss";
131
133
  @use "./checkbox-radio.scss";
132
- @use "./myTemplates.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.64",
3
+ "version": "0.3.66",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {