@oliasoft-open-source/react-ui-library 5.7.0-beta-14 → 5.7.0-beta-16

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.d.ts CHANGED
@@ -2112,6 +2112,26 @@ declare const TRANSLATION_FALLBACK: {
2112
2112
  allUsers: string;
2113
2113
  adminOnly: string;
2114
2114
  custom: string;
2115
+ created: string;
2116
+ modified: string;
2117
+ using: string;
2118
+ operation: string;
2119
+ date: string;
2120
+ changes: string;
2121
+ change: string;
2122
+ modifiedBy: string;
2123
+ updatedBy: string;
2124
+ createdBy: string;
2125
+ clonedBy: string;
2126
+ revertedBy: string;
2127
+ importedBy: string;
2128
+ singularChange: string;
2129
+ pluralChanges: string;
2130
+ createdThroughApiBy: string;
2131
+ changedThroughApiBy: string;
2132
+ showAll: string;
2133
+ rowsPerPage: string;
2134
+ unknown: string;
2115
2135
  };
2116
2136
 
2117
2137
  export declare const Tree: ({ list, draggable, onListReorder, onChangeOpen, testId, isInitialOpen, treeRef, itemHasChild, onItemToggle, icons, allowParentReassignment, stickyHeader, }: ITreeProps) => JSX_2.Element;
package/dist/index.js CHANGED
@@ -6802,7 +6802,27 @@ const UnitInput = ({ name: e, placeholder: t = "", disabled: n = !1, disabledUni
6802
6802
  companySettingDifferent: "Company setting is different",
6803
6803
  allUsers: "All users",
6804
6804
  adminOnly: "Admin only",
6805
- custom: "Custom"
6805
+ custom: "Custom",
6806
+ created: "Created",
6807
+ modified: "Modified",
6808
+ using: "Using",
6809
+ operation: "Operation",
6810
+ date: "Date",
6811
+ changes: "Changes",
6812
+ change: "Change",
6813
+ modifiedBy: "Modified by",
6814
+ updatedBy: "Updated by {{userName}} ({{changes}})",
6815
+ createdBy: "Created by {{userName}}",
6816
+ clonedBy: "Created by {{username}} from {{operationMetaData}}",
6817
+ revertedBy: "Reverted by {{userName}}",
6818
+ importedBy: "Imported by {{userName}}",
6819
+ singularChange: "change",
6820
+ pluralChanges: "changes",
6821
+ createdThroughApiBy: "Created through API by {{userName}}",
6822
+ changedThroughApiBy: "Changed through API by {{userName}}",
6823
+ showAll: "Show all",
6824
+ rowsPerPage: "{{rows}} / page",
6825
+ unknown: "Unknown"
6806
6826
  }, getTranslations = (e) => Object.keys(TRANSLATION_FALLBACK).reduce((t, n) => ({
6807
6827
  ...t,
6808
6828
  [n]: e?.[n] || TRANSLATION_FALLBACK?.[n]
@@ -8332,7 +8352,7 @@ var sectionMap = Object.fromEntries([
8332
8352
  },
8333
8353
  {
8334
8354
  sectionKey: "appearance",
8335
- sectionLabel: "General — Appearance"
8355
+ sectionLabel: "General"
8336
8356
  },
8337
8357
  {
8338
8358
  sectionKey: "generalUnitPrecision",
@@ -8360,7 +8380,7 @@ var sectionMap = Object.fromEntries([
8360
8380
  },
8361
8381
  {
8362
8382
  sectionKey: "wear",
8363
- sectionLabel: "Drilling Mechanics — Wear"
8383
+ sectionLabel: "Drilling Mechanics"
8364
8384
  },
8365
8385
  {
8366
8386
  sectionKey: "tempsim",
@@ -8426,11 +8446,9 @@ const getSectionName = (e) => {
8426
8446
  { value: "" }
8427
8447
  ] }],
8428
8448
  rows: e.map((e) => {
8429
- let { deltaFormat: t, path: n } = e, r = getSectionName(n);
8430
- console.log(n, r);
8431
- let { type: i, before: a, after: o } = defaultMessage(t), s = n.length > 0 ? n[n.length - 1] : "";
8449
+ let { deltaFormat: t, path: n } = e, r = getSectionName(n), { type: i, before: a, after: o } = defaultMessage(t);
8432
8450
  return { cells: [
8433
- { value: `${i} ${s}` },
8451
+ { value: i },
8434
8452
  { value: a },
8435
8453
  { value: o },
8436
8454
  { value: r }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "5.7.0-beta-14",
3
+ "version": "5.7.0-beta-16",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {