@zealsolutions/zeal-ui 1.0.0-alpha.367 → 1.0.0-alpha.368
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.
|
@@ -30,16 +30,16 @@ function N(e) {
|
|
|
30
30
|
function H(e, t, i, n, r, a, l) {
|
|
31
31
|
let u = n, s = a, d = 0, c = {}, p;
|
|
32
32
|
for (let o = n; o < r; o++) {
|
|
33
|
-
const _ = {}, g = e[o],
|
|
34
|
-
for (let R = 0, L =
|
|
35
|
-
const
|
|
36
|
-
if (
|
|
33
|
+
const _ = {}, g = e[o], b = i[g];
|
|
34
|
+
for (let R = 0, L = b.length; R < L; R++) {
|
|
35
|
+
const h = b[R];
|
|
36
|
+
if (h < a)
|
|
37
37
|
continue;
|
|
38
|
-
if (
|
|
38
|
+
if (h >= l)
|
|
39
39
|
break;
|
|
40
|
-
c[
|
|
41
|
-
const k = c[
|
|
42
|
-
_[
|
|
40
|
+
c[h - 1] == null && (c[h - 1] = 0);
|
|
41
|
+
const k = c[h - 1] + 1;
|
|
42
|
+
_[h] = k, k > d && (u = o - k + 1, s = h - k + 1, d = k);
|
|
43
43
|
}
|
|
44
44
|
c = _;
|
|
45
45
|
}
|
|
@@ -82,13 +82,13 @@ function z(e, t) {
|
|
|
82
82
|
}, l = $(e, t);
|
|
83
83
|
l.push(new O(e.length, t.length, 0));
|
|
84
84
|
for (let c = 0, p = l.length; c < p; c++) {
|
|
85
|
-
const o = l[c], _ = i === o.start_in_before, g = n === o.start_in_after,
|
|
86
|
-
|
|
87
|
-
action:
|
|
85
|
+
const o = l[c], _ = i === o.start_in_before, g = n === o.start_in_after, b = a[[_, g].toString()];
|
|
86
|
+
b !== "none" && r.push({
|
|
87
|
+
action: b,
|
|
88
88
|
start_in_before: i,
|
|
89
|
-
end_in_before:
|
|
89
|
+
end_in_before: b !== "insert" ? o.start_in_before - 1 : void 0,
|
|
90
90
|
start_in_after: n,
|
|
91
|
-
end_in_after:
|
|
91
|
+
end_in_after: b !== "delete" ? o.start_in_after - 1 : void 0
|
|
92
92
|
}), o.length !== 0 && r.push({
|
|
93
93
|
action: "equal",
|
|
94
94
|
start_in_before: o.start_in_before,
|
|
@@ -166,6 +166,10 @@ const J = {
|
|
|
166
166
|
// wire key "SOPCode" (SopReadService.GetSop) — see the draft-mode gap note above
|
|
167
167
|
{ label: "Core capabilities", key: "CoreCapabilities" },
|
|
168
168
|
{ label: "Active", key: "IsActive", bool: !0 },
|
|
169
|
+
// SOP-Admin #618: the review date — a publish that only changed it showed nothing in the
|
|
170
|
+
// change log compare. Wire key "ReviewDue" (SopReadService.GetSop); the amend read calls it
|
|
171
|
+
// ReviewDate, so consumers normalise it (and format it as a date) before buildPreview.
|
|
172
|
+
{ label: "Review due by", key: "ReviewDue" },
|
|
169
173
|
{ label: "Summary", key: "Summary", rich: !0 },
|
|
170
174
|
{ label: "Generic Provisions", key: "GenericProvisions", rich: !0 },
|
|
171
175
|
{ label: "Further reading", key: "FurtherReading", rich: !0 },
|