芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/projects/dist/libs/litepicker/dist/plugins/ranges.js
/*! * * plugins/ranges.js * Litepicker v2.0.12 (https://github.com/wakirin/Litepicker) * Package: litepicker (https://www.npmjs.com/package/litepicker) * License: MIT (https://github.com/wakirin/Litepicker/blob/master/LICENCE.md) * Copyright 2019-2021 Rinat G. * * Hash: b9a648207aabe31b2912 * */!function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=8)}([function(e,n,t){"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t=function(e,n){var t=e[1]||"",r=e[3];if(!r)return t;if(n&&"function"==typeof btoa){var a=(i=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[t].concat(o).concat([a]).join("\n")}var i,s,c;return[t].join("\n")}(n,e);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t})).join("")},n.i=function(e,t,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var o=0;o
=0?1:-1,i.dataset.start=o[0].getTime(),i.dataset.end=o[1].getTime(),i.addEventListener("click",(function(n){var r=n.target;if(r){var a=e.DateTime(Number(r.dataset.start)),o=e.DateTime(Number(r.dataset.end));t.autoApply?(e.setDateRange(a,o,t.force),e.emit("ranges.selected",a,o),e.hide()):(e.datePicked=[a,o],e.emit("ranges.preselect",a,o)),!e.options.inlineMode&&t.autoApply||e.gotoDate(a)}})),r.appendChild(i)})),n.querySelector(".container__main").prepend(r)}))}})},function(e,n,t){var r=t(10);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insert:function(e){var n=document.querySelector("head"),t=window._lastElementInsertedByStyleLoader;window.disableLitepickerStyles||(t?t.nextSibling?n.insertBefore(e,t.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),window._lastElementInsertedByStyleLoader=e)},singleton:!1};t(1)(r,a);r.locals&&(e.exports=r.locals)},function(e,n,t){(n=t(0)(!1)).push([e.i,'.litepicker[data-plugins*="ranges"] > .container__main > .container__predefined-ranges {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: var(--litepicker-container-months-color-bg);\n box-shadow: -2px 0px 5px var(--litepicker-footer-box-shadow-color);\n border-radius: 3px;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="left"] > .container__main {\n /* */\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="right"] > .container__main{\n flex-direction: row-reverse;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="right"] > .container__main > .container__predefined-ranges {\n box-shadow: 2px 0px 2px var(--litepicker-footer-box-shadow-color);\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="top"] > .container__main {\n flex-direction: column;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="top"] > .container__main > .container__predefined-ranges {\n flex-direction: row;\n box-shadow: 2px 0px 2px var(--litepicker-footer-box-shadow-color);\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="bottom"] > .container__main {\n flex-direction: column-reverse;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="bottom"] > .container__main > .container__predefined-ranges {\n flex-direction: row;\n box-shadow: 2px 0px 2px var(--litepicker-footer-box-shadow-color);\n}\n.litepicker[data-plugins*="ranges"] > .container__main > .container__predefined-ranges button {\n padding: 5px;\n margin: 2px 0;\n}\n.litepicker[data-plugins*="ranges"][data-ranges-position="left"] > .container__main > .container__predefined-ranges button,\n.litepicker[data-plugins*="ranges"][data-ranges-position="right"] > .container__main > .container__predefined-ranges button{\n width: 100%;\n text-align: left;\n}\n.litepicker[data-plugins*="ranges"] > .container__main > .container__predefined-ranges button:hover {\n cursor: default;\n opacity: .6;\n}',""]),e.exports=n}]);