@gem-sdk/core 2.0.0-dev.697 → 2.0.0-dev.699
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.
|
@@ -33,9 +33,9 @@ const createShopStoreProvider = (data)=>zustand.createStore((set)=>({
|
|
|
33
33
|
layoutSettings
|
|
34
34
|
});
|
|
35
35
|
},
|
|
36
|
-
updatePriceWithCurrency: (
|
|
36
|
+
updatePriceWithCurrency: (showPriceCurrency)=>{
|
|
37
37
|
set({
|
|
38
|
-
|
|
38
|
+
showPriceCurrency
|
|
39
39
|
});
|
|
40
40
|
},
|
|
41
41
|
changeStorefrontInfo: ({ url, token })=>{
|
|
@@ -31,9 +31,9 @@ const createShopStoreProvider = (data)=>createStore((set)=>({
|
|
|
31
31
|
layoutSettings
|
|
32
32
|
});
|
|
33
33
|
},
|
|
34
|
-
updatePriceWithCurrency: (
|
|
34
|
+
updatePriceWithCurrency: (showPriceCurrency)=>{
|
|
35
35
|
set({
|
|
36
|
-
|
|
36
|
+
showPriceCurrency
|
|
37
37
|
});
|
|
38
38
|
},
|
|
39
39
|
changeStorefrontInfo: ({ url, token })=>{
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7387,6 +7387,7 @@ type PageContext = {
|
|
|
7387
7387
|
isTranslateWithLocale?: boolean;
|
|
7388
7388
|
sectionName?: string;
|
|
7389
7389
|
isOptimizePlan?: boolean;
|
|
7390
|
+
showPriceCurrency?: boolean;
|
|
7390
7391
|
};
|
|
7391
7392
|
type OnlyOne<T, U> = (T & {
|
|
7392
7393
|
[K in keyof U]?: never;
|
|
@@ -34862,7 +34863,7 @@ type ShopContextProps = {
|
|
|
34862
34863
|
createThemeSectionCount?: number;
|
|
34863
34864
|
plan?: string;
|
|
34864
34865
|
timezone?: string;
|
|
34865
|
-
|
|
34866
|
+
showPriceCurrency?: boolean;
|
|
34866
34867
|
generateContentLimitation?: {
|
|
34867
34868
|
isAllow: boolean;
|
|
34868
34869
|
maxGenerateCount?: number;
|
|
@@ -34883,7 +34884,7 @@ type ShopContextProps = {
|
|
|
34883
34884
|
changeLayoutSettings: (layoutSettings: LayoutSettings) => void;
|
|
34884
34885
|
changeCreateThemeSectionCount: (count: number) => void;
|
|
34885
34886
|
changeShopPlan: (plan: string) => void;
|
|
34886
|
-
updatePriceWithCurrency: (
|
|
34887
|
+
updatePriceWithCurrency: (showPriceCurrency: boolean) => void;
|
|
34887
34888
|
changeLimitCreateThemeSection: (data: {
|
|
34888
34889
|
isLimit?: boolean;
|
|
34889
34890
|
total?: number;
|
|
@@ -34894,7 +34895,7 @@ type ShopProviderProps = {
|
|
|
34894
34895
|
children: React.ReactNode;
|
|
34895
34896
|
key?: React.Key;
|
|
34896
34897
|
addons: AddonContextProps['components'];
|
|
34897
|
-
storeOption: Omit<ShopContextProps, 'changeLocale' | 'changeStorefrontInfo' | 'changeCurrency' | 'changeSwatches' | 'changeLayoutSettings' | 'changeCreateThemeSectionCount' | 'changeShopPlan' | 'changeLimitCreateThemeSection'>;
|
|
34898
|
+
storeOption: Omit<ShopContextProps, 'changeLocale' | 'changeStorefrontInfo' | 'changeCurrency' | 'changeSwatches' | 'changeLayoutSettings' | 'changeCreateThemeSectionCount' | 'changeShopPlan' | 'changeLimitCreateThemeSection' | 'updatePriceWithCurrency'>;
|
|
34898
34899
|
queryOption?: React.ComponentProps<typeof SWRConfig>['value'];
|
|
34899
34900
|
};
|
|
34900
34901
|
|