New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@heseya/advanced-ui-modules-sdk

Package Overview
Dependencies
Maintainers
3
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heseya/advanced-ui-modules-sdk - npm Package Compare versions

Comparing version 1.2.0-dev.6 to 1.2.0-dev.7

11

dist/index.js

@@ -1,2 +0,2 @@

// UI Modules SDK v1.2.0-dev.6 Copyright (c) 2024 Heseya and contributors
// UI Modules SDK v1.2.0-dev.7 Copyright (c) 2024 Heseya and contributors
import { stringifyQueryParams } from '@heseya/store-core';

@@ -82,2 +82,9 @@ import { __awaiter } from 'tslib';

var SearchType;
(function (SearchType) {
SearchType["Pages"] = "pages";
SearchType["Products"] = "products";
SearchType["RepurchasedPhones"] = "repurchased-phones";
})(SearchType || (SearchType = {}));
var CustomCategorySlideVariant;

@@ -249,3 +256,3 @@ (function (CustomCategorySlideVariant) {

export { ArticleVariant, BlogTypes, CategorySlideVariant, CustomCategorySlideVariant, ImagesMasonryTypes, ModuleType, SectionDirection, createAdvancedUiModulesApiService };
export { ArticleVariant, BlogTypes, CategorySlideVariant, CustomCategorySlideVariant, ImagesMasonryTypes, ModuleType, SearchType, SectionDirection, createAdvancedUiModulesApiService };
//# sourceMappingURL=index.js.map

2

dist/index.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@heseya/store-core"),require("tslib")):"function"==typeof define&&define.amd?define(["exports","@heseya/store-core","tslib"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["advanced-ui-modules-sdk"]={},e.storeCore,e.tslib)}(this,(function(e,t,r){"use strict";var a,i,o,n,d,s,c;e.ModuleType=void 0,(a=e.ModuleType||(e.ModuleType={})).Banner="banner",a.TextAndPhoto="textAndPhoto",a.OneToOne="oneToOne",a.Images="images",a.TextAndIcons="textAndIcons",a.Links="links",a.ProductSlider="productSlider",a.Blog="blog",a.ProductsShowcase="productsShowcase",a.BrandsSlider="brandsSlider",a.NotificationBar="notificationBar",a.Specification="specification",a.ProductHeader="productHeader",a.ProductTextWithIcons="productTextWithIcons",a.ProductVariantSelection="productVariantSelection",a.ProductTextWithImage="productTextWithImage",a.ProductTopImageBanner="productTopImageBanner",a.ProductDetails="productDetails",a.ProductGrid="productGrid",a.PackageContents="packageContents",a.Tabs="tabs",a.CategorySlider="categorySlider",a.IframeLink="iframeLink",a.Contact="contact",a.Timeline="timeline",a.BranchFinder="branchFinder",a.ReviewsSlider="reviewsSlider",a.SmallBanner="smallBanner",a.JobOffers="jobOffers",a.Text="text",a.Faq="faq",a.CategoriesGroups="categoriesGroups",a.Search="search",a.TextOnImage="textOnImage",a.ProductGallery="productGallery",a.ThreeSixty="threeSixty",a.OurBrands="ourBrands",a.DoubleImageSlider="doubleImageSlider",a.CatchyClaim="catchyClaim",a.SpecificationWithImage="specificationWithImage",a.ProductsCategoryList="productsCategoryList",a.CustomCategorySlider="customCategorySlider",e.BlogTypes=void 0,(i=e.BlogTypes||(e.BlogTypes={})).Slider="slider",i.Grid="grid",e.ArticleVariant=void 0,(o=e.ArticleVariant||(e.ArticleVariant={})).INSIDE="inside",o.OUTSIDE="outside",e.SectionDirection=void 0,(n=e.SectionDirection||(e.SectionDirection={})).ROW="row",n.COLUMN="column",e.ImagesMasonryTypes=void 0,(d=e.ImagesMasonryTypes||(e.ImagesMasonryTypes={})).equal="equal",d.oneToTwo="oneToTwo",d.oneToThree="oneToThree",d.simpleMasonry="simpleMasonry",d.masonry="masonry",e.CategorySlideVariant=void 0,(s=e.CategorySlideVariant||(e.CategorySlideVariant={})).WIDE="wide",s.NARROW="narrow",e.CustomCategorySlideVariant=void 0,(c=e.CustomCategorySlideVariant||(e.CustomCategorySlideVariant={})).WIDE="wide",c.NARROW="narrow";const u=e=>({get:r=>{const a=t.stringifyQueryParams(r||{});return e.get(`/languages?${a}`)}}),g=e=>({create:t=>r.__awaiter(void 0,void 0,void 0,(function*(){const a=yield r.__awaiter(void 0,void 0,void 0,(function*(){return"undefined"==typeof window?new(yield require("form-data")):new FormData}));a.append("file",t.file,"media"),t.alt&&a.append("alt",t.alt),t.slug&&a.append("slug",t.slug),t.metadata&&Object.entries(t.metadata).forEach((([e,t])=>a.append(`metadata.${e}`,t))),t.metadata_private&&Object.entries(t.metadata_private).forEach((([e,t])=>a.append(`metadata_private.${e}`,t)));const{data:i}=yield e.post("/media",a);return i.data})),update:(t,a)=>r.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.post(`/media/id:${t}`,a)).data}))}),l=e=>({get:r=>{const a=t.stringifyQueryParams(r||{});return e.get(`/pages?${a}`)},getOneBySlug:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/pages/${r}?${i}`)},getOne:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/pages/id:${r}?${i}`)}}),y=e=>({get:(t,a)=>r.__awaiter(void 0,void 0,void 0,(function*(){const{data:r}=yield e.get(`/modules/${t}/${a}`);return r})),update:(t,a,i)=>r.__awaiter(void 0,void 0,void 0,(function*(){const{data:r}=yield e.patch(`/modules/${t}/${a}`,i);return r}))}),p=e=>({get:r=>{const a=t.stringifyQueryParams(r||{});return e.get(`/products?${a}`)},getOneBySlug:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/products/${r}?${i}`)},getOne:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/products/id:${r}?${i}`)}}),m=e=>({get:()=>e.get("/config")}),f=e=>({get:r=>{const a=t.stringifyQueryParams(r||{});return e.get(`/product-sets?${a}`)},getOneBySlug:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/product-sets/${r}?${i}`)},getOne:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/product-sets/id:${r}?${i}`)}});e.createAdvancedUiModulesApiService=e=>{if(!e)throw new Error("Axios instance is required, but it was not provided");return{Modules:y(e),Media:g(e),Languages:u(e),Products:p(e),Pages:l(e),ProductSets:f(e),Config:m(e)}},Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@heseya/store-core"),require("tslib")):"function"==typeof define&&define.amd?define(["exports","@heseya/store-core","tslib"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["advanced-ui-modules-sdk"]={},e.storeCore,e.tslib)}(this,(function(e,t,r){"use strict";var a,i,o,n,d,s,c,u;e.ModuleType=void 0,(a=e.ModuleType||(e.ModuleType={})).Banner="banner",a.TextAndPhoto="textAndPhoto",a.OneToOne="oneToOne",a.Images="images",a.TextAndIcons="textAndIcons",a.Links="links",a.ProductSlider="productSlider",a.Blog="blog",a.ProductsShowcase="productsShowcase",a.BrandsSlider="brandsSlider",a.NotificationBar="notificationBar",a.Specification="specification",a.ProductHeader="productHeader",a.ProductTextWithIcons="productTextWithIcons",a.ProductVariantSelection="productVariantSelection",a.ProductTextWithImage="productTextWithImage",a.ProductTopImageBanner="productTopImageBanner",a.ProductDetails="productDetails",a.ProductGrid="productGrid",a.PackageContents="packageContents",a.Tabs="tabs",a.CategorySlider="categorySlider",a.IframeLink="iframeLink",a.Contact="contact",a.Timeline="timeline",a.BranchFinder="branchFinder",a.ReviewsSlider="reviewsSlider",a.SmallBanner="smallBanner",a.JobOffers="jobOffers",a.Text="text",a.Faq="faq",a.CategoriesGroups="categoriesGroups",a.Search="search",a.TextOnImage="textOnImage",a.ProductGallery="productGallery",a.ThreeSixty="threeSixty",a.OurBrands="ourBrands",a.DoubleImageSlider="doubleImageSlider",a.CatchyClaim="catchyClaim",a.SpecificationWithImage="specificationWithImage",a.ProductsCategoryList="productsCategoryList",a.CustomCategorySlider="customCategorySlider",e.BlogTypes=void 0,(i=e.BlogTypes||(e.BlogTypes={})).Slider="slider",i.Grid="grid",e.ArticleVariant=void 0,(o=e.ArticleVariant||(e.ArticleVariant={})).INSIDE="inside",o.OUTSIDE="outside",e.SectionDirection=void 0,(n=e.SectionDirection||(e.SectionDirection={})).ROW="row",n.COLUMN="column",e.ImagesMasonryTypes=void 0,(d=e.ImagesMasonryTypes||(e.ImagesMasonryTypes={})).equal="equal",d.oneToTwo="oneToTwo",d.oneToThree="oneToThree",d.simpleMasonry="simpleMasonry",d.masonry="masonry",e.CategorySlideVariant=void 0,(s=e.CategorySlideVariant||(e.CategorySlideVariant={})).WIDE="wide",s.NARROW="narrow",e.SearchType=void 0,(c=e.SearchType||(e.SearchType={})).Pages="pages",c.Products="products",c.RepurchasedPhones="repurchased-phones",e.CustomCategorySlideVariant=void 0,(u=e.CustomCategorySlideVariant||(e.CustomCategorySlideVariant={})).WIDE="wide",u.NARROW="narrow";const g=e=>({get:r=>{const a=t.stringifyQueryParams(r||{});return e.get(`/languages?${a}`)}}),l=e=>({create:t=>r.__awaiter(void 0,void 0,void 0,(function*(){const a=yield r.__awaiter(void 0,void 0,void 0,(function*(){return"undefined"==typeof window?new(yield require("form-data")):new FormData}));a.append("file",t.file,"media"),t.alt&&a.append("alt",t.alt),t.slug&&a.append("slug",t.slug),t.metadata&&Object.entries(t.metadata).forEach((([e,t])=>a.append(`metadata.${e}`,t))),t.metadata_private&&Object.entries(t.metadata_private).forEach((([e,t])=>a.append(`metadata_private.${e}`,t)));const{data:i}=yield e.post("/media",a);return i.data})),update:(t,a)=>r.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.post(`/media/id:${t}`,a)).data}))}),p=e=>({get:r=>{const a=t.stringifyQueryParams(r||{});return e.get(`/pages?${a}`)},getOneBySlug:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/pages/${r}?${i}`)},getOne:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/pages/id:${r}?${i}`)}}),y=e=>({get:(t,a)=>r.__awaiter(void 0,void 0,void 0,(function*(){const{data:r}=yield e.get(`/modules/${t}/${a}`);return r})),update:(t,a,i)=>r.__awaiter(void 0,void 0,void 0,(function*(){const{data:r}=yield e.patch(`/modules/${t}/${a}`,i);return r}))}),m=e=>({get:r=>{const a=t.stringifyQueryParams(r||{});return e.get(`/products?${a}`)},getOneBySlug:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/products/${r}?${i}`)},getOne:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/products/id:${r}?${i}`)}}),f=e=>({get:()=>e.get("/config")}),S=e=>({get:r=>{const a=t.stringifyQueryParams(r||{});return e.get(`/product-sets?${a}`)},getOneBySlug:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/product-sets/${r}?${i}`)},getOne:(r,a)=>{const i=t.stringifyQueryParams(a||{});return e.get(`/product-sets/id:${r}?${i}`)}});e.createAdvancedUiModulesApiService=e=>{if(!e)throw new Error("Axios instance is required, but it was not provided");return{Modules:y(e),Media:l(e),Languages:g(e),Products:m(e),Pages:p(e),ProductSets:S(e),Config:f(e)}},Object.defineProperty(e,"__esModule",{value:!0})}));

@@ -1,2 +0,2 @@

// UI Modules SDK v1.2.0-dev.6 Copyright (c) 2024 Heseya and contributors
// UI Modules SDK v1.2.0-dev.7 Copyright (c) 2024 Heseya and contributors
(function (global, factory) {

@@ -85,2 +85,9 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@heseya/store-core'), require('tslib')) :

exports.SearchType = void 0;
(function (SearchType) {
SearchType["Pages"] = "pages";
SearchType["Products"] = "products";
SearchType["RepurchasedPhones"] = "repurchased-phones";
})(exports.SearchType || (exports.SearchType = {}));
exports.CustomCategorySlideVariant = void 0;

@@ -87,0 +94,0 @@ (function (CustomCategorySlideVariant) {

import { ModuleUpdateData } from './Module';
import { GenericModule, ModuleType, ModuleData, Translations } from '../interfaces/';
import { Link } from './Link';
export declare enum SearchType {
Pages = "pages",
Products = "products",
RepurchasedPhones = "repurchased-phones"
}
export interface SearchModuleConfigOptions {
title: Translations;
searchType: SearchType;
margin?: number;

@@ -7,0 +13,0 @@ mobileMargin?: number;

{
"name": "@heseya/advanced-ui-modules-sdk",
"version": "1.2.0-dev.6",
"version": "1.2.0-dev.7",
"author": {

@@ -5,0 +5,0 @@ "name": "Heseya"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc