diff --git a/client/dist/bbj-grid-widget.js b/client/dist/bbj-grid-widget.js index 5edc290e..de7db773 100644 --- a/client/dist/bbj-grid-widget.js +++ b/client/dist/bbj-grid-widget.js @@ -12792,12 +12792,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat __webpack_require__.d(__webpack_exports__, "NumberInput", function () { return __WEBPACK_IMPORTED_MODULE_1__NumberInput__["a"]; }); - /* - * This file is part of basis-input-masking lib. - * (c) Basis Europe - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + /* + * This file is part of basis-input-masking lib. + * (c) Basis Europe + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ /***/ @@ -12811,12 +12811,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextInput__ = __webpack_require__(3); - /* - * This file is part of basis-input-masking lib. - * (c) Basis Europe - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + /* + * This file is part of basis-input-masking lib. + * (c) Basis Europe + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ /* harmony default export */ @@ -12914,62 +12914,62 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - /* - * This file is part of basis-input-masking lib. - * (c) Basis Europe - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + /* + * This file is part of basis-input-masking lib. + * (c) Basis Europe + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ - /** - * The `TextInput` will wrap text inputs and apply the given [bbj string mask](https://github.com/BasisHub/bbj-masks#string-masks) - * - * **Options** - * - * _Options can be passed via data attributes . For data attributes, append the option name to data-, as in data-mask_ - * - * | Option | Default | Description | - * |-----------|---------|---------------------------------------------------------------------------------------------------------| - * | mask | | The bbj string mask @see [BBj String Masks](https://github.com/BasisHub/bbj-masks#string-masks) | - * - *
- * - * **Example :** - * ```html - * - * - * - * ``` - * - * @author Hyyan Abo Fakher + /** + * The `TextInput` will wrap text inputs and apply the given [bbj string mask](https://github.com/BasisHub/bbj-masks#string-masks) + * + * **Options** + * + * _Options can be passed via data attributes . For data attributes, append the option name to data-, as in data-mask_ + * + * | Option | Default | Description | + * |-----------|---------|---------------------------------------------------------------------------------------------------------| + * | mask | | The bbj string mask @see [BBj String Masks](https://github.com/BasisHub/bbj-masks#string-masks) | + * + *
+ * + * **Example :** + * ```html + * + * + * + * ``` + * + * @author Hyyan Abo Fakher */ var TextInput = /*#__PURE__*/ function () { - /** - * Construct new TextInput - * - * @param {?Object} options - The input options. - * @param {HTMLElement|String} [options.elements=".bbj-text-masked"] - The class name or the node to use - * @param {HTMLDocument} [options.document=document] - Document instance to use - * @param {String} [options.cssClassError="bbj-mask-error"] - A css class to attach to the input when it is invalid - * @param {String} [options.cssClassSuccess="bbj-mask-success"] - A css class to attach to the input when it is valid after the user interaction - * @param {Function} [options.onUpdate=null] - A callback to be called on the new masked value is set - * @param {Function} [options.onInvalid=null] - A callback to be called on the input or the mask is invalid + /** + * Construct new TextInput + * + * @param {?Object} options - The input options. + * @param {HTMLElement|String} [options.elements=".bbj-text-masked"] - The class name or the node to use + * @param {HTMLDocument} [options.document=document] - Document instance to use + * @param {String} [options.cssClassError="bbj-mask-error"] - A css class to attach to the input when it is invalid + * @param {String} [options.cssClassSuccess="bbj-mask-success"] - A css class to attach to the input when it is valid after the user interaction + * @param {Function} [options.onUpdate=null] - A callback to be called on the new masked value is set + * @param {Function} [options.onInvalid=null] - A callback to be called on the input or the mask is invalid */ function TextInput() { var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; @@ -12988,9 +12988,9 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat this._onFocus = this._onFocus.bind(this); this.refresh(); } - /** - * Initialize the component and wrap the input elements for masking in case - * they are not wrapped yet + /** + * Initialize the component and wrap the input elements for masking in case + * they are not wrapped yet */ @@ -13020,8 +13020,8 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat } } } - /** - * Unwrap the input elements and remove attached listeners + /** + * Unwrap the input elements and remove attached listeners */ }, { @@ -13040,16 +13040,16 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat } } } - /** - * Create the text masking input wrapper - * - * @param {HTMLInputElement} input the input element - * @param {Boolean} isWrapped when true the input is already wrapped and we need to add what is - * missing only - * - * @returns {HTMLSpanElement} the wrap element - * - * @protected + /** + * Create the text masking input wrapper + * + * @param {HTMLInputElement} input the input element + * @param {Boolean} isWrapped when true the input is already wrapped and we need to add what is + * missing only + * + * @returns {HTMLSpanElement} the wrap element + * + * @protected */ }, { @@ -13124,12 +13124,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return wrap; } - /** - * Unwrap the masked input and remove the value changed listener - * - * @param {HTMLSpanElement} textInput the wrapper span instance - * - * @protected + /** + * Unwrap the masked input and remove the value changed listener + * + * @param {HTMLSpanElement} textInput the wrapper span instance + * + * @protected */ }, { @@ -13153,12 +13153,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat textInput.parentNode.insertBefore(input, textInput); textInput.parentNode.removeChild(textInput); } - /** - * Listen to every keystroke on the input and update the masked and the unmasked value - * - * @param {Event} e - * - * @protected + /** + * Listen to every keystroke on the input and update the masked and the unmasked value + * + * @param {Event} e + * + * @protected */ }, { @@ -13235,13 +13235,13 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat if (!maskError) this._validateInput(input); } - /** - * Listen to focus events on the input and update the caret position - * where the next char should be inserted according to the mask - * - * @param {FocusEvent} e - * - * @protected + /** + * Listen to focus events on the input and update the caret position + * where the next char should be inserted according to the mask + * + * @param {FocusEvent} e + * + * @protected */ }, { @@ -13252,13 +13252,13 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat this._updateCaretPosition(input, mask); } - /** - * Update the caret position on the input based on the given mask - * - * @param {HTMLInputElement} input instance - * @param {String} mask bbj string - * - * @protected + /** + * Update the caret position on the input based on the given mask + * + * @param {HTMLInputElement} input instance + * @param {String} mask bbj string + * + * @protected */ }, { @@ -13271,14 +13271,14 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat input.setSelectionRange(position, position); }, 0); } - /** - * Trigger `checkValidity` on the input - * - * @param {HTMLInputElement} input - * - * @returns {Boolean} true when valid , false otherwise - * - * @protected + /** + * Trigger `checkValidity` on the input + * + * @param {HTMLInputElement} input + * + * @returns {Boolean} true when valid , false otherwise + * + * @protected */ }, { @@ -13298,8 +13298,8 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return isValid; } - /** - * @private + /** + * @private */ }, { @@ -13309,8 +13309,8 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat this.options.onUpdate(valueMasked, valueUnmasked, input); } } - /** - * @private + /** + * @private */ }, { @@ -13320,8 +13320,8 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat this.options.onInvalid(error, input); } } - /** - * @private + /** + * @private */ }, { @@ -13392,21 +13392,21 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat var __WEBPACK_IMPORTED_MODULE_0_bbj_masks_src_StringMask___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_bbj_masks_src_StringMask__); - /* - * This file is part of basis-input-masking lib. - * (c) Basis Europe - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + /* + * This file is part of basis-input-masking lib. + * (c) Basis Europe + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ var SUPPORTED_MASKS = ['X', 'a', 'A', '0', 'z', 'Z', 'U']; - /** - * When true , then the browser supports Unicode Property Escapes - * otherwise it is false - * - * {@link https://github.com/tc39/proposal-regexp-unicode-property-escapes} + /** + * When true , then the browser supports Unicode Property Escapes + * otherwise it is false + * + * {@link https://github.com/tc39/proposal-regexp-unicode-property-escapes} */ var IS_UNICODE_PROPERTY_SUPPORTED = false; @@ -13417,13 +13417,13 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat } catch (err) { IS_UNICODE_PROPERTY_SUPPORTED = false; } - /** - * Check if the given value is masked with the given mask or not - * - * @param {String} value masked or unmasked value - * @param {String} mask a bbj mask - * - * @return {Boolean} true when the value is masked with given mask , false otherwise + /** + * Check if the given value is masked with the given mask or not + * + * @param {String} value masked or unmasked value + * @param {String} mask a bbj mask + * + * @return {Boolean} true when the value is masked with given mask , false otherwise */ @@ -13441,14 +13441,14 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return isMaskedValue.__CACHE__[cacheKey]; }; - /** - * Mask the given value with the given mask in case the value is not already masked with the - * given mask - * - * @param {String} value masked or unmasked value - * @param {String} mask a bbj mask - * - * @return {String} a masked value + /** + * Mask the given value with the given mask in case the value is not already masked with the + * given mask + * + * @param {String} value masked or unmasked value + * @param {String} mask a bbj mask + * + * @return {String} a masked value */ @@ -13473,12 +13473,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return maskIfNotMasked.__CACHE__[cacheKey]; }; - /** - * Generate a regex patter based on the give task - * - * @param {String} mask bbj string mask - * - * @return {String} regex for the give mask + /** + * Generate a regex patter based on the give task + * + * @param {String} mask bbj string mask + * + * @return {String} regex for the give mask */ @@ -13528,11 +13528,11 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return generatePatternFromMask.__CACHE__[cacheKey]; }; - /** - * Unmask the given value - * - * @param {String} maskedValue masked string - * @param {String} mask the used mask to produce the masked string + /** + * Unmask the given value + * + * @param {String} maskedValue masked string + * @param {String} mask the used mask to produce the masked string */ @@ -13564,12 +13564,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return unmask.__CACHE__[cacheKey]; }; - /** - * Given the masked string , find the next caret position depending on - * what is missing to complete the mask - * - * @param {String} maskedValue masked string - * @param {String} mask the used mask to produce the masked string + /** + * Given the masked string , find the next caret position depending on + * what is missing to complete the mask + * + * @param {String} maskedValue masked string + * @param {String} mask the used mask to produce the masked string */ @@ -13622,12 +13622,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NumberInput__ = __webpack_require__(6); - /* - * This file is part of basis-input-masking lib. - * (c) Basis Europe - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + /* + * This file is part of basis-input-masking lib. + * (c) Basis Europe + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ /* harmony default export */ @@ -13721,12 +13721,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - /* - * This file is part of basis-input-masking lib. - * (c) Basis Europe - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. + /* + * This file is part of basis-input-masking lib. + * (c) Basis Europe + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ @@ -13738,67 +13738,67 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return 0; }; - /** - * The `NumberInput` will wrap text inputs and apply the given [bbj Number mask](https://github.com/BasisHub/bbj-masks#number-masks) - * - * **Options** - * - * _Options can be passed via data attributes . For data attributes, append the option name to data-, as in data-mask_ - * - * | Option | Default | Description | - * |-----------|---------|---------------------------------------------------------------------------------------------------------| - * | mask | | The bbj number mask @see [BBj Number Masks](https://github.com/BasisHub/bbj-masks#number-masks) | - * | min | | The maximum value to accept for this input| - * | max | | The minimum value to accept for this input| - * | step | | A stepping interval to use when using up and down arrows to adjust the value, as well as for validation| - * |grouping-separator | , | a char which will be used as a grouping separator | - * |decimal-separator | . | a char which will be used as a decimal separator | - * |force-trailing-zeros | false | Affects the output by switching the way a mask with "#" characters in the trailing positions is filled. for example, the function NumberMask.mask(.10:"#.##") returns .10 instead of .1| - * - *
- * - * **Example :** - * ```html - * - * - * - * ``` - * - * @author Hyyan Abo Fakher + /** + * The `NumberInput` will wrap text inputs and apply the given [bbj Number mask](https://github.com/BasisHub/bbj-masks#number-masks) + * + * **Options** + * + * _Options can be passed via data attributes . For data attributes, append the option name to data-, as in data-mask_ + * + * | Option | Default | Description | + * |-----------|---------|---------------------------------------------------------------------------------------------------------| + * | mask | | The bbj number mask @see [BBj Number Masks](https://github.com/BasisHub/bbj-masks#number-masks) | + * | min | | The maximum value to accept for this input| + * | max | | The minimum value to accept for this input| + * | step | | A stepping interval to use when using up and down arrows to adjust the value, as well as for validation| + * |grouping-separator | , | a char which will be used as a grouping separator | + * |decimal-separator | . | a char which will be used as a decimal separator | + * |force-trailing-zeros | false | Affects the output by switching the way a mask with "#" characters in the trailing positions is filled. for example, the function NumberMask.mask(.10:"#.##") returns .10 instead of .1| + * + *
+ * + * **Example :** + * ```html + * + * + * + * ``` + * + * @author Hyyan Abo Fakher */ var NumberInput = /*#__PURE__*/ function () { - /** - * Construct new NumberInput - * - * @param {?Object} options - The input options. - * @param {HTMLElement|String} [options.elements=".bbj-number-masked"] - The class name or the node to use - * @param {HTMLDocument} [options.document=document] - Document instance to use - * @param {String} [options.cssClassError="bbj-mask-error"] - A css class to attach to the input when it is invalid - * @param {String} [options.cssClassSuccess="bbj-mask-success"] - A css class to attach to the input when it is valid after the user interaction - * @param {Function} [options.onUpdate=null] - A callback to be called on the new masked value is set - * @param {Function} [options.onInvalid=null] - A callback to be called on the input or the mask is invalid + /** + * Construct new NumberInput + * + * @param {?Object} options - The input options. + * @param {HTMLElement|String} [options.elements=".bbj-number-masked"] - The class name or the node to use + * @param {HTMLDocument} [options.document=document] - Document instance to use + * @param {String} [options.cssClassError="bbj-mask-error"] - A css class to attach to the input when it is invalid + * @param {String} [options.cssClassSuccess="bbj-mask-success"] - A css class to attach to the input when it is valid after the user interaction + * @param {Function} [options.onUpdate=null] - A callback to be called on the new masked value is set + * @param {Function} [options.onInvalid=null] - A callback to be called on the input or the mask is invalid */ function NumberInput() { var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; @@ -13817,9 +13817,9 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat this._unmaskedInputHandler = this._unmaskedInputHandler.bind(this); this.refresh(); } - /** - * Initialize the component and wrap the input elements for masking in case - * they are not wrapped yet + /** + * Initialize the component and wrap the input elements for masking in case + * they are not wrapped yet */ @@ -13849,8 +13849,8 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat } } } - /** - * Unwrap the input elements and remove attached listeners + /** + * Unwrap the input elements and remove attached listeners */ }, { @@ -13869,16 +13869,16 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat } } } - /** - * Create the number masking input wrapper - * - * @param {HTMLInputElement} actualInput the input element - * @param {Boolean} isWrapped when true the input is already wrapped and we need to add what is - * missing only - * - * @returns {HTMLSpanElement} wrapper instance - * - * @protected + /** + * Create the number masking input wrapper + * + * @param {HTMLInputElement} actualInput the input element + * @param {Boolean} isWrapped when true the input is already wrapped and we need to add what is + * missing only + * + * @returns {HTMLSpanElement} wrapper instance + * + * @protected */ }, { @@ -13971,12 +13971,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return wrap; } - /** - * Unwrap the masked input and remove the value changed listener - * - * @param {HTMLSpanElement} textInput the wrapper span instance - * - * @protected + /** + * Unwrap the masked input and remove the value changed listener + * + * @param {HTMLSpanElement} textInput the wrapper span instance + * + * @protected */ }, { @@ -13993,12 +13993,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat textInput.parentNode.insertBefore(input, textInput); textInput.parentNode.removeChild(textInput); } - /** - * Listen to click and focusin event on the actual input and toggle the number input - * - * @param {Event} e - * - * @protected + /** + * Listen to click and focusin event on the actual input and toggle the number input + * + * @param {Event} e + * + * @protected */ }, { @@ -14022,13 +14022,13 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat unmaskedInput.type = 'number'; }, 0); } - /** - * Listen to the unmasked input keydown and focusout events and check - * if the input value can be masked or not - * - * @param {Event} e - * - * @protected + /** + * Listen to the unmasked input keydown and focusout events and check + * if the input value can be masked or not + * + * @param {Event} e + * + * @protected */ }, { @@ -14082,15 +14082,15 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat } } } - /** - * Trigger `checkValidity` on the input - * - * @param {HTMLInputElement} unmaskedInput - * @param {HTMLInputElement} actualInput - * - * @returns {Boolean} true when valid , false otherwise - * - * @protected + /** + * Trigger `checkValidity` on the input + * + * @param {HTMLInputElement} unmaskedInput + * @param {HTMLInputElement} actualInput + * + * @returns {Boolean} true when valid , false otherwise + * + * @protected */ }, { @@ -14118,12 +14118,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat return isValid; } - /** - * @param {String} valueMasked masked value - * @param {Number} valueUnmasked original value - * @param {HTMLInputElement} input the actual input instance - * - * @private + /** + * @param {String} valueMasked masked value + * @param {Number} valueUnmasked original value + * @param {HTMLInputElement} input the actual input instance + * + * @private */ }, { @@ -14133,11 +14133,11 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat this.options.onUpdate(valueMasked, valueUnmasked, input); } } - /** - * @param {String|Object} error last occurred error. could be mask error or validation error - * @param {HTMLInputElement} input the actual input instance - * - * @private + /** + * @param {String|Object} error last occurred error. could be mask error or validation error + * @param {HTMLInputElement} input the actual input instance + * + * @private */ }, { @@ -14147,8 +14147,8 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat this.options.onInvalid(error, input); } } - /** - * @private + /** + * @private */ }, { diff --git a/client/dist/bui/flatpickr.js b/client/dist/bui/flatpickr.js index b75e14d8..ceddbca4 100644 --- a/client/dist/bui/flatpickr.js +++ b/client/dist/bui/flatpickr.js @@ -5,30 +5,30 @@ (global = global || self, global.flatpickr = factory()); }(this, function () { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 + + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, + MERCHANTABLITY OR NON-INFRINGEMENT. + + See the Apache Version 2.0 License for specific language governing permissions + and limitations under the License. + ***************************************************************************** */ + + var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); }; var HOOKS = [ diff --git a/client/dist/flatpickr.js b/client/dist/flatpickr.js index c501b962..15d73975 100644 --- a/client/dist/flatpickr.js +++ b/client/dist/flatpickr.js @@ -5,30 +5,30 @@ (global = global || self, global.flatpickr = factory()); }(this, function () { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 + + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, + MERCHANTABLITY OR NON-INFRINGEMENT. + + See the Apache Version 2.0 License for specific language governing permissions + and limitations under the License. + ***************************************************************************** */ + + var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); }; var HOOKS = [