@mseva/digit-ui-module-garbagecollection 1.0.31 → 1.0.33
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 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +97 -90
- package/dist/index.modern.js.map +1 -1
- package/package.json +39 -39
package/dist/index.modern.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardHeader, Toast, CardLabel, TextInput, Dropdown, ActionBar, SubmitBar, MobileNumber, TextArea, FormComposer, Loader as Loader$1, CardSubHeader, StatusTable, Card, CardSectionHeader, Menu,
|
|
1
|
+
import { CardHeader, Toast, CardLabel, TextInput, LabelFieldPair, Dropdown, ActionBar, SubmitBar, MobileNumber, CardLabelError, TextArea, FormComposer, Loader as Loader$1, CardSubHeader, StatusTable, Card, CardSectionHeader, Menu, UploadFile, SearchField, FilterFormField, RadioButtons, CheckBox, ComplaintIcon, Header, InboxComposer, AppContainer, BackButton, PrivateRoute, KeyNote, MultiLink, Row, Banner, Modal, CitizenHomeCard, PTIcon } from '@mseva/digit-ui-react-components';
|
|
2
2
|
import React, { useState, useEffect, useRef, Fragment as Fragment$1, useMemo, useReducer, useCallback } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { useHistory, Link, useLocation, Switch, useRouteMatch, useParams } from 'react-router-dom';
|
|
@@ -3032,6 +3032,7 @@ const CHBCitizenSecond = ({
|
|
|
3032
3032
|
setPropertyId(null);
|
|
3033
3033
|
};
|
|
3034
3034
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("form", {
|
|
3035
|
+
className: "employeeCard",
|
|
3035
3036
|
style: {
|
|
3036
3037
|
paddingBottom: "150px"
|
|
3037
3038
|
},
|
|
@@ -3082,15 +3083,13 @@ const CHBCitizenSecond = ({
|
|
|
3082
3083
|
style: {
|
|
3083
3084
|
color: "red"
|
|
3084
3085
|
}
|
|
3085
|
-
}, errors.propertyId.message)), ((propertyDetailsFetch === null || propertyDetailsFetch === void 0 ? void 0 : propertyDetailsFetch.Properties) || (currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.venueDetails) || (currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.apiResponseData)) && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("
|
|
3086
|
-
style: {
|
|
3087
|
-
marginBottom: "20px"
|
|
3088
|
-
}
|
|
3089
|
-
}, /*#__PURE__*/React.createElement(CardLabel, null, `${t("NDC_MSG_PROPERTY_TYPE_LABEL")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3086
|
+
}, errors.propertyId.message)), ((propertyDetailsFetch === null || propertyDetailsFetch === void 0 ? void 0 : propertyDetailsFetch.Properties) || (currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.venueDetails) || (currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.apiResponseData)) && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, `${t("NDC_MSG_PROPERTY_TYPE_LABEL")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3090
3087
|
style: {
|
|
3091
3088
|
color: "red"
|
|
3092
3089
|
}
|
|
3093
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
3090
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
3091
|
+
className: "form-field"
|
|
3092
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
3094
3093
|
control: control,
|
|
3095
3094
|
name: "propertyType",
|
|
3096
3095
|
rules: {
|
|
@@ -3113,18 +3112,16 @@ const CHBCitizenSecond = ({
|
|
|
3113
3112
|
}
|
|
3114
3113
|
}), (errors === null || errors === void 0 ? void 0 : errors.propertyType) && /*#__PURE__*/React.createElement("p", {
|
|
3115
3114
|
style: {
|
|
3116
|
-
color: "red"
|
|
3117
|
-
|
|
3118
|
-
}, errors.propertyType.message)), /*#__PURE__*/React.createElement("div", {
|
|
3119
|
-
className: "form-field",
|
|
3120
|
-
style: {
|
|
3121
|
-
marginBottom: "20px"
|
|
3115
|
+
color: "red",
|
|
3116
|
+
marginTop: "4px"
|
|
3122
3117
|
}
|
|
3123
|
-
}, /*#__PURE__*/React.createElement(CardLabel, null, `${t("PDF_STATIC_LABEL_WS_CONSOLIDATED_ACKNOWELDGMENT_PLOT_SIZE")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3118
|
+
}, errors.propertyType.message))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, `${t("PDF_STATIC_LABEL_WS_CONSOLIDATED_ACKNOWELDGMENT_PLOT_SIZE")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3124
3119
|
style: {
|
|
3125
3120
|
color: "red"
|
|
3126
3121
|
}
|
|
3127
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
3122
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
3123
|
+
className: "form-field"
|
|
3124
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
3128
3125
|
control: control,
|
|
3129
3126
|
name: "plotSize",
|
|
3130
3127
|
rules: {
|
|
@@ -3142,18 +3139,16 @@ const CHBCitizenSecond = ({
|
|
|
3142
3139
|
})
|
|
3143
3140
|
}), (errors === null || errors === void 0 ? void 0 : errors.plotSize) && /*#__PURE__*/React.createElement("p", {
|
|
3144
3141
|
style: {
|
|
3145
|
-
color: "red"
|
|
3146
|
-
|
|
3147
|
-
}, errors.plotSize.message)), /*#__PURE__*/React.createElement("div", {
|
|
3148
|
-
className: "form-field",
|
|
3149
|
-
style: {
|
|
3150
|
-
marginBottom: "20px"
|
|
3142
|
+
color: "red",
|
|
3143
|
+
marginTop: "4px"
|
|
3151
3144
|
}
|
|
3152
|
-
}, /*#__PURE__*/React.createElement(CardLabel, null, `${t("GC_LOCATION")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3145
|
+
}, errors.plotSize.message))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, `${t("GC_LOCATION")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3153
3146
|
style: {
|
|
3154
3147
|
color: "red"
|
|
3155
3148
|
}
|
|
3156
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
3149
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
3150
|
+
className: "form-field"
|
|
3151
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
3157
3152
|
control: control,
|
|
3158
3153
|
name: "location",
|
|
3159
3154
|
rules: {
|
|
@@ -3171,17 +3166,16 @@ const CHBCitizenSecond = ({
|
|
|
3171
3166
|
})
|
|
3172
3167
|
}), (errors === null || errors === void 0 ? void 0 : errors.location) && /*#__PURE__*/React.createElement("p", {
|
|
3173
3168
|
style: {
|
|
3174
|
-
color: "red"
|
|
3169
|
+
color: "red",
|
|
3170
|
+
marginTop: "4px"
|
|
3175
3171
|
}
|
|
3176
|
-
}, errors.location.message)), /*#__PURE__*/React.createElement("
|
|
3177
|
-
style: {
|
|
3178
|
-
marginBottom: "20px"
|
|
3179
|
-
}
|
|
3180
|
-
}, /*#__PURE__*/React.createElement(CardLabel, null, `${t("GC_FREQUENCY")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3172
|
+
}, errors.location.message))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, `${t("GC_FREQUENCY")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3181
3173
|
style: {
|
|
3182
3174
|
color: "red"
|
|
3183
3175
|
}
|
|
3184
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
3176
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
3177
|
+
className: "form-field"
|
|
3178
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
3185
3179
|
control: control,
|
|
3186
3180
|
name: "frequency",
|
|
3187
3181
|
rules: {
|
|
@@ -3204,17 +3198,16 @@ const CHBCitizenSecond = ({
|
|
|
3204
3198
|
}
|
|
3205
3199
|
}), (errors === null || errors === void 0 ? void 0 : errors.frequency) && /*#__PURE__*/React.createElement("p", {
|
|
3206
3200
|
style: {
|
|
3207
|
-
color: "red"
|
|
3208
|
-
|
|
3209
|
-
}, errors.frequency.message)), /*#__PURE__*/React.createElement("div", {
|
|
3210
|
-
style: {
|
|
3211
|
-
marginBottom: "20px"
|
|
3201
|
+
color: "red",
|
|
3202
|
+
marginTop: "4px"
|
|
3212
3203
|
}
|
|
3213
|
-
}, /*#__PURE__*/React.createElement(CardLabel, null, `${t("GC_WASTE_TYPE")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3204
|
+
}, errors.frequency.message))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, `${t("GC_WASTE_TYPE")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3214
3205
|
style: {
|
|
3215
3206
|
color: "red"
|
|
3216
3207
|
}
|
|
3217
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
3208
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
3209
|
+
className: "form-field"
|
|
3210
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
3218
3211
|
control: control,
|
|
3219
3212
|
name: "typeOfWaste",
|
|
3220
3213
|
rules: {
|
|
@@ -3237,17 +3230,16 @@ const CHBCitizenSecond = ({
|
|
|
3237
3230
|
}
|
|
3238
3231
|
}), (errors === null || errors === void 0 ? void 0 : errors.typeOfWaste) && /*#__PURE__*/React.createElement("p", {
|
|
3239
3232
|
style: {
|
|
3240
|
-
color: "red"
|
|
3233
|
+
color: "red",
|
|
3234
|
+
marginTop: "4px"
|
|
3241
3235
|
}
|
|
3242
|
-
}, errors.typeOfWaste.message)), /*#__PURE__*/React.createElement("
|
|
3243
|
-
style: {
|
|
3244
|
-
marginBottom: "20px"
|
|
3245
|
-
}
|
|
3246
|
-
}, /*#__PURE__*/React.createElement(CardLabel, null, `${t("GC_CONNECTION_TYPE")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3236
|
+
}, errors.typeOfWaste.message))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, `${t("GC_CONNECTION_TYPE")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
3247
3237
|
style: {
|
|
3248
3238
|
color: "red"
|
|
3249
3239
|
}
|
|
3250
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
3240
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
3241
|
+
className: "form-field"
|
|
3242
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
3251
3243
|
control: control,
|
|
3252
3244
|
name: "connectionCategory",
|
|
3253
3245
|
rules: {
|
|
@@ -3270,9 +3262,10 @@ const CHBCitizenSecond = ({
|
|
|
3270
3262
|
}
|
|
3271
3263
|
}), (errors === null || errors === void 0 ? void 0 : errors.connectionCategory) && /*#__PURE__*/React.createElement("p", {
|
|
3272
3264
|
style: {
|
|
3273
|
-
color: "red"
|
|
3265
|
+
color: "red",
|
|
3266
|
+
marginTop: "4px"
|
|
3274
3267
|
}
|
|
3275
|
-
}, errors.connectionCategory.message)))), /*#__PURE__*/React.createElement(ActionBar, null, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
3268
|
+
}, errors.connectionCategory.message))))), /*#__PURE__*/React.createElement(ActionBar, null, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
3276
3269
|
style: {
|
|
3277
3270
|
background: " white",
|
|
3278
3271
|
color: "black",
|
|
@@ -9126,6 +9119,7 @@ const NewADSStepFormOne = ({
|
|
|
9126
9119
|
onGoNext,
|
|
9127
9120
|
onBackClick
|
|
9128
9121
|
}) => {
|
|
9122
|
+
var _window$location, _window$location$href;
|
|
9129
9123
|
const dispatch = useDispatch();
|
|
9130
9124
|
const {
|
|
9131
9125
|
t
|
|
@@ -9147,12 +9141,15 @@ const NewADSStepFormOne = ({
|
|
|
9147
9141
|
setShowToast(false);
|
|
9148
9142
|
setError("");
|
|
9149
9143
|
};
|
|
9150
|
-
|
|
9144
|
+
const isCitizen = typeof window !== "undefined" && ((_window$location = window.location) === null || _window$location === void 0 ? void 0 : (_window$location$href = _window$location.href) === null || _window$location$href === void 0 ? void 0 : _window$location$href.includes("citizen"));
|
|
9145
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
9146
|
+
className: !isCitizen ? "employeeCard" : ""
|
|
9147
|
+
}, /*#__PURE__*/React.createElement(CHBCitizenSecond, {
|
|
9151
9148
|
onGoBack: onGoBack,
|
|
9152
9149
|
goNext: goNext,
|
|
9153
9150
|
currentStepData: currentStepData,
|
|
9154
9151
|
t: t
|
|
9155
|
-
}), showToast && /*#__PURE__*/React.createElement(Toast, {
|
|
9152
|
+
})), showToast && /*#__PURE__*/React.createElement(Toast, {
|
|
9156
9153
|
isDleteBtn: true,
|
|
9157
9154
|
error: true,
|
|
9158
9155
|
label: error,
|
|
@@ -9263,20 +9260,21 @@ const CHBCitizenDetailsNew = ({
|
|
|
9263
9260
|
}
|
|
9264
9261
|
};
|
|
9265
9262
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("form", {
|
|
9263
|
+
className: "employeeCard",
|
|
9266
9264
|
onSubmit: handleSubmit(onSubmit)
|
|
9267
9265
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9268
9266
|
style: {
|
|
9269
|
-
|
|
9270
|
-
}
|
|
9271
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
9272
|
-
style: {
|
|
9273
|
-
marginBottom: "20px"
|
|
9267
|
+
maxWidth: !isCitizen ? "100%" : "100%"
|
|
9274
9268
|
}
|
|
9275
|
-
}, /*#__PURE__*/React.createElement(
|
|
9269
|
+
}, /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, {
|
|
9270
|
+
className: "card-label-smaller"
|
|
9271
|
+
}, `${t("NOC_APPLICANT_MOBILE_NO_LABEL")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
9276
9272
|
style: {
|
|
9277
9273
|
color: "red"
|
|
9278
9274
|
}
|
|
9279
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
9275
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
9276
|
+
className: "form-field"
|
|
9277
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
9280
9278
|
control: control,
|
|
9281
9279
|
name: "mobileNumber",
|
|
9282
9280
|
rules: {
|
|
@@ -9289,7 +9287,6 @@ const CHBCitizenDetailsNew = ({
|
|
|
9289
9287
|
render: props => /*#__PURE__*/React.createElement(MobileNumber, {
|
|
9290
9288
|
value: props.value,
|
|
9291
9289
|
onChange: e => {
|
|
9292
|
-
console.log("eee", e);
|
|
9293
9290
|
props.onChange(e);
|
|
9294
9291
|
setValue("name", "");
|
|
9295
9292
|
if (e.length === 10) {
|
|
@@ -9299,19 +9296,19 @@ const CHBCitizenDetailsNew = ({
|
|
|
9299
9296
|
onBlur: props.onBlur,
|
|
9300
9297
|
t: t
|
|
9301
9298
|
})
|
|
9302
|
-
}), (errors === null || errors === void 0 ? void 0 : errors.mobileNumber) && /*#__PURE__*/React.createElement(
|
|
9303
|
-
style: {
|
|
9304
|
-
color: "red"
|
|
9305
|
-
}
|
|
9306
|
-
}, errors.mobileNumber.message)), /*#__PURE__*/React.createElement("div", {
|
|
9299
|
+
}), (errors === null || errors === void 0 ? void 0 : errors.mobileNumber) && /*#__PURE__*/React.createElement(CardLabelError, {
|
|
9307
9300
|
style: {
|
|
9308
|
-
|
|
9301
|
+
marginTop: "4px"
|
|
9309
9302
|
}
|
|
9310
|
-
}, /*#__PURE__*/React.createElement(
|
|
9303
|
+
}, errors.mobileNumber.message))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, {
|
|
9304
|
+
className: "card-label-smaller"
|
|
9305
|
+
}, `${t("BPA_BASIC_DETAILS_APPLICATION_NAME_LABEL")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
9311
9306
|
style: {
|
|
9312
9307
|
color: "red"
|
|
9313
9308
|
}
|
|
9314
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
9309
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
9310
|
+
className: "form-field"
|
|
9311
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
9315
9312
|
control: control,
|
|
9316
9313
|
name: "name",
|
|
9317
9314
|
rules: {
|
|
@@ -9335,19 +9332,19 @@ const CHBCitizenDetailsNew = ({
|
|
|
9335
9332
|
t: t
|
|
9336
9333
|
});
|
|
9337
9334
|
}
|
|
9338
|
-
}), (errors === null || errors === void 0 ? void 0 : errors.name) && /*#__PURE__*/React.createElement(
|
|
9335
|
+
}), (errors === null || errors === void 0 ? void 0 : errors.name) && /*#__PURE__*/React.createElement(CardLabelError, {
|
|
9339
9336
|
style: {
|
|
9340
|
-
|
|
9337
|
+
marginTop: "4px"
|
|
9341
9338
|
}
|
|
9342
|
-
}, errors.name.message)), /*#__PURE__*/React.createElement(
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
}
|
|
9346
|
-
}, /*#__PURE__*/React.createElement(CardLabel, null, `${t("NOC_APPLICANT_EMAIL_LABEL")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
9339
|
+
}, errors.name.message))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, {
|
|
9340
|
+
className: "card-label-smaller"
|
|
9341
|
+
}, `${t("NOC_APPLICANT_EMAIL_LABEL")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
9347
9342
|
style: {
|
|
9348
9343
|
color: "red"
|
|
9349
9344
|
}
|
|
9350
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
9345
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
9346
|
+
className: "form-field"
|
|
9347
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
9351
9348
|
control: control,
|
|
9352
9349
|
name: "emailId",
|
|
9353
9350
|
rules: {
|
|
@@ -9367,19 +9364,19 @@ const CHBCitizenDetailsNew = ({
|
|
|
9367
9364
|
},
|
|
9368
9365
|
t: t
|
|
9369
9366
|
})
|
|
9370
|
-
}), (errors === null || errors === void 0 ? void 0 : errors.emailId) && /*#__PURE__*/React.createElement(
|
|
9371
|
-
style: {
|
|
9372
|
-
color: "red"
|
|
9373
|
-
}
|
|
9374
|
-
}, errors.emailId.message)), /*#__PURE__*/React.createElement("div", {
|
|
9367
|
+
}), (errors === null || errors === void 0 ? void 0 : errors.emailId) && /*#__PURE__*/React.createElement(CardLabelError, {
|
|
9375
9368
|
style: {
|
|
9376
|
-
|
|
9369
|
+
marginTop: "4px"
|
|
9377
9370
|
}
|
|
9378
|
-
}, /*#__PURE__*/React.createElement(
|
|
9371
|
+
}, errors.emailId.message))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, {
|
|
9372
|
+
className: "card-label-smaller"
|
|
9373
|
+
}, `${t("PT_COMMON_COL_ADDRESS")}`, " ", /*#__PURE__*/React.createElement("span", {
|
|
9379
9374
|
style: {
|
|
9380
9375
|
color: "red"
|
|
9381
9376
|
}
|
|
9382
|
-
}, "*")), /*#__PURE__*/React.createElement(
|
|
9377
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
9378
|
+
className: "form-field"
|
|
9379
|
+
}, /*#__PURE__*/React.createElement(Controller, {
|
|
9383
9380
|
control: control,
|
|
9384
9381
|
name: "address",
|
|
9385
9382
|
rules: {
|
|
@@ -9400,11 +9397,11 @@ const CHBCitizenDetailsNew = ({
|
|
|
9400
9397
|
},
|
|
9401
9398
|
t: t
|
|
9402
9399
|
})
|
|
9403
|
-
}), (errors === null || errors === void 0 ? void 0 : errors.address) && /*#__PURE__*/React.createElement(
|
|
9400
|
+
}), (errors === null || errors === void 0 ? void 0 : errors.address) && /*#__PURE__*/React.createElement(CardLabelError, {
|
|
9404
9401
|
style: {
|
|
9405
|
-
|
|
9402
|
+
marginTop: "4px"
|
|
9406
9403
|
}
|
|
9407
|
-
}, errors.address.message))), /*#__PURE__*/React.createElement(ActionBar, null, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
9404
|
+
}, errors.address.message)))), /*#__PURE__*/React.createElement(ActionBar, null, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
9408
9405
|
label: "Next",
|
|
9409
9406
|
submit: "submit"
|
|
9410
9407
|
}))), loader && /*#__PURE__*/React.createElement(Loader, {
|
|
@@ -9417,6 +9414,7 @@ const NewADSStepFormTwo = ({
|
|
|
9417
9414
|
onBackClick,
|
|
9418
9415
|
onGoNext
|
|
9419
9416
|
}) => {
|
|
9417
|
+
var _window$location, _window$location$href;
|
|
9420
9418
|
const {
|
|
9421
9419
|
t
|
|
9422
9420
|
} = useTranslation();
|
|
@@ -9438,12 +9436,15 @@ const NewADSStepFormTwo = ({
|
|
|
9438
9436
|
setShowToast(false);
|
|
9439
9437
|
setError("");
|
|
9440
9438
|
};
|
|
9441
|
-
|
|
9439
|
+
const isCitizen = typeof window !== "undefined" && ((_window$location = window.location) === null || _window$location === void 0 ? void 0 : (_window$location$href = _window$location.href) === null || _window$location$href === void 0 ? void 0 : _window$location$href.includes("citizen"));
|
|
9440
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
9441
|
+
className: !isCitizen ? "employeeCard" : ""
|
|
9442
|
+
}, /*#__PURE__*/React.createElement(CHBCitizenDetailsNew, {
|
|
9442
9443
|
onGoBack: onGoBack,
|
|
9443
9444
|
goNext: goNext,
|
|
9444
9445
|
currentStepData: currentStepData,
|
|
9445
9446
|
t: t
|
|
9446
|
-
}), showToast && /*#__PURE__*/React.createElement(Toast, {
|
|
9447
|
+
})), showToast && /*#__PURE__*/React.createElement(Toast, {
|
|
9447
9448
|
isDleteBtn: true,
|
|
9448
9449
|
error: true,
|
|
9449
9450
|
label: error,
|
|
@@ -10212,7 +10213,8 @@ const SearchFormFieldsComponents = ({
|
|
|
10212
10213
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10213
10214
|
className: "complaint-input-container",
|
|
10214
10215
|
style: {
|
|
10215
|
-
textAlign: "start"
|
|
10216
|
+
textAlign: "start",
|
|
10217
|
+
display: "flex"
|
|
10216
10218
|
}
|
|
10217
10219
|
}, /*#__PURE__*/React.createElement(SearchField, null, /*#__PURE__*/React.createElement("label", null, t("NOC_HOME_SEARCH_RESULTS_APP_NO_LABEL")), /*#__PURE__*/React.createElement(TextInput, {
|
|
10218
10220
|
name: "applicationNumber",
|
|
@@ -10817,7 +10819,12 @@ const App = () => {
|
|
|
10817
10819
|
const GCApplicationDetails = (_Digit3 = Digit) === null || _Digit3 === void 0 ? void 0 : (_Digit3$ComponentRegi = _Digit3.ComponentRegistryService) === null || _Digit3$ComponentRegi === void 0 ? void 0 : _Digit3$ComponentRegi.getComponent("GCApplicationDetails");
|
|
10818
10820
|
const GCResponseCitizen = (_Digit4 = Digit) === null || _Digit4 === void 0 ? void 0 : (_Digit4$ComponentRegi = _Digit4.ComponentRegistryService) === null || _Digit4$ComponentRegi === void 0 ? void 0 : _Digit4$ComponentRegi.getComponent("GCResponseCitizen");
|
|
10819
10821
|
return /*#__PURE__*/React.createElement("span", {
|
|
10820
|
-
className: "
|
|
10822
|
+
className: "chb-citizen",
|
|
10823
|
+
style: {
|
|
10824
|
+
width: "100%",
|
|
10825
|
+
paddingRight: "25px",
|
|
10826
|
+
paddingLeft: "25px"
|
|
10827
|
+
}
|
|
10821
10828
|
}, /*#__PURE__*/React.createElement(Switch, null, /*#__PURE__*/React.createElement(AppContainer, null, /*#__PURE__*/React.createElement(BackButton, {
|
|
10822
10829
|
style: {
|
|
10823
10830
|
top: "55px"
|
|
@@ -11520,7 +11527,7 @@ const TimelineDocument = React.memo(({
|
|
|
11520
11527
|
return /*#__PURE__*/React.createElement("div", {
|
|
11521
11528
|
className: "custom-doc-container"
|
|
11522
11529
|
}, documents === null || documents === void 0 ? void 0 : documents.map((document, idx) => {
|
|
11523
|
-
const documentLink = pdfDownloadLink$1(data === null || data === void 0 ? void 0 : data.pdfFiles, document === null || document === void 0 ? void 0 : document.fileStoreId);
|
|
11530
|
+
const documentLink = pdfDownloadLink$1(data === null || data === void 0 ? void 0 : data.pdfFiles, (document === null || document === void 0 ? void 0 : document.fileStoreId) || (document === null || document === void 0 ? void 0 : document.documentUid));
|
|
11524
11531
|
if (!documentLink) return null;
|
|
11525
11532
|
return /*#__PURE__*/React.createElement("a", {
|
|
11526
11533
|
key: idx,
|
|
@@ -11573,8 +11580,7 @@ function NewApplicationTimeline({
|
|
|
11573
11580
|
return normalized.reverse();
|
|
11574
11581
|
};
|
|
11575
11582
|
const data = useMemo(() => normalizeTimeline(workflowDetails), [workflowDetails]);
|
|
11576
|
-
const sortedData = data || [];
|
|
11577
|
-
console.log("sortedData", sortedData);
|
|
11583
|
+
const sortedData = (data === null || data === void 0 ? void 0 : data.filter(val => !((val === null || val === void 0 ? void 0 : val.performedAction) === "SAVE_AS_DRAFT"))) || [];
|
|
11578
11584
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
11579
11585
|
className: "custom-timeline-container"
|
|
11580
11586
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -12263,6 +12269,7 @@ const NDCModal = ({
|
|
|
12263
12269
|
formId: "modal-action"
|
|
12264
12270
|
}, /*#__PURE__*/React.createElement(FormComposer, {
|
|
12265
12271
|
config: config.form,
|
|
12272
|
+
className: "BPAemployeeCard bpa-workflow-modal-form",
|
|
12266
12273
|
noBoxShadow: true,
|
|
12267
12274
|
inline: true,
|
|
12268
12275
|
childrenAtTheBottom: true,
|