@oliasoft-open-source/react-ui-library 5.17.0-beta-1 → 5.17.0-beta-2
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 +19 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8985,17 +8985,27 @@ var humanize = (e) => e.replace(/\[\d+\]/g, "").replace(/([a-z0-9])([A-Z])/g, "$
|
|
|
8985
8985
|
}
|
|
8986
8986
|
};
|
|
8987
8987
|
const ChangesOverview = ({ sectionNames: e, userName: t, diffs: n }) => /* @__PURE__ */ jsx(Table, { table: {
|
|
8988
|
-
headers: [{ cells: [
|
|
8988
|
+
headers: [{ cells: [
|
|
8989
|
+
{ value: "Sentence" },
|
|
8990
|
+
{ value: "Before" },
|
|
8991
|
+
{ value: "After" },
|
|
8992
|
+
{ value: "" }
|
|
8993
|
+
] }],
|
|
8989
8994
|
rows: n.map((n) => {
|
|
8990
8995
|
let { deltaFormat: r, path: i } = n, a = getSectionName(e, i), { type: o, before: s, after: c } = defaultMessage(r);
|
|
8991
|
-
return { cells: [
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8996
|
+
return { cells: [
|
|
8997
|
+
{ value: buildChangeSentence({
|
|
8998
|
+
userName: t,
|
|
8999
|
+
type: o,
|
|
9000
|
+
property: getChangedProperty(i),
|
|
9001
|
+
before: s,
|
|
9002
|
+
after: c,
|
|
9003
|
+
sectionName: a
|
|
9004
|
+
}) },
|
|
9005
|
+
{ value: s },
|
|
9006
|
+
{ value: c },
|
|
9007
|
+
{ value: a }
|
|
9008
|
+
] };
|
|
8999
9009
|
})
|
|
9000
9010
|
} }), viewTypes = Object.freeze({
|
|
9001
9011
|
summary: {
|
package/package.json
CHANGED