dce-reactkit 3.2.2-beta.37 → 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.
package/dist/cjs/index.js CHANGED
@@ -2144,37 +2144,37 @@ var LogType$1 = LogType;
2144
2144
  var LogAction;
2145
2145
  (function (LogAction) {
2146
2146
  // Target was opened by the user (it was not on screen, but now it is)
2147
- LogAction["Open"] = "open";
2147
+ LogAction["Open"] = "Open";
2148
2148
  // Target was closed by the user (it was on screen, but now it is not)
2149
- LogAction["Close"] = "close";
2149
+ LogAction["Close"] = "Close";
2150
2150
  // Target was cancelled by the user (it was on closed without saving)
2151
- LogAction["Cancel"] = "cancel";
2151
+ LogAction["Cancel"] = "Cancel";
2152
2152
  // Target was expanded by the user (it always remains on screen, but size was changed)
2153
- LogAction["Expand"] = "expand";
2153
+ LogAction["Expand"] = "Expand";
2154
2154
  // Target was collapsed by the user (it always remains on screen, but size was changed)
2155
- LogAction["Collapse"] = "collapse";
2155
+ LogAction["Collapse"] = "Collapse";
2156
2156
  // Target was viewed by the user (only for items that are not opened or closed, those must use Open/Close actions)
2157
- LogAction["View"] = "view";
2157
+ LogAction["View"] = "View";
2158
2158
  // Target interrupted the user (popup, dialog, validation message, etc. appeared without user prompting)
2159
- LogAction["Interrupt"] = "interrupt";
2159
+ LogAction["Interrupt"] = "Interrupt";
2160
2160
  // Target was created by the user (it did not exist before)
2161
- LogAction["Create"] = "create";
2161
+ LogAction["Create"] = "Create";
2162
2162
  // Target was edited by the user (it existed and was changed)
2163
- LogAction["Edit"] = "edit";
2163
+ LogAction["Edit"] = "Edit";
2164
2164
  // Target was deleted by the user (it existed and now it doesn't)
2165
- LogAction["Delete"] = "delete";
2165
+ LogAction["Delete"] = "Delete";
2166
2166
  // Target was added by the user (it already existed and was added to another place)
2167
- LogAction["Add"] = "add";
2167
+ LogAction["Add"] = "Add";
2168
2168
  // Target was removed by the user (it was removed from something but still exists)
2169
- LogAction["Remove"] = "remove";
2169
+ LogAction["Remove"] = "Remove";
2170
2170
  // Target was activated by the user (click, check, tap, keypress, etc.)
2171
- LogAction["Activate"] = "activate";
2171
+ LogAction["Activate"] = "Activate";
2172
2172
  // Target was deactivated by the user (click away, uncheck, tap outside of, tab away, etc.)
2173
- LogAction["Deactivate"] = "deactivate";
2173
+ LogAction["Deactivate"] = "Deactivate";
2174
2174
  // User showed interest in a target (hover, peek, etc.)
2175
- LogAction["Peek"] = "peek";
2175
+ LogAction["Peek"] = "Peek";
2176
2176
  // Unknown action
2177
- LogAction["Unknown"] = "unknown";
2177
+ LogAction["Unknown"] = "Unknown";
2178
2178
  })(LogAction || (LogAction = {}));
2179
2179
  var LogAction$1 = LogAction;
2180
2180
 
@@ -2960,7 +2960,6 @@ const LogReviewer = (props) => {
2960
2960
  Object.values(LogBuiltInMetadata.Target).forEach((target) => {
2961
2961
  initActionErrorFilterState.target[target] = true;
2962
2962
  });
2963
- console.log(initActionErrorFilterState);
2964
2963
  // Initial state
2965
2964
  const initialState = {
2966
2965
  loading: true,
@@ -3265,9 +3264,9 @@ const LogReviewer = (props) => {
3265
3264
  React__default["default"].createElement(ButtonInputGroup, { label: "Action", className: "mb-2" }, Object.keys(LogAction$1)
3266
3265
  .map((action, i) => {
3267
3266
  const description = genHumanReadableName(action);
3268
- return (React__default["default"].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) => {
3267
+ return (React__default["default"].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) => {
3269
3268
  actionErrorFilterState.action[action] = checked;
3270
- console.log(actionErrorFilterState);
3269
+ console.log(actionErrorFilterState, action, checked);
3271
3270
  dispatch({
3272
3271
  type: ActionType.UpdateActionErrorFilterState,
3273
3272
  actionErrorFilterState,
@@ -3280,8 +3279,9 @@ const LogReviewer = (props) => {
3280
3279
  .map((target, i) => {
3281
3280
  var _a;
3282
3281
  const description = genHumanReadableName(target);
3283
- return (React__default["default"].createElement(CheckboxButton, { id: `LogReviewer-target-${target}-checkbox`, text: description, ariaLabel: `include logs with target "${description}" in results`, checked: actionErrorFilterState.target[target], onChanged: (checked) => {
3282
+ return (React__default["default"].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) => {
3284
3283
  actionErrorFilterState.target[target] = checked;
3284
+ console.log(actionErrorFilterState, target, checked);
3285
3285
  dispatch({
3286
3286
  type: ActionType.UpdateActionErrorFilterState,
3287
3287
  actionErrorFilterState,
@@ -3527,7 +3527,6 @@ const LogReviewer = (props) => {
3527
3527
  .every((isSelected) => {
3528
3528
  return !isSelected;
3529
3529
  }))) {
3530
- // 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
3531
3530
  console.log('RULED OUT: CONTEXT');
3532
3531
  console.log(log.context, contextFilterState);
3533
3532
  return;