dce-reactkit 3.2.2-beta.38 → 3.2.2-beta.39

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.
@@ -3,21 +3,21 @@
3
3
  * @author Gabe Abrams
4
4
  */
5
5
  declare enum LogAction {
6
- Open = "open",
7
- Close = "close",
8
- Cancel = "cancel",
9
- Expand = "expand",
10
- Collapse = "collapse",
11
- View = "view",
12
- Interrupt = "interrupt",
13
- Create = "create",
14
- Edit = "edit",
15
- Delete = "delete",
16
- Add = "add",
17
- Remove = "remove",
18
- Activate = "activate",
19
- Deactivate = "deactivate",
20
- Peek = "peek",
21
- Unknown = "unknown"
6
+ Open = "Open",
7
+ Close = "Close",
8
+ Cancel = "Cancel",
9
+ Expand = "Expand",
10
+ Collapse = "Collapse",
11
+ View = "View",
12
+ Interrupt = "Interrupt",
13
+ Create = "Create",
14
+ Edit = "Edit",
15
+ Delete = "Delete",
16
+ Add = "Add",
17
+ Remove = "Remove",
18
+ Activate = "Activate",
19
+ Deactivate = "Deactivate",
20
+ Peek = "Peek",
21
+ Unknown = "Unknown"
22
22
  }
23
23
  export default LogAction;
package/dist/esm/index.js CHANGED
@@ -2136,37 +2136,37 @@ var LogType$1 = LogType;
2136
2136
  var LogAction;
2137
2137
  (function (LogAction) {
2138
2138
  // Target was opened by the user (it was not on screen, but now it is)
2139
- LogAction["Open"] = "open";
2139
+ LogAction["Open"] = "Open";
2140
2140
  // Target was closed by the user (it was on screen, but now it is not)
2141
- LogAction["Close"] = "close";
2141
+ LogAction["Close"] = "Close";
2142
2142
  // Target was cancelled by the user (it was on closed without saving)
2143
- LogAction["Cancel"] = "cancel";
2143
+ LogAction["Cancel"] = "Cancel";
2144
2144
  // Target was expanded by the user (it always remains on screen, but size was changed)
2145
- LogAction["Expand"] = "expand";
2145
+ LogAction["Expand"] = "Expand";
2146
2146
  // Target was collapsed by the user (it always remains on screen, but size was changed)
2147
- LogAction["Collapse"] = "collapse";
2147
+ LogAction["Collapse"] = "Collapse";
2148
2148
  // Target was viewed by the user (only for items that are not opened or closed, those must use Open/Close actions)
2149
- LogAction["View"] = "view";
2149
+ LogAction["View"] = "View";
2150
2150
  // Target interrupted the user (popup, dialog, validation message, etc. appeared without user prompting)
2151
- LogAction["Interrupt"] = "interrupt";
2151
+ LogAction["Interrupt"] = "Interrupt";
2152
2152
  // Target was created by the user (it did not exist before)
2153
- LogAction["Create"] = "create";
2153
+ LogAction["Create"] = "Create";
2154
2154
  // Target was edited by the user (it existed and was changed)
2155
- LogAction["Edit"] = "edit";
2155
+ LogAction["Edit"] = "Edit";
2156
2156
  // Target was deleted by the user (it existed and now it doesn't)
2157
- LogAction["Delete"] = "delete";
2157
+ LogAction["Delete"] = "Delete";
2158
2158
  // Target was added by the user (it already existed and was added to another place)
2159
- LogAction["Add"] = "add";
2159
+ LogAction["Add"] = "Add";
2160
2160
  // Target was removed by the user (it was removed from something but still exists)
2161
- LogAction["Remove"] = "remove";
2161
+ LogAction["Remove"] = "Remove";
2162
2162
  // Target was activated by the user (click, check, tap, keypress, etc.)
2163
- LogAction["Activate"] = "activate";
2163
+ LogAction["Activate"] = "Activate";
2164
2164
  // Target was deactivated by the user (click away, uncheck, tap outside of, tab away, etc.)
2165
- LogAction["Deactivate"] = "deactivate";
2165
+ LogAction["Deactivate"] = "Deactivate";
2166
2166
  // User showed interest in a target (hover, peek, etc.)
2167
- LogAction["Peek"] = "peek";
2167
+ LogAction["Peek"] = "Peek";
2168
2168
  // Unknown action
2169
- LogAction["Unknown"] = "unknown";
2169
+ LogAction["Unknown"] = "Unknown";
2170
2170
  })(LogAction || (LogAction = {}));
2171
2171
  var LogAction$1 = LogAction;
2172
2172
 
@@ -3256,7 +3256,7 @@ const LogReviewer = (props) => {
3256
3256
  React.createElement(ButtonInputGroup, { label: "Action", className: "mb-2" }, Object.keys(LogAction$1)
3257
3257
  .map((action, i) => {
3258
3258
  const description = genHumanReadableName(action);
3259
- return (React.createElement(CheckboxButton, { id: `LogReviewer-action-${action}-checkbox`, text: description, ariaLabel: `include logs with action type "${description}" in results`, noMarginOnRight: i === Object.keys(LogAction$1).length - 1, checked: actionErrorFilterState.action[action], onChanged: (checked) => {
3259
+ return (React.createElement(CheckboxButton, { key: action, id: `LogReviewer-action-${action}-checkbox`, text: description, ariaLabel: `include logs with action type "${description}" in results`, noMarginOnRight: i === Object.keys(LogAction$1).length - 1, checked: actionErrorFilterState.action[action], onChanged: (checked) => {
3260
3260
  actionErrorFilterState.action[action] = checked;
3261
3261
  console.log(actionErrorFilterState, action, checked);
3262
3262
  dispatch({
@@ -3271,7 +3271,7 @@ const LogReviewer = (props) => {
3271
3271
  .map((target, i) => {
3272
3272
  var _a;
3273
3273
  const description = genHumanReadableName(target);
3274
- return (React.createElement(CheckboxButton, { id: `LogReviewer-target-${target}-checkbox`, text: description, ariaLabel: `include logs with target "${description}" in results`, checked: actionErrorFilterState.target[target], onChanged: (checked) => {
3274
+ return (React.createElement(CheckboxButton, { key: target, id: `LogReviewer-target-${target}-checkbox`, text: description, ariaLabel: `include logs with target "${description}" in results`, checked: actionErrorFilterState.target[target], onChanged: (checked) => {
3275
3275
  actionErrorFilterState.target[target] = checked;
3276
3276
  console.log(actionErrorFilterState, target, checked);
3277
3277
  dispatch({
@@ -3519,7 +3519,6 @@ const LogReviewer = (props) => {
3519
3519
  .every((isSelected) => {
3520
3520
  return !isSelected;
3521
3521
  }))) {
3522
- // TODO: figure out why context filter is still not working, why actions and targets filter UI sucks and doesn't wrap and doesn't select
3523
3522
  console.log('RULED OUT: CONTEXT');
3524
3523
  console.log(log.context, contextFilterState);
3525
3524
  return;