@diia-inhouse/design-system 4.19.0 → 4.21.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/dist/generated/analyticsPayload.d.ts +21 -0
- package/dist/generated/analyticsPayload.js +95 -0
- package/dist/generated/analyticsPayload.js.map +1 -0
- package/dist/generated/designSystem/item.d.ts +4 -0
- package/dist/generated/designSystem/item.js +47 -1
- package/dist/generated/designSystem/item.js.map +1 -1
- package/dist/generated/designSystem/molecules/checkboxMlc.d.ts +14 -0
- package/dist/generated/designSystem/molecules/checkboxMlc.js +51 -0
- package/dist/generated/designSystem/molecules/checkboxMlc.js.map +1 -1
- package/dist/generated/designSystem/molecules/photoCardMlc.d.ts +29 -0
- package/dist/generated/designSystem/molecules/photoCardMlc.js +161 -0
- package/dist/generated/designSystem/molecules/photoCardMlc.js.map +1 -0
- package/dist/generated/designSystem/molecules/radioBtnElementMlc.d.ts +45 -0
- package/dist/generated/designSystem/molecules/radioBtnElementMlc.js +287 -0
- package/dist/generated/designSystem/molecules/radioBtnElementMlc.js.map +1 -0
- package/dist/generated/designSystem/organisms/photoCardCarouselOrg.d.ts +31 -0
- package/dist/generated/designSystem/organisms/photoCardCarouselOrg.js +204 -0
- package/dist/generated/designSystem/organisms/photoCardCarouselOrg.js.map +1 -0
- package/dist/generated/index.d.ts +7 -3
- package/dist/generated/index.js +6 -2
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/processData.d.ts +2 -0
- package/dist/generated/processData.js +19 -1
- package/dist/generated/processData.js.map +1 -1
- package/dist/proto/analyticsPayload.proto +12 -0
- package/dist/proto/designSystem/item.proto +4 -0
- package/dist/proto/designSystem/molecules/checkboxMlc.proto +7 -0
- package/dist/proto/designSystem/molecules/photoCardMlc.proto +23 -0
- package/dist/proto/designSystem/molecules/radioBtnElementMlc.proto +32 -0
- package/dist/proto/designSystem/organisms/photoCardCarouselOrg.proto +25 -0
- package/dist/proto/processData.proto +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "ua.gov.diia.types.ds";
|
|
3
|
+
export interface AnalyticsPayload {
|
|
4
|
+
flowName?: string | undefined;
|
|
5
|
+
stepName?: string | undefined;
|
|
6
|
+
resource?: string | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare const AnalyticsPayload: MessageFns<AnalyticsPayload>;
|
|
9
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
10
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
11
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
12
|
+
} : Partial<T>;
|
|
13
|
+
export interface MessageFns<T> {
|
|
14
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
15
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
16
|
+
fromJSON(object: any): T;
|
|
17
|
+
toJSON(message: T): unknown;
|
|
18
|
+
create(base?: DeepPartial<T>): T;
|
|
19
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v2.7.0
|
|
4
|
+
// protoc v5.29.3
|
|
5
|
+
// source: analyticsPayload.proto
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
8
|
+
export const protobufPackage = "ua.gov.diia.types.ds";
|
|
9
|
+
function createBaseAnalyticsPayload() {
|
|
10
|
+
return { flowName: undefined, stepName: undefined, resource: undefined };
|
|
11
|
+
}
|
|
12
|
+
export const AnalyticsPayload = {
|
|
13
|
+
encode(message, writer = new BinaryWriter()) {
|
|
14
|
+
if (message.flowName !== undefined) {
|
|
15
|
+
writer.uint32(10).string(message.flowName);
|
|
16
|
+
}
|
|
17
|
+
if (message.stepName !== undefined) {
|
|
18
|
+
writer.uint32(18).string(message.stepName);
|
|
19
|
+
}
|
|
20
|
+
if (message.resource !== undefined) {
|
|
21
|
+
writer.uint32(26).string(message.resource);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseAnalyticsPayload();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1: {
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.flowName = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
case 2: {
|
|
40
|
+
if (tag !== 18) {
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
message.stepName = reader.string();
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
case 3: {
|
|
47
|
+
if (tag !== 26) {
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
message.resource = reader.string();
|
|
51
|
+
continue;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
reader.skip(tag & 7);
|
|
58
|
+
}
|
|
59
|
+
return message;
|
|
60
|
+
},
|
|
61
|
+
fromJSON(object) {
|
|
62
|
+
return {
|
|
63
|
+
flowName: isSet(object.flowName) ? globalThis.String(object.flowName) : undefined,
|
|
64
|
+
stepName: isSet(object.stepName) ? globalThis.String(object.stepName) : undefined,
|
|
65
|
+
resource: isSet(object.resource) ? globalThis.String(object.resource) : undefined,
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
toJSON(message) {
|
|
69
|
+
const obj = {};
|
|
70
|
+
if (message.flowName !== undefined) {
|
|
71
|
+
obj.flowName = message.flowName;
|
|
72
|
+
}
|
|
73
|
+
if (message.stepName !== undefined) {
|
|
74
|
+
obj.stepName = message.stepName;
|
|
75
|
+
}
|
|
76
|
+
if (message.resource !== undefined) {
|
|
77
|
+
obj.resource = message.resource;
|
|
78
|
+
}
|
|
79
|
+
return obj;
|
|
80
|
+
},
|
|
81
|
+
create(base) {
|
|
82
|
+
return AnalyticsPayload.fromPartial(base ?? {});
|
|
83
|
+
},
|
|
84
|
+
fromPartial(object) {
|
|
85
|
+
const message = createBaseAnalyticsPayload();
|
|
86
|
+
message.flowName = object.flowName ?? undefined;
|
|
87
|
+
message.stepName = object.stepName ?? undefined;
|
|
88
|
+
message.resource = object.resource ?? undefined;
|
|
89
|
+
return message;
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
function isSet(value) {
|
|
93
|
+
return value !== null && value !== undefined;
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=analyticsPayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyticsPayload.js","sourceRoot":"","sources":["../../src/generated/analyticsPayload.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,YAAY;AACZ,gCAAgC;AAChC,iCAAiC;AACjC,iCAAiC;AAEjC,oBAAoB;AACpB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,CAAC,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAQtD,SAAS,0BAA0B;IACjC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;AAC3E,CAAC;AAED,MAAM,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AO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YACnC,GAAG,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,CAAC;QACD,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YACnC,GAAG,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,CAAC;QACD,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YACnC,GAAG,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,IAAoC;QACzC,OAAO,gBAAgB,CAAC,WAAW,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAClD,CAAC;IACD,WAAW,CAAC,MAAqC;QAC/C,MAAM,OAAO,GAAG,0BAA0B,EAAE,CAAC;QAC7C,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,SAAS,CAAC;QAChD,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,SAAS,CAAC;QAChD,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,SAAS,CAAC;QAChD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAUF,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { AnalyticsPayload } from "../analyticsPayload.js";
|
|
2
3
|
import { ProcessDataParams } from "../processData.js";
|
|
3
4
|
import { ArticlePicAtm } from "./atoms/articlePicAtm.js";
|
|
4
5
|
import { BtnAddOptionAtm } from "./atoms/btnAddOptionAtm.js";
|
|
@@ -81,6 +82,7 @@ import { PaginationListOrg } from "./organisms/paginationListOrg.js";
|
|
|
81
82
|
import { PaginationListWhiteOrg } from "./organisms/paginationListWhiteOrg.js";
|
|
82
83
|
import { PaymentInfoOrg } from "./organisms/paymentInfoOrg.js";
|
|
83
84
|
import { PaymentInfoOrgV2 } from "./organisms/paymentInfoOrgV2.js";
|
|
85
|
+
import { PhotoCardCarouselOrg } from "./organisms/photoCardCarouselOrg.js";
|
|
84
86
|
import { QrSharingOrg } from "./organisms/qrSharingOrg.js";
|
|
85
87
|
import { QuestionFormsOrg } from "./organisms/questionFormsOrg.js";
|
|
86
88
|
import { RadioBtnGroupOrg } from "./organisms/radioBtnGroupOrg.js";
|
|
@@ -200,6 +202,7 @@ export interface DSBodyItem {
|
|
|
200
202
|
backgroundWhiteOrgV2?: BackgroundWhiteOrgV2 | undefined;
|
|
201
203
|
chipGroupOrgV2?: ChipGroupOrgV2 | undefined;
|
|
202
204
|
photoUploadMlc?: PhotoUploadMlc | undefined;
|
|
205
|
+
photoCardCarouselOrg?: PhotoCardCarouselOrg | undefined;
|
|
203
206
|
}
|
|
204
207
|
export interface DSTopGroupItem {
|
|
205
208
|
topGroupOrg?: TopGroupOrg | undefined;
|
|
@@ -226,6 +229,7 @@ export interface DesignSystemResponse {
|
|
|
226
229
|
bottomGroup: DSBottomGroupItem[];
|
|
227
230
|
processCode?: number | undefined;
|
|
228
231
|
opProcessDataParams?: ProcessDataParams | undefined;
|
|
232
|
+
analyticsPayload?: AnalyticsPayload | undefined;
|
|
229
233
|
}
|
|
230
234
|
export declare const DSBodyItem: MessageFns<DSBodyItem>;
|
|
231
235
|
export declare const DSTopGroupItem: MessageFns<DSTopGroupItem>;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// source: designSystem/item.proto
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
8
|
+
import { AnalyticsPayload } from "../analyticsPayload.js";
|
|
8
9
|
import { ProcessDataParams } from "../processData.js";
|
|
9
10
|
import { ArticlePicAtm } from "./atoms/articlePicAtm.js";
|
|
10
11
|
import { BtnAddOptionAtm } from "./atoms/btnAddOptionAtm.js";
|
|
@@ -87,6 +88,7 @@ import { PaginationListOrg } from "./organisms/paginationListOrg.js";
|
|
|
87
88
|
import { PaginationListWhiteOrg } from "./organisms/paginationListWhiteOrg.js";
|
|
88
89
|
import { PaymentInfoOrg } from "./organisms/paymentInfoOrg.js";
|
|
89
90
|
import { PaymentInfoOrgV2 } from "./organisms/paymentInfoOrgV2.js";
|
|
91
|
+
import { PhotoCardCarouselOrg } from "./organisms/photoCardCarouselOrg.js";
|
|
90
92
|
import { QrSharingOrg } from "./organisms/qrSharingOrg.js";
|
|
91
93
|
import { QuestionFormsOrg } from "./organisms/questionFormsOrg.js";
|
|
92
94
|
import { RadioBtnGroupOrg } from "./organisms/radioBtnGroupOrg.js";
|
|
@@ -207,6 +209,7 @@ function createBaseDSBodyItem() {
|
|
|
207
209
|
backgroundWhiteOrgV2: undefined,
|
|
208
210
|
chipGroupOrgV2: undefined,
|
|
209
211
|
photoUploadMlc: undefined,
|
|
212
|
+
photoCardCarouselOrg: undefined,
|
|
210
213
|
};
|
|
211
214
|
}
|
|
212
215
|
export const DSBodyItem = {
|
|
@@ -497,6 +500,9 @@ export const DSBodyItem = {
|
|
|
497
500
|
if (message.photoUploadMlc !== undefined) {
|
|
498
501
|
PhotoUploadMlc.encode(message.photoUploadMlc, writer.uint32(762).fork()).join();
|
|
499
502
|
}
|
|
503
|
+
if (message.photoCardCarouselOrg !== undefined) {
|
|
504
|
+
PhotoCardCarouselOrg.encode(message.photoCardCarouselOrg, writer.uint32(770).fork()).join();
|
|
505
|
+
}
|
|
500
506
|
return writer;
|
|
501
507
|
},
|
|
502
508
|
decode(input, length) {
|
|
@@ -1171,6 +1177,13 @@ export const DSBodyItem = {
|
|
|
1171
1177
|
message.photoUploadMlc = PhotoUploadMlc.decode(reader, reader.uint32());
|
|
1172
1178
|
continue;
|
|
1173
1179
|
}
|
|
1180
|
+
case 96: {
|
|
1181
|
+
if (tag !== 770) {
|
|
1182
|
+
break;
|
|
1183
|
+
}
|
|
1184
|
+
message.photoCardCarouselOrg = PhotoCardCarouselOrg.decode(reader, reader.uint32());
|
|
1185
|
+
continue;
|
|
1186
|
+
}
|
|
1174
1187
|
}
|
|
1175
1188
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1176
1189
|
break;
|
|
@@ -1366,6 +1379,9 @@ export const DSBodyItem = {
|
|
|
1366
1379
|
: undefined,
|
|
1367
1380
|
chipGroupOrgV2: isSet(object.chipGroupOrgV2) ? ChipGroupOrgV2.fromJSON(object.chipGroupOrgV2) : undefined,
|
|
1368
1381
|
photoUploadMlc: isSet(object.photoUploadMlc) ? PhotoUploadMlc.fromJSON(object.photoUploadMlc) : undefined,
|
|
1382
|
+
photoCardCarouselOrg: isSet(object.photoCardCarouselOrg)
|
|
1383
|
+
? PhotoCardCarouselOrg.fromJSON(object.photoCardCarouselOrg)
|
|
1384
|
+
: undefined,
|
|
1369
1385
|
};
|
|
1370
1386
|
},
|
|
1371
1387
|
toJSON(message) {
|
|
@@ -1655,6 +1671,9 @@ export const DSBodyItem = {
|
|
|
1655
1671
|
if (message.photoUploadMlc !== undefined) {
|
|
1656
1672
|
obj.photoUploadMlc = PhotoUploadMlc.toJSON(message.photoUploadMlc);
|
|
1657
1673
|
}
|
|
1674
|
+
if (message.photoCardCarouselOrg !== undefined) {
|
|
1675
|
+
obj.photoCardCarouselOrg = PhotoCardCarouselOrg.toJSON(message.photoCardCarouselOrg);
|
|
1676
|
+
}
|
|
1658
1677
|
return obj;
|
|
1659
1678
|
},
|
|
1660
1679
|
create(base) {
|
|
@@ -1965,6 +1984,9 @@ export const DSBodyItem = {
|
|
|
1965
1984
|
message.photoUploadMlc = (object.photoUploadMlc !== undefined && object.photoUploadMlc !== null)
|
|
1966
1985
|
? PhotoUploadMlc.fromPartial(object.photoUploadMlc)
|
|
1967
1986
|
: undefined;
|
|
1987
|
+
message.photoCardCarouselOrg = (object.photoCardCarouselOrg !== undefined && object.photoCardCarouselOrg !== null)
|
|
1988
|
+
? PhotoCardCarouselOrg.fromPartial(object.photoCardCarouselOrg)
|
|
1989
|
+
: undefined;
|
|
1968
1990
|
return message;
|
|
1969
1991
|
},
|
|
1970
1992
|
};
|
|
@@ -2323,7 +2345,14 @@ export const DSBottomGroupItem = {
|
|
|
2323
2345
|
},
|
|
2324
2346
|
};
|
|
2325
2347
|
function createBaseDesignSystemResponse() {
|
|
2326
|
-
return {
|
|
2348
|
+
return {
|
|
2349
|
+
topGroup: [],
|
|
2350
|
+
body: [],
|
|
2351
|
+
bottomGroup: [],
|
|
2352
|
+
processCode: undefined,
|
|
2353
|
+
opProcessDataParams: undefined,
|
|
2354
|
+
analyticsPayload: undefined,
|
|
2355
|
+
};
|
|
2327
2356
|
}
|
|
2328
2357
|
export const DesignSystemResponse = {
|
|
2329
2358
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -2342,6 +2371,9 @@ export const DesignSystemResponse = {
|
|
|
2342
2371
|
if (message.opProcessDataParams !== undefined) {
|
|
2343
2372
|
ProcessDataParams.encode(message.opProcessDataParams, writer.uint32(42).fork()).join();
|
|
2344
2373
|
}
|
|
2374
|
+
if (message.analyticsPayload !== undefined) {
|
|
2375
|
+
AnalyticsPayload.encode(message.analyticsPayload, writer.uint32(50).fork()).join();
|
|
2376
|
+
}
|
|
2345
2377
|
return writer;
|
|
2346
2378
|
},
|
|
2347
2379
|
decode(input, length) {
|
|
@@ -2386,6 +2418,13 @@ export const DesignSystemResponse = {
|
|
|
2386
2418
|
message.opProcessDataParams = ProcessDataParams.decode(reader, reader.uint32());
|
|
2387
2419
|
continue;
|
|
2388
2420
|
}
|
|
2421
|
+
case 6: {
|
|
2422
|
+
if (tag !== 50) {
|
|
2423
|
+
break;
|
|
2424
|
+
}
|
|
2425
|
+
message.analyticsPayload = AnalyticsPayload.decode(reader, reader.uint32());
|
|
2426
|
+
continue;
|
|
2427
|
+
}
|
|
2389
2428
|
}
|
|
2390
2429
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2391
2430
|
break;
|
|
@@ -2407,6 +2446,7 @@ export const DesignSystemResponse = {
|
|
|
2407
2446
|
opProcessDataParams: isSet(object.opProcessDataParams)
|
|
2408
2447
|
? ProcessDataParams.fromJSON(object.opProcessDataParams)
|
|
2409
2448
|
: undefined,
|
|
2449
|
+
analyticsPayload: isSet(object.analyticsPayload) ? AnalyticsPayload.fromJSON(object.analyticsPayload) : undefined,
|
|
2410
2450
|
};
|
|
2411
2451
|
},
|
|
2412
2452
|
toJSON(message) {
|
|
@@ -2426,6 +2466,9 @@ export const DesignSystemResponse = {
|
|
|
2426
2466
|
if (message.opProcessDataParams !== undefined) {
|
|
2427
2467
|
obj.opProcessDataParams = ProcessDataParams.toJSON(message.opProcessDataParams);
|
|
2428
2468
|
}
|
|
2469
|
+
if (message.analyticsPayload !== undefined) {
|
|
2470
|
+
obj.analyticsPayload = AnalyticsPayload.toJSON(message.analyticsPayload);
|
|
2471
|
+
}
|
|
2429
2472
|
return obj;
|
|
2430
2473
|
},
|
|
2431
2474
|
create(base) {
|
|
@@ -2440,6 +2483,9 @@ export const DesignSystemResponse = {
|
|
|
2440
2483
|
message.opProcessDataParams = (object.opProcessDataParams !== undefined && object.opProcessDataParams !== null)
|
|
2441
2484
|
? ProcessDataParams.fromPartial(object.opProcessDataParams)
|
|
2442
2485
|
: undefined;
|
|
2486
|
+
message.analyticsPayload = (object.analyticsPayload !== undefined && object.analyticsPayload !== null)
|
|
2487
|
+
? AnalyticsPayload.fromPartial(object.analyticsPayload)
|
|
2488
|
+
: undefined;
|
|
2443
2489
|
return message;
|
|
2444
2490
|
},
|
|
2445
2491
|
};
|