@qssolutions/ssas-registration-form 1.0.6 → 1.0.8
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/README.md +17 -8
- package/dist/index.esm.js +1216 -785
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1216 -785
- package/dist/index.js.map +1 -1
- package/dist/models/config.d.ts +1 -1
- package/dist/services/ApiService.d.ts +4 -2
- package/dist/services/ApiService.d.ts.map +1 -1
- package/dist/styles/defaultStyles.d.ts +9 -0
- package/dist/styles/defaultStyles.d.ts.map +1 -1
- package/dist/utils/constants.d.ts +4 -4
- package/dist/web-component.js +1376 -834
- package/dist/web-component.js.map +1 -1
- package/dist/web-component.min.js +4 -4
- package/dist/web-component.min.js.map +1 -1
- package/package.json +1 -1
package/dist/models/config.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
export type SupportedLanguage = 'en' | 'fr' | 'de' | 'it' | 'ja' | 'ko' | 'pt' | 'es' | 'nl' | 'ar' | 'he' | 'pt-br' | 'tr' | 'id' | 'th' | 'vi' | 'pl';
|
|
3
3
|
export interface FormLibraryConfig {
|
|
4
|
-
|
|
4
|
+
partnerGuid: string;
|
|
5
5
|
apiBaseUrl?: string;
|
|
6
6
|
languageCode?: SupportedLanguage;
|
|
7
7
|
theme?: {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { IUser, ICountry, IOrgSize, IIndustry, IPartnerModel, IFormScreenTranslate } from "../models/index";
|
|
2
2
|
export declare class ApiService {
|
|
3
3
|
private baseUrl;
|
|
4
|
-
|
|
4
|
+
private axios;
|
|
5
|
+
private axiosPlain;
|
|
6
|
+
constructor(baseUrl: string, partnerGuid?: string);
|
|
5
7
|
private getUrl;
|
|
6
8
|
/**
|
|
7
9
|
* Add a new user
|
|
@@ -36,7 +38,7 @@ export declare class ApiService {
|
|
|
36
38
|
* Get partner by name
|
|
37
39
|
* Extracts name from the baseUrl automatically and cleans it
|
|
38
40
|
*/
|
|
39
|
-
|
|
41
|
+
getPartnerByGuid(partnerGuid: string): Promise<IPartnerModel>;
|
|
40
42
|
/**
|
|
41
43
|
* Get localization data for FormScreen by language code and partner ID
|
|
42
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiService.d.ts","sourceRoot":"","sources":["../../src/services/ApiService.ts"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,EAEL,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,aAAa,EACb,oBAAoB,EACvB,MAAM,iBAAiB,CAAA;AAGxB,qBAAa,UAAU;IACnB,OAAO,CAAC,OAAO,CAAQ;
|
|
1
|
+
{"version":3,"file":"ApiService.d.ts","sourceRoot":"","sources":["../../src/services/ApiService.ts"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,EAEL,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,aAAa,EACb,oBAAoB,EACvB,MAAM,iBAAiB,CAAA;AAGxB,qBAAa,UAAU;IACnB,OAAO,CAAC,OAAO,CAAQ;IACvB,OAAO,CAAC,KAAK,CAAe;IAC5B,OAAO,CAAC,UAAU,CAAe;gBAErB,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM;IAcjD,OAAO,CAAC,MAAM;IAMd;;OAEG;IACG,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IActF;;OAEG;IACG,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IA2B1E;;OAEG;IACG,YAAY,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAsCzC;;OAEG;IACG,sBAAsB,IAAI,OAAO,CAAC,OAAO,CAAC;IAgBhD;;OAEG;IACG,WAAW,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IA+BxC;;OAEG;IACG,aAAa,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;IAwB3C;;;OAGG;IACG,kBAAkB,IAAI,OAAO,CAAC,aAAa,CAAC;IAkClD;;;OAGG;IACG,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAwBnE;;OAEG;IACG,yBAAyB,CAC3B,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,GAClB,OAAO,CAAC,oBAAoB,CAAC;CAyBnC"}
|
|
@@ -22,6 +22,15 @@ export declare const createFormStyles: (primaryColor?: string, fonts?: FontConfi
|
|
|
22
22
|
padding: string;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
+
thankyouTopWrapper: {
|
|
26
|
+
display: string;
|
|
27
|
+
flexDirection: string;
|
|
28
|
+
alignItems: string;
|
|
29
|
+
padding: string;
|
|
30
|
+
'@media (max-width: 768px)': {
|
|
31
|
+
padding: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
25
34
|
formWrapper: {
|
|
26
35
|
backgroundColor: string;
|
|
27
36
|
minWidth: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultStyles.d.ts","sourceRoot":"","sources":["../../src/styles/defaultStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,oBAAoB,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE9H,MAAM,WAAW,UAAU;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QACJ,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACL;AAED,eAAO,MAAM,gBAAgB,GAAI,eAAc,MAAkB,EAAE,QAAQ,UAAU,EAAE,kBAAiB,MAAkB
|
|
1
|
+
{"version":3,"file":"defaultStyles.d.ts","sourceRoot":"","sources":["../../src/styles/defaultStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,oBAAoB,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE9H,MAAM,WAAW,UAAU;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QACJ,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACL;AAED,eAAO,MAAM,gBAAgB,GAAI,eAAc,MAAkB,EAAE,QAAQ,UAAU,EAAE,kBAAiB,MAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuFzH,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,QAAQ,UAAU,MAAM,QAAQ,oBAAoB,KAAG,OAAO,CAAC,gBAAgB,CA6B9G,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,QAAQ,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BhD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,QAAQ,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;CA6BhD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,OAAO,EAAE,eAAc,MAAkB,EAAE,QAAQ,UAAU,KAAG,OAAO,CAAC,kBAAkB,CAyClI,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,eAAc,MAAkB,EAAE,QAAQ,UAAU,KAAG,OAAO,CAAC,eAAe,CA4B5G,CAAC"}
|
|
@@ -62,12 +62,12 @@ export declare const DEFAULT_TRANSLATIONS: {
|
|
|
62
62
|
export declare const API_ENDPOINTS: {
|
|
63
63
|
readonly ADD_USER: "/user/add-from-partner";
|
|
64
64
|
readonly VALIDATE_EMAIL: "/user/validate";
|
|
65
|
-
readonly GET_COUNTRIES: "/
|
|
65
|
+
readonly GET_COUNTRIES: "/form-library/country-list";
|
|
66
66
|
readonly CHECK_MAINTENANCE: "/app-configuration/maintenance-status";
|
|
67
|
-
readonly GET_ORG_SIZES: "/
|
|
68
|
-
readonly GET_INDUSTRIES: "/
|
|
67
|
+
readonly GET_ORG_SIZES: "/form-library/orgsizing-list";
|
|
68
|
+
readonly GET_INDUSTRIES: "/form-library/industry-list";
|
|
69
69
|
readonly GET_PARTNER: "/partner/get";
|
|
70
|
-
readonly
|
|
70
|
+
readonly GET_PARTNER_BY_GUID: "/partner/get-by-guid";
|
|
71
71
|
readonly GET_LOCALIZATION: "/localization/get";
|
|
72
72
|
};
|
|
73
73
|
//# sourceMappingURL=constants.d.ts.map
|