dce-reactkit 3.2.6 → 3.2.8

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.
@@ -11,7 +11,7 @@ declare enum LogAction {
11
11
  View = "View",
12
12
  Interrupt = "Interrupt",
13
13
  Create = "Create",
14
- Edit = "Edit",
14
+ Modify = "Modify",
15
15
  Delete = "Delete",
16
16
  Add = "Add",
17
17
  Remove = "Remove",
package/dist/esm/index.js CHANGED
@@ -1379,7 +1379,7 @@ const SimpleDateChooser = (props) => {
1379
1379
  const dayOptions = [];
1380
1380
  choices.forEach((choice) => {
1381
1381
  // Create month option
1382
- monthOptions.push(React.createElement("option", { key: choice.month, value: `${choice.month}-${choice.year}`, "aria-label": `choose ${choice.choiceName}`, onSelect: () => {
1382
+ monthOptions.push(React.createElement("option", { key: `${choice.year}-${choice.month}`, value: `${choice.month}-${choice.year}`, "aria-label": `choose ${choice.choiceName}`, onSelect: () => {
1383
1383
  onChange(choice.month, choice.days[0], choice.year);
1384
1384
  } }, choice.choiceName));
1385
1385
  if (month === choice.month) {
@@ -1387,7 +1387,7 @@ const SimpleDateChooser = (props) => {
1387
1387
  // Create day options
1388
1388
  choice.days.forEach((dayChoice) => {
1389
1389
  const ordinal = getOrdinal(dayChoice);
1390
- dayOptions.push(React.createElement("option", { key: dayChoice, value: dayChoice, "aria-label": `choose date ${dayChoice}` },
1390
+ dayOptions.push(React.createElement("option", { key: `${choice.year}-${choice.month}-${dayChoice}`, value: dayChoice, "aria-label": `choose date ${dayChoice}` },
1391
1391
  dayChoice,
1392
1392
  ordinal));
1393
1393
  });
@@ -2166,8 +2166,8 @@ var LogAction;
2166
2166
  LogAction["Interrupt"] = "Interrupt";
2167
2167
  // Target was created by the user (it did not exist before)
2168
2168
  LogAction["Create"] = "Create";
2169
- // Target was edited by the user (it existed and was changed)
2170
- LogAction["Edit"] = "Edit";
2169
+ // Target was modified by the user (it existed and was changed)
2170
+ LogAction["Modify"] = "Modify";
2171
2171
  // Target was deleted by the user (it existed and now it doesn't)
2172
2172
  LogAction["Delete"] = "Delete";
2173
2173
  // Target was added by the user (it already existed and was added to another place)