@stock-in-the-channel/sinch-vue-components 0.0.331 → 0.0.333
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/index.es.js +9267 -8720
- package/dist/types/api-clients/generated/fragment-masking.d.ts +4 -0
- package/dist/types/api-clients/generated/graphql.d.ts +54 -2
- package/dist/types/components/CloudChannel/Pages/Brands/BrandPageStore.d.ts +30 -0
- package/dist/types/components/CloudChannel/Pages/Brands/DynamicBrandPage.vue.d.ts +18 -0
- package/dist/types/components/CloudChannel/Pages/CloudProviders/CloudProvidersStore.d.ts +31 -0
- package/dist/types/components/CloudChannel/Pages/CloudProviders/DynamicCloudProviderPage.vue.d.ts +18 -0
- package/dist/types/index.d.ts +5 -1
- package/package.json +1 -1
|
@@ -8,7 +8,11 @@ export type FragmentType<TDocumentType extends DocumentTypeDecoration<any, any>>
|
|
|
8
8
|
};
|
|
9
9
|
} : never : never : never;
|
|
10
10
|
export declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>>): TType;
|
|
11
|
+
export declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | undefined): TType | undefined;
|
|
12
|
+
export declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null): TType | null;
|
|
11
13
|
export declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null | undefined): TType | null | undefined;
|
|
14
|
+
export declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>>): Array<TType>;
|
|
15
|
+
export declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined): Array<TType> | null | undefined;
|
|
12
16
|
export declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>>): ReadonlyArray<TType>;
|
|
13
17
|
export declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined): ReadonlyArray<TType> | null | undefined;
|
|
14
18
|
export declare function makeFragmentData<F extends DocumentTypeDecoration<any, any>, FT extends ResultOf<F>>(data: FT, _fragment: F): FragmentType<F>;
|
|
@@ -208,12 +208,35 @@ export declare enum BillingPeriodType {
|
|
|
208
208
|
Monthly = "MONTHLY",
|
|
209
209
|
Quarterly = "QUARTERLY",
|
|
210
210
|
Retail = "RETAIL",
|
|
211
|
+
Triennial = "TRIENNIAL",
|
|
211
212
|
Unknown = "UNKNOWN"
|
|
212
213
|
}
|
|
213
214
|
export type BooleanOperationFilterInput = {
|
|
214
215
|
eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
215
216
|
neq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
216
217
|
};
|
|
218
|
+
export type BrandPage = {
|
|
219
|
+
__typename?: 'BrandPage';
|
|
220
|
+
aboutUsTabContentHtml?: Maybe<Scalars['String']['output']>;
|
|
221
|
+
brandLinksJson?: Maybe<Scalars['String']['output']>;
|
|
222
|
+
brandPageId: Scalars['Int']['output'];
|
|
223
|
+
contactEmail?: Maybe<Scalars['String']['output']>;
|
|
224
|
+
contactImageUrl?: Maybe<Scalars['String']['output']>;
|
|
225
|
+
contactName?: Maybe<Scalars['String']['output']>;
|
|
226
|
+
contactPhone?: Maybe<Scalars['String']['output']>;
|
|
227
|
+
contactPosition?: Maybe<Scalars['String']['output']>;
|
|
228
|
+
descriptionHtml?: Maybe<Scalars['String']['output']>;
|
|
229
|
+
logoUrl?: Maybe<Scalars['URL']['output']>;
|
|
230
|
+
metaDataJson?: Maybe<Scalars['String']['output']>;
|
|
231
|
+
name: Scalars['String']['output'];
|
|
232
|
+
newsTabContentHtml?: Maybe<Scalars['String']['output']>;
|
|
233
|
+
overviewTabContentHtml?: Maybe<Scalars['String']['output']>;
|
|
234
|
+
productsTabContentHtml?: Maybe<Scalars['String']['output']>;
|
|
235
|
+
sinchBrandId: Scalars['Int']['output'];
|
|
236
|
+
sortOrder?: Maybe<Scalars['Int']['output']>;
|
|
237
|
+
topBannerText?: Maybe<Scalars['String']['output']>;
|
|
238
|
+
topBannerUrl?: Maybe<Scalars['URL']['output']>;
|
|
239
|
+
};
|
|
217
240
|
export type CspGraphQlMutations = {
|
|
218
241
|
__typename?: 'CSPGraphQLMutations';
|
|
219
242
|
addItemToBasket: AddItemToBasketPayload;
|
|
@@ -358,9 +381,11 @@ export type CspGraphQlQueries = {
|
|
|
358
381
|
acronisCreateCustomerConfig: AcronisCreateCustomerConfigPayload;
|
|
359
382
|
acronisExternalSystemClient: GetAcronisExternalSystemClientPayload;
|
|
360
383
|
basketDetails?: Maybe<GetBasketDetailsPayload>;
|
|
384
|
+
brandPages: Array<BrandPage>;
|
|
361
385
|
categories: Array<GetCategoriesPayload>;
|
|
362
386
|
checkAcronisLoginAvailability: Scalars['Boolean']['output'];
|
|
363
387
|
checkForProductVariants: Array<CheckForProductVariantsPayload>;
|
|
388
|
+
cloudProviders: Array<CloudProvider>;
|
|
364
389
|
csvFtpExternalSystemClient: GetCsvFtpExternalSystemClientPayload;
|
|
365
390
|
currentBasket?: Maybe<CreateBasketPayload>;
|
|
366
391
|
customer?: Maybe<GetCustomersPayload>;
|
|
@@ -635,6 +660,29 @@ export type ClientIdNotFound = Error & {
|
|
|
635
660
|
__typename?: 'ClientIdNotFound';
|
|
636
661
|
message: Scalars['String']['output'];
|
|
637
662
|
};
|
|
663
|
+
export type CloudProvider = {
|
|
664
|
+
__typename?: 'CloudProvider';
|
|
665
|
+
aboutUsTabContentHtml?: Maybe<Scalars['String']['output']>;
|
|
666
|
+
brandLinksJson?: Maybe<Scalars['String']['output']>;
|
|
667
|
+
cloudProviderId: Scalars['Int']['output'];
|
|
668
|
+
contactEmail?: Maybe<Scalars['String']['output']>;
|
|
669
|
+
contactImageUrl?: Maybe<Scalars['String']['output']>;
|
|
670
|
+
contactName?: Maybe<Scalars['String']['output']>;
|
|
671
|
+
contactPhone?: Maybe<Scalars['String']['output']>;
|
|
672
|
+
contactPosition?: Maybe<Scalars['String']['output']>;
|
|
673
|
+
descriptionHtml?: Maybe<Scalars['String']['output']>;
|
|
674
|
+
externalSystemType: Scalars['Int']['output'];
|
|
675
|
+
logoUrl?: Maybe<Scalars['URL']['output']>;
|
|
676
|
+
metaDataJson?: Maybe<Scalars['String']['output']>;
|
|
677
|
+
name: Scalars['String']['output'];
|
|
678
|
+
newsTabContentHtml?: Maybe<Scalars['String']['output']>;
|
|
679
|
+
overviewTabContentHtml?: Maybe<Scalars['String']['output']>;
|
|
680
|
+
productsTabContentHtml?: Maybe<Scalars['String']['output']>;
|
|
681
|
+
sinchDistributorId: Scalars['Int']['output'];
|
|
682
|
+
sortOrder?: Maybe<Scalars['Int']['output']>;
|
|
683
|
+
topBannerText?: Maybe<Scalars['String']['output']>;
|
|
684
|
+
topBannerUrl?: Maybe<Scalars['URL']['output']>;
|
|
685
|
+
};
|
|
638
686
|
export type CodeNameItem = {
|
|
639
687
|
__typename?: 'CodeNameItem';
|
|
640
688
|
code: Scalars['String']['output'];
|
|
@@ -1810,9 +1858,11 @@ export type Query = {
|
|
|
1810
1858
|
acronisCreateCustomerConfig: AcronisCreateCustomerConfigPayload;
|
|
1811
1859
|
acronisExternalSystemClient: GetAcronisExternalSystemClientPayload;
|
|
1812
1860
|
basketDetails?: Maybe<GetBasketDetailsPayload>;
|
|
1861
|
+
brandPages: Array<BrandPage>;
|
|
1813
1862
|
categories: Array<GetCategoriesPayload>;
|
|
1814
1863
|
checkAcronisLoginAvailability: Scalars['Boolean']['output'];
|
|
1815
1864
|
checkForProductVariants: Array<CheckForProductVariantsPayload>;
|
|
1865
|
+
cloudProviders: Array<CloudProvider>;
|
|
1816
1866
|
csvFtpExternalSystemClient: GetCsvFtpExternalSystemClientPayload;
|
|
1817
1867
|
currentBasket?: Maybe<CreateBasketPayload>;
|
|
1818
1868
|
customer?: Maybe<GetCustomersPayload>;
|
|
@@ -2532,7 +2582,7 @@ export type SubscriptionOrderStatusHistoriesModelFilterInput = {
|
|
|
2532
2582
|
cspSubscriptionId?: InputMaybe<IntOperationFilterInput>;
|
|
2533
2583
|
cspSubscriptionOrderId?: InputMaybe<IntOperationFilterInput>;
|
|
2534
2584
|
date?: InputMaybe<DateTimeOperationFilterInput>;
|
|
2535
|
-
|
|
2585
|
+
message?: InputMaybe<StringOperationFilterInput>;
|
|
2536
2586
|
or?: InputMaybe<Array<SubscriptionOrderStatusHistoriesModelFilterInput>>;
|
|
2537
2587
|
providerOrderId?: InputMaybe<StringOperationFilterInput>;
|
|
2538
2588
|
status?: InputMaybe<OrderPayloadStatusOperationFilterInput>;
|
|
@@ -2541,13 +2591,15 @@ export type SubscriptionOrderStatusHistoriesModelSortInput = {
|
|
|
2541
2591
|
cspSubscriptionId?: InputMaybe<SortEnumType>;
|
|
2542
2592
|
cspSubscriptionOrderId?: InputMaybe<SortEnumType>;
|
|
2543
2593
|
date?: InputMaybe<SortEnumType>;
|
|
2544
|
-
|
|
2594
|
+
message?: InputMaybe<SortEnumType>;
|
|
2545
2595
|
providerOrderId?: InputMaybe<SortEnumType>;
|
|
2546
2596
|
status?: InputMaybe<SortEnumType>;
|
|
2547
2597
|
};
|
|
2548
2598
|
export declare enum SubscriptionPeriodType {
|
|
2549
2599
|
Day = "DAY",
|
|
2550
2600
|
Month = "MONTH",
|
|
2601
|
+
OneOff = "ONE_OFF",
|
|
2602
|
+
Triennial = "TRIENNIAL",
|
|
2551
2603
|
Unknown = "UNKNOWN",
|
|
2552
2604
|
Year = "YEAR"
|
|
2553
2605
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface BrandPageModel {
|
|
2
|
+
brandPageId: number;
|
|
3
|
+
contactEmail: string | undefined;
|
|
4
|
+
contactName: string | undefined;
|
|
5
|
+
contactPhone: string | undefined;
|
|
6
|
+
contactImageUrl: string | undefined;
|
|
7
|
+
contactPosition: string | undefined;
|
|
8
|
+
descriptionHtml: string | undefined;
|
|
9
|
+
logoUrl: string | undefined;
|
|
10
|
+
metaDataJson: string | undefined;
|
|
11
|
+
name: string;
|
|
12
|
+
topBannerText: string | undefined;
|
|
13
|
+
topBannerUrl: string | undefined;
|
|
14
|
+
brandLinks: BrandLink[];
|
|
15
|
+
overviewTabContentHtml: string | undefined;
|
|
16
|
+
aboutUsTabContentHtml: string | undefined;
|
|
17
|
+
newsTabContentHtml: string | undefined;
|
|
18
|
+
productsTabContentHtml: string | undefined;
|
|
19
|
+
sortOrder: number;
|
|
20
|
+
sinchBrandId: number;
|
|
21
|
+
}
|
|
22
|
+
export interface BrandLink {
|
|
23
|
+
label: string;
|
|
24
|
+
href: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const brandPageStore: {
|
|
27
|
+
readonly brands: never[];
|
|
28
|
+
fetchBrandPages: () => Promise<never[]>;
|
|
29
|
+
$subscribe: (callback: (data: unknown) => void) => () => void;
|
|
30
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RouteLocationNormalizedLoaded, Router } from 'vue-router';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
route: RouteLocationNormalizedLoaded;
|
|
4
|
+
router: Router;
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
route: RouteLocationNormalizedLoaded;
|
|
7
|
+
router: Router;
|
|
8
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface CloudProviderModel {
|
|
2
|
+
cloudProviderId: number;
|
|
3
|
+
externalSystemType: number;
|
|
4
|
+
contactEmail: string | undefined;
|
|
5
|
+
contactName: string | undefined;
|
|
6
|
+
contactPhone: string | undefined;
|
|
7
|
+
contactImageUrl: string | undefined;
|
|
8
|
+
contactPosition: string | undefined;
|
|
9
|
+
descriptionHtml: string | undefined;
|
|
10
|
+
logoUrl: string | undefined;
|
|
11
|
+
metaDataJson: string | undefined;
|
|
12
|
+
name: string;
|
|
13
|
+
sinchDistributorId: number;
|
|
14
|
+
topBannerText: string | undefined;
|
|
15
|
+
topBannerUrl: string | undefined;
|
|
16
|
+
brandLinks: BrandLink[];
|
|
17
|
+
overviewTabContentHtml: string | undefined;
|
|
18
|
+
aboutUsTabContentHtml: string | undefined;
|
|
19
|
+
newsTabContentHtml: string | undefined;
|
|
20
|
+
productsTabContentHtml: string | undefined;
|
|
21
|
+
sortOrder: number;
|
|
22
|
+
}
|
|
23
|
+
export interface BrandLink {
|
|
24
|
+
label: string;
|
|
25
|
+
href: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const cloudProvidersStore: {
|
|
28
|
+
readonly brands: never[];
|
|
29
|
+
fetchCloudProviders: () => Promise<never[]>;
|
|
30
|
+
$subscribe: (callback: (data: unknown) => void) => () => void;
|
|
31
|
+
};
|
package/dist/types/components/CloudChannel/Pages/CloudProviders/DynamicCloudProviderPage.vue.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RouteLocationNormalizedLoaded, Router } from 'vue-router';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
route: RouteLocationNormalizedLoaded;
|
|
4
|
+
router: Router;
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
route: RouteLocationNormalizedLoaded;
|
|
7
|
+
router: Router;
|
|
8
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -50,11 +50,15 @@ import { hyphenate } from './utils/urlUtils';
|
|
|
50
50
|
import ProvidersCatalogue from './components/CloudChannel/ProvidersCatalogue.vue';
|
|
51
51
|
import { ProvidersCatalogProvider } from '@/types/ProvidersCatalogProvider';
|
|
52
52
|
import CategoryDetailsCloud from './components/CloudChannel/Pages/CategoryDetailsCloud.vue';
|
|
53
|
+
import DynamicBrandPage from './components/CloudChannel/Pages/Brands/DynamicBrandPage.vue';
|
|
54
|
+
import DynamicCloudProviderPage from './components/CloudChannel/Pages/CloudProviders/DynamicCloudProviderPage.vue';
|
|
55
|
+
import { brandPageStore } from './components/CloudChannel/Pages/Brands/BrandPageStore';
|
|
56
|
+
import { cloudProvidersStore } from './components/CloudChannel/Pages/CloudProviders/CloudProvidersStore';
|
|
53
57
|
import { useCategoryStore, CategoriesResponse, Category, CategoryTreeNode } from './components/CategorySearch/CategoryStore';
|
|
54
58
|
import { Brand } from './components/BrandSearch/BrandStore';
|
|
55
59
|
import { SearchRequest, SearchResult, Filter, FilterRequest, FilterResponse, Product, Value, useSearchStore } from './components/ProductSearch/SearchStore';
|
|
56
60
|
declare const SinchPlugin: {
|
|
57
61
|
install: (app: App) => void;
|
|
58
62
|
};
|
|
59
|
-
export { SinchPlugin, SearchIndexPageCe, SearchByBrandAndCategory, translations, LanguageMenuSelector, languageSetup, sinchSetAppLanguage, UserMenu, MarketSearchIndex, useSearchStore, MarketPlaceSearchInput, MarketPlaceItem, SinchFilterBox, useCategoryStore, VendorsCatalogueV2, CategoriesCatalogueV2, BrandProducts, MarketplaceIndex, MarketPlaceSearch, ProductCard, CategoryDetails, ProductDetails, ExibitionModeEnum, VueGlobalFunctions, SubscriptionQueries, CustomerOrdersFromProviderVue, OrderDetailsVue, OrderDetailsFromProviderVue, OrderSearchVue, SubscriptionDetailsVue, SubscriptionIndexVue, SubscriptionOrderDetailsVue, SubscriptionOderHistoryDialogVue, SubscriptionOrderHistoriesVue, SubscriptionOrderHistoriesLastEntryVue, SubscriptionOrdersListVue, SubscriptionsTableFiltersVue, SubscriptionsTableVue, ContactUsVue, BasketItemsTableVue, BasketDataClient, CustomerDetailsSectionVue, QuoteDetailsVue, QuoteIndexVue, QuoteDataClient, GetRenewalColour, RouterLinkWrapper, OrderParametersInput, hyphenate, ProvidersCatalogue, CategoryDetailsCloud, };
|
|
63
|
+
export { SinchPlugin, SearchIndexPageCe, SearchByBrandAndCategory, translations, LanguageMenuSelector, languageSetup, sinchSetAppLanguage, UserMenu, MarketSearchIndex, useSearchStore, MarketPlaceSearchInput, MarketPlaceItem, SinchFilterBox, useCategoryStore, VendorsCatalogueV2, CategoriesCatalogueV2, BrandProducts, MarketplaceIndex, MarketPlaceSearch, ProductCard, CategoryDetails, ProductDetails, ExibitionModeEnum, VueGlobalFunctions, SubscriptionQueries, CustomerOrdersFromProviderVue, OrderDetailsVue, OrderDetailsFromProviderVue, OrderSearchVue, SubscriptionDetailsVue, SubscriptionIndexVue, SubscriptionOrderDetailsVue, SubscriptionOderHistoryDialogVue, SubscriptionOrderHistoriesVue, SubscriptionOrderHistoriesLastEntryVue, SubscriptionOrdersListVue, SubscriptionsTableFiltersVue, SubscriptionsTableVue, ContactUsVue, BasketItemsTableVue, BasketDataClient, CustomerDetailsSectionVue, QuoteDetailsVue, QuoteIndexVue, QuoteDataClient, GetRenewalColour, RouterLinkWrapper, OrderParametersInput, hyphenate, ProvidersCatalogue, CategoryDetailsCloud, DynamicBrandPage, DynamicCloudProviderPage, brandPageStore, cloudProvidersStore };
|
|
60
64
|
export type { SearchRequest, SearchResult, Filter, FilterRequest, FilterResponse, Product, Value, CategoriesResponse, Category, CategoryTreeNode, Brand, DistributorProduct, ColumnVisibility, QuasarQTableColumnType, QTablePaginationType, QTablePaginationRequest, SubscriptionsTableFiltersType, CustomerOrdersFromProviderParams, MainProduct, BasketItemPayloadLocal, ProvidersCatalogProvider };
|