@mseva/upyog-ui-module-ads 1.1.65 → 1.1.67
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 +12 -13
- package/dist/index.modern.js.map +1 -1
- package/package.json +39 -39
package/dist/index.modern.js
CHANGED
|
@@ -18747,10 +18747,7 @@ const ADSAddressField = ({
|
|
|
18747
18747
|
onChange: () => {},
|
|
18748
18748
|
onBlur: onBlur,
|
|
18749
18749
|
disabled: true,
|
|
18750
|
-
placeholder: t("ADS_LOCATION")
|
|
18751
|
-
style: {
|
|
18752
|
-
maxWidth: !isCitizen && "330px"
|
|
18753
|
-
}
|
|
18750
|
+
placeholder: t("ADS_LOCATION")
|
|
18754
18751
|
})), isOpen && /*#__PURE__*/React.createElement(GIS, {
|
|
18755
18752
|
t: t,
|
|
18756
18753
|
formData: {
|
|
@@ -20432,7 +20429,7 @@ const TimelineDocument$1 = React.memo(({
|
|
|
20432
20429
|
return /*#__PURE__*/React.createElement("div", {
|
|
20433
20430
|
className: "custom-doc-container"
|
|
20434
20431
|
}, documents === null || documents === void 0 ? void 0 : documents.map((document, idx) => {
|
|
20435
|
-
const documentLink = pdfDownloadLink$2(data === null || data === void 0 ? void 0 : data.pdfFiles, document === null || document === void 0 ? void 0 : document.fileStoreId);
|
|
20432
|
+
const documentLink = pdfDownloadLink$2(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));
|
|
20436
20433
|
if (!documentLink) return null;
|
|
20437
20434
|
return /*#__PURE__*/React.createElement("a", {
|
|
20438
20435
|
key: idx,
|
|
@@ -20486,7 +20483,6 @@ function NewApplicationTimeline({
|
|
|
20486
20483
|
};
|
|
20487
20484
|
const data = useMemo(() => normalizeTimeline(workflowDetails), [workflowDetails]);
|
|
20488
20485
|
const sortedData = (data === null || data === void 0 ? void 0 : data.filter(val => !((val === null || val === void 0 ? void 0 : val.performedAction) === "SAVE_AS_DRAFT"))) || [];
|
|
20489
|
-
console.log("sortedData", sortedData);
|
|
20490
20486
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
20491
20487
|
className: "custom-timeline-container"
|
|
20492
20488
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -22905,6 +22901,7 @@ const ADSModal = ({
|
|
|
22905
22901
|
formId: "modal-action"
|
|
22906
22902
|
}, /*#__PURE__*/React.createElement(FormComposer, {
|
|
22907
22903
|
config: config.form,
|
|
22904
|
+
className: "BPAemployeeCard bpa-workflow-modal-form",
|
|
22908
22905
|
noBoxShadow: true,
|
|
22909
22906
|
inline: true,
|
|
22910
22907
|
childrenAtTheBottom: true,
|
|
@@ -24010,7 +24007,7 @@ const NewADSStepperForm = ({
|
|
|
24010
24007
|
const handleSubmit = dataGet => {};
|
|
24011
24008
|
const createTime = formData === null || formData === void 0 ? void 0 : formData.reservationExpiry;
|
|
24012
24009
|
return /*#__PURE__*/React.createElement("div", {
|
|
24013
|
-
className: "
|
|
24010
|
+
className: "employeeCard"
|
|
24014
24011
|
}, /*#__PURE__*/React.createElement(CardHeader$1, {
|
|
24015
24012
|
className: "ads-heading-large",
|
|
24016
24013
|
divider: true
|
|
@@ -24240,6 +24237,7 @@ const ADSCitizenDetailsNew = ({
|
|
|
24240
24237
|
color: "red"
|
|
24241
24238
|
};
|
|
24242
24239
|
return /*#__PURE__*/React.createElement("form", {
|
|
24240
|
+
className: "card",
|
|
24243
24241
|
onSubmit: handleSubmit(onSubmit)
|
|
24244
24242
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24245
24243
|
style: {
|
|
@@ -25169,11 +25167,12 @@ const ADSCitizenSecond = ({
|
|
|
25169
25167
|
marginRight: 6
|
|
25170
25168
|
}
|
|
25171
25169
|
}, "\uD83D\uDED2"), t("ADS_VIEW_CART"), " (", cartSlots === null || cartSlots === void 0 ? void 0 : cartSlots.length, ")")), /*#__PURE__*/React.createElement("form", {
|
|
25170
|
+
className: "card",
|
|
25172
25171
|
onSubmit: handleSubmit(onSubmit)
|
|
25173
|
-
}, /*#__PURE__*/React.createElement(CardLabel, null, t("ADS_SITE_NAME_LABEL"), " ", /*#__PURE__*/React.createElement("span", {
|
|
25172
|
+
}, /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, t("ADS_SITE_NAME_LABEL"), " ", /*#__PURE__*/React.createElement("span", {
|
|
25174
25173
|
style: mandatoryStyle
|
|
25175
25174
|
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
25176
|
-
className: "
|
|
25175
|
+
className: "form-field"
|
|
25177
25176
|
}, /*#__PURE__*/React.createElement(Controller, {
|
|
25178
25177
|
control: control,
|
|
25179
25178
|
name: "siteId",
|
|
@@ -25181,7 +25180,6 @@ const ADSCitizenSecond = ({
|
|
|
25181
25180
|
required: t("ADS_SITE_NAME_REQUIRED")
|
|
25182
25181
|
},
|
|
25183
25182
|
render: props => /*#__PURE__*/React.createElement(Dropdown, {
|
|
25184
|
-
className: "ads-form-field",
|
|
25185
25183
|
option: locationOptions,
|
|
25186
25184
|
optionKey: "name",
|
|
25187
25185
|
selected: props.value,
|
|
@@ -25190,7 +25188,7 @@ const ADSCitizenSecond = ({
|
|
|
25190
25188
|
filterAds(e);
|
|
25191
25189
|
}
|
|
25192
25190
|
})
|
|
25193
|
-
})), errors.siteId && /*#__PURE__*/React.createElement(CardLabelError$1, {
|
|
25191
|
+
}))), errors.siteId && /*#__PURE__*/React.createElement(CardLabelError$1, {
|
|
25194
25192
|
style: errorStyle
|
|
25195
25193
|
}, errors.siteId.message), guidance && (adsForLocation === null || adsForLocation === void 0 ? void 0 : adsForLocation.length) > 0 && /*#__PURE__*/React.createElement("div", {
|
|
25196
25194
|
className: "ads-guidance-box"
|
|
@@ -25224,15 +25222,16 @@ const ADSCitizenSecond = ({
|
|
|
25224
25222
|
type: "button",
|
|
25225
25223
|
className: "ads-btn",
|
|
25226
25224
|
onClick: () => setVisibleCount(6)
|
|
25227
|
-
}, t("SHOW_LESS"))), /*#__PURE__*/React.createElement(CardLabel, null, t("CS_COMPLAINT_DETAILS_GEO_LOCATION")), /*#__PURE__*/React.createElement(Controller, {
|
|
25225
|
+
}, t("SHOW_LESS"))), /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, t("CS_COMPLAINT_DETAILS_GEO_LOCATION")), /*#__PURE__*/React.createElement(Controller, {
|
|
25228
25226
|
control: control,
|
|
25229
25227
|
name: "geoLocation",
|
|
25230
25228
|
render: props => /*#__PURE__*/React.createElement(ADSAddressField, {
|
|
25229
|
+
classname: "form-field",
|
|
25231
25230
|
value: props.value,
|
|
25232
25231
|
onChange: props.onChange,
|
|
25233
25232
|
t: t
|
|
25234
25233
|
})
|
|
25235
|
-
}), /*#__PURE__*/React.createElement(ActionBar, null, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
25234
|
+
})), /*#__PURE__*/React.createElement(ActionBar, null, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
25236
25235
|
label: "Next",
|
|
25237
25236
|
submit: "submit"
|
|
25238
25237
|
})), showModal && /*#__PURE__*/React.createElement(AvailabilityModal, {
|