@mseva/upyog-ui-module-chb 1.1.90 → 1.1.91-dev.1
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 +13 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -542,6 +542,10 @@ function createCommonjsModule(fn, module) {
|
|
|
542
542
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
+
function getCjsExportFromNamespace (n) {
|
|
546
|
+
return n && n['default'] || n;
|
|
547
|
+
}
|
|
548
|
+
|
|
545
549
|
var jquery = createCommonjsModule(function (module) {
|
|
546
550
|
(function (global, factory) {
|
|
547
551
|
|
|
@@ -14387,6 +14391,8 @@ var accessibility = createCommonjsModule(function (module, exports) {
|
|
|
14387
14391
|
});
|
|
14388
14392
|
unwrapExports(accessibility);
|
|
14389
14393
|
|
|
14394
|
+
var _shallowEqual = getCjsExportFromNamespace(index_esm);
|
|
14395
|
+
|
|
14390
14396
|
var Calendar_1 = createCommonjsModule(function (module, exports) {
|
|
14391
14397
|
|
|
14392
14398
|
function _typeof(obj) {
|
|
@@ -15041,7 +15047,7 @@ var Calendar_1 = createCommonjsModule(function (module, exports) {
|
|
|
15041
15047
|
monthNames: this.getMonthNames()
|
|
15042
15048
|
});
|
|
15043
15049
|
}
|
|
15044
|
-
if (!(0,
|
|
15050
|
+
if (!(0, _shallowEqual.shallowEqualObjects)(prevProps.scroll, this.props.scroll)) {
|
|
15045
15051
|
this.setState({
|
|
15046
15052
|
scrollArea: this.calcScrollArea(this.props)
|
|
15047
15053
|
});
|
|
@@ -17669,6 +17675,7 @@ const getTimelineAcknowledgementData = (workflowDetails, tenantInfo, pdfFiles =
|
|
|
17669
17675
|
const formats = (downloadLink === null || downloadLink === void 0 ? void 0 : (_downloadLink$split = downloadLink.split(",")) === null || _downloadLink$split === void 0 ? void 0 : _downloadLink$split.filter(Boolean)) || [];
|
|
17670
17676
|
return (formats === null || formats === void 0 ? void 0 : formats.find(link => !(link !== null && link !== void 0 && link.includes("large")) && !(link !== null && link !== void 0 && link.includes("medium")) && !(link !== null && link !== void 0 && link.includes("small")))) || (formats === null || formats === void 0 ? void 0 : formats[0]) || "";
|
|
17671
17677
|
};
|
|
17678
|
+
const pattern = /\[#\?.*?\*\*\]/;
|
|
17672
17679
|
const timelineRows = timeline.map((item, index) => {
|
|
17673
17680
|
var _item$auditDetails, _item$auditDetails2, _item$assigner, _item$assigner2, _item$assigner3, _item$wfComment;
|
|
17674
17681
|
const createdDate = (item === null || item === void 0 ? void 0 : (_item$auditDetails = item.auditDetails) === null || _item$auditDetails === void 0 ? void 0 : _item$auditDetails.created) || "N/A";
|
|
@@ -17678,7 +17685,8 @@ const getTimelineAcknowledgementData = (workflowDetails, tenantInfo, pdfFiles =
|
|
|
17678
17685
|
const mobileNumber = (item === null || item === void 0 ? void 0 : (_item$assigner3 = item.assigner) === null || _item$assigner3 === void 0 ? void 0 : _item$assigner3.mobileNumber) || "N/A";
|
|
17679
17686
|
const action = (item === null || item === void 0 ? void 0 : item.performedAction) || "N/A";
|
|
17680
17687
|
const status = (item === null || item === void 0 ? void 0 : item.status) || (item === null || item === void 0 ? void 0 : item.state) || "N/A";
|
|
17681
|
-
const
|
|
17688
|
+
const rawComment = (item === null || item === void 0 ? void 0 : (_item$wfComment = item.wfComment) === null || _item$wfComment === void 0 ? void 0 : _item$wfComment[0]) || "-";
|
|
17689
|
+
const comment = typeof rawComment === "string" ? rawComment.split(pattern)[0] : rawComment;
|
|
17682
17690
|
const documents = (item === null || item === void 0 ? void 0 : item.wfDocuments) || [];
|
|
17683
17691
|
const sla = (item === null || item === void 0 ? void 0 : item.sla) || "N/A";
|
|
17684
17692
|
const assignedTo = Array.isArray(item === null || item === void 0 ? void 0 : item.assignes) ? item.assignes.map(a => a === null || a === void 0 ? void 0 : a.name).filter(Boolean).join(", ") : "";
|
|
@@ -47576,6 +47584,8 @@ var reactLifecyclesCompat_es = {
|
|
|
47576
47584
|
polyfill: polyfill
|
|
47577
47585
|
};
|
|
47578
47586
|
|
|
47587
|
+
var _reactLifecyclesCompat = getCjsExportFromNamespace(reactLifecyclesCompat_es);
|
|
47588
|
+
|
|
47579
47589
|
var Modal_1 = createCommonjsModule(function (module, exports) {
|
|
47580
47590
|
|
|
47581
47591
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -47864,7 +47874,7 @@ var Modal_1 = createCommonjsModule(function (module, exports) {
|
|
|
47864
47874
|
padding: "20px"
|
|
47865
47875
|
}
|
|
47866
47876
|
};
|
|
47867
|
-
(0,
|
|
47877
|
+
(0, _reactLifecyclesCompat.polyfill)(Modal);
|
|
47868
47878
|
if (process.env.NODE_ENV !== "production") {
|
|
47869
47879
|
Modal.setCreateHTMLElement = function (fn) {
|
|
47870
47880
|
return createHTMLElement = fn;
|