Skip to content

Commit

Permalink
Bump version to 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Feb 17, 2024
1 parent 42b089c commit 509fb51
Show file tree
Hide file tree
Showing 163 changed files with 1,285 additions and 1,287 deletions.
2 changes: 1 addition & 1 deletion dist/wunderbaum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,7 @@ declare module "types" {
* Prevent dropping nodes under same direct parent
* @default false
*/
preventSameParent?: false;
preventSameParent?: boolean;
/**
* Prevent dropping nodes 'before self', etc. (move only)
* @default true
Expand Down
39 changes: 19 additions & 20 deletions dist/wunderbaum.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function throttle(func, wait = 0, options = {}) {
/*!
* Wunderbaum - util
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
/** @module util */
/** Readable names for `MouseEvent.button` */
Expand Down Expand Up @@ -1096,7 +1096,7 @@ var util = /*#__PURE__*/Object.freeze({
/*!
* Wunderbaum - types
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
/**
* Possible values for {@link WunderbaumNode.update()} and {@link Wunderbaum.update()}.
Expand Down Expand Up @@ -1160,7 +1160,7 @@ var NavModeEnum;
/*!
* Wunderbaum - wb_extension_base
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
class WunderbaumExtension {
constructor(tree, id, defaults) {
Expand Down Expand Up @@ -1219,7 +1219,7 @@ class WunderbaumExtension {
/*!
* Wunderbaum - ext-filter
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
const START_MARKER = "\uFFF7";
const END_MARKER = "\uFFF8";
Expand Down Expand Up @@ -1524,7 +1524,7 @@ function _markFuzzyMatchedChars(text, matches, escapeTitles = true) {
/*!
* Wunderbaum - ext-keynav
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
const QUICKSEARCH_DELAY = 500;
class KeynavExtension extends WunderbaumExtension {
Expand Down Expand Up @@ -1888,7 +1888,7 @@ class KeynavExtension extends WunderbaumExtension {
/*!
* Wunderbaum - ext-logger
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
class LoggerExtension extends WunderbaumExtension {
constructor(tree) {
Expand Down Expand Up @@ -1930,7 +1930,7 @@ class LoggerExtension extends WunderbaumExtension {
/*!
* Wunderbaum - common
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
const DEFAULT_DEBUGLEVEL = 3; // Replaced by rollup script
/**
Expand Down Expand Up @@ -2253,7 +2253,7 @@ function decompressSourceData(source) {
/*!
* Wunderbaum - ext-dnd
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
const nodeMimeType = "application/x-wunderbaum-node";
class DndExtension extends WunderbaumExtension {
Expand Down Expand Up @@ -2605,12 +2605,11 @@ class DndExtension extends WunderbaumExtension {
// Prevent dropping nodes on own descendants:
_t(dndOpts.preventRecursion && (srcNode === null || srcNode === void 0 ? void 0 : srcNode.isAncestorOf(targetNode)), "preventRecursion") ||
// Prevent dropping nodes under same direct parent:
(dndOpts.preventSameParent &&
_t(dndOpts.preventSameParent &&
srcNode &&
targetNode.parent === srcNode.parent,
"preventSameParent") ||
targetNode.parent === srcNode.parent, "preventSameParent") ||
// Don't allow void operation ('drop on self'): TODO: should be checked on move only
(dndOpts.preventVoidMoves && targetNode === srcNode)) {
_t(dndOpts.preventVoidMoves && targetNode === srcNode, "preventVoidMoves")) {
dt.dropEffect = "none";
// this.tree.log("Prevented drop operation");
return true; // Prevent drop operation
Expand Down Expand Up @@ -2699,7 +2698,7 @@ class DndExtension extends WunderbaumExtension {
/*!
* Wunderbaum - drag_observer
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
/**
* Convert mouse- and touch events to 'dragstart', 'drag', and 'dragstop'.
Expand Down Expand Up @@ -2835,7 +2834,7 @@ class DragObserver {
/*!
* Wunderbaum - ext-grid
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
class GridExtension extends WunderbaumExtension {
constructor(tree) {
Expand Down Expand Up @@ -2872,7 +2871,7 @@ class GridExtension extends WunderbaumExtension {
/*!
* Wunderbaum - deferred
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
/**
* Implement a ES6 Promise, that exposes a resolve() and reject() method.
Expand Down Expand Up @@ -2925,7 +2924,7 @@ class Deferred {
/*!
* Wunderbaum - wunderbaum_node
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
/** WunderbaumNode properties that can be passed with source data.
* (Any other source properties will be stored as `node.data.PROP`.)
Expand Down Expand Up @@ -5319,7 +5318,7 @@ WunderbaumNode.sequence = 0;
/*!
* Wunderbaum - ext-edit
* Copyright (c) 2021-2023, Martin Wendt. Released under the MIT license.
* v0.8.1, Sat, 20 Jan 2024 15:57:59 GMT (https://github.com/mar10/wunderbaum)
* v0.8.2, Sat, 17 Feb 2024 07:32:06 GMT (https://github.com/mar10/wunderbaum)
*/
// const START_MARKER = "\uFFF7";
class EditExtension extends WunderbaumExtension {
Expand Down Expand Up @@ -5648,8 +5647,8 @@ class EditExtension extends WunderbaumExtension {
* https://github.com/mar10/wunderbaum
*
* Released under the MIT license.
* @version v0.8.1
* @date Sat, 20 Jan 2024 15:57:59 GMT
* @version v0.8.2
* @date Sat, 17 Feb 2024 07:32:06 GMT
*/
// import "./wunderbaum.scss";
class WbSystemRoot extends WunderbaumNode {
Expand Down Expand Up @@ -7867,7 +7866,7 @@ class Wunderbaum {
}
Wunderbaum.sequence = 0;
/** Wunderbaum release version number "MAJOR.MINOR.PATCH". */
Wunderbaum.version = "v0.8.1"; // Set to semver by 'grunt release'
Wunderbaum.version = "v0.8.2"; // Set to semver by 'grunt release'
/** Expose some useful methods of the util.ts module as `Wunderbaum.util`. */
Wunderbaum.util = util;

Expand Down
Loading

0 comments on commit 509fb51

Please sign in to comment.