@asdp/ferryui 0.1.22-dev.9532 → 0.1.22-dev.9540
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/index.js +126 -228
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +126 -228
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12242,7 +12242,11 @@ var CardVehicleOwnerForm = ({
|
|
|
12242
12242
|
),
|
|
12243
12243
|
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.AccordionPanel, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.form, children: [
|
|
12244
12244
|
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { children: [
|
|
12245
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { lg: 12, children: /* @__PURE__ */ jsxRuntime.
|
|
12245
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { lg: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Body1, { className: styles.label, children: [
|
|
12246
|
+
mergedLabels.cargoOwnerTitle,
|
|
12247
|
+
" ",
|
|
12248
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { color: "red" }, children: "*" })
|
|
12249
|
+
] }) }),
|
|
12246
12250
|
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { lg: 6, children: [
|
|
12247
12251
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12248
12252
|
"div",
|
|
@@ -12257,15 +12261,15 @@ var CardVehicleOwnerForm = ({
|
|
|
12257
12261
|
{
|
|
12258
12262
|
disabled,
|
|
12259
12263
|
layout: "horizontal",
|
|
12260
|
-
value: owner.
|
|
12264
|
+
value: owner.cargoOwnerEntityType || MANIFEST_ENTITY.COMPANY,
|
|
12261
12265
|
onChange: (_, data) => {
|
|
12262
12266
|
onUpdateOwner(owner.id, {
|
|
12263
|
-
|
|
12264
|
-
|
|
12265
|
-
|
|
12267
|
+
cargoOwnerEntityType: data.value,
|
|
12268
|
+
cargoOwnerEntity: "",
|
|
12269
|
+
cargoOwnerEntityOther: ""
|
|
12266
12270
|
});
|
|
12267
|
-
setValue(`owners.${index}.
|
|
12268
|
-
setValue(`owners.${index}.
|
|
12271
|
+
setValue(`owners.${index}.cargoOwnerEntity`, "");
|
|
12272
|
+
setValue(`owners.${index}.cargoOwnerEntityOther`, "");
|
|
12269
12273
|
},
|
|
12270
12274
|
children: [
|
|
12271
12275
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12291,48 +12295,58 @@ var CardVehicleOwnerForm = ({
|
|
|
12291
12295
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12292
12296
|
reactGridSystem.Col,
|
|
12293
12297
|
{
|
|
12294
|
-
|
|
12298
|
+
lg: owner.cargoOwnerEntityType === MANIFEST_ENTITY.COMPANY && owner.cargoOwnerEntity === "999999" ? 6 : 12,
|
|
12295
12299
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12296
12300
|
InputDynamic_default,
|
|
12297
12301
|
{
|
|
12298
|
-
control,
|
|
12299
12302
|
disabled,
|
|
12300
|
-
|
|
12301
|
-
|
|
12303
|
+
control,
|
|
12304
|
+
name: `owners.${index}.cargoOwnerEntity`,
|
|
12305
|
+
placeholder: owner.cargoOwnerEntityType === MANIFEST_ENTITY.COMPANY ? mergedLabels.cargoOwnerCompanyPlaceholder : mergedLabels.cargoOwnerIndividualPlaceholder,
|
|
12302
12306
|
size: "large",
|
|
12303
|
-
type: owner.
|
|
12304
|
-
options: owner.
|
|
12307
|
+
type: owner.cargoOwnerEntityType === MANIFEST_ENTITY.COMPANY ? "select" : "text",
|
|
12308
|
+
options: owner.cargoOwnerEntityType === MANIFEST_ENTITY.COMPANY ? companyOwnerOptions : [],
|
|
12305
12309
|
onChange: (val) => {
|
|
12306
|
-
setValue(`owners.${index}.
|
|
12310
|
+
setValue(`owners.${index}.cargoOwnerEntity`, val);
|
|
12307
12311
|
onUpdateOwner(owner.id, {
|
|
12308
|
-
|
|
12312
|
+
cargoOwnerEntity: val
|
|
12309
12313
|
});
|
|
12310
12314
|
}
|
|
12311
12315
|
}
|
|
12312
12316
|
)
|
|
12313
12317
|
}
|
|
12314
12318
|
),
|
|
12315
|
-
owner.
|
|
12319
|
+
owner.cargoOwnerEntityType === MANIFEST_ENTITY.COMPANY && owner.cargoOwnerEntity === "999999" && /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xl: 6, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12316
12320
|
InputDynamic_default,
|
|
12317
12321
|
{
|
|
12318
12322
|
control,
|
|
12319
12323
|
disabled,
|
|
12320
|
-
name: `owners.${index}.
|
|
12321
|
-
placeholder: owner.
|
|
12324
|
+
name: `owners.${index}.cargoOwnerEntityOther`,
|
|
12325
|
+
placeholder: owner.cargoOwnerEntityType === MANIFEST_ENTITY.COMPANY ? mergedLabels.selectCompanyPlaceholder : mergedLabels.inputSenderNamePlaceholder,
|
|
12322
12326
|
size: "large",
|
|
12323
12327
|
type: "text",
|
|
12324
12328
|
onChange: (val) => {
|
|
12325
12329
|
setValue(
|
|
12326
|
-
`owners.${index}.
|
|
12330
|
+
`owners.${index}.cargoOwnerEntityOther`,
|
|
12327
12331
|
val
|
|
12328
12332
|
);
|
|
12329
12333
|
onUpdateOwner(owner.id, {
|
|
12330
|
-
|
|
12334
|
+
cargoOwnerEntityOther: val
|
|
12331
12335
|
});
|
|
12332
12336
|
}
|
|
12333
12337
|
}
|
|
12334
12338
|
) })
|
|
12335
|
-
] })
|
|
12339
|
+
] }),
|
|
12340
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12341
|
+
reactComponents.Caption1,
|
|
12342
|
+
{
|
|
12343
|
+
style: {
|
|
12344
|
+
color: reactComponents.tokens.colorNeutralForeground3,
|
|
12345
|
+
marginTop: "0.25rem"
|
|
12346
|
+
},
|
|
12347
|
+
children: mergedLabels.otherCompanyHelperText
|
|
12348
|
+
}
|
|
12349
|
+
)
|
|
12336
12350
|
] }),
|
|
12337
12351
|
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { lg: 6, children: [
|
|
12338
12352
|
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { height: "1rem" } }),
|
|
@@ -12360,58 +12374,10 @@ var CardVehicleOwnerForm = ({
|
|
|
12360
12374
|
)
|
|
12361
12375
|
] })
|
|
12362
12376
|
] }),
|
|
12363
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { children: [
|
|
12364
|
-
/* @__PURE__ */ jsxRuntime.
|
|
12365
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: mergedLabels.
|
|
12366
|
-
/* @__PURE__ */ jsxRuntime.
|
|
12367
|
-
InputDynamic_default,
|
|
12368
|
-
{
|
|
12369
|
-
control,
|
|
12370
|
-
disabled,
|
|
12371
|
-
name: `owners.${index}.originCity`,
|
|
12372
|
-
placeholder: mergedLabels.selectPlaceholder,
|
|
12373
|
-
type: "select",
|
|
12374
|
-
options: cityOriginOptions,
|
|
12375
|
-
size: "large",
|
|
12376
|
-
onChange: (val) => {
|
|
12377
|
-
setValue(`owners.${index}.originCity`, val);
|
|
12378
|
-
onUpdateOwner(owner.id, {
|
|
12379
|
-
originCity: val
|
|
12380
|
-
});
|
|
12381
|
-
}
|
|
12382
|
-
}
|
|
12383
|
-
)
|
|
12384
|
-
] }),
|
|
12385
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { children: [
|
|
12386
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: mergedLabels.destinationCityLabel }),
|
|
12387
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12388
|
-
InputDynamic_default,
|
|
12389
|
-
{
|
|
12390
|
-
control,
|
|
12391
|
-
disabled,
|
|
12392
|
-
name: `owners.${index}.destinationCity`,
|
|
12393
|
-
placeholder: mergedLabels.selectPlaceholder,
|
|
12394
|
-
type: "select",
|
|
12395
|
-
options: cityDestinationOptions,
|
|
12396
|
-
size: "large",
|
|
12397
|
-
onChange: (val) => {
|
|
12398
|
-
setValue(`owners.${index}.destinationCity`, val);
|
|
12399
|
-
onUpdateOwner(owner.id, {
|
|
12400
|
-
destinationCity: val
|
|
12401
|
-
});
|
|
12402
|
-
}
|
|
12403
|
-
}
|
|
12404
|
-
)
|
|
12405
|
-
] })
|
|
12406
|
-
] }),
|
|
12407
|
-
hasLoad && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12408
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { children: [
|
|
12409
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { children: [
|
|
12410
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Body1, { className: styles.label, children: [
|
|
12411
|
-
mergedLabels.cargoOwnerTitle,
|
|
12412
|
-
" ",
|
|
12413
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { color: "red" }, children: "*" })
|
|
12414
|
-
] }),
|
|
12377
|
+
hasLoad && /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { children: [
|
|
12378
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { lg: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, children: [
|
|
12379
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { lg: 12, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: mergedLabels.cargoReceiverTitle }) }),
|
|
12380
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { lg: 12, children: [
|
|
12415
12381
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12416
12382
|
"div",
|
|
12417
12383
|
{
|
|
@@ -12425,16 +12391,19 @@ var CardVehicleOwnerForm = ({
|
|
|
12425
12391
|
{
|
|
12426
12392
|
disabled,
|
|
12427
12393
|
layout: "horizontal",
|
|
12428
|
-
value: owner.
|
|
12394
|
+
value: owner.cargoReceiverEntityType || MANIFEST_ENTITY.COMPANY,
|
|
12429
12395
|
onChange: (_, data) => {
|
|
12430
12396
|
onUpdateOwner(owner.id, {
|
|
12431
|
-
|
|
12432
|
-
|
|
12433
|
-
|
|
12397
|
+
cargoReceiverEntityType: data.value,
|
|
12398
|
+
cargoReceiverEntity: "",
|
|
12399
|
+
cargoReceiverEntityOther: ""
|
|
12434
12400
|
});
|
|
12435
|
-
setValue(`owners.${index}.cargoOwnerEntity`, "");
|
|
12436
12401
|
setValue(
|
|
12437
|
-
`owners.${index}.
|
|
12402
|
+
`owners.${index}.cargoReceiverEntity`,
|
|
12403
|
+
""
|
|
12404
|
+
);
|
|
12405
|
+
setValue(
|
|
12406
|
+
`owners.${index}.cargoReceiverEntityOther`,
|
|
12438
12407
|
""
|
|
12439
12408
|
);
|
|
12440
12409
|
},
|
|
@@ -12462,46 +12431,46 @@ var CardVehicleOwnerForm = ({
|
|
|
12462
12431
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12463
12432
|
reactGridSystem.Col,
|
|
12464
12433
|
{
|
|
12465
|
-
|
|
12434
|
+
lg: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY && owner.cargoReceiverEntity === "999999" ? 6 : 12,
|
|
12466
12435
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12467
12436
|
InputDynamic_default,
|
|
12468
12437
|
{
|
|
12469
|
-
disabled,
|
|
12470
12438
|
control,
|
|
12471
|
-
|
|
12472
|
-
|
|
12439
|
+
disabled,
|
|
12440
|
+
name: `owners.${index}.cargoReceiverEntity`,
|
|
12441
|
+
placeholder: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY ? mergedLabels.cargoReceiverCompanyPlaceholder : mergedLabels.cargoReceiverIndividualPlaceholder,
|
|
12473
12442
|
size: "large",
|
|
12474
|
-
type: owner.
|
|
12475
|
-
options: owner.
|
|
12443
|
+
type: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY ? "select" : "text",
|
|
12444
|
+
options: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY ? companyReceiverOptions : [],
|
|
12476
12445
|
onChange: (val) => {
|
|
12477
12446
|
setValue(
|
|
12478
|
-
`owners.${index}.
|
|
12447
|
+
`owners.${index}.cargoReceiverEntity`,
|
|
12479
12448
|
val
|
|
12480
12449
|
);
|
|
12481
12450
|
onUpdateOwner(owner.id, {
|
|
12482
|
-
|
|
12451
|
+
cargoReceiverEntity: val
|
|
12483
12452
|
});
|
|
12484
12453
|
}
|
|
12485
12454
|
}
|
|
12486
12455
|
)
|
|
12487
12456
|
}
|
|
12488
12457
|
),
|
|
12489
|
-
owner.
|
|
12458
|
+
owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY && owner.cargoReceiverEntity === "999999" && /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { lg: 6, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12490
12459
|
InputDynamic_default,
|
|
12491
12460
|
{
|
|
12492
12461
|
control,
|
|
12493
12462
|
disabled,
|
|
12494
|
-
name: `owners.${index}.
|
|
12495
|
-
placeholder: owner.
|
|
12463
|
+
name: `owners.${index}.cargoReceiverEntityOther`,
|
|
12464
|
+
placeholder: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY ? mergedLabels.selectCompanyPlaceholder : mergedLabels.inputSenderNamePlaceholder,
|
|
12496
12465
|
size: "large",
|
|
12497
12466
|
type: "text",
|
|
12498
12467
|
onChange: (val) => {
|
|
12499
12468
|
setValue(
|
|
12500
|
-
`owners.${index}.
|
|
12469
|
+
`owners.${index}.cargoReceiverEntityOther`,
|
|
12501
12470
|
val
|
|
12502
12471
|
);
|
|
12503
12472
|
onUpdateOwner(owner.id, {
|
|
12504
|
-
|
|
12473
|
+
cargoReceiverEntityOther: val
|
|
12505
12474
|
});
|
|
12506
12475
|
}
|
|
12507
12476
|
}
|
|
@@ -12517,13 +12486,15 @@ var CardVehicleOwnerForm = ({
|
|
|
12517
12486
|
children: mergedLabels.otherCompanyHelperText
|
|
12518
12487
|
}
|
|
12519
12488
|
)
|
|
12520
|
-
] })
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12489
|
+
] })
|
|
12490
|
+
] }) }),
|
|
12491
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { lg: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { nogutter: true, children: [
|
|
12492
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { lg: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(reactComponents.Body1, { className: styles.label, children: [
|
|
12493
|
+
mergedLabels.logisticsCompanyTitle,
|
|
12494
|
+
" ",
|
|
12495
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { color: "red" }, children: "*" })
|
|
12496
|
+
] }) }),
|
|
12497
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { lg: 12, children: [
|
|
12527
12498
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12528
12499
|
"div",
|
|
12529
12500
|
{
|
|
@@ -12618,138 +12589,65 @@ var CardVehicleOwnerForm = ({
|
|
|
12618
12589
|
}
|
|
12619
12590
|
}
|
|
12620
12591
|
) })
|
|
12621
|
-
] })
|
|
12622
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12623
|
-
reactComponents.Caption1,
|
|
12624
|
-
{
|
|
12625
|
-
style: {
|
|
12626
|
-
color: reactComponents.tokens.colorNeutralForeground3,
|
|
12627
|
-
marginTop: "0.25rem"
|
|
12628
|
-
},
|
|
12629
|
-
children: mergedLabels.otherCompanyHelperText
|
|
12630
|
-
}
|
|
12631
|
-
)
|
|
12632
|
-
] })
|
|
12633
|
-
] }),
|
|
12634
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { children: [
|
|
12635
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: 12, md: 12, lg: 12, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: mergedLabels.cargoReceiverTitle }) }),
|
|
12636
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { children: [
|
|
12637
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12638
|
-
reactComponents.RadioGroup,
|
|
12639
|
-
{
|
|
12640
|
-
disabled,
|
|
12641
|
-
layout: "horizontal",
|
|
12642
|
-
value: owner.cargoReceiverEntityType || MANIFEST_ENTITY.COMPANY,
|
|
12643
|
-
onChange: (_, data) => {
|
|
12644
|
-
onUpdateOwner(owner.id, {
|
|
12645
|
-
cargoReceiverEntityType: data.value,
|
|
12646
|
-
cargoReceiverEntity: "",
|
|
12647
|
-
cargoReceiverEntityOther: ""
|
|
12648
|
-
});
|
|
12649
|
-
setValue(`owners.${index}.cargoReceiverEntity`, "");
|
|
12650
|
-
setValue(
|
|
12651
|
-
`owners.${index}.cargoReceiverEntityOther`,
|
|
12652
|
-
""
|
|
12653
|
-
);
|
|
12654
|
-
},
|
|
12655
|
-
children: [
|
|
12656
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12657
|
-
reactComponents.Radio,
|
|
12658
|
-
{
|
|
12659
|
-
value: MANIFEST_ENTITY.COMPANY,
|
|
12660
|
-
label: mergedLabels.senderTypeCompany
|
|
12661
|
-
}
|
|
12662
|
-
),
|
|
12663
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12664
|
-
reactComponents.Radio,
|
|
12665
|
-
{
|
|
12666
|
-
value: MANIFEST_ENTITY.INDIVIDUAL,
|
|
12667
|
-
label: mergedLabels.senderTypeIndividual
|
|
12668
|
-
}
|
|
12669
|
-
)
|
|
12670
|
-
]
|
|
12671
|
-
}
|
|
12672
|
-
),
|
|
12673
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { children: [
|
|
12674
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xl: 6, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12675
|
-
InputDynamic_default,
|
|
12676
|
-
{
|
|
12677
|
-
control,
|
|
12678
|
-
disabled,
|
|
12679
|
-
name: `owners.${index}.cargoReceiverEntity`,
|
|
12680
|
-
placeholder: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY ? mergedLabels.cargoReceiverCompanyPlaceholder : mergedLabels.cargoReceiverIndividualPlaceholder,
|
|
12681
|
-
size: "large",
|
|
12682
|
-
type: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY ? "select" : "text",
|
|
12683
|
-
options: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY ? companyReceiverOptions : [],
|
|
12684
|
-
onChange: (val) => {
|
|
12685
|
-
setValue(
|
|
12686
|
-
`owners.${index}.cargoReceiverEntity`,
|
|
12687
|
-
val
|
|
12688
|
-
);
|
|
12689
|
-
onUpdateOwner(owner.id, {
|
|
12690
|
-
cargoReceiverEntity: val
|
|
12691
|
-
});
|
|
12692
|
-
}
|
|
12693
|
-
}
|
|
12694
|
-
) }),
|
|
12695
|
-
owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY && owner.cargoReceiverEntity === "999999" && /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xl: 6, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12696
|
-
InputDynamic_default,
|
|
12697
|
-
{
|
|
12698
|
-
control,
|
|
12699
|
-
disabled,
|
|
12700
|
-
name: `owners.${index}.cargoReceiverEntityOther`,
|
|
12701
|
-
placeholder: owner.cargoReceiverEntityType === MANIFEST_ENTITY.COMPANY ? mergedLabels.selectCompanyPlaceholder : mergedLabels.inputSenderNamePlaceholder,
|
|
12702
|
-
size: "large",
|
|
12703
|
-
type: "text",
|
|
12704
|
-
onChange: (val) => {
|
|
12705
|
-
setValue(
|
|
12706
|
-
`owners.${index}.cargoReceiverEntityOther`,
|
|
12707
|
-
val
|
|
12708
|
-
);
|
|
12709
|
-
onUpdateOwner(owner.id, {
|
|
12710
|
-
cargoReceiverEntityOther: val
|
|
12711
|
-
});
|
|
12712
|
-
}
|
|
12713
|
-
}
|
|
12714
|
-
) })
|
|
12715
|
-
] }),
|
|
12716
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12717
|
-
reactComponents.Caption1,
|
|
12718
|
-
{
|
|
12719
|
-
style: {
|
|
12720
|
-
color: reactComponents.tokens.colorNeutralForeground3,
|
|
12721
|
-
marginTop: "0.25rem"
|
|
12722
|
-
},
|
|
12723
|
-
children: mergedLabels.otherCompanyHelperText
|
|
12724
|
-
}
|
|
12725
|
-
)
|
|
12592
|
+
] })
|
|
12726
12593
|
] }),
|
|
12727
|
-
/* @__PURE__ */ jsxRuntime.
|
|
12728
|
-
|
|
12729
|
-
|
|
12730
|
-
|
|
12731
|
-
|
|
12732
|
-
|
|
12733
|
-
|
|
12734
|
-
|
|
12735
|
-
|
|
12736
|
-
|
|
12737
|
-
|
|
12738
|
-
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12594
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12595
|
+
reactComponents.Caption1,
|
|
12596
|
+
{
|
|
12597
|
+
style: {
|
|
12598
|
+
color: reactComponents.tokens.colorNeutralForeground3,
|
|
12599
|
+
marginTop: "0.25rem"
|
|
12600
|
+
},
|
|
12601
|
+
children: mergedLabels.otherCompanyHelperText
|
|
12602
|
+
}
|
|
12603
|
+
)
|
|
12604
|
+
] }) })
|
|
12605
|
+
] }),
|
|
12606
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Row, { children: [
|
|
12607
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { children: [
|
|
12608
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: mergedLabels.originCityLabel }),
|
|
12609
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12610
|
+
InputDynamic_default,
|
|
12611
|
+
{
|
|
12612
|
+
control,
|
|
12613
|
+
disabled,
|
|
12614
|
+
name: `owners.${index}.originCity`,
|
|
12615
|
+
placeholder: mergedLabels.selectPlaceholder,
|
|
12616
|
+
type: "select",
|
|
12617
|
+
options: cityOriginOptions,
|
|
12618
|
+
size: "large",
|
|
12619
|
+
onChange: (val) => {
|
|
12620
|
+
setValue(`owners.${index}.originCity`, val);
|
|
12621
|
+
onUpdateOwner(owner.id, {
|
|
12622
|
+
originCity: val
|
|
12623
|
+
});
|
|
12749
12624
|
}
|
|
12750
|
-
|
|
12751
|
-
|
|
12625
|
+
}
|
|
12626
|
+
)
|
|
12752
12627
|
] }),
|
|
12628
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { children: [
|
|
12629
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: mergedLabels.destinationCityLabel }),
|
|
12630
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12631
|
+
InputDynamic_default,
|
|
12632
|
+
{
|
|
12633
|
+
control,
|
|
12634
|
+
disabled,
|
|
12635
|
+
name: `owners.${index}.destinationCity`,
|
|
12636
|
+
placeholder: mergedLabels.selectPlaceholder,
|
|
12637
|
+
type: "select",
|
|
12638
|
+
options: cityDestinationOptions,
|
|
12639
|
+
size: "large",
|
|
12640
|
+
onChange: (val) => {
|
|
12641
|
+
setValue(`owners.${index}.destinationCity`, val);
|
|
12642
|
+
onUpdateOwner(owner.id, {
|
|
12643
|
+
destinationCity: val
|
|
12644
|
+
});
|
|
12645
|
+
}
|
|
12646
|
+
}
|
|
12647
|
+
)
|
|
12648
|
+
] })
|
|
12649
|
+
] }),
|
|
12650
|
+
hasLoad && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12753
12651
|
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Row, { children: /* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Col, { xs: 12, children: /* @__PURE__ */ jsxRuntime.jsx(reactComponents.Body1, { className: styles.label, children: mergedLabels.cargoListTitle }) }) }),
|
|
12754
12652
|
/* @__PURE__ */ jsxRuntime.jsx(reactGridSystem.Row, { children: /* @__PURE__ */ jsxRuntime.jsxs(reactGridSystem.Col, { xs: 12, children: [
|
|
12755
12653
|
/* @__PURE__ */ jsxRuntime.jsx(
|