(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["bootstrap_env~jquery-ui_env"],{ /***/ "./assets/css/handsontable.css": /*!*************************************!*\ !*** ./assets/css/handsontable.css ***! \*************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }), /***/ "./assets/js/components/googlemaps.js": /*!********************************************!*\ !*** ./assets/js/components/googlemaps.js ***! \********************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ "./node_modules/core-js/modules/es.array.for-each.js"); /* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/core-js/modules/web.dom-collections.for-each.js"); /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js"); /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js"); /* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__); /** * Created by PhpStorm * User: daniele * Date: 11/06/21 * Time: 13:36 */ /* harmony default export */ __webpack_exports__["default"] = ({ buildGoogleMaps: function buildGoogleMaps(googlemap) { var latitudine = $(googlemap).data("latitudine"); var longitudine = $(googlemap).data("longitudine"); var markers = $(googlemap).data("markers"); var zoom = $(googlemap).data("zoom"); var viewSearchBox = $(googlemap).data("viewsearchbox"); var map = new google.maps.Map($(googlemap)[0], { zoom: zoom, center: { lat: getFloat(latitudine), lng: getFloat(longitudine) } }); if (viewSearchBox) { // Create the search box and link it to the UI element. var input = $("#" + $(googlemap).attr("id") + "_pac_input")[0]; var searchBox = new google.maps.places.SearchBox(input); map.controls[google.maps.ControlPosition.TOP_LEFT].push(input); // Bias the SearchBox results towards current map's viewport. map.addListener("bounds_changed", function () { searchBox.setBounds(map.getBounds()); }); var s_markers = []; // Listen for the event fired when the user selects a prediction and retrieve // more details for that place. searchBox.addListener("places_changed", function () { var places = searchBox.getPlaces(); if (!places.length) { return; } // Clear out the old markers. s_markers.forEach(function (marker) { marker.setMap(null); }); s_markers = []; // For each place, get the icon, name and location. var bounds = new google.maps.LatLngBounds(); places.forEach(function (place) { if (!place.geometry || !place.geometry.location) { console.log("Returned place contains no geometry"); return; } var icon = { url: place.icon, size: new google.maps.Size(71, 71), origin: new google.maps.Point(0, 0), anchor: new google.maps.Point(17, 34), scaledSize: new google.maps.Size(25, 25) }; // Create a marker for each place. s_markers.push(new google.maps.Marker({ map: map, icon: icon, title: place.name, position: place.geometry.location })); if (place.geometry.viewport) { // Only geocodes have viewport. bounds.union(place.geometry.viewport); } else { bounds.extend(place.geometry.location); } }); map.fitBounds(bounds); }); } var geocoder; markers.map(function (marker) { var opts = { map: map }; if (marker.label) opts.label = marker.label; if (marker.title) opts.title = marker.title; if (marker.color) opts.icon = { url: "https://maps.google.com/mapfiles/ms/icons/" + marker.color + "-dot.png" }; var setInfoWindow; if (marker.text) setInfoWindow = function setInfoWindow(gmarker) { var info = new google.maps.InfoWindow({ content: marker.text }); info.addListener("closeclick", function () { $(".ui-tooltip").hide(); }); gmarker.addListener("click", function () { info.open({ anchor: gmarker, map: map, shouldFocus: false }); }); }; if (!marker.address) { opts.position = { lat: getFloat(marker.lat), lng: getFloat(marker.lng) }; var gmarker = new google.maps.Marker(opts); if (setInfoWindow) setInfoWindow(gmarker); return; } geocoder = new google.maps.Geocoder(); geocoder.geocode({ address: marker.address }, function (results, status) { if (status !== 'OK') { console.log('Geocode was not successful for the following reason: ' + status); return; } opts.position = results[0].geometry.location; var gmarker = new google.maps.Marker(opts); if (setInfoWindow) setInfoWindow(gmarker); }); }); } }); /***/ }), /***/ "./assets/js/components/handsontables.js": /*!***********************************************!*\ !*** ./assets/js/components/handsontables.js ***! \***********************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js"); /* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.values.js */ "./node_modules/core-js/modules/es.object.values.js"); /* harmony import */ var core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var handsontable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! handsontable */ "./node_modules/handsontable/index.mjs"); /* harmony import */ var handsontable_dist_handsontable_full_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! handsontable/dist/handsontable.full.css */ "./node_modules/handsontable/dist/handsontable.full.css"); /* harmony import */ var handsontable_dist_handsontable_full_css__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(handsontable_dist_handsontable_full_css__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _css_handsontable_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../css/handsontable.css */ "./assets/css/handsontable.css"); /* harmony import */ var _css_handsontable_css__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_css_handsontable_css__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js"); /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_5__); /** * Created by PhpStorm * User: daniele * Date: 03/06/21 * Time: 14:46 */ /* harmony default export */ __webpack_exports__["default"] = ({ buildTable: function buildTable(table) { var idtable = jquery__WEBPACK_IMPORTED_MODULE_5___default()(table).attr("id"); var $table = jquery__WEBPACK_IMPORTED_MODULE_5___default()("#" + idtable); var columns = $table.data("columns"); var colHeaders = [], hcolumns = [], hiddenColumns = { columns: [] }; var index_col = 0; var date_format, currency_pattern, firstDay, culture; var locale = $table.data("locale"); switch (locale) { case "jap": firstDay = 0; date_format = "YYYY/MM/DD"; currency_pattern = "0,0.00 $"; culture = "ja-JP"; break; case "us": firstDay = 0; date_format = "MM/DD/YYYY"; currency_pattern = "$0,0.00"; culture = "en-US"; break; default: firstDay = 1; date_format = "DD/MM/YYYY"; currency_pattern = "0,0.00 $"; culture = "it-IT"; break; } console.log(culture); console.log(currency_pattern); var aligns = { "L": "htLeft", "C": "htCenter", "R": "htRight", "J": "htJustify" }; columns.map(function (col) { colHeaders.push(col.header); if (col.hidden) hiddenColumns.columns.push(index_col); var align = aligns[col.align]; switch (col.type) { case "dropdown": hcolumns.push({ data: col.key, type: "dropdown", source: Object.values(col.select_options), readOnly: col.readonly, className: align }); break; case "numeric": hcolumns.push({ type: "numeric", data: col.key, readOnly: col.readonly, className: align }); break; case "currency": hcolumns.push({ type: "numeric", data: col.key, numericFormat: { culture: culture, pattern: currency_pattern }, readOnly: col.readonly, className: align }); break; case "date": hcolumns.push({ type: "date", data: col.key, dateFormat: date_format, correctFormat: true, datePickerConfig: { firstDay: firstDay, showWeekNumber: false }, readOnly: col.readonly, className: align }); break; case "autocompleteCodiceArticolo": hcolumns.push({ data: col.key, type: "autocomplete", source: function source(query, process) { ajaxSourceIWAutocomplete({}, "IWAutocompleteCodiceArticolo", query, null, process); }, readOnly: col.readonly, className: align }); break; case "autocompleteArticolo": hcolumns.push({ data: col.key, type: "autocomplete", source: function source(query, process) { ajaxSourceIWAutocomplete({}, "IWAutocomplteArticolo", query, null, process); }, readOnly: col.readonly, className: align }); break; default: hcolumns.push({ data: col.key, readOnly: col.readonly, className: align }); break; } index_col++; }); jquery__WEBPACK_IMPORTED_MODULE_5___default.a.ajax({ url: $table.data("url"), dataType: "json", type: "post", data: $table.data("div_data_id") ? jquery__WEBPACK_IMPORTED_MODULE_5___default()("#" + $table.data("div_data_id")) : jquery__WEBPACK_IMPORTED_MODULE_5___default()("#form1").serialize(), success: function success(json) { var hot = new handsontable__WEBPACK_IMPORTED_MODULE_2__["default"](table, { licenseKey: 'non-commercial-and-evaluation', data: json, minSpareRows: 10, startRows: 50, rowHeaders: true, colHeaders: colHeaders, columns: hcolumns, hiddenColumns: hiddenColumns, manualColumnResize: true, manualRowResize: true, width: '100%', height: "auto", rowHeights: 30, colWidths: 100 }); } }); } }); /***/ }), /***/ "./css/jquery.qtip.css": /*!*****************************!*\ !*** ./css/jquery.qtip.css ***! \*****************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }), /***/ "./css/jquery.ui.theme.css": /*!*********************************!*\ !*** ./css/jquery.ui.theme.css ***! \*********************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }), /***/ "./include/js/date.js": /*!****************************!*\ !*** ./include/js/date.js ***! \****************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(/*! core-js/modules/es.date.to-string.js */ "./node_modules/core-js/modules/es.date.to-string.js"); __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/core-js/modules/es.parse-int.js"); __webpack_require__(/*! core-js/modules/es.number.is-integer.js */ "./node_modules/core-js/modules/es.number.is-integer.js"); __webpack_require__(/*! core-js/modules/es.number.constructor.js */ "./node_modules/core-js/modules/es.number.constructor.js"); __webpack_require__(/*! core-js/modules/es.array.index-of.js */ "./node_modules/core-js/modules/es.array.index-of.js"); __webpack_require__(/*! core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js"); __webpack_require__(/*! core-js/modules/es.object.keys.js */ "./node_modules/core-js/modules/es.object.keys.js"); /** * Created by PhpStorm * User: daniele * Date: 15/05/20 * Time: 12.52 */ module.exports = { /** * Prende in ingresso una data in formato ita e la trasforma in jap * @param {string} data_it * @returns {string} */ Date__jap: function Date__jap(data_it) { if (!data_it) return ""; var date_format = $("#DPC_DEFAULT_FORMAT").val(); if (date_format === "yy/mm/dd") return data_it; return moment(data_it, date_format === "dd/mm/yy" ? "DD/MM/YYYY" : "MM/DD/YYYY").format("YYYY/MM/DD"); }, /** * Prende in ingresso una data in formato jap e la trasforma in ita * @param {string} data_jap * @returns {string} */ Date__it: function Date__it(data_jap) { if (!data_jap) return ""; var date_format = $("#DPC_DEFAULT_FORMAT").val(); if (date_format === "yy/mm/dd") return data_jap; return moment(data_jap, "YYYY/MM/DD").format(date_format === "dd/mm/yy" ? "DD/MM/YYYY" : "MM/DD/YYYY"); }, /** * ritorna l'ora corrente in formato HH.MM * @returns {string} * @constructor */ Date__OraNow: function Date__OraNow() { return moment().format("HH.mm"); }, //ritorna il giorno giuliano a 3 caratteri fissi, passando una data in japp Date__ggiuliano: function Date__ggiuliano(data_jap) { var adesso = new Date(data_jap.substr(0, 4), parseInt(data_jap.substr(5, 2), 10) - 1, data_jap.substr(8, 2), 4, 0, 0); var anno = adesso.getFullYear(); var inizioanno = new Date(anno, 0, 0); var GG = String(Math.floor((adesso - inizioanno) / 86400000)); return str_pad(GG, 3, "0", "STR_PAD_LEFT"); }, /** * Aggiunge alla data_jap un numero di giorni. Restituisce una data_jap * @param data_jap * @param ngiorni * @param conta_da_fine_mese * @param usa_calendario_commerciale * @returns {string} * @constructor */ Date__add: function Date__add(data_jap, ngiorni, conta_da_fine_mese, usa_calendario_commerciale) { ngiorni = getFloat(ngiorni); if (Number.isInteger(ngiorni / 30) && !conta_da_fine_mese && usa_calendario_commerciale) return Date__sommamesi(data_jap, ngiorni / 30); if (conta_da_fine_mese) { data_jap = data_jap.substr(0, 8) + "15"; var d = moment(data_jap, "YYYY/MM/DD"); } if (ngiorni > 0) d.add(ngiorni, "days");else d.subtract(Math.abs(ngiorni), "days"); if (conta_da_fine_mese) d.endOf("month"); return d.format("YYYY/MM/DD"); }, /** * funzione che somma x mesi alla data passata come parametro. * torna lo stesso giorno di x mesi dopo; se per caso il giorno è impossibile (es. 31/06) ritorna il primo giorno successivo * dipsonibile (es. 01/07) * @param {string} data_jap * @param {int} nmesi * @returns {string} */ Date__sommamesi: function Date__sommamesi(data_jap, nmesi) { var d = moment(data_jap, "YYYY/MM/DD"); d.add(nmesi, "months"); return d.format("YYYY/MM/DD"); }, /** * Ritorna la data odierna * @returns {string} */ Date__now: function Date__now() { return moment().format("YYYY/MM/DD"); }, /** * Aggiunge tot minuti e secondi all'orario passato. Ritorna un orario solo HH.MM * @param {string} orario * @param {string} mm * @param {number} ss * @returns {string} */ minutiAdd: function minutiAdd(orario, mm, ss) { if (ss == null) ss = 0; var h = getFloat(orario.substr(0, 2)); var m = getFloat(orario.substr(3, 2)); ss = mm * 60 + ss; var d = new Date(2000, 1, 1, h, m, 0, 0); var t = d.getTime(); t += ss * 1000; d.setTime(t); var h2 = d.getHours(); var m2 = d.getMinutes(); if (h2 <= 9) h2 = "0" + h2; if (m2 <= 9) m2 = "0" + m2; return h2 + "." + m2; }, /** * Ritorna true se è un orario valido nel formato HH.MM col carattere '.' come separatore * @param {string} s * @returns {boolean} */ isOrario: function isOrario(s) { var i = s.indexOf('.'); if (i == -1) return false; if (i == 1) s = "0" + s; if (parseInt(s.substr(0, 2), 10) > 23) return false; if (parseInt(s.substr(3, 2), 10) > 59) return false; return true; }, getParamsForDatepicker: function getParamsForDatepicker(params) { var date_format = $("#DPC_DEFAULT_FORMAT").val(); var format; switch (date_format) { case "dd/mm/yy": format = "dd/mm/yyyy"; break; case "mm/dd/yy": format = "mm/dd/yyyy"; break; default: format = "yyyy/mm/dd"; break; } var standard_params = { format: format, autoclose: true, todayHighlight: true, language: $("#LANG").val(), clearBtn: true }; if (params) { Object.keys(params).map(function (key) { standard_params[key] = params[key]; }); } return standard_params; }, bsDatePickerInit: function bsDatePickerInit() { var self = this; $(".input-group.date").datepicker(self.getParamsForDatepicker()); }, bsDatePickerRangeInit: function bsDatePickerRangeInit(params) { var self = this; $('.input-daterange input').each(function () { $(this).datepicker(self.getParamsForDatepicker(params)); }); } }; /***/ }), /***/ "./include/js/pack/0050.autocomplete-events.js": /*!*****************************************************!*\ !*** ./include/js/pack/0050.autocomplete-events.js ***! \*****************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(/*! core-js/modules/es.function.bind.js */ "./node_modules/core-js/modules/es.function.bind.js"); /** * Created by Daniele on 06/07/16. */ (function ($) { $.fn.autocompleteOnFocusEvent = function () { $(this).focus(function () { $(this).select(); $(this).one("mouseup", function (ev) { ev.preventDefault(); }); }); }; $.fn.autocompleteSearchAllOnDblClick = function () { $(this).bind("dblclick", function () { if (!$(this).attr("readonly")) { $(this).val(""); $(this).keyup(); $(this).val("%"); $(this).keyup(); $(this).val(""); } }); }; })(jQuery); $(document).ready(function () { $(".searchBox_codearticolo").autocompleteOnFocusEvent(); $(".searchBox_articolo").autocompleteOnFocusEvent(); $(".searchBox_user").autocompleteOnFocusEvent(); $(".searchBox_pdc").autocompleteOnFocusEvent(); $(".searchBox_banca").autocompleteOnFocusEvent(); $(".searchBox_pagamento").autocompleteOnFocusEvent(); $(".searchBox_comuni").autocompleteOnFocusEvent(); $(".searchBox_CDC").autocompleteOnFocusEvent(); $(".searchBox_commesse").autocompleteOnFocusEvent(); $(".searchBox_iva").autocompleteOnFocusEvent(); $(".searchBox_causalecontabile_codice").autocompleteOnFocusEvent(); $(".searchBox_causalecontabile").autocompleteOnFocusEvent(); $(".searchBox_lotto").autocompleteOnFocusEvent(); $(".searchBox_mag").autocompleteOnFocusEvent(); $(".searchBox_user").autocompleteSearchAllOnDblClick(); $(".searchBox_articolo").autocompleteSearchAllOnDblClick(); $(".searchBox_iva").autocompleteSearchAllOnDblClick(); $(".searchBox_causalecontabile_codice").autocompleteSearchAllOnDblClick(); $(".searchBox_commesse").autocompleteSearchAllOnDblClick(); }); /***/ }), /***/ "./include/js/pack/0150.jquery.tabledisplay-0.2.js": /*!*********************************************************!*\ !*** ./include/js/pack/0150.jquery.tabledisplay-0.2.js ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { /* * jQuery Table Display * * Copyright (c) 2008 Gabriel Langhans, Lucas Leite, Maicon Martins * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * $Date: 2008-08-06 14:01:12 +0300 (Wed, 06 Aug 2008) $ */ (function ($) { $.fn.toggleRow = function () { if ($(this).css('display') == 'none') { $(this).showRow(); } else { $(this).hideRow(); } }; $.fn.hideRow = function () { $(this).hide(); }; $.fn.showRow = function () { if ($(this).css('display') == 'none') { $(this).css('display', 'table-row'); } }; })(jQuery); /***/ }), /***/ "./include/js/pack/0170.jquery.simplecurrency.js": /*!*******************************************************!*\ !*** ./include/js/pack/0170.jquery.simplecurrency.js ***! \*******************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(/*! core-js/modules/es.function.bind.js */ "./node_modules/core-js/modules/es.function.bind.js"); __webpack_require__(/*! core-js/modules/es.array.index-of.js */ "./node_modules/core-js/modules/es.array.index-of.js"); __webpack_require__(/*! core-js/modules/es.number.constructor.js */ "./node_modules/core-js/modules/es.number.constructor.js"); __webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ "./node_modules/core-js/modules/es.number.to-fixed.js"); __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js"); __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/core-js/modules/es.string.replace.js"); /* * jQuery SimpleCurrency plugin * Version 1.0 (3-MAY-2009) * * Examples at: http://www.roncosoftware.it/jquery.simplecurrency * Copyright Giovanni Ronco * Licensed under LGPL */ /* This is an automatic script that trasform the normal input-field in a currency-field. Just attach to the text-field css class="Currency" This field (for example with id="curr1") must have a hidden-field near with id="curr1_hidden". This hidden-field contains a real float number that you can use... Must exists 4 hidden fields in the top of the page: In every currency-field it's possibile to override symbol or decimals, adding "symbol" or "decimals" proprerty (this is no XHTML strict) examples: normal: with symbol overload: with decimals overload: */ var CURRENCY__SYMBOL = ""; var CURRENCY__DECIMALS = 2; var CURRENCY__DECIMAL_SEPARATOR = "."; var CURRENCY__THOUSANDS_SEPARATOR = ","; $(document).ready(function () { CURRENCY__SYMBOL = $("#CURRENCY__SYMBOL").val(); //CURRENCY__DECIMALS=$("#CURRENCY__DECIMALS").val(); CURRENCY__DECIMAL_SEPARATOR = $("#CURRENCY__DECIMAL_SEPARATOR").val(); CURRENCY__THOUSANDS_SEPARATOR = $("#CURRENCY__THOUSANDS_SEPARATOR").val(); $(".Currency").prop("autocomplete", "off"); $(".Currency").bind("keydown focus blur", function (e) { //********* var objID = e.target.id; var objID_hidden = objID + "_hidden"; var mCURRENCY__SYMBOL = CURRENCY__SYMBOL; var mCURRENCY__DECIMALS = CURRENCY__DECIMALS; var s, n; //overload eventuali del simbolo e del numero di decimali if ($("#" + objID).prop("symbol") != undefined) mCURRENCY__SYMBOL = $("#" + objID).prop("symbol"); if ($("#" + objID).attr("decimals") != undefined) mCURRENCY__DECIMALS = $("#" + objID).attr("decimals"); if (e.type == "keydown") { var keynum; if (window.event) keynum = e.keyCode;else if (e.which) keynum = e.which; if (keynum == 188) { e.keyCode = 190; e.which = 190; } //la virgola � disabilitata //tastierino numerico.... if (keynum == 110) { keynum = 190; return true; } //questo � il punto if (keynum >= 96 && keynum <= 105) keynum -= 48; //*************************** var keychar = String.fromCharCode(keynum); if (keynum == 188) keychar = ','; if (keynum == 190) keychar = '.'; if (keynum == 109) keychar = '-'; if (keynum == 173) keychar = '-'; if (keynum == 8 || keynum == 37 || keynum == 39 || keynum == 9 || keynum == 36 || keynum == 35) return true; var numbers = "0123456789"; if (numbers.indexOf(keychar) > -1) return true; if (keychar == CURRENCY__DECIMAL_SEPARATOR && $("#" + objID).val().indexOf(CURRENCY__DECIMAL_SEPARATOR) == -1) return true; if (keychar == '-' && $("#" + objID).val().indexOf('-') == -1) return true; return false; } if (e.type == "focus") { //var mCURRENCY__DECIMALS=CURRENCY__DECIMALS; s = getFloat($("#" + objID_hidden).val()); n = new Number(s); $("#" + objID).val(n.toFixed(mCURRENCY__DECIMALS)); $("#" + objID).select(); $("#" + objID).one('mouseup', function (ev) { ev.preventDefault(); }); } if (e.type == "blur") { //overload eventuali del simbolo e del numero di decimali if ($("#" + objID).prop("symbol") != undefined) mCURRENCY__SYMBOL = $("#" + objID).prop("symbol"); if ($("#" + objID).prop("decimals") != undefined) mCURRENCY__DECIMALS = $("#" + objID).prop("decimals"); s = $("#" + objID).val(); s = s.replace(mCURRENCY__SYMBOL, '.'); //quando compilo il campo QUALSIASI SIA LA LINGUA COMPILO USANDO IL . COME SEPARATORE DECIMALE //s=s.replace(CURRENCY__THOUSANDS_SEPARATOR,''); //s=s.replace(CURRENCY__DECIMAL_SEPARATOR,'.'); n = getFloat(s); $("#" + objID_hidden).val(n); $("#" + objID).updateCurrency(); $("#" + objID_hidden).change(); } }); //******** }); $.fn.updateCurrency = function () { var objID = $(this).prop("id"); var objID_hidden = objID + "_hidden"; var mCURRENCY__SYMBOL = $("#CURRENCY__SYMBOL").val(); var mCURRENCY__DECIMALS = getFloat($("#" + objID).attr("decimals")) == 0 ? CURRENCY__DECIMALS : getFloat($("#" + objID).attr("decimals")); var if_zero_empty = false; //overload eventuali del simbolo e del numero di decimali if ($("#" + objID).prop("if_zero_empty") != undefined) if_zero_empty = true; if ($("#" + objID).prop("symbol") != undefined) mCURRENCY__SYMBOL = $("#" + objID).prop("symbol"); var n = getFloat($("#" + objID_hidden).val()); var sign = n < 0 ? "- " : ""; var n2 = number_format(Math.abs(n), mCURRENCY__DECIMALS, CURRENCY__DECIMAL_SEPARATOR, CURRENCY__THOUSANDS_SEPARATOR); if (n == 0 && if_zero_empty) $("#" + objID).val("");else $("#" + objID).val(sign + mCURRENCY__SYMBOL + " " + n2); }; /***/ }), /***/ "./include/js/pack/0180.jquery.selectboxes.js": /*!****************************************************!*\ !*** ./include/js/pack/0180.jquery.selectboxes.js ***! \****************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/core-js/modules/es.regexp.constructor.js"); __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js"); __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/core-js/modules/es.regexp.to-string.js"); __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/core-js/modules/es.string.match.js"); __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/core-js/modules/es.array.sort.js"); __webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js"); __webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js"); __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/core-js/modules/es.symbol.description.js"); __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js"); __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "./node_modules/core-js/modules/es.symbol.iterator.js"); __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/core-js/modules/es.array.iterator.js"); __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "./node_modules/core-js/modules/es.string.iterator.js"); __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/core-js/modules/web.dom-collections.iterator.js"); function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } /* * * Copyright (c) 2006-2009 Sam Collett (http://www.texotela.co.uk) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version 2.2.4 * Demo: http://www.texotela.co.uk/code/jquery/select/ * * $LastChangedDate$ * $Rev$ * */ ; (function ($) { /** * Adds (single/multiple) options to a select box (or series of select boxes) * * @name addOption * @author Sam Collett (http://www.texotela.co.uk) * @type jQuery * @example $("#myselect").addOption("Value", "Text"); // add single value (will be selected) * @example $("#myselect").addOption("Value 2", "Text 2", false); // add single value (won't be selected) * @example $("#myselect").addOption({"foo":"bar","bar":"baz"}, false); // add multiple values, but don't select * */ $.fn.addOption = function () { var add = function add(el, v, t, sO) { var option = document.createElement("option"); option.value = v, option.text = t; // get options var o = el.options; // get number of options var oL = o.length; if (!el.cache) { el.cache = {}; // loop through existing options, adding to cache for (var i = 0; i < oL; i++) { el.cache[o[i].value] = i; } } // add to cache if it isn't already if (typeof el.cache[v] == "undefined") el.cache[v] = oL; el.options[el.cache[v]] = option; if (sO) { option.selected = true; } }; var a = arguments; if (a.length == 0) return this; // select option when added? default is true var sO = true; // multiple items var m = false; // other variables var items, v, t; if (_typeof(a[0]) == "object") { m = true; items = a[0]; } if (a.length >= 2) { if (typeof a[1] == "boolean") sO = a[1];else if (typeof a[2] == "boolean") sO = a[2]; if (!m) { v = a[0]; t = a[1]; } } this.each(function () { if (this.nodeName.toLowerCase() != "select") return; if (m) { for (var item in items) { add(this, item, items[item], sO); } } else { add(this, v, t, sO); } }); return this; }; /** * Add options via ajax * * @name ajaxAddOption * @author Sam Collett (http://www.texotela.co.uk) * @type jQuery * @param String url Page to get options from (must be valid JSON) * @param Object params (optional) Any parameters to send with the request * @param Boolean select (optional) Select the added options, default true * @param Function fn (optional) Call this function with the select object as param after completion * @param Array args (optional) Array with params to pass to the function afterwards * @example $("#myselect").ajaxAddOption("myoptions.php"); * @example $("#myselect").ajaxAddOption("myoptions.php", {"code" : "007"}); * @example $("#myselect").ajaxAddOption("myoptions.php", {"code" : "007"}, false, sortoptions, [{"dir": "desc"}]); * */ $.fn.ajaxAddOption = function (url, params, select, fn, args) { if (typeof url != "string") return this; if (_typeof(params) != "object") params = {}; if (typeof select != "boolean") select = true; this.each(function () { var el = this; $.getJSON(url, params, function (r) { $(el).addOption(r, select); if (typeof fn == "function") { if (_typeof(args) == "object") { fn.apply(el, args); } else { fn.call(el); } } }); }); return this; }; /** * Removes an option (by value or index) from a select box (or series of select boxes) * * @name removeOption * @author Sam Collett (http://www.texotela.co.uk) * @type jQuery * @param String|RegExp|Number what Option to remove * @param Boolean selectedOnly (optional) Remove only if it has been selected (default false) * @example $("#myselect").removeOption("Value"); // remove by value * @example $("#myselect").removeOption(/^val/i); // remove options with a value starting with 'val' * @example $("#myselect").removeOption(/./); // remove all options * @example $("#myselect").removeOption(/./, true); // remove all options that have been selected * @example $("#myselect").removeOption(0); // remove by index * @example $("#myselect").removeOption(["myselect_1","myselect_2"]); // values contained in passed array * */ $.fn.removeOption = function () { var a = arguments; if (a.length == 0) return this; var ta = _typeof(a[0]); var v, index; // has to be a string or regular expression (object in IE, function in Firefox) if (ta == "string" || ta == "object" || ta == "function") { v = a[0]; // if an array, remove items if (v.constructor == Array) { var l = v.length; for (var i = 0; i < l; i++) { this.removeOption(v[i], a[1]); } return this; } } else if (ta == "number") index = a[0];else return this; this.each(function () { if (this.nodeName.toLowerCase() != "select") return; // clear cache if (this.cache) this.cache = null; // does the option need to be removed? var remove = false; // get options var o = this.options; if (!!v) { // get number of options var oL = o.length; for (var i = oL - 1; i >= 0; i--) { if (v.constructor == RegExp) { if (o[i].value.match(v)) { remove = true; } } else if (o[i].value == v) { remove = true; } // if the option is only to be removed if selected if (remove && a[1] === true) remove = o[i].selected; if (remove) { o[i] = null; } remove = false; } } else { // only remove if selected? if (a[1] === true) { remove = o[index].selected; } else { remove = true; } if (remove) { this.remove(index); } } }); return this; }; /** * Sort options (ascending or descending) in a select box (or series of select boxes) * * @name sortOptions * @author Sam Collett (http://www.texotela.co.uk) * @type jQuery * @param Boolean ascending (optional) Sort ascending (true/undefined), or descending (false) * @example // ascending * $("#myselect").sortOptions(); // or $("#myselect").sortOptions(true); * @example // descending * $("#myselect").sortOptions(false); * */ $.fn.sortOptions = function (ascending) { // get selected values first var sel = $(this).selectedValues(); var a = typeof ascending == "undefined" ? true : !!ascending; this.each(function () { if (this.nodeName.toLowerCase() != "select") return; // get options var o = this.options; // get number of options var oL = o.length; // create an array for sorting var sA = []; // loop through options, adding to sort array for (var i = 0; i < oL; i++) { sA[i] = { v: o[i].value, t: o[i].text }; } // sort items in array sA.sort(function (o1, o2) { // option text is made lowercase for case insensitive sorting o1t = o1.t.toLowerCase(), o2t = o2.t.toLowerCase(); // if options are the same, no sorting is needed if (o1t == o2t) return 0; if (a) { return o1t < o2t ? -1 : 1; } else { return o1t > o2t ? -1 : 1; } }); // change the options to match the sort array for (var i = 0; i < oL; i++) { o[i].text = sA[i].t; o[i].value = sA[i].v; } }).selectOptions(sel, true); // select values, clearing existing ones return this; }; /** * Selects an option by value * * @name selectOptions * @author Mathias Bank (http://www.mathias-bank.de), original function * @author Sam Collett (http://www.texotela.co.uk), addition of regular expression matching * @type jQuery * @param String|RegExp|Array value Which options should be selected * can be a string or regular expression, or an array of strings / regular expressions * @param Boolean clear Clear existing selected options, default false * @example $("#myselect").selectOptions("val1"); // with the value 'val1' * @example $("#myselect").selectOptions(["val1","val2","val3"]); // with the values 'val1' 'val2' 'val3' * @example $("#myselect").selectOptions(/^val/i); // with the value starting with 'val', case insensitive * */ $.fn.selectOptions = function (value, clear) { var v = value; var vT = _typeof(value); // handle arrays if (vT == "object" && v.constructor == Array) { var $this = this; $.each(v, function () { $this.selectOptions(this, clear); }); } ; var c = clear || false; // has to be a string or regular expression (object in IE, function in Firefox) if (vT != "string" && vT != "function" && vT != "object") return this; this.each(function () { if (this.nodeName.toLowerCase() != "select") return this; // get options var o = this.options; // get number of options var oL = o.length; for (var i = 0; i < oL; i++) { if (v.constructor == RegExp) { if (o[i].value.match(v)) { o[i].selected = true; } else if (c) { o[i].selected = false; } } else { if (o[i].value == v) { o[i].selected = true; } else if (c) { o[i].selected = false; } } } }); return this; }; /** * Copy options to another select * * @name copyOptions * @author Sam Collett (http://www.texotela.co.uk) * @type jQuery * @param String to Element to copy to * @param String which (optional) Specifies which options should be copied - 'all' or 'selected'. Default is 'selected' * @example $("#myselect").copyOptions("#myselect2"); // copy selected options from 'myselect' to 'myselect2' * @example $("#myselect").copyOptions("#myselect2","selected"); // same as above * @example $("#myselect").copyOptions("#myselect2","all"); // copy all options from 'myselect' to 'myselect2' * */ $.fn.copyOptions = function (to, which) { var w = which || "selected"; if ($(to).size() == 0) return this; this.each(function () { if (this.nodeName.toLowerCase() != "select") return this; // get options var o = this.options; // get number of options var oL = o.length; for (var i = 0; i < oL; i++) { if (w == "all" || w == "selected" && o[i].selected) { $(to).addOption(o[i].value, o[i].text); } } }); return this; }; /** * Checks if a select box has an option with the supplied value * * @name containsOption * @author Sam Collett (http://www.texotela.co.uk) * @type Boolean|jQuery * @param String|RegExp value Which value to check for. Can be a string or regular expression * @param Function fn (optional) Function to apply if an option with the given value is found. * Use this if you don't want to break the chaining * @example if($("#myselect").containsOption("val1")) alert("Has an option with the value 'val1'"); * @example if($("#myselect").containsOption(/^val/i)) alert("Has an option with the value starting with 'val'"); * @example $("#myselect").containsOption("val1", copyoption).doSomethingElseWithSelect(); // calls copyoption (user defined function) for any options found, chain is continued * */ $.fn.containsOption = function (value, fn) { var found = false; var v = value; var vT = _typeof(v); var fT = _typeof(fn); // has to be a string or regular expression (object in IE, function in Firefox) if (vT != "string" && vT != "function" && vT != "object") return fT == "function" ? this : found; this.each(function () { if (this.nodeName.toLowerCase() != "select") return this; // option already found if (found && fT != "function") return false; // get options var o = this.options; // get number of options var oL = o.length; for (var i = 0; i < oL; i++) { if (v.constructor == RegExp) { if (o[i].value.match(v)) { found = true; if (fT == "function") fn.call(o[i], i); } } else { if (o[i].value == v) { found = true; if (fT == "function") fn.call(o[i], i); } } } }); return fT == "function" ? this : found; }; /** * Returns values which have been selected * * @name selectedValues * @author Sam Collett (http://www.texotela.co.uk) * @type Array * @example $("#myselect").selectedValues(); * */ $.fn.selectedValues = function () { var v = []; this.selectedOptions().each(function () { v[v.length] = this.value; }); return v; }; /** * Returns text which has been selected * * @name selectedTexts * @author Sam Collett (http://www.texotela.co.uk) * @type Array * @example $("#myselect").selectedTexts(); * */ $.fn.selectedTexts = function () { var t = []; this.selectedOptions().each(function () { t[t.length] = this.text; }); return t; }; /** * Returns options which have been selected * * @name selectedOptions * @author Sam Collett (http://www.texotela.co.uk) * @type jQuery * @example $("#myselect").selectedOptions(); * */ $.fn.selectedOptions = function () { return this.find("option:selected"); }; })(jQuery); /***/ }), /***/ "./include/js/pack/0290.iridegallery.js": /*!**********************************************!*\ !*** ./include/js/pack/0290.iridegallery.js ***! \**********************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js"); __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/core-js/modules/es.symbol.description.js"); __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js"); __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/core-js/modules/es.string.replace.js"); __webpack_require__(/*! core-js/modules/es.string.split.js */ "./node_modules/core-js/modules/es.string.split.js"); $.fn.iwgallery = function (options) { var opts = $.extend({}, $.fn.iwgallery.defaults, options); this.divGallery = $(""); this.divHiddens = $("
"); this.divFiles = $("
"); this.buildImage = function (img) { return ""; }; this.buildHidden = function (idupload) { return ""; }; this.buildFileLink = function (img) { var $removeLink = $("X"); var obj = this; $removeLink.on("click", function () { var current; var images = []; for (var i = 0; i < obj.apiGallery.getNumItems(); i++) { current = obj.apiGallery.getItem(i); if (getFloat(current.idupload) === getFloat(img.idupload)) continue; images.push(current); } if (typeof opts.onChangeGallery === "function") opts.onChangeGallery(images); obj.buildGallery(images); }); var div = $(""); div.append($removeLink); div.append("] "); return div; }; this.buildGallery = function (images) { var imgsToAppend = '', hiddens = ''; this.divFiles.html(""); var img; for (var i = 0; i < images.length; i++) { img = images[i]; imgsToAppend += this.buildImage(img); hiddens += this.buildHidden(img.idupload); if (!getFloat(img.idupload)) continue; this.divFiles.append(this.buildFileLink(img)); } this.divGallery.html(imgsToAppend); this.apiGallery = this.divGallery.unitegallery({ gallery_theme: "compact", theme_panel_position: "right", theme_hide_panel_under_width: 1000, gallery_width: opts.galleryWidth, gallery_height: opts.galleryHeight, slider_scale_mode: "fit" }); if (this.apiGallery.getNumItems() - 1 >= 0) this.apiGallery.selectItem(this.apiGallery.getNumItems() - 1); this.divHiddens.html(hiddens); if (this.apiGallery.getNumItems() <= 1) $("#" + this.divGallery.attr("id") + " .ug-panel-handle-tip").click(); }; var obj = this; var div_upload = $("
"); div_upload.uploadFile({ url: "ajax.php?object=UploadedFile&tipoview=jqueryPluginUploadInGallery&is_crypted=1", allowedTypes: 'jpg,jpeg,png,bmp,gif,tiff', dragDropStr: opts.dragDropString, extErrorStr: opts.extErrorString, uploadStr: opts.uploadString, showDownload: true, showDelete: true, onSuccess: function onSuccess(files, data) { var idupload = getFloat(data.split(',')[1].replace(']', '')); if (idupload === 0) return; var images = []; var img; for (var i = 0; i < obj.apiGallery.getNumItems(); i++) { img = obj.apiGallery.getItem(i); if (img.idupload === 0) continue; images.push(img); } var path = "include/show_files.php?idupload=" + idupload + "&token=" + opts.token; images.push({ urlImage: path, description: files, idupload: idupload }); if (typeof opts.onChangeGallery === "function") opts.onChangeGallery(images); obj.buildGallery(images); } }); this.append(this.divGallery); this.append(opts.labelString + "
"); this.append(div_upload); this.append(this.divHiddens); this.append(this.divFiles); this.buildGallery(opts.images); }; $.fn.iwgallery.defaults = { labelString: "", codcliente: "", images: [], dragDropString: "", extErrorString: "", uploadString: "", galleryWidth: 900, galleryHeight: 500, token: "", sessId: "", onChangeGallery: null }; /***/ }), /***/ "./node_modules/handsontable/node_modules/moment/locale sync recursive ^\\.\\/.*$": /*!****************************************************************************!*\ !*** ./node_modules/handsontable/node_modules/moment/locale sync ^\.\/.*$ ***! \****************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./af": "./node_modules/handsontable/node_modules/moment/locale/af.js", "./af.js": "./node_modules/handsontable/node_modules/moment/locale/af.js", "./ar": "./node_modules/handsontable/node_modules/moment/locale/ar.js", "./ar-dz": "./node_modules/handsontable/node_modules/moment/locale/ar-dz.js", "./ar-dz.js": "./node_modules/handsontable/node_modules/moment/locale/ar-dz.js", "./ar-kw": "./node_modules/handsontable/node_modules/moment/locale/ar-kw.js", "./ar-kw.js": "./node_modules/handsontable/node_modules/moment/locale/ar-kw.js", "./ar-ly": "./node_modules/handsontable/node_modules/moment/locale/ar-ly.js", "./ar-ly.js": "./node_modules/handsontable/node_modules/moment/locale/ar-ly.js", "./ar-ma": "./node_modules/handsontable/node_modules/moment/locale/ar-ma.js", "./ar-ma.js": "./node_modules/handsontable/node_modules/moment/locale/ar-ma.js", "./ar-sa": "./node_modules/handsontable/node_modules/moment/locale/ar-sa.js", "./ar-sa.js": "./node_modules/handsontable/node_modules/moment/locale/ar-sa.js", "./ar-tn": "./node_modules/handsontable/node_modules/moment/locale/ar-tn.js", "./ar-tn.js": "./node_modules/handsontable/node_modules/moment/locale/ar-tn.js", "./ar.js": "./node_modules/handsontable/node_modules/moment/locale/ar.js", "./az": "./node_modules/handsontable/node_modules/moment/locale/az.js", "./az.js": "./node_modules/handsontable/node_modules/moment/locale/az.js", "./be": "./node_modules/handsontable/node_modules/moment/locale/be.js", "./be.js": "./node_modules/handsontable/node_modules/moment/locale/be.js", "./bg": "./node_modules/handsontable/node_modules/moment/locale/bg.js", "./bg.js": "./node_modules/handsontable/node_modules/moment/locale/bg.js", "./bm": "./node_modules/handsontable/node_modules/moment/locale/bm.js", "./bm.js": "./node_modules/handsontable/node_modules/moment/locale/bm.js", "./bn": "./node_modules/handsontable/node_modules/moment/locale/bn.js", "./bn.js": "./node_modules/handsontable/node_modules/moment/locale/bn.js", "./bo": "./node_modules/handsontable/node_modules/moment/locale/bo.js", "./bo.js": "./node_modules/handsontable/node_modules/moment/locale/bo.js", "./br": "./node_modules/handsontable/node_modules/moment/locale/br.js", "./br.js": "./node_modules/handsontable/node_modules/moment/locale/br.js", "./bs": "./node_modules/handsontable/node_modules/moment/locale/bs.js", "./bs.js": "./node_modules/handsontable/node_modules/moment/locale/bs.js", "./ca": "./node_modules/handsontable/node_modules/moment/locale/ca.js", "./ca.js": "./node_modules/handsontable/node_modules/moment/locale/ca.js", "./cs": "./node_modules/handsontable/node_modules/moment/locale/cs.js", "./cs.js": "./node_modules/handsontable/node_modules/moment/locale/cs.js", "./cv": "./node_modules/handsontable/node_modules/moment/locale/cv.js", "./cv.js": "./node_modules/handsontable/node_modules/moment/locale/cv.js", "./cy": "./node_modules/handsontable/node_modules/moment/locale/cy.js", "./cy.js": "./node_modules/handsontable/node_modules/moment/locale/cy.js", "./da": "./node_modules/handsontable/node_modules/moment/locale/da.js", "./da.js": "./node_modules/handsontable/node_modules/moment/locale/da.js", "./de": "./node_modules/handsontable/node_modules/moment/locale/de.js", "./de-at": "./node_modules/handsontable/node_modules/moment/locale/de-at.js", "./de-at.js": "./node_modules/handsontable/node_modules/moment/locale/de-at.js", "./de-ch": "./node_modules/handsontable/node_modules/moment/locale/de-ch.js", "./de-ch.js": "./node_modules/handsontable/node_modules/moment/locale/de-ch.js", "./de.js": "./node_modules/handsontable/node_modules/moment/locale/de.js", "./dv": "./node_modules/handsontable/node_modules/moment/locale/dv.js", "./dv.js": "./node_modules/handsontable/node_modules/moment/locale/dv.js", "./el": "./node_modules/handsontable/node_modules/moment/locale/el.js", "./el.js": "./node_modules/handsontable/node_modules/moment/locale/el.js", "./en-SG": "./node_modules/handsontable/node_modules/moment/locale/en-SG.js", "./en-SG.js": "./node_modules/handsontable/node_modules/moment/locale/en-SG.js", "./en-au": "./node_modules/handsontable/node_modules/moment/locale/en-au.js", "./en-au.js": "./node_modules/handsontable/node_modules/moment/locale/en-au.js", "./en-ca": "./node_modules/handsontable/node_modules/moment/locale/en-ca.js", "./en-ca.js": "./node_modules/handsontable/node_modules/moment/locale/en-ca.js", "./en-gb": "./node_modules/handsontable/node_modules/moment/locale/en-gb.js", "./en-gb.js": "./node_modules/handsontable/node_modules/moment/locale/en-gb.js", "./en-ie": "./node_modules/handsontable/node_modules/moment/locale/en-ie.js", "./en-ie.js": "./node_modules/handsontable/node_modules/moment/locale/en-ie.js", "./en-il": "./node_modules/handsontable/node_modules/moment/locale/en-il.js", "./en-il.js": "./node_modules/handsontable/node_modules/moment/locale/en-il.js", "./en-nz": "./node_modules/handsontable/node_modules/moment/locale/en-nz.js", "./en-nz.js": "./node_modules/handsontable/node_modules/moment/locale/en-nz.js", "./eo": "./node_modules/handsontable/node_modules/moment/locale/eo.js", "./eo.js": "./node_modules/handsontable/node_modules/moment/locale/eo.js", "./es": "./node_modules/handsontable/node_modules/moment/locale/es.js", "./es-do": "./node_modules/handsontable/node_modules/moment/locale/es-do.js", "./es-do.js": "./node_modules/handsontable/node_modules/moment/locale/es-do.js", "./es-us": "./node_modules/handsontable/node_modules/moment/locale/es-us.js", "./es-us.js": "./node_modules/handsontable/node_modules/moment/locale/es-us.js", "./es.js": "./node_modules/handsontable/node_modules/moment/locale/es.js", "./et": "./node_modules/handsontable/node_modules/moment/locale/et.js", "./et.js": "./node_modules/handsontable/node_modules/moment/locale/et.js", "./eu": "./node_modules/handsontable/node_modules/moment/locale/eu.js", "./eu.js": "./node_modules/handsontable/node_modules/moment/locale/eu.js", "./fa": "./node_modules/handsontable/node_modules/moment/locale/fa.js", "./fa.js": "./node_modules/handsontable/node_modules/moment/locale/fa.js", "./fi": "./node_modules/handsontable/node_modules/moment/locale/fi.js", "./fi.js": "./node_modules/handsontable/node_modules/moment/locale/fi.js", "./fo": "./node_modules/handsontable/node_modules/moment/locale/fo.js", "./fo.js": "./node_modules/handsontable/node_modules/moment/locale/fo.js", "./fr": "./node_modules/handsontable/node_modules/moment/locale/fr.js", "./fr-ca": "./node_modules/handsontable/node_modules/moment/locale/fr-ca.js", "./fr-ca.js": "./node_modules/handsontable/node_modules/moment/locale/fr-ca.js", "./fr-ch": "./node_modules/handsontable/node_modules/moment/locale/fr-ch.js", "./fr-ch.js": "./node_modules/handsontable/node_modules/moment/locale/fr-ch.js", "./fr.js": "./node_modules/handsontable/node_modules/moment/locale/fr.js", "./fy": "./node_modules/handsontable/node_modules/moment/locale/fy.js", "./fy.js": "./node_modules/handsontable/node_modules/moment/locale/fy.js", "./ga": "./node_modules/handsontable/node_modules/moment/locale/ga.js", "./ga.js": "./node_modules/handsontable/node_modules/moment/locale/ga.js", "./gd": "./node_modules/handsontable/node_modules/moment/locale/gd.js", "./gd.js": "./node_modules/handsontable/node_modules/moment/locale/gd.js", "./gl": "./node_modules/handsontable/node_modules/moment/locale/gl.js", "./gl.js": "./node_modules/handsontable/node_modules/moment/locale/gl.js", "./gom-latn": "./node_modules/handsontable/node_modules/moment/locale/gom-latn.js", "./gom-latn.js": "./node_modules/handsontable/node_modules/moment/locale/gom-latn.js", "./gu": "./node_modules/handsontable/node_modules/moment/locale/gu.js", "./gu.js": "./node_modules/handsontable/node_modules/moment/locale/gu.js", "./he": "./node_modules/handsontable/node_modules/moment/locale/he.js", "./he.js": "./node_modules/handsontable/node_modules/moment/locale/he.js", "./hi": "./node_modules/handsontable/node_modules/moment/locale/hi.js", "./hi.js": "./node_modules/handsontable/node_modules/moment/locale/hi.js", "./hr": "./node_modules/handsontable/node_modules/moment/locale/hr.js", "./hr.js": "./node_modules/handsontable/node_modules/moment/locale/hr.js", "./hu": "./node_modules/handsontable/node_modules/moment/locale/hu.js", "./hu.js": "./node_modules/handsontable/node_modules/moment/locale/hu.js", "./hy-am": "./node_modules/handsontable/node_modules/moment/locale/hy-am.js", "./hy-am.js": "./node_modules/handsontable/node_modules/moment/locale/hy-am.js", "./id": "./node_modules/handsontable/node_modules/moment/locale/id.js", "./id.js": "./node_modules/handsontable/node_modules/moment/locale/id.js", "./is": "./node_modules/handsontable/node_modules/moment/locale/is.js", "./is.js": "./node_modules/handsontable/node_modules/moment/locale/is.js", "./it": "./node_modules/handsontable/node_modules/moment/locale/it.js", "./it-ch": "./node_modules/handsontable/node_modules/moment/locale/it-ch.js", "./it-ch.js": "./node_modules/handsontable/node_modules/moment/locale/it-ch.js", "./it.js": "./node_modules/handsontable/node_modules/moment/locale/it.js", "./ja": "./node_modules/handsontable/node_modules/moment/locale/ja.js", "./ja.js": "./node_modules/handsontable/node_modules/moment/locale/ja.js", "./jv": "./node_modules/handsontable/node_modules/moment/locale/jv.js", "./jv.js": "./node_modules/handsontable/node_modules/moment/locale/jv.js", "./ka": "./node_modules/handsontable/node_modules/moment/locale/ka.js", "./ka.js": "./node_modules/handsontable/node_modules/moment/locale/ka.js", "./kk": "./node_modules/handsontable/node_modules/moment/locale/kk.js", "./kk.js": "./node_modules/handsontable/node_modules/moment/locale/kk.js", "./km": "./node_modules/handsontable/node_modules/moment/locale/km.js", "./km.js": "./node_modules/handsontable/node_modules/moment/locale/km.js", "./kn": "./node_modules/handsontable/node_modules/moment/locale/kn.js", "./kn.js": "./node_modules/handsontable/node_modules/moment/locale/kn.js", "./ko": "./node_modules/handsontable/node_modules/moment/locale/ko.js", "./ko.js": "./node_modules/handsontable/node_modules/moment/locale/ko.js", "./ku": "./node_modules/handsontable/node_modules/moment/locale/ku.js", "./ku.js": "./node_modules/handsontable/node_modules/moment/locale/ku.js", "./ky": "./node_modules/handsontable/node_modules/moment/locale/ky.js", "./ky.js": "./node_modules/handsontable/node_modules/moment/locale/ky.js", "./lb": "./node_modules/handsontable/node_modules/moment/locale/lb.js", "./lb.js": "./node_modules/handsontable/node_modules/moment/locale/lb.js", "./lo": "./node_modules/handsontable/node_modules/moment/locale/lo.js", "./lo.js": "./node_modules/handsontable/node_modules/moment/locale/lo.js", "./lt": "./node_modules/handsontable/node_modules/moment/locale/lt.js", "./lt.js": "./node_modules/handsontable/node_modules/moment/locale/lt.js", "./lv": "./node_modules/handsontable/node_modules/moment/locale/lv.js", "./lv.js": "./node_modules/handsontable/node_modules/moment/locale/lv.js", "./me": "./node_modules/handsontable/node_modules/moment/locale/me.js", "./me.js": "./node_modules/handsontable/node_modules/moment/locale/me.js", "./mi": "./node_modules/handsontable/node_modules/moment/locale/mi.js", "./mi.js": "./node_modules/handsontable/node_modules/moment/locale/mi.js", "./mk": "./node_modules/handsontable/node_modules/moment/locale/mk.js", "./mk.js": "./node_modules/handsontable/node_modules/moment/locale/mk.js", "./ml": "./node_modules/handsontable/node_modules/moment/locale/ml.js", "./ml.js": "./node_modules/handsontable/node_modules/moment/locale/ml.js", "./mn": "./node_modules/handsontable/node_modules/moment/locale/mn.js", "./mn.js": "./node_modules/handsontable/node_modules/moment/locale/mn.js", "./mr": "./node_modules/handsontable/node_modules/moment/locale/mr.js", "./mr.js": "./node_modules/handsontable/node_modules/moment/locale/mr.js", "./ms": "./node_modules/handsontable/node_modules/moment/locale/ms.js", "./ms-my": "./node_modules/handsontable/node_modules/moment/locale/ms-my.js", "./ms-my.js": "./node_modules/handsontable/node_modules/moment/locale/ms-my.js", "./ms.js": "./node_modules/handsontable/node_modules/moment/locale/ms.js", "./mt": "./node_modules/handsontable/node_modules/moment/locale/mt.js", "./mt.js": "./node_modules/handsontable/node_modules/moment/locale/mt.js", "./my": "./node_modules/handsontable/node_modules/moment/locale/my.js", "./my.js": "./node_modules/handsontable/node_modules/moment/locale/my.js", "./nb": "./node_modules/handsontable/node_modules/moment/locale/nb.js", "./nb.js": "./node_modules/handsontable/node_modules/moment/locale/nb.js", "./ne": "./node_modules/handsontable/node_modules/moment/locale/ne.js", "./ne.js": "./node_modules/handsontable/node_modules/moment/locale/ne.js", "./nl": "./node_modules/handsontable/node_modules/moment/locale/nl.js", "./nl-be": "./node_modules/handsontable/node_modules/moment/locale/nl-be.js", "./nl-be.js": "./node_modules/handsontable/node_modules/moment/locale/nl-be.js", "./nl.js": "./node_modules/handsontable/node_modules/moment/locale/nl.js", "./nn": "./node_modules/handsontable/node_modules/moment/locale/nn.js", "./nn.js": "./node_modules/handsontable/node_modules/moment/locale/nn.js", "./pa-in": "./node_modules/handsontable/node_modules/moment/locale/pa-in.js", "./pa-in.js": "./node_modules/handsontable/node_modules/moment/locale/pa-in.js", "./pl": "./node_modules/handsontable/node_modules/moment/locale/pl.js", "./pl.js": "./node_modules/handsontable/node_modules/moment/locale/pl.js", "./pt": "./node_modules/handsontable/node_modules/moment/locale/pt.js", "./pt-br": "./node_modules/handsontable/node_modules/moment/locale/pt-br.js", "./pt-br.js": "./node_modules/handsontable/node_modules/moment/locale/pt-br.js", "./pt.js": "./node_modules/handsontable/node_modules/moment/locale/pt.js", "./ro": "./node_modules/handsontable/node_modules/moment/locale/ro.js", "./ro.js": "./node_modules/handsontable/node_modules/moment/locale/ro.js", "./ru": "./node_modules/handsontable/node_modules/moment/locale/ru.js", "./ru.js": "./node_modules/handsontable/node_modules/moment/locale/ru.js", "./sd": "./node_modules/handsontable/node_modules/moment/locale/sd.js", "./sd.js": "./node_modules/handsontable/node_modules/moment/locale/sd.js", "./se": "./node_modules/handsontable/node_modules/moment/locale/se.js", "./se.js": "./node_modules/handsontable/node_modules/moment/locale/se.js", "./si": "./node_modules/handsontable/node_modules/moment/locale/si.js", "./si.js": "./node_modules/handsontable/node_modules/moment/locale/si.js", "./sk": "./node_modules/handsontable/node_modules/moment/locale/sk.js", "./sk.js": "./node_modules/handsontable/node_modules/moment/locale/sk.js", "./sl": "./node_modules/handsontable/node_modules/moment/locale/sl.js", "./sl.js": "./node_modules/handsontable/node_modules/moment/locale/sl.js", "./sq": "./node_modules/handsontable/node_modules/moment/locale/sq.js", "./sq.js": "./node_modules/handsontable/node_modules/moment/locale/sq.js", "./sr": "./node_modules/handsontable/node_modules/moment/locale/sr.js", "./sr-cyrl": "./node_modules/handsontable/node_modules/moment/locale/sr-cyrl.js", "./sr-cyrl.js": "./node_modules/handsontable/node_modules/moment/locale/sr-cyrl.js", "./sr.js": "./node_modules/handsontable/node_modules/moment/locale/sr.js", "./ss": "./node_modules/handsontable/node_modules/moment/locale/ss.js", "./ss.js": "./node_modules/handsontable/node_modules/moment/locale/ss.js", "./sv": "./node_modules/handsontable/node_modules/moment/locale/sv.js", "./sv.js": "./node_modules/handsontable/node_modules/moment/locale/sv.js", "./sw": "./node_modules/handsontable/node_modules/moment/locale/sw.js", "./sw.js": "./node_modules/handsontable/node_modules/moment/locale/sw.js", "./ta": "./node_modules/handsontable/node_modules/moment/locale/ta.js", "./ta.js": "./node_modules/handsontable/node_modules/moment/locale/ta.js", "./te": "./node_modules/handsontable/node_modules/moment/locale/te.js", "./te.js": "./node_modules/handsontable/node_modules/moment/locale/te.js", "./tet": "./node_modules/handsontable/node_modules/moment/locale/tet.js", "./tet.js": "./node_modules/handsontable/node_modules/moment/locale/tet.js", "./tg": "./node_modules/handsontable/node_modules/moment/locale/tg.js", "./tg.js": "./node_modules/handsontable/node_modules/moment/locale/tg.js", "./th": "./node_modules/handsontable/node_modules/moment/locale/th.js", "./th.js": "./node_modules/handsontable/node_modules/moment/locale/th.js", "./tl-ph": "./node_modules/handsontable/node_modules/moment/locale/tl-ph.js", "./tl-ph.js": "./node_modules/handsontable/node_modules/moment/locale/tl-ph.js", "./tlh": "./node_modules/handsontable/node_modules/moment/locale/tlh.js", "./tlh.js": "./node_modules/handsontable/node_modules/moment/locale/tlh.js", "./tr": "./node_modules/handsontable/node_modules/moment/locale/tr.js", "./tr.js": "./node_modules/handsontable/node_modules/moment/locale/tr.js", "./tzl": "./node_modules/handsontable/node_modules/moment/locale/tzl.js", "./tzl.js": "./node_modules/handsontable/node_modules/moment/locale/tzl.js", "./tzm": "./node_modules/handsontable/node_modules/moment/locale/tzm.js", "./tzm-latn": "./node_modules/handsontable/node_modules/moment/locale/tzm-latn.js", "./tzm-latn.js": "./node_modules/handsontable/node_modules/moment/locale/tzm-latn.js", "./tzm.js": "./node_modules/handsontable/node_modules/moment/locale/tzm.js", "./ug-cn": "./node_modules/handsontable/node_modules/moment/locale/ug-cn.js", "./ug-cn.js": "./node_modules/handsontable/node_modules/moment/locale/ug-cn.js", "./uk": "./node_modules/handsontable/node_modules/moment/locale/uk.js", "./uk.js": "./node_modules/handsontable/node_modules/moment/locale/uk.js", "./ur": "./node_modules/handsontable/node_modules/moment/locale/ur.js", "./ur.js": "./node_modules/handsontable/node_modules/moment/locale/ur.js", "./uz": "./node_modules/handsontable/node_modules/moment/locale/uz.js", "./uz-latn": "./node_modules/handsontable/node_modules/moment/locale/uz-latn.js", "./uz-latn.js": "./node_modules/handsontable/node_modules/moment/locale/uz-latn.js", "./uz.js": "./node_modules/handsontable/node_modules/moment/locale/uz.js", "./vi": "./node_modules/handsontable/node_modules/moment/locale/vi.js", "./vi.js": "./node_modules/handsontable/node_modules/moment/locale/vi.js", "./x-pseudo": "./node_modules/handsontable/node_modules/moment/locale/x-pseudo.js", "./x-pseudo.js": "./node_modules/handsontable/node_modules/moment/locale/x-pseudo.js", "./yo": "./node_modules/handsontable/node_modules/moment/locale/yo.js", "./yo.js": "./node_modules/handsontable/node_modules/moment/locale/yo.js", "./zh-cn": "./node_modules/handsontable/node_modules/moment/locale/zh-cn.js", "./zh-cn.js": "./node_modules/handsontable/node_modules/moment/locale/zh-cn.js", "./zh-hk": "./node_modules/handsontable/node_modules/moment/locale/zh-hk.js", "./zh-hk.js": "./node_modules/handsontable/node_modules/moment/locale/zh-hk.js", "./zh-tw": "./node_modules/handsontable/node_modules/moment/locale/zh-tw.js", "./zh-tw.js": "./node_modules/handsontable/node_modules/moment/locale/zh-tw.js" }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = "./node_modules/handsontable/node_modules/moment/locale sync recursive ^\\.\\/.*$"; /***/ }), /***/ "./vendor/bower_js/jquery-timeentry/jquery.plugin.min.js": /*!***************************************************************!*\ !*** ./vendor/bower_js/jquery-timeentry/jquery.plugin.min.js ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js"); __webpack_require__(/*! core-js/modules/es.array.slice.js */ "./node_modules/core-js/modules/es.array.slice.js"); __webpack_require__(/*! core-js/modules/es.array.concat.js */ "./node_modules/core-js/modules/es.array.concat.js"); __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js"); __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/core-js/modules/es.string.replace.js"); __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/core-js/modules/es.string.match.js"); __webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js"); __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/core-js/modules/es.symbol.description.js"); __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js"); __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "./node_modules/core-js/modules/es.symbol.iterator.js"); __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/core-js/modules/es.array.iterator.js"); __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "./node_modules/core-js/modules/es.string.iterator.js"); __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/core-js/modules/web.dom-collections.iterator.js"); /** Abstract base class for collection plugins v1.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) December 2013. Licensed under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. */ (function () { var j = false; window.JQClass = function () {}; JQClass.classes = {}; JQClass.extend = function extender(f) { var g = this.prototype; j = true; var h = new this(); j = false; for (var i in f) { h[i] = typeof f[i] == 'function' && typeof g[i] == 'function' ? function (d, e) { return function () { var b = this._super; this._super = function (a) { return g[d].apply(this, a || []); }; var c = e.apply(this, arguments); this._super = b; return c; }; }(i, f[i]) : f[i]; } function JQClass() { if (!j && this._init) { this._init.apply(this, arguments); } } JQClass.prototype = h; JQClass.prototype.constructor = JQClass; JQClass.extend = extender; return JQClass; }; })(); (function ($) { JQClass.classes.JQPlugin = JQClass.extend({ name: 'plugin', defaultOptions: {}, regionalOptions: {}, _getters: [], _getMarker: function _getMarker() { return 'is-' + this.name; }, _init: function _init() { $.extend(this.defaultOptions, this.regionalOptions && this.regionalOptions[''] || {}); var c = camelCase(this.name); $[c] = this; $.fn[c] = function (a) { var b = Array.prototype.slice.call(arguments, 1); if ($[c]._isNotChained(a, b)) { return $[c][a].apply($[c], [this[0]].concat(b)); } return this.each(function () { if (typeof a === 'string') { if (a[0] === '_' || !$[c][a]) { throw 'Unknown method: ' + a; } $[c][a].apply($[c], [this].concat(b)); } else { $[c]._attach(this, a); } }); }; }, setDefaults: function setDefaults(a) { $.extend(this.defaultOptions, a || {}); }, _isNotChained: function _isNotChained(a, b) { if (a === 'option' && (b.length === 0 || b.length === 1 && typeof b[0] === 'string')) { return true; } return $.inArray(a, this._getters) > -1; }, _attach: function _attach(a, b) { a = $(a); if (a.hasClass(this._getMarker())) { return; } a.addClass(this._getMarker()); b = $.extend({}, this.defaultOptions, this._getMetadata(a), b || {}); var c = $.extend({ name: this.name, elem: a, options: b }, this._instSettings(a, b)); a.data(this.name, c); this._postAttach(a, c); this.option(a, b); }, _instSettings: function _instSettings(a, b) { return {}; }, _postAttach: function _postAttach(a, b) {}, _getMetadata: function _getMetadata(d) { try { var f = d.data(this.name.toLowerCase()) || ''; f = f.replace(/'/g, '"'); f = f.replace(/([a-zA-Z0-9]+):/g, function (a, b, i) { var c = f.substring(0, i).match(/"/g); return !c || c.length % 2 === 0 ? '"' + b + '":' : b + ':'; }); f = $.parseJSON('{' + f + '}'); for (var g in f) { var h = f[g]; if (typeof h === 'string' && h.match(/^new Date\((.*)\)$/)) { f[g] = eval(h); } } return f; } catch (e) { return {}; } }, _getInst: function _getInst(a) { return $(a).data(this.name) || {}; }, option: function option(a, b, c) { a = $(a); var d = a.data(this.name); if (!b || typeof b === 'string' && c == null) { var e = (d || {}).options; return e && b ? e[b] : e; } if (!a.hasClass(this._getMarker())) { return; } var e = b || {}; if (typeof b === 'string') { e = {}; e[b] = c; } this._optionsChanged(a, d, e); $.extend(d.options, e); }, _optionsChanged: function _optionsChanged(a, b, c) {}, destroy: function destroy(a) { a = $(a); if (!a.hasClass(this._getMarker())) { return; } this._preDestroy(a, this._getInst(a)); a.removeData(this.name).removeClass(this._getMarker()); }, _preDestroy: function _preDestroy(a, b) {} }); function camelCase(c) { return c.replace(/-([a-z])/g, function (a, b) { return b.toUpperCase(); }); } $.JQPlugin = { createPlugin: function createPlugin(a, b) { if (_typeof(a) === 'object') { b = a; a = 'JQPlugin'; } a = camelCase(a); var c = camelCase(b.name); JQClass.classes[c] = JQClass.classes[a].extend(b); new JQClass.classes[c](); } }; })(jQuery); /***/ }), /***/ "./vendor/bower_js/jquery-timeentry/jquery.timeentry.css": /*!***************************************************************!*\ !*** ./vendor/bower_js/jquery-timeentry/jquery.timeentry.css ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }), /***/ "./vendor/bower_js/jquery-timeentry/jquery.timeentry.min.js": /*!******************************************************************!*\ !*** ./vendor/bower_js/jquery-timeentry/jquery.timeentry.min.js ***! \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js"); __webpack_require__(/*! core-js/modules/web.timers.js */ "./node_modules/core-js/modules/web.timers.js"); __webpack_require__(/*! core-js/modules/es.date.to-string.js */ "./node_modules/core-js/modules/es.date.to-string.js"); __webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js"); __webpack_require__(/*! core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js"); __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js"); __webpack_require__(/*! core-js/modules/es.string.split.js */ "./node_modules/core-js/modules/es.string.split.js"); __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/core-js/modules/es.parse-int.js"); __webpack_require__(/*! core-js/modules/es.array.index-of.js */ "./node_modules/core-js/modules/es.array.index-of.js"); __webpack_require__(/*! core-js/modules/es.array.slice.js */ "./node_modules/core-js/modules/es.array.slice.js"); __webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js"); __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/core-js/modules/es.symbol.description.js"); __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js"); __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "./node_modules/core-js/modules/es.symbol.iterator.js"); __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/core-js/modules/es.array.iterator.js"); __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "./node_modules/core-js/modules/es.string.iterator.js"); __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/core-js/modules/web.dom-collections.iterator.js"); /* http://keith-wood.name/timeEntry.html Time entry for jQuery v2.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) June 2007. Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. Please attribute the author if you use it. */ (function ($) { var n = 'timeEntry'; $.JQPlugin.createPlugin({ name: n, defaultOptions: { appendText: '', showSeconds: false, unlimitedHours: false, timeSteps: [1, 1, 1], initialField: null, noSeparatorEntry: false, tabToExit: false, useMouseWheel: true, defaultTime: null, minTime: null, maxTime: null, spinnerImage: 'spinnerDefault.png', spinnerSize: [20, 20, 8], spinnerBigImage: '', spinnerBigSize: [40, 40, 16], spinnerIncDecOnly: false, spinnerRepeat: [500, 250], beforeShow: null, beforeSetTime: null }, regionalOptions: { '': { show24Hours: false, separator: ':', ampmPrefix: '', ampmNames: ['AM', 'PM'], spinnerTexts: ['Now', 'Previous field', 'Next field', 'Increment', 'Decrement'] } }, _getters: ['getOffset', 'getTime', 'isDisabled'], _appendClass: n + '-append', _controlClass: n + '-control', _expandClass: n + '-expand', _disabledInputs: [], _instSettings: function _instSettings(a, b) { return { _field: 0, _selectedHour: 0, _selectedMinute: 0, _selectedSecond: 0 }; }, _postAttach: function _postAttach(b, c) { b.on('focus.' + c.name, this._doFocus).on('blur.' + c.name, this._doBlur).on('click.' + c.name, this._doClick).on('keydown.' + c.name, this._doKeyDown).on('keypress.' + c.name, this._doKeyPress).on('paste.' + c.name, function (a) { setTimeout(function () { o._parseTime(c); }, 1); }); }, _optionsChanged: function _optionsChanged(a, b, c) { var d = this._extractTime(b); $.extend(b.options, c); b.options.show24Hours = b.options.show24Hours || b.options.unlimitedHours; b._field = 0; if (d) { this._setTime(b, new Date(0, 0, 0, d[0], d[1], d[2])); } a.next('span.' + this._appendClass).remove(); a.parent().find('span.' + this._controlClass).remove(); if ($.fn.mousewheel) { a.unmousewheel(); } var e = !b.options.spinnerImage ? null : $(''); a.after(b.options.appendText ? '' + b.options.appendText + '' : '').after(e || ''); if (b.options.useMouseWheel && $.fn.mousewheel) { a.mousewheel(this._doMouseWheel); } if (e) { e.mousedown(this._handleSpinner).mouseup(this._endSpinner).mouseover(this._expandSpinner).mouseout(this._endSpinner).mousemove(this._describeSpinner); } }, enable: function enable(a) { this._enableDisable(a, false); }, disable: function disable(a) { this._enableDisable(a, true); }, _enableDisable: function _enableDisable(b, c) { var d = this._getInst(b); if (!d) { return; } b.disabled = c; if (b.nextSibling && b.nextSibling.nodeName.toLowerCase() === 'span') { this._changeSpinner(d, b.nextSibling, c ? 5 : -1); } this._disabledInputs = $.map(this._disabledInputs, function (a) { return a === b ? null : a; }); if (c) { this._disabledInputs.push(b); } }, isDisabled: function isDisabled(a) { return $.inArray(a, this._disabledInputs) > -1; }, _preDestroy: function _preDestroy(b, c) { b = $(b).off('.' + n); if ($.fn.mousewheel) { b.unmousewheel(); } this._disabledInputs = $.map(this._disabledInputs, function (a) { return a === b[0] ? null : a; }); b.siblings('.' + this._appendClass + ',.' + this._controlClass).remove(); }, setTime: function setTime(a, b) { var c = this._getInst(a); if (c) { if (b === null || b === '') { $(a).val(''); } else { this._setTime(c, b ? $.isArray(b) ? b : _typeof(b) === 'object' ? new Date(b.getTime()) : b : null); } } }, getTime: function getTime(a) { var b = this._getInst(a); var c = b ? this._extractTime(b) : null; return !c ? null : new Date(0, 0, 0, c[0], c[1], c[2]); }, getOffset: function getOffset(a) { var b = this._getInst(a); var c = b ? this._extractTime(b) : null; return !c ? 0 : (c[0] * 3600 + c[1] * 60 + c[2]) * 1000; }, _doFocus: function _doFocus(a) { var b = a.nodeName && a.nodeName.toLowerCase() === 'input' ? a : this; if (o._lastInput === b || o.isDisabled(b)) { o._focussed = false; return; } var c = o._getInst(b); o._focussed = true; o._lastInput = b; o._blurredInput = null; $.extend(c.options, $.isFunction(c.options.beforeShow) ? c.options.beforeShow.apply(b, [b]) : {}); o._parseTime(c, a.nodeName ? null : a); setTimeout(function () { o._showField(c); }, 10); }, _doBlur: function _doBlur(a) { o._blurredInput = o._lastInput; o._lastInput = null; }, _doClick: function _doClick(a) { var b = a.target; var c = o._getInst(b); var d = c._field; if (!o._focussed) { c._field = o._getSelection(c, b, a); } if (d !== c._field) { c._lastChr = ''; } o._showField(c); o._focussed = false; }, _getSelection: function _getSelection(b, c, d) { var e = 0; var f = [b.elem.val().split(b.options.separator)[0].length, 2, 2]; if (c.selectionStart !== null) { var g = 0; for (var h = 0; h <= Math.max(1, b._secondField, b._ampmField); h++) { g += h !== b._ampmField ? f[h] + b.options.separator.length : b.options.ampmPrefix.length + b.options.ampmNames[0].length; e = h; if (c.selectionStart < g) { break; } } } else if (c.createTextRange && d != null) { var i = $(d.srcElement); var j = c.createTextRange(); var k = function k(a) { return { thin: 2, medium: 4, thick: 6 }[a] || a; }; var l = d.clientX + document.documentElement.scrollLeft - (i.offset().left + parseInt(k(i.css('border-left-width')), 10)) - j.offsetLeft; for (var h = 0; h <= Math.max(1, b._secondField, b._ampmField); h++) { var g = h !== b._ampmField ? h * fieldSize + 2 : b._ampmField * fieldSize + b.options.ampmPrefix.length + b.options.ampmNames[0].length; j.collapse(); j.moveEnd('character', g); e = h; if (l < j.boundingWidth) { break; } } } return e; }, _doKeyDown: function _doKeyDown(a) { if (a.keyCode >= 48) { return true; } var b = o._getInst(a.target); switch (a.keyCode) { case 9: return b.options.tabToExit ? true : a.shiftKey ? o._changeField(b, -1, true) : o._changeField(b, +1, true); case 35: if (a.ctrlKey) { o._setValue(b, ''); } else { b._field = Math.max(1, b._secondField, b._ampmField); o._adjustField(b, 0); } break; case 36: if (a.ctrlKey) { o._setTime(b); } else { b._field = 0; o._adjustField(b, 0); } break; case 37: o._changeField(b, -1, false); break; case 38: o._adjustField(b, +1); break; case 39: o._changeField(b, +1, false); break; case 40: o._adjustField(b, -1); break; case 46: o._setValue(b, ''); break; case 8: b._lastChr = ''; default: return true; } return false; }, _doKeyPress: function _doKeyPress(a) { var b = String.fromCharCode(a.charCode === undefined ? a.keyCode : a.charCode); if (b < ' ') { return true; } var c = o._getInst(a.target); o._handleKeyPress(c, b); return false; }, _handleKeyPress: function _handleKeyPress(a, b) { if (b === a.options.separator) { this._changeField(a, +1, false); } else if (b >= '0' && b <= '9') { var c = parseInt(b, 10); var d = parseInt(a._lastChr + b, 10); var e = a._field !== 0 ? a._selectedHour : a.options.unlimitedHours ? d : a.options.show24Hours ? d < 24 ? d : c : (d >= 1 && d <= 12 ? d : c > 0 ? c : a._selectedHour) % 12 + (a._selectedHour >= 12 ? 12 : 0); var f = a._field !== 1 ? a._selectedMinute : d < 60 ? d : c; var g = a._field !== a._secondField ? a._selectedSecond : d < 60 ? d : c; var h = this._constrainTime(a, [e, f, g]); this._setTime(a, a.options.unlimitedHours ? h : new Date(0, 0, 0, h[0], h[1], h[2])); if (a.options.noSeparatorEntry && a._lastChr) { this._changeField(a, +1, false); } else { a._lastChr = a.options.unlimitedHours && a._field === 0 ? a._lastChr + b : b; } } else if (!a.options.show24Hours) { b = b.toLowerCase(); if (b === a.options.ampmNames[0].substring(0, 1).toLowerCase() && a._selectedHour >= 12 || b === a.options.ampmNames[1].substring(0, 1).toLowerCase() && a._selectedHour < 12) { var i = a._field; a._field = a._ampmField; this._adjustField(a, +1); a._field = i; this._showField(a); } } }, _doMouseWheel: function _doMouseWheel(a, b) { if (o.isDisabled(a.target)) { return; } var c = o._getInst(a.target); c.elem.focus(); if (!c.elem.val()) { o._parseTime(c); } o._adjustField(c, b); a.preventDefault(); }, _expandSpinner: function _expandSpinner(b) { var c = o._getSpinnerTarget(b); var d = o._getInst(o._getInput(c)); if (o.isDisabled(d.elem[0])) { return; } if (d.options.spinnerBigImage) { d._expanded = true; var e = $(c).offset(); var f = null; $(c).parents().each(function () { var a = $(this); if (a.css('position') === 'relative' || a.css('position') === 'absolute') { f = a.offset(); } return !f; }); $('
').mousedown(o._handleSpinner).mouseup(o._endSpinner).mouseout(o._endExpand).mousemove(o._describeSpinner).insertAfter(c); } }, _getInput: function _getInput(a) { return $(a).siblings('.' + this._getMarker())[0]; }, _describeSpinner: function _describeSpinner(a) { var b = o._getSpinnerTarget(a); var c = o._getInst(o._getInput(b)); b.title = c.options.spinnerTexts[o._getSpinnerRegion(c, a)]; }, _handleSpinner: function _handleSpinner(a) { var b = o._getSpinnerTarget(a); var c = o._getInput(b); if (o.isDisabled(c)) { return; } if (c === o._blurredInput) { o._lastInput = c; o._blurredInput = null; } var d = o._getInst(c); o._doFocus(c); var e = o._getSpinnerRegion(d, a); o._changeSpinner(d, b, e); o._actionSpinner(d, e); o._timer = null; o._handlingSpinner = true; if (e >= 3 && d.options.spinnerRepeat[0]) { o._timer = setTimeout(function () { o._repeatSpinner(d, e); }, d.options.spinnerRepeat[0]); $(b).one('mouseout', o._releaseSpinner).one('mouseup', o._releaseSpinner); } }, _actionSpinner: function _actionSpinner(a, b) { if (!a.elem.val()) { o._parseTime(a); } switch (b) { case 0: this._setTime(a); break; case 1: this._changeField(a, -1, false); break; case 2: this._changeField(a, +1, false); break; case 3: this._adjustField(a, +1); break; case 4: this._adjustField(a, -1); break; } }, _repeatSpinner: function _repeatSpinner(a, b) { if (!o._timer) { return; } o._lastInput = o._blurredInput; this._actionSpinner(a, b); this._timer = setTimeout(function () { o._repeatSpinner(a, b); }, a.options.spinnerRepeat[1]); }, _releaseSpinner: function _releaseSpinner(a) { clearTimeout(o._timer); o._timer = null; }, _endExpand: function _endExpand(a) { o._timer = null; var b = o._getSpinnerTarget(a); var c = o._getInput(b); var d = o._getInst(c); $(b).remove(); d._expanded = false; }, _endSpinner: function _endSpinner(a) { o._timer = null; var b = o._getSpinnerTarget(a); var c = o._getInput(b); var d = o._getInst(c); if (!o.isDisabled(c)) { o._changeSpinner(d, b, -1); } if (o._handlingSpinner) { o._lastInput = o._blurredInput; } if (o._lastInput && o._handlingSpinner) { o._showField(d); } o._handlingSpinner = false; }, _getSpinnerTarget: function _getSpinnerTarget(a) { return a.target || a.srcElement; }, _getSpinnerRegion: function _getSpinnerRegion(a, b) { var c = this._getSpinnerTarget(b); var d = $(c).offset(); var e = [document.documentElement.scrollLeft || document.body.scrollLeft, document.documentElement.scrollTop || document.body.scrollTop]; var f = a.options.spinnerIncDecOnly ? 99 : b.clientX + e[0] - d.left; var g = b.clientY + e[1] - d.top; var h = a.options[a._expanded ? 'spinnerBigSize' : 'spinnerSize']; var i = a.options.spinnerIncDecOnly ? 99 : h[0] - 1 - f; var j = h[1] - 1 - g; if (h[2] > 0 && Math.abs(f - i) <= h[2] && Math.abs(g - j) <= h[2]) { return 0; } var k = Math.min(f, g, i, j); return k === f ? 1 : k === i ? 2 : k === g ? 3 : 4; }, _changeSpinner: function _changeSpinner(a, b, c) { $(b).css('background-position', '-' + (c + 1) * a.options[a._expanded ? 'spinnerBigSize' : 'spinnerSize'][0] + 'px 0px'); }, _parseTime: function _parseTime(a, b) { var c = this._extractTime(a); if (c) { a._selectedHour = c[0]; a._selectedMinute = c[1]; a._selectedSecond = c[2]; } else { var d = this._constrainTime(a); a._selectedHour = d[0]; a._selectedMinute = d[1]; a._selectedSecond = a.options.showSeconds ? d[2] : 0; } a._secondField = a.options.showSeconds ? 2 : -1; a._ampmField = a.options.show24Hours ? -1 : a.options.showSeconds ? 3 : 2; a._lastChr = ''; var e = function e() { if (a.elem.val() !== '') { o._showTime(a); } }; if (typeof a.options.initialField === 'number') { a._field = Math.max(0, Math.min(Math.max(1, a._secondField, a._ampmField), a.options.initialField)); e(); } else { setTimeout(function () { a._field = o._getSelection(a, a.elem[0], b); e(); }, 0); } }, _extractTime: function _extractTime(a, b) { b = b || a.elem.val(); var c = b.split(a.options.separator); if (a.options.separator === '' && b !== '') { c[0] = b.substring(0, 2); c[1] = b.substring(2, 4); c[2] = b.substring(4, 6); } if (c.length >= 2) { var d = !a.options.show24Hours && b.indexOf(a.options.ampmNames[0]) > -1; var e = !a.options.show24Hours && b.indexOf(a.options.ampmNames[1]) > -1; var f = parseInt(c[0], 10); f = isNaN(f) ? 0 : f; f = ((d || e) && f === 12 ? 0 : f) + (e ? 12 : 0); var g = parseInt(c[1], 10); g = isNaN(g) ? 0 : g; var h = c.length >= 3 ? parseInt(c[2], 10) : 0; h = isNaN(h) || !a.options.showSeconds ? 0 : h; return this._constrainTime(a, [f, g, h]); } return null; }, _constrainTime: function _constrainTime(a, b) { var c = b !== null && b !== undefined; if (!c) { var d = this._determineTime(a.options.defaultTime, a) || new Date(); b = [d.getHours(), d.getMinutes(), d.getSeconds()]; } var e = false; for (var i = 0; i < a.options.timeSteps.length; i++) { if (e) { b[i] = 0; } else if (a.options.timeSteps[i] > 1) { b[i] = Math.round(b[i] / a.options.timeSteps[i]) * a.options.timeSteps[i]; e = true; } } return b; }, _showTime: function _showTime(a) { var b = (a.options.unlimitedHours ? a._selectedHour : this._formatNumber(a.options.show24Hours ? a._selectedHour : (a._selectedHour + 11) % 12 + 1)) + a.options.separator + this._formatNumber(a._selectedMinute) + (a.options.showSeconds ? a.options.separator + this._formatNumber(a._selectedSecond) : '') + (a.options.show24Hours ? '' : a.options.ampmPrefix + a.options.ampmNames[a._selectedHour < 12 ? 0 : 1]); this._setValue(a, b); this._showField(a); }, _showField: function _showField(a) { var b = a.elem[0]; if (a.elem.is(':hidden') || o._lastInput !== b) { return; } var c = [a.elem.val().split(a.options.separator)[0].length, 2, 2]; var d = 0; var e = 0; while (e < a._field) { d += c[e] + (e === Math.max(1, a._secondField) ? 0 : a.options.separator.length); e++; } var f = d + (a._field !== a._ampmField ? c[e] : a.options.ampmPrefix.length + a.options.ampmNames[0].length); if (b.setSelectionRange) { b.setSelectionRange(d, f); } else if (b.createTextRange) { var g = b.createTextRange(); g.moveStart('character', d); g.moveEnd('character', f - a.elem.val().length); g.select(); } if (!b.disabled) { b.focus(); } }, _formatNumber: function _formatNumber(a) { return (a < 10 ? '0' : '') + a; }, _setValue: function _setValue(a, b) { if (b !== a.elem.val()) { a.elem.val(b).trigger('change'); } }, _changeField: function _changeField(a, b, c) { var d = a.elem.val() === '' || a._field === (b === -1 ? 0 : Math.max(1, a._secondField, a._ampmField)); if (!d) { a._field += b; } this._showField(a); a._lastChr = ''; return d && c; }, _adjustField: function _adjustField(a, b) { if (a.elem.val() === '') { b = 0; } if (a.options.unlimitedHours) { this._setTime(a, [a._selectedHour + (a._field === 0 ? b * a.options.timeSteps[0] : 0), a._selectedMinute + (a._field === 1 ? b * a.options.timeSteps[1] : 0), a._selectedSecond + (a._field === a._secondField ? b * a.options.timeSteps[2] : 0)]); } else { this._setTime(a, new Date(0, 0, 0, a._selectedHour + (a._field === 0 ? b * a.options.timeSteps[0] : 0) + (a._field === a._ampmField ? b * 12 : 0), a._selectedMinute + (a._field === 1 ? b * a.options.timeSteps[1] : 0), a._selectedSecond + (a._field === a._secondField ? b * a.options.timeSteps[2] : 0))); } }, _setTime: function _setTime(a, b) { if (a.options.unlimitedHours && $.isArray(b)) { var c = b; } else { b = this._determineTime(b, a); var c = b ? [b.getHours(), b.getMinutes(), b.getSeconds()] : null; } c = this._constrainTime(a, c); b = new Date(0, 0, 0, c[0], c[1], c[2]); var b = this._normaliseTime(b); var d = this._normaliseTime(this._determineTime(a.options.minTime, a)); var e = this._normaliseTime(this._determineTime(a.options.maxTime, a)); if (a.options.unlimitedHours) { while (c[2] < 0) { c[2] += 60; c[1]--; } while (c[2] > 59) { c[2] -= 60; c[1]++; } while (c[1] < 0) { c[1] += 60; c[0]--; } while (c[1] > 59) { c[1] -= 60; c[0]++; } d = a.options.minTime != null && $.isArray(a.options.minTime) ? a.options.minTime : [0, 0, 0]; if (c[0] < d[0]) { c = d.slice(0, 3); } else if (c[0] === d[0]) { if (c[1] < d[1]) { c[1] = d[1]; c[2] = d[2]; } else if (c[1] === d[1]) { if (c[2] < d[2]) { c[2] = d[2]; } } } if (a.options.maxTime != null && $.isArray(a.options.maxTime)) { if (c[0] > a.options.maxTime[0]) { c = a.options.maxTime.slice(0, 3); } else if (c[0] === a.options.maxTime[0]) { if (c[1] > a.options.maxTime[1]) { c[1] = a.options.maxTime[1]; c[2] = a.options.maxTime[2]; } else if (c[1] === a.options.maxTime[1]) { if (c[2] > a.options.maxTime[2]) { c[2] = a.options.maxTime[2]; } } } } } else { if (d && e && d > e) { if (b < d && b > e) { b = Math.abs(b - d) < Math.abs(b - e) ? d : e; } } else { b = d && b < d ? d : e && b > e ? e : b; } c[0] = b.getHours(); c[1] = b.getMinutes(); c[2] = b.getSeconds(); } if ($.isFunction(a.options.beforeSetTime)) { b = a.options.beforeSetTime.apply(a.elem[0], [this.getTime(a.elem[0]), b, d, e]); c[0] = b.getHours(); c[1] = b.getMinutes(); c[2] = b.getSeconds(); } a._selectedHour = c[0]; a._selectedMinute = c[1]; a._selectedSecond = c[2]; this._showTime(a); }, _determineTime: function _determineTime(i, j) { var k = function k(a) { var b = new Date(); b.setTime(b.getTime() + a * 1000); return b; }; var l = function l(a) { var b = o._extractTime(j, a); var c = new Date(); var d = b ? b[0] : c.getHours(); var e = b ? b[1] : c.getMinutes(); var f = b ? b[2] : c.getSeconds(); if (!b) { var g = /([+-]?[0-9]+)\s*(s|S|m|M|h|H)?/g; var h = g.exec(a); while (h) { switch (h[2] || 's') { case 's': case 'S': f += parseInt(h[1], 10); break; case 'm': case 'M': e += parseInt(h[1], 10); break; case 'h': case 'H': d += parseInt(h[1], 10); break; } h = g.exec(a); } } c = new Date(0, 0, 10, d, e, f, 0); if (/^!/.test(a)) { if (c.getDate() > 10) { c = new Date(0, 0, 10, 23, 59, 59); } else if (c.getDate() < 10) { c = new Date(0, 0, 10, 0, 0, 0); } } return c; }; var m = function m(a) { return new Date(0, 0, 0, a[0], a[1] || 0, a[2] || 0, 0); }; return i ? typeof i === 'string' ? l(i) : typeof i === 'number' ? k(i) : $.isArray(i) ? m(i) : i : null; }, _normaliseTime: function _normaliseTime(a) { if (!a) { return null; } a.setFullYear(1900); a.setMonth(0); a.setDate(0); return a; } }); var o = $.timeEntry; })(jQuery); /***/ }), /***/ "./vendor/bower_js/jquery-ui-multiselect-widget-iride/jquery.multiselect.css": /*!***********************************************************************************!*\ !*** ./vendor/bower_js/jquery-ui-multiselect-widget-iride/jquery.multiselect.css ***! \***********************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }), /***/ "./vendor/bower_js/jquery-ui-multiselect-widget-iride/src/jquery.multiselect.js": /*!**************************************************************************************!*\ !*** ./vendor/bower_js/jquery-ui-multiselect-widget-iride/src/jquery.multiselect.js ***! \**************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } __webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js"); __webpack_require__(/*! core-js/modules/es.array.join.js */ "./node_modules/core-js/modules/es.array.join.js"); __webpack_require__(/*! core-js/modules/es.array.filter.js */ "./node_modules/core-js/modules/es.array.filter.js"); __webpack_require__(/*! core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js"); __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js"); __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/core-js/modules/es.string.replace.js"); __webpack_require__(/*! core-js/modules/es.function.bind.js */ "./node_modules/core-js/modules/es.function.bind.js"); __webpack_require__(/*! core-js/modules/web.timers.js */ "./node_modules/core-js/modules/web.timers.js"); __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/core-js/modules/es.string.match.js"); __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/core-js/modules/es.parse-int.js"); __webpack_require__(/*! core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js"); __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/core-js/modules/es.symbol.description.js"); __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js"); __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "./node_modules/core-js/modules/es.symbol.iterator.js"); __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/core-js/modules/es.array.iterator.js"); __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "./node_modules/core-js/modules/es.string.iterator.js"); __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/core-js/modules/web.dom-collections.iterator.js"); /* jshint forin:true, noarg:true, noempty:true, eqeqeq:true, boss:true, undef:true, curly:true, browser:true, jquery:true */ /* * jQuery MultiSelect UI Widget 2.0.1 * Copyright (c) 2012 Eric Hynds * * http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ * * Depends: * - jQuery 1.4.2+ * - jQuery UI 1.11 widget factory * * Optional: * - jQuery UI effects * - jQuery UI position utility * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ (function ($, undefined) { // Counter used to prevent collisions var multiselectID = 0; var $doc = $(document); $.widget("ech.multiselect", { // default options options: { header: true, height: 175, minWidth: 225, classes: '', checkAllText: 'Check all', uncheckAllText: 'Uncheck all', noneSelectedText: 'Select options', showCheckAll: true, showUncheckAll: true, selectedText: '# selected', selectedList: 0, closeIcon: 'ui-icon-circle-close', show: null, hide: null, autoOpen: false, multiple: true, position: {}, appendTo: null, menuWidth: null, selectedListSeparator: ', ', disableInputsOnToggle: true, groupColumns: false }, _getAppendEl: function _getAppendEl() { var element = this.options.appendTo; if (element) { element = element.jquery || element.nodeType ? $(element) : this.document.find(element).eq(0); } if (!element || !element[0]) { element = this.element.closest(".ui-front, dialog"); } if (!element.length) { element = this.document[0].body; } return element; }, _create: function _create() { var el = this.element; var o = this.options; this.speed = $.fx.speeds._default; // default speed for effects this._isOpen = false; // assume no this.inputIdCounter = 0; // create a unique namespace for events that the widget // factory cannot unbind automatically. Use eventNamespace if on // jQuery UI 1.9+, and otherwise fallback to a custom string. this._namespaceID = this.eventNamespace || 'multiselect' + multiselectID; // bump unique ID after assigning it to the widget instance this.multiselectID = multiselectID++; var button = (this.button = $('')).addClass('ui-multiselect ui-widget ui-state-default ui-corner-all').addClass(o.classes).attr({ 'title': el.attr('title'), 'tabIndex': el.attr('tabIndex'), 'id': el.attr('id') ? el.attr('id') + '_ms' : null }).prop('aria-haspopup', true).insertAfter(el); this.buttonlabel = $('').html(o.noneSelectedText).appendTo(button); this.menu = $('
').addClass('ui-multiselect-menu ui-widget ui-widget-content ui-corner-all').addClass(o.classes).appendTo(this._getAppendEl()); this.header = $('
').addClass('ui-widget-header ui-corner-all ui-multiselect-header ui-helper-clearfix').appendTo(this.menu); this.headerLinkContainer = $('