@gem-sdk/core 1.14.0-next.22 → 1.14.0-next.29
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
/* eslint-disable */ const PageViewUpDocument = `
|
|
4
|
-
mutation pageViewUp($pageHandle: String!, $userAgent: String
|
|
4
|
+
mutation pageViewUp($pageHandle: String!, $userAgent: String) {
|
|
5
5
|
pageViewUp(pageHandle: $pageHandle, userAgent: $userAgent)
|
|
6
6
|
}
|
|
7
7
|
`;
|
|
@@ -27,7 +27,7 @@ const getRadiusCSSFromGlobal = (state, key, device)=>{
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
const getCustomRadius = (state, radius, device)=>{
|
|
30
|
-
if (!radius || !state) return {};
|
|
30
|
+
if (!radius || !state || radius.radiusType !== 'custom') return {};
|
|
31
31
|
const suffix = device && device !== 'desktop' ? constant.devicesMapping?.[device] : '';
|
|
32
32
|
const mState = constant.stateMapping?.[state];
|
|
33
33
|
return {
|
|
@@ -25,7 +25,7 @@ const getRadiusCSSFromGlobal = (state, key, device)=>{
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
const getCustomRadius = (state, radius, device)=>{
|
|
28
|
-
if (!radius || !state) return {};
|
|
28
|
+
if (!radius || !state || radius.radiusType !== 'custom') return {};
|
|
29
29
|
const suffix = device && device !== 'desktop' ? devicesMapping?.[device] : '';
|
|
30
30
|
const mState = stateMapping?.[state];
|
|
31
31
|
return {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3525,7 +3525,7 @@ type MutationCartNoteUpdateArgs = {
|
|
|
3525
3525
|
};
|
|
3526
3526
|
type MutationPageViewUpArgs = {
|
|
3527
3527
|
pageHandle: Scalars['String'];
|
|
3528
|
-
userAgent
|
|
3528
|
+
userAgent?: InputMaybe<Scalars['String']>;
|
|
3529
3529
|
};
|
|
3530
3530
|
type ObjectType = 'ARTICLE' | 'BLOG' | 'COLLECTION' | 'PAGE' | 'PRODUCT' | 'PRODUCT_VARIANT' | 'SHOP';
|
|
3531
3531
|
type OrderDirection = 'ASC' | 'DESC';
|
|
@@ -5775,6 +5775,16 @@ type PublishedThemePageCustomSectionWhereInput = {
|
|
|
5775
5775
|
idNotIn?: InputMaybe<Array<Scalars['ID']>>;
|
|
5776
5776
|
not?: InputMaybe<PublishedThemePageCustomSectionWhereInput>;
|
|
5777
5777
|
or?: InputMaybe<Array<PublishedThemePageCustomSectionWhereInput>>;
|
|
5778
|
+
/** published_custom_section_id field predicates */
|
|
5779
|
+
publishedCustomSectionID?: InputMaybe<Scalars['ID']>;
|
|
5780
|
+
publishedCustomSectionIDIn?: InputMaybe<Array<Scalars['ID']>>;
|
|
5781
|
+
publishedCustomSectionIDNEQ?: InputMaybe<Scalars['ID']>;
|
|
5782
|
+
publishedCustomSectionIDNotIn?: InputMaybe<Array<Scalars['ID']>>;
|
|
5783
|
+
/** published_theme_page_id field predicates */
|
|
5784
|
+
publishedThemePageID?: InputMaybe<Scalars['ID']>;
|
|
5785
|
+
publishedThemePageIDIn?: InputMaybe<Array<Scalars['ID']>>;
|
|
5786
|
+
publishedThemePageIDNEQ?: InputMaybe<Scalars['ID']>;
|
|
5787
|
+
publishedThemePageIDNotIn?: InputMaybe<Array<Scalars['ID']>>;
|
|
5778
5788
|
};
|
|
5779
5789
|
type PublishedThemePageMeta = {
|
|
5780
5790
|
createdAt?: Maybe<Scalars['Time']>;
|
|
@@ -6166,9 +6176,12 @@ type Query = {
|
|
|
6166
6176
|
pages?: Maybe<PageConnection>;
|
|
6167
6177
|
previewPage?: Maybe<PublishedThemePage>;
|
|
6168
6178
|
product?: Maybe<Product>;
|
|
6179
|
+
productOptionName: Array<Scalars['String']>;
|
|
6180
|
+
productOptionValueLabel: Array<Scalars['String']>;
|
|
6169
6181
|
productOptions?: Maybe<ProductOptionConnection>;
|
|
6170
6182
|
products?: Maybe<ProductConnection>;
|
|
6171
6183
|
publishedThemePages?: Maybe<Array<Maybe<PublishedThemePage>>>;
|
|
6184
|
+
shopShopify?: Maybe<ShopShopify>;
|
|
6172
6185
|
storeProperty?: Maybe<StoreProperty>;
|
|
6173
6186
|
};
|
|
6174
6187
|
type Query_EntitiesArgs = {
|
|
@@ -6250,6 +6263,15 @@ type QueryProductArgs = {
|
|
|
6250
6263
|
handle?: InputMaybe<Scalars['String']>;
|
|
6251
6264
|
id?: InputMaybe<Scalars['ID']>;
|
|
6252
6265
|
};
|
|
6266
|
+
type QueryProductOptionNameArgs = {
|
|
6267
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
6268
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
6269
|
+
};
|
|
6270
|
+
type QueryProductOptionValueLabelArgs = {
|
|
6271
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
6272
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
6273
|
+
optionName: Scalars['String'];
|
|
6274
|
+
};
|
|
6253
6275
|
type QueryProductOptionsArgs = {
|
|
6254
6276
|
after?: InputMaybe<Scalars['Cursor']>;
|
|
6255
6277
|
before?: InputMaybe<Scalars['Cursor']>;
|
|
@@ -6326,6 +6348,62 @@ type ShopDatabaseWhereInput = {
|
|
|
6326
6348
|
updatedAtNEQ?: InputMaybe<Scalars['Time']>;
|
|
6327
6349
|
updatedAtNotIn?: InputMaybe<Array<Scalars['Time']>>;
|
|
6328
6350
|
};
|
|
6351
|
+
type ShopShopify = {
|
|
6352
|
+
address1?: Maybe<Scalars['String']>;
|
|
6353
|
+
address2?: Maybe<Scalars['String']>;
|
|
6354
|
+
auto_configure_tax_inclusivity?: Maybe<Scalars['String']>;
|
|
6355
|
+
checkout_api_supported?: Maybe<Scalars['Boolean']>;
|
|
6356
|
+
city?: Maybe<Scalars['String']>;
|
|
6357
|
+
cookie_consent_level?: Maybe<Scalars['String']>;
|
|
6358
|
+
country?: Maybe<Scalars['String']>;
|
|
6359
|
+
country_code?: Maybe<Scalars['String']>;
|
|
6360
|
+
country_name?: Maybe<Scalars['String']>;
|
|
6361
|
+
county_taxes?: Maybe<Scalars['Boolean']>;
|
|
6362
|
+
currency: Scalars['String'];
|
|
6363
|
+
customer_email?: Maybe<Scalars['String']>;
|
|
6364
|
+
domain: Scalars['String'];
|
|
6365
|
+
eligible_for_payments?: Maybe<Scalars['Boolean']>;
|
|
6366
|
+
email: Scalars['String'];
|
|
6367
|
+
enabled_presentment_currencies?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
6368
|
+
finances?: Maybe<Scalars['Boolean']>;
|
|
6369
|
+
google_apps_domain?: Maybe<Scalars['String']>;
|
|
6370
|
+
google_apps_login_enabled?: Maybe<Scalars['String']>;
|
|
6371
|
+
has_discounts?: Maybe<Scalars['Boolean']>;
|
|
6372
|
+
has_gift_cards?: Maybe<Scalars['Boolean']>;
|
|
6373
|
+
has_storefront?: Maybe<Scalars['Boolean']>;
|
|
6374
|
+
iana_timezone?: Maybe<Scalars['String']>;
|
|
6375
|
+
id: Scalars['ID'];
|
|
6376
|
+
latitude?: Maybe<Scalars['Float']>;
|
|
6377
|
+
longitude?: Maybe<Scalars['Float']>;
|
|
6378
|
+
marketing_sms_consent_enabled_at_checkout?: Maybe<Scalars['Boolean']>;
|
|
6379
|
+
money_format?: Maybe<Scalars['String']>;
|
|
6380
|
+
money_in_emails_format?: Maybe<Scalars['String']>;
|
|
6381
|
+
money_with_currency_format?: Maybe<Scalars['String']>;
|
|
6382
|
+
money_with_currency_in_emails_format?: Maybe<Scalars['String']>;
|
|
6383
|
+
multi_location_enabled?: Maybe<Scalars['Boolean']>;
|
|
6384
|
+
myshopify_domain?: Maybe<Scalars['String']>;
|
|
6385
|
+
name: Scalars['String'];
|
|
6386
|
+
password_enabled?: Maybe<Scalars['Boolean']>;
|
|
6387
|
+
phone?: Maybe<Scalars['String']>;
|
|
6388
|
+
plan_display_name?: Maybe<Scalars['String']>;
|
|
6389
|
+
plan_name?: Maybe<Scalars['String']>;
|
|
6390
|
+
pre_launch_enabled?: Maybe<Scalars['Boolean']>;
|
|
6391
|
+
primary_locale?: Maybe<Scalars['String']>;
|
|
6392
|
+
primary_location_id: Scalars['ID'];
|
|
6393
|
+
province?: Maybe<Scalars['String']>;
|
|
6394
|
+
province_code?: Maybe<Scalars['String']>;
|
|
6395
|
+
requires_extra_payments_agreement?: Maybe<Scalars['Boolean']>;
|
|
6396
|
+
setup_required?: Maybe<Scalars['Boolean']>;
|
|
6397
|
+
shop_owner?: Maybe<Scalars['String']>;
|
|
6398
|
+
source?: Maybe<Scalars['String']>;
|
|
6399
|
+
tax_shipping?: Maybe<Scalars['String']>;
|
|
6400
|
+
taxes_included?: Maybe<Scalars['String']>;
|
|
6401
|
+
timezone?: Maybe<Scalars['String']>;
|
|
6402
|
+
transactional_sms_disabled?: Maybe<Scalars['Boolean']>;
|
|
6403
|
+
visitor_tracking_consent_preference?: Maybe<Scalars['String']>;
|
|
6404
|
+
weight_unit?: Maybe<Scalars['String']>;
|
|
6405
|
+
zip?: Maybe<Scalars['String']>;
|
|
6406
|
+
};
|
|
6329
6407
|
/**
|
|
6330
6408
|
* ShopTokenWhereInput is used for filtering ShopToken objects.
|
|
6331
6409
|
* Input was generated by ent.
|
|
@@ -6725,6 +6803,8 @@ type shop_QueryPageArgs = QueryPageArgs;
|
|
|
6725
6803
|
type shop_QueryPagesArgs = QueryPagesArgs;
|
|
6726
6804
|
type shop_QueryPreviewPageArgs = QueryPreviewPageArgs;
|
|
6727
6805
|
type shop_QueryProductArgs = QueryProductArgs;
|
|
6806
|
+
type shop_QueryProductOptionNameArgs = QueryProductOptionNameArgs;
|
|
6807
|
+
type shop_QueryProductOptionValueLabelArgs = QueryProductOptionValueLabelArgs;
|
|
6728
6808
|
type shop_QueryProductOptionsArgs = QueryProductOptionsArgs;
|
|
6729
6809
|
type shop_QueryProductsArgs = QueryProductsArgs;
|
|
6730
6810
|
type shop_QueryPublishedThemePagesArgs = QueryPublishedThemePagesArgs;
|
|
@@ -6732,6 +6812,7 @@ type shop_Query_EntitiesArgs = Query_EntitiesArgs;
|
|
|
6732
6812
|
type shop_Scalars = Scalars;
|
|
6733
6813
|
type shop_SelectedOption = SelectedOption;
|
|
6734
6814
|
type shop_ShopDatabaseWhereInput = ShopDatabaseWhereInput;
|
|
6815
|
+
type shop_ShopShopify = ShopShopify;
|
|
6735
6816
|
type shop_ShopTokenWhereInput = ShopTokenWhereInput;
|
|
6736
6817
|
type shop_StoreProperty = StoreProperty;
|
|
6737
6818
|
type shop_TagType = TagType;
|
|
@@ -6917,6 +6998,8 @@ declare namespace shop {
|
|
|
6917
6998
|
shop_QueryPagesArgs as QueryPagesArgs,
|
|
6918
6999
|
shop_QueryPreviewPageArgs as QueryPreviewPageArgs,
|
|
6919
7000
|
shop_QueryProductArgs as QueryProductArgs,
|
|
7001
|
+
shop_QueryProductOptionNameArgs as QueryProductOptionNameArgs,
|
|
7002
|
+
shop_QueryProductOptionValueLabelArgs as QueryProductOptionValueLabelArgs,
|
|
6920
7003
|
shop_QueryProductOptionsArgs as QueryProductOptionsArgs,
|
|
6921
7004
|
shop_QueryProductsArgs as QueryProductsArgs,
|
|
6922
7005
|
shop_QueryPublishedThemePagesArgs as QueryPublishedThemePagesArgs,
|
|
@@ -6924,6 +7007,7 @@ declare namespace shop {
|
|
|
6924
7007
|
shop_Scalars as Scalars,
|
|
6925
7008
|
shop_SelectedOption as SelectedOption,
|
|
6926
7009
|
shop_ShopDatabaseWhereInput as ShopDatabaseWhereInput,
|
|
7010
|
+
shop_ShopShopify as ShopShopify,
|
|
6927
7011
|
shop_ShopTokenWhereInput as ShopTokenWhereInput,
|
|
6928
7012
|
shop_StoreProperty as StoreProperty,
|
|
6929
7013
|
shop_TagType as TagType,
|
|
@@ -7415,10 +7499,10 @@ declare const useModalStore: <U>(selector: (state: ExtractState<StoreApi<ModalCo
|
|
|
7415
7499
|
|
|
7416
7500
|
type PageViewUpMutationVariables = Exact<{
|
|
7417
7501
|
pageHandle: Scalars['String'];
|
|
7418
|
-
userAgent
|
|
7502
|
+
userAgent?: InputMaybe<Scalars['String']>;
|
|
7419
7503
|
}>;
|
|
7420
7504
|
type PageViewUpMutationResponse = Pick<Mutation, 'pageViewUp'>;
|
|
7421
|
-
declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!, $userAgent: String
|
|
7505
|
+
declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!, $userAgent: String) {\n pageViewUp(pageHandle: $pageHandle, userAgent: $userAgent)\n}\n ";
|
|
7422
7506
|
|
|
7423
7507
|
type CollectionDetailFilterQueryVariables = Exact<{
|
|
7424
7508
|
firstProduct?: InputMaybe<Scalars['Int']>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.14.0-next.
|
|
3
|
+
"version": "1.14.0-next.29",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@gem-sdk/adapter-shopify": "1.12.0",
|
|
28
|
-
"@gem-sdk/styles": "1.14.0-next.
|
|
28
|
+
"@gem-sdk/styles": "1.14.0-next.29"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"react-error-boundary": "4.0.3",
|