simpo-component-library 0.7.1 → 0.7.3
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/esm2022/lib/directive/content-fit-directive.mjs +2 -2
- package/esm2022/lib/services/events.service.mjs +1 -5
- package/esm2022/public-api.mjs +1 -11
- package/fesm2022/simpo-component-library.mjs +2 -349
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/services/events.service.d.ts +0 -3
- package/package.json +1 -1
- package/public-api.d.ts +0 -9
- package/simpo-component-library-0.7.3.tgz +0 -0
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +0 -61
- package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +0 -2
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +0 -57
- package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +0 -2
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +0 -70
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +0 -2
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +0 -83
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +0 -2
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +0 -94
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +0 -2
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +0 -67
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +0 -2
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +0 -2
- package/esm2022/lib/ecommerce/styles/category.modal.mjs +0 -8
- package/esm2022/lib/ecommerce/styles/product.modal.mjs +0 -2
- package/lib/ecommerce/sections/cart/cart.component.d.ts +0 -20
- package/lib/ecommerce/sections/cart/cart.modal.d.ts +0 -14
- package/lib/ecommerce/sections/checkout/checkout.component.d.ts +0 -22
- package/lib/ecommerce/sections/checkout/checkout.modal.d.ts +0 -18
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +0 -22
- package/lib/ecommerce/sections/featured-category/featured-category.modal.d.ts +0 -14
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +0 -25
- package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +0 -27
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +0 -32
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +0 -18
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +0 -23
- package/lib/ecommerce/sections/product-list/product-list.modal.d.ts +0 -13
- package/lib/ecommerce/styles/cart.modal.d.ts +0 -71
- package/lib/ecommerce/styles/category.modal.d.ts +0 -14
- package/lib/ecommerce/styles/product.modal.d.ts +0 -204
- package/simpo-component-library-0.7.1.tgz +0 -0
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { ItemVariant } from "./product.modal";
|
|
2
|
-
export interface Cart {
|
|
3
|
-
cartId: string;
|
|
4
|
-
pgOrderId: string;
|
|
5
|
-
orderedItems: OrderedItem[];
|
|
6
|
-
billdetails: Billdetails;
|
|
7
|
-
platform: string;
|
|
8
|
-
locationDetails: LocationDetails;
|
|
9
|
-
userDetails: UserDetails;
|
|
10
|
-
createdTimeStamp: string;
|
|
11
|
-
}
|
|
12
|
-
export interface OrderedItem {
|
|
13
|
-
itemId: string;
|
|
14
|
-
businessId: string;
|
|
15
|
-
itemName: string;
|
|
16
|
-
brandName: string;
|
|
17
|
-
imgUrl: string;
|
|
18
|
-
price: number;
|
|
19
|
-
itemTax: number;
|
|
20
|
-
quantity: number;
|
|
21
|
-
cancelledQuantity: number;
|
|
22
|
-
discountedPrice: number;
|
|
23
|
-
taxAfterDiscount: number;
|
|
24
|
-
itemVariant: ItemVariant;
|
|
25
|
-
orderedItemStatus: string;
|
|
26
|
-
itemDistributorType: string;
|
|
27
|
-
}
|
|
28
|
-
export interface Billdetails {
|
|
29
|
-
totalNetValue: number;
|
|
30
|
-
totalGrossValue: number;
|
|
31
|
-
totalTax: number;
|
|
32
|
-
totalOfferedValue: number;
|
|
33
|
-
cgstValue: number;
|
|
34
|
-
sgstValue: number;
|
|
35
|
-
igstValue: number;
|
|
36
|
-
deliveryCharges: number;
|
|
37
|
-
couponId: string;
|
|
38
|
-
}
|
|
39
|
-
export interface LocationDetails {
|
|
40
|
-
countryId: string;
|
|
41
|
-
cityId: string;
|
|
42
|
-
stateId: string;
|
|
43
|
-
localityId: string;
|
|
44
|
-
countryName: string;
|
|
45
|
-
cityName: string;
|
|
46
|
-
localityName: string;
|
|
47
|
-
stateName: string;
|
|
48
|
-
}
|
|
49
|
-
export interface UserDetails {
|
|
50
|
-
userId: string;
|
|
51
|
-
userName: string;
|
|
52
|
-
mobile: string;
|
|
53
|
-
email: string;
|
|
54
|
-
deliveryAddress: DeliveryAddress;
|
|
55
|
-
}
|
|
56
|
-
export interface DeliveryAddress {
|
|
57
|
-
countryName: string;
|
|
58
|
-
stateName: string;
|
|
59
|
-
cityName: string;
|
|
60
|
-
localityName: string;
|
|
61
|
-
addressLine1: string;
|
|
62
|
-
addressLine2: string;
|
|
63
|
-
landmark: string;
|
|
64
|
-
zipCode: string;
|
|
65
|
-
geolocation: Geolocation;
|
|
66
|
-
stateCode: string;
|
|
67
|
-
}
|
|
68
|
-
export interface Geolocation {
|
|
69
|
-
latitude: number;
|
|
70
|
-
longitude: number;
|
|
71
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CreatedDetails } from "./product.modal";
|
|
2
|
-
export interface Category {
|
|
3
|
-
categoryId: string;
|
|
4
|
-
storeId: string[];
|
|
5
|
-
businessId: string;
|
|
6
|
-
categoryName: string;
|
|
7
|
-
description: string;
|
|
8
|
-
imgUrl: string[];
|
|
9
|
-
showInWebsite: boolean;
|
|
10
|
-
featuredCategory: boolean;
|
|
11
|
-
otherDetails: any;
|
|
12
|
-
createdDetails: CreatedDetails;
|
|
13
|
-
active: boolean;
|
|
14
|
-
}
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
export interface Product {
|
|
2
|
-
itemId: string;
|
|
3
|
-
businessId: string;
|
|
4
|
-
storeId: string[];
|
|
5
|
-
name: string;
|
|
6
|
-
itemCategorisation: ItemCategorisation;
|
|
7
|
-
itemInventory: ItemInventory;
|
|
8
|
-
itemStatus: string;
|
|
9
|
-
itemType: string;
|
|
10
|
-
itemVariant: ItemVariant[];
|
|
11
|
-
itemImages: ItemImage[];
|
|
12
|
-
itemPacks: ItemPack2[];
|
|
13
|
-
addOnToItem: AddOnToItem[];
|
|
14
|
-
properties: any;
|
|
15
|
-
unit: Unit;
|
|
16
|
-
price: Price;
|
|
17
|
-
createdDetails: CreatedDetails2;
|
|
18
|
-
availableOnline: boolean;
|
|
19
|
-
categoryId: string;
|
|
20
|
-
fulfillmentId: string;
|
|
21
|
-
locationId: string;
|
|
22
|
-
descriptor: Descriptor;
|
|
23
|
-
rating: number;
|
|
24
|
-
returnWindow: number;
|
|
25
|
-
timeToShip: number;
|
|
26
|
-
rateable: boolean;
|
|
27
|
-
matched: boolean;
|
|
28
|
-
related: boolean;
|
|
29
|
-
recommended: boolean;
|
|
30
|
-
returnable: boolean;
|
|
31
|
-
active: boolean;
|
|
32
|
-
cancellable: boolean;
|
|
33
|
-
sellerReturnPickUp: boolean;
|
|
34
|
-
availableOnCod: boolean;
|
|
35
|
-
createdTimeStamp: string;
|
|
36
|
-
updatedTimeStamp: string;
|
|
37
|
-
}
|
|
38
|
-
export interface ItemCategorisation {
|
|
39
|
-
itemCategories: ItemCategory[];
|
|
40
|
-
productTags: ProductTag[];
|
|
41
|
-
itemCollection: ItemCollection[];
|
|
42
|
-
}
|
|
43
|
-
export interface ItemCategory {
|
|
44
|
-
refId: string;
|
|
45
|
-
refName: string;
|
|
46
|
-
imgUrl: string;
|
|
47
|
-
maxQuantity: number;
|
|
48
|
-
price: number;
|
|
49
|
-
}
|
|
50
|
-
export interface ProductTag {
|
|
51
|
-
tagId: string;
|
|
52
|
-
businessId: string;
|
|
53
|
-
storeId: string[];
|
|
54
|
-
collectionId: string;
|
|
55
|
-
subCategoryId: string;
|
|
56
|
-
categoryId: string;
|
|
57
|
-
itemId: string;
|
|
58
|
-
tagName: string;
|
|
59
|
-
active: boolean;
|
|
60
|
-
otherDetails: any;
|
|
61
|
-
createdDetails: CreatedDetails;
|
|
62
|
-
}
|
|
63
|
-
export interface CreatedDetails {
|
|
64
|
-
createdById: string;
|
|
65
|
-
createdByName: string;
|
|
66
|
-
createdTimeStamp: string;
|
|
67
|
-
updatedTimeStamp: string;
|
|
68
|
-
}
|
|
69
|
-
export interface ItemCollection {
|
|
70
|
-
refId: string;
|
|
71
|
-
refName: string;
|
|
72
|
-
imgUrl: string;
|
|
73
|
-
maxQuantity: number;
|
|
74
|
-
price: number;
|
|
75
|
-
}
|
|
76
|
-
export interface ItemInventory {
|
|
77
|
-
openingStock: number;
|
|
78
|
-
sku: string;
|
|
79
|
-
barcode: string;
|
|
80
|
-
presentStockDate: string;
|
|
81
|
-
lowStockAlert: boolean;
|
|
82
|
-
lowStockQuantity: number;
|
|
83
|
-
}
|
|
84
|
-
export interface ItemVariant {
|
|
85
|
-
variantId: string;
|
|
86
|
-
itemId: string;
|
|
87
|
-
variantName: string;
|
|
88
|
-
variantImages: VariantImage[];
|
|
89
|
-
itemPacks: ItemPack[];
|
|
90
|
-
properties: any;
|
|
91
|
-
itemVariantPrice: ItemVariantPrice;
|
|
92
|
-
itemInventory: ItemInventory2;
|
|
93
|
-
itemStatus: string;
|
|
94
|
-
}
|
|
95
|
-
export interface VariantImage {
|
|
96
|
-
imgUrl: string;
|
|
97
|
-
imgDesc: string;
|
|
98
|
-
}
|
|
99
|
-
export interface ItemPack {
|
|
100
|
-
itemPackId: string;
|
|
101
|
-
packName: string;
|
|
102
|
-
active: boolean;
|
|
103
|
-
actualPrice: number;
|
|
104
|
-
offeredPrice: number;
|
|
105
|
-
packQuantity: number;
|
|
106
|
-
maxOrderQuantity: number;
|
|
107
|
-
}
|
|
108
|
-
export interface ItemVariantPrice {
|
|
109
|
-
currency: string;
|
|
110
|
-
value: number;
|
|
111
|
-
estimatedValue: number;
|
|
112
|
-
computedValue: number;
|
|
113
|
-
listedValue: number;
|
|
114
|
-
offeredValue: number;
|
|
115
|
-
minimumValue: number;
|
|
116
|
-
maximumValue: number;
|
|
117
|
-
purchasePrice: number;
|
|
118
|
-
wholeSalePrice: number;
|
|
119
|
-
maxWholeSaleLimit: number;
|
|
120
|
-
margin: number;
|
|
121
|
-
profit: number;
|
|
122
|
-
discountedPrice: number;
|
|
123
|
-
taxRef: TaxRef;
|
|
124
|
-
taxAmount: number;
|
|
125
|
-
sellingPrice: number;
|
|
126
|
-
}
|
|
127
|
-
export interface TaxRef {
|
|
128
|
-
taxId: string;
|
|
129
|
-
taxPercent: number;
|
|
130
|
-
}
|
|
131
|
-
export interface ItemInventory2 {
|
|
132
|
-
openingStock: number;
|
|
133
|
-
sku: string;
|
|
134
|
-
barcode: string;
|
|
135
|
-
presentStockDate: string;
|
|
136
|
-
lowStockAlert: boolean;
|
|
137
|
-
lowStockQuantity: number;
|
|
138
|
-
}
|
|
139
|
-
export interface ItemImage {
|
|
140
|
-
imgUrl: string;
|
|
141
|
-
imgDesc: string;
|
|
142
|
-
}
|
|
143
|
-
export interface ItemPack2 {
|
|
144
|
-
itemPackId: string;
|
|
145
|
-
packName: string;
|
|
146
|
-
active: boolean;
|
|
147
|
-
actualPrice: number;
|
|
148
|
-
offeredPrice: number;
|
|
149
|
-
packQuantity: number;
|
|
150
|
-
maxOrderQuantity: number;
|
|
151
|
-
}
|
|
152
|
-
export interface AddOnToItem {
|
|
153
|
-
refId: string;
|
|
154
|
-
refName: string;
|
|
155
|
-
imgUrl: string;
|
|
156
|
-
maxQuantity: number;
|
|
157
|
-
price: number;
|
|
158
|
-
}
|
|
159
|
-
export interface Unit {
|
|
160
|
-
id: string;
|
|
161
|
-
key: string;
|
|
162
|
-
value: string;
|
|
163
|
-
}
|
|
164
|
-
export interface Price {
|
|
165
|
-
currency: string;
|
|
166
|
-
value: number;
|
|
167
|
-
estimatedValue: number;
|
|
168
|
-
computedValue: number;
|
|
169
|
-
listedValue: number;
|
|
170
|
-
offeredValue: number;
|
|
171
|
-
minimumValue: number;
|
|
172
|
-
maximumValue: number;
|
|
173
|
-
purchasePrice: number;
|
|
174
|
-
wholeSalePrice: number;
|
|
175
|
-
maxWholeSaleLimit: number;
|
|
176
|
-
margin: number;
|
|
177
|
-
profit: number;
|
|
178
|
-
discountedPrice: number;
|
|
179
|
-
taxRef: TaxRef2;
|
|
180
|
-
taxAmount: number;
|
|
181
|
-
sellingPrice: number;
|
|
182
|
-
}
|
|
183
|
-
export interface TaxRef2 {
|
|
184
|
-
taxId: string;
|
|
185
|
-
taxPercent: number;
|
|
186
|
-
}
|
|
187
|
-
export interface CreatedDetails2 {
|
|
188
|
-
createdById: string;
|
|
189
|
-
createdByName: string;
|
|
190
|
-
createdTimeStamp: string;
|
|
191
|
-
updatedTimeStamp: string;
|
|
192
|
-
}
|
|
193
|
-
export interface Descriptor {
|
|
194
|
-
name: string;
|
|
195
|
-
code: string;
|
|
196
|
-
symbol: string;
|
|
197
|
-
shortDesc: string;
|
|
198
|
-
longDesc: string;
|
|
199
|
-
itemImages: ItemImage2[];
|
|
200
|
-
}
|
|
201
|
-
export interface ItemImage2 {
|
|
202
|
-
imgUrl: string;
|
|
203
|
-
imgDesc: string;
|
|
204
|
-
}
|
|
Binary file
|