@redneckz/wildless-cms-uni-blocks 0.14.720 → 0.14.721
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/bundle/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/bundle/bundle.umd.js +12 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/lib/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/mobile/bundle/bundle.umd.js +12 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +9 -0
- package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +11 -0
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/src/api/RetailAPI/updateUserTask.ts +10 -0
- package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +15 -1
- package/package.json +1 -1
- package/src/api/RetailAPI/updateUserTask.ts +10 -0
- package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +15 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Option } from '../../ui-kit/Select/Option';
|
|
2
|
+
import { type Nullable } from '../../utils/Nullable';
|
|
2
3
|
declare type ParticipantAddress = {
|
|
3
4
|
addressType: {
|
|
4
5
|
key: 'REGISTRATION' | 'RESIDENTAL' | 'WORK';
|
|
@@ -98,6 +99,13 @@ export declare type Participant = {
|
|
|
98
99
|
classCard?: Option;
|
|
99
100
|
codeWord?: string;
|
|
100
101
|
};
|
|
102
|
+
export declare type MarketingInfo = {
|
|
103
|
+
utm_campaign?: Nullable<string>;
|
|
104
|
+
utm_medium?: Nullable<string>;
|
|
105
|
+
utm_source?: Nullable<string>;
|
|
106
|
+
utm_content?: Nullable<string>;
|
|
107
|
+
utm_term?: Nullable<string>;
|
|
108
|
+
};
|
|
101
109
|
export declare type UpdateUserTaskBody = {
|
|
102
110
|
sendToBank: boolean;
|
|
103
111
|
taskKind: 'SHORT' | 'FULL' | 'UNITED';
|
|
@@ -120,6 +128,7 @@ export declare type UpdateUserTaskBody = {
|
|
|
120
128
|
loanAmount?: number;
|
|
121
129
|
creditPeriod?: number;
|
|
122
130
|
paymentTypeCd?: PaymentType;
|
|
131
|
+
marketingInfo?: MarketingInfo;
|
|
123
132
|
};
|
|
124
133
|
};
|
|
125
134
|
export declare type CreateUserProfileResponse = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserTask.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserTask.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"updateUserTask.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserTask.ts"],"names":[],"mappings":";;AAEA,2CAAwC;AAuJjC,MAAM,cAAc,GAAG,CAAC,IAAwB,EAAE,EAAE,CACzD,IAAA,qBAAS,EAAC,2BAA2B,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AADzC,QAAA,cAAc,kBAC2B"}
|
|
@@ -33,8 +33,19 @@ const getLeadFormTaskData = ({ participantId, taskId, profileId, formData, }) =>
|
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
],
|
|
36
|
+
marketingInfo: getMarketingInfo(),
|
|
36
37
|
},
|
|
37
38
|
};
|
|
38
39
|
};
|
|
39
40
|
exports.getLeadFormTaskData = getLeadFormTaskData;
|
|
41
|
+
const getMarketingInfo = () => {
|
|
42
|
+
const params = new URLSearchParams(decodeURIComponent(globalThis.location?.search));
|
|
43
|
+
return {
|
|
44
|
+
utm_campaign: params.get('utm_campaign'),
|
|
45
|
+
utm_medium: params.get('utm_medium'),
|
|
46
|
+
utm_source: params.get('utm_source'),
|
|
47
|
+
utm_content: params.get('utm_content'),
|
|
48
|
+
utm_term: params.get('utm_term'),
|
|
49
|
+
};
|
|
50
|
+
};
|
|
40
51
|
//# sourceMappingURL=getLeadFormTaskData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLeadFormTaskData.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/getLeadFormTaskData.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getLeadFormTaskData.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/getLeadFormTaskData.ts"],"names":[],"mappings":";;AAEA,wEAAqE;AACrE,uDAAoD;AACpD,yDAAsD;AACtD,+CAA6D;AAUtD,MAAM,mBAAmB,GAAG,CAAC,EAClC,aAAa,EACb,MAAM,EACN,SAAS,EACT,QAAQ,GACiB,EAAsB,EAAE;IACjD,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;IAC9E,MAAM,SAAS,GAAG,IAAA,qCAAiB,GAAE,CAAC;IAEtC,OAAO;QACL,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE;YACJ,UAAU,EAAE,SAAS,CAAC,MAAM;YAC5B,EAAE,EAAE,MAAM;YACV,YAAY,EAAE;gBACZ;oBACE,SAAS,EAAE,eAAe,IAAI,IAAA,uBAAU,EAAC,eAAe,EAAE,IAAI,CAAC;oBAC/D,EAAE,EAAE,aAAa;oBACjB,OAAO,EAAE,UAAU;oBACnB,IAAI;oBACJ,OAAO;oBACP,OAAO,EAAE;wBACP,EAAE,EAAE,SAAS;qBACd;oBACD,mBAAmB,EAAE,IAAA,8BAAsB,EAAC;wBAC1C,KAAK,EAAE,KAAK,IAAI,IAAA,yBAAW,EAAC,KAAK,CAAC;wBAClC,KAAK;qBACN,CAAC;oBACF,MAAM,EAAE;wBACN,GAAG,EAAE,UAAU;wBACf,KAAK,EAAE,SAAS;qBACjB;iBACF;aACF;YACD,aAAa,EAAE,gBAAgB,EAAE;SAClC;KACF,CAAC;AACJ,CAAC,CAAC;AAtCW,QAAA,mBAAmB,uBAsC9B;AAEF,MAAM,gBAAgB,GAAG,GAAkB,EAAE;IAC3C,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IAEpF,OAAO;QACL,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;QACpC,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;QACpC,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC;QACtC,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC;KACjC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Option } from '../../ui-kit/Select/Option';
|
|
2
|
+
import { type Nullable } from '../../utils/Nullable';
|
|
2
3
|
declare type ParticipantAddress = {
|
|
3
4
|
addressType: {
|
|
4
5
|
key: 'REGISTRATION' | 'RESIDENTAL' | 'WORK';
|
|
@@ -98,6 +99,13 @@ export declare type Participant = {
|
|
|
98
99
|
classCard?: Option;
|
|
99
100
|
codeWord?: string;
|
|
100
101
|
};
|
|
102
|
+
export declare type MarketingInfo = {
|
|
103
|
+
utm_campaign?: Nullable<string>;
|
|
104
|
+
utm_medium?: Nullable<string>;
|
|
105
|
+
utm_source?: Nullable<string>;
|
|
106
|
+
utm_content?: Nullable<string>;
|
|
107
|
+
utm_term?: Nullable<string>;
|
|
108
|
+
};
|
|
101
109
|
export declare type UpdateUserTaskBody = {
|
|
102
110
|
sendToBank: boolean;
|
|
103
111
|
taskKind: 'SHORT' | 'FULL' | 'UNITED';
|
|
@@ -120,6 +128,7 @@ export declare type UpdateUserTaskBody = {
|
|
|
120
128
|
loanAmount?: number;
|
|
121
129
|
creditPeriod?: number;
|
|
122
130
|
paymentTypeCd?: PaymentType;
|
|
131
|
+
marketingInfo?: MarketingInfo;
|
|
123
132
|
};
|
|
124
133
|
};
|
|
125
134
|
export declare type CreateUserProfileResponse = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserTask.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserTask.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"updateUserTask.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserTask.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAuJxC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAwB,EAAE,EAAE,CACzD,SAAS,CAAC,2BAA2B,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -31,7 +31,18 @@ export const getLeadFormTaskData = ({ participantId, taskId, profileId, formData
|
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
],
|
|
34
|
+
marketingInfo: getMarketingInfo(),
|
|
34
35
|
},
|
|
35
36
|
};
|
|
36
37
|
};
|
|
38
|
+
const getMarketingInfo = () => {
|
|
39
|
+
const params = new URLSearchParams(decodeURIComponent(globalThis.location?.search));
|
|
40
|
+
return {
|
|
41
|
+
utm_campaign: params.get('utm_campaign'),
|
|
42
|
+
utm_medium: params.get('utm_medium'),
|
|
43
|
+
utm_source: params.get('utm_source'),
|
|
44
|
+
utm_content: params.get('utm_content'),
|
|
45
|
+
utm_term: params.get('utm_term'),
|
|
46
|
+
};
|
|
47
|
+
};
|
|
37
48
|
//# sourceMappingURL=getLeadFormTaskData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLeadFormTaskData.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/getLeadFormTaskData.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getLeadFormTaskData.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/getLeadFormTaskData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAU7D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EAClC,aAAa,EACb,MAAM,EACN,SAAS,EACT,QAAQ,GACiB,EAAsB,EAAE;IACjD,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;IAC9E,MAAM,SAAS,GAAG,iBAAiB,EAAE,CAAC;IAEtC,OAAO;QACL,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE;YACJ,UAAU,EAAE,SAAS,CAAC,MAAM;YAC5B,EAAE,EAAE,MAAM;YACV,YAAY,EAAE;gBACZ;oBACE,SAAS,EAAE,eAAe,IAAI,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC;oBAC/D,EAAE,EAAE,aAAa;oBACjB,OAAO,EAAE,UAAU;oBACnB,IAAI;oBACJ,OAAO;oBACP,OAAO,EAAE;wBACP,EAAE,EAAE,SAAS;qBACd;oBACD,mBAAmB,EAAE,sBAAsB,CAAC;wBAC1C,KAAK,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC;wBAClC,KAAK;qBACN,CAAC;oBACF,MAAM,EAAE;wBACN,GAAG,EAAE,UAAU;wBACf,KAAK,EAAE,SAAS;qBACjB;iBACF;aACF;YACD,aAAa,EAAE,gBAAgB,EAAE;SAClC;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,GAAkB,EAAE;IAC3C,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IAEpF,OAAO;QACL,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC;QACxC,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;QACpC,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;QACpC,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC;QACtC,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC;KACjC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -17,5 +17,5 @@ export interface OfficesAtmsMapLayoutProps<T> {
|
|
|
17
17
|
descriptionData?: AtmsDef;
|
|
18
18
|
title?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare const OfficesAtmsMapLayout: import("@redneckz/uni-jsx").UNIComponent<OfficesAtmsMapLayoutProps<
|
|
20
|
+
export declare const OfficesAtmsMapLayout: import("@redneckz/uni-jsx").UNIComponent<OfficesAtmsMapLayoutProps<Branch | RemoteWorkplace | Atm>, any, any>;
|
|
21
21
|
export declare const getFiltersWithNonEmptyData: (data: (Branch | Atm | RemoteWorkplace)[]) => string[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Option } from '../../ui-kit/Select/Option';
|
|
2
|
+
import { type Nullable } from '../../utils/Nullable';
|
|
2
3
|
declare type ParticipantAddress = {
|
|
3
4
|
addressType: {
|
|
4
5
|
key: 'REGISTRATION' | 'RESIDENTAL' | 'WORK';
|
|
@@ -98,6 +99,13 @@ export declare type Participant = {
|
|
|
98
99
|
classCard?: Option;
|
|
99
100
|
codeWord?: string;
|
|
100
101
|
};
|
|
102
|
+
export declare type MarketingInfo = {
|
|
103
|
+
utm_campaign?: Nullable<string>;
|
|
104
|
+
utm_medium?: Nullable<string>;
|
|
105
|
+
utm_source?: Nullable<string>;
|
|
106
|
+
utm_content?: Nullable<string>;
|
|
107
|
+
utm_term?: Nullable<string>;
|
|
108
|
+
};
|
|
101
109
|
export declare type UpdateUserTaskBody = {
|
|
102
110
|
sendToBank: boolean;
|
|
103
111
|
taskKind: 'SHORT' | 'FULL' | 'UNITED';
|
|
@@ -120,6 +128,7 @@ export declare type UpdateUserTaskBody = {
|
|
|
120
128
|
loanAmount?: number;
|
|
121
129
|
creditPeriod?: number;
|
|
122
130
|
paymentTypeCd?: PaymentType;
|
|
131
|
+
marketingInfo?: MarketingInfo;
|
|
123
132
|
};
|
|
124
133
|
};
|
|
125
134
|
export declare type CreateUserProfileResponse = {
|
|
@@ -5114,9 +5114,20 @@
|
|
|
5114
5114
|
},
|
|
5115
5115
|
},
|
|
5116
5116
|
],
|
|
5117
|
+
marketingInfo: getMarketingInfo(),
|
|
5117
5118
|
},
|
|
5118
5119
|
};
|
|
5119
5120
|
};
|
|
5121
|
+
const getMarketingInfo = () => {
|
|
5122
|
+
const params = new URLSearchParams(decodeURIComponent(globalThis.location?.search));
|
|
5123
|
+
return {
|
|
5124
|
+
utm_campaign: params.get('utm_campaign'),
|
|
5125
|
+
utm_medium: params.get('utm_medium'),
|
|
5126
|
+
utm_source: params.get('utm_source'),
|
|
5127
|
+
utm_content: params.get('utm_content'),
|
|
5128
|
+
utm_term: params.get('utm_term'),
|
|
5129
|
+
};
|
|
5130
|
+
};
|
|
5120
5131
|
|
|
5121
5132
|
const useLeadFormStore = () => useLocalStore();
|
|
5122
5133
|
|
|
@@ -10119,7 +10130,7 @@
|
|
|
10119
10130
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10120
10131
|
});
|
|
10121
10132
|
|
|
10122
|
-
const packageVersion = "0.14.
|
|
10133
|
+
const packageVersion = "0.14.720";
|
|
10123
10134
|
|
|
10124
10135
|
exports.Blocks = Blocks;
|
|
10125
10136
|
exports.ContentPage = ContentPage;
|