Skip to content

Commit

Permalink
Compile JS files
Browse files Browse the repository at this point in the history
  • Loading branch information
Xon committed Sep 26, 2024
1 parent 4103870 commit 3a1d9f9
Show file tree
Hide file tree
Showing 9 changed files with 156 additions and 84 deletions.
38 changes: 25 additions & 13 deletions public/assets/scripts/choices.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
/*! choices.js v11.0.3 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down Expand Up @@ -89,6 +89,18 @@
unhighlightItem: 'unhighlightItem',
};

var KeyCodeMap = {
BACK_KEY: 46,
DELETE_KEY: 8,
ENTER_KEY: 13,
A_KEY: 65,
ESC_KEY: 27,
UP_KEY: 38,
DOWN_KEY: 40,
PAGE_UP_KEY: 33,
PAGE_DOWN_KEY: 34,
};

var ObjectsInConfig = ['fuseOptions', 'classNames'];

var PassedElementTypes = {
Expand Down Expand Up @@ -4567,19 +4579,19 @@
}
}
switch (keyCode) {
case 65 /* KeyCodeMap.A_KEY */:
case KeyCodeMap.A_KEY:
return this._onSelectKey(event, this.itemList.element.hasChildNodes());
case 13 /* KeyCodeMap.ENTER_KEY */:
case KeyCodeMap.ENTER_KEY:
return this._onEnterKey(event, hasActiveDropdown);
case 27 /* KeyCodeMap.ESC_KEY */:
case KeyCodeMap.ESC_KEY:
return this._onEscapeKey(event, hasActiveDropdown);
case 38 /* KeyCodeMap.UP_KEY */:
case 33 /* KeyCodeMap.PAGE_UP_KEY */:
case 40 /* KeyCodeMap.DOWN_KEY */:
case 34 /* KeyCodeMap.PAGE_DOWN_KEY */:
case KeyCodeMap.UP_KEY:
case KeyCodeMap.PAGE_UP_KEY:
case KeyCodeMap.DOWN_KEY:
case KeyCodeMap.PAGE_DOWN_KEY:
return this._onDirectionKey(event, hasActiveDropdown);
case 8 /* KeyCodeMap.DELETE_KEY */:
case 46 /* KeyCodeMap.BACK_KEY */:
case KeyCodeMap.DELETE_KEY:
case KeyCodeMap.BACK_KEY:
return this._onDeleteKey(event, this._store.items, this.input.isFocussed);
}
};
Expand Down Expand Up @@ -4693,8 +4705,8 @@
if (hasActiveDropdown || this._isSelectOneElement) {
this.showDropdown();
this._canSearch = false;
var directionInt = keyCode === 40 /* KeyCodeMap.DOWN_KEY */ || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ ? 1 : -1;
var skipKey = event.metaKey || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ || keyCode === 33 /* KeyCodeMap.PAGE_UP_KEY */;
var directionInt = keyCode === KeyCodeMap.DOWN_KEY || keyCode === KeyCodeMap.PAGE_DOWN_KEY ? 1 : -1;
var skipKey = event.metaKey || keyCode === KeyCodeMap.PAGE_DOWN_KEY || keyCode === KeyCodeMap.PAGE_UP_KEY;
var nextEl = void 0;
if (skipKey) {
if (directionInt > 0) {
Expand Down Expand Up @@ -5174,7 +5186,7 @@
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = '11.0.2';
Choices.version = '11.0.3';
return Choices;
}());

Expand Down
4 changes: 2 additions & 2 deletions public/assets/scripts/choices.min.js

Large diffs are not rendered by default.

38 changes: 25 additions & 13 deletions public/assets/scripts/choices.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
/*! choices.js v11.0.3 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */

/******************************************************************************
Copyright (c) Microsoft Corporation.
Expand Down Expand Up @@ -83,6 +83,18 @@ var EventType = {
unhighlightItem: 'unhighlightItem',
};

var KeyCodeMap = {
BACK_KEY: 46,
DELETE_KEY: 8,
ENTER_KEY: 13,
A_KEY: 65,
ESC_KEY: 27,
UP_KEY: 38,
DOWN_KEY: 40,
PAGE_UP_KEY: 33,
PAGE_DOWN_KEY: 34,
};

var ObjectsInConfig = ['fuseOptions', 'classNames'];

var PassedElementTypes = {
Expand Down Expand Up @@ -4561,19 +4573,19 @@ var Choices = /** @class */ (function () {
}
}
switch (keyCode) {
case 65 /* KeyCodeMap.A_KEY */:
case KeyCodeMap.A_KEY:
return this._onSelectKey(event, this.itemList.element.hasChildNodes());
case 13 /* KeyCodeMap.ENTER_KEY */:
case KeyCodeMap.ENTER_KEY:
return this._onEnterKey(event, hasActiveDropdown);
case 27 /* KeyCodeMap.ESC_KEY */:
case KeyCodeMap.ESC_KEY:
return this._onEscapeKey(event, hasActiveDropdown);
case 38 /* KeyCodeMap.UP_KEY */:
case 33 /* KeyCodeMap.PAGE_UP_KEY */:
case 40 /* KeyCodeMap.DOWN_KEY */:
case 34 /* KeyCodeMap.PAGE_DOWN_KEY */:
case KeyCodeMap.UP_KEY:
case KeyCodeMap.PAGE_UP_KEY:
case KeyCodeMap.DOWN_KEY:
case KeyCodeMap.PAGE_DOWN_KEY:
return this._onDirectionKey(event, hasActiveDropdown);
case 8 /* KeyCodeMap.DELETE_KEY */:
case 46 /* KeyCodeMap.BACK_KEY */:
case KeyCodeMap.DELETE_KEY:
case KeyCodeMap.BACK_KEY:
return this._onDeleteKey(event, this._store.items, this.input.isFocussed);
}
};
Expand Down Expand Up @@ -4687,8 +4699,8 @@ var Choices = /** @class */ (function () {
if (hasActiveDropdown || this._isSelectOneElement) {
this.showDropdown();
this._canSearch = false;
var directionInt = keyCode === 40 /* KeyCodeMap.DOWN_KEY */ || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ ? 1 : -1;
var skipKey = event.metaKey || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ || keyCode === 33 /* KeyCodeMap.PAGE_UP_KEY */;
var directionInt = keyCode === KeyCodeMap.DOWN_KEY || keyCode === KeyCodeMap.PAGE_DOWN_KEY ? 1 : -1;
var skipKey = event.metaKey || keyCode === KeyCodeMap.PAGE_DOWN_KEY || keyCode === KeyCodeMap.PAGE_UP_KEY;
var nextEl = void 0;
if (skipKey) {
if (directionInt > 0) {
Expand Down Expand Up @@ -5168,7 +5180,7 @@ var Choices = /** @class */ (function () {
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = '11.0.2';
Choices.version = '11.0.3';
return Choices;
}());

Expand Down
38 changes: 25 additions & 13 deletions public/assets/scripts/choices.search-basic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
/*! choices.js v11.0.3 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down Expand Up @@ -89,6 +89,18 @@
unhighlightItem: 'unhighlightItem',
};

var KeyCodeMap = {
BACK_KEY: 46,
DELETE_KEY: 8,
ENTER_KEY: 13,
A_KEY: 65,
ESC_KEY: 27,
UP_KEY: 38,
DOWN_KEY: 40,
PAGE_UP_KEY: 33,
PAGE_DOWN_KEY: 34,
};

var ObjectsInConfig = ['fuseOptions', 'classNames'];

var PassedElementTypes = {
Expand Down Expand Up @@ -4085,19 +4097,19 @@
}
}
switch (keyCode) {
case 65 /* KeyCodeMap.A_KEY */:
case KeyCodeMap.A_KEY:
return this._onSelectKey(event, this.itemList.element.hasChildNodes());
case 13 /* KeyCodeMap.ENTER_KEY */:
case KeyCodeMap.ENTER_KEY:
return this._onEnterKey(event, hasActiveDropdown);
case 27 /* KeyCodeMap.ESC_KEY */:
case KeyCodeMap.ESC_KEY:
return this._onEscapeKey(event, hasActiveDropdown);
case 38 /* KeyCodeMap.UP_KEY */:
case 33 /* KeyCodeMap.PAGE_UP_KEY */:
case 40 /* KeyCodeMap.DOWN_KEY */:
case 34 /* KeyCodeMap.PAGE_DOWN_KEY */:
case KeyCodeMap.UP_KEY:
case KeyCodeMap.PAGE_UP_KEY:
case KeyCodeMap.DOWN_KEY:
case KeyCodeMap.PAGE_DOWN_KEY:
return this._onDirectionKey(event, hasActiveDropdown);
case 8 /* KeyCodeMap.DELETE_KEY */:
case 46 /* KeyCodeMap.BACK_KEY */:
case KeyCodeMap.DELETE_KEY:
case KeyCodeMap.BACK_KEY:
return this._onDeleteKey(event, this._store.items, this.input.isFocussed);
}
};
Expand Down Expand Up @@ -4211,8 +4223,8 @@
if (hasActiveDropdown || this._isSelectOneElement) {
this.showDropdown();
this._canSearch = false;
var directionInt = keyCode === 40 /* KeyCodeMap.DOWN_KEY */ || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ ? 1 : -1;
var skipKey = event.metaKey || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ || keyCode === 33 /* KeyCodeMap.PAGE_UP_KEY */;
var directionInt = keyCode === KeyCodeMap.DOWN_KEY || keyCode === KeyCodeMap.PAGE_DOWN_KEY ? 1 : -1;
var skipKey = event.metaKey || keyCode === KeyCodeMap.PAGE_DOWN_KEY || keyCode === KeyCodeMap.PAGE_UP_KEY;
var nextEl = void 0;
if (skipKey) {
if (directionInt > 0) {
Expand Down Expand Up @@ -4692,7 +4704,7 @@
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = '11.0.2';
Choices.version = '11.0.3';
return Choices;
}());

Expand Down
4 changes: 2 additions & 2 deletions public/assets/scripts/choices.search-basic.min.js

Large diffs are not rendered by default.

38 changes: 25 additions & 13 deletions public/assets/scripts/choices.search-basic.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
/*! choices.js v11.0.3 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */

/******************************************************************************
Copyright (c) Microsoft Corporation.
Expand Down Expand Up @@ -83,6 +83,18 @@ var EventType = {
unhighlightItem: 'unhighlightItem',
};

var KeyCodeMap = {
BACK_KEY: 46,
DELETE_KEY: 8,
ENTER_KEY: 13,
A_KEY: 65,
ESC_KEY: 27,
UP_KEY: 38,
DOWN_KEY: 40,
PAGE_UP_KEY: 33,
PAGE_DOWN_KEY: 34,
};

var ObjectsInConfig = ['fuseOptions', 'classNames'];

var PassedElementTypes = {
Expand Down Expand Up @@ -4079,19 +4091,19 @@ var Choices = /** @class */ (function () {
}
}
switch (keyCode) {
case 65 /* KeyCodeMap.A_KEY */:
case KeyCodeMap.A_KEY:
return this._onSelectKey(event, this.itemList.element.hasChildNodes());
case 13 /* KeyCodeMap.ENTER_KEY */:
case KeyCodeMap.ENTER_KEY:
return this._onEnterKey(event, hasActiveDropdown);
case 27 /* KeyCodeMap.ESC_KEY */:
case KeyCodeMap.ESC_KEY:
return this._onEscapeKey(event, hasActiveDropdown);
case 38 /* KeyCodeMap.UP_KEY */:
case 33 /* KeyCodeMap.PAGE_UP_KEY */:
case 40 /* KeyCodeMap.DOWN_KEY */:
case 34 /* KeyCodeMap.PAGE_DOWN_KEY */:
case KeyCodeMap.UP_KEY:
case KeyCodeMap.PAGE_UP_KEY:
case KeyCodeMap.DOWN_KEY:
case KeyCodeMap.PAGE_DOWN_KEY:
return this._onDirectionKey(event, hasActiveDropdown);
case 8 /* KeyCodeMap.DELETE_KEY */:
case 46 /* KeyCodeMap.BACK_KEY */:
case KeyCodeMap.DELETE_KEY:
case KeyCodeMap.BACK_KEY:
return this._onDeleteKey(event, this._store.items, this.input.isFocussed);
}
};
Expand Down Expand Up @@ -4205,8 +4217,8 @@ var Choices = /** @class */ (function () {
if (hasActiveDropdown || this._isSelectOneElement) {
this.showDropdown();
this._canSearch = false;
var directionInt = keyCode === 40 /* KeyCodeMap.DOWN_KEY */ || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ ? 1 : -1;
var skipKey = event.metaKey || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ || keyCode === 33 /* KeyCodeMap.PAGE_UP_KEY */;
var directionInt = keyCode === KeyCodeMap.DOWN_KEY || keyCode === KeyCodeMap.PAGE_DOWN_KEY ? 1 : -1;
var skipKey = event.metaKey || keyCode === KeyCodeMap.PAGE_DOWN_KEY || keyCode === KeyCodeMap.PAGE_UP_KEY;
var nextEl = void 0;
if (skipKey) {
if (directionInt > 0) {
Expand Down Expand Up @@ -4686,7 +4698,7 @@ var Choices = /** @class */ (function () {
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = '11.0.2';
Choices.version = '11.0.3';
return Choices;
}());

Expand Down
38 changes: 25 additions & 13 deletions public/assets/scripts/choices.search-prefix.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! choices.js v11.0.2 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
/*! choices.js v11.0.3 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down Expand Up @@ -80,6 +80,18 @@
unhighlightItem: 'unhighlightItem',
};

var KeyCodeMap = {
BACK_KEY: 46,
DELETE_KEY: 8,
ENTER_KEY: 13,
A_KEY: 65,
ESC_KEY: 27,
UP_KEY: 38,
DOWN_KEY: 40,
PAGE_UP_KEY: 33,
PAGE_DOWN_KEY: 34,
};

var ObjectsInConfig = ['fuseOptions', 'classNames'];

var PassedElementTypes = {
Expand Down Expand Up @@ -2927,19 +2939,19 @@
}
}
switch (keyCode) {
case 65 /* KeyCodeMap.A_KEY */:
case KeyCodeMap.A_KEY:
return this._onSelectKey(event, this.itemList.element.hasChildNodes());
case 13 /* KeyCodeMap.ENTER_KEY */:
case KeyCodeMap.ENTER_KEY:
return this._onEnterKey(event, hasActiveDropdown);
case 27 /* KeyCodeMap.ESC_KEY */:
case KeyCodeMap.ESC_KEY:
return this._onEscapeKey(event, hasActiveDropdown);
case 38 /* KeyCodeMap.UP_KEY */:
case 33 /* KeyCodeMap.PAGE_UP_KEY */:
case 40 /* KeyCodeMap.DOWN_KEY */:
case 34 /* KeyCodeMap.PAGE_DOWN_KEY */:
case KeyCodeMap.UP_KEY:
case KeyCodeMap.PAGE_UP_KEY:
case KeyCodeMap.DOWN_KEY:
case KeyCodeMap.PAGE_DOWN_KEY:
return this._onDirectionKey(event, hasActiveDropdown);
case 8 /* KeyCodeMap.DELETE_KEY */:
case 46 /* KeyCodeMap.BACK_KEY */:
case KeyCodeMap.DELETE_KEY:
case KeyCodeMap.BACK_KEY:
return this._onDeleteKey(event, this._store.items, this.input.isFocussed);
}
};
Expand Down Expand Up @@ -3053,8 +3065,8 @@
if (hasActiveDropdown || this._isSelectOneElement) {
this.showDropdown();
this._canSearch = false;
var directionInt = keyCode === 40 /* KeyCodeMap.DOWN_KEY */ || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ ? 1 : -1;
var skipKey = event.metaKey || keyCode === 34 /* KeyCodeMap.PAGE_DOWN_KEY */ || keyCode === 33 /* KeyCodeMap.PAGE_UP_KEY */;
var directionInt = keyCode === KeyCodeMap.DOWN_KEY || keyCode === KeyCodeMap.PAGE_DOWN_KEY ? 1 : -1;
var skipKey = event.metaKey || keyCode === KeyCodeMap.PAGE_DOWN_KEY || keyCode === KeyCodeMap.PAGE_UP_KEY;
var nextEl = void 0;
if (skipKey) {
if (directionInt > 0) {
Expand Down Expand Up @@ -3534,7 +3546,7 @@
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = '11.0.2';
Choices.version = '11.0.3';
return Choices;
}());

Expand Down
4 changes: 2 additions & 2 deletions public/assets/scripts/choices.search-prefix.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 3a1d9f9

Please sign in to comment.