simpo-component-library 3.4.8 → 3.5.0
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/ecommerce/sections/product-desc/product-desc.component.mjs +33 -3
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +4 -4
- package/esm2022/lib/ecommerce/styles/product.modal.mjs +6 -1
- package/esm2022/lib/sections/registration-form/registration-form.component.mjs +163 -13
- package/esm2022/lib/services/image-upload-service.service.mjs +2 -2
- package/esm2022/lib/services/rest.service.mjs +21 -6
- package/fesm2022/simpo-component-library.mjs +223 -23
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +4 -0
- package/lib/ecommerce/styles/product.modal.d.ts +5 -0
- package/lib/sections/registration-form/registration-form.component.d.ts +12 -0
- package/lib/services/image-upload-service.service.d.ts +1 -1
- package/lib/services/rest.service.d.ts +4 -0
- package/package.json +1 -1
- package/simpo-component-library-3.5.0.tgz +0 -0
- package/simpo-component-library-3.4.8.tgz +0 -0
@@ -46,11 +46,13 @@ export declare class ProductDescComponent extends BaseSection {
|
|
46
46
|
buttonId?: string;
|
47
47
|
button?: ButtonModel;
|
48
48
|
styles?: ProductDescStylesModal;
|
49
|
+
subIndustryName: string;
|
49
50
|
isItemAsFavorite: boolean;
|
50
51
|
private USER_CART;
|
51
52
|
private USER_WISHLIST;
|
52
53
|
itemImages: ItemImage[];
|
53
54
|
items: MenuItem[] | null;
|
55
|
+
businessDetails: any;
|
54
56
|
ngOnInit(): void;
|
55
57
|
varientLoading: boolean;
|
56
58
|
recentViewItemList: Product[];
|
@@ -84,6 +86,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
84
86
|
get currency(): string;
|
85
87
|
get isItemLowStock(): boolean;
|
86
88
|
get isMobile(): boolean;
|
89
|
+
getCarat(carat: any): "24 Carats" | "22 Carats" | "18 Carats" | "14 Carats" | "10 Carats";
|
90
|
+
getPricePerGram(weight: any, price: any): string | 0;
|
87
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
88
92
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
89
93
|
}
|
@@ -18,6 +18,10 @@ export declare class Product {
|
|
18
18
|
price: Price;
|
19
19
|
prviewIdx: number;
|
20
20
|
whislist: boolean;
|
21
|
+
materials: any;
|
22
|
+
makingChargePercentage: number;
|
23
|
+
jewelleryPrice: number;
|
24
|
+
baseWeight: number;
|
21
25
|
categoryId: string;
|
22
26
|
descriptor: Descriptor;
|
23
27
|
rating: number;
|
@@ -26,6 +30,7 @@ export declare class Product {
|
|
26
30
|
returnable: boolean;
|
27
31
|
availableOnCod: boolean;
|
28
32
|
brief: string;
|
33
|
+
jewelryPriceBreakup: any;
|
29
34
|
constructor(json?: {
|
30
35
|
[key: string]: any;
|
31
36
|
});
|
@@ -39,6 +39,7 @@ export declare class RegistrationFormComponent extends BaseSection implements On
|
|
39
39
|
ngOnDestroy(): void;
|
40
40
|
getFormdata(admissionId: string): void;
|
41
41
|
updateGrade(gradeList: any[], gradeName: any): void;
|
42
|
+
updateAcademicYear(acYearList: any[], acyName: any): void;
|
42
43
|
formatCheckBoxValue(field: any): void;
|
43
44
|
getAllFields(): void;
|
44
45
|
getALLDocumentList(): void;
|
@@ -66,12 +67,23 @@ export declare class RegistrationFormComponent extends BaseSection implements On
|
|
66
67
|
arrangeFeeConfig(feeConfigList: any[]): any;
|
67
68
|
getMaxDate(item: any): string | null;
|
68
69
|
radioButtonChanged(item: any, selectedKey: any, group: any): void;
|
70
|
+
convertOthersAsSecondary(value: any, selectedKey: any, group: any): void;
|
69
71
|
showRelativeFields: boolean;
|
70
72
|
showOrHideFields(value: any, selectedKey: any, group: any): void;
|
71
73
|
uploadParentGuardinaImages(ev: any, field: any): void;
|
72
74
|
updateSelectedImage(ev: any, field: any): void;
|
73
75
|
isImage(fileUrl: string): boolean;
|
74
76
|
getFieldValidation(item: any): boolean;
|
77
|
+
checkDob(item: any): void;
|
78
|
+
nextSiblingNumber: number | null;
|
79
|
+
showAddSiblingsButton(): boolean;
|
80
|
+
addSibling(siblingNumber: any): void;
|
81
|
+
objectKeys: {
|
82
|
+
(o: object): string[];
|
83
|
+
(o: {}): string[];
|
84
|
+
};
|
85
|
+
groupOfSiblings(item: any): any;
|
86
|
+
returnDisplayText(item: any): any;
|
75
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationFormComponent, never>;
|
76
88
|
static ɵcmp: i0.ɵɵComponentDeclaration<RegistrationFormComponent, "simpo-registration-form", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
77
89
|
}
|
@@ -7,7 +7,7 @@ export declare class ImageUplaodService {
|
|
7
7
|
UNSPLASH_API_TOKEN: string;
|
8
8
|
private s3Client?;
|
9
9
|
constructor(http: HttpClient, bucketUrl: any);
|
10
|
-
uploadFileInAzure(file: File, folderName?: string): Promise<
|
10
|
+
uploadFileInAzure(file: File, folderName?: string): Promise<import("@azure/storage-blob").BlockBlobClient | null>;
|
11
11
|
uploadFileInAWS(file: File, folderName?: string): Promise<string>;
|
12
12
|
private fileToArrayBuffer;
|
13
13
|
searchPhotosInUnsplash(searchedText: string, page?: number, size?: number): import("rxjs").Observable<Object>;
|
@@ -13,7 +13,11 @@ export declare class RestService implements OnDestroy {
|
|
13
13
|
private ECOMMERCE_URL;
|
14
14
|
private CMIS_URL;
|
15
15
|
private environmentTypeSubscriber;
|
16
|
+
businessDetails: any;
|
17
|
+
subIndustryName: string;
|
18
|
+
isJewellery: boolean;
|
16
19
|
constructor(http: HttpClient, eventService: EventsService, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string);
|
20
|
+
getBusinessDetails(): void;
|
17
21
|
ngOnDestroy(): void;
|
18
22
|
getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
|
19
23
|
getCategoriesByCollectionId(collectionId: string): Observable<any>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|