wunderbaum 0.8.1 → 0.8.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/src/wb_ext_dnd.ts CHANGED
@@ -420,12 +420,17 @@ export class DndExtension extends WunderbaumExtension<DndOptionsType> {
420
420
  "preventRecursion"
421
421
  ) ||
422
422
  // Prevent dropping nodes under same direct parent:
423
- (dndOpts.preventSameParent &&
424
- srcNode &&
425
- targetNode.parent === srcNode.parent,
426
- "preventSameParent") ||
423
+ _t(
424
+ dndOpts.preventSameParent &&
425
+ srcNode &&
426
+ targetNode.parent === srcNode.parent,
427
+ "preventSameParent"
428
+ ) ||
427
429
  // Don't allow void operation ('drop on self'): TODO: should be checked on move only
428
- (dndOpts.preventVoidMoves && targetNode === srcNode)
430
+ _t(
431
+ dndOpts.preventVoidMoves && targetNode === srcNode,
432
+ "preventVoidMoves"
433
+ )
429
434
  ) {
430
435
  dt.dropEffect = "none";
431
436
  // this.tree.log("Prevented drop operation");
package/src/wb_options.ts CHANGED
@@ -14,9 +14,9 @@ import {
14
14
  DynamicIconOption,
15
15
  EditOptionsType,
16
16
  FilterOptionsType,
17
- GridOptionsType,
18
- KeynavOptionsType,
19
- LoggerOptionsType,
17
+ // GridOptionsType,
18
+ // KeynavOptionsType,
19
+ // LoggerOptionsType,
20
20
  NavModeEnum,
21
21
  NodeTypeDefinitionMap,
22
22
  SelectModeType,