Файловый менеджер - Редактировать - /home/sibcards/public_html/Modules/LandingPage/Routes/401133/pages.tar
Назад
form-masking-custom.js 0000644 00000001673 15033223730 0011011 0 ustar 00 'use strict'; var regExpMask = IMask(document.querySelector('.date'),{ mask: '00/00/0000'}); var regExpMask = IMask(document.querySelector('.date2'),{ mask: '00-00-0000'}); var regExpMask = IMask(document.querySelector('.hour'),{ mask: '00:00:00'}); var regExpMask = IMask(document.querySelector('.dateHour'),{ mask: '00/00/0000 00:00:00'}); var regExpMask = IMask(document.querySelector('.mob_no'),{ mask:'0000-000-000'}); var regExpMask = IMask(document.querySelector('.phone'),{ mask:'0000-0000'}); var regExpMask = IMask(document.querySelector('.telphone_with_code'),{ mask:'(00) 0000-0000'}); var regExpMask = IMask(document.querySelector('.us_telephone'),{ mask:'(000) 000-0000'}); var regExpMask = IMask(document.querySelector('.ip'),{ mask:'000.000.000.000'}); var regExpMask = IMask(document.querySelector('.ipv4'),{ mask:'000.000.000.0000'}); var regExpMask = IMask(document.querySelector('.ipv6'),{ mask:'0000:0000:0000:0:000:0000:0000:0000'}); form-validation.js 0000644 00000001717 15033223730 0010201 0 ustar 00 'use strict'; var bouncer = new Bouncer('[data-validate]', { disableSubmit: true, customValidations: { valueMismatch: function (field) { var selector = field.getAttribute('data-bouncer-match'); if (!selector) return false; var otherField = field.form.querySelector(selector); if (!otherField) return false; return otherField.value !== field.value; } }, messages: { valueMismatch: function (field) { var customMessage = field.getAttribute('data-bouncer-mismatch-message'); return customMessage ? customMessage : 'Please make sure the fields match.' } } }); document.addEventListener('bouncerFormInvalid', function (event) { window.scrollTo(0, event.detail.errors[0].offsetTop); }, false); document.addEventListener('bouncerFormValid', function () { alert('Form submitted successfully!'); window.location.reload(); }, false); ac-tour.js 0000644 00000001141 15033223730 0006447 0 ustar 00 'use strict'; document.addEventListener("DOMContentLoaded", function () { introJs().setOptions({ steps: [{ intro: "Hello world!" }, { element: document.querySelector('.step1'), intro: "This is Card" }, { element: document.querySelector('.step2'), intro: "This is Card header" }, { element: document.querySelector('.step3'), intro: "This is Card Title" }, { element: document.querySelector('.step4'), intro: "This is Card Body" }] }).start(); }); ac-slider.js 0000644 00000001360 15033223730 0006743 0 ustar 00 'use strict'; setTimeout(function () { // [ slider ] var slider = tns({ container: '.slider1', items: 1, slideBy: 'page', autoplay: true }); // [ Only-Nav slider ] var slider = tns({ container: '.slider2', items: 1, axis: "vertical", slideBy: 'page', autoplay: true }); // [ Only-Dots slider ] var slider = tns({ container: '#customize', items: 3, center: true, gutter: 10, controlsContainer: '#customize-controls', navContainer: '#customize-thumbnails', navAsThumbnails: true, autoplay: true, autoplayTimeout: 1000, autoplayButton: '#customize-toggle', }); }); ac-alert.js 0000644 00000035544 15033223730 0006603 0 ustar 00 'use strict'; document.querySelector(".bs-message").addEventListener("click", function () { Swal.fire('Any fool can use a computer') }); document.querySelector('.bs-tit-txt').addEventListener("click", function () { Swal.fire( 'The Internet?', 'That thing is still around?', 'question' ) }); document.querySelector('.bs-error-icon').addEventListener("click", function () { Swal.fire({ icon: 'error', title: 'Oops...', text: 'Something went wrong!', footer: '<a href>Why do I have this issue?</a>' }) }); document.querySelector('.bs-long-content').addEventListener("click", function () { Swal.fire({ imageUrl: 'https://placeholder.pics/svg/300x1500', imageHeight: 1500, imageAlt: 'A tall image' }) }); document.querySelector('.bs-cust-html').addEventListener("click", function () { Swal.fire({ title: '<strong>HTML <u>example</u></strong>', icon: 'info', html: 'You can use <b>bold text</b>, ' + '<a href="//sweetalert2.github.io">links</a> ' + 'and other HTML tags', showCloseButton: true, showCancelButton: true, focusConfirm: false, confirmButtonText: '<i class="fa fa-thumbs-up"></i> Great!', confirmButtonAriaLabel: 'Thumbs up, great!', cancelButtonText: '<i class="fa fa-thumbs-down"></i>', cancelButtonAriaLabel: 'Thumbs down' }) }); document.querySelector('.bs-tre-button').addEventListener("click", function () { Swal.fire({ title: 'Do you want to save the changes?', showDenyButton: true, showCancelButton: true, confirmButtonText: `Save`, denyButtonText: `Don't save`, }).then((result) => { if (result.isConfirmed) { Swal.fire('Saved!', '', 'success') } else if (result.isDenied) { Swal.fire('Changes are not saved', '', 'info') } }) }); document.querySelector('.bs-cust-position').addEventListener("click", function () { Swal.fire({ position: 'top-end', icon: 'success', title: 'Your work has been saved', showConfirmButton: false, timer: 1500 }) }); document.querySelector('.bs-cust-anim').addEventListener("click", function () { Swal.fire({ title: 'Custom animation with Animate.css', showClass: { popup: 'animated fadeInDown' }, hideClass: { popup: 'animated fadeOutUp' } }) }); document.querySelector('.bs-pass-para').addEventListener("click", function () { const swalWithBootstrapButtons = Swal.mixin({ customClass: { confirmButton: 'btn btn-success', cancelButton: 'btn btn-danger' }, buttonsStyling: false }) swalWithBootstrapButtons.fire({ title: 'Are you sure?', text: "You won't be able to revert this!", icon: 'warning', showCancelButton: true, confirmButtonText: 'Yes, delete it!', cancelButtonText: 'No, cancel!', reverseButtons: true }).then((result) => { if (result.isConfirmed) { swalWithBootstrapButtons.fire( 'Deleted!', 'Your file has been deleted.', 'success' ) } else if ( result.dismiss === Swal.DismissReason.cancel ) { swalWithBootstrapButtons.fire( 'Cancelled', 'Your imaginary file is safe :)', 'error' ) } }) }); document.querySelector('.bs-cust-img').addEventListener("click", function () { Swal.fire({ title: 'Sweet!', text: 'Modal with a custom image.', imageUrl: 'https://unsplash.it/400/200', imageWidth: 400, imageHeight: 200, imageAlt: 'Custom image', }) }); document.querySelector('.bs-cust-full').addEventListener("click", function () { Swal.fire({ title: 'Custom width, padding, background.', width: 600, padding: '3em', background: '#fff url(assets/images/gallery-grid/img-grd-gal-2.jpg)', backdrop: ` rgba(0,0,123,0.4) url("../assets/images/profile/bg-2.jpg") left top no-repeat ` }) }); document.querySelector('.bs-auto-close').addEventListener("click", function () { let timerInterval Swal.fire({ title: 'Auto close alert!', html: 'I will close in <b></b> milliseconds.', timer: 2000, timerProgressBar: true, willOpen: () => { Swal.showLoading() timerInterval = setInterval(() => { const content = Swal.getContent() if (content) { const b = content.querySelector('b') if (b) { b.textContent = Swal.getTimerLeft() } } }, 100) }, onClose: () => { clearInterval(timerInterval) } }).then((result) => { if (result.dismiss === Swal.DismissReason.timer) { console.log('I was closed by the timer') } }) }); document.querySelector('.bs-rtl-lang').addEventListener("click", function () { Swal.fire({ title: 'هل تريد الاستمرار؟', icon: 'question', iconHtml: '؟', confirmButtonText: 'نعم', cancelButtonText: 'لا', showCancelButton: true, showCloseButton: true }) }); document.querySelector('.bs-ajex-req').addEventListener("click", function () { Swal.fire({ title: 'Submit your Github username', input: 'text', inputAttributes: { autocapitalize: 'off' }, showCancelButton: true, confirmButtonText: 'Look up', showLoaderOnConfirm: true, preConfirm: (login) => { return fetch(`//api.github.com/users/` + login) .then(response => { if (!response.ok) { throw new Error(response.statusText) } return response.json() }) .catch(error => { Swal.showValidationMessage( `Request failed: ` + error ) }) }, allowOutsideClick: () => !Swal.isLoading() }).then((result) => { if (result.isConfirmed) { Swal.fire({ title: result.value.login +`'s avatar`, imageUrl: result.value.avatar_url }) } }) }); document.querySelector('.bs-mixin-exp').addEventListener("click", function () { const Toast = Swal.mixin({ toast: true, position: 'top-end', showConfirmButton: false, timer: 3000, timerProgressBar: true, didOpen: (toast) => { toast.addEventListener('mouseenter', Swal.stopTimer) toast.addEventListener('mouseleave', Swal.resumeTimer) } }) Toast.fire({ icon: 'success', title: 'Signed in successfully' }) }); document.querySelector('.bs-success-ico').addEventListener("click", function () { Swal.fire({ icon: "success", title: 'Success modal', }) }); document.querySelector('.bs-error-ico').addEventListener("click", function () { Swal.fire({ icon: "error", title: 'Error modal', }) }); document.querySelector('.bs-warning-ico').addEventListener("click", function () { Swal.fire({ icon: "warning", title: 'warning modal', }) }); document.querySelector('.bs-info-ico').addEventListener("click", function () { Swal.fire({ icon: "info", title: 'info modal', }) }); document.querySelector('.bs-question-ico').addEventListener("click", function () { Swal.fire({ icon: "question", title: 'question modal', }) }); document.querySelector('.bs-text-input').addEventListener("click", function () { (async () => { const ipAPI = '//api.ipify.org?format=json' const inputValue = fetch(ipAPI) .then(response => response.json()) .then(data => data.ip) const { value: ipAddress } = await Swal.fire({ title: 'Enter your IP address', input: 'text', inputValue: inputValue, showCancelButton: true, inputValidator: (value) => { if (!value) { return 'You need to write something!' } } }) if (ipAddress) { Swal.fire(`Your IP address is ` + ipAddress) } })() }); document.querySelector('.bs-email-input').addEventListener("click", function () { (async () => { const { value: email } = await Swal.fire({ title: 'Input email address', input: 'email', inputPlaceholder: 'Enter your email address' }) if (email) { Swal.fire(`Entered email: ` + email) } })() }); document.querySelector('.bs-url-input').addEventListener("click", function () { (async () => { const { value: url } = await Swal.fire({ input: 'url', inputPlaceholder: 'Enter the URL' }) if (url) { Swal.fire(`Entered URL: ` + url) } })() }); document.querySelector('.bs-password-input').addEventListener("click", function () { (async () => { const { value: password } = await Swal.fire({ title: 'Enter your password', input: 'password', inputPlaceholder: 'Enter your password', inputAttributes: { maxlength: 10, autocapitalize: 'off', autocorrect: 'off' } }) if (password) { Swal.fire(`Entered password: `+ password) } })() }); document.querySelector('.bs-textarea-input').addEventListener("click", function () { (async () => { const { value: text } = await Swal.fire({ input: 'textarea', inputPlaceholder: 'Type your message here...', inputAttributes: { 'aria-label': 'Type your message here' }, showCancelButton: true }) if (text) { Swal.fire(text) } })() }); document.querySelector('.bs-select-input').addEventListener("click", function () { (async () => { const { value: fruit } = await Swal.fire({ title: 'Select field validation', input: 'select', inputOptions: { 'Fruits': { apples: 'Apples', bananas: 'Bananas', grapes: 'Grapes', oranges: 'Oranges' }, 'Vegetables': { potato: 'Potato', broccoli: 'Broccoli', carrot: 'Carrot' }, 'icecream': 'Ice cream' }, inputPlaceholder: 'Select a fruit', showCancelButton: true, inputValidator: (value) => { return new Promise((resolve) => { if (value === 'oranges') { resolve() } else { resolve('You need to select oranges :)') } }) } }) if (fruit) { Swal.fire(`You selected: ` + fruit) } })() }); document.querySelector('.bs-radio-input').addEventListener("click", function () { (async () => { const inputOptions = new Promise((resolve) => { setTimeout(() => { resolve({ '#ff0000': 'Red', '#00ff00': 'Green', '#0000ff': 'Blue' }) }, 1000) }) const { value: color } = await Swal.fire({ title: 'Select color', input: 'radio', inputOptions: inputOptions, inputValidator: (value) => { if (!value) { return 'You need to choose something!' } } }) if (color) { Swal.fire({ html: `You selected: ` + color }) } })() }); document.querySelector('.bs-checkbox-input').addEventListener("click", function () { (async () => { const { value: accept } = await Swal.fire({ title: 'Terms and conditions', input: 'checkbox', inputValue: 1, inputPlaceholder: 'I agree with the terms and conditions', confirmButtonText: 'Continue<i class="fa fa-arrow-right"></i>', inputValidator: (result) => { return !result && 'You need to agree with T&C' } }) if (accept) { Swal.fire('You agreed with T&C :)') } })() }); document.querySelector('.bs-file-input').addEventListener("click", function () { (async () => { const { value: file } = await Swal.fire({ title: 'Select image', input: 'file', inputAttributes: { 'accept': 'image/*', 'aria-label': 'Upload your profile picture' } }) if (file) { const reader = new FileReader() reader.onload = (e) => { Swal.fire({ title: 'Your uploaded picture', imageUrl: e.target.result, imageAlt: 'The uploaded picture' }) } reader.readAsDataURL(file) } })() }); document.querySelector('.bs-range-input').addEventListener("click", function () { (async () => { Swal.fire({ title: 'How old are you?', icon: 'question', input: 'range', inputAttributes: { min: 8, max: 120, step: 1 }, inputValue: 25 }) })() }); document.querySelector('.bs-multiple-input').addEventListener("click", function () { (async () => { const { value: formValues } = await Swal.fire({ title: 'Multiple inputs', html: '<input id="swal-input1" class="swal2-input">' + '<input id="swal-input2" class="swal2-input">', focusConfirm: false, preConfirm: () => { return [ document.getElementById('swal-input1').value, document.getElementById('swal-input2').value ] } }) if (formValues) { Swal.fire(JSON.stringify(formValues)) } })() }); ac-notification.js 0000644 00000007252 15033223730 0010155 0 ustar 00 'use strict'; document.addEventListener("DOMContentLoaded", function () { document.querySelector("#btn-default").addEventListener('click', function () { notifier.show('Hello!', 'I am a default notification.', '', '', 0); }); document.querySelector("#btn-info").addEventListener('click', function () { notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', 'info', '', 0); }); document.querySelector("#btn-success").addEventListener('click', function () { notifier.show('Well Done!', 'You just submit your resume successfuly.', 'success', '', 0); }); document.querySelector("#btn-warning").addEventListener('click', function () { notifier.show('Warning!', 'The data presented here can be change.', 'warning', '', 0); }); document.querySelector("#btn-danger").addEventListener('click', function () { notifier.show('Sorry!', 'Could not complete your transaction.', 'danger', '', 0); }); document.querySelector("#btn-default-i").addEventListener('click', function () { notifier.show('Default!', 'I am a default notification.', '', '../assets/images/notification/clock-48.png', 0); }); document.querySelector("#btn-info-i").addEventListener('click', function () { notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', 'info', '../assets/images/notification/survey-48.png', 0); }); document.querySelector("#btn-success-i").addEventListener('click', function () { notifier.show('Well Done!', 'You just submit your resume successfuly.', 'success', '../assets/images/notification/ok-48.png', 0); }); document.querySelector("#btn-warning-i").addEventListener('click', function () { notifier.show('Warning!', 'The data presented here can be change.', 'warning', '../assets/images/notification/medium_priority-48.png', 0); }); document.querySelector("#btn-danger-i").addEventListener('click', function () { notifier.show('Sorry!', 'Could not complete your transaction.', 'danger', '../assets/images/notification/high_priority-48.png', 0); }); document.querySelector("#btn-default-ac").addEventListener('click', function () { notifier.show('Default!', 'I am a default notification.', '', '../assets/images/notification/clock-48.png', 4000); }); document.querySelector("#btn-info-ac").addEventListener('click', function () { notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', 'info', '../assets/images/notification/survey-48.png', 4000); }); document.querySelector("#btn-success-ac").addEventListener('click', function () { notifier.show('Well Done!', 'You just submit your resume successfuly.', 'success', '../assets/images/notification/ok-48.png', 4000); }); document.querySelector("#btn-warning-ac").addEventListener('click', function () { notifier.show('Warning!', 'The data presented here can be change.', 'warning', '../assets/images/notification/medium_priority-48.png', 4000); }); document.querySelector("#btn-danger-ac").addEventListener('click', function () { notifier.show('Sorry!', 'Could not complete your transaction.', 'danger', '../assets/images/notification/high_priority-48.png', 4000); }); var notificationId; var showNotification = function () { notificationId = notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', 'info', '../assets/images/notification/survey-48.png', 4000); }; var hideNotification = function () { notifier.hide(notificationId); }; document.querySelector('#btn-nt-show').addEventListener('click', showNotification); document.querySelector('#btn-nt-hide').addEventListener('click', hideNotification); }); wow.min.js 0000644 00000017733 15033223730 0006511 0 ustar 00 /*! WOW wow.js - v1.3.0 - 2016-10-04 * https://wowjs.uk * Copyright (c) 2016 Thomas Grainger; Licensed MIT */!function(a,b){if("function"==typeof define&&define.amd)define(["module","exports"],b);else if("undefined"!=typeof exports)b(module,exports);else{var c={exports:{}};b(c,c.exports),a.WOW=c.exports}}(this,function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function d(a,b){return b.indexOf(a)>=0}function e(a,b){for(var c in b)if(null==a[c]){var d=b[c];a[c]=d}return a}function f(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)}function g(a){var b=arguments.length<=1||void 0===arguments[1]?!1:arguments[1],c=arguments.length<=2||void 0===arguments[2]?!1:arguments[2],d=arguments.length<=3||void 0===arguments[3]?null:arguments[3],e=void 0;return null!=document.createEvent?(e=document.createEvent("CustomEvent"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e}function h(a,b){null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():"on"+b in(null!=a)&&a["on"+b]()}function i(a,b,c){null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c}function j(a,b,c){null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]}function k(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight}Object.defineProperty(b,"__esModule",{value:!0});var l,m,n=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),o=window.WeakMap||window.MozWeakMap||function(){function a(){c(this,a),this.keys=[],this.values=[]}return n(a,[{key:"get",value:function(a){for(var b=0;b<this.keys.length;b++){var c=this.keys[b];if(c===a)return this.values[b]}}},{key:"set",value:function(a,b){for(var c=0;c<this.keys.length;c++){var d=this.keys[c];if(d===a)return this.values[c]=b,this}return this.keys.push(a),this.values.push(b),this}}]),a}(),p=window.MutationObserver||window.WebkitMutationObserver||window.MozMutationObserver||(m=l=function(){function a(){c(this,a),"undefined"!=typeof console&&null!==console&&(console.warn("MutationObserver is not supported by your browser."),console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content."))}return n(a,[{key:"observe",value:function(){}}]),a}(),l.notSupported=!0,m),q=window.getComputedStyle||function(a){var b=/(\-([a-z]){1})/g;return{getPropertyValue:function(c){"float"===c&&(c="styleFloat"),b.test(c)&&c.replace(b,function(a,b){return b.toUpperCase()});var d=a.currentStyle;return(null!=d?d[c]:void 0)||null}}},r=function(){function a(){var b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];c(this,a),this.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null,resetAnimation:!0},this.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),this.vendors=["moz","webkit"],this.start=this.start.bind(this),this.resetAnimation=this.resetAnimation.bind(this),this.scrollHandler=this.scrollHandler.bind(this),this.scrollCallback=this.scrollCallback.bind(this),this.scrolled=!0,this.config=e(b,this.defaults),null!=b.scrollContainer&&(this.config.scrollContainer=document.querySelector(b.scrollContainer)),this.animationNameCache=new o,this.wowEvent=g(this.config.boxClass)}return n(a,[{key:"init",value:function(){this.element=window.document.documentElement,d(document.readyState,["interactive","complete"])?this.start():i(document,"DOMContentLoaded",this.start),this.finished=[]}},{key:"start",value:function(){var a=this;if(this.stopped=!1,this.boxes=[].slice.call(this.element.querySelectorAll("."+this.config.boxClass)),this.all=this.boxes.slice(0),this.boxes.length)if(this.disabled())this.resetStyle();else for(var b=0;b<this.boxes.length;b++){var c=this.boxes[b];this.applyStyle(c,!0)}if(this.disabled()||(i(this.config.scrollContainer||window,"scroll",this.scrollHandler),i(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live){var d=new p(function(b){for(var c=0;c<b.length;c++)for(var d=b[c],e=0;e<d.addedNodes.length;e++){var f=d.addedNodes[e];a.doSync(f)}});d.observe(document.body,{childList:!0,subtree:!0})}}},{key:"stop",value:function(){this.stopped=!0,j(this.config.scrollContainer||window,"scroll",this.scrollHandler),j(window,"resize",this.scrollHandler),null!=this.interval&&clearInterval(this.interval)}},{key:"sync",value:function(){p.notSupported&&this.doSync(this.element)}},{key:"doSync",value:function(a){if("undefined"!=typeof a&&null!==a||(a=this.element),1===a.nodeType){a=a.parentNode||a;for(var b=a.querySelectorAll("."+this.config.boxClass),c=0;c<b.length;c++){var e=b[c];d(e,this.all)||(this.boxes.push(e),this.all.push(e),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(e,!0),this.scrolled=!0)}}}},{key:"show",value:function(a){return this.applyStyle(a),a.className=a.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(a),h(a,this.wowEvent),this.config.resetAnimation&&(i(a,"animationend",this.resetAnimation),i(a,"oanimationend",this.resetAnimation),i(a,"webkitAnimationEnd",this.resetAnimation),i(a,"MSAnimationEnd",this.resetAnimation)),a}},{key:"applyStyle",value:function(a,b){var c=this,d=a.getAttribute("data-wow-duration"),e=a.getAttribute("data-wow-delay"),f=a.getAttribute("data-wow-iteration");return this.animate(function(){return c.customStyle(a,b,d,e,f)})}},{key:"resetStyle",value:function(){for(var a=0;a<this.boxes.length;a++){var b=this.boxes[a];b.style.visibility="visible"}}},{key:"resetAnimation",value:function(a){if(a.type.toLowerCase().indexOf("animationend")>=0){var b=a.target||a.srcElement;b.className=b.className.replace(this.config.animateClass,"").trim()}}},{key:"customStyle",value:function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a}},{key:"vendorSet",value:function(a,b){for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];a[""+c]=d;for(var e=0;e<this.vendors.length;e++){var f=this.vendors[e];a[""+f+c.charAt(0).toUpperCase()+c.substr(1)]=d}}}},{key:"vendorCSS",value:function(a,b){for(var c=q(a),d=c.getPropertyCSSValue(b),e=0;e<this.vendors.length;e++){var f=this.vendors[e];d=d||c.getPropertyCSSValue("-"+f+"-"+b)}return d}},{key:"animationName",value:function(a){var b=void 0;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=q(a).getPropertyValue("animation-name")}return"none"===b?"":b}},{key:"cacheAnimationName",value:function(a){return this.animationNameCache.set(a,this.animationName(a))}},{key:"cachedAnimationName",value:function(a){return this.animationNameCache.get(a)}},{key:"scrollHandler",value:function(){this.scrolled=!0}},{key:"scrollCallback",value:function(){if(this.scrolled){this.scrolled=!1;for(var a=[],b=0;b<this.boxes.length;b++){var c=this.boxes[b];if(c){if(this.isVisible(c)){this.show(c);continue}a.push(c)}}this.boxes=a,this.boxes.length||this.config.live||this.stop()}}},{key:"offsetTop",value:function(a){for(;void 0===a.offsetTop;)a=a.parentNode;for(var b=a.offsetTop;a.offsetParent;)a=a.offsetParent,b+=a.offsetTop;return b}},{key:"isVisible",value:function(a){var b=a.getAttribute("data-wow-offset")||this.config.offset,c=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,d=c+Math.min(this.element.clientHeight,k())-b,e=this.offsetTop(a),f=e+a.clientHeight;return d>=e&&f>=c}},{key:"disabled",value:function(){return!this.config.mobile&&f(navigator.userAgent)}}]),a}();b["default"]=r,a.exports=b["default"]}); ac-rangeslider.js 0000644 00000012077 15033223730 0007767 0 ustar 00 'use strict'; // [ basic-Slider ] (function () { var slider = new Slider('#ex1', { formatter: function (value) { return 'Current value: ' + value; } }); })(); // [ Selector-Slider ] (function () { var slider = new Slider('#ex2', {}); var RGBChange = function () { document.querySelector('#RGB').style.background = 'rgb(' + r.getValue() + ',' + g.getValue() + ',' + b.getValue() + ')' }; var r = new Slider("#R", { reversed: true }).on('slide', RGBChange); var g = new Slider("#G", { reversed: true }).on('slide', RGBChange); var b = new Slider("#B", { reversed: true }).on('slide', RGBChange); // [ vertical-slider ] var slider = new Slider("#ex4", { reversed: true }); })(); // [ Destroy-Slider ] (function () { var slider = new Slider('#ex5'); document.querySelector('#destroyEx5Slider').addEventListener('click', function () { slider.destroy(); }); })(); // [ current-Slider ] (function () { var slider = new Slider("#ex6"); slider.on("slide", function (sliderValue) { document.getElementById("ex6SliderVal").textContent = sliderValue; }); })(); // [ Enable-Slider ] (function () { var slider = new Slider("#ex7"); document.querySelector('#ex7-enabled').addEventListener('click', function () { if (this.checked) { slider.enable(); } else { slider.disable(); } }); })(); // [ Tooltip-Slider ] (function () { var slider = new Slider("#ex8", { tooltip: 'always' }); })(); // [ Precision-slider ] (function () { var slider = new Slider("#ex9", { precision: 2, value: 8.115 // Slider will instantiate showing 8.12 due to specified precision }); })(); // [ handlers-slider ] (function () { var slider = new Slider("#ex10", {}); })(); // [ step-slider ] (function () { var slider = new Slider("#ex11", { step: 20000, min: 0, max: 200000 }); })(); //[ low & high-slider ] (function () { var sliderA = new Slider("#ex12a", { id: "slider12a", min: 0, max: 10, value: 5 }); var sliderB = new Slider("#ex12b", { id: "slider12b", min: 0, max: 10, range: true, value: [3, 7] }); var sliderC = new Slider("#ex12c", { id: "slider12c", min: 0, max: 10, range: true, value: [3, 7] }); })(); // [ labels-slider ] (function () { var slider = new Slider("#ex13", { ticks: [0, 10, 20, 30, 40], ticks_labels: ['$0', '$10', '$20', '$30', '$40'], ticks_snap_bounds: 95 }); })(); // [ positions-slider ] (function () { var slider = new Slider("#ex14", { ticks: [0, 10, 20, 30, 40], ticks_positions: [0, 30, 60, 80, 100], ticks_labels: ['$0', '$10', '$20', '$30', '$40'], ticks_snap_bounds: 95 }); })(); // [ logarithmic-slider ] (function () { var slider = new Slider('#ex15', { min: 1000, max: 10000000, scale: 'logarithmic', step: 10 }); })(); // [ Focus-slider ] (function () { var sliderA = new Slider("#ex16a", { min: 0, max: 10, value: 0, focus: true }); var sliderB = new Slider("#ex16b", { min: 0, max: 10, value: [0, 10], focus: true }); })(); // [ Unusual-slider ] (function () { var sliderA = new Slider("#ex17a", { min: 0, max: 10, value: 0, tooltip_position: 'bottom' }); var sliderB = new Slider("#ex17b", { min: 0, max: 10, value: 0, orientation: 'vertical', tooltip_position: 'left' }); })(); // [ Accessibility-slider ] (function () { var sliderA = new Slider("#ex18a", { min: 0, max: 10, value: 5, labelledby: 'ex18-label-1' }); var sliderB = new Slider("#ex18b", { min: 0, max: 10, value: [3, 6], labelledby: ['ex18-label-2a', 'ex18-label-2b'] }); })(); // [ Highlight-slider ] (function () { var slider = new Slider("#ex22", { id: 'slider22', min: 0, max: 20, step: 1, value: 14, rangeHighlights: [{ "start": 2, "end": 5, "class": "category1" }, { "start": 7, "end": 8, "class": "category2" }, { "start": 17, "end": 19 }, { "start": 17, "end": 24 }, { "start": -3, "end": 19 } ] }); })(); // [ Tick-slider ] (function () { var slider = new Slider("#ex23", { ticks: [0, 1, 2, 3, 4], ticks_positions: [0, 30, 70, 90, 100], ticks_snap_bounds: 200, formatter: function (value) { return 'Current value: ' + value; }, ticks_tooltip: true, step: 0.01 }); })(); // [ auto-slider ] (function () { var slider = new Slider('#ex24'); })(); ac-treeview.js 0000644 00000002164 15033223730 0007316 0 ustar 00 'use strict'; // [ html-demo ] const main = document.querySelector('#tree-demo'); const info = document.querySelector('#tree-msg'); const tree = new VanillaTree(main, { contextmenu: [{ label: 'Hey', action: function (id) { alert('Hey ' + id); } }, { label: 'Blah', action: function (id) { alert('Blah ' + id); } }] }); tree.add({ label: 'Label A', id: 'a', opened: true }); tree.add({ label: 'Label B', id: 'b' }); tree.add({ label: 'Label A.A', parent: 'a', id: 'a.a', opened: true, selected: true }); tree.add({ label: 'Label A.A.A', parent: 'a.a' }); tree.add({ label: 'Label A.A.B', parent: 'a.a' }); tree.add({ label: 'Label B.A', parent: 'b' }); main.addEventListener('vtree-open', function (evt) { info.innerHTML = evt.detail.id + ' is opened'; }); main.addEventListener('vtree-close', function (evt) { info.innerHTML = evt.detail.id + ' is closed'; }); main.addEventListener('vtree-select', function (evt) { info.innerHTML = evt.detail.id + ' is selected'; }); ac-datepicker.js 0000644 00000002353 15033223730 0007577 0 ustar 00 'use strict'; (function () { const d_week = new Datepicker(document.querySelector('#d_week'), { buttonClass: 'btn', }); })(); (function () { const d_highlight = new Datepicker(document.querySelector('#d_highlight'), { buttonClass: 'btn', daysOfWeekHighlighted: [1], }); })(); (function () { const d_auto = new Datepicker(document.querySelector('#d_auto'), { buttonClass: 'btn', autohide: true }); })(); (function () { const d_disable = new Datepicker(document.querySelector('#d_disable'), { buttonClass: 'btn', datesDisabled: ["02/18/2022", "02/22/2022"] }); })(); // $('#d_toggle').datepicker({ // keyboardNavigation: false, // forceParse: false, // toggleActive: true // }); (function () { const d_today = new Datepicker(document.querySelector('#d_today'), { buttonClass: 'btn', todayHighlight: true }); })(); (function () { const disp_week = new Datepicker(document.querySelector('#disp_week'), { buttonClass: 'btn', calendarWeeks: true }); })(); (function () { const datepicker_range = new DateRangePicker(document.querySelector('#datepicker_range'), { buttonClass: 'btn', }); })();
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка