@djb25/digit-ui-module-commonpt 1.0.19 → 1.0.20
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 +1 -20255
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -12210,7 +12210,12 @@ const ActionModal$5 = _ref => {
|
|
|
12210
12210
|
const inspectionInformationData = sessionStorage.getItem("Digit.INSPECTION_INFORMATION_DATA");
|
|
12211
12211
|
if (inspectionInformationData) {
|
|
12212
12212
|
try {
|
|
12213
|
-
|
|
12213
|
+
const parsedInspectionData = JSON.parse(inspectionInformationData);
|
|
12214
|
+
if (parsedInspectionData !== null && parsedInspectionData !== void 0 && parsedInspectionData.inspectionDate) {
|
|
12215
|
+
const dateVal = parsedInspectionData.inspectionDate;
|
|
12216
|
+
parsedInspectionData.inspectionDate = typeof dateVal === 'string' ? new Date(dateVal).getTime() : dateVal;
|
|
12217
|
+
}
|
|
12218
|
+
applicationData.inspectionInformation = parsedInspectionData;
|
|
12214
12219
|
} catch (e) {
|
|
12215
12220
|
console.error("Error parsing inspection information data", e);
|
|
12216
12221
|
}
|
|
@@ -19033,8 +19038,7 @@ const PropertyWaterConnection = _ref => {
|
|
|
19033
19038
|
}),
|
|
19034
19039
|
control = _useForm.control,
|
|
19035
19040
|
register = _useForm.register,
|
|
19036
|
-
|
|
19037
|
-
errors = _useForm$formState.errors,
|
|
19041
|
+
errors = _useForm.formState.errors,
|
|
19038
19042
|
watch = _useForm.watch,
|
|
19039
19043
|
setValue = _useForm.setValue;
|
|
19040
19044
|
const tenantId = Digit.ULBService.getCurrentTenantId();
|
|
@@ -19219,8 +19223,8 @@ const PropertyWaterConnection = _ref => {
|
|
|
19219
19223
|
marginTop: "-21px"
|
|
19220
19224
|
};
|
|
19221
19225
|
return /*#__PURE__*/React.createElement(CollapsibleCardPage, {
|
|
19222
|
-
title: t("WS_PROPERTY_AND_WATER_CONNECTION_USE_DETAILS") + (config !== null && config !== void 0 && config.isAutomaticFill ? " (Automatic Fill by Property
|
|
19223
|
-
defaultOpen:
|
|
19226
|
+
title: t("WS_PROPERTY_AND_WATER_CONNECTION_USE_DETAILS") + (config !== null && config !== void 0 && config.isAutomaticFill ? " " + t("(Automatic Fill by Property)") : ""),
|
|
19227
|
+
defaultOpen: false,
|
|
19224
19228
|
style: props.style
|
|
19225
19229
|
}, /*#__PURE__*/React.createElement("div", {
|
|
19226
19230
|
className: "formcomposer-section-grid"
|