@zealicsolutions/web-ui 0.3.221 → 0.3.222

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.
@@ -1104,6 +1104,376 @@ export declare const bannerWithRoundedImage: {
1104
1104
  })[];
1105
1105
  id: string;
1106
1106
  };
1107
+ export declare const processTrackerBody: {
1108
+ instance: string;
1109
+ organismLibraryContainerId: string;
1110
+ containerLibraryId: string;
1111
+ type: string;
1112
+ ordering: number;
1113
+ config: {
1114
+ wide: {
1115
+ containerProps: {
1116
+ gap: string;
1117
+ alignItems: string;
1118
+ paddingTop: string;
1119
+ paddingLeft: string;
1120
+ paddingRight: string;
1121
+ paddingBottom: string;
1122
+ };
1123
+ containerStyle: {
1124
+ width: string;
1125
+ flexDirection: string;
1126
+ justifyContent: string;
1127
+ backgroundColor: string;
1128
+ };
1129
+ };
1130
+ compact: {
1131
+ containerProps: {
1132
+ gap: string;
1133
+ alignItems: string;
1134
+ };
1135
+ containerStyle: {
1136
+ width: string;
1137
+ flexDirection: string;
1138
+ backgroundColor: string;
1139
+ };
1140
+ };
1141
+ };
1142
+ metadata: {
1143
+ group: string[];
1144
+ };
1145
+ item: {
1146
+ type: string;
1147
+ config: {
1148
+ wide: {
1149
+ containerProps: {
1150
+ gap: string;
1151
+ alignItems: string;
1152
+ paddingTop: string;
1153
+ paddingLeft: string;
1154
+ cornerRadius: string;
1155
+ paddingRight: string;
1156
+ paddingBottom: string;
1157
+ };
1158
+ containerStyle: {
1159
+ width: string;
1160
+ boxShadow: string;
1161
+ flexDirection: string;
1162
+ justifyContent: string;
1163
+ backgroundColor: string;
1164
+ };
1165
+ };
1166
+ compact: {
1167
+ containerProps: {
1168
+ gap: string;
1169
+ alignItems: string;
1170
+ paddingTop: string;
1171
+ paddingLeft: string;
1172
+ cornerRadius: string;
1173
+ paddingRight: string;
1174
+ paddingBottom: string;
1175
+ };
1176
+ containerStyle: {
1177
+ width: string;
1178
+ boxShadow: string;
1179
+ flexDirection: string;
1180
+ justifyContent: string;
1181
+ backgroundColor: string;
1182
+ };
1183
+ };
1184
+ };
1185
+ instance: string;
1186
+ metadata: {
1187
+ group: string[];
1188
+ };
1189
+ ordering: number;
1190
+ containerLibraryId: string;
1191
+ organismLibraryContainerId: string;
1192
+ item: ({
1193
+ type: string;
1194
+ config: {
1195
+ wide: {
1196
+ containerProps: {
1197
+ gap: string;
1198
+ alignItems: string;
1199
+ paddingTop: string;
1200
+ paddingLeft: string;
1201
+ paddingRight: string;
1202
+ paddingBottom: string;
1203
+ };
1204
+ containerStyle: {
1205
+ width: string;
1206
+ flexDirection: string;
1207
+ justifyContent?: undefined;
1208
+ };
1209
+ };
1210
+ compact: {
1211
+ containerProps: {
1212
+ gap: string;
1213
+ alignItems: string;
1214
+ paddingTop?: undefined;
1215
+ paddingLeft?: undefined;
1216
+ paddingRight?: undefined;
1217
+ paddingBottom?: undefined;
1218
+ };
1219
+ containerStyle: {
1220
+ width: string;
1221
+ flexDirection: string;
1222
+ };
1223
+ };
1224
+ };
1225
+ instance: string;
1226
+ metadata: {
1227
+ group: string[];
1228
+ };
1229
+ ordering: number;
1230
+ containerLibraryId: string;
1231
+ organismLibraryContainerId: string;
1232
+ item: {
1233
+ type: string;
1234
+ config: {};
1235
+ instance: string;
1236
+ metadata: {};
1237
+ ordering: number;
1238
+ attributes: {
1239
+ orientation: {
1240
+ id: string;
1241
+ value: string;
1242
+ options: {
1243
+ id: string;
1244
+ label: string;
1245
+ }[];
1246
+ required: boolean;
1247
+ attributeType: string;
1248
+ };
1249
+ processSteps: {
1250
+ id: string;
1251
+ steps: {
1252
+ link: {
1253
+ id: null;
1254
+ attributeType: string;
1255
+ type: string;
1256
+ externalLink: string;
1257
+ internalLink: string;
1258
+ name: string;
1259
+ required: boolean;
1260
+ };
1261
+ order: number;
1262
+ title: {
1263
+ text: string;
1264
+ };
1265
+ status: string;
1266
+ description: {
1267
+ text: null;
1268
+ };
1269
+ id: string;
1270
+ }[];
1271
+ journeyId: string;
1272
+ attributeType: string;
1273
+ };
1274
+ };
1275
+ moleculeLibraryId: string;
1276
+ organismLibraryMoleculeId: string;
1277
+ item: never[];
1278
+ id: string;
1279
+ }[];
1280
+ id: string;
1281
+ } | {
1282
+ type: string;
1283
+ config: {
1284
+ wide: {
1285
+ containerProps: {
1286
+ gap: string;
1287
+ alignItems: string;
1288
+ paddingTop: string;
1289
+ paddingLeft: string;
1290
+ paddingRight: string;
1291
+ paddingBottom: string;
1292
+ };
1293
+ containerStyle: {
1294
+ width: string;
1295
+ justifyContent: string;
1296
+ flexDirection?: undefined;
1297
+ };
1298
+ };
1299
+ compact: {
1300
+ containerProps: {
1301
+ gap: string;
1302
+ paddingTop: string;
1303
+ paddingLeft: string;
1304
+ paddingRight: string;
1305
+ paddingBottom: string;
1306
+ alignItems?: undefined;
1307
+ };
1308
+ containerStyle: {
1309
+ width: string;
1310
+ flexDirection: string;
1311
+ };
1312
+ };
1313
+ };
1314
+ instance: string;
1315
+ metadata: {
1316
+ group: string[];
1317
+ };
1318
+ ordering: number;
1319
+ containerLibraryId: string;
1320
+ organismLibraryContainerId: string;
1321
+ item: ({
1322
+ type: string;
1323
+ config: {
1324
+ props: {
1325
+ size: string;
1326
+ state: string;
1327
+ styles: {};
1328
+ variant: string;
1329
+ disabled: boolean;
1330
+ textSize: number;
1331
+ textColor: string;
1332
+ buttonFont: string;
1333
+ colorTheme: string;
1334
+ buttonColor: string;
1335
+ buttonStyle: {};
1336
+ buttonStroke: string;
1337
+ cornerRadius: string;
1338
+ containerStyle: {};
1339
+ verticalPadding: string;
1340
+ hoverButtonColor: string;
1341
+ hoverStrokeColor: string;
1342
+ horizontalPadding: string;
1343
+ inactiveTextColor: string;
1344
+ inactiveButtonColor: string;
1345
+ inactiveStrokeColor: string;
1346
+ };
1347
+ };
1348
+ instance: string;
1349
+ metadata: {
1350
+ group: string[];
1351
+ isAction: boolean;
1352
+ isTrigger: boolean;
1353
+ };
1354
+ ordering: number;
1355
+ attributes: {
1356
+ title: {
1357
+ id: string;
1358
+ text: string;
1359
+ required: boolean;
1360
+ isRichText: boolean;
1361
+ attributeType: string;
1362
+ showRichTextToolbar: boolean;
1363
+ };
1364
+ action: {
1365
+ id: string;
1366
+ action: {
1367
+ type: string;
1368
+ reset: {};
1369
+ };
1370
+ attributeType: string;
1371
+ };
1372
+ actionTypes: {
1373
+ id: string;
1374
+ value: string;
1375
+ options: {
1376
+ id: string;
1377
+ label: string;
1378
+ value: string;
1379
+ }[];
1380
+ required: boolean;
1381
+ attributeType: string;
1382
+ };
1383
+ text?: undefined;
1384
+ color?: undefined;
1385
+ seoStyle?: undefined;
1386
+ fontVariant?: undefined;
1387
+ };
1388
+ moleculeLibraryId: string;
1389
+ organismLibraryMoleculeId: string;
1390
+ item: never[];
1391
+ id: string;
1392
+ } | {
1393
+ type: string;
1394
+ config: {
1395
+ props: {
1396
+ textColor: string;
1397
+ size?: undefined;
1398
+ state?: undefined;
1399
+ styles?: undefined;
1400
+ variant?: undefined;
1401
+ disabled?: undefined;
1402
+ textSize?: undefined;
1403
+ buttonFont?: undefined;
1404
+ colorTheme?: undefined;
1405
+ buttonColor?: undefined;
1406
+ buttonStyle?: undefined;
1407
+ buttonStroke?: undefined;
1408
+ cornerRadius?: undefined;
1409
+ containerStyle?: undefined;
1410
+ verticalPadding?: undefined;
1411
+ hoverButtonColor?: undefined;
1412
+ hoverStrokeColor?: undefined;
1413
+ horizontalPadding?: undefined;
1414
+ inactiveTextColor?: undefined;
1415
+ inactiveButtonColor?: undefined;
1416
+ inactiveStrokeColor?: undefined;
1417
+ };
1418
+ };
1419
+ instance: string;
1420
+ metadata: {
1421
+ group: string[];
1422
+ isAction?: undefined;
1423
+ isTrigger?: undefined;
1424
+ };
1425
+ ordering: number;
1426
+ attributes: {
1427
+ text: {
1428
+ id: string;
1429
+ text: string;
1430
+ required: boolean;
1431
+ isRichText: boolean;
1432
+ attributeType: string;
1433
+ showRichTextToolbar: boolean;
1434
+ };
1435
+ color: {
1436
+ id: string;
1437
+ color: string;
1438
+ required: boolean;
1439
+ attributeType: string;
1440
+ };
1441
+ seoStyle: {
1442
+ id: string;
1443
+ value: string;
1444
+ options: {
1445
+ id: string;
1446
+ label: string;
1447
+ value: string;
1448
+ }[];
1449
+ required: boolean;
1450
+ attributeType: string;
1451
+ };
1452
+ fontVariant: {
1453
+ id: string;
1454
+ value: string;
1455
+ options: {
1456
+ id: string;
1457
+ label: string;
1458
+ value: string;
1459
+ }[];
1460
+ attributeType: string;
1461
+ };
1462
+ title?: undefined;
1463
+ action?: undefined;
1464
+ actionTypes?: undefined;
1465
+ };
1466
+ moleculeLibraryId: string;
1467
+ organismLibraryMoleculeId: string;
1468
+ item: never[];
1469
+ id: string;
1470
+ })[];
1471
+ id: string;
1472
+ })[];
1473
+ id: string;
1474
+ }[];
1475
+ id: string;
1476
+ };
1107
1477
  export declare const threeColumnOrganismBody: {
1108
1478
  type: string;
1109
1479
  config: {
@@ -21,7 +21,7 @@ export declare type OrganismContextType = {
21
21
  submitHandler?: (data: {
22
22
  formId: string;
23
23
  data: AnyObject;
24
- }) => void;
24
+ }) => Promise<void>;
25
25
  validations?: PasswordRuleValidation[];
26
26
  editable?: boolean;
27
27
  isFormInEditMode?: boolean;
@@ -1,9 +1,8 @@
1
1
  import { SelectOption } from 'atoms';
2
2
  import { CheckboxInternalConfigProps } from 'atoms/Checkbox/types';
3
- import { ConditionConfig, FormStateType } from 'containers';
3
+ import { ConditionConfig, ConfigurationItemInfo, FormStateType } from 'containers';
4
4
  import { Control, ControllerProps } from 'react-hook-form/dist/types';
5
5
  import type { AnyObject, StylesType } from 'typescript';
6
- import { ConfigurationItemInfo } from 'containers/MoleculeItem';
7
6
  import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
8
7
  export declare type CheckboxesProps = Partial<{
9
8
  checkboxGroupWrapperStyles: StylesType;
@@ -54,7 +54,7 @@ declare const _default: {
54
54
  htmlElementId: string;
55
55
  isTrigger?: boolean | undefined;
56
56
  moleculeId: string;
57
- configurationItemInfo?: any;
57
+ configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
58
58
  }>) => JSX.Element | null;
59
59
  };
60
60
  export default _default;
package/dist/index.d.ts CHANGED
@@ -45,7 +45,6 @@ import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewer
45
45
  import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
46
46
  import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
47
47
  export * from 'helpers/constants';
48
- import { ConfigurationItemInfo as ConfigurationItemInfo$2 } from 'containers/MoleculeItem';
49
48
  import { CustomDescendant } from 'atoms/RichTextViewer/types';
50
49
  import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
51
50
  import * as containers_types_types from 'containers/types/types';
@@ -1583,7 +1582,7 @@ declare type OrganismContextType = {
1583
1582
  submitHandler?: (data: {
1584
1583
  formId: string;
1585
1584
  data: AnyObject$1;
1586
- }) => void;
1585
+ }) => Promise<void>;
1587
1586
  validations?: PasswordRuleValidation[];
1588
1587
  editable?: boolean;
1589
1588
  isFormInEditMode?: boolean;
@@ -1725,7 +1724,7 @@ declare type CheckboxFieldProps = Partial<{
1725
1724
  htmlElementId: string;
1726
1725
  isTrigger?: boolean;
1727
1726
  moleculeId: string;
1728
- configurationItemInfo?: ConfigurationItemInfo$2;
1727
+ configurationItemInfo?: ConfigurationItemInfo$1;
1729
1728
  }>;
1730
1729
  declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
1731
1730
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.221",
4
- "testVersion": "0.3.208",
3
+ "version": "0.3.222",
4
+ "testVersion": "0.3.221",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"