@stock-in-the-channel/sinch-vue-components 0.0.374 → 0.0.375
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 +12613 -12089
- package/dist/style.css +1 -1
- package/dist/types/components/CloudChannel/Common/EnhancedTable.vue.d.ts +184 -0
- package/dist/types/components/CloudChannel/Pages/Subscription/MicrosoftRenewalScheduler.vue.d.ts +2 -0
- package/dist/types/components/CloudChannel/Pages/Subscription/SubscriptionDetails.vue.d.ts +2 -0
- package/dist/types/components/CloudChannel/Pages/Subscription/SubscriptionIndex.vue.d.ts +2 -0
- package/dist/types/components/CloudChannel/Pages/Subscription/SubscriptionNotesComponent.vue.d.ts +9 -0
- package/dist/types/components/CloudChannel/Pages/Subscription/SubscriptionsTable.vue.d.ts +5 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/xlsx-9f7d4455.mjs +25079 -0
- package/package.json +64 -63
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.thumbnail-container{text-align:center}.products-row[data-v-6f02f4d6]{display:flex;flex-wrap:wrap}.q-dialog-plugin[data-v-9deb8386]{max-width:1100px;width:80vw}.q-td{min-width:80px}
|
|
1
|
+
.thumbnail-container{text-align:center}.products-row[data-v-6f02f4d6]{display:flex;flex-wrap:wrap}.q-dialog-plugin[data-v-9deb8386]{max-width:1100px;width:80vw}.columns-grid[data-v-345d97a3]{display:flex;flex-wrap:wrap;gap:8px}.column-item[data-v-345d97a3]{min-width:200px;flex:1 1 auto;max-width:300px}@media (min-width: 768px){.columns-grid[data-v-345d97a3]{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.column-item[data-v-345d97a3]{max-width:100%}}@media (max-width: 767px){.columns-grid[data-v-345d97a3]{grid-template-columns:repeat(2,1fr)}}.q-td{min-width:80px}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { QuasarQTableColumnType } from '@/types/QuasarQTableColumnType';
|
|
2
|
+
import { QTablePaginationType } from '@/types/QuasarQTablePaginationType';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
rows: {
|
|
5
|
+
type: ArrayConstructor;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
columns: {
|
|
9
|
+
type: () => QuasarQTableColumnType[];
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
loading: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
pagination: {
|
|
17
|
+
type: () => QTablePaginationType;
|
|
18
|
+
default: () => {
|
|
19
|
+
page: number;
|
|
20
|
+
rowsPerPage: number;
|
|
21
|
+
rowsNumber: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
rowsPerPageOptions: {
|
|
25
|
+
type: ArrayConstructor;
|
|
26
|
+
default: () => number[];
|
|
27
|
+
};
|
|
28
|
+
rowKey: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
noDataLabel: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
flat: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
bordered: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
wrapCells: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
showColumnToggle: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
showExport: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
exportLabel: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
defaultVisibleColumns: {
|
|
61
|
+
type: () => string[];
|
|
62
|
+
default: () => never[];
|
|
63
|
+
};
|
|
64
|
+
tableId: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
serverSidePagination: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
fetchAllDataForExport: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
default: null;
|
|
75
|
+
};
|
|
76
|
+
}>, {
|
|
77
|
+
refreshColumns: () => void;
|
|
78
|
+
exportData: () => Promise<void>;
|
|
79
|
+
visibleColumnNames: import("vue").Ref<string[], string[]>;
|
|
80
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
|
+
request: (props: any) => void;
|
|
82
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
|
+
rows: {
|
|
84
|
+
type: ArrayConstructor;
|
|
85
|
+
default: () => never[];
|
|
86
|
+
};
|
|
87
|
+
columns: {
|
|
88
|
+
type: () => QuasarQTableColumnType[];
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
loading: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
pagination: {
|
|
96
|
+
type: () => QTablePaginationType;
|
|
97
|
+
default: () => {
|
|
98
|
+
page: number;
|
|
99
|
+
rowsPerPage: number;
|
|
100
|
+
rowsNumber: number;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
rowsPerPageOptions: {
|
|
104
|
+
type: ArrayConstructor;
|
|
105
|
+
default: () => number[];
|
|
106
|
+
};
|
|
107
|
+
rowKey: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
noDataLabel: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
flat: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
bordered: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
wrapCells: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
showColumnToggle: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
showExport: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
exportLabel: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
defaultVisibleColumns: {
|
|
140
|
+
type: () => string[];
|
|
141
|
+
default: () => never[];
|
|
142
|
+
};
|
|
143
|
+
tableId: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
required: true;
|
|
146
|
+
};
|
|
147
|
+
serverSidePagination: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
fetchAllDataForExport: {
|
|
152
|
+
type: FunctionConstructor;
|
|
153
|
+
default: null;
|
|
154
|
+
};
|
|
155
|
+
}>> & Readonly<{
|
|
156
|
+
onRequest?: ((props: any) => any) | undefined;
|
|
157
|
+
}>, {
|
|
158
|
+
flat: boolean;
|
|
159
|
+
loading: boolean;
|
|
160
|
+
bordered: boolean;
|
|
161
|
+
pagination: QTablePaginationType;
|
|
162
|
+
rows: unknown[];
|
|
163
|
+
rowKey: string;
|
|
164
|
+
wrapCells: boolean;
|
|
165
|
+
noDataLabel: string;
|
|
166
|
+
rowsPerPageOptions: unknown[];
|
|
167
|
+
showColumnToggle: boolean;
|
|
168
|
+
showExport: boolean;
|
|
169
|
+
exportLabel: string;
|
|
170
|
+
defaultVisibleColumns: string[];
|
|
171
|
+
serverSidePagination: boolean;
|
|
172
|
+
fetchAllDataForExport: Function;
|
|
173
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
174
|
+
body?(_: any): any;
|
|
175
|
+
header?(_: any): any;
|
|
176
|
+
"body-cell"?(_: any): any;
|
|
177
|
+
"top-left"?(_: any): any;
|
|
178
|
+
}>;
|
|
179
|
+
export default _default;
|
|
180
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
181
|
+
new (): {
|
|
182
|
+
$slots: S;
|
|
183
|
+
};
|
|
184
|
+
};
|
package/dist/types/components/CloudChannel/Pages/Subscription/MicrosoftRenewalScheduler.vue.d.ts
CHANGED
|
@@ -67,11 +67,13 @@ export interface RefundableQuantity {
|
|
|
67
67
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
68
68
|
subscriptionDetails: SubscriptionModelGraphQlLocal;
|
|
69
69
|
subscriptionProviderData: string | undefined;
|
|
70
|
+
isReadOnly: boolean;
|
|
70
71
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
72
|
updateFinished: () => void;
|
|
72
73
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
73
74
|
subscriptionDetails: SubscriptionModelGraphQlLocal;
|
|
74
75
|
subscriptionProviderData: string | undefined;
|
|
76
|
+
isReadOnly: boolean;
|
|
75
77
|
}>>> & Readonly<{
|
|
76
78
|
onUpdateFinished?: (() => any) | undefined;
|
|
77
79
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -13,12 +13,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
13
13
|
router: Router;
|
|
14
14
|
route: RouteLocationNormalizedLoaded;
|
|
15
15
|
exibitionMode: ExibitionModeEnum;
|
|
16
|
+
isReadOnly: boolean;
|
|
16
17
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
18
|
goToOrderDetails: (row: CustomerOrdersFromProviderParams, evt: Event) => void;
|
|
18
19
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
20
|
router: Router;
|
|
20
21
|
route: RouteLocationNormalizedLoaded;
|
|
21
22
|
exibitionMode: ExibitionModeEnum;
|
|
23
|
+
isReadOnly: boolean;
|
|
22
24
|
}>>> & Readonly<{
|
|
23
25
|
onGoToOrderDetails?: ((row: CustomerOrdersFromProviderParams, evt: Event) => any) | undefined;
|
|
24
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6
6
|
externalSystemTypeValues: string[];
|
|
7
7
|
exibitionMode: ExibitionModeEnum;
|
|
8
8
|
externalSystemClients: GetResellerExternalClientsPayload[];
|
|
9
|
+
isReadOnly: boolean;
|
|
9
10
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
updateQueryStringFromFilter: (routeQuery: object) => void;
|
|
11
12
|
goToSubscriptionDetails: (row: SubscriptionGqlModel, evt: Event) => void;
|
|
@@ -15,6 +16,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
16
|
externalSystemTypeValues: string[];
|
|
16
17
|
exibitionMode: ExibitionModeEnum;
|
|
17
18
|
externalSystemClients: GetResellerExternalClientsPayload[];
|
|
19
|
+
isReadOnly: boolean;
|
|
18
20
|
}>>> & Readonly<{
|
|
19
21
|
onUpdateQueryStringFromFilter?: ((routeQuery: object) => any) | undefined;
|
|
20
22
|
onCustomerRowClick?: ((value: SubscriptionGqlModel, evt: Event) => any) | undefined;
|
package/dist/types/components/CloudChannel/Pages/Subscription/SubscriptionNotesComponent.vue.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
type: NumberConstructor;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
|
+
isReadOnly: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
10
14
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
15
|
saved: (...args: any[]) => void;
|
|
12
16
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -18,9 +22,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18
22
|
type: NumberConstructor;
|
|
19
23
|
required: true;
|
|
20
24
|
};
|
|
25
|
+
isReadOnly: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
21
29
|
}>> & Readonly<{
|
|
22
30
|
onSaved?: ((...args: any[]) => any) | undefined;
|
|
23
31
|
}>, {
|
|
32
|
+
isReadOnly: boolean;
|
|
24
33
|
notes: string;
|
|
25
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
35
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import { ExibitionModeEnum } from '@/types/ExibitionModeEnum';
|
|
|
2
2
|
import { QTablePaginationType } from '@/types/QuasarQTablePaginationType';
|
|
3
3
|
import { SubscriptionsTableFiltersType } from './SubscriptionsTableFilters.vue';
|
|
4
4
|
import { SubscriptionGqlModel, SubscriptionSummary } from '@/api-clients/generated/graphql';
|
|
5
|
+
import { SubscriptionModelGraphQlLocal } from './SubscriptionDetailsTypes';
|
|
5
6
|
export type GetSubscriptionsForIndexPageFilter = {
|
|
6
7
|
customerName?: string;
|
|
7
8
|
subscriptionName?: string;
|
|
@@ -18,13 +19,16 @@ export type GetSubscriptionsForIndexPageFilter = {
|
|
|
18
19
|
descending: boolean;
|
|
19
20
|
};
|
|
20
21
|
declare function fetchSubscriptions(paginationReq: QTablePaginationType, filters?: SubscriptionsTableFiltersType): Promise<void>;
|
|
22
|
+
declare function fetchAllSubscriptionsForExport(): Promise<SubscriptionModelGraphQlLocal[]>;
|
|
21
23
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
22
24
|
filters?: SubscriptionsTableFiltersType | undefined;
|
|
23
25
|
mode: ExibitionModeEnum;
|
|
24
26
|
providerCustomerId?: string | undefined;
|
|
25
27
|
cspCentralisedCustomerId?: number | undefined;
|
|
28
|
+
isReadOnly: boolean;
|
|
26
29
|
}>>, {
|
|
27
30
|
fetchSubscriptions: typeof fetchSubscriptions;
|
|
31
|
+
fetchAllSubscriptionsForExport: typeof fetchAllSubscriptionsForExport;
|
|
28
32
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
33
|
rowClick: (value: SubscriptionGqlModel, evt: Event) => void;
|
|
30
34
|
customerRowClick: (value: SubscriptionGqlModel, evt: Event) => void;
|
|
@@ -35,6 +39,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
35
39
|
mode: ExibitionModeEnum;
|
|
36
40
|
providerCustomerId?: string | undefined;
|
|
37
41
|
cspCentralisedCustomerId?: number | undefined;
|
|
42
|
+
isReadOnly: boolean;
|
|
38
43
|
}>>> & Readonly<{
|
|
39
44
|
onRowClick?: ((value: SubscriptionGqlModel, evt: Event) => any) | undefined;
|
|
40
45
|
onCustomerRowClick?: ((value: SubscriptionGqlModel, evt: Event) => any) | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -55,11 +55,12 @@ import DynamicCloudProviderPage from './components/CloudChannel/Pages/CloudProvi
|
|
|
55
55
|
import { brandPageStore } from './components/CloudChannel/Pages/Brands/BrandPageStore';
|
|
56
56
|
import { cloudProvidersStore } from './components/CloudChannel/Pages/CloudProviders/CloudProvidersStore';
|
|
57
57
|
import { ProductVariantResult } from '@/api-clients/SearchApiClient';
|
|
58
|
+
import EnhancedTable from './components/CloudChannel/Common/EnhancedTable.vue';
|
|
58
59
|
import { useCategoryStore, CategoriesResponse, Category, CategoryTreeNode } from './components/CategorySearch/CategoryStore';
|
|
59
60
|
import { Brand } from './components/BrandSearch/BrandStore';
|
|
60
61
|
import { SearchRequest, SearchResult, Filter, FilterRequest, FilterResponse, Product, Value, useSearchStore } from './components/ProductSearch/SearchStore';
|
|
61
62
|
declare const SinchPlugin: {
|
|
62
63
|
install: (app: App) => void;
|
|
63
64
|
};
|
|
64
|
-
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, SubscriptionsTableVue, SubscriptionOrderDetailsVue, SubscriptionOderHistoryDialogVue, SubscriptionOrderHistoriesVue, SubscriptionOrderHistoriesLastEntryVue, SubscriptionOrdersListVue, SubscriptionsTableFiltersVue, ContactUsVue, BasketItemsTableVue, BasketDataClient, CustomerDetailsSectionVue, QuoteDetailsVue, QuoteIndexVue, QuoteDataClient, GetRenewalColour, RouterLinkWrapper, OrderParametersInput, hyphenate, ProvidersCatalogue, CategoryDetailsCloud, DynamicBrandPage, DynamicCloudProviderPage, brandPageStore, cloudProvidersStore };
|
|
65
|
+
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, SubscriptionsTableVue, SubscriptionOrderDetailsVue, SubscriptionOderHistoryDialogVue, SubscriptionOrderHistoriesVue, SubscriptionOrderHistoriesLastEntryVue, SubscriptionOrdersListVue, SubscriptionsTableFiltersVue, ContactUsVue, BasketItemsTableVue, BasketDataClient, CustomerDetailsSectionVue, QuoteDetailsVue, QuoteIndexVue, QuoteDataClient, GetRenewalColour, RouterLinkWrapper, OrderParametersInput, hyphenate, ProvidersCatalogue, CategoryDetailsCloud, DynamicBrandPage, DynamicCloudProviderPage, brandPageStore, cloudProvidersStore, EnhancedTable };
|
|
65
66
|
export type { SearchRequest, SearchResult, Filter, FilterRequest, FilterResponse, Product, Value, CategoriesResponse, Category, CategoryTreeNode, Brand, DistributorProduct, ColumnVisibility, QuasarQTableColumnType, QTablePaginationType, QTablePaginationRequest, SubscriptionsTableFiltersType, CustomerOrdersFromProviderParams, MainProduct, BasketItemPayloadLocal, ProvidersCatalogProvider, ProductVariantResult };
|